@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240626.1 → 0.0.0-nightly-20240627.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/build/translations/ar.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/zh-cn.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/lang/translations/ar.po +42 -42
- package/lang/translations/cs.po +21 -21
- package/lang/translations/da.po +8 -8
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +8 -8
- package/lang/translations/et.po +16 -16
- package/lang/translations/fr.po +4 -4
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hr.po +2 -2
- package/lang/translations/hu.po +18 -18
- package/lang/translations/lt.po +53 -53
- package/lang/translations/lv.po +36 -36
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +18 -18
- package/lang/translations/pl.po +7 -7
- package/lang/translations/pt.po +32 -32
- package/lang/translations/ro.po +37 -37
- package/lang/translations/ru.po +54 -54
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sr.po +34 -34
- package/lang/translations/sv.po +17 -17
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +54 -54
- package/lang/translations/zh-cn.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +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
|
-
function _0x47f0(){const _0x424299=['bind','editor','panelView','createCommentThreadController','define','_initializeController','change:previous','button','getRanges','createAnnotationView','trackChanges','5407utfnYf','createAnnotation','unbind','values','delete','_disableComments','_createMenuBarMenu','commentThread','_addUIComponentsToFactory','comments.maxCommentCharsWhenCollapsed','innerView','config','editing','acceptButton','_refreshActiveMarkers','children','init','_viewToController','plugins','1521393zMWmXg','descriptionFactory','isMultiRange','locale','add','10484793PcAFeD','head','comments.maxCommentsWhenCollapsed','_bindAnnotationToEditors','comments','18859884hrksBw','_annotationViews','arrowView','SuggestionThreadView','menu','getFirstRange','trackChanges.SuggestionThreadView','1436094BAKzes','destroy','execute','from','push','isOn','isDirty','switchbutton','_destroyController','addSourceCollector','getSuggestion','separator','remove','menuBar:trackChanges','isEnabled','CommentsRepository','isInContent','pluginName','activeMarkers','requires','_createToolbarButton','Accept\x20all\x20suggestions','source','menuitem','filter','_unbindEditors','CommentsUI','10HOXaBN','focus','Annotations','model','188UkhseG','buttonView','discardAllSuggestions','change:activeAnnotations','hasSuggestion','get','componentFactory','suggestionChanged','view','suggestionLoaded','has','getMarkers','commandName','getByInnerView','keys','Discard\x20all\x20suggestions','delegate','items','value','5ptWedB','3672524DQzqHt','stopListening','listenTo','acceptSelectedSuggestions','descriptionParts','Track\x20changes','CommentView','acceptAllSuggestions','_handleSuggestionControllerDelayed','clear','actionView','_handleControllerBuffer','previous','toMany','TrackChangesEditing','1540374FmdxFl','commands','some','trackChanges.disableComments','set','activeAnnotations','getMarkerNames','EditorAnnotations','menuitemcheckbox','getDescriptions','mainView','_updateController','comments.maxThreadTotalWeight','suggestion-','14mVNSjp','length','Discard\x20all\x20selected\x20suggestions','reduce','getJoined','discardButton','registerAnnotation','TrackChangesUI','refreshSelectedViews','_suggestionToController','discardSelectedSuggestions','comments.editorConfig','lowest','16iXdYJk','Accept\x20all\x20selected\x20suggestions','getAllAdjacentSuggestions','suggestionUnloaded','type','addComment','size'];_0x47f0=function(){return _0x424299;};return _0x47f0();}const _0x1519e1=_0x1e85;(function(_0x5235c3,_0x34adb2){const _0x4770d6=_0x1e85,_0x111efa=_0x5235c3();while(!![]){try{const _0x27d4a7=-parseInt(_0x4770d6(0x194))/0x1*(-parseInt(_0x4770d6(0x1d7))/0x2)+-parseInt(_0x4770d6(0x1a7))/0x3+parseInt(_0x4770d6(0x1eb))/0x4*(parseInt(_0x4770d6(0x1ea))/0x5)+parseInt(_0x4770d6(0x1fa))/0x6*(parseInt(_0x4770d6(0x208))/0x7)+-parseInt(_0x4770d6(0x182))/0x8*(parseInt(_0x4770d6(0x1b8))/0x9)+-parseInt(_0x4770d6(0x1d3))/0xa*(-parseInt(_0x4770d6(0x1ac))/0xb)+-parseInt(_0x4770d6(0x1b1))/0xc;if(_0x27d4a7===_0x34adb2)break;else _0x111efa['push'](_0x111efa['shift']());}catch(_0x3788c4){_0x111efa['push'](_0x111efa['shift']());}}}(_0x47f0,0x78df2));import{Plugin as _0x39bb79}from'ckeditor5/src/core.js';import{Collection as _0x4110e5}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2ac56d,createDropdown as _0x21f72f,ListSeparatorView as _0x2daace,MenuBarMenuView as _0x75804b,MenuBarMenuListView as _0x4d6ddc,MenuBarMenuListItemView as _0x21d754,MenuBarMenuListItemButtonView as _0xab1029,SplitButtonView as _0x34fd89,ViewModel as _0x2037dc}from'ckeditor5/src/ui.js';function _0x1e85(_0x4bffea,_0x19f0e6){const _0x47f078=_0x47f0();return _0x1e85=function(_0x1e853d,_0x3e0f27){_0x1e853d=_0x1e853d-0x181;let _0x366815=_0x47f078[_0x1e853d];return _0x366815;},_0x1e85(_0x4bffea,_0x19f0e6);}import{Users as _0x4c52c0,getDateTimeFormatter as _0x8551d7,getAllMarkersDomElementsSorted as _0x4549ea}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1ca61d from'./trackchangesediting.js';import _0x4b76a2 from'./ui/suggestioncontroller.js';import _0x52e997 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5247c7}from'./utils/common-translations.js';import _0x1bd3af from'../theme/icons/track-changes.svg';export default class d extends _0x39bb79{static get[_0x1519e1(0x1cb)](){const _0x5655fb=_0x1519e1;return[_0x1ca61d,_0x4c52c0,_0x5655fb(0x1c7),_0x5655fb(0x1d5),_0x5655fb(0x201)];}static get[_0x1519e1(0x1c9)](){const _0x4c739b=_0x1519e1;return _0x4c739b(0x20f);}constructor(_0x19eed9){const _0x40e232=_0x1519e1;super(_0x19eed9),this[_0x40e232(0x211)]=new Map(),this[_0x40e232(0x1a5)]=new Map(),this[_0x40e232(0x1b2)]=new Map(),this[_0x40e232(0x1f6)]=new Map();const _0x10ff2f=this[_0x40e232(0x18a)][_0x40e232(0x19f)];_0x10ff2f[_0x40e232(0x18d)](_0x40e232(0x1b7),_0x52e997),_0x10ff2f[_0x40e232(0x18d)](_0x40e232(0x1fd),!0x1),this[_0x40e232(0x199)]=_0x10ff2f[_0x40e232(0x1dc)](_0x40e232(0x1fd));}[_0x1519e1(0x1f3)](_0x2fef68,_0x26455c){const _0x2b4ce2=_0x1519e1;0x0===this[_0x2b4ce2(0x1f6)][_0x2b4ce2(0x188)]&&setTimeout(()=>{const _0x55e2e2=_0x2b4ce2;for(const [_0x3adaba,_0x23c304]of this[_0x55e2e2(0x1f6)]){const _0x595bb9=this[_0x55e2e2(0x211)][_0x55e2e2(0x1e1)](_0x3adaba);_0x595bb9||_0x23c304?_0x595bb9&&_0x23c304&&this[_0x55e2e2(0x1c0)](_0x3adaba):this[_0x55e2e2(0x18e)](_0x3adaba);}this[_0x55e2e2(0x1f6)][_0x55e2e2(0x1f4)](),this[_0x55e2e2(0x18a)][_0x55e2e2(0x1a6)][_0x55e2e2(0x1dc)](_0x55e2e2(0x201))[_0x55e2e2(0x210)](),this[_0x55e2e2(0x1a2)]();},0xa),this[_0x2b4ce2(0x1f6)][_0x2b4ce2(0x1fe)](_0x2fef68,_0x26455c);}[_0x1519e1(0x1a4)](){const _0x36c327=_0x1519e1,_0x4d1e4e=this[_0x36c327(0x18a)],_0x589531=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x1f9)),_0x3346a0=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x1d5)),_0x564c5a=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x201)),_0x427aef=_0x4d1e4e[_0x36c327(0x1a6)][_0x36c327(0x1dc)](_0x36c327(0x1c7));this[_0x36c327(0x19c)](),_0x564c5a[_0x36c327(0x1c1)](()=>{const _0x3f86de=_0x36c327,_0x395a29=[];for(const [_0x3e2a4f,_0x270557]of Array[_0x3f86de(0x1bb)](this[_0x3f86de(0x211)])){const _0x2e078e=_0x3e2a4f[_0x3f86de(0x184)](),_0x595701=[];for(const _0x565f81 of _0x2e078e){if(!_0x565f81[_0x3f86de(0x1c8)])continue;if(_0x565f81[_0x3f86de(0x1a9)]){_0x595701[_0x3f86de(0x1bc)](..._0x565f81[_0x3f86de(0x191)]());continue;}const _0x279df5=_0x565f81[_0x3f86de(0x1b6)]();if(_0x595701[_0x3f86de(0x209)]>0x0){const _0x25b10c=_0x595701[0x0][_0x3f86de(0x20c)](_0x279df5);if(_0x25b10c){_0x595701[0x0]=_0x25b10c;continue;}}_0x595701[_0x3f86de(0x1bc)](_0x279df5);}_0x395a29[_0x3f86de(0x1bc)]([_0x270557[_0x3f86de(0x1df)],_0x595701]);}return _0x395a29;}),this[_0x36c327(0x1ed)](_0x589531,_0x36c327(0x1e0),(_0x4e636f,_0x4b5fa5)=>{const _0x5ce259=_0x36c327;this[_0x5ce259(0x1ed)](_0x4b5fa5,_0x5ce259(0x18f),(_0x598ec0,_0x187c26,_0x1a3308,_0x318e27)=>{const _0x3367d2=_0x5ce259;_0x4b5fa5[_0x3367d2(0x1c8)]&&(null==_0x1a3308?(this[_0x3367d2(0x205)](_0x318e27[_0x3367d2(0x1ad)]),this[_0x3367d2(0x1f3)](_0x4b5fa5,!0x1)):(this[_0x3367d2(0x205)](_0x1a3308[_0x3367d2(0x1ad)]),null==_0x318e27&&this[_0x3367d2(0x1f3)](_0x4b5fa5,!0x0)));}),null!==_0x4b5fa5[_0x5ce259(0x1f7)]?this[_0x5ce259(0x205)](_0x4b5fa5[_0x5ce259(0x1ad)]):this[_0x5ce259(0x1f3)](_0x4b5fa5,!0x1);}),this[_0x36c327(0x1ed)](_0x589531,_0x36c327(0x185),(_0x4a7b7e,_0x1127b8,_0x36a0d8)=>{const _0x140e5a=_0x36c327;this[_0x140e5a(0x1ec)](_0x1127b8,_0x140e5a(0x18f)),this[_0x140e5a(0x1f6)][_0x140e5a(0x198)](_0x1127b8),this[_0x140e5a(0x211)][_0x140e5a(0x1e1)](_0x1127b8)&&this[_0x140e5a(0x1c0)](_0x1127b8),_0x36a0d8&&this[_0x140e5a(0x205)](_0x36a0d8[_0x140e5a(0x1ad)]);}),this[_0x36c327(0x1ed)](_0x589531,_0x36c327(0x1de),(_0x3d78a0,_0x5f4fad)=>{const _0x10c763=_0x36c327;this[_0x10c763(0x205)](_0x5f4fad);}),this[_0x36c327(0x1ed)](_0x3346a0,_0x36c327(0x1da),()=>{const _0x22a78d=_0x36c327;this[_0x22a78d(0x1a2)]();}),this[_0x36c327(0x1ed)](_0x427aef,_0x36c327(0x187),(_0x14c28e,{threadId:_0x5d8450,isFromAdapter:_0x958e31})=>{const _0x2d7e2c=_0x36c327;if(_0x958e31||!_0x589531[_0x2d7e2c(0x1db)](_0x5d8450))return;const _0x2746f0=_0x589531[_0x2d7e2c(0x1c2)](_0x5d8450);this[_0x2d7e2c(0x211)][_0x2d7e2c(0x1dc)](_0x2746f0)[_0x2d7e2c(0x1df)][_0x2d7e2c(0x1d4)]();},{'priority':_0x36c327(0x181)});}[_0x1519e1(0x1a2)](){const _0x3e3654=_0x1519e1,_0x30ceae=this[_0x3e3654(0x18a)][_0x3e3654(0x1a6)][_0x3e3654(0x1dc)](_0x3e3654(0x1d5)),_0x12102f=this[_0x3e3654(0x18a)][_0x3e3654(0x1a6)][_0x3e3654(0x1dc)](_0x3e3654(0x1f9)),_0x1d7285=Array[_0x3e3654(0x1bb)](_0x30ceae[_0x3e3654(0x1ff)],_0x490af0=>_0x490af0[_0x3e3654(0x19e)])[_0x3e3654(0x1d0)](_0x36e3ab=>this[_0x3e3654(0x1a5)][_0x3e3654(0x1e1)](_0x36e3ab)),_0x5b8a7c=[];for(const _0x5d0156 of _0x1d7285){const _0x23cc24=this[_0x3e3654(0x1a5)][_0x3e3654(0x1dc)](_0x5d0156)[_0x3e3654(0x1d6)][_0x3e3654(0x184)]();_0x5b8a7c[_0x3e3654(0x1bc)](..._0x23cc24[_0x3e3654(0x20b)]((_0x49c27e,_0x51f44f)=>[..._0x49c27e,..._0x51f44f[_0x3e3654(0x200)]()],[]));}_0x12102f[_0x3e3654(0x1ca)]=_0x5b8a7c;}[_0x1519e1(0x19c)](){const _0x264e29=_0x1519e1,_0x5b2770=this[_0x264e29(0x18a)],_0x58bd58=_0x5b2770[_0x264e29(0x1aa)],_0x345640=_0x5247c7(_0x58bd58,_0x264e29(0x1f0)),_0x164885=new _0x4110e5([{'type':_0x264e29(0x1bf),'model':new _0x2037dc({'withText':!0x0,'label':_0x345640,'commandName':_0x264e29(0x193),'role':_0x264e29(0x202)})},{'type':_0x264e29(0x1c3)},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x1cd)),'commandName':_0x264e29(0x1f2),'role':_0x264e29(0x1cf)})},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x183)),'commandName':_0x264e29(0x1ee),'role':_0x264e29(0x1cf)})},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x1e6)),'commandName':_0x264e29(0x1d9),'role':_0x264e29(0x1cf)})},{'type':_0x264e29(0x190),'model':new _0x2037dc({'withText':!0x0,'label':_0x5247c7(_0x58bd58,_0x264e29(0x20a)),'commandName':_0x264e29(0x212),'role':_0x264e29(0x1cf)})}]);for(const _0x1349b9 of _0x164885)if(ae(_0x1349b9)){const _0x3683ab=_0x5b2770[_0x264e29(0x1fb)][_0x264e29(0x1dc)](_0x1349b9[_0x264e29(0x1d6)][_0x264e29(0x1e3)]);_0x1349b9[_0x264e29(0x1d6)][_0x264e29(0x189)](_0x264e29(0x1bd),_0x264e29(0x1c6))['to'](_0x3683ab,_0x264e29(0x1e9),_0x264e29(0x1c6));}_0x5b2770['ui'][_0x264e29(0x1dd)][_0x264e29(0x1ab)](_0x264e29(0x193),_0x15de05=>this[_0x264e29(0x1cc)](_0x15de05,_0x164885,_0x345640)),_0x5b2770['ui'][_0x264e29(0x1dd)][_0x264e29(0x1ab)](_0x264e29(0x1c5),_0x51362a=>this[_0x264e29(0x19a)](_0x51362a,_0x164885,_0x345640));}[_0x1519e1(0x1cc)](_0x756924,_0x4c6cc8,_0x43f1c8){const _0x287483=_0x1519e1,_0x20b2d0=_0x21f72f(_0x756924,_0x34fd89),_0x321b1e=this[_0x287483(0x18a)][_0x287483(0x1fb)][_0x287483(0x1dc)](_0x287483(0x193));_0x20b2d0[_0x287483(0x1d8)][_0x287483(0x1fe)]({'tooltip':_0x43f1c8,'label':_0x43f1c8,'icon':_0x1bd3af}),_0x20b2d0[_0x287483(0x1d8)][_0x287483(0x189)](_0x287483(0x1bd))['to'](_0x321b1e,_0x287483(0x1e9)),_0x20b2d0[_0x287483(0x1d8)]['on'](_0x287483(0x1ba),()=>{const _0x4432f5=_0x287483;_0x321b1e[_0x4432f5(0x1ba)](),this[_0x4432f5(0x18a)][_0x4432f5(0x1a0)][_0x4432f5(0x1df)][_0x4432f5(0x1d4)]();}),_0x2ac56d(_0x20b2d0,_0x4c6cc8,{'role':_0x287483(0x1b5)});const _0x4e9cd8=[];for(const _0x260d21 of _0x4c6cc8)ae(_0x260d21)&&_0x4e9cd8[_0x287483(0x1bc)](this[_0x287483(0x18a)][_0x287483(0x1fb)][_0x287483(0x1dc)](_0x260d21[_0x287483(0x1d6)][_0x287483(0x1e3)]));const _0x4ef711=_0x20b2d0[_0x287483(0x1d8)];return _0x4ef711[_0x287483(0x1f5)][_0x287483(0x196)](_0x287483(0x1c6)),_0x4ef711[_0x287483(0x1b3)][_0x287483(0x196)](_0x287483(0x1c6)),_0x4ef711[_0x287483(0x1f5)][_0x287483(0x189)](_0x287483(0x1c6))['to'](_0x321b1e,_0x287483(0x1c6)),_0x4ef711[_0x287483(0x1b3)][_0x287483(0x189)](_0x287483(0x1c6))[_0x287483(0x1f8)](_0x4e9cd8,_0x287483(0x1c6),(..._0xa01f54)=>_0xa01f54[_0x287483(0x1fc)](_0x145183=>_0x145183)),_0x20b2d0['on'](_0x287483(0x1ba),_0x730945=>{const _0x37432b=_0x287483;this[_0x37432b(0x18a)][_0x37432b(0x1ba)](_0x730945[_0x37432b(0x1ce)][_0x37432b(0x1e3)]),this[_0x37432b(0x18a)][_0x37432b(0x1a0)][_0x37432b(0x1df)][_0x37432b(0x1d4)]();}),_0x20b2d0;}[_0x1519e1(0x19a)](_0x48d2b1,_0x16124f,_0x30e74d){const _0x4d6656=_0x1519e1,_0x189777=new _0x75804b(_0x48d2b1),_0x202f8e=this[_0x4d6656(0x18a)][_0x4d6656(0x1fb)][_0x4d6656(0x1dc)](_0x4d6656(0x193));_0x189777[_0x4d6656(0x1d8)][_0x4d6656(0x1fe)]({'label':_0x30e74d,'icon':_0x1bd3af});const _0x193455=new _0x4d6ddc(_0x48d2b1);for(const _0x5c2309 of _0x16124f){if(_0x4d6656(0x1c3)==_0x5c2309[_0x4d6656(0x186)]){_0x193455[_0x4d6656(0x1e8)][_0x4d6656(0x1ab)](new _0x2daace(_0x48d2b1));continue;}const _0x3880ad=new _0x21d754(_0x48d2b1,_0x189777),_0x49e627=new _0xab1029(_0x48d2b1),_0x2e4220=_0x5c2309[_0x4d6656(0x1d6)];_0x49e627[_0x4d6656(0x189)](...Object[_0x4d6656(0x1e5)](_0x2e4220))['to'](_0x2e4220),_0x49e627[_0x4d6656(0x1e7)](_0x4d6656(0x1ba))['to'](_0x189777),_0x49e627['on'](_0x4d6656(0x1ba),()=>{const _0x543cc0=_0x4d6656;this[_0x543cc0(0x18a)][_0x543cc0(0x1ba)](_0x2e4220[_0x543cc0(0x1e3)]),this[_0x543cc0(0x18a)][_0x543cc0(0x1a0)][_0x543cc0(0x1df)][_0x543cc0(0x1d4)]();}),_0x3880ad[_0x4d6656(0x1a3)][_0x4d6656(0x1ab)](_0x49e627),_0x193455[_0x4d6656(0x1e8)][_0x4d6656(0x1ab)](_0x3880ad);}return _0x189777[_0x4d6656(0x189)](_0x4d6656(0x1c6))['to'](_0x202f8e,_0x4d6656(0x1c6)),_0x189777[_0x4d6656(0x18b)][_0x4d6656(0x1a3)][_0x4d6656(0x1ab)](_0x193455),_0x189777;}[_0x1519e1(0x18e)](_0x2fc7ff){const _0x314c5f=_0x1519e1,_0x170f9a=this[_0x314c5f(0x18a)],_0x43050f=_0x170f9a[_0x314c5f(0x19f)],_0x5b6187=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1d5)),_0x3e5444=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1c7)),_0x1a4481=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x201)),_0x522226=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x4c52c0)['me'],_0x13df4d=_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x193))[_0x314c5f(0x1b4)],{CommentsListView:_0xf4fcce,CommentThreadInputView:_0x5bfdef}=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1d2));let _0x107348,_0x194366;this[_0x314c5f(0x1b2)][_0x314c5f(0x1e1)](_0x2fc7ff['id'])?(_0x194366=this[_0x314c5f(0x1b2)][_0x314c5f(0x1dc)](_0x2fc7ff['id']),_0x107348=_0x194366[_0x314c5f(0x204)]):(_0x107348=new _0x13df4d(_0x170f9a[_0x314c5f(0x1aa)],_0x2fc7ff,_0x522226,{'disableComments':this[_0x314c5f(0x199)],'editorConfig':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x213)),'maxCommentsWhenCollapsed':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x1ae)),'maxThreadTotalWeight':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x206)),'maxCommentCharsWhenCollapsed':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x19d)),'formatDateTime':_0x8551d7(_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x1aa))),'CommentView':_0x43050f[_0x314c5f(0x1dc)](_0x314c5f(0x1b0))[_0x314c5f(0x1f1)],'CommentsListView':_0xf4fcce,'CommentThreadInputView':_0x5bfdef}),_0x107348[_0x314c5f(0x1a1)]['on'](_0x314c5f(0x1ba),()=>{const _0x248d48=_0x314c5f;_0x170f9a[_0x248d48(0x1a0)][_0x248d48(0x1df)][_0x248d48(0x1d4)]();}),_0x107348[_0x314c5f(0x20d)]['on'](_0x314c5f(0x1ba),()=>{const _0xda3b4c=_0x314c5f;_0x170f9a[_0xda3b4c(0x1a0)][_0xda3b4c(0x1df)][_0xda3b4c(0x1d4)]();}),_0x194366=_0x5b6187[_0x314c5f(0x192)](this[_0x314c5f(0x18a)][_0x314c5f(0x1aa)],_0x107348),_0x194366[_0x314c5f(0x189)](_0x314c5f(0x1be))['to'](_0x107348,_0x314c5f(0x1be)),_0x194366[_0x314c5f(0x189)](_0x314c5f(0x209))['to'](_0x107348),_0x194366[_0x314c5f(0x189)](_0x314c5f(0x186))['to'](_0x107348,_0x314c5f(0x186),_0x1dbe85=>_0x314c5f(0x207)+_0x1dbe85),this[_0x314c5f(0x1b2)][_0x314c5f(0x1fe)](_0x2fc7ff['id'],_0x194366));const _0x20661d=_0x3e5444[_0x314c5f(0x18c)](_0x2fc7ff[_0x314c5f(0x19b)],_0x107348),_0x1ca128=new _0x4b76a2(_0x170f9a,_0x2fc7ff,_0x107348,_0x20661d),_0x3c6afd=_0x2fc7ff[_0x314c5f(0x184)]()[_0x314c5f(0x1d0)](_0x1cff64=>_0x1cff64[_0x314c5f(0x1c8)]);_0x107348[_0x314c5f(0x1ef)]=_0x170f9a[_0x314c5f(0x1a6)][_0x314c5f(0x1dc)](_0x314c5f(0x1f9))[_0x314c5f(0x1a8)][_0x314c5f(0x203)](_0x3c6afd),this[_0x314c5f(0x211)][_0x314c5f(0x1fe)](_0x2fc7ff,_0x1ca128),this[_0x314c5f(0x1a5)][_0x314c5f(0x1fe)](_0x107348,_0x1ca128);const _0x51e2b2=_0x5b6187[_0x314c5f(0x195)]({'view':_0x194366,'target':()=>{const _0x379e5c=_0x314c5f,_0xb58066=[],_0x5bb5e2=_0x2fc7ff[_0x379e5c(0x184)]()[_0x379e5c(0x1d0)](_0x1eda9f=>_0x1eda9f[_0x379e5c(0x1c8)]);for(const _0x4ee30a of _0x5bb5e2)_0xb58066[_0x379e5c(0x1bc)](..._0x4ee30a[_0x379e5c(0x1e2)]());return _0x4549ea(_0x170f9a[_0x379e5c(0x1a0)],_0xb58066);},'type':()=>_0x314c5f(0x207)+_0x1ca128[_0x314c5f(0x1df)][_0x314c5f(0x186)]});_0x3e5444[_0x314c5f(0x1af)](_0x107348,_0x51e2b2),_0x5b6187[_0x314c5f(0x1ab)](_0x51e2b2),_0x1a4481[_0x314c5f(0x20e)](_0x51e2b2);}[_0x1519e1(0x1c0)](_0x52d3bd){const _0x1f6c7c=_0x1519e1,_0x20605e=this[_0x1f6c7c(0x18a)][_0x1f6c7c(0x1a6)][_0x1f6c7c(0x1dc)](_0x1f6c7c(0x1c7)),_0x5438e8=this[_0x1f6c7c(0x18a)][_0x1f6c7c(0x1a6)][_0x1f6c7c(0x1dc)](_0x1f6c7c(0x1d5)),_0x4c5d46=this[_0x1f6c7c(0x211)][_0x1f6c7c(0x1dc)](_0x52d3bd),_0x4fbf9f=_0x4c5d46[_0x1f6c7c(0x1df)],_0x224eaf=_0x5438e8[_0x1f6c7c(0x1e4)](_0x4fbf9f);_0x20605e[_0x1f6c7c(0x1d1)](_0x4fbf9f),_0x224eaf&&_0x5438e8[_0x1f6c7c(0x1c4)](_0x224eaf),this[_0x1f6c7c(0x211)][_0x1f6c7c(0x198)](_0x52d3bd),this[_0x1f6c7c(0x1a5)][_0x1f6c7c(0x198)](_0x4fbf9f),_0x4c5d46[_0x1f6c7c(0x1b9)]();}[_0x1519e1(0x205)](_0x1631c3){const _0x153bd0=_0x1519e1;if(!_0x1631c3[_0x153bd0(0x1c8)]||!this[_0x153bd0(0x211)][_0x153bd0(0x1e1)](_0x1631c3))return;const _0x40709d=this[_0x153bd0(0x18a)][_0x153bd0(0x1a6)][_0x153bd0(0x1dc)](_0x153bd0(0x1f9)),_0xea9e68=this[_0x153bd0(0x211)][_0x153bd0(0x1dc)](_0x1631c3),_0x429a88=_0x1631c3[_0x153bd0(0x184)]();_0xea9e68[_0x153bd0(0x1df)][_0x153bd0(0x1ef)]=_0x40709d[_0x153bd0(0x1a8)][_0x153bd0(0x203)](_0x429a88);}[_0x1519e1(0x1b9)](){const _0x58e625=_0x1519e1;for(const _0x26dc65 of this[_0x58e625(0x211)][_0x58e625(0x1e5)]())this[_0x58e625(0x1c0)](_0x26dc65);for(const _0x1e05e1 of this[_0x58e625(0x1b2)][_0x58e625(0x197)]())_0x1e05e1[_0x58e625(0x204)][_0x58e625(0x1b9)]();super[_0x58e625(0x1b9)]();}}function ae(_0x5a1902){const _0x455164=_0x1519e1;return _0x455164(0x1d6)in _0x5a1902;}
|
|
23
|
+
const _0x157ec2=_0x28f1;(function(_0x1344b9,_0x51a26c){const _0x2e1d2a=_0x28f1,_0x120b62=_0x1344b9();while(!![]){try{const _0x5a1cb8=parseInt(_0x2e1d2a(0x1c8))/0x1+-parseInt(_0x2e1d2a(0x1c7))/0x2+-parseInt(_0x2e1d2a(0x1e5))/0x3+-parseInt(_0x2e1d2a(0x1b6))/0x4+-parseInt(_0x2e1d2a(0x1d2))/0x5*(-parseInt(_0x2e1d2a(0x18d))/0x6)+parseInt(_0x2e1d2a(0x174))/0x7+parseInt(_0x2e1d2a(0x168))/0x8;if(_0x5a1cb8===_0x51a26c)break;else _0x120b62['push'](_0x120b62['shift']());}catch(_0x3c7460){_0x120b62['push'](_0x120b62['shift']());}}}(_0x4662,0x1ce19));import{Plugin as _0x4d05a7}from'ckeditor5/src/core.js';function _0x28f1(_0x15ca00,_0x40e64f){const _0x466299=_0x4662();return _0x28f1=function(_0x28f179,_0x4ddb89){_0x28f179=_0x28f179-0x15f;let _0x3ee680=_0x466299[_0x28f179];return _0x3ee680;},_0x28f1(_0x15ca00,_0x40e64f);}import{Collection as _0xa2fae4}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2b9b6f,createDropdown as _0x586741,ListSeparatorView as _0x596241,MenuBarMenuView as _0x373ff1,MenuBarMenuListView as _0x5752dd,MenuBarMenuListItemView as _0x40ea8c,MenuBarMenuListItemButtonView as _0x382623,SplitButtonView as _0x31827d,ViewModel as _0x4c0ec8}from'ckeditor5/src/ui.js';import{Users as _0x450532,getDateTimeFormatter as _0x4964f9,getAllMarkersDomElementsSorted as _0x244dae}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2d5c4b from'./trackchangesediting.js';function _0x4662(){const _0x214ba6=['comments.maxCommentsWhenCollapsed','config','reduce','getJoined','Annotations','listenTo','689187rWzbiw','_destroyController','plugins','isOn','editor','type','_createToolbarButton','bind','menuBar:trackChanges','panelView','_refreshActiveMarkers','getFirstRange','addSourceCollector','CommentsRepository','remove','activeMarkers','previous','length','383312tXuPbH','acceptSelectedSuggestions','componentFactory','getByInnerView','push','refreshSelectedViews','buttonView','menu','mainView','head','source','getMarkerNames','713153GzNcKD','unbind','change:previous','comments','Accept\x20all\x20selected\x20suggestions','items','acceptButton','discardSelectedSuggestions','filter','innerView','comments.maxCommentCharsWhenCollapsed','children','_suggestionToController','isEnabled','addComment','destroy','keys','button','commandName','createAnnotationView','discardAllSuggestions','change:activeAnnotations','get','_viewToController','delegate','134574wgfXgv','trackChanges.SuggestionThreadView','Accept\x20all\x20suggestions','descriptionParts','editing','define','getDescriptions','CommentsUI','size','activeAnnotations','value','some','Discard\x20all\x20selected\x20suggestions','getMarkers','isMultiRange','delete','pluginName','getRanges','commands','suggestionChanged','has','comments.maxThreadTotalWeight','trackChanges','_handleControllerBuffer','execute','switchbutton','menuitemcheckbox','lowest','_handleSuggestionControllerDelayed','hasSuggestion','_addUIComponentsToFactory','_bindAnnotationToEditors','commentThread','stopListening','_initializeController','suggestionUnloaded','SuggestionThreadView','_updateController','comments.editorConfig','getSuggestion','getAllAdjacentSuggestions','806168eUuKGG','menuitem','set','add','descriptionFactory','_unbindEditors','actionView','discardButton','acceptAllSuggestions','separator','init','requires','_annotationViews','isDirty','EditorAnnotations','clear','values','37484CGZBRb','216656mjVQNK','suggestion-','isInContent','from','TrackChangesUI','model','_disableComments','createCommentThreadController','suggestionLoaded','focus','45gMTwiu','toMany','Discard\x20all\x20suggestions','_createMenuBarMenu','locale','createAnnotation','registerAnnotation','view','Track\x20changes','TrackChangesEditing','CommentView','trackChanges.disableComments','arrowView'];_0x4662=function(){return _0x214ba6;};return _0x4662();}import _0x32750a from'./ui/suggestioncontroller.js';import _0x1c624d from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x596eb9}from'./utils/common-translations.js';import _0x1a2416 from'../theme/icons/track-changes.svg';export default class d extends _0x4d05a7{static get[_0x157ec2(0x1c1)](){const _0x1f6bd1=_0x157ec2;return[_0x2d5c4b,_0x450532,_0x1f6bd1(0x163),_0x1f6bd1(0x1e3),_0x1f6bd1(0x1c4)];}static get[_0x157ec2(0x19d)](){const _0x4e7f71=_0x157ec2;return _0x4e7f71(0x1cc);}constructor(_0xc34aa5){const _0x17c021=_0x157ec2;super(_0xc34aa5),this[_0x17c021(0x180)]=new Map(),this[_0x17c021(0x18b)]=new Map(),this[_0x17c021(0x1c2)]=new Map(),this[_0x17c021(0x1a4)]=new Map();const _0x1fdab4=this[_0x17c021(0x1e9)][_0x17c021(0x1e0)];_0x1fdab4[_0x17c021(0x192)](_0x17c021(0x18e),_0x1c624d),_0x1fdab4[_0x17c021(0x192)](_0x17c021(0x1dd),!0x1),this[_0x17c021(0x1ce)]=_0x1fdab4[_0x17c021(0x18a)](_0x17c021(0x1dd));}[_0x157ec2(0x1a9)](_0x341232,_0x118718){const _0x261e52=_0x157ec2;0x0===this[_0x261e52(0x1a4)][_0x261e52(0x195)]&&setTimeout(()=>{const _0x4a521d=_0x261e52;for(const [_0x4f598a,_0x420001]of this[_0x4a521d(0x1a4)]){const _0x1c5bc3=this[_0x4a521d(0x180)][_0x4a521d(0x1a1)](_0x4f598a);_0x1c5bc3||_0x420001?_0x1c5bc3&&_0x420001&&this[_0x4a521d(0x1e6)](_0x4f598a):this[_0x4a521d(0x1af)](_0x4f598a);}this[_0x4a521d(0x1a4)][_0x4a521d(0x1c5)](),this[_0x4a521d(0x1e9)][_0x4a521d(0x1e7)][_0x4a521d(0x18a)](_0x4a521d(0x1c4))[_0x4a521d(0x16d)](),this[_0x4a521d(0x160)]();},0xa),this[_0x261e52(0x1a4)][_0x261e52(0x1b8)](_0x341232,_0x118718);}[_0x157ec2(0x1c0)](){const _0x56df1d=_0x157ec2,_0x5e6c26=this[_0x56df1d(0x1e9)],_0x351cf2=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x1db)),_0x2904eb=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x1e3)),_0x18c4fd=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x1c4)),_0x2622e7=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x163));this[_0x56df1d(0x1ab)](),_0x18c4fd[_0x56df1d(0x162)](()=>{const _0x27d756=_0x56df1d,_0x3a007a=[];for(const [_0x150bb9,_0x5182e4]of Array[_0x27d756(0x1cb)](this[_0x27d756(0x180)])){const _0x19e805=_0x150bb9[_0x27d756(0x1b5)](),_0x450f11=[];for(const _0x8e1043 of _0x19e805){if(!_0x8e1043[_0x27d756(0x1ca)])continue;if(_0x8e1043[_0x27d756(0x19b)]){_0x450f11[_0x27d756(0x16c)](..._0x8e1043[_0x27d756(0x19e)]());continue;}const _0x28ca04=_0x8e1043[_0x27d756(0x161)]();if(_0x450f11[_0x27d756(0x167)]>0x0){const _0x1487a5=_0x450f11[0x0][_0x27d756(0x1e2)](_0x28ca04);if(_0x1487a5){_0x450f11[0x0]=_0x1487a5;continue;}}_0x450f11[_0x27d756(0x16c)](_0x28ca04);}_0x3a007a[_0x27d756(0x16c)]([_0x5182e4[_0x27d756(0x1d9)],_0x450f11]);}return _0x3a007a;}),this[_0x56df1d(0x1e4)](_0x351cf2,_0x56df1d(0x1d0),(_0x4e77dd,_0x3f2c32)=>{const _0x5311c6=_0x56df1d;this[_0x5311c6(0x1e4)](_0x3f2c32,_0x5311c6(0x176),(_0x1b6d83,_0x25d909,_0x28cc5b,_0x154689)=>{const _0x38795b=_0x5311c6;_0x3f2c32[_0x38795b(0x1ca)]&&(null==_0x28cc5b?(this[_0x38795b(0x1b2)](_0x154689[_0x38795b(0x171)]),this[_0x38795b(0x1a9)](_0x3f2c32,!0x1)):(this[_0x38795b(0x1b2)](_0x28cc5b[_0x38795b(0x171)]),null==_0x154689&&this[_0x38795b(0x1a9)](_0x3f2c32,!0x0)));}),null!==_0x3f2c32[_0x5311c6(0x166)]?this[_0x5311c6(0x1b2)](_0x3f2c32[_0x5311c6(0x171)]):this[_0x5311c6(0x1a9)](_0x3f2c32,!0x1);}),this[_0x56df1d(0x1e4)](_0x351cf2,_0x56df1d(0x1b0),(_0x524369,_0x29d0a6,_0x25ff56)=>{const _0x54d98b=_0x56df1d;this[_0x54d98b(0x1ae)](_0x29d0a6,_0x54d98b(0x176)),this[_0x54d98b(0x1a4)][_0x54d98b(0x19c)](_0x29d0a6),this[_0x54d98b(0x180)][_0x54d98b(0x1a1)](_0x29d0a6)&&this[_0x54d98b(0x1e6)](_0x29d0a6),_0x25ff56&&this[_0x54d98b(0x1b2)](_0x25ff56[_0x54d98b(0x171)]);}),this[_0x56df1d(0x1e4)](_0x351cf2,_0x56df1d(0x1a0),(_0x39a10b,_0x5daf73)=>{const _0x402eef=_0x56df1d;this[_0x402eef(0x1b2)](_0x5daf73);}),this[_0x56df1d(0x1e4)](_0x2904eb,_0x56df1d(0x189),()=>{const _0x200d7d=_0x56df1d;this[_0x200d7d(0x160)]();}),this[_0x56df1d(0x1e4)](_0x2622e7,_0x56df1d(0x182),(_0x3dd62a,{threadId:_0x440ba5,isFromAdapter:_0x500e96})=>{const _0x3abe81=_0x56df1d;if(_0x500e96||!_0x351cf2[_0x3abe81(0x1aa)](_0x440ba5))return;const _0xfe1ab1=_0x351cf2[_0x3abe81(0x1b4)](_0x440ba5);this[_0x3abe81(0x180)][_0x3abe81(0x18a)](_0xfe1ab1)[_0x3abe81(0x1d9)][_0x3abe81(0x1d1)]();},{'priority':_0x56df1d(0x1a8)});}[_0x157ec2(0x160)](){const _0x358ff9=_0x157ec2,_0x10d984=this[_0x358ff9(0x1e9)][_0x358ff9(0x1e7)][_0x358ff9(0x18a)](_0x358ff9(0x1e3)),_0x585570=this[_0x358ff9(0x1e9)][_0x358ff9(0x1e7)][_0x358ff9(0x18a)](_0x358ff9(0x1db)),_0x39a551=Array[_0x358ff9(0x1cb)](_0x10d984[_0x358ff9(0x196)],_0x3b59af=>_0x3b59af[_0x358ff9(0x17d)])[_0x358ff9(0x17c)](_0xf456ee=>this[_0x358ff9(0x18b)][_0x358ff9(0x1a1)](_0xf456ee)),_0xa6072e=[];for(const _0x3d63e6 of _0x39a551){const _0x4cc436=this[_0x358ff9(0x18b)][_0x358ff9(0x18a)](_0x3d63e6)[_0x358ff9(0x1cd)][_0x358ff9(0x1b5)]();_0xa6072e[_0x358ff9(0x16c)](..._0x4cc436[_0x358ff9(0x1e1)]((_0x11d1bd,_0x4fbaaa)=>[..._0x11d1bd,..._0x4fbaaa[_0x358ff9(0x173)]()],[]));}_0x585570[_0x358ff9(0x165)]=_0xa6072e;}[_0x157ec2(0x1ab)](){const _0x2d88b3=_0x157ec2,_0x185cdf=this[_0x2d88b3(0x1e9)],_0x57597b=_0x185cdf[_0x2d88b3(0x1d6)],_0x2326f7=_0x596eb9(_0x57597b,_0x2d88b3(0x1da)),_0x368f16=new _0xa2fae4([{'type':_0x2d88b3(0x1a6),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x2326f7,'commandName':_0x2d88b3(0x1a3),'role':_0x2d88b3(0x1a7)})},{'type':_0x2d88b3(0x1bf)},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x18f)),'commandName':_0x2d88b3(0x1be),'role':_0x2d88b3(0x1b7)})},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x178)),'commandName':_0x2d88b3(0x169),'role':_0x2d88b3(0x1b7)})},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x1d4)),'commandName':_0x2d88b3(0x188),'role':_0x2d88b3(0x1b7)})},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x199)),'commandName':_0x2d88b3(0x17b),'role':_0x2d88b3(0x1b7)})}]);for(const _0x3e16f1 of _0x368f16)if(ae(_0x3e16f1)){const _0x5ae61c=_0x185cdf[_0x2d88b3(0x19f)][_0x2d88b3(0x18a)](_0x3e16f1[_0x2d88b3(0x1cd)][_0x2d88b3(0x186)]);_0x3e16f1[_0x2d88b3(0x1cd)][_0x2d88b3(0x1ec)](_0x2d88b3(0x1e8),_0x2d88b3(0x181))['to'](_0x5ae61c,_0x2d88b3(0x197),_0x2d88b3(0x181));}_0x185cdf['ui'][_0x2d88b3(0x16a)][_0x2d88b3(0x1b9)](_0x2d88b3(0x1a3),_0x534ade=>this[_0x2d88b3(0x1eb)](_0x534ade,_0x368f16,_0x2326f7)),_0x185cdf['ui'][_0x2d88b3(0x16a)][_0x2d88b3(0x1b9)](_0x2d88b3(0x1ed),_0x16490d=>this[_0x2d88b3(0x1d5)](_0x16490d,_0x368f16,_0x2326f7));}[_0x157ec2(0x1eb)](_0x39be41,_0x4a9949,_0x10d3c4){const _0x1438a8=_0x157ec2,_0x968511=_0x586741(_0x39be41,_0x31827d),_0x4cc425=this[_0x1438a8(0x1e9)][_0x1438a8(0x19f)][_0x1438a8(0x18a)](_0x1438a8(0x1a3));_0x968511[_0x1438a8(0x16e)][_0x1438a8(0x1b8)]({'tooltip':_0x10d3c4,'label':_0x10d3c4,'icon':_0x1a2416}),_0x968511[_0x1438a8(0x16e)][_0x1438a8(0x1ec)](_0x1438a8(0x1e8))['to'](_0x4cc425,_0x1438a8(0x197)),_0x968511[_0x1438a8(0x16e)]['on'](_0x1438a8(0x1a5),()=>{const _0x17bbd0=_0x1438a8;_0x4cc425[_0x17bbd0(0x1a5)](),this[_0x17bbd0(0x1e9)][_0x17bbd0(0x191)][_0x17bbd0(0x1d9)][_0x17bbd0(0x1d1)]();}),_0x2b9b6f(_0x968511,_0x4a9949,{'role':_0x1438a8(0x16f)});const _0x4b2110=[];for(const _0x33ab93 of _0x4a9949)ae(_0x33ab93)&&_0x4b2110[_0x1438a8(0x16c)](this[_0x1438a8(0x1e9)][_0x1438a8(0x19f)][_0x1438a8(0x18a)](_0x33ab93[_0x1438a8(0x1cd)][_0x1438a8(0x186)]));const _0xa82482=_0x968511[_0x1438a8(0x16e)];return _0xa82482[_0x1438a8(0x1bc)][_0x1438a8(0x175)](_0x1438a8(0x181)),_0xa82482[_0x1438a8(0x1de)][_0x1438a8(0x175)](_0x1438a8(0x181)),_0xa82482[_0x1438a8(0x1bc)][_0x1438a8(0x1ec)](_0x1438a8(0x181))['to'](_0x4cc425,_0x1438a8(0x181)),_0xa82482[_0x1438a8(0x1de)][_0x1438a8(0x1ec)](_0x1438a8(0x181))[_0x1438a8(0x1d3)](_0x4b2110,_0x1438a8(0x181),(..._0x40d36b)=>_0x40d36b[_0x1438a8(0x198)](_0x1ad8ba=>_0x1ad8ba)),_0x968511['on'](_0x1438a8(0x1a5),_0x133f43=>{const _0x42a26a=_0x1438a8;this[_0x42a26a(0x1e9)][_0x42a26a(0x1a5)](_0x133f43[_0x42a26a(0x172)][_0x42a26a(0x186)]),this[_0x42a26a(0x1e9)][_0x42a26a(0x191)][_0x42a26a(0x1d9)][_0x42a26a(0x1d1)]();}),_0x968511;}[_0x157ec2(0x1d5)](_0x3b8d87,_0x1de984,_0x1e6baf){const _0x2eb38f=_0x157ec2,_0x25acf1=new _0x373ff1(_0x3b8d87),_0x7e75cf=this[_0x2eb38f(0x1e9)][_0x2eb38f(0x19f)][_0x2eb38f(0x18a)](_0x2eb38f(0x1a3));_0x25acf1[_0x2eb38f(0x16e)][_0x2eb38f(0x1b8)]({'label':_0x1e6baf,'icon':_0x1a2416});const _0x3c3120=new _0x5752dd(_0x3b8d87);for(const _0x1664a7 of _0x1de984){if(_0x2eb38f(0x1bf)==_0x1664a7[_0x2eb38f(0x1ea)]){_0x3c3120[_0x2eb38f(0x179)][_0x2eb38f(0x1b9)](new _0x596241(_0x3b8d87));continue;}const _0x5d6bd7=new _0x40ea8c(_0x3b8d87,_0x25acf1),_0x78144d=new _0x382623(_0x3b8d87),_0x19f136=_0x1664a7[_0x2eb38f(0x1cd)];_0x78144d[_0x2eb38f(0x1ec)](...Object[_0x2eb38f(0x184)](_0x19f136))['to'](_0x19f136),_0x78144d[_0x2eb38f(0x18c)](_0x2eb38f(0x1a5))['to'](_0x25acf1),_0x78144d['on'](_0x2eb38f(0x1a5),()=>{const _0x29af78=_0x2eb38f;this[_0x29af78(0x1e9)][_0x29af78(0x1a5)](_0x19f136[_0x29af78(0x186)]),this[_0x29af78(0x1e9)][_0x29af78(0x191)][_0x29af78(0x1d9)][_0x29af78(0x1d1)]();}),_0x5d6bd7[_0x2eb38f(0x17f)][_0x2eb38f(0x1b9)](_0x78144d),_0x3c3120[_0x2eb38f(0x179)][_0x2eb38f(0x1b9)](_0x5d6bd7);}return _0x25acf1[_0x2eb38f(0x1ec)](_0x2eb38f(0x181))['to'](_0x7e75cf,_0x2eb38f(0x181)),_0x25acf1[_0x2eb38f(0x15f)][_0x2eb38f(0x17f)][_0x2eb38f(0x1b9)](_0x3c3120),_0x25acf1;}[_0x157ec2(0x1af)](_0x55b053){const _0x129782=_0x157ec2,_0x66350e=this[_0x129782(0x1e9)],_0x270cfc=_0x66350e[_0x129782(0x1e0)],_0x4d87ed=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x1e3)),_0x238e6b=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x163)),_0x3ae84f=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x1c4)),_0x531373=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x450532)['me'],_0x3ff9df=_0x270cfc[_0x129782(0x18a)](_0x129782(0x1a3))[_0x129782(0x1b1)],{CommentsListView:_0x116e41,CommentThreadInputView:_0x4a415e}=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x194));let _0x4aaf58,_0x16dd98;this[_0x129782(0x1c2)][_0x129782(0x1a1)](_0x55b053['id'])?(_0x16dd98=this[_0x129782(0x1c2)][_0x129782(0x18a)](_0x55b053['id']),_0x4aaf58=_0x16dd98[_0x129782(0x170)]):(_0x4aaf58=new _0x3ff9df(_0x66350e[_0x129782(0x1d6)],_0x55b053,_0x531373,{'disableComments':this[_0x129782(0x1ce)],'editorConfig':_0x270cfc[_0x129782(0x18a)](_0x129782(0x1b3)),'maxCommentsWhenCollapsed':_0x270cfc[_0x129782(0x18a)](_0x129782(0x1df)),'maxThreadTotalWeight':_0x270cfc[_0x129782(0x18a)](_0x129782(0x1a2)),'maxCommentCharsWhenCollapsed':_0x270cfc[_0x129782(0x18a)](_0x129782(0x17e)),'formatDateTime':_0x4964f9(_0x270cfc[_0x129782(0x18a)](_0x129782(0x1d6))),'CommentView':_0x270cfc[_0x129782(0x18a)](_0x129782(0x177))[_0x129782(0x1dc)],'CommentsListView':_0x116e41,'CommentThreadInputView':_0x4a415e}),_0x4aaf58[_0x129782(0x17a)]['on'](_0x129782(0x1a5),()=>{const _0x114daa=_0x129782;_0x66350e[_0x114daa(0x191)][_0x114daa(0x1d9)][_0x114daa(0x1d1)]();}),_0x4aaf58[_0x129782(0x1bd)]['on'](_0x129782(0x1a5),()=>{const _0x1ea6ab=_0x129782;_0x66350e[_0x1ea6ab(0x191)][_0x1ea6ab(0x1d9)][_0x1ea6ab(0x1d1)]();}),_0x16dd98=_0x4d87ed[_0x129782(0x187)](this[_0x129782(0x1e9)][_0x129782(0x1d6)],_0x4aaf58),_0x16dd98[_0x129782(0x1ec)](_0x129782(0x1c3))['to'](_0x4aaf58,_0x129782(0x1c3)),_0x16dd98[_0x129782(0x1ec)](_0x129782(0x167))['to'](_0x4aaf58),_0x16dd98[_0x129782(0x1ec)](_0x129782(0x1ea))['to'](_0x4aaf58,_0x129782(0x1ea),_0x598003=>_0x129782(0x1c9)+_0x598003),this[_0x129782(0x1c2)][_0x129782(0x1b8)](_0x55b053['id'],_0x16dd98));const _0x45ecd8=_0x238e6b[_0x129782(0x1cf)](_0x55b053[_0x129782(0x1ad)],_0x4aaf58),_0x4f9ec7=new _0x32750a(_0x66350e,_0x55b053,_0x4aaf58,_0x45ecd8),_0x417e2e=_0x55b053[_0x129782(0x1b5)]()[_0x129782(0x17c)](_0x25044e=>_0x25044e[_0x129782(0x1ca)]);_0x4aaf58[_0x129782(0x190)]=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x1db))[_0x129782(0x1ba)][_0x129782(0x193)](_0x417e2e),this[_0x129782(0x180)][_0x129782(0x1b8)](_0x55b053,_0x4f9ec7),this[_0x129782(0x18b)][_0x129782(0x1b8)](_0x4aaf58,_0x4f9ec7);const _0x33113a=_0x4d87ed[_0x129782(0x1d7)]({'view':_0x16dd98,'target':()=>{const _0x39baa6=_0x129782,_0x39a083=[],_0x15e5cf=_0x55b053[_0x39baa6(0x1b5)]()[_0x39baa6(0x17c)](_0x423489=>_0x423489[_0x39baa6(0x1ca)]);for(const _0xe5aa23 of _0x15e5cf)_0x39a083[_0x39baa6(0x16c)](..._0xe5aa23[_0x39baa6(0x19a)]());return _0x244dae(_0x66350e[_0x39baa6(0x191)],_0x39a083);},'type':()=>_0x129782(0x1c9)+_0x4f9ec7[_0x129782(0x1d9)][_0x129782(0x1ea)]});_0x238e6b[_0x129782(0x1ac)](_0x4aaf58,_0x33113a),_0x4d87ed[_0x129782(0x1b9)](_0x33113a),_0x3ae84f[_0x129782(0x1d8)](_0x33113a);}[_0x157ec2(0x1e6)](_0x4a593d){const _0x1ae0a7=_0x157ec2,_0x1d4b76=this[_0x1ae0a7(0x1e9)][_0x1ae0a7(0x1e7)][_0x1ae0a7(0x18a)](_0x1ae0a7(0x163)),_0x3289f8=this[_0x1ae0a7(0x1e9)][_0x1ae0a7(0x1e7)][_0x1ae0a7(0x18a)](_0x1ae0a7(0x1e3)),_0x21af62=this[_0x1ae0a7(0x180)][_0x1ae0a7(0x18a)](_0x4a593d),_0x56ace8=_0x21af62[_0x1ae0a7(0x1d9)],_0x49f348=_0x3289f8[_0x1ae0a7(0x16b)](_0x56ace8);_0x1d4b76[_0x1ae0a7(0x1bb)](_0x56ace8),_0x49f348&&_0x3289f8[_0x1ae0a7(0x164)](_0x49f348),this[_0x1ae0a7(0x180)][_0x1ae0a7(0x19c)](_0x4a593d),this[_0x1ae0a7(0x18b)][_0x1ae0a7(0x19c)](_0x56ace8),_0x21af62[_0x1ae0a7(0x183)]();}[_0x157ec2(0x1b2)](_0x235b42){const _0x5a7fbf=_0x157ec2;if(!_0x235b42[_0x5a7fbf(0x1ca)]||!this[_0x5a7fbf(0x180)][_0x5a7fbf(0x1a1)](_0x235b42))return;const _0x1fd19a=this[_0x5a7fbf(0x1e9)][_0x5a7fbf(0x1e7)][_0x5a7fbf(0x18a)](_0x5a7fbf(0x1db)),_0x57fba7=this[_0x5a7fbf(0x180)][_0x5a7fbf(0x18a)](_0x235b42),_0x596067=_0x235b42[_0x5a7fbf(0x1b5)]();_0x57fba7[_0x5a7fbf(0x1d9)][_0x5a7fbf(0x190)]=_0x1fd19a[_0x5a7fbf(0x1ba)][_0x5a7fbf(0x193)](_0x596067);}[_0x157ec2(0x183)](){const _0x1ce442=_0x157ec2;for(const _0x1ea162 of this[_0x1ce442(0x180)][_0x1ce442(0x184)]())this[_0x1ce442(0x1e6)](_0x1ea162);for(const _0x191f66 of this[_0x1ce442(0x1c2)][_0x1ce442(0x1c6)]())_0x191f66[_0x1ce442(0x170)][_0x1ce442(0x183)]();super[_0x1ce442(0x183)]();}}function ae(_0x9cb464){const _0x2576c6=_0x157ec2;return _0x2576c6(0x1cd)in _0x9cb464;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5a0e5d=_0x4139;function _0x4139(_0x34f6cc,_0x58078e){const _0x1873b7=_0x1873();return _0x4139=function(_0x4139ed,_0x2f4a0a){_0x4139ed=_0x4139ed-0xeb;let _0x277e6c=_0x1873b7[_0x4139ed];return _0x277e6c;},_0x4139(_0x34f6cc,_0x58078e);}(function(_0x46a4ed,_0x41d3bc){const _0x3b02f0=_0x4139,_0x577b2d=_0x46a4ed();while(!![]){try{const _0x4c5d4a=parseInt(_0x3b02f0(0xec))/0x1*(-parseInt(_0x3b02f0(0xeb))/0x2)+-parseInt(_0x3b02f0(0xf5))/0x3*(-parseInt(_0x3b02f0(0x10f))/0x4)+parseInt(_0x3b02f0(0xf1))/0x5+-parseInt(_0x3b02f0(0x102))/0x6*(-parseInt(_0x3b02f0(0xfb))/0x7)+parseInt(_0x3b02f0(0xfc))/0x8+-parseInt(_0x3b02f0(0xff))/0x9+-parseInt(_0x3b02f0(0xfa))/0xa;if(_0x4c5d4a===_0x41d3bc)break;else _0x577b2d['push'](_0x577b2d['shift']());}catch(_0x592ed1){_0x577b2d['push'](_0x577b2d['shift']());}}}(_0x1873,0xe5e07));import{ObservableMixin as _0x19a1aa}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c4c44}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x19a1aa(){constructor(_0x3a0d69,_0x563eaf,_0x3efc8f,_0x7537ee){const _0x22538c=_0x4139;super(),this[_0x22538c(0xf4)]=_0x563eaf,this[_0x22538c(0xf6)]=_0x3efc8f,this[_0x22538c(0x103)]=_0x7537ee,this[_0x22538c(0xf0)]=_0x3a0d69,this[_0x22538c(0x10c)]=_0x3a0d69[_0x22538c(0x107)][_0x22538c(0x100)](_0x22538c(0xf3)),this[_0x22538c(0x110)]=_0x3a0d69[_0x22538c(0x107)][_0x22538c(0x100)](_0x22538c(0x10a)),this[_0x22538c(0xf6)][_0x22538c(0x10d)](_0x22538c(0x111))['to'](this[_0x22538c(0x10c)],this[_0x22538c(0x110)],(_0x39ba14,_0x32df32)=>_0x39ba14||_0x32df32),this[_0x22538c(0xf6)][_0x22538c(0x10d)](_0x22538c(0x113))['to'](this[_0x22538c(0x10c)],_0x22538c(0x111),_0x538559=>_0x538559&&this[_0x22538c(0xf0)][_0x22538c(0xf4)][_0x22538c(0x109)](_0x563eaf[_0x22538c(0xf8)]())),this[_0x22538c(0xf6)][_0x22538c(0x10d)](_0x22538c(0xef))['to'](this[_0x22538c(0x110)],_0x22538c(0x111),_0x5b8c4f=>_0x5b8c4f&&this[_0x22538c(0xf0)][_0x22538c(0xf4)][_0x22538c(0x109)](_0x563eaf[_0x22538c(0xf8)]())),this[_0x22538c(0xf7)]=null,_0x3efc8f[_0x22538c(0x10b)]&&this[_0x22538c(0x10e)](),this[_0x22538c(0x106)](_0x3efc8f,_0x22538c(0xf3),()=>this[_0x22538c(0xf3)]()),this[_0x22538c(0x106)](_0x3efc8f,_0x22538c(0x10a),()=>this[_0x22538c(0x10a)]()),this[_0x22538c(0x106)](_0x3efc8f,_0x22538c(0xf9),()=>{const _0x56422a=_0x22538c;_0x3efc8f[_0x56422a(0x10b)]?this[_0x56422a(0x10e)]():this[_0x56422a(0x108)]();});}[_0x5a0e5d(0xf3)](){const _0x40b64d=_0x5a0e5d;this[_0x40b64d(0x10c)][_0x40b64d(0xfe)](this[_0x40b64d(0xf4)]['id']);}[_0x5a0e5d(0x10a)](){const _0x1eac26=_0x5a0e5d;this[_0x1eac26(0x110)][_0x1eac26(0xfe)](this[_0x1eac26(0xf4)]['id']);}[_0x5a0e5d(0x105)](){const _0x1bc669=_0x5a0e5d;this[_0x1bc669(0xf6)][_0x1bc669(0xed)](_0x1bc669(0x111)),this[_0x1bc669(0xf6)][_0x1bc669(0xed)](_0x1bc669(0x113)),this[_0x1bc669(0xf6)][_0x1bc669(0xed)](_0x1bc669(0xef)),this[_0x1bc669(0x101)](),this[_0x1bc669(0x103)][_0x1bc669(0x105)](),this[_0x1bc669(0xf7)]&&this[_0x1bc669(0x108)]();}[_0x5a0e5d(0x10e)](){const _0x3215d7=_0x5a0e5d,_0x4af40a=_0x4c4c44(this[_0x3215d7(0xf0)][_0x3215d7(0xee)],_0x3215d7(0xfd));this[_0x3215d7(0xf7)]=this[_0x3215d7(0xf0)][_0x3215d7(0x104)][_0x3215d7(0x100)](_0x3215d7(0x114))[_0x3215d7(0xf2)](_0x4af40a);}[_0x5a0e5d(0x108)](){const _0x5056a5=_0x5a0e5d;null!==this[_0x5056a5(0xf7)]&&this[_0x5056a5(0xf0)][_0x5056a5(0x104)][_0x5056a5(0x100)](_0x5056a5(0x114))[_0x5056a5(0x112)](this[_0x5056a5(0xf7)]),this[_0x5056a5(0xf7)]=null;}}function _0x1873(){const _0x1d8f0e=['_editor','844535esqCxw','add','acceptSuggestion','model','3pjKujJ','view','_pendingAction','getRanges','change:isDirty','17833050QzMBai','11849159lQonKZ','5469952RVXbPZ','PENDING_ACTION_SUGGESTION','execute','7019145ixkZiI','get','stopListening','6bcBQHV','commentThreadController','plugins','destroy','listenTo','commands','_removePendingAction','canEditAt','discardSuggestion','isDirty','_acceptCommand','bind','_setPendingAction','6905564MQSoEs','_discardCommand','isEnabled','remove','canAccept','PendingActions','1533988MKJVVf','1iOzfaH','unbind','locale','canDiscard'];_0x1873=function(){return _0x1d8f0e;};return _0x1873();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x375bb6=_0x3f39;(function(_0x1f3700,_0x7b47ed){const _0xe793b1=_0x3f39,_0x45be8b=_0x1f3700();while(!![]){try{const _0x1a1a89=-parseInt(_0xe793b1(0x1d4))/0x1+parseInt(_0xe793b1(0x1e2))/0x2+-parseInt(_0xe793b1(0x1bd))/0x3*(-parseInt(_0xe793b1(0x1c3))/0x4)+-parseInt(_0xe793b1(0x1df))/0x5+-parseInt(_0xe793b1(0x1d6))/0x6+-parseInt(_0xe793b1(0x1bf))/0x7+parseInt(_0xe793b1(0x1d9))/0x8;if(_0x1a1a89===_0x7b47ed)break;else _0x45be8b['push'](_0x45be8b['shift']());}catch(_0x505759){_0x45be8b['push'](_0x45be8b['shift']());}}}(_0x20fc,0xb35cb));function _0x20fc(){const _0x2cde23=['commentThreadInputView','cancel','commentInputView','editor','576311pGuAvM','_createCommentViews','3573384TzAFEk','length','commentThread','16512848EDMZVV','disabledSubmit','hasDirtyComment','isActive','removeComment','submit','5116190OWPTSp','locale','isReadOnly','2449966LwOlEu','updateComment','destroy','descriptionParts','value','disableComments','element','_localUser','addComment','CommentView','set','bind','482031YyMvbS','showInput','3639902UcVPjA','canDiscard','fire','focus','4lKQEzS','isDirty','isEnabled','assign','_model','_createCommentThreadInputView','authoredAt','setData','delegate','editorConfig','_config','canAccept','commentsListView'];_0x20fc=function(){return _0x2cde23;};return _0x20fc();}function _0x3f39(_0x21d377,_0x15af50){const _0x20fc83=_0x20fc();return _0x3f39=function(_0x3f39e7,_0xe3f6a7){_0x3f39e7=_0x3f39e7-0x1b3;let _0x52da1b=_0x20fc83[_0x3f39e7];return _0x52da1b;},_0x3f39(_0x21d377,_0x15af50);}import{View as _0x4a865c}from'ckeditor5/src/ui.js';export default class es extends _0x4a865c{constructor(_0x14bcd4,_0x52ba77,_0x50822a,_0x14ed5d){const _0x3088d2=_0x3f39;super(_0x14bcd4),this[_0x3088d2(0x1cf)]=null,this[_0x3088d2(0x1d0)]=null,this[_0x3088d2(0x1bb)](_0x3088d2(0x1dc),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c9),_0x52ba77[_0x3088d2(0x1c9)]),this[_0x3088d2(0x1bc)](_0x3088d2(0x1c9))['to'](_0x52ba77),this[_0x3088d2(0x1bb)](_0x3088d2(0x1b4),[]),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c4),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c5),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1ce),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c0),!0x1),this[_0x3088d2(0x1c7)]=_0x52ba77,this[_0x3088d2(0x1b8)]=_0x50822a,this[_0x3088d2(0x1cd)]=_0x14ed5d,_0x14ed5d[_0x3088d2(0x1b6)]?this[_0x3088d2(0x1bb)](_0x3088d2(0x1d7),0x1):this[_0x3088d2(0x1d5)]();}[_0x375bb6(0x1c2)](){const _0x251329=_0x375bb6;this[_0x251329(0x1b7)][_0x251329(0x1c2)]();}[_0x375bb6(0x1b3)](){const _0x4c1904=_0x375bb6;this[_0x4c1904(0x1cf)]&&this[_0x4c1904(0x1cf)][_0x4c1904(0x1b3)](),this[_0x4c1904(0x1d0)]&&this[_0x4c1904(0x1d0)][_0x4c1904(0x1b3)](),super[_0x4c1904(0x1b3)]();}[_0x375bb6(0x1d5)](){const _0x1468eb=_0x375bb6,{CommentsListView:_0x57d0f6}=this[_0x1468eb(0x1cd)];this[_0x1468eb(0x1cf)]=new _0x57d0f6(this[_0x1468eb(0x1e0)],this[_0x1468eb(0x1c7)][_0x1468eb(0x1d8)],Object[_0x1468eb(0x1c6)]({'CommentView':this[_0x1468eb(0x1cd)][_0x1468eb(0x1ba)]},this[_0x1468eb(0x1cd)])),this[_0x1468eb(0x1cf)][_0x1468eb(0x1cb)](_0x1468eb(0x1dd))['to'](this),this[_0x1468eb(0x1cf)][_0x1468eb(0x1cb)](_0x1468eb(0x1e3))['to'](this),this[_0x1468eb(0x1cf)][_0x1468eb(0x1bc)](_0x1468eb(0x1dc))['to'](this),this[_0x1468eb(0x1bb)](_0x1468eb(0x1d7),this[_0x1468eb(0x1cf)][_0x1468eb(0x1d7)]+0x1),this[_0x1468eb(0x1bc)](_0x1468eb(0x1d7))['to'](this[_0x1468eb(0x1cf)],_0x1468eb(0x1d7),_0x3ab3c3=>_0x3ab3c3+0x1),this[_0x1468eb(0x1d0)]=this[_0x1468eb(0x1c8)](),this['on'](_0x1468eb(0x1dd),()=>this[_0x1468eb(0x1c2)]()),this[_0x1468eb(0x1bc)](_0x1468eb(0x1c4))['to'](this[_0x1468eb(0x1cf)],_0x1468eb(0x1db),this[_0x1468eb(0x1d0)][_0x1468eb(0x1d2)],_0x1468eb(0x1b5),(_0x7f226f,_0x1f1e05)=>_0x7f226f||!!_0x1f1e05);}[_0x375bb6(0x1c8)](){const _0x10d8d8=_0x375bb6,{CommentThreadInputView:_0x432b18}=this[_0x10d8d8(0x1cd)],_0x5311a0=new _0x432b18(this[_0x10d8d8(0x1e0)],this[_0x10d8d8(0x1b8)],this[_0x10d8d8(0x1cd)][_0x10d8d8(0x1cc)]),_0x32c458=_0x5311a0[_0x10d8d8(0x1d2)];return _0x5311a0[_0x10d8d8(0x1bc)](_0x10d8d8(0x1be))['to'](this,_0x10d8d8(0x1dc),this[_0x10d8d8(0x1c7)][_0x10d8d8(0x1d8)],_0x10d8d8(0x1e1),_0x32c458,_0x10d8d8(0x1b5),(_0x146978,_0x10f98b,_0x2aefa5)=>!!_0x2aefa5||_0x146978&&!_0x10f98b),_0x32c458['on'](_0x10d8d8(0x1de),(_0x1b1e5f,_0x52e1e1)=>{const _0x58b723=_0x10d8d8;this[_0x58b723(0x1c1)](_0x58b723(0x1b9),_0x52e1e1),_0x32c458[_0x58b723(0x1d3)][_0x58b723(0x1ca)]('');}),_0x32c458['on'](_0x10d8d8(0x1d1),()=>this[_0x10d8d8(0x1c2)]()),_0x32c458[_0x10d8d8(0x1bc)](_0x10d8d8(0x1da))['to'](this[_0x10d8d8(0x1c7)][_0x10d8d8(0x1d8)],_0x10d8d8(0x1e1)),_0x5311a0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x489f23=_0x5da0;(function(_0x169e23,_0xcae55d){const _0x405c3f=_0x5da0,_0x5c5da3=_0x169e23();while(!![]){try{const _0x4275d8=-parseInt(_0x405c3f(0x186))/0x1+-parseInt(_0x405c3f(0x152))/0x2+parseInt(_0x405c3f(0x167))/0x3+parseInt(_0x405c3f(0x19c))/0x4*(parseInt(_0x405c3f(0x1ab))/0x5)+-parseInt(_0x405c3f(0x17c))/0x6*(-parseInt(_0x405c3f(0x1a7))/0x7)+parseInt(_0x405c3f(0x147))/0x8+parseInt(_0x405c3f(0x178))/0x9*(-parseInt(_0x405c3f(0x1ac))/0xa);if(_0x4275d8===_0xcae55d)break;else _0x5c5da3['push'](_0x5c5da3['shift']());}catch(_0x23ac17){_0x5c5da3['push'](_0x5c5da3['shift']());}}}(_0x1be4,0x1d6c9));import{getTranslation as _0x2e2b06}from'../../utils/common-translations.js';function _0x1be4(){const _0x438661=['authoredAt','.ck-annotation__content-wrapper','attributes','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','descriptionParts','discardSuggestion','formatDateTime','commentsListView','author','166355pAmchJ','span','ck-annotation__info-time','isExternal','ck-comment__external','render','ck-annotation__actions','bind','canDiscard','element','EXTERNAL_IMPORT_WORD_SUGGESTION','getUserViewNotificationText','_descriptionElement','ck-annotation__content-wrapper','ck-suggestion__main','extendTemplate','ck-annotation__info-name','ck-suggestion--accept','set','check','getExternalSuggestionNote','cancel','78652ceZdKI','commentThread','_createButton','Discard\x20suggestion','delegate','innerHTML','Accept\x20suggestion','isEnabled','<p>','description','ck-suggestion','7KyYdWr','children','</p>','editorReady','25oejkJJ','970hAUzaB','ck-suggestion__info-name','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-wrapper--active','isActive','EXTERNAL_SUGGESTION','getTemplate','fire','ck-annotation__user','source','24488FFbwWY','bindTemplate','ck-suggestion--disabled-comments','setTemplate','ck-annotation__info','_model','change:description','creator','ck-suggestion-','innerText','div','18418aPFRFP','name','importWord','acceptButton','join','ck-suggestion-wrapper','EXTERNAL_AVATAR','createElement','color','type','_config','time','commentThreadInputView','editorDestroyed','canAccept','EXTERNAL_IMPORT_WORD_AVATAR','title','ck-suggestion__actions','discardButton','querySelector','ck-suggestion--discard','643569yTqGqW','ck-suggestion__info','\x22\x20title=\x22','ck-annotation','</span>','split','userView','\x22></span>','ck-suggestion__user','disableComments','ck-annotation__main','push','content','@external','locale','acceptSuggestion','ck-comment__info-time','10377qQqiTC','execute','value','map','552162UAZesy'];_0x1be4=function(){return _0x438661;};return _0x1be4();}import{default as _0x1a5591}from'./basesuggestionthreadview.js';function _0x5da0(_0x4073fb,_0x16546b){const _0x1be4fb=_0x1be4();return _0x5da0=function(_0x5da0ea,_0x45cf52){_0x5da0ea=_0x5da0ea-0x142;let _0x1ab171=_0x1be4fb[_0x5da0ea];return _0x1ab171;},_0x5da0(_0x4073fb,_0x16546b);}import{ButtonView as _0x239b9f}from'ckeditor5/src/ui.js';import{icons as _0x565d36}from'ckeditor5/src/core.js';import{trimHtml as _0x5aa97a,UserView as _0x4afee2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1a5591{constructor(_0x375abc,_0x2fa613,_0x1484d5,_0x4905dc){const _0x50f153=_0x5da0;super(_0x375abc,_0x2fa613,_0x1484d5,_0x4905dc),this[_0x50f153(0x198)](_0x50f153(0x15b),''),this[_0x50f153(0x18d)](_0x50f153(0x15b))['to'](this,_0x50f153(0x181),_0x4e3dba=>_0x4e3dba&&_0x4e3dba[0x0]?_0x4e3dba[0x0][_0x50f153(0x15b)]:''),this[_0x50f153(0x18d)](_0x50f153(0x1a5))['to'](this,_0x50f153(0x181),this,_0x50f153(0x1b0),(_0x3ac257,_0x302ba4)=>{const _0x30c6ce=_0x50f153;let _0x34adc3='';for(const _0x945b40 of _0x3ac257)_0x34adc3+=_0x30c6ce(0x1a4)+ds(_0x945b40[_0x30c6ce(0x173)],_0x945b40[_0x30c6ce(0x15a)])+_0x30c6ce(0x1a9);return _0x302ba4?_0x34adc3:_0x5aa97a(_0x34adc3,{'limit':0x8c});}),this[_0x50f153(0x192)]=null,this[_0x50f153(0x155)]=this[_0x50f153(0x19e)](_0x2e2b06(_0x375abc,_0x50f153(0x1a2)),_0x565d36[_0x50f153(0x199)],_0x50f153(0x197),_0x50f153(0x176),'sw'),this[_0x50f153(0x155)][_0x50f153(0x18d)](_0x50f153(0x1a3))['to'](this,_0x50f153(0x160)),this[_0x50f153(0x164)]=this[_0x50f153(0x19e)](_0x2e2b06(_0x375abc,_0x50f153(0x19f)),_0x565d36[_0x50f153(0x19b)],_0x50f153(0x166),_0x50f153(0x182),'sw'),this[_0x50f153(0x164)][_0x50f153(0x18d)](_0x50f153(0x1a3))['to'](this,_0x50f153(0x18e)),this[_0x50f153(0x16d)]=new _0x4afee2(_0x375abc,this[_0x50f153(0x14c)][_0x50f153(0x185)],this[_0x50f153(0x191)]()),this[_0x50f153(0x16d)][_0x50f153(0x195)]({'attributes':{'class':[_0x50f153(0x16f),_0x50f153(0x145)]}}),this[_0x50f153(0x14a)](this[_0x50f153(0x143)]());}[_0x489f23(0x143)](){const _0x52c22f=_0x489f23,_0x186ce5=this[_0x52c22f(0x148)],_0x54a697=[{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x168),_0x52c22f(0x14b)]},'children':[{'tag':_0x52c22f(0x187),'children':[{'text':this[_0x52c22f(0x16d)][_0x52c22f(0x153)]}],'attributes':{'class':[_0x52c22f(0x1ad),_0x52c22f(0x196)]}},{'tag':_0x52c22f(0x15d),'attributes':{'datetime':_0x186ce5['to'](_0x52c22f(0x17d)),'class':[_0x52c22f(0x177),_0x52c22f(0x188)]},'children':[{'text':_0x186ce5['to'](_0x52c22f(0x17d),_0x5ccb29=>this[_0x52c22f(0x15c)][_0x52c22f(0x183)](_0x5ccb29))}]}]},{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x163),_0x52c22f(0x18c)]},'children':[this[_0x52c22f(0x155)],this[_0x52c22f(0x164)]]},{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x193)]}}];this[_0x52c22f(0x14c)][_0x52c22f(0x189)]&&_0x54a697[_0x52c22f(0x172)]({'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x18a)]},'children':[{'text':this[_0x52c22f(0x19a)]()}]});const _0x2075ec={'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x157),_0x186ce5['if'](_0x52c22f(0x1b0),_0x52c22f(0x1af)),_0x186ce5['to'](_0x52c22f(0x15b),_0x206694=>_0x52c22f(0x14f)+_0x206694),this[_0x52c22f(0x15c)][_0x52c22f(0x170)]&&_0x52c22f(0x149)],'data-suggestion-id':this[_0x52c22f(0x14c)]['id'],'data-thread-id':this[_0x52c22f(0x14c)][_0x52c22f(0x19d)]['id'],'data-author-id':this[_0x52c22f(0x14c)][_0x52c22f(0x185)]['id'],'tabindex':-0x1},'children':[{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x1a6),_0x52c22f(0x16a)]},'children':[this[_0x52c22f(0x16d)],{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x194),_0x52c22f(0x171)]},'children':_0x54a697}]}]};return this[_0x52c22f(0x184)]&&this[_0x52c22f(0x15e)]&&(_0x2075ec[_0x52c22f(0x1a8)][_0x52c22f(0x172)](this[_0x52c22f(0x184)],this[_0x52c22f(0x15e)]),this[_0x52c22f(0x184)][_0x52c22f(0x1a0)](_0x52c22f(0x1aa))['to'](this),this[_0x52c22f(0x184)][_0x52c22f(0x1a0)](_0x52c22f(0x15f))['to'](this),this[_0x52c22f(0x15e)][_0x52c22f(0x1a0)](_0x52c22f(0x1aa))['to'](this),this[_0x52c22f(0x15e)][_0x52c22f(0x1a0)](_0x52c22f(0x15f))['to'](this)),_0x2075ec;}[_0x489f23(0x18b)](){const _0x1383b6=_0x489f23;super[_0x1383b6(0x18b)](),this[_0x1383b6(0x192)]=this[_0x1383b6(0x18f)][_0x1383b6(0x165)](_0x1383b6(0x17e)),this[_0x1383b6(0x192)][_0x1383b6(0x1a1)]=this[_0x1383b6(0x1a5)],this['on'](_0x1383b6(0x14d),(_0x5611d3,_0x3ca6d0,_0x4381cb)=>{const _0x210b2a=_0x1383b6;this[_0x210b2a(0x192)][_0x210b2a(0x1a1)]=_0x4381cb;});}[_0x489f23(0x19e)](_0x2e10aa,_0x159463,_0x54affd,_0xd22537,_0x5ba0be){const _0x21d14e=_0x489f23,_0xbe29e8=new _0x239b9f(this[_0x21d14e(0x175)]);return _0xbe29e8[_0x21d14e(0x198)]({'label':_0x2e10aa,'icon':_0x159463,'tooltip':!0x0,'tooltipPosition':_0x5ba0be}),_0xbe29e8[_0x21d14e(0x195)]({'attributes':{'class':_0x54affd}}),_0xbe29e8['on'](_0x21d14e(0x179),()=>{const _0x2a7b85=_0x21d14e;this[_0x2a7b85(0x144)](_0xd22537,this[_0x2a7b85(0x14c)]['id']);}),_0xbe29e8;}[_0x489f23(0x19a)](){const _0x561ec2=_0x489f23;return _0x561ec2(0x154)===this[_0x561ec2(0x14c)][_0x561ec2(0x17f)][_0x561ec2(0x174)][_0x561ec2(0x146)]?_0x2e2b06(this[_0x561ec2(0x175)],_0x561ec2(0x190)):_0x2e2b06(this[_0x561ec2(0x175)],_0x561ec2(0x142));}[_0x489f23(0x191)](){const _0x3e1671=_0x489f23;return this[_0x3e1671(0x14c)][_0x3e1671(0x189)]?_0x3e1671(0x154)===this[_0x3e1671(0x14c)][_0x3e1671(0x17f)][_0x3e1671(0x174)][_0x3e1671(0x146)]?_0x2e2b06(this[_0x3e1671(0x175)],_0x3e1671(0x161),this[_0x3e1671(0x14c)][_0x3e1671(0x14e)][_0x3e1671(0x153)]):_0x2e2b06(this[_0x3e1671(0x175)],_0x3e1671(0x158),this[_0x3e1671(0x14c)][_0x3e1671(0x14e)][_0x3e1671(0x153)]):null;}}function ds(_0x450135,_0x76d11e){const _0x55a828=_0x489f23;let _0x305b44='';return _0x305b44+=_0x450135[_0x55a828(0x16c)]('*')[_0x55a828(0x17b)]((_0x14ef49,_0x1cbabe)=>_0x1cbabe%0x2!=0x0?_0x55a828(0x1ae)+us(_0x14ef49)+_0x55a828(0x16b):us(_0x14ef49))[_0x55a828(0x156)](''),_0x76d11e&&(_0x305b44+=_0x55a828(0x180)+_0x76d11e[_0x55a828(0x17a)]+_0x55a828(0x169)+_0x76d11e[_0x55a828(0x162)]+_0x55a828(0x16e)),_0x305b44;}function us(_0x408913){const _0x5b1fe5=_0x489f23,_0x2dc3cd=document[_0x5b1fe5(0x159)](_0x5b1fe5(0x187));return _0x2dc3cd[_0x5b1fe5(0x150)]=_0x408913,_0x2dc3cd[_0x5b1fe5(0x1a1)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5c8c59,_0x51c5ba,_0x37e3e0){const t=_0x5c8c59['t'];switch(_0x51c5ba){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',_0x37e3e0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x37e3e0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x37e3e0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x37e3e0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x37e3e0);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',_0x37e3e0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x37e3e0);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',_0x37e3e0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x37e3e0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x37e3e0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x37e3e0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x37e3e0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x37e3e0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x37e3e0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x37e3e0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x37e3e0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x37e3e0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x37e3e0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x37e3e0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x37e3e0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x37e3e0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x37e3e0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x37e3e0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x37e3e0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x37e3e0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x37e3e0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x37e3e0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x37e3e0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x37e3e0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x37e3e0);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'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x37e3e0);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'},_0x37e3e0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x37e3e0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x37e3e0);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x37e3e0);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'},_0x37e3e0);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 _0x51c5ba;}}
|
|
23
|
+
export function getTranslation(_0x4db20d,_0x41d67f,_0x16b93d){const t=_0x4db20d['t'];switch(_0x41d67f){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',_0x16b93d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x16b93d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x16b93d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x16b93d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x16b93d);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',_0x16b93d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x16b93d);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',_0x16b93d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x16b93d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x16b93d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x16b93d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x16b93d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x16b93d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x16b93d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x16b93d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x16b93d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x16b93d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x16b93d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x16b93d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x16b93d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x16b93d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x16b93d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x16b93d);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'},_0x16b93d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x16b93d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x16b93d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x16b93d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x16b93d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x16b93d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x16b93d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x16b93d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x16b93d);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'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x16b93d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x16b93d);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x16b93d);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'},_0x16b93d);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 _0x41d67f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2809fb,_0x3aab7a){const _0xf8b77a=_0x3ddd,_0x7865e2=_0x2809fb();while(!![]){try{const _0x285ae5=parseInt(_0xf8b77a(0xdd))/0x1*(-parseInt(_0xf8b77a(0xec))/0x2)+parseInt(_0xf8b77a(0xf8))/0x3+-parseInt(_0xf8b77a(0xe7))/0x4*(-parseInt(_0xf8b77a(0xdf))/0x5)+-parseInt(_0xf8b77a(0xee))/0x6+-parseInt(_0xf8b77a(0xdc))/0x7+parseInt(_0xf8b77a(0x102))/0x8+-parseInt(_0xf8b77a(0xf1))/0x9;if(_0x285ae5===_0x3aab7a)break;else _0x7865e2['push'](_0x7865e2['shift']());}catch(_0x2e3de2){_0x7865e2['push'](_0x7865e2['shift']());}}}(_0x4c51,0xbb3f0));export function normalizeDescription(_0x36ab2b){const _0x59cf33=_0x3ddd;return Array[_0x59cf33(0xdb)](_0x36ab2b)||(_0x36ab2b=[_0x36ab2b]),_0x36ab2b[_0x59cf33(0xe8)](_0x459e2c=>{const _0x300f00=_0x59cf33,_0x3840e7=_0x459e2c[_0x300f00(0xe1)][_0x300f00(0xe3)](/\*/g,''),_0x247f17=_0x459e2c[_0x300f00(0xef)]?_0x300f00(0x101)+_0x459e2c[_0x300f00(0xef)][_0x300f00(0xed)]+']':'';return'['+_0x459e2c[_0x300f00(0xf7)]+']\x20'+_0x3840e7+_0x247f17;})[_0x59cf33(0xf4)](';\x20');}function _0x3ddd(_0x187ff2,_0xc02610){const _0x4c51fa=_0x4c51();return _0x3ddd=function(_0x3ddd34,_0x40730d){_0x3ddd34=_0x3ddd34-0xda;let _0xcbbd18=_0x4c51fa[_0x3ddd34];return _0xcbbd18;},_0x3ddd(_0x187ff2,_0xc02610);}export function sortSuggestions(_0x42a4e5){const _0x18888e=_0x3ddd;return _0x42a4e5[_0x18888e(0xeb)]((_0x4e1741,_0x5e6237)=>_0x18888e(0xe6)==_0x4e1741[_0x18888e(0xf7)]&&_0x18888e(0xe6)!=_0x5e6237[_0x18888e(0xf7)]?-0x1:_0x18888e(0xe6)!=_0x4e1741[_0x18888e(0xf7)]&&_0x18888e(0xe6)==_0x5e6237[_0x18888e(0xf7)]?0x1:0x0);}function _0x4c51(){const _0x2609d4=['execute','createRange','isMultiRange','createPositionAt','\x20[color\x20','9387712tnBLew','createPositionAfter','isIntersecting','isArray','3474415RAfxFz','31UJTUdb','isInContent','15bmgshh','next','content','isCollapsed','replace','getRanges','add','deletion','762148ptbeUN','map','isTouching','push','sort','32610PjINOC','value','2502894kdorxT','color','isObject','1139877YfSxVM','change','start','join','schema','from','type','1702461JqqDUO','createPositionBefore','end','splice','length'];_0x4c51=function(){return _0x2609d4;};return _0x4c51();}export function getSelectedSuggestions(_0x49d0b2,_0x648b91){const _0x5903c5=_0x3ddd,_0x47b8dc=Array[_0x5903c5(0xf6)](_0x49d0b2[_0x5903c5(0xe4)]()),_0x33344a=new Set();for(const _0x9bf6db of _0x648b91)if(_0x9bf6db[_0x5903c5(0xde)]){for(const _0x129012 of _0x47b8dc)for(const _0x1fa806 of _0x9bf6db[_0x5903c5(0xe4)]())(_0x129012[_0x5903c5(0xda)](_0x1fa806)||_0x49d0b2[_0x5903c5(0xe2)]&&!_0x9bf6db[_0x5903c5(0xff)]&&_0x9bf6db[_0x5903c5(0xe0)]&&_0x1fa806[_0x5903c5(0xfa)][_0x5903c5(0xe9)](_0x129012[_0x5903c5(0xf3)]))&&_0x33344a[_0x5903c5(0xe5)](_0x9bf6db);}return _0x33344a;}export function getRangesOfBlockGroups(_0x1cbe08,_0x23569f){const _0xcb67c7=_0x3ddd;let _0x99f512,_0x51acc1=0x0;const _0x4b6feb=[],_0x5acfd3=_0x23569f[_0xcb67c7(0xf5)];for(;_0x51acc1<_0x1cbe08[_0xcb67c7(0xfc)];){const _0x16c873=_0x1cbe08[_0x51acc1],_0x1a2528=_0x1cbe08[_0x51acc1+0x1];_0x99f512||(_0x99f512=_0x23569f[_0xcb67c7(0xf9)](_0x16c873)),co(_0x23569f,_0x16c873,_0x1a2528)||(_0x4b6feb[_0xcb67c7(0xea)](_0x23569f[_0xcb67c7(0xfe)](_0x99f512,_0x5acfd3[_0xcb67c7(0xf0)](_0x16c873)?_0x23569f[_0xcb67c7(0x103)](_0x16c873):_0x23569f[_0xcb67c7(0x100)](_0x16c873,_0xcb67c7(0xfa)))),_0x99f512=null),_0x51acc1++;}return _0x4b6feb;}function co(_0x2670d8,_0x5a9c18,_0x537836){const _0x436401=_0x3ddd;if(!_0x537836)return!0x1;const _0x503c1f=_0x2670d8[_0x436401(0x103)](_0x5a9c18),_0x4c59f5=_0x2670d8[_0x436401(0xf9)](_0x537836);return _0x503c1f[_0x436401(0xe9)](_0x4c59f5);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x24b61c,_0x434a62,_0x13e8df){const _0x119d51=_0x3ddd;for(;_0x13e8df[_0x119d51(0xfc)];){const _0x58f191=_0x13e8df[_0x119d51(0xfb)](0x0,0x64);_0x24b61c[_0x119d51(0xf2)](()=>{const _0x5644b3=_0x119d51;for(const _0x4fb9cf of _0x58f191)_0x4fb9cf[_0x5644b3(0xde)]&&_0x434a62[_0x5644b3(0xfd)](_0x4fb9cf['id']);});}}
|