@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20251023.0 → 0.0.0-nightly-20251025.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fd937=_0x130d;(function(_0xadd737,_0x177a02){const _0x347a8c=_0x130d,_0x55655e=_0xadd737();while(!![]){try{const _0x500a52=-parseInt(_0x347a8c(0xb9))/0x1*(-parseInt(_0x347a8c(0xbc))/0x2)+parseInt(_0x347a8c(0xd1))/0x3+parseInt(_0x347a8c(0xc7))/0x4*(-parseInt(_0x347a8c(0xba))/0x5)+parseInt(_0x347a8c(0xc6))/0x6*(parseInt(_0x347a8c(0xc1))/0x7)+-parseInt(_0x347a8c(0xcd))/0x8+-parseInt(_0x347a8c(0xcc))/0x9*(-parseInt(_0x347a8c(0xc9))/0xa)+parseInt(_0x347a8c(0xbf))/0xb*(parseInt(_0x347a8c(0xbd))/0xc);if(_0x500a52===_0x177a02)break;else _0x55655e['push'](_0x55655e['shift']());}catch(_0x58d809){_0x55655e['push'](_0x55655e['shift']());}}}(_0x134d,0x83d6c));function _0x134d(){const _0x47d545=['pluginName','isPremiumPlugin','define','3128733gjXpBs','1934tIHAXT','5UwuuJq','commands','284bMfWJz','1072944qIvaYx','add','11zrZsjO','trackChanges.preview.renderFunction','24955HflRyp','editor','isOfficialPlugin','requires','TrackChangesPreview','30nJfvog','1670084vTcJav','appendChild','20Gjqdnu','config','previewFinalContent','1542564AaIyQR','6480280JSrmaY'];_0x134d=function(){return _0x47d545;};return _0x134d();}import{Plugin as _0x59e528}from'ckeditor5/src/core.js';function _0x130d(_0x80ec30,_0x494cc5){const _0x134d9e=_0x134d();return _0x130d=function(_0x130d9d,_0x7073f6){_0x130d9d=_0x130d9d-0xb9;let _0x303133=_0x134d9e[_0x130d9d];return _0x303133;},_0x130d(_0x80ec30,_0x494cc5);}import{Dialog as _0x4e0432}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x580b19}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x21adad}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x59e528{static get[_0x1fd937(0xc4)](){return[_0x580b19,_0x4e0432];}static get[_0x1fd937(0xce)](){const _0x1286cb=_0x1fd937;return _0x1286cb(0xc5);}static get[_0x1fd937(0xc3)](){return!0x0;}static get[_0x1fd937(0xcf)](){return!0x0;}constructor(_0x172bad){const _0x325da4=_0x1fd937;super(_0x172bad),_0x172bad[_0x325da4(0xbb)][_0x325da4(0xbe)](_0x325da4(0xcb),new _0x21adad(this[_0x325da4(0xc2)])),_0x172bad[_0x325da4(0xca)][_0x325da4(0xd0)](_0x325da4(0xc0),(_0x4c368e,_0x3ffbfc)=>{const _0x12cf19=_0x325da4;for(const _0x45b2ce of _0x3ffbfc)_0x4c368e[_0x12cf19(0xc8)](_0x45b2ce);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2619(){const _0x49f873=['getJoined','1482777UjTatj','size','length','acceptSelectedSuggestions','trackChangesLicenseKeyValid','trackChangesLicenseKeyUsageLimit','innerView','registerAnnotation','usageLimit','TrackChangesPreview','_handleControllerBuffer','evaluationLimit','EditorAnnotations','previous','set','Preview\x20final\x20content','expired','trackChangesLicenseKeyDomainLimit','_annotationViews','domainLimit','trackChangesLicenseKeyTrialLimit','escape','4rVMFko','trackChanges.SuggestionThreadView','values','TrackChangesUI','trackChangesLicenseKeyExpired','_createToolbarButton','6MvAjLC','discardSelectedSuggestions','filter','menuBar:trackChanges','refreshSelectedViews','isOfficialPlugin','reduce','getDescriptions','define','trackChangesLicenseKeyEvaluationLimit','Discard\x20all\x20suggestions','listenTo','suggestionChanged','arrowView','comments.maxCommentCharsWhenCollapsed','isDirty','from','requires','init','acceptAllSuggestions','getMarkerNames','delete','value','get','type','panelView','pluginName','addComment','trackChanges.SuggestionView','_licenseKeyCheckInterval','_disableComments','_addUIComponentsToFactory','source','getFirstRange','editor','Discard\x20all\x20selected\x20suggestions','commentThread','button','model','trackChangesLicenseKeyInvalid','change:previous','focus','invalid','trackChanges.disableComments','getSuggestionForAnnotation','getRanges','CommentView','_initializeController','previewFinalContent','commands','trackChanges','has','suggestion-','acceptButton','_refreshActiveMarkers','SuggestionThreadView','CommentsUI','SuggestionView','trialLimit','items','Accept\x20all\x20selected\x20suggestions','trackChangesLicenseKeyNotAllowed','getMarkers','toMany','stopListening','discardButton','head','fire','buttonView','9WyrakC','destroy','addSourceCollector','children','getByInnerView','getAnnotationForSuggestion','167256JEhJms','suggestionLoaded','addMany','view','lowest','plugins','comments.maxCommentsWhenCollapsed','_viewToController','editing','109141UCEDVX','11560428MyTMmy','switchbutton','isOn','_createMenuBarMenu','_handleSuggestionControllerDelayed','mainView','licenseKey','remove','_updateController','_destroyController','createAnnotationView','_showLicenseError','createAnnotation','hasSuggestion','config','keys','change:activeAnnotations','unbind','locale','comments.editorConfig','Annotations','add','menuitemcheckbox','21jrFeHi','activeMarkers','createCommentThreadController','suggestionView','featureNotAllowed','isEnabled','push','menu','discardAllSuggestions','menuitem','_bindAnnotationToEditors','Track\x20changes','isInContent','descriptionParts','_unbindEditors','Accept\x20all\x20suggestions','TrackChangesEditing','componentFactory','clear','isMultiRange','getAllAdjacentSuggestions','bind','621966aSxGbg','193685SqRvJG','_suggestionToController','actionView','commentsListView','commandName','delegate','execute','CommentsRepository','descriptionFactory','separator','suggestionUnloaded','activeAnnotations','comments.maxThreadTotalWeight','2700320gkjMkc','getSuggestion','some','TrackChanges','comments','isPremiumPlugin'];_0x2619=function(){return _0x49f873;};return _0x2619();}const _0x537752=_0x2c01;(function(_0xe0cc52,_0x73e967){const _0x3dde93=_0x2c01,_0x48de49=_0xe0cc52();while(!![]){try{const _0x21bb9c=parseInt(_0x3dde93(0x1e6))/0x1*(-parseInt(_0x3dde93(0x192))/0x2)+-parseInt(_0x3dde93(0x176))/0x3+-parseInt(_0x3dde93(0x18c))/0x4*(-parseInt(_0x3dde93(0x162))/0x5)+parseInt(_0x3dde93(0x161))/0x6*(-parseInt(_0x3dde93(0x14b))/0x7)+parseInt(_0x3dde93(0x1dd))/0x8+-parseInt(_0x3dde93(0x1d7))/0x9*(-parseInt(_0x3dde93(0x16f))/0xa)+parseInt(_0x3dde93(0x1e7))/0xb;if(_0x21bb9c===_0x73e967)break;else _0x48de49['push'](_0x48de49['shift']());}catch(_0x260aaa){_0x48de49['push'](_0x48de49['shift']());}}}(_0x2619,0x3c897));import{Plugin as _0x32fa02}from'ckeditor5/src/core.js';import{Collection as _0x24676e}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x589f44}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x284cf2,createDropdown as _0x13e0d6,ListSeparatorView as _0x8f51e4,MenuBarMenuView as _0x843029,MenuBarMenuListView as _0x3de8f1,MenuBarMenuListItemView as _0x3179ae,MenuBarMenuListItemButtonView as _0x5e033c,SplitButtonView as _0x2d1a83,UIModel as _0x51d70a}from'ckeditor5/src/ui.js';import{Users as _0x45c210,getDateTimeFormatter as _0x36c0c0,getAllMarkersDomElementsSorted as _0x4a229a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c01(_0x484d0d,_0x302e92){const _0x261986=_0x2619();return _0x2c01=function(_0x2c016d,_0x35a0a0){_0x2c016d=_0x2c016d-0x139;let _0x1d6a2d=_0x261986[_0x2c016d];return _0x1d6a2d;},_0x2c01(_0x484d0d,_0x302e92);}import{TrackChangesEditing as _0x372710}from'./trackchangesediting.js';import{SuggestionController as _0x1d5902}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x339715}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2e8264}from'./ui/view/suggestionview.js';import{getTranslation as _0x59fa94}from'./utils/common-translations.js';export class TrackChangesUI extends _0x32fa02{[_0x537752(0x13a)];[_0x537752(0x1af)];[_0x537752(0x163)];[_0x537752(0x1e4)];[_0x537752(0x188)];[_0x537752(0x180)];[_0x537752(0x1b0)];static get[_0x537752(0x1a3)](){const _0x2554cd=_0x537752;return[_0x372710,_0x45c210,_0x2554cd(0x169),_0x2554cd(0x148),_0x2554cd(0x182)];}static get[_0x537752(0x1ac)](){const _0x328cc5=_0x537752;return _0x328cc5(0x18f);}static get[_0x537752(0x197)](){return!0x0;}static get[_0x537752(0x174)](){return!0x0;}constructor(_0x4623ce){const _0x171c40=_0x537752;super(_0x4623ce),this[_0x171c40(0x163)]=new Map(),this[_0x171c40(0x1e4)]=new Map(),this[_0x171c40(0x188)]=new Map(),this[_0x171c40(0x180)]=new Map();const _0x26b344=this[_0x171c40(0x1b4)][_0x171c40(0x142)];_0x26b344[_0x171c40(0x19a)](_0x171c40(0x18d),_0x339715),_0x26b344[_0x171c40(0x19a)](_0x171c40(0x1ae),_0x2e8264),_0x26b344[_0x171c40(0x19a)](_0x171c40(0x1bd),!0x1),this[_0x171c40(0x1b0)]=_0x26b344[_0x171c40(0x1a9)](_0x171c40(0x1bd));}[_0x537752(0x1eb)](_0x4bf4c1,_0x51c791){const _0x5136cd=_0x537752;0x0===this[_0x5136cd(0x180)][_0x5136cd(0x177)]&&setTimeout(()=>{const _0x171e7e=_0x5136cd;for(const [_0x385c3b,_0xdb09d7]of this[_0x171e7e(0x180)]){const _0x2410f4=this[_0x171e7e(0x163)][_0x171e7e(0x1c5)](_0x385c3b);_0x2410f4||_0xdb09d7?_0x2410f4&&_0xdb09d7&&this[_0x171e7e(0x13d)](_0x385c3b):this[_0x171e7e(0x1c1)](_0x385c3b);}this[_0x171e7e(0x180)][_0x171e7e(0x15d)](),this[_0x171e7e(0x1b4)][_0x171e7e(0x1e2)][_0x171e7e(0x1a9)](_0x171e7e(0x182))[_0x171e7e(0x196)](),this[_0x171e7e(0x1c8)]();},0xa),this[_0x5136cd(0x180)][_0x5136cd(0x184)](_0x4bf4c1,_0x51c791);}[_0x537752(0x1a4)](){const _0x19e923=_0x537752,_0x523813=this[_0x19e923(0x1b4)],_0x528dd6=_0x523813[_0x19e923(0x1e2)][_0x19e923(0x1a9)](_0x19e923(0x15b)),_0x44ed=_0x523813[_0x19e923(0x1e2)][_0x19e923(0x1a9)](_0x19e923(0x148)),_0x598753=_0x523813[_0x19e923(0x1e2)][_0x19e923(0x1a9)](_0x19e923(0x182)),_0x39b79d=_0x523813[_0x19e923(0x1e2)][_0x19e923(0x1a9)](_0x19e923(0x169));this[_0x19e923(0x1b1)](),_0x598753[_0x19e923(0x1d9)](()=>{const _0x15856c=_0x19e923,_0x4d433a=[];for(const [_0x469499,_0x21a621]of Array[_0x15856c(0x1a2)](this[_0x15856c(0x163)])){const _0x4c602e=_0x469499[_0x15856c(0x15f)](),_0xf6262d=[];for(const _0x3c50f9 of _0x4c602e){if(!_0x3c50f9[_0x15856c(0x157)])continue;if(_0x3c50f9[_0x15856c(0x15e)]){_0xf6262d[_0x15856c(0x151)](..._0x3c50f9[_0x15856c(0x1bf)]());continue;}const _0x2fe3a1=_0x3c50f9[_0x15856c(0x1b3)]();if(_0xf6262d[_0x15856c(0x178)]>0x0){const _0x564d50=_0xf6262d[0x0][_0x15856c(0x175)](_0x2fe3a1);if(_0x564d50){_0xf6262d[0x0]=_0x564d50;continue;}}_0xf6262d[_0x15856c(0x151)](_0x2fe3a1);}_0x4d433a[_0x15856c(0x151)]([_0x21a621[_0x15856c(0x1e0)],_0xf6262d]);}return _0x4d433a;}),this[_0x19e923(0x19d)](_0x528dd6,_0x19e923(0x1de),(_0x540c2d,_0x3d803c)=>{const _0x3e0e2e=_0x19e923;this[_0x3e0e2e(0x19d)](_0x3d803c,_0x3e0e2e(0x1ba),(_0x37bdc8,_0xfd3b85,_0x44918b,_0x738c99)=>{const _0x2dd0e3=_0x3e0e2e;_0x3d803c[_0x2dd0e3(0x157)]&&(null==_0x44918b?(this[_0x2dd0e3(0x13c)](_0x738c99[_0x2dd0e3(0x1d4)]),this[_0x2dd0e3(0x1eb)](_0x3d803c,!0x1)):(this[_0x2dd0e3(0x13c)](_0x44918b[_0x2dd0e3(0x1d4)]),null==_0x738c99&&this[_0x2dd0e3(0x1eb)](_0x3d803c,!0x0)));}),null!==_0x3d803c[_0x3e0e2e(0x183)]?this[_0x3e0e2e(0x13c)](_0x3d803c[_0x3e0e2e(0x1d4)]):this[_0x3e0e2e(0x1eb)](_0x3d803c,!0x1);}),this[_0x19e923(0x19d)](_0x528dd6,_0x19e923(0x16c),(_0x4d160d,_0x327496,_0x3e7d8f)=>{const _0x50168b=_0x19e923;this[_0x50168b(0x1d2)](_0x327496,_0x50168b(0x1ba)),this[_0x50168b(0x180)][_0x50168b(0x1a7)](_0x327496),this[_0x50168b(0x163)][_0x50168b(0x1c5)](_0x327496)&&this[_0x50168b(0x13d)](_0x327496),_0x3e7d8f&&this[_0x50168b(0x13c)](_0x3e7d8f[_0x50168b(0x1d4)]);}),this[_0x19e923(0x19d)](_0x528dd6,_0x19e923(0x19e),(_0x3e0552,_0xb9fa24)=>{const _0x379455=_0x19e923;this[_0x379455(0x13c)](_0xb9fa24);}),this[_0x19e923(0x19d)](_0x44ed,_0x19e923(0x144),()=>{const _0xed9a5e=_0x19e923;this[_0xed9a5e(0x1c8)]();}),this[_0x19e923(0x19d)](_0x39b79d,_0x19e923(0x1ad),(_0x306497,{threadId:_0x10ccc7,isFromAdapter:_0x2570bf})=>{const _0x3b003e=_0x19e923;if(_0x2570bf||!_0x528dd6[_0x3b003e(0x141)](_0x10ccc7))return;const _0x5b7151=_0x528dd6[_0x3b003e(0x170)](_0x10ccc7);this[_0x3b003e(0x163)][_0x3b003e(0x1a9)](_0x5b7151)[_0x3b003e(0x1e0)][_0x3b003e(0x165)][_0x3b003e(0x1bb)](-0x1);},{'priority':_0x19e923(0x1e1)}),this[_0x19e923(0x13a)]=this[_0x19e923(0x1b4)][_0x19e923(0x142)][_0x19e923(0x1a9)](_0x19e923(0x13a));const _0x4c05c9=this[_0x19e923(0x1b4)];this[_0x19e923(0x1af)]=setInterval(()=>{const _0x5b1941=_0x19e923;let _0x46c796;for(const _0x4c1767 in _0x4c05c9){const _0x4c485e=_0x4c1767,_0x4f9109=_0x4c05c9[_0x4c485e];if(_0x5b1941(0x17a)==_0x4f9109||_0x5b1941(0x1b9)==_0x4f9109||_0x5b1941(0x190)==_0x4f9109||_0x5b1941(0x187)==_0x4f9109||_0x5b1941(0x1cf)==_0x4f9109||_0x5b1941(0x19b)==_0x4f9109||_0x5b1941(0x18a)==_0x4f9109||_0x5b1941(0x17b)==_0x4f9109){delete _0x4c05c9[_0x4c485e],_0x46c796=_0x4f9109,clearInterval(this[_0x5b1941(0x1af)]),this[_0x5b1941(0x1af)]=void 0x0;break;}}_0x5b1941(0x1b9)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x1bc)),_0x5b1941(0x190)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x186)),_0x5b1941(0x187)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x189)),_0x5b1941(0x1cf)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x14f),_0x5b1941(0x172)),_0x5b1941(0x19b)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x181)),_0x5b1941(0x18a)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x1cc)),_0x5b1941(0x17b)==_0x46c796&&_0x4c05c9[_0x5b1941(0x13f)](_0x5b1941(0x17e));},0x3e8);}[_0x537752(0x1dc)](_0x4b4080){const _0x20285a=_0x537752,_0x24bb9e=this[_0x20285a(0x163)][_0x20285a(0x1a9)](_0x4b4080);if(!_0x24bb9e)return null;return this[_0x20285a(0x1b4)][_0x20285a(0x1e2)][_0x20285a(0x1a9)](_0x20285a(0x148))[_0x20285a(0x1db)](_0x24bb9e[_0x20285a(0x1e0)])||null;}[_0x537752(0x1be)](_0x616440){const _0x398db8=_0x537752,_0x1b9eef=this[_0x398db8(0x1e4)][_0x398db8(0x1a9)](_0x616440[_0x398db8(0x17c)]);return _0x1b9eef?_0x1b9eef[_0x398db8(0x1b8)]:null;}[_0x537752(0x1c8)](){const _0x1e8eab=_0x537752,_0xd16493=this[_0x1e8eab(0x1b4)][_0x1e8eab(0x1e2)][_0x1e8eab(0x1a9)](_0x1e8eab(0x148)),_0x51f07b=this[_0x1e8eab(0x1b4)][_0x1e8eab(0x1e2)][_0x1e8eab(0x1a9)](_0x1e8eab(0x15b)),_0xe9681=Array[_0x1e8eab(0x1a2)](_0xd16493[_0x1e8eab(0x16d)],_0x1559e6=>_0x1559e6[_0x1e8eab(0x17c)])[_0x1e8eab(0x194)](_0x173eab=>this[_0x1e8eab(0x1e4)][_0x1e8eab(0x1c5)](_0x173eab)),_0x234a51=[];for(const _0x24aa3c of _0xe9681){const _0x16828d=this[_0x1e8eab(0x1e4)][_0x1e8eab(0x1a9)](_0x24aa3c)[_0x1e8eab(0x1b8)][_0x1e8eab(0x15f)]();_0x234a51[_0x1e8eab(0x151)](..._0x16828d[_0x1e8eab(0x198)]((_0x495a9a,_0x27c534)=>[..._0x495a9a,..._0x27c534[_0x1e8eab(0x1a6)]()],[]));}_0x51f07b[_0x1e8eab(0x14c)]=_0x234a51;}[_0x537752(0x1b1)](){const _0x53e3ac=_0x537752,_0x5c0269=this[_0x53e3ac(0x1b4)],_0x5116d1=_0x5c0269[_0x53e3ac(0x146)],_0x2a7eb9=_0x59fa94(_0x5116d1,_0x53e3ac(0x156)),_0xea3373=new _0x24676e([{'type':_0x53e3ac(0x1e8),'model':new _0x51d70a({'withText':!0x0,'isToggleable':!0x0,'label':_0x2a7eb9,'commandName':_0x53e3ac(0x1c4),'role':_0x53e3ac(0x14a)})},{'type':_0x53e3ac(0x16b)},{'type':_0x53e3ac(0x1b7),'model':new _0x51d70a({'withText':!0x0,'label':_0x59fa94(_0x5116d1,_0x53e3ac(0x15a)),'commandName':_0x53e3ac(0x1a5),'role':_0x53e3ac(0x154)})},{'type':_0x53e3ac(0x1b7),'model':new _0x51d70a({'withText':!0x0,'label':_0x59fa94(_0x5116d1,_0x53e3ac(0x1ce)),'commandName':_0x53e3ac(0x179),'role':_0x53e3ac(0x154)})},{'type':_0x53e3ac(0x1b7),'model':new _0x51d70a({'withText':!0x0,'label':_0x59fa94(_0x5116d1,_0x53e3ac(0x19c)),'commandName':_0x53e3ac(0x153),'role':_0x53e3ac(0x154)})},{'type':_0x53e3ac(0x1b7),'model':new _0x51d70a({'withText':!0x0,'label':_0x59fa94(_0x5116d1,_0x53e3ac(0x1b5)),'commandName':_0x53e3ac(0x193),'role':_0x53e3ac(0x154)})}]);_0x5c0269[_0x53e3ac(0x1e2)][_0x53e3ac(0x1c5)](_0x53e3ac(0x17f))&&_0xea3373[_0x53e3ac(0x1df)]([{'type':_0x53e3ac(0x16b)},{'type':_0x53e3ac(0x1b7),'model':new _0x51d70a({'withText':!0x0,'label':_0x59fa94(_0x5116d1,_0x53e3ac(0x185)),'commandName':_0x53e3ac(0x1c2),'role':_0x53e3ac(0x154)})}]);for(const _0x108d0c of _0xea3373)if(Ke(_0x108d0c)){const _0x1338a3=_0x5c0269[_0x53e3ac(0x1c3)][_0x53e3ac(0x1a9)](_0x108d0c[_0x53e3ac(0x1b8)][_0x53e3ac(0x166)]);_0x108d0c[_0x53e3ac(0x1b8)][_0x53e3ac(0x160)](_0x53e3ac(0x1e9),_0x53e3ac(0x150))['to'](_0x1338a3,_0x53e3ac(0x1a8),_0x53e3ac(0x150));}_0x5c0269['ui'][_0x53e3ac(0x15c)][_0x53e3ac(0x149)](_0x53e3ac(0x1c4),_0x32e068=>this[_0x53e3ac(0x191)](_0x32e068,_0xea3373,_0x2a7eb9)),_0x5c0269['ui'][_0x53e3ac(0x15c)][_0x53e3ac(0x149)](_0x53e3ac(0x195),_0x427327=>this[_0x53e3ac(0x1ea)](_0x427327,_0xea3373,_0x2a7eb9));}[_0x537752(0x191)](_0x3b5f99,_0x2eeede,_0x1f7fa4){const _0x3e9899=_0x537752,_0x13913a=_0x13e0d6(_0x3b5f99,_0x2d1a83),_0x527672=this[_0x3e9899(0x1b4)][_0x3e9899(0x1c3)][_0x3e9899(0x1a9)](_0x3e9899(0x1c4));_0x13913a[_0x3e9899(0x1d6)][_0x3e9899(0x184)]({'tooltip':_0x1f7fa4,'label':_0x1f7fa4,'icon':_0x589f44}),_0x13913a[_0x3e9899(0x1d6)][_0x3e9899(0x160)](_0x3e9899(0x1e9))['to'](_0x527672,_0x3e9899(0x1a8)),_0x13913a[_0x3e9899(0x1d6)]['on'](_0x3e9899(0x168),()=>{const _0x591b36=_0x3e9899;_0x527672[_0x591b36(0x168)](),this[_0x591b36(0x1b4)][_0x591b36(0x1e5)][_0x591b36(0x1e0)][_0x591b36(0x1bb)]();}),_0x284cf2(_0x13913a,_0x2eeede,{'role':_0x3e9899(0x152)});const _0x160af5=[];for(const _0x29eac2 of _0x2eeede)Ke(_0x29eac2)&&_0x160af5[_0x3e9899(0x151)](this[_0x3e9899(0x1b4)][_0x3e9899(0x1c3)][_0x3e9899(0x1a9)](_0x29eac2[_0x3e9899(0x1b8)][_0x3e9899(0x166)]));const _0x4f7c5a=_0x13913a[_0x3e9899(0x1d6)];return _0x4f7c5a[_0x3e9899(0x164)][_0x3e9899(0x145)](_0x3e9899(0x150)),_0x4f7c5a[_0x3e9899(0x19f)][_0x3e9899(0x145)](_0x3e9899(0x150)),_0x4f7c5a[_0x3e9899(0x164)][_0x3e9899(0x160)](_0x3e9899(0x150))['to'](_0x527672,_0x3e9899(0x150)),_0x4f7c5a[_0x3e9899(0x19f)][_0x3e9899(0x160)](_0x3e9899(0x150))[_0x3e9899(0x1d1)](_0x160af5,_0x3e9899(0x150),(..._0x556ef8)=>_0x556ef8[_0x3e9899(0x171)](_0x4a5d9d=>_0x4a5d9d)),_0x13913a['on'](_0x3e9899(0x168),_0x3878fd=>{const _0x21644d=_0x3e9899;this[_0x21644d(0x1b4)][_0x21644d(0x168)](_0x3878fd[_0x21644d(0x1b2)][_0x21644d(0x166)]),this[_0x21644d(0x1b4)][_0x21644d(0x1e5)][_0x21644d(0x1e0)][_0x21644d(0x1bb)]();}),_0x13913a;}[_0x537752(0x1ea)](_0xbbc8a8,_0x3bb344,_0x537d55){const _0x4def76=_0x537752,_0x5a5af9=new _0x843029(_0xbbc8a8),_0x2c4de8=this[_0x4def76(0x1b4)][_0x4def76(0x1c3)][_0x4def76(0x1a9)](_0x4def76(0x1c4));_0x5a5af9[_0x4def76(0x1d6)][_0x4def76(0x184)]({'label':_0x537d55,'icon':_0x589f44});const _0x1ed7a1=new _0x3de8f1(_0xbbc8a8);for(const _0x2734fd of _0x3bb344){if(_0x4def76(0x16b)==_0x2734fd[_0x4def76(0x1aa)]){_0x1ed7a1[_0x4def76(0x1cd)][_0x4def76(0x149)](new _0x8f51e4(_0xbbc8a8));continue;}const _0x38036e=new _0x3179ae(_0xbbc8a8,_0x5a5af9),_0x299cdb=new _0x5e033c(_0xbbc8a8),_0x42db36=_0x2734fd[_0x4def76(0x1b8)];_0x299cdb[_0x4def76(0x160)](...Object[_0x4def76(0x143)](_0x42db36))['to'](_0x42db36),_0x299cdb[_0x4def76(0x167)](_0x4def76(0x168))['to'](_0x5a5af9),_0x299cdb['on'](_0x4def76(0x168),()=>{const _0x432765=_0x4def76;this[_0x432765(0x1b4)][_0x432765(0x168)](_0x42db36[_0x432765(0x166)]),this[_0x432765(0x1b4)][_0x432765(0x1e5)][_0x432765(0x1e0)][_0x432765(0x1bb)]();}),_0x38036e[_0x4def76(0x1da)][_0x4def76(0x149)](_0x299cdb),_0x1ed7a1[_0x4def76(0x1cd)][_0x4def76(0x149)](_0x38036e);}return _0x5a5af9[_0x4def76(0x160)](_0x4def76(0x150))['to'](_0x2c4de8,_0x4def76(0x150)),_0x5a5af9[_0x4def76(0x1ab)][_0x4def76(0x1da)][_0x4def76(0x149)](_0x1ed7a1),_0x5a5af9;}[_0x537752(0x1c1)](_0x25baf9){const _0x1f218c=_0x537752,_0x347b6c=this[_0x1f218c(0x1b4)],_0x2b2f83=_0x347b6c[_0x1f218c(0x142)],_0x1074e6=_0x347b6c[_0x1f218c(0x1e2)][_0x1f218c(0x1a9)](_0x1f218c(0x148)),_0x23742a=_0x347b6c[_0x1f218c(0x1e2)][_0x1f218c(0x1a9)](_0x1f218c(0x169)),_0x14eec4=_0x347b6c[_0x1f218c(0x1e2)][_0x1f218c(0x1a9)](_0x1f218c(0x182)),_0x4a21ef=_0x347b6c[_0x1f218c(0x1e2)][_0x1f218c(0x1a9)](_0x45c210)['me'],_0x4ea06a=_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x1c4))[_0x1f218c(0x1c9)],_0x11f05d=_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x1c4))[_0x1f218c(0x1cb)],{CommentsListView:_0x421aa4,CommentThreadInputView:_0x43021f}=_0x347b6c[_0x1f218c(0x1e2)][_0x1f218c(0x1a9)](_0x1f218c(0x1ca));let _0x411a2a,_0x25220c,_0x427466;this[_0x1f218c(0x188)][_0x1f218c(0x1c5)](_0x25baf9['id'])?(_0x25220c=this[_0x1f218c(0x188)][_0x1f218c(0x1a9)](_0x25baf9['id']),_0x411a2a=_0x25220c[_0x1f218c(0x139)]):(_0x411a2a=new _0x4ea06a(_0x347b6c[_0x1f218c(0x146)],_0x25baf9,_0x4a21ef,{'disableComments':this[_0x1f218c(0x1b0)],'editorConfig':{..._0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x147)),'licenseKey':_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x13a))},'maxCommentsWhenCollapsed':_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x1e3)),'maxThreadTotalWeight':_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x16e)),'maxCommentCharsWhenCollapsed':_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x1a0)),'formatDateTime':_0x36c0c0(_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x146)),_0x347b6c[_0x1f218c(0x146)]),'CommentView':_0x2b2f83[_0x1f218c(0x1a9)](_0x1f218c(0x173))[_0x1f218c(0x1c0)],'CommentsListView':_0x421aa4,'CommentThreadInputView':_0x43021f,'SuggestionView':_0x11f05d}),_0x411a2a[_0x1f218c(0x14e)][_0x1f218c(0x1c7)]['on'](_0x1f218c(0x168),()=>{const _0x293f20=_0x1f218c;_0x347b6c[_0x293f20(0x1e5)][_0x293f20(0x1e0)][_0x293f20(0x1bb)]();}),_0x411a2a[_0x1f218c(0x14e)][_0x1f218c(0x1d3)]['on'](_0x1f218c(0x168),()=>{const _0x2b969e=_0x1f218c;_0x347b6c[_0x2b969e(0x1e5)][_0x2b969e(0x1e0)][_0x2b969e(0x1bb)]();}),_0x25220c=_0x1074e6[_0x1f218c(0x13e)](this[_0x1f218c(0x1b4)][_0x1f218c(0x146)],_0x411a2a),_0x25220c[_0x1f218c(0x160)](_0x1f218c(0x1a1))['to'](_0x411a2a,_0x1f218c(0x1a1)),_0x25220c[_0x1f218c(0x160)](_0x1f218c(0x178))['to'](_0x411a2a),_0x25220c[_0x1f218c(0x160)](_0x1f218c(0x1aa))['to'](_0x411a2a,_0x1f218c(0x1aa),_0x2cc29c=>_0x1f218c(0x1c6)+_0x2cc29c),_0x411a2a['on'](_0x1f218c(0x18b),()=>{const _0x2e072b=_0x1f218c;_0x427466[_0x2e072b(0x1d5)](_0x2e072b(0x18b));}),this[_0x1f218c(0x188)][_0x1f218c(0x184)](_0x25baf9['id'],_0x25220c));const _0x366672=_0x23742a[_0x1f218c(0x14d)](_0x25baf9[_0x1f218c(0x1b6)],_0x411a2a),_0x956095=new _0x1d5902(_0x347b6c,_0x25baf9,_0x411a2a,_0x366672),_0x597344=_0x25baf9[_0x1f218c(0x15f)]()[_0x1f218c(0x194)](_0x57b24c=>_0x57b24c[_0x1f218c(0x157)]);_0x411a2a[_0x1f218c(0x158)]=_0x347b6c[_0x1f218c(0x1e2)][_0x1f218c(0x1a9)](_0x1f218c(0x15b))[_0x1f218c(0x16a)][_0x1f218c(0x199)](_0x597344),this[_0x1f218c(0x163)][_0x1f218c(0x184)](_0x25baf9,_0x956095),this[_0x1f218c(0x1e4)][_0x1f218c(0x184)](_0x411a2a,_0x956095);const _0x40dbb9=()=>{const _0x15bbb9=_0x1f218c,_0x38e80f=[],_0x5eb78d=_0x25baf9[_0x15bbb9(0x15f)]()[_0x15bbb9(0x194)](_0x406189=>_0x406189[_0x15bbb9(0x157)]);for(const _0x5d1824 of _0x5eb78d)_0x38e80f[_0x15bbb9(0x151)](..._0x5d1824[_0x15bbb9(0x1d0)]());return _0x4a229a(_0x347b6c[_0x15bbb9(0x1e5)],_0x38e80f);};_0x427466=_0x1074e6[_0x1f218c(0x140)]({'view':_0x25220c,'target':_0x40dbb9,'type':()=>_0x1f218c(0x1c6)+_0x956095[_0x1f218c(0x1e0)][_0x1f218c(0x1aa)],'isVisible':!!_0x40dbb9()}),_0x23742a[_0x1f218c(0x155)](_0x411a2a,_0x427466),_0x1074e6[_0x1f218c(0x149)](_0x427466),_0x14eec4[_0x1f218c(0x17d)](_0x427466);}[_0x537752(0x13d)](_0x31f909){const _0x36872d=_0x537752,_0x163cdb=this[_0x36872d(0x1b4)][_0x36872d(0x1e2)][_0x36872d(0x1a9)](_0x36872d(0x169)),_0x2712ef=this[_0x36872d(0x1b4)][_0x36872d(0x1e2)][_0x36872d(0x1a9)](_0x36872d(0x148)),_0x255133=this[_0x36872d(0x163)][_0x36872d(0x1a9)](_0x31f909),_0x41f7df=_0x255133[_0x36872d(0x1e0)],_0x460037=_0x2712ef[_0x36872d(0x1db)](_0x41f7df);_0x163cdb[_0x36872d(0x159)](_0x41f7df),_0x460037&&_0x2712ef[_0x36872d(0x13b)](_0x460037),this[_0x36872d(0x163)][_0x36872d(0x1a7)](_0x31f909),this[_0x36872d(0x1e4)][_0x36872d(0x1a7)](_0x41f7df),_0x255133[_0x36872d(0x1d8)]();}[_0x537752(0x13c)](_0x2987ae){const _0x3ed0d7=_0x537752;if(!_0x2987ae[_0x3ed0d7(0x157)]||!this[_0x3ed0d7(0x163)][_0x3ed0d7(0x1c5)](_0x2987ae))return;const _0x42e80e=this[_0x3ed0d7(0x1b4)][_0x3ed0d7(0x1e2)][_0x3ed0d7(0x1a9)](_0x3ed0d7(0x15b)),_0x21f646=this[_0x3ed0d7(0x163)][_0x3ed0d7(0x1a9)](_0x2987ae),_0x1e04d3=_0x2987ae[_0x3ed0d7(0x15f)]();_0x21f646[_0x3ed0d7(0x1e0)][_0x3ed0d7(0x158)]=_0x42e80e[_0x3ed0d7(0x16a)][_0x3ed0d7(0x199)](_0x1e04d3);}[_0x537752(0x1d8)](){const _0x20239e=_0x537752;for(const _0x5fa366 of this[_0x20239e(0x163)][_0x20239e(0x143)]())this[_0x20239e(0x13d)](_0x5fa366);for(const _0x19de10 of this[_0x20239e(0x188)][_0x20239e(0x18e)]())_0x19de10[_0x20239e(0x139)][_0x20239e(0x1d8)]();super[_0x20239e(0x1d8)](),this[_0x20239e(0x1af)]&&clearInterval(this[_0x20239e(0x1af)]);}}function Ke(_0x16a250){const _0x24a3ae=_0x537752;return _0x24a3ae(0x1b8)in _0x16a250;}
|
|
23
|
+
const _0x14b72d=_0x3603;(function(_0x2d634a,_0x14750e){const _0x491e0a=_0x3603,_0x481e6a=_0x2d634a();while(!![]){try{const _0x4e9762=-parseInt(_0x491e0a(0x106))/0x1+-parseInt(_0x491e0a(0xd0))/0x2*(parseInt(_0x491e0a(0xd8))/0x3)+-parseInt(_0x491e0a(0x12b))/0x4+-parseInt(_0x491e0a(0xe6))/0x5+-parseInt(_0x491e0a(0xa6))/0x6*(-parseInt(_0x491e0a(0xb0))/0x7)+parseInt(_0x491e0a(0xc0))/0x8*(parseInt(_0x491e0a(0xab))/0x9)+parseInt(_0x491e0a(0x10e))/0xa*(parseInt(_0x491e0a(0x133))/0xb);if(_0x4e9762===_0x14750e)break;else _0x481e6a['push'](_0x481e6a['shift']());}catch(_0x555af3){_0x481e6a['push'](_0x481e6a['shift']());}}}(_0x3ed0,0xc9685));import{Plugin as _0x3a7395}from'ckeditor5/src/core.js';import{Collection as _0x426fdd}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2efbf8}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x43d45d,createDropdown as _0x34243c,ListSeparatorView as _0x383c7f,MenuBarMenuView as _0xfdef9b,MenuBarMenuListView as _0x1c3f86,MenuBarMenuListItemView as _0x3662da,MenuBarMenuListItemButtonView as _0x57a45b,SplitButtonView as _0x2ab725,UIModel as _0x3842b4}from'ckeditor5/src/ui.js';import{Users as _0x46f54a,getDateTimeFormatter as _0x8c4510,getAllMarkersDomElementsSorted as _0x11ac2b}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x41a6ee}from'./trackchangesediting.js';import{SuggestionController as _0x1c19cf}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x3d202f}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x371922}from'./ui/view/suggestionview.js';import{getTranslation as _0x538ce3}from'./utils/common-translations.js';export class TrackChangesUI extends _0x3a7395{[_0x14b72d(0xd3)];[_0x14b72d(0x94)];[_0x14b72d(0x93)];[_0x14b72d(0x134)];[_0x14b72d(0x137)];[_0x14b72d(0xa7)];[_0x14b72d(0x135)];static get[_0x14b72d(0xfd)](){const _0x39e2b6=_0x14b72d;return[_0x41a6ee,_0x46f54a,_0x39e2b6(0xb5),_0x39e2b6(0xa3),_0x39e2b6(0xee)];}static get[_0x14b72d(0xdb)](){const _0x278081=_0x14b72d;return _0x278081(0xb2);}static get[_0x14b72d(0xaa)](){return!0x0;}static get[_0x14b72d(0xff)](){return!0x0;}constructor(_0xcb4667){const _0x31d9b6=_0x14b72d;super(_0xcb4667),this[_0x31d9b6(0x93)]=new Map(),this[_0x31d9b6(0x134)]=new Map(),this[_0x31d9b6(0x137)]=new Map(),this[_0x31d9b6(0xa7)]=new Map();const _0x5ccc3f=this[_0x31d9b6(0x115)][_0x31d9b6(0xbf)];_0x5ccc3f[_0x31d9b6(0xb7)](_0x31d9b6(0xbd),_0x3d202f),_0x5ccc3f[_0x31d9b6(0xb7)](_0x31d9b6(0x123),_0x371922),_0x5ccc3f[_0x31d9b6(0xb7)](_0x31d9b6(0x114),!0x1),this[_0x31d9b6(0x135)]=_0x5ccc3f[_0x31d9b6(0xe0)](_0x31d9b6(0x114));}[_0x14b72d(0x9c)](_0x5d8649,_0x14f4f5){const _0x107912=_0x14b72d;0x0===this[_0x107912(0xa7)][_0x107912(0xe1)]&&setTimeout(()=>{const _0x526f12=_0x107912;for(const [_0x3bbae3,_0x2d23ca]of this[_0x526f12(0xa7)]){const _0x5d983c=this[_0x526f12(0x93)][_0x526f12(0x13b)](_0x3bbae3);_0x5d983c||_0x2d23ca?_0x5d983c&&_0x2d23ca&&this[_0x526f12(0x143)](_0x3bbae3):this[_0x526f12(0xf5)](_0x3bbae3);}this[_0x526f12(0xa7)][_0x526f12(0xf0)](),this[_0x526f12(0x115)][_0x526f12(0x10c)][_0x526f12(0xe0)](_0x526f12(0xee))[_0x526f12(0x127)](),this[_0x526f12(0x131)]();},0xa),this[_0x107912(0xa7)][_0x107912(0xdd)](_0x5d8649,_0x14f4f5);}[_0x14b72d(0xa8)](){const _0x31e8d8=_0x14b72d,_0x2c648b=this[_0x31e8d8(0x115)],_0x132d1c=_0x2c648b[_0x31e8d8(0x10c)][_0x31e8d8(0xe0)](_0x31e8d8(0x119)),_0x57777b=_0x2c648b[_0x31e8d8(0x10c)][_0x31e8d8(0xe0)](_0x31e8d8(0xa3)),_0x163dd9=_0x2c648b[_0x31e8d8(0x10c)][_0x31e8d8(0xe0)](_0x31e8d8(0xee)),_0x56993d=_0x2c648b[_0x31e8d8(0x10c)][_0x31e8d8(0xe0)](_0x31e8d8(0xb5));this[_0x31e8d8(0xe3)](),_0x163dd9[_0x31e8d8(0xc2)](()=>{const _0x2aa0e7=_0x31e8d8,_0x287ef8=[];for(const [_0x5db4e6,_0x1f9196]of Array[_0x2aa0e7(0xf6)](this[_0x2aa0e7(0x93)])){const _0x309347=_0x5db4e6[_0x2aa0e7(0xfc)](),_0x50a12a=[];for(const _0x143eb5 of _0x309347){if(!_0x143eb5[_0x2aa0e7(0x12c)])continue;if(_0x143eb5[_0x2aa0e7(0xf1)]){_0x50a12a[_0x2aa0e7(0x138)](..._0x143eb5[_0x2aa0e7(0x140)]());continue;}const _0x54e379=_0x143eb5[_0x2aa0e7(0x107)]();if(_0x50a12a[_0x2aa0e7(0xa0)]>0x0){const _0x117494=_0x50a12a[0x0][_0x2aa0e7(0xba)](_0x54e379);if(_0x117494){_0x50a12a[0x0]=_0x117494;continue;}}_0x50a12a[_0x2aa0e7(0x138)](_0x54e379);}_0x287ef8[_0x2aa0e7(0x138)]([_0x1f9196[_0x2aa0e7(0xa2)],_0x50a12a]);}return _0x287ef8;}),this[_0x31e8d8(0xf2)](_0x132d1c,_0x31e8d8(0xea),(_0x571ffd,_0x51a5c1)=>{const _0x26d449=_0x31e8d8;this[_0x26d449(0xf2)](_0x51a5c1,_0x26d449(0x13d),(_0x4ad29b,_0x5ee9d7,_0x40213c,_0x3bd6de)=>{const _0x6e0f3=_0x26d449;_0x51a5c1[_0x6e0f3(0x12c)]&&(null==_0x40213c?(this[_0x6e0f3(0xd9)](_0x3bd6de[_0x6e0f3(0x12f)]),this[_0x6e0f3(0x9c)](_0x51a5c1,!0x1)):(this[_0x6e0f3(0xd9)](_0x40213c[_0x6e0f3(0x12f)]),null==_0x3bd6de&&this[_0x6e0f3(0x9c)](_0x51a5c1,!0x0)));}),null!==_0x51a5c1[_0x26d449(0xde)]?this[_0x26d449(0xd9)](_0x51a5c1[_0x26d449(0x12f)]):this[_0x26d449(0x9c)](_0x51a5c1,!0x1);}),this[_0x31e8d8(0xf2)](_0x132d1c,_0x31e8d8(0x10a),(_0x3eef40,_0x22939a,_0x573fb9)=>{const _0x44d95f=_0x31e8d8;this[_0x44d95f(0xae)](_0x22939a,_0x44d95f(0x13d)),this[_0x44d95f(0xa7)][_0x44d95f(0xe5)](_0x22939a),this[_0x44d95f(0x93)][_0x44d95f(0x13b)](_0x22939a)&&this[_0x44d95f(0x143)](_0x22939a),_0x573fb9&&this[_0x44d95f(0xd9)](_0x573fb9[_0x44d95f(0x12f)]);}),this[_0x31e8d8(0xf2)](_0x132d1c,_0x31e8d8(0x98),(_0x3f7807,_0x1780be)=>{const _0x7e3783=_0x31e8d8;this[_0x7e3783(0xd9)](_0x1780be);}),this[_0x31e8d8(0xf2)](_0x57777b,_0x31e8d8(0x9f),()=>{const _0x1220a7=_0x31e8d8;this[_0x1220a7(0x131)]();}),this[_0x31e8d8(0xf2)](_0x56993d,_0x31e8d8(0xc7),(_0x2c0bc3,{threadId:_0x482d49,isFromAdapter:_0x389fcd})=>{const _0x5cacba=_0x31e8d8;if(_0x389fcd||!_0x132d1c[_0x5cacba(0xb8)](_0x482d49))return;const _0x510bf5=_0x132d1c[_0x5cacba(0xf8)](_0x482d49);this[_0x5cacba(0x93)][_0x5cacba(0xe0)](_0x510bf5)[_0x5cacba(0xa2)][_0x5cacba(0x13f)][_0x5cacba(0xa9)](-0x1);},{'priority':_0x31e8d8(0x96)}),this[_0x31e8d8(0xd3)]=this[_0x31e8d8(0x115)][_0x31e8d8(0xbf)][_0x31e8d8(0xe0)](_0x31e8d8(0xd3));const _0x5e37c3=this[_0x31e8d8(0x115)];this[_0x31e8d8(0x94)]=setInterval(()=>{const _0x50c8b9=_0x31e8d8;let _0x1d732a;for(const _0x585027 in _0x5e37c3){const _0x552325=_0x585027,_0x512c5b=_0x5e37c3[_0x552325];if(_0x50c8b9(0xd6)==_0x512c5b||_0x50c8b9(0x132)==_0x512c5b||_0x50c8b9(0x101)==_0x512c5b||_0x50c8b9(0x99)==_0x512c5b||_0x50c8b9(0x136)==_0x512c5b||_0x50c8b9(0x11b)==_0x512c5b||_0x50c8b9(0xf3)==_0x512c5b||_0x50c8b9(0x10d)==_0x512c5b){delete _0x5e37c3[_0x552325],_0x1d732a=_0x512c5b,clearInterval(this[_0x50c8b9(0x94)]),this[_0x50c8b9(0x94)]=void 0x0;break;}}_0x50c8b9(0x132)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0xc3)),_0x50c8b9(0x101)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0x116)),_0x50c8b9(0x99)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0xa5)),_0x50c8b9(0x136)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0x13a),_0x50c8b9(0xb9)),_0x50c8b9(0x11b)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0x103)),_0x50c8b9(0xf3)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0xf4)),_0x50c8b9(0x10d)==_0x1d732a&&_0x5e37c3[_0x50c8b9(0xe7)](_0x50c8b9(0xfa));},0x3e8);}[_0x14b72d(0xb3)](_0x31ed0f){const _0x49f108=_0x14b72d,_0x4f1521=this[_0x49f108(0x93)][_0x49f108(0xe0)](_0x31ed0f);if(!_0x4f1521)return null;return this[_0x49f108(0x115)][_0x49f108(0x10c)][_0x49f108(0xe0)](_0x49f108(0xa3))[_0x49f108(0xed)](_0x4f1521[_0x49f108(0xa2)])||null;}[_0x14b72d(0xa4)](_0x1f7043){const _0xb26fe3=_0x14b72d,_0x407de1=this[_0xb26fe3(0x134)][_0xb26fe3(0xe0)](_0x1f7043[_0xb26fe3(0xf7)]);return _0x407de1?_0x407de1[_0xb26fe3(0xfe)]:null;}[_0x14b72d(0x131)](){const _0x48d628=_0x14b72d,_0x10cba3=this[_0x48d628(0x115)][_0x48d628(0x10c)][_0x48d628(0xe0)](_0x48d628(0xa3)),_0x3e9716=this[_0x48d628(0x115)][_0x48d628(0x10c)][_0x48d628(0xe0)](_0x48d628(0x119)),_0x2532df=Array[_0x48d628(0xf6)](_0x10cba3[_0x48d628(0x91)],_0x59b0ca=>_0x59b0ca[_0x48d628(0xf7)])[_0x48d628(0x121)](_0x27f303=>this[_0x48d628(0x134)][_0x48d628(0x13b)](_0x27f303)),_0x11c722=[];for(const _0x5e5142 of _0x2532df){const _0x16e65f=this[_0x48d628(0x134)][_0x48d628(0xe0)](_0x5e5142)[_0x48d628(0xfe)][_0x48d628(0xfc)]();_0x11c722[_0x48d628(0x138)](..._0x16e65f[_0x48d628(0xdf)]((_0x52fdcd,_0x3daaa9)=>[..._0x52fdcd,..._0x3daaa9[_0x48d628(0x141)]()],[]));}_0x3e9716[_0x48d628(0xac)]=_0x11c722;}[_0x14b72d(0xe3)](){const _0xb75cb9=_0x14b72d,_0x1ee0d8=this[_0xb75cb9(0x115)],_0x589817=_0x1ee0d8[_0xb75cb9(0x122)],_0x715fd2=_0x538ce3(_0x589817,_0xb75cb9(0x125)),_0x11abf3=new _0x426fdd([{'type':_0xb75cb9(0x9e),'model':new _0x3842b4({'withText':!0x0,'isToggleable':!0x0,'label':_0x715fd2,'commandName':_0xb75cb9(0xfb),'role':_0xb75cb9(0x95)})},{'type':_0xb75cb9(0xb6)},{'type':_0xb75cb9(0xad),'model':new _0x3842b4({'withText':!0x0,'label':_0x538ce3(_0x589817,_0xb75cb9(0xd7)),'commandName':_0xb75cb9(0x13e),'role':_0xb75cb9(0x12d)})},{'type':_0xb75cb9(0xad),'model':new _0x3842b4({'withText':!0x0,'label':_0x538ce3(_0x589817,_0xb75cb9(0x126)),'commandName':_0xb75cb9(0xbe),'role':_0xb75cb9(0x12d)})},{'type':_0xb75cb9(0xad),'model':new _0x3842b4({'withText':!0x0,'label':_0x538ce3(_0x589817,_0xb75cb9(0x109)),'commandName':_0xb75cb9(0xd4),'role':_0xb75cb9(0x12d)})},{'type':_0xb75cb9(0xad),'model':new _0x3842b4({'withText':!0x0,'label':_0x538ce3(_0x589817,_0xb75cb9(0xc5)),'commandName':_0xb75cb9(0x117),'role':_0xb75cb9(0x12d)})}]);_0x1ee0d8[_0xb75cb9(0x10c)][_0xb75cb9(0x13b)](_0xb75cb9(0xeb))&&_0x11abf3[_0xb75cb9(0xc6)]([{'type':_0xb75cb9(0xb6)},{'type':_0xb75cb9(0xad),'model':new _0x3842b4({'withText':!0x0,'label':_0x538ce3(_0x589817,_0xb75cb9(0xcb)),'commandName':_0xb75cb9(0x97),'role':_0xb75cb9(0x12d)})}]);for(const _0x279ffd of _0x11abf3)if(Ke(_0x279ffd)){const _0x3b2739=_0x1ee0d8[_0xb75cb9(0xb1)][_0xb75cb9(0xe0)](_0x279ffd[_0xb75cb9(0xfe)][_0xb75cb9(0xec)]);_0x279ffd[_0xb75cb9(0xfe)][_0xb75cb9(0x10f)](_0xb75cb9(0xef),_0xb75cb9(0x130))['to'](_0x3b2739,_0xb75cb9(0x11a),_0xb75cb9(0x130));}_0x1ee0d8['ui'][_0xb75cb9(0xaf)][_0xb75cb9(0xc4)](_0xb75cb9(0xfb),_0x19fe15=>this[_0xb75cb9(0xcd)](_0x19fe15,_0x11abf3,_0x715fd2)),_0x1ee0d8['ui'][_0xb75cb9(0xaf)][_0xb75cb9(0xc4)](_0xb75cb9(0x100),_0x23b1f2=>this[_0xb75cb9(0xcc)](_0x23b1f2,_0x11abf3,_0x715fd2));}[_0x14b72d(0xcd)](_0x30a97a,_0x37cb52,_0x32f124){const _0x456f87=_0x14b72d,_0x119fa7=_0x34243c(_0x30a97a,_0x2ab725),_0xb2d026=this[_0x456f87(0x115)][_0x456f87(0xb1)][_0x456f87(0xe0)](_0x456f87(0xfb));_0x119fa7[_0x456f87(0x11f)][_0x456f87(0xdd)]({'tooltip':_0x32f124,'label':_0x32f124,'icon':_0x2efbf8}),_0x119fa7[_0x456f87(0x11f)][_0x456f87(0x10f)](_0x456f87(0xef))['to'](_0xb2d026,_0x456f87(0x11a)),_0x119fa7[_0x456f87(0x11f)]['on'](_0x456f87(0xce),()=>{const _0x1621ea=_0x456f87;_0xb2d026[_0x1621ea(0xce)](),this[_0x1621ea(0x115)][_0x1621ea(0xbb)][_0x1621ea(0xa2)][_0x1621ea(0xa9)]();}),_0x43d45d(_0x119fa7,_0x37cb52,{'role':_0x456f87(0xd5)});const _0x51ec2c=[];for(const _0x41fb81 of _0x37cb52)Ke(_0x41fb81)&&_0x51ec2c[_0x456f87(0x138)](this[_0x456f87(0x115)][_0x456f87(0xb1)][_0x456f87(0xe0)](_0x41fb81[_0x456f87(0xfe)][_0x456f87(0xec)]));const _0x4f2648=_0x119fa7[_0x456f87(0x11f)];return _0x4f2648[_0x456f87(0x139)][_0x456f87(0xb4)](_0x456f87(0x130)),_0x4f2648[_0x456f87(0x118)][_0x456f87(0xb4)](_0x456f87(0x130)),_0x4f2648[_0x456f87(0x139)][_0x456f87(0x10f)](_0x456f87(0x130))['to'](_0xb2d026,_0x456f87(0x130)),_0x4f2648[_0x456f87(0x118)][_0x456f87(0x10f)](_0x456f87(0x130))[_0x456f87(0x111)](_0x51ec2c,_0x456f87(0x130),(..._0x2b8515)=>_0x2b8515[_0x456f87(0x92)](_0x2c1e0c=>_0x2c1e0c)),_0x119fa7['on'](_0x456f87(0xce),_0x21c869=>{const _0x5abd0f=_0x456f87;this[_0x5abd0f(0x115)][_0x5abd0f(0xce)](_0x21c869[_0x5abd0f(0x12a)][_0x5abd0f(0xec)]),this[_0x5abd0f(0x115)][_0x5abd0f(0xbb)][_0x5abd0f(0xa2)][_0x5abd0f(0xa9)]();}),_0x119fa7;}[_0x14b72d(0xcc)](_0xf8f7b0,_0x2e0d57,_0x5217c7){const _0x4221fc=_0x14b72d,_0x4465a7=new _0xfdef9b(_0xf8f7b0),_0xbe0a2=this[_0x4221fc(0x115)][_0x4221fc(0xb1)][_0x4221fc(0xe0)](_0x4221fc(0xfb));_0x4465a7[_0x4221fc(0x11f)][_0x4221fc(0xdd)]({'label':_0x5217c7,'icon':_0x2efbf8});const _0xc31bd=new _0x1c3f86(_0xf8f7b0);for(const _0x551d57 of _0x2e0d57){if(_0x4221fc(0xb6)==_0x551d57[_0x4221fc(0x124)]){_0xc31bd[_0x4221fc(0x105)][_0x4221fc(0xc4)](new _0x383c7f(_0xf8f7b0));continue;}const _0x16a3ee=new _0x3662da(_0xf8f7b0,_0x4465a7),_0x47e860=new _0x57a45b(_0xf8f7b0),_0x3be262=_0x551d57[_0x4221fc(0xfe)];_0x47e860[_0x4221fc(0x10f)](...Object[_0x4221fc(0x9d)](_0x3be262))['to'](_0x3be262),_0x47e860[_0x4221fc(0x9a)](_0x4221fc(0xce))['to'](_0x4465a7),_0x47e860['on'](_0x4221fc(0xce),()=>{const _0x19cb73=_0x4221fc;this[_0x19cb73(0x115)][_0x19cb73(0xce)](_0x3be262[_0x19cb73(0xec)]),this[_0x19cb73(0x115)][_0x19cb73(0xbb)][_0x19cb73(0xa2)][_0x19cb73(0xa9)]();}),_0x16a3ee[_0x4221fc(0x104)][_0x4221fc(0xc4)](_0x47e860),_0xc31bd[_0x4221fc(0x105)][_0x4221fc(0xc4)](_0x16a3ee);}return _0x4465a7[_0x4221fc(0x10f)](_0x4221fc(0x130))['to'](_0xbe0a2,_0x4221fc(0x130)),_0x4465a7[_0x4221fc(0x9b)][_0x4221fc(0x104)][_0x4221fc(0xc4)](_0xc31bd),_0x4465a7;}[_0x14b72d(0xf5)](_0x5d0555){const _0x17f9b8=_0x14b72d,_0x1d54df=this[_0x17f9b8(0x115)],_0x4f89b2=_0x1d54df[_0x17f9b8(0xbf)],_0x4fa9ba=_0x1d54df[_0x17f9b8(0x10c)][_0x17f9b8(0xe0)](_0x17f9b8(0xa3)),_0x576e84=_0x1d54df[_0x17f9b8(0x10c)][_0x17f9b8(0xe0)](_0x17f9b8(0xb5)),_0x33d6d2=_0x1d54df[_0x17f9b8(0x10c)][_0x17f9b8(0xe0)](_0x17f9b8(0xee)),_0x1f4630=_0x1d54df[_0x17f9b8(0x10c)][_0x17f9b8(0xe0)](_0x46f54a)['me'],_0x4ab269=_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0xfb))[_0x17f9b8(0xe8)],_0x4a9c03=_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0xfb))[_0x17f9b8(0x129)],{CommentsListView:_0x3cf5e2,CommentThreadInputView:_0x537d2c}=_0x1d54df[_0x17f9b8(0x10c)][_0x17f9b8(0xe0)](_0x17f9b8(0x142));let _0x491dd3,_0x6961a3,_0x331631;this[_0x17f9b8(0x137)][_0x17f9b8(0x13b)](_0x5d0555['id'])?(_0x6961a3=this[_0x17f9b8(0x137)][_0x17f9b8(0xe0)](_0x5d0555['id']),_0x491dd3=_0x6961a3[_0x17f9b8(0xcf)]):(_0x491dd3=new _0x4ab269(_0x1d54df[_0x17f9b8(0x122)],_0x5d0555,_0x1f4630,{'disableComments':this[_0x17f9b8(0x135)],'editorConfig':{..._0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0x11c)),'licenseKey':_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0xd3))},'maxCommentsWhenCollapsed':_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0xc8)),'maxThreadTotalWeight':_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0xd2)),'maxCommentCharsWhenCollapsed':_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0x108)),'formatDateTime':_0x8c4510(_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0x122)),_0x1d54df[_0x17f9b8(0x122)]),'CommentView':_0x4f89b2[_0x17f9b8(0xe0)](_0x17f9b8(0x10b))[_0x17f9b8(0x11d)],'CommentsListView':_0x3cf5e2,'CommentThreadInputView':_0x537d2c,'SuggestionView':_0x4a9c03}),_0x491dd3[_0x17f9b8(0x110)][_0x17f9b8(0xca)]['on'](_0x17f9b8(0xce),()=>{const _0x18ffe1=_0x17f9b8;_0x1d54df[_0x18ffe1(0xbb)][_0x18ffe1(0xa2)][_0x18ffe1(0xa9)]();}),_0x491dd3[_0x17f9b8(0x110)][_0x17f9b8(0x112)]['on'](_0x17f9b8(0xce),()=>{const _0x2451f5=_0x17f9b8;_0x1d54df[_0x2451f5(0xbb)][_0x2451f5(0xa2)][_0x2451f5(0xa9)]();}),_0x6961a3=_0x4fa9ba[_0x17f9b8(0x11e)](this[_0x17f9b8(0x115)][_0x17f9b8(0x122)],_0x491dd3),_0x6961a3[_0x17f9b8(0x10f)](_0x17f9b8(0x128))['to'](_0x491dd3,_0x17f9b8(0x128)),_0x6961a3[_0x17f9b8(0x10f)](_0x17f9b8(0xa0))['to'](_0x491dd3),_0x6961a3[_0x17f9b8(0x10f)](_0x17f9b8(0x124))['to'](_0x491dd3,_0x17f9b8(0x124),_0x432c67=>_0x17f9b8(0xc9)+_0x432c67),_0x491dd3['on'](_0x17f9b8(0x13c),()=>{const _0x58cad9=_0x17f9b8;_0x331631[_0x58cad9(0xf9)](_0x58cad9(0x13c));}),this[_0x17f9b8(0x137)][_0x17f9b8(0xdd)](_0x5d0555['id'],_0x6961a3));const _0x27dd93=_0x576e84[_0x17f9b8(0xe9)](_0x5d0555[_0x17f9b8(0xd1)],_0x491dd3),_0x4dd837=new _0x1c19cf(_0x1d54df,_0x5d0555,_0x491dd3,_0x27dd93),_0x7e321b=_0x5d0555[_0x17f9b8(0xfc)]()[_0x17f9b8(0x121)](_0x241d84=>_0x241d84[_0x17f9b8(0x12c)]);_0x491dd3[_0x17f9b8(0x102)]=_0x1d54df[_0x17f9b8(0x10c)][_0x17f9b8(0xe0)](_0x17f9b8(0x119))[_0x17f9b8(0x113)][_0x17f9b8(0x120)](_0x7e321b),this[_0x17f9b8(0x93)][_0x17f9b8(0xdd)](_0x5d0555,_0x4dd837),this[_0x17f9b8(0x134)][_0x17f9b8(0xdd)](_0x491dd3,_0x4dd837);const _0x2f44ed=()=>{const _0x447000=_0x17f9b8,_0x4fc896=[],_0x402472=_0x5d0555[_0x447000(0xfc)]()[_0x447000(0x121)](_0x44c79e=>_0x44c79e[_0x447000(0x12c)]);for(const _0x4b0cab of _0x402472)_0x4fc896[_0x447000(0x138)](..._0x4b0cab[_0x447000(0xe4)]());return _0x11ac2b(_0x1d54df[_0x447000(0xbb)],_0x4fc896);};_0x331631=_0x4fa9ba[_0x17f9b8(0x12e)]({'view':_0x6961a3,'target':_0x2f44ed,'type':()=>_0x17f9b8(0xc9)+_0x4dd837[_0x17f9b8(0xa2)][_0x17f9b8(0x124)],'isVisible':!!_0x2f44ed()}),_0x576e84[_0x17f9b8(0xe2)](_0x491dd3,_0x331631),_0x4fa9ba[_0x17f9b8(0xc4)](_0x331631),_0x33d6d2[_0x17f9b8(0xdc)](_0x331631);}[_0x14b72d(0x143)](_0x3ea067){const _0x6c0a15=_0x14b72d,_0x5c5887=this[_0x6c0a15(0x115)][_0x6c0a15(0x10c)][_0x6c0a15(0xe0)](_0x6c0a15(0xb5)),_0x208af6=this[_0x6c0a15(0x115)][_0x6c0a15(0x10c)][_0x6c0a15(0xe0)](_0x6c0a15(0xa3)),_0x41bd34=this[_0x6c0a15(0x93)][_0x6c0a15(0xe0)](_0x3ea067),_0x59041d=_0x41bd34[_0x6c0a15(0xa2)],_0x350d0e=_0x208af6[_0x6c0a15(0xed)](_0x59041d);_0x5c5887[_0x6c0a15(0xc1)](_0x59041d),_0x350d0e&&_0x208af6[_0x6c0a15(0xda)](_0x350d0e),this[_0x6c0a15(0x93)][_0x6c0a15(0xe5)](_0x3ea067),this[_0x6c0a15(0x134)][_0x6c0a15(0xe5)](_0x59041d),_0x41bd34[_0x6c0a15(0xbc)]();}[_0x14b72d(0xd9)](_0x2e7ee8){const _0xfda961=_0x14b72d;if(!_0x2e7ee8[_0xfda961(0x12c)]||!this[_0xfda961(0x93)][_0xfda961(0x13b)](_0x2e7ee8))return;const _0x49a3d8=this[_0xfda961(0x115)][_0xfda961(0x10c)][_0xfda961(0xe0)](_0xfda961(0x119)),_0x3939ba=this[_0xfda961(0x93)][_0xfda961(0xe0)](_0x2e7ee8),_0x2e8ad7=_0x2e7ee8[_0xfda961(0xfc)]();_0x3939ba[_0xfda961(0xa2)][_0xfda961(0x102)]=_0x49a3d8[_0xfda961(0x113)][_0xfda961(0x120)](_0x2e8ad7);}[_0x14b72d(0xbc)](){const _0x4127a6=_0x14b72d;for(const _0x36b87a of this[_0x4127a6(0x93)][_0x4127a6(0x9d)]())this[_0x4127a6(0x143)](_0x36b87a);for(const _0x434653 of this[_0x4127a6(0x137)][_0x4127a6(0xa1)]())_0x434653[_0x4127a6(0xcf)][_0x4127a6(0xbc)]();super[_0x4127a6(0xbc)](),this[_0x4127a6(0x94)]&&clearInterval(this[_0x4127a6(0x94)]);}}function _0x3ed0(){const _0x442f8c=['stopListening','componentFactory','14knRkKH','commands','TrackChangesUI','getAnnotationForSuggestion','unbind','CommentsRepository','separator','define','hasSuggestion','TrackChanges','getJoined','editing','destroy','trackChanges.SuggestionThreadView','acceptSelectedSuggestions','config','736AsAMJL','_unbindEditors','addSourceCollector','invalid','add','Discard\x20all\x20selected\x20suggestions','addMany','addComment','comments.maxCommentsWhenCollapsed','suggestion-','acceptButton','Preview\x20final\x20content','_createMenuBarMenu','_createToolbarButton','execute','mainView','928TRYlSI','commentThread','comments.maxThreadTotalWeight','licenseKey','discardAllSuggestions','menu','trackChangesLicenseKeyValid','Accept\x20all\x20suggestions','10263ZUSEhb','_updateController','remove','pluginName','registerAnnotation','set','previous','reduce','get','size','_bindAnnotationToEditors','_addUIComponentsToFactory','getMarkers','delete','193215rUKqdE','_showLicenseError','SuggestionThreadView','createCommentThreadController','suggestionLoaded','TrackChangesPreview','commandName','getByInnerView','EditorAnnotations','isOn','clear','isMultiRange','listenTo','trackChangesLicenseKeyTrialLimit','trialLimit','_initializeController','from','innerView','getSuggestion','fire','usageLimit','trackChanges','getAllAdjacentSuggestions','requires','model','isPremiumPlugin','menuBar:trackChanges','trackChangesLicenseKeyExpired','descriptionParts','evaluationLimit','children','items','763862GsJVva','getFirstRange','comments.maxCommentCharsWhenCollapsed','Discard\x20all\x20suggestions','suggestionUnloaded','comments','plugins','trackChangesLicenseKeyUsageLimit','10XekKLS','bind','suggestionView','toMany','discardButton','descriptionFactory','trackChanges.disableComments','editor','expired','discardSelectedSuggestions','arrowView','TrackChangesEditing','value','trackChangesLicenseKeyEvaluationLimit','comments.editorConfig','CommentView','createAnnotationView','buttonView','getDescriptions','filter','locale','trackChanges.SuggestionView','type','Track\x20changes','Accept\x20all\x20selected\x20suggestions','refreshSelectedViews','isDirty','SuggestionView','source','1551128qGpAYk','isInContent','menuitem','createAnnotation','head','isEnabled','_refreshActiveMarkers','trackChangesLicenseKeyInvalid','11130680DGjolU','_viewToController','_disableComments','trackChangesLicenseKeyNotAllowed','_annotationViews','push','actionView','featureNotAllowed','has','escape','change:previous','acceptAllSuggestions','commentsListView','getRanges','getMarkerNames','CommentsUI','_destroyController','activeAnnotations','some','_suggestionToController','_licenseKeyCheckInterval','menuitemcheckbox','lowest','previewFinalContent','suggestionChanged','trackChangesLicenseKeyDomainLimit','delegate','panelView','_handleSuggestionControllerDelayed','keys','switchbutton','change:activeAnnotations','length','values','view','Annotations','getSuggestionForAnnotation','domainLimit','4083132jfkjbS','_handleControllerBuffer','init','focus','isOfficialPlugin','120294OwJwLu','activeMarkers','button'];_0x3ed0=function(){return _0x442f8c;};return _0x3ed0();}function _0x3603(_0x39bdc0,_0x109405){const _0x3ed000=_0x3ed0();return _0x3603=function(_0x360374,_0x12ceee){_0x360374=_0x360374-0x91;let _0x23884b=_0x3ed000[_0x360374];return _0x23884b;},_0x3603(_0x39bdc0,_0x109405);}function Ke(_0x27b297){const _0x2226e6=_0x14b72d;return _0x2226e6(0xfe)in _0x27b297;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x116341=_0x224e;(function(_0x29b8d8,_0x97cba8){const _0x4b2f84=_0x224e,_0x47ffb5=_0x29b8d8();while(!![]){try{const _0x5478d8=-parseInt(_0x4b2f84(0x193))/0x1*(parseInt(_0x4b2f84(0x1a7))/0x2)+-parseInt(_0x4b2f84(0x19c))/0x3*(-parseInt(_0x4b2f84(0x194))/0x4)+-parseInt(_0x4b2f84(0x195))/0x5+-parseInt(_0x4b2f84(0x1ab))/0x6*(parseInt(_0x4b2f84(0x185))/0x7)+-parseInt(_0x4b2f84(0x1a2))/0x8*(-parseInt(_0x4b2f84(0x198))/0x9)+parseInt(_0x4b2f84(0x1aa))/0xa*(-parseInt(_0x4b2f84(0x18f))/0xb)+parseInt(_0x4b2f84(0x189))/0xc;if(_0x5478d8===_0x97cba8)break;else _0x47ffb5['push'](_0x47ffb5['shift']());}catch(_0x246efa){_0x47ffb5['push'](_0x47ffb5['shift']());}}}(_0x2934,0xa1d8e));import{ObservableMixin as _0x331115}from'ckeditor5/src/utils.js';function _0x224e(_0x58f5af,_0x5b0513){const _0x293403=_0x2934();return _0x224e=function(_0x224ef0,_0x517d49){_0x224ef0=_0x224ef0-0x180;let _0x4adede=_0x293403[_0x224ef0];return _0x4adede;},_0x224e(_0x58f5af,_0x5b0513);}import{getTranslation as _0x51a947}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x331115(){[_0x116341(0x1a0)];[_0x116341(0x197)];[_0x116341(0x1a8)];[_0x116341(0x19e)];[_0x116341(0x1a6)];[_0x116341(0x18e)];[_0x116341(0x18a)];constructor(_0x29aeaa,_0x280b8f,_0x1ac2fa,_0x182f02){const _0xc5f923=_0x116341;super(),this[_0xc5f923(0x1a0)]=_0x280b8f,this[_0xc5f923(0x197)]=_0x1ac2fa,this[_0xc5f923(0x1a8)]=_0x182f02,this[_0xc5f923(0x19e)]=_0x29aeaa,this[_0xc5f923(0x1a6)]=_0x29aeaa[_0xc5f923(0x19d)][_0xc5f923(0x18b)](_0xc5f923(0x187)),this[_0xc5f923(0x18e)]=_0x29aeaa[_0xc5f923(0x19d)][_0xc5f923(0x18b)](_0xc5f923(0x181)),this[_0xc5f923(0x197)][_0xc5f923(0x186)](_0xc5f923(0x1a9))['to'](this[_0xc5f923(0x1a6)],this[_0xc5f923(0x18e)],(_0xe09cae,_0x30997f)=>_0xe09cae||_0x30997f),this[_0xc5f923(0x197)][_0xc5f923(0x186)](_0xc5f923(0x191))['to'](this[_0xc5f923(0x1a6)],_0xc5f923(0x1a9),_0x10eaf3=>_0x10eaf3&&this[_0xc5f923(0x19e)][_0xc5f923(0x1a0)][_0xc5f923(0x184)](_0x280b8f[_0xc5f923(0x18d)]())),this[_0xc5f923(0x197)][_0xc5f923(0x186)](_0xc5f923(0x188))['to'](this[_0xc5f923(0x18e)],_0xc5f923(0x1a9),_0x56cb9c=>_0x56cb9c&&this[_0xc5f923(0x19e)][_0xc5f923(0x1a0)][_0xc5f923(0x184)](_0x280b8f[_0xc5f923(0x18d)]())),this[_0xc5f923(0x18a)]=null,_0x1ac2fa[_0xc5f923(0x1a3)]&&this[_0xc5f923(0x180)](),this[_0xc5f923(0x192)](_0x1ac2fa,_0xc5f923(0x187),()=>this[_0xc5f923(0x187)]()),this[_0xc5f923(0x192)](_0x1ac2fa,_0xc5f923(0x181),()=>this[_0xc5f923(0x181)]()),this[_0xc5f923(0x192)](_0x1ac2fa,_0xc5f923(0x19b),()=>{const _0x1a17c0=_0xc5f923;_0x1ac2fa[_0x1a17c0(0x1a3)]?this[_0x1a17c0(0x180)]():this[_0x1a17c0(0x183)]();});}[_0x116341(0x187)](){const _0x5490df=_0x116341;this[_0x5490df(0x1a6)][_0x5490df(0x1a4)](this[_0x5490df(0x1a0)]['id']);}[_0x116341(0x181)](){const _0xe6e5b5=_0x116341;this[_0xe6e5b5(0x18e)][_0xe6e5b5(0x1a4)](this[_0xe6e5b5(0x1a0)]['id']);}[_0x116341(0x182)](){const _0xa2f20f=_0x116341;this[_0xa2f20f(0x197)][_0xa2f20f(0x1a5)](_0xa2f20f(0x1a9)),this[_0xa2f20f(0x197)][_0xa2f20f(0x1a5)](_0xa2f20f(0x191)),this[_0xa2f20f(0x197)][_0xa2f20f(0x1a5)](_0xa2f20f(0x188)),this[_0xa2f20f(0x18c)](),this[_0xa2f20f(0x1a8)][_0xa2f20f(0x182)](),this[_0xa2f20f(0x18a)]&&this[_0xa2f20f(0x183)]();}[_0x116341(0x180)](){const _0x3b5ac9=_0x116341,_0x4b35fa=_0x51a947(this[_0x3b5ac9(0x19e)][_0x3b5ac9(0x19f)],_0x3b5ac9(0x196));this[_0x3b5ac9(0x18a)]=this[_0x3b5ac9(0x19e)][_0x3b5ac9(0x19a)][_0x3b5ac9(0x18b)](_0x3b5ac9(0x1a1))[_0x3b5ac9(0x199)](_0x4b35fa);}[_0x116341(0x183)](){const _0x50eac5=_0x116341;null!==this[_0x50eac5(0x18a)]&&this[_0x50eac5(0x19e)][_0x50eac5(0x19a)][_0x50eac5(0x18b)](_0x50eac5(0x1a1))[_0x50eac5(0x190)](this[_0x50eac5(0x18a)]),this[_0x50eac5(0x18a)]=null;}}function _0x2934(){const _0x545d4b=['37468872aTFMAQ','_pendingAction','get','stopListening','getRanges','_discardCommand','1715120bSiWsy','remove','canAccept','listenTo','17734WGFyxu','1181048yEPIsD','3440590yADLwZ','PENDING_ACTION_SUGGESTION','view','153PIdHSa','add','plugins','change:isDirty','12bZrjGG','commands','_editor','locale','model','PendingActions','145064pspdJN','isDirty','execute','unbind','_acceptCommand','134jetTln','commentThreadController','isEnabled','80fgzlrX','6jUXIqL','_setPendingAction','discardSuggestion','destroy','_removePendingAction','canEditAt','5775931kAdKBJ','bind','acceptSuggestion','canDiscard'];_0x2934=function(){return _0x545d4b;};return _0x2934();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e4df2=_0x10e3;(function(_0x5c9f9d,_0x430f9c){const _0x523c27=_0x10e3,_0x2fb68b=_0x5c9f9d();while(!![]){try{const _0x10782e=-parseInt(_0x523c27(0x173))/0x1+parseInt(_0x523c27(0x1a1))/0x2+parseInt(_0x523c27(0x1a2))/0x3*(-parseInt(_0x523c27(0x1ae))/0x4)+parseInt(_0x523c27(0x1a4))/0x5+-parseInt(_0x523c27(0x19a))/0x6*(parseInt(_0x523c27(0x19c))/0x7)+-parseInt(_0x523c27(0x18d))/0x8+-parseInt(_0x523c27(0x1a7))/0x9*(-parseInt(_0x523c27(0x199))/0xa);if(_0x10782e===_0x430f9c)break;else _0x2fb68b['push'](_0x2fb68b['shift']());}catch(_0x3e4bf4){_0x2fb68b['push'](_0x2fb68b['shift']());}}}(_0x1b15,0x2b33f));function _0x10e3(_0x5608e6,_0x59dad6){const _0x1b158b=_0x1b15();return _0x10e3=function(_0x10e37f,_0x3285a1){_0x10e37f=_0x10e37f-0x16e;let _0x1842bb=_0x1b158b[_0x10e37f];return _0x1842bb;},_0x10e3(_0x5608e6,_0x59dad6);}import{FocusCycler as _0x2539c1,View as _0x206547,ViewCollection as _0x3d044d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x308f4f,KeystrokeHandler as _0x175c91}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x205117,setupThreadKeyboardNavigation as _0x481efe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4d312e}from'../../utils/common-translations.js';import{renderDescription as _0x5d1534}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x206547{[_0x3e4df2(0x1b3)];[_0x3e4df2(0x1b4)];[_0x3e4df2(0x1b5)];[_0x3e4df2(0x17f)];[_0x3e4df2(0x175)];[_0x3e4df2(0x181)];[_0x3e4df2(0x185)];[_0x3e4df2(0x188)];[_0x3e4df2(0x1b0)];[_0x3e4df2(0x17e)];constructor(_0x11b319,_0x2c178f,_0x110033,_0x470296){const _0x3fa811=_0x3e4df2;super(_0x11b319),this[_0x3fa811(0x1b3)]=null,this[_0x3fa811(0x1b4)]=null,this[_0x3fa811(0x1b5)]=new _0x205117(_0x11b319,_0x4d312e(_0x11b319,_0x3fa811(0x182))),this[_0x3fa811(0x1a8)](_0x3fa811(0x180),!0x1),this[_0x3fa811(0x1a8)](_0x3fa811(0x194),_0x2c178f[_0x3fa811(0x194)]),this[_0x3fa811(0x186)](_0x3fa811(0x194))['to'](_0x2c178f),this[_0x3fa811(0x1a8)](_0x3fa811(0x19e),[]),this[_0x3fa811(0x1a8)](_0x3fa811(0x1a5),!0x1),this[_0x3fa811(0x1a8)](_0x3fa811(0x184),!0x1),this[_0x3fa811(0x1a8)](_0x3fa811(0x193),!0x1),this[_0x3fa811(0x1a8)](_0x3fa811(0x192),!0x1),this[_0x3fa811(0x186)](_0x3fa811(0x18e))['to'](this,_0x3fa811(0x17a),_0x2c178f,_0x3fa811(0x194),this,_0x3fa811(0x19e),(_0x2c6758,_0xa5fc16,_0x1f167a)=>{const _0x4f9269=_0x3fa811,_0x5b9b67=_0x1f167a[_0x4f9269(0x1ab)](_0x3092a6=>_0x5d1534(_0x3092a6[_0x4f9269(0x179)]))[_0x4f9269(0x17b)]('.\x20')+'.';return _0x4d312e(this[_0x4f9269(0x1a3)],_0x4f9269(0x19d),[_0x2c6758-0x1,_0x2c178f[_0x4f9269(0x197)][_0x4f9269(0x195)],_0xa5fc16?_0x470296[_0x4f9269(0x1ad)](_0xa5fc16):'',new DOMParser()[_0x4f9269(0x172)](_0x5b9b67,_0x4f9269(0x1ac))[_0x4f9269(0x1a0)][_0x4f9269(0x178)]]);}),this[_0x3fa811(0x17f)]=new _0x3d044d(),this[_0x3fa811(0x175)]=new _0x308f4f(),this[_0x3fa811(0x181)]=new _0x175c91(),this[_0x3fa811(0x185)]=new _0x2539c1({'focusables':this[_0x3fa811(0x17f)],'focusTracker':this[_0x3fa811(0x175)],'keystrokeHandler':this[_0x3fa811(0x181)],'keystrokeHandlerOptions':{'filter':_0x4400c6=>_0x4400c6[_0x3fa811(0x198)]!==this[_0x3fa811(0x18f)]},'actions':{'focusPrevious':_0x3fa811(0x196),'focusNext':_0x3fa811(0x16e)}}),this[_0x3fa811(0x188)]=_0x2c178f,this[_0x3fa811(0x1b0)]=_0x110033,this[_0x3fa811(0x17e)]=_0x470296,_0x470296[_0x3fa811(0x190)]?this[_0x3fa811(0x1a8)](_0x3fa811(0x17a),0x1):this[_0x3fa811(0x189)]();}[_0x3e4df2(0x1aa)](){const _0xd27d91=_0x3e4df2;super[_0xd27d91(0x1aa)](),_0x481efe(this,this[_0xd27d91(0x17f)]);}[_0x3e4df2(0x176)](){const _0x28015c=_0x3e4df2;this[_0x28015c(0x18f)][_0x28015c(0x176)]();}[_0x3e4df2(0x1a9)](){const _0x444ec9=_0x3e4df2;this[_0x444ec9(0x1b3)]&&this[_0x444ec9(0x1b3)][_0x444ec9(0x1a9)](),this[_0x444ec9(0x1b4)]&&this[_0x444ec9(0x1b4)][_0x444ec9(0x1a9)](),super[_0x444ec9(0x1a9)]();}[_0x3e4df2(0x189)](){const _0x17d54d=_0x3e4df2,{CommentsListView:_0x1d922d}=this[_0x17d54d(0x17e)];this[_0x17d54d(0x1b3)]=new _0x1d922d(this[_0x17d54d(0x1a3)],this[_0x17d54d(0x188)][_0x17d54d(0x171)],Object[_0x17d54d(0x17c)]({'CommentView':this[_0x17d54d(0x17e)][_0x17d54d(0x1b1)]},this[_0x17d54d(0x17e)])),this[_0x17d54d(0x1b3)][_0x17d54d(0x1b6)](_0x17d54d(0x16f))['to'](this),this[_0x17d54d(0x1b3)][_0x17d54d(0x1b6)](_0x17d54d(0x17d))['to'](this),this[_0x17d54d(0x1b3)][_0x17d54d(0x186)](_0x17d54d(0x180))['to'](this),this[_0x17d54d(0x1a8)](_0x17d54d(0x17a),this[_0x17d54d(0x1b3)][_0x17d54d(0x17a)]+0x1),this[_0x17d54d(0x186)](_0x17d54d(0x17a))['to'](this[_0x17d54d(0x1b3)],_0x17d54d(0x17a),_0x211359=>_0x211359+0x1),this[_0x17d54d(0x1b4)]=this[_0x17d54d(0x19f)](),this['on'](_0x17d54d(0x16f),()=>this[_0x17d54d(0x176)]()),this[_0x17d54d(0x186)](_0x17d54d(0x1a5))['to'](this[_0x17d54d(0x1b3)],_0x17d54d(0x19b),this[_0x17d54d(0x1b4)][_0x17d54d(0x1a6)],_0x17d54d(0x1af),(_0x39e89,_0x356ec1)=>_0x39e89||!!_0x356ec1);}[_0x3e4df2(0x19f)](){const _0x545e95=_0x3e4df2,{CommentThreadInputView:_0x2a18f0}=this[_0x545e95(0x17e)],_0x4ba70c=new _0x2a18f0(this[_0x545e95(0x1a3)],this[_0x545e95(0x1b0)],this[_0x545e95(0x17e)][_0x545e95(0x18a)]),_0x20296a=_0x4ba70c[_0x545e95(0x1a6)];return _0x4ba70c[_0x545e95(0x186)](_0x545e95(0x18b))['to'](this,_0x545e95(0x180),this[_0x545e95(0x188)][_0x545e95(0x171)],_0x545e95(0x177),_0x20296a,_0x545e95(0x1af),(_0x5de512,_0x2b2348,_0x1f4658)=>!!_0x1f4658||_0x5de512&&!_0x2b2348),_0x20296a['on'](_0x545e95(0x18c),(_0x2bd1c8,_0x11c3f9)=>{const _0x1c8603=_0x545e95;this[_0x1c8603(0x1b2)](_0x1c8603(0x191),_0x11c3f9),_0x20296a[_0x1c8603(0x187)][_0x1c8603(0x170)]('');}),_0x20296a['on'](_0x545e95(0x183),()=>this[_0x545e95(0x176)]()),_0x20296a[_0x545e95(0x186)](_0x545e95(0x174))['to'](this[_0x545e95(0x188)][_0x545e95(0x171)],_0x545e95(0x177)),_0x4ba70c;}}function _0x1b15(){const _0x14ce49=['disableComments','addComment','canDiscard','canAccept','authoredAt','name','shift+tab','author','target','135010WscQSC','114eJsUBH','hasDirtyComment','67928qjPknw','SUGGESTION_THREAD_ARIA_LABEL','descriptionParts','_createCommentThreadInputView','body','597374voOrlW','25011IpObSi','locale','1740780DcVpfc','isDirty','commentInputView','18DUwMTF','set','destroy','render','map','text/html','formatDateTime','12MpGlPh','value','_localUser','CommentView','fire','commentsListView','commentThreadInputView','ariaDescriptionView','delegate','tab','removeComment','setData','commentThread','parseFromString','146880ppnPEq','disabledSubmit','focusTracker','focus','isReadOnly','textContent','content','length','join','assign','updateComment','_config','focusables','isActive','keystrokes','SUGGESTION_THREAD_DESCRIPTION','cancel','isEnabled','focusCycler','bind','editor','_model','_createCommentViews','editorConfig','showInput','submit','1124952AbbLOu','ariaLabel','element'];_0x1b15=function(){return _0x14ce49;};return _0x1b15();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a6c9e=_0x1ee8;(function(_0x4a481f,_0x14268c){const _0x20d743=_0x1ee8,_0x4de03c=_0x4a481f();while(!![]){try{const _0x336388=parseInt(_0x20d743(0x189))/0x1+parseInt(_0x20d743(0x17d))/0x2*(-parseInt(_0x20d743(0x181))/0x3)+-parseInt(_0x20d743(0x196))/0x4+parseInt(_0x20d743(0x1af))/0x5*(-parseInt(_0x20d743(0x1a7))/0x6)+parseInt(_0x20d743(0x1aa))/0x7+-parseInt(_0x20d743(0x1ab))/0x8*(parseInt(_0x20d743(0x1b4))/0x9)+parseInt(_0x20d743(0x1b1))/0xa;if(_0x336388===_0x14268c)break;else _0x4de03c['push'](_0x4de03c['shift']());}catch(_0x4848a8){_0x4de03c['push'](_0x4de03c['shift']());}}}(_0x3d5f,0x53be4));function _0x3d5f(){const _0x53ae3d=['push','descriptionParts','set','description','commentThreadInputView','6bjQizB','_config','ck-rounded-corners','4084815wWXKfK','191768gMBOKT','ariaDescriptionView','ck-suggestion-','acceptSuggestion','2732455AwZCLf','_model','8596130vnHWCB','bindTemplate','setTemplate','162YZlMvU','ck-suggestion--disabled-comments','13964SGWNzo','type','ariaLabel','div','48DLHkca','isEnabled','listitem','commentsListView','content','bind','discardButton','acceptButton','363061USinfb','commentThread','_descriptionElement','ck-suggestion-wrapper--active','</p>','author','render','canAccept','add','suggestionView','editorDestroyed','color','SuggestionView','1494104VQkzRr','disableComments','editorReady','focusables','formatDateTime','discardSuggestion','isActive','delegate','getTemplate','<p>','canDiscard','ck-suggestion-wrapper'];_0x3d5f=function(){return _0x53ae3d;};return _0x3d5f();}function _0x1ee8(_0x46e185,_0x3a4177){const _0x3d5f98=_0x3d5f();return _0x1ee8=function(_0x1ee86a,_0x562de1){_0x1ee86a=_0x1ee86a-0x17c;let _0x2a0b56=_0x3d5f98[_0x1ee86a];return _0x2a0b56;},_0x1ee8(_0x46e185,_0x3a4177);}import{BaseSuggestionThreadView as _0x4ea8f9}from'./basesuggestionthreadview.js';import{trimHtml as _0x1090d0}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x23f540}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4ea8f9{[_0x3a6c9e(0x192)];[_0x3a6c9e(0x18b)];constructor(_0x51ea56,_0x3befe7,_0x59a63d,_0x10f130){const _0x4bb460=_0x3a6c9e;super(_0x51ea56,_0x3befe7,_0x59a63d,_0x10f130),this[_0x4bb460(0x1a4)](_0x4bb460(0x17e),''),this[_0x4bb460(0x186)](_0x4bb460(0x17e))['to'](this,_0x4bb460(0x1a3),_0x5b5839=>_0x5b5839&&_0x5b5839[0x0]?_0x5b5839[0x0][_0x4bb460(0x17e)]:''),this[_0x4bb460(0x186)](_0x4bb460(0x1a5))['to'](this,_0x4bb460(0x1a3),this,_0x4bb460(0x19c),(_0x5a0858,_0x5288fb)=>{const _0x583309=_0x4bb460;let _0x1cf4d9='';for(const _0x30cc0c of _0x5a0858)_0x1cf4d9+=_0x583309(0x19f)+_0x23f540(_0x30cc0c[_0x583309(0x185)],_0x30cc0c[_0x583309(0x194)])+_0x583309(0x18d);return _0x5288fb?_0x1cf4d9:_0x1090d0(_0x1cf4d9,{'limit':0x8c});}),this[_0x4bb460(0x18b)]=null,this[_0x4bb460(0x192)]=new _0x10f130[(_0x4bb460(0x195))](_0x51ea56,_0x3befe7,{'formatDateTime':_0x10f130[_0x4bb460(0x19a)]}),this[_0x4bb460(0x192)][_0x4bb460(0x186)](_0x4bb460(0x1a5))['to'](this),this[_0x4bb460(0x192)][_0x4bb460(0x19d)](_0x4bb460(0x1ae),_0x4bb460(0x19b))['to'](this),this[_0x4bb460(0x192)][_0x4bb460(0x188)][_0x4bb460(0x186)](_0x4bb460(0x182))['to'](this,_0x4bb460(0x190)),this[_0x4bb460(0x192)][_0x4bb460(0x187)][_0x4bb460(0x186)](_0x4bb460(0x182))['to'](this,_0x4bb460(0x1a0)),this[_0x4bb460(0x199)][_0x4bb460(0x191)](this[_0x4bb460(0x192)]),this[_0x4bb460(0x184)]&&this[_0x4bb460(0x199)][_0x4bb460(0x191)](this[_0x4bb460(0x184)]),this[_0x4bb460(0x1a6)]&&this[_0x4bb460(0x199)][_0x4bb460(0x191)](this[_0x4bb460(0x1a6)]),this[_0x4bb460(0x1b3)](this[_0x4bb460(0x19e)]());}[_0x3a6c9e(0x19e)](){const _0x97490d=_0x3a6c9e,_0xde78cd=this[_0x97490d(0x1b2)],_0x2a6f55=[this[_0x97490d(0x192)]];return this[_0x97490d(0x184)]&&_0x2a6f55[_0x97490d(0x1a2)](this[_0x97490d(0x184)]),this[_0x97490d(0x1a6)]&&_0x2a6f55[_0x97490d(0x1a2)](this[_0x97490d(0x1a6)]),_0x2a6f55[_0x97490d(0x1a2)](this[_0x97490d(0x1ac)]),{'tag':_0x97490d(0x180),'attributes':{'class':['ck',_0x97490d(0x1a9),_0x97490d(0x1a1),_0xde78cd['if'](_0x97490d(0x19c),_0x97490d(0x18c)),_0xde78cd['to'](_0x97490d(0x17e),_0x5b2d8a=>_0x97490d(0x1ad)+_0x5b2d8a),this[_0x97490d(0x1a8)][_0x97490d(0x197)]&&_0x97490d(0x17c)],'data-suggestion-id':this[_0x97490d(0x1b0)]['id'],'data-thread-id':this[_0x97490d(0x1b0)][_0x97490d(0x18a)]['id'],'data-author-id':this[_0x97490d(0x1b0)][_0x97490d(0x18e)]['id'],'tabindex':0x0,'role':_0x97490d(0x183),'aria-label':_0xde78cd['to'](_0x97490d(0x17f)),'aria-describedby':this[_0x97490d(0x1ac)]['id']},'children':_0x2a6f55};}[_0x3a6c9e(0x18f)](){const _0xa8ab13=_0x3a6c9e;super[_0xa8ab13(0x18f)](),this[_0xa8ab13(0x184)]&&(this[_0xa8ab13(0x184)][_0xa8ab13(0x19d)](_0xa8ab13(0x198))['to'](this),this[_0xa8ab13(0x184)][_0xa8ab13(0x19d)](_0xa8ab13(0x193))['to'](this)),this[_0xa8ab13(0x1a6)]&&(this[_0xa8ab13(0x1a6)][_0xa8ab13(0x19d)](_0xa8ab13(0x198))['to'](this),this[_0xa8ab13(0x1a6)][_0xa8ab13(0x19d)](_0xa8ab13(0x193))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16dd8d=_0x21d4;(function(_0x5a1e06,_0x974680){const _0x42abb5=_0x21d4,_0x2baa7d=_0x5a1e06();while(!![]){try{const _0x4a53ca=-parseInt(_0x42abb5(0xf6))/0x1+-parseInt(_0x42abb5(0xfd))/0x2*(parseInt(_0x42abb5(0xea))/0x3)+-parseInt(_0x42abb5(0x11e))/0x4+parseInt(_0x42abb5(0xfc))/0x5*(parseInt(_0x42abb5(0x11b))/0x6)+parseInt(_0x42abb5(0x12c))/0x7*(-parseInt(_0x42abb5(0x111))/0x8)+-parseInt(_0x42abb5(0x110))/0x9*(parseInt(_0x42abb5(0x10b))/0xa)+-parseInt(_0x42abb5(0x109))/0xb*(-parseInt(_0x42abb5(0xee))/0xc);if(_0x4a53ca===_0x974680)break;else _0x2baa7d['push'](_0x2baa7d['shift']());}catch(_0x59949a){_0x2baa7d['push'](_0x2baa7d['shift']());}}}(_0x2557,0x5ac5f));import{FocusTracker as _0x2e52dd,KeystrokeHandler as _0x4b7d9d}from'ckeditor5/src/utils.js';import{View as _0x522796,ViewCollection as _0x148fdd,FocusCycler as _0x19dc10}from'ckeditor5/src/ui.js';function _0x21d4(_0x626f3a,_0xe2a838){const _0x255743=_0x2557();return _0x21d4=function(_0x21d40d,_0x204160){_0x21d40d=_0x21d40d-0xe0;let _0x1bf0e2=_0x255743[_0x21d40d];return _0x1bf0e2;},_0x21d4(_0x626f3a,_0xe2a838);}import{LateFocusButtonView as _0x12ca7c,UserView as _0x25c39b}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x10d1f0,IconCheck as _0x5dc6e3}from'ckeditor5/src/icons.js';import{getTranslation as _0x302aff}from'../../utils/common-translations.js';function _0x2557(){const _0x3eca04=['getExternalSuggestionNote','add','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__info-time','_config','discardSuggestion','acceptButton','getTemplate','focusCycler','keystrokes','64941EAvYfC','ck-annotation__content-wrapper','ck-annotation__info-name','userView','492wKZvCa','attributes','ck-annotation__info-time','@external','setTemplate','set','div','ck-suggestion','347254qVArmU','EXTERNAL_IMPORT_WORD_SUGGESTION','.ck-annotation__content-wrapper','Accept\x20suggestion','bind','shift+tab','200dZaltW','20tBVHwG','innerHTML','importWord','ck-comment__external','ck-suggestion--accept','element','_model','ck-annotation','author','Discard\x20suggestion','push','enter','480062NWeMsH','authoredAt','6891580bvGaGC','focusFirst','listenTo','execute','ck-suggestion__info','9LSRhIL','1049584RSQxEf','ck-suggestion__main','presentation','bindTemplate','focusTracker','_createButton','acceptSuggestion','locale','ck-annotation__user','_setupKeyboardNavigation','77946ZaaMgr','ck-annotation__main','isExternal','1162716xzyxWp','getUserViewNotificationText','ck-suggestion__info-name','source','focusables','fire','render','description','target','extendTemplate','EXTERNAL_SUGGESTION','ck-suggestion__user','ck-annotation__actions','esc','21bMGOMy','querySelector','formatDateTime','EXTERNAL_AVATAR','ck-annotation__info','time','tab','ck-suggestion--discard','span','discardButton','change:description','focus','creator','ck-suggestion__actions','name'];_0x2557=function(){return _0x3eca04;};return _0x2557();}export class SuggestionView extends _0x522796{[_0x16dd8d(0xed)];[_0x16dd8d(0xe6)];[_0x16dd8d(0x135)];[_0x16dd8d(0x122)];[_0x16dd8d(0x115)];[_0x16dd8d(0xe9)];[_0x16dd8d(0xe8)];[_0x16dd8d(0x103)];[_0x16dd8d(0xe4)];constructor(_0xb7f273,_0x2593f3,_0x3bdc5a){const _0x5e0fde=_0x16dd8d;super(_0xb7f273),this[_0x5e0fde(0x103)]=_0x2593f3,this[_0x5e0fde(0xe4)]=_0x3bdc5a,this[_0x5e0fde(0xf3)](_0x5e0fde(0x125),''),this[_0x5e0fde(0xfa)](_0x5e0fde(0x10a))['to'](_0x2593f3),this[_0x5e0fde(0xe6)]=this[_0x5e0fde(0x116)](_0x302aff(_0xb7f273,_0x5e0fde(0xf9)),_0x5dc6e3,_0x5e0fde(0x101),_0x5e0fde(0x117),'sw'),this[_0x5e0fde(0x135)]=this[_0x5e0fde(0x116)](_0x302aff(_0xb7f273,_0x5e0fde(0x106)),_0x10d1f0,_0x5e0fde(0x133),_0x5e0fde(0xe5),'sw'),this[_0x5e0fde(0xed)]=new _0x25c39b(_0xb7f273,_0x2593f3[_0x5e0fde(0x105)],this[_0x5e0fde(0x11f)]()),this[_0x5e0fde(0xed)][_0x5e0fde(0x127)]({'attributes':{'class':[_0x5e0fde(0x129),_0x5e0fde(0x119)],'aria-hidden':!0x0}}),this[_0x5e0fde(0x122)]=new _0x148fdd([this[_0x5e0fde(0xe6)],this[_0x5e0fde(0x135)]]),this[_0x5e0fde(0x115)]=new _0x2e52dd(),this[_0x5e0fde(0xe9)]=new _0x4b7d9d(),this[_0x5e0fde(0xe8)]=new _0x19dc10({'focusables':this[_0x5e0fde(0x122)],'focusTracker':this[_0x5e0fde(0x115)],'keystrokeHandler':this[_0x5e0fde(0xe9)],'actions':{'focusPrevious':_0x5e0fde(0xfb),'focusNext':_0x5e0fde(0x132)},'keystrokeHandlerOptions':{'filter':_0x11f683=>_0x11f683[_0x5e0fde(0x126)]!==this[_0x5e0fde(0x102)]}}),this[_0x5e0fde(0xf2)](this[_0x5e0fde(0xe7)]());}[_0x16dd8d(0x124)](){const _0x1f554b=_0x16dd8d;super[_0x1f554b(0x124)]();const _0x115fc5=this[_0x1f554b(0x102)][_0x1f554b(0x12d)](_0x1f554b(0xf8));_0x115fc5[_0x1f554b(0xfe)]=this[_0x1f554b(0x125)],this['on'](_0x1f554b(0x136),(_0x282ca2,_0x264b99,_0x65b0cd)=>{const _0x3ab09a=_0x1f554b;_0x115fc5[_0x3ab09a(0xfe)]=_0x65b0cd;}),this[_0x1f554b(0x11a)]();}[_0x16dd8d(0xe7)](){const _0x1aaf6e=_0x16dd8d,_0x557c3a=this[_0x1aaf6e(0x114)],_0x449b3d=[{'tag':_0x1aaf6e(0xf4),'attributes':{'class':[_0x1aaf6e(0x10f),_0x1aaf6e(0x130)]},'children':[{'tag':_0x1aaf6e(0x134),'children':[{'text':this[_0x1aaf6e(0xed)][_0x1aaf6e(0x13a)]}],'attributes':{'class':[_0x1aaf6e(0x120),_0x1aaf6e(0xec)],'data-cke-tooltip-text':this[_0x1aaf6e(0xed)][_0x1aaf6e(0x13a)]}},{'tag':_0x1aaf6e(0x131),'attributes':{'datetime':_0x557c3a['to'](_0x1aaf6e(0x10a)),'class':[_0x1aaf6e(0xe3),_0x1aaf6e(0xf0)]},'children':[{'text':_0x557c3a['to'](_0x1aaf6e(0x10a),_0x54616b=>this[_0x1aaf6e(0xe4)][_0x1aaf6e(0x12e)](_0x54616b))}]}]},{'tag':_0x1aaf6e(0xf4),'attributes':{'class':[_0x1aaf6e(0x139),_0x1aaf6e(0x12a)]},'children':[this[_0x1aaf6e(0xe6)],this[_0x1aaf6e(0x135)]]},{'tag':_0x1aaf6e(0xf4),'attributes':{'class':[_0x1aaf6e(0xeb)]}}];return this[_0x1aaf6e(0x103)][_0x1aaf6e(0x11d)]&&_0x449b3d[_0x1aaf6e(0x107)]({'tag':_0x1aaf6e(0xf4),'attributes':{'class':[_0x1aaf6e(0x100)]},'children':[{'text':this[_0x1aaf6e(0xe0)]()}]}),{'tag':_0x1aaf6e(0xf4),'attributes':{'class':[_0x1aaf6e(0xf5),_0x1aaf6e(0x104)],'tabindex':-0x1},'children':[this[_0x1aaf6e(0xed)],{'tag':_0x1aaf6e(0xf4),'attributes':{'class':[_0x1aaf6e(0x112),_0x1aaf6e(0x11c)],'role':_0x1aaf6e(0x113)},'children':_0x449b3d}]};}[_0x16dd8d(0x137)](){const _0x103adf=_0x16dd8d;this[_0x103adf(0x102)][_0x103adf(0x137)]();}[_0x16dd8d(0x11f)](){const _0x3d4dc5=_0x16dd8d;return this[_0x3d4dc5(0x103)][_0x3d4dc5(0x11d)]?_0x3d4dc5(0xff)===this[_0x3d4dc5(0x103)][_0x3d4dc5(0xef)][_0x3d4dc5(0xf1)][_0x3d4dc5(0x121)]?_0x302aff(this[_0x3d4dc5(0x118)],_0x3d4dc5(0xe2),this[_0x3d4dc5(0x103)][_0x3d4dc5(0x138)][_0x3d4dc5(0x13a)]):_0x302aff(this[_0x3d4dc5(0x118)],_0x3d4dc5(0x12f),this[_0x3d4dc5(0x103)][_0x3d4dc5(0x138)][_0x3d4dc5(0x13a)]):null;}[_0x16dd8d(0xe0)](){const _0x595e42=_0x16dd8d;return _0x595e42(0xff)===this[_0x595e42(0x103)][_0x595e42(0xef)][_0x595e42(0xf1)][_0x595e42(0x121)]?_0x302aff(this[_0x595e42(0x118)],_0x595e42(0xf7)):_0x302aff(this[_0x595e42(0x118)],_0x595e42(0x128));}[_0x16dd8d(0x116)](_0x28d394,_0x1abe53,_0x11e589,_0x562cb0,_0x11f895){const _0x55c800=_0x16dd8d,_0x5b2250=new _0x12ca7c(this[_0x55c800(0x118)]);return _0x5b2250[_0x55c800(0xf3)]({'label':_0x28d394,'icon':_0x1abe53,'tooltip':!0x0,'tooltipPosition':_0x11f895}),_0x5b2250[_0x55c800(0x127)]({'attributes':{'class':_0x11e589}}),_0x5b2250['on'](_0x55c800(0x10e),()=>{const _0xa2fa05=_0x55c800;this[_0xa2fa05(0x123)](_0x562cb0,this[_0xa2fa05(0x103)]['id']);}),_0x5b2250;}[_0x16dd8d(0x11a)](){const _0x3f422a=_0x16dd8d,_0x114dcb=this[_0x3f422a(0x102)];this[_0x3f422a(0xe9)][_0x3f422a(0x10d)](_0x114dcb);for(const _0x3f1337 of this[_0x3f422a(0x122)])this[_0x3f422a(0x115)][_0x3f422a(0xe1)](_0x3f1337[_0x3f422a(0x102)]),this[_0x3f422a(0xe9)][_0x3f422a(0x10d)](_0x3f1337[_0x3f422a(0x102)]);this[_0x3f422a(0xe9)][_0x3f422a(0xf3)](_0x3f422a(0x108),(_0x36884c,_0x2a728a)=>{const _0x571254=_0x3f422a;_0x114dcb===_0x36884c[_0x571254(0x126)]&&(this[_0x571254(0xe8)][_0x571254(0x10c)](),_0x2a728a());}),this[_0x3f422a(0xe9)][_0x3f422a(0xf3)](_0x3f422a(0x12b),(_0x5134a5,_0x12ad25)=>{const _0x113a10=_0x3f422a;_0x114dcb!==_0x5134a5[_0x113a10(0x126)]&&(this[_0x113a10(0x137)](),_0x12ad25());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5c71(_0x4b2589,_0x1c1fec){const _0x5ca408=_0x5ca4();return _0x5c71=function(_0x5c7162,_0x32e7ad){_0x5c7162=_0x5c7162-0xc9;let _0x34a48f=_0x5ca408[_0x5c7162];return _0x34a48f;},_0x5c71(_0x4b2589,_0x1c1fec);}const _0x1ab05f=_0x5c71;(function(_0x22a6c6,_0x4aabef){const _0x290070=_0x5c71,_0xd42b38=_0x22a6c6();while(!![]){try{const _0x19f356=-parseInt(_0x290070(0xde))/0x1*(parseInt(_0x290070(0xcf))/0x2)+-parseInt(_0x290070(0xda))/0x3+parseInt(_0x290070(0xe2))/0x4*(-parseInt(_0x290070(0xe9))/0x5)+-parseInt(_0x290070(0xd5))/0x6+-parseInt(_0x290070(0xcb))/0x7+-parseInt(_0x290070(0xe8))/0x8+parseInt(_0x290070(0xdc))/0x9*(parseInt(_0x290070(0xd0))/0xa);if(_0x19f356===_0x4aabef)break;else _0xd42b38['push'](_0xd42b38['shift']());}catch(_0x1fe4b1){_0xd42b38['push'](_0xd42b38['shift']());}}}(_0x5ca4,0xba24f));import{View as _0x5954fd}from'ckeditor5/src/ui.js';function _0x5ca4(){const _0x2dc14a=['innerHTML','dialogRects','ck-track-changes-preview','setTemplate','2027184aEvEEn','focus','className','push','div','1076421vpNmpt','\x20ck-track-changes-preview__root-container','43215273gPsigB','setPreviewData','314256VfQkem','render','content','style','4pFbRxY','createElement','height','data-ck-root-name','ck-reset','setAttribute','9665288hVpYhg','491230cOkqGs','width','fire','classes','5454036SVRscP','previewDataReady','element','options','8fLKvMX','10siVMDJ'];_0x5ca4=function(){return _0x2dc14a;};return _0x5ca4();}export class TrackChangesPreviewView extends _0x5954fd{[_0x1ab05f(0xce)];constructor(_0x45ee7e,_0x2fc1bf){const _0x331bfa=_0x1ab05f;super(_0x45ee7e),this[_0x331bfa(0xce)]=_0x2fc1bf,this[_0x331bfa(0xd4)]({'tag':_0x331bfa(0xd9),'attributes':{'class':['ck',_0x331bfa(0xe6),_0x331bfa(0xd3)],'tabindex':-0x1}});}[_0x1ab05f(0xdf)](){const _0x484761=_0x1ab05f;super[_0x484761(0xdf)](),this[_0x484761(0xcd)][_0x484761(0xe1)][_0x484761(0xea)]=this[_0x484761(0xce)][_0x484761(0xd2)][_0x484761(0xea)]+'px',this[_0x484761(0xcd)][_0x484761(0xe1)][_0x484761(0xe4)]=this[_0x484761(0xce)][_0x484761(0xd2)][_0x484761(0xe4)]+'px';}[_0x1ab05f(0xdd)](_0x1ade7b,_0x9225ff){const _0x286468=_0x1ab05f;if(!this[_0x286468(0xcd)])return;const _0x1c6763=[];for(const [_0xff8fa3,_0x4100ee]of _0x1ade7b){const _0x556bdd=document[_0x286468(0xe3)](_0x286468(0xd9));_0x556bdd[_0x286468(0xe7)](_0x286468(0xe5),_0xff8fa3),_0x556bdd[_0x286468(0xd7)]=_0x4100ee[_0x286468(0xca)]+_0x286468(0xdb),_0x556bdd[_0x286468(0xd1)]=_0x4100ee[_0x286468(0xe0)],_0x1c6763[_0x286468(0xd8)](_0x556bdd);}_0x9225ff(this[_0x286468(0xcd)],_0x1c6763),this[_0x286468(0xcd)][_0x286468(0xe1)][_0x286468(0xe4)]='',this[_0x286468(0xc9)](_0x286468(0xcc));}[_0x1ab05f(0xd6)](){const _0x5be571=_0x1ab05f;this[_0x5be571(0xcd)][_0x5be571(0xd6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2ddade,_0x10b62e,_0x43852e){const _0x585ae1=_0x2ddade['t'],t=_0x2ddade['t'];switch(_0x10b62e){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',_0x43852e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x43852e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x43852e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x43852e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x43852e);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',_0x43852e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x43852e);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',_0x43852e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x43852e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x43852e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x43852e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x43852e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x43852e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x43852e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x43852e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x43852e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x43852e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x43852e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x43852e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x43852e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x43852e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x43852e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x43852e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x43852e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x43852e);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'},_0x43852e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x43852e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x43852e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x43852e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x43852e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x43852e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x43852e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x43852e);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'},_0x43852e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x43852e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x43852e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x43852e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x43852e);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x43852e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x43852e);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'},_0x43852e);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x43852e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x43852e);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'},_0x43852e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x43852e);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'},_0x43852e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x43852e);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x43852e);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x43852e);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x43852e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x43852e);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'},_0x43852e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x43852e);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 _0x585ae1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x43852e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x585ae1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x43852e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x43852e);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'},_0x43852e);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'},_0x43852e);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'},_0x43852e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x10b62e;}}
|
|
23
|
+
export function getTranslation(_0x3d755e,_0x256916,_0x305efd){const _0x5ce2cd=_0x3d755e['t'],t=_0x3d755e['t'];switch(_0x256916){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',_0x305efd);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x305efd);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x305efd);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x305efd);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x305efd);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',_0x305efd);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x305efd);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',_0x305efd);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x305efd);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x305efd);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x305efd);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x305efd);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x305efd);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x305efd);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x305efd);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x305efd);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x305efd);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x305efd);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x305efd);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x305efd);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x305efd);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x305efd);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x305efd);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x305efd);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x305efd);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'},_0x305efd);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x305efd);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x305efd);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x305efd);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x305efd);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x305efd);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x305efd);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x305efd);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'},_0x305efd);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x305efd);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x305efd);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x305efd);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x305efd);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x305efd);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x305efd);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'},_0x305efd);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x305efd);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x305efd);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'},_0x305efd);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x305efd);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'},_0x305efd);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x305efd);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x305efd);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x305efd);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x305efd);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x305efd);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'},_0x305efd);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x305efd);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 _0x5ce2cd({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x305efd);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5ce2cd({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x305efd);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x305efd);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'},_0x305efd);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'},_0x305efd);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'},_0x305efd);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x256916;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x457cfe,_0x26e6bf){const _0x3bf0cd=_0x279d,_0x576cb7=_0x457cfe();while(!![]){try{const _0x41e96e=-parseInt(_0x3bf0cd(0x196))/0x1*(-parseInt(_0x3bf0cd(0x1a2))/0x2)+-parseInt(_0x3bf0cd(0x185))/0x3+parseInt(_0x3bf0cd(0x1a6))/0x4+parseInt(_0x3bf0cd(0x190))/0x5+-parseInt(_0x3bf0cd(0x1ab))/0x6*(parseInt(_0x3bf0cd(0x19b))/0x7)+parseInt(_0x3bf0cd(0x18b))/0x8+parseInt(_0x3bf0cd(0x186))/0x9*(-parseInt(_0x3bf0cd(0x1a1))/0xa);if(_0x41e96e===_0x26e6bf)break;else _0x576cb7['push'](_0x576cb7['shift']());}catch(_0x234383){_0x576cb7['push'](_0x576cb7['shift']());}}}(_0xeba8,0x190b4));export function normalizeDescription(_0x57b44c){const _0x1ff70c=_0x279d;return Array[_0x1ff70c(0x17c)](_0x57b44c)||(_0x57b44c=[_0x57b44c]),_0x57b44c[_0x1ff70c(0x19a)](_0xf17136=>{const _0x1eb85e=_0x1ff70c,_0x5b23cf=_0xf17136[_0x1eb85e(0x193)][_0x1eb85e(0x1af)](/\*/g,''),_0x54641f=_0xf17136[_0x1eb85e(0x198)]?_0x1eb85e(0x183)+_0xf17136[_0x1eb85e(0x198)][_0x1eb85e(0x1a3)]+']':'';return'['+_0xf17136[_0x1eb85e(0x18d)]+']\x20'+_0x5b23cf+_0x54641f;})[_0x1ff70c(0x184)](';\x20');}export function renderDescription(_0x3d9cc8,_0x20682f){const _0x5237ef=_0x279d;let _0x23ac58='';return _0x23ac58+=_0x3d9cc8[_0x5237ef(0x1a0)]('*')[_0x5237ef(0x19a)]((_0x17a975,_0xb10104)=>_0xb10104%0x2!=0x0?_0x5237ef(0x18c)+tn(_0x17a975)+_0x5237ef(0x1aa):tn(_0x17a975))[_0x5237ef(0x184)](''),_0x20682f&&(_0x23ac58+=_0x5237ef(0x189)+_0x20682f[_0x5237ef(0x1a3)]+_0x5237ef(0x18a)+_0x20682f[_0x5237ef(0x1a4)]+_0x5237ef(0x195)),_0x23ac58;}function _0x279d(_0x44b97a,_0x192280){const _0xeba870=_0xeba8();return _0x279d=function(_0x279d69,_0x1045d6){_0x279d69=_0x279d69-0x179;let _0x3c263d=_0xeba870[_0x279d69];return _0x3c263d;},_0x279d(_0x44b97a,_0x192280);}function _0xeba8(){const _0x219a5d=['isCollapsed','161164HpqHTP','innerHTML','createPositionAt','change','</span>','359574rQxwPp','execute','push','deletion','replace','from','add','createElement','isArray','isInContent','attribute','sort','next','createPositionAfter','length','\x20[color\x20','join','289110TeOPCI','18KwcSnE','innerText','createPositionBefore','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','\x22\x20title=\x22','1218160TVsygF','<span\x20class=\x22ck-suggestion-type\x22>','type','createRange','span','1013520gxNONX','isIntersecting','getRanges','content','end','\x22></span>','19QYPQxv','splice','color','isTouching','map','14VIYuAB','start','schema','isObject','isMultiRange','split','729890QiXMrU','7318eMGPiF','value','title'];_0xeba8=function(){return _0x219a5d;};return _0xeba8();}function tn(_0x1507a4){const _0x1a41ca=_0x279d,_0x2417f4=document[_0x1a41ca(0x17b)](_0x1a41ca(0x18f));return _0x2417f4[_0x1a41ca(0x187)]=_0x1507a4,_0x2417f4[_0x1a41ca(0x1a7)];}export function sortSuggestions(_0x162dd9){const _0x3a3efc=_0x279d;return _0x162dd9[_0x3a3efc(0x17f)]((_0x58a493,_0x55b622)=>_0x3a3efc(0x17e)===_0x58a493[_0x3a3efc(0x18d)]&&_0x3a3efc(0x17e)!==_0x55b622[_0x3a3efc(0x18d)]?-0x1:_0x3a3efc(0x17e)!==_0x58a493[_0x3a3efc(0x18d)]&&_0x3a3efc(0x17e)===_0x55b622[_0x3a3efc(0x18d)]?0x1:_0x3a3efc(0x1ae)==_0x58a493[_0x3a3efc(0x18d)]&&_0x3a3efc(0x1ae)!=_0x55b622[_0x3a3efc(0x18d)]?-0x1:_0x3a3efc(0x1ae)!=_0x58a493[_0x3a3efc(0x18d)]&&_0x3a3efc(0x1ae)==_0x55b622[_0x3a3efc(0x18d)]?0x1:0x0);}export function getSelectedSuggestions(_0x481dc8,_0x120350){const _0x4e0f57=_0x279d,_0x2695de=Array[_0x4e0f57(0x179)](_0x481dc8[_0x4e0f57(0x192)]()),_0x2961dc=new Set();for(const _0xa62e39 of _0x120350)if(_0xa62e39[_0x4e0f57(0x17d)]){for(const _0x48f0ba of _0x2695de)for(const _0x2c7fa6 of _0xa62e39[_0x4e0f57(0x192)]())(_0x48f0ba[_0x4e0f57(0x191)](_0x2c7fa6)||_0x481dc8[_0x4e0f57(0x1a5)]&&!_0xa62e39[_0x4e0f57(0x19f)]&&_0xa62e39[_0x4e0f57(0x180)]&&_0x2c7fa6[_0x4e0f57(0x194)][_0x4e0f57(0x199)](_0x48f0ba[_0x4e0f57(0x19c)]))&&_0x2961dc[_0x4e0f57(0x17a)](_0xa62e39);}return _0x2961dc;}export function getRangesOfBlockGroups(_0x26f1cb,_0x3cd9b1){const _0x46009d=_0x279d;let _0xdc1643,_0x13cb8a=0x0;const _0x921457=[],_0x4591fb=_0x3cd9b1[_0x46009d(0x19d)];for(;_0x13cb8a<_0x26f1cb[_0x46009d(0x182)];){const _0x290d31=_0x26f1cb[_0x13cb8a],_0x39270e=_0x26f1cb[_0x13cb8a+0x1];_0xdc1643||(_0xdc1643=_0x3cd9b1[_0x46009d(0x188)](_0x290d31)),nn(_0x3cd9b1,_0x290d31,_0x39270e)||(_0x921457[_0x46009d(0x1ad)](_0x3cd9b1[_0x46009d(0x18e)](_0xdc1643,_0x4591fb[_0x46009d(0x19e)](_0x290d31)?_0x3cd9b1[_0x46009d(0x181)](_0x290d31):_0x3cd9b1[_0x46009d(0x1a8)](_0x290d31,_0x46009d(0x194)))),_0xdc1643=null),_0x13cb8a++;}return _0x921457;}function nn(_0x176b54,_0x2e56fa,_0x41ce82){const _0x3ba93b=_0x279d;if(!_0x41ce82)return!0x1;const _0x29eb47=_0x176b54[_0x3ba93b(0x181)](_0x2e56fa),_0x1dee2a=_0x176b54[_0x3ba93b(0x188)](_0x41ce82);return _0x29eb47[_0x3ba93b(0x199)](_0x1dee2a);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x37cd81,_0xbbc359,_0x4d878b){const _0x425b58=_0x279d;for(;_0x4d878b[_0x425b58(0x182)];){const _0x156e10=_0x4d878b[_0x425b58(0x197)](0x0,0x64);_0x37cd81[_0x425b58(0x1a9)](()=>{const _0x2de88a=_0x425b58;for(const _0x3f1f28 of _0x156e10)_0x3f1f28[_0x2de88a(0x17d)]&&_0xbbc359[_0x2de88a(0x1ac)](_0x3f1f28['id']);});}}
|