@ckeditor/ckeditor5-track-changes 46.1.0-alpha.1 → 46.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
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 _0x33785b=_0x147e;(function(_0x38fde8,_0x1f99ed){const _0x1a3da1=_0x147e,_0x54fd4a=_0x38fde8();while(!![]){try{const _0x31fc26=parseInt(_0x1a3da1(0xa2))/0x1*(-parseInt(_0x1a3da1(0x103))/0x2)+-parseInt(_0x1a3da1(0xae))/0x3+parseInt(_0x1a3da1(0x123))/0x4+-parseInt(_0x1a3da1(0x105))/0x5*(-parseInt(_0x1a3da1(0x95))/0x6)+parseInt(_0x1a3da1(0xb8))/0x7+-parseInt(_0x1a3da1(0xc1))/0x8*(-parseInt(_0x1a3da1(0x118))/0x9)+-parseInt(_0x1a3da1(0x92))/0xa;if(_0x31fc26===_0x1f99ed)break;else _0x54fd4a['push'](_0x54fd4a['shift']());}catch(_0x52284a){_0x54fd4a['push'](_0x54fd4a['shift']());}}}(_0x1e0c,0x8986d));import{Plugin as _0x3476b1}from'ckeditor5/src/core.js';import{Collection as _0x3917b1}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0xb86d4c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3c6c99,createDropdown as _0x2146ea,ListSeparatorView as _0x5ef866,MenuBarMenuView as _0x5b878a,MenuBarMenuListView as _0x202b50,MenuBarMenuListItemView as _0x25f482,MenuBarMenuListItemButtonView as _0x3d0f82,SplitButtonView as _0x25f73a,UIModel as _0x34b354}from'ckeditor5/src/ui.js';import{Users as _0xaf811c,getDateTimeFormatter as _0x5d967c,getAllMarkersDomElementsSorted as _0x320102}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0xd09762}from'./trackchangesediting.js';import{SuggestionController as _0xe7cbe}from'./ui/suggestioncontroller.js';function _0x147e(_0x391e2f,_0x209efe){const _0x1e0c87=_0x1e0c();return _0x147e=function(_0x147e5b,_0x742bb8){_0x147e5b=_0x147e5b-0x7b;let _0x346b69=_0x1e0c87[_0x147e5b];return _0x346b69;},_0x147e(_0x391e2f,_0x209efe);}function _0x1e0c(){const _0x18da1e=['discardAllSuggestions','editing','SuggestionView','suggestionView','init','trackChangesLicenseKeyInvalid','panelView','831710GQdicR','change:activeAnnotations','delegate','318cYOadR','_createMenuBarMenu','getByInnerView','getDescriptions','type','trackChangesLicenseKeyDomainLimit','comments.maxThreadTotalWeight','value','CommentView','menuitemcheckbox','listenTo','suggestion-','Accept\x20all\x20suggestions','133bxFzvZ','TrackChangesPreview','getAllAdjacentSuggestions','trackChangesLicenseKeyExpired','getFirstRange','activeMarkers','editor','set','remove','previewFinalContent','_unbindEditors','domainLimit','1846713nqdgof','define','getRanges','commentThread','SuggestionThreadView','comments','has','get','separator','trackChanges.disableComments','4639957RrwnQZ','add','_viewToController','getMarkers','trackChangesLicenseKeyUsageLimit','hasSuggestion','Annotations','isOfficialPlugin','getSuggestion','357096MuIOEX','length','isDirty','items','Discard\x20all\x20suggestions','isPremiumPlugin','requires','from','source','Accept\x20all\x20selected\x20suggestions','_handleControllerBuffer','destroy','comments.maxCommentsWhenCollapsed','some','usageLimit','_disableComments','activeAnnotations','commands','commentsListView','_initializeController','commandName','delete','TrackChangesEditing','createCommentThreadController','descriptionFactory','_destroyController','switchbutton','menuitem','push','menuBar:trackChanges','discardButton','execute','_licenseKeyCheckInterval','Discard\x20all\x20selected\x20suggestions','filter','buttonView','isMultiRange','registerAnnotation','isOn','createAnnotationView','_showLicenseError','pluginName','clear','locale','isEnabled','getAnnotationForSuggestion','innerView','_handleSuggestionControllerDelayed','button','Preview\x20final\x20content','trackChangesLicenseKeyTrialLimit','refreshSelectedViews','trackChangesLicenseKeyNotAllowed','trackChanges','children','trackChanges.SuggestionThreadView','addMany','values','trackChangesLicenseKeyEvaluationLimit','actionView','CommentsRepository','expired','previous','bind','acceptSelectedSuggestions','trackChanges.SuggestionView','15580vSJCwT','acceptButton','24510yZJzWT','_annotationViews','_suggestionToController','TrackChangesUI','EditorAnnotations','mainView','discardSelectedSuggestions','acceptAllSuggestions','evaluationLimit','trialLimit','suggestionLoaded','reduce','change:previous','componentFactory','focus','lowest','_refreshActiveMarkers','_bindAnnotationToEditors','keys','81yjQWII','addComment','licenseKey','fire','suggestionUnloaded','plugins','toMany','createAnnotation','config','head','view','3894924gpJhwN','size','getSuggestionForAnnotation','comments.maxCommentCharsWhenCollapsed','getJoined','stopListening','getMarkerNames','escape','featureNotAllowed','_addUIComponentsToFactory','isInContent','addSourceCollector','arrowView','trackChangesLicenseKeyValid','model','invalid','descriptionParts','suggestionChanged','menu','_updateController','CommentsUI','Track\x20changes','unbind','_createToolbarButton','TrackChanges','comments.editorConfig'];_0x1e0c=function(){return _0x18da1e;};return _0x1e0c();}import{SuggestionThreadView as _0x37ce27}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x423201}from'./ui/view/suggestionview.js';import{getTranslation as _0xd95b13}from'./utils/common-translations.js';export class TrackChangesUI extends _0x3476b1{[_0x33785b(0x11a)];[_0x33785b(0xe1)];[_0x33785b(0x107)];[_0x33785b(0xba)];[_0x33785b(0x106)];[_0x33785b(0xcb)];[_0x33785b(0xd0)];static get[_0x33785b(0xc7)](){const _0x6b785d=_0x33785b;return[_0xd09762,_0xaf811c,_0x6b785d(0xfd),_0x6b785d(0xbe),_0x6b785d(0x109)];}static get[_0x33785b(0xea)](){const _0xb5f240=_0x33785b;return _0xb5f240(0x108);}static get[_0x33785b(0xbf)](){return!0x0;}static get[_0x33785b(0xc6)](){return!0x0;}constructor(_0x5b41e8){const _0x1a273a=_0x33785b;super(_0x5b41e8),this[_0x1a273a(0x107)]=new Map(),this[_0x1a273a(0xba)]=new Map(),this[_0x1a273a(0x106)]=new Map(),this[_0x1a273a(0xcb)]=new Map();const _0xc61348=this[_0x1a273a(0xa8)][_0x1a273a(0x120)];_0xc61348[_0x1a273a(0xaf)](_0x1a273a(0xf8),_0x37ce27),_0xc61348[_0x1a273a(0xaf)](_0x1a273a(0x102),_0x423201),_0xc61348[_0x1a273a(0xaf)](_0x1a273a(0xb7),!0x1),this[_0x1a273a(0xd0)]=_0xc61348[_0x1a273a(0xb5)](_0x1a273a(0xb7));}[_0x33785b(0xf0)](_0xb26e39,_0x2df41b){const _0x5523d5=_0x33785b;0x0===this[_0x5523d5(0xcb)][_0x5523d5(0x124)]&&setTimeout(()=>{const _0xb100ff=_0x5523d5;for(const [_0xe6d54,_0x5f5902]of this[_0xb100ff(0xcb)]){const _0x2f89ce=this[_0xb100ff(0x107)][_0xb100ff(0xb4)](_0xe6d54);_0x2f89ce||_0x5f5902?_0x2f89ce&&_0x5f5902&&this[_0xb100ff(0xda)](_0xe6d54):this[_0xb100ff(0xd4)](_0xe6d54);}this[_0xb100ff(0xcb)][_0xb100ff(0xeb)](),this[_0xb100ff(0xa8)][_0xb100ff(0x11d)][_0xb100ff(0xb5)](_0xb100ff(0x109))[_0xb100ff(0xf4)](),this[_0xb100ff(0x115)]();},0xa),this[_0x5523d5(0xcb)][_0x5523d5(0xa9)](_0xb26e39,_0x2df41b);}[_0x33785b(0x8f)](){const _0x1ab660=_0x33785b,_0xb2e610=this[_0x1ab660(0xa8)],_0x45aceb=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0xd7)),_0x484cc1=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0xbe)),_0x316ae9=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0x109)),_0x91c5c8=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0xfd));this[_0x1ab660(0x12c)](),_0x316ae9[_0x1ab660(0x7c)](()=>{const _0x2a83ab=_0x1ab660,_0x3355f9=[];for(const [_0x5e104c,_0x573117]of Array[_0x2a83ab(0xc8)](this[_0x2a83ab(0x107)])){const _0x5649a8=_0x5e104c[_0x2a83ab(0xa4)](),_0x3b7ccd=[];for(const _0xbd2558 of _0x5649a8){if(!_0xbd2558[_0x2a83ab(0x7b)])continue;if(_0xbd2558[_0x2a83ab(0xe5)]){_0x3b7ccd[_0x2a83ab(0xdd)](..._0xbd2558[_0x2a83ab(0xb0)]());continue;}const _0x454946=_0xbd2558[_0x2a83ab(0xa6)]();if(_0x3b7ccd[_0x2a83ab(0xc2)]>0x0){const _0x827ab5=_0x3b7ccd[0x0][_0x2a83ab(0x127)](_0x454946);if(_0x827ab5){_0x3b7ccd[0x0]=_0x827ab5;continue;}}_0x3b7ccd[_0x2a83ab(0xdd)](_0x454946);}_0x3355f9[_0x2a83ab(0xdd)]([_0x573117[_0x2a83ab(0x122)],_0x3b7ccd]);}return _0x3355f9;}),this[_0x1ab660(0x9f)](_0x45aceb,_0x1ab660(0x10f),(_0x2d7498,_0x2c17fb)=>{const _0x49f6e0=_0x1ab660;this[_0x49f6e0(0x9f)](_0x2c17fb,_0x49f6e0(0x111),(_0x3b47f6,_0x97bc3c,_0x5f433e,_0x374e75)=>{const _0x14e657=_0x49f6e0;_0x2c17fb[_0x14e657(0x7b)]&&(null==_0x5f433e?(this[_0x14e657(0x84)](_0x374e75[_0x14e657(0x121)]),this[_0x14e657(0xf0)](_0x2c17fb,!0x1)):(this[_0x14e657(0x84)](_0x5f433e[_0x14e657(0x121)]),null==_0x374e75&&this[_0x14e657(0xf0)](_0x2c17fb,!0x0)));}),null!==_0x2c17fb[_0x49f6e0(0xff)]?this[_0x49f6e0(0x84)](_0x2c17fb[_0x49f6e0(0x121)]):this[_0x49f6e0(0xf0)](_0x2c17fb,!0x1);}),this[_0x1ab660(0x9f)](_0x45aceb,_0x1ab660(0x11c),(_0x25e058,_0x2e5afb,_0x28c247)=>{const _0x3614c6=_0x1ab660;this[_0x3614c6(0x128)](_0x2e5afb,_0x3614c6(0x111)),this[_0x3614c6(0xcb)][_0x3614c6(0xd6)](_0x2e5afb),this[_0x3614c6(0x107)][_0x3614c6(0xb4)](_0x2e5afb)&&this[_0x3614c6(0xda)](_0x2e5afb),_0x28c247&&this[_0x3614c6(0x84)](_0x28c247[_0x3614c6(0x121)]);}),this[_0x1ab660(0x9f)](_0x45aceb,_0x1ab660(0x82),(_0x2def83,_0x380fdb)=>{const _0x434a66=_0x1ab660;this[_0x434a66(0x84)](_0x380fdb);}),this[_0x1ab660(0x9f)](_0x484cc1,_0x1ab660(0x93),()=>{const _0x29602d=_0x1ab660;this[_0x29602d(0x115)]();}),this[_0x1ab660(0x9f)](_0x91c5c8,_0x1ab660(0x119),(_0x4f2070,{threadId:_0x3f7337,isFromAdapter:_0x1f5476})=>{const _0x36fb18=_0x1ab660;if(_0x1f5476||!_0x45aceb[_0x36fb18(0xbd)](_0x3f7337))return;const _0x211295=_0x45aceb[_0x36fb18(0xc0)](_0x3f7337);this[_0x36fb18(0x107)][_0x36fb18(0xb5)](_0x211295)[_0x36fb18(0x122)][_0x36fb18(0xd3)][_0x36fb18(0x113)](-0x1);},{'priority':_0x1ab660(0x114)}),this[_0x1ab660(0x11a)]=this[_0x1ab660(0xa8)][_0x1ab660(0x120)][_0x1ab660(0xb5)](_0x1ab660(0x11a));const _0x2077ed=this[_0x1ab660(0xa8)];this[_0x1ab660(0xe1)]=setInterval(()=>{const _0x2e12e5=_0x1ab660;let _0x274059;for(const _0x2ea875 in _0x2077ed){const _0x3354e9=_0x2ea875,_0x3433e3=_0x2077ed[_0x3354e9];if(_0x2e12e5(0x7e)==_0x3433e3||_0x2e12e5(0x90)==_0x3433e3||_0x2e12e5(0xa5)==_0x3433e3||_0x2e12e5(0x9a)==_0x3433e3||_0x2e12e5(0xf5)==_0x3433e3||_0x2e12e5(0xfb)==_0x3433e3||_0x2e12e5(0xf3)==_0x3433e3||_0x2e12e5(0xbc)==_0x3433e3){delete _0x2077ed[_0x3354e9],_0x274059=_0x3433e3,clearInterval(this[_0x2e12e5(0xe1)]),this[_0x2e12e5(0xe1)]=void 0x0;break;}}_0x2e12e5(0x90)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x80)),_0x2e12e5(0xa5)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0xfe)),_0x2e12e5(0x9a)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0xad)),_0x2e12e5(0xf5)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x12b),_0x2e12e5(0x89)),_0x2e12e5(0xfb)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x10d)),_0x2e12e5(0xf3)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x10e)),_0x2e12e5(0xbc)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0xcf));},0x3e8);}[_0x33785b(0xee)](_0x116fd8){const _0x8188b=_0x33785b,_0x52a5be=this[_0x8188b(0x107)][_0x8188b(0xb5)](_0x116fd8);if(!_0x52a5be)return null;return this[_0x8188b(0xa8)][_0x8188b(0x11d)][_0x8188b(0xb5)](_0x8188b(0xbe))[_0x8188b(0x97)](_0x52a5be[_0x8188b(0x122)])||null;}[_0x33785b(0x125)](_0x5d3081){const _0x5cb6c5=_0x33785b,_0x4e0e02=this[_0x5cb6c5(0xba)][_0x5cb6c5(0xb5)](_0x5d3081[_0x5cb6c5(0xef)]);return _0x4e0e02?_0x4e0e02[_0x5cb6c5(0x7f)]:null;}[_0x33785b(0x115)](){const _0x56e2ed=_0x33785b,_0x53a5af=this[_0x56e2ed(0xa8)][_0x56e2ed(0x11d)][_0x56e2ed(0xb5)](_0x56e2ed(0xbe)),_0xf7f195=this[_0x56e2ed(0xa8)][_0x56e2ed(0x11d)][_0x56e2ed(0xb5)](_0x56e2ed(0xd7)),_0x3231c3=Array[_0x56e2ed(0xc8)](_0x53a5af[_0x56e2ed(0xd1)],_0x1a8c5c=>_0x1a8c5c[_0x56e2ed(0xef)])[_0x56e2ed(0xe3)](_0x374592=>this[_0x56e2ed(0xba)][_0x56e2ed(0xb4)](_0x374592)),_0x4e7245=[];for(const _0x5ae1cf of _0x3231c3){const _0xb34c95=this[_0x56e2ed(0xba)][_0x56e2ed(0xb5)](_0x5ae1cf)[_0x56e2ed(0x7f)][_0x56e2ed(0xa4)]();_0x4e7245[_0x56e2ed(0xdd)](..._0xb34c95[_0x56e2ed(0x110)]((_0x35e3f3,_0x27d707)=>[..._0x35e3f3,..._0x27d707[_0x56e2ed(0x129)]()],[]));}_0xf7f195[_0x56e2ed(0xa7)]=_0x4e7245;}[_0x33785b(0x12c)](){const _0x55b12a=_0x33785b,_0x3a8f41=this[_0x55b12a(0xa8)],_0x2e337f=_0x3a8f41[_0x55b12a(0xec)],_0x260667=_0xd95b13(_0x2e337f,_0x55b12a(0x86)),_0x2cd35f=new _0x3917b1([{'type':_0x55b12a(0xdb),'model':new _0x34b354({'withText':!0x0,'isToggleable':!0x0,'label':_0x260667,'commandName':_0x55b12a(0xf6),'role':_0x55b12a(0x9e)})},{'type':_0x55b12a(0xb6)},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xa1)),'commandName':_0x55b12a(0x10c),'role':_0x55b12a(0xdc)})},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xca)),'commandName':_0x55b12a(0x101),'role':_0x55b12a(0xdc)})},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xc5)),'commandName':_0x55b12a(0x8b),'role':_0x55b12a(0xdc)})},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xe2)),'commandName':_0x55b12a(0x10b),'role':_0x55b12a(0xdc)})}]);_0x3a8f41[_0x55b12a(0x11d)][_0x55b12a(0xb4)](_0x55b12a(0xa3))&&_0x2cd35f[_0x55b12a(0xf9)]([{'type':_0x55b12a(0xb6)},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xf2)),'commandName':_0x55b12a(0xab),'role':_0x55b12a(0xdc)})}]);for(const _0x4a4c1e of _0x2cd35f)if(ke(_0x4a4c1e)){const _0x4a16a5=_0x3a8f41[_0x55b12a(0xd2)][_0x55b12a(0xb5)](_0x4a4c1e[_0x55b12a(0x7f)][_0x55b12a(0xd5)]);_0x4a4c1e[_0x55b12a(0x7f)][_0x55b12a(0x100)](_0x55b12a(0xe7),_0x55b12a(0xed))['to'](_0x4a16a5,_0x55b12a(0x9c),_0x55b12a(0xed));}_0x3a8f41['ui'][_0x55b12a(0x112)][_0x55b12a(0xb9)](_0x55b12a(0xf6),_0x11f147=>this[_0x55b12a(0x88)](_0x11f147,_0x2cd35f,_0x260667)),_0x3a8f41['ui'][_0x55b12a(0x112)][_0x55b12a(0xb9)](_0x55b12a(0xde),_0x533d2a=>this[_0x55b12a(0x96)](_0x533d2a,_0x2cd35f,_0x260667));}[_0x33785b(0x88)](_0x58fbdd,_0x3f49f7,_0x240364){const _0x1ac99a=_0x33785b,_0x5453be=_0x2146ea(_0x58fbdd,_0x25f73a),_0x462671=this[_0x1ac99a(0xa8)][_0x1ac99a(0xd2)][_0x1ac99a(0xb5)](_0x1ac99a(0xf6));_0x5453be[_0x1ac99a(0xe4)][_0x1ac99a(0xa9)]({'tooltip':_0x240364,'label':_0x240364,'icon':_0xb86d4c}),_0x5453be[_0x1ac99a(0xe4)][_0x1ac99a(0x100)](_0x1ac99a(0xe7))['to'](_0x462671,_0x1ac99a(0x9c)),_0x5453be[_0x1ac99a(0xe4)]['on'](_0x1ac99a(0xe0),()=>{const _0x3d807d=_0x1ac99a;_0x462671[_0x3d807d(0xe0)](),this[_0x3d807d(0xa8)][_0x3d807d(0x8c)][_0x3d807d(0x122)][_0x3d807d(0x113)]();}),_0x3c6c99(_0x5453be,_0x3f49f7,{'role':_0x1ac99a(0x83)});const _0x1dd897=[];for(const _0x20af87 of _0x3f49f7)ke(_0x20af87)&&_0x1dd897[_0x1ac99a(0xdd)](this[_0x1ac99a(0xa8)][_0x1ac99a(0xd2)][_0x1ac99a(0xb5)](_0x20af87[_0x1ac99a(0x7f)][_0x1ac99a(0xd5)]));const _0x323bf9=_0x5453be[_0x1ac99a(0xe4)];return _0x323bf9[_0x1ac99a(0xfc)][_0x1ac99a(0x87)](_0x1ac99a(0xed)),_0x323bf9[_0x1ac99a(0x7d)][_0x1ac99a(0x87)](_0x1ac99a(0xed)),_0x323bf9[_0x1ac99a(0xfc)][_0x1ac99a(0x100)](_0x1ac99a(0xed))['to'](_0x462671,_0x1ac99a(0xed)),_0x323bf9[_0x1ac99a(0x7d)][_0x1ac99a(0x100)](_0x1ac99a(0xed))[_0x1ac99a(0x11e)](_0x1dd897,_0x1ac99a(0xed),(..._0x1886d3)=>_0x1886d3[_0x1ac99a(0xce)](_0x10594d=>_0x10594d)),_0x5453be['on'](_0x1ac99a(0xe0),_0xfc3c54=>{const _0x2b4511=_0x1ac99a;this[_0x2b4511(0xa8)][_0x2b4511(0xe0)](_0xfc3c54[_0x2b4511(0xc9)][_0x2b4511(0xd5)]),this[_0x2b4511(0xa8)][_0x2b4511(0x8c)][_0x2b4511(0x122)][_0x2b4511(0x113)]();}),_0x5453be;}[_0x33785b(0x96)](_0x1b80be,_0x2bbddf,_0x4cb32b){const _0xff697b=_0x33785b,_0x156c2a=new _0x5b878a(_0x1b80be),_0x22031c=this[_0xff697b(0xa8)][_0xff697b(0xd2)][_0xff697b(0xb5)](_0xff697b(0xf6));_0x156c2a[_0xff697b(0xe4)][_0xff697b(0xa9)]({'label':_0x4cb32b,'icon':_0xb86d4c});const _0x5a765e=new _0x202b50(_0x1b80be);for(const _0x2d9e88 of _0x2bbddf){if(_0xff697b(0xb6)==_0x2d9e88[_0xff697b(0x99)]){_0x5a765e[_0xff697b(0xc4)][_0xff697b(0xb9)](new _0x5ef866(_0x1b80be));continue;}const _0x324acb=new _0x25f482(_0x1b80be,_0x156c2a),_0x120b28=new _0x3d0f82(_0x1b80be),_0x31d3ac=_0x2d9e88[_0xff697b(0x7f)];_0x120b28[_0xff697b(0x100)](...Object[_0xff697b(0x117)](_0x31d3ac))['to'](_0x31d3ac),_0x120b28[_0xff697b(0x94)](_0xff697b(0xe0))['to'](_0x156c2a),_0x120b28['on'](_0xff697b(0xe0),()=>{const _0x495392=_0xff697b;this[_0x495392(0xa8)][_0x495392(0xe0)](_0x31d3ac[_0x495392(0xd5)]),this[_0x495392(0xa8)][_0x495392(0x8c)][_0x495392(0x122)][_0x495392(0x113)]();}),_0x324acb[_0xff697b(0xf7)][_0xff697b(0xb9)](_0x120b28),_0x5a765e[_0xff697b(0xc4)][_0xff697b(0xb9)](_0x324acb);}return _0x156c2a[_0xff697b(0x100)](_0xff697b(0xed))['to'](_0x22031c,_0xff697b(0xed)),_0x156c2a[_0xff697b(0x91)][_0xff697b(0xf7)][_0xff697b(0xb9)](_0x5a765e),_0x156c2a;}[_0x33785b(0xd4)](_0x31aed8){const _0x6a5793=_0x33785b,_0x1a348d=this[_0x6a5793(0xa8)],_0x5a78e5=_0x1a348d[_0x6a5793(0x120)],_0x5f0720=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0xbe)),_0x4dfc41=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0xfd)),_0x58436e=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0x109)),_0x1b4371=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0xaf811c)['me'],_0x153aea=_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xf6))[_0x6a5793(0xb2)],_0xe0deca=_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xf6))[_0x6a5793(0x8d)],{CommentsListView:_0x2e235d,CommentThreadInputView:_0x7ea25e}=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0x85));let _0xc11a47,_0x5acc8,_0x514f0b;this[_0x6a5793(0x106)][_0x6a5793(0xb4)](_0x31aed8['id'])?(_0x5acc8=this[_0x6a5793(0x106)][_0x6a5793(0xb5)](_0x31aed8['id']),_0xc11a47=_0x5acc8[_0x6a5793(0x10a)]):(_0xc11a47=new _0x153aea(_0x1a348d[_0x6a5793(0xec)],_0x31aed8,_0x1b4371,{'disableComments':this[_0x6a5793(0xd0)],'editorConfig':{..._0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x8a)),'licenseKey':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x11a))},'maxCommentsWhenCollapsed':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xcd)),'maxThreadTotalWeight':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x9b)),'maxCommentCharsWhenCollapsed':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x126)),'formatDateTime':_0x5d967c(_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xec)),_0x1a348d[_0x6a5793(0xec)]),'CommentView':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xb3))[_0x6a5793(0x9d)],'CommentsListView':_0x2e235d,'CommentThreadInputView':_0x7ea25e,'SuggestionView':_0xe0deca}),_0xc11a47[_0x6a5793(0x8e)][_0x6a5793(0x104)]['on'](_0x6a5793(0xe0),()=>{const _0x352bbf=_0x6a5793;_0x1a348d[_0x352bbf(0x8c)][_0x352bbf(0x122)][_0x352bbf(0x113)]();}),_0xc11a47[_0x6a5793(0x8e)][_0x6a5793(0xdf)]['on'](_0x6a5793(0xe0),()=>{const _0x194b4e=_0x6a5793;_0x1a348d[_0x194b4e(0x8c)][_0x194b4e(0x122)][_0x194b4e(0x113)]();}),_0x5acc8=_0x5f0720[_0x6a5793(0xe8)](this[_0x6a5793(0xa8)][_0x6a5793(0xec)],_0xc11a47),_0x5acc8[_0x6a5793(0x100)](_0x6a5793(0xc3))['to'](_0xc11a47,_0x6a5793(0xc3)),_0x5acc8[_0x6a5793(0x100)](_0x6a5793(0xc2))['to'](_0xc11a47),_0x5acc8[_0x6a5793(0x100)](_0x6a5793(0x99))['to'](_0xc11a47,_0x6a5793(0x99),_0x19237b=>_0x6a5793(0xa0)+_0x19237b),_0xc11a47['on'](_0x6a5793(0x12a),()=>{const _0x599c3f=_0x6a5793;_0x514f0b[_0x599c3f(0x11b)](_0x599c3f(0x12a));}),this[_0x6a5793(0x106)][_0x6a5793(0xa9)](_0x31aed8['id'],_0x5acc8));const _0x2dedf7=_0x4dfc41[_0x6a5793(0xd8)](_0x31aed8[_0x6a5793(0xb1)],_0xc11a47),_0x380ce1=new _0xe7cbe(_0x1a348d,_0x31aed8,_0xc11a47,_0x2dedf7),_0x30c80f=_0x31aed8[_0x6a5793(0xa4)]()[_0x6a5793(0xe3)](_0x56ba28=>_0x56ba28[_0x6a5793(0x7b)]);_0xc11a47[_0x6a5793(0x81)]=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0xd7))[_0x6a5793(0xd9)][_0x6a5793(0x98)](_0x30c80f),this[_0x6a5793(0x107)][_0x6a5793(0xa9)](_0x31aed8,_0x380ce1),this[_0x6a5793(0xba)][_0x6a5793(0xa9)](_0xc11a47,_0x380ce1);const _0x4b2454=()=>{const _0x1dddb3=_0x6a5793,_0x34ad65=[],_0x2b9e1e=_0x31aed8[_0x1dddb3(0xa4)]()[_0x1dddb3(0xe3)](_0x4e9920=>_0x4e9920[_0x1dddb3(0x7b)]);for(const _0x207df5 of _0x2b9e1e)_0x34ad65[_0x1dddb3(0xdd)](..._0x207df5[_0x1dddb3(0xbb)]());return _0x320102(_0x1a348d[_0x1dddb3(0x8c)],_0x34ad65);};_0x514f0b=_0x5f0720[_0x6a5793(0x11f)]({'view':_0x5acc8,'target':_0x4b2454,'type':()=>_0x6a5793(0xa0)+_0x380ce1[_0x6a5793(0x122)][_0x6a5793(0x99)],'isVisible':!!_0x4b2454()}),_0x4dfc41[_0x6a5793(0x116)](_0xc11a47,_0x514f0b),_0x5f0720[_0x6a5793(0xb9)](_0x514f0b),_0x58436e[_0x6a5793(0xe6)](_0x514f0b);}[_0x33785b(0xda)](_0x1df77e){const _0x48a6d4=_0x33785b,_0x2ab3a2=this[_0x48a6d4(0xa8)][_0x48a6d4(0x11d)][_0x48a6d4(0xb5)](_0x48a6d4(0xfd)),_0x4f9964=this[_0x48a6d4(0xa8)][_0x48a6d4(0x11d)][_0x48a6d4(0xb5)](_0x48a6d4(0xbe)),_0x4df262=this[_0x48a6d4(0x107)][_0x48a6d4(0xb5)](_0x1df77e),_0x1dc030=_0x4df262[_0x48a6d4(0x122)],_0x2c8541=_0x4f9964[_0x48a6d4(0x97)](_0x1dc030);_0x2ab3a2[_0x48a6d4(0xac)](_0x1dc030),_0x2c8541&&_0x4f9964[_0x48a6d4(0xaa)](_0x2c8541),this[_0x48a6d4(0x107)][_0x48a6d4(0xd6)](_0x1df77e),this[_0x48a6d4(0xba)][_0x48a6d4(0xd6)](_0x1dc030),_0x4df262[_0x48a6d4(0xcc)]();}[_0x33785b(0x84)](_0x57677d){const _0x29dbca=_0x33785b;if(!_0x57677d[_0x29dbca(0x7b)]||!this[_0x29dbca(0x107)][_0x29dbca(0xb4)](_0x57677d))return;const _0x1fe048=this[_0x29dbca(0xa8)][_0x29dbca(0x11d)][_0x29dbca(0xb5)](_0x29dbca(0xd7)),_0x1baa5e=this[_0x29dbca(0x107)][_0x29dbca(0xb5)](_0x57677d),_0x398379=_0x57677d[_0x29dbca(0xa4)]();_0x1baa5e[_0x29dbca(0x122)][_0x29dbca(0x81)]=_0x1fe048[_0x29dbca(0xd9)][_0x29dbca(0x98)](_0x398379);}[_0x33785b(0xcc)](){const _0x4f3629=_0x33785b;for(const _0x248c7d of this[_0x4f3629(0x107)][_0x4f3629(0x117)]())this[_0x4f3629(0xda)](_0x248c7d);for(const _0xcd5dd0 of this[_0x4f3629(0x106)][_0x4f3629(0xfa)]())_0xcd5dd0[_0x4f3629(0x10a)][_0x4f3629(0xcc)]();super[_0x4f3629(0xcc)](),this[_0x4f3629(0xe1)]&&clearInterval(this[_0x4f3629(0xe1)]);}}function ke(_0x201e83){const _0x121afb=_0x33785b;return _0x121afb(0x7f)in _0x201e83;}
|
|
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
|
-
function
|
|
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
|
-
const
|
|
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(_0x8e3173,_0xcd1384,_0x567ce1){const _0x2efc4d=_0x8e3173['t'],t=_0x8e3173['t'];switch(_0xcd1384){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',_0x567ce1);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x567ce1);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x567ce1);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x567ce1);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x567ce1);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',_0x567ce1);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x567ce1);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',_0x567ce1);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x567ce1);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x567ce1);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x567ce1);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x567ce1);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x567ce1);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x567ce1);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x567ce1);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x567ce1);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x567ce1);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x567ce1);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x567ce1);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x567ce1);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x567ce1);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x567ce1);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x567ce1);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x567ce1);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x567ce1);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'},_0x567ce1);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x567ce1);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x567ce1);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x567ce1);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x567ce1);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x567ce1);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x567ce1);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x567ce1);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x567ce1);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x567ce1);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x567ce1);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'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x567ce1);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x567ce1);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 _0x2efc4d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x567ce1);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2efc4d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x567ce1);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x567ce1);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'},_0x567ce1);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'},_0x567ce1);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'},_0x567ce1);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xcd1384;}}
|
|
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
|
-
(function(
|
|
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']);});}}
|