@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250924.0 → 0.0.0-nightly-20250926.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 _0x495efd=_0xf3f1;(function(_0x2e941f,_0x5d6b92){const _0x3807fb=_0xf3f1,_0x483f9a=_0x2e941f();while(!![]){try{const _0x2ec2ee=parseInt(_0x3807fb(0x81))/0x1+parseInt(_0x3807fb(0x6f))/0x2+-parseInt(_0x3807fb(0x7d))/0x3+-parseInt(_0x3807fb(0x6e))/0x4*(-parseInt(_0x3807fb(0x6b))/0x5)+parseInt(_0x3807fb(0x6c))/0x6*(parseInt(_0x3807fb(0x70))/0x7)+-parseInt(_0x3807fb(0x7f))/0x8*(-parseInt(_0x3807fb(0x73))/0x9)+-parseInt(_0x3807fb(0x79))/0xa;if(_0x2ec2ee===_0x5d6b92)break;else _0x483f9a['push'](_0x483f9a['shift']());}catch(_0x4d7880){_0x483f9a['push'](_0x483f9a['shift']());}}}(_0x1368,0x62259));function _0xf3f1(_0x430fde,_0x300fb4){const _0x136872=_0x1368();return _0xf3f1=function(_0xf3f131,_0x30723b){_0xf3f131=_0xf3f131-0x6b;let _0x22f7f6=_0x136872[_0xf3f131];return _0x22f7f6;},_0xf3f1(_0x430fde,_0x300fb4);}import{Plugin as _0x1cd01b}from'ckeditor5/src/core.js';import{Dialog as _0x3ca7ac}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x8fcb53}from'./trackchangesdata.js';function _0x1368(){const _0x5eeb2b=['config','2211111kIvEnt','pluginName','32RcISzJ','requires','273893tdvxoO','5ZWgIKK','18ETWoRF','commands','1437732JpCFah','560528YLWECc','1781801GzDQRg','add','appendChild','944973KBRJQd','editor','define','previewFinalContent','isOfficialPlugin','TrackChangesPreview','9581610onVFGv','isPremiumPlugin','trackChanges.preview.renderFunction'];_0x1368=function(){return _0x5eeb2b;};return _0x1368();}import{PreviewFinalContentCommand as _0x4fbd57}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x1cd01b{static get[_0x495efd(0x80)](){return[_0x8fcb53,_0x3ca7ac];}static get[_0x495efd(0x7e)](){const _0x227658=_0x495efd;return _0x227658(0x78);}static get[_0x495efd(0x77)](){return!0x0;}static get[_0x495efd(0x7a)](){return!0x0;}constructor(_0xb4324e){const _0x2398a=_0x495efd;super(_0xb4324e),_0xb4324e[_0x2398a(0x6d)][_0x2398a(0x71)](_0x2398a(0x76),new _0x4fbd57(this[_0x2398a(0x74)])),_0xb4324e[_0x2398a(0x7c)][_0x2398a(0x75)](_0x2398a(0x7b),(_0x5b7aa8,_0x43354e)=>{const _0x2baf96=_0x2398a;for(const _0x10d714 of _0x43354e)_0x5b7aa8[_0x2baf96(0x72)](_0x10d714);});}}
|
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
|
+
function _0x3314(_0x1e0e15,_0x5c4f79){const _0x5c61b0=_0x5c61();return _0x3314=function(_0x3314a9,_0x75850e){_0x3314a9=_0x3314a9-0x12d;let _0x40a932=_0x5c61b0[_0x3314a9];return _0x40a932;},_0x3314(_0x1e0e15,_0x5c4f79);}const _0x101332=_0x3314;(function(_0x2293ba,_0x268170){const _0x2b4f81=_0x3314,_0x45fc50=_0x2293ba();while(!![]){try{const _0xabb9ff=-parseInt(_0x2b4f81(0x1b0))/0x1+parseInt(_0x2b4f81(0x166))/0x2*(parseInt(_0x2b4f81(0x151))/0x3)+parseInt(_0x2b4f81(0x1cb))/0x4*(-parseInt(_0x2b4f81(0x1a1))/0x5)+-parseInt(_0x2b4f81(0x133))/0x6*(parseInt(_0x2b4f81(0x156))/0x7)+parseInt(_0x2b4f81(0x13b))/0x8+-parseInt(_0x2b4f81(0x1ce))/0x9*(parseInt(_0x2b4f81(0x1a0))/0xa)+parseInt(_0x2b4f81(0x14b))/0xb;if(_0xabb9ff===_0x268170)break;else _0x45fc50['push'](_0x45fc50['shift']());}catch(_0x9ec122){_0x45fc50['push'](_0x45fc50['shift']());}}}(_0x5c61,0x6cbf1));import{Plugin as _0x5d5755}from'ckeditor5/src/core.js';import{Collection as _0x19b4fd}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x43828f}from'ckeditor5/src/icons.js';function _0x5c61(){const _0x3d12c2=['children','editor','addSourceCollector','suggestionUnloaded','remove','menuitem','Preview\x20final\x20content','isOn','previous','getAllAdjacentSuggestions','stopListening','invalid','_handleControllerBuffer','Accept\x20all\x20suggestions','9194aEumjk','previewFinalContent','define','comments.maxCommentsWhenCollapsed','trackChanges.SuggestionView','actionView','_addUIComponentsToFactory','commandName','mainView','editing','getMarkers','_viewToController','execute','focus','getFirstRange','_showLicenseError','comments','suggestion-','items','model','Discard\x20all\x20selected\x20suggestions','comments.maxThreadTotalWeight','SuggestionThreadView','Discard\x20all\x20suggestions','componentFactory','filter','_refreshActiveMarkers','expired','value','trialLimit','trackChangesLicenseKeyNotAllowed','_licenseKeyCheckInterval','_bindAnnotationToEditors','pluginName','featureNotAllowed','CommentView','delete','commentsListView','_unbindEditors','delegate','getDescriptions','isMultiRange','toMany','source','set','size','innerView','button','unbind','trackChangesLicenseKeyExpired','listenTo','getSuggestion','fire','config','push','_handleSuggestionControllerDelayed','some','trackChangesLicenseKeyUsageLimit','10XEaDRe','65935Bpahja','destroy','evaluationLimit','createCommentThreadController','discardButton','from','descriptionFactory','_disableComments','_destroyController','suggestionLoaded','requires','CommentsRepository','commands','Annotations','buttonView','22973dfyeyj','clear','acceptButton','isInContent','escape','usageLimit','EditorAnnotations','init','values','reduce','_initializeController','getSuggestionForAnnotation','descriptionParts','suggestionView','add','registerAnnotation','addComment','TrackChangesUI','licenseKey','comments.maxCommentCharsWhenCollapsed','menuitemcheckbox','trackChanges.SuggestionThreadView','getRanges','getAnnotationForSuggestion','TrackChanges','lowest','isPremiumPlugin','244bjbETm','SuggestionView','head','37305GVVLWG','length','get','Track\x20changes','has','_updateController','addMany','trackChangesLicenseKeyDomainLimit','_createMenuBarMenu','arrowView','CommentsUI','discardSelectedSuggestions','commentThread','isOfficialPlugin','comments.editorConfig','trackChangesLicenseKeyInvalid','keys','panelView','refreshSelectedViews','view','switchbutton','acceptSelectedSuggestions','type','plugins','269430TjKBQo','bind','separator','activeAnnotations','getByInnerView','menuBar:trackChanges','hasSuggestion','menu','3621136XFwuDQ','Accept\x20all\x20selected\x20suggestions','acceptAllSuggestions','domainLimit','TrackChangesPreview','isEnabled','activeMarkers','change:activeAnnotations','suggestionChanged','createAnnotation','TrackChangesEditing','trackChangesLicenseKeyEvaluationLimit','trackChangesLicenseKeyValid','trackChanges','_annotationViews','getMarkerNames','14986840KgthcG','isDirty','_createToolbarButton','trackChangesLicenseKeyTrialLimit','trackChanges.disableComments','locale','147QePhSm','_suggestionToController','discardAllSuggestions','getJoined','change:previous','119QnodYP','createAnnotationView'];_0x5c61=function(){return _0x3d12c2;};return _0x5c61();}import{addListToDropdown as _0x395792,createDropdown as _0x8fc694,ListSeparatorView as _0x43df22,MenuBarMenuView as _0x516954,MenuBarMenuListView as _0x8099fe,MenuBarMenuListItemView as _0x7a4add,MenuBarMenuListItemButtonView as _0x3e7ca1,SplitButtonView as _0x122f4a,UIModel as _0x15036f}from'ckeditor5/src/ui.js';import{Users as _0xb36ab6,getDateTimeFormatter as _0x27e256,getAllMarkersDomElementsSorted as _0x137ae3}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x884844}from'./trackchangesediting.js';import{SuggestionController as _0x5bf714}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0xfa0120}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5a6057}from'./ui/view/suggestionview.js';import{getTranslation as _0x1d641e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5d5755{[_0x101332(0x1c2)];[_0x101332(0x185)];[_0x101332(0x152)];[_0x101332(0x171)];[_0x101332(0x149)];[_0x101332(0x164)];[_0x101332(0x1a8)];static get[_0x101332(0x1ab)](){const _0x15f938=_0x101332;return[_0x884844,_0xb36ab6,_0x15f938(0x1ac),_0x15f938(0x1ae),_0x15f938(0x1b6)];}static get[_0x101332(0x187)](){const _0x1a8b78=_0x101332;return _0x1a8b78(0x1c1);}static get[_0x101332(0x1db)](){return!0x0;}static get[_0x101332(0x1ca)](){return!0x0;}constructor(_0x56c85c){const _0x1c70eb=_0x101332;super(_0x56c85c),this[_0x1c70eb(0x152)]=new Map(),this[_0x1c70eb(0x171)]=new Map(),this[_0x1c70eb(0x149)]=new Map(),this[_0x1c70eb(0x164)]=new Map();const _0x5317e1=this[_0x1c70eb(0x159)][_0x1c70eb(0x19b)];_0x5317e1[_0x1c70eb(0x168)](_0x1c70eb(0x1c5),_0xfa0120),_0x5317e1[_0x1c70eb(0x168)](_0x1c70eb(0x16a),_0x5a6057),_0x5317e1[_0x1c70eb(0x168)](_0x1c70eb(0x14f),!0x1),this[_0x1c70eb(0x1a8)]=_0x5317e1[_0x1c70eb(0x1d0)](_0x1c70eb(0x14f));}[_0x101332(0x19d)](_0x3d4411,_0x313af2){const _0x342ad3=_0x101332;0x0===this[_0x342ad3(0x164)][_0x342ad3(0x193)]&&setTimeout(()=>{const _0x58c908=_0x342ad3;for(const [_0x56e21c,_0x55c81d]of this[_0x58c908(0x164)]){const _0x2a06d2=this[_0x58c908(0x152)][_0x58c908(0x1d2)](_0x56e21c);_0x2a06d2||_0x55c81d?_0x2a06d2&&_0x55c81d&&this[_0x58c908(0x1a9)](_0x56e21c):this[_0x58c908(0x1ba)](_0x56e21c);}this[_0x58c908(0x164)][_0x58c908(0x1b1)](),this[_0x58c908(0x159)][_0x58c908(0x132)][_0x58c908(0x1d0)](_0x58c908(0x1b6))[_0x58c908(0x12d)](),this[_0x58c908(0x180)]();},0xa),this[_0x342ad3(0x164)][_0x342ad3(0x192)](_0x3d4411,_0x313af2);}[_0x101332(0x1b7)](){const _0x263431=_0x101332,_0x29e92d=this[_0x263431(0x159)],_0x41d777=_0x29e92d[_0x263431(0x132)][_0x263431(0x1d0)](_0x263431(0x145)),_0x1b21cd=_0x29e92d[_0x263431(0x132)][_0x263431(0x1d0)](_0x263431(0x1ae)),_0x534382=_0x29e92d[_0x263431(0x132)][_0x263431(0x1d0)](_0x263431(0x1b6)),_0x55687c=_0x29e92d[_0x263431(0x132)][_0x263431(0x1d0)](_0x263431(0x1ac));this[_0x263431(0x16c)](),_0x534382[_0x263431(0x15a)](()=>{const _0x3e0a4a=_0x263431,_0xbccdd2=[];for(const [_0x106091,_0x48fa3d]of Array[_0x3e0a4a(0x1a6)](this[_0x3e0a4a(0x152)])){const _0x165bc1=_0x106091[_0x3e0a4a(0x161)](),_0x3c41ef=[];for(const _0x489ef4 of _0x165bc1){if(!_0x489ef4[_0x3e0a4a(0x1b3)])continue;if(_0x489ef4[_0x3e0a4a(0x18f)]){_0x3c41ef[_0x3e0a4a(0x19c)](..._0x489ef4[_0x3e0a4a(0x1c6)]());continue;}const _0x41429f=_0x489ef4[_0x3e0a4a(0x174)]();if(_0x3c41ef[_0x3e0a4a(0x1cf)]>0x0){const _0x9294cd=_0x3c41ef[0x0][_0x3e0a4a(0x154)](_0x41429f);if(_0x9294cd){_0x3c41ef[0x0]=_0x9294cd;continue;}}_0x3c41ef[_0x3e0a4a(0x19c)](_0x41429f);}_0xbccdd2[_0x3e0a4a(0x19c)]([_0x48fa3d[_0x3e0a4a(0x12e)],_0x3c41ef]);}return _0xbccdd2;}),this[_0x263431(0x198)](_0x41d777,_0x263431(0x1aa),(_0x4e9660,_0x31f652)=>{const _0x1b0b51=_0x263431;this[_0x1b0b51(0x198)](_0x31f652,_0x1b0b51(0x155),(_0x40343e,_0x47173b,_0x2df8d2,_0x1dccec)=>{const _0x32fe6c=_0x1b0b51;_0x31f652[_0x32fe6c(0x1b3)]&&(null==_0x2df8d2?(this[_0x32fe6c(0x1d3)](_0x1dccec[_0x32fe6c(0x1cd)]),this[_0x32fe6c(0x19d)](_0x31f652,!0x1)):(this[_0x32fe6c(0x1d3)](_0x2df8d2[_0x32fe6c(0x1cd)]),null==_0x1dccec&&this[_0x32fe6c(0x19d)](_0x31f652,!0x0)));}),null!==_0x31f652[_0x1b0b51(0x160)]?this[_0x1b0b51(0x1d3)](_0x31f652[_0x1b0b51(0x1cd)]):this[_0x1b0b51(0x19d)](_0x31f652,!0x1);}),this[_0x263431(0x198)](_0x41d777,_0x263431(0x15b),(_0x2e31bc,_0x3b972a,_0x5da501)=>{const _0x4a1d43=_0x263431;this[_0x4a1d43(0x162)](_0x3b972a,_0x4a1d43(0x155)),this[_0x4a1d43(0x164)][_0x4a1d43(0x18a)](_0x3b972a),this[_0x4a1d43(0x152)][_0x4a1d43(0x1d2)](_0x3b972a)&&this[_0x4a1d43(0x1a9)](_0x3b972a),_0x5da501&&this[_0x4a1d43(0x1d3)](_0x5da501[_0x4a1d43(0x1cd)]);}),this[_0x263431(0x198)](_0x41d777,_0x263431(0x143),(_0x2cd650,_0x52252d)=>{const _0x2d5bb6=_0x263431;this[_0x2d5bb6(0x1d3)](_0x52252d);}),this[_0x263431(0x198)](_0x1b21cd,_0x263431(0x142),()=>{const _0x11e33c=_0x263431;this[_0x11e33c(0x180)]();}),this[_0x263431(0x198)](_0x55687c,_0x263431(0x1c0),(_0x473ba1,{threadId:_0x50df3b,isFromAdapter:_0x472dc7})=>{const _0x18eedc=_0x263431;if(_0x472dc7||!_0x41d777[_0x18eedc(0x139)](_0x50df3b))return;const _0x515d88=_0x41d777[_0x18eedc(0x199)](_0x50df3b);this[_0x18eedc(0x152)][_0x18eedc(0x1d0)](_0x515d88)[_0x18eedc(0x12e)][_0x18eedc(0x18b)][_0x18eedc(0x173)](-0x1);},{'priority':_0x263431(0x1c9)}),this[_0x263431(0x1c2)]=this[_0x263431(0x159)][_0x263431(0x19b)][_0x263431(0x1d0)](_0x263431(0x1c2));const _0x165154=this[_0x263431(0x159)];this[_0x263431(0x185)]=setInterval(()=>{const _0xdd59bd=_0x263431;let _0x4b3947;for(const _0x1b2cae in _0x165154){const _0x13eee7=_0x1b2cae,_0x26a804=_0x165154[_0x13eee7];if(_0xdd59bd(0x147)==_0x26a804||_0xdd59bd(0x1dd)==_0x26a804||_0xdd59bd(0x197)==_0x26a804||_0xdd59bd(0x1d5)==_0x26a804||_0xdd59bd(0x184)==_0x26a804||_0xdd59bd(0x146)==_0x26a804||_0xdd59bd(0x14e)==_0x26a804||_0xdd59bd(0x19f)==_0x26a804){delete _0x165154[_0x13eee7],_0x4b3947=_0x26a804,clearInterval(this[_0xdd59bd(0x185)]),this[_0xdd59bd(0x185)]=void 0x0;break;}}_0xdd59bd(0x1dd)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x163)),_0xdd59bd(0x197)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x181)),_0xdd59bd(0x1d5)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x13e)),_0xdd59bd(0x184)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x188),_0xdd59bd(0x1c8)),_0xdd59bd(0x146)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x1a3)),_0xdd59bd(0x14e)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x183)),_0xdd59bd(0x19f)==_0x4b3947&&_0x165154[_0xdd59bd(0x175)](_0xdd59bd(0x1b5));},0x3e8);}[_0x101332(0x1c7)](_0x4ad8f7){const _0x392a60=_0x101332,_0x39587d=this[_0x392a60(0x152)][_0x392a60(0x1d0)](_0x4ad8f7);if(!_0x39587d)return null;return this[_0x392a60(0x159)][_0x392a60(0x132)][_0x392a60(0x1d0)](_0x392a60(0x1ae))[_0x392a60(0x137)](_0x39587d[_0x392a60(0x12e)])||null;}[_0x101332(0x1bb)](_0x3199fb){const _0x44c347=_0x101332,_0x1f99f9=this[_0x44c347(0x171)][_0x44c347(0x1d0)](_0x3199fb[_0x44c347(0x194)]);return _0x1f99f9?_0x1f99f9[_0x44c347(0x179)]:null;}[_0x101332(0x180)](){const _0x449f19=_0x101332,_0x15b162=this[_0x449f19(0x159)][_0x449f19(0x132)][_0x449f19(0x1d0)](_0x449f19(0x1ae)),_0x1087a2=this[_0x449f19(0x159)][_0x449f19(0x132)][_0x449f19(0x1d0)](_0x449f19(0x145)),_0x411c7f=Array[_0x449f19(0x1a6)](_0x15b162[_0x449f19(0x136)],_0xed35ed=>_0xed35ed[_0x449f19(0x194)])[_0x449f19(0x17f)](_0x553a09=>this[_0x449f19(0x171)][_0x449f19(0x1d2)](_0x553a09)),_0x374c13=[];for(const _0x223a21 of _0x411c7f){const _0x2a942f=this[_0x449f19(0x171)][_0x449f19(0x1d0)](_0x223a21)[_0x449f19(0x179)][_0x449f19(0x161)]();_0x374c13[_0x449f19(0x19c)](..._0x2a942f[_0x449f19(0x1b9)]((_0x23d853,_0x5071c8)=>[..._0x23d853,..._0x5071c8[_0x449f19(0x14a)]()],[]));}_0x1087a2[_0x449f19(0x141)]=_0x374c13;}[_0x101332(0x16c)](){const _0xaf0355=_0x101332,_0x4c070c=this[_0xaf0355(0x159)],_0x4eeb60=_0x4c070c[_0xaf0355(0x150)],_0x5bf49d=_0x1d641e(_0x4eeb60,_0xaf0355(0x1d1)),_0x51cf82=new _0x19b4fd([{'type':_0xaf0355(0x12f),'model':new _0x15036f({'withText':!0x0,'isToggleable':!0x0,'label':_0x5bf49d,'commandName':_0xaf0355(0x148),'role':_0xaf0355(0x1c4)})},{'type':_0xaf0355(0x135)},{'type':_0xaf0355(0x195),'model':new _0x15036f({'withText':!0x0,'label':_0x1d641e(_0x4eeb60,_0xaf0355(0x165)),'commandName':_0xaf0355(0x13d),'role':_0xaf0355(0x15d)})},{'type':_0xaf0355(0x195),'model':new _0x15036f({'withText':!0x0,'label':_0x1d641e(_0x4eeb60,_0xaf0355(0x13c)),'commandName':_0xaf0355(0x130),'role':_0xaf0355(0x15d)})},{'type':_0xaf0355(0x195),'model':new _0x15036f({'withText':!0x0,'label':_0x1d641e(_0x4eeb60,_0xaf0355(0x17d)),'commandName':_0xaf0355(0x153),'role':_0xaf0355(0x15d)})},{'type':_0xaf0355(0x195),'model':new _0x15036f({'withText':!0x0,'label':_0x1d641e(_0x4eeb60,_0xaf0355(0x17a)),'commandName':_0xaf0355(0x1d9),'role':_0xaf0355(0x15d)})}]);_0x4c070c[_0xaf0355(0x132)][_0xaf0355(0x1d2)](_0xaf0355(0x13f))&&_0x51cf82[_0xaf0355(0x1d4)]([{'type':_0xaf0355(0x135)},{'type':_0xaf0355(0x195),'model':new _0x15036f({'withText':!0x0,'label':_0x1d641e(_0x4eeb60,_0xaf0355(0x15e)),'commandName':_0xaf0355(0x167),'role':_0xaf0355(0x15d)})}]);for(const _0x34c3bb of _0x51cf82)if(ve(_0x34c3bb)){const _0x5c657d=_0x4c070c[_0xaf0355(0x1ad)][_0xaf0355(0x1d0)](_0x34c3bb[_0xaf0355(0x179)][_0xaf0355(0x16d)]);_0x34c3bb[_0xaf0355(0x179)][_0xaf0355(0x134)](_0xaf0355(0x15f),_0xaf0355(0x140))['to'](_0x5c657d,_0xaf0355(0x182),_0xaf0355(0x140));}_0x4c070c['ui'][_0xaf0355(0x17e)][_0xaf0355(0x1be)](_0xaf0355(0x148),_0x4bbae9=>this[_0xaf0355(0x14d)](_0x4bbae9,_0x51cf82,_0x5bf49d)),_0x4c070c['ui'][_0xaf0355(0x17e)][_0xaf0355(0x1be)](_0xaf0355(0x138),_0x4abfc9=>this[_0xaf0355(0x1d6)](_0x4abfc9,_0x51cf82,_0x5bf49d));}[_0x101332(0x14d)](_0x2e79d9,_0x5d5b4f,_0x20aef7){const _0xea28c=_0x101332,_0x2600d1=_0x8fc694(_0x2e79d9,_0x122f4a),_0x253c09=this[_0xea28c(0x159)][_0xea28c(0x1ad)][_0xea28c(0x1d0)](_0xea28c(0x148));_0x2600d1[_0xea28c(0x1af)][_0xea28c(0x192)]({'tooltip':_0x20aef7,'label':_0x20aef7,'icon':_0x43828f}),_0x2600d1[_0xea28c(0x1af)][_0xea28c(0x134)](_0xea28c(0x15f))['to'](_0x253c09,_0xea28c(0x182)),_0x2600d1[_0xea28c(0x1af)]['on'](_0xea28c(0x172),()=>{const _0x5b604c=_0xea28c;_0x253c09[_0x5b604c(0x172)](),this[_0x5b604c(0x159)][_0x5b604c(0x16f)][_0x5b604c(0x12e)][_0x5b604c(0x173)]();}),_0x395792(_0x2600d1,_0x5d5b4f,{'role':_0xea28c(0x13a)});const _0xcfdd02=[];for(const _0x3dc0e2 of _0x5d5b4f)ve(_0x3dc0e2)&&_0xcfdd02[_0xea28c(0x19c)](this[_0xea28c(0x159)][_0xea28c(0x1ad)][_0xea28c(0x1d0)](_0x3dc0e2[_0xea28c(0x179)][_0xea28c(0x16d)]));const _0x5abe68=_0x2600d1[_0xea28c(0x1af)];return _0x5abe68[_0xea28c(0x16b)][_0xea28c(0x196)](_0xea28c(0x140)),_0x5abe68[_0xea28c(0x1d7)][_0xea28c(0x196)](_0xea28c(0x140)),_0x5abe68[_0xea28c(0x16b)][_0xea28c(0x134)](_0xea28c(0x140))['to'](_0x253c09,_0xea28c(0x140)),_0x5abe68[_0xea28c(0x1d7)][_0xea28c(0x134)](_0xea28c(0x140))[_0xea28c(0x190)](_0xcfdd02,_0xea28c(0x140),(..._0x30f858)=>_0x30f858[_0xea28c(0x19e)](_0x35e65d=>_0x35e65d)),_0x2600d1['on'](_0xea28c(0x172),_0x3484ff=>{const _0x22e8cd=_0xea28c;this[_0x22e8cd(0x159)][_0x22e8cd(0x172)](_0x3484ff[_0x22e8cd(0x191)][_0x22e8cd(0x16d)]),this[_0x22e8cd(0x159)][_0x22e8cd(0x16f)][_0x22e8cd(0x12e)][_0x22e8cd(0x173)]();}),_0x2600d1;}[_0x101332(0x1d6)](_0x4d0af7,_0x2c0b98,_0x2e0736){const _0x10561a=_0x101332,_0x49aa92=new _0x516954(_0x4d0af7),_0x4b4e56=this[_0x10561a(0x159)][_0x10561a(0x1ad)][_0x10561a(0x1d0)](_0x10561a(0x148));_0x49aa92[_0x10561a(0x1af)][_0x10561a(0x192)]({'label':_0x2e0736,'icon':_0x43828f});const _0x58668f=new _0x8099fe(_0x4d0af7);for(const _0x1d24e5 of _0x2c0b98){if(_0x10561a(0x135)==_0x1d24e5[_0x10561a(0x131)]){_0x58668f[_0x10561a(0x178)][_0x10561a(0x1be)](new _0x43df22(_0x4d0af7));continue;}const _0x322b1b=new _0x7a4add(_0x4d0af7,_0x49aa92),_0x489d0d=new _0x3e7ca1(_0x4d0af7),_0x25d16b=_0x1d24e5[_0x10561a(0x179)];_0x489d0d[_0x10561a(0x134)](...Object[_0x10561a(0x1de)](_0x25d16b))['to'](_0x25d16b),_0x489d0d[_0x10561a(0x18d)](_0x10561a(0x172))['to'](_0x49aa92),_0x489d0d['on'](_0x10561a(0x172),()=>{const _0x5d2358=_0x10561a;this[_0x5d2358(0x159)][_0x5d2358(0x172)](_0x25d16b[_0x5d2358(0x16d)]),this[_0x5d2358(0x159)][_0x5d2358(0x16f)][_0x5d2358(0x12e)][_0x5d2358(0x173)]();}),_0x322b1b[_0x10561a(0x158)][_0x10561a(0x1be)](_0x489d0d),_0x58668f[_0x10561a(0x178)][_0x10561a(0x1be)](_0x322b1b);}return _0x49aa92[_0x10561a(0x134)](_0x10561a(0x140))['to'](_0x4b4e56,_0x10561a(0x140)),_0x49aa92[_0x10561a(0x1df)][_0x10561a(0x158)][_0x10561a(0x1be)](_0x58668f),_0x49aa92;}[_0x101332(0x1ba)](_0x2a3e30){const _0x71800f=_0x101332,_0x3e1b05=this[_0x71800f(0x159)],_0x34442b=_0x3e1b05[_0x71800f(0x19b)],_0x140bc3=_0x3e1b05[_0x71800f(0x132)][_0x71800f(0x1d0)](_0x71800f(0x1ae)),_0x31b54e=_0x3e1b05[_0x71800f(0x132)][_0x71800f(0x1d0)](_0x71800f(0x1ac)),_0x51cb10=_0x3e1b05[_0x71800f(0x132)][_0x71800f(0x1d0)](_0x71800f(0x1b6)),_0x16fddd=_0x3e1b05[_0x71800f(0x132)][_0x71800f(0x1d0)](_0xb36ab6)['me'],_0x30aa9a=_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x148))[_0x71800f(0x17c)],_0x4b9a10=_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x148))[_0x71800f(0x1cc)],{CommentsListView:_0x42395b,CommentThreadInputView:_0x408345}=_0x3e1b05[_0x71800f(0x132)][_0x71800f(0x1d0)](_0x71800f(0x1d8));let _0x63a3da,_0x18ec8f,_0x1892ff;this[_0x71800f(0x149)][_0x71800f(0x1d2)](_0x2a3e30['id'])?(_0x18ec8f=this[_0x71800f(0x149)][_0x71800f(0x1d0)](_0x2a3e30['id']),_0x63a3da=_0x18ec8f[_0x71800f(0x16e)]):(_0x63a3da=new _0x30aa9a(_0x3e1b05[_0x71800f(0x150)],_0x2a3e30,_0x16fddd,{'disableComments':this[_0x71800f(0x1a8)],'editorConfig':{..._0x34442b[_0x71800f(0x1d0)](_0x71800f(0x1dc)),'licenseKey':_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x1c2))},'maxCommentsWhenCollapsed':_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x169)),'maxThreadTotalWeight':_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x17b)),'maxCommentCharsWhenCollapsed':_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x1c3)),'formatDateTime':_0x27e256(_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x150)),_0x3e1b05[_0x71800f(0x150)]),'CommentView':_0x34442b[_0x71800f(0x1d0)](_0x71800f(0x176))[_0x71800f(0x189)],'CommentsListView':_0x42395b,'CommentThreadInputView':_0x408345,'SuggestionView':_0x4b9a10}),_0x63a3da[_0x71800f(0x1bd)][_0x71800f(0x1b2)]['on'](_0x71800f(0x172),()=>{const _0x44bdf6=_0x71800f;_0x3e1b05[_0x44bdf6(0x16f)][_0x44bdf6(0x12e)][_0x44bdf6(0x173)]();}),_0x63a3da[_0x71800f(0x1bd)][_0x71800f(0x1a5)]['on'](_0x71800f(0x172),()=>{const _0x399996=_0x71800f;_0x3e1b05[_0x399996(0x16f)][_0x399996(0x12e)][_0x399996(0x173)]();}),_0x18ec8f=_0x140bc3[_0x71800f(0x157)](this[_0x71800f(0x159)][_0x71800f(0x150)],_0x63a3da),_0x18ec8f[_0x71800f(0x134)](_0x71800f(0x14c))['to'](_0x63a3da,_0x71800f(0x14c)),_0x18ec8f[_0x71800f(0x134)](_0x71800f(0x1cf))['to'](_0x63a3da),_0x18ec8f[_0x71800f(0x134)](_0x71800f(0x131))['to'](_0x63a3da,_0x71800f(0x131),_0x501efd=>_0x71800f(0x177)+_0x501efd),_0x63a3da['on'](_0x71800f(0x1b4),()=>{const _0x443ed2=_0x71800f;_0x1892ff[_0x443ed2(0x19a)](_0x443ed2(0x1b4));}),this[_0x71800f(0x149)][_0x71800f(0x192)](_0x2a3e30['id'],_0x18ec8f));const _0x3baffe=_0x31b54e[_0x71800f(0x1a4)](_0x2a3e30[_0x71800f(0x1da)],_0x63a3da),_0x1ac25a=new _0x5bf714(_0x3e1b05,_0x2a3e30,_0x63a3da,_0x3baffe),_0x3de9f1=_0x2a3e30[_0x71800f(0x161)]()[_0x71800f(0x17f)](_0x57dea3=>_0x57dea3[_0x71800f(0x1b3)]);_0x63a3da[_0x71800f(0x1bc)]=_0x3e1b05[_0x71800f(0x132)][_0x71800f(0x1d0)](_0x71800f(0x145))[_0x71800f(0x1a7)][_0x71800f(0x18e)](_0x3de9f1),this[_0x71800f(0x152)][_0x71800f(0x192)](_0x2a3e30,_0x1ac25a),this[_0x71800f(0x171)][_0x71800f(0x192)](_0x63a3da,_0x1ac25a);const _0x5eb299=()=>{const _0x2e71e3=_0x71800f,_0x2cc7aa=[],_0x4755db=_0x2a3e30[_0x2e71e3(0x161)]()[_0x2e71e3(0x17f)](_0x22d581=>_0x22d581[_0x2e71e3(0x1b3)]);for(const _0x55a47c of _0x4755db)_0x2cc7aa[_0x2e71e3(0x19c)](..._0x55a47c[_0x2e71e3(0x170)]());return _0x137ae3(_0x3e1b05[_0x2e71e3(0x16f)],_0x2cc7aa);};_0x1892ff=_0x140bc3[_0x71800f(0x144)]({'view':_0x18ec8f,'target':_0x5eb299,'type':()=>_0x71800f(0x177)+_0x1ac25a[_0x71800f(0x12e)][_0x71800f(0x131)],'isVisible':!!_0x5eb299()}),_0x31b54e[_0x71800f(0x186)](_0x63a3da,_0x1892ff),_0x140bc3[_0x71800f(0x1be)](_0x1892ff),_0x51cb10[_0x71800f(0x1bf)](_0x1892ff);}[_0x101332(0x1a9)](_0x73470){const _0x103018=_0x101332,_0x13c999=this[_0x103018(0x159)][_0x103018(0x132)][_0x103018(0x1d0)](_0x103018(0x1ac)),_0x24bd63=this[_0x103018(0x159)][_0x103018(0x132)][_0x103018(0x1d0)](_0x103018(0x1ae)),_0x44b417=this[_0x103018(0x152)][_0x103018(0x1d0)](_0x73470),_0x1bc370=_0x44b417[_0x103018(0x12e)],_0x6bbc77=_0x24bd63[_0x103018(0x137)](_0x1bc370);_0x13c999[_0x103018(0x18c)](_0x1bc370),_0x6bbc77&&_0x24bd63[_0x103018(0x15c)](_0x6bbc77),this[_0x103018(0x152)][_0x103018(0x18a)](_0x73470),this[_0x103018(0x171)][_0x103018(0x18a)](_0x1bc370),_0x44b417[_0x103018(0x1a2)]();}[_0x101332(0x1d3)](_0x2cb56e){const _0x4c92a2=_0x101332;if(!_0x2cb56e[_0x4c92a2(0x1b3)]||!this[_0x4c92a2(0x152)][_0x4c92a2(0x1d2)](_0x2cb56e))return;const _0xe34dea=this[_0x4c92a2(0x159)][_0x4c92a2(0x132)][_0x4c92a2(0x1d0)](_0x4c92a2(0x145)),_0x96317d=this[_0x4c92a2(0x152)][_0x4c92a2(0x1d0)](_0x2cb56e),_0xf806e2=_0x2cb56e[_0x4c92a2(0x161)]();_0x96317d[_0x4c92a2(0x12e)][_0x4c92a2(0x1bc)]=_0xe34dea[_0x4c92a2(0x1a7)][_0x4c92a2(0x18e)](_0xf806e2);}[_0x101332(0x1a2)](){const _0x1d1ac3=_0x101332;for(const _0x15dc9d of this[_0x1d1ac3(0x152)][_0x1d1ac3(0x1de)]())this[_0x1d1ac3(0x1a9)](_0x15dc9d);for(const _0x3776d5 of this[_0x1d1ac3(0x149)][_0x1d1ac3(0x1b8)]())_0x3776d5[_0x1d1ac3(0x16e)][_0x1d1ac3(0x1a2)]();super[_0x1d1ac3(0x1a2)](),this[_0x1d1ac3(0x185)]&&clearInterval(this[_0x1d1ac3(0x185)]);}}function ve(_0x437d41){const _0xfffbb4=_0x101332;return _0xfffbb4(0x179)in _0x437d41;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x133865=_0x4c19;function _0x1c6b(){const _0x3f3a73=['getRanges','model','_pendingAction','1775457jtRbrE','40hdkJWG','listenTo','remove','get','199668IjDDLr','change:isDirty','1084836YsOopg','canEditAt','isEnabled','PENDING_ACTION_SUGGESTION','unbind','isDirty','canDiscard','canAccept','bind','commands','_acceptCommand','locale','_setPendingAction','291552BuotPc','618720lYyzhg','15PatMlv','_discardCommand','340532ZOFiye','_editor','add','destroy','273448slfHpw','view','discardSuggestion','stopListening','execute','63QiQjhu','commentThreadController','_removePendingAction','plugins','PendingActions','acceptSuggestion'];_0x1c6b=function(){return _0x3f3a73;};return _0x1c6b();}(function(_0x58089d,_0x29768a){const _0xc861ee=_0x4c19,_0x66bf8d=_0x58089d();while(!![]){try{const _0x527437=parseInt(_0xc861ee(0xdc))/0x1+-parseInt(_0xc861ee(0xe0))/0x2+-parseInt(_0xc861ee(0xcf))/0x3+-parseInt(_0xc861ee(0xcd))/0x4*(parseInt(_0xc861ee(0xde))/0x5)+parseInt(_0xc861ee(0xdd))/0x6+parseInt(_0xc861ee(0xe9))/0x7*(-parseInt(_0xc861ee(0xe4))/0x8)+-parseInt(_0xc861ee(0xc8))/0x9*(-parseInt(_0xc861ee(0xc9))/0xa);if(_0x527437===_0x29768a)break;else _0x66bf8d['push'](_0x66bf8d['shift']());}catch(_0x421111){_0x66bf8d['push'](_0x66bf8d['shift']());}}}(_0x1c6b,0x2f7ca));import{ObservableMixin as _0x108669}from'ckeditor5/src/utils.js';import{getTranslation as _0x57f759}from'../utils/common-translations.js';function _0x4c19(_0x29698c,_0x5663cf){const _0x1c6ba7=_0x1c6b();return _0x4c19=function(_0x4c1947,_0x2919ca){_0x4c1947=_0x4c1947-0xc0;let _0x749959=_0x1c6ba7[_0x4c1947];return _0x749959;},_0x4c19(_0x29698c,_0x5663cf);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x108669(){[_0x133865(0xc6)];[_0x133865(0xe5)];[_0x133865(0xc0)];[_0x133865(0xe1)];[_0x133865(0xd9)];[_0x133865(0xdf)];[_0x133865(0xc7)];constructor(_0x2c113e,_0x5eaded,_0x458720,_0x4a136a){const _0x21aa26=_0x133865;super(),this[_0x21aa26(0xc6)]=_0x5eaded,this[_0x21aa26(0xe5)]=_0x458720,this[_0x21aa26(0xc0)]=_0x4a136a,this[_0x21aa26(0xe1)]=_0x2c113e,this[_0x21aa26(0xd9)]=_0x2c113e[_0x21aa26(0xd8)][_0x21aa26(0xcc)](_0x21aa26(0xc4)),this[_0x21aa26(0xdf)]=_0x2c113e[_0x21aa26(0xd8)][_0x21aa26(0xcc)](_0x21aa26(0xe6)),this[_0x21aa26(0xe5)][_0x21aa26(0xd7)](_0x21aa26(0xd1))['to'](this[_0x21aa26(0xd9)],this[_0x21aa26(0xdf)],(_0x188ec8,_0x1fb0bf)=>_0x188ec8||_0x1fb0bf),this[_0x21aa26(0xe5)][_0x21aa26(0xd7)](_0x21aa26(0xd6))['to'](this[_0x21aa26(0xd9)],_0x21aa26(0xd1),_0x4a93c4=>_0x4a93c4&&this[_0x21aa26(0xe1)][_0x21aa26(0xc6)][_0x21aa26(0xd0)](_0x5eaded[_0x21aa26(0xc5)]())),this[_0x21aa26(0xe5)][_0x21aa26(0xd7)](_0x21aa26(0xd5))['to'](this[_0x21aa26(0xdf)],_0x21aa26(0xd1),_0x2ac87f=>_0x2ac87f&&this[_0x21aa26(0xe1)][_0x21aa26(0xc6)][_0x21aa26(0xd0)](_0x5eaded[_0x21aa26(0xc5)]())),this[_0x21aa26(0xc7)]=null,_0x458720[_0x21aa26(0xd4)]&&this[_0x21aa26(0xdb)](),this[_0x21aa26(0xca)](_0x458720,_0x21aa26(0xc4),()=>this[_0x21aa26(0xc4)]()),this[_0x21aa26(0xca)](_0x458720,_0x21aa26(0xe6),()=>this[_0x21aa26(0xe6)]()),this[_0x21aa26(0xca)](_0x458720,_0x21aa26(0xce),()=>{const _0x59ab95=_0x21aa26;_0x458720[_0x59ab95(0xd4)]?this[_0x59ab95(0xdb)]():this[_0x59ab95(0xc1)]();});}[_0x133865(0xc4)](){const _0x399691=_0x133865;this[_0x399691(0xd9)][_0x399691(0xe8)](this[_0x399691(0xc6)]['id']);}[_0x133865(0xe6)](){const _0x5a8825=_0x133865;this[_0x5a8825(0xdf)][_0x5a8825(0xe8)](this[_0x5a8825(0xc6)]['id']);}[_0x133865(0xe3)](){const _0x160903=_0x133865;this[_0x160903(0xe5)][_0x160903(0xd3)](_0x160903(0xd1)),this[_0x160903(0xe5)][_0x160903(0xd3)](_0x160903(0xd6)),this[_0x160903(0xe5)][_0x160903(0xd3)](_0x160903(0xd5)),this[_0x160903(0xe7)](),this[_0x160903(0xc0)][_0x160903(0xe3)](),this[_0x160903(0xc7)]&&this[_0x160903(0xc1)]();}[_0x133865(0xdb)](){const _0x166d6d=_0x133865,_0x5491aa=_0x57f759(this[_0x166d6d(0xe1)][_0x166d6d(0xda)],_0x166d6d(0xd2));this[_0x166d6d(0xc7)]=this[_0x166d6d(0xe1)][_0x166d6d(0xc2)][_0x166d6d(0xcc)](_0x166d6d(0xc3))[_0x166d6d(0xe2)](_0x5491aa);}[_0x133865(0xc1)](){const _0x1ed7f8=_0x133865;null!==this[_0x1ed7f8(0xc7)]&&this[_0x1ed7f8(0xe1)][_0x1ed7f8(0xc2)][_0x1ed7f8(0xcc)](_0x1ed7f8(0xc3))[_0x1ed7f8(0xcb)](this[_0x1ed7f8(0xc7)]),this[_0x1ed7f8(0xc7)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c1174=_0x394a;(function(_0x32f846,_0x598116){const _0x48abb1=_0x394a,_0x1b1c6d=_0x32f846();while(!![]){try{const _0x298b3f=parseInt(_0x48abb1(0x139))/0x1+-parseInt(_0x48abb1(0x13c))/0x2+-parseInt(_0x48abb1(0x14e))/0x3*(parseInt(_0x48abb1(0x150))/0x4)+-parseInt(_0x48abb1(0x155))/0x5*(parseInt(_0x48abb1(0x15f))/0x6)+-parseInt(_0x48abb1(0x172))/0x7*(-parseInt(_0x48abb1(0x14b))/0x8)+parseInt(_0x48abb1(0x162))/0x9*(parseInt(_0x48abb1(0x159))/0xa)+parseInt(_0x48abb1(0x15a))/0xb*(-parseInt(_0x48abb1(0x157))/0xc);if(_0x298b3f===_0x598116)break;else _0x1b1c6d['push'](_0x1b1c6d['shift']());}catch(_0x254099){_0x1b1c6d['push'](_0x1b1c6d['shift']());}}}(_0x2692,0x4f482));import{FocusCycler as _0x414fd2,View as _0x53aa45,ViewCollection as _0x348052}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2f03ff,KeystrokeHandler as _0x2158d1}from'ckeditor5/src/utils.js';function _0x394a(_0x54f061,_0x4b87a3){const _0x2692ef=_0x2692();return _0x394a=function(_0x394a6b,_0x3ed138){_0x394a6b=_0x394a6b-0x130;let _0x23b855=_0x2692ef[_0x394a6b];return _0x23b855;},_0x394a(_0x54f061,_0x4b87a3);}import{AriaDescriptionView as _0x2760b9,setupThreadKeyboardNavigation as _0x1162da}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2692(){const _0x49caf2=['addComment','text/html','focusTracker','disableComments','hasDirtyComment','focusCycler','isReadOnly','_createCommentThreadInputView','textContent','_createCommentViews','commentsListView','7ssvRmX','removeComment','render','tab','cancel','disabledSubmit','_localUser','content','bind','destroy','_config','join','editorConfig','commentThreadInputView','focusables','CommentView','length','name','618215oNFfyS','body','_model','66936TNRDWL','assign','author','isDirty','canDiscard','editor','canAccept','descriptionParts','submit','parseFromString','ariaDescriptionView','delegate','commentThread','element','keystrokes','5191520sLdeSO','commentInputView','formatDateTime','39xLZJCG','shift+tab','40536RcSwHV','setData','ariaLabel','value','isEnabled','4245peCFWJ','focus','12mWHKZg','locale','1473130aoiZaW','3249521lCLuBr','showInput','map','authoredAt','SUGGESTION_THREAD_ARIA_LABEL','4446QOTlSY','fire','isActive','9udaQxW','SUGGESTION_THREAD_DESCRIPTION','target','updateComment','set'];_0x2692=function(){return _0x49caf2;};return _0x2692();}import{getTranslation as _0x2bd1af}from'../../utils/common-translations.js';import{renderDescription as _0x360e23}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x53aa45{[_0x4c1174(0x171)];[_0x4c1174(0x134)];[_0x4c1174(0x146)];[_0x4c1174(0x135)];[_0x4c1174(0x169)];[_0x4c1174(0x14a)];[_0x4c1174(0x16c)];[_0x4c1174(0x13b)];[_0x4c1174(0x178)];[_0x4c1174(0x131)];constructor(_0x321afa,_0x2a178c,_0x74ad94,_0x2cb1e0){const _0x502831=_0x4c1174;super(_0x321afa),this[_0x502831(0x171)]=null,this[_0x502831(0x134)]=null,this[_0x502831(0x146)]=new _0x2760b9(_0x321afa,_0x2bd1af(_0x321afa,_0x502831(0x163))),this[_0x502831(0x166)](_0x502831(0x161),!0x1),this[_0x502831(0x166)](_0x502831(0x15d),_0x2a178c[_0x502831(0x15d)]),this[_0x502831(0x17a)](_0x502831(0x15d))['to'](_0x2a178c),this[_0x502831(0x166)](_0x502831(0x143),[]),this[_0x502831(0x166)](_0x502831(0x13f),!0x1),this[_0x502831(0x166)](_0x502831(0x154),!0x1),this[_0x502831(0x166)](_0x502831(0x142),!0x1),this[_0x502831(0x166)](_0x502831(0x140),!0x1),this[_0x502831(0x17a)](_0x502831(0x152))['to'](this,_0x502831(0x137),_0x2a178c,_0x502831(0x15d),this,_0x502831(0x143),(_0xd55e58,_0x5ca25c,_0x358e58)=>{const _0xf109ab=_0x502831,_0x58657f=_0x358e58[_0xf109ab(0x15c)](_0x2c6a21=>_0x360e23(_0x2c6a21[_0xf109ab(0x179)]))[_0xf109ab(0x132)]('.\x20')+'.';return _0x2bd1af(this[_0xf109ab(0x158)],_0xf109ab(0x15e),[_0xd55e58-0x1,_0x2a178c[_0xf109ab(0x13e)][_0xf109ab(0x138)],_0x5ca25c?_0x2cb1e0[_0xf109ab(0x14d)](_0x5ca25c):'',new DOMParser()[_0xf109ab(0x145)](_0x58657f,_0xf109ab(0x168))[_0xf109ab(0x13a)][_0xf109ab(0x16f)]]);}),this[_0x502831(0x135)]=new _0x348052(),this[_0x502831(0x169)]=new _0x2f03ff(),this[_0x502831(0x14a)]=new _0x2158d1(),this[_0x502831(0x16c)]=new _0x414fd2({'focusables':this[_0x502831(0x135)],'focusTracker':this[_0x502831(0x169)],'keystrokeHandler':this[_0x502831(0x14a)],'keystrokeHandlerOptions':{'filter':_0x562305=>_0x562305[_0x502831(0x164)]!==this[_0x502831(0x149)]},'actions':{'focusPrevious':_0x502831(0x14f),'focusNext':_0x502831(0x175)}}),this[_0x502831(0x13b)]=_0x2a178c,this[_0x502831(0x178)]=_0x74ad94,this[_0x502831(0x131)]=_0x2cb1e0,_0x2cb1e0[_0x502831(0x16a)]?this[_0x502831(0x166)](_0x502831(0x137),0x1):this[_0x502831(0x170)]();}[_0x4c1174(0x174)](){const _0x4bf790=_0x4c1174;super[_0x4bf790(0x174)](),_0x1162da(this,this[_0x4bf790(0x135)]);}[_0x4c1174(0x156)](){const _0x185e3a=_0x4c1174;this[_0x185e3a(0x149)][_0x185e3a(0x156)]();}[_0x4c1174(0x130)](){const _0x1ca2aa=_0x4c1174;this[_0x1ca2aa(0x171)]&&this[_0x1ca2aa(0x171)][_0x1ca2aa(0x130)](),this[_0x1ca2aa(0x134)]&&this[_0x1ca2aa(0x134)][_0x1ca2aa(0x130)](),super[_0x1ca2aa(0x130)]();}[_0x4c1174(0x170)](){const _0x546df0=_0x4c1174,{CommentsListView:_0x4d4319}=this[_0x546df0(0x131)];this[_0x546df0(0x171)]=new _0x4d4319(this[_0x546df0(0x158)],this[_0x546df0(0x13b)][_0x546df0(0x148)],Object[_0x546df0(0x13d)]({'CommentView':this[_0x546df0(0x131)][_0x546df0(0x136)]},this[_0x546df0(0x131)])),this[_0x546df0(0x171)][_0x546df0(0x147)](_0x546df0(0x173))['to'](this),this[_0x546df0(0x171)][_0x546df0(0x147)](_0x546df0(0x165))['to'](this),this[_0x546df0(0x171)][_0x546df0(0x17a)](_0x546df0(0x161))['to'](this),this[_0x546df0(0x166)](_0x546df0(0x137),this[_0x546df0(0x171)][_0x546df0(0x137)]+0x1),this[_0x546df0(0x17a)](_0x546df0(0x137))['to'](this[_0x546df0(0x171)],_0x546df0(0x137),_0x2eec5e=>_0x2eec5e+0x1),this[_0x546df0(0x134)]=this[_0x546df0(0x16e)](),this['on'](_0x546df0(0x173),()=>this[_0x546df0(0x156)]()),this[_0x546df0(0x17a)](_0x546df0(0x13f))['to'](this[_0x546df0(0x171)],_0x546df0(0x16b),this[_0x546df0(0x134)][_0x546df0(0x14c)],_0x546df0(0x153),(_0x4dffb1,_0x4484f0)=>_0x4dffb1||!!_0x4484f0);}[_0x4c1174(0x16e)](){const _0x15af41=_0x4c1174,{CommentThreadInputView:_0x460bed}=this[_0x15af41(0x131)],_0x491f11=new _0x460bed(this[_0x15af41(0x158)],this[_0x15af41(0x178)],this[_0x15af41(0x131)][_0x15af41(0x133)]),_0x5eb6cb=_0x491f11[_0x15af41(0x14c)];return _0x491f11[_0x15af41(0x17a)](_0x15af41(0x15b))['to'](this,_0x15af41(0x161),this[_0x15af41(0x13b)][_0x15af41(0x148)],_0x15af41(0x16d),_0x5eb6cb,_0x15af41(0x153),(_0x1addce,_0x3b010a,_0x5f0d68)=>!!_0x5f0d68||_0x1addce&&!_0x3b010a),_0x5eb6cb['on'](_0x15af41(0x144),(_0x2063a8,_0x230b01)=>{const _0x18ca82=_0x15af41;this[_0x18ca82(0x160)](_0x18ca82(0x167),_0x230b01),_0x5eb6cb[_0x18ca82(0x141)][_0x18ca82(0x151)]('');}),_0x5eb6cb['on'](_0x15af41(0x176),()=>this[_0x15af41(0x156)]()),_0x5eb6cb[_0x15af41(0x17a)](_0x15af41(0x177))['to'](this[_0x15af41(0x13b)][_0x15af41(0x148)],_0x15af41(0x16d)),_0x491f11;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10c16b=_0x5479;(function(_0x5931e8,_0x2eeddf){const _0x520646=_0x5479,_0x2bfaa8=_0x5931e8();while(!![]){try{const _0x145233=parseInt(_0x520646(0xfb))/0x1+-parseInt(_0x520646(0xe6))/0x2+parseInt(_0x520646(0xfc))/0x3+-parseInt(_0x520646(0xf4))/0x4+-parseInt(_0x520646(0xfd))/0x5*(parseInt(_0x520646(0x109))/0x6)+-parseInt(_0x520646(0xf5))/0x7+-parseInt(_0x520646(0xeb))/0x8*(-parseInt(_0x520646(0xec))/0x9);if(_0x145233===_0x2eeddf)break;else _0x2bfaa8['push'](_0x2bfaa8['shift']());}catch(_0x2995a4){_0x2bfaa8['push'](_0x2bfaa8['shift']());}}}(_0x7f39,0x9dc98));import{BaseSuggestionThreadView as _0x247825}from'./basesuggestionthreadview.js';import{trimHtml as _0x64e716}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5a215c}from'../../utils/utils.js';function _0x5479(_0x37e648,_0x37ef31){const _0x7f3972=_0x7f39();return _0x5479=function(_0x5479db,_0x5dea0e){_0x5479db=_0x5479db-0xd5;let _0x24bad8=_0x7f3972[_0x5479db];return _0x24bad8;},_0x5479(_0x37e648,_0x37ef31);}export class SuggestionThreadView extends _0x247825{[_0x10c16b(0xd6)];[_0x10c16b(0x103)];constructor(_0x2fdc02,_0x3cdb35,_0x3aee53,_0xa836c){const _0x5ddfc8=_0x10c16b;super(_0x2fdc02,_0x3cdb35,_0x3aee53,_0xa836c),this[_0x5ddfc8(0xff)](_0x5ddfc8(0xd9),''),this[_0x5ddfc8(0xe0)](_0x5ddfc8(0xd9))['to'](this,_0x5ddfc8(0xd5),_0xb34a84=>_0xb34a84&&_0xb34a84[0x0]?_0xb34a84[0x0][_0x5ddfc8(0xd9)]:''),this[_0x5ddfc8(0xe0)](_0x5ddfc8(0xda))['to'](this,_0x5ddfc8(0xd5),this,_0x5ddfc8(0x104),(_0x5e92ee,_0x58512f)=>{const _0x10541a=_0x5ddfc8;let _0x45d76e='';for(const _0x412dc1 of _0x5e92ee)_0x45d76e+=_0x10541a(0xe5)+_0x5a215c(_0x412dc1[_0x10541a(0x107)],_0x412dc1[_0x10541a(0xe3)])+_0x10541a(0xef);return _0x58512f?_0x45d76e:_0x64e716(_0x45d76e,{'limit':0x8c});}),this[_0x5ddfc8(0x103)]=null,this[_0x5ddfc8(0xd6)]=new _0xa836c[(_0x5ddfc8(0xee))](_0x2fdc02,_0x3cdb35,{'formatDateTime':_0xa836c[_0x5ddfc8(0xfa)]}),this[_0x5ddfc8(0xd6)][_0x5ddfc8(0xe0)](_0x5ddfc8(0xda))['to'](this),this[_0x5ddfc8(0xd6)][_0x5ddfc8(0xe4)](_0x5ddfc8(0xf3),_0x5ddfc8(0x105))['to'](this),this[_0x5ddfc8(0xd6)][_0x5ddfc8(0xf9)][_0x5ddfc8(0xe0)](_0x5ddfc8(0xf8))['to'](this,_0x5ddfc8(0x100)),this[_0x5ddfc8(0xd6)][_0x5ddfc8(0x10a)][_0x5ddfc8(0xe0)](_0x5ddfc8(0xf8))['to'](this,_0x5ddfc8(0xe9)),this[_0x5ddfc8(0xd8)][_0x5ddfc8(0x108)](this[_0x5ddfc8(0xd6)]),this[_0x5ddfc8(0xed)]&&this[_0x5ddfc8(0xd8)][_0x5ddfc8(0x108)](this[_0x5ddfc8(0xed)]),this[_0x5ddfc8(0xe8)]&&this[_0x5ddfc8(0xd8)][_0x5ddfc8(0x108)](this[_0x5ddfc8(0xe8)]),this[_0x5ddfc8(0x10c)](this[_0x5ddfc8(0x101)]());}[_0x10c16b(0x101)](){const _0x26c0df=_0x10c16b,_0x5a248b=this[_0x26c0df(0xf2)],_0x455c11=[this[_0x26c0df(0xd6)]];return this[_0x26c0df(0xed)]&&_0x455c11[_0x26c0df(0x106)](this[_0x26c0df(0xed)]),this[_0x26c0df(0xe8)]&&_0x455c11[_0x26c0df(0x106)](this[_0x26c0df(0xe8)]),_0x455c11[_0x26c0df(0x106)](this[_0x26c0df(0xfe)]),{'tag':_0x26c0df(0xf6),'attributes':{'class':['ck',_0x26c0df(0xea),_0x26c0df(0xe7),_0x5a248b['if'](_0x26c0df(0x104),_0x26c0df(0xe2)),_0x5a248b['to'](_0x26c0df(0xd9),_0x3768db=>_0x26c0df(0x10b)+_0x3768db),this[_0x26c0df(0xf0)][_0x26c0df(0xdc)]&&_0x26c0df(0xf1)],'data-suggestion-id':this[_0x26c0df(0xe1)]['id'],'data-thread-id':this[_0x26c0df(0xe1)][_0x26c0df(0x102)]['id'],'data-author-id':this[_0x26c0df(0xe1)][_0x26c0df(0xdf)]['id'],'tabindex':0x0,'role':_0x26c0df(0xdd),'aria-label':_0x5a248b['to'](_0x26c0df(0xdb)),'aria-describedby':this[_0x26c0df(0xfe)]['id']},'children':_0x455c11};}[_0x10c16b(0xd7)](){const _0xa4aa62=_0x10c16b;super[_0xa4aa62(0xd7)](),this[_0xa4aa62(0xed)]&&(this[_0xa4aa62(0xed)][_0xa4aa62(0xe4)](_0xa4aa62(0xf7))['to'](this),this[_0xa4aa62(0xed)][_0xa4aa62(0xe4)](_0xa4aa62(0xde))['to'](this)),this[_0xa4aa62(0xe8)]&&(this[_0xa4aa62(0xe8)][_0xa4aa62(0xe4)](_0xa4aa62(0xf7))['to'](this),this[_0xa4aa62(0xe8)][_0xa4aa62(0xe4)](_0xa4aa62(0xde))['to'](this));}}function _0x7f39(){const _0x5b2887=['ck-suggestion-wrapper','commentThreadInputView','canDiscard','ck-rounded-corners','8vuctCg','27553131whqdJl','commentsListView','SuggestionView','</p>','_config','ck-suggestion--disabled-comments','bindTemplate','acceptSuggestion','3333228imtfET','7687911lgyaUr','div','editorReady','isEnabled','acceptButton','formatDateTime','1254359yzBrSU','1006461opBctJ','770XQFmWX','ariaDescriptionView','set','canAccept','getTemplate','commentThread','_descriptionElement','isActive','discardSuggestion','push','content','add','37506dBbIum','discardButton','ck-suggestion-','setTemplate','descriptionParts','suggestionView','render','focusables','type','description','ariaLabel','disableComments','listitem','editorDestroyed','author','bind','_model','ck-suggestion-wrapper--active','color','delegate','<p>','2221550ICcJAc'];_0x7f39=function(){return _0x5b2887;};return _0x7f39();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ad0e6=_0x29bd;(function(_0x27c6ba,_0x3ca4ef){const _0x103992=_0x29bd,_0x101932=_0x27c6ba();while(!![]){try{const _0x90d4b9=parseInt(_0x103992(0x129))/0x1*(parseInt(_0x103992(0x162))/0x2)+parseInt(_0x103992(0x167))/0x3*(parseInt(_0x103992(0x15a))/0x4)+-parseInt(_0x103992(0x11a))/0x5+-parseInt(_0x103992(0x151))/0x6*(-parseInt(_0x103992(0x14b))/0x7)+-parseInt(_0x103992(0x147))/0x8*(-parseInt(_0x103992(0x153))/0x9)+parseInt(_0x103992(0x16d))/0xa+-parseInt(_0x103992(0x15b))/0xb*(parseInt(_0x103992(0x132))/0xc);if(_0x90d4b9===_0x3ca4ef)break;else _0x101932['push'](_0x101932['shift']());}catch(_0x3ea256){_0x101932['push'](_0x101932['shift']());}}}(_0x416d,0x911f3));import{FocusTracker as _0x2798b1,KeystrokeHandler as _0x46b004}from'ckeditor5/src/utils.js';import{View as _0x52b15b,ViewCollection as _0xfc3786,FocusCycler as _0x44eac3}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x52193b,UserView as _0x42dc86}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1db78b,IconCheck as _0x5c32a5}from'ckeditor5/src/icons.js';function _0x29bd(_0x420665,_0x4cb87e){const _0x416df4=_0x416d();return _0x29bd=function(_0x29bdac,_0x2c184d){_0x29bdac=_0x29bdac-0x117;let _0x3ab015=_0x416df4[_0x29bdac];return _0x3ab015;},_0x29bd(_0x420665,_0x4cb87e);}import{getTranslation as _0x499708}from'../../utils/common-translations.js';export class SuggestionView extends _0x52b15b{[_0x2ad0e6(0x157)];[_0x2ad0e6(0x14d)];[_0x2ad0e6(0x145)];[_0x2ad0e6(0x16c)];[_0x2ad0e6(0x170)];[_0x2ad0e6(0x135)];[_0x2ad0e6(0x12c)];[_0x2ad0e6(0x155)];[_0x2ad0e6(0x118)];constructor(_0x2437fc,_0xdd7bbf,_0x5bab0e){const _0x4ad499=_0x2ad0e6;super(_0x2437fc),this[_0x4ad499(0x155)]=_0xdd7bbf,this[_0x4ad499(0x118)]=_0x5bab0e,this[_0x4ad499(0x126)](_0x4ad499(0x133),''),this[_0x4ad499(0x16a)](_0x4ad499(0x16e))['to'](_0xdd7bbf),this[_0x4ad499(0x14d)]=this[_0x4ad499(0x160)](_0x499708(_0x2437fc,_0x4ad499(0x16f)),_0x5c32a5,_0x4ad499(0x12f),_0x4ad499(0x140),'sw'),this[_0x4ad499(0x145)]=this[_0x4ad499(0x160)](_0x499708(_0x2437fc,_0x4ad499(0x14a)),_0x1db78b,_0x4ad499(0x144),_0x4ad499(0x131),'sw'),this[_0x4ad499(0x157)]=new _0x42dc86(_0x2437fc,_0xdd7bbf[_0x4ad499(0x146)],this[_0x4ad499(0x134)]()),this[_0x4ad499(0x157)][_0x4ad499(0x150)]({'attributes':{'class':[_0x4ad499(0x159),_0x4ad499(0x137)],'aria-hidden':!0x0}}),this[_0x4ad499(0x16c)]=new _0xfc3786([this[_0x4ad499(0x14d)],this[_0x4ad499(0x145)]]),this[_0x4ad499(0x170)]=new _0x2798b1(),this[_0x4ad499(0x135)]=new _0x46b004(),this[_0x4ad499(0x12c)]=new _0x44eac3({'focusables':this[_0x4ad499(0x16c)],'focusTracker':this[_0x4ad499(0x170)],'keystrokeHandler':this[_0x4ad499(0x135)],'actions':{'focusPrevious':_0x4ad499(0x14f),'focusNext':_0x4ad499(0x13d)},'keystrokeHandlerOptions':{'filter':_0x5d1102=>_0x5d1102[_0x4ad499(0x158)]!==this[_0x4ad499(0x128)]}}),this[_0x4ad499(0x138)](this[_0x4ad499(0x16b)]());}[_0x2ad0e6(0x154)](){const _0x5ca061=_0x2ad0e6;super[_0x5ca061(0x154)]();const _0xbec36c=this[_0x5ca061(0x128)][_0x5ca061(0x122)](_0x5ca061(0x130));_0xbec36c[_0x5ca061(0x141)]=this[_0x5ca061(0x133)],this['on'](_0x5ca061(0x13e),(_0x2816dd,_0x5323ae,_0x1a5f39)=>{const _0x3ba3a6=_0x5ca061;_0xbec36c[_0x3ba3a6(0x141)]=_0x1a5f39;}),this[_0x5ca061(0x13a)]();}[_0x2ad0e6(0x16b)](){const _0x11e2a2=_0x2ad0e6,_0x443cdf=this[_0x11e2a2(0x164)],_0x55704d=[{'tag':_0x11e2a2(0x11e),'attributes':{'class':[_0x11e2a2(0x171),_0x11e2a2(0x119)]},'children':[{'tag':_0x11e2a2(0x11c),'children':[{'text':this[_0x11e2a2(0x157)][_0x11e2a2(0x15e)]}],'attributes':{'class':[_0x11e2a2(0x123),_0x11e2a2(0x152)],'data-cke-tooltip-text':this[_0x11e2a2(0x157)][_0x11e2a2(0x15e)]}},{'tag':_0x11e2a2(0x136),'attributes':{'datetime':_0x443cdf['to'](_0x11e2a2(0x16e)),'class':[_0x11e2a2(0x12b),_0x11e2a2(0x15c)]},'children':[{'text':_0x443cdf['to'](_0x11e2a2(0x16e),_0x535634=>this[_0x11e2a2(0x118)][_0x11e2a2(0x149)](_0x535634))}]}]},{'tag':_0x11e2a2(0x11e),'attributes':{'class':[_0x11e2a2(0x11b),_0x11e2a2(0x125)]},'children':[this[_0x11e2a2(0x14d)],this[_0x11e2a2(0x145)]]},{'tag':_0x11e2a2(0x11e),'attributes':{'class':[_0x11e2a2(0x166)]}}];return this[_0x11e2a2(0x155)][_0x11e2a2(0x12d)]&&_0x55704d[_0x11e2a2(0x11d)]({'tag':_0x11e2a2(0x11e),'attributes':{'class':[_0x11e2a2(0x11f)]},'children':[{'text':this[_0x11e2a2(0x142)]()}]}),{'tag':_0x11e2a2(0x11e),'attributes':{'class':[_0x11e2a2(0x13c),_0x11e2a2(0x139)],'tabindex':-0x1},'children':[this[_0x11e2a2(0x157)],{'tag':_0x11e2a2(0x11e),'attributes':{'class':[_0x11e2a2(0x117),_0x11e2a2(0x121)],'role':_0x11e2a2(0x15f)},'children':_0x55704d}]};}[_0x2ad0e6(0x14c)](){const _0x3158d9=_0x2ad0e6;this[_0x3158d9(0x128)][_0x3158d9(0x14c)]();}[_0x2ad0e6(0x134)](){const _0x15db3f=_0x2ad0e6;return this[_0x15db3f(0x155)][_0x15db3f(0x12d)]?_0x15db3f(0x148)===this[_0x15db3f(0x155)][_0x15db3f(0x169)][_0x15db3f(0x13f)][_0x15db3f(0x168)]?_0x499708(this[_0x15db3f(0x165)],_0x15db3f(0x12a),this[_0x15db3f(0x155)][_0x15db3f(0x15d)][_0x15db3f(0x15e)]):_0x499708(this[_0x15db3f(0x165)],_0x15db3f(0x161),this[_0x15db3f(0x155)][_0x15db3f(0x15d)][_0x15db3f(0x15e)]):null;}[_0x2ad0e6(0x142)](){const _0xf55305=_0x2ad0e6;return _0xf55305(0x148)===this[_0xf55305(0x155)][_0xf55305(0x169)][_0xf55305(0x13f)][_0xf55305(0x168)]?_0x499708(this[_0xf55305(0x165)],_0xf55305(0x127)):_0x499708(this[_0xf55305(0x165)],_0xf55305(0x124));}[_0x2ad0e6(0x160)](_0x556e58,_0x8cf4f4,_0x441b49,_0x34f7c0,_0x141c92){const _0x42377d=_0x2ad0e6,_0x5ea571=new _0x52193b(this[_0x42377d(0x165)]);return _0x5ea571[_0x42377d(0x126)]({'label':_0x556e58,'icon':_0x8cf4f4,'tooltip':!0x0,'tooltipPosition':_0x141c92}),_0x5ea571[_0x42377d(0x150)]({'attributes':{'class':_0x441b49}}),_0x5ea571['on'](_0x42377d(0x13b),()=>{const _0x30b30c=_0x42377d;this[_0x30b30c(0x143)](_0x34f7c0,this[_0x30b30c(0x155)]['id']);}),_0x5ea571;}[_0x2ad0e6(0x13a)](){const _0x590df1=_0x2ad0e6,_0x4822d3=this[_0x590df1(0x128)];this[_0x590df1(0x135)][_0x590df1(0x156)](_0x4822d3);for(const _0x367785 of this[_0x590df1(0x16c)])this[_0x590df1(0x170)][_0x590df1(0x12e)](_0x367785[_0x590df1(0x128)]),this[_0x590df1(0x135)][_0x590df1(0x156)](_0x367785[_0x590df1(0x128)]);this[_0x590df1(0x135)][_0x590df1(0x126)](_0x590df1(0x14e),(_0x12e9f0,_0x36b1b1)=>{const _0x296db7=_0x590df1;_0x4822d3===_0x12e9f0[_0x296db7(0x158)]&&(this[_0x296db7(0x12c)][_0x296db7(0x120)](),_0x36b1b1());}),this[_0x590df1(0x135)][_0x590df1(0x126)](_0x590df1(0x163),(_0xd55b5d,_0x29fe2a)=>{const _0x5903d9=_0x590df1;_0x4822d3!==_0xd55b5d[_0x5903d9(0x158)]&&(this[_0x5903d9(0x14c)](),_0x29fe2a());});}}function _0x416d(){const _0x361d5b=['ck-suggestion__actions','span','push','div','ck-comment__external','focusFirst','ck-annotation__main','querySelector','ck-suggestion__info-name','EXTERNAL_SUGGESTION','ck-annotation__actions','set','EXTERNAL_IMPORT_WORD_SUGGESTION','element','382362SfGqbi','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__info-time','focusCycler','isExternal','add','ck-suggestion--accept','.ck-annotation__content-wrapper','discardSuggestion','24pxidKL','description','getUserViewNotificationText','keystrokes','time','ck-annotation__user','setTemplate','ck-annotation','_setupKeyboardNavigation','execute','ck-suggestion','tab','change:description','@external','acceptSuggestion','innerHTML','getExternalSuggestionNote','fire','ck-suggestion--discard','discardButton','author','8eBIzSR','importWord','formatDateTime','Discard\x20suggestion','3445078gBzMeq','focus','acceptButton','enter','shift+tab','extendTemplate','6OVqdGy','ck-annotation__info-name','2941551dmtCpv','render','_model','listenTo','userView','target','ck-suggestion__user','36392dTJXvu','7542843Shrbfd','ck-annotation__info-time','creator','name','presentation','_createButton','EXTERNAL_AVATAR','4YTHwSj','esc','bindTemplate','locale','ck-annotation__content-wrapper','75GmHBDc','source','attributes','bind','getTemplate','focusables','10710130wcjdhW','authoredAt','Accept\x20suggestion','focusTracker','ck-suggestion__info','ck-suggestion__main','_config','ck-annotation__info','4581675BSOCns'];_0x416d=function(){return _0x361d5b;};return _0x416d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c17f4=_0x1ff4;function _0x95ca(){const _0x3cdbd2=['8902788HVoTFc','ck-track-changes-preview','render','setAttribute','style','setPreviewData','dialogRects','2210AwyDAc','12Ehytdv','1979481AEkSvy','innerHTML','setTemplate','2184bVTGXY','29953wFQCQY','2GwBSTv','1055298pHvfYV','\x20ck-track-changes-preview__root-container','previewDataReady','ck-reset','height','data-ck-root-name','className','fire','467355VCsJQv','createElement','8VeqWVI','element','content','push','width','div','classes','options','focus','3143979xiCbTx','5tpyIlN'];_0x95ca=function(){return _0x3cdbd2;};return _0x95ca();}function _0x1ff4(_0x5e45b4,_0xc59156){const _0x95ca0f=_0x95ca();return _0x1ff4=function(_0x1ff4c2,_0x255d10){_0x1ff4c2=_0x1ff4c2-0x12d;let _0x3c0d9c=_0x95ca0f[_0x1ff4c2];return _0x3c0d9c;},_0x1ff4(_0x5e45b4,_0xc59156);}(function(_0x5de71b,_0x419996){const _0x478eb9=_0x1ff4,_0x30a455=_0x5de71b();while(!![]){try{const _0x3f750b=parseInt(_0x478eb9(0x147))/0x1+parseInt(_0x478eb9(0x13e))/0x2*(parseInt(_0x478eb9(0x13f))/0x3)+parseInt(_0x478eb9(0x13c))/0x4*(-parseInt(_0x478eb9(0x12f))/0x5)+-parseInt(_0x478eb9(0x138))/0x6*(-parseInt(_0x478eb9(0x139))/0x7)+-parseInt(_0x478eb9(0x149))/0x8*(-parseInt(_0x478eb9(0x12e))/0x9)+parseInt(_0x478eb9(0x137))/0xa*(-parseInt(_0x478eb9(0x13d))/0xb)+-parseInt(_0x478eb9(0x130))/0xc;if(_0x3f750b===_0x419996)break;else _0x30a455['push'](_0x30a455['shift']());}catch(_0x581266){_0x30a455['push'](_0x30a455['shift']());}}}(_0x95ca,0x5f29e));import{View as _0x543980}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x543980{[_0x1c17f4(0x150)];constructor(_0xcd5f0f,_0x170bf5){const _0x24ebea=_0x1c17f4;super(_0xcd5f0f),this[_0x24ebea(0x150)]=_0x170bf5,this[_0x24ebea(0x13b)]({'tag':_0x24ebea(0x14e),'attributes':{'class':['ck',_0x24ebea(0x142),_0x24ebea(0x131)],'tabindex':-0x1}});}[_0x1c17f4(0x132)](){const _0x541874=_0x1c17f4;super[_0x541874(0x132)](),this[_0x541874(0x14a)][_0x541874(0x134)][_0x541874(0x14d)]=this[_0x541874(0x150)][_0x541874(0x136)][_0x541874(0x14d)]+'px',this[_0x541874(0x14a)][_0x541874(0x134)][_0x541874(0x143)]=this[_0x541874(0x150)][_0x541874(0x136)][_0x541874(0x143)]+'px';}[_0x1c17f4(0x135)](_0x4e5dfb,_0x43676c){const _0x1c3435=_0x1c17f4;if(!this[_0x1c3435(0x14a)])return;const _0x28b94c=[];for(const [_0x34636c,_0x40a0f5]of _0x4e5dfb){const _0x4566d6=document[_0x1c3435(0x148)](_0x1c3435(0x14e));_0x4566d6[_0x1c3435(0x133)](_0x1c3435(0x144),_0x34636c),_0x4566d6[_0x1c3435(0x145)]=_0x40a0f5[_0x1c3435(0x14f)]+_0x1c3435(0x140),_0x4566d6[_0x1c3435(0x13a)]=_0x40a0f5[_0x1c3435(0x14b)],_0x28b94c[_0x1c3435(0x14c)](_0x4566d6);}_0x43676c(this[_0x1c3435(0x14a)],_0x28b94c),this[_0x1c3435(0x14a)][_0x1c3435(0x134)][_0x1c3435(0x143)]='',this[_0x1c3435(0x146)](_0x1c3435(0x141));}[_0x1c17f4(0x12d)](){const _0x43c371=_0x1c17f4;this[_0x43c371(0x14a)][_0x43c371(0x12d)]();}}
|
|
@@ -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(_0x4f839b,_0x337794,_0x16103b){const _0x258659=_0x4f839b['t'],t=_0x4f839b['t'];switch(_0x337794){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',_0x16103b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x16103b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x16103b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x16103b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x16103b);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',_0x16103b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x16103b);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',_0x16103b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x16103b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x16103b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x16103b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x16103b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x16103b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x16103b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x16103b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x16103b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x16103b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x16103b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x16103b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x16103b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x16103b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x16103b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x16103b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x16103b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x16103b);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'},_0x16103b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x16103b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x16103b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x16103b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x16103b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x16103b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x16103b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x16103b);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'},_0x16103b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x16103b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x16103b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x16103b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x16103b);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'},_0x16103b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x16103b);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'},_0x16103b);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'},_0x16103b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x16103b);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'},_0x16103b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x16103b);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'},_0x16103b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x16103b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x16103b);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'},_0x16103b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x16103b);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 _0x258659({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x16103b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x258659({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x16103b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x16103b);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'},_0x16103b);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'},_0x16103b);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'},_0x16103b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x337794;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xf4bb22,_0x51e80d){const _0x75c2fe=_0x51f4,_0x5db265=_0xf4bb22();while(!![]){try{const _0x194194=parseInt(_0x75c2fe(0x19e))/0x1*(-parseInt(_0x75c2fe(0x1ab))/0x2)+parseInt(_0x75c2fe(0x1b3))/0x3+-parseInt(_0x75c2fe(0x199))/0x4*(parseInt(_0x75c2fe(0x195))/0x5)+parseInt(_0x75c2fe(0x1b8))/0x6+parseInt(_0x75c2fe(0x1a7))/0x7*(parseInt(_0x75c2fe(0x184))/0x8)+-parseInt(_0x75c2fe(0x19b))/0x9+parseInt(_0x75c2fe(0x192))/0xa;if(_0x194194===_0x51e80d)break;else _0x5db265['push'](_0x5db265['shift']());}catch(_0x22df73){_0x5db265['push'](_0x5db265['shift']());}}}(_0x1481,0xad79b));export function normalizeDescription(_0xe37b56){const _0x1a3d12=_0x51f4;return Array[_0x1a3d12(0x189)](_0xe37b56)||(_0xe37b56=[_0xe37b56]),_0xe37b56[_0x1a3d12(0x1a0)](_0x19dc43=>{const _0x1e64f5=_0x1a3d12,_0x461f0b=_0x19dc43[_0x1e64f5(0x18b)][_0x1e64f5(0x1a8)](/\*/g,''),_0xac5350=_0x19dc43[_0x1e64f5(0x1a2)]?_0x1e64f5(0x196)+_0x19dc43[_0x1e64f5(0x1a2)][_0x1e64f5(0x1b1)]+']':'';return'['+_0x19dc43[_0x1e64f5(0x18a)]+']\x20'+_0x461f0b+_0xac5350;})[_0x1a3d12(0x185)](';\x20');}export function renderDescription(_0x5d4763,_0x2eba46){const _0x18176b=_0x51f4;let _0x536765='';return _0x536765+=_0x5d4763[_0x18176b(0x183)]('*')[_0x18176b(0x1a0)]((_0x1847b8,_0x216bae)=>_0x216bae%0x2!=0x0?_0x18176b(0x19c)+tn(_0x1847b8)+_0x18176b(0x1b9):tn(_0x1847b8))[_0x18176b(0x185)](''),_0x2eba46&&(_0x536765+=_0x18176b(0x1a5)+_0x2eba46[_0x18176b(0x1b1)]+_0x18176b(0x18d)+_0x2eba46[_0x18176b(0x1ac)]+_0x18176b(0x1a4)),_0x536765;}function tn(_0x53edb1){const _0x3ea940=_0x51f4,_0x3c1399=document[_0x3ea940(0x1b2)](_0x3ea940(0x191));return _0x3c1399[_0x3ea940(0x19a)]=_0x53edb1,_0x3c1399[_0x3ea940(0x187)];}export function sortSuggestions(_0x35e649){const _0x2a924c=_0x51f4;return _0x35e649[_0x2a924c(0x193)]((_0x37f721,_0x149379)=>_0x2a924c(0x18e)===_0x37f721[_0x2a924c(0x18a)]&&_0x2a924c(0x18e)!==_0x149379[_0x2a924c(0x18a)]?-0x1:_0x2a924c(0x18e)!==_0x37f721[_0x2a924c(0x18a)]&&_0x2a924c(0x18e)===_0x149379[_0x2a924c(0x18a)]?0x1:_0x2a924c(0x18f)==_0x37f721[_0x2a924c(0x18a)]&&_0x2a924c(0x18f)!=_0x149379[_0x2a924c(0x18a)]?-0x1:_0x2a924c(0x18f)!=_0x37f721[_0x2a924c(0x18a)]&&_0x2a924c(0x18f)==_0x149379[_0x2a924c(0x18a)]?0x1:0x0);}function _0x1481(){const _0xd04f64=['execute','\x22\x20title=\x22','attribute','deletion','from','span','16687600hjfglT','sort','isTouching','345EHSjQS','\x20[color\x20','createPositionAt','next','57492njUcUp','innerText','12191085sSvamZ','<span\x20class=\x22ck-suggestion-type\x22>','createPositionBefore','103IjWwwz','isInContent','map','push','color','change','\x22></span>','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','splice','4941335FlchTv','replace','getRanges','end','25852nDePgQ','title','length','start','isObject','schema','value','createElement','3756630ChRzfQ','createRange','isIntersecting','isMultiRange','add','4568160vDhzrz','</span>','split','8yBjwGZ','join','isCollapsed','innerHTML','createPositionAfter','isArray','type','content'];_0x1481=function(){return _0xd04f64;};return _0x1481();}export function getSelectedSuggestions(_0x4cee6d,_0x2cdf99){const _0x54f997=_0x51f4,_0x58c04f=Array[_0x54f997(0x190)](_0x4cee6d[_0x54f997(0x1a9)]()),_0x1e879f=new Set();for(const _0x11960f of _0x2cdf99)if(_0x11960f[_0x54f997(0x19f)]){for(const _0x240539 of _0x58c04f)for(const _0x3774c5 of _0x11960f[_0x54f997(0x1a9)]())(_0x240539[_0x54f997(0x1b5)](_0x3774c5)||_0x4cee6d[_0x54f997(0x186)]&&!_0x11960f[_0x54f997(0x1b6)]&&_0x11960f[_0x54f997(0x198)]&&_0x3774c5[_0x54f997(0x1aa)][_0x54f997(0x194)](_0x240539[_0x54f997(0x1ae)]))&&_0x1e879f[_0x54f997(0x1b7)](_0x11960f);}return _0x1e879f;}function _0x51f4(_0xd1ff,_0xe9de74){const _0x148192=_0x1481();return _0x51f4=function(_0x51f4b8,_0x7141a6){_0x51f4b8=_0x51f4b8-0x183;let _0x57c789=_0x148192[_0x51f4b8];return _0x57c789;},_0x51f4(_0xd1ff,_0xe9de74);}export function getRangesOfBlockGroups(_0x180782,_0x5bf076){const _0x4946c1=_0x51f4;let _0x3cc048,_0x1cc723=0x0;const _0x4fb187=[],_0x868851=_0x5bf076[_0x4946c1(0x1b0)];for(;_0x1cc723<_0x180782[_0x4946c1(0x1ad)];){const _0x50c7a0=_0x180782[_0x1cc723],_0x3256bc=_0x180782[_0x1cc723+0x1];_0x3cc048||(_0x3cc048=_0x5bf076[_0x4946c1(0x19d)](_0x50c7a0)),nn(_0x5bf076,_0x50c7a0,_0x3256bc)||(_0x4fb187[_0x4946c1(0x1a1)](_0x5bf076[_0x4946c1(0x1b4)](_0x3cc048,_0x868851[_0x4946c1(0x1af)](_0x50c7a0)?_0x5bf076[_0x4946c1(0x188)](_0x50c7a0):_0x5bf076[_0x4946c1(0x197)](_0x50c7a0,_0x4946c1(0x1aa)))),_0x3cc048=null),_0x1cc723++;}return _0x4fb187;}function nn(_0x2570f6,_0x13efbe,_0x1c8779){const _0x1b2348=_0x51f4;if(!_0x1c8779)return!0x1;const _0x26b53c=_0x2570f6[_0x1b2348(0x188)](_0x13efbe),_0x246b35=_0x2570f6[_0x1b2348(0x19d)](_0x1c8779);return _0x26b53c[_0x1b2348(0x194)](_0x246b35);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5d4870,_0x5483d5,_0x352290){const _0x464f39=_0x51f4;for(;_0x352290[_0x464f39(0x1ad)];){const _0x1eb0bc=_0x352290[_0x464f39(0x1a6)](0x0,0x64);_0x5d4870[_0x464f39(0x1a3)](()=>{const _0x56c1ea=_0x464f39;for(const _0x5254dd of _0x1eb0bc)_0x5254dd[_0x56c1ea(0x19f)]&&_0x5483d5[_0x56c1ea(0x18c)](_0x5254dd['id']);});}}
|