@ckeditor/ckeditor5-track-changes 41.3.1 → 41.4.0-alpha.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-content.css +4 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +4 -0
- package/dist/index.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +44 -0
- package/dist/types/commands/acceptsuggestioncommand.d.ts +28 -0
- package/dist/types/commands/discardsuggestioncommand.d.ts +28 -0
- package/dist/types/commands/executeonallsuggestionscommand.d.ts +28 -0
- package/dist/types/commands/executeonselectedsuggestionscommand.d.ts +28 -0
- package/dist/types/commands/trackchangescommand.d.ts +30 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/integrations/aiassistant.d.ts +21 -0
- package/dist/types/integrations/alignment.d.ts +21 -0
- package/dist/types/integrations/basicstyles.d.ts +21 -0
- package/dist/types/integrations/blockquote.d.ts +21 -0
- package/dist/types/integrations/casechange.d.ts +21 -0
- package/dist/types/integrations/ckbox.d.ts +21 -0
- package/dist/types/integrations/codeblock.d.ts +21 -0
- package/dist/types/integrations/comments.d.ts +18 -0
- package/dist/types/integrations/deletecommand.d.ts +21 -0
- package/dist/types/integrations/entercommand.d.ts +20 -0
- package/dist/types/integrations/findandreplace.d.ts +25 -0
- package/dist/types/integrations/font.d.ts +21 -0
- package/dist/types/integrations/formatpainter.d.ts +21 -0
- package/dist/types/integrations/heading.d.ts +21 -0
- package/dist/types/integrations/highlight.d.ts +21 -0
- package/dist/types/integrations/horizontalline.d.ts +21 -0
- package/dist/types/integrations/htmlembed.d.ts +21 -0
- package/dist/types/integrations/image.d.ts +21 -0
- package/dist/types/integrations/imagereplace.d.ts +21 -0
- package/dist/types/integrations/imagestyle.d.ts +21 -0
- package/dist/types/integrations/importword.d.ts +22 -0
- package/dist/types/integrations/indent.d.ts +21 -0
- package/dist/types/integrations/inputcommand.d.ts +20 -0
- package/dist/types/integrations/legacylist.d.ts +21 -0
- package/dist/types/integrations/legacylistproperties.d.ts +33 -0
- package/dist/types/integrations/link.d.ts +21 -0
- package/dist/types/integrations/list.d.ts +21 -0
- package/dist/types/integrations/listproperties.d.ts +24 -0
- package/dist/types/integrations/mediaembed.d.ts +21 -0
- package/dist/types/integrations/mention.d.ts +21 -0
- package/dist/types/integrations/multilevellist.d.ts +28 -0
- package/dist/types/integrations/pagebreak.d.ts +21 -0
- package/dist/types/integrations/paragraph.d.ts +21 -0
- package/dist/types/integrations/removeformat.d.ts +21 -0
- package/dist/types/integrations/restrictededitingmode.d.ts +21 -0
- package/dist/types/integrations/shiftentercommand.d.ts +20 -0
- package/dist/types/integrations/standardeditingmode.d.ts +21 -0
- package/dist/types/integrations/style.d.ts +21 -0
- package/dist/types/integrations/table.d.ts +46 -0
- package/dist/types/integrations/tablecaption.d.ts +26 -0
- package/dist/types/integrations/tableclipboard.d.ts +23 -0
- package/dist/types/integrations/tablecolumnresize.d.ts +30 -0
- package/dist/types/integrations/tableheadings.d.ts +26 -0
- package/dist/types/integrations/tablemergesplit.d.ts +26 -0
- package/dist/types/integrations/tableofcontents.d.ts +21 -0
- package/dist/types/integrations/tableproperties.d.ts +31 -0
- package/dist/types/integrations/template.d.ts +21 -0
- package/dist/types/integrations/title.d.ts +21 -0
- package/dist/types/integrations/undo.d.ts +21 -0
- package/dist/types/integrations/utils.d.ts +25 -0
- package/dist/types/suggestion.d.ts +295 -0
- package/dist/types/suggestiondescriptionfactory.d.ts +187 -0
- package/dist/types/trackchanges.d.ts +184 -0
- package/dist/types/trackchangesconfig.d.ts +82 -0
- package/dist/types/trackchangesdata.d.ts +45 -0
- package/dist/types/trackchangesediting.d.ts +530 -0
- package/dist/types/trackchangesui.d.ts +42 -0
- package/dist/types/ui/suggestioncontroller.d.ts +41 -0
- package/dist/types/ui/view/basesuggestionthreadview.d.ts +174 -0
- package/dist/types/ui/view/suggestionthreadview.d.ts +186 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/utils.d.ts +34 -0
- package/package.json +4 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- 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 +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5716ad=_0x8d3e;(function(_0x528d10,_0x4c3a22){const _0x3b0bc6=_0x8d3e,_0x4594ec=_0x528d10();while(!![]){try{const _0x6ce260=parseInt(_0x3b0bc6(0x124))/0x1+-parseInt(_0x3b0bc6(0xc1))/0x2*(parseInt(_0x3b0bc6(0xec))/0x3)+-parseInt(_0x3b0bc6(0xfb))/0x4*(-parseInt(_0x3b0bc6(0x129))/0x5)+-parseInt(_0x3b0bc6(0xd7))/0x6*(parseInt(_0x3b0bc6(0xd5))/0x7)+-parseInt(_0x3b0bc6(0x11d))/0x8+-parseInt(_0x3b0bc6(0xb4))/0x9*(parseInt(_0x3b0bc6(0x12c))/0xa)+-parseInt(_0x3b0bc6(0xbf))/0xb*(-parseInt(_0x3b0bc6(0xde))/0xc);if(_0x6ce260===_0x4c3a22)break;else _0x4594ec['push'](_0x4594ec['shift']());}catch(_0x242f33){_0x4594ec['push'](_0x4594ec['shift']());}}}(_0x580a,0xb247b));import{Plugin as _0x2235bd}from'ckeditor5/src/core.js';import{Collection as _0x337f46}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3ebd17,createDropdown as _0x4d7408,ListSeparatorView as _0x476df4,MenuBarMenuView as _0x2cdd7a,MenuBarMenuListView as _0x3ede21,MenuBarMenuListItemView as _0x3fe1ec,MenuBarMenuListItemButtonView as _0x1ec023,SplitButtonView as _0xfc2215,ViewModel as _0xb24bcd}from'ckeditor5/src/ui.js';import{Users as _0x1911db,getDateTimeFormatter as _0x310dbf,getAllMarkersDomElementsSorted as _0x3f3ade}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x10a03e from'./trackchangesediting.js';import _0xc4613 from'./ui/suggestioncontroller.js';import _0x4bf010 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x41c0fb}from'./utils/common-translations.js';function _0x580a(){const _0x2ef085=['type','switchbutton','_unbindEditors','_createMenuBarMenu','reduce','buttonView','addComment','22cmFWHi','_destroyController','230zUdcta','delete','descriptionParts','refreshSelectedViews','children','discardSelectedSuggestions','Annotations','requires','commandName','discardAllSuggestions','getByInnerView','destroy','add','_disableComments','remove','toMany','activeMarkers','createAnnotation','activeAnnotations','getDescriptions','140aNvdKb','isMultiRange','238866ptEcJw','comments.editorConfig','change:previous','Discard\x20all\x20suggestions','arrowView','bind','from','12324348GffMjp','getMarkerNames','actionView','value','stopListening','acceptAllSuggestions','filter','plugins','getJoined','unbind','getSuggestion','locale','CommentsRepository','editing','31389RMiwPG','keys','get','has','button','componentFactory','change:activeAnnotations','registerAnnotation','editor','getRanges','set','_initializeController','_handleSuggestionControllerDelayed','values','commands','4900xXNwBf','comments.maxThreadTotalWeight','acceptButton','TrackChangesUI','_addUIComponentsToFactory','_handleControllerBuffer','focus','clear','_descriptionFactory','suggestion-','TrackChangesEditing','SuggestionThreadView','config','_viewToController','Accept\x20all\x20selected\x20suggestions','trackChanges.SuggestionThreadView','lowest','listenTo','execute','menuBar:trackChanges','getMarkers','items','discardButton','push','_updateController','suggestionLoaded','previous','isInContent','commentThread','pluginName','hasSuggestion','isOn','some','suggestionUnloaded','8450480wbrgjp','EditorAnnotations','getAllAdjacentSuggestions','createAnnotationView','_suggestionToController','separator','comments.maxCommentsWhenCollapsed','625266sQAnvn','comments.maxCommentCharsWhenCollapsed','CommentView','define','Accept\x20all\x20suggestions','4630BqyZDe','length','_bindAnnotationToEditors','140ucKNqS','acceptSelectedSuggestions','getFirstRange','view','isDirty','_annotationViews','CommentsUI','panelView','model','innerView','size','source','init','head','trackChanges','Track\x20changes','delegate','mainView','trackChanges.disableComments','_createToolbarButton','createCommentThreadController','isEnabled','suggestionChanged','comments','17784CLWyPj','_refreshActiveMarkers','Discard\x20all\x20selected\x20suggestions','addSourceCollector'];_0x580a=function(){return _0x2ef085;};return _0x580a();}import _0x3b789c from'../theme/icons/track-changes.svg';function _0x8d3e(_0x33d855,_0x507ae1){const _0x580a62=_0x580a();return _0x8d3e=function(_0x8d3ee8,_0x3e6259){_0x8d3ee8=_0x8d3ee8-0xb2;let _0x5c3e56=_0x580a62[_0x8d3ee8];return _0x5c3e56;},_0x8d3e(_0x33d855,_0x507ae1);}export default class d extends _0x2235bd{static get[_0x5716ad(0xc8)](){const _0x4af12a=_0x5716ad;return[_0x10a03e,_0x1911db,_0x4af12a(0xea),_0x4af12a(0xc7),_0x4af12a(0x11e)];}static get[_0x5716ad(0x118)](){const _0x271b06=_0x5716ad;return _0x271b06(0xfe);}constructor(_0x2895a3){const _0x29489e=_0x5716ad;super(_0x2895a3),this[_0x29489e(0x121)]=new Map(),this[_0x29489e(0x108)]=new Map(),this[_0x29489e(0x131)]=new Map(),this[_0x29489e(0x100)]=new Map();const _0x4b37e8=this[_0x29489e(0xf4)][_0x29489e(0x107)];_0x4b37e8[_0x29489e(0x127)](_0x29489e(0x10a),_0x4bf010),_0x4b37e8[_0x29489e(0x127)](_0x29489e(0x13e),!0x1),this[_0x29489e(0xce)]=_0x4b37e8[_0x29489e(0xee)](_0x29489e(0x13e));}[_0x5716ad(0xf8)](_0xc1d73d,_0x219815){const _0x5ab952=_0x5716ad;0x0===this[_0x5ab952(0x100)][_0x5ab952(0x136)]&&setTimeout(()=>{const _0x3ba110=_0x5ab952;for(const [_0x113f60,_0x2fcb48]of this[_0x3ba110(0x100)]){const _0x5d201e=this[_0x3ba110(0x121)][_0x3ba110(0xef)](_0x113f60);_0x5d201e||_0x2fcb48?_0x5d201e&&_0x2fcb48&&this[_0x3ba110(0xc0)](_0x113f60):this[_0x3ba110(0xf7)](_0x113f60);}this[_0x3ba110(0x100)][_0x3ba110(0x102)](),this[_0x3ba110(0xf4)][_0x3ba110(0xe5)][_0x3ba110(0xee)](_0x3ba110(0x11e))[_0x3ba110(0xc4)](),this[_0x3ba110(0xb5)]();},0xa),this[_0x5ab952(0x100)][_0x5ab952(0xf6)](_0xc1d73d,_0x219815);}[_0x5716ad(0x138)](){const _0x15e8b7=_0x5716ad,_0x158279=this[_0x15e8b7(0xf4)],_0x4e48f7=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0x105)),_0x2b2210=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0xc7)),_0x52f483=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0x11e)),_0x4edf25=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0xea));this[_0x15e8b7(0xff)](),_0x52f483[_0x15e8b7(0xb7)](()=>{const _0x383ccb=_0x15e8b7,_0x1bbe6e=[];for(const [_0x2d6f99,_0x2468ae]of Array[_0x383ccb(0xdd)](this[_0x383ccb(0x121)])){const _0x1b2a6a=_0x2d6f99[_0x383ccb(0x11f)](),_0xbc6c4b=[];for(const _0x520fe2 of _0x1b2a6a){if(!_0x520fe2[_0x383ccb(0x116)])continue;if(_0x520fe2[_0x383ccb(0xd6)]){_0xbc6c4b[_0x383ccb(0x112)](..._0x520fe2[_0x383ccb(0xf5)]());continue;}const _0x2c88ac=_0x520fe2[_0x383ccb(0x12e)]();if(_0xbc6c4b[_0x383ccb(0x12a)]>0x0){const _0x5e81d2=_0xbc6c4b[0x0][_0x383ccb(0xe6)](_0x2c88ac);if(_0x5e81d2){_0xbc6c4b[0x0]=_0x5e81d2;continue;}}_0xbc6c4b[_0x383ccb(0x112)](_0x2c88ac);}_0x1bbe6e[_0x383ccb(0x112)]([_0x2468ae[_0x383ccb(0x12f)],_0xbc6c4b]);}return _0x1bbe6e;}),this[_0x15e8b7(0x10c)](_0x4e48f7,_0x15e8b7(0x114),(_0x5bf46b,_0x8c1b8a)=>{const _0x4a4c1b=_0x15e8b7;this[_0x4a4c1b(0x10c)](_0x8c1b8a,_0x4a4c1b(0xd9),(_0x4acc7e,_0x174ecd,_0x1108f2,_0x38b68e)=>{const _0x1f71cf=_0x4a4c1b;_0x8c1b8a[_0x1f71cf(0x116)]&&(null==_0x1108f2?(this[_0x1f71cf(0x113)](_0x38b68e[_0x1f71cf(0x139)]),this[_0x1f71cf(0xf8)](_0x8c1b8a,!0x1)):(this[_0x1f71cf(0x113)](_0x1108f2[_0x1f71cf(0x139)]),null==_0x38b68e&&this[_0x1f71cf(0xf8)](_0x8c1b8a,!0x0)));}),null!==_0x8c1b8a[_0x4a4c1b(0x115)]?this[_0x4a4c1b(0x113)](_0x8c1b8a[_0x4a4c1b(0x139)]):this[_0x4a4c1b(0xf8)](_0x8c1b8a,!0x1);}),this[_0x15e8b7(0x10c)](_0x4e48f7,_0x15e8b7(0x11c),(_0x5489de,_0x26d686,_0x6a9946)=>{const _0x5b3d71=_0x15e8b7;this[_0x5b3d71(0xe2)](_0x26d686,_0x5b3d71(0xd9)),this[_0x5b3d71(0x100)][_0x5b3d71(0xc2)](_0x26d686),this[_0x5b3d71(0x121)][_0x5b3d71(0xef)](_0x26d686)&&this[_0x5b3d71(0xc0)](_0x26d686),_0x6a9946&&this[_0x5b3d71(0x113)](_0x6a9946[_0x5b3d71(0x139)]);}),this[_0x15e8b7(0x10c)](_0x4e48f7,_0x15e8b7(0xb2),(_0x514736,_0x312df3)=>{const _0x4b6a7c=_0x15e8b7;this[_0x4b6a7c(0x113)](_0x312df3);}),this[_0x15e8b7(0x10c)](_0x2b2210,_0x15e8b7(0xf2),()=>{const _0x4d8c07=_0x15e8b7;this[_0x4d8c07(0xb5)]();}),this[_0x15e8b7(0x10c)](_0x4edf25,_0x15e8b7(0xbe),(_0xca3205,{threadId:_0x7b1ad5,isFromAdapter:_0x16fc42})=>{const _0x29a6ab=_0x15e8b7;if(_0x16fc42||!_0x4e48f7[_0x29a6ab(0x119)](_0x7b1ad5))return;const _0x32d135=_0x4e48f7[_0x29a6ab(0xe8)](_0x7b1ad5);this[_0x29a6ab(0x121)][_0x29a6ab(0xee)](_0x32d135)[_0x29a6ab(0x12f)][_0x29a6ab(0x101)]();},{'priority':_0x15e8b7(0x10b)});}[_0x5716ad(0xb5)](){const _0x434644=_0x5716ad,_0x2b7cff=this[_0x434644(0xf4)][_0x434644(0xe5)][_0x434644(0xee)](_0x434644(0xc7)),_0x5680aa=this[_0x434644(0xf4)][_0x434644(0xe5)][_0x434644(0xee)](_0x434644(0x105)),_0x5e255f=Array[_0x434644(0xdd)](_0x2b7cff[_0x434644(0xd3)],_0x324e94=>_0x324e94[_0x434644(0x135)])[_0x434644(0xe4)](_0x3afc04=>this[_0x434644(0x108)][_0x434644(0xef)](_0x3afc04)),_0x14f2c8=[];for(const _0x63b2e6 of _0x5e255f){const _0x9630d0=this[_0x434644(0x108)][_0x434644(0xee)](_0x63b2e6)[_0x434644(0x134)][_0x434644(0x11f)]();_0x14f2c8[_0x434644(0x112)](..._0x9630d0[_0x434644(0xbc)]((_0x4bec6c,_0x24e3df)=>[..._0x4bec6c,..._0x24e3df[_0x434644(0xdf)]()],[]));}_0x5680aa[_0x434644(0xd1)]=_0x14f2c8;}[_0x5716ad(0xff)](){const _0x4f9b1f=_0x5716ad,_0xbb3182=this[_0x4f9b1f(0xf4)],_0x454868=_0xbb3182[_0x4f9b1f(0xe9)],_0x147e0f=_0x41c0fb(_0x454868,_0x4f9b1f(0x13b)),_0x372a76=new _0x337f46([{'type':_0x4f9b1f(0xb9),'model':new _0xb24bcd({'withText':!0x0,'label':_0x147e0f,'commandName':_0x4f9b1f(0x13a)})},{'type':_0x4f9b1f(0x122)},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0x128)),'commandName':_0x4f9b1f(0xe3)})},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0x109)),'commandName':_0x4f9b1f(0x12d)})},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0xda)),'commandName':_0x4f9b1f(0xca)})},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0xb6)),'commandName':_0x4f9b1f(0xc6)})}]);for(const _0x270587 of _0x372a76)if(ae(_0x270587)){const _0x141595=_0xbb3182[_0x4f9b1f(0xfa)][_0x4f9b1f(0xee)](_0x270587[_0x4f9b1f(0x134)][_0x4f9b1f(0xc9)]);_0x270587[_0x4f9b1f(0x134)][_0x4f9b1f(0xdc)](_0x4f9b1f(0x11a),_0x4f9b1f(0x141))['to'](_0x141595,_0x4f9b1f(0xe1),_0x4f9b1f(0x141));}_0xbb3182['ui'][_0x4f9b1f(0xf1)][_0x4f9b1f(0xcd)](_0x4f9b1f(0x13a),_0x438813=>this[_0x4f9b1f(0x13f)](_0x438813,_0x372a76,_0x147e0f)),_0xbb3182['ui'][_0x4f9b1f(0xf1)][_0x4f9b1f(0xcd)](_0x4f9b1f(0x10e),_0x47d8f8=>this[_0x4f9b1f(0xbb)](_0x47d8f8,_0x372a76,_0x147e0f));}[_0x5716ad(0x13f)](_0x138ca6,_0x3f5950,_0x5f45ed){const _0x167ea3=_0x5716ad,_0x26d380=_0x4d7408(_0x138ca6,_0xfc2215),_0x480475=this[_0x167ea3(0xf4)][_0x167ea3(0xfa)][_0x167ea3(0xee)](_0x167ea3(0x13a));_0x26d380[_0x167ea3(0xbd)][_0x167ea3(0xf6)]({'tooltip':_0x5f45ed,'label':_0x5f45ed,'icon':_0x3b789c}),_0x26d380[_0x167ea3(0xbd)][_0x167ea3(0xdc)](_0x167ea3(0x11a))['to'](_0x480475,_0x167ea3(0xe1)),_0x26d380[_0x167ea3(0xbd)]['on'](_0x167ea3(0x10d),()=>{const _0x1a3901=_0x167ea3;_0x480475[_0x1a3901(0x10d)](),this[_0x1a3901(0xf4)][_0x1a3901(0xeb)][_0x1a3901(0x12f)][_0x1a3901(0x101)]();}),_0x3ebd17(_0x26d380,_0x3f5950);const _0xf272ad=[];for(const _0x7a87eb of _0x3f5950)ae(_0x7a87eb)&&_0xf272ad[_0x167ea3(0x112)](this[_0x167ea3(0xf4)][_0x167ea3(0xfa)][_0x167ea3(0xee)](_0x7a87eb[_0x167ea3(0x134)][_0x167ea3(0xc9)]));const _0x34d8fc=_0x26d380[_0x167ea3(0xbd)];return _0x34d8fc[_0x167ea3(0xe0)][_0x167ea3(0xe7)](_0x167ea3(0x141)),_0x34d8fc[_0x167ea3(0xdb)][_0x167ea3(0xe7)](_0x167ea3(0x141)),_0x34d8fc[_0x167ea3(0xe0)][_0x167ea3(0xdc)](_0x167ea3(0x141))['to'](_0x480475,_0x167ea3(0x141)),_0x34d8fc[_0x167ea3(0xdb)][_0x167ea3(0xdc)](_0x167ea3(0x141))[_0x167ea3(0xd0)](_0xf272ad,_0x167ea3(0x141),(..._0x30b255)=>_0x30b255[_0x167ea3(0x11b)](_0x293579=>_0x293579)),_0x26d380['on'](_0x167ea3(0x10d),_0x4458e3=>{const _0x3836c3=_0x167ea3;this[_0x3836c3(0xf4)][_0x3836c3(0x10d)](_0x4458e3[_0x3836c3(0x137)][_0x3836c3(0xc9)]),this[_0x3836c3(0xf4)][_0x3836c3(0xeb)][_0x3836c3(0x12f)][_0x3836c3(0x101)]();}),_0x26d380;}[_0x5716ad(0xbb)](_0x8dd039,_0x82398f,_0x1ec18c){const _0x1128b2=_0x5716ad,_0x19cb22=new _0x2cdd7a(_0x8dd039),_0x5d2875=this[_0x1128b2(0xf4)][_0x1128b2(0xfa)][_0x1128b2(0xee)](_0x1128b2(0x13a));_0x19cb22[_0x1128b2(0xbd)][_0x1128b2(0xf6)]({'label':_0x1ec18c,'icon':_0x3b789c});const _0x168a9d=new _0x3ede21(_0x8dd039);for(const _0xdb01d1 of _0x82398f){if(_0x1128b2(0x122)==_0xdb01d1[_0x1128b2(0xb8)]){_0x168a9d[_0x1128b2(0x110)][_0x1128b2(0xcd)](new _0x476df4(_0x8dd039));continue;}const _0x16f4ce=new _0x3fe1ec(_0x8dd039,_0x19cb22),_0x5617c4=new _0x1ec023(_0x8dd039),_0x2679c5=_0xdb01d1[_0x1128b2(0x134)];_0x5617c4[_0x1128b2(0xdc)](...Object[_0x1128b2(0xed)](_0x2679c5))['to'](_0x2679c5),_0x5617c4[_0x1128b2(0x13c)](_0x1128b2(0x10d))['to'](_0x19cb22),_0x5617c4['on'](_0x1128b2(0x10d),()=>{const _0x57695a=_0x1128b2;this[_0x57695a(0xf4)][_0x57695a(0x10d)](_0x2679c5[_0x57695a(0xc9)]),this[_0x57695a(0xf4)][_0x57695a(0xeb)][_0x57695a(0x12f)][_0x57695a(0x101)]();}),_0x16f4ce[_0x1128b2(0xc5)][_0x1128b2(0xcd)](_0x5617c4),_0x168a9d[_0x1128b2(0x110)][_0x1128b2(0xcd)](_0x16f4ce);}return _0x19cb22[_0x1128b2(0xdc)](_0x1128b2(0x141))['to'](_0x5d2875,_0x1128b2(0x141)),_0x19cb22[_0x1128b2(0x133)][_0x1128b2(0xc5)][_0x1128b2(0xcd)](_0x168a9d),_0x19cb22;}[_0x5716ad(0xf7)](_0x30c386){const _0x1f1be9=_0x5716ad,_0xaecb10=this[_0x1f1be9(0xf4)],_0x1caf4d=_0xaecb10[_0x1f1be9(0x107)],_0x5e7cfd=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0xc7)),_0x5bcf20=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0xea)),_0x204cbf=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0x11e)),_0x4110f9=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1911db)['me'],_0x539b87=_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0x13a))[_0x1f1be9(0x106)],{CommentsListView:_0x5361e7,CommentThreadInputView:_0x57adfb}=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0x132));let _0x3fa511,_0x501b0b;this[_0x1f1be9(0x131)][_0x1f1be9(0xef)](_0x30c386['id'])?(_0x501b0b=this[_0x1f1be9(0x131)][_0x1f1be9(0xee)](_0x30c386['id']),_0x3fa511=_0x501b0b[_0x1f1be9(0x13d)]):(_0x3fa511=new _0x539b87(_0xaecb10[_0x1f1be9(0xe9)],_0x30c386,_0x4110f9,{'disableComments':this[_0x1f1be9(0xce)],'editorConfig':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xd8)),'maxCommentsWhenCollapsed':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0x123)),'maxThreadTotalWeight':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xfc)),'maxCommentCharsWhenCollapsed':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0x125)),'formatDateTime':_0x310dbf(_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xe9))),'CommentView':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xb3))[_0x1f1be9(0x126)],'CommentsListView':_0x5361e7,'CommentThreadInputView':_0x57adfb}),_0x3fa511[_0x1f1be9(0xfd)]['on'](_0x1f1be9(0x10d),()=>{const _0x10f90f=_0x1f1be9;_0xaecb10[_0x10f90f(0xeb)][_0x10f90f(0x12f)][_0x10f90f(0x101)]();}),_0x3fa511[_0x1f1be9(0x111)]['on'](_0x1f1be9(0x10d),()=>{const _0x29e1c2=_0x1f1be9;_0xaecb10[_0x29e1c2(0xeb)][_0x29e1c2(0x12f)][_0x29e1c2(0x101)]();}),_0x501b0b=_0x5e7cfd[_0x1f1be9(0x120)](this[_0x1f1be9(0xf4)][_0x1f1be9(0xe9)],_0x3fa511),_0x501b0b[_0x1f1be9(0xdc)](_0x1f1be9(0x130))['to'](_0x3fa511,_0x1f1be9(0x130)),_0x501b0b[_0x1f1be9(0xdc)](_0x1f1be9(0x12a))['to'](_0x3fa511),_0x501b0b[_0x1f1be9(0xdc)](_0x1f1be9(0xb8))['to'](_0x3fa511,_0x1f1be9(0xb8),_0x5714fd=>_0x1f1be9(0x104)+_0x5714fd),this[_0x1f1be9(0x131)][_0x1f1be9(0xf6)](_0x30c386['id'],_0x501b0b));const _0x27f70d=_0x5bcf20[_0x1f1be9(0x140)](_0x30c386[_0x1f1be9(0x117)],_0x3fa511),_0x563215=new _0xc4613(_0xaecb10,_0x30c386,_0x3fa511,_0x27f70d),_0x2c8cef=_0x30c386[_0x1f1be9(0x11f)]()[_0x1f1be9(0xe4)](_0x34a658=>_0x34a658[_0x1f1be9(0x116)]);_0x3fa511[_0x1f1be9(0xc3)]=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0x105))[_0x1f1be9(0x103)][_0x1f1be9(0xd4)](_0x2c8cef),this[_0x1f1be9(0x121)][_0x1f1be9(0xf6)](_0x30c386,_0x563215),this[_0x1f1be9(0x108)][_0x1f1be9(0xf6)](_0x3fa511,_0x563215);const _0x1549f4=_0x5e7cfd[_0x1f1be9(0xd2)]({'view':_0x501b0b,'target':()=>{const _0x5ad9c1=_0x1f1be9,_0x2098cd=[],_0x3cfe8d=_0x30c386[_0x5ad9c1(0x11f)]()[_0x5ad9c1(0xe4)](_0x17f80e=>_0x17f80e[_0x5ad9c1(0x116)]);for(const _0x541d62 of _0x3cfe8d)_0x2098cd[_0x5ad9c1(0x112)](..._0x541d62[_0x5ad9c1(0x10f)]());return _0x3f3ade(_0xaecb10[_0x5ad9c1(0xeb)],_0x2098cd);},'type':()=>_0x1f1be9(0x104)+_0x563215[_0x1f1be9(0x12f)][_0x1f1be9(0xb8)]});_0x5bcf20[_0x1f1be9(0x12b)](_0x3fa511,_0x1549f4),_0x5e7cfd[_0x1f1be9(0xcd)](_0x1549f4),_0x204cbf[_0x1f1be9(0xf3)](_0x1549f4);}[_0x5716ad(0xc0)](_0x37f134){const _0x15470f=_0x5716ad,_0x1505b1=this[_0x15470f(0xf4)][_0x15470f(0xe5)][_0x15470f(0xee)](_0x15470f(0xea)),_0x48f355=this[_0x15470f(0xf4)][_0x15470f(0xe5)][_0x15470f(0xee)](_0x15470f(0xc7)),_0x2da57c=this[_0x15470f(0x121)][_0x15470f(0xee)](_0x37f134),_0x1ec6df=_0x2da57c[_0x15470f(0x12f)],_0x420cd8=_0x48f355[_0x15470f(0xcb)](_0x1ec6df);_0x1505b1[_0x15470f(0xba)](_0x1ec6df),_0x420cd8&&_0x48f355[_0x15470f(0xcf)](_0x420cd8),this[_0x15470f(0x121)][_0x15470f(0xc2)](_0x37f134),this[_0x15470f(0x108)][_0x15470f(0xc2)](_0x1ec6df),_0x2da57c[_0x15470f(0xcc)]();}[_0x5716ad(0x113)](_0x107cf2){const _0x2bcfd8=_0x5716ad;if(!_0x107cf2[_0x2bcfd8(0x116)]||!this[_0x2bcfd8(0x121)][_0x2bcfd8(0xef)](_0x107cf2))return;const _0x3e0fc5=this[_0x2bcfd8(0xf4)][_0x2bcfd8(0xe5)][_0x2bcfd8(0xee)](_0x2bcfd8(0x105)),_0x5e3824=this[_0x2bcfd8(0x121)][_0x2bcfd8(0xee)](_0x107cf2),_0x2b216c=_0x107cf2[_0x2bcfd8(0x11f)]();_0x5e3824[_0x2bcfd8(0x12f)][_0x2bcfd8(0xc3)]=_0x3e0fc5[_0x2bcfd8(0x103)][_0x2bcfd8(0xd4)](_0x2b216c);}[_0x5716ad(0xcc)](){const _0x106108=_0x5716ad;for(const _0x2864e7 of this[_0x106108(0x121)][_0x106108(0xed)]())this[_0x106108(0xc0)](_0x2864e7);for(const _0x4d601e of this[_0x106108(0x131)][_0x106108(0xf9)]())_0x4d601e[_0x106108(0x13d)][_0x106108(0xcc)]();super[_0x106108(0xcc)]();}}function ae(_0x2a8218){const _0xe626a=_0x5716ad;return _0xe626a(0x134)in _0x2a8218;}
|
|
23
|
+
const _0x5d5c92=_0x8edd;(function(_0x14ed97,_0x23e870){const _0x1bc7f7=_0x8edd,_0x146d03=_0x14ed97();while(!![]){try{const _0x12777c=-parseInt(_0x1bc7f7(0x113))/0x1*(-parseInt(_0x1bc7f7(0xee))/0x2)+parseInt(_0x1bc7f7(0xb2))/0x3*(parseInt(_0x1bc7f7(0xcf))/0x4)+-parseInt(_0x1bc7f7(0x13c))/0x5+-parseInt(_0x1bc7f7(0x12f))/0x6*(-parseInt(_0x1bc7f7(0xe0))/0x7)+parseInt(_0x1bc7f7(0xed))/0x8+-parseInt(_0x1bc7f7(0x104))/0x9*(parseInt(_0x1bc7f7(0x106))/0xa)+-parseInt(_0x1bc7f7(0xcd))/0xb*(parseInt(_0x1bc7f7(0xe6))/0xc);if(_0x12777c===_0x23e870)break;else _0x146d03['push'](_0x146d03['shift']());}catch(_0xc4930e){_0x146d03['push'](_0x146d03['shift']());}}}(_0x2af2,0x75735));import{Plugin as _0x18e689}from'ckeditor5/src/core.js';import{Collection as _0x4acd7e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x749ff5,createDropdown as _0x36390a,ListSeparatorView as _0x3e8249,MenuBarMenuView as _0x24548f,MenuBarMenuListView as _0x78337,MenuBarMenuListItemView as _0x37fbcb,MenuBarMenuListItemButtonView as _0x45cbe9,SplitButtonView as _0x327ced,ViewModel as _0x1d65bf}from'ckeditor5/src/ui.js';function _0x2af2(){const _0x3bf3a2=['plugins','CommentView','_unbindEditors','toMany','_destroyController','suggestionLoaded','refreshSelectedViews','_suggestionToController','getFirstRange','head','comments.maxCommentsWhenCollapsed','some','_initializeController','Discard\x20all\x20selected\x20suggestions','_handleControllerBuffer','_addUIComponentsToFactory','Discard\x20all\x20suggestions','children','suggestion-','keys','CommentsUI','suggestionUnloaded','TrackChangesEditing','comments','define','25582337ZuQmfw','_createMenuBarMenu','2829016AswYWB','componentFactory','isInContent','activeAnnotations','activeMarkers','_handleSuggestionControllerDelayed','from','_annotationViews','TrackChangesUI','_descriptionFactory','reduce','focus','getAllAdjacentSuggestions','isDirty','Annotations','SuggestionThreadView','mainView','147cpBOMN','size','createAnnotationView','previous','bind','commentThread','12nATvis','discardButton','EditorAnnotations','actionView','comments.maxCommentCharsWhenCollapsed','innerView','hasSuggestion','7602416DlLFMO','3488WYmykw','commands','view','getSuggestion','_createToolbarButton','filter','editor','acceptAllSuggestions','Track\x20changes','pluginName','execute','separator','value','add','requires','set','items','commandName','_refreshActiveMarkers','stopListening','_viewToController','has','1224oobczH','getMarkers','6610hHfuxp','Accept\x20all\x20suggestions','change:previous','panelView','discardSelectedSuggestions','get','menuBar:trackChanges','trackChanges.SuggestionThreadView','button','push','unbind','trackChanges.disableComments','clear','283twcTZM','delegate','_bindAnnotationToEditors','delete','destroy','locale','acceptButton','CommentsRepository','model','switchbutton','registerAnnotation','remove','buttonView','trackChanges','comments.maxThreadTotalWeight','addComment','length','change:activeAnnotations','addSourceCollector','createCommentThreadController','suggestionChanged','isOn','getJoined','Accept\x20all\x20selected\x20suggestions','discardAllSuggestions','init','isEnabled','createAnnotation','243678ILutYd','acceptSelectedSuggestions','isMultiRange','type','arrowView','listenTo','descriptionParts','values','getByInnerView','config','getDescriptions','editing','_disableComments','536705gGQnmi','_updateController','source','getRanges','comments.editorConfig','getMarkerNames','3qrYQBY','lowest'];_0x2af2=function(){return _0x3bf3a2;};return _0x2af2();}import{Users as _0x4c596c,getDateTimeFormatter as _0x13acbe,getAllMarkersDomElementsSorted as _0x4d738b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x160395 from'./trackchangesediting.js';function _0x8edd(_0x53511d,_0x4ca246){const _0x2af2f0=_0x2af2();return _0x8edd=function(_0x8edd98,_0x5f4b14){_0x8edd98=_0x8edd98-0xad;let _0x17635a=_0x2af2f0[_0x8edd98];return _0x17635a;},_0x8edd(_0x53511d,_0x4ca246);}import _0x4f8f21 from'./ui/suggestioncontroller.js';import _0x2ca290 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x381112}from'./utils/common-translations.js';import _0x4634cb from'../theme/icons/track-changes.svg';export default class d extends _0x18e689{static get[_0x5d5c92(0xfc)](){const _0x59c5e3=_0x5d5c92;return[_0x160395,_0x4c596c,_0x59c5e3(0x11a),_0x59c5e3(0xdd),_0x59c5e3(0xe8)];}static get[_0x5d5c92(0xf7)](){const _0x338fc0=_0x5d5c92;return _0x338fc0(0xd7);}constructor(_0xe0d6b5){const _0x41319d=_0x5d5c92;super(_0xe0d6b5),this[_0x41319d(0xbb)]=new Map(),this[_0x41319d(0x102)]=new Map(),this[_0x41319d(0xd6)]=new Map(),this[_0x41319d(0xc2)]=new Map();const _0x3987ac=this[_0x41319d(0xf4)][_0x41319d(0x138)];_0x3987ac[_0x41319d(0xcc)](_0x41319d(0x10d),_0x2ca290),_0x3987ac[_0x41319d(0xcc)](_0x41319d(0x111),!0x1),this[_0x41319d(0x13b)]=_0x3987ac[_0x41319d(0x10b)](_0x41319d(0x111));}[_0x5d5c92(0xd4)](_0x92559d,_0x408ffe){const _0x47c772=_0x5d5c92;0x0===this[_0x47c772(0xc2)][_0x47c772(0xe1)]&&setTimeout(()=>{const _0x56fc36=_0x47c772;for(const [_0x254d72,_0x32965c]of this[_0x56fc36(0xc2)]){const _0x549934=this[_0x56fc36(0xbb)][_0x56fc36(0x103)](_0x254d72);_0x549934||_0x32965c?_0x549934&&_0x32965c&&this[_0x56fc36(0xb8)](_0x254d72):this[_0x56fc36(0xc0)](_0x254d72);}this[_0x56fc36(0xc2)][_0x56fc36(0x112)](),this[_0x56fc36(0xf4)][_0x56fc36(0xb4)][_0x56fc36(0x10b)](_0x56fc36(0xe8))[_0x56fc36(0xba)](),this[_0x56fc36(0x100)]();},0xa),this[_0x47c772(0xc2)][_0x47c772(0xfd)](_0x92559d,_0x408ffe);}[_0x5d5c92(0x12c)](){const _0x6d6f9b=_0x5d5c92,_0x1f8cd2=this[_0x6d6f9b(0xf4)],_0x3b3e88=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0xca)),_0x33d059=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0xdd)),_0x13b866=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0xe8)),_0x262e35=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0x11a));this[_0x6d6f9b(0xc3)](),_0x13b866[_0x6d6f9b(0x125)](()=>{const _0x239e7a=_0x6d6f9b,_0x2014a7=[];for(const [_0x590c3a,_0x179e42]of Array[_0x239e7a(0xd5)](this[_0x239e7a(0xbb)])){const _0x5c7565=_0x590c3a[_0x239e7a(0xdb)](),_0x222bdd=[];for(const _0x56b54f of _0x5c7565){if(!_0x56b54f[_0x239e7a(0xd1)])continue;if(_0x56b54f[_0x239e7a(0x131)]){_0x222bdd[_0x239e7a(0x10f)](..._0x56b54f[_0x239e7a(0xaf)]());continue;}const _0x5d8fe3=_0x56b54f[_0x239e7a(0xbc)]();if(_0x222bdd[_0x239e7a(0x123)]>0x0){const _0x57ec7a=_0x222bdd[0x0][_0x239e7a(0x129)](_0x5d8fe3);if(_0x57ec7a){_0x222bdd[0x0]=_0x57ec7a;continue;}}_0x222bdd[_0x239e7a(0x10f)](_0x5d8fe3);}_0x2014a7[_0x239e7a(0x10f)]([_0x179e42[_0x239e7a(0xf0)],_0x222bdd]);}return _0x2014a7;}),this[_0x6d6f9b(0x134)](_0x3b3e88,_0x6d6f9b(0xb9),(_0x292c6d,_0x36982c)=>{const _0x4ab3e8=_0x6d6f9b;this[_0x4ab3e8(0x134)](_0x36982c,_0x4ab3e8(0x108),(_0xc9eeec,_0x5a60ad,_0x386163,_0x21d737)=>{const _0x2f4547=_0x4ab3e8;_0x36982c[_0x2f4547(0xd1)]&&(null==_0x386163?(this[_0x2f4547(0xad)](_0x21d737[_0x2f4547(0xbd)]),this[_0x2f4547(0xd4)](_0x36982c,!0x1)):(this[_0x2f4547(0xad)](_0x386163[_0x2f4547(0xbd)]),null==_0x21d737&&this[_0x2f4547(0xd4)](_0x36982c,!0x0)));}),null!==_0x36982c[_0x4ab3e8(0xe3)]?this[_0x4ab3e8(0xad)](_0x36982c[_0x4ab3e8(0xbd)]):this[_0x4ab3e8(0xd4)](_0x36982c,!0x1);}),this[_0x6d6f9b(0x134)](_0x3b3e88,_0x6d6f9b(0xc9),(_0x438795,_0x436e46,_0x521836)=>{const _0x173280=_0x6d6f9b;this[_0x173280(0x101)](_0x436e46,_0x173280(0x108)),this[_0x173280(0xc2)][_0x173280(0x116)](_0x436e46),this[_0x173280(0xbb)][_0x173280(0x103)](_0x436e46)&&this[_0x173280(0xb8)](_0x436e46),_0x521836&&this[_0x173280(0xad)](_0x521836[_0x173280(0xbd)]);}),this[_0x6d6f9b(0x134)](_0x3b3e88,_0x6d6f9b(0x127),(_0xa6f0e9,_0x3784c4)=>{const _0x1a3789=_0x6d6f9b;this[_0x1a3789(0xad)](_0x3784c4);}),this[_0x6d6f9b(0x134)](_0x33d059,_0x6d6f9b(0x124),()=>{const _0x3c6b47=_0x6d6f9b;this[_0x3c6b47(0x100)]();}),this[_0x6d6f9b(0x134)](_0x262e35,_0x6d6f9b(0x122),(_0x302957,{threadId:_0x339c9d,isFromAdapter:_0x5714f1})=>{const _0x2d5619=_0x6d6f9b;if(_0x5714f1||!_0x3b3e88[_0x2d5619(0xec)](_0x339c9d))return;const _0x3891bf=_0x3b3e88[_0x2d5619(0xf1)](_0x339c9d);this[_0x2d5619(0xbb)][_0x2d5619(0x10b)](_0x3891bf)[_0x2d5619(0xf0)][_0x2d5619(0xda)]();},{'priority':_0x6d6f9b(0xb3)});}[_0x5d5c92(0x100)](){const _0x5978bb=_0x5d5c92,_0x126faa=this[_0x5978bb(0xf4)][_0x5978bb(0xb4)][_0x5978bb(0x10b)](_0x5978bb(0xdd)),_0x112df1=this[_0x5978bb(0xf4)][_0x5978bb(0xb4)][_0x5978bb(0x10b)](_0x5978bb(0xca)),_0x38da0e=Array[_0x5978bb(0xd5)](_0x126faa[_0x5978bb(0xd2)],_0x57dea1=>_0x57dea1[_0x5978bb(0xeb)])[_0x5978bb(0xf3)](_0x3527dc=>this[_0x5978bb(0x102)][_0x5978bb(0x103)](_0x3527dc)),_0x3e1106=[];for(const _0x109551 of _0x38da0e){const _0x150e92=this[_0x5978bb(0x102)][_0x5978bb(0x10b)](_0x109551)[_0x5978bb(0x11b)][_0x5978bb(0xdb)]();_0x3e1106[_0x5978bb(0x10f)](..._0x150e92[_0x5978bb(0xd9)]((_0x3802a1,_0x294bb4)=>[..._0x3802a1,..._0x294bb4[_0x5978bb(0xb1)]()],[]));}_0x112df1[_0x5978bb(0xd3)]=_0x3e1106;}[_0x5d5c92(0xc3)](){const _0x27e918=_0x5d5c92,_0x14a9a3=this[_0x27e918(0xf4)],_0x4d35a8=_0x14a9a3[_0x27e918(0x118)],_0x2c28f9=_0x381112(_0x4d35a8,_0x27e918(0xf6)),_0x10f0aa=new _0x4acd7e([{'type':_0x27e918(0x11c),'model':new _0x1d65bf({'withText':!0x0,'label':_0x2c28f9,'commandName':_0x27e918(0x120)})},{'type':_0x27e918(0xf9)},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0x107)),'commandName':_0x27e918(0xf5)})},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0x12a)),'commandName':_0x27e918(0x130)})},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0xc4)),'commandName':_0x27e918(0x12b)})},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0xc1)),'commandName':_0x27e918(0x10a)})}]);for(const _0x1198b5 of _0x10f0aa)if(ae(_0x1198b5)){const _0x40aa5b=_0x14a9a3[_0x27e918(0xef)][_0x27e918(0x10b)](_0x1198b5[_0x27e918(0x11b)][_0x27e918(0xff)]);_0x1198b5[_0x27e918(0x11b)][_0x27e918(0xe4)](_0x27e918(0x128),_0x27e918(0x12d))['to'](_0x40aa5b,_0x27e918(0xfa),_0x27e918(0x12d));}_0x14a9a3['ui'][_0x27e918(0xd0)][_0x27e918(0xfb)](_0x27e918(0x120),_0x1ca80b=>this[_0x27e918(0xf2)](_0x1ca80b,_0x10f0aa,_0x2c28f9)),_0x14a9a3['ui'][_0x27e918(0xd0)][_0x27e918(0xfb)](_0x27e918(0x10c),_0x457fa9=>this[_0x27e918(0xce)](_0x457fa9,_0x10f0aa,_0x2c28f9));}[_0x5d5c92(0xf2)](_0x562fcd,_0x5980fa,_0x4b562c){const _0x205408=_0x5d5c92,_0xe99038=_0x36390a(_0x562fcd,_0x327ced),_0xb7fbac=this[_0x205408(0xf4)][_0x205408(0xef)][_0x205408(0x10b)](_0x205408(0x120));_0xe99038[_0x205408(0x11f)][_0x205408(0xfd)]({'tooltip':_0x4b562c,'label':_0x4b562c,'icon':_0x4634cb}),_0xe99038[_0x205408(0x11f)][_0x205408(0xe4)](_0x205408(0x128))['to'](_0xb7fbac,_0x205408(0xfa)),_0xe99038[_0x205408(0x11f)]['on'](_0x205408(0xf8),()=>{const _0x4e9382=_0x205408;_0xb7fbac[_0x4e9382(0xf8)](),this[_0x4e9382(0xf4)][_0x4e9382(0x13a)][_0x4e9382(0xf0)][_0x4e9382(0xda)]();}),_0x749ff5(_0xe99038,_0x5980fa);const _0x2a3a0e=[];for(const _0x5cf721 of _0x5980fa)ae(_0x5cf721)&&_0x2a3a0e[_0x205408(0x10f)](this[_0x205408(0xf4)][_0x205408(0xef)][_0x205408(0x10b)](_0x5cf721[_0x205408(0x11b)][_0x205408(0xff)]));const _0x1c93fe=_0xe99038[_0x205408(0x11f)];return _0x1c93fe[_0x205408(0xe9)][_0x205408(0x110)](_0x205408(0x12d)),_0x1c93fe[_0x205408(0x133)][_0x205408(0x110)](_0x205408(0x12d)),_0x1c93fe[_0x205408(0xe9)][_0x205408(0xe4)](_0x205408(0x12d))['to'](_0xb7fbac,_0x205408(0x12d)),_0x1c93fe[_0x205408(0x133)][_0x205408(0xe4)](_0x205408(0x12d))[_0x205408(0xb7)](_0x2a3a0e,_0x205408(0x12d),(..._0x212c42)=>_0x212c42[_0x205408(0xbf)](_0x245399=>_0x245399)),_0xe99038['on'](_0x205408(0xf8),_0x4c5409=>{const _0x5c4174=_0x205408;this[_0x5c4174(0xf4)][_0x5c4174(0xf8)](_0x4c5409[_0x5c4174(0xae)][_0x5c4174(0xff)]),this[_0x5c4174(0xf4)][_0x5c4174(0x13a)][_0x5c4174(0xf0)][_0x5c4174(0xda)]();}),_0xe99038;}[_0x5d5c92(0xce)](_0x787093,_0x1c5316,_0x28088c){const _0xc052f9=_0x5d5c92,_0x32c1b0=new _0x24548f(_0x787093),_0x3bef98=this[_0xc052f9(0xf4)][_0xc052f9(0xef)][_0xc052f9(0x10b)](_0xc052f9(0x120));_0x32c1b0[_0xc052f9(0x11f)][_0xc052f9(0xfd)]({'label':_0x28088c,'icon':_0x4634cb});const _0x531aa0=new _0x78337(_0x787093);for(const _0x508856 of _0x1c5316){if(_0xc052f9(0xf9)==_0x508856[_0xc052f9(0x132)]){_0x531aa0[_0xc052f9(0xfe)][_0xc052f9(0xfb)](new _0x3e8249(_0x787093));continue;}const _0x509bb7=new _0x37fbcb(_0x787093,_0x32c1b0),_0x109069=new _0x45cbe9(_0x787093),_0x2456ad=_0x508856[_0xc052f9(0x11b)];_0x109069[_0xc052f9(0xe4)](...Object[_0xc052f9(0xc7)](_0x2456ad))['to'](_0x2456ad),_0x109069[_0xc052f9(0x114)](_0xc052f9(0xf8))['to'](_0x32c1b0),_0x109069['on'](_0xc052f9(0xf8),()=>{const _0x37858d=_0xc052f9;this[_0x37858d(0xf4)][_0x37858d(0xf8)](_0x2456ad[_0x37858d(0xff)]),this[_0x37858d(0xf4)][_0x37858d(0x13a)][_0x37858d(0xf0)][_0x37858d(0xda)]();}),_0x509bb7[_0xc052f9(0xc5)][_0xc052f9(0xfb)](_0x109069),_0x531aa0[_0xc052f9(0xfe)][_0xc052f9(0xfb)](_0x509bb7);}return _0x32c1b0[_0xc052f9(0xe4)](_0xc052f9(0x12d))['to'](_0x3bef98,_0xc052f9(0x12d)),_0x32c1b0[_0xc052f9(0x109)][_0xc052f9(0xc5)][_0xc052f9(0xfb)](_0x531aa0),_0x32c1b0;}[_0x5d5c92(0xc0)](_0x31f862){const _0x5688a3=_0x5d5c92,_0x47d5e0=this[_0x5688a3(0xf4)],_0x3f2f83=_0x47d5e0[_0x5688a3(0x138)],_0x3866d6=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xdd)),_0x53582f=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0x11a)),_0x55c3ae=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xe8)),_0x2326fd=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x4c596c)['me'],_0x9f4946=_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0x120))[_0x5688a3(0xde)],{CommentsListView:_0x1b7c5e,CommentThreadInputView:_0x5aafce}=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xc8));let _0xc4335,_0x3b9077;this[_0x5688a3(0xd6)][_0x5688a3(0x103)](_0x31f862['id'])?(_0x3b9077=this[_0x5688a3(0xd6)][_0x5688a3(0x10b)](_0x31f862['id']),_0xc4335=_0x3b9077[_0x5688a3(0xdf)]):(_0xc4335=new _0x9f4946(_0x47d5e0[_0x5688a3(0x118)],_0x31f862,_0x2326fd,{'disableComments':this[_0x5688a3(0x13b)],'editorConfig':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xb0)),'maxCommentsWhenCollapsed':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xbe)),'maxThreadTotalWeight':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0x121)),'maxCommentCharsWhenCollapsed':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xea)),'formatDateTime':_0x13acbe(_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0x118))),'CommentView':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xcb))[_0x5688a3(0xb5)],'CommentsListView':_0x1b7c5e,'CommentThreadInputView':_0x5aafce}),_0xc4335[_0x5688a3(0x119)]['on'](_0x5688a3(0xf8),()=>{const _0x4455bb=_0x5688a3;_0x47d5e0[_0x4455bb(0x13a)][_0x4455bb(0xf0)][_0x4455bb(0xda)]();}),_0xc4335[_0x5688a3(0xe7)]['on'](_0x5688a3(0xf8),()=>{const _0x1d3c0b=_0x5688a3;_0x47d5e0[_0x1d3c0b(0x13a)][_0x1d3c0b(0xf0)][_0x1d3c0b(0xda)]();}),_0x3b9077=_0x3866d6[_0x5688a3(0xe2)](this[_0x5688a3(0xf4)][_0x5688a3(0x118)],_0xc4335),_0x3b9077[_0x5688a3(0xe4)](_0x5688a3(0xdc))['to'](_0xc4335,_0x5688a3(0xdc)),_0x3b9077[_0x5688a3(0xe4)](_0x5688a3(0x123))['to'](_0xc4335),_0x3b9077[_0x5688a3(0xe4)](_0x5688a3(0x132))['to'](_0xc4335,_0x5688a3(0x132),_0x53886c=>_0x5688a3(0xc6)+_0x53886c),this[_0x5688a3(0xd6)][_0x5688a3(0xfd)](_0x31f862['id'],_0x3b9077));const _0x5ef4ac=_0x53582f[_0x5688a3(0x126)](_0x31f862[_0x5688a3(0xe5)],_0xc4335),_0x1fae5d=new _0x4f8f21(_0x47d5e0,_0x31f862,_0xc4335,_0x5ef4ac),_0x38f5a2=_0x31f862[_0x5688a3(0xdb)]()[_0x5688a3(0xf3)](_0xf04eb8=>_0xf04eb8[_0x5688a3(0xd1)]);_0xc4335[_0x5688a3(0x135)]=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xca))[_0x5688a3(0xd8)][_0x5688a3(0x139)](_0x38f5a2),this[_0x5688a3(0xbb)][_0x5688a3(0xfd)](_0x31f862,_0x1fae5d),this[_0x5688a3(0x102)][_0x5688a3(0xfd)](_0xc4335,_0x1fae5d);const _0x2805ba=_0x3866d6[_0x5688a3(0x12e)]({'view':_0x3b9077,'target':()=>{const _0x3cbe56=_0x5688a3,_0xeb26d1=[],_0x2ccfa9=_0x31f862[_0x3cbe56(0xdb)]()[_0x3cbe56(0xf3)](_0x277b4b=>_0x277b4b[_0x3cbe56(0xd1)]);for(const _0xd755f5 of _0x2ccfa9)_0xeb26d1[_0x3cbe56(0x10f)](..._0xd755f5[_0x3cbe56(0x105)]());return _0x4d738b(_0x47d5e0[_0x3cbe56(0x13a)],_0xeb26d1);},'type':()=>_0x5688a3(0xc6)+_0x1fae5d[_0x5688a3(0xf0)][_0x5688a3(0x132)]});_0x53582f[_0x5688a3(0x115)](_0xc4335,_0x2805ba),_0x3866d6[_0x5688a3(0xfb)](_0x2805ba),_0x55c3ae[_0x5688a3(0x11d)](_0x2805ba);}[_0x5d5c92(0xb8)](_0x240674){const _0x480e36=_0x5d5c92,_0x30fbb3=this[_0x480e36(0xf4)][_0x480e36(0xb4)][_0x480e36(0x10b)](_0x480e36(0x11a)),_0x454d4a=this[_0x480e36(0xf4)][_0x480e36(0xb4)][_0x480e36(0x10b)](_0x480e36(0xdd)),_0xb7c013=this[_0x480e36(0xbb)][_0x480e36(0x10b)](_0x240674),_0x1f3bee=_0xb7c013[_0x480e36(0xf0)],_0x406d26=_0x454d4a[_0x480e36(0x137)](_0x1f3bee);_0x30fbb3[_0x480e36(0xb6)](_0x1f3bee),_0x406d26&&_0x454d4a[_0x480e36(0x11e)](_0x406d26),this[_0x480e36(0xbb)][_0x480e36(0x116)](_0x240674),this[_0x480e36(0x102)][_0x480e36(0x116)](_0x1f3bee),_0xb7c013[_0x480e36(0x117)]();}[_0x5d5c92(0xad)](_0x2030be){const _0x166d98=_0x5d5c92;if(!_0x2030be[_0x166d98(0xd1)]||!this[_0x166d98(0xbb)][_0x166d98(0x103)](_0x2030be))return;const _0xdae6ba=this[_0x166d98(0xf4)][_0x166d98(0xb4)][_0x166d98(0x10b)](_0x166d98(0xca)),_0x5118fa=this[_0x166d98(0xbb)][_0x166d98(0x10b)](_0x2030be),_0x5ed2d2=_0x2030be[_0x166d98(0xdb)]();_0x5118fa[_0x166d98(0xf0)][_0x166d98(0x135)]=_0xdae6ba[_0x166d98(0xd8)][_0x166d98(0x139)](_0x5ed2d2);}[_0x5d5c92(0x117)](){const _0x52c80f=_0x5d5c92;for(const _0x353de6 of this[_0x52c80f(0xbb)][_0x52c80f(0xc7)]())this[_0x52c80f(0xb8)](_0x353de6);for(const _0x12eea9 of this[_0x52c80f(0xd6)][_0x52c80f(0x136)]())_0x12eea9[_0x52c80f(0xdf)][_0x52c80f(0x117)]();super[_0x52c80f(0x117)]();}}function ae(_0x28fc30){const _0xf312d7=_0x5d5c92;return _0xf312d7(0x11b)in _0x28fc30;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1695f0=_0x440e;(function(_0x392551,_0x2d04bb){const _0x46fb82=_0x440e,_0x5216f6=_0x392551();while(!![]){try{const _0x543dcb=-parseInt(_0x46fb82(0x1d7))/0x1+parseInt(_0x46fb82(0x1c2))/0x2*(parseInt(_0x46fb82(0x1be))/0x3)+parseInt(_0x46fb82(0x1d4))/0x4*(parseInt(_0x46fb82(0x1d6))/0x5)+parseInt(_0x46fb82(0x1d3))/0x6+parseInt(_0x46fb82(0x1d1))/0x7*(-parseInt(_0x46fb82(0x1c1))/0x8)+parseInt(_0x46fb82(0x1d8))/0x9*(-parseInt(_0x46fb82(0x1b7))/0xa)+parseInt(_0x46fb82(0x1ba))/0xb*(parseInt(_0x46fb82(0x1bb))/0xc);if(_0x543dcb===_0x2d04bb)break;else _0x5216f6['push'](_0x5216f6['shift']());}catch(_0x4ec9a9){_0x5216f6['push'](_0x5216f6['shift']());}}}(_0x2ba8,0x3f8ae));import{ObservableMixin as _0x3a4b89}from'ckeditor5/src/utils.js';function _0x440e(_0x1a9175,_0xc13ad5){const _0x2ba850=_0x2ba8();return _0x440e=function(_0x440e6a,_0x4af012){_0x440e6a=_0x440e6a-0x1b2;let _0x5a52cb=_0x2ba850[_0x440e6a];return _0x5a52cb;},_0x440e(_0x1a9175,_0xc13ad5);}import{getTranslation as _0x1820db}from'../utils/common-translations.js';export default class oe extends _0x3a4b89(){constructor(_0x59b32f,_0x449ed1,_0xdbe33a,_0x19312a){const _0x2e5865=_0x440e;super(),this[_0x2e5865(0x1c3)]=_0x449ed1,this[_0x2e5865(0x1b9)]=_0xdbe33a,this[_0x2e5865(0x1c5)]=_0x19312a,this[_0x2e5865(0x1d2)]=_0x59b32f,this[_0x2e5865(0x1b4)]=_0x59b32f[_0x2e5865(0x1d5)][_0x2e5865(0x1dc)](_0x2e5865(0x1cc)),this[_0x2e5865(0x1b5)]=_0x59b32f[_0x2e5865(0x1d5)][_0x2e5865(0x1dc)](_0x2e5865(0x1bc)),this[_0x2e5865(0x1b9)][_0x2e5865(0x1c0)](_0x2e5865(0x1cf))['to'](this[_0x2e5865(0x1b4)],this[_0x2e5865(0x1b5)],(_0x3c3865,_0x1f9d2b)=>_0x3c3865||_0x1f9d2b),this[_0x2e5865(0x1b9)][_0x2e5865(0x1c0)](_0x2e5865(0x1cb))['to'](this[_0x2e5865(0x1b4)],_0x2e5865(0x1cf),_0x1b0d16=>_0x1b0d16&&this[_0x2e5865(0x1d2)][_0x2e5865(0x1c3)][_0x2e5865(0x1ce)](_0x449ed1[_0x2e5865(0x1c9)]())),this[_0x2e5865(0x1b9)][_0x2e5865(0x1c0)](_0x2e5865(0x1b2))['to'](this[_0x2e5865(0x1b5)],_0x2e5865(0x1cf),_0xdc6eac=>_0xdc6eac&&this[_0x2e5865(0x1d2)][_0x2e5865(0x1c3)][_0x2e5865(0x1ce)](_0x449ed1[_0x2e5865(0x1c9)]())),this[_0x2e5865(0x1c4)]=null,_0xdbe33a[_0x2e5865(0x1d0)]&&this[_0x2e5865(0x1bf)](),this[_0x2e5865(0x1b3)](_0xdbe33a,_0x2e5865(0x1cc),()=>this[_0x2e5865(0x1cc)]()),this[_0x2e5865(0x1b3)](_0xdbe33a,_0x2e5865(0x1bc),()=>this[_0x2e5865(0x1bc)]()),this[_0x2e5865(0x1b3)](_0xdbe33a,_0x2e5865(0x1db),()=>{const _0x324f35=_0x2e5865;_0xdbe33a[_0x324f35(0x1d0)]?this[_0x324f35(0x1bf)]():this[_0x324f35(0x1c8)]();});}[_0x1695f0(0x1cc)](){const _0x1cf51d=_0x1695f0;this[_0x1cf51d(0x1b4)][_0x1cf51d(0x1d9)](this[_0x1cf51d(0x1c3)]['id']);}[_0x1695f0(0x1bc)](){const _0x1d827d=_0x1695f0;this[_0x1d827d(0x1b5)][_0x1d827d(0x1d9)](this[_0x1d827d(0x1c3)]['id']);}[_0x1695f0(0x1da)](){const _0x46a82d=_0x1695f0;this[_0x46a82d(0x1b9)][_0x46a82d(0x1c6)](_0x46a82d(0x1cf)),this[_0x46a82d(0x1b9)][_0x46a82d(0x1c6)](_0x46a82d(0x1cb)),this[_0x46a82d(0x1b9)][_0x46a82d(0x1c6)](_0x46a82d(0x1b2)),this[_0x46a82d(0x1c7)](),this[_0x46a82d(0x1c5)][_0x46a82d(0x1da)](),this[_0x46a82d(0x1c4)]&&this[_0x46a82d(0x1c8)]();}[_0x1695f0(0x1bf)](){const _0x29b3fb=_0x1695f0,_0x5773aa=_0x1820db(this[_0x29b3fb(0x1d2)][_0x29b3fb(0x1b6)],_0x29b3fb(0x1bd));this[_0x29b3fb(0x1c4)]=this[_0x29b3fb(0x1d2)][_0x29b3fb(0x1dd)][_0x29b3fb(0x1dc)](_0x29b3fb(0x1b8))[_0x29b3fb(0x1ca)](_0x5773aa);}[_0x1695f0(0x1c8)](){const _0x57fdd6=_0x1695f0;null!==this[_0x57fdd6(0x1c4)]&&this[_0x57fdd6(0x1d2)][_0x57fdd6(0x1dd)][_0x57fdd6(0x1dc)](_0x57fdd6(0x1b8))[_0x57fdd6(0x1cd)](this[_0x57fdd6(0x1c4)]),this[_0x57fdd6(0x1c4)]=null;}}function _0x2ba8(){const _0x5f2aa6=['get','plugins','canDiscard','listenTo','_acceptCommand','_discardCommand','locale','10uqFplc','PendingActions','view','88POeGVn','190152sDXqDC','discardSuggestion','PENDING_ACTION_SUGGESTION','43737STaGHT','_setPendingAction','bind','16824naesKE','16eFcCfz','model','_pendingAction','commentThreadController','unbind','stopListening','_removePendingAction','getRanges','add','canAccept','acceptSuggestion','remove','canEditAt','isEnabled','isDirty','329pdYQMP','_editor','2479272vZpagW','16660ultUac','commands','35xBmMEp','312679krtsvh','125793fCsOTX','execute','destroy','change:isDirty'];_0x2ba8=function(){return _0x5f2aa6;};return _0x2ba8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x240090=_0x1bcc;function _0x27ad(){const _0x5a9b8c=['descriptionParts','12cBWWWb','removeComment','commentThread','fire','editor','_createCommentThreadInputView','disableComments','locale','addComment','CommentView','commentThreadInputView','value','19458NEvWpV','_model','authoredAt','405882qVYQYo','3154030zaxByf','cancel','canAccept','destroy','setData','74535qgmDot','element','editorConfig','isEnabled','commentInputView','7pouNGR','bind','submit','isActive','assign','isReadOnly','309728RpNraK','655804XNqWAL','497399xgeNtU','disabledSubmit','updateComment','_config','hasDirtyComment','focus','set','3pfNFzO','showInput','_localUser','canDiscard','delegate','_createCommentViews','commentsListView','isDirty','length'];_0x27ad=function(){return _0x5a9b8c;};return _0x27ad();}(function(_0x5b20c3,_0x4f5d56){const _0x5c2915=_0x1bcc,_0x34f841=_0x5b20c3();while(!![]){try{const _0x11e0ef=-parseInt(_0x5c2915(0x215))/0x1*(parseInt(_0x5c2915(0x207))/0x2)+-parseInt(_0x5c2915(0x224))/0x3*(parseInt(_0x5c2915(0x21c))/0x4)+-parseInt(_0x5c2915(0x210))/0x5*(-parseInt(_0x5c2915(0x1fb))/0x6)+-parseInt(_0x5c2915(0x21d))/0x7+parseInt(_0x5c2915(0x21b))/0x8+parseInt(_0x5c2915(0x20a))/0x9+parseInt(_0x5c2915(0x20b))/0xa;if(_0x11e0ef===_0x4f5d56)break;else _0x34f841['push'](_0x34f841['shift']());}catch(_0x51c17a){_0x34f841['push'](_0x34f841['shift']());}}}(_0x27ad,0x1ebe0));import{View as _0x23e51c}from'ckeditor5/src/ui.js';function _0x1bcc(_0x1c29e5,_0x5f1055){const _0x27addc=_0x27ad();return _0x1bcc=function(_0x1bccd2,_0xc54064){_0x1bccd2=_0x1bccd2-0x1f3;let _0x1e3cba=_0x27addc[_0x1bccd2];return _0x1e3cba;},_0x1bcc(_0x1c29e5,_0x5f1055);}export default class es extends _0x23e51c{constructor(_0x10fcdb,_0x3fa40d,_0x54d155,_0x2bca97){const _0x34f79a=_0x1bcc;super(_0x10fcdb),this[_0x34f79a(0x1f7)]=null,this[_0x34f79a(0x205)]=null,this[_0x34f79a(0x223)](_0x34f79a(0x218),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x209),_0x3fa40d[_0x34f79a(0x209)]),this[_0x34f79a(0x216)](_0x34f79a(0x209))['to'](_0x3fa40d),this[_0x34f79a(0x223)](_0x34f79a(0x1fa),[]),this[_0x34f79a(0x223)](_0x34f79a(0x1f8),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x213),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x20d),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x1f4),!0x1),this[_0x34f79a(0x208)]=_0x3fa40d,this[_0x34f79a(0x1f3)]=_0x54d155,this[_0x34f79a(0x220)]=_0x2bca97,_0x2bca97[_0x34f79a(0x201)]?this[_0x34f79a(0x223)](_0x34f79a(0x1f9),0x1):this[_0x34f79a(0x1f6)]();}[_0x240090(0x222)](){const _0x26883b=_0x240090;this[_0x26883b(0x211)][_0x26883b(0x222)]();}[_0x240090(0x20e)](){const _0x376838=_0x240090;this[_0x376838(0x1f7)]&&this[_0x376838(0x1f7)][_0x376838(0x20e)](),this[_0x376838(0x205)]&&this[_0x376838(0x205)][_0x376838(0x20e)](),super[_0x376838(0x20e)]();}[_0x240090(0x1f6)](){const _0x5f2c40=_0x240090,{CommentsListView:_0x2b91f8}=this[_0x5f2c40(0x220)];this[_0x5f2c40(0x1f7)]=new _0x2b91f8(this[_0x5f2c40(0x202)],this[_0x5f2c40(0x208)][_0x5f2c40(0x1fd)],Object[_0x5f2c40(0x219)]({'CommentView':this[_0x5f2c40(0x220)][_0x5f2c40(0x204)]},this[_0x5f2c40(0x220)])),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x1f5)](_0x5f2c40(0x1fc))['to'](this),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x1f5)](_0x5f2c40(0x21f))['to'](this),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x216)](_0x5f2c40(0x218))['to'](this),this[_0x5f2c40(0x223)](_0x5f2c40(0x1f9),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x1f9)]+0x1),this[_0x5f2c40(0x216)](_0x5f2c40(0x1f9))['to'](this[_0x5f2c40(0x1f7)],_0x5f2c40(0x1f9),_0x2d2f48=>_0x2d2f48+0x1),this[_0x5f2c40(0x205)]=this[_0x5f2c40(0x200)](),this['on'](_0x5f2c40(0x1fc),()=>this[_0x5f2c40(0x222)]()),this[_0x5f2c40(0x216)](_0x5f2c40(0x1f8))['to'](this[_0x5f2c40(0x1f7)],_0x5f2c40(0x221),this[_0x5f2c40(0x205)][_0x5f2c40(0x214)],_0x5f2c40(0x206),(_0x49d4ae,_0x3c70b9)=>_0x49d4ae||!!_0x3c70b9);}[_0x240090(0x200)](){const _0x4cfcf3=_0x240090,{CommentThreadInputView:_0x30d0f4}=this[_0x4cfcf3(0x220)],_0x48d2dc=new _0x30d0f4(this[_0x4cfcf3(0x202)],this[_0x4cfcf3(0x1f3)],this[_0x4cfcf3(0x220)][_0x4cfcf3(0x212)]),_0x17f640=_0x48d2dc[_0x4cfcf3(0x214)];return _0x48d2dc[_0x4cfcf3(0x216)](_0x4cfcf3(0x225))['to'](this,_0x4cfcf3(0x218),this[_0x4cfcf3(0x208)][_0x4cfcf3(0x1fd)],_0x4cfcf3(0x21a),_0x17f640,_0x4cfcf3(0x206),(_0x5dd76b,_0x332b96,_0x4ae93e)=>!!_0x4ae93e||_0x5dd76b&&!_0x332b96),_0x17f640['on'](_0x4cfcf3(0x217),(_0x3fe277,_0x37359d)=>{const _0x2736b0=_0x4cfcf3;this[_0x2736b0(0x1fe)](_0x2736b0(0x203),_0x37359d),_0x17f640[_0x2736b0(0x1ff)][_0x2736b0(0x20f)]('');}),_0x17f640['on'](_0x4cfcf3(0x20c),()=>this[_0x4cfcf3(0x222)]()),_0x17f640[_0x4cfcf3(0x216)](_0x4cfcf3(0x21e))['to'](this[_0x4cfcf3(0x208)][_0x4cfcf3(0x1fd)],_0x4cfcf3(0x21a)),_0x48d2dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40158e=_0x289c;(function(_0x39ce10,_0x5c0baa){const _0x579a13=_0x289c,_0x1191ae=_0x39ce10();while(!![]){try{const _0x4ad6aa=parseInt(_0x579a13(0x1e6))/0x1+parseInt(_0x579a13(0x1e9))/0x2+-parseInt(_0x579a13(0x213))/0x3+-parseInt(_0x579a13(0x23b))/0x4+-parseInt(_0x579a13(0x242))/0x5+-parseInt(_0x579a13(0x1fd))/0x6+parseInt(_0x579a13(0x23e))/0x7;if(_0x4ad6aa===_0x5c0baa)break;else _0x1191ae['push'](_0x1191ae['shift']());}catch(_0x27a253){_0x1191ae['push'](_0x1191ae['shift']());}}}(_0x5771,0xa0555));import{getTranslation as _0x3ff833}from'../../utils/common-translations.js';import{default as _0x466469}from'./basesuggestionthreadview.js';import{ButtonView as _0xe630f}from'ckeditor5/src/ui.js';import{icons as _0xcb5da9}from'ckeditor5/src/core.js';import{trimHtml as _0x2c4e1a,UserView as _0x39eaca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x466469{constructor(_0x1bcacf,_0x459913,_0xf104a4,_0x58606a){const _0x169fb7=_0x289c;super(_0x1bcacf,_0x459913,_0xf104a4,_0x58606a),this[_0x169fb7(0x20d)](_0x169fb7(0x246),''),this[_0x169fb7(0x231)](_0x169fb7(0x246))['to'](this,_0x169fb7(0x1ea),_0x16284b=>_0x16284b&&_0x16284b[0x0]?_0x16284b[0x0][_0x169fb7(0x246)]:''),this[_0x169fb7(0x231)](_0x169fb7(0x247))['to'](this,_0x169fb7(0x1ea),this,_0x169fb7(0x1f3),(_0x3dd033,_0xcd59c8)=>{const _0x37224a=_0x169fb7;let _0x19a236='';for(const _0x291513 of _0x3dd033)_0x19a236+=_0x37224a(0x22e)+ds(_0x291513[_0x37224a(0x211)],_0x291513[_0x37224a(0x209)])+_0x37224a(0x216);return _0xcd59c8?_0x19a236:_0x2c4e1a(_0x19a236,{'limit':0x8c});}),this[_0x169fb7(0x23a)]=null,this[_0x169fb7(0x21e)]=this[_0x169fb7(0x1f0)](_0x3ff833(_0x1bcacf,_0x169fb7(0x230)),_0xcb5da9[_0x169fb7(0x1ed)],_0x169fb7(0x1f9),_0x169fb7(0x245),'sw'),this[_0x169fb7(0x21e)][_0x169fb7(0x231)](_0x169fb7(0x1e3))['to'](this,_0x169fb7(0x1ef)),this[_0x169fb7(0x217)]=this[_0x169fb7(0x1f0)](_0x3ff833(_0x1bcacf,_0x169fb7(0x225)),_0xcb5da9[_0x169fb7(0x22a)],_0x169fb7(0x1e5),_0x169fb7(0x207),'sw'),this[_0x169fb7(0x217)][_0x169fb7(0x231)](_0x169fb7(0x1e3))['to'](this,_0x169fb7(0x1ff)),this[_0x169fb7(0x22d)]=new _0x39eaca(_0x1bcacf,this[_0x169fb7(0x23d)][_0x169fb7(0x24d)],this[_0x169fb7(0x239)]()),this[_0x169fb7(0x22d)][_0x169fb7(0x1ee)]({'attributes':{'class':[_0x169fb7(0x1f1),_0x169fb7(0x24b)]}}),this[_0x169fb7(0x205)](this[_0x169fb7(0x244)]());}[_0x40158e(0x244)](){const _0x40a0cb=_0x40158e,_0x4a43b1=this[_0x40a0cb(0x214)],_0x3f17c8=[{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x1fb),_0x40a0cb(0x21c)]},'children':[{'tag':_0x40a0cb(0x23f),'children':[{'text':this[_0x40a0cb(0x22d)][_0x40a0cb(0x20e)]}],'attributes':{'class':[_0x40a0cb(0x219),_0x40a0cb(0x1f4)]}},{'tag':_0x40a0cb(0x21d),'attributes':{'datetime':_0x4a43b1['to'](_0x40a0cb(0x21a)),'class':[_0x40a0cb(0x222),_0x40a0cb(0x203)]},'children':[{'text':_0x4a43b1['to'](_0x40a0cb(0x21a),_0x168bd8=>this[_0x40a0cb(0x1fc)][_0x40a0cb(0x235)](_0x168bd8))}]}]},{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x1e7),_0x40a0cb(0x1f2)]},'children':[this[_0x40a0cb(0x21e)],this[_0x40a0cb(0x217)]]},{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x1fe)]}}];this[_0x40a0cb(0x23d)][_0x40a0cb(0x200)]&&_0x3f17c8[_0x40a0cb(0x236)]({'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x227)]},'children':[{'text':this[_0x40a0cb(0x220)]()}]});const _0x4bf6d6={'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x204),_0x4a43b1['if'](_0x40a0cb(0x1f3),_0x40a0cb(0x24a)),_0x4a43b1['to'](_0x40a0cb(0x246),_0x402410=>_0x40a0cb(0x20b)+_0x402410),this[_0x40a0cb(0x1fc)][_0x40a0cb(0x241)]&&_0x40a0cb(0x201)],'data-suggestion-id':this[_0x40a0cb(0x23d)]['id'],'data-thread-id':this[_0x40a0cb(0x23d)][_0x40a0cb(0x210)]['id'],'data-author-id':this[_0x40a0cb(0x23d)][_0x40a0cb(0x24d)]['id'],'tabindex':-0x1},'children':[{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x20f),_0x40a0cb(0x1e4)]},'children':[this[_0x40a0cb(0x22d)],{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x21f),_0x40a0cb(0x21b)]},'children':_0x3f17c8}]}]};return this[_0x40a0cb(0x215)]&&this[_0x40a0cb(0x1e8)]&&(_0x4bf6d6[_0x40a0cb(0x1eb)][_0x40a0cb(0x236)](this[_0x40a0cb(0x215)],this[_0x40a0cb(0x1e8)]),this[_0x40a0cb(0x215)][_0x40a0cb(0x221)](_0x40a0cb(0x248))['to'](this),this[_0x40a0cb(0x215)][_0x40a0cb(0x221)](_0x40a0cb(0x240))['to'](this),this[_0x40a0cb(0x1e8)][_0x40a0cb(0x221)](_0x40a0cb(0x248))['to'](this),this[_0x40a0cb(0x1e8)][_0x40a0cb(0x221)](_0x40a0cb(0x240))['to'](this)),_0x4bf6d6;}[_0x40158e(0x232)](){const _0xda5503=_0x40158e;super[_0xda5503(0x232)](),this[_0xda5503(0x23a)]=this[_0xda5503(0x22b)][_0xda5503(0x202)](_0xda5503(0x23c)),this[_0xda5503(0x23a)][_0xda5503(0x212)]=this[_0xda5503(0x247)],this['on'](_0xda5503(0x1f6),(_0x305dc9,_0xcca9a8,_0x359b3e)=>{const _0x921299=_0xda5503;this[_0x921299(0x23a)][_0x921299(0x212)]=_0x359b3e;});}[_0x40158e(0x1f0)](_0x98a79f,_0x505de4,_0x50433e,_0x38a193,_0x2a273b){const _0x1739c9=_0x40158e,_0x2bbc1e=new _0xe630f(this[_0x1739c9(0x1f5)]);return _0x2bbc1e[_0x1739c9(0x20d)]({'label':_0x98a79f,'icon':_0x505de4,'tooltip':!0x0,'tooltipPosition':_0x2a273b}),_0x2bbc1e[_0x1739c9(0x1ee)]({'attributes':{'class':_0x50433e}}),_0x2bbc1e['on'](_0x1739c9(0x237),()=>{const _0x33c115=_0x1739c9;this[_0x33c115(0x208)](_0x38a193,this[_0x33c115(0x23d)]['id']);}),_0x2bbc1e;}[_0x40158e(0x220)](){const _0x5650d4=_0x40158e;return _0x5650d4(0x206)===this[_0x5650d4(0x23d)][_0x5650d4(0x22c)][_0x5650d4(0x223)][_0x5650d4(0x20c)]?_0x3ff833(this[_0x5650d4(0x1f5)],_0x5650d4(0x243)):_0x3ff833(this[_0x5650d4(0x1f5)],_0x5650d4(0x238));}[_0x40158e(0x239)](){const _0x35c962=_0x40158e;return this[_0x35c962(0x23d)][_0x35c962(0x200)]?_0x35c962(0x206)===this[_0x35c962(0x23d)][_0x35c962(0x22c)][_0x35c962(0x223)][_0x35c962(0x20c)]?_0x3ff833(this[_0x35c962(0x1f5)],_0x35c962(0x218),this[_0x35c962(0x23d)][_0x35c962(0x20a)][_0x35c962(0x20e)]):_0x3ff833(this[_0x35c962(0x1f5)],_0x35c962(0x1e2),this[_0x35c962(0x23d)][_0x35c962(0x20a)][_0x35c962(0x20e)]):null;}}function _0x289c(_0x1192c7,_0xacd4e){const _0x5771f1=_0x5771();return _0x289c=function(_0x289ca5,_0x418e7a){_0x289ca5=_0x289ca5-0x1e2;let _0x2cca87=_0x5771f1[_0x289ca5];return _0x2cca87;},_0x289c(_0x1192c7,_0xacd4e);}function _0x5771(){const _0x47141b=['EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__info-name','authoredAt','ck-annotation__main','ck-annotation__info','time','acceptButton','ck-suggestion__main','getExternalSuggestionNote','delegate','ck-comment__info-time','@external','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','Discard\x20suggestion','join','ck-comment__external','</span>','value','cancel','element','attributes','userView','<p>','split','Accept\x20suggestion','bind','render','createElement','\x22></span>','formatDateTime','push','execute','EXTERNAL_SUGGESTION','getUserViewNotificationText','_descriptionElement','744364tsStsY','.ck-annotation__content-wrapper','_model','5702480hLOwtA','span','editorDestroyed','disableComments','859120HGWstT','EXTERNAL_IMPORT_WORD_SUGGESTION','getTemplate','acceptSuggestion','type','description','editorReady','innerText','ck-suggestion-wrapper--active','ck-annotation__user','\x22\x20title=\x22','author','EXTERNAL_AVATAR','isEnabled','ck-annotation','ck-suggestion--discard','820882ffZydb','ck-suggestion__actions','commentThreadInputView','1233756BSpXLO','descriptionParts','children','map','check','extendTemplate','canAccept','_createButton','ck-suggestion__user','ck-annotation__actions','isActive','ck-annotation__info-name','locale','change:description','div','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion--accept','title','ck-suggestion__info','_config','1032540viUGgn','ck-annotation__content-wrapper','canDiscard','isExternal','ck-suggestion--disabled-comments','querySelector','ck-annotation__info-time','ck-suggestion-wrapper','setTemplate','importWord','discardSuggestion','fire','color','creator','ck-suggestion-','source','set','name','ck-suggestion','commentThread','content','innerHTML','3197010SzTPTd','bindTemplate','commentsListView','</p>','discardButton'];_0x5771=function(){return _0x47141b;};return _0x5771();}function ds(_0x2d11b8,_0x6ce4c){const _0x15c260=_0x40158e;let _0x3f2ed7='';return _0x3f2ed7+=_0x2d11b8[_0x15c260(0x22f)]('*')[_0x15c260(0x1ec)]((_0x306f34,_0x3c3991)=>_0x3c3991%0x2!=0x0?_0x15c260(0x1f8)+us(_0x306f34)+_0x15c260(0x228):us(_0x306f34))[_0x15c260(0x226)](''),_0x6ce4c&&(_0x3f2ed7+=_0x15c260(0x224)+_0x6ce4c[_0x15c260(0x229)]+_0x15c260(0x24c)+_0x6ce4c[_0x15c260(0x1fa)]+_0x15c260(0x234)),_0x3f2ed7;}function us(_0x5a0e70){const _0xda73fd=_0x40158e,_0x3b1d21=document[_0xda73fd(0x233)](_0xda73fd(0x23f));return _0x3b1d21[_0xda73fd(0x249)]=_0x5a0e70,_0x3b1d21[_0xda73fd(0x212)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5aa70c,_0x1cfcd6,_0x53f7aa){const t=_0x5aa70c['t'];switch(_0x1cfcd6){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',_0x53f7aa);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x53f7aa);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x53f7aa);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x53f7aa);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x53f7aa);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',_0x53f7aa);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x53f7aa);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',_0x53f7aa);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x53f7aa);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x53f7aa);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x53f7aa);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x53f7aa);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x53f7aa);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x53f7aa);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x53f7aa);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x53f7aa);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x53f7aa);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x53f7aa);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x53f7aa);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x53f7aa);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x53f7aa);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x53f7aa);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x53f7aa);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x53f7aa);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x53f7aa);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x53f7aa);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x53f7aa);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x53f7aa);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x53f7aa);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x53f7aa);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'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x53f7aa);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x53f7aa);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x53f7aa);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'},_0x53f7aa);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x1cfcd6;}}
|
|
23
|
+
export function getTranslation(_0x1f21e8,_0x49bcfe,_0x314e48){const t=_0x1f21e8['t'];switch(_0x49bcfe){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',_0x314e48);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x314e48);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x314e48);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x314e48);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x314e48);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',_0x314e48);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x314e48);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',_0x314e48);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x314e48);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x314e48);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x314e48);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x314e48);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x314e48);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x314e48);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x314e48);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x314e48);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x314e48);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x314e48);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x314e48);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x314e48);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x314e48);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x314e48);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x314e48);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'},_0x314e48);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x314e48);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x314e48);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x314e48);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x314e48);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x314e48);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'},_0x314e48);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x314e48);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x314e48);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x314e48);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x314e48);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'},_0x314e48);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x314e48);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'},_0x314e48);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'},_0x314e48);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x314e48);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'},_0x314e48);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x314e48);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'},_0x314e48);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x314e48);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x314e48);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x314e48);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'},_0x314e48);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x49bcfe;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x36e8a7,_0x545058){const _0x2c9838=_0x5035,_0x55a0c3=_0x36e8a7();while(!![]){try{const _0x2dfb9b=-parseInt(_0x2c9838(0xc1))/0x1+-parseInt(_0x2c9838(0xbb))/0x2+parseInt(_0x2c9838(0xc6))/0x3+-parseInt(_0x2c9838(0xcc))/0x4*(parseInt(_0x2c9838(0xd7))/0x5)+-parseInt(_0x2c9838(0xbf))/0x6+-parseInt(_0x2c9838(0xdf))/0x7*(-parseInt(_0x2c9838(0xc0))/0x8)+parseInt(_0x2c9838(0xbc))/0x9*(parseInt(_0x2c9838(0xd5))/0xa);if(_0x2dfb9b===_0x545058)break;else _0x55a0c3['push'](_0x55a0c3['shift']());}catch(_0x120f99){_0x55a0c3['push'](_0x55a0c3['shift']());}}}(_0x18c9,0x93a19));export function normalizeDescription(_0x4707d1){const _0x2b167d=_0x5035;return Array[_0x2b167d(0xe0)](_0x4707d1)||(_0x4707d1=[_0x4707d1]),_0x4707d1[_0x2b167d(0xd2)](_0x583c49=>{const _0x20bc8d=_0x2b167d,_0x41eee9=_0x583c49[_0x20bc8d(0xe2)][_0x20bc8d(0xc7)](/\*/g,''),_0x17f75c=_0x583c49[_0x20bc8d(0xd8)]?_0x20bc8d(0xd4)+_0x583c49[_0x20bc8d(0xd8)][_0x20bc8d(0xca)]+']':'';return'['+_0x583c49[_0x20bc8d(0xe4)]+']\x20'+_0x41eee9+_0x17f75c;})[_0x2b167d(0xe3)](';\x20');}function _0x18c9(){const _0x43bc17=['\x20[color\x20','63970ngfeEl','length','40SQBlzm','color','splice','add','execute','schema','isTouching','createPositionBefore','63cNmeWM','isArray','change','content','join','type','from','1006204CVJNmw','1143bpHsrq','createRange','isCollapsed','3392412WKzECz','474184Rjtgbu','634702LTCPxH','createPositionAt','next','isInContent','isMultiRange','3320169KRsZjo','replace','end','sort','value','push','72348sBQuWz','isIntersecting','start','createPositionAfter','deletion','getRanges','map','isObject'];_0x18c9=function(){return _0x43bc17;};return _0x18c9();}export function sortSuggestions(_0x31674b){const _0x4e8e76=_0x5035;return _0x31674b[_0x4e8e76(0xc9)]((_0x130c9e,_0x5bb8f6)=>_0x4e8e76(0xd0)==_0x130c9e[_0x4e8e76(0xe4)]&&_0x4e8e76(0xd0)!=_0x5bb8f6[_0x4e8e76(0xe4)]?-0x1:_0x4e8e76(0xd0)!=_0x130c9e[_0x4e8e76(0xe4)]&&_0x4e8e76(0xd0)==_0x5bb8f6[_0x4e8e76(0xe4)]?0x1:0x0);}export function getSelectedSuggestions(_0x4caedb,_0x1229b1){const _0x58eaa5=_0x5035,_0x3b069b=Array[_0x58eaa5(0xba)](_0x4caedb[_0x58eaa5(0xd1)]()),_0x4e6efc=new Set();for(const _0x4e0788 of _0x1229b1)if(_0x4e0788[_0x58eaa5(0xc4)]){for(const _0x5b28fc of _0x3b069b)for(const _0x2043fa of _0x4e0788[_0x58eaa5(0xd1)]())(_0x5b28fc[_0x58eaa5(0xcd)](_0x2043fa)||_0x4caedb[_0x58eaa5(0xbe)]&&!_0x4e0788[_0x58eaa5(0xc5)]&&_0x4e0788[_0x58eaa5(0xc3)]&&_0x2043fa[_0x58eaa5(0xc8)][_0x58eaa5(0xdd)](_0x5b28fc[_0x58eaa5(0xce)]))&&_0x4e6efc[_0x58eaa5(0xda)](_0x4e0788);}return _0x4e6efc;}export function getRangesOfBlockGroups(_0x5c77c6,_0x141b46){const _0x5459b3=_0x5035;let _0x1a585b,_0x7c8585=0x0;const _0x58fbf5=[],_0x4bef32=_0x141b46[_0x5459b3(0xdc)];for(;_0x7c8585<_0x5c77c6[_0x5459b3(0xd6)];){const _0x1da7c2=_0x5c77c6[_0x7c8585],_0x7c29d5=_0x5c77c6[_0x7c8585+0x1];_0x1a585b||(_0x1a585b=_0x141b46[_0x5459b3(0xde)](_0x1da7c2)),oo(_0x141b46,_0x1da7c2,_0x7c29d5)||(_0x58fbf5[_0x5459b3(0xcb)](_0x141b46[_0x5459b3(0xbd)](_0x1a585b,_0x4bef32[_0x5459b3(0xd3)](_0x1da7c2)?_0x141b46[_0x5459b3(0xcf)](_0x1da7c2):_0x141b46[_0x5459b3(0xc2)](_0x1da7c2,_0x5459b3(0xc8)))),_0x1a585b=null),_0x7c8585++;}return _0x58fbf5;}function oo(_0x173c14,_0x21c906,_0x290703){const _0x443eef=_0x5035;if(!_0x290703)return!0x1;const _0x32e189=_0x173c14[_0x443eef(0xcf)](_0x21c906),_0x2e11c3=_0x173c14[_0x443eef(0xde)](_0x290703);return _0x32e189[_0x443eef(0xdd)](_0x2e11c3);}function _0x5035(_0x5dc108,_0x4f73ff){const _0x18c998=_0x18c9();return _0x5035=function(_0x50358d,_0x2e4f75){_0x50358d=_0x50358d-0xba;let _0x1a7128=_0x18c998[_0x50358d];return _0x1a7128;},_0x5035(_0x5dc108,_0x4f73ff);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x452124,_0x53e963,_0x3618ec){const _0xc4a97b=_0x5035;for(;_0x3618ec[_0xc4a97b(0xd6)];){const _0x38f181=_0x3618ec[_0xc4a97b(0xd9)](0x0,0x64);_0x452124[_0xc4a97b(0xe1)](()=>{const _0x26eb17=_0xc4a97b;for(const _0xb3047d of _0x38f181)_0xb3047d[_0x26eb17(0xc4)]&&_0x53e963[_0x26eb17(0xdb)](_0xb3047d['id']);});}}
|