@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240423.0 → 0.0.0-nightly-20240425.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/ar.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.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 _0x26daca=_0x9a34;(function(_0x4e3a11,_0x270fe4){const _0x40a978=_0x9a34,_0x3109c4=_0x4e3a11();while(!![]){try{const _0x137b06=parseInt(_0x40a978(0x13e))/0x1+-parseInt(_0x40a978(0x13d))/0x2*(-parseInt(_0x40a978(0x12b))/0x3)+-parseInt(_0x40a978(0xde))/0x4+-parseInt(_0x40a978(0x14b))/0x5+-parseInt(_0x40a978(0x103))/0x6*(parseInt(_0x40a978(0x119))/0x7)+parseInt(_0x40a978(0x111))/0x8+parseInt(_0x40a978(0x101))/0x9;if(_0x137b06===_0x270fe4)break;else _0x3109c4['push'](_0x3109c4['shift']());}catch(_0x27b16b){_0x3109c4['push'](_0x3109c4['shift']());}}}(_0x399b,0xa8bc2));import{Plugin as _0x5666ea}from'ckeditor5/src/core.js';import{Collection as _0x52ac27}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x41937c,createDropdown as _0x4c088e,ListSeparatorView as _0x405aee,MenuBarMenuView as _0x19dd19,MenuBarMenuListView as _0x7e3037,MenuBarMenuListItemView as _0x8af527,MenuBarMenuListItemButtonView as _0x599332,SplitButtonView as _0x19a178,ViewModel as _0x59a42a}from'ckeditor5/src/ui.js';import{Users as _0x44218a,getDateTimeFormatter as _0x52e453,getAllMarkersDomElementsSorted as _0x30f315}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x490395 from'./trackchangesediting.js';function _0x399b(){const _0x47ae4e=['trackChanges','addComment','comments.editorConfig','plugins','getAllAdjacentSuggestions','discardAllSuggestions','suggestionChanged','8026164wZGsVQ','locale','240qXWURv','set','getRanges','switchbutton','_disableComments','define','menuBar:trackChanges','comments.maxCommentCharsWhenCollapsed','activeMarkers','comments.maxCommentsWhenCollapsed','focus','requires','TrackChangesUI','clear','10759752hznSvA','Accept\x20all\x20suggestions','componentFactory','Accept\x20all\x20selected\x20suggestions','_annotationViews','button','editing','from','164843pTbFim','registerAnnotation','reduce','buttonView','CommentsUI','has','isInContent','unbind','items','getByInnerView','init','previous','change:activeAnnotations','TrackChangesEditing','discardSelectedSuggestions','filter','actionView','change:previous','1053rhYqRT','_viewToController','commands','createCommentThreadController','panelView','separator','commentThread','descriptionParts','push','head','getFirstRange','get','acceptSelectedSuggestions','suggestionLoaded','children','acceptAllSuggestions','refreshSelectedViews','createAnnotationView','4718RvzTGs','364484mlofCD','Track\x20changes','Discard\x20all\x20suggestions','hasSuggestion','addSourceCollector','_bindAnnotationToEditors','_initializeController','isDirty','_handleControllerBuffer','_createMenuBarMenu','execute','getMarkerNames','_descriptionFactory','3907830nlhcQU','source','createAnnotation','isEnabled','value','lowest','comments','innerView','SuggestionThreadView','type','arrowView','CommentsRepository','Annotations','listenTo','comments.maxThreadTotalWeight','isMultiRange','some','trackChanges.disableComments','commandName','_handleSuggestionControllerDelayed','isOn','delegate','model','toMany','_suggestionToController','suggestion-','_addUIComponentsToFactory','_refreshActiveMarkers','view','keys','suggestionUnloaded','_destroyController','4058376yzYKXz','discardButton','delete','acceptButton','Discard\x20all\x20selected\x20suggestions','mainView','config','size','bind','editor','stopListening','trackChanges.SuggestionThreadView','_createToolbarButton','EditorAnnotations','getMarkers','values','_unbindEditors','length','destroy','getDescriptions','_updateController','getSuggestion','remove','activeAnnotations','getJoined','add','pluginName','CommentView'];_0x399b=function(){return _0x47ae4e;};return _0x399b();}import _0x2a8152 from'./ui/suggestioncontroller.js';function _0x9a34(_0xcb800a,_0x424ef3){const _0x399b7d=_0x399b();return _0x9a34=function(_0x9a3400,_0x87fcea){_0x9a3400=_0x9a3400-0xcf;let _0x257b55=_0x399b7d[_0x9a3400];return _0x257b55;},_0x9a34(_0xcb800a,_0x424ef3);}import _0x2f23df from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5f354b}from'./utils/common-translations.js';import _0x77c003 from'../theme/icons/track-changes.svg';export default class d extends _0x5666ea{static get[_0x26daca(0x10e)](){const _0x1b1efc=_0x26daca;return[_0x490395,_0x44218a,_0x1b1efc(0x156),_0x1b1efc(0x157),_0x1b1efc(0xeb)];}static get[_0x26daca(0xf8)](){const _0x56a6e7=_0x26daca;return _0x56a6e7(0x10f);}constructor(_0x1e611e){const _0x3d0c93=_0x26daca;super(_0x1e611e),this[_0x3d0c93(0xd6)]=new Map(),this[_0x3d0c93(0x12c)]=new Map(),this[_0x3d0c93(0x115)]=new Map(),this[_0x3d0c93(0x146)]=new Map();const _0xe353f=this[_0x3d0c93(0xe7)][_0x3d0c93(0xe4)];_0xe353f[_0x3d0c93(0x108)](_0x3d0c93(0xe9),_0x2f23df),_0xe353f[_0x3d0c93(0x108)](_0x3d0c93(0xcf),!0x1),this[_0x3d0c93(0x107)]=_0xe353f[_0x3d0c93(0x136)](_0x3d0c93(0xcf));}[_0x26daca(0xd1)](_0x4d6538,_0x39c3e5){const _0x45834b=_0x26daca;0x0===this[_0x45834b(0x146)][_0x45834b(0xe5)]&&setTimeout(()=>{const _0x3c2d0e=_0x45834b;for(const [_0x2f5d00,_0x45cef1]of this[_0x3c2d0e(0x146)]){const _0xd687a9=this[_0x3c2d0e(0xd6)][_0x3c2d0e(0x11e)](_0x2f5d00);_0xd687a9||_0x45cef1?_0xd687a9&&_0x45cef1&&this[_0x3c2d0e(0xdd)](_0x2f5d00):this[_0x3c2d0e(0x144)](_0x2f5d00);}this[_0x3c2d0e(0x146)][_0x3c2d0e(0x110)](),this[_0x3c2d0e(0xe7)][_0x3c2d0e(0xfd)][_0x3c2d0e(0x136)](_0x3c2d0e(0xeb))[_0x3c2d0e(0x13b)](),this[_0x3c2d0e(0xd9)]();},0xa),this[_0x45834b(0x146)][_0x45834b(0x104)](_0x4d6538,_0x39c3e5);}[_0x26daca(0x123)](){const _0x2f9791=_0x26daca,_0xd2646f=this[_0x2f9791(0xe7)],_0x478eae=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0x126)),_0x16afc4=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0x157)),_0xa2628e=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0xeb)),_0x5d70c7=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0x156));this[_0x2f9791(0xd8)](),_0xa2628e[_0x2f9791(0x142)](()=>{const _0x1d19d2=_0x2f9791,_0x2c439e=[];for(const [_0x3f4a73,_0x4e8c63]of Array[_0x1d19d2(0x118)](this[_0x1d19d2(0xd6)])){const _0x577096=_0x3f4a73[_0x1d19d2(0xfe)](),_0x3326bf=[];for(const _0x383c21 of _0x577096){if(!_0x383c21[_0x1d19d2(0x11f)])continue;if(_0x383c21[_0x1d19d2(0x15a)]){_0x3326bf[_0x1d19d2(0x133)](..._0x383c21[_0x1d19d2(0x105)]());continue;}const _0x3031a3=_0x383c21[_0x1d19d2(0x135)]();if(_0x3326bf[_0x1d19d2(0xef)]>0x0){const _0x2f852a=_0x3326bf[0x0][_0x1d19d2(0xf6)](_0x3031a3);if(_0x2f852a){_0x3326bf[0x0]=_0x2f852a;continue;}}_0x3326bf[_0x1d19d2(0x133)](_0x3031a3);}_0x2c439e[_0x1d19d2(0x133)]([_0x4e8c63[_0x1d19d2(0xda)],_0x3326bf]);}return _0x2c439e;}),this[_0x2f9791(0x158)](_0x478eae,_0x2f9791(0x138),(_0x234c30,_0x3afd95)=>{const _0x574bf5=_0x2f9791;this[_0x574bf5(0x158)](_0x3afd95,_0x574bf5(0x12a),(_0x3e1253,_0x220c84,_0x757025,_0x42166a)=>{const _0x4f28ea=_0x574bf5;_0x3afd95[_0x4f28ea(0x11f)]&&(null==_0x757025?(this[_0x4f28ea(0xf2)](_0x42166a[_0x4f28ea(0x134)]),this[_0x4f28ea(0xd1)](_0x3afd95,!0x1)):(this[_0x4f28ea(0xf2)](_0x757025[_0x4f28ea(0x134)]),null==_0x42166a&&this[_0x4f28ea(0xd1)](_0x3afd95,!0x0)));}),null!==_0x3afd95[_0x574bf5(0x124)]?this[_0x574bf5(0xf2)](_0x3afd95[_0x574bf5(0x134)]):this[_0x574bf5(0xd1)](_0x3afd95,!0x1);}),this[_0x2f9791(0x158)](_0x478eae,_0x2f9791(0xdc),(_0x18c2be,_0x344866,_0x197510)=>{const _0x24d6bf=_0x2f9791;this[_0x24d6bf(0xe8)](_0x344866,_0x24d6bf(0x12a)),this[_0x24d6bf(0x146)][_0x24d6bf(0xe0)](_0x344866),this[_0x24d6bf(0xd6)][_0x24d6bf(0x11e)](_0x344866)&&this[_0x24d6bf(0xdd)](_0x344866),_0x197510&&this[_0x24d6bf(0xf2)](_0x197510[_0x24d6bf(0x134)]);}),this[_0x2f9791(0x158)](_0x478eae,_0x2f9791(0x100),(_0x31d4fa,_0x165917)=>{const _0x4779e9=_0x2f9791;this[_0x4779e9(0xf2)](_0x165917);}),this[_0x2f9791(0x158)](_0x16afc4,_0x2f9791(0x125),()=>{const _0x4d3b65=_0x2f9791;this[_0x4d3b65(0xd9)]();}),this[_0x2f9791(0x158)](_0x5d70c7,_0x2f9791(0xfb),(_0x1ee5a9,{threadId:_0x2f7760,isFromAdapter:_0x985e4e})=>{const _0x1c2e5d=_0x2f9791;if(_0x985e4e||!_0x478eae[_0x1c2e5d(0x141)](_0x2f7760))return;const _0x17603c=_0x478eae[_0x1c2e5d(0xf3)](_0x2f7760);this[_0x1c2e5d(0xd6)][_0x1c2e5d(0x136)](_0x17603c)[_0x1c2e5d(0xda)][_0x1c2e5d(0x10d)]();},{'priority':_0x2f9791(0x150)});}[_0x26daca(0xd9)](){const _0x275426=_0x26daca,_0x850030=this[_0x275426(0xe7)][_0x275426(0xfd)][_0x275426(0x136)](_0x275426(0x157)),_0x258161=this[_0x275426(0xe7)][_0x275426(0xfd)][_0x275426(0x136)](_0x275426(0x126)),_0x31c3f8=Array[_0x275426(0x118)](_0x850030[_0x275426(0xf5)],_0xd3b394=>_0xd3b394[_0x275426(0x152)])[_0x275426(0x128)](_0x261ca9=>this[_0x275426(0x12c)][_0x275426(0x11e)](_0x261ca9)),_0x350343=[];for(const _0x331e97 of _0x31c3f8){const _0x1e76cd=this[_0x275426(0x12c)][_0x275426(0x136)](_0x331e97)[_0x275426(0xd4)][_0x275426(0xfe)]();_0x350343[_0x275426(0x133)](..._0x1e76cd[_0x275426(0x11b)]((_0x1e9292,_0x1c7f49)=>[..._0x1e9292,..._0x1c7f49[_0x275426(0x149)]()],[]));}_0x258161[_0x275426(0x10b)]=_0x350343;}[_0x26daca(0xd8)](){const _0x3c8559=_0x26daca,_0x111274=this[_0x3c8559(0xe7)],_0x224cc5=_0x111274[_0x3c8559(0x102)],_0x5c253e=_0x5f354b(_0x224cc5,_0x3c8559(0x13f)),_0xc96410=new _0x52ac27([{'type':_0x3c8559(0x106),'model':new _0x59a42a({'withText':!0x0,'label':_0x5c253e,'commandName':_0x3c8559(0xfa)})},{'type':_0x3c8559(0x130)},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0x112)),'commandName':_0x3c8559(0x13a)})},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0x114)),'commandName':_0x3c8559(0x137)})},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0x140)),'commandName':_0x3c8559(0xff)})},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0xe2)),'commandName':_0x3c8559(0x127)})}]);for(const _0xb1c552 of _0xc96410)if(ae(_0xb1c552)){const _0x7cc579=_0x111274[_0x3c8559(0x12d)][_0x3c8559(0x136)](_0xb1c552[_0x3c8559(0xd4)][_0x3c8559(0xd0)]);_0xb1c552[_0x3c8559(0xd4)][_0x3c8559(0xe6)](_0x3c8559(0xd2),_0x3c8559(0x14e))['to'](_0x7cc579,_0x3c8559(0x14f),_0x3c8559(0x14e));}_0x111274['ui'][_0x3c8559(0x113)][_0x3c8559(0xf7)](_0x3c8559(0xfa),_0x449978=>this[_0x3c8559(0xea)](_0x449978,_0xc96410,_0x5c253e)),_0x111274['ui'][_0x3c8559(0x113)][_0x3c8559(0xf7)](_0x3c8559(0x109),_0x33a5be=>this[_0x3c8559(0x147)](_0x33a5be,_0xc96410,_0x5c253e));}[_0x26daca(0xea)](_0x126da8,_0x337d29,_0x8f7b65){const _0x852a59=_0x26daca,_0x5e15a2=_0x4c088e(_0x126da8,_0x19a178),_0x481ff0=this[_0x852a59(0xe7)][_0x852a59(0x12d)][_0x852a59(0x136)](_0x852a59(0xfa));_0x5e15a2[_0x852a59(0x11c)][_0x852a59(0x104)]({'tooltip':_0x8f7b65,'label':_0x8f7b65,'icon':_0x77c003}),_0x5e15a2[_0x852a59(0x11c)][_0x852a59(0xe6)](_0x852a59(0xd2))['to'](_0x481ff0,_0x852a59(0x14f)),_0x5e15a2[_0x852a59(0x11c)]['on'](_0x852a59(0x148),()=>{const _0x5f27cd=_0x852a59;_0x481ff0[_0x5f27cd(0x148)](),this[_0x5f27cd(0xe7)][_0x5f27cd(0x117)][_0x5f27cd(0xda)][_0x5f27cd(0x10d)]();}),_0x41937c(_0x5e15a2,_0x337d29);const _0x4671ea=[];for(const _0x14f41e of _0x337d29)ae(_0x14f41e)&&_0x4671ea[_0x852a59(0x133)](this[_0x852a59(0xe7)][_0x852a59(0x12d)][_0x852a59(0x136)](_0x14f41e[_0x852a59(0xd4)][_0x852a59(0xd0)]));const _0x1d47fd=_0x5e15a2[_0x852a59(0x11c)];return _0x1d47fd[_0x852a59(0x129)][_0x852a59(0x120)](_0x852a59(0x14e)),_0x1d47fd[_0x852a59(0x155)][_0x852a59(0x120)](_0x852a59(0x14e)),_0x1d47fd[_0x852a59(0x129)][_0x852a59(0xe6)](_0x852a59(0x14e))['to'](_0x481ff0,_0x852a59(0x14e)),_0x1d47fd[_0x852a59(0x155)][_0x852a59(0xe6)](_0x852a59(0x14e))[_0x852a59(0xd5)](_0x4671ea,_0x852a59(0x14e),(..._0x42ab06)=>_0x42ab06[_0x852a59(0x15b)](_0x42e3b7=>_0x42e3b7)),_0x5e15a2['on'](_0x852a59(0x148),_0x1f7ffa=>{const _0x5c743d=_0x852a59;this[_0x5c743d(0xe7)][_0x5c743d(0x148)](_0x1f7ffa[_0x5c743d(0x14c)][_0x5c743d(0xd0)]),this[_0x5c743d(0xe7)][_0x5c743d(0x117)][_0x5c743d(0xda)][_0x5c743d(0x10d)]();}),_0x5e15a2;}[_0x26daca(0x147)](_0x4ef105,_0xf75f63,_0x54151b){const _0x597fa8=_0x26daca,_0x310b9e=new _0x19dd19(_0x4ef105),_0x7a0d4a=this[_0x597fa8(0xe7)][_0x597fa8(0x12d)][_0x597fa8(0x136)](_0x597fa8(0xfa));_0x310b9e[_0x597fa8(0x11c)][_0x597fa8(0x104)]({'label':_0x54151b,'icon':_0x77c003});const _0x4c7aa4=new _0x7e3037(_0x4ef105);for(const _0x2c3b9d of _0xf75f63){if(_0x597fa8(0x130)==_0x2c3b9d[_0x597fa8(0x154)]){_0x4c7aa4[_0x597fa8(0x121)][_0x597fa8(0xf7)](new _0x405aee(_0x4ef105));continue;}const _0x3655a5=new _0x8af527(_0x4ef105,_0x310b9e),_0x3ce670=new _0x599332(_0x4ef105),_0x23f997=_0x2c3b9d[_0x597fa8(0xd4)];_0x3ce670[_0x597fa8(0xe6)](...Object[_0x597fa8(0xdb)](_0x23f997))['to'](_0x23f997),_0x3ce670[_0x597fa8(0xd3)](_0x597fa8(0x148))['to'](_0x310b9e),_0x3ce670['on'](_0x597fa8(0x148),()=>{const _0x3f35e8=_0x597fa8;this[_0x3f35e8(0xe7)][_0x3f35e8(0x148)](_0x23f997[_0x3f35e8(0xd0)]),this[_0x3f35e8(0xe7)][_0x3f35e8(0x117)][_0x3f35e8(0xda)][_0x3f35e8(0x10d)]();}),_0x3655a5[_0x597fa8(0x139)][_0x597fa8(0xf7)](_0x3ce670),_0x4c7aa4[_0x597fa8(0x121)][_0x597fa8(0xf7)](_0x3655a5);}return _0x310b9e[_0x597fa8(0xe6)](_0x597fa8(0x14e))['to'](_0x7a0d4a,_0x597fa8(0x14e)),_0x310b9e[_0x597fa8(0x12f)][_0x597fa8(0x139)][_0x597fa8(0xf7)](_0x4c7aa4),_0x310b9e;}[_0x26daca(0x144)](_0x136e8d){const _0x105f94=_0x26daca,_0x138ce8=this[_0x105f94(0xe7)],_0x1f256c=_0x138ce8[_0x105f94(0xe4)],_0xd490f2=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x157)),_0xd6ad21=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x156)),_0x3695f6=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0xeb)),_0x5e61d9=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x44218a)['me'],_0x12fc81=_0x1f256c[_0x105f94(0x136)](_0x105f94(0xfa))[_0x105f94(0x153)],{CommentsListView:_0x3fee76,CommentThreadInputView:_0x58d32d}=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x11d));let _0x4dfcbc,_0x397faa;this[_0x105f94(0x115)][_0x105f94(0x11e)](_0x136e8d['id'])?(_0x397faa=this[_0x105f94(0x115)][_0x105f94(0x136)](_0x136e8d['id']),_0x4dfcbc=_0x397faa[_0x105f94(0xe3)]):(_0x4dfcbc=new _0x12fc81(_0x138ce8[_0x105f94(0x102)],_0x136e8d,_0x5e61d9,{'disableComments':this[_0x105f94(0x107)],'editorConfig':_0x1f256c[_0x105f94(0x136)](_0x105f94(0xfc)),'maxCommentsWhenCollapsed':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x10c)),'maxThreadTotalWeight':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x159)),'maxCommentCharsWhenCollapsed':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x10a)),'formatDateTime':_0x52e453(_0x1f256c[_0x105f94(0x136)](_0x105f94(0x102))),'CommentView':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x151))[_0x105f94(0xf9)],'CommentsListView':_0x3fee76,'CommentThreadInputView':_0x58d32d}),_0x4dfcbc[_0x105f94(0xe1)]['on'](_0x105f94(0x148),()=>{const _0x28a413=_0x105f94;_0x138ce8[_0x28a413(0x117)][_0x28a413(0xda)][_0x28a413(0x10d)]();}),_0x4dfcbc[_0x105f94(0xdf)]['on'](_0x105f94(0x148),()=>{const _0x9ef39=_0x105f94;_0x138ce8[_0x9ef39(0x117)][_0x9ef39(0xda)][_0x9ef39(0x10d)]();}),_0x397faa=_0xd490f2[_0x105f94(0x13c)](this[_0x105f94(0xe7)][_0x105f94(0x102)],_0x4dfcbc),_0x397faa[_0x105f94(0xe6)](_0x105f94(0x145))['to'](_0x4dfcbc,_0x105f94(0x145)),_0x397faa[_0x105f94(0xe6)](_0x105f94(0xef))['to'](_0x4dfcbc),_0x397faa[_0x105f94(0xe6)](_0x105f94(0x154))['to'](_0x4dfcbc,_0x105f94(0x154),_0x2b6596=>_0x105f94(0xd7)+_0x2b6596),this[_0x105f94(0x115)][_0x105f94(0x104)](_0x136e8d['id'],_0x397faa));const _0x119e65=_0xd6ad21[_0x105f94(0x12e)](_0x136e8d[_0x105f94(0x131)],_0x4dfcbc),_0x44ba7e=new _0x2a8152(_0x138ce8,_0x136e8d,_0x4dfcbc,_0x119e65),_0x2ac446=_0x136e8d[_0x105f94(0xfe)]()[_0x105f94(0x128)](_0x533bc9=>_0x533bc9[_0x105f94(0x11f)]);_0x4dfcbc[_0x105f94(0x132)]=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x126))[_0x105f94(0x14a)][_0x105f94(0xf1)](_0x2ac446),this[_0x105f94(0xd6)][_0x105f94(0x104)](_0x136e8d,_0x44ba7e),this[_0x105f94(0x12c)][_0x105f94(0x104)](_0x4dfcbc,_0x44ba7e);const _0x57fb0b=_0xd490f2[_0x105f94(0x14d)]({'view':_0x397faa,'target':()=>{const _0x5e486c=_0x105f94,_0x163f1d=[],_0x383004=_0x136e8d[_0x5e486c(0xfe)]()[_0x5e486c(0x128)](_0x148679=>_0x148679[_0x5e486c(0x11f)]);for(const _0x5a9618 of _0x383004)_0x163f1d[_0x5e486c(0x133)](..._0x5a9618[_0x5e486c(0xec)]());return _0x30f315(_0x138ce8[_0x5e486c(0x117)],_0x163f1d);},'type':()=>_0x105f94(0xd7)+_0x44ba7e[_0x105f94(0xda)][_0x105f94(0x154)]});_0xd6ad21[_0x105f94(0x143)](_0x4dfcbc,_0x57fb0b),_0xd490f2[_0x105f94(0xf7)](_0x57fb0b),_0x3695f6[_0x105f94(0x11a)](_0x57fb0b);}[_0x26daca(0xdd)](_0x428508){const _0x43d350=_0x26daca,_0x153cd5=this[_0x43d350(0xe7)][_0x43d350(0xfd)][_0x43d350(0x136)](_0x43d350(0x156)),_0x34e2a0=this[_0x43d350(0xe7)][_0x43d350(0xfd)][_0x43d350(0x136)](_0x43d350(0x157)),_0x52db6b=this[_0x43d350(0xd6)][_0x43d350(0x136)](_0x428508),_0x193c11=_0x52db6b[_0x43d350(0xda)],_0x581ba2=_0x34e2a0[_0x43d350(0x122)](_0x193c11);_0x153cd5[_0x43d350(0xee)](_0x193c11),_0x581ba2&&_0x34e2a0[_0x43d350(0xf4)](_0x581ba2),this[_0x43d350(0xd6)][_0x43d350(0xe0)](_0x428508),this[_0x43d350(0x12c)][_0x43d350(0xe0)](_0x193c11),_0x52db6b[_0x43d350(0xf0)]();}[_0x26daca(0xf2)](_0x416bf9){const _0x3d9ff2=_0x26daca;if(!_0x416bf9[_0x3d9ff2(0x11f)]||!this[_0x3d9ff2(0xd6)][_0x3d9ff2(0x11e)](_0x416bf9))return;const _0x3a5b75=this[_0x3d9ff2(0xe7)][_0x3d9ff2(0xfd)][_0x3d9ff2(0x136)](_0x3d9ff2(0x126)),_0x3a7e5b=this[_0x3d9ff2(0xd6)][_0x3d9ff2(0x136)](_0x416bf9),_0x41512e=_0x416bf9[_0x3d9ff2(0xfe)]();_0x3a7e5b[_0x3d9ff2(0xda)][_0x3d9ff2(0x132)]=_0x3a5b75[_0x3d9ff2(0x14a)][_0x3d9ff2(0xf1)](_0x41512e);}[_0x26daca(0xf0)](){const _0x1c698f=_0x26daca;for(const _0x50e212 of this[_0x1c698f(0xd6)][_0x1c698f(0xdb)]())this[_0x1c698f(0xdd)](_0x50e212);for(const _0x5e2418 of this[_0x1c698f(0x115)][_0x1c698f(0xed)]())_0x5e2418[_0x1c698f(0xe3)][_0x1c698f(0xf0)]();super[_0x1c698f(0xf0)]();}}function ae(_0x22e079){const _0x40e5e0=_0x26daca;return _0x40e5e0(0xd4)in _0x22e079;}
|
|
23
|
+
const _0x1a20ec=_0x4f6e;function _0x4f6e(_0x49eba0,_0x24cc33){const _0x897782=_0x8977();return _0x4f6e=function(_0x4f6edb,_0x1d8cff){_0x4f6edb=_0x4f6edb-0x1eb;let _0x211601=_0x897782[_0x4f6edb];return _0x211601;},_0x4f6e(_0x49eba0,_0x24cc33);}(function(_0x58044b,_0x238425){const _0x54f7a4=_0x4f6e,_0x39cf57=_0x58044b();while(!![]){try{const _0xb26daf=parseInt(_0x54f7a4(0x237))/0x1*(parseInt(_0x54f7a4(0x1f3))/0x2)+parseInt(_0x54f7a4(0x24a))/0x3*(-parseInt(_0x54f7a4(0x248))/0x4)+parseInt(_0x54f7a4(0x207))/0x5+parseInt(_0x54f7a4(0x201))/0x6*(parseInt(_0x54f7a4(0x242))/0x7)+parseInt(_0x54f7a4(0x1ff))/0x8+-parseInt(_0x54f7a4(0x22f))/0x9+parseInt(_0x54f7a4(0x236))/0xa*(parseInt(_0x54f7a4(0x263))/0xb);if(_0xb26daf===_0x238425)break;else _0x39cf57['push'](_0x39cf57['shift']());}catch(_0x5e99d4){_0x39cf57['push'](_0x39cf57['shift']());}}}(_0x8977,0xeef5c));function _0x8977(){const _0x3fc054=['get','97866UcWpZk','hasSuggestion','_descriptionFactory','TrackChangesEditing','focus','arrowView','delete','panelView','getDescriptions','activeMarkers','source','mainView','keys','editing','comments.maxCommentCharsWhenCollapsed','some','menuBar:trackChanges','createAnnotation','createAnnotationView','from','change:previous','suggestionChanged','registerAnnotation','acceptButton','pluginName','2519CydCeK','plugins','Track\x20changes','previous','view','comments','set','getMarkerNames','isOn','CommentView','getMarkers','isDirty','acceptSelectedSuggestions','items','separator','isInContent','commands','config','getByInnerView','_unbindEditors','buttonView','discardButton','change:activeAnnotations','switchbutton','init','size','_bindAnnotationToEditors','value','_createToolbarButton','_addUIComponentsToFactory','editor','6PWuQKS','CommentsUI','Discard\x20all\x20selected\x20suggestions','unbind','TrackChangesUI','descriptionParts','_handleSuggestionControllerDelayed','_annotationViews','suggestion-','Discard\x20all\x20suggestions','innerView','trackChanges.SuggestionThreadView','3846384ZxEQaX','model','1365246JtxOTn','requires','_disableComments','stopListening','_suggestionToController','_createMenuBarMenu','4107625LQzisD','getFirstRange','lowest','button','has','children','createCommentThreadController','clear','Accept\x20all\x20selected\x20suggestions','addComment','actionView','activeAnnotations','comments.maxThreadTotalWeight','addSourceCollector','acceptAllSuggestions','listenTo','commandName','Accept\x20all\x20suggestions','filter','componentFactory','_refreshActiveMarkers','add','push','reduce','getSuggestion','destroy','_destroyController','commentThread','getJoined','getRanges','_handleControllerBuffer','execute','isEnabled','isMultiRange','discardSelectedSuggestions','getAllAdjacentSuggestions','_initializeController','refreshSelectedViews','values','comments.editorConfig','14772375VIhppK','CommentsRepository','Annotations','type','discardAllSuggestions','suggestionLoaded','_updateController','109330LOArCw','148696ViUVDE','bind','suggestionUnloaded','remove','locale','trackChanges','trackChanges.disableComments','length','define','_viewToController','EditorAnnotations','7UUYfDC','toMany','comments.maxCommentsWhenCollapsed','SuggestionThreadView','head','delegate','228XgzlUf'];_0x8977=function(){return _0x3fc054;};return _0x8977();}import{Plugin as _0x170d0f}from'ckeditor5/src/core.js';import{Collection as _0x2f3955}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x11c53c,createDropdown as _0x56e4ac,ListSeparatorView as _0x3c72cd,MenuBarMenuView as _0x3668ef,MenuBarMenuListView as _0xc71dec,MenuBarMenuListItemView as _0x2dc3a5,MenuBarMenuListItemButtonView as _0x471402,SplitButtonView as _0x9f16a2,ViewModel as _0x19cb35}from'ckeditor5/src/ui.js';import{Users as _0x1d50f8,getDateTimeFormatter as _0x12dd9e,getAllMarkersDomElementsSorted as _0x3aa3b9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x56ba0a from'./trackchangesediting.js';import _0x3e9531 from'./ui/suggestioncontroller.js';import _0x5e3aee from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2eb14b}from'./utils/common-translations.js';import _0x20f5c7 from'../theme/icons/track-changes.svg';export default class d extends _0x170d0f{static get[_0x1a20ec(0x202)](){const _0x29d4c5=_0x1a20ec;return[_0x56ba0a,_0x1d50f8,_0x29d4c5(0x230),_0x29d4c5(0x231),_0x29d4c5(0x241)];}static get[_0x1a20ec(0x262)](){const _0x367ccd=_0x1a20ec;return _0x367ccd(0x1f7);}constructor(_0x50970e){const _0x5be563=_0x1a20ec;super(_0x50970e),this[_0x5be563(0x205)]=new Map(),this[_0x5be563(0x240)]=new Map(),this[_0x5be563(0x1fa)]=new Map(),this[_0x5be563(0x225)]=new Map();const _0x1dfa48=this[_0x5be563(0x1f2)][_0x5be563(0x274)];_0x1dfa48[_0x5be563(0x23f)](_0x5be563(0x1fe),_0x5e3aee),_0x1dfa48[_0x5be563(0x23f)](_0x5be563(0x23d),!0x1),this[_0x5be563(0x203)]=_0x1dfa48[_0x5be563(0x249)](_0x5be563(0x23d));}[_0x1a20ec(0x1f9)](_0x394b9b,_0x2976fb){const _0xa016d4=_0x1a20ec;0x0===this[_0xa016d4(0x225)][_0xa016d4(0x1ed)]&&setTimeout(()=>{const _0x1cc3a5=_0xa016d4;for(const [_0x1d5c65,_0x271a1c]of this[_0x1cc3a5(0x225)]){const _0x21fa8f=this[_0x1cc3a5(0x205)][_0x1cc3a5(0x20b)](_0x1d5c65);_0x21fa8f||_0x271a1c?_0x21fa8f&&_0x271a1c&&this[_0x1cc3a5(0x221)](_0x1d5c65):this[_0x1cc3a5(0x22b)](_0x1d5c65);}this[_0x1cc3a5(0x225)][_0x1cc3a5(0x20e)](),this[_0x1cc3a5(0x1f2)][_0x1cc3a5(0x264)][_0x1cc3a5(0x249)](_0x1cc3a5(0x241))[_0x1cc3a5(0x22c)](),this[_0x1cc3a5(0x21b)]();},0xa),this[_0xa016d4(0x225)][_0xa016d4(0x269)](_0x394b9b,_0x2976fb);}[_0x1a20ec(0x1ec)](){const _0x2aae43=_0x1a20ec,_0x3aeb10=this[_0x2aae43(0x1f2)],_0x212a0c=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x24d)),_0x53e352=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x231)),_0x23b963=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x241)),_0x2ee207=_0x3aeb10[_0x2aae43(0x264)][_0x2aae43(0x249)](_0x2aae43(0x230));this[_0x2aae43(0x1f1)](),_0x23b963[_0x2aae43(0x214)](()=>{const _0x5aa19f=_0x2aae43,_0x311cd3=[];for(const [_0x2aca21,_0x589b6d]of Array[_0x5aa19f(0x25d)](this[_0x5aa19f(0x205)])){const _0x561f83=_0x2aca21[_0x5aa19f(0x22a)](),_0xf6ea8e=[];for(const _0x1d0c00 of _0x561f83){if(!_0x1d0c00[_0x5aa19f(0x272)])continue;if(_0x1d0c00[_0x5aa19f(0x228)]){_0xf6ea8e[_0x5aa19f(0x21d)](..._0x1d0c00[_0x5aa19f(0x224)]());continue;}const _0x2b9d1b=_0x1d0c00[_0x5aa19f(0x208)]();if(_0xf6ea8e[_0x5aa19f(0x23e)]>0x0){const _0x177e35=_0xf6ea8e[0x0][_0x5aa19f(0x223)](_0x2b9d1b);if(_0x177e35){_0xf6ea8e[0x0]=_0x177e35;continue;}}_0xf6ea8e[_0x5aa19f(0x21d)](_0x2b9d1b);}_0x311cd3[_0x5aa19f(0x21d)]([_0x589b6d[_0x5aa19f(0x267)],_0xf6ea8e]);}return _0x311cd3;}),this[_0x2aae43(0x216)](_0x212a0c,_0x2aae43(0x234),(_0x15f509,_0x5b8e10)=>{const _0x35006e=_0x2aae43;this[_0x35006e(0x216)](_0x5b8e10,_0x35006e(0x25e),(_0x22f723,_0x385bec,_0x4c7cb5,_0x5a82fc)=>{const _0xbbebd9=_0x35006e;_0x5b8e10[_0xbbebd9(0x272)]&&(null==_0x4c7cb5?(this[_0xbbebd9(0x235)](_0x5a82fc[_0xbbebd9(0x246)]),this[_0xbbebd9(0x1f9)](_0x5b8e10,!0x1)):(this[_0xbbebd9(0x235)](_0x4c7cb5[_0xbbebd9(0x246)]),null==_0x5a82fc&&this[_0xbbebd9(0x1f9)](_0x5b8e10,!0x0)));}),null!==_0x5b8e10[_0x35006e(0x266)]?this[_0x35006e(0x235)](_0x5b8e10[_0x35006e(0x246)]):this[_0x35006e(0x1f9)](_0x5b8e10,!0x1);}),this[_0x2aae43(0x216)](_0x212a0c,_0x2aae43(0x239),(_0x205bf0,_0x26e51d,_0x4e9123)=>{const _0x52bb58=_0x2aae43;this[_0x52bb58(0x204)](_0x26e51d,_0x52bb58(0x25e)),this[_0x52bb58(0x225)][_0x52bb58(0x250)](_0x26e51d),this[_0x52bb58(0x205)][_0x52bb58(0x20b)](_0x26e51d)&&this[_0x52bb58(0x221)](_0x26e51d),_0x4e9123&&this[_0x52bb58(0x235)](_0x4e9123[_0x52bb58(0x246)]);}),this[_0x2aae43(0x216)](_0x212a0c,_0x2aae43(0x25f),(_0x4e85d7,_0x5e10b3)=>{const _0x259274=_0x2aae43;this[_0x259274(0x235)](_0x5e10b3);}),this[_0x2aae43(0x216)](_0x53e352,_0x2aae43(0x279),()=>{const _0x430d5e=_0x2aae43;this[_0x430d5e(0x21b)]();}),this[_0x2aae43(0x216)](_0x2ee207,_0x2aae43(0x210),(_0x1e6c1a,{threadId:_0x1246ad,isFromAdapter:_0x3a6f22})=>{const _0x2c36b8=_0x2aae43;if(_0x3a6f22||!_0x212a0c[_0x2c36b8(0x24b)](_0x1246ad))return;const _0x226f0c=_0x212a0c[_0x2c36b8(0x21f)](_0x1246ad);this[_0x2c36b8(0x205)][_0x2c36b8(0x249)](_0x226f0c)[_0x2c36b8(0x267)][_0x2c36b8(0x24e)]();},{'priority':_0x2aae43(0x209)});}[_0x1a20ec(0x21b)](){const _0x63b9e=_0x1a20ec,_0x103ff2=this[_0x63b9e(0x1f2)][_0x63b9e(0x264)][_0x63b9e(0x249)](_0x63b9e(0x231)),_0x40763c=this[_0x63b9e(0x1f2)][_0x63b9e(0x264)][_0x63b9e(0x249)](_0x63b9e(0x24d)),_0x3920a5=Array[_0x63b9e(0x25d)](_0x103ff2[_0x63b9e(0x212)],_0x41134e=>_0x41134e[_0x63b9e(0x1fd)])[_0x63b9e(0x219)](_0xb5ff42=>this[_0x63b9e(0x240)][_0x63b9e(0x20b)](_0xb5ff42)),_0x40b02c=[];for(const _0x19d65b of _0x3920a5){const _0x56de1f=this[_0x63b9e(0x240)][_0x63b9e(0x249)](_0x19d65b)[_0x63b9e(0x200)][_0x63b9e(0x22a)]();_0x40b02c[_0x63b9e(0x21d)](..._0x56de1f[_0x63b9e(0x21e)]((_0x5b53d1,_0x5d48c4)=>[..._0x5b53d1,..._0x5d48c4[_0x63b9e(0x26a)]()],[]));}_0x40763c[_0x63b9e(0x253)]=_0x40b02c;}[_0x1a20ec(0x1f1)](){const _0x4c06d5=_0x1a20ec,_0x3f677d=this[_0x4c06d5(0x1f2)],_0x36dba3=_0x3f677d[_0x4c06d5(0x23b)],_0x9ca5c0=_0x2eb14b(_0x36dba3,_0x4c06d5(0x265)),_0x4e0c83=new _0x2f3955([{'type':_0x4c06d5(0x1eb),'model':new _0x19cb35({'withText':!0x0,'label':_0x9ca5c0,'commandName':_0x4c06d5(0x23c)})},{'type':_0x4c06d5(0x271)},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x218)),'commandName':_0x4c06d5(0x215)})},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x20f)),'commandName':_0x4c06d5(0x26f)})},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x1fc)),'commandName':_0x4c06d5(0x233)})},{'type':_0x4c06d5(0x20a),'model':new _0x19cb35({'withText':!0x0,'label':_0x2eb14b(_0x36dba3,_0x4c06d5(0x1f5)),'commandName':_0x4c06d5(0x229)})}]);for(const _0x47c477 of _0x4e0c83)if(ae(_0x47c477)){const _0x36ea25=_0x3f677d[_0x4c06d5(0x273)][_0x4c06d5(0x249)](_0x47c477[_0x4c06d5(0x200)][_0x4c06d5(0x217)]);_0x47c477[_0x4c06d5(0x200)][_0x4c06d5(0x238)](_0x4c06d5(0x26b),_0x4c06d5(0x227))['to'](_0x36ea25,_0x4c06d5(0x1ef),_0x4c06d5(0x227));}_0x3f677d['ui'][_0x4c06d5(0x21a)][_0x4c06d5(0x21c)](_0x4c06d5(0x23c),_0x15a8a3=>this[_0x4c06d5(0x1f0)](_0x15a8a3,_0x4e0c83,_0x9ca5c0)),_0x3f677d['ui'][_0x4c06d5(0x21a)][_0x4c06d5(0x21c)](_0x4c06d5(0x25a),_0x3da9e7=>this[_0x4c06d5(0x206)](_0x3da9e7,_0x4e0c83,_0x9ca5c0));}[_0x1a20ec(0x1f0)](_0x31e651,_0x1e48fe,_0x5452e7){const _0x400a49=_0x1a20ec,_0x48cf9b=_0x56e4ac(_0x31e651,_0x9f16a2),_0x31ec38=this[_0x400a49(0x1f2)][_0x400a49(0x273)][_0x400a49(0x249)](_0x400a49(0x23c));_0x48cf9b[_0x400a49(0x277)][_0x400a49(0x269)]({'tooltip':_0x5452e7,'label':_0x5452e7,'icon':_0x20f5c7}),_0x48cf9b[_0x400a49(0x277)][_0x400a49(0x238)](_0x400a49(0x26b))['to'](_0x31ec38,_0x400a49(0x1ef)),_0x48cf9b[_0x400a49(0x277)]['on'](_0x400a49(0x226),()=>{const _0x126a94=_0x400a49;_0x31ec38[_0x126a94(0x226)](),this[_0x126a94(0x1f2)][_0x126a94(0x257)][_0x126a94(0x267)][_0x126a94(0x24e)]();}),_0x11c53c(_0x48cf9b,_0x1e48fe);const _0x47f71c=[];for(const _0x1b6c00 of _0x1e48fe)ae(_0x1b6c00)&&_0x47f71c[_0x400a49(0x21d)](this[_0x400a49(0x1f2)][_0x400a49(0x273)][_0x400a49(0x249)](_0x1b6c00[_0x400a49(0x200)][_0x400a49(0x217)]));const _0x10acbc=_0x48cf9b[_0x400a49(0x277)];return _0x10acbc[_0x400a49(0x211)][_0x400a49(0x1f6)](_0x400a49(0x227)),_0x10acbc[_0x400a49(0x24f)][_0x400a49(0x1f6)](_0x400a49(0x227)),_0x10acbc[_0x400a49(0x211)][_0x400a49(0x238)](_0x400a49(0x227))['to'](_0x31ec38,_0x400a49(0x227)),_0x10acbc[_0x400a49(0x24f)][_0x400a49(0x238)](_0x400a49(0x227))[_0x400a49(0x243)](_0x47f71c,_0x400a49(0x227),(..._0xba156a)=>_0xba156a[_0x400a49(0x259)](_0x3b5a95=>_0x3b5a95)),_0x48cf9b['on'](_0x400a49(0x226),_0x1379ac=>{const _0x4d2181=_0x400a49;this[_0x4d2181(0x1f2)][_0x4d2181(0x226)](_0x1379ac[_0x4d2181(0x254)][_0x4d2181(0x217)]),this[_0x4d2181(0x1f2)][_0x4d2181(0x257)][_0x4d2181(0x267)][_0x4d2181(0x24e)]();}),_0x48cf9b;}[_0x1a20ec(0x206)](_0x5b1a61,_0x3f058d,_0x14db1f){const _0x272407=_0x1a20ec,_0x5bfa82=new _0x3668ef(_0x5b1a61),_0x594c89=this[_0x272407(0x1f2)][_0x272407(0x273)][_0x272407(0x249)](_0x272407(0x23c));_0x5bfa82[_0x272407(0x277)][_0x272407(0x269)]({'label':_0x14db1f,'icon':_0x20f5c7});const _0x3c8737=new _0xc71dec(_0x5b1a61);for(const _0x18bc67 of _0x3f058d){if(_0x272407(0x271)==_0x18bc67[_0x272407(0x232)]){_0x3c8737[_0x272407(0x270)][_0x272407(0x21c)](new _0x3c72cd(_0x5b1a61));continue;}const _0x3af982=new _0x2dc3a5(_0x5b1a61,_0x5bfa82),_0x25d8b6=new _0x471402(_0x5b1a61),_0x1f4276=_0x18bc67[_0x272407(0x200)];_0x25d8b6[_0x272407(0x238)](...Object[_0x272407(0x256)](_0x1f4276))['to'](_0x1f4276),_0x25d8b6[_0x272407(0x247)](_0x272407(0x226))['to'](_0x5bfa82),_0x25d8b6['on'](_0x272407(0x226),()=>{const _0x542754=_0x272407;this[_0x542754(0x1f2)][_0x542754(0x226)](_0x1f4276[_0x542754(0x217)]),this[_0x542754(0x1f2)][_0x542754(0x257)][_0x542754(0x267)][_0x542754(0x24e)]();}),_0x3af982[_0x272407(0x20c)][_0x272407(0x21c)](_0x25d8b6),_0x3c8737[_0x272407(0x270)][_0x272407(0x21c)](_0x3af982);}return _0x5bfa82[_0x272407(0x238)](_0x272407(0x227))['to'](_0x594c89,_0x272407(0x227)),_0x5bfa82[_0x272407(0x251)][_0x272407(0x20c)][_0x272407(0x21c)](_0x3c8737),_0x5bfa82;}[_0x1a20ec(0x22b)](_0x1ed95e){const _0x54d224=_0x1a20ec,_0x34d426=this[_0x54d224(0x1f2)],_0x42f387=_0x34d426[_0x54d224(0x274)],_0x484eb2=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x231)),_0x1ccb1b=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x230)),_0x570f2a=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x241)),_0x4ccf09=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x1d50f8)['me'],_0x4d58f2=_0x42f387[_0x54d224(0x249)](_0x54d224(0x23c))[_0x54d224(0x245)],{CommentsListView:_0x9ad3a8,CommentThreadInputView:_0x499a90}=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x1f4));let _0x4e63a8,_0x1dea6d;this[_0x54d224(0x1fa)][_0x54d224(0x20b)](_0x1ed95e['id'])?(_0x1dea6d=this[_0x54d224(0x1fa)][_0x54d224(0x249)](_0x1ed95e['id']),_0x4e63a8=_0x1dea6d[_0x54d224(0x255)]):(_0x4e63a8=new _0x4d58f2(_0x34d426[_0x54d224(0x23b)],_0x1ed95e,_0x4ccf09,{'disableComments':this[_0x54d224(0x203)],'editorConfig':_0x42f387[_0x54d224(0x249)](_0x54d224(0x22e)),'maxCommentsWhenCollapsed':_0x42f387[_0x54d224(0x249)](_0x54d224(0x244)),'maxThreadTotalWeight':_0x42f387[_0x54d224(0x249)](_0x54d224(0x213)),'maxCommentCharsWhenCollapsed':_0x42f387[_0x54d224(0x249)](_0x54d224(0x258)),'formatDateTime':_0x12dd9e(_0x42f387[_0x54d224(0x249)](_0x54d224(0x23b))),'CommentView':_0x42f387[_0x54d224(0x249)](_0x54d224(0x268))[_0x54d224(0x26c)],'CommentsListView':_0x9ad3a8,'CommentThreadInputView':_0x499a90}),_0x4e63a8[_0x54d224(0x261)]['on'](_0x54d224(0x226),()=>{const _0x2b3f86=_0x54d224;_0x34d426[_0x2b3f86(0x257)][_0x2b3f86(0x267)][_0x2b3f86(0x24e)]();}),_0x4e63a8[_0x54d224(0x278)]['on'](_0x54d224(0x226),()=>{const _0x15bd36=_0x54d224;_0x34d426[_0x15bd36(0x257)][_0x15bd36(0x267)][_0x15bd36(0x24e)]();}),_0x1dea6d=_0x484eb2[_0x54d224(0x25c)](this[_0x54d224(0x1f2)][_0x54d224(0x23b)],_0x4e63a8),_0x1dea6d[_0x54d224(0x238)](_0x54d224(0x26e))['to'](_0x4e63a8,_0x54d224(0x26e)),_0x1dea6d[_0x54d224(0x238)](_0x54d224(0x23e))['to'](_0x4e63a8),_0x1dea6d[_0x54d224(0x238)](_0x54d224(0x232))['to'](_0x4e63a8,_0x54d224(0x232),_0x226b0e=>_0x54d224(0x1fb)+_0x226b0e),this[_0x54d224(0x1fa)][_0x54d224(0x269)](_0x1ed95e['id'],_0x1dea6d));const _0x1051ca=_0x1ccb1b[_0x54d224(0x20d)](_0x1ed95e[_0x54d224(0x222)],_0x4e63a8),_0x46dd60=new _0x3e9531(_0x34d426,_0x1ed95e,_0x4e63a8,_0x1051ca),_0x286be3=_0x1ed95e[_0x54d224(0x22a)]()[_0x54d224(0x219)](_0x4cfe16=>_0x4cfe16[_0x54d224(0x272)]);_0x4e63a8[_0x54d224(0x1f8)]=_0x34d426[_0x54d224(0x264)][_0x54d224(0x249)](_0x54d224(0x24d))[_0x54d224(0x24c)][_0x54d224(0x252)](_0x286be3),this[_0x54d224(0x205)][_0x54d224(0x269)](_0x1ed95e,_0x46dd60),this[_0x54d224(0x240)][_0x54d224(0x269)](_0x4e63a8,_0x46dd60);const _0x4d0778=_0x484eb2[_0x54d224(0x25b)]({'view':_0x1dea6d,'target':()=>{const _0x1ece0e=_0x54d224,_0x2fe257=[],_0x39011c=_0x1ed95e[_0x1ece0e(0x22a)]()[_0x1ece0e(0x219)](_0x11c408=>_0x11c408[_0x1ece0e(0x272)]);for(const _0x8c70d7 of _0x39011c)_0x2fe257[_0x1ece0e(0x21d)](..._0x8c70d7[_0x1ece0e(0x26d)]());return _0x3aa3b9(_0x34d426[_0x1ece0e(0x257)],_0x2fe257);},'type':()=>_0x54d224(0x1fb)+_0x46dd60[_0x54d224(0x267)][_0x54d224(0x232)]});_0x1ccb1b[_0x54d224(0x1ee)](_0x4e63a8,_0x4d0778),_0x484eb2[_0x54d224(0x21c)](_0x4d0778),_0x570f2a[_0x54d224(0x260)](_0x4d0778);}[_0x1a20ec(0x221)](_0x28c1a1){const _0x5a2e61=_0x1a20ec,_0x5e93f2=this[_0x5a2e61(0x1f2)][_0x5a2e61(0x264)][_0x5a2e61(0x249)](_0x5a2e61(0x230)),_0x56ced9=this[_0x5a2e61(0x1f2)][_0x5a2e61(0x264)][_0x5a2e61(0x249)](_0x5a2e61(0x231)),_0xd7d8aa=this[_0x5a2e61(0x205)][_0x5a2e61(0x249)](_0x28c1a1),_0x135db6=_0xd7d8aa[_0x5a2e61(0x267)],_0x353de3=_0x56ced9[_0x5a2e61(0x275)](_0x135db6);_0x5e93f2[_0x5a2e61(0x276)](_0x135db6),_0x353de3&&_0x56ced9[_0x5a2e61(0x23a)](_0x353de3),this[_0x5a2e61(0x205)][_0x5a2e61(0x250)](_0x28c1a1),this[_0x5a2e61(0x240)][_0x5a2e61(0x250)](_0x135db6),_0xd7d8aa[_0x5a2e61(0x220)]();}[_0x1a20ec(0x235)](_0x491308){const _0x1ab396=_0x1a20ec;if(!_0x491308[_0x1ab396(0x272)]||!this[_0x1ab396(0x205)][_0x1ab396(0x20b)](_0x491308))return;const _0x4146ed=this[_0x1ab396(0x1f2)][_0x1ab396(0x264)][_0x1ab396(0x249)](_0x1ab396(0x24d)),_0x238459=this[_0x1ab396(0x205)][_0x1ab396(0x249)](_0x491308),_0x5b17f2=_0x491308[_0x1ab396(0x22a)]();_0x238459[_0x1ab396(0x267)][_0x1ab396(0x1f8)]=_0x4146ed[_0x1ab396(0x24c)][_0x1ab396(0x252)](_0x5b17f2);}[_0x1a20ec(0x220)](){const _0x18b569=_0x1a20ec;for(const _0x203adc of this[_0x18b569(0x205)][_0x18b569(0x256)]())this[_0x18b569(0x221)](_0x203adc);for(const _0x2f0f96 of this[_0x18b569(0x1fa)][_0x18b569(0x22d)]())_0x2f0f96[_0x18b569(0x255)][_0x18b569(0x220)]();super[_0x18b569(0x220)]();}}function ae(_0x36b73c){const _0x2ca5fe=_0x1a20ec;return _0x2ca5fe(0x200)in _0x36b73c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2b47(){const _0x2d7b10=['_acceptCommand','_setPendingAction','stopListening','destroy','commentThreadController','getRanges','isEnabled','22NYaOOQ','_editor','3FoKDjQ','model','locale','bind','568130Telavg','_removePendingAction','canAccept','72msslix','_discardCommand','acceptSuggestion','plugins','3510608yfMlee','10qxkVFi','canDiscard','commands','994772hshGtU','isDirty','PendingActions','add','3166524SAbGNR','unbind','canEditAt','3901779FRkPqv','discardSuggestion','remove','get','184241nlDeRQ','listenTo','view','7004720GBAKpy','execute','PENDING_ACTION_SUGGESTION','_pendingAction','change:isDirty'];_0x2b47=function(){return _0x2d7b10;};return _0x2b47();}const _0xc6ea4f=_0x5b7a;function _0x5b7a(_0x212d72,_0x213f88){const _0x2b47fd=_0x2b47();return _0x5b7a=function(_0x5b7a5a,_0x361938){_0x5b7a5a=_0x5b7a5a-0x92;let _0x92f230=_0x2b47fd[_0x5b7a5a];return _0x92f230;},_0x5b7a(_0x212d72,_0x213f88);}(function(_0x34df05,_0x440022){const _0x22c637=_0x5b7a,_0x417e4c=_0x34df05();while(!![]){try{const _0x44e910=parseInt(_0x22c637(0xb1))/0x1*(parseInt(_0x22c637(0xa3))/0x2)+parseInt(_0x22c637(0x97))/0x3*(-parseInt(_0x22c637(0xa6))/0x4)+parseInt(_0x22c637(0x9b))/0x5*(parseInt(_0x22c637(0x9e))/0x6)+-parseInt(_0x22c637(0xad))/0x7+parseInt(_0x22c637(0xa2))/0x8+parseInt(_0x22c637(0xaa))/0x9+parseInt(_0x22c637(0xb4))/0xa*(-parseInt(_0x22c637(0x95))/0xb);if(_0x44e910===_0x440022)break;else _0x417e4c['push'](_0x417e4c['shift']());}catch(_0x519100){_0x417e4c['push'](_0x417e4c['shift']());}}}(_0x2b47,0xd3ff9));import{ObservableMixin as _0x213b6c}from'ckeditor5/src/utils.js';import{getTranslation as _0x45ba6c}from'../utils/common-translations.js';export default class oe extends _0x213b6c(){constructor(_0x45628b,_0x133728,_0x1cb1d1,_0x580d5c){const _0x897e73=_0x5b7a;super(),this[_0x897e73(0x98)]=_0x133728,this[_0x897e73(0xb3)]=_0x1cb1d1,this[_0x897e73(0x92)]=_0x580d5c,this[_0x897e73(0x96)]=_0x45628b,this[_0x897e73(0xb9)]=_0x45628b[_0x897e73(0xa5)][_0x897e73(0xb0)](_0x897e73(0xa0)),this[_0x897e73(0x9f)]=_0x45628b[_0x897e73(0xa5)][_0x897e73(0xb0)](_0x897e73(0xae)),this[_0x897e73(0xb3)][_0x897e73(0x9a)](_0x897e73(0x94))['to'](this[_0x897e73(0xb9)],this[_0x897e73(0x9f)],(_0x1d1f96,_0x5d44fe)=>_0x1d1f96||_0x5d44fe),this[_0x897e73(0xb3)][_0x897e73(0x9a)](_0x897e73(0x9d))['to'](this[_0x897e73(0xb9)],_0x897e73(0x94),_0x14d5ff=>_0x14d5ff&&this[_0x897e73(0x96)][_0x897e73(0x98)][_0x897e73(0xac)](_0x133728[_0x897e73(0x93)]())),this[_0x897e73(0xb3)][_0x897e73(0x9a)](_0x897e73(0xa4))['to'](this[_0x897e73(0x9f)],_0x897e73(0x94),_0xa63b66=>_0xa63b66&&this[_0x897e73(0x96)][_0x897e73(0x98)][_0x897e73(0xac)](_0x133728[_0x897e73(0x93)]())),this[_0x897e73(0xb7)]=null,_0x1cb1d1[_0x897e73(0xa7)]&&this[_0x897e73(0xba)](),this[_0x897e73(0xb2)](_0x1cb1d1,_0x897e73(0xa0),()=>this[_0x897e73(0xa0)]()),this[_0x897e73(0xb2)](_0x1cb1d1,_0x897e73(0xae),()=>this[_0x897e73(0xae)]()),this[_0x897e73(0xb2)](_0x1cb1d1,_0x897e73(0xb8),()=>{const _0x458cef=_0x897e73;_0x1cb1d1[_0x458cef(0xa7)]?this[_0x458cef(0xba)]():this[_0x458cef(0x9c)]();});}[_0xc6ea4f(0xa0)](){const _0x12b074=_0xc6ea4f;this[_0x12b074(0xb9)][_0x12b074(0xb5)](this[_0x12b074(0x98)]['id']);}[_0xc6ea4f(0xae)](){const _0x32ca3d=_0xc6ea4f;this[_0x32ca3d(0x9f)][_0x32ca3d(0xb5)](this[_0x32ca3d(0x98)]['id']);}[_0xc6ea4f(0xbc)](){const _0x14c55b=_0xc6ea4f;this[_0x14c55b(0xb3)][_0x14c55b(0xab)](_0x14c55b(0x94)),this[_0x14c55b(0xb3)][_0x14c55b(0xab)](_0x14c55b(0x9d)),this[_0x14c55b(0xb3)][_0x14c55b(0xab)](_0x14c55b(0xa4)),this[_0x14c55b(0xbb)](),this[_0x14c55b(0x92)][_0x14c55b(0xbc)](),this[_0x14c55b(0xb7)]&&this[_0x14c55b(0x9c)]();}[_0xc6ea4f(0xba)](){const _0x50b332=_0xc6ea4f,_0x5a23ad=_0x45ba6c(this[_0x50b332(0x96)][_0x50b332(0x99)],_0x50b332(0xb6));this[_0x50b332(0xb7)]=this[_0x50b332(0x96)][_0x50b332(0xa1)][_0x50b332(0xb0)](_0x50b332(0xa8))[_0x50b332(0xa9)](_0x5a23ad);}[_0xc6ea4f(0x9c)](){const _0x555d75=_0xc6ea4f;null!==this[_0x555d75(0xb7)]&&this[_0x555d75(0x96)][_0x555d75(0xa1)][_0x555d75(0xb0)](_0x555d75(0xa8))[_0x555d75(0xaf)](this[_0x555d75(0xb7)]),this[_0x555d75(0xb7)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1a2a(_0x55032e,_0x189e8a){const _0xce70f9=_0xce70();return _0x1a2a=function(_0x1a2aca,_0x3eb24e){_0x1a2aca=_0x1a2aca-0x198;let _0x4b8d9c=_0xce70f9[_0x1a2aca];return _0x4b8d9c;},_0x1a2a(_0x55032e,_0x189e8a);}function _0xce70(){const _0x5d9977=['commentsListView','commentThreadInputView','commentThread','destroy','value','isReadOnly','addComment','1488651ROwUfH','bind','1665839HOdEPS','CommentView','focus','canAccept','setData','3112146rqoFwr','4483362vVlQeV','22HBatyb','_localUser','commentInputView','1152014KHWpcu','hasDirtyComment','authoredAt','disabledSubmit','disableComments','1704964VuVigG','submit','assign','2303530bXNTNv','_createCommentThreadInputView','set','length','delegate','isActive','8xTcjWX','showInput','canDiscard','element','locale','cancel','_model','removeComment','isEnabled','isDirty','editor','_config','descriptionParts','editorConfig','_createCommentViews','2ZnhOEo','fire','15ojtmxu','updateComment'];_0xce70=function(){return _0x5d9977;};return _0xce70();}const _0x193dd=_0x1a2a;(function(_0x43ea74,_0x22c0a8){const _0x1f53d9=_0x1a2a,_0x4e7d95=_0x43ea74();while(!![]){try{const _0x4fe3ae=parseInt(_0x1f53d9(0x19e))/0x1+-parseInt(_0x1f53d9(0x1bb))/0x2*(-parseInt(_0x1f53d9(0x1c6))/0x3)+-parseInt(_0x1f53d9(0x1a3))/0x4*(parseInt(_0x1f53d9(0x1bd))/0x5)+-parseInt(_0x1f53d9(0x19a))/0x6+parseInt(_0x1f53d9(0x1c8))/0x7*(parseInt(_0x1f53d9(0x1ac))/0x8)+parseInt(_0x1f53d9(0x199))/0x9+parseInt(_0x1f53d9(0x1a6))/0xa*(parseInt(_0x1f53d9(0x19b))/0xb);if(_0x4fe3ae===_0x22c0a8)break;else _0x4e7d95['push'](_0x4e7d95['shift']());}catch(_0x21e031){_0x4e7d95['push'](_0x4e7d95['shift']());}}}(_0xce70,0xa2c86));import{View as _0x2255a0}from'ckeditor5/src/ui.js';export default class es extends _0x2255a0{constructor(_0xf28aef,_0x14b835,_0x317d11,_0x46adf1){const _0xe13431=_0x1a2a;super(_0xf28aef),this[_0xe13431(0x1bf)]=null,this[_0xe13431(0x1c0)]=null,this[_0xe13431(0x1a8)](_0xe13431(0x1ab),!0x1),this[_0xe13431(0x1a8)](_0xe13431(0x1a0),_0x14b835[_0xe13431(0x1a0)]),this[_0xe13431(0x1c7)](_0xe13431(0x1a0))['to'](_0x14b835),this[_0xe13431(0x1a8)](_0xe13431(0x1b8),[]),this[_0xe13431(0x1a8)](_0xe13431(0x1b5),!0x1),this[_0xe13431(0x1a8)](_0xe13431(0x1b4),!0x1),this[_0xe13431(0x1a8)](_0xe13431(0x1cb),!0x1),this[_0xe13431(0x1a8)](_0xe13431(0x1ae),!0x1),this[_0xe13431(0x1b2)]=_0x14b835,this[_0xe13431(0x19c)]=_0x317d11,this[_0xe13431(0x1b7)]=_0x46adf1,_0x46adf1[_0xe13431(0x1a2)]?this[_0xe13431(0x1a8)](_0xe13431(0x1a9),0x1):this[_0xe13431(0x1ba)]();}[_0x193dd(0x1ca)](){const _0x589a46=_0x193dd;this[_0x589a46(0x1af)][_0x589a46(0x1ca)]();}[_0x193dd(0x1c2)](){const _0x21ec59=_0x193dd;this[_0x21ec59(0x1bf)]&&this[_0x21ec59(0x1bf)][_0x21ec59(0x1c2)](),this[_0x21ec59(0x1c0)]&&this[_0x21ec59(0x1c0)][_0x21ec59(0x1c2)](),super[_0x21ec59(0x1c2)]();}[_0x193dd(0x1ba)](){const _0x4e2465=_0x193dd,{CommentsListView:_0x25d78d}=this[_0x4e2465(0x1b7)];this[_0x4e2465(0x1bf)]=new _0x25d78d(this[_0x4e2465(0x1b0)],this[_0x4e2465(0x1b2)][_0x4e2465(0x1c1)],Object[_0x4e2465(0x1a5)]({'CommentView':this[_0x4e2465(0x1b7)][_0x4e2465(0x1c9)]},this[_0x4e2465(0x1b7)])),this[_0x4e2465(0x1bf)][_0x4e2465(0x1aa)](_0x4e2465(0x1b3))['to'](this),this[_0x4e2465(0x1bf)][_0x4e2465(0x1aa)](_0x4e2465(0x1be))['to'](this),this[_0x4e2465(0x1bf)][_0x4e2465(0x1c7)](_0x4e2465(0x1ab))['to'](this),this[_0x4e2465(0x1a8)](_0x4e2465(0x1a9),this[_0x4e2465(0x1bf)][_0x4e2465(0x1a9)]+0x1),this[_0x4e2465(0x1c7)](_0x4e2465(0x1a9))['to'](this[_0x4e2465(0x1bf)],_0x4e2465(0x1a9),_0x341cb3=>_0x341cb3+0x1),this[_0x4e2465(0x1c0)]=this[_0x4e2465(0x1a7)](),this['on'](_0x4e2465(0x1b3),()=>this[_0x4e2465(0x1ca)]()),this[_0x4e2465(0x1c7)](_0x4e2465(0x1b5))['to'](this[_0x4e2465(0x1bf)],_0x4e2465(0x19f),this[_0x4e2465(0x1c0)][_0x4e2465(0x19d)],_0x4e2465(0x1c3),(_0x16aa8f,_0x16ee82)=>_0x16aa8f||!!_0x16ee82);}[_0x193dd(0x1a7)](){const _0x2c945d=_0x193dd,{CommentThreadInputView:_0x399fbd}=this[_0x2c945d(0x1b7)],_0x554c52=new _0x399fbd(this[_0x2c945d(0x1b0)],this[_0x2c945d(0x19c)],this[_0x2c945d(0x1b7)][_0x2c945d(0x1b9)]),_0x9bc513=_0x554c52[_0x2c945d(0x19d)];return _0x554c52[_0x2c945d(0x1c7)](_0x2c945d(0x1ad))['to'](this,_0x2c945d(0x1ab),this[_0x2c945d(0x1b2)][_0x2c945d(0x1c1)],_0x2c945d(0x1c4),_0x9bc513,_0x2c945d(0x1c3),(_0x433e08,_0x1e3e4f,_0x1c8e4a)=>!!_0x1c8e4a||_0x433e08&&!_0x1e3e4f),_0x9bc513['on'](_0x2c945d(0x1a4),(_0x36c23a,_0x2d770f)=>{const _0x59729d=_0x2c945d;this[_0x59729d(0x1bc)](_0x59729d(0x1c5),_0x2d770f),_0x9bc513[_0x59729d(0x1b6)][_0x59729d(0x198)]('');}),_0x9bc513['on'](_0x2c945d(0x1b1),()=>this[_0x2c945d(0x1ca)]()),_0x9bc513[_0x2c945d(0x1c7)](_0x2c945d(0x1a1))['to'](this[_0x2c945d(0x1b2)][_0x2c945d(0x1c1)],_0x2c945d(0x1c4)),_0x554c52;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22acf7=_0x1546;function _0x2e41(){const _0x40ada7=['EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion__main','403pDFmnO','color','ck-suggestion__actions','formatDateTime','userView','\x22\x20title=\x22','ck-annotation__main','ck-comment__external','bindTemplate','authoredAt','value','232onMQeA','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','852591ykLjYo','getTemplate','</span>','70973PjQtUF','ck-suggestion-wrapper','fire','ck-annotation','EXTERNAL_SUGGESTION','extendTemplate','_createButton','828BVfdmr','_config','ck-annotation__actions','179312gTQtBJ','source','</p>','\x22></span>','ck-annotation__info-name','join','render','isExternal','importWord','ck-suggestion__info','4EFajow','488665PDBUjI','18ifMhhq','type','<p>','author','acceptSuggestion','discardButton','descriptionParts','div','.ck-annotation__content-wrapper','ck-annotation__user','commentsListView','ck-suggestion','432CHcGXZ','map','disableComments','isEnabled','ck-comment__info-time','description','isActive','check','@external','commentThread','editorReady','execute','push','innerHTML','bind','getUserViewNotificationText','title','ck-suggestion__info-name','discardSuggestion','2640710yVZjQG','_model','ck-suggestion--accept','name','commentThreadInputView','element','children','_descriptionElement','split','Accept\x20suggestion','EXTERNAL_AVATAR','ck-suggestion-wrapper--active','EXTERNAL_IMPORT_WORD_AVATAR','attributes','acceptButton','querySelector','ck-suggestion--disabled-comments','5172AXZfjp','content','set','span','time','ck-annotation__info-time','locale','delegate','canDiscard','cancel','editorDestroyed','30Fmgznz','ck-annotation__info','change:description','getExternalSuggestionNote','setTemplate','ck-suggestion--discard','ck-suggestion__user','canAccept','50413qVGgcg','createElement','ck-suggestion-','ck-annotation__content-wrapper','innerText','Discard\x20suggestion','creator'];_0x2e41=function(){return _0x40ada7;};return _0x2e41();}(function(_0x17a773,_0x255f27){const _0x40d38f=_0x1546,_0x273dbb=_0x17a773();while(!![]){try{const _0x17cd5a=parseInt(_0x40d38f(0x172))/0x1*(parseInt(_0x40d38f(0x1be))/0x2)+parseInt(_0x40d38f(0x175))/0x3*(parseInt(_0x40d38f(0x18c))/0x4)+-parseInt(_0x40d38f(0x18d))/0x5*(-parseInt(_0x40d38f(0x1c9))/0x6)+-parseInt(_0x40d38f(0x178))/0x7*(parseInt(_0x40d38f(0x19a))/0x8)+-parseInt(_0x40d38f(0x18e))/0x9*(parseInt(_0x40d38f(0x1ad))/0xa)+-parseInt(_0x40d38f(0x15e))/0xb*(parseInt(_0x40d38f(0x17f))/0xc)+-parseInt(_0x40d38f(0x167))/0xd*(-parseInt(_0x40d38f(0x182))/0xe);if(_0x17cd5a===_0x255f27)break;else _0x273dbb['push'](_0x273dbb['shift']());}catch(_0x2142fe){_0x273dbb['push'](_0x273dbb['shift']());}}}(_0x2e41,0x5c483));import{getTranslation as _0x20e6f8}from'../../utils/common-translations.js';import{default as _0x5a2069}from'./basesuggestionthreadview.js';import{ButtonView as _0x433964}from'ckeditor5/src/ui.js';import{icons as _0x5591ec}from'ckeditor5/src/core.js';import{trimHtml as _0x599e7a,UserView as _0x57d095}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x5a2069{constructor(_0x46e23c,_0x59ecf2,_0x4b8199,_0x339faa){const _0x31ac0a=_0x1546;super(_0x46e23c,_0x59ecf2,_0x4b8199,_0x339faa),this[_0x31ac0a(0x1c0)](_0x31ac0a(0x18f),''),this[_0x31ac0a(0x1a8)](_0x31ac0a(0x18f))['to'](this,_0x31ac0a(0x194),_0x47a7f0=>_0x47a7f0&&_0x47a7f0[0x0]?_0x47a7f0[0x0][_0x31ac0a(0x18f)]:''),this[_0x31ac0a(0x1a8)](_0x31ac0a(0x19f))['to'](this,_0x31ac0a(0x194),this,_0x31ac0a(0x1a0),(_0x19571e,_0x5eb253)=>{const _0x2878e6=_0x31ac0a;let _0x1846f3='';for(const _0x1d5694 of _0x19571e)_0x1846f3+=_0x2878e6(0x190)+ds(_0x1d5694[_0x2878e6(0x1bf)],_0x1d5694[_0x2878e6(0x168)])+_0x2878e6(0x184);return _0x5eb253?_0x1846f3:_0x599e7a(_0x1846f3,{'limit':0x8c});}),this[_0x31ac0a(0x1b4)]=null,this[_0x31ac0a(0x1bb)]=this[_0x31ac0a(0x17e)](_0x20e6f8(_0x46e23c,_0x31ac0a(0x1b6)),_0x5591ec[_0x31ac0a(0x1a1)],_0x31ac0a(0x1af),_0x31ac0a(0x192),'sw'),this[_0x31ac0a(0x1bb)][_0x31ac0a(0x1a8)](_0x31ac0a(0x19d))['to'](this,_0x31ac0a(0x15d)),this[_0x31ac0a(0x193)]=this[_0x31ac0a(0x17e)](_0x20e6f8(_0x46e23c,_0x31ac0a(0x163)),_0x5591ec[_0x31ac0a(0x1c7)],_0x31ac0a(0x15b),_0x31ac0a(0x1ac),'sw'),this[_0x31ac0a(0x193)][_0x31ac0a(0x1a8)](_0x31ac0a(0x19d))['to'](this,_0x31ac0a(0x1c6)),this[_0x31ac0a(0x16b)]=new _0x57d095(_0x46e23c,this[_0x31ac0a(0x1ae)][_0x31ac0a(0x191)],this[_0x31ac0a(0x1a9)]()),this[_0x31ac0a(0x16b)][_0x31ac0a(0x17d)]({'attributes':{'class':[_0x31ac0a(0x15c),_0x31ac0a(0x197)]}}),this[_0x31ac0a(0x15a)](this[_0x31ac0a(0x176)]());}[_0x22acf7(0x176)](){const _0x594577=_0x22acf7,_0x3dc8a2=this[_0x594577(0x16f)],_0x1f3638=[{'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x18b),_0x594577(0x157)]},'children':[{'tag':_0x594577(0x1c1),'children':[{'text':this[_0x594577(0x16b)][_0x594577(0x1b0)]}],'attributes':{'class':[_0x594577(0x1ab),_0x594577(0x186)]}},{'tag':_0x594577(0x1c2),'attributes':{'datetime':_0x3dc8a2['to'](_0x594577(0x170)),'class':[_0x594577(0x19e),_0x594577(0x1c3)]},'children':[{'text':_0x3dc8a2['to'](_0x594577(0x170),_0x2b47ec=>this[_0x594577(0x180)][_0x594577(0x16a)](_0x2b47ec))}]}]},{'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x169),_0x594577(0x181)]},'children':[this[_0x594577(0x1bb)],this[_0x594577(0x193)]]},{'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x161)]}}];this[_0x594577(0x1ae)][_0x594577(0x189)]&&_0x1f3638[_0x594577(0x1a6)]({'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x16e)]},'children':[{'text':this[_0x594577(0x159)]()}]});const _0x393a11={'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x179),_0x3dc8a2['if'](_0x594577(0x1a0),_0x594577(0x1b8)),_0x3dc8a2['to'](_0x594577(0x18f),_0x1aad0e=>_0x594577(0x160)+_0x1aad0e),this[_0x594577(0x180)][_0x594577(0x19c)]&&_0x594577(0x1bd)],'data-suggestion-id':this[_0x594577(0x1ae)]['id'],'data-thread-id':this[_0x594577(0x1ae)][_0x594577(0x1a3)]['id'],'data-author-id':this[_0x594577(0x1ae)][_0x594577(0x191)]['id'],'tabindex':-0x1},'children':[{'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x199),_0x594577(0x17b)]},'children':[this[_0x594577(0x16b)],{'tag':_0x594577(0x195),'attributes':{'class':[_0x594577(0x166),_0x594577(0x16d)]},'children':_0x1f3638}]}]};return this[_0x594577(0x198)]&&this[_0x594577(0x1b1)]&&(_0x393a11[_0x594577(0x1b3)][_0x594577(0x1a6)](this[_0x594577(0x198)],this[_0x594577(0x1b1)]),this[_0x594577(0x198)][_0x594577(0x1c5)](_0x594577(0x1a4))['to'](this),this[_0x594577(0x198)][_0x594577(0x1c5)](_0x594577(0x1c8))['to'](this),this[_0x594577(0x1b1)][_0x594577(0x1c5)](_0x594577(0x1a4))['to'](this),this[_0x594577(0x1b1)][_0x594577(0x1c5)](_0x594577(0x1c8))['to'](this)),_0x393a11;}[_0x22acf7(0x188)](){const _0x2be995=_0x22acf7;super[_0x2be995(0x188)](),this[_0x2be995(0x1b4)]=this[_0x2be995(0x1b2)][_0x2be995(0x1bc)](_0x2be995(0x196)),this[_0x2be995(0x1b4)][_0x2be995(0x1a7)]=this[_0x2be995(0x19f)],this['on'](_0x2be995(0x158),(_0x50c635,_0x44c33e,_0x4e1a3e)=>{const _0x5c8948=_0x2be995;this[_0x5c8948(0x1b4)][_0x5c8948(0x1a7)]=_0x4e1a3e;});}[_0x22acf7(0x17e)](_0x355439,_0x54d585,_0x19d9f2,_0x223343,_0x1b44ae){const _0x2d74da=_0x22acf7,_0x21d3f1=new _0x433964(this[_0x2d74da(0x1c4)]);return _0x21d3f1[_0x2d74da(0x1c0)]({'label':_0x355439,'icon':_0x54d585,'tooltip':!0x0,'tooltipPosition':_0x1b44ae}),_0x21d3f1[_0x2d74da(0x17d)]({'attributes':{'class':_0x19d9f2}}),_0x21d3f1['on'](_0x2d74da(0x1a5),()=>{const _0x3a5308=_0x2d74da;this[_0x3a5308(0x17a)](_0x223343,this[_0x3a5308(0x1ae)]['id']);}),_0x21d3f1;}[_0x22acf7(0x159)](){const _0x5d93d7=_0x22acf7;return _0x5d93d7(0x18a)===this[_0x5d93d7(0x1ae)][_0x5d93d7(0x1ba)][_0x5d93d7(0x1a2)][_0x5d93d7(0x183)]?_0x20e6f8(this[_0x5d93d7(0x1c4)],_0x5d93d7(0x165)):_0x20e6f8(this[_0x5d93d7(0x1c4)],_0x5d93d7(0x17c));}[_0x22acf7(0x1a9)](){const _0x1ed48f=_0x22acf7;return this[_0x1ed48f(0x1ae)][_0x1ed48f(0x189)]?_0x1ed48f(0x18a)===this[_0x1ed48f(0x1ae)][_0x1ed48f(0x1ba)][_0x1ed48f(0x1a2)][_0x1ed48f(0x183)]?_0x20e6f8(this[_0x1ed48f(0x1c4)],_0x1ed48f(0x1b9),this[_0x1ed48f(0x1ae)][_0x1ed48f(0x164)][_0x1ed48f(0x1b0)]):_0x20e6f8(this[_0x1ed48f(0x1c4)],_0x1ed48f(0x1b7),this[_0x1ed48f(0x1ae)][_0x1ed48f(0x164)][_0x1ed48f(0x1b0)]):null;}}function _0x1546(_0x222aef,_0x321b5f){const _0x2e416f=_0x2e41();return _0x1546=function(_0x1546ab,_0x1ffd56){_0x1546ab=_0x1546ab-0x157;let _0x58fa20=_0x2e416f[_0x1546ab];return _0x58fa20;},_0x1546(_0x222aef,_0x321b5f);}function ds(_0x563c26,_0x5a0752){const _0x4532ec=_0x22acf7;let _0x5df422='';return _0x5df422+=_0x563c26[_0x4532ec(0x1b5)]('*')[_0x4532ec(0x19b)]((_0x563cac,_0xefe7ea)=>_0xefe7ea%0x2!=0x0?_0x4532ec(0x174)+us(_0x563cac)+_0x4532ec(0x177):us(_0x563cac))[_0x4532ec(0x187)](''),_0x5a0752&&(_0x5df422+=_0x4532ec(0x173)+_0x5a0752[_0x4532ec(0x171)]+_0x4532ec(0x16c)+_0x5a0752[_0x4532ec(0x1aa)]+_0x4532ec(0x185)),_0x5df422;}function us(_0x1e2288){const _0x37919f=_0x22acf7,_0x1613ec=document[_0x37919f(0x15f)](_0x37919f(0x1c1));return _0x1613ec[_0x37919f(0x162)]=_0x1e2288,_0x1613ec[_0x37919f(0x1a7)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x799fd2,_0x8c4a97,_0x252bef){const t=_0x799fd2['t'];switch(_0x8c4a97){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',_0x252bef);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x252bef);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x252bef);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x252bef);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x252bef);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',_0x252bef);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x252bef);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',_0x252bef);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x252bef);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x252bef);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x252bef);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x252bef);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x252bef);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x252bef);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x252bef);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x252bef);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x252bef);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x252bef);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x252bef);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x252bef);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x252bef);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x252bef);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x252bef);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'},_0x252bef);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x252bef);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x252bef);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x252bef);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x252bef);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x252bef);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'},_0x252bef);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x252bef);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x252bef);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x252bef);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x252bef);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'},_0x252bef);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x252bef);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'},_0x252bef);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'},_0x252bef);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x252bef);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'},_0x252bef);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x252bef);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'},_0x252bef);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x252bef);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x252bef);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'},_0x252bef);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'},_0x252bef);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 _0x8c4a97;}}
|
|
23
|
+
export function getTranslation(_0x1cbe2f,_0x2413cc,_0xd10a11){const t=_0x1cbe2f['t'];switch(_0x2413cc){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',_0xd10a11);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xd10a11);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xd10a11);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xd10a11);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xd10a11);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',_0xd10a11);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xd10a11);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',_0xd10a11);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xd10a11);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xd10a11);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xd10a11);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xd10a11);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xd10a11);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xd10a11);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xd10a11);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xd10a11);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xd10a11);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xd10a11);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xd10a11);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xd10a11);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xd10a11);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xd10a11);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xd10a11);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'},_0xd10a11);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xd10a11);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xd10a11);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xd10a11);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xd10a11);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xd10a11);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'},_0xd10a11);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xd10a11);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xd10a11);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xd10a11);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xd10a11);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'},_0xd10a11);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xd10a11);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'},_0xd10a11);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'},_0xd10a11);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xd10a11);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'},_0xd10a11);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xd10a11);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'},_0xd10a11);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xd10a11);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xd10a11);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'},_0xd10a11);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'},_0xd10a11);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 _0x2413cc;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x159ab2,_0x51115a){const _0x9528ea=_0x1a76,_0x3f6f13=_0x159ab2();while(!![]){try{const _0x425f55=parseInt(_0x9528ea(0xbf))/0x1+-parseInt(_0x9528ea(0xb7))/0x2*(-parseInt(_0x9528ea(0xae))/0x3)+-parseInt(_0x9528ea(0x9f))/0x4*(-parseInt(_0x9528ea(0xbc))/0x5)+-parseInt(_0x9528ea(0xc2))/0x6*(-parseInt(_0x9528ea(0xac))/0x7)+parseInt(_0x9528ea(0x9e))/0x8+parseInt(_0x9528ea(0xba))/0x9+parseInt(_0x9528ea(0xa2))/0xa*(-parseInt(_0x9528ea(0xc0))/0xb);if(_0x425f55===_0x51115a)break;else _0x3f6f13['push'](_0x3f6f13['shift']());}catch(_0x3e6ce3){_0x3f6f13['push'](_0x3f6f13['shift']());}}}(_0x1be1,0x63057));export function normalizeDescription(_0x420f87){const _0x11df33=_0x1a76;return Array[_0x11df33(0xc1)](_0x420f87)||(_0x420f87=[_0x420f87]),_0x420f87[_0x11df33(0xb4)](_0x35419b=>{const _0x517052=_0x11df33,_0x38db3a=_0x35419b[_0x517052(0xb8)][_0x517052(0xc4)](/\*/g,''),_0x31505a=_0x35419b[_0x517052(0xb6)]?_0x517052(0xb5)+_0x35419b[_0x517052(0xb6)][_0x517052(0xc5)]+']':'';return'['+_0x35419b[_0x517052(0xbe)]+']\x20'+_0x38db3a+_0x31505a;})[_0x11df33(0xa4)](';\x20');}export function sortSuggestions(_0x5d9c87){const _0x1a0784=_0x1a76;return _0x5d9c87[_0x1a0784(0xbd)]((_0x3a0e87,_0x491a39)=>_0x1a0784(0xbb)==_0x3a0e87[_0x1a0784(0xbe)]&&_0x1a0784(0xbb)!=_0x491a39[_0x1a0784(0xbe)]?-0x1:_0x1a0784(0xbb)!=_0x3a0e87[_0x1a0784(0xbe)]&&_0x1a0784(0xbb)==_0x491a39[_0x1a0784(0xbe)]?0x1:0x0);}export function getSelectedSuggestions(_0x22cadd,_0x5bec4d){const _0x2f5363=_0x1a76,_0x469242=Array[_0x2f5363(0xc6)](_0x22cadd[_0x2f5363(0xa5)]()),_0x714894=new Set();for(const _0x58ebbd of _0x5bec4d)if(_0x58ebbd[_0x2f5363(0xa1)]){for(const _0x44918b of _0x469242)for(const _0x4a5250 of _0x58ebbd[_0x2f5363(0xa5)]())(_0x44918b[_0x2f5363(0xb0)](_0x4a5250)||_0x22cadd[_0x2f5363(0xa9)]&&!_0x58ebbd[_0x2f5363(0xa0)]&&_0x58ebbd[_0x2f5363(0xa6)]&&_0x4a5250[_0x2f5363(0xb1)][_0x2f5363(0xb2)](_0x44918b[_0x2f5363(0x9c)]))&&_0x714894[_0x2f5363(0xaf)](_0x58ebbd);}return _0x714894;}function _0x1be1(){const _0x58fd26=['1056994nClYLr','content','execute','1564218otsdpJ','deletion','315MWNwNN','sort','type','470458xzMqwp','11glVUFj','isArray','78mwovrX','createRange','replace','value','from','change','start','schema','1849208wOREqq','5076TWRHdV','isMultiRange','isInContent','13628470TDVHNx','createPositionBefore','join','getRanges','next','createPositionAt','isObject','isCollapsed','length','splice','153237nLxPgL','createPositionAfter','3qfnACT','add','isIntersecting','end','isTouching','push','map','\x20[color\x20','color'];_0x1be1=function(){return _0x58fd26;};return _0x1be1();}function _0x1a76(_0x38ddab,_0x19550e){const _0x1be123=_0x1be1();return _0x1a76=function(_0x1a762a,_0x4bf241){_0x1a762a=_0x1a762a-0x9c;let _0x78394e=_0x1be123[_0x1a762a];return _0x78394e;},_0x1a76(_0x38ddab,_0x19550e);}export function getRangesOfBlockGroups(_0x4c2311,_0x1cf1cb){const _0x387012=_0x1a76;let _0x20b93b,_0x882f0b=0x0;const _0x453e28=[],_0x405fb0=_0x1cf1cb[_0x387012(0x9d)];for(;_0x882f0b<_0x4c2311[_0x387012(0xaa)];){const _0x547837=_0x4c2311[_0x882f0b],_0x177266=_0x4c2311[_0x882f0b+0x1];_0x20b93b||(_0x20b93b=_0x1cf1cb[_0x387012(0xa3)](_0x547837)),co(_0x1cf1cb,_0x547837,_0x177266)||(_0x453e28[_0x387012(0xb3)](_0x1cf1cb[_0x387012(0xc3)](_0x20b93b,_0x405fb0[_0x387012(0xa8)](_0x547837)?_0x1cf1cb[_0x387012(0xad)](_0x547837):_0x1cf1cb[_0x387012(0xa7)](_0x547837,_0x387012(0xb1)))),_0x20b93b=null),_0x882f0b++;}return _0x453e28;}function co(_0x406e0a,_0x5d5223,_0x42705d){const _0x3c2234=_0x1a76;if(!_0x42705d)return!0x1;const _0x5c7611=_0x406e0a[_0x3c2234(0xad)](_0x5d5223),_0x31d857=_0x406e0a[_0x3c2234(0xa3)](_0x42705d);return _0x5c7611[_0x3c2234(0xb2)](_0x31d857);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1eadcc,_0x104697,_0x29520e){const _0x11821f=_0x1a76;for(;_0x29520e[_0x11821f(0xaa)];){const _0x116552=_0x29520e[_0x11821f(0xab)](0x0,0x64);_0x1eadcc[_0x11821f(0xc7)](()=>{const _0x23db4b=_0x11821f;for(const _0xc25a99 of _0x116552)_0xc25a99[_0x23db4b(0xa1)]&&_0x104697[_0x23db4b(0xb9)](_0xc25a99['id']);});}}
|