@ckeditor/ckeditor5-track-changes 46.1.1 → 47.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- 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/previewfinalcontentcommand.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/bookmark.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/emoji.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/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +3 -3
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d7e09=_0x217a;(function(_0xfaa8aa,_0x46f6f0){const _0x39be4e=_0x217a,_0x5dcf93=_0xfaa8aa();while(!![]){try{const _0x5b2fc8=-parseInt(_0x39be4e(0xae))/0x1*(parseInt(_0x39be4e(0xb5))/0x2)+-parseInt(_0x39be4e(0xa8))/0x3*(parseInt(_0x39be4e(0xab))/0x4)+-parseInt(_0x39be4e(0xaf))/0x5*(parseInt(_0x39be4e(0xbe))/0x6)+-parseInt(_0x39be4e(0xba))/0x7*(parseInt(_0x39be4e(0xbb))/0x8)+-parseInt(_0x39be4e(0xbf))/0x9+parseInt(_0x39be4e(0xb4))/0xa+parseInt(_0x39be4e(0xbd))/0xb*(parseInt(_0x39be4e(0xb6))/0xc);if(_0x5b2fc8===_0x46f6f0)break;else _0x5dcf93['push'](_0x5dcf93['shift']());}catch(_0x11a4ff){_0x5dcf93['push'](_0x5dcf93['shift']());}}}(_0x2004,0xb9fbe));function _0x2004(){const _0x226b4b=['3638107bHjyyO','4178058eknFjp','7024995bSvVGd','trackChanges.preview.renderFunction','6slkPPA','define','previewFinalContent','3000580sHfIUs','isPremiumPlugin','requires','2wgxkCG','5qFBPTr','commands','TrackChangesPreview','appendChild','add','12467330KRMAxM','925594WnoDSB','132cOyMnl','editor','isOfficialPlugin','config','385469EYCXxN','32KAvfkM','pluginName'];_0x2004=function(){return _0x226b4b;};return _0x2004();}import{Plugin as _0x26bf11}from'ckeditor5/src/core.js';import{Dialog as _0x3e73f9}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x543629}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x56a778}from'./commands/previewfinalcontentcommand.js';function _0x217a(_0x426c7e,_0x1335ab){const _0x200493=_0x2004();return _0x217a=function(_0x217a40,_0x5504b7){_0x217a40=_0x217a40-0xa7;let _0x12f439=_0x200493[_0x217a40];return _0x12f439;},_0x217a(_0x426c7e,_0x1335ab);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x26bf11{static get[_0x3d7e09(0xad)](){return[_0x543629,_0x3e73f9];}static get[_0x3d7e09(0xbc)](){const _0x2b325b=_0x3d7e09;return _0x2b325b(0xb1);}static get[_0x3d7e09(0xb8)](){return!0x0;}static get[_0x3d7e09(0xac)](){return!0x0;}constructor(_0x280c96){const _0x117b64=_0x3d7e09;super(_0x280c96),_0x280c96[_0x117b64(0xb0)][_0x117b64(0xb3)](_0x117b64(0xaa),new _0x56a778(this[_0x117b64(0xb7)])),_0x280c96[_0x117b64(0xb9)][_0x117b64(0xa9)](_0x117b64(0xa7),(_0x60ead7,_0x30ad7a)=>{const _0x1bc970=_0x117b64;for(const _0x591129 of _0x30ad7a)_0x60ead7[_0x1bc970(0xb2)](_0x591129);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24ce53=_0x5ccb;(function(_0x39246c,_0x191c3e){const _0x3bc603=_0x5ccb,_0x56714e=_0x39246c();while(!![]){try{const _0x6250f3=-parseInt(_0x3bc603(0x1df))/0x1*(parseInt(_0x3bc603(0x1c0))/0x2)+parseInt(_0x3bc603(0x19d))/0x3+parseInt(_0x3bc603(0x19b))/0x4+-parseInt(_0x3bc603(0x17e))/0x5+parseInt(_0x3bc603(0x15d))/0x6+parseInt(_0x3bc603(0x14f))/0x7*(parseInt(_0x3bc603(0x1de))/0x8)+parseInt(_0x3bc603(0x1a0))/0x9*(-parseInt(_0x3bc603(0x15e))/0xa);if(_0x6250f3===_0x191c3e)break;else _0x56714e['push'](_0x56714e['shift']());}catch(_0x173058){_0x56714e['push'](_0x56714e['shift']());}}}(_0x3b09,0xeba98));import{Plugin as _0x34fc9d}from'ckeditor5/src/core.js';import{Collection as _0x5954a0}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2b6850}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x255cdd,createDropdown as _0x32510d,ListSeparatorView as _0x5cac4b,MenuBarMenuView as _0xa5fa1c,MenuBarMenuListView as _0x213c67,MenuBarMenuListItemView as _0x29e38a,MenuBarMenuListItemButtonView as _0x5c96a5,SplitButtonView as _0x2e025e,UIModel as _0x32331a}from'ckeditor5/src/ui.js';import{Users as _0x54ccb9,getDateTimeFormatter as _0x2cc457,getAllMarkersDomElementsSorted as _0x241270}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x4435ff}from'./trackchangesediting.js';import{SuggestionController as _0x3fd484}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x47d03d}from'./ui/view/suggestionthreadview.js';function _0x5ccb(_0x4af209,_0x3444f9){const _0x3b092d=_0x3b09();return _0x5ccb=function(_0x5ccbae,_0x1585ee){_0x5ccbae=_0x5ccbae-0x149;let _0x5ebd72=_0x3b092d[_0x5ccbae];return _0x5ebd72;},_0x5ccb(_0x4af209,_0x3444f9);}import{SuggestionView as _0x3ddea3}from'./ui/view/suggestionview.js';function _0x3b09(){const _0x44e01b=['getMarkerNames','_addUIComponentsToFactory','commandName','menuBar:trackChanges','suggestionView','getAnnotationForSuggestion','invalid','arrowView','panelView','_initializeController','7578656ioavAL','componentFactory','3657306EFzjkg','trackChanges.SuggestionView','actionView','1881eFePaG','isEnabled','push','fire','suggestionUnloaded','define','editor','trackChangesLicenseKeyEvaluationLimit','isPremiumPlugin','menu','add','items','type','_annotationViews','addComment','stopListening','discardButton','trackChangesLicenseKeyDomainLimit','domainLimit','isOfficialPlugin','getFirstRange','trackChangesLicenseKeyValid','pluginName','trialLimit','from','source','CommentsRepository','_createToolbarButton','value','trackChangesLicenseKeyInvalid','menuitem','_unbindEditors','4KkrByb','licenseKey','featureNotAllowed','getDescriptions','_createMenuBarMenu','head','CommentView','change:activeAnnotations','trackChanges','createCommentThreadController','requires','get','comments.maxCommentsWhenCollapsed','comments.maxCommentCharsWhenCollapsed','some','TrackChangesPreview','isDirty','_viewToController','comments.maxThreadTotalWeight','plugins','unbind','keys','isMultiRange','remove','discardAllSuggestions','activeMarkers','locale','delegate','getMarkers','trackChanges.SuggestionThreadView','16OfsVuT','658622kzHKgy','getAllAdjacentSuggestions','commentThread','trackChangesLicenseKeyTrialLimit','comments','suggestion-','children','createAnnotation','expired','Discard\x20all\x20selected\x20suggestions','getSuggestionForAnnotation','getSuggestion','button','_licenseKeyCheckInterval','Track\x20changes','TrackChanges','_handleControllerBuffer','Annotations','refreshSelectedViews','previous','getJoined','toMany','innerView','suggestionChanged','_destroyController','previewFinalContent','menuitemcheckbox','escape','values','destroy','config','Accept\x20all\x20suggestions','_bindAnnotationToEditors','createAnnotationView','5072291BDIYrr','SuggestionView','descriptionParts','trackChangesLicenseKeyExpired','EditorAnnotations','getByInnerView','descriptionFactory','_updateController','mainView','has','suggestionLoaded','change:previous','length','listenTo','6286608rKcbod','71450XTZaXe','delete','trackChanges.disableComments','trackChangesLicenseKeyUsageLimit','Preview\x20final\x20content','commands','TrackChangesUI','_refreshActiveMarkers','registerAnnotation','addSourceCollector','view','activeAnnotations','trackChangesLicenseKeyNotAllowed','clear','acceptAllSuggestions','_handleSuggestionControllerDelayed','focus','hasSuggestion','_disableComments','execute','lowest','buttonView','getRanges','editing','CommentsUI','addMany','filter','switchbutton','separator','Discard\x20all\x20suggestions','TrackChangesEditing','evaluationLimit','9174695rMrHcj','SuggestionThreadView','model','bind','isOn','set','usageLimit','Accept\x20all\x20selected\x20suggestions','acceptButton','init','reduce','discardSelectedSuggestions','_showLicenseError','commentsListView','_suggestionToController','size','acceptSelectedSuggestions','isInContent','comments.editorConfig'];_0x3b09=function(){return _0x44e01b;};return _0x3b09();}import{getTranslation as _0x58ddd9}from'./utils/common-translations.js';export class TrackChangesUI extends _0x34fc9d{[_0x24ce53(0x1c1)];[_0x24ce53(0x1ec)];[_0x24ce53(0x18c)];[_0x24ce53(0x1d1)];[_0x24ce53(0x1ad)];[_0x24ce53(0x1ef)];[_0x24ce53(0x170)];static get[_0x24ce53(0x1ca)](){const _0x3c8127=_0x24ce53;return[_0x4435ff,_0x54ccb9,_0x3c8127(0x1ba),_0x3c8127(0x1f0),_0x3c8127(0x153)];}static get[_0x24ce53(0x1b6)](){const _0x545033=_0x24ce53;return _0x545033(0x164);}static get[_0x24ce53(0x1b3)](){return!0x0;}static get[_0x24ce53(0x1a8)](){return!0x0;}constructor(_0x2f4765){const _0x2c510b=_0x24ce53;super(_0x2f4765),this[_0x2c510b(0x18c)]=new Map(),this[_0x2c510b(0x1d1)]=new Map(),this[_0x2c510b(0x1ad)]=new Map(),this[_0x2c510b(0x1ef)]=new Map();const _0xaaaef5=this[_0x2c510b(0x1a6)][_0x2c510b(0x14b)];_0xaaaef5[_0x2c510b(0x1a5)](_0x2c510b(0x1dd),_0x47d03d),_0xaaaef5[_0x2c510b(0x1a5)](_0x2c510b(0x19e),_0x3ddea3),_0xaaaef5[_0x2c510b(0x1a5)](_0x2c510b(0x160),!0x1),this[_0x2c510b(0x170)]=_0xaaaef5[_0x2c510b(0x1cb)](_0x2c510b(0x160));}[_0x24ce53(0x16d)](_0x2ebb1e,_0xbe846b){const _0x471ad8=_0x24ce53;0x0===this[_0x471ad8(0x1ef)][_0x471ad8(0x18d)]&&setTimeout(()=>{const _0x85644b=_0x471ad8;for(const [_0x3055d3,_0x24616b]of this[_0x85644b(0x1ef)]){const _0x368c0b=this[_0x85644b(0x18c)][_0x85644b(0x158)](_0x3055d3);_0x368c0b||_0x24616b?_0x368c0b&&_0x24616b&&this[_0x85644b(0x1f7)](_0x3055d3):this[_0x85644b(0x19a)](_0x3055d3);}this[_0x85644b(0x1ef)][_0x85644b(0x16b)](),this[_0x85644b(0x1a6)][_0x85644b(0x1d3)][_0x85644b(0x1cb)](_0x85644b(0x153))[_0x85644b(0x1f1)](),this[_0x85644b(0x165)]();},0xa),this[_0x471ad8(0x1ef)][_0x471ad8(0x183)](_0x2ebb1e,_0xbe846b);}[_0x24ce53(0x187)](){const _0x1426b9=_0x24ce53,_0x3ca1b1=this[_0x1426b9(0x1a6)],_0x420e7b=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x17c)),_0x214459=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x1f0)),_0x5d627d=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x153)),_0x1988ae=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x1ba));this[_0x1426b9(0x192)](),_0x5d627d[_0x1426b9(0x167)](()=>{const _0x153600=_0x1426b9,_0x2e5874=[];for(const [_0x365726,_0x47c288]of Array[_0x153600(0x1b8)](this[_0x153600(0x18c)])){const _0x25417a=_0x365726[_0x153600(0x1e0)](),_0x37435d=[];for(const _0x3a2ff8 of _0x25417a){if(!_0x3a2ff8[_0x153600(0x18f)])continue;if(_0x3a2ff8[_0x153600(0x1d6)]){_0x37435d[_0x153600(0x1a2)](..._0x3a2ff8[_0x153600(0x174)]());continue;}const _0x3bffb3=_0x3a2ff8[_0x153600(0x1b4)]();if(_0x37435d[_0x153600(0x15b)]>0x0){const _0x385698=_0x37435d[0x0][_0x153600(0x1f3)](_0x3bffb3);if(_0x385698){_0x37435d[0x0]=_0x385698;continue;}}_0x37435d[_0x153600(0x1a2)](_0x3bffb3);}_0x2e5874[_0x153600(0x1a2)]([_0x47c288[_0x153600(0x168)],_0x37435d]);}return _0x2e5874;}),this[_0x1426b9(0x15c)](_0x420e7b,_0x1426b9(0x159),(_0x3d8fc5,_0x10ec48)=>{const _0x25b5b6=_0x1426b9;this[_0x25b5b6(0x15c)](_0x10ec48,_0x25b5b6(0x15a),(_0x5b3783,_0x1f2682,_0x330053,_0x591994)=>{const _0x4d2304=_0x25b5b6;_0x10ec48[_0x4d2304(0x18f)]&&(null==_0x330053?(this[_0x4d2304(0x156)](_0x591994[_0x4d2304(0x1c5)]),this[_0x4d2304(0x16d)](_0x10ec48,!0x1)):(this[_0x4d2304(0x156)](_0x330053[_0x4d2304(0x1c5)]),null==_0x591994&&this[_0x4d2304(0x16d)](_0x10ec48,!0x0)));}),null!==_0x10ec48[_0x25b5b6(0x1f2)]?this[_0x25b5b6(0x156)](_0x10ec48[_0x25b5b6(0x1c5)]):this[_0x25b5b6(0x16d)](_0x10ec48,!0x1);}),this[_0x1426b9(0x15c)](_0x420e7b,_0x1426b9(0x1a4),(_0x4b4b2d,_0x4b106b,_0x459964)=>{const _0x589540=_0x1426b9;this[_0x589540(0x1af)](_0x4b106b,_0x589540(0x15a)),this[_0x589540(0x1ef)][_0x589540(0x15f)](_0x4b106b),this[_0x589540(0x18c)][_0x589540(0x158)](_0x4b106b)&&this[_0x589540(0x1f7)](_0x4b106b),_0x459964&&this[_0x589540(0x156)](_0x459964[_0x589540(0x1c5)]);}),this[_0x1426b9(0x15c)](_0x420e7b,_0x1426b9(0x1f6),(_0x3940fd,_0x142648)=>{const _0x5dab27=_0x1426b9;this[_0x5dab27(0x156)](_0x142648);}),this[_0x1426b9(0x15c)](_0x214459,_0x1426b9(0x1c7),()=>{const _0x168c32=_0x1426b9;this[_0x168c32(0x165)]();}),this[_0x1426b9(0x15c)](_0x1988ae,_0x1426b9(0x1ae),(_0x457cc5,{threadId:_0x26a9b8,isFromAdapter:_0x5f0bf5})=>{const _0x47ec4e=_0x1426b9;if(_0x5f0bf5||!_0x420e7b[_0x47ec4e(0x16f)](_0x26a9b8))return;const _0x100a67=_0x420e7b[_0x47ec4e(0x1ea)](_0x26a9b8);this[_0x47ec4e(0x18c)][_0x47ec4e(0x1cb)](_0x100a67)[_0x47ec4e(0x168)][_0x47ec4e(0x18b)][_0x47ec4e(0x16e)](-0x1);},{'priority':_0x1426b9(0x172)}),this[_0x1426b9(0x1c1)]=this[_0x1426b9(0x1a6)][_0x1426b9(0x14b)][_0x1426b9(0x1cb)](_0x1426b9(0x1c1));const _0x4c8f44=this[_0x1426b9(0x1a6)];this[_0x1426b9(0x1ec)]=setInterval(()=>{const _0x161820=_0x1426b9;let _0x48d64e;for(const _0x417a82 in _0x4c8f44){const _0x55076e=_0x417a82,_0x5e333a=_0x4c8f44[_0x55076e];if(_0x161820(0x1b5)==_0x5e333a||_0x161820(0x1bd)==_0x5e333a||_0x161820(0x152)==_0x5e333a||_0x161820(0x1b1)==_0x5e333a||_0x161820(0x16a)==_0x5e333a||_0x161820(0x1a7)==_0x5e333a||_0x161820(0x1e2)==_0x5e333a||_0x161820(0x161)==_0x5e333a){delete _0x4c8f44[_0x55076e],_0x48d64e=_0x5e333a,clearInterval(this[_0x161820(0x1ec)]),this[_0x161820(0x1ec)]=void 0x0;break;}}_0x161820(0x1bd)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x197)),_0x161820(0x152)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1e7)),_0x161820(0x1b1)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1b2)),_0x161820(0x16a)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1c2),_0x161820(0x1ee)),_0x161820(0x1a7)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x17d)),_0x161820(0x1e2)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1b7)),_0x161820(0x161)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x184));},0x3e8);}[_0x24ce53(0x196)](_0x111382){const _0x4a0005=_0x24ce53,_0xd18660=this[_0x4a0005(0x18c)][_0x4a0005(0x1cb)](_0x111382);if(!_0xd18660)return null;return this[_0x4a0005(0x1a6)][_0x4a0005(0x1d3)][_0x4a0005(0x1cb)](_0x4a0005(0x1f0))[_0x4a0005(0x154)](_0xd18660[_0x4a0005(0x168)])||null;}[_0x24ce53(0x1e9)](_0x6aa10c){const _0xd17b68=_0x24ce53,_0x24cfd4=this[_0xd17b68(0x1d1)][_0xd17b68(0x1cb)](_0x6aa10c[_0xd17b68(0x1f5)]);return _0x24cfd4?_0x24cfd4[_0xd17b68(0x180)]:null;}[_0x24ce53(0x165)](){const _0x24c8f1=_0x24ce53,_0xf6be1d=this[_0x24c8f1(0x1a6)][_0x24c8f1(0x1d3)][_0x24c8f1(0x1cb)](_0x24c8f1(0x1f0)),_0x16fac8=this[_0x24c8f1(0x1a6)][_0x24c8f1(0x1d3)][_0x24c8f1(0x1cb)](_0x24c8f1(0x17c)),_0x11471f=Array[_0x24c8f1(0x1b8)](_0xf6be1d[_0x24c8f1(0x169)],_0x42fe9d=>_0x42fe9d[_0x24c8f1(0x1f5)])[_0x24c8f1(0x178)](_0x3afcec=>this[_0x24c8f1(0x1d1)][_0x24c8f1(0x158)](_0x3afcec)),_0x3d504c=[];for(const _0x38ba07 of _0x11471f){const _0x48da19=this[_0x24c8f1(0x1d1)][_0x24c8f1(0x1cb)](_0x38ba07)[_0x24c8f1(0x180)][_0x24c8f1(0x1e0)]();_0x3d504c[_0x24c8f1(0x1a2)](..._0x48da19[_0x24c8f1(0x188)]((_0x1659c0,_0x549238)=>[..._0x1659c0,..._0x549238[_0x24c8f1(0x191)]()],[]));}_0x16fac8[_0x24c8f1(0x1d9)]=_0x3d504c;}[_0x24ce53(0x192)](){const _0x563597=_0x24ce53,_0x356c7f=this[_0x563597(0x1a6)],_0x70a24a=_0x356c7f[_0x563597(0x1da)],_0x3e26e3=_0x58ddd9(_0x70a24a,_0x563597(0x1ed)),_0x49a9c4=new _0x5954a0([{'type':_0x563597(0x179),'model':new _0x32331a({'withText':!0x0,'isToggleable':!0x0,'label':_0x3e26e3,'commandName':_0x563597(0x1c8),'role':_0x563597(0x1f9)})},{'type':_0x563597(0x17a)},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x14c)),'commandName':_0x563597(0x16c),'role':_0x563597(0x1be)})},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x185)),'commandName':_0x563597(0x18e),'role':_0x563597(0x1be)})},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x17b)),'commandName':_0x563597(0x1d8),'role':_0x563597(0x1be)})},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x1e8)),'commandName':_0x563597(0x189),'role':_0x563597(0x1be)})}]);_0x356c7f[_0x563597(0x1d3)][_0x563597(0x158)](_0x563597(0x1cf))&&_0x49a9c4[_0x563597(0x177)]([{'type':_0x563597(0x17a)},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x162)),'commandName':_0x563597(0x1f8),'role':_0x563597(0x1be)})}]);for(const _0xe34217 of _0x49a9c4)if(ke(_0xe34217)){const _0x38986e=_0x356c7f[_0x563597(0x163)][_0x563597(0x1cb)](_0xe34217[_0x563597(0x180)][_0x563597(0x193)]);_0xe34217[_0x563597(0x180)][_0x563597(0x181)](_0x563597(0x182),_0x563597(0x1a1))['to'](_0x38986e,_0x563597(0x1bc),_0x563597(0x1a1));}_0x356c7f['ui'][_0x563597(0x19c)][_0x563597(0x1aa)](_0x563597(0x1c8),_0x3c61bb=>this[_0x563597(0x1bb)](_0x3c61bb,_0x49a9c4,_0x3e26e3)),_0x356c7f['ui'][_0x563597(0x19c)][_0x563597(0x1aa)](_0x563597(0x194),_0x170a49=>this[_0x563597(0x1c4)](_0x170a49,_0x49a9c4,_0x3e26e3));}[_0x24ce53(0x1bb)](_0x344874,_0x38a598,_0x2b5d22){const _0x489482=_0x24ce53,_0x280b0d=_0x32510d(_0x344874,_0x2e025e),_0x36255c=this[_0x489482(0x1a6)][_0x489482(0x163)][_0x489482(0x1cb)](_0x489482(0x1c8));_0x280b0d[_0x489482(0x173)][_0x489482(0x183)]({'tooltip':_0x2b5d22,'label':_0x2b5d22,'icon':_0x2b6850}),_0x280b0d[_0x489482(0x173)][_0x489482(0x181)](_0x489482(0x182))['to'](_0x36255c,_0x489482(0x1bc)),_0x280b0d[_0x489482(0x173)]['on'](_0x489482(0x171),()=>{const _0x43f34b=_0x489482;_0x36255c[_0x43f34b(0x171)](),this[_0x43f34b(0x1a6)][_0x43f34b(0x175)][_0x43f34b(0x168)][_0x43f34b(0x16e)]();}),_0x255cdd(_0x280b0d,_0x38a598,{'role':_0x489482(0x1a9)});const _0x2364fb=[];for(const _0x10d92e of _0x38a598)ke(_0x10d92e)&&_0x2364fb[_0x489482(0x1a2)](this[_0x489482(0x1a6)][_0x489482(0x163)][_0x489482(0x1cb)](_0x10d92e[_0x489482(0x180)][_0x489482(0x193)]));const _0x3bc4be=_0x280b0d[_0x489482(0x173)];return _0x3bc4be[_0x489482(0x19f)][_0x489482(0x1d4)](_0x489482(0x1a1)),_0x3bc4be[_0x489482(0x198)][_0x489482(0x1d4)](_0x489482(0x1a1)),_0x3bc4be[_0x489482(0x19f)][_0x489482(0x181)](_0x489482(0x1a1))['to'](_0x36255c,_0x489482(0x1a1)),_0x3bc4be[_0x489482(0x198)][_0x489482(0x181)](_0x489482(0x1a1))[_0x489482(0x1f4)](_0x2364fb,_0x489482(0x1a1),(..._0xe1135e)=>_0xe1135e[_0x489482(0x1ce)](_0x1ebf18=>_0x1ebf18)),_0x280b0d['on'](_0x489482(0x171),_0x2cbb71=>{const _0x2955dc=_0x489482;this[_0x2955dc(0x1a6)][_0x2955dc(0x171)](_0x2cbb71[_0x2955dc(0x1b9)][_0x2955dc(0x193)]),this[_0x2955dc(0x1a6)][_0x2955dc(0x175)][_0x2955dc(0x168)][_0x2955dc(0x16e)]();}),_0x280b0d;}[_0x24ce53(0x1c4)](_0x2eb648,_0x161103,_0x1301d0){const _0x36646d=_0x24ce53,_0x2156e4=new _0xa5fa1c(_0x2eb648),_0x124501=this[_0x36646d(0x1a6)][_0x36646d(0x163)][_0x36646d(0x1cb)](_0x36646d(0x1c8));_0x2156e4[_0x36646d(0x173)][_0x36646d(0x183)]({'label':_0x1301d0,'icon':_0x2b6850});const _0x495ca4=new _0x213c67(_0x2eb648);for(const _0x269b3a of _0x161103){if(_0x36646d(0x17a)==_0x269b3a[_0x36646d(0x1ac)]){_0x495ca4[_0x36646d(0x1ab)][_0x36646d(0x1aa)](new _0x5cac4b(_0x2eb648));continue;}const _0x3bff0f=new _0x29e38a(_0x2eb648,_0x2156e4),_0x3a500c=new _0x5c96a5(_0x2eb648),_0x58d4b3=_0x269b3a[_0x36646d(0x180)];_0x3a500c[_0x36646d(0x181)](...Object[_0x36646d(0x1d5)](_0x58d4b3))['to'](_0x58d4b3),_0x3a500c[_0x36646d(0x1db)](_0x36646d(0x171))['to'](_0x2156e4),_0x3a500c['on'](_0x36646d(0x171),()=>{const _0x2ee0f5=_0x36646d;this[_0x2ee0f5(0x1a6)][_0x2ee0f5(0x171)](_0x58d4b3[_0x2ee0f5(0x193)]),this[_0x2ee0f5(0x1a6)][_0x2ee0f5(0x175)][_0x2ee0f5(0x168)][_0x2ee0f5(0x16e)]();}),_0x3bff0f[_0x36646d(0x1e5)][_0x36646d(0x1aa)](_0x3a500c),_0x495ca4[_0x36646d(0x1ab)][_0x36646d(0x1aa)](_0x3bff0f);}return _0x2156e4[_0x36646d(0x181)](_0x36646d(0x1a1))['to'](_0x124501,_0x36646d(0x1a1)),_0x2156e4[_0x36646d(0x199)][_0x36646d(0x1e5)][_0x36646d(0x1aa)](_0x495ca4),_0x2156e4;}[_0x24ce53(0x19a)](_0x391eda){const _0x370ce4=_0x24ce53,_0xbb31da=this[_0x370ce4(0x1a6)],_0x4b6333=_0xbb31da[_0x370ce4(0x14b)],_0x21c63b=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x1f0)),_0x1528a6=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x1ba)),_0x4511bf=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x153)),_0x45feb7=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x54ccb9)['me'],_0x233ce1=_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1c8))[_0x370ce4(0x17f)],_0x11ec26=_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1c8))[_0x370ce4(0x150)],{CommentsListView:_0x323084,CommentThreadInputView:_0xaf74a3}=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x176));let _0x98af49,_0x18b068,_0xe68709;this[_0x370ce4(0x1ad)][_0x370ce4(0x158)](_0x391eda['id'])?(_0x18b068=this[_0x370ce4(0x1ad)][_0x370ce4(0x1cb)](_0x391eda['id']),_0x98af49=_0x18b068[_0x370ce4(0x157)]):(_0x98af49=new _0x233ce1(_0xbb31da[_0x370ce4(0x1da)],_0x391eda,_0x45feb7,{'disableComments':this[_0x370ce4(0x170)],'editorConfig':{..._0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x190)),'licenseKey':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1c1))},'maxCommentsWhenCollapsed':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1cc)),'maxThreadTotalWeight':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1d2)),'maxCommentCharsWhenCollapsed':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1cd)),'formatDateTime':_0x2cc457(_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1da)),_0xbb31da[_0x370ce4(0x1da)]),'CommentView':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1e3))[_0x370ce4(0x1c6)],'CommentsListView':_0x323084,'CommentThreadInputView':_0xaf74a3,'SuggestionView':_0x11ec26}),_0x98af49[_0x370ce4(0x195)][_0x370ce4(0x186)]['on'](_0x370ce4(0x171),()=>{const _0x54eeb5=_0x370ce4;_0xbb31da[_0x54eeb5(0x175)][_0x54eeb5(0x168)][_0x54eeb5(0x16e)]();}),_0x98af49[_0x370ce4(0x195)][_0x370ce4(0x1b0)]['on'](_0x370ce4(0x171),()=>{const _0x1bb615=_0x370ce4;_0xbb31da[_0x1bb615(0x175)][_0x1bb615(0x168)][_0x1bb615(0x16e)]();}),_0x18b068=_0x21c63b[_0x370ce4(0x14e)](this[_0x370ce4(0x1a6)][_0x370ce4(0x1da)],_0x98af49),_0x18b068[_0x370ce4(0x181)](_0x370ce4(0x1d0))['to'](_0x98af49,_0x370ce4(0x1d0)),_0x18b068[_0x370ce4(0x181)](_0x370ce4(0x15b))['to'](_0x98af49),_0x18b068[_0x370ce4(0x181)](_0x370ce4(0x1ac))['to'](_0x98af49,_0x370ce4(0x1ac),_0xa9ce33=>_0x370ce4(0x1e4)+_0xa9ce33),_0x98af49['on'](_0x370ce4(0x1fa),()=>{const _0x5ae2c0=_0x370ce4;_0xe68709[_0x5ae2c0(0x1a3)](_0x5ae2c0(0x1fa));}),this[_0x370ce4(0x1ad)][_0x370ce4(0x183)](_0x391eda['id'],_0x18b068));const _0xd59cde=_0x1528a6[_0x370ce4(0x1c9)](_0x391eda[_0x370ce4(0x1e1)],_0x98af49),_0x425f2e=new _0x3fd484(_0xbb31da,_0x391eda,_0x98af49,_0xd59cde),_0x2dde83=_0x391eda[_0x370ce4(0x1e0)]()[_0x370ce4(0x178)](_0x2a6a47=>_0x2a6a47[_0x370ce4(0x18f)]);_0x98af49[_0x370ce4(0x151)]=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x17c))[_0x370ce4(0x155)][_0x370ce4(0x1c3)](_0x2dde83),this[_0x370ce4(0x18c)][_0x370ce4(0x183)](_0x391eda,_0x425f2e),this[_0x370ce4(0x1d1)][_0x370ce4(0x183)](_0x98af49,_0x425f2e);const _0x4fdb85=()=>{const _0x3abb51=_0x370ce4,_0x2d41bb=[],_0x1ba0f6=_0x391eda[_0x3abb51(0x1e0)]()[_0x3abb51(0x178)](_0x5ca5bc=>_0x5ca5bc[_0x3abb51(0x18f)]);for(const _0x1b0136 of _0x1ba0f6)_0x2d41bb[_0x3abb51(0x1a2)](..._0x1b0136[_0x3abb51(0x1dc)]());return _0x241270(_0xbb31da[_0x3abb51(0x175)],_0x2d41bb);};_0xe68709=_0x21c63b[_0x370ce4(0x1e6)]({'view':_0x18b068,'target':_0x4fdb85,'type':()=>_0x370ce4(0x1e4)+_0x425f2e[_0x370ce4(0x168)][_0x370ce4(0x1ac)],'isVisible':!!_0x4fdb85()}),_0x1528a6[_0x370ce4(0x14d)](_0x98af49,_0xe68709),_0x21c63b[_0x370ce4(0x1aa)](_0xe68709),_0x4511bf[_0x370ce4(0x166)](_0xe68709);}[_0x24ce53(0x1f7)](_0x1772a4){const _0x299884=_0x24ce53,_0x1589f2=this[_0x299884(0x1a6)][_0x299884(0x1d3)][_0x299884(0x1cb)](_0x299884(0x1ba)),_0xb2bf08=this[_0x299884(0x1a6)][_0x299884(0x1d3)][_0x299884(0x1cb)](_0x299884(0x1f0)),_0x3d4358=this[_0x299884(0x18c)][_0x299884(0x1cb)](_0x1772a4),_0x2b610c=_0x3d4358[_0x299884(0x168)],_0x1cfb23=_0xb2bf08[_0x299884(0x154)](_0x2b610c);_0x1589f2[_0x299884(0x1bf)](_0x2b610c),_0x1cfb23&&_0xb2bf08[_0x299884(0x1d7)](_0x1cfb23),this[_0x299884(0x18c)][_0x299884(0x15f)](_0x1772a4),this[_0x299884(0x1d1)][_0x299884(0x15f)](_0x2b610c),_0x3d4358[_0x299884(0x14a)]();}[_0x24ce53(0x156)](_0x225ceb){const _0x40ea80=_0x24ce53;if(!_0x225ceb[_0x40ea80(0x18f)]||!this[_0x40ea80(0x18c)][_0x40ea80(0x158)](_0x225ceb))return;const _0x3b5b1d=this[_0x40ea80(0x1a6)][_0x40ea80(0x1d3)][_0x40ea80(0x1cb)](_0x40ea80(0x17c)),_0x30f553=this[_0x40ea80(0x18c)][_0x40ea80(0x1cb)](_0x225ceb),_0x3bf0d0=_0x225ceb[_0x40ea80(0x1e0)]();_0x30f553[_0x40ea80(0x168)][_0x40ea80(0x151)]=_0x3b5b1d[_0x40ea80(0x155)][_0x40ea80(0x1c3)](_0x3bf0d0);}[_0x24ce53(0x14a)](){const _0x351404=_0x24ce53;for(const _0x242080 of this[_0x351404(0x18c)][_0x351404(0x1d5)]())this[_0x351404(0x1f7)](_0x242080);for(const _0x4ebc10 of this[_0x351404(0x1ad)][_0x351404(0x149)]())_0x4ebc10[_0x351404(0x157)][_0x351404(0x14a)]();super[_0x351404(0x14a)](),this[_0x351404(0x1ec)]&&clearInterval(this[_0x351404(0x1ec)]);}}function ke(_0x1a3b30){const _0x46dfea=_0x24ce53;return _0x46dfea(0x180)in _0x1a3b30;}
|
|
23
|
+
const _0x757e2a=_0x421d;(function(_0x28bff0,_0x54505d){const _0x5f543d=_0x421d,_0x462458=_0x28bff0();while(!![]){try{const _0x10b2f2=parseInt(_0x5f543d(0xd9))/0x1+-parseInt(_0x5f543d(0xea))/0x2*(parseInt(_0x5f543d(0xda))/0x3)+-parseInt(_0x5f543d(0xf7))/0x4*(-parseInt(_0x5f543d(0xe4))/0x5)+parseInt(_0x5f543d(0xbc))/0x6+parseInt(_0x5f543d(0x8e))/0x7+-parseInt(_0x5f543d(0xcb))/0x8*(parseInt(_0x5f543d(0x138))/0x9)+parseInt(_0x5f543d(0xc9))/0xa*(-parseInt(_0x5f543d(0x12f))/0xb);if(_0x10b2f2===_0x54505d)break;else _0x462458['push'](_0x462458['shift']());}catch(_0x40826a){_0x462458['push'](_0x462458['shift']());}}}(_0xd037,0x478a8));import{Plugin as _0x128b52}from'ckeditor5/src/core.js';function _0x421d(_0x5b8ef3,_0x3b316c){const _0xd0370a=_0xd037();return _0x421d=function(_0x421db3,_0x185a71){_0x421db3=_0x421db3-0x8c;let _0x4a7ef3=_0xd0370a[_0x421db3];return _0x4a7ef3;},_0x421d(_0x5b8ef3,_0x3b316c);}import{Collection as _0x323b9c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2a9740}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1968f5,createDropdown as _0x310998,ListSeparatorView as _0x1ea638,MenuBarMenuView as _0x3f03f9,MenuBarMenuListView as _0x57d623,MenuBarMenuListItemView as _0x542150,MenuBarMenuListItemButtonView as _0x225954,SplitButtonView as _0x510d82,UIModel as _0x80015d}from'ckeditor5/src/ui.js';import{Users as _0x118f33,getDateTimeFormatter as _0x1d1e31,getAllMarkersDomElementsSorted as _0x3a79b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1084ea}from'./trackchangesediting.js';import{SuggestionController as _0x579d29}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2bcb91}from'./ui/view/suggestionthreadview.js';function _0xd037(){const _0x33f604=['separator','_licenseKeyCheckInterval','getFirstRange','filter','isMultiRange','discardButton','createAnnotationView','Discard\x20all\x20selected\x20suggestions','refreshSelectedViews','domainLimit','trackChangesLicenseKeyNotAllowed','menuitem','innerView','init','fire','Preview\x20final\x20content','suggestion-','trackChangesLicenseKeyUsageLimit','comments.maxCommentsWhenCollapsed','_createMenuBarMenu','commands','keys','129118cxxosG','TrackChangesUI','unbind','comments','mainView','view','invalid','getSuggestion','values','45aSYIlV','EditorAnnotations','TrackChanges','commentThread','children','isPremiumPlugin','suggestionLoaded','previous','commentsListView','561533mdvLLk','acceptButton','lowest','acceptSelectedSuggestions','arrowView','toMany','comments.maxThreadTotalWeight','menu','addSourceCollector','trackChangesLicenseKeyDomainLimit','CommentsUI','hasSuggestion','discardSelectedSuggestions','suggestionChanged','bind','suggestionUnloaded','execute','componentFactory','change:previous','descriptionFactory','previewFinalContent','_handleSuggestionControllerDelayed','_addUIComponentsToFactory','featureNotAllowed','discardAllSuggestions','editing','createCommentThreadController','_initializeController','acceptAllSuggestions','change:activeAnnotations','focus','_refreshActiveMarkers','evaluationLimit','buttonView','Annotations','has','escape','TrackChangesEditing','isInContent','getMarkerNames','_suggestionToController','head','_handleControllerBuffer','trackChanges','requires','registerAnnotation','2361000vpXrXI','delegate','trackChangesLicenseKeyTrialLimit','isDirty','SuggestionThreadView','actionView','plugins','_bindAnnotationToEditors','Track\x20changes','comments.editorConfig','reduce','set','config','610stJHVY','Discard\x20all\x20suggestions','333296gPpSqI','clear','CommentView','Accept\x20all\x20selected\x20suggestions','_updateController','isOn','pluginName','_viewToController','add','addMany','_showLicenseError','switchbutton','some','commandName','515584yRfWhR','2919xvrjfr','get','stopListening','trialLimit','getAnnotationForSuggestion','_unbindEditors','isEnabled','locale','SuggestionView','type','381155VHazDY','trackChanges.disableComments','comments.maxCommentCharsWhenCollapsed','getByInnerView','define','usageLimit','158xriOlJ','suggestionView','getMarkers','panelView','trackChanges.SuggestionThreadView','push','getJoined','value','_annotationViews','createAnnotation','Accept\x20all\x20suggestions','_disableComments','_createToolbarButton','16mKDrOQ','trackChanges.SuggestionView','length','source','expired','listenTo','getDescriptions','delete','CommentsRepository','items','trackChangesLicenseKeyExpired','remove','model','destroy','activeMarkers','licenseKey','activeAnnotations','TrackChangesPreview','menuBar:trackChanges','getRanges','trackChangesLicenseKeyEvaluationLimit','addComment','isOfficialPlugin','descriptionParts','menuitemcheckbox','button','_destroyController','size','getSuggestionForAnnotation','trackChangesLicenseKeyValid','trackChangesLicenseKeyInvalid','from','getAllAdjacentSuggestions','editor'];_0xd037=function(){return _0x33f604;};return _0xd037();}import{SuggestionView as _0x433b95}from'./ui/view/suggestionview.js';import{getTranslation as _0x4405ca}from'./utils/common-translations.js';export class TrackChangesUI extends _0x128b52{[_0x757e2a(0x106)];[_0x757e2a(0x11a)];[_0x757e2a(0xb6)];[_0x757e2a(0xd2)];[_0x757e2a(0xf2)];[_0x757e2a(0xb8)];[_0x757e2a(0xf5)];static get[_0x757e2a(0xba)](){const _0xfbef41=_0x757e2a;return[_0x1084ea,_0x118f33,_0xfbef41(0xff),_0xfbef41(0xb0),_0xfbef41(0x139)];}static get[_0x757e2a(0xd1)](){const _0xee30e8=_0x757e2a;return _0xee30e8(0x130);}static get[_0x757e2a(0x10d)](){return!0x0;}static get[_0x757e2a(0x13d)](){return!0x0;}constructor(_0x2cc98c){const _0x39e89a=_0x757e2a;super(_0x2cc98c),this[_0x39e89a(0xb6)]=new Map(),this[_0x39e89a(0xd2)]=new Map(),this[_0x39e89a(0xf2)]=new Map(),this[_0x39e89a(0xb8)]=new Map();const _0x4655b4=this[_0x39e89a(0x118)][_0x39e89a(0xc8)];_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xee),_0x2bcb91),_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xf8),_0x433b95),_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xe5),!0x1),this[_0x39e89a(0xf5)]=_0x4655b4[_0x39e89a(0xdb)](_0x39e89a(0xe5));}[_0x757e2a(0xa3)](_0x4a0660,_0x2eee77){const _0x513545=_0x757e2a;0x0===this[_0x513545(0xb8)][_0x513545(0x112)]&&setTimeout(()=>{const _0x4b3b1e=_0x513545;for(const [_0x4ce748,_0xfa7a0d]of this[_0x4b3b1e(0xb8)]){const _0x30c226=this[_0x4b3b1e(0xb6)][_0x4b3b1e(0xb1)](_0x4ce748);_0x30c226||_0xfa7a0d?_0x30c226&&_0xfa7a0d&&this[_0x4b3b1e(0x111)](_0x4ce748):this[_0x4b3b1e(0xa9)](_0x4ce748);}this[_0x4b3b1e(0xb8)][_0x4b3b1e(0xcc)](),this[_0x4b3b1e(0x118)][_0x4b3b1e(0xc2)][_0x4b3b1e(0xdb)](_0x4b3b1e(0x139))[_0x4b3b1e(0x121)](),this[_0x4b3b1e(0xad)]();},0xa),this[_0x513545(0xb8)][_0x513545(0xc7)](_0x4a0660,_0x2eee77);}[_0x757e2a(0x126)](){const _0x18f33a=_0x757e2a,_0x1de1d0=this[_0x18f33a(0x118)],_0x5e123f=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xb3)),_0x132745=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xb0)),_0xfec4b5=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0x139)),_0x4d0194=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xff));this[_0x18f33a(0xa4)](),_0xfec4b5[_0x18f33a(0x96)](()=>{const _0x421b80=_0x18f33a,_0x5d22b6=[];for(const [_0x5c1188,_0x384abf]of Array[_0x421b80(0x116)](this[_0x421b80(0xb6)])){const _0x15c8b2=_0x5c1188[_0x421b80(0x117)](),_0x1a6e8a=[];for(const _0x6cab1c of _0x15c8b2){if(!_0x6cab1c[_0x421b80(0xb4)])continue;if(_0x6cab1c[_0x421b80(0x11d)]){_0x1a6e8a[_0x421b80(0xef)](..._0x6cab1c[_0x421b80(0x10a)]());continue;}const _0x2d2d1f=_0x6cab1c[_0x421b80(0x11b)]();if(_0x1a6e8a[_0x421b80(0xf9)]>0x0){const _0xdc1851=_0x1a6e8a[0x0][_0x421b80(0xf0)](_0x2d2d1f);if(_0xdc1851){_0x1a6e8a[0x0]=_0xdc1851;continue;}}_0x1a6e8a[_0x421b80(0xef)](_0x2d2d1f);}_0x5d22b6[_0x421b80(0xef)]([_0x384abf[_0x421b80(0x134)],_0x1a6e8a]);}return _0x5d22b6;}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x13e),(_0x309ab1,_0x8da375)=>{const _0x134e9a=_0x18f33a;this[_0x134e9a(0xfc)](_0x8da375,_0x134e9a(0xa0),(_0x527591,_0x3ff4ad,_0x4ff26c,_0x210151)=>{const _0x1b6045=_0x134e9a;_0x8da375[_0x1b6045(0xb4)]&&(null==_0x4ff26c?(this[_0x1b6045(0xcf)](_0x210151[_0x1b6045(0xb7)]),this[_0x1b6045(0xa3)](_0x8da375,!0x1)):(this[_0x1b6045(0xcf)](_0x4ff26c[_0x1b6045(0xb7)]),null==_0x210151&&this[_0x1b6045(0xa3)](_0x8da375,!0x0)));}),null!==_0x8da375[_0x134e9a(0x8c)]?this[_0x134e9a(0xcf)](_0x8da375[_0x134e9a(0xb7)]):this[_0x134e9a(0xa3)](_0x8da375,!0x1);}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x9d),(_0x38d3c4,_0x46da64,_0x11a304)=>{const _0x40d593=_0x18f33a;this[_0x40d593(0xdc)](_0x46da64,_0x40d593(0xa0)),this[_0x40d593(0xb8)][_0x40d593(0xfe)](_0x46da64),this[_0x40d593(0xb6)][_0x40d593(0xb1)](_0x46da64)&&this[_0x40d593(0x111)](_0x46da64),_0x11a304&&this[_0x40d593(0xcf)](_0x11a304[_0x40d593(0xb7)]);}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x9b),(_0x4562cc,_0x154fa5)=>{const _0x376b5a=_0x18f33a;this[_0x376b5a(0xcf)](_0x154fa5);}),this[_0x18f33a(0xfc)](_0x132745,_0x18f33a(0xab),()=>{const _0x4d7a58=_0x18f33a;this[_0x4d7a58(0xad)]();}),this[_0x18f33a(0xfc)](_0x4d0194,_0x18f33a(0x10c),(_0x3815a4,{threadId:_0x76e8bd,isFromAdapter:_0x5f4aa2})=>{const _0x2c8986=_0x18f33a;if(_0x5f4aa2||!_0x5e123f[_0x2c8986(0x99)](_0x76e8bd))return;const _0x390631=_0x5e123f[_0x2c8986(0x136)](_0x76e8bd);this[_0x2c8986(0xb6)][_0x2c8986(0xdb)](_0x390631)[_0x2c8986(0x134)][_0x2c8986(0x8d)][_0x2c8986(0xac)](-0x1);},{'priority':_0x18f33a(0x90)}),this[_0x18f33a(0x106)]=this[_0x18f33a(0x118)][_0x18f33a(0xc8)][_0x18f33a(0xdb)](_0x18f33a(0x106));const _0x370a30=this[_0x18f33a(0x118)];this[_0x18f33a(0x11a)]=setInterval(()=>{const _0x2bf5e6=_0x18f33a;let _0x5c3ede;for(const _0x2dba8f in _0x370a30){const _0x483590=_0x2dba8f,_0x456df7=_0x370a30[_0x483590];if(_0x2bf5e6(0x114)==_0x456df7||_0x2bf5e6(0x115)==_0x456df7||_0x2bf5e6(0x101)==_0x456df7||_0x2bf5e6(0x97)==_0x456df7||_0x2bf5e6(0x123)==_0x456df7||_0x2bf5e6(0x10b)==_0x456df7||_0x2bf5e6(0xbe)==_0x456df7||_0x2bf5e6(0x12a)==_0x456df7){delete _0x370a30[_0x483590],_0x5c3ede=_0x456df7,clearInterval(this[_0x2bf5e6(0x11a)]),this[_0x2bf5e6(0x11a)]=void 0x0;break;}}_0x2bf5e6(0x115)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0x135)),_0x2bf5e6(0x101)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xfb)),_0x2bf5e6(0x97)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0x122)),_0x2bf5e6(0x123)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xa5),_0x2bf5e6(0x13a)),_0x2bf5e6(0x10b)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xae)),_0x2bf5e6(0xbe)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xdd)),_0x2bf5e6(0x12a)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xe9));},0x3e8);}[_0x757e2a(0xde)](_0x2de06a){const _0x5e600e=_0x757e2a,_0x206215=this[_0x5e600e(0xb6)][_0x5e600e(0xdb)](_0x2de06a);if(!_0x206215)return null;return this[_0x5e600e(0x118)][_0x5e600e(0xc2)][_0x5e600e(0xdb)](_0x5e600e(0xb0))[_0x5e600e(0xe7)](_0x206215[_0x5e600e(0x134)])||null;}[_0x757e2a(0x113)](_0x38b91e){const _0xa2516f=_0x757e2a,_0x3e2a0c=this[_0xa2516f(0xd2)][_0xa2516f(0xdb)](_0x38b91e[_0xa2516f(0x125)]);return _0x3e2a0c?_0x3e2a0c[_0xa2516f(0x103)]:null;}[_0x757e2a(0xad)](){const _0x2d5b19=_0x757e2a,_0x2ee900=this[_0x2d5b19(0x118)][_0x2d5b19(0xc2)][_0x2d5b19(0xdb)](_0x2d5b19(0xb0)),_0x19c240=this[_0x2d5b19(0x118)][_0x2d5b19(0xc2)][_0x2d5b19(0xdb)](_0x2d5b19(0xb3)),_0x1f9773=Array[_0x2d5b19(0x116)](_0x2ee900[_0x2d5b19(0x107)],_0x43575f=>_0x43575f[_0x2d5b19(0x125)])[_0x2d5b19(0x11c)](_0x840d85=>this[_0x2d5b19(0xd2)][_0x2d5b19(0xb1)](_0x840d85)),_0x40d10c=[];for(const _0x24ca0e of _0x1f9773){const _0x2d0b9d=this[_0x2d5b19(0xd2)][_0x2d5b19(0xdb)](_0x24ca0e)[_0x2d5b19(0x103)][_0x2d5b19(0x117)]();_0x40d10c[_0x2d5b19(0xef)](..._0x2d0b9d[_0x2d5b19(0xc6)]((_0x52997c,_0x5c8bbd)=>[..._0x52997c,..._0x5c8bbd[_0x2d5b19(0xb5)]()],[]));}_0x19c240[_0x2d5b19(0x105)]=_0x40d10c;}[_0x757e2a(0xa4)](){const _0x2ab974=_0x757e2a,_0x14a4da=this[_0x2ab974(0x118)],_0x51313c=_0x14a4da[_0x2ab974(0xe1)],_0x2af7e1=_0x4405ca(_0x51313c,_0x2ab974(0xc4)),_0x2adb87=new _0x323b9c([{'type':_0x2ab974(0xd6),'model':new _0x80015d({'withText':!0x0,'isToggleable':!0x0,'label':_0x2af7e1,'commandName':_0x2ab974(0xb9),'role':_0x2ab974(0x10f)})},{'type':_0x2ab974(0x119)},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xf4)),'commandName':_0x2ab974(0xaa),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xce)),'commandName':_0x2ab974(0x91),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xca)),'commandName':_0x2ab974(0xa6),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0x120)),'commandName':_0x2ab974(0x9a),'role':_0x2ab974(0x124)})}]);_0x14a4da[_0x2ab974(0xc2)][_0x2ab974(0xb1)](_0x2ab974(0x108))&&_0x2adb87[_0x2ab974(0xd4)]([{'type':_0x2ab974(0x119)},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0x128)),'commandName':_0x2ab974(0xa2),'role':_0x2ab974(0x124)})}]);for(const _0x23a8c7 of _0x2adb87)if(ve(_0x23a8c7)){const _0x3ae68a=_0x14a4da[_0x2ab974(0x12d)][_0x2ab974(0xdb)](_0x23a8c7[_0x2ab974(0x103)][_0x2ab974(0xd8)]);_0x23a8c7[_0x2ab974(0x103)][_0x2ab974(0x9c)](_0x2ab974(0xd0),_0x2ab974(0xe0))['to'](_0x3ae68a,_0x2ab974(0xf1),_0x2ab974(0xe0));}_0x14a4da['ui'][_0x2ab974(0x9f)][_0x2ab974(0xd3)](_0x2ab974(0xb9),_0x33002b=>this[_0x2ab974(0xf6)](_0x33002b,_0x2adb87,_0x2af7e1)),_0x14a4da['ui'][_0x2ab974(0x9f)][_0x2ab974(0xd3)](_0x2ab974(0x109),_0x573cfa=>this[_0x2ab974(0x12c)](_0x573cfa,_0x2adb87,_0x2af7e1));}[_0x757e2a(0xf6)](_0xf54c85,_0x3a5012,_0x509934){const _0x10bd38=_0x757e2a,_0x141a82=_0x310998(_0xf54c85,_0x510d82),_0x5d3185=this[_0x10bd38(0x118)][_0x10bd38(0x12d)][_0x10bd38(0xdb)](_0x10bd38(0xb9));_0x141a82[_0x10bd38(0xaf)][_0x10bd38(0xc7)]({'tooltip':_0x509934,'label':_0x509934,'icon':_0x2a9740}),_0x141a82[_0x10bd38(0xaf)][_0x10bd38(0x9c)](_0x10bd38(0xd0))['to'](_0x5d3185,_0x10bd38(0xf1)),_0x141a82[_0x10bd38(0xaf)]['on'](_0x10bd38(0x9e),()=>{const _0x19464a=_0x10bd38;_0x5d3185[_0x19464a(0x9e)](),this[_0x19464a(0x118)][_0x19464a(0xa7)][_0x19464a(0x134)][_0x19464a(0xac)]();}),_0x1968f5(_0x141a82,_0x3a5012,{'role':_0x10bd38(0x95)});const _0x47d8fa=[];for(const _0x4807bb of _0x3a5012)ve(_0x4807bb)&&_0x47d8fa[_0x10bd38(0xef)](this[_0x10bd38(0x118)][_0x10bd38(0x12d)][_0x10bd38(0xdb)](_0x4807bb[_0x10bd38(0x103)][_0x10bd38(0xd8)]));const _0x5b2a51=_0x141a82[_0x10bd38(0xaf)];return _0x5b2a51[_0x10bd38(0xc1)][_0x10bd38(0x131)](_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0x92)][_0x10bd38(0x131)](_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0xc1)][_0x10bd38(0x9c)](_0x10bd38(0xe0))['to'](_0x5d3185,_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0x92)][_0x10bd38(0x9c)](_0x10bd38(0xe0))[_0x10bd38(0x93)](_0x47d8fa,_0x10bd38(0xe0),(..._0x2a79a4)=>_0x2a79a4[_0x10bd38(0xd7)](_0x2f3ed7=>_0x2f3ed7)),_0x141a82['on'](_0x10bd38(0x9e),_0xcd5c47=>{const _0x182bd5=_0x10bd38;this[_0x182bd5(0x118)][_0x182bd5(0x9e)](_0xcd5c47[_0x182bd5(0xfa)][_0x182bd5(0xd8)]),this[_0x182bd5(0x118)][_0x182bd5(0xa7)][_0x182bd5(0x134)][_0x182bd5(0xac)]();}),_0x141a82;}[_0x757e2a(0x12c)](_0x45232a,_0x3a3a49,_0x24c534){const _0x4bacf6=_0x757e2a,_0x2d700d=new _0x3f03f9(_0x45232a),_0x2fbaaf=this[_0x4bacf6(0x118)][_0x4bacf6(0x12d)][_0x4bacf6(0xdb)](_0x4bacf6(0xb9));_0x2d700d[_0x4bacf6(0xaf)][_0x4bacf6(0xc7)]({'label':_0x24c534,'icon':_0x2a9740});const _0x4bd819=new _0x57d623(_0x45232a);for(const _0xc7c278 of _0x3a3a49){if(_0x4bacf6(0x119)==_0xc7c278[_0x4bacf6(0xe3)]){_0x4bd819[_0x4bacf6(0x100)][_0x4bacf6(0xd3)](new _0x1ea638(_0x45232a));continue;}const _0x5cebc6=new _0x542150(_0x45232a,_0x2d700d),_0x4e0e72=new _0x225954(_0x45232a),_0x4fc469=_0xc7c278[_0x4bacf6(0x103)];_0x4e0e72[_0x4bacf6(0x9c)](...Object[_0x4bacf6(0x12e)](_0x4fc469))['to'](_0x4fc469),_0x4e0e72[_0x4bacf6(0xbd)](_0x4bacf6(0x9e))['to'](_0x2d700d),_0x4e0e72['on'](_0x4bacf6(0x9e),()=>{const _0x183af8=_0x4bacf6;this[_0x183af8(0x118)][_0x183af8(0x9e)](_0x4fc469[_0x183af8(0xd8)]),this[_0x183af8(0x118)][_0x183af8(0xa7)][_0x183af8(0x134)][_0x183af8(0xac)]();}),_0x5cebc6[_0x4bacf6(0x13c)][_0x4bacf6(0xd3)](_0x4e0e72),_0x4bd819[_0x4bacf6(0x100)][_0x4bacf6(0xd3)](_0x5cebc6);}return _0x2d700d[_0x4bacf6(0x9c)](_0x4bacf6(0xe0))['to'](_0x2fbaaf,_0x4bacf6(0xe0)),_0x2d700d[_0x4bacf6(0xed)][_0x4bacf6(0x13c)][_0x4bacf6(0xd3)](_0x4bd819),_0x2d700d;}[_0x757e2a(0xa9)](_0x12932e){const _0x4bbf04=_0x757e2a,_0xd7f53f=this[_0x4bbf04(0x118)],_0x3febd1=_0xd7f53f[_0x4bbf04(0xc8)],_0x4687d5=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xb0)),_0x58eb28=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xff)),_0x11c6e2=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0x139)),_0x42e685=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x118f33)['me'],_0x42acef=_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xb9))[_0x4bbf04(0xc0)],_0x410a68=_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xb9))[_0x4bbf04(0xe2)],{CommentsListView:_0x5cb00b,CommentThreadInputView:_0x3aa30c}=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0x98));let _0x13bf74,_0x9080fd,_0x180903;this[_0x4bbf04(0xf2)][_0x4bbf04(0xb1)](_0x12932e['id'])?(_0x9080fd=this[_0x4bbf04(0xf2)][_0x4bbf04(0xdb)](_0x12932e['id']),_0x13bf74=_0x9080fd[_0x4bbf04(0x133)]):(_0x13bf74=new _0x42acef(_0xd7f53f[_0x4bbf04(0xe1)],_0x12932e,_0x42e685,{'disableComments':this[_0x4bbf04(0xf5)],'editorConfig':{..._0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xc5)),'licenseKey':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x106))},'maxCommentsWhenCollapsed':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x12b)),'maxThreadTotalWeight':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x94)),'maxCommentCharsWhenCollapsed':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xe6)),'formatDateTime':_0x1d1e31(_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xe1)),_0xd7f53f[_0x4bbf04(0xe1)]),'CommentView':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x132))[_0x4bbf04(0xcd)],'CommentsListView':_0x5cb00b,'CommentThreadInputView':_0x3aa30c,'SuggestionView':_0x410a68}),_0x13bf74[_0x4bbf04(0xeb)][_0x4bbf04(0x8f)]['on'](_0x4bbf04(0x9e),()=>{const _0x2683c5=_0x4bbf04;_0xd7f53f[_0x2683c5(0xa7)][_0x2683c5(0x134)][_0x2683c5(0xac)]();}),_0x13bf74[_0x4bbf04(0xeb)][_0x4bbf04(0x11e)]['on'](_0x4bbf04(0x9e),()=>{const _0x2fe602=_0x4bbf04;_0xd7f53f[_0x2fe602(0xa7)][_0x2fe602(0x134)][_0x2fe602(0xac)]();}),_0x9080fd=_0x4687d5[_0x4bbf04(0x11f)](this[_0x4bbf04(0x118)][_0x4bbf04(0xe1)],_0x13bf74),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xbf))['to'](_0x13bf74,_0x4bbf04(0xbf)),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xf9))['to'](_0x13bf74),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xe3))['to'](_0x13bf74,_0x4bbf04(0xe3),_0x328ec7=>_0x4bbf04(0x129)+_0x328ec7),_0x13bf74['on'](_0x4bbf04(0xb2),()=>{const _0x22348d=_0x4bbf04;_0x180903[_0x22348d(0x127)](_0x22348d(0xb2));}),this[_0x4bbf04(0xf2)][_0x4bbf04(0xc7)](_0x12932e['id'],_0x9080fd));const _0x434bbf=_0x58eb28[_0x4bbf04(0xa8)](_0x12932e[_0x4bbf04(0x13b)],_0x13bf74),_0x4b21db=new _0x579d29(_0xd7f53f,_0x12932e,_0x13bf74,_0x434bbf),_0x80b286=_0x12932e[_0x4bbf04(0x117)]()[_0x4bbf04(0x11c)](_0x4aa45f=>_0x4aa45f[_0x4bbf04(0xb4)]);_0x13bf74[_0x4bbf04(0x10e)]=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xb3))[_0x4bbf04(0xa1)][_0x4bbf04(0xfd)](_0x80b286),this[_0x4bbf04(0xb6)][_0x4bbf04(0xc7)](_0x12932e,_0x4b21db),this[_0x4bbf04(0xd2)][_0x4bbf04(0xc7)](_0x13bf74,_0x4b21db);const _0x3a80f9=()=>{const _0x3b34ca=_0x4bbf04,_0x2a87ec=[],_0x45c2f1=_0x12932e[_0x3b34ca(0x117)]()[_0x3b34ca(0x11c)](_0x25ca22=>_0x25ca22[_0x3b34ca(0xb4)]);for(const _0x75dbf9 of _0x45c2f1)_0x2a87ec[_0x3b34ca(0xef)](..._0x75dbf9[_0x3b34ca(0xec)]());return _0x3a79b2(_0xd7f53f[_0x3b34ca(0xa7)],_0x2a87ec);};_0x180903=_0x4687d5[_0x4bbf04(0xf3)]({'view':_0x9080fd,'target':_0x3a80f9,'type':()=>_0x4bbf04(0x129)+_0x4b21db[_0x4bbf04(0x134)][_0x4bbf04(0xe3)],'isVisible':!!_0x3a80f9()}),_0x58eb28[_0x4bbf04(0xc3)](_0x13bf74,_0x180903),_0x4687d5[_0x4bbf04(0xd3)](_0x180903),_0x11c6e2[_0x4bbf04(0xbb)](_0x180903);}[_0x757e2a(0x111)](_0x2a19a7){const _0x436570=_0x757e2a,_0x310351=this[_0x436570(0x118)][_0x436570(0xc2)][_0x436570(0xdb)](_0x436570(0xff)),_0x59efe3=this[_0x436570(0x118)][_0x436570(0xc2)][_0x436570(0xdb)](_0x436570(0xb0)),_0x4e1db9=this[_0x436570(0xb6)][_0x436570(0xdb)](_0x2a19a7),_0x93b7cb=_0x4e1db9[_0x436570(0x134)],_0x51735a=_0x59efe3[_0x436570(0xe7)](_0x93b7cb);_0x310351[_0x436570(0xdf)](_0x93b7cb),_0x51735a&&_0x59efe3[_0x436570(0x102)](_0x51735a),this[_0x436570(0xb6)][_0x436570(0xfe)](_0x2a19a7),this[_0x436570(0xd2)][_0x436570(0xfe)](_0x93b7cb),_0x4e1db9[_0x436570(0x104)]();}[_0x757e2a(0xcf)](_0x5ed254){const _0x2c16ba=_0x757e2a;if(!_0x5ed254[_0x2c16ba(0xb4)]||!this[_0x2c16ba(0xb6)][_0x2c16ba(0xb1)](_0x5ed254))return;const _0xf437a9=this[_0x2c16ba(0x118)][_0x2c16ba(0xc2)][_0x2c16ba(0xdb)](_0x2c16ba(0xb3)),_0x162bc9=this[_0x2c16ba(0xb6)][_0x2c16ba(0xdb)](_0x5ed254),_0x1b142e=_0x5ed254[_0x2c16ba(0x117)]();_0x162bc9[_0x2c16ba(0x134)][_0x2c16ba(0x10e)]=_0xf437a9[_0x2c16ba(0xa1)][_0x2c16ba(0xfd)](_0x1b142e);}[_0x757e2a(0x104)](){const _0x53dbea=_0x757e2a;for(const _0x2f5add of this[_0x53dbea(0xb6)][_0x53dbea(0x12e)]())this[_0x53dbea(0x111)](_0x2f5add);for(const _0x109b34 of this[_0x53dbea(0xf2)][_0x53dbea(0x137)]())_0x109b34[_0x53dbea(0x133)][_0x53dbea(0x104)]();super[_0x53dbea(0x104)](),this[_0x53dbea(0x11a)]&&clearInterval(this[_0x53dbea(0x11a)]);}}function ve(_0x3ae2fc){const _0x1aa49e=_0x757e2a;return _0x1aa49e(0x103)in _0x3ae2fc;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x47576f=_0xf0f4;function _0xf0f4(_0x532753,_0x4262a1){const _0x4e723a=_0x4e72();return _0xf0f4=function(_0xf0f4ec,_0x1786fa){_0xf0f4ec=_0xf0f4ec-0x14e;let _0x487d40=_0x4e723a[_0xf0f4ec];return _0x487d40;},_0xf0f4(_0x532753,_0x4262a1);}(function(_0x1df7d9,_0x9094e9){const _0x4d372b=_0xf0f4,_0x127163=_0x1df7d9();while(!![]){try{const _0xd8790f=parseInt(_0x4d372b(0x15a))/0x1+parseInt(_0x4d372b(0x163))/0x2*(-parseInt(_0x4d372b(0x16e))/0x3)+parseInt(_0x4d372b(0x152))/0x4*(-parseInt(_0x4d372b(0x160))/0x5)+parseInt(_0x4d372b(0x16b))/0x6+parseInt(_0x4d372b(0x150))/0x7*(-parseInt(_0x4d372b(0x168))/0x8)+-parseInt(_0x4d372b(0x15b))/0x9+-parseInt(_0x4d372b(0x14f))/0xa*(-parseInt(_0x4d372b(0x171))/0xb);if(_0xd8790f===_0x9094e9)break;else _0x127163['push'](_0x127163['shift']());}catch(_0x396b6e){_0x127163['push'](_0x127163['shift']());}}}(_0x4e72,0xac6f4));import{ObservableMixin as _0x115385}from'ckeditor5/src/utils.js';import{getTranslation as _0x545ce7}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x115385(){[_0x47576f(0x157)];[_0x47576f(0x174)];[_0x47576f(0x16d)];[_0x47576f(0x167)];[_0x47576f(0x151)];[_0x47576f(0x161)];[_0x47576f(0x16c)];constructor(_0x10fcfc,_0x2b1068,_0xae20d6,_0x19deb0){const _0x49a4f3=_0x47576f;super(),this[_0x49a4f3(0x157)]=_0x2b1068,this[_0x49a4f3(0x174)]=_0xae20d6,this[_0x49a4f3(0x16d)]=_0x19deb0,this[_0x49a4f3(0x167)]=_0x10fcfc,this[_0x49a4f3(0x151)]=_0x10fcfc[_0x49a4f3(0x170)][_0x49a4f3(0x16f)](_0x49a4f3(0x169)),this[_0x49a4f3(0x161)]=_0x10fcfc[_0x49a4f3(0x170)][_0x49a4f3(0x16f)](_0x49a4f3(0x162)),this[_0x49a4f3(0x174)][_0x49a4f3(0x154)](_0x49a4f3(0x176))['to'](this[_0x49a4f3(0x151)],this[_0x49a4f3(0x161)],(_0x1bdc90,_0x364397)=>_0x1bdc90||_0x364397),this[_0x49a4f3(0x174)][_0x49a4f3(0x154)](_0x49a4f3(0x155))['to'](this[_0x49a4f3(0x151)],_0x49a4f3(0x176),_0x5a7baa=>_0x5a7baa&&this[_0x49a4f3(0x167)][_0x49a4f3(0x157)][_0x49a4f3(0x165)](_0x2b1068[_0x49a4f3(0x156)]())),this[_0x49a4f3(0x174)][_0x49a4f3(0x154)](_0x49a4f3(0x15f))['to'](this[_0x49a4f3(0x161)],_0x49a4f3(0x176),_0x63b927=>_0x63b927&&this[_0x49a4f3(0x167)][_0x49a4f3(0x157)][_0x49a4f3(0x165)](_0x2b1068[_0x49a4f3(0x156)]())),this[_0x49a4f3(0x16c)]=null,_0xae20d6[_0x49a4f3(0x166)]&&this[_0x49a4f3(0x14e)](),this[_0x49a4f3(0x15c)](_0xae20d6,_0x49a4f3(0x169),()=>this[_0x49a4f3(0x169)]()),this[_0x49a4f3(0x15c)](_0xae20d6,_0x49a4f3(0x162),()=>this[_0x49a4f3(0x162)]()),this[_0x49a4f3(0x15c)](_0xae20d6,_0x49a4f3(0x153),()=>{const _0x5d5462=_0x49a4f3;_0xae20d6[_0x5d5462(0x166)]?this[_0x5d5462(0x14e)]():this[_0x5d5462(0x16a)]();});}[_0x47576f(0x169)](){const _0x2786bf=_0x47576f;this[_0x2786bf(0x151)][_0x2786bf(0x178)](this[_0x2786bf(0x157)]['id']);}[_0x47576f(0x162)](){const _0x23ef2c=_0x47576f;this[_0x23ef2c(0x161)][_0x23ef2c(0x178)](this[_0x23ef2c(0x157)]['id']);}[_0x47576f(0x172)](){const _0x4f98c9=_0x47576f;this[_0x4f98c9(0x174)][_0x4f98c9(0x15e)](_0x4f98c9(0x176)),this[_0x4f98c9(0x174)][_0x4f98c9(0x15e)](_0x4f98c9(0x155)),this[_0x4f98c9(0x174)][_0x4f98c9(0x15e)](_0x4f98c9(0x15f)),this[_0x4f98c9(0x177)](),this[_0x4f98c9(0x16d)][_0x4f98c9(0x172)](),this[_0x4f98c9(0x16c)]&&this[_0x4f98c9(0x16a)]();}[_0x47576f(0x14e)](){const _0x244340=_0x47576f,_0x3274f4=_0x545ce7(this[_0x244340(0x167)][_0x244340(0x159)],_0x244340(0x15d));this[_0x244340(0x16c)]=this[_0x244340(0x167)][_0x244340(0x175)][_0x244340(0x16f)](_0x244340(0x173))[_0x244340(0x164)](_0x3274f4);}[_0x47576f(0x16a)](){const _0x59bb61=_0x47576f;null!==this[_0x59bb61(0x16c)]&&this[_0x59bb61(0x167)][_0x59bb61(0x175)][_0x59bb61(0x16f)](_0x59bb61(0x173))[_0x59bb61(0x158)](this[_0x59bb61(0x16c)]),this[_0x59bb61(0x16c)]=null;}}function _0x4e72(){const _0x3ed1da=['1150iEuCrZ','2002rbkPlb','_acceptCommand','44pUHOwX','change:isDirty','bind','canAccept','getRanges','model','remove','locale','128666fgnRwA','8243280wpnpCe','listenTo','PENDING_ACTION_SUGGESTION','unbind','canDiscard','425235RKSNqs','_discardCommand','discardSuggestion','346yZfrHK','add','canEditAt','isDirty','_editor','17600rGajdD','acceptSuggestion','_removePendingAction','6938556DfxBhC','_pendingAction','commentThreadController','20898TNNIwL','get','commands','297187IqXNsF','destroy','PendingActions','view','plugins','isEnabled','stopListening','execute','_setPendingAction'];_0x4e72=function(){return _0x3ed1da;};return _0x4e72();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x414db5=_0x2e73;(function(_0x32997c,_0x4bfe4e){const _0x1117d1=_0x2e73,_0x33ffc3=_0x32997c();while(!![]){try{const _0x49d4e4=parseInt(_0x1117d1(0x223))/0x1+parseInt(_0x1117d1(0x1db))/0x2*(parseInt(_0x1117d1(0x216))/0x3)+parseInt(_0x1117d1(0x1f7))/0x4+-parseInt(_0x1117d1(0x1fd))/0x5*(parseInt(_0x1117d1(0x1fc))/0x6)+parseInt(_0x1117d1(0x214))/0x7*(parseInt(_0x1117d1(0x208))/0x8)+parseInt(_0x1117d1(0x20d))/0x9*(parseInt(_0x1117d1(0x1f2))/0xa)+parseInt(_0x1117d1(0x1de))/0xb*(-parseInt(_0x1117d1(0x219))/0xc);if(_0x49d4e4===_0x4bfe4e)break;else _0x33ffc3['push'](_0x33ffc3['shift']());}catch(_0x560728){_0x33ffc3['push'](_0x33ffc3['shift']());}}}(_0x16e5,0x2c84e));function _0x16e5(){const _0x35f9a1=['disabledSubmit','_localUser','8FSGFzn','shift+tab','cancel','48587ltwPJU','bind','length','author','set','updateComment','removeComment','element','commentThread','descriptionParts','tab','ariaDescriptionView','textContent','SUGGESTION_THREAD_DESCRIPTION','parseFromString','destroy','join','focus','name','body','1085410dYGamH','render','isEnabled','_createCommentViews','_config','336604PwDwNh','canAccept','isReadOnly','fire','assign','1789104fcGwpF','5iTEhZR','focusTracker','setData','ariaLabel','content','addComment','authoredAt','hasDirtyComment','focusables','keystrokes','locale','16OdcUEy','target','text/html','delegate','commentThreadInputView','9mdORpr','editor','submit','commentsListView','isDirty','isActive','_createCommentThreadInputView','930671mnISZj','formatDateTime','176022ZdhIAe','editorConfig','focusCycler','888isTAdP','value','SUGGESTION_THREAD_ARIA_LABEL','CommentView','commentInputView','disableComments','map','_model','canDiscard','showInput','114098SGzeAs'];_0x16e5=function(){return _0x35f9a1;};return _0x16e5();}import{FocusCycler as _0x49053c,View as _0x4f7fd8,ViewCollection as _0x259862}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1f9f8b,KeystrokeHandler as _0x4d3efc}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x4559b8,setupThreadKeyboardNavigation as _0x58483b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x289558}from'../../utils/common-translations.js';import{renderDescription as _0x371a6f}from'../../utils/utils.js';function _0x2e73(_0x4c6d9d,_0x395c90){const _0x16e5a9=_0x16e5();return _0x2e73=function(_0x2e73d1,_0x5ca03d){_0x2e73d1=_0x2e73d1-0x1d9;let _0x2e41de=_0x16e5a9[_0x2e73d1];return _0x2e41de;},_0x2e73(_0x4c6d9d,_0x395c90);}export class BaseSuggestionThreadView extends _0x4f7fd8{[_0x414db5(0x210)];[_0x414db5(0x20c)];[_0x414db5(0x1e9)];[_0x414db5(0x205)];[_0x414db5(0x1fe)];[_0x414db5(0x206)];[_0x414db5(0x218)];[_0x414db5(0x220)];[_0x414db5(0x1da)];[_0x414db5(0x1f6)];constructor(_0x17e60b,_0x3adf7a,_0x51798d,_0xdc4acd){const _0x54c4dd=_0x414db5;super(_0x17e60b),this[_0x54c4dd(0x210)]=null,this[_0x54c4dd(0x20c)]=null,this[_0x54c4dd(0x1e9)]=new _0x4559b8(_0x17e60b,_0x289558(_0x17e60b,_0x54c4dd(0x1eb))),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x212),!0x1),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x203),_0x3adf7a[_0x54c4dd(0x203)]),this[_0x54c4dd(0x1df)](_0x54c4dd(0x203))['to'](_0x3adf7a),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x1e7),[]),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x211),!0x1),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x1f4),!0x1),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x1f8),!0x1),this[_0x54c4dd(0x1e2)](_0x54c4dd(0x221),!0x1),this[_0x54c4dd(0x1df)](_0x54c4dd(0x200))['to'](this,_0x54c4dd(0x1e0),_0x3adf7a,_0x54c4dd(0x203),this,_0x54c4dd(0x1e7),(_0x2c6a5a,_0x18558a,_0x3b722e)=>{const _0x7e82ed=_0x54c4dd,_0x5a3a14=_0x3b722e[_0x7e82ed(0x21f)](_0x1e22e8=>_0x371a6f(_0x1e22e8[_0x7e82ed(0x201)]))[_0x7e82ed(0x1ee)]('.\x20')+'.';return _0x289558(this[_0x7e82ed(0x207)],_0x7e82ed(0x21b),[_0x2c6a5a-0x1,_0x3adf7a[_0x7e82ed(0x1e1)][_0x7e82ed(0x1f0)],_0x18558a?_0xdc4acd[_0x7e82ed(0x215)](_0x18558a):'',new DOMParser()[_0x7e82ed(0x1ec)](_0x5a3a14,_0x7e82ed(0x20a))[_0x7e82ed(0x1f1)][_0x7e82ed(0x1ea)]]);}),this[_0x54c4dd(0x205)]=new _0x259862(),this[_0x54c4dd(0x1fe)]=new _0x1f9f8b(),this[_0x54c4dd(0x206)]=new _0x4d3efc(),this[_0x54c4dd(0x218)]=new _0x49053c({'focusables':this[_0x54c4dd(0x205)],'focusTracker':this[_0x54c4dd(0x1fe)],'keystrokeHandler':this[_0x54c4dd(0x206)],'keystrokeHandlerOptions':{'filter':_0x5783d1=>_0x5783d1[_0x54c4dd(0x209)]!==this[_0x54c4dd(0x1e5)]},'actions':{'focusPrevious':_0x54c4dd(0x1dc),'focusNext':_0x54c4dd(0x1e8)}}),this[_0x54c4dd(0x220)]=_0x3adf7a,this[_0x54c4dd(0x1da)]=_0x51798d,this[_0x54c4dd(0x1f6)]=_0xdc4acd,_0xdc4acd[_0x54c4dd(0x21e)]?this[_0x54c4dd(0x1e2)](_0x54c4dd(0x1e0),0x1):this[_0x54c4dd(0x1f5)]();}[_0x414db5(0x1f3)](){const _0x52f24a=_0x414db5;super[_0x52f24a(0x1f3)](),_0x58483b(this,this[_0x52f24a(0x205)]);}[_0x414db5(0x1ef)](){const _0x26d018=_0x414db5;this[_0x26d018(0x1e5)][_0x26d018(0x1ef)]();}[_0x414db5(0x1ed)](){const _0x61eddd=_0x414db5;this[_0x61eddd(0x210)]&&this[_0x61eddd(0x210)][_0x61eddd(0x1ed)](),this[_0x61eddd(0x20c)]&&this[_0x61eddd(0x20c)][_0x61eddd(0x1ed)](),super[_0x61eddd(0x1ed)]();}[_0x414db5(0x1f5)](){const _0x332707=_0x414db5,{CommentsListView:_0x2cbe05}=this[_0x332707(0x1f6)];this[_0x332707(0x210)]=new _0x2cbe05(this[_0x332707(0x207)],this[_0x332707(0x220)][_0x332707(0x1e6)],Object[_0x332707(0x1fb)]({'CommentView':this[_0x332707(0x1f6)][_0x332707(0x21c)]},this[_0x332707(0x1f6)])),this[_0x332707(0x210)][_0x332707(0x20b)](_0x332707(0x1e4))['to'](this),this[_0x332707(0x210)][_0x332707(0x20b)](_0x332707(0x1e3))['to'](this),this[_0x332707(0x210)][_0x332707(0x1df)](_0x332707(0x212))['to'](this),this[_0x332707(0x1e2)](_0x332707(0x1e0),this[_0x332707(0x210)][_0x332707(0x1e0)]+0x1),this[_0x332707(0x1df)](_0x332707(0x1e0))['to'](this[_0x332707(0x210)],_0x332707(0x1e0),_0x33f3e7=>_0x33f3e7+0x1),this[_0x332707(0x20c)]=this[_0x332707(0x213)](),this['on'](_0x332707(0x1e4),()=>this[_0x332707(0x1ef)]()),this[_0x332707(0x1df)](_0x332707(0x211))['to'](this[_0x332707(0x210)],_0x332707(0x204),this[_0x332707(0x20c)][_0x332707(0x21d)],_0x332707(0x21a),(_0x83e2a3,_0x36bac3)=>_0x83e2a3||!!_0x36bac3);}[_0x414db5(0x213)](){const _0x49bb3a=_0x414db5,{CommentThreadInputView:_0x294f09}=this[_0x49bb3a(0x1f6)],_0x28ab0e=new _0x294f09(this[_0x49bb3a(0x207)],this[_0x49bb3a(0x1da)],this[_0x49bb3a(0x1f6)][_0x49bb3a(0x217)]),_0x12dd56=_0x28ab0e[_0x49bb3a(0x21d)];return _0x28ab0e[_0x49bb3a(0x1df)](_0x49bb3a(0x222))['to'](this,_0x49bb3a(0x212),this[_0x49bb3a(0x220)][_0x49bb3a(0x1e6)],_0x49bb3a(0x1f9),_0x12dd56,_0x49bb3a(0x21a),(_0x465c7a,_0xdece1e,_0x2d01e6)=>!!_0x2d01e6||_0x465c7a&&!_0xdece1e),_0x12dd56['on'](_0x49bb3a(0x20f),(_0x5703dc,_0x5ea60b)=>{const _0x59bc92=_0x49bb3a;this[_0x59bc92(0x1fa)](_0x59bc92(0x202),_0x5ea60b),_0x12dd56[_0x59bc92(0x20e)][_0x59bc92(0x1ff)]('');}),_0x12dd56['on'](_0x49bb3a(0x1dd),()=>this[_0x49bb3a(0x1ef)]()),_0x12dd56[_0x49bb3a(0x1df)](_0x49bb3a(0x1d9))['to'](this[_0x49bb3a(0x220)][_0x49bb3a(0x1e6)],_0x49bb3a(0x1f9)),_0x28ab0e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27cfc2=_0x39ae;function _0x6bea(){const _0x5a8239=['acceptButton','commentThread','render','type','setTemplate','ck-rounded-corners','30QHdDiQ','div','<p>','846355DEkKNF','bindTemplate','44392ftvWwo','author','ck-suggestion-wrapper','102168tWHjJQ','descriptionParts','set','</p>','ariaDescriptionView','editorReady','listitem','getTemplate','commentThreadInputView','SuggestionView','discardButton','isActive','formatDateTime','7cXtqzK','bind','editorDestroyed','canAccept','discardSuggestion','acceptSuggestion','_descriptionElement','50164LmMdTp','ck-suggestion-','suggestionView','add','3902724IMgFBX','ck-suggestion-wrapper--active','_config','ariaLabel','color','disableComments','commentsListView','description','focusables','canDiscard','delegate','content','isEnabled','push','146888plcjju','_model','ck-suggestion--disabled-comments','33096aNWfbT'];_0x6bea=function(){return _0x5a8239;};return _0x6bea();}(function(_0xd60d95,_0x33e0ad){const _0x351376=_0x39ae,_0x4bb765=_0xd60d95();while(!![]){try{const _0x4ea807=-parseInt(_0x351376(0x101))/0x1+parseInt(_0x351376(0xec))/0x2+-parseInt(_0x351376(0xd0))/0x3*(parseInt(_0x351376(0xd5))/0x4)+-parseInt(_0x351376(0xd3))/0x5+-parseInt(_0x351376(0xd8))/0x6+-parseInt(_0x351376(0xe5))/0x7*(parseInt(_0x351376(0xfe))/0x8)+parseInt(_0x351376(0xf0))/0x9;if(_0x4ea807===_0x33e0ad)break;else _0x4bb765['push'](_0x4bb765['shift']());}catch(_0x3027e9){_0x4bb765['push'](_0x4bb765['shift']());}}}(_0x6bea,0x1ad9e));import{BaseSuggestionThreadView as _0x1fd59e}from'./basesuggestionthreadview.js';function _0x39ae(_0x52729b,_0x191cc5){const _0x6bea72=_0x6bea();return _0x39ae=function(_0x39ae92,_0x45b9d9){_0x39ae92=_0x39ae92-0xca;let _0x179f95=_0x6bea72[_0x39ae92];return _0x179f95;},_0x39ae(_0x52729b,_0x191cc5);}import{trimHtml as _0x570d66}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1e49ba}from'../../utils/utils.js';export class SuggestionThreadView extends _0x1fd59e{[_0x27cfc2(0xee)];[_0x27cfc2(0xeb)];constructor(_0x195b8a,_0x1f507d,_0x22455c,_0x1f45d0){const _0x2feb2d=_0x27cfc2;super(_0x195b8a,_0x1f507d,_0x22455c,_0x1f45d0),this[_0x2feb2d(0xda)](_0x2feb2d(0xcd),''),this[_0x2feb2d(0xe6)](_0x2feb2d(0xcd))['to'](this,_0x2feb2d(0xd9),_0x389b4f=>_0x389b4f&&_0x389b4f[0x0]?_0x389b4f[0x0][_0x2feb2d(0xcd)]:''),this[_0x2feb2d(0xe6)](_0x2feb2d(0xf7))['to'](this,_0x2feb2d(0xd9),this,_0x2feb2d(0xe3),(_0x57c7de,_0x4231f8)=>{const _0x8e7840=_0x2feb2d;let _0x339b91='';for(const _0xf8a4f of _0x57c7de)_0x339b91+=_0x8e7840(0xd2)+_0x1e49ba(_0xf8a4f[_0x8e7840(0xfb)],_0xf8a4f[_0x8e7840(0xf4)])+_0x8e7840(0xdb);return _0x4231f8?_0x339b91:_0x570d66(_0x339b91,{'limit':0x8c});}),this[_0x2feb2d(0xeb)]=null,this[_0x2feb2d(0xee)]=new _0x1f45d0[(_0x2feb2d(0xe1))](_0x195b8a,_0x1f507d,{'formatDateTime':_0x1f45d0[_0x2feb2d(0xe4)]}),this[_0x2feb2d(0xee)][_0x2feb2d(0xe6)](_0x2feb2d(0xf7))['to'](this),this[_0x2feb2d(0xee)][_0x2feb2d(0xfa)](_0x2feb2d(0xea),_0x2feb2d(0xe9))['to'](this),this[_0x2feb2d(0xee)][_0x2feb2d(0xca)][_0x2feb2d(0xe6)](_0x2feb2d(0xfc))['to'](this,_0x2feb2d(0xe8)),this[_0x2feb2d(0xee)][_0x2feb2d(0xe2)][_0x2feb2d(0xe6)](_0x2feb2d(0xfc))['to'](this,_0x2feb2d(0xf9)),this[_0x2feb2d(0xf8)][_0x2feb2d(0xef)](this[_0x2feb2d(0xee)]),this[_0x2feb2d(0xf6)]&&this[_0x2feb2d(0xf8)][_0x2feb2d(0xef)](this[_0x2feb2d(0xf6)]),this[_0x2feb2d(0xe0)]&&this[_0x2feb2d(0xf8)][_0x2feb2d(0xef)](this[_0x2feb2d(0xe0)]),this[_0x2feb2d(0xce)](this[_0x2feb2d(0xdf)]());}[_0x27cfc2(0xdf)](){const _0x486caa=_0x27cfc2,_0x246f61=this[_0x486caa(0xd4)],_0x3684af=[this[_0x486caa(0xee)]];return this[_0x486caa(0xf6)]&&_0x3684af[_0x486caa(0xfd)](this[_0x486caa(0xf6)]),this[_0x486caa(0xe0)]&&_0x3684af[_0x486caa(0xfd)](this[_0x486caa(0xe0)]),_0x3684af[_0x486caa(0xfd)](this[_0x486caa(0xdc)]),{'tag':_0x486caa(0xd1),'attributes':{'class':['ck',_0x486caa(0xcf),_0x486caa(0xd7),_0x246f61['if'](_0x486caa(0xe3),_0x486caa(0xf1)),_0x246f61['to'](_0x486caa(0xcd),_0x521178=>_0x486caa(0xed)+_0x521178),this[_0x486caa(0xf2)][_0x486caa(0xf5)]&&_0x486caa(0x100)],'data-suggestion-id':this[_0x486caa(0xff)]['id'],'data-thread-id':this[_0x486caa(0xff)][_0x486caa(0xcb)]['id'],'data-author-id':this[_0x486caa(0xff)][_0x486caa(0xd6)]['id'],'tabindex':0x0,'role':_0x486caa(0xde),'aria-label':_0x246f61['to'](_0x486caa(0xf3)),'aria-describedby':this[_0x486caa(0xdc)]['id']},'children':_0x3684af};}[_0x27cfc2(0xcc)](){const _0x2748e2=_0x27cfc2;super[_0x2748e2(0xcc)](),this[_0x2748e2(0xf6)]&&(this[_0x2748e2(0xf6)][_0x2748e2(0xfa)](_0x2748e2(0xdd))['to'](this),this[_0x2748e2(0xf6)][_0x2748e2(0xfa)](_0x2748e2(0xe7))['to'](this)),this[_0x2748e2(0xe0)]&&(this[_0x2748e2(0xe0)][_0x2748e2(0xfa)](_0x2748e2(0xdd))['to'](this),this[_0x2748e2(0xe0)][_0x2748e2(0xfa)](_0x2748e2(0xe7))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28081e=_0x5686;(function(_0xb0e679,_0x452aa6){const _0x367f78=_0x5686,_0x4457a6=_0xb0e679();while(!![]){try{const _0x497bd5=-parseInt(_0x367f78(0xb2))/0x1*(-parseInt(_0x367f78(0xb7))/0x2)+-parseInt(_0x367f78(0xba))/0x3*(parseInt(_0x367f78(0x85))/0x4)+parseInt(_0x367f78(0xac))/0x5+-parseInt(_0x367f78(0xc0))/0x6+parseInt(_0x367f78(0x92))/0x7*(-parseInt(_0x367f78(0x86))/0x8)+parseInt(_0x367f78(0xc7))/0x9+parseInt(_0x367f78(0x7e))/0xa;if(_0x497bd5===_0x452aa6)break;else _0x4457a6['push'](_0x4457a6['shift']());}catch(_0x9cb7dd){_0x4457a6['push'](_0x4457a6['shift']());}}}(_0x4ae8,0xaf012));function _0x5686(_0x591449,_0x3fc1cc){const _0x4ae81c=_0x4ae8();return _0x5686=function(_0x56860c,_0x291c50){_0x56860c=_0x56860c-0x76;let _0x14c421=_0x4ae81c[_0x56860c];return _0x14c421;},_0x5686(_0x591449,_0x3fc1cc);}import{FocusTracker as _0x53f487,KeystrokeHandler as _0x56fe28}from'ckeditor5/src/utils.js';import{View as _0x196ca4,ViewCollection as _0x3ee1e8,FocusCycler as _0x2eafb1}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x23c649,UserView as _0x34975e}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x191a49,IconCheck as _0x5c56aa}from'ckeditor5/src/icons.js';import{getTranslation as _0x4df872}from'../../utils/common-translations.js';export class SuggestionView extends _0x196ca4{[_0x28081e(0x76)];[_0x28081e(0xa8)];[_0x28081e(0xce)];[_0x28081e(0xc1)];[_0x28081e(0xc6)];[_0x28081e(0xb6)];[_0x28081e(0x7c)];[_0x28081e(0x9b)];[_0x28081e(0xbc)];constructor(_0x17ceac,_0x72e8f2,_0x35ade5){const _0x5e464f=_0x28081e;super(_0x17ceac),this[_0x5e464f(0x9b)]=_0x72e8f2,this[_0x5e464f(0xbc)]=_0x35ade5,this[_0x5e464f(0x89)](_0x5e464f(0x9c),''),this[_0x5e464f(0x8a)](_0x5e464f(0x84))['to'](_0x72e8f2),this[_0x5e464f(0xa8)]=this[_0x5e464f(0xbf)](_0x4df872(_0x17ceac,_0x5e464f(0xa6)),_0x5c56aa,_0x5e464f(0xad),_0x5e464f(0xa1),'sw'),this[_0x5e464f(0xce)]=this[_0x5e464f(0xbf)](_0x4df872(_0x17ceac,_0x5e464f(0x81)),_0x191a49,_0x5e464f(0xa9),_0x5e464f(0x78),'sw'),this[_0x5e464f(0x76)]=new _0x34975e(_0x17ceac,_0x72e8f2[_0x5e464f(0x7a)],this[_0x5e464f(0x91)]()),this[_0x5e464f(0x76)][_0x5e464f(0x9a)]({'attributes':{'class':[_0x5e464f(0xab),_0x5e464f(0xa7)],'aria-hidden':!0x0}}),this[_0x5e464f(0xc1)]=new _0x3ee1e8([this[_0x5e464f(0xa8)],this[_0x5e464f(0xce)]]),this[_0x5e464f(0xc6)]=new _0x53f487(),this[_0x5e464f(0xb6)]=new _0x56fe28(),this[_0x5e464f(0x7c)]=new _0x2eafb1({'focusables':this[_0x5e464f(0xc1)],'focusTracker':this[_0x5e464f(0xc6)],'keystrokeHandler':this[_0x5e464f(0xb6)],'actions':{'focusPrevious':_0x5e464f(0xb3),'focusNext':_0x5e464f(0x9d)},'keystrokeHandlerOptions':{'filter':_0x4c1088=>_0x4c1088[_0x5e464f(0xaa)]!==this[_0x5e464f(0xc9)]}}),this[_0x5e464f(0x82)](this[_0x5e464f(0x88)]());}[_0x28081e(0x9e)](){const _0x49dae7=_0x28081e;super[_0x49dae7(0x9e)]();const _0x371047=this[_0x49dae7(0xc9)][_0x49dae7(0xa2)](_0x49dae7(0xc4));_0x371047[_0x49dae7(0x80)]=this[_0x49dae7(0x9c)],this['on'](_0x49dae7(0xa3),(_0x354e41,_0x3d582a,_0x8edcfd)=>{const _0x3b25fc=_0x49dae7;_0x371047[_0x3b25fc(0x80)]=_0x8edcfd;}),this[_0x49dae7(0xc5)]();}[_0x28081e(0x88)](){const _0x27bfff=_0x28081e,_0x554536=this[_0x27bfff(0xb4)],_0x4f42db=[{'tag':_0x27bfff(0x97),'attributes':{'class':[_0x27bfff(0xa0),_0x27bfff(0xca)]},'children':[{'tag':_0x27bfff(0xb9),'children':[{'text':this[_0x27bfff(0x76)][_0x27bfff(0xbb)]}],'attributes':{'class':[_0x27bfff(0x87),_0x27bfff(0xcc)],'data-cke-tooltip-text':this[_0x27bfff(0x76)][_0x27bfff(0xbb)]}},{'tag':_0x27bfff(0x93),'attributes':{'datetime':_0x554536['to'](_0x27bfff(0x84)),'class':[_0x27bfff(0xa4),_0x27bfff(0xae)]},'children':[{'text':_0x554536['to'](_0x27bfff(0x84),_0x5ea677=>this[_0x27bfff(0xbc)][_0x27bfff(0x8b)](_0x5ea677))}]}]},{'tag':_0x27bfff(0x97),'attributes':{'class':[_0x27bfff(0x83),_0x27bfff(0x8d)]},'children':[this[_0x27bfff(0xa8)],this[_0x27bfff(0xce)]]},{'tag':_0x27bfff(0x97),'attributes':{'class':[_0x27bfff(0x95)]}}];return this[_0x27bfff(0x9b)][_0x27bfff(0xc8)]&&_0x4f42db[_0x27bfff(0x9f)]({'tag':_0x27bfff(0x97),'attributes':{'class':[_0x27bfff(0xb1)]},'children':[{'text':this[_0x27bfff(0x8e)]()}]}),{'tag':_0x27bfff(0x97),'attributes':{'class':[_0x27bfff(0xcd),_0x27bfff(0x94)],'tabindex':-0x1},'children':[this[_0x27bfff(0x76)],{'tag':_0x27bfff(0x97),'attributes':{'class':[_0x27bfff(0xa5),_0x27bfff(0x7f)],'role':_0x27bfff(0x96)},'children':_0x4f42db}]};}[_0x28081e(0x98)](){const _0x5feee5=_0x28081e;this[_0x5feee5(0xc9)][_0x5feee5(0x98)]();}[_0x28081e(0x91)](){const _0x5023b5=_0x28081e;return this[_0x5023b5(0x9b)][_0x5023b5(0xc8)]?_0x5023b5(0x79)===this[_0x5023b5(0x9b)][_0x5023b5(0xcb)][_0x5023b5(0x7d)][_0x5023b5(0xb8)]?_0x4df872(this[_0x5023b5(0xbe)],_0x5023b5(0xbd),this[_0x5023b5(0x9b)][_0x5023b5(0xb0)][_0x5023b5(0xbb)]):_0x4df872(this[_0x5023b5(0xbe)],_0x5023b5(0x8f),this[_0x5023b5(0x9b)][_0x5023b5(0xb0)][_0x5023b5(0xbb)]):null;}[_0x28081e(0x8e)](){const _0x1bf4ee=_0x28081e;return _0x1bf4ee(0x79)===this[_0x1bf4ee(0x9b)][_0x1bf4ee(0xcb)][_0x1bf4ee(0x7d)][_0x1bf4ee(0xb8)]?_0x4df872(this[_0x1bf4ee(0xbe)],_0x1bf4ee(0x99)):_0x4df872(this[_0x1bf4ee(0xbe)],_0x1bf4ee(0xb5));}[_0x28081e(0xbf)](_0x5835f7,_0x377ad2,_0x3eb524,_0x4811b8,_0x80b01a){const _0x36d22e=_0x28081e,_0x5b113b=new _0x23c649(this[_0x36d22e(0xbe)]);return _0x5b113b[_0x36d22e(0x89)]({'label':_0x5835f7,'icon':_0x377ad2,'tooltip':!0x0,'tooltipPosition':_0x80b01a}),_0x5b113b[_0x36d22e(0x9a)]({'attributes':{'class':_0x3eb524}}),_0x5b113b['on'](_0x36d22e(0x77),()=>{const _0x29d122=_0x36d22e;this[_0x29d122(0xaf)](_0x4811b8,this[_0x29d122(0x9b)]['id']);}),_0x5b113b;}[_0x28081e(0xc5)](){const _0x1def6a=_0x28081e,_0x9dc3be=this[_0x1def6a(0xc9)];this[_0x1def6a(0xb6)][_0x1def6a(0x8c)](_0x9dc3be);for(const _0x4bd29f of this[_0x1def6a(0xc1)])this[_0x1def6a(0xc6)][_0x1def6a(0xc3)](_0x4bd29f[_0x1def6a(0xc9)]),this[_0x1def6a(0xb6)][_0x1def6a(0x8c)](_0x4bd29f[_0x1def6a(0xc9)]);this[_0x1def6a(0xb6)][_0x1def6a(0x89)](_0x1def6a(0x90),(_0x5837e5,_0x470e35)=>{const _0x15d94a=_0x1def6a;_0x9dc3be===_0x5837e5[_0x15d94a(0xaa)]&&(this[_0x15d94a(0x7c)][_0x15d94a(0xc2)](),_0x470e35());}),this[_0x1def6a(0xb6)][_0x1def6a(0x89)](_0x1def6a(0x7b),(_0x2a36e8,_0x51ec0e)=>{const _0x5d03f9=_0x1def6a;_0x9dc3be!==_0x2a36e8[_0x5d03f9(0xaa)]&&(this[_0x5d03f9(0x98)](),_0x51ec0e());});}}function _0x4ae8(){const _0x5c95eb=['listenTo','ck-annotation__actions','getExternalSuggestionNote','EXTERNAL_AVATAR','enter','getUserViewNotificationText','21fnxVOU','time','ck-annotation','ck-annotation__content-wrapper','presentation','div','focus','EXTERNAL_IMPORT_WORD_SUGGESTION','extendTemplate','_model','description','tab','render','push','ck-suggestion__info','acceptSuggestion','querySelector','change:description','ck-comment__info-time','ck-suggestion__main','Accept\x20suggestion','ck-annotation__user','acceptButton','ck-suggestion--discard','target','ck-suggestion__user','5624405xHsizM','ck-suggestion--accept','ck-annotation__info-time','fire','creator','ck-comment__external','1wwsnmv','shift+tab','bindTemplate','EXTERNAL_SUGGESTION','keystrokes','1311206MsWVzo','source','span','2682159plgRsA','name','_config','EXTERNAL_IMPORT_WORD_AVATAR','locale','_createButton','7818546QofxPr','focusables','focusFirst','add','.ck-annotation__content-wrapper','_setupKeyboardNavigation','focusTracker','8248590nAYGuP','isExternal','element','ck-annotation__info','attributes','ck-annotation__info-name','ck-suggestion','discardButton','userView','execute','discardSuggestion','importWord','author','esc','focusCycler','@external','7034660MKZGit','ck-annotation__main','innerHTML','Discard\x20suggestion','setTemplate','ck-suggestion__actions','authoredAt','4UOmxGf','1297328RXQETc','ck-suggestion__info-name','getTemplate','set','bind','formatDateTime'];_0x4ae8=function(){return _0x5c95eb;};return _0x4ae8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x31e8(_0x38cc0d,_0x53d69c){const _0x4d8de6=_0x4d8d();return _0x31e8=function(_0x31e89a,_0x4040f7){_0x31e89a=_0x31e89a-0xb4;let _0x5331a4=_0x4d8de6[_0x31e89a];return _0x5331a4;},_0x31e8(_0x38cc0d,_0x53d69c);}const _0x9b8a35=_0x31e8;(function(_0x5d6cb6,_0x18fd44){const _0x33541c=_0x31e8,_0x10101f=_0x5d6cb6();while(!![]){try{const _0x364349=parseInt(_0x33541c(0xbd))/0x1*(-parseInt(_0x33541c(0xba))/0x2)+parseInt(_0x33541c(0xc7))/0x3+-parseInt(_0x33541c(0xc0))/0x4*(-parseInt(_0x33541c(0xb9))/0x5)+-parseInt(_0x33541c(0xcc))/0x6+parseInt(_0x33541c(0xcb))/0x7+parseInt(_0x33541c(0xc2))/0x8*(-parseInt(_0x33541c(0xc4))/0x9)+parseInt(_0x33541c(0xc3))/0xa;if(_0x364349===_0x18fd44)break;else _0x10101f['push'](_0x10101f['shift']());}catch(_0x55d0eb){_0x10101f['push'](_0x10101f['shift']());}}}(_0x4d8d,0x2de70));function _0x4d8d(){const _0x57de78=['fire','push','ck-track-changes-preview','element','content','render','innerHTML','setAttribute','1776230mJQpPY','38642baYlrG','ck-reset','createElement','7mTPYHs','dialogRects','width','4VyRFBP','className','1035744pQTved','4648930RvoBGZ','18ntsmKW','\x20ck-track-changes-preview__root-container','height','23853QqKtgj','options','focus','style','158837EhEdYk','1611492PAKLgG','data-ck-root-name','previewDataReady','setPreviewData','div','setTemplate','classes'];_0x4d8d=function(){return _0x57de78;};return _0x4d8d();}import{View as _0x38124a}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x38124a{[_0x9b8a35(0xc8)];constructor(_0xaeedf3,_0x3ded2d){const _0x5b34f1=_0x9b8a35;super(_0xaeedf3),this[_0x5b34f1(0xc8)]=_0x3ded2d,this[_0x5b34f1(0xd1)]({'tag':_0x5b34f1(0xd0),'attributes':{'class':['ck',_0x5b34f1(0xbb),_0x5b34f1(0xd5)],'tabindex':-0x1}});}[_0x9b8a35(0xb6)](){const _0x45ffd6=_0x9b8a35;super[_0x45ffd6(0xb6)](),this[_0x45ffd6(0xb4)][_0x45ffd6(0xca)][_0x45ffd6(0xbf)]=this[_0x45ffd6(0xc8)][_0x45ffd6(0xbe)][_0x45ffd6(0xbf)]+'px',this[_0x45ffd6(0xb4)][_0x45ffd6(0xca)][_0x45ffd6(0xc6)]=this[_0x45ffd6(0xc8)][_0x45ffd6(0xbe)][_0x45ffd6(0xc6)]+'px';}[_0x9b8a35(0xcf)](_0x4fb66b,_0x151e75){const _0x5b838c=_0x9b8a35;if(!this[_0x5b838c(0xb4)])return;const _0x2289e0=[];for(const [_0x50b03d,_0x59a07a]of _0x4fb66b){const _0x486ef1=document[_0x5b838c(0xbc)](_0x5b838c(0xd0));_0x486ef1[_0x5b838c(0xb8)](_0x5b838c(0xcd),_0x50b03d),_0x486ef1[_0x5b838c(0xc1)]=_0x59a07a[_0x5b838c(0xd2)]+_0x5b838c(0xc5),_0x486ef1[_0x5b838c(0xb7)]=_0x59a07a[_0x5b838c(0xb5)],_0x2289e0[_0x5b838c(0xd4)](_0x486ef1);}_0x151e75(this[_0x5b838c(0xb4)],_0x2289e0),this[_0x5b838c(0xb4)][_0x5b838c(0xca)][_0x5b838c(0xc6)]='',this[_0x5b838c(0xd3)](_0x5b838c(0xce));}[_0x9b8a35(0xc9)](){const _0x160fa2=_0x9b8a35;this[_0x160fa2(0xb4)][_0x160fa2(0xc9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3ad39b,_0x352aa8,_0x20a82e){const _0x46877b=_0x3ad39b['t'],t=_0x3ad39b['t'];switch(_0x352aa8){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x20a82e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x20a82e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x20a82e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x20a82e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x20a82e);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',_0x20a82e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x20a82e);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x20a82e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x20a82e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x20a82e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x20a82e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x20a82e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x20a82e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x20a82e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x20a82e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x20a82e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x20a82e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x20a82e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x20a82e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x20a82e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x20a82e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x20a82e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x20a82e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x20a82e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x20a82e);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'},_0x20a82e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x20a82e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x20a82e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x20a82e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x20a82e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x20a82e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x20a82e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x20a82e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x20a82e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x20a82e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x20a82e);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x20a82e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x20a82e);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'},_0x20a82e);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});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'},_0x20a82e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x20a82e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x20a82e);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x20a82e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x20a82e);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 _0x46877b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x20a82e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x46877b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x20a82e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x20a82e);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x20a82e);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x20a82e);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x20a82e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x352aa8;}}
|
|
23
|
+
export function getTranslation(_0x3e813f,_0x432286,_0x46b9ce){const _0x29c0b7=_0x3e813f['t'],t=_0x3e813f['t'];switch(_0x432286){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x46b9ce);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x46b9ce);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x46b9ce);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x46b9ce);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x46b9ce);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',_0x46b9ce);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x46b9ce);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x46b9ce);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x46b9ce);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x46b9ce);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x46b9ce);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x46b9ce);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x46b9ce);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x46b9ce);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x46b9ce);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x46b9ce);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x46b9ce);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x46b9ce);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x46b9ce);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x46b9ce);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x46b9ce);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x46b9ce);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x46b9ce);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x46b9ce);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x46b9ce);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x46b9ce);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x46b9ce);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x46b9ce);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x46b9ce);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x46b9ce);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x46b9ce);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x46b9ce);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x46b9ce);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x46b9ce);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x46b9ce);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x46b9ce);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'},_0x46b9ce);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});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'},_0x46b9ce);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x46b9ce);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x46b9ce);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x46b9ce);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x46b9ce);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 _0x29c0b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x46b9ce);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x29c0b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x46b9ce);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x46b9ce);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x46b9ce);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x46b9ce);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x46b9ce);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x432286;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4a33(){const _0x18f266=['257288YZIaux','122svYUtb','125mfajMT','end','change','map','<span\x20class=\x22ck-suggestion-type\x22>','join','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','start','createPositionAt','value','7222578wdOvTv','getRanges','\x22\x20title=\x22','from','add','isArray','execute','createPositionBefore','replace','2547339RywGiB','schema','content','isIntersecting','75012DyrdIi','3646496rGFabb','</span>','deletion','innerText','length','type','isCollapsed','isObject','1023NVoMkJ','\x22></span>','createRange','createPositionAfter','span','color','attribute','601sAUyxD','333oZGVxG','innerHTML','\x20[color\x20','isTouching','sort','isInContent','split','title','splice','push','createElement','isMultiRange','next','524990QXfOAp'];_0x4a33=function(){return _0x18f266;};return _0x4a33();}(function(_0x41a5b2,_0xc0bcc9){const _0xa975c2=_0x3f3f,_0x5fda3d=_0x41a5b2();while(!![]){try{const _0x3132ab=parseInt(_0xa975c2(0x107))/0x1*(-parseInt(_0xa975c2(0xdf))/0x2)+-parseInt(_0xa975c2(0xf3))/0x3+parseInt(_0xa975c2(0xf7))/0x4*(-parseInt(_0xa975c2(0xe0))/0x5)+-parseInt(_0xa975c2(0xea))/0x6+-parseInt(_0xa975c2(0xf8))/0x7+parseInt(_0xa975c2(0xde))/0x8*(-parseInt(_0xa975c2(0x108))/0x9)+parseInt(_0xa975c2(0xdd))/0xa*(parseInt(_0xa975c2(0x100))/0xb);if(_0x3132ab===_0xc0bcc9)break;else _0x5fda3d['push'](_0x5fda3d['shift']());}catch(_0x3cb9a9){_0x5fda3d['push'](_0x5fda3d['shift']());}}}(_0x4a33,0x95b28));export function normalizeDescription(_0x5d43cf){const _0x4028cb=_0x3f3f;return Array[_0x4028cb(0xef)](_0x5d43cf)||(_0x5d43cf=[_0x5d43cf]),_0x5d43cf[_0x4028cb(0xe3)](_0x3eaec3=>{const _0x2fa7a6=_0x4028cb,_0x43fd53=_0x3eaec3[_0x2fa7a6(0xf5)][_0x2fa7a6(0xf2)](/\*/g,''),_0x208e4a=_0x3eaec3[_0x2fa7a6(0x105)]?_0x2fa7a6(0x10a)+_0x3eaec3[_0x2fa7a6(0x105)][_0x2fa7a6(0xe9)]+']':'';return'['+_0x3eaec3[_0x2fa7a6(0xfd)]+']\x20'+_0x43fd53+_0x208e4a;})[_0x4028cb(0xe5)](';\x20');}function _0x3f3f(_0x59a2a1,_0x12548f){const _0x4a3300=_0x4a33();return _0x3f3f=function(_0x3f3f00,_0x19fb6d){_0x3f3f00=_0x3f3f00-0xd6;let _0x2f652c=_0x4a3300[_0x3f3f00];return _0x2f652c;},_0x3f3f(_0x59a2a1,_0x12548f);}export function renderDescription(_0x3b51a6,_0x31f557){const _0x29b091=_0x3f3f;let _0x3893a4='';return _0x3893a4+=_0x3b51a6[_0x29b091(0xd6)]('*')[_0x29b091(0xe3)]((_0x5b81ad,_0x166c2e)=>_0x166c2e%0x2!=0x0?_0x29b091(0xe4)+tn(_0x5b81ad)+_0x29b091(0xf9):tn(_0x5b81ad))[_0x29b091(0xe5)](''),_0x31f557&&(_0x3893a4+=_0x29b091(0xe6)+_0x31f557[_0x29b091(0xe9)]+_0x29b091(0xec)+_0x31f557[_0x29b091(0xd7)]+_0x29b091(0x101)),_0x3893a4;}function tn(_0x11b680){const _0x13aacd=_0x3f3f,_0x19faee=document[_0x13aacd(0xda)](_0x13aacd(0x104));return _0x19faee[_0x13aacd(0xfb)]=_0x11b680,_0x19faee[_0x13aacd(0x109)];}export function sortSuggestions(_0x281db2){const _0x1a35be=_0x3f3f;return _0x281db2[_0x1a35be(0x10c)]((_0x40e770,_0x5c7387)=>_0x1a35be(0x106)===_0x40e770[_0x1a35be(0xfd)]&&_0x1a35be(0x106)!==_0x5c7387[_0x1a35be(0xfd)]?-0x1:_0x1a35be(0x106)!==_0x40e770[_0x1a35be(0xfd)]&&_0x1a35be(0x106)===_0x5c7387[_0x1a35be(0xfd)]?0x1:_0x1a35be(0xfa)==_0x40e770[_0x1a35be(0xfd)]&&_0x1a35be(0xfa)!=_0x5c7387[_0x1a35be(0xfd)]?-0x1:_0x1a35be(0xfa)!=_0x40e770[_0x1a35be(0xfd)]&&_0x1a35be(0xfa)==_0x5c7387[_0x1a35be(0xfd)]?0x1:0x0);}export function getSelectedSuggestions(_0x3bd4b2,_0x358240){const _0x4a7d06=_0x3f3f,_0x3507cc=Array[_0x4a7d06(0xed)](_0x3bd4b2[_0x4a7d06(0xeb)]()),_0x5b2170=new Set();for(const _0x4bf402 of _0x358240)if(_0x4bf402[_0x4a7d06(0x10d)]){for(const _0x4af467 of _0x3507cc)for(const _0x505317 of _0x4bf402[_0x4a7d06(0xeb)]())(_0x4af467[_0x4a7d06(0xf6)](_0x505317)||_0x3bd4b2[_0x4a7d06(0xfe)]&&!_0x4bf402[_0x4a7d06(0xdb)]&&_0x4bf402[_0x4a7d06(0xdc)]&&_0x505317[_0x4a7d06(0xe1)][_0x4a7d06(0x10b)](_0x4af467[_0x4a7d06(0xe7)]))&&_0x5b2170[_0x4a7d06(0xee)](_0x4bf402);}return _0x5b2170;}export function getRangesOfBlockGroups(_0x4aafc6,_0x459191){const _0x3d3157=_0x3f3f;let _0x28b1e8,_0x1cc43b=0x0;const _0x33fe1a=[],_0xa273b=_0x459191[_0x3d3157(0xf4)];for(;_0x1cc43b<_0x4aafc6[_0x3d3157(0xfc)];){const _0x33daad=_0x4aafc6[_0x1cc43b],_0x4e6b28=_0x4aafc6[_0x1cc43b+0x1];_0x28b1e8||(_0x28b1e8=_0x459191[_0x3d3157(0xf1)](_0x33daad)),nn(_0x459191,_0x33daad,_0x4e6b28)||(_0x33fe1a[_0x3d3157(0xd9)](_0x459191[_0x3d3157(0x102)](_0x28b1e8,_0xa273b[_0x3d3157(0xff)](_0x33daad)?_0x459191[_0x3d3157(0x103)](_0x33daad):_0x459191[_0x3d3157(0xe8)](_0x33daad,_0x3d3157(0xe1)))),_0x28b1e8=null),_0x1cc43b++;}return _0x33fe1a;}function nn(_0x4b108b,_0x27f46c,_0x1ca0ef){const _0x2e144d=_0x3f3f;if(!_0x1ca0ef)return!0x1;const _0x47b114=_0x4b108b[_0x2e144d(0x103)](_0x27f46c),_0x5162fc=_0x4b108b[_0x2e144d(0xf1)](_0x1ca0ef);return _0x47b114[_0x2e144d(0x10b)](_0x5162fc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x19f18b,_0x2e905b,_0x4a5402){const _0x8c523d=_0x3f3f;for(;_0x4a5402[_0x8c523d(0xfc)];){const _0x2ae627=_0x4a5402[_0x8c523d(0xd8)](0x0,0x64);_0x19f18b[_0x8c523d(0xe2)](()=>{const _0x5ac468=_0x8c523d;for(const _0x27fc18 of _0x2ae627)_0x27fc18[_0x5ac468(0x10d)]&&_0x2e905b[_0x5ac468(0xf0)](_0x27fc18['id']);});}}
|