@ckeditor/ckeditor5-track-changes 43.2.0-alpha.6 → 43.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x36c53c=_0x30fe;(function(_0x5c45d2,_0x2b67a3){const _0x1b6f03=_0x30fe,_0x562598=_0x5c45d2();while(!![]){try{const _0xd349bb=-parseInt(_0x1b6f03(0x20f))/0x1*(-parseInt(_0x1b6f03(0x232))/0x2)+-parseInt(_0x1b6f03(0x214))/0x3*(-parseInt(_0x1b6f03(0x201))/0x4)+parseInt(_0x1b6f03(0x206))/0x5+-parseInt(_0x1b6f03(0x1fd))/0x6*(-parseInt(_0x1b6f03(0x1c0))/0x7)+parseInt(_0x1b6f03(0x24a))/0x8*(-parseInt(_0x1b6f03(0x1b5))/0x9)+parseInt(_0x1b6f03(0x1f1))/0xa*(-parseInt(_0x1b6f03(0x244))/0xb)+parseInt(_0x1b6f03(0x1d2))/0xc*(-parseInt(_0x1b6f03(0x1e0))/0xd);if(_0xd349bb===_0x2b67a3)break;else _0x562598['push'](_0x562598['shift']());}catch(_0x1c5e0c){_0x562598['push'](_0x562598['shift']());}}}(_0xab5f,0xf2fb2));import{Plugin as _0x390136}from'ckeditor5/src/core.js';import{Collection as _0x541c30}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2f1473,createDropdown as _0x1d16af,ListSeparatorView as _0x1f94e8,MenuBarMenuView as _0x28748f,MenuBarMenuListView as _0x38ca60,MenuBarMenuListItemView as _0x355944,MenuBarMenuListItemButtonView as _0x336600,SplitButtonView as _0x397e7e,ViewModel as _0x3aa8e8}from'ckeditor5/src/ui.js';import{Users as _0x4af6d0,getDateTimeFormatter as _0x39b949,getAllMarkersDomElementsSorted as _0x506665}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x30fe(_0x2e12b7,_0x335fe8){const _0xab5f85=_0xab5f();return _0x30fe=function(_0x30fea3,_0x1905a1){_0x30fea3=_0x30fea3-0x1b4;let _0x2ef3ca=_0xab5f85[_0x30fea3];return _0x2ef3ca;},_0x30fe(_0x2e12b7,_0x335fe8);}function _0xab5f(){const _0x1951a4=['fire','keys','trackChanges','Annotations','head','delegate','getMarkerNames','suggestionUnloaded','some','createAnnotation','locale','isEnabled','lowest','TrackChangesEditing','suggestionChanged','editing','activeMarkers','acceptAllSuggestions','requires','Accept\x20all\x20suggestions','14fgzdgY','bind','focus','isInContent','refreshSelectedViews','_viewToController','suggestionLoaded','actionView','set','values','CommentsRepository','arrowView','acceptSelectedSuggestions','define','Track\x20changes','SuggestionThreadView','items','change:activeAnnotations','77kFetEU','Discard\x20all\x20suggestions','comments.maxCommentCharsWhenCollapsed','addComment','descriptionFactory','_destroyController','8DJqpVv','comments.maxCommentsWhenCollapsed','filter','_refreshActiveMarkers','toMany','5107887peDfTN','getFirstRange','value','remove','_handleSuggestionControllerDelayed','comments','from','commentThread','isDirty','getJoined','activeAnnotations','1001049MfYUgg','has','trackChanges.SuggestionThreadView','size','discardSelectedSuggestions','_initializeController','_bindAnnotationToEditors','CommentsUI','TrackChangesUI','children','_handleControllerBuffer','trackChanges.disableComments','plugins','descriptionParts','get','separator','suggestionView','init','8652zTXEzU','_annotationViews','discardAllSuggestions','_unbindEditors','config','CommentView','_disableComments','buttonView','createCommentThreadController','hasSuggestion','EditorAnnotations','comments.editorConfig','componentFactory','source','27495IcBRMm','comments.maxThreadTotalWeight','registerAnnotation','add','Discard\x20all\x20selected\x20suggestions','reduce','_createMenuBarMenu','isMultiRange','escape','commentsListView','editor','delete','getByInnerView','createAnnotationView','change:previous','type','getMarkers','2391990JVpKaA','Accept\x20all\x20selected\x20suggestions','addSourceCollector','listenTo','innerView','trackChanges.SuggestionView','switchbutton','menu','discardButton','SuggestionView','acceptButton','getDescriptions','12ZThngF','getAllAdjacentSuggestions','panelView','button','424fksoyz','destroy','commands','clear','_createToolbarButton','7019630QCpupd','_updateController','model','getSuggestion','unbind','isOn','_addUIComponentsToFactory','execute','menuitem','203545kxBJLy','suggestion-','menuBar:trackChanges','length','commandName','46623cCzUHG','push','previous','menuitemcheckbox','view','pluginName','_suggestionToController','mainView','getRanges','stopListening'];_0xab5f=function(){return _0x1951a4;};return _0xab5f();}import _0x2e1b57 from'./trackchangesediting.js';import _0x1bdb85 from'./ui/suggestioncontroller.js';import _0x9c5773 from'./ui/view/suggestionthreadview.js';import _0x4c93a3 from'./ui/view/suggestionview.js';import{getTranslation as _0x1619c4}from'./utils/common-translations.js';import _0x2e5197 from'../theme/icons/track-changes.svg';export default class d extends _0x390136{static get[_0x36c53c(0x230)](){const _0xe4a69a=_0x36c53c;return[_0x2e1b57,_0x4af6d0,_0xe4a69a(0x23c),_0xe4a69a(0x221),_0xe4a69a(0x1dc)];}static get[_0x36c53c(0x219)](){const _0x3e7d78=_0x36c53c;return _0x3e7d78(0x1c8);}constructor(_0xe17106){const _0x27fefa=_0x36c53c;super(_0xe17106),this[_0x27fefa(0x21a)]=new Map(),this[_0x27fefa(0x237)]=new Map(),this[_0x27fefa(0x1d3)]=new Map(),this[_0x27fefa(0x1ca)]=new Map();const _0x3d7e57=this[_0x27fefa(0x1ea)][_0x27fefa(0x1d6)];_0x3d7e57[_0x27fefa(0x23f)](_0x27fefa(0x1c2),_0x9c5773),_0x3d7e57[_0x27fefa(0x23f)](_0x27fefa(0x1f6),_0x4c93a3),_0x3d7e57[_0x27fefa(0x23f)](_0x27fefa(0x1cb),!0x1),this[_0x27fefa(0x1d8)]=_0x3d7e57[_0x27fefa(0x1ce)](_0x27fefa(0x1cb));}[_0x36c53c(0x1b9)](_0x49f0eb,_0x50a96a){const _0x44411b=_0x36c53c;0x0===this[_0x44411b(0x1ca)][_0x44411b(0x1c3)]&&setTimeout(()=>{const _0x4e6cfb=_0x44411b;for(const [_0x23b335,_0x113eaa]of this[_0x4e6cfb(0x1ca)]){const _0x14f767=this[_0x4e6cfb(0x21a)][_0x4e6cfb(0x1c1)](_0x23b335);_0x14f767||_0x113eaa?_0x14f767&&_0x113eaa&&this[_0x4e6cfb(0x249)](_0x23b335):this[_0x4e6cfb(0x1c5)](_0x23b335);}this[_0x4e6cfb(0x1ca)][_0x4e6cfb(0x204)](),this[_0x4e6cfb(0x1ea)][_0x4e6cfb(0x1cc)][_0x4e6cfb(0x1ce)](_0x4e6cfb(0x1dc))[_0x4e6cfb(0x236)](),this[_0x4e6cfb(0x24d)]();},0xa),this[_0x44411b(0x1ca)][_0x44411b(0x23a)](_0x49f0eb,_0x50a96a);}[_0x36c53c(0x1d1)](){const _0x523090=_0x36c53c,_0x2e6180=this[_0x523090(0x1ea)],_0x4bc1e1=_0x2e6180[_0x523090(0x1cc)][_0x523090(0x1ce)](_0x523090(0x22b)),_0x446aa1=_0x2e6180[_0x523090(0x1cc)][_0x523090(0x1ce)](_0x523090(0x221)),_0x3c2da1=_0x2e6180[_0x523090(0x1cc)][_0x523090(0x1ce)](_0x523090(0x1dc)),_0x12c121=_0x2e6180[_0x523090(0x1cc)][_0x523090(0x1ce)](_0x523090(0x23c));this[_0x523090(0x20c)](),_0x3c2da1[_0x523090(0x1f3)](()=>{const _0xef651e=_0x523090,_0x27ef4f=[];for(const [_0x1ed358,_0x83d1e2]of Array[_0xef651e(0x1bb)](this[_0xef651e(0x21a)])){const _0x5cc17c=_0x1ed358[_0xef651e(0x1fe)](),_0xb81590=[];for(const _0x27db67 of _0x5cc17c){if(!_0x27db67[_0xef651e(0x235)])continue;if(_0x27db67[_0xef651e(0x1e7)]){_0xb81590[_0xef651e(0x215)](..._0x27db67[_0xef651e(0x21c)]());continue;}const _0x3b8d82=_0x27db67[_0xef651e(0x1b6)]();if(_0xb81590[_0xef651e(0x212)]>0x0){const _0x45f670=_0xb81590[0x0][_0xef651e(0x1be)](_0x3b8d82);if(_0x45f670){_0xb81590[0x0]=_0x45f670;continue;}}_0xb81590[_0xef651e(0x215)](_0x3b8d82);}_0x27ef4f[_0xef651e(0x215)]([_0x83d1e2[_0xef651e(0x218)],_0xb81590]);}return _0x27ef4f;}),this[_0x523090(0x1f4)](_0x4bc1e1,_0x523090(0x238),(_0x516349,_0x2e9e43)=>{const _0x6ece3f=_0x523090;this[_0x6ece3f(0x1f4)](_0x2e9e43,_0x6ece3f(0x1ee),(_0x1d1c4d,_0x2a5ba0,_0x4d2a58,_0x10bee7)=>{const _0x57d7c1=_0x6ece3f;_0x2e9e43[_0x57d7c1(0x235)]&&(null==_0x4d2a58?(this[_0x57d7c1(0x207)](_0x10bee7[_0x57d7c1(0x222)]),this[_0x57d7c1(0x1b9)](_0x2e9e43,!0x1)):(this[_0x57d7c1(0x207)](_0x4d2a58[_0x57d7c1(0x222)]),null==_0x10bee7&&this[_0x57d7c1(0x1b9)](_0x2e9e43,!0x0)));}),null!==_0x2e9e43[_0x6ece3f(0x216)]?this[_0x6ece3f(0x207)](_0x2e9e43[_0x6ece3f(0x222)]):this[_0x6ece3f(0x1b9)](_0x2e9e43,!0x1);}),this[_0x523090(0x1f4)](_0x4bc1e1,_0x523090(0x225),(_0x49e472,_0x49db85,_0x5d8f85)=>{const _0x2f43a6=_0x523090;this[_0x2f43a6(0x21d)](_0x49db85,_0x2f43a6(0x1ee)),this[_0x2f43a6(0x1ca)][_0x2f43a6(0x1eb)](_0x49db85),this[_0x2f43a6(0x21a)][_0x2f43a6(0x1c1)](_0x49db85)&&this[_0x2f43a6(0x249)](_0x49db85),_0x5d8f85&&this[_0x2f43a6(0x207)](_0x5d8f85[_0x2f43a6(0x222)]);}),this[_0x523090(0x1f4)](_0x4bc1e1,_0x523090(0x22c),(_0x48916b,_0x512ce5)=>{const _0x530874=_0x523090;this[_0x530874(0x207)](_0x512ce5);}),this[_0x523090(0x1f4)](_0x446aa1,_0x523090(0x243),()=>{const _0x267a24=_0x523090;this[_0x267a24(0x24d)]();}),this[_0x523090(0x1f4)](_0x12c121,_0x523090(0x247),(_0x25c6cd,{threadId:_0xc359d5,isFromAdapter:_0x419586})=>{const _0x49170b=_0x523090;if(_0x419586||!_0x4bc1e1[_0x49170b(0x1db)](_0xc359d5))return;const _0x40561a=_0x4bc1e1[_0x49170b(0x209)](_0xc359d5);this[_0x49170b(0x21a)][_0x49170b(0x1ce)](_0x40561a)[_0x49170b(0x218)][_0x49170b(0x1e9)][_0x49170b(0x234)](-0x1);},{'priority':_0x523090(0x22a)});}[_0x36c53c(0x24d)](){const _0x46c291=_0x36c53c,_0x42c7f5=this[_0x46c291(0x1ea)][_0x46c291(0x1cc)][_0x46c291(0x1ce)](_0x46c291(0x221)),_0x3e932c=this[_0x46c291(0x1ea)][_0x46c291(0x1cc)][_0x46c291(0x1ce)](_0x46c291(0x22b)),_0x5d8869=Array[_0x46c291(0x1bb)](_0x42c7f5[_0x46c291(0x1bf)],_0x3087a7=>_0x3087a7[_0x46c291(0x1f5)])[_0x46c291(0x24c)](_0x5bba1d=>this[_0x46c291(0x237)][_0x46c291(0x1c1)](_0x5bba1d)),_0x2f5a12=[];for(const _0xd957d8 of _0x5d8869){const _0x276c98=this[_0x46c291(0x237)][_0x46c291(0x1ce)](_0xd957d8)[_0x46c291(0x208)][_0x46c291(0x1fe)]();_0x2f5a12[_0x46c291(0x215)](..._0x276c98[_0x46c291(0x1e5)]((_0x2192f7,_0xa007e3)=>[..._0x2192f7,..._0xa007e3[_0x46c291(0x224)]()],[]));}_0x3e932c[_0x46c291(0x22e)]=_0x2f5a12;}[_0x36c53c(0x20c)](){const _0x50d31a=_0x36c53c,_0x1a954c=this[_0x50d31a(0x1ea)],_0x27a3f9=_0x1a954c[_0x50d31a(0x228)],_0x362710=_0x1619c4(_0x27a3f9,_0x50d31a(0x240)),_0x4bf25e=new _0x541c30([{'type':_0x50d31a(0x1f7),'model':new _0x3aa8e8({'withText':!0x0,'isToggleable':!0x0,'label':_0x362710,'commandName':_0x50d31a(0x220),'role':_0x50d31a(0x217)})},{'type':_0x50d31a(0x1cf)},{'type':_0x50d31a(0x200),'model':new _0x3aa8e8({'withText':!0x0,'label':_0x1619c4(_0x27a3f9,_0x50d31a(0x231)),'commandName':_0x50d31a(0x22f),'role':_0x50d31a(0x20e)})},{'type':_0x50d31a(0x200),'model':new _0x3aa8e8({'withText':!0x0,'label':_0x1619c4(_0x27a3f9,_0x50d31a(0x1f2)),'commandName':_0x50d31a(0x23e),'role':_0x50d31a(0x20e)})},{'type':_0x50d31a(0x200),'model':new _0x3aa8e8({'withText':!0x0,'label':_0x1619c4(_0x27a3f9,_0x50d31a(0x245)),'commandName':_0x50d31a(0x1d4),'role':_0x50d31a(0x20e)})},{'type':_0x50d31a(0x200),'model':new _0x3aa8e8({'withText':!0x0,'label':_0x1619c4(_0x27a3f9,_0x50d31a(0x1e4)),'commandName':_0x50d31a(0x1c4),'role':_0x50d31a(0x20e)})}]);for(const _0x50c3c0 of _0x4bf25e)if(me(_0x50c3c0)){const _0x20d091=_0x1a954c[_0x50d31a(0x203)][_0x50d31a(0x1ce)](_0x50c3c0[_0x50d31a(0x208)][_0x50d31a(0x213)]);_0x50c3c0[_0x50d31a(0x208)][_0x50d31a(0x233)](_0x50d31a(0x20b),_0x50d31a(0x229))['to'](_0x20d091,_0x50d31a(0x1b7),_0x50d31a(0x229));}_0x1a954c['ui'][_0x50d31a(0x1de)][_0x50d31a(0x1e3)](_0x50d31a(0x220),_0x3fd852=>this[_0x50d31a(0x205)](_0x3fd852,_0x4bf25e,_0x362710)),_0x1a954c['ui'][_0x50d31a(0x1de)][_0x50d31a(0x1e3)](_0x50d31a(0x211),_0x2807eb=>this[_0x50d31a(0x1e6)](_0x2807eb,_0x4bf25e,_0x362710));}[_0x36c53c(0x205)](_0x7f31a5,_0x2be1ac,_0x4eeae2){const _0x50f01a=_0x36c53c,_0x24709f=_0x1d16af(_0x7f31a5,_0x397e7e),_0x32b4f7=this[_0x50f01a(0x1ea)][_0x50f01a(0x203)][_0x50f01a(0x1ce)](_0x50f01a(0x220));_0x24709f[_0x50f01a(0x1d9)][_0x50f01a(0x23a)]({'tooltip':_0x4eeae2,'label':_0x4eeae2,'icon':_0x2e5197}),_0x24709f[_0x50f01a(0x1d9)][_0x50f01a(0x233)](_0x50f01a(0x20b))['to'](_0x32b4f7,_0x50f01a(0x1b7)),_0x24709f[_0x50f01a(0x1d9)]['on'](_0x50f01a(0x20d),()=>{const _0xe1c223=_0x50f01a;_0x32b4f7[_0xe1c223(0x20d)](),this[_0xe1c223(0x1ea)][_0xe1c223(0x22d)][_0xe1c223(0x218)][_0xe1c223(0x234)]();}),_0x2f1473(_0x24709f,_0x2be1ac,{'role':_0x50f01a(0x1f8)});const _0xfff252=[];for(const _0x13c2fb of _0x2be1ac)me(_0x13c2fb)&&_0xfff252[_0x50f01a(0x215)](this[_0x50f01a(0x1ea)][_0x50f01a(0x203)][_0x50f01a(0x1ce)](_0x13c2fb[_0x50f01a(0x208)][_0x50f01a(0x213)]));const _0x1b4325=_0x24709f[_0x50f01a(0x1d9)];return _0x1b4325[_0x50f01a(0x239)][_0x50f01a(0x20a)](_0x50f01a(0x229)),_0x1b4325[_0x50f01a(0x23d)][_0x50f01a(0x20a)](_0x50f01a(0x229)),_0x1b4325[_0x50f01a(0x239)][_0x50f01a(0x233)](_0x50f01a(0x229))['to'](_0x32b4f7,_0x50f01a(0x229)),_0x1b4325[_0x50f01a(0x23d)][_0x50f01a(0x233)](_0x50f01a(0x229))[_0x50f01a(0x1b4)](_0xfff252,_0x50f01a(0x229),(..._0x226026)=>_0x226026[_0x50f01a(0x226)](_0x3dc320=>_0x3dc320)),_0x24709f['on'](_0x50f01a(0x20d),_0x28621d=>{const _0x4f2fe1=_0x50f01a;this[_0x4f2fe1(0x1ea)][_0x4f2fe1(0x20d)](_0x28621d[_0x4f2fe1(0x1df)][_0x4f2fe1(0x213)]),this[_0x4f2fe1(0x1ea)][_0x4f2fe1(0x22d)][_0x4f2fe1(0x218)][_0x4f2fe1(0x234)]();}),_0x24709f;}[_0x36c53c(0x1e6)](_0x570693,_0x5cedd2,_0x1fd1c6){const _0x21af27=_0x36c53c,_0x13eb15=new _0x28748f(_0x570693),_0xff2481=this[_0x21af27(0x1ea)][_0x21af27(0x203)][_0x21af27(0x1ce)](_0x21af27(0x220));_0x13eb15[_0x21af27(0x1d9)][_0x21af27(0x23a)]({'label':_0x1fd1c6,'icon':_0x2e5197});const _0x4d8610=new _0x38ca60(_0x570693);for(const _0x19d75e of _0x5cedd2){if(_0x21af27(0x1cf)==_0x19d75e[_0x21af27(0x1ef)]){_0x4d8610[_0x21af27(0x242)][_0x21af27(0x1e3)](new _0x1f94e8(_0x570693));continue;}const _0x3a31ef=new _0x355944(_0x570693,_0x13eb15),_0x42c2cd=new _0x336600(_0x570693),_0x532d97=_0x19d75e[_0x21af27(0x208)];_0x42c2cd[_0x21af27(0x233)](...Object[_0x21af27(0x21f)](_0x532d97))['to'](_0x532d97),_0x42c2cd[_0x21af27(0x223)](_0x21af27(0x20d))['to'](_0x13eb15),_0x42c2cd['on'](_0x21af27(0x20d),()=>{const _0x8b951=_0x21af27;this[_0x8b951(0x1ea)][_0x8b951(0x20d)](_0x532d97[_0x8b951(0x213)]),this[_0x8b951(0x1ea)][_0x8b951(0x22d)][_0x8b951(0x218)][_0x8b951(0x234)]();}),_0x3a31ef[_0x21af27(0x1c9)][_0x21af27(0x1e3)](_0x42c2cd),_0x4d8610[_0x21af27(0x242)][_0x21af27(0x1e3)](_0x3a31ef);}return _0x13eb15[_0x21af27(0x233)](_0x21af27(0x229))['to'](_0xff2481,_0x21af27(0x229)),_0x13eb15[_0x21af27(0x1ff)][_0x21af27(0x1c9)][_0x21af27(0x1e3)](_0x4d8610),_0x13eb15;}[_0x36c53c(0x1c5)](_0x2a54b9){const _0x107080=_0x36c53c,_0x306e23=this[_0x107080(0x1ea)],_0x1788de=_0x306e23[_0x107080(0x1d6)],_0x31d62f=_0x306e23[_0x107080(0x1cc)][_0x107080(0x1ce)](_0x107080(0x221)),_0x1ea3ac=_0x306e23[_0x107080(0x1cc)][_0x107080(0x1ce)](_0x107080(0x23c)),_0x47bf71=_0x306e23[_0x107080(0x1cc)][_0x107080(0x1ce)](_0x107080(0x1dc)),_0x1852a3=_0x306e23[_0x107080(0x1cc)][_0x107080(0x1ce)](_0x4af6d0)['me'],_0x57deba=_0x1788de[_0x107080(0x1ce)](_0x107080(0x220))[_0x107080(0x241)],_0x9bc90d=_0x1788de[_0x107080(0x1ce)](_0x107080(0x220))[_0x107080(0x1fa)],{CommentsListView:_0x4e40c6,CommentThreadInputView:_0x3730e3}=_0x306e23[_0x107080(0x1cc)][_0x107080(0x1ce)](_0x107080(0x1c7));let _0x1dd5e8,_0x32e00f,_0x3f4666;this[_0x107080(0x1d3)][_0x107080(0x1c1)](_0x2a54b9['id'])?(_0x32e00f=this[_0x107080(0x1d3)][_0x107080(0x1ce)](_0x2a54b9['id']),_0x1dd5e8=_0x32e00f[_0x107080(0x21b)]):(_0x1dd5e8=new _0x57deba(_0x306e23[_0x107080(0x228)],_0x2a54b9,_0x1852a3,{'disableComments':this[_0x107080(0x1d8)],'editorConfig':_0x1788de[_0x107080(0x1ce)](_0x107080(0x1dd)),'maxCommentsWhenCollapsed':_0x1788de[_0x107080(0x1ce)](_0x107080(0x24b)),'maxThreadTotalWeight':_0x1788de[_0x107080(0x1ce)](_0x107080(0x1e1)),'maxCommentCharsWhenCollapsed':_0x1788de[_0x107080(0x1ce)](_0x107080(0x246)),'formatDateTime':_0x39b949(_0x1788de[_0x107080(0x1ce)](_0x107080(0x228))),'CommentView':_0x1788de[_0x107080(0x1ce)](_0x107080(0x1ba))[_0x107080(0x1d7)],'CommentsListView':_0x4e40c6,'CommentThreadInputView':_0x3730e3,'SuggestionView':_0x9bc90d}),_0x1dd5e8[_0x107080(0x1d0)][_0x107080(0x1fb)]['on'](_0x107080(0x20d),()=>{const _0x4574d8=_0x107080;_0x306e23[_0x4574d8(0x22d)][_0x4574d8(0x218)][_0x4574d8(0x234)]();}),_0x1dd5e8[_0x107080(0x1d0)][_0x107080(0x1f9)]['on'](_0x107080(0x20d),()=>{const _0x4ff652=_0x107080;_0x306e23[_0x4ff652(0x22d)][_0x4ff652(0x218)][_0x4ff652(0x234)]();}),_0x32e00f=_0x31d62f[_0x107080(0x1ed)](this[_0x107080(0x1ea)][_0x107080(0x228)],_0x1dd5e8),_0x32e00f[_0x107080(0x233)](_0x107080(0x1bd))['to'](_0x1dd5e8,_0x107080(0x1bd)),_0x32e00f[_0x107080(0x233)](_0x107080(0x212))['to'](_0x1dd5e8),_0x32e00f[_0x107080(0x233)](_0x107080(0x1ef))['to'](_0x1dd5e8,_0x107080(0x1ef),_0xbd831a=>_0x107080(0x210)+_0xbd831a),_0x1dd5e8['on'](_0x107080(0x1e8),()=>{const _0x2dffbf=_0x107080;_0x3f4666[_0x2dffbf(0x21e)](_0x2dffbf(0x1e8));}),this[_0x107080(0x1d3)][_0x107080(0x23a)](_0x2a54b9['id'],_0x32e00f));const _0x366f83=_0x1ea3ac[_0x107080(0x1da)](_0x2a54b9[_0x107080(0x1bc)],_0x1dd5e8),_0x12c624=new _0x1bdb85(_0x306e23,_0x2a54b9,_0x1dd5e8,_0x366f83),_0x1ff148=_0x2a54b9[_0x107080(0x1fe)]()[_0x107080(0x24c)](_0x70a3b3=>_0x70a3b3[_0x107080(0x235)]);_0x1dd5e8[_0x107080(0x1cd)]=_0x306e23[_0x107080(0x1cc)][_0x107080(0x1ce)](_0x107080(0x22b))[_0x107080(0x248)][_0x107080(0x1fc)](_0x1ff148),this[_0x107080(0x21a)][_0x107080(0x23a)](_0x2a54b9,_0x12c624),this[_0x107080(0x237)][_0x107080(0x23a)](_0x1dd5e8,_0x12c624),_0x3f4666=_0x31d62f[_0x107080(0x227)]({'view':_0x32e00f,'target':()=>{const _0x3a1e4a=_0x107080,_0x18364d=[],_0xe253c=_0x2a54b9[_0x3a1e4a(0x1fe)]()[_0x3a1e4a(0x24c)](_0x4eee11=>_0x4eee11[_0x3a1e4a(0x235)]);for(const _0x32e083 of _0xe253c)_0x18364d[_0x3a1e4a(0x215)](..._0x32e083[_0x3a1e4a(0x1f0)]());return _0x506665(_0x306e23[_0x3a1e4a(0x22d)],_0x18364d);},'type':()=>_0x107080(0x210)+_0x12c624[_0x107080(0x218)][_0x107080(0x1ef)]}),_0x1ea3ac[_0x107080(0x1c6)](_0x1dd5e8,_0x3f4666),_0x31d62f[_0x107080(0x1e3)](_0x3f4666),_0x47bf71[_0x107080(0x1e2)](_0x3f4666);}[_0x36c53c(0x249)](_0x48cba5){const _0x339469=_0x36c53c,_0x112823=this[_0x339469(0x1ea)][_0x339469(0x1cc)][_0x339469(0x1ce)](_0x339469(0x23c)),_0x22b6c9=this[_0x339469(0x1ea)][_0x339469(0x1cc)][_0x339469(0x1ce)](_0x339469(0x221)),_0x3a25ab=this[_0x339469(0x21a)][_0x339469(0x1ce)](_0x48cba5),_0xf2edbf=_0x3a25ab[_0x339469(0x218)],_0x3ea4c4=_0x22b6c9[_0x339469(0x1ec)](_0xf2edbf);_0x112823[_0x339469(0x1d5)](_0xf2edbf),_0x3ea4c4&&_0x22b6c9[_0x339469(0x1b8)](_0x3ea4c4),this[_0x339469(0x21a)][_0x339469(0x1eb)](_0x48cba5),this[_0x339469(0x237)][_0x339469(0x1eb)](_0xf2edbf),_0x3a25ab[_0x339469(0x202)]();}[_0x36c53c(0x207)](_0x9a51e6){const _0x37fd54=_0x36c53c;if(!_0x9a51e6[_0x37fd54(0x235)]||!this[_0x37fd54(0x21a)][_0x37fd54(0x1c1)](_0x9a51e6))return;const _0x4502ad=this[_0x37fd54(0x1ea)][_0x37fd54(0x1cc)][_0x37fd54(0x1ce)](_0x37fd54(0x22b)),_0x127269=this[_0x37fd54(0x21a)][_0x37fd54(0x1ce)](_0x9a51e6),_0x1417e2=_0x9a51e6[_0x37fd54(0x1fe)]();_0x127269[_0x37fd54(0x218)][_0x37fd54(0x1cd)]=_0x4502ad[_0x37fd54(0x248)][_0x37fd54(0x1fc)](_0x1417e2);}[_0x36c53c(0x202)](){const _0x1707a0=_0x36c53c;for(const _0x8c112e of this[_0x1707a0(0x21a)][_0x1707a0(0x21f)]())this[_0x1707a0(0x249)](_0x8c112e);for(const _0x25e9e2 of this[_0x1707a0(0x1d3)][_0x1707a0(0x23b)]())_0x25e9e2[_0x1707a0(0x21b)][_0x1707a0(0x202)]();super[_0x1707a0(0x202)]();}}function me(_0x3f4bff){const _0x4df90a=_0x36c53c;return _0x4df90a(0x208)in _0x3f4bff;}
|
|
23
|
+
const _0x1b3036=_0x474c;(function(_0x6ec24e,_0x47916b){const _0x2a2d72=_0x474c,_0x5bea82=_0x6ec24e();while(!![]){try{const _0xc42795=parseInt(_0x2a2d72(0x1fe))/0x1*(parseInt(_0x2a2d72(0x212))/0x2)+-parseInt(_0x2a2d72(0x1d3))/0x3*(parseInt(_0x2a2d72(0x1e9))/0x4)+-parseInt(_0x2a2d72(0x190))/0x5*(parseInt(_0x2a2d72(0x1f4))/0x6)+parseInt(_0x2a2d72(0x188))/0x7*(parseInt(_0x2a2d72(0x20d))/0x8)+parseInt(_0x2a2d72(0x1a3))/0x9*(parseInt(_0x2a2d72(0x1c4))/0xa)+-parseInt(_0x2a2d72(0x211))/0xb*(-parseInt(_0x2a2d72(0x1d4))/0xc)+parseInt(_0x2a2d72(0x18a))/0xd;if(_0xc42795===_0x47916b)break;else _0x5bea82['push'](_0x5bea82['shift']());}catch(_0x432d81){_0x5bea82['push'](_0x5bea82['shift']());}}}(_0x19d2,0x898b1));import{Plugin as _0x12a250}from'ckeditor5/src/core.js';import{Collection as _0x56645f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xa4dbf0,createDropdown as _0x432a3b,ListSeparatorView as _0x591869,MenuBarMenuView as _0x1fc92c,MenuBarMenuListView as _0x428d4d,MenuBarMenuListItemView as _0x3dbc3d,MenuBarMenuListItemButtonView as _0x47267c,SplitButtonView as _0x1fbfa0,ViewModel as _0x2fcc97}from'ckeditor5/src/ui.js';function _0x474c(_0x2670ee,_0x5a2f2a){const _0x19d29f=_0x19d2();return _0x474c=function(_0x474c09,_0x37e4e0){_0x474c09=_0x474c09-0x179;let _0x1f9163=_0x19d29f[_0x474c09];return _0x1f9163;},_0x474c(_0x2670ee,_0x5a2f2a);}import{Users as _0x37341d,getDateTimeFormatter as _0x59dc2c,getAllMarkersDomElementsSorted as _0x3bcaf7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x22b583 from'./trackchangesediting.js';import _0x160749 from'./ui/suggestioncontroller.js';import _0x4542e1 from'./ui/view/suggestionthreadview.js';import _0x1e5736 from'./ui/view/suggestionview.js';import{getTranslation as _0x1d707a}from'./utils/common-translations.js';function _0x19d2(){const _0x1091a9=['get','20MXWjED','locale','listenTo','activeAnnotations','getSuggestion','arrowView','commands','_viewToController','push','addSourceCollector','isOn','TrackChangesEditing','_annotationViews','suggestionLoaded','init','escape','value','view','createAnnotationView','1035495MIEnLX','suggestionChanged','comments.maxThreadTotalWeight','trackChanges','SuggestionView','createCommentThreadController','activeMarkers','unbind','focus','_createToolbarButton','_suggestionToController','getMarkers','innerView','size','isMultiRange','menuBar:trackChanges','menu','addComment','commandName','suggestion-','from','discardButton','lowest','source','editor','suggestionUnloaded','destroy','CommentsRepository','Track\x20changes','discardAllSuggestions','comments','_destroyController','_refreshActiveMarkers','10UtpInN','Accept\x20all\x20selected\x20suggestions','_createMenuBarMenu','length','commentThread','acceptSelectedSuggestions','some','isEnabled','items','filter','change:previous','getAllAdjacentSuggestions','_unbindEditors','refreshSelectedViews','head','627PUokEw','6046164wopeIg','reduce','_addUIComponentsToFactory','Annotations','discardSelectedSuggestions','CommentView','CommentsUI','getRanges','trackChanges.SuggestionView','bind','menuitem','acceptButton','TrackChangesUI','panelView','menuitemcheckbox','clear','change:activeAnnotations','comments.editorConfig','plugins','registerAnnotation','getJoined','15164ZinRlr','previous','execute','createAnnotation','acceptAllSuggestions','delegate','descriptionParts','_updateController','isInContent','trackChanges.disableComments','toMany','987738bAMEMI','actionView','_handleControllerBuffer','remove','comments.maxCommentsWhenCollapsed','switchbutton','define','getFirstRange','add','Accept\x20all\x20suggestions','1391DEAgCd','editing','button','Discard\x20all\x20selected\x20suggestions','SuggestionThreadView','separator','descriptionFactory','buttonView','has','values','comments.maxCommentCharsWhenCollapsed','model','stopListening','_bindAnnotationToEditors','keys','7989840ZpFrhH','pluginName','Discard\x20all\x20suggestions','getMarkerNames','11XSKefS','346ITigYz','suggestionView','config','commentsListView','fire','componentFactory','children','EditorAnnotations','getDescriptions','mainView','_initializeController','set','isDirty','hasSuggestion','getByInnerView','type','7BFKphw','trackChanges.SuggestionThreadView','2026869ochvMn','_disableComments','requires','_handleSuggestionControllerDelayed','delete'];_0x19d2=function(){return _0x1091a9;};return _0x19d2();}import _0x38d504 from'../theme/icons/track-changes.svg';export default class d extends _0x12a250{static get[_0x1b3036(0x18c)](){const _0x1b8236=_0x1b3036;return[_0x22b583,_0x37341d,_0x1b8236(0x1be),_0x1b8236(0x1d7),_0x1b8236(0x17f)];}static get[_0x1b3036(0x20e)](){const _0x507544=_0x1b3036;return _0x507544(0x1e0);}constructor(_0x3975bb){const _0x82050c=_0x1b3036;super(_0x3975bb),this[_0x82050c(0x1ad)]=new Map(),this[_0x82050c(0x197)]=new Map(),this[_0x82050c(0x19c)]=new Map(),this[_0x82050c(0x1f6)]=new Map();const _0x479ff3=this[_0x82050c(0x1bb)][_0x82050c(0x17a)];_0x479ff3[_0x82050c(0x1fa)](_0x82050c(0x189),_0x4542e1),_0x479ff3[_0x82050c(0x1fa)](_0x82050c(0x1dc),_0x1e5736),_0x479ff3[_0x82050c(0x1fa)](_0x82050c(0x1f2),!0x1),this[_0x82050c(0x18b)]=_0x479ff3[_0x82050c(0x18f)](_0x82050c(0x1f2));}[_0x1b3036(0x18d)](_0x58f696,_0x41a558){const _0x14fe94=_0x1b3036;0x0===this[_0x14fe94(0x1f6)][_0x14fe94(0x1b0)]&&setTimeout(()=>{const _0xa457bb=_0x14fe94;for(const [_0x438433,_0x29322e]of this[_0xa457bb(0x1f6)]){const _0x4810ab=this[_0xa457bb(0x1ad)][_0xa457bb(0x206)](_0x438433);_0x4810ab||_0x29322e?_0x4810ab&&_0x29322e&&this[_0xa457bb(0x1c2)](_0x438433):this[_0xa457bb(0x182)](_0x438433);}this[_0xa457bb(0x1f6)][_0xa457bb(0x1e3)](),this[_0xa457bb(0x1bb)][_0xa457bb(0x1e6)][_0xa457bb(0x18f)](_0xa457bb(0x17f))[_0xa457bb(0x1d1)](),this[_0xa457bb(0x1c3)]();},0xa),this[_0x14fe94(0x1f6)][_0x14fe94(0x183)](_0x58f696,_0x41a558);}[_0x1b3036(0x19e)](){const _0x29a38b=_0x1b3036,_0x31d3b3=this[_0x29a38b(0x1bb)],_0x421b6a=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x19b)),_0x490e4b=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x1d7)),_0x3920d4=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x17f)),_0xb65f6a=_0x31d3b3[_0x29a38b(0x1e6)][_0x29a38b(0x18f)](_0x29a38b(0x1be));this[_0x29a38b(0x1d6)](),_0x3920d4[_0x29a38b(0x199)](()=>{const _0x2198ee=_0x29a38b,_0x398670=[];for(const [_0x4a515b,_0x239dfc]of Array[_0x2198ee(0x1b7)](this[_0x2198ee(0x1ad)])){const _0x480043=_0x4a515b[_0x2198ee(0x1cf)](),_0x30c567=[];for(const _0x4894d4 of _0x480043){if(!_0x4894d4[_0x2198ee(0x1f1)])continue;if(_0x4894d4[_0x2198ee(0x1b1)]){_0x30c567[_0x2198ee(0x198)](..._0x4894d4[_0x2198ee(0x1db)]());continue;}const _0x324a9f=_0x4894d4[_0x2198ee(0x1fb)]();if(_0x30c567[_0x2198ee(0x1c7)]>0x0){const _0x385784=_0x30c567[0x0][_0x2198ee(0x1e8)](_0x324a9f);if(_0x385784){_0x30c567[0x0]=_0x385784;continue;}}_0x30c567[_0x2198ee(0x198)](_0x324a9f);}_0x398670[_0x2198ee(0x198)]([_0x239dfc[_0x2198ee(0x1a1)],_0x30c567]);}return _0x398670;}),this[_0x29a38b(0x192)](_0x421b6a,_0x29a38b(0x19d),(_0x5c0802,_0x17f351)=>{const _0x87a0a3=_0x29a38b;this[_0x87a0a3(0x192)](_0x17f351,_0x87a0a3(0x1ce),(_0xe4b8cc,_0x4b8584,_0x788178,_0x160207)=>{const _0xa0fac7=_0x87a0a3;_0x17f351[_0xa0fac7(0x1f1)]&&(null==_0x788178?(this[_0xa0fac7(0x1f0)](_0x160207[_0xa0fac7(0x1d2)]),this[_0xa0fac7(0x18d)](_0x17f351,!0x1)):(this[_0xa0fac7(0x1f0)](_0x788178[_0xa0fac7(0x1d2)]),null==_0x160207&&this[_0xa0fac7(0x18d)](_0x17f351,!0x0)));}),null!==_0x17f351[_0x87a0a3(0x1ea)]?this[_0x87a0a3(0x1f0)](_0x17f351[_0x87a0a3(0x1d2)]):this[_0x87a0a3(0x18d)](_0x17f351,!0x1);}),this[_0x29a38b(0x192)](_0x421b6a,_0x29a38b(0x1bc),(_0x20177c,_0x5202e3,_0x170a35)=>{const _0x1ea0ce=_0x29a38b;this[_0x1ea0ce(0x20a)](_0x5202e3,_0x1ea0ce(0x1ce)),this[_0x1ea0ce(0x1f6)][_0x1ea0ce(0x18e)](_0x5202e3),this[_0x1ea0ce(0x1ad)][_0x1ea0ce(0x206)](_0x5202e3)&&this[_0x1ea0ce(0x1c2)](_0x5202e3),_0x170a35&&this[_0x1ea0ce(0x1f0)](_0x170a35[_0x1ea0ce(0x1d2)]);}),this[_0x29a38b(0x192)](_0x421b6a,_0x29a38b(0x1a4),(_0x3cf5de,_0x2b5acb)=>{const _0x10b407=_0x29a38b;this[_0x10b407(0x1f0)](_0x2b5acb);}),this[_0x29a38b(0x192)](_0x490e4b,_0x29a38b(0x1e4),()=>{const _0x2b7913=_0x29a38b;this[_0x2b7913(0x1c3)]();}),this[_0x29a38b(0x192)](_0xb65f6a,_0x29a38b(0x1b4),(_0x35c6ea,{threadId:_0x179dd1,isFromAdapter:_0x3b0662})=>{const _0x3f3450=_0x29a38b;if(_0x3b0662||!_0x421b6a[_0x3f3450(0x185)](_0x179dd1))return;const _0x490a55=_0x421b6a[_0x3f3450(0x194)](_0x179dd1);this[_0x3f3450(0x1ad)][_0x3f3450(0x18f)](_0x490a55)[_0x3f3450(0x1a1)][_0x3f3450(0x17b)][_0x3f3450(0x1ab)](-0x1);},{'priority':_0x29a38b(0x1b9)});}[_0x1b3036(0x1c3)](){const _0x2d3ae2=_0x1b3036,_0x30243e=this[_0x2d3ae2(0x1bb)][_0x2d3ae2(0x1e6)][_0x2d3ae2(0x18f)](_0x2d3ae2(0x1d7)),_0x3c6dea=this[_0x2d3ae2(0x1bb)][_0x2d3ae2(0x1e6)][_0x2d3ae2(0x18f)](_0x2d3ae2(0x19b)),_0x3eff3b=Array[_0x2d3ae2(0x1b7)](_0x30243e[_0x2d3ae2(0x193)],_0x4c9dff=>_0x4c9dff[_0x2d3ae2(0x1af)])[_0x2d3ae2(0x1cd)](_0x5f437b=>this[_0x2d3ae2(0x197)][_0x2d3ae2(0x206)](_0x5f437b)),_0x52d32d=[];for(const _0x38aefc of _0x3eff3b){const _0x20ed74=this[_0x2d3ae2(0x197)][_0x2d3ae2(0x18f)](_0x38aefc)[_0x2d3ae2(0x209)][_0x2d3ae2(0x1cf)]();_0x52d32d[_0x2d3ae2(0x198)](..._0x20ed74[_0x2d3ae2(0x1d5)]((_0x3c3fd2,_0x3447fc)=>[..._0x3c3fd2,..._0x3447fc[_0x2d3ae2(0x210)]()],[]));}_0x3c6dea[_0x2d3ae2(0x1a9)]=_0x52d32d;}[_0x1b3036(0x1d6)](){const _0x435273=_0x1b3036,_0x48eb86=this[_0x435273(0x1bb)],_0x18e307=_0x48eb86[_0x435273(0x191)],_0x44a8cc=_0x1d707a(_0x18e307,_0x435273(0x1bf)),_0x33e344=new _0x56645f([{'type':_0x435273(0x1f9),'model':new _0x2fcc97({'withText':!0x0,'isToggleable':!0x0,'label':_0x44a8cc,'commandName':_0x435273(0x1a6),'role':_0x435273(0x1e2)})},{'type':_0x435273(0x203)},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x1fd)),'commandName':_0x435273(0x1ed),'role':_0x435273(0x1de)})},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x1c5)),'commandName':_0x435273(0x1c9),'role':_0x435273(0x1de)})},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x20f)),'commandName':_0x435273(0x1c0),'role':_0x435273(0x1de)})},{'type':_0x435273(0x200),'model':new _0x2fcc97({'withText':!0x0,'label':_0x1d707a(_0x18e307,_0x435273(0x201)),'commandName':_0x435273(0x1d8),'role':_0x435273(0x1de)})}]);for(const _0x4b9810 of _0x33e344)if(me(_0x4b9810)){const _0x58336b=_0x48eb86[_0x435273(0x196)][_0x435273(0x18f)](_0x4b9810[_0x435273(0x209)][_0x435273(0x1b5)]);_0x4b9810[_0x435273(0x209)][_0x435273(0x1dd)](_0x435273(0x19a),_0x435273(0x1cb))['to'](_0x58336b,_0x435273(0x1a0),_0x435273(0x1cb));}_0x48eb86['ui'][_0x435273(0x17d)][_0x435273(0x1fc)](_0x435273(0x1a6),_0x3d7236=>this[_0x435273(0x1ac)](_0x3d7236,_0x33e344,_0x44a8cc)),_0x48eb86['ui'][_0x435273(0x17d)][_0x435273(0x1fc)](_0x435273(0x1b2),_0x3c3369=>this[_0x435273(0x1c6)](_0x3c3369,_0x33e344,_0x44a8cc));}[_0x1b3036(0x1ac)](_0x133881,_0x2833be,_0x1ab6ad){const _0xeffcbc=_0x1b3036,_0x1011fa=_0x432a3b(_0x133881,_0x1fbfa0),_0x59229f=this[_0xeffcbc(0x1bb)][_0xeffcbc(0x196)][_0xeffcbc(0x18f)](_0xeffcbc(0x1a6));_0x1011fa[_0xeffcbc(0x205)][_0xeffcbc(0x183)]({'tooltip':_0x1ab6ad,'label':_0x1ab6ad,'icon':_0x38d504}),_0x1011fa[_0xeffcbc(0x205)][_0xeffcbc(0x1dd)](_0xeffcbc(0x19a))['to'](_0x59229f,_0xeffcbc(0x1a0)),_0x1011fa[_0xeffcbc(0x205)]['on'](_0xeffcbc(0x1eb),()=>{const _0x3f89e1=_0xeffcbc;_0x59229f[_0x3f89e1(0x1eb)](),this[_0x3f89e1(0x1bb)][_0x3f89e1(0x1ff)][_0x3f89e1(0x1a1)][_0x3f89e1(0x1ab)]();}),_0xa4dbf0(_0x1011fa,_0x2833be,{'role':_0xeffcbc(0x1b3)});const _0x4be3f9=[];for(const _0x34a960 of _0x2833be)me(_0x34a960)&&_0x4be3f9[_0xeffcbc(0x198)](this[_0xeffcbc(0x1bb)][_0xeffcbc(0x196)][_0xeffcbc(0x18f)](_0x34a960[_0xeffcbc(0x209)][_0xeffcbc(0x1b5)]));const _0x53d060=_0x1011fa[_0xeffcbc(0x205)];return _0x53d060[_0xeffcbc(0x1f5)][_0xeffcbc(0x1aa)](_0xeffcbc(0x1cb)),_0x53d060[_0xeffcbc(0x195)][_0xeffcbc(0x1aa)](_0xeffcbc(0x1cb)),_0x53d060[_0xeffcbc(0x1f5)][_0xeffcbc(0x1dd)](_0xeffcbc(0x1cb))['to'](_0x59229f,_0xeffcbc(0x1cb)),_0x53d060[_0xeffcbc(0x195)][_0xeffcbc(0x1dd)](_0xeffcbc(0x1cb))[_0xeffcbc(0x1f3)](_0x4be3f9,_0xeffcbc(0x1cb),(..._0x27ad63)=>_0x27ad63[_0xeffcbc(0x1ca)](_0x163b4b=>_0x163b4b)),_0x1011fa['on'](_0xeffcbc(0x1eb),_0x49a2e2=>{const _0x460a30=_0xeffcbc;this[_0x460a30(0x1bb)][_0x460a30(0x1eb)](_0x49a2e2[_0x460a30(0x1ba)][_0x460a30(0x1b5)]),this[_0x460a30(0x1bb)][_0x460a30(0x1ff)][_0x460a30(0x1a1)][_0x460a30(0x1ab)]();}),_0x1011fa;}[_0x1b3036(0x1c6)](_0x5d7316,_0x325e16,_0x3a997f){const _0x35c7e4=_0x1b3036,_0x4eb4ba=new _0x1fc92c(_0x5d7316),_0x12d74c=this[_0x35c7e4(0x1bb)][_0x35c7e4(0x196)][_0x35c7e4(0x18f)](_0x35c7e4(0x1a6));_0x4eb4ba[_0x35c7e4(0x205)][_0x35c7e4(0x183)]({'label':_0x3a997f,'icon':_0x38d504});const _0x339b42=new _0x428d4d(_0x5d7316);for(const _0x8ee734 of _0x325e16){if(_0x35c7e4(0x203)==_0x8ee734[_0x35c7e4(0x187)]){_0x339b42[_0x35c7e4(0x1cc)][_0x35c7e4(0x1fc)](new _0x591869(_0x5d7316));continue;}const _0x14c2ca=new _0x3dbc3d(_0x5d7316,_0x4eb4ba),_0x5a2eb7=new _0x47267c(_0x5d7316),_0x12f482=_0x8ee734[_0x35c7e4(0x209)];_0x5a2eb7[_0x35c7e4(0x1dd)](...Object[_0x35c7e4(0x20c)](_0x12f482))['to'](_0x12f482),_0x5a2eb7[_0x35c7e4(0x1ee)](_0x35c7e4(0x1eb))['to'](_0x4eb4ba),_0x5a2eb7['on'](_0x35c7e4(0x1eb),()=>{const _0x2c935=_0x35c7e4;this[_0x2c935(0x1bb)][_0x2c935(0x1eb)](_0x12f482[_0x2c935(0x1b5)]),this[_0x2c935(0x1bb)][_0x2c935(0x1ff)][_0x2c935(0x1a1)][_0x2c935(0x1ab)]();}),_0x14c2ca[_0x35c7e4(0x17e)][_0x35c7e4(0x1fc)](_0x5a2eb7),_0x339b42[_0x35c7e4(0x1cc)][_0x35c7e4(0x1fc)](_0x14c2ca);}return _0x4eb4ba[_0x35c7e4(0x1dd)](_0x35c7e4(0x1cb))['to'](_0x12d74c,_0x35c7e4(0x1cb)),_0x4eb4ba[_0x35c7e4(0x1e1)][_0x35c7e4(0x17e)][_0x35c7e4(0x1fc)](_0x339b42),_0x4eb4ba;}[_0x1b3036(0x182)](_0xcf3a2e){const _0x13bc2d=_0x1b3036,_0x4a45ac=this[_0x13bc2d(0x1bb)],_0x163d57=_0x4a45ac[_0x13bc2d(0x17a)],_0x576c19=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x1d7)),_0x579910=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x1be)),_0x19f9d7=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x17f)),_0x2f06fd=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x37341d)['me'],_0x217188=_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1a6))[_0x13bc2d(0x202)],_0x23ded8=_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1a6))[_0x13bc2d(0x1a7)],{CommentsListView:_0x5aafcf,CommentThreadInputView:_0x171da3}=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x1da));let _0x22e458,_0x3449b3,_0x554c7b;this[_0x13bc2d(0x19c)][_0x13bc2d(0x206)](_0xcf3a2e['id'])?(_0x3449b3=this[_0x13bc2d(0x19c)][_0x13bc2d(0x18f)](_0xcf3a2e['id']),_0x22e458=_0x3449b3[_0x13bc2d(0x181)]):(_0x22e458=new _0x217188(_0x4a45ac[_0x13bc2d(0x191)],_0xcf3a2e,_0x2f06fd,{'disableComments':this[_0x13bc2d(0x18b)],'editorConfig':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1e5)),'maxCommentsWhenCollapsed':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1f8)),'maxThreadTotalWeight':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1a5)),'maxCommentCharsWhenCollapsed':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x208)),'formatDateTime':_0x59dc2c(_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x191))),'CommentView':_0x163d57[_0x13bc2d(0x18f)](_0x13bc2d(0x1c1))[_0x13bc2d(0x1d9)],'CommentsListView':_0x5aafcf,'CommentThreadInputView':_0x171da3,'SuggestionView':_0x23ded8}),_0x22e458[_0x13bc2d(0x179)][_0x13bc2d(0x1df)]['on'](_0x13bc2d(0x1eb),()=>{const _0x4327bb=_0x13bc2d;_0x4a45ac[_0x4327bb(0x1ff)][_0x4327bb(0x1a1)][_0x4327bb(0x1ab)]();}),_0x22e458[_0x13bc2d(0x179)][_0x13bc2d(0x1b8)]['on'](_0x13bc2d(0x1eb),()=>{const _0x371d00=_0x13bc2d;_0x4a45ac[_0x371d00(0x1ff)][_0x371d00(0x1a1)][_0x371d00(0x1ab)]();}),_0x3449b3=_0x576c19[_0x13bc2d(0x1a2)](this[_0x13bc2d(0x1bb)][_0x13bc2d(0x191)],_0x22e458),_0x3449b3[_0x13bc2d(0x1dd)](_0x13bc2d(0x184))['to'](_0x22e458,_0x13bc2d(0x184)),_0x3449b3[_0x13bc2d(0x1dd)](_0x13bc2d(0x1c7))['to'](_0x22e458),_0x3449b3[_0x13bc2d(0x1dd)](_0x13bc2d(0x187))['to'](_0x22e458,_0x13bc2d(0x187),_0x11abf0=>_0x13bc2d(0x1b6)+_0x11abf0),_0x22e458['on'](_0x13bc2d(0x19f),()=>{const _0x5a5cae=_0x13bc2d;_0x554c7b[_0x5a5cae(0x17c)](_0x5a5cae(0x19f));}),this[_0x13bc2d(0x19c)][_0x13bc2d(0x183)](_0xcf3a2e['id'],_0x3449b3));const _0x535cbb=_0x579910[_0x13bc2d(0x1a8)](_0xcf3a2e[_0x13bc2d(0x1c8)],_0x22e458),_0x620967=new _0x160749(_0x4a45ac,_0xcf3a2e,_0x22e458,_0x535cbb),_0x89d239=_0xcf3a2e[_0x13bc2d(0x1cf)]()[_0x13bc2d(0x1cd)](_0x334b24=>_0x334b24[_0x13bc2d(0x1f1)]);_0x22e458[_0x13bc2d(0x1ef)]=_0x4a45ac[_0x13bc2d(0x1e6)][_0x13bc2d(0x18f)](_0x13bc2d(0x19b))[_0x13bc2d(0x204)][_0x13bc2d(0x180)](_0x89d239),this[_0x13bc2d(0x1ad)][_0x13bc2d(0x183)](_0xcf3a2e,_0x620967),this[_0x13bc2d(0x197)][_0x13bc2d(0x183)](_0x22e458,_0x620967),_0x554c7b=_0x576c19[_0x13bc2d(0x1ec)]({'view':_0x3449b3,'target':()=>{const _0x4619c3=_0x13bc2d,_0x282da2=[],_0x7f8fdf=_0xcf3a2e[_0x4619c3(0x1cf)]()[_0x4619c3(0x1cd)](_0xae9d14=>_0xae9d14[_0x4619c3(0x1f1)]);for(const _0x2683f1 of _0x7f8fdf)_0x282da2[_0x4619c3(0x198)](..._0x2683f1[_0x4619c3(0x1ae)]());return _0x3bcaf7(_0x4a45ac[_0x4619c3(0x1ff)],_0x282da2);},'type':()=>_0x13bc2d(0x1b6)+_0x620967[_0x13bc2d(0x1a1)][_0x13bc2d(0x187)]}),_0x579910[_0x13bc2d(0x20b)](_0x22e458,_0x554c7b),_0x576c19[_0x13bc2d(0x1fc)](_0x554c7b),_0x19f9d7[_0x13bc2d(0x1e7)](_0x554c7b);}[_0x1b3036(0x1c2)](_0xc05d49){const _0x10033b=_0x1b3036,_0x1b50ad=this[_0x10033b(0x1bb)][_0x10033b(0x1e6)][_0x10033b(0x18f)](_0x10033b(0x1be)),_0x38b787=this[_0x10033b(0x1bb)][_0x10033b(0x1e6)][_0x10033b(0x18f)](_0x10033b(0x1d7)),_0xb9c5b1=this[_0x10033b(0x1ad)][_0x10033b(0x18f)](_0xc05d49),_0x50ee61=_0xb9c5b1[_0x10033b(0x1a1)],_0x1eca71=_0x38b787[_0x10033b(0x186)](_0x50ee61);_0x1b50ad[_0x10033b(0x1d0)](_0x50ee61),_0x1eca71&&_0x38b787[_0x10033b(0x1f7)](_0x1eca71),this[_0x10033b(0x1ad)][_0x10033b(0x18e)](_0xc05d49),this[_0x10033b(0x197)][_0x10033b(0x18e)](_0x50ee61),_0xb9c5b1[_0x10033b(0x1bd)]();}[_0x1b3036(0x1f0)](_0x31a33a){const _0x70d063=_0x1b3036;if(!_0x31a33a[_0x70d063(0x1f1)]||!this[_0x70d063(0x1ad)][_0x70d063(0x206)](_0x31a33a))return;const _0x1ef41e=this[_0x70d063(0x1bb)][_0x70d063(0x1e6)][_0x70d063(0x18f)](_0x70d063(0x19b)),_0x307684=this[_0x70d063(0x1ad)][_0x70d063(0x18f)](_0x31a33a),_0x209a67=_0x31a33a[_0x70d063(0x1cf)]();_0x307684[_0x70d063(0x1a1)][_0x70d063(0x1ef)]=_0x1ef41e[_0x70d063(0x204)][_0x70d063(0x180)](_0x209a67);}[_0x1b3036(0x1bd)](){const _0x38788b=_0x1b3036;for(const _0x6df1fb of this[_0x38788b(0x1ad)][_0x38788b(0x20c)]())this[_0x38788b(0x1c2)](_0x6df1fb);for(const _0x3ef865 of this[_0x38788b(0x19c)][_0x38788b(0x207)]())_0x3ef865[_0x38788b(0x181)][_0x38788b(0x1bd)]();super[_0x38788b(0x1bd)]();}}function me(_0x4acdbf){const _0x5d18a2=_0x1b3036;return _0x5d18a2(0x209)in _0x4acdbf;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2aace3=_0x2bbd;(function(_0x40f5fd,_0x7ba4c7){const _0x474c0a=_0x2bbd,_0x213061=_0x40f5fd();while(!![]){try{const _0xda9c09=parseInt(_0x474c0a(0x11c))/0x1*(-parseInt(_0x474c0a(0x106))/0x2)+-parseInt(_0x474c0a(0x11f))/0x3+-parseInt(_0x474c0a(0x108))/0x4*(parseInt(_0x474c0a(0x107))/0x5)+parseInt(_0x474c0a(0x10a))/0x6*(-parseInt(_0x474c0a(0x119))/0x7)+-parseInt(_0x474c0a(0xfe))/0x8+-parseInt(_0x474c0a(0x11b))/0x9*(-parseInt(_0x474c0a(0x104))/0xa)+-parseInt(_0x474c0a(0xfa))/0xb*(-parseInt(_0x474c0a(0x10b))/0xc);if(_0xda9c09===_0x7ba4c7)break;else _0x213061['push'](_0x213061['shift']());}catch(_0x4c41b3){_0x213061['push'](_0x213061['shift']());}}}(_0x1983,0x6cda8));import{ObservableMixin as _0x49b936}from'ckeditor5/src/utils.js';function _0x1983(){const _0x36f900=['plugins','listenTo','PENDING_ACTION_SUGGESTION','remove','560ZxWAjY','_discardCommand','224396mtHDjv','2800xFDcvy','6336klzDDG','get','1098JpevAs','30988248rpltDw','acceptSuggestion','add','_editor','PendingActions','_pendingAction','getRanges','isEnabled','destroy','isDirty','change:isDirty','canAccept','view','commands','13699TUsmPQ','bind','42183lBCWHh','1yyIrBQ','discardSuggestion','canEditAt','2146530JPZeWL','unbind','model','commentThreadController','locale','execute','stopListening','11yJTEXW','_removePendingAction','_acceptCommand','_setPendingAction','2608664WhTkZJ','canDiscard'];_0x1983=function(){return _0x36f900;};return _0x1983();}import{getTranslation as _0x5a0292}from'../utils/common-translations.js';function _0x2bbd(_0x44a64c,_0x4a33df){const _0x1983e6=_0x1983();return _0x2bbd=function(_0x2bbd86,_0x524a96){_0x2bbd86=_0x2bbd86-0xf7;let _0x5deddc=_0x1983e6[_0x2bbd86];return _0x5deddc;},_0x2bbd(_0x44a64c,_0x4a33df);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49b936(){constructor(_0x59a341,_0x55426e,_0x32747a,_0x46d9e4){const _0x5d08a1=_0x2bbd;super(),this[_0x5d08a1(0x121)]=_0x55426e,this[_0x5d08a1(0x117)]=_0x32747a,this[_0x5d08a1(0x122)]=_0x46d9e4,this[_0x5d08a1(0x10e)]=_0x59a341,this[_0x5d08a1(0xfc)]=_0x59a341[_0x5d08a1(0x118)][_0x5d08a1(0x109)](_0x5d08a1(0x10c)),this[_0x5d08a1(0x105)]=_0x59a341[_0x5d08a1(0x118)][_0x5d08a1(0x109)](_0x5d08a1(0x11d)),this[_0x5d08a1(0x117)][_0x5d08a1(0x11a)](_0x5d08a1(0x112))['to'](this[_0x5d08a1(0xfc)],this[_0x5d08a1(0x105)],(_0x5c3357,_0x335461)=>_0x5c3357||_0x335461),this[_0x5d08a1(0x117)][_0x5d08a1(0x11a)](_0x5d08a1(0x116))['to'](this[_0x5d08a1(0xfc)],_0x5d08a1(0x112),_0x3fd4e8=>_0x3fd4e8&&this[_0x5d08a1(0x10e)][_0x5d08a1(0x121)][_0x5d08a1(0x11e)](_0x55426e[_0x5d08a1(0x111)]())),this[_0x5d08a1(0x117)][_0x5d08a1(0x11a)](_0x5d08a1(0xff))['to'](this[_0x5d08a1(0x105)],_0x5d08a1(0x112),_0x5d093a=>_0x5d093a&&this[_0x5d08a1(0x10e)][_0x5d08a1(0x121)][_0x5d08a1(0x11e)](_0x55426e[_0x5d08a1(0x111)]())),this[_0x5d08a1(0x110)]=null,_0x32747a[_0x5d08a1(0x114)]&&this[_0x5d08a1(0xfd)](),this[_0x5d08a1(0x101)](_0x32747a,_0x5d08a1(0x10c),()=>this[_0x5d08a1(0x10c)]()),this[_0x5d08a1(0x101)](_0x32747a,_0x5d08a1(0x11d),()=>this[_0x5d08a1(0x11d)]()),this[_0x5d08a1(0x101)](_0x32747a,_0x5d08a1(0x115),()=>{const _0x4ef941=_0x5d08a1;_0x32747a[_0x4ef941(0x114)]?this[_0x4ef941(0xfd)]():this[_0x4ef941(0xfb)]();});}[_0x2aace3(0x10c)](){const _0x52b16b=_0x2aace3;this[_0x52b16b(0xfc)][_0x52b16b(0xf8)](this[_0x52b16b(0x121)]['id']);}[_0x2aace3(0x11d)](){const _0x175615=_0x2aace3;this[_0x175615(0x105)][_0x175615(0xf8)](this[_0x175615(0x121)]['id']);}[_0x2aace3(0x113)](){const _0xfa5c74=_0x2aace3;this[_0xfa5c74(0x117)][_0xfa5c74(0x120)](_0xfa5c74(0x112)),this[_0xfa5c74(0x117)][_0xfa5c74(0x120)](_0xfa5c74(0x116)),this[_0xfa5c74(0x117)][_0xfa5c74(0x120)](_0xfa5c74(0xff)),this[_0xfa5c74(0xf9)](),this[_0xfa5c74(0x122)][_0xfa5c74(0x113)](),this[_0xfa5c74(0x110)]&&this[_0xfa5c74(0xfb)]();}[_0x2aace3(0xfd)](){const _0x584b5d=_0x2aace3,_0x113a90=_0x5a0292(this[_0x584b5d(0x10e)][_0x584b5d(0xf7)],_0x584b5d(0x102));this[_0x584b5d(0x110)]=this[_0x584b5d(0x10e)][_0x584b5d(0x100)][_0x584b5d(0x109)](_0x584b5d(0x10f))[_0x584b5d(0x10d)](_0x113a90);}[_0x2aace3(0xfb)](){const _0x2276cf=_0x2aace3;null!==this[_0x2276cf(0x110)]&&this[_0x2276cf(0x10e)][_0x2276cf(0x100)][_0x2276cf(0x109)](_0x2276cf(0x10f))[_0x2276cf(0x103)](this[_0x2276cf(0x110)]),this[_0x2276cf(0x110)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1664(_0x2d9b14,_0x2a64de){const _0x5a8615=_0x5a86();return _0x1664=function(_0x1664b6,_0x147e8b){_0x1664b6=_0x1664b6-0x129;let _0x43e4c5=_0x5a8615[_0x1664b6];return _0x43e4c5;},_0x1664(_0x2d9b14,_0x2a64de);}const _0x1baff4=_0x1664;(function(_0x1e995b,_0x1dafa8){const _0x3de314=_0x1664,_0x3d2ebd=_0x1e995b();while(!![]){try{const _0x39f76a=parseInt(_0x3de314(0x151))/0x1+parseInt(_0x3de314(0x143))/0x2+parseInt(_0x3de314(0x14f))/0x3+parseInt(_0x3de314(0x13a))/0x4*(-parseInt(_0x3de314(0x16b))/0x5)+-parseInt(_0x3de314(0x160))/0x6+-parseInt(_0x3de314(0x136))/0x7*(parseInt(_0x3de314(0x15b))/0x8)+-parseInt(_0x3de314(0x133))/0x9*(parseInt(_0x3de314(0x16d))/0xa);if(_0x39f76a===_0x1dafa8)break;else _0x3d2ebd['push'](_0x3d2ebd['shift']());}catch(_0x3dd426){_0x3d2ebd['push'](_0x3d2ebd['shift']());}}}(_0x5a86,0xae792));import{FocusCycler as _0xbe5d74,View as _0x3cebc9,ViewCollection as _0x1ee501}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2b1eed,KeystrokeHandler as _0x3bd178}from'ckeditor5/src/utils.js';function _0x5a86(){const _0x3ae936=['parseFromString','1071mQDOaC','SUGGESTION_THREAD_DESCRIPTION','submit','609ANmBhs','commentInputView','isDirty','fire','94708LfATcv','canDiscard','author','content','formatDateTime','setData','editor','isActive','value','2546518EDLNuQ','cancel','updateComment','locale','destroy','editorConfig','SUGGESTION_THREAD_ARIA_LABEL','join','focusables','isReadOnly','text/html','hasDirtyComment','4018848MMikCJ','addComment','1369498BkKaPi','assign','tab','render','_model','map','disableComments','_config','focusCycler','_createCommentThreadInputView','102776FlmrnS','target','authoredAt','_localUser','focus','3352818ayzFbH','removeComment','_createCommentViews','disabledSubmit','bind','commentsListView','delegate','showInput','canAccept','ariaDescriptionView','name','185kwNTnE','commentThreadInputView','60100vbIOad','set','element','keystrokes','commentThread','descriptionParts','CommentView','textContent','body','shift+tab','ariaLabel','focusTracker','isEnabled','length'];_0x5a86=function(){return _0x3ae936;};return _0x5a86();}import{AriaDescriptionView as _0x2dfa52,setupThreadKeyboardNavigation as _0x546928}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x27316a}from'../../utils/common-translations.js';import{renderDescription as _0x15fb00}from'../../utils/utils.js';export default class us extends _0x3cebc9{constructor(_0xa5cb74,_0x442db9,_0x499e17,_0x29328b){const _0x46fb92=_0x1664;super(_0xa5cb74),this[_0x46fb92(0x165)]=null,this[_0x46fb92(0x16c)]=null,this[_0x46fb92(0x169)]=new _0x2dfa52(_0xa5cb74,_0x27316a(_0xa5cb74,_0x46fb92(0x134))),this[_0x46fb92(0x16e)](_0x46fb92(0x141),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x15d),_0x442db9[_0x46fb92(0x15d)]),this[_0x46fb92(0x164)](_0x46fb92(0x15d))['to'](_0x442db9),this[_0x46fb92(0x16e)](_0x46fb92(0x129),[]),this[_0x46fb92(0x16e)](_0x46fb92(0x138),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x130),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x168),!0x1),this[_0x46fb92(0x16e)](_0x46fb92(0x13b),!0x1),this[_0x46fb92(0x164)](_0x46fb92(0x12e))['to'](this,_0x46fb92(0x131),_0x442db9,_0x46fb92(0x15d),this,_0x46fb92(0x129),(_0x36cb80,_0xf933cc,_0x31ec3c)=>{const _0x298eb9=_0x46fb92,_0x3d680d=_0x31ec3c[_0x298eb9(0x156)](_0xcee1f7=>_0x15fb00(_0xcee1f7[_0x298eb9(0x13d)]))[_0x298eb9(0x14a)]('.\x20')+'.';return _0x27316a(this[_0x298eb9(0x146)],_0x298eb9(0x149),[_0x36cb80-0x1,_0x442db9[_0x298eb9(0x13c)][_0x298eb9(0x16a)],_0xf933cc?_0x29328b[_0x298eb9(0x13e)](_0xf933cc):'',new DOMParser()[_0x298eb9(0x132)](_0x3d680d,_0x298eb9(0x14d))[_0x298eb9(0x12c)][_0x298eb9(0x12b)]]);}),this[_0x46fb92(0x14b)]=new _0x1ee501(),this[_0x46fb92(0x12f)]=new _0x2b1eed(),this[_0x46fb92(0x170)]=new _0x3bd178(),this[_0x46fb92(0x159)]=new _0xbe5d74({'focusables':this[_0x46fb92(0x14b)],'focusTracker':this[_0x46fb92(0x12f)],'keystrokeHandler':this[_0x46fb92(0x170)],'keystrokeHandlerOptions':{'filter':_0x6f96b5=>_0x6f96b5[_0x46fb92(0x15c)]!==this[_0x46fb92(0x16f)]},'actions':{'focusPrevious':_0x46fb92(0x12d),'focusNext':_0x46fb92(0x153)}}),this[_0x46fb92(0x155)]=_0x442db9,this[_0x46fb92(0x15e)]=_0x499e17,this[_0x46fb92(0x158)]=_0x29328b,_0x29328b[_0x46fb92(0x157)]?this[_0x46fb92(0x16e)](_0x46fb92(0x131),0x1):this[_0x46fb92(0x162)]();}[_0x1baff4(0x154)](){const _0x1b9a55=_0x1baff4;super[_0x1b9a55(0x154)](),_0x546928(this,this[_0x1b9a55(0x14b)]);}[_0x1baff4(0x15f)](){const _0x5ccd51=_0x1baff4;this[_0x5ccd51(0x16f)][_0x5ccd51(0x15f)]();}[_0x1baff4(0x147)](){const _0x7860b6=_0x1baff4;this[_0x7860b6(0x165)]&&this[_0x7860b6(0x165)][_0x7860b6(0x147)](),this[_0x7860b6(0x16c)]&&this[_0x7860b6(0x16c)][_0x7860b6(0x147)](),super[_0x7860b6(0x147)]();}[_0x1baff4(0x162)](){const _0x2e7acf=_0x1baff4,{CommentsListView:_0xaf1eae}=this[_0x2e7acf(0x158)];this[_0x2e7acf(0x165)]=new _0xaf1eae(this[_0x2e7acf(0x146)],this[_0x2e7acf(0x155)][_0x2e7acf(0x171)],Object[_0x2e7acf(0x152)]({'CommentView':this[_0x2e7acf(0x158)][_0x2e7acf(0x12a)]},this[_0x2e7acf(0x158)])),this[_0x2e7acf(0x165)][_0x2e7acf(0x166)](_0x2e7acf(0x161))['to'](this),this[_0x2e7acf(0x165)][_0x2e7acf(0x166)](_0x2e7acf(0x145))['to'](this),this[_0x2e7acf(0x165)][_0x2e7acf(0x164)](_0x2e7acf(0x141))['to'](this),this[_0x2e7acf(0x16e)](_0x2e7acf(0x131),this[_0x2e7acf(0x165)][_0x2e7acf(0x131)]+0x1),this[_0x2e7acf(0x164)](_0x2e7acf(0x131))['to'](this[_0x2e7acf(0x165)],_0x2e7acf(0x131),_0x25e1d2=>_0x25e1d2+0x1),this[_0x2e7acf(0x16c)]=this[_0x2e7acf(0x15a)](),this['on'](_0x2e7acf(0x161),()=>this[_0x2e7acf(0x15f)]()),this[_0x2e7acf(0x164)](_0x2e7acf(0x138))['to'](this[_0x2e7acf(0x165)],_0x2e7acf(0x14e),this[_0x2e7acf(0x16c)][_0x2e7acf(0x137)],_0x2e7acf(0x142),(_0xa8be35,_0x27415d)=>_0xa8be35||!!_0x27415d);}[_0x1baff4(0x15a)](){const _0x3e87fb=_0x1baff4,{CommentThreadInputView:_0x242ed4}=this[_0x3e87fb(0x158)],_0x164443=new _0x242ed4(this[_0x3e87fb(0x146)],this[_0x3e87fb(0x15e)],this[_0x3e87fb(0x158)][_0x3e87fb(0x148)]),_0x428400=_0x164443[_0x3e87fb(0x137)];return _0x164443[_0x3e87fb(0x164)](_0x3e87fb(0x167))['to'](this,_0x3e87fb(0x141),this[_0x3e87fb(0x155)][_0x3e87fb(0x171)],_0x3e87fb(0x14c),_0x428400,_0x3e87fb(0x142),(_0x5ae80d,_0x141aad,_0x379f7d)=>!!_0x379f7d||_0x5ae80d&&!_0x141aad),_0x428400['on'](_0x3e87fb(0x135),(_0x5c681b,_0x4c8fce)=>{const _0x2edc0e=_0x3e87fb;this[_0x2edc0e(0x139)](_0x2edc0e(0x150),_0x4c8fce),_0x428400[_0x2edc0e(0x140)][_0x2edc0e(0x13f)]('');}),_0x428400['on'](_0x3e87fb(0x144),()=>this[_0x3e87fb(0x15f)]()),_0x428400[_0x3e87fb(0x164)](_0x3e87fb(0x163))['to'](this[_0x3e87fb(0x155)][_0x3e87fb(0x171)],_0x3e87fb(0x14c)),_0x164443;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a101b=_0xb5f8;function _0x34fc(){const _0x48a721=['297031qnHEne','listitem','commentThreadInputView','content','ck-suggestion-','6jLNItV','ck-suggestion-wrapper','set','_config','1015700PodjwX','suggestionView','ariaLabel','10zVKrFl','ck-suggestion--disabled-comments','setTemplate','ariaDescriptionView','isActive','118532hZbVXT','color','focusables','div','SuggestionView','canAccept','add','bind','3fVBsNV','discardButton','isEnabled','render','_model','20BVYAlU','type','descriptionParts','discardSuggestion','disableComments','commentsListView','</p>','bindTemplate','push','1710384tgoMim','ck-suggestion-wrapper--active','_descriptionElement','editorReady','648009YuMIPe','delegate','84Ohxexa','acceptSuggestion','canDiscard','3274hFQMLc','ck-rounded-corners','acceptButton','author','formatDateTime','description','editorDestroyed','<p>','getTemplate','commentThread','749243hPPatR'];_0x34fc=function(){return _0x48a721;};return _0x34fc();}(function(_0x4e8f8e,_0x40d2b4){const _0x5d7277=_0xb5f8,_0x2e9f54=_0x4e8f8e();while(!![]){try{const _0x48a9aa=-parseInt(_0x5d7277(0x126))/0x1*(parseInt(_0x5d7277(0x102))/0x2)+parseInt(_0x5d7277(0x10f))/0x3*(parseInt(_0x5d7277(0x107))/0x4)+parseInt(_0x5d7277(0x13a))/0x5+parseInt(_0x5d7277(0x136))/0x6*(parseInt(_0x5d7277(0x131))/0x7)+parseInt(_0x5d7277(0x11d))/0x8+-parseInt(_0x5d7277(0x121))/0x9*(-parseInt(_0x5d7277(0x114))/0xa)+-parseInt(_0x5d7277(0x130))/0xb*(parseInt(_0x5d7277(0x123))/0xc);if(_0x48a9aa===_0x40d2b4)break;else _0x2e9f54['push'](_0x2e9f54['shift']());}catch(_0x139ee5){_0x2e9f54['push'](_0x2e9f54['shift']());}}}(_0x34fc,0x22245));import{default as _0x392d8c}from'./basesuggestionthreadview.js';import{trimHtml as _0x20b8b9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x4cd1fa}from'../../utils/utils.js';function _0xb5f8(_0x2514a9,_0x236580){const _0x34fc1a=_0x34fc();return _0xb5f8=function(_0xb5f888,_0x233700){_0xb5f888=_0xb5f888-0x101;let _0x4ef91c=_0x34fc1a[_0xb5f888];return _0x4ef91c;},_0xb5f8(_0x2514a9,_0x236580);}export default class re extends _0x392d8c{constructor(_0x20010c,_0x3a9ad4,_0x29464a,_0x3a35f6){const _0x4f2528=_0xb5f8;super(_0x20010c,_0x3a9ad4,_0x29464a,_0x3a35f6),this[_0x4f2528(0x138)](_0x4f2528(0x115),''),this[_0x4f2528(0x10e)](_0x4f2528(0x115))['to'](this,_0x4f2528(0x116),_0x40491a=>_0x40491a&&_0x40491a[0x0]?_0x40491a[0x0][_0x4f2528(0x115)]:''),this[_0x4f2528(0x10e)](_0x4f2528(0x12b))['to'](this,_0x4f2528(0x116),this,_0x4f2528(0x106),(_0x195d1f,_0x50bcb6)=>{const _0x3a2da8=_0x4f2528;let _0x56514f='';for(const _0x19951a of _0x195d1f)_0x56514f+=_0x3a2da8(0x12d)+_0x4cd1fa(_0x19951a[_0x3a2da8(0x134)],_0x19951a[_0x3a2da8(0x108)])+_0x3a2da8(0x11a);return _0x50bcb6?_0x56514f:_0x20b8b9(_0x56514f,{'limit':0x8c});}),this[_0x4f2528(0x11f)]=null,this[_0x4f2528(0x13b)]=new _0x3a35f6[(_0x4f2528(0x10b))](_0x20010c,_0x3a9ad4,{'formatDateTime':_0x3a35f6[_0x4f2528(0x12a)]}),this[_0x4f2528(0x13b)][_0x4f2528(0x10e)](_0x4f2528(0x12b))['to'](this),this[_0x4f2528(0x13b)][_0x4f2528(0x122)](_0x4f2528(0x124),_0x4f2528(0x117))['to'](this),this[_0x4f2528(0x13b)][_0x4f2528(0x128)][_0x4f2528(0x10e)](_0x4f2528(0x111))['to'](this,_0x4f2528(0x10c)),this[_0x4f2528(0x13b)][_0x4f2528(0x110)][_0x4f2528(0x10e)](_0x4f2528(0x111))['to'](this,_0x4f2528(0x125)),this[_0x4f2528(0x109)][_0x4f2528(0x10d)](this[_0x4f2528(0x13b)]),this[_0x4f2528(0x119)]&&this[_0x4f2528(0x109)][_0x4f2528(0x10d)](this[_0x4f2528(0x119)]),this[_0x4f2528(0x133)]&&this[_0x4f2528(0x109)][_0x4f2528(0x10d)](this[_0x4f2528(0x133)]),this[_0x4f2528(0x104)](this[_0x4f2528(0x12e)]());}[_0x3a101b(0x12e)](){const _0x2bb014=_0x3a101b,_0x27321a=this[_0x2bb014(0x11b)],_0x4c5e3e=[this[_0x2bb014(0x13b)]];return this[_0x2bb014(0x119)]&&_0x4c5e3e[_0x2bb014(0x11c)](this[_0x2bb014(0x119)]),this[_0x2bb014(0x133)]&&_0x4c5e3e[_0x2bb014(0x11c)](this[_0x2bb014(0x133)]),_0x4c5e3e[_0x2bb014(0x11c)](this[_0x2bb014(0x105)]),{'tag':_0x2bb014(0x10a),'attributes':{'class':['ck',_0x2bb014(0x127),_0x2bb014(0x137),_0x27321a['if'](_0x2bb014(0x106),_0x2bb014(0x11e)),_0x27321a['to'](_0x2bb014(0x115),_0xc16365=>_0x2bb014(0x135)+_0xc16365),this[_0x2bb014(0x139)][_0x2bb014(0x118)]&&_0x2bb014(0x103)],'data-suggestion-id':this[_0x2bb014(0x113)]['id'],'data-thread-id':this[_0x2bb014(0x113)][_0x2bb014(0x12f)]['id'],'data-author-id':this[_0x2bb014(0x113)][_0x2bb014(0x129)]['id'],'tabindex':0x0,'role':_0x2bb014(0x132),'aria-label':_0x27321a['to'](_0x2bb014(0x101)),'aria-describedby':this[_0x2bb014(0x105)]['id']},'children':_0x4c5e3e};}[_0x3a101b(0x112)](){const _0x149eac=_0x3a101b;super[_0x149eac(0x112)](),this[_0x149eac(0x119)]&&(this[_0x149eac(0x119)][_0x149eac(0x122)](_0x149eac(0x120))['to'](this),this[_0x149eac(0x119)][_0x149eac(0x122)](_0x149eac(0x12c))['to'](this)),this[_0x149eac(0x133)]&&(this[_0x149eac(0x133)][_0x149eac(0x122)](_0x149eac(0x120))['to'](this),this[_0x149eac(0x133)][_0x149eac(0x122)](_0x149eac(0x12c))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x516e67=_0x205e;(function(_0x3fa82e,_0x4b4410){const _0x11585e=_0x205e,_0x22ecbc=_0x3fa82e();while(!![]){try{const _0x45b13e=-parseInt(_0x11585e(0x18b))/0x1+-parseInt(_0x11585e(0x169))/0x2*(-parseInt(_0x11585e(0x1b9))/0x3)+-parseInt(_0x11585e(0x16b))/0x4*(parseInt(_0x11585e(0x19a))/0x5)+parseInt(_0x11585e(0x16e))/0x6+-parseInt(_0x11585e(0x19d))/0x7*(-parseInt(_0x11585e(0x19f))/0x8)+parseInt(_0x11585e(0x187))/0x9+parseInt(_0x11585e(0x1b1))/0xa*(-parseInt(_0x11585e(0x193))/0xb);if(_0x45b13e===_0x4b4410)break;else _0x22ecbc['push'](_0x22ecbc['shift']());}catch(_0x40d78b){_0x22ecbc['push'](_0x22ecbc['shift']());}}}(_0x1874,0x93a19));import{FocusTracker as _0x1d80ed,KeystrokeHandler as _0x1f6f72}from'ckeditor5/src/utils.js';function _0x205e(_0x36cc49,_0x566a2f){const _0x187438=_0x1874();return _0x205e=function(_0x205e59,_0x51bff4){_0x205e59=_0x205e59-0x166;let _0xa0102b=_0x187438[_0x205e59];return _0xa0102b;},_0x205e(_0x36cc49,_0x566a2f);}import{View as _0x3c85ae,ViewCollection as _0xd2649,FocusCycler as _0x544204}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x55dc82,UserView as _0x3778fc}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x2b0b5d}from'ckeditor5/src/core.js';function _0x1874(){const _0x34dd47=['extendTemplate','fire','name','formatDateTime','cancel','render','485jHrRGV','setTemplate','target','7xKkJaN','ck-comment__info-time','1258256BDFPjo','ck-suggestion__main','EXTERNAL_IMPORT_WORD_SUGGESTION','isExternal','ck-suggestion__actions','presentation','time','execute','getExternalSuggestionNote','querySelector','creator','ck-annotation__info-name','ck-annotation__info','ck-annotation','ck-suggestion__user','focusFirst','acceptSuggestion','check','5766100pVFvYp','Discard\x20suggestion','set','@external','ck-suggestion__info-name','listenTo','div','ck-annotation__content-wrapper','951bpKioq','_createButton','add','focus','focusCycler','ck-annotation__main','locale','ck-annotation__info-time','discardSuggestion','keystrokes','focusTracker','EXTERNAL_AVATAR','4874UnECnb','ck-suggestion__info','6492wtWZAP','userView','source','537654IZOQxX','bindTemplate','Accept\x20suggestion','_config','authoredAt','ck-annotation__user','EXTERNAL_IMPORT_WORD_AVATAR','_model','bind','acceptButton','_setupKeyboardNavigation','getUserViewNotificationText','ck-comment__external','innerHTML','importWord','EXTERNAL_SUGGESTION','tab','getTemplate','focusables','.ck-annotation__content-wrapper','shift+tab','ck-suggestion','esc','description','ck-annotation__actions','4555971aTSubF','push','element','ck-suggestion--accept','186901tvSbex','change:description','span','ck-suggestion--discard','author','enter','discardButton','attributes','11TMaBUy'];_0x1874=function(){return _0x34dd47;};return _0x1874();}import{getTranslation as _0x5bee92}from'../../utils/common-translations.js';export default class ce extends _0x3c85ae{constructor(_0x11febf,_0x4c9c25,_0x4a0abd){const _0x52dc6b=_0x205e;super(_0x11febf),this[_0x52dc6b(0x175)]=_0x4c9c25,this[_0x52dc6b(0x171)]=_0x4a0abd,this[_0x52dc6b(0x1b3)](_0x52dc6b(0x185),''),this[_0x52dc6b(0x176)](_0x52dc6b(0x172))['to'](_0x4c9c25),this[_0x52dc6b(0x177)]=this[_0x52dc6b(0x1ba)](_0x5bee92(_0x11febf,_0x52dc6b(0x170)),_0x2b0b5d[_0x52dc6b(0x1b0)],_0x52dc6b(0x18a),_0x52dc6b(0x1af),'sw'),this[_0x52dc6b(0x191)]=this[_0x52dc6b(0x1ba)](_0x5bee92(_0x11febf,_0x52dc6b(0x1b2)),_0x2b0b5d[_0x52dc6b(0x198)],_0x52dc6b(0x18e),_0x52dc6b(0x1c1),'sw'),this[_0x52dc6b(0x16c)]=new _0x3778fc(_0x11febf,_0x4c9c25[_0x52dc6b(0x18f)],this[_0x52dc6b(0x179)]()),this[_0x52dc6b(0x16c)][_0x52dc6b(0x194)]({'attributes':{'class':[_0x52dc6b(0x1ad),_0x52dc6b(0x173)],'aria-hidden':!0x0}}),this[_0x52dc6b(0x180)]=new _0xd2649([this[_0x52dc6b(0x177)],this[_0x52dc6b(0x191)]]),this[_0x52dc6b(0x167)]=new _0x1d80ed(),this[_0x52dc6b(0x166)]=new _0x1f6f72(),this[_0x52dc6b(0x1bd)]=new _0x544204({'focusables':this[_0x52dc6b(0x180)],'focusTracker':this[_0x52dc6b(0x167)],'keystrokeHandler':this[_0x52dc6b(0x166)],'actions':{'focusPrevious':_0x52dc6b(0x182),'focusNext':_0x52dc6b(0x17e)},'keystrokeHandlerOptions':{'filter':_0x3ef946=>_0x3ef946[_0x52dc6b(0x19c)]!==this[_0x52dc6b(0x189)]}}),this[_0x52dc6b(0x19b)](this[_0x52dc6b(0x17f)]());}[_0x516e67(0x199)](){const _0x200eba=_0x516e67;super[_0x200eba(0x199)]();const _0x445248=this[_0x200eba(0x189)][_0x200eba(0x1a8)](_0x200eba(0x181));_0x445248[_0x200eba(0x17b)]=this[_0x200eba(0x185)],this['on'](_0x200eba(0x18c),(_0x9ab69f,_0x51a234,_0x1170ea)=>{const _0x59fa04=_0x200eba;_0x445248[_0x59fa04(0x17b)]=_0x1170ea;}),this[_0x200eba(0x178)]();}[_0x516e67(0x17f)](){const _0x53ef6b=_0x516e67,_0x19f1ab=this[_0x53ef6b(0x16f)],_0x204168=[{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x16a),_0x53ef6b(0x1ab)]},'children':[{'tag':_0x53ef6b(0x18d),'children':[{'text':this[_0x53ef6b(0x16c)][_0x53ef6b(0x196)]}],'attributes':{'class':[_0x53ef6b(0x1b5),_0x53ef6b(0x1aa)]}},{'tag':_0x53ef6b(0x1a5),'attributes':{'datetime':_0x19f1ab['to'](_0x53ef6b(0x172)),'class':[_0x53ef6b(0x19e),_0x53ef6b(0x1c0)]},'children':[{'text':_0x19f1ab['to'](_0x53ef6b(0x172),_0x2ae595=>this[_0x53ef6b(0x171)][_0x53ef6b(0x197)](_0x2ae595))}]}]},{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x1a3),_0x53ef6b(0x186)]},'children':[this[_0x53ef6b(0x177)],this[_0x53ef6b(0x191)]]},{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x1b8)]}}];return this[_0x53ef6b(0x175)][_0x53ef6b(0x1a2)]&&_0x204168[_0x53ef6b(0x188)]({'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x17a)]},'children':[{'text':this[_0x53ef6b(0x1a7)]()}]}),{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x183),_0x53ef6b(0x1ac)],'tabindex':-0x1},'children':[this[_0x53ef6b(0x16c)],{'tag':_0x53ef6b(0x1b7),'attributes':{'class':[_0x53ef6b(0x1a0),_0x53ef6b(0x1be)],'role':_0x53ef6b(0x1a4)},'children':_0x204168}]};}[_0x516e67(0x1bc)](){const _0x41c17e=_0x516e67;this[_0x41c17e(0x189)][_0x41c17e(0x1bc)]();}[_0x516e67(0x179)](){const _0x187640=_0x516e67;return this[_0x187640(0x175)][_0x187640(0x1a2)]?_0x187640(0x17c)===this[_0x187640(0x175)][_0x187640(0x192)][_0x187640(0x1b4)][_0x187640(0x16d)]?_0x5bee92(this[_0x187640(0x1bf)],_0x187640(0x174),this[_0x187640(0x175)][_0x187640(0x1a9)][_0x187640(0x196)]):_0x5bee92(this[_0x187640(0x1bf)],_0x187640(0x168),this[_0x187640(0x175)][_0x187640(0x1a9)][_0x187640(0x196)]):null;}[_0x516e67(0x1a7)](){const _0x189e78=_0x516e67;return _0x189e78(0x17c)===this[_0x189e78(0x175)][_0x189e78(0x192)][_0x189e78(0x1b4)][_0x189e78(0x16d)]?_0x5bee92(this[_0x189e78(0x1bf)],_0x189e78(0x1a1)):_0x5bee92(this[_0x189e78(0x1bf)],_0x189e78(0x17d));}[_0x516e67(0x1ba)](_0x371a31,_0x5beefe,_0x5ea3b8,_0x5181bb,_0x44a5b6){const _0x1ef0a6=_0x516e67,_0x2d0c61=new _0x55dc82(this[_0x1ef0a6(0x1bf)]);return _0x2d0c61[_0x1ef0a6(0x1b3)]({'label':_0x371a31,'icon':_0x5beefe,'tooltip':!0x0,'tooltipPosition':_0x44a5b6}),_0x2d0c61[_0x1ef0a6(0x194)]({'attributes':{'class':_0x5ea3b8}}),_0x2d0c61['on'](_0x1ef0a6(0x1a6),()=>{const _0x3cde38=_0x1ef0a6;this[_0x3cde38(0x195)](_0x5181bb,this[_0x3cde38(0x175)]['id']);}),_0x2d0c61;}[_0x516e67(0x178)](){const _0x51df09=_0x516e67,_0xd5db3c=this[_0x51df09(0x189)];this[_0x51df09(0x166)][_0x51df09(0x1b6)](_0xd5db3c);for(const _0x35b648 of this[_0x51df09(0x180)])this[_0x51df09(0x167)][_0x51df09(0x1bb)](_0x35b648[_0x51df09(0x189)]),this[_0x51df09(0x166)][_0x51df09(0x1b6)](_0x35b648[_0x51df09(0x189)]);this[_0x51df09(0x166)][_0x51df09(0x1b3)](_0x51df09(0x190),(_0x3eabf3,_0x248cf1)=>{const _0x9fe624=_0x51df09;_0xd5db3c===_0x3eabf3[_0x9fe624(0x19c)]&&(this[_0x9fe624(0x1bd)][_0x9fe624(0x1ae)](),_0x248cf1());}),this[_0x51df09(0x166)][_0x51df09(0x1b3)](_0x51df09(0x184),(_0x45c0be,_0x2a30f6)=>{const _0x588fd7=_0x51df09;_0xd5db3c!==_0x45c0be[_0x588fd7(0x19c)]&&(this[_0x588fd7(0x1bc)](),_0x2a30f6());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3b6155,_0xcd9960,_0x35673d){const t=_0x3b6155['t'];switch(_0xcd9960){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',_0x35673d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x35673d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x35673d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x35673d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x35673d);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',_0x35673d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x35673d);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',_0x35673d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x35673d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x35673d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x35673d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x35673d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x35673d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x35673d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x35673d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x35673d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x35673d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x35673d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x35673d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x35673d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x35673d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x35673d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x35673d);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'},_0x35673d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x35673d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x35673d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x35673d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x35673d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x35673d);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'},_0x35673d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x35673d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x35673d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x35673d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x35673d);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'},_0x35673d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x35673d);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'},_0x35673d);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'},_0x35673d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x35673d);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'},_0x35673d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x35673d);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'},_0x35673d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x35673d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x35673d);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'},_0x35673d);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x35673d);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x35673d);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x35673d);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'},_0x35673d);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'},_0x35673d);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'},_0x35673d);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xcd9960;}}
|
|
23
|
+
export function getTranslation(_0x3f7975,_0x2f5a64,_0x1fbb11){const t=_0x3f7975['t'];switch(_0x2f5a64){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',_0x1fbb11);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1fbb11);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1fbb11);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1fbb11);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1fbb11);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',_0x1fbb11);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1fbb11);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',_0x1fbb11);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1fbb11);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1fbb11);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1fbb11);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1fbb11);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1fbb11);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1fbb11);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1fbb11);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1fbb11);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1fbb11);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1fbb11);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1fbb11);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1fbb11);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1fbb11);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1fbb11);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1fbb11);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1fbb11);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1fbb11);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1fbb11);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1fbb11);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1fbb11);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1fbb11);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1fbb11);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'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1fbb11);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'},_0x1fbb11);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1fbb11);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1fbb11);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'},_0x1fbb11);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1fbb11);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1fbb11);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1fbb11);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'},_0x1fbb11);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'},_0x1fbb11);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'},_0x1fbb11);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2f5a64;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2462c7,_0x2a974c){const _0x3babad=_0x5042,_0x1806b3=_0x2462c7();while(!![]){try{const _0x26f248=-parseInt(_0x3babad(0x12f))/0x1+parseInt(_0x3babad(0x12c))/0x2+parseInt(_0x3babad(0x123))/0x3+parseInt(_0x3babad(0x111))/0x4+parseInt(_0x3babad(0x102))/0x5+-parseInt(_0x3babad(0x116))/0x6*(-parseInt(_0x3babad(0x126))/0x7)+-parseInt(_0x3babad(0x105))/0x8;if(_0x26f248===_0x2a974c)break;else _0x1806b3['push'](_0x1806b3['shift']());}catch(_0x10ed7b){_0x1806b3['push'](_0x1806b3['shift']());}}}(_0x244a,0xb6948));export function normalizeDescription(_0x20ac96){const _0x291644=_0x5042;return Array[_0x291644(0x121)](_0x20ac96)||(_0x20ac96=[_0x20ac96]),_0x20ac96[_0x291644(0x135)](_0x3e9e36=>{const _0x366014=_0x291644,_0x5313aa=_0x3e9e36[_0x366014(0x129)][_0x366014(0x110)](/\*/g,''),_0x65a082=_0x3e9e36[_0x366014(0x122)]?_0x366014(0x10f)+_0x3e9e36[_0x366014(0x122)][_0x366014(0x11e)]+']':'';return'['+_0x3e9e36[_0x366014(0x117)]+']\x20'+_0x5313aa+_0x65a082;})[_0x291644(0x10b)](';\x20');}export function renderDescription(_0x22ef9f,_0x28bdf6){const _0x16d4d7=_0x5042;let _0x173fc8='';return _0x173fc8+=_0x22ef9f[_0x16d4d7(0x127)]('*')[_0x16d4d7(0x135)]((_0x4dfb78,_0x45c5b3)=>_0x45c5b3%0x2!=0x0?_0x16d4d7(0x10e)+nn(_0x4dfb78)+_0x16d4d7(0x12d):nn(_0x4dfb78))[_0x16d4d7(0x10b)](''),_0x28bdf6&&(_0x173fc8+=_0x16d4d7(0x115)+_0x28bdf6[_0x16d4d7(0x11e)]+_0x16d4d7(0x124)+_0x28bdf6[_0x16d4d7(0x103)]+_0x16d4d7(0x109)),_0x173fc8;}function nn(_0x520b0a){const _0x2c6ad0=_0x5042,_0x1f88c0=document[_0x2c6ad0(0x10a)](_0x2c6ad0(0x114));return _0x1f88c0[_0x2c6ad0(0x106)]=_0x520b0a,_0x1f88c0[_0x2c6ad0(0x112)];}export function sortSuggestions(_0x47abe6){const _0x1394ad=_0x5042;return _0x47abe6[_0x1394ad(0x12e)]((_0x589473,_0x182e98)=>_0x1394ad(0x113)==_0x589473[_0x1394ad(0x117)]&&_0x1394ad(0x113)!=_0x182e98[_0x1394ad(0x117)]?-0x1:_0x1394ad(0x113)!=_0x589473[_0x1394ad(0x117)]&&_0x1394ad(0x113)==_0x182e98[_0x1394ad(0x117)]?0x1:0x0);}export function getSelectedSuggestions(_0x4dc833,_0x5cf1cd){const _0x3dba94=_0x5042,_0x5c0c11=Array[_0x3dba94(0x11f)](_0x4dc833[_0x3dba94(0x12a)]()),_0x2b7283=new Set();for(const _0x300b14 of _0x5cf1cd)if(_0x300b14[_0x3dba94(0x119)]){for(const _0x584f56 of _0x5c0c11)for(const _0x2d2bd2 of _0x300b14[_0x3dba94(0x12a)]())(_0x584f56[_0x3dba94(0x128)](_0x2d2bd2)||_0x4dc833[_0x3dba94(0x131)]&&!_0x300b14[_0x3dba94(0x11d)]&&_0x300b14[_0x3dba94(0x10d)]&&_0x2d2bd2[_0x3dba94(0x12b)][_0x3dba94(0x130)](_0x584f56[_0x3dba94(0x11b)]))&&_0x2b7283[_0x3dba94(0x132)](_0x300b14);}return _0x2b7283;}export function getRangesOfBlockGroups(_0xea2ba7,_0x53d939){const _0x30a597=_0x5042;let _0x5879de,_0x3f5888=0x0;const _0x29afeb=[],_0x40c771=_0x53d939[_0x30a597(0x134)];for(;_0x3f5888<_0xea2ba7[_0x30a597(0x118)];){const _0x4b4f91=_0xea2ba7[_0x3f5888],_0xa51150=_0xea2ba7[_0x3f5888+0x1];_0x5879de||(_0x5879de=_0x53d939[_0x30a597(0x104)](_0x4b4f91)),on(_0x53d939,_0x4b4f91,_0xa51150)||(_0x29afeb[_0x30a597(0x108)](_0x53d939[_0x30a597(0x133)](_0x5879de,_0x40c771[_0x30a597(0x11c)](_0x4b4f91)?_0x53d939[_0x30a597(0x107)](_0x4b4f91):_0x53d939[_0x30a597(0x11a)](_0x4b4f91,_0x30a597(0x12b)))),_0x5879de=null),_0x3f5888++;}return _0x29afeb;}function on(_0x4f2cb4,_0x34c7de,_0x5f3e37){const _0x48147b=_0x5042;if(!_0x5f3e37)return!0x1;const _0x363cfe=_0x4f2cb4[_0x48147b(0x107)](_0x34c7de),_0x2dac32=_0x4f2cb4[_0x48147b(0x104)](_0x5f3e37);return _0x363cfe[_0x48147b(0x130)](_0x2dac32);}function _0x5042(_0x1c7bae,_0x531aa9){const _0x244a0b=_0x244a();return _0x5042=function(_0x5042a6,_0x76122b){_0x5042a6=_0x5042a6-0x102;let _0x574a9f=_0x244a0b[_0x5042a6];return _0x574a9f;},_0x5042(_0x1c7bae,_0x531aa9);}function _0x244a(){const _0x4c6bfe=['end','2736622LoJBkS','</span>','sort','1434294eHehWD','isTouching','isCollapsed','add','createRange','schema','map','6736240dtDJsw','title','createPositionBefore','31230192HxZQCS','innerText','createPositionAfter','push','\x22></span>','createElement','join','change','next','<span\x20class=\x22ck-suggestion-type\x22>','\x20[color\x20','replace','4940512edZcRz','innerHTML','deletion','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','33882rtvEcx','type','length','isInContent','createPositionAt','start','isObject','isMultiRange','value','from','splice','isArray','color','2983605WVBhZN','\x22\x20title=\x22','execute','1414NHXRIG','split','isIntersecting','content','getRanges'];_0x244a=function(){return _0x4c6bfe;};return _0x244a();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x404848,_0x10b2e6,_0x3ec681){const _0xb3b98a=_0x5042;for(;_0x3ec681[_0xb3b98a(0x118)];){const _0x1255ee=_0x3ec681[_0xb3b98a(0x120)](0x0,0x64);_0x404848[_0xb3b98a(0x10c)](()=>{const _0x2d9c94=_0xb3b98a;for(const _0x5554cd of _0x1255ee)_0x5554cd[_0x2d9c94(0x119)]&&_0x10b2e6[_0x2d9c94(0x125)](_0x5554cd['id']);});}}
|