@ckeditor/ckeditor5-track-changes 43.3.1-alpha.0 → 43.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x238c0b=_0xdd4f;(function(_0x825488,_0xf94d77){const _0xfd3e1f=_0xdd4f,_0x6b75=_0x825488();while(!![]){try{const _0x338770=-parseInt(_0xfd3e1f(0x139))/0x1*(parseInt(_0xfd3e1f(0x158))/0x2)+-parseInt(_0xfd3e1f(0xcf))/0x3+-parseInt(_0xfd3e1f(0xe6))/0x4*(-parseInt(_0xfd3e1f(0x15e))/0x5)+parseInt(_0xfd3e1f(0xdc))/0x6*(-parseInt(_0xfd3e1f(0xfb))/0x7)+-parseInt(_0xfd3e1f(0xd6))/0x8*(-parseInt(_0xfd3e1f(0xdd))/0x9)+-parseInt(_0xfd3e1f(0x125))/0xa*(-parseInt(_0xfd3e1f(0x14f))/0xb)+-parseInt(_0xfd3e1f(0x15a))/0xc*(-parseInt(_0xfd3e1f(0x146))/0xd);if(_0x338770===_0xf94d77)break;else _0x6b75['push'](_0x6b75['shift']());}catch(_0x54695f){_0x6b75['push'](_0x6b75['shift']());}}}(_0x1048,0x7f607));function _0xdd4f(_0x3db4b7,_0x204f0e){const _0x104809=_0x1048();return _0xdd4f=function(_0xdd4f74,_0x4a9561){_0xdd4f74=_0xdd4f74-0xce;let _0x5e869d=_0x104809[_0xdd4f74];return _0x5e869d;},_0xdd4f(_0x3db4b7,_0x204f0e);}import{Plugin as _0x3f5abe}from'ckeditor5/src/core.js';import{Collection as _0x6156eb}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5d2b8c,createDropdown as _0x171a15,ListSeparatorView as _0x52687b,MenuBarMenuView as _0x56e21a,MenuBarMenuListView as _0x20399b,MenuBarMenuListItemView as _0x5d5e4b,MenuBarMenuListItemButtonView as _0x4ed67d,SplitButtonView as _0x383449,ViewModel as _0x315518}from'ckeditor5/src/ui.js';function _0x1048(){const _0x3de5c0=['isMultiRange','acceptAllSuggestions','SuggestionView','getRanges','78wHivrP','Annotations','SuggestionThreadView','push','add','activeAnnotations','_createMenuBarMenu','_bindAnnotationToEditors','acceptSelectedSuggestions','283283cfsSvl','keys','switchbutton','getSuggestion','getMarkerNames','from','trackChanges.SuggestionThreadView','isOn','define','2uVYRWq','_suggestionToController','1965528Klrshd','execute','Discard\x20all\x20suggestions','Track\x20changes','130hXIRXf','_refreshActiveMarkers','reduce','unbind','destroy','_addUIComponentsToFactory','change:previous','_unbindEditors','commands','trackChanges','buttonView','_handleSuggestionControllerDelayed','_viewToController','1383576cfTuPP','descriptionFactory','Accept\x20all\x20selected\x20suggestions','discardButton','mainView','actionView','discardAllSuggestions','584RdAPYI','focus','comments.maxCommentsWhenCollapsed','escape','filter','commandName','357738sbJYku','27603PNrAhR','editor','_destroyController','suggestionView','size','commentThread','suggestionLoaded','CommentsRepository','has','1788UUbMkw','value','TrackChangesUI','_initializeController','model','suggestionUnloaded','config','stopListening','refreshSelectedViews','addSourceCollector','listenTo','head','lowest','getAllAdjacentSuggestions','suggestion-','init','locale','children','componentFactory','TrackChangesEditing','items','70KqpqVJ','CommentsUI','some','EditorAnnotations','set','_handleControllerBuffer','_createToolbarButton','addComment','trackChanges.disableComments','toMany','innerView','isEnabled','menuitemcheckbox','button','isDirty','commentsListView','Accept\x20all\x20suggestions','view','_updateController','separator','createAnnotationView','change:activeAnnotations','getFirstRange','trackChanges.SuggestionView','getMarkers','length','get','CommentView','createAnnotation','remove','bind','fire','isInContent','clear','pluginName','editing','comments.maxCommentCharsWhenCollapsed','descriptionParts','values','requires','suggestionChanged','isPremiumPlugin','230NmozxL','previous','getJoined','delete','acceptButton','Discard\x20all\x20selected\x20suggestions','menuitem','_annotationViews','comments.maxThreadTotalWeight','source','discardSelectedSuggestions','createCommentThreadController','panelView','_disableComments','menuBar:trackChanges','plugins','arrowView','activeMarkers','registerAnnotation','type','231439clOMni','comments','isOfficialPlugin','getDescriptions','menu','hasSuggestion','getByInnerView','delegate','comments.editorConfig'];_0x1048=function(){return _0x3de5c0;};return _0x1048();}import{Users as _0x33e27f,getDateTimeFormatter as _0x142ea8,getAllMarkersDomElementsSorted as _0x35abcf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x318c0c from'./trackchangesediting.js';import _0x1ab683 from'./ui/suggestioncontroller.js';import _0x48959e from'./ui/view/suggestionthreadview.js';import _0x5978d8 from'./ui/view/suggestionview.js';import{getTranslation as _0x4adbba}from'./utils/common-translations.js';import _0x43d4ad from'../theme/icons/track-changes.svg';export default class d extends _0x3f5abe{static get[_0x238c0b(0x122)](){const _0xfd808d=_0x238c0b;return[_0x318c0c,_0x33e27f,_0xfd808d(0xe4),_0xfd808d(0x147),_0xfd808d(0xfe)];}static get[_0x238c0b(0x11d)](){const _0x4ed4de=_0x238c0b;return _0x4ed4de(0xe8);}static get[_0x238c0b(0x13b)](){return!0x0;}static get[_0x238c0b(0x124)](){return!0x0;}constructor(_0x5163d5){const _0x38cf1a=_0x238c0b;super(_0x5163d5),this[_0x38cf1a(0x159)]=new Map(),this[_0x38cf1a(0xce)]=new Map(),this[_0x38cf1a(0x12c)]=new Map(),this[_0x38cf1a(0x100)]=new Map();const _0x15fa4f=this[_0x38cf1a(0xde)][_0x38cf1a(0xec)];_0x15fa4f[_0x38cf1a(0x157)](_0x38cf1a(0x155),_0x48959e),_0x15fa4f[_0x38cf1a(0x157)](_0x38cf1a(0x112),_0x5978d8),_0x15fa4f[_0x38cf1a(0x157)](_0x38cf1a(0x103),!0x1),this[_0x38cf1a(0x132)]=_0x15fa4f[_0x38cf1a(0x115)](_0x38cf1a(0x103));}[_0x238c0b(0x169)](_0x565a4b,_0x29be48){const _0x4c6950=_0x238c0b;0x0===this[_0x4c6950(0x100)][_0x4c6950(0xe1)]&&setTimeout(()=>{const _0x476a98=_0x4c6950;for(const [_0x4322ea,_0x438136]of this[_0x476a98(0x100)]){const _0x437c41=this[_0x476a98(0x159)][_0x476a98(0xe5)](_0x4322ea);_0x437c41||_0x438136?_0x437c41&&_0x438136&&this[_0x476a98(0xdf)](_0x4322ea):this[_0x476a98(0xe9)](_0x4322ea);}this[_0x476a98(0x100)][_0x476a98(0x11c)](),this[_0x476a98(0xde)][_0x476a98(0x134)][_0x476a98(0x115)](_0x476a98(0xfe))[_0x476a98(0xee)](),this[_0x476a98(0x15f)]();},0xa),this[_0x4c6950(0x100)][_0x4c6950(0xff)](_0x565a4b,_0x29be48);}[_0x238c0b(0xf5)](){const _0x217fc7=_0x238c0b,_0x20e424=this[_0x217fc7(0xde)],_0x56eacd=_0x20e424[_0x217fc7(0x134)][_0x217fc7(0x115)](_0x217fc7(0xf9)),_0x3c6ee3=_0x20e424[_0x217fc7(0x134)][_0x217fc7(0x115)](_0x217fc7(0x147)),_0x189add=_0x20e424[_0x217fc7(0x134)][_0x217fc7(0x115)](_0x217fc7(0xfe)),_0x3e800f=_0x20e424[_0x217fc7(0x134)][_0x217fc7(0x115)](_0x217fc7(0xe4));this[_0x217fc7(0x163)](),_0x189add[_0x217fc7(0xef)](()=>{const _0xac4996=_0x217fc7,_0x3d9368=[];for(const [_0x254f05,_0x119146]of Array[_0xac4996(0x154)](this[_0xac4996(0x159)])){const _0x53762c=_0x254f05[_0xac4996(0xf3)](),_0x31c1d5=[];for(const _0x5c04dc of _0x53762c){if(!_0x5c04dc[_0xac4996(0x11b)])continue;if(_0x5c04dc[_0xac4996(0x142)]){_0x31c1d5[_0xac4996(0x149)](..._0x5c04dc[_0xac4996(0x145)]());continue;}const _0x239a3c=_0x5c04dc[_0xac4996(0x111)]();if(_0x31c1d5[_0xac4996(0x114)]>0x0){const _0x2a1efe=_0x31c1d5[0x0][_0xac4996(0x127)](_0x239a3c);if(_0x2a1efe){_0x31c1d5[0x0]=_0x2a1efe;continue;}}_0x31c1d5[_0xac4996(0x149)](_0x239a3c);}_0x3d9368[_0xac4996(0x149)]([_0x119146[_0xac4996(0x10c)],_0x31c1d5]);}return _0x3d9368;}),this[_0x217fc7(0xf0)](_0x56eacd,_0x217fc7(0xe3),(_0x49a106,_0x4fa4e0)=>{const _0x340fee=_0x217fc7;this[_0x340fee(0xf0)](_0x4fa4e0,_0x340fee(0x164),(_0x590bed,_0x38e435,_0x123ae4,_0x57f412)=>{const _0x42247c=_0x340fee;_0x4fa4e0[_0x42247c(0x11b)]&&(null==_0x123ae4?(this[_0x42247c(0x10d)](_0x57f412[_0x42247c(0xf1)]),this[_0x42247c(0x169)](_0x4fa4e0,!0x1)):(this[_0x42247c(0x10d)](_0x123ae4[_0x42247c(0xf1)]),null==_0x57f412&&this[_0x42247c(0x169)](_0x4fa4e0,!0x0)));}),null!==_0x4fa4e0[_0x340fee(0x126)]?this[_0x340fee(0x10d)](_0x4fa4e0[_0x340fee(0xf1)]):this[_0x340fee(0x169)](_0x4fa4e0,!0x1);}),this[_0x217fc7(0xf0)](_0x56eacd,_0x217fc7(0xeb),(_0x470241,_0x5a27d8,_0x69ae0a)=>{const _0x21877f=_0x217fc7;this[_0x21877f(0xed)](_0x5a27d8,_0x21877f(0x164)),this[_0x21877f(0x100)][_0x21877f(0x128)](_0x5a27d8),this[_0x21877f(0x159)][_0x21877f(0xe5)](_0x5a27d8)&&this[_0x21877f(0xdf)](_0x5a27d8),_0x69ae0a&&this[_0x21877f(0x10d)](_0x69ae0a[_0x21877f(0xf1)]);}),this[_0x217fc7(0xf0)](_0x56eacd,_0x217fc7(0x123),(_0x2cd9a0,_0x57fcf8)=>{const _0x457cc7=_0x217fc7;this[_0x457cc7(0x10d)](_0x57fcf8);}),this[_0x217fc7(0xf0)](_0x3c6ee3,_0x217fc7(0x110),()=>{const _0x477ff7=_0x217fc7;this[_0x477ff7(0x15f)]();}),this[_0x217fc7(0xf0)](_0x3e800f,_0x217fc7(0x102),(_0x594e5d,{threadId:_0x480fea,isFromAdapter:_0x49d098})=>{const _0x16eaca=_0x217fc7;if(_0x49d098||!_0x56eacd[_0x16eaca(0x13e)](_0x480fea))return;const _0x5a0b81=_0x56eacd[_0x16eaca(0x152)](_0x480fea);this[_0x16eaca(0x159)][_0x16eaca(0x115)](_0x5a0b81)[_0x16eaca(0x10c)][_0x16eaca(0x10a)][_0x16eaca(0xd7)](-0x1);},{'priority':_0x217fc7(0xf2)});}[_0x238c0b(0x15f)](){const _0x1d2210=_0x238c0b,_0x4b9041=this[_0x1d2210(0xde)][_0x1d2210(0x134)][_0x1d2210(0x115)](_0x1d2210(0x147)),_0x13e13e=this[_0x1d2210(0xde)][_0x1d2210(0x134)][_0x1d2210(0x115)](_0x1d2210(0xf9)),_0x295c60=Array[_0x1d2210(0x154)](_0x4b9041[_0x1d2210(0x14b)],_0x3d97a1=>_0x3d97a1[_0x1d2210(0x105)])[_0x1d2210(0xda)](_0x56899d=>this[_0x1d2210(0xce)][_0x1d2210(0xe5)](_0x56899d)),_0x2df5e2=[];for(const _0x1de50a of _0x295c60){const _0x3ca68f=this[_0x1d2210(0xce)][_0x1d2210(0x115)](_0x1de50a)[_0x1d2210(0xea)][_0x1d2210(0xf3)]();_0x2df5e2[_0x1d2210(0x149)](..._0x3ca68f[_0x1d2210(0x160)]((_0x3ec5b4,_0x23d0e3)=>[..._0x3ec5b4,..._0x23d0e3[_0x1d2210(0x153)]()],[]));}_0x13e13e[_0x1d2210(0x136)]=_0x2df5e2;}[_0x238c0b(0x163)](){const _0x23938d=_0x238c0b,_0x1b64f4=this[_0x23938d(0xde)],_0x2cd52c=_0x1b64f4[_0x23938d(0xf6)],_0x420424=_0x4adbba(_0x2cd52c,_0x23938d(0x15d)),_0x51b65d=new _0x6156eb([{'type':_0x23938d(0x151),'model':new _0x315518({'withText':!0x0,'isToggleable':!0x0,'label':_0x420424,'commandName':_0x23938d(0x167),'role':_0x23938d(0x107)})},{'type':_0x23938d(0x10e)},{'type':_0x23938d(0x108),'model':new _0x315518({'withText':!0x0,'label':_0x4adbba(_0x2cd52c,_0x23938d(0x10b)),'commandName':_0x23938d(0x143),'role':_0x23938d(0x12b)})},{'type':_0x23938d(0x108),'model':new _0x315518({'withText':!0x0,'label':_0x4adbba(_0x2cd52c,_0x23938d(0xd1)),'commandName':_0x23938d(0x14e),'role':_0x23938d(0x12b)})},{'type':_0x23938d(0x108),'model':new _0x315518({'withText':!0x0,'label':_0x4adbba(_0x2cd52c,_0x23938d(0x15c)),'commandName':_0x23938d(0xd5),'role':_0x23938d(0x12b)})},{'type':_0x23938d(0x108),'model':new _0x315518({'withText':!0x0,'label':_0x4adbba(_0x2cd52c,_0x23938d(0x12a)),'commandName':_0x23938d(0x12f),'role':_0x23938d(0x12b)})}]);for(const _0x27233d of _0x51b65d)if(me(_0x27233d)){const _0xcf10db=_0x1b64f4[_0x23938d(0x166)][_0x23938d(0x115)](_0x27233d[_0x23938d(0xea)][_0x23938d(0xdb)]);_0x27233d[_0x23938d(0xea)][_0x23938d(0x119)](_0x23938d(0x156),_0x23938d(0x106))['to'](_0xcf10db,_0x23938d(0xe7),_0x23938d(0x106));}_0x1b64f4['ui'][_0x23938d(0xf8)][_0x23938d(0x14a)](_0x23938d(0x167),_0x581ca8=>this[_0x23938d(0x101)](_0x581ca8,_0x51b65d,_0x420424)),_0x1b64f4['ui'][_0x23938d(0xf8)][_0x23938d(0x14a)](_0x23938d(0x133),_0x1c9f41=>this[_0x23938d(0x14c)](_0x1c9f41,_0x51b65d,_0x420424));}[_0x238c0b(0x101)](_0x3b03a7,_0x28d11e,_0x353633){const _0x554432=_0x238c0b,_0x2fdc95=_0x171a15(_0x3b03a7,_0x383449),_0xe3587=this[_0x554432(0xde)][_0x554432(0x166)][_0x554432(0x115)](_0x554432(0x167));_0x2fdc95[_0x554432(0x168)][_0x554432(0xff)]({'tooltip':_0x353633,'label':_0x353633,'icon':_0x43d4ad}),_0x2fdc95[_0x554432(0x168)][_0x554432(0x119)](_0x554432(0x156))['to'](_0xe3587,_0x554432(0xe7)),_0x2fdc95[_0x554432(0x168)]['on'](_0x554432(0x15b),()=>{const _0x2dd1b8=_0x554432;_0xe3587[_0x2dd1b8(0x15b)](),this[_0x2dd1b8(0xde)][_0x2dd1b8(0x11e)][_0x2dd1b8(0x10c)][_0x2dd1b8(0xd7)]();}),_0x5d2b8c(_0x2fdc95,_0x28d11e,{'role':_0x554432(0x13d)});const _0x4cfc70=[];for(const _0x172e4c of _0x28d11e)me(_0x172e4c)&&_0x4cfc70[_0x554432(0x149)](this[_0x554432(0xde)][_0x554432(0x166)][_0x554432(0x115)](_0x172e4c[_0x554432(0xea)][_0x554432(0xdb)]));const _0x1e96d7=_0x2fdc95[_0x554432(0x168)];return _0x1e96d7[_0x554432(0xd4)][_0x554432(0x161)](_0x554432(0x106)),_0x1e96d7[_0x554432(0x135)][_0x554432(0x161)](_0x554432(0x106)),_0x1e96d7[_0x554432(0xd4)][_0x554432(0x119)](_0x554432(0x106))['to'](_0xe3587,_0x554432(0x106)),_0x1e96d7[_0x554432(0x135)][_0x554432(0x119)](_0x554432(0x106))[_0x554432(0x104)](_0x4cfc70,_0x554432(0x106),(..._0x4b4cbe)=>_0x4b4cbe[_0x554432(0xfd)](_0x30d615=>_0x30d615)),_0x2fdc95['on'](_0x554432(0x15b),_0x53c476=>{const _0x11713f=_0x554432;this[_0x11713f(0xde)][_0x11713f(0x15b)](_0x53c476[_0x11713f(0x12e)][_0x11713f(0xdb)]),this[_0x11713f(0xde)][_0x11713f(0x11e)][_0x11713f(0x10c)][_0x11713f(0xd7)]();}),_0x2fdc95;}[_0x238c0b(0x14c)](_0x3472f1,_0x4f6592,_0x369bd7){const _0x4b1899=_0x238c0b,_0x573611=new _0x56e21a(_0x3472f1),_0x504986=this[_0x4b1899(0xde)][_0x4b1899(0x166)][_0x4b1899(0x115)](_0x4b1899(0x167));_0x573611[_0x4b1899(0x168)][_0x4b1899(0xff)]({'label':_0x369bd7,'icon':_0x43d4ad});const _0xe485e8=new _0x20399b(_0x3472f1);for(const _0x5ad93c of _0x4f6592){if(_0x4b1899(0x10e)==_0x5ad93c[_0x4b1899(0x138)]){_0xe485e8[_0x4b1899(0xfa)][_0x4b1899(0x14a)](new _0x52687b(_0x3472f1));continue;}const _0x6e4f43=new _0x5d5e4b(_0x3472f1,_0x573611),_0x52e472=new _0x4ed67d(_0x3472f1),_0xa44618=_0x5ad93c[_0x4b1899(0xea)];_0x52e472[_0x4b1899(0x119)](...Object[_0x4b1899(0x150)](_0xa44618))['to'](_0xa44618),_0x52e472[_0x4b1899(0x140)](_0x4b1899(0x15b))['to'](_0x573611),_0x52e472['on'](_0x4b1899(0x15b),()=>{const _0x3b0fdf=_0x4b1899;this[_0x3b0fdf(0xde)][_0x3b0fdf(0x15b)](_0xa44618[_0x3b0fdf(0xdb)]),this[_0x3b0fdf(0xde)][_0x3b0fdf(0x11e)][_0x3b0fdf(0x10c)][_0x3b0fdf(0xd7)]();}),_0x6e4f43[_0x4b1899(0xf7)][_0x4b1899(0x14a)](_0x52e472),_0xe485e8[_0x4b1899(0xfa)][_0x4b1899(0x14a)](_0x6e4f43);}return _0x573611[_0x4b1899(0x119)](_0x4b1899(0x106))['to'](_0x504986,_0x4b1899(0x106)),_0x573611[_0x4b1899(0x131)][_0x4b1899(0xf7)][_0x4b1899(0x14a)](_0xe485e8),_0x573611;}[_0x238c0b(0xe9)](_0x16aa96){const _0x54426e=_0x238c0b,_0xdc78f5=this[_0x54426e(0xde)],_0x18b8be=_0xdc78f5[_0x54426e(0xec)],_0x40034c=_0xdc78f5[_0x54426e(0x134)][_0x54426e(0x115)](_0x54426e(0x147)),_0xb454f1=_0xdc78f5[_0x54426e(0x134)][_0x54426e(0x115)](_0x54426e(0xe4)),_0x12933f=_0xdc78f5[_0x54426e(0x134)][_0x54426e(0x115)](_0x54426e(0xfe)),_0x3be14d=_0xdc78f5[_0x54426e(0x134)][_0x54426e(0x115)](_0x33e27f)['me'],_0x32b382=_0x18b8be[_0x54426e(0x115)](_0x54426e(0x167))[_0x54426e(0x148)],_0x5b49e5=_0x18b8be[_0x54426e(0x115)](_0x54426e(0x167))[_0x54426e(0x144)],{CommentsListView:_0x8c559c,CommentThreadInputView:_0x58f4e3}=_0xdc78f5[_0x54426e(0x134)][_0x54426e(0x115)](_0x54426e(0xfc));let _0x7c889d,_0x2d3673,_0x4ad909;this[_0x54426e(0x12c)][_0x54426e(0xe5)](_0x16aa96['id'])?(_0x2d3673=this[_0x54426e(0x12c)][_0x54426e(0x115)](_0x16aa96['id']),_0x7c889d=_0x2d3673[_0x54426e(0xd3)]):(_0x7c889d=new _0x32b382(_0xdc78f5[_0x54426e(0xf6)],_0x16aa96,_0x3be14d,{'disableComments':this[_0x54426e(0x132)],'editorConfig':_0x18b8be[_0x54426e(0x115)](_0x54426e(0x141)),'maxCommentsWhenCollapsed':_0x18b8be[_0x54426e(0x115)](_0x54426e(0xd8)),'maxThreadTotalWeight':_0x18b8be[_0x54426e(0x115)](_0x54426e(0x12d)),'maxCommentCharsWhenCollapsed':_0x18b8be[_0x54426e(0x115)](_0x54426e(0x11f)),'formatDateTime':_0x142ea8(_0x18b8be[_0x54426e(0x115)](_0x54426e(0xf6))),'CommentView':_0x18b8be[_0x54426e(0x115)](_0x54426e(0x13a))[_0x54426e(0x116)],'CommentsListView':_0x8c559c,'CommentThreadInputView':_0x58f4e3,'SuggestionView':_0x5b49e5}),_0x7c889d[_0x54426e(0xe0)][_0x54426e(0x129)]['on'](_0x54426e(0x15b),()=>{const _0x25c29b=_0x54426e;_0xdc78f5[_0x25c29b(0x11e)][_0x25c29b(0x10c)][_0x25c29b(0xd7)]();}),_0x7c889d[_0x54426e(0xe0)][_0x54426e(0xd2)]['on'](_0x54426e(0x15b),()=>{const _0x206f1e=_0x54426e;_0xdc78f5[_0x206f1e(0x11e)][_0x206f1e(0x10c)][_0x206f1e(0xd7)]();}),_0x2d3673=_0x40034c[_0x54426e(0x10f)](this[_0x54426e(0xde)][_0x54426e(0xf6)],_0x7c889d),_0x2d3673[_0x54426e(0x119)](_0x54426e(0x109))['to'](_0x7c889d,_0x54426e(0x109)),_0x2d3673[_0x54426e(0x119)](_0x54426e(0x114))['to'](_0x7c889d),_0x2d3673[_0x54426e(0x119)](_0x54426e(0x138))['to'](_0x7c889d,_0x54426e(0x138),_0xa5079b=>_0x54426e(0xf4)+_0xa5079b),_0x7c889d['on'](_0x54426e(0xd9),()=>{const _0x3d71d1=_0x54426e;_0x4ad909[_0x3d71d1(0x11a)](_0x3d71d1(0xd9));}),this[_0x54426e(0x12c)][_0x54426e(0xff)](_0x16aa96['id'],_0x2d3673));const _0x352b1f=_0xb454f1[_0x54426e(0x130)](_0x16aa96[_0x54426e(0xe2)],_0x7c889d),_0x3986d2=new _0x1ab683(_0xdc78f5,_0x16aa96,_0x7c889d,_0x352b1f),_0x5d24c5=_0x16aa96[_0x54426e(0xf3)]()[_0x54426e(0xda)](_0x4466a7=>_0x4466a7[_0x54426e(0x11b)]);_0x7c889d[_0x54426e(0x120)]=_0xdc78f5[_0x54426e(0x134)][_0x54426e(0x115)](_0x54426e(0xf9))[_0x54426e(0xd0)][_0x54426e(0x13c)](_0x5d24c5),this[_0x54426e(0x159)][_0x54426e(0xff)](_0x16aa96,_0x3986d2),this[_0x54426e(0xce)][_0x54426e(0xff)](_0x7c889d,_0x3986d2),_0x4ad909=_0x40034c[_0x54426e(0x117)]({'view':_0x2d3673,'target':()=>{const _0x2cdbc5=_0x54426e,_0x573cd6=[],_0x4f4daa=_0x16aa96[_0x2cdbc5(0xf3)]()[_0x2cdbc5(0xda)](_0x4afa39=>_0x4afa39[_0x2cdbc5(0x11b)]);for(const _0x3c44f8 of _0x4f4daa)_0x573cd6[_0x2cdbc5(0x149)](..._0x3c44f8[_0x2cdbc5(0x113)]());return _0x35abcf(_0xdc78f5[_0x2cdbc5(0x11e)],_0x573cd6);},'type':()=>_0x54426e(0xf4)+_0x3986d2[_0x54426e(0x10c)][_0x54426e(0x138)]}),_0xb454f1[_0x54426e(0x14d)](_0x7c889d,_0x4ad909),_0x40034c[_0x54426e(0x14a)](_0x4ad909),_0x12933f[_0x54426e(0x137)](_0x4ad909);}[_0x238c0b(0xdf)](_0x2a0dd6){const _0x21c0bf=_0x238c0b,_0x1539c1=this[_0x21c0bf(0xde)][_0x21c0bf(0x134)][_0x21c0bf(0x115)](_0x21c0bf(0xe4)),_0x2a0de8=this[_0x21c0bf(0xde)][_0x21c0bf(0x134)][_0x21c0bf(0x115)](_0x21c0bf(0x147)),_0x454c82=this[_0x21c0bf(0x159)][_0x21c0bf(0x115)](_0x2a0dd6),_0x58314a=_0x454c82[_0x21c0bf(0x10c)],_0x402520=_0x2a0de8[_0x21c0bf(0x13f)](_0x58314a);_0x1539c1[_0x21c0bf(0x165)](_0x58314a),_0x402520&&_0x2a0de8[_0x21c0bf(0x118)](_0x402520),this[_0x21c0bf(0x159)][_0x21c0bf(0x128)](_0x2a0dd6),this[_0x21c0bf(0xce)][_0x21c0bf(0x128)](_0x58314a),_0x454c82[_0x21c0bf(0x162)]();}[_0x238c0b(0x10d)](_0x1de301){const _0x4b64b9=_0x238c0b;if(!_0x1de301[_0x4b64b9(0x11b)]||!this[_0x4b64b9(0x159)][_0x4b64b9(0xe5)](_0x1de301))return;const _0x50f265=this[_0x4b64b9(0xde)][_0x4b64b9(0x134)][_0x4b64b9(0x115)](_0x4b64b9(0xf9)),_0x524675=this[_0x4b64b9(0x159)][_0x4b64b9(0x115)](_0x1de301),_0x3e1f08=_0x1de301[_0x4b64b9(0xf3)]();_0x524675[_0x4b64b9(0x10c)][_0x4b64b9(0x120)]=_0x50f265[_0x4b64b9(0xd0)][_0x4b64b9(0x13c)](_0x3e1f08);}[_0x238c0b(0x162)](){const _0x4f084b=_0x238c0b;for(const _0x31a074 of this[_0x4f084b(0x159)][_0x4f084b(0x150)]())this[_0x4f084b(0xdf)](_0x31a074);for(const _0xa5cf8a of this[_0x4f084b(0x12c)][_0x4f084b(0x121)]())_0xa5cf8a[_0x4f084b(0xd3)][_0x4f084b(0x162)]();super[_0x4f084b(0x162)]();}}function me(_0x22e709){const _0x107a9b=_0x238c0b;return _0x107a9b(0xea)in _0x22e709;}
|
|
23
|
+
const _0x394bf3=_0x2900;(function(_0x33760f,_0x5f540e){const _0x4f8fc2=_0x2900,_0x41a92d=_0x33760f();while(!![]){try{const _0x3936dd=-parseInt(_0x4f8fc2(0x16c))/0x1*(parseInt(_0x4f8fc2(0x157))/0x2)+-parseInt(_0x4f8fc2(0x1cc))/0x3+-parseInt(_0x4f8fc2(0x1d1))/0x4+parseInt(_0x4f8fc2(0x17a))/0x5*(-parseInt(_0x4f8fc2(0x1b7))/0x6)+parseInt(_0x4f8fc2(0x18d))/0x7+-parseInt(_0x4f8fc2(0x194))/0x8*(parseInt(_0x4f8fc2(0x1d3))/0x9)+parseInt(_0x4f8fc2(0x1c9))/0xa*(parseInt(_0x4f8fc2(0x1ad))/0xb);if(_0x3936dd===_0x5f540e)break;else _0x41a92d['push'](_0x41a92d['shift']());}catch(_0x26d616){_0x41a92d['push'](_0x41a92d['shift']());}}}(_0x2b0b,0x5dcd5));function _0x2900(_0x31c913,_0x506efd){const _0x2b0be8=_0x2b0b();return _0x2900=function(_0x29009e,_0x1e1356){_0x29009e=_0x29009e-0x14d;let _0x1ecbc7=_0x2b0be8[_0x29009e];return _0x1ecbc7;},_0x2900(_0x31c913,_0x506efd);}import{Plugin as _0x36bfd0}from'ckeditor5/src/core.js';import{Collection as _0x473b52}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3abda0,createDropdown as _0x53b22b,ListSeparatorView as _0x1ae262,MenuBarMenuView as _0x3361fd,MenuBarMenuListView as _0x262f62,MenuBarMenuListItemView as _0x5a6f2c,MenuBarMenuListItemButtonView as _0x523737,SplitButtonView as _0x54ffc0,ViewModel as _0x3c3455}from'ckeditor5/src/ui.js';import{Users as _0x5dd9c5,getDateTimeFormatter as _0x15bc8d,getAllMarkersDomElementsSorted as _0x4ca2bd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5f05b1 from'./trackchangesediting.js';import _0x32bda2 from'./ui/suggestioncontroller.js';import _0x21d631 from'./ui/view/suggestionthreadview.js';import _0x5e1b7f from'./ui/view/suggestionview.js';import{getTranslation as _0x11585b}from'./utils/common-translations.js';import _0x3793b7 from'../theme/icons/track-changes.svg';function _0x2b0b(){const _0x16dd2b=['filter','menuitem','commands','reduce','getAllAdjacentSuggestions','isOfficialPlugin','getSuggestion','3377615RlzuSG','panelView','buttonView','menu','model','commandName','escape','lowest','trackChanges','_addUIComponentsToFactory','_viewToController','change:activeAnnotations','isInContent','SuggestionThreadView','addSourceCollector','SuggestionView','toMany','Discard\x20all\x20selected\x20suggestions','EditorAnnotations','4054666VfRnRf','_refreshActiveMarkers','suggestionChanged','CommentsRepository','Track\x20changes','arrowView','trackChanges.SuggestionThreadView','8zDDcuK','pluginName','children','size','trackChanges.disableComments','bind','getMarkers','descriptionParts','activeAnnotations','_updateController','activeMarkers','commentThread','suggestionView','acceptButton','getRanges','isMultiRange','stopListening','comments.editorConfig','createAnnotationView','comments.maxThreadTotalWeight','source','suggestion-','editing','clear','change:previous','154IwmRzl','unbind','keys','isPremiumPlugin','registerAnnotation','_handleControllerBuffer','previous','delegate','requires','Accept\x20all\x20selected\x20suggestions','6UBEFpm','getDescriptions','Annotations','editor','discardButton','_initializeController','TrackChangesEditing','Accept\x20all\x20suggestions','TrackChangesUI','hasSuggestion','_bindAnnotationToEditors','listenTo','_handleSuggestionControllerDelayed','isDirty','getByInnerView','add','switchbutton','discardAllSuggestions','1737630bfjurH','CommentsUI','acceptAllSuggestions','1873272WzpzWo','menuitemcheckbox','getMarkerNames','mainView','commentsListView','972468fIEVWN','acceptSelectedSuggestions','4404807vtxkci','_disableComments','init','execute','_unbindEditors','length','trackChanges.SuggestionView','innerView','comments.maxCommentCharsWhenCollapsed','some','head','items','_createToolbarButton','actionView','componentFactory','CommentView','button','set','discardSelectedSuggestions','has','separator','createAnnotation','view','define','Discard\x20all\x20suggestions','plugins','isEnabled','remove','getJoined','_annotationViews','238088uwaEoP','getFirstRange','type','delete','push','createCommentThreadController','fire','addComment','get','menuBar:trackChanges','refreshSelectedViews','from','_createMenuBarMenu','destroy','values','locale','descriptionFactory','_destroyController','suggestionLoaded','focus','isOn','5ZxznMX','suggestionUnloaded','value','comments.maxCommentsWhenCollapsed','comments','config','_suggestionToController'];_0x2b0b=function(){return _0x16dd2b;};return _0x2b0b();}export default class d extends _0x36bfd0{static get[_0x394bf3(0x1b5)](){const _0x21dd89=_0x394bf3;return[_0x5f05b1,_0x5dd9c5,_0x21dd89(0x190),_0x21dd89(0x1b9),_0x21dd89(0x18c)];}static get[_0x394bf3(0x195)](){const _0x55f428=_0x394bf3;return _0x55f428(0x1bf);}static get[_0x394bf3(0x178)](){return!0x0;}static get[_0x394bf3(0x1b0)](){return!0x0;}constructor(_0x486325){const _0x18d007=_0x394bf3;super(_0x486325),this[_0x18d007(0x172)]=new Map(),this[_0x18d007(0x184)]=new Map(),this[_0x18d007(0x156)]=new Map(),this[_0x18d007(0x1b2)]=new Map();const _0x2b0847=this[_0x18d007(0x1ba)][_0x18d007(0x171)];_0x2b0847[_0x18d007(0x150)](_0x18d007(0x193),_0x21d631),_0x2b0847[_0x18d007(0x150)](_0x18d007(0x1d9),_0x5e1b7f),_0x2b0847[_0x18d007(0x150)](_0x18d007(0x198),!0x1),this[_0x18d007(0x1d4)]=_0x2b0847[_0x18d007(0x15f)](_0x18d007(0x198));}[_0x394bf3(0x1c3)](_0xfeb79e,_0x10f1cb){const _0x13b038=_0x394bf3;0x0===this[_0x13b038(0x1b2)][_0x13b038(0x197)]&&setTimeout(()=>{const _0x3edafe=_0x13b038;for(const [_0x154ba5,_0x2890bc]of this[_0x3edafe(0x1b2)]){const _0x4df929=this[_0x3edafe(0x172)][_0x3edafe(0x1e6)](_0x154ba5);_0x4df929||_0x2890bc?_0x4df929&&_0x2890bc&&this[_0x3edafe(0x168)](_0x154ba5):this[_0x3edafe(0x1bc)](_0x154ba5);}this[_0x3edafe(0x1b2)][_0x3edafe(0x1ab)](),this[_0x3edafe(0x1ba)][_0x3edafe(0x152)][_0x3edafe(0x15f)](_0x3edafe(0x18c))[_0x3edafe(0x161)](),this[_0x3edafe(0x18e)]();},0xa),this[_0x13b038(0x1b2)][_0x13b038(0x1e4)](_0xfeb79e,_0x10f1cb);}[_0x394bf3(0x1d5)](){const _0x4a92ef=_0x394bf3,_0x593ac1=this[_0x4a92ef(0x1ba)],_0x5b7903=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x1bd)),_0x59902d=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x1b9)),_0x13d9de=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x18c)),_0x4d5c31=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x190));this[_0x4a92ef(0x183)](),_0x13d9de[_0x4a92ef(0x188)](()=>{const _0x40bbdf=_0x4a92ef,_0xc04efc=[];for(const [_0x23d587,_0x199f1f]of Array[_0x40bbdf(0x162)](this[_0x40bbdf(0x172)])){const _0x3786bb=_0x23d587[_0x40bbdf(0x177)](),_0x176278=[];for(const _0x491b1c of _0x3786bb){if(!_0x491b1c[_0x40bbdf(0x186)])continue;if(_0x491b1c[_0x40bbdf(0x1a3)]){_0x176278[_0x40bbdf(0x15b)](..._0x491b1c[_0x40bbdf(0x1a2)]());continue;}const _0x26323f=_0x491b1c[_0x40bbdf(0x158)]();if(_0x176278[_0x40bbdf(0x1d8)]>0x0){const _0x5c2cfa=_0x176278[0x0][_0x40bbdf(0x155)](_0x26323f);if(_0x5c2cfa){_0x176278[0x0]=_0x5c2cfa;continue;}}_0x176278[_0x40bbdf(0x15b)](_0x26323f);}_0xc04efc[_0x40bbdf(0x15b)]([_0x199f1f[_0x40bbdf(0x14f)],_0x176278]);}return _0xc04efc;}),this[_0x4a92ef(0x1c2)](_0x5b7903,_0x4a92ef(0x169),(_0x131084,_0x35b050)=>{const _0x4fff8e=_0x4a92ef;this[_0x4fff8e(0x1c2)](_0x35b050,_0x4fff8e(0x1ac),(_0x4ea42a,_0x43c687,_0x32c5ea,_0xd1704e)=>{const _0x24f907=_0x4fff8e;_0x35b050[_0x24f907(0x186)]&&(null==_0x32c5ea?(this[_0x24f907(0x19d)](_0xd1704e[_0x24f907(0x1dd)]),this[_0x24f907(0x1c3)](_0x35b050,!0x1)):(this[_0x24f907(0x19d)](_0x32c5ea[_0x24f907(0x1dd)]),null==_0xd1704e&&this[_0x24f907(0x1c3)](_0x35b050,!0x0)));}),null!==_0x35b050[_0x4fff8e(0x1b3)]?this[_0x4fff8e(0x19d)](_0x35b050[_0x4fff8e(0x1dd)]):this[_0x4fff8e(0x1c3)](_0x35b050,!0x1);}),this[_0x4a92ef(0x1c2)](_0x5b7903,_0x4a92ef(0x16d),(_0xde6150,_0x53060f,_0x566ffa)=>{const _0x2ca28f=_0x4a92ef;this[_0x2ca28f(0x1a4)](_0x53060f,_0x2ca28f(0x1ac)),this[_0x2ca28f(0x1b2)][_0x2ca28f(0x15a)](_0x53060f),this[_0x2ca28f(0x172)][_0x2ca28f(0x1e6)](_0x53060f)&&this[_0x2ca28f(0x168)](_0x53060f),_0x566ffa&&this[_0x2ca28f(0x19d)](_0x566ffa[_0x2ca28f(0x1dd)]);}),this[_0x4a92ef(0x1c2)](_0x5b7903,_0x4a92ef(0x18f),(_0x1bd54f,_0x1d9df7)=>{const _0xd80e46=_0x4a92ef;this[_0xd80e46(0x19d)](_0x1d9df7);}),this[_0x4a92ef(0x1c2)](_0x59902d,_0x4a92ef(0x185),()=>{const _0x42b90c=_0x4a92ef;this[_0x42b90c(0x18e)]();}),this[_0x4a92ef(0x1c2)](_0x4d5c31,_0x4a92ef(0x15e),(_0x86cad1,{threadId:_0x233653,isFromAdapter:_0x205231})=>{const _0x3a3302=_0x4a92ef;if(_0x205231||!_0x5b7903[_0x3a3302(0x1c0)](_0x233653))return;const _0x265cc1=_0x5b7903[_0x3a3302(0x179)](_0x233653);this[_0x3a3302(0x172)][_0x3a3302(0x15f)](_0x265cc1)[_0x3a3302(0x14f)][_0x3a3302(0x1d0)][_0x3a3302(0x16a)](-0x1);},{'priority':_0x4a92ef(0x181)});}[_0x394bf3(0x18e)](){const _0x58ea91=_0x394bf3,_0x18d123=this[_0x58ea91(0x1ba)][_0x58ea91(0x152)][_0x58ea91(0x15f)](_0x58ea91(0x1b9)),_0x291b38=this[_0x58ea91(0x1ba)][_0x58ea91(0x152)][_0x58ea91(0x15f)](_0x58ea91(0x1bd)),_0x335d24=Array[_0x58ea91(0x162)](_0x18d123[_0x58ea91(0x19c)],_0x2f5170=>_0x2f5170[_0x58ea91(0x1da)])[_0x58ea91(0x173)](_0x24d94a=>this[_0x58ea91(0x184)][_0x58ea91(0x1e6)](_0x24d94a)),_0x4e845f=[];for(const _0x58fe0c of _0x335d24){const _0x289af5=this[_0x58ea91(0x184)][_0x58ea91(0x15f)](_0x58fe0c)[_0x58ea91(0x17e)][_0x58ea91(0x177)]();_0x4e845f[_0x58ea91(0x15b)](..._0x289af5[_0x58ea91(0x176)]((_0xe008c8,_0x2c99d1)=>[..._0xe008c8,..._0x2c99d1[_0x58ea91(0x1ce)]()],[]));}_0x291b38[_0x58ea91(0x19e)]=_0x4e845f;}[_0x394bf3(0x183)](){const _0x1300fd=_0x394bf3,_0x50e039=this[_0x1300fd(0x1ba)],_0x4807ce=_0x50e039[_0x1300fd(0x166)],_0x8c802=_0x11585b(_0x4807ce,_0x1300fd(0x191)),_0x3ef698=new _0x473b52([{'type':_0x1300fd(0x1c7),'model':new _0x3c3455({'withText':!0x0,'isToggleable':!0x0,'label':_0x8c802,'commandName':_0x1300fd(0x182),'role':_0x1300fd(0x1cd)})},{'type':_0x1300fd(0x14d)},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x1be)),'commandName':_0x1300fd(0x1cb),'role':_0x1300fd(0x174)})},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x1b6)),'commandName':_0x1300fd(0x1d2),'role':_0x1300fd(0x174)})},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x151)),'commandName':_0x1300fd(0x1c8),'role':_0x1300fd(0x174)})},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x18b)),'commandName':_0x1300fd(0x1e5),'role':_0x1300fd(0x174)})}]);for(const _0x942b90 of _0x3ef698)if(me(_0x942b90)){const _0x4abda8=_0x50e039[_0x1300fd(0x175)][_0x1300fd(0x15f)](_0x942b90[_0x1300fd(0x17e)][_0x1300fd(0x17f)]);_0x942b90[_0x1300fd(0x17e)][_0x1300fd(0x199)](_0x1300fd(0x16b),_0x1300fd(0x153))['to'](_0x4abda8,_0x1300fd(0x16e),_0x1300fd(0x153));}_0x50e039['ui'][_0x1300fd(0x1e1)][_0x1300fd(0x1c6)](_0x1300fd(0x182),_0x1177f5=>this[_0x1300fd(0x1df)](_0x1177f5,_0x3ef698,_0x8c802)),_0x50e039['ui'][_0x1300fd(0x1e1)][_0x1300fd(0x1c6)](_0x1300fd(0x160),_0x4ad9f5=>this[_0x1300fd(0x163)](_0x4ad9f5,_0x3ef698,_0x8c802));}[_0x394bf3(0x1df)](_0x5ae813,_0x1a9e12,_0x4e1bd0){const _0x55878a=_0x394bf3,_0x58b4bb=_0x53b22b(_0x5ae813,_0x54ffc0),_0x59fab2=this[_0x55878a(0x1ba)][_0x55878a(0x175)][_0x55878a(0x15f)](_0x55878a(0x182));_0x58b4bb[_0x55878a(0x17c)][_0x55878a(0x1e4)]({'tooltip':_0x4e1bd0,'label':_0x4e1bd0,'icon':_0x3793b7}),_0x58b4bb[_0x55878a(0x17c)][_0x55878a(0x199)](_0x55878a(0x16b))['to'](_0x59fab2,_0x55878a(0x16e)),_0x58b4bb[_0x55878a(0x17c)]['on'](_0x55878a(0x1d6),()=>{const _0x592b4e=_0x55878a;_0x59fab2[_0x592b4e(0x1d6)](),this[_0x592b4e(0x1ba)][_0x592b4e(0x1aa)][_0x592b4e(0x14f)][_0x592b4e(0x16a)]();}),_0x3abda0(_0x58b4bb,_0x1a9e12,{'role':_0x55878a(0x17d)});const _0x5857d8=[];for(const _0x21bd04 of _0x1a9e12)me(_0x21bd04)&&_0x5857d8[_0x55878a(0x15b)](this[_0x55878a(0x1ba)][_0x55878a(0x175)][_0x55878a(0x15f)](_0x21bd04[_0x55878a(0x17e)][_0x55878a(0x17f)]));const _0x490997=_0x58b4bb[_0x55878a(0x17c)];return _0x490997[_0x55878a(0x1e0)][_0x55878a(0x1ae)](_0x55878a(0x153)),_0x490997[_0x55878a(0x192)][_0x55878a(0x1ae)](_0x55878a(0x153)),_0x490997[_0x55878a(0x1e0)][_0x55878a(0x199)](_0x55878a(0x153))['to'](_0x59fab2,_0x55878a(0x153)),_0x490997[_0x55878a(0x192)][_0x55878a(0x199)](_0x55878a(0x153))[_0x55878a(0x18a)](_0x5857d8,_0x55878a(0x153),(..._0x375921)=>_0x375921[_0x55878a(0x1dc)](_0x1826c5=>_0x1826c5)),_0x58b4bb['on'](_0x55878a(0x1d6),_0x53317f=>{const _0xfa00c4=_0x55878a;this[_0xfa00c4(0x1ba)][_0xfa00c4(0x1d6)](_0x53317f[_0xfa00c4(0x1a8)][_0xfa00c4(0x17f)]),this[_0xfa00c4(0x1ba)][_0xfa00c4(0x1aa)][_0xfa00c4(0x14f)][_0xfa00c4(0x16a)]();}),_0x58b4bb;}[_0x394bf3(0x163)](_0x2b9f40,_0x22d336,_0x253e61){const _0x19611a=_0x394bf3,_0x3110ef=new _0x3361fd(_0x2b9f40),_0x1ffc8c=this[_0x19611a(0x1ba)][_0x19611a(0x175)][_0x19611a(0x15f)](_0x19611a(0x182));_0x3110ef[_0x19611a(0x17c)][_0x19611a(0x1e4)]({'label':_0x253e61,'icon':_0x3793b7});const _0x4745d0=new _0x262f62(_0x2b9f40);for(const _0x256c97 of _0x22d336){if(_0x19611a(0x14d)==_0x256c97[_0x19611a(0x159)]){_0x4745d0[_0x19611a(0x1de)][_0x19611a(0x1c6)](new _0x1ae262(_0x2b9f40));continue;}const _0x622654=new _0x5a6f2c(_0x2b9f40,_0x3110ef),_0x3ee59d=new _0x523737(_0x2b9f40),_0x2c45e8=_0x256c97[_0x19611a(0x17e)];_0x3ee59d[_0x19611a(0x199)](...Object[_0x19611a(0x1af)](_0x2c45e8))['to'](_0x2c45e8),_0x3ee59d[_0x19611a(0x1b4)](_0x19611a(0x1d6))['to'](_0x3110ef),_0x3ee59d['on'](_0x19611a(0x1d6),()=>{const _0x19bc6a=_0x19611a;this[_0x19bc6a(0x1ba)][_0x19bc6a(0x1d6)](_0x2c45e8[_0x19bc6a(0x17f)]),this[_0x19bc6a(0x1ba)][_0x19bc6a(0x1aa)][_0x19bc6a(0x14f)][_0x19bc6a(0x16a)]();}),_0x622654[_0x19611a(0x196)][_0x19611a(0x1c6)](_0x3ee59d),_0x4745d0[_0x19611a(0x1de)][_0x19611a(0x1c6)](_0x622654);}return _0x3110ef[_0x19611a(0x199)](_0x19611a(0x153))['to'](_0x1ffc8c,_0x19611a(0x153)),_0x3110ef[_0x19611a(0x17b)][_0x19611a(0x196)][_0x19611a(0x1c6)](_0x4745d0),_0x3110ef;}[_0x394bf3(0x1bc)](_0x3537ad){const _0x290a74=_0x394bf3,_0x1cd782=this[_0x290a74(0x1ba)],_0x231b9d=_0x1cd782[_0x290a74(0x171)],_0x4d70e2=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x1b9)),_0x3f5581=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x190)),_0x1ef935=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x18c)),_0x32eb90=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x5dd9c5)['me'],_0x40d553=_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x182))[_0x290a74(0x187)],_0x1f12fa=_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x182))[_0x290a74(0x189)],{CommentsListView:_0x32d63a,CommentThreadInputView:_0x429bf8}=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x1ca));let _0x5a3485,_0x167cbe,_0x20bcfc;this[_0x290a74(0x156)][_0x290a74(0x1e6)](_0x3537ad['id'])?(_0x167cbe=this[_0x290a74(0x156)][_0x290a74(0x15f)](_0x3537ad['id']),_0x5a3485=_0x167cbe[_0x290a74(0x1cf)]):(_0x5a3485=new _0x40d553(_0x1cd782[_0x290a74(0x166)],_0x3537ad,_0x32eb90,{'disableComments':this[_0x290a74(0x1d4)],'editorConfig':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x1a5)),'maxCommentsWhenCollapsed':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x16f)),'maxThreadTotalWeight':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x1a7)),'maxCommentCharsWhenCollapsed':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x1db)),'formatDateTime':_0x15bc8d(_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x166))),'CommentView':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x170))[_0x290a74(0x1e2)],'CommentsListView':_0x32d63a,'CommentThreadInputView':_0x429bf8,'SuggestionView':_0x1f12fa}),_0x5a3485[_0x290a74(0x1a0)][_0x290a74(0x1a1)]['on'](_0x290a74(0x1d6),()=>{const _0x102786=_0x290a74;_0x1cd782[_0x102786(0x1aa)][_0x102786(0x14f)][_0x102786(0x16a)]();}),_0x5a3485[_0x290a74(0x1a0)][_0x290a74(0x1bb)]['on'](_0x290a74(0x1d6),()=>{const _0x4e53ff=_0x290a74;_0x1cd782[_0x4e53ff(0x1aa)][_0x4e53ff(0x14f)][_0x4e53ff(0x16a)]();}),_0x167cbe=_0x4d70e2[_0x290a74(0x1a6)](this[_0x290a74(0x1ba)][_0x290a74(0x166)],_0x5a3485),_0x167cbe[_0x290a74(0x199)](_0x290a74(0x1c4))['to'](_0x5a3485,_0x290a74(0x1c4)),_0x167cbe[_0x290a74(0x199)](_0x290a74(0x1d8))['to'](_0x5a3485),_0x167cbe[_0x290a74(0x199)](_0x290a74(0x159))['to'](_0x5a3485,_0x290a74(0x159),_0x3440c8=>_0x290a74(0x1a9)+_0x3440c8),_0x5a3485['on'](_0x290a74(0x180),()=>{const _0x16ede4=_0x290a74;_0x20bcfc[_0x16ede4(0x15d)](_0x16ede4(0x180));}),this[_0x290a74(0x156)][_0x290a74(0x1e4)](_0x3537ad['id'],_0x167cbe));const _0x3252f5=_0x3f5581[_0x290a74(0x15c)](_0x3537ad[_0x290a74(0x19f)],_0x5a3485),_0x1bdea4=new _0x32bda2(_0x1cd782,_0x3537ad,_0x5a3485,_0x3252f5),_0x4b0d77=_0x3537ad[_0x290a74(0x177)]()[_0x290a74(0x173)](_0x1f8d12=>_0x1f8d12[_0x290a74(0x186)]);_0x5a3485[_0x290a74(0x19b)]=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x1bd))[_0x290a74(0x167)][_0x290a74(0x1b8)](_0x4b0d77),this[_0x290a74(0x172)][_0x290a74(0x1e4)](_0x3537ad,_0x1bdea4),this[_0x290a74(0x184)][_0x290a74(0x1e4)](_0x5a3485,_0x1bdea4),_0x20bcfc=_0x4d70e2[_0x290a74(0x14e)]({'view':_0x167cbe,'target':()=>{const _0x90e676=_0x290a74,_0x539f3b=[],_0x51b556=_0x3537ad[_0x90e676(0x177)]()[_0x90e676(0x173)](_0x1ff178=>_0x1ff178[_0x90e676(0x186)]);for(const _0x158cea of _0x51b556)_0x539f3b[_0x90e676(0x15b)](..._0x158cea[_0x90e676(0x19a)]());return _0x4ca2bd(_0x1cd782[_0x90e676(0x1aa)],_0x539f3b);},'type':()=>_0x290a74(0x1a9)+_0x1bdea4[_0x290a74(0x14f)][_0x290a74(0x159)]}),_0x3f5581[_0x290a74(0x1c1)](_0x5a3485,_0x20bcfc),_0x4d70e2[_0x290a74(0x1c6)](_0x20bcfc),_0x1ef935[_0x290a74(0x1b1)](_0x20bcfc);}[_0x394bf3(0x168)](_0x2177de){const _0x3b55a7=_0x394bf3,_0x2ce610=this[_0x3b55a7(0x1ba)][_0x3b55a7(0x152)][_0x3b55a7(0x15f)](_0x3b55a7(0x190)),_0x931c48=this[_0x3b55a7(0x1ba)][_0x3b55a7(0x152)][_0x3b55a7(0x15f)](_0x3b55a7(0x1b9)),_0x59fd53=this[_0x3b55a7(0x172)][_0x3b55a7(0x15f)](_0x2177de),_0x3c696a=_0x59fd53[_0x3b55a7(0x14f)],_0x6fc937=_0x931c48[_0x3b55a7(0x1c5)](_0x3c696a);_0x2ce610[_0x3b55a7(0x1d7)](_0x3c696a),_0x6fc937&&_0x931c48[_0x3b55a7(0x154)](_0x6fc937),this[_0x3b55a7(0x172)][_0x3b55a7(0x15a)](_0x2177de),this[_0x3b55a7(0x184)][_0x3b55a7(0x15a)](_0x3c696a),_0x59fd53[_0x3b55a7(0x164)]();}[_0x394bf3(0x19d)](_0xc5dc16){const _0x17b5e9=_0x394bf3;if(!_0xc5dc16[_0x17b5e9(0x186)]||!this[_0x17b5e9(0x172)][_0x17b5e9(0x1e6)](_0xc5dc16))return;const _0x47a380=this[_0x17b5e9(0x1ba)][_0x17b5e9(0x152)][_0x17b5e9(0x15f)](_0x17b5e9(0x1bd)),_0x5d9b5b=this[_0x17b5e9(0x172)][_0x17b5e9(0x15f)](_0xc5dc16),_0x12f298=_0xc5dc16[_0x17b5e9(0x177)]();_0x5d9b5b[_0x17b5e9(0x14f)][_0x17b5e9(0x19b)]=_0x47a380[_0x17b5e9(0x167)][_0x17b5e9(0x1b8)](_0x12f298);}[_0x394bf3(0x164)](){const _0x53d6b6=_0x394bf3;for(const _0x15ff86 of this[_0x53d6b6(0x172)][_0x53d6b6(0x1af)]())this[_0x53d6b6(0x168)](_0x15ff86);for(const _0x43424e of this[_0x53d6b6(0x156)][_0x53d6b6(0x165)]())_0x43424e[_0x53d6b6(0x1cf)][_0x53d6b6(0x164)]();super[_0x53d6b6(0x164)]();}}function me(_0x1da844){const _0xeb0f12=_0x394bf3;return _0xeb0f12(0x17e)in _0x1da844;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1b968e=_0x1268;(function(_0x4f3811,_0xdb5889){const _0x21179b=_0x1268,_0x275f15=_0x4f3811();while(!![]){try{const _0x22b649=-parseInt(_0x21179b(0x178))/0x1*(-parseInt(_0x21179b(0x17c))/0x2)+-parseInt(_0x21179b(0x16e))/0x3*(parseInt(_0x21179b(0x177))/0x4)+-parseInt(_0x21179b(0x155))/0x5+parseInt(_0x21179b(0x167))/0x6+parseInt(_0x21179b(0x170))/0x7+-parseInt(_0x21179b(0x176))/0x8*(parseInt(_0x21179b(0x16b))/0x9)+parseInt(_0x21179b(0x179))/0xa*(parseInt(_0x21179b(0x156))/0xb);if(_0x22b649===_0xdb5889)break;else _0x275f15['push'](_0x275f15['shift']());}catch(_0x372225){_0x275f15['push'](_0x275f15['shift']());}}}(_0xb3c3,0x8a06a));import{ObservableMixin as _0x35df97}from'ckeditor5/src/utils.js';import{getTranslation as _0x5dcb7f}from'../utils/common-translations.js';function _0x1268(_0x5c1e67,_0xa6ed94){const _0xb3c390=_0xb3c3();return _0x1268=function(_0x126809,_0x2719eb){_0x126809=_0x126809-0x155;let _0xd1703e=_0xb3c390[_0x126809];return _0xd1703e;},_0x1268(_0x5c1e67,_0xa6ed94);}function _0xb3c3(){const _0x4e8257=['execute','acceptSuggestion','2874279mOZKfO','change:isDirty','7033194VIrtDm','destroy','getRanges','_pendingAction','plugins','canAccept','40eWKpqx','4cBrNqJ','373209sznbsK','5240150xTTkkg','bind','PendingActions','2miQKjx','isDirty','add','_setPendingAction','2684000QXyeaF','11xGYOPJ','discardSuggestion','_removePendingAction','unbind','PENDING_ACTION_SUGGESTION','canEditAt','remove','commentThreadController','model','commands','canDiscard','_discardCommand','listenTo','view','_editor','stopListening','isEnabled','977916HuGecE','get','locale','_acceptCommand','8469PeklpI'];_0xb3c3=function(){return _0x4e8257;};return _0xb3c3();}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35df97(){constructor(_0x3fb900,_0x2e08ee,_0x5a76d8,_0x5d0596){const _0x21716b=_0x1268;super(),this[_0x21716b(0x15e)]=_0x2e08ee,this[_0x21716b(0x163)]=_0x5a76d8,this[_0x21716b(0x15d)]=_0x5d0596,this[_0x21716b(0x164)]=_0x3fb900,this[_0x21716b(0x16a)]=_0x3fb900[_0x21716b(0x15f)][_0x21716b(0x168)](_0x21716b(0x16d)),this[_0x21716b(0x161)]=_0x3fb900[_0x21716b(0x15f)][_0x21716b(0x168)](_0x21716b(0x157)),this[_0x21716b(0x163)][_0x21716b(0x17a)](_0x21716b(0x166))['to'](this[_0x21716b(0x16a)],this[_0x21716b(0x161)],(_0x35e622,_0x22d37f)=>_0x35e622||_0x22d37f),this[_0x21716b(0x163)][_0x21716b(0x17a)](_0x21716b(0x175))['to'](this[_0x21716b(0x16a)],_0x21716b(0x166),_0x230b14=>_0x230b14&&this[_0x21716b(0x164)][_0x21716b(0x15e)][_0x21716b(0x15b)](_0x2e08ee[_0x21716b(0x172)]())),this[_0x21716b(0x163)][_0x21716b(0x17a)](_0x21716b(0x160))['to'](this[_0x21716b(0x161)],_0x21716b(0x166),_0x47515b=>_0x47515b&&this[_0x21716b(0x164)][_0x21716b(0x15e)][_0x21716b(0x15b)](_0x2e08ee[_0x21716b(0x172)]())),this[_0x21716b(0x173)]=null,_0x5a76d8[_0x21716b(0x17d)]&&this[_0x21716b(0x17f)](),this[_0x21716b(0x162)](_0x5a76d8,_0x21716b(0x16d),()=>this[_0x21716b(0x16d)]()),this[_0x21716b(0x162)](_0x5a76d8,_0x21716b(0x157),()=>this[_0x21716b(0x157)]()),this[_0x21716b(0x162)](_0x5a76d8,_0x21716b(0x16f),()=>{const _0x5b5ec=_0x21716b;_0x5a76d8[_0x5b5ec(0x17d)]?this[_0x5b5ec(0x17f)]():this[_0x5b5ec(0x158)]();});}[_0x1b968e(0x16d)](){const _0x26dfaf=_0x1b968e;this[_0x26dfaf(0x16a)][_0x26dfaf(0x16c)](this[_0x26dfaf(0x15e)]['id']);}[_0x1b968e(0x157)](){const _0x161d95=_0x1b968e;this[_0x161d95(0x161)][_0x161d95(0x16c)](this[_0x161d95(0x15e)]['id']);}[_0x1b968e(0x171)](){const _0x1bd99d=_0x1b968e;this[_0x1bd99d(0x163)][_0x1bd99d(0x159)](_0x1bd99d(0x166)),this[_0x1bd99d(0x163)][_0x1bd99d(0x159)](_0x1bd99d(0x175)),this[_0x1bd99d(0x163)][_0x1bd99d(0x159)](_0x1bd99d(0x160)),this[_0x1bd99d(0x165)](),this[_0x1bd99d(0x15d)][_0x1bd99d(0x171)](),this[_0x1bd99d(0x173)]&&this[_0x1bd99d(0x158)]();}[_0x1b968e(0x17f)](){const _0x188c28=_0x1b968e,_0x2f62f3=_0x5dcb7f(this[_0x188c28(0x164)][_0x188c28(0x169)],_0x188c28(0x15a));this[_0x188c28(0x173)]=this[_0x188c28(0x164)][_0x188c28(0x174)][_0x188c28(0x168)](_0x188c28(0x17b))[_0x188c28(0x17e)](_0x2f62f3);}[_0x1b968e(0x158)](){const _0x3070c5=_0x1b968e;null!==this[_0x3070c5(0x173)]&&this[_0x3070c5(0x164)][_0x3070c5(0x174)][_0x3070c5(0x168)](_0x3070c5(0x17b))[_0x3070c5(0x15c)](this[_0x3070c5(0x173)]),this[_0x3070c5(0x173)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24ce86=_0x1456;function _0xf1ee(){const _0x3d14b5=['descriptionParts','canAccept','6991908HaDVkB','textContent','delegate','content','27zbJAEC','formatDateTime','join','commentInputView','set','removeComment','addComment','focusables','target','CommentView','element','body','canDiscard','_createCommentViews','setData','271716NoVKHE','_createCommentThreadInputView','_config','destroy','fire','commentThreadInputView','SUGGESTION_THREAD_DESCRIPTION','isReadOnly','_model','locale','editor','isDirty','commentThread','shift+tab','name','2423712rpJsfV','length','text/html','editorConfig','updateComment','1461GSRcXy','submit','focusCycler','3967210IUoAod','1125756Azrqni','focusTracker','_localUser','cancel','commentsListView','authoredAt','SUGGESTION_THREAD_ARIA_LABEL','disableComments','tab','assign','value','disabledSubmit','ariaLabel','showInput','render','parseFromString','author','isEnabled','hasDirtyComment','map','345416NUpwfJ','keystrokes','isActive','bind','ariaDescriptionView','focus','8468wyNkIj'];_0xf1ee=function(){return _0x3d14b5;};return _0xf1ee();}(function(_0x149251,_0x46e4ef){const _0xfdf547=_0x1456,_0x264ad2=_0x149251();while(!![]){try{const _0x4fd214=parseInt(_0xfdf547(0xef))/0x1+-parseInt(_0xfdf547(0xb6))/0x2+-parseInt(_0xfdf547(0xbb))/0x3*(-parseInt(_0xfdf547(0xd9))/0x4)+-parseInt(_0xfdf547(0xbe))/0x5+parseInt(_0xfdf547(0xbf))/0x6+parseInt(_0xfdf547(0xdc))/0x7+parseInt(_0xfdf547(0xd3))/0x8*(parseInt(_0xfdf547(0xe0))/0x9);if(_0x4fd214===_0x46e4ef)break;else _0x264ad2['push'](_0x264ad2['shift']());}catch(_0x227590){_0x264ad2['push'](_0x264ad2['shift']());}}}(_0xf1ee,0x95c16));import{FocusCycler as _0x497aaa,View as _0x1ae118,ViewCollection as _0x147d1b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3bc6ad,KeystrokeHandler as _0x49c758}from'ckeditor5/src/utils.js';function _0x1456(_0x2750ef,_0x1f2d05){const _0xf1ee8e=_0xf1ee();return _0x1456=function(_0x145605,_0x5d867c){_0x145605=_0x145605-0xb3;let _0x239ce6=_0xf1ee8e[_0x145605];return _0x239ce6;},_0x1456(_0x2750ef,_0x1f2d05);}import{AriaDescriptionView as _0x2d5fd6,setupThreadKeyboardNavigation as _0x37b8fe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x246fb6}from'../../utils/common-translations.js';import{renderDescription as _0x4d4af7}from'../../utils/utils.js';export default class us extends _0x1ae118{constructor(_0x302a72,_0x887812,_0x358183,_0xd2da9c){const _0x550bfc=_0x1456;super(_0x302a72),this[_0x550bfc(0xc3)]=null,this[_0x550bfc(0xf4)]=null,this[_0x550bfc(0xd7)]=new _0x2d5fd6(_0x302a72,_0x246fb6(_0x302a72,_0x550bfc(0xf5))),this[_0x550bfc(0xe4)](_0x550bfc(0xd5),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xc4),_0x887812[_0x550bfc(0xc4)]),this[_0x550bfc(0xd6)](_0x550bfc(0xc4))['to'](_0x887812),this[_0x550bfc(0xe4)](_0x550bfc(0xda),[]),this[_0x550bfc(0xe4)](_0x550bfc(0xfa),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xd0),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xdb),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xec),!0x1),this[_0x550bfc(0xd6)](_0x550bfc(0xcb))['to'](this,_0x550bfc(0xb7),_0x887812,_0x550bfc(0xc4),this,_0x550bfc(0xda),(_0x44dc1c,_0x474aa1,_0x1a4bc4)=>{const _0x2a45c2=_0x550bfc,_0x1eda38=_0x1a4bc4[_0x2a45c2(0xd2)](_0x3771ca=>_0x4d4af7(_0x3771ca[_0x2a45c2(0xdf)]))[_0x2a45c2(0xe2)]('.\x20')+'.';return _0x246fb6(this[_0x2a45c2(0xf8)],_0x2a45c2(0xc5),[_0x44dc1c-0x1,_0x887812[_0x2a45c2(0xcf)][_0x2a45c2(0xb5)],_0x474aa1?_0xd2da9c[_0x2a45c2(0xe1)](_0x474aa1):'',new DOMParser()[_0x2a45c2(0xce)](_0x1eda38,_0x2a45c2(0xb8))[_0x2a45c2(0xeb)][_0x2a45c2(0xdd)]]);}),this[_0x550bfc(0xe7)]=new _0x147d1b(),this[_0x550bfc(0xc0)]=new _0x3bc6ad(),this[_0x550bfc(0xd4)]=new _0x49c758(),this[_0x550bfc(0xbd)]=new _0x497aaa({'focusables':this[_0x550bfc(0xe7)],'focusTracker':this[_0x550bfc(0xc0)],'keystrokeHandler':this[_0x550bfc(0xd4)],'keystrokeHandlerOptions':{'filter':_0x34f987=>_0x34f987[_0x550bfc(0xe8)]!==this[_0x550bfc(0xea)]},'actions':{'focusPrevious':_0x550bfc(0xb4),'focusNext':_0x550bfc(0xc7)}}),this[_0x550bfc(0xf7)]=_0x887812,this[_0x550bfc(0xc1)]=_0x358183,this[_0x550bfc(0xf1)]=_0xd2da9c,_0xd2da9c[_0x550bfc(0xc6)]?this[_0x550bfc(0xe4)](_0x550bfc(0xb7),0x1):this[_0x550bfc(0xed)]();}[_0x24ce86(0xcd)](){const _0x30d412=_0x24ce86;super[_0x30d412(0xcd)](),_0x37b8fe(this,this[_0x30d412(0xe7)]);}[_0x24ce86(0xd8)](){const _0x3f4570=_0x24ce86;this[_0x3f4570(0xea)][_0x3f4570(0xd8)]();}[_0x24ce86(0xf2)](){const _0x547139=_0x24ce86;this[_0x547139(0xc3)]&&this[_0x547139(0xc3)][_0x547139(0xf2)](),this[_0x547139(0xf4)]&&this[_0x547139(0xf4)][_0x547139(0xf2)](),super[_0x547139(0xf2)]();}[_0x24ce86(0xed)](){const _0x54e53b=_0x24ce86,{CommentsListView:_0x8b4f94}=this[_0x54e53b(0xf1)];this[_0x54e53b(0xc3)]=new _0x8b4f94(this[_0x54e53b(0xf8)],this[_0x54e53b(0xf7)][_0x54e53b(0xb3)],Object[_0x54e53b(0xc8)]({'CommentView':this[_0x54e53b(0xf1)][_0x54e53b(0xe9)]},this[_0x54e53b(0xf1)])),this[_0x54e53b(0xc3)][_0x54e53b(0xde)](_0x54e53b(0xe5))['to'](this),this[_0x54e53b(0xc3)][_0x54e53b(0xde)](_0x54e53b(0xba))['to'](this),this[_0x54e53b(0xc3)][_0x54e53b(0xd6)](_0x54e53b(0xd5))['to'](this),this[_0x54e53b(0xe4)](_0x54e53b(0xb7),this[_0x54e53b(0xc3)][_0x54e53b(0xb7)]+0x1),this[_0x54e53b(0xd6)](_0x54e53b(0xb7))['to'](this[_0x54e53b(0xc3)],_0x54e53b(0xb7),_0x51aa2a=>_0x51aa2a+0x1),this[_0x54e53b(0xf4)]=this[_0x54e53b(0xf0)](),this['on'](_0x54e53b(0xe5),()=>this[_0x54e53b(0xd8)]()),this[_0x54e53b(0xd6)](_0x54e53b(0xfa))['to'](this[_0x54e53b(0xc3)],_0x54e53b(0xd1),this[_0x54e53b(0xf4)][_0x54e53b(0xe3)],_0x54e53b(0xc9),(_0x1b0f2d,_0x168b69)=>_0x1b0f2d||!!_0x168b69);}[_0x24ce86(0xf0)](){const _0x16315f=_0x24ce86,{CommentThreadInputView:_0x4b415e}=this[_0x16315f(0xf1)],_0x486ed1=new _0x4b415e(this[_0x16315f(0xf8)],this[_0x16315f(0xc1)],this[_0x16315f(0xf1)][_0x16315f(0xb9)]),_0x5ee240=_0x486ed1[_0x16315f(0xe3)];return _0x486ed1[_0x16315f(0xd6)](_0x16315f(0xcc))['to'](this,_0x16315f(0xd5),this[_0x16315f(0xf7)][_0x16315f(0xb3)],_0x16315f(0xf6),_0x5ee240,_0x16315f(0xc9),(_0x467c4e,_0x15afb0,_0x8e791f)=>!!_0x8e791f||_0x467c4e&&!_0x15afb0),_0x5ee240['on'](_0x16315f(0xbc),(_0x36334a,_0x474bb1)=>{const _0x5364e7=_0x16315f;this[_0x5364e7(0xf3)](_0x5364e7(0xe6),_0x474bb1),_0x5ee240[_0x5364e7(0xf9)][_0x5364e7(0xee)]('');}),_0x5ee240['on'](_0x16315f(0xc2),()=>this[_0x16315f(0xd8)]()),_0x5ee240[_0x16315f(0xd6)](_0x16315f(0xca))['to'](this[_0x16315f(0xf7)][_0x16315f(0xb3)],_0x16315f(0xf6)),_0x486ed1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5390f0=_0x47b1;(function(_0x20c47a,_0x2ccae0){const _0x1eff6f=_0x47b1,_0x423a6b=_0x20c47a();while(!![]){try{const _0x19fa3b=-parseInt(_0x1eff6f(0xb4))/0x1+parseInt(_0x1eff6f(0xd4))/0x2*(-parseInt(_0x1eff6f(0xc8))/0x3)+parseInt(_0x1eff6f(0xaf))/0x4*(-parseInt(_0x1eff6f(0xdc))/0x5)+-parseInt(_0x1eff6f(0xcd))/0x6*(parseInt(_0x1eff6f(0xa9))/0x7)+-parseInt(_0x1eff6f(0xb8))/0x8+-parseInt(_0x1eff6f(0xb0))/0x9+parseInt(_0x1eff6f(0xb2))/0xa*(parseInt(_0x1eff6f(0xd5))/0xb);if(_0x19fa3b===_0x2ccae0)break;else _0x423a6b['push'](_0x423a6b['shift']());}catch(_0x47f72b){_0x423a6b['push'](_0x423a6b['shift']());}}}(_0x2c54,0xc7ab5));import{default as _0xdcabe6}from'./basesuggestionthreadview.js';function _0x47b1(_0x445603,_0x26d3a0){const _0x2c5481=_0x2c54();return _0x47b1=function(_0x47b176,_0x3b3d84){_0x47b176=_0x47b176-0xa3;let _0x2a57a3=_0x2c5481[_0x47b176];return _0x2a57a3;},_0x47b1(_0x445603,_0x26d3a0);}import{trimHtml as _0x198a3d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c54(){const _0x26e766=['editorReady','ck-suggestion-wrapper','26688cdpasJ','33vyWcku','<p>','ariaDescriptionView','type','isActive','isEnabled','canDiscard','6819055fmMKCO','SuggestionView','getTemplate','descriptionParts','focusables','acceptSuggestion','_config','123347kzcbpA','acceptButton','add','commentsListView','render','author','4NZtJCy','7969347IOhRJB','_model','17625070NzqxQi','editorDestroyed','795020vjEzXD','ck-suggestion-','disableComments','ck-suggestion--disabled-comments','7845864Qbghxs','</p>','div','discardButton','listitem','ariaLabel','bindTemplate','canAccept','content','push','ck-rounded-corners','setTemplate','formatDateTime','delegate','discardSuggestion','suggestionView','96BFKcVw','color','description','commentThread','ck-suggestion-wrapper--active','6kaWAGx','_descriptionElement','bind','commentThreadInputView','set'];_0x2c54=function(){return _0x26e766;};return _0x2c54();}import{renderDescription as _0xdb8316}from'../../utils/utils.js';export default class re extends _0xdcabe6{constructor(_0x3f813c,_0x156fa6,_0x5addbf,_0x44f186){const _0x3aa12c=_0x47b1;super(_0x3f813c,_0x156fa6,_0x5addbf,_0x44f186),this[_0x3aa12c(0xd1)](_0x3aa12c(0xd8),''),this[_0x3aa12c(0xcf)](_0x3aa12c(0xd8))['to'](this,_0x3aa12c(0xa5),_0x5b5ac2=>_0x5b5ac2&&_0x5b5ac2[0x0]?_0x5b5ac2[0x0][_0x3aa12c(0xd8)]:''),this[_0x3aa12c(0xcf)](_0x3aa12c(0xca))['to'](this,_0x3aa12c(0xa5),this,_0x3aa12c(0xd9),(_0x25e43c,_0x1d2af8)=>{const _0x58aa66=_0x3aa12c;let _0x528147='';for(const _0x5746b9 of _0x25e43c)_0x528147+=_0x58aa66(0xd6)+_0xdb8316(_0x5746b9[_0x58aa66(0xc0)],_0x5746b9[_0x58aa66(0xc9)])+_0x58aa66(0xb9);return _0x1d2af8?_0x528147:_0x198a3d(_0x528147,{'limit':0x8c});}),this[_0x3aa12c(0xce)]=null,this[_0x3aa12c(0xc7)]=new _0x44f186[(_0x3aa12c(0xa3))](_0x3f813c,_0x156fa6,{'formatDateTime':_0x44f186[_0x3aa12c(0xc4)]}),this[_0x3aa12c(0xc7)][_0x3aa12c(0xcf)](_0x3aa12c(0xca))['to'](this),this[_0x3aa12c(0xc7)][_0x3aa12c(0xc5)](_0x3aa12c(0xa7),_0x3aa12c(0xc6))['to'](this),this[_0x3aa12c(0xc7)][_0x3aa12c(0xaa)][_0x3aa12c(0xcf)](_0x3aa12c(0xda))['to'](this,_0x3aa12c(0xbf)),this[_0x3aa12c(0xc7)][_0x3aa12c(0xbb)][_0x3aa12c(0xcf)](_0x3aa12c(0xda))['to'](this,_0x3aa12c(0xdb)),this[_0x3aa12c(0xa6)][_0x3aa12c(0xab)](this[_0x3aa12c(0xc7)]),this[_0x3aa12c(0xac)]&&this[_0x3aa12c(0xa6)][_0x3aa12c(0xab)](this[_0x3aa12c(0xac)]),this[_0x3aa12c(0xd0)]&&this[_0x3aa12c(0xa6)][_0x3aa12c(0xab)](this[_0x3aa12c(0xd0)]),this[_0x3aa12c(0xc3)](this[_0x3aa12c(0xa4)]());}[_0x5390f0(0xa4)](){const _0x19b416=_0x5390f0,_0x385628=this[_0x19b416(0xbe)],_0x4c60b9=[this[_0x19b416(0xc7)]];return this[_0x19b416(0xac)]&&_0x4c60b9[_0x19b416(0xc1)](this[_0x19b416(0xac)]),this[_0x19b416(0xd0)]&&_0x4c60b9[_0x19b416(0xc1)](this[_0x19b416(0xd0)]),_0x4c60b9[_0x19b416(0xc1)](this[_0x19b416(0xd7)]),{'tag':_0x19b416(0xba),'attributes':{'class':['ck',_0x19b416(0xc2),_0x19b416(0xd3),_0x385628['if'](_0x19b416(0xd9),_0x19b416(0xcc)),_0x385628['to'](_0x19b416(0xd8),_0x292b3b=>_0x19b416(0xb5)+_0x292b3b),this[_0x19b416(0xa8)][_0x19b416(0xb6)]&&_0x19b416(0xb7)],'data-suggestion-id':this[_0x19b416(0xb1)]['id'],'data-thread-id':this[_0x19b416(0xb1)][_0x19b416(0xcb)]['id'],'data-author-id':this[_0x19b416(0xb1)][_0x19b416(0xae)]['id'],'tabindex':0x0,'role':_0x19b416(0xbc),'aria-label':_0x385628['to'](_0x19b416(0xbd)),'aria-describedby':this[_0x19b416(0xd7)]['id']},'children':_0x4c60b9};}[_0x5390f0(0xad)](){const _0x1a78e3=_0x5390f0;super[_0x1a78e3(0xad)](),this[_0x1a78e3(0xac)]&&(this[_0x1a78e3(0xac)][_0x1a78e3(0xc5)](_0x1a78e3(0xd2))['to'](this),this[_0x1a78e3(0xac)][_0x1a78e3(0xc5)](_0x1a78e3(0xb3))['to'](this)),this[_0x1a78e3(0xd0)]&&(this[_0x1a78e3(0xd0)][_0x1a78e3(0xc5)](_0x1a78e3(0xd2))['to'](this),this[_0x1a78e3(0xd0)][_0x1a78e3(0xc5)](_0x1a78e3(0xb3))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4dd5(_0x60aed4,_0x119f7c){const _0x4c6947=_0x4c69();return _0x4dd5=function(_0x4dd5d0,_0x220422){_0x4dd5d0=_0x4dd5d0-0xc7;let _0x2ecbba=_0x4c6947[_0x4dd5d0];return _0x2ecbba;},_0x4dd5(_0x60aed4,_0x119f7c);}function _0x4c69(){const _0x578eb7=['discardButton','userView','9710770jNXSYz','source','locale','listenTo','424XoYyBd','Accept\x20suggestion','@external','186925rWfByE','element','discardSuggestion','keystrokes','ck-comment__external','render','name','EXTERNAL_SUGGESTION','ck-annotation__content-wrapper','124qyYVEL','esc','span','ck-annotation__info-time','formatDateTime','ck-suggestion--discard','22780395aJkdDm','acceptButton','getExternalSuggestionNote','acceptSuggestion','24286SlQaEA','ck-suggestion__main','_setupKeyboardNavigation','focusables','EXTERNAL_IMPORT_WORD_AVATAR','div','creator','focus','getTemplate','ck-suggestion--accept','425841vyboQH','ck-annotation__actions','authoredAt','change:description','shift+tab','EXTERNAL_AVATAR','_config','getUserViewNotificationText','tab','importWord','attributes','_createButton','Discard\x20suggestion','check','ck-annotation__info','setTemplate','focusTracker','extendTemplate','innerHTML','ck-annotation__main','_model','bindTemplate','focusCycler','bind','author','ck-annotation','7823280AlJAqM','9IdbFdo','ck-annotation__user','138pXnWvo','.ck-annotation__content-wrapper','execute','isExternal','cancel','159747ZjTEsL','push','enter','fire','ck-suggestion__user','target','querySelector','set','ck-suggestion__actions','ck-suggestion__info-name','ck-comment__info-time','focusFirst','ck-suggestion__info','ck-annotation__info-name','presentation','description','EXTERNAL_IMPORT_WORD_SUGGESTION','add','time','ck-suggestion'];_0x4c69=function(){return _0x578eb7;};return _0x4c69();}const _0x4a06da=_0x4dd5;(function(_0x5d688d,_0x497a14){const _0x16abcc=_0x4dd5,_0x32bbde=_0x5d688d();while(!![]){try{const _0x46ece0=-parseInt(_0x16abcc(0x11d))/0x1+parseInt(_0x16abcc(0x113))/0x2*(-parseInt(_0x16abcc(0xde))/0x3)+parseInt(_0x16abcc(0x109))/0x4*(parseInt(_0x16abcc(0x100))/0x5)+-parseInt(_0x16abcc(0xdb))/0x6+parseInt(_0x16abcc(0xe3))/0x7*(-parseInt(_0x16abcc(0xfd))/0x8)+parseInt(_0x16abcc(0xdc))/0x9*(parseInt(_0x16abcc(0xf9))/0xa)+parseInt(_0x16abcc(0x10f))/0xb;if(_0x46ece0===_0x497a14)break;else _0x32bbde['push'](_0x32bbde['shift']());}catch(_0x1f27a5){_0x32bbde['push'](_0x32bbde['shift']());}}}(_0x4c69,0xabaa9));import{FocusTracker as _0x3f8713,KeystrokeHandler as _0x356a17}from'ckeditor5/src/utils.js';import{View as _0x121379,ViewCollection as _0x30bb44,FocusCycler as _0x3ec16e}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x57b161,UserView as _0x5b2c96}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0xb6ef16}from'ckeditor5/src/core.js';import{getTranslation as _0x5233f1}from'../../utils/common-translations.js';export default class ce extends _0x121379{constructor(_0x19594b,_0x345478,_0x3be89e){const _0x4e7bc8=_0x4dd5;super(_0x19594b),this[_0x4e7bc8(0xd5)]=_0x345478,this[_0x4e7bc8(0xc7)]=_0x3be89e,this[_0x4e7bc8(0xea)](_0x4e7bc8(0xf2),''),this[_0x4e7bc8(0xd8)](_0x4e7bc8(0x11f))['to'](_0x345478),this[_0x4e7bc8(0x110)]=this[_0x4e7bc8(0xcc)](_0x5233f1(_0x19594b,_0x4e7bc8(0xfe)),_0xb6ef16[_0x4e7bc8(0xce)],_0x4e7bc8(0x11c),_0x4e7bc8(0x112),'sw'),this[_0x4e7bc8(0xf7)]=this[_0x4e7bc8(0xcc)](_0x5233f1(_0x19594b,_0x4e7bc8(0xcd)),_0xb6ef16[_0x4e7bc8(0xe2)],_0x4e7bc8(0x10e),_0x4e7bc8(0x102),'sw'),this[_0x4e7bc8(0xf8)]=new _0x5b2c96(_0x19594b,_0x345478[_0x4e7bc8(0xd9)],this[_0x4e7bc8(0xc8)]()),this[_0x4e7bc8(0xf8)][_0x4e7bc8(0xd2)]({'attributes':{'class':[_0x4e7bc8(0xe7),_0x4e7bc8(0xdd)],'aria-hidden':!0x0}}),this[_0x4e7bc8(0x116)]=new _0x30bb44([this[_0x4e7bc8(0x110)],this[_0x4e7bc8(0xf7)]]),this[_0x4e7bc8(0xd1)]=new _0x3f8713(),this[_0x4e7bc8(0x103)]=new _0x356a17(),this[_0x4e7bc8(0xd7)]=new _0x3ec16e({'focusables':this[_0x4e7bc8(0x116)],'focusTracker':this[_0x4e7bc8(0xd1)],'keystrokeHandler':this[_0x4e7bc8(0x103)],'actions':{'focusPrevious':_0x4e7bc8(0x121),'focusNext':_0x4e7bc8(0xc9)},'keystrokeHandlerOptions':{'filter':_0x36c7a0=>_0x36c7a0[_0x4e7bc8(0xe8)]!==this[_0x4e7bc8(0x101)]}}),this[_0x4e7bc8(0xd0)](this[_0x4e7bc8(0x11b)]());}[_0x4a06da(0x105)](){const _0x3b48d7=_0x4a06da;super[_0x3b48d7(0x105)]();const _0x5c1533=this[_0x3b48d7(0x101)][_0x3b48d7(0xe9)](_0x3b48d7(0xdf));_0x5c1533[_0x3b48d7(0xd3)]=this[_0x3b48d7(0xf2)],this['on'](_0x3b48d7(0x120),(_0x566f8d,_0x796f7f,_0x535e4e)=>{const _0x223c11=_0x3b48d7;_0x5c1533[_0x223c11(0xd3)]=_0x535e4e;}),this[_0x3b48d7(0x115)]();}[_0x4a06da(0x11b)](){const _0x5f46db=_0x4a06da,_0x55b818=this[_0x5f46db(0xd6)],_0x16f266=[{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0xef),_0x5f46db(0xcf)]},'children':[{'tag':_0x5f46db(0x10b),'children':[{'text':this[_0x5f46db(0xf8)][_0x5f46db(0x106)]}],'attributes':{'class':[_0x5f46db(0xec),_0x5f46db(0xf0)]}},{'tag':_0x5f46db(0xf5),'attributes':{'datetime':_0x55b818['to'](_0x5f46db(0x11f)),'class':[_0x5f46db(0xed),_0x5f46db(0x10c)]},'children':[{'text':_0x55b818['to'](_0x5f46db(0x11f),_0x316e92=>this[_0x5f46db(0xc7)][_0x5f46db(0x10d)](_0x316e92))}]}]},{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0xeb),_0x5f46db(0x11e)]},'children':[this[_0x5f46db(0x110)],this[_0x5f46db(0xf7)]]},{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0x108)]}}];return this[_0x5f46db(0xd5)][_0x5f46db(0xe1)]&&_0x16f266[_0x5f46db(0xe4)]({'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0x104)]},'children':[{'text':this[_0x5f46db(0x111)]()}]}),{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0xf6),_0x5f46db(0xda)],'tabindex':-0x1},'children':[this[_0x5f46db(0xf8)],{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0x114),_0x5f46db(0xd4)],'role':_0x5f46db(0xf1)},'children':_0x16f266}]};}[_0x4a06da(0x11a)](){const _0x387e45=_0x4a06da;this[_0x387e45(0x101)][_0x387e45(0x11a)]();}[_0x4a06da(0xc8)](){const _0xff1a74=_0x4a06da;return this[_0xff1a74(0xd5)][_0xff1a74(0xe1)]?_0xff1a74(0xca)===this[_0xff1a74(0xd5)][_0xff1a74(0xcb)][_0xff1a74(0xff)][_0xff1a74(0xfa)]?_0x5233f1(this[_0xff1a74(0xfb)],_0xff1a74(0x117),this[_0xff1a74(0xd5)][_0xff1a74(0x119)][_0xff1a74(0x106)]):_0x5233f1(this[_0xff1a74(0xfb)],_0xff1a74(0x122),this[_0xff1a74(0xd5)][_0xff1a74(0x119)][_0xff1a74(0x106)]):null;}[_0x4a06da(0x111)](){const _0x2f4e88=_0x4a06da;return _0x2f4e88(0xca)===this[_0x2f4e88(0xd5)][_0x2f4e88(0xcb)][_0x2f4e88(0xff)][_0x2f4e88(0xfa)]?_0x5233f1(this[_0x2f4e88(0xfb)],_0x2f4e88(0xf3)):_0x5233f1(this[_0x2f4e88(0xfb)],_0x2f4e88(0x107));}[_0x4a06da(0xcc)](_0x2e9c8b,_0x2712da,_0x443abd,_0x478f14,_0x250f52){const _0x5d92c7=_0x4a06da,_0x5217ec=new _0x57b161(this[_0x5d92c7(0xfb)]);return _0x5217ec[_0x5d92c7(0xea)]({'label':_0x2e9c8b,'icon':_0x2712da,'tooltip':!0x0,'tooltipPosition':_0x250f52}),_0x5217ec[_0x5d92c7(0xd2)]({'attributes':{'class':_0x443abd}}),_0x5217ec['on'](_0x5d92c7(0xe0),()=>{const _0x3304c1=_0x5d92c7;this[_0x3304c1(0xe6)](_0x478f14,this[_0x3304c1(0xd5)]['id']);}),_0x5217ec;}[_0x4a06da(0x115)](){const _0x1f1d7c=_0x4a06da,_0x221f94=this[_0x1f1d7c(0x101)];this[_0x1f1d7c(0x103)][_0x1f1d7c(0xfc)](_0x221f94);for(const _0x25a9cb of this[_0x1f1d7c(0x116)])this[_0x1f1d7c(0xd1)][_0x1f1d7c(0xf4)](_0x25a9cb[_0x1f1d7c(0x101)]),this[_0x1f1d7c(0x103)][_0x1f1d7c(0xfc)](_0x25a9cb[_0x1f1d7c(0x101)]);this[_0x1f1d7c(0x103)][_0x1f1d7c(0xea)](_0x1f1d7c(0xe5),(_0xbab754,_0x4d611a)=>{const _0x5400e9=_0x1f1d7c;_0x221f94===_0xbab754[_0x5400e9(0xe8)]&&(this[_0x5400e9(0xd7)][_0x5400e9(0xee)](),_0x4d611a());}),this[_0x1f1d7c(0x103)][_0x1f1d7c(0xea)](_0x1f1d7c(0x10a),(_0x56ab47,_0x2065d3)=>{const _0x5acd6b=_0x1f1d7c;_0x221f94!==_0x56ab47[_0x5acd6b(0xe8)]&&(this[_0x5acd6b(0x11a)](),_0x2065d3());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x42cd17,_0x2c42cf,_0x16797f){const _0x5101c4=_0x42cd17['t'],t=_0x42cd17['t'];switch(_0x2c42cf){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',_0x16797f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x16797f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x16797f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x16797f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x16797f);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',_0x16797f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x16797f);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',_0x16797f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x16797f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x16797f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x16797f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x16797f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x16797f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x16797f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x16797f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x16797f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x16797f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x16797f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x16797f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x16797f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x16797f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x16797f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x16797f);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'},_0x16797f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x16797f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x16797f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x16797f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x16797f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x16797f);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'},_0x16797f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x16797f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x16797f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x16797f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x16797f);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'},_0x16797f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x16797f);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'},_0x16797f);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'},_0x16797f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x16797f);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'},_0x16797f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x16797f);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'},_0x16797f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x16797f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x16797f);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x16797f);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 _0x5101c4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x16797f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5101c4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x16797f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x16797f);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x16797f);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x16797f);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x16797f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2c42cf;}}
|
|
23
|
+
export function getTranslation(_0x412dc1,_0x56016b,_0x18220f){const _0x39f2e6=_0x412dc1['t'],t=_0x412dc1['t'];switch(_0x56016b){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',_0x18220f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x18220f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x18220f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x18220f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x18220f);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',_0x18220f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x18220f);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',_0x18220f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x18220f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x18220f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x18220f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x18220f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x18220f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x18220f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x18220f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x18220f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x18220f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x18220f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x18220f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x18220f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x18220f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x18220f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x18220f);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'},_0x18220f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x18220f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x18220f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x18220f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x18220f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x18220f);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'},_0x18220f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x18220f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x18220f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x18220f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x18220f);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'},_0x18220f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x18220f);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'},_0x18220f);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'},_0x18220f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x18220f);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'},_0x18220f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x18220f);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'},_0x18220f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x18220f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x18220f);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x18220f);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 _0x39f2e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x18220f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x39f2e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x18220f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x18220f);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x18220f);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x18220f);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x18220f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x56016b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x39ed02,_0x4c119e){const _0x5bde46=_0x6496,_0x272db6=_0x39ed02();while(!![]){try{const _0x4b0799=-parseInt(_0x5bde46(0xf2))/0x1+parseInt(_0x5bde46(0xff))/0x2+-parseInt(_0x5bde46(0x122))/0x3*(-parseInt(_0x5bde46(0x128))/0x4)+parseInt(_0x5bde46(0x126))/0x5*(-parseInt(_0x5bde46(0xf4))/0x6)+-parseInt(_0x5bde46(0x100))/0x7*(-parseInt(_0x5bde46(0x118))/0x8)+parseInt(_0x5bde46(0x116))/0x9*(parseInt(_0x5bde46(0x107))/0xa)+parseInt(_0x5bde46(0x102))/0xb*(-parseInt(_0x5bde46(0xf8))/0xc);if(_0x4b0799===_0x4c119e)break;else _0x272db6['push'](_0x272db6['shift']());}catch(_0x4ebb5d){_0x272db6['push'](_0x272db6['shift']());}}}(_0xb5b3,0x59c0f));function _0x6496(_0x5a2e6c,_0x1c84a6){const _0xb5b348=_0xb5b3();return _0x6496=function(_0x649608,_0x5b23b5){_0x649608=_0x649608-0xf1;let _0x13c808=_0xb5b348[_0x649608];return _0x13c808;},_0x6496(_0x5a2e6c,_0x1c84a6);}export function normalizeDescription(_0x112368){const _0x2a704e=_0x6496;return Array[_0x2a704e(0xf7)](_0x112368)||(_0x112368=[_0x112368]),_0x112368[_0x2a704e(0x121)](_0x52c614=>{const _0x40b07c=_0x2a704e,_0x5c24c0=_0x52c614[_0x40b07c(0x110)][_0x40b07c(0x108)](/\*/g,''),_0x3f81df=_0x52c614[_0x40b07c(0xfc)]?_0x40b07c(0x105)+_0x52c614[_0x40b07c(0xfc)][_0x40b07c(0x10c)]+']':'';return'['+_0x52c614[_0x40b07c(0x101)]+']\x20'+_0x5c24c0+_0x3f81df;})[_0x2a704e(0x10a)](';\x20');}export function renderDescription(_0x2391b3,_0x1365f6){const _0x776b43=_0x6496;let _0x3c965d='';return _0x3c965d+=_0x2391b3[_0x776b43(0x127)]('*')[_0x776b43(0x121)]((_0x31c5ed,_0x350221)=>_0x350221%0x2!=0x0?_0x776b43(0x10b)+nn(_0x31c5ed)+_0x776b43(0x10f):nn(_0x31c5ed))[_0x776b43(0x10a)](''),_0x1365f6&&(_0x3c965d+=_0x776b43(0x112)+_0x1365f6[_0x776b43(0x10c)]+_0x776b43(0x124)+_0x1365f6[_0x776b43(0xf5)]+_0x776b43(0x11a)),_0x3c965d;}function nn(_0x34800a){const _0x54d502=_0x6496,_0x2fff1b=document[_0x54d502(0x125)](_0x54d502(0xfd));return _0x2fff1b[_0x54d502(0x119)]=_0x34800a,_0x2fff1b[_0x54d502(0xf9)];}export function sortSuggestions(_0xc188cd){const _0x23440c=_0x6496;return _0xc188cd[_0x23440c(0x104)]((_0x31eb07,_0x47d0e2)=>_0x23440c(0xf1)==_0x31eb07[_0x23440c(0x101)]&&_0x23440c(0xf1)!=_0x47d0e2[_0x23440c(0x101)]?-0x1:_0x23440c(0xf1)!=_0x31eb07[_0x23440c(0x101)]&&_0x23440c(0xf1)==_0x47d0e2[_0x23440c(0x101)]?0x1:0x0);}export function getSelectedSuggestions(_0xc8f0e7,_0x45fa91){const _0x337b75=_0x6496,_0x236ec9=Array[_0x337b75(0xfe)](_0xc8f0e7[_0x337b75(0x123)]()),_0x25d557=new Set();for(const _0x41ba84 of _0x45fa91)if(_0x41ba84[_0x337b75(0x10d)]){for(const _0x2df143 of _0x236ec9)for(const _0x543a06 of _0x41ba84[_0x337b75(0x123)]())(_0x2df143[_0x337b75(0x10e)](_0x543a06)||_0xc8f0e7[_0x337b75(0x11f)]&&!_0x41ba84[_0x337b75(0x115)]&&_0x41ba84[_0x337b75(0x11b)]&&_0x543a06[_0x337b75(0x106)][_0x337b75(0x117)](_0x2df143[_0x337b75(0xfa)]))&&_0x25d557[_0x337b75(0x113)](_0x41ba84);}return _0x25d557;}export function getRangesOfBlockGroups(_0x195e4a,_0x1b0b98){const _0x27067d=_0x6496;let _0x3e8b78,_0x255eb9=0x0;const _0x260344=[],_0x1c93f2=_0x1b0b98[_0x27067d(0x120)];for(;_0x255eb9<_0x195e4a[_0x27067d(0x11c)];){const _0x3fa536=_0x195e4a[_0x255eb9],_0xbbc290=_0x195e4a[_0x255eb9+0x1];_0x3e8b78||(_0x3e8b78=_0x1b0b98[_0x27067d(0x109)](_0x3fa536)),on(_0x1b0b98,_0x3fa536,_0xbbc290)||(_0x260344[_0x27067d(0x103)](_0x1b0b98[_0x27067d(0xf6)](_0x3e8b78,_0x1c93f2[_0x27067d(0x114)](_0x3fa536)?_0x1b0b98[_0x27067d(0x11d)](_0x3fa536):_0x1b0b98[_0x27067d(0x11e)](_0x3fa536,_0x27067d(0x106)))),_0x3e8b78=null),_0x255eb9++;}return _0x260344;}function on(_0x14b345,_0x4a2d16,_0x1a2f4d){const _0x464fcf=_0x6496;if(!_0x1a2f4d)return!0x1;const _0x33c847=_0x14b345[_0x464fcf(0x11d)](_0x4a2d16),_0x3bb487=_0x14b345[_0x464fcf(0x109)](_0x1a2f4d);return _0x33c847[_0x464fcf(0x117)](_0x3bb487);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0xb5b3(){const _0x4b902f=['isArray','312tiiSWN','innerHTML','start','splice','color','span','from','1016114xPmUSI','7YsZTVP','type','21461RNcFIZ','push','sort','\x20[color\x20','end','10nabozj','replace','createPositionBefore','join','<span\x20class=\x22ck-suggestion-type\x22>','value','isInContent','isIntersecting','</span>','content','change','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','add','isObject','isMultiRange','2129031vXHGNG','isTouching','1900000dKgNRp','innerText','\x22></span>','next','length','createPositionAfter','createPositionAt','isCollapsed','schema','map','3UNGaMN','getRanges','\x22\x20title=\x22','createElement','30gfRZPQ','split','755764AHqTGu','deletion','67458NehlxK','execute','685242rbmNJL','title','createRange'];_0xb5b3=function(){return _0x4b902f;};return _0xb5b3();}export function executeCommandForSuggestions(_0x2e0424,_0x2cbdc5,_0x4cacf2){const _0x392fe1=_0x6496;for(;_0x4cacf2[_0x392fe1(0x11c)];){const _0x34a223=_0x4cacf2[_0x392fe1(0xfb)](0x0,0x64);_0x2e0424[_0x392fe1(0x111)](()=>{const _0x4211ab=_0x392fe1;for(const _0x50b231 of _0x34a223)_0x50b231[_0x4211ab(0x10d)]&&_0x2cbdc5[_0x4211ab(0xf3)](_0x50b231['id']);});}}
|