@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250924.0 → 0.0.0-nightly-20250925.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
|
-
|
|
23
|
+
const _0x18b8e8=_0x547c;(function(_0x2fe93d,_0x8f781f){const _0x342c4=_0x547c,_0x21bf52=_0x2fe93d();while(!![]){try{const _0x47f766=parseInt(_0x342c4(0x125))/0x1*(-parseInt(_0x342c4(0x130))/0x2)+parseInt(_0x342c4(0x12e))/0x3+parseInt(_0x342c4(0x122))/0x4+parseInt(_0x342c4(0x12d))/0x5*(-parseInt(_0x342c4(0x12c))/0x6)+parseInt(_0x342c4(0x12b))/0x7*(parseInt(_0x342c4(0x131))/0x8)+-parseInt(_0x342c4(0x12a))/0x9*(parseInt(_0x342c4(0x132))/0xa)+parseInt(_0x342c4(0x138))/0xb;if(_0x47f766===_0x8f781f)break;else _0x21bf52['push'](_0x21bf52['shift']());}catch(_0xa5a25a){_0x21bf52['push'](_0x21bf52['shift']());}}}(_0x18d9,0xd9fd0));function _0x547c(_0x20f77c,_0x53ae37){const _0x18d9d3=_0x18d9();return _0x547c=function(_0x547c68,_0x2f21e0){_0x547c68=_0x547c68-0x121;let _0x8c4b8f=_0x18d9d3[_0x547c68];return _0x8c4b8f;},_0x547c(_0x20f77c,_0x53ae37);}import{Plugin as _0x14b1d0}from'ckeditor5/src/core.js';import{Dialog as _0x4d5183}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1aaeb4}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x450cd2}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x18d9(){const _0x370e9c=['6676274DJnuHi','define','4112uusXMf','editor','trackChanges.preview.renderFunction','764673qccyFC','TrackChangesPreview','pluginName','add','requires','4797ZSNEsw','301294oMuhRM','1896FqmZeS','22580gGegSx','4040184stDykB','config','2lFIjcb','328JgvCCT','11910hIYFQn','isOfficialPlugin','appendChild','previewFinalContent','commands','isPremiumPlugin'];_0x18d9=function(){return _0x370e9c;};return _0x18d9();}export class TrackChangesPreview extends _0x14b1d0{static get[_0x18b8e8(0x129)](){return[_0x1aaeb4,_0x4d5183];}static get[_0x18b8e8(0x127)](){const _0x8d6451=_0x18b8e8;return _0x8d6451(0x126);}static get[_0x18b8e8(0x133)](){return!0x0;}static get[_0x18b8e8(0x137)](){return!0x0;}constructor(_0x37e445){const _0x1bf298=_0x18b8e8;super(_0x37e445),_0x37e445[_0x1bf298(0x136)][_0x1bf298(0x128)](_0x1bf298(0x135),new _0x450cd2(this[_0x1bf298(0x123)])),_0x37e445[_0x1bf298(0x12f)][_0x1bf298(0x121)](_0x1bf298(0x124),(_0x504c3a,_0x284f1f)=>{const _0x50df01=_0x1bf298;for(const _0x11c1a7 of _0x284f1f)_0x504c3a[_0x50df01(0x134)](_0x11c1a7);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x453324=_0x4dc0;function _0x8186(){const _0x3a8e23=['requires','menuitem','addMany','discardSelectedSuggestions','Discard\x20all\x20selected\x20suggestions','comments.editorConfig','_disableComments','Preview\x20final\x20content','init','componentFactory','916572nCTWnI','25370SWYPOl','acceptSelectedSuggestions','suggestionView','16BEcuna','filter','has','isEnabled','trackChangesLicenseKeyExpired','TrackChangesUI','_addUIComponentsToFactory','remove','getFirstRange','clear','createAnnotation','1737sJrhYR','trackChanges.SuggestionView','CommentView','Accept\x20all\x20selected\x20suggestions','panelView','lowest','trackChangesLicenseKeyDomainLimit','focus','mainView','suggestionChanged','delete','250gIjaeg','editor','28MQhzbN','menu','items','unbind','_initializeController','children','push','some','execute','18982139paCCPT','menuitemcheckbox','change:previous','evaluationLimit','locale','refreshSelectedViews','isPremiumPlugin','comments.maxThreadTotalWeight','source','_updateController','actionView','values','arrowView','CommentsRepository','escape','plugins','commentThread','isInContent','from','233598sqkxyX','createAnnotationView','CommentsUI','comments.maxCommentsWhenCollapsed','acceptButton','trialLimit','suggestionUnloaded','getSuggestionForAnnotation','getMarkerNames','EditorAnnotations','view','pluginName','_viewToController','trackChangesLicenseKeyInvalid','discardButton','menuBar:trackChanges','change:activeAnnotations','Track\x20changes','isMultiRange','_handleControllerBuffer','getRanges','invalid','registerAnnotation','domainLimit','Annotations','size','activeMarkers','destroy','getSuggestion','commands','24GEXNoy','TrackChangesPreview','trackChanges','_showLicenseError','innerView','getMarkers','model','add','get','button','_unbindEditors','trackChangesLicenseKeyUsageLimit','addSourceCollector','activeAnnotations','bind','Accept\x20all\x20suggestions','getAllAdjacentSuggestions','TrackChangesEditing','addComment','isOfficialPlugin','editing','_annotationViews','trackChangesLicenseKeyNotAllowed','previous','3344584qYFGBA','separator','_licenseKeyCheckInterval','fire','acceptAllSuggestions','hasSuggestion','toMany','86987bkYPsl','licenseKey','getByInnerView','trackChangesLicenseKeyTrialLimit','isOn','SuggestionThreadView','_bindAnnotationToEditors','delegate','createCommentThreadController','set','2793228zRmToy','Discard\x20all\x20suggestions','expired','getDescriptions','_refreshActiveMarkers','featureNotAllowed','descriptionParts','value','previewFinalContent','trackChanges.disableComments','length','suggestion-','usageLimit','_createMenuBarMenu','type','suggestionLoaded','trackChangesLicenseKeyValid','commentsListView','_suggestionToController','discardAllSuggestions','reduce','isDirty','keys','commandName','descriptionFactory','switchbutton','buttonView','trackChanges.SuggestionThreadView','config','_createToolbarButton','comments','getAnnotationForSuggestion','_handleSuggestionControllerDelayed','_destroyController','comments.maxCommentCharsWhenCollapsed','getJoined','define','listenTo','TrackChanges','SuggestionView','trackChangesLicenseKeyEvaluationLimit','stopListening','head'];_0x8186=function(){return _0x3a8e23;};return _0x8186();}(function(_0x448cff,_0x490421){const _0x54b447=_0x4dc0,_0x34050e=_0x448cff();while(!![]){try{const _0x4692e9=-parseInt(_0x54b447(0x241))/0x1*(-parseInt(_0x54b447(0x222))/0x2)+parseInt(_0x54b447(0x280))/0x3*(parseInt(_0x54b447(0x284))/0x4)+-parseInt(_0x54b447(0x1e6))/0x5*(parseInt(_0x54b447(0x204))/0x6)+-parseInt(_0x54b447(0x1e8))/0x7*(-parseInt(_0x54b447(0x23a))/0x8)+-parseInt(_0x54b447(0x1db))/0x9*(-parseInt(_0x54b447(0x281))/0xa)+-parseInt(_0x54b447(0x1f1))/0xb+parseInt(_0x54b447(0x24b))/0xc;if(_0x4692e9===_0x490421)break;else _0x34050e['push'](_0x34050e['shift']());}catch(_0x502167){_0x34050e['push'](_0x34050e['shift']());}}}(_0x8186,0xf14b7));function _0x4dc0(_0x5ecd99,_0x1e6a6a){const _0x818681=_0x8186();return _0x4dc0=function(_0x4dc0ef,_0x3152ff){_0x4dc0ef=_0x4dc0ef-0x1d7;let _0x7d6fc3=_0x818681[_0x4dc0ef];return _0x7d6fc3;},_0x4dc0(_0x5ecd99,_0x1e6a6a);}import{Plugin as _0x2972d9}from'ckeditor5/src/core.js';import{Collection as _0x26a557}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x53f9d5}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2b0400,createDropdown as _0x456ac3,ListSeparatorView as _0x5d7b9b,MenuBarMenuView as _0x5b8625,MenuBarMenuListView as _0x3eb56a,MenuBarMenuListItemView as _0x579e3b,MenuBarMenuListItemButtonView as _0x2d57ac,SplitButtonView as _0x1253a0,UIModel as _0x31ff3e}from'ckeditor5/src/ui.js';import{Users as _0x3d9eaf,getDateTimeFormatter as _0x27df24,getAllMarkersDomElementsSorted as _0xe9d5d2}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x46761e}from'./trackchangesediting.js';import{SuggestionController as _0x556d66}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x460951}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x48b748}from'./ui/view/suggestionview.js';import{getTranslation as _0x3c8014}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2972d9{[_0x453324(0x242)];[_0x453324(0x23c)];[_0x453324(0x25d)];[_0x453324(0x210)];[_0x453324(0x237)];[_0x453324(0x217)];[_0x453324(0x27c)];static get[_0x453324(0x276)](){const _0x562b16=_0x453324;return[_0x46761e,_0x3d9eaf,_0x562b16(0x1fe),_0x562b16(0x21c),_0x562b16(0x20d)];}static get[_0x453324(0x20f)](){const _0x31b3f2=_0x453324;return _0x31b3f2(0x289);}static get[_0x453324(0x235)](){return!0x0;}static get[_0x453324(0x1f7)](){return!0x0;}constructor(_0x41af91){const _0x24124f=_0x453324;super(_0x41af91),this[_0x24124f(0x25d)]=new Map(),this[_0x24124f(0x210)]=new Map(),this[_0x24124f(0x237)]=new Map(),this[_0x24124f(0x217)]=new Map();const _0x4ffe81=this[_0x24124f(0x1e7)][_0x24124f(0x267)];_0x4ffe81[_0x24124f(0x26f)](_0x24124f(0x266),_0x460951),_0x4ffe81[_0x24124f(0x26f)](_0x24124f(0x1dc),_0x48b748),_0x4ffe81[_0x24124f(0x26f)](_0x24124f(0x254),!0x1),this[_0x24124f(0x27c)]=_0x4ffe81[_0x24124f(0x22a)](_0x24124f(0x254));}[_0x453324(0x26b)](_0x10cfb3,_0x3579a2){const _0x4d2e36=_0x453324;0x0===this[_0x4d2e36(0x217)][_0x4d2e36(0x21d)]&&setTimeout(()=>{const _0x571746=_0x4d2e36;for(const [_0x45df72,_0x55e9ad]of this[_0x571746(0x217)]){const _0xc2cf70=this[_0x571746(0x25d)][_0x571746(0x286)](_0x45df72);_0xc2cf70||_0x55e9ad?_0xc2cf70&&_0x55e9ad&&this[_0x571746(0x26c)](_0x45df72):this[_0x571746(0x1ec)](_0x45df72);}this[_0x571746(0x217)][_0x571746(0x1d9)](),this[_0x571746(0x1e7)][_0x571746(0x200)][_0x571746(0x22a)](_0x571746(0x20d))[_0x571746(0x1f6)](),this[_0x571746(0x24f)]();},0xa),this[_0x4d2e36(0x217)][_0x4d2e36(0x24a)](_0x10cfb3,_0x3579a2);}[_0x453324(0x27e)](){const _0x471a4f=_0x453324,_0x3844dc=this[_0x471a4f(0x1e7)],_0x572781=_0x3844dc[_0x471a4f(0x200)][_0x471a4f(0x22a)](_0x471a4f(0x233)),_0x3ada69=_0x3844dc[_0x471a4f(0x200)][_0x471a4f(0x22a)](_0x471a4f(0x21c)),_0x2fa797=_0x3844dc[_0x471a4f(0x200)][_0x471a4f(0x22a)](_0x471a4f(0x20d)),_0x10c25c=_0x3844dc[_0x471a4f(0x200)][_0x471a4f(0x22a)](_0x471a4f(0x1fe));this[_0x471a4f(0x28a)](),_0x2fa797[_0x471a4f(0x22e)](()=>{const _0x1ef2dd=_0x471a4f,_0x19b44a=[];for(const [_0x51801f,_0x28ad30]of Array[_0x1ef2dd(0x203)](this[_0x1ef2dd(0x25d)])){const _0x5d26a8=_0x51801f[_0x1ef2dd(0x232)](),_0x26c91b=[];for(const _0x5cef55 of _0x5d26a8){if(!_0x5cef55[_0x1ef2dd(0x202)])continue;if(_0x5cef55[_0x1ef2dd(0x216)]){_0x26c91b[_0x1ef2dd(0x1ee)](..._0x5cef55[_0x1ef2dd(0x218)]());continue;}const _0x30b54d=_0x5cef55[_0x1ef2dd(0x1d8)]();if(_0x26c91b[_0x1ef2dd(0x255)]>0x0){const _0xcc940f=_0x26c91b[0x0][_0x1ef2dd(0x26e)](_0x30b54d);if(_0xcc940f){_0x26c91b[0x0]=_0xcc940f;continue;}}_0x26c91b[_0x1ef2dd(0x1ee)](_0x30b54d);}_0x19b44a[_0x1ef2dd(0x1ee)]([_0x28ad30[_0x1ef2dd(0x20e)],_0x26c91b]);}return _0x19b44a;}),this[_0x471a4f(0x270)](_0x572781,_0x471a4f(0x25a),(_0x311ec4,_0x309077)=>{const _0x499777=_0x471a4f;this[_0x499777(0x270)](_0x309077,_0x499777(0x1f3),(_0x38cc15,_0x2f4f14,_0x3417a2,_0x5c94b7)=>{const _0x36eda7=_0x499777;_0x309077[_0x36eda7(0x202)]&&(null==_0x3417a2?(this[_0x36eda7(0x1fa)](_0x5c94b7[_0x36eda7(0x275)]),this[_0x36eda7(0x26b)](_0x309077,!0x1)):(this[_0x36eda7(0x1fa)](_0x3417a2[_0x36eda7(0x275)]),null==_0x5c94b7&&this[_0x36eda7(0x26b)](_0x309077,!0x0)));}),null!==_0x309077[_0x499777(0x239)]?this[_0x499777(0x1fa)](_0x309077[_0x499777(0x275)]):this[_0x499777(0x26b)](_0x309077,!0x1);}),this[_0x471a4f(0x270)](_0x572781,_0x471a4f(0x20a),(_0x448bc6,_0x201d31,_0x41f459)=>{const _0x1d6c6a=_0x471a4f;this[_0x1d6c6a(0x274)](_0x201d31,_0x1d6c6a(0x1f3)),this[_0x1d6c6a(0x217)][_0x1d6c6a(0x1e5)](_0x201d31),this[_0x1d6c6a(0x25d)][_0x1d6c6a(0x286)](_0x201d31)&&this[_0x1d6c6a(0x26c)](_0x201d31),_0x41f459&&this[_0x1d6c6a(0x1fa)](_0x41f459[_0x1d6c6a(0x275)]);}),this[_0x471a4f(0x270)](_0x572781,_0x471a4f(0x1e4),(_0x4a60a1,_0x461e09)=>{const _0x31a06e=_0x471a4f;this[_0x31a06e(0x1fa)](_0x461e09);}),this[_0x471a4f(0x270)](_0x3ada69,_0x471a4f(0x214),()=>{const _0x5e81e9=_0x471a4f;this[_0x5e81e9(0x24f)]();}),this[_0x471a4f(0x270)](_0x10c25c,_0x471a4f(0x234),(_0x316c74,{threadId:_0x489314,isFromAdapter:_0x1b5d27})=>{const _0x455901=_0x471a4f;if(_0x1b5d27||!_0x572781[_0x455901(0x23f)](_0x489314))return;const _0x2a8f46=_0x572781[_0x455901(0x220)](_0x489314);this[_0x455901(0x25d)][_0x455901(0x22a)](_0x2a8f46)[_0x455901(0x20e)][_0x455901(0x25c)][_0x455901(0x1e2)](-0x1);},{'priority':_0x471a4f(0x1e0)}),this[_0x471a4f(0x242)]=this[_0x471a4f(0x1e7)][_0x471a4f(0x267)][_0x471a4f(0x22a)](_0x471a4f(0x242));const _0x2608b8=this[_0x471a4f(0x1e7)];this[_0x471a4f(0x23c)]=setInterval(()=>{const _0x2f5882=_0x471a4f;let _0x3bacb4;for(const _0x34a413 in _0x2608b8){const _0x3af6de=_0x34a413,_0x5ea56b=_0x2608b8[_0x3af6de];if(_0x2f5882(0x25b)==_0x5ea56b||_0x2f5882(0x211)==_0x5ea56b||_0x2f5882(0x288)==_0x5ea56b||_0x2f5882(0x1e1)==_0x5ea56b||_0x2f5882(0x238)==_0x5ea56b||_0x2f5882(0x273)==_0x5ea56b||_0x2f5882(0x244)==_0x5ea56b||_0x2f5882(0x22d)==_0x5ea56b){delete _0x2608b8[_0x3af6de],_0x3bacb4=_0x5ea56b,clearInterval(this[_0x2f5882(0x23c)]),this[_0x2f5882(0x23c)]=void 0x0;break;}}_0x2f5882(0x211)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x219)),_0x2f5882(0x288)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x24d)),_0x2f5882(0x1e1)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x21b)),_0x2f5882(0x238)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x250),_0x2f5882(0x271)),_0x2f5882(0x273)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x1f4)),_0x2f5882(0x244)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x209)),_0x2f5882(0x22d)==_0x3bacb4&&_0x2608b8[_0x2f5882(0x225)](_0x2f5882(0x257));},0x3e8);}[_0x453324(0x26a)](_0x3f2ab2){const _0x5f3aff=_0x453324,_0x1d1024=this[_0x5f3aff(0x25d)][_0x5f3aff(0x22a)](_0x3f2ab2);if(!_0x1d1024)return null;return this[_0x5f3aff(0x1e7)][_0x5f3aff(0x200)][_0x5f3aff(0x22a)](_0x5f3aff(0x21c))[_0x5f3aff(0x243)](_0x1d1024[_0x5f3aff(0x20e)])||null;}[_0x453324(0x20b)](_0x99870c){const _0x2e0c7b=_0x453324,_0x6fc68=this[_0x2e0c7b(0x210)][_0x2e0c7b(0x22a)](_0x99870c[_0x2e0c7b(0x226)]);return _0x6fc68?_0x6fc68[_0x2e0c7b(0x228)]:null;}[_0x453324(0x24f)](){const _0x3c157e=_0x453324,_0x2fd814=this[_0x3c157e(0x1e7)][_0x3c157e(0x200)][_0x3c157e(0x22a)](_0x3c157e(0x21c)),_0xa79527=this[_0x3c157e(0x1e7)][_0x3c157e(0x200)][_0x3c157e(0x22a)](_0x3c157e(0x233)),_0x21a758=Array[_0x3c157e(0x203)](_0x2fd814[_0x3c157e(0x22f)],_0x3f832d=>_0x3f832d[_0x3c157e(0x226)])[_0x3c157e(0x285)](_0x4b53bc=>this[_0x3c157e(0x210)][_0x3c157e(0x286)](_0x4b53bc)),_0x1d624c=[];for(const _0x1dbefa of _0x21a758){const _0x33386a=this[_0x3c157e(0x210)][_0x3c157e(0x22a)](_0x1dbefa)[_0x3c157e(0x228)][_0x3c157e(0x232)]();_0x1d624c[_0x3c157e(0x1ee)](..._0x33386a[_0x3c157e(0x25f)]((_0xa8fd25,_0x3e278b)=>[..._0xa8fd25,..._0x3e278b[_0x3c157e(0x20c)]()],[]));}_0xa79527[_0x3c157e(0x21e)]=_0x1d624c;}[_0x453324(0x28a)](){const _0x5ddec3=_0x453324,_0x523f03=this[_0x5ddec3(0x1e7)],_0x17e566=_0x523f03[_0x5ddec3(0x1f5)],_0x29998d=_0x3c8014(_0x17e566,_0x5ddec3(0x215)),_0x521ea6=new _0x26a557([{'type':_0x5ddec3(0x264),'model':new _0x31ff3e({'withText':!0x0,'isToggleable':!0x0,'label':_0x29998d,'commandName':_0x5ddec3(0x224),'role':_0x5ddec3(0x1f2)})},{'type':_0x5ddec3(0x23b)},{'type':_0x5ddec3(0x22b),'model':new _0x31ff3e({'withText':!0x0,'label':_0x3c8014(_0x17e566,_0x5ddec3(0x231)),'commandName':_0x5ddec3(0x23e),'role':_0x5ddec3(0x277)})},{'type':_0x5ddec3(0x22b),'model':new _0x31ff3e({'withText':!0x0,'label':_0x3c8014(_0x17e566,_0x5ddec3(0x1de)),'commandName':_0x5ddec3(0x282),'role':_0x5ddec3(0x277)})},{'type':_0x5ddec3(0x22b),'model':new _0x31ff3e({'withText':!0x0,'label':_0x3c8014(_0x17e566,_0x5ddec3(0x24c)),'commandName':_0x5ddec3(0x25e),'role':_0x5ddec3(0x277)})},{'type':_0x5ddec3(0x22b),'model':new _0x31ff3e({'withText':!0x0,'label':_0x3c8014(_0x17e566,_0x5ddec3(0x27a)),'commandName':_0x5ddec3(0x279),'role':_0x5ddec3(0x277)})}]);_0x523f03[_0x5ddec3(0x200)][_0x5ddec3(0x286)](_0x5ddec3(0x223))&&_0x521ea6[_0x5ddec3(0x278)]([{'type':_0x5ddec3(0x23b)},{'type':_0x5ddec3(0x22b),'model':new _0x31ff3e({'withText':!0x0,'label':_0x3c8014(_0x17e566,_0x5ddec3(0x27d)),'commandName':_0x5ddec3(0x253),'role':_0x5ddec3(0x277)})}]);for(const _0x449899 of _0x521ea6)if(ve(_0x449899)){const _0xf76e8a=_0x523f03[_0x5ddec3(0x221)][_0x5ddec3(0x22a)](_0x449899[_0x5ddec3(0x228)][_0x5ddec3(0x262)]);_0x449899[_0x5ddec3(0x228)][_0x5ddec3(0x230)](_0x5ddec3(0x245),_0x5ddec3(0x287))['to'](_0xf76e8a,_0x5ddec3(0x252),_0x5ddec3(0x287));}_0x523f03['ui'][_0x5ddec3(0x27f)][_0x5ddec3(0x229)](_0x5ddec3(0x224),_0x597c65=>this[_0x5ddec3(0x268)](_0x597c65,_0x521ea6,_0x29998d)),_0x523f03['ui'][_0x5ddec3(0x27f)][_0x5ddec3(0x229)](_0x5ddec3(0x213),_0x184fb8=>this[_0x5ddec3(0x258)](_0x184fb8,_0x521ea6,_0x29998d));}[_0x453324(0x268)](_0x24f560,_0x5e4a0e,_0x482763){const _0x25be27=_0x453324,_0x19bd70=_0x456ac3(_0x24f560,_0x1253a0),_0x1a9449=this[_0x25be27(0x1e7)][_0x25be27(0x221)][_0x25be27(0x22a)](_0x25be27(0x224));_0x19bd70[_0x25be27(0x265)][_0x25be27(0x24a)]({'tooltip':_0x482763,'label':_0x482763,'icon':_0x53f9d5}),_0x19bd70[_0x25be27(0x265)][_0x25be27(0x230)](_0x25be27(0x245))['to'](_0x1a9449,_0x25be27(0x252)),_0x19bd70[_0x25be27(0x265)]['on'](_0x25be27(0x1f0),()=>{const _0x2fc614=_0x25be27;_0x1a9449[_0x2fc614(0x1f0)](),this[_0x2fc614(0x1e7)][_0x2fc614(0x236)][_0x2fc614(0x20e)][_0x2fc614(0x1e2)]();}),_0x2b0400(_0x19bd70,_0x5e4a0e,{'role':_0x25be27(0x1e9)});const _0x51d26c=[];for(const _0x202c0e of _0x5e4a0e)ve(_0x202c0e)&&_0x51d26c[_0x25be27(0x1ee)](this[_0x25be27(0x1e7)][_0x25be27(0x221)][_0x25be27(0x22a)](_0x202c0e[_0x25be27(0x228)][_0x25be27(0x262)]));const _0x1b1229=_0x19bd70[_0x25be27(0x265)];return _0x1b1229[_0x25be27(0x1fb)][_0x25be27(0x1eb)](_0x25be27(0x287)),_0x1b1229[_0x25be27(0x1fd)][_0x25be27(0x1eb)](_0x25be27(0x287)),_0x1b1229[_0x25be27(0x1fb)][_0x25be27(0x230)](_0x25be27(0x287))['to'](_0x1a9449,_0x25be27(0x287)),_0x1b1229[_0x25be27(0x1fd)][_0x25be27(0x230)](_0x25be27(0x287))[_0x25be27(0x240)](_0x51d26c,_0x25be27(0x287),(..._0x25ca53)=>_0x25ca53[_0x25be27(0x1ef)](_0x301a59=>_0x301a59)),_0x19bd70['on'](_0x25be27(0x1f0),_0x5acb68=>{const _0x158000=_0x25be27;this[_0x158000(0x1e7)][_0x158000(0x1f0)](_0x5acb68[_0x158000(0x1f9)][_0x158000(0x262)]),this[_0x158000(0x1e7)][_0x158000(0x236)][_0x158000(0x20e)][_0x158000(0x1e2)]();}),_0x19bd70;}[_0x453324(0x258)](_0x1336d5,_0x263d50,_0x184753){const _0x3a2255=_0x453324,_0x5751b4=new _0x5b8625(_0x1336d5),_0x363028=this[_0x3a2255(0x1e7)][_0x3a2255(0x221)][_0x3a2255(0x22a)](_0x3a2255(0x224));_0x5751b4[_0x3a2255(0x265)][_0x3a2255(0x24a)]({'label':_0x184753,'icon':_0x53f9d5});const _0x248982=new _0x3eb56a(_0x1336d5);for(const _0x4a3b4f of _0x263d50){if(_0x3a2255(0x23b)==_0x4a3b4f[_0x3a2255(0x259)]){_0x248982[_0x3a2255(0x1ea)][_0x3a2255(0x229)](new _0x5d7b9b(_0x1336d5));continue;}const _0x14f5bb=new _0x579e3b(_0x1336d5,_0x5751b4),_0x16b5f3=new _0x2d57ac(_0x1336d5),_0x329d53=_0x4a3b4f[_0x3a2255(0x228)];_0x16b5f3[_0x3a2255(0x230)](...Object[_0x3a2255(0x261)](_0x329d53))['to'](_0x329d53),_0x16b5f3[_0x3a2255(0x248)](_0x3a2255(0x1f0))['to'](_0x5751b4),_0x16b5f3['on'](_0x3a2255(0x1f0),()=>{const _0x38c0f0=_0x3a2255;this[_0x38c0f0(0x1e7)][_0x38c0f0(0x1f0)](_0x329d53[_0x38c0f0(0x262)]),this[_0x38c0f0(0x1e7)][_0x38c0f0(0x236)][_0x38c0f0(0x20e)][_0x38c0f0(0x1e2)]();}),_0x14f5bb[_0x3a2255(0x1ed)][_0x3a2255(0x229)](_0x16b5f3),_0x248982[_0x3a2255(0x1ea)][_0x3a2255(0x229)](_0x14f5bb);}return _0x5751b4[_0x3a2255(0x230)](_0x3a2255(0x287))['to'](_0x363028,_0x3a2255(0x287)),_0x5751b4[_0x3a2255(0x1df)][_0x3a2255(0x1ed)][_0x3a2255(0x229)](_0x248982),_0x5751b4;}[_0x453324(0x1ec)](_0x2044fa){const _0x26ec00=_0x453324,_0x17af87=this[_0x26ec00(0x1e7)],_0x432e92=_0x17af87[_0x26ec00(0x267)],_0x207709=_0x17af87[_0x26ec00(0x200)][_0x26ec00(0x22a)](_0x26ec00(0x21c)),_0x42e006=_0x17af87[_0x26ec00(0x200)][_0x26ec00(0x22a)](_0x26ec00(0x1fe)),_0x6c0ec1=_0x17af87[_0x26ec00(0x200)][_0x26ec00(0x22a)](_0x26ec00(0x20d)),_0x51a47e=_0x17af87[_0x26ec00(0x200)][_0x26ec00(0x22a)](_0x3d9eaf)['me'],_0x121f0f=_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x224))[_0x26ec00(0x246)],_0xc2fd09=_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x224))[_0x26ec00(0x272)],{CommentsListView:_0x460b00,CommentThreadInputView:_0x42ee73}=_0x17af87[_0x26ec00(0x200)][_0x26ec00(0x22a)](_0x26ec00(0x206));let _0x7e5afa,_0x1a3059,_0x597a18;this[_0x26ec00(0x237)][_0x26ec00(0x286)](_0x2044fa['id'])?(_0x1a3059=this[_0x26ec00(0x237)][_0x26ec00(0x22a)](_0x2044fa['id']),_0x7e5afa=_0x1a3059[_0x26ec00(0x1e3)]):(_0x7e5afa=new _0x121f0f(_0x17af87[_0x26ec00(0x1f5)],_0x2044fa,_0x51a47e,{'disableComments':this[_0x26ec00(0x27c)],'editorConfig':{..._0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x27b)),'licenseKey':_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x242))},'maxCommentsWhenCollapsed':_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x207)),'maxThreadTotalWeight':_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x1f8)),'maxCommentCharsWhenCollapsed':_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x26d)),'formatDateTime':_0x27df24(_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x1f5)),_0x17af87[_0x26ec00(0x1f5)]),'CommentView':_0x432e92[_0x26ec00(0x22a)](_0x26ec00(0x269))[_0x26ec00(0x1dd)],'CommentsListView':_0x460b00,'CommentThreadInputView':_0x42ee73,'SuggestionView':_0xc2fd09}),_0x7e5afa[_0x26ec00(0x283)][_0x26ec00(0x208)]['on'](_0x26ec00(0x1f0),()=>{const _0x56a174=_0x26ec00;_0x17af87[_0x56a174(0x236)][_0x56a174(0x20e)][_0x56a174(0x1e2)]();}),_0x7e5afa[_0x26ec00(0x283)][_0x26ec00(0x212)]['on'](_0x26ec00(0x1f0),()=>{const _0x1ebb0c=_0x26ec00;_0x17af87[_0x1ebb0c(0x236)][_0x1ebb0c(0x20e)][_0x1ebb0c(0x1e2)]();}),_0x1a3059=_0x207709[_0x26ec00(0x205)](this[_0x26ec00(0x1e7)][_0x26ec00(0x1f5)],_0x7e5afa),_0x1a3059[_0x26ec00(0x230)](_0x26ec00(0x260))['to'](_0x7e5afa,_0x26ec00(0x260)),_0x1a3059[_0x26ec00(0x230)](_0x26ec00(0x255))['to'](_0x7e5afa),_0x1a3059[_0x26ec00(0x230)](_0x26ec00(0x259))['to'](_0x7e5afa,_0x26ec00(0x259),_0x306c50=>_0x26ec00(0x256)+_0x306c50),_0x7e5afa['on'](_0x26ec00(0x1ff),()=>{const _0x24907b=_0x26ec00;_0x597a18[_0x24907b(0x23d)](_0x24907b(0x1ff));}),this[_0x26ec00(0x237)][_0x26ec00(0x24a)](_0x2044fa['id'],_0x1a3059));const _0x4fcbb1=_0x42e006[_0x26ec00(0x249)](_0x2044fa[_0x26ec00(0x201)],_0x7e5afa),_0x1d8df8=new _0x556d66(_0x17af87,_0x2044fa,_0x7e5afa,_0x4fcbb1),_0x500729=_0x2044fa[_0x26ec00(0x232)]()[_0x26ec00(0x285)](_0x203ffe=>_0x203ffe[_0x26ec00(0x202)]);_0x7e5afa[_0x26ec00(0x251)]=_0x17af87[_0x26ec00(0x200)][_0x26ec00(0x22a)](_0x26ec00(0x233))[_0x26ec00(0x263)][_0x26ec00(0x24e)](_0x500729),this[_0x26ec00(0x25d)][_0x26ec00(0x24a)](_0x2044fa,_0x1d8df8),this[_0x26ec00(0x210)][_0x26ec00(0x24a)](_0x7e5afa,_0x1d8df8);const _0x26d33d=()=>{const _0x42bb0c=_0x26ec00,_0x4571ac=[],_0x1ff85=_0x2044fa[_0x42bb0c(0x232)]()[_0x42bb0c(0x285)](_0x1dd3fc=>_0x1dd3fc[_0x42bb0c(0x202)]);for(const _0x415ac8 of _0x1ff85)_0x4571ac[_0x42bb0c(0x1ee)](..._0x415ac8[_0x42bb0c(0x227)]());return _0xe9d5d2(_0x17af87[_0x42bb0c(0x236)],_0x4571ac);};_0x597a18=_0x207709[_0x26ec00(0x1da)]({'view':_0x1a3059,'target':_0x26d33d,'type':()=>_0x26ec00(0x256)+_0x1d8df8[_0x26ec00(0x20e)][_0x26ec00(0x259)],'isVisible':!!_0x26d33d()}),_0x42e006[_0x26ec00(0x247)](_0x7e5afa,_0x597a18),_0x207709[_0x26ec00(0x229)](_0x597a18),_0x6c0ec1[_0x26ec00(0x21a)](_0x597a18);}[_0x453324(0x26c)](_0x20be8c){const _0x2b4eb9=_0x453324,_0x3249c2=this[_0x2b4eb9(0x1e7)][_0x2b4eb9(0x200)][_0x2b4eb9(0x22a)](_0x2b4eb9(0x1fe)),_0x185f67=this[_0x2b4eb9(0x1e7)][_0x2b4eb9(0x200)][_0x2b4eb9(0x22a)](_0x2b4eb9(0x21c)),_0x2fbcf4=this[_0x2b4eb9(0x25d)][_0x2b4eb9(0x22a)](_0x20be8c),_0x180fae=_0x2fbcf4[_0x2b4eb9(0x20e)],_0x129741=_0x185f67[_0x2b4eb9(0x243)](_0x180fae);_0x3249c2[_0x2b4eb9(0x22c)](_0x180fae),_0x129741&&_0x185f67[_0x2b4eb9(0x1d7)](_0x129741),this[_0x2b4eb9(0x25d)][_0x2b4eb9(0x1e5)](_0x20be8c),this[_0x2b4eb9(0x210)][_0x2b4eb9(0x1e5)](_0x180fae),_0x2fbcf4[_0x2b4eb9(0x21f)]();}[_0x453324(0x1fa)](_0x52b6b4){const _0x1bd1ec=_0x453324;if(!_0x52b6b4[_0x1bd1ec(0x202)]||!this[_0x1bd1ec(0x25d)][_0x1bd1ec(0x286)](_0x52b6b4))return;const _0x2b86b0=this[_0x1bd1ec(0x1e7)][_0x1bd1ec(0x200)][_0x1bd1ec(0x22a)](_0x1bd1ec(0x233)),_0x28e2cc=this[_0x1bd1ec(0x25d)][_0x1bd1ec(0x22a)](_0x52b6b4),_0x32895e=_0x52b6b4[_0x1bd1ec(0x232)]();_0x28e2cc[_0x1bd1ec(0x20e)][_0x1bd1ec(0x251)]=_0x2b86b0[_0x1bd1ec(0x263)][_0x1bd1ec(0x24e)](_0x32895e);}[_0x453324(0x21f)](){const _0x32e333=_0x453324;for(const _0x275935 of this[_0x32e333(0x25d)][_0x32e333(0x261)]())this[_0x32e333(0x26c)](_0x275935);for(const _0x5bdccf of this[_0x32e333(0x237)][_0x32e333(0x1fc)]())_0x5bdccf[_0x32e333(0x1e3)][_0x32e333(0x21f)]();super[_0x32e333(0x21f)](),this[_0x32e333(0x23c)]&&clearInterval(this[_0x32e333(0x23c)]);}}function ve(_0x57f751){const _0x581916=_0x453324;return _0x581916(0x228)in _0x57f751;}
|
|
23
|
+
const _0x6b09bc=_0x190b;(function(_0xc403d2,_0x4b3b35){const _0x193185=_0x190b,_0x5a26bb=_0xc403d2();while(!![]){try{const _0x2ef97d=-parseInt(_0x193185(0x270))/0x1+-parseInt(_0x193185(0x26a))/0x2*(-parseInt(_0x193185(0x26b))/0x3)+-parseInt(_0x193185(0x265))/0x4*(-parseInt(_0x193185(0x21e))/0x5)+-parseInt(_0x193185(0x271))/0x6+parseInt(_0x193185(0x1ee))/0x7*(-parseInt(_0x193185(0x276))/0x8)+parseInt(_0x193185(0x272))/0x9*(-parseInt(_0x193185(0x242))/0xa)+parseInt(_0x193185(0x258))/0xb*(parseInt(_0x193185(0x267))/0xc);if(_0x2ef97d===_0x4b3b35)break;else _0x5a26bb['push'](_0x5a26bb['shift']());}catch(_0x30f116){_0x5a26bb['push'](_0x5a26bb['shift']());}}}(_0x5dc7,0xc6481));import{Plugin as _0x74c2dd}from'ckeditor5/src/core.js';function _0x5dc7(){const _0x5a7b81=['isInContent','addMany','getSuggestion','usageLimit','_createToolbarButton','addComment','getRanges','toMany','featureNotAllowed','trackChanges.disableComments','trackChanges','requires','plugins','createCommentThreadController','source','listenTo','Accept\x20all\x20selected\x20suggestions','focus','invalid','type','descriptionParts','some','110460CizrfA','previous','values','suggestionLoaded','addSourceCollector','isOn','createAnnotation','SuggestionThreadView','children','EditorAnnotations','trackChangesLicenseKeyNotAllowed','trackChangesLicenseKeyTrialLimit','evaluationLimit','acceptButton','menuBar:trackChanges','_initializeController','trackChangesLicenseKeyExpired','separator','_suggestionToController','_refreshActiveMarkers','innerView','add','286CcZDdc','getFirstRange','arrowView','Accept\x20all\x20suggestions','comments.editorConfig','mainView','remove','bind','buttonView','_updateController','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyEvaluationLimit','menuitem','44UvujWB','componentFactory','1086588TkPyUU','domainLimit','SuggestionView','92FvFbNd','72669jVEiHD','commentThread','activeMarkers','view','getJoined','476071iJkhdV','4751484XGeDDi','963BjEZbN','from','Annotations','isMultiRange','4760EIQSlC','Discard\x20all\x20suggestions','Track\x20changes','trackChangesLicenseKeyDomainLimit','acceptAllSuggestions','menuitemcheckbox','push','refreshSelectedViews','previewFinalContent','locale','get','reduce','pluginName','delete','comments','TrackChanges','descriptionFactory','isEnabled','TrackChangesUI','trialLimit','fire','_licenseKeyCheckInterval','trackChanges.SuggestionView','lowest','acceptSelectedSuggestions','trackChangesLicenseKeyInvalid','expired','_unbindEditors','length','licenseKey','model','actionView','discardButton','trackChangesLicenseKeyUsageLimit','getAllAdjacentSuggestions','editor','getByInnerView','config','menu','registerAnnotation','_destroyController','_createMenuBarMenu','change:activeAnnotations','execute','14126sVInVu','_disableComments','unbind','suggestion-','filter','delegate','button','isOfficialPlugin','createAnnotationView','_addUIComponentsToFactory','items','activeAnnotations','commandName','CommentView','getSuggestionForAnnotation','isDirty','getDescriptions','has','change:previous','_bindAnnotationToEditors','_annotationViews','_handleSuggestionControllerDelayed','Preview\x20final\x20content','keys','init','destroy','size','getMarkerNames','commands','editing','stopListening','hasSuggestion','comments.maxThreadTotalWeight','comments.maxCommentsWhenCollapsed','suggestionChanged','trackChangesLicenseKeyValid','switchbutton','isPremiumPlugin','discardSelectedSuggestions','CommentsUI','head','_showLicenseError','commentsListView','_handleControllerBuffer','escape','discardAllSuggestions','TrackChangesEditing','getAnnotationForSuggestion','451930dHuIRf','set','suggestionUnloaded','clear','CommentsRepository','_viewToController','TrackChangesPreview','comments.maxCommentCharsWhenCollapsed','suggestionView','value','getMarkers','panelView','trackChanges.SuggestionThreadView','define'];_0x5dc7=function(){return _0x5a7b81;};return _0x5dc7();}import{Collection as _0xac378b}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x212004}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x476bf1,createDropdown as _0x142135,ListSeparatorView as _0x50ece6,MenuBarMenuView as _0x12b5cd,MenuBarMenuListView as _0x16f344,MenuBarMenuListItemView as _0x3c0137,MenuBarMenuListItemButtonView as _0x38731b,SplitButtonView as _0x3b1c6e,UIModel as _0x49c412}from'ckeditor5/src/ui.js';import{Users as _0x4030f7,getDateTimeFormatter as _0x349650,getAllMarkersDomElementsSorted as _0x1a1668}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5e93a3}from'./trackchangesediting.js';function _0x190b(_0x508648,_0x1f12d6){const _0x5dc740=_0x5dc7();return _0x190b=function(_0x190bba,_0x33a457){_0x190bba=_0x190bba-0x1e2;let _0x19a169=_0x5dc740[_0x190bba];return _0x19a169;},_0x190b(_0x508648,_0x1f12d6);}import{SuggestionController as _0x4798e6}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x3ded85}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x57b456}from'./ui/view/suggestionview.js';import{getTranslation as _0x23e696}from'./utils/common-translations.js';export class TrackChangesUI extends _0x74c2dd{[_0x6b09bc(0x293)];[_0x6b09bc(0x28b)];[_0x6b09bc(0x254)];[_0x6b09bc(0x223)];[_0x6b09bc(0x202)];[_0x6b09bc(0x219)];[_0x6b09bc(0x1ef)];static get[_0x6b09bc(0x237)](){const _0x1a6526=_0x6b09bc;return[_0x5e93a3,_0x4030f7,_0x1a6526(0x222),_0x1a6526(0x274),_0x1a6526(0x24b)];}static get[_0x6b09bc(0x282)](){const _0x5be94f=_0x6b09bc;return _0x5be94f(0x288);}static get[_0x6b09bc(0x1f5)](){return!0x0;}static get[_0x6b09bc(0x213)](){return!0x0;}constructor(_0x58fa9d){const _0x4ac982=_0x6b09bc;super(_0x58fa9d),this[_0x4ac982(0x254)]=new Map(),this[_0x4ac982(0x223)]=new Map(),this[_0x4ac982(0x202)]=new Map(),this[_0x4ac982(0x219)]=new Map();const _0x183266=this[_0x4ac982(0x1e5)][_0x4ac982(0x1e7)];_0x183266[_0x4ac982(0x22b)](_0x4ac982(0x22a),_0x3ded85),_0x183266[_0x4ac982(0x22b)](_0x4ac982(0x28c),_0x57b456),_0x183266[_0x4ac982(0x22b)](_0x4ac982(0x235),!0x1),this[_0x4ac982(0x1ef)]=_0x183266[_0x4ac982(0x280)](_0x4ac982(0x235));}[_0x6b09bc(0x203)](_0x1dc6f0,_0x289b35){const _0x46a9e9=_0x6b09bc;0x0===this[_0x46a9e9(0x219)][_0x46a9e9(0x208)]&&setTimeout(()=>{const _0x1af595=_0x46a9e9;for(const [_0x9e6374,_0x14def8]of this[_0x1af595(0x219)]){const _0x1d99f5=this[_0x1af595(0x254)][_0x1af595(0x1ff)](_0x9e6374);_0x1d99f5||_0x14def8?_0x1d99f5&&_0x14def8&&this[_0x1af595(0x1ea)](_0x9e6374):this[_0x1af595(0x251)](_0x9e6374);}this[_0x1af595(0x219)][_0x1af595(0x221)](),this[_0x1af595(0x1e5)][_0x1af595(0x238)][_0x1af595(0x280)](_0x1af595(0x24b))[_0x1af595(0x27d)](),this[_0x1af595(0x255)]();},0xa),this[_0x46a9e9(0x219)][_0x46a9e9(0x21f)](_0x1dc6f0,_0x289b35);}[_0x6b09bc(0x206)](){const _0x312263=_0x6b09bc,_0x3210cd=this[_0x312263(0x1e5)],_0x47ea2f=_0x3210cd[_0x312263(0x238)][_0x312263(0x280)](_0x312263(0x21c)),_0x43e67f=_0x3210cd[_0x312263(0x238)][_0x312263(0x280)](_0x312263(0x274)),_0x2f2084=_0x3210cd[_0x312263(0x238)][_0x312263(0x280)](_0x312263(0x24b)),_0x2ccfda=_0x3210cd[_0x312263(0x238)][_0x312263(0x280)](_0x312263(0x222));this[_0x312263(0x1f7)](),_0x2f2084[_0x312263(0x246)](()=>{const _0x4b6575=_0x312263,_0x30017d=[];for(const [_0x31fc89,_0x36c839]of Array[_0x4b6575(0x273)](this[_0x4b6575(0x254)])){const _0x413b78=_0x31fc89[_0x4b6575(0x1e4)](),_0x3a4198=[];for(const _0x3f4b14 of _0x413b78){if(!_0x3f4b14[_0x4b6575(0x22c)])continue;if(_0x3f4b14[_0x4b6575(0x275)]){_0x3a4198[_0x4b6575(0x27c)](..._0x3f4b14[_0x4b6575(0x232)]());continue;}const _0x2e793b=_0x3f4b14[_0x4b6575(0x259)]();if(_0x3a4198[_0x4b6575(0x292)]>0x0){const _0x229219=_0x3a4198[0x0][_0x4b6575(0x26f)](_0x2e793b);if(_0x229219){_0x3a4198[0x0]=_0x229219;continue;}}_0x3a4198[_0x4b6575(0x27c)](_0x2e793b);}_0x30017d[_0x4b6575(0x27c)]([_0x36c839[_0x4b6575(0x26e)],_0x3a4198]);}return _0x30017d;}),this[_0x312263(0x23b)](_0x47ea2f,_0x312263(0x245),(_0x4377db,_0x446f38)=>{const _0xbe6b0a=_0x312263;this[_0xbe6b0a(0x23b)](_0x446f38,_0xbe6b0a(0x200),(_0x503784,_0x12c197,_0x36d4ae,_0x165935)=>{const _0xdd94be=_0xbe6b0a;_0x446f38[_0xdd94be(0x22c)]&&(null==_0x36d4ae?(this[_0xdd94be(0x261)](_0x165935[_0xdd94be(0x216)]),this[_0xdd94be(0x203)](_0x446f38,!0x1)):(this[_0xdd94be(0x261)](_0x36d4ae[_0xdd94be(0x216)]),null==_0x165935&&this[_0xdd94be(0x203)](_0x446f38,!0x0)));}),null!==_0x446f38[_0xbe6b0a(0x243)]?this[_0xbe6b0a(0x261)](_0x446f38[_0xbe6b0a(0x216)]):this[_0xbe6b0a(0x203)](_0x446f38,!0x1);}),this[_0x312263(0x23b)](_0x47ea2f,_0x312263(0x220),(_0x4c51f1,_0x5b410b,_0x3c1af5)=>{const _0x458f3c=_0x312263;this[_0x458f3c(0x20c)](_0x5b410b,_0x458f3c(0x200)),this[_0x458f3c(0x219)][_0x458f3c(0x283)](_0x5b410b),this[_0x458f3c(0x254)][_0x458f3c(0x1ff)](_0x5b410b)&&this[_0x458f3c(0x1ea)](_0x5b410b),_0x3c1af5&&this[_0x458f3c(0x261)](_0x3c1af5[_0x458f3c(0x216)]);}),this[_0x312263(0x23b)](_0x47ea2f,_0x312263(0x210),(_0xa1b4d5,_0x446133)=>{const _0x203ccb=_0x312263;this[_0x203ccb(0x261)](_0x446133);}),this[_0x312263(0x23b)](_0x43e67f,_0x312263(0x1ec),()=>{const _0x103056=_0x312263;this[_0x103056(0x255)]();}),this[_0x312263(0x23b)](_0x2ccfda,_0x312263(0x231),(_0x4af7a0,{threadId:_0x46d962,isFromAdapter:_0x194326})=>{const _0x371328=_0x312263;if(_0x194326||!_0x47ea2f[_0x371328(0x20d)](_0x46d962))return;const _0x2a888b=_0x47ea2f[_0x371328(0x22e)](_0x46d962);this[_0x371328(0x254)][_0x371328(0x280)](_0x2a888b)[_0x371328(0x26e)][_0x371328(0x218)][_0x371328(0x23d)](-0x1);},{'priority':_0x312263(0x28d)}),this[_0x312263(0x293)]=this[_0x312263(0x1e5)][_0x312263(0x1e7)][_0x312263(0x280)](_0x312263(0x293));const _0x3088fb=this[_0x312263(0x1e5)];this[_0x312263(0x28b)]=setInterval(()=>{const _0x41f5ad=_0x312263;let _0x349294;for(const _0x2d5247 in _0x3088fb){const _0x1c0c6e=_0x2d5247,_0x47e44a=_0x3088fb[_0x1c0c6e];if(_0x41f5ad(0x211)==_0x47e44a||_0x41f5ad(0x28f)==_0x47e44a||_0x41f5ad(0x252)==_0x47e44a||_0x41f5ad(0x279)==_0x47e44a||_0x41f5ad(0x24c)==_0x47e44a||_0x41f5ad(0x263)==_0x47e44a||_0x41f5ad(0x24d)==_0x47e44a||_0x41f5ad(0x1e3)==_0x47e44a){delete _0x3088fb[_0x1c0c6e],_0x349294=_0x47e44a,clearInterval(this[_0x41f5ad(0x28b)]),this[_0x41f5ad(0x28b)]=void 0x0;break;}}_0x41f5ad(0x28f)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x23e)),_0x41f5ad(0x252)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x290)),_0x41f5ad(0x279)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x268)),_0x41f5ad(0x24c)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x234),_0x41f5ad(0x285)),_0x41f5ad(0x263)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x24e)),_0x41f5ad(0x24d)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x289)),_0x41f5ad(0x1e3)==_0x349294&&_0x3088fb[_0x41f5ad(0x217)](_0x41f5ad(0x22f));},0x3e8);}[_0x6b09bc(0x21d)](_0x3464de){const _0xdbce45=_0x6b09bc,_0x5028e6=this[_0xdbce45(0x254)][_0xdbce45(0x280)](_0x3464de);if(!_0x5028e6)return null;return this[_0xdbce45(0x1e5)][_0xdbce45(0x238)][_0xdbce45(0x280)](_0xdbce45(0x274))[_0xdbce45(0x1e6)](_0x5028e6[_0xdbce45(0x26e)])||null;}[_0x6b09bc(0x1fc)](_0x3624e4){const _0x312287=_0x6b09bc,_0x17d83c=this[_0x312287(0x223)][_0x312287(0x280)](_0x3624e4[_0x312287(0x256)]);return _0x17d83c?_0x17d83c[_0x312287(0x294)]:null;}[_0x6b09bc(0x255)](){const _0x463e6b=_0x6b09bc,_0x477844=this[_0x463e6b(0x1e5)][_0x463e6b(0x238)][_0x463e6b(0x280)](_0x463e6b(0x274)),_0x19912d=this[_0x463e6b(0x1e5)][_0x463e6b(0x238)][_0x463e6b(0x280)](_0x463e6b(0x21c)),_0x38d6c8=Array[_0x463e6b(0x273)](_0x477844[_0x463e6b(0x1f9)],_0x54aad5=>_0x54aad5[_0x463e6b(0x256)])[_0x463e6b(0x1f2)](_0x3ea18d=>this[_0x463e6b(0x223)][_0x463e6b(0x1ff)](_0x3ea18d)),_0x4f5abc=[];for(const _0x349154 of _0x38d6c8){const _0x53b851=this[_0x463e6b(0x223)][_0x463e6b(0x280)](_0x349154)[_0x463e6b(0x294)][_0x463e6b(0x1e4)]();_0x4f5abc[_0x463e6b(0x27c)](..._0x53b851[_0x463e6b(0x281)]((_0x3ee95f,_0x5ca6ae)=>[..._0x3ee95f,..._0x5ca6ae[_0x463e6b(0x209)]()],[]));}_0x19912d[_0x463e6b(0x26d)]=_0x4f5abc;}[_0x6b09bc(0x1f7)](){const _0x56142e=_0x6b09bc,_0x448926=this[_0x56142e(0x1e5)],_0x4acafa=_0x448926[_0x56142e(0x27f)],_0x3c9ba3=_0x23e696(_0x4acafa,_0x56142e(0x278)),_0x338098=new _0xac378b([{'type':_0x56142e(0x212),'model':new _0x49c412({'withText':!0x0,'isToggleable':!0x0,'label':_0x3c9ba3,'commandName':_0x56142e(0x236),'role':_0x56142e(0x27b)})},{'type':_0x56142e(0x253)},{'type':_0x56142e(0x1f4),'model':new _0x49c412({'withText':!0x0,'label':_0x23e696(_0x4acafa,_0x56142e(0x25b)),'commandName':_0x56142e(0x27a),'role':_0x56142e(0x264)})},{'type':_0x56142e(0x1f4),'model':new _0x49c412({'withText':!0x0,'label':_0x23e696(_0x4acafa,_0x56142e(0x23c)),'commandName':_0x56142e(0x28e),'role':_0x56142e(0x264)})},{'type':_0x56142e(0x1f4),'model':new _0x49c412({'withText':!0x0,'label':_0x23e696(_0x4acafa,_0x56142e(0x277)),'commandName':_0x56142e(0x21b),'role':_0x56142e(0x264)})},{'type':_0x56142e(0x1f4),'model':new _0x49c412({'withText':!0x0,'label':_0x23e696(_0x4acafa,_0x56142e(0x262)),'commandName':_0x56142e(0x214),'role':_0x56142e(0x264)})}]);_0x448926[_0x56142e(0x238)][_0x56142e(0x1ff)](_0x56142e(0x224))&&_0x338098[_0x56142e(0x22d)]([{'type':_0x56142e(0x253)},{'type':_0x56142e(0x1f4),'model':new _0x49c412({'withText':!0x0,'label':_0x23e696(_0x4acafa,_0x56142e(0x204)),'commandName':_0x56142e(0x27e),'role':_0x56142e(0x264)})}]);for(const _0xd37e18 of _0x338098)if(ve(_0xd37e18)){const _0x210af3=_0x448926[_0x56142e(0x20a)][_0x56142e(0x280)](_0xd37e18[_0x56142e(0x294)][_0x56142e(0x1fa)]);_0xd37e18[_0x56142e(0x294)][_0x56142e(0x25f)](_0x56142e(0x247),_0x56142e(0x287))['to'](_0x210af3,_0x56142e(0x227),_0x56142e(0x287));}_0x448926['ui'][_0x56142e(0x266)][_0x56142e(0x257)](_0x56142e(0x236),_0x5835e3=>this[_0x56142e(0x230)](_0x5835e3,_0x338098,_0x3c9ba3)),_0x448926['ui'][_0x56142e(0x266)][_0x56142e(0x257)](_0x56142e(0x250),_0x6cddaf=>this[_0x56142e(0x1eb)](_0x6cddaf,_0x338098,_0x3c9ba3));}[_0x6b09bc(0x230)](_0x8cff2f,_0x55daf0,_0x7eab4a){const _0x2f9a11=_0x6b09bc,_0x38688d=_0x142135(_0x8cff2f,_0x3b1c6e),_0x5b7e7f=this[_0x2f9a11(0x1e5)][_0x2f9a11(0x20a)][_0x2f9a11(0x280)](_0x2f9a11(0x236));_0x38688d[_0x2f9a11(0x260)][_0x2f9a11(0x21f)]({'tooltip':_0x7eab4a,'label':_0x7eab4a,'icon':_0x212004}),_0x38688d[_0x2f9a11(0x260)][_0x2f9a11(0x25f)](_0x2f9a11(0x247))['to'](_0x5b7e7f,_0x2f9a11(0x227)),_0x38688d[_0x2f9a11(0x260)]['on'](_0x2f9a11(0x1ed),()=>{const _0x2acfce=_0x2f9a11;_0x5b7e7f[_0x2acfce(0x1ed)](),this[_0x2acfce(0x1e5)][_0x2acfce(0x20b)][_0x2acfce(0x26e)][_0x2acfce(0x23d)]();}),_0x476bf1(_0x38688d,_0x55daf0,{'role':_0x2f9a11(0x1e8)});const _0x519478=[];for(const _0x5a02c1 of _0x55daf0)ve(_0x5a02c1)&&_0x519478[_0x2f9a11(0x27c)](this[_0x2f9a11(0x1e5)][_0x2f9a11(0x20a)][_0x2f9a11(0x280)](_0x5a02c1[_0x2f9a11(0x294)][_0x2f9a11(0x1fa)]));const _0x5015db=_0x38688d[_0x2f9a11(0x260)];return _0x5015db[_0x2f9a11(0x295)][_0x2f9a11(0x1f0)](_0x2f9a11(0x287)),_0x5015db[_0x2f9a11(0x25a)][_0x2f9a11(0x1f0)](_0x2f9a11(0x287)),_0x5015db[_0x2f9a11(0x295)][_0x2f9a11(0x25f)](_0x2f9a11(0x287))['to'](_0x5b7e7f,_0x2f9a11(0x287)),_0x5015db[_0x2f9a11(0x25a)][_0x2f9a11(0x25f)](_0x2f9a11(0x287))[_0x2f9a11(0x233)](_0x519478,_0x2f9a11(0x287),(..._0x13466f)=>_0x13466f[_0x2f9a11(0x241)](_0x2890fb=>_0x2890fb)),_0x38688d['on'](_0x2f9a11(0x1ed),_0x50effd=>{const _0x4e7140=_0x2f9a11;this[_0x4e7140(0x1e5)][_0x4e7140(0x1ed)](_0x50effd[_0x4e7140(0x23a)][_0x4e7140(0x1fa)]),this[_0x4e7140(0x1e5)][_0x4e7140(0x20b)][_0x4e7140(0x26e)][_0x4e7140(0x23d)]();}),_0x38688d;}[_0x6b09bc(0x1eb)](_0xb5f3d2,_0x4b8278,_0x624c13){const _0x660beb=_0x6b09bc,_0x37265b=new _0x12b5cd(_0xb5f3d2),_0x11d444=this[_0x660beb(0x1e5)][_0x660beb(0x20a)][_0x660beb(0x280)](_0x660beb(0x236));_0x37265b[_0x660beb(0x260)][_0x660beb(0x21f)]({'label':_0x624c13,'icon':_0x212004});const _0x3b8793=new _0x16f344(_0xb5f3d2);for(const _0xda8abb of _0x4b8278){if(_0x660beb(0x253)==_0xda8abb[_0x660beb(0x23f)]){_0x3b8793[_0x660beb(0x1f8)][_0x660beb(0x257)](new _0x50ece6(_0xb5f3d2));continue;}const _0x181217=new _0x3c0137(_0xb5f3d2,_0x37265b),_0x3106ab=new _0x38731b(_0xb5f3d2),_0x200ff9=_0xda8abb[_0x660beb(0x294)];_0x3106ab[_0x660beb(0x25f)](...Object[_0x660beb(0x205)](_0x200ff9))['to'](_0x200ff9),_0x3106ab[_0x660beb(0x1f3)](_0x660beb(0x1ed))['to'](_0x37265b),_0x3106ab['on'](_0x660beb(0x1ed),()=>{const _0xa4e9c4=_0x660beb;this[_0xa4e9c4(0x1e5)][_0xa4e9c4(0x1ed)](_0x200ff9[_0xa4e9c4(0x1fa)]),this[_0xa4e9c4(0x1e5)][_0xa4e9c4(0x20b)][_0xa4e9c4(0x26e)][_0xa4e9c4(0x23d)]();}),_0x181217[_0x660beb(0x24a)][_0x660beb(0x257)](_0x3106ab),_0x3b8793[_0x660beb(0x1f8)][_0x660beb(0x257)](_0x181217);}return _0x37265b[_0x660beb(0x25f)](_0x660beb(0x287))['to'](_0x11d444,_0x660beb(0x287)),_0x37265b[_0x660beb(0x229)][_0x660beb(0x24a)][_0x660beb(0x257)](_0x3b8793),_0x37265b;}[_0x6b09bc(0x251)](_0x146363){const _0x1544f3=_0x6b09bc,_0x3cfe00=this[_0x1544f3(0x1e5)],_0x5086dd=_0x3cfe00[_0x1544f3(0x1e7)],_0x3a300f=_0x3cfe00[_0x1544f3(0x238)][_0x1544f3(0x280)](_0x1544f3(0x274)),_0x3923be=_0x3cfe00[_0x1544f3(0x238)][_0x1544f3(0x280)](_0x1544f3(0x222)),_0x43c641=_0x3cfe00[_0x1544f3(0x238)][_0x1544f3(0x280)](_0x1544f3(0x24b)),_0x29c888=_0x3cfe00[_0x1544f3(0x238)][_0x1544f3(0x280)](_0x4030f7)['me'],_0x5c72c3=_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x236))[_0x1544f3(0x249)],_0x532327=_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x236))[_0x1544f3(0x269)],{CommentsListView:_0x103f5a,CommentThreadInputView:_0x89e58b}=_0x3cfe00[_0x1544f3(0x238)][_0x1544f3(0x280)](_0x1544f3(0x215));let _0x16638a,_0x20b3ac,_0x31a57f;this[_0x1544f3(0x202)][_0x1544f3(0x1ff)](_0x146363['id'])?(_0x20b3ac=this[_0x1544f3(0x202)][_0x1544f3(0x280)](_0x146363['id']),_0x16638a=_0x20b3ac[_0x1544f3(0x25d)]):(_0x16638a=new _0x5c72c3(_0x3cfe00[_0x1544f3(0x27f)],_0x146363,_0x29c888,{'disableComments':this[_0x1544f3(0x1ef)],'editorConfig':{..._0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x25c)),'licenseKey':_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x293))},'maxCommentsWhenCollapsed':_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x20f)),'maxThreadTotalWeight':_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x20e)),'maxCommentCharsWhenCollapsed':_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x225)),'formatDateTime':_0x349650(_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x27f)),_0x3cfe00[_0x1544f3(0x27f)]),'CommentView':_0x5086dd[_0x1544f3(0x280)](_0x1544f3(0x284))[_0x1544f3(0x1fb)],'CommentsListView':_0x103f5a,'CommentThreadInputView':_0x89e58b,'SuggestionView':_0x532327}),_0x16638a[_0x1544f3(0x226)][_0x1544f3(0x24f)]['on'](_0x1544f3(0x1ed),()=>{const _0x190496=_0x1544f3;_0x3cfe00[_0x190496(0x20b)][_0x190496(0x26e)][_0x190496(0x23d)]();}),_0x16638a[_0x1544f3(0x226)][_0x1544f3(0x1e2)]['on'](_0x1544f3(0x1ed),()=>{const _0x429e00=_0x1544f3;_0x3cfe00[_0x429e00(0x20b)][_0x429e00(0x26e)][_0x429e00(0x23d)]();}),_0x20b3ac=_0x3a300f[_0x1544f3(0x1f6)](this[_0x1544f3(0x1e5)][_0x1544f3(0x27f)],_0x16638a),_0x20b3ac[_0x1544f3(0x25f)](_0x1544f3(0x1fd))['to'](_0x16638a,_0x1544f3(0x1fd)),_0x20b3ac[_0x1544f3(0x25f)](_0x1544f3(0x292))['to'](_0x16638a),_0x20b3ac[_0x1544f3(0x25f)](_0x1544f3(0x23f))['to'](_0x16638a,_0x1544f3(0x23f),_0xeafd2e=>_0x1544f3(0x1f1)+_0xeafd2e),_0x16638a['on'](_0x1544f3(0x21a),()=>{const _0x4121d8=_0x1544f3;_0x31a57f[_0x4121d8(0x28a)](_0x4121d8(0x21a));}),this[_0x1544f3(0x202)][_0x1544f3(0x21f)](_0x146363['id'],_0x20b3ac));const _0x43bd76=_0x3923be[_0x1544f3(0x239)](_0x146363[_0x1544f3(0x26c)],_0x16638a),_0x55c764=new _0x4798e6(_0x3cfe00,_0x146363,_0x16638a,_0x43bd76),_0x2f8a30=_0x146363[_0x1544f3(0x1e4)]()[_0x1544f3(0x1f2)](_0x638428=>_0x638428[_0x1544f3(0x22c)]);_0x16638a[_0x1544f3(0x240)]=_0x3cfe00[_0x1544f3(0x238)][_0x1544f3(0x280)](_0x1544f3(0x21c))[_0x1544f3(0x286)][_0x1544f3(0x1fe)](_0x2f8a30),this[_0x1544f3(0x254)][_0x1544f3(0x21f)](_0x146363,_0x55c764),this[_0x1544f3(0x223)][_0x1544f3(0x21f)](_0x16638a,_0x55c764);const _0x440d2e=()=>{const _0x5c762b=_0x1544f3,_0x329580=[],_0x21cda7=_0x146363[_0x5c762b(0x1e4)]()[_0x5c762b(0x1f2)](_0x3cedfc=>_0x3cedfc[_0x5c762b(0x22c)]);for(const _0x29ab6a of _0x21cda7)_0x329580[_0x5c762b(0x27c)](..._0x29ab6a[_0x5c762b(0x228)]());return _0x1a1668(_0x3cfe00[_0x5c762b(0x20b)],_0x329580);};_0x31a57f=_0x3a300f[_0x1544f3(0x248)]({'view':_0x20b3ac,'target':_0x440d2e,'type':()=>_0x1544f3(0x1f1)+_0x55c764[_0x1544f3(0x26e)][_0x1544f3(0x23f)],'isVisible':!!_0x440d2e()}),_0x3923be[_0x1544f3(0x201)](_0x16638a,_0x31a57f),_0x3a300f[_0x1544f3(0x257)](_0x31a57f),_0x43c641[_0x1544f3(0x1e9)](_0x31a57f);}[_0x6b09bc(0x1ea)](_0x117d65){const _0x447484=_0x6b09bc,_0x5b68fe=this[_0x447484(0x1e5)][_0x447484(0x238)][_0x447484(0x280)](_0x447484(0x222)),_0x2368f0=this[_0x447484(0x1e5)][_0x447484(0x238)][_0x447484(0x280)](_0x447484(0x274)),_0x5bf2a6=this[_0x447484(0x254)][_0x447484(0x280)](_0x117d65),_0x4b9e99=_0x5bf2a6[_0x447484(0x26e)],_0x43d1cc=_0x2368f0[_0x447484(0x1e6)](_0x4b9e99);_0x5b68fe[_0x447484(0x291)](_0x4b9e99),_0x43d1cc&&_0x2368f0[_0x447484(0x25e)](_0x43d1cc),this[_0x447484(0x254)][_0x447484(0x283)](_0x117d65),this[_0x447484(0x223)][_0x447484(0x283)](_0x4b9e99),_0x5bf2a6[_0x447484(0x207)]();}[_0x6b09bc(0x261)](_0x2960f6){const _0x52e3ec=_0x6b09bc;if(!_0x2960f6[_0x52e3ec(0x22c)]||!this[_0x52e3ec(0x254)][_0x52e3ec(0x1ff)](_0x2960f6))return;const _0x49686c=this[_0x52e3ec(0x1e5)][_0x52e3ec(0x238)][_0x52e3ec(0x280)](_0x52e3ec(0x21c)),_0x34d596=this[_0x52e3ec(0x254)][_0x52e3ec(0x280)](_0x2960f6),_0x380ca3=_0x2960f6[_0x52e3ec(0x1e4)]();_0x34d596[_0x52e3ec(0x26e)][_0x52e3ec(0x240)]=_0x49686c[_0x52e3ec(0x286)][_0x52e3ec(0x1fe)](_0x380ca3);}[_0x6b09bc(0x207)](){const _0x39eb4c=_0x6b09bc;for(const _0xd2fa1e of this[_0x39eb4c(0x254)][_0x39eb4c(0x205)]())this[_0x39eb4c(0x1ea)](_0xd2fa1e);for(const _0x205828 of this[_0x39eb4c(0x202)][_0x39eb4c(0x244)]())_0x205828[_0x39eb4c(0x25d)][_0x39eb4c(0x207)]();super[_0x39eb4c(0x207)](),this[_0x39eb4c(0x28b)]&&clearInterval(this[_0x39eb4c(0x28b)]);}}function ve(_0x460b4b){const _0x41cb44=_0x6b09bc;return _0x41cb44(0x294)in _0x460b4b;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x46a0(_0x173087,_0x276b53){const _0x1c2819=_0x1c28();return _0x46a0=function(_0x46a0ed,_0x36cf29){_0x46a0ed=_0x46a0ed-0x1ed;let _0x5ee25a=_0x1c2819[_0x46a0ed];return _0x5ee25a;},_0x46a0(_0x173087,_0x276b53);}const _0x2667a9=_0x46a0;function _0x1c28(){const _0x21548d=['bind','acceptSuggestion','34633220QSCEiZ','_pendingAction','commentThreadController','PendingActions','remove','36522MUiSMz','isDirty','getRanges','3195524cqASUQ','2610423UpTUrc','change:isDirty','destroy','1135606bUixkg','unbind','execute','9XxPghe','canDiscard','add','_editor','listenTo','_discardCommand','PENDING_ACTION_SUGGESTION','_removePendingAction','canAccept','discardSuggestion','view','canEditAt','stopListening','_acceptCommand','_setPendingAction','plugins','1113Bceewz','isEnabled','locale','commands','2DdftWo','get','4633395hbLNqT','5330888fcDpgK','model'];_0x1c28=function(){return _0x21548d;};return _0x1c28();}(function(_0x28a9ce,_0x176e0c){const _0x39aaac=_0x46a0,_0xe3691d=_0x28a9ce();while(!![]){try{const _0x5dc555=-parseInt(_0x39aaac(0x216))/0x1*(-parseInt(_0x39aaac(0x203))/0x2)+parseInt(_0x39aaac(0x213))/0x3+parseInt(_0x39aaac(0x212))/0x4+parseInt(_0x39aaac(0x205))/0x5+-parseInt(_0x39aaac(0x20f))/0x6*(-parseInt(_0x39aaac(0x1ff))/0x7)+-parseInt(_0x39aaac(0x206))/0x8*(parseInt(_0x39aaac(0x1ef))/0x9)+-parseInt(_0x39aaac(0x20a))/0xa;if(_0x5dc555===_0x176e0c)break;else _0xe3691d['push'](_0xe3691d['shift']());}catch(_0x37f8bb){_0xe3691d['push'](_0xe3691d['shift']());}}}(_0x1c28,0x8b071));import{ObservableMixin as _0x1d722d}from'ckeditor5/src/utils.js';import{getTranslation as _0x4482e3}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d722d(){[_0x2667a9(0x207)];[_0x2667a9(0x1f9)];[_0x2667a9(0x20c)];[_0x2667a9(0x1f2)];[_0x2667a9(0x1fc)];[_0x2667a9(0x1f4)];[_0x2667a9(0x20b)];constructor(_0x4dac6f,_0x584328,_0x5f5c21,_0x3251aa){const _0x3fc0aa=_0x2667a9;super(),this[_0x3fc0aa(0x207)]=_0x584328,this[_0x3fc0aa(0x1f9)]=_0x5f5c21,this[_0x3fc0aa(0x20c)]=_0x3251aa,this[_0x3fc0aa(0x1f2)]=_0x4dac6f,this[_0x3fc0aa(0x1fc)]=_0x4dac6f[_0x3fc0aa(0x202)][_0x3fc0aa(0x204)](_0x3fc0aa(0x209)),this[_0x3fc0aa(0x1f4)]=_0x4dac6f[_0x3fc0aa(0x202)][_0x3fc0aa(0x204)](_0x3fc0aa(0x1f8)),this[_0x3fc0aa(0x1f9)][_0x3fc0aa(0x208)](_0x3fc0aa(0x200))['to'](this[_0x3fc0aa(0x1fc)],this[_0x3fc0aa(0x1f4)],(_0x59a7dc,_0x53f37b)=>_0x59a7dc||_0x53f37b),this[_0x3fc0aa(0x1f9)][_0x3fc0aa(0x208)](_0x3fc0aa(0x1f7))['to'](this[_0x3fc0aa(0x1fc)],_0x3fc0aa(0x200),_0xf366d0=>_0xf366d0&&this[_0x3fc0aa(0x1f2)][_0x3fc0aa(0x207)][_0x3fc0aa(0x1fa)](_0x584328[_0x3fc0aa(0x211)]())),this[_0x3fc0aa(0x1f9)][_0x3fc0aa(0x208)](_0x3fc0aa(0x1f0))['to'](this[_0x3fc0aa(0x1f4)],_0x3fc0aa(0x200),_0xb8841f=>_0xb8841f&&this[_0x3fc0aa(0x1f2)][_0x3fc0aa(0x207)][_0x3fc0aa(0x1fa)](_0x584328[_0x3fc0aa(0x211)]())),this[_0x3fc0aa(0x20b)]=null,_0x5f5c21[_0x3fc0aa(0x210)]&&this[_0x3fc0aa(0x1fd)](),this[_0x3fc0aa(0x1f3)](_0x5f5c21,_0x3fc0aa(0x209),()=>this[_0x3fc0aa(0x209)]()),this[_0x3fc0aa(0x1f3)](_0x5f5c21,_0x3fc0aa(0x1f8),()=>this[_0x3fc0aa(0x1f8)]()),this[_0x3fc0aa(0x1f3)](_0x5f5c21,_0x3fc0aa(0x214),()=>{const _0x408952=_0x3fc0aa;_0x5f5c21[_0x408952(0x210)]?this[_0x408952(0x1fd)]():this[_0x408952(0x1f6)]();});}[_0x2667a9(0x209)](){const _0x3665cb=_0x2667a9;this[_0x3665cb(0x1fc)][_0x3665cb(0x1ee)](this[_0x3665cb(0x207)]['id']);}[_0x2667a9(0x1f8)](){const _0x459dca=_0x2667a9;this[_0x459dca(0x1f4)][_0x459dca(0x1ee)](this[_0x459dca(0x207)]['id']);}[_0x2667a9(0x215)](){const _0x1c696d=_0x2667a9;this[_0x1c696d(0x1f9)][_0x1c696d(0x1ed)](_0x1c696d(0x200)),this[_0x1c696d(0x1f9)][_0x1c696d(0x1ed)](_0x1c696d(0x1f7)),this[_0x1c696d(0x1f9)][_0x1c696d(0x1ed)](_0x1c696d(0x1f0)),this[_0x1c696d(0x1fb)](),this[_0x1c696d(0x20c)][_0x1c696d(0x215)](),this[_0x1c696d(0x20b)]&&this[_0x1c696d(0x1f6)]();}[_0x2667a9(0x1fd)](){const _0x155e1c=_0x2667a9,_0x52ee40=_0x4482e3(this[_0x155e1c(0x1f2)][_0x155e1c(0x201)],_0x155e1c(0x1f5));this[_0x155e1c(0x20b)]=this[_0x155e1c(0x1f2)][_0x155e1c(0x1fe)][_0x155e1c(0x204)](_0x155e1c(0x20d))[_0x155e1c(0x1f1)](_0x52ee40);}[_0x2667a9(0x1f6)](){const _0x4bc2da=_0x2667a9;null!==this[_0x4bc2da(0x20b)]&&this[_0x4bc2da(0x1f2)][_0x4bc2da(0x1fe)][_0x4bc2da(0x204)](_0x4bc2da(0x20d))[_0x4bc2da(0x20e)](this[_0x4bc2da(0x20b)]),this[_0x4bc2da(0x20b)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f5ff1=_0x3e39;function _0x6b72(){const _0x24995c=['_localUser','canAccept','isActive','submit','showInput','SUGGESTION_THREAD_ARIA_LABEL','commentThreadInputView','canDiscard','isEnabled','content','_config','body','editorConfig','set','delegate','target','_createCommentThreadInputView','ariaLabel','tab','1783934wEORtF','hasDirtyComment','bind','name','disabledSubmit','focusCycler','126oWTaxm','authoredAt','233485LwJzfN','map','892694eDBGhm','1hikuoT','_model','focus','keystrokes','destroy','addComment','7831386cDKEaG','value','text/html','join','render','cancel','updateComment','_createCommentViews','parseFromString','formatDateTime','editor','shift+tab','focusTracker','removeComment','disableComments','commentThread','assign','isDirty','textContent','3984564utIazE','commentsListView','element','CommentView','ariaDescriptionView','author','fire','7TgakAE','commentInputView','focusables','4551344wmTYEn','locale','37176jNtRrF','isReadOnly','SUGGESTION_THREAD_DESCRIPTION','setData','length','descriptionParts','10srUeKR'];_0x6b72=function(){return _0x24995c;};return _0x6b72();}(function(_0x17d8d3,_0x5ec5a){const _0x3bf623=_0x3e39,_0x3f7265=_0x17d8d3();while(!![]){try{const _0x56ada6=parseInt(_0x3bf623(0x19b))/0x1*(parseInt(_0x3bf623(0x190))/0x2)+parseInt(_0x3bf623(0x196))/0x3*(parseInt(_0x3bf623(0x176))/0x4)+parseInt(_0x3bf623(0x198))/0x5+parseInt(_0x3bf623(0x16a))/0x6*(parseInt(_0x3bf623(0x171))/0x7)+-parseInt(_0x3bf623(0x174))/0x8+-parseInt(_0x3bf623(0x1a1))/0x9+parseInt(_0x3bf623(0x17c))/0xa*(-parseInt(_0x3bf623(0x19a))/0xb);if(_0x56ada6===_0x5ec5a)break;else _0x3f7265['push'](_0x3f7265['shift']());}catch(_0xcb948e){_0x3f7265['push'](_0x3f7265['shift']());}}}(_0x6b72,0x73730));import{FocusCycler as _0x4f42d4,View as _0xba729c,ViewCollection as _0x596e04}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5ce451,KeystrokeHandler as _0x505419}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x379e97,setupThreadKeyboardNavigation as _0x5c6c2c}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x349706}from'../../utils/common-translations.js';import{renderDescription as _0x47e263}from'../../utils/utils.js';function _0x3e39(_0x98cadc,_0x52386e){const _0x6b72a1=_0x6b72();return _0x3e39=function(_0x3e3956,_0x2c167c){_0x3e3956=_0x3e3956-0x167;let _0x245139=_0x6b72a1[_0x3e3956];return _0x245139;},_0x3e39(_0x98cadc,_0x52386e);}export class BaseSuggestionThreadView extends _0xba729c{[_0x3f5ff1(0x16b)];[_0x3f5ff1(0x183)];[_0x3f5ff1(0x16e)];[_0x3f5ff1(0x173)];[_0x3f5ff1(0x1ad)];[_0x3f5ff1(0x19e)];[_0x3f5ff1(0x195)];[_0x3f5ff1(0x19c)];[_0x3f5ff1(0x17d)];[_0x3f5ff1(0x187)];constructor(_0x2ff784,_0x6e6985,_0x5aab5d,_0xf061fc){const _0x55dcbc=_0x3f5ff1;super(_0x2ff784),this[_0x55dcbc(0x16b)]=null,this[_0x55dcbc(0x183)]=null,this[_0x55dcbc(0x16e)]=new _0x379e97(_0x2ff784,_0x349706(_0x2ff784,_0x55dcbc(0x178))),this[_0x55dcbc(0x18a)](_0x55dcbc(0x17f),!0x1),this[_0x55dcbc(0x18a)](_0x55dcbc(0x197),_0x6e6985[_0x55dcbc(0x197)]),this[_0x55dcbc(0x192)](_0x55dcbc(0x197))['to'](_0x6e6985),this[_0x55dcbc(0x18a)](_0x55dcbc(0x17b),[]),this[_0x55dcbc(0x18a)](_0x55dcbc(0x168),!0x1),this[_0x55dcbc(0x18a)](_0x55dcbc(0x185),!0x1),this[_0x55dcbc(0x18a)](_0x55dcbc(0x17e),!0x1),this[_0x55dcbc(0x18a)](_0x55dcbc(0x184),!0x1),this[_0x55dcbc(0x192)](_0x55dcbc(0x18e))['to'](this,_0x55dcbc(0x17a),_0x6e6985,_0x55dcbc(0x197),this,_0x55dcbc(0x17b),(_0x3ad214,_0x11483c,_0x4a6375)=>{const _0x5c5a00=_0x55dcbc,_0x3c9e0b=_0x4a6375[_0x5c5a00(0x199)](_0x27cdf1=>_0x47e263(_0x27cdf1[_0x5c5a00(0x186)]))[_0x5c5a00(0x1a4)]('.\x20')+'.';return _0x349706(this[_0x5c5a00(0x175)],_0x5c5a00(0x182),[_0x3ad214-0x1,_0x6e6985[_0x5c5a00(0x16f)][_0x5c5a00(0x193)],_0x11483c?_0xf061fc[_0x5c5a00(0x1aa)](_0x11483c):'',new DOMParser()[_0x5c5a00(0x1a9)](_0x3c9e0b,_0x5c5a00(0x1a3))[_0x5c5a00(0x188)][_0x5c5a00(0x169)]]);}),this[_0x55dcbc(0x173)]=new _0x596e04(),this[_0x55dcbc(0x1ad)]=new _0x5ce451(),this[_0x55dcbc(0x19e)]=new _0x505419(),this[_0x55dcbc(0x195)]=new _0x4f42d4({'focusables':this[_0x55dcbc(0x173)],'focusTracker':this[_0x55dcbc(0x1ad)],'keystrokeHandler':this[_0x55dcbc(0x19e)],'keystrokeHandlerOptions':{'filter':_0x5dbdd8=>_0x5dbdd8[_0x55dcbc(0x18c)]!==this[_0x55dcbc(0x16c)]},'actions':{'focusPrevious':_0x55dcbc(0x1ac),'focusNext':_0x55dcbc(0x18f)}}),this[_0x55dcbc(0x19c)]=_0x6e6985,this[_0x55dcbc(0x17d)]=_0x5aab5d,this[_0x55dcbc(0x187)]=_0xf061fc,_0xf061fc[_0x55dcbc(0x1af)]?this[_0x55dcbc(0x18a)](_0x55dcbc(0x17a),0x1):this[_0x55dcbc(0x1a8)]();}[_0x3f5ff1(0x1a5)](){const _0xb6653a=_0x3f5ff1;super[_0xb6653a(0x1a5)](),_0x5c6c2c(this,this[_0xb6653a(0x173)]);}[_0x3f5ff1(0x19d)](){const _0x58c3f5=_0x3f5ff1;this[_0x58c3f5(0x16c)][_0x58c3f5(0x19d)]();}[_0x3f5ff1(0x19f)](){const _0x3f34f6=_0x3f5ff1;this[_0x3f34f6(0x16b)]&&this[_0x3f34f6(0x16b)][_0x3f34f6(0x19f)](),this[_0x3f34f6(0x183)]&&this[_0x3f34f6(0x183)][_0x3f34f6(0x19f)](),super[_0x3f34f6(0x19f)]();}[_0x3f5ff1(0x1a8)](){const _0x224e51=_0x3f5ff1,{CommentsListView:_0x56c8e2}=this[_0x224e51(0x187)];this[_0x224e51(0x16b)]=new _0x56c8e2(this[_0x224e51(0x175)],this[_0x224e51(0x19c)][_0x224e51(0x1b0)],Object[_0x224e51(0x167)]({'CommentView':this[_0x224e51(0x187)][_0x224e51(0x16d)]},this[_0x224e51(0x187)])),this[_0x224e51(0x16b)][_0x224e51(0x18b)](_0x224e51(0x1ae))['to'](this),this[_0x224e51(0x16b)][_0x224e51(0x18b)](_0x224e51(0x1a7))['to'](this),this[_0x224e51(0x16b)][_0x224e51(0x192)](_0x224e51(0x17f))['to'](this),this[_0x224e51(0x18a)](_0x224e51(0x17a),this[_0x224e51(0x16b)][_0x224e51(0x17a)]+0x1),this[_0x224e51(0x192)](_0x224e51(0x17a))['to'](this[_0x224e51(0x16b)],_0x224e51(0x17a),_0x216526=>_0x216526+0x1),this[_0x224e51(0x183)]=this[_0x224e51(0x18d)](),this['on'](_0x224e51(0x1ae),()=>this[_0x224e51(0x19d)]()),this[_0x224e51(0x192)](_0x224e51(0x168))['to'](this[_0x224e51(0x16b)],_0x224e51(0x191),this[_0x224e51(0x183)][_0x224e51(0x172)],_0x224e51(0x1a2),(_0x21d1d9,_0x27f05a)=>_0x21d1d9||!!_0x27f05a);}[_0x3f5ff1(0x18d)](){const _0x40854c=_0x3f5ff1,{CommentThreadInputView:_0x4a0caa}=this[_0x40854c(0x187)],_0x36d674=new _0x4a0caa(this[_0x40854c(0x175)],this[_0x40854c(0x17d)],this[_0x40854c(0x187)][_0x40854c(0x189)]),_0x134082=_0x36d674[_0x40854c(0x172)];return _0x36d674[_0x40854c(0x192)](_0x40854c(0x181))['to'](this,_0x40854c(0x17f),this[_0x40854c(0x19c)][_0x40854c(0x1b0)],_0x40854c(0x177),_0x134082,_0x40854c(0x1a2),(_0x276b86,_0x3004c8,_0x52f4f3)=>!!_0x52f4f3||_0x276b86&&!_0x3004c8),_0x134082['on'](_0x40854c(0x180),(_0x59c7cd,_0x564148)=>{const _0x21c16d=_0x40854c;this[_0x21c16d(0x170)](_0x21c16d(0x1a0),_0x564148),_0x134082[_0x21c16d(0x1ab)][_0x21c16d(0x179)]('');}),_0x134082['on'](_0x40854c(0x1a6),()=>this[_0x40854c(0x19d)]()),_0x134082[_0x40854c(0x192)](_0x40854c(0x194))['to'](this[_0x40854c(0x19c)][_0x40854c(0x1b0)],_0x40854c(0x177)),_0x36d674;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1d1c(){const _0x3231b3=['push','bindTemplate','focusables','author','commentsListView','set','delegate','ck-rounded-corners','3199174YUVjWP','commentThreadInputView','isEnabled','1536932avmHGu','3810VlOnVI','suggestionView','</p>','formatDateTime','112HtxvmV','acceptSuggestion','color','ck-suggestion-wrapper','acceptButton','discardSuggestion','ariaDescriptionView','_model','ck-suggestion--disabled-comments','9NwvwDR','disableComments','listitem','content','descriptionParts','_descriptionElement','canAccept','render','1027800YBVvjx','commentThread','9XzFWWF','_config','setTemplate','3pMrnJP','4970810hyKHZx','ck-suggestion-','52278nTIIiE','SuggestionView','ariaLabel','div','editorReady','description','editorDestroyed','canDiscard','165296EFtrGy','getTemplate','bind','add','735NLZWRr','isActive','<p>','ck-suggestion-wrapper--active','discardButton','type'];_0x1d1c=function(){return _0x3231b3;};return _0x1d1c();}const _0x1b334e=_0x25c5;function _0x25c5(_0x52ea1f,_0x212677){const _0x1d1cb1=_0x1d1c();return _0x25c5=function(_0x25c586,_0x3a63a5){_0x25c586=_0x25c586-0x11a;let _0x1e7087=_0x1d1cb1[_0x25c586];return _0x1e7087;},_0x25c5(_0x52ea1f,_0x212677);}(function(_0x383e50,_0x536826){const _0x4ee481=_0x25c5,_0x3c7a55=_0x383e50();while(!![]){try{const _0x30c541=parseInt(_0x4ee481(0x150))/0x1*(-parseInt(_0x4ee481(0x125))/0x2)+-parseInt(_0x4ee481(0x122))/0x3*(-parseInt(_0x4ee481(0x142))/0x4)+-parseInt(_0x4ee481(0x131))/0x5*(parseInt(_0x4ee481(0x143))/0x6)+-parseInt(_0x4ee481(0x147))/0x7*(-parseInt(_0x4ee481(0x12d))/0x8)+parseInt(_0x4ee481(0x11f))/0x9*(-parseInt(_0x4ee481(0x123))/0xa)+parseInt(_0x4ee481(0x13f))/0xb+parseInt(_0x4ee481(0x11d))/0xc;if(_0x30c541===_0x536826)break;else _0x3c7a55['push'](_0x3c7a55['shift']());}catch(_0x4ebdb9){_0x3c7a55['push'](_0x3c7a55['shift']());}}}(_0x1d1c,0x40da0));import{BaseSuggestionThreadView as _0x4f293c}from'./basesuggestionthreadview.js';import{trimHtml as _0x321b87}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x238ce3}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4f293c{[_0x1b334e(0x144)];[_0x1b334e(0x11a)];constructor(_0x550501,_0xb6b142,_0x16c2ba,_0x262ea6){const _0x2631ff=_0x1b334e;super(_0x550501,_0xb6b142,_0x16c2ba,_0x262ea6),this[_0x2631ff(0x13c)](_0x2631ff(0x136),''),this[_0x2631ff(0x12f)](_0x2631ff(0x136))['to'](this,_0x2631ff(0x154),_0x4c554a=>_0x4c554a&&_0x4c554a[0x0]?_0x4c554a[0x0][_0x2631ff(0x136)]:''),this[_0x2631ff(0x12f)](_0x2631ff(0x12a))['to'](this,_0x2631ff(0x154),this,_0x2631ff(0x132),(_0x1c4963,_0x2180b6)=>{const _0x518b8e=_0x2631ff;let _0x49ebd8='';for(const _0x383e42 of _0x1c4963)_0x49ebd8+=_0x518b8e(0x133)+_0x238ce3(_0x383e42[_0x518b8e(0x153)],_0x383e42[_0x518b8e(0x149)])+_0x518b8e(0x145);return _0x2180b6?_0x49ebd8:_0x321b87(_0x49ebd8,{'limit':0x8c});}),this[_0x2631ff(0x11a)]=null,this[_0x2631ff(0x144)]=new _0x262ea6[(_0x2631ff(0x126))](_0x550501,_0xb6b142,{'formatDateTime':_0x262ea6[_0x2631ff(0x146)]}),this[_0x2631ff(0x144)][_0x2631ff(0x12f)](_0x2631ff(0x12a))['to'](this),this[_0x2631ff(0x144)][_0x2631ff(0x13d)](_0x2631ff(0x148),_0x2631ff(0x14c))['to'](this),this[_0x2631ff(0x144)][_0x2631ff(0x14b)][_0x2631ff(0x12f)](_0x2631ff(0x141))['to'](this,_0x2631ff(0x11b)),this[_0x2631ff(0x144)][_0x2631ff(0x135)][_0x2631ff(0x12f)](_0x2631ff(0x141))['to'](this,_0x2631ff(0x12c)),this[_0x2631ff(0x139)][_0x2631ff(0x130)](this[_0x2631ff(0x144)]),this[_0x2631ff(0x13b)]&&this[_0x2631ff(0x139)][_0x2631ff(0x130)](this[_0x2631ff(0x13b)]),this[_0x2631ff(0x140)]&&this[_0x2631ff(0x139)][_0x2631ff(0x130)](this[_0x2631ff(0x140)]),this[_0x2631ff(0x121)](this[_0x2631ff(0x12e)]());}[_0x1b334e(0x12e)](){const _0x3e931d=_0x1b334e,_0x36e78d=this[_0x3e931d(0x138)],_0x38fa53=[this[_0x3e931d(0x144)]];return this[_0x3e931d(0x13b)]&&_0x38fa53[_0x3e931d(0x137)](this[_0x3e931d(0x13b)]),this[_0x3e931d(0x140)]&&_0x38fa53[_0x3e931d(0x137)](this[_0x3e931d(0x140)]),_0x38fa53[_0x3e931d(0x137)](this[_0x3e931d(0x14d)]),{'tag':_0x3e931d(0x128),'attributes':{'class':['ck',_0x3e931d(0x13e),_0x3e931d(0x14a),_0x36e78d['if'](_0x3e931d(0x132),_0x3e931d(0x134)),_0x36e78d['to'](_0x3e931d(0x136),_0x59c728=>_0x3e931d(0x124)+_0x59c728),this[_0x3e931d(0x120)][_0x3e931d(0x151)]&&_0x3e931d(0x14f)],'data-suggestion-id':this[_0x3e931d(0x14e)]['id'],'data-thread-id':this[_0x3e931d(0x14e)][_0x3e931d(0x11e)]['id'],'data-author-id':this[_0x3e931d(0x14e)][_0x3e931d(0x13a)]['id'],'tabindex':0x0,'role':_0x3e931d(0x152),'aria-label':_0x36e78d['to'](_0x3e931d(0x127)),'aria-describedby':this[_0x3e931d(0x14d)]['id']},'children':_0x38fa53};}[_0x1b334e(0x11c)](){const _0x2eeed5=_0x1b334e;super[_0x2eeed5(0x11c)](),this[_0x2eeed5(0x13b)]&&(this[_0x2eeed5(0x13b)][_0x2eeed5(0x13d)](_0x2eeed5(0x129))['to'](this),this[_0x2eeed5(0x13b)][_0x2eeed5(0x13d)](_0x2eeed5(0x12b))['to'](this)),this[_0x2eeed5(0x140)]&&(this[_0x2eeed5(0x140)][_0x2eeed5(0x13d)](_0x2eeed5(0x129))['to'](this),this[_0x2eeed5(0x140)][_0x2eeed5(0x13d)](_0x2eeed5(0x12b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e95(_0x24711f,_0x36ab0a){const _0x57bae3=_0x57ba();return _0x1e95=function(_0x1e95d9,_0x1c4793){_0x1e95d9=_0x1e95d9-0x9b;let _0xcdd497=_0x57bae3[_0x1e95d9];return _0xcdd497;},_0x1e95(_0x24711f,_0x36ab0a);}const _0x2b9f09=_0x1e95;(function(_0x4abcd3,_0x1aead8){const _0x18542f=_0x1e95,_0x39480a=_0x4abcd3();while(!![]){try{const _0x10cea2=-parseInt(_0x18542f(0xe1))/0x1+parseInt(_0x18542f(0xcb))/0x2+parseInt(_0x18542f(0xbc))/0x3+-parseInt(_0x18542f(0xce))/0x4*(-parseInt(_0x18542f(0xa9))/0x5)+-parseInt(_0x18542f(0xab))/0x6+parseInt(_0x18542f(0xb1))/0x7*(parseInt(_0x18542f(0xc9))/0x8)+-parseInt(_0x18542f(0xb6))/0x9;if(_0x10cea2===_0x1aead8)break;else _0x39480a['push'](_0x39480a['shift']());}catch(_0x58cb05){_0x39480a['push'](_0x39480a['shift']());}}}(_0x57ba,0xefbd0));import{FocusTracker as _0x2bbe0d,KeystrokeHandler as _0x2278af}from'ckeditor5/src/utils.js';import{View as _0x33d29d,ViewCollection as _0x25d2ce,FocusCycler as _0x20782d}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x187047,UserView as _0x5cc356}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x5c6e63,IconCheck as _0x2a3eaf}from'ckeditor5/src/icons.js';import{getTranslation as _0xe07a6e}from'../../utils/common-translations.js';export class SuggestionView extends _0x33d29d{[_0x2b9f09(0xf2)];[_0x2b9f09(0xeb)];[_0x2b9f09(0xc1)];[_0x2b9f09(0xb5)];[_0x2b9f09(0xd8)];[_0x2b9f09(0xec)];[_0x2b9f09(0xc6)];[_0x2b9f09(0xc5)];[_0x2b9f09(0x9e)];constructor(_0x593031,_0x16956a,_0x5593be){const _0x29b210=_0x2b9f09;super(_0x593031),this[_0x29b210(0xc5)]=_0x16956a,this[_0x29b210(0x9e)]=_0x5593be,this[_0x29b210(0xa4)](_0x29b210(0xe8),''),this[_0x29b210(0xdc)](_0x29b210(0xe3))['to'](_0x16956a),this[_0x29b210(0xeb)]=this[_0x29b210(0xda)](_0xe07a6e(_0x593031,_0x29b210(0xa8)),_0x2a3eaf,_0x29b210(0xbe),_0x29b210(0xe4),'sw'),this[_0x29b210(0xc1)]=this[_0x29b210(0xda)](_0xe07a6e(_0x593031,_0x29b210(0xae)),_0x5c6e63,_0x29b210(0xe6),_0x29b210(0xa2),'sw'),this[_0x29b210(0xf2)]=new _0x5cc356(_0x593031,_0x16956a[_0x29b210(0xbd)],this[_0x29b210(0xd3)]()),this[_0x29b210(0xf2)][_0x29b210(0xa3)]({'attributes':{'class':[_0x29b210(0xcc),_0x29b210(0xe7)],'aria-hidden':!0x0}}),this[_0x29b210(0xb5)]=new _0x25d2ce([this[_0x29b210(0xeb)],this[_0x29b210(0xc1)]]),this[_0x29b210(0xd8)]=new _0x2bbe0d(),this[_0x29b210(0xec)]=new _0x2278af(),this[_0x29b210(0xc6)]=new _0x20782d({'focusables':this[_0x29b210(0xb5)],'focusTracker':this[_0x29b210(0xd8)],'keystrokeHandler':this[_0x29b210(0xec)],'actions':{'focusPrevious':_0x29b210(0xc3),'focusNext':_0x29b210(0xaf)},'keystrokeHandlerOptions':{'filter':_0x924631=>_0x924631[_0x29b210(0xf1)]!==this[_0x29b210(0xe0)]}}),this[_0x29b210(0xb3)](this[_0x29b210(0xd0)]());}[_0x2b9f09(0xcf)](){const _0x4fcd7a=_0x2b9f09;super[_0x4fcd7a(0xcf)]();const _0x395643=this[_0x4fcd7a(0xe0)][_0x4fcd7a(0x9b)](_0x4fcd7a(0xd5));_0x395643[_0x4fcd7a(0xb2)]=this[_0x4fcd7a(0xe8)],this['on'](_0x4fcd7a(0xbf),(_0x36f34a,_0x5a705d,_0x44df92)=>{const _0x2a2bff=_0x4fcd7a;_0x395643[_0x2a2bff(0xb2)]=_0x44df92;}),this[_0x4fcd7a(0xc4)]();}[_0x2b9f09(0xd0)](){const _0xa0d453=_0x2b9f09,_0x4d869c=this[_0xa0d453(0xef)],_0x228f65=[{'tag':_0xa0d453(0xe2),'attributes':{'class':[_0xa0d453(0xba),_0xa0d453(0xf0)]},'children':[{'tag':_0xa0d453(0xb7),'children':[{'text':this[_0xa0d453(0xf2)][_0xa0d453(0xc0)]}],'attributes':{'class':[_0xa0d453(0xca),_0xa0d453(0xed)],'data-cke-tooltip-text':this[_0xa0d453(0xf2)][_0xa0d453(0xc0)]}},{'tag':_0xa0d453(0xea),'attributes':{'datetime':_0x4d869c['to'](_0xa0d453(0xe3)),'class':[_0xa0d453(0xd6),_0xa0d453(0xad)]},'children':[{'text':_0x4d869c['to'](_0xa0d453(0xe3),_0x3aa1a3=>this[_0xa0d453(0x9e)][_0xa0d453(0xa6)](_0x3aa1a3))}]}]},{'tag':_0xa0d453(0xe2),'attributes':{'class':[_0xa0d453(0xde),_0xa0d453(0xc7)]},'children':[this[_0xa0d453(0xeb)],this[_0xa0d453(0xc1)]]},{'tag':_0xa0d453(0xe2),'attributes':{'class':[_0xa0d453(0x9d)]}}];return this[_0xa0d453(0xc5)][_0xa0d453(0xb0)]&&_0x228f65[_0xa0d453(0xa0)]({'tag':_0xa0d453(0xe2),'attributes':{'class':[_0xa0d453(0xd1)]},'children':[{'text':this[_0xa0d453(0x9f)]()}]}),{'tag':_0xa0d453(0xe2),'attributes':{'class':[_0xa0d453(0x9c),_0xa0d453(0xa7)],'tabindex':-0x1},'children':[this[_0xa0d453(0xf2)],{'tag':_0xa0d453(0xe2),'attributes':{'class':[_0xa0d453(0xac),_0xa0d453(0xe9)],'role':_0xa0d453(0xb8)},'children':_0x228f65}]};}[_0x2b9f09(0xd4)](){const _0x413f69=_0x2b9f09;this[_0x413f69(0xe0)][_0x413f69(0xd4)]();}[_0x2b9f09(0xd3)](){const _0x1535de=_0x2b9f09;return this[_0x1535de(0xc5)][_0x1535de(0xb0)]?_0x1535de(0xa5)===this[_0x1535de(0xc5)][_0x1535de(0xd2)][_0x1535de(0xe5)][_0x1535de(0xdb)]?_0xe07a6e(this[_0x1535de(0xb9)],_0x1535de(0xc2),this[_0x1535de(0xc5)][_0x1535de(0xdd)][_0x1535de(0xc0)]):_0xe07a6e(this[_0x1535de(0xb9)],_0x1535de(0xcd),this[_0x1535de(0xc5)][_0x1535de(0xdd)][_0x1535de(0xc0)]):null;}[_0x2b9f09(0x9f)](){const _0x4613c5=_0x2b9f09;return _0x4613c5(0xa5)===this[_0x4613c5(0xc5)][_0x4613c5(0xd2)][_0x4613c5(0xe5)][_0x4613c5(0xdb)]?_0xe07a6e(this[_0x4613c5(0xb9)],_0x4613c5(0xd7)):_0xe07a6e(this[_0x4613c5(0xb9)],_0x4613c5(0xee));}[_0x2b9f09(0xda)](_0x5ab4af,_0x1f5d80,_0x287b14,_0x3c663f,_0x324b9b){const _0x283287=_0x2b9f09,_0x5d57a2=new _0x187047(this[_0x283287(0xb9)]);return _0x5d57a2[_0x283287(0xa4)]({'label':_0x5ab4af,'icon':_0x1f5d80,'tooltip':!0x0,'tooltipPosition':_0x324b9b}),_0x5d57a2[_0x283287(0xa3)]({'attributes':{'class':_0x287b14}}),_0x5d57a2['on'](_0x283287(0xa1),()=>{const _0x204558=_0x283287;this[_0x204558(0xb4)](_0x3c663f,this[_0x204558(0xc5)]['id']);}),_0x5d57a2;}[_0x2b9f09(0xc4)](){const _0x666528=_0x2b9f09,_0x4871f6=this[_0x666528(0xe0)];this[_0x666528(0xec)][_0x666528(0xc8)](_0x4871f6);for(const _0x223cfe of this[_0x666528(0xb5)])this[_0x666528(0xd8)][_0x666528(0xdf)](_0x223cfe[_0x666528(0xe0)]),this[_0x666528(0xec)][_0x666528(0xc8)](_0x223cfe[_0x666528(0xe0)]);this[_0x666528(0xec)][_0x666528(0xa4)](_0x666528(0xd9),(_0x496c1e,_0x142a29)=>{const _0x2c2f2a=_0x666528;_0x4871f6===_0x496c1e[_0x2c2f2a(0xf1)]&&(this[_0x2c2f2a(0xc6)][_0x2c2f2a(0xaa)](),_0x142a29());}),this[_0x666528(0xec)][_0x666528(0xa4)](_0x666528(0xbb),(_0x32dd2b,_0xf3ddb8)=>{const _0x30c047=_0x666528;_0x4871f6!==_0x32dd2b[_0x30c047(0xf1)]&&(this[_0x30c047(0xd4)](),_0xf3ddb8());});}}function _0x57ba(){const _0x3f459d=['2335825HufxFO','focusFirst','5393808EQZgKD','ck-suggestion__main','ck-annotation__info-time','Discard\x20suggestion','tab','isExternal','7XkXSYz','innerHTML','setTemplate','fire','focusables','20475459KqdeRW','span','presentation','locale','ck-suggestion__info','esc','4983627bwYWKp','author','ck-suggestion--accept','change:description','name','discardButton','EXTERNAL_IMPORT_WORD_AVATAR','shift+tab','_setupKeyboardNavigation','_model','focusCycler','ck-annotation__actions','listenTo','9681576GHzWGp','ck-suggestion__info-name','708980RRwcWJ','ck-suggestion__user','EXTERNAL_AVATAR','16axnWAt','render','getTemplate','ck-comment__external','attributes','getUserViewNotificationText','focus','.ck-annotation__content-wrapper','ck-comment__info-time','EXTERNAL_IMPORT_WORD_SUGGESTION','focusTracker','enter','_createButton','source','bind','creator','ck-suggestion__actions','add','element','938569LGWimj','div','authoredAt','acceptSuggestion','@external','ck-suggestion--discard','ck-annotation__user','description','ck-annotation__main','time','acceptButton','keystrokes','ck-annotation__info-name','EXTERNAL_SUGGESTION','bindTemplate','ck-annotation__info','target','userView','querySelector','ck-suggestion','ck-annotation__content-wrapper','_config','getExternalSuggestionNote','push','execute','discardSuggestion','extendTemplate','set','importWord','formatDateTime','ck-annotation','Accept\x20suggestion'];_0x57ba=function(){return _0x3f459d;};return _0x57ba();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x25b6(){const _0x484716=['push','classes','ck-track-changes-preview','594ZKtckf','style','dialogRects','render','3705493giBDmb','5551020mMwBqT','108QRowdv','innerHTML','previewDataReady','\x20ck-track-changes-preview__root-container','element','fire','11605XUCNMq','setAttribute','setTemplate','6621rGnmBN','height','setPreviewData','2179725wIraTc','className','ck-reset','div','focus','width','createElement','434zqLAbT','options','10voarfh','content','1306520ugpoqZ','data-ck-root-name','22808qgvLiH'];_0x25b6=function(){return _0x484716;};return _0x25b6();}function _0x3597(_0x4d207e,_0x34e556){const _0x25b640=_0x25b6();return _0x3597=function(_0x3597d7,_0x357da9){_0x3597d7=_0x3597d7-0x166;let _0x38a23e=_0x25b640[_0x3597d7];return _0x38a23e;},_0x3597(_0x4d207e,_0x34e556);}const _0x16c97e=_0x3597;(function(_0x26adb1,_0x36c821){const _0x568a65=_0x3597,_0x516f26=_0x26adb1();while(!![]){try{const _0x2cee7=parseInt(_0x568a65(0x179))/0x1*(parseInt(_0x568a65(0x170))/0x2)+parseInt(_0x568a65(0x17c))/0x3+-parseInt(_0x568a65(0x187))/0x4+-parseInt(_0x568a65(0x176))/0x5*(parseInt(_0x568a65(0x16a))/0x6)+-parseInt(_0x568a65(0x183))/0x7*(-parseInt(_0x568a65(0x166))/0x8)+-parseInt(_0x568a65(0x16f))/0x9+parseInt(_0x568a65(0x185))/0xa*(parseInt(_0x568a65(0x16e))/0xb);if(_0x2cee7===_0x36c821)break;else _0x516f26['push'](_0x516f26['shift']());}catch(_0x53a341){_0x516f26['push'](_0x516f26['shift']());}}}(_0x25b6,0x67a61));import{View as _0x1d1eff}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x1d1eff{[_0x16c97e(0x184)];constructor(_0x55c7d1,_0x1474cc){const _0x2d377d=_0x16c97e;super(_0x55c7d1),this[_0x2d377d(0x184)]=_0x1474cc,this[_0x2d377d(0x178)]({'tag':_0x2d377d(0x17f),'attributes':{'class':['ck',_0x2d377d(0x17e),_0x2d377d(0x169)],'tabindex':-0x1}});}[_0x16c97e(0x16d)](){const _0x3b675f=_0x16c97e;super[_0x3b675f(0x16d)](),this[_0x3b675f(0x174)][_0x3b675f(0x16b)][_0x3b675f(0x181)]=this[_0x3b675f(0x184)][_0x3b675f(0x16c)][_0x3b675f(0x181)]+'px',this[_0x3b675f(0x174)][_0x3b675f(0x16b)][_0x3b675f(0x17a)]=this[_0x3b675f(0x184)][_0x3b675f(0x16c)][_0x3b675f(0x17a)]+'px';}[_0x16c97e(0x17b)](_0x436c10,_0x3f1262){const _0x5a806e=_0x16c97e;if(!this[_0x5a806e(0x174)])return;const _0x282f11=[];for(const [_0x5e0876,_0x329dfd]of _0x436c10){const _0x25fc95=document[_0x5a806e(0x182)](_0x5a806e(0x17f));_0x25fc95[_0x5a806e(0x177)](_0x5a806e(0x188),_0x5e0876),_0x25fc95[_0x5a806e(0x17d)]=_0x329dfd[_0x5a806e(0x168)]+_0x5a806e(0x173),_0x25fc95[_0x5a806e(0x171)]=_0x329dfd[_0x5a806e(0x186)],_0x282f11[_0x5a806e(0x167)](_0x25fc95);}_0x3f1262(this[_0x5a806e(0x174)],_0x282f11),this[_0x5a806e(0x174)][_0x5a806e(0x16b)][_0x5a806e(0x17a)]='',this[_0x5a806e(0x175)](_0x5a806e(0x172));}[_0x16c97e(0x180)](){const _0x2aad99=_0x16c97e;this[_0x2aad99(0x174)][_0x2aad99(0x180)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4d9dd0,_0x3b8905,_0x6173f0){const _0xac258c=_0x4d9dd0['t'],t=_0x4d9dd0['t'];switch(_0x3b8905){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',_0x6173f0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x6173f0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x6173f0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x6173f0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x6173f0);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',_0x6173f0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x6173f0);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',_0x6173f0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x6173f0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x6173f0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x6173f0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x6173f0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x6173f0);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x6173f0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x6173f0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x6173f0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x6173f0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x6173f0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x6173f0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x6173f0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x6173f0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x6173f0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x6173f0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x6173f0);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x6173f0);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'},_0x6173f0);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x6173f0);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x6173f0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x6173f0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x6173f0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x6173f0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x6173f0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x6173f0);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'},_0x6173f0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x6173f0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x6173f0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x6173f0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x6173f0);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'},_0x6173f0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x6173f0);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'},_0x6173f0);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'},_0x6173f0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x6173f0);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'},_0x6173f0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x6173f0);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'},_0x6173f0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x6173f0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x6173f0);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'},_0x6173f0);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x6173f0);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 _0xac258c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x6173f0);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xac258c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x6173f0);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x6173f0);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'},_0x6173f0);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'},_0x6173f0);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'},_0x6173f0);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3b8905;}}
|
|
23
|
+
export function getTranslation(_0x49267b,_0xf406d8,_0x472738){const _0x432e77=_0x49267b['t'],t=_0x49267b['t'];switch(_0xf406d8){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',_0x472738);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x472738);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x472738);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x472738);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x472738);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',_0x472738);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x472738);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',_0x472738);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x472738);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x472738);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x472738);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x472738);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x472738);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x472738);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x472738);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x472738);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x472738);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x472738);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x472738);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x472738);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x472738);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x472738);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x472738);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x472738);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x472738);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'},_0x472738);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x472738);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x472738);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x472738);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x472738);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x472738);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x472738);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x472738);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'},_0x472738);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x472738);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x472738);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x472738);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x472738);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'},_0x472738);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x472738);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'},_0x472738);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'},_0x472738);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x472738);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'},_0x472738);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x472738);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'},_0x472738);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x472738);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x472738);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'},_0x472738);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x472738);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 _0x432e77({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x472738);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x432e77({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x472738);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x472738);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'},_0x472738);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'},_0x472738);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'},_0x472738);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xf406d8;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3a0acd,_0x393188){const _0x2660ee=_0x1b2d,_0x3a8f6e=_0x3a0acd();while(!![]){try{const _0x357a9b=parseInt(_0x2660ee(0x1c5))/0x1+parseInt(_0x2660ee(0x1b6))/0x2*(parseInt(_0x2660ee(0x1b5))/0x3)+parseInt(_0x2660ee(0x1aa))/0x4+-parseInt(_0x2660ee(0x1a2))/0x5*(-parseInt(_0x2660ee(0x1d1))/0x6)+-parseInt(_0x2660ee(0x1c9))/0x7*(parseInt(_0x2660ee(0x1bb))/0x8)+parseInt(_0x2660ee(0x1ce))/0x9*(-parseInt(_0x2660ee(0x1a6))/0xa)+-parseInt(_0x2660ee(0x1b2))/0xb;if(_0x357a9b===_0x393188)break;else _0x3a8f6e['push'](_0x3a8f6e['shift']());}catch(_0x211de8){_0x3a8f6e['push'](_0x3a8f6e['shift']());}}}(_0x5ab8,0xbda16));export function normalizeDescription(_0x5afa83){const _0x5684ec=_0x1b2d;return Array[_0x5684ec(0x1b1)](_0x5afa83)||(_0x5afa83=[_0x5afa83]),_0x5afa83[_0x5684ec(0x1cd)](_0x5bf643=>{const _0x477646=_0x5684ec,_0x35ccbb=_0x5bf643[_0x477646(0x1cf)][_0x477646(0x1ac)](/\*/g,''),_0x48ae49=_0x5bf643[_0x477646(0x1a8)]?_0x477646(0x1be)+_0x5bf643[_0x477646(0x1a8)][_0x477646(0x1bf)]+']':'';return'['+_0x5bf643[_0x477646(0x1ca)]+']\x20'+_0x35ccbb+_0x48ae49;})[_0x5684ec(0x1c4)](';\x20');}function _0x1b2d(_0x78e4fe,_0x19a94c){const _0x5ab8f1=_0x5ab8();return _0x1b2d=function(_0x1b2ded,_0x22bb05){_0x1b2ded=_0x1b2ded-0x19f;let _0x4a1ded=_0x5ab8f1[_0x1b2ded];return _0x4a1ded;},_0x1b2d(_0x78e4fe,_0x19a94c);}export function renderDescription(_0x135f1e,_0x41f22c){const _0x565c91=_0x1b2d;let _0x5a9df1='';return _0x5a9df1+=_0x135f1e[_0x565c91(0x1bd)]('*')[_0x565c91(0x1cd)]((_0x3a5c72,_0x54d949)=>_0x54d949%0x2!=0x0?_0x565c91(0x19f)+tn(_0x3a5c72)+_0x565c91(0x1d4):tn(_0x3a5c72))[_0x565c91(0x1c4)](''),_0x41f22c&&(_0x5a9df1+=_0x565c91(0x1ad)+_0x41f22c[_0x565c91(0x1bf)]+_0x565c91(0x1d3)+_0x41f22c[_0x565c91(0x1a0)]+_0x565c91(0x1b7)),_0x5a9df1;}function _0x5ab8(){const _0x42acea=['innerHTML','isMultiRange','isObject','join','912074BIOWPb','add','push','execute','7cXUUwn','type','isInContent','isIntersecting','map','9YQEBLa','content','next','22998doJumE','isTouching','\x22\x20title=\x22','</span>','createElement','createPositionAfter','<span\x20class=\x22ck-suggestion-type\x22>','title','attribute','185DOqeNz','change','createPositionAt','start','12551930xNJhZh','getRanges','color','schema','6186492PtqGXc','createRange','replace','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionBefore','from','length','isArray','13694043prGLgu','innerText','splice','5889WkcaYh','1342OvJyik','\x22></span>','span','sort','deletion','5126872QSVFdc','isCollapsed','split','\x20[color\x20','value','end'];_0x5ab8=function(){return _0x42acea;};return _0x5ab8();}function tn(_0xa28e24){const _0x1e2e26=_0x1b2d,_0x5f2108=document[_0x1e2e26(0x1d5)](_0x1e2e26(0x1b8));return _0x5f2108[_0x1e2e26(0x1b3)]=_0xa28e24,_0x5f2108[_0x1e2e26(0x1c1)];}export function sortSuggestions(_0x2b0195){const _0x2ae985=_0x1b2d;return _0x2b0195[_0x2ae985(0x1b9)]((_0x541654,_0x1e9d19)=>_0x2ae985(0x1a1)===_0x541654[_0x2ae985(0x1ca)]&&_0x2ae985(0x1a1)!==_0x1e9d19[_0x2ae985(0x1ca)]?-0x1:_0x2ae985(0x1a1)!==_0x541654[_0x2ae985(0x1ca)]&&_0x2ae985(0x1a1)===_0x1e9d19[_0x2ae985(0x1ca)]?0x1:_0x2ae985(0x1ba)==_0x541654[_0x2ae985(0x1ca)]&&_0x2ae985(0x1ba)!=_0x1e9d19[_0x2ae985(0x1ca)]?-0x1:_0x2ae985(0x1ba)!=_0x541654[_0x2ae985(0x1ca)]&&_0x2ae985(0x1ba)==_0x1e9d19[_0x2ae985(0x1ca)]?0x1:0x0);}export function getSelectedSuggestions(_0x403cb7,_0x5af99a){const _0x4e3f63=_0x1b2d,_0x740972=Array[_0x4e3f63(0x1af)](_0x403cb7[_0x4e3f63(0x1a7)]()),_0x3d2f0d=new Set();for(const _0x4ee50c of _0x5af99a)if(_0x4ee50c[_0x4e3f63(0x1cb)]){for(const _0x50c076 of _0x740972)for(const _0x44d0b1 of _0x4ee50c[_0x4e3f63(0x1a7)]())(_0x50c076[_0x4e3f63(0x1cc)](_0x44d0b1)||_0x403cb7[_0x4e3f63(0x1bc)]&&!_0x4ee50c[_0x4e3f63(0x1c2)]&&_0x4ee50c[_0x4e3f63(0x1d0)]&&_0x44d0b1[_0x4e3f63(0x1c0)][_0x4e3f63(0x1d2)](_0x50c076[_0x4e3f63(0x1a5)]))&&_0x3d2f0d[_0x4e3f63(0x1c6)](_0x4ee50c);}return _0x3d2f0d;}export function getRangesOfBlockGroups(_0x308ef7,_0x270d47){const _0x8ccc08=_0x1b2d;let _0xef4e7,_0x3296bd=0x0;const _0x23fdbb=[],_0xe5bf06=_0x270d47[_0x8ccc08(0x1a9)];for(;_0x3296bd<_0x308ef7[_0x8ccc08(0x1b0)];){const _0x38ced8=_0x308ef7[_0x3296bd],_0xe7f6b4=_0x308ef7[_0x3296bd+0x1];_0xef4e7||(_0xef4e7=_0x270d47[_0x8ccc08(0x1ae)](_0x38ced8)),nn(_0x270d47,_0x38ced8,_0xe7f6b4)||(_0x23fdbb[_0x8ccc08(0x1c7)](_0x270d47[_0x8ccc08(0x1ab)](_0xef4e7,_0xe5bf06[_0x8ccc08(0x1c3)](_0x38ced8)?_0x270d47[_0x8ccc08(0x1d6)](_0x38ced8):_0x270d47[_0x8ccc08(0x1a4)](_0x38ced8,_0x8ccc08(0x1c0)))),_0xef4e7=null),_0x3296bd++;}return _0x23fdbb;}function nn(_0x160c7e,_0x593a95,_0x4cd721){const _0x3ae097=_0x1b2d;if(!_0x4cd721)return!0x1;const _0x38dea4=_0x160c7e[_0x3ae097(0x1d6)](_0x593a95),_0x541964=_0x160c7e[_0x3ae097(0x1ae)](_0x4cd721);return _0x38dea4[_0x3ae097(0x1d2)](_0x541964);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x518800,_0x36e561,_0x5405fc){const _0x16ebda=_0x1b2d;for(;_0x5405fc[_0x16ebda(0x1b0)];){const _0x816b84=_0x5405fc[_0x16ebda(0x1b4)](0x0,0x64);_0x518800[_0x16ebda(0x1a3)](()=>{const _0x2e656f=_0x16ebda;for(const _0x3890b8 of _0x816b84)_0x3890b8[_0x2e656f(0x1cb)]&&_0x36e561[_0x2e656f(0x1c8)](_0x3890b8['id']);});}}
|