@ckeditor/ckeditor5-track-changes 46.0.1-alpha.9 → 46.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.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
|
-
function
|
|
23
|
+
const _0x2ad20e=_0x3eb5;function _0x3eb5(_0xe6c9ee,_0x39a048){const _0x1e5dda=_0x1e5d();return _0x3eb5=function(_0x3eb5d2,_0x1dea4e){_0x3eb5d2=_0x3eb5d2-0x198;let _0x3a0f63=_0x1e5dda[_0x3eb5d2];return _0x3a0f63;},_0x3eb5(_0xe6c9ee,_0x39a048);}(function(_0x2a7b70,_0x1a02d6){const _0x363895=_0x3eb5,_0x2aeef5=_0x2a7b70();while(!![]){try{const _0x4c2fbb=-parseInt(_0x363895(0x1a1))/0x1*(parseInt(_0x363895(0x198))/0x2)+parseInt(_0x363895(0x1a5))/0x3*(parseInt(_0x363895(0x1af))/0x4)+-parseInt(_0x363895(0x1b0))/0x5*(-parseInt(_0x363895(0x199))/0x6)+parseInt(_0x363895(0x19b))/0x7*(parseInt(_0x363895(0x1a8))/0x8)+parseInt(_0x363895(0x19f))/0x9+parseInt(_0x363895(0x1a0))/0xa*(-parseInt(_0x363895(0x19a))/0xb)+parseInt(_0x363895(0x1a7))/0xc*(parseInt(_0x363895(0x1ac))/0xd);if(_0x4c2fbb===_0x1a02d6)break;else _0x2aeef5['push'](_0x2aeef5['shift']());}catch(_0x4561e3){_0x2aeef5['push'](_0x2aeef5['shift']());}}}(_0x1e5d,0xc751a));import{Plugin as _0x46ecf9}from'ckeditor5/src/core.js';import{Dialog as _0x12bb48}from'ckeditor5/src/ui.js';function _0x1e5d(){const _0x33c89d=['add','trackChanges.preview.renderFunction','isOfficialPlugin','50634lNTspU','190KLLKCF','86341vMMOeU','requires','config','isPremiumPlugin','6zfhmTt','define','24756EuLHUG','8KlDIUq','appendChild','pluginName','TrackChangesPreview','1898FrRpbg','previewFinalContent','editor','1959204TjPZFi','3636340ZYCYBH','commands','26uFDZse','12JNfKwn','849211HrmcUL','4652900pexXcQ'];_0x1e5d=function(){return _0x33c89d;};return _0x1e5d();}import{TrackChangesData as _0x4d77c8}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x484989}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x46ecf9{static get[_0x2ad20e(0x1a2)](){return[_0x4d77c8,_0x12bb48];}static get[_0x2ad20e(0x1aa)](){const _0x48f849=_0x2ad20e;return _0x48f849(0x1ab);}static get[_0x2ad20e(0x19e)](){return!0x0;}static get[_0x2ad20e(0x1a4)](){return!0x0;}constructor(_0x5a5ef7){const _0x3c8612=_0x2ad20e;super(_0x5a5ef7),_0x5a5ef7[_0x3c8612(0x1b1)][_0x3c8612(0x19c)](_0x3c8612(0x1ad),new _0x484989(this[_0x3c8612(0x1ae)])),_0x5a5ef7[_0x3c8612(0x1a3)][_0x3c8612(0x1a6)](_0x3c8612(0x19d),(_0x57b524,_0xe50bd7)=>{const _0x267667=_0x3c8612;for(const _0x305a79 of _0xe50bd7)_0x57b524[_0x267667(0x1a9)](_0x305a79);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3919d1=_0x3789;function _0x3845(){const _0x266c67=['trialLimit','suggestionChanged','trackChangesLicenseKeyDomainLimit','acceptButton','getJoined','filter','value','Track\x20changes','acceptAllSuggestions','getAllAdjacentSuggestions','has','_initializeController','actionView','change:activeAnnotations','getDescriptions','hasSuggestion','addComment','isEnabled','previous','getFirstRange','51433830nKfjwX','CommentsRepository','requires','focus','clear','isInContent','expired','comments.editorConfig','comments','panelView','_disableComments','editing','getSuggestionForAnnotation','_viewToController','add','activeMarkers','trackChangesLicenseKeyEvaluationLimit','isDirty','trackChanges.SuggestionThreadView','isOn','stopListening','unbind','comments.maxThreadTotalWeight','comments.maxCommentCharsWhenCollapsed','registerAnnotation','keys','values','_showLicenseError','switchbutton','push','length','reduce','set','CommentView','_createToolbarButton','SuggestionThreadView','3188811nsInlj','domainLimit','componentFactory','addSourceCollector','some','trackChanges.SuggestionView','trackChangesLicenseKeyExpired','_suggestionToController','trackChangesLicenseKeyTrialLimit','discardSelectedSuggestions','_handleControllerBuffer','licenseKey','_refreshActiveMarkers','_licenseKeyCheckInterval','_createMenuBarMenu','discardButton','CommentsUI','trackChanges','buttonView','trackChanges.disableComments','define','Discard\x20all\x20selected\x20suggestions','commentThread','menu','_bindAnnotationToEditors','_annotationViews','menuBar:trackChanges','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','discardAllSuggestions','SuggestionView','TrackChangesUI','isOfficialPlugin','descriptionParts','execute','addMany','descriptionFactory','plugins','invalid','4RrnQjg','94992yjtqYh','suggestion-','_addUIComponentsToFactory','view','_updateController','TrackChanges','model','Discard\x20all\x20suggestions','lowest','_unbindEditors','commandName','6Kphggq','config','delegate','3930050XiXGGV','arrowView','getRanges','evaluationLimit','menuitemcheckbox','_destroyController','listenTo','innerView','activeAnnotations','get','createCommentThreadController','commands','isPremiumPlugin','featureNotAllowed','pluginName','_handleSuggestionControllerDelayed','head','getSuggestion','EditorAnnotations','acceptSelectedSuggestions','getMarkerNames','suggestionLoaded','menuitem','Accept\x20all\x20selected\x20suggestions','571959ukIPQm','previewFinalContent','getByInnerView','trackChangesLicenseKeyUsageLimit','delete','locale','usageLimit','from','getAnnotationForSuggestion','Annotations','source','Preview\x20final\x20content','comments.maxCommentsWhenCollapsed','remove','items','bind','type','size','558BCwldK','mainView','children','getMarkers','change:previous','suggestionView','fire','159019BduJSD','suggestionUnloaded','trackChangesLicenseKeyValid','button','toMany','init','commentsListView','isMultiRange','trackChangesLicenseKeyInvalid','destroy','refreshSelectedViews','escape','2057838qHUzQS','createAnnotation','separator','TrackChangesEditing','editor','TrackChangesPreview','createAnnotationView'];_0x3845=function(){return _0x266c67;};return _0x3845();}(function(_0x281e02,_0x436430){const _0x40c4fd=_0x3789,_0x458e2d=_0x281e02();while(!![]){try{const _0x23c6f6=-parseInt(_0x40c4fd(0xf4))/0x1+-parseInt(_0x40c4fd(0x119))/0x2+-parseInt(_0x40c4fd(0xa6))/0x3+-parseInt(_0x40c4fd(0xcd))/0x4*(parseInt(_0x40c4fd(0xdc))/0x5)+-parseInt(_0x40c4fd(0xd9))/0x6*(-parseInt(_0x40c4fd(0x10d))/0x7)+-parseInt(_0x40c4fd(0xce))/0x8*(parseInt(_0x40c4fd(0x106))/0x9)+parseInt(_0x40c4fd(0x134))/0xa;if(_0x23c6f6===_0x436430)break;else _0x458e2d['push'](_0x458e2d['shift']());}catch(_0x51e9d0){_0x458e2d['push'](_0x458e2d['shift']());}}}(_0x3845,0xef477));import{Plugin as _0x44c358}from'ckeditor5/src/core.js';import{Collection as _0x5b7722}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x42e3e4}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2ca2b8,createDropdown as _0x57172d,ListSeparatorView as _0x1ea636,MenuBarMenuView as _0x2d3d0d,MenuBarMenuListView as _0x2203dc,MenuBarMenuListItemView as _0x2e59ed,MenuBarMenuListItemButtonView as _0x5b3127,SplitButtonView as _0x515c90,UIModel as _0x42c38f}from'ckeditor5/src/ui.js';import{Users as _0xdcad5e,getDateTimeFormatter as _0x4a4a3f,getAllMarkersDomElementsSorted as _0x439482}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3789(_0x3b1f3a,_0x4a087d){const _0x384541=_0x3845();return _0x3789=function(_0x37890c,_0x5090c6){_0x37890c=_0x37890c-0xa1;let _0x1a5d01=_0x384541[_0x37890c];return _0x1a5d01;},_0x3789(_0x3b1f3a,_0x4a087d);}import{TrackChangesEditing as _0xef4d19}from'./trackchangesediting.js';import{SuggestionController as _0x319365}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x4baa93}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x578637}from'./ui/view/suggestionview.js';import{getTranslation as _0x180892}from'./utils/common-translations.js';export class TrackChangesUI extends _0x44c358{[_0x3919d1(0xb1)];[_0x3919d1(0xb3)];[_0x3919d1(0xad)];[_0x3919d1(0x141)];[_0x3919d1(0xbf)];[_0x3919d1(0xb0)];[_0x3919d1(0x13e)];static get[_0x3919d1(0x136)](){const _0x407f63=_0x3919d1;return[_0xef4d19,_0xdcad5e,_0x407f63(0x135),_0x407f63(0xfd),_0x407f63(0xee)];}static get[_0x3919d1(0xea)](){const _0x6b6bf1=_0x3919d1;return _0x6b6bf1(0xc5);}static get[_0x3919d1(0xc6)](){return!0x0;}static get[_0x3919d1(0xe8)](){return!0x0;}constructor(_0x44accd){const _0x69b030=_0x3919d1;super(_0x44accd),this[_0x69b030(0xad)]=new Map(),this[_0x69b030(0x141)]=new Map(),this[_0x69b030(0xbf)]=new Map(),this[_0x69b030(0xb0)]=new Map();const _0x3478bb=this[_0x69b030(0x11d)][_0x69b030(0xda)];_0x3478bb[_0x69b030(0xba)](_0x69b030(0x146),_0x4baa93),_0x3478bb[_0x69b030(0xba)](_0x69b030(0xab),_0x578637),_0x3478bb[_0x69b030(0xba)](_0x69b030(0xb9),!0x1),this[_0x69b030(0x13e)]=_0x3478bb[_0x69b030(0xe5)](_0x69b030(0xb9));}[_0x3919d1(0xeb)](_0x59a2bb,_0x800b3d){const _0xf0fbef=_0x3919d1;0x0===this[_0xf0fbef(0xb0)][_0xf0fbef(0x105)]&&setTimeout(()=>{const _0x31de5d=_0xf0fbef;for(const [_0x2512ae,_0x40716a]of this[_0x31de5d(0xb0)]){const _0x193d3f=this[_0x31de5d(0xad)][_0x31de5d(0x12a)](_0x2512ae);_0x193d3f||_0x40716a?_0x193d3f&&_0x40716a&&this[_0x31de5d(0xe1)](_0x2512ae):this[_0x31de5d(0x12b)](_0x2512ae);}this[_0x31de5d(0xb0)][_0x31de5d(0x138)](),this[_0x31de5d(0x11d)][_0x31de5d(0xcb)][_0x31de5d(0xe5)](_0x31de5d(0xee))[_0x31de5d(0x117)](),this[_0x31de5d(0xb2)]();},0xa),this[_0xf0fbef(0xb0)][_0xf0fbef(0xa2)](_0x59a2bb,_0x800b3d);}[_0x3919d1(0x112)](){const _0x3fad12=_0x3919d1,_0x2b472c=this[_0x3fad12(0x11d)],_0xa52ee=_0x2b472c[_0x3fad12(0xcb)][_0x3fad12(0xe5)](_0x3fad12(0x11c)),_0x17916c=_0x2b472c[_0x3fad12(0xcb)][_0x3fad12(0xe5)](_0x3fad12(0xfd)),_0x1f9da6=_0x2b472c[_0x3fad12(0xcb)][_0x3fad12(0xe5)](_0x3fad12(0xee)),_0x18e7c5=_0x2b472c[_0x3fad12(0xcb)][_0x3fad12(0xe5)](_0x3fad12(0x135));this[_0x3fad12(0xd0)](),_0x1f9da6[_0x3fad12(0xa9)](()=>{const _0x442f63=_0x3fad12,_0x4a23af=[];for(const [_0x2a5bb4,_0x2ed685]of Array[_0x442f63(0xfb)](this[_0x442f63(0xad)])){const _0x24f0fd=_0x2a5bb4[_0x442f63(0x129)](),_0x170f67=[];for(const _0x20dc87 of _0x24f0fd){if(!_0x20dc87[_0x442f63(0x139)])continue;if(_0x20dc87[_0x442f63(0x114)]){_0x170f67[_0x442f63(0x151)](..._0x20dc87[_0x442f63(0xde)]());continue;}const _0x18aac7=_0x20dc87[_0x442f63(0x133)]();if(_0x170f67[_0x442f63(0x152)]>0x0){const _0x153c99=_0x170f67[0x0][_0x442f63(0x124)](_0x18aac7);if(_0x153c99){_0x170f67[0x0]=_0x153c99;continue;}}_0x170f67[_0x442f63(0x151)](_0x18aac7);}_0x4a23af[_0x442f63(0x151)]([_0x2ed685[_0x442f63(0xd1)],_0x170f67]);}return _0x4a23af;}),this[_0x3fad12(0xe2)](_0xa52ee,_0x3fad12(0xf1),(_0x157a27,_0x2be9c3)=>{const _0x3c0b69=_0x3fad12;this[_0x3c0b69(0xe2)](_0x2be9c3,_0x3c0b69(0x10a),(_0x4bff5f,_0x3ff52e,_0x35517d,_0xdad27a)=>{const _0x3ede0f=_0x3c0b69;_0x2be9c3[_0x3ede0f(0x139)]&&(null==_0x35517d?(this[_0x3ede0f(0xd2)](_0xdad27a[_0x3ede0f(0xec)]),this[_0x3ede0f(0xeb)](_0x2be9c3,!0x1)):(this[_0x3ede0f(0xd2)](_0x35517d[_0x3ede0f(0xec)]),null==_0xdad27a&&this[_0x3ede0f(0xeb)](_0x2be9c3,!0x0)));}),null!==_0x2be9c3[_0x3c0b69(0x132)]?this[_0x3c0b69(0xd2)](_0x2be9c3[_0x3c0b69(0xec)]):this[_0x3c0b69(0xeb)](_0x2be9c3,!0x1);}),this[_0x3fad12(0xe2)](_0xa52ee,_0x3fad12(0x10e),(_0x52950f,_0x16c5eb,_0x219f79)=>{const _0x498ac0=_0x3fad12;this[_0x498ac0(0x148)](_0x16c5eb,_0x498ac0(0x10a)),this[_0x498ac0(0xb0)][_0x498ac0(0xf8)](_0x16c5eb),this[_0x498ac0(0xad)][_0x498ac0(0x12a)](_0x16c5eb)&&this[_0x498ac0(0xe1)](_0x16c5eb),_0x219f79&&this[_0x498ac0(0xd2)](_0x219f79[_0x498ac0(0xec)]);}),this[_0x3fad12(0xe2)](_0xa52ee,_0x3fad12(0x121),(_0x55c7cb,_0x4d19a1)=>{const _0x39a8df=_0x3fad12;this[_0x39a8df(0xd2)](_0x4d19a1);}),this[_0x3fad12(0xe2)](_0x17916c,_0x3fad12(0x12d),()=>{const _0x2acb05=_0x3fad12;this[_0x2acb05(0xb2)]();}),this[_0x3fad12(0xe2)](_0x18e7c5,_0x3fad12(0x130),(_0x31f053,{threadId:_0x22bf06,isFromAdapter:_0x4b0281})=>{const _0x4c0aee=_0x3fad12;if(_0x4b0281||!_0xa52ee[_0x4c0aee(0x12f)](_0x22bf06))return;const _0x6a938b=_0xa52ee[_0x4c0aee(0xed)](_0x22bf06);this[_0x4c0aee(0xad)][_0x4c0aee(0xe5)](_0x6a938b)[_0x4c0aee(0xd1)][_0x4c0aee(0x113)][_0x4c0aee(0x137)](-0x1);},{'priority':_0x3fad12(0xd6)}),this[_0x3fad12(0xb1)]=this[_0x3fad12(0x11d)][_0x3fad12(0xda)][_0x3fad12(0xe5)](_0x3fad12(0xb1));const _0x38b694=this[_0x3fad12(0x11d)];this[_0x3fad12(0xb3)]=setInterval(()=>{const _0x4d36eb=_0x3fad12;let _0x42439d;for(const _0x4fe652 in _0x38b694){const _0x5876bf=_0x4fe652,_0x51f69d=_0x38b694[_0x5876bf];if(_0x4d36eb(0x10f)==_0x51f69d||_0x4d36eb(0x115)==_0x51f69d||_0x4d36eb(0xac)==_0x51f69d||_0x4d36eb(0x122)==_0x51f69d||_0x4d36eb(0xc1)==_0x51f69d||_0x4d36eb(0x144)==_0x51f69d||_0x4d36eb(0xae)==_0x51f69d||_0x4d36eb(0xf7)==_0x51f69d){delete _0x38b694[_0x5876bf],_0x42439d=_0x51f69d,clearInterval(this[_0x4d36eb(0xb3)]),this[_0x4d36eb(0xb3)]=void 0x0;break;}}_0x4d36eb(0x115)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0xcc)),_0x4d36eb(0xac)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0x13a)),_0x4d36eb(0x122)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0xa7)),_0x4d36eb(0xc1)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0xe9),_0x4d36eb(0xd3)),_0x4d36eb(0x144)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0xdf)),_0x4d36eb(0xae)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0x120)),_0x4d36eb(0xf7)==_0x42439d&&_0x38b694[_0x4d36eb(0x14f)](_0x4d36eb(0xfa));},0x3e8);}[_0x3919d1(0xfc)](_0x2faca2){const _0x3755f4=_0x3919d1,_0x26aac2=this[_0x3755f4(0xad)][_0x3755f4(0xe5)](_0x2faca2);if(!_0x26aac2)return null;return this[_0x3755f4(0x11d)][_0x3755f4(0xcb)][_0x3755f4(0xe5)](_0x3755f4(0xfd))[_0x3755f4(0xf6)](_0x26aac2[_0x3755f4(0xd1)])||null;}[_0x3919d1(0x140)](_0x140e12){const _0x27d4f7=_0x3919d1,_0x51794d=this[_0x27d4f7(0x141)][_0x27d4f7(0xe5)](_0x140e12[_0x27d4f7(0xe3)]);return _0x51794d?_0x51794d[_0x27d4f7(0xd4)]:null;}[_0x3919d1(0xb2)](){const _0x4790d2=_0x3919d1,_0x5267e6=this[_0x4790d2(0x11d)][_0x4790d2(0xcb)][_0x4790d2(0xe5)](_0x4790d2(0xfd)),_0x238501=this[_0x4790d2(0x11d)][_0x4790d2(0xcb)][_0x4790d2(0xe5)](_0x4790d2(0x11c)),_0x1a66ff=Array[_0x4790d2(0xfb)](_0x5267e6[_0x4790d2(0xe4)],_0x4f949c=>_0x4f949c[_0x4790d2(0xe3)])[_0x4790d2(0x125)](_0x4146f7=>this[_0x4790d2(0x141)][_0x4790d2(0x12a)](_0x4146f7)),_0x1747c5=[];for(const _0x2185db of _0x1a66ff){const _0x2158e7=this[_0x4790d2(0x141)][_0x4790d2(0xe5)](_0x2185db)[_0x4790d2(0xd4)][_0x4790d2(0x129)]();_0x1747c5[_0x4790d2(0x151)](..._0x2158e7[_0x4790d2(0xa1)]((_0x56978d,_0x39d0ad)=>[..._0x56978d,..._0x39d0ad[_0x4790d2(0xf0)]()],[]));}_0x238501[_0x4790d2(0x143)]=_0x1747c5;}[_0x3919d1(0xd0)](){const _0x7eccef=_0x3919d1,_0x3963ba=this[_0x7eccef(0x11d)],_0x3c4d33=_0x3963ba[_0x7eccef(0xf9)],_0x154c6d=_0x180892(_0x3c4d33,_0x7eccef(0x127)),_0x1e23c8=new _0x5b7722([{'type':_0x7eccef(0x150),'model':new _0x42c38f({'withText':!0x0,'isToggleable':!0x0,'label':_0x154c6d,'commandName':_0x7eccef(0xb7),'role':_0x7eccef(0xe0)})},{'type':_0x7eccef(0x11b)},{'type':_0x7eccef(0x110),'model':new _0x42c38f({'withText':!0x0,'label':_0x180892(_0x3c4d33,_0x7eccef(0xc2)),'commandName':_0x7eccef(0x128),'role':_0x7eccef(0xf2)})},{'type':_0x7eccef(0x110),'model':new _0x42c38f({'withText':!0x0,'label':_0x180892(_0x3c4d33,_0x7eccef(0xf3)),'commandName':_0x7eccef(0xef),'role':_0x7eccef(0xf2)})},{'type':_0x7eccef(0x110),'model':new _0x42c38f({'withText':!0x0,'label':_0x180892(_0x3c4d33,_0x7eccef(0xd5)),'commandName':_0x7eccef(0xc3),'role':_0x7eccef(0xf2)})},{'type':_0x7eccef(0x110),'model':new _0x42c38f({'withText':!0x0,'label':_0x180892(_0x3c4d33,_0x7eccef(0xbb)),'commandName':_0x7eccef(0xaf),'role':_0x7eccef(0xf2)})}]);_0x3963ba[_0x7eccef(0xcb)][_0x7eccef(0x12a)](_0x7eccef(0x11e))&&_0x1e23c8[_0x7eccef(0xc9)]([{'type':_0x7eccef(0x11b)},{'type':_0x7eccef(0x110),'model':new _0x42c38f({'withText':!0x0,'label':_0x180892(_0x3c4d33,_0x7eccef(0xff)),'commandName':_0x7eccef(0xf5),'role':_0x7eccef(0xf2)})}]);for(const _0x5651a3 of _0x1e23c8)if(ke(_0x5651a3)){const _0x30c439=_0x3963ba[_0x7eccef(0xe7)][_0x7eccef(0xe5)](_0x5651a3[_0x7eccef(0xd4)][_0x7eccef(0xd8)]);_0x5651a3[_0x7eccef(0xd4)][_0x7eccef(0x103)](_0x7eccef(0x147),_0x7eccef(0x131))['to'](_0x30c439,_0x7eccef(0x126),_0x7eccef(0x131));}_0x3963ba['ui'][_0x7eccef(0xa8)][_0x7eccef(0x142)](_0x7eccef(0xb7),_0x168ee3=>this[_0x7eccef(0xa4)](_0x168ee3,_0x1e23c8,_0x154c6d)),_0x3963ba['ui'][_0x7eccef(0xa8)][_0x7eccef(0x142)](_0x7eccef(0xc0),_0x1f46c6=>this[_0x7eccef(0xb4)](_0x1f46c6,_0x1e23c8,_0x154c6d));}[_0x3919d1(0xa4)](_0x2fc53d,_0x391689,_0x36dbb0){const _0x28acbc=_0x3919d1,_0x288539=_0x57172d(_0x2fc53d,_0x515c90),_0x93318=this[_0x28acbc(0x11d)][_0x28acbc(0xe7)][_0x28acbc(0xe5)](_0x28acbc(0xb7));_0x288539[_0x28acbc(0xb8)][_0x28acbc(0xa2)]({'tooltip':_0x36dbb0,'label':_0x36dbb0,'icon':_0x42e3e4}),_0x288539[_0x28acbc(0xb8)][_0x28acbc(0x103)](_0x28acbc(0x147))['to'](_0x93318,_0x28acbc(0x126)),_0x288539[_0x28acbc(0xb8)]['on'](_0x28acbc(0xc8),()=>{const _0x27effc=_0x28acbc;_0x93318[_0x27effc(0xc8)](),this[_0x27effc(0x11d)][_0x27effc(0x13f)][_0x27effc(0xd1)][_0x27effc(0x137)]();}),_0x2ca2b8(_0x288539,_0x391689,{'role':_0x28acbc(0xbd)});const _0x5a54ec=[];for(const _0x2649f2 of _0x391689)ke(_0x2649f2)&&_0x5a54ec[_0x28acbc(0x151)](this[_0x28acbc(0x11d)][_0x28acbc(0xe7)][_0x28acbc(0xe5)](_0x2649f2[_0x28acbc(0xd4)][_0x28acbc(0xd8)]));const _0x998fa2=_0x288539[_0x28acbc(0xb8)];return _0x998fa2[_0x28acbc(0x12c)][_0x28acbc(0x149)](_0x28acbc(0x131)),_0x998fa2[_0x28acbc(0xdd)][_0x28acbc(0x149)](_0x28acbc(0x131)),_0x998fa2[_0x28acbc(0x12c)][_0x28acbc(0x103)](_0x28acbc(0x131))['to'](_0x93318,_0x28acbc(0x131)),_0x998fa2[_0x28acbc(0xdd)][_0x28acbc(0x103)](_0x28acbc(0x131))[_0x28acbc(0x111)](_0x5a54ec,_0x28acbc(0x131),(..._0x389838)=>_0x389838[_0x28acbc(0xaa)](_0x415277=>_0x415277)),_0x288539['on'](_0x28acbc(0xc8),_0x28f950=>{const _0x1c34a9=_0x28acbc;this[_0x1c34a9(0x11d)][_0x1c34a9(0xc8)](_0x28f950[_0x1c34a9(0xfe)][_0x1c34a9(0xd8)]),this[_0x1c34a9(0x11d)][_0x1c34a9(0x13f)][_0x1c34a9(0xd1)][_0x1c34a9(0x137)]();}),_0x288539;}[_0x3919d1(0xb4)](_0x143dd9,_0x315481,_0x5b2b8b){const _0x20dddf=_0x3919d1,_0x42e840=new _0x2d3d0d(_0x143dd9),_0x87a4ab=this[_0x20dddf(0x11d)][_0x20dddf(0xe7)][_0x20dddf(0xe5)](_0x20dddf(0xb7));_0x42e840[_0x20dddf(0xb8)][_0x20dddf(0xa2)]({'label':_0x5b2b8b,'icon':_0x42e3e4});const _0x15aa26=new _0x2203dc(_0x143dd9);for(const _0x244931 of _0x315481){if(_0x20dddf(0x11b)==_0x244931[_0x20dddf(0x104)]){_0x15aa26[_0x20dddf(0x102)][_0x20dddf(0x142)](new _0x1ea636(_0x143dd9));continue;}const _0x3cf55a=new _0x2e59ed(_0x143dd9,_0x42e840),_0x2c5971=new _0x5b3127(_0x143dd9),_0x4358fc=_0x244931[_0x20dddf(0xd4)];_0x2c5971[_0x20dddf(0x103)](...Object[_0x20dddf(0x14d)](_0x4358fc))['to'](_0x4358fc),_0x2c5971[_0x20dddf(0xdb)](_0x20dddf(0xc8))['to'](_0x42e840),_0x2c5971['on'](_0x20dddf(0xc8),()=>{const _0x3c9773=_0x20dddf;this[_0x3c9773(0x11d)][_0x3c9773(0xc8)](_0x4358fc[_0x3c9773(0xd8)]),this[_0x3c9773(0x11d)][_0x3c9773(0x13f)][_0x3c9773(0xd1)][_0x3c9773(0x137)]();}),_0x3cf55a[_0x20dddf(0x108)][_0x20dddf(0x142)](_0x2c5971),_0x15aa26[_0x20dddf(0x102)][_0x20dddf(0x142)](_0x3cf55a);}return _0x42e840[_0x20dddf(0x103)](_0x20dddf(0x131))['to'](_0x87a4ab,_0x20dddf(0x131)),_0x42e840[_0x20dddf(0x13d)][_0x20dddf(0x108)][_0x20dddf(0x142)](_0x15aa26),_0x42e840;}[_0x3919d1(0x12b)](_0x2ed606){const _0x25d9ec=_0x3919d1,_0x549212=this[_0x25d9ec(0x11d)],_0x5e7693=_0x549212[_0x25d9ec(0xda)],_0x87004a=_0x549212[_0x25d9ec(0xcb)][_0x25d9ec(0xe5)](_0x25d9ec(0xfd)),_0x147917=_0x549212[_0x25d9ec(0xcb)][_0x25d9ec(0xe5)](_0x25d9ec(0x135)),_0x1fa8c3=_0x549212[_0x25d9ec(0xcb)][_0x25d9ec(0xe5)](_0x25d9ec(0xee)),_0x1610f8=_0x549212[_0x25d9ec(0xcb)][_0x25d9ec(0xe5)](_0xdcad5e)['me'],_0x3122e8=_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0xb7))[_0x25d9ec(0xa5)],_0x51310a=_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0xb7))[_0x25d9ec(0xc4)],{CommentsListView:_0x6de97e,CommentThreadInputView:_0x1f88e5}=_0x549212[_0x25d9ec(0xcb)][_0x25d9ec(0xe5)](_0x25d9ec(0xb6));let _0x1e4140,_0x2a9910,_0x31c7e5;this[_0x25d9ec(0xbf)][_0x25d9ec(0x12a)](_0x2ed606['id'])?(_0x2a9910=this[_0x25d9ec(0xbf)][_0x25d9ec(0xe5)](_0x2ed606['id']),_0x1e4140=_0x2a9910[_0x25d9ec(0x107)]):(_0x1e4140=new _0x3122e8(_0x549212[_0x25d9ec(0xf9)],_0x2ed606,_0x1610f8,{'disableComments':this[_0x25d9ec(0x13e)],'editorConfig':{..._0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0x13b)),'licenseKey':_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0xb1))},'maxCommentsWhenCollapsed':_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0x100)),'maxThreadTotalWeight':_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0x14a)),'maxCommentCharsWhenCollapsed':_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0x14b)),'formatDateTime':_0x4a4a3f(_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0xf9)),_0x549212[_0x25d9ec(0xf9)]),'CommentView':_0x5e7693[_0x25d9ec(0xe5)](_0x25d9ec(0x13c))[_0x25d9ec(0xa3)],'CommentsListView':_0x6de97e,'CommentThreadInputView':_0x1f88e5,'SuggestionView':_0x51310a}),_0x1e4140[_0x25d9ec(0x10b)][_0x25d9ec(0x123)]['on'](_0x25d9ec(0xc8),()=>{const _0x5c6539=_0x25d9ec;_0x549212[_0x5c6539(0x13f)][_0x5c6539(0xd1)][_0x5c6539(0x137)]();}),_0x1e4140[_0x25d9ec(0x10b)][_0x25d9ec(0xb5)]['on'](_0x25d9ec(0xc8),()=>{const _0x18d2fd=_0x25d9ec;_0x549212[_0x18d2fd(0x13f)][_0x18d2fd(0xd1)][_0x18d2fd(0x137)]();}),_0x2a9910=_0x87004a[_0x25d9ec(0x11f)](this[_0x25d9ec(0x11d)][_0x25d9ec(0xf9)],_0x1e4140),_0x2a9910[_0x25d9ec(0x103)](_0x25d9ec(0x145))['to'](_0x1e4140,_0x25d9ec(0x145)),_0x2a9910[_0x25d9ec(0x103)](_0x25d9ec(0x152))['to'](_0x1e4140),_0x2a9910[_0x25d9ec(0x103)](_0x25d9ec(0x104))['to'](_0x1e4140,_0x25d9ec(0x104),_0x4827e8=>_0x25d9ec(0xcf)+_0x4827e8),_0x1e4140['on'](_0x25d9ec(0x118),()=>{const _0x219e5c=_0x25d9ec;_0x31c7e5[_0x219e5c(0x10c)](_0x219e5c(0x118));}),this[_0x25d9ec(0xbf)][_0x25d9ec(0xa2)](_0x2ed606['id'],_0x2a9910));const _0x5e9ce5=_0x147917[_0x25d9ec(0xe6)](_0x2ed606[_0x25d9ec(0xbc)],_0x1e4140),_0x34f958=new _0x319365(_0x549212,_0x2ed606,_0x1e4140,_0x5e9ce5),_0x2b1704=_0x2ed606[_0x25d9ec(0x129)]()[_0x25d9ec(0x125)](_0x3e8ef8=>_0x3e8ef8[_0x25d9ec(0x139)]);_0x1e4140[_0x25d9ec(0xc7)]=_0x549212[_0x25d9ec(0xcb)][_0x25d9ec(0xe5)](_0x25d9ec(0x11c))[_0x25d9ec(0xca)][_0x25d9ec(0x12e)](_0x2b1704),this[_0x25d9ec(0xad)][_0x25d9ec(0xa2)](_0x2ed606,_0x34f958),this[_0x25d9ec(0x141)][_0x25d9ec(0xa2)](_0x1e4140,_0x34f958);const _0x2ac568=()=>{const _0x3609e2=_0x25d9ec,_0x32d9d5=[],_0x5c369b=_0x2ed606[_0x3609e2(0x129)]()[_0x3609e2(0x125)](_0x339a17=>_0x339a17[_0x3609e2(0x139)]);for(const _0x1eb1b7 of _0x5c369b)_0x32d9d5[_0x3609e2(0x151)](..._0x1eb1b7[_0x3609e2(0x109)]());return _0x439482(_0x549212[_0x3609e2(0x13f)],_0x32d9d5);};_0x31c7e5=_0x87004a[_0x25d9ec(0x11a)]({'view':_0x2a9910,'target':_0x2ac568,'type':()=>_0x25d9ec(0xcf)+_0x34f958[_0x25d9ec(0xd1)][_0x25d9ec(0x104)],'isVisible':!!_0x2ac568()}),_0x147917[_0x25d9ec(0xbe)](_0x1e4140,_0x31c7e5),_0x87004a[_0x25d9ec(0x142)](_0x31c7e5),_0x1fa8c3[_0x25d9ec(0x14c)](_0x31c7e5);}[_0x3919d1(0xe1)](_0x336bc0){const _0x16e428=_0x3919d1,_0x383051=this[_0x16e428(0x11d)][_0x16e428(0xcb)][_0x16e428(0xe5)](_0x16e428(0x135)),_0x5b5927=this[_0x16e428(0x11d)][_0x16e428(0xcb)][_0x16e428(0xe5)](_0x16e428(0xfd)),_0x5b4b56=this[_0x16e428(0xad)][_0x16e428(0xe5)](_0x336bc0),_0x53f85c=_0x5b4b56[_0x16e428(0xd1)],_0x4df9c5=_0x5b5927[_0x16e428(0xf6)](_0x53f85c);_0x383051[_0x16e428(0xd7)](_0x53f85c),_0x4df9c5&&_0x5b5927[_0x16e428(0x101)](_0x4df9c5),this[_0x16e428(0xad)][_0x16e428(0xf8)](_0x336bc0),this[_0x16e428(0x141)][_0x16e428(0xf8)](_0x53f85c),_0x5b4b56[_0x16e428(0x116)]();}[_0x3919d1(0xd2)](_0x46f6f5){const _0x2502a8=_0x3919d1;if(!_0x46f6f5[_0x2502a8(0x139)]||!this[_0x2502a8(0xad)][_0x2502a8(0x12a)](_0x46f6f5))return;const _0xbc87f0=this[_0x2502a8(0x11d)][_0x2502a8(0xcb)][_0x2502a8(0xe5)](_0x2502a8(0x11c)),_0x3c47d1=this[_0x2502a8(0xad)][_0x2502a8(0xe5)](_0x46f6f5),_0x44a6ff=_0x46f6f5[_0x2502a8(0x129)]();_0x3c47d1[_0x2502a8(0xd1)][_0x2502a8(0xc7)]=_0xbc87f0[_0x2502a8(0xca)][_0x2502a8(0x12e)](_0x44a6ff);}[_0x3919d1(0x116)](){const _0x58d563=_0x3919d1;for(const _0x47aa0f of this[_0x58d563(0xad)][_0x58d563(0x14d)]())this[_0x58d563(0xe1)](_0x47aa0f);for(const _0x2a21d7 of this[_0x58d563(0xbf)][_0x58d563(0x14e)]())_0x2a21d7[_0x58d563(0x107)][_0x58d563(0x116)]();super[_0x58d563(0x116)](),this[_0x58d563(0xb3)]&&clearInterval(this[_0x58d563(0xb3)]);}}function ke(_0x43f86c){const _0x12f302=_0x3919d1;return _0x12f302(0xd4)in _0x43f86c;}
|
|
23
|
+
const _0x56c413=_0x15dc;(function(_0x23b267,_0x5dc710){const _0x370043=_0x15dc,_0x5ec9b2=_0x23b267();while(!![]){try{const _0x421310=parseInt(_0x370043(0x107))/0x1*(-parseInt(_0x370043(0x11d))/0x2)+-parseInt(_0x370043(0x11e))/0x3+-parseInt(_0x370043(0xe3))/0x4*(parseInt(_0x370043(0xb6))/0x5)+parseInt(_0x370043(0xa3))/0x6*(parseInt(_0x370043(0xb3))/0x7)+parseInt(_0x370043(0x10e))/0x8*(parseInt(_0x370043(0xee))/0x9)+-parseInt(_0x370043(0x117))/0xa+parseInt(_0x370043(0x140))/0xb;if(_0x421310===_0x5dc710)break;else _0x5ec9b2['push'](_0x5ec9b2['shift']());}catch(_0x2c2317){_0x5ec9b2['push'](_0x5ec9b2['shift']());}}}(_0x1c31,0x3e32b));import{Plugin as _0x5bdc97}from'ckeditor5/src/core.js';import{Collection as _0x3c470f}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x28076}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x335a06,createDropdown as _0x50eac0,ListSeparatorView as _0x3c18cb,MenuBarMenuView as _0x1f678a,MenuBarMenuListView as _0x1d15b2,MenuBarMenuListItemView as _0x1e8fd7,MenuBarMenuListItemButtonView as _0x5a1279,SplitButtonView as _0x4c3d69,UIModel as _0x16f6f4}from'ckeditor5/src/ui.js';function _0x15dc(_0x417dc9,_0x4ba42a){const _0x1c3101=_0x1c31();return _0x15dc=function(_0x15dcee,_0x4ca2af){_0x15dcee=_0x15dcee-0x9b;let _0x1c8d65=_0x1c3101[_0x15dcee];return _0x1c8d65;},_0x15dc(_0x417dc9,_0x4ba42a);}import{Users as _0x2ebf4a,getDateTimeFormatter as _0x5e8b3a,getAllMarkersDomElementsSorted as _0x190c32}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x564e14}from'./trackchangesediting.js';import{SuggestionController as _0x5a3ba2}from'./ui/suggestioncontroller.js';function _0x1c31(){const _0x3729db=['from','isOfficialPlugin','commandName','domainLimit','trackChangesLicenseKeyValid','invalid','values','_suggestionToController','acceptSelectedSuggestions','createAnnotationView','trackChanges','evaluationLimit','addSourceCollector','stopListening','mainView','licenseKey','button','trackChanges.SuggestionView','_initializeController','6aWenmp','isMultiRange','_annotationViews','commentsListView','Accept\x20all\x20suggestions','escape','filter','_unbindEditors','some','listenTo','source','previewFinalContent','isPremiumPlugin','discardSelectedSuggestions','length','commentThread','630602WbFtNW','has','get','2360465cwBjrg','_licenseKeyCheckInterval','trialLimit','getMarkers','createAnnotation','comments.maxCommentCharsWhenCollapsed','previous','editor','Preview\x20final\x20content','destroy','addMany','_handleSuggestionControllerDelayed','children','_bindAnnotationToEditors','lowest','type','getDescriptions','activeAnnotations','Discard\x20all\x20selected\x20suggestions','getByInnerView','unbind','CommentsRepository','Accept\x20all\x20selected\x20suggestions','comments.editorConfig','isEnabled','model','EditorAnnotations','separator','requires','execute','change:previous','menuitemcheckbox','clear','getAllAdjacentSuggestions','_refreshActiveMarkers','config','trackChangesLicenseKeyInvalid','comments.maxThreadTotalWeight','keys','activeMarkers','refreshSelectedViews','trackChangesLicenseKeyNotAllowed','suggestionView','add','_disableComments','4vISRIH','suggestion-','suggestionLoaded','trackChanges.SuggestionThreadView','suggestionUnloaded','trackChangesLicenseKeyExpired','remove','fire','menuitem','TrackChangesEditing','_viewToController','9htDgrY','getSuggestionForAnnotation','menu','actionView','focus','SuggestionThreadView','trackChanges.disableComments','trackChangesLicenseKeyUsageLimit','reduce','_addUIComponentsToFactory','innerView','set','descriptionFactory','head','locale','size','_createMenuBarMenu','_destroyController','buttonView','TrackChanges','getJoined','isOn','trackChangesLicenseKeyDomainLimit','CommentsUI','getSuggestion','4wVZDZm','delete','commands','CommentView','TrackChangesUI','acceptButton','createCommentThreadController','494384Xzwwsb','TrackChangesPreview','suggestionChanged','hasSuggestion','plugins','getMarkerNames','pluginName','discardButton','acceptAllSuggestions','2609540ZYrOLu','_handleControllerBuffer','Track\x20changes','change:activeAnnotations','delegate','items','237882BqgpZh','278379MIspTR','descriptionParts','trackChangesLicenseKeyTrialLimit','discardAllSuggestions','arrowView','menuBar:trackChanges','isInContent','getFirstRange','componentFactory','Annotations','editing','_updateController','_createToolbarButton','trackChangesLicenseKeyEvaluationLimit','switchbutton','getAnnotationForSuggestion','registerAnnotation','SuggestionView','_showLicenseError','toMany','view','value','addComment','panelView','comments','push','Discard\x20all\x20suggestions','bind','comments.maxCommentsWhenCollapsed','featureNotAllowed','init','expired','isDirty','usageLimit','15449313TXWYvk','getRanges','define'];_0x1c31=function(){return _0x3729db;};return _0x1c31();}import{SuggestionThreadView as _0x20d865}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5dc470}from'./ui/view/suggestionview.js';import{getTranslation as _0x260453}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5bdc97{[_0x56c413(0x9f)];[_0x56c413(0xb7)];[_0x56c413(0x14a)];[_0x56c413(0xed)];[_0x56c413(0xa5)];[_0x56c413(0x118)];[_0x56c413(0xe2)];static get[_0x56c413(0xd2)](){const _0x3bc36d=_0x56c413;return[_0x564e14,_0x2ebf4a,_0x3bc36d(0xcb),_0x3bc36d(0x127),_0x3bc36d(0xd0)];}static get[_0x56c413(0x114)](){const _0x1c32e8=_0x56c413;return _0x1c32e8(0x10b);}static get[_0x56c413(0x144)](){return!0x0;}static get[_0x56c413(0xaf)](){return!0x0;}constructor(_0x1eb3ed){const _0x3edcd7=_0x56c413;super(_0x1eb3ed),this[_0x3edcd7(0x14a)]=new Map(),this[_0x3edcd7(0xed)]=new Map(),this[_0x3edcd7(0xa5)]=new Map(),this[_0x3edcd7(0x118)]=new Map();const _0x30fbfc=this[_0x3edcd7(0xbd)][_0x3edcd7(0xd9)];_0x30fbfc[_0x3edcd7(0x142)](_0x3edcd7(0xe6),_0x20d865),_0x30fbfc[_0x3edcd7(0x142)](_0x3edcd7(0xa1),_0x5dc470),_0x30fbfc[_0x3edcd7(0x142)](_0x3edcd7(0xf4),!0x1),this[_0x3edcd7(0xe2)]=_0x30fbfc[_0x3edcd7(0xb5)](_0x3edcd7(0xf4));}[_0x56c413(0xc1)](_0x443525,_0x3f5543){const _0x2d059d=_0x56c413;0x0===this[_0x2d059d(0x118)][_0x2d059d(0xfd)]&&setTimeout(()=>{const _0x429590=_0x2d059d;for(const [_0x44a596,_0x475242]of this[_0x429590(0x118)]){const _0x31ea10=this[_0x429590(0x14a)][_0x429590(0xb4)](_0x44a596);_0x31ea10||_0x475242?_0x31ea10&&_0x475242&&this[_0x429590(0xff)](_0x44a596):this[_0x429590(0xa2)](_0x44a596);}this[_0x429590(0x118)][_0x429590(0xd6)](),this[_0x429590(0xbd)][_0x429590(0x112)][_0x429590(0xb5)](_0x429590(0xd0))[_0x429590(0xde)](),this[_0x429590(0xd8)]();},0xa),this[_0x2d059d(0x118)][_0x2d059d(0xf9)](_0x443525,_0x3f5543);}[_0x56c413(0x13c)](){const _0x2f2834=_0x56c413,_0x6864fb=this[_0x2f2834(0xbd)],_0x50d20d=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0xec)),_0x2513f3=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0x127)),_0x3417aa=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0xd0)),_0x5320f1=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0xcb));this[_0x2f2834(0xf7)](),_0x3417aa[_0x2f2834(0x9c)](()=>{const _0x1bcc54=_0x2f2834,_0x359297=[];for(const [_0x24b65e,_0x4cbacb]of Array[_0x1bcc54(0x143)](this[_0x1bcc54(0x14a)])){const _0x1fcc15=_0x24b65e[_0x1bcc54(0xd7)](),_0x1ec301=[];for(const _0x3a734a of _0x1fcc15){if(!_0x3a734a[_0x1bcc54(0x124)])continue;if(_0x3a734a[_0x1bcc54(0xa4)]){_0x1ec301[_0x1bcc54(0x137)](..._0x3a734a[_0x1bcc54(0x141)]());continue;}const _0x2fd723=_0x3a734a[_0x1bcc54(0x125)]();if(_0x1ec301[_0x1bcc54(0xb1)]>0x0){const _0x301e15=_0x1ec301[0x0][_0x1bcc54(0x102)](_0x2fd723);if(_0x301e15){_0x1ec301[0x0]=_0x301e15;continue;}}_0x1ec301[_0x1bcc54(0x137)](_0x2fd723);}_0x359297[_0x1bcc54(0x137)]([_0x4cbacb[_0x1bcc54(0x132)],_0x1ec301]);}return _0x359297;}),this[_0x2f2834(0xac)](_0x50d20d,_0x2f2834(0xe5),(_0x2df9c3,_0x4235d1)=>{const _0x587c3b=_0x2f2834;this[_0x587c3b(0xac)](_0x4235d1,_0x587c3b(0xd4),(_0x57372f,_0x3e6a67,_0x546742,_0x8186b6)=>{const _0x2d8686=_0x587c3b;_0x4235d1[_0x2d8686(0x124)]&&(null==_0x546742?(this[_0x2d8686(0x129)](_0x8186b6[_0x2d8686(0xfb)]),this[_0x2d8686(0xc1)](_0x4235d1,!0x1)):(this[_0x2d8686(0x129)](_0x546742[_0x2d8686(0xfb)]),null==_0x8186b6&&this[_0x2d8686(0xc1)](_0x4235d1,!0x0)));}),null!==_0x4235d1[_0x587c3b(0xbc)]?this[_0x587c3b(0x129)](_0x4235d1[_0x587c3b(0xfb)]):this[_0x587c3b(0xc1)](_0x4235d1,!0x1);}),this[_0x2f2834(0xac)](_0x50d20d,_0x2f2834(0xe7),(_0x42bfb7,_0x310b81,_0x51b703)=>{const _0x25ae2c=_0x2f2834;this[_0x25ae2c(0x9d)](_0x310b81,_0x25ae2c(0xd4)),this[_0x25ae2c(0x118)][_0x25ae2c(0x108)](_0x310b81),this[_0x25ae2c(0x14a)][_0x25ae2c(0xb4)](_0x310b81)&&this[_0x25ae2c(0xff)](_0x310b81),_0x51b703&&this[_0x25ae2c(0x129)](_0x51b703[_0x25ae2c(0xfb)]);}),this[_0x2f2834(0xac)](_0x50d20d,_0x2f2834(0x110),(_0x103bf5,_0x48e2fd)=>{const _0x3da6cb=_0x2f2834;this[_0x3da6cb(0x129)](_0x48e2fd);}),this[_0x2f2834(0xac)](_0x2513f3,_0x2f2834(0x11a),()=>{const _0x50d852=_0x2f2834;this[_0x50d852(0xd8)]();}),this[_0x2f2834(0xac)](_0x5320f1,_0x2f2834(0x134),(_0x437b77,{threadId:_0x4bf32c,isFromAdapter:_0x4ed329})=>{const _0x347f2e=_0x2f2834;if(_0x4ed329||!_0x50d20d[_0x347f2e(0x111)](_0x4bf32c))return;const _0x372e1e=_0x50d20d[_0x347f2e(0x106)](_0x4bf32c);this[_0x347f2e(0x14a)][_0x347f2e(0xb5)](_0x372e1e)[_0x347f2e(0x132)][_0x347f2e(0xa6)][_0x347f2e(0xf2)](-0x1);},{'priority':_0x2f2834(0xc4)}),this[_0x2f2834(0x9f)]=this[_0x2f2834(0xbd)][_0x2f2834(0xd9)][_0x2f2834(0xb5)](_0x2f2834(0x9f));const _0x1f3d1b=this[_0x2f2834(0xbd)];this[_0x2f2834(0xb7)]=setInterval(()=>{const _0x177379=_0x2f2834;let _0x53d4c8;for(const _0x44bc5a in _0x1f3d1b){const _0x48370b=_0x44bc5a,_0x546324=_0x1f3d1b[_0x48370b];if(_0x177379(0x147)==_0x546324||_0x177379(0xda)==_0x546324||_0x177379(0xe8)==_0x546324||_0x177379(0x104)==_0x546324||_0x177379(0xdf)==_0x546324||_0x177379(0x12b)==_0x546324||_0x177379(0x120)==_0x546324||_0x177379(0xf5)==_0x546324){delete _0x1f3d1b[_0x48370b],_0x53d4c8=_0x546324,clearInterval(this[_0x177379(0xb7)]),this[_0x177379(0xb7)]=void 0x0;break;}}_0x177379(0xda)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x148)),_0x177379(0xe8)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x13d)),_0x177379(0x104)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x146)),_0x177379(0xdf)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x13b),_0x177379(0x101)),_0x177379(0x12b)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x9b)),_0x177379(0x120)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0xb8)),_0x177379(0xf5)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x13f));},0x3e8);}[_0x56c413(0x12d)](_0xa5749c){const _0x4e67b5=_0x56c413,_0x2c9cfc=this[_0x4e67b5(0x14a)][_0x4e67b5(0xb5)](_0xa5749c);if(!_0x2c9cfc)return null;return this[_0x4e67b5(0xbd)][_0x4e67b5(0x112)][_0x4e67b5(0xb5)](_0x4e67b5(0x127))[_0x4e67b5(0xc9)](_0x2c9cfc[_0x4e67b5(0x132)])||null;}[_0x56c413(0xef)](_0x549d1b){const _0x68f4cf=_0x56c413,_0x376fcc=this[_0x68f4cf(0xed)][_0x68f4cf(0xb5)](_0x549d1b[_0x68f4cf(0xf8)]);return _0x376fcc?_0x376fcc[_0x68f4cf(0xcf)]:null;}[_0x56c413(0xd8)](){const _0x1f2a0e=_0x56c413,_0x165ca1=this[_0x1f2a0e(0xbd)][_0x1f2a0e(0x112)][_0x1f2a0e(0xb5)](_0x1f2a0e(0x127)),_0x1b61af=this[_0x1f2a0e(0xbd)][_0x1f2a0e(0x112)][_0x1f2a0e(0xb5)](_0x1f2a0e(0xec)),_0x527eb8=Array[_0x1f2a0e(0x143)](_0x165ca1[_0x1f2a0e(0xc7)],_0x274bef=>_0x274bef[_0x1f2a0e(0xf8)])[_0x1f2a0e(0xa9)](_0x5ab05d=>this[_0x1f2a0e(0xed)][_0x1f2a0e(0xb4)](_0x5ab05d)),_0x196774=[];for(const _0x3748ef of _0x527eb8){const _0x41eeaf=this[_0x1f2a0e(0xed)][_0x1f2a0e(0xb5)](_0x3748ef)[_0x1f2a0e(0xcf)][_0x1f2a0e(0xd7)]();_0x196774[_0x1f2a0e(0x137)](..._0x41eeaf[_0x1f2a0e(0xf6)]((_0x13dc92,_0x34c552)=>[..._0x13dc92,..._0x34c552[_0x1f2a0e(0x113)]()],[]));}_0x1b61af[_0x1f2a0e(0xdd)]=_0x196774;}[_0x56c413(0xf7)](){const _0x1bfc1e=_0x56c413,_0x4c23da=this[_0x1bfc1e(0xbd)],_0x1f93fc=_0x4c23da[_0x1bfc1e(0xfc)],_0x3728cd=_0x260453(_0x1f93fc,_0x1bfc1e(0x119)),_0x5e1403=new _0x3c470f([{'type':_0x1bfc1e(0x12c),'model':new _0x16f6f4({'withText':!0x0,'isToggleable':!0x0,'label':_0x3728cd,'commandName':_0x1bfc1e(0x14d),'role':_0x1bfc1e(0xd5)})},{'type':_0x1bfc1e(0xd1)},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xa7)),'commandName':_0x1bfc1e(0x116),'role':_0x1bfc1e(0xeb)})},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xcc)),'commandName':_0x1bfc1e(0x14b),'role':_0x1bfc1e(0xeb)})},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0x138)),'commandName':_0x1bfc1e(0x121),'role':_0x1bfc1e(0xeb)})},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xc8)),'commandName':_0x1bfc1e(0xb0),'role':_0x1bfc1e(0xeb)})}]);_0x4c23da[_0x1bfc1e(0x112)][_0x1bfc1e(0xb4)](_0x1bfc1e(0x10f))&&_0x5e1403[_0x1bfc1e(0xc0)]([{'type':_0x1bfc1e(0xd1)},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xbe)),'commandName':_0x1bfc1e(0xae),'role':_0x1bfc1e(0xeb)})}]);for(const _0xa1b1fe of _0x5e1403)if(ke(_0xa1b1fe)){const _0x1c8bc0=_0x4c23da[_0x1bfc1e(0x109)][_0x1bfc1e(0xb5)](_0xa1b1fe[_0x1bfc1e(0xcf)][_0x1bfc1e(0x145)]);_0xa1b1fe[_0x1bfc1e(0xcf)][_0x1bfc1e(0x139)](_0x1bfc1e(0x103),_0x1bfc1e(0xce))['to'](_0x1c8bc0,_0x1bfc1e(0x133),_0x1bfc1e(0xce));}_0x4c23da['ui'][_0x1bfc1e(0x126)][_0x1bfc1e(0xe1)](_0x1bfc1e(0x14d),_0x4d01ac=>this[_0x1bfc1e(0x12a)](_0x4d01ac,_0x5e1403,_0x3728cd)),_0x4c23da['ui'][_0x1bfc1e(0x126)][_0x1bfc1e(0xe1)](_0x1bfc1e(0x123),_0x40d0ee=>this[_0x1bfc1e(0xfe)](_0x40d0ee,_0x5e1403,_0x3728cd));}[_0x56c413(0x12a)](_0x5e1371,_0x51ab52,_0x2dad8c){const _0x27181f=_0x56c413,_0x5a89d4=_0x50eac0(_0x5e1371,_0x4c3d69),_0x51c575=this[_0x27181f(0xbd)][_0x27181f(0x109)][_0x27181f(0xb5)](_0x27181f(0x14d));_0x5a89d4[_0x27181f(0x100)][_0x27181f(0xf9)]({'tooltip':_0x2dad8c,'label':_0x2dad8c,'icon':_0x28076}),_0x5a89d4[_0x27181f(0x100)][_0x27181f(0x139)](_0x27181f(0x103))['to'](_0x51c575,_0x27181f(0x133)),_0x5a89d4[_0x27181f(0x100)]['on'](_0x27181f(0xd3),()=>{const _0x137897=_0x27181f;_0x51c575[_0x137897(0xd3)](),this[_0x137897(0xbd)][_0x137897(0x128)][_0x137897(0x132)][_0x137897(0xf2)]();}),_0x335a06(_0x5a89d4,_0x51ab52,{'role':_0x27181f(0xf0)});const _0x436cfb=[];for(const _0x67d463 of _0x51ab52)ke(_0x67d463)&&_0x436cfb[_0x27181f(0x137)](this[_0x27181f(0xbd)][_0x27181f(0x109)][_0x27181f(0xb5)](_0x67d463[_0x27181f(0xcf)][_0x27181f(0x145)]));const _0x4b37e2=_0x5a89d4[_0x27181f(0x100)];return _0x4b37e2[_0x27181f(0xf1)][_0x27181f(0xca)](_0x27181f(0xce)),_0x4b37e2[_0x27181f(0x122)][_0x27181f(0xca)](_0x27181f(0xce)),_0x4b37e2[_0x27181f(0xf1)][_0x27181f(0x139)](_0x27181f(0xce))['to'](_0x51c575,_0x27181f(0xce)),_0x4b37e2[_0x27181f(0x122)][_0x27181f(0x139)](_0x27181f(0xce))[_0x27181f(0x131)](_0x436cfb,_0x27181f(0xce),(..._0x44fc2a)=>_0x44fc2a[_0x27181f(0xab)](_0x3e3d90=>_0x3e3d90)),_0x5a89d4['on'](_0x27181f(0xd3),_0x728773=>{const _0xa04fb7=_0x27181f;this[_0xa04fb7(0xbd)][_0xa04fb7(0xd3)](_0x728773[_0xa04fb7(0xad)][_0xa04fb7(0x145)]),this[_0xa04fb7(0xbd)][_0xa04fb7(0x128)][_0xa04fb7(0x132)][_0xa04fb7(0xf2)]();}),_0x5a89d4;}[_0x56c413(0xfe)](_0x544a4f,_0x308728,_0x42f977){const _0x5e3083=_0x56c413,_0x6634f=new _0x1f678a(_0x544a4f),_0x5efbe1=this[_0x5e3083(0xbd)][_0x5e3083(0x109)][_0x5e3083(0xb5)](_0x5e3083(0x14d));_0x6634f[_0x5e3083(0x100)][_0x5e3083(0xf9)]({'label':_0x42f977,'icon':_0x28076});const _0x1c847d=new _0x1d15b2(_0x544a4f);for(const _0x4d4568 of _0x308728){if(_0x5e3083(0xd1)==_0x4d4568[_0x5e3083(0xc5)]){_0x1c847d[_0x5e3083(0x11c)][_0x5e3083(0xe1)](new _0x3c18cb(_0x544a4f));continue;}const _0x368af0=new _0x1e8fd7(_0x544a4f,_0x6634f),_0x3ff1d6=new _0x5a1279(_0x544a4f),_0x5774c1=_0x4d4568[_0x5e3083(0xcf)];_0x3ff1d6[_0x5e3083(0x139)](...Object[_0x5e3083(0xdc)](_0x5774c1))['to'](_0x5774c1),_0x3ff1d6[_0x5e3083(0x11b)](_0x5e3083(0xd3))['to'](_0x6634f),_0x3ff1d6['on'](_0x5e3083(0xd3),()=>{const _0x5b7a83=_0x5e3083;this[_0x5b7a83(0xbd)][_0x5b7a83(0xd3)](_0x5774c1[_0x5b7a83(0x145)]),this[_0x5b7a83(0xbd)][_0x5b7a83(0x128)][_0x5b7a83(0x132)][_0x5b7a83(0xf2)]();}),_0x368af0[_0x5e3083(0xc2)][_0x5e3083(0xe1)](_0x3ff1d6),_0x1c847d[_0x5e3083(0x11c)][_0x5e3083(0xe1)](_0x368af0);}return _0x6634f[_0x5e3083(0x139)](_0x5e3083(0xce))['to'](_0x5efbe1,_0x5e3083(0xce)),_0x6634f[_0x5e3083(0x135)][_0x5e3083(0xc2)][_0x5e3083(0xe1)](_0x1c847d),_0x6634f;}[_0x56c413(0xa2)](_0xa8cbd3){const _0x5a595b=_0x56c413,_0x40d8f1=this[_0x5a595b(0xbd)],_0x4b8fd1=_0x40d8f1[_0x5a595b(0xd9)],_0x3cfda7=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0x127)),_0x4ba494=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0xcb)),_0x276476=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0xd0)),_0x3d35cc=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x2ebf4a)['me'],_0x286530=_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x14d))[_0x5a595b(0xf3)],_0x4bfa51=_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x14d))[_0x5a595b(0x12f)],{CommentsListView:_0x370d02,CommentThreadInputView:_0x54e10d}=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0x105));let _0x1dc421,_0x16882f,_0x5d9fd4;this[_0x5a595b(0xa5)][_0x5a595b(0xb4)](_0xa8cbd3['id'])?(_0x16882f=this[_0x5a595b(0xa5)][_0x5a595b(0xb5)](_0xa8cbd3['id']),_0x1dc421=_0x16882f[_0x5a595b(0x9e)]):(_0x1dc421=new _0x286530(_0x40d8f1[_0x5a595b(0xfc)],_0xa8cbd3,_0x3d35cc,{'disableComments':this[_0x5a595b(0xe2)],'editorConfig':{..._0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xcd)),'licenseKey':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x9f))},'maxCommentsWhenCollapsed':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x13a)),'maxThreadTotalWeight':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xdb)),'maxCommentCharsWhenCollapsed':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xbb)),'formatDateTime':_0x5e8b3a(_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xfc)),_0x40d8f1[_0x5a595b(0xfc)]),'CommentView':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x136))[_0x5a595b(0x10a)],'CommentsListView':_0x370d02,'CommentThreadInputView':_0x54e10d,'SuggestionView':_0x4bfa51}),_0x1dc421[_0x5a595b(0xe0)][_0x5a595b(0x10c)]['on'](_0x5a595b(0xd3),()=>{const _0x2334e9=_0x5a595b;_0x40d8f1[_0x2334e9(0x128)][_0x2334e9(0x132)][_0x2334e9(0xf2)]();}),_0x1dc421[_0x5a595b(0xe0)][_0x5a595b(0x115)]['on'](_0x5a595b(0xd3),()=>{const _0x5eec7b=_0x5a595b;_0x40d8f1[_0x5eec7b(0x128)][_0x5eec7b(0x132)][_0x5eec7b(0xf2)]();}),_0x16882f=_0x3cfda7[_0x5a595b(0x14c)](this[_0x5a595b(0xbd)][_0x5a595b(0xfc)],_0x1dc421),_0x16882f[_0x5a595b(0x139)](_0x5a595b(0x13e))['to'](_0x1dc421,_0x5a595b(0x13e)),_0x16882f[_0x5a595b(0x139)](_0x5a595b(0xb1))['to'](_0x1dc421),_0x16882f[_0x5a595b(0x139)](_0x5a595b(0xc5))['to'](_0x1dc421,_0x5a595b(0xc5),_0x5b14bd=>_0x5a595b(0xe4)+_0x5b14bd),_0x1dc421['on'](_0x5a595b(0xa8),()=>{const _0x584d20=_0x5a595b;_0x5d9fd4[_0x584d20(0xea)](_0x584d20(0xa8));}),this[_0x5a595b(0xa5)][_0x5a595b(0xf9)](_0xa8cbd3['id'],_0x16882f));const _0x4f28fe=_0x4ba494[_0x5a595b(0x10d)](_0xa8cbd3[_0x5a595b(0xb2)],_0x1dc421),_0x3acf24=new _0x5a3ba2(_0x40d8f1,_0xa8cbd3,_0x1dc421,_0x4f28fe),_0x235770=_0xa8cbd3[_0x5a595b(0xd7)]()[_0x5a595b(0xa9)](_0xa4160c=>_0xa4160c[_0x5a595b(0x124)]);_0x1dc421[_0x5a595b(0x11f)]=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0xec))[_0x5a595b(0xfa)][_0x5a595b(0xc6)](_0x235770),this[_0x5a595b(0x14a)][_0x5a595b(0xf9)](_0xa8cbd3,_0x3acf24),this[_0x5a595b(0xed)][_0x5a595b(0xf9)](_0x1dc421,_0x3acf24);const _0x36192a=()=>{const _0x2aecd7=_0x5a595b,_0x49155c=[],_0x267f80=_0xa8cbd3[_0x2aecd7(0xd7)]()[_0x2aecd7(0xa9)](_0x2f516f=>_0x2f516f[_0x2aecd7(0x124)]);for(const _0x12c52e of _0x267f80)_0x49155c[_0x2aecd7(0x137)](..._0x12c52e[_0x2aecd7(0xb9)]());return _0x190c32(_0x40d8f1[_0x2aecd7(0x128)],_0x49155c);};_0x5d9fd4=_0x3cfda7[_0x5a595b(0xba)]({'view':_0x16882f,'target':_0x36192a,'type':()=>_0x5a595b(0xe4)+_0x3acf24[_0x5a595b(0x132)][_0x5a595b(0xc5)],'isVisible':!!_0x36192a()}),_0x4ba494[_0x5a595b(0xc3)](_0x1dc421,_0x5d9fd4),_0x3cfda7[_0x5a595b(0xe1)](_0x5d9fd4),_0x276476[_0x5a595b(0x12e)](_0x5d9fd4);}[_0x56c413(0xff)](_0x4089d2){const _0x4c8c86=_0x56c413,_0x4a7849=this[_0x4c8c86(0xbd)][_0x4c8c86(0x112)][_0x4c8c86(0xb5)](_0x4c8c86(0xcb)),_0x49c74d=this[_0x4c8c86(0xbd)][_0x4c8c86(0x112)][_0x4c8c86(0xb5)](_0x4c8c86(0x127)),_0x58ca61=this[_0x4c8c86(0x14a)][_0x4c8c86(0xb5)](_0x4089d2),_0x86956d=_0x58ca61[_0x4c8c86(0x132)],_0x25bf66=_0x49c74d[_0x4c8c86(0xc9)](_0x86956d);_0x4a7849[_0x4c8c86(0xaa)](_0x86956d),_0x25bf66&&_0x49c74d[_0x4c8c86(0xe9)](_0x25bf66),this[_0x4c8c86(0x14a)][_0x4c8c86(0x108)](_0x4089d2),this[_0x4c8c86(0xed)][_0x4c8c86(0x108)](_0x86956d),_0x58ca61[_0x4c8c86(0xbf)]();}[_0x56c413(0x129)](_0x59616d){const _0x34f89c=_0x56c413;if(!_0x59616d[_0x34f89c(0x124)]||!this[_0x34f89c(0x14a)][_0x34f89c(0xb4)](_0x59616d))return;const _0x5b70cd=this[_0x34f89c(0xbd)][_0x34f89c(0x112)][_0x34f89c(0xb5)](_0x34f89c(0xec)),_0x3552f3=this[_0x34f89c(0x14a)][_0x34f89c(0xb5)](_0x59616d),_0x2b40c8=_0x59616d[_0x34f89c(0xd7)]();_0x3552f3[_0x34f89c(0x132)][_0x34f89c(0x11f)]=_0x5b70cd[_0x34f89c(0xfa)][_0x34f89c(0xc6)](_0x2b40c8);}[_0x56c413(0xbf)](){const _0x82b07f=_0x56c413;for(const _0x45f19e of this[_0x82b07f(0x14a)][_0x82b07f(0xdc)]())this[_0x82b07f(0xff)](_0x45f19e);for(const _0x21d9cc of this[_0x82b07f(0xa5)][_0x82b07f(0x149)]())_0x21d9cc[_0x82b07f(0x9e)][_0x82b07f(0xbf)]();super[_0x82b07f(0xbf)](),this[_0x82b07f(0xb7)]&&clearInterval(this[_0x82b07f(0xb7)]);}}function ke(_0x141f30){const _0x6340f7=_0x56c413;return _0x6340f7(0xcf)in _0x141f30;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x499b51=_0x3cce;function _0x3cce(_0x1909be,_0x1d21ea){const _0x5d5007=_0x5d50();return _0x3cce=function(_0x3cce82,_0x3c13fb){_0x3cce82=_0x3cce82-0x1f2;let _0x10c973=_0x5d5007[_0x3cce82];return _0x10c973;},_0x3cce(_0x1909be,_0x1d21ea);}(function(_0x55251b,_0x35baf7){const _0x31099f=_0x3cce,_0x11da52=_0x55251b();while(!![]){try{const _0x2afb60=-parseInt(_0x31099f(0x20e))/0x1*(parseInt(_0x31099f(0x215))/0x2)+parseInt(_0x31099f(0x1fe))/0x3*(-parseInt(_0x31099f(0x1fb))/0x4)+-parseInt(_0x31099f(0x207))/0x5+-parseInt(_0x31099f(0x202))/0x6+parseInt(_0x31099f(0x201))/0x7+parseInt(_0x31099f(0x219))/0x8+parseInt(_0x31099f(0x206))/0x9;if(_0x2afb60===_0x35baf7)break;else _0x11da52['push'](_0x11da52['shift']());}catch(_0x109621){_0x11da52['push'](_0x11da52['shift']());}}}(_0x5d50,0x4f995));import{ObservableMixin as _0x1b03e7}from'ckeditor5/src/utils.js';function _0x5d50(){const _0x3b5ae9=['model','bind','PendingActions','acceptSuggestion','canEditAt','PENDING_ACTION_SUGGESTION','404IkWvOg','stopListening','isDirty','10377AzvOLt','listenTo','_pendingAction','1033970CPIPvv','1426530sUxSRy','canDiscard','_removePendingAction','plugins','9588348xSFHOr','86420wNSdAt','discardSuggestion','commentThreadController','unbind','view','_acceptCommand','change:isDirty','1wnZdAh','remove','get','isEnabled','_discardCommand','canAccept','commands','933122nLqfwp','destroy','_editor','locale','1471312XRGYFV','add','_setPendingAction','getRanges','execute'];_0x5d50=function(){return _0x3b5ae9;};return _0x5d50();}import{getTranslation as _0x1135e1}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b03e7(){[_0x499b51(0x1f5)];[_0x499b51(0x20b)];[_0x499b51(0x209)];[_0x499b51(0x217)];[_0x499b51(0x20c)];[_0x499b51(0x212)];[_0x499b51(0x200)];constructor(_0x3050dd,_0x1e5563,_0x23afa2,_0x1db74d){const _0x3a3981=_0x499b51;super(),this[_0x3a3981(0x1f5)]=_0x1e5563,this[_0x3a3981(0x20b)]=_0x23afa2,this[_0x3a3981(0x209)]=_0x1db74d,this[_0x3a3981(0x217)]=_0x3050dd,this[_0x3a3981(0x20c)]=_0x3050dd[_0x3a3981(0x214)][_0x3a3981(0x210)](_0x3a3981(0x1f8)),this[_0x3a3981(0x212)]=_0x3050dd[_0x3a3981(0x214)][_0x3a3981(0x210)](_0x3a3981(0x208)),this[_0x3a3981(0x20b)][_0x3a3981(0x1f6)](_0x3a3981(0x211))['to'](this[_0x3a3981(0x20c)],this[_0x3a3981(0x212)],(_0x22e4d2,_0x10d732)=>_0x22e4d2||_0x10d732),this[_0x3a3981(0x20b)][_0x3a3981(0x1f6)](_0x3a3981(0x213))['to'](this[_0x3a3981(0x20c)],_0x3a3981(0x211),_0x234826=>_0x234826&&this[_0x3a3981(0x217)][_0x3a3981(0x1f5)][_0x3a3981(0x1f9)](_0x1e5563[_0x3a3981(0x1f3)]())),this[_0x3a3981(0x20b)][_0x3a3981(0x1f6)](_0x3a3981(0x203))['to'](this[_0x3a3981(0x212)],_0x3a3981(0x211),_0x2b297f=>_0x2b297f&&this[_0x3a3981(0x217)][_0x3a3981(0x1f5)][_0x3a3981(0x1f9)](_0x1e5563[_0x3a3981(0x1f3)]())),this[_0x3a3981(0x200)]=null,_0x23afa2[_0x3a3981(0x1fd)]&&this[_0x3a3981(0x1f2)](),this[_0x3a3981(0x1ff)](_0x23afa2,_0x3a3981(0x1f8),()=>this[_0x3a3981(0x1f8)]()),this[_0x3a3981(0x1ff)](_0x23afa2,_0x3a3981(0x208),()=>this[_0x3a3981(0x208)]()),this[_0x3a3981(0x1ff)](_0x23afa2,_0x3a3981(0x20d),()=>{const _0x3fb555=_0x3a3981;_0x23afa2[_0x3fb555(0x1fd)]?this[_0x3fb555(0x1f2)]():this[_0x3fb555(0x204)]();});}[_0x499b51(0x1f8)](){const _0x19d4e2=_0x499b51;this[_0x19d4e2(0x20c)][_0x19d4e2(0x1f4)](this[_0x19d4e2(0x1f5)]['id']);}[_0x499b51(0x208)](){const _0x3f9070=_0x499b51;this[_0x3f9070(0x212)][_0x3f9070(0x1f4)](this[_0x3f9070(0x1f5)]['id']);}[_0x499b51(0x216)](){const _0xdf7b63=_0x499b51;this[_0xdf7b63(0x20b)][_0xdf7b63(0x20a)](_0xdf7b63(0x211)),this[_0xdf7b63(0x20b)][_0xdf7b63(0x20a)](_0xdf7b63(0x213)),this[_0xdf7b63(0x20b)][_0xdf7b63(0x20a)](_0xdf7b63(0x203)),this[_0xdf7b63(0x1fc)](),this[_0xdf7b63(0x209)][_0xdf7b63(0x216)](),this[_0xdf7b63(0x200)]&&this[_0xdf7b63(0x204)]();}[_0x499b51(0x1f2)](){const _0x5a8be4=_0x499b51,_0x3578ff=_0x1135e1(this[_0x5a8be4(0x217)][_0x5a8be4(0x218)],_0x5a8be4(0x1fa));this[_0x5a8be4(0x200)]=this[_0x5a8be4(0x217)][_0x5a8be4(0x205)][_0x5a8be4(0x210)](_0x5a8be4(0x1f7))[_0x5a8be4(0x21a)](_0x3578ff);}[_0x499b51(0x204)](){const _0x3ffb0=_0x499b51;null!==this[_0x3ffb0(0x200)]&&this[_0x3ffb0(0x217)][_0x3ffb0(0x205)][_0x3ffb0(0x210)](_0x3ffb0(0x1f7))[_0x3ffb0(0x20f)](this[_0x3ffb0(0x200)]),this[_0x3ffb0(0x200)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x340673=_0x4f31;(function(_0x3551e5,_0x45039d){const _0xf23a0c=_0x4f31,_0x56ad29=_0x3551e5();while(!![]){try{const _0x56a838=parseInt(_0xf23a0c(0x79))/0x1+-parseInt(_0xf23a0c(0x83))/0x2+parseInt(_0xf23a0c(0x8a))/0x3*(-parseInt(_0xf23a0c(0x97))/0x4)+parseInt(_0xf23a0c(0x84))/0x5+-parseInt(_0xf23a0c(0xa8))/0x6*(parseInt(_0xf23a0c(0x9c))/0x7)+-parseInt(_0xf23a0c(0x7b))/0x8+parseInt(_0xf23a0c(0x8c))/0x9;if(_0x56a838===_0x45039d)break;else _0x56ad29['push'](_0x56ad29['shift']());}catch(_0x3ae94f){_0x56ad29['push'](_0x56ad29['shift']());}}}(_0x4a9e,0x624ec));import{FocusCycler as _0x41de85,View as _0xb5931a,ViewCollection as _0x4a7f53}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3b33ff,KeystrokeHandler as _0x58ee33}from'ckeditor5/src/utils.js';function _0x4a9e(){const _0x90803e=['isDirty','_model','canDiscard','map','SUGGESTION_THREAD_DESCRIPTION','_createCommentThreadInputView','isEnabled','72sjDvVb','focus','cancel','setData','disableComments','text/html','content','CommentView','focusables','descriptionParts','showInput','destroy','submit','commentThread','parseFromString','focusTracker','author','name','ariaLabel','value','tab','bind','locale','hasDirtyComment','editorConfig','143905WbCgAq','fire','2650472nWMQAi','shift+tab','disabledSubmit','_createCommentViews','delegate','textContent','isActive','removeComment','974660lxNkDp','3101065MvAFRa','length','authoredAt','set','render','focusCycler','340632DhTzjA','SUGGESTION_THREAD_ARIA_LABEL','12319137dvPTBq','commentInputView','assign','keystrokes','commentThreadInputView','addComment','formatDateTime','target','commentsListView','_config','element','12PXYFby','canAccept','_localUser','isReadOnly','body','333067evhAMF','ariaDescriptionView','editor','join','updateComment'];_0x4a9e=function(){return _0x90803e;};return _0x4a9e();}import{AriaDescriptionView as _0x3e0f4f,setupThreadKeyboardNavigation as _0x35b1aa}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4f31(_0x3f01ce,_0x5145fc){const _0x4a9e1f=_0x4a9e();return _0x4f31=function(_0x4f3116,_0x45c1f3){_0x4f3116=_0x4f3116-0x6b;let _0x251543=_0x4a9e1f[_0x4f3116];return _0x251543;},_0x4f31(_0x3f01ce,_0x5145fc);}import{getTranslation as _0x14ead6}from'../../utils/common-translations.js';import{renderDescription as _0x4fee94}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0xb5931a{[_0x340673(0x94)];[_0x340673(0x90)];[_0x340673(0x9d)];[_0x340673(0xb0)];[_0x340673(0x6f)];[_0x340673(0x8f)];[_0x340673(0x89)];[_0x340673(0xa2)];[_0x340673(0x99)];[_0x340673(0x95)];constructor(_0xbf5eee,_0x1b7a51,_0x384bad,_0x1c5348){const _0x10f563=_0x340673;super(_0xbf5eee),this[_0x10f563(0x94)]=null,this[_0x10f563(0x90)]=null,this[_0x10f563(0x9d)]=new _0x3e0f4f(_0xbf5eee,_0x14ead6(_0xbf5eee,_0x10f563(0xa5))),this[_0x10f563(0x87)](_0x10f563(0x81),!0x1),this[_0x10f563(0x87)](_0x10f563(0x86),_0x1b7a51[_0x10f563(0x86)]),this[_0x10f563(0x75)](_0x10f563(0x86))['to'](_0x1b7a51),this[_0x10f563(0x87)](_0x10f563(0xb1),[]),this[_0x10f563(0x87)](_0x10f563(0xa1),!0x1),this[_0x10f563(0x87)](_0x10f563(0xa7),!0x1),this[_0x10f563(0x87)](_0x10f563(0x98),!0x1),this[_0x10f563(0x87)](_0x10f563(0xa3),!0x1),this[_0x10f563(0x75)](_0x10f563(0x72))['to'](this,_0x10f563(0x85),_0x1b7a51,_0x10f563(0x86),this,_0x10f563(0xb1),(_0x2d45db,_0x22ecbd,_0x591945)=>{const _0x373f7f=_0x10f563,_0x3f2e35=_0x591945[_0x373f7f(0xa4)](_0x5c644c=>_0x4fee94(_0x5c644c[_0x373f7f(0xae)]))[_0x373f7f(0x9f)]('.\x20')+'.';return _0x14ead6(this[_0x373f7f(0x76)],_0x373f7f(0x8b),[_0x2d45db-0x1,_0x1b7a51[_0x373f7f(0x70)][_0x373f7f(0x71)],_0x22ecbd?_0x1c5348[_0x373f7f(0x92)](_0x22ecbd):'',new DOMParser()[_0x373f7f(0x6e)](_0x3f2e35,_0x373f7f(0xad))[_0x373f7f(0x9b)][_0x373f7f(0x80)]]);}),this[_0x10f563(0xb0)]=new _0x4a7f53(),this[_0x10f563(0x6f)]=new _0x3b33ff(),this[_0x10f563(0x8f)]=new _0x58ee33(),this[_0x10f563(0x89)]=new _0x41de85({'focusables':this[_0x10f563(0xb0)],'focusTracker':this[_0x10f563(0x6f)],'keystrokeHandler':this[_0x10f563(0x8f)],'keystrokeHandlerOptions':{'filter':_0x1ebd69=>_0x1ebd69[_0x10f563(0x93)]!==this[_0x10f563(0x96)]},'actions':{'focusPrevious':_0x10f563(0x7c),'focusNext':_0x10f563(0x74)}}),this[_0x10f563(0xa2)]=_0x1b7a51,this[_0x10f563(0x99)]=_0x384bad,this[_0x10f563(0x95)]=_0x1c5348,_0x1c5348[_0x10f563(0xac)]?this[_0x10f563(0x87)](_0x10f563(0x85),0x1):this[_0x10f563(0x7e)]();}[_0x340673(0x88)](){const _0x362d20=_0x340673;super[_0x362d20(0x88)](),_0x35b1aa(this,this[_0x362d20(0xb0)]);}[_0x340673(0xa9)](){const _0x214801=_0x340673;this[_0x214801(0x96)][_0x214801(0xa9)]();}[_0x340673(0x6b)](){const _0x3b878b=_0x340673;this[_0x3b878b(0x94)]&&this[_0x3b878b(0x94)][_0x3b878b(0x6b)](),this[_0x3b878b(0x90)]&&this[_0x3b878b(0x90)][_0x3b878b(0x6b)](),super[_0x3b878b(0x6b)]();}[_0x340673(0x7e)](){const _0x40aa44=_0x340673,{CommentsListView:_0x3fb59b}=this[_0x40aa44(0x95)];this[_0x40aa44(0x94)]=new _0x3fb59b(this[_0x40aa44(0x76)],this[_0x40aa44(0xa2)][_0x40aa44(0x6d)],Object[_0x40aa44(0x8e)]({'CommentView':this[_0x40aa44(0x95)][_0x40aa44(0xaf)]},this[_0x40aa44(0x95)])),this[_0x40aa44(0x94)][_0x40aa44(0x7f)](_0x40aa44(0x82))['to'](this),this[_0x40aa44(0x94)][_0x40aa44(0x7f)](_0x40aa44(0xa0))['to'](this),this[_0x40aa44(0x94)][_0x40aa44(0x75)](_0x40aa44(0x81))['to'](this),this[_0x40aa44(0x87)](_0x40aa44(0x85),this[_0x40aa44(0x94)][_0x40aa44(0x85)]+0x1),this[_0x40aa44(0x75)](_0x40aa44(0x85))['to'](this[_0x40aa44(0x94)],_0x40aa44(0x85),_0xdb30bc=>_0xdb30bc+0x1),this[_0x40aa44(0x90)]=this[_0x40aa44(0xa6)](),this['on'](_0x40aa44(0x82),()=>this[_0x40aa44(0xa9)]()),this[_0x40aa44(0x75)](_0x40aa44(0xa1))['to'](this[_0x40aa44(0x94)],_0x40aa44(0x77),this[_0x40aa44(0x90)][_0x40aa44(0x8d)],_0x40aa44(0x73),(_0x1770ba,_0x1270ec)=>_0x1770ba||!!_0x1270ec);}[_0x340673(0xa6)](){const _0x562de0=_0x340673,{CommentThreadInputView:_0x40bf2b}=this[_0x562de0(0x95)],_0x4c6d28=new _0x40bf2b(this[_0x562de0(0x76)],this[_0x562de0(0x99)],this[_0x562de0(0x95)][_0x562de0(0x78)]),_0x5d2850=_0x4c6d28[_0x562de0(0x8d)];return _0x4c6d28[_0x562de0(0x75)](_0x562de0(0xb2))['to'](this,_0x562de0(0x81),this[_0x562de0(0xa2)][_0x562de0(0x6d)],_0x562de0(0x9a),_0x5d2850,_0x562de0(0x73),(_0x79d7e,_0x2eae8a,_0x16534a)=>!!_0x16534a||_0x79d7e&&!_0x2eae8a),_0x5d2850['on'](_0x562de0(0x6c),(_0x72c8a2,_0x52522e)=>{const _0x29f13c=_0x562de0;this[_0x29f13c(0x7a)](_0x29f13c(0x91),_0x52522e),_0x5d2850[_0x29f13c(0x9e)][_0x29f13c(0xab)]('');}),_0x5d2850['on'](_0x562de0(0xaa),()=>this[_0x562de0(0xa9)]()),_0x5d2850[_0x562de0(0x75)](_0x562de0(0x7d))['to'](this[_0x562de0(0xa2)][_0x562de0(0x6d)],_0x562de0(0x9a)),_0x4c6d28;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a47af=_0xbe5a;function _0xbe5a(_0x1c399b,_0x46cf09){const _0x2bf535=_0x2bf5();return _0xbe5a=function(_0xbe5a10,_0x6887c2){_0xbe5a10=_0xbe5a10-0x82;let _0x5111b5=_0x2bf535[_0xbe5a10];return _0x5111b5;},_0xbe5a(_0x1c399b,_0x46cf09);}function _0x2bf5(){const _0x44014c=['div','2497680RcTPsW','discardButton','suggestionView','formatDateTime','ck-suggestion-wrapper--active','canDiscard','4369902QabZxi','editorDestroyed','disableComments','_model','content','</p>','12802804WDglqm','push','ck-suggestion--disabled-comments','ariaDescriptionView','commentThreadInputView','type','<p>','SuggestionView','delegate','isEnabled','setTemplate','ariaLabel','29493704deUTUD','description','bindTemplate','ck-suggestion-','1649403sLqGyn','bind','ck-suggestion-wrapper','listitem','2WcOsJx','commentThread','_descriptionElement','_config','8762325iDZkvm','editorReady','render','acceptButton','ck-rounded-corners','getTemplate','author','canAccept','commentsListView','descriptionParts','9JJRoUt','discardSuggestion','add','isActive','6808480bIEYLH','acceptSuggestion','color','focusables','set'];_0x2bf5=function(){return _0x44014c;};return _0x2bf5();}(function(_0x460d0b,_0x1194e0){const _0x1c3883=_0xbe5a,_0x173329=_0x460d0b();while(!![]){try{const _0x352303=-parseInt(_0x1c3883(0x9b))/0x1+-parseInt(_0x1c3883(0x9f))/0x2*(-parseInt(_0x1c3883(0x85))/0x3)+parseInt(_0x1c3883(0xb1))/0x4+parseInt(_0x1c3883(0xa3))/0x5+-parseInt(_0x1c3883(0xb7))/0x6+parseInt(_0x1c3883(0x8b))/0x7+-parseInt(_0x1c3883(0x97))/0x8*(parseInt(_0x1c3883(0xad))/0x9);if(_0x352303===_0x1194e0)break;else _0x173329['push'](_0x173329['shift']());}catch(_0x304175){_0x173329['push'](_0x173329['shift']());}}}(_0x2bf5,0xf1293));import{BaseSuggestionThreadView as _0x556f78}from'./basesuggestionthreadview.js';import{trimHtml as _0x4c3ede}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1b0fce}from'../../utils/utils.js';export class SuggestionThreadView extends _0x556f78{[_0x4a47af(0xb9)];[_0x4a47af(0xa1)];constructor(_0x5f151a,_0x197b3f,_0x717b62,_0x1d1a9a){const _0x45184b=_0x4a47af;super(_0x5f151a,_0x197b3f,_0x717b62,_0x1d1a9a),this[_0x45184b(0xb5)](_0x45184b(0x90),''),this[_0x45184b(0x9c)](_0x45184b(0x90))['to'](this,_0x45184b(0xac),_0x31f4c3=>_0x31f4c3&&_0x31f4c3[0x0]?_0x31f4c3[0x0][_0x45184b(0x90)]:''),this[_0x45184b(0x9c)](_0x45184b(0x98))['to'](this,_0x45184b(0xac),this,_0x45184b(0xb0),(_0x2fc7e1,_0x116f89)=>{const _0x4e4010=_0x45184b;let _0x142850='';for(const _0x3201db of _0x2fc7e1)_0x142850+=_0x4e4010(0x91)+_0x1b0fce(_0x3201db[_0x4e4010(0x89)],_0x3201db[_0x4e4010(0xb3)])+_0x4e4010(0x8a);return _0x116f89?_0x142850:_0x4c3ede(_0x142850,{'limit':0x8c});}),this[_0x45184b(0xa1)]=null,this[_0x45184b(0xb9)]=new _0x1d1a9a[(_0x45184b(0x92))](_0x5f151a,_0x197b3f,{'formatDateTime':_0x1d1a9a[_0x45184b(0x82)]}),this[_0x45184b(0xb9)][_0x45184b(0x9c)](_0x45184b(0x98))['to'](this),this[_0x45184b(0xb9)][_0x45184b(0x93)](_0x45184b(0xb2),_0x45184b(0xae))['to'](this),this[_0x45184b(0xb9)][_0x45184b(0xa6)][_0x45184b(0x9c)](_0x45184b(0x94))['to'](this,_0x45184b(0xaa)),this[_0x45184b(0xb9)][_0x45184b(0xb8)][_0x45184b(0x9c)](_0x45184b(0x94))['to'](this,_0x45184b(0x84)),this[_0x45184b(0xb4)][_0x45184b(0xaf)](this[_0x45184b(0xb9)]),this[_0x45184b(0xab)]&&this[_0x45184b(0xb4)][_0x45184b(0xaf)](this[_0x45184b(0xab)]),this[_0x45184b(0x8f)]&&this[_0x45184b(0xb4)][_0x45184b(0xaf)](this[_0x45184b(0x8f)]),this[_0x45184b(0x95)](this[_0x45184b(0xa8)]());}[_0x4a47af(0xa8)](){const _0x242b8c=_0x4a47af,_0xe27a45=this[_0x242b8c(0x99)],_0x4ac1f7=[this[_0x242b8c(0xb9)]];return this[_0x242b8c(0xab)]&&_0x4ac1f7[_0x242b8c(0x8c)](this[_0x242b8c(0xab)]),this[_0x242b8c(0x8f)]&&_0x4ac1f7[_0x242b8c(0x8c)](this[_0x242b8c(0x8f)]),_0x4ac1f7[_0x242b8c(0x8c)](this[_0x242b8c(0x8e)]),{'tag':_0x242b8c(0xb6),'attributes':{'class':['ck',_0x242b8c(0xa7),_0x242b8c(0x9d),_0xe27a45['if'](_0x242b8c(0xb0),_0x242b8c(0x83)),_0xe27a45['to'](_0x242b8c(0x90),_0x5ead84=>_0x242b8c(0x9a)+_0x5ead84),this[_0x242b8c(0xa2)][_0x242b8c(0x87)]&&_0x242b8c(0x8d)],'data-suggestion-id':this[_0x242b8c(0x88)]['id'],'data-thread-id':this[_0x242b8c(0x88)][_0x242b8c(0xa0)]['id'],'data-author-id':this[_0x242b8c(0x88)][_0x242b8c(0xa9)]['id'],'tabindex':0x0,'role':_0x242b8c(0x9e),'aria-label':_0xe27a45['to'](_0x242b8c(0x96)),'aria-describedby':this[_0x242b8c(0x8e)]['id']},'children':_0x4ac1f7};}[_0x4a47af(0xa5)](){const _0x12dbd4=_0x4a47af;super[_0x12dbd4(0xa5)](),this[_0x12dbd4(0xab)]&&(this[_0x12dbd4(0xab)][_0x12dbd4(0x93)](_0x12dbd4(0xa4))['to'](this),this[_0x12dbd4(0xab)][_0x12dbd4(0x93)](_0x12dbd4(0x86))['to'](this)),this[_0x12dbd4(0x8f)]&&(this[_0x12dbd4(0x8f)][_0x12dbd4(0x93)](_0x12dbd4(0xa4))['to'](this),this[_0x12dbd4(0x8f)][_0x12dbd4(0x93)](_0x12dbd4(0x86))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x516e66=_0xac71;function _0xac71(_0x3184a7,_0x36876f){const _0x51656e=_0x5165();return _0xac71=function(_0xac71f6,_0x1587ab){_0xac71f6=_0xac71f6-0x1b3;let _0x4bc1cb=_0x51656e[_0xac71f6];return _0x4bc1cb;},_0xac71(_0x3184a7,_0x36876f);}(function(_0x116c13,_0x5c6f5c){const _0xe86eac=_0xac71,_0xbb4e42=_0x116c13();while(!![]){try{const _0x2a960a=-parseInt(_0xe86eac(0x1c1))/0x1+parseInt(_0xe86eac(0x1f2))/0x2+-parseInt(_0xe86eac(0x1d1))/0x3+parseInt(_0xe86eac(0x1c8))/0x4*(parseInt(_0xe86eac(0x1e3))/0x5)+-parseInt(_0xe86eac(0x1e9))/0x6+-parseInt(_0xe86eac(0x1de))/0x7+parseInt(_0xe86eac(0x1f7))/0x8*(parseInt(_0xe86eac(0x1be))/0x9);if(_0x2a960a===_0x5c6f5c)break;else _0xbb4e42['push'](_0xbb4e42['shift']());}catch(_0x382770){_0xbb4e42['push'](_0xbb4e42['shift']());}}}(_0x5165,0x54a7b));function _0x5165(){const _0x157e25=['ck-suggestion--accept','discardSuggestion','ck-suggestion__info','presentation','_model','importWord','_setupKeyboardNavigation','ck-suggestion','ck-suggestion__main','element','ck-annotation__info','ck-comment__external','1430114aHKTzF','focusCycler','discardButton','_createButton','EXTERNAL_IMPORT_WORD_SUGGESTION','618130yZoFKI','enter','creator','userView','extendTemplate','shift+tab','4024572uDqwjc','fire','acceptSuggestion','attributes','render','setTemplate','execute','esc','@external','104208EFnYyE','bindTemplate','span','description','ck-annotation__main','8wtAzKX','bind','name','ck-annotation__actions','_config','innerHTML','ck-suggestion__user','target','ck-suggestion__actions','ck-annotation','getUserViewNotificationText','ck-annotation__info-name','ck-comment__info-time','EXTERNAL_AVATAR','getExternalSuggestionNote','focus','focusables','formatDateTime','focusTracker','push','source','Accept\x20suggestion','ck-annotation__content-wrapper','ck-suggestion__info-name','querySelector','time','ck-annotation__info-time','.ck-annotation__content-wrapper','focusFirst','add','EXTERNAL_SUGGESTION','15816753jNDVBY','listenTo','getTemplate','21902WEOzIo','isExternal','acceptButton','div','ck-suggestion--discard','EXTERNAL_IMPORT_WORD_AVATAR','tab','4kAbWKD','authoredAt','set','keystrokes','locale','author','change:description','ck-annotation__user','Discard\x20suggestion','2068302kQDuaF'];_0x5165=function(){return _0x157e25;};return _0x5165();}import{FocusTracker as _0x15858b,KeystrokeHandler as _0x4d02c6}from'ckeditor5/src/utils.js';import{View as _0x51d1f8,ViewCollection as _0x2e9bda,FocusCycler as _0xb830b5}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x2f0022,UserView as _0x54238e}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0xfc7c23,IconCheck as _0x123eb4}from'ckeditor5/src/icons.js';import{getTranslation as _0x3ae9b1}from'../../utils/common-translations.js';export class SuggestionView extends _0x51d1f8{[_0x516e66(0x1e6)];[_0x516e66(0x1c3)];[_0x516e66(0x1e0)];[_0x516e66(0x207)];[_0x516e66(0x209)];[_0x516e66(0x1cb)];[_0x516e66(0x1df)];[_0x516e66(0x1d6)];[_0x516e66(0x1fb)];constructor(_0x46f514,_0x17ef18,_0x18a779){const _0x278345=_0x516e66;super(_0x46f514),this[_0x278345(0x1d6)]=_0x17ef18,this[_0x278345(0x1fb)]=_0x18a779,this[_0x278345(0x1ca)](_0x278345(0x1f5),''),this[_0x278345(0x1f8)](_0x278345(0x1c9))['to'](_0x17ef18),this[_0x278345(0x1c3)]=this[_0x278345(0x1e1)](_0x3ae9b1(_0x46f514,_0x278345(0x1b4)),_0x123eb4,_0x278345(0x1d2),_0x278345(0x1eb),'sw'),this[_0x278345(0x1e0)]=this[_0x278345(0x1e1)](_0x3ae9b1(_0x46f514,_0x278345(0x1d0)),_0xfc7c23,_0x278345(0x1c5),_0x278345(0x1d3),'sw'),this[_0x278345(0x1e6)]=new _0x54238e(_0x46f514,_0x17ef18[_0x278345(0x1cd)],this[_0x278345(0x201)]()),this[_0x278345(0x1e6)][_0x278345(0x1e7)]({'attributes':{'class':[_0x278345(0x1fd),_0x278345(0x1cf)],'aria-hidden':!0x0}}),this[_0x278345(0x207)]=new _0x2e9bda([this[_0x278345(0x1c3)],this[_0x278345(0x1e0)]]),this[_0x278345(0x209)]=new _0x15858b(),this[_0x278345(0x1cb)]=new _0x4d02c6(),this[_0x278345(0x1df)]=new _0xb830b5({'focusables':this[_0x278345(0x207)],'focusTracker':this[_0x278345(0x209)],'keystrokeHandler':this[_0x278345(0x1cb)],'actions':{'focusPrevious':_0x278345(0x1e8),'focusNext':_0x278345(0x1c7)},'keystrokeHandlerOptions':{'filter':_0x4f07b9=>_0x4f07b9[_0x278345(0x1fe)]!==this[_0x278345(0x1db)]}}),this[_0x278345(0x1ee)](this[_0x278345(0x1c0)]());}[_0x516e66(0x1ed)](){const _0x513dfc=_0x516e66;super[_0x513dfc(0x1ed)]();const _0x40e532=this[_0x513dfc(0x1db)][_0x513dfc(0x1b7)](_0x513dfc(0x1ba));_0x40e532[_0x513dfc(0x1fc)]=this[_0x513dfc(0x1f5)],this['on'](_0x513dfc(0x1ce),(_0x526e09,_0x4f6587,_0x1c88fc)=>{const _0x141e6b=_0x513dfc;_0x40e532[_0x141e6b(0x1fc)]=_0x1c88fc;}),this[_0x513dfc(0x1d8)]();}[_0x516e66(0x1c0)](){const _0x159a0b=_0x516e66,_0x35a8d4=this[_0x159a0b(0x1f3)],_0x4c2922=[{'tag':_0x159a0b(0x1c4),'attributes':{'class':[_0x159a0b(0x1d4),_0x159a0b(0x1dc)]},'children':[{'tag':_0x159a0b(0x1f4),'children':[{'text':this[_0x159a0b(0x1e6)][_0x159a0b(0x1f9)]}],'attributes':{'class':[_0x159a0b(0x1b6),_0x159a0b(0x202)],'data-cke-tooltip-text':this[_0x159a0b(0x1e6)][_0x159a0b(0x1f9)]}},{'tag':_0x159a0b(0x1b8),'attributes':{'datetime':_0x35a8d4['to'](_0x159a0b(0x1c9)),'class':[_0x159a0b(0x203),_0x159a0b(0x1b9)]},'children':[{'text':_0x35a8d4['to'](_0x159a0b(0x1c9),_0x2f9bab=>this[_0x159a0b(0x1fb)][_0x159a0b(0x208)](_0x2f9bab))}]}]},{'tag':_0x159a0b(0x1c4),'attributes':{'class':[_0x159a0b(0x1ff),_0x159a0b(0x1fa)]},'children':[this[_0x159a0b(0x1c3)],this[_0x159a0b(0x1e0)]]},{'tag':_0x159a0b(0x1c4),'attributes':{'class':[_0x159a0b(0x1b5)]}}];return this[_0x159a0b(0x1d6)][_0x159a0b(0x1c2)]&&_0x4c2922[_0x159a0b(0x20a)]({'tag':_0x159a0b(0x1c4),'attributes':{'class':[_0x159a0b(0x1dd)]},'children':[{'text':this[_0x159a0b(0x205)]()}]}),{'tag':_0x159a0b(0x1c4),'attributes':{'class':[_0x159a0b(0x1d9),_0x159a0b(0x200)],'tabindex':-0x1},'children':[this[_0x159a0b(0x1e6)],{'tag':_0x159a0b(0x1c4),'attributes':{'class':[_0x159a0b(0x1da),_0x159a0b(0x1f6)],'role':_0x159a0b(0x1d5)},'children':_0x4c2922}]};}[_0x516e66(0x206)](){const _0x22659d=_0x516e66;this[_0x22659d(0x1db)][_0x22659d(0x206)]();}[_0x516e66(0x201)](){const _0x195d23=_0x516e66;return this[_0x195d23(0x1d6)][_0x195d23(0x1c2)]?_0x195d23(0x1d7)===this[_0x195d23(0x1d6)][_0x195d23(0x1ec)][_0x195d23(0x1f1)][_0x195d23(0x1b3)]?_0x3ae9b1(this[_0x195d23(0x1cc)],_0x195d23(0x1c6),this[_0x195d23(0x1d6)][_0x195d23(0x1e5)][_0x195d23(0x1f9)]):_0x3ae9b1(this[_0x195d23(0x1cc)],_0x195d23(0x204),this[_0x195d23(0x1d6)][_0x195d23(0x1e5)][_0x195d23(0x1f9)]):null;}[_0x516e66(0x205)](){const _0x4cf2cd=_0x516e66;return _0x4cf2cd(0x1d7)===this[_0x4cf2cd(0x1d6)][_0x4cf2cd(0x1ec)][_0x4cf2cd(0x1f1)][_0x4cf2cd(0x1b3)]?_0x3ae9b1(this[_0x4cf2cd(0x1cc)],_0x4cf2cd(0x1e2)):_0x3ae9b1(this[_0x4cf2cd(0x1cc)],_0x4cf2cd(0x1bd));}[_0x516e66(0x1e1)](_0x3f4e2b,_0x1161b2,_0x33c07c,_0x544883,_0x474fc1){const _0x171d8f=_0x516e66,_0x1a1f75=new _0x2f0022(this[_0x171d8f(0x1cc)]);return _0x1a1f75[_0x171d8f(0x1ca)]({'label':_0x3f4e2b,'icon':_0x1161b2,'tooltip':!0x0,'tooltipPosition':_0x474fc1}),_0x1a1f75[_0x171d8f(0x1e7)]({'attributes':{'class':_0x33c07c}}),_0x1a1f75['on'](_0x171d8f(0x1ef),()=>{const _0x4a5fa2=_0x171d8f;this[_0x4a5fa2(0x1ea)](_0x544883,this[_0x4a5fa2(0x1d6)]['id']);}),_0x1a1f75;}[_0x516e66(0x1d8)](){const _0x292204=_0x516e66,_0x3b9ecb=this[_0x292204(0x1db)];this[_0x292204(0x1cb)][_0x292204(0x1bf)](_0x3b9ecb);for(const _0xdecee3 of this[_0x292204(0x207)])this[_0x292204(0x209)][_0x292204(0x1bc)](_0xdecee3[_0x292204(0x1db)]),this[_0x292204(0x1cb)][_0x292204(0x1bf)](_0xdecee3[_0x292204(0x1db)]);this[_0x292204(0x1cb)][_0x292204(0x1ca)](_0x292204(0x1e4),(_0x4cc76b,_0x50f6aa)=>{const _0x420501=_0x292204;_0x3b9ecb===_0x4cc76b[_0x420501(0x1fe)]&&(this[_0x420501(0x1df)][_0x420501(0x1bb)](),_0x50f6aa());}),this[_0x292204(0x1cb)][_0x292204(0x1ca)](_0x292204(0x1f0),(_0x3fc0be,_0x154c02)=>{const _0x11a3a3=_0x292204;_0x3b9ecb!==_0x3fc0be[_0x11a3a3(0x1fe)]&&(this[_0x11a3a3(0x206)](),_0x154c02());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e3bea=_0x9d8d;(function(_0x306435,_0xef1e2b){const _0x12af56=_0x9d8d,_0x543d11=_0x306435();while(!![]){try{const _0xc5c61=parseInt(_0x12af56(0x1d7))/0x1*(parseInt(_0x12af56(0x1cb))/0x2)+-parseInt(_0x12af56(0x1dc))/0x3*(parseInt(_0x12af56(0x1e5))/0x4)+-parseInt(_0x12af56(0x1d0))/0x5+-parseInt(_0x12af56(0x1df))/0x6*(-parseInt(_0x12af56(0x1c9))/0x7)+-parseInt(_0x12af56(0x1ca))/0x8+-parseInt(_0x12af56(0x1e6))/0x9+parseInt(_0x12af56(0x1e8))/0xa;if(_0xc5c61===_0xef1e2b)break;else _0x543d11['push'](_0x543d11['shift']());}catch(_0x3500d5){_0x543d11['push'](_0x543d11['shift']());}}}(_0x5847,0xd7ea4));import{View as _0x5943f2}from'ckeditor5/src/ui.js';function _0x9d8d(_0x282d4a,_0xfe3ee5){const _0x58479e=_0x5847();return _0x9d8d=function(_0x9d8dd0,_0x25c521){_0x9d8dd0=_0x9d8dd0-0x1c9;let _0x3bda70=_0x58479e[_0x9d8dd0];return _0x3bda70;},_0x9d8d(_0x282d4a,_0xfe3ee5);}export class TrackChangesPreviewView extends _0x5943f2{[_0x3e3bea(0x1d4)];constructor(_0x427796,_0x350338){const _0x273cd2=_0x3e3bea;super(_0x427796),this[_0x273cd2(0x1d4)]=_0x350338,this[_0x273cd2(0x1d2)]({'tag':_0x273cd2(0x1ea),'attributes':{'class':['ck',_0x273cd2(0x1db),_0x273cd2(0x1da)],'tabindex':-0x1}});}[_0x3e3bea(0x1dd)](){const _0x38fdf9=_0x3e3bea;super[_0x38fdf9(0x1dd)](),this[_0x38fdf9(0x1e7)][_0x38fdf9(0x1ce)][_0x38fdf9(0x1de)]=this[_0x38fdf9(0x1d4)][_0x38fdf9(0x1cc)][_0x38fdf9(0x1de)]+'px',this[_0x38fdf9(0x1e7)][_0x38fdf9(0x1ce)][_0x38fdf9(0x1cd)]=this[_0x38fdf9(0x1d4)][_0x38fdf9(0x1cc)][_0x38fdf9(0x1cd)]+'px';}[_0x3e3bea(0x1e0)](_0x4da98b,_0x2b773c){const _0x1e00d8=_0x3e3bea;if(!this[_0x1e00d8(0x1e7)])return;const _0x4a1053=[];for(const [_0x2dbcc6,_0x486ecf]of _0x4da98b){const _0x955cea=document[_0x1e00d8(0x1d1)](_0x1e00d8(0x1ea));_0x955cea[_0x1e00d8(0x1cf)](_0x1e00d8(0x1d6),_0x2dbcc6),_0x955cea[_0x1e00d8(0x1d8)]=_0x486ecf[_0x1e00d8(0x1e2)]+_0x1e00d8(0x1d3),_0x955cea[_0x1e00d8(0x1e3)]=_0x486ecf[_0x1e00d8(0x1e9)],_0x4a1053[_0x1e00d8(0x1d5)](_0x955cea);}_0x2b773c(this[_0x1e00d8(0x1e7)],_0x4a1053),this[_0x1e00d8(0x1e7)][_0x1e00d8(0x1ce)][_0x1e00d8(0x1cd)]='',this[_0x1e00d8(0x1d9)](_0x1e00d8(0x1e4));}[_0x3e3bea(0x1e1)](){const _0x5c223e=_0x3e3bea;this[_0x5c223e(0x1e7)][_0x5c223e(0x1e1)]();}}function _0x5847(){const _0x5267cc=['options','push','data-ck-root-name','106776ANamWX','className','fire','ck-track-changes-preview','ck-reset','2271XbGQhk','render','width','6fdhdxJ','setPreviewData','focus','classes','innerHTML','previewDataReady','1192FTFgFu','3497166oAWixB','element','17513360smzHse','content','div','689227fcZxby','2757512nihuNh','28IdMesP','dialogRects','height','style','setAttribute','7507120vVllZE','createElement','setTemplate','\x20ck-track-changes-preview__root-container'];_0x5847=function(){return _0x5267cc;};return _0x5847();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x303974,_0x2f1fe8,_0xc4a3c5){const _0x95b0f2=_0x303974['t'],t=_0x303974['t'];switch(_0x2f1fe8){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',_0xc4a3c5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xc4a3c5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xc4a3c5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xc4a3c5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xc4a3c5);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',_0xc4a3c5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xc4a3c5);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',_0xc4a3c5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xc4a3c5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xc4a3c5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xc4a3c5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xc4a3c5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xc4a3c5);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xc4a3c5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xc4a3c5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xc4a3c5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xc4a3c5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xc4a3c5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xc4a3c5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xc4a3c5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xc4a3c5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xc4a3c5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xc4a3c5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xc4a3c5);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xc4a3c5);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'},_0xc4a3c5);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xc4a3c5);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xc4a3c5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xc4a3c5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xc4a3c5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xc4a3c5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xc4a3c5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xc4a3c5);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'},_0xc4a3c5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xc4a3c5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xc4a3c5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xc4a3c5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xc4a3c5);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'},_0xc4a3c5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xc4a3c5);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'},_0xc4a3c5);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xc4a3c5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xc4a3c5);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'},_0xc4a3c5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xc4a3c5);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'},_0xc4a3c5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xc4a3c5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xc4a3c5);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'},_0xc4a3c5);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xc4a3c5);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 _0x95b0f2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xc4a3c5);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x95b0f2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xc4a3c5);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xc4a3c5);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'},_0xc4a3c5);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'},_0xc4a3c5);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'},_0xc4a3c5);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2f1fe8;}}
|
|
23
|
+
export function getTranslation(_0x1ba4e8,_0x320942,_0x4528f4){const _0xe36d8=_0x1ba4e8['t'],t=_0x1ba4e8['t'];switch(_0x320942){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',_0x4528f4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4528f4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4528f4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4528f4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4528f4);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',_0x4528f4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4528f4);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',_0x4528f4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4528f4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4528f4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4528f4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4528f4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4528f4);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4528f4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4528f4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4528f4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4528f4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4528f4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4528f4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4528f4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4528f4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4528f4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4528f4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4528f4);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4528f4);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'},_0x4528f4);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4528f4);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4528f4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4528f4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4528f4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4528f4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4528f4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4528f4);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'},_0x4528f4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4528f4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4528f4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4528f4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4528f4);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'},_0x4528f4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4528f4);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'},_0x4528f4);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4528f4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4528f4);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'},_0x4528f4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4528f4);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'},_0x4528f4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4528f4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4528f4);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'},_0x4528f4);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4528f4);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 _0xe36d8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4528f4);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xe36d8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4528f4);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4528f4);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'},_0x4528f4);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'},_0x4528f4);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'},_0x4528f4);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x320942;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5e5e96,_0x471426){const _0x264249=_0x4d12,_0x40e1eb=_0x5e5e96();while(!![]){try{const _0x3c36f5=-parseInt(_0x264249(0x206))/0x1+parseInt(_0x264249(0x1e7))/0x2*(parseInt(_0x264249(0x1e0))/0x3)+parseInt(_0x264249(0x1ff))/0x4*(-parseInt(_0x264249(0x1f0))/0x5)+-parseInt(_0x264249(0x201))/0x6+parseInt(_0x264249(0x20a))/0x7+parseInt(_0x264249(0x1f5))/0x8+parseInt(_0x264249(0x207))/0x9;if(_0x3c36f5===_0x471426)break;else _0x40e1eb['push'](_0x40e1eb['shift']());}catch(_0x25c7d1){_0x40e1eb['push'](_0x40e1eb['shift']());}}}(_0x340e,0xc3640));function _0x340e(){const _0x29d040=['isObject','getRanges','isTouching','map','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','55pZSMMG','splice','schema','createPositionBefore','\x20[color\x20','4514080HTwlZv','createPositionAt','attribute','from','\x22></span>','</span>','join','createElement','add','next','318664aetJCl','color','591114kVATpN','push','createPositionAfter','split','\x22\x20title=\x22','1536539TQyviM','9070839iBqySj','isCollapsed','length','5444600IwGsPC','createRange','isIntersecting','innerHTML','replace','deletion','isMultiRange','span','<span\x20class=\x22ck-suggestion-type\x22>','isInContent','execute','type','961773fQXncg','start','value','title','innerText','change','content','6oFFcLx','sort','isArray','end'];_0x340e=function(){return _0x29d040;};return _0x340e();}function _0x4d12(_0x3efe20,_0x3e9200){const _0x340efc=_0x340e();return _0x4d12=function(_0x4d1208,_0x56c4c7){_0x4d1208=_0x4d1208-0x1d8;let _0x447f8d=_0x340efc[_0x4d1208];return _0x447f8d;},_0x4d12(_0x3efe20,_0x3e9200);}export function normalizeDescription(_0x12b717){const _0xf2482d=_0x4d12;return Array[_0xf2482d(0x1e9)](_0x12b717)||(_0x12b717=[_0x12b717]),_0x12b717[_0xf2482d(0x1ee)](_0x4163fa=>{const _0xebd160=_0xf2482d,_0x4290fc=_0x4163fa[_0xebd160(0x1e6)][_0xebd160(0x1d8)](/\*/g,''),_0x296cdf=_0x4163fa[_0xebd160(0x200)]?_0xebd160(0x1f4)+_0x4163fa[_0xebd160(0x200)][_0xebd160(0x1e2)]+']':'';return'['+_0x4163fa[_0xebd160(0x1df)]+']\x20'+_0x4290fc+_0x296cdf;})[_0xf2482d(0x1fb)](';\x20');}export function renderDescription(_0x3a7510,_0x509b36){const _0x4cf67b=_0x4d12;let _0xd73fe2='';return _0xd73fe2+=_0x3a7510[_0x4cf67b(0x204)]('*')[_0x4cf67b(0x1ee)]((_0x2c8d58,_0x485762)=>_0x485762%0x2!=0x0?_0x4cf67b(0x1dc)+Zt(_0x2c8d58)+_0x4cf67b(0x1fa):Zt(_0x2c8d58))[_0x4cf67b(0x1fb)](''),_0x509b36&&(_0xd73fe2+=_0x4cf67b(0x1ef)+_0x509b36[_0x4cf67b(0x1e2)]+_0x4cf67b(0x205)+_0x509b36[_0x4cf67b(0x1e3)]+_0x4cf67b(0x1f9)),_0xd73fe2;}function Zt(_0x3ab93b){const _0x59b936=_0x4d12,_0x2d7c71=document[_0x59b936(0x1fc)](_0x59b936(0x1db));return _0x2d7c71[_0x59b936(0x1e4)]=_0x3ab93b,_0x2d7c71[_0x59b936(0x20d)];}export function sortSuggestions(_0x25a4f5){const _0x1e747c=_0x4d12;return _0x25a4f5[_0x1e747c(0x1e8)]((_0x4476ee,_0x50a72e)=>_0x1e747c(0x1f7)===_0x4476ee[_0x1e747c(0x1df)]&&_0x1e747c(0x1f7)!==_0x50a72e[_0x1e747c(0x1df)]?-0x1:_0x1e747c(0x1f7)!==_0x4476ee[_0x1e747c(0x1df)]&&_0x1e747c(0x1f7)===_0x50a72e[_0x1e747c(0x1df)]?0x1:_0x1e747c(0x1d9)==_0x4476ee[_0x1e747c(0x1df)]&&_0x1e747c(0x1d9)!=_0x50a72e[_0x1e747c(0x1df)]?-0x1:_0x1e747c(0x1d9)!=_0x4476ee[_0x1e747c(0x1df)]&&_0x1e747c(0x1d9)==_0x50a72e[_0x1e747c(0x1df)]?0x1:0x0);}export function getSelectedSuggestions(_0x66794b,_0x297880){const _0x75843e=_0x4d12,_0x45dbef=Array[_0x75843e(0x1f8)](_0x66794b[_0x75843e(0x1ec)]()),_0x3fc58=new Set();for(const _0x36ff96 of _0x297880)if(_0x36ff96[_0x75843e(0x1dd)]){for(const _0x2b609c of _0x45dbef)for(const _0x1d804a of _0x36ff96[_0x75843e(0x1ec)]())(_0x2b609c[_0x75843e(0x20c)](_0x1d804a)||_0x66794b[_0x75843e(0x208)]&&!_0x36ff96[_0x75843e(0x1da)]&&_0x36ff96[_0x75843e(0x1fe)]&&_0x1d804a[_0x75843e(0x1ea)][_0x75843e(0x1ed)](_0x2b609c[_0x75843e(0x1e1)]))&&_0x3fc58[_0x75843e(0x1fd)](_0x36ff96);}return _0x3fc58;}export function getRangesOfBlockGroups(_0x51101a,_0x5186ec){const _0x414796=_0x4d12;let _0xecccac,_0x1e87e6=0x0;const _0x26e0e3=[],_0x35cbc5=_0x5186ec[_0x414796(0x1f2)];for(;_0x1e87e6<_0x51101a[_0x414796(0x209)];){const _0x4b6ecf=_0x51101a[_0x1e87e6],_0x421213=_0x51101a[_0x1e87e6+0x1];_0xecccac||(_0xecccac=_0x5186ec[_0x414796(0x1f3)](_0x4b6ecf)),tn(_0x5186ec,_0x4b6ecf,_0x421213)||(_0x26e0e3[_0x414796(0x202)](_0x5186ec[_0x414796(0x20b)](_0xecccac,_0x35cbc5[_0x414796(0x1eb)](_0x4b6ecf)?_0x5186ec[_0x414796(0x203)](_0x4b6ecf):_0x5186ec[_0x414796(0x1f6)](_0x4b6ecf,_0x414796(0x1ea)))),_0xecccac=null),_0x1e87e6++;}return _0x26e0e3;}function tn(_0x407851,_0x5cdf82,_0x31da1e){const _0x46b5ec=_0x4d12;if(!_0x31da1e)return!0x1;const _0x3aae16=_0x407851[_0x46b5ec(0x203)](_0x5cdf82),_0x620f33=_0x407851[_0x46b5ec(0x1f3)](_0x31da1e);return _0x3aae16[_0x46b5ec(0x1ed)](_0x620f33);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4cafbb,_0x5d592e,_0x36feca){const _0xd24581=_0x4d12;for(;_0x36feca[_0xd24581(0x209)];){const _0x418fc3=_0x36feca[_0xd24581(0x1f1)](0x0,0x64);_0x4cafbb[_0xd24581(0x1e5)](()=>{const _0x302696=_0xd24581;for(const _0x46d9e6 of _0x418fc3)_0x46d9e6[_0x302696(0x1dd)]&&_0x5d592e[_0x302696(0x1de)](_0x46d9e6['id']);});}}
|