@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250209.0 → 0.0.0-nightly-20250211.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- 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/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 +25 -25
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/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/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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 _0x3d913f=_0x29ff;function _0x29ff(_0x430e1c,_0x30c0be){const _0x5b5451=_0x5b54();return _0x29ff=function(_0x29ff5b,_0xca8c4e){_0x29ff5b=_0x29ff5b-0x17f;let _0x25ffcb=_0x5b5451[_0x29ff5b];return _0x25ffcb;},_0x29ff(_0x430e1c,_0x30c0be);}(function(_0xa1fd61,_0x398eae){const _0x12231f=_0x29ff,_0x274ac7=_0xa1fd61();while(!![]){try{const _0x13b6a1=-parseInt(_0x12231f(0x184))/0x1*(parseInt(_0x12231f(0x183))/0x2)+parseInt(_0x12231f(0x189))/0x3+-parseInt(_0x12231f(0x190))/0x4+parseInt(_0x12231f(0x18b))/0x5*(-parseInt(_0x12231f(0x181))/0x6)+-parseInt(_0x12231f(0x192))/0x7*(-parseInt(_0x12231f(0x187))/0x8)+-parseInt(_0x12231f(0x188))/0x9*(-parseInt(_0x12231f(0x185))/0xa)+parseInt(_0x12231f(0x18d))/0xb;if(_0x13b6a1===_0x398eae)break;else _0x274ac7['push'](_0x274ac7['shift']());}catch(_0x4bba66){_0x274ac7['push'](_0x274ac7['shift']());}}}(_0x5b54,0x8a0a4));import{Plugin as _0x3f1742}from'ckeditor5/src/core.js';import{Dialog as _0x16dbb6}from'ckeditor5/src/ui.js';import _0x1a2aa9 from'./trackchangesdata.js';import _0x123309 from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x5b54(){const _0x36095d=['commands','24ZZmobS','3166866Rpcjet','1195509EKXvaL','trackChanges.preview.renderFunction','5BjSUKJ','config','5548246MhsOrE','editor','add','4328516BzOLXK','pluginName','2233427WjNhdp','requires','TrackChangesPreview','isOfficialPlugin','previewFinalContent','isPremiumPlugin','define','2976864RAkoPe','appendChild','220574NKQVpp','7PEVWYZ','30aiMGms'];_0x5b54=function(){return _0x36095d;};return _0x5b54();}export default class te extends _0x3f1742{static get[_0x3d913f(0x193)](){return[_0x1a2aa9,_0x16dbb6];}static get[_0x3d913f(0x191)](){const _0x4b8ab5=_0x3d913f;return _0x4b8ab5(0x194);}static get[_0x3d913f(0x195)](){return!0x0;}static get[_0x3d913f(0x17f)](){return!0x0;}constructor(_0xb5eddd){const _0x5c4e9d=_0x3d913f;super(_0xb5eddd),_0xb5eddd[_0x5c4e9d(0x186)][_0x5c4e9d(0x18f)](_0x5c4e9d(0x196),new _0x123309(this[_0x5c4e9d(0x18e)])),_0xb5eddd[_0x5c4e9d(0x18c)][_0x5c4e9d(0x180)](_0x5c4e9d(0x18a),(_0x288610,_0x2599c8)=>{const _0x105c4d=_0x5c4e9d;for(const _0xfdb6e0 of _0x2599c8)_0x288610[_0x105c4d(0x182)](_0xfdb6e0);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x10a5fb=_0x3e5b;(function(_0x33b890,_0x898ad8){const _0x3774d8=_0x3e5b,_0x46e028=_0x33b890();while(!![]){try{const _0x2693be=parseInt(_0x3774d8(0x17f))/0x1*(-parseInt(_0x3774d8(0x17b))/0x2)+-parseInt(_0x3774d8(0x12f))/0x3*(-parseInt(_0x3774d8(0x163))/0x4)+parseInt(_0x3774d8(0x10a))/0x5*(-parseInt(_0x3774d8(0x148))/0x6)+parseInt(_0x3774d8(0x18a))/0x7+parseInt(_0x3774d8(0x113))/0x8+parseInt(_0x3774d8(0x122))/0x9*(parseInt(_0x3774d8(0x195))/0xa)+parseInt(_0x3774d8(0xe7))/0xb*(-parseInt(_0x3774d8(0x187))/0xc);if(_0x2693be===_0x898ad8)break;else _0x46e028['push'](_0x46e028['shift']());}catch(_0x59ba33){_0x46e028['push'](_0x46e028['shift']());}}}(_0x37ac,0x6d2dd));import{Plugin as _0x37e3a4}from'ckeditor5/src/core.js';import{Collection as _0x28ed04}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x42d240,createDropdown as _0x158233,ListSeparatorView as _0x52aa5a,MenuBarMenuView as _0x3a0e7c,MenuBarMenuListView as _0x40bcd0,MenuBarMenuListItemView as _0x377fc9,MenuBarMenuListItemButtonView as _0x3b0067,SplitButtonView as _0x1730bd,ViewModel as _0x248f5b}from'ckeditor5/src/ui.js';import{Users as _0x4f87d6,getDateTimeFormatter as _0x827a17,getAllMarkersDomElementsSorted as _0x429c44}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x47bc14 from'./trackchangesediting.js';import _0x471815 from'./ui/suggestioncontroller.js';import _0x576e1c from'./ui/view/suggestionthreadview.js';import _0x170713 from'./ui/view/suggestionview.js';import{getTranslation as _0x4cf73c}from'./utils/common-translations.js';import _0x5c0436 from'../theme/icons/track-changes.svg';function _0x37ac(){const _0x1f8539=['acceptButton','_unbindEditors','isDirty','createCommentThreadController','delete','editor','_destroyController','editing','trackChangesLicenseKeyEvaluationLimit','componentFactory','Discard\x20all\x20suggestions','delegate','mainView','_refreshActiveMarkers','evaluationLimit','source','getDescriptions','discardButton','unbind','view','trackChangesLicenseKeyValid','push','comments.maxCommentCharsWhenCollapsed','comments.maxThreadTotalWeight','Track\x20changes','acceptAllSuggestions','isInContent','20rkfSco','pluginName','_suggestionToController','comments.editorConfig','stopListening','trialLimit','children','plugins','commands','6641712IpNxkh','TrackChangesUI','getRanges','suggestionChanged','SuggestionView','trackChangesLicenseKeyDomainLimit','_viewToController','acceptSelectedSuggestions','execute','getFirstRange','Accept\x20all\x20suggestions','change:previous','locale','reduce','CommentsRepository','585pmZbqd','_addUIComponentsToFactory','licenseKey','type','some','isMultiRange','_showLicenseError','separator','_licenseKeyCheckInterval','menu','button','EditorAnnotations','isOn','9351sxZmTU','keys','CommentsUI','Accept\x20all\x20selected\x20suggestions','getSuggestion','arrowView','TrackChangesPreview','previewFinalContent','menuitem','_disableComments','getByInnerView','addSourceCollector','trackChanges','CommentView','focus','escape','trackChangesLicenseKeyExpired','_createToolbarButton','_initializeController','trackChangesLicenseKeyTrialLimit','suggestionLoaded','comments.maxCommentsWhenCollapsed','suggestion-','commandName','clear','37446sgQjKD','getJoined','addComment','listenTo','actionView','has','define','trackChangesLicenseKeyNotAllowed','fire','destroy','featureNotAllowed','expired','isOfficialPlugin','isPremiumPlugin','_updateController','TrackChangesEditing','menuBar:trackChanges','model','panelView','suggestionUnloaded','bind','activeAnnotations','values','lowest','discardSelectedSuggestions','domainLimit','_annotationViews','296CnWPRP','innerView','descriptionParts','refreshSelectedViews','_handleControllerBuffer','config','set','get','createAnnotationView','Annotations','descriptionFactory','change:activeAnnotations','previous','invalid','trackChanges.SuggestionView','trackChanges.SuggestionThreadView','remove','commentsListView','items','comments','_handleSuggestionControllerDelayed','head','getMarkerNames','length','735598qNmKaP','switchbutton','TrackChanges','registerAnnotation','1bDvnin','init','commentThread','trackChangesLicenseKeyUsageLimit','menuitemcheckbox','trackChanges.disableComments','getAllAdjacentSuggestions','getMarkers','1140eMAzbK','_createMenuBarMenu','usageLimit','4186VCmIJu','Discard\x20all\x20selected\x20suggestions','SuggestionThreadView','suggestionView','requires','add','discardAllSuggestions','isEnabled','createAnnotation','hasSuggestion','filter','73330ynjddY','from','value','_bindAnnotationToEditors','80839ywPFcu','activeMarkers','Preview\x20final\x20content','buttonView','toMany','addMany','trackChangesLicenseKeyInvalid','size'];_0x37ac=function(){return _0x1f8539;};return _0x37ac();}function _0x3e5b(_0x4d66c1,_0x47e883){const _0x37ac28=_0x37ac();return _0x3e5b=function(_0x3e5bce,_0xd4e927){_0x3e5bce=_0x3e5bce-0xe5;let _0x473731=_0x37ac28[_0x3e5bce];return _0x473731;},_0x3e5b(_0x4d66c1,_0x47e883);}export default class d extends _0x37e3a4{static get[_0x10a5fb(0x18e)](){const _0x1246f0=_0x10a5fb;return[_0x47bc14,_0x4f87d6,_0x1246f0(0x121),_0x1246f0(0x16c),_0x1246f0(0x12d)];}static get[_0x10a5fb(0x10b)](){const _0x41e305=_0x10a5fb;return _0x41e305(0x114);}static get[_0x10a5fb(0x154)](){return!0x0;}static get[_0x10a5fb(0x155)](){return!0x0;}constructor(_0x340657){const _0x785213=_0x10a5fb;super(_0x340657),this[_0x785213(0x10c)]=new Map(),this[_0x785213(0x119)]=new Map(),this[_0x785213(0x162)]=new Map(),this[_0x785213(0x167)]=new Map();const _0x4774a9=this[_0x785213(0xf4)][_0x785213(0x168)];_0x4774a9[_0x785213(0x14e)](_0x785213(0x172),_0x576e1c),_0x4774a9[_0x785213(0x14e)](_0x785213(0x171),_0x170713),_0x4774a9[_0x785213(0x14e)](_0x785213(0x184),!0x1),this[_0x785213(0x138)]=_0x4774a9[_0x785213(0x16a)](_0x785213(0x184));}[_0x10a5fb(0x177)](_0x19fe38,_0x4371f5){const _0x374d60=_0x10a5fb;0x0===this[_0x374d60(0x167)][_0x374d60(0xee)]&&setTimeout(()=>{const _0x1fc03c=_0x374d60;for(const [_0x20a5ef,_0x620a93]of this[_0x1fc03c(0x167)]){const _0x4e9590=this[_0x1fc03c(0x10c)][_0x1fc03c(0x14d)](_0x20a5ef);_0x4e9590||_0x620a93?_0x4e9590&&_0x620a93&&this[_0x1fc03c(0xf5)](_0x20a5ef):this[_0x1fc03c(0x141)](_0x20a5ef);}this[_0x1fc03c(0x167)][_0x1fc03c(0x147)](),this[_0x1fc03c(0xf4)][_0x1fc03c(0x111)][_0x1fc03c(0x16a)](_0x1fc03c(0x12d))[_0x1fc03c(0x166)](),this[_0x1fc03c(0xfc)]();},0xa),this[_0x374d60(0x167)][_0x374d60(0x169)](_0x19fe38,_0x4371f5);}[_0x10a5fb(0x180)](){const _0x5ce273=_0x10a5fb,_0x4ced59=this[_0x5ce273(0xf4)],_0x57882d=_0x4ced59[_0x5ce273(0x111)][_0x5ce273(0x16a)](_0x5ce273(0x157)),_0x1fd00d=_0x4ced59[_0x5ce273(0x111)][_0x5ce273(0x16a)](_0x5ce273(0x16c)),_0x113805=_0x4ced59[_0x5ce273(0x111)][_0x5ce273(0x16a)](_0x5ce273(0x12d)),_0x3e1f47=_0x4ced59[_0x5ce273(0x111)][_0x5ce273(0x16a)](_0x5ce273(0x121));this[_0x5ce273(0x123)](),_0x113805[_0x5ce273(0x13a)](()=>{const _0x1bf441=_0x5ce273,_0x958c5c=[];for(const [_0x4a957b,_0x3a6de7]of Array[_0x1bf441(0x196)](this[_0x1bf441(0x10c)])){const _0x5394c2=_0x4a957b[_0x1bf441(0x185)](),_0x3f7276=[];for(const _0x24fcaf of _0x5394c2){if(!_0x24fcaf[_0x1bf441(0x109)])continue;if(_0x24fcaf[_0x1bf441(0x127)]){_0x3f7276[_0x1bf441(0x104)](..._0x24fcaf[_0x1bf441(0x115)]());continue;}const _0x4fd04f=_0x24fcaf[_0x1bf441(0x11c)]();if(_0x3f7276[_0x1bf441(0x17a)]>0x0){const _0x3dee94=_0x3f7276[0x0][_0x1bf441(0x149)](_0x4fd04f);if(_0x3dee94){_0x3f7276[0x0]=_0x3dee94;continue;}}_0x3f7276[_0x1bf441(0x104)](_0x4fd04f);}_0x958c5c[_0x1bf441(0x104)]([_0x3a6de7[_0x1bf441(0x102)],_0x3f7276]);}return _0x958c5c;}),this[_0x5ce273(0x14b)](_0x57882d,_0x5ce273(0x143),(_0x8895e7,_0x5c2fdb)=>{const _0x31b59e=_0x5ce273;this[_0x31b59e(0x14b)](_0x5c2fdb,_0x31b59e(0x11e),(_0x3424d8,_0x7e4d63,_0x15d462,_0x18bd9b)=>{const _0x52388b=_0x31b59e;_0x5c2fdb[_0x52388b(0x109)]&&(null==_0x15d462?(this[_0x52388b(0x156)](_0x18bd9b[_0x52388b(0x178)]),this[_0x52388b(0x177)](_0x5c2fdb,!0x1)):(this[_0x52388b(0x156)](_0x15d462[_0x52388b(0x178)]),null==_0x18bd9b&&this[_0x52388b(0x177)](_0x5c2fdb,!0x0)));}),null!==_0x5c2fdb[_0x31b59e(0x16f)]?this[_0x31b59e(0x156)](_0x5c2fdb[_0x31b59e(0x178)]):this[_0x31b59e(0x177)](_0x5c2fdb,!0x1);}),this[_0x5ce273(0x14b)](_0x57882d,_0x5ce273(0x15b),(_0x3582b4,_0x53d816,_0x295aee)=>{const _0x1c2028=_0x5ce273;this[_0x1c2028(0x10e)](_0x53d816,_0x1c2028(0x11e)),this[_0x1c2028(0x167)][_0x1c2028(0xf3)](_0x53d816),this[_0x1c2028(0x10c)][_0x1c2028(0x14d)](_0x53d816)&&this[_0x1c2028(0xf5)](_0x53d816),_0x295aee&&this[_0x1c2028(0x156)](_0x295aee[_0x1c2028(0x178)]);}),this[_0x5ce273(0x14b)](_0x57882d,_0x5ce273(0x116),(_0x30ccf4,_0x3817ec)=>{const _0x3efb95=_0x5ce273;this[_0x3efb95(0x156)](_0x3817ec);}),this[_0x5ce273(0x14b)](_0x1fd00d,_0x5ce273(0x16e),()=>{const _0x3c0b87=_0x5ce273;this[_0x3c0b87(0xfc)]();}),this[_0x5ce273(0x14b)](_0x3e1f47,_0x5ce273(0x14a),(_0x38f4f0,{threadId:_0x5a02d9,isFromAdapter:_0x462b87})=>{const _0xe6f74a=_0x5ce273;if(_0x462b87||!_0x57882d[_0xe6f74a(0x193)](_0x5a02d9))return;const _0x271adc=_0x57882d[_0xe6f74a(0x133)](_0x5a02d9);this[_0xe6f74a(0x10c)][_0xe6f74a(0x16a)](_0x271adc)[_0xe6f74a(0x102)][_0xe6f74a(0x174)][_0xe6f74a(0x13d)](-0x1);},{'priority':_0x5ce273(0x15f)}),this[_0x5ce273(0x124)]=this[_0x5ce273(0xf4)][_0x5ce273(0x168)][_0x5ce273(0x16a)](_0x5ce273(0x124));const _0x505e83=this[_0x5ce273(0xf4)];this[_0x5ce273(0x12a)]=setInterval(()=>{const _0x40013d=_0x5ce273;let _0x2b9552;for(const _0x3dbb79 in _0x505e83){const _0x337de0=_0x3dbb79,_0x440bd9=_0x505e83[_0x337de0];if(_0x40013d(0x103)==_0x440bd9||_0x40013d(0xed)==_0x440bd9||_0x40013d(0x13f)==_0x440bd9||_0x40013d(0x118)==_0x440bd9||_0x40013d(0x14f)==_0x440bd9||_0x40013d(0xf7)==_0x440bd9||_0x40013d(0x142)==_0x440bd9||_0x40013d(0x182)==_0x440bd9){delete _0x505e83[_0x337de0],_0x2b9552=_0x440bd9,clearInterval(this[_0x40013d(0x12a)]),this[_0x40013d(0x12a)]=void 0x0;break;}}_0x40013d(0xed)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0x170)),_0x40013d(0x13f)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0x153)),_0x40013d(0x118)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0x161)),_0x40013d(0x14f)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0x152),_0x40013d(0x17d)),_0x40013d(0xf7)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0xfd)),_0x40013d(0x142)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0x10f)),_0x40013d(0x182)==_0x2b9552&&_0x505e83[_0x40013d(0x128)](_0x40013d(0x189));},0x3e8);}[_0x10a5fb(0xfc)](){const _0x2340d0=_0x10a5fb,_0x2dc14d=this[_0x2340d0(0xf4)][_0x2340d0(0x111)][_0x2340d0(0x16a)](_0x2340d0(0x16c)),_0x5882d6=this[_0x2340d0(0xf4)][_0x2340d0(0x111)][_0x2340d0(0x16a)](_0x2340d0(0x157)),_0x4e3104=Array[_0x2340d0(0x196)](_0x2dc14d[_0x2340d0(0x15d)],_0x29a1dc=>_0x29a1dc[_0x2340d0(0x164)])[_0x2340d0(0x194)](_0x596103=>this[_0x2340d0(0x119)][_0x2340d0(0x14d)](_0x596103)),_0x3b01b7=[];for(const _0x4f9e90 of _0x4e3104){const _0x1f2700=this[_0x2340d0(0x119)][_0x2340d0(0x16a)](_0x4f9e90)[_0x2340d0(0x159)][_0x2340d0(0x185)]();_0x3b01b7[_0x2340d0(0x104)](..._0x1f2700[_0x2340d0(0x120)]((_0x140c1a,_0x23dc22)=>[..._0x140c1a,..._0x23dc22[_0x2340d0(0x179)]()],[]));}_0x5882d6[_0x2340d0(0xe8)]=_0x3b01b7;}[_0x10a5fb(0x123)](){const _0x1f8e9e=_0x10a5fb,_0x36d44c=this[_0x1f8e9e(0xf4)],_0x15c344=_0x36d44c[_0x1f8e9e(0x11f)],_0x471c90=_0x4cf73c(_0x15c344,_0x1f8e9e(0x107)),_0xb69c7a=new _0x28ed04([{'type':_0x1f8e9e(0x17c),'model':new _0x248f5b({'withText':!0x0,'isToggleable':!0x0,'label':_0x471c90,'commandName':_0x1f8e9e(0x13b),'role':_0x1f8e9e(0x183)})},{'type':_0x1f8e9e(0x129)},{'type':_0x1f8e9e(0x12c),'model':new _0x248f5b({'withText':!0x0,'label':_0x4cf73c(_0x15c344,_0x1f8e9e(0x11d)),'commandName':_0x1f8e9e(0x108),'role':_0x1f8e9e(0x137)})},{'type':_0x1f8e9e(0x12c),'model':new _0x248f5b({'withText':!0x0,'label':_0x4cf73c(_0x15c344,_0x1f8e9e(0x132)),'commandName':_0x1f8e9e(0x11a),'role':_0x1f8e9e(0x137)})},{'type':_0x1f8e9e(0x12c),'model':new _0x248f5b({'withText':!0x0,'label':_0x4cf73c(_0x15c344,_0x1f8e9e(0xf9)),'commandName':_0x1f8e9e(0x190),'role':_0x1f8e9e(0x137)})},{'type':_0x1f8e9e(0x12c),'model':new _0x248f5b({'withText':!0x0,'label':_0x4cf73c(_0x15c344,_0x1f8e9e(0x18b)),'commandName':_0x1f8e9e(0x160),'role':_0x1f8e9e(0x137)})}]);_0x36d44c[_0x1f8e9e(0x111)][_0x1f8e9e(0x14d)](_0x1f8e9e(0x135))&&_0xb69c7a[_0x1f8e9e(0xec)]([{'type':_0x1f8e9e(0x129)},{'type':_0x1f8e9e(0x12c),'model':new _0x248f5b({'withText':!0x0,'label':_0x4cf73c(_0x15c344,_0x1f8e9e(0xe9)),'commandName':_0x1f8e9e(0x136),'role':_0x1f8e9e(0x137)})}]);for(const _0x492f08 of _0xb69c7a)if(ke(_0x492f08)){const _0xbc4bf6=_0x36d44c[_0x1f8e9e(0x112)][_0x1f8e9e(0x16a)](_0x492f08[_0x1f8e9e(0x159)][_0x1f8e9e(0x146)]);_0x492f08[_0x1f8e9e(0x159)][_0x1f8e9e(0x15c)](_0x1f8e9e(0x12e),_0x1f8e9e(0x191))['to'](_0xbc4bf6,_0x1f8e9e(0xe5),_0x1f8e9e(0x191));}_0x36d44c['ui'][_0x1f8e9e(0xf8)][_0x1f8e9e(0x18f)](_0x1f8e9e(0x13b),_0x559b44=>this[_0x1f8e9e(0x140)](_0x559b44,_0xb69c7a,_0x471c90)),_0x36d44c['ui'][_0x1f8e9e(0xf8)][_0x1f8e9e(0x18f)](_0x1f8e9e(0x158),_0x176df0=>this[_0x1f8e9e(0x188)](_0x176df0,_0xb69c7a,_0x471c90));}[_0x10a5fb(0x140)](_0x1aea0c,_0x5db5cb,_0x179503){const _0x23691f=_0x10a5fb,_0x3cd816=_0x158233(_0x1aea0c,_0x1730bd),_0x2bce22=this[_0x23691f(0xf4)][_0x23691f(0x112)][_0x23691f(0x16a)](_0x23691f(0x13b));_0x3cd816[_0x23691f(0xea)][_0x23691f(0x169)]({'tooltip':_0x179503,'label':_0x179503,'icon':_0x5c0436}),_0x3cd816[_0x23691f(0xea)][_0x23691f(0x15c)](_0x23691f(0x12e))['to'](_0x2bce22,_0x23691f(0xe5)),_0x3cd816[_0x23691f(0xea)]['on'](_0x23691f(0x11b),()=>{const _0x4eb975=_0x23691f;_0x2bce22[_0x4eb975(0x11b)](),this[_0x4eb975(0xf4)][_0x4eb975(0xf6)][_0x4eb975(0x102)][_0x4eb975(0x13d)]();}),_0x42d240(_0x3cd816,_0x5db5cb,{'role':_0x23691f(0x12b)});const _0x45733f=[];for(const _0x5a7dd2 of _0x5db5cb)ke(_0x5a7dd2)&&_0x45733f[_0x23691f(0x104)](this[_0x23691f(0xf4)][_0x23691f(0x112)][_0x23691f(0x16a)](_0x5a7dd2[_0x23691f(0x159)][_0x23691f(0x146)]));const _0x30365c=_0x3cd816[_0x23691f(0xea)];return _0x30365c[_0x23691f(0x14c)][_0x23691f(0x101)](_0x23691f(0x191)),_0x30365c[_0x23691f(0x134)][_0x23691f(0x101)](_0x23691f(0x191)),_0x30365c[_0x23691f(0x14c)][_0x23691f(0x15c)](_0x23691f(0x191))['to'](_0x2bce22,_0x23691f(0x191)),_0x30365c[_0x23691f(0x134)][_0x23691f(0x15c)](_0x23691f(0x191))[_0x23691f(0xeb)](_0x45733f,_0x23691f(0x191),(..._0x4fef76)=>_0x4fef76[_0x23691f(0x126)](_0x285757=>_0x285757)),_0x3cd816['on'](_0x23691f(0x11b),_0x2d05ec=>{const _0x4d7647=_0x23691f;this[_0x4d7647(0xf4)][_0x4d7647(0x11b)](_0x2d05ec[_0x4d7647(0xfe)][_0x4d7647(0x146)]),this[_0x4d7647(0xf4)][_0x4d7647(0xf6)][_0x4d7647(0x102)][_0x4d7647(0x13d)]();}),_0x3cd816;}[_0x10a5fb(0x188)](_0x238220,_0x1a1e23,_0x57d36d){const _0x515146=_0x10a5fb,_0x2e0bd0=new _0x3a0e7c(_0x238220),_0x32c3a8=this[_0x515146(0xf4)][_0x515146(0x112)][_0x515146(0x16a)](_0x515146(0x13b));_0x2e0bd0[_0x515146(0xea)][_0x515146(0x169)]({'label':_0x57d36d,'icon':_0x5c0436});const _0x2da369=new _0x40bcd0(_0x238220);for(const _0x43cbbd of _0x1a1e23){if(_0x515146(0x129)==_0x43cbbd[_0x515146(0x125)]){_0x2da369[_0x515146(0x175)][_0x515146(0x18f)](new _0x52aa5a(_0x238220));continue;}const _0x3659e0=new _0x377fc9(_0x238220,_0x2e0bd0),_0x55db1e=new _0x3b0067(_0x238220),_0x40df69=_0x43cbbd[_0x515146(0x159)];_0x55db1e[_0x515146(0x15c)](...Object[_0x515146(0x130)](_0x40df69))['to'](_0x40df69),_0x55db1e[_0x515146(0xfa)](_0x515146(0x11b))['to'](_0x2e0bd0),_0x55db1e['on'](_0x515146(0x11b),()=>{const _0x440354=_0x515146;this[_0x440354(0xf4)][_0x440354(0x11b)](_0x40df69[_0x440354(0x146)]),this[_0x440354(0xf4)][_0x440354(0xf6)][_0x440354(0x102)][_0x440354(0x13d)]();}),_0x3659e0[_0x515146(0x110)][_0x515146(0x18f)](_0x55db1e),_0x2da369[_0x515146(0x175)][_0x515146(0x18f)](_0x3659e0);}return _0x2e0bd0[_0x515146(0x15c)](_0x515146(0x191))['to'](_0x32c3a8,_0x515146(0x191)),_0x2e0bd0[_0x515146(0x15a)][_0x515146(0x110)][_0x515146(0x18f)](_0x2da369),_0x2e0bd0;}[_0x10a5fb(0x141)](_0x355455){const _0x1dfb19=_0x10a5fb,_0x44177a=this[_0x1dfb19(0xf4)],_0x3f6ee5=_0x44177a[_0x1dfb19(0x168)],_0x334bfa=_0x44177a[_0x1dfb19(0x111)][_0x1dfb19(0x16a)](_0x1dfb19(0x16c)),_0x19d466=_0x44177a[_0x1dfb19(0x111)][_0x1dfb19(0x16a)](_0x1dfb19(0x121)),_0x1ac673=_0x44177a[_0x1dfb19(0x111)][_0x1dfb19(0x16a)](_0x1dfb19(0x12d)),_0x5f3dcf=_0x44177a[_0x1dfb19(0x111)][_0x1dfb19(0x16a)](_0x4f87d6)['me'],_0x2aa22c=_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x13b))[_0x1dfb19(0x18c)],_0x54d63b=_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x13b))[_0x1dfb19(0x117)],{CommentsListView:_0xe62366,CommentThreadInputView:_0x34eb68}=_0x44177a[_0x1dfb19(0x111)][_0x1dfb19(0x16a)](_0x1dfb19(0x131));let _0x493e10,_0x270666,_0x10a6f7;this[_0x1dfb19(0x162)][_0x1dfb19(0x14d)](_0x355455['id'])?(_0x270666=this[_0x1dfb19(0x162)][_0x1dfb19(0x16a)](_0x355455['id']),_0x493e10=_0x270666[_0x1dfb19(0xfb)]):(_0x493e10=new _0x2aa22c(_0x44177a[_0x1dfb19(0x11f)],_0x355455,_0x5f3dcf,{'disableComments':this[_0x1dfb19(0x138)],'editorConfig':{..._0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x10d)),'licenseKey':_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x124))},'maxCommentsWhenCollapsed':_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x144)),'maxThreadTotalWeight':_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x106)),'maxCommentCharsWhenCollapsed':_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x105)),'formatDateTime':_0x827a17(_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x11f))),'CommentView':_0x3f6ee5[_0x1dfb19(0x16a)](_0x1dfb19(0x176))[_0x1dfb19(0x13c)],'CommentsListView':_0xe62366,'CommentThreadInputView':_0x34eb68,'SuggestionView':_0x54d63b}),_0x493e10[_0x1dfb19(0x18d)][_0x1dfb19(0xef)]['on'](_0x1dfb19(0x11b),()=>{const _0x1ad2d7=_0x1dfb19;_0x44177a[_0x1ad2d7(0xf6)][_0x1ad2d7(0x102)][_0x1ad2d7(0x13d)]();}),_0x493e10[_0x1dfb19(0x18d)][_0x1dfb19(0x100)]['on'](_0x1dfb19(0x11b),()=>{const _0x429fa9=_0x1dfb19;_0x44177a[_0x429fa9(0xf6)][_0x429fa9(0x102)][_0x429fa9(0x13d)]();}),_0x270666=_0x334bfa[_0x1dfb19(0x16b)](this[_0x1dfb19(0xf4)][_0x1dfb19(0x11f)],_0x493e10),_0x270666[_0x1dfb19(0x15c)](_0x1dfb19(0xf1))['to'](_0x493e10,_0x1dfb19(0xf1)),_0x270666[_0x1dfb19(0x15c)](_0x1dfb19(0x17a))['to'](_0x493e10),_0x270666[_0x1dfb19(0x15c)](_0x1dfb19(0x125))['to'](_0x493e10,_0x1dfb19(0x125),_0x43cca6=>_0x1dfb19(0x145)+_0x43cca6),_0x493e10['on'](_0x1dfb19(0x13e),()=>{const _0x456724=_0x1dfb19;_0x10a6f7[_0x456724(0x150)](_0x456724(0x13e));}),this[_0x1dfb19(0x162)][_0x1dfb19(0x169)](_0x355455['id'],_0x270666));const _0x28e0cf=_0x19d466[_0x1dfb19(0xf2)](_0x355455[_0x1dfb19(0x181)],_0x493e10),_0x23cf07=new _0x471815(_0x44177a,_0x355455,_0x493e10,_0x28e0cf),_0x1c51ae=_0x355455[_0x1dfb19(0x185)]()[_0x1dfb19(0x194)](_0x54481a=>_0x54481a[_0x1dfb19(0x109)]);_0x493e10[_0x1dfb19(0x165)]=_0x44177a[_0x1dfb19(0x111)][_0x1dfb19(0x16a)](_0x1dfb19(0x157))[_0x1dfb19(0x16d)][_0x1dfb19(0xff)](_0x1c51ae),this[_0x1dfb19(0x10c)][_0x1dfb19(0x169)](_0x355455,_0x23cf07),this[_0x1dfb19(0x119)][_0x1dfb19(0x169)](_0x493e10,_0x23cf07),_0x10a6f7=_0x334bfa[_0x1dfb19(0x192)]({'view':_0x270666,'target':()=>{const _0x30557a=_0x1dfb19,_0x4c7ac9=[],_0xd8fffc=_0x355455[_0x30557a(0x185)]()[_0x30557a(0x194)](_0x45df63=>_0x45df63[_0x30557a(0x109)]);for(const _0x26720b of _0xd8fffc)_0x4c7ac9[_0x30557a(0x104)](..._0x26720b[_0x30557a(0x186)]());return _0x429c44(_0x44177a[_0x30557a(0xf6)],_0x4c7ac9);},'type':()=>_0x1dfb19(0x145)+_0x23cf07[_0x1dfb19(0x102)][_0x1dfb19(0x125)]}),_0x19d466[_0x1dfb19(0xe6)](_0x493e10,_0x10a6f7),_0x334bfa[_0x1dfb19(0x18f)](_0x10a6f7),_0x1ac673[_0x1dfb19(0x17e)](_0x10a6f7);}[_0x10a5fb(0xf5)](_0x582cb9){const _0x39a197=_0x10a5fb,_0x1cadd6=this[_0x39a197(0xf4)][_0x39a197(0x111)][_0x39a197(0x16a)](_0x39a197(0x121)),_0x58f7eb=this[_0x39a197(0xf4)][_0x39a197(0x111)][_0x39a197(0x16a)](_0x39a197(0x16c)),_0x1f0ca1=this[_0x39a197(0x10c)][_0x39a197(0x16a)](_0x582cb9),_0x57c0b1=_0x1f0ca1[_0x39a197(0x102)],_0x4a09c0=_0x58f7eb[_0x39a197(0x139)](_0x57c0b1);_0x1cadd6[_0x39a197(0xf0)](_0x57c0b1),_0x4a09c0&&_0x58f7eb[_0x39a197(0x173)](_0x4a09c0),this[_0x39a197(0x10c)][_0x39a197(0xf3)](_0x582cb9),this[_0x39a197(0x119)][_0x39a197(0xf3)](_0x57c0b1),_0x1f0ca1[_0x39a197(0x151)]();}[_0x10a5fb(0x156)](_0x4b8f86){const _0x3c54e3=_0x10a5fb;if(!_0x4b8f86[_0x3c54e3(0x109)]||!this[_0x3c54e3(0x10c)][_0x3c54e3(0x14d)](_0x4b8f86))return;const _0x5e7170=this[_0x3c54e3(0xf4)][_0x3c54e3(0x111)][_0x3c54e3(0x16a)](_0x3c54e3(0x157)),_0xb55863=this[_0x3c54e3(0x10c)][_0x3c54e3(0x16a)](_0x4b8f86),_0x3305b2=_0x4b8f86[_0x3c54e3(0x185)]();_0xb55863[_0x3c54e3(0x102)][_0x3c54e3(0x165)]=_0x5e7170[_0x3c54e3(0x16d)][_0x3c54e3(0xff)](_0x3305b2);}[_0x10a5fb(0x151)](){const _0x3f9523=_0x10a5fb;for(const _0x45b620 of this[_0x3f9523(0x10c)][_0x3f9523(0x130)]())this[_0x3f9523(0xf5)](_0x45b620);for(const _0xcc71e1 of this[_0x3f9523(0x162)][_0x3f9523(0x15e)]())_0xcc71e1[_0x3f9523(0xfb)][_0x3f9523(0x151)]();super[_0x3f9523(0x151)](),this[_0x3f9523(0x12a)]&&clearInterval(this[_0x3f9523(0x12a)]);}}function ke(_0x16c38a){const _0x3307c4=_0x10a5fb;return _0x3307c4(0x159)in _0x16c38a;}
|
|
23
|
+
const _0x1bfa66=_0x5d25;(function(_0x4b69e0,_0x55ba09){const _0x4ea55a=_0x5d25,_0xc8b45c=_0x4b69e0();while(!![]){try{const _0xe74963=parseInt(_0x4ea55a(0x1de))/0x1+-parseInt(_0x4ea55a(0x19c))/0x2*(-parseInt(_0x4ea55a(0x144))/0x3)+parseInt(_0x4ea55a(0x1d5))/0x4+-parseInt(_0x4ea55a(0x1b8))/0x5*(parseInt(_0x4ea55a(0x1cf))/0x6)+-parseInt(_0x4ea55a(0x190))/0x7+parseInt(_0x4ea55a(0x169))/0x8*(parseInt(_0x4ea55a(0x196))/0x9)+-parseInt(_0x4ea55a(0x16f))/0xa;if(_0xe74963===_0x55ba09)break;else _0xc8b45c['push'](_0xc8b45c['shift']());}catch(_0x23d687){_0xc8b45c['push'](_0xc8b45c['shift']());}}}(_0x36d1,0x5d9e0));function _0x36d1(){const _0x4f0401=['locale','comments.maxThreadTotalWeight','menu','TrackChangesPreview','destroy','_initializeController','clear','isInContent','891702ClVCbZ','get','isMultiRange','model','children','separator','45MVuWHH','menuBar:trackChanges','trackChangesLicenseKeyValid','arrowView','push','createAnnotation','14rZJmbI','getByInnerView','expired','suggestionChanged','getRanges','_unbindEditors','CommentView','reduce','SuggestionThreadView','isDirty','registerAnnotation','comments.editorConfig','pluginName','set','discardButton','getDescriptions','CommentsRepository','Accept\x20all\x20selected\x20suggestions','getMarkers','suggestionLoaded','_addUIComponentsToFactory','_showLicenseError','suggestion-','remove','isEnabled','mainView','licenseKey','componentFactory','15GAHEgX','previewFinalContent','trackChangesLicenseKeyTrialLimit','_suggestionToController','commands','menuitemcheckbox','trackChangesLicenseKeyExpired','_createToolbarButton','delete','lowest','addMany','plugins','EditorAnnotations','comments','getMarkerNames','discardSelectedSuggestions','from','execute','config','fire','suggestionView','getJoined','listenTo','1243272FhmYkO','TrackChangesEditing','editor','Annotations','focus','activeAnnotations','1211968zZZcmI','filter','activeMarkers','unbind','_licenseKeyCheckInterval','domainLimit','addSourceCollector','acceptAllSuggestions','actionView','464155wXPfbO','addComment','_handleSuggestionControllerDelayed','descriptionFactory','featureNotAllowed','commentThread','isOn','isOfficialPlugin','trackChanges.disableComments','_createMenuBarMenu','trackChangesLicenseKeyUsageLimit','stopListening','_refreshActiveMarkers','innerView','trackChangesLicenseKeyNotAllowed','_updateController','Preview\x20final\x20content','trackChanges.SuggestionView','acceptButton','items','isPremiumPlugin','commandName','322347tboHSq','comments.maxCommentsWhenCollapsed','hasSuggestion','bind','comments.maxCommentCharsWhenCollapsed','values','usageLimit','acceptSelectedSuggestions','_disableComments','menuitem','getFirstRange','change:previous','source','createCommentThreadController','_viewToController','define','toMany','TrackChangesUI','panelView','suggestionUnloaded','switchbutton','editing','discardAllSuggestions','add','Discard\x20all\x20suggestions','trackChanges.SuggestionThreadView','previous','refreshSelectedViews','keys','trackChanges','_annotationViews','delegate','getAllAdjacentSuggestions','TrackChanges','evaluationLimit','_handleControllerBuffer','_destroyController','912232jXPcxb','view','some','_bindAnnotationToEditors','Discard\x20all\x20selected\x20suggestions','type','9569570GjLPzZ','CommentsUI','value','Accept\x20all\x20suggestions','SuggestionView','requires','change:activeAnnotations','Track\x20changes','has','init','trackChangesLicenseKeyEvaluationLimit','button','buttonView','createAnnotationView','trackChangesLicenseKeyDomainLimit','trialLimit','head','length','invalid','commentsListView','trackChangesLicenseKeyInvalid','size','descriptionParts','escape','getSuggestion'];_0x36d1=function(){return _0x4f0401;};return _0x36d1();}import{Plugin as _0x4c6d37}from'ckeditor5/src/core.js';import{Collection as _0x1de0d7}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x85bf4a,createDropdown as _0x213217,ListSeparatorView as _0xb57de5,MenuBarMenuView as _0x1eb8f0,MenuBarMenuListView as _0x489080,MenuBarMenuListItemView as _0x3ec493,MenuBarMenuListItemButtonView as _0x2c361c,SplitButtonView as _0x2de574,ViewModel as _0x293d3f}from'ckeditor5/src/ui.js';import{Users as _0x5f5a3e,getDateTimeFormatter as _0x1960af,getAllMarkersDomElementsSorted as _0x1aed37}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x23b0c5 from'./trackchangesediting.js';import _0x45d8ee from'./ui/suggestioncontroller.js';import _0x584bc7 from'./ui/view/suggestionthreadview.js';import _0x435dd1 from'./ui/view/suggestionview.js';import{getTranslation as _0x41f4d5}from'./utils/common-translations.js';import _0x2ac10b from'../theme/icons/track-changes.svg';function _0x5d25(_0x505d45,_0xcd8644){const _0x36d10f=_0x36d1();return _0x5d25=function(_0x5d255b,_0x16917d){_0x5d255b=_0x5d255b-0x12f;let _0x1cdeaf=_0x36d10f[_0x5d255b];return _0x1cdeaf;},_0x5d25(_0x505d45,_0xcd8644);}export default class d extends _0x4c6d37{static get[_0x1bfa66(0x174)](){const _0x497924=_0x1bfa66;return[_0x23b0c5,_0x5f5a3e,_0x497924(0x1ac),_0x497924(0x1d2),_0x497924(0x1c4)];}static get[_0x1bfa66(0x1a8)](){const _0x42b90f=_0x1bfa66;return _0x42b90f(0x155);}static get[_0x1bfa66(0x135)](){return!0x0;}static get[_0x1bfa66(0x142)](){return!0x0;}constructor(_0x8e934f){const _0x299dd4=_0x1bfa66;super(_0x8e934f),this[_0x299dd4(0x1bb)]=new Map(),this[_0x299dd4(0x152)]=new Map(),this[_0x299dd4(0x162)]=new Map(),this[_0x299dd4(0x167)]=new Map();const _0xfaf4db=this[_0x299dd4(0x1d1)][_0x299dd4(0x1ca)];_0xfaf4db[_0x299dd4(0x153)](_0x299dd4(0x15d),_0x584bc7),_0xfaf4db[_0x299dd4(0x153)](_0x299dd4(0x13f),_0x435dd1),_0xfaf4db[_0x299dd4(0x153)](_0x299dd4(0x136),!0x1),this[_0x299dd4(0x14c)]=_0xfaf4db[_0x299dd4(0x191)](_0x299dd4(0x136));}[_0x1bfa66(0x130)](_0x5ecd61,_0xc2b4e1){const _0x4233b8=_0x1bfa66;0x0===this[_0x4233b8(0x167)][_0x4233b8(0x184)]&&setTimeout(()=>{const _0xd1c9a6=_0x4233b8;for(const [_0x1c75d7,_0x48163f]of this[_0xd1c9a6(0x167)]){const _0xc173f3=this[_0xd1c9a6(0x1bb)][_0xd1c9a6(0x177)](_0x1c75d7);_0xc173f3||_0x48163f?_0xc173f3&&_0x48163f&&this[_0xd1c9a6(0x168)](_0x1c75d7):this[_0xd1c9a6(0x18d)](_0x1c75d7);}this[_0xd1c9a6(0x167)][_0xd1c9a6(0x18e)](),this[_0xd1c9a6(0x1d1)][_0xd1c9a6(0x1c3)][_0xd1c9a6(0x191)](_0xd1c9a6(0x1c4))[_0xd1c9a6(0x15f)](),this[_0xd1c9a6(0x13a)]();},0xa),this[_0x4233b8(0x167)][_0x4233b8(0x1a9)](_0x5ecd61,_0xc2b4e1);}[_0x1bfa66(0x178)](){const _0x474ef7=_0x1bfa66,_0x56e5a0=this[_0x474ef7(0x1d1)],_0x33396c=_0x56e5a0[_0x474ef7(0x1c3)][_0x474ef7(0x191)](_0x474ef7(0x1d0)),_0x390012=_0x56e5a0[_0x474ef7(0x1c3)][_0x474ef7(0x191)](_0x474ef7(0x1d2)),_0x51f480=_0x56e5a0[_0x474ef7(0x1c3)][_0x474ef7(0x191)](_0x474ef7(0x1c4)),_0x374a06=_0x56e5a0[_0x474ef7(0x1c3)][_0x474ef7(0x191)](_0x474ef7(0x1ac));this[_0x474ef7(0x1b0)](),_0x51f480[_0x474ef7(0x1db)](()=>{const _0x260e4c=_0x474ef7,_0x4a8011=[];for(const [_0x5d747e,_0x755cd0]of Array[_0x260e4c(0x1c8)](this[_0x260e4c(0x1bb)])){const _0x231115=_0x5d747e[_0x260e4c(0x164)](),_0x2210d8=[];for(const _0x3ea5a1 of _0x231115){if(!_0x3ea5a1[_0x260e4c(0x18f)])continue;if(_0x3ea5a1[_0x260e4c(0x192)]){_0x2210d8[_0x260e4c(0x19a)](..._0x3ea5a1[_0x260e4c(0x1a0)]());continue;}const _0x520e16=_0x3ea5a1[_0x260e4c(0x14e)]();if(_0x2210d8[_0x260e4c(0x180)]>0x0){const _0xc8a5ac=_0x2210d8[0x0][_0x260e4c(0x1cd)](_0x520e16);if(_0xc8a5ac){_0x2210d8[0x0]=_0xc8a5ac;continue;}}_0x2210d8[_0x260e4c(0x19a)](_0x520e16);}_0x4a8011[_0x260e4c(0x19a)]([_0x755cd0[_0x260e4c(0x16a)],_0x2210d8]);}return _0x4a8011;}),this[_0x474ef7(0x1ce)](_0x33396c,_0x474ef7(0x1af),(_0x3c0066,_0x335ec1)=>{const _0x266417=_0x474ef7;this[_0x266417(0x1ce)](_0x335ec1,_0x266417(0x14f),(_0x395172,_0x10d559,_0xebed85,_0xbfe571)=>{const _0x4c6258=_0x266417;_0x335ec1[_0x4c6258(0x18f)]&&(null==_0xebed85?(this[_0x4c6258(0x13d)](_0xbfe571[_0x4c6258(0x17f)]),this[_0x4c6258(0x130)](_0x335ec1,!0x1)):(this[_0x4c6258(0x13d)](_0xebed85[_0x4c6258(0x17f)]),null==_0xbfe571&&this[_0x4c6258(0x130)](_0x335ec1,!0x0)));}),null!==_0x335ec1[_0x266417(0x15e)]?this[_0x266417(0x13d)](_0x335ec1[_0x266417(0x17f)]):this[_0x266417(0x130)](_0x335ec1,!0x1);}),this[_0x474ef7(0x1ce)](_0x33396c,_0x474ef7(0x157),(_0x340187,_0x3af79b,_0x2c52e4)=>{const _0x1c91e4=_0x474ef7;this[_0x1c91e4(0x139)](_0x3af79b,_0x1c91e4(0x14f)),this[_0x1c91e4(0x167)][_0x1c91e4(0x1c0)](_0x3af79b),this[_0x1c91e4(0x1bb)][_0x1c91e4(0x177)](_0x3af79b)&&this[_0x1c91e4(0x168)](_0x3af79b),_0x2c52e4&&this[_0x1c91e4(0x13d)](_0x2c52e4[_0x1c91e4(0x17f)]);}),this[_0x474ef7(0x1ce)](_0x33396c,_0x474ef7(0x19f),(_0x1cf90f,_0x59820f)=>{const _0x3fe004=_0x474ef7;this[_0x3fe004(0x13d)](_0x59820f);}),this[_0x474ef7(0x1ce)](_0x390012,_0x474ef7(0x175),()=>{const _0x5ad777=_0x474ef7;this[_0x5ad777(0x13a)]();}),this[_0x474ef7(0x1ce)](_0x374a06,_0x474ef7(0x12f),(_0x56a3a7,{threadId:_0x21ac01,isFromAdapter:_0x3aa2b2})=>{const _0x24fe8c=_0x474ef7;if(_0x3aa2b2||!_0x33396c[_0x24fe8c(0x146)](_0x21ac01))return;const _0x1fc5d9=_0x33396c[_0x24fe8c(0x187)](_0x21ac01);this[_0x24fe8c(0x1bb)][_0x24fe8c(0x191)](_0x1fc5d9)[_0x24fe8c(0x16a)][_0x24fe8c(0x182)][_0x24fe8c(0x1d3)](-0x1);},{'priority':_0x474ef7(0x1c1)}),this[_0x474ef7(0x1b6)]=this[_0x474ef7(0x1d1)][_0x474ef7(0x1ca)][_0x474ef7(0x191)](_0x474ef7(0x1b6));const _0x2c40e7=this[_0x474ef7(0x1d1)];this[_0x474ef7(0x1d9)]=setInterval(()=>{const _0x19bf21=_0x474ef7;let _0x316658;for(const _0x3f8989 in _0x2c40e7){const _0x451222=_0x3f8989,_0x3bd9f7=_0x2c40e7[_0x451222];if(_0x19bf21(0x198)==_0x3bd9f7||_0x19bf21(0x183)==_0x3bd9f7||_0x19bf21(0x1be)==_0x3bd9f7||_0x19bf21(0x17d)==_0x3bd9f7||_0x19bf21(0x13c)==_0x3bd9f7||_0x19bf21(0x179)==_0x3bd9f7||_0x19bf21(0x1ba)==_0x3bd9f7||_0x19bf21(0x138)==_0x3bd9f7){delete _0x2c40e7[_0x451222],_0x316658=_0x3bd9f7,clearInterval(this[_0x19bf21(0x1d9)]),this[_0x19bf21(0x1d9)]=void 0x0;break;}}_0x19bf21(0x183)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x181)),_0x19bf21(0x1be)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x19e)),_0x19bf21(0x17d)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x1da)),_0x19bf21(0x13c)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x132),_0x19bf21(0x165)),_0x19bf21(0x179)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x166)),_0x19bf21(0x1ba)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x17e)),_0x19bf21(0x138)==_0x316658&&_0x2c40e7[_0x19bf21(0x1b1)](_0x19bf21(0x14a));},0x3e8);}[_0x1bfa66(0x13a)](){const _0x3854d9=_0x1bfa66,_0xae678d=this[_0x3854d9(0x1d1)][_0x3854d9(0x1c3)][_0x3854d9(0x191)](_0x3854d9(0x1d2)),_0x308a46=this[_0x3854d9(0x1d1)][_0x3854d9(0x1c3)][_0x3854d9(0x191)](_0x3854d9(0x1d0)),_0x435452=Array[_0x3854d9(0x1c8)](_0xae678d[_0x3854d9(0x1d4)],_0x4e4cc8=>_0x4e4cc8[_0x3854d9(0x13b)])[_0x3854d9(0x1d6)](_0x145dfa=>this[_0x3854d9(0x152)][_0x3854d9(0x177)](_0x145dfa)),_0x3d80e5=[];for(const _0x55d3ed of _0x435452){const _0x30cce4=this[_0x3854d9(0x152)][_0x3854d9(0x191)](_0x55d3ed)[_0x3854d9(0x193)][_0x3854d9(0x164)]();_0x3d80e5[_0x3854d9(0x19a)](..._0x30cce4[_0x3854d9(0x1a3)]((_0x60d445,_0x434fdb)=>[..._0x60d445,..._0x434fdb[_0x3854d9(0x1c6)]()],[]));}_0x308a46[_0x3854d9(0x1d7)]=_0x3d80e5;}[_0x1bfa66(0x1b0)](){const _0x1ba2b5=_0x1bfa66,_0x224c8e=this[_0x1ba2b5(0x1d1)],_0x19d9c5=_0x224c8e[_0x1ba2b5(0x188)],_0x3f706d=_0x41f4d5(_0x19d9c5,_0x1ba2b5(0x176)),_0x3d66c8=new _0x1de0d7([{'type':_0x1ba2b5(0x158),'model':new _0x293d3f({'withText':!0x0,'isToggleable':!0x0,'label':_0x3f706d,'commandName':_0x1ba2b5(0x161),'role':_0x1ba2b5(0x1bd)})},{'type':_0x1ba2b5(0x195)},{'type':_0x1ba2b5(0x17a),'model':new _0x293d3f({'withText':!0x0,'label':_0x41f4d5(_0x19d9c5,_0x1ba2b5(0x172)),'commandName':_0x1ba2b5(0x1dc),'role':_0x1ba2b5(0x14d)})},{'type':_0x1ba2b5(0x17a),'model':new _0x293d3f({'withText':!0x0,'label':_0x41f4d5(_0x19d9c5,_0x1ba2b5(0x1ad)),'commandName':_0x1ba2b5(0x14b),'role':_0x1ba2b5(0x14d)})},{'type':_0x1ba2b5(0x17a),'model':new _0x293d3f({'withText':!0x0,'label':_0x41f4d5(_0x19d9c5,_0x1ba2b5(0x15c)),'commandName':_0x1ba2b5(0x15a),'role':_0x1ba2b5(0x14d)})},{'type':_0x1ba2b5(0x17a),'model':new _0x293d3f({'withText':!0x0,'label':_0x41f4d5(_0x19d9c5,_0x1ba2b5(0x16d)),'commandName':_0x1ba2b5(0x1c7),'role':_0x1ba2b5(0x14d)})}]);_0x224c8e[_0x1ba2b5(0x1c3)][_0x1ba2b5(0x177)](_0x1ba2b5(0x18b))&&_0x3d66c8[_0x1ba2b5(0x1c2)]([{'type':_0x1ba2b5(0x195)},{'type':_0x1ba2b5(0x17a),'model':new _0x293d3f({'withText':!0x0,'label':_0x41f4d5(_0x19d9c5,_0x1ba2b5(0x13e)),'commandName':_0x1ba2b5(0x1b9),'role':_0x1ba2b5(0x14d)})}]);for(const _0x20faac of _0x3d66c8)if(ke(_0x20faac)){const _0x45d7fd=_0x224c8e[_0x1ba2b5(0x1bc)][_0x1ba2b5(0x191)](_0x20faac[_0x1ba2b5(0x193)][_0x1ba2b5(0x143)]);_0x20faac[_0x1ba2b5(0x193)][_0x1ba2b5(0x147)](_0x1ba2b5(0x134),_0x1ba2b5(0x1b4))['to'](_0x45d7fd,_0x1ba2b5(0x171),_0x1ba2b5(0x1b4));}_0x224c8e['ui'][_0x1ba2b5(0x1b7)][_0x1ba2b5(0x15b)](_0x1ba2b5(0x161),_0x1df263=>this[_0x1ba2b5(0x1bf)](_0x1df263,_0x3d66c8,_0x3f706d)),_0x224c8e['ui'][_0x1ba2b5(0x1b7)][_0x1ba2b5(0x15b)](_0x1ba2b5(0x197),_0x4b4270=>this[_0x1ba2b5(0x137)](_0x4b4270,_0x3d66c8,_0x3f706d));}[_0x1bfa66(0x1bf)](_0x21ee38,_0x4762b5,_0xf642b0){const _0x44e358=_0x1bfa66,_0x113e85=_0x213217(_0x21ee38,_0x2de574),_0x35714a=this[_0x44e358(0x1d1)][_0x44e358(0x1bc)][_0x44e358(0x191)](_0x44e358(0x161));_0x113e85[_0x44e358(0x17b)][_0x44e358(0x1a9)]({'tooltip':_0xf642b0,'label':_0xf642b0,'icon':_0x2ac10b}),_0x113e85[_0x44e358(0x17b)][_0x44e358(0x147)](_0x44e358(0x134))['to'](_0x35714a,_0x44e358(0x171)),_0x113e85[_0x44e358(0x17b)]['on'](_0x44e358(0x1c9),()=>{const _0x3802fa=_0x44e358;_0x35714a[_0x3802fa(0x1c9)](),this[_0x3802fa(0x1d1)][_0x3802fa(0x159)][_0x3802fa(0x16a)][_0x3802fa(0x1d3)]();}),_0x85bf4a(_0x113e85,_0x4762b5,{'role':_0x44e358(0x18a)});const _0x10a96c=[];for(const _0xada2d7 of _0x4762b5)ke(_0xada2d7)&&_0x10a96c[_0x44e358(0x19a)](this[_0x44e358(0x1d1)][_0x44e358(0x1bc)][_0x44e358(0x191)](_0xada2d7[_0x44e358(0x193)][_0x44e358(0x143)]));const _0x22299f=_0x113e85[_0x44e358(0x17b)];return _0x22299f[_0x44e358(0x1dd)][_0x44e358(0x1d8)](_0x44e358(0x1b4)),_0x22299f[_0x44e358(0x199)][_0x44e358(0x1d8)](_0x44e358(0x1b4)),_0x22299f[_0x44e358(0x1dd)][_0x44e358(0x147)](_0x44e358(0x1b4))['to'](_0x35714a,_0x44e358(0x1b4)),_0x22299f[_0x44e358(0x199)][_0x44e358(0x147)](_0x44e358(0x1b4))[_0x44e358(0x154)](_0x10a96c,_0x44e358(0x1b4),(..._0x342dcb)=>_0x342dcb[_0x44e358(0x16b)](_0x253ee6=>_0x253ee6)),_0x113e85['on'](_0x44e358(0x1c9),_0x1b3e32=>{const _0x154aef=_0x44e358;this[_0x154aef(0x1d1)][_0x154aef(0x1c9)](_0x1b3e32[_0x154aef(0x150)][_0x154aef(0x143)]),this[_0x154aef(0x1d1)][_0x154aef(0x159)][_0x154aef(0x16a)][_0x154aef(0x1d3)]();}),_0x113e85;}[_0x1bfa66(0x137)](_0x1707c3,_0x347871,_0x56eb8b){const _0x8a97f9=_0x1bfa66,_0x39b51f=new _0x1eb8f0(_0x1707c3),_0x4630cf=this[_0x8a97f9(0x1d1)][_0x8a97f9(0x1bc)][_0x8a97f9(0x191)](_0x8a97f9(0x161));_0x39b51f[_0x8a97f9(0x17b)][_0x8a97f9(0x1a9)]({'label':_0x56eb8b,'icon':_0x2ac10b});const _0x260f72=new _0x489080(_0x1707c3);for(const _0x3d7f20 of _0x347871){if(_0x8a97f9(0x195)==_0x3d7f20[_0x8a97f9(0x16e)]){_0x260f72[_0x8a97f9(0x141)][_0x8a97f9(0x15b)](new _0xb57de5(_0x1707c3));continue;}const _0x4655da=new _0x3ec493(_0x1707c3,_0x39b51f),_0x371897=new _0x2c361c(_0x1707c3),_0x5c9503=_0x3d7f20[_0x8a97f9(0x193)];_0x371897[_0x8a97f9(0x147)](...Object[_0x8a97f9(0x160)](_0x5c9503))['to'](_0x5c9503),_0x371897[_0x8a97f9(0x163)](_0x8a97f9(0x1c9))['to'](_0x39b51f),_0x371897['on'](_0x8a97f9(0x1c9),()=>{const _0x2b1b96=_0x8a97f9;this[_0x2b1b96(0x1d1)][_0x2b1b96(0x1c9)](_0x5c9503[_0x2b1b96(0x143)]),this[_0x2b1b96(0x1d1)][_0x2b1b96(0x159)][_0x2b1b96(0x16a)][_0x2b1b96(0x1d3)]();}),_0x4655da[_0x8a97f9(0x194)][_0x8a97f9(0x15b)](_0x371897),_0x260f72[_0x8a97f9(0x141)][_0x8a97f9(0x15b)](_0x4655da);}return _0x39b51f[_0x8a97f9(0x147)](_0x8a97f9(0x1b4))['to'](_0x4630cf,_0x8a97f9(0x1b4)),_0x39b51f[_0x8a97f9(0x156)][_0x8a97f9(0x194)][_0x8a97f9(0x15b)](_0x260f72),_0x39b51f;}[_0x1bfa66(0x18d)](_0x5cff66){const _0x3b15ba=_0x1bfa66,_0x20471d=this[_0x3b15ba(0x1d1)],_0x469a31=_0x20471d[_0x3b15ba(0x1ca)],_0x500611=_0x20471d[_0x3b15ba(0x1c3)][_0x3b15ba(0x191)](_0x3b15ba(0x1d2)),_0x1a1f72=_0x20471d[_0x3b15ba(0x1c3)][_0x3b15ba(0x191)](_0x3b15ba(0x1ac)),_0x33c951=_0x20471d[_0x3b15ba(0x1c3)][_0x3b15ba(0x191)](_0x3b15ba(0x1c4)),_0x3cd2f9=_0x20471d[_0x3b15ba(0x1c3)][_0x3b15ba(0x191)](_0x5f5a3e)['me'],_0x2ad59f=_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x161))[_0x3b15ba(0x1a4)],_0x31bb54=_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x161))[_0x3b15ba(0x173)],{CommentsListView:_0x35c7de,CommentThreadInputView:_0x5599d0}=_0x20471d[_0x3b15ba(0x1c3)][_0x3b15ba(0x191)](_0x3b15ba(0x170));let _0x30e933,_0x5dbf7b,_0x4b5db8;this[_0x3b15ba(0x162)][_0x3b15ba(0x177)](_0x5cff66['id'])?(_0x5dbf7b=this[_0x3b15ba(0x162)][_0x3b15ba(0x191)](_0x5cff66['id']),_0x30e933=_0x5dbf7b[_0x3b15ba(0x1b5)]):(_0x30e933=new _0x2ad59f(_0x20471d[_0x3b15ba(0x188)],_0x5cff66,_0x3cd2f9,{'disableComments':this[_0x3b15ba(0x14c)],'editorConfig':{..._0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x1a7)),'licenseKey':_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x1b6))},'maxCommentsWhenCollapsed':_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x145)),'maxThreadTotalWeight':_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x189)),'maxCommentCharsWhenCollapsed':_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x148)),'formatDateTime':_0x1960af(_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x188))),'CommentView':_0x469a31[_0x3b15ba(0x191)](_0x3b15ba(0x1c5))[_0x3b15ba(0x1a2)],'CommentsListView':_0x35c7de,'CommentThreadInputView':_0x5599d0,'SuggestionView':_0x31bb54}),_0x30e933[_0x3b15ba(0x1cc)][_0x3b15ba(0x140)]['on'](_0x3b15ba(0x1c9),()=>{const _0x59102f=_0x3b15ba;_0x20471d[_0x59102f(0x159)][_0x59102f(0x16a)][_0x59102f(0x1d3)]();}),_0x30e933[_0x3b15ba(0x1cc)][_0x3b15ba(0x1aa)]['on'](_0x3b15ba(0x1c9),()=>{const _0x11b6a6=_0x3b15ba;_0x20471d[_0x11b6a6(0x159)][_0x11b6a6(0x16a)][_0x11b6a6(0x1d3)]();}),_0x5dbf7b=_0x500611[_0x3b15ba(0x17c)](this[_0x3b15ba(0x1d1)][_0x3b15ba(0x188)],_0x30e933),_0x5dbf7b[_0x3b15ba(0x147)](_0x3b15ba(0x1a5))['to'](_0x30e933,_0x3b15ba(0x1a5)),_0x5dbf7b[_0x3b15ba(0x147)](_0x3b15ba(0x180))['to'](_0x30e933),_0x5dbf7b[_0x3b15ba(0x147)](_0x3b15ba(0x16e))['to'](_0x30e933,_0x3b15ba(0x16e),_0x49b4d1=>_0x3b15ba(0x1b2)+_0x49b4d1),_0x30e933['on'](_0x3b15ba(0x186),()=>{const _0x47a490=_0x3b15ba;_0x4b5db8[_0x47a490(0x1cb)](_0x47a490(0x186));}),this[_0x3b15ba(0x162)][_0x3b15ba(0x1a9)](_0x5cff66['id'],_0x5dbf7b));const _0x2ec27b=_0x1a1f72[_0x3b15ba(0x151)](_0x5cff66[_0x3b15ba(0x133)],_0x30e933),_0x12a959=new _0x45d8ee(_0x20471d,_0x5cff66,_0x30e933,_0x2ec27b),_0x42001c=_0x5cff66[_0x3b15ba(0x164)]()[_0x3b15ba(0x1d6)](_0xc53c6a=>_0xc53c6a[_0x3b15ba(0x18f)]);_0x30e933[_0x3b15ba(0x185)]=_0x20471d[_0x3b15ba(0x1c3)][_0x3b15ba(0x191)](_0x3b15ba(0x1d0))[_0x3b15ba(0x131)][_0x3b15ba(0x1ab)](_0x42001c),this[_0x3b15ba(0x1bb)][_0x3b15ba(0x1a9)](_0x5cff66,_0x12a959),this[_0x3b15ba(0x152)][_0x3b15ba(0x1a9)](_0x30e933,_0x12a959),_0x4b5db8=_0x500611[_0x3b15ba(0x19b)]({'view':_0x5dbf7b,'target':()=>{const _0x1106b8=_0x3b15ba,_0x462e37=[],_0x1835b3=_0x5cff66[_0x1106b8(0x164)]()[_0x1106b8(0x1d6)](_0x443957=>_0x443957[_0x1106b8(0x18f)]);for(const _0x3f2424 of _0x1835b3)_0x462e37[_0x1106b8(0x19a)](..._0x3f2424[_0x1106b8(0x1ae)]());return _0x1aed37(_0x20471d[_0x1106b8(0x159)],_0x462e37);},'type':()=>_0x3b15ba(0x1b2)+_0x12a959[_0x3b15ba(0x16a)][_0x3b15ba(0x16e)]}),_0x1a1f72[_0x3b15ba(0x16c)](_0x30e933,_0x4b5db8),_0x500611[_0x3b15ba(0x15b)](_0x4b5db8),_0x33c951[_0x3b15ba(0x1a6)](_0x4b5db8);}[_0x1bfa66(0x168)](_0x11c6f0){const _0x120d3a=_0x1bfa66,_0x188642=this[_0x120d3a(0x1d1)][_0x120d3a(0x1c3)][_0x120d3a(0x191)](_0x120d3a(0x1ac)),_0x35df77=this[_0x120d3a(0x1d1)][_0x120d3a(0x1c3)][_0x120d3a(0x191)](_0x120d3a(0x1d2)),_0x5e377e=this[_0x120d3a(0x1bb)][_0x120d3a(0x191)](_0x11c6f0),_0x496ce2=_0x5e377e[_0x120d3a(0x16a)],_0x1ceaff=_0x35df77[_0x120d3a(0x19d)](_0x496ce2);_0x188642[_0x120d3a(0x1a1)](_0x496ce2),_0x1ceaff&&_0x35df77[_0x120d3a(0x1b3)](_0x1ceaff),this[_0x120d3a(0x1bb)][_0x120d3a(0x1c0)](_0x11c6f0),this[_0x120d3a(0x152)][_0x120d3a(0x1c0)](_0x496ce2),_0x5e377e[_0x120d3a(0x18c)]();}[_0x1bfa66(0x13d)](_0xe13353){const _0x2366cf=_0x1bfa66;if(!_0xe13353[_0x2366cf(0x18f)]||!this[_0x2366cf(0x1bb)][_0x2366cf(0x177)](_0xe13353))return;const _0x1155b1=this[_0x2366cf(0x1d1)][_0x2366cf(0x1c3)][_0x2366cf(0x191)](_0x2366cf(0x1d0)),_0x3653c1=this[_0x2366cf(0x1bb)][_0x2366cf(0x191)](_0xe13353),_0x4b5682=_0xe13353[_0x2366cf(0x164)]();_0x3653c1[_0x2366cf(0x16a)][_0x2366cf(0x185)]=_0x1155b1[_0x2366cf(0x131)][_0x2366cf(0x1ab)](_0x4b5682);}[_0x1bfa66(0x18c)](){const _0x590c0b=_0x1bfa66;for(const _0x6233ac of this[_0x590c0b(0x1bb)][_0x590c0b(0x160)]())this[_0x590c0b(0x168)](_0x6233ac);for(const _0x160825 of this[_0x590c0b(0x162)][_0x590c0b(0x149)]())_0x160825[_0x590c0b(0x1b5)][_0x590c0b(0x18c)]();super[_0x590c0b(0x18c)](),this[_0x590c0b(0x1d9)]&&clearInterval(this[_0x590c0b(0x1d9)]);}}function ke(_0x3837dd){const _0x21c7df=_0x1bfa66;return _0x21c7df(0x193)in _0x3837dd;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x4d61a3=_0x1108;(function(_0x2ea78d,_0x281949){const _0x31c55d=_0x1108,_0x3521c6=_0x2ea78d();while(!![]){try{const _0x5f3801=-parseInt(_0x31c55d(0x132))/0x1*(parseInt(_0x31c55d(0x12f))/0x2)+-parseInt(_0x31c55d(0x151))/0x3+parseInt(_0x31c55d(0x13c))/0x4+parseInt(_0x31c55d(0x12c))/0x5+parseInt(_0x31c55d(0x145))/0x6*(parseInt(_0x31c55d(0x14e))/0x7)+parseInt(_0x31c55d(0x147))/0x8+parseInt(_0x31c55d(0x129))/0x9*(-parseInt(_0x31c55d(0x137))/0xa);if(_0x5f3801===_0x281949)break;else _0x3521c6['push'](_0x3521c6['shift']());}catch(_0x103fe6){_0x3521c6['push'](_0x3521c6['shift']());}}}(_0x32ff,0x29760));import{ObservableMixin as _0x28d2f2}from'ckeditor5/src/utils.js';function _0x1108(_0x572e20,_0x5fedca){const _0x32ff23=_0x32ff();return _0x1108=function(_0x11088a,_0x37bdf2){_0x11088a=_0x11088a-0x129;let _0x4a7c27=_0x32ff23[_0x11088a];return _0x4a7c27;},_0x1108(_0x572e20,_0x5fedca);}function _0x32ff(){const _0x3421cf=['view','canAccept','acceptSuggestion','PendingActions','416108IjhWae','stopListening','plugins','517302HEdTKR','getRanges','1063143IBgpOW','isEnabled','bind','113000RpbidR','model','commentThreadController','287144YSCOwS','destroy','_editor','1Tenyrb','canEditAt','unbind','_setPendingAction','_removePendingAction','10WezSAy','get','_discardCommand','locale','add','1053500cshrvc','remove','PENDING_ACTION_SUGGESTION','discardSuggestion','commands','canDiscard','_pendingAction','_acceptCommand','execute','12vBAdsE','listenTo','1592752LCLKtP','change:isDirty','isDirty'];_0x32ff=function(){return _0x3421cf;};return _0x32ff();}import{getTranslation as _0x29f889}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28d2f2(){constructor(_0x21389f,_0xb964f,_0x8b840f,_0x1bb6cd){const _0x4cf00d=_0x1108;super(),this[_0x4cf00d(0x12d)]=_0xb964f,this[_0x4cf00d(0x14a)]=_0x8b840f,this[_0x4cf00d(0x12e)]=_0x1bb6cd,this[_0x4cf00d(0x131)]=_0x21389f,this[_0x4cf00d(0x143)]=_0x21389f[_0x4cf00d(0x140)][_0x4cf00d(0x138)](_0x4cf00d(0x14c)),this[_0x4cf00d(0x139)]=_0x21389f[_0x4cf00d(0x140)][_0x4cf00d(0x138)](_0x4cf00d(0x13f)),this[_0x4cf00d(0x14a)][_0x4cf00d(0x12b)](_0x4cf00d(0x12a))['to'](this[_0x4cf00d(0x143)],this[_0x4cf00d(0x139)],(_0x4e7eed,_0x54808d)=>_0x4e7eed||_0x54808d),this[_0x4cf00d(0x14a)][_0x4cf00d(0x12b)](_0x4cf00d(0x14b))['to'](this[_0x4cf00d(0x143)],_0x4cf00d(0x12a),_0x537ed4=>_0x537ed4&&this[_0x4cf00d(0x131)][_0x4cf00d(0x12d)][_0x4cf00d(0x133)](_0xb964f[_0x4cf00d(0x152)]())),this[_0x4cf00d(0x14a)][_0x4cf00d(0x12b)](_0x4cf00d(0x141))['to'](this[_0x4cf00d(0x139)],_0x4cf00d(0x12a),_0x785cb5=>_0x785cb5&&this[_0x4cf00d(0x131)][_0x4cf00d(0x12d)][_0x4cf00d(0x133)](_0xb964f[_0x4cf00d(0x152)]())),this[_0x4cf00d(0x142)]=null,_0x8b840f[_0x4cf00d(0x149)]&&this[_0x4cf00d(0x135)](),this[_0x4cf00d(0x146)](_0x8b840f,_0x4cf00d(0x14c),()=>this[_0x4cf00d(0x14c)]()),this[_0x4cf00d(0x146)](_0x8b840f,_0x4cf00d(0x13f),()=>this[_0x4cf00d(0x13f)]()),this[_0x4cf00d(0x146)](_0x8b840f,_0x4cf00d(0x148),()=>{const _0x9b7882=_0x4cf00d;_0x8b840f[_0x9b7882(0x149)]?this[_0x9b7882(0x135)]():this[_0x9b7882(0x136)]();});}[_0x4d61a3(0x14c)](){const _0x3ed508=_0x4d61a3;this[_0x3ed508(0x143)][_0x3ed508(0x144)](this[_0x3ed508(0x12d)]['id']);}[_0x4d61a3(0x13f)](){const _0x504582=_0x4d61a3;this[_0x504582(0x139)][_0x504582(0x144)](this[_0x504582(0x12d)]['id']);}[_0x4d61a3(0x130)](){const _0x333124=_0x4d61a3;this[_0x333124(0x14a)][_0x333124(0x134)](_0x333124(0x12a)),this[_0x333124(0x14a)][_0x333124(0x134)](_0x333124(0x14b)),this[_0x333124(0x14a)][_0x333124(0x134)](_0x333124(0x141)),this[_0x333124(0x14f)](),this[_0x333124(0x12e)][_0x333124(0x130)](),this[_0x333124(0x142)]&&this[_0x333124(0x136)]();}[_0x4d61a3(0x135)](){const _0x5f922a=_0x4d61a3,_0x5a2434=_0x29f889(this[_0x5f922a(0x131)][_0x5f922a(0x13a)],_0x5f922a(0x13e));this[_0x5f922a(0x142)]=this[_0x5f922a(0x131)][_0x5f922a(0x150)][_0x5f922a(0x138)](_0x5f922a(0x14d))[_0x5f922a(0x13b)](_0x5a2434);}[_0x4d61a3(0x136)](){const _0x337ba4=_0x4d61a3;null!==this[_0x337ba4(0x142)]&&this[_0x337ba4(0x131)][_0x337ba4(0x150)][_0x337ba4(0x138)](_0x337ba4(0x14d))[_0x337ba4(0x13d)](this[_0x337ba4(0x142)]),this[_0x337ba4(0x142)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3744(_0x276354,_0x5a6dd6){const _0x1804ad=_0x1804();return _0x3744=function(_0x374445,_0x21f586){_0x374445=_0x374445-0x1de;let _0x9c78dc=_0x1804ad[_0x374445];return _0x9c78dc;},_0x3744(_0x276354,_0x5a6dd6);}const _0x52aeb3=_0x3744;(function(_0x4d70a9,_0x143f0a){const _0x542dc0=_0x3744,_0x10e0dd=_0x4d70a9();while(!![]){try{const _0x4f181e=-parseInt(_0x542dc0(0x1fb))/0x1+-parseInt(_0x542dc0(0x1f6))/0x2+-parseInt(_0x542dc0(0x208))/0x3*(-parseInt(_0x542dc0(0x1e7))/0x4)+parseInt(_0x542dc0(0x1eb))/0x5+-parseInt(_0x542dc0(0x1ef))/0x6+parseInt(_0x542dc0(0x1e4))/0x7*(parseInt(_0x542dc0(0x200))/0x8)+parseInt(_0x542dc0(0x206))/0x9*(-parseInt(_0x542dc0(0x1de))/0xa);if(_0x4f181e===_0x143f0a)break;else _0x10e0dd['push'](_0x10e0dd['shift']());}catch(_0xe1804b){_0x10e0dd['push'](_0x10e0dd['shift']());}}}(_0x1804,0x7797c));import{FocusCycler as _0x25b846,View as _0x414b1e,ViewCollection as _0x2feed9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x41338e,KeystrokeHandler as _0x46169b}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x191f95,setupThreadKeyboardNavigation as _0x22e54b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x3a937e}from'../../utils/common-translations.js';function _0x1804(){const _0x4593d6=['cancel','descriptionParts','ariaLabel','2406873DiEbRa','focus','join','4qfnwnH','shift+tab','element','length','2133155eDRhUH','text/html','commentInputView','content','1555326RLcSyX','updateComment','isDirty','canAccept','hasDirtyComment','focusTracker','CommentView','583270lIPGsU','disabledSubmit','_createCommentThreadInputView','map','isActive','267075wFMwvx','setData','_config','editor','tab','8nSDexg','authoredAt','fire','parseFromString','SUGGESTION_THREAD_DESCRIPTION','name','760455rrpzLP','_localUser','2118909tLocjN','commentsListView','destroy','formatDateTime','bind','commentThread','commentThreadInputView','locale','body','value','delegate','SUGGESTION_THREAD_ARIA_LABEL','keystrokes','canDiscard','_createCommentViews','target','editorConfig','addComment','isEnabled','submit','assign','showInput','render','set','removeComment','focusCycler','isReadOnly','disableComments','_model','ariaDescriptionView','textContent','20nPXPip','focusables','author'];_0x1804=function(){return _0x4593d6;};return _0x1804();}import{renderDescription as _0x55d1b9}from'../../utils/utils.js';export default class as extends _0x414b1e{constructor(_0x3ee756,_0x378953,_0x11cd2c,_0x4f1b61){const _0x2a2777=_0x3744;super(_0x3ee756),this[_0x2a2777(0x209)]=null,this[_0x2a2777(0x20e)]=null,this[_0x2a2777(0x225)]=new _0x191f95(_0x3ee756,_0x3a937e(_0x3ee756,_0x2a2777(0x204))),this[_0x2a2777(0x21f)](_0x2a2777(0x1fa),!0x1),this[_0x2a2777(0x21f)](_0x2a2777(0x201),_0x378953[_0x2a2777(0x201)]),this[_0x2a2777(0x20c)](_0x2a2777(0x201))['to'](_0x378953),this[_0x2a2777(0x21f)](_0x2a2777(0x1e2),[]),this[_0x2a2777(0x21f)](_0x2a2777(0x1f1),!0x1),this[_0x2a2777(0x21f)](_0x2a2777(0x21a),!0x1),this[_0x2a2777(0x21f)](_0x2a2777(0x1f2),!0x1),this[_0x2a2777(0x21f)](_0x2a2777(0x215),!0x1),this[_0x2a2777(0x20c)](_0x2a2777(0x1e3))['to'](this,_0x2a2777(0x1ea),_0x378953,_0x2a2777(0x201),this,_0x2a2777(0x1e2),(_0x4f5055,_0x2fe7cf,_0x130c2a)=>{const _0x30fd78=_0x2a2777,_0xfb1e16=_0x130c2a[_0x30fd78(0x1f9)](_0x53750b=>_0x55d1b9(_0x53750b[_0x30fd78(0x1ee)]))[_0x30fd78(0x1e6)]('.\x20')+'.';return _0x3a937e(this[_0x30fd78(0x20f)],_0x30fd78(0x213),[_0x4f5055-0x1,_0x378953[_0x30fd78(0x1e0)][_0x30fd78(0x205)],_0x2fe7cf?_0x4f1b61[_0x30fd78(0x20b)](_0x2fe7cf):'',new DOMParser()[_0x30fd78(0x203)](_0xfb1e16,_0x30fd78(0x1ec))[_0x30fd78(0x210)][_0x30fd78(0x226)]]);}),this[_0x2a2777(0x1df)]=new _0x2feed9(),this[_0x2a2777(0x1f4)]=new _0x41338e(),this[_0x2a2777(0x214)]=new _0x46169b(),this[_0x2a2777(0x221)]=new _0x25b846({'focusables':this[_0x2a2777(0x1df)],'focusTracker':this[_0x2a2777(0x1f4)],'keystrokeHandler':this[_0x2a2777(0x214)],'keystrokeHandlerOptions':{'filter':_0x619051=>_0x619051[_0x2a2777(0x217)]!==this[_0x2a2777(0x1e9)]},'actions':{'focusPrevious':_0x2a2777(0x1e8),'focusNext':_0x2a2777(0x1ff)}}),this[_0x2a2777(0x224)]=_0x378953,this[_0x2a2777(0x207)]=_0x11cd2c,this[_0x2a2777(0x1fd)]=_0x4f1b61,_0x4f1b61[_0x2a2777(0x223)]?this[_0x2a2777(0x21f)](_0x2a2777(0x1ea),0x1):this[_0x2a2777(0x216)]();}[_0x52aeb3(0x21e)](){const _0x20f35f=_0x52aeb3;super[_0x20f35f(0x21e)](),_0x22e54b(this,this[_0x20f35f(0x1df)]);}[_0x52aeb3(0x1e5)](){const _0x5bcf32=_0x52aeb3;this[_0x5bcf32(0x1e9)][_0x5bcf32(0x1e5)]();}[_0x52aeb3(0x20a)](){const _0x59794d=_0x52aeb3;this[_0x59794d(0x209)]&&this[_0x59794d(0x209)][_0x59794d(0x20a)](),this[_0x59794d(0x20e)]&&this[_0x59794d(0x20e)][_0x59794d(0x20a)](),super[_0x59794d(0x20a)]();}[_0x52aeb3(0x216)](){const _0x2843b4=_0x52aeb3,{CommentsListView:_0xafc043}=this[_0x2843b4(0x1fd)];this[_0x2843b4(0x209)]=new _0xafc043(this[_0x2843b4(0x20f)],this[_0x2843b4(0x224)][_0x2843b4(0x20d)],Object[_0x2843b4(0x21c)]({'CommentView':this[_0x2843b4(0x1fd)][_0x2843b4(0x1f5)]},this[_0x2843b4(0x1fd)])),this[_0x2843b4(0x209)][_0x2843b4(0x212)](_0x2843b4(0x220))['to'](this),this[_0x2843b4(0x209)][_0x2843b4(0x212)](_0x2843b4(0x1f0))['to'](this),this[_0x2843b4(0x209)][_0x2843b4(0x20c)](_0x2843b4(0x1fa))['to'](this),this[_0x2843b4(0x21f)](_0x2843b4(0x1ea),this[_0x2843b4(0x209)][_0x2843b4(0x1ea)]+0x1),this[_0x2843b4(0x20c)](_0x2843b4(0x1ea))['to'](this[_0x2843b4(0x209)],_0x2843b4(0x1ea),_0x1d231c=>_0x1d231c+0x1),this[_0x2843b4(0x20e)]=this[_0x2843b4(0x1f8)](),this['on'](_0x2843b4(0x220),()=>this[_0x2843b4(0x1e5)]()),this[_0x2843b4(0x20c)](_0x2843b4(0x1f1))['to'](this[_0x2843b4(0x209)],_0x2843b4(0x1f3),this[_0x2843b4(0x20e)][_0x2843b4(0x1ed)],_0x2843b4(0x211),(_0x1db6b1,_0x5701b0)=>_0x1db6b1||!!_0x5701b0);}[_0x52aeb3(0x1f8)](){const _0xb6b392=_0x52aeb3,{CommentThreadInputView:_0x3d2ec0}=this[_0xb6b392(0x1fd)],_0x211682=new _0x3d2ec0(this[_0xb6b392(0x20f)],this[_0xb6b392(0x207)],this[_0xb6b392(0x1fd)][_0xb6b392(0x218)]),_0x44ca80=_0x211682[_0xb6b392(0x1ed)];return _0x211682[_0xb6b392(0x20c)](_0xb6b392(0x21d))['to'](this,_0xb6b392(0x1fa),this[_0xb6b392(0x224)][_0xb6b392(0x20d)],_0xb6b392(0x222),_0x44ca80,_0xb6b392(0x211),(_0x4101fe,_0xfd8a19,_0x25bfbb)=>!!_0x25bfbb||_0x4101fe&&!_0xfd8a19),_0x44ca80['on'](_0xb6b392(0x21b),(_0x68e640,_0x49e1e7)=>{const _0x4075eb=_0xb6b392;this[_0x4075eb(0x202)](_0x4075eb(0x219),_0x49e1e7),_0x44ca80[_0x4075eb(0x1fe)][_0x4075eb(0x1fc)]('');}),_0x44ca80['on'](_0xb6b392(0x1e1),()=>this[_0xb6b392(0x1e5)]()),_0x44ca80[_0xb6b392(0x20c)](_0xb6b392(0x1f7))['to'](this[_0xb6b392(0x224)][_0xb6b392(0x20d)],_0xb6b392(0x222)),_0x211682;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5478d6=_0x1512;(function(_0x228c3e,_0x5d310d){const _0xc137aa=_0x1512,_0x363577=_0x228c3e();while(!![]){try{const _0x4b4a63=-parseInt(_0xc137aa(0x150))/0x1+-parseInt(_0xc137aa(0x161))/0x2*(-parseInt(_0xc137aa(0x140))/0x3)+-parseInt(_0xc137aa(0x15c))/0x4+-parseInt(_0xc137aa(0x169))/0x5+-parseInt(_0xc137aa(0x142))/0x6+-parseInt(_0xc137aa(0x172))/0x7*(parseInt(_0xc137aa(0x13e))/0x8)+parseInt(_0xc137aa(0x141))/0x9*(parseInt(_0xc137aa(0x13d))/0xa);if(_0x4b4a63===_0x5d310d)break;else _0x363577['push'](_0x363577['shift']());}catch(_0x2568b7){_0x363577['push'](_0x363577['shift']());}}}(_0x536e,0x4ed5e));function _0x536e(){const _0x3688d9=['disableComments','acceptSuggestion','listitem','2858530hARZZc','456656NaNfNw','push','281355JyAIno','45zAFydb','3667788ixRBbZ','<p>','content','ariaLabel','color','commentsListView','commentThread','bindTemplate','ck-suggestion-','type','add','suggestionView','SuggestionView','commentThreadInputView','433930EhLXKV','render','</p>','acceptButton','_model','_config','setTemplate','div','bind','discardButton','isActive','ck-suggestion-wrapper','552260LcrLPJ','author','canAccept','ariaDescriptionView','discardSuggestion','8ajxlfK','delegate','descriptionParts','ck-suggestion--disabled-comments','focusables','editorDestroyed','editorReady','ck-rounded-corners','920190DkwDfL','isEnabled','canDiscard','_descriptionElement','formatDateTime','set','description','getTemplate','ck-suggestion-wrapper--active','14Bhauqd'];_0x536e=function(){return _0x3688d9;};return _0x536e();}function _0x1512(_0x48955,_0x39e6ef){const _0x536ecc=_0x536e();return _0x1512=function(_0x151270,_0x5b2ef4){_0x151270=_0x151270-0x13a;let _0xe4bc=_0x536ecc[_0x151270];return _0xe4bc;},_0x1512(_0x48955,_0x39e6ef);}import{default as _0x5ae91b}from'./basesuggestionthreadview.js';import{trimHtml as _0x257ed5}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x291330}from'../../utils/utils.js';export default class pe extends _0x5ae91b{constructor(_0x1e53e,_0x42541f,_0x4c3e2d,_0x22f146){const _0x5ed997=_0x1512;super(_0x1e53e,_0x42541f,_0x4c3e2d,_0x22f146),this[_0x5ed997(0x16e)](_0x5ed997(0x14b),''),this[_0x5ed997(0x158)](_0x5ed997(0x14b))['to'](this,_0x5ed997(0x163),_0x2ebfd2=>_0x2ebfd2&&_0x2ebfd2[0x0]?_0x2ebfd2[0x0][_0x5ed997(0x14b)]:''),this[_0x5ed997(0x158)](_0x5ed997(0x16f))['to'](this,_0x5ed997(0x163),this,_0x5ed997(0x15a),(_0x499da5,_0x32ec9c)=>{const _0x392714=_0x5ed997;let _0x37034c='';for(const _0x122b93 of _0x499da5)_0x37034c+=_0x392714(0x143)+_0x291330(_0x122b93[_0x392714(0x144)],_0x122b93[_0x392714(0x146)])+_0x392714(0x152);return _0x32ec9c?_0x37034c:_0x257ed5(_0x37034c,{'limit':0x8c});}),this[_0x5ed997(0x16c)]=null,this[_0x5ed997(0x14d)]=new _0x22f146[(_0x5ed997(0x14e))](_0x1e53e,_0x42541f,{'formatDateTime':_0x22f146[_0x5ed997(0x16d)]}),this[_0x5ed997(0x14d)][_0x5ed997(0x158)](_0x5ed997(0x16f))['to'](this),this[_0x5ed997(0x14d)][_0x5ed997(0x162)](_0x5ed997(0x13b),_0x5ed997(0x160))['to'](this),this[_0x5ed997(0x14d)][_0x5ed997(0x153)][_0x5ed997(0x158)](_0x5ed997(0x16a))['to'](this,_0x5ed997(0x15e)),this[_0x5ed997(0x14d)][_0x5ed997(0x159)][_0x5ed997(0x158)](_0x5ed997(0x16a))['to'](this,_0x5ed997(0x16b)),this[_0x5ed997(0x165)][_0x5ed997(0x14c)](this[_0x5ed997(0x14d)]),this[_0x5ed997(0x147)]&&this[_0x5ed997(0x165)][_0x5ed997(0x14c)](this[_0x5ed997(0x147)]),this[_0x5ed997(0x14f)]&&this[_0x5ed997(0x165)][_0x5ed997(0x14c)](this[_0x5ed997(0x14f)]),this[_0x5ed997(0x156)](this[_0x5ed997(0x170)]());}[_0x5478d6(0x170)](){const _0x16bea6=_0x5478d6,_0x4cfade=this[_0x16bea6(0x149)],_0x33a276=[this[_0x16bea6(0x14d)]];return this[_0x16bea6(0x147)]&&_0x33a276[_0x16bea6(0x13f)](this[_0x16bea6(0x147)]),this[_0x16bea6(0x14f)]&&_0x33a276[_0x16bea6(0x13f)](this[_0x16bea6(0x14f)]),_0x33a276[_0x16bea6(0x13f)](this[_0x16bea6(0x15f)]),{'tag':_0x16bea6(0x157),'attributes':{'class':['ck',_0x16bea6(0x168),_0x16bea6(0x15b),_0x4cfade['if'](_0x16bea6(0x15a),_0x16bea6(0x171)),_0x4cfade['to'](_0x16bea6(0x14b),_0x4c2f00=>_0x16bea6(0x14a)+_0x4c2f00),this[_0x16bea6(0x155)][_0x16bea6(0x13a)]&&_0x16bea6(0x164)],'data-suggestion-id':this[_0x16bea6(0x154)]['id'],'data-thread-id':this[_0x16bea6(0x154)][_0x16bea6(0x148)]['id'],'data-author-id':this[_0x16bea6(0x154)][_0x16bea6(0x15d)]['id'],'tabindex':0x0,'role':_0x16bea6(0x13c),'aria-label':_0x4cfade['to'](_0x16bea6(0x145)),'aria-describedby':this[_0x16bea6(0x15f)]['id']},'children':_0x33a276};}[_0x5478d6(0x151)](){const _0x6b148d=_0x5478d6;super[_0x6b148d(0x151)](),this[_0x6b148d(0x147)]&&(this[_0x6b148d(0x147)][_0x6b148d(0x162)](_0x6b148d(0x167))['to'](this),this[_0x6b148d(0x147)][_0x6b148d(0x162)](_0x6b148d(0x166))['to'](this)),this[_0x6b148d(0x14f)]&&(this[_0x6b148d(0x14f)][_0x6b148d(0x162)](_0x6b148d(0x167))['to'](this),this[_0x6b148d(0x14f)][_0x6b148d(0x162)](_0x6b148d(0x166))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xc081(){const _0x4853a3=['discardSuggestion','ck-annotation__user','3330ULOxKV','presentation','author','enter','ck-comment__external','locale','155890tLMiuw','extendTemplate','ck-suggestion--discard','ck-suggestion','ck-annotation__actions','_setupKeyboardNavigation','.ck-annotation__content-wrapper','3535sJPlIN','@external','EXTERNAL_SUGGESTION','acceptSuggestion','ck-suggestion__info','_model','234lefQhk','userView','authoredAt','cancel','3594EHjTFb','set','Accept\x20suggestion','bind','description','ck-suggestion__info-name','execute','focusTracker','add','3490tmxtra','getExternalSuggestionNote','_config','ck-annotation__main','source','importWord','Discard\x20suggestion','span','focus','2012109SBoEUp','getUserViewNotificationText','fire','612sMmKgF','ck-annotation__info-time','element','2232aSPMhI','ck-suggestion__actions','push','name','render','focusCycler','ck-annotation__info','keystrokes','4941hWPbZT','esc','EXTERNAL_AVATAR','isExternal','check','_createButton','attributes','focusFirst','ck-suggestion--accept','creator','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion__main','ck-annotation__content-wrapper','time','focusables','EXTERNAL_IMPORT_WORD_AVATAR','listenTo','ck-suggestion__user','shift+tab','tab','acceptButton','bindTemplate','3112VphOLz','querySelector','innerHTML','formatDateTime','ck-annotation__info-name','ck-annotation','target','div','change:description','getTemplate','discardButton','ck-comment__info-time','setTemplate'];_0xc081=function(){return _0x4853a3;};return _0xc081();}function _0x40e6(_0x4953d9,_0x23949c){const _0xc08136=_0xc081();return _0x40e6=function(_0x40e666,_0x59a471){_0x40e666=_0x40e666-0x18f;let _0x527576=_0xc08136[_0x40e666];return _0x527576;},_0x40e6(_0x4953d9,_0x23949c);}const _0x4ec40a=_0x40e6;(function(_0x307ad2,_0x1c1415){const _0x434a65=_0x40e6,_0x2984bf=_0x307ad2();while(!![]){try{const _0x5bf578=parseInt(_0x434a65(0x1d0))/0x1+parseInt(_0x434a65(0x1e1))/0x2*(-parseInt(_0x434a65(0x1dd))/0x3)+-parseInt(_0x434a65(0x19a))/0x4*(parseInt(_0x434a65(0x1ca))/0x5)+parseInt(_0x434a65(0x19d))/0x6*(parseInt(_0x434a65(0x1d7))/0x7)+parseInt(_0x434a65(0x1bb))/0x8+parseInt(_0x434a65(0x1a5))/0x9*(parseInt(_0x434a65(0x1ea))/0xa)+-parseInt(_0x434a65(0x197))/0xb;if(_0x5bf578===_0x1c1415)break;else _0x2984bf['push'](_0x2984bf['shift']());}catch(_0xaf84ea){_0x2984bf['push'](_0x2984bf['shift']());}}}(_0xc081,0x1b0a5));import{FocusTracker as _0x10460a,KeystrokeHandler as _0x1f39cf}from'ckeditor5/src/utils.js';import{View as _0x3b5d6e,ViewCollection as _0x21d1b2,FocusCycler as _0x14212c}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x434d06,UserView as _0x32120b}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4d0a4a}from'ckeditor5/src/core.js';import{getTranslation as _0x5e1ec6}from'../../utils/common-translations.js';export default class fe extends _0x3b5d6e{constructor(_0x55794a,_0x49a256,_0x341137){const _0x462676=_0x40e6;super(_0x55794a),this[_0x462676(0x1dc)]=_0x49a256,this[_0x462676(0x190)]=_0x341137,this[_0x462676(0x1e2)](_0x462676(0x1e5),''),this[_0x462676(0x1e4)](_0x462676(0x1df))['to'](_0x49a256),this[_0x462676(0x1b9)]=this[_0x462676(0x1aa)](_0x5e1ec6(_0x55794a,_0x462676(0x1e3)),_0x4d0a4a[_0x462676(0x1a9)],_0x462676(0x1ad),_0x462676(0x1da),'sw'),this[_0x462676(0x1c5)]=this[_0x462676(0x1aa)](_0x5e1ec6(_0x55794a,_0x462676(0x194)),_0x4d0a4a[_0x462676(0x1e0)],_0x462676(0x1d2),_0x462676(0x1c8),'sw'),this[_0x462676(0x1de)]=new _0x32120b(_0x55794a,_0x49a256[_0x462676(0x1cc)],this[_0x462676(0x198)]()),this[_0x462676(0x1de)][_0x462676(0x1d1)]({'attributes':{'class':[_0x462676(0x1b6),_0x462676(0x1c9)],'aria-hidden':!0x0}}),this[_0x462676(0x1b3)]=new _0x21d1b2([this[_0x462676(0x1b9)],this[_0x462676(0x1c5)]]),this[_0x462676(0x1e8)]=new _0x10460a(),this[_0x462676(0x1a4)]=new _0x1f39cf(),this[_0x462676(0x1a2)]=new _0x14212c({'focusables':this[_0x462676(0x1b3)],'focusTracker':this[_0x462676(0x1e8)],'keystrokeHandler':this[_0x462676(0x1a4)],'actions':{'focusPrevious':_0x462676(0x1b7),'focusNext':_0x462676(0x1b8)},'keystrokeHandlerOptions':{'filter':_0x52adf3=>_0x52adf3[_0x462676(0x1c1)]!==this[_0x462676(0x19c)]}}),this[_0x462676(0x1c7)](this[_0x462676(0x1c4)]());}[_0x4ec40a(0x1a1)](){const _0x378b9a=_0x4ec40a;super[_0x378b9a(0x1a1)]();const _0x1be1d6=this[_0x378b9a(0x19c)][_0x378b9a(0x1bc)](_0x378b9a(0x1d6));_0x1be1d6[_0x378b9a(0x1bd)]=this[_0x378b9a(0x1e5)],this['on'](_0x378b9a(0x1c3),(_0x57f318,_0x556466,_0x1097dd)=>{const _0xe2267d=_0x378b9a;_0x1be1d6[_0xe2267d(0x1bd)]=_0x1097dd;}),this[_0x378b9a(0x1d5)]();}[_0x4ec40a(0x1c4)](){const _0x3fce1d=_0x4ec40a,_0x34a84d=this[_0x3fce1d(0x1ba)],_0x1f87f2=[{'tag':_0x3fce1d(0x1c2),'attributes':{'class':[_0x3fce1d(0x1db),_0x3fce1d(0x1a3)]},'children':[{'tag':_0x3fce1d(0x195),'children':[{'text':this[_0x3fce1d(0x1de)][_0x3fce1d(0x1a0)]}],'attributes':{'class':[_0x3fce1d(0x1e6),_0x3fce1d(0x1bf)],'data-cke-tooltip-text':this[_0x3fce1d(0x1de)][_0x3fce1d(0x1a0)]}},{'tag':_0x3fce1d(0x1b2),'attributes':{'datetime':_0x34a84d['to'](_0x3fce1d(0x1df)),'class':[_0x3fce1d(0x1c6),_0x3fce1d(0x19b)]},'children':[{'text':_0x34a84d['to'](_0x3fce1d(0x1df),_0x49547e=>this[_0x3fce1d(0x190)][_0x3fce1d(0x1be)](_0x49547e))}]}]},{'tag':_0x3fce1d(0x1c2),'attributes':{'class':[_0x3fce1d(0x19e),_0x3fce1d(0x1d4)]},'children':[this[_0x3fce1d(0x1b9)],this[_0x3fce1d(0x1c5)]]},{'tag':_0x3fce1d(0x1c2),'attributes':{'class':[_0x3fce1d(0x1b1)]}}];return this[_0x3fce1d(0x1dc)][_0x3fce1d(0x1a8)]&&_0x1f87f2[_0x3fce1d(0x19f)]({'tag':_0x3fce1d(0x1c2),'attributes':{'class':[_0x3fce1d(0x1ce)]},'children':[{'text':this[_0x3fce1d(0x18f)]()}]}),{'tag':_0x3fce1d(0x1c2),'attributes':{'class':[_0x3fce1d(0x1d3),_0x3fce1d(0x1c0)],'tabindex':-0x1},'children':[this[_0x3fce1d(0x1de)],{'tag':_0x3fce1d(0x1c2),'attributes':{'class':[_0x3fce1d(0x1b0),_0x3fce1d(0x191)],'role':_0x3fce1d(0x1cb)},'children':_0x1f87f2}]};}[_0x4ec40a(0x196)](){const _0x7a6d99=_0x4ec40a;this[_0x7a6d99(0x19c)][_0x7a6d99(0x196)]();}[_0x4ec40a(0x198)](){const _0x235398=_0x4ec40a;return this[_0x235398(0x1dc)][_0x235398(0x1a8)]?_0x235398(0x193)===this[_0x235398(0x1dc)][_0x235398(0x1ab)][_0x235398(0x1d8)][_0x235398(0x192)]?_0x5e1ec6(this[_0x235398(0x1cf)],_0x235398(0x1b4),this[_0x235398(0x1dc)][_0x235398(0x1ae)][_0x235398(0x1a0)]):_0x5e1ec6(this[_0x235398(0x1cf)],_0x235398(0x1a7),this[_0x235398(0x1dc)][_0x235398(0x1ae)][_0x235398(0x1a0)]):null;}[_0x4ec40a(0x18f)](){const _0x3ccc3f=_0x4ec40a;return _0x3ccc3f(0x193)===this[_0x3ccc3f(0x1dc)][_0x3ccc3f(0x1ab)][_0x3ccc3f(0x1d8)][_0x3ccc3f(0x192)]?_0x5e1ec6(this[_0x3ccc3f(0x1cf)],_0x3ccc3f(0x1af)):_0x5e1ec6(this[_0x3ccc3f(0x1cf)],_0x3ccc3f(0x1d9));}[_0x4ec40a(0x1aa)](_0x4e2c9c,_0x39c9ec,_0x5e5519,_0x4c24a4,_0x2fb67a){const _0xeeb30=_0x4ec40a,_0x3c0702=new _0x434d06(this[_0xeeb30(0x1cf)]);return _0x3c0702[_0xeeb30(0x1e2)]({'label':_0x4e2c9c,'icon':_0x39c9ec,'tooltip':!0x0,'tooltipPosition':_0x2fb67a}),_0x3c0702[_0xeeb30(0x1d1)]({'attributes':{'class':_0x5e5519}}),_0x3c0702['on'](_0xeeb30(0x1e7),()=>{const _0x4f2b17=_0xeeb30;this[_0x4f2b17(0x199)](_0x4c24a4,this[_0x4f2b17(0x1dc)]['id']);}),_0x3c0702;}[_0x4ec40a(0x1d5)](){const _0x276dff=_0x4ec40a,_0x43bad9=this[_0x276dff(0x19c)];this[_0x276dff(0x1a4)][_0x276dff(0x1b5)](_0x43bad9);for(const _0x1fcbdb of this[_0x276dff(0x1b3)])this[_0x276dff(0x1e8)][_0x276dff(0x1e9)](_0x1fcbdb[_0x276dff(0x19c)]),this[_0x276dff(0x1a4)][_0x276dff(0x1b5)](_0x1fcbdb[_0x276dff(0x19c)]);this[_0x276dff(0x1a4)][_0x276dff(0x1e2)](_0x276dff(0x1cd),(_0x48d229,_0x4cf8ae)=>{const _0x191745=_0x276dff;_0x43bad9===_0x48d229[_0x191745(0x1c1)]&&(this[_0x191745(0x1a2)][_0x191745(0x1ac)](),_0x4cf8ae());}),this[_0x276dff(0x1a4)][_0x276dff(0x1e2)](_0x276dff(0x1a6),(_0x3c608c,_0x56ab3e)=>{const _0x2ab9a0=_0x276dff;_0x43bad9!==_0x3c608c[_0x2ab9a0(0x1c1)]&&(this[_0x2ab9a0(0x196)](),_0x56ab3e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fba85=_0x5e97;(function(_0xc59de9,_0x5c2f8f){const _0x45eeaa=_0x5e97,_0xaa201e=_0xc59de9();while(!![]){try{const _0x27cdbd=-parseInt(_0x45eeaa(0xbd))/0x1*(-parseInt(_0x45eeaa(0xaa))/0x2)+-parseInt(_0x45eeaa(0x9e))/0x3*(parseInt(_0x45eeaa(0xa5))/0x4)+-parseInt(_0x45eeaa(0xb8))/0x5*(parseInt(_0x45eeaa(0xad))/0x6)+-parseInt(_0x45eeaa(0xa0))/0x7+parseInt(_0x45eeaa(0xac))/0x8+-parseInt(_0x45eeaa(0xa9))/0x9*(-parseInt(_0x45eeaa(0x9b))/0xa)+-parseInt(_0x45eeaa(0xa4))/0xb*(-parseInt(_0x45eeaa(0xb7))/0xc);if(_0x27cdbd===_0x5c2f8f)break;else _0xaa201e['push'](_0xaa201e['shift']());}catch(_0x5271f1){_0xaa201e['push'](_0xaa201e['shift']());}}}(_0x343a,0xcef65));import{View as _0x5bd6f4}from'ckeditor5/src/ui.js';function _0x5e97(_0x5bb5af,_0x468a2d){const _0x343a64=_0x343a();return _0x5e97=function(_0x5e976e,_0x78aab6){_0x5e976e=_0x5e976e-0x9b;let _0x5d7731=_0x343a64[_0x5e976e];return _0x5d7731;},_0x5e97(_0x5bb5af,_0x468a2d);}export default class Me extends _0x5bd6f4{constructor(_0x488e8f,_0x5f3cfc){const _0x2ba93c=_0x5e97;super(_0x488e8f),this[_0x2ba93c(0xa7)]=_0x5f3cfc,this[_0x2ba93c(0xb5)]({'tag':_0x2ba93c(0xbe),'attributes':{'class':['ck',_0x2ba93c(0x9f),_0x2ba93c(0xa6)],'tabindex':-0x1}});}[_0x1fba85(0xb3)](){const _0xb9d1b7=_0x1fba85;super[_0xb9d1b7(0xb3)](),this[_0xb9d1b7(0xa2)][_0xb9d1b7(0xba)][_0xb9d1b7(0xb6)]=this[_0xb9d1b7(0xa7)][_0xb9d1b7(0xb0)][_0xb9d1b7(0xb6)]+'px',this[_0xb9d1b7(0xa2)][_0xb9d1b7(0xba)][_0xb9d1b7(0xab)]=this[_0xb9d1b7(0xa7)][_0xb9d1b7(0xb0)][_0xb9d1b7(0xab)]+'px';}[_0x1fba85(0xa8)](_0x23e593,_0x2fba1d){const _0x2bfd71=_0x1fba85;if(!this[_0x2bfd71(0xa2)])return;const _0x527c8f=[];for(const [_0xe1e964,_0x1bb929]of _0x23e593){const _0x46c36b=document[_0x2bfd71(0xa1)](_0x2bfd71(0xbe));_0x46c36b[_0x2bfd71(0xbb)](_0x2bfd71(0xbc),_0xe1e964),_0x46c36b[_0x2bfd71(0xb9)]=_0x1bb929[_0x2bfd71(0xae)]+_0x2bfd71(0xaf),_0x46c36b[_0x2bfd71(0xb4)]=_0x1bb929[_0x2bfd71(0xa3)],_0x527c8f[_0x2bfd71(0xb2)](_0x46c36b);}_0x2fba1d(this[_0x2bfd71(0xa2)],_0x527c8f),this[_0x2bfd71(0xa2)][_0x2bfd71(0xba)][_0x2bfd71(0xb6)]='',this[_0x2bfd71(0xa2)][_0x2bfd71(0xba)][_0x2bfd71(0xab)]='',this[_0x2bfd71(0x9d)](_0x2bfd71(0xb1));}[_0x1fba85(0x9c)](){const _0x247d11=_0x1fba85;this[_0x247d11(0xa2)][_0x247d11(0x9c)]();}}function _0x343a(){const _0x39b1b9=['18050HEGyow','focus','fire','1222107PneAJT','ck-reset','8079484iMnxoV','createElement','element','content','2054635qaClfH','4iyvFqm','ck-track-changes-preview','options','setPreviewData','891IjmjsU','20pRHcIk','height','9435872ohiCjE','3445518DjayTq','classes','\x20ck-track-changes-preview__root-container','dialogRects','previewDataReady','push','render','innerHTML','setTemplate','width','84CCSOup','10ZLItuL','className','style','setAttribute','data-ck-root-name','89213wdtXCt','div'];_0x343a=function(){return _0x39b1b9;};return _0x343a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x417e4d,_0xea590f,_0x3778a4){const _0x41b86e=_0x417e4d['t'],t=_0x417e4d['t'];switch(_0xea590f){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',_0x3778a4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3778a4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3778a4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3778a4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3778a4);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',_0x3778a4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3778a4);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',_0x3778a4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3778a4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3778a4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3778a4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3778a4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3778a4);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3778a4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3778a4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3778a4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3778a4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3778a4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3778a4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3778a4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3778a4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3778a4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3778a4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3778a4);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'},_0x3778a4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3778a4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3778a4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3778a4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3778a4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3778a4);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'},_0x3778a4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3778a4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3778a4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3778a4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3778a4);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'},_0x3778a4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3778a4);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'},_0x3778a4);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'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'},_0x3778a4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3778a4);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'},_0x3778a4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3778a4);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'},_0x3778a4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3778a4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3778a4);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'},_0x3778a4);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3778a4);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 _0x41b86e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3778a4);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x41b86e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3778a4);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3778a4);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'},_0x3778a4);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'},_0x3778a4);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'},_0x3778a4);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xea590f;}}
|
|
23
|
+
export function getTranslation(_0x26ce1a,_0x450976,_0x197f90){const _0x51685b=_0x26ce1a['t'],t=_0x26ce1a['t'];switch(_0x450976){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',_0x197f90);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x197f90);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x197f90);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x197f90);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x197f90);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',_0x197f90);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x197f90);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',_0x197f90);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x197f90);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x197f90);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x197f90);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x197f90);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x197f90);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x197f90);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x197f90);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x197f90);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x197f90);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x197f90);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x197f90);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x197f90);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x197f90);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x197f90);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x197f90);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x197f90);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'},_0x197f90);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x197f90);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x197f90);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x197f90);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x197f90);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x197f90);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'},_0x197f90);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x197f90);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x197f90);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x197f90);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x197f90);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'},_0x197f90);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x197f90);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'},_0x197f90);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'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'},_0x197f90);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x197f90);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'},_0x197f90);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x197f90);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'},_0x197f90);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x197f90);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x197f90);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'},_0x197f90);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x197f90);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 _0x51685b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x197f90);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x51685b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x197f90);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x197f90);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'},_0x197f90);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'},_0x197f90);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'},_0x197f90);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x450976;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5286f6,_0xd08eb7){const _0x5e1739=_0x2241,_0x261d1c=_0x5286f6();while(!![]){try{const _0x23070d=parseInt(_0x5e1739(0x1b4))/0x1+-parseInt(_0x5e1739(0x1ac))/0x2+-parseInt(_0x5e1739(0x1ce))/0x3+-parseInt(_0x5e1739(0x1c3))/0x4*(-parseInt(_0x5e1739(0x1c6))/0x5)+-parseInt(_0x5e1739(0x1c7))/0x6*(parseInt(_0x5e1739(0x1b3))/0x7)+parseInt(_0x5e1739(0x1af))/0x8+parseInt(_0x5e1739(0x1c8))/0x9;if(_0x23070d===_0xd08eb7)break;else _0x261d1c['push'](_0x261d1c['shift']());}catch(_0x375e73){_0x261d1c['push'](_0x261d1c['shift']());}}}(_0x5db0,0xce56d));export function normalizeDescription(_0x1e2dd8){const _0x4a307a=_0x2241;return Array[_0x4a307a(0x1d7)](_0x1e2dd8)||(_0x1e2dd8=[_0x1e2dd8]),_0x1e2dd8[_0x4a307a(0x1b5)](_0x1766bb=>{const _0xa7025c=_0x4a307a,_0x4e71a5=_0x1766bb[_0xa7025c(0x1ca)][_0xa7025c(0x1b2)](/\*/g,''),_0x4a7756=_0x1766bb[_0xa7025c(0x1a9)]?_0xa7025c(0x1ae)+_0x1766bb[_0xa7025c(0x1a9)][_0xa7025c(0x1d5)]+']':'';return'['+_0x1766bb[_0xa7025c(0x1a8)]+']\x20'+_0x4e71a5+_0x4a7756;})[_0x4a307a(0x1c0)](';\x20');}export function renderDescription(_0xb55e39,_0x477328){const _0x33ad47=_0x2241;let _0x404b29='';return _0x404b29+=_0xb55e39[_0x33ad47(0x1a5)]('*')[_0x33ad47(0x1b5)]((_0x3f68d9,_0x5ba4c9)=>_0x5ba4c9%0x2!=0x0?_0x33ad47(0x1aa)+nn(_0x3f68d9)+_0x33ad47(0x1d2):nn(_0x3f68d9))[_0x33ad47(0x1c0)](''),_0x477328&&(_0x404b29+=_0x33ad47(0x1c5)+_0x477328[_0x33ad47(0x1d5)]+_0x33ad47(0x1b1)+_0x477328[_0x33ad47(0x1cf)]+_0x33ad47(0x1bc)),_0x404b29;}function _0x2241(_0x415ff1,_0xa0a2f0){const _0x5db0fb=_0x5db0();return _0x2241=function(_0x2241fd,_0x3b7a29){_0x2241fd=_0x2241fd-0x1a4;let _0x31dfd1=_0x5db0fb[_0x2241fd];return _0x31dfd1;},_0x2241(_0x415ff1,_0xa0a2f0);}function nn(_0x46b4c4){const _0x4a77fe=_0x2241,_0x4b6692=document[_0x4a77fe(0x1b7)](_0x4a77fe(0x1d8));return _0x4b6692[_0x4a77fe(0x1b8)]=_0x46b4c4,_0x4b6692[_0x4a77fe(0x1c2)];}export function sortSuggestions(_0xbc0553){const _0x101248=_0x2241;return _0xbc0553[_0x101248(0x1c1)]((_0x1aebac,_0x1581f4)=>_0x101248(0x1bb)==_0x1aebac[_0x101248(0x1a8)]&&_0x101248(0x1bb)!=_0x1581f4[_0x101248(0x1a8)]?-0x1:_0x101248(0x1bb)!=_0x1aebac[_0x101248(0x1a8)]&&_0x101248(0x1bb)==_0x1581f4[_0x101248(0x1a8)]?0x1:0x0);}export function getSelectedSuggestions(_0x4afa1d,_0x567e10){const _0x1ec516=_0x2241,_0xcafbe8=Array[_0x1ec516(0x1a6)](_0x4afa1d[_0x1ec516(0x1b0)]()),_0x38ff7a=new Set();for(const _0x37771d of _0x567e10)if(_0x37771d[_0x1ec516(0x1b9)]){for(const _0xe9055c of _0xcafbe8)for(const _0x2262a4 of _0x37771d[_0x1ec516(0x1b0)]())(_0xe9055c[_0x1ec516(0x1a7)](_0x2262a4)||_0x4afa1d[_0x1ec516(0x1bd)]&&!_0x37771d[_0x1ec516(0x1d3)]&&_0x37771d[_0x1ec516(0x1be)]&&_0x2262a4[_0x1ec516(0x1cd)][_0x1ec516(0x1b6)](_0xe9055c[_0x1ec516(0x1cc)]))&&_0x38ff7a[_0x1ec516(0x1d0)](_0x37771d);}return _0x38ff7a;}export function getRangesOfBlockGroups(_0x25e921,_0x412582){const _0x383b16=_0x2241;let _0x471bfb,_0x211103=0x0;const _0x2e2a87=[],_0x5a437f=_0x412582[_0x383b16(0x1ab)];for(;_0x211103<_0x25e921[_0x383b16(0x1a4)];){const _0x58f233=_0x25e921[_0x211103],_0x3195c3=_0x25e921[_0x211103+0x1];_0x471bfb||(_0x471bfb=_0x412582[_0x383b16(0x1d4)](_0x58f233)),on(_0x412582,_0x58f233,_0x3195c3)||(_0x2e2a87[_0x383b16(0x1ba)](_0x412582[_0x383b16(0x1d1)](_0x471bfb,_0x5a437f[_0x383b16(0x1c4)](_0x58f233)?_0x412582[_0x383b16(0x1ad)](_0x58f233):_0x412582[_0x383b16(0x1cb)](_0x58f233,_0x383b16(0x1cd)))),_0x471bfb=null),_0x211103++;}return _0x2e2a87;}function _0x5db0(){const _0x133702=['splice','content','createPositionAt','start','end','4518519mBGNVi','title','add','createRange','</span>','isMultiRange','createPositionBefore','value','change','isArray','span','length','split','from','isIntersecting','type','color','<span\x20class=\x22ck-suggestion-type\x22>','schema','322250lUHkIn','createPositionAfter','\x20[color\x20','3077488NcYVNb','getRanges','\x22\x20title=\x22','replace','14imgzQg','513015NXrBpJ','map','isTouching','createElement','innerText','isInContent','push','deletion','\x22></span>','isCollapsed','next','execute','join','sort','innerHTML','4tZMnfO','isObject','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','1617070KjHbqh','4518330MHiGbt','25177122GREUQl'];_0x5db0=function(){return _0x133702;};return _0x5db0();}function on(_0x230fc7,_0x3c1d0a,_0x163467){const _0x42165c=_0x2241;if(!_0x163467)return!0x1;const _0x43ee10=_0x230fc7[_0x42165c(0x1ad)](_0x3c1d0a),_0x7ecd37=_0x230fc7[_0x42165c(0x1d4)](_0x163467);return _0x43ee10[_0x42165c(0x1b6)](_0x7ecd37);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x386d2,_0x1a70b5,_0x607bd1){const _0x24e4b0=_0x2241;for(;_0x607bd1[_0x24e4b0(0x1a4)];){const _0x25e428=_0x607bd1[_0x24e4b0(0x1c9)](0x0,0x64);_0x386d2[_0x24e4b0(0x1d6)](()=>{const _0x836e77=_0x24e4b0;for(const _0x5a3637 of _0x25e428)_0x5a3637[_0x836e77(0x1b9)]&&_0x1a70b5[_0x836e77(0x1bf)](_0x5a3637['id']);});}}
|