@ckeditor/ckeditor5-track-changes 47.2.0-alpha.5 → 47.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/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 _0x455f4d=_0xf63e;(function(_0x5a5a66,_0x20bdc1){const _0x438c1=_0xf63e,_0x3dcb1b=_0x5a5a66();while(!![]){try{const _0x576360=parseInt(_0x438c1(0x99))/0x1+parseInt(_0x438c1(0x9c))/0x2+-parseInt(_0x438c1(0x9b))/0x3*(parseInt(_0x438c1(0xa2))/0x4)+-parseInt(_0x438c1(0x93))/0x5+parseInt(_0x438c1(0x98))/0x6+parseInt(_0x438c1(0x97))/0x7+-parseInt(_0x438c1(0xa3))/0x8;if(_0x576360===_0x20bdc1)break;else _0x3dcb1b['push'](_0x3dcb1b['shift']());}catch(_0x254bbf){_0x3dcb1b['push'](_0x3dcb1b['shift']());}}}(_0x4385,0xd7fc3));import{Plugin as _0x24c6c3}from'ckeditor5/src/core.js';import{Dialog as _0xc647f9}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1ec20c}from'./trackchangesdata.js';function _0x4385(){const _0x47b7ce=['17406024anyxkF','isPremiumPlugin','commands','TrackChangesPreview','trackChanges.preview.renderFunction','4418370QZDmqd','define','previewFinalContent','isOfficialPlugin','2813608YhDWnf','8195538JgDkrc','1654315Hvyhwd','appendChild','3FHowPF','2228410vbJWpQ','pluginName','config','editor','requires','add','2369140lBIewF'];_0x4385=function(){return _0x47b7ce;};return _0x4385();}import{PreviewFinalContentCommand as _0x3f7cc6}from'./commands/previewfinalcontentcommand.js';function _0xf63e(_0xf32fa2,_0x3e79ee){const _0x4385ae=_0x4385();return _0xf63e=function(_0xf63e61,_0x3ebb41){_0xf63e61=_0xf63e61-0x90;let _0x3eb975=_0x4385ae[_0xf63e61];return _0x3eb975;},_0xf63e(_0xf32fa2,_0x3e79ee);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x24c6c3{static get[_0x455f4d(0xa0)](){return[_0x1ec20c,_0xc647f9];}static get[_0x455f4d(0x9d)](){const _0x132de9=_0x455f4d;return _0x132de9(0x91);}static get[_0x455f4d(0x96)](){return!0x0;}static get[_0x455f4d(0xa4)](){return!0x0;}constructor(_0xecd14a){const _0x115161=_0x455f4d;super(_0xecd14a),_0xecd14a[_0x115161(0x90)][_0x115161(0xa1)](_0x115161(0x95),new _0x3f7cc6(this[_0x115161(0x9f)])),_0xecd14a[_0x115161(0x9e)][_0x115161(0x94)](_0x115161(0x92),(_0x1f4732,_0x218690)=>{const _0x280e4f=_0x115161;for(const _0x45e6fb of _0x218690)_0x1f4732[_0x280e4f(0x9a)](_0x45e6fb);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x54ec(){const _0x44e084=['children','change:activeAnnotations','refreshSelectedViews','commandName','componentFactory','_updateController','TrackChanges','Accept\x20all\x20selected\x20suggestions','_unbindEditors','stopListening','menuitemcheckbox','_createToolbarButton','reduce','menuBar:trackChanges','TrackChangesPreview','suggestionUnloaded','_suggestionToController','CommentsRepository','160zfVoWt','suggestionLoaded','trackChangesLicenseKeyInvalid','menu','acceptButton','_addUIComponentsToFactory','createAnnotationView','_createMenuBarMenu','EditorAnnotations','20671rIohYe','createAnnotation','trackChangesLicenseKeyValid','pluginName','has','focus','trackChanges.SuggestionThreadView','91NmaIlI','editing','isInContent','comments.maxThreadTotalWeight','Track\x20changes','source','hasSuggestion','commentsListView','separator','domainLimit','listenTo','SuggestionView','previous','comments.maxCommentCharsWhenCollapsed','descriptionFactory','getRanges','length','Discard\x20all\x20selected\x20suggestions','25tgOalm','trackChangesLicenseKeyTrialLimit','TrackChangesUI','getDescriptions','panelView','_viewToController','type','comments.maxCommentsWhenCollapsed','clear','_handleControllerBuffer','button','_bindAnnotationToEditors','suggestionChanged','delete','discardSelectedSuggestions','getAllAdjacentSuggestions','_handleSuggestionControllerDelayed','init','requires','SuggestionThreadView','discardButton','values','activeMarkers','head','buttonView','commands','actionView','comments.editorConfig','menuitem','comments','trackChanges','CommentView','size','featureNotAllowed','licenseKey','model','isOn','usageLimit','_initializeController','getFirstRange','trackChangesLicenseKeyEvaluationLimit','addMany','createCommentThreadController','destroy','filter','switchbutton','Annotations','fire','_showLicenseError','commentThread','CommentsUI','isPremiumPlugin','10163690jTHaSq','5eRmJKi','addComment','descriptionParts','getJoined','innerView','TrackChangesEditing','isOfficialPlugin','getByInnerView','getSuggestionForAnnotation','3RDADmf','suggestionView','getSuggestion','trackChangesLicenseKeyExpired','addSourceCollector','trackChanges.SuggestionView','11rwoHBi','suggestion-','acceptSelectedSuggestions','discardAllSuggestions','_disableComments','some','change:previous','lowest','define','isMultiRange','1714044wqGqJy','arrowView','trackChangesLicenseKeyNotAllowed','config','442838LoZvrH','from','editor','items','view','Preview\x20final\x20content','get','getMarkerNames','_refreshActiveMarkers','_annotationViews','add','toMany','bind','_licenseKeyCheckInterval','execute','registerAnnotation','previewFinalContent','push','isDirty','value','trackChanges.disableComments','isEnabled','trialLimit','invalid','remove','Accept\x20all\x20suggestions','acceptAllSuggestions','getMarkers','10005957kdHMgv','escape','trackChangesLicenseKeyUsageLimit','delegate','trackChangesLicenseKeyDomainLimit','set','keys','393798EeUYyF','unbind','getAnnotationForSuggestion','plugins','mainView','activeAnnotations','Discard\x20all\x20suggestions','_destroyController','expired','2151008pLaEwF','evaluationLimit','locale'];_0x54ec=function(){return _0x44e084;};return _0x54ec();}const _0x2b750c=_0x1718;function _0x1718(_0x129538,_0x33cc52){const _0x54ec1e=_0x54ec();return _0x1718=function(_0x171899,_0x511731){_0x171899=_0x171899-0x106;let _0x3a3a30=_0x54ec1e[_0x171899];return _0x3a3a30;},_0x1718(_0x129538,_0x33cc52);}(function(_0x5ec781,_0x2ada75){const _0x5c3127=_0x1718,_0x5ab055=_0x5ec781();while(!![]){try{const _0x3964ce=-parseInt(_0x5c3127(0x171))/0x1*(parseInt(_0x5c3127(0x18e))/0x2)+-parseInt(_0x5c3127(0x17a))/0x3*(-parseInt(_0x5c3127(0x1ba))/0x4)+parseInt(_0x5c3127(0x13c))/0x5*(parseInt(_0x5c3127(0x1b1))/0x6)+-parseInt(_0x5c3127(0x123))/0x7*(parseInt(_0x5c3127(0x11a))/0x8)+-parseInt(_0x5c3127(0x1aa))/0x9+-parseInt(_0x5c3127(0x170))/0xa*(-parseInt(_0x5c3127(0x180))/0xb)+-parseInt(_0x5c3127(0x18a))/0xc*(-parseInt(_0x5c3127(0x12a))/0xd);if(_0x3964ce===_0x2ada75)break;else _0x5ab055['push'](_0x5ab055['shift']());}catch(_0x12bd56){_0x5ab055['push'](_0x5ab055['shift']());}}}(_0x54ec,0x93839));import{Plugin as _0x364d49}from'ckeditor5/src/core.js';import{Collection as _0x1f3599}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x43f03b}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4dea21,createDropdown as _0x5c8542,ListSeparatorView as _0x4cdd95,MenuBarMenuView as _0x5ae61c,MenuBarMenuListView as _0x4b3e2a,MenuBarMenuListItemView as _0xe2ae4f,MenuBarMenuListItemButtonView as _0x4bfd8e,SplitButtonView as _0x4194df,UIModel as _0x2a8d12}from'ckeditor5/src/ui.js';import{Users as _0x566b6d,getDateTimeFormatter as _0x5a6fdd,getAllMarkersDomElementsSorted as _0x155528}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2df106}from'./trackchangesediting.js';import{SuggestionController as _0x19c96b}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x26b6b0}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x448cc7}from'./ui/view/suggestionview.js';import{getTranslation as _0x1efdb1}from'./utils/common-translations.js';export class TrackChangesUI extends _0x364d49{[_0x2b750c(0x15e)];[_0x2b750c(0x19b)];[_0x2b750c(0x118)];[_0x2b750c(0x141)];[_0x2b750c(0x197)];[_0x2b750c(0x145)];[_0x2b750c(0x184)];static get[_0x2b750c(0x14e)](){const _0x387197=_0x2b750c;return[_0x2df106,_0x566b6d,_0x387197(0x119),_0x387197(0x16a),_0x387197(0x122)];}static get[_0x2b750c(0x126)](){const _0x1bb9fc=_0x2b750c;return _0x1bb9fc(0x13e);}static get[_0x2b750c(0x177)](){return!0x0;}static get[_0x2b750c(0x16f)](){return!0x0;}constructor(_0x5f1f13){const _0x3ba7a0=_0x2b750c;super(_0x5f1f13),this[_0x3ba7a0(0x118)]=new Map(),this[_0x3ba7a0(0x141)]=new Map(),this[_0x3ba7a0(0x197)]=new Map(),this[_0x3ba7a0(0x145)]=new Map();const _0x3ec9d1=this[_0x3ba7a0(0x190)][_0x3ba7a0(0x18d)];_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x129),_0x26b6b0),_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x17f),_0x448cc7),_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x1a2),!0x1),this[_0x3ba7a0(0x184)]=_0x3ec9d1[_0x3ba7a0(0x194)](_0x3ba7a0(0x1a2));}[_0x2b750c(0x14c)](_0x188aa6,_0x5894a8){const _0x412b26=_0x2b750c;0x0===this[_0x412b26(0x145)][_0x412b26(0x15c)]&&setTimeout(()=>{const _0x14cc08=_0x412b26;for(const [_0x518e96,_0x3b2c89]of this[_0x14cc08(0x145)]){const _0xcda424=this[_0x14cc08(0x118)][_0x14cc08(0x127)](_0x518e96);_0xcda424||_0x3b2c89?_0xcda424&&_0x3b2c89&&this[_0x14cc08(0x1b8)](_0x518e96):this[_0x14cc08(0x162)](_0x518e96);}this[_0x14cc08(0x145)][_0x14cc08(0x144)](),this[_0x14cc08(0x190)][_0x14cc08(0x1b4)][_0x14cc08(0x194)](_0x14cc08(0x122))[_0x14cc08(0x10a)](),this[_0x14cc08(0x196)]();},0xa),this[_0x412b26(0x145)][_0x412b26(0x1af)](_0x188aa6,_0x5894a8);}[_0x2b750c(0x14d)](){const _0x5294fd=_0x2b750c,_0x55753e=this[_0x5294fd(0x190)],_0x3b7ba1=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x176)),_0x3a2e22=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x16a)),_0x332115=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x122)),_0xec92ba=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x119));this[_0x5294fd(0x11f)](),_0x332115[_0x5294fd(0x17e)](()=>{const _0x324d7a=_0x5294fd,_0x93bb1c=[];for(const [_0x1e5723,_0x4a4a44]of Array[_0x324d7a(0x18f)](this[_0x324d7a(0x118)])){const _0x411260=_0x1e5723[_0x324d7a(0x14b)](),_0x1fb69c=[];for(const _0x3904e9 of _0x411260){if(!_0x3904e9[_0x324d7a(0x12c)])continue;if(_0x3904e9[_0x324d7a(0x189)]){_0x1fb69c[_0x324d7a(0x19f)](..._0x3904e9[_0x324d7a(0x139)]());continue;}const _0x255d85=_0x3904e9[_0x324d7a(0x163)]();if(_0x1fb69c[_0x324d7a(0x13a)]>0x0){const _0x4ab28e=_0x1fb69c[0x0][_0x324d7a(0x174)](_0x255d85);if(_0x4ab28e){_0x1fb69c[0x0]=_0x4ab28e;continue;}}_0x1fb69c[_0x324d7a(0x19f)](_0x255d85);}_0x93bb1c[_0x324d7a(0x19f)]([_0x4a4a44[_0x324d7a(0x192)],_0x1fb69c]);}return _0x93bb1c;}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x11b),(_0x5469d9,_0x4b34e8)=>{const _0x4553d4=_0x5294fd;this[_0x4553d4(0x134)](_0x4b34e8,_0x4553d4(0x186),(_0x47d893,_0x3d3b40,_0x37b5fb,_0x2658ee)=>{const _0x55708c=_0x4553d4;_0x4b34e8[_0x55708c(0x12c)]&&(null==_0x37b5fb?(this[_0x55708c(0x10d)](_0x2658ee[_0x55708c(0x153)]),this[_0x55708c(0x14c)](_0x4b34e8,!0x1)):(this[_0x55708c(0x10d)](_0x37b5fb[_0x55708c(0x153)]),null==_0x2658ee&&this[_0x55708c(0x14c)](_0x4b34e8,!0x0)));}),null!==_0x4b34e8[_0x4553d4(0x136)]?this[_0x4553d4(0x10d)](_0x4b34e8[_0x4553d4(0x153)]):this[_0x4553d4(0x14c)](_0x4b34e8,!0x1);}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x117),(_0x3fe7cf,_0x1c0ee7,_0x1b065a)=>{const _0x47ba65=_0x5294fd;this[_0x47ba65(0x111)](_0x1c0ee7,_0x47ba65(0x186)),this[_0x47ba65(0x145)][_0x47ba65(0x149)](_0x1c0ee7),this[_0x47ba65(0x118)][_0x47ba65(0x127)](_0x1c0ee7)&&this[_0x47ba65(0x1b8)](_0x1c0ee7),_0x1b065a&&this[_0x47ba65(0x10d)](_0x1b065a[_0x47ba65(0x153)]);}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x148),(_0x230dfa,_0x24b333)=>{const _0x29edc9=_0x5294fd;this[_0x29edc9(0x10d)](_0x24b333);}),this[_0x5294fd(0x134)](_0x3a2e22,_0x5294fd(0x109),()=>{const _0x56857d=_0x5294fd;this[_0x56857d(0x196)]();}),this[_0x5294fd(0x134)](_0xec92ba,_0x5294fd(0x172),(_0x5b6675,{threadId:_0x3f5565,isFromAdapter:_0x174423})=>{const _0x30c66e=_0x5294fd;if(_0x174423||!_0x3b7ba1[_0x30c66e(0x130)](_0x3f5565))return;const _0x35aff2=_0x3b7ba1[_0x30c66e(0x17c)](_0x3f5565);this[_0x30c66e(0x118)][_0x30c66e(0x194)](_0x35aff2)[_0x30c66e(0x192)][_0x30c66e(0x131)][_0x30c66e(0x128)](-0x1);},{'priority':_0x5294fd(0x187)}),this[_0x5294fd(0x15e)]=this[_0x5294fd(0x190)][_0x5294fd(0x18d)][_0x5294fd(0x194)](_0x5294fd(0x15e));const _0x213c32=this[_0x5294fd(0x190)];this[_0x5294fd(0x19b)]=setInterval(()=>{const _0x1d3244=_0x5294fd;let _0x4854f5;for(const _0x47b711 in _0x213c32){const _0xbabd2f=_0x47b711,_0x463ad8=_0x213c32[_0xbabd2f];if(_0x1d3244(0x125)==_0x463ad8||_0x1d3244(0x11c)==_0x463ad8||_0x1d3244(0x17d)==_0x463ad8||_0x1d3244(0x1ae)==_0x463ad8||_0x1d3244(0x18c)==_0x463ad8||_0x1d3244(0x164)==_0x463ad8||_0x1d3244(0x13d)==_0x463ad8||_0x1d3244(0x1ac)==_0x463ad8){delete _0x213c32[_0xbabd2f],_0x4854f5=_0x463ad8,clearInterval(this[_0x1d3244(0x19b)]),this[_0x1d3244(0x19b)]=void 0x0;break;}}_0x1d3244(0x11c)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1a5)),_0x1d3244(0x17d)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1b9)),_0x1d3244(0x1ae)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x133)),_0x1d3244(0x18c)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x15d),_0x1d3244(0x10e)),_0x1d3244(0x164)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x106)),_0x1d3244(0x13d)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1a4)),_0x1d3244(0x1ac)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x161));},0x3e8);}[_0x2b750c(0x1b3)](_0x4feb4a){const _0x368bb3=_0x2b750c,_0x356a8f=this[_0x368bb3(0x118)][_0x368bb3(0x194)](_0x4feb4a);if(!_0x356a8f)return null;return this[_0x368bb3(0x190)][_0x368bb3(0x1b4)][_0x368bb3(0x194)](_0x368bb3(0x16a))[_0x368bb3(0x178)](_0x356a8f[_0x368bb3(0x192)])||null;}[_0x2b750c(0x179)](_0x4dc579){const _0x4268e2=_0x2b750c,_0x10a198=this[_0x4268e2(0x141)][_0x4268e2(0x194)](_0x4dc579[_0x4268e2(0x175)]);return _0x10a198?_0x10a198[_0x4268e2(0x15f)]:null;}[_0x2b750c(0x196)](){const _0x53c9f3=_0x2b750c,_0x45a183=this[_0x53c9f3(0x190)][_0x53c9f3(0x1b4)][_0x53c9f3(0x194)](_0x53c9f3(0x16a)),_0x4e49c7=this[_0x53c9f3(0x190)][_0x53c9f3(0x1b4)][_0x53c9f3(0x194)](_0x53c9f3(0x176)),_0x5d0222=Array[_0x53c9f3(0x18f)](_0x45a183[_0x53c9f3(0x1b6)],_0x1aea05=>_0x1aea05[_0x53c9f3(0x175)])[_0x53c9f3(0x168)](_0x48aa42=>this[_0x53c9f3(0x141)][_0x53c9f3(0x127)](_0x48aa42)),_0xfad73e=[];for(const _0x80ec4b of _0x5d0222){const _0x7b9fd2=this[_0x53c9f3(0x141)][_0x53c9f3(0x194)](_0x80ec4b)[_0x53c9f3(0x15f)][_0x53c9f3(0x14b)]();_0xfad73e[_0x53c9f3(0x19f)](..._0x7b9fd2[_0x53c9f3(0x114)]((_0x4b1672,_0x3cdbfd)=>[..._0x4b1672,..._0x3cdbfd[_0x53c9f3(0x195)]()],[]));}_0x4e49c7[_0x53c9f3(0x152)]=_0xfad73e;}[_0x2b750c(0x11f)](){const _0x2c25f7=_0x2b750c,_0x3cd73a=this[_0x2c25f7(0x190)],_0xd4737b=_0x3cd73a[_0x2c25f7(0x107)],_0x44d026=_0x1efdb1(_0xd4737b,_0x2c25f7(0x12e)),_0x576283=new _0x1f3599([{'type':_0x2c25f7(0x169),'model':new _0x2a8d12({'withText':!0x0,'isToggleable':!0x0,'label':_0x44d026,'commandName':_0x2c25f7(0x15a),'role':_0x2c25f7(0x112)})},{'type':_0x2c25f7(0x132)},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x1a7)),'commandName':_0x2c25f7(0x1a8),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x10f)),'commandName':_0x2c25f7(0x182),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x1b7)),'commandName':_0x2c25f7(0x183),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x13b)),'commandName':_0x2c25f7(0x14a),'role':_0x2c25f7(0x158)})}]);_0x3cd73a[_0x2c25f7(0x1b4)][_0x2c25f7(0x127)](_0x2c25f7(0x116))&&_0x576283[_0x2c25f7(0x165)]([{'type':_0x2c25f7(0x132)},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x193)),'commandName':_0x2c25f7(0x19e),'role':_0x2c25f7(0x158)})}]);for(const _0x2d6364 of _0x576283)if(ke(_0x2d6364)){const _0x801aba=_0x3cd73a[_0x2c25f7(0x155)][_0x2c25f7(0x194)](_0x2d6364[_0x2c25f7(0x15f)][_0x2c25f7(0x10b)]);_0x2d6364[_0x2c25f7(0x15f)][_0x2c25f7(0x19a)](_0x2c25f7(0x160),_0x2c25f7(0x1a3))['to'](_0x801aba,_0x2c25f7(0x1a1),_0x2c25f7(0x1a3));}_0x3cd73a['ui'][_0x2c25f7(0x10c)][_0x2c25f7(0x198)](_0x2c25f7(0x15a),_0x34788f=>this[_0x2c25f7(0x113)](_0x34788f,_0x576283,_0x44d026)),_0x3cd73a['ui'][_0x2c25f7(0x10c)][_0x2c25f7(0x198)](_0x2c25f7(0x115),_0x34ffd4=>this[_0x2c25f7(0x121)](_0x34ffd4,_0x576283,_0x44d026));}[_0x2b750c(0x113)](_0x28a114,_0x35ba5d,_0x28babf){const _0xe18ff9=_0x2b750c,_0x472e37=_0x5c8542(_0x28a114,_0x4194df),_0x4f7091=this[_0xe18ff9(0x190)][_0xe18ff9(0x155)][_0xe18ff9(0x194)](_0xe18ff9(0x15a));_0x472e37[_0xe18ff9(0x154)][_0xe18ff9(0x1af)]({'tooltip':_0x28babf,'label':_0x28babf,'icon':_0x43f03b}),_0x472e37[_0xe18ff9(0x154)][_0xe18ff9(0x19a)](_0xe18ff9(0x160))['to'](_0x4f7091,_0xe18ff9(0x1a1)),_0x472e37[_0xe18ff9(0x154)]['on'](_0xe18ff9(0x19c),()=>{const _0x2a0c68=_0xe18ff9;_0x4f7091[_0x2a0c68(0x19c)](),this[_0x2a0c68(0x190)][_0x2a0c68(0x12b)][_0x2a0c68(0x192)][_0x2a0c68(0x128)]();}),_0x4dea21(_0x472e37,_0x35ba5d,{'role':_0xe18ff9(0x11d)});const _0xdb73e0=[];for(const _0x45b8fa of _0x35ba5d)ke(_0x45b8fa)&&_0xdb73e0[_0xe18ff9(0x19f)](this[_0xe18ff9(0x190)][_0xe18ff9(0x155)][_0xe18ff9(0x194)](_0x45b8fa[_0xe18ff9(0x15f)][_0xe18ff9(0x10b)]));const _0x7aeafb=_0x472e37[_0xe18ff9(0x154)];return _0x7aeafb[_0xe18ff9(0x156)][_0xe18ff9(0x1b2)](_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x18b)][_0xe18ff9(0x1b2)](_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x156)][_0xe18ff9(0x19a)](_0xe18ff9(0x1a3))['to'](_0x4f7091,_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x18b)][_0xe18ff9(0x19a)](_0xe18ff9(0x1a3))[_0xe18ff9(0x199)](_0xdb73e0,_0xe18ff9(0x1a3),(..._0x1767c6)=>_0x1767c6[_0xe18ff9(0x185)](_0x320b16=>_0x320b16)),_0x472e37['on'](_0xe18ff9(0x19c),_0x489e59=>{const _0x558993=_0xe18ff9;this[_0x558993(0x190)][_0x558993(0x19c)](_0x489e59[_0x558993(0x12f)][_0x558993(0x10b)]),this[_0x558993(0x190)][_0x558993(0x12b)][_0x558993(0x192)][_0x558993(0x128)]();}),_0x472e37;}[_0x2b750c(0x121)](_0x2632c7,_0xbc03d6,_0x4a887c){const _0x5e6d56=_0x2b750c,_0x3f1121=new _0x5ae61c(_0x2632c7),_0x182259=this[_0x5e6d56(0x190)][_0x5e6d56(0x155)][_0x5e6d56(0x194)](_0x5e6d56(0x15a));_0x3f1121[_0x5e6d56(0x154)][_0x5e6d56(0x1af)]({'label':_0x4a887c,'icon':_0x43f03b});const _0x2ce6d0=new _0x4b3e2a(_0x2632c7);for(const _0x202334 of _0xbc03d6){if(_0x5e6d56(0x132)==_0x202334[_0x5e6d56(0x142)]){_0x2ce6d0[_0x5e6d56(0x191)][_0x5e6d56(0x198)](new _0x4cdd95(_0x2632c7));continue;}const _0x5ed2e1=new _0xe2ae4f(_0x2632c7,_0x3f1121),_0x560e29=new _0x4bfd8e(_0x2632c7),_0x583713=_0x202334[_0x5e6d56(0x15f)];_0x560e29[_0x5e6d56(0x19a)](...Object[_0x5e6d56(0x1b0)](_0x583713))['to'](_0x583713),_0x560e29[_0x5e6d56(0x1ad)](_0x5e6d56(0x19c))['to'](_0x3f1121),_0x560e29['on'](_0x5e6d56(0x19c),()=>{const _0x4e59ff=_0x5e6d56;this[_0x4e59ff(0x190)][_0x4e59ff(0x19c)](_0x583713[_0x4e59ff(0x10b)]),this[_0x4e59ff(0x190)][_0x4e59ff(0x12b)][_0x4e59ff(0x192)][_0x4e59ff(0x128)]();}),_0x5ed2e1[_0x5e6d56(0x108)][_0x5e6d56(0x198)](_0x560e29),_0x2ce6d0[_0x5e6d56(0x191)][_0x5e6d56(0x198)](_0x5ed2e1);}return _0x3f1121[_0x5e6d56(0x19a)](_0x5e6d56(0x1a3))['to'](_0x182259,_0x5e6d56(0x1a3)),_0x3f1121[_0x5e6d56(0x140)][_0x5e6d56(0x108)][_0x5e6d56(0x198)](_0x2ce6d0),_0x3f1121;}[_0x2b750c(0x162)](_0xeb0873){const _0x42abcf=_0x2b750c,_0x1c6017=this[_0x42abcf(0x190)],_0x44af5b=_0x1c6017[_0x42abcf(0x18d)],_0x45042e=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x16a)),_0x12bfef=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x119)),_0x3a17ab=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x122)),_0x33d514=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x566b6d)['me'],_0x458f5e=_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15a))[_0x42abcf(0x14f)],_0x1cc299=_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15a))[_0x42abcf(0x135)],{CommentsListView:_0x473393,CommentThreadInputView:_0x5a949b}=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x16e));let _0x4ad203,_0x444e77,_0x4f56ee;this[_0x42abcf(0x197)][_0x42abcf(0x127)](_0xeb0873['id'])?(_0x444e77=this[_0x42abcf(0x197)][_0x42abcf(0x194)](_0xeb0873['id']),_0x4ad203=_0x444e77[_0x42abcf(0x1b5)]):(_0x4ad203=new _0x458f5e(_0x1c6017[_0x42abcf(0x107)],_0xeb0873,_0x33d514,{'disableComments':this[_0x42abcf(0x184)],'editorConfig':{..._0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x157)),'licenseKey':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15e))},'maxCommentsWhenCollapsed':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x143)),'maxThreadTotalWeight':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x12d)),'maxCommentCharsWhenCollapsed':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x137)),'formatDateTime':_0x5a6fdd(_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x107)),_0x1c6017[_0x42abcf(0x107)]),'CommentView':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x159))[_0x42abcf(0x15b)],'CommentsListView':_0x473393,'CommentThreadInputView':_0x5a949b,'SuggestionView':_0x1cc299}),_0x4ad203[_0x42abcf(0x17b)][_0x42abcf(0x11e)]['on'](_0x42abcf(0x19c),()=>{const _0x2acba4=_0x42abcf;_0x1c6017[_0x2acba4(0x12b)][_0x2acba4(0x192)][_0x2acba4(0x128)]();}),_0x4ad203[_0x42abcf(0x17b)][_0x42abcf(0x150)]['on'](_0x42abcf(0x19c),()=>{const _0x17e97b=_0x42abcf;_0x1c6017[_0x17e97b(0x12b)][_0x17e97b(0x192)][_0x17e97b(0x128)]();}),_0x444e77=_0x45042e[_0x42abcf(0x120)](this[_0x42abcf(0x190)][_0x42abcf(0x107)],_0x4ad203),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x1a0))['to'](_0x4ad203,_0x42abcf(0x1a0)),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x13a))['to'](_0x4ad203),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x142))['to'](_0x4ad203,_0x42abcf(0x142),_0x38b625=>_0x42abcf(0x181)+_0x38b625),_0x4ad203['on'](_0x42abcf(0x1ab),()=>{const _0x338c5a=_0x42abcf;_0x4f56ee[_0x338c5a(0x16b)](_0x338c5a(0x1ab));}),this[_0x42abcf(0x197)][_0x42abcf(0x1af)](_0xeb0873['id'],_0x444e77));const _0x7d2af5=_0x12bfef[_0x42abcf(0x166)](_0xeb0873[_0x42abcf(0x16d)],_0x4ad203),_0x204ecb=new _0x19c96b(_0x1c6017,_0xeb0873,_0x4ad203,_0x7d2af5),_0x43d85c=_0xeb0873[_0x42abcf(0x14b)]()[_0x42abcf(0x168)](_0x3f6632=>_0x3f6632[_0x42abcf(0x12c)]);_0x4ad203[_0x42abcf(0x173)]=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x176))[_0x42abcf(0x138)][_0x42abcf(0x13f)](_0x43d85c),this[_0x42abcf(0x118)][_0x42abcf(0x1af)](_0xeb0873,_0x204ecb),this[_0x42abcf(0x141)][_0x42abcf(0x1af)](_0x4ad203,_0x204ecb);const _0x170860=()=>{const _0x328642=_0x42abcf,_0x27ddec=[],_0x304e77=_0xeb0873[_0x328642(0x14b)]()[_0x328642(0x168)](_0x1fb0b3=>_0x1fb0b3[_0x328642(0x12c)]);for(const _0x4c35c0 of _0x304e77)_0x27ddec[_0x328642(0x19f)](..._0x4c35c0[_0x328642(0x1a9)]());return _0x155528(_0x1c6017[_0x328642(0x12b)],_0x27ddec);};_0x4f56ee=_0x45042e[_0x42abcf(0x124)]({'view':_0x444e77,'target':_0x170860,'type':()=>_0x42abcf(0x181)+_0x204ecb[_0x42abcf(0x192)][_0x42abcf(0x142)],'isVisible':!!_0x170860()}),_0x12bfef[_0x42abcf(0x147)](_0x4ad203,_0x4f56ee),_0x45042e[_0x42abcf(0x198)](_0x4f56ee),_0x3a17ab[_0x42abcf(0x19d)](_0x4f56ee);}[_0x2b750c(0x1b8)](_0x4ba498){const _0x2a1713=_0x2b750c,_0x267ad4=this[_0x2a1713(0x190)][_0x2a1713(0x1b4)][_0x2a1713(0x194)](_0x2a1713(0x119)),_0x37400a=this[_0x2a1713(0x190)][_0x2a1713(0x1b4)][_0x2a1713(0x194)](_0x2a1713(0x16a)),_0x5aed3c=this[_0x2a1713(0x118)][_0x2a1713(0x194)](_0x4ba498),_0x2b3e3e=_0x5aed3c[_0x2a1713(0x192)],_0x22d916=_0x37400a[_0x2a1713(0x178)](_0x2b3e3e);_0x267ad4[_0x2a1713(0x110)](_0x2b3e3e),_0x22d916&&_0x37400a[_0x2a1713(0x1a6)](_0x22d916),this[_0x2a1713(0x118)][_0x2a1713(0x149)](_0x4ba498),this[_0x2a1713(0x141)][_0x2a1713(0x149)](_0x2b3e3e),_0x5aed3c[_0x2a1713(0x167)]();}[_0x2b750c(0x10d)](_0x255508){const _0x88408c=_0x2b750c;if(!_0x255508[_0x88408c(0x12c)]||!this[_0x88408c(0x118)][_0x88408c(0x127)](_0x255508))return;const _0x34f225=this[_0x88408c(0x190)][_0x88408c(0x1b4)][_0x88408c(0x194)](_0x88408c(0x176)),_0x39a399=this[_0x88408c(0x118)][_0x88408c(0x194)](_0x255508),_0x6e92cb=_0x255508[_0x88408c(0x14b)]();_0x39a399[_0x88408c(0x192)][_0x88408c(0x173)]=_0x34f225[_0x88408c(0x138)][_0x88408c(0x13f)](_0x6e92cb);}[_0x2b750c(0x167)](){const _0x5ef229=_0x2b750c;for(const _0x25cd49 of this[_0x5ef229(0x118)][_0x5ef229(0x1b0)]())this[_0x5ef229(0x1b8)](_0x25cd49);for(const _0x57682f of this[_0x5ef229(0x197)][_0x5ef229(0x151)]())_0x57682f[_0x5ef229(0x1b5)][_0x5ef229(0x167)]();super[_0x5ef229(0x167)](),this[_0x5ef229(0x19b)]&&clearInterval(this[_0x5ef229(0x19b)]);}}function ke(_0x2920ad){const _0xdd52b6=_0x2b750c;return _0xdd52b6(0x15f)in _0x2920ad;}
|
|
23
|
+
function _0x519e(_0x30746e,_0x34c790){const _0x4ed5b6=_0x4ed5();return _0x519e=function(_0x519e3e,_0x3a86b9){_0x519e3e=_0x519e3e-0xe4;let _0xf3d551=_0x4ed5b6[_0x519e3e];return _0xf3d551;},_0x519e(_0x30746e,_0x34c790);}const _0x47da23=_0x519e;(function(_0x49512d,_0x374ed5){const _0x21bad8=_0x519e,_0x3f1d54=_0x49512d();while(!![]){try{const _0x3a3158=-parseInt(_0x21bad8(0x14d))/0x1+-parseInt(_0x21bad8(0x172))/0x2+parseInt(_0x21bad8(0x106))/0x3*(parseInt(_0x21bad8(0x17c))/0x4)+-parseInt(_0x21bad8(0x183))/0x5*(-parseInt(_0x21bad8(0xf4))/0x6)+-parseInt(_0x21bad8(0x123))/0x7+parseInt(_0x21bad8(0xe4))/0x8*(-parseInt(_0x21bad8(0xea))/0x9)+parseInt(_0x21bad8(0x111))/0xa*(parseInt(_0x21bad8(0x154))/0xb);if(_0x3a3158===_0x374ed5)break;else _0x3f1d54['push'](_0x3f1d54['shift']());}catch(_0x25c57a){_0x3f1d54['push'](_0x3f1d54['shift']());}}}(_0x4ed5,0x8000d));import{Plugin as _0x334f60}from'ckeditor5/src/core.js';import{Collection as _0x1ee780}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x424e09}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3a6825,createDropdown as _0x478d2b,ListSeparatorView as _0x43a044,MenuBarMenuView as _0x21f552,MenuBarMenuListView as _0x1a607e,MenuBarMenuListItemView as _0xa6e342,MenuBarMenuListItemButtonView as _0x2321f7,SplitButtonView as _0x518c16,UIModel as _0x513b03}from'ckeditor5/src/ui.js';import{Users as _0x324a4e,getDateTimeFormatter as _0x5323a8,getAllMarkersDomElementsSorted as _0x53d80e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x59323c}from'./trackchangesediting.js';import{SuggestionController as _0x408b28}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x209319}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x33e8f0}from'./ui/view/suggestionview.js';import{getTranslation as _0x2d666c}from'./utils/common-translations.js';export class TrackChangesUI extends _0x334f60{[_0x47da23(0x104)];[_0x47da23(0xfc)];[_0x47da23(0xf7)];[_0x47da23(0x145)];[_0x47da23(0xfe)];[_0x47da23(0x155)];[_0x47da23(0xec)];static get[_0x47da23(0x12b)](){const _0x4930ad=_0x47da23;return[_0x59323c,_0x324a4e,_0x4930ad(0x12e),_0x4930ad(0x150),_0x4930ad(0xe9)];}static get[_0x47da23(0x169)](){const _0x574ee4=_0x47da23;return _0x574ee4(0x149);}static get[_0x47da23(0x170)](){return!0x0;}static get[_0x47da23(0x115)](){return!0x0;}constructor(_0xb2170d){const _0x1c0d52=_0x47da23;super(_0xb2170d),this[_0x1c0d52(0xf7)]=new Map(),this[_0x1c0d52(0x145)]=new Map(),this[_0x1c0d52(0xfe)]=new Map(),this[_0x1c0d52(0x155)]=new Map();const _0x444dba=this[_0x1c0d52(0x184)][_0x1c0d52(0x15c)];_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0x192),_0x209319),_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0x113),_0x33e8f0),_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0xe6),!0x1),this[_0x1c0d52(0xec)]=_0x444dba[_0x1c0d52(0x18b)](_0x1c0d52(0xe6));}[_0x47da23(0xe8)](_0x5b52d6,_0x13cc67){const _0x5692ac=_0x47da23;0x0===this[_0x5692ac(0x155)][_0x5692ac(0x11c)]&&setTimeout(()=>{const _0x7bedfa=_0x5692ac;for(const [_0x59f3ee,_0x58a5f5]of this[_0x7bedfa(0x155)]){const _0xe79e2b=this[_0x7bedfa(0xf7)][_0x7bedfa(0x109)](_0x59f3ee);_0xe79e2b||_0x58a5f5?_0xe79e2b&&_0x58a5f5&&this[_0x7bedfa(0x185)](_0x59f3ee):this[_0x7bedfa(0x105)](_0x59f3ee);}this[_0x7bedfa(0x155)][_0x7bedfa(0x187)](),this[_0x7bedfa(0x184)][_0x7bedfa(0xe7)][_0x7bedfa(0x18b)](_0x7bedfa(0xe9))[_0x7bedfa(0x17d)](),this[_0x7bedfa(0x10d)]();},0xa),this[_0x5692ac(0x155)][_0x5692ac(0xf8)](_0x5b52d6,_0x13cc67);}[_0x47da23(0x12c)](){const _0x105ac3=_0x47da23,_0xa66047=this[_0x105ac3(0x184)],_0x5a311c=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0xf6)),_0x5626ba=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0x150)),_0x13506a=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0xe9)),_0x313fbe=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0x12e));this[_0x105ac3(0x168)](),_0x13506a[_0x105ac3(0x10e)](()=>{const _0x256caa=_0x105ac3,_0x39c6e7=[];for(const [_0x3c1c96,_0x9b30fc]of Array[_0x256caa(0x16a)](this[_0x256caa(0xf7)])){const _0xd14768=_0x3c1c96[_0x256caa(0x13b)](),_0x5cde08=[];for(const _0x52d6c4 of _0xd14768){if(!_0x52d6c4[_0x256caa(0x181)])continue;if(_0x52d6c4[_0x256caa(0x195)]){_0x5cde08[_0x256caa(0x142)](..._0x52d6c4[_0x256caa(0x194)]());continue;}const _0x3934b1=_0x52d6c4[_0x256caa(0x16f)]();if(_0x5cde08[_0x256caa(0x196)]>0x0){const _0x2752c7=_0x5cde08[0x0][_0x256caa(0x156)](_0x3934b1);if(_0x2752c7){_0x5cde08[0x0]=_0x2752c7;continue;}}_0x5cde08[_0x256caa(0x142)](_0x3934b1);}_0x39c6e7[_0x256caa(0x142)]([_0x9b30fc[_0x256caa(0x162)],_0x5cde08]);}return _0x39c6e7;}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0xf9),(_0x5cf397,_0x3d2295)=>{const _0x3941c2=_0x105ac3;this[_0x3941c2(0x127)](_0x3d2295,_0x3941c2(0x14b),(_0xc9ef6a,_0x4d07cd,_0x2ddfe6,_0x4e9d2e)=>{const _0x98569f=_0x3941c2;_0x3d2295[_0x98569f(0x181)]&&(null==_0x2ddfe6?(this[_0x98569f(0xee)](_0x4e9d2e[_0x98569f(0x153)]),this[_0x98569f(0xe8)](_0x3d2295,!0x1)):(this[_0x98569f(0xee)](_0x2ddfe6[_0x98569f(0x153)]),null==_0x4e9d2e&&this[_0x98569f(0xe8)](_0x3d2295,!0x0)));}),null!==_0x3d2295[_0x3941c2(0x15a)]?this[_0x3941c2(0xee)](_0x3d2295[_0x3941c2(0x153)]):this[_0x3941c2(0xe8)](_0x3d2295,!0x1);}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0x119),(_0x1551f1,_0x3659c3,_0x49eaba)=>{const _0x147dae=_0x105ac3;this[_0x147dae(0x18f)](_0x3659c3,_0x147dae(0x14b)),this[_0x147dae(0x155)][_0x147dae(0xef)](_0x3659c3),this[_0x147dae(0xf7)][_0x147dae(0x109)](_0x3659c3)&&this[_0x147dae(0x185)](_0x3659c3),_0x49eaba&&this[_0x147dae(0xee)](_0x49eaba[_0x147dae(0x153)]);}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0x10b),(_0x10e79f,_0xda9864)=>{const _0x398753=_0x105ac3;this[_0x398753(0xee)](_0xda9864);}),this[_0x105ac3(0x127)](_0x5626ba,_0x105ac3(0x100),()=>{const _0x39a53e=_0x105ac3;this[_0x39a53e(0x10d)]();}),this[_0x105ac3(0x127)](_0x313fbe,_0x105ac3(0x167),(_0x1af205,{threadId:_0x4a5c73,isFromAdapter:_0x3b0521})=>{const _0x3ad553=_0x105ac3;if(_0x3b0521||!_0x5a311c[_0x3ad553(0x134)](_0x4a5c73))return;const _0x41b9af=_0x5a311c[_0x3ad553(0x13f)](_0x4a5c73);this[_0x3ad553(0xf7)][_0x3ad553(0x18b)](_0x41b9af)[_0x3ad553(0x162)][_0x3ad553(0x14a)][_0x3ad553(0xed)](-0x1);},{'priority':_0x105ac3(0x15e)}),this[_0x105ac3(0x104)]=this[_0x105ac3(0x184)][_0x105ac3(0x15c)][_0x105ac3(0x18b)](_0x105ac3(0x104));const _0x3c8737=this[_0x105ac3(0x184)];this[_0x105ac3(0xfc)]=setInterval(()=>{const _0x4b5d3b=_0x105ac3;let _0x35dbb2;for(const _0x48eb35 in _0x3c8737){const _0x36829a=_0x48eb35,_0x12dd12=_0x3c8737[_0x36829a];if(_0x4b5d3b(0x129)==_0x12dd12||_0x4b5d3b(0xeb)==_0x12dd12||_0x4b5d3b(0x143)==_0x12dd12||_0x4b5d3b(0x16d)==_0x12dd12||_0x4b5d3b(0x13c)==_0x12dd12||_0x4b5d3b(0x148)==_0x12dd12||_0x4b5d3b(0x131)==_0x12dd12||_0x4b5d3b(0x17f)==_0x12dd12){delete _0x3c8737[_0x36829a],_0x35dbb2=_0x12dd12,clearInterval(this[_0x4b5d3b(0xfc)]),this[_0x4b5d3b(0xfc)]=void 0x0;break;}}_0x4b5d3b(0xeb)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x16b)),_0x4b5d3b(0x143)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x107)),_0x4b5d3b(0x16d)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x13e)),_0x4b5d3b(0x13c)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x157),_0x4b5d3b(0x176)),_0x4b5d3b(0x148)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x17b)),_0x4b5d3b(0x131)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x163)),_0x4b5d3b(0x17f)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x190));},0x3e8);}[_0x47da23(0x14f)](_0x4abe18){const _0x45d06b=_0x47da23,_0x41d97f=this[_0x45d06b(0xf7)][_0x45d06b(0x18b)](_0x4abe18);if(!_0x41d97f)return null;return this[_0x45d06b(0x184)][_0x45d06b(0xe7)][_0x45d06b(0x18b)](_0x45d06b(0x150))[_0x45d06b(0x11a)](_0x41d97f[_0x45d06b(0x162)])||null;}[_0x47da23(0x10a)](_0x2df09c){const _0x3814a1=_0x47da23,_0x1f6761=this[_0x3814a1(0x145)][_0x3814a1(0x18b)](_0x2df09c[_0x3814a1(0x10c)]);return _0x1f6761?_0x1f6761[_0x3814a1(0x186)]:null;}[_0x47da23(0x10d)](){const _0x7c857d=_0x47da23,_0x601638=this[_0x7c857d(0x184)][_0x7c857d(0xe7)][_0x7c857d(0x18b)](_0x7c857d(0x150)),_0x333bd0=this[_0x7c857d(0x184)][_0x7c857d(0xe7)][_0x7c857d(0x18b)](_0x7c857d(0xf6)),_0xe7458f=Array[_0x7c857d(0x16a)](_0x601638[_0x7c857d(0x18c)],_0x1e1e81=>_0x1e1e81[_0x7c857d(0x10c)])[_0x7c857d(0x133)](_0x57cd2f=>this[_0x7c857d(0x145)][_0x7c857d(0x109)](_0x57cd2f)),_0x2a75b5=[];for(const _0x2cc934 of _0xe7458f){const _0x1ba030=this[_0x7c857d(0x145)][_0x7c857d(0x18b)](_0x2cc934)[_0x7c857d(0x186)][_0x7c857d(0x13b)]();_0x2a75b5[_0x7c857d(0x142)](..._0x1ba030[_0x7c857d(0x160)]((_0x3fb2a6,_0x4509f8)=>[..._0x3fb2a6,..._0x4509f8[_0x7c857d(0x17e)]()],[]));}_0x333bd0[_0x7c857d(0x16e)]=_0x2a75b5;}[_0x47da23(0x168)](){const _0x3f2b76=_0x47da23,_0x4e319e=this[_0x3f2b76(0x184)],_0x4a1a1e=_0x4e319e[_0x3f2b76(0xff)],_0x3be0fc=_0x2d666c(_0x4a1a1e,_0x3f2b76(0x13d)),_0x5d10f1=new _0x1ee780([{'type':_0x3f2b76(0xfd),'model':new _0x513b03({'withText':!0x0,'isToggleable':!0x0,'label':_0x3be0fc,'commandName':_0x3f2b76(0x165),'role':_0x3f2b76(0x11e)})},{'type':_0x3f2b76(0x124)},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x141)),'commandName':_0x3f2b76(0x171),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x158)),'commandName':_0x3f2b76(0xfa),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x135)),'commandName':_0x3f2b76(0x128),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x189)),'commandName':_0x3f2b76(0x147),'role':_0x3f2b76(0x166)})}]);_0x4e319e[_0x3f2b76(0xe7)][_0x3f2b76(0x109)](_0x3f2b76(0x146))&&_0x5d10f1[_0x3f2b76(0x15b)]([{'type':_0x3f2b76(0x124)},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x12f)),'commandName':_0x3f2b76(0x130),'role':_0x3f2b76(0x166)})}]);for(const _0x59fcf2 of _0x5d10f1)if(ke(_0x59fcf2)){const _0x3d5d6d=_0x4e319e[_0x3f2b76(0xf1)][_0x3f2b76(0x18b)](_0x59fcf2[_0x3f2b76(0x186)][_0x3f2b76(0x152)]);_0x59fcf2[_0x3f2b76(0x186)][_0x3f2b76(0x12d)](_0x3f2b76(0x173),_0x3f2b76(0x10f))['to'](_0x3d5d6d,_0x3f2b76(0x161),_0x3f2b76(0x10f));}_0x4e319e['ui'][_0x3f2b76(0x180)][_0x3f2b76(0x191)](_0x3f2b76(0x165),_0x13cc38=>this[_0x3f2b76(0x126)](_0x13cc38,_0x5d10f1,_0x3be0fc)),_0x4e319e['ui'][_0x3f2b76(0x180)][_0x3f2b76(0x191)](_0x3f2b76(0x122),_0x474472=>this[_0x3f2b76(0x121)](_0x474472,_0x5d10f1,_0x3be0fc));}[_0x47da23(0x126)](_0x44473b,_0x442709,_0x49201a){const _0x4ae4f6=_0x47da23,_0x29930d=_0x478d2b(_0x44473b,_0x518c16),_0x2afaba=this[_0x4ae4f6(0x184)][_0x4ae4f6(0xf1)][_0x4ae4f6(0x18b)](_0x4ae4f6(0x165));_0x29930d[_0x4ae4f6(0x11d)][_0x4ae4f6(0xf8)]({'tooltip':_0x49201a,'label':_0x49201a,'icon':_0x424e09}),_0x29930d[_0x4ae4f6(0x11d)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x173))['to'](_0x2afaba,_0x4ae4f6(0x161)),_0x29930d[_0x4ae4f6(0x11d)]['on'](_0x4ae4f6(0x132),()=>{const _0x565b09=_0x4ae4f6;_0x2afaba[_0x565b09(0x132)](),this[_0x565b09(0x184)][_0x565b09(0x13a)][_0x565b09(0x162)][_0x565b09(0xed)]();}),_0x3a6825(_0x29930d,_0x442709,{'role':_0x4ae4f6(0x178)});const _0x145ad2=[];for(const _0x1300fb of _0x442709)ke(_0x1300fb)&&_0x145ad2[_0x4ae4f6(0x142)](this[_0x4ae4f6(0x184)][_0x4ae4f6(0xf1)][_0x4ae4f6(0x18b)](_0x1300fb[_0x4ae4f6(0x186)][_0x4ae4f6(0x152)]));const _0x218e8e=_0x29930d[_0x4ae4f6(0x11d)];return _0x218e8e[_0x4ae4f6(0x139)][_0x4ae4f6(0xf5)](_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0xf3)][_0x4ae4f6(0xf5)](_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0x139)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x10f))['to'](_0x2afaba,_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0xf3)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x10f))[_0x4ae4f6(0xf0)](_0x145ad2,_0x4ae4f6(0x10f),(..._0x2f4bb9)=>_0x2f4bb9[_0x4ae4f6(0x175)](_0x3786c3=>_0x3786c3)),_0x29930d['on'](_0x4ae4f6(0x132),_0xefd40=>{const _0xa671a9=_0x4ae4f6;this[_0xa671a9(0x184)][_0xa671a9(0x132)](_0xefd40[_0xa671a9(0x117)][_0xa671a9(0x152)]),this[_0xa671a9(0x184)][_0xa671a9(0x13a)][_0xa671a9(0x162)][_0xa671a9(0xed)]();}),_0x29930d;}[_0x47da23(0x121)](_0x2008eb,_0x559684,_0x1ed034){const _0x42ee6e=_0x47da23,_0x530239=new _0x21f552(_0x2008eb),_0x4f1b70=this[_0x42ee6e(0x184)][_0x42ee6e(0xf1)][_0x42ee6e(0x18b)](_0x42ee6e(0x165));_0x530239[_0x42ee6e(0x11d)][_0x42ee6e(0xf8)]({'label':_0x1ed034,'icon':_0x424e09});const _0x44562d=new _0x1a607e(_0x2008eb);for(const _0x27c93e of _0x559684){if(_0x42ee6e(0x124)==_0x27c93e[_0x42ee6e(0x102)]){_0x44562d[_0x42ee6e(0x15d)][_0x42ee6e(0x191)](new _0x43a044(_0x2008eb));continue;}const _0x1c29fe=new _0xa6e342(_0x2008eb,_0x530239),_0x45e75a=new _0x2321f7(_0x2008eb),_0x562739=_0x27c93e[_0x42ee6e(0x186)];_0x45e75a[_0x42ee6e(0x12d)](...Object[_0x42ee6e(0x177)](_0x562739))['to'](_0x562739),_0x45e75a[_0x42ee6e(0x159)](_0x42ee6e(0x132))['to'](_0x530239),_0x45e75a['on'](_0x42ee6e(0x132),()=>{const _0x3a844f=_0x42ee6e;this[_0x3a844f(0x184)][_0x3a844f(0x132)](_0x562739[_0x3a844f(0x152)]),this[_0x3a844f(0x184)][_0x3a844f(0x13a)][_0x3a844f(0x162)][_0x3a844f(0xed)]();}),_0x1c29fe[_0x42ee6e(0x103)][_0x42ee6e(0x191)](_0x45e75a),_0x44562d[_0x42ee6e(0x15d)][_0x42ee6e(0x191)](_0x1c29fe);}return _0x530239[_0x42ee6e(0x12d)](_0x42ee6e(0x10f))['to'](_0x4f1b70,_0x42ee6e(0x10f)),_0x530239[_0x42ee6e(0x14c)][_0x42ee6e(0x103)][_0x42ee6e(0x191)](_0x44562d),_0x530239;}[_0x47da23(0x105)](_0x59468f){const _0x260647=_0x47da23,_0x382fc1=this[_0x260647(0x184)],_0x12d07a=_0x382fc1[_0x260647(0x15c)],_0x409949=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x150)),_0x42b6af=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x12e)),_0x3f0f3d=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0xe9)),_0x58e883=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x324a4e)['me'],_0x2a0997=_0x12d07a[_0x260647(0x18b)](_0x260647(0x165))[_0x260647(0x182)],_0x3841e6=_0x12d07a[_0x260647(0x18b)](_0x260647(0x165))[_0x260647(0x116)],{CommentsListView:_0x5383fb,CommentThreadInputView:_0x57fb0c}=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x125));let _0x1ff93a,_0x533d01,_0x1789b3;this[_0x260647(0xfe)][_0x260647(0x109)](_0x59468f['id'])?(_0x533d01=this[_0x260647(0xfe)][_0x260647(0x18b)](_0x59468f['id']),_0x1ff93a=_0x533d01[_0x260647(0x136)]):(_0x1ff93a=new _0x2a0997(_0x382fc1[_0x260647(0xff)],_0x59468f,_0x58e883,{'disableComments':this[_0x260647(0xec)],'editorConfig':{..._0x12d07a[_0x260647(0x18b)](_0x260647(0x193)),'licenseKey':_0x12d07a[_0x260647(0x18b)](_0x260647(0x104))},'maxCommentsWhenCollapsed':_0x12d07a[_0x260647(0x18b)](_0x260647(0x108)),'maxThreadTotalWeight':_0x12d07a[_0x260647(0x18b)](_0x260647(0x120)),'maxCommentCharsWhenCollapsed':_0x12d07a[_0x260647(0x18b)](_0x260647(0xe5)),'formatDateTime':_0x5323a8(_0x12d07a[_0x260647(0x18b)](_0x260647(0xff)),_0x382fc1[_0x260647(0xff)]),'CommentView':_0x12d07a[_0x260647(0x18b)](_0x260647(0x118))[_0x260647(0x18d)],'CommentsListView':_0x5383fb,'CommentThreadInputView':_0x57fb0c,'SuggestionView':_0x3841e6}),_0x1ff93a[_0x260647(0xfb)][_0x260647(0x140)]['on'](_0x260647(0x132),()=>{const _0x3126e4=_0x260647;_0x382fc1[_0x3126e4(0x13a)][_0x3126e4(0x162)][_0x3126e4(0xed)]();}),_0x1ff93a[_0x260647(0xfb)][_0x260647(0x112)]['on'](_0x260647(0x132),()=>{const _0x4e5f59=_0x260647;_0x382fc1[_0x4e5f59(0x13a)][_0x4e5f59(0x162)][_0x4e5f59(0xed)]();}),_0x533d01=_0x409949[_0x260647(0x114)](this[_0x260647(0x184)][_0x260647(0xff)],_0x1ff93a),_0x533d01[_0x260647(0x12d)](_0x260647(0x101))['to'](_0x1ff93a,_0x260647(0x101)),_0x533d01[_0x260647(0x12d)](_0x260647(0x196))['to'](_0x1ff93a),_0x533d01[_0x260647(0x12d)](_0x260647(0x102))['to'](_0x1ff93a,_0x260647(0x102),_0x46475d=>_0x260647(0x188)+_0x46475d),_0x1ff93a['on'](_0x260647(0x137),()=>{const _0xfa35e0=_0x260647;_0x1789b3[_0xfa35e0(0x12a)](_0xfa35e0(0x137));}),this[_0x260647(0xfe)][_0x260647(0xf8)](_0x59468f['id'],_0x533d01));const _0x55a5f7=_0x42b6af[_0x260647(0x11f)](_0x59468f[_0x260647(0x11b)],_0x1ff93a),_0x446ec2=new _0x408b28(_0x382fc1,_0x59468f,_0x1ff93a,_0x55a5f7),_0x2cbc3c=_0x59468f[_0x260647(0x13b)]()[_0x260647(0x133)](_0x5e875c=>_0x5e875c[_0x260647(0x181)]);_0x1ff93a[_0x260647(0x138)]=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0xf6))[_0x260647(0x179)][_0x260647(0x14e)](_0x2cbc3c),this[_0x260647(0xf7)][_0x260647(0xf8)](_0x59468f,_0x446ec2),this[_0x260647(0x145)][_0x260647(0xf8)](_0x1ff93a,_0x446ec2);const _0x512a4e=()=>{const _0x49a8a5=_0x260647,_0x54b99a=[],_0x5ed57e=_0x59468f[_0x49a8a5(0x13b)]()[_0x49a8a5(0x133)](_0x5e76cd=>_0x5e76cd[_0x49a8a5(0x181)]);for(const _0x3ba922 of _0x5ed57e)_0x54b99a[_0x49a8a5(0x142)](..._0x3ba922[_0x49a8a5(0x110)]());return _0x53d80e(_0x382fc1[_0x49a8a5(0x13a)],_0x54b99a);};_0x1789b3=_0x409949[_0x260647(0x18a)]({'view':_0x533d01,'target':_0x512a4e,'type':()=>_0x260647(0x188)+_0x446ec2[_0x260647(0x162)][_0x260647(0x102)],'isVisible':!!_0x512a4e()}),_0x42b6af[_0x260647(0x18e)](_0x1ff93a,_0x1789b3),_0x409949[_0x260647(0x191)](_0x1789b3),_0x3f0f3d[_0x260647(0x15f)](_0x1789b3);}[_0x47da23(0x185)](_0x47b4f4){const _0x54b657=_0x47da23,_0x57fc82=this[_0x54b657(0x184)][_0x54b657(0xe7)][_0x54b657(0x18b)](_0x54b657(0x12e)),_0x3c7715=this[_0x54b657(0x184)][_0x54b657(0xe7)][_0x54b657(0x18b)](_0x54b657(0x150)),_0x1dcfe7=this[_0x54b657(0xf7)][_0x54b657(0x18b)](_0x47b4f4),_0x1bbef1=_0x1dcfe7[_0x54b657(0x162)],_0x31e038=_0x3c7715[_0x54b657(0x11a)](_0x1bbef1);_0x57fc82[_0x54b657(0x174)](_0x1bbef1),_0x31e038&&_0x3c7715[_0x54b657(0x16c)](_0x31e038),this[_0x54b657(0xf7)][_0x54b657(0xef)](_0x47b4f4),this[_0x54b657(0x145)][_0x54b657(0xef)](_0x1bbef1),_0x1dcfe7[_0x54b657(0xf2)]();}[_0x47da23(0xee)](_0x4d9619){const _0x4e8ff2=_0x47da23;if(!_0x4d9619[_0x4e8ff2(0x181)]||!this[_0x4e8ff2(0xf7)][_0x4e8ff2(0x109)](_0x4d9619))return;const _0x34b33f=this[_0x4e8ff2(0x184)][_0x4e8ff2(0xe7)][_0x4e8ff2(0x18b)](_0x4e8ff2(0xf6)),_0x41ee57=this[_0x4e8ff2(0xf7)][_0x4e8ff2(0x18b)](_0x4d9619),_0x52cc70=_0x4d9619[_0x4e8ff2(0x13b)]();_0x41ee57[_0x4e8ff2(0x162)][_0x4e8ff2(0x138)]=_0x34b33f[_0x4e8ff2(0x179)][_0x4e8ff2(0x14e)](_0x52cc70);}[_0x47da23(0xf2)](){const _0x1dfc69=_0x47da23;for(const _0x333f5f of this[_0x1dfc69(0xf7)][_0x1dfc69(0x177)]())this[_0x1dfc69(0x185)](_0x333f5f);for(const _0x3a0c65 of this[_0x1dfc69(0xfe)][_0x1dfc69(0x164)]())_0x3a0c65[_0x1dfc69(0x136)][_0x1dfc69(0xf2)]();super[_0x1dfc69(0xf2)](),this[_0x1dfc69(0xfc)]&&clearInterval(this[_0x1dfc69(0xfc)]);}}function ke(_0x228b31){const _0x361430=_0x47da23;return _0x361430(0x186)in _0x228b31;}function _0x4ed5(){const _0x483463=['getAllAdjacentSuggestions','trackChangesLicenseKeyNotAllowed','Track\x20changes','domainLimit','getSuggestion','acceptButton','Accept\x20all\x20suggestions','push','trackChangesLicenseKeyExpired','button','_viewToController','TrackChangesPreview','discardSelectedSuggestions','trackChangesLicenseKeyEvaluationLimit','TrackChangesUI','commentsListView','change:previous','panelView','590170vLHrli','getDescriptions','getAnnotationForSuggestion','Annotations','define','commandName','head','386573PcXaQu','_handleControllerBuffer','getJoined','featureNotAllowed','Accept\x20all\x20selected\x20suggestions','delegate','previous','addMany','config','items','lowest','registerAnnotation','reduce','value','view','trialLimit','values','trackChanges','menuitem','addComment','_addUIComponentsToFactory','pluginName','from','invalid','remove','trackChangesLicenseKeyDomainLimit','activeMarkers','getFirstRange','isOfficialPlugin','acceptAllSuggestions','12064KSgTdp','isOn','_unbindEditors','some','TrackChanges','keys','menu','descriptionFactory','_showLicenseError','evaluationLimit','614948ZGNvWr','refreshSelectedViews','getMarkerNames','trackChangesLicenseKeyUsageLimit','componentFactory','isInContent','SuggestionThreadView','306005ccmiRg','editor','_destroyController','model','clear','suggestion-','Discard\x20all\x20selected\x20suggestions','createAnnotation','get','activeAnnotations','CommentView','_bindAnnotationToEditors','stopListening','usageLimit','add','trackChanges.SuggestionThreadView','comments.editorConfig','getRanges','isMultiRange','length','8YHdXsz','comments.maxCommentCharsWhenCollapsed','trackChanges.disableComments','plugins','_handleSuggestionControllerDelayed','EditorAnnotations','6809823qHlZmP','trackChangesLicenseKeyInvalid','_disableComments','focus','_updateController','delete','toMany','commands','destroy','arrowView','6bjhvxr','unbind','TrackChangesEditing','_suggestionToController','set','suggestionLoaded','acceptSelectedSuggestions','suggestionView','_licenseKeyCheckInterval','switchbutton','_annotationViews','locale','change:activeAnnotations','isDirty','type','children','licenseKey','_initializeController','12eylnQF','expired','comments.maxCommentsWhenCollapsed','has','getSuggestionForAnnotation','suggestionChanged','innerView','_refreshActiveMarkers','addSourceCollector','isEnabled','getMarkers','370UOocYv','discardButton','trackChanges.SuggestionView','createAnnotationView','isPremiumPlugin','SuggestionView','source','comments','suggestionUnloaded','getByInnerView','commentThread','size','buttonView','menuitemcheckbox','createCommentThreadController','comments.maxThreadTotalWeight','_createMenuBarMenu','menuBar:trackChanges','695030HJCMCW','separator','CommentsUI','_createToolbarButton','listenTo','discardAllSuggestions','trackChangesLicenseKeyValid','fire','requires','init','bind','CommentsRepository','Preview\x20final\x20content','previewFinalContent','trackChangesLicenseKeyTrialLimit','execute','filter','hasSuggestion','Discard\x20all\x20suggestions','mainView','escape','descriptionParts','actionView','editing'];_0x4ed5=function(){return _0x483463;};return _0x4ed5();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x2f81(){const _0x10fe42=['_discardCommand','isEnabled','commentThreadController','canAccept','stopListening','acceptSuggestion','destroy','canEditAt','_removePendingAction','get','_pendingAction','discardSuggestion','commands','2yvZVHq','68SpCsOF','view','bind','1838556OlFgkW','canDiscard','PendingActions','remove','add','listenTo','change:isDirty','145655ozHjTX','PENDING_ACTION_SUGGESTION','13079430OSUeOd','319453fXeFIl','2234288yayYpL','locale','_setPendingAction','model','plugins','unbind','isDirty','_acceptCommand','execute','_editor','1807359IPJYlk','2820307UMfsui','getRanges'];_0x2f81=function(){return _0x10fe42;};return _0x2f81();}const _0x3441aa=_0x104f;(function(_0x565a84,_0x66c153){const _0x5b54f7=_0x104f,_0x491dbe=_0x565a84();while(!![]){try{const _0x56f0b0=-parseInt(_0x5b54f7(0x6f))/0x1*(parseInt(_0x5b54f7(0x8a))/0x2)+-parseInt(_0x5b54f7(0x7a))/0x3+-parseInt(_0x5b54f7(0x8b))/0x4*(parseInt(_0x5b54f7(0x6c))/0x5)+-parseInt(_0x5b54f7(0x65))/0x6+parseInt(_0x5b54f7(0x7b))/0x7+parseInt(_0x5b54f7(0x70))/0x8+parseInt(_0x5b54f7(0x6e))/0x9;if(_0x56f0b0===_0x66c153)break;else _0x491dbe['push'](_0x491dbe['shift']());}catch(_0x59a196){_0x491dbe['push'](_0x491dbe['shift']());}}}(_0x2f81,0x648fa));function _0x104f(_0x3ab74e,_0x54a3c8){const _0x2f81aa=_0x2f81();return _0x104f=function(_0x104fc6,_0x5a42e4){_0x104fc6=_0x104fc6-0x64;let _0xb04861=_0x2f81aa[_0x104fc6];return _0xb04861;},_0x104f(_0x3ab74e,_0x54a3c8);}import{ObservableMixin as _0x4c9012}from'ckeditor5/src/utils.js';import{getTranslation as _0x20b177}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4c9012(){[_0x3441aa(0x73)];[_0x3441aa(0x8c)];[_0x3441aa(0x7f)];[_0x3441aa(0x79)];[_0x3441aa(0x77)];[_0x3441aa(0x7d)];[_0x3441aa(0x87)];constructor(_0x3a7b8f,_0x513643,_0x125dc1,_0x28881c){const _0x4f47a7=_0x3441aa;super(),this[_0x4f47a7(0x73)]=_0x513643,this[_0x4f47a7(0x8c)]=_0x125dc1,this[_0x4f47a7(0x7f)]=_0x28881c,this[_0x4f47a7(0x79)]=_0x3a7b8f,this[_0x4f47a7(0x77)]=_0x3a7b8f[_0x4f47a7(0x89)][_0x4f47a7(0x86)](_0x4f47a7(0x82)),this[_0x4f47a7(0x7d)]=_0x3a7b8f[_0x4f47a7(0x89)][_0x4f47a7(0x86)](_0x4f47a7(0x88)),this[_0x4f47a7(0x8c)][_0x4f47a7(0x64)](_0x4f47a7(0x7e))['to'](this[_0x4f47a7(0x77)],this[_0x4f47a7(0x7d)],(_0x3c1e4d,_0x3cd4d6)=>_0x3c1e4d||_0x3cd4d6),this[_0x4f47a7(0x8c)][_0x4f47a7(0x64)](_0x4f47a7(0x80))['to'](this[_0x4f47a7(0x77)],_0x4f47a7(0x7e),_0x1ff1c2=>_0x1ff1c2&&this[_0x4f47a7(0x79)][_0x4f47a7(0x73)][_0x4f47a7(0x84)](_0x513643[_0x4f47a7(0x7c)]())),this[_0x4f47a7(0x8c)][_0x4f47a7(0x64)](_0x4f47a7(0x66))['to'](this[_0x4f47a7(0x7d)],_0x4f47a7(0x7e),_0x52245b=>_0x52245b&&this[_0x4f47a7(0x79)][_0x4f47a7(0x73)][_0x4f47a7(0x84)](_0x513643[_0x4f47a7(0x7c)]())),this[_0x4f47a7(0x87)]=null,_0x125dc1[_0x4f47a7(0x76)]&&this[_0x4f47a7(0x72)](),this[_0x4f47a7(0x6a)](_0x125dc1,_0x4f47a7(0x82),()=>this[_0x4f47a7(0x82)]()),this[_0x4f47a7(0x6a)](_0x125dc1,_0x4f47a7(0x88),()=>this[_0x4f47a7(0x88)]()),this[_0x4f47a7(0x6a)](_0x125dc1,_0x4f47a7(0x6b),()=>{const _0x17d98b=_0x4f47a7;_0x125dc1[_0x17d98b(0x76)]?this[_0x17d98b(0x72)]():this[_0x17d98b(0x85)]();});}[_0x3441aa(0x82)](){const _0xeefe23=_0x3441aa;this[_0xeefe23(0x77)][_0xeefe23(0x78)](this[_0xeefe23(0x73)]['id']);}[_0x3441aa(0x88)](){const _0x4207f7=_0x3441aa;this[_0x4207f7(0x7d)][_0x4207f7(0x78)](this[_0x4207f7(0x73)]['id']);}[_0x3441aa(0x83)](){const _0x2888fe=_0x3441aa;this[_0x2888fe(0x8c)][_0x2888fe(0x75)](_0x2888fe(0x7e)),this[_0x2888fe(0x8c)][_0x2888fe(0x75)](_0x2888fe(0x80)),this[_0x2888fe(0x8c)][_0x2888fe(0x75)](_0x2888fe(0x66)),this[_0x2888fe(0x81)](),this[_0x2888fe(0x7f)][_0x2888fe(0x83)](),this[_0x2888fe(0x87)]&&this[_0x2888fe(0x85)]();}[_0x3441aa(0x72)](){const _0x3e561f=_0x3441aa,_0x2df6b1=_0x20b177(this[_0x3e561f(0x79)][_0x3e561f(0x71)],_0x3e561f(0x6d));this[_0x3e561f(0x87)]=this[_0x3e561f(0x79)][_0x3e561f(0x74)][_0x3e561f(0x86)](_0x3e561f(0x67))[_0x3e561f(0x69)](_0x2df6b1);}[_0x3441aa(0x85)](){const _0x4d7551=_0x3441aa;null!==this[_0x4d7551(0x87)]&&this[_0x4d7551(0x79)][_0x4d7551(0x74)][_0x4d7551(0x86)](_0x4d7551(0x67))[_0x4d7551(0x68)](this[_0x4d7551(0x87)]),this[_0x4d7551(0x87)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdec65=_0x4ed3;(function(_0x2fbeab,_0x2bd1fa){const _0x18a3a1=_0x4ed3,_0x941180=_0x2fbeab();while(!![]){try{const _0x494755=-parseInt(_0x18a3a1(0x189))/0x1*(parseInt(_0x18a3a1(0x167))/0x2)+-parseInt(_0x18a3a1(0x186))/0x3+parseInt(_0x18a3a1(0x19d))/0x4*(parseInt(_0x18a3a1(0x18e))/0x5)+-parseInt(_0x18a3a1(0x17f))/0x6+parseInt(_0x18a3a1(0x17d))/0x7*(parseInt(_0x18a3a1(0x19b))/0x8)+parseInt(_0x18a3a1(0x191))/0x9*(parseInt(_0x18a3a1(0x196))/0xa)+parseInt(_0x18a3a1(0x198))/0xb*(-parseInt(_0x18a3a1(0x18a))/0xc);if(_0x494755===_0x2bd1fa)break;else _0x941180['push'](_0x941180['shift']());}catch(_0x33bf75){_0x941180['push'](_0x941180['shift']());}}}(_0x22f7,0xe5645));import{FocusCycler as _0x359c61,View as _0x4be6fe,ViewCollection as _0x37ed0c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e0aba,KeystrokeHandler as _0x293642}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x5d196b,setupThreadKeyboardNavigation as _0x1f73b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x547767}from'../../utils/common-translations.js';function _0x4ed3(_0x56a353,_0xfbdcb){const _0x22f774=_0x22f7();return _0x4ed3=function(_0x4ed396,_0xbb6c00){_0x4ed396=_0x4ed396-0x158;let _0x19f30d=_0x22f774[_0x4ed396];return _0x19f30d;},_0x4ed3(_0x56a353,_0xfbdcb);}function _0x22f7(){const _0x540dfb=['body','focus','content','disableComments','canAccept','133618gEmWJA','commentInputView','_config','disabledSubmit','parseFromString','length','formatDateTime','delegate','addComment','join','isReadOnly','canDiscard','map','removeComment','submit','target','assign','hasDirtyComment','focusTracker','keystrokes','isDirty','locale','7lOJjTL','isEnabled','3863976XjKzbZ','authoredAt','cancel','_createCommentViews','ariaDescriptionView','editor','focusCycler','4123947snVHRx','value','ariaLabel','7OnKINm','4596168WPeTsN','element','name','fire','5CjVbcF','descriptionParts','updateComment','9ModPhR','author','_localUser','_createCommentThreadInputView','SUGGESTION_THREAD_DESCRIPTION','12016790FckUxo','text/html','11PcABgK','tab','showInput','6523176Wykvui','set','7167340mrjyji','SUGGESTION_THREAD_ARIA_LABEL','CommentView','isActive','bind','commentThread','editorConfig','commentsListView','setData','_model','focusables','destroy','shift+tab','commentThreadInputView','render','textContent'];_0x22f7=function(){return _0x540dfb;};return _0x22f7();}import{renderDescription as _0x46cd08}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4be6fe{[_0xdec65(0x159)];[_0xdec65(0x15f)];[_0xdec65(0x183)];[_0xdec65(0x15c)];[_0xdec65(0x179)];[_0xdec65(0x17a)];[_0xdec65(0x185)];[_0xdec65(0x15b)];[_0xdec65(0x193)];[_0xdec65(0x169)];constructor(_0x43c66a,_0x1b1982,_0x1fa05e,_0x3b9115){const _0x1e0f84=_0xdec65;super(_0x43c66a),this[_0x1e0f84(0x159)]=null,this[_0x1e0f84(0x15f)]=null,this[_0x1e0f84(0x183)]=new _0x5d196b(_0x43c66a,_0x547767(_0x43c66a,_0x1e0f84(0x195))),this[_0x1e0f84(0x19c)](_0x1e0f84(0x1a0),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x180),_0x1b1982[_0x1e0f84(0x180)]),this[_0x1e0f84(0x1a1)](_0x1e0f84(0x180))['to'](_0x1b1982),this[_0x1e0f84(0x19c)](_0x1e0f84(0x18f),[]),this[_0x1e0f84(0x19c)](_0x1e0f84(0x17b),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x17e),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x166),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x172),!0x1),this[_0x1e0f84(0x1a1)](_0x1e0f84(0x188))['to'](this,_0x1e0f84(0x16c),_0x1b1982,_0x1e0f84(0x180),this,_0x1e0f84(0x18f),(_0x21c68b,_0x479095,_0x48aaff)=>{const _0x32e8df=_0x1e0f84,_0x465a02=_0x48aaff[_0x32e8df(0x173)](_0x5a1f22=>_0x46cd08(_0x5a1f22[_0x32e8df(0x164)]))[_0x32e8df(0x170)]('.\x20')+'.';return _0x547767(this[_0x32e8df(0x17c)],_0x32e8df(0x19e),[_0x21c68b-0x1,_0x1b1982[_0x32e8df(0x192)][_0x32e8df(0x18c)],_0x479095?_0x3b9115[_0x32e8df(0x16d)](_0x479095):'',new DOMParser()[_0x32e8df(0x16b)](_0x465a02,_0x32e8df(0x197))[_0x32e8df(0x162)][_0x32e8df(0x161)]]);}),this[_0x1e0f84(0x15c)]=new _0x37ed0c(),this[_0x1e0f84(0x179)]=new _0x3e0aba(),this[_0x1e0f84(0x17a)]=new _0x293642(),this[_0x1e0f84(0x185)]=new _0x359c61({'focusables':this[_0x1e0f84(0x15c)],'focusTracker':this[_0x1e0f84(0x179)],'keystrokeHandler':this[_0x1e0f84(0x17a)],'keystrokeHandlerOptions':{'filter':_0x3fa608=>_0x3fa608[_0x1e0f84(0x176)]!==this[_0x1e0f84(0x18b)]},'actions':{'focusPrevious':_0x1e0f84(0x15e),'focusNext':_0x1e0f84(0x199)}}),this[_0x1e0f84(0x15b)]=_0x1b1982,this[_0x1e0f84(0x193)]=_0x1fa05e,this[_0x1e0f84(0x169)]=_0x3b9115,_0x3b9115[_0x1e0f84(0x165)]?this[_0x1e0f84(0x19c)](_0x1e0f84(0x16c),0x1):this[_0x1e0f84(0x182)]();}[_0xdec65(0x160)](){const _0x2faf3b=_0xdec65;super[_0x2faf3b(0x160)](),_0x1f73b2(this,this[_0x2faf3b(0x15c)]);}[_0xdec65(0x163)](){const _0x2b5df8=_0xdec65;this[_0x2b5df8(0x18b)][_0x2b5df8(0x163)]();}[_0xdec65(0x15d)](){const _0x18d3f9=_0xdec65;this[_0x18d3f9(0x159)]&&this[_0x18d3f9(0x159)][_0x18d3f9(0x15d)](),this[_0x18d3f9(0x15f)]&&this[_0x18d3f9(0x15f)][_0x18d3f9(0x15d)](),super[_0x18d3f9(0x15d)]();}[_0xdec65(0x182)](){const _0x440545=_0xdec65,{CommentsListView:_0x50b342}=this[_0x440545(0x169)];this[_0x440545(0x159)]=new _0x50b342(this[_0x440545(0x17c)],this[_0x440545(0x15b)][_0x440545(0x1a2)],Object[_0x440545(0x177)]({'CommentView':this[_0x440545(0x169)][_0x440545(0x19f)]},this[_0x440545(0x169)])),this[_0x440545(0x159)][_0x440545(0x16e)](_0x440545(0x174))['to'](this),this[_0x440545(0x159)][_0x440545(0x16e)](_0x440545(0x190))['to'](this),this[_0x440545(0x159)][_0x440545(0x1a1)](_0x440545(0x1a0))['to'](this),this[_0x440545(0x19c)](_0x440545(0x16c),this[_0x440545(0x159)][_0x440545(0x16c)]+0x1),this[_0x440545(0x1a1)](_0x440545(0x16c))['to'](this[_0x440545(0x159)],_0x440545(0x16c),_0x4e4a3f=>_0x4e4a3f+0x1),this[_0x440545(0x15f)]=this[_0x440545(0x194)](),this['on'](_0x440545(0x174),()=>this[_0x440545(0x163)]()),this[_0x440545(0x1a1)](_0x440545(0x17b))['to'](this[_0x440545(0x159)],_0x440545(0x178),this[_0x440545(0x15f)][_0x440545(0x168)],_0x440545(0x187),(_0x4b86cb,_0x3f7753)=>_0x4b86cb||!!_0x3f7753);}[_0xdec65(0x194)](){const _0x338a2d=_0xdec65,{CommentThreadInputView:_0x386f55}=this[_0x338a2d(0x169)],_0x4fbca1=new _0x386f55(this[_0x338a2d(0x17c)],this[_0x338a2d(0x193)],this[_0x338a2d(0x169)][_0x338a2d(0x158)]),_0x15ac79=_0x4fbca1[_0x338a2d(0x168)];return _0x4fbca1[_0x338a2d(0x1a1)](_0x338a2d(0x19a))['to'](this,_0x338a2d(0x1a0),this[_0x338a2d(0x15b)][_0x338a2d(0x1a2)],_0x338a2d(0x171),_0x15ac79,_0x338a2d(0x187),(_0x19f986,_0x353371,_0x50c3b8)=>!!_0x50c3b8||_0x19f986&&!_0x353371),_0x15ac79['on'](_0x338a2d(0x175),(_0xc19937,_0x354ec9)=>{const _0x2a5f33=_0x338a2d;this[_0x2a5f33(0x18d)](_0x2a5f33(0x16f),_0x354ec9),_0x15ac79[_0x2a5f33(0x184)][_0x2a5f33(0x15a)]('');}),_0x15ac79['on'](_0x338a2d(0x181),()=>this[_0x338a2d(0x163)]()),_0x15ac79[_0x338a2d(0x1a1)](_0x338a2d(0x16a))['to'](this[_0x338a2d(0x15b)][_0x338a2d(0x1a2)],_0x338a2d(0x171)),_0x4fbca1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x180573=_0x2588;(function(_0x2a0894,_0x337f4a){const _0x1ed733=_0x2588,_0x38e743=_0x2a0894();while(!![]){try{const _0x1004b7=parseInt(_0x1ed733(0x1bf))/0x1+parseInt(_0x1ed733(0x1b3))/0x2*(parseInt(_0x1ed733(0x1b6))/0x3)+parseInt(_0x1ed733(0x1af))/0x4*(parseInt(_0x1ed733(0x1ae))/0x5)+-parseInt(_0x1ed733(0x1ab))/0x6*(-parseInt(_0x1ed733(0x1c7))/0x7)+-parseInt(_0x1ed733(0x1ad))/0x8+parseInt(_0x1ed733(0x1c4))/0x9+-parseInt(_0x1ed733(0x1a1))/0xa;if(_0x1004b7===_0x337f4a)break;else _0x38e743['push'](_0x38e743['shift']());}catch(_0xb1ed9d){_0x38e743['push'](_0x38e743['shift']());}}}(_0x1037,0xa823b));import{BaseSuggestionThreadView as _0x155119}from'./basesuggestionthreadview.js';import{trimHtml as _0xa9a9a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1d8ce8}from'../../utils/utils.js';export class SuggestionThreadView extends _0x155119{[_0x180573(0x1a3)];[_0x180573(0x19a)];constructor(_0x3fddc9,_0xe0e808,_0x43f6d5,_0x54b5ee){const _0x59dfae=_0x180573;super(_0x3fddc9,_0xe0e808,_0x43f6d5,_0x54b5ee),this[_0x59dfae(0x195)](_0x59dfae(0x1c8),''),this[_0x59dfae(0x19e)](_0x59dfae(0x1c8))['to'](this,_0x59dfae(0x1a6),_0x59f6ae=>_0x59f6ae&&_0x59f6ae[0x0]?_0x59f6ae[0x0][_0x59dfae(0x1c8)]:''),this[_0x59dfae(0x19e)](_0x59dfae(0x1ba))['to'](this,_0x59dfae(0x1a6),this,_0x59dfae(0x199),(_0x1dc37a,_0x3603ae)=>{const _0x20cea2=_0x59dfae;let _0x14221c='';for(const _0x32853a of _0x1dc37a)_0x14221c+=_0x20cea2(0x1aa)+_0x1d8ce8(_0x32853a[_0x20cea2(0x1b2)],_0x32853a[_0x20cea2(0x19c)])+_0x20cea2(0x197);return _0x3603ae?_0x14221c:_0xa9a9a9(_0x14221c,{'limit':0x8c});}),this[_0x59dfae(0x19a)]=null,this[_0x59dfae(0x1a3)]=new _0x54b5ee[(_0x59dfae(0x1c3))](_0x3fddc9,_0xe0e808,{'formatDateTime':_0x54b5ee[_0x59dfae(0x1b4)]}),this[_0x59dfae(0x1a3)][_0x59dfae(0x19e)](_0x59dfae(0x1ba))['to'](this),this[_0x59dfae(0x1a3)][_0x59dfae(0x1a0)](_0x59dfae(0x1b1),_0x59dfae(0x1b8))['to'](this),this[_0x59dfae(0x1a3)][_0x59dfae(0x1c1)][_0x59dfae(0x19e)](_0x59dfae(0x1a2))['to'](this,_0x59dfae(0x1bd)),this[_0x59dfae(0x1a3)][_0x59dfae(0x1c9)][_0x59dfae(0x19e)](_0x59dfae(0x1a2))['to'](this,_0x59dfae(0x1b7)),this[_0x59dfae(0x1cb)][_0x59dfae(0x1a9)](this[_0x59dfae(0x1a3)]),this[_0x59dfae(0x196)]&&this[_0x59dfae(0x1cb)][_0x59dfae(0x1a9)](this[_0x59dfae(0x196)]),this[_0x59dfae(0x1bb)]&&this[_0x59dfae(0x1cb)][_0x59dfae(0x1a9)](this[_0x59dfae(0x1bb)]),this[_0x59dfae(0x1a7)](this[_0x59dfae(0x19f)]());}[_0x180573(0x19f)](){const _0x20ad96=_0x180573,_0x2d5cbc=this[_0x20ad96(0x1bc)],_0x2bedad=[this[_0x20ad96(0x1a3)]];return this[_0x20ad96(0x196)]&&_0x2bedad[_0x20ad96(0x198)](this[_0x20ad96(0x196)]),this[_0x20ad96(0x1bb)]&&_0x2bedad[_0x20ad96(0x198)](this[_0x20ad96(0x1bb)]),_0x2bedad[_0x20ad96(0x198)](this[_0x20ad96(0x1cc)]),{'tag':_0x20ad96(0x1c0),'attributes':{'class':['ck',_0x20ad96(0x1a4),_0x20ad96(0x1a5),_0x2d5cbc['if'](_0x20ad96(0x199),_0x20ad96(0x1c6)),_0x2d5cbc['to'](_0x20ad96(0x1c8),_0x1e07a2=>_0x20ad96(0x1be)+_0x1e07a2),this[_0x20ad96(0x1b0)][_0x20ad96(0x1ac)]&&_0x20ad96(0x1b9)],'data-suggestion-id':this[_0x20ad96(0x19b)]['id'],'data-thread-id':this[_0x20ad96(0x19b)][_0x20ad96(0x1c5)]['id'],'data-author-id':this[_0x20ad96(0x19b)][_0x20ad96(0x194)]['id'],'tabindex':0x0,'role':_0x20ad96(0x1b5),'aria-label':_0x2d5cbc['to'](_0x20ad96(0x1c2)),'aria-describedby':this[_0x20ad96(0x1cc)]['id']},'children':_0x2bedad};}[_0x180573(0x1a8)](){const _0x43af36=_0x180573;super[_0x43af36(0x1a8)](),this[_0x43af36(0x196)]&&(this[_0x43af36(0x196)][_0x43af36(0x1a0)](_0x43af36(0x19d))['to'](this),this[_0x43af36(0x196)][_0x43af36(0x1a0)](_0x43af36(0x1ca))['to'](this)),this[_0x43af36(0x1bb)]&&(this[_0x43af36(0x1bb)][_0x43af36(0x1a0)](_0x43af36(0x19d))['to'](this),this[_0x43af36(0x1bb)][_0x43af36(0x1a0)](_0x43af36(0x1ca))['to'](this));}}function _0x2588(_0x307ec3,_0xfddc0d){const _0x1037d6=_0x1037();return _0x2588=function(_0x258876,_0x4bea1e){_0x258876=_0x258876-0x194;let _0x5404dd=_0x1037d6[_0x258876];return _0x5404dd;},_0x2588(_0x307ec3,_0xfddc0d);}function _0x1037(){const _0x1647a0=['35HEbOkW','type','discardButton','editorDestroyed','focusables','ariaDescriptionView','author','set','commentsListView','</p>','push','isActive','_descriptionElement','_model','color','editorReady','bind','getTemplate','delegate','20639840slxaaq','isEnabled','suggestionView','ck-rounded-corners','ck-suggestion-wrapper','descriptionParts','setTemplate','render','add','<p>','882102OqdQHA','disableComments','4526176fZThjz','875QvZnCZ','1312CWinFf','_config','acceptSuggestion','content','3190hpCJVK','formatDateTime','listitem','1863HAQMzF','canDiscard','discardSuggestion','ck-suggestion--disabled-comments','description','commentThreadInputView','bindTemplate','canAccept','ck-suggestion-','762815dvQbdp','div','acceptButton','ariaLabel','SuggestionView','6953940gomxVt','commentThread','ck-suggestion-wrapper--active'];_0x1037=function(){return _0x1647a0;};return _0x1037();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b5151=_0x580d;(function(_0x33897d,_0x1febec){const _0x567d44=_0x580d,_0x5aa4d2=_0x33897d();while(!![]){try{const _0x4b397c=-parseInt(_0x567d44(0xee))/0x1+parseInt(_0x567d44(0x102))/0x2*(-parseInt(_0x567d44(0xef))/0x3)+parseInt(_0x567d44(0x115))/0x4*(-parseInt(_0x567d44(0x10a))/0x5)+parseInt(_0x567d44(0xce))/0x6*(-parseInt(_0x567d44(0xdb))/0x7)+-parseInt(_0x567d44(0xcd))/0x8*(parseInt(_0x567d44(0xfb))/0x9)+parseInt(_0x567d44(0xd3))/0xa*(-parseInt(_0x567d44(0x116))/0xb)+parseInt(_0x567d44(0xdc))/0xc*(parseInt(_0x567d44(0x10d))/0xd);if(_0x4b397c===_0x1febec)break;else _0x5aa4d2['push'](_0x5aa4d2['shift']());}catch(_0x408876){_0x5aa4d2['push'](_0x5aa4d2['shift']());}}}(_0x4ff6,0xecbb2));import{FocusTracker as _0xac8321,KeystrokeHandler as _0x319108}from'ckeditor5/src/utils.js';function _0x4ff6(){const _0x4902bf=['ck-annotation__content-wrapper','ck-annotation__user','span','ck-annotation__info-name','bind','div','innerHTML','presentation','1666058qrlkGk','2517tdqtMT','setTemplate','EXTERNAL_SUGGESTION','enter','fire','_config','ck-suggestion__user','getUserViewNotificationText','ck-annotation__info','importWord','discardSuggestion','_model','18LMHOTy','userView','.ck-annotation__content-wrapper','ck-annotation__main','add','ck-comment__external','target','2126RIUbiU','time','focus','ck-suggestion--discard','render','ck-suggestion','acceptButton','source','5456845WaWgJf','getTemplate','getExternalSuggestionNote','104053066SmccIF','ck-annotation__info-time','listenTo','acceptSuggestion','EXTERNAL_IMPORT_WORD_AVATAR','isExternal','ck-annotation__actions','ck-suggestion__main','4ZOWKFv','10496684ugwzNW','authoredAt','description','attributes','discardButton','EXTERNAL_AVATAR','ck-suggestion--accept','ck-comment__info-time','Discard\x20suggestion','focusCycler','ck-suggestion__info','set','shift+tab','element','esc','focusTracker','creator','focusables','tab','3610216hzWbuW','66450WaNlDs','author','push','_createButton','ck-suggestion__info-name','10ZeGzVp','extendTemplate','keystrokes','@external','_setupKeyboardNavigation','locale','focusFirst','formatDateTime','966UvpvmC','12GMUmcr','ck-annotation','execute','querySelector','bindTemplate','change:description','Accept\x20suggestion','ck-suggestion__actions','name','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x4ff6=function(){return _0x4902bf;};return _0x4ff6();}import{View as _0x16362d,ViewCollection as _0x34f5b3,FocusCycler as _0x3a12e1}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xdb9dba,UserView as _0x337f04}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1e50bb,IconCheck as _0x306514}from'ckeditor5/src/icons.js';function _0x580d(_0x2c3197,_0x2ab501){const _0x4ff65f=_0x4ff6();return _0x580d=function(_0x580d4c,_0x580bec){_0x580d4c=_0x580d4c-0xbb;let _0x5c6764=_0x4ff65f[_0x580d4c];return _0x5c6764;},_0x580d(_0x2c3197,_0x2ab501);}import{getTranslation as _0x52bd64}from'../../utils/common-translations.js';export class SuggestionView extends _0x16362d{[_0x3b5151(0xfc)];[_0x3b5151(0x108)];[_0x3b5151(0xbe)];[_0x3b5151(0xcb)];[_0x3b5151(0xc9)];[_0x3b5151(0xd5)];[_0x3b5151(0xc3)];[_0x3b5151(0xfa)];[_0x3b5151(0xf4)];constructor(_0x470bd2,_0x3a369a,_0x5822da){const _0x3fad2f=_0x3b5151;super(_0x470bd2),this[_0x3fad2f(0xfa)]=_0x3a369a,this[_0x3fad2f(0xf4)]=_0x5822da,this[_0x3fad2f(0xc5)](_0x3fad2f(0xbc),''),this[_0x3fad2f(0xea)](_0x3fad2f(0xbb))['to'](_0x3a369a),this[_0x3fad2f(0x108)]=this[_0x3fad2f(0xd1)](_0x52bd64(_0x470bd2,_0x3fad2f(0xe2)),_0x306514,_0x3fad2f(0xc0),_0x3fad2f(0x110),'sw'),this[_0x3fad2f(0xbe)]=this[_0x3fad2f(0xd1)](_0x52bd64(_0x470bd2,_0x3fad2f(0xc2)),_0x1e50bb,_0x3fad2f(0x105),_0x3fad2f(0xf9),'sw'),this[_0x3fad2f(0xfc)]=new _0x337f04(_0x470bd2,_0x3a369a[_0x3fad2f(0xcf)],this[_0x3fad2f(0xf6)]()),this[_0x3fad2f(0xfc)][_0x3fad2f(0xd4)]({'attributes':{'class':[_0x3fad2f(0xf5),_0x3fad2f(0xe7)],'aria-hidden':!0x0}}),this[_0x3fad2f(0xcb)]=new _0x34f5b3([this[_0x3fad2f(0x108)],this[_0x3fad2f(0xbe)]]),this[_0x3fad2f(0xc9)]=new _0xac8321(),this[_0x3fad2f(0xd5)]=new _0x319108(),this[_0x3fad2f(0xc3)]=new _0x3a12e1({'focusables':this[_0x3fad2f(0xcb)],'focusTracker':this[_0x3fad2f(0xc9)],'keystrokeHandler':this[_0x3fad2f(0xd5)],'actions':{'focusPrevious':_0x3fad2f(0xc6),'focusNext':_0x3fad2f(0xcc)},'keystrokeHandlerOptions':{'filter':_0x2cd98d=>_0x2cd98d[_0x3fad2f(0x101)]!==this[_0x3fad2f(0xc7)]}}),this[_0x3fad2f(0xf0)](this[_0x3fad2f(0x10b)]());}[_0x3b5151(0x106)](){const _0x136c51=_0x3b5151;super[_0x136c51(0x106)]();const _0x156502=this[_0x136c51(0xc7)][_0x136c51(0xdf)](_0x136c51(0xfd));_0x156502[_0x136c51(0xec)]=this[_0x136c51(0xbc)],this['on'](_0x136c51(0xe1),(_0x3e9916,_0x40e166,_0x3cac41)=>{const _0x21bdbd=_0x136c51;_0x156502[_0x21bdbd(0xec)]=_0x3cac41;}),this[_0x136c51(0xd7)]();}[_0x3b5151(0x10b)](){const _0x3d29ed=_0x3b5151,_0x23a8e3=this[_0x3d29ed(0xe0)],_0x2e0414=[{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0xc4),_0x3d29ed(0xf7)]},'children':[{'tag':_0x3d29ed(0xe8),'children':[{'text':this[_0x3d29ed(0xfc)][_0x3d29ed(0xe4)]}],'attributes':{'class':[_0x3d29ed(0xd2),_0x3d29ed(0xe9)],'data-cke-tooltip-text':this[_0x3d29ed(0xfc)][_0x3d29ed(0xe4)]}},{'tag':_0x3d29ed(0x103),'attributes':{'datetime':_0x23a8e3['to'](_0x3d29ed(0xbb)),'class':[_0x3d29ed(0xc1),_0x3d29ed(0x10e)]},'children':[{'text':_0x23a8e3['to'](_0x3d29ed(0xbb),_0x31eddb=>this[_0x3d29ed(0xf4)][_0x3d29ed(0xda)](_0x31eddb))}]}]},{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0xe3),_0x3d29ed(0x113)]},'children':[this[_0x3d29ed(0x108)],this[_0x3d29ed(0xbe)]]},{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0xe6)]}}];return this[_0x3d29ed(0xfa)][_0x3d29ed(0x112)]&&_0x2e0414[_0x3d29ed(0xd0)]({'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0x100)]},'children':[{'text':this[_0x3d29ed(0x10c)]()}]}),{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0x107),_0x3d29ed(0xdd)],'tabindex':-0x1},'children':[this[_0x3d29ed(0xfc)],{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0x114),_0x3d29ed(0xfe)],'role':_0x3d29ed(0xed)},'children':_0x2e0414}]};}[_0x3b5151(0x104)](){const _0x20195c=_0x3b5151;this[_0x20195c(0xc7)][_0x20195c(0x104)]();}[_0x3b5151(0xf6)](){const _0x241883=_0x3b5151;return this[_0x241883(0xfa)][_0x241883(0x112)]?_0x241883(0xf8)===this[_0x241883(0xfa)][_0x241883(0xbd)][_0x241883(0xd6)][_0x241883(0x109)]?_0x52bd64(this[_0x241883(0xd8)],_0x241883(0x111),this[_0x241883(0xfa)][_0x241883(0xca)][_0x241883(0xe4)]):_0x52bd64(this[_0x241883(0xd8)],_0x241883(0xbf),this[_0x241883(0xfa)][_0x241883(0xca)][_0x241883(0xe4)]):null;}[_0x3b5151(0x10c)](){const _0x287a39=_0x3b5151;return _0x287a39(0xf8)===this[_0x287a39(0xfa)][_0x287a39(0xbd)][_0x287a39(0xd6)][_0x287a39(0x109)]?_0x52bd64(this[_0x287a39(0xd8)],_0x287a39(0xe5)):_0x52bd64(this[_0x287a39(0xd8)],_0x287a39(0xf1));}[_0x3b5151(0xd1)](_0x2f28f0,_0x1a0b5f,_0x9acb2c,_0x11d5d5,_0x18fbe1){const _0x2721d6=_0x3b5151,_0x16881e=new _0xdb9dba(this[_0x2721d6(0xd8)]);return _0x16881e[_0x2721d6(0xc5)]({'label':_0x2f28f0,'icon':_0x1a0b5f,'tooltip':!0x0,'tooltipPosition':_0x18fbe1}),_0x16881e[_0x2721d6(0xd4)]({'attributes':{'class':_0x9acb2c}}),_0x16881e['on'](_0x2721d6(0xde),()=>{const _0x33d5c5=_0x2721d6;this[_0x33d5c5(0xf3)](_0x11d5d5,this[_0x33d5c5(0xfa)]['id']);}),_0x16881e;}[_0x3b5151(0xd7)](){const _0x34fc7d=_0x3b5151,_0x54c1cd=this[_0x34fc7d(0xc7)];this[_0x34fc7d(0xd5)][_0x34fc7d(0x10f)](_0x54c1cd);for(const _0x17040b of this[_0x34fc7d(0xcb)])this[_0x34fc7d(0xc9)][_0x34fc7d(0xff)](_0x17040b[_0x34fc7d(0xc7)]),this[_0x34fc7d(0xd5)][_0x34fc7d(0x10f)](_0x17040b[_0x34fc7d(0xc7)]);this[_0x34fc7d(0xd5)][_0x34fc7d(0xc5)](_0x34fc7d(0xf2),(_0x5221f1,_0x152816)=>{const _0x39656d=_0x34fc7d;_0x54c1cd===_0x5221f1[_0x39656d(0x101)]&&(this[_0x39656d(0xc3)][_0x39656d(0xd9)](),_0x152816());}),this[_0x34fc7d(0xd5)][_0x34fc7d(0xc5)](_0x34fc7d(0xc8),(_0x54a373,_0x211bb2)=>{const _0x5e13ad=_0x34fc7d;_0x54c1cd!==_0x54a373[_0x5e13ad(0x101)]&&(this[_0x5e13ad(0x104)](),_0x211bb2());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x44124a=_0x3e50;(function(_0x4bcfea,_0x57f3a6){const _0x428ee1=_0x3e50,_0x512bb9=_0x4bcfea();while(!![]){try{const _0x22bf75=parseInt(_0x428ee1(0x164))/0x1+parseInt(_0x428ee1(0x17a))/0x2*(-parseInt(_0x428ee1(0x160))/0x3)+-parseInt(_0x428ee1(0x166))/0x4+-parseInt(_0x428ee1(0x17c))/0x5*(-parseInt(_0x428ee1(0x16d))/0x6)+parseInt(_0x428ee1(0x161))/0x7*(-parseInt(_0x428ee1(0x178))/0x8)+parseInt(_0x428ee1(0x17b))/0x9+parseInt(_0x428ee1(0x17f))/0xa*(-parseInt(_0x428ee1(0x16c))/0xb);if(_0x22bf75===_0x57f3a6)break;else _0x512bb9['push'](_0x512bb9['shift']());}catch(_0x32a386){_0x512bb9['push'](_0x512bb9['shift']());}}}(_0x5d07,0x73d14));function _0x3e50(_0x45b333,_0x25996f){const _0x5d07b7=_0x5d07();return _0x3e50=function(_0x3e50e4,_0x21e484){_0x3e50e4=_0x3e50e4-0x15f;let _0x542435=_0x5d07b7[_0x3e50e4];return _0x542435;},_0x3e50(_0x45b333,_0x25996f);}function _0x5d07(){const _0x33acf7=['176YNYwId','height','4276JqIcOq','4790583eRtjkf','8315SVZiNl','createElement','fire','10AVPgzi','setAttribute','style','setPreviewData','204xpiDee','69650qGWEmw','width','ck-track-changes-preview','841868WVKIwb','setTemplate','3426480NXjTPQ','\x20ck-track-changes-preview__root-container','data-ck-root-name','className','push','options','363902RNHwPG','1278dBqBZs','div','dialogRects','previewDataReady','focus','content','render','element','classes','innerHTML','ck-reset'];_0x5d07=function(){return _0x33acf7;};return _0x5d07();}import{View as _0x2661ae}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x2661ae{[_0x44124a(0x16b)];constructor(_0x16b158,_0x207b4a){const _0x3a8447=_0x44124a;super(_0x16b158),this[_0x3a8447(0x16b)]=_0x207b4a,this[_0x3a8447(0x165)]({'tag':_0x3a8447(0x16e),'attributes':{'class':['ck',_0x3a8447(0x177),_0x3a8447(0x163)],'tabindex':-0x1}});}[_0x44124a(0x173)](){const _0x1fd0bb=_0x44124a;super[_0x1fd0bb(0x173)](),this[_0x1fd0bb(0x174)][_0x1fd0bb(0x181)][_0x1fd0bb(0x162)]=this[_0x1fd0bb(0x16b)][_0x1fd0bb(0x16f)][_0x1fd0bb(0x162)]+'px',this[_0x1fd0bb(0x174)][_0x1fd0bb(0x181)][_0x1fd0bb(0x179)]=this[_0x1fd0bb(0x16b)][_0x1fd0bb(0x16f)][_0x1fd0bb(0x179)]+'px';}[_0x44124a(0x15f)](_0x35ac89,_0x5b7720){const _0x322aa4=_0x44124a;if(!this[_0x322aa4(0x174)])return;const _0x10744c=[];for(const [_0x1c4a50,_0x9238cc]of _0x35ac89){const _0x1f2b3d=document[_0x322aa4(0x17d)](_0x322aa4(0x16e));_0x1f2b3d[_0x322aa4(0x180)](_0x322aa4(0x168),_0x1c4a50),_0x1f2b3d[_0x322aa4(0x169)]=_0x9238cc[_0x322aa4(0x175)]+_0x322aa4(0x167),_0x1f2b3d[_0x322aa4(0x176)]=_0x9238cc[_0x322aa4(0x172)],_0x10744c[_0x322aa4(0x16a)](_0x1f2b3d);}_0x5b7720(this[_0x322aa4(0x174)],_0x10744c),this[_0x322aa4(0x174)][_0x322aa4(0x181)][_0x322aa4(0x179)]='',this[_0x322aa4(0x17e)](_0x322aa4(0x170));}[_0x44124a(0x171)](){const _0x1eb805=_0x44124a;this[_0x1eb805(0x174)][_0x1eb805(0x171)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x383742,_0x534f8c,_0x56e90b){const _0x1f130f=_0x383742['t'],t=_0x383742['t'];switch(_0x534f8c){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',_0x56e90b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x56e90b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x56e90b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x56e90b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x56e90b);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',_0x56e90b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x56e90b);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',_0x56e90b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x56e90b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x56e90b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x56e90b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x56e90b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x56e90b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x56e90b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x56e90b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x56e90b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x56e90b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x56e90b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x56e90b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x56e90b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x56e90b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x56e90b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x56e90b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x56e90b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x56e90b);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'},_0x56e90b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x56e90b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x56e90b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x56e90b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x56e90b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x56e90b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x56e90b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x56e90b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x56e90b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x56e90b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x56e90b);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x56e90b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x56e90b);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'},_0x56e90b);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_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'},_0x56e90b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x56e90b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x56e90b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x56e90b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x56e90b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x56e90b);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 _0x1f130f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x56e90b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1f130f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x56e90b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x534f8c;}}
|
|
23
|
+
export function getTranslation(_0x4ed549,_0x251808,_0x3b4644){const _0x2eb0a0=_0x4ed549['t'],t=_0x4ed549['t'];switch(_0x251808){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',_0x3b4644);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3b4644);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3b4644);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3b4644);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3b4644);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',_0x3b4644);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3b4644);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',_0x3b4644);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3b4644);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3b4644);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3b4644);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3b4644);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3b4644);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3b4644);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3b4644);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3b4644);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3b4644);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3b4644);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3b4644);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3b4644);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3b4644);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3b4644);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3b4644);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3b4644);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3b4644);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'},_0x3b4644);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3b4644);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3b4644);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3b4644);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3b4644);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3b4644);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3b4644);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3b4644);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3b4644);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3b4644);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3b4644);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3b4644);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3b4644);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'},_0x3b4644);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_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'},_0x3b4644);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3b4644);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3b4644);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3b4644);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3b4644);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3b4644);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 _0x2eb0a0({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3b4644);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2eb0a0({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3b4644);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x251808;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4af54f,_0x3489d7){const _0x5575f3=_0x2ecf,_0x51706b=_0x4af54f();while(!![]){try{const _0x1ef0e9=parseInt(_0x5575f3(0xca))/0x1+parseInt(_0x5575f3(0xa4))/0x2*(-parseInt(_0x5575f3(0xc7))/0x3)+-parseInt(_0x5575f3(0xb6))/0x4*(parseInt(_0x5575f3(0xbe))/0x5)+parseInt(_0x5575f3(0xac))/0x6+-parseInt(_0x5575f3(0xbc))/0x7+-parseInt(_0x5575f3(0xa7))/0x8+-parseInt(_0x5575f3(0xc0))/0x9*(-parseInt(_0x5575f3(0xa5))/0xa);if(_0x1ef0e9===_0x3489d7)break;else _0x51706b['push'](_0x51706b['shift']());}catch(_0x3a6d83){_0x51706b['push'](_0x51706b['shift']());}}}(_0x5c96,0xb1071));export function normalizeDescription(_0x6cc6a7){const _0x7df34=_0x2ecf;return Array[_0x7df34(0xd0)](_0x6cc6a7)||(_0x6cc6a7=[_0x6cc6a7]),_0x6cc6a7[_0x7df34(0xc4)](_0x588819=>{const _0xea267f=_0x7df34,_0x167017=_0x588819[_0xea267f(0xb4)][_0xea267f(0xad)](/\*/g,''),_0x206067=_0x588819[_0xea267f(0xbf)]?_0xea267f(0xba)+_0x588819[_0xea267f(0xbf)][_0xea267f(0x9d)]+']':'';return'['+_0x588819[_0xea267f(0xbd)]+']\x20'+_0x167017+_0x206067;})[_0x7df34(0xb1)](';\x20');}export function renderDescription(_0xabb843,_0x2d29a3){const _0x5d98b5=_0x2ecf;let _0x1cc657='';return _0x1cc657+=_0xabb843[_0x5d98b5(0xb9)]('*')[_0x5d98b5(0xc4)]((_0x2a189,_0x459d5b)=>_0x459d5b%0x2!=0x0?_0x5d98b5(0xa9)+rn(_0x2a189)+_0x5d98b5(0xa2):rn(_0x2a189))[_0x5d98b5(0xb1)](''),_0x2d29a3&&(_0x1cc657+=_0x5d98b5(0xa8)+_0x2d29a3[_0x5d98b5(0x9d)]+_0x5d98b5(0xa1)+_0x2d29a3[_0x5d98b5(0xc6)]+_0x5d98b5(0xd1)),_0x1cc657;}function rn(_0x4802c2){const _0x434472=_0x2ecf,_0x5530c3=document[_0x434472(0xcf)](_0x434472(0x9f));return _0x5530c3[_0x434472(0x9e)]=_0x4802c2,_0x5530c3[_0x434472(0xa6)];}export function sortSuggestions(_0x3e4474){const _0x50a961=_0x2ecf;return _0x3e4474[_0x50a961(0xbb)]((_0x48efb4,_0x989c0a)=>_0x50a961(0xcd)===_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xcd)!==_0x989c0a[_0x50a961(0xbd)]?-0x1:_0x50a961(0xcd)!==_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xcd)===_0x989c0a[_0x50a961(0xbd)]?0x1:_0x50a961(0xae)==_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xae)!=_0x989c0a[_0x50a961(0xbd)]?-0x1:_0x50a961(0xae)!=_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xae)==_0x989c0a[_0x50a961(0xbd)]?0x1:0x0);}function _0x2ecf(_0x90e1fe,_0x317645){const _0x5c9626=_0x5c96();return _0x2ecf=function(_0x2ecffd,_0xb180bb){_0x2ecffd=_0x2ecffd-0x9c;let _0x4215b3=_0x5c9626[_0x2ecffd];return _0x4215b3;},_0x2ecf(_0x90e1fe,_0x317645);}export function getSelectedSuggestions(_0x477db8,_0x416c1d){const _0x13ffad=_0x2ecf,_0x23237b=Array[_0x13ffad(0xb0)](_0x477db8[_0x13ffad(0xcc)]()),_0x35fb40=new Set();for(const _0x2be607 of _0x416c1d)if(_0x2be607[_0x13ffad(0xd2)]){for(const _0x3f061d of _0x23237b)for(const _0x550e0b of _0x2be607[_0x13ffad(0xcc)]())(_0x3f061d[_0x13ffad(0x9c)](_0x550e0b)||_0x477db8[_0x13ffad(0xc8)]&&!_0x2be607[_0x13ffad(0xaa)]&&_0x2be607[_0x13ffad(0xaf)]&&_0x550e0b[_0x13ffad(0xc2)][_0x13ffad(0xce)](_0x3f061d[_0x13ffad(0xb2)]))&&_0x35fb40[_0x13ffad(0xb8)](_0x2be607);}return _0x35fb40;}function _0x5c96(){const _0x3287a1=['</span>','createPositionAt','2WYfnov','44429110PnQkWt','innerHTML','5552232CMzxiW','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','isMultiRange','change','2045334zYkZtF','replace','deletion','next','from','join','start','createPositionAfter','content','splice','4389476zjFVlm','schema','add','split','\x20[color\x20','sort','9511544kwabvH','type','5Ffiuue','color','9BKBChh','execute','end','push','map','isObject','title','3657552GuHpeR','isCollapsed','createRange','310679CDtTKr','length','getRanges','attribute','isTouching','createElement','isArray','\x22></span>','isInContent','isIntersecting','value','innerText','span','createPositionBefore','\x22\x20title=\x22'];_0x5c96=function(){return _0x3287a1;};return _0x5c96();}export function getRangesOfBlockGroups(_0x73c1c1,_0x868f44){const _0x4dd5d1=_0x2ecf;let _0x3108c1,_0x1ba507=0x0;const _0x179be7=[],_0xbe40e5=_0x868f44[_0x4dd5d1(0xb7)];for(;_0x1ba507<_0x73c1c1[_0x4dd5d1(0xcb)];){const _0x165d0c=_0x73c1c1[_0x1ba507],_0x5205dc=_0x73c1c1[_0x1ba507+0x1];_0x3108c1||(_0x3108c1=_0x868f44[_0x4dd5d1(0xa0)](_0x165d0c)),cn(_0x868f44,_0x165d0c,_0x5205dc)||(_0x179be7[_0x4dd5d1(0xc3)](_0x868f44[_0x4dd5d1(0xc9)](_0x3108c1,_0xbe40e5[_0x4dd5d1(0xc5)](_0x165d0c)?_0x868f44[_0x4dd5d1(0xb3)](_0x165d0c):_0x868f44[_0x4dd5d1(0xa3)](_0x165d0c,_0x4dd5d1(0xc2)))),_0x3108c1=null),_0x1ba507++;}return _0x179be7;}function cn(_0x3c6c43,_0x41786c,_0x1940af){const _0xad40e=_0x2ecf;if(!_0x1940af)return!0x1;const _0x218207=_0x3c6c43[_0xad40e(0xb3)](_0x41786c),_0x129836=_0x3c6c43[_0xad40e(0xa0)](_0x1940af);return _0x218207[_0xad40e(0xce)](_0x129836);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x385701,_0x248154,_0x5a6a58){const _0x8e91f6=_0x2ecf;for(;_0x5a6a58[_0x8e91f6(0xcb)];){const _0x2f298d=_0x5a6a58[_0x8e91f6(0xb5)](0x0,0x64);_0x385701[_0x8e91f6(0xab)](()=>{const _0x2f569b=_0x8e91f6;for(const _0x274407 of _0x2f298d)_0x274407[_0x2f569b(0xd2)]&&_0x248154[_0x2f569b(0xc1)](_0x274407['id']);});}}
|