@ckeditor/ckeditor5-track-changes 47.6.0-alpha.0 → 47.6.0-alpha.2
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x393b66=_0x16d8;(function(_0x475dbf,_0x320f8b){const _0x12c30c=_0x16d8,_0x14d4e2=_0x475dbf();while(!![]){try{const _0x8e3284=-parseInt(_0x12c30c(0x110))/0x1*(-parseInt(_0x12c30c(0x10b))/0x2)+parseInt(_0x12c30c(0x119))/0x3*(parseInt(_0x12c30c(0x11f))/0x4)+parseInt(_0x12c30c(0x11d))/0x5+parseInt(_0x12c30c(0x118))/0x6+-parseInt(_0x12c30c(0x115))/0x7+parseInt(_0x12c30c(0x116))/0x8*(parseInt(_0x12c30c(0x114))/0x9)+-parseInt(_0x12c30c(0x11b))/0xa*(parseInt(_0x12c30c(0x10c))/0xb);if(_0x8e3284===_0x320f8b)break;else _0x14d4e2['push'](_0x14d4e2['shift']());}catch(_0x564e87){_0x14d4e2['push'](_0x14d4e2['shift']());}}}(_0x38ad,0xbc42e));import{Plugin as _0x50490c}from'ckeditor5/src/core.js';import{Dialog as _0x5d89fa}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1a514a}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x34eb80}from'./commands/previewfinalcontentcommand.js';function _0x16d8(_0x1ce1e8,_0x4560c1){const _0x38adad=_0x38ad();return _0x16d8=function(_0x16d838,_0x495119){_0x16d838=_0x16d838-0x109;let _0x189791=_0x38adad[_0x16d838];return _0x189791;},_0x16d8(_0x1ce1e8,_0x4560c1);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x50490c{static get[_0x393b66(0x111)](){return[_0x1a514a,_0x5d89fa];}static get[_0x393b66(0x10f)](){const _0x3318ac=_0x393b66;return _0x3318ac(0x11a);}static get[_0x393b66(0x11c)](){return!0x0;}static get[_0x393b66(0x109)](){return!0x0;}constructor(_0x38dfc3){const _0x127051=_0x393b66;super(_0x38dfc3),_0x38dfc3[_0x127051(0x10e)][_0x127051(0x120)](_0x127051(0x117),new _0x34eb80(this[_0x127051(0x11e)])),_0x38dfc3[_0x127051(0x113)][_0x127051(0x10d)](_0x127051(0x112),(_0x1dd856,_0x2e385e)=>{const _0x177f1d=_0x127051;for(const _0x1d0f84 of _0x2e385e)_0x1dd856[_0x177f1d(0x10a)](_0x1d0f84);});}}function _0x38ad(){const _0x508aa=['10968cLiONf','requires','trackChanges.preview.renderFunction','config','7128pAZPom','5508489HuWwkH','10728jCQQOh','previewFinalContent','5695398AewXXc','5193IRlzOP','TrackChangesPreview','23064620xvoyJv','isOfficialPlugin','1568505NaMYnF','editor','3228paBGco','add','isPremiumPlugin','appendChild','26GfnlJF','11ASinPx','define','commands','pluginName'];_0x38ad=function(){return _0x508aa;};return _0x38ad();}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34ee2a=_0x3ea0;(function(_0x25859d,_0x31ae73){const _0x58fa9a=_0x3ea0,_0x31326d=_0x25859d();while(!![]){try{const _0x5b4c7e=parseInt(_0x58fa9a(0x21a))/0x1*(parseInt(_0x58fa9a(0x20c))/0x2)+-parseInt(_0x58fa9a(0x1d4))/0x3*(-parseInt(_0x58fa9a(0x199))/0x4)+parseInt(_0x58fa9a(0x1a6))/0x5*(parseInt(_0x58fa9a(0x1e2))/0x6)+-parseInt(_0x58fa9a(0x1b2))/0x7+-parseInt(_0x58fa9a(0x211))/0x8*(parseInt(_0x58fa9a(0x1c0))/0x9)+parseInt(_0x58fa9a(0x21d))/0xa*(-parseInt(_0x58fa9a(0x1c7))/0xb)+parseInt(_0x58fa9a(0x208))/0xc;if(_0x5b4c7e===_0x31ae73)break;else _0x31326d['push'](_0x31326d['shift']());}catch(_0x4f17b8){_0x31326d['push'](_0x31326d['shift']());}}}(_0x443e,0x1e70e));import{Plugin as _0x2725d6}from'ckeditor5/src/core.js';import{Collection as _0x43f3c5}from'ckeditor5/src/utils.js';function _0x443e(){const _0x358237=['view','isInContent','16WkecVm','trackChangesLicenseKeyInvalid','pluginName','acceptAllSuggestions','Annotations','trackChanges.disableComments','previous','previewFinalContent','suggestionView','1YsSzyj','trackChangesLicenseKeyDomainLimit','some','10aAPCua','items','hasSuggestion','discardSelectedSuggestions','getAnnotationForSuggestion','requires','SuggestionThreadView','suggestion-','remove','isEnabled','commands','_annotationViews','_initializeController','addSourceCollector','locale','TrackChanges','EditorAnnotations','change:previous','trackChangesLicenseKeyEvaluationLimit','getByInnerView','commentsListView','_suggestionToController','values','Accept\x20all\x20selected\x20suggestions','Accept\x20all\x20suggestions','createCommentThreadController','trackChangesLicenseKeyNotAllowed','_addUIComponentsToFactory','suggestionUnloaded','add','suggestionLoaded','buttonView','getMarkerNames','featureNotAllowed','createAnnotation','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionView','source','comments','activeAnnotations','CommentsRepository','delegate','value','menuBar:trackChanges','type','_updateController','8RmmYgn','CommentView','trackChanges','acceptButton','push','_viewToController','trackChangesLicenseKeyValid','_handleControllerBuffer','clear','_unbindEditors','_bindAnnotationToEditors','usageLimit','head','890aycmMd','menu','button','_handleSuggestionControllerDelayed','mainView','getFirstRange','_createToolbarButton','getAllAdjacentSuggestions','domainLimit','licenseKey','TrackChangesUI','isDirty','564403ZaIvkZ','addComment','commentThread','toMany','suggestionChanged','discardButton','isOn','unbind','change:activeAnnotations','comments.maxCommentsWhenCollapsed','editing','actionView','init','bind','6174pDiIjD','delete','Track\x20changes','children','editor','isPremiumPlugin','has','2561383KVLHJK','TrackChangesPreview','comments.maxThreadTotalWeight','Discard\x20all\x20selected\x20suggestions','keys','define','comments.editorConfig','from','focus','addMany','_destroyController','trackChanges.SuggestionThreadView','_refreshActiveMarkers','148773VqNvgt','menuitem','lowest','getMarkers','invalid','_disableComments','descriptionParts','componentFactory','_createMenuBarMenu','set','destroy','_licenseKeyCheckInterval','evaluationLimit','acceptSelectedSuggestions','102WXSisQ','refreshSelectedViews','arrowView','menuitemcheckbox','escape','separator','TrackChangesEditing','isMultiRange','getRanges','config','createAnnotationView','execute','stopListening','expired','filter','_showLicenseError','commandName','getSuggestionForAnnotation','fire','innerView','registerAnnotation','isOfficialPlugin','comments.maxCommentCharsWhenCollapsed','model','get','getJoined','activeMarkers','SuggestionView','panelView','size','Preview\x20final\x20content','trackChangesLicenseKeyExpired','plugins','listenTo','CommentsUI','getSuggestion','reduce','discardAllSuggestions','1438356lZZaNd','descriptionFactory','Discard\x20all\x20suggestions','length','434938caDijS','getDescriptions','switchbutton'];_0x443e=function(){return _0x358237;};return _0x443e();}import{IconTrackChanges as _0x15857c}from'ckeditor5/src/icons.js';function _0x3ea0(_0x284a3a,_0x4dd517){const _0x443e25=_0x443e();return _0x3ea0=function(_0x3ea0d4,_0x17702e){_0x3ea0d4=_0x3ea0d4-0x18b;let _0x1ce798=_0x443e25[_0x3ea0d4];return _0x1ce798;},_0x3ea0(_0x284a3a,_0x4dd517);}import{addListToDropdown as _0x25aacf,createDropdown as _0x10975b,ListSeparatorView as _0x4d54f0,MenuBarMenuView as _0x369f07,MenuBarMenuListView as _0x18b8ff,MenuBarMenuListItemView as _0x194b7d,MenuBarMenuListItemButtonView as _0x29c4bb,SplitButtonView as _0xcdae66,UIModel as _0xd3b5a1}from'ckeditor5/src/ui.js';import{Users as _0x45e57,getDateTimeFormatter as _0x39fc3c,getAllMarkersDomElementsSorted as _0x566b87}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1d3a09}from'./trackchangesediting.js';import{SuggestionController as _0x58067d}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0xdf2cf0}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x54a18c}from'./ui/view/suggestionview.js';import{getTranslation as _0x70ca11}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2725d6{[_0x34ee2a(0x1af)];[_0x34ee2a(0x1df)];[_0x34ee2a(0x232)];[_0x34ee2a(0x19e)];[_0x34ee2a(0x228)];[_0x34ee2a(0x1a0)];[_0x34ee2a(0x1d9)];static get[_0x34ee2a(0x222)](){const _0x1671e2=_0x34ee2a;return[_0x1d3a09,_0x45e57,_0x1671e2(0x193),_0x1671e2(0x215),_0x1671e2(0x22d)];}static get[_0x34ee2a(0x213)](){const _0x13b393=_0x34ee2a;return _0x13b393(0x1b0);}static get[_0x34ee2a(0x1f7)](){return!0x0;}static get[_0x34ee2a(0x1c5)](){return!0x0;}constructor(_0x467f19){const _0x2caf63=_0x34ee2a;super(_0x467f19),this[_0x2caf63(0x232)]=new Map(),this[_0x2caf63(0x19e)]=new Map(),this[_0x2caf63(0x228)]=new Map(),this[_0x2caf63(0x1a0)]=new Map();const _0x1dc35e=this[_0x2caf63(0x1c4)][_0x2caf63(0x1eb)];_0x1dc35e[_0x2caf63(0x1cc)](_0x2caf63(0x1d2),_0xdf2cf0),_0x1dc35e[_0x2caf63(0x1cc)](_0x2caf63(0x18f),_0x54a18c),_0x1dc35e[_0x2caf63(0x1cc)](_0x2caf63(0x216),!0x1),this[_0x2caf63(0x1d9)]=_0x1dc35e[_0x2caf63(0x1fa)](_0x2caf63(0x216));}[_0x34ee2a(0x1a9)](_0x1a66b6,_0x43ca14){const _0x4aecbe=_0x34ee2a;0x0===this[_0x4aecbe(0x1a0)][_0x4aecbe(0x1ff)]&&setTimeout(()=>{const _0x4e3238=_0x4aecbe;for(const [_0x215a16,_0x45d2d2]of this[_0x4e3238(0x1a0)]){const _0x148b71=this[_0x4e3238(0x232)][_0x4e3238(0x1c6)](_0x215a16);_0x148b71||_0x45d2d2?_0x148b71&&_0x45d2d2&&this[_0x4e3238(0x1d1)](_0x215a16):this[_0x4e3238(0x229)](_0x215a16);}this[_0x4e3238(0x1a0)][_0x4e3238(0x1a1)](),this[_0x4e3238(0x1c4)][_0x4e3238(0x202)][_0x4e3238(0x1fa)](_0x4e3238(0x22d))[_0x4e3238(0x1e3)](),this[_0x4e3238(0x1d3)]();},0xa),this[_0x4aecbe(0x1a0)][_0x4aecbe(0x1dd)](_0x1a66b6,_0x43ca14);}[_0x34ee2a(0x1be)](){const _0x228a24=_0x34ee2a,_0x3890ba=this[_0x228a24(0x1c4)],_0x58462e=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x1e8)),_0x3b24ee=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x215)),_0x1902a0=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x22d)),_0x3eb45b=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x193));this[_0x228a24(0x238)](),_0x1902a0[_0x228a24(0x22a)](()=>{const _0x5d6f8=_0x228a24,_0x389b48=[];for(const [_0x17659b,_0x251a4c]of Array[_0x5d6f8(0x1ce)](this[_0x5d6f8(0x232)])){const _0x32fdcb=_0x17659b[_0x5d6f8(0x1ad)](),_0x549046=[];for(const _0x2a46e2 of _0x32fdcb){if(!_0x2a46e2[_0x5d6f8(0x210)])continue;if(_0x2a46e2[_0x5d6f8(0x1e9)]){_0x549046[_0x5d6f8(0x19d)](..._0x2a46e2[_0x5d6f8(0x1ea)]());continue;}const _0x28eb2f=_0x2a46e2[_0x5d6f8(0x1ab)]();if(_0x549046[_0x5d6f8(0x20b)]>0x0){const _0x3b5fcc=_0x549046[0x0][_0x5d6f8(0x1fb)](_0x28eb2f);if(_0x3b5fcc){_0x549046[0x0]=_0x3b5fcc;continue;}}_0x549046[_0x5d6f8(0x19d)](_0x28eb2f);}_0x389b48[_0x5d6f8(0x19d)]([_0x251a4c[_0x5d6f8(0x20f)],_0x549046]);}return _0x389b48;}),this[_0x228a24(0x203)](_0x58462e,_0x228a24(0x23b),(_0x33d8d7,_0x43d22f)=>{const _0x3be658=_0x228a24;this[_0x3be658(0x203)](_0x43d22f,_0x3be658(0x22e),(_0x3d794a,_0x333da6,_0x36d718,_0x338989)=>{const _0x2a1f5e=_0x3be658;_0x43d22f[_0x2a1f5e(0x210)]&&(null==_0x36d718?(this[_0x2a1f5e(0x198)](_0x338989[_0x2a1f5e(0x1a5)]),this[_0x2a1f5e(0x1a9)](_0x43d22f,!0x1)):(this[_0x2a1f5e(0x198)](_0x36d718[_0x2a1f5e(0x1a5)]),null==_0x338989&&this[_0x2a1f5e(0x1a9)](_0x43d22f,!0x0)));}),null!==_0x43d22f[_0x3be658(0x217)]?this[_0x3be658(0x198)](_0x43d22f[_0x3be658(0x1a5)]):this[_0x3be658(0x1a9)](_0x43d22f,!0x1);}),this[_0x228a24(0x203)](_0x58462e,_0x228a24(0x239),(_0x27c2ab,_0x5a57f9,_0x5b0cfa)=>{const _0x49462f=_0x228a24;this[_0x49462f(0x1ee)](_0x5a57f9,_0x49462f(0x22e)),this[_0x49462f(0x1a0)][_0x49462f(0x1c1)](_0x5a57f9),this[_0x49462f(0x232)][_0x49462f(0x1c6)](_0x5a57f9)&&this[_0x49462f(0x1d1)](_0x5a57f9),_0x5b0cfa&&this[_0x49462f(0x198)](_0x5b0cfa[_0x49462f(0x1a5)]);}),this[_0x228a24(0x203)](_0x58462e,_0x228a24(0x1b6),(_0x35bf67,_0x10d2ac)=>{const _0x3a0f87=_0x228a24;this[_0x3a0f87(0x198)](_0x10d2ac);}),this[_0x228a24(0x203)](_0x3b24ee,_0x228a24(0x1ba),()=>{const _0x42bd84=_0x228a24;this[_0x42bd84(0x1d3)]();}),this[_0x228a24(0x203)](_0x3eb45b,_0x228a24(0x1b3),(_0x36639f,{threadId:_0x1b9122,isFromAdapter:_0x34c95e})=>{const _0x329c0a=_0x228a24;if(_0x34c95e||!_0x58462e[_0x329c0a(0x21f)](_0x1b9122))return;const _0x2f1826=_0x58462e[_0x329c0a(0x205)](_0x1b9122);this[_0x329c0a(0x232)][_0x329c0a(0x1fa)](_0x2f1826)[_0x329c0a(0x20f)][_0x329c0a(0x231)][_0x329c0a(0x1cf)](-0x1);},{'priority':_0x228a24(0x1d6)}),this[_0x228a24(0x1af)]=this[_0x228a24(0x1c4)][_0x228a24(0x1eb)][_0x228a24(0x1fa)](_0x228a24(0x1af));const _0x2a23d0=this[_0x228a24(0x1c4)];this[_0x228a24(0x1df)]=setInterval(()=>{const _0x1cea44=_0x228a24;let _0x39b72b;for(const _0x2707ee in _0x2a23d0){const _0x183113=_0x2707ee,_0x33c532=_0x2a23d0[_0x183113];if(_0x1cea44(0x19f)==_0x33c532||_0x1cea44(0x212)==_0x33c532||_0x1cea44(0x201)==_0x33c532||_0x1cea44(0x21b)==_0x33c532||_0x1cea44(0x237)==_0x33c532||_0x1cea44(0x22f)==_0x33c532||_0x1cea44(0x18e)==_0x33c532){delete _0x2a23d0[_0x183113],_0x39b72b=_0x33c532,clearInterval(this[_0x1cea44(0x1df)]),this[_0x1cea44(0x1df)]=void 0x0;break;}}_0x1cea44(0x212)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1d8)),_0x1cea44(0x201)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1ef)),_0x1cea44(0x21b)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1ae)),_0x1cea44(0x237)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x18c),_0x1cea44(0x22c)),_0x1cea44(0x22f)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1e0)),_0x1cea44(0x18e)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1a4));},0x3e8);}[_0x34ee2a(0x221)](_0x1fd950){const _0x31b1a7=_0x34ee2a,_0xe93bf0=this[_0x31b1a7(0x232)][_0x31b1a7(0x1fa)](_0x1fd950);if(!_0xe93bf0)return null;return this[_0x31b1a7(0x1c4)][_0x31b1a7(0x202)][_0x31b1a7(0x1fa)](_0x31b1a7(0x215))[_0x31b1a7(0x230)](_0xe93bf0[_0x31b1a7(0x20f)])||null;}[_0x34ee2a(0x1f3)](_0x250575){const _0x295475=_0x34ee2a,_0x4e15d9=this[_0x295475(0x19e)][_0x295475(0x1fa)](_0x250575[_0x295475(0x1f5)]);return _0x4e15d9?_0x4e15d9[_0x295475(0x1f9)]:null;}[_0x34ee2a(0x1d3)](){const _0x303477=_0x34ee2a,_0xa87b77=this[_0x303477(0x1c4)][_0x303477(0x202)][_0x303477(0x1fa)](_0x303477(0x215)),_0x1c86b9=this[_0x303477(0x1c4)][_0x303477(0x202)][_0x303477(0x1fa)](_0x303477(0x1e8)),_0x363b64=Array[_0x303477(0x1ce)](_0xa87b77[_0x303477(0x192)],_0x818a6f=>_0x818a6f[_0x303477(0x1f5)])[_0x303477(0x1f0)](_0x56c26c=>this[_0x303477(0x19e)][_0x303477(0x1c6)](_0x56c26c)),_0x59021f=[];for(const _0x36df95 of _0x363b64){const _0x6eae30=this[_0x303477(0x19e)][_0x303477(0x1fa)](_0x36df95)[_0x303477(0x1f9)][_0x303477(0x1ad)]();_0x59021f[_0x303477(0x19d)](..._0x6eae30[_0x303477(0x206)]((_0x5dad4e,_0x423f64)=>[..._0x5dad4e,..._0x423f64[_0x303477(0x18b)]()],[]));}_0x1c86b9[_0x303477(0x1fc)]=_0x59021f;}[_0x34ee2a(0x238)](){const _0x9718a9=_0x34ee2a,_0x36eded=this[_0x9718a9(0x1c4)],_0x1efce8=_0x36eded[_0x9718a9(0x22b)],_0xcf84e8=_0x70ca11(_0x1efce8,_0x9718a9(0x1c2)),_0x53b050=new _0x43f3c5([{'type':_0x9718a9(0x20e),'model':new _0xd3b5a1({'withText':!0x0,'isToggleable':!0x0,'label':_0xcf84e8,'commandName':_0x9718a9(0x19b),'role':_0x9718a9(0x1e5)})},{'type':_0x9718a9(0x1e7)},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x235)),'commandName':_0x9718a9(0x214),'role':_0x9718a9(0x1d5)})},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x234)),'commandName':_0x9718a9(0x1e1),'role':_0x9718a9(0x1d5)})},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x20a)),'commandName':_0x9718a9(0x207),'role':_0x9718a9(0x1d5)})},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x1ca)),'commandName':_0x9718a9(0x220),'role':_0x9718a9(0x1d5)})}]);_0x36eded[_0x9718a9(0x202)][_0x9718a9(0x1c6)](_0x9718a9(0x1c8))&&_0x53b050[_0x9718a9(0x1d0)]([{'type':_0x9718a9(0x1e7)},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x200)),'commandName':_0x9718a9(0x218),'role':_0x9718a9(0x1d5)})}]);for(const _0x3cf13e of _0x53b050)if(ke(_0x3cf13e)){const _0x367eaa=_0x36eded[_0x9718a9(0x227)][_0x9718a9(0x1fa)](_0x3cf13e[_0x9718a9(0x1f9)][_0x9718a9(0x1f2)]);_0x3cf13e[_0x9718a9(0x1f9)][_0x9718a9(0x1bf)](_0x9718a9(0x1b8),_0x9718a9(0x226))['to'](_0x367eaa,_0x9718a9(0x195),_0x9718a9(0x226));}_0x36eded['ui'][_0x9718a9(0x1db)][_0x9718a9(0x23a)](_0x9718a9(0x19b),_0x4d1a02=>this[_0x9718a9(0x1ac)](_0x4d1a02,_0x53b050,_0xcf84e8)),_0x36eded['ui'][_0x9718a9(0x1db)][_0x9718a9(0x23a)](_0x9718a9(0x196),_0x35296e=>this[_0x9718a9(0x1dc)](_0x35296e,_0x53b050,_0xcf84e8));}[_0x34ee2a(0x1ac)](_0x90f60,_0x574ea9,_0x4fcb42){const _0x557e23=_0x34ee2a,_0x1f00b4=_0x10975b(_0x90f60,_0xcdae66),_0x464b37=this[_0x557e23(0x1c4)][_0x557e23(0x227)][_0x557e23(0x1fa)](_0x557e23(0x19b));_0x1f00b4[_0x557e23(0x23c)][_0x557e23(0x1dd)]({'tooltip':_0x4fcb42,'label':_0x4fcb42,'icon':_0x15857c}),_0x1f00b4[_0x557e23(0x23c)][_0x557e23(0x1bf)](_0x557e23(0x1b8))['to'](_0x464b37,_0x557e23(0x195)),_0x1f00b4[_0x557e23(0x23c)]['on'](_0x557e23(0x1ed),()=>{const _0x521993=_0x557e23;_0x464b37[_0x521993(0x1ed)](),this[_0x521993(0x1c4)][_0x521993(0x1bc)][_0x521993(0x20f)][_0x521993(0x1cf)]();}),_0x25aacf(_0x1f00b4,_0x574ea9,{'role':_0x557e23(0x1a7)});const _0x521356=[];for(const _0x2f47f2 of _0x574ea9)ke(_0x2f47f2)&&_0x521356[_0x557e23(0x19d)](this[_0x557e23(0x1c4)][_0x557e23(0x227)][_0x557e23(0x1fa)](_0x2f47f2[_0x557e23(0x1f9)][_0x557e23(0x1f2)]));const _0x3a8c2b=_0x1f00b4[_0x557e23(0x23c)];return _0x3a8c2b[_0x557e23(0x1bd)][_0x557e23(0x1b9)](_0x557e23(0x226)),_0x3a8c2b[_0x557e23(0x1e4)][_0x557e23(0x1b9)](_0x557e23(0x226)),_0x3a8c2b[_0x557e23(0x1bd)][_0x557e23(0x1bf)](_0x557e23(0x226))['to'](_0x464b37,_0x557e23(0x226)),_0x3a8c2b[_0x557e23(0x1e4)][_0x557e23(0x1bf)](_0x557e23(0x226))[_0x557e23(0x1b5)](_0x521356,_0x557e23(0x226),(..._0x5f1658)=>_0x5f1658[_0x557e23(0x21c)](_0x19187d=>_0x19187d)),_0x1f00b4['on'](_0x557e23(0x1ed),_0x1352c1=>{const _0x467389=_0x557e23;this[_0x467389(0x1c4)][_0x467389(0x1ed)](_0x1352c1[_0x467389(0x190)][_0x467389(0x1f2)]),this[_0x467389(0x1c4)][_0x467389(0x1bc)][_0x467389(0x20f)][_0x467389(0x1cf)]();}),_0x1f00b4;}[_0x34ee2a(0x1dc)](_0x5ea91a,_0x100030,_0x5d4c96){const _0x3297ce=_0x34ee2a,_0x386d3f=new _0x369f07(_0x5ea91a),_0x37a773=this[_0x3297ce(0x1c4)][_0x3297ce(0x227)][_0x3297ce(0x1fa)](_0x3297ce(0x19b));_0x386d3f[_0x3297ce(0x23c)][_0x3297ce(0x1dd)]({'label':_0x5d4c96,'icon':_0x15857c});const _0x2d2fd9=new _0x18b8ff(_0x5ea91a);for(const _0x4653e1 of _0x100030){if(_0x3297ce(0x1e7)==_0x4653e1[_0x3297ce(0x197)]){_0x2d2fd9[_0x3297ce(0x21e)][_0x3297ce(0x23a)](new _0x4d54f0(_0x5ea91a));continue;}const _0x1c4495=new _0x194b7d(_0x5ea91a,_0x386d3f),_0x2fb513=new _0x29c4bb(_0x5ea91a),_0x5174d1=_0x4653e1[_0x3297ce(0x1f9)];_0x2fb513[_0x3297ce(0x1bf)](...Object[_0x3297ce(0x1cb)](_0x5174d1))['to'](_0x5174d1),_0x2fb513[_0x3297ce(0x194)](_0x3297ce(0x1ed))['to'](_0x386d3f),_0x2fb513['on'](_0x3297ce(0x1ed),()=>{const _0x33896e=_0x3297ce;this[_0x33896e(0x1c4)][_0x33896e(0x1ed)](_0x5174d1[_0x33896e(0x1f2)]),this[_0x33896e(0x1c4)][_0x33896e(0x1bc)][_0x33896e(0x20f)][_0x33896e(0x1cf)]();}),_0x1c4495[_0x3297ce(0x1c3)][_0x3297ce(0x23a)](_0x2fb513),_0x2d2fd9[_0x3297ce(0x21e)][_0x3297ce(0x23a)](_0x1c4495);}return _0x386d3f[_0x3297ce(0x1bf)](_0x3297ce(0x226))['to'](_0x37a773,_0x3297ce(0x226)),_0x386d3f[_0x3297ce(0x1fe)][_0x3297ce(0x1c3)][_0x3297ce(0x23a)](_0x2d2fd9),_0x386d3f;}[_0x34ee2a(0x229)](_0x45b2e2){const _0x467557=_0x34ee2a,_0x5c72e2=this[_0x467557(0x1c4)],_0x4d4d2a=_0x5c72e2[_0x467557(0x1eb)],_0x45f8db=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x215)),_0x38f2d9=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x193)),_0x59dccc=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x22d)),_0x43d190=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x45e57)['me'],_0x4e6321=_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x19b))[_0x467557(0x223)],_0x2ddbfd=_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x19b))[_0x467557(0x1fd)],{CommentsListView:_0x29e292,CommentThreadInputView:_0x1f60ec}=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x204));let _0x508875,_0x11a610,_0x5eb027;this[_0x467557(0x228)][_0x467557(0x1c6)](_0x45b2e2['id'])?(_0x11a610=this[_0x467557(0x228)][_0x467557(0x1fa)](_0x45b2e2['id']),_0x508875=_0x11a610[_0x467557(0x1aa)]):(_0x508875=new _0x4e6321(_0x5c72e2[_0x467557(0x22b)],_0x45b2e2,_0x43d190,{'disableComments':this[_0x467557(0x1d9)],'editorConfig':{..._0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1cd)),'licenseKey':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1af))},'maxCommentsWhenCollapsed':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1bb)),'maxThreadTotalWeight':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1c9)),'maxCommentCharsWhenCollapsed':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1f8)),'formatDateTime':_0x39fc3c(_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x22b)),_0x5c72e2[_0x467557(0x22b)]),'CommentView':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x191))[_0x467557(0x19a)],'CommentsListView':_0x29e292,'CommentThreadInputView':_0x1f60ec,'SuggestionView':_0x2ddbfd}),_0x508875[_0x467557(0x219)][_0x467557(0x19c)]['on'](_0x467557(0x1ed),()=>{const _0x3eaeba=_0x467557;_0x5c72e2[_0x3eaeba(0x1bc)][_0x3eaeba(0x20f)][_0x3eaeba(0x1cf)]();}),_0x508875[_0x467557(0x219)][_0x467557(0x1b7)]['on'](_0x467557(0x1ed),()=>{const _0x483064=_0x467557;_0x5c72e2[_0x483064(0x1bc)][_0x483064(0x20f)][_0x483064(0x1cf)]();}),_0x11a610=_0x45f8db[_0x467557(0x1ec)](this[_0x467557(0x1c4)][_0x467557(0x22b)],_0x508875),_0x11a610[_0x467557(0x1bf)](_0x467557(0x1b1))['to'](_0x508875,_0x467557(0x1b1)),_0x11a610[_0x467557(0x1bf)](_0x467557(0x20b))['to'](_0x508875),_0x11a610[_0x467557(0x1bf)](_0x467557(0x197))['to'](_0x508875,_0x467557(0x197),_0x545dca=>_0x467557(0x224)+_0x545dca),_0x508875['on'](_0x467557(0x1e6),()=>{const _0x243b6c=_0x467557;_0x5eb027[_0x243b6c(0x1f4)](_0x243b6c(0x1e6));}),this[_0x467557(0x228)][_0x467557(0x1dd)](_0x45b2e2['id'],_0x11a610));const _0x3365b3=_0x38f2d9[_0x467557(0x236)](_0x45b2e2[_0x467557(0x1b4)],_0x508875),_0x2268fc=new _0x58067d(_0x5c72e2,_0x45b2e2,_0x508875,_0x3365b3),_0x48b4ac=_0x45b2e2[_0x467557(0x1ad)]()[_0x467557(0x1f0)](_0x4fe3e9=>_0x4fe3e9[_0x467557(0x210)]);_0x508875[_0x467557(0x1da)]=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x1e8))[_0x467557(0x209)][_0x467557(0x20d)](_0x48b4ac),this[_0x467557(0x232)][_0x467557(0x1dd)](_0x45b2e2,_0x2268fc),this[_0x467557(0x19e)][_0x467557(0x1dd)](_0x508875,_0x2268fc);const _0x5e6a6e=()=>{const _0x58e6cc=_0x467557,_0x25052f=[],_0x1d5fd8=_0x45b2e2[_0x58e6cc(0x1ad)]()[_0x58e6cc(0x1f0)](_0x546517=>_0x546517[_0x58e6cc(0x210)]);for(const _0x1f0207 of _0x1d5fd8)_0x25052f[_0x58e6cc(0x19d)](..._0x1f0207[_0x58e6cc(0x1d7)]());return _0x566b87(_0x5c72e2[_0x58e6cc(0x1bc)],_0x25052f);};_0x5eb027=_0x45f8db[_0x467557(0x18d)]({'view':_0x11a610,'target':_0x5e6a6e,'type':()=>_0x467557(0x224)+_0x2268fc[_0x467557(0x20f)][_0x467557(0x197)],'isVisible':!!_0x5e6a6e()}),_0x38f2d9[_0x467557(0x1a3)](_0x508875,_0x5eb027),_0x45f8db[_0x467557(0x23a)](_0x5eb027),_0x59dccc[_0x467557(0x1f6)](_0x5eb027);}[_0x34ee2a(0x1d1)](_0x86d73b){const _0x5e18c2=_0x34ee2a,_0x695c5b=this[_0x5e18c2(0x1c4)][_0x5e18c2(0x202)][_0x5e18c2(0x1fa)](_0x5e18c2(0x193)),_0x3b7405=this[_0x5e18c2(0x1c4)][_0x5e18c2(0x202)][_0x5e18c2(0x1fa)](_0x5e18c2(0x215)),_0xd3774b=this[_0x5e18c2(0x232)][_0x5e18c2(0x1fa)](_0x86d73b),_0x4716bd=_0xd3774b[_0x5e18c2(0x20f)],_0x44048=_0x3b7405[_0x5e18c2(0x230)](_0x4716bd);_0x695c5b[_0x5e18c2(0x1a2)](_0x4716bd),_0x44048&&_0x3b7405[_0x5e18c2(0x225)](_0x44048),this[_0x5e18c2(0x232)][_0x5e18c2(0x1c1)](_0x86d73b),this[_0x5e18c2(0x19e)][_0x5e18c2(0x1c1)](_0x4716bd),_0xd3774b[_0x5e18c2(0x1de)]();}[_0x34ee2a(0x198)](_0x242c6f){const _0x1e7a1f=_0x34ee2a;if(!_0x242c6f[_0x1e7a1f(0x210)]||!this[_0x1e7a1f(0x232)][_0x1e7a1f(0x1c6)](_0x242c6f))return;const _0x4309d4=this[_0x1e7a1f(0x1c4)][_0x1e7a1f(0x202)][_0x1e7a1f(0x1fa)](_0x1e7a1f(0x1e8)),_0x40baf2=this[_0x1e7a1f(0x232)][_0x1e7a1f(0x1fa)](_0x242c6f),_0x4d78e8=_0x242c6f[_0x1e7a1f(0x1ad)]();_0x40baf2[_0x1e7a1f(0x20f)][_0x1e7a1f(0x1da)]=_0x4309d4[_0x1e7a1f(0x209)][_0x1e7a1f(0x20d)](_0x4d78e8);}[_0x34ee2a(0x1de)](){const _0x4af70b=_0x34ee2a;for(const _0x166a7a of this[_0x4af70b(0x232)][_0x4af70b(0x1cb)]())this[_0x4af70b(0x1d1)](_0x166a7a);for(const _0x5da173 of this[_0x4af70b(0x228)][_0x4af70b(0x233)]())_0x5da173[_0x4af70b(0x1aa)][_0x4af70b(0x1de)]();super[_0x4af70b(0x1de)](),this[_0x4af70b(0x1df)]&&clearInterval(this[_0x4af70b(0x1df)]);}}function ke(_0x4e60de){const _0x1eff0c=_0x34ee2a;return _0x1eff0c(0x1f9)in _0x4e60de;}
|
|
23
|
+
const _0x34ba8c=_0x43db;(function(_0x1806ba,_0x122b6b){const _0x334945=_0x43db,_0x13581a=_0x1806ba();while(!![]){try{const _0x323798=parseInt(_0x334945(0x132))/0x1*(parseInt(_0x334945(0x13d))/0x2)+-parseInt(_0x334945(0xa6))/0x3*(parseInt(_0x334945(0xe2))/0x4)+parseInt(_0x334945(0xe8))/0x5+parseInt(_0x334945(0x10c))/0x6+-parseInt(_0x334945(0xd9))/0x7*(parseInt(_0x334945(0xc5))/0x8)+-parseInt(_0x334945(0x10a))/0x9+parseInt(_0x334945(0xcf))/0xa;if(_0x323798===_0x122b6b)break;else _0x13581a['push'](_0x13581a['shift']());}catch(_0x535ef7){_0x13581a['push'](_0x13581a['shift']());}}}(_0x2269,0x4e7bd));import{Plugin as _0x2a393a}from'ckeditor5/src/core.js';import{Collection as _0x38e8f3}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x10afc3}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4a6fba,createDropdown as _0x45036d,ListSeparatorView as _0x1e3300,MenuBarMenuView as _0x565a55,MenuBarMenuListView as _0xf5076e,MenuBarMenuListItemView as _0x3eed70,MenuBarMenuListItemButtonView as _0x244320,SplitButtonView as _0x128915,UIModel as _0x23cdb9}from'ckeditor5/src/ui.js';import{Users as _0x5ef5b3,getDateTimeFormatter as _0x56c389,getAllMarkersDomElementsSorted as _0x43c7c7}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x439c75}from'./trackchangesediting.js';function _0x2269(){const _0x5bafab=['_addUIComponentsToFactory','trackChangesLicenseKeyNotAllowed','TrackChanges','arrowView','discardSelectedSuggestions','getJoined','menu','createCommentThreadController','head','remove','set','getMarkers','comments.maxCommentsWhenCollapsed','CommentsRepository','getFirstRange','values','from','2447qmydWY','trackChangesLicenseKeyDomainLimit','getAllAdjacentSuggestions','addComment','change:previous','trackChangesLicenseKeyValid','bind','registerAnnotation','mainView','panelView','get','362RFDWKR','discardAllSuggestions','evaluationLimit','SuggestionView','config','activeAnnotations','acceptButton','getDescriptions','unbind','TrackChangesPreview','_suggestionToController','push','TrackChangesUI','stopListening','plugins','isInContent','featureNotAllowed','lowest','isEnabled','expired','trackChanges.SuggestionThreadView','clear','_viewToController','_createToolbarButton','delegate','1614159QoFMyQ','createAnnotationView','hasSuggestion','some','suggestionView','locale','_destroyController','children','getSuggestion','domainLimit','fire','editing','menuitemcheckbox','toMany','_showLicenseError','usageLimit','trackChangesLicenseKeyUsageLimit','type','size','items','commentsListView','delete','getAnnotationForSuggestion','previewFinalContent','comments.editorConfig','has','value','isOn','execute','isMultiRange','suggestion-','8WEWKYo','view','TrackChangesEditing','commentThread','trackChangesLicenseKeyInvalid','invalid','Annotations','add','isOfficialPlugin','_initializeController','1675350zSYHxC','CommentView','escape','_annotationViews','_handleControllerBuffer','Track\x20changes','_disableComments','Discard\x20all\x20suggestions','isPremiumPlugin','addMany','1185527sOMJlb','suggestionChanged','suggestionUnloaded','button','_licenseKeyCheckInterval','pluginName','commandName','licenseKey','comments.maxCommentCharsWhenCollapsed','4OPXteK','getMarkerNames','requires','keys','innerView','acceptSelectedSuggestions','1228185EsteFF','filter','refreshSelectedViews','commands','init','createAnnotation','trackChangesLicenseKeyEvaluationLimit','activeMarkers','focus','Preview\x20final\x20content','_bindAnnotationToEditors','componentFactory','comments.maxThreadTotalWeight','separator','reduce','source','trackChanges.SuggestionView','discardButton','acceptAllSuggestions','Discard\x20all\x20selected\x20suggestions','CommentsUI','EditorAnnotations','addSourceCollector','destroy','previous','SuggestionThreadView','isDirty','Accept\x20all\x20suggestions','_refreshActiveMarkers','comments','buttonView','switchbutton','editor','_unbindEditors','3197934fuybuy','descriptionFactory','3168780gTgdFt','length','menuitem','actionView','getByInnerView','trackChangesLicenseKeyExpired','trackChanges.disableComments','model','Accept\x20all\x20selected\x20suggestions','suggestionLoaded','getSuggestionForAnnotation','descriptionParts','_createMenuBarMenu','_updateController','_handleSuggestionControllerDelayed','getRanges','trackChanges','listenTo','menuBar:trackChanges','define','change:activeAnnotations'];_0x2269=function(){return _0x5bafab;};return _0x2269();}import{SuggestionController as _0x2dbeb6}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x181651}from'./ui/view/suggestionthreadview.js';function _0x43db(_0x997ca9,_0x54617a){const _0x2269be=_0x2269();return _0x43db=function(_0x43db62,_0x5a190c){_0x43db62=_0x43db62-0x9b;let _0x44ced0=_0x2269be[_0x43db62];return _0x44ced0;},_0x43db(_0x997ca9,_0x54617a);}import{SuggestionView as _0x1a036d}from'./ui/view/suggestionview.js';import{getTranslation as _0x555990}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2a393a{[_0x34ba8c(0xe0)];[_0x34ba8c(0xdd)];[_0x34ba8c(0x147)];[_0x34ba8c(0xa3)];[_0x34ba8c(0xd2)];[_0x34ba8c(0xd3)];[_0x34ba8c(0xd5)];static get[_0x34ba8c(0xe4)](){const _0x1aa9fc=_0x34ba8c;return[_0x439c75,_0x5ef5b3,_0x1aa9fc(0x12e),_0x1aa9fc(0xcb),_0x1aa9fc(0xfd)];}static get[_0x34ba8c(0xde)](){const _0x19b0ef=_0x34ba8c;return _0x19b0ef(0x149);}static get[_0x34ba8c(0xcd)](){return!0x0;}static get[_0x34ba8c(0xd7)](){return!0x0;}constructor(_0xe941d){const _0x19bfdf=_0x34ba8c;super(_0xe941d),this[_0x19bfdf(0x147)]=new Map(),this[_0x19bfdf(0xa3)]=new Map(),this[_0x19bfdf(0xd2)]=new Map(),this[_0x19bfdf(0xd3)]=new Map();const _0xe26c5d=this[_0x19bfdf(0x108)][_0x19bfdf(0x141)];_0xe26c5d[_0x19bfdf(0x11f)](_0x19bfdf(0xa1),_0x181651),_0xe26c5d[_0x19bfdf(0x11f)](_0x19bfdf(0xf8),_0x1a036d),_0xe26c5d[_0x19bfdf(0x11f)](_0x19bfdf(0x112),!0x1),this[_0x19bfdf(0xd5)]=_0xe26c5d[_0x19bfdf(0x13c)](_0x19bfdf(0x112));}[_0x34ba8c(0x11a)](_0x42d1fc,_0x33a72c){const _0x35e2fe=_0x34ba8c;0x0===this[_0x35e2fe(0xd3)][_0x35e2fe(0xb8)]&&setTimeout(()=>{const _0x2d7a77=_0x35e2fe;for(const [_0x546a47,_0x1ccf9e]of this[_0x2d7a77(0xd3)]){const _0x93fd6b=this[_0x2d7a77(0x147)][_0x2d7a77(0xbf)](_0x546a47);_0x93fd6b||_0x1ccf9e?_0x93fd6b&&_0x1ccf9e&&this[_0x2d7a77(0xac)](_0x546a47):this[_0x2d7a77(0xce)](_0x546a47);}this[_0x2d7a77(0xd3)][_0x2d7a77(0xa2)](),this[_0x2d7a77(0x108)][_0x2d7a77(0x9b)][_0x2d7a77(0x13c)](_0x2d7a77(0xfd))[_0x2d7a77(0xea)](),this[_0x2d7a77(0x104)]();},0xa),this[_0x35e2fe(0xd3)][_0x35e2fe(0x12b)](_0x42d1fc,_0x33a72c);}[_0x34ba8c(0xec)](){const _0x55fe03=_0x34ba8c,_0x21f76d=this[_0x55fe03(0x108)],_0x28a085=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0xc7)),_0x3b098b=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0xcb)),_0x117ebd=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0xfd)),_0x406392=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0x12e));this[_0x55fe03(0x121)](),_0x117ebd[_0x55fe03(0xfe)](()=>{const _0x2da0a2=_0x55fe03,_0xe53b1a=[];for(const [_0x373c5d,_0x127e57]of Array[_0x2da0a2(0x131)](this[_0x2da0a2(0x147)])){const _0x3cac70=_0x373c5d[_0x2da0a2(0x134)](),_0x319cdc=[];for(const _0x4834fc of _0x3cac70){if(!_0x4834fc[_0x2da0a2(0x9c)])continue;if(_0x4834fc[_0x2da0a2(0xc3)]){_0x319cdc[_0x2da0a2(0x148)](..._0x4834fc[_0x2da0a2(0x11b)]());continue;}const _0x277581=_0x4834fc[_0x2da0a2(0x12f)]();if(_0x319cdc[_0x2da0a2(0x10d)]>0x0){const _0x252b25=_0x319cdc[0x0][_0x2da0a2(0x126)](_0x277581);if(_0x252b25){_0x319cdc[0x0]=_0x252b25;continue;}}_0x319cdc[_0x2da0a2(0x148)](_0x277581);}_0xe53b1a[_0x2da0a2(0x148)]([_0x127e57[_0x2da0a2(0xc6)],_0x319cdc]);}return _0xe53b1a;}),this[_0x55fe03(0x11d)](_0x28a085,_0x55fe03(0x115),(_0x1e97f4,_0x2bf8e7)=>{const _0x27b067=_0x55fe03;this[_0x27b067(0x11d)](_0x2bf8e7,_0x27b067(0x136),(_0x411d90,_0x2d745f,_0xd60d86,_0xd2f3d7)=>{const _0x7f7bb2=_0x27b067;_0x2bf8e7[_0x7f7bb2(0x9c)]&&(null==_0xd60d86?(this[_0x7f7bb2(0x119)](_0xd2f3d7[_0x7f7bb2(0x129)]),this[_0x7f7bb2(0x11a)](_0x2bf8e7,!0x1)):(this[_0x7f7bb2(0x119)](_0xd60d86[_0x7f7bb2(0x129)]),null==_0xd2f3d7&&this[_0x7f7bb2(0x11a)](_0x2bf8e7,!0x0)));}),null!==_0x2bf8e7[_0x27b067(0x100)]?this[_0x27b067(0x119)](_0x2bf8e7[_0x27b067(0x129)]):this[_0x27b067(0x11a)](_0x2bf8e7,!0x1);}),this[_0x55fe03(0x11d)](_0x28a085,_0x55fe03(0xdb),(_0xf66738,_0x4cc51d,_0x2cf298)=>{const _0x183b6b=_0x55fe03;this[_0x183b6b(0x14a)](_0x4cc51d,_0x183b6b(0x136)),this[_0x183b6b(0xd3)][_0x183b6b(0xbb)](_0x4cc51d),this[_0x183b6b(0x147)][_0x183b6b(0xbf)](_0x4cc51d)&&this[_0x183b6b(0xac)](_0x4cc51d),_0x2cf298&&this[_0x183b6b(0x119)](_0x2cf298[_0x183b6b(0x129)]);}),this[_0x55fe03(0x11d)](_0x28a085,_0x55fe03(0xda),(_0x5314dc,_0x1c7099)=>{const _0x3b5cfc=_0x55fe03;this[_0x3b5cfc(0x119)](_0x1c7099);}),this[_0x55fe03(0x11d)](_0x3b098b,_0x55fe03(0x120),()=>{const _0x3a139b=_0x55fe03;this[_0x3a139b(0x104)]();}),this[_0x55fe03(0x11d)](_0x406392,_0x55fe03(0x135),(_0x3cb869,{threadId:_0x2e5264,isFromAdapter:_0x310db7})=>{const _0x2a3a5a=_0x55fe03;if(_0x310db7||!_0x28a085[_0x2a3a5a(0xa8)](_0x2e5264))return;const _0x89fdbb=_0x28a085[_0x2a3a5a(0xae)](_0x2e5264);this[_0x2a3a5a(0x147)][_0x2a3a5a(0x13c)](_0x89fdbb)[_0x2a3a5a(0xc6)][_0x2a3a5a(0xba)][_0x2a3a5a(0xf0)](-0x1);},{'priority':_0x55fe03(0x9e)}),this[_0x55fe03(0xe0)]=this[_0x55fe03(0x108)][_0x55fe03(0x141)][_0x55fe03(0x13c)](_0x55fe03(0xe0));const _0x106df8=this[_0x55fe03(0x108)];this[_0x55fe03(0xdd)]=setInterval(()=>{const _0x10e4b1=_0x55fe03;let _0x49955a;for(const _0x16b2ed in _0x106df8){const _0x1117b5=_0x16b2ed,_0x3833c7=_0x106df8[_0x1117b5];if(_0x10e4b1(0x137)==_0x3833c7||_0x10e4b1(0xc9)==_0x3833c7||_0x10e4b1(0x111)==_0x3833c7||_0x10e4b1(0x133)==_0x3833c7||_0x10e4b1(0x122)==_0x3833c7||_0x10e4b1(0xee)==_0x3833c7||_0x10e4b1(0xb6)==_0x3833c7){delete _0x106df8[_0x1117b5],_0x49955a=_0x3833c7,clearInterval(this[_0x10e4b1(0xdd)]),this[_0x10e4b1(0xdd)]=void 0x0;break;}}_0x10e4b1(0xc9)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xca)),_0x10e4b1(0x111)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xa0)),_0x10e4b1(0x133)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xaf)),_0x10e4b1(0x122)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0x9d),_0x10e4b1(0x123)),_0x10e4b1(0xee)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0x13f)),_0x10e4b1(0xb6)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xb5));},0x3e8);}[_0x34ba8c(0xbc)](_0x56291f){const _0x240600=_0x34ba8c,_0x39218b=this[_0x240600(0x147)][_0x240600(0x13c)](_0x56291f);if(!_0x39218b)return null;return this[_0x240600(0x108)][_0x240600(0x9b)][_0x240600(0x13c)](_0x240600(0xcb))[_0x240600(0x110)](_0x39218b[_0x240600(0xc6)])||null;}[_0x34ba8c(0x116)](_0x148e1c){const _0x42afe2=_0x34ba8c,_0x36e937=this[_0x42afe2(0xa3)][_0x42afe2(0x13c)](_0x148e1c[_0x42afe2(0xe6)]);return _0x36e937?_0x36e937[_0x42afe2(0x113)]:null;}[_0x34ba8c(0x104)](){const _0x4d8551=_0x34ba8c,_0x1194fa=this[_0x4d8551(0x108)][_0x4d8551(0x9b)][_0x4d8551(0x13c)](_0x4d8551(0xcb)),_0x4bbcef=this[_0x4d8551(0x108)][_0x4d8551(0x9b)][_0x4d8551(0x13c)](_0x4d8551(0xc7)),_0x1ebceb=Array[_0x4d8551(0x131)](_0x1194fa[_0x4d8551(0x142)],_0x4fd7a9=>_0x4fd7a9[_0x4d8551(0xe6)])[_0x4d8551(0xe9)](_0x3a8d96=>this[_0x4d8551(0xa3)][_0x4d8551(0xbf)](_0x3a8d96)),_0x62fc2d=[];for(const _0x4df3ba of _0x1ebceb){const _0x5f3db2=this[_0x4d8551(0xa3)][_0x4d8551(0x13c)](_0x4df3ba)[_0x4d8551(0x113)][_0x4d8551(0x134)]();_0x62fc2d[_0x4d8551(0x148)](..._0x5f3db2[_0x4d8551(0xf6)]((_0x4ec728,_0x3e516e)=>[..._0x4ec728,..._0x3e516e[_0x4d8551(0xe3)]()],[]));}_0x4bbcef[_0x4d8551(0xef)]=_0x62fc2d;}[_0x34ba8c(0x121)](){const _0x8e0f02=_0x34ba8c,_0x41d8e3=this[_0x8e0f02(0x108)],_0xce0e2a=_0x41d8e3[_0x8e0f02(0xab)],_0x4e9e63=_0x555990(_0xce0e2a,_0x8e0f02(0xd4)),_0x1ee84c=new _0x38e8f3([{'type':_0x8e0f02(0x107),'model':new _0x23cdb9({'withText':!0x0,'isToggleable':!0x0,'label':_0x4e9e63,'commandName':_0x8e0f02(0x11c),'role':_0x8e0f02(0xb2)})},{'type':_0x8e0f02(0xf5)},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0x103)),'commandName':_0x8e0f02(0xfa),'role':_0x8e0f02(0x10e)})},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0x114)),'commandName':_0x8e0f02(0xe7),'role':_0x8e0f02(0x10e)})},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0xd6)),'commandName':_0x8e0f02(0x13e),'role':_0x8e0f02(0x10e)})},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0xfb)),'commandName':_0x8e0f02(0x125),'role':_0x8e0f02(0x10e)})}]);_0x41d8e3[_0x8e0f02(0x9b)][_0x8e0f02(0xbf)](_0x8e0f02(0x146))&&_0x1ee84c[_0x8e0f02(0xd8)]([{'type':_0x8e0f02(0xf5)},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0xf1)),'commandName':_0x8e0f02(0xbd),'role':_0x8e0f02(0x10e)})}]);for(const _0x3bf47f of _0x1ee84c)if(ke(_0x3bf47f)){const _0x113bed=_0x41d8e3[_0x8e0f02(0xeb)][_0x8e0f02(0x13c)](_0x3bf47f[_0x8e0f02(0x113)][_0x8e0f02(0xdf)]);_0x3bf47f[_0x8e0f02(0x113)][_0x8e0f02(0x138)](_0x8e0f02(0xc1),_0x8e0f02(0x9f))['to'](_0x113bed,_0x8e0f02(0xc0),_0x8e0f02(0x9f));}_0x41d8e3['ui'][_0x8e0f02(0xf3)][_0x8e0f02(0xcc)](_0x8e0f02(0x11c),_0x10eecf=>this[_0x8e0f02(0xa4)](_0x10eecf,_0x1ee84c,_0x4e9e63)),_0x41d8e3['ui'][_0x8e0f02(0xf3)][_0x8e0f02(0xcc)](_0x8e0f02(0x11e),_0x41056a=>this[_0x8e0f02(0x118)](_0x41056a,_0x1ee84c,_0x4e9e63));}[_0x34ba8c(0xa4)](_0x27871d,_0x5ede23,_0x367137){const _0x5675d5=_0x34ba8c,_0x442e5d=_0x45036d(_0x27871d,_0x128915),_0x1e8080=this[_0x5675d5(0x108)][_0x5675d5(0xeb)][_0x5675d5(0x13c)](_0x5675d5(0x11c));_0x442e5d[_0x5675d5(0x106)][_0x5675d5(0x12b)]({'tooltip':_0x367137,'label':_0x367137,'icon':_0x10afc3}),_0x442e5d[_0x5675d5(0x106)][_0x5675d5(0x138)](_0x5675d5(0xc1))['to'](_0x1e8080,_0x5675d5(0xc0)),_0x442e5d[_0x5675d5(0x106)]['on'](_0x5675d5(0xc2),()=>{const _0x4f9571=_0x5675d5;_0x1e8080[_0x4f9571(0xc2)](),this[_0x4f9571(0x108)][_0x4f9571(0xb1)][_0x4f9571(0xc6)][_0x4f9571(0xf0)]();}),_0x4a6fba(_0x442e5d,_0x5ede23,{'role':_0x5675d5(0x127)});const _0x1e1733=[];for(const _0x262f25 of _0x5ede23)ke(_0x262f25)&&_0x1e1733[_0x5675d5(0x148)](this[_0x5675d5(0x108)][_0x5675d5(0xeb)][_0x5675d5(0x13c)](_0x262f25[_0x5675d5(0x113)][_0x5675d5(0xdf)]));const _0x53e480=_0x442e5d[_0x5675d5(0x106)];return _0x53e480[_0x5675d5(0x10f)][_0x5675d5(0x145)](_0x5675d5(0x9f)),_0x53e480[_0x5675d5(0x124)][_0x5675d5(0x145)](_0x5675d5(0x9f)),_0x53e480[_0x5675d5(0x10f)][_0x5675d5(0x138)](_0x5675d5(0x9f))['to'](_0x1e8080,_0x5675d5(0x9f)),_0x53e480[_0x5675d5(0x124)][_0x5675d5(0x138)](_0x5675d5(0x9f))[_0x5675d5(0xb3)](_0x1e1733,_0x5675d5(0x9f),(..._0x2ef374)=>_0x2ef374[_0x5675d5(0xa9)](_0x3978bd=>_0x3978bd)),_0x442e5d['on'](_0x5675d5(0xc2),_0x1757c4=>{const _0x2d0fea=_0x5675d5;this[_0x2d0fea(0x108)][_0x2d0fea(0xc2)](_0x1757c4[_0x2d0fea(0xf7)][_0x2d0fea(0xdf)]),this[_0x2d0fea(0x108)][_0x2d0fea(0xb1)][_0x2d0fea(0xc6)][_0x2d0fea(0xf0)]();}),_0x442e5d;}[_0x34ba8c(0x118)](_0x31fc2f,_0x2219d0,_0x2951a4){const _0x2a01fc=_0x34ba8c,_0x50692e=new _0x565a55(_0x31fc2f),_0xa2d43f=this[_0x2a01fc(0x108)][_0x2a01fc(0xeb)][_0x2a01fc(0x13c)](_0x2a01fc(0x11c));_0x50692e[_0x2a01fc(0x106)][_0x2a01fc(0x12b)]({'label':_0x2951a4,'icon':_0x10afc3});const _0x487ee5=new _0xf5076e(_0x31fc2f);for(const _0xae2325 of _0x2219d0){if(_0x2a01fc(0xf5)==_0xae2325[_0x2a01fc(0xb7)]){_0x487ee5[_0x2a01fc(0xb9)][_0x2a01fc(0xcc)](new _0x1e3300(_0x31fc2f));continue;}const _0x1d0357=new _0x3eed70(_0x31fc2f,_0x50692e),_0x27ea60=new _0x244320(_0x31fc2f),_0x42fdf7=_0xae2325[_0x2a01fc(0x113)];_0x27ea60[_0x2a01fc(0x138)](...Object[_0x2a01fc(0xe5)](_0x42fdf7))['to'](_0x42fdf7),_0x27ea60[_0x2a01fc(0xa5)](_0x2a01fc(0xc2))['to'](_0x50692e),_0x27ea60['on'](_0x2a01fc(0xc2),()=>{const _0x5181cd=_0x2a01fc;this[_0x5181cd(0x108)][_0x5181cd(0xc2)](_0x42fdf7[_0x5181cd(0xdf)]),this[_0x5181cd(0x108)][_0x5181cd(0xb1)][_0x5181cd(0xc6)][_0x5181cd(0xf0)]();}),_0x1d0357[_0x2a01fc(0xad)][_0x2a01fc(0xcc)](_0x27ea60),_0x487ee5[_0x2a01fc(0xb9)][_0x2a01fc(0xcc)](_0x1d0357);}return _0x50692e[_0x2a01fc(0x138)](_0x2a01fc(0x9f))['to'](_0xa2d43f,_0x2a01fc(0x9f)),_0x50692e[_0x2a01fc(0x13b)][_0x2a01fc(0xad)][_0x2a01fc(0xcc)](_0x487ee5),_0x50692e;}[_0x34ba8c(0xce)](_0x5e21fd){const _0x2a6bb0=_0x34ba8c,_0x25ef80=this[_0x2a6bb0(0x108)],_0x5ddc94=_0x25ef80[_0x2a6bb0(0x141)],_0x8e0542=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xcb)),_0x62cc1b=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0x12e)),_0x90b9ab=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xfd)),_0x12a12b=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x5ef5b3)['me'],_0xe4eb28=_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x11c))[_0x2a6bb0(0x101)],_0xbc3539=_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x11c))[_0x2a6bb0(0x140)],{CommentsListView:_0x47e85a,CommentThreadInputView:_0x1811ef}=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xfc));let _0x5baaeb,_0x54ccc9,_0x4c31cc;this[_0x2a6bb0(0xd2)][_0x2a6bb0(0xbf)](_0x5e21fd['id'])?(_0x54ccc9=this[_0x2a6bb0(0xd2)][_0x2a6bb0(0x13c)](_0x5e21fd['id']),_0x5baaeb=_0x54ccc9[_0x2a6bb0(0x13a)]):(_0x5baaeb=new _0xe4eb28(_0x25ef80[_0x2a6bb0(0xab)],_0x5e21fd,_0x12a12b,{'disableComments':this[_0x2a6bb0(0xd5)],'editorConfig':{..._0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xbe)),'licenseKey':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xe0))},'maxCommentsWhenCollapsed':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x12d)),'maxThreadTotalWeight':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xf4)),'maxCommentCharsWhenCollapsed':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xe1)),'formatDateTime':_0x56c389(_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xab)),_0x25ef80[_0x2a6bb0(0xab)]),'CommentView':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x105))[_0x2a6bb0(0xd0)],'CommentsListView':_0x47e85a,'CommentThreadInputView':_0x1811ef,'SuggestionView':_0xbc3539}),_0x5baaeb[_0x2a6bb0(0xaa)][_0x2a6bb0(0x143)]['on'](_0x2a6bb0(0xc2),()=>{const _0xb03982=_0x2a6bb0;_0x25ef80[_0xb03982(0xb1)][_0xb03982(0xc6)][_0xb03982(0xf0)]();}),_0x5baaeb[_0x2a6bb0(0xaa)][_0x2a6bb0(0xf9)]['on'](_0x2a6bb0(0xc2),()=>{const _0x415fd0=_0x2a6bb0;_0x25ef80[_0x415fd0(0xb1)][_0x415fd0(0xc6)][_0x415fd0(0xf0)]();}),_0x54ccc9=_0x8e0542[_0x2a6bb0(0xa7)](this[_0x2a6bb0(0x108)][_0x2a6bb0(0xab)],_0x5baaeb),_0x54ccc9[_0x2a6bb0(0x138)](_0x2a6bb0(0x102))['to'](_0x5baaeb,_0x2a6bb0(0x102)),_0x54ccc9[_0x2a6bb0(0x138)](_0x2a6bb0(0x10d))['to'](_0x5baaeb),_0x54ccc9[_0x2a6bb0(0x138)](_0x2a6bb0(0xb7))['to'](_0x5baaeb,_0x2a6bb0(0xb7),_0x453005=>_0x2a6bb0(0xc4)+_0x453005),_0x5baaeb['on'](_0x2a6bb0(0xd1),()=>{const _0x54b97c=_0x2a6bb0;_0x4c31cc[_0x54b97c(0xb0)](_0x54b97c(0xd1));}),this[_0x2a6bb0(0xd2)][_0x2a6bb0(0x12b)](_0x5e21fd['id'],_0x54ccc9));const _0x430729=_0x62cc1b[_0x2a6bb0(0x128)](_0x5e21fd[_0x2a6bb0(0xc8)],_0x5baaeb),_0x467096=new _0x2dbeb6(_0x25ef80,_0x5e21fd,_0x5baaeb,_0x430729),_0x5a73d2=_0x5e21fd[_0x2a6bb0(0x134)]()[_0x2a6bb0(0xe9)](_0x4d7c2e=>_0x4d7c2e[_0x2a6bb0(0x9c)]);_0x5baaeb[_0x2a6bb0(0x117)]=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xc7))[_0x2a6bb0(0x10b)][_0x2a6bb0(0x144)](_0x5a73d2),this[_0x2a6bb0(0x147)][_0x2a6bb0(0x12b)](_0x5e21fd,_0x467096),this[_0x2a6bb0(0xa3)][_0x2a6bb0(0x12b)](_0x5baaeb,_0x467096);const _0x1c8364=()=>{const _0x53e3d5=_0x2a6bb0,_0x3d1df0=[],_0x1ca540=_0x5e21fd[_0x53e3d5(0x134)]()[_0x53e3d5(0xe9)](_0xd74695=>_0xd74695[_0x53e3d5(0x9c)]);for(const _0x4dedf8 of _0x1ca540)_0x3d1df0[_0x53e3d5(0x148)](..._0x4dedf8[_0x53e3d5(0x12c)]());return _0x43c7c7(_0x25ef80[_0x53e3d5(0xb1)],_0x3d1df0);};_0x4c31cc=_0x8e0542[_0x2a6bb0(0xed)]({'view':_0x54ccc9,'target':_0x1c8364,'type':()=>_0x2a6bb0(0xc4)+_0x467096[_0x2a6bb0(0xc6)][_0x2a6bb0(0xb7)],'isVisible':!!_0x1c8364()}),_0x62cc1b[_0x2a6bb0(0xf2)](_0x5baaeb,_0x4c31cc),_0x8e0542[_0x2a6bb0(0xcc)](_0x4c31cc),_0x90b9ab[_0x2a6bb0(0x139)](_0x4c31cc);}[_0x34ba8c(0xac)](_0x26310e){const _0xf956c4=_0x34ba8c,_0x25bfc8=this[_0xf956c4(0x108)][_0xf956c4(0x9b)][_0xf956c4(0x13c)](_0xf956c4(0x12e)),_0x20f1a6=this[_0xf956c4(0x108)][_0xf956c4(0x9b)][_0xf956c4(0x13c)](_0xf956c4(0xcb)),_0x5a788b=this[_0xf956c4(0x147)][_0xf956c4(0x13c)](_0x26310e),_0x388cb1=_0x5a788b[_0xf956c4(0xc6)],_0x3a3158=_0x20f1a6[_0xf956c4(0x110)](_0x388cb1);_0x25bfc8[_0xf956c4(0x109)](_0x388cb1),_0x3a3158&&_0x20f1a6[_0xf956c4(0x12a)](_0x3a3158),this[_0xf956c4(0x147)][_0xf956c4(0xbb)](_0x26310e),this[_0xf956c4(0xa3)][_0xf956c4(0xbb)](_0x388cb1),_0x5a788b[_0xf956c4(0xff)]();}[_0x34ba8c(0x119)](_0x4bd306){const _0x455456=_0x34ba8c;if(!_0x4bd306[_0x455456(0x9c)]||!this[_0x455456(0x147)][_0x455456(0xbf)](_0x4bd306))return;const _0x5f096e=this[_0x455456(0x108)][_0x455456(0x9b)][_0x455456(0x13c)](_0x455456(0xc7)),_0x15056d=this[_0x455456(0x147)][_0x455456(0x13c)](_0x4bd306),_0x48716a=_0x4bd306[_0x455456(0x134)]();_0x15056d[_0x455456(0xc6)][_0x455456(0x117)]=_0x5f096e[_0x455456(0x10b)][_0x455456(0x144)](_0x48716a);}[_0x34ba8c(0xff)](){const _0x36883e=_0x34ba8c;for(const _0x534713 of this[_0x36883e(0x147)][_0x36883e(0xe5)]())this[_0x36883e(0xac)](_0x534713);for(const _0x37192f of this[_0x36883e(0xd2)][_0x36883e(0x130)]())_0x37192f[_0x36883e(0x13a)][_0x36883e(0xff)]();super[_0x36883e(0xff)](),this[_0x36883e(0xdd)]&&clearInterval(this[_0x36883e(0xdd)]);}}function ke(_0x3c2a77){const _0x5ad428=_0x34ba8c;return _0x5ad428(0x113)in _0x3c2a77;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3ea0f4=_0x3d8d;(function(_0x48abdc,_0x3904ed){const _0x17aa51=_0x3d8d,_0x3961bf=_0x48abdc();while(!![]){try{const _0x20cd96=parseInt(_0x17aa51(0xd4))/0x1*(-parseInt(_0x17aa51(0xbe))/0x2)+parseInt(_0x17aa51(0xc7))/0x3*(-parseInt(_0x17aa51(0xda))/0x4)+-parseInt(_0x17aa51(0xdb))/0x5+-parseInt(_0x17aa51(0xd5))/0x6+-parseInt(_0x17aa51(0xd2))/0x7+-parseInt(_0x17aa51(0xd8))/0x8+parseInt(_0x17aa51(0xd6))/0x9;if(_0x20cd96===_0x3904ed)break;else _0x3961bf['push'](_0x3961bf['shift']());}catch(_0x33c946){_0x3961bf['push'](_0x3961bf['shift']());}}}(_0x2fe5,0xd94db));import{ObservableMixin as _0x55b445}from'ckeditor5/src/utils.js';function _0x2fe5(){const _0x441c60=['7860080PmDROo','plugins','1084532doLkOg','7940880Liwdar','remove','_acceptCommand','_removePendingAction','_editor','canDiscard','getRanges','locale','stopListening','_discardCommand','_pendingAction','destroy','2474txSSCo','get','isEnabled','bind','model','discardSuggestion','execute','unbind','canEditAt','9YqUKWn','listenTo','canAccept','_setPendingAction','PENDING_ACTION_SUGGESTION','add','commentThreadController','change:isDirty','isDirty','view','acceptSuggestion','3432408GZjKOq','PendingActions','359BeCrRI','1393326mgNiFj','48967272fecMtF','commands'];_0x2fe5=function(){return _0x441c60;};return _0x2fe5();}import{getTranslation as _0x571266}from'../utils/common-translations.js';function _0x3d8d(_0x5519ea,_0x477a43){const _0x2fe518=_0x2fe5();return _0x3d8d=function(_0x3d8d88,_0x4d21b9){_0x3d8d88=_0x3d8d88-0xb3;let _0xc0508b=_0x2fe518[_0x3d8d88];return _0xc0508b;},_0x3d8d(_0x5519ea,_0x477a43);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x55b445(){[_0x3ea0f4(0xc2)];[_0x3ea0f4(0xd0)];[_0x3ea0f4(0xcd)];[_0x3ea0f4(0xb6)];[_0x3ea0f4(0xb4)];[_0x3ea0f4(0xbb)];[_0x3ea0f4(0xbc)];constructor(_0x10ee47,_0x4d2627,_0x17697c,_0x2d6fd0){const _0x2c0991=_0x3ea0f4;super(),this[_0x2c0991(0xc2)]=_0x4d2627,this[_0x2c0991(0xd0)]=_0x17697c,this[_0x2c0991(0xcd)]=_0x2d6fd0,this[_0x2c0991(0xb6)]=_0x10ee47,this[_0x2c0991(0xb4)]=_0x10ee47[_0x2c0991(0xd7)][_0x2c0991(0xbf)](_0x2c0991(0xd1)),this[_0x2c0991(0xbb)]=_0x10ee47[_0x2c0991(0xd7)][_0x2c0991(0xbf)](_0x2c0991(0xc3)),this[_0x2c0991(0xd0)][_0x2c0991(0xc1)](_0x2c0991(0xc0))['to'](this[_0x2c0991(0xb4)],this[_0x2c0991(0xbb)],(_0x2feb0b,_0x37d040)=>_0x2feb0b||_0x37d040),this[_0x2c0991(0xd0)][_0x2c0991(0xc1)](_0x2c0991(0xc9))['to'](this[_0x2c0991(0xb4)],_0x2c0991(0xc0),_0x433f2a=>_0x433f2a&&this[_0x2c0991(0xb6)][_0x2c0991(0xc2)][_0x2c0991(0xc6)](_0x4d2627[_0x2c0991(0xb8)]())),this[_0x2c0991(0xd0)][_0x2c0991(0xc1)](_0x2c0991(0xb7))['to'](this[_0x2c0991(0xbb)],_0x2c0991(0xc0),_0x29265b=>_0x29265b&&this[_0x2c0991(0xb6)][_0x2c0991(0xc2)][_0x2c0991(0xc6)](_0x4d2627[_0x2c0991(0xb8)]())),this[_0x2c0991(0xbc)]=null,_0x17697c[_0x2c0991(0xcf)]&&this[_0x2c0991(0xca)](),this[_0x2c0991(0xc8)](_0x17697c,_0x2c0991(0xd1),()=>this[_0x2c0991(0xd1)]()),this[_0x2c0991(0xc8)](_0x17697c,_0x2c0991(0xc3),()=>this[_0x2c0991(0xc3)]()),this[_0x2c0991(0xc8)](_0x17697c,_0x2c0991(0xce),()=>{const _0x35d9f0=_0x2c0991;_0x17697c[_0x35d9f0(0xcf)]?this[_0x35d9f0(0xca)]():this[_0x35d9f0(0xb5)]();});}[_0x3ea0f4(0xd1)](){const _0x15eb7b=_0x3ea0f4;this[_0x15eb7b(0xb4)][_0x15eb7b(0xc4)](this[_0x15eb7b(0xc2)]['id']);}[_0x3ea0f4(0xc3)](){const _0x90c345=_0x3ea0f4;this[_0x90c345(0xbb)][_0x90c345(0xc4)](this[_0x90c345(0xc2)]['id']);}[_0x3ea0f4(0xbd)](){const _0x26de57=_0x3ea0f4;this[_0x26de57(0xd0)][_0x26de57(0xc5)](_0x26de57(0xc0)),this[_0x26de57(0xd0)][_0x26de57(0xc5)](_0x26de57(0xc9)),this[_0x26de57(0xd0)][_0x26de57(0xc5)](_0x26de57(0xb7)),this[_0x26de57(0xba)](),this[_0x26de57(0xcd)][_0x26de57(0xbd)](),this[_0x26de57(0xbc)]&&this[_0x26de57(0xb5)]();}[_0x3ea0f4(0xca)](){const _0x286112=_0x3ea0f4,_0xaffdce=_0x571266(this[_0x286112(0xb6)][_0x286112(0xb9)],_0x286112(0xcb));this[_0x286112(0xbc)]=this[_0x286112(0xb6)][_0x286112(0xd9)][_0x286112(0xbf)](_0x286112(0xd3))[_0x286112(0xcc)](_0xaffdce);}[_0x3ea0f4(0xb5)](){const _0x4366f5=_0x3ea0f4;null!==this[_0x4366f5(0xbc)]&&this[_0x4366f5(0xb6)][_0x4366f5(0xd9)][_0x4366f5(0xbf)](_0x4366f5(0xd3))[_0x4366f5(0xb3)](this[_0x4366f5(0xbc)]),this[_0x4366f5(0xbc)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x45c2(){const _0x239533=['assign','disabledSubmit','16hvAAUv','canDiscard','commentThread','render','commentInputView','focusTracker','editor','value','content','canAccept','537YlVblS','cancel','showInput','descriptionParts','_config','authoredAt','526645VlDaNq','locale','574343dGNexd','shift+tab','setData','addComment','focusCycler','commentThreadInputView','text/html','fire','keystrokes','updateComment','12qQpHsd','_model','focusables','editorConfig','isActive','2209135LpviHE','set','ariaLabel','_createCommentViews','5720922XPVNSX','_localUser','405196gdlGnr','parseFromString','SUGGESTION_THREAD_DESCRIPTION','name','tab','3700hAaNKD','target','body','element','isReadOnly','hasDirtyComment','isEnabled','submit','destroy','textContent','formatDateTime','_createCommentThreadInputView','delegate','author','bind','SUGGESTION_THREAD_ARIA_LABEL','join','length','map','isDirty','commentsListView','CommentView','ariaDescriptionView','removeComment','focus','disableComments','25591660xuaXTd'];_0x45c2=function(){return _0x239533;};return _0x45c2();}const _0x40e4d0=_0x2fc5;function _0x2fc5(_0xab69dc,_0x1e2253){const _0x45c25b=_0x45c2();return _0x2fc5=function(_0x2fc58e,_0x6f596a){_0x2fc58e=_0x2fc58e-0x99;let _0x5c93f1=_0x45c25b[_0x2fc58e];return _0x5c93f1;},_0x2fc5(_0xab69dc,_0x1e2253);}(function(_0x5e7892,_0x40fbec){const _0x1d101e=_0x2fc5,_0x443676=_0x5e7892();while(!![]){try{const _0x5c04c7=-parseInt(_0x1d101e(0xba))/0x1+parseInt(_0x1d101e(0xd6))/0x2*(-parseInt(_0x1d101e(0xb4))/0x3)+parseInt(_0x1d101e(0xd1))/0x4+-parseInt(_0x1d101e(0xcb))/0x5*(parseInt(_0x1d101e(0xc6))/0x6)+parseInt(_0x1d101e(0xbc))/0x7*(parseInt(_0x1d101e(0xaa))/0x8)+-parseInt(_0x1d101e(0xcf))/0x9+parseInt(_0x1d101e(0xa7))/0xa;if(_0x5c04c7===_0x40fbec)break;else _0x443676['push'](_0x443676['shift']());}catch(_0x4d6f9f){_0x443676['push'](_0x443676['shift']());}}}(_0x45c2,0x6d3e0));import{FocusCycler as _0x9532c9,View as _0x109a90,ViewCollection as _0x541381}from'ckeditor5/src/ui.js';import{FocusTracker as _0xcfeef6,KeystrokeHandler as _0x500699}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x314f1c,setupThreadKeyboardNavigation as _0x214a40}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x52ef1a}from'../../utils/common-translations.js';import{renderDescription as _0x199d27}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x109a90{[_0x40e4d0(0xa1)];[_0x40e4d0(0xc1)];[_0x40e4d0(0xa3)];[_0x40e4d0(0xc8)];[_0x40e4d0(0xaf)];[_0x40e4d0(0xc4)];[_0x40e4d0(0xc0)];[_0x40e4d0(0xc7)];[_0x40e4d0(0xd0)];[_0x40e4d0(0xb8)];constructor(_0x518d60,_0x35a877,_0x168fa7,_0x474d6b){const _0x4e1c13=_0x40e4d0;super(_0x518d60),this[_0x4e1c13(0xa1)]=null,this[_0x4e1c13(0xc1)]=null,this[_0x4e1c13(0xa3)]=new _0x314f1c(_0x518d60,_0x52ef1a(_0x518d60,_0x4e1c13(0xd3))),this[_0x4e1c13(0xcc)](_0x4e1c13(0xca),!0x1),this[_0x4e1c13(0xcc)](_0x4e1c13(0xb9),_0x35a877[_0x4e1c13(0xb9)]),this[_0x4e1c13(0x9b)](_0x4e1c13(0xb9))['to'](_0x35a877),this[_0x4e1c13(0xcc)](_0x4e1c13(0xb7),[]),this[_0x4e1c13(0xcc)](_0x4e1c13(0xa0),!0x1),this[_0x4e1c13(0xcc)](_0x4e1c13(0xdc),!0x1),this[_0x4e1c13(0xcc)](_0x4e1c13(0xb3),!0x1),this[_0x4e1c13(0xcc)](_0x4e1c13(0xab),!0x1),this[_0x4e1c13(0x9b)](_0x4e1c13(0xcd))['to'](this,_0x4e1c13(0x9e),_0x35a877,_0x4e1c13(0xb9),this,_0x4e1c13(0xb7),(_0x238029,_0x135163,_0x23f1a3)=>{const _0x5006aa=_0x4e1c13,_0x4e50b2=_0x23f1a3[_0x5006aa(0x9f)](_0x6c64c4=>_0x199d27(_0x6c64c4[_0x5006aa(0xb2)]))[_0x5006aa(0x9d)]('.\x20')+'.';return _0x52ef1a(this[_0x5006aa(0xbb)],_0x5006aa(0x9c),[_0x238029-0x1,_0x35a877[_0x5006aa(0x9a)][_0x5006aa(0xd4)],_0x135163?_0x474d6b[_0x5006aa(0xe0)](_0x135163):'',new DOMParser()[_0x5006aa(0xd2)](_0x4e50b2,_0x5006aa(0xc2))[_0x5006aa(0xd8)][_0x5006aa(0xdf)]]);}),this[_0x4e1c13(0xc8)]=new _0x541381(),this[_0x4e1c13(0xaf)]=new _0xcfeef6(),this[_0x4e1c13(0xc4)]=new _0x500699(),this[_0x4e1c13(0xc0)]=new _0x9532c9({'focusables':this[_0x4e1c13(0xc8)],'focusTracker':this[_0x4e1c13(0xaf)],'keystrokeHandler':this[_0x4e1c13(0xc4)],'keystrokeHandlerOptions':{'filter':_0x3a5b84=>_0x3a5b84[_0x4e1c13(0xd7)]!==this[_0x4e1c13(0xd9)]},'actions':{'focusPrevious':_0x4e1c13(0xbd),'focusNext':_0x4e1c13(0xd5)}}),this[_0x4e1c13(0xc7)]=_0x35a877,this[_0x4e1c13(0xd0)]=_0x168fa7,this[_0x4e1c13(0xb8)]=_0x474d6b,_0x474d6b[_0x4e1c13(0xa6)]?this[_0x4e1c13(0xcc)](_0x4e1c13(0x9e),0x1):this[_0x4e1c13(0xce)]();}[_0x40e4d0(0xad)](){const _0x1ff55b=_0x40e4d0;super[_0x1ff55b(0xad)](),_0x214a40(this,this[_0x1ff55b(0xc8)]);}[_0x40e4d0(0xa5)](){const _0x38c018=_0x40e4d0;this[_0x38c018(0xd9)][_0x38c018(0xa5)]();}[_0x40e4d0(0xde)](){const _0x3a4242=_0x40e4d0;this[_0x3a4242(0xa1)]&&this[_0x3a4242(0xa1)][_0x3a4242(0xde)](),this[_0x3a4242(0xc1)]&&this[_0x3a4242(0xc1)][_0x3a4242(0xde)](),super[_0x3a4242(0xde)]();}[_0x40e4d0(0xce)](){const _0x2335c1=_0x40e4d0,{CommentsListView:_0x25dbce}=this[_0x2335c1(0xb8)];this[_0x2335c1(0xa1)]=new _0x25dbce(this[_0x2335c1(0xbb)],this[_0x2335c1(0xc7)][_0x2335c1(0xac)],Object[_0x2335c1(0xa8)]({'CommentView':this[_0x2335c1(0xb8)][_0x2335c1(0xa2)]},this[_0x2335c1(0xb8)])),this[_0x2335c1(0xa1)][_0x2335c1(0x99)](_0x2335c1(0xa4))['to'](this),this[_0x2335c1(0xa1)][_0x2335c1(0x99)](_0x2335c1(0xc5))['to'](this),this[_0x2335c1(0xa1)][_0x2335c1(0x9b)](_0x2335c1(0xca))['to'](this),this[_0x2335c1(0xcc)](_0x2335c1(0x9e),this[_0x2335c1(0xa1)][_0x2335c1(0x9e)]+0x1),this[_0x2335c1(0x9b)](_0x2335c1(0x9e))['to'](this[_0x2335c1(0xa1)],_0x2335c1(0x9e),_0x2beac2=>_0x2beac2+0x1),this[_0x2335c1(0xc1)]=this[_0x2335c1(0xe1)](),this['on'](_0x2335c1(0xa4),()=>this[_0x2335c1(0xa5)]()),this[_0x2335c1(0x9b)](_0x2335c1(0xa0))['to'](this[_0x2335c1(0xa1)],_0x2335c1(0xdb),this[_0x2335c1(0xc1)][_0x2335c1(0xae)],_0x2335c1(0xb1),(_0x1221e4,_0x4eca1a)=>_0x1221e4||!!_0x4eca1a);}[_0x40e4d0(0xe1)](){const _0x4ca3f3=_0x40e4d0,{CommentThreadInputView:_0x15f39d}=this[_0x4ca3f3(0xb8)],_0x58c611=new _0x15f39d(this[_0x4ca3f3(0xbb)],this[_0x4ca3f3(0xd0)],this[_0x4ca3f3(0xb8)][_0x4ca3f3(0xc9)]),_0x561222=_0x58c611[_0x4ca3f3(0xae)];return _0x58c611[_0x4ca3f3(0x9b)](_0x4ca3f3(0xb6))['to'](this,_0x4ca3f3(0xca),this[_0x4ca3f3(0xc7)][_0x4ca3f3(0xac)],_0x4ca3f3(0xda),_0x561222,_0x4ca3f3(0xb1),(_0x12ff9a,_0x45c498,_0x57f286)=>!!_0x57f286||_0x12ff9a&&!_0x45c498),_0x561222['on'](_0x4ca3f3(0xdd),(_0x552e1d,_0xbdbce4)=>{const _0x5d72a7=_0x4ca3f3;this[_0x5d72a7(0xc3)](_0x5d72a7(0xbf),_0xbdbce4),_0x561222[_0x5d72a7(0xb0)][_0x5d72a7(0xbe)]('');}),_0x561222['on'](_0x4ca3f3(0xb5),()=>this[_0x4ca3f3(0xa5)]()),_0x561222[_0x4ca3f3(0x9b)](_0x4ca3f3(0xa9))['to'](this[_0x4ca3f3(0xc7)][_0x4ca3f3(0xac)],_0x4ca3f3(0xda)),_0x58c611;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb9aee3=_0x12c5;(function(_0x4a15e4,_0x2ffda0){const _0x48ed0a=_0x12c5,_0xc50b69=_0x4a15e4();while(!![]){try{const _0x532d04=-parseInt(_0x48ed0a(0xf3))/0x1*(parseInt(_0x48ed0a(0xcc))/0x2)+-parseInt(_0x48ed0a(0xbe))/0x3*(-parseInt(_0x48ed0a(0xf2))/0x4)+parseInt(_0x48ed0a(0xd4))/0x5+-parseInt(_0x48ed0a(0xe1))/0x6+-parseInt(_0x48ed0a(0xd1))/0x7*(-parseInt(_0x48ed0a(0xd0))/0x8)+-parseInt(_0x48ed0a(0xde))/0x9*(-parseInt(_0x48ed0a(0xda))/0xa)+parseInt(_0x48ed0a(0xdd))/0xb*(parseInt(_0x48ed0a(0xf5))/0xc);if(_0x532d04===_0x2ffda0)break;else _0xc50b69['push'](_0xc50b69['shift']());}catch(_0x10d16a){_0xc50b69['push'](_0xc50b69['shift']());}}}(_0x59e9,0xe5bc8));import{BaseSuggestionThreadView as _0x16240e}from'./basesuggestionthreadview.js';function _0x12c5(_0x451231,_0x399ecf){const _0x59e9e8=_0x59e9();return _0x12c5=function(_0x12c5c7,_0x26bfae){_0x12c5c7=_0x12c5c7-0xbe;let _0x1f151c=_0x59e9e8[_0x12c5c7];return _0x1f151c;},_0x12c5(_0x451231,_0x399ecf);}import{trimHtml as _0x691daf}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5ba94c}from'../../utils/utils.js';export class SuggestionThreadView extends _0x16240e{[_0xb9aee3(0xf7)];[_0xb9aee3(0xf8)];constructor(_0x163cbf,_0x39aaf4,_0x887cb8,_0x211db3){const _0x1d7dde=_0xb9aee3;super(_0x163cbf,_0x39aaf4,_0x887cb8,_0x211db3),this[_0x1d7dde(0xe2)](_0x1d7dde(0xe5),''),this[_0x1d7dde(0xe3)](_0x1d7dde(0xe5))['to'](this,_0x1d7dde(0xdb),_0x2696bc=>_0x2696bc&&_0x2696bc[0x0]?_0x2696bc[0x0][_0x1d7dde(0xe5)]:''),this[_0x1d7dde(0xe3)](_0x1d7dde(0xc6))['to'](this,_0x1d7dde(0xdb),this,_0x1d7dde(0xe7),(_0x1af850,_0x148d9c)=>{const _0xfe3bf=_0x1d7dde;let _0xe4cc53='';for(const _0x246afa of _0x1af850)_0xe4cc53+=_0xfe3bf(0xf1)+_0x5ba94c(_0x246afa[_0xfe3bf(0xd7)],_0x246afa[_0xfe3bf(0xea)])+_0xfe3bf(0xdf);return _0x148d9c?_0xe4cc53:_0x691daf(_0xe4cc53,{'limit':0x8c});}),this[_0x1d7dde(0xf8)]=null,this[_0x1d7dde(0xf7)]=new _0x211db3[(_0x1d7dde(0xc7))](_0x163cbf,_0x39aaf4,{'formatDateTime':_0x211db3[_0x1d7dde(0xc9)]}),this[_0x1d7dde(0xf7)][_0x1d7dde(0xe3)](_0x1d7dde(0xc6))['to'](this),this[_0x1d7dde(0xf7)][_0x1d7dde(0xe8)](_0x1d7dde(0xed),_0x1d7dde(0xc3))['to'](this),this[_0x1d7dde(0xf7)][_0x1d7dde(0xca)][_0x1d7dde(0xe3)](_0x1d7dde(0xf4))['to'](this,_0x1d7dde(0xc4)),this[_0x1d7dde(0xf7)][_0x1d7dde(0xcf)][_0x1d7dde(0xe3)](_0x1d7dde(0xf4))['to'](this,_0x1d7dde(0xc1)),this[_0x1d7dde(0xec)][_0x1d7dde(0xc5)](this[_0x1d7dde(0xf7)]),this[_0x1d7dde(0xe0)]&&this[_0x1d7dde(0xec)][_0x1d7dde(0xc5)](this[_0x1d7dde(0xe0)]),this[_0x1d7dde(0xc0)]&&this[_0x1d7dde(0xec)][_0x1d7dde(0xc5)](this[_0x1d7dde(0xc0)]),this[_0x1d7dde(0xc8)](this[_0x1d7dde(0xd6)]());}[_0xb9aee3(0xd6)](){const _0x2d651b=_0xb9aee3,_0x383eda=this[_0x2d651b(0xbf)],_0x5d581f=[this[_0x2d651b(0xf7)]];return this[_0x2d651b(0xe0)]&&_0x5d581f[_0x2d651b(0xcd)](this[_0x2d651b(0xe0)]),this[_0x2d651b(0xc0)]&&_0x5d581f[_0x2d651b(0xcd)](this[_0x2d651b(0xc0)]),_0x5d581f[_0x2d651b(0xcd)](this[_0x2d651b(0xf6)]),{'tag':_0x2d651b(0xef),'attributes':{'class':['ck',_0x2d651b(0xd3),_0x2d651b(0xe9),_0x383eda['if'](_0x2d651b(0xe7),_0x2d651b(0xce)),_0x383eda['to'](_0x2d651b(0xe5),_0xa11b73=>_0x2d651b(0xe4)+_0xa11b73),this[_0x2d651b(0xee)][_0x2d651b(0xf0)]&&_0x2d651b(0xd2)],'data-suggestion-id':this[_0x2d651b(0xe6)]['id'],'data-thread-id':this[_0x2d651b(0xe6)][_0x2d651b(0xc2)]['id'],'data-author-id':this[_0x2d651b(0xe6)][_0x2d651b(0xd9)]['id'],'tabindex':0x0,'role':_0x2d651b(0xd5),'aria-label':_0x383eda['to'](_0x2d651b(0xd8)),'aria-describedby':this[_0x2d651b(0xf6)]['id']},'children':_0x5d581f};}[_0xb9aee3(0xdc)](){const _0x3a020f=_0xb9aee3;super[_0x3a020f(0xdc)](),this[_0x3a020f(0xe0)]&&(this[_0x3a020f(0xe0)][_0x3a020f(0xe8)](_0x3a020f(0xeb))['to'](this),this[_0x3a020f(0xe0)][_0x3a020f(0xe8)](_0x3a020f(0xcb))['to'](this)),this[_0x3a020f(0xc0)]&&(this[_0x3a020f(0xc0)][_0x3a020f(0xe8)](_0x3a020f(0xeb))['to'](this),this[_0x3a020f(0xc0)][_0x3a020f(0xe8)](_0x3a020f(0xcb))['to'](this));}}function _0x59e9(){const _0x113b49=['ck-suggestion-wrapper--active','discardButton','8DMajFU','8119972NfefGx','ck-suggestion--disabled-comments','ck-rounded-corners','2159205jPoAQV','listitem','getTemplate','content','ariaLabel','author','20zrjKcU','descriptionParts','render','95623AQfKRC','4233510hARqSA','</p>','commentsListView','5142210DXkOvx','set','bind','ck-suggestion-','type','_model','isActive','delegate','ck-suggestion-wrapper','color','editorReady','focusables','acceptSuggestion','_config','div','disableComments','<p>','4wlEQlN','1218jdeUtm','isEnabled','744aNargS','ariaDescriptionView','suggestionView','_descriptionElement','1773630izUynO','bindTemplate','commentThreadInputView','canDiscard','commentThread','discardSuggestion','canAccept','add','description','SuggestionView','setTemplate','formatDateTime','acceptButton','editorDestroyed','3062CYTvcU','push'];_0x59e9=function(){return _0x113b49;};return _0x59e9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b9d7f=_0x3b0d;(function(_0x5a8cf0,_0x6976f8){const _0x32430d=_0x3b0d,_0x593482=_0x5a8cf0();while(!![]){try{const _0x3594ad=-parseInt(_0x32430d(0x1a3))/0x1+parseInt(_0x32430d(0x1a5))/0x2*(-parseInt(_0x32430d(0x1b2))/0x3)+-parseInt(_0x32430d(0x1e4))/0x4*(parseInt(_0x32430d(0x1c4))/0x5)+-parseInt(_0x32430d(0x1b0))/0x6*(parseInt(_0x32430d(0x1de))/0x7)+-parseInt(_0x32430d(0x1dd))/0x8+parseInt(_0x32430d(0x19d))/0x9*(parseInt(_0x32430d(0x1ed))/0xa)+-parseInt(_0x32430d(0x1d7))/0xb*(-parseInt(_0x32430d(0x19a))/0xc);if(_0x3594ad===_0x6976f8)break;else _0x593482['push'](_0x593482['shift']());}catch(_0x331c28){_0x593482['push'](_0x593482['shift']());}}}(_0x27d1,0x24140));function _0x27d1(){const _0x57ae0c=['578912ZgmDiD','7hUBogv','_createButton','ck-suggestion__info-name','focusCycler','EXTERNAL_IMPORT_WORD_AVATAR','element','1008284deaTVk','ck-comment__info-time','ck-annotation','acceptSuggestion','keystrokes','presentation','ck-annotation__info','formatDateTime','_config','20JqmJOK','discardSuggestion','.ck-annotation__content-wrapper','focusTracker','isExternal','ck-suggestion__user','set','fire','7654800Xfzubw','creator','execute','1008702Igirlt','acceptButton','innerHTML','getExternalSuggestionNote','setTemplate','extendTemplate','167891DNZwKZ','Accept\x20suggestion','1390YHqOee','time','@external','target','div','source','discardButton','importWord','ck-suggestion__main','querySelector','change:description','1231644ulIvLd','description','72wQzOUw','span','bindTemplate','_setupKeyboardNavigation','Discard\x20suggestion','EXTERNAL_SUGGESTION','listenTo','render','shift+tab','ck-annotation__info-name','ck-annotation__info-time','ck-annotation__main','ck-annotation__content-wrapper','ck-comment__external','bind','ck-suggestion__actions','focusFirst','authoredAt','5pdQKCy','focusables','getUserViewNotificationText','name','esc','tab','enter','EXTERNAL_AVATAR','ck-suggestion--discard','userView','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__user','add','ck-annotation__actions','ck-suggestion--accept','locale','author','_model','getTemplate','11jjKaHH','ck-suggestion__info','focus','attributes','push','ck-suggestion'];_0x27d1=function(){return _0x57ae0c;};return _0x27d1();}function _0x3b0d(_0x5ee4dd,_0x3c31aa){const _0x27d14a=_0x27d1();return _0x3b0d=function(_0x3b0dfa,_0x5c0f21){_0x3b0dfa=_0x3b0dfa-0x198;let _0x57707d=_0x27d14a[_0x3b0dfa];return _0x57707d;},_0x3b0d(_0x5ee4dd,_0x3c31aa);}import{FocusTracker as _0x94f60e,KeystrokeHandler as _0x5415d1}from'ckeditor5/src/utils.js';import{View as _0x3761ac,ViewCollection as _0x237b09,FocusCycler as _0x27f5fd}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x29ddf0,UserView as _0x90645d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0xa3804e,IconCheck as _0x4234e6}from'ckeditor5/src/icons.js';import{getTranslation as _0x3c3146}from'../../utils/common-translations.js';export class SuggestionView extends _0x3761ac{[_0x4b9d7f(0x1cd)];[_0x4b9d7f(0x19e)];[_0x4b9d7f(0x1ab)];[_0x4b9d7f(0x1c5)];[_0x4b9d7f(0x1f0)];[_0x4b9d7f(0x1e8)];[_0x4b9d7f(0x1e1)];[_0x4b9d7f(0x1d5)];[_0x4b9d7f(0x1ec)];constructor(_0x4119ee,_0x27a88c,_0x392cbb){const _0x1a2108=_0x4b9d7f;super(_0x4119ee),this[_0x1a2108(0x1d5)]=_0x27a88c,this[_0x1a2108(0x1ec)]=_0x392cbb,this[_0x1a2108(0x198)](_0x1a2108(0x1b1),''),this[_0x1a2108(0x1c0)](_0x1a2108(0x1c3))['to'](_0x27a88c),this[_0x1a2108(0x19e)]=this[_0x1a2108(0x1df)](_0x3c3146(_0x4119ee,_0x1a2108(0x1a4)),_0x4234e6,_0x1a2108(0x1d2),_0x1a2108(0x1e7),'sw'),this[_0x1a2108(0x1ab)]=this[_0x1a2108(0x1df)](_0x3c3146(_0x4119ee,_0x1a2108(0x1b6)),_0xa3804e,_0x1a2108(0x1cc),_0x1a2108(0x1ee),'sw'),this[_0x1a2108(0x1cd)]=new _0x90645d(_0x4119ee,_0x27a88c[_0x1a2108(0x1d4)],this[_0x1a2108(0x1c6)]()),this[_0x1a2108(0x1cd)][_0x1a2108(0x1a2)]({'attributes':{'class':[_0x1a2108(0x1f2),_0x1a2108(0x1cf)],'aria-hidden':!0x0}}),this[_0x1a2108(0x1c5)]=new _0x237b09([this[_0x1a2108(0x19e)],this[_0x1a2108(0x1ab)]]),this[_0x1a2108(0x1f0)]=new _0x94f60e(),this[_0x1a2108(0x1e8)]=new _0x5415d1(),this[_0x1a2108(0x1e1)]=new _0x27f5fd({'focusables':this[_0x1a2108(0x1c5)],'focusTracker':this[_0x1a2108(0x1f0)],'keystrokeHandler':this[_0x1a2108(0x1e8)],'actions':{'focusPrevious':_0x1a2108(0x1ba),'focusNext':_0x1a2108(0x1c9)},'keystrokeHandlerOptions':{'filter':_0x1c31a2=>_0x1c31a2[_0x1a2108(0x1a8)]!==this[_0x1a2108(0x1e3)]}}),this[_0x1a2108(0x1a1)](this[_0x1a2108(0x1d6)]());}[_0x4b9d7f(0x1b9)](){const _0x2596ef=_0x4b9d7f;super[_0x2596ef(0x1b9)]();const _0x6282e8=this[_0x2596ef(0x1e3)][_0x2596ef(0x1ae)](_0x2596ef(0x1ef));_0x6282e8[_0x2596ef(0x19f)]=this[_0x2596ef(0x1b1)],this['on'](_0x2596ef(0x1af),(_0x3d0be6,_0x5b6fa4,_0x9739d4)=>{const _0x3efe0a=_0x2596ef;_0x6282e8[_0x3efe0a(0x19f)]=_0x9739d4;}),this[_0x2596ef(0x1b5)]();}[_0x4b9d7f(0x1d6)](){const _0x11e7c1=_0x4b9d7f,_0x4e9eb7=this[_0x11e7c1(0x1b4)],_0x14ebbf=[{'tag':_0x11e7c1(0x1a9),'attributes':{'class':[_0x11e7c1(0x1d8),_0x11e7c1(0x1ea)]},'children':[{'tag':_0x11e7c1(0x1b3),'children':[{'text':this[_0x11e7c1(0x1cd)][_0x11e7c1(0x1c7)]}],'attributes':{'class':[_0x11e7c1(0x1e0),_0x11e7c1(0x1bb)],'data-cke-tooltip-text':this[_0x11e7c1(0x1cd)][_0x11e7c1(0x1c7)]}},{'tag':_0x11e7c1(0x1a6),'attributes':{'datetime':_0x4e9eb7['to'](_0x11e7c1(0x1c3)),'class':[_0x11e7c1(0x1e5),_0x11e7c1(0x1bc)]},'children':[{'text':_0x4e9eb7['to'](_0x11e7c1(0x1c3),_0x3dcf91=>this[_0x11e7c1(0x1ec)][_0x11e7c1(0x1eb)](_0x3dcf91))}]}]},{'tag':_0x11e7c1(0x1a9),'attributes':{'class':[_0x11e7c1(0x1c1),_0x11e7c1(0x1d1)]},'children':[this[_0x11e7c1(0x19e)],this[_0x11e7c1(0x1ab)]]},{'tag':_0x11e7c1(0x1a9),'attributes':{'class':[_0x11e7c1(0x1be)]}}];return this[_0x11e7c1(0x1d5)][_0x11e7c1(0x1f1)]&&_0x14ebbf[_0x11e7c1(0x1db)]({'tag':_0x11e7c1(0x1a9),'attributes':{'class':[_0x11e7c1(0x1bf)]},'children':[{'text':this[_0x11e7c1(0x1a0)]()}]}),{'tag':_0x11e7c1(0x1a9),'attributes':{'class':[_0x11e7c1(0x1dc),_0x11e7c1(0x1e6)],'tabindex':-0x1},'children':[this[_0x11e7c1(0x1cd)],{'tag':_0x11e7c1(0x1a9),'attributes':{'class':[_0x11e7c1(0x1ad),_0x11e7c1(0x1bd)],'role':_0x11e7c1(0x1e9)},'children':_0x14ebbf}]};}[_0x4b9d7f(0x1d9)](){const _0x264aea=_0x4b9d7f;this[_0x264aea(0x1e3)][_0x264aea(0x1d9)]();}[_0x4b9d7f(0x1c6)](){const _0x34e7b5=_0x4b9d7f;return this[_0x34e7b5(0x1d5)][_0x34e7b5(0x1f1)]?_0x34e7b5(0x1ac)===this[_0x34e7b5(0x1d5)][_0x34e7b5(0x1da)][_0x34e7b5(0x1a7)][_0x34e7b5(0x1aa)]?_0x3c3146(this[_0x34e7b5(0x1d3)],_0x34e7b5(0x1e2),this[_0x34e7b5(0x1d5)][_0x34e7b5(0x19b)][_0x34e7b5(0x1c7)]):_0x3c3146(this[_0x34e7b5(0x1d3)],_0x34e7b5(0x1cb),this[_0x34e7b5(0x1d5)][_0x34e7b5(0x19b)][_0x34e7b5(0x1c7)]):null;}[_0x4b9d7f(0x1a0)](){const _0x224a26=_0x4b9d7f;return _0x224a26(0x1ac)===this[_0x224a26(0x1d5)][_0x224a26(0x1da)][_0x224a26(0x1a7)][_0x224a26(0x1aa)]?_0x3c3146(this[_0x224a26(0x1d3)],_0x224a26(0x1ce)):_0x3c3146(this[_0x224a26(0x1d3)],_0x224a26(0x1b7));}[_0x4b9d7f(0x1df)](_0x416020,_0x43d9e3,_0x1a0771,_0x53a25a,_0x380068){const _0x57e2dc=_0x4b9d7f,_0x576449=new _0x29ddf0(this[_0x57e2dc(0x1d3)]);return _0x576449[_0x57e2dc(0x198)]({'label':_0x416020,'icon':_0x43d9e3,'tooltip':!0x0,'tooltipPosition':_0x380068}),_0x576449[_0x57e2dc(0x1a2)]({'attributes':{'class':_0x1a0771}}),_0x576449['on'](_0x57e2dc(0x19c),()=>{const _0xca4459=_0x57e2dc;this[_0xca4459(0x199)](_0x53a25a,this[_0xca4459(0x1d5)]['id']);}),_0x576449;}[_0x4b9d7f(0x1b5)](){const _0x2590fc=_0x4b9d7f,_0x3ec74e=this[_0x2590fc(0x1e3)];this[_0x2590fc(0x1e8)][_0x2590fc(0x1b8)](_0x3ec74e);for(const _0x21c417 of this[_0x2590fc(0x1c5)])this[_0x2590fc(0x1f0)][_0x2590fc(0x1d0)](_0x21c417[_0x2590fc(0x1e3)]),this[_0x2590fc(0x1e8)][_0x2590fc(0x1b8)](_0x21c417[_0x2590fc(0x1e3)]);this[_0x2590fc(0x1e8)][_0x2590fc(0x198)](_0x2590fc(0x1ca),(_0x3ce717,_0x205968)=>{const _0x2c1464=_0x2590fc;_0x3ec74e===_0x3ce717[_0x2c1464(0x1a8)]&&(this[_0x2c1464(0x1e1)][_0x2c1464(0x1c2)](),_0x205968());}),this[_0x2590fc(0x1e8)][_0x2590fc(0x198)](_0x2590fc(0x1c8),(_0x3c419b,_0x26c83b)=>{const _0x308ecf=_0x2590fc;_0x3ec74e!==_0x3c419b[_0x308ecf(0x1a8)]&&(this[_0x308ecf(0x1d9)](),_0x26c83b());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2deff2=_0x3d14;(function(_0xd5158a,_0x4e78ac){const _0x189517=_0x3d14,_0x1d07f6=_0xd5158a();while(!![]){try{const _0x23ac17=-parseInt(_0x189517(0xae))/0x1+parseInt(_0x189517(0xc6))/0x2*(parseInt(_0x189517(0xb9))/0x3)+-parseInt(_0x189517(0xb1))/0x4+-parseInt(_0x189517(0xbb))/0x5+parseInt(_0x189517(0xb5))/0x6*(-parseInt(_0x189517(0xbd))/0x7)+-parseInt(_0x189517(0xc0))/0x8+parseInt(_0x189517(0xb3))/0x9;if(_0x23ac17===_0x4e78ac)break;else _0x1d07f6['push'](_0x1d07f6['shift']());}catch(_0x3d0c69){_0x1d07f6['push'](_0x1d07f6['shift']());}}}(_0x582b,0x1b790));import{View as _0xe88f0f}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0xe88f0f{[_0x2deff2(0xb8)];constructor(_0x1eeb6b,_0x39f880){const _0x5932e8=_0x2deff2;super(_0x1eeb6b),this[_0x5932e8(0xb8)]=_0x39f880,this[_0x5932e8(0xa9)]({'tag':_0x5932e8(0xaf),'attributes':{'class':['ck',_0x5932e8(0xa8),_0x5932e8(0xc1)],'tabindex':-0x1}});}[_0x2deff2(0xb6)](){const _0x1e90d1=_0x2deff2;super[_0x1e90d1(0xb6)](),this[_0x1e90d1(0xb4)][_0x1e90d1(0xbe)][_0x1e90d1(0xb7)]=this[_0x1e90d1(0xb8)][_0x1e90d1(0xbc)][_0x1e90d1(0xb7)]+'px',this[_0x1e90d1(0xb4)][_0x1e90d1(0xbe)][_0x1e90d1(0xc7)]=this[_0x1e90d1(0xb8)][_0x1e90d1(0xbc)][_0x1e90d1(0xc7)]+'px';}[_0x2deff2(0xc4)](_0x2bf8f8,_0x52e85e){const _0x207e8e=_0x2deff2;if(!this[_0x207e8e(0xb4)])return;const _0x21c50c=[];for(const [_0x14242f,_0x17e283]of _0x2bf8f8){const _0x2dcb28=document[_0x207e8e(0xb0)](_0x207e8e(0xaf));_0x2dcb28[_0x207e8e(0xac)](_0x207e8e(0xba),_0x14242f),_0x2dcb28[_0x207e8e(0xaa)]=_0x17e283[_0x207e8e(0xc2)]+_0x207e8e(0xc3),_0x2dcb28[_0x207e8e(0xc5)]=_0x17e283[_0x207e8e(0xbf)],_0x21c50c[_0x207e8e(0xab)](_0x2dcb28);}_0x52e85e(this[_0x207e8e(0xb4)],_0x21c50c),this[_0x207e8e(0xb4)][_0x207e8e(0xbe)][_0x207e8e(0xc7)]='',this[_0x207e8e(0xc8)](_0x207e8e(0xad));}[_0x2deff2(0xb2)](){const _0x2dd400=_0x2deff2;this[_0x2dd400(0xb4)][_0x2dd400(0xb2)]();}}function _0x3d14(_0x2c3dc9,_0x20f465){const _0x582bda=_0x582b();return _0x3d14=function(_0x3d1479,_0x1d373b){_0x3d1479=_0x3d1479-0xa8;let _0x53aff4=_0x582bda[_0x3d1479];return _0x53aff4;},_0x3d14(_0x2c3dc9,_0x20f465);}function _0x582b(){const _0x56a462=['7579UFcOaj','div','createElement','799416VrIxmm','focus','3545064izkDWr','element','18hbEYXw','render','width','options','648411tklLKf','data-ck-root-name','218290UKWAgU','dialogRects','384587uBoGsi','style','content','652728xjonFq','ck-track-changes-preview','classes','\x20ck-track-changes-preview__root-container','setPreviewData','innerHTML','2pczTRD','height','fire','ck-reset','setTemplate','className','push','setAttribute','previewDataReady'];_0x582b=function(){return _0x56a462;};return _0x582b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3cdc9b,_0x177cd9,_0x3a99cb){const _0x417de7=_0x3cdc9b['t'],t=_0x3cdc9b['t'];switch(_0x177cd9){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',_0x3a99cb);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3a99cb);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3a99cb);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3a99cb);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3a99cb);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',_0x3a99cb);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3a99cb);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',_0x3a99cb);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3a99cb);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3a99cb);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3a99cb);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3a99cb);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3a99cb);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3a99cb);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3a99cb);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3a99cb);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3a99cb);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3a99cb);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3a99cb);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3a99cb);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3a99cb);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3a99cb);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3a99cb);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3a99cb);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3a99cb);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3a99cb);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3a99cb);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3a99cb);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3a99cb);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3a99cb);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3a99cb);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3a99cb);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3a99cb);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3a99cb);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3a99cb);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3a99cb);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'},_0x3a99cb);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3a99cb);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3a99cb);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3a99cb);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3a99cb);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3a99cb);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3a99cb);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 _0x417de7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3a99cb);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x417de7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3a99cb);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3a99cb);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'},_0x3a99cb);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'},_0x3a99cb);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'},_0x3a99cb);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x177cd9;}}
|
|
23
|
+
export function getTranslation(_0x469e3f,_0x5b331d,_0x24547b){const _0xb40148=_0x469e3f['t'],t=_0x469e3f['t'];switch(_0x5b331d){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',_0x24547b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x24547b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x24547b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x24547b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x24547b);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',_0x24547b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x24547b);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',_0x24547b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x24547b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x24547b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x24547b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x24547b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x24547b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x24547b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x24547b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x24547b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x24547b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x24547b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x24547b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x24547b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x24547b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x24547b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x24547b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x24547b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x24547b);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'},_0x24547b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x24547b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x24547b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x24547b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x24547b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x24547b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x24547b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x24547b);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'},_0x24547b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x24547b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x24547b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x24547b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x24547b);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x24547b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x24547b);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'},_0x24547b);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x24547b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x24547b);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'},_0x24547b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x24547b);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'},_0x24547b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x24547b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x24547b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x24547b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x24547b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x24547b);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'},_0x24547b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x24547b);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 _0xb40148({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x24547b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xb40148({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x24547b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x24547b);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'},_0x24547b);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'},_0x24547b);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'},_0x24547b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5b331d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x27d1(_0x52f5f8,_0x198c83){const _0x5efdca=_0x5efd();return _0x27d1=function(_0x27d1d3,_0x27d252){_0x27d1d3=_0x27d1d3-0x92;let _0x1be924=_0x5efdca[_0x27d1d3];return _0x1be924;},_0x27d1(_0x52f5f8,_0x198c83);}(function(_0xd8b6c8,_0x489ed3){const _0xf440b3=_0x27d1,_0x16d988=_0xd8b6c8();while(!![]){try{const _0xaec6ef=-parseInt(_0xf440b3(0xb7))/0x1*(-parseInt(_0xf440b3(0xad))/0x2)+-parseInt(_0xf440b3(0x97))/0x3*(parseInt(_0xf440b3(0xb2))/0x4)+parseInt(_0xf440b3(0x9a))/0x5+parseInt(_0xf440b3(0xab))/0x6+parseInt(_0xf440b3(0xba))/0x7*(parseInt(_0xf440b3(0x93))/0x8)+-parseInt(_0xf440b3(0x9c))/0x9*(-parseInt(_0xf440b3(0x94))/0xa)+-parseInt(_0xf440b3(0xbf))/0xb;if(_0xaec6ef===_0x489ed3)break;else _0x16d988['push'](_0x16d988['shift']());}catch(_0x2f5eae){_0x16d988['push'](_0x16d988['shift']());}}}(_0x5efd,0x59425));export function normalizeDescription(_0x366792){const _0x2a9d37=_0x27d1;return Array[_0x2a9d37(0xa6)](_0x366792)||(_0x366792=[_0x366792]),_0x366792[_0x2a9d37(0xc6)](_0x3ece19=>{const _0x35df95=_0x2a9d37,_0x383fb6=_0x3ece19[_0x35df95(0xa5)][_0x35df95(0xa9)](/\*/g,''),_0x38fe27=_0x3ece19[_0x35df95(0xa4)]?_0x35df95(0xae)+_0x3ece19[_0x35df95(0xa4)][_0x35df95(0x9d)]+']':'';return'['+_0x3ece19[_0x35df95(0xb3)]+']\x20'+_0x383fb6+_0x38fe27;})[_0x2a9d37(0x95)](';\x20');}export function renderDescription(_0x895806,_0x39fd8e){const _0x53a37c=_0x27d1;let _0x1add2d='';return _0x1add2d+=_0x895806[_0x53a37c(0xc5)]('*')[_0x53a37c(0xc6)]((_0x2de572,_0x138c0e)=>_0x138c0e%0x2!=0x0?_0x53a37c(0x99)+rn(_0x2de572)+_0x53a37c(0xb0):rn(_0x2de572))[_0x53a37c(0x95)](''),_0x39fd8e&&(_0x1add2d+=_0x53a37c(0xc7)+_0x39fd8e[_0x53a37c(0x9d)]+_0x53a37c(0xb8)+_0x39fd8e[_0x53a37c(0xc9)]+_0x53a37c(0x98)),_0x1add2d;}function rn(_0x30f9ea){const _0x365ae4=_0x27d1,_0x4e9fc5=document[_0x365ae4(0xc2)](_0x365ae4(0xbe));return _0x4e9fc5[_0x365ae4(0xa7)]=_0x30f9ea,_0x4e9fc5[_0x365ae4(0xa8)];}export function sortSuggestions(_0x4fac24){const _0x3db607=_0x27d1;return _0x4fac24[_0x3db607(0xa0)]((_0x114403,_0x49d67c)=>_0x3db607(0xbb)===_0x114403[_0x3db607(0xb3)]&&_0x3db607(0xbb)!==_0x49d67c[_0x3db607(0xb3)]?-0x1:_0x3db607(0xbb)!==_0x114403[_0x3db607(0xb3)]&&_0x3db607(0xbb)===_0x49d67c[_0x3db607(0xb3)]?0x1:_0x3db607(0xaa)==_0x114403[_0x3db607(0xb3)]&&_0x3db607(0xaa)!=_0x49d67c[_0x3db607(0xb3)]?-0x1:_0x3db607(0xaa)!=_0x114403[_0x3db607(0xb3)]&&_0x3db607(0xaa)==_0x49d67c[_0x3db607(0xb3)]?0x1:0x0);}export function getSelectedSuggestions(_0xac219c,_0x5debe0){const _0x1fe98f=_0x27d1,_0x1a5663=Array[_0x1fe98f(0xb1)](_0xac219c[_0x1fe98f(0x92)]()),_0x5cee20=new Set();for(const _0x27f955 of _0x5debe0)if(_0x27f955[_0x1fe98f(0xc3)]){for(const _0x2c7b68 of _0x1a5663)for(const _0xf16be of _0x27f955[_0x1fe98f(0x92)]())(_0x2c7b68[_0x1fe98f(0x9b)](_0xf16be)||_0xac219c[_0x1fe98f(0xb6)]&&!_0x27f955[_0x1fe98f(0xa2)]&&_0x27f955[_0x1fe98f(0xa3)]&&_0xf16be[_0x1fe98f(0x9e)][_0x1fe98f(0x9f)](_0x2c7b68[_0x1fe98f(0xbc)]))&&_0x5cee20[_0x1fe98f(0x96)](_0x27f955);}return _0x5cee20;}export function getRangesOfBlockGroups(_0xe5a83,_0x38edb7){const _0x2313cb=_0x27d1;let _0x6847,_0x38477e=0x0;const _0x1a2586=[],_0x3b1504=_0x38edb7[_0x2313cb(0xc8)];for(;_0x38477e<_0xe5a83[_0x2313cb(0xb4)];){const _0x37bc72=_0xe5a83[_0x38477e],_0x14b16c=_0xe5a83[_0x38477e+0x1];_0x6847||(_0x6847=_0x38edb7[_0x2313cb(0xaf)](_0x37bc72)),cn(_0x38edb7,_0x37bc72,_0x14b16c)||(_0x1a2586[_0x2313cb(0xc4)](_0x38edb7[_0x2313cb(0xb9)](_0x6847,_0x3b1504[_0x2313cb(0xac)](_0x37bc72)?_0x38edb7[_0x2313cb(0xbd)](_0x37bc72):_0x38edb7[_0x2313cb(0xb5)](_0x37bc72,_0x2313cb(0x9e)))),_0x6847=null),_0x38477e++;}return _0x1a2586;}function _0x5efd(){const _0x3b7e40=['isArray','innerText','innerHTML','replace','deletion','686622hCxEed','isObject','25030vyfyFO','\x20[color\x20','createPositionBefore','</span>','from','428Ebnstd','type','length','createPositionAt','isCollapsed','29vKYjex','\x22\x20title=\x22','createRange','721238rovyWR','attribute','start','createPositionAfter','span','12485033qYrvUv','change','splice','createElement','isInContent','push','split','map','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','schema','title','getRanges','24ZNSVdc','10pkNqIM','join','add','5784tPVcTW','\x22></span>','<span\x20class=\x22ck-suggestion-type\x22>','1502545NasdKG','isIntersecting','5579289styexu','value','end','isTouching','sort','execute','isMultiRange','next','color','content'];_0x5efd=function(){return _0x3b7e40;};return _0x5efd();}function cn(_0x5268f5,_0x184f8e,_0x259a10){const _0x2157e6=_0x27d1;if(!_0x259a10)return!0x1;const _0x52bd9a=_0x5268f5[_0x2157e6(0xbd)](_0x184f8e),_0x24d39=_0x5268f5[_0x2157e6(0xaf)](_0x259a10);return _0x52bd9a[_0x2157e6(0x9f)](_0x24d39);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x33bc01,_0x4b84ab,_0x6fd511){const _0xe8ec1e=_0x27d1;for(;_0x6fd511[_0xe8ec1e(0xb4)];){const _0x149ff0=_0x6fd511[_0xe8ec1e(0xc1)](0x0,0x64);_0x33bc01[_0xe8ec1e(0xc0)](()=>{const _0x4a8c05=_0xe8ec1e;for(const _0x2cdfc7 of _0x149ff0)_0x2cdfc7[_0x4a8c05(0xc3)]&&_0x4b84ab[_0x4a8c05(0xa1)](_0x2cdfc7['id']);});}}
|