@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20251130.0 → 0.0.0-nightly-20251202.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 +28 -28
- 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 _0x28d227=_0x1291;(function(_0x1b1f70,_0x35491f){const _0x352ca6=_0x1291,_0x3b2a=_0x1b1f70();while(!![]){try{const _0x50f6a2=parseInt(_0x352ca6(0x162))/0x1+-parseInt(_0x352ca6(0x170))/0x2+-parseInt(_0x352ca6(0x16e))/0x3+-parseInt(_0x352ca6(0x163))/0x4*(-parseInt(_0x352ca6(0x167))/0x5)+parseInt(_0x352ca6(0x16a))/0x6*(parseInt(_0x352ca6(0x160))/0x7)+-parseInt(_0x352ca6(0x168))/0x8+parseInt(_0x352ca6(0x165))/0x9*(parseInt(_0x352ca6(0x16d))/0xa);if(_0x50f6a2===_0x35491f)break;else _0x3b2a['push'](_0x3b2a['shift']());}catch(_0x2db255){_0x3b2a['push'](_0x3b2a['shift']());}}}(_0x17dd,0x6c09d));function _0x1291(_0x5d84dd,_0x4a1d2b){const _0x17dd09=_0x17dd();return _0x1291=function(_0x1291cb,_0x468dcd){_0x1291cb=_0x1291cb-0x15e;let _0x327778=_0x17dd09[_0x1291cb];return _0x327778;},_0x1291(_0x5d84dd,_0x4a1d2b);}import{Plugin as _0x565500}from'ckeditor5/src/core.js';function _0x17dd(){const _0x59e468=['35cnyNdh','5452504PhQbjY','trackChanges.preview.renderFunction','24TpMYCS','config','isOfficialPlugin','2630030DhMilE','1933050fyqbcH','TrackChangesPreview','1566450mCqUza','requires','isPremiumPlugin','editor','add','define','commands','9429PHhFsK','appendChild','346223gLwGQF','355448roPKgY','pluginName','54WvzNJM','previewFinalContent'];_0x17dd=function(){return _0x59e468;};return _0x17dd();}import{Dialog as _0x2f39b4}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x3a63d2}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x2c2d8c}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x565500{static get[_0x28d227(0x171)](){return[_0x3a63d2,_0x2f39b4];}static get[_0x28d227(0x164)](){const _0x2e9fb2=_0x28d227;return _0x2e9fb2(0x16f);}static get[_0x28d227(0x16c)](){return!0x0;}static get[_0x28d227(0x172)](){return!0x0;}constructor(_0x17ff75){const _0x556728=_0x28d227;super(_0x17ff75),_0x17ff75[_0x556728(0x15f)][_0x556728(0x174)](_0x556728(0x166),new _0x2c2d8c(this[_0x556728(0x173)])),_0x17ff75[_0x556728(0x16b)][_0x556728(0x15e)](_0x556728(0x169),(_0x84f308,_0x15bcc9)=>{const _0x243c4b=_0x556728;for(const _0xf8c63b of _0x15bcc9)_0x84f308[_0x243c4b(0x161)](_0xf8c63b);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x36b38a=_0x7e80;(function(_0x910680,_0xebd795){const _0x34a002=_0x7e80,_0x2d1cb8=_0x910680();while(!![]){try{const _0x5e3d5b=parseInt(_0x34a002(0x15a))/0x1*(-parseInt(_0x34a002(0x195))/0x2)+parseInt(_0x34a002(0x197))/0x3*(parseInt(_0x34a002(0x19c))/0x4)+parseInt(_0x34a002(0x154))/0x5+parseInt(_0x34a002(0x17d))/0x6+-parseInt(_0x34a002(0x1d7))/0x7+parseInt(_0x34a002(0x1d9))/0x8*(-parseInt(_0x34a002(0x1a1))/0x9)+parseInt(_0x34a002(0x172))/0xa;if(_0x5e3d5b===_0xebd795)break;else _0x2d1cb8['push'](_0x2d1cb8['shift']());}catch(_0x297945){_0x2d1cb8['push'](_0x2d1cb8['shift']());}}}(_0x2c7d,0x89af0));import{Plugin as _0x1c5627}from'ckeditor5/src/core.js';import{Collection as _0x1697c9}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1171e3}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x12c472,createDropdown as _0x4e4b42,ListSeparatorView as _0x264d09,MenuBarMenuView as _0x44f630,MenuBarMenuListView as _0x19bab2,MenuBarMenuListItemView as _0x4ea92b,MenuBarMenuListItemButtonView as _0x543bef,SplitButtonView as _0x2a3860,UIModel as _0x3e30d3}from'ckeditor5/src/ui.js';import{Users as _0x4f50f0,getDateTimeFormatter as _0x29d751,getAllMarkersDomElementsSorted as _0x4328e1}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x4f3506}from'./trackchangesediting.js';function _0x2c7d(){const _0x4282cb=['componentFactory','some','refreshSelectedViews','_bindAnnotationToEditors','trackChangesLicenseKeyValid','model','trackChangesLicenseKeyEvaluationLimit','actionView','getMarkers','editing','remove','acceptSelectedSuggestions','isOn','descriptionFactory','isOfficialPlugin','lowest','push','_refreshActiveMarkers','Discard\x20all\x20suggestions','trackChanges.SuggestionThreadView','execute','buttonView','3179370kaCdrc','Discard\x20all\x20selected\x20suggestions','add','isInContent','unbind','previewFinalContent','menuitemcheckbox','suggestionLoaded','suggestionView','menuBar:trackChanges','isDirty','5602458AWZBBG','reduce','createAnnotationView','config','_disableComments','usageLimit','items','switchbutton','addMany','delegate','trialLimit','from','requires','comments','commands','acceptButton','_initializeController','CommentView','expired','isPremiumPlugin','panelView','clear','discardSelectedSuggestions','length','246rjwbig','createAnnotation','23235VyHWDR','button','has','locale','getSuggestionForAnnotation','256BdvxeQ','stopListening','trackChangesLicenseKeyDomainLimit','_suggestionToController','fire','18rnAKMN','arrowView','getRanges','menuitem','previous','plugins','getAnnotationForSuggestion','Track\x20changes','licenseKey','Accept\x20all\x20suggestions','TrackChanges','registerAnnotation','destroy','comments.editorConfig','CommentsUI','children','domainLimit','acceptAllSuggestions','head','_unbindEditors','_updateController','filter','CommentsRepository','_createToolbarButton','commentsListView','trackChangesLicenseKeyTrialLimit','getAllAdjacentSuggestions','evaluationLimit','source','getJoined','trackChangesLicenseKeyUsageLimit','discardAllSuggestions','trackChanges.disableComments','trackChangesLicenseKeyInvalid','_handleControllerBuffer','featureNotAllowed','get','keys','Accept\x20all\x20selected\x20suggestions','addSourceCollector','TrackChangesUI','toMany','getSuggestion','init','suggestionUnloaded','trackChanges','bind','Preview\x20final\x20content','activeAnnotations','getByInnerView','isMultiRange','descriptionParts','_viewToController','set','120722jcZrbB','type','1824424pWPacj','focus','separator','_createMenuBarMenu','_licenseKeyCheckInterval','trackChanges.SuggestionView','mainView','_annotationViews','commandName','size','getDescriptions','_destroyController','escape','SuggestionThreadView','comments.maxCommentCharsWhenCollapsed','comments.maxCommentsWhenCollapsed','define','TrackChangesPreview','trackChangesLicenseKeyExpired','EditorAnnotations','TrackChangesEditing','values','delete','innerView','hasSuggestion','SuggestionView','_addUIComponentsToFactory','invalid','trackChangesLicenseKeyNotAllowed','comments.maxThreadTotalWeight','createCommentThreadController','addComment','isEnabled','suggestionChanged','listenTo','change:previous','pluginName','Annotations','menu','change:activeAnnotations','_handleSuggestionControllerDelayed','value','getMarkerNames','suggestion-','editor','1997635VUHkaA','view','discardButton','commentThread','activeMarkers','getFirstRange','9021alUUsj','_showLicenseError'];_0x2c7d=function(){return _0x4282cb;};return _0x2c7d();}import{SuggestionController as _0x1135ab}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x46f76e}from'./ui/view/suggestionthreadview.js';function _0x7e80(_0x12bffc,_0x50065c){const _0x2c7d26=_0x2c7d();return _0x7e80=function(_0x7e80fd,_0x2e35bf){_0x7e80fd=_0x7e80fd-0x147;let _0x580fbd=_0x2c7d26[_0x7e80fd];return _0x580fbd;},_0x7e80(_0x12bffc,_0x50065c);}import{SuggestionView as _0x15b5a4}from'./ui/view/suggestionview.js';import{getTranslation as _0x2b6eec}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1c5627{[_0x36b38a(0x1a9)];[_0x36b38a(0x1dd)];[_0x36b38a(0x19f)];[_0x36b38a(0x1d5)];[_0x36b38a(0x1e0)];[_0x36b38a(0x1c3)];[_0x36b38a(0x181)];static get[_0x36b38a(0x189)](){const _0x36a7f8=_0x36b38a;return[_0x4f3506,_0x4f50f0,_0x36a7f8(0x1b7),_0x36a7f8(0x14c),_0x36a7f8(0x1ec)];}static get[_0x36b38a(0x14b)](){const _0x5d744b=_0x36b38a;return _0x5d744b(0x1c9);}static get[_0x36b38a(0x16a)](){return!0x0;}static get[_0x36b38a(0x190)](){return!0x0;}constructor(_0x1676ef){const _0x228b03=_0x36b38a;super(_0x1676ef),this[_0x228b03(0x19f)]=new Map(),this[_0x228b03(0x1d5)]=new Map(),this[_0x228b03(0x1e0)]=new Map(),this[_0x228b03(0x1c3)]=new Map();const _0x5bf980=this[_0x228b03(0x153)][_0x228b03(0x180)];_0x5bf980[_0x228b03(0x1e9)](_0x228b03(0x16f),_0x46f76e),_0x5bf980[_0x228b03(0x1e9)](_0x228b03(0x1de),_0x15b5a4),_0x5bf980[_0x228b03(0x1e9)](_0x228b03(0x1c1),!0x1),this[_0x228b03(0x181)]=_0x5bf980[_0x228b03(0x1c5)](_0x228b03(0x1c1));}[_0x36b38a(0x14f)](_0x2caf2a,_0x1579ec){const _0x3d41c7=_0x36b38a;0x0===this[_0x3d41c7(0x1c3)][_0x3d41c7(0x1e2)]&&setTimeout(()=>{const _0x3b2dd6=_0x3d41c7;for(const [_0x319dcf,_0x44b630]of this[_0x3b2dd6(0x1c3)]){const _0xc06f78=this[_0x3b2dd6(0x19f)][_0x3b2dd6(0x199)](_0x319dcf);_0xc06f78||_0x44b630?_0xc06f78&&_0x44b630&&this[_0x3b2dd6(0x1e4)](_0x319dcf):this[_0x3b2dd6(0x18d)](_0x319dcf);}this[_0x3b2dd6(0x1c3)][_0x3b2dd6(0x192)](),this[_0x3b2dd6(0x153)][_0x3b2dd6(0x1a6)][_0x3b2dd6(0x1c5)](_0x3b2dd6(0x1ec))[_0x3b2dd6(0x15e)](),this[_0x3b2dd6(0x16d)]();},0xa),this[_0x3d41c7(0x1c3)][_0x3d41c7(0x1d6)](_0x2caf2a,_0x1579ec);}[_0x36b38a(0x1cc)](){const _0xa0f1c=_0x36b38a,_0x3c850e=this[_0xa0f1c(0x153)],_0x1c1d54=_0x3c850e[_0xa0f1c(0x1a6)][_0xa0f1c(0x1c5)](_0xa0f1c(0x1ed)),_0x163649=_0x3c850e[_0xa0f1c(0x1a6)][_0xa0f1c(0x1c5)](_0xa0f1c(0x14c)),_0x4ea5c3=_0x3c850e[_0xa0f1c(0x1a6)][_0xa0f1c(0x1c5)](_0xa0f1c(0x1ec)),_0x24f8a7=_0x3c850e[_0xa0f1c(0x1a6)][_0xa0f1c(0x1c5)](_0xa0f1c(0x1b7));this[_0xa0f1c(0x1f3)](),_0x4ea5c3[_0xa0f1c(0x1c8)](()=>{const _0x46d605=_0xa0f1c,_0x40e974=[];for(const [_0x2eb9e3,_0x34e3ff]of Array[_0x46d605(0x188)](this[_0x46d605(0x19f)])){const _0x58df4a=_0x2eb9e3[_0x46d605(0x1bb)](),_0x50ee52=[];for(const _0x52aabc of _0x58df4a){if(!_0x52aabc[_0x46d605(0x175)])continue;if(_0x52aabc[_0x46d605(0x1d3)]){_0x50ee52[_0x46d605(0x16c)](..._0x52aabc[_0x46d605(0x1a3)]());continue;}const _0x1b60fe=_0x52aabc[_0x46d605(0x159)]();if(_0x50ee52[_0x46d605(0x194)]>0x0){const _0x4940b0=_0x50ee52[0x0][_0x46d605(0x1be)](_0x1b60fe);if(_0x4940b0){_0x50ee52[0x0]=_0x4940b0;continue;}}_0x50ee52[_0x46d605(0x16c)](_0x1b60fe);}_0x40e974[_0x46d605(0x16c)]([_0x34e3ff[_0x46d605(0x155)],_0x50ee52]);}return _0x40e974;}),this[_0xa0f1c(0x149)](_0x1c1d54,_0xa0f1c(0x179),(_0x50f54a,_0x5a260d)=>{const _0x2fb4fd=_0xa0f1c;this[_0x2fb4fd(0x149)](_0x5a260d,_0x2fb4fd(0x14a),(_0x522456,_0x7ac7b7,_0x1bb50d,_0x5cceee)=>{const _0x2aca5e=_0x2fb4fd;_0x5a260d[_0x2aca5e(0x175)]&&(null==_0x1bb50d?(this[_0x2aca5e(0x1b5)](_0x5cceee[_0x2aca5e(0x1b3)]),this[_0x2aca5e(0x14f)](_0x5a260d,!0x1)):(this[_0x2aca5e(0x1b5)](_0x1bb50d[_0x2aca5e(0x1b3)]),null==_0x5cceee&&this[_0x2aca5e(0x14f)](_0x5a260d,!0x0)));}),null!==_0x5a260d[_0x2fb4fd(0x1a5)]?this[_0x2fb4fd(0x1b5)](_0x5a260d[_0x2fb4fd(0x1b3)]):this[_0x2fb4fd(0x14f)](_0x5a260d,!0x1);}),this[_0xa0f1c(0x149)](_0x1c1d54,_0xa0f1c(0x1cd),(_0x5b2b45,_0xab5d88,_0x25f7f9)=>{const _0x585892=_0xa0f1c;this[_0x585892(0x19d)](_0xab5d88,_0x585892(0x14a)),this[_0x585892(0x1c3)][_0x585892(0x1ef)](_0xab5d88),this[_0x585892(0x19f)][_0x585892(0x199)](_0xab5d88)&&this[_0x585892(0x1e4)](_0xab5d88),_0x25f7f9&&this[_0x585892(0x1b5)](_0x25f7f9[_0x585892(0x1b3)]);}),this[_0xa0f1c(0x149)](_0x1c1d54,_0xa0f1c(0x148),(_0x5be1aa,_0x30729b)=>{const _0x2c4f3c=_0xa0f1c;this[_0x2c4f3c(0x1b5)](_0x30729b);}),this[_0xa0f1c(0x149)](_0x163649,_0xa0f1c(0x14e),()=>{const _0x36f084=_0xa0f1c;this[_0x36f084(0x16d)]();}),this[_0xa0f1c(0x149)](_0x24f8a7,_0xa0f1c(0x1f8),(_0x29523f,{threadId:_0x4d8d91,isFromAdapter:_0x33e9f9})=>{const _0x50fb1c=_0xa0f1c;if(_0x33e9f9||!_0x1c1d54[_0x50fb1c(0x1f1)](_0x4d8d91))return;const _0x355c73=_0x1c1d54[_0x50fb1c(0x1cb)](_0x4d8d91);this[_0x50fb1c(0x19f)][_0x50fb1c(0x1c5)](_0x355c73)[_0x50fb1c(0x155)][_0x50fb1c(0x1b9)][_0x50fb1c(0x1da)](-0x1);},{'priority':_0xa0f1c(0x16b)}),this[_0xa0f1c(0x1a9)]=this[_0xa0f1c(0x153)][_0xa0f1c(0x180)][_0xa0f1c(0x1c5)](_0xa0f1c(0x1a9));const _0x332e4b=this[_0xa0f1c(0x153)];this[_0xa0f1c(0x1dd)]=setInterval(()=>{const _0x5723c0=_0xa0f1c;let _0x55906d;for(const _0x59c102 in _0x332e4b){const _0xee3d32=_0x59c102,_0x635f13=_0x332e4b[_0xee3d32];if(_0x5723c0(0x160)==_0x635f13||_0x5723c0(0x1c2)==_0x635f13||_0x5723c0(0x1eb)==_0x635f13||_0x5723c0(0x19e)==_0x635f13||_0x5723c0(0x1f5)==_0x635f13||_0x5723c0(0x162)==_0x635f13||_0x5723c0(0x1ba)==_0x635f13||_0x5723c0(0x1bf)==_0x635f13){delete _0x332e4b[_0xee3d32],_0x55906d=_0x635f13,clearInterval(this[_0x5723c0(0x1dd)]),this[_0x5723c0(0x1dd)]=void 0x0;break;}}_0x5723c0(0x1c2)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x1f4)),_0x5723c0(0x1eb)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x18f)),_0x5723c0(0x19e)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x1b1)),_0x5723c0(0x1f5)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x1c4),_0x5723c0(0x1ab)),_0x5723c0(0x162)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x1bc)),_0x5723c0(0x1ba)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x187)),_0x5723c0(0x1bf)==_0x55906d&&_0x332e4b[_0x5723c0(0x15b)](_0x5723c0(0x182));},0x3e8);}[_0x36b38a(0x1a7)](_0x4b138f){const _0x51d49d=_0x36b38a,_0x8597d1=this[_0x51d49d(0x19f)][_0x51d49d(0x1c5)](_0x4b138f);if(!_0x8597d1)return null;return this[_0x51d49d(0x153)][_0x51d49d(0x1a6)][_0x51d49d(0x1c5)](_0x51d49d(0x14c))[_0x51d49d(0x1d2)](_0x8597d1[_0x51d49d(0x155)])||null;}[_0x36b38a(0x19b)](_0x34f6d3){const _0x1393c7=_0x36b38a,_0x407e18=this[_0x1393c7(0x1d5)][_0x1393c7(0x1c5)](_0x34f6d3[_0x1393c7(0x1f0)]);return _0x407e18?_0x407e18[_0x1393c7(0x161)]:null;}[_0x36b38a(0x16d)](){const _0x1b9af1=_0x36b38a,_0x47beab=this[_0x1b9af1(0x153)][_0x1b9af1(0x1a6)][_0x1b9af1(0x1c5)](_0x1b9af1(0x14c)),_0x48e4e7=this[_0x1b9af1(0x153)][_0x1b9af1(0x1a6)][_0x1b9af1(0x1c5)](_0x1b9af1(0x1ed)),_0x1799ae=Array[_0x1b9af1(0x188)](_0x47beab[_0x1b9af1(0x1d1)],_0x212df2=>_0x212df2[_0x1b9af1(0x1f0)])[_0x1b9af1(0x1b6)](_0x25589b=>this[_0x1b9af1(0x1d5)][_0x1b9af1(0x199)](_0x25589b)),_0xce1036=[];for(const _0x2e5b10 of _0x1799ae){const _0x27fd88=this[_0x1b9af1(0x1d5)][_0x1b9af1(0x1c5)](_0x2e5b10)[_0x1b9af1(0x161)][_0x1b9af1(0x1bb)]();_0xce1036[_0x1b9af1(0x16c)](..._0x27fd88[_0x1b9af1(0x17e)]((_0x251d1d,_0x870420)=>[..._0x251d1d,..._0x870420[_0x1b9af1(0x151)]()],[]));}_0x48e4e7[_0x1b9af1(0x158)]=_0xce1036;}[_0x36b38a(0x1f3)](){const _0x258006=_0x36b38a,_0x19cb02=this[_0x258006(0x153)],_0x31c362=_0x19cb02[_0x258006(0x19a)],_0x28afe1=_0x2b6eec(_0x31c362,_0x258006(0x1a8)),_0x3132d8=new _0x1697c9([{'type':_0x258006(0x184),'model':new _0x3e30d3({'withText':!0x0,'isToggleable':!0x0,'label':_0x28afe1,'commandName':_0x258006(0x1ce),'role':_0x258006(0x178)})},{'type':_0x258006(0x1db)},{'type':_0x258006(0x198),'model':new _0x3e30d3({'withText':!0x0,'label':_0x2b6eec(_0x31c362,_0x258006(0x1aa)),'commandName':_0x258006(0x1b2),'role':_0x258006(0x1a4)})},{'type':_0x258006(0x198),'model':new _0x3e30d3({'withText':!0x0,'label':_0x2b6eec(_0x31c362,_0x258006(0x1c7)),'commandName':_0x258006(0x167),'role':_0x258006(0x1a4)})},{'type':_0x258006(0x198),'model':new _0x3e30d3({'withText':!0x0,'label':_0x2b6eec(_0x31c362,_0x258006(0x16e)),'commandName':_0x258006(0x1c0),'role':_0x258006(0x1a4)})},{'type':_0x258006(0x198),'model':new _0x3e30d3({'withText':!0x0,'label':_0x2b6eec(_0x31c362,_0x258006(0x173)),'commandName':_0x258006(0x193),'role':_0x258006(0x1a4)})}]);_0x19cb02[_0x258006(0x1a6)][_0x258006(0x199)](_0x258006(0x1ea))&&_0x3132d8[_0x258006(0x185)]([{'type':_0x258006(0x1db)},{'type':_0x258006(0x198),'model':new _0x3e30d3({'withText':!0x0,'label':_0x2b6eec(_0x31c362,_0x258006(0x1d0)),'commandName':_0x258006(0x177),'role':_0x258006(0x1a4)})}]);for(const _0x25c2b2 of _0x3132d8)if(ke(_0x25c2b2)){const _0x39a681=_0x19cb02[_0x258006(0x18b)][_0x258006(0x1c5)](_0x25c2b2[_0x258006(0x161)][_0x258006(0x1e1)]);_0x25c2b2[_0x258006(0x161)][_0x258006(0x1cf)](_0x258006(0x168),_0x258006(0x147))['to'](_0x39a681,_0x258006(0x150),_0x258006(0x147));}_0x19cb02['ui'][_0x258006(0x15c)][_0x258006(0x174)](_0x258006(0x1ce),_0x2903a6=>this[_0x258006(0x1b8)](_0x2903a6,_0x3132d8,_0x28afe1)),_0x19cb02['ui'][_0x258006(0x15c)][_0x258006(0x174)](_0x258006(0x17b),_0x2555e3=>this[_0x258006(0x1dc)](_0x2555e3,_0x3132d8,_0x28afe1));}[_0x36b38a(0x1b8)](_0x1d0361,_0x5b46e7,_0x4e2b4c){const _0x563912=_0x36b38a,_0x4c434b=_0x4e4b42(_0x1d0361,_0x2a3860),_0x1613ca=this[_0x563912(0x153)][_0x563912(0x18b)][_0x563912(0x1c5)](_0x563912(0x1ce));_0x4c434b[_0x563912(0x171)][_0x563912(0x1d6)]({'tooltip':_0x4e2b4c,'label':_0x4e2b4c,'icon':_0x1171e3}),_0x4c434b[_0x563912(0x171)][_0x563912(0x1cf)](_0x563912(0x168))['to'](_0x1613ca,_0x563912(0x150)),_0x4c434b[_0x563912(0x171)]['on'](_0x563912(0x170),()=>{const _0x43da05=_0x563912;_0x1613ca[_0x43da05(0x170)](),this[_0x43da05(0x153)][_0x43da05(0x165)][_0x43da05(0x155)][_0x43da05(0x1da)]();}),_0x12c472(_0x4c434b,_0x5b46e7,{'role':_0x563912(0x14d)});const _0x457dd0=[];for(const _0x1ef7ab of _0x5b46e7)ke(_0x1ef7ab)&&_0x457dd0[_0x563912(0x16c)](this[_0x563912(0x153)][_0x563912(0x18b)][_0x563912(0x1c5)](_0x1ef7ab[_0x563912(0x161)][_0x563912(0x1e1)]));const _0xd5873b=_0x4c434b[_0x563912(0x171)];return _0xd5873b[_0x563912(0x163)][_0x563912(0x176)](_0x563912(0x147)),_0xd5873b[_0x563912(0x1a2)][_0x563912(0x176)](_0x563912(0x147)),_0xd5873b[_0x563912(0x163)][_0x563912(0x1cf)](_0x563912(0x147))['to'](_0x1613ca,_0x563912(0x147)),_0xd5873b[_0x563912(0x1a2)][_0x563912(0x1cf)](_0x563912(0x147))[_0x563912(0x1ca)](_0x457dd0,_0x563912(0x147),(..._0x2f7a98)=>_0x2f7a98[_0x563912(0x15d)](_0x2fc093=>_0x2fc093)),_0x4c434b['on'](_0x563912(0x170),_0x2eb404=>{const _0xcea275=_0x563912;this[_0xcea275(0x153)][_0xcea275(0x170)](_0x2eb404[_0xcea275(0x1bd)][_0xcea275(0x1e1)]),this[_0xcea275(0x153)][_0xcea275(0x165)][_0xcea275(0x155)][_0xcea275(0x1da)]();}),_0x4c434b;}[_0x36b38a(0x1dc)](_0x3c7d30,_0x133705,_0x258df6){const _0x113c90=_0x36b38a,_0x13e843=new _0x44f630(_0x3c7d30),_0x5e864e=this[_0x113c90(0x153)][_0x113c90(0x18b)][_0x113c90(0x1c5)](_0x113c90(0x1ce));_0x13e843[_0x113c90(0x171)][_0x113c90(0x1d6)]({'label':_0x258df6,'icon':_0x1171e3});const _0x320442=new _0x19bab2(_0x3c7d30);for(const _0x7764 of _0x133705){if(_0x113c90(0x1db)==_0x7764[_0x113c90(0x1d8)]){_0x320442[_0x113c90(0x183)][_0x113c90(0x174)](new _0x264d09(_0x3c7d30));continue;}const _0x5ca198=new _0x4ea92b(_0x3c7d30,_0x13e843),_0x2972f5=new _0x543bef(_0x3c7d30),_0x2bab9a=_0x7764[_0x113c90(0x161)];_0x2972f5[_0x113c90(0x1cf)](...Object[_0x113c90(0x1c6)](_0x2bab9a))['to'](_0x2bab9a),_0x2972f5[_0x113c90(0x186)](_0x113c90(0x170))['to'](_0x13e843),_0x2972f5['on'](_0x113c90(0x170),()=>{const _0x55b421=_0x113c90;this[_0x55b421(0x153)][_0x55b421(0x170)](_0x2bab9a[_0x55b421(0x1e1)]),this[_0x55b421(0x153)][_0x55b421(0x165)][_0x55b421(0x155)][_0x55b421(0x1da)]();}),_0x5ca198[_0x113c90(0x1b0)][_0x113c90(0x174)](_0x2972f5),_0x320442[_0x113c90(0x183)][_0x113c90(0x174)](_0x5ca198);}return _0x13e843[_0x113c90(0x1cf)](_0x113c90(0x147))['to'](_0x5e864e,_0x113c90(0x147)),_0x13e843[_0x113c90(0x191)][_0x113c90(0x1b0)][_0x113c90(0x174)](_0x320442),_0x13e843;}[_0x36b38a(0x18d)](_0x6a9207){const _0x1cc208=_0x36b38a,_0x5eb3d4=this[_0x1cc208(0x153)],_0x3b9a1d=_0x5eb3d4[_0x1cc208(0x180)],_0x4b288f=_0x5eb3d4[_0x1cc208(0x1a6)][_0x1cc208(0x1c5)](_0x1cc208(0x14c)),_0x1be4fa=_0x5eb3d4[_0x1cc208(0x1a6)][_0x1cc208(0x1c5)](_0x1cc208(0x1b7)),_0x1af888=_0x5eb3d4[_0x1cc208(0x1a6)][_0x1cc208(0x1c5)](_0x1cc208(0x1ec)),_0x399c4f=_0x5eb3d4[_0x1cc208(0x1a6)][_0x1cc208(0x1c5)](_0x4f50f0)['me'],_0x4ffc4c=_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1ce))[_0x1cc208(0x1e6)],_0x11804a=_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1ce))[_0x1cc208(0x1f2)],{CommentsListView:_0x16c128,CommentThreadInputView:_0x5f2db2}=_0x5eb3d4[_0x1cc208(0x1a6)][_0x1cc208(0x1c5)](_0x1cc208(0x1af));let _0x8be94d,_0x1b8b10,_0x5f31ff;this[_0x1cc208(0x1e0)][_0x1cc208(0x199)](_0x6a9207['id'])?(_0x1b8b10=this[_0x1cc208(0x1e0)][_0x1cc208(0x1c5)](_0x6a9207['id']),_0x8be94d=_0x1b8b10[_0x1cc208(0x1df)]):(_0x8be94d=new _0x4ffc4c(_0x5eb3d4[_0x1cc208(0x19a)],_0x6a9207,_0x399c4f,{'disableComments':this[_0x1cc208(0x181)],'editorConfig':{..._0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1ae)),'licenseKey':_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1a9))},'maxCommentsWhenCollapsed':_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1e8)),'maxThreadTotalWeight':_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1f6)),'maxCommentCharsWhenCollapsed':_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x1e7)),'formatDateTime':_0x29d751(_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x19a)),_0x5eb3d4[_0x1cc208(0x19a)]),'CommentView':_0x3b9a1d[_0x1cc208(0x1c5)](_0x1cc208(0x18a))[_0x1cc208(0x18e)],'CommentsListView':_0x16c128,'CommentThreadInputView':_0x5f2db2,'SuggestionView':_0x11804a}),_0x8be94d[_0x1cc208(0x17a)][_0x1cc208(0x18c)]['on'](_0x1cc208(0x170),()=>{const _0x206206=_0x1cc208;_0x5eb3d4[_0x206206(0x165)][_0x206206(0x155)][_0x206206(0x1da)]();}),_0x8be94d[_0x1cc208(0x17a)][_0x1cc208(0x156)]['on'](_0x1cc208(0x170),()=>{const _0x2b3f4b=_0x1cc208;_0x5eb3d4[_0x2b3f4b(0x165)][_0x2b3f4b(0x155)][_0x2b3f4b(0x1da)]();}),_0x1b8b10=_0x4b288f[_0x1cc208(0x17f)](this[_0x1cc208(0x153)][_0x1cc208(0x19a)],_0x8be94d),_0x1b8b10[_0x1cc208(0x1cf)](_0x1cc208(0x17c))['to'](_0x8be94d,_0x1cc208(0x17c)),_0x1b8b10[_0x1cc208(0x1cf)](_0x1cc208(0x194))['to'](_0x8be94d),_0x1b8b10[_0x1cc208(0x1cf)](_0x1cc208(0x1d8))['to'](_0x8be94d,_0x1cc208(0x1d8),_0x3f6eda=>_0x1cc208(0x152)+_0x3f6eda),_0x8be94d['on'](_0x1cc208(0x1e5),()=>{const _0x391273=_0x1cc208;_0x5f31ff[_0x391273(0x1a0)](_0x391273(0x1e5));}),this[_0x1cc208(0x1e0)][_0x1cc208(0x1d6)](_0x6a9207['id'],_0x1b8b10));const _0x521f51=_0x1be4fa[_0x1cc208(0x1f7)](_0x6a9207[_0x1cc208(0x157)],_0x8be94d),_0x78adfc=new _0x1135ab(_0x5eb3d4,_0x6a9207,_0x8be94d,_0x521f51),_0x5bd3f5=_0x6a9207[_0x1cc208(0x1bb)]()[_0x1cc208(0x1b6)](_0x417c8a=>_0x417c8a[_0x1cc208(0x175)]);_0x8be94d[_0x1cc208(0x1d4)]=_0x5eb3d4[_0x1cc208(0x1a6)][_0x1cc208(0x1c5)](_0x1cc208(0x1ed))[_0x1cc208(0x169)][_0x1cc208(0x1e3)](_0x5bd3f5),this[_0x1cc208(0x19f)][_0x1cc208(0x1d6)](_0x6a9207,_0x78adfc),this[_0x1cc208(0x1d5)][_0x1cc208(0x1d6)](_0x8be94d,_0x78adfc);const _0x467f95=()=>{const _0x2c2a29=_0x1cc208,_0x1f09b0=[],_0x5ae7e3=_0x6a9207[_0x2c2a29(0x1bb)]()[_0x2c2a29(0x1b6)](_0x517e78=>_0x517e78[_0x2c2a29(0x175)]);for(const _0x235580 of _0x5ae7e3)_0x1f09b0[_0x2c2a29(0x16c)](..._0x235580[_0x2c2a29(0x164)]());return _0x4328e1(_0x5eb3d4[_0x2c2a29(0x165)],_0x1f09b0);};_0x5f31ff=_0x4b288f[_0x1cc208(0x196)]({'view':_0x1b8b10,'target':_0x467f95,'type':()=>_0x1cc208(0x152)+_0x78adfc[_0x1cc208(0x155)][_0x1cc208(0x1d8)],'isVisible':!!_0x467f95()}),_0x1be4fa[_0x1cc208(0x15f)](_0x8be94d,_0x5f31ff),_0x4b288f[_0x1cc208(0x174)](_0x5f31ff),_0x1af888[_0x1cc208(0x1ac)](_0x5f31ff);}[_0x36b38a(0x1e4)](_0x197f14){const _0x363ba1=_0x36b38a,_0x4f8142=this[_0x363ba1(0x153)][_0x363ba1(0x1a6)][_0x363ba1(0x1c5)](_0x363ba1(0x1b7)),_0x4c5684=this[_0x363ba1(0x153)][_0x363ba1(0x1a6)][_0x363ba1(0x1c5)](_0x363ba1(0x14c)),_0x1f8d67=this[_0x363ba1(0x19f)][_0x363ba1(0x1c5)](_0x197f14),_0x47fa2a=_0x1f8d67[_0x363ba1(0x155)],_0x3839e4=_0x4c5684[_0x363ba1(0x1d2)](_0x47fa2a);_0x4f8142[_0x363ba1(0x1b4)](_0x47fa2a),_0x3839e4&&_0x4c5684[_0x363ba1(0x166)](_0x3839e4),this[_0x363ba1(0x19f)][_0x363ba1(0x1ef)](_0x197f14),this[_0x363ba1(0x1d5)][_0x363ba1(0x1ef)](_0x47fa2a),_0x1f8d67[_0x363ba1(0x1ad)]();}[_0x36b38a(0x1b5)](_0x3ae6fb){const _0x24e2cb=_0x36b38a;if(!_0x3ae6fb[_0x24e2cb(0x175)]||!this[_0x24e2cb(0x19f)][_0x24e2cb(0x199)](_0x3ae6fb))return;const _0x2f7f80=this[_0x24e2cb(0x153)][_0x24e2cb(0x1a6)][_0x24e2cb(0x1c5)](_0x24e2cb(0x1ed)),_0x2a9fe9=this[_0x24e2cb(0x19f)][_0x24e2cb(0x1c5)](_0x3ae6fb),_0x5b710c=_0x3ae6fb[_0x24e2cb(0x1bb)]();_0x2a9fe9[_0x24e2cb(0x155)][_0x24e2cb(0x1d4)]=_0x2f7f80[_0x24e2cb(0x169)][_0x24e2cb(0x1e3)](_0x5b710c);}[_0x36b38a(0x1ad)](){const _0x1d3a5d=_0x36b38a;for(const _0x2e4165 of this[_0x1d3a5d(0x19f)][_0x1d3a5d(0x1c6)]())this[_0x1d3a5d(0x1e4)](_0x2e4165);for(const _0x18ff57 of this[_0x1d3a5d(0x1e0)][_0x1d3a5d(0x1ee)]())_0x18ff57[_0x1d3a5d(0x1df)][_0x1d3a5d(0x1ad)]();super[_0x1d3a5d(0x1ad)](),this[_0x1d3a5d(0x1dd)]&&clearInterval(this[_0x1d3a5d(0x1dd)]);}}function ke(_0x33ac5d){const _0x57b325=_0x36b38a;return _0x57b325(0x161)in _0x33ac5d;}
|
|
23
|
+
const _0x5de8ae=_0x3b6c;(function(_0x2e6d57,_0x105f3b){const _0x297802=_0x3b6c,_0x183c7e=_0x2e6d57();while(!![]){try{const _0x20f639=-parseInt(_0x297802(0x220))/0x1*(-parseInt(_0x297802(0x1fa))/0x2)+parseInt(_0x297802(0x1ed))/0x3+-parseInt(_0x297802(0x189))/0x4*(parseInt(_0x297802(0x1c9))/0x5)+-parseInt(_0x297802(0x1d1))/0x6*(parseInt(_0x297802(0x17b))/0x7)+-parseInt(_0x297802(0x1bc))/0x8*(parseInt(_0x297802(0x1da))/0x9)+-parseInt(_0x297802(0x227))/0xa*(-parseInt(_0x297802(0x177))/0xb)+-parseInt(_0x297802(0x1a7))/0xc*(-parseInt(_0x297802(0x1c3))/0xd);if(_0x20f639===_0x105f3b)break;else _0x183c7e['push'](_0x183c7e['shift']());}catch(_0x300549){_0x183c7e['push'](_0x183c7e['shift']());}}}(_0x2c0c,0x22c2d));import{Plugin as _0x487423}from'ckeditor5/src/core.js';import{Collection as _0x5248b4}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x19d418}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x59fc90,createDropdown as _0x262148,ListSeparatorView as _0x124189,MenuBarMenuView as _0x3f54bb,MenuBarMenuListView as _0x17084f,MenuBarMenuListItemView as _0x24f395,MenuBarMenuListItemButtonView as _0x18dcf8,SplitButtonView as _0x4537dd,UIModel as _0x4bcebc}from'ckeditor5/src/ui.js';import{Users as _0x4db864,getDateTimeFormatter as _0x1f86c3,getAllMarkersDomElementsSorted as _0x1fd55e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2c3aa3}from'./trackchangesediting.js';import{SuggestionController as _0x1fca2}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x56f213}from'./ui/view/suggestionthreadview.js';function _0x2c0c(){const _0x189065=['isMultiRange','editor','trackChangesLicenseKeyTrialLimit','config','1028183YMzdRe','refreshSelectedViews','locale','_createToolbarButton','isOfficialPlugin','set','8295eAqFov','Discard\x20all\x20suggestions','TrackChangesPreview','trackChangesLicenseKeyValid','invalid','_handleControllerBuffer','evaluationLimit','Discard\x20all\x20selected\x20suggestions','36oVhVhM','change:previous','isInContent','discardSelectedSuggestions','define','trackChanges.SuggestionThreadView','isOn','getSuggestion','TrackChanges','2286DWZRBm','children','_annotationViews','button','trackChangesLicenseKeyUsageLimit','requires','componentFactory','suggestionChanged','_unbindEditors','from','discardAllSuggestions','hasSuggestion','stopListening','getDescriptions','featureNotAllowed','commands','Accept\x20all\x20suggestions','length','getFirstRange','647562yqkqFN','menuitemcheckbox','acceptSelectedSuggestions','getSuggestionForAnnotation','buttonView','comments.maxThreadTotalWeight','innerView','reduce','actionView','separator','source','Annotations','trackChangesLicenseKeyDomainLimit','2298hFuFNT','commentsListView','Preview\x20final\x20content','addMany','trackChangesLicenseKeyInvalid','_refreshActiveMarkers','delete','descriptionParts','getAnnotationForSuggestion','getRanges','comments','suggestionLoaded','previewFinalContent','CommentView','acceptButton','delegate','escape','some','domainLimit','menu','lowest','panelView','addSourceCollector','get','trackChanges.SuggestionView','_initializeController','_licenseKeyCheckInterval','trackChanges','CommentsUI','usageLimit','items','SuggestionView','EditorAnnotations','CommentsRepository','_addUIComponentsToFactory','activeMarkers','createAnnotation','view','62aaqUrW','descriptionFactory','focus','_showLicenseError','discardButton','editing','add','21990oBbsXa','values','comments.maxCommentCharsWhenCollapsed','menuitem','TrackChangesEditing','143byVRVI','_updateController','createCommentThreadController','trackChanges.disableComments','29834WYcznG','getMarkerNames','Track\x20changes','toMany','has','commentThread','activeAnnotations','licenseKey','unbind','Accept\x20all\x20selected\x20suggestions','acceptAllSuggestions','trialLimit','filter','suggestionView','188lpzdzR','isEnabled','isPremiumPlugin','commandName','createAnnotationView','expired','comments.editorConfig','menuBar:trackChanges','value','comments.maxCommentsWhenCollapsed','addComment','init','type','switchbutton','_disableComments','_destroyController','clear','_createMenuBarMenu','model','TrackChangesUI','getAllAdjacentSuggestions','destroy','isDirty','size','_viewToController','change:activeAnnotations','arrowView','remove','head','_handleSuggestionControllerDelayed','12DOZdea','pluginName','SuggestionThreadView','_suggestionToController','getMarkers','mainView','getByInnerView','suggestion-','previous','listenTo','getJoined','fire','registerAnnotation','keys','plugins','_bindAnnotationToEditors','trackChangesLicenseKeyEvaluationLimit','execute','trackChangesLicenseKeyExpired','suggestionUnloaded','trackChangesLicenseKeyNotAllowed','4688KzQReS','push','bind'];_0x2c0c=function(){return _0x189065;};return _0x2c0c();}import{SuggestionView as _0x3decab}from'./ui/view/suggestionview.js';function _0x3b6c(_0x4a6e3b,_0x22c672){const _0x2c0c4b=_0x2c0c();return _0x3b6c=function(_0x3b6c95,_0x34c4fb){_0x3b6c95=_0x3b6c95-0x175;let _0x30d1a5=_0x2c0c4b[_0x3b6c95];return _0x30d1a5;},_0x3b6c(_0x4a6e3b,_0x22c672);}import{getTranslation as _0x4c8ba7}from'./utils/common-translations.js';export class TrackChangesUI extends _0x487423{[_0x5de8ae(0x182)];[_0x5de8ae(0x214)];[_0x5de8ae(0x1aa)];[_0x5de8ae(0x1a1)];[_0x5de8ae(0x1dc)];[_0x5de8ae(0x1ce)];[_0x5de8ae(0x197)];static get[_0x5de8ae(0x1df)](){const _0x728102=_0x5de8ae;return[_0x2c3aa3,_0x4db864,_0x728102(0x21b),_0x728102(0x1f8),_0x728102(0x21a)];}static get[_0x5de8ae(0x1a8)](){const _0x4819cd=_0x5de8ae;return _0x4819cd(0x19c);}static get[_0x5de8ae(0x1c7)](){return!0x0;}static get[_0x5de8ae(0x18b)](){return!0x0;}constructor(_0x3c67b6){const _0x29135a=_0x5de8ae;super(_0x3c67b6),this[_0x29135a(0x1aa)]=new Map(),this[_0x29135a(0x1a1)]=new Map(),this[_0x29135a(0x1dc)]=new Map(),this[_0x29135a(0x1ce)]=new Map();const _0x42d5ce=this[_0x29135a(0x1c0)][_0x29135a(0x1c2)];_0x42d5ce[_0x29135a(0x1d5)](_0x29135a(0x1d6),_0x56f213),_0x42d5ce[_0x29135a(0x1d5)](_0x29135a(0x212),_0x3decab),_0x42d5ce[_0x29135a(0x1d5)](_0x29135a(0x17a),!0x1),this[_0x29135a(0x197)]=_0x42d5ce[_0x29135a(0x211)](_0x29135a(0x17a));}[_0x5de8ae(0x1a6)](_0x145302,_0x19e70c){const _0x2bdc42=_0x5de8ae;0x0===this[_0x2bdc42(0x1ce)][_0x2bdc42(0x1a0)]&&setTimeout(()=>{const _0x1072c0=_0x2bdc42;for(const [_0x4bd3de,_0x2eac15]of this[_0x1072c0(0x1ce)]){const _0x1ed68c=this[_0x1072c0(0x1aa)][_0x1072c0(0x17f)](_0x4bd3de);_0x1ed68c||_0x2eac15?_0x1ed68c&&_0x2eac15&&this[_0x1072c0(0x198)](_0x4bd3de):this[_0x1072c0(0x213)](_0x4bd3de);}this[_0x1072c0(0x1ce)][_0x1072c0(0x199)](),this[_0x1072c0(0x1c0)][_0x1072c0(0x1b5)][_0x1072c0(0x211)](_0x1072c0(0x21a))[_0x1072c0(0x1c4)](),this[_0x1072c0(0x1ff)]();},0xa),this[_0x2bdc42(0x1ce)][_0x2bdc42(0x1c8)](_0x145302,_0x19e70c);}[_0x5de8ae(0x194)](){const _0x2807ab=_0x5de8ae,_0x1d45c9=this[_0x2807ab(0x1c0)],_0xbfa830=_0x1d45c9[_0x2807ab(0x1b5)][_0x2807ab(0x211)](_0x2807ab(0x176)),_0x3c057e=_0x1d45c9[_0x2807ab(0x1b5)][_0x2807ab(0x211)](_0x2807ab(0x1f8)),_0x49cc9f=_0x1d45c9[_0x2807ab(0x1b5)][_0x2807ab(0x211)](_0x2807ab(0x21a)),_0x4c4123=_0x1d45c9[_0x2807ab(0x1b5)][_0x2807ab(0x211)](_0x2807ab(0x21b));this[_0x2807ab(0x21c)](),_0x49cc9f[_0x2807ab(0x210)](()=>{const _0x199270=_0x2807ab,_0x47bd86=[];for(const [_0x3dc333,_0x5343e4]of Array[_0x199270(0x1e3)](this[_0x199270(0x1aa)])){const _0x442b1d=_0x3dc333[_0x199270(0x19d)](),_0x3de741=[];for(const _0x535839 of _0x442b1d){if(!_0x535839[_0x199270(0x1d3)])continue;if(_0x535839[_0x199270(0x1bf)]){_0x3de741[_0x199270(0x1bd)](..._0x535839[_0x199270(0x203)]());continue;}const _0x2cba2a=_0x535839[_0x199270(0x1ec)]();if(_0x3de741[_0x199270(0x1eb)]>0x0){const _0x3c5cab=_0x3de741[0x0][_0x199270(0x1b1)](_0x2cba2a);if(_0x3c5cab){_0x3de741[0x0]=_0x3c5cab;continue;}}_0x3de741[_0x199270(0x1bd)](_0x2cba2a);}_0x47bd86[_0x199270(0x1bd)]([_0x5343e4[_0x199270(0x21f)],_0x3de741]);}return _0x47bd86;}),this[_0x2807ab(0x1b0)](_0xbfa830,_0x2807ab(0x205),(_0x1d5b9a,_0x2739c4)=>{const _0x36c0e3=_0x2807ab;this[_0x36c0e3(0x1b0)](_0x2739c4,_0x36c0e3(0x1d2),(_0x1a57b6,_0x177a85,_0x13c87d,_0x1b6229)=>{const _0x211710=_0x36c0e3;_0x2739c4[_0x211710(0x1d3)]&&(null==_0x13c87d?(this[_0x211710(0x178)](_0x1b6229[_0x211710(0x1a5)]),this[_0x211710(0x1a6)](_0x2739c4,!0x1)):(this[_0x211710(0x178)](_0x13c87d[_0x211710(0x1a5)]),null==_0x1b6229&&this[_0x211710(0x1a6)](_0x2739c4,!0x0)));}),null!==_0x2739c4[_0x36c0e3(0x1af)]?this[_0x36c0e3(0x178)](_0x2739c4[_0x36c0e3(0x1a5)]):this[_0x36c0e3(0x1a6)](_0x2739c4,!0x1);}),this[_0x2807ab(0x1b0)](_0xbfa830,_0x2807ab(0x1ba),(_0x1a8cb7,_0x4837db,_0x270daf)=>{const _0x3a4795=_0x2807ab;this[_0x3a4795(0x1e6)](_0x4837db,_0x3a4795(0x1d2)),this[_0x3a4795(0x1ce)][_0x3a4795(0x200)](_0x4837db),this[_0x3a4795(0x1aa)][_0x3a4795(0x17f)](_0x4837db)&&this[_0x3a4795(0x198)](_0x4837db),_0x270daf&&this[_0x3a4795(0x178)](_0x270daf[_0x3a4795(0x1a5)]);}),this[_0x2807ab(0x1b0)](_0xbfa830,_0x2807ab(0x1e1),(_0x13516c,_0x100231)=>{const _0x54fc8a=_0x2807ab;this[_0x54fc8a(0x178)](_0x100231);}),this[_0x2807ab(0x1b0)](_0x3c057e,_0x2807ab(0x1a2),()=>{const _0x294aca=_0x2807ab;this[_0x294aca(0x1ff)]();}),this[_0x2807ab(0x1b0)](_0x4c4123,_0x2807ab(0x193),(_0x4715d0,{threadId:_0x18c0bc,isFromAdapter:_0x5db1f7})=>{const _0xb3011c=_0x2807ab;if(_0x5db1f7||!_0xbfa830[_0xb3011c(0x1e5)](_0x18c0bc))return;const _0xfd211e=_0xbfa830[_0xb3011c(0x1d8)](_0x18c0bc);this[_0xb3011c(0x1aa)][_0xb3011c(0x211)](_0xfd211e)[_0xb3011c(0x21f)][_0xb3011c(0x1fb)][_0xb3011c(0x222)](-0x1);},{'priority':_0x2807ab(0x20e)}),this[_0x2807ab(0x182)]=this[_0x2807ab(0x1c0)][_0x2807ab(0x1c2)][_0x2807ab(0x211)](_0x2807ab(0x182));const _0x5d2c4c=this[_0x2807ab(0x1c0)];this[_0x2807ab(0x214)]=setInterval(()=>{const _0x1adca7=_0x2807ab;let _0x4ba799;for(const _0x43fa1f in _0x5d2c4c){const _0x58995a=_0x43fa1f,_0xce998c=_0x5d2c4c[_0x58995a];if(_0x1adca7(0x1cc)==_0xce998c||_0x1adca7(0x1fe)==_0xce998c||_0x1adca7(0x1b9)==_0xce998c||_0x1adca7(0x1f9)==_0xce998c||_0x1adca7(0x1bb)==_0xce998c||_0x1adca7(0x1b7)==_0xce998c||_0x1adca7(0x1c1)==_0xce998c||_0x1adca7(0x1de)==_0xce998c){delete _0x5d2c4c[_0x58995a],_0x4ba799=_0xce998c,clearInterval(this[_0x1adca7(0x214)]),this[_0x1adca7(0x214)]=void 0x0;break;}}_0x1adca7(0x1fe)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x1cd)),_0x1adca7(0x1b9)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x18e)),_0x1adca7(0x1f9)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x20c)),_0x1adca7(0x1bb)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x1e8),_0x1adca7(0x1d9)),_0x1adca7(0x1b7)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x1cf)),_0x1adca7(0x1c1)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x186)),_0x1adca7(0x1de)==_0x4ba799&&_0x5d2c4c[_0x1adca7(0x223)](_0x1adca7(0x217));},0x3e8);}[_0x5de8ae(0x202)](_0x1c53ff){const _0x184d1a=_0x5de8ae,_0x52b9f0=this[_0x184d1a(0x1aa)][_0x184d1a(0x211)](_0x1c53ff);if(!_0x52b9f0)return null;return this[_0x184d1a(0x1c0)][_0x184d1a(0x1b5)][_0x184d1a(0x211)](_0x184d1a(0x1f8))[_0x184d1a(0x1ad)](_0x52b9f0[_0x184d1a(0x21f)])||null;}[_0x5de8ae(0x1f0)](_0x12ffe1){const _0x17258f=_0x5de8ae,_0x34c90f=this[_0x17258f(0x1a1)][_0x17258f(0x211)](_0x12ffe1[_0x17258f(0x1f3)]);return _0x34c90f?_0x34c90f[_0x17258f(0x19b)]:null;}[_0x5de8ae(0x1ff)](){const _0x3e9f85=_0x5de8ae,_0x157dc7=this[_0x3e9f85(0x1c0)][_0x3e9f85(0x1b5)][_0x3e9f85(0x211)](_0x3e9f85(0x1f8)),_0x4adcab=this[_0x3e9f85(0x1c0)][_0x3e9f85(0x1b5)][_0x3e9f85(0x211)](_0x3e9f85(0x176)),_0x271035=Array[_0x3e9f85(0x1e3)](_0x157dc7[_0x3e9f85(0x181)],_0x493e02=>_0x493e02[_0x3e9f85(0x1f3)])[_0x3e9f85(0x187)](_0x2f8169=>this[_0x3e9f85(0x1a1)][_0x3e9f85(0x17f)](_0x2f8169)),_0x19f2e5=[];for(const _0x5468d5 of _0x271035){const _0x5516ea=this[_0x3e9f85(0x1a1)][_0x3e9f85(0x211)](_0x5468d5)[_0x3e9f85(0x19b)][_0x3e9f85(0x19d)]();_0x19f2e5[_0x3e9f85(0x1bd)](..._0x5516ea[_0x3e9f85(0x1f4)]((_0x2e4d38,_0x2c6e8c)=>[..._0x2e4d38,..._0x2c6e8c[_0x3e9f85(0x17c)]()],[]));}_0x4adcab[_0x3e9f85(0x21d)]=_0x19f2e5;}[_0x5de8ae(0x21c)](){const _0x2f2897=_0x5de8ae,_0x39e235=this[_0x2f2897(0x1c0)],_0x54b22e=_0x39e235[_0x2f2897(0x1c5)],_0x574e9a=_0x4c8ba7(_0x54b22e,_0x2f2897(0x17d)),_0xf080d6=new _0x5248b4([{'type':_0x2f2897(0x196),'model':new _0x4bcebc({'withText':!0x0,'isToggleable':!0x0,'label':_0x574e9a,'commandName':_0x2f2897(0x215),'role':_0x2f2897(0x1ee)})},{'type':_0x2f2897(0x1f6)},{'type':_0x2f2897(0x1dd),'model':new _0x4bcebc({'withText':!0x0,'label':_0x4c8ba7(_0x54b22e,_0x2f2897(0x1ea)),'commandName':_0x2f2897(0x185),'role':_0x2f2897(0x175)})},{'type':_0x2f2897(0x1dd),'model':new _0x4bcebc({'withText':!0x0,'label':_0x4c8ba7(_0x54b22e,_0x2f2897(0x184)),'commandName':_0x2f2897(0x1ef),'role':_0x2f2897(0x175)})},{'type':_0x2f2897(0x1dd),'model':new _0x4bcebc({'withText':!0x0,'label':_0x4c8ba7(_0x54b22e,_0x2f2897(0x1ca)),'commandName':_0x2f2897(0x1e4),'role':_0x2f2897(0x175)})},{'type':_0x2f2897(0x1dd),'model':new _0x4bcebc({'withText':!0x0,'label':_0x4c8ba7(_0x54b22e,_0x2f2897(0x1d0)),'commandName':_0x2f2897(0x1d4),'role':_0x2f2897(0x175)})}]);_0x39e235[_0x2f2897(0x1b5)][_0x2f2897(0x17f)](_0x2f2897(0x1cb))&&_0xf080d6[_0x2f2897(0x1fd)]([{'type':_0x2f2897(0x1f6)},{'type':_0x2f2897(0x1dd),'model':new _0x4bcebc({'withText':!0x0,'label':_0x4c8ba7(_0x54b22e,_0x2f2897(0x1fc)),'commandName':_0x2f2897(0x206),'role':_0x2f2897(0x175)})}]);for(const _0x2efe28 of _0xf080d6)if(ke(_0x2efe28)){const _0x5bfeaf=_0x39e235[_0x2f2897(0x1e9)][_0x2f2897(0x211)](_0x2efe28[_0x2f2897(0x19b)][_0x2f2897(0x18c)]);_0x2efe28[_0x2f2897(0x19b)][_0x2f2897(0x1be)](_0x2f2897(0x1d7),_0x2f2897(0x18a))['to'](_0x5bfeaf,_0x2f2897(0x191),_0x2f2897(0x18a));}_0x39e235['ui'][_0x2f2897(0x1e0)][_0x2f2897(0x226)](_0x2f2897(0x215),_0x57f6f2=>this[_0x2f2897(0x1c6)](_0x57f6f2,_0xf080d6,_0x574e9a)),_0x39e235['ui'][_0x2f2897(0x1e0)][_0x2f2897(0x226)](_0x2f2897(0x190),_0x28d389=>this[_0x2f2897(0x19a)](_0x28d389,_0xf080d6,_0x574e9a));}[_0x5de8ae(0x1c6)](_0xd7ee5c,_0x4fe45a,_0x42c3c5){const _0x55a461=_0x5de8ae,_0x3f39ce=_0x262148(_0xd7ee5c,_0x4537dd),_0x2698fd=this[_0x55a461(0x1c0)][_0x55a461(0x1e9)][_0x55a461(0x211)](_0x55a461(0x215));_0x3f39ce[_0x55a461(0x1f1)][_0x55a461(0x1c8)]({'tooltip':_0x42c3c5,'label':_0x42c3c5,'icon':_0x19d418}),_0x3f39ce[_0x55a461(0x1f1)][_0x55a461(0x1be)](_0x55a461(0x1d7))['to'](_0x2698fd,_0x55a461(0x191)),_0x3f39ce[_0x55a461(0x1f1)]['on'](_0x55a461(0x1b8),()=>{const _0x56004c=_0x55a461;_0x2698fd[_0x56004c(0x1b8)](),this[_0x56004c(0x1c0)][_0x56004c(0x225)][_0x56004c(0x21f)][_0x56004c(0x222)]();}),_0x59fc90(_0x3f39ce,_0x4fe45a,{'role':_0x55a461(0x20d)});const _0x21ab76=[];for(const _0x14eb7e of _0x4fe45a)ke(_0x14eb7e)&&_0x21ab76[_0x55a461(0x1bd)](this[_0x55a461(0x1c0)][_0x55a461(0x1e9)][_0x55a461(0x211)](_0x14eb7e[_0x55a461(0x19b)][_0x55a461(0x18c)]));const _0x4785e9=_0x3f39ce[_0x55a461(0x1f1)];return _0x4785e9[_0x55a461(0x1f5)][_0x55a461(0x183)](_0x55a461(0x18a)),_0x4785e9[_0x55a461(0x1a3)][_0x55a461(0x183)](_0x55a461(0x18a)),_0x4785e9[_0x55a461(0x1f5)][_0x55a461(0x1be)](_0x55a461(0x18a))['to'](_0x2698fd,_0x55a461(0x18a)),_0x4785e9[_0x55a461(0x1a3)][_0x55a461(0x1be)](_0x55a461(0x18a))[_0x55a461(0x17e)](_0x21ab76,_0x55a461(0x18a),(..._0x35d598)=>_0x35d598[_0x55a461(0x20b)](_0x580306=>_0x580306)),_0x3f39ce['on'](_0x55a461(0x1b8),_0x432e02=>{const _0x50941d=_0x55a461;this[_0x50941d(0x1c0)][_0x50941d(0x1b8)](_0x432e02[_0x50941d(0x1f7)][_0x50941d(0x18c)]),this[_0x50941d(0x1c0)][_0x50941d(0x225)][_0x50941d(0x21f)][_0x50941d(0x222)]();}),_0x3f39ce;}[_0x5de8ae(0x19a)](_0x368ce9,_0x26927f,_0x12186e){const _0x1d234c=_0x5de8ae,_0x267d14=new _0x3f54bb(_0x368ce9),_0x192be1=this[_0x1d234c(0x1c0)][_0x1d234c(0x1e9)][_0x1d234c(0x211)](_0x1d234c(0x215));_0x267d14[_0x1d234c(0x1f1)][_0x1d234c(0x1c8)]({'label':_0x12186e,'icon':_0x19d418});const _0x2ac700=new _0x17084f(_0x368ce9);for(const _0xa22387 of _0x26927f){if(_0x1d234c(0x1f6)==_0xa22387[_0x1d234c(0x195)]){_0x2ac700[_0x1d234c(0x218)][_0x1d234c(0x226)](new _0x124189(_0x368ce9));continue;}const _0x34ddcf=new _0x24f395(_0x368ce9,_0x267d14),_0x58d62e=new _0x18dcf8(_0x368ce9),_0x28547a=_0xa22387[_0x1d234c(0x19b)];_0x58d62e[_0x1d234c(0x1be)](...Object[_0x1d234c(0x1b4)](_0x28547a))['to'](_0x28547a),_0x58d62e[_0x1d234c(0x209)](_0x1d234c(0x1b8))['to'](_0x267d14),_0x58d62e['on'](_0x1d234c(0x1b8),()=>{const _0x7b3746=_0x1d234c;this[_0x7b3746(0x1c0)][_0x7b3746(0x1b8)](_0x28547a[_0x7b3746(0x18c)]),this[_0x7b3746(0x1c0)][_0x7b3746(0x225)][_0x7b3746(0x21f)][_0x7b3746(0x222)]();}),_0x34ddcf[_0x1d234c(0x1db)][_0x1d234c(0x226)](_0x58d62e),_0x2ac700[_0x1d234c(0x218)][_0x1d234c(0x226)](_0x34ddcf);}return _0x267d14[_0x1d234c(0x1be)](_0x1d234c(0x18a))['to'](_0x192be1,_0x1d234c(0x18a)),_0x267d14[_0x1d234c(0x20f)][_0x1d234c(0x1db)][_0x1d234c(0x226)](_0x2ac700),_0x267d14;}[_0x5de8ae(0x213)](_0x3d7730){const _0x1b13f8=_0x5de8ae,_0x4b579a=this[_0x1b13f8(0x1c0)],_0x5c70b6=_0x4b579a[_0x1b13f8(0x1c2)],_0x4e91b1=_0x4b579a[_0x1b13f8(0x1b5)][_0x1b13f8(0x211)](_0x1b13f8(0x1f8)),_0x1afc69=_0x4b579a[_0x1b13f8(0x1b5)][_0x1b13f8(0x211)](_0x1b13f8(0x21b)),_0x14a9d2=_0x4b579a[_0x1b13f8(0x1b5)][_0x1b13f8(0x211)](_0x1b13f8(0x21a)),_0x47020b=_0x4b579a[_0x1b13f8(0x1b5)][_0x1b13f8(0x211)](_0x4db864)['me'],_0x59f86c=_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x215))[_0x1b13f8(0x1a9)],_0x4ba26b=_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x215))[_0x1b13f8(0x219)],{CommentsListView:_0x2f811d,CommentThreadInputView:_0x835d8f}=_0x4b579a[_0x1b13f8(0x1b5)][_0x1b13f8(0x211)](_0x1b13f8(0x216));let _0x57ccf8,_0xdd4dad,_0x6b88cc;this[_0x1b13f8(0x1dc)][_0x1b13f8(0x17f)](_0x3d7730['id'])?(_0xdd4dad=this[_0x1b13f8(0x1dc)][_0x1b13f8(0x211)](_0x3d7730['id']),_0x57ccf8=_0xdd4dad[_0x1b13f8(0x1ac)]):(_0x57ccf8=new _0x59f86c(_0x4b579a[_0x1b13f8(0x1c5)],_0x3d7730,_0x47020b,{'disableComments':this[_0x1b13f8(0x197)],'editorConfig':{..._0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x18f)),'licenseKey':_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x182))},'maxCommentsWhenCollapsed':_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x192)),'maxThreadTotalWeight':_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x1f2)),'maxCommentCharsWhenCollapsed':_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x229)),'formatDateTime':_0x1f86c3(_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x1c5)),_0x4b579a[_0x1b13f8(0x1c5)]),'CommentView':_0x5c70b6[_0x1b13f8(0x211)](_0x1b13f8(0x204))[_0x1b13f8(0x207)],'CommentsListView':_0x2f811d,'CommentThreadInputView':_0x835d8f,'SuggestionView':_0x4ba26b}),_0x57ccf8[_0x1b13f8(0x188)][_0x1b13f8(0x208)]['on'](_0x1b13f8(0x1b8),()=>{const _0x3afbaa=_0x1b13f8;_0x4b579a[_0x3afbaa(0x225)][_0x3afbaa(0x21f)][_0x3afbaa(0x222)]();}),_0x57ccf8[_0x1b13f8(0x188)][_0x1b13f8(0x224)]['on'](_0x1b13f8(0x1b8),()=>{const _0x1d1540=_0x1b13f8;_0x4b579a[_0x1d1540(0x225)][_0x1d1540(0x21f)][_0x1d1540(0x222)]();}),_0xdd4dad=_0x4e91b1[_0x1b13f8(0x18d)](this[_0x1b13f8(0x1c0)][_0x1b13f8(0x1c5)],_0x57ccf8),_0xdd4dad[_0x1b13f8(0x1be)](_0x1b13f8(0x19f))['to'](_0x57ccf8,_0x1b13f8(0x19f)),_0xdd4dad[_0x1b13f8(0x1be)](_0x1b13f8(0x1eb))['to'](_0x57ccf8),_0xdd4dad[_0x1b13f8(0x1be)](_0x1b13f8(0x195))['to'](_0x57ccf8,_0x1b13f8(0x195),_0x414071=>_0x1b13f8(0x1ae)+_0x414071),_0x57ccf8['on'](_0x1b13f8(0x20a),()=>{const _0x22e8eb=_0x1b13f8;_0x6b88cc[_0x22e8eb(0x1b2)](_0x22e8eb(0x20a));}),this[_0x1b13f8(0x1dc)][_0x1b13f8(0x1c8)](_0x3d7730['id'],_0xdd4dad));const _0x2f8770=_0x1afc69[_0x1b13f8(0x179)](_0x3d7730[_0x1b13f8(0x180)],_0x57ccf8),_0x160962=new _0x1fca2(_0x4b579a,_0x3d7730,_0x57ccf8,_0x2f8770),_0x1dd67d=_0x3d7730[_0x1b13f8(0x19d)]()[_0x1b13f8(0x187)](_0x22d15d=>_0x22d15d[_0x1b13f8(0x1d3)]);_0x57ccf8[_0x1b13f8(0x201)]=_0x4b579a[_0x1b13f8(0x1b5)][_0x1b13f8(0x211)](_0x1b13f8(0x176))[_0x1b13f8(0x221)][_0x1b13f8(0x1e7)](_0x1dd67d),this[_0x1b13f8(0x1aa)][_0x1b13f8(0x1c8)](_0x3d7730,_0x160962),this[_0x1b13f8(0x1a1)][_0x1b13f8(0x1c8)](_0x57ccf8,_0x160962);const _0x2509f7=()=>{const _0x5f1602=_0x1b13f8,_0x719976=[],_0x1daca7=_0x3d7730[_0x5f1602(0x19d)]()[_0x5f1602(0x187)](_0x48b93f=>_0x48b93f[_0x5f1602(0x1d3)]);for(const _0x4e2312 of _0x1daca7)_0x719976[_0x5f1602(0x1bd)](..._0x4e2312[_0x5f1602(0x1ab)]());return _0x1fd55e(_0x4b579a[_0x5f1602(0x225)],_0x719976);};_0x6b88cc=_0x4e91b1[_0x1b13f8(0x21e)]({'view':_0xdd4dad,'target':_0x2509f7,'type':()=>_0x1b13f8(0x1ae)+_0x160962[_0x1b13f8(0x21f)][_0x1b13f8(0x195)],'isVisible':!!_0x2509f7()}),_0x1afc69[_0x1b13f8(0x1b6)](_0x57ccf8,_0x6b88cc),_0x4e91b1[_0x1b13f8(0x226)](_0x6b88cc),_0x14a9d2[_0x1b13f8(0x1b3)](_0x6b88cc);}[_0x5de8ae(0x198)](_0x171321){const _0x1b815a=_0x5de8ae,_0x2fce49=this[_0x1b815a(0x1c0)][_0x1b815a(0x1b5)][_0x1b815a(0x211)](_0x1b815a(0x21b)),_0x5079f1=this[_0x1b815a(0x1c0)][_0x1b815a(0x1b5)][_0x1b815a(0x211)](_0x1b815a(0x1f8)),_0x15f17c=this[_0x1b815a(0x1aa)][_0x1b815a(0x211)](_0x171321),_0x8d37af=_0x15f17c[_0x1b815a(0x21f)],_0x5c5c47=_0x5079f1[_0x1b815a(0x1ad)](_0x8d37af);_0x2fce49[_0x1b815a(0x1e2)](_0x8d37af),_0x5c5c47&&_0x5079f1[_0x1b815a(0x1a4)](_0x5c5c47),this[_0x1b815a(0x1aa)][_0x1b815a(0x200)](_0x171321),this[_0x1b815a(0x1a1)][_0x1b815a(0x200)](_0x8d37af),_0x15f17c[_0x1b815a(0x19e)]();}[_0x5de8ae(0x178)](_0x2dd485){const _0x222f30=_0x5de8ae;if(!_0x2dd485[_0x222f30(0x1d3)]||!this[_0x222f30(0x1aa)][_0x222f30(0x17f)](_0x2dd485))return;const _0x5a64c5=this[_0x222f30(0x1c0)][_0x222f30(0x1b5)][_0x222f30(0x211)](_0x222f30(0x176)),_0x3e6cc0=this[_0x222f30(0x1aa)][_0x222f30(0x211)](_0x2dd485),_0x28213d=_0x2dd485[_0x222f30(0x19d)]();_0x3e6cc0[_0x222f30(0x21f)][_0x222f30(0x201)]=_0x5a64c5[_0x222f30(0x221)][_0x222f30(0x1e7)](_0x28213d);}[_0x5de8ae(0x19e)](){const _0xf14f13=_0x5de8ae;for(const _0x56077b of this[_0xf14f13(0x1aa)][_0xf14f13(0x1b4)]())this[_0xf14f13(0x198)](_0x56077b);for(const _0x2af907 of this[_0xf14f13(0x1dc)][_0xf14f13(0x228)]())_0x2af907[_0xf14f13(0x1ac)][_0xf14f13(0x19e)]();super[_0xf14f13(0x19e)](),this[_0xf14f13(0x214)]&&clearInterval(this[_0xf14f13(0x214)]);}}function ke(_0xb3480){const _0x5f3e3e=_0x5de8ae;return _0x5f3e3e(0x19b)in _0xb3480;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x32791f=_0x52da;(function(_0x53dbc6,_0x3ed588){const _0x5104e4=_0x52da,_0x4caa25=_0x53dbc6();while(!![]){try{const _0x279502=-parseInt(_0x5104e4(0x120))/0x1+-parseInt(_0x5104e4(0x142))/0x2*(parseInt(_0x5104e4(0x133))/0x3)+-parseInt(_0x5104e4(0x12b))/0x4*(parseInt(_0x5104e4(0x121))/0x5)+-parseInt(_0x5104e4(0x147))/0x6*(parseInt(_0x5104e4(0x12c))/0x7)+-parseInt(_0x5104e4(0x13d))/0x8+-parseInt(_0x5104e4(0x12e))/0x9*(parseInt(_0x5104e4(0x13a))/0xa)+parseInt(_0x5104e4(0x146))/0xb*(parseInt(_0x5104e4(0x130))/0xc);if(_0x279502===_0x3ed588)break;else _0x4caa25['push'](_0x4caa25['shift']());}catch(_0xd1bfa6){_0x4caa25['push'](_0x4caa25['shift']());}}}(_0x3499,0xa914f));function _0x52da(_0x31fd20,_0x132597){const _0x3499fb=_0x3499();return _0x52da=function(_0x52dabe,_0x3778b8){_0x52dabe=_0x52dabe-0x11f;let _0x4191dd=_0x3499fb[_0x52dabe];return _0x4191dd;},_0x52da(_0x31fd20,_0x132597);}import{ObservableMixin as _0x7f1d13}from'ckeditor5/src/utils.js';import{getTranslation as _0x11bee1}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x7f1d13(){[_0x32791f(0x149)];[_0x32791f(0x134)];[_0x32791f(0x125)];[_0x32791f(0x13f)];[_0x32791f(0x131)];[_0x32791f(0x12a)];[_0x32791f(0x140)];constructor(_0x2d87c0,_0x5ddfba,_0x1ba7ba,_0x1b68f7){const _0x692bcc=_0x32791f;super(),this[_0x692bcc(0x149)]=_0x5ddfba,this[_0x692bcc(0x134)]=_0x1ba7ba,this[_0x692bcc(0x125)]=_0x1b68f7,this[_0x692bcc(0x13f)]=_0x2d87c0,this[_0x692bcc(0x131)]=_0x2d87c0[_0x692bcc(0x138)][_0x692bcc(0x122)](_0x692bcc(0x137)),this[_0x692bcc(0x12a)]=_0x2d87c0[_0x692bcc(0x138)][_0x692bcc(0x122)](_0x692bcc(0x135)),this[_0x692bcc(0x134)][_0x692bcc(0x124)](_0x692bcc(0x132))['to'](this[_0x692bcc(0x131)],this[_0x692bcc(0x12a)],(_0x483ca5,_0x4c958f)=>_0x483ca5||_0x4c958f),this[_0x692bcc(0x134)][_0x692bcc(0x124)](_0x692bcc(0x13c))['to'](this[_0x692bcc(0x131)],_0x692bcc(0x132),_0x58bd5f=>_0x58bd5f&&this[_0x692bcc(0x13f)][_0x692bcc(0x149)][_0x692bcc(0x148)](_0x5ddfba[_0x692bcc(0x143)]())),this[_0x692bcc(0x134)][_0x692bcc(0x124)](_0x692bcc(0x128))['to'](this[_0x692bcc(0x12a)],_0x692bcc(0x132),_0x377358=>_0x377358&&this[_0x692bcc(0x13f)][_0x692bcc(0x149)][_0x692bcc(0x148)](_0x5ddfba[_0x692bcc(0x143)]())),this[_0x692bcc(0x140)]=null,_0x1ba7ba[_0x692bcc(0x13e)]&&this[_0x692bcc(0x13b)](),this[_0x692bcc(0x12f)](_0x1ba7ba,_0x692bcc(0x137),()=>this[_0x692bcc(0x137)]()),this[_0x692bcc(0x12f)](_0x1ba7ba,_0x692bcc(0x135),()=>this[_0x692bcc(0x135)]()),this[_0x692bcc(0x12f)](_0x1ba7ba,_0x692bcc(0x129),()=>{const _0x2bd0d7=_0x692bcc;_0x1ba7ba[_0x2bd0d7(0x13e)]?this[_0x2bd0d7(0x13b)]():this[_0x2bd0d7(0x123)]();});}[_0x32791f(0x137)](){const _0x397d4c=_0x32791f;this[_0x397d4c(0x131)][_0x397d4c(0x127)](this[_0x397d4c(0x149)]['id']);}[_0x32791f(0x135)](){const _0x2e325e=_0x32791f;this[_0x2e325e(0x12a)][_0x2e325e(0x127)](this[_0x2e325e(0x149)]['id']);}[_0x32791f(0x12d)](){const _0xb3ad09=_0x32791f;this[_0xb3ad09(0x134)][_0xb3ad09(0x141)](_0xb3ad09(0x132)),this[_0xb3ad09(0x134)][_0xb3ad09(0x141)](_0xb3ad09(0x13c)),this[_0xb3ad09(0x134)][_0xb3ad09(0x141)](_0xb3ad09(0x128)),this[_0xb3ad09(0x144)](),this[_0xb3ad09(0x125)][_0xb3ad09(0x12d)](),this[_0xb3ad09(0x140)]&&this[_0xb3ad09(0x123)]();}[_0x32791f(0x13b)](){const _0x4e6083=_0x32791f,_0x4da21e=_0x11bee1(this[_0x4e6083(0x13f)][_0x4e6083(0x14a)],_0x4e6083(0x136));this[_0x4e6083(0x140)]=this[_0x4e6083(0x13f)][_0x4e6083(0x145)][_0x4e6083(0x122)](_0x4e6083(0x139))[_0x4e6083(0x11f)](_0x4da21e);}[_0x32791f(0x123)](){const _0xbaa74=_0x32791f;null!==this[_0xbaa74(0x140)]&&this[_0xbaa74(0x13f)][_0xbaa74(0x145)][_0xbaa74(0x122)](_0xbaa74(0x139))[_0xbaa74(0x126)](this[_0xbaa74(0x140)]),this[_0xbaa74(0x140)]=null;}}function _0x3499(){const _0x349e9f=['_discardCommand','4iJgyZY','1617VuEsFP','destroy','81OuhnaK','listenTo','67836hTsEfm','_acceptCommand','isEnabled','2116110GfZELE','view','discardSuggestion','PENDING_ACTION_SUGGESTION','acceptSuggestion','commands','PendingActions','498460WxQMra','_setPendingAction','canAccept','9280160gxEnbo','isDirty','_editor','_pendingAction','unbind','2BmJfoI','getRanges','stopListening','plugins','6853dXhRdA','2472SWQchP','canEditAt','model','locale','add','120586FTrTYE','1497490gBdKXw','get','_removePendingAction','bind','commentThreadController','remove','execute','canDiscard','change:isDirty'];_0x3499=function(){return _0x349e9f;};return _0x3499();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38a816=_0x9899;function _0x9899(_0x5b4966,_0x53871e){const _0x377177=_0x3771();return _0x9899=function(_0x9899f1,_0xf599d7){_0x9899f1=_0x9899f1-0x17e;let _0x48c8b6=_0x377177[_0x9899f1];return _0x48c8b6;},_0x9899(_0x5b4966,_0x53871e);}(function(_0x2b18c1,_0x529389){const _0x1dfdd0=_0x9899,_0x518ff9=_0x2b18c1();while(!![]){try{const _0x5d2098=-parseInt(_0x1dfdd0(0x1b8))/0x1*(parseInt(_0x1dfdd0(0x180))/0x2)+-parseInt(_0x1dfdd0(0x1a5))/0x3+parseInt(_0x1dfdd0(0x1ab))/0x4+parseInt(_0x1dfdd0(0x1b6))/0x5+parseInt(_0x1dfdd0(0x1ba))/0x6+parseInt(_0x1dfdd0(0x186))/0x7+parseInt(_0x1dfdd0(0x192))/0x8*(parseInt(_0x1dfdd0(0x18b))/0x9);if(_0x5d2098===_0x529389)break;else _0x518ff9['push'](_0x518ff9['shift']());}catch(_0x5ad9d3){_0x518ff9['push'](_0x518ff9['shift']());}}}(_0x3771,0xd231e));import{FocusCycler as _0x143593,View as _0x5658a5,ViewCollection as _0x14bda9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1efb21,KeystrokeHandler as _0x11ccfb}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3b2128,setupThreadKeyboardNavigation as _0xf1b779}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3771(){const _0x26d84f=['SUGGESTION_THREAD_DESCRIPTION','_createCommentThreadInputView','_localUser','locale','canAccept','focusCycler','commentThreadInputView','parseFromString','_model','isActive','value','cancel','2koZChp','focusables','removeComment','content','isEnabled','map','823151hGcHkS','commentThread','isDirty','SUGGESTION_THREAD_ARIA_LABEL','render','1895679LMAlgk','isReadOnly','shift+tab','delegate','destroy','updateComment','element','8TaIXBg','bind','text/html','editor','disabledSubmit','body','join','length','commentsListView','ariaLabel','keystrokes','name','textContent','commentInputView','focusTracker','descriptionParts','CommentView','assign','_createCommentViews','3681576SqgTSF','formatDateTime','canDiscard','showInput','editorConfig','disableComments','1523728uFMSem','target','hasDirtyComment','tab','setData','author','fire','set','focus','authoredAt','_config','2659925jNPbLQ','addComment','74599ZAerAy','ariaDescriptionView','5529648nNptVs','submit'];_0x3771=function(){return _0x26d84f;};return _0x3771();}import{getTranslation as _0xd9b619}from'../../utils/common-translations.js';import{renderDescription as _0x56c260}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x5658a5{[_0x38a816(0x19a)];[_0x38a816(0x1c2)];[_0x38a816(0x1b9)];[_0x38a816(0x181)];[_0x38a816(0x1a0)];[_0x38a816(0x19c)];[_0x38a816(0x1c1)];[_0x38a816(0x1c4)];[_0x38a816(0x1be)];[_0x38a816(0x1b5)];constructor(_0x21c665,_0x4a8363,_0x1d9761,_0x494641){const _0xe13bf1=_0x38a816;super(_0x21c665),this[_0xe13bf1(0x19a)]=null,this[_0xe13bf1(0x1c2)]=null,this[_0xe13bf1(0x1b9)]=new _0x3b2128(_0x21c665,_0xd9b619(_0x21c665,_0xe13bf1(0x1bc))),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x1c5),!0x1),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x1b4),_0x4a8363[_0xe13bf1(0x1b4)]),this[_0xe13bf1(0x193)](_0xe13bf1(0x1b4))['to'](_0x4a8363),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x1a1),[]),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x188),!0x1),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x184),!0x1),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x1c0),!0x1),this[_0xe13bf1(0x1b2)](_0xe13bf1(0x1a7),!0x1),this[_0xe13bf1(0x193)](_0xe13bf1(0x19b))['to'](this,_0xe13bf1(0x199),_0x4a8363,_0xe13bf1(0x1b4),this,_0xe13bf1(0x1a1),(_0x4a88d4,_0x588d94,_0x5df879)=>{const _0x41c002=_0xe13bf1,_0x18dc2d=_0x5df879[_0x41c002(0x185)](_0x2f499b=>_0x56c260(_0x2f499b[_0x41c002(0x183)]))[_0x41c002(0x198)]('.\x20')+'.';return _0xd9b619(this[_0x41c002(0x1bf)],_0x41c002(0x189),[_0x4a88d4-0x1,_0x4a8363[_0x41c002(0x1b0)][_0x41c002(0x19d)],_0x588d94?_0x494641[_0x41c002(0x1a6)](_0x588d94):'',new DOMParser()[_0x41c002(0x1c3)](_0x18dc2d,_0x41c002(0x194))[_0x41c002(0x197)][_0x41c002(0x19e)]]);}),this[_0xe13bf1(0x181)]=new _0x14bda9(),this[_0xe13bf1(0x1a0)]=new _0x1efb21(),this[_0xe13bf1(0x19c)]=new _0x11ccfb(),this[_0xe13bf1(0x1c1)]=new _0x143593({'focusables':this[_0xe13bf1(0x181)],'focusTracker':this[_0xe13bf1(0x1a0)],'keystrokeHandler':this[_0xe13bf1(0x19c)],'keystrokeHandlerOptions':{'filter':_0x42242d=>_0x42242d[_0xe13bf1(0x1ac)]!==this[_0xe13bf1(0x191)]},'actions':{'focusPrevious':_0xe13bf1(0x18d),'focusNext':_0xe13bf1(0x1ae)}}),this[_0xe13bf1(0x1c4)]=_0x4a8363,this[_0xe13bf1(0x1be)]=_0x1d9761,this[_0xe13bf1(0x1b5)]=_0x494641,_0x494641[_0xe13bf1(0x1aa)]?this[_0xe13bf1(0x1b2)](_0xe13bf1(0x199),0x1):this[_0xe13bf1(0x1a4)]();}[_0x38a816(0x18a)](){const _0x603fa4=_0x38a816;super[_0x603fa4(0x18a)](),_0xf1b779(this,this[_0x603fa4(0x181)]);}[_0x38a816(0x1b3)](){const _0x279161=_0x38a816;this[_0x279161(0x191)][_0x279161(0x1b3)]();}[_0x38a816(0x18f)](){const _0x331ec1=_0x38a816;this[_0x331ec1(0x19a)]&&this[_0x331ec1(0x19a)][_0x331ec1(0x18f)](),this[_0x331ec1(0x1c2)]&&this[_0x331ec1(0x1c2)][_0x331ec1(0x18f)](),super[_0x331ec1(0x18f)]();}[_0x38a816(0x1a4)](){const _0x5027e1=_0x38a816,{CommentsListView:_0x1db424}=this[_0x5027e1(0x1b5)];this[_0x5027e1(0x19a)]=new _0x1db424(this[_0x5027e1(0x1bf)],this[_0x5027e1(0x1c4)][_0x5027e1(0x187)],Object[_0x5027e1(0x1a3)]({'CommentView':this[_0x5027e1(0x1b5)][_0x5027e1(0x1a2)]},this[_0x5027e1(0x1b5)])),this[_0x5027e1(0x19a)][_0x5027e1(0x18e)](_0x5027e1(0x182))['to'](this),this[_0x5027e1(0x19a)][_0x5027e1(0x18e)](_0x5027e1(0x190))['to'](this),this[_0x5027e1(0x19a)][_0x5027e1(0x193)](_0x5027e1(0x1c5))['to'](this),this[_0x5027e1(0x1b2)](_0x5027e1(0x199),this[_0x5027e1(0x19a)][_0x5027e1(0x199)]+0x1),this[_0x5027e1(0x193)](_0x5027e1(0x199))['to'](this[_0x5027e1(0x19a)],_0x5027e1(0x199),_0x5928d6=>_0x5928d6+0x1),this[_0x5027e1(0x1c2)]=this[_0x5027e1(0x1bd)](),this['on'](_0x5027e1(0x182),()=>this[_0x5027e1(0x1b3)]()),this[_0x5027e1(0x193)](_0x5027e1(0x188))['to'](this[_0x5027e1(0x19a)],_0x5027e1(0x1ad),this[_0x5027e1(0x1c2)][_0x5027e1(0x19f)],_0x5027e1(0x17e),(_0x5cdf8d,_0x19a6b0)=>_0x5cdf8d||!!_0x19a6b0);}[_0x38a816(0x1bd)](){const _0x4255e8=_0x38a816,{CommentThreadInputView:_0x4bbb87}=this[_0x4255e8(0x1b5)],_0x5bc6ac=new _0x4bbb87(this[_0x4255e8(0x1bf)],this[_0x4255e8(0x1be)],this[_0x4255e8(0x1b5)][_0x4255e8(0x1a9)]),_0x4b4fcf=_0x5bc6ac[_0x4255e8(0x19f)];return _0x5bc6ac[_0x4255e8(0x193)](_0x4255e8(0x1a8))['to'](this,_0x4255e8(0x1c5),this[_0x4255e8(0x1c4)][_0x4255e8(0x187)],_0x4255e8(0x18c),_0x4b4fcf,_0x4255e8(0x17e),(_0x5b5fa4,_0x36aac1,_0x7650b1)=>!!_0x7650b1||_0x5b5fa4&&!_0x36aac1),_0x4b4fcf['on'](_0x4255e8(0x1bb),(_0x3bc94a,_0x4509c4)=>{const _0x1dc3c5=_0x4255e8;this[_0x1dc3c5(0x1b1)](_0x1dc3c5(0x1b7),_0x4509c4),_0x4b4fcf[_0x1dc3c5(0x195)][_0x1dc3c5(0x1af)]('');}),_0x4b4fcf['on'](_0x4255e8(0x17f),()=>this[_0x4255e8(0x1b3)]()),_0x4b4fcf[_0x4255e8(0x193)](_0x4255e8(0x196))['to'](this[_0x4255e8(0x1c4)][_0x4255e8(0x187)],_0x4255e8(0x18c)),_0x5bc6ac;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4b4bbf=_0x972a;(function(_0x23632b,_0x1d888d){const _0x42dec9=_0x972a,_0x56fbb6=_0x23632b();while(!![]){try{const _0x25a600=parseInt(_0x42dec9(0xaa))/0x1+-parseInt(_0x42dec9(0x7f))/0x2+parseInt(_0x42dec9(0x90))/0x3+-parseInt(_0x42dec9(0x7c))/0x4+parseInt(_0x42dec9(0xa9))/0x5+-parseInt(_0x42dec9(0x76))/0x6*(parseInt(_0x42dec9(0xa4))/0x7)+parseInt(_0x42dec9(0x86))/0x8;if(_0x25a600===_0x1d888d)break;else _0x56fbb6['push'](_0x56fbb6['shift']());}catch(_0x31b42f){_0x56fbb6['push'](_0x56fbb6['shift']());}}}(_0x507f,0x8174d));import{BaseSuggestionThreadView as _0x1abf3c}from'./basesuggestionthreadview.js';function _0x972a(_0x49d9e9,_0xff7f29){const _0x507f46=_0x507f();return _0x972a=function(_0x972a0f,_0x3e32d9){_0x972a0f=_0x972a0f-0x75;let _0x1a83e4=_0x507f46[_0x972a0f];return _0x1a83e4;},_0x972a(_0x49d9e9,_0xff7f29);}import{trimHtml as _0x6e3414}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x4f7a56}from'../../utils/utils.js';export class SuggestionThreadView extends _0x1abf3c{[_0x4b4bbf(0x8a)];[_0x4b4bbf(0x97)];constructor(_0x130c5c,_0x3a7003,_0x58b2d7,_0x1aad1b){const _0xca4ec5=_0x4b4bbf;super(_0x130c5c,_0x3a7003,_0x58b2d7,_0x1aad1b),this[_0xca4ec5(0x92)](_0xca4ec5(0xa7),''),this[_0xca4ec5(0x8e)](_0xca4ec5(0xa7))['to'](this,_0xca4ec5(0x95),_0x5f3e33=>_0x5f3e33&&_0x5f3e33[0x0]?_0x5f3e33[0x0][_0xca4ec5(0xa7)]:''),this[_0xca4ec5(0x8e)](_0xca4ec5(0x9b))['to'](this,_0xca4ec5(0x95),this,_0xca4ec5(0x84),(_0x3bd2ec,_0x2834db)=>{const _0x325f84=_0xca4ec5;let _0x7b2ab8='';for(const _0x48be8b of _0x3bd2ec)_0x7b2ab8+=_0x325f84(0x9e)+_0x4f7a56(_0x48be8b[_0x325f84(0x98)],_0x48be8b[_0x325f84(0x8f)])+_0x325f84(0xa3);return _0x2834db?_0x7b2ab8:_0x6e3414(_0x7b2ab8,{'limit':0x8c});}),this[_0xca4ec5(0x97)]=null,this[_0xca4ec5(0x8a)]=new _0x1aad1b[(_0xca4ec5(0x88))](_0x130c5c,_0x3a7003,{'formatDateTime':_0x1aad1b[_0xca4ec5(0x87)]}),this[_0xca4ec5(0x8a)][_0xca4ec5(0x8e)](_0xca4ec5(0x9b))['to'](this),this[_0xca4ec5(0x8a)][_0xca4ec5(0xa2)](_0xca4ec5(0x7d),_0xca4ec5(0x83))['to'](this),this[_0xca4ec5(0x8a)][_0xca4ec5(0xa6)][_0xca4ec5(0x8e)](_0xca4ec5(0x75))['to'](this,_0xca4ec5(0x96)),this[_0xca4ec5(0x8a)][_0xca4ec5(0x9d)][_0xca4ec5(0x8e)](_0xca4ec5(0x75))['to'](this,_0xca4ec5(0x93)),this[_0xca4ec5(0x99)][_0xca4ec5(0xa0)](this[_0xca4ec5(0x8a)]),this[_0xca4ec5(0x9a)]&&this[_0xca4ec5(0x99)][_0xca4ec5(0xa0)](this[_0xca4ec5(0x9a)]),this[_0xca4ec5(0x8d)]&&this[_0xca4ec5(0x99)][_0xca4ec5(0xa0)](this[_0xca4ec5(0x8d)]),this[_0xca4ec5(0x78)](this[_0xca4ec5(0xab)]());}[_0x4b4bbf(0xab)](){const _0x495747=_0x4b4bbf,_0x54051b=this[_0x495747(0x7b)],_0x1de081=[this[_0x495747(0x8a)]];return this[_0x495747(0x9a)]&&_0x1de081[_0x495747(0x7a)](this[_0x495747(0x9a)]),this[_0x495747(0x8d)]&&_0x1de081[_0x495747(0x7a)](this[_0x495747(0x8d)]),_0x1de081[_0x495747(0x7a)](this[_0x495747(0x94)]),{'tag':_0x495747(0x7e),'attributes':{'class':['ck',_0x495747(0x9c),_0x495747(0x77),_0x54051b['if'](_0x495747(0x84),_0x495747(0x9f)),_0x54051b['to'](_0x495747(0xa7),_0x10cba5=>_0x495747(0x82)+_0x10cba5),this[_0x495747(0x79)][_0x495747(0x89)]&&_0x495747(0x91)],'data-suggestion-id':this[_0x495747(0x8b)]['id'],'data-thread-id':this[_0x495747(0x8b)][_0x495747(0x8c)]['id'],'data-author-id':this[_0x495747(0x8b)][_0x495747(0x81)]['id'],'tabindex':0x0,'role':_0x495747(0xa5),'aria-label':_0x54051b['to'](_0x495747(0xa1)),'aria-describedby':this[_0x495747(0x94)]['id']},'children':_0x1de081};}[_0x4b4bbf(0xa8)](){const _0x4a16e4=_0x4b4bbf;super[_0x4a16e4(0xa8)](),this[_0x4a16e4(0x9a)]&&(this[_0x4a16e4(0x9a)][_0x4a16e4(0xa2)](_0x4a16e4(0x80))['to'](this),this[_0x4a16e4(0x9a)][_0x4a16e4(0xa2)](_0x4a16e4(0x85))['to'](this)),this[_0x4a16e4(0x8d)]&&(this[_0x4a16e4(0x8d)][_0x4a16e4(0xa2)](_0x4a16e4(0x80))['to'](this),this[_0x4a16e4(0x8d)][_0x4a16e4(0xa2)](_0x4a16e4(0x85))['to'](this));}}function _0x507f(){const _0x2dc0e1=['23514OmqCfm','ck-suggestion-wrapper','setTemplate','_config','push','bindTemplate','2418972PdWzRX','acceptSuggestion','div','1536962zjyQhd','editorReady','author','ck-suggestion-','discardSuggestion','isActive','editorDestroyed','2726640ZertUg','formatDateTime','SuggestionView','disableComments','suggestionView','_model','commentThread','commentThreadInputView','bind','color','1729833tnuccs','ck-suggestion--disabled-comments','set','canDiscard','ariaDescriptionView','descriptionParts','canAccept','_descriptionElement','content','focusables','commentsListView','description','ck-rounded-corners','discardButton','<p>','ck-suggestion-wrapper--active','add','ariaLabel','delegate','</p>','623MTDNaO','listitem','acceptButton','type','render','2717580ALAYFW','791311PSFBSj','getTemplate','isEnabled'];_0x507f=function(){return _0x2dc0e1;};return _0x507f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bb98c=_0x5f3c;(function(_0x55a853,_0x25d332){const _0x441abc=_0x5f3c,_0x1fb536=_0x55a853();while(!![]){try{const _0x355708=parseInt(_0x441abc(0x19d))/0x1+-parseInt(_0x441abc(0x1af))/0x2+-parseInt(_0x441abc(0x1a2))/0x3*(parseInt(_0x441abc(0x17e))/0x4)+-parseInt(_0x441abc(0x17a))/0x5+-parseInt(_0x441abc(0x17f))/0x6+-parseInt(_0x441abc(0x16b))/0x7*(parseInt(_0x441abc(0x160))/0x8)+parseInt(_0x441abc(0x167))/0x9;if(_0x355708===_0x25d332)break;else _0x1fb536['push'](_0x1fb536['shift']());}catch(_0x151257){_0x1fb536['push'](_0x1fb536['shift']());}}}(_0x45a9,0x2e5f2));import{FocusTracker as _0x5ed260,KeystrokeHandler as _0x17be7b}from'ckeditor5/src/utils.js';import{View as _0x28a599,ViewCollection as _0x94546b,FocusCycler as _0x38423a}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3ea96e,UserView as _0x13a487}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5f3c(_0x2bb9e9,_0x5cc48f){const _0x45a970=_0x45a9();return _0x5f3c=function(_0x5f3c53,_0x326fc1){_0x5f3c53=_0x5f3c53-0x15d;let _0x714136=_0x45a970[_0x5f3c53];return _0x714136;},_0x5f3c(_0x2bb9e9,_0x5cc48f);}function _0x45a9(){const _0x3f39ab=['ck-annotation__info-name','ck-suggestion__actions','_config','1935504SQymyL','execute','ck-suggestion--accept','EXTERNAL_IMPORT_WORD_AVATAR','attributes','getUserViewNotificationText','setTemplate','12781494cswXco','keystrokes','discardSuggestion','discardButton','7SDMaMr','EXTERNAL_IMPORT_WORD_SUGGESTION','enter','ck-annotation','name','target','ck-annotation__content-wrapper','.ck-annotation__content-wrapper','bind','render','@external','ck-suggestion__user','ck-suggestion__main','listenTo','EXTERNAL_SUGGESTION','1591115EDbyLv','focusFirst','element','source','376zPlTPm','2264490yiCYCt','ck-suggestion__info','extendTemplate','ck-annotation__main','add','acceptSuggestion','span','creator','ck-annotation__actions','focusTracker','ck-comment__external','esc','ck-annotation__info-time','ck-suggestion__info-name','author','_setupKeyboardNavigation','authoredAt','formatDateTime','bindTemplate','importWord','userView','Accept\x20suggestion','div','ck-annotation__info','locale','_model','getTemplate','_createButton','isExternal','acceptButton','135780lQyOOk','focus','ck-comment__info-time','focusCycler','EXTERNAL_AVATAR','4866rNPzLO','focusables','change:description','querySelector','ck-annotation__user','set','push','description','shift+tab','tab','time','innerHTML','fire','551928UBTEST','ck-suggestion','presentation','Discard\x20suggestion','getExternalSuggestionNote','ck-suggestion--discard'];_0x45a9=function(){return _0x3f39ab;};return _0x45a9();}import{IconCancel as _0x5c7f64,IconCheck as _0x341976}from'ckeditor5/src/icons.js';import{getTranslation as _0x2bdac8}from'../../utils/common-translations.js';export class SuggestionView extends _0x28a599{[_0x1bb98c(0x193)];[_0x1bb98c(0x19c)];[_0x1bb98c(0x16a)];[_0x1bb98c(0x1a3)];[_0x1bb98c(0x188)];[_0x1bb98c(0x168)];[_0x1bb98c(0x1a0)];[_0x1bb98c(0x198)];[_0x1bb98c(0x15f)];constructor(_0x1736f0,_0x1edad8,_0x50fc1b){const _0x587d28=_0x1bb98c;super(_0x1736f0),this[_0x587d28(0x198)]=_0x1edad8,this[_0x587d28(0x15f)]=_0x50fc1b,this[_0x587d28(0x1a7)](_0x587d28(0x1a9),''),this[_0x587d28(0x173)](_0x587d28(0x18f))['to'](_0x1edad8),this[_0x587d28(0x19c)]=this[_0x587d28(0x19a)](_0x2bdac8(_0x1736f0,_0x587d28(0x194)),_0x341976,_0x587d28(0x162),_0x587d28(0x184),'sw'),this[_0x587d28(0x16a)]=this[_0x587d28(0x19a)](_0x2bdac8(_0x1736f0,_0x587d28(0x1b2)),_0x5c7f64,_0x587d28(0x1b4),_0x587d28(0x169),'sw'),this[_0x587d28(0x193)]=new _0x13a487(_0x1736f0,_0x1edad8[_0x587d28(0x18d)],this[_0x587d28(0x165)]()),this[_0x587d28(0x193)][_0x587d28(0x181)]({'attributes':{'class':[_0x587d28(0x176),_0x587d28(0x1a6)],'aria-hidden':!0x0}}),this[_0x587d28(0x1a3)]=new _0x94546b([this[_0x587d28(0x19c)],this[_0x587d28(0x16a)]]),this[_0x587d28(0x188)]=new _0x5ed260(),this[_0x587d28(0x168)]=new _0x17be7b(),this[_0x587d28(0x1a0)]=new _0x38423a({'focusables':this[_0x587d28(0x1a3)],'focusTracker':this[_0x587d28(0x188)],'keystrokeHandler':this[_0x587d28(0x168)],'actions':{'focusPrevious':_0x587d28(0x1aa),'focusNext':_0x587d28(0x1ab)},'keystrokeHandlerOptions':{'filter':_0x2d9cf0=>_0x2d9cf0[_0x587d28(0x170)]!==this[_0x587d28(0x17c)]}}),this[_0x587d28(0x166)](this[_0x587d28(0x199)]());}[_0x1bb98c(0x174)](){const _0x4c3a9c=_0x1bb98c;super[_0x4c3a9c(0x174)]();const _0x572462=this[_0x4c3a9c(0x17c)][_0x4c3a9c(0x1a5)](_0x4c3a9c(0x172));_0x572462[_0x4c3a9c(0x1ad)]=this[_0x4c3a9c(0x1a9)],this['on'](_0x4c3a9c(0x1a4),(_0x3ce6ff,_0xf4dffc,_0x509008)=>{const _0x50c611=_0x4c3a9c;_0x572462[_0x50c611(0x1ad)]=_0x509008;}),this[_0x4c3a9c(0x18e)]();}[_0x1bb98c(0x199)](){const _0x548189=_0x1bb98c,_0x5e9a23=this[_0x548189(0x191)],_0x1e31d8=[{'tag':_0x548189(0x195),'attributes':{'class':[_0x548189(0x180),_0x548189(0x196)]},'children':[{'tag':_0x548189(0x185),'children':[{'text':this[_0x548189(0x193)][_0x548189(0x16f)]}],'attributes':{'class':[_0x548189(0x18c),_0x548189(0x15d)],'data-cke-tooltip-text':this[_0x548189(0x193)][_0x548189(0x16f)]}},{'tag':_0x548189(0x1ac),'attributes':{'datetime':_0x5e9a23['to'](_0x548189(0x18f)),'class':[_0x548189(0x19f),_0x548189(0x18b)]},'children':[{'text':_0x5e9a23['to'](_0x548189(0x18f),_0x1df0ca=>this[_0x548189(0x15f)][_0x548189(0x190)](_0x1df0ca))}]}]},{'tag':_0x548189(0x195),'attributes':{'class':[_0x548189(0x15e),_0x548189(0x187)]},'children':[this[_0x548189(0x19c)],this[_0x548189(0x16a)]]},{'tag':_0x548189(0x195),'attributes':{'class':[_0x548189(0x171)]}}];return this[_0x548189(0x198)][_0x548189(0x19b)]&&_0x1e31d8[_0x548189(0x1a8)]({'tag':_0x548189(0x195),'attributes':{'class':[_0x548189(0x189)]},'children':[{'text':this[_0x548189(0x1b3)]()}]}),{'tag':_0x548189(0x195),'attributes':{'class':[_0x548189(0x1b0),_0x548189(0x16e)],'tabindex':-0x1},'children':[this[_0x548189(0x193)],{'tag':_0x548189(0x195),'attributes':{'class':[_0x548189(0x177),_0x548189(0x182)],'role':_0x548189(0x1b1)},'children':_0x1e31d8}]};}[_0x1bb98c(0x19e)](){const _0x4aa0f1=_0x1bb98c;this[_0x4aa0f1(0x17c)][_0x4aa0f1(0x19e)]();}[_0x1bb98c(0x165)](){const _0x1eea7a=_0x1bb98c;return this[_0x1eea7a(0x198)][_0x1eea7a(0x19b)]?_0x1eea7a(0x192)===this[_0x1eea7a(0x198)][_0x1eea7a(0x164)][_0x1eea7a(0x175)][_0x1eea7a(0x17d)]?_0x2bdac8(this[_0x1eea7a(0x197)],_0x1eea7a(0x163),this[_0x1eea7a(0x198)][_0x1eea7a(0x186)][_0x1eea7a(0x16f)]):_0x2bdac8(this[_0x1eea7a(0x197)],_0x1eea7a(0x1a1),this[_0x1eea7a(0x198)][_0x1eea7a(0x186)][_0x1eea7a(0x16f)]):null;}[_0x1bb98c(0x1b3)](){const _0x280fdb=_0x1bb98c;return _0x280fdb(0x192)===this[_0x280fdb(0x198)][_0x280fdb(0x164)][_0x280fdb(0x175)][_0x280fdb(0x17d)]?_0x2bdac8(this[_0x280fdb(0x197)],_0x280fdb(0x16c)):_0x2bdac8(this[_0x280fdb(0x197)],_0x280fdb(0x179));}[_0x1bb98c(0x19a)](_0x3cf44e,_0x3d21cf,_0x8856f1,_0x451d55,_0x5376e7){const _0x33d7be=_0x1bb98c,_0x53aa75=new _0x3ea96e(this[_0x33d7be(0x197)]);return _0x53aa75[_0x33d7be(0x1a7)]({'label':_0x3cf44e,'icon':_0x3d21cf,'tooltip':!0x0,'tooltipPosition':_0x5376e7}),_0x53aa75[_0x33d7be(0x181)]({'attributes':{'class':_0x8856f1}}),_0x53aa75['on'](_0x33d7be(0x161),()=>{const _0x2d455f=_0x33d7be;this[_0x2d455f(0x1ae)](_0x451d55,this[_0x2d455f(0x198)]['id']);}),_0x53aa75;}[_0x1bb98c(0x18e)](){const _0x24e90c=_0x1bb98c,_0xbee53f=this[_0x24e90c(0x17c)];this[_0x24e90c(0x168)][_0x24e90c(0x178)](_0xbee53f);for(const _0x2bb579 of this[_0x24e90c(0x1a3)])this[_0x24e90c(0x188)][_0x24e90c(0x183)](_0x2bb579[_0x24e90c(0x17c)]),this[_0x24e90c(0x168)][_0x24e90c(0x178)](_0x2bb579[_0x24e90c(0x17c)]);this[_0x24e90c(0x168)][_0x24e90c(0x1a7)](_0x24e90c(0x16d),(_0x3ba8f6,_0x3ed964)=>{const _0x49fb04=_0x24e90c;_0xbee53f===_0x3ba8f6[_0x49fb04(0x170)]&&(this[_0x49fb04(0x1a0)][_0x49fb04(0x17b)](),_0x3ed964());}),this[_0x24e90c(0x168)][_0x24e90c(0x1a7)](_0x24e90c(0x18a),(_0x27e3ec,_0x31889c)=>{const _0x2f7040=_0x24e90c;_0xbee53f!==_0x27e3ec[_0x2f7040(0x170)]&&(this[_0x2f7040(0x19e)](),_0x31889c());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x444554=_0x1712;function _0x266e(){const _0xd13a7d=['\x20ck-track-changes-preview__root-container','18TSKVeu','fire','108424SHoUML','focus','data-ck-root-name','4sjqnbe','2628882kRvsHE','className','createElement','height','classes','setAttribute','render','181913KWhQcP','2171320HcKMur','style','div','dialogRects','previewDataReady','content','ck-reset','7944992EeMEaG','innerHTML','element','push','154FSDSoF','setTemplate','36UkOsLx','width','options','setPreviewData','ck-track-changes-preview','26739GmPyfN','1880520OHRdTx'];_0x266e=function(){return _0xd13a7d;};return _0x266e();}(function(_0x23be42,_0x28a7b1){const _0x1e8de2=_0x1712,_0x101c49=_0x23be42();while(!![]){try{const _0x54a923=-parseInt(_0x1e8de2(0x8a))/0x1*(parseInt(_0x1e8de2(0x82))/0x2)+parseInt(_0x1e8de2(0x9d))/0x3*(parseInt(_0x1e8de2(0x98))/0x4)+parseInt(_0x1e8de2(0x9e))/0x5+-parseInt(_0x1e8de2(0x83))/0x6+-parseInt(_0x1e8de2(0x96))/0x7*(-parseInt(_0x1e8de2(0xa2))/0x8)+parseInt(_0x1e8de2(0xa0))/0x9*(-parseInt(_0x1e8de2(0x8b))/0xa)+parseInt(_0x1e8de2(0x92))/0xb;if(_0x54a923===_0x28a7b1)break;else _0x101c49['push'](_0x101c49['shift']());}catch(_0x4f260f){_0x101c49['push'](_0x101c49['shift']());}}}(_0x266e,0x3ab8a));import{View as _0x248c3b}from'ckeditor5/src/ui.js';function _0x1712(_0x584aca,_0x23b06f){const _0x266ef5=_0x266e();return _0x1712=function(_0x171217,_0x5c3170){_0x171217=_0x171217-0x80;let _0x59d388=_0x266ef5[_0x171217];return _0x59d388;},_0x1712(_0x584aca,_0x23b06f);}export class TrackChangesPreviewView extends _0x248c3b{[_0x444554(0x9a)];constructor(_0x505c94,_0x464693){const _0x73d83b=_0x444554;super(_0x505c94),this[_0x73d83b(0x9a)]=_0x464693,this[_0x73d83b(0x97)]({'tag':_0x73d83b(0x8d),'attributes':{'class':['ck',_0x73d83b(0x91),_0x73d83b(0x9c)],'tabindex':-0x1}});}[_0x444554(0x89)](){const _0xfc1d4f=_0x444554;super[_0xfc1d4f(0x89)](),this[_0xfc1d4f(0x94)][_0xfc1d4f(0x8c)][_0xfc1d4f(0x99)]=this[_0xfc1d4f(0x9a)][_0xfc1d4f(0x8e)][_0xfc1d4f(0x99)]+'px',this[_0xfc1d4f(0x94)][_0xfc1d4f(0x8c)][_0xfc1d4f(0x86)]=this[_0xfc1d4f(0x9a)][_0xfc1d4f(0x8e)][_0xfc1d4f(0x86)]+'px';}[_0x444554(0x9b)](_0x26697b,_0x3c9bb1){const _0x397b60=_0x444554;if(!this[_0x397b60(0x94)])return;const _0xf0b2a9=[];for(const [_0x5a34bc,_0x4558df]of _0x26697b){const _0x294f07=document[_0x397b60(0x85)](_0x397b60(0x8d));_0x294f07[_0x397b60(0x88)](_0x397b60(0x81),_0x5a34bc),_0x294f07[_0x397b60(0x84)]=_0x4558df[_0x397b60(0x87)]+_0x397b60(0x9f),_0x294f07[_0x397b60(0x93)]=_0x4558df[_0x397b60(0x90)],_0xf0b2a9[_0x397b60(0x95)](_0x294f07);}_0x3c9bb1(this[_0x397b60(0x94)],_0xf0b2a9),this[_0x397b60(0x94)][_0x397b60(0x8c)][_0x397b60(0x86)]='',this[_0x397b60(0xa1)](_0x397b60(0x8f));}[_0x444554(0x80)](){const _0x295222=_0x444554;this[_0x295222(0x94)][_0x295222(0x80)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5d7faf,_0x16e475,_0x34b149){const _0x2a9c35=_0x5d7faf['t'],t=_0x5d7faf['t'];switch(_0x16e475){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',_0x34b149);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x34b149);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x34b149);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x34b149);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x34b149);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',_0x34b149);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x34b149);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',_0x34b149);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x34b149);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x34b149);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x34b149);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x34b149);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x34b149);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x34b149);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x34b149);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x34b149);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x34b149);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x34b149);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x34b149);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x34b149);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x34b149);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x34b149);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x34b149);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x34b149);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x34b149);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'},_0x34b149);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x34b149);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x34b149);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x34b149);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x34b149);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x34b149);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x34b149);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x34b149);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'},_0x34b149);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x34b149);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x34b149);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x34b149);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x34b149);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'},_0x34b149);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x34b149);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'},_0x34b149);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'},_0x34b149);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x34b149);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'},_0x34b149);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x34b149);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'},_0x34b149);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x34b149);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x34b149);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x34b149);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x34b149);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x34b149);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'},_0x34b149);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x34b149);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 _0x2a9c35({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x34b149);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2a9c35({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x34b149);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x34b149);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'},_0x34b149);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'},_0x34b149);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'},_0x34b149);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x16e475;}}
|
|
23
|
+
export function getTranslation(_0x42c297,_0x2bed1b,_0x565d39){const _0x2e5ba5=_0x42c297['t'],t=_0x42c297['t'];switch(_0x2bed1b){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',_0x565d39);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x565d39);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x565d39);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x565d39);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x565d39);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',_0x565d39);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x565d39);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',_0x565d39);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x565d39);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x565d39);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x565d39);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x565d39);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x565d39);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x565d39);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x565d39);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x565d39);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x565d39);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x565d39);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x565d39);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x565d39);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x565d39);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x565d39);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x565d39);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x565d39);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x565d39);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'},_0x565d39);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x565d39);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x565d39);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x565d39);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x565d39);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x565d39);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x565d39);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x565d39);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'},_0x565d39);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x565d39);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x565d39);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x565d39);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x565d39);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'},_0x565d39);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x565d39);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'},_0x565d39);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'},_0x565d39);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x565d39);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'},_0x565d39);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x565d39);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'},_0x565d39);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x565d39);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x565d39);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x565d39);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x565d39);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x565d39);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'},_0x565d39);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x565d39);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 _0x2e5ba5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x565d39);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2e5ba5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x565d39);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x565d39);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'},_0x565d39);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'},_0x565d39);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'},_0x565d39);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2bed1b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5a45(){const _0x5ae32b=['join','2462504lYbCeW','color','value','next','sort','createElement','createPositionBefore','createPositionAt','replace','createPositionAfter','attribute','isInContent','content','5622nRCWMZ','from','length','end','9rhCOYi','createRange','\x22></span>','\x20[color\x20','isMultiRange','add','split','1532574FrNRSe','execute','schema','11zVzCKc','isTouching','</span>','innerHTML','<span\x20class=\x22ck-suggestion-type\x22>','8615896jdJxAV','34jjFRvY','isObject','6769PHuofu','41828kIAmtu','isArray','deletion','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isIntersecting','type','isCollapsed','push','5040510EJSLsx','\x22\x20title=\x22','getRanges','map','change','title','innerText','start','1021332vjqzoM','5UButck','splice'];_0x5a45=function(){return _0x5ae32b;};return _0x5a45();}(function(_0x5c037d,_0x62d1d9){const _0x4dc30e=_0x348e,_0x2c53d6=_0x5c037d();while(!![]){try{const _0x285d71=-parseInt(_0x4dc30e(0x129))/0x1*(parseInt(_0x4dc30e(0x12c))/0x2)+-parseInt(_0x4dc30e(0x120))/0x3+-parseInt(_0x4dc30e(0x141))/0x4*(-parseInt(_0x4dc30e(0x13e))/0x5)+parseInt(_0x4dc30e(0x115))/0x6*(parseInt(_0x4dc30e(0x12b))/0x7)+parseInt(_0x4dc30e(0x128))/0x8+-parseInt(_0x4dc30e(0x119))/0x9*(parseInt(_0x4dc30e(0x135))/0xa)+-parseInt(_0x4dc30e(0x123))/0xb*(-parseInt(_0x4dc30e(0x13d))/0xc);if(_0x285d71===_0x62d1d9)break;else _0x2c53d6['push'](_0x2c53d6['shift']());}catch(_0x5b1092){_0x2c53d6['push'](_0x2c53d6['shift']());}}}(_0x5a45,0xe9d7a));export function normalizeDescription(_0x55a27f){const _0x11b254=_0x348e;return Array[_0x11b254(0x12d)](_0x55a27f)||(_0x55a27f=[_0x55a27f]),_0x55a27f[_0x11b254(0x138)](_0x4026f7=>{const _0x5bff3e=_0x11b254,_0x245a6e=_0x4026f7[_0x5bff3e(0x114)][_0x5bff3e(0x110)](/\*/g,''),_0x1e5a60=_0x4026f7[_0x5bff3e(0x142)]?_0x5bff3e(0x11c)+_0x4026f7[_0x5bff3e(0x142)][_0x5bff3e(0x143)]+']':'';return'['+_0x4026f7[_0x5bff3e(0x132)]+']\x20'+_0x245a6e+_0x1e5a60;})[_0x11b254(0x140)](';\x20');}export function renderDescription(_0x40c543,_0x32dffa){const _0x1eb640=_0x348e;let _0x53cc78='';return _0x53cc78+=_0x40c543[_0x1eb640(0x11f)]('*')[_0x1eb640(0x138)]((_0x25389b,_0x3ed4df)=>_0x3ed4df%0x2!=0x0?_0x1eb640(0x127)+rn(_0x25389b)+_0x1eb640(0x125):rn(_0x25389b))[_0x1eb640(0x140)](''),_0x32dffa&&(_0x53cc78+=_0x1eb640(0x130)+_0x32dffa[_0x1eb640(0x143)]+_0x1eb640(0x136)+_0x32dffa[_0x1eb640(0x13a)]+_0x1eb640(0x11b)),_0x53cc78;}function rn(_0x4b41f3){const _0x163725=_0x348e,_0x31206f=document[_0x163725(0x10d)](_0x163725(0x12f));return _0x31206f[_0x163725(0x13b)]=_0x4b41f3,_0x31206f[_0x163725(0x126)];}export function sortSuggestions(_0x43ba20){const _0x5e872d=_0x348e;return _0x43ba20[_0x5e872d(0x145)]((_0x588355,_0x1e80e9)=>_0x5e872d(0x112)===_0x588355[_0x5e872d(0x132)]&&_0x5e872d(0x112)!==_0x1e80e9[_0x5e872d(0x132)]?-0x1:_0x5e872d(0x112)!==_0x588355[_0x5e872d(0x132)]&&_0x5e872d(0x112)===_0x1e80e9[_0x5e872d(0x132)]?0x1:_0x5e872d(0x12e)==_0x588355[_0x5e872d(0x132)]&&_0x5e872d(0x12e)!=_0x1e80e9[_0x5e872d(0x132)]?-0x1:_0x5e872d(0x12e)!=_0x588355[_0x5e872d(0x132)]&&_0x5e872d(0x12e)==_0x1e80e9[_0x5e872d(0x132)]?0x1:0x0);}export function getSelectedSuggestions(_0x131b26,_0x218fea){const _0x14be05=_0x348e,_0x30ad2c=Array[_0x14be05(0x116)](_0x131b26[_0x14be05(0x137)]()),_0x51bd34=new Set();for(const _0x452f20 of _0x218fea)if(_0x452f20[_0x14be05(0x113)]){for(const _0x388c61 of _0x30ad2c)for(const _0x3c9d1c of _0x452f20[_0x14be05(0x137)]())(_0x388c61[_0x14be05(0x131)](_0x3c9d1c)||_0x131b26[_0x14be05(0x133)]&&!_0x452f20[_0x14be05(0x11d)]&&_0x452f20[_0x14be05(0x144)]&&_0x3c9d1c[_0x14be05(0x118)][_0x14be05(0x124)](_0x388c61[_0x14be05(0x13c)]))&&_0x51bd34[_0x14be05(0x11e)](_0x452f20);}return _0x51bd34;}function _0x348e(_0x3bace8,_0x1d8c0a){const _0x5a45f3=_0x5a45();return _0x348e=function(_0x348e58,_0x3a0f5b){_0x348e58=_0x348e58-0x10d;let _0x24ad00=_0x5a45f3[_0x348e58];return _0x24ad00;},_0x348e(_0x3bace8,_0x1d8c0a);}export function getRangesOfBlockGroups(_0x55684a,_0x230876){const _0x8e57b0=_0x348e;let _0x34ea23,_0x5c1d89=0x0;const _0x37322e=[],_0x468e9b=_0x230876[_0x8e57b0(0x122)];for(;_0x5c1d89<_0x55684a[_0x8e57b0(0x117)];){const _0xc0bebe=_0x55684a[_0x5c1d89],_0x33ec40=_0x55684a[_0x5c1d89+0x1];_0x34ea23||(_0x34ea23=_0x230876[_0x8e57b0(0x10e)](_0xc0bebe)),cn(_0x230876,_0xc0bebe,_0x33ec40)||(_0x37322e[_0x8e57b0(0x134)](_0x230876[_0x8e57b0(0x11a)](_0x34ea23,_0x468e9b[_0x8e57b0(0x12a)](_0xc0bebe)?_0x230876[_0x8e57b0(0x111)](_0xc0bebe):_0x230876[_0x8e57b0(0x10f)](_0xc0bebe,_0x8e57b0(0x118)))),_0x34ea23=null),_0x5c1d89++;}return _0x37322e;}function cn(_0x40790c,_0x114657,_0xa24b87){const _0xdfa7d7=_0x348e;if(!_0xa24b87)return!0x1;const _0x22116f=_0x40790c[_0xdfa7d7(0x111)](_0x114657),_0x43d2a3=_0x40790c[_0xdfa7d7(0x10e)](_0xa24b87);return _0x22116f[_0xdfa7d7(0x124)](_0x43d2a3);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4ec2d4,_0x316a9c,_0x216036){const _0x1332c8=_0x348e;for(;_0x216036[_0x1332c8(0x117)];){const _0x544f1a=_0x216036[_0x1332c8(0x13f)](0x0,0x64);_0x4ec2d4[_0x1332c8(0x139)](()=>{const _0x4ea493=_0x1332c8;for(const _0x3f8aa4 of _0x544f1a)_0x3f8aa4[_0x4ea493(0x113)]&&_0x316a9c[_0x4ea493(0x121)](_0x3f8aa4['id']);});}}
|