@ckeditor/ckeditor5-track-changes 47.6.0-alpha.9 → 47.6.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.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 +26 -26
- 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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.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/footnotes.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.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 _0x5b9067=_0x2f5a;function _0x4a10(){const _0x561856=['define','284gBIVhd','pluginName','2964515viivlt','trackChanges.preview.renderFunction','TrackChangesPreview','requires','editor','config','appendChild','15449000LisTJj','commands','previewFinalContent','107380tslRhL','isPremiumPlugin','isOfficialPlugin','add','428637UMwDSJ','12546rhZHcj','15141wFkcjC','517844crVKNz'];_0x4a10=function(){return _0x561856;};return _0x4a10();}(function(_0x3efcfd,_0x9e3b82){const _0x456021=_0x2f5a,_0x40d84b=_0x3efcfd();while(!![]){try{const _0x3f6ef8=-parseInt(_0x456021(0xa1))/0x1+-parseInt(_0x456021(0xa4))/0x2+-parseInt(_0x456021(0xa3))/0x3*(parseInt(_0x456021(0xa6))/0x4)+-parseInt(_0x456021(0xa8))/0x5+-parseInt(_0x456021(0xa2))/0x6+parseInt(_0x456021(0x9d))/0x7+parseInt(_0x456021(0x9a))/0x8;if(_0x3f6ef8===_0x9e3b82)break;else _0x40d84b['push'](_0x40d84b['shift']());}catch(_0x5ed866){_0x40d84b['push'](_0x40d84b['shift']());}}}(_0x4a10,0x4a9a7));function _0x2f5a(_0x4a9da3,_0x303f77){const _0x4a1048=_0x4a10();return _0x2f5a=function(_0x2f5ab1,_0x27bde6){_0x2f5ab1=_0x2f5ab1-0x99;let _0x4621e7=_0x4a1048[_0x2f5ab1];return _0x4621e7;},_0x2f5a(_0x4a9da3,_0x303f77);}import{Plugin as _0x5853ff}from'ckeditor5/src/core.js';import{Dialog as _0x123344}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x56f9cd}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x2a532f}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x5853ff{static get[_0x5b9067(0xab)](){return[_0x56f9cd,_0x123344];}static get[_0x5b9067(0xa7)](){const _0x8e1349=_0x5b9067;return _0x8e1349(0xaa);}static get[_0x5b9067(0x9f)](){return!0x0;}static get[_0x5b9067(0x9e)](){return!0x0;}constructor(_0x370598){const _0x1583b5=_0x5b9067;super(_0x370598),_0x370598[_0x1583b5(0x9b)][_0x1583b5(0xa0)](_0x1583b5(0x9c),new _0x2a532f(this[_0x1583b5(0xac)])),_0x370598[_0x1583b5(0xad)][_0x1583b5(0xa5)](_0x1583b5(0xa9),(_0x3a4db1,_0x2c3638)=>{const _0x33c7bb=_0x1583b5;for(const _0x43a1bc of _0x2c3638)_0x3a4db1[_0x33c7bb(0x99)](_0x43a1bc);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x38b6bd=_0x33e0;(function(_0x12f0a6,_0x49d02e){const _0x186a39=_0x33e0,_0x4db4a7=_0x12f0a6();while(!![]){try{const _0x5552bd=-parseInt(_0x186a39(0x195))/0x1*(-parseInt(_0x186a39(0x16f))/0x2)+-parseInt(_0x186a39(0x19a))/0x3+parseInt(_0x186a39(0x144))/0x4+-parseInt(_0x186a39(0x175))/0x5*(-parseInt(_0x186a39(0x15a))/0x6)+parseInt(_0x186a39(0x14e))/0x7+parseInt(_0x186a39(0x13a))/0x8+-parseInt(_0x186a39(0x13d))/0x9;if(_0x5552bd===_0x49d02e)break;else _0x4db4a7['push'](_0x4db4a7['shift']());}catch(_0x479bfe){_0x4db4a7['push'](_0x4db4a7['shift']());}}}(_0xcca3,0x512e2));import{Plugin as _0x214342}from'ckeditor5/src/core.js';import{Collection as _0x508f67}from'ckeditor5/src/utils.js';function _0x33e0(_0x2d3b29,_0x42d997){const _0xcca350=_0xcca3();return _0x33e0=function(_0x33e089,_0x3ebb2c){_0x33e089=_0x33e089-0x107;let _0x23f5a3=_0xcca350[_0x33e089];return _0x23f5a3;},_0x33e0(_0x2d3b29,_0x42d997);}import{IconTrackChanges as _0x307242}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2abf0c,createDropdown as _0x7b04d1,ListSeparatorView as _0x289e76,MenuBarMenuView as _0x28c357,MenuBarMenuListView as _0x10a6d3,MenuBarMenuListItemView as _0x3ebee8,MenuBarMenuListItemButtonView as _0x463d34,SplitButtonView as _0x1481ac,UIModel as _0x4bbc2c}from'ckeditor5/src/ui.js';function _0xcca3(){const _0x707b5=['addMany','discardAllSuggestions','discardSelectedSuggestions','editing','trackChanges.disableComments','menu','domainLimit','reduce','_showLicenseError','_refreshActiveMarkers','set','menuitemcheckbox','getAllAdjacentSuggestions','_bindAnnotationToEditors','licenseKey','TrackChangesEditing','delegate','trackChangesLicenseKeyNotAllowed','Track\x20changes','arrowView','head','isOn','EditorAnnotations','isPremiumPlugin','suggestionLoaded','menuBar:trackChanges','clear','_updateController','CommentView','suggestionUnloaded','_suggestionToController','componentFactory','plugins','panelView','_handleControllerBuffer','view','previewFinalContent','size','some','2912224SysCRu','define','isMultiRange','10929717dYgxgf','Discard\x20all\x20selected\x20suggestions','trackChanges.SuggestionThreadView','getRanges','init','add','activeAnnotations','2222952kioVBH','fire','values','length','trackChangesLicenseKeyEvaluationLimit','comments.maxCommentsWhenCollapsed','previous','delete','evaluationLimit','model','3578246QohiBQ','config','listenTo','change:previous','trackChanges.SuggestionView','SuggestionThreadView','focus','execute','actionView','type','invalid','destroy','27942aQnMTk','stopListening','menuitem','comments.maxCommentCharsWhenCollapsed','expired','getMarkers','SuggestionView','suggestion-','separator','trackChangesLicenseKeyDomainLimit','commandName','commands','lowest','discardButton','children','value','trackChangesLicenseKeyValid','push','_createMenuBarMenu','isDirty','hasSuggestion','21314ucEGtH','from','trackChangesLicenseKeyInvalid','usageLimit','TrackChangesPreview','trackChanges','80JsQdoR','acceptSelectedSuggestions','button','featureNotAllowed','descriptionFactory','getSuggestion','_viewToController','CommentsUI','editor','TrackChangesUI','source','createAnnotation','_annotationViews','unbind','_createToolbarButton','getDescriptions','_initializeController','acceptAllSuggestions','Preview\x20final\x20content','bind','filter','comments.maxThreadTotalWeight','escape','Annotations','isOfficialPlugin','getJoined','getSuggestionForAnnotation','_disableComments','CommentsRepository','suggestionChanged','descriptionParts','Accept\x20all\x20suggestions','37EmaDmZ','comments.editorConfig','_destroyController','remove','innerView','1058514cLsTGh','refreshSelectedViews','acceptButton','mainView','commentThread','registerAnnotation','isInContent','trackChangesLicenseKeyExpired','items','_unbindEditors','addSourceCollector','trackChangesLicenseKeyUsageLimit','get','_addUIComponentsToFactory','addComment','_licenseKeyCheckInterval','Discard\x20all\x20suggestions','isEnabled','suggestionView','Accept\x20all\x20selected\x20suggestions','getFirstRange','has','switchbutton','_handleSuggestionControllerDelayed','getAnnotationForSuggestion','buttonView','pluginName','requires','toMany','comments','locale','createCommentThreadController','keys','getMarkerNames','TrackChanges','createAnnotationView','change:activeAnnotations','activeMarkers','commentsListView','getByInnerView'];_0xcca3=function(){return _0x707b5;};return _0xcca3();}import{Users as _0xdc5b3f,getDateTimeFormatter as _0x4d3e7e,getAllMarkersDomElementsSorted as _0x53a1c9}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5eee85}from'./trackchangesediting.js';import{SuggestionController as _0x555b7b}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x14aed6}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x560fd8}from'./ui/view/suggestionview.js';import{getTranslation as _0x47e2a9}from'./utils/common-translations.js';export class TrackChangesUI extends _0x214342{[_0x38b6bd(0x121)];[_0x38b6bd(0x1a9)];[_0x38b6bd(0x131)];[_0x38b6bd(0x17b)];[_0x38b6bd(0x181)];[_0x38b6bd(0x135)];[_0x38b6bd(0x190)];static get[_0x38b6bd(0x1b5)](){const _0x16a90e=_0x38b6bd;return[_0x5eee85,_0xdc5b3f,_0x16a90e(0x191),_0x16a90e(0x18c),_0x16a90e(0x129)];}static get[_0x38b6bd(0x1b4)](){const _0x458406=_0x38b6bd;return _0x458406(0x17e);}static get[_0x38b6bd(0x18d)](){return!0x0;}static get[_0x38b6bd(0x12a)](){return!0x0;}constructor(_0x198aab){const _0x559ee6=_0x38b6bd;super(_0x198aab),this[_0x559ee6(0x131)]=new Map(),this[_0x559ee6(0x17b)]=new Map(),this[_0x559ee6(0x181)]=new Map(),this[_0x559ee6(0x135)]=new Map();const _0x254367=this[_0x559ee6(0x17d)][_0x559ee6(0x14f)];_0x254367[_0x559ee6(0x13b)](_0x559ee6(0x13f),_0x14aed6),_0x254367[_0x559ee6(0x13b)](_0x559ee6(0x152),_0x560fd8),_0x254367[_0x559ee6(0x13b)](_0x559ee6(0x117),!0x1),this[_0x559ee6(0x190)]=_0x254367[_0x559ee6(0x1a6)](_0x559ee6(0x117));}[_0x38b6bd(0x1b1)](_0x302ad7,_0x276112){const _0x8ba4d2=_0x38b6bd;0x0===this[_0x8ba4d2(0x135)][_0x8ba4d2(0x138)]&&setTimeout(()=>{const _0x3fcdac=_0x8ba4d2;for(const [_0x11a36c,_0x1425e1]of this[_0x3fcdac(0x135)]){const _0x1d7d25=this[_0x3fcdac(0x131)][_0x3fcdac(0x1af)](_0x11a36c);_0x1d7d25||_0x1425e1?_0x1d7d25&&_0x1425e1&&this[_0x3fcdac(0x197)](_0x11a36c):this[_0x3fcdac(0x185)](_0x11a36c);}this[_0x3fcdac(0x135)][_0x3fcdac(0x12d)](),this[_0x3fcdac(0x17d)][_0x3fcdac(0x133)][_0x3fcdac(0x1a6)](_0x3fcdac(0x129))[_0x3fcdac(0x19b)](),this[_0x3fcdac(0x11c)]();},0xa),this[_0x8ba4d2(0x135)][_0x8ba4d2(0x11d)](_0x302ad7,_0x276112);}[_0x38b6bd(0x141)](){const _0x32eeb1=_0x38b6bd,_0x2306da=this[_0x32eeb1(0x17d)],_0x76942=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x122)),_0x36e1a5=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x18c)),_0x461ac2=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x129)),_0x5694b7=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x191));this[_0x32eeb1(0x1a7)](),_0x461ac2[_0x32eeb1(0x1a4)](()=>{const _0x90f03f=_0x32eeb1,_0x480df8=[];for(const [_0x3e92ea,_0x5978a5]of Array[_0x90f03f(0x170)](this[_0x90f03f(0x131)])){const _0x58d894=_0x3e92ea[_0x90f03f(0x11f)](),_0x16d30f=[];for(const _0x376053 of _0x58d894){if(!_0x376053[_0x90f03f(0x1a0)])continue;if(_0x376053[_0x90f03f(0x13c)]){_0x16d30f[_0x90f03f(0x16b)](..._0x376053[_0x90f03f(0x140)]());continue;}const _0x29769b=_0x376053[_0x90f03f(0x1ae)]();if(_0x16d30f[_0x90f03f(0x147)]>0x0){const _0x14417e=_0x16d30f[0x0][_0x90f03f(0x18e)](_0x29769b);if(_0x14417e){_0x16d30f[0x0]=_0x14417e;continue;}}_0x16d30f[_0x90f03f(0x16b)](_0x29769b);}_0x480df8[_0x90f03f(0x16b)]([_0x5978a5[_0x90f03f(0x136)],_0x16d30f]);}return _0x480df8;}),this[_0x32eeb1(0x150)](_0x76942,_0x32eeb1(0x12b),(_0x5ea0a4,_0x46cf27)=>{const _0x25ec76=_0x32eeb1;this[_0x25ec76(0x150)](_0x46cf27,_0x25ec76(0x151),(_0x24d80b,_0x9f3ef2,_0x112883,_0x293208)=>{const _0x1b694b=_0x25ec76;_0x46cf27[_0x1b694b(0x1a0)]&&(null==_0x112883?(this[_0x1b694b(0x12e)](_0x293208[_0x1b694b(0x127)]),this[_0x1b694b(0x1b1)](_0x46cf27,!0x1)):(this[_0x1b694b(0x12e)](_0x112883[_0x1b694b(0x127)]),null==_0x293208&&this[_0x1b694b(0x1b1)](_0x46cf27,!0x0)));}),null!==_0x46cf27[_0x25ec76(0x14a)]?this[_0x25ec76(0x12e)](_0x46cf27[_0x25ec76(0x127)]):this[_0x25ec76(0x1b1)](_0x46cf27,!0x1);}),this[_0x32eeb1(0x150)](_0x76942,_0x32eeb1(0x130),(_0x5415dd,_0x9e086b,_0x1f5c49)=>{const _0x4cf489=_0x32eeb1;this[_0x4cf489(0x15b)](_0x9e086b,_0x4cf489(0x151)),this[_0x4cf489(0x135)][_0x4cf489(0x14b)](_0x9e086b),this[_0x4cf489(0x131)][_0x4cf489(0x1af)](_0x9e086b)&&this[_0x4cf489(0x197)](_0x9e086b),_0x1f5c49&&this[_0x4cf489(0x12e)](_0x1f5c49[_0x4cf489(0x127)]);}),this[_0x32eeb1(0x150)](_0x76942,_0x32eeb1(0x192),(_0x5ba503,_0xcd83ad)=>{const _0x5b8850=_0x32eeb1;this[_0x5b8850(0x12e)](_0xcd83ad);}),this[_0x32eeb1(0x150)](_0x36e1a5,_0x32eeb1(0x10f),()=>{const _0x5e6d59=_0x32eeb1;this[_0x5e6d59(0x11c)]();}),this[_0x32eeb1(0x150)](_0x5694b7,_0x32eeb1(0x1a8),(_0x3cfb2f,{threadId:_0xa37a24,isFromAdapter:_0x333553})=>{const _0x425b24=_0x32eeb1;if(_0x333553||!_0x76942[_0x425b24(0x16e)](_0xa37a24))return;const _0x3a28f5=_0x76942[_0x425b24(0x17a)](_0xa37a24);this[_0x425b24(0x131)][_0x425b24(0x1a6)](_0x3a28f5)[_0x425b24(0x136)][_0x425b24(0x111)][_0x425b24(0x154)](-0x1);},{'priority':_0x32eeb1(0x166)}),this[_0x32eeb1(0x121)]=this[_0x32eeb1(0x17d)][_0x32eeb1(0x14f)][_0x32eeb1(0x1a6)](_0x32eeb1(0x121));const _0xf5be50=this[_0x32eeb1(0x17d)];this[_0x32eeb1(0x1a9)]=setInterval(()=>{const _0x546048=_0x32eeb1;let _0x33b9a0;for(const _0x147cd3 in _0xf5be50){const _0x18458f=_0x147cd3,_0x1af75d=_0xf5be50[_0x18458f];if(_0x546048(0x16a)==_0x1af75d||_0x546048(0x171)==_0x1af75d||_0x546048(0x1a1)==_0x1af75d||_0x546048(0x163)==_0x1af75d||_0x546048(0x124)==_0x1af75d||_0x546048(0x148)==_0x1af75d||_0x546048(0x1a5)==_0x1af75d){delete _0xf5be50[_0x18458f],_0x33b9a0=_0x1af75d,clearInterval(this[_0x546048(0x1a9)]),this[_0x546048(0x1a9)]=void 0x0;break;}}_0x546048(0x171)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x158)),_0x546048(0x1a1)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x15e)),_0x546048(0x163)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x119)),_0x546048(0x124)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x178),_0x546048(0x10d)),_0x546048(0x148)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x14c)),_0x546048(0x1a5)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x172));},0x3e8);}[_0x38b6bd(0x1b2)](_0x21dcab){const _0x221b9d=_0x38b6bd,_0x3df913=this[_0x221b9d(0x131)][_0x221b9d(0x1a6)](_0x21dcab);if(!_0x3df913)return null;return this[_0x221b9d(0x17d)][_0x221b9d(0x133)][_0x221b9d(0x1a6)](_0x221b9d(0x18c))[_0x221b9d(0x112)](_0x3df913[_0x221b9d(0x136)])||null;}[_0x38b6bd(0x18f)](_0x1beb50){const _0x25ac02=_0x38b6bd,_0x1fd2cb=this[_0x25ac02(0x17b)][_0x25ac02(0x1a6)](_0x1beb50[_0x25ac02(0x199)]);return _0x1fd2cb?_0x1fd2cb[_0x25ac02(0x14d)]:null;}[_0x38b6bd(0x11c)](){const _0x39c729=_0x38b6bd,_0x4552d5=this[_0x39c729(0x17d)][_0x39c729(0x133)][_0x39c729(0x1a6)](_0x39c729(0x18c)),_0x4447e2=this[_0x39c729(0x17d)][_0x39c729(0x133)][_0x39c729(0x1a6)](_0x39c729(0x122)),_0x3cc897=Array[_0x39c729(0x170)](_0x4552d5[_0x39c729(0x143)],_0x3aa3dc=>_0x3aa3dc[_0x39c729(0x199)])[_0x39c729(0x189)](_0x3a550f=>this[_0x39c729(0x17b)][_0x39c729(0x1af)](_0x3a550f)),_0x206c2a=[];for(const _0x459bc0 of _0x3cc897){const _0xa9604e=this[_0x39c729(0x17b)][_0x39c729(0x1a6)](_0x459bc0)[_0x39c729(0x14d)][_0x39c729(0x11f)]();_0x206c2a[_0x39c729(0x16b)](..._0xa9604e[_0x39c729(0x11a)]((_0x16f029,_0x50b6e5)=>[..._0x16f029,..._0x50b6e5[_0x39c729(0x10c)]()],[]));}_0x4447e2[_0x39c729(0x110)]=_0x206c2a;}[_0x38b6bd(0x1a7)](){const _0xc7217c=_0x38b6bd,_0x5e45ed=this[_0xc7217c(0x17d)],_0xf43f99=_0x5e45ed[_0xc7217c(0x109)],_0x1402c5=_0x47e2a9(_0xf43f99,_0xc7217c(0x125)),_0x220f80=new _0x508f67([{'type':_0xc7217c(0x1b0),'model':new _0x4bbc2c({'withText':!0x0,'isToggleable':!0x0,'label':_0x1402c5,'commandName':_0xc7217c(0x174),'role':_0xc7217c(0x11e)})},{'type':_0xc7217c(0x162)},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x194)),'commandName':_0xc7217c(0x186),'role':_0xc7217c(0x15c)})},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x1ad)),'commandName':_0xc7217c(0x176),'role':_0xc7217c(0x15c)})},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x1aa)),'commandName':_0xc7217c(0x114),'role':_0xc7217c(0x15c)})},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x13e)),'commandName':_0xc7217c(0x115),'role':_0xc7217c(0x15c)})}]);_0x5e45ed[_0xc7217c(0x133)][_0xc7217c(0x1af)](_0xc7217c(0x173))&&_0x220f80[_0xc7217c(0x113)]([{'type':_0xc7217c(0x162)},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x187)),'commandName':_0xc7217c(0x137),'role':_0xc7217c(0x15c)})}]);for(const _0x10a08c of _0x220f80)if(ke(_0x10a08c)){const _0x4739b9=_0x5e45ed[_0xc7217c(0x165)][_0xc7217c(0x1a6)](_0x10a08c[_0xc7217c(0x14d)][_0xc7217c(0x164)]);_0x10a08c[_0xc7217c(0x14d)][_0xc7217c(0x188)](_0xc7217c(0x128),_0xc7217c(0x1ab))['to'](_0x4739b9,_0xc7217c(0x169),_0xc7217c(0x1ab));}_0x5e45ed['ui'][_0xc7217c(0x132)][_0xc7217c(0x142)](_0xc7217c(0x174),_0x34a301=>this[_0xc7217c(0x183)](_0x34a301,_0x220f80,_0x1402c5)),_0x5e45ed['ui'][_0xc7217c(0x132)][_0xc7217c(0x142)](_0xc7217c(0x12c),_0x2b3154=>this[_0xc7217c(0x16c)](_0x2b3154,_0x220f80,_0x1402c5));}[_0x38b6bd(0x183)](_0x228851,_0x49b33b,_0x3cbdbd){const _0xe1bc50=_0x38b6bd,_0x4e7ee2=_0x7b04d1(_0x228851,_0x1481ac),_0x2dc5e8=this[_0xe1bc50(0x17d)][_0xe1bc50(0x165)][_0xe1bc50(0x1a6)](_0xe1bc50(0x174));_0x4e7ee2[_0xe1bc50(0x1b3)][_0xe1bc50(0x11d)]({'tooltip':_0x3cbdbd,'label':_0x3cbdbd,'icon':_0x307242}),_0x4e7ee2[_0xe1bc50(0x1b3)][_0xe1bc50(0x188)](_0xe1bc50(0x128))['to'](_0x2dc5e8,_0xe1bc50(0x169)),_0x4e7ee2[_0xe1bc50(0x1b3)]['on'](_0xe1bc50(0x155),()=>{const _0x3d6ab2=_0xe1bc50;_0x2dc5e8[_0x3d6ab2(0x155)](),this[_0x3d6ab2(0x17d)][_0x3d6ab2(0x116)][_0x3d6ab2(0x136)][_0x3d6ab2(0x154)]();}),_0x2abf0c(_0x4e7ee2,_0x49b33b,{'role':_0xe1bc50(0x118)});const _0x1b8dac=[];for(const _0x34583f of _0x49b33b)ke(_0x34583f)&&_0x1b8dac[_0xe1bc50(0x16b)](this[_0xe1bc50(0x17d)][_0xe1bc50(0x165)][_0xe1bc50(0x1a6)](_0x34583f[_0xe1bc50(0x14d)][_0xe1bc50(0x164)]));const _0x594c43=_0x4e7ee2[_0xe1bc50(0x1b3)];return _0x594c43[_0xe1bc50(0x156)][_0xe1bc50(0x182)](_0xe1bc50(0x1ab)),_0x594c43[_0xe1bc50(0x126)][_0xe1bc50(0x182)](_0xe1bc50(0x1ab)),_0x594c43[_0xe1bc50(0x156)][_0xe1bc50(0x188)](_0xe1bc50(0x1ab))['to'](_0x2dc5e8,_0xe1bc50(0x1ab)),_0x594c43[_0xe1bc50(0x126)][_0xe1bc50(0x188)](_0xe1bc50(0x1ab))[_0xe1bc50(0x107)](_0x1b8dac,_0xe1bc50(0x1ab),(..._0x3cd0b6)=>_0x3cd0b6[_0xe1bc50(0x139)](_0xdc2361=>_0xdc2361)),_0x4e7ee2['on'](_0xe1bc50(0x155),_0xe6c097=>{const _0x4d1993=_0xe1bc50;this[_0x4d1993(0x17d)][_0x4d1993(0x155)](_0xe6c097[_0x4d1993(0x17f)][_0x4d1993(0x164)]),this[_0x4d1993(0x17d)][_0x4d1993(0x116)][_0x4d1993(0x136)][_0x4d1993(0x154)]();}),_0x4e7ee2;}[_0x38b6bd(0x16c)](_0x2f7841,_0x4155c3,_0x2c94a6){const _0x2bf795=_0x38b6bd,_0x44f0c5=new _0x28c357(_0x2f7841),_0x437002=this[_0x2bf795(0x17d)][_0x2bf795(0x165)][_0x2bf795(0x1a6)](_0x2bf795(0x174));_0x44f0c5[_0x2bf795(0x1b3)][_0x2bf795(0x11d)]({'label':_0x2c94a6,'icon':_0x307242});const _0x1e9bad=new _0x10a6d3(_0x2f7841);for(const _0x2ad369 of _0x4155c3){if(_0x2bf795(0x162)==_0x2ad369[_0x2bf795(0x157)]){_0x1e9bad[_0x2bf795(0x1a2)][_0x2bf795(0x142)](new _0x289e76(_0x2f7841));continue;}const _0x4caece=new _0x3ebee8(_0x2f7841,_0x44f0c5),_0x242acf=new _0x463d34(_0x2f7841),_0x17123b=_0x2ad369[_0x2bf795(0x14d)];_0x242acf[_0x2bf795(0x188)](...Object[_0x2bf795(0x10b)](_0x17123b))['to'](_0x17123b),_0x242acf[_0x2bf795(0x123)](_0x2bf795(0x155))['to'](_0x44f0c5),_0x242acf['on'](_0x2bf795(0x155),()=>{const _0x5dc29a=_0x2bf795;this[_0x5dc29a(0x17d)][_0x5dc29a(0x155)](_0x17123b[_0x5dc29a(0x164)]),this[_0x5dc29a(0x17d)][_0x5dc29a(0x116)][_0x5dc29a(0x136)][_0x5dc29a(0x154)]();}),_0x4caece[_0x2bf795(0x168)][_0x2bf795(0x142)](_0x242acf),_0x1e9bad[_0x2bf795(0x1a2)][_0x2bf795(0x142)](_0x4caece);}return _0x44f0c5[_0x2bf795(0x188)](_0x2bf795(0x1ab))['to'](_0x437002,_0x2bf795(0x1ab)),_0x44f0c5[_0x2bf795(0x134)][_0x2bf795(0x168)][_0x2bf795(0x142)](_0x1e9bad),_0x44f0c5;}[_0x38b6bd(0x185)](_0x21fbc3){const _0x1d1149=_0x38b6bd,_0x2da232=this[_0x1d1149(0x17d)],_0xd9696d=_0x2da232[_0x1d1149(0x14f)],_0x3c07a5=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x18c)),_0x418ec7=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x191)),_0x4a615c=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x129)),_0x31e7e2=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0xdc5b3f)['me'],_0x5c5097=_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x174))[_0x1d1149(0x153)],_0x528b3a=_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x174))[_0x1d1149(0x160)],{CommentsListView:_0x36f5b4,CommentThreadInputView:_0x3d884d}=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x17c));let _0x334e34,_0x3efc71,_0x1deb62;this[_0x1d1149(0x181)][_0x1d1149(0x1af)](_0x21fbc3['id'])?(_0x3efc71=this[_0x1d1149(0x181)][_0x1d1149(0x1a6)](_0x21fbc3['id']),_0x334e34=_0x3efc71[_0x1d1149(0x19d)]):(_0x334e34=new _0x5c5097(_0x2da232[_0x1d1149(0x109)],_0x21fbc3,_0x31e7e2,{'disableComments':this[_0x1d1149(0x190)],'editorConfig':{..._0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x196)),'licenseKey':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x121))},'maxCommentsWhenCollapsed':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x149)),'maxThreadTotalWeight':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x18a)),'maxCommentCharsWhenCollapsed':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x15d)),'formatDateTime':_0x4d3e7e(_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x109)),_0x2da232[_0x1d1149(0x109)]),'CommentView':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x108))[_0x1d1149(0x12f)],'CommentsListView':_0x36f5b4,'CommentThreadInputView':_0x3d884d,'SuggestionView':_0x528b3a}),_0x334e34[_0x1d1149(0x1ac)][_0x1d1149(0x19c)]['on'](_0x1d1149(0x155),()=>{const _0x29bb96=_0x1d1149;_0x2da232[_0x29bb96(0x116)][_0x29bb96(0x136)][_0x29bb96(0x154)]();}),_0x334e34[_0x1d1149(0x1ac)][_0x1d1149(0x167)]['on'](_0x1d1149(0x155),()=>{const _0x4020e6=_0x1d1149;_0x2da232[_0x4020e6(0x116)][_0x4020e6(0x136)][_0x4020e6(0x154)]();}),_0x3efc71=_0x3c07a5[_0x1d1149(0x10e)](this[_0x1d1149(0x17d)][_0x1d1149(0x109)],_0x334e34),_0x3efc71[_0x1d1149(0x188)](_0x1d1149(0x16d))['to'](_0x334e34,_0x1d1149(0x16d)),_0x3efc71[_0x1d1149(0x188)](_0x1d1149(0x147))['to'](_0x334e34),_0x3efc71[_0x1d1149(0x188)](_0x1d1149(0x157))['to'](_0x334e34,_0x1d1149(0x157),_0x5011d8=>_0x1d1149(0x161)+_0x5011d8),_0x334e34['on'](_0x1d1149(0x18b),()=>{const _0x45a5c2=_0x1d1149;_0x1deb62[_0x45a5c2(0x145)](_0x45a5c2(0x18b));}),this[_0x1d1149(0x181)][_0x1d1149(0x11d)](_0x21fbc3['id'],_0x3efc71));const _0x36ecce=_0x418ec7[_0x1d1149(0x10a)](_0x21fbc3[_0x1d1149(0x19e)],_0x334e34),_0x4ad315=new _0x555b7b(_0x2da232,_0x21fbc3,_0x334e34,_0x36ecce),_0x4cd1b1=_0x21fbc3[_0x1d1149(0x11f)]()[_0x1d1149(0x189)](_0x28b09d=>_0x28b09d[_0x1d1149(0x1a0)]);_0x334e34[_0x1d1149(0x193)]=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x122))[_0x1d1149(0x179)][_0x1d1149(0x184)](_0x4cd1b1),this[_0x1d1149(0x131)][_0x1d1149(0x11d)](_0x21fbc3,_0x4ad315),this[_0x1d1149(0x17b)][_0x1d1149(0x11d)](_0x334e34,_0x4ad315);const _0x550f9b=()=>{const _0x3f1370=_0x1d1149,_0x5eacbe=[],_0x47128c=_0x21fbc3[_0x3f1370(0x11f)]()[_0x3f1370(0x189)](_0xf81afc=>_0xf81afc[_0x3f1370(0x1a0)]);for(const _0x4326d4 of _0x47128c)_0x5eacbe[_0x3f1370(0x16b)](..._0x4326d4[_0x3f1370(0x15f)]());return _0x53a1c9(_0x2da232[_0x3f1370(0x116)],_0x5eacbe);};_0x1deb62=_0x3c07a5[_0x1d1149(0x180)]({'view':_0x3efc71,'target':_0x550f9b,'type':()=>_0x1d1149(0x161)+_0x4ad315[_0x1d1149(0x136)][_0x1d1149(0x157)],'isVisible':!!_0x550f9b()}),_0x418ec7[_0x1d1149(0x120)](_0x334e34,_0x1deb62),_0x3c07a5[_0x1d1149(0x142)](_0x1deb62),_0x4a615c[_0x1d1149(0x19f)](_0x1deb62);}[_0x38b6bd(0x197)](_0x258c52){const _0x49f087=_0x38b6bd,_0x34b45d=this[_0x49f087(0x17d)][_0x49f087(0x133)][_0x49f087(0x1a6)](_0x49f087(0x191)),_0x320792=this[_0x49f087(0x17d)][_0x49f087(0x133)][_0x49f087(0x1a6)](_0x49f087(0x18c)),_0x303ee1=this[_0x49f087(0x131)][_0x49f087(0x1a6)](_0x258c52),_0x5d1c55=_0x303ee1[_0x49f087(0x136)],_0x28fd49=_0x320792[_0x49f087(0x112)](_0x5d1c55);_0x34b45d[_0x49f087(0x1a3)](_0x5d1c55),_0x28fd49&&_0x320792[_0x49f087(0x198)](_0x28fd49),this[_0x49f087(0x131)][_0x49f087(0x14b)](_0x258c52),this[_0x49f087(0x17b)][_0x49f087(0x14b)](_0x5d1c55),_0x303ee1[_0x49f087(0x159)]();}[_0x38b6bd(0x12e)](_0x3586cc){const _0x18f318=_0x38b6bd;if(!_0x3586cc[_0x18f318(0x1a0)]||!this[_0x18f318(0x131)][_0x18f318(0x1af)](_0x3586cc))return;const _0x3b53c4=this[_0x18f318(0x17d)][_0x18f318(0x133)][_0x18f318(0x1a6)](_0x18f318(0x122)),_0x40a319=this[_0x18f318(0x131)][_0x18f318(0x1a6)](_0x3586cc),_0x406ee6=_0x3586cc[_0x18f318(0x11f)]();_0x40a319[_0x18f318(0x136)][_0x18f318(0x193)]=_0x3b53c4[_0x18f318(0x179)][_0x18f318(0x184)](_0x406ee6);}[_0x38b6bd(0x159)](){const _0x31e827=_0x38b6bd;for(const _0x5caf01 of this[_0x31e827(0x131)][_0x31e827(0x10b)]())this[_0x31e827(0x197)](_0x5caf01);for(const _0x427b42 of this[_0x31e827(0x181)][_0x31e827(0x146)]())_0x427b42[_0x31e827(0x19d)][_0x31e827(0x159)]();super[_0x31e827(0x159)](),this[_0x31e827(0x1a9)]&&clearInterval(this[_0x31e827(0x1a9)]);}}function ke(_0x3111a3){const _0x2ed97e=_0x38b6bd;return _0x2ed97e(0x14d)in _0x3111a3;}
|
|
23
|
+
const _0x5bb4e=_0x18b2;(function(_0x1f7066,_0x47a41c){const _0x2f36b4=_0x18b2,_0x6b437c=_0x1f7066();while(!![]){try{const _0x27e4d7=-parseInt(_0x2f36b4(0xe7))/0x1*(-parseInt(_0x2f36b4(0xd4))/0x2)+parseInt(_0x2f36b4(0x117))/0x3+-parseInt(_0x2f36b4(0xee))/0x4+-parseInt(_0x2f36b4(0x140))/0x5*(-parseInt(_0x2f36b4(0x12d))/0x6)+-parseInt(_0x2f36b4(0xdc))/0x7+parseInt(_0x2f36b4(0x11b))/0x8+-parseInt(_0x2f36b4(0xca))/0x9;if(_0x27e4d7===_0x47a41c)break;else _0x6b437c['push'](_0x6b437c['shift']());}catch(_0x3f5c8e){_0x6b437c['push'](_0x6b437c['shift']());}}}(_0x149f,0x33d70));import{Plugin as _0x143136}from'ckeditor5/src/core.js';import{Collection as _0x1209fe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1a65a2}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x287b42,createDropdown as _0x765856,ListSeparatorView as _0x24330b,MenuBarMenuView as _0x5d2be2,MenuBarMenuListView as _0x4dcc07,MenuBarMenuListItemView as _0x1549cd,MenuBarMenuListItemButtonView as _0x35227b,SplitButtonView as _0x47eaaf,UIModel as _0x4611a3}from'ckeditor5/src/ui.js';import{Users as _0x286bb9,getDateTimeFormatter as _0x1ac70a,getAllMarkersDomElementsSorted as _0x572c62}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0xed1844}from'./trackchangesediting.js';import{SuggestionController as _0x434a02}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x15b886}from'./ui/view/suggestionthreadview.js';function _0x18b2(_0x27f9bf,_0xc2d6ba){const _0x149f5f=_0x149f();return _0x18b2=function(_0x18b2f3,_0x4af957){_0x18b2f3=_0x18b2f3-0xab;let _0x3ed164=_0x149f5f[_0x18b2f3];return _0x3ed164;},_0x18b2(_0x27f9bf,_0xc2d6ba);}import{SuggestionView as _0x453867}from'./ui/view/suggestionview.js';import{getTranslation as _0x291a41}from'./utils/common-translations.js';function _0x149f(){const _0x11b0bb=['createCommentThreadController','isInContent','_annotationViews','Track\x20changes','type','pluginName','_createMenuBarMenu','change:activeAnnotations','items','unbind','separator','commands','length','CommentsRepository','panelView','acceptSelectedSuggestions','define','acceptButton','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionThreadView','descriptionParts','requires','domainLimit','size','values','3978009jMjAAo','execute','_destroyController','hasSuggestion','toMany','TrackChangesPreview','buttonView','children','getMarkers','discardAllSuggestions','317578khXmEC','_updateController','_showLicenseError','Annotations','featureNotAllowed','trackChangesLicenseKeyNotAllowed','destroy','discardSelectedSuggestions','449232Pkuhxs','set','suggestionUnloaded','suggestion-','trackChanges.disableComments','isOn','editing','get','getSuggestion','trackChangesLicenseKeyInvalid','_bindAnnotationToEditors','1IvbuWE','escape','isOfficialPlugin','change:previous','switchbutton','value','componentFactory','677664ffzyDB','menuBar:trackChanges','suggestionView','button','isMultiRange','registerAnnotation','activeMarkers','focus','commandName','commentThread','comments.maxCommentsWhenCollapsed','_suggestionToController','licenseKey','Discard\x20all\x20suggestions','evaluationLimit','comments.maxCommentCharsWhenCollapsed','TrackChangesEditing','invalid','remove','getRanges','activeAnnotations','_refreshActiveMarkers','innerView','menuitem','getByInnerView','trackChanges','getJoined','trackChangesLicenseKeyValid','model','Preview\x20final\x20content','getAllAdjacentSuggestions','from','head','commentsListView','lowest','push','descriptionFactory','refreshSelectedViews','Discard\x20all\x20selected\x20suggestions','getSuggestionForAnnotation','plugins','822687GGNVBe','editor','_handleSuggestionControllerDelayed','listenTo','2339352PKvHah','previewFinalContent','CommentView','menu','_addUIComponentsToFactory','_unbindEditors','previous','clear','suggestionChanged','EditorAnnotations','SuggestionView','trackChangesLicenseKeyDomainLimit','TrackChanges','keys','source','_viewToController','arrowView','reduce','243738qSnlGm','trackChangesLicenseKeyEvaluationLimit','CommentsUI','bind','init','delegate','addMany','comments.maxThreadTotalWeight','discardButton','some','createAnnotationView','_createToolbarButton','_disableComments','mainView','acceptAllSuggestions','isDirty','getFirstRange','add','has','20rWXXEh','TrackChangesUI','actionView','isEnabled','comments.editorConfig','_handleControllerBuffer','stopListening','isPremiumPlugin','suggestionLoaded','trackChanges.SuggestionView','locale','addSourceCollector','usageLimit','getDescriptions','delete','_licenseKeyCheckInterval','filter','trackChangesLicenseKeyExpired','addComment','createAnnotation','Accept\x20all\x20selected\x20suggestions','comments','fire','view','_initializeController','getAnnotationForSuggestion','Accept\x20all\x20suggestions','config','SuggestionThreadView','getMarkerNames','expired','menuitemcheckbox'];_0x149f=function(){return _0x11b0bb;};return _0x149f();}export class TrackChangesUI extends _0x143136{[_0x5bb4e(0xfa)];[_0x5bb4e(0x14f)];[_0x5bb4e(0xf9)];[_0x5bb4e(0x12a)];[_0x5bb4e(0xb3)];[_0x5bb4e(0x145)];[_0x5bb4e(0x139)];static get[_0x5bb4e(0xc6)](){const _0x2ea4f4=_0x5bb4e;return[_0xed1844,_0x286bb9,_0x2ea4f4(0xbe),_0x2ea4f4(0xd7),_0x2ea4f4(0x124)];}static get[_0x5bb4e(0xb6)](){const _0x507a58=_0x5bb4e;return _0x507a58(0x141);}static get[_0x5bb4e(0xe9)](){return!0x0;}static get[_0x5bb4e(0x147)](){return!0x0;}constructor(_0x208815){const _0x19968c=_0x5bb4e;super(_0x208815),this[_0x19968c(0xf9)]=new Map(),this[_0x19968c(0x12a)]=new Map(),this[_0x19968c(0xb3)]=new Map(),this[_0x19968c(0x145)]=new Map();const _0x1fcc3d=this[_0x19968c(0x118)][_0x19968c(0xac)];_0x1fcc3d[_0x19968c(0xc1)](_0x19968c(0xc4),_0x15b886),_0x1fcc3d[_0x19968c(0xc1)](_0x19968c(0x149),_0x453867),_0x1fcc3d[_0x19968c(0xc1)](_0x19968c(0xe0),!0x1),this[_0x19968c(0x139)]=_0x1fcc3d[_0x19968c(0xe3)](_0x19968c(0xe0));}[_0x5bb4e(0x119)](_0x59a172,_0x4b3bfa){const _0x5232f0=_0x5bb4e;0x0===this[_0x5232f0(0x145)][_0x5232f0(0xc8)]&&setTimeout(()=>{const _0x5dcf91=_0x5232f0;for(const [_0x2452d8,_0x54756a]of this[_0x5dcf91(0x145)]){const _0x560c32=this[_0x5dcf91(0xf9)][_0x5dcf91(0x13f)](_0x2452d8);_0x560c32||_0x54756a?_0x560c32&&_0x54756a&&this[_0x5dcf91(0xcc)](_0x2452d8):this[_0x5dcf91(0x158)](_0x2452d8);}this[_0x5dcf91(0x145)][_0x5dcf91(0x122)](),this[_0x5dcf91(0x118)][_0x5dcf91(0x116)][_0x5dcf91(0xe3)](_0x5dcf91(0x124))[_0x5dcf91(0x113)](),this[_0x5dcf91(0x103)]();},0xa),this[_0x5232f0(0x145)][_0x5232f0(0xdd)](_0x59a172,_0x4b3bfa);}[_0x5bb4e(0x131)](){const _0x21b804=_0x5bb4e,_0x5ea6e3=this[_0x21b804(0x118)],_0xc37103=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0xfe)),_0x305787=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0xd7)),_0x2682d0=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0x124)),_0x52b4ee=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0xbe));this[_0x21b804(0x11f)](),_0x2682d0[_0x21b804(0x14b)](()=>{const _0x338dbc=_0x21b804,_0x1db21f=[];for(const [_0x47db2a,_0x3a03ed]of Array[_0x338dbc(0x10d)](this[_0x338dbc(0xf9)])){const _0x31ed63=_0x47db2a[_0x338dbc(0x10c)](),_0x56f480=[];for(const _0x3ce2b5 of _0x31ed63){if(!_0x3ce2b5[_0x338dbc(0xb2)])continue;if(_0x3ce2b5[_0x338dbc(0xf2)]){_0x56f480[_0x338dbc(0x111)](..._0x3ce2b5[_0x338dbc(0x101)]());continue;}const _0x21a532=_0x3ce2b5[_0x338dbc(0x13d)]();if(_0x56f480[_0x338dbc(0xbd)]>0x0){const _0x1cf498=_0x56f480[0x0][_0x338dbc(0x108)](_0x21a532);if(_0x1cf498){_0x56f480[0x0]=_0x1cf498;continue;}}_0x56f480[_0x338dbc(0x111)](_0x21a532);}_0x1db21f[_0x338dbc(0x111)]([_0x3a03ed[_0x338dbc(0x157)],_0x56f480]);}return _0x1db21f;}),this[_0x21b804(0x11a)](_0xc37103,_0x21b804(0x148),(_0x16a2ad,_0x2a9c81)=>{const _0x115f80=_0x21b804;this[_0x115f80(0x11a)](_0x2a9c81,_0x115f80(0xea),(_0x17a300,_0x2aa898,_0x522a46,_0xca900)=>{const _0x3e7aa5=_0x115f80;_0x2a9c81[_0x3e7aa5(0xb2)]&&(null==_0x522a46?(this[_0x3e7aa5(0xd5)](_0xca900[_0x3e7aa5(0x10e)]),this[_0x3e7aa5(0x119)](_0x2a9c81,!0x1)):(this[_0x3e7aa5(0xd5)](_0x522a46[_0x3e7aa5(0x10e)]),null==_0xca900&&this[_0x3e7aa5(0x119)](_0x2a9c81,!0x0)));}),null!==_0x2a9c81[_0x115f80(0x121)]?this[_0x115f80(0xd5)](_0x2a9c81[_0x115f80(0x10e)]):this[_0x115f80(0x119)](_0x2a9c81,!0x1);}),this[_0x21b804(0x11a)](_0xc37103,_0x21b804(0xde),(_0x32d8ab,_0x14bf8c,_0x36ce41)=>{const _0x49e190=_0x21b804;this[_0x49e190(0x146)](_0x14bf8c,_0x49e190(0xea)),this[_0x49e190(0x145)][_0x49e190(0x14e)](_0x14bf8c),this[_0x49e190(0xf9)][_0x49e190(0x13f)](_0x14bf8c)&&this[_0x49e190(0xcc)](_0x14bf8c),_0x36ce41&&this[_0x49e190(0xd5)](_0x36ce41[_0x49e190(0x10e)]);}),this[_0x21b804(0x11a)](_0xc37103,_0x21b804(0x123),(_0x3ea240,_0x2e5d21)=>{const _0x59ab04=_0x21b804;this[_0x59ab04(0xd5)](_0x2e5d21);}),this[_0x21b804(0x11a)](_0x305787,_0x21b804(0xb8),()=>{const _0x2c417a=_0x21b804;this[_0x2c417a(0x103)]();}),this[_0x21b804(0x11a)](_0x52b4ee,_0x21b804(0x152),(_0x5233b0,{threadId:_0xb8d506,isFromAdapter:_0x3767d5})=>{const _0x431262=_0x21b804;if(_0x3767d5||!_0xc37103[_0x431262(0xcd)](_0xb8d506))return;const _0x123dcc=_0xc37103[_0x431262(0xe4)](_0xb8d506);this[_0x431262(0xf9)][_0x431262(0xe3)](_0x123dcc)[_0x431262(0x157)][_0x431262(0x10f)][_0x431262(0xf5)](-0x1);},{'priority':_0x21b804(0x110)}),this[_0x21b804(0xfa)]=this[_0x21b804(0x118)][_0x21b804(0xac)][_0x21b804(0xe3)](_0x21b804(0xfa));const _0xaa1b33=this[_0x21b804(0x118)];this[_0x21b804(0x14f)]=setInterval(()=>{const _0x153d5c=_0x21b804;let _0x89eb5e;for(const _0x4a289e in _0xaa1b33){const _0x4cc84b=_0x4a289e,_0x3b3a70=_0xaa1b33[_0x4cc84b];if(_0x153d5c(0x109)==_0x3b3a70||_0x153d5c(0xe5)==_0x3b3a70||_0x153d5c(0x151)==_0x3b3a70||_0x153d5c(0x126)==_0x3b3a70||_0x153d5c(0xd9)==_0x3b3a70||_0x153d5c(0x12e)==_0x3b3a70||_0x153d5c(0xc3)==_0x3b3a70){delete _0xaa1b33[_0x4cc84b],_0x89eb5e=_0x3b3a70,clearInterval(this[_0x153d5c(0x14f)]),this[_0x153d5c(0x14f)]=void 0x0;break;}}_0x153d5c(0xe5)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xff)),_0x153d5c(0x151)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xaf)),_0x153d5c(0x126)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xc7)),_0x153d5c(0xd9)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xd8),_0x153d5c(0x127)),_0x153d5c(0x12e)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xfc)),_0x153d5c(0xc3)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0x14c));},0x3e8);}[_0x5bb4e(0x159)](_0x39d873){const _0x4e2ebf=_0x5bb4e,_0x4d9bc0=this[_0x4e2ebf(0xf9)][_0x4e2ebf(0xe3)](_0x39d873);if(!_0x4d9bc0)return null;return this[_0x4e2ebf(0x118)][_0x4e2ebf(0x116)][_0x4e2ebf(0xe3)](_0x4e2ebf(0xd7))[_0x4e2ebf(0x106)](_0x4d9bc0[_0x4e2ebf(0x157)])||null;}[_0x5bb4e(0x115)](_0x594027){const _0x24f0ea=_0x5bb4e,_0x4f6a82=this[_0x24f0ea(0x12a)][_0x24f0ea(0xe3)](_0x594027[_0x24f0ea(0x104)]);return _0x4f6a82?_0x4f6a82[_0x24f0ea(0x10a)]:null;}[_0x5bb4e(0x103)](){const _0x515abd=_0x5bb4e,_0x106b83=this[_0x515abd(0x118)][_0x515abd(0x116)][_0x515abd(0xe3)](_0x515abd(0xd7)),_0x1eb081=this[_0x515abd(0x118)][_0x515abd(0x116)][_0x515abd(0xe3)](_0x515abd(0xfe)),_0x24e7e9=Array[_0x515abd(0x10d)](_0x106b83[_0x515abd(0x102)],_0x479ea5=>_0x479ea5[_0x515abd(0x104)])[_0x515abd(0x150)](_0x2e4075=>this[_0x515abd(0x12a)][_0x515abd(0x13f)](_0x2e4075)),_0x5ecb1f=[];for(const _0x566d72 of _0x24e7e9){const _0x3a2343=this[_0x515abd(0x12a)][_0x515abd(0xe3)](_0x566d72)[_0x515abd(0x10a)][_0x515abd(0x10c)]();_0x5ecb1f[_0x515abd(0x111)](..._0x3a2343[_0x515abd(0x12c)]((_0x3b7949,_0x25fdfd)=>[..._0x3b7949,..._0x25fdfd[_0x515abd(0xae)]()],[]));}_0x1eb081[_0x515abd(0xf4)]=_0x5ecb1f;}[_0x5bb4e(0x11f)](){const _0x535caa=_0x5bb4e,_0x4d862a=this[_0x535caa(0x118)],_0x346931=_0x4d862a[_0x535caa(0x14a)],_0x255b62=_0x291a41(_0x346931,_0x535caa(0xb4)),_0x135a53=new _0x1209fe([{'type':_0x535caa(0xeb),'model':new _0x4611a3({'withText':!0x0,'isToggleable':!0x0,'label':_0x255b62,'commandName':_0x535caa(0x107),'role':_0x535caa(0xb0)})},{'type':_0x535caa(0xbb)},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0xab)),'commandName':_0x535caa(0x13b),'role':_0x535caa(0x105)})},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0x154)),'commandName':_0x535caa(0xc0),'role':_0x535caa(0x105)})},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0xfb)),'commandName':_0x535caa(0xd3),'role':_0x535caa(0x105)})},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0x114)),'commandName':_0x535caa(0xdb),'role':_0x535caa(0x105)})}]);_0x4d862a[_0x535caa(0x116)][_0x535caa(0x13f)](_0x535caa(0xcf))&&_0x135a53[_0x535caa(0x133)]([{'type':_0x535caa(0xbb)},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0x10b)),'commandName':_0x535caa(0x11c),'role':_0x535caa(0x105)})}]);for(const _0xcb3a21 of _0x135a53)if(ke(_0xcb3a21)){const _0x182b1d=_0x4d862a[_0x535caa(0xbc)][_0x535caa(0xe3)](_0xcb3a21[_0x535caa(0x10a)][_0x535caa(0xf6)]);_0xcb3a21[_0x535caa(0x10a)][_0x535caa(0x130)](_0x535caa(0xe1),_0x535caa(0x143))['to'](_0x182b1d,_0x535caa(0xec),_0x535caa(0x143));}_0x4d862a['ui'][_0x535caa(0xed)][_0x535caa(0x13e)](_0x535caa(0x107),_0x2b001d=>this[_0x535caa(0x138)](_0x2b001d,_0x135a53,_0x255b62)),_0x4d862a['ui'][_0x535caa(0xed)][_0x535caa(0x13e)](_0x535caa(0xef),_0x2ab958=>this[_0x535caa(0xb7)](_0x2ab958,_0x135a53,_0x255b62));}[_0x5bb4e(0x138)](_0x149e56,_0x258fe4,_0x34d20e){const _0xaecb20=_0x5bb4e,_0x38990c=_0x765856(_0x149e56,_0x47eaaf),_0x22ed44=this[_0xaecb20(0x118)][_0xaecb20(0xbc)][_0xaecb20(0xe3)](_0xaecb20(0x107));_0x38990c[_0xaecb20(0xd0)][_0xaecb20(0xdd)]({'tooltip':_0x34d20e,'label':_0x34d20e,'icon':_0x1a65a2}),_0x38990c[_0xaecb20(0xd0)][_0xaecb20(0x130)](_0xaecb20(0xe1))['to'](_0x22ed44,_0xaecb20(0xec)),_0x38990c[_0xaecb20(0xd0)]['on'](_0xaecb20(0xcb),()=>{const _0x4d9aef=_0xaecb20;_0x22ed44[_0x4d9aef(0xcb)](),this[_0x4d9aef(0x118)][_0x4d9aef(0xe2)][_0x4d9aef(0x157)][_0x4d9aef(0xf5)]();}),_0x287b42(_0x38990c,_0x258fe4,{'role':_0xaecb20(0x11e)});const _0x4064b9=[];for(const _0x29eb81 of _0x258fe4)ke(_0x29eb81)&&_0x4064b9[_0xaecb20(0x111)](this[_0xaecb20(0x118)][_0xaecb20(0xbc)][_0xaecb20(0xe3)](_0x29eb81[_0xaecb20(0x10a)][_0xaecb20(0xf6)]));const _0x233ba2=_0x38990c[_0xaecb20(0xd0)];return _0x233ba2[_0xaecb20(0x142)][_0xaecb20(0xba)](_0xaecb20(0x143)),_0x233ba2[_0xaecb20(0x12b)][_0xaecb20(0xba)](_0xaecb20(0x143)),_0x233ba2[_0xaecb20(0x142)][_0xaecb20(0x130)](_0xaecb20(0x143))['to'](_0x22ed44,_0xaecb20(0x143)),_0x233ba2[_0xaecb20(0x12b)][_0xaecb20(0x130)](_0xaecb20(0x143))[_0xaecb20(0xce)](_0x4064b9,_0xaecb20(0x143),(..._0x59223b)=>_0x59223b[_0xaecb20(0x136)](_0x1465b4=>_0x1465b4)),_0x38990c['on'](_0xaecb20(0xcb),_0x224879=>{const _0x2b0101=_0xaecb20;this[_0x2b0101(0x118)][_0x2b0101(0xcb)](_0x224879[_0x2b0101(0x129)][_0x2b0101(0xf6)]),this[_0x2b0101(0x118)][_0x2b0101(0xe2)][_0x2b0101(0x157)][_0x2b0101(0xf5)]();}),_0x38990c;}[_0x5bb4e(0xb7)](_0xe4c1ac,_0x3ac3ec,_0x5674cc){const _0x11f84f=_0x5bb4e,_0x326ef3=new _0x5d2be2(_0xe4c1ac),_0x590d69=this[_0x11f84f(0x118)][_0x11f84f(0xbc)][_0x11f84f(0xe3)](_0x11f84f(0x107));_0x326ef3[_0x11f84f(0xd0)][_0x11f84f(0xdd)]({'label':_0x5674cc,'icon':_0x1a65a2});const _0x1c3922=new _0x4dcc07(_0xe4c1ac);for(const _0x541a1f of _0x3ac3ec){if(_0x11f84f(0xbb)==_0x541a1f[_0x11f84f(0xb5)]){_0x1c3922[_0x11f84f(0xb9)][_0x11f84f(0x13e)](new _0x24330b(_0xe4c1ac));continue;}const _0x2cee0a=new _0x1549cd(_0xe4c1ac,_0x326ef3),_0x5cc8b2=new _0x35227b(_0xe4c1ac),_0x46e696=_0x541a1f[_0x11f84f(0x10a)];_0x5cc8b2[_0x11f84f(0x130)](...Object[_0x11f84f(0x128)](_0x46e696))['to'](_0x46e696),_0x5cc8b2[_0x11f84f(0x132)](_0x11f84f(0xcb))['to'](_0x326ef3),_0x5cc8b2['on'](_0x11f84f(0xcb),()=>{const _0x4bfb3b=_0x11f84f;this[_0x4bfb3b(0x118)][_0x4bfb3b(0xcb)](_0x46e696[_0x4bfb3b(0xf6)]),this[_0x4bfb3b(0x118)][_0x4bfb3b(0xe2)][_0x4bfb3b(0x157)][_0x4bfb3b(0xf5)]();}),_0x2cee0a[_0x11f84f(0xd1)][_0x11f84f(0x13e)](_0x5cc8b2),_0x1c3922[_0x11f84f(0xb9)][_0x11f84f(0x13e)](_0x2cee0a);}return _0x326ef3[_0x11f84f(0x130)](_0x11f84f(0x143))['to'](_0x590d69,_0x11f84f(0x143)),_0x326ef3[_0x11f84f(0xbf)][_0x11f84f(0xd1)][_0x11f84f(0x13e)](_0x1c3922),_0x326ef3;}[_0x5bb4e(0x158)](_0x50e0ac){const _0x5f366b=_0x5bb4e,_0x431f34=this[_0x5f366b(0x118)],_0x3d9317=_0x431f34[_0x5f366b(0xac)],_0x46d97f=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0xd7)),_0x2a8b55=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0xbe)),_0x17c731=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0x124)),_0x43b493=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x286bb9)['me'],_0x3dd9ac=_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x107))[_0x5f366b(0xad)],_0x2e40be=_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x107))[_0x5f366b(0x125)],{CommentsListView:_0x51ea72,CommentThreadInputView:_0xcab0f1}=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0x12f));let _0x5aacb9,_0x40e094,_0x2e47ee;this[_0x5f366b(0xb3)][_0x5f366b(0x13f)](_0x50e0ac['id'])?(_0x40e094=this[_0x5f366b(0xb3)][_0x5f366b(0xe3)](_0x50e0ac['id']),_0x5aacb9=_0x40e094[_0x5f366b(0x13a)]):(_0x5aacb9=new _0x3dd9ac(_0x431f34[_0x5f366b(0x14a)],_0x50e0ac,_0x43b493,{'disableComments':this[_0x5f366b(0x139)],'editorConfig':{..._0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x144)),'licenseKey':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0xfa))},'maxCommentsWhenCollapsed':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0xf8)),'maxThreadTotalWeight':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x134)),'maxCommentCharsWhenCollapsed':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0xfd)),'formatDateTime':_0x1ac70a(_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x14a)),_0x431f34[_0x5f366b(0x14a)]),'CommentView':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x155))[_0x5f366b(0x11d)],'CommentsListView':_0x51ea72,'CommentThreadInputView':_0xcab0f1,'SuggestionView':_0x2e40be}),_0x5aacb9[_0x5f366b(0xf0)][_0x5f366b(0xc2)]['on'](_0x5f366b(0xcb),()=>{const _0x2cc1b0=_0x5f366b;_0x431f34[_0x2cc1b0(0xe2)][_0x2cc1b0(0x157)][_0x2cc1b0(0xf5)]();}),_0x5aacb9[_0x5f366b(0xf0)][_0x5f366b(0x135)]['on'](_0x5f366b(0xcb),()=>{const _0x531ffb=_0x5f366b;_0x431f34[_0x531ffb(0xe2)][_0x531ffb(0x157)][_0x531ffb(0xf5)]();}),_0x40e094=_0x46d97f[_0x5f366b(0x137)](this[_0x5f366b(0x118)][_0x5f366b(0x14a)],_0x5aacb9),_0x40e094[_0x5f366b(0x130)](_0x5f366b(0x13c))['to'](_0x5aacb9,_0x5f366b(0x13c)),_0x40e094[_0x5f366b(0x130)](_0x5f366b(0xbd))['to'](_0x5aacb9),_0x40e094[_0x5f366b(0x130)](_0x5f366b(0xb5))['to'](_0x5aacb9,_0x5f366b(0xb5),_0x1eb1ee=>_0x5f366b(0xdf)+_0x1eb1ee),_0x5aacb9['on'](_0x5f366b(0xe8),()=>{const _0x1e33ac=_0x5f366b;_0x2e47ee[_0x1e33ac(0x156)](_0x1e33ac(0xe8));}),this[_0x5f366b(0xb3)][_0x5f366b(0xdd)](_0x50e0ac['id'],_0x40e094));const _0x2a5584=_0x2a8b55[_0x5f366b(0xb1)](_0x50e0ac[_0x5f366b(0xf7)],_0x5aacb9),_0x54ef99=new _0x434a02(_0x431f34,_0x50e0ac,_0x5aacb9,_0x2a5584),_0x4fa9ff=_0x50e0ac[_0x5f366b(0x10c)]()[_0x5f366b(0x150)](_0x276794=>_0x276794[_0x5f366b(0xb2)]);_0x5aacb9[_0x5f366b(0xc5)]=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0xfe))[_0x5f366b(0x112)][_0x5f366b(0x14d)](_0x4fa9ff),this[_0x5f366b(0xf9)][_0x5f366b(0xdd)](_0x50e0ac,_0x54ef99),this[_0x5f366b(0x12a)][_0x5f366b(0xdd)](_0x5aacb9,_0x54ef99);const _0x1bbbee=()=>{const _0x18ecb6=_0x5f366b,_0x457199=[],_0x4068e8=_0x50e0ac[_0x18ecb6(0x10c)]()[_0x18ecb6(0x150)](_0x10777b=>_0x10777b[_0x18ecb6(0xb2)]);for(const _0x193eb9 of _0x4068e8)_0x457199[_0x18ecb6(0x111)](..._0x193eb9[_0x18ecb6(0xd2)]());return _0x572c62(_0x431f34[_0x18ecb6(0xe2)],_0x457199);};_0x2e47ee=_0x46d97f[_0x5f366b(0x153)]({'view':_0x40e094,'target':_0x1bbbee,'type':()=>_0x5f366b(0xdf)+_0x54ef99[_0x5f366b(0x157)][_0x5f366b(0xb5)],'isVisible':!!_0x1bbbee()}),_0x2a8b55[_0x5f366b(0xe6)](_0x5aacb9,_0x2e47ee),_0x46d97f[_0x5f366b(0x13e)](_0x2e47ee),_0x17c731[_0x5f366b(0xf3)](_0x2e47ee);}[_0x5bb4e(0xcc)](_0x5b9804){const _0x3f10a8=_0x5bb4e,_0x3add5b=this[_0x3f10a8(0x118)][_0x3f10a8(0x116)][_0x3f10a8(0xe3)](_0x3f10a8(0xbe)),_0x1145dd=this[_0x3f10a8(0x118)][_0x3f10a8(0x116)][_0x3f10a8(0xe3)](_0x3f10a8(0xd7)),_0xbc37f8=this[_0x3f10a8(0xf9)][_0x3f10a8(0xe3)](_0x5b9804),_0x4186dc=_0xbc37f8[_0x3f10a8(0x157)],_0x26d498=_0x1145dd[_0x3f10a8(0x106)](_0x4186dc);_0x3add5b[_0x3f10a8(0x120)](_0x4186dc),_0x26d498&&_0x1145dd[_0x3f10a8(0x100)](_0x26d498),this[_0x3f10a8(0xf9)][_0x3f10a8(0x14e)](_0x5b9804),this[_0x3f10a8(0x12a)][_0x3f10a8(0x14e)](_0x4186dc),_0xbc37f8[_0x3f10a8(0xda)]();}[_0x5bb4e(0xd5)](_0xdae20e){const _0x278143=_0x5bb4e;if(!_0xdae20e[_0x278143(0xb2)]||!this[_0x278143(0xf9)][_0x278143(0x13f)](_0xdae20e))return;const _0x337537=this[_0x278143(0x118)][_0x278143(0x116)][_0x278143(0xe3)](_0x278143(0xfe)),_0xccc7a2=this[_0x278143(0xf9)][_0x278143(0xe3)](_0xdae20e),_0x33dc78=_0xdae20e[_0x278143(0x10c)]();_0xccc7a2[_0x278143(0x157)][_0x278143(0xc5)]=_0x337537[_0x278143(0x112)][_0x278143(0x14d)](_0x33dc78);}[_0x5bb4e(0xda)](){const _0x350250=_0x5bb4e;for(const _0x58286d of this[_0x350250(0xf9)][_0x350250(0x128)]())this[_0x350250(0xcc)](_0x58286d);for(const _0x1ce9a8 of this[_0x350250(0xb3)][_0x350250(0xc9)]())_0x1ce9a8[_0x350250(0x13a)][_0x350250(0xda)]();super[_0x350250(0xda)](),this[_0x350250(0x14f)]&&clearInterval(this[_0x350250(0x14f)]);}}function ke(_0x3371e8){const _0x2151b4=_0x5bb4e;return _0x2151b4(0x10a)in _0x3371e8;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5366ec=_0x5798;function _0x4fc6(){const _0x5b12bc=['_removePendingAction','139579XzrhgF','canAccept','plugins','commentThreadController','add','55kZfmzF','PENDING_ACTION_SUGGESTION','267138wQPGbl','_discardCommand','8mlaipe','2305177ONIxmC','5602FxFhiM','PendingActions','110sMqTTz','commands','remove','acceptSuggestion','1261260LHYcRV','96243wfwYIK','listenTo','view','model','bind','stopListening','86QmOOeE','_setPendingAction','discardSuggestion','change:isDirty','locale','canEditAt','execute','getRanges','get','125576HuOeJq','destroy','_acceptCommand','_editor','isDirty','unbind','canDiscard','_pendingAction','isEnabled'];_0x4fc6=function(){return _0x5b12bc;};return _0x4fc6();}function _0x5798(_0x3e4bc5,_0x3e9e92){const _0x4fc631=_0x4fc6();return _0x5798=function(_0x5798c9,_0x1a1664){_0x5798c9=_0x5798c9-0x1b3;let _0x2ecfb8=_0x4fc631[_0x5798c9];return _0x2ecfb8;},_0x5798(_0x3e4bc5,_0x3e9e92);}(function(_0x4f8bb6,_0x2706fe){const _0x29c91a=_0x5798,_0x3f42e2=_0x4f8bb6();while(!![]){try{const _0x1bbc2c=-parseInt(_0x29c91a(0x1c0))/0x1*(-parseInt(_0x29c91a(0x1cd))/0x2)+parseInt(_0x29c91a(0x1c7))/0x3+parseInt(_0x29c91a(0x1d6))/0x4*(parseInt(_0x29c91a(0x1ba))/0x5)+-parseInt(_0x29c91a(0x1c6))/0x6+parseInt(_0x29c91a(0x1bf))/0x7*(-parseInt(_0x29c91a(0x1be))/0x8)+parseInt(_0x29c91a(0x1bc))/0x9+parseInt(_0x29c91a(0x1c2))/0xa*(parseInt(_0x29c91a(0x1b5))/0xb);if(_0x1bbc2c===_0x2706fe)break;else _0x3f42e2['push'](_0x3f42e2['shift']());}catch(_0x525b55){_0x3f42e2['push'](_0x3f42e2['shift']());}}}(_0x4fc6,0x3c8e9));import{ObservableMixin as _0x5361b0}from'ckeditor5/src/utils.js';import{getTranslation as _0x51e983}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5361b0(){[_0x5366ec(0x1ca)];[_0x5366ec(0x1c9)];[_0x5366ec(0x1b8)];[_0x5366ec(0x1d9)];[_0x5366ec(0x1d8)];[_0x5366ec(0x1bd)];[_0x5366ec(0x1dd)];constructor(_0x2d7954,_0x50f667,_0x4fd842,_0x1bbffb){const _0xab09a0=_0x5366ec;super(),this[_0xab09a0(0x1ca)]=_0x50f667,this[_0xab09a0(0x1c9)]=_0x4fd842,this[_0xab09a0(0x1b8)]=_0x1bbffb,this[_0xab09a0(0x1d9)]=_0x2d7954,this[_0xab09a0(0x1d8)]=_0x2d7954[_0xab09a0(0x1c3)][_0xab09a0(0x1d5)](_0xab09a0(0x1c5)),this[_0xab09a0(0x1bd)]=_0x2d7954[_0xab09a0(0x1c3)][_0xab09a0(0x1d5)](_0xab09a0(0x1cf)),this[_0xab09a0(0x1c9)][_0xab09a0(0x1cb)](_0xab09a0(0x1b3))['to'](this[_0xab09a0(0x1d8)],this[_0xab09a0(0x1bd)],(_0x14f0bc,_0x47ec97)=>_0x14f0bc||_0x47ec97),this[_0xab09a0(0x1c9)][_0xab09a0(0x1cb)](_0xab09a0(0x1b6))['to'](this[_0xab09a0(0x1d8)],_0xab09a0(0x1b3),_0x1e3b8b=>_0x1e3b8b&&this[_0xab09a0(0x1d9)][_0xab09a0(0x1ca)][_0xab09a0(0x1d2)](_0x50f667[_0xab09a0(0x1d4)]())),this[_0xab09a0(0x1c9)][_0xab09a0(0x1cb)](_0xab09a0(0x1dc))['to'](this[_0xab09a0(0x1bd)],_0xab09a0(0x1b3),_0x591c37=>_0x591c37&&this[_0xab09a0(0x1d9)][_0xab09a0(0x1ca)][_0xab09a0(0x1d2)](_0x50f667[_0xab09a0(0x1d4)]())),this[_0xab09a0(0x1dd)]=null,_0x4fd842[_0xab09a0(0x1da)]&&this[_0xab09a0(0x1ce)](),this[_0xab09a0(0x1c8)](_0x4fd842,_0xab09a0(0x1c5),()=>this[_0xab09a0(0x1c5)]()),this[_0xab09a0(0x1c8)](_0x4fd842,_0xab09a0(0x1cf),()=>this[_0xab09a0(0x1cf)]()),this[_0xab09a0(0x1c8)](_0x4fd842,_0xab09a0(0x1d0),()=>{const _0x42a981=_0xab09a0;_0x4fd842[_0x42a981(0x1da)]?this[_0x42a981(0x1ce)]():this[_0x42a981(0x1b4)]();});}[_0x5366ec(0x1c5)](){const _0x36b3fc=_0x5366ec;this[_0x36b3fc(0x1d8)][_0x36b3fc(0x1d3)](this[_0x36b3fc(0x1ca)]['id']);}[_0x5366ec(0x1cf)](){const _0x5595ad=_0x5366ec;this[_0x5595ad(0x1bd)][_0x5595ad(0x1d3)](this[_0x5595ad(0x1ca)]['id']);}[_0x5366ec(0x1d7)](){const _0x248dab=_0x5366ec;this[_0x248dab(0x1c9)][_0x248dab(0x1db)](_0x248dab(0x1b3)),this[_0x248dab(0x1c9)][_0x248dab(0x1db)](_0x248dab(0x1b6)),this[_0x248dab(0x1c9)][_0x248dab(0x1db)](_0x248dab(0x1dc)),this[_0x248dab(0x1cc)](),this[_0x248dab(0x1b8)][_0x248dab(0x1d7)](),this[_0x248dab(0x1dd)]&&this[_0x248dab(0x1b4)]();}[_0x5366ec(0x1ce)](){const _0xf17b91=_0x5366ec,_0x37861f=_0x51e983(this[_0xf17b91(0x1d9)][_0xf17b91(0x1d1)],_0xf17b91(0x1bb));this[_0xf17b91(0x1dd)]=this[_0xf17b91(0x1d9)][_0xf17b91(0x1b7)][_0xf17b91(0x1d5)](_0xf17b91(0x1c1))[_0xf17b91(0x1b9)](_0x37861f);}[_0x5366ec(0x1b4)](){const _0x536805=_0x5366ec;null!==this[_0x536805(0x1dd)]&&this[_0x536805(0x1d9)][_0x536805(0x1b7)][_0x536805(0x1d5)](_0x536805(0x1c1))[_0x536805(0x1c4)](this[_0x536805(0x1dd)]),this[_0x536805(0x1dd)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ae19e=_0x2fc7;(function(_0x35099e,_0x45e35f){const _0x1a354a=_0x2fc7,_0xb52bc8=_0x35099e();while(!![]){try{const _0x3b190e=parseInt(_0x1a354a(0x9c))/0x1*(-parseInt(_0x1a354a(0xbe))/0x2)+-parseInt(_0x1a354a(0x90))/0x3*(parseInt(_0x1a354a(0xbd))/0x4)+parseInt(_0x1a354a(0x91))/0x5+parseInt(_0x1a354a(0xa5))/0x6+parseInt(_0x1a354a(0xaa))/0x7+parseInt(_0x1a354a(0xa0))/0x8+parseInt(_0x1a354a(0xa6))/0x9*(-parseInt(_0x1a354a(0x8e))/0xa);if(_0x3b190e===_0x45e35f)break;else _0xb52bc8['push'](_0xb52bc8['shift']());}catch(_0x1e7719){_0xb52bc8['push'](_0xb52bc8['shift']());}}}(_0xea4f,0xf37d9));import{FocusCycler as _0x29090c,View as _0x2134a0,ViewCollection as _0x39195f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x148151,KeystrokeHandler as _0x2f2b5b}from'ckeditor5/src/utils.js';function _0x2fc7(_0x84c057,_0x1323c2){const _0xea4fa1=_0xea4f();return _0x2fc7=function(_0x2fc767,_0x5690e4){_0x2fc767=_0x2fc767-0x7b;let _0xe19c48=_0xea4fa1[_0x2fc767];return _0xe19c48;},_0x2fc7(_0x84c057,_0x1323c2);}import{AriaDescriptionView as _0x14c6c9,setupThreadKeyboardNavigation as _0x597234}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xea4f(){const _0x186026=['parseFromString','join','_createCommentViews','shift+tab','isActive','_model','updateComment','tab','delegate','setData','destroy','keystrokes','115484lhvSYs','2794jXHvek','commentInputView','assign','SUGGESTION_THREAD_DESCRIPTION','name','addComment','disabledSubmit','canDiscard','render','formatDateTime','editor','text/html','target','isEnabled','map','_createCommentThreadInputView','textContent','set','descriptionParts','author','length','disableComments','fire','ariaDescriptionView','isDirty','34722520EldKnm','showInput','9ILVVZw','8031635UjTlLc','commentsListView','focusables','SUGGESTION_THREAD_ARIA_LABEL','commentThread','focusTracker','_localUser','_config','cancel','editorConfig','hasDirtyComment','223kjVMyt','content','body','focus','11776200GtAmRk','element','commentThreadInputView','canAccept','bind','6618432wZbZKR','9MSQysk','value','focusCycler','locale','4804163IELhaU','authoredAt','ariaLabel','isReadOnly','submit','CommentView','removeComment'];_0xea4f=function(){return _0x186026;};return _0xea4f();}import{getTranslation as _0x21b048}from'../../utils/common-translations.js';import{renderDescription as _0x24a6a8}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2134a0{[_0x3ae19e(0x92)];[_0x3ae19e(0xa2)];[_0x3ae19e(0x8c)];[_0x3ae19e(0x93)];[_0x3ae19e(0x96)];[_0x3ae19e(0xbc)];[_0x3ae19e(0xa8)];[_0x3ae19e(0xb6)];[_0x3ae19e(0x97)];[_0x3ae19e(0x98)];constructor(_0x46b7bf,_0x2765ee,_0x44556d,_0x2dcbbe){const _0x10c541=_0x3ae19e;super(_0x46b7bf),this[_0x10c541(0x92)]=null,this[_0x10c541(0xa2)]=null,this[_0x10c541(0x8c)]=new _0x14c6c9(_0x46b7bf,_0x21b048(_0x46b7bf,_0x10c541(0xc1))),this[_0x10c541(0x86)](_0x10c541(0xb5),!0x1),this[_0x10c541(0x86)](_0x10c541(0xab),_0x2765ee[_0x10c541(0xab)]),this[_0x10c541(0xa4)](_0x10c541(0xab))['to'](_0x2765ee),this[_0x10c541(0x86)](_0x10c541(0x87),[]),this[_0x10c541(0x86)](_0x10c541(0x8d),!0x1),this[_0x10c541(0x86)](_0x10c541(0x82),!0x1),this[_0x10c541(0x86)](_0x10c541(0xa3),!0x1),this[_0x10c541(0x86)](_0x10c541(0x7c),!0x1),this[_0x10c541(0xa4)](_0x10c541(0xac))['to'](this,_0x10c541(0x89),_0x2765ee,_0x10c541(0xab),this,_0x10c541(0x87),(_0x3563c4,_0x1a8b4e,_0x1fcbc0)=>{const _0x2da1a2=_0x10c541,_0x598482=_0x1fcbc0[_0x2da1a2(0x83)](_0x37337d=>_0x24a6a8(_0x37337d[_0x2da1a2(0x9d)]))[_0x2da1a2(0xb2)]('.\x20')+'.';return _0x21b048(this[_0x2da1a2(0xa9)],_0x2da1a2(0x94),[_0x3563c4-0x1,_0x2765ee[_0x2da1a2(0x88)][_0x2da1a2(0xc2)],_0x1a8b4e?_0x2dcbbe[_0x2da1a2(0x7e)](_0x1a8b4e):'',new DOMParser()[_0x2da1a2(0xb1)](_0x598482,_0x2da1a2(0x80))[_0x2da1a2(0x9e)][_0x2da1a2(0x85)]]);}),this[_0x10c541(0x93)]=new _0x39195f(),this[_0x10c541(0x96)]=new _0x148151(),this[_0x10c541(0xbc)]=new _0x2f2b5b(),this[_0x10c541(0xa8)]=new _0x29090c({'focusables':this[_0x10c541(0x93)],'focusTracker':this[_0x10c541(0x96)],'keystrokeHandler':this[_0x10c541(0xbc)],'keystrokeHandlerOptions':{'filter':_0xa069d3=>_0xa069d3[_0x10c541(0x81)]!==this[_0x10c541(0xa1)]},'actions':{'focusPrevious':_0x10c541(0xb4),'focusNext':_0x10c541(0xb8)}}),this[_0x10c541(0xb6)]=_0x2765ee,this[_0x10c541(0x97)]=_0x44556d,this[_0x10c541(0x98)]=_0x2dcbbe,_0x2dcbbe[_0x10c541(0x8a)]?this[_0x10c541(0x86)](_0x10c541(0x89),0x1):this[_0x10c541(0xb3)]();}[_0x3ae19e(0x7d)](){const _0x145923=_0x3ae19e;super[_0x145923(0x7d)](),_0x597234(this,this[_0x145923(0x93)]);}[_0x3ae19e(0x9f)](){const _0x223ef4=_0x3ae19e;this[_0x223ef4(0xa1)][_0x223ef4(0x9f)]();}[_0x3ae19e(0xbb)](){const _0x5e17b6=_0x3ae19e;this[_0x5e17b6(0x92)]&&this[_0x5e17b6(0x92)][_0x5e17b6(0xbb)](),this[_0x5e17b6(0xa2)]&&this[_0x5e17b6(0xa2)][_0x5e17b6(0xbb)](),super[_0x5e17b6(0xbb)]();}[_0x3ae19e(0xb3)](){const _0x903680=_0x3ae19e,{CommentsListView:_0x5211ea}=this[_0x903680(0x98)];this[_0x903680(0x92)]=new _0x5211ea(this[_0x903680(0xa9)],this[_0x903680(0xb6)][_0x903680(0x95)],Object[_0x903680(0xc0)]({'CommentView':this[_0x903680(0x98)][_0x903680(0xaf)]},this[_0x903680(0x98)])),this[_0x903680(0x92)][_0x903680(0xb9)](_0x903680(0xb0))['to'](this),this[_0x903680(0x92)][_0x903680(0xb9)](_0x903680(0xb7))['to'](this),this[_0x903680(0x92)][_0x903680(0xa4)](_0x903680(0xb5))['to'](this),this[_0x903680(0x86)](_0x903680(0x89),this[_0x903680(0x92)][_0x903680(0x89)]+0x1),this[_0x903680(0xa4)](_0x903680(0x89))['to'](this[_0x903680(0x92)],_0x903680(0x89),_0x54421b=>_0x54421b+0x1),this[_0x903680(0xa2)]=this[_0x903680(0x84)](),this['on'](_0x903680(0xb0),()=>this[_0x903680(0x9f)]()),this[_0x903680(0xa4)](_0x903680(0x8d))['to'](this[_0x903680(0x92)],_0x903680(0x9b),this[_0x903680(0xa2)][_0x903680(0xbf)],_0x903680(0xa7),(_0xb40ac6,_0x52ed80)=>_0xb40ac6||!!_0x52ed80);}[_0x3ae19e(0x84)](){const _0x2bb446=_0x3ae19e,{CommentThreadInputView:_0x3e5198}=this[_0x2bb446(0x98)],_0x16c504=new _0x3e5198(this[_0x2bb446(0xa9)],this[_0x2bb446(0x97)],this[_0x2bb446(0x98)][_0x2bb446(0x9a)]),_0x3ad56e=_0x16c504[_0x2bb446(0xbf)];return _0x16c504[_0x2bb446(0xa4)](_0x2bb446(0x8f))['to'](this,_0x2bb446(0xb5),this[_0x2bb446(0xb6)][_0x2bb446(0x95)],_0x2bb446(0xad),_0x3ad56e,_0x2bb446(0xa7),(_0x16f293,_0x169f79,_0x43ae2b)=>!!_0x43ae2b||_0x16f293&&!_0x169f79),_0x3ad56e['on'](_0x2bb446(0xae),(_0x370bd5,_0x40dc35)=>{const _0x307cbc=_0x2bb446;this[_0x307cbc(0x8b)](_0x307cbc(0xc3),_0x40dc35),_0x3ad56e[_0x307cbc(0x7f)][_0x307cbc(0xba)]('');}),_0x3ad56e['on'](_0x2bb446(0x99),()=>this[_0x2bb446(0x9f)]()),_0x3ad56e[_0x2bb446(0xa4)](_0x2bb446(0x7b))['to'](this[_0x2bb446(0xb6)][_0x2bb446(0x95)],_0x2bb446(0xad)),_0x16c504;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc5a54=_0x3bf7;(function(_0x2a2511,_0x50f85d){const _0x465a83=_0x3bf7,_0xa87ff0=_0x2a2511();while(!![]){try{const _0x3d1365=parseInt(_0x465a83(0xab))/0x1+-parseInt(_0x465a83(0xc6))/0x2*(-parseInt(_0x465a83(0xd1))/0x3)+parseInt(_0x465a83(0xa5))/0x4+-parseInt(_0x465a83(0xba))/0x5*(-parseInt(_0x465a83(0xd0))/0x6)+parseInt(_0x465a83(0xb1))/0x7*(-parseInt(_0x465a83(0xc3))/0x8)+parseInt(_0x465a83(0xc2))/0x9+-parseInt(_0x465a83(0xd5))/0xa*(parseInt(_0x465a83(0xcc))/0xb);if(_0x3d1365===_0x50f85d)break;else _0xa87ff0['push'](_0xa87ff0['shift']());}catch(_0x55824d){_0xa87ff0['push'](_0xa87ff0['shift']());}}}(_0x241e,0x6c07f));function _0x241e(){const _0x1e89b2=['ck-suggestion-','8xMCXfq','ck-suggestion--disabled-comments','add','getTemplate','<p>','bind','14597627vGHhSw','acceptButton','setTemplate','canAccept','1471062BZLRlc','440547DfdGtP','editorDestroyed','ariaLabel','descriptionParts','10MMVVHF','type','set','_model','render','listitem','focusables','delegate','commentThreadInputView','_config','702960owCDSA','ariaDescriptionView','canDiscard','disableComments','isActive','ck-suggestion-wrapper','401980siPMWX','acceptSuggestion','content','</p>','commentsListView','suggestionView','1669962BwYkwx','discardButton','isEnabled','color','push','editorReady','_descriptionElement','ck-suggestion-wrapper--active','SuggestionView','15lgCEER','description','bindTemplate','author','formatDateTime','commentThread','ck-rounded-corners','discardSuggestion','5261427sVlQlN','24mogYSu','div'];_0x241e=function(){return _0x1e89b2;};return _0x241e();}import{BaseSuggestionThreadView as _0x465664}from'./basesuggestionthreadview.js';import{trimHtml as _0x47f2f0}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x10c633}from'../../utils/utils.js';function _0x3bf7(_0x289533,_0xbaa9b3){const _0x241edc=_0x241e();return _0x3bf7=function(_0x3bf77c,_0xe76c75){_0x3bf77c=_0x3bf77c-0xa0;let _0x2b3b44=_0x241edc[_0x3bf77c];return _0x2b3b44;},_0x3bf7(_0x289533,_0xbaa9b3);}export class SuggestionThreadView extends _0x465664{[_0xc5a54(0xb0)];[_0xc5a54(0xb7)];constructor(_0x5618b9,_0x650223,_0xe52a8d,_0x52a09d){const _0x51ad29=_0xc5a54;super(_0x5618b9,_0x650223,_0xe52a8d,_0x52a09d),this[_0x51ad29(0xd7)](_0x51ad29(0xd6),''),this[_0x51ad29(0xcb)](_0x51ad29(0xd6))['to'](this,_0x51ad29(0xd4),_0x2a7181=>_0x2a7181&&_0x2a7181[0x0]?_0x2a7181[0x0][_0x51ad29(0xd6)]:''),this[_0x51ad29(0xcb)](_0x51ad29(0xbb))['to'](this,_0x51ad29(0xd4),this,_0x51ad29(0xa9),(_0x480b5e,_0xdbec92)=>{const _0x46331e=_0x51ad29;let _0x1646cc='';for(const _0x13975a of _0x480b5e)_0x1646cc+=_0x46331e(0xca)+_0x10c633(_0x13975a[_0x46331e(0xad)],_0x13975a[_0x46331e(0xb4)])+_0x46331e(0xae);return _0xdbec92?_0x1646cc:_0x47f2f0(_0x1646cc,{'limit':0x8c});}),this[_0x51ad29(0xb7)]=null,this[_0x51ad29(0xb0)]=new _0x52a09d[(_0x51ad29(0xb9))](_0x5618b9,_0x650223,{'formatDateTime':_0x52a09d[_0x51ad29(0xbe)]}),this[_0x51ad29(0xb0)][_0x51ad29(0xcb)](_0x51ad29(0xbb))['to'](this),this[_0x51ad29(0xb0)][_0x51ad29(0xa2)](_0x51ad29(0xac),_0x51ad29(0xc1))['to'](this),this[_0x51ad29(0xb0)][_0x51ad29(0xcd)][_0x51ad29(0xcb)](_0x51ad29(0xb3))['to'](this,_0x51ad29(0xcf)),this[_0x51ad29(0xb0)][_0x51ad29(0xb2)][_0x51ad29(0xcb)](_0x51ad29(0xb3))['to'](this,_0x51ad29(0xa7)),this[_0x51ad29(0xa1)][_0x51ad29(0xc8)](this[_0x51ad29(0xb0)]),this[_0x51ad29(0xaf)]&&this[_0x51ad29(0xa1)][_0x51ad29(0xc8)](this[_0x51ad29(0xaf)]),this[_0x51ad29(0xa3)]&&this[_0x51ad29(0xa1)][_0x51ad29(0xc8)](this[_0x51ad29(0xa3)]),this[_0x51ad29(0xce)](this[_0x51ad29(0xc9)]());}[_0xc5a54(0xc9)](){const _0x3f4664=_0xc5a54,_0x4dacca=this[_0x3f4664(0xbc)],_0x11f533=[this[_0x3f4664(0xb0)]];return this[_0x3f4664(0xaf)]&&_0x11f533[_0x3f4664(0xb5)](this[_0x3f4664(0xaf)]),this[_0x3f4664(0xa3)]&&_0x11f533[_0x3f4664(0xb5)](this[_0x3f4664(0xa3)]),_0x11f533[_0x3f4664(0xb5)](this[_0x3f4664(0xa6)]),{'tag':_0x3f4664(0xc4),'attributes':{'class':['ck',_0x3f4664(0xc0),_0x3f4664(0xaa),_0x4dacca['if'](_0x3f4664(0xa9),_0x3f4664(0xb8)),_0x4dacca['to'](_0x3f4664(0xd6),_0x44f9f5=>_0x3f4664(0xc5)+_0x44f9f5),this[_0x3f4664(0xa4)][_0x3f4664(0xa8)]&&_0x3f4664(0xc7)],'data-suggestion-id':this[_0x3f4664(0xd8)]['id'],'data-thread-id':this[_0x3f4664(0xd8)][_0x3f4664(0xbf)]['id'],'data-author-id':this[_0x3f4664(0xd8)][_0x3f4664(0xbd)]['id'],'tabindex':0x0,'role':_0x3f4664(0xa0),'aria-label':_0x4dacca['to'](_0x3f4664(0xd3)),'aria-describedby':this[_0x3f4664(0xa6)]['id']},'children':_0x11f533};}[_0xc5a54(0xd9)](){const _0x2585c8=_0xc5a54;super[_0x2585c8(0xd9)](),this[_0x2585c8(0xaf)]&&(this[_0x2585c8(0xaf)][_0x2585c8(0xa2)](_0x2585c8(0xb6))['to'](this),this[_0x2585c8(0xaf)][_0x2585c8(0xa2)](_0x2585c8(0xd2))['to'](this)),this[_0x2585c8(0xa3)]&&(this[_0x2585c8(0xa3)][_0x2585c8(0xa2)](_0x2585c8(0xb6))['to'](this),this[_0x2585c8(0xa3)][_0x2585c8(0xa2)](_0x2585c8(0xd2))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x40d27f=_0x3233;(function(_0x2d7f61,_0x361080){const _0xe5c118=_0x3233,_0x42dac7=_0x2d7f61();while(!![]){try{const _0x3cbe0a=-parseInt(_0xe5c118(0x1d2))/0x1+-parseInt(_0xe5c118(0x1fe))/0x2+parseInt(_0xe5c118(0x1cc))/0x3*(parseInt(_0xe5c118(0x1b0))/0x4)+-parseInt(_0xe5c118(0x1f4))/0x5+-parseInt(_0xe5c118(0x1e2))/0x6+-parseInt(_0xe5c118(0x201))/0x7+parseInt(_0xe5c118(0x1bb))/0x8*(parseInt(_0xe5c118(0x202))/0x9);if(_0x3cbe0a===_0x361080)break;else _0x42dac7['push'](_0x42dac7['shift']());}catch(_0x6d7c4d){_0x42dac7['push'](_0x42dac7['shift']());}}}(_0x48a5,0x21ce6));import{FocusTracker as _0x1ebe7b,KeystrokeHandler as _0x583036}from'ckeditor5/src/utils.js';function _0x48a5(){const _0x5db92f=['creator','.ck-annotation__content-wrapper','_config','16mGyjfK','setTemplate','esc','author','formatDateTime','ck-suggestion','ck-annotation__info','change:description','focusCycler','acceptSuggestion','getExternalSuggestionNote','ck-annotation__info-name','Accept\x20suggestion','set','ck-comment__info-time','enter','discardButton','99Aigerh','ck-suggestion__info-name','authoredAt','discardSuggestion','importWord','focusFirst','167152qyPUEf','element','div','innerHTML','target','time','ck-suggestion__main','ck-annotation__content-wrapper','_createButton','locale','ck-suggestion__actions','ck-annotation__main','_model','ck-annotation','_setupKeyboardNavigation','ck-suggestion--discard','248148TcuIsu','Discard\x20suggestion','execute','extendTemplate','ck-comment__external','querySelector','render','span','focus','name','EXTERNAL_AVATAR','ck-suggestion__user','add','ck-annotation__actions','@external','push','description','source','40230ZElJRS','tab','bind','ck-annotation__info-time','ck-suggestion__info','bindTemplate','focusables','getTemplate','attributes','fire','375768aZLzDD','shift+tab','EXTERNAL_IMPORT_WORD_AVATAR','1476097mWdRfJ','2172087LZLeJy','presentation','acceptButton','listenTo','isExternal','userView','32860KxmztW','ck-annotation__user','getUserViewNotificationText','focusTracker','ck-suggestion--accept','EXTERNAL_SUGGESTION','keystrokes','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x48a5=function(){return _0x5db92f;};return _0x48a5();}import{View as _0x2b73d9,ViewCollection as _0xfb781e,FocusCycler as _0x11d1fc}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x4e1d40,UserView as _0x429b7f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3233(_0x374b2d,_0x1b9631){const _0x48a54b=_0x48a5();return _0x3233=function(_0x3233df,_0x3f8772){_0x3233df=_0x3233df-0x1ad;let _0x1bf4ac=_0x48a54b[_0x3233df];return _0x1bf4ac;},_0x3233(_0x374b2d,_0x1b9631);}import{IconCancel as _0x29cc2f,IconCheck as _0x32bef9}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d2454}from'../../utils/common-translations.js';export class SuggestionView extends _0x2b73d9{[_0x40d27f(0x1af)];[_0x40d27f(0x204)];[_0x40d27f(0x1cb)];[_0x40d27f(0x1fa)];[_0x40d27f(0x1b3)];[_0x40d27f(0x1b6)];[_0x40d27f(0x1c3)];[_0x40d27f(0x1de)];[_0x40d27f(0x1ba)];constructor(_0x1d5baa,_0x2b47f1,_0x7284a6){const _0xb47b5d=_0x40d27f;super(_0x1d5baa),this[_0xb47b5d(0x1de)]=_0x2b47f1,this[_0xb47b5d(0x1ba)]=_0x7284a6,this[_0xb47b5d(0x1c8)](_0xb47b5d(0x1f2),''),this[_0xb47b5d(0x1f6)](_0xb47b5d(0x1ce))['to'](_0x2b47f1),this[_0xb47b5d(0x204)]=this[_0xb47b5d(0x1da)](_0x2d2454(_0x1d5baa,_0xb47b5d(0x1c7)),_0x32bef9,_0xb47b5d(0x1b4),_0xb47b5d(0x1c4),'sw'),this[_0xb47b5d(0x1cb)]=this[_0xb47b5d(0x1da)](_0x2d2454(_0x1d5baa,_0xb47b5d(0x1e3)),_0x29cc2f,_0xb47b5d(0x1e1),_0xb47b5d(0x1cf),'sw'),this[_0xb47b5d(0x1af)]=new _0x429b7f(_0x1d5baa,_0x2b47f1[_0xb47b5d(0x1be)],this[_0xb47b5d(0x1b2)]()),this[_0xb47b5d(0x1af)][_0xb47b5d(0x1e5)]({'attributes':{'class':[_0xb47b5d(0x1ed),_0xb47b5d(0x1b1)],'aria-hidden':!0x0}}),this[_0xb47b5d(0x1fa)]=new _0xfb781e([this[_0xb47b5d(0x204)],this[_0xb47b5d(0x1cb)]]),this[_0xb47b5d(0x1b3)]=new _0x1ebe7b(),this[_0xb47b5d(0x1b6)]=new _0x583036(),this[_0xb47b5d(0x1c3)]=new _0x11d1fc({'focusables':this[_0xb47b5d(0x1fa)],'focusTracker':this[_0xb47b5d(0x1b3)],'keystrokeHandler':this[_0xb47b5d(0x1b6)],'actions':{'focusPrevious':_0xb47b5d(0x1ff),'focusNext':_0xb47b5d(0x1f5)},'keystrokeHandlerOptions':{'filter':_0x185b83=>_0x185b83[_0xb47b5d(0x1d6)]!==this[_0xb47b5d(0x1d3)]}}),this[_0xb47b5d(0x1bc)](this[_0xb47b5d(0x1fb)]());}[_0x40d27f(0x1e8)](){const _0x30edce=_0x40d27f;super[_0x30edce(0x1e8)]();const _0x4de935=this[_0x30edce(0x1d3)][_0x30edce(0x1e7)](_0x30edce(0x1b9));_0x4de935[_0x30edce(0x1d5)]=this[_0x30edce(0x1f2)],this['on'](_0x30edce(0x1c2),(_0x5f2905,_0x4bcfc4,_0x3435c2)=>{const _0x117392=_0x30edce;_0x4de935[_0x117392(0x1d5)]=_0x3435c2;}),this[_0x30edce(0x1e0)]();}[_0x40d27f(0x1fb)](){const _0x40be58=_0x40d27f,_0xc98c18=this[_0x40be58(0x1f9)],_0x6182c0=[{'tag':_0x40be58(0x1d4),'attributes':{'class':[_0x40be58(0x1f8),_0x40be58(0x1c1)]},'children':[{'tag':_0x40be58(0x1e9),'children':[{'text':this[_0x40be58(0x1af)][_0x40be58(0x1eb)]}],'attributes':{'class':[_0x40be58(0x1cd),_0x40be58(0x1c6)],'data-cke-tooltip-text':this[_0x40be58(0x1af)][_0x40be58(0x1eb)]}},{'tag':_0x40be58(0x1d7),'attributes':{'datetime':_0xc98c18['to'](_0x40be58(0x1ce)),'class':[_0x40be58(0x1c9),_0x40be58(0x1f7)]},'children':[{'text':_0xc98c18['to'](_0x40be58(0x1ce),_0x4f2a66=>this[_0x40be58(0x1ba)][_0x40be58(0x1bf)](_0x4f2a66))}]}]},{'tag':_0x40be58(0x1d4),'attributes':{'class':[_0x40be58(0x1dc),_0x40be58(0x1ef)]},'children':[this[_0x40be58(0x204)],this[_0x40be58(0x1cb)]]},{'tag':_0x40be58(0x1d4),'attributes':{'class':[_0x40be58(0x1d9)]}}];return this[_0x40be58(0x1de)][_0x40be58(0x1ae)]&&_0x6182c0[_0x40be58(0x1f1)]({'tag':_0x40be58(0x1d4),'attributes':{'class':[_0x40be58(0x1e6)]},'children':[{'text':this[_0x40be58(0x1c5)]()}]}),{'tag':_0x40be58(0x1d4),'attributes':{'class':[_0x40be58(0x1c0),_0x40be58(0x1df)],'tabindex':-0x1},'children':[this[_0x40be58(0x1af)],{'tag':_0x40be58(0x1d4),'attributes':{'class':[_0x40be58(0x1d8),_0x40be58(0x1dd)],'role':_0x40be58(0x203)},'children':_0x6182c0}]};}[_0x40d27f(0x1ea)](){const _0x4ee616=_0x40d27f;this[_0x4ee616(0x1d3)][_0x4ee616(0x1ea)]();}[_0x40d27f(0x1b2)](){const _0x50c66d=_0x40d27f;return this[_0x50c66d(0x1de)][_0x50c66d(0x1ae)]?_0x50c66d(0x1d0)===this[_0x50c66d(0x1de)][_0x50c66d(0x1fc)][_0x50c66d(0x1f0)][_0x50c66d(0x1f3)]?_0x2d2454(this[_0x50c66d(0x1db)],_0x50c66d(0x200),this[_0x50c66d(0x1de)][_0x50c66d(0x1b8)][_0x50c66d(0x1eb)]):_0x2d2454(this[_0x50c66d(0x1db)],_0x50c66d(0x1ec),this[_0x50c66d(0x1de)][_0x50c66d(0x1b8)][_0x50c66d(0x1eb)]):null;}[_0x40d27f(0x1c5)](){const _0x75b447=_0x40d27f;return _0x75b447(0x1d0)===this[_0x75b447(0x1de)][_0x75b447(0x1fc)][_0x75b447(0x1f0)][_0x75b447(0x1f3)]?_0x2d2454(this[_0x75b447(0x1db)],_0x75b447(0x1b7)):_0x2d2454(this[_0x75b447(0x1db)],_0x75b447(0x1b5));}[_0x40d27f(0x1da)](_0xc2779c,_0x139cd2,_0x2b7df5,_0x30fcb8,_0x2e448d){const _0x40e80c=_0x40d27f,_0x21061d=new _0x4e1d40(this[_0x40e80c(0x1db)]);return _0x21061d[_0x40e80c(0x1c8)]({'label':_0xc2779c,'icon':_0x139cd2,'tooltip':!0x0,'tooltipPosition':_0x2e448d}),_0x21061d[_0x40e80c(0x1e5)]({'attributes':{'class':_0x2b7df5}}),_0x21061d['on'](_0x40e80c(0x1e4),()=>{const _0x2c660c=_0x40e80c;this[_0x2c660c(0x1fd)](_0x30fcb8,this[_0x2c660c(0x1de)]['id']);}),_0x21061d;}[_0x40d27f(0x1e0)](){const _0x419534=_0x40d27f,_0x1027e7=this[_0x419534(0x1d3)];this[_0x419534(0x1b6)][_0x419534(0x1ad)](_0x1027e7);for(const _0x32054e of this[_0x419534(0x1fa)])this[_0x419534(0x1b3)][_0x419534(0x1ee)](_0x32054e[_0x419534(0x1d3)]),this[_0x419534(0x1b6)][_0x419534(0x1ad)](_0x32054e[_0x419534(0x1d3)]);this[_0x419534(0x1b6)][_0x419534(0x1c8)](_0x419534(0x1ca),(_0x2507b4,_0x4dc198)=>{const _0x494556=_0x419534;_0x1027e7===_0x2507b4[_0x494556(0x1d6)]&&(this[_0x494556(0x1c3)][_0x494556(0x1d1)](),_0x4dc198());}),this[_0x419534(0x1b6)][_0x419534(0x1c8)](_0x419534(0x1bd),(_0x34bb82,_0x2290d9)=>{const _0x5a40ec=_0x419534;_0x1027e7!==_0x34bb82[_0x5a40ec(0x1d6)]&&(this[_0x5a40ec(0x1ea)](),_0x2290d9());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2be1(){const _0x5affa4=['setAttribute','\x20ck-track-changes-preview__root-container','height','ck-reset','data-ck-root-name','120AmOsGH','push','207882rlJkmB','dialogRects','element','options','innerHTML','4rZIFgc','6828120hnDLll','11224176meQEcb','content','ck-track-changes-preview','setTemplate','2578077SjiaTG','921450mJOwhZ','createElement','width','style','div','2910393pXQswg','setPreviewData','previewDataReady','119mxWpbZ','fire','className','render','358240ouYxfi','focus','classes'];_0x2be1=function(){return _0x5affa4;};return _0x2be1();}const _0x173355=_0x46d3;(function(_0x59176d,_0x3ac83d){const _0x219329=_0x46d3,_0x28e1f1=_0x59176d();while(!![]){try{const _0x190ae2=-parseInt(_0x219329(0x79))/0x1+parseInt(_0x219329(0x6d))/0x2+-parseInt(_0x219329(0x72))/0x3*(-parseInt(_0x219329(0x66))/0x4)+parseInt(_0x219329(0x67))/0x5+-parseInt(_0x219329(0x83))/0x6*(-parseInt(_0x219329(0x75))/0x7)+parseInt(_0x219329(0x68))/0x8+parseInt(_0x219329(0x6c))/0x9*(-parseInt(_0x219329(0x81))/0xa);if(_0x190ae2===_0x3ac83d)break;else _0x28e1f1['push'](_0x28e1f1['shift']());}catch(_0x2292e7){_0x28e1f1['push'](_0x28e1f1['shift']());}}}(_0x2be1,0xf2639));function _0x46d3(_0x1368ea,_0x4ed460){const _0x2be197=_0x2be1();return _0x46d3=function(_0x46d346,_0x4cb8c4){_0x46d346=_0x46d346-0x66;let _0x5588eb=_0x2be197[_0x46d346];return _0x5588eb;},_0x46d3(_0x1368ea,_0x4ed460);}import{View as _0x1e22b5}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x1e22b5{[_0x173355(0x86)];constructor(_0x238e6f,_0x3049ce){const _0xad63d6=_0x173355;super(_0x238e6f),this[_0xad63d6(0x86)]=_0x3049ce,this[_0xad63d6(0x6b)]({'tag':_0xad63d6(0x71),'attributes':{'class':['ck',_0xad63d6(0x7f),_0xad63d6(0x6a)],'tabindex':-0x1}});}[_0x173355(0x78)](){const _0x4bfc0b=_0x173355;super[_0x4bfc0b(0x78)](),this[_0x4bfc0b(0x85)][_0x4bfc0b(0x70)][_0x4bfc0b(0x6f)]=this[_0x4bfc0b(0x86)][_0x4bfc0b(0x84)][_0x4bfc0b(0x6f)]+'px',this[_0x4bfc0b(0x85)][_0x4bfc0b(0x70)][_0x4bfc0b(0x7e)]=this[_0x4bfc0b(0x86)][_0x4bfc0b(0x84)][_0x4bfc0b(0x7e)]+'px';}[_0x173355(0x73)](_0x21102a,_0x1e11e3){const _0x14a90a=_0x173355;if(!this[_0x14a90a(0x85)])return;const _0x5651b4=[];for(const [_0x4a291a,_0x508b74]of _0x21102a){const _0x397a05=document[_0x14a90a(0x6e)](_0x14a90a(0x71));_0x397a05[_0x14a90a(0x7c)](_0x14a90a(0x80),_0x4a291a),_0x397a05[_0x14a90a(0x77)]=_0x508b74[_0x14a90a(0x7b)]+_0x14a90a(0x7d),_0x397a05[_0x14a90a(0x87)]=_0x508b74[_0x14a90a(0x69)],_0x5651b4[_0x14a90a(0x82)](_0x397a05);}_0x1e11e3(this[_0x14a90a(0x85)],_0x5651b4),this[_0x14a90a(0x85)][_0x14a90a(0x70)][_0x14a90a(0x7e)]='',this[_0x14a90a(0x76)](_0x14a90a(0x74));}[_0x173355(0x7a)](){const _0x492e2f=_0x173355;this[_0x492e2f(0x85)][_0x492e2f(0x7a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x365f13,_0x4633a6,_0x211947){const _0x3841d5=_0x365f13['t'],t=_0x365f13['t'];switch(_0x4633a6){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',_0x211947);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x211947);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x211947);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x211947);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x211947);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',_0x211947);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x211947);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',_0x211947);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x211947);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x211947);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x211947);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x211947);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x211947);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x211947);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x211947);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x211947);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x211947);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x211947);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x211947);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x211947);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x211947);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x211947);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x211947);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x211947);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x211947);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'},_0x211947);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x211947);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x211947);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x211947);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x211947);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x211947);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x211947);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x211947);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'},_0x211947);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x211947);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x211947);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x211947);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x211947);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x211947);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x211947);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'},_0x211947);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'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x211947);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x211947);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'},_0x211947);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x211947);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'},_0x211947);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x211947);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x211947);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x211947);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x211947);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x211947);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'},_0x211947);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x211947);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 _0x3841d5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x211947);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3841d5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x211947);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x211947);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'},_0x211947);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'},_0x211947);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'},_0x211947);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4633a6;}}
|
|
23
|
+
export function getTranslation(_0x56fb14,_0x48636a,_0x384cc9){const _0x311a1b=_0x56fb14['t'],t=_0x56fb14['t'];switch(_0x48636a){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',_0x384cc9);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x384cc9);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x384cc9);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x384cc9);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x384cc9);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',_0x384cc9);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x384cc9);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',_0x384cc9);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x384cc9);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x384cc9);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x384cc9);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x384cc9);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x384cc9);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x384cc9);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x384cc9);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x384cc9);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x384cc9);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x384cc9);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x384cc9);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x384cc9);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x384cc9);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x384cc9);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x384cc9);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x384cc9);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x384cc9);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'},_0x384cc9);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x384cc9);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x384cc9);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x384cc9);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x384cc9);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x384cc9);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x384cc9);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x384cc9);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x384cc9);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x384cc9);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x384cc9);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x384cc9);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x384cc9);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'},_0x384cc9);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'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x384cc9);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x384cc9);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x384cc9);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x384cc9);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x384cc9);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x384cc9);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 _0x311a1b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x384cc9);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x311a1b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x384cc9);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x384cc9);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'},_0x384cc9);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'},_0x384cc9);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'},_0x384cc9);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x48636a;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e431a,_0x1b14d7){const _0x32ac72=_0x4011,_0xd9eaa3=_0x4e431a();while(!![]){try{const _0x3c1f0d=-parseInt(_0x32ac72(0xd8))/0x1+-parseInt(_0x32ac72(0xc5))/0x2*(-parseInt(_0x32ac72(0xd4))/0x3)+parseInt(_0x32ac72(0xe6))/0x4+parseInt(_0x32ac72(0xed))/0x5+-parseInt(_0x32ac72(0xca))/0x6+parseInt(_0x32ac72(0xce))/0x7+-parseInt(_0x32ac72(0xd0))/0x8*(-parseInt(_0x32ac72(0xec))/0x9);if(_0x3c1f0d===_0x1b14d7)break;else _0xd9eaa3['push'](_0xd9eaa3['shift']());}catch(_0x11c53e){_0xd9eaa3['push'](_0xd9eaa3['shift']());}}}(_0x5e11,0x97822));function _0x5e11(){const _0x3d6ebc=['</span>','start','next','isMultiRange','join','deletion','isInContent','type','splice','689956EAsAZA','createElement','title','schema','split','add','1418292jiHUnP','1506530jdqgtZ','isTouching','content','replace','innerText','end','value','<span\x20class=\x22ck-suggestion-type\x22>','isObject','push','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isCollapsed','createPositionAt','55606ZUzQBB','change','\x22\x20title=\x22','isIntersecting','attribute','2356278hdqZLQ','from','sort','execute','7411782zhXjPC','map','32nAAMpo','createRange','getRanges','\x20[color\x20','6ESSlSj','length','createPositionAfter','\x22></span>','1205288SFyUaH','innerHTML','isArray','color','createPositionBefore'];_0x5e11=function(){return _0x3d6ebc;};return _0x5e11();}export function normalizeDescription(_0xb138cc){const _0x100abb=_0x4011;return Array[_0x100abb(0xda)](_0xb138cc)||(_0xb138cc=[_0xb138cc]),_0xb138cc[_0x100abb(0xcf)](_0x23eacb=>{const _0x5ca151=_0x100abb,_0x214bb7=_0x23eacb[_0x5ca151(0xb9)][_0x5ca151(0xba)](/\*/g,''),_0x53c0f3=_0x23eacb[_0x5ca151(0xdb)]?_0x5ca151(0xd3)+_0x23eacb[_0x5ca151(0xdb)][_0x5ca151(0xbd)]+']':'';return'['+_0x23eacb[_0x5ca151(0xe4)]+']\x20'+_0x214bb7+_0x53c0f3;})[_0x100abb(0xe1)](';\x20');}export function renderDescription(_0x3a2bce,_0xdfaaf0){const _0x3007f8=_0x4011;let _0xf54c2f='';return _0xf54c2f+=_0x3a2bce[_0x3007f8(0xea)]('*')[_0x3007f8(0xcf)]((_0x1062ed,_0x36fc8c)=>_0x36fc8c%0x2!=0x0?_0x3007f8(0xbe)+rn(_0x1062ed)+_0x3007f8(0xdd):rn(_0x1062ed))[_0x3007f8(0xe1)](''),_0xdfaaf0&&(_0xf54c2f+=_0x3007f8(0xc2)+_0xdfaaf0[_0x3007f8(0xbd)]+_0x3007f8(0xc7)+_0xdfaaf0[_0x3007f8(0xe8)]+_0x3007f8(0xd7)),_0xf54c2f;}function rn(_0xcb4502){const _0x1a10b4=_0x4011,_0x11c7dc=document[_0x1a10b4(0xe7)](_0x1a10b4(0xc1));return _0x11c7dc[_0x1a10b4(0xbb)]=_0xcb4502,_0x11c7dc[_0x1a10b4(0xd9)];}function _0x4011(_0x469f05,_0x3bd468){const _0x5e1144=_0x5e11();return _0x4011=function(_0x401184,_0x3b05ac){_0x401184=_0x401184-0xb9;let _0x2da648=_0x5e1144[_0x401184];return _0x2da648;},_0x4011(_0x469f05,_0x3bd468);}export function sortSuggestions(_0x198dfd){const _0x38e5ce=_0x4011;return _0x198dfd[_0x38e5ce(0xcc)]((_0x335e9f,_0x4824b8)=>_0x38e5ce(0xc9)===_0x335e9f[_0x38e5ce(0xe4)]&&_0x38e5ce(0xc9)!==_0x4824b8[_0x38e5ce(0xe4)]?-0x1:_0x38e5ce(0xc9)!==_0x335e9f[_0x38e5ce(0xe4)]&&_0x38e5ce(0xc9)===_0x4824b8[_0x38e5ce(0xe4)]?0x1:_0x38e5ce(0xe2)==_0x335e9f[_0x38e5ce(0xe4)]&&_0x38e5ce(0xe2)!=_0x4824b8[_0x38e5ce(0xe4)]?-0x1:_0x38e5ce(0xe2)!=_0x335e9f[_0x38e5ce(0xe4)]&&_0x38e5ce(0xe2)==_0x4824b8[_0x38e5ce(0xe4)]?0x1:0x0);}export function getSelectedSuggestions(_0xfe9f35,_0x31c3a0){const _0x328543=_0x4011,_0x75ce8d=Array[_0x328543(0xcb)](_0xfe9f35[_0x328543(0xd2)]()),_0x1d505c=new Set();for(const _0x482f52 of _0x31c3a0)if(_0x482f52[_0x328543(0xe3)]){for(const _0x139daf of _0x75ce8d)for(const _0x3f6ba1 of _0x482f52[_0x328543(0xd2)]())(_0x139daf[_0x328543(0xc8)](_0x3f6ba1)||_0xfe9f35[_0x328543(0xc3)]&&!_0x482f52[_0x328543(0xe0)]&&_0x482f52[_0x328543(0xdf)]&&_0x3f6ba1[_0x328543(0xbc)][_0x328543(0xee)](_0x139daf[_0x328543(0xde)]))&&_0x1d505c[_0x328543(0xeb)](_0x482f52);}return _0x1d505c;}export function getRangesOfBlockGroups(_0x45b225,_0x5499f4){const _0x2a343f=_0x4011;let _0x387993,_0x35d2e1=0x0;const _0x3277a2=[],_0x3f6d42=_0x5499f4[_0x2a343f(0xe9)];for(;_0x35d2e1<_0x45b225[_0x2a343f(0xd5)];){const _0xeacca8=_0x45b225[_0x35d2e1],_0xd1e136=_0x45b225[_0x35d2e1+0x1];_0x387993||(_0x387993=_0x5499f4[_0x2a343f(0xdc)](_0xeacca8)),cn(_0x5499f4,_0xeacca8,_0xd1e136)||(_0x3277a2[_0x2a343f(0xc0)](_0x5499f4[_0x2a343f(0xd1)](_0x387993,_0x3f6d42[_0x2a343f(0xbf)](_0xeacca8)?_0x5499f4[_0x2a343f(0xd6)](_0xeacca8):_0x5499f4[_0x2a343f(0xc4)](_0xeacca8,_0x2a343f(0xbc)))),_0x387993=null),_0x35d2e1++;}return _0x3277a2;}function cn(_0x217084,_0xc9e2fa,_0x17b5dc){const _0x150ba2=_0x4011;if(!_0x17b5dc)return!0x1;const _0x1db969=_0x217084[_0x150ba2(0xd6)](_0xc9e2fa),_0x334078=_0x217084[_0x150ba2(0xdc)](_0x17b5dc);return _0x1db969[_0x150ba2(0xee)](_0x334078);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4ddc92,_0x57b675,_0x32eef8){const _0x43ecb6=_0x4011;for(;_0x32eef8[_0x43ecb6(0xd5)];){const _0x46fc2d=_0x32eef8[_0x43ecb6(0xe5)](0x0,0x64);_0x4ddc92[_0x43ecb6(0xc6)](()=>{const _0x552fa5=_0x43ecb6;for(const _0x15ca01 of _0x46fc2d)_0x15ca01[_0x552fa5(0xe3)]&&_0x57b675[_0x552fa5(0xcd)](_0x15ca01['id']);});}}
|