@ckeditor/ckeditor5-track-changes 47.2.0-alpha.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43841d=_0xd108;(function(_0x316764,_0x5e550a){const _0x5a1604=_0xd108,_0x238a4c=_0x316764();while(!![]){try{const _0x4f4203=parseInt(_0x5a1604(0x121))/0x1*(parseInt(_0x5a1604(0x124))/0x2)+parseInt(_0x5a1604(0x11f))/0x3*(parseInt(_0x5a1604(0x112))/0x4)+-parseInt(_0x5a1604(0x11a))/0x5*(parseInt(_0x5a1604(0x116))/0x6)+-parseInt(_0x5a1604(0x117))/0x7*(parseInt(_0x5a1604(0x113))/0x8)+-parseInt(_0x5a1604(0x110))/0x9*(-parseInt(_0x5a1604(0x119))/0xa)+-parseInt(_0x5a1604(0x11e))/0xb+parseInt(_0x5a1604(0x10e))/0xc;if(_0x4f4203===_0x5e550a)break;else _0x238a4c['push'](_0x238a4c['shift']());}catch(_0x179c40){_0x238a4c['push'](_0x238a4c['shift']());}}}(_0x4c84,0x547ff));import{Plugin as _0x4ddb7b}from'ckeditor5/src/core.js';function _0x4c84(){const _0x1bb491=['3307560zZTZpv','TrackChangesPreview','496953JUOpSI','isOfficialPlugin','13228ggCdJc','1447432USVvri','add','editor','12pKIuMp','7LdWSth','pluginName','40qWhiwY','536135fQSxTf','appendChild','previewFinalContent','config','4740978GXRxCV','426NIPKFU','trackChanges.preview.renderFunction','6450tQMmGh','define','requires','64DSNIbC','isPremiumPlugin','commands'];_0x4c84=function(){return _0x1bb491;};return _0x4c84();}import{Dialog as _0x215357}from'ckeditor5/src/ui.js';import{TrackChangesData as _0xf9f305}from'./trackchangesdata.js';function _0xd108(_0x1adf18,_0x326e57){const _0x4c8433=_0x4c84();return _0xd108=function(_0xd108b0,_0x2a2fc1){_0xd108b0=_0xd108b0-0x10d;let _0x4a5afd=_0x4c8433[_0xd108b0];return _0x4a5afd;},_0xd108(_0x1adf18,_0x326e57);}import{PreviewFinalContentCommand as _0x242f05}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x4ddb7b{static get[_0x43841d(0x123)](){return[_0xf9f305,_0x215357];}static get[_0x43841d(0x118)](){const _0x24d2a1=_0x43841d;return _0x24d2a1(0x10f);}static get[_0x43841d(0x111)](){return!0x0;}static get[_0x43841d(0x125)](){return!0x0;}constructor(_0x5d5224){const _0x2e6f17=_0x43841d;super(_0x5d5224),_0x5d5224[_0x2e6f17(0x10d)][_0x2e6f17(0x114)](_0x2e6f17(0x11c),new _0x242f05(this[_0x2e6f17(0x115)])),_0x5d5224[_0x2e6f17(0x11d)][_0x2e6f17(0x122)](_0x2e6f17(0x120),(_0x248ce8,_0x54f12c)=>{const _0xd0674e=_0x2e6f17;for(const _0x2439bb of _0x54f12c)_0x248ce8[_0xd0674e(0x11b)](_0x2439bb);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x22c289=_0x1b76;(function(_0x1b1abc,_0x2a8b49){const _0x2a028e=_0x1b76,_0x17cfc6=_0x1b1abc();while(!![]){try{const _0x5bc475=parseInt(_0x2a028e(0xb7))/0x1*(parseInt(_0x2a028e(0x83))/0x2)+-parseInt(_0x2a028e(0x86))/0x3*(parseInt(_0x2a028e(0xb2))/0x4)+parseInt(_0x2a028e(0x9a))/0x5*(parseInt(_0x2a028e(0x10e))/0x6)+parseInt(_0x2a028e(0xfc))/0x7+-parseInt(_0x2a028e(0xbd))/0x8+-parseInt(_0x2a028e(0xf3))/0x9*(-parseInt(_0x2a028e(0xbc))/0xa)+-parseInt(_0x2a028e(0x9d))/0xb;if(_0x5bc475===_0x2a8b49)break;else _0x17cfc6['push'](_0x17cfc6['shift']());}catch(_0x38fc90){_0x17cfc6['push'](_0x17cfc6['shift']());}}}(_0x250f,0xdc1e7));import{Plugin as _0x4948fa}from'ckeditor5/src/core.js';import{Collection as _0x5d38f8}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x5e2c46}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xac4a5d,createDropdown as _0x2130fb,ListSeparatorView as _0x137055,MenuBarMenuView as _0x482e7d,MenuBarMenuListView as _0x2602c5,MenuBarMenuListItemView as _0x23f1f3,MenuBarMenuListItemButtonView as _0x2608e8,SplitButtonView as _0x4a0cf7,UIModel as _0x58f5a2}from'ckeditor5/src/ui.js';import{Users as _0x5a5f10,getDateTimeFormatter as _0x101674,getAllMarkersDomElementsSorted as _0x1db2bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x367175}from'./trackchangesediting.js';function _0x1b76(_0x4c073e,_0x29e03b){const _0x250f8a=_0x250f();return _0x1b76=function(_0x1b76cb,_0x46b848){_0x1b76cb=_0x1b76cb-0x74;let _0x1b7c24=_0x250f8a[_0x1b76cb];return _0x1b7c24;},_0x1b76(_0x4c073e,_0x29e03b);}import{SuggestionController as _0x5141a3}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x10889a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1af466}from'./ui/view/suggestionview.js';function _0x250f(){const _0x284ca1=['trackChangesLicenseKeyTrialLimit','source','_createToolbarButton','TrackChangesPreview','previewFinalContent','mainView','suggestionView','pluginName','CommentView','addSourceCollector','_refreshActiveMarkers','trackChangesLicenseKeyUsageLimit','size','editing','EditorAnnotations','locale','comments','reduce','discardAllSuggestions','getDescriptions','acceptButton','length','_showLicenseError','_addUIComponentsToFactory','remove','CommentsUI','menuitem','commands','comments.maxCommentsWhenCollapsed','buttonView','actionView','listenTo','_handleSuggestionControllerDelayed','execute','button','descriptionFactory','4CJwNXv','registerAnnotation','trackChanges','3PqVrtl','destroy','_disableComments','_createMenuBarMenu','getByInnerView','delete','invalid','getSuggestionForAnnotation','descriptionParts','define','model','view','isDirty','Accept\x20all\x20selected\x20suggestions','featureNotAllowed','menuBar:trackChanges','plugins','trackChanges.SuggestionThreadView','suggestionChanged','getAllAdjacentSuggestions','1165uoiPys','unbind','isMultiRange','6258219Epncxh','comments.maxThreadTotalWeight','TrackChanges','_destroyController','Annotations','head','filter','children','_bindAnnotationToEditors','getRanges','_licenseKeyCheckInterval','suggestion-','isPremiumPlugin','trackChangesLicenseKeyExpired','toMany','trackChangesLicenseKeyEvaluationLimit','add','expired','menuitemcheckbox','domainLimit','trackChangesLicenseKeyDomainLimit','4434812YXmIdn','createCommentThreadController','_initializeController','delegate','createAnnotationView','361116SOxdsp','Discard\x20all\x20selected\x20suggestions','commentThread','previous','TrackChangesEditing','380590MgPXqp','10224912lgavGU','refreshSelectedViews','menu','commentsListView','SuggestionView','comments.maxCommentCharsWhenCollapsed','values','_updateController','trackChangesLicenseKeyNotAllowed','clear','innerView','hasSuggestion','componentFactory','Preview\x20final\x20content','Discard\x20all\x20suggestions','_handleControllerBuffer','some','_unbindEditors','getSuggestion','from','config','change:previous','focus','addComment','_annotationViews','trackChangesLicenseKeyInvalid','licenseKey','_viewToController','items','acceptSelectedSuggestions','getFirstRange','getMarkerNames','isOn','discardSelectedSuggestions','getMarkers','isEnabled','trackChangesLicenseKeyValid','getAnnotationForSuggestion','arrowView','isOfficialPlugin','editor','comments.editorConfig','has','SuggestionThreadView','escape','panelView','push','activeMarkers','suggestionLoaded','usageLimit','change:activeAnnotations','init','suggestionUnloaded','_suggestionToController','396plmYbo','trackChanges.disableComments','requires','discardButton','trackChanges.SuggestionView','separator','isInContent','type','fire','3420774tcNEzq','Accept\x20all\x20suggestions','createAnnotation','get','bind','switchbutton','keys','set','trialLimit','getJoined','acceptAllSuggestions','TrackChangesUI','lowest','stopListening','addMany','commandName','value','CommentsRepository','25026Jtmzhz','evaluationLimit','Track\x20changes','activeAnnotations'];_0x250f=function(){return _0x284ca1;};return _0x250f();}import{getTranslation as _0x1fe08a}from'./utils/common-translations.js';export class TrackChangesUI extends _0x4948fa{[_0x22c289(0xd7)];[_0x22c289(0xa7)];[_0x22c289(0xf2)];[_0x22c289(0xd8)];[_0x22c289(0xd5)];[_0x22c289(0xcc)];[_0x22c289(0x88)];static get[_0x22c289(0xf5)](){const _0x288523=_0x22c289;return[_0x367175,_0x5a5f10,_0x288523(0x10d),_0x288523(0xa1),_0x288523(0x120)];}static get[_0x22c289(0x119)](){const _0x4205bc=_0x22c289;return _0x4205bc(0x107);}static get[_0x22c289(0xe4)](){return!0x0;}static get[_0x22c289(0xa9)](){return!0x0;}constructor(_0x5cb954){const _0x138a5a=_0x22c289;super(_0x5cb954),this[_0x138a5a(0xf2)]=new Map(),this[_0x138a5a(0xd8)]=new Map(),this[_0x138a5a(0xd5)]=new Map(),this[_0x138a5a(0xcc)]=new Map();const _0x1e5587=this[_0x138a5a(0xe5)][_0x138a5a(0xd1)];_0x1e5587[_0x138a5a(0x8f)](_0x138a5a(0x97),_0x10889a),_0x1e5587[_0x138a5a(0x8f)](_0x138a5a(0xf7),_0x1af466),_0x1e5587[_0x138a5a(0x8f)](_0x138a5a(0xf4),!0x1),this[_0x138a5a(0x88)]=_0x1e5587[_0x138a5a(0xff)](_0x138a5a(0xf4));}[_0x22c289(0x7f)](_0x28442f,_0x219d24){const _0x23ee6d=_0x22c289;0x0===this[_0x23ee6d(0xcc)][_0x23ee6d(0x11e)]&&setTimeout(()=>{const _0x1e9368=_0x23ee6d;for(const [_0x47508e,_0x573009]of this[_0x1e9368(0xcc)]){const _0x34379d=this[_0x1e9368(0xf2)][_0x1e9368(0xe7)](_0x47508e);_0x34379d||_0x573009?_0x34379d&&_0x573009&&this[_0x1e9368(0xa0)](_0x47508e):this[_0x1e9368(0xb4)](_0x47508e);}this[_0x1e9368(0xcc)][_0x1e9368(0xc6)](),this[_0x1e9368(0xe5)][_0x1e9368(0x96)][_0x1e9368(0xff)](_0x1e9368(0x120))[_0x1e9368(0xbe)](),this[_0x1e9368(0x11c)]();},0xa),this[_0x23ee6d(0xcc)][_0x23ee6d(0x103)](_0x28442f,_0x219d24);}[_0x22c289(0xf0)](){const _0x2b30f5=_0x22c289,_0x3f6485=this[_0x2b30f5(0xe5)],_0x48b7f6=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0xbb)),_0x3766ff=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0xa1)),_0x323404=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0x120)),_0x4c573c=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0x10d));this[_0x2b30f5(0x76)](),_0x323404[_0x2b30f5(0x11b)](()=>{const _0x5684bb=_0x2b30f5,_0xb644e2=[];for(const [_0x4d3ddc,_0x4d9de5]of Array[_0x5684bb(0xd0)](this[_0x5684bb(0xf2)])){const _0x14f77e=_0x4d3ddc[_0x5684bb(0x99)](),_0x147de1=[];for(const _0x22f1a6 of _0x14f77e){if(!_0x22f1a6[_0x5684bb(0xf9)])continue;if(_0x22f1a6[_0x5684bb(0x9c)]){_0x147de1[_0x5684bb(0xeb)](..._0x22f1a6[_0x5684bb(0xa6)]());continue;}const _0x3ebe9f=_0x22f1a6[_0x5684bb(0xdb)]();if(_0x147de1[_0x5684bb(0x74)]>0x0){const _0x5d39e1=_0x147de1[0x0][_0x5684bb(0x105)](_0x3ebe9f);if(_0x5d39e1){_0x147de1[0x0]=_0x5d39e1;continue;}}_0x147de1[_0x5684bb(0xeb)](_0x3ebe9f);}_0xb644e2[_0x5684bb(0xeb)]([_0x4d9de5[_0x5684bb(0x91)],_0x147de1]);}return _0xb644e2;}),this[_0x2b30f5(0x7e)](_0x48b7f6,_0x2b30f5(0xed),(_0x13b623,_0x143851)=>{const _0x32840e=_0x2b30f5;this[_0x32840e(0x7e)](_0x143851,_0x32840e(0xd2),(_0x2def7a,_0x5c66ad,_0x2ebe93,_0x2f94a2)=>{const _0x379737=_0x32840e;_0x143851[_0x379737(0xf9)]&&(null==_0x2ebe93?(this[_0x379737(0xc4)](_0x2f94a2[_0x379737(0xa2)]),this[_0x379737(0x7f)](_0x143851,!0x1)):(this[_0x379737(0xc4)](_0x2ebe93[_0x379737(0xa2)]),null==_0x2f94a2&&this[_0x379737(0x7f)](_0x143851,!0x0)));}),null!==_0x143851[_0x32840e(0xba)]?this[_0x32840e(0xc4)](_0x143851[_0x32840e(0xa2)]):this[_0x32840e(0x7f)](_0x143851,!0x1);}),this[_0x2b30f5(0x7e)](_0x48b7f6,_0x2b30f5(0xf1),(_0x3294bb,_0x3e12c6,_0x44e75f)=>{const _0x203126=_0x2b30f5;this[_0x203126(0x109)](_0x3e12c6,_0x203126(0xd2)),this[_0x203126(0xcc)][_0x203126(0x8b)](_0x3e12c6),this[_0x203126(0xf2)][_0x203126(0xe7)](_0x3e12c6)&&this[_0x203126(0xa0)](_0x3e12c6),_0x44e75f&&this[_0x203126(0xc4)](_0x44e75f[_0x203126(0xa2)]);}),this[_0x2b30f5(0x7e)](_0x48b7f6,_0x2b30f5(0x98),(_0x420e2d,_0x5853bb)=>{const _0x3fd5dc=_0x2b30f5;this[_0x3fd5dc(0xc4)](_0x5853bb);}),this[_0x2b30f5(0x7e)](_0x3766ff,_0x2b30f5(0xef),()=>{const _0x57fff2=_0x2b30f5;this[_0x57fff2(0x11c)]();}),this[_0x2b30f5(0x7e)](_0x4c573c,_0x2b30f5(0xd4),(_0x4617fc,{threadId:_0x4f0ef3,isFromAdapter:_0x462f73})=>{const _0x1900b2=_0x2b30f5;if(_0x462f73||!_0x48b7f6[_0x1900b2(0xc8)](_0x4f0ef3))return;const _0x5a5c81=_0x48b7f6[_0x1900b2(0xcf)](_0x4f0ef3);this[_0x1900b2(0xf2)][_0x1900b2(0xff)](_0x5a5c81)[_0x1900b2(0x91)][_0x1900b2(0xc0)][_0x1900b2(0xd3)](-0x1);},{'priority':_0x2b30f5(0x108)}),this[_0x2b30f5(0xd7)]=this[_0x2b30f5(0xe5)][_0x2b30f5(0xd1)][_0x2b30f5(0xff)](_0x2b30f5(0xd7));const _0x4a03ee=this[_0x2b30f5(0xe5)];this[_0x2b30f5(0xa7)]=setInterval(()=>{const _0x3ecf8a=_0x2b30f5;let _0x553973;for(const _0x4271cc in _0x4a03ee){const _0x2949a3=_0x4271cc,_0x390ebd=_0x4a03ee[_0x2949a3];if(_0x3ecf8a(0xe1)==_0x390ebd||_0x3ecf8a(0xd6)==_0x390ebd||_0x3ecf8a(0xaa)==_0x390ebd||_0x3ecf8a(0xb1)==_0x390ebd||_0x3ecf8a(0xc5)==_0x390ebd||_0x3ecf8a(0xac)==_0x390ebd||_0x3ecf8a(0x112)==_0x390ebd||_0x3ecf8a(0x11d)==_0x390ebd){delete _0x4a03ee[_0x2949a3],_0x553973=_0x390ebd,clearInterval(this[_0x3ecf8a(0xa7)]),this[_0x3ecf8a(0xa7)]=void 0x0;break;}}_0x3ecf8a(0xd6)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x8c)),_0x3ecf8a(0xaa)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0xae)),_0x3ecf8a(0xb1)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0xb0)),_0x3ecf8a(0xc5)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x94),_0x3ecf8a(0x9f)),_0x3ecf8a(0xac)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x10f)),_0x3ecf8a(0x112)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x104)),_0x3ecf8a(0x11d)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0xee));},0x3e8);}[_0x22c289(0xe2)](_0x76c357){const _0xbfe76f=_0x22c289,_0x5b53a2=this[_0xbfe76f(0xf2)][_0xbfe76f(0xff)](_0x76c357);if(!_0x5b53a2)return null;return this[_0xbfe76f(0xe5)][_0xbfe76f(0x96)][_0xbfe76f(0xff)](_0xbfe76f(0xa1))[_0xbfe76f(0x8a)](_0x5b53a2[_0xbfe76f(0x91)])||null;}[_0x22c289(0x8d)](_0x47d484){const _0x5a6fcb=_0x22c289,_0xe126a5=this[_0x5a6fcb(0xd8)][_0x5a6fcb(0xff)](_0x47d484[_0x5a6fcb(0xc7)]);return _0xe126a5?_0xe126a5[_0x5a6fcb(0x90)]:null;}[_0x22c289(0x11c)](){const _0x52b405=_0x22c289,_0x45e84a=this[_0x52b405(0xe5)][_0x52b405(0x96)][_0x52b405(0xff)](_0x52b405(0xa1)),_0x3724b6=this[_0x52b405(0xe5)][_0x52b405(0x96)][_0x52b405(0xff)](_0x52b405(0xbb)),_0xa69150=Array[_0x52b405(0xd0)](_0x45e84a[_0x52b405(0x111)],_0x3d19f5=>_0x3d19f5[_0x52b405(0xc7)])[_0x52b405(0xa3)](_0x5ee4b0=>this[_0x52b405(0xd8)][_0x52b405(0xe7)](_0x5ee4b0)),_0x2b16f5=[];for(const _0x3729a2 of _0xa69150){const _0x221d91=this[_0x52b405(0xd8)][_0x52b405(0xff)](_0x3729a2)[_0x52b405(0x90)][_0x52b405(0x99)]();_0x2b16f5[_0x52b405(0xeb)](..._0x221d91[_0x52b405(0x123)]((_0x3bd61c,_0x4fec07)=>[..._0x3bd61c,..._0x4fec07[_0x52b405(0xdc)]()],[]));}_0x3724b6[_0x52b405(0xec)]=_0x2b16f5;}[_0x22c289(0x76)](){const _0x4758a4=_0x22c289,_0x2ca06b=this[_0x4758a4(0xe5)],_0x59ffb7=_0x2ca06b[_0x4758a4(0x121)],_0x12e255=_0x1fe08a(_0x59ffb7,_0x4758a4(0x110)),_0x5c9f5d=new _0x5d38f8([{'type':_0x4758a4(0x101),'model':new _0x58f5a2({'withText':!0x0,'isToggleable':!0x0,'label':_0x12e255,'commandName':_0x4758a4(0x85),'role':_0x4758a4(0xaf)})},{'type':_0x4758a4(0xf8)},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xfd)),'commandName':_0x4758a4(0x106),'role':_0x4758a4(0x79)})},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0x93)),'commandName':_0x4758a4(0xda),'role':_0x4758a4(0x79)})},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xcb)),'commandName':_0x4758a4(0x124),'role':_0x4758a4(0x79)})},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xb8)),'commandName':_0x4758a4(0xde),'role':_0x4758a4(0x79)})}]);_0x2ca06b[_0x4758a4(0x96)][_0x4758a4(0xe7)](_0x4758a4(0x115))&&_0x5c9f5d[_0x4758a4(0x10a)]([{'type':_0x4758a4(0xf8)},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xca)),'commandName':_0x4758a4(0x116),'role':_0x4758a4(0x79)})}]);for(const _0x4533c5 of _0x5c9f5d)if(ke(_0x4533c5)){const _0x34ea19=_0x2ca06b[_0x4758a4(0x7a)][_0x4758a4(0xff)](_0x4533c5[_0x4758a4(0x90)][_0x4758a4(0x10b)]);_0x4533c5[_0x4758a4(0x90)][_0x4758a4(0x100)](_0x4758a4(0xdd),_0x4758a4(0xe0))['to'](_0x34ea19,_0x4758a4(0x10c),_0x4758a4(0xe0));}_0x2ca06b['ui'][_0x4758a4(0xc9)][_0x4758a4(0xad)](_0x4758a4(0x85),_0x28549b=>this[_0x4758a4(0x114)](_0x28549b,_0x5c9f5d,_0x12e255)),_0x2ca06b['ui'][_0x4758a4(0xc9)][_0x4758a4(0xad)](_0x4758a4(0x95),_0x3bedbe=>this[_0x4758a4(0x89)](_0x3bedbe,_0x5c9f5d,_0x12e255));}[_0x22c289(0x114)](_0x51e4fd,_0x3b3ba6,_0x647080){const _0x2fa1f1=_0x22c289,_0x4af593=_0x2130fb(_0x51e4fd,_0x4a0cf7),_0x487aa7=this[_0x2fa1f1(0xe5)][_0x2fa1f1(0x7a)][_0x2fa1f1(0xff)](_0x2fa1f1(0x85));_0x4af593[_0x2fa1f1(0x7c)][_0x2fa1f1(0x103)]({'tooltip':_0x647080,'label':_0x647080,'icon':_0x5e2c46}),_0x4af593[_0x2fa1f1(0x7c)][_0x2fa1f1(0x100)](_0x2fa1f1(0xdd))['to'](_0x487aa7,_0x2fa1f1(0x10c)),_0x4af593[_0x2fa1f1(0x7c)]['on'](_0x2fa1f1(0x80),()=>{const _0x1fc5f7=_0x2fa1f1;_0x487aa7[_0x1fc5f7(0x80)](),this[_0x1fc5f7(0xe5)][_0x1fc5f7(0x11f)][_0x1fc5f7(0x91)][_0x1fc5f7(0xd3)]();}),_0xac4a5d(_0x4af593,_0x3b3ba6,{'role':_0x2fa1f1(0xbf)});const _0x3fd7a1=[];for(const _0x2ca9f0 of _0x3b3ba6)ke(_0x2ca9f0)&&_0x3fd7a1[_0x2fa1f1(0xeb)](this[_0x2fa1f1(0xe5)][_0x2fa1f1(0x7a)][_0x2fa1f1(0xff)](_0x2ca9f0[_0x2fa1f1(0x90)][_0x2fa1f1(0x10b)]));const _0x212581=_0x4af593[_0x2fa1f1(0x7c)];return _0x212581[_0x2fa1f1(0x7d)][_0x2fa1f1(0x9b)](_0x2fa1f1(0xe0)),_0x212581[_0x2fa1f1(0xe3)][_0x2fa1f1(0x9b)](_0x2fa1f1(0xe0)),_0x212581[_0x2fa1f1(0x7d)][_0x2fa1f1(0x100)](_0x2fa1f1(0xe0))['to'](_0x487aa7,_0x2fa1f1(0xe0)),_0x212581[_0x2fa1f1(0xe3)][_0x2fa1f1(0x100)](_0x2fa1f1(0xe0))[_0x2fa1f1(0xab)](_0x3fd7a1,_0x2fa1f1(0xe0),(..._0x9b1c55)=>_0x9b1c55[_0x2fa1f1(0xcd)](_0x2a6352=>_0x2a6352)),_0x4af593['on'](_0x2fa1f1(0x80),_0x4e7d6e=>{const _0xf5980e=_0x2fa1f1;this[_0xf5980e(0xe5)][_0xf5980e(0x80)](_0x4e7d6e[_0xf5980e(0x113)][_0xf5980e(0x10b)]),this[_0xf5980e(0xe5)][_0xf5980e(0x11f)][_0xf5980e(0x91)][_0xf5980e(0xd3)]();}),_0x4af593;}[_0x22c289(0x89)](_0x373c51,_0x1ac089,_0x23bb59){const _0x27359a=_0x22c289,_0x5a2e8e=new _0x482e7d(_0x373c51),_0x260da7=this[_0x27359a(0xe5)][_0x27359a(0x7a)][_0x27359a(0xff)](_0x27359a(0x85));_0x5a2e8e[_0x27359a(0x7c)][_0x27359a(0x103)]({'label':_0x23bb59,'icon':_0x5e2c46});const _0x2021f6=new _0x2602c5(_0x373c51);for(const _0x26983e of _0x1ac089){if(_0x27359a(0xf8)==_0x26983e[_0x27359a(0xfa)]){_0x2021f6[_0x27359a(0xd9)][_0x27359a(0xad)](new _0x137055(_0x373c51));continue;}const _0x2d9b86=new _0x23f1f3(_0x373c51,_0x5a2e8e),_0x1cb471=new _0x2608e8(_0x373c51),_0x33894e=_0x26983e[_0x27359a(0x90)];_0x1cb471[_0x27359a(0x100)](...Object[_0x27359a(0x102)](_0x33894e))['to'](_0x33894e),_0x1cb471[_0x27359a(0xb5)](_0x27359a(0x80))['to'](_0x5a2e8e),_0x1cb471['on'](_0x27359a(0x80),()=>{const _0x14f8f2=_0x27359a;this[_0x14f8f2(0xe5)][_0x14f8f2(0x80)](_0x33894e[_0x14f8f2(0x10b)]),this[_0x14f8f2(0xe5)][_0x14f8f2(0x11f)][_0x14f8f2(0x91)][_0x14f8f2(0xd3)]();}),_0x2d9b86[_0x27359a(0xa4)][_0x27359a(0xad)](_0x1cb471),_0x2021f6[_0x27359a(0xd9)][_0x27359a(0xad)](_0x2d9b86);}return _0x5a2e8e[_0x27359a(0x100)](_0x27359a(0xe0))['to'](_0x260da7,_0x27359a(0xe0)),_0x5a2e8e[_0x27359a(0xea)][_0x27359a(0xa4)][_0x27359a(0xad)](_0x2021f6),_0x5a2e8e;}[_0x22c289(0xb4)](_0x100dcd){const _0x117643=_0x22c289,_0x46682d=this[_0x117643(0xe5)],_0x3ddb7b=_0x46682d[_0x117643(0xd1)],_0x2de966=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0xa1)),_0x5a0c13=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0x10d)),_0x2669cb=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0x120)),_0x333624=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x5a5f10)['me'],_0x1e00f8=_0x3ddb7b[_0x117643(0xff)](_0x117643(0x85))[_0x117643(0xe8)],_0x146a90=_0x3ddb7b[_0x117643(0xff)](_0x117643(0x85))[_0x117643(0xc1)],{CommentsListView:_0x40de37,CommentThreadInputView:_0x1e99a0}=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0x78));let _0x582077,_0x4d42f9,_0x1cfe07;this[_0x117643(0xd5)][_0x117643(0xe7)](_0x100dcd['id'])?(_0x4d42f9=this[_0x117643(0xd5)][_0x117643(0xff)](_0x100dcd['id']),_0x582077=_0x4d42f9[_0x117643(0x117)]):(_0x582077=new _0x1e00f8(_0x46682d[_0x117643(0x121)],_0x100dcd,_0x333624,{'disableComments':this[_0x117643(0x88)],'editorConfig':{..._0x3ddb7b[_0x117643(0xff)](_0x117643(0xe6)),'licenseKey':_0x3ddb7b[_0x117643(0xff)](_0x117643(0xd7))},'maxCommentsWhenCollapsed':_0x3ddb7b[_0x117643(0xff)](_0x117643(0x7b)),'maxThreadTotalWeight':_0x3ddb7b[_0x117643(0xff)](_0x117643(0x9e)),'maxCommentCharsWhenCollapsed':_0x3ddb7b[_0x117643(0xff)](_0x117643(0xc2)),'formatDateTime':_0x101674(_0x3ddb7b[_0x117643(0xff)](_0x117643(0x121)),_0x46682d[_0x117643(0x121)]),'CommentView':_0x3ddb7b[_0x117643(0xff)](_0x117643(0x122))[_0x117643(0x11a)],'CommentsListView':_0x40de37,'CommentThreadInputView':_0x1e99a0,'SuggestionView':_0x146a90}),_0x582077[_0x117643(0x118)][_0x117643(0x126)]['on'](_0x117643(0x80),()=>{const _0x3fdd16=_0x117643;_0x46682d[_0x3fdd16(0x11f)][_0x3fdd16(0x91)][_0x3fdd16(0xd3)]();}),_0x582077[_0x117643(0x118)][_0x117643(0xf6)]['on'](_0x117643(0x80),()=>{const _0x401d2b=_0x117643;_0x46682d[_0x401d2b(0x11f)][_0x401d2b(0x91)][_0x401d2b(0xd3)]();}),_0x4d42f9=_0x2de966[_0x117643(0xb6)](this[_0x117643(0xe5)][_0x117643(0x121)],_0x582077),_0x4d42f9[_0x117643(0x100)](_0x117643(0x92))['to'](_0x582077,_0x117643(0x92)),_0x4d42f9[_0x117643(0x100)](_0x117643(0x74))['to'](_0x582077),_0x4d42f9[_0x117643(0x100)](_0x117643(0xfa))['to'](_0x582077,_0x117643(0xfa),_0x5da049=>_0x117643(0xa8)+_0x5da049),_0x582077['on'](_0x117643(0xe9),()=>{const _0x4c6ae7=_0x117643;_0x1cfe07[_0x4c6ae7(0xfb)](_0x4c6ae7(0xe9));}),this[_0x117643(0xd5)][_0x117643(0x103)](_0x100dcd['id'],_0x4d42f9));const _0x434dd2=_0x5a0c13[_0x117643(0xb3)](_0x100dcd[_0x117643(0xb9)],_0x582077),_0x274532=new _0x5141a3(_0x46682d,_0x100dcd,_0x582077,_0x434dd2),_0x2f2176=_0x100dcd[_0x117643(0x99)]()[_0x117643(0xa3)](_0x1d2268=>_0x1d2268[_0x117643(0xf9)]);_0x582077[_0x117643(0x8e)]=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0xbb))[_0x117643(0x82)][_0x117643(0x125)](_0x2f2176),this[_0x117643(0xf2)][_0x117643(0x103)](_0x100dcd,_0x274532),this[_0x117643(0xd8)][_0x117643(0x103)](_0x582077,_0x274532);const _0x2140d3=()=>{const _0xd00918=_0x117643,_0x2cefc4=[],_0x137f3e=_0x100dcd[_0xd00918(0x99)]()[_0xd00918(0xa3)](_0x4c718f=>_0x4c718f[_0xd00918(0xf9)]);for(const _0x3108cb of _0x137f3e)_0x2cefc4[_0xd00918(0xeb)](..._0x3108cb[_0xd00918(0xdf)]());return _0x1db2bf(_0x46682d[_0xd00918(0x11f)],_0x2cefc4);};_0x1cfe07=_0x2de966[_0x117643(0xfe)]({'view':_0x4d42f9,'target':_0x2140d3,'type':()=>_0x117643(0xa8)+_0x274532[_0x117643(0x91)][_0x117643(0xfa)],'isVisible':!!_0x2140d3()}),_0x5a0c13[_0x117643(0xa5)](_0x582077,_0x1cfe07),_0x2de966[_0x117643(0xad)](_0x1cfe07),_0x2669cb[_0x117643(0x84)](_0x1cfe07);}[_0x22c289(0xa0)](_0x2bfcb2){const _0x2a0ebc=_0x22c289,_0x33641f=this[_0x2a0ebc(0xe5)][_0x2a0ebc(0x96)][_0x2a0ebc(0xff)](_0x2a0ebc(0x10d)),_0x5caad0=this[_0x2a0ebc(0xe5)][_0x2a0ebc(0x96)][_0x2a0ebc(0xff)](_0x2a0ebc(0xa1)),_0x415a45=this[_0x2a0ebc(0xf2)][_0x2a0ebc(0xff)](_0x2bfcb2),_0x1e9105=_0x415a45[_0x2a0ebc(0x91)],_0x1e8ccd=_0x5caad0[_0x2a0ebc(0x8a)](_0x1e9105);_0x33641f[_0x2a0ebc(0xce)](_0x1e9105),_0x1e8ccd&&_0x5caad0[_0x2a0ebc(0x77)](_0x1e8ccd),this[_0x2a0ebc(0xf2)][_0x2a0ebc(0x8b)](_0x2bfcb2),this[_0x2a0ebc(0xd8)][_0x2a0ebc(0x8b)](_0x1e9105),_0x415a45[_0x2a0ebc(0x87)]();}[_0x22c289(0xc4)](_0xb81912){const _0x35db8a=_0x22c289;if(!_0xb81912[_0x35db8a(0xf9)]||!this[_0x35db8a(0xf2)][_0x35db8a(0xe7)](_0xb81912))return;const _0x2baa99=this[_0x35db8a(0xe5)][_0x35db8a(0x96)][_0x35db8a(0xff)](_0x35db8a(0xbb)),_0x465be0=this[_0x35db8a(0xf2)][_0x35db8a(0xff)](_0xb81912),_0x1dd3fd=_0xb81912[_0x35db8a(0x99)]();_0x465be0[_0x35db8a(0x91)][_0x35db8a(0x8e)]=_0x2baa99[_0x35db8a(0x82)][_0x35db8a(0x125)](_0x1dd3fd);}[_0x22c289(0x87)](){const _0x283c1e=_0x22c289;for(const _0x2d8d8a of this[_0x283c1e(0xf2)][_0x283c1e(0x102)]())this[_0x283c1e(0xa0)](_0x2d8d8a);for(const _0x1b7b8e of this[_0x283c1e(0xd5)][_0x283c1e(0xc3)]())_0x1b7b8e[_0x283c1e(0x117)][_0x283c1e(0x87)]();super[_0x283c1e(0x87)](),this[_0x283c1e(0xa7)]&&clearInterval(this[_0x283c1e(0xa7)]);}}function ke(_0x3c91bc){const _0x421a93=_0x22c289;return _0x421a93(0x90)in _0x3c91bc;}
|
|
23
|
+
const _0x1d61c8=_0x3559;function _0x1c10(){const _0x4299b3=['getSuggestion','CommentsUI','acceptSelectedSuggestions','menuitemcheckbox','descriptionFactory','switchbutton','registerAnnotation','_viewToController','comments.maxCommentsWhenCollapsed','isOn','trackChangesLicenseKeyEvaluationLimit','button','suggestion-','items','get','isMultiRange','7qfkApa','1844CdhOKA','comments.maxCommentCharsWhenCollapsed','_updateController','editing','_suggestionToController','_handleControllerBuffer','Annotations','discardButton','separator','suggestionUnloaded','previous','commandName','TrackChangesEditing','discardAllSuggestions','from','clear','getJoined','getFirstRange','createAnnotationView','domainLimit','escape','expired','refreshSelectedViews','_disableComments','suggestionChanged','length','descriptionParts','trackChangesLicenseKeyDomainLimit','_unbindEditors','getDescriptions','trackChanges.SuggestionView','TrackChangesUI','comments','_refreshActiveMarkers','comments.editorConfig','trackChanges.SuggestionThreadView','trackChangesLicenseKeyUsageLimit','commands','Track\x20changes','getMarkers','model','mainView','addComment','filter','define','createAnnotation','_destroyController','trialLimit','invalid','actionView','value','locale','createCommentThreadController','push','some','20DtNgCe','_annotationViews','init','children','_bindAnnotationToEditors','TrackChanges','activeAnnotations','getAllAdjacentSuggestions','config','change:activeAnnotations','buttonView','activeMarkers','hasSuggestion','innerView','CommentsRepository','menuitem','source','Accept\x20all\x20suggestions','trackChanges','CommentView','has','isEnabled','4647462gazqMV','SuggestionThreadView','Preview\x20final\x20content','requires','execute','trackChangesLicenseKeyInvalid','menu','addMany','featureNotAllowed','getMarkerNames','delegate','trackChangesLicenseKeyTrialLimit','editor','previewFinalContent','add','panelView','getAnnotationForSuggestion','fire','focus','isOfficialPlugin','1136775Qdicgc','stopListening','trackChangesLicenseKeyValid','values','SuggestionView','getByInnerView','isDirty','7545312TWROjb','isPremiumPlugin','EditorAnnotations','change:previous','head','_handleSuggestionControllerDelayed','getSuggestionForAnnotation','trackChangesLicenseKeyExpired','destroy','view','acceptButton','size','arrowView','lowest','keys','reduce','Accept\x20all\x20selected\x20suggestions','type','_initializeController','bind','toMany','commentThread','listenTo','_showLicenseError','suggestionView','set','evaluationLimit','TrackChangesPreview','getRanges','remove','acceptAllSuggestions','addSourceCollector','_createMenuBarMenu','comments.maxThreadTotalWeight','suggestionLoaded','trackChanges.disableComments','unbind','delete','isInContent','plugins','8KqSGrV','_createToolbarButton','menuBar:trackChanges','usageLimit','commentsListView','trackChangesLicenseKeyNotAllowed','569EPRvCq','1816525PzknXl','5235768dUKeLw','Discard\x20all\x20suggestions','4042456TmZvMh','pluginName','Discard\x20all\x20selected\x20suggestions','_addUIComponentsToFactory','_licenseKeyCheckInterval','discardSelectedSuggestions','licenseKey','componentFactory'];_0x1c10=function(){return _0x4299b3;};return _0x1c10();}(function(_0x11b5e7,_0x4e4d95){const _0x3060da=_0x3559,_0x9a87a1=_0x11b5e7();while(!![]){try{const _0x5ca6a2=parseInt(_0x3060da(0x1f4))/0x1*(-parseInt(_0x3060da(0x211))/0x2)+-parseInt(_0x3060da(0x272))/0x3*(-parseInt(_0x3060da(0x1ee))/0x4)+parseInt(_0x3060da(0x1f5))/0x5+parseInt(_0x3060da(0x25e))/0x6+parseInt(_0x3060da(0x210))/0x7*(parseInt(_0x3060da(0x1f6))/0x8)+-parseInt(_0x3060da(0x279))/0x9+parseInt(_0x3060da(0x248))/0xa*(-parseInt(_0x3060da(0x1f8))/0xb);if(_0x5ca6a2===_0x4e4d95)break;else _0x9a87a1['push'](_0x9a87a1['shift']());}catch(_0x30a034){_0x9a87a1['push'](_0x9a87a1['shift']());}}}(_0x1c10,0x6e681));import{Plugin as _0x261679}from'ckeditor5/src/core.js';function _0x3559(_0x117a8f,_0x39003b){const _0x1c10e5=_0x1c10();return _0x3559=function(_0x35592a,_0x15ac9f){_0x35592a=_0x35592a-0x1d7;let _0x3b36f5=_0x1c10e5[_0x35592a];return _0x3b36f5;},_0x3559(_0x117a8f,_0x39003b);}import{Collection as _0xcd88eb}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3f6304}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2ba8af,createDropdown as _0x59f3f4,ListSeparatorView as _0x3fa66e,MenuBarMenuView as _0x218aa8,MenuBarMenuListView as _0x5cf6c4,MenuBarMenuListItemView as _0x269669,MenuBarMenuListItemButtonView as _0x540cad,SplitButtonView as _0x89bb57,UIModel as _0x224aa8}from'ckeditor5/src/ui.js';import{Users as _0x1cf3f1,getDateTimeFormatter as _0x36ebb5,getAllMarkersDomElementsSorted as _0x4f3cc7}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x19ccf9}from'./trackchangesediting.js';import{SuggestionController as _0x18a967}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x17b863}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x269ff2}from'./ui/view/suggestionview.js';import{getTranslation as _0x579863}from'./utils/common-translations.js';export class TrackChangesUI extends _0x261679{[_0x1d61c8(0x1fe)];[_0x1d61c8(0x1fc)];[_0x1d61c8(0x215)];[_0x1d61c8(0x207)];[_0x1d61c8(0x249)];[_0x1d61c8(0x216)];[_0x1d61c8(0x228)];static get[_0x1d61c8(0x261)](){const _0x4aaa89=_0x1d61c8;return[_0x19ccf9,_0x1cf3f1,_0x4aaa89(0x256),_0x4aaa89(0x217),_0x4aaa89(0x27b)];}static get[_0x1d61c8(0x1f9)](){const _0x49d476=_0x1d61c8;return _0x49d476(0x230);}static get[_0x1d61c8(0x271)](){return!0x0;}static get[_0x1d61c8(0x27a)](){return!0x0;}constructor(_0x4350b1){const _0x394b7e=_0x1d61c8;super(_0x4350b1),this[_0x394b7e(0x215)]=new Map(),this[_0x394b7e(0x207)]=new Map(),this[_0x394b7e(0x249)]=new Map(),this[_0x394b7e(0x216)]=new Map();const _0xd6d576=this[_0x394b7e(0x26a)][_0x394b7e(0x250)];_0xd6d576[_0x394b7e(0x23d)](_0x394b7e(0x234),_0x17b863),_0xd6d576[_0x394b7e(0x23d)](_0x394b7e(0x22f),_0x269ff2),_0xd6d576[_0x394b7e(0x23d)](_0x394b7e(0x1e9),!0x1),this[_0x394b7e(0x228)]=_0xd6d576[_0x394b7e(0x20e)](_0x394b7e(0x1e9));}[_0x1d61c8(0x27e)](_0x1e7e99,_0x4fb4a3){const _0x428e90=_0x1d61c8;0x0===this[_0x428e90(0x216)][_0x428e90(0x284)]&&setTimeout(()=>{const _0x26e904=_0x428e90;for(const [_0x333c5f,_0x43d92f]of this[_0x26e904(0x216)]){const _0x37bb2c=this[_0x26e904(0x215)][_0x26e904(0x25c)](_0x333c5f);_0x37bb2c||_0x43d92f?_0x37bb2c&&_0x43d92f&&this[_0x26e904(0x23f)](_0x333c5f):this[_0x26e904(0x1d8)](_0x333c5f);}this[_0x26e904(0x216)][_0x26e904(0x220)](),this[_0x26e904(0x26a)][_0x26e904(0x1ed)][_0x26e904(0x20e)](_0x26e904(0x27b))[_0x26e904(0x227)](),this[_0x26e904(0x232)]();},0xa),this[_0x428e90(0x216)][_0x428e90(0x1df)](_0x1e7e99,_0x4fb4a3);}[_0x1d61c8(0x24a)](){const _0x1d4ab1=_0x1d61c8,_0x2094d2=this[_0x1d4ab1(0x26a)],_0x540d85=_0x2094d2[_0x1d4ab1(0x1ed)][_0x1d4ab1(0x20e)](_0x1d4ab1(0x21d)),_0x42c29f=_0x2094d2[_0x1d4ab1(0x1ed)][_0x1d4ab1(0x20e)](_0x1d4ab1(0x217)),_0x28f610=_0x2094d2[_0x1d4ab1(0x1ed)][_0x1d4ab1(0x20e)](_0x1d4ab1(0x27b)),_0x4d584d=_0x2094d2[_0x1d4ab1(0x1ed)][_0x1d4ab1(0x20e)](_0x1d4ab1(0x256));this[_0x1d4ab1(0x1fb)](),_0x28f610[_0x1d4ab1(0x1e5)](()=>{const _0x1ca90c=_0x1d4ab1,_0x3b7ddf=[];for(const [_0x3b409c,_0x51beaf]of Array[_0x1ca90c(0x21f)](this[_0x1ca90c(0x215)])){const _0x59a8f6=_0x3b409c[_0x1ca90c(0x24f)](),_0x1ed384=[];for(const _0x23edf3 of _0x59a8f6){if(!_0x23edf3[_0x1ca90c(0x1ec)])continue;if(_0x23edf3[_0x1ca90c(0x20f)]){_0x1ed384[_0x1ca90c(0x246)](..._0x23edf3[_0x1ca90c(0x1e2)]());continue;}const _0x42fc64=_0x23edf3[_0x1ca90c(0x222)]();if(_0x1ed384[_0x1ca90c(0x22a)]>0x0){const _0x3ed40f=_0x1ed384[0x0][_0x1ca90c(0x221)](_0x42fc64);if(_0x3ed40f){_0x1ed384[0x0]=_0x3ed40f;continue;}}_0x1ed384[_0x1ca90c(0x246)](_0x42fc64);}_0x3b7ddf[_0x1ca90c(0x246)]([_0x51beaf[_0x1ca90c(0x282)],_0x1ed384]);}return _0x3b7ddf;}),this[_0x1d4ab1(0x1dc)](_0x540d85,_0x1d4ab1(0x1e8),(_0x4857d2,_0x6b3179)=>{const _0x196b7c=_0x1d4ab1;this[_0x196b7c(0x1dc)](_0x6b3179,_0x196b7c(0x27c),(_0x3ce89a,_0x1468de,_0x27adf6,_0x23aa91)=>{const _0x3e3317=_0x196b7c;_0x6b3179[_0x3e3317(0x1ec)]&&(null==_0x27adf6?(this[_0x3e3317(0x213)](_0x23aa91[_0x3e3317(0x27d)]),this[_0x3e3317(0x27e)](_0x6b3179,!0x1)):(this[_0x3e3317(0x213)](_0x27adf6[_0x3e3317(0x27d)]),null==_0x23aa91&&this[_0x3e3317(0x27e)](_0x6b3179,!0x0)));}),null!==_0x6b3179[_0x196b7c(0x21b)]?this[_0x196b7c(0x213)](_0x6b3179[_0x196b7c(0x27d)]):this[_0x196b7c(0x27e)](_0x6b3179,!0x1);}),this[_0x1d4ab1(0x1dc)](_0x540d85,_0x1d4ab1(0x21a),(_0x1d7aa8,_0x45ed5f,_0x310a50)=>{const _0x46ff59=_0x1d4ab1;this[_0x46ff59(0x273)](_0x45ed5f,_0x46ff59(0x27c)),this[_0x46ff59(0x216)][_0x46ff59(0x1eb)](_0x45ed5f),this[_0x46ff59(0x215)][_0x46ff59(0x25c)](_0x45ed5f)&&this[_0x46ff59(0x23f)](_0x45ed5f),_0x310a50&&this[_0x46ff59(0x213)](_0x310a50[_0x46ff59(0x27d)]);}),this[_0x1d4ab1(0x1dc)](_0x540d85,_0x1d4ab1(0x229),(_0x37ef78,_0x576155)=>{const _0x2ef61a=_0x1d4ab1;this[_0x2ef61a(0x213)](_0x576155);}),this[_0x1d4ab1(0x1dc)](_0x42c29f,_0x1d4ab1(0x251),()=>{const _0x51e816=_0x1d4ab1;this[_0x51e816(0x232)]();}),this[_0x1d4ab1(0x1dc)](_0x4d584d,_0x1d4ab1(0x23b),(_0x51c732,{threadId:_0x420e56,isFromAdapter:_0x3acf51})=>{const _0x3074c8=_0x1d4ab1;if(_0x3acf51||!_0x540d85[_0x3074c8(0x254)](_0x420e56))return;const _0x42f50f=_0x540d85[_0x3074c8(0x200)](_0x420e56);this[_0x3074c8(0x215)][_0x3074c8(0x20e)](_0x42f50f)[_0x3074c8(0x282)][_0x3074c8(0x1f2)][_0x3074c8(0x270)](-0x1);},{'priority':_0x1d4ab1(0x286)}),this[_0x1d4ab1(0x1fe)]=this[_0x1d4ab1(0x26a)][_0x1d4ab1(0x250)][_0x1d4ab1(0x20e)](_0x1d4ab1(0x1fe));const _0x4a5b13=this[_0x1d4ab1(0x26a)];this[_0x1d4ab1(0x1fc)]=setInterval(()=>{const _0x2195dc=_0x1d4ab1;let _0xd31d93;for(const _0x2dc2ba in _0x4a5b13){const _0xc68d9a=_0x2dc2ba,_0x42f5f1=_0x4a5b13[_0xc68d9a];if(_0x2195dc(0x274)==_0x42f5f1||_0x2195dc(0x263)==_0x42f5f1||_0x2195dc(0x280)==_0x42f5f1||_0x2195dc(0x22c)==_0x42f5f1||_0x2195dc(0x1f3)==_0x42f5f1||_0x2195dc(0x20a)==_0x42f5f1||_0x2195dc(0x269)==_0x42f5f1||_0x2195dc(0x235)==_0x42f5f1){delete _0x4a5b13[_0xc68d9a],_0xd31d93=_0x42f5f1,clearInterval(this[_0x2195dc(0x1fc)]),this[_0x2195dc(0x1fc)]=void 0x0;break;}}_0x2195dc(0x263)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x241)),_0x2195dc(0x280)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x226)),_0x2195dc(0x22c)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x224)),_0x2195dc(0x1f3)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x266),_0x2195dc(0x24d)),_0x2195dc(0x20a)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x1e0)),_0x2195dc(0x269)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x240)),_0x2195dc(0x235)==_0xd31d93&&_0x4a5b13[_0x2195dc(0x1dd)](_0x2195dc(0x1f1));},0x3e8);}[_0x1d61c8(0x26e)](_0xfda70a){const _0x58facf=_0x1d61c8,_0x565a86=this[_0x58facf(0x215)][_0x58facf(0x20e)](_0xfda70a);if(!_0x565a86)return null;return this[_0x58facf(0x26a)][_0x58facf(0x1ed)][_0x58facf(0x20e)](_0x58facf(0x217))[_0x58facf(0x277)](_0x565a86[_0x58facf(0x282)])||null;}[_0x1d61c8(0x27f)](_0x4d0c2c){const _0x3f3836=_0x1d61c8,_0xe052ba=this[_0x3f3836(0x207)][_0x3f3836(0x20e)](_0x4d0c2c[_0x3f3836(0x255)]);return _0xe052ba?_0xe052ba[_0x3f3836(0x239)]:null;}[_0x1d61c8(0x232)](){const _0x3f2371=_0x1d61c8,_0x324542=this[_0x3f2371(0x26a)][_0x3f2371(0x1ed)][_0x3f2371(0x20e)](_0x3f2371(0x217)),_0x955917=this[_0x3f2371(0x26a)][_0x3f2371(0x1ed)][_0x3f2371(0x20e)](_0x3f2371(0x21d)),_0x1c0fa7=Array[_0x3f2371(0x21f)](_0x324542[_0x3f2371(0x24e)],_0x5d1a7b=>_0x5d1a7b[_0x3f2371(0x255)])[_0x3f2371(0x23c)](_0x3cf2e9=>this[_0x3f2371(0x207)][_0x3f2371(0x25c)](_0x3cf2e9)),_0x28be06=[];for(const _0x51bb25 of _0x1c0fa7){const _0x43f26b=this[_0x3f2371(0x207)][_0x3f2371(0x20e)](_0x51bb25)[_0x3f2371(0x239)][_0x3f2371(0x24f)]();_0x28be06[_0x3f2371(0x246)](..._0x43f26b[_0x3f2371(0x288)]((_0x1ca764,_0x4811e0)=>[..._0x1ca764,..._0x4811e0[_0x3f2371(0x267)]()],[]));}_0x955917[_0x3f2371(0x253)]=_0x28be06;}[_0x1d61c8(0x1fb)](){const _0x331079=_0x1d61c8,_0x3a121d=this[_0x331079(0x26a)],_0xb3b372=_0x3a121d[_0x331079(0x244)],_0x50cb07=_0x579863(_0xb3b372,_0x331079(0x237)),_0xc1618d=new _0xcd88eb([{'type':_0x331079(0x205),'model':new _0x224aa8({'withText':!0x0,'isToggleable':!0x0,'label':_0x50cb07,'commandName':_0x331079(0x25a),'role':_0x331079(0x203)})},{'type':_0x331079(0x219)},{'type':_0x331079(0x20b),'model':new _0x224aa8({'withText':!0x0,'label':_0x579863(_0xb3b372,_0x331079(0x259)),'commandName':_0x331079(0x1e4),'role':_0x331079(0x257)})},{'type':_0x331079(0x20b),'model':new _0x224aa8({'withText':!0x0,'label':_0x579863(_0xb3b372,_0x331079(0x289)),'commandName':_0x331079(0x202),'role':_0x331079(0x257)})},{'type':_0x331079(0x20b),'model':new _0x224aa8({'withText':!0x0,'label':_0x579863(_0xb3b372,_0x331079(0x1f7)),'commandName':_0x331079(0x21e),'role':_0x331079(0x257)})},{'type':_0x331079(0x20b),'model':new _0x224aa8({'withText':!0x0,'label':_0x579863(_0xb3b372,_0x331079(0x1fa)),'commandName':_0x331079(0x1fd),'role':_0x331079(0x257)})}]);_0x3a121d[_0x331079(0x1ed)][_0x331079(0x25c)](_0x331079(0x1e1))&&_0xc1618d[_0x331079(0x265)]([{'type':_0x331079(0x219)},{'type':_0x331079(0x20b),'model':new _0x224aa8({'withText':!0x0,'label':_0x579863(_0xb3b372,_0x331079(0x260)),'commandName':_0x331079(0x26b),'role':_0x331079(0x257)})}]);for(const _0x19b473 of _0xc1618d)if(ke(_0x19b473)){const _0x1335b1=_0x3a121d[_0x331079(0x236)][_0x331079(0x20e)](_0x19b473[_0x331079(0x239)][_0x331079(0x21c)]);_0x19b473[_0x331079(0x239)][_0x331079(0x1d9)](_0x331079(0x209),_0x331079(0x25d))['to'](_0x1335b1,_0x331079(0x243),_0x331079(0x25d));}_0x3a121d['ui'][_0x331079(0x1ff)][_0x331079(0x26c)](_0x331079(0x25a),_0x1158b2=>this[_0x331079(0x1ef)](_0x1158b2,_0xc1618d,_0x50cb07)),_0x3a121d['ui'][_0x331079(0x1ff)][_0x331079(0x26c)](_0x331079(0x1f0),_0x55bfe3=>this[_0x331079(0x1e6)](_0x55bfe3,_0xc1618d,_0x50cb07));}[_0x1d61c8(0x1ef)](_0x14117c,_0x2f9137,_0x79177c){const _0x4e30f2=_0x1d61c8,_0x1fbfd4=_0x59f3f4(_0x14117c,_0x89bb57),_0x2ef921=this[_0x4e30f2(0x26a)][_0x4e30f2(0x236)][_0x4e30f2(0x20e)](_0x4e30f2(0x25a));_0x1fbfd4[_0x4e30f2(0x252)][_0x4e30f2(0x1df)]({'tooltip':_0x79177c,'label':_0x79177c,'icon':_0x3f6304}),_0x1fbfd4[_0x4e30f2(0x252)][_0x4e30f2(0x1d9)](_0x4e30f2(0x209))['to'](_0x2ef921,_0x4e30f2(0x243)),_0x1fbfd4[_0x4e30f2(0x252)]['on'](_0x4e30f2(0x262),()=>{const _0x2acfcb=_0x4e30f2;_0x2ef921[_0x2acfcb(0x262)](),this[_0x2acfcb(0x26a)][_0x2acfcb(0x214)][_0x2acfcb(0x282)][_0x2acfcb(0x270)]();}),_0x2ba8af(_0x1fbfd4,_0x2f9137,{'role':_0x4e30f2(0x264)});const _0x2a42c4=[];for(const _0x4aa340 of _0x2f9137)ke(_0x4aa340)&&_0x2a42c4[_0x4e30f2(0x246)](this[_0x4e30f2(0x26a)][_0x4e30f2(0x236)][_0x4e30f2(0x20e)](_0x4aa340[_0x4e30f2(0x239)][_0x4e30f2(0x21c)]));const _0x21b147=_0x1fbfd4[_0x4e30f2(0x252)];return _0x21b147[_0x4e30f2(0x242)][_0x4e30f2(0x1ea)](_0x4e30f2(0x25d)),_0x21b147[_0x4e30f2(0x285)][_0x4e30f2(0x1ea)](_0x4e30f2(0x25d)),_0x21b147[_0x4e30f2(0x242)][_0x4e30f2(0x1d9)](_0x4e30f2(0x25d))['to'](_0x2ef921,_0x4e30f2(0x25d)),_0x21b147[_0x4e30f2(0x285)][_0x4e30f2(0x1d9)](_0x4e30f2(0x25d))[_0x4e30f2(0x1da)](_0x2a42c4,_0x4e30f2(0x25d),(..._0x225e71)=>_0x225e71[_0x4e30f2(0x247)](_0x30cc19=>_0x30cc19)),_0x1fbfd4['on'](_0x4e30f2(0x262),_0x5914cb=>{const _0x4a827a=_0x4e30f2;this[_0x4a827a(0x26a)][_0x4a827a(0x262)](_0x5914cb[_0x4a827a(0x258)][_0x4a827a(0x21c)]),this[_0x4a827a(0x26a)][_0x4a827a(0x214)][_0x4a827a(0x282)][_0x4a827a(0x270)]();}),_0x1fbfd4;}[_0x1d61c8(0x1e6)](_0x49ba44,_0x54c62f,_0x51694d){const _0x540293=_0x1d61c8,_0x3df903=new _0x218aa8(_0x49ba44),_0x13e627=this[_0x540293(0x26a)][_0x540293(0x236)][_0x540293(0x20e)](_0x540293(0x25a));_0x3df903[_0x540293(0x252)][_0x540293(0x1df)]({'label':_0x51694d,'icon':_0x3f6304});const _0x166414=new _0x5cf6c4(_0x49ba44);for(const _0x4cd8aa of _0x54c62f){if(_0x540293(0x219)==_0x4cd8aa[_0x540293(0x1d7)]){_0x166414[_0x540293(0x20d)][_0x540293(0x26c)](new _0x3fa66e(_0x49ba44));continue;}const _0x2f774b=new _0x269669(_0x49ba44,_0x3df903),_0x3311cd=new _0x540cad(_0x49ba44),_0x1eae72=_0x4cd8aa[_0x540293(0x239)];_0x3311cd[_0x540293(0x1d9)](...Object[_0x540293(0x287)](_0x1eae72))['to'](_0x1eae72),_0x3311cd[_0x540293(0x268)](_0x540293(0x262))['to'](_0x3df903),_0x3311cd['on'](_0x540293(0x262),()=>{const _0x187b82=_0x540293;this[_0x187b82(0x26a)][_0x187b82(0x262)](_0x1eae72[_0x187b82(0x21c)]),this[_0x187b82(0x26a)][_0x187b82(0x214)][_0x187b82(0x282)][_0x187b82(0x270)]();}),_0x2f774b[_0x540293(0x24b)][_0x540293(0x26c)](_0x3311cd),_0x166414[_0x540293(0x20d)][_0x540293(0x26c)](_0x2f774b);}return _0x3df903[_0x540293(0x1d9)](_0x540293(0x25d))['to'](_0x13e627,_0x540293(0x25d)),_0x3df903[_0x540293(0x26d)][_0x540293(0x24b)][_0x540293(0x26c)](_0x166414),_0x3df903;}[_0x1d61c8(0x1d8)](_0x1c592f){const _0x27dfa4=_0x1d61c8,_0x1812af=this[_0x27dfa4(0x26a)],_0x3ce52e=_0x1812af[_0x27dfa4(0x250)],_0xc58e49=_0x1812af[_0x27dfa4(0x1ed)][_0x27dfa4(0x20e)](_0x27dfa4(0x217)),_0xa76b54=_0x1812af[_0x27dfa4(0x1ed)][_0x27dfa4(0x20e)](_0x27dfa4(0x256)),_0x373179=_0x1812af[_0x27dfa4(0x1ed)][_0x27dfa4(0x20e)](_0x27dfa4(0x27b)),_0x229bf6=_0x1812af[_0x27dfa4(0x1ed)][_0x27dfa4(0x20e)](_0x1cf3f1)['me'],_0x12408e=_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x25a))[_0x27dfa4(0x25f)],_0x5cdb00=_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x25a))[_0x27dfa4(0x276)],{CommentsListView:_0x5e9b44,CommentThreadInputView:_0x50610f}=_0x1812af[_0x27dfa4(0x1ed)][_0x27dfa4(0x20e)](_0x27dfa4(0x201));let _0x5638b5,_0x344355,_0x42a358;this[_0x27dfa4(0x249)][_0x27dfa4(0x25c)](_0x1c592f['id'])?(_0x344355=this[_0x27dfa4(0x249)][_0x27dfa4(0x20e)](_0x1c592f['id']),_0x5638b5=_0x344355[_0x27dfa4(0x23a)]):(_0x5638b5=new _0x12408e(_0x1812af[_0x27dfa4(0x244)],_0x1c592f,_0x229bf6,{'disableComments':this[_0x27dfa4(0x228)],'editorConfig':{..._0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x233)),'licenseKey':_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x1fe))},'maxCommentsWhenCollapsed':_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x208)),'maxThreadTotalWeight':_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x1e7)),'maxCommentCharsWhenCollapsed':_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x212)),'formatDateTime':_0x36ebb5(_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x244)),_0x1812af[_0x27dfa4(0x244)]),'CommentView':_0x3ce52e[_0x27dfa4(0x20e)](_0x27dfa4(0x231))[_0x27dfa4(0x25b)],'CommentsListView':_0x5e9b44,'CommentThreadInputView':_0x50610f,'SuggestionView':_0x5cdb00}),_0x5638b5[_0x27dfa4(0x1de)][_0x27dfa4(0x283)]['on'](_0x27dfa4(0x262),()=>{const _0x67f0cc=_0x27dfa4;_0x1812af[_0x67f0cc(0x214)][_0x67f0cc(0x282)][_0x67f0cc(0x270)]();}),_0x5638b5[_0x27dfa4(0x1de)][_0x27dfa4(0x218)]['on'](_0x27dfa4(0x262),()=>{const _0x5f2b8c=_0x27dfa4;_0x1812af[_0x5f2b8c(0x214)][_0x5f2b8c(0x282)][_0x5f2b8c(0x270)]();}),_0x344355=_0xc58e49[_0x27dfa4(0x223)](this[_0x27dfa4(0x26a)][_0x27dfa4(0x244)],_0x5638b5),_0x344355[_0x27dfa4(0x1d9)](_0x27dfa4(0x278))['to'](_0x5638b5,_0x27dfa4(0x278)),_0x344355[_0x27dfa4(0x1d9)](_0x27dfa4(0x22a))['to'](_0x5638b5),_0x344355[_0x27dfa4(0x1d9)](_0x27dfa4(0x1d7))['to'](_0x5638b5,_0x27dfa4(0x1d7),_0x2f5642=>_0x27dfa4(0x20c)+_0x2f5642),_0x5638b5['on'](_0x27dfa4(0x225),()=>{const _0x24bd76=_0x27dfa4;_0x42a358[_0x24bd76(0x26f)](_0x24bd76(0x225));}),this[_0x27dfa4(0x249)][_0x27dfa4(0x1df)](_0x1c592f['id'],_0x344355));const _0x4ca3c3=_0xa76b54[_0x27dfa4(0x245)](_0x1c592f[_0x27dfa4(0x1db)],_0x5638b5),_0xaa2ee9=new _0x18a967(_0x1812af,_0x1c592f,_0x5638b5,_0x4ca3c3),_0x566906=_0x1c592f[_0x27dfa4(0x24f)]()[_0x27dfa4(0x23c)](_0x33c0e4=>_0x33c0e4[_0x27dfa4(0x1ec)]);_0x5638b5[_0x27dfa4(0x22b)]=_0x1812af[_0x27dfa4(0x1ed)][_0x27dfa4(0x20e)](_0x27dfa4(0x21d))[_0x27dfa4(0x204)][_0x27dfa4(0x22e)](_0x566906),this[_0x27dfa4(0x215)][_0x27dfa4(0x1df)](_0x1c592f,_0xaa2ee9),this[_0x27dfa4(0x207)][_0x27dfa4(0x1df)](_0x5638b5,_0xaa2ee9);const _0x150dda=()=>{const _0x2ede30=_0x27dfa4,_0x107173=[],_0x27e6aa=_0x1c592f[_0x2ede30(0x24f)]()[_0x2ede30(0x23c)](_0x4f290d=>_0x4f290d[_0x2ede30(0x1ec)]);for(const _0x25962 of _0x27e6aa)_0x107173[_0x2ede30(0x246)](..._0x25962[_0x2ede30(0x238)]());return _0x4f3cc7(_0x1812af[_0x2ede30(0x214)],_0x107173);};_0x42a358=_0xc58e49[_0x27dfa4(0x23e)]({'view':_0x344355,'target':_0x150dda,'type':()=>_0x27dfa4(0x20c)+_0xaa2ee9[_0x27dfa4(0x282)][_0x27dfa4(0x1d7)],'isVisible':!!_0x150dda()}),_0xa76b54[_0x27dfa4(0x24c)](_0x5638b5,_0x42a358),_0xc58e49[_0x27dfa4(0x26c)](_0x42a358),_0x373179[_0x27dfa4(0x206)](_0x42a358);}[_0x1d61c8(0x23f)](_0x539af7){const _0x3e6444=_0x1d61c8,_0x42619a=this[_0x3e6444(0x26a)][_0x3e6444(0x1ed)][_0x3e6444(0x20e)](_0x3e6444(0x256)),_0x39c57e=this[_0x3e6444(0x26a)][_0x3e6444(0x1ed)][_0x3e6444(0x20e)](_0x3e6444(0x217)),_0x409a9b=this[_0x3e6444(0x215)][_0x3e6444(0x20e)](_0x539af7),_0x3c6c90=_0x409a9b[_0x3e6444(0x282)],_0x213d7=_0x39c57e[_0x3e6444(0x277)](_0x3c6c90);_0x42619a[_0x3e6444(0x22d)](_0x3c6c90),_0x213d7&&_0x39c57e[_0x3e6444(0x1e3)](_0x213d7),this[_0x3e6444(0x215)][_0x3e6444(0x1eb)](_0x539af7),this[_0x3e6444(0x207)][_0x3e6444(0x1eb)](_0x3c6c90),_0x409a9b[_0x3e6444(0x281)]();}[_0x1d61c8(0x213)](_0x443e2a){const _0x49e7b2=_0x1d61c8;if(!_0x443e2a[_0x49e7b2(0x1ec)]||!this[_0x49e7b2(0x215)][_0x49e7b2(0x25c)](_0x443e2a))return;const _0x394fcd=this[_0x49e7b2(0x26a)][_0x49e7b2(0x1ed)][_0x49e7b2(0x20e)](_0x49e7b2(0x21d)),_0x5dba17=this[_0x49e7b2(0x215)][_0x49e7b2(0x20e)](_0x443e2a),_0x2f62a1=_0x443e2a[_0x49e7b2(0x24f)]();_0x5dba17[_0x49e7b2(0x282)][_0x49e7b2(0x22b)]=_0x394fcd[_0x49e7b2(0x204)][_0x49e7b2(0x22e)](_0x2f62a1);}[_0x1d61c8(0x281)](){const _0x5637d8=_0x1d61c8;for(const _0x2f937a of this[_0x5637d8(0x215)][_0x5637d8(0x287)]())this[_0x5637d8(0x23f)](_0x2f937a);for(const _0x3c075f of this[_0x5637d8(0x249)][_0x5637d8(0x275)]())_0x3c075f[_0x5637d8(0x23a)][_0x5637d8(0x281)]();super[_0x5637d8(0x281)](),this[_0x5637d8(0x1fc)]&&clearInterval(this[_0x5637d8(0x1fc)]);}}function ke(_0x4172fc){const _0x5b9948=_0x1d61c8;return _0x5b9948(0x239)in _0x4172fc;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x18620b=_0xd00f;(function(_0x574d83,_0x3bd518){const _0x1bf9b6=_0xd00f,_0x48f756=_0x574d83();while(!![]){try{const _0x5d9822=parseInt(_0x1bf9b6(0xad))/0x1+-parseInt(_0x1bf9b6(0xb2))/0x2+-parseInt(_0x1bf9b6(0x9a))/0x3+-parseInt(_0x1bf9b6(0xa4))/0x4+-parseInt(_0x1bf9b6(0xae))/0x5+-parseInt(_0x1bf9b6(0xb6))/0x6+parseInt(_0x1bf9b6(0xb7))/0x7*(parseInt(_0x1bf9b6(0x9b))/0x8);if(_0x5d9822===_0x3bd518)break;else _0x48f756['push'](_0x48f756['shift']());}catch(_0x273b99){_0x48f756['push'](_0x48f756['shift']());}}}(_0x26e5,0xb4da1));import{ObservableMixin as _0x20f90f}from'ckeditor5/src/utils.js';function _0xd00f(_0xa7ef1a,_0x5f337a){const _0x26e5ef=_0x26e5();return _0xd00f=function(_0xd00fd9,_0x5b83e6){_0xd00fd9=_0xd00fd9-0x90;let _0x383c4a=_0x26e5ef[_0xd00fd9];return _0x383c4a;},_0xd00f(_0xa7ef1a,_0x5f337a);}function _0x26e5(){const _0x199736=['_editor','get','PENDING_ACTION_SUGGESTION','execute','2363775YGwiIt','248ButzyK','stopListening','unbind','bind','canDiscard','remove','plugins','change:isDirty','_removePendingAction','3254176MnyQjy','isDirty','_pendingAction','destroy','view','isEnabled','discardSuggestion','locale','commands','210333sspVqQ','533055mbYImU','canEditAt','_discardCommand','acceptSuggestion','413972BgTHMX','getRanges','model','listenTo','7384542PCRvjA','830123XzUssP','canAccept','PendingActions','add','_acceptCommand','commentThreadController','_setPendingAction'];_0x26e5=function(){return _0x199736;};return _0x26e5();}import{getTranslation as _0x2eca59}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20f90f(){[_0x18620b(0xb4)];[_0x18620b(0xa8)];[_0x18620b(0x94)];[_0x18620b(0x96)];[_0x18620b(0x93)];[_0x18620b(0xb0)];[_0x18620b(0xa6)];constructor(_0xc8c62,_0x592055,_0x255530,_0x1273d3){const _0xcb0758=_0x18620b;super(),this[_0xcb0758(0xb4)]=_0x592055,this[_0xcb0758(0xa8)]=_0x255530,this[_0xcb0758(0x94)]=_0x1273d3,this[_0xcb0758(0x96)]=_0xc8c62,this[_0xcb0758(0x93)]=_0xc8c62[_0xcb0758(0xac)][_0xcb0758(0x97)](_0xcb0758(0xb1)),this[_0xcb0758(0xb0)]=_0xc8c62[_0xcb0758(0xac)][_0xcb0758(0x97)](_0xcb0758(0xaa)),this[_0xcb0758(0xa8)][_0xcb0758(0x9e)](_0xcb0758(0xa9))['to'](this[_0xcb0758(0x93)],this[_0xcb0758(0xb0)],(_0x5e5a9a,_0x1cd46d)=>_0x5e5a9a||_0x1cd46d),this[_0xcb0758(0xa8)][_0xcb0758(0x9e)](_0xcb0758(0x90))['to'](this[_0xcb0758(0x93)],_0xcb0758(0xa9),_0x4caabb=>_0x4caabb&&this[_0xcb0758(0x96)][_0xcb0758(0xb4)][_0xcb0758(0xaf)](_0x592055[_0xcb0758(0xb3)]())),this[_0xcb0758(0xa8)][_0xcb0758(0x9e)](_0xcb0758(0x9f))['to'](this[_0xcb0758(0xb0)],_0xcb0758(0xa9),_0x52fc05=>_0x52fc05&&this[_0xcb0758(0x96)][_0xcb0758(0xb4)][_0xcb0758(0xaf)](_0x592055[_0xcb0758(0xb3)]())),this[_0xcb0758(0xa6)]=null,_0x255530[_0xcb0758(0xa5)]&&this[_0xcb0758(0x95)](),this[_0xcb0758(0xb5)](_0x255530,_0xcb0758(0xb1),()=>this[_0xcb0758(0xb1)]()),this[_0xcb0758(0xb5)](_0x255530,_0xcb0758(0xaa),()=>this[_0xcb0758(0xaa)]()),this[_0xcb0758(0xb5)](_0x255530,_0xcb0758(0xa2),()=>{const _0x3e7fb8=_0xcb0758;_0x255530[_0x3e7fb8(0xa5)]?this[_0x3e7fb8(0x95)]():this[_0x3e7fb8(0xa3)]();});}[_0x18620b(0xb1)](){const _0x1f97bb=_0x18620b;this[_0x1f97bb(0x93)][_0x1f97bb(0x99)](this[_0x1f97bb(0xb4)]['id']);}[_0x18620b(0xaa)](){const _0x485a6b=_0x18620b;this[_0x485a6b(0xb0)][_0x485a6b(0x99)](this[_0x485a6b(0xb4)]['id']);}[_0x18620b(0xa7)](){const _0x5c5892=_0x18620b;this[_0x5c5892(0xa8)][_0x5c5892(0x9d)](_0x5c5892(0xa9)),this[_0x5c5892(0xa8)][_0x5c5892(0x9d)](_0x5c5892(0x90)),this[_0x5c5892(0xa8)][_0x5c5892(0x9d)](_0x5c5892(0x9f)),this[_0x5c5892(0x9c)](),this[_0x5c5892(0x94)][_0x5c5892(0xa7)](),this[_0x5c5892(0xa6)]&&this[_0x5c5892(0xa3)]();}[_0x18620b(0x95)](){const _0x27337b=_0x18620b,_0x124266=_0x2eca59(this[_0x27337b(0x96)][_0x27337b(0xab)],_0x27337b(0x98));this[_0x27337b(0xa6)]=this[_0x27337b(0x96)][_0x27337b(0xa1)][_0x27337b(0x97)](_0x27337b(0x91))[_0x27337b(0x92)](_0x124266);}[_0x18620b(0xa3)](){const _0x167b56=_0x18620b;null!==this[_0x167b56(0xa6)]&&this[_0x167b56(0x96)][_0x167b56(0xa1)][_0x167b56(0x97)](_0x167b56(0x91))[_0x167b56(0xa0)](this[_0x167b56(0xa6)]),this[_0x167b56(0xa6)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d00e2=_0x404a;function _0x404a(_0x2bcbde,_0x316811){const _0x2fd1d9=_0x2fd1();return _0x404a=function(_0x404a9,_0x398a00){_0x404a9=_0x404a9-0x76;let _0x2a6e24=_0x2fd1d9[_0x404a9];return _0x2a6e24;},_0x404a(_0x2bcbde,_0x316811);}(function(_0x2a502e,_0x161daf){const _0x34446a=_0x404a,_0x1a800d=_0x2a502e();while(!![]){try{const _0x4f3942=-parseInt(_0x34446a(0xad))/0x1*(parseInt(_0x34446a(0xa5))/0x2)+parseInt(_0x34446a(0x92))/0x3+-parseInt(_0x34446a(0x91))/0x4*(-parseInt(_0x34446a(0x78))/0x5)+-parseInt(_0x34446a(0x9f))/0x6*(-parseInt(_0x34446a(0x8e))/0x7)+-parseInt(_0x34446a(0x7c))/0x8+-parseInt(_0x34446a(0xab))/0x9*(parseInt(_0x34446a(0xa4))/0xa)+parseInt(_0x34446a(0xaa))/0xb;if(_0x4f3942===_0x161daf)break;else _0x1a800d['push'](_0x1a800d['shift']());}catch(_0x3f2eb6){_0x1a800d['push'](_0x1a800d['shift']());}}}(_0x2fd1,0x7f738));import{FocusCycler as _0x1e4cb4,View as _0x486b2e,ViewCollection as _0xd9e759}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5927c4,KeystrokeHandler as _0x586af6}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x34d90f,setupThreadKeyboardNavigation as _0x3f96ce}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2fd1(){const _0x3ed677=['956aPxzQX','81132HxSAee','parseFromString','textContent','hasDirtyComment','content','isDirty','commentInputView','canAccept','_model','tab','focusTracker','editorConfig','fire','3608988jHTYPH','showInput','descriptionParts','SUGGESTION_THREAD_ARIA_LABEL','disabledSubmit','10ycFzJr','9536AcqKCC','join','commentThreadInputView','isActive','setData','13560162LaOIJG','5474682GaTYvi','author','97QuKKzh','bind','_createCommentViews','set','_localUser','editor','cancel','_createCommentThreadInputView','render','target','body','addComment','_config','focus','destroy','ariaLabel','focusCycler','submit','disableComments','SUGGESTION_THREAD_DESCRIPTION','keystrokes','12615swSRev','map','commentsListView','CommentView','6971576tkWRcO','isReadOnly','authoredAt','ariaDescriptionView','removeComment','locale','text/html','length','assign','value','isEnabled','formatDateTime','delegate','name','shift+tab','canDiscard','updateComment','element','7EabglT','focusables','commentThread'];_0x2fd1=function(){return _0x3ed677;};return _0x2fd1();}import{getTranslation as _0xd1c428}from'../../utils/common-translations.js';import{renderDescription as _0x5217e6}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x486b2e{[_0x4d00e2(0x7a)];[_0x4d00e2(0xa7)];[_0x4d00e2(0x7f)];[_0x4d00e2(0x8f)];[_0x4d00e2(0x9c)];[_0x4d00e2(0x77)];[_0x4d00e2(0xbd)];[_0x4d00e2(0x9a)];[_0x4d00e2(0xb1)];[_0x4d00e2(0xb9)];constructor(_0x2e9679,_0x3d7516,_0x421d4e,_0x37dd6a){const _0x117457=_0x4d00e2;super(_0x2e9679),this[_0x117457(0x7a)]=null,this[_0x117457(0xa7)]=null,this[_0x117457(0x7f)]=new _0x34d90f(_0x2e9679,_0xd1c428(_0x2e9679,_0x117457(0x76))),this[_0x117457(0xb0)](_0x117457(0xa8),!0x1),this[_0x117457(0xb0)](_0x117457(0x7e),_0x3d7516[_0x117457(0x7e)]),this[_0x117457(0xae)](_0x117457(0x7e))['to'](_0x3d7516),this[_0x117457(0xb0)](_0x117457(0xa1),[]),this[_0x117457(0xb0)](_0x117457(0x97),!0x1),this[_0x117457(0xb0)](_0x117457(0x86),!0x1),this[_0x117457(0xb0)](_0x117457(0x99),!0x1),this[_0x117457(0xb0)](_0x117457(0x8b),!0x1),this[_0x117457(0xae)](_0x117457(0xbc))['to'](this,_0x117457(0x83),_0x3d7516,_0x117457(0x7e),this,_0x117457(0xa1),(_0x350f08,_0x3451eb,_0xf26fc7)=>{const _0x4d1cf1=_0x117457,_0x2d0c41=_0xf26fc7[_0x4d1cf1(0x79)](_0x3ed3ee=>_0x5217e6(_0x3ed3ee[_0x4d1cf1(0x96)]))[_0x4d1cf1(0xa6)]('.\x20')+'.';return _0xd1c428(this[_0x4d1cf1(0x81)],_0x4d1cf1(0xa2),[_0x350f08-0x1,_0x3d7516[_0x4d1cf1(0xac)][_0x4d1cf1(0x89)],_0x3451eb?_0x37dd6a[_0x4d1cf1(0x87)](_0x3451eb):'',new DOMParser()[_0x4d1cf1(0x93)](_0x2d0c41,_0x4d1cf1(0x82))[_0x4d1cf1(0xb7)][_0x4d1cf1(0x94)]]);}),this[_0x117457(0x8f)]=new _0xd9e759(),this[_0x117457(0x9c)]=new _0x5927c4(),this[_0x117457(0x77)]=new _0x586af6(),this[_0x117457(0xbd)]=new _0x1e4cb4({'focusables':this[_0x117457(0x8f)],'focusTracker':this[_0x117457(0x9c)],'keystrokeHandler':this[_0x117457(0x77)],'keystrokeHandlerOptions':{'filter':_0x100434=>_0x100434[_0x117457(0xb6)]!==this[_0x117457(0x8d)]},'actions':{'focusPrevious':_0x117457(0x8a),'focusNext':_0x117457(0x9b)}}),this[_0x117457(0x9a)]=_0x3d7516,this[_0x117457(0xb1)]=_0x421d4e,this[_0x117457(0xb9)]=_0x37dd6a,_0x37dd6a[_0x117457(0xbf)]?this[_0x117457(0xb0)](_0x117457(0x83),0x1):this[_0x117457(0xaf)]();}[_0x4d00e2(0xb5)](){const _0x59eceb=_0x4d00e2;super[_0x59eceb(0xb5)](),_0x3f96ce(this,this[_0x59eceb(0x8f)]);}[_0x4d00e2(0xba)](){const _0x5471e1=_0x4d00e2;this[_0x5471e1(0x8d)][_0x5471e1(0xba)]();}[_0x4d00e2(0xbb)](){const _0x442f22=_0x4d00e2;this[_0x442f22(0x7a)]&&this[_0x442f22(0x7a)][_0x442f22(0xbb)](),this[_0x442f22(0xa7)]&&this[_0x442f22(0xa7)][_0x442f22(0xbb)](),super[_0x442f22(0xbb)]();}[_0x4d00e2(0xaf)](){const _0x442548=_0x4d00e2,{CommentsListView:_0x14da6b}=this[_0x442548(0xb9)];this[_0x442548(0x7a)]=new _0x14da6b(this[_0x442548(0x81)],this[_0x442548(0x9a)][_0x442548(0x90)],Object[_0x442548(0x84)]({'CommentView':this[_0x442548(0xb9)][_0x442548(0x7b)]},this[_0x442548(0xb9)])),this[_0x442548(0x7a)][_0x442548(0x88)](_0x442548(0x80))['to'](this),this[_0x442548(0x7a)][_0x442548(0x88)](_0x442548(0x8c))['to'](this),this[_0x442548(0x7a)][_0x442548(0xae)](_0x442548(0xa8))['to'](this),this[_0x442548(0xb0)](_0x442548(0x83),this[_0x442548(0x7a)][_0x442548(0x83)]+0x1),this[_0x442548(0xae)](_0x442548(0x83))['to'](this[_0x442548(0x7a)],_0x442548(0x83),_0x1f2d95=>_0x1f2d95+0x1),this[_0x442548(0xa7)]=this[_0x442548(0xb4)](),this['on'](_0x442548(0x80),()=>this[_0x442548(0xba)]()),this[_0x442548(0xae)](_0x442548(0x97))['to'](this[_0x442548(0x7a)],_0x442548(0x95),this[_0x442548(0xa7)][_0x442548(0x98)],_0x442548(0x85),(_0x5c7e22,_0x4522b5)=>_0x5c7e22||!!_0x4522b5);}[_0x4d00e2(0xb4)](){const _0x662f27=_0x4d00e2,{CommentThreadInputView:_0x1b59e7}=this[_0x662f27(0xb9)],_0x1f6e5e=new _0x1b59e7(this[_0x662f27(0x81)],this[_0x662f27(0xb1)],this[_0x662f27(0xb9)][_0x662f27(0x9d)]),_0xc8265d=_0x1f6e5e[_0x662f27(0x98)];return _0x1f6e5e[_0x662f27(0xae)](_0x662f27(0xa0))['to'](this,_0x662f27(0xa8),this[_0x662f27(0x9a)][_0x662f27(0x90)],_0x662f27(0x7d),_0xc8265d,_0x662f27(0x85),(_0x40d383,_0x2a9d8,_0x393687)=>!!_0x393687||_0x40d383&&!_0x2a9d8),_0xc8265d['on'](_0x662f27(0xbe),(_0x36a426,_0x10c932)=>{const _0x16b59d=_0x662f27;this[_0x16b59d(0x9e)](_0x16b59d(0xb8),_0x10c932),_0xc8265d[_0x16b59d(0xb2)][_0x16b59d(0xa9)]('');}),_0xc8265d['on'](_0x662f27(0xb3),()=>this[_0x662f27(0xba)]()),_0xc8265d[_0x662f27(0xae)](_0x662f27(0xa3))['to'](this[_0x662f27(0x9a)][_0x662f27(0x90)],_0x662f27(0x7d)),_0x1f6e5e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fa052=_0x3d06;function _0x3d74(){const _0xe72ea7=['isActive','discardButton','delegate','color','3257150wWYbBs','597611eUbYRr','type','div','canAccept','ck-suggestion-wrapper--active','commentThread','author','<p>','render','63LMYpGZ','ck-suggestion-wrapper','2GsOqWP','SuggestionView','_model','listitem','acceptButton','_config','disableComments','suggestionView','discardSuggestion','push','commentThreadInputView','isEnabled','ck-suggestion-','commentsListView','getTemplate','description','add','244768YCFFgd','386154TZwRVJ','ariaDescriptionView','acceptSuggestion','descriptionParts','5nLrwAQ','</p>','50036opwkDJ','bindTemplate','235974NiEnpH','ck-rounded-corners','setTemplate','ck-suggestion--disabled-comments','459256xzoAeL','content','formatDateTime','ariaLabel','bind','focusables','canDiscard','set','editorReady','_descriptionElement','editorDestroyed'];_0x3d74=function(){return _0xe72ea7;};return _0x3d74();}(function(_0x359def,_0x90be94){const _0x598a7c=_0x3d06,_0x395923=_0x359def();while(!![]){try{const _0x27864b=-parseInt(_0x598a7c(0x96))/0x1*(parseInt(_0x598a7c(0xb7))/0x2)+-parseInt(_0x598a7c(0x98))/0x3+parseInt(_0x598a7c(0x9c))/0x4+-parseInt(_0x598a7c(0xcd))/0x5*(parseInt(_0x598a7c(0xc9))/0x6)+parseInt(_0x598a7c(0xac))/0x7+parseInt(_0x598a7c(0xc8))/0x8*(-parseInt(_0x598a7c(0xb5))/0x9)+parseInt(_0x598a7c(0xab))/0xa;if(_0x27864b===_0x90be94)break;else _0x395923['push'](_0x395923['shift']());}catch(_0x5d8a3e){_0x395923['push'](_0x395923['shift']());}}}(_0x3d74,0x1cf95));function _0x3d06(_0xfc25d7,_0xad2f51){const _0x3d74da=_0x3d74();return _0x3d06=function(_0x3d062b,_0x47c0cb){_0x3d062b=_0x3d062b-0x95;let _0x30c860=_0x3d74da[_0x3d062b];return _0x30c860;},_0x3d06(_0xfc25d7,_0xad2f51);}import{BaseSuggestionThreadView as _0x3c14b6}from'./basesuggestionthreadview.js';import{trimHtml as _0x5204d7}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x24198d}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3c14b6{[_0x2fa052(0xbe)];[_0x2fa052(0xa5)];constructor(_0x396a47,_0x2e9550,_0x8cecf4,_0x28547b){const _0xc398cc=_0x2fa052;super(_0x396a47,_0x2e9550,_0x8cecf4,_0x28547b),this[_0xc398cc(0xa3)](_0xc398cc(0xad),''),this[_0xc398cc(0xa0)](_0xc398cc(0xad))['to'](this,_0xc398cc(0xcc),_0x19d8ec=>_0x19d8ec&&_0x19d8ec[0x0]?_0x19d8ec[0x0][_0xc398cc(0xad)]:''),this[_0xc398cc(0xa0)](_0xc398cc(0xc6))['to'](this,_0xc398cc(0xcc),this,_0xc398cc(0xa7),(_0x511635,_0x2a3b87)=>{const _0x24f85b=_0xc398cc;let _0x2c1283='';for(const _0x3c2834 of _0x511635)_0x2c1283+=_0x24f85b(0xb3)+_0x24198d(_0x3c2834[_0x24f85b(0x9d)],_0x3c2834[_0x24f85b(0xaa)])+_0x24f85b(0x95);return _0x2a3b87?_0x2c1283:_0x5204d7(_0x2c1283,{'limit':0x8c});}),this[_0xc398cc(0xa5)]=null,this[_0xc398cc(0xbe)]=new _0x28547b[(_0xc398cc(0xb8))](_0x396a47,_0x2e9550,{'formatDateTime':_0x28547b[_0xc398cc(0x9e)]}),this[_0xc398cc(0xbe)][_0xc398cc(0xa0)](_0xc398cc(0xc6))['to'](this),this[_0xc398cc(0xbe)][_0xc398cc(0xa9)](_0xc398cc(0xcb),_0xc398cc(0xbf))['to'](this),this[_0xc398cc(0xbe)][_0xc398cc(0xbb)][_0xc398cc(0xa0)](_0xc398cc(0xc2))['to'](this,_0xc398cc(0xaf)),this[_0xc398cc(0xbe)][_0xc398cc(0xa8)][_0xc398cc(0xa0)](_0xc398cc(0xc2))['to'](this,_0xc398cc(0xa2)),this[_0xc398cc(0xa1)][_0xc398cc(0xc7)](this[_0xc398cc(0xbe)]),this[_0xc398cc(0xc4)]&&this[_0xc398cc(0xa1)][_0xc398cc(0xc7)](this[_0xc398cc(0xc4)]),this[_0xc398cc(0xc1)]&&this[_0xc398cc(0xa1)][_0xc398cc(0xc7)](this[_0xc398cc(0xc1)]),this[_0xc398cc(0x9a)](this[_0xc398cc(0xc5)]());}[_0x2fa052(0xc5)](){const _0x5803fa=_0x2fa052,_0x46087f=this[_0x5803fa(0x97)],_0x30ee7f=[this[_0x5803fa(0xbe)]];return this[_0x5803fa(0xc4)]&&_0x30ee7f[_0x5803fa(0xc0)](this[_0x5803fa(0xc4)]),this[_0x5803fa(0xc1)]&&_0x30ee7f[_0x5803fa(0xc0)](this[_0x5803fa(0xc1)]),_0x30ee7f[_0x5803fa(0xc0)](this[_0x5803fa(0xca)]),{'tag':_0x5803fa(0xae),'attributes':{'class':['ck',_0x5803fa(0x99),_0x5803fa(0xb6),_0x46087f['if'](_0x5803fa(0xa7),_0x5803fa(0xb0)),_0x46087f['to'](_0x5803fa(0xad),_0x28eb58=>_0x5803fa(0xc3)+_0x28eb58),this[_0x5803fa(0xbc)][_0x5803fa(0xbd)]&&_0x5803fa(0x9b)],'data-suggestion-id':this[_0x5803fa(0xb9)]['id'],'data-thread-id':this[_0x5803fa(0xb9)][_0x5803fa(0xb1)]['id'],'data-author-id':this[_0x5803fa(0xb9)][_0x5803fa(0xb2)]['id'],'tabindex':0x0,'role':_0x5803fa(0xba),'aria-label':_0x46087f['to'](_0x5803fa(0x9f)),'aria-describedby':this[_0x5803fa(0xca)]['id']},'children':_0x30ee7f};}[_0x2fa052(0xb4)](){const _0x4b720b=_0x2fa052;super[_0x4b720b(0xb4)](),this[_0x4b720b(0xc4)]&&(this[_0x4b720b(0xc4)][_0x4b720b(0xa9)](_0x4b720b(0xa4))['to'](this),this[_0x4b720b(0xc4)][_0x4b720b(0xa9)](_0x4b720b(0xa6))['to'](this)),this[_0x4b720b(0xc1)]&&(this[_0x4b720b(0xc1)][_0x4b720b(0xa9)](_0x4b720b(0xa4))['to'](this),this[_0x4b720b(0xc1)][_0x4b720b(0xa9)](_0x4b720b(0xa6))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5df2(_0x1a234c,_0xd2ea05){const _0x578e79=_0x578e();return _0x5df2=function(_0x5df2f4,_0x180db9){_0x5df2f4=_0x5df2f4-0x175;let _0x396563=_0x578e79[_0x5df2f4];return _0x396563;},_0x5df2(_0x1a234c,_0xd2ea05);}const _0x374234=_0x5df2;(function(_0xc4b172,_0x8b9a21){const _0x2e384a=_0x5df2,_0x49f1e3=_0xc4b172();while(!![]){try{const _0x10e261=parseInt(_0x2e384a(0x1c2))/0x1+-parseInt(_0x2e384a(0x179))/0x2*(-parseInt(_0x2e384a(0x175))/0x3)+parseInt(_0x2e384a(0x1a3))/0x4+-parseInt(_0x2e384a(0x1a9))/0x5*(parseInt(_0x2e384a(0x18a))/0x6)+-parseInt(_0x2e384a(0x1b9))/0x7*(parseInt(_0x2e384a(0x1b1))/0x8)+-parseInt(_0x2e384a(0x17b))/0x9+-parseInt(_0x2e384a(0x17d))/0xa*(-parseInt(_0x2e384a(0x1a8))/0xb);if(_0x10e261===_0x8b9a21)break;else _0x49f1e3['push'](_0x49f1e3['shift']());}catch(_0x166954){_0x49f1e3['push'](_0x49f1e3['shift']());}}}(_0x578e,0xcea01));import{FocusTracker as _0x26953a,KeystrokeHandler as _0x1dffa6}from'ckeditor5/src/utils.js';import{View as _0x3c4ff3,ViewCollection as _0x59a4a2,FocusCycler as _0x5a583b}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x45d865,UserView as _0x3e6e24}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x20c361,IconCheck as _0x346ef5}from'ckeditor5/src/icons.js';function _0x578e(){const _0x49ad69=['keystrokes','1141fzMQJp','getUserViewNotificationText','Accept\x20suggestion','_setupKeyboardNavigation','getExternalSuggestionNote','.ck-annotation__content-wrapper','isExternal','ck-annotation__info-name','importWord','352084GQhmGL','ck-annotation__actions','acceptButton','span','time','attributes','ck-annotation__info','div','ck-annotation__user','ck-annotation__main','acceptSuggestion','fire','ck-annotation__info-time','97395AgcHjG','bindTemplate','push','EXTERNAL_IMPORT_WORD_AVATAR','6TXRCHG','render','435429jGoLMT','extendTemplate','2080QdkAlI','ck-suggestion--accept','ck-suggestion__user','focusTracker','EXTERNAL_SUGGESTION','getTemplate','@external','ck-comment__external','ck-suggestion--discard','formatDateTime','target','discardSuggestion','enter','294DBqhRW','esc','innerHTML','ck-suggestion__actions','focus','focusFirst','add','author','discardButton','setTemplate','listenTo','description','ck-suggestion','ck-suggestion__info-name','_config','name','change:description','userView','source','creator','element','_model','querySelector','_createButton','ck-comment__info-time','2848708zvjyJT','bind','set','ck-suggestion__info','shift+tab','82621rRuzSt','115285VGuwXG','Discard\x20suggestion','focusables','tab','ck-annotation__content-wrapper','execute','focusCycler','presentation','34328uFbHlp','authoredAt','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion__main','EXTERNAL_AVATAR','locale','ck-annotation'];_0x578e=function(){return _0x49ad69;};return _0x578e();}import{getTranslation as _0x32486d}from'../../utils/common-translations.js';export class SuggestionView extends _0x3c4ff3{[_0x374234(0x19b)];[_0x374234(0x1c4)];[_0x374234(0x192)];[_0x374234(0x1ab)];[_0x374234(0x180)];[_0x374234(0x1b8)];[_0x374234(0x1af)];[_0x374234(0x19f)];[_0x374234(0x198)];constructor(_0x24e544,_0x286eee,_0x12044e){const _0x3786d8=_0x374234;super(_0x24e544),this[_0x3786d8(0x19f)]=_0x286eee,this[_0x3786d8(0x198)]=_0x12044e,this[_0x3786d8(0x1a5)](_0x3786d8(0x195),''),this[_0x3786d8(0x1a4)](_0x3786d8(0x1b2))['to'](_0x286eee),this[_0x3786d8(0x1c4)]=this[_0x3786d8(0x1a1)](_0x32486d(_0x24e544,_0x3786d8(0x1bb)),_0x346ef5,_0x3786d8(0x17e),_0x3786d8(0x1cc),'sw'),this[_0x3786d8(0x192)]=this[_0x3786d8(0x1a1)](_0x32486d(_0x24e544,_0x3786d8(0x1aa)),_0x20c361,_0x3786d8(0x185),_0x3786d8(0x188),'sw'),this[_0x3786d8(0x19b)]=new _0x3e6e24(_0x24e544,_0x286eee[_0x3786d8(0x191)],this[_0x3786d8(0x1ba)]()),this[_0x3786d8(0x19b)][_0x3786d8(0x17c)]({'attributes':{'class':[_0x3786d8(0x17f),_0x3786d8(0x1ca)],'aria-hidden':!0x0}}),this[_0x3786d8(0x1ab)]=new _0x59a4a2([this[_0x3786d8(0x1c4)],this[_0x3786d8(0x192)]]),this[_0x3786d8(0x180)]=new _0x26953a(),this[_0x3786d8(0x1b8)]=new _0x1dffa6(),this[_0x3786d8(0x1af)]=new _0x5a583b({'focusables':this[_0x3786d8(0x1ab)],'focusTracker':this[_0x3786d8(0x180)],'keystrokeHandler':this[_0x3786d8(0x1b8)],'actions':{'focusPrevious':_0x3786d8(0x1a7),'focusNext':_0x3786d8(0x1ac)},'keystrokeHandlerOptions':{'filter':_0x547903=>_0x547903[_0x3786d8(0x187)]!==this[_0x3786d8(0x19e)]}}),this[_0x3786d8(0x193)](this[_0x3786d8(0x182)]());}[_0x374234(0x17a)](){const _0x5a29f6=_0x374234;super[_0x5a29f6(0x17a)]();const _0x345394=this[_0x5a29f6(0x19e)][_0x5a29f6(0x1a0)](_0x5a29f6(0x1be));_0x345394[_0x5a29f6(0x18c)]=this[_0x5a29f6(0x195)],this['on'](_0x5a29f6(0x19a),(_0xdac8f,_0x39fac5,_0x574d65)=>{const _0x149e4d=_0x5a29f6;_0x345394[_0x149e4d(0x18c)]=_0x574d65;}),this[_0x5a29f6(0x1bc)]();}[_0x374234(0x182)](){const _0x4f6fa8=_0x374234,_0x2340bf=this[_0x4f6fa8(0x176)],_0x5e0ccd=[{'tag':_0x4f6fa8(0x1c9),'attributes':{'class':[_0x4f6fa8(0x1a6),_0x4f6fa8(0x1c8)]},'children':[{'tag':_0x4f6fa8(0x1c5),'children':[{'text':this[_0x4f6fa8(0x19b)][_0x4f6fa8(0x199)]}],'attributes':{'class':[_0x4f6fa8(0x197),_0x4f6fa8(0x1c0)],'data-cke-tooltip-text':this[_0x4f6fa8(0x19b)][_0x4f6fa8(0x199)]}},{'tag':_0x4f6fa8(0x1c6),'attributes':{'datetime':_0x2340bf['to'](_0x4f6fa8(0x1b2)),'class':[_0x4f6fa8(0x1a2),_0x4f6fa8(0x1ce)]},'children':[{'text':_0x2340bf['to'](_0x4f6fa8(0x1b2),_0x4397ae=>this[_0x4f6fa8(0x198)][_0x4f6fa8(0x186)](_0x4397ae))}]}]},{'tag':_0x4f6fa8(0x1c9),'attributes':{'class':[_0x4f6fa8(0x18d),_0x4f6fa8(0x1c3)]},'children':[this[_0x4f6fa8(0x1c4)],this[_0x4f6fa8(0x192)]]},{'tag':_0x4f6fa8(0x1c9),'attributes':{'class':[_0x4f6fa8(0x1ad)]}}];return this[_0x4f6fa8(0x19f)][_0x4f6fa8(0x1bf)]&&_0x5e0ccd[_0x4f6fa8(0x177)]({'tag':_0x4f6fa8(0x1c9),'attributes':{'class':[_0x4f6fa8(0x184)]},'children':[{'text':this[_0x4f6fa8(0x1bd)]()}]}),{'tag':_0x4f6fa8(0x1c9),'attributes':{'class':[_0x4f6fa8(0x196),_0x4f6fa8(0x1b7)],'tabindex':-0x1},'children':[this[_0x4f6fa8(0x19b)],{'tag':_0x4f6fa8(0x1c9),'attributes':{'class':[_0x4f6fa8(0x1b4),_0x4f6fa8(0x1cb)],'role':_0x4f6fa8(0x1b0)},'children':_0x5e0ccd}]};}[_0x374234(0x18e)](){const _0x492e55=_0x374234;this[_0x492e55(0x19e)][_0x492e55(0x18e)]();}[_0x374234(0x1ba)](){const _0x344095=_0x374234;return this[_0x344095(0x19f)][_0x344095(0x1bf)]?_0x344095(0x1c1)===this[_0x344095(0x19f)][_0x344095(0x1c7)][_0x344095(0x183)][_0x344095(0x19c)]?_0x32486d(this[_0x344095(0x1b6)],_0x344095(0x178),this[_0x344095(0x19f)][_0x344095(0x19d)][_0x344095(0x199)]):_0x32486d(this[_0x344095(0x1b6)],_0x344095(0x1b5),this[_0x344095(0x19f)][_0x344095(0x19d)][_0x344095(0x199)]):null;}[_0x374234(0x1bd)](){const _0x64a8ed=_0x374234;return _0x64a8ed(0x1c1)===this[_0x64a8ed(0x19f)][_0x64a8ed(0x1c7)][_0x64a8ed(0x183)][_0x64a8ed(0x19c)]?_0x32486d(this[_0x64a8ed(0x1b6)],_0x64a8ed(0x1b3)):_0x32486d(this[_0x64a8ed(0x1b6)],_0x64a8ed(0x181));}[_0x374234(0x1a1)](_0x440327,_0x396c68,_0x2b3da2,_0x5f78a8,_0x46e1c2){const _0x33b12f=_0x374234,_0x234dab=new _0x45d865(this[_0x33b12f(0x1b6)]);return _0x234dab[_0x33b12f(0x1a5)]({'label':_0x440327,'icon':_0x396c68,'tooltip':!0x0,'tooltipPosition':_0x46e1c2}),_0x234dab[_0x33b12f(0x17c)]({'attributes':{'class':_0x2b3da2}}),_0x234dab['on'](_0x33b12f(0x1ae),()=>{const _0x2c7416=_0x33b12f;this[_0x2c7416(0x1cd)](_0x5f78a8,this[_0x2c7416(0x19f)]['id']);}),_0x234dab;}[_0x374234(0x1bc)](){const _0x21a3bb=_0x374234,_0x563d4c=this[_0x21a3bb(0x19e)];this[_0x21a3bb(0x1b8)][_0x21a3bb(0x194)](_0x563d4c);for(const _0x2d6d15 of this[_0x21a3bb(0x1ab)])this[_0x21a3bb(0x180)][_0x21a3bb(0x190)](_0x2d6d15[_0x21a3bb(0x19e)]),this[_0x21a3bb(0x1b8)][_0x21a3bb(0x194)](_0x2d6d15[_0x21a3bb(0x19e)]);this[_0x21a3bb(0x1b8)][_0x21a3bb(0x1a5)](_0x21a3bb(0x189),(_0x2b4715,_0x3ed1e9)=>{const _0x495767=_0x21a3bb;_0x563d4c===_0x2b4715[_0x495767(0x187)]&&(this[_0x495767(0x1af)][_0x495767(0x18f)](),_0x3ed1e9());}),this[_0x21a3bb(0x1b8)][_0x21a3bb(0x1a5)](_0x21a3bb(0x18b),(_0x177ff2,_0x2b55b5)=>{const _0x3012cf=_0x21a3bb;_0x563d4c!==_0x177ff2[_0x3012cf(0x187)]&&(this[_0x3012cf(0x18e)](),_0x2b55b5());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3d85(_0x42e306,_0x389d15){const _0x543b24=_0x543b();return _0x3d85=function(_0x3d8537,_0x481987){_0x3d8537=_0x3d8537-0x161;let _0x4fcb10=_0x543b24[_0x3d8537];return _0x4fcb10;},_0x3d85(_0x42e306,_0x389d15);}const _0x55fb79=_0x3d85;(function(_0x555324,_0x5c0054){const _0x42adc5=_0x3d85,_0x16d4a8=_0x555324();while(!![]){try{const _0x2b1176=parseInt(_0x42adc5(0x170))/0x1*(parseInt(_0x42adc5(0x17b))/0x2)+-parseInt(_0x42adc5(0x175))/0x3+parseInt(_0x42adc5(0x17d))/0x4+parseInt(_0x42adc5(0x168))/0x5+-parseInt(_0x42adc5(0x16a))/0x6*(-parseInt(_0x42adc5(0x174))/0x7)+-parseInt(_0x42adc5(0x17c))/0x8*(parseInt(_0x42adc5(0x16b))/0x9)+-parseInt(_0x42adc5(0x162))/0xa;if(_0x2b1176===_0x5c0054)break;else _0x16d4a8['push'](_0x16d4a8['shift']());}catch(_0x359350){_0x16d4a8['push'](_0x16d4a8['shift']());}}}(_0x543b,0x52577));import{View as _0x40bb10}from'ckeditor5/src/ui.js';function _0x543b(){const _0x5af29b=['options','dialogRects','focus','fire','20514SoDkIf','16ZFSpzG','1424912dGYHlc','setTemplate','data-ck-root-name','style','classes','ck-reset','element','4198070SIRBPo','setAttribute','div','\x20ck-track-changes-preview__root-container','height','innerHTML','1364870rtIKPI','ck-track-changes-preview','6kyhazb','561960SRYgxg','previewDataReady','render','push','content','9inaVfU','width','setPreviewData','createElement','2834405zPAsgl','733416JXgdwH','className'];_0x543b=function(){return _0x5af29b;};return _0x543b();}export class TrackChangesPreviewView extends _0x40bb10{[_0x55fb79(0x177)];constructor(_0x60f9e7,_0x4bb561){const _0x5a37b6=_0x55fb79;super(_0x60f9e7),this[_0x5a37b6(0x177)]=_0x4bb561,this[_0x5a37b6(0x17e)]({'tag':_0x5a37b6(0x164),'attributes':{'class':['ck',_0x5a37b6(0x182),_0x5a37b6(0x169)],'tabindex':-0x1}});}[_0x55fb79(0x16d)](){const _0x846062=_0x55fb79;super[_0x846062(0x16d)](),this[_0x846062(0x161)][_0x846062(0x180)][_0x846062(0x171)]=this[_0x846062(0x177)][_0x846062(0x178)][_0x846062(0x171)]+'px',this[_0x846062(0x161)][_0x846062(0x180)][_0x846062(0x166)]=this[_0x846062(0x177)][_0x846062(0x178)][_0x846062(0x166)]+'px';}[_0x55fb79(0x172)](_0x5ecc24,_0xf857b1){const _0x373d90=_0x55fb79;if(!this[_0x373d90(0x161)])return;const _0x179347=[];for(const [_0x296662,_0x591426]of _0x5ecc24){const _0x47f5d9=document[_0x373d90(0x173)](_0x373d90(0x164));_0x47f5d9[_0x373d90(0x163)](_0x373d90(0x17f),_0x296662),_0x47f5d9[_0x373d90(0x176)]=_0x591426[_0x373d90(0x181)]+_0x373d90(0x165),_0x47f5d9[_0x373d90(0x167)]=_0x591426[_0x373d90(0x16f)],_0x179347[_0x373d90(0x16e)](_0x47f5d9);}_0xf857b1(this[_0x373d90(0x161)],_0x179347),this[_0x373d90(0x161)][_0x373d90(0x180)][_0x373d90(0x166)]='',this[_0x373d90(0x17a)](_0x373d90(0x16c));}[_0x55fb79(0x179)](){const _0x8e9cb9=_0x55fb79;this[_0x8e9cb9(0x161)][_0x8e9cb9(0x179)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4a3130,_0x2fecbc,_0x253c69){const _0x1f4c36=_0x4a3130['t'],t=_0x4a3130['t'];switch(_0x2fecbc){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',_0x253c69);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x253c69);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x253c69);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x253c69);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x253c69);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',_0x253c69);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x253c69);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',_0x253c69);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x253c69);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x253c69);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x253c69);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x253c69);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x253c69);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x253c69);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x253c69);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x253c69);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x253c69);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x253c69);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x253c69);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x253c69);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x253c69);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x253c69);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x253c69);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x253c69);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x253c69);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'},_0x253c69);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x253c69);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x253c69);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x253c69);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x253c69);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x253c69);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x253c69);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x253c69);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'},_0x253c69);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x253c69);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x253c69);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x253c69);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x253c69);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'},_0x253c69);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x253c69);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'},_0x253c69);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x253c69);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x253c69);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'},_0x253c69);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x253c69);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'},_0x253c69);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x253c69);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x253c69);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x253c69);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x253c69);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x253c69);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'},_0x253c69);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x253c69);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 _0x1f4c36({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x253c69);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1f4c36({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x253c69);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x253c69);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'},_0x253c69);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'},_0x253c69);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'},_0x253c69);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2fecbc;}}
|
|
23
|
+
export function getTranslation(_0x1bf613,_0x28aebc,_0x5095c7){const _0x79987c=_0x1bf613['t'],t=_0x1bf613['t'];switch(_0x28aebc){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',_0x5095c7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5095c7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5095c7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5095c7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5095c7);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',_0x5095c7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5095c7);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',_0x5095c7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5095c7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5095c7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5095c7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5095c7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5095c7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5095c7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5095c7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5095c7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5095c7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5095c7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5095c7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5095c7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5095c7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5095c7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5095c7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5095c7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5095c7);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'},_0x5095c7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5095c7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5095c7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5095c7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5095c7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5095c7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5095c7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5095c7);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'},_0x5095c7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5095c7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5095c7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5095c7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5095c7);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'},_0x5095c7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5095c7);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'},_0x5095c7);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5095c7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5095c7);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'},_0x5095c7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5095c7);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'},_0x5095c7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5095c7);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x5095c7);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x5095c7);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x5095c7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5095c7);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'},_0x5095c7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5095c7);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 _0x79987c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5095c7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x79987c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5095c7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5095c7);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'},_0x5095c7);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'},_0x5095c7);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'},_0x5095c7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x28aebc;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5766c8,_0x740359){const _0x4a40bb=_0x120c,_0x1ae90a=_0x5766c8();while(!![]){try{const _0x21bfc7=-parseInt(_0x4a40bb(0xb6))/0x1+-parseInt(_0x4a40bb(0xb0))/0x2*(-parseInt(_0x4a40bb(0xbe))/0x3)+parseInt(_0x4a40bb(0xce))/0x4+-parseInt(_0x4a40bb(0xa7))/0x5+parseInt(_0x4a40bb(0xd1))/0x6+parseInt(_0x4a40bb(0xb5))/0x7+-parseInt(_0x4a40bb(0xc8))/0x8;if(_0x21bfc7===_0x740359)break;else _0x1ae90a['push'](_0x1ae90a['shift']());}catch(_0x52f54d){_0x1ae90a['push'](_0x1ae90a['shift']());}}}(_0x1665,0xd4e83));export function normalizeDescription(_0x3ff3e2){const _0x559d02=_0x120c;return Array[_0x559d02(0xa1)](_0x3ff3e2)||(_0x3ff3e2=[_0x3ff3e2]),_0x3ff3e2[_0x559d02(0xa6)](_0x14553f=>{const _0x3a4ffe=_0x559d02,_0x5b3559=_0x14553f[_0x3a4ffe(0xae)][_0x3a4ffe(0xc0)](/\*/g,''),_0x558f96=_0x14553f[_0x3a4ffe(0xaf)]?_0x3a4ffe(0xb8)+_0x14553f[_0x3a4ffe(0xaf)][_0x3a4ffe(0xd0)]+']':'';return'['+_0x14553f[_0x3a4ffe(0xcc)]+']\x20'+_0x5b3559+_0x558f96;})[_0x559d02(0xa8)](';\x20');}export function renderDescription(_0x4eb91d,_0x52d97f){const _0x52d5b4=_0x120c;let _0x521f77='';return _0x521f77+=_0x4eb91d[_0x52d5b4(0xbc)]('*')[_0x52d5b4(0xa6)]((_0x627a1d,_0x39c646)=>_0x39c646%0x2!=0x0?_0x52d5b4(0xba)+rn(_0x627a1d)+_0x52d5b4(0xb2):rn(_0x627a1d))[_0x52d5b4(0xa8)](''),_0x52d97f&&(_0x521f77+=_0x52d5b4(0xcb)+_0x52d97f[_0x52d5b4(0xd0)]+_0x52d5b4(0xc2)+_0x52d97f[_0x52d5b4(0xaa)]+_0x52d5b4(0xcf)),_0x521f77;}function _0x120c(_0x2b7835,_0x1dcd4a){const _0x16658f=_0x1665();return _0x120c=function(_0x120cfc,_0x8b48a0){_0x120cfc=_0x120cfc-0x9d;let _0x5d74bd=_0x16658f[_0x120cfc];return _0x5d74bd;},_0x120c(_0x2b7835,_0x1dcd4a);}function rn(_0x1cc329){const _0x3b7cae=_0x120c,_0x4cf44c=document[_0x3b7cae(0xc3)](_0x3b7cae(0xbb));return _0x4cf44c[_0x3b7cae(0xa5)]=_0x1cc329,_0x4cf44c[_0x3b7cae(0xbf)];}function _0x1665(){const _0x37eb15=['10347652EOFxLW','831195bILtil','execute','\x20[color\x20','isIntersecting','<span\x20class=\x22ck-suggestion-type\x22>','span','split','isMultiRange','53283QZuqXe','innerHTML','replace','next','\x22\x20title=\x22','createElement','end','createPositionAt','getRanges','add','10517712yZjzes','isCollapsed','from','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','type','length','1237640MABIid','\x22></span>','value','6670230QkSntM','createPositionAfter','schema','createPositionBefore','start','isArray','isInContent','push','isTouching','innerText','map','2426245wBuvdQ','join','isObject','title','change','deletion','sort','content','color','68ehrhdQ','createRange','</span>','attribute','splice'];_0x1665=function(){return _0x37eb15;};return _0x1665();}export function sortSuggestions(_0x32d082){const _0x481ed4=_0x120c;return _0x32d082[_0x481ed4(0xad)]((_0x8de68,_0x52cb52)=>_0x481ed4(0xb3)===_0x8de68[_0x481ed4(0xcc)]&&_0x481ed4(0xb3)!==_0x52cb52[_0x481ed4(0xcc)]?-0x1:_0x481ed4(0xb3)!==_0x8de68[_0x481ed4(0xcc)]&&_0x481ed4(0xb3)===_0x52cb52[_0x481ed4(0xcc)]?0x1:_0x481ed4(0xac)==_0x8de68[_0x481ed4(0xcc)]&&_0x481ed4(0xac)!=_0x52cb52[_0x481ed4(0xcc)]?-0x1:_0x481ed4(0xac)!=_0x8de68[_0x481ed4(0xcc)]&&_0x481ed4(0xac)==_0x52cb52[_0x481ed4(0xcc)]?0x1:0x0);}export function getSelectedSuggestions(_0x3700f7,_0x3cec46){const _0x40649a=_0x120c,_0x304496=Array[_0x40649a(0xca)](_0x3700f7[_0x40649a(0xc6)]()),_0x3ee308=new Set();for(const _0x17696e of _0x3cec46)if(_0x17696e[_0x40649a(0xa2)]){for(const _0x48417c of _0x304496)for(const _0x48c402 of _0x17696e[_0x40649a(0xc6)]())(_0x48417c[_0x40649a(0xb9)](_0x48c402)||_0x3700f7[_0x40649a(0xc9)]&&!_0x17696e[_0x40649a(0xbd)]&&_0x17696e[_0x40649a(0xc1)]&&_0x48c402[_0x40649a(0xc4)][_0x40649a(0xa4)](_0x48417c[_0x40649a(0xa0)]))&&_0x3ee308[_0x40649a(0xc7)](_0x17696e);}return _0x3ee308;}export function getRangesOfBlockGroups(_0x5cdfae,_0x439d72){const _0x4e5061=_0x120c;let _0x2ee3e5,_0x56404d=0x0;const _0x12a001=[],_0x44dd2e=_0x439d72[_0x4e5061(0x9e)];for(;_0x56404d<_0x5cdfae[_0x4e5061(0xcd)];){const _0x34a23b=_0x5cdfae[_0x56404d],_0x1ecd97=_0x5cdfae[_0x56404d+0x1];_0x2ee3e5||(_0x2ee3e5=_0x439d72[_0x4e5061(0x9f)](_0x34a23b)),cn(_0x439d72,_0x34a23b,_0x1ecd97)||(_0x12a001[_0x4e5061(0xa3)](_0x439d72[_0x4e5061(0xb1)](_0x2ee3e5,_0x44dd2e[_0x4e5061(0xa9)](_0x34a23b)?_0x439d72[_0x4e5061(0x9d)](_0x34a23b):_0x439d72[_0x4e5061(0xc5)](_0x34a23b,_0x4e5061(0xc4)))),_0x2ee3e5=null),_0x56404d++;}return _0x12a001;}function cn(_0x1f5268,_0x2a74d1,_0x47083b){const _0x41a34a=_0x120c;if(!_0x47083b)return!0x1;const _0x1c0ac4=_0x1f5268[_0x41a34a(0x9d)](_0x2a74d1),_0x4010ca=_0x1f5268[_0x41a34a(0x9f)](_0x47083b);return _0x1c0ac4[_0x41a34a(0xa4)](_0x4010ca);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3c5356,_0xe2fef4,_0xdb62d1){const _0x424394=_0x120c;for(;_0xdb62d1[_0x424394(0xcd)];){const _0x5de864=_0xdb62d1[_0x424394(0xb4)](0x0,0x64);_0x3c5356[_0x424394(0xab)](()=>{const _0x159d37=_0x424394;for(const _0x5b4291 of _0x5de864)_0x5b4291[_0x159d37(0xa2)]&&_0xe2fef4[_0x159d37(0xb7)](_0x5b4291['id']);});}}
|