@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20251017.0 → 0.0.0-nightly-20251018.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33909c=_0x780c;(function(_0xe5b9c6,_0x35cd00){const _0x2170ed=_0x780c,_0x3b1a31=_0xe5b9c6();while(!![]){try{const _0x1d8d63=parseInt(_0x2170ed(0x1ab))/0x1*(parseInt(_0x2170ed(0x19f))/0x2)+parseInt(_0x2170ed(0x1a7))/0x3+-parseInt(_0x2170ed(0x19e))/0x4*(parseInt(_0x2170ed(0x1a9))/0x5)+-parseInt(_0x2170ed(0x1a0))/0x6*(-parseInt(_0x2170ed(0x1b1))/0x7)+parseInt(_0x2170ed(0x1ad))/0x8*(-parseInt(_0x2170ed(0x1af))/0x9)+-parseInt(_0x2170ed(0x1b2))/0xa*(parseInt(_0x2170ed(0x1b4))/0xb)+parseInt(_0x2170ed(0x1a4))/0xc;if(_0x1d8d63===_0x35cd00)break;else _0x3b1a31['push'](_0x3b1a31['shift']());}catch(_0x33d1e6){_0x3b1a31['push'](_0x3b1a31['shift']());}}}(_0x358e,0x2fd26));import{Plugin as _0x3bfedd}from'ckeditor5/src/core.js';function _0x358e(){const _0xd6b73=['46519RVXBtA','isOfficialPlugin','pluginName','100NYRcFK','568870MEkAKF','18ThLVgR','requires','commands','TrackChangesPreview','3462912VKrlVs','define','trackChanges.preview.renderFunction','295716GKWKyj','editor','76240cnhkNv','config','1wdhjlj','previewFinalContent','450104QFsDwZ','isPremiumPlugin','9lshMmp','appendChild','374549QhbnpH','470PsIOml','add'];_0x358e=function(){return _0xd6b73;};return _0x358e();}import{Dialog as _0x3281fc}from'ckeditor5/src/ui.js';import{TrackChangesData as _0xc0e741}from'./trackchangesdata.js';function _0x780c(_0x4ac537,_0x1497b3){const _0x358e37=_0x358e();return _0x780c=function(_0x780c68,_0x2c5be8){_0x780c68=_0x780c68-0x19e;let _0x468fe6=_0x358e37[_0x780c68];return _0x468fe6;},_0x780c(_0x4ac537,_0x1497b3);}import{PreviewFinalContentCommand as _0x5f5318}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x3bfedd{static get[_0x33909c(0x1a1)](){return[_0xc0e741,_0x3281fc];}static get[_0x33909c(0x1b6)](){const _0x5ca3d4=_0x33909c;return _0x5ca3d4(0x1a3);}static get[_0x33909c(0x1b5)](){return!0x0;}static get[_0x33909c(0x1ae)](){return!0x0;}constructor(_0xfdea60){const _0x32465b=_0x33909c;super(_0xfdea60),_0xfdea60[_0x32465b(0x1a2)][_0x32465b(0x1b3)](_0x32465b(0x1ac),new _0x5f5318(this[_0x32465b(0x1a8)])),_0xfdea60[_0x32465b(0x1aa)][_0x32465b(0x1a5)](_0x32465b(0x1a6),(_0x3cdb6e,_0x37466c)=>{const _0x2744b8=_0x32465b;for(const _0x44e252 of _0x37466c)_0x3cdb6e[_0x2744b8(0x1b0)](_0x44e252);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52863b=_0x3166;(function(_0x5b1579,_0x1323e5){const _0x3230eb=_0x3166,_0x1b7763=_0x5b1579();while(!![]){try{const _0x5072f7=-parseInt(_0x3230eb(0x190))/0x1+-parseInt(_0x3230eb(0x1b3))/0x2*(parseInt(_0x3230eb(0x1b7))/0x3)+-parseInt(_0x3230eb(0x125))/0x4*(parseInt(_0x3230eb(0x15a))/0x5)+parseInt(_0x3230eb(0x11b))/0x6*(-parseInt(_0x3230eb(0x14a))/0x7)+-parseInt(_0x3230eb(0x1bb))/0x8*(parseInt(_0x3230eb(0x18c))/0x9)+-parseInt(_0x3230eb(0x11d))/0xa*(parseInt(_0x3230eb(0x181))/0xb)+parseInt(_0x3230eb(0x10a))/0xc*(parseInt(_0x3230eb(0x18d))/0xd);if(_0x5072f7===_0x1323e5)break;else _0x1b7763['push'](_0x1b7763['shift']());}catch(_0x224571){_0x1b7763['push'](_0x1b7763['shift']());}}}(_0xe8fa,0x9320d));function _0x3166(_0x231865,_0x6c6427){const _0xe8fa28=_0xe8fa();return _0x3166=function(_0x316656,_0x577cbb){_0x316656=_0x316656-0x10a;let _0x2d3487=_0xe8fa28[_0x316656];return _0x2d3487;},_0x3166(_0x231865,_0x6c6427);}import{Plugin as _0x46c32d}from'ckeditor5/src/core.js';import{Collection as _0x28677c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x5e703d}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x68ce4a,createDropdown as _0x2957f4,ListSeparatorView as _0x4bcdd3,MenuBarMenuView as _0x4ed082,MenuBarMenuListView as _0x4cd7c8,MenuBarMenuListItemView as _0x14d615,MenuBarMenuListItemButtonView as _0x1d81aa,SplitButtonView as _0x5bf11d,UIModel as _0x3a9b23}from'ckeditor5/src/ui.js';import{Users as _0x467719,getDateTimeFormatter as _0x1641f0,getAllMarkersDomElementsSorted as _0x30ddc7}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x579da8}from'./trackchangesediting.js';import{SuggestionController as _0xfc11af}from'./ui/suggestioncontroller.js';function _0xe8fa(){const _0x28ff94=['requires','lowest','editor','mainView','getMarkerNames','buttonView','TrackChangesPreview','getFirstRange','featureNotAllowed','trackChanges.SuggestionThreadView','3462FzCipT','trackChangesLicenseKeyExpired','1190lVGmKx','usageLimit','focus','_suggestionToController','addComment','_handleSuggestionControllerDelayed','trackChangesLicenseKeyNotAllowed','filter','488692TlWyXJ','Accept\x20all\x20selected\x20suggestions','isPremiumPlugin','getAnnotationForSuggestion','bind','SuggestionThreadView','comments','source','fire','stopListening','createAnnotationView','size','getSuggestion','keys','commands','expired','Discard\x20all\x20suggestions','innerView','createAnnotation','locale','config','acceptButton','refreshSelectedViews','remove','clear','isEnabled','activeAnnotations','has','_bindAnnotationToEditors','_addUIComponentsToFactory','suggestion-','toMany','suggestionChanged','actionView','delete','registerAnnotation','getDescriptions','11774CByxoL','evaluationLimit','panelView','listenTo','discardSelectedSuggestions','trackChanges.disableComments','comments.maxCommentCharsWhenCollapsed','model','TrackChangesEditing','escape','getJoined','_initializeController','_destroyController','hasSuggestion','pluginName','trackChangesLicenseKeyUsageLimit','45jBwMka','previous','previewFinalContent','button','arrowView','descriptionParts','Discard\x20all\x20selected\x20suggestions','getByInnerView','length','menuitem','isOn','suggestionUnloaded','_showLicenseError','change:previous','suggestionLoaded','TrackChangesUI','getAllAdjacentSuggestions','trackChangesLicenseKeyEvaluationLimit','isDirty','add','addMany','items','getSuggestionForAnnotation','getMarkers','discardButton','trackChangesLicenseKeyTrialLimit','_createMenuBarMenu','editing','define','_handleControllerBuffer','commentThread','head','unbind','domainLimit','get','componentFactory','comments.editorConfig','comments.maxThreadTotalWeight','type','9911wtqAfY','change:activeAnnotations','menuitemcheckbox','EditorAnnotations','CommentView','delegate','value','comments.maxCommentsWhenCollapsed','execute','suggestionView','reduce','9HUCHAT','97747ALAFqi','_updateController','switchbutton','1063901qGejMz','commentsListView','_licenseKeyCheckInterval','push','isInContent','discardAllSuggestions','set','Annotations','plugins','trackChanges.SuggestionView','trackChangesLicenseKeyInvalid','Preview\x20final\x20content','isOfficialPlugin','_refreshActiveMarkers','_viewToController','acceptAllSuggestions','commandName','getRanges','addSourceCollector','acceptSelectedSuggestions','_annotationViews','trackChangesLicenseKeyDomainLimit','licenseKey','Track\x20changes','activeMarkers','SuggestionView','trackChangesLicenseKeyValid','some','view','trackChanges','isMultiRange','menu','menuBar:trackChanges','trialLimit','destroy','17918yJOcRY','descriptionFactory','invalid','createCommentThreadController','183fOLMVo','_createToolbarButton','CommentsUI','values','5179224gOhDwp','CommentsRepository','children','TrackChanges','8040cTWORM','_disableComments','init','Accept\x20all\x20suggestions','separator','from','_unbindEditors'];_0xe8fa=function(){return _0x28ff94;};return _0xe8fa();}import{SuggestionThreadView as _0x42ffd7}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x26f10c}from'./ui/view/suggestionview.js';import{getTranslation as _0x3891b7}from'./utils/common-translations.js';export class TrackChangesUI extends _0x46c32d{[_0x52863b(0x1a6)];[_0x52863b(0x192)];[_0x52863b(0x120)];[_0x52863b(0x19e)];[_0x52863b(0x1a4)];[_0x52863b(0x177)];[_0x52863b(0x10b)];static get[_0x52863b(0x111)](){const _0xc17526=_0x52863b;return[_0x579da8,_0x467719,_0xc17526(0x1bc),_0xc17526(0x197),_0xc17526(0x184)];}static get[_0x52863b(0x158)](){const _0x16880e=_0x52863b;return _0x16880e(0x169);}static get[_0x52863b(0x19c)](){return!0x0;}static get[_0x52863b(0x127)](){return!0x0;}constructor(_0x13c831){const _0x3799b9=_0x52863b;super(_0x13c831),this[_0x3799b9(0x120)]=new Map(),this[_0x3799b9(0x19e)]=new Map(),this[_0x3799b9(0x1a4)]=new Map(),this[_0x3799b9(0x177)]=new Map();const _0x452fa7=this[_0x3799b9(0x113)][_0x3799b9(0x139)];_0x452fa7[_0x3799b9(0x176)](_0x3799b9(0x11a),_0x42ffd7),_0x452fa7[_0x3799b9(0x176)](_0x3799b9(0x199),_0x26f10c),_0x452fa7[_0x3799b9(0x176)](_0x3799b9(0x14f),!0x1),this[_0x3799b9(0x10b)]=_0x452fa7[_0x3799b9(0x17c)](_0x3799b9(0x14f));}[_0x52863b(0x122)](_0x19cd2e,_0x3c9dd7){const _0x22c773=_0x52863b;0x0===this[_0x22c773(0x177)][_0x22c773(0x130)]&&setTimeout(()=>{const _0x49ea58=_0x22c773;for(const [_0x3fadda,_0x421d3f]of this[_0x49ea58(0x177)]){const _0x5658dc=this[_0x49ea58(0x120)][_0x49ea58(0x140)](_0x3fadda);_0x5658dc||_0x421d3f?_0x5658dc&&_0x421d3f&&this[_0x49ea58(0x156)](_0x3fadda):this[_0x49ea58(0x155)](_0x3fadda);}this[_0x49ea58(0x177)][_0x49ea58(0x13d)](),this[_0x49ea58(0x113)][_0x49ea58(0x198)][_0x49ea58(0x17c)](_0x49ea58(0x184))[_0x49ea58(0x13b)](),this[_0x49ea58(0x19d)]();},0xa),this[_0x22c773(0x177)][_0x22c773(0x196)](_0x19cd2e,_0x3c9dd7);}[_0x52863b(0x10c)](){const _0xf5ff6a=_0x52863b,_0x5219ae=this[_0xf5ff6a(0x113)],_0x246dbf=_0x5219ae[_0xf5ff6a(0x198)][_0xf5ff6a(0x17c)](_0xf5ff6a(0x152)),_0x28239a=_0x5219ae[_0xf5ff6a(0x198)][_0xf5ff6a(0x17c)](_0xf5ff6a(0x197)),_0x36ad6e=_0x5219ae[_0xf5ff6a(0x198)][_0xf5ff6a(0x17c)](_0xf5ff6a(0x184)),_0x1894be=_0x5219ae[_0xf5ff6a(0x198)][_0xf5ff6a(0x17c)](_0xf5ff6a(0x1bc));this[_0xf5ff6a(0x142)](),_0x36ad6e[_0xf5ff6a(0x1a2)](()=>{const _0x490f78=_0xf5ff6a,_0x210b2f=[];for(const [_0xafb982,_0x54d418]of Array[_0x490f78(0x10f)](this[_0x490f78(0x120)])){const _0xa72413=_0xafb982[_0x490f78(0x16a)](),_0x5d8eb7=[];for(const _0x420f1d of _0xa72413){if(!_0x420f1d[_0x490f78(0x194)])continue;if(_0x420f1d[_0x490f78(0x1ae)]){_0x5d8eb7[_0x490f78(0x193)](..._0x420f1d[_0x490f78(0x1a1)]());continue;}const _0x4e4339=_0x420f1d[_0x490f78(0x118)]();if(_0x5d8eb7[_0x490f78(0x162)]>0x0){const _0x279284=_0x5d8eb7[0x0][_0x490f78(0x154)](_0x4e4339);if(_0x279284){_0x5d8eb7[0x0]=_0x279284;continue;}}_0x5d8eb7[_0x490f78(0x193)](_0x4e4339);}_0x210b2f[_0x490f78(0x193)]([_0x54d418[_0x490f78(0x1ac)],_0x5d8eb7]);}return _0x210b2f;}),this[_0xf5ff6a(0x14d)](_0x246dbf,_0xf5ff6a(0x168),(_0x41ae77,_0x472591)=>{const _0x14d6b3=_0xf5ff6a;this[_0x14d6b3(0x14d)](_0x472591,_0x14d6b3(0x167),(_0x364041,_0x38628f,_0x215cae,_0x1cf614)=>{const _0x28570f=_0x14d6b3;_0x472591[_0x28570f(0x194)]&&(null==_0x215cae?(this[_0x28570f(0x18e)](_0x1cf614[_0x28570f(0x179)]),this[_0x28570f(0x122)](_0x472591,!0x1)):(this[_0x28570f(0x18e)](_0x215cae[_0x28570f(0x179)]),null==_0x1cf614&&this[_0x28570f(0x122)](_0x472591,!0x0)));}),null!==_0x472591[_0x14d6b3(0x15b)]?this[_0x14d6b3(0x18e)](_0x472591[_0x14d6b3(0x179)]):this[_0x14d6b3(0x122)](_0x472591,!0x1);}),this[_0xf5ff6a(0x14d)](_0x246dbf,_0xf5ff6a(0x165),(_0x5ab99b,_0x2f4910,_0x4a1d0e)=>{const _0x32ddf4=_0xf5ff6a;this[_0x32ddf4(0x12e)](_0x2f4910,_0x32ddf4(0x167)),this[_0x32ddf4(0x177)][_0x32ddf4(0x147)](_0x2f4910),this[_0x32ddf4(0x120)][_0x32ddf4(0x140)](_0x2f4910)&&this[_0x32ddf4(0x156)](_0x2f4910),_0x4a1d0e&&this[_0x32ddf4(0x18e)](_0x4a1d0e[_0x32ddf4(0x179)]);}),this[_0xf5ff6a(0x14d)](_0x246dbf,_0xf5ff6a(0x145),(_0x57307d,_0x49cc8f)=>{const _0x3b2850=_0xf5ff6a;this[_0x3b2850(0x18e)](_0x49cc8f);}),this[_0xf5ff6a(0x14d)](_0x28239a,_0xf5ff6a(0x182),()=>{const _0x297063=_0xf5ff6a;this[_0x297063(0x19d)]();}),this[_0xf5ff6a(0x14d)](_0x1894be,_0xf5ff6a(0x121),(_0x1e32ed,{threadId:_0x134554,isFromAdapter:_0x4da075})=>{const _0x488c81=_0xf5ff6a;if(_0x4da075||!_0x246dbf[_0x488c81(0x157)](_0x134554))return;const _0x930f40=_0x246dbf[_0x488c81(0x131)](_0x134554);this[_0x488c81(0x120)][_0x488c81(0x17c)](_0x930f40)[_0x488c81(0x1ac)][_0x488c81(0x191)][_0x488c81(0x11f)](-0x1);},{'priority':_0xf5ff6a(0x112)}),this[_0xf5ff6a(0x1a6)]=this[_0xf5ff6a(0x113)][_0xf5ff6a(0x139)][_0xf5ff6a(0x17c)](_0xf5ff6a(0x1a6));const _0x250006=this[_0xf5ff6a(0x113)];this[_0xf5ff6a(0x192)]=setInterval(()=>{const _0x34f786=_0xf5ff6a;let _0x49196d;for(const _0x2cc689 in _0x250006){const _0x367b8c=_0x2cc689,_0x347e56=_0x250006[_0x367b8c];if(_0x34f786(0x1aa)==_0x347e56||_0x34f786(0x19a)==_0x347e56||_0x34f786(0x11c)==_0x347e56||_0x34f786(0x1a5)==_0x347e56||_0x34f786(0x123)==_0x347e56||_0x34f786(0x16b)==_0x347e56||_0x34f786(0x173)==_0x347e56||_0x34f786(0x159)==_0x347e56){delete _0x250006[_0x367b8c],_0x49196d=_0x347e56,clearInterval(this[_0x34f786(0x192)]),this[_0x34f786(0x192)]=void 0x0;break;}}_0x34f786(0x19a)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x1b5)),_0x34f786(0x11c)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x134)),_0x34f786(0x1a5)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x17b)),_0x34f786(0x123)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x119),_0x34f786(0x1be)),_0x34f786(0x16b)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x14b)),_0x34f786(0x173)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x1b1)),_0x34f786(0x159)==_0x49196d&&_0x250006[_0x34f786(0x166)](_0x34f786(0x11e));},0x3e8);}[_0x52863b(0x128)](_0x495c3a){const _0x8157ee=_0x52863b,_0x1e1c86=this[_0x8157ee(0x120)][_0x8157ee(0x17c)](_0x495c3a);if(!_0x1e1c86)return null;return this[_0x8157ee(0x113)][_0x8157ee(0x198)][_0x8157ee(0x17c)](_0x8157ee(0x197))[_0x8157ee(0x161)](_0x1e1c86[_0x8157ee(0x1ac)])||null;}[_0x52863b(0x170)](_0x1c6c5b){const _0x3cddb7=_0x52863b,_0x32fec2=this[_0x3cddb7(0x19e)][_0x3cddb7(0x17c)](_0x1c6c5b[_0x3cddb7(0x136)]);return _0x32fec2?_0x32fec2[_0x3cddb7(0x151)]:null;}[_0x52863b(0x19d)](){const _0x1efa05=_0x52863b,_0x533b34=this[_0x1efa05(0x113)][_0x1efa05(0x198)][_0x1efa05(0x17c)](_0x1efa05(0x197)),_0x292def=this[_0x1efa05(0x113)][_0x1efa05(0x198)][_0x1efa05(0x17c)](_0x1efa05(0x152)),_0xc58c83=Array[_0x1efa05(0x10f)](_0x533b34[_0x1efa05(0x13f)],_0x2a3da6=>_0x2a3da6[_0x1efa05(0x136)])[_0x1efa05(0x124)](_0x96ba44=>this[_0x1efa05(0x19e)][_0x1efa05(0x140)](_0x96ba44)),_0x4ceb08=[];for(const _0x3a7159 of _0xc58c83){const _0x450165=this[_0x1efa05(0x19e)][_0x1efa05(0x17c)](_0x3a7159)[_0x1efa05(0x151)][_0x1efa05(0x16a)]();_0x4ceb08[_0x1efa05(0x193)](..._0x450165[_0x1efa05(0x18b)]((_0x273dc9,_0x2eeaa9)=>[..._0x273dc9,..._0x2eeaa9[_0x1efa05(0x115)]()],[]));}_0x292def[_0x1efa05(0x1a8)]=_0x4ceb08;}[_0x52863b(0x142)](){const _0x1240e4=_0x52863b,_0x3d566d=this[_0x1240e4(0x113)],_0x461fbd=_0x3d566d[_0x1240e4(0x138)],_0x19aa0f=_0x3891b7(_0x461fbd,_0x1240e4(0x1a7)),_0x31dea6=new _0x28677c([{'type':_0x1240e4(0x18f),'model':new _0x3a9b23({'withText':!0x0,'isToggleable':!0x0,'label':_0x19aa0f,'commandName':_0x1240e4(0x1ad),'role':_0x1240e4(0x183)})},{'type':_0x1240e4(0x10e)},{'type':_0x1240e4(0x15d),'model':new _0x3a9b23({'withText':!0x0,'label':_0x3891b7(_0x461fbd,_0x1240e4(0x10d)),'commandName':_0x1240e4(0x19f),'role':_0x1240e4(0x163)})},{'type':_0x1240e4(0x15d),'model':new _0x3a9b23({'withText':!0x0,'label':_0x3891b7(_0x461fbd,_0x1240e4(0x126)),'commandName':_0x1240e4(0x1a3),'role':_0x1240e4(0x163)})},{'type':_0x1240e4(0x15d),'model':new _0x3a9b23({'withText':!0x0,'label':_0x3891b7(_0x461fbd,_0x1240e4(0x135)),'commandName':_0x1240e4(0x195),'role':_0x1240e4(0x163)})},{'type':_0x1240e4(0x15d),'model':new _0x3a9b23({'withText':!0x0,'label':_0x3891b7(_0x461fbd,_0x1240e4(0x160)),'commandName':_0x1240e4(0x14e),'role':_0x1240e4(0x163)})}]);_0x3d566d[_0x1240e4(0x198)][_0x1240e4(0x140)](_0x1240e4(0x117))&&_0x31dea6[_0x1240e4(0x16e)]([{'type':_0x1240e4(0x10e)},{'type':_0x1240e4(0x15d),'model':new _0x3a9b23({'withText':!0x0,'label':_0x3891b7(_0x461fbd,_0x1240e4(0x19b)),'commandName':_0x1240e4(0x15c),'role':_0x1240e4(0x163)})}]);for(const _0x21275b of _0x31dea6)if(Ke(_0x21275b)){const _0x1a7601=_0x3d566d[_0x1240e4(0x133)][_0x1240e4(0x17c)](_0x21275b[_0x1240e4(0x151)][_0x1240e4(0x1a0)]);_0x21275b[_0x1240e4(0x151)][_0x1240e4(0x129)](_0x1240e4(0x164),_0x1240e4(0x13e))['to'](_0x1a7601,_0x1240e4(0x187),_0x1240e4(0x13e));}_0x3d566d['ui'][_0x1240e4(0x17d)][_0x1240e4(0x16d)](_0x1240e4(0x1ad),_0xd817ba=>this[_0x1240e4(0x1b8)](_0xd817ba,_0x31dea6,_0x19aa0f)),_0x3d566d['ui'][_0x1240e4(0x17d)][_0x1240e4(0x16d)](_0x1240e4(0x1b0),_0x1079d7=>this[_0x1240e4(0x174)](_0x1079d7,_0x31dea6,_0x19aa0f));}[_0x52863b(0x1b8)](_0x2f177c,_0x568dd4,_0x4a477e){const _0x450065=_0x52863b,_0x2719a2=_0x2957f4(_0x2f177c,_0x5bf11d),_0x164162=this[_0x450065(0x113)][_0x450065(0x133)][_0x450065(0x17c)](_0x450065(0x1ad));_0x2719a2[_0x450065(0x116)][_0x450065(0x196)]({'tooltip':_0x4a477e,'label':_0x4a477e,'icon':_0x5e703d}),_0x2719a2[_0x450065(0x116)][_0x450065(0x129)](_0x450065(0x164))['to'](_0x164162,_0x450065(0x187)),_0x2719a2[_0x450065(0x116)]['on'](_0x450065(0x189),()=>{const _0x5f0f95=_0x450065;_0x164162[_0x5f0f95(0x189)](),this[_0x5f0f95(0x113)][_0x5f0f95(0x175)][_0x5f0f95(0x1ac)][_0x5f0f95(0x11f)]();}),_0x68ce4a(_0x2719a2,_0x568dd4,{'role':_0x450065(0x1af)});const _0x3b355a=[];for(const _0x14fc45 of _0x568dd4)Ke(_0x14fc45)&&_0x3b355a[_0x450065(0x193)](this[_0x450065(0x113)][_0x450065(0x133)][_0x450065(0x17c)](_0x14fc45[_0x450065(0x151)][_0x450065(0x1a0)]));const _0x1bc847=_0x2719a2[_0x450065(0x116)];return _0x1bc847[_0x450065(0x146)][_0x450065(0x17a)](_0x450065(0x13e)),_0x1bc847[_0x450065(0x15e)][_0x450065(0x17a)](_0x450065(0x13e)),_0x1bc847[_0x450065(0x146)][_0x450065(0x129)](_0x450065(0x13e))['to'](_0x164162,_0x450065(0x13e)),_0x1bc847[_0x450065(0x15e)][_0x450065(0x129)](_0x450065(0x13e))[_0x450065(0x144)](_0x3b355a,_0x450065(0x13e),(..._0x88ba57)=>_0x88ba57[_0x450065(0x1ab)](_0x3c72b3=>_0x3c72b3)),_0x2719a2['on'](_0x450065(0x189),_0x2af607=>{const _0x3e1702=_0x450065;this[_0x3e1702(0x113)][_0x3e1702(0x189)](_0x2af607[_0x3e1702(0x12c)][_0x3e1702(0x1a0)]),this[_0x3e1702(0x113)][_0x3e1702(0x175)][_0x3e1702(0x1ac)][_0x3e1702(0x11f)]();}),_0x2719a2;}[_0x52863b(0x174)](_0x2dd098,_0x472789,_0x55467e){const _0x4ed0cc=_0x52863b,_0x1e79c8=new _0x4ed082(_0x2dd098),_0x1480b2=this[_0x4ed0cc(0x113)][_0x4ed0cc(0x133)][_0x4ed0cc(0x17c)](_0x4ed0cc(0x1ad));_0x1e79c8[_0x4ed0cc(0x116)][_0x4ed0cc(0x196)]({'label':_0x55467e,'icon':_0x5e703d});const _0x343de0=new _0x4cd7c8(_0x2dd098);for(const _0x570232 of _0x472789){if(_0x4ed0cc(0x10e)==_0x570232[_0x4ed0cc(0x180)]){_0x343de0[_0x4ed0cc(0x16f)][_0x4ed0cc(0x16d)](new _0x4bcdd3(_0x2dd098));continue;}const _0x2065ee=new _0x14d615(_0x2dd098,_0x1e79c8),_0x15b7af=new _0x1d81aa(_0x2dd098),_0x579750=_0x570232[_0x4ed0cc(0x151)];_0x15b7af[_0x4ed0cc(0x129)](...Object[_0x4ed0cc(0x132)](_0x579750))['to'](_0x579750),_0x15b7af[_0x4ed0cc(0x186)](_0x4ed0cc(0x189))['to'](_0x1e79c8),_0x15b7af['on'](_0x4ed0cc(0x189),()=>{const _0xe2fef=_0x4ed0cc;this[_0xe2fef(0x113)][_0xe2fef(0x189)](_0x579750[_0xe2fef(0x1a0)]),this[_0xe2fef(0x113)][_0xe2fef(0x175)][_0xe2fef(0x1ac)][_0xe2fef(0x11f)]();}),_0x2065ee[_0x4ed0cc(0x1bd)][_0x4ed0cc(0x16d)](_0x15b7af),_0x343de0[_0x4ed0cc(0x16f)][_0x4ed0cc(0x16d)](_0x2065ee);}return _0x1e79c8[_0x4ed0cc(0x129)](_0x4ed0cc(0x13e))['to'](_0x1480b2,_0x4ed0cc(0x13e)),_0x1e79c8[_0x4ed0cc(0x14c)][_0x4ed0cc(0x1bd)][_0x4ed0cc(0x16d)](_0x343de0),_0x1e79c8;}[_0x52863b(0x155)](_0x4c6954){const _0x263f05=_0x52863b,_0x321b7a=this[_0x263f05(0x113)],_0x3dcfb9=_0x321b7a[_0x263f05(0x139)],_0x125a4e=_0x321b7a[_0x263f05(0x198)][_0x263f05(0x17c)](_0x263f05(0x197)),_0x53a9a4=_0x321b7a[_0x263f05(0x198)][_0x263f05(0x17c)](_0x263f05(0x1bc)),_0x2ede3c=_0x321b7a[_0x263f05(0x198)][_0x263f05(0x17c)](_0x263f05(0x184)),_0x577d4f=_0x321b7a[_0x263f05(0x198)][_0x263f05(0x17c)](_0x467719)['me'],_0x39311f=_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x1ad))[_0x263f05(0x12a)],_0xf510dc=_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x1ad))[_0x263f05(0x1a9)],{CommentsListView:_0x3e870a,CommentThreadInputView:_0x54d306}=_0x321b7a[_0x263f05(0x198)][_0x263f05(0x17c)](_0x263f05(0x1b9));let _0x199e53,_0x4a3c50,_0x42f7ce;this[_0x263f05(0x1a4)][_0x263f05(0x140)](_0x4c6954['id'])?(_0x4a3c50=this[_0x263f05(0x1a4)][_0x263f05(0x17c)](_0x4c6954['id']),_0x199e53=_0x4a3c50[_0x263f05(0x114)]):(_0x199e53=new _0x39311f(_0x321b7a[_0x263f05(0x138)],_0x4c6954,_0x577d4f,{'disableComments':this[_0x263f05(0x10b)],'editorConfig':{..._0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x17e)),'licenseKey':_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x1a6))},'maxCommentsWhenCollapsed':_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x188)),'maxThreadTotalWeight':_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x17f)),'maxCommentCharsWhenCollapsed':_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x150)),'formatDateTime':_0x1641f0(_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x138)),_0x321b7a[_0x263f05(0x138)]),'CommentView':_0x3dcfb9[_0x263f05(0x17c)](_0x263f05(0x12b))[_0x263f05(0x185)],'CommentsListView':_0x3e870a,'CommentThreadInputView':_0x54d306,'SuggestionView':_0xf510dc}),_0x199e53[_0x263f05(0x18a)][_0x263f05(0x13a)]['on'](_0x263f05(0x189),()=>{const _0x1e76df=_0x263f05;_0x321b7a[_0x1e76df(0x175)][_0x1e76df(0x1ac)][_0x1e76df(0x11f)]();}),_0x199e53[_0x263f05(0x18a)][_0x263f05(0x172)]['on'](_0x263f05(0x189),()=>{const _0x593ec1=_0x263f05;_0x321b7a[_0x593ec1(0x175)][_0x593ec1(0x1ac)][_0x593ec1(0x11f)]();}),_0x4a3c50=_0x125a4e[_0x263f05(0x12f)](this[_0x263f05(0x113)][_0x263f05(0x138)],_0x199e53),_0x4a3c50[_0x263f05(0x129)](_0x263f05(0x16c))['to'](_0x199e53,_0x263f05(0x16c)),_0x4a3c50[_0x263f05(0x129)](_0x263f05(0x162))['to'](_0x199e53),_0x4a3c50[_0x263f05(0x129)](_0x263f05(0x180))['to'](_0x199e53,_0x263f05(0x180),_0x1cbffb=>_0x263f05(0x143)+_0x1cbffb),_0x199e53['on'](_0x263f05(0x153),()=>{const _0x16ab5c=_0x263f05;_0x42f7ce[_0x16ab5c(0x12d)](_0x16ab5c(0x153));}),this[_0x263f05(0x1a4)][_0x263f05(0x196)](_0x4c6954['id'],_0x4a3c50));const _0x23c065=_0x53a9a4[_0x263f05(0x1b6)](_0x4c6954[_0x263f05(0x178)],_0x199e53),_0xab6c8a=new _0xfc11af(_0x321b7a,_0x4c6954,_0x199e53,_0x23c065),_0x2722d1=_0x4c6954[_0x263f05(0x16a)]()[_0x263f05(0x124)](_0x3a599b=>_0x3a599b[_0x263f05(0x194)]);_0x199e53[_0x263f05(0x15f)]=_0x321b7a[_0x263f05(0x198)][_0x263f05(0x17c)](_0x263f05(0x152))[_0x263f05(0x1b4)][_0x263f05(0x149)](_0x2722d1),this[_0x263f05(0x120)][_0x263f05(0x196)](_0x4c6954,_0xab6c8a),this[_0x263f05(0x19e)][_0x263f05(0x196)](_0x199e53,_0xab6c8a);const _0xee9f3b=()=>{const _0x3c4c4=_0x263f05,_0x3f81b1=[],_0x5d0555=_0x4c6954[_0x3c4c4(0x16a)]()[_0x3c4c4(0x124)](_0x1d44cd=>_0x1d44cd[_0x3c4c4(0x194)]);for(const _0x4f58ee of _0x5d0555)_0x3f81b1[_0x3c4c4(0x193)](..._0x4f58ee[_0x3c4c4(0x171)]());return _0x30ddc7(_0x321b7a[_0x3c4c4(0x175)],_0x3f81b1);};_0x42f7ce=_0x125a4e[_0x263f05(0x137)]({'view':_0x4a3c50,'target':_0xee9f3b,'type':()=>_0x263f05(0x143)+_0xab6c8a[_0x263f05(0x1ac)][_0x263f05(0x180)],'isVisible':!!_0xee9f3b()}),_0x53a9a4[_0x263f05(0x141)](_0x199e53,_0x42f7ce),_0x125a4e[_0x263f05(0x16d)](_0x42f7ce),_0x2ede3c[_0x263f05(0x148)](_0x42f7ce);}[_0x52863b(0x156)](_0x12343a){const _0x104cdb=_0x52863b,_0x30e7e1=this[_0x104cdb(0x113)][_0x104cdb(0x198)][_0x104cdb(0x17c)](_0x104cdb(0x1bc)),_0xb398be=this[_0x104cdb(0x113)][_0x104cdb(0x198)][_0x104cdb(0x17c)](_0x104cdb(0x197)),_0x182c0a=this[_0x104cdb(0x120)][_0x104cdb(0x17c)](_0x12343a),_0x5677ec=_0x182c0a[_0x104cdb(0x1ac)],_0x224307=_0xb398be[_0x104cdb(0x161)](_0x5677ec);_0x30e7e1[_0x104cdb(0x110)](_0x5677ec),_0x224307&&_0xb398be[_0x104cdb(0x13c)](_0x224307),this[_0x104cdb(0x120)][_0x104cdb(0x147)](_0x12343a),this[_0x104cdb(0x19e)][_0x104cdb(0x147)](_0x5677ec),_0x182c0a[_0x104cdb(0x1b2)]();}[_0x52863b(0x18e)](_0x6efd6c){const _0xb97afd=_0x52863b;if(!_0x6efd6c[_0xb97afd(0x194)]||!this[_0xb97afd(0x120)][_0xb97afd(0x140)](_0x6efd6c))return;const _0x315358=this[_0xb97afd(0x113)][_0xb97afd(0x198)][_0xb97afd(0x17c)](_0xb97afd(0x152)),_0x435fe1=this[_0xb97afd(0x120)][_0xb97afd(0x17c)](_0x6efd6c),_0x2effe0=_0x6efd6c[_0xb97afd(0x16a)]();_0x435fe1[_0xb97afd(0x1ac)][_0xb97afd(0x15f)]=_0x315358[_0xb97afd(0x1b4)][_0xb97afd(0x149)](_0x2effe0);}[_0x52863b(0x1b2)](){const _0x523d28=_0x52863b;for(const _0x2d708f of this[_0x523d28(0x120)][_0x523d28(0x132)]())this[_0x523d28(0x156)](_0x2d708f);for(const _0x520e38 of this[_0x523d28(0x1a4)][_0x523d28(0x1ba)]())_0x520e38[_0x523d28(0x114)][_0x523d28(0x1b2)]();super[_0x523d28(0x1b2)](),this[_0x523d28(0x192)]&&clearInterval(this[_0x523d28(0x192)]);}}function Ke(_0x9b81a9){const _0x15095a=_0x52863b;return _0x15095a(0x151)in _0x9b81a9;}
|
|
23
|
+
const _0x31dfd9=_0x3531;(function(_0x21e136,_0x41a277){const _0x376ce0=_0x3531,_0x464f20=_0x21e136();while(!![]){try{const _0x9384af=parseInt(_0x376ce0(0xe1))/0x1*(parseInt(_0x376ce0(0xa0))/0x2)+parseInt(_0x376ce0(0xc0))/0x3*(-parseInt(_0x376ce0(0xe6))/0x4)+-parseInt(_0x376ce0(0xcc))/0x5*(parseInt(_0x376ce0(0xf2))/0x6)+-parseInt(_0x376ce0(0x75))/0x7*(-parseInt(_0x376ce0(0x90))/0x8)+-parseInt(_0x376ce0(0xaa))/0x9*(-parseInt(_0x376ce0(0xac))/0xa)+-parseInt(_0x376ce0(0x85))/0xb+parseInt(_0x376ce0(0x7c))/0xc;if(_0x9384af===_0x41a277)break;else _0x464f20['push'](_0x464f20['shift']());}catch(_0xe06dfb){_0x464f20['push'](_0x464f20['shift']());}}}(_0x56a8,0xc0a7b));import{Plugin as _0xd2ef71}from'ckeditor5/src/core.js';import{Collection as _0xd93a34}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x32812f}from'ckeditor5/src/icons.js';function _0x56a8(){const _0x1a8d82=['_handleSuggestionControllerDelayed','length','bind','trackChangesLicenseKeyTrialLimit','acceptAllSuggestions','listenTo','comments.editorConfig','change:previous','1313085IiCvMn','set','Discard\x20all\x20selected\x20suggestions','some','trialLimit','trackChanges','trackChangesLicenseKeyValid','Annotations','suggestionLoaded','locale','trackChangesLicenseKeyNotAllowed','commentsListView','addSourceCollector','getMarkerNames','CommentsRepository','unbind','_handleControllerBuffer','comments','_addUIComponentsToFactory','_refreshActiveMarkers','componentFactory','157KGlCCv','hasSuggestion','getAnnotationForSuggestion','Accept\x20all\x20selected\x20suggestions','trackChangesLicenseKeyUsageLimit','692732dRHIwi','isMultiRange','licenseKey','evaluationLimit','isPremiumPlugin','isOfficialPlugin','getDescriptions','buttonView','suggestionChanged','createAnnotation','usageLimit','getMarkers','6gROwSc','registerAnnotation','isInContent','getRanges','mainView','trackChangesLicenseKeyDomainLimit','acceptButton','plugins','clear','isOn','keys','arrowView','model','trackChanges.SuggestionView','comments.maxThreadTotalWeight','getSuggestionForAnnotation','values','discardSelectedSuggestions','TrackChangesEditing','_suggestionToController','execute','suggestionView','commentThread','descriptionParts','view','isEnabled','createCommentThreadController','change:activeAnnotations','button','invalid','TrackChangesPreview','from','children','createAnnotationView','_viewToController','fire','menuitemcheckbox','Track\x20changes','pluginName','menuBar:trackChanges','commands','SuggestionThreadView','getFirstRange','switchbutton','Accept\x20all\x20suggestions','source','getJoined','trackChangesLicenseKeyInvalid','reduce','_showLicenseError','editing','Discard\x20all\x20suggestions','type','previous','delegate','56BytcKu','getAllAdjacentSuggestions','_destroyController','TrackChanges','size','comments.maxCommentCharsWhenCollapsed','items','12780252ocerrD','trackChangesLicenseKeyExpired','addMany','discardAllSuggestions','TrackChangesUI','previewFinalContent','getByInnerView','_createToolbarButton','trackChanges.disableComments','16641900QLBljv','_disableComments','toMany','activeMarkers','has','trackChangesLicenseKeyEvaluationLimit','addComment','CommentView','push','_licenseKeyCheckInterval','commandName','970568dOWPrk','_initializeController','suggestionUnloaded','_annotationViews','activeAnnotations','CommentsUI','separator','_updateController','stopListening','value','config','descriptionFactory','define','editor','suggestion-','head','182pxuyLk','acceptSelectedSuggestions','isDirty','trackChanges.SuggestionThreadView','EditorAnnotations','SuggestionView','innerView','discardButton','_createMenuBarMenu','remove','12426039qdmyqc','init','10rDixCt','filter','Preview\x20final\x20content','menuitem','requires','menu','delete','getSuggestion','panelView','_unbindEditors','focus','featureNotAllowed','refreshSelectedViews','get','lowest','add','escape','expired','domainLimit','actionView','15KTYqVb','comments.maxCommentsWhenCollapsed','_bindAnnotationToEditors','destroy'];_0x56a8=function(){return _0x1a8d82;};return _0x56a8();}import{addListToDropdown as _0x45a79d,createDropdown as _0x2fd8b2,ListSeparatorView as _0x3431bc,MenuBarMenuView as _0x452d10,MenuBarMenuListView as _0x23e14b,MenuBarMenuListItemView as _0x959088,MenuBarMenuListItemButtonView as _0x446102,SplitButtonView as _0x1c08e2,UIModel as _0x4f271c}from'ckeditor5/src/ui.js';function _0x3531(_0x5e2959,_0xe3098f){const _0x56a858=_0x56a8();return _0x3531=function(_0x3531be,_0x3ea082){_0x3531be=_0x3531be-0x64;let _0x10b0e3=_0x56a858[_0x3531be];return _0x10b0e3;},_0x3531(_0x5e2959,_0xe3098f);}import{Users as _0x443328,getDateTimeFormatter as _0x5b4b52,getAllMarkersDomElementsSorted as _0x4e7774}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x146304}from'./trackchangesediting.js';import{SuggestionController as _0x5243cb}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5a8b6a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x25cf9d}from'./ui/view/suggestionview.js';import{getTranslation as _0x15d0a6}from'./utils/common-translations.js';export class TrackChangesUI extends _0xd2ef71{[_0x31dfd9(0xe8)];[_0x31dfd9(0x8e)];[_0x31dfd9(0x105)];[_0x31dfd9(0x114)];[_0x31dfd9(0x93)];[_0x31dfd9(0xdc)];[_0x31dfd9(0x86)];static get[_0x31dfd9(0xb0)](){const _0x25acf3=_0x31dfd9;return[_0x146304,_0x443328,_0x25acf3(0xda),_0x25acf3(0xd3),_0x25acf3(0xa4)];}static get[_0x31dfd9(0x64)](){const _0x1c1f84=_0x31dfd9;return _0x1c1f84(0x80);}static get[_0x31dfd9(0xeb)](){return!0x0;}static get[_0x31dfd9(0xea)](){return!0x0;}constructor(_0x445687){const _0x961b7d=_0x31dfd9;super(_0x445687),this[_0x961b7d(0x105)]=new Map(),this[_0x961b7d(0x114)]=new Map(),this[_0x961b7d(0x93)]=new Map(),this[_0x961b7d(0xdc)]=new Map();const _0x2a4f58=this[_0x961b7d(0x9d)][_0x961b7d(0x9a)];_0x2a4f58[_0x961b7d(0x9c)](_0x961b7d(0xa3),_0x5a8b6a),_0x2a4f58[_0x961b7d(0x9c)](_0x961b7d(0xff),_0x25cf9d),_0x2a4f58[_0x961b7d(0x9c)](_0x961b7d(0x84),!0x1),this[_0x961b7d(0x86)]=_0x2a4f58[_0x961b7d(0xb9)](_0x961b7d(0x84));}[_0x31dfd9(0xc4)](_0x575721,_0xa94f5d){const _0x2aa3ef=_0x31dfd9;0x0===this[_0x2aa3ef(0xdc)][_0x2aa3ef(0x79)]&&setTimeout(()=>{const _0x43816a=_0x2aa3ef;for(const [_0x5b78fb,_0x368d83]of this[_0x43816a(0xdc)]){const _0x1afb2e=this[_0x43816a(0x105)][_0x43816a(0x89)](_0x5b78fb);_0x1afb2e||_0x368d83?_0x1afb2e&&_0x368d83&&this[_0x43816a(0x77)](_0x5b78fb):this[_0x43816a(0x91)](_0x5b78fb);}this[_0x43816a(0xdc)][_0x43816a(0xfa)](),this[_0x43816a(0x9d)][_0x43816a(0xf9)][_0x43816a(0xb9)](_0x43816a(0xa4))[_0x43816a(0xb8)](),this[_0x43816a(0xdf)]();},0xa),this[_0x2aa3ef(0xdc)][_0x2aa3ef(0xcd)](_0x575721,_0xa94f5d);}[_0x31dfd9(0xab)](){const _0x303b64=_0x31dfd9,_0x5e394a=this[_0x303b64(0x9d)],_0x322c12=_0x5e394a[_0x303b64(0xf9)][_0x303b64(0xb9)](_0x303b64(0x104)),_0x15591d=_0x5e394a[_0x303b64(0xf9)][_0x303b64(0xb9)](_0x303b64(0xd3)),_0x40d695=_0x5e394a[_0x303b64(0xf9)][_0x303b64(0xb9)](_0x303b64(0xa4)),_0x3a36e3=_0x5e394a[_0x303b64(0xf9)][_0x303b64(0xb9)](_0x303b64(0xda));this[_0x303b64(0xde)](),_0x40d695[_0x303b64(0xd8)](()=>{const _0xf7706f=_0x303b64,_0x3df3dc=[];for(const [_0xaae34f,_0x2fe027]of Array[_0xf7706f(0x111)](this[_0xf7706f(0x105)])){const _0x550990=_0xaae34f[_0xf7706f(0x76)](),_0x21aba2=[];for(const _0xe0a02b of _0x550990){if(!_0xe0a02b[_0xf7706f(0xf4)])continue;if(_0xe0a02b[_0xf7706f(0xe7)]){_0x21aba2[_0xf7706f(0x8d)](..._0xe0a02b[_0xf7706f(0xf5)]());continue;}const _0x2f6cdf=_0xe0a02b[_0xf7706f(0x68)]();if(_0x21aba2[_0xf7706f(0xc5)]>0x0){const _0x22a199=_0x21aba2[0x0][_0xf7706f(0x6c)](_0x2f6cdf);if(_0x22a199){_0x21aba2[0x0]=_0x22a199;continue;}}_0x21aba2[_0xf7706f(0x8d)](_0x2f6cdf);}_0x3df3dc[_0xf7706f(0x8d)]([_0x2fe027[_0xf7706f(0x10a)],_0x21aba2]);}return _0x3df3dc;}),this[_0x303b64(0xc9)](_0x322c12,_0x303b64(0xd4),(_0x1d8a10,_0x5655b8)=>{const _0x1c5a20=_0x303b64;this[_0x1c5a20(0xc9)](_0x5655b8,_0x1c5a20(0xcb),(_0x15a40e,_0x41c657,_0x55911d,_0x41edc0)=>{const _0x59efa2=_0x1c5a20;_0x5655b8[_0x59efa2(0xf4)]&&(null==_0x55911d?(this[_0x59efa2(0x97)](_0x41edc0[_0x59efa2(0x9f)]),this[_0x59efa2(0xc4)](_0x5655b8,!0x1)):(this[_0x59efa2(0x97)](_0x55911d[_0x59efa2(0x9f)]),null==_0x41edc0&&this[_0x59efa2(0xc4)](_0x5655b8,!0x0)));}),null!==_0x5655b8[_0x1c5a20(0x73)]?this[_0x1c5a20(0x97)](_0x5655b8[_0x1c5a20(0x9f)]):this[_0x1c5a20(0xc4)](_0x5655b8,!0x1);}),this[_0x303b64(0xc9)](_0x322c12,_0x303b64(0x92),(_0x737e88,_0x15f115,_0x1e7d08)=>{const _0x3e645d=_0x303b64;this[_0x3e645d(0x98)](_0x15f115,_0x3e645d(0xcb)),this[_0x3e645d(0xdc)][_0x3e645d(0xb2)](_0x15f115),this[_0x3e645d(0x105)][_0x3e645d(0x89)](_0x15f115)&&this[_0x3e645d(0x77)](_0x15f115),_0x1e7d08&&this[_0x3e645d(0x97)](_0x1e7d08[_0x3e645d(0x9f)]);}),this[_0x303b64(0xc9)](_0x322c12,_0x303b64(0xee),(_0x37d257,_0x29badf)=>{const _0x3f421e=_0x303b64;this[_0x3f421e(0x97)](_0x29badf);}),this[_0x303b64(0xc9)](_0x15591d,_0x303b64(0x10d),()=>{const _0xe1b48a=_0x303b64;this[_0xe1b48a(0xdf)]();}),this[_0x303b64(0xc9)](_0x3a36e3,_0x303b64(0x8b),(_0x120a93,{threadId:_0x41f428,isFromAdapter:_0x56710d})=>{const _0x20ff30=_0x303b64;if(_0x56710d||!_0x322c12[_0x20ff30(0xe2)](_0x41f428))return;const _0x10cd41=_0x322c12[_0x20ff30(0xb3)](_0x41f428);this[_0x20ff30(0x105)][_0x20ff30(0xb9)](_0x10cd41)[_0x20ff30(0x10a)][_0x20ff30(0xd7)][_0x20ff30(0xb6)](-0x1);},{'priority':_0x303b64(0xba)}),this[_0x303b64(0xe8)]=this[_0x303b64(0x9d)][_0x303b64(0x9a)][_0x303b64(0xb9)](_0x303b64(0xe8));const _0x51e778=this[_0x303b64(0x9d)];this[_0x303b64(0x8e)]=setInterval(()=>{const _0x12b995=_0x303b64;let _0x53b3ec;for(const _0x52e706 in _0x51e778){const _0x1345f5=_0x52e706,_0x1f438f=_0x51e778[_0x1345f5];if(_0x12b995(0xd2)==_0x1f438f||_0x12b995(0x6d)==_0x1f438f||_0x12b995(0x7d)==_0x1f438f||_0x12b995(0xf7)==_0x1f438f||_0x12b995(0xd6)==_0x1f438f||_0x12b995(0x8a)==_0x1f438f||_0x12b995(0xc7)==_0x1f438f||_0x12b995(0xe5)==_0x1f438f){delete _0x51e778[_0x1345f5],_0x53b3ec=_0x1f438f,clearInterval(this[_0x12b995(0x8e)]),this[_0x12b995(0x8e)]=void 0x0;break;}}_0x12b995(0x6d)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0x10f)),_0x12b995(0x7d)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0xbd)),_0x12b995(0xf7)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0xbe)),_0x12b995(0xd6)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0xb7),_0x12b995(0x78)),_0x12b995(0x8a)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0xe9)),_0x12b995(0xc7)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0xd0)),_0x12b995(0xe5)==_0x53b3ec&&_0x51e778[_0x12b995(0x6f)](_0x12b995(0xf0));},0x3e8);}[_0x31dfd9(0xe3)](_0x2a333a){const _0xf17758=_0x31dfd9,_0x3eb111=this[_0xf17758(0x105)][_0xf17758(0xb9)](_0x2a333a);if(!_0x3eb111)return null;return this[_0xf17758(0x9d)][_0xf17758(0xf9)][_0xf17758(0xb9)](_0xf17758(0xd3))[_0xf17758(0x82)](_0x3eb111[_0xf17758(0x10a)])||null;}[_0x31dfd9(0x101)](_0x272724){const _0x1b8b7b=_0x31dfd9,_0x3821e6=this[_0x1b8b7b(0x114)][_0x1b8b7b(0xb9)](_0x272724[_0x1b8b7b(0xa6)]);return _0x3821e6?_0x3821e6[_0x1b8b7b(0xfe)]:null;}[_0x31dfd9(0xdf)](){const _0x369266=_0x31dfd9,_0x41a1d5=this[_0x369266(0x9d)][_0x369266(0xf9)][_0x369266(0xb9)](_0x369266(0xd3)),_0x54bb78=this[_0x369266(0x9d)][_0x369266(0xf9)][_0x369266(0xb9)](_0x369266(0x104)),_0x1cd38c=Array[_0x369266(0x111)](_0x41a1d5[_0x369266(0x94)],_0x4b2089=>_0x4b2089[_0x369266(0xa6)])[_0x369266(0xad)](_0x757b9c=>this[_0x369266(0x114)][_0x369266(0x89)](_0x757b9c)),_0x2a53d0=[];for(const _0x123e98 of _0x1cd38c){const _0x1a5b70=this[_0x369266(0x114)][_0x369266(0xb9)](_0x123e98)[_0x369266(0xfe)][_0x369266(0x76)]();_0x2a53d0[_0x369266(0x8d)](..._0x1a5b70[_0x369266(0x6e)]((_0x242fd9,_0x2d2a54)=>[..._0x242fd9,..._0x2d2a54[_0x369266(0xd9)]()],[]));}_0x54bb78[_0x369266(0x88)]=_0x2a53d0;}[_0x31dfd9(0xde)](){const _0x534241=_0x31dfd9,_0x2d41bf=this[_0x534241(0x9d)],_0x55e5aa=_0x2d41bf[_0x534241(0xd5)],_0x450daa=_0x15d0a6(_0x55e5aa,_0x534241(0x117)),_0x574328=new _0xd93a34([{'type':_0x534241(0x69),'model':new _0x4f271c({'withText':!0x0,'isToggleable':!0x0,'label':_0x450daa,'commandName':_0x534241(0xd1),'role':_0x534241(0x116)})},{'type':_0x534241(0x96)},{'type':_0x534241(0x10e),'model':new _0x4f271c({'withText':!0x0,'label':_0x15d0a6(_0x55e5aa,_0x534241(0x6a)),'commandName':_0x534241(0xc8),'role':_0x534241(0xaf)})},{'type':_0x534241(0x10e),'model':new _0x4f271c({'withText':!0x0,'label':_0x15d0a6(_0x55e5aa,_0x534241(0xe4)),'commandName':_0x534241(0xa1),'role':_0x534241(0xaf)})},{'type':_0x534241(0x10e),'model':new _0x4f271c({'withText':!0x0,'label':_0x15d0a6(_0x55e5aa,_0x534241(0x71)),'commandName':_0x534241(0x7f),'role':_0x534241(0xaf)})},{'type':_0x534241(0x10e),'model':new _0x4f271c({'withText':!0x0,'label':_0x15d0a6(_0x55e5aa,_0x534241(0xce)),'commandName':_0x534241(0x103),'role':_0x534241(0xaf)})}]);_0x2d41bf[_0x534241(0xf9)][_0x534241(0x89)](_0x534241(0x110))&&_0x574328[_0x534241(0x7e)]([{'type':_0x534241(0x96)},{'type':_0x534241(0x10e),'model':new _0x4f271c({'withText':!0x0,'label':_0x15d0a6(_0x55e5aa,_0x534241(0xae)),'commandName':_0x534241(0x81),'role':_0x534241(0xaf)})}]);for(const _0x1fe24c of _0x574328)if(Ke(_0x1fe24c)){const _0x2d2463=_0x2d41bf[_0x534241(0x66)][_0x534241(0xb9)](_0x1fe24c[_0x534241(0xfe)][_0x534241(0x8f)]);_0x1fe24c[_0x534241(0xfe)][_0x534241(0xc6)](_0x534241(0xfb),_0x534241(0x10b))['to'](_0x2d2463,_0x534241(0x99),_0x534241(0x10b));}_0x2d41bf['ui'][_0x534241(0xe0)][_0x534241(0xbb)](_0x534241(0xd1),_0x144099=>this[_0x534241(0x83)](_0x144099,_0x574328,_0x450daa)),_0x2d41bf['ui'][_0x534241(0xe0)][_0x534241(0xbb)](_0x534241(0x65),_0x388eb0=>this[_0x534241(0xa8)](_0x388eb0,_0x574328,_0x450daa));}[_0x31dfd9(0x83)](_0x4e8cb9,_0x397fb2,_0x38ae1a){const _0x1fb9af=_0x31dfd9,_0x5e1967=_0x2fd8b2(_0x4e8cb9,_0x1c08e2),_0x11a6f3=this[_0x1fb9af(0x9d)][_0x1fb9af(0x66)][_0x1fb9af(0xb9)](_0x1fb9af(0xd1));_0x5e1967[_0x1fb9af(0xed)][_0x1fb9af(0xcd)]({'tooltip':_0x38ae1a,'label':_0x38ae1a,'icon':_0x32812f}),_0x5e1967[_0x1fb9af(0xed)][_0x1fb9af(0xc6)](_0x1fb9af(0xfb))['to'](_0x11a6f3,_0x1fb9af(0x99)),_0x5e1967[_0x1fb9af(0xed)]['on'](_0x1fb9af(0x106),()=>{const _0x37b887=_0x1fb9af;_0x11a6f3[_0x37b887(0x106)](),this[_0x37b887(0x9d)][_0x37b887(0x70)][_0x37b887(0x10a)][_0x37b887(0xb6)]();}),_0x45a79d(_0x5e1967,_0x397fb2,{'role':_0x1fb9af(0xb1)});const _0x5de1a3=[];for(const _0x302746 of _0x397fb2)Ke(_0x302746)&&_0x5de1a3[_0x1fb9af(0x8d)](this[_0x1fb9af(0x9d)][_0x1fb9af(0x66)][_0x1fb9af(0xb9)](_0x302746[_0x1fb9af(0xfe)][_0x1fb9af(0x8f)]));const _0x5c87ce=_0x5e1967[_0x1fb9af(0xed)];return _0x5c87ce[_0x1fb9af(0xbf)][_0x1fb9af(0xdb)](_0x1fb9af(0x10b)),_0x5c87ce[_0x1fb9af(0xfd)][_0x1fb9af(0xdb)](_0x1fb9af(0x10b)),_0x5c87ce[_0x1fb9af(0xbf)][_0x1fb9af(0xc6)](_0x1fb9af(0x10b))['to'](_0x11a6f3,_0x1fb9af(0x10b)),_0x5c87ce[_0x1fb9af(0xfd)][_0x1fb9af(0xc6)](_0x1fb9af(0x10b))[_0x1fb9af(0x87)](_0x5de1a3,_0x1fb9af(0x10b),(..._0x571ee7)=>_0x571ee7[_0x1fb9af(0xcf)](_0x323a87=>_0x323a87)),_0x5e1967['on'](_0x1fb9af(0x106),_0x17a670=>{const _0x248d62=_0x1fb9af;this[_0x248d62(0x9d)][_0x248d62(0x106)](_0x17a670[_0x248d62(0x6b)][_0x248d62(0x8f)]),this[_0x248d62(0x9d)][_0x248d62(0x70)][_0x248d62(0x10a)][_0x248d62(0xb6)]();}),_0x5e1967;}[_0x31dfd9(0xa8)](_0x15718b,_0x1e82f0,_0x2213cd){const _0x23c68f=_0x31dfd9,_0x257f50=new _0x452d10(_0x15718b),_0x464e13=this[_0x23c68f(0x9d)][_0x23c68f(0x66)][_0x23c68f(0xb9)](_0x23c68f(0xd1));_0x257f50[_0x23c68f(0xed)][_0x23c68f(0xcd)]({'label':_0x2213cd,'icon':_0x32812f});const _0x1120c7=new _0x23e14b(_0x15718b);for(const _0x4ef562 of _0x1e82f0){if(_0x23c68f(0x96)==_0x4ef562[_0x23c68f(0x72)]){_0x1120c7[_0x23c68f(0x7b)][_0x23c68f(0xbb)](new _0x3431bc(_0x15718b));continue;}const _0x2640c4=new _0x959088(_0x15718b,_0x257f50),_0x5a39f5=new _0x446102(_0x15718b),_0x3bd75d=_0x4ef562[_0x23c68f(0xfe)];_0x5a39f5[_0x23c68f(0xc6)](...Object[_0x23c68f(0xfc)](_0x3bd75d))['to'](_0x3bd75d),_0x5a39f5[_0x23c68f(0x74)](_0x23c68f(0x106))['to'](_0x257f50),_0x5a39f5['on'](_0x23c68f(0x106),()=>{const _0x24f6f2=_0x23c68f;this[_0x24f6f2(0x9d)][_0x24f6f2(0x106)](_0x3bd75d[_0x24f6f2(0x8f)]),this[_0x24f6f2(0x9d)][_0x24f6f2(0x70)][_0x24f6f2(0x10a)][_0x24f6f2(0xb6)]();}),_0x2640c4[_0x23c68f(0x112)][_0x23c68f(0xbb)](_0x5a39f5),_0x1120c7[_0x23c68f(0x7b)][_0x23c68f(0xbb)](_0x2640c4);}return _0x257f50[_0x23c68f(0xc6)](_0x23c68f(0x10b))['to'](_0x464e13,_0x23c68f(0x10b)),_0x257f50[_0x23c68f(0xb4)][_0x23c68f(0x112)][_0x23c68f(0xbb)](_0x1120c7),_0x257f50;}[_0x31dfd9(0x91)](_0x473b18){const _0x13f542=_0x31dfd9,_0x701c73=this[_0x13f542(0x9d)],_0x39fe36=_0x701c73[_0x13f542(0x9a)],_0x25a545=_0x701c73[_0x13f542(0xf9)][_0x13f542(0xb9)](_0x13f542(0xd3)),_0x42478d=_0x701c73[_0x13f542(0xf9)][_0x13f542(0xb9)](_0x13f542(0xda)),_0x1cbbbc=_0x701c73[_0x13f542(0xf9)][_0x13f542(0xb9)](_0x13f542(0xa4)),_0x34061f=_0x701c73[_0x13f542(0xf9)][_0x13f542(0xb9)](_0x443328)['me'],_0x151790=_0x39fe36[_0x13f542(0xb9)](_0x13f542(0xd1))[_0x13f542(0x67)],_0x56f56d=_0x39fe36[_0x13f542(0xb9)](_0x13f542(0xd1))[_0x13f542(0xa5)],{CommentsListView:_0x24d639,CommentThreadInputView:_0x19870a}=_0x701c73[_0x13f542(0xf9)][_0x13f542(0xb9)](_0x13f542(0x95));let _0x2828d4,_0x4f6080,_0x5dcc0b;this[_0x13f542(0x93)][_0x13f542(0x89)](_0x473b18['id'])?(_0x4f6080=this[_0x13f542(0x93)][_0x13f542(0xb9)](_0x473b18['id']),_0x2828d4=_0x4f6080[_0x13f542(0xf6)]):(_0x2828d4=new _0x151790(_0x701c73[_0x13f542(0xd5)],_0x473b18,_0x34061f,{'disableComments':this[_0x13f542(0x86)],'editorConfig':{..._0x39fe36[_0x13f542(0xb9)](_0x13f542(0xca)),'licenseKey':_0x39fe36[_0x13f542(0xb9)](_0x13f542(0xe8))},'maxCommentsWhenCollapsed':_0x39fe36[_0x13f542(0xb9)](_0x13f542(0xc1)),'maxThreadTotalWeight':_0x39fe36[_0x13f542(0xb9)](_0x13f542(0x100)),'maxCommentCharsWhenCollapsed':_0x39fe36[_0x13f542(0xb9)](_0x13f542(0x7a)),'formatDateTime':_0x5b4b52(_0x39fe36[_0x13f542(0xb9)](_0x13f542(0xd5)),_0x701c73[_0x13f542(0xd5)]),'CommentView':_0x39fe36[_0x13f542(0xb9)](_0x13f542(0xdd))[_0x13f542(0x8c)],'CommentsListView':_0x24d639,'CommentThreadInputView':_0x19870a,'SuggestionView':_0x56f56d}),_0x2828d4[_0x13f542(0x107)][_0x13f542(0xf8)]['on'](_0x13f542(0x106),()=>{const _0x43d688=_0x13f542;_0x701c73[_0x43d688(0x70)][_0x43d688(0x10a)][_0x43d688(0xb6)]();}),_0x2828d4[_0x13f542(0x107)][_0x13f542(0xa7)]['on'](_0x13f542(0x106),()=>{const _0x53d744=_0x13f542;_0x701c73[_0x53d744(0x70)][_0x53d744(0x10a)][_0x53d744(0xb6)]();}),_0x4f6080=_0x25a545[_0x13f542(0x113)](this[_0x13f542(0x9d)][_0x13f542(0xd5)],_0x2828d4),_0x4f6080[_0x13f542(0xc6)](_0x13f542(0xa2))['to'](_0x2828d4,_0x13f542(0xa2)),_0x4f6080[_0x13f542(0xc6)](_0x13f542(0xc5))['to'](_0x2828d4),_0x4f6080[_0x13f542(0xc6)](_0x13f542(0x72))['to'](_0x2828d4,_0x13f542(0x72),_0x574833=>_0x13f542(0x9e)+_0x574833),_0x2828d4['on'](_0x13f542(0xbc),()=>{const _0xb06650=_0x13f542;_0x5dcc0b[_0xb06650(0x115)](_0xb06650(0xbc));}),this[_0x13f542(0x93)][_0x13f542(0xcd)](_0x473b18['id'],_0x4f6080));const _0x33454f=_0x42478d[_0x13f542(0x10c)](_0x473b18[_0x13f542(0x108)],_0x2828d4),_0x5de7ff=new _0x5243cb(_0x701c73,_0x473b18,_0x2828d4,_0x33454f),_0x593e22=_0x473b18[_0x13f542(0x76)]()[_0x13f542(0xad)](_0x41eb2a=>_0x41eb2a[_0x13f542(0xf4)]);_0x2828d4[_0x13f542(0x109)]=_0x701c73[_0x13f542(0xf9)][_0x13f542(0xb9)](_0x13f542(0x104))[_0x13f542(0x9b)][_0x13f542(0xec)](_0x593e22),this[_0x13f542(0x105)][_0x13f542(0xcd)](_0x473b18,_0x5de7ff),this[_0x13f542(0x114)][_0x13f542(0xcd)](_0x2828d4,_0x5de7ff);const _0x4fef80=()=>{const _0x5bfc51=_0x13f542,_0xda9811=[],_0x46429d=_0x473b18[_0x5bfc51(0x76)]()[_0x5bfc51(0xad)](_0x2757f8=>_0x2757f8[_0x5bfc51(0xf4)]);for(const _0x4beebb of _0x46429d)_0xda9811[_0x5bfc51(0x8d)](..._0x4beebb[_0x5bfc51(0xf1)]());return _0x4e7774(_0x701c73[_0x5bfc51(0x70)],_0xda9811);};_0x5dcc0b=_0x25a545[_0x13f542(0xef)]({'view':_0x4f6080,'target':_0x4fef80,'type':()=>_0x13f542(0x9e)+_0x5de7ff[_0x13f542(0x10a)][_0x13f542(0x72)],'isVisible':!!_0x4fef80()}),_0x42478d[_0x13f542(0xc2)](_0x2828d4,_0x5dcc0b),_0x25a545[_0x13f542(0xbb)](_0x5dcc0b),_0x1cbbbc[_0x13f542(0xf3)](_0x5dcc0b);}[_0x31dfd9(0x77)](_0x1f7f34){const _0x4f530e=_0x31dfd9,_0x68227f=this[_0x4f530e(0x9d)][_0x4f530e(0xf9)][_0x4f530e(0xb9)](_0x4f530e(0xda)),_0x5ca809=this[_0x4f530e(0x9d)][_0x4f530e(0xf9)][_0x4f530e(0xb9)](_0x4f530e(0xd3)),_0x258e0b=this[_0x4f530e(0x105)][_0x4f530e(0xb9)](_0x1f7f34),_0x58cc00=_0x258e0b[_0x4f530e(0x10a)],_0x14b3ab=_0x5ca809[_0x4f530e(0x82)](_0x58cc00);_0x68227f[_0x4f530e(0xb5)](_0x58cc00),_0x14b3ab&&_0x5ca809[_0x4f530e(0xa9)](_0x14b3ab),this[_0x4f530e(0x105)][_0x4f530e(0xb2)](_0x1f7f34),this[_0x4f530e(0x114)][_0x4f530e(0xb2)](_0x58cc00),_0x258e0b[_0x4f530e(0xc3)]();}[_0x31dfd9(0x97)](_0x346d1f){const _0x1eebd1=_0x31dfd9;if(!_0x346d1f[_0x1eebd1(0xf4)]||!this[_0x1eebd1(0x105)][_0x1eebd1(0x89)](_0x346d1f))return;const _0x5e310b=this[_0x1eebd1(0x9d)][_0x1eebd1(0xf9)][_0x1eebd1(0xb9)](_0x1eebd1(0x104)),_0x32bc77=this[_0x1eebd1(0x105)][_0x1eebd1(0xb9)](_0x346d1f),_0x295e8f=_0x346d1f[_0x1eebd1(0x76)]();_0x32bc77[_0x1eebd1(0x10a)][_0x1eebd1(0x109)]=_0x5e310b[_0x1eebd1(0x9b)][_0x1eebd1(0xec)](_0x295e8f);}[_0x31dfd9(0xc3)](){const _0x4eeefd=_0x31dfd9;for(const _0xcae383 of this[_0x4eeefd(0x105)][_0x4eeefd(0xfc)]())this[_0x4eeefd(0x77)](_0xcae383);for(const _0xad6d0b of this[_0x4eeefd(0x93)][_0x4eeefd(0x102)]())_0xad6d0b[_0x4eeefd(0xf6)][_0x4eeefd(0xc3)]();super[_0x4eeefd(0xc3)](),this[_0x4eeefd(0x8e)]&&clearInterval(this[_0x4eeefd(0x8e)]);}}function Ke(_0x36a63a){const _0x1e33cc=_0x31dfd9;return _0x1e33cc(0xfe)in _0x36a63a;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x18a2(){const _0x2be5c6=['_editor','canEditAt','canAccept','listenTo','PendingActions','339676QYZTJY','PENDING_ACTION_SUGGESTION','11514504ahQDiu','destroy','commands','_pendingAction','getRanges','219567rlxLaV','acceptSuggestion','10jpeHyk','4832592InsFwH','isDirty','stopListening','isEnabled','commentThreadController','unbind','3177601pzHRWc','change:isDirty','_discardCommand','plugins','957196GVuHnK','get','12MBSNol','discardSuggestion','bind','_setPendingAction','model','add','execute','remove','view','canDiscard','locale','_acceptCommand','6023718bXSuXD','_removePendingAction'];_0x18a2=function(){return _0x2be5c6;};return _0x18a2();}const _0x481b54=_0x5f42;(function(_0xd5fad7,_0x5a4404){const _0x6f1a99=_0x5f42,_0x841115=_0xd5fad7();while(!![]){try{const _0x550ef5=-parseInt(_0x6f1a99(0x11e))/0x1+-parseInt(_0x6f1a99(0x12b))/0x2+-parseInt(_0x6f1a99(0x121))/0x3+parseInt(_0x6f1a99(0x117))/0x4*(parseInt(_0x6f1a99(0x120))/0x5)+parseInt(_0x6f1a99(0x12d))/0x6*(parseInt(_0x6f1a99(0x127))/0x7)+parseInt(_0x6f1a99(0x119))/0x8+parseInt(_0x6f1a99(0x110))/0x9;if(_0x550ef5===_0x5a4404)break;else _0x841115['push'](_0x841115['shift']());}catch(_0x2547fb){_0x841115['push'](_0x841115['shift']());}}}(_0x18a2,0xd62fe));import{ObservableMixin as _0x4b2ef7}from'ckeditor5/src/utils.js';function _0x5f42(_0x55c27e,_0x13d2e9){const _0x18a2fd=_0x18a2();return _0x5f42=function(_0x5f42a8,_0x3a0dbe){_0x5f42a8=_0x5f42a8-0x106;let _0x5523bc=_0x18a2fd[_0x5f42a8];return _0x5523bc;},_0x5f42(_0x55c27e,_0x13d2e9);}import{getTranslation as _0x2e800e}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b2ef7(){[_0x481b54(0x108)];[_0x481b54(0x10c)];[_0x481b54(0x125)];[_0x481b54(0x112)];[_0x481b54(0x10f)];[_0x481b54(0x129)];[_0x481b54(0x11c)];constructor(_0x486af5,_0x12c5f5,_0x30f108,_0x158aaa){const _0x5e43d9=_0x481b54;super(),this[_0x5e43d9(0x108)]=_0x12c5f5,this[_0x5e43d9(0x10c)]=_0x30f108,this[_0x5e43d9(0x125)]=_0x158aaa,this[_0x5e43d9(0x112)]=_0x486af5,this[_0x5e43d9(0x10f)]=_0x486af5[_0x5e43d9(0x11b)][_0x5e43d9(0x12c)](_0x5e43d9(0x11f)),this[_0x5e43d9(0x129)]=_0x486af5[_0x5e43d9(0x11b)][_0x5e43d9(0x12c)](_0x5e43d9(0x12e)),this[_0x5e43d9(0x10c)][_0x5e43d9(0x106)](_0x5e43d9(0x124))['to'](this[_0x5e43d9(0x10f)],this[_0x5e43d9(0x129)],(_0x37056f,_0x3aca90)=>_0x37056f||_0x3aca90),this[_0x5e43d9(0x10c)][_0x5e43d9(0x106)](_0x5e43d9(0x114))['to'](this[_0x5e43d9(0x10f)],_0x5e43d9(0x124),_0x56c912=>_0x56c912&&this[_0x5e43d9(0x112)][_0x5e43d9(0x108)][_0x5e43d9(0x113)](_0x12c5f5[_0x5e43d9(0x11d)]())),this[_0x5e43d9(0x10c)][_0x5e43d9(0x106)](_0x5e43d9(0x10d))['to'](this[_0x5e43d9(0x129)],_0x5e43d9(0x124),_0x2a6f33=>_0x2a6f33&&this[_0x5e43d9(0x112)][_0x5e43d9(0x108)][_0x5e43d9(0x113)](_0x12c5f5[_0x5e43d9(0x11d)]())),this[_0x5e43d9(0x11c)]=null,_0x30f108[_0x5e43d9(0x122)]&&this[_0x5e43d9(0x107)](),this[_0x5e43d9(0x115)](_0x30f108,_0x5e43d9(0x11f),()=>this[_0x5e43d9(0x11f)]()),this[_0x5e43d9(0x115)](_0x30f108,_0x5e43d9(0x12e),()=>this[_0x5e43d9(0x12e)]()),this[_0x5e43d9(0x115)](_0x30f108,_0x5e43d9(0x128),()=>{const _0xc0a121=_0x5e43d9;_0x30f108[_0xc0a121(0x122)]?this[_0xc0a121(0x107)]():this[_0xc0a121(0x111)]();});}[_0x481b54(0x11f)](){const _0x14e514=_0x481b54;this[_0x14e514(0x10f)][_0x14e514(0x10a)](this[_0x14e514(0x108)]['id']);}[_0x481b54(0x12e)](){const _0xc925bc=_0x481b54;this[_0xc925bc(0x129)][_0xc925bc(0x10a)](this[_0xc925bc(0x108)]['id']);}[_0x481b54(0x11a)](){const _0x4b4b20=_0x481b54;this[_0x4b4b20(0x10c)][_0x4b4b20(0x126)](_0x4b4b20(0x124)),this[_0x4b4b20(0x10c)][_0x4b4b20(0x126)](_0x4b4b20(0x114)),this[_0x4b4b20(0x10c)][_0x4b4b20(0x126)](_0x4b4b20(0x10d)),this[_0x4b4b20(0x123)](),this[_0x4b4b20(0x125)][_0x4b4b20(0x11a)](),this[_0x4b4b20(0x11c)]&&this[_0x4b4b20(0x111)]();}[_0x481b54(0x107)](){const _0x4634d8=_0x481b54,_0x69b40=_0x2e800e(this[_0x4634d8(0x112)][_0x4634d8(0x10e)],_0x4634d8(0x118));this[_0x4634d8(0x11c)]=this[_0x4634d8(0x112)][_0x4634d8(0x12a)][_0x4634d8(0x12c)](_0x4634d8(0x116))[_0x4634d8(0x109)](_0x69b40);}[_0x481b54(0x111)](){const _0xda8719=_0x481b54;null!==this[_0xda8719(0x11c)]&&this[_0xda8719(0x112)][_0xda8719(0x12a)][_0xda8719(0x12c)](_0xda8719(0x116))[_0xda8719(0x10b)](this[_0xda8719(0x11c)]),this[_0xda8719(0x11c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x24ef(){const _0x583617=['isEnabled','parseFromString','setData','authoredAt','focusables','name','SUGGESTION_THREAD_DESCRIPTION','updateComment','target','content','fire','isReadOnly','_createCommentViews','delegate','textContent','removeComment','focusTracker','editor','focus','176389QBNdjo','205680SRgXRO','body','721544vyEHmE','_localUser','map','text/html','focusCycler','_model','editorConfig','commentThread','render','value','isDirty','assign','commentThreadInputView','formatDateTime','SUGGESTION_THREAD_ARIA_LABEL','156FXSpcV','cancel','destroy','ariaDescriptionView','descriptionParts','disabledSubmit','shift+tab','set','tab','36wgdElO','disableComments','commentsListView','6AZTdhP','ariaLabel','locale','_createCommentThreadInputView','showInput','author','canAccept','length','isActive','_config','keystrokes','bind','327762FCXPln','CommentView','11272JbUfFc','926945OXYWel','canDiscard','submit','commentInputView','hasDirtyComment','2102226ZlxzYT','join','element','addComment'];_0x24ef=function(){return _0x583617;};return _0x24ef();}function _0x9351(_0x29aa5c,_0x2c6faf){const _0x24efca=_0x24ef();return _0x9351=function(_0x935114,_0x223182){_0x935114=_0x935114-0x1ec;let _0x30c970=_0x24efca[_0x935114];return _0x30c970;},_0x9351(_0x29aa5c,_0x2c6faf);}const _0x1f4b64=_0x9351;(function(_0xd2cabc,_0x40fa39){const _0x5c32ac=_0x9351,_0x51988c=_0xd2cabc();while(!![]){try{const _0x36d5c0=parseInt(_0x5c32ac(0x229))/0x1+-parseInt(_0x5c32ac(0x20a))/0x2+-parseInt(_0x5c32ac(0x1f2))/0x3*(parseInt(_0x5c32ac(0x20c))/0x4)+parseInt(_0x5c32ac(0x20d))/0x5*(parseInt(_0x5c32ac(0x1fe))/0x6)+parseInt(_0x5c32ac(0x212))/0x7+-parseInt(_0x5c32ac(0x22c))/0x8+-parseInt(_0x5c32ac(0x1fb))/0x9*(parseInt(_0x5c32ac(0x22a))/0xa);if(_0x36d5c0===_0x40fa39)break;else _0x51988c['push'](_0x51988c['shift']());}catch(_0x26c1f7){_0x51988c['push'](_0x51988c['shift']());}}}(_0x24ef,0x2bc0e));import{FocusCycler as _0x4169be,View as _0x4c564b,ViewCollection as _0x27c542}from'ckeditor5/src/ui.js';import{FocusTracker as _0x420762,KeystrokeHandler as _0x5ed5cb}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x51bba5,setupThreadKeyboardNavigation as _0x3f187a}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x455a20}from'../../utils/common-translations.js';import{renderDescription as _0xd59804}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4c564b{[_0x1f4b64(0x1fd)];[_0x1f4b64(0x1ef)];[_0x1f4b64(0x1f5)];[_0x1f4b64(0x21a)];[_0x1f4b64(0x226)];[_0x1f4b64(0x208)];[_0x1f4b64(0x230)];[_0x1f4b64(0x231)];[_0x1f4b64(0x22d)];[_0x1f4b64(0x207)];constructor(_0x453f83,_0x25eedc,_0x5526e8,_0x145fa9){const _0x538126=_0x1f4b64;super(_0x453f83),this[_0x538126(0x1fd)]=null,this[_0x538126(0x1ef)]=null,this[_0x538126(0x1f5)]=new _0x51bba5(_0x453f83,_0x455a20(_0x453f83,_0x538126(0x21c))),this[_0x538126(0x1f9)](_0x538126(0x206),!0x1),this[_0x538126(0x1f9)](_0x538126(0x219),_0x25eedc[_0x538126(0x219)]),this[_0x538126(0x209)](_0x538126(0x219))['to'](_0x25eedc),this[_0x538126(0x1f9)](_0x538126(0x1f6),[]),this[_0x538126(0x1f9)](_0x538126(0x1ed),!0x1),this[_0x538126(0x1f9)](_0x538126(0x216),!0x1),this[_0x538126(0x1f9)](_0x538126(0x204),!0x1),this[_0x538126(0x1f9)](_0x538126(0x20e),!0x1),this[_0x538126(0x209)](_0x538126(0x1ff))['to'](this,_0x538126(0x205),_0x25eedc,_0x538126(0x219),this,_0x538126(0x1f6),(_0x2f722c,_0x4635f6,_0x150e16)=>{const _0x4b248c=_0x538126,_0x5e6138=_0x150e16[_0x4b248c(0x22e)](_0x54336d=>_0xd59804(_0x54336d[_0x4b248c(0x21f)]))[_0x4b248c(0x213)]('.\x20')+'.';return _0x455a20(this[_0x4b248c(0x200)],_0x4b248c(0x1f1),[_0x2f722c-0x1,_0x25eedc[_0x4b248c(0x203)][_0x4b248c(0x21b)],_0x4635f6?_0x145fa9[_0x4b248c(0x1f0)](_0x4635f6):'',new DOMParser()[_0x4b248c(0x217)](_0x5e6138,_0x4b248c(0x22f))[_0x4b248c(0x22b)][_0x4b248c(0x224)]]);}),this[_0x538126(0x21a)]=new _0x27c542(),this[_0x538126(0x226)]=new _0x420762(),this[_0x538126(0x208)]=new _0x5ed5cb(),this[_0x538126(0x230)]=new _0x4169be({'focusables':this[_0x538126(0x21a)],'focusTracker':this[_0x538126(0x226)],'keystrokeHandler':this[_0x538126(0x208)],'keystrokeHandlerOptions':{'filter':_0x1c5225=>_0x1c5225[_0x538126(0x21e)]!==this[_0x538126(0x214)]},'actions':{'focusPrevious':_0x538126(0x1f8),'focusNext':_0x538126(0x1fa)}}),this[_0x538126(0x231)]=_0x25eedc,this[_0x538126(0x22d)]=_0x5526e8,this[_0x538126(0x207)]=_0x145fa9,_0x145fa9[_0x538126(0x1fc)]?this[_0x538126(0x1f9)](_0x538126(0x205),0x1):this[_0x538126(0x222)]();}[_0x1f4b64(0x234)](){const _0x2ce934=_0x1f4b64;super[_0x2ce934(0x234)](),_0x3f187a(this,this[_0x2ce934(0x21a)]);}[_0x1f4b64(0x228)](){const _0x130efc=_0x1f4b64;this[_0x130efc(0x214)][_0x130efc(0x228)]();}[_0x1f4b64(0x1f4)](){const _0x49d2f1=_0x1f4b64;this[_0x49d2f1(0x1fd)]&&this[_0x49d2f1(0x1fd)][_0x49d2f1(0x1f4)](),this[_0x49d2f1(0x1ef)]&&this[_0x49d2f1(0x1ef)][_0x49d2f1(0x1f4)](),super[_0x49d2f1(0x1f4)]();}[_0x1f4b64(0x222)](){const _0x5e16a6=_0x1f4b64,{CommentsListView:_0x541b91}=this[_0x5e16a6(0x207)];this[_0x5e16a6(0x1fd)]=new _0x541b91(this[_0x5e16a6(0x200)],this[_0x5e16a6(0x231)][_0x5e16a6(0x233)],Object[_0x5e16a6(0x1ee)]({'CommentView':this[_0x5e16a6(0x207)][_0x5e16a6(0x20b)]},this[_0x5e16a6(0x207)])),this[_0x5e16a6(0x1fd)][_0x5e16a6(0x223)](_0x5e16a6(0x225))['to'](this),this[_0x5e16a6(0x1fd)][_0x5e16a6(0x223)](_0x5e16a6(0x21d))['to'](this),this[_0x5e16a6(0x1fd)][_0x5e16a6(0x209)](_0x5e16a6(0x206))['to'](this),this[_0x5e16a6(0x1f9)](_0x5e16a6(0x205),this[_0x5e16a6(0x1fd)][_0x5e16a6(0x205)]+0x1),this[_0x5e16a6(0x209)](_0x5e16a6(0x205))['to'](this[_0x5e16a6(0x1fd)],_0x5e16a6(0x205),_0x389d91=>_0x389d91+0x1),this[_0x5e16a6(0x1ef)]=this[_0x5e16a6(0x201)](),this['on'](_0x5e16a6(0x225),()=>this[_0x5e16a6(0x228)]()),this[_0x5e16a6(0x209)](_0x5e16a6(0x1ed))['to'](this[_0x5e16a6(0x1fd)],_0x5e16a6(0x211),this[_0x5e16a6(0x1ef)][_0x5e16a6(0x210)],_0x5e16a6(0x1ec),(_0x57d5a3,_0x5b64a1)=>_0x57d5a3||!!_0x5b64a1);}[_0x1f4b64(0x201)](){const _0xdd920d=_0x1f4b64,{CommentThreadInputView:_0x19c7a3}=this[_0xdd920d(0x207)],_0x3f52c9=new _0x19c7a3(this[_0xdd920d(0x200)],this[_0xdd920d(0x22d)],this[_0xdd920d(0x207)][_0xdd920d(0x232)]),_0x312dfe=_0x3f52c9[_0xdd920d(0x210)];return _0x3f52c9[_0xdd920d(0x209)](_0xdd920d(0x202))['to'](this,_0xdd920d(0x206),this[_0xdd920d(0x231)][_0xdd920d(0x233)],_0xdd920d(0x221),_0x312dfe,_0xdd920d(0x1ec),(_0x4ac942,_0x49e7b0,_0x320f9b)=>!!_0x320f9b||_0x4ac942&&!_0x49e7b0),_0x312dfe['on'](_0xdd920d(0x20f),(_0x43c204,_0x45db84)=>{const _0x3cfe0b=_0xdd920d;this[_0x3cfe0b(0x220)](_0x3cfe0b(0x215),_0x45db84),_0x312dfe[_0x3cfe0b(0x227)][_0x3cfe0b(0x218)]('');}),_0x312dfe['on'](_0xdd920d(0x1f3),()=>this[_0xdd920d(0x228)]()),_0x312dfe[_0xdd920d(0x209)](_0xdd920d(0x1f7))['to'](this[_0xdd920d(0x231)][_0xdd920d(0x233)],_0xdd920d(0x221)),_0x3f52c9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x288c(){const _0x51a8ce=['acceptButton','getTemplate','bind','listitem','delegate','SuggestionView','4243905lNWCAU','author','ariaDescriptionView','focusables','div','458734GFLjtg','ck-rounded-corners','ck-suggestion--disabled-comments','description','commentThreadInputView','canAccept','1572464PgbfFF','set','descriptionParts','commentsListView','setTemplate','60qHnbRq','discardSuggestion','isEnabled','_config','push','ck-suggestion-','ck-suggestion-wrapper','ck-suggestion-wrapper--active','17421fAbbQq','disableComments','5utIcib','</p>','type','editorDestroyed','_descriptionElement','add','ariaLabel','editorReady','content','isActive','canDiscard','bindTemplate','formatDateTime','_model','discardButton','render','commentThread','2068206kAUAMS','suggestionView','3738882JYssoc','acceptSuggestion','<p>','169996NLWDyj','color'];_0x288c=function(){return _0x51a8ce;};return _0x288c();}const _0x2b621c=_0xf318;(function(_0x1dae0,_0x1affee){const _0x503533=_0xf318,_0x3e3129=_0x1dae0();while(!![]){try{const _0x270cd8=parseInt(_0x503533(0x17e))/0x1+-parseInt(_0x503533(0x171))/0x2+-parseInt(_0x503533(0x191))/0x3*(parseInt(_0x503533(0x189))/0x4)+-parseInt(_0x503533(0x15b))/0x5*(-parseInt(_0x503533(0x16e))/0x6)+-parseInt(_0x503533(0x16c))/0x7+parseInt(_0x503533(0x184))/0x8+-parseInt(_0x503533(0x179))/0x9;if(_0x270cd8===_0x1affee)break;else _0x3e3129['push'](_0x3e3129['shift']());}catch(_0x17095e){_0x3e3129['push'](_0x3e3129['shift']());}}}(_0x288c,0x52d85));import{BaseSuggestionThreadView as _0x510bcb}from'./basesuggestionthreadview.js';import{trimHtml as _0x34e468}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xf318(_0x468133,_0x24496b){const _0x288c61=_0x288c();return _0xf318=function(_0xf31833,_0x23b8e1){_0xf31833=_0xf31833-0x15a;let _0x5623d6=_0x288c61[_0xf31833];return _0x5623d6;},_0xf318(_0x468133,_0x24496b);}import{renderDescription as _0x5687c8}from'../../utils/utils.js';export class SuggestionThreadView extends _0x510bcb{[_0x2b621c(0x16d)];[_0x2b621c(0x15f)];constructor(_0x2d87ee,_0x316faf,_0x12e0da,_0x3d2fca){const _0xbff452=_0x2b621c;super(_0x2d87ee,_0x316faf,_0x12e0da,_0x3d2fca),this[_0xbff452(0x185)](_0xbff452(0x15d),''),this[_0xbff452(0x175)](_0xbff452(0x15d))['to'](this,_0xbff452(0x186),_0x46b00a=>_0x46b00a&&_0x46b00a[0x0]?_0x46b00a[0x0][_0xbff452(0x15d)]:''),this[_0xbff452(0x175)](_0xbff452(0x181))['to'](this,_0xbff452(0x186),this,_0xbff452(0x164),(_0x1f7fc0,_0x50be58)=>{const _0x540c74=_0xbff452;let _0x388b18='';for(const _0x21a2e5 of _0x1f7fc0)_0x388b18+=_0x540c74(0x170)+_0x5687c8(_0x21a2e5[_0x540c74(0x163)],_0x21a2e5[_0x540c74(0x172)])+_0x540c74(0x15c);return _0x50be58?_0x388b18:_0x34e468(_0x388b18,{'limit':0x8c});}),this[_0xbff452(0x15f)]=null,this[_0xbff452(0x16d)]=new _0x3d2fca[(_0xbff452(0x178))](_0x2d87ee,_0x316faf,{'formatDateTime':_0x3d2fca[_0xbff452(0x167)]}),this[_0xbff452(0x16d)][_0xbff452(0x175)](_0xbff452(0x181))['to'](this),this[_0xbff452(0x16d)][_0xbff452(0x177)](_0xbff452(0x16f),_0xbff452(0x18a))['to'](this),this[_0xbff452(0x16d)][_0xbff452(0x173)][_0xbff452(0x175)](_0xbff452(0x18b))['to'](this,_0xbff452(0x183)),this[_0xbff452(0x16d)][_0xbff452(0x169)][_0xbff452(0x175)](_0xbff452(0x18b))['to'](this,_0xbff452(0x165)),this[_0xbff452(0x17c)][_0xbff452(0x160)](this[_0xbff452(0x16d)]),this[_0xbff452(0x187)]&&this[_0xbff452(0x17c)][_0xbff452(0x160)](this[_0xbff452(0x187)]),this[_0xbff452(0x182)]&&this[_0xbff452(0x17c)][_0xbff452(0x160)](this[_0xbff452(0x182)]),this[_0xbff452(0x188)](this[_0xbff452(0x174)]());}[_0x2b621c(0x174)](){const _0x2ae435=_0x2b621c,_0x3f9baa=this[_0x2ae435(0x166)],_0x55bdbf=[this[_0x2ae435(0x16d)]];return this[_0x2ae435(0x187)]&&_0x55bdbf[_0x2ae435(0x18d)](this[_0x2ae435(0x187)]),this[_0x2ae435(0x182)]&&_0x55bdbf[_0x2ae435(0x18d)](this[_0x2ae435(0x182)]),_0x55bdbf[_0x2ae435(0x18d)](this[_0x2ae435(0x17b)]),{'tag':_0x2ae435(0x17d),'attributes':{'class':['ck',_0x2ae435(0x17f),_0x2ae435(0x18f),_0x3f9baa['if'](_0x2ae435(0x164),_0x2ae435(0x190)),_0x3f9baa['to'](_0x2ae435(0x15d),_0xe97373=>_0x2ae435(0x18e)+_0xe97373),this[_0x2ae435(0x18c)][_0x2ae435(0x15a)]&&_0x2ae435(0x180)],'data-suggestion-id':this[_0x2ae435(0x168)]['id'],'data-thread-id':this[_0x2ae435(0x168)][_0x2ae435(0x16b)]['id'],'data-author-id':this[_0x2ae435(0x168)][_0x2ae435(0x17a)]['id'],'tabindex':0x0,'role':_0x2ae435(0x176),'aria-label':_0x3f9baa['to'](_0x2ae435(0x161)),'aria-describedby':this[_0x2ae435(0x17b)]['id']},'children':_0x55bdbf};}[_0x2b621c(0x16a)](){const _0x50a0c6=_0x2b621c;super[_0x50a0c6(0x16a)](),this[_0x50a0c6(0x187)]&&(this[_0x50a0c6(0x187)][_0x50a0c6(0x177)](_0x50a0c6(0x162))['to'](this),this[_0x50a0c6(0x187)][_0x50a0c6(0x177)](_0x50a0c6(0x15e))['to'](this)),this[_0x50a0c6(0x182)]&&(this[_0x50a0c6(0x182)][_0x50a0c6(0x177)](_0x50a0c6(0x162))['to'](this),this[_0x50a0c6(0x182)][_0x50a0c6(0x177)](_0x50a0c6(0x15e))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x573c70=_0x41d8;function _0x41d8(_0x56ce5c,_0x32c1f3){const _0x3e8d5c=_0x3e8d();return _0x41d8=function(_0x41d8da,_0x60c612){_0x41d8da=_0x41d8da-0x18d;let _0x3121e1=_0x3e8d5c[_0x41d8da];return _0x3121e1;},_0x41d8(_0x56ce5c,_0x32c1f3);}(function(_0x5e22fa,_0x205edf){const _0x1a1cfc=_0x41d8,_0x2a2b3d=_0x5e22fa();while(!![]){try{const _0x12f5c3=parseInt(_0x1a1cfc(0x19c))/0x1+parseInt(_0x1a1cfc(0x1e7))/0x2*(parseInt(_0x1a1cfc(0x18e))/0x3)+-parseInt(_0x1a1cfc(0x1e0))/0x4*(-parseInt(_0x1a1cfc(0x1e4))/0x5)+parseInt(_0x1a1cfc(0x1b4))/0x6*(parseInt(_0x1a1cfc(0x1b2))/0x7)+-parseInt(_0x1a1cfc(0x1ab))/0x8*(parseInt(_0x1a1cfc(0x1e5))/0x9)+-parseInt(_0x1a1cfc(0x196))/0xa*(parseInt(_0x1a1cfc(0x1d6))/0xb)+parseInt(_0x1a1cfc(0x1a6))/0xc*(-parseInt(_0x1a1cfc(0x1da))/0xd);if(_0x12f5c3===_0x205edf)break;else _0x2a2b3d['push'](_0x2a2b3d['shift']());}catch(_0x59857b){_0x2a2b3d['push'](_0x2a2b3d['shift']());}}}(_0x3e8d,0xaadc7));import{FocusTracker as _0x42df7e,KeystrokeHandler as _0x1a50b3}from'ckeditor5/src/utils.js';import{View as _0x2756a8,ViewCollection as _0x1d2e99,FocusCycler as _0x200d31}from'ckeditor5/src/ui.js';function _0x3e8d(){const _0x40ab0b=['ck-annotation__info-time','ck-suggestion__main','1648611Ahcooo','ck-comment__external','ck-annotation__info-name','creator','_config','element','querySelector','add','130gGZpjM','ck-annotation__info','enter','esc','isExternal','ck-suggestion--accept','796992QDkVby','ck-suggestion--discard','ck-suggestion','ck-annotation','.ck-annotation__content-wrapper','Discard\x20suggestion','author','@external','_model','Accept\x20suggestion','216fapglU','acceptButton','discardSuggestion','formatDateTime','ck-annotation__user','18792WDGlko','bind','EXTERNAL_AVATAR','fire','getExternalSuggestionNote','ck-suggestion__user','tab','994GMYTrW','focusFirst','41772EllSiN','authoredAt','ck-annotation__actions','description','div','ck-suggestion__info-name','focus','_setupKeyboardNavigation','set','innerHTML','focusTracker','listenTo','discardButton','acceptSuggestion','extendTemplate','_createButton','render','push','userView','focusables','time','change:description','presentation','execute','span','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__content-wrapper','importWord','target','shift+tab','setTemplate','name','focusCycler','getUserViewNotificationText','581449comgYM','getTemplate','ck-suggestion__info','bindTemplate','290680jugfMB','ck-comment__info-time','EXTERNAL_IMPORT_WORD_AVATAR','locale','EXTERNAL_SUGGESTION','source','4aPakpa','ck-annotation__main','ck-suggestion__actions','attributes','2040275AQGxcN','3654WeJYqC','keystrokes','2NYuSFr'];_0x3e8d=function(){return _0x40ab0b;};return _0x3e8d();}import{LateFocusButtonView as _0x3b48dc,UserView as _0xcb7b32}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0xe3e15d,IconCheck as _0x191cb3}from'ckeditor5/src/icons.js';import{getTranslation as _0x1358d1}from'../../utils/common-translations.js';export class SuggestionView extends _0x2756a8{[_0x573c70(0x1c6)];[_0x573c70(0x1a7)];[_0x573c70(0x1c0)];[_0x573c70(0x1c7)];[_0x573c70(0x1be)];[_0x573c70(0x1e6)];[_0x573c70(0x1d4)];[_0x573c70(0x1a4)];[_0x573c70(0x192)];constructor(_0x1c14ce,_0x3cd61d,_0x56fac3){const _0x2daf60=_0x573c70;super(_0x1c14ce),this[_0x2daf60(0x1a4)]=_0x3cd61d,this[_0x2daf60(0x192)]=_0x56fac3,this[_0x2daf60(0x1bc)](_0x2daf60(0x1b7),''),this[_0x2daf60(0x1ac)](_0x2daf60(0x1b5))['to'](_0x3cd61d),this[_0x2daf60(0x1a7)]=this[_0x2daf60(0x1c3)](_0x1358d1(_0x1c14ce,_0x2daf60(0x1a5)),_0x191cb3,_0x2daf60(0x19b),_0x2daf60(0x1c1),'sw'),this[_0x2daf60(0x1c0)]=this[_0x2daf60(0x1c3)](_0x1358d1(_0x1c14ce,_0x2daf60(0x1a1)),_0xe3e15d,_0x2daf60(0x19d),_0x2daf60(0x1a8),'sw'),this[_0x2daf60(0x1c6)]=new _0xcb7b32(_0x1c14ce,_0x3cd61d[_0x2daf60(0x1a2)],this[_0x2daf60(0x1d5)]()),this[_0x2daf60(0x1c6)][_0x2daf60(0x1c2)]({'attributes':{'class':[_0x2daf60(0x1b0),_0x2daf60(0x1aa)],'aria-hidden':!0x0}}),this[_0x2daf60(0x1c7)]=new _0x1d2e99([this[_0x2daf60(0x1a7)],this[_0x2daf60(0x1c0)]]),this[_0x2daf60(0x1be)]=new _0x42df7e(),this[_0x2daf60(0x1e6)]=new _0x1a50b3(),this[_0x2daf60(0x1d4)]=new _0x200d31({'focusables':this[_0x2daf60(0x1c7)],'focusTracker':this[_0x2daf60(0x1be)],'keystrokeHandler':this[_0x2daf60(0x1e6)],'actions':{'focusPrevious':_0x2daf60(0x1d1),'focusNext':_0x2daf60(0x1b1)},'keystrokeHandlerOptions':{'filter':_0x551af6=>_0x551af6[_0x2daf60(0x1d0)]!==this[_0x2daf60(0x193)]}}),this[_0x2daf60(0x1d2)](this[_0x2daf60(0x1d7)]());}[_0x573c70(0x1c4)](){const _0x2dbce9=_0x573c70;super[_0x2dbce9(0x1c4)]();const _0x2eab3a=this[_0x2dbce9(0x193)][_0x2dbce9(0x194)](_0x2dbce9(0x1a0));_0x2eab3a[_0x2dbce9(0x1bd)]=this[_0x2dbce9(0x1b7)],this['on'](_0x2dbce9(0x1c9),(_0x199fb5,_0xb5c062,_0xfc49dc)=>{const _0x3f48d6=_0x2dbce9;_0x2eab3a[_0x3f48d6(0x1bd)]=_0xfc49dc;}),this[_0x2dbce9(0x1bb)]();}[_0x573c70(0x1d7)](){const _0xa1a6d=_0x573c70,_0x4b780d=this[_0xa1a6d(0x1d9)],_0x144bd4=[{'tag':_0xa1a6d(0x1b8),'attributes':{'class':[_0xa1a6d(0x1d8),_0xa1a6d(0x197)]},'children':[{'tag':_0xa1a6d(0x1cc),'children':[{'text':this[_0xa1a6d(0x1c6)][_0xa1a6d(0x1d3)]}],'attributes':{'class':[_0xa1a6d(0x1b9),_0xa1a6d(0x190)],'data-cke-tooltip-text':this[_0xa1a6d(0x1c6)][_0xa1a6d(0x1d3)]}},{'tag':_0xa1a6d(0x1c8),'attributes':{'datetime':_0x4b780d['to'](_0xa1a6d(0x1b5)),'class':[_0xa1a6d(0x1db),_0xa1a6d(0x1e8)]},'children':[{'text':_0x4b780d['to'](_0xa1a6d(0x1b5),_0x56909b=>this[_0xa1a6d(0x192)][_0xa1a6d(0x1a9)](_0x56909b))}]}]},{'tag':_0xa1a6d(0x1b8),'attributes':{'class':[_0xa1a6d(0x1e2),_0xa1a6d(0x1b6)]},'children':[this[_0xa1a6d(0x1a7)],this[_0xa1a6d(0x1c0)]]},{'tag':_0xa1a6d(0x1b8),'attributes':{'class':[_0xa1a6d(0x1ce)]}}];return this[_0xa1a6d(0x1a4)][_0xa1a6d(0x19a)]&&_0x144bd4[_0xa1a6d(0x1c5)]({'tag':_0xa1a6d(0x1b8),'attributes':{'class':[_0xa1a6d(0x18f)]},'children':[{'text':this[_0xa1a6d(0x1af)]()}]}),{'tag':_0xa1a6d(0x1b8),'attributes':{'class':[_0xa1a6d(0x19e),_0xa1a6d(0x19f)],'tabindex':-0x1},'children':[this[_0xa1a6d(0x1c6)],{'tag':_0xa1a6d(0x1b8),'attributes':{'class':[_0xa1a6d(0x18d),_0xa1a6d(0x1e1)],'role':_0xa1a6d(0x1ca)},'children':_0x144bd4}]};}[_0x573c70(0x1ba)](){const _0x5562d5=_0x573c70;this[_0x5562d5(0x193)][_0x5562d5(0x1ba)]();}[_0x573c70(0x1d5)](){const _0x385335=_0x573c70;return this[_0x385335(0x1a4)][_0x385335(0x19a)]?_0x385335(0x1cf)===this[_0x385335(0x1a4)][_0x385335(0x1e3)][_0x385335(0x1a3)][_0x385335(0x1df)]?_0x1358d1(this[_0x385335(0x1dd)],_0x385335(0x1dc),this[_0x385335(0x1a4)][_0x385335(0x191)][_0x385335(0x1d3)]):_0x1358d1(this[_0x385335(0x1dd)],_0x385335(0x1ad),this[_0x385335(0x1a4)][_0x385335(0x191)][_0x385335(0x1d3)]):null;}[_0x573c70(0x1af)](){const _0x56dbb7=_0x573c70;return _0x56dbb7(0x1cf)===this[_0x56dbb7(0x1a4)][_0x56dbb7(0x1e3)][_0x56dbb7(0x1a3)][_0x56dbb7(0x1df)]?_0x1358d1(this[_0x56dbb7(0x1dd)],_0x56dbb7(0x1cd)):_0x1358d1(this[_0x56dbb7(0x1dd)],_0x56dbb7(0x1de));}[_0x573c70(0x1c3)](_0x23cf7e,_0x4df133,_0x1b303a,_0x48da83,_0x1bb0c9){const _0x27c0fd=_0x573c70,_0x3552b8=new _0x3b48dc(this[_0x27c0fd(0x1dd)]);return _0x3552b8[_0x27c0fd(0x1bc)]({'label':_0x23cf7e,'icon':_0x4df133,'tooltip':!0x0,'tooltipPosition':_0x1bb0c9}),_0x3552b8[_0x27c0fd(0x1c2)]({'attributes':{'class':_0x1b303a}}),_0x3552b8['on'](_0x27c0fd(0x1cb),()=>{const _0x2ea8b2=_0x27c0fd;this[_0x2ea8b2(0x1ae)](_0x48da83,this[_0x2ea8b2(0x1a4)]['id']);}),_0x3552b8;}[_0x573c70(0x1bb)](){const _0x50723a=_0x573c70,_0xe200cf=this[_0x50723a(0x193)];this[_0x50723a(0x1e6)][_0x50723a(0x1bf)](_0xe200cf);for(const _0x3eca70 of this[_0x50723a(0x1c7)])this[_0x50723a(0x1be)][_0x50723a(0x195)](_0x3eca70[_0x50723a(0x193)]),this[_0x50723a(0x1e6)][_0x50723a(0x1bf)](_0x3eca70[_0x50723a(0x193)]);this[_0x50723a(0x1e6)][_0x50723a(0x1bc)](_0x50723a(0x198),(_0x4f1d1a,_0x55c844)=>{const _0x1040d6=_0x50723a;_0xe200cf===_0x4f1d1a[_0x1040d6(0x1d0)]&&(this[_0x1040d6(0x1d4)][_0x1040d6(0x1b3)](),_0x55c844());}),this[_0x50723a(0x1e6)][_0x50723a(0x1bc)](_0x50723a(0x199),(_0x4aa8fb,_0x52fe2e)=>{const _0x23127e=_0x50723a;_0xe200cf!==_0x4aa8fb[_0x23127e(0x1d0)]&&(this[_0x23127e(0x1ba)](),_0x52fe2e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31d8ee=_0x564c;function _0x1339(){const _0x4b7abd=['870248gkjnNp','ck-track-changes-preview','content','previewDataReady','dialogRects','4KpzsLr','setAttribute','div','innerHTML','element','options','6JgubSd','49NXuxgV','style','6394320PckplS','className','\x20ck-track-changes-preview__root-container','classes','createElement','push','2573310mjCnDc','10Niuscq','width','809561AsFUFH','setPreviewData','render','focus','1068789bGrDQv','setTemplate','3312749JQYWMd','ck-reset','3763610oYLbrc','fire','height','data-ck-root-name'];_0x1339=function(){return _0x4b7abd;};return _0x1339();}(function(_0x1fc7a1,_0x3abdaa){const _0x19e03a=_0x564c,_0x1083f3=_0x1fc7a1();while(!![]){try{const _0x298792=-parseInt(_0x19e03a(0x178))/0x1+-parseInt(_0x19e03a(0x175))/0x2+parseInt(_0x19e03a(0x17c))/0x3*(parseInt(_0x19e03a(0x189))/0x4)+parseInt(_0x19e03a(0x180))/0x5*(parseInt(_0x19e03a(0x16c))/0x6)+-parseInt(_0x19e03a(0x16d))/0x7*(-parseInt(_0x19e03a(0x184))/0x8)+parseInt(_0x19e03a(0x16f))/0x9+-parseInt(_0x19e03a(0x176))/0xa*(-parseInt(_0x19e03a(0x17e))/0xb);if(_0x298792===_0x3abdaa)break;else _0x1083f3['push'](_0x1083f3['shift']());}catch(_0x3e4f9f){_0x1083f3['push'](_0x1083f3['shift']());}}}(_0x1339,0xbfdd3));import{View as _0xc74a1e}from'ckeditor5/src/ui.js';function _0x564c(_0x187c68,_0x2c6e3e){const _0x1339ff=_0x1339();return _0x564c=function(_0x564c3e,_0x48d55e){_0x564c3e=_0x564c3e-0x16c;let _0x466989=_0x1339ff[_0x564c3e];return _0x466989;},_0x564c(_0x187c68,_0x2c6e3e);}export class TrackChangesPreviewView extends _0xc74a1e{[_0x31d8ee(0x18e)];constructor(_0xed04d7,_0x4e4d66){const _0x3cdf84=_0x31d8ee;super(_0xed04d7),this[_0x3cdf84(0x18e)]=_0x4e4d66,this[_0x3cdf84(0x17d)]({'tag':_0x3cdf84(0x18b),'attributes':{'class':['ck',_0x3cdf84(0x17f),_0x3cdf84(0x185)],'tabindex':-0x1}});}[_0x31d8ee(0x17a)](){const _0x30aad2=_0x31d8ee;super[_0x30aad2(0x17a)](),this[_0x30aad2(0x18d)][_0x30aad2(0x16e)][_0x30aad2(0x177)]=this[_0x30aad2(0x18e)][_0x30aad2(0x188)][_0x30aad2(0x177)]+'px',this[_0x30aad2(0x18d)][_0x30aad2(0x16e)][_0x30aad2(0x182)]=this[_0x30aad2(0x18e)][_0x30aad2(0x188)][_0x30aad2(0x182)]+'px';}[_0x31d8ee(0x179)](_0x3670a8,_0x474190){const _0x1b0898=_0x31d8ee;if(!this[_0x1b0898(0x18d)])return;const _0x2c3f6a=[];for(const [_0x436a2e,_0x5d33e7]of _0x3670a8){const _0x42d34e=document[_0x1b0898(0x173)](_0x1b0898(0x18b));_0x42d34e[_0x1b0898(0x18a)](_0x1b0898(0x183),_0x436a2e),_0x42d34e[_0x1b0898(0x170)]=_0x5d33e7[_0x1b0898(0x172)]+_0x1b0898(0x171),_0x42d34e[_0x1b0898(0x18c)]=_0x5d33e7[_0x1b0898(0x186)],_0x2c3f6a[_0x1b0898(0x174)](_0x42d34e);}_0x474190(this[_0x1b0898(0x18d)],_0x2c3f6a),this[_0x1b0898(0x18d)][_0x1b0898(0x16e)][_0x1b0898(0x182)]='',this[_0x1b0898(0x181)](_0x1b0898(0x187));}[_0x31d8ee(0x17b)](){const _0x1cfeb1=_0x31d8ee;this[_0x1cfeb1(0x18d)][_0x1cfeb1(0x17b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4d9809,_0x3ecc4e,_0x2a17c9){const _0x422c46=_0x4d9809['t'],t=_0x4d9809['t'];switch(_0x3ecc4e){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',_0x2a17c9);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2a17c9);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2a17c9);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2a17c9);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2a17c9);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',_0x2a17c9);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2a17c9);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',_0x2a17c9);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2a17c9);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2a17c9);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2a17c9);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2a17c9);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2a17c9);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2a17c9);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2a17c9);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2a17c9);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2a17c9);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2a17c9);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2a17c9);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2a17c9);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2a17c9);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2a17c9);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2a17c9);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2a17c9);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2a17c9);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'},_0x2a17c9);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2a17c9);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2a17c9);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2a17c9);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2a17c9);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2a17c9);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2a17c9);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2a17c9);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'},_0x2a17c9);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2a17c9);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2a17c9);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2a17c9);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2a17c9);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'},_0x2a17c9);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2a17c9);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'},_0x2a17c9);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2a17c9);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2a17c9);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'},_0x2a17c9);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2a17c9);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'},_0x2a17c9);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2a17c9);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x2a17c9);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x2a17c9);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x2a17c9);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2a17c9);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'},_0x2a17c9);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2a17c9);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 _0x422c46({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2a17c9);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x422c46({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2a17c9);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2a17c9);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'},_0x2a17c9);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'},_0x2a17c9);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'},_0x2a17c9);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3ecc4e;}}
|
|
23
|
+
export function getTranslation(_0x28f389,_0x5bb5b0,_0x4266e6){const _0xd0fea3=_0x28f389['t'],t=_0x28f389['t'];switch(_0x5bb5b0){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',_0x4266e6);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4266e6);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4266e6);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4266e6);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4266e6);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',_0x4266e6);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4266e6);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',_0x4266e6);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4266e6);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4266e6);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4266e6);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4266e6);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4266e6);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4266e6);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4266e6);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4266e6);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4266e6);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4266e6);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4266e6);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4266e6);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4266e6);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4266e6);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4266e6);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4266e6);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4266e6);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'},_0x4266e6);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4266e6);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4266e6);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4266e6);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4266e6);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4266e6);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4266e6);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4266e6);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'},_0x4266e6);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4266e6);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4266e6);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4266e6);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4266e6);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'},_0x4266e6);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4266e6);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'},_0x4266e6);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4266e6);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4266e6);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'},_0x4266e6);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4266e6);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'},_0x4266e6);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4266e6);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x4266e6);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x4266e6);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x4266e6);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4266e6);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'},_0x4266e6);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4266e6);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 _0xd0fea3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4266e6);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xd0fea3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4266e6);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4266e6);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'},_0x4266e6);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'},_0x4266e6);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'},_0x4266e6);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5bb5b0;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xe9e0a9,_0x41b253){const _0x443210=_0x37ed,_0x4f2eec=_0xe9e0a9();while(!![]){try{const _0x1ac38a=-parseInt(_0x443210(0x9e))/0x1*(parseInt(_0x443210(0x90))/0x2)+parseInt(_0x443210(0xa3))/0x3*(-parseInt(_0x443210(0xa8))/0x4)+-parseInt(_0x443210(0x99))/0x5*(-parseInt(_0x443210(0x77))/0x6)+-parseInt(_0x443210(0x76))/0x7*(-parseInt(_0x443210(0x9b))/0x8)+-parseInt(_0x443210(0x8c))/0x9+-parseInt(_0x443210(0x83))/0xa+parseInt(_0x443210(0x88))/0xb;if(_0x1ac38a===_0x41b253)break;else _0x4f2eec['push'](_0x4f2eec['shift']());}catch(_0x415986){_0x4f2eec['push'](_0x4f2eec['shift']());}}}(_0x4e33,0x91e97));export function normalizeDescription(_0x2b6855){const _0x2540c4=_0x37ed;return Array[_0x2540c4(0x8d)](_0x2b6855)||(_0x2b6855=[_0x2b6855]),_0x2b6855[_0x2540c4(0x7a)](_0x410f69=>{const _0x513b26=_0x2540c4,_0x56de39=_0x410f69[_0x513b26(0x8b)][_0x513b26(0x86)](/\*/g,''),_0x3e31e3=_0x410f69[_0x513b26(0x89)]?_0x513b26(0xa7)+_0x410f69[_0x513b26(0x89)][_0x513b26(0x7c)]+']':'';return'['+_0x410f69[_0x513b26(0x92)]+']\x20'+_0x56de39+_0x3e31e3;})[_0x2540c4(0x78)](';\x20');}export function renderDescription(_0x4b5150,_0x4e961b){const _0xb253bf=_0x37ed;let _0x3f5df2='';return _0x3f5df2+=_0x4b5150[_0xb253bf(0xad)]('*')[_0xb253bf(0x7a)]((_0x2fe1f8,_0x1a34a1)=>_0x1a34a1%0x2!=0x0?_0xb253bf(0xa6)+tn(_0x2fe1f8)+_0xb253bf(0x7e):tn(_0x2fe1f8))[_0xb253bf(0x78)](''),_0x4e961b&&(_0x3f5df2+=_0xb253bf(0x98)+_0x4e961b[_0xb253bf(0x7c)]+_0xb253bf(0x9f)+_0x4e961b[_0xb253bf(0x8a)]+_0xb253bf(0x9d)),_0x3f5df2;}function tn(_0x41d492){const _0x197179=_0x37ed,_0x1533d4=document[_0x197179(0xa4)](_0x197179(0xab));return _0x1533d4[_0x197179(0x7b)]=_0x41d492,_0x1533d4[_0x197179(0x96)];}export function sortSuggestions(_0x168e4a){const _0x124918=_0x37ed;return _0x168e4a[_0x124918(0xa5)]((_0x5496db,_0x487360)=>_0x124918(0x79)===_0x5496db[_0x124918(0x92)]&&_0x124918(0x79)!==_0x487360[_0x124918(0x92)]?-0x1:_0x124918(0x79)!==_0x5496db[_0x124918(0x92)]&&_0x124918(0x79)===_0x487360[_0x124918(0x92)]?0x1:_0x124918(0xa1)==_0x5496db[_0x124918(0x92)]&&_0x124918(0xa1)!=_0x487360[_0x124918(0x92)]?-0x1:_0x124918(0xa1)!=_0x5496db[_0x124918(0x92)]&&_0x124918(0xa1)==_0x487360[_0x124918(0x92)]?0x1:0x0);}function _0x4e33(){const _0x2252e8=['value','start','</span>','createRange','isTouching','change','end','4994270ooEBLm','from','push','replace','getRanges','2178748qBDapQ','color','title','content','1493667skZZFf','isArray','add','isMultiRange','870760gkJvot','createPositionAfter','type','isIntersecting','execute','next','innerHTML','length','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','5WYiepa','isCollapsed','223560JEDHqJ','createPositionBefore','\x22></span>','1dahuQA','\x22\x20title=\x22','isObject','deletion','splice','741927ndFwVz','createElement','sort','<span\x20class=\x22ck-suggestion-type\x22>','\x20[color\x20','4gmTqAt','isInContent','schema','span','createPositionAt','split','203TJfMtE','5623566vKnCpn','join','attribute','map','innerText'];_0x4e33=function(){return _0x2252e8;};return _0x4e33();}export function getSelectedSuggestions(_0x3e9fd6,_0x3cb62e){const _0x491867=_0x37ed,_0x92320b=Array[_0x491867(0x84)](_0x3e9fd6[_0x491867(0x87)]()),_0xbdd62c=new Set();for(const _0x168da7 of _0x3cb62e)if(_0x168da7[_0x491867(0xa9)]){for(const _0x19d418 of _0x92320b)for(const _0x3e6ab8 of _0x168da7[_0x491867(0x87)]())(_0x19d418[_0x491867(0x93)](_0x3e6ab8)||_0x3e9fd6[_0x491867(0x9a)]&&!_0x168da7[_0x491867(0x8f)]&&_0x168da7[_0x491867(0x95)]&&_0x3e6ab8[_0x491867(0x82)][_0x491867(0x80)](_0x19d418[_0x491867(0x7d)]))&&_0xbdd62c[_0x491867(0x8e)](_0x168da7);}return _0xbdd62c;}export function getRangesOfBlockGroups(_0x4a9eec,_0x4e11ae){const _0x2bd552=_0x37ed;let _0xcf1ca3,_0x3822a1=0x0;const _0x35608e=[],_0x449df5=_0x4e11ae[_0x2bd552(0xaa)];for(;_0x3822a1<_0x4a9eec[_0x2bd552(0x97)];){const _0x310929=_0x4a9eec[_0x3822a1],_0x2541f1=_0x4a9eec[_0x3822a1+0x1];_0xcf1ca3||(_0xcf1ca3=_0x4e11ae[_0x2bd552(0x9c)](_0x310929)),nn(_0x4e11ae,_0x310929,_0x2541f1)||(_0x35608e[_0x2bd552(0x85)](_0x4e11ae[_0x2bd552(0x7f)](_0xcf1ca3,_0x449df5[_0x2bd552(0xa0)](_0x310929)?_0x4e11ae[_0x2bd552(0x91)](_0x310929):_0x4e11ae[_0x2bd552(0xac)](_0x310929,_0x2bd552(0x82)))),_0xcf1ca3=null),_0x3822a1++;}return _0x35608e;}function nn(_0x5e1d96,_0x16eaa6,_0x1b13e8){const _0x1b4d8e=_0x37ed;if(!_0x1b13e8)return!0x1;const _0x3c1489=_0x5e1d96[_0x1b4d8e(0x91)](_0x16eaa6),_0x55d198=_0x5e1d96[_0x1b4d8e(0x9c)](_0x1b13e8);return _0x3c1489[_0x1b4d8e(0x80)](_0x55d198);}function _0x37ed(_0x2433dc,_0x56d2ee){const _0x4e3302=_0x4e33();return _0x37ed=function(_0x37eda4,_0x22b309){_0x37eda4=_0x37eda4-0x76;let _0x27b858=_0x4e3302[_0x37eda4];return _0x27b858;},_0x37ed(_0x2433dc,_0x56d2ee);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3fbe2a,_0x28587d,_0x5317a3){const _0x2b5692=_0x37ed;for(;_0x5317a3[_0x2b5692(0x97)];){const _0x430db8=_0x5317a3[_0x2b5692(0xa2)](0x0,0x64);_0x3fbe2a[_0x2b5692(0x81)](()=>{const _0x324892=_0x2b5692;for(const _0x2c030a of _0x430db8)_0x2c030a[_0x324892(0xa9)]&&_0x28587d[_0x324892(0x94)](_0x2c030a['id']);});}}
|