@ckeditor/ckeditor5-track-changes 46.0.1 → 46.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48cd76=_0x2bef;(function(_0x599f10,_0x568462){const _0xdd825=_0x2bef,_0x2b0790=_0x599f10();while(!![]){try{const _0x5eafb2=-parseInt(_0xdd825(0x111))/0x1*(parseInt(_0xdd825(0x10b))/0x2)+parseInt(_0xdd825(0x112))/0x3+parseInt(_0xdd825(0x10f))/0x4+parseInt(_0xdd825(0xfe))/0x5*(-parseInt(_0xdd825(0x109))/0x6)+parseInt(_0xdd825(0x102))/0x7+parseInt(_0xdd825(0x10d))/0x8+parseInt(_0xdd825(0x104))/0x9*(-parseInt(_0xdd825(0xff))/0xa);if(_0x5eafb2===_0x568462)break;else _0x2b0790['push'](_0x2b0790['shift']());}catch(_0x1f1450){_0x2b0790['push'](_0x2b0790['shift']());}}}(_0x577c,0xa8717));import{Plugin as _0x30ce00}from'ckeditor5/src/core.js';import{Dialog as _0x518564}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x161504}from'./trackchangesdata.js';function _0x2bef(_0x3530d2,_0x449a06){const _0x577c0f=_0x577c();return _0x2bef=function(_0x2bef15,_0x33534f){_0x2bef15=_0x2bef15-0xfe;let _0x151fb7=_0x577c0f[_0x2bef15];return _0x151fb7;},_0x2bef(_0x3530d2,_0x449a06);}import{PreviewFinalContentCommand as _0x594e94}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x30ce00{static get[_0x48cd76(0x10a)](){return[_0x161504,_0x518564];}static get[_0x48cd76(0x114)](){const _0x26e6a0=_0x48cd76;return _0x26e6a0(0x10c);}static get[_0x48cd76(0x113)](){return!0x0;}static get[_0x48cd76(0x110)](){return!0x0;}constructor(_0xc8d07){const _0x33fcbe=_0x48cd76;super(_0xc8d07),_0xc8d07[_0x33fcbe(0x107)][_0x33fcbe(0x101)](_0x33fcbe(0x103),new _0x594e94(this[_0x33fcbe(0x100)])),_0xc8d07[_0x33fcbe(0x10e)][_0x33fcbe(0x105)](_0x33fcbe(0x108),(_0x3618a4,_0x27c599)=>{const _0x5d01dd=_0x33fcbe;for(const _0x26dbcd of _0x27c599)_0x3618a4[_0x5d01dd(0x106)](_0x26dbcd);});}}function _0x577c(){const _0x565845=['requires','152oANvFx','TrackChangesPreview','579024lIIecg','config','1370016EMDTlB','isPremiumPlugin','456Iaviwt','3963675KfbcZi','isOfficialPlugin','pluginName','2495725BkpFSa','2610pRzIME','editor','add','6270915sOxxWM','previewFinalContent','31347CpVrwr','define','appendChild','commands','trackChanges.preview.renderFunction','12zEmkPm'];_0x577c=function(){return _0x565845;};return _0x577c();}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x56c413=_0x15dc;(function(_0x23b267,_0x5dc710){const _0x370043=_0x15dc,_0x5ec9b2=_0x23b267();while(!![]){try{const _0x421310=parseInt(_0x370043(0x107))/0x1*(-parseInt(_0x370043(0x11d))/0x2)+-parseInt(_0x370043(0x11e))/0x3+-parseInt(_0x370043(0xe3))/0x4*(parseInt(_0x370043(0xb6))/0x5)+parseInt(_0x370043(0xa3))/0x6*(parseInt(_0x370043(0xb3))/0x7)+parseInt(_0x370043(0x10e))/0x8*(parseInt(_0x370043(0xee))/0x9)+-parseInt(_0x370043(0x117))/0xa+parseInt(_0x370043(0x140))/0xb;if(_0x421310===_0x5dc710)break;else _0x5ec9b2['push'](_0x5ec9b2['shift']());}catch(_0x2c2317){_0x5ec9b2['push'](_0x5ec9b2['shift']());}}}(_0x1c31,0x3e32b));import{Plugin as _0x5bdc97}from'ckeditor5/src/core.js';import{Collection as _0x3c470f}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x28076}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x335a06,createDropdown as _0x50eac0,ListSeparatorView as _0x3c18cb,MenuBarMenuView as _0x1f678a,MenuBarMenuListView as _0x1d15b2,MenuBarMenuListItemView as _0x1e8fd7,MenuBarMenuListItemButtonView as _0x5a1279,SplitButtonView as _0x4c3d69,UIModel as _0x16f6f4}from'ckeditor5/src/ui.js';function _0x15dc(_0x417dc9,_0x4ba42a){const _0x1c3101=_0x1c31();return _0x15dc=function(_0x15dcee,_0x4ca2af){_0x15dcee=_0x15dcee-0x9b;let _0x1c8d65=_0x1c3101[_0x15dcee];return _0x1c8d65;},_0x15dc(_0x417dc9,_0x4ba42a);}import{Users as _0x2ebf4a,getDateTimeFormatter as _0x5e8b3a,getAllMarkersDomElementsSorted as _0x190c32}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x564e14}from'./trackchangesediting.js';import{SuggestionController as _0x5a3ba2}from'./ui/suggestioncontroller.js';function _0x1c31(){const _0x3729db=['from','isOfficialPlugin','commandName','domainLimit','trackChangesLicenseKeyValid','invalid','values','_suggestionToController','acceptSelectedSuggestions','createAnnotationView','trackChanges','evaluationLimit','addSourceCollector','stopListening','mainView','licenseKey','button','trackChanges.SuggestionView','_initializeController','6aWenmp','isMultiRange','_annotationViews','commentsListView','Accept\x20all\x20suggestions','escape','filter','_unbindEditors','some','listenTo','source','previewFinalContent','isPremiumPlugin','discardSelectedSuggestions','length','commentThread','630602WbFtNW','has','get','2360465cwBjrg','_licenseKeyCheckInterval','trialLimit','getMarkers','createAnnotation','comments.maxCommentCharsWhenCollapsed','previous','editor','Preview\x20final\x20content','destroy','addMany','_handleSuggestionControllerDelayed','children','_bindAnnotationToEditors','lowest','type','getDescriptions','activeAnnotations','Discard\x20all\x20selected\x20suggestions','getByInnerView','unbind','CommentsRepository','Accept\x20all\x20selected\x20suggestions','comments.editorConfig','isEnabled','model','EditorAnnotations','separator','requires','execute','change:previous','menuitemcheckbox','clear','getAllAdjacentSuggestions','_refreshActiveMarkers','config','trackChangesLicenseKeyInvalid','comments.maxThreadTotalWeight','keys','activeMarkers','refreshSelectedViews','trackChangesLicenseKeyNotAllowed','suggestionView','add','_disableComments','4vISRIH','suggestion-','suggestionLoaded','trackChanges.SuggestionThreadView','suggestionUnloaded','trackChangesLicenseKeyExpired','remove','fire','menuitem','TrackChangesEditing','_viewToController','9htDgrY','getSuggestionForAnnotation','menu','actionView','focus','SuggestionThreadView','trackChanges.disableComments','trackChangesLicenseKeyUsageLimit','reduce','_addUIComponentsToFactory','innerView','set','descriptionFactory','head','locale','size','_createMenuBarMenu','_destroyController','buttonView','TrackChanges','getJoined','isOn','trackChangesLicenseKeyDomainLimit','CommentsUI','getSuggestion','4wVZDZm','delete','commands','CommentView','TrackChangesUI','acceptButton','createCommentThreadController','494384Xzwwsb','TrackChangesPreview','suggestionChanged','hasSuggestion','plugins','getMarkerNames','pluginName','discardButton','acceptAllSuggestions','2609540ZYrOLu','_handleControllerBuffer','Track\x20changes','change:activeAnnotations','delegate','items','237882BqgpZh','278379MIspTR','descriptionParts','trackChangesLicenseKeyTrialLimit','discardAllSuggestions','arrowView','menuBar:trackChanges','isInContent','getFirstRange','componentFactory','Annotations','editing','_updateController','_createToolbarButton','trackChangesLicenseKeyEvaluationLimit','switchbutton','getAnnotationForSuggestion','registerAnnotation','SuggestionView','_showLicenseError','toMany','view','value','addComment','panelView','comments','push','Discard\x20all\x20suggestions','bind','comments.maxCommentsWhenCollapsed','featureNotAllowed','init','expired','isDirty','usageLimit','15449313TXWYvk','getRanges','define'];_0x1c31=function(){return _0x3729db;};return _0x1c31();}import{SuggestionThreadView as _0x20d865}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5dc470}from'./ui/view/suggestionview.js';import{getTranslation as _0x260453}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5bdc97{[_0x56c413(0x9f)];[_0x56c413(0xb7)];[_0x56c413(0x14a)];[_0x56c413(0xed)];[_0x56c413(0xa5)];[_0x56c413(0x118)];[_0x56c413(0xe2)];static get[_0x56c413(0xd2)](){const _0x3bc36d=_0x56c413;return[_0x564e14,_0x2ebf4a,_0x3bc36d(0xcb),_0x3bc36d(0x127),_0x3bc36d(0xd0)];}static get[_0x56c413(0x114)](){const _0x1c32e8=_0x56c413;return _0x1c32e8(0x10b);}static get[_0x56c413(0x144)](){return!0x0;}static get[_0x56c413(0xaf)](){return!0x0;}constructor(_0x1eb3ed){const _0x3edcd7=_0x56c413;super(_0x1eb3ed),this[_0x3edcd7(0x14a)]=new Map(),this[_0x3edcd7(0xed)]=new Map(),this[_0x3edcd7(0xa5)]=new Map(),this[_0x3edcd7(0x118)]=new Map();const _0x30fbfc=this[_0x3edcd7(0xbd)][_0x3edcd7(0xd9)];_0x30fbfc[_0x3edcd7(0x142)](_0x3edcd7(0xe6),_0x20d865),_0x30fbfc[_0x3edcd7(0x142)](_0x3edcd7(0xa1),_0x5dc470),_0x30fbfc[_0x3edcd7(0x142)](_0x3edcd7(0xf4),!0x1),this[_0x3edcd7(0xe2)]=_0x30fbfc[_0x3edcd7(0xb5)](_0x3edcd7(0xf4));}[_0x56c413(0xc1)](_0x443525,_0x3f5543){const _0x2d059d=_0x56c413;0x0===this[_0x2d059d(0x118)][_0x2d059d(0xfd)]&&setTimeout(()=>{const _0x429590=_0x2d059d;for(const [_0x44a596,_0x475242]of this[_0x429590(0x118)]){const _0x31ea10=this[_0x429590(0x14a)][_0x429590(0xb4)](_0x44a596);_0x31ea10||_0x475242?_0x31ea10&&_0x475242&&this[_0x429590(0xff)](_0x44a596):this[_0x429590(0xa2)](_0x44a596);}this[_0x429590(0x118)][_0x429590(0xd6)](),this[_0x429590(0xbd)][_0x429590(0x112)][_0x429590(0xb5)](_0x429590(0xd0))[_0x429590(0xde)](),this[_0x429590(0xd8)]();},0xa),this[_0x2d059d(0x118)][_0x2d059d(0xf9)](_0x443525,_0x3f5543);}[_0x56c413(0x13c)](){const _0x2f2834=_0x56c413,_0x6864fb=this[_0x2f2834(0xbd)],_0x50d20d=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0xec)),_0x2513f3=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0x127)),_0x3417aa=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0xd0)),_0x5320f1=_0x6864fb[_0x2f2834(0x112)][_0x2f2834(0xb5)](_0x2f2834(0xcb));this[_0x2f2834(0xf7)](),_0x3417aa[_0x2f2834(0x9c)](()=>{const _0x1bcc54=_0x2f2834,_0x359297=[];for(const [_0x24b65e,_0x4cbacb]of Array[_0x1bcc54(0x143)](this[_0x1bcc54(0x14a)])){const _0x1fcc15=_0x24b65e[_0x1bcc54(0xd7)](),_0x1ec301=[];for(const _0x3a734a of _0x1fcc15){if(!_0x3a734a[_0x1bcc54(0x124)])continue;if(_0x3a734a[_0x1bcc54(0xa4)]){_0x1ec301[_0x1bcc54(0x137)](..._0x3a734a[_0x1bcc54(0x141)]());continue;}const _0x2fd723=_0x3a734a[_0x1bcc54(0x125)]();if(_0x1ec301[_0x1bcc54(0xb1)]>0x0){const _0x301e15=_0x1ec301[0x0][_0x1bcc54(0x102)](_0x2fd723);if(_0x301e15){_0x1ec301[0x0]=_0x301e15;continue;}}_0x1ec301[_0x1bcc54(0x137)](_0x2fd723);}_0x359297[_0x1bcc54(0x137)]([_0x4cbacb[_0x1bcc54(0x132)],_0x1ec301]);}return _0x359297;}),this[_0x2f2834(0xac)](_0x50d20d,_0x2f2834(0xe5),(_0x2df9c3,_0x4235d1)=>{const _0x587c3b=_0x2f2834;this[_0x587c3b(0xac)](_0x4235d1,_0x587c3b(0xd4),(_0x57372f,_0x3e6a67,_0x546742,_0x8186b6)=>{const _0x2d8686=_0x587c3b;_0x4235d1[_0x2d8686(0x124)]&&(null==_0x546742?(this[_0x2d8686(0x129)](_0x8186b6[_0x2d8686(0xfb)]),this[_0x2d8686(0xc1)](_0x4235d1,!0x1)):(this[_0x2d8686(0x129)](_0x546742[_0x2d8686(0xfb)]),null==_0x8186b6&&this[_0x2d8686(0xc1)](_0x4235d1,!0x0)));}),null!==_0x4235d1[_0x587c3b(0xbc)]?this[_0x587c3b(0x129)](_0x4235d1[_0x587c3b(0xfb)]):this[_0x587c3b(0xc1)](_0x4235d1,!0x1);}),this[_0x2f2834(0xac)](_0x50d20d,_0x2f2834(0xe7),(_0x42bfb7,_0x310b81,_0x51b703)=>{const _0x25ae2c=_0x2f2834;this[_0x25ae2c(0x9d)](_0x310b81,_0x25ae2c(0xd4)),this[_0x25ae2c(0x118)][_0x25ae2c(0x108)](_0x310b81),this[_0x25ae2c(0x14a)][_0x25ae2c(0xb4)](_0x310b81)&&this[_0x25ae2c(0xff)](_0x310b81),_0x51b703&&this[_0x25ae2c(0x129)](_0x51b703[_0x25ae2c(0xfb)]);}),this[_0x2f2834(0xac)](_0x50d20d,_0x2f2834(0x110),(_0x103bf5,_0x48e2fd)=>{const _0x3da6cb=_0x2f2834;this[_0x3da6cb(0x129)](_0x48e2fd);}),this[_0x2f2834(0xac)](_0x2513f3,_0x2f2834(0x11a),()=>{const _0x50d852=_0x2f2834;this[_0x50d852(0xd8)]();}),this[_0x2f2834(0xac)](_0x5320f1,_0x2f2834(0x134),(_0x437b77,{threadId:_0x4bf32c,isFromAdapter:_0x4ed329})=>{const _0x347f2e=_0x2f2834;if(_0x4ed329||!_0x50d20d[_0x347f2e(0x111)](_0x4bf32c))return;const _0x372e1e=_0x50d20d[_0x347f2e(0x106)](_0x4bf32c);this[_0x347f2e(0x14a)][_0x347f2e(0xb5)](_0x372e1e)[_0x347f2e(0x132)][_0x347f2e(0xa6)][_0x347f2e(0xf2)](-0x1);},{'priority':_0x2f2834(0xc4)}),this[_0x2f2834(0x9f)]=this[_0x2f2834(0xbd)][_0x2f2834(0xd9)][_0x2f2834(0xb5)](_0x2f2834(0x9f));const _0x1f3d1b=this[_0x2f2834(0xbd)];this[_0x2f2834(0xb7)]=setInterval(()=>{const _0x177379=_0x2f2834;let _0x53d4c8;for(const _0x44bc5a in _0x1f3d1b){const _0x48370b=_0x44bc5a,_0x546324=_0x1f3d1b[_0x48370b];if(_0x177379(0x147)==_0x546324||_0x177379(0xda)==_0x546324||_0x177379(0xe8)==_0x546324||_0x177379(0x104)==_0x546324||_0x177379(0xdf)==_0x546324||_0x177379(0x12b)==_0x546324||_0x177379(0x120)==_0x546324||_0x177379(0xf5)==_0x546324){delete _0x1f3d1b[_0x48370b],_0x53d4c8=_0x546324,clearInterval(this[_0x177379(0xb7)]),this[_0x177379(0xb7)]=void 0x0;break;}}_0x177379(0xda)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x148)),_0x177379(0xe8)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x13d)),_0x177379(0x104)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x146)),_0x177379(0xdf)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x13b),_0x177379(0x101)),_0x177379(0x12b)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x9b)),_0x177379(0x120)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0xb8)),_0x177379(0xf5)==_0x53d4c8&&_0x1f3d1b[_0x177379(0x130)](_0x177379(0x13f));},0x3e8);}[_0x56c413(0x12d)](_0xa5749c){const _0x4e67b5=_0x56c413,_0x2c9cfc=this[_0x4e67b5(0x14a)][_0x4e67b5(0xb5)](_0xa5749c);if(!_0x2c9cfc)return null;return this[_0x4e67b5(0xbd)][_0x4e67b5(0x112)][_0x4e67b5(0xb5)](_0x4e67b5(0x127))[_0x4e67b5(0xc9)](_0x2c9cfc[_0x4e67b5(0x132)])||null;}[_0x56c413(0xef)](_0x549d1b){const _0x68f4cf=_0x56c413,_0x376fcc=this[_0x68f4cf(0xed)][_0x68f4cf(0xb5)](_0x549d1b[_0x68f4cf(0xf8)]);return _0x376fcc?_0x376fcc[_0x68f4cf(0xcf)]:null;}[_0x56c413(0xd8)](){const _0x1f2a0e=_0x56c413,_0x165ca1=this[_0x1f2a0e(0xbd)][_0x1f2a0e(0x112)][_0x1f2a0e(0xb5)](_0x1f2a0e(0x127)),_0x1b61af=this[_0x1f2a0e(0xbd)][_0x1f2a0e(0x112)][_0x1f2a0e(0xb5)](_0x1f2a0e(0xec)),_0x527eb8=Array[_0x1f2a0e(0x143)](_0x165ca1[_0x1f2a0e(0xc7)],_0x274bef=>_0x274bef[_0x1f2a0e(0xf8)])[_0x1f2a0e(0xa9)](_0x5ab05d=>this[_0x1f2a0e(0xed)][_0x1f2a0e(0xb4)](_0x5ab05d)),_0x196774=[];for(const _0x3748ef of _0x527eb8){const _0x41eeaf=this[_0x1f2a0e(0xed)][_0x1f2a0e(0xb5)](_0x3748ef)[_0x1f2a0e(0xcf)][_0x1f2a0e(0xd7)]();_0x196774[_0x1f2a0e(0x137)](..._0x41eeaf[_0x1f2a0e(0xf6)]((_0x13dc92,_0x34c552)=>[..._0x13dc92,..._0x34c552[_0x1f2a0e(0x113)]()],[]));}_0x1b61af[_0x1f2a0e(0xdd)]=_0x196774;}[_0x56c413(0xf7)](){const _0x1bfc1e=_0x56c413,_0x4c23da=this[_0x1bfc1e(0xbd)],_0x1f93fc=_0x4c23da[_0x1bfc1e(0xfc)],_0x3728cd=_0x260453(_0x1f93fc,_0x1bfc1e(0x119)),_0x5e1403=new _0x3c470f([{'type':_0x1bfc1e(0x12c),'model':new _0x16f6f4({'withText':!0x0,'isToggleable':!0x0,'label':_0x3728cd,'commandName':_0x1bfc1e(0x14d),'role':_0x1bfc1e(0xd5)})},{'type':_0x1bfc1e(0xd1)},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xa7)),'commandName':_0x1bfc1e(0x116),'role':_0x1bfc1e(0xeb)})},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xcc)),'commandName':_0x1bfc1e(0x14b),'role':_0x1bfc1e(0xeb)})},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0x138)),'commandName':_0x1bfc1e(0x121),'role':_0x1bfc1e(0xeb)})},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xc8)),'commandName':_0x1bfc1e(0xb0),'role':_0x1bfc1e(0xeb)})}]);_0x4c23da[_0x1bfc1e(0x112)][_0x1bfc1e(0xb4)](_0x1bfc1e(0x10f))&&_0x5e1403[_0x1bfc1e(0xc0)]([{'type':_0x1bfc1e(0xd1)},{'type':_0x1bfc1e(0xa0),'model':new _0x16f6f4({'withText':!0x0,'label':_0x260453(_0x1f93fc,_0x1bfc1e(0xbe)),'commandName':_0x1bfc1e(0xae),'role':_0x1bfc1e(0xeb)})}]);for(const _0xa1b1fe of _0x5e1403)if(ke(_0xa1b1fe)){const _0x1c8bc0=_0x4c23da[_0x1bfc1e(0x109)][_0x1bfc1e(0xb5)](_0xa1b1fe[_0x1bfc1e(0xcf)][_0x1bfc1e(0x145)]);_0xa1b1fe[_0x1bfc1e(0xcf)][_0x1bfc1e(0x139)](_0x1bfc1e(0x103),_0x1bfc1e(0xce))['to'](_0x1c8bc0,_0x1bfc1e(0x133),_0x1bfc1e(0xce));}_0x4c23da['ui'][_0x1bfc1e(0x126)][_0x1bfc1e(0xe1)](_0x1bfc1e(0x14d),_0x4d01ac=>this[_0x1bfc1e(0x12a)](_0x4d01ac,_0x5e1403,_0x3728cd)),_0x4c23da['ui'][_0x1bfc1e(0x126)][_0x1bfc1e(0xe1)](_0x1bfc1e(0x123),_0x40d0ee=>this[_0x1bfc1e(0xfe)](_0x40d0ee,_0x5e1403,_0x3728cd));}[_0x56c413(0x12a)](_0x5e1371,_0x51ab52,_0x2dad8c){const _0x27181f=_0x56c413,_0x5a89d4=_0x50eac0(_0x5e1371,_0x4c3d69),_0x51c575=this[_0x27181f(0xbd)][_0x27181f(0x109)][_0x27181f(0xb5)](_0x27181f(0x14d));_0x5a89d4[_0x27181f(0x100)][_0x27181f(0xf9)]({'tooltip':_0x2dad8c,'label':_0x2dad8c,'icon':_0x28076}),_0x5a89d4[_0x27181f(0x100)][_0x27181f(0x139)](_0x27181f(0x103))['to'](_0x51c575,_0x27181f(0x133)),_0x5a89d4[_0x27181f(0x100)]['on'](_0x27181f(0xd3),()=>{const _0x137897=_0x27181f;_0x51c575[_0x137897(0xd3)](),this[_0x137897(0xbd)][_0x137897(0x128)][_0x137897(0x132)][_0x137897(0xf2)]();}),_0x335a06(_0x5a89d4,_0x51ab52,{'role':_0x27181f(0xf0)});const _0x436cfb=[];for(const _0x67d463 of _0x51ab52)ke(_0x67d463)&&_0x436cfb[_0x27181f(0x137)](this[_0x27181f(0xbd)][_0x27181f(0x109)][_0x27181f(0xb5)](_0x67d463[_0x27181f(0xcf)][_0x27181f(0x145)]));const _0x4b37e2=_0x5a89d4[_0x27181f(0x100)];return _0x4b37e2[_0x27181f(0xf1)][_0x27181f(0xca)](_0x27181f(0xce)),_0x4b37e2[_0x27181f(0x122)][_0x27181f(0xca)](_0x27181f(0xce)),_0x4b37e2[_0x27181f(0xf1)][_0x27181f(0x139)](_0x27181f(0xce))['to'](_0x51c575,_0x27181f(0xce)),_0x4b37e2[_0x27181f(0x122)][_0x27181f(0x139)](_0x27181f(0xce))[_0x27181f(0x131)](_0x436cfb,_0x27181f(0xce),(..._0x44fc2a)=>_0x44fc2a[_0x27181f(0xab)](_0x3e3d90=>_0x3e3d90)),_0x5a89d4['on'](_0x27181f(0xd3),_0x728773=>{const _0xa04fb7=_0x27181f;this[_0xa04fb7(0xbd)][_0xa04fb7(0xd3)](_0x728773[_0xa04fb7(0xad)][_0xa04fb7(0x145)]),this[_0xa04fb7(0xbd)][_0xa04fb7(0x128)][_0xa04fb7(0x132)][_0xa04fb7(0xf2)]();}),_0x5a89d4;}[_0x56c413(0xfe)](_0x544a4f,_0x308728,_0x42f977){const _0x5e3083=_0x56c413,_0x6634f=new _0x1f678a(_0x544a4f),_0x5efbe1=this[_0x5e3083(0xbd)][_0x5e3083(0x109)][_0x5e3083(0xb5)](_0x5e3083(0x14d));_0x6634f[_0x5e3083(0x100)][_0x5e3083(0xf9)]({'label':_0x42f977,'icon':_0x28076});const _0x1c847d=new _0x1d15b2(_0x544a4f);for(const _0x4d4568 of _0x308728){if(_0x5e3083(0xd1)==_0x4d4568[_0x5e3083(0xc5)]){_0x1c847d[_0x5e3083(0x11c)][_0x5e3083(0xe1)](new _0x3c18cb(_0x544a4f));continue;}const _0x368af0=new _0x1e8fd7(_0x544a4f,_0x6634f),_0x3ff1d6=new _0x5a1279(_0x544a4f),_0x5774c1=_0x4d4568[_0x5e3083(0xcf)];_0x3ff1d6[_0x5e3083(0x139)](...Object[_0x5e3083(0xdc)](_0x5774c1))['to'](_0x5774c1),_0x3ff1d6[_0x5e3083(0x11b)](_0x5e3083(0xd3))['to'](_0x6634f),_0x3ff1d6['on'](_0x5e3083(0xd3),()=>{const _0x5b7a83=_0x5e3083;this[_0x5b7a83(0xbd)][_0x5b7a83(0xd3)](_0x5774c1[_0x5b7a83(0x145)]),this[_0x5b7a83(0xbd)][_0x5b7a83(0x128)][_0x5b7a83(0x132)][_0x5b7a83(0xf2)]();}),_0x368af0[_0x5e3083(0xc2)][_0x5e3083(0xe1)](_0x3ff1d6),_0x1c847d[_0x5e3083(0x11c)][_0x5e3083(0xe1)](_0x368af0);}return _0x6634f[_0x5e3083(0x139)](_0x5e3083(0xce))['to'](_0x5efbe1,_0x5e3083(0xce)),_0x6634f[_0x5e3083(0x135)][_0x5e3083(0xc2)][_0x5e3083(0xe1)](_0x1c847d),_0x6634f;}[_0x56c413(0xa2)](_0xa8cbd3){const _0x5a595b=_0x56c413,_0x40d8f1=this[_0x5a595b(0xbd)],_0x4b8fd1=_0x40d8f1[_0x5a595b(0xd9)],_0x3cfda7=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0x127)),_0x4ba494=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0xcb)),_0x276476=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0xd0)),_0x3d35cc=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x2ebf4a)['me'],_0x286530=_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x14d))[_0x5a595b(0xf3)],_0x4bfa51=_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x14d))[_0x5a595b(0x12f)],{CommentsListView:_0x370d02,CommentThreadInputView:_0x54e10d}=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0x105));let _0x1dc421,_0x16882f,_0x5d9fd4;this[_0x5a595b(0xa5)][_0x5a595b(0xb4)](_0xa8cbd3['id'])?(_0x16882f=this[_0x5a595b(0xa5)][_0x5a595b(0xb5)](_0xa8cbd3['id']),_0x1dc421=_0x16882f[_0x5a595b(0x9e)]):(_0x1dc421=new _0x286530(_0x40d8f1[_0x5a595b(0xfc)],_0xa8cbd3,_0x3d35cc,{'disableComments':this[_0x5a595b(0xe2)],'editorConfig':{..._0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xcd)),'licenseKey':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x9f))},'maxCommentsWhenCollapsed':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x13a)),'maxThreadTotalWeight':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xdb)),'maxCommentCharsWhenCollapsed':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xbb)),'formatDateTime':_0x5e8b3a(_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0xfc)),_0x40d8f1[_0x5a595b(0xfc)]),'CommentView':_0x4b8fd1[_0x5a595b(0xb5)](_0x5a595b(0x136))[_0x5a595b(0x10a)],'CommentsListView':_0x370d02,'CommentThreadInputView':_0x54e10d,'SuggestionView':_0x4bfa51}),_0x1dc421[_0x5a595b(0xe0)][_0x5a595b(0x10c)]['on'](_0x5a595b(0xd3),()=>{const _0x2334e9=_0x5a595b;_0x40d8f1[_0x2334e9(0x128)][_0x2334e9(0x132)][_0x2334e9(0xf2)]();}),_0x1dc421[_0x5a595b(0xe0)][_0x5a595b(0x115)]['on'](_0x5a595b(0xd3),()=>{const _0x5eec7b=_0x5a595b;_0x40d8f1[_0x5eec7b(0x128)][_0x5eec7b(0x132)][_0x5eec7b(0xf2)]();}),_0x16882f=_0x3cfda7[_0x5a595b(0x14c)](this[_0x5a595b(0xbd)][_0x5a595b(0xfc)],_0x1dc421),_0x16882f[_0x5a595b(0x139)](_0x5a595b(0x13e))['to'](_0x1dc421,_0x5a595b(0x13e)),_0x16882f[_0x5a595b(0x139)](_0x5a595b(0xb1))['to'](_0x1dc421),_0x16882f[_0x5a595b(0x139)](_0x5a595b(0xc5))['to'](_0x1dc421,_0x5a595b(0xc5),_0x5b14bd=>_0x5a595b(0xe4)+_0x5b14bd),_0x1dc421['on'](_0x5a595b(0xa8),()=>{const _0x584d20=_0x5a595b;_0x5d9fd4[_0x584d20(0xea)](_0x584d20(0xa8));}),this[_0x5a595b(0xa5)][_0x5a595b(0xf9)](_0xa8cbd3['id'],_0x16882f));const _0x4f28fe=_0x4ba494[_0x5a595b(0x10d)](_0xa8cbd3[_0x5a595b(0xb2)],_0x1dc421),_0x3acf24=new _0x5a3ba2(_0x40d8f1,_0xa8cbd3,_0x1dc421,_0x4f28fe),_0x235770=_0xa8cbd3[_0x5a595b(0xd7)]()[_0x5a595b(0xa9)](_0xa4160c=>_0xa4160c[_0x5a595b(0x124)]);_0x1dc421[_0x5a595b(0x11f)]=_0x40d8f1[_0x5a595b(0x112)][_0x5a595b(0xb5)](_0x5a595b(0xec))[_0x5a595b(0xfa)][_0x5a595b(0xc6)](_0x235770),this[_0x5a595b(0x14a)][_0x5a595b(0xf9)](_0xa8cbd3,_0x3acf24),this[_0x5a595b(0xed)][_0x5a595b(0xf9)](_0x1dc421,_0x3acf24);const _0x36192a=()=>{const _0x2aecd7=_0x5a595b,_0x49155c=[],_0x267f80=_0xa8cbd3[_0x2aecd7(0xd7)]()[_0x2aecd7(0xa9)](_0x2f516f=>_0x2f516f[_0x2aecd7(0x124)]);for(const _0x12c52e of _0x267f80)_0x49155c[_0x2aecd7(0x137)](..._0x12c52e[_0x2aecd7(0xb9)]());return _0x190c32(_0x40d8f1[_0x2aecd7(0x128)],_0x49155c);};_0x5d9fd4=_0x3cfda7[_0x5a595b(0xba)]({'view':_0x16882f,'target':_0x36192a,'type':()=>_0x5a595b(0xe4)+_0x3acf24[_0x5a595b(0x132)][_0x5a595b(0xc5)],'isVisible':!!_0x36192a()}),_0x4ba494[_0x5a595b(0xc3)](_0x1dc421,_0x5d9fd4),_0x3cfda7[_0x5a595b(0xe1)](_0x5d9fd4),_0x276476[_0x5a595b(0x12e)](_0x5d9fd4);}[_0x56c413(0xff)](_0x4089d2){const _0x4c8c86=_0x56c413,_0x4a7849=this[_0x4c8c86(0xbd)][_0x4c8c86(0x112)][_0x4c8c86(0xb5)](_0x4c8c86(0xcb)),_0x49c74d=this[_0x4c8c86(0xbd)][_0x4c8c86(0x112)][_0x4c8c86(0xb5)](_0x4c8c86(0x127)),_0x58ca61=this[_0x4c8c86(0x14a)][_0x4c8c86(0xb5)](_0x4089d2),_0x86956d=_0x58ca61[_0x4c8c86(0x132)],_0x25bf66=_0x49c74d[_0x4c8c86(0xc9)](_0x86956d);_0x4a7849[_0x4c8c86(0xaa)](_0x86956d),_0x25bf66&&_0x49c74d[_0x4c8c86(0xe9)](_0x25bf66),this[_0x4c8c86(0x14a)][_0x4c8c86(0x108)](_0x4089d2),this[_0x4c8c86(0xed)][_0x4c8c86(0x108)](_0x86956d),_0x58ca61[_0x4c8c86(0xbf)]();}[_0x56c413(0x129)](_0x59616d){const _0x34f89c=_0x56c413;if(!_0x59616d[_0x34f89c(0x124)]||!this[_0x34f89c(0x14a)][_0x34f89c(0xb4)](_0x59616d))return;const _0x5b70cd=this[_0x34f89c(0xbd)][_0x34f89c(0x112)][_0x34f89c(0xb5)](_0x34f89c(0xec)),_0x3552f3=this[_0x34f89c(0x14a)][_0x34f89c(0xb5)](_0x59616d),_0x2b40c8=_0x59616d[_0x34f89c(0xd7)]();_0x3552f3[_0x34f89c(0x132)][_0x34f89c(0x11f)]=_0x5b70cd[_0x34f89c(0xfa)][_0x34f89c(0xc6)](_0x2b40c8);}[_0x56c413(0xbf)](){const _0x82b07f=_0x56c413;for(const _0x45f19e of this[_0x82b07f(0x14a)][_0x82b07f(0xdc)]())this[_0x82b07f(0xff)](_0x45f19e);for(const _0x21d9cc of this[_0x82b07f(0xa5)][_0x82b07f(0x149)]())_0x21d9cc[_0x82b07f(0x9e)][_0x82b07f(0xbf)]();super[_0x82b07f(0xbf)](),this[_0x82b07f(0xb7)]&&clearInterval(this[_0x82b07f(0xb7)]);}}function ke(_0x141f30){const _0x6340f7=_0x56c413;return _0x6340f7(0xcf)in _0x141f30;}
|
|
23
|
+
const _0x141198=_0x52b5;(function(_0x23dd35,_0x2785f9){const _0x2157c3=_0x52b5,_0x56718d=_0x23dd35();while(!![]){try{const _0x438a1f=-parseInt(_0x2157c3(0xba))/0x1*(-parseInt(_0x2157c3(0xc6))/0x2)+parseInt(_0x2157c3(0x112))/0x3*(parseInt(_0x2157c3(0x109))/0x4)+parseInt(_0x2157c3(0xea))/0x5+parseInt(_0x2157c3(0xc4))/0x6*(-parseInt(_0x2157c3(0xe3))/0x7)+-parseInt(_0x2157c3(0x101))/0x8*(-parseInt(_0x2157c3(0xd7))/0x9)+parseInt(_0x2157c3(0xb9))/0xa*(parseInt(_0x2157c3(0xec))/0xb)+-parseInt(_0x2157c3(0xac))/0xc;if(_0x438a1f===_0x2785f9)break;else _0x56718d['push'](_0x56718d['shift']());}catch(_0xa5ea09){_0x56718d['push'](_0x56718d['shift']());}}}(_0x3473,0xda7ab));import{Plugin as _0x3e0f0e}from'ckeditor5/src/core.js';import{Collection as _0x2ba0ab}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x5b9665}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1302d1,createDropdown as _0xc78b41,ListSeparatorView as _0x591203,MenuBarMenuView as _0x2b0672,MenuBarMenuListView as _0x4089b8,MenuBarMenuListItemView as _0xcb2b4b,MenuBarMenuListItemButtonView as _0x398f68,SplitButtonView as _0x57ae9f,UIModel as _0x267f40}from'ckeditor5/src/ui.js';import{Users as _0x20d556,getDateTimeFormatter as _0x4086b5,getAllMarkersDomElementsSorted as _0x14290b}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x483f0f}from'./trackchangesediting.js';import{SuggestionController as _0x412d08}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x509f22}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x219837}from'./ui/view/suggestionview.js';import{getTranslation as _0x5d0c51}from'./utils/common-translations.js';function _0x3473(){const _0x574378=['isOn','componentFactory','_suggestionToController','head','editor','isDirty','isEnabled','trackChangesLicenseKeyEvaluationLimit','_createMenuBarMenu','18185016WyoJEj','discardSelectedSuggestions','set','TrackChanges','model','comments','discardButton','focus','pluginName','getByInnerView','previewFinalContent','TrackChangesPreview','keys','210VtjnUi','1zbxrYO','_annotationViews','getDescriptions','trialLimit','destroy','actionView','menuBar:trackChanges','switchbutton','acceptButton','SuggestionView','1962ajCHZl','_unbindEditors','804622BVDppW','createCommentThreadController','getRanges','commands','getAnnotationForSuggestion','escape','trackChangesLicenseKeyValid','CommentsRepository','length','registerAnnotation','unbind','getSuggestionForAnnotation','suggestionChanged','suggestionUnloaded','comments.maxThreadTotalWeight','EditorAnnotations','has','423tyUIFO','evaluationLimit','_disableComments','get','descriptionParts','trackChangesLicenseKeyNotAllowed','acceptAllSuggestions','getFirstRange','getAllAdjacentSuggestions','isOfficialPlugin','comments.maxCommentCharsWhenCollapsed','isPremiumPlugin','31829RPYpiL','Accept\x20all\x20suggestions','trackChanges.disableComments','from','suggestionView','activeAnnotations','buttonView','78510YNiRet','Discard\x20all\x20selected\x20suggestions','569151bkeYIe','getJoined','featureNotAllowed','Annotations','clear','trackChanges.SuggestionThreadView','children','addComment','descriptionFactory','licenseKey','locale','commandName','_bindAnnotationToEditors','_destroyController','remove','arrowView','reduce','bind','separator','execute','activeMarkers','207144zJZrEE','value','trackChangesLicenseKeyUsageLimit','config','Preview\x20final\x20content','_initializeController','innerView','getSuggestion','4uSpRBz','_handleSuggestionControllerDelayed','Accept\x20all\x20selected\x20suggestions','trackChanges.SuggestionView','init','_refreshActiveMarkers','discardAllSuggestions','editing','hasSuggestion','3526899KquumW','previous','push','source','createAnnotation','invalid','_updateController','domainLimit','_viewToController','refreshSelectedViews','CommentView','mainView','_licenseKeyCheckInterval','TrackChangesEditing','trackChanges','add','listenTo','addMany','lowest','delete','suggestion-','change:previous','createAnnotationView','toMany','panelView','acceptSelectedSuggestions','Track\x20changes','size','menuitem','change:activeAnnotations','Discard\x20all\x20suggestions','values','addSourceCollector','delegate','define','isInContent','usageLimit','TrackChangesUI','plugins','comments.editorConfig','_addUIComponentsToFactory','_createToolbarButton','trackChangesLicenseKeyExpired','view','SuggestionThreadView','CommentsUI','some','commentThread','items','comments.maxCommentsWhenCollapsed','getMarkerNames','fire','expired','_handleControllerBuffer','filter','_showLicenseError','isMultiRange','requires','menuitemcheckbox','button','trackChangesLicenseKeyDomainLimit','suggestionLoaded','menu','stopListening','trackChangesLicenseKeyInvalid','type','commentsListView','getMarkers','trackChangesLicenseKeyTrialLimit'];_0x3473=function(){return _0x574378;};return _0x3473();}export class TrackChangesUI extends _0x3e0f0e{[_0x141198(0xf5)];[_0x141198(0x11e)];[_0x141198(0xa5)];[_0x141198(0x11a)];[_0x141198(0xbb)];[_0x141198(0x93)];[_0x141198(0xd9)];static get[_0x141198(0x97)](){const _0x381258=_0x141198;return[_0x483f0f,_0x20d556,_0x381258(0xcd),_0x381258(0xef),_0x381258(0xd5)];}static get[_0x141198(0xb4)](){const _0x5798f6=_0x141198;return _0x5798f6(0x137);}static get[_0x141198(0xe0)](){return!0x0;}static get[_0x141198(0xe2)](){return!0x0;}constructor(_0xd51a68){const _0x2630db=_0x141198;super(_0xd51a68),this[_0x2630db(0xa5)]=new Map(),this[_0x2630db(0x11a)]=new Map(),this[_0x2630db(0xbb)]=new Map(),this[_0x2630db(0x93)]=new Map();const _0x5b40e1=this[_0x2630db(0xa7)][_0x2630db(0x104)];_0x5b40e1[_0x2630db(0x134)](_0x2630db(0xf1),_0x509f22),_0x5b40e1[_0x2630db(0x134)](_0x2630db(0x10c),_0x219837),_0x5b40e1[_0x2630db(0x134)](_0x2630db(0xe5),!0x1),this[_0x2630db(0xd9)]=_0x5b40e1[_0x2630db(0xda)](_0x2630db(0xe5));}[_0x141198(0x10a)](_0x485966,_0x388f89){const _0x10ac3c=_0x141198;0x0===this[_0x10ac3c(0x93)][_0x10ac3c(0x12d)]&&setTimeout(()=>{const _0x58de19=_0x10ac3c;for(const [_0x447b3b,_0x23f2aa]of this[_0x58de19(0x93)]){const _0x42224d=this[_0x58de19(0xa5)][_0x58de19(0xd6)](_0x447b3b);_0x42224d||_0x23f2aa?_0x42224d&&_0x23f2aa&&this[_0x58de19(0xf9)](_0x447b3b):this[_0x58de19(0x106)](_0x447b3b);}this[_0x58de19(0x93)][_0x58de19(0xf0)](),this[_0x58de19(0xa7)][_0x58de19(0x138)][_0x58de19(0xda)](_0x58de19(0xd5))[_0x58de19(0x11b)](),this[_0x58de19(0x10e)]();},0xa),this[_0x10ac3c(0x93)][_0x10ac3c(0xae)](_0x485966,_0x388f89);}[_0x141198(0x10d)](){const _0x4cf75e=_0x141198,_0x25efb9=this[_0x4cf75e(0xa7)],_0x3e8b15=_0x25efb9[_0x4cf75e(0x138)][_0x4cf75e(0xda)](_0x4cf75e(0x11f)),_0x3a12a7=_0x25efb9[_0x4cf75e(0x138)][_0x4cf75e(0xda)](_0x4cf75e(0xef)),_0x426c85=_0x25efb9[_0x4cf75e(0x138)][_0x4cf75e(0xda)](_0x4cf75e(0xd5)),_0x5d0e76=_0x25efb9[_0x4cf75e(0x138)][_0x4cf75e(0xda)](_0x4cf75e(0xcd));this[_0x4cf75e(0x13a)](),_0x426c85[_0x4cf75e(0x132)](()=>{const _0x4ba42b=_0x4cf75e,_0x55095b=[];for(const [_0x42cc87,_0x16e727]of Array[_0x4ba42b(0xe6)](this[_0x4ba42b(0xa5)])){const _0x2fab15=_0x42cc87[_0x4ba42b(0xdf)](),_0x433bfd=[];for(const _0x56d79a of _0x2fab15){if(!_0x56d79a[_0x4ba42b(0x135)])continue;if(_0x56d79a[_0x4ba42b(0x96)]){_0x433bfd[_0x4ba42b(0x114)](..._0x56d79a[_0x4ba42b(0xc8)]());continue;}const _0xb6ff43=_0x56d79a[_0x4ba42b(0xde)]();if(_0x433bfd[_0x4ba42b(0xce)]>0x0){const _0x23f2a4=_0x433bfd[0x0][_0x4ba42b(0xed)](_0xb6ff43);if(_0x23f2a4){_0x433bfd[0x0]=_0x23f2a4;continue;}}_0x433bfd[_0x4ba42b(0x114)](_0xb6ff43);}_0x55095b[_0x4ba42b(0x114)]([_0x16e727[_0x4ba42b(0x13d)],_0x433bfd]);}return _0x55095b;}),this[_0x4cf75e(0x122)](_0x3e8b15,_0x4cf75e(0x9b),(_0x1ebcd1,_0x414214)=>{const _0x281977=_0x4cf75e;this[_0x281977(0x122)](_0x414214,_0x281977(0x127),(_0x3c752d,_0x3e35c8,_0x26a40c,_0x13c05c)=>{const _0x5be35e=_0x281977;_0x414214[_0x5be35e(0x135)]&&(null==_0x26a40c?(this[_0x5be35e(0x118)](_0x13c05c[_0x5be35e(0xa6)]),this[_0x5be35e(0x10a)](_0x414214,!0x1)):(this[_0x5be35e(0x118)](_0x26a40c[_0x5be35e(0xa6)]),null==_0x13c05c&&this[_0x5be35e(0x10a)](_0x414214,!0x0)));}),null!==_0x414214[_0x281977(0x113)]?this[_0x281977(0x118)](_0x414214[_0x281977(0xa6)]):this[_0x281977(0x10a)](_0x414214,!0x1);}),this[_0x4cf75e(0x122)](_0x3e8b15,_0x4cf75e(0xd3),(_0x1d8302,_0xebb77f,_0x1fdecc)=>{const _0x27a521=_0x4cf75e;this[_0x27a521(0x9d)](_0xebb77f,_0x27a521(0x127)),this[_0x27a521(0x93)][_0x27a521(0x125)](_0xebb77f),this[_0x27a521(0xa5)][_0x27a521(0xd6)](_0xebb77f)&&this[_0x27a521(0xf9)](_0xebb77f),_0x1fdecc&&this[_0x27a521(0x118)](_0x1fdecc[_0x27a521(0xa6)]);}),this[_0x4cf75e(0x122)](_0x3e8b15,_0x4cf75e(0xd2),(_0x3ce64a,_0x29b6bb)=>{const _0x27c032=_0x4cf75e;this[_0x27c032(0x118)](_0x29b6bb);}),this[_0x4cf75e(0x122)](_0x3a12a7,_0x4cf75e(0x12f),()=>{const _0xa11974=_0x4cf75e;this[_0xa11974(0x10e)]();}),this[_0x4cf75e(0x122)](_0x5d0e76,_0x4cf75e(0xf3),(_0x2e1444,{threadId:_0x54cb5d,isFromAdapter:_0x42d55d})=>{const _0x55533c=_0x4cf75e;if(_0x42d55d||!_0x3e8b15[_0x55533c(0x111)](_0x54cb5d))return;const _0x2f12ec=_0x3e8b15[_0x55533c(0x108)](_0x54cb5d);this[_0x55533c(0xa5)][_0x55533c(0xda)](_0x2f12ec)[_0x55533c(0x13d)][_0x55533c(0xa0)][_0x55533c(0xb3)](-0x1);},{'priority':_0x4cf75e(0x124)}),this[_0x4cf75e(0xf5)]=this[_0x4cf75e(0xa7)][_0x4cf75e(0x104)][_0x4cf75e(0xda)](_0x4cf75e(0xf5));const _0x15807d=this[_0x4cf75e(0xa7)];this[_0x4cf75e(0x11e)]=setInterval(()=>{const _0x140bf5=_0x4cf75e;let _0x2b77fe;for(const _0x1a0052 in _0x15807d){const _0x304b36=_0x1a0052,_0x2676c2=_0x15807d[_0x304b36];if(_0x140bf5(0xcc)==_0x2676c2||_0x140bf5(0x9e)==_0x2676c2||_0x140bf5(0x13c)==_0x2676c2||_0x140bf5(0x9a)==_0x2676c2||_0x140bf5(0xdc)==_0x2676c2||_0x140bf5(0xaa)==_0x2676c2||_0x140bf5(0xa2)==_0x2676c2||_0x140bf5(0x103)==_0x2676c2){delete _0x15807d[_0x304b36],_0x2b77fe=_0x2676c2,clearInterval(this[_0x140bf5(0x11e)]),this[_0x140bf5(0x11e)]=void 0x0;break;}}_0x140bf5(0x9e)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0x117)),_0x140bf5(0x13c)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0x92)),_0x140bf5(0x9a)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0x119)),_0x140bf5(0xdc)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0xee),_0x140bf5(0xaf)),_0x140bf5(0xaa)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0xd8)),_0x140bf5(0xa2)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0xbd)),_0x140bf5(0x103)==_0x2b77fe&&_0x15807d[_0x140bf5(0x95)](_0x140bf5(0x136));},0x3e8);}[_0x141198(0xca)](_0x192a94){const _0x17f73a=_0x141198,_0x4882c2=this[_0x17f73a(0xa5)][_0x17f73a(0xda)](_0x192a94);if(!_0x4882c2)return null;return this[_0x17f73a(0xa7)][_0x17f73a(0x138)][_0x17f73a(0xda)](_0x17f73a(0xef))[_0x17f73a(0xb5)](_0x4882c2[_0x17f73a(0x13d)])||null;}[_0x141198(0xd1)](_0x526c98){const _0x1ec477=_0x141198,_0x5ade52=this[_0x1ec477(0x11a)][_0x1ec477(0xda)](_0x526c98[_0x1ec477(0x107)]);return _0x5ade52?_0x5ade52[_0x1ec477(0xb0)]:null;}[_0x141198(0x10e)](){const _0x105c76=_0x141198,_0x46fe69=this[_0x105c76(0xa7)][_0x105c76(0x138)][_0x105c76(0xda)](_0x105c76(0xef)),_0x56b460=this[_0x105c76(0xa7)][_0x105c76(0x138)][_0x105c76(0xda)](_0x105c76(0x11f)),_0x1ca4ee=Array[_0x105c76(0xe6)](_0x46fe69[_0x105c76(0xe8)],_0x32379f=>_0x32379f[_0x105c76(0x107)])[_0x105c76(0x94)](_0x497ee9=>this[_0x105c76(0x11a)][_0x105c76(0xd6)](_0x497ee9)),_0xa698b1=[];for(const _0xfd5358 of _0x1ca4ee){const _0x195799=this[_0x105c76(0x11a)][_0x105c76(0xda)](_0xfd5358)[_0x105c76(0xb0)][_0x105c76(0xdf)]();_0xa698b1[_0x105c76(0x114)](..._0x195799[_0x105c76(0xfc)]((_0x33dc3e,_0x15c738)=>[..._0x33dc3e,..._0x15c738[_0x105c76(0x90)]()],[]));}_0x56b460[_0x105c76(0x100)]=_0xa698b1;}[_0x141198(0x13a)](){const _0x4abe2d=_0x141198,_0x27e309=this[_0x4abe2d(0xa7)],_0x414429=_0x27e309[_0x4abe2d(0xf6)],_0x5b14f2=_0x5d0c51(_0x414429,_0x4abe2d(0x12c)),_0x62491d=new _0x2ba0ab([{'type':_0x4abe2d(0xc1),'model':new _0x267f40({'withText':!0x0,'isToggleable':!0x0,'label':_0x5b14f2,'commandName':_0x4abe2d(0x120),'role':_0x4abe2d(0x98)})},{'type':_0x4abe2d(0xfe)},{'type':_0x4abe2d(0x99),'model':new _0x267f40({'withText':!0x0,'label':_0x5d0c51(_0x414429,_0x4abe2d(0xe4)),'commandName':_0x4abe2d(0xdd),'role':_0x4abe2d(0x12e)})},{'type':_0x4abe2d(0x99),'model':new _0x267f40({'withText':!0x0,'label':_0x5d0c51(_0x414429,_0x4abe2d(0x10b)),'commandName':_0x4abe2d(0x12b),'role':_0x4abe2d(0x12e)})},{'type':_0x4abe2d(0x99),'model':new _0x267f40({'withText':!0x0,'label':_0x5d0c51(_0x414429,_0x4abe2d(0x130)),'commandName':_0x4abe2d(0x10f),'role':_0x4abe2d(0x12e)})},{'type':_0x4abe2d(0x99),'model':new _0x267f40({'withText':!0x0,'label':_0x5d0c51(_0x414429,_0x4abe2d(0xeb)),'commandName':_0x4abe2d(0xad),'role':_0x4abe2d(0x12e)})}]);_0x27e309[_0x4abe2d(0x138)][_0x4abe2d(0xd6)](_0x4abe2d(0xb7))&&_0x62491d[_0x4abe2d(0x123)]([{'type':_0x4abe2d(0xfe)},{'type':_0x4abe2d(0x99),'model':new _0x267f40({'withText':!0x0,'label':_0x5d0c51(_0x414429,_0x4abe2d(0x105)),'commandName':_0x4abe2d(0xb6),'role':_0x4abe2d(0x12e)})}]);for(const _0x5334ef of _0x62491d)if(ke(_0x5334ef)){const _0x436b44=_0x27e309[_0x4abe2d(0xc9)][_0x4abe2d(0xda)](_0x5334ef[_0x4abe2d(0xb0)][_0x4abe2d(0xf7)]);_0x5334ef[_0x4abe2d(0xb0)][_0x4abe2d(0xfd)](_0x4abe2d(0xa3),_0x4abe2d(0xa9))['to'](_0x436b44,_0x4abe2d(0x102),_0x4abe2d(0xa9));}_0x27e309['ui'][_0x4abe2d(0xa4)][_0x4abe2d(0x121)](_0x4abe2d(0x120),_0x3b6761=>this[_0x4abe2d(0x13b)](_0x3b6761,_0x62491d,_0x5b14f2)),_0x27e309['ui'][_0x4abe2d(0xa4)][_0x4abe2d(0x121)](_0x4abe2d(0xc0),_0x146029=>this[_0x4abe2d(0xab)](_0x146029,_0x62491d,_0x5b14f2));}[_0x141198(0x13b)](_0x523940,_0x12a1fa,_0x11f16f){const _0x44f016=_0x141198,_0x4e74b4=_0xc78b41(_0x523940,_0x57ae9f),_0x43eef2=this[_0x44f016(0xa7)][_0x44f016(0xc9)][_0x44f016(0xda)](_0x44f016(0x120));_0x4e74b4[_0x44f016(0xe9)][_0x44f016(0xae)]({'tooltip':_0x11f16f,'label':_0x11f16f,'icon':_0x5b9665}),_0x4e74b4[_0x44f016(0xe9)][_0x44f016(0xfd)](_0x44f016(0xa3))['to'](_0x43eef2,_0x44f016(0x102)),_0x4e74b4[_0x44f016(0xe9)]['on'](_0x44f016(0xff),()=>{const _0xf254dc=_0x44f016;_0x43eef2[_0xf254dc(0xff)](),this[_0xf254dc(0xa7)][_0xf254dc(0x110)][_0xf254dc(0x13d)][_0xf254dc(0xb3)]();}),_0x1302d1(_0x4e74b4,_0x12a1fa,{'role':_0x44f016(0x9c)});const _0x5f3d5d=[];for(const _0x8d04a8 of _0x12a1fa)ke(_0x8d04a8)&&_0x5f3d5d[_0x44f016(0x114)](this[_0x44f016(0xa7)][_0x44f016(0xc9)][_0x44f016(0xda)](_0x8d04a8[_0x44f016(0xb0)][_0x44f016(0xf7)]));const _0x337672=_0x4e74b4[_0x44f016(0xe9)];return _0x337672[_0x44f016(0xbf)][_0x44f016(0xd0)](_0x44f016(0xa9)),_0x337672[_0x44f016(0xfb)][_0x44f016(0xd0)](_0x44f016(0xa9)),_0x337672[_0x44f016(0xbf)][_0x44f016(0xfd)](_0x44f016(0xa9))['to'](_0x43eef2,_0x44f016(0xa9)),_0x337672[_0x44f016(0xfb)][_0x44f016(0xfd)](_0x44f016(0xa9))[_0x44f016(0x129)](_0x5f3d5d,_0x44f016(0xa9),(..._0x34de47)=>_0x34de47[_0x44f016(0x140)](_0xb8e800=>_0xb8e800)),_0x4e74b4['on'](_0x44f016(0xff),_0x4d8016=>{const _0x549363=_0x44f016;this[_0x549363(0xa7)][_0x549363(0xff)](_0x4d8016[_0x549363(0x115)][_0x549363(0xf7)]),this[_0x549363(0xa7)][_0x549363(0x110)][_0x549363(0x13d)][_0x549363(0xb3)]();}),_0x4e74b4;}[_0x141198(0xab)](_0x38f6ec,_0x4806d0,_0x206058){const _0x5a7dd7=_0x141198,_0x42918b=new _0x2b0672(_0x38f6ec),_0x15434d=this[_0x5a7dd7(0xa7)][_0x5a7dd7(0xc9)][_0x5a7dd7(0xda)](_0x5a7dd7(0x120));_0x42918b[_0x5a7dd7(0xe9)][_0x5a7dd7(0xae)]({'label':_0x206058,'icon':_0x5b9665});const _0x2ceb54=new _0x4089b8(_0x38f6ec);for(const _0x4f4a39 of _0x4806d0){if(_0x5a7dd7(0xfe)==_0x4f4a39[_0x5a7dd7(0x9f)]){_0x2ceb54[_0x5a7dd7(0x142)][_0x5a7dd7(0x121)](new _0x591203(_0x38f6ec));continue;}const _0xd2384a=new _0xcb2b4b(_0x38f6ec,_0x42918b),_0x5ebb35=new _0x398f68(_0x38f6ec),_0x56cf5c=_0x4f4a39[_0x5a7dd7(0xb0)];_0x5ebb35[_0x5a7dd7(0xfd)](...Object[_0x5a7dd7(0xb8)](_0x56cf5c))['to'](_0x56cf5c),_0x5ebb35[_0x5a7dd7(0x133)](_0x5a7dd7(0xff))['to'](_0x42918b),_0x5ebb35['on'](_0x5a7dd7(0xff),()=>{const _0x37d344=_0x5a7dd7;this[_0x37d344(0xa7)][_0x37d344(0xff)](_0x56cf5c[_0x37d344(0xf7)]),this[_0x37d344(0xa7)][_0x37d344(0x110)][_0x37d344(0x13d)][_0x37d344(0xb3)]();}),_0xd2384a[_0x5a7dd7(0xf2)][_0x5a7dd7(0x121)](_0x5ebb35),_0x2ceb54[_0x5a7dd7(0x142)][_0x5a7dd7(0x121)](_0xd2384a);}return _0x42918b[_0x5a7dd7(0xfd)](_0x5a7dd7(0xa9))['to'](_0x15434d,_0x5a7dd7(0xa9)),_0x42918b[_0x5a7dd7(0x12a)][_0x5a7dd7(0xf2)][_0x5a7dd7(0x121)](_0x2ceb54),_0x42918b;}[_0x141198(0x106)](_0x565603){const _0x3e4a4c=_0x141198,_0x222d65=this[_0x3e4a4c(0xa7)],_0x32a244=_0x222d65[_0x3e4a4c(0x104)],_0x59946a=_0x222d65[_0x3e4a4c(0x138)][_0x3e4a4c(0xda)](_0x3e4a4c(0xef)),_0x4679c0=_0x222d65[_0x3e4a4c(0x138)][_0x3e4a4c(0xda)](_0x3e4a4c(0xcd)),_0x51f216=_0x222d65[_0x3e4a4c(0x138)][_0x3e4a4c(0xda)](_0x3e4a4c(0xd5)),_0x5cede2=_0x222d65[_0x3e4a4c(0x138)][_0x3e4a4c(0xda)](_0x20d556)['me'],_0x1700eb=_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0x120))[_0x3e4a4c(0x13e)],_0x47ed5b=_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0x120))[_0x3e4a4c(0xc3)],{CommentsListView:_0x473aa3,CommentThreadInputView:_0x10c945}=_0x222d65[_0x3e4a4c(0x138)][_0x3e4a4c(0xda)](_0x3e4a4c(0x13f));let _0x4e362a,_0x21dcac,_0x11acac;this[_0x3e4a4c(0xbb)][_0x3e4a4c(0xd6)](_0x565603['id'])?(_0x21dcac=this[_0x3e4a4c(0xbb)][_0x3e4a4c(0xda)](_0x565603['id']),_0x4e362a=_0x21dcac[_0x3e4a4c(0x11d)]):(_0x4e362a=new _0x1700eb(_0x222d65[_0x3e4a4c(0xf6)],_0x565603,_0x5cede2,{'disableComments':this[_0x3e4a4c(0xd9)],'editorConfig':{..._0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0x139)),'licenseKey':_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0xf5))},'maxCommentsWhenCollapsed':_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0x8f)),'maxThreadTotalWeight':_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0xd4)),'maxCommentCharsWhenCollapsed':_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0xe1)),'formatDateTime':_0x4086b5(_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0xf6)),_0x222d65[_0x3e4a4c(0xf6)]),'CommentView':_0x32a244[_0x3e4a4c(0xda)](_0x3e4a4c(0xb1))[_0x3e4a4c(0x11c)],'CommentsListView':_0x473aa3,'CommentThreadInputView':_0x10c945,'SuggestionView':_0x47ed5b}),_0x4e362a[_0x3e4a4c(0xe7)][_0x3e4a4c(0xc2)]['on'](_0x3e4a4c(0xff),()=>{const _0x42a3a4=_0x3e4a4c;_0x222d65[_0x42a3a4(0x110)][_0x42a3a4(0x13d)][_0x42a3a4(0xb3)]();}),_0x4e362a[_0x3e4a4c(0xe7)][_0x3e4a4c(0xb2)]['on'](_0x3e4a4c(0xff),()=>{const _0x52d715=_0x3e4a4c;_0x222d65[_0x52d715(0x110)][_0x52d715(0x13d)][_0x52d715(0xb3)]();}),_0x21dcac=_0x59946a[_0x3e4a4c(0x128)](this[_0x3e4a4c(0xa7)][_0x3e4a4c(0xf6)],_0x4e362a),_0x21dcac[_0x3e4a4c(0xfd)](_0x3e4a4c(0xa8))['to'](_0x4e362a,_0x3e4a4c(0xa8)),_0x21dcac[_0x3e4a4c(0xfd)](_0x3e4a4c(0xce))['to'](_0x4e362a),_0x21dcac[_0x3e4a4c(0xfd)](_0x3e4a4c(0x9f))['to'](_0x4e362a,_0x3e4a4c(0x9f),_0x58feae=>_0x3e4a4c(0x126)+_0x58feae),_0x4e362a['on'](_0x3e4a4c(0xcb),()=>{const _0x2e150e=_0x3e4a4c;_0x11acac[_0x2e150e(0x91)](_0x2e150e(0xcb));}),this[_0x3e4a4c(0xbb)][_0x3e4a4c(0xae)](_0x565603['id'],_0x21dcac));const _0x4d43f2=_0x4679c0[_0x3e4a4c(0xc7)](_0x565603[_0x3e4a4c(0x141)],_0x4e362a),_0x13bdbd=new _0x412d08(_0x222d65,_0x565603,_0x4e362a,_0x4d43f2),_0x4e19e8=_0x565603[_0x3e4a4c(0xdf)]()[_0x3e4a4c(0x94)](_0x2feeeb=>_0x2feeeb[_0x3e4a4c(0x135)]);_0x4e362a[_0x3e4a4c(0xdb)]=_0x222d65[_0x3e4a4c(0x138)][_0x3e4a4c(0xda)](_0x3e4a4c(0x11f))[_0x3e4a4c(0xf4)][_0x3e4a4c(0xbc)](_0x4e19e8),this[_0x3e4a4c(0xa5)][_0x3e4a4c(0xae)](_0x565603,_0x13bdbd),this[_0x3e4a4c(0x11a)][_0x3e4a4c(0xae)](_0x4e362a,_0x13bdbd);const _0x177a74=()=>{const _0x183d72=_0x3e4a4c,_0x41dcc9=[],_0x6098de=_0x565603[_0x183d72(0xdf)]()[_0x183d72(0x94)](_0x31ff99=>_0x31ff99[_0x183d72(0x135)]);for(const _0x1f243d of _0x6098de)_0x41dcc9[_0x183d72(0x114)](..._0x1f243d[_0x183d72(0xa1)]());return _0x14290b(_0x222d65[_0x183d72(0x110)],_0x41dcc9);};_0x11acac=_0x59946a[_0x3e4a4c(0x116)]({'view':_0x21dcac,'target':_0x177a74,'type':()=>_0x3e4a4c(0x126)+_0x13bdbd[_0x3e4a4c(0x13d)][_0x3e4a4c(0x9f)],'isVisible':!!_0x177a74()}),_0x4679c0[_0x3e4a4c(0xf8)](_0x4e362a,_0x11acac),_0x59946a[_0x3e4a4c(0x121)](_0x11acac),_0x51f216[_0x3e4a4c(0xcf)](_0x11acac);}[_0x141198(0xf9)](_0x415851){const _0x337cdf=_0x141198,_0x476a88=this[_0x337cdf(0xa7)][_0x337cdf(0x138)][_0x337cdf(0xda)](_0x337cdf(0xcd)),_0x168a76=this[_0x337cdf(0xa7)][_0x337cdf(0x138)][_0x337cdf(0xda)](_0x337cdf(0xef)),_0x34bfd3=this[_0x337cdf(0xa5)][_0x337cdf(0xda)](_0x415851),_0x2957f9=_0x34bfd3[_0x337cdf(0x13d)],_0x539a3a=_0x168a76[_0x337cdf(0xb5)](_0x2957f9);_0x476a88[_0x337cdf(0xc5)](_0x2957f9),_0x539a3a&&_0x168a76[_0x337cdf(0xfa)](_0x539a3a),this[_0x337cdf(0xa5)][_0x337cdf(0x125)](_0x415851),this[_0x337cdf(0x11a)][_0x337cdf(0x125)](_0x2957f9),_0x34bfd3[_0x337cdf(0xbe)]();}[_0x141198(0x118)](_0x2fada7){const _0x15725b=_0x141198;if(!_0x2fada7[_0x15725b(0x135)]||!this[_0x15725b(0xa5)][_0x15725b(0xd6)](_0x2fada7))return;const _0x1b328c=this[_0x15725b(0xa7)][_0x15725b(0x138)][_0x15725b(0xda)](_0x15725b(0x11f)),_0x4cc4b2=this[_0x15725b(0xa5)][_0x15725b(0xda)](_0x2fada7),_0x121ef6=_0x2fada7[_0x15725b(0xdf)]();_0x4cc4b2[_0x15725b(0x13d)][_0x15725b(0xdb)]=_0x1b328c[_0x15725b(0xf4)][_0x15725b(0xbc)](_0x121ef6);}[_0x141198(0xbe)](){const _0x476b30=_0x141198;for(const _0x553053 of this[_0x476b30(0xa5)][_0x476b30(0xb8)]())this[_0x476b30(0xf9)](_0x553053);for(const _0xc3e900 of this[_0x476b30(0xbb)][_0x476b30(0x131)]())_0xc3e900[_0x476b30(0x11d)][_0x476b30(0xbe)]();super[_0x476b30(0xbe)](),this[_0x476b30(0x11e)]&&clearInterval(this[_0x476b30(0x11e)]);}}function _0x52b5(_0x3e53ba,_0x314c9d){const _0x347393=_0x3473();return _0x52b5=function(_0x52b599,_0x38660e){_0x52b599=_0x52b599-0x8f;let _0x51a636=_0x347393[_0x52b599];return _0x51a636;},_0x52b5(_0x3e53ba,_0x314c9d);}function ke(_0x5b94b9){const _0x110d5e=_0x141198;return _0x110d5e(0xb0)in _0x5b94b9;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x466e58=_0x20e9;(function(_0x341d96,_0x574fa2){const _0x5225d8=_0x20e9,_0x459631=_0x341d96();while(!![]){try{const _0xeef161=-parseInt(_0x5225d8(0x107))/0x1+parseInt(_0x5225d8(0x10b))/0x2+parseInt(_0x5225d8(0x101))/0x3+-parseInt(_0x5225d8(0x105))/0x4*(parseInt(_0x5225d8(0xf1))/0x5)+-parseInt(_0x5225d8(0x112))/0x6+-parseInt(_0x5225d8(0x103))/0x7+parseInt(_0x5225d8(0xff))/0x8;if(_0xeef161===_0x574fa2)break;else _0x459631['push'](_0x459631['shift']());}catch(_0x174bd9){_0x459631['push'](_0x459631['shift']());}}}(_0x25ca,0x7037a));import{ObservableMixin as _0x1179be}from'ckeditor5/src/utils.js';import{getTranslation as _0x4310db}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1179be(){[_0x466e58(0x111)];[_0x466e58(0x102)];[_0x466e58(0xf9)];[_0x466e58(0xf0)];[_0x466e58(0x109)];[_0x466e58(0x108)];[_0x466e58(0xfa)];constructor(_0x3d2239,_0x386580,_0x31a3b9,_0x873645){const _0xc4ec7=_0x466e58;super(),this[_0xc4ec7(0x111)]=_0x386580,this[_0xc4ec7(0x102)]=_0x31a3b9,this[_0xc4ec7(0xf9)]=_0x873645,this[_0xc4ec7(0xf0)]=_0x3d2239,this[_0xc4ec7(0x109)]=_0x3d2239[_0xc4ec7(0xf8)][_0xc4ec7(0x10c)](_0xc4ec7(0x106)),this[_0xc4ec7(0x108)]=_0x3d2239[_0xc4ec7(0xf8)][_0xc4ec7(0x10c)](_0xc4ec7(0x113)),this[_0xc4ec7(0x102)][_0xc4ec7(0xee)](_0xc4ec7(0xf2))['to'](this[_0xc4ec7(0x109)],this[_0xc4ec7(0x108)],(_0x267af7,_0x1149c0)=>_0x267af7||_0x1149c0),this[_0xc4ec7(0x102)][_0xc4ec7(0xee)](_0xc4ec7(0x10d))['to'](this[_0xc4ec7(0x109)],_0xc4ec7(0xf2),_0x413958=>_0x413958&&this[_0xc4ec7(0xf0)][_0xc4ec7(0x111)][_0xc4ec7(0x100)](_0x386580[_0xc4ec7(0xfe)]())),this[_0xc4ec7(0x102)][_0xc4ec7(0xee)](_0xc4ec7(0xfb))['to'](this[_0xc4ec7(0x108)],_0xc4ec7(0xf2),_0x552926=>_0x552926&&this[_0xc4ec7(0xf0)][_0xc4ec7(0x111)][_0xc4ec7(0x100)](_0x386580[_0xc4ec7(0xfe)]())),this[_0xc4ec7(0xfa)]=null,_0x31a3b9[_0xc4ec7(0xfc)]&&this[_0xc4ec7(0xf3)](),this[_0xc4ec7(0xec)](_0x31a3b9,_0xc4ec7(0x106),()=>this[_0xc4ec7(0x106)]()),this[_0xc4ec7(0xec)](_0x31a3b9,_0xc4ec7(0x113),()=>this[_0xc4ec7(0x113)]()),this[_0xc4ec7(0xec)](_0x31a3b9,_0xc4ec7(0xef),()=>{const _0x1f134c=_0xc4ec7;_0x31a3b9[_0x1f134c(0xfc)]?this[_0x1f134c(0xf3)]():this[_0x1f134c(0xfd)]();});}[_0x466e58(0x106)](){const _0x1361b5=_0x466e58;this[_0x1361b5(0x109)][_0x1361b5(0x10f)](this[_0x1361b5(0x111)]['id']);}[_0x466e58(0x113)](){const _0x1d5fc2=_0x466e58;this[_0x1d5fc2(0x108)][_0x1d5fc2(0x10f)](this[_0x1d5fc2(0x111)]['id']);}[_0x466e58(0xed)](){const _0xe15897=_0x466e58;this[_0xe15897(0x102)][_0xe15897(0x10a)](_0xe15897(0xf2)),this[_0xe15897(0x102)][_0xe15897(0x10a)](_0xe15897(0x10d)),this[_0xe15897(0x102)][_0xe15897(0x10a)](_0xe15897(0xfb)),this[_0xe15897(0xf4)](),this[_0xe15897(0xf9)][_0xe15897(0xed)](),this[_0xe15897(0xfa)]&&this[_0xe15897(0xfd)]();}[_0x466e58(0xf3)](){const _0x5ab69e=_0x466e58,_0x55ea6a=_0x4310db(this[_0x5ab69e(0xf0)][_0x5ab69e(0xf5)],_0x5ab69e(0x10e));this[_0x5ab69e(0xfa)]=this[_0x5ab69e(0xf0)][_0x5ab69e(0x110)][_0x5ab69e(0x10c)](_0x5ab69e(0x104))[_0x5ab69e(0xf6)](_0x55ea6a);}[_0x466e58(0xfd)](){const _0x132000=_0x466e58;null!==this[_0x132000(0xfa)]&&this[_0x132000(0xf0)][_0x132000(0x110)][_0x132000(0x10c)](_0x132000(0x104))[_0x132000(0xf7)](this[_0x132000(0xfa)]),this[_0x132000(0xfa)]=null;}}function _0x20e9(_0x41a8de,_0x2d0b74){const _0x25ca56=_0x25ca();return _0x20e9=function(_0x20e947,_0x519d3d){_0x20e947=_0x20e947-0xec;let _0x12ae29=_0x25ca56[_0x20e947];return _0x12ae29;},_0x20e9(_0x41a8de,_0x2d0b74);}function _0x25ca(){const _0x52c0e3=['locale','add','remove','commands','commentThreadController','_pendingAction','canDiscard','isDirty','_removePendingAction','getRanges','15656648vqKFNi','canEditAt','271452uViIVb','view','4072201gWuRhS','PendingActions','3996OrVUCQ','acceptSuggestion','636656ULdyte','_discardCommand','_acceptCommand','unbind','884638axRdEq','get','canAccept','PENDING_ACTION_SUGGESTION','execute','plugins','model','4739190jXPmah','discardSuggestion','listenTo','destroy','bind','change:isDirty','_editor','110IchURV','isEnabled','_setPendingAction','stopListening'];_0x25ca=function(){return _0x52c0e3;};return _0x25ca();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4630(_0x1f7063,_0x26be86){const _0x5585b8=_0x5585();return _0x4630=function(_0x4630cc,_0x352479){_0x4630cc=_0x4630cc-0xee;let _0x3d7b95=_0x5585b8[_0x4630cc];return _0x3d7b95;},_0x4630(_0x1f7063,_0x26be86);}const _0x2f0e42=_0x4630;(function(_0x5d687a,_0x2a7698){const _0x17cdc7=_0x4630,_0x192b08=_0x5d687a();while(!![]){try{const _0x371735=parseInt(_0x17cdc7(0x12a))/0x1+-parseInt(_0x17cdc7(0x134))/0x2+-parseInt(_0x17cdc7(0x130))/0x3*(parseInt(_0x17cdc7(0x10a))/0x4)+parseInt(_0x17cdc7(0x132))/0x5+parseInt(_0x17cdc7(0x128))/0x6*(-parseInt(_0x17cdc7(0xf9))/0x7)+parseInt(_0x17cdc7(0xf5))/0x8+parseInt(_0x17cdc7(0xee))/0x9;if(_0x371735===_0x2a7698)break;else _0x192b08['push'](_0x192b08['shift']());}catch(_0xaa778){_0x192b08['push'](_0x192b08['shift']());}}}(_0x5585,0x924a3));import{FocusCycler as _0x39f6dd,View as _0x491b7d,ViewCollection as _0x209038}from'ckeditor5/src/ui.js';import{FocusTracker as _0x54f6c8,KeystrokeHandler as _0x524961}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x581e3c,setupThreadKeyboardNavigation as _0xd28895}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4c244a}from'../../utils/common-translations.js';function _0x5585(){const _0x158a70=['map','content','authoredAt','CommentView','element','disableComments','fire','delegate','bind','removeComment','parseFromString','formatDateTime','descriptionParts','showInput','commentThread','join','submit','render','tab','6SMLvuQ','destroy','646295AtByms','editor','focusCycler','disabledSubmit','_config','focusTracker','3lMbDZs','author','2726645HANwWL','assign','1600408EiPOuO','shift+tab','6640380nQiBDh','editorConfig','_createCommentThreadInputView','text/html','hasDirtyComment','value','body','7863448QNcjXA','commentThreadInputView','ariaLabel','commentsListView','2596615xMyaKN','focusables','canAccept','commentInputView','isReadOnly','canDiscard','setData','isActive','SUGGESTION_THREAD_ARIA_LABEL','_model','focus','addComment','ariaDescriptionView','locale','textContent','isDirty','isEnabled','4568092svqPMj','target','length','name','set','SUGGESTION_THREAD_DESCRIPTION','_localUser','keystrokes','updateComment','_createCommentViews','cancel'];_0x5585=function(){return _0x158a70;};return _0x5585();}import{renderDescription as _0x1b9621}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x491b7d{[_0x2f0e42(0xf8)];[_0x2f0e42(0xf6)];[_0x2f0e42(0x105)];[_0x2f0e42(0xfa)];[_0x2f0e42(0x12f)];[_0x2f0e42(0x111)];[_0x2f0e42(0x12c)];[_0x2f0e42(0x102)];[_0x2f0e42(0x110)];[_0x2f0e42(0x12e)];constructor(_0x46bf12,_0x398559,_0xdc5d48,_0x56b434){const _0x4a9a9b=_0x2f0e42;super(_0x46bf12),this[_0x4a9a9b(0xf8)]=null,this[_0x4a9a9b(0xf6)]=null,this[_0x4a9a9b(0x105)]=new _0x581e3c(_0x46bf12,_0x4c244a(_0x46bf12,_0x4a9a9b(0x10f))),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0x100),!0x1),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0x117),_0x398559[_0x4a9a9b(0x117)]),this[_0x4a9a9b(0x11d)](_0x4a9a9b(0x117))['to'](_0x398559),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0x121),[]),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0x108),!0x1),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0x109),!0x1),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0xfb),!0x1),this[_0x4a9a9b(0x10e)](_0x4a9a9b(0xfe),!0x1),this[_0x4a9a9b(0x11d)](_0x4a9a9b(0xf7))['to'](this,_0x4a9a9b(0x10c),_0x398559,_0x4a9a9b(0x117),this,_0x4a9a9b(0x121),(_0xef09ed,_0x2faff7,_0x2ee096)=>{const _0x2227c5=_0x4a9a9b,_0x14492c=_0x2ee096[_0x2227c5(0x115)](_0x904cb8=>_0x1b9621(_0x904cb8[_0x2227c5(0x116)]))[_0x2227c5(0x124)]('.\x20')+'.';return _0x4c244a(this[_0x2227c5(0x106)],_0x2227c5(0x101),[_0xef09ed-0x1,_0x398559[_0x2227c5(0x131)][_0x2227c5(0x10d)],_0x2faff7?_0x56b434[_0x2227c5(0x120)](_0x2faff7):'',new DOMParser()[_0x2227c5(0x11f)](_0x14492c,_0x2227c5(0xf1))[_0x2227c5(0xf4)][_0x2227c5(0x107)]]);}),this[_0x4a9a9b(0xfa)]=new _0x209038(),this[_0x4a9a9b(0x12f)]=new _0x54f6c8(),this[_0x4a9a9b(0x111)]=new _0x524961(),this[_0x4a9a9b(0x12c)]=new _0x39f6dd({'focusables':this[_0x4a9a9b(0xfa)],'focusTracker':this[_0x4a9a9b(0x12f)],'keystrokeHandler':this[_0x4a9a9b(0x111)],'keystrokeHandlerOptions':{'filter':_0x1d14af=>_0x1d14af[_0x4a9a9b(0x10b)]!==this[_0x4a9a9b(0x119)]},'actions':{'focusPrevious':_0x4a9a9b(0x135),'focusNext':_0x4a9a9b(0x127)}}),this[_0x4a9a9b(0x102)]=_0x398559,this[_0x4a9a9b(0x110)]=_0xdc5d48,this[_0x4a9a9b(0x12e)]=_0x56b434,_0x56b434[_0x4a9a9b(0x11a)]?this[_0x4a9a9b(0x10e)](_0x4a9a9b(0x10c),0x1):this[_0x4a9a9b(0x113)]();}[_0x2f0e42(0x126)](){const _0x47c7a4=_0x2f0e42;super[_0x47c7a4(0x126)](),_0xd28895(this,this[_0x47c7a4(0xfa)]);}[_0x2f0e42(0x103)](){const _0xb4c603=_0x2f0e42;this[_0xb4c603(0x119)][_0xb4c603(0x103)]();}[_0x2f0e42(0x129)](){const _0x5ef861=_0x2f0e42;this[_0x5ef861(0xf8)]&&this[_0x5ef861(0xf8)][_0x5ef861(0x129)](),this[_0x5ef861(0xf6)]&&this[_0x5ef861(0xf6)][_0x5ef861(0x129)](),super[_0x5ef861(0x129)]();}[_0x2f0e42(0x113)](){const _0x2c0f42=_0x2f0e42,{CommentsListView:_0xefdcaf}=this[_0x2c0f42(0x12e)];this[_0x2c0f42(0xf8)]=new _0xefdcaf(this[_0x2c0f42(0x106)],this[_0x2c0f42(0x102)][_0x2c0f42(0x123)],Object[_0x2c0f42(0x133)]({'CommentView':this[_0x2c0f42(0x12e)][_0x2c0f42(0x118)]},this[_0x2c0f42(0x12e)])),this[_0x2c0f42(0xf8)][_0x2c0f42(0x11c)](_0x2c0f42(0x11e))['to'](this),this[_0x2c0f42(0xf8)][_0x2c0f42(0x11c)](_0x2c0f42(0x112))['to'](this),this[_0x2c0f42(0xf8)][_0x2c0f42(0x11d)](_0x2c0f42(0x100))['to'](this),this[_0x2c0f42(0x10e)](_0x2c0f42(0x10c),this[_0x2c0f42(0xf8)][_0x2c0f42(0x10c)]+0x1),this[_0x2c0f42(0x11d)](_0x2c0f42(0x10c))['to'](this[_0x2c0f42(0xf8)],_0x2c0f42(0x10c),_0x543baa=>_0x543baa+0x1),this[_0x2c0f42(0xf6)]=this[_0x2c0f42(0xf0)](),this['on'](_0x2c0f42(0x11e),()=>this[_0x2c0f42(0x103)]()),this[_0x2c0f42(0x11d)](_0x2c0f42(0x108))['to'](this[_0x2c0f42(0xf8)],_0x2c0f42(0xf2),this[_0x2c0f42(0xf6)][_0x2c0f42(0xfc)],_0x2c0f42(0xf3),(_0x26b9c0,_0x14dcaf)=>_0x26b9c0||!!_0x14dcaf);}[_0x2f0e42(0xf0)](){const _0x3df5de=_0x2f0e42,{CommentThreadInputView:_0x2f028f}=this[_0x3df5de(0x12e)],_0x2109dc=new _0x2f028f(this[_0x3df5de(0x106)],this[_0x3df5de(0x110)],this[_0x3df5de(0x12e)][_0x3df5de(0xef)]),_0x1fd1cd=_0x2109dc[_0x3df5de(0xfc)];return _0x2109dc[_0x3df5de(0x11d)](_0x3df5de(0x122))['to'](this,_0x3df5de(0x100),this[_0x3df5de(0x102)][_0x3df5de(0x123)],_0x3df5de(0xfd),_0x1fd1cd,_0x3df5de(0xf3),(_0x16cf96,_0x4fcbff,_0xe6bfe9)=>!!_0xe6bfe9||_0x16cf96&&!_0x4fcbff),_0x1fd1cd['on'](_0x3df5de(0x125),(_0x2f5be9,_0xf4ef39)=>{const _0x4d357f=_0x3df5de;this[_0x4d357f(0x11b)](_0x4d357f(0x104),_0xf4ef39),_0x1fd1cd[_0x4d357f(0x12b)][_0x4d357f(0xff)]('');}),_0x1fd1cd['on'](_0x3df5de(0x114),()=>this[_0x3df5de(0x103)]()),_0x1fd1cd[_0x3df5de(0x11d)](_0x3df5de(0x12d))['to'](this[_0x3df5de(0x102)][_0x3df5de(0x123)],_0x3df5de(0xfd)),_0x2109dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f1b7a=_0x39e8;function _0x2980(){const _0x103aaf=['_descriptionElement','description','color','listitem','editorReady','<p>','3525567tvbiKm','984056SPGMWR','5BsfSEA','_config','commentThreadInputView','canAccept','ariaLabel','formatDateTime','canDiscard','delegate','discardButton','_model','set','setTemplate','push','acceptSuggestion','3929872yJIFgA','ck-suggestion-','commentsListView','ck-rounded-corners','focusables','7728749JHsvjK','suggestionView','editorDestroyed','2024872BlRvLF','isActive','ck-suggestion--disabled-comments','getTemplate','</p>','commentThread','render','SuggestionView','acceptButton','6367428rMalRs','isEnabled','ariaDescriptionView','descriptionParts','bindTemplate','div','content','disableComments','3624018bniNzw','4ROzZUm','author','discardSuggestion','ck-suggestion-wrapper--active','type','bind','ck-suggestion-wrapper','add'];_0x2980=function(){return _0x103aaf;};return _0x2980();}(function(_0x28c625,_0x4aeaed){const _0x2f148c=_0x39e8,_0x4ee210=_0x28c625();while(!![]){try{const _0x453574=-parseInt(_0x2f148c(0x127))/0x1+parseInt(_0x2f148c(0x106))/0x2+-parseInt(_0x2f148c(0x126))/0x3*(-parseInt(_0x2f148c(0x118))/0x4)+parseInt(_0x2f148c(0x128))/0x5*(-parseInt(_0x2f148c(0x117))/0x6)+-parseInt(_0x2f148c(0x13b))/0x7+parseInt(_0x2f148c(0x136))/0x8+parseInt(_0x2f148c(0x10f))/0x9;if(_0x453574===_0x4aeaed)break;else _0x4ee210['push'](_0x4ee210['shift']());}catch(_0x112270){_0x4ee210['push'](_0x4ee210['shift']());}}}(_0x2980,0xa97a9));import{BaseSuggestionThreadView as _0x439f0a}from'./basesuggestionthreadview.js';import{trimHtml as _0x38033b}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x21f565}from'../../utils/utils.js';function _0x39e8(_0xf81f5b,_0xef2bcb){const _0x298094=_0x2980();return _0x39e8=function(_0x39e87d,_0x435313){_0x39e87d=_0x39e87d-0x105;let _0xd7e8d=_0x298094[_0x39e87d];return _0xd7e8d;},_0x39e8(_0xf81f5b,_0xef2bcb);}export class SuggestionThreadView extends _0x439f0a{[_0x1f1b7a(0x13c)];[_0x1f1b7a(0x120)];constructor(_0x736ab6,_0x309a53,_0x258e02,_0x42f6be){const _0x41cf7a=_0x1f1b7a;super(_0x736ab6,_0x309a53,_0x258e02,_0x42f6be),this[_0x41cf7a(0x132)](_0x41cf7a(0x11c),''),this[_0x41cf7a(0x11d)](_0x41cf7a(0x11c))['to'](this,_0x41cf7a(0x112),_0x1c822b=>_0x1c822b&&_0x1c822b[0x0]?_0x1c822b[0x0][_0x41cf7a(0x11c)]:''),this[_0x41cf7a(0x11d)](_0x41cf7a(0x121))['to'](this,_0x41cf7a(0x112),this,_0x41cf7a(0x107),(_0x39f2aa,_0xda5d55)=>{const _0x5257b5=_0x41cf7a;let _0x21f5ed='';for(const _0xe04ce9 of _0x39f2aa)_0x21f5ed+=_0x5257b5(0x125)+_0x21f565(_0xe04ce9[_0x5257b5(0x115)],_0xe04ce9[_0x5257b5(0x122)])+_0x5257b5(0x10a);return _0xda5d55?_0x21f5ed:_0x38033b(_0x21f5ed,{'limit':0x8c});}),this[_0x41cf7a(0x120)]=null,this[_0x41cf7a(0x13c)]=new _0x42f6be[(_0x41cf7a(0x10d))](_0x736ab6,_0x309a53,{'formatDateTime':_0x42f6be[_0x41cf7a(0x12d)]}),this[_0x41cf7a(0x13c)][_0x41cf7a(0x11d)](_0x41cf7a(0x121))['to'](this),this[_0x41cf7a(0x13c)][_0x41cf7a(0x12f)](_0x41cf7a(0x135),_0x41cf7a(0x11a))['to'](this),this[_0x41cf7a(0x13c)][_0x41cf7a(0x10e)][_0x41cf7a(0x11d)](_0x41cf7a(0x110))['to'](this,_0x41cf7a(0x12b)),this[_0x41cf7a(0x13c)][_0x41cf7a(0x130)][_0x41cf7a(0x11d)](_0x41cf7a(0x110))['to'](this,_0x41cf7a(0x12e)),this[_0x41cf7a(0x13a)][_0x41cf7a(0x11f)](this[_0x41cf7a(0x13c)]),this[_0x41cf7a(0x138)]&&this[_0x41cf7a(0x13a)][_0x41cf7a(0x11f)](this[_0x41cf7a(0x138)]),this[_0x41cf7a(0x12a)]&&this[_0x41cf7a(0x13a)][_0x41cf7a(0x11f)](this[_0x41cf7a(0x12a)]),this[_0x41cf7a(0x133)](this[_0x41cf7a(0x109)]());}[_0x1f1b7a(0x109)](){const _0x1cd0d1=_0x1f1b7a,_0x2ae910=this[_0x1cd0d1(0x113)],_0x4e9aa6=[this[_0x1cd0d1(0x13c)]];return this[_0x1cd0d1(0x138)]&&_0x4e9aa6[_0x1cd0d1(0x134)](this[_0x1cd0d1(0x138)]),this[_0x1cd0d1(0x12a)]&&_0x4e9aa6[_0x1cd0d1(0x134)](this[_0x1cd0d1(0x12a)]),_0x4e9aa6[_0x1cd0d1(0x134)](this[_0x1cd0d1(0x111)]),{'tag':_0x1cd0d1(0x114),'attributes':{'class':['ck',_0x1cd0d1(0x139),_0x1cd0d1(0x11e),_0x2ae910['if'](_0x1cd0d1(0x107),_0x1cd0d1(0x11b)),_0x2ae910['to'](_0x1cd0d1(0x11c),_0x3bd5cf=>_0x1cd0d1(0x137)+_0x3bd5cf),this[_0x1cd0d1(0x129)][_0x1cd0d1(0x116)]&&_0x1cd0d1(0x108)],'data-suggestion-id':this[_0x1cd0d1(0x131)]['id'],'data-thread-id':this[_0x1cd0d1(0x131)][_0x1cd0d1(0x10b)]['id'],'data-author-id':this[_0x1cd0d1(0x131)][_0x1cd0d1(0x119)]['id'],'tabindex':0x0,'role':_0x1cd0d1(0x123),'aria-label':_0x2ae910['to'](_0x1cd0d1(0x12c)),'aria-describedby':this[_0x1cd0d1(0x111)]['id']},'children':_0x4e9aa6};}[_0x1f1b7a(0x10c)](){const _0x2d47b3=_0x1f1b7a;super[_0x2d47b3(0x10c)](),this[_0x2d47b3(0x138)]&&(this[_0x2d47b3(0x138)][_0x2d47b3(0x12f)](_0x2d47b3(0x124))['to'](this),this[_0x2d47b3(0x138)][_0x2d47b3(0x12f)](_0x2d47b3(0x105))['to'](this)),this[_0x2d47b3(0x12a)]&&(this[_0x2d47b3(0x12a)][_0x2d47b3(0x12f)](_0x2d47b3(0x124))['to'](this),this[_0x2d47b3(0x12a)][_0x2d47b3(0x12f)](_0x2d47b3(0x105))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x547b(_0x4dd7ed,_0x11982b){const _0x1403ee=_0x1403();return _0x547b=function(_0x547bd8,_0x51ab31){_0x547bd8=_0x547bd8-0x1b3;let _0x5c4289=_0x1403ee[_0x547bd8];return _0x5c4289;},_0x547b(_0x4dd7ed,_0x11982b);}const _0x419b6e=_0x547b;(function(_0x4fb948,_0x194317){const _0x442a51=_0x547b,_0x325b2e=_0x4fb948();while(!![]){try{const _0x332ce7=-parseInt(_0x442a51(0x1db))/0x1+-parseInt(_0x442a51(0x1d5))/0x2*(parseInt(_0x442a51(0x20b))/0x3)+-parseInt(_0x442a51(0x1d3))/0x4+-parseInt(_0x442a51(0x1d8))/0x5*(-parseInt(_0x442a51(0x1de))/0x6)+parseInt(_0x442a51(0x1f6))/0x7*(-parseInt(_0x442a51(0x202))/0x8)+-parseInt(_0x442a51(0x1c8))/0x9+parseInt(_0x442a51(0x1b9))/0xa*(parseInt(_0x442a51(0x1f2))/0xb);if(_0x332ce7===_0x194317)break;else _0x325b2e['push'](_0x325b2e['shift']());}catch(_0x991dc9){_0x325b2e['push'](_0x325b2e['shift']());}}}(_0x1403,0x6cd47));import{FocusTracker as _0x1bbd96,KeystrokeHandler as _0x2fface}from'ckeditor5/src/utils.js';import{View as _0x1b555e,ViewCollection as _0x342b35,FocusCycler as _0x3bc21e}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x4256ac,UserView as _0x12f6bc}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x33b77d,IconCheck as _0x173d73}from'ckeditor5/src/icons.js';import{getTranslation as _0x30012e}from'../../utils/common-translations.js';function _0x1403(){const _0x53ce9c=['ck-suggestion','858XmBjTA','attributes','ck-annotation__info','ck-suggestion__main','ck-suggestion__user','bindTemplate','discardButton','isExternal','querySelector','authoredAt','_createButton','@external','fire','EXTERNAL_IMPORT_WORD_AVATAR','EXTERNAL_IMPORT_WORD_SUGGESTION','esc','presentation','focusCycler','div','.ck-annotation__content-wrapper','77brwprB','keystrokes','ck-annotation__info-name','author','2175719CWfFzp','description','ck-comment__external','add','execute','focus','_config','source','ck-annotation__content-wrapper','target','getTemplate','enter','8XlHwaf','setTemplate','userView','ck-annotation','_model','ck-annotation__user','bind','ck-comment__info-time','ck-suggestion--accept','26151SAGBMS','tab','focusables','ck-suggestion--discard','Discard\x20suggestion','listenTo','ck-annotation__info-time','element','3583430oPLLSX','getUserViewNotificationText','importWord','focusFirst','change:description','getExternalSuggestionNote','EXTERNAL_SUGGESTION','locale','focusTracker','render','formatDateTime','ck-annotation__main','discardSuggestion','ck-suggestion__actions','innerHTML','4494618ZHkkzA','shift+tab','acceptButton','time','span','ck-suggestion__info-name','name','EXTERNAL_AVATAR','extendTemplate','push','acceptSuggestion','2298420igvkpE','set','140xKFxkY','ck-annotation__actions','_setupKeyboardNavigation','15375QdVyGO','ck-suggestion__info','creator','507345RZDfQn','Accept\x20suggestion'];_0x1403=function(){return _0x53ce9c;};return _0x1403();}export class SuggestionView extends _0x1b555e{[_0x419b6e(0x204)];[_0x419b6e(0x1ca)];[_0x419b6e(0x1e4)];[_0x419b6e(0x1b3)];[_0x419b6e(0x1c1)];[_0x419b6e(0x1f3)];[_0x419b6e(0x1ef)];[_0x419b6e(0x206)];[_0x419b6e(0x1fc)];constructor(_0x2a061e,_0x97be9c,_0x2e0a1d){const _0x29879c=_0x419b6e;super(_0x2a061e),this[_0x29879c(0x206)]=_0x97be9c,this[_0x29879c(0x1fc)]=_0x2e0a1d,this[_0x29879c(0x1d4)](_0x29879c(0x1f7),''),this[_0x29879c(0x208)](_0x29879c(0x1e7))['to'](_0x97be9c),this[_0x29879c(0x1ca)]=this[_0x29879c(0x1e8)](_0x30012e(_0x2a061e,_0x29879c(0x1dc)),_0x173d73,_0x29879c(0x20a),_0x29879c(0x1d2),'sw'),this[_0x29879c(0x1e4)]=this[_0x29879c(0x1e8)](_0x30012e(_0x2a061e,_0x29879c(0x1b5)),_0x33b77d,_0x29879c(0x1b4),_0x29879c(0x1c5),'sw'),this[_0x29879c(0x204)]=new _0x12f6bc(_0x2a061e,_0x97be9c[_0x29879c(0x1f5)],this[_0x29879c(0x1ba)]()),this[_0x29879c(0x204)][_0x29879c(0x1d0)]({'attributes':{'class':[_0x29879c(0x1e2),_0x29879c(0x207)],'aria-hidden':!0x0}}),this[_0x29879c(0x1b3)]=new _0x342b35([this[_0x29879c(0x1ca)],this[_0x29879c(0x1e4)]]),this[_0x29879c(0x1c1)]=new _0x1bbd96(),this[_0x29879c(0x1f3)]=new _0x2fface(),this[_0x29879c(0x1ef)]=new _0x3bc21e({'focusables':this[_0x29879c(0x1b3)],'focusTracker':this[_0x29879c(0x1c1)],'keystrokeHandler':this[_0x29879c(0x1f3)],'actions':{'focusPrevious':_0x29879c(0x1c9),'focusNext':_0x29879c(0x20c)},'keystrokeHandlerOptions':{'filter':_0x103f68=>_0x103f68[_0x29879c(0x1ff)]!==this[_0x29879c(0x1b8)]}}),this[_0x29879c(0x203)](this[_0x29879c(0x200)]());}[_0x419b6e(0x1c2)](){const _0x500498=_0x419b6e;super[_0x500498(0x1c2)]();const _0x26635c=this[_0x500498(0x1b8)][_0x500498(0x1e6)](_0x500498(0x1f1));_0x26635c[_0x500498(0x1c7)]=this[_0x500498(0x1f7)],this['on'](_0x500498(0x1bd),(_0x21def4,_0x1f3809,_0x34956e)=>{const _0x27403e=_0x500498;_0x26635c[_0x27403e(0x1c7)]=_0x34956e;}),this[_0x500498(0x1d7)]();}[_0x419b6e(0x200)](){const _0x28647f=_0x419b6e,_0x1dfca1=this[_0x28647f(0x1e3)],_0x24cf4a=[{'tag':_0x28647f(0x1f0),'attributes':{'class':[_0x28647f(0x1d9),_0x28647f(0x1e0)]},'children':[{'tag':_0x28647f(0x1cc),'children':[{'text':this[_0x28647f(0x204)][_0x28647f(0x1ce)]}],'attributes':{'class':[_0x28647f(0x1cd),_0x28647f(0x1f4)],'data-cke-tooltip-text':this[_0x28647f(0x204)][_0x28647f(0x1ce)]}},{'tag':_0x28647f(0x1cb),'attributes':{'datetime':_0x1dfca1['to'](_0x28647f(0x1e7)),'class':[_0x28647f(0x209),_0x28647f(0x1b7)]},'children':[{'text':_0x1dfca1['to'](_0x28647f(0x1e7),_0xb8b5a9=>this[_0x28647f(0x1fc)][_0x28647f(0x1c3)](_0xb8b5a9))}]}]},{'tag':_0x28647f(0x1f0),'attributes':{'class':[_0x28647f(0x1c6),_0x28647f(0x1d6)]},'children':[this[_0x28647f(0x1ca)],this[_0x28647f(0x1e4)]]},{'tag':_0x28647f(0x1f0),'attributes':{'class':[_0x28647f(0x1fe)]}}];return this[_0x28647f(0x206)][_0x28647f(0x1e5)]&&_0x24cf4a[_0x28647f(0x1d1)]({'tag':_0x28647f(0x1f0),'attributes':{'class':[_0x28647f(0x1f8)]},'children':[{'text':this[_0x28647f(0x1be)]()}]}),{'tag':_0x28647f(0x1f0),'attributes':{'class':[_0x28647f(0x1dd),_0x28647f(0x205)],'tabindex':-0x1},'children':[this[_0x28647f(0x204)],{'tag':_0x28647f(0x1f0),'attributes':{'class':[_0x28647f(0x1e1),_0x28647f(0x1c4)],'role':_0x28647f(0x1ee)},'children':_0x24cf4a}]};}[_0x419b6e(0x1fb)](){const _0x85b988=_0x419b6e;this[_0x85b988(0x1b8)][_0x85b988(0x1fb)]();}[_0x419b6e(0x1ba)](){const _0x2f392f=_0x419b6e;return this[_0x2f392f(0x206)][_0x2f392f(0x1e5)]?_0x2f392f(0x1bb)===this[_0x2f392f(0x206)][_0x2f392f(0x1df)][_0x2f392f(0x1e9)][_0x2f392f(0x1fd)]?_0x30012e(this[_0x2f392f(0x1c0)],_0x2f392f(0x1eb),this[_0x2f392f(0x206)][_0x2f392f(0x1da)][_0x2f392f(0x1ce)]):_0x30012e(this[_0x2f392f(0x1c0)],_0x2f392f(0x1cf),this[_0x2f392f(0x206)][_0x2f392f(0x1da)][_0x2f392f(0x1ce)]):null;}[_0x419b6e(0x1be)](){const _0x594120=_0x419b6e;return _0x594120(0x1bb)===this[_0x594120(0x206)][_0x594120(0x1df)][_0x594120(0x1e9)][_0x594120(0x1fd)]?_0x30012e(this[_0x594120(0x1c0)],_0x594120(0x1ec)):_0x30012e(this[_0x594120(0x1c0)],_0x594120(0x1bf));}[_0x419b6e(0x1e8)](_0x2164da,_0xcf8094,_0x1c8c80,_0x2a324f,_0x360f0f){const _0x182917=_0x419b6e,_0x1fe5d7=new _0x4256ac(this[_0x182917(0x1c0)]);return _0x1fe5d7[_0x182917(0x1d4)]({'label':_0x2164da,'icon':_0xcf8094,'tooltip':!0x0,'tooltipPosition':_0x360f0f}),_0x1fe5d7[_0x182917(0x1d0)]({'attributes':{'class':_0x1c8c80}}),_0x1fe5d7['on'](_0x182917(0x1fa),()=>{const _0x171568=_0x182917;this[_0x171568(0x1ea)](_0x2a324f,this[_0x171568(0x206)]['id']);}),_0x1fe5d7;}[_0x419b6e(0x1d7)](){const _0x15937e=_0x419b6e,_0xe65f59=this[_0x15937e(0x1b8)];this[_0x15937e(0x1f3)][_0x15937e(0x1b6)](_0xe65f59);for(const _0x3d0f59 of this[_0x15937e(0x1b3)])this[_0x15937e(0x1c1)][_0x15937e(0x1f9)](_0x3d0f59[_0x15937e(0x1b8)]),this[_0x15937e(0x1f3)][_0x15937e(0x1b6)](_0x3d0f59[_0x15937e(0x1b8)]);this[_0x15937e(0x1f3)][_0x15937e(0x1d4)](_0x15937e(0x201),(_0x44c8a8,_0x3b8ed0)=>{const _0x59a2d0=_0x15937e;_0xe65f59===_0x44c8a8[_0x59a2d0(0x1ff)]&&(this[_0x59a2d0(0x1ef)][_0x59a2d0(0x1bc)](),_0x3b8ed0());}),this[_0x15937e(0x1f3)][_0x15937e(0x1d4)](_0x15937e(0x1ed),(_0x4e702f,_0x2e0c30)=>{const _0x45ba89=_0x15937e;_0xe65f59!==_0x4e702f[_0x45ba89(0x1ff)]&&(this[_0x45ba89(0x1fb)](),_0x2e0c30());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25496a=_0x5a59;(function(_0x8d57d1,_0x353ea0){const _0x1f0e00=_0x5a59,_0xdf2b50=_0x8d57d1();while(!![]){try{const _0x41c675=parseInt(_0x1f0e00(0x1ab))/0x1+-parseInt(_0x1f0e00(0x1ac))/0x2+-parseInt(_0x1f0e00(0x195))/0x3*(-parseInt(_0x1f0e00(0x1b5))/0x4)+-parseInt(_0x1f0e00(0x1a1))/0x5*(-parseInt(_0x1f0e00(0x1b1))/0x6)+parseInt(_0x1f0e00(0x199))/0x7*(parseInt(_0x1f0e00(0x1a2))/0x8)+-parseInt(_0x1f0e00(0x1b0))/0x9*(parseInt(_0x1f0e00(0x1aa))/0xa)+-parseInt(_0x1f0e00(0x19e))/0xb;if(_0x41c675===_0x353ea0)break;else _0xdf2b50['push'](_0xdf2b50['shift']());}catch(_0x32f125){_0xdf2b50['push'](_0xdf2b50['shift']());}}}(_0x3a09,0x5c44e));import{View as _0x34277b}from'ckeditor5/src/ui.js';function _0x5a59(_0xb0c00c,_0x5b39a3){const _0x3a098e=_0x3a09();return _0x5a59=function(_0x5a598a,_0x27d167){_0x5a598a=_0x5a598a-0x193;let _0x1702e9=_0x3a098e[_0x5a598a];return _0x1702e9;},_0x5a59(_0xb0c00c,_0x5b39a3);}export class TrackChangesPreviewView extends _0x34277b{[_0x25496a(0x193)];constructor(_0xf2d0c2,_0x373593){const _0x2792eb=_0x25496a;super(_0xf2d0c2),this[_0x2792eb(0x193)]=_0x373593,this[_0x2792eb(0x1ae)]({'tag':_0x2792eb(0x1a5),'attributes':{'class':['ck',_0x2792eb(0x19f),_0x2792eb(0x1b3)],'tabindex':-0x1}});}[_0x25496a(0x197)](){const _0x19780b=_0x25496a;super[_0x19780b(0x197)](),this[_0x19780b(0x1a8)][_0x19780b(0x196)][_0x19780b(0x198)]=this[_0x19780b(0x193)][_0x19780b(0x19c)][_0x19780b(0x198)]+'px',this[_0x19780b(0x1a8)][_0x19780b(0x196)][_0x19780b(0x1b2)]=this[_0x19780b(0x193)][_0x19780b(0x19c)][_0x19780b(0x1b2)]+'px';}[_0x25496a(0x1a4)](_0x483f4a,_0xfd2a36){const _0x1c8aac=_0x25496a;if(!this[_0x1c8aac(0x1a8)])return;const _0x584ebd=[];for(const [_0x4a572c,_0x3f2b2d]of _0x483f4a){const _0x591686=document[_0x1c8aac(0x1b4)](_0x1c8aac(0x1a5));_0x591686[_0x1c8aac(0x1a7)](_0x1c8aac(0x19d),_0x4a572c),_0x591686[_0x1c8aac(0x1ad)]=_0x3f2b2d[_0x1c8aac(0x1a3)]+_0x1c8aac(0x194),_0x591686[_0x1c8aac(0x1a9)]=_0x3f2b2d[_0x1c8aac(0x1a6)],_0x584ebd[_0x1c8aac(0x1af)](_0x591686);}_0xfd2a36(this[_0x1c8aac(0x1a8)],_0x584ebd),this[_0x1c8aac(0x1a8)][_0x1c8aac(0x196)][_0x1c8aac(0x1b2)]='',this[_0x1c8aac(0x19a)](_0x1c8aac(0x19b));}[_0x25496a(0x1a0)](){const _0x6394ed=_0x25496a;this[_0x6394ed(0x1a8)][_0x6394ed(0x1a0)]();}}function _0x3a09(){const _0x441a54=['options','\x20ck-track-changes-preview__root-container','33xmYLHY','style','render','width','51443bDdKRG','fire','previewDataReady','dialogRects','data-ck-root-name','7046633WhhTTD','ck-reset','focus','75eEtBiY','648kOgEKz','classes','setPreviewData','div','content','setAttribute','element','innerHTML','56510pKwvAw','538973afOxrY','1249970ejJzDB','className','setTemplate','push','153oWsqwY','32448WbtgNi','height','ck-track-changes-preview','createElement','190628ZnsNZe'];_0x3a09=function(){return _0x441a54;};return _0x3a09();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1ba4e8,_0x320942,_0x4528f4){const _0xe36d8=_0x1ba4e8['t'],t=_0x1ba4e8['t'];switch(_0x320942){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x4528f4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4528f4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4528f4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4528f4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4528f4);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x4528f4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4528f4);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4528f4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4528f4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4528f4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4528f4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4528f4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4528f4);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4528f4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4528f4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4528f4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4528f4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4528f4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4528f4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4528f4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4528f4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4528f4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4528f4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4528f4);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4528f4);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x4528f4);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4528f4);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4528f4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4528f4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4528f4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4528f4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4528f4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4528f4);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x4528f4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4528f4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4528f4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4528f4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4528f4);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4528f4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4528f4);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x4528f4);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4528f4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4528f4);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x4528f4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4528f4);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x4528f4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4528f4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4528f4);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x4528f4);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4528f4);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0xe36d8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4528f4);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xe36d8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4528f4);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4528f4);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x4528f4);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x4528f4);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x4528f4);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x320942;}}
|
|
23
|
+
export function getTranslation(_0x21acb2,_0x2e7e36,_0x2c1df7){const _0x2ac549=_0x21acb2['t'],t=_0x21acb2['t'];switch(_0x2e7e36){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',_0x2c1df7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2c1df7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2c1df7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2c1df7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2c1df7);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',_0x2c1df7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2c1df7);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',_0x2c1df7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2c1df7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2c1df7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2c1df7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2c1df7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2c1df7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2c1df7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2c1df7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2c1df7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2c1df7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2c1df7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2c1df7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2c1df7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2c1df7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2c1df7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2c1df7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2c1df7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2c1df7);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'},_0x2c1df7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2c1df7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2c1df7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2c1df7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2c1df7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2c1df7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2c1df7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2c1df7);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'},_0x2c1df7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2c1df7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2c1df7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2c1df7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2c1df7);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'},_0x2c1df7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2c1df7);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'},_0x2c1df7);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2c1df7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2c1df7);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'},_0x2c1df7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2c1df7);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'},_0x2c1df7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2c1df7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2c1df7);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'},_0x2c1df7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2c1df7);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 _0x2ac549({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2c1df7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2ac549({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2c1df7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2c1df7);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'},_0x2c1df7);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'},_0x2c1df7);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'},_0x2c1df7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2e7e36;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40b548,_0xaae07b){const _0x4f4c17=_0x3f77,_0x599d40=_0x40b548();while(!![]){try{const _0x2b7982=-parseInt(_0x4f4c17(0x18a))/0x1+parseInt(_0x4f4c17(0x1ad))/0x2+-parseInt(_0x4f4c17(0x19c))/0x3+-parseInt(_0x4f4c17(0x1a8))/0x4+parseInt(_0x4f4c17(0x188))/0x5*(parseInt(_0x4f4c17(0x18b))/0x6)+-parseInt(_0x4f4c17(0x1af))/0x7+parseInt(_0x4f4c17(0x1a6))/0x8*(parseInt(_0x4f4c17(0x198))/0x9);if(_0x2b7982===_0xaae07b)break;else _0x599d40['push'](_0x599d40['shift']());}catch(_0x5a3226){_0x599d40['push'](_0x599d40['shift']());}}}(_0x3482,0xaddd4));function _0x3f77(_0xb132a9,_0x118b97){const _0x34824=_0x3482();return _0x3f77=function(_0x3f77e0,_0xa005b4){_0x3f77e0=_0x3f77e0-0x185;let _0x292d7a=_0x34824[_0x3f77e0];return _0x292d7a;},_0x3f77(_0xb132a9,_0x118b97);}export function normalizeDescription(_0xb9afb1){const _0x3f6d74=_0x3f77;return Array[_0x3f6d74(0x18c)](_0xb9afb1)||(_0xb9afb1=[_0xb9afb1]),_0xb9afb1[_0x3f6d74(0x1b8)](_0x3034f9=>{const _0x2d13b5=_0x3f6d74,_0xcd21f7=_0x3034f9[_0x2d13b5(0x19e)][_0x2d13b5(0x185)](/\*/g,''),_0x4393f4=_0x3034f9[_0x2d13b5(0x1b0)]?_0x2d13b5(0x191)+_0x3034f9[_0x2d13b5(0x1b0)][_0x2d13b5(0x1a9)]+']':'';return'['+_0x3034f9[_0x2d13b5(0x187)]+']\x20'+_0xcd21f7+_0x4393f4;})[_0x3f6d74(0x1a2)](';\x20');}export function renderDescription(_0x589253,_0x35149f){const _0xe650ce=_0x3f77;let _0x461444='';return _0x461444+=_0x589253[_0xe650ce(0x1aa)]('*')[_0xe650ce(0x1b8)]((_0xe1a959,_0x1d934d)=>_0x1d934d%0x2!=0x0?_0xe650ce(0x1a0)+Zt(_0xe1a959)+_0xe650ce(0x1b4):Zt(_0xe1a959))[_0xe650ce(0x1a2)](''),_0x35149f&&(_0x461444+=_0xe650ce(0x197)+_0x35149f[_0xe650ce(0x1a9)]+_0xe650ce(0x18f)+_0x35149f[_0xe650ce(0x195)]+_0xe650ce(0x1a4)),_0x461444;}function Zt(_0x3a56ad){const _0x21c4ef=_0x3f77,_0x59b574=document[_0x21c4ef(0x1ab)](_0x21c4ef(0x18d));return _0x59b574[_0x21c4ef(0x1b2)]=_0x3a56ad,_0x59b574[_0x21c4ef(0x1b1)];}export function sortSuggestions(_0x4cc08f){const _0xe97e13=_0x3f77;return _0x4cc08f[_0xe97e13(0x19f)]((_0x4c26d7,_0xfab4c4)=>_0xe97e13(0x18e)===_0x4c26d7[_0xe97e13(0x187)]&&_0xe97e13(0x18e)!==_0xfab4c4[_0xe97e13(0x187)]?-0x1:_0xe97e13(0x18e)!==_0x4c26d7[_0xe97e13(0x187)]&&_0xe97e13(0x18e)===_0xfab4c4[_0xe97e13(0x187)]?0x1:_0xe97e13(0x1ba)==_0x4c26d7[_0xe97e13(0x187)]&&_0xe97e13(0x1ba)!=_0xfab4c4[_0xe97e13(0x187)]?-0x1:_0xe97e13(0x1ba)!=_0x4c26d7[_0xe97e13(0x187)]&&_0xe97e13(0x1ba)==_0xfab4c4[_0xe97e13(0x187)]?0x1:0x0);}function _0x3482(){const _0x1c224c=['color','innerHTML','innerText','getRanges','</span>','start','isTouching','splice','map','createPositionAt','deletion','replace','end','type','153975cOaFms','schema','1119495DLxqCZ','126qImEcp','isArray','span','attribute','\x22\x20title=\x22','from','\x20[color\x20','add','createPositionBefore','push','title','isCollapsed','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','24860205ipsNpc','length','next','isInContent','778065JcaMSd','execute','content','sort','<span\x20class=\x22ck-suggestion-type\x22>','change','join','createPositionAfter','\x22></span>','isMultiRange','8cCMgWm','isIntersecting','5538880vAIAKX','value','split','createElement','createRange','2759502iKpoIO','isObject','9190811aZZHkL'];_0x3482=function(){return _0x1c224c;};return _0x3482();}export function getSelectedSuggestions(_0x20f247,_0x4454a7){const _0x38cc29=_0x3f77,_0xb23c6c=Array[_0x38cc29(0x190)](_0x20f247[_0x38cc29(0x1b3)]()),_0x48345e=new Set();for(const _0x4f64fb of _0x4454a7)if(_0x4f64fb[_0x38cc29(0x19b)]){for(const _0x4d893a of _0xb23c6c)for(const _0x342bfd of _0x4f64fb[_0x38cc29(0x1b3)]())(_0x4d893a[_0x38cc29(0x1a7)](_0x342bfd)||_0x20f247[_0x38cc29(0x196)]&&!_0x4f64fb[_0x38cc29(0x1a5)]&&_0x4f64fb[_0x38cc29(0x19a)]&&_0x342bfd[_0x38cc29(0x186)][_0x38cc29(0x1b6)](_0x4d893a[_0x38cc29(0x1b5)]))&&_0x48345e[_0x38cc29(0x192)](_0x4f64fb);}return _0x48345e;}export function getRangesOfBlockGroups(_0x52fcc4,_0x5b0b39){const _0x22d5c6=_0x3f77;let _0x21928b,_0x5de42c=0x0;const _0x19088c=[],_0xcc67de=_0x5b0b39[_0x22d5c6(0x189)];for(;_0x5de42c<_0x52fcc4[_0x22d5c6(0x199)];){const _0x157f5b=_0x52fcc4[_0x5de42c],_0xf9db17=_0x52fcc4[_0x5de42c+0x1];_0x21928b||(_0x21928b=_0x5b0b39[_0x22d5c6(0x193)](_0x157f5b)),tn(_0x5b0b39,_0x157f5b,_0xf9db17)||(_0x19088c[_0x22d5c6(0x194)](_0x5b0b39[_0x22d5c6(0x1ac)](_0x21928b,_0xcc67de[_0x22d5c6(0x1ae)](_0x157f5b)?_0x5b0b39[_0x22d5c6(0x1a3)](_0x157f5b):_0x5b0b39[_0x22d5c6(0x1b9)](_0x157f5b,_0x22d5c6(0x186)))),_0x21928b=null),_0x5de42c++;}return _0x19088c;}function tn(_0x34c5b3,_0x2c38ee,_0x577051){const _0x45ae7c=_0x3f77;if(!_0x577051)return!0x1;const _0x12826d=_0x34c5b3[_0x45ae7c(0x1a3)](_0x2c38ee),_0x3553dc=_0x34c5b3[_0x45ae7c(0x193)](_0x577051);return _0x12826d[_0x45ae7c(0x1b6)](_0x3553dc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xdd934d,_0x1a2e3c,_0x2b3d15){const _0x5e6b4e=_0x3f77;for(;_0x2b3d15[_0x5e6b4e(0x199)];){const _0x476fa6=_0x2b3d15[_0x5e6b4e(0x1b7)](0x0,0x64);_0xdd934d[_0x5e6b4e(0x1a1)](()=>{const _0x5b806d=_0x5e6b4e;for(const _0x2b1c1e of _0x476fa6)_0x2b1c1e[_0x5b806d(0x19b)]&&_0x1a2e3c[_0x5b806d(0x19d)](_0x2b1c1e['id']);});}}
|