@ckeditor/ckeditor5-track-changes 46.1.0-alpha.0 → 46.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x20b0(_0xbf7dba,_0x5f555a){const _0x106522=_0x1065();return _0x20b0=function(_0x20b009,_0x2e55ce){_0x20b009=_0x20b009-0xd4;let _0x4bcb7b=_0x106522[_0x20b009];return _0x4bcb7b;},_0x20b0(_0xbf7dba,_0x5f555a);}function _0x1065(){const _0xc72398=['previewFinalContent','commands','3044170DsomFZ','isOfficialPlugin','47826STxGvh','isPremiumPlugin','TrackChangesPreview','3115602GlQKTN','8218104oRzgqd','5vRvLXz','editor','trackChanges.preview.renderFunction','808raTXNu','7396196FMHBhk','add','pluginName','config','requires','1394248nGGllo','appendChild','165vEwpPl','define','3242577kftPKs','7qkBbcS'];_0x1065=function(){return _0xc72398;};return _0x1065();}const _0x294271=_0x20b0;(function(_0x3f6b94,_0x2fd990){const _0x55bb26=_0x20b0,_0x6ac3b=_0x3f6b94();while(!![]){try{const _0x43943d=-parseInt(_0x55bb26(0xe7))/0x1+parseInt(_0x55bb26(0xdc))/0x2+-parseInt(_0x55bb26(0xeb))/0x3+-parseInt(_0x55bb26(0xe2))/0x4*(parseInt(_0x55bb26(0xde))/0x5)+parseInt(_0x55bb26(0xdd))/0x6*(-parseInt(_0x55bb26(0xd4))/0x7)+parseInt(_0x55bb26(0xe1))/0x8*(parseInt(_0x55bb26(0xd9))/0x9)+parseInt(_0x55bb26(0xd7))/0xa*(parseInt(_0x55bb26(0xe9))/0xb);if(_0x43943d===_0x2fd990)break;else _0x6ac3b['push'](_0x6ac3b['shift']());}catch(_0x50bfa8){_0x6ac3b['push'](_0x6ac3b['shift']());}}}(_0x1065,0xec112));import{Plugin as _0x3a97de}from'ckeditor5/src/core.js';import{Dialog as _0x5132fd}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x166ebe}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x395ea2}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x3a97de{static get[_0x294271(0xe6)](){return[_0x166ebe,_0x5132fd];}static get[_0x294271(0xe4)](){const _0x4692d1=_0x294271;return _0x4692d1(0xdb);}static get[_0x294271(0xd8)](){return!0x0;}static get[_0x294271(0xda)](){return!0x0;}constructor(_0x92627c){const _0x531ab3=_0x294271;super(_0x92627c),_0x92627c[_0x531ab3(0xd6)][_0x531ab3(0xe3)](_0x531ab3(0xd5),new _0x395ea2(this[_0x531ab3(0xdf)])),_0x92627c[_0x531ab3(0xe5)][_0x531ab3(0xea)](_0x531ab3(0xe0),(_0x3f01ec,_0x70fbec)=>{const _0x18c242=_0x531ab3;for(const _0x50261c of _0x70fbec)_0x3f01ec[_0x18c242(0xe8)](_0x50261c);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f8cbd=_0xc60e;function _0x4fed(){const _0x453fbe=['invalid','expired','licenseKey','from','innerView','getAllAdjacentSuggestions','push','change:previous','Accept\x20all\x20suggestions','panelView','previewFinalContent','_refreshActiveMarkers','fire','registerAnnotation','_handleSuggestionControllerDelayed','getFirstRange','acceptButton','8608089AIopzk','previous','16yNoWHh','_showLicenseError','isDirty','TrackChanges','button','Discard\x20all\x20selected\x20suggestions','get','acceptAllSuggestions','lowest','view','SuggestionView','_addUIComponentsToFactory','discardAllSuggestions','set','449332tQAfXr','commands','getRanges','_unbindEditors','reduce','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyEvaluationLimit','CommentsRepository','_licenseKeyCheckInterval','trackChangesLicenseKeyValid','getAnnotationForSuggestion','isMultiRange','separator','getSuggestionForAnnotation','menuitem','7908507XWdTzR','listenTo','items','createAnnotationView','destroy','filter','mainView','length','getMarkerNames','trackChangesLicenseKeyUsageLimit','toMany','6ZwzKCe','refreshSelectedViews','bind','isInContent','_suggestionToController','suggestionChanged','isPremiumPlugin','trackChangesLicenseKeyInvalid','pluginName','has','trialLimit','delegate','_disableComments','unbind','Track\x20changes','62684wtcKIl','acceptSelectedSuggestions','Annotations','editing','trackChanges.SuggestionThreadView','descriptionFactory','suggestion-','suggestionLoaded','addMany','_annotationViews','_destroyController','model','domainLimit','_handleControllerBuffer','head','featureNotAllowed','focus','comments','comments.maxThreadTotalWeight','_updateController','escape','size','keys','add','EditorAnnotations','discardButton','usageLimit','delete','commentThread','discardSelectedSuggestions','isOfficialPlugin','commentsListView','menuitemcheckbox','_bindAnnotationToEditors','isEnabled','14312910xaFKNU','createCommentThreadController','Preview\x20final\x20content','execute','TrackChangesUI','buttonView','config','menuBar:trackChanges','value','hasSuggestion','componentFactory','trackChangesLicenseKeyTrialLimit','suggestionUnloaded','activeMarkers','commandName','locale','define','TrackChangesPreview','clear','plugins','2KheBCp','comments.editorConfig','addComment','trackChangesLicenseKeyExpired','trackChanges','_createToolbarButton','comments.maxCommentCharsWhenCollapsed','requires','children','createAnnotation','switchbutton','trackChanges.SuggestionView','evaluationLimit','getMarkers','_viewToController','CommentsUI','isOn','activeAnnotations','some','11UUSBsZ','_createMenuBarMenu','change:activeAnnotations','suggestionView','stopListening','arrowView','source','getByInnerView','actionView','remove','addSourceCollector','getSuggestion','CommentView','getJoined','descriptionParts','Discard\x20all\x20suggestions','values','type','Accept\x20all\x20selected\x20suggestions','editor','comments.maxCommentsWhenCollapsed','2307405iouCao','SuggestionThreadView','trackChangesLicenseKeyNotAllowed','_initializeController','init','5908650Krvcly','TrackChangesEditing','trackChanges.disableComments','getDescriptions','menu'];_0x4fed=function(){return _0x453fbe;};return _0x4fed();}(function(_0x3e0969,_0x282637){const _0x1922da=_0xc60e,_0x4f244e=_0x3e0969();while(!![]){try{const _0x33662d=-parseInt(_0x1922da(0x18f))/0x1*(-parseInt(_0x1922da(0x158))/0x2)+parseInt(_0x1922da(0x1b7))/0x3+-parseInt(_0x1922da(0x1e2))/0x4+parseInt(_0x1922da(0x1bc))/0x5+parseInt(_0x1922da(0x149))/0x6*(-parseInt(_0x1922da(0x1d2))/0x7)+-parseInt(_0x1922da(0x1d4))/0x8*(-parseInt(_0x1922da(0x13e))/0x9)+-parseInt(_0x1922da(0x17b))/0xa*(parseInt(_0x1922da(0x1a2))/0xb);if(_0x33662d===_0x282637)break;else _0x4f244e['push'](_0x4f244e['shift']());}catch(_0x18a471){_0x4f244e['push'](_0x4f244e['shift']());}}}(_0x4fed,0xf390c));import{Plugin as _0x325c2f}from'ckeditor5/src/core.js';import{Collection as _0x452ba9}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x12ede7}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x588443,createDropdown as _0xedb3f,ListSeparatorView as _0x3fd9a3,MenuBarMenuView as _0x528a37,MenuBarMenuListView as _0x308fb1,MenuBarMenuListItemView as _0x24148c,MenuBarMenuListItemButtonView as _0x24a2b3,SplitButtonView as _0xabc408,UIModel as _0x50f5b8}from'ckeditor5/src/ui.js';import{Users as _0x2e6ac5,getDateTimeFormatter as _0x320135,getAllMarkersDomElementsSorted as _0x3531f2}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0xb3baf7}from'./trackchangesediting.js';function _0xc60e(_0x34f9ea,_0x1a1452){const _0x4fedaf=_0x4fed();return _0xc60e=function(_0xc60e9e,_0xf83bf5){_0xc60e9e=_0xc60e9e-0x130;let _0x36b22d=_0x4fedaf[_0xc60e9e];return _0x36b22d;},_0xc60e(_0x34f9ea,_0x1a1452);}import{SuggestionController as _0x294710}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x45bb68}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5944c2}from'./ui/view/suggestionview.js';import{getTranslation as _0x487e7e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x325c2f{[_0x2f8cbd(0x1c3)];[_0x2f8cbd(0x137)];[_0x2f8cbd(0x14d)];[_0x2f8cbd(0x19d)];[_0x2f8cbd(0x161)];[_0x2f8cbd(0x165)];[_0x2f8cbd(0x155)];static get[_0x2f8cbd(0x196)](){const _0x4e5932=_0x2f8cbd;return[_0xb3baf7,_0x2e6ac5,_0x4e5932(0x136),_0x4e5932(0x15a),_0x4e5932(0x170)];}static get[_0x2f8cbd(0x151)](){const _0x4c709e=_0x2f8cbd;return _0x4c709e(0x17f);}static get[_0x2f8cbd(0x176)](){return!0x0;}static get[_0x2f8cbd(0x14f)](){return!0x0;}constructor(_0x357f48){const _0x138447=_0x2f8cbd;super(_0x357f48),this[_0x138447(0x14d)]=new Map(),this[_0x138447(0x19d)]=new Map(),this[_0x138447(0x161)]=new Map(),this[_0x138447(0x165)]=new Map();const _0x50ca40=this[_0x138447(0x1b5)][_0x138447(0x181)];_0x50ca40[_0x138447(0x18b)](_0x138447(0x15c),_0x45bb68),_0x50ca40[_0x138447(0x18b)](_0x138447(0x19a),_0x5944c2),_0x50ca40[_0x138447(0x18b)](_0x138447(0x1be),!0x1),this[_0x138447(0x155)]=_0x50ca40[_0x138447(0x1da)](_0x138447(0x1be));}[_0x2f8cbd(0x1cf)](_0x2a334d,_0x25630e){const _0xab4c40=_0x2f8cbd;0x0===this[_0xab4c40(0x165)][_0xab4c40(0x16d)]&&setTimeout(()=>{const _0x5f34f4=_0xab4c40;for(const [_0x46cd8d,_0x176316]of this[_0x5f34f4(0x165)]){const _0x5e2e4b=this[_0x5f34f4(0x14d)][_0x5f34f4(0x152)](_0x46cd8d);_0x5e2e4b||_0x176316?_0x5e2e4b&&_0x176316&&this[_0x5f34f4(0x162)](_0x46cd8d):this[_0x5f34f4(0x1ba)](_0x46cd8d);}this[_0x5f34f4(0x165)][_0x5f34f4(0x18d)](),this[_0x5f34f4(0x1b5)][_0x5f34f4(0x18e)][_0x5f34f4(0x1da)](_0x5f34f4(0x170))[_0x5f34f4(0x14a)](),this[_0x5f34f4(0x1cc)]();},0xa),this[_0xab4c40(0x165)][_0xab4c40(0x1e1)](_0x2a334d,_0x25630e);}[_0x2f8cbd(0x1bb)](){const _0xfa2f7d=_0x2f8cbd,_0x317638=this[_0xfa2f7d(0x1b5)],_0x847dc9=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x1bd)),_0x53518e=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x15a)),_0xd789ab=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x170)),_0x54a811=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x136));this[_0xfa2f7d(0x1df)](),_0xd789ab[_0xfa2f7d(0x1ac)](()=>{const _0x5027b2=_0xfa2f7d,_0x2fc2bd=[];for(const [_0x2839e5,_0x232311]of Array[_0x5027b2(0x1c4)](this[_0x5027b2(0x14d)])){const _0x4799da=_0x2839e5[_0x5027b2(0x1c6)](),_0x513eb0=[];for(const _0x4e96de of _0x4799da){if(!_0x4e96de[_0x5027b2(0x14c)])continue;if(_0x4e96de[_0x5027b2(0x13a)]){_0x513eb0[_0x5027b2(0x1c7)](..._0x4e96de[_0x5027b2(0x131)]());continue;}const _0x5d53d3=_0x4e96de[_0x5027b2(0x1d0)]();if(_0x513eb0[_0x5027b2(0x145)]>0x0){const _0x46d73e=_0x513eb0[0x0][_0x5027b2(0x1af)](_0x5d53d3);if(_0x46d73e){_0x513eb0[0x0]=_0x46d73e;continue;}}_0x513eb0[_0x5027b2(0x1c7)](_0x5d53d3);}_0x2fc2bd[_0x5027b2(0x1c7)]([_0x232311[_0x5027b2(0x1dd)],_0x513eb0]);}return _0x2fc2bd;}),this[_0xfa2f7d(0x13f)](_0x847dc9,_0xfa2f7d(0x15f),(_0x30fb88,_0x44a7b7)=>{const _0x30732b=_0xfa2f7d;this[_0x30732b(0x13f)](_0x44a7b7,_0x30732b(0x1c8),(_0xf98e81,_0x242d5b,_0x834c8f,_0x53102d)=>{const _0x46d316=_0x30732b;_0x44a7b7[_0x46d316(0x14c)]&&(null==_0x834c8f?(this[_0x46d316(0x16b)](_0x53102d[_0x46d316(0x166)]),this[_0x46d316(0x1cf)](_0x44a7b7,!0x1)):(this[_0x46d316(0x16b)](_0x834c8f[_0x46d316(0x166)]),null==_0x53102d&&this[_0x46d316(0x1cf)](_0x44a7b7,!0x0)));}),null!==_0x44a7b7[_0x30732b(0x1d3)]?this[_0x30732b(0x16b)](_0x44a7b7[_0x30732b(0x166)]):this[_0x30732b(0x1cf)](_0x44a7b7,!0x1);}),this[_0xfa2f7d(0x13f)](_0x847dc9,_0xfa2f7d(0x187),(_0x58c091,_0x563011,_0x170792)=>{const _0x1d3795=_0xfa2f7d;this[_0x1d3795(0x1a6)](_0x563011,_0x1d3795(0x1c8)),this[_0x1d3795(0x165)][_0x1d3795(0x173)](_0x563011),this[_0x1d3795(0x14d)][_0x1d3795(0x152)](_0x563011)&&this[_0x1d3795(0x162)](_0x563011),_0x170792&&this[_0x1d3795(0x16b)](_0x170792[_0x1d3795(0x166)]);}),this[_0xfa2f7d(0x13f)](_0x847dc9,_0xfa2f7d(0x14e),(_0x28ddde,_0x49a332)=>{const _0x2150c7=_0xfa2f7d;this[_0x2150c7(0x16b)](_0x49a332);}),this[_0xfa2f7d(0x13f)](_0x53518e,_0xfa2f7d(0x1a4),()=>{const _0x4f0f21=_0xfa2f7d;this[_0x4f0f21(0x1cc)]();}),this[_0xfa2f7d(0x13f)](_0x54a811,_0xfa2f7d(0x191),(_0x22f1f9,{threadId:_0x1a8752,isFromAdapter:_0xeb98f9})=>{const _0x3096e0=_0xfa2f7d;if(_0xeb98f9||!_0x847dc9[_0x3096e0(0x184)](_0x1a8752))return;const _0x3886d2=_0x847dc9[_0x3096e0(0x1ad)](_0x1a8752);this[_0x3096e0(0x14d)][_0x3096e0(0x1da)](_0x3886d2)[_0x3096e0(0x1dd)][_0x3096e0(0x177)][_0x3096e0(0x168)](-0x1);},{'priority':_0xfa2f7d(0x1dc)}),this[_0xfa2f7d(0x1c3)]=this[_0xfa2f7d(0x1b5)][_0xfa2f7d(0x181)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x1c3));const _0x566bbc=this[_0xfa2f7d(0x1b5)];this[_0xfa2f7d(0x137)]=setInterval(()=>{const _0x551ee2=_0xfa2f7d;let _0x2acb62;for(const _0x178f00 in _0x566bbc){const _0x4c2f73=_0x178f00,_0x58715d=_0x566bbc[_0x4c2f73];if(_0x551ee2(0x138)==_0x58715d||_0x551ee2(0x150)==_0x58715d||_0x551ee2(0x192)==_0x58715d||_0x551ee2(0x134)==_0x58715d||_0x551ee2(0x1b9)==_0x58715d||_0x551ee2(0x135)==_0x58715d||_0x551ee2(0x186)==_0x58715d||_0x551ee2(0x147)==_0x58715d){delete _0x566bbc[_0x4c2f73],_0x2acb62=_0x58715d,clearInterval(this[_0x551ee2(0x137)]),this[_0x551ee2(0x137)]=void 0x0;break;}}_0x551ee2(0x150)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x1c1)),_0x551ee2(0x192)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x1c2)),_0x551ee2(0x134)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x164)),_0x551ee2(0x1b9)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x167),_0x551ee2(0x1d7)),_0x551ee2(0x135)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x19b)),_0x551ee2(0x186)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x153)),_0x551ee2(0x147)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x172));},0x3e8);}[_0x2f8cbd(0x139)](_0x1aadd2){const _0x18cd79=_0x2f8cbd,_0x4aa106=this[_0x18cd79(0x14d)][_0x18cd79(0x1da)](_0x1aadd2);if(!_0x4aa106)return null;return this[_0x18cd79(0x1b5)][_0x18cd79(0x18e)][_0x18cd79(0x1da)](_0x18cd79(0x15a))[_0x18cd79(0x1a9)](_0x4aa106[_0x18cd79(0x1dd)])||null;}[_0x2f8cbd(0x13c)](_0xd37db8){const _0x261a2d=_0x2f8cbd,_0x183d6a=this[_0x261a2d(0x19d)][_0x261a2d(0x1da)](_0xd37db8[_0x261a2d(0x1c5)]);return _0x183d6a?_0x183d6a[_0x261a2d(0x163)]:null;}[_0x2f8cbd(0x1cc)](){const _0x35105f=_0x2f8cbd,_0x2a1682=this[_0x35105f(0x1b5)][_0x35105f(0x18e)][_0x35105f(0x1da)](_0x35105f(0x15a)),_0x381bf9=this[_0x35105f(0x1b5)][_0x35105f(0x18e)][_0x35105f(0x1da)](_0x35105f(0x1bd)),_0x3ac824=Array[_0x35105f(0x1c4)](_0x2a1682[_0x35105f(0x1a0)],_0x5475c3=>_0x5475c3[_0x35105f(0x1c5)])[_0x35105f(0x143)](_0x2759cb=>this[_0x35105f(0x19d)][_0x35105f(0x152)](_0x2759cb)),_0x31b685=[];for(const _0x4220f3 of _0x3ac824){const _0x15baf9=this[_0x35105f(0x19d)][_0x35105f(0x1da)](_0x4220f3)[_0x35105f(0x163)][_0x35105f(0x1c6)]();_0x31b685[_0x35105f(0x1c7)](..._0x15baf9[_0x35105f(0x133)]((_0x333590,_0x545894)=>[..._0x333590,..._0x545894[_0x35105f(0x146)]()],[]));}_0x381bf9[_0x35105f(0x188)]=_0x31b685;}[_0x2f8cbd(0x1df)](){const _0xf9097b=_0x2f8cbd,_0x5826b7=this[_0xf9097b(0x1b5)],_0x2295a0=_0x5826b7[_0xf9097b(0x18a)],_0x1af89c=_0x487e7e(_0x2295a0,_0xf9097b(0x157)),_0x12f3b6=new _0x452ba9([{'type':_0xf9097b(0x199),'model':new _0x50f5b8({'withText':!0x0,'isToggleable':!0x0,'label':_0x1af89c,'commandName':_0xf9097b(0x193),'role':_0xf9097b(0x178)})},{'type':_0xf9097b(0x13b)},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1c9)),'commandName':_0xf9097b(0x1db),'role':_0xf9097b(0x13d)})},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1b4)),'commandName':_0xf9097b(0x159),'role':_0xf9097b(0x13d)})},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1b1)),'commandName':_0xf9097b(0x1e0),'role':_0xf9097b(0x13d)})},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1d9)),'commandName':_0xf9097b(0x175),'role':_0xf9097b(0x13d)})}]);_0x5826b7[_0xf9097b(0x18e)][_0xf9097b(0x152)](_0xf9097b(0x18c))&&_0x12f3b6[_0xf9097b(0x160)]([{'type':_0xf9097b(0x13b)},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x17d)),'commandName':_0xf9097b(0x1cb),'role':_0xf9097b(0x13d)})}]);for(const _0x24d5e5 of _0x12f3b6)if(ke(_0x24d5e5)){const _0x3b9082=_0x5826b7[_0xf9097b(0x130)][_0xf9097b(0x1da)](_0x24d5e5[_0xf9097b(0x163)][_0xf9097b(0x189)]);_0x24d5e5[_0xf9097b(0x163)][_0xf9097b(0x14b)](_0xf9097b(0x19f),_0xf9097b(0x17a))['to'](_0x3b9082,_0xf9097b(0x183),_0xf9097b(0x17a));}_0x5826b7['ui'][_0xf9097b(0x185)][_0xf9097b(0x16f)](_0xf9097b(0x193),_0x24ec90=>this[_0xf9097b(0x194)](_0x24ec90,_0x12f3b6,_0x1af89c)),_0x5826b7['ui'][_0xf9097b(0x185)][_0xf9097b(0x16f)](_0xf9097b(0x182),_0x4ecef0=>this[_0xf9097b(0x1a3)](_0x4ecef0,_0x12f3b6,_0x1af89c));}[_0x2f8cbd(0x194)](_0x45a78a,_0x4ba511,_0x3bf97a){const _0x111678=_0x2f8cbd,_0x414c30=_0xedb3f(_0x45a78a,_0xabc408),_0x5d7ad5=this[_0x111678(0x1b5)][_0x111678(0x130)][_0x111678(0x1da)](_0x111678(0x193));_0x414c30[_0x111678(0x180)][_0x111678(0x1e1)]({'tooltip':_0x3bf97a,'label':_0x3bf97a,'icon':_0x12ede7}),_0x414c30[_0x111678(0x180)][_0x111678(0x14b)](_0x111678(0x19f))['to'](_0x5d7ad5,_0x111678(0x183)),_0x414c30[_0x111678(0x180)]['on'](_0x111678(0x17e),()=>{const _0x3d364c=_0x111678;_0x5d7ad5[_0x3d364c(0x17e)](),this[_0x3d364c(0x1b5)][_0x3d364c(0x15b)][_0x3d364c(0x1dd)][_0x3d364c(0x168)]();}),_0x588443(_0x414c30,_0x4ba511,{'role':_0x111678(0x1c0)});const _0x2271fc=[];for(const _0x1a642e of _0x4ba511)ke(_0x1a642e)&&_0x2271fc[_0x111678(0x1c7)](this[_0x111678(0x1b5)][_0x111678(0x130)][_0x111678(0x1da)](_0x1a642e[_0x111678(0x163)][_0x111678(0x189)]));const _0x683bc7=_0x414c30[_0x111678(0x180)];return _0x683bc7[_0x111678(0x1aa)][_0x111678(0x156)](_0x111678(0x17a)),_0x683bc7[_0x111678(0x1a7)][_0x111678(0x156)](_0x111678(0x17a)),_0x683bc7[_0x111678(0x1aa)][_0x111678(0x14b)](_0x111678(0x17a))['to'](_0x5d7ad5,_0x111678(0x17a)),_0x683bc7[_0x111678(0x1a7)][_0x111678(0x14b)](_0x111678(0x17a))[_0x111678(0x148)](_0x2271fc,_0x111678(0x17a),(..._0x31f2f2)=>_0x31f2f2[_0x111678(0x1a1)](_0xe3a2cf=>_0xe3a2cf)),_0x414c30['on'](_0x111678(0x17e),_0x27f839=>{const _0x5a67e2=_0x111678;this[_0x5a67e2(0x1b5)][_0x5a67e2(0x17e)](_0x27f839[_0x5a67e2(0x1a8)][_0x5a67e2(0x189)]),this[_0x5a67e2(0x1b5)][_0x5a67e2(0x15b)][_0x5a67e2(0x1dd)][_0x5a67e2(0x168)]();}),_0x414c30;}[_0x2f8cbd(0x1a3)](_0x22b721,_0x101f68,_0x5823cc){const _0x57c4f9=_0x2f8cbd,_0x284198=new _0x528a37(_0x22b721),_0x3bb2d4=this[_0x57c4f9(0x1b5)][_0x57c4f9(0x130)][_0x57c4f9(0x1da)](_0x57c4f9(0x193));_0x284198[_0x57c4f9(0x180)][_0x57c4f9(0x1e1)]({'label':_0x5823cc,'icon':_0x12ede7});const _0x1c670a=new _0x308fb1(_0x22b721);for(const _0x478230 of _0x101f68){if(_0x57c4f9(0x13b)==_0x478230[_0x57c4f9(0x1b3)]){_0x1c670a[_0x57c4f9(0x140)][_0x57c4f9(0x16f)](new _0x3fd9a3(_0x22b721));continue;}const _0x493c77=new _0x24148c(_0x22b721,_0x284198),_0x301ddb=new _0x24a2b3(_0x22b721),_0x31a358=_0x478230[_0x57c4f9(0x163)];_0x301ddb[_0x57c4f9(0x14b)](...Object[_0x57c4f9(0x16e)](_0x31a358))['to'](_0x31a358),_0x301ddb[_0x57c4f9(0x154)](_0x57c4f9(0x17e))['to'](_0x284198),_0x301ddb['on'](_0x57c4f9(0x17e),()=>{const _0x4b67fb=_0x57c4f9;this[_0x4b67fb(0x1b5)][_0x4b67fb(0x17e)](_0x31a358[_0x4b67fb(0x189)]),this[_0x4b67fb(0x1b5)][_0x4b67fb(0x15b)][_0x4b67fb(0x1dd)][_0x4b67fb(0x168)]();}),_0x493c77[_0x57c4f9(0x197)][_0x57c4f9(0x16f)](_0x301ddb),_0x1c670a[_0x57c4f9(0x140)][_0x57c4f9(0x16f)](_0x493c77);}return _0x284198[_0x57c4f9(0x14b)](_0x57c4f9(0x17a))['to'](_0x3bb2d4,_0x57c4f9(0x17a)),_0x284198[_0x57c4f9(0x1ca)][_0x57c4f9(0x197)][_0x57c4f9(0x16f)](_0x1c670a),_0x284198;}[_0x2f8cbd(0x1ba)](_0x2f2f69){const _0x4c0caa=_0x2f8cbd,_0x5f540a=this[_0x4c0caa(0x1b5)],_0x50df01=_0x5f540a[_0x4c0caa(0x181)],_0x2cdc20=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x15a)),_0xf1fe94=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x136)),_0x58c3de=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x170)),_0x2ef9ad=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x2e6ac5)['me'],_0x4e146a=_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x193))[_0x4c0caa(0x1b8)],_0x36fd46=_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x193))[_0x4c0caa(0x1de)],{CommentsListView:_0x339e18,CommentThreadInputView:_0x5d8511}=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x19e));let _0x6fadf8,_0x433af1,_0x5917bf;this[_0x4c0caa(0x161)][_0x4c0caa(0x152)](_0x2f2f69['id'])?(_0x433af1=this[_0x4c0caa(0x161)][_0x4c0caa(0x1da)](_0x2f2f69['id']),_0x6fadf8=_0x433af1[_0x4c0caa(0x144)]):(_0x6fadf8=new _0x4e146a(_0x5f540a[_0x4c0caa(0x18a)],_0x2f2f69,_0x2ef9ad,{'disableComments':this[_0x4c0caa(0x155)],'editorConfig':{..._0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x190)),'licenseKey':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x1c3))},'maxCommentsWhenCollapsed':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x1b6)),'maxThreadTotalWeight':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x16a)),'maxCommentCharsWhenCollapsed':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x195)),'formatDateTime':_0x320135(_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x18a)),_0x5f540a[_0x4c0caa(0x18a)]),'CommentView':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x169))[_0x4c0caa(0x1ae)],'CommentsListView':_0x339e18,'CommentThreadInputView':_0x5d8511,'SuggestionView':_0x36fd46}),_0x6fadf8[_0x4c0caa(0x1a5)][_0x4c0caa(0x1d1)]['on'](_0x4c0caa(0x17e),()=>{const _0x24db9a=_0x4c0caa;_0x5f540a[_0x24db9a(0x15b)][_0x24db9a(0x1dd)][_0x24db9a(0x168)]();}),_0x6fadf8[_0x4c0caa(0x1a5)][_0x4c0caa(0x171)]['on'](_0x4c0caa(0x17e),()=>{const _0x4ca872=_0x4c0caa;_0x5f540a[_0x4ca872(0x15b)][_0x4ca872(0x1dd)][_0x4ca872(0x168)]();}),_0x433af1=_0x2cdc20[_0x4c0caa(0x141)](this[_0x4c0caa(0x1b5)][_0x4c0caa(0x18a)],_0x6fadf8),_0x433af1[_0x4c0caa(0x14b)](_0x4c0caa(0x1d6))['to'](_0x6fadf8,_0x4c0caa(0x1d6)),_0x433af1[_0x4c0caa(0x14b)](_0x4c0caa(0x145))['to'](_0x6fadf8),_0x433af1[_0x4c0caa(0x14b)](_0x4c0caa(0x1b3))['to'](_0x6fadf8,_0x4c0caa(0x1b3),_0x530d31=>_0x4c0caa(0x15e)+_0x530d31),_0x6fadf8['on'](_0x4c0caa(0x16c),()=>{const _0x21607b=_0x4c0caa;_0x5917bf[_0x21607b(0x1cd)](_0x21607b(0x16c));}),this[_0x4c0caa(0x161)][_0x4c0caa(0x1e1)](_0x2f2f69['id'],_0x433af1));const _0x5da3b0=_0xf1fe94[_0x4c0caa(0x17c)](_0x2f2f69[_0x4c0caa(0x174)],_0x6fadf8),_0x1d5ad4=new _0x294710(_0x5f540a,_0x2f2f69,_0x6fadf8,_0x5da3b0),_0x5e24f7=_0x2f2f69[_0x4c0caa(0x1c6)]()[_0x4c0caa(0x143)](_0x33d117=>_0x33d117[_0x4c0caa(0x14c)]);_0x6fadf8[_0x4c0caa(0x1b0)]=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x1bd))[_0x4c0caa(0x15d)][_0x4c0caa(0x1bf)](_0x5e24f7),this[_0x4c0caa(0x14d)][_0x4c0caa(0x1e1)](_0x2f2f69,_0x1d5ad4),this[_0x4c0caa(0x19d)][_0x4c0caa(0x1e1)](_0x6fadf8,_0x1d5ad4);const _0x21af4f=()=>{const _0x1126ed=_0x4c0caa,_0xf14e94=[],_0x942dd7=_0x2f2f69[_0x1126ed(0x1c6)]()[_0x1126ed(0x143)](_0xb778a7=>_0xb778a7[_0x1126ed(0x14c)]);for(const _0xdfb809 of _0x942dd7)_0xf14e94[_0x1126ed(0x1c7)](..._0xdfb809[_0x1126ed(0x19c)]());return _0x3531f2(_0x5f540a[_0x1126ed(0x15b)],_0xf14e94);};_0x5917bf=_0x2cdc20[_0x4c0caa(0x198)]({'view':_0x433af1,'target':_0x21af4f,'type':()=>_0x4c0caa(0x15e)+_0x1d5ad4[_0x4c0caa(0x1dd)][_0x4c0caa(0x1b3)],'isVisible':!!_0x21af4f()}),_0xf1fe94[_0x4c0caa(0x179)](_0x6fadf8,_0x5917bf),_0x2cdc20[_0x4c0caa(0x16f)](_0x5917bf),_0x58c3de[_0x4c0caa(0x1ce)](_0x5917bf);}[_0x2f8cbd(0x162)](_0x568106){const _0x1c2fca=_0x2f8cbd,_0x48b9ff=this[_0x1c2fca(0x1b5)][_0x1c2fca(0x18e)][_0x1c2fca(0x1da)](_0x1c2fca(0x136)),_0x4b7f5e=this[_0x1c2fca(0x1b5)][_0x1c2fca(0x18e)][_0x1c2fca(0x1da)](_0x1c2fca(0x15a)),_0x2f39a6=this[_0x1c2fca(0x14d)][_0x1c2fca(0x1da)](_0x568106),_0x4ff0e7=_0x2f39a6[_0x1c2fca(0x1dd)],_0x1a0a42=_0x4b7f5e[_0x1c2fca(0x1a9)](_0x4ff0e7);_0x48b9ff[_0x1c2fca(0x132)](_0x4ff0e7),_0x1a0a42&&_0x4b7f5e[_0x1c2fca(0x1ab)](_0x1a0a42),this[_0x1c2fca(0x14d)][_0x1c2fca(0x173)](_0x568106),this[_0x1c2fca(0x19d)][_0x1c2fca(0x173)](_0x4ff0e7),_0x2f39a6[_0x1c2fca(0x142)]();}[_0x2f8cbd(0x16b)](_0x414f3a){const _0x17672c=_0x2f8cbd;if(!_0x414f3a[_0x17672c(0x14c)]||!this[_0x17672c(0x14d)][_0x17672c(0x152)](_0x414f3a))return;const _0x234861=this[_0x17672c(0x1b5)][_0x17672c(0x18e)][_0x17672c(0x1da)](_0x17672c(0x1bd)),_0x341333=this[_0x17672c(0x14d)][_0x17672c(0x1da)](_0x414f3a),_0x4e970a=_0x414f3a[_0x17672c(0x1c6)]();_0x341333[_0x17672c(0x1dd)][_0x17672c(0x1b0)]=_0x234861[_0x17672c(0x15d)][_0x17672c(0x1bf)](_0x4e970a);}[_0x2f8cbd(0x142)](){const _0x1ecd20=_0x2f8cbd;for(const _0x473523 of this[_0x1ecd20(0x14d)][_0x1ecd20(0x16e)]())this[_0x1ecd20(0x162)](_0x473523);for(const _0x1d9e95 of this[_0x1ecd20(0x161)][_0x1ecd20(0x1b2)]())_0x1d9e95[_0x1ecd20(0x144)][_0x1ecd20(0x142)]();super[_0x1ecd20(0x142)](),this[_0x1ecd20(0x137)]&&clearInterval(this[_0x1ecd20(0x137)]);}}function ke(_0x2ca251){const _0x4686e3=_0x2f8cbd;return _0x4686e3(0x163)in _0x2ca251;}
|
|
23
|
+
const _0xe51f79=_0xbedc;(function(_0x5e982c,_0x5f358b){const _0x56c503=_0xbedc,_0x4c04d9=_0x5e982c();while(!![]){try{const _0x46a834=-parseInt(_0x56c503(0x209))/0x1+-parseInt(_0x56c503(0x1f3))/0x2*(-parseInt(_0x56c503(0x219))/0x3)+-parseInt(_0x56c503(0x237))/0x4*(-parseInt(_0x56c503(0x244))/0x5)+-parseInt(_0x56c503(0x1e8))/0x6*(-parseInt(_0x56c503(0x22d))/0x7)+-parseInt(_0x56c503(0x251))/0x8*(parseInt(_0x56c503(0x1d4))/0x9)+-parseInt(_0x56c503(0x1e5))/0xa*(-parseInt(_0x56c503(0x230))/0xb)+-parseInt(_0x56c503(0x205))/0xc;if(_0x46a834===_0x5f358b)break;else _0x4c04d9['push'](_0x4c04d9['shift']());}catch(_0x7e3061){_0x4c04d9['push'](_0x4c04d9['shift']());}}}(_0x3a8b,0xb9282));import{Plugin as _0x27763c}from'ckeditor5/src/core.js';function _0x3a8b(){const _0x3ea4bb=['trackChangesLicenseKeyNotAllowed','model','EditorAnnotations','_suggestionToController','expired','6196876bjtiYo','createAnnotation','_unbindEditors','2563ddoDDI','trackChangesLicenseKeyEvaluationLimit','stopListening','TrackChangesUI','getMarkers','isDirty','_licenseKeyCheckInterval','12jSpzyt','value','refreshSelectedViews','define','descriptionParts','isEnabled','isOn','SuggestionThreadView','Accept\x20all\x20suggestions','_showLicenseError','destroy','trackChangesLicenseKeyValid','createCommentThreadController','1968410sFnYpH','get','createAnnotationView','innerView','source','items','_initializeController','descriptionFactory','delegate','discardAllSuggestions','change:activeAnnotations','addComment','_bindAnnotationToEditors','145816RaVbkC','acceptSelectedSuggestions','getByInnerView','menuBar:trackChanges','trackChanges.SuggestionThreadView','getAllAdjacentSuggestions','push','_createMenuBarMenu','_handleControllerBuffer','previewFinalContent','_handleSuggestionControllerDelayed','suggestionLoaded','_disableComments','getDescriptions','componentFactory','lowest','locale','comments','_annotationViews','mainView','previous','trialLimit','comments.maxCommentsWhenCollapsed','change:previous','_addUIComponentsToFactory','editing','SuggestionView','clear','CommentsRepository','remove','bind','isPremiumPlugin','Track\x20changes','editor','comments.maxCommentCharsWhenCollapsed','buttonView','isInContent','size','arrowView','TrackChangesPreview','escape','getAnnotationForSuggestion','Preview\x20final\x20content','menuitemcheckbox','panelView','menu','registerAnnotation','_viewToController','addMany','switchbutton','commands','trackChangesLicenseKeyUsageLimit','Annotations','length','getJoined','495IFpSmM','evaluationLimit','unbind','getRanges','TrackChanges','discardButton','TrackChangesEditing','getSuggestionForAnnotation','Discard\x20all\x20selected\x20suggestions','button','reduce','focus','add','_refreshActiveMarkers','separator','trackChangesLicenseKeyTrialLimit','usageLimit','59020TZvPjr','trackChangesLicenseKeyDomainLimit','suggestionChanged','6lvVwxo','activeAnnotations','view','toMany','commentsListView','trackChangesLicenseKeyInvalid','suggestionUnloaded','getFirstRange','acceptAllSuggestions','has','trackChanges.SuggestionView','2eJMmGN','_updateController','discardSelectedSuggestions','getSuggestion','requires','invalid','values','trackChanges.disableComments','plugins','commentThread','suggestion-','type','isMultiRange','set','_destroyController','comments.editorConfig','filter','delete','23276868KrcrAq','from','domainLimit','isOfficialPlugin','1129673GTBPlU','activeMarkers','Discard\x20all\x20suggestions','getMarkerNames','featureNotAllowed','keys','listenTo','CommentView','CommentsUI','Accept\x20all\x20selected\x20suggestions','head','fire','children','hasSuggestion','actionView','comments.maxThreadTotalWeight','4166457IKqfQW','config','some','suggestionView','execute','trackChanges','_createToolbarButton','trackChangesLicenseKeyExpired','licenseKey','addSourceCollector','commandName','menuitem','init','acceptButton','pluginName'];_0x3a8b=function(){return _0x3ea4bb;};return _0x3a8b();}import{Collection as _0x421015}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x598d89}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5f3238,createDropdown as _0x1686a1,ListSeparatorView as _0x46b4d4,MenuBarMenuView as _0x6ccc1c,MenuBarMenuListView as _0x540123,MenuBarMenuListItemView as _0x32a694,MenuBarMenuListItemButtonView as _0xf0cb32,SplitButtonView as _0x28ff8e,UIModel as _0x3124ab}from'ckeditor5/src/ui.js';import{Users as _0x50efcd,getDateTimeFormatter as _0x4658d9,getAllMarkersDomElementsSorted as _0x92cb8c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xbedc(_0x90e511,_0x27f742){const _0x3a8b3a=_0x3a8b();return _0xbedc=function(_0xbedc21,_0xf30748){_0xbedc21=_0xbedc21-0x1cc;let _0x5ca5b5=_0x3a8b3a[_0xbedc21];return _0x5ca5b5;},_0xbedc(_0x90e511,_0x27f742);}import{TrackChangesEditing as _0x46f414}from'./trackchangesediting.js';import{SuggestionController as _0xbdd09a}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x284178}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0xc00b56}from'./ui/view/suggestionview.js';import{getTranslation as _0x5acac2}from'./utils/common-translations.js';export class TrackChangesUI extends _0x27763c{[_0xe51f79(0x221)];[_0xe51f79(0x236)];[_0xe51f79(0x22b)];[_0xe51f79(0x1cc)];[_0xe51f79(0x263)];[_0xe51f79(0x259)];[_0xe51f79(0x25d)];static get[_0xe51f79(0x1f7)](){const _0x5efdf5=_0xe51f79;return[_0x46f414,_0x50efcd,_0x5efdf5(0x26d),_0x5efdf5(0x1d1),_0x5efdf5(0x22a)];}static get[_0xe51f79(0x227)](){const _0x8e1496=_0xe51f79;return _0x8e1496(0x233);}static get[_0xe51f79(0x208)](){return!0x0;}static get[_0xe51f79(0x270)](){return!0x0;}constructor(_0x48b4e4){const _0x1b8997=_0xe51f79;super(_0x48b4e4),this[_0x1b8997(0x22b)]=new Map(),this[_0x1b8997(0x1cc)]=new Map(),this[_0x1b8997(0x263)]=new Map(),this[_0x1b8997(0x259)]=new Map();const _0x4fbee3=this[_0x1b8997(0x272)][_0x1b8997(0x21a)];_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x255),_0x284178),_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x1f2),_0xc00b56),_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x1fa),!0x1),this[_0x1b8997(0x25d)]=_0x4fbee3[_0x1b8997(0x245)](_0x1b8997(0x1fa));}[_0xe51f79(0x25b)](_0x44bcd9,_0x514f11){const _0x2d277f=_0xe51f79;0x0===this[_0x2d277f(0x259)][_0x2d277f(0x276)]&&setTimeout(()=>{const _0x5bc475=_0x2d277f;for(const [_0x88e77,_0x46be2a]of this[_0x5bc475(0x259)]){const _0x5fd4ed=this[_0x5bc475(0x22b)][_0x5bc475(0x1f1)](_0x88e77);_0x5fd4ed||_0x46be2a?_0x5fd4ed&&_0x46be2a&&this[_0x5bc475(0x201)](_0x88e77):this[_0x5bc475(0x24a)](_0x88e77);}this[_0x5bc475(0x259)][_0x5bc475(0x26c)](),this[_0x5bc475(0x272)][_0x5bc475(0x1fb)][_0x5bc475(0x245)](_0x5bc475(0x22a))[_0x5bc475(0x239)](),this[_0x5bc475(0x1e1)]();},0xa),this[_0x2d277f(0x259)][_0x2d277f(0x200)](_0x44bcd9,_0x514f11);}[_0xe51f79(0x225)](){const _0x344c81=_0xe51f79,_0x26504b=this[_0x344c81(0x272)],_0x5c1266=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x1da)),_0x3f8848=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x1d1)),_0x8341d1=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x22a)),_0x352775=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x26d));this[_0x344c81(0x269)](),_0x8341d1[_0x344c81(0x222)](()=>{const _0x392ea2=_0x344c81,_0x217f32=[];for(const [_0x214af8,_0x24c84c]of Array[_0x392ea2(0x206)](this[_0x392ea2(0x22b)])){const _0x2ff757=_0x214af8[_0x392ea2(0x256)](),_0x13f491=[];for(const _0x116fd3 of _0x2ff757){if(!_0x116fd3[_0x392ea2(0x275)])continue;if(_0x116fd3[_0x392ea2(0x1ff)]){_0x13f491[_0x392ea2(0x257)](..._0x116fd3[_0x392ea2(0x1d7)]());continue;}const _0x354e8f=_0x116fd3[_0x392ea2(0x1ef)]();if(_0x13f491[_0x392ea2(0x1d2)]>0x0){const _0x433e27=_0x13f491[0x0][_0x392ea2(0x1d3)](_0x354e8f);if(_0x433e27){_0x13f491[0x0]=_0x433e27;continue;}}_0x13f491[_0x392ea2(0x257)](_0x354e8f);}_0x217f32[_0x392ea2(0x257)]([_0x24c84c[_0x392ea2(0x1ea)],_0x13f491]);}return _0x217f32;}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x25c),(_0x214225,_0x1c2975)=>{const _0x798d3b=_0x344c81;this[_0x798d3b(0x20f)](_0x1c2975,_0x798d3b(0x268),(_0x199ea9,_0x30f686,_0xbd654e,_0xc5a7f3)=>{const _0x53c963=_0x798d3b;_0x1c2975[_0x53c963(0x275)]&&(null==_0xbd654e?(this[_0x53c963(0x1f4)](_0xc5a7f3[_0x53c963(0x213)]),this[_0x53c963(0x25b)](_0x1c2975,!0x1)):(this[_0x53c963(0x1f4)](_0xbd654e[_0x53c963(0x213)]),null==_0xc5a7f3&&this[_0x53c963(0x25b)](_0x1c2975,!0x0)));}),null!==_0x1c2975[_0x798d3b(0x265)]?this[_0x798d3b(0x1f4)](_0x1c2975[_0x798d3b(0x213)]):this[_0x798d3b(0x25b)](_0x1c2975,!0x1);}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x1ee),(_0x53abb5,_0x480283,_0x154730)=>{const _0x27e206=_0x344c81;this[_0x27e206(0x232)](_0x480283,_0x27e206(0x268)),this[_0x27e206(0x259)][_0x27e206(0x204)](_0x480283),this[_0x27e206(0x22b)][_0x27e206(0x1f1)](_0x480283)&&this[_0x27e206(0x201)](_0x480283),_0x154730&&this[_0x27e206(0x1f4)](_0x154730[_0x27e206(0x213)]);}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x1e7),(_0x33ebea,_0x2bb0fd)=>{const _0x1e4f06=_0x344c81;this[_0x1e4f06(0x1f4)](_0x2bb0fd);}),this[_0x344c81(0x20f)](_0x3f8848,_0x344c81(0x24e),()=>{const _0x3fdd48=_0x344c81;this[_0x3fdd48(0x1e1)]();}),this[_0x344c81(0x20f)](_0x352775,_0x344c81(0x24f),(_0x36c20f,{threadId:_0x47d07f,isFromAdapter:_0x1950a3})=>{const _0x4c9f2f=_0x344c81;if(_0x1950a3||!_0x5c1266[_0x4c9f2f(0x216)](_0x47d07f))return;const _0x349e6f=_0x5c1266[_0x4c9f2f(0x1f6)](_0x47d07f);this[_0x4c9f2f(0x22b)][_0x4c9f2f(0x245)](_0x349e6f)[_0x4c9f2f(0x1ea)][_0x4c9f2f(0x1ec)][_0x4c9f2f(0x1df)](-0x1);},{'priority':_0x344c81(0x260)}),this[_0x344c81(0x221)]=this[_0x344c81(0x272)][_0x344c81(0x21a)][_0x344c81(0x245)](_0x344c81(0x221));const _0x46e937=this[_0x344c81(0x272)];this[_0x344c81(0x236)]=setInterval(()=>{const _0x32c2db=_0x344c81;let _0x1ae433;for(const _0xc096aa in _0x46e937){const _0x93ca98=_0xc096aa,_0x2eaee1=_0x46e937[_0x93ca98];if(_0x32c2db(0x242)==_0x2eaee1||_0x32c2db(0x1ed)==_0x2eaee1||_0x32c2db(0x220)==_0x2eaee1||_0x32c2db(0x1e6)==_0x2eaee1||_0x32c2db(0x228)==_0x2eaee1||_0x32c2db(0x231)==_0x2eaee1||_0x32c2db(0x1e3)==_0x2eaee1||_0x32c2db(0x1d0)==_0x2eaee1){delete _0x46e937[_0x93ca98],_0x1ae433=_0x2eaee1,clearInterval(this[_0x32c2db(0x236)]),this[_0x32c2db(0x236)]=void 0x0;break;}}_0x32c2db(0x1ed)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1f8)),_0x32c2db(0x220)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x22c)),_0x32c2db(0x1e6)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x207)),_0x32c2db(0x228)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x20d),_0x32c2db(0x1d8)),_0x32c2db(0x231)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1d5)),_0x32c2db(0x1e3)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x266)),_0x32c2db(0x1d0)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1e4));},0x3e8);}[_0xe51f79(0x27a)](_0x414982){const _0x5df396=_0xe51f79,_0x5e9fff=this[_0x5df396(0x22b)][_0x5df396(0x245)](_0x414982);if(!_0x5e9fff)return null;return this[_0x5df396(0x272)][_0x5df396(0x1fb)][_0x5df396(0x245)](_0x5df396(0x1d1))[_0x5df396(0x253)](_0x5e9fff[_0x5df396(0x1ea)])||null;}[_0xe51f79(0x1db)](_0x381be6){const _0x1cf56c=_0xe51f79,_0x2e68c1=this[_0x1cf56c(0x1cc)][_0x1cf56c(0x245)](_0x381be6[_0x1cf56c(0x247)]);return _0x2e68c1?_0x2e68c1[_0x1cf56c(0x229)]:null;}[_0xe51f79(0x1e1)](){const _0x48639d=_0xe51f79,_0x21298c=this[_0x48639d(0x272)][_0x48639d(0x1fb)][_0x48639d(0x245)](_0x48639d(0x1d1)),_0x278c0d=this[_0x48639d(0x272)][_0x48639d(0x1fb)][_0x48639d(0x245)](_0x48639d(0x1da)),_0x22f18f=Array[_0x48639d(0x206)](_0x21298c[_0x48639d(0x1e9)],_0x553278=>_0x553278[_0x48639d(0x247)])[_0x48639d(0x203)](_0x3b3e58=>this[_0x48639d(0x1cc)][_0x48639d(0x1f1)](_0x3b3e58)),_0xc3c81d=[];for(const _0x449d6f of _0x22f18f){const _0x15965c=this[_0x48639d(0x1cc)][_0x48639d(0x245)](_0x449d6f)[_0x48639d(0x229)][_0x48639d(0x256)]();_0xc3c81d[_0x48639d(0x257)](..._0x15965c[_0x48639d(0x1de)]((_0x15122c,_0x4e1575)=>[..._0x15122c,..._0x4e1575[_0x48639d(0x20c)]()],[]));}_0x278c0d[_0x48639d(0x20a)]=_0xc3c81d;}[_0xe51f79(0x269)](){const _0x275cea=_0xe51f79,_0x346856=this[_0x275cea(0x272)],_0x11e466=_0x346856[_0x275cea(0x261)],_0x23078d=_0x5acac2(_0x11e466,_0x275cea(0x271)),_0x598569=new _0x421015([{'type':_0x275cea(0x1ce),'model':new _0x3124ab({'withText':!0x0,'isToggleable':!0x0,'label':_0x23078d,'commandName':_0x275cea(0x21e),'role':_0x275cea(0x27c)})},{'type':_0x275cea(0x1e2)},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x23f)),'commandName':_0x275cea(0x1f0),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x212)),'commandName':_0x275cea(0x252),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x20b)),'commandName':_0x275cea(0x24d),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x1dc)),'commandName':_0x275cea(0x1f5),'role':_0x275cea(0x224)})}]);_0x346856[_0x275cea(0x1fb)][_0x275cea(0x1f1)](_0x275cea(0x278))&&_0x598569[_0x275cea(0x1cd)]([{'type':_0x275cea(0x1e2)},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x27b)),'commandName':_0x275cea(0x25a),'role':_0x275cea(0x224)})}]);for(const _0x1eeaa2 of _0x598569)if(ke(_0x1eeaa2)){const _0x9bb2f9=_0x346856[_0x275cea(0x1cf)][_0x275cea(0x245)](_0x1eeaa2[_0x275cea(0x229)][_0x275cea(0x223)]);_0x1eeaa2[_0x275cea(0x229)][_0x275cea(0x26f)](_0x275cea(0x23d),_0x275cea(0x23c))['to'](_0x9bb2f9,_0x275cea(0x238),_0x275cea(0x23c));}_0x346856['ui'][_0x275cea(0x25f)][_0x275cea(0x1e0)](_0x275cea(0x21e),_0x3332b7=>this[_0x275cea(0x21f)](_0x3332b7,_0x598569,_0x23078d)),_0x346856['ui'][_0x275cea(0x25f)][_0x275cea(0x1e0)](_0x275cea(0x254),_0x4db2aa=>this[_0x275cea(0x258)](_0x4db2aa,_0x598569,_0x23078d));}[_0xe51f79(0x21f)](_0x44e641,_0x617d90,_0x1bb35f){const _0x24b47a=_0xe51f79,_0x4a4b12=_0x1686a1(_0x44e641,_0x28ff8e),_0xc6208a=this[_0x24b47a(0x272)][_0x24b47a(0x1cf)][_0x24b47a(0x245)](_0x24b47a(0x21e));_0x4a4b12[_0x24b47a(0x274)][_0x24b47a(0x200)]({'tooltip':_0x1bb35f,'label':_0x1bb35f,'icon':_0x598d89}),_0x4a4b12[_0x24b47a(0x274)][_0x24b47a(0x26f)](_0x24b47a(0x23d))['to'](_0xc6208a,_0x24b47a(0x238)),_0x4a4b12[_0x24b47a(0x274)]['on'](_0x24b47a(0x21d),()=>{const _0x34027a=_0x24b47a;_0xc6208a[_0x34027a(0x21d)](),this[_0x34027a(0x272)][_0x34027a(0x26a)][_0x34027a(0x1ea)][_0x34027a(0x1df)]();}),_0x5f3238(_0x4a4b12,_0x617d90,{'role':_0x24b47a(0x27e)});const _0x59cc26=[];for(const _0x2ca23b of _0x617d90)ke(_0x2ca23b)&&_0x59cc26[_0x24b47a(0x257)](this[_0x24b47a(0x272)][_0x24b47a(0x1cf)][_0x24b47a(0x245)](_0x2ca23b[_0x24b47a(0x229)][_0x24b47a(0x223)]));const _0x4965d9=_0x4a4b12[_0x24b47a(0x274)];return _0x4965d9[_0x24b47a(0x217)][_0x24b47a(0x1d6)](_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x277)][_0x24b47a(0x1d6)](_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x217)][_0x24b47a(0x26f)](_0x24b47a(0x23c))['to'](_0xc6208a,_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x277)][_0x24b47a(0x26f)](_0x24b47a(0x23c))[_0x24b47a(0x1eb)](_0x59cc26,_0x24b47a(0x23c),(..._0xfea653)=>_0xfea653[_0x24b47a(0x21b)](_0x369ca3=>_0x369ca3)),_0x4a4b12['on'](_0x24b47a(0x21d),_0x41f9fe=>{const _0xd120b8=_0x24b47a;this[_0xd120b8(0x272)][_0xd120b8(0x21d)](_0x41f9fe[_0xd120b8(0x248)][_0xd120b8(0x223)]),this[_0xd120b8(0x272)][_0xd120b8(0x26a)][_0xd120b8(0x1ea)][_0xd120b8(0x1df)]();}),_0x4a4b12;}[_0xe51f79(0x258)](_0x104f5d,_0x102621,_0x362c04){const _0x344434=_0xe51f79,_0x15ff00=new _0x6ccc1c(_0x104f5d),_0x5b301b=this[_0x344434(0x272)][_0x344434(0x1cf)][_0x344434(0x245)](_0x344434(0x21e));_0x15ff00[_0x344434(0x274)][_0x344434(0x200)]({'label':_0x362c04,'icon':_0x598d89});const _0x25a66d=new _0x540123(_0x104f5d);for(const _0xcd2374 of _0x102621){if(_0x344434(0x1e2)==_0xcd2374[_0x344434(0x1fe)]){_0x25a66d[_0x344434(0x249)][_0x344434(0x1e0)](new _0x46b4d4(_0x104f5d));continue;}const _0x26292c=new _0x32a694(_0x104f5d,_0x15ff00),_0x2e7603=new _0xf0cb32(_0x104f5d),_0x4e725d=_0xcd2374[_0x344434(0x229)];_0x2e7603[_0x344434(0x26f)](...Object[_0x344434(0x20e)](_0x4e725d))['to'](_0x4e725d),_0x2e7603[_0x344434(0x24c)](_0x344434(0x21d))['to'](_0x15ff00),_0x2e7603['on'](_0x344434(0x21d),()=>{const _0x5d8753=_0x344434;this[_0x5d8753(0x272)][_0x5d8753(0x21d)](_0x4e725d[_0x5d8753(0x223)]),this[_0x5d8753(0x272)][_0x5d8753(0x26a)][_0x5d8753(0x1ea)][_0x5d8753(0x1df)]();}),_0x26292c[_0x344434(0x215)][_0x344434(0x1e0)](_0x2e7603),_0x25a66d[_0x344434(0x249)][_0x344434(0x1e0)](_0x26292c);}return _0x15ff00[_0x344434(0x26f)](_0x344434(0x23c))['to'](_0x5b301b,_0x344434(0x23c)),_0x15ff00[_0x344434(0x27d)][_0x344434(0x215)][_0x344434(0x1e0)](_0x25a66d),_0x15ff00;}[_0xe51f79(0x24a)](_0x59a344){const _0x2271f3=_0xe51f79,_0x52f4ad=this[_0x2271f3(0x272)],_0x574b14=_0x52f4ad[_0x2271f3(0x21a)],_0x1268fa=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x1d1)),_0x55d39f=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x26d)),_0x4cbec5=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x22a)),_0x2de38f=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x50efcd)['me'],_0x326411=_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x21e))[_0x2271f3(0x23e)],_0x185ef1=_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x21e))[_0x2271f3(0x26b)],{CommentsListView:_0x4356c1,CommentThreadInputView:_0x46d380}=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x211));let _0x59bd15,_0x306f6c,_0x528561;this[_0x2271f3(0x263)][_0x2271f3(0x1f1)](_0x59a344['id'])?(_0x306f6c=this[_0x2271f3(0x263)][_0x2271f3(0x245)](_0x59a344['id']),_0x59bd15=_0x306f6c[_0x2271f3(0x264)]):(_0x59bd15=new _0x326411(_0x52f4ad[_0x2271f3(0x261)],_0x59a344,_0x2de38f,{'disableComments':this[_0x2271f3(0x25d)],'editorConfig':{..._0x574b14[_0x2271f3(0x245)](_0x2271f3(0x202)),'licenseKey':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x221))},'maxCommentsWhenCollapsed':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x267)),'maxThreadTotalWeight':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x218)),'maxCommentCharsWhenCollapsed':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x273)),'formatDateTime':_0x4658d9(_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x261)),_0x52f4ad[_0x2271f3(0x261)]),'CommentView':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x262))[_0x2271f3(0x210)],'CommentsListView':_0x4356c1,'CommentThreadInputView':_0x46d380,'SuggestionView':_0x185ef1}),_0x59bd15[_0x2271f3(0x21c)][_0x2271f3(0x226)]['on'](_0x2271f3(0x21d),()=>{const _0x3b7139=_0x2271f3;_0x52f4ad[_0x3b7139(0x26a)][_0x3b7139(0x1ea)][_0x3b7139(0x1df)]();}),_0x59bd15[_0x2271f3(0x21c)][_0x2271f3(0x1d9)]['on'](_0x2271f3(0x21d),()=>{const _0x53b58e=_0x2271f3;_0x52f4ad[_0x53b58e(0x26a)][_0x53b58e(0x1ea)][_0x53b58e(0x1df)]();}),_0x306f6c=_0x1268fa[_0x2271f3(0x246)](this[_0x2271f3(0x272)][_0x2271f3(0x261)],_0x59bd15),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x235))['to'](_0x59bd15,_0x2271f3(0x235)),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x1d2))['to'](_0x59bd15),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x1fe))['to'](_0x59bd15,_0x2271f3(0x1fe),_0x5c35a8=>_0x2271f3(0x1fd)+_0x5c35a8),_0x59bd15['on'](_0x2271f3(0x279),()=>{const _0x264a9d=_0x2271f3;_0x528561[_0x264a9d(0x214)](_0x264a9d(0x279));}),this[_0x2271f3(0x263)][_0x2271f3(0x200)](_0x59a344['id'],_0x306f6c));const _0x177350=_0x55d39f[_0x2271f3(0x243)](_0x59a344[_0x2271f3(0x1fc)],_0x59bd15),_0x56e2d9=new _0xbdd09a(_0x52f4ad,_0x59a344,_0x59bd15,_0x177350),_0x14c8aa=_0x59a344[_0x2271f3(0x256)]()[_0x2271f3(0x203)](_0x5d9b1b=>_0x5d9b1b[_0x2271f3(0x275)]);_0x59bd15[_0x2271f3(0x23b)]=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x1da))[_0x2271f3(0x24b)][_0x2271f3(0x25e)](_0x14c8aa),this[_0x2271f3(0x22b)][_0x2271f3(0x200)](_0x59a344,_0x56e2d9),this[_0x2271f3(0x1cc)][_0x2271f3(0x200)](_0x59bd15,_0x56e2d9);const _0x5d2681=()=>{const _0x51f3c2=_0x2271f3,_0x305ed6=[],_0x5cc89b=_0x59a344[_0x51f3c2(0x256)]()[_0x51f3c2(0x203)](_0x2024c7=>_0x2024c7[_0x51f3c2(0x275)]);for(const _0x5d2c30 of _0x5cc89b)_0x305ed6[_0x51f3c2(0x257)](..._0x5d2c30[_0x51f3c2(0x234)]());return _0x92cb8c(_0x52f4ad[_0x51f3c2(0x26a)],_0x305ed6);};_0x528561=_0x1268fa[_0x2271f3(0x22e)]({'view':_0x306f6c,'target':_0x5d2681,'type':()=>_0x2271f3(0x1fd)+_0x56e2d9[_0x2271f3(0x1ea)][_0x2271f3(0x1fe)],'isVisible':!!_0x5d2681()}),_0x55d39f[_0x2271f3(0x250)](_0x59bd15,_0x528561),_0x1268fa[_0x2271f3(0x1e0)](_0x528561),_0x4cbec5[_0x2271f3(0x27f)](_0x528561);}[_0xe51f79(0x201)](_0xc816ce){const _0x3b681c=_0xe51f79,_0x20e69f=this[_0x3b681c(0x272)][_0x3b681c(0x1fb)][_0x3b681c(0x245)](_0x3b681c(0x26d)),_0x447628=this[_0x3b681c(0x272)][_0x3b681c(0x1fb)][_0x3b681c(0x245)](_0x3b681c(0x1d1)),_0x6f40ac=this[_0x3b681c(0x22b)][_0x3b681c(0x245)](_0xc816ce),_0x599d7e=_0x6f40ac[_0x3b681c(0x1ea)],_0x422e47=_0x447628[_0x3b681c(0x253)](_0x599d7e);_0x20e69f[_0x3b681c(0x22f)](_0x599d7e),_0x422e47&&_0x447628[_0x3b681c(0x26e)](_0x422e47),this[_0x3b681c(0x22b)][_0x3b681c(0x204)](_0xc816ce),this[_0x3b681c(0x1cc)][_0x3b681c(0x204)](_0x599d7e),_0x6f40ac[_0x3b681c(0x241)]();}[_0xe51f79(0x1f4)](_0x489db3){const _0x55c293=_0xe51f79;if(!_0x489db3[_0x55c293(0x275)]||!this[_0x55c293(0x22b)][_0x55c293(0x1f1)](_0x489db3))return;const _0x553d37=this[_0x55c293(0x272)][_0x55c293(0x1fb)][_0x55c293(0x245)](_0x55c293(0x1da)),_0x24de79=this[_0x55c293(0x22b)][_0x55c293(0x245)](_0x489db3),_0x21a17f=_0x489db3[_0x55c293(0x256)]();_0x24de79[_0x55c293(0x1ea)][_0x55c293(0x23b)]=_0x553d37[_0x55c293(0x24b)][_0x55c293(0x25e)](_0x21a17f);}[_0xe51f79(0x241)](){const _0x32a110=_0xe51f79;for(const _0x30dd30 of this[_0x32a110(0x22b)][_0x32a110(0x20e)]())this[_0x32a110(0x201)](_0x30dd30);for(const _0x2a26ed of this[_0x32a110(0x263)][_0x32a110(0x1f9)]())_0x2a26ed[_0x32a110(0x264)][_0x32a110(0x241)]();super[_0x32a110(0x241)](),this[_0x32a110(0x236)]&&clearInterval(this[_0x32a110(0x236)]);}}function ke(_0x34af5f){const _0x46a01f=_0xe51f79;return _0x46a01f(0x229)in _0x34af5f;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1f12bc=_0x5cc9;function _0x589d(){const _0x1212d2=['get','_setPendingAction','207535iRBUWB','PENDING_ACTION_SUGGESTION','4482efYfWq','60wJMeRY','734NsHIZG','discardSuggestion','canAccept','1780050kPGWXn','isEnabled','3736bbrfPk','10529528cFzNVq','17090AaZWyk','add','bind','stopListening','locale','acceptSuggestion','_discardCommand','PendingActions','plugins','listenTo','_removePendingAction','39904315iLfphU','view','unbind','getRanges','commands','_pendingAction','896777sVuGMZ','_acceptCommand','destroy','canEditAt','commentThreadController','isDirty','12PYtEPT','change:isDirty','remove','model','canDiscard','execute','_editor'];_0x589d=function(){return _0x1212d2;};return _0x589d();}(function(_0x32f1a3,_0x4ed6ef){const _0x26ad77=_0x5cc9,_0x227516=_0x32f1a3();while(!![]){try{const _0x44ea99=parseInt(_0x26ad77(0xbf))/0x1*(parseInt(_0x26ad77(0xc4))/0x2)+-parseInt(_0x26ad77(0xc2))/0x3+-parseInt(_0x26ad77(0xb2))/0x4*(parseInt(_0x26ad77(0xbb))/0x5)+-parseInt(_0x26ad77(0xbe))/0x6*(parseInt(_0x26ad77(0xac))/0x7)+-parseInt(_0x26ad77(0xc5))/0x8+parseInt(_0x26ad77(0xbd))/0x9*(-parseInt(_0x26ad77(0xc6))/0xa)+parseInt(_0x26ad77(0xa6))/0xb;if(_0x44ea99===_0x4ed6ef)break;else _0x227516['push'](_0x227516['shift']());}catch(_0x17f235){_0x227516['push'](_0x227516['shift']());}}}(_0x589d,0xcb40b));function _0x5cc9(_0x971ef0,_0x44e152){const _0x589d6c=_0x589d();return _0x5cc9=function(_0x5cc978,_0x318204){_0x5cc978=_0x5cc978-0xa5;let _0x50e541=_0x589d6c[_0x5cc978];return _0x50e541;},_0x5cc9(_0x971ef0,_0x44e152);}import{ObservableMixin as _0x58a289}from'ckeditor5/src/utils.js';import{getTranslation as _0x41ff45}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58a289(){[_0x1f12bc(0xb5)];[_0x1f12bc(0xa7)];[_0x1f12bc(0xb0)];[_0x1f12bc(0xb8)];[_0x1f12bc(0xad)];[_0x1f12bc(0xcc)];[_0x1f12bc(0xab)];constructor(_0x4c357b,_0x414d36,_0x234167,_0x157d9a){const _0x4bfe79=_0x1f12bc;super(),this[_0x4bfe79(0xb5)]=_0x414d36,this[_0x4bfe79(0xa7)]=_0x234167,this[_0x4bfe79(0xb0)]=_0x157d9a,this[_0x4bfe79(0xb8)]=_0x4c357b,this[_0x4bfe79(0xad)]=_0x4c357b[_0x4bfe79(0xaa)][_0x4bfe79(0xb9)](_0x4bfe79(0xcb)),this[_0x4bfe79(0xcc)]=_0x4c357b[_0x4bfe79(0xaa)][_0x4bfe79(0xb9)](_0x4bfe79(0xc0)),this[_0x4bfe79(0xa7)][_0x4bfe79(0xc8)](_0x4bfe79(0xc3))['to'](this[_0x4bfe79(0xad)],this[_0x4bfe79(0xcc)],(_0x1fea91,_0xcd6535)=>_0x1fea91||_0xcd6535),this[_0x4bfe79(0xa7)][_0x4bfe79(0xc8)](_0x4bfe79(0xc1))['to'](this[_0x4bfe79(0xad)],_0x4bfe79(0xc3),_0x5b79f3=>_0x5b79f3&&this[_0x4bfe79(0xb8)][_0x4bfe79(0xb5)][_0x4bfe79(0xaf)](_0x414d36[_0x4bfe79(0xa9)]())),this[_0x4bfe79(0xa7)][_0x4bfe79(0xc8)](_0x4bfe79(0xb6))['to'](this[_0x4bfe79(0xcc)],_0x4bfe79(0xc3),_0x2f9bda=>_0x2f9bda&&this[_0x4bfe79(0xb8)][_0x4bfe79(0xb5)][_0x4bfe79(0xaf)](_0x414d36[_0x4bfe79(0xa9)]())),this[_0x4bfe79(0xab)]=null,_0x234167[_0x4bfe79(0xb1)]&&this[_0x4bfe79(0xba)](),this[_0x4bfe79(0xcf)](_0x234167,_0x4bfe79(0xcb),()=>this[_0x4bfe79(0xcb)]()),this[_0x4bfe79(0xcf)](_0x234167,_0x4bfe79(0xc0),()=>this[_0x4bfe79(0xc0)]()),this[_0x4bfe79(0xcf)](_0x234167,_0x4bfe79(0xb3),()=>{const _0x536268=_0x4bfe79;_0x234167[_0x536268(0xb1)]?this[_0x536268(0xba)]():this[_0x536268(0xa5)]();});}[_0x1f12bc(0xcb)](){const _0x25f40c=_0x1f12bc;this[_0x25f40c(0xad)][_0x25f40c(0xb7)](this[_0x25f40c(0xb5)]['id']);}[_0x1f12bc(0xc0)](){const _0x1bce3a=_0x1f12bc;this[_0x1bce3a(0xcc)][_0x1bce3a(0xb7)](this[_0x1bce3a(0xb5)]['id']);}[_0x1f12bc(0xae)](){const _0x4b2ac5=_0x1f12bc;this[_0x4b2ac5(0xa7)][_0x4b2ac5(0xa8)](_0x4b2ac5(0xc3)),this[_0x4b2ac5(0xa7)][_0x4b2ac5(0xa8)](_0x4b2ac5(0xc1)),this[_0x4b2ac5(0xa7)][_0x4b2ac5(0xa8)](_0x4b2ac5(0xb6)),this[_0x4b2ac5(0xc9)](),this[_0x4b2ac5(0xb0)][_0x4b2ac5(0xae)](),this[_0x4b2ac5(0xab)]&&this[_0x4b2ac5(0xa5)]();}[_0x1f12bc(0xba)](){const _0x32ee92=_0x1f12bc,_0x2109aa=_0x41ff45(this[_0x32ee92(0xb8)][_0x32ee92(0xca)],_0x32ee92(0xbc));this[_0x32ee92(0xab)]=this[_0x32ee92(0xb8)][_0x32ee92(0xce)][_0x32ee92(0xb9)](_0x32ee92(0xcd))[_0x32ee92(0xc7)](_0x2109aa);}[_0x1f12bc(0xa5)](){const _0x2e7853=_0x1f12bc;null!==this[_0x2e7853(0xab)]&&this[_0x2e7853(0xb8)][_0x2e7853(0xce)][_0x2e7853(0xb9)](_0x2e7853(0xcd))[_0x2e7853(0xb4)](this[_0x2e7853(0xab)]),this[_0x2e7853(0xab)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x122253=_0x3e41;(function(_0x216c8a,_0x9ca28c){const _0x378243=_0x3e41,_0xd00fdd=_0x216c8a();while(!![]){try{const _0x1fadb1=-parseInt(_0x378243(0xb1))/0x1*(parseInt(_0x378243(0x8d))/0x2)+parseInt(_0x378243(0xb8))/0x3+-parseInt(_0x378243(0x9f))/0x4*(-parseInt(_0x378243(0x86))/0x5)+parseInt(_0x378243(0x95))/0x6+parseInt(_0x378243(0x9c))/0x7*(-parseInt(_0x378243(0xa1))/0x8)+-parseInt(_0x378243(0x89))/0x9*(parseInt(_0x378243(0xab))/0xa)+-parseInt(_0x378243(0x92))/0xb*(-parseInt(_0x378243(0xae))/0xc);if(_0x1fadb1===_0x9ca28c)break;else _0xd00fdd['push'](_0xd00fdd['shift']());}catch(_0x403c14){_0xd00fdd['push'](_0xd00fdd['shift']());}}}(_0x2316,0x330fc));import{FocusCycler as _0x59c83f,View as _0x540dd5,ViewCollection as _0x329b62}from'ckeditor5/src/ui.js';import{FocusTracker as _0x10e598,KeystrokeHandler as _0x35eee7}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x55876a,setupThreadKeyboardNavigation as _0x2dc4aa}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xa768fb}from'../../utils/common-translations.js';import{renderDescription as _0x549997}from'../../utils/utils.js';function _0x3e41(_0x3325f5,_0x945dd7){const _0x231651=_0x2316();return _0x3e41=function(_0x3e4144,_0x35ab5c){_0x3e4144=_0x3e4144-0x80;let _0xbdf86e=_0x231651[_0x3e4144];return _0xbdf86e;},_0x3e41(_0x3325f5,_0x945dd7);}function _0x2316(){const _0x4f9401=['commentInputView','fire','commentThread','813036RxJWuX','canDiscard','isEnabled','keystrokes','map','3986246qdwewU','delegate','commentsListView','2120052DXhAhw','_createCommentThreadInputView','text/html','isActive','updateComment','render','CommentView','7pFLgrv','authoredAt','SUGGESTION_THREAD_DESCRIPTION','4peezYt','textContent','1646360RjXVha','removeComment','target','length','parseFromString','ariaDescriptionView','_model','formatDateTime','set','element','10PeFGZx','isDirty','focus','12gWcpZM','content','join','1uSJpyO','disabledSubmit','commentThreadInputView','canAccept','hasDirtyComment','focusCycler','destroy','535236zwWRZZ','assign','bind','submit','SUGGESTION_THREAD_ARIA_LABEL','author','shift+tab','body','_createCommentViews','tab','name','ariaLabel','setData','cancel','focusables','_config','addComment','editorConfig','locale','value','descriptionParts','focusTracker','_localUser','editor','disableComments','1399670kAtDJm','isReadOnly','showInput','3173517pTFQkQ'];_0x2316=function(){return _0x4f9401;};return _0x2316();}export class BaseSuggestionThreadView extends _0x540dd5{[_0x122253(0x94)];[_0x122253(0xb3)];[_0x122253(0xa6)];[_0x122253(0xc6)];[_0x122253(0x82)];[_0x122253(0x90)];[_0x122253(0xb6)];[_0x122253(0xa7)];[_0x122253(0x83)];[_0x122253(0xc7)];constructor(_0x797a9b,_0x180d4e,_0x449c90,_0xaf6c91){const _0x58d70c=_0x122253;super(_0x797a9b),this[_0x58d70c(0x94)]=null,this[_0x58d70c(0xb3)]=null,this[_0x58d70c(0xa6)]=new _0x55876a(_0x797a9b,_0xa768fb(_0x797a9b,_0x58d70c(0x9e))),this[_0x58d70c(0xa9)](_0x58d70c(0x98),!0x1),this[_0x58d70c(0xa9)](_0x58d70c(0x9d),_0x180d4e[_0x58d70c(0x9d)]),this[_0x58d70c(0xba)](_0x58d70c(0x9d))['to'](_0x180d4e),this[_0x58d70c(0xa9)](_0x58d70c(0x81),[]),this[_0x58d70c(0xa9)](_0x58d70c(0xac),!0x1),this[_0x58d70c(0xa9)](_0x58d70c(0x8f),!0x1),this[_0x58d70c(0xa9)](_0x58d70c(0xb4),!0x1),this[_0x58d70c(0xa9)](_0x58d70c(0x8e),!0x1),this[_0x58d70c(0xba)](_0x58d70c(0xc3))['to'](this,_0x58d70c(0xa4),_0x180d4e,_0x58d70c(0x9d),this,_0x58d70c(0x81),(_0x59eaa7,_0x82cd31,_0x7ea8c1)=>{const _0x477631=_0x58d70c,_0x51673c=_0x7ea8c1[_0x477631(0x91)](_0x315e2f=>_0x549997(_0x315e2f[_0x477631(0xaf)]))[_0x477631(0xb0)]('.\x20')+'.';return _0xa768fb(this[_0x477631(0xca)],_0x477631(0xbc),[_0x59eaa7-0x1,_0x180d4e[_0x477631(0xbd)][_0x477631(0xc2)],_0x82cd31?_0xaf6c91[_0x477631(0xa8)](_0x82cd31):'',new DOMParser()[_0x477631(0xa5)](_0x51673c,_0x477631(0x97))[_0x477631(0xbf)][_0x477631(0xa0)]]);}),this[_0x58d70c(0xc6)]=new _0x329b62(),this[_0x58d70c(0x82)]=new _0x10e598(),this[_0x58d70c(0x90)]=new _0x35eee7(),this[_0x58d70c(0xb6)]=new _0x59c83f({'focusables':this[_0x58d70c(0xc6)],'focusTracker':this[_0x58d70c(0x82)],'keystrokeHandler':this[_0x58d70c(0x90)],'keystrokeHandlerOptions':{'filter':_0x934439=>_0x934439[_0x58d70c(0xa3)]!==this[_0x58d70c(0xaa)]},'actions':{'focusPrevious':_0x58d70c(0xbe),'focusNext':_0x58d70c(0xc1)}}),this[_0x58d70c(0xa7)]=_0x180d4e,this[_0x58d70c(0x83)]=_0x449c90,this[_0x58d70c(0xc7)]=_0xaf6c91,_0xaf6c91[_0x58d70c(0x85)]?this[_0x58d70c(0xa9)](_0x58d70c(0xa4),0x1):this[_0x58d70c(0xc0)]();}[_0x122253(0x9a)](){const _0x3a14e2=_0x122253;super[_0x3a14e2(0x9a)](),_0x2dc4aa(this,this[_0x3a14e2(0xc6)]);}[_0x122253(0xad)](){const _0xac1ec3=_0x122253;this[_0xac1ec3(0xaa)][_0xac1ec3(0xad)]();}[_0x122253(0xb7)](){const _0x1eae0f=_0x122253;this[_0x1eae0f(0x94)]&&this[_0x1eae0f(0x94)][_0x1eae0f(0xb7)](),this[_0x1eae0f(0xb3)]&&this[_0x1eae0f(0xb3)][_0x1eae0f(0xb7)](),super[_0x1eae0f(0xb7)]();}[_0x122253(0xc0)](){const _0x6fe459=_0x122253,{CommentsListView:_0x288ce5}=this[_0x6fe459(0xc7)];this[_0x6fe459(0x94)]=new _0x288ce5(this[_0x6fe459(0xca)],this[_0x6fe459(0xa7)][_0x6fe459(0x8c)],Object[_0x6fe459(0xb9)]({'CommentView':this[_0x6fe459(0xc7)][_0x6fe459(0x9b)]},this[_0x6fe459(0xc7)])),this[_0x6fe459(0x94)][_0x6fe459(0x93)](_0x6fe459(0xa2))['to'](this),this[_0x6fe459(0x94)][_0x6fe459(0x93)](_0x6fe459(0x99))['to'](this),this[_0x6fe459(0x94)][_0x6fe459(0xba)](_0x6fe459(0x98))['to'](this),this[_0x6fe459(0xa9)](_0x6fe459(0xa4),this[_0x6fe459(0x94)][_0x6fe459(0xa4)]+0x1),this[_0x6fe459(0xba)](_0x6fe459(0xa4))['to'](this[_0x6fe459(0x94)],_0x6fe459(0xa4),_0x3792ea=>_0x3792ea+0x1),this[_0x6fe459(0xb3)]=this[_0x6fe459(0x96)](),this['on'](_0x6fe459(0xa2),()=>this[_0x6fe459(0xad)]()),this[_0x6fe459(0xba)](_0x6fe459(0xac))['to'](this[_0x6fe459(0x94)],_0x6fe459(0xb5),this[_0x6fe459(0xb3)][_0x6fe459(0x8a)],_0x6fe459(0x80),(_0x561d13,_0x4dcd9c)=>_0x561d13||!!_0x4dcd9c);}[_0x122253(0x96)](){const _0x5bbd8c=_0x122253,{CommentThreadInputView:_0x10d59c}=this[_0x5bbd8c(0xc7)],_0x420405=new _0x10d59c(this[_0x5bbd8c(0xca)],this[_0x5bbd8c(0x83)],this[_0x5bbd8c(0xc7)][_0x5bbd8c(0xc9)]),_0x56368e=_0x420405[_0x5bbd8c(0x8a)];return _0x420405[_0x5bbd8c(0xba)](_0x5bbd8c(0x88))['to'](this,_0x5bbd8c(0x98),this[_0x5bbd8c(0xa7)][_0x5bbd8c(0x8c)],_0x5bbd8c(0x87),_0x56368e,_0x5bbd8c(0x80),(_0x5d0a41,_0x1a9306,_0x5f52be)=>!!_0x5f52be||_0x5d0a41&&!_0x1a9306),_0x56368e['on'](_0x5bbd8c(0xbb),(_0x3c74c2,_0xb3317d)=>{const _0x39ac4a=_0x5bbd8c;this[_0x39ac4a(0x8b)](_0x39ac4a(0xc8),_0xb3317d),_0x56368e[_0x39ac4a(0x84)][_0x39ac4a(0xc4)]('');}),_0x56368e['on'](_0x5bbd8c(0xc5),()=>this[_0x5bbd8c(0xad)]()),_0x56368e[_0x5bbd8c(0xba)](_0x5bbd8c(0xb2))['to'](this[_0x5bbd8c(0xa7)][_0x5bbd8c(0x8c)],_0x5bbd8c(0x87)),_0x420405;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55e5be=_0x39ff;function _0x39ff(_0xd59f57,_0x2e191f){const _0x59a55e=_0x59a5();return _0x39ff=function(_0x39ffc4,_0x4b8676){_0x39ffc4=_0x39ffc4-0x1a6;let _0x41f911=_0x59a55e[_0x39ffc4];return _0x41f911;},_0x39ff(_0xd59f57,_0x2e191f);}(function(_0x231228,_0x1dac39){const _0x44b208=_0x39ff,_0x318a32=_0x231228();while(!![]){try{const _0x3d2f8a=parseInt(_0x44b208(0x1d1))/0x1*(-parseInt(_0x44b208(0x1a9))/0x2)+parseInt(_0x44b208(0x1c6))/0x3*(-parseInt(_0x44b208(0x1bd))/0x4)+parseInt(_0x44b208(0x1aa))/0x5*(parseInt(_0x44b208(0x1d8))/0x6)+parseInt(_0x44b208(0x1b4))/0x7+parseInt(_0x44b208(0x1da))/0x8*(parseInt(_0x44b208(0x1a6))/0x9)+-parseInt(_0x44b208(0x1bf))/0xa*(parseInt(_0x44b208(0x1d3))/0xb)+-parseInt(_0x44b208(0x1c3))/0xc*(-parseInt(_0x44b208(0x1bc))/0xd);if(_0x3d2f8a===_0x1dac39)break;else _0x318a32['push'](_0x318a32['shift']());}catch(_0x340e26){_0x318a32['push'](_0x318a32['shift']());}}}(_0x59a5,0x3ff0b));import{BaseSuggestionThreadView as _0x3b1217}from'./basesuggestionthreadview.js';function _0x59a5(){const _0x3b2e7e=['40MhbNkh','ariaDescriptionView','disableComments','editorReady','_descriptionElement','isActive','acceptButton','_model','783342KhFEJN','canAccept','setTemplate','7804QPNJtU','64195kzZJeI','color','_config','ck-rounded-corners','div','acceptSuggestion','formatDateTime','<p>','ck-suggestion-wrapper--active','discardButton','1816248Ankmjm','description','editorDestroyed','bindTemplate','add','commentThreadInputView','</p>','isEnabled','86164tNbLsk','8oiqKHx','listitem','350rPArHv','suggestionView','author','ck-suggestion-','228BLyaSZ','type','focusables','405699ucdFpu','ck-suggestion-wrapper','bind','content','SuggestionView','ariaLabel','discardSuggestion','commentThread','canDiscard','ck-suggestion--disabled-comments','render','1nZlxvu','delegate','145849IovEif','set','commentsListView','getTemplate','push','84JvXjex','descriptionParts'];_0x59a5=function(){return _0x3b2e7e;};return _0x59a5();}import{trimHtml as _0x51ded8}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x597faa}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3b1217{[_0x55e5be(0x1c0)];[_0x55e5be(0x1de)];constructor(_0x12b182,_0x31673f,_0x23b49f,_0x4b2f28){const _0x45561b=_0x55e5be;super(_0x12b182,_0x31673f,_0x23b49f,_0x4b2f28),this[_0x45561b(0x1d4)](_0x45561b(0x1c4),''),this[_0x45561b(0x1c8)](_0x45561b(0x1c4))['to'](this,_0x45561b(0x1d9),_0x1d056d=>_0x1d056d&&_0x1d056d[0x0]?_0x1d056d[0x0][_0x45561b(0x1c4)]:''),this[_0x45561b(0x1c8)](_0x45561b(0x1b5))['to'](this,_0x45561b(0x1d9),this,_0x45561b(0x1df),(_0x17f208,_0x4b5e5e)=>{const _0x231b08=_0x45561b;let _0x1916d7='';for(const _0x158b87 of _0x17f208)_0x1916d7+=_0x231b08(0x1b1)+_0x597faa(_0x158b87[_0x231b08(0x1c9)],_0x158b87[_0x231b08(0x1ab)])+_0x231b08(0x1ba);return _0x4b5e5e?_0x1916d7:_0x51ded8(_0x1916d7,{'limit':0x8c});}),this[_0x45561b(0x1de)]=null,this[_0x45561b(0x1c0)]=new _0x4b2f28[(_0x45561b(0x1ca))](_0x12b182,_0x31673f,{'formatDateTime':_0x4b2f28[_0x45561b(0x1b0)]}),this[_0x45561b(0x1c0)][_0x45561b(0x1c8)](_0x45561b(0x1b5))['to'](this),this[_0x45561b(0x1c0)][_0x45561b(0x1d2)](_0x45561b(0x1af),_0x45561b(0x1cc))['to'](this),this[_0x45561b(0x1c0)][_0x45561b(0x1e0)][_0x45561b(0x1c8)](_0x45561b(0x1bb))['to'](this,_0x45561b(0x1a7)),this[_0x45561b(0x1c0)][_0x45561b(0x1b3)][_0x45561b(0x1c8)](_0x45561b(0x1bb))['to'](this,_0x45561b(0x1ce)),this[_0x45561b(0x1c5)][_0x45561b(0x1b8)](this[_0x45561b(0x1c0)]),this[_0x45561b(0x1d5)]&&this[_0x45561b(0x1c5)][_0x45561b(0x1b8)](this[_0x45561b(0x1d5)]),this[_0x45561b(0x1b9)]&&this[_0x45561b(0x1c5)][_0x45561b(0x1b8)](this[_0x45561b(0x1b9)]),this[_0x45561b(0x1a8)](this[_0x45561b(0x1d6)]());}[_0x55e5be(0x1d6)](){const _0x17eef7=_0x55e5be,_0x4d1b0f=this[_0x17eef7(0x1b7)],_0x472bf5=[this[_0x17eef7(0x1c0)]];return this[_0x17eef7(0x1d5)]&&_0x472bf5[_0x17eef7(0x1d7)](this[_0x17eef7(0x1d5)]),this[_0x17eef7(0x1b9)]&&_0x472bf5[_0x17eef7(0x1d7)](this[_0x17eef7(0x1b9)]),_0x472bf5[_0x17eef7(0x1d7)](this[_0x17eef7(0x1db)]),{'tag':_0x17eef7(0x1ae),'attributes':{'class':['ck',_0x17eef7(0x1ad),_0x17eef7(0x1c7),_0x4d1b0f['if'](_0x17eef7(0x1df),_0x17eef7(0x1b2)),_0x4d1b0f['to'](_0x17eef7(0x1c4),_0x1a8b7b=>_0x17eef7(0x1c2)+_0x1a8b7b),this[_0x17eef7(0x1ac)][_0x17eef7(0x1dc)]&&_0x17eef7(0x1cf)],'data-suggestion-id':this[_0x17eef7(0x1e1)]['id'],'data-thread-id':this[_0x17eef7(0x1e1)][_0x17eef7(0x1cd)]['id'],'data-author-id':this[_0x17eef7(0x1e1)][_0x17eef7(0x1c1)]['id'],'tabindex':0x0,'role':_0x17eef7(0x1be),'aria-label':_0x4d1b0f['to'](_0x17eef7(0x1cb)),'aria-describedby':this[_0x17eef7(0x1db)]['id']},'children':_0x472bf5};}[_0x55e5be(0x1d0)](){const _0x2ecb2d=_0x55e5be;super[_0x2ecb2d(0x1d0)](),this[_0x2ecb2d(0x1d5)]&&(this[_0x2ecb2d(0x1d5)][_0x2ecb2d(0x1d2)](_0x2ecb2d(0x1dd))['to'](this),this[_0x2ecb2d(0x1d5)][_0x2ecb2d(0x1d2)](_0x2ecb2d(0x1b6))['to'](this)),this[_0x2ecb2d(0x1b9)]&&(this[_0x2ecb2d(0x1b9)][_0x2ecb2d(0x1d2)](_0x2ecb2d(0x1dd))['to'](this),this[_0x2ecb2d(0x1b9)][_0x2ecb2d(0x1d2)](_0x2ecb2d(0x1b6))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x48c9(_0x13d8b4,_0x5d418f){const _0x39c493=_0x39c4();return _0x48c9=function(_0x48c9e0,_0x46c827){_0x48c9e0=_0x48c9e0-0x1c2;let _0x12e6f5=_0x39c493[_0x48c9e0];return _0x12e6f5;},_0x48c9(_0x13d8b4,_0x5d418f);}function _0x39c4(){const _0x56718b=['ck-annotation__user','ck-annotation__info-name','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','keystrokes','focusables','userView','getUserViewNotificationText','70120AYPrPz','_setupKeyboardNavigation','div','description','ck-suggestion--discard','getExternalSuggestionNote','presentation','set','36oJeDcx','3439161ehXpFk','@external','ck-suggestion','element','tab','_model','2394505rTeGkU','ck-comment__info-time','bindTemplate','shift+tab','execute','change:description','target','render','ck-suggestion__main','ck-suggestion__actions','focus','source','ck-annotation__actions','locale','ck-suggestion--accept','extendTemplate','6boPwJB','ck-annotation__info-time','isExternal','ck-suggestion__user','push','author','EXTERNAL_AVATAR','enter','acceptSuggestion','formatDateTime','ck-annotation','181314ZPKxUG','span','attributes','Accept\x20suggestion','ck-annotation__content-wrapper','27306aspyWT','ck-annotation__info','ck-annotation__main','add','bind','focusCycler','importWord','ck-suggestion__info','focusFirst','esc','.ck-annotation__content-wrapper','creator','6359088rylZPH','authoredAt','_createButton','time','discardButton','_config','setTemplate','getTemplate','747CLOozw','innerHTML','focusTracker','name','discardSuggestion','acceptButton','listenTo','ck-comment__external','2443qrePSJ','10mKuCpu','ck-suggestion__info-name','EXTERNAL_IMPORT_WORD_AVATAR','104955TjztSv','Discard\x20suggestion','querySelector','EXTERNAL_SUGGESTION'];_0x39c4=function(){return _0x56718b;};return _0x39c4();}const _0x262d6a=_0x48c9;(function(_0xf9a8e2,_0x3ffdc0){const _0x4a0b66=_0x48c9,_0x1c0c1e=_0xf9a8e2();while(!![]){try{const _0x570553=-parseInt(_0x4a0b66(0x1fd))/0x1*(-parseInt(_0x4a0b66(0x208))/0x2)+parseInt(_0x4a0b66(0x1d2))/0x3*(-parseInt(_0x4a0b66(0x1e6))/0x4)+-parseInt(_0x4a0b66(0x1ed))/0x5+parseInt(_0x4a0b66(0x20d))/0x6*(parseInt(_0x4a0b66(0x1ce))/0x7)+parseInt(_0x4a0b66(0x1de))/0x8*(-parseInt(_0x4a0b66(0x1c6))/0x9)+parseInt(_0x4a0b66(0x1cf))/0xa*(-parseInt(_0x4a0b66(0x1e7))/0xb)+parseInt(_0x4a0b66(0x219))/0xc;if(_0x570553===_0x3ffdc0)break;else _0x1c0c1e['push'](_0x1c0c1e['shift']());}catch(_0x13ce35){_0x1c0c1e['push'](_0x1c0c1e['shift']());}}}(_0x39c4,0xca35d));import{FocusTracker as _0x219068,KeystrokeHandler as _0x335816}from'ckeditor5/src/utils.js';import{View as _0x3b5dd7,ViewCollection as _0x5c3d22,FocusCycler as _0x3a1619}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x1b5fcb,UserView as _0x201570}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x3a2b25,IconCheck as _0x5854c8}from'ckeditor5/src/icons.js';import{getTranslation as _0x43eeb7}from'../../utils/common-translations.js';export class SuggestionView extends _0x3b5dd7{[_0x262d6a(0x1dc)];[_0x262d6a(0x1cb)];[_0x262d6a(0x1c2)];[_0x262d6a(0x1db)];[_0x262d6a(0x1c8)];[_0x262d6a(0x1da)];[_0x262d6a(0x212)];[_0x262d6a(0x1ec)];[_0x262d6a(0x1c3)];constructor(_0x17db66,_0x5e231e,_0x24b01e){const _0x5f0d90=_0x262d6a;super(_0x17db66),this[_0x5f0d90(0x1ec)]=_0x5e231e,this[_0x5f0d90(0x1c3)]=_0x24b01e,this[_0x5f0d90(0x1e5)](_0x5f0d90(0x1e1),''),this[_0x5f0d90(0x211)](_0x5f0d90(0x21a))['to'](_0x5e231e),this[_0x5f0d90(0x1cb)]=this[_0x5f0d90(0x21b)](_0x43eeb7(_0x17db66,_0x5f0d90(0x20b)),_0x5854c8,_0x5f0d90(0x1fb),_0x5f0d90(0x205),'sw'),this[_0x5f0d90(0x1c2)]=this[_0x5f0d90(0x21b)](_0x43eeb7(_0x17db66,_0x5f0d90(0x1d3)),_0x3a2b25,_0x5f0d90(0x1e2),_0x5f0d90(0x1ca),'sw'),this[_0x5f0d90(0x1dc)]=new _0x201570(_0x17db66,_0x5e231e[_0x5f0d90(0x202)],this[_0x5f0d90(0x1dd)]()),this[_0x5f0d90(0x1dc)][_0x5f0d90(0x1fc)]({'attributes':{'class':[_0x5f0d90(0x200),_0x5f0d90(0x1d6)],'aria-hidden':!0x0}}),this[_0x5f0d90(0x1db)]=new _0x5c3d22([this[_0x5f0d90(0x1cb)],this[_0x5f0d90(0x1c2)]]),this[_0x5f0d90(0x1c8)]=new _0x219068(),this[_0x5f0d90(0x1da)]=new _0x335816(),this[_0x5f0d90(0x212)]=new _0x3a1619({'focusables':this[_0x5f0d90(0x1db)],'focusTracker':this[_0x5f0d90(0x1c8)],'keystrokeHandler':this[_0x5f0d90(0x1da)],'actions':{'focusPrevious':_0x5f0d90(0x1f0),'focusNext':_0x5f0d90(0x1eb)},'keystrokeHandlerOptions':{'filter':_0x2a3493=>_0x2a3493[_0x5f0d90(0x1f3)]!==this[_0x5f0d90(0x1ea)]}}),this[_0x5f0d90(0x1c4)](this[_0x5f0d90(0x1c5)]());}[_0x262d6a(0x1f4)](){const _0x56970a=_0x262d6a;super[_0x56970a(0x1f4)]();const _0x3b3a1f=this[_0x56970a(0x1ea)][_0x56970a(0x1d4)](_0x56970a(0x217));_0x3b3a1f[_0x56970a(0x1c7)]=this[_0x56970a(0x1e1)],this['on'](_0x56970a(0x1f2),(_0x16726b,_0x44b3d9,_0x15e541)=>{const _0x460520=_0x56970a;_0x3b3a1f[_0x460520(0x1c7)]=_0x15e541;}),this[_0x56970a(0x1df)]();}[_0x262d6a(0x1c5)](){const _0x5e9033=_0x262d6a,_0x580708=this[_0x5e9033(0x1ef)],_0x3da12d=[{'tag':_0x5e9033(0x1e0),'attributes':{'class':[_0x5e9033(0x214),_0x5e9033(0x20e)]},'children':[{'tag':_0x5e9033(0x209),'children':[{'text':this[_0x5e9033(0x1dc)][_0x5e9033(0x1c9)]}],'attributes':{'class':[_0x5e9033(0x1d0),_0x5e9033(0x1d7)],'data-cke-tooltip-text':this[_0x5e9033(0x1dc)][_0x5e9033(0x1c9)]}},{'tag':_0x5e9033(0x21c),'attributes':{'datetime':_0x580708['to'](_0x5e9033(0x21a)),'class':[_0x5e9033(0x1ee),_0x5e9033(0x1fe)]},'children':[{'text':_0x580708['to'](_0x5e9033(0x21a),_0x550b6a=>this[_0x5e9033(0x1c3)][_0x5e9033(0x206)](_0x550b6a))}]}]},{'tag':_0x5e9033(0x1e0),'attributes':{'class':[_0x5e9033(0x1f6),_0x5e9033(0x1f9)]},'children':[this[_0x5e9033(0x1cb)],this[_0x5e9033(0x1c2)]]},{'tag':_0x5e9033(0x1e0),'attributes':{'class':[_0x5e9033(0x20c)]}}];return this[_0x5e9033(0x1ec)][_0x5e9033(0x1ff)]&&_0x3da12d[_0x5e9033(0x201)]({'tag':_0x5e9033(0x1e0),'attributes':{'class':[_0x5e9033(0x1cd)]},'children':[{'text':this[_0x5e9033(0x1e3)]()}]}),{'tag':_0x5e9033(0x1e0),'attributes':{'class':[_0x5e9033(0x1e9),_0x5e9033(0x207)],'tabindex':-0x1},'children':[this[_0x5e9033(0x1dc)],{'tag':_0x5e9033(0x1e0),'attributes':{'class':[_0x5e9033(0x1f5),_0x5e9033(0x20f)],'role':_0x5e9033(0x1e4)},'children':_0x3da12d}]};}[_0x262d6a(0x1f7)](){const _0x27281d=_0x262d6a;this[_0x27281d(0x1ea)][_0x27281d(0x1f7)]();}[_0x262d6a(0x1dd)](){const _0x4e1369=_0x262d6a;return this[_0x4e1369(0x1ec)][_0x4e1369(0x1ff)]?_0x4e1369(0x213)===this[_0x4e1369(0x1ec)][_0x4e1369(0x20a)][_0x4e1369(0x1e8)][_0x4e1369(0x1f8)]?_0x43eeb7(this[_0x4e1369(0x1fa)],_0x4e1369(0x1d1),this[_0x4e1369(0x1ec)][_0x4e1369(0x218)][_0x4e1369(0x1c9)]):_0x43eeb7(this[_0x4e1369(0x1fa)],_0x4e1369(0x203),this[_0x4e1369(0x1ec)][_0x4e1369(0x218)][_0x4e1369(0x1c9)]):null;}[_0x262d6a(0x1e3)](){const _0xb40263=_0x262d6a;return _0xb40263(0x213)===this[_0xb40263(0x1ec)][_0xb40263(0x20a)][_0xb40263(0x1e8)][_0xb40263(0x1f8)]?_0x43eeb7(this[_0xb40263(0x1fa)],_0xb40263(0x1d9)):_0x43eeb7(this[_0xb40263(0x1fa)],_0xb40263(0x1d5));}[_0x262d6a(0x21b)](_0x10bc3e,_0x447e0d,_0x47496f,_0x475902,_0x171c28){const _0x207a07=_0x262d6a,_0xe83719=new _0x1b5fcb(this[_0x207a07(0x1fa)]);return _0xe83719[_0x207a07(0x1e5)]({'label':_0x10bc3e,'icon':_0x447e0d,'tooltip':!0x0,'tooltipPosition':_0x171c28}),_0xe83719[_0x207a07(0x1fc)]({'attributes':{'class':_0x47496f}}),_0xe83719['on'](_0x207a07(0x1f1),()=>{const _0x52f13d=_0x207a07;this[_0x52f13d(0x1d8)](_0x475902,this[_0x52f13d(0x1ec)]['id']);}),_0xe83719;}[_0x262d6a(0x1df)](){const _0x8900e9=_0x262d6a,_0x2350cb=this[_0x8900e9(0x1ea)];this[_0x8900e9(0x1da)][_0x8900e9(0x1cc)](_0x2350cb);for(const _0xcc8f2d of this[_0x8900e9(0x1db)])this[_0x8900e9(0x1c8)][_0x8900e9(0x210)](_0xcc8f2d[_0x8900e9(0x1ea)]),this[_0x8900e9(0x1da)][_0x8900e9(0x1cc)](_0xcc8f2d[_0x8900e9(0x1ea)]);this[_0x8900e9(0x1da)][_0x8900e9(0x1e5)](_0x8900e9(0x204),(_0x490455,_0x54330c)=>{const _0x3aa9f2=_0x8900e9;_0x2350cb===_0x490455[_0x3aa9f2(0x1f3)]&&(this[_0x3aa9f2(0x212)][_0x3aa9f2(0x215)](),_0x54330c());}),this[_0x8900e9(0x1da)][_0x8900e9(0x1e5)](_0x8900e9(0x216),(_0x576fed,_0x118c09)=>{const _0x31ebf5=_0x8900e9;_0x2350cb!==_0x576fed[_0x31ebf5(0x1f3)]&&(this[_0x31ebf5(0x1f7)](),_0x118c09());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5937(){const _0x4832f4=['options','render','728030wrqaiO','1689863EYueNU','ck-reset','dialogRects','element','height','previewDataReady','6838icfrRF','innerHTML','classes','ck-track-changes-preview','setAttribute','5034480wxThws','setPreviewData','7247232NrHxYk','\x20ck-track-changes-preview__root-container','9TksBnv','content','513092fhHfKS','setTemplate','data-ck-root-name','width','24JaJNyW','push','fire','style','createElement','div','6379780rGLoTF','147IyDyEs','focus','className'];_0x5937=function(){return _0x4832f4;};return _0x5937();}function _0x4147(_0x3c6901,_0x21c3e9){const _0x5937c4=_0x5937();return _0x4147=function(_0x41474c,_0x1077c4){_0x41474c=_0x41474c-0x12c;let _0x1c2ca0=_0x5937c4[_0x41474c];return _0x1c2ca0;},_0x4147(_0x3c6901,_0x21c3e9);}const _0x4a338d=_0x4147;(function(_0x36cd6a,_0x44c2b2){const _0x5c6144=_0x4147,_0x575de8=_0x36cd6a();while(!![]){try{const _0x109f2d=parseInt(_0x5c6144(0x12c))/0x1*(-parseInt(_0x5c6144(0x138))/0x2)+-parseInt(_0x5c6144(0x147))/0x3*(parseInt(_0x5c6144(0x143))/0x4)+parseInt(_0x5c6144(0x14d))/0x5+parseInt(_0x5c6144(0x13f))/0x6+parseInt(_0x5c6144(0x132))/0x7+-parseInt(_0x5c6144(0x13d))/0x8+parseInt(_0x5c6144(0x141))/0x9*(parseInt(_0x5c6144(0x131))/0xa);if(_0x109f2d===_0x44c2b2)break;else _0x575de8['push'](_0x575de8['shift']());}catch(_0x4d9159){_0x575de8['push'](_0x575de8['shift']());}}}(_0x5937,0x9c3d1));import{View as _0x5adcdf}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x5adcdf{[_0x4a338d(0x12f)];constructor(_0x44211c,_0x2b7a18){const _0x1f0ac8=_0x4a338d;super(_0x44211c),this[_0x1f0ac8(0x12f)]=_0x2b7a18,this[_0x1f0ac8(0x144)]({'tag':_0x1f0ac8(0x14c),'attributes':{'class':['ck',_0x1f0ac8(0x133),_0x1f0ac8(0x13b)],'tabindex':-0x1}});}[_0x4a338d(0x130)](){const _0x39c827=_0x4a338d;super[_0x39c827(0x130)](),this[_0x39c827(0x135)][_0x39c827(0x14a)][_0x39c827(0x146)]=this[_0x39c827(0x12f)][_0x39c827(0x134)][_0x39c827(0x146)]+'px',this[_0x39c827(0x135)][_0x39c827(0x14a)][_0x39c827(0x136)]=this[_0x39c827(0x12f)][_0x39c827(0x134)][_0x39c827(0x136)]+'px';}[_0x4a338d(0x13e)](_0x41bfbb,_0x20c4d5){const _0x10e138=_0x4a338d;if(!this[_0x10e138(0x135)])return;const _0x2cb846=[];for(const [_0x32ed65,_0x3295f4]of _0x41bfbb){const _0x43e726=document[_0x10e138(0x14b)](_0x10e138(0x14c));_0x43e726[_0x10e138(0x13c)](_0x10e138(0x145),_0x32ed65),_0x43e726[_0x10e138(0x12e)]=_0x3295f4[_0x10e138(0x13a)]+_0x10e138(0x140),_0x43e726[_0x10e138(0x139)]=_0x3295f4[_0x10e138(0x142)],_0x2cb846[_0x10e138(0x148)](_0x43e726);}_0x20c4d5(this[_0x10e138(0x135)],_0x2cb846),this[_0x10e138(0x135)][_0x10e138(0x14a)][_0x10e138(0x136)]='',this[_0x10e138(0x149)](_0x10e138(0x137));}[_0x4a338d(0x12d)](){const _0x1139e9=_0x4a338d;this[_0x1139e9(0x135)][_0x1139e9(0x12d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x33fbe4,_0x1f15db,_0x2d2188){const _0x50a1fb=_0x33fbe4['t'],t=_0x33fbe4['t'];switch(_0x1f15db){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',_0x2d2188);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2d2188);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2d2188);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2d2188);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2d2188);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',_0x2d2188);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2d2188);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',_0x2d2188);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2d2188);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2d2188);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2d2188);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2d2188);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2d2188);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2d2188);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2d2188);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2d2188);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2d2188);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2d2188);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2d2188);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2d2188);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2d2188);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2d2188);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2d2188);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2d2188);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2d2188);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'},_0x2d2188);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2d2188);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2d2188);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2d2188);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2d2188);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2d2188);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2d2188);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2d2188);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2d2188);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2d2188);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2d2188);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'},_0x2d2188);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2d2188);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2d2188);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2d2188);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 _0x50a1fb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2d2188);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x50a1fb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2d2188);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2d2188);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'},_0x2d2188);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'},_0x2d2188);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'},_0x2d2188);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1f15db;}}
|
|
23
|
+
export function getTranslation(_0x12f3a2,_0x540e31,_0x22ca13){const _0x3969da=_0x12f3a2['t'],t=_0x12f3a2['t'];switch(_0x540e31){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',_0x22ca13);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x22ca13);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x22ca13);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x22ca13);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x22ca13);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',_0x22ca13);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x22ca13);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',_0x22ca13);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x22ca13);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x22ca13);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x22ca13);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x22ca13);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x22ca13);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x22ca13);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x22ca13);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x22ca13);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x22ca13);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x22ca13);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x22ca13);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x22ca13);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x22ca13);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x22ca13);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x22ca13);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x22ca13);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x22ca13);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'},_0x22ca13);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x22ca13);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x22ca13);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x22ca13);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x22ca13);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x22ca13);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x22ca13);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x22ca13);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x22ca13);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x22ca13);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x22ca13);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'},_0x22ca13);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x22ca13);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x22ca13);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x22ca13);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 _0x3969da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x22ca13);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3969da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x22ca13);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x22ca13);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'},_0x22ca13);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'},_0x22ca13);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'},_0x22ca13);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x540e31;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x393319,_0x54c668){const _0x13b157=_0x1e54,_0x1b76fd=_0x393319();while(!![]){try{const _0x2361c8=-parseInt(_0x13b157(0xdd))/0x1+parseInt(_0x13b157(0xe4))/0x2+parseInt(_0x13b157(0xc1))/0x3+parseInt(_0x13b157(0xd6))/0x4*(-parseInt(_0x13b157(0xc9))/0x5)+parseInt(_0x13b157(0xd1))/0x6+-parseInt(_0x13b157(0xe1))/0x7+-parseInt(_0x13b157(0xef))/0x8;if(_0x2361c8===_0x54c668)break;else _0x1b76fd['push'](_0x1b76fd['shift']());}catch(_0x2b7130){_0x1b76fd['push'](_0x1b76fd['shift']());}}}(_0x102a,0x99809));export function normalizeDescription(_0x1d3ef2){const _0x54b895=_0x1e54;return Array[_0x54b895(0xd0)](_0x1d3ef2)||(_0x1d3ef2=[_0x1d3ef2]),_0x1d3ef2[_0x54b895(0xbe)](_0xe75a6=>{const _0x2a0c22=_0x54b895,_0x4e2428=_0xe75a6[_0x2a0c22(0xe6)][_0x2a0c22(0xce)](/\*/g,''),_0x5cb33a=_0xe75a6[_0x2a0c22(0xe3)]?_0x2a0c22(0xde)+_0xe75a6[_0x2a0c22(0xe3)][_0x2a0c22(0xea)]+']':'';return'['+_0xe75a6[_0x2a0c22(0xd2)]+']\x20'+_0x4e2428+_0x5cb33a;})[_0x54b895(0xe5)](';\x20');}function _0x1e54(_0x5e2931,_0x528653){const _0x102ac5=_0x102a();return _0x1e54=function(_0x1e548b,_0x1f57d7){_0x1e548b=_0x1e548b-0xbd;let _0x484918=_0x102ac5[_0x1e548b];return _0x484918;},_0x1e54(_0x5e2931,_0x528653);}export function renderDescription(_0xc2e586,_0x6a5e2b){const _0x1c014a=_0x1e54;let _0x996fa4='';return _0x996fa4+=_0xc2e586[_0x1c014a(0xdb)]('*')[_0x1c014a(0xbe)]((_0x2fde13,_0x53c00b)=>_0x53c00b%0x2!=0x0?_0x1c014a(0xeb)+Zt(_0x2fde13)+_0x1c014a(0xec):Zt(_0x2fde13))[_0x1c014a(0xe5)](''),_0x6a5e2b&&(_0x996fa4+=_0x1c014a(0xdc)+_0x6a5e2b[_0x1c014a(0xea)]+_0x1c014a(0xd4)+_0x6a5e2b[_0x1c014a(0xd3)]+_0x1c014a(0xc5)),_0x996fa4;}function Zt(_0x211e97){const _0x418a5f=_0x1e54,_0x5914d0=document[_0x418a5f(0xc2)](_0x418a5f(0xd5));return _0x5914d0[_0x418a5f(0xf1)]=_0x211e97,_0x5914d0[_0x418a5f(0xe0)];}function _0x102a(){const _0x5bd1fb=['split','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','372304ayhpeK','\x20[color\x20','push','innerHTML','4099522SYHDGA','start','color','94332XNKggn','join','content','add','getRanges','isInContent','value','<span\x20class=\x22ck-suggestion-type\x22>','</span>','isTouching','isIntersecting','2269552NXOaFv','createPositionAfter','innerText','schema','map','sort','createRange','3722781ycwwBD','createElement','isMultiRange','createPositionAt','\x22></span>','splice','length','change','44885snloCw','attribute','from','isCollapsed','next','replace','createPositionBefore','isArray','6563910YilYvj','type','title','\x22\x20title=\x22','span','228pCyWyt','deletion','isObject','end','execute'];_0x102a=function(){return _0x5bd1fb;};return _0x102a();}export function sortSuggestions(_0x4f40be){const _0x199615=_0x1e54;return _0x4f40be[_0x199615(0xbf)]((_0x3d7faf,_0xa36a4)=>_0x199615(0xca)===_0x3d7faf[_0x199615(0xd2)]&&_0x199615(0xca)!==_0xa36a4[_0x199615(0xd2)]?-0x1:_0x199615(0xca)!==_0x3d7faf[_0x199615(0xd2)]&&_0x199615(0xca)===_0xa36a4[_0x199615(0xd2)]?0x1:_0x199615(0xd7)==_0x3d7faf[_0x199615(0xd2)]&&_0x199615(0xd7)!=_0xa36a4[_0x199615(0xd2)]?-0x1:_0x199615(0xd7)!=_0x3d7faf[_0x199615(0xd2)]&&_0x199615(0xd7)==_0xa36a4[_0x199615(0xd2)]?0x1:0x0);}export function getSelectedSuggestions(_0x429768,_0x3722f9){const _0x1c5109=_0x1e54,_0x5b47c3=Array[_0x1c5109(0xcb)](_0x429768[_0x1c5109(0xe8)]()),_0x39bb28=new Set();for(const _0x56ed6e of _0x3722f9)if(_0x56ed6e[_0x1c5109(0xe9)]){for(const _0x2a146c of _0x5b47c3)for(const _0xe1c7cb of _0x56ed6e[_0x1c5109(0xe8)]())(_0x2a146c[_0x1c5109(0xee)](_0xe1c7cb)||_0x429768[_0x1c5109(0xcc)]&&!_0x56ed6e[_0x1c5109(0xc3)]&&_0x56ed6e[_0x1c5109(0xcd)]&&_0xe1c7cb[_0x1c5109(0xd9)][_0x1c5109(0xed)](_0x2a146c[_0x1c5109(0xe2)]))&&_0x39bb28[_0x1c5109(0xe7)](_0x56ed6e);}return _0x39bb28;}export function getRangesOfBlockGroups(_0x5708a4,_0x45bcf7){const _0xdcff05=_0x1e54;let _0x17e217,_0x69dd48=0x0;const _0xeded00=[],_0xbd87a7=_0x45bcf7[_0xdcff05(0xbd)];for(;_0x69dd48<_0x5708a4[_0xdcff05(0xc7)];){const _0x23b3b4=_0x5708a4[_0x69dd48],_0x2f9d2a=_0x5708a4[_0x69dd48+0x1];_0x17e217||(_0x17e217=_0x45bcf7[_0xdcff05(0xcf)](_0x23b3b4)),tn(_0x45bcf7,_0x23b3b4,_0x2f9d2a)||(_0xeded00[_0xdcff05(0xdf)](_0x45bcf7[_0xdcff05(0xc0)](_0x17e217,_0xbd87a7[_0xdcff05(0xd8)](_0x23b3b4)?_0x45bcf7[_0xdcff05(0xf0)](_0x23b3b4):_0x45bcf7[_0xdcff05(0xc4)](_0x23b3b4,_0xdcff05(0xd9)))),_0x17e217=null),_0x69dd48++;}return _0xeded00;}function tn(_0x119e84,_0x4605ec,_0x2aeef5){const _0x1a36ac=_0x1e54;if(!_0x2aeef5)return!0x1;const _0x1ca629=_0x119e84[_0x1a36ac(0xf0)](_0x4605ec),_0x4bf58f=_0x119e84[_0x1a36ac(0xcf)](_0x2aeef5);return _0x1ca629[_0x1a36ac(0xed)](_0x4bf58f);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x13da72,_0x531d3c,_0x36b03e){const _0x5aa559=_0x1e54;for(;_0x36b03e[_0x5aa559(0xc7)];){const _0x1d91b1=_0x36b03e[_0x5aa559(0xc6)](0x0,0x64);_0x13da72[_0x5aa559(0xc8)](()=>{const _0x162d0f=_0x5aa559;for(const _0x48ee4f of _0x1d91b1)_0x48ee4f[_0x162d0f(0xe9)]&&_0x531d3c[_0x162d0f(0xda)](_0x48ee4f['id']);});}}
|