@ckeditor/ckeditor5-track-changes 47.7.0 → 47.7.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3cba(){const _0x3bbfec=['define','isPremiumPlugin','839544qupdOY','isOfficialPlugin','previewFinalContent','3tgduTo','6397963XEolUw','commands','requires','TrackChangesPreview','150ZcYZDr','5117044GAedVN','1017254SiKobd','editor','9YDrhKT','191472cKpLmc','pluginName','add','1174136KcUHxx','569626LmlIRw','trackChanges.preview.renderFunction','appendChild','20fRuIez','config'];_0x3cba=function(){return _0x3bbfec;};return _0x3cba();}const _0x5b95d7=_0x423c;(function(_0x225964,_0x5a11a9){const _0x1a9fd9=_0x423c,_0x2058bb=_0x225964();while(!![]){try{const _0x2cf150=parseInt(_0x1a9fd9(0x9a))/0x1+-parseInt(_0x1a9fd9(0xa1))/0x2+parseInt(_0x1a9fd9(0xa4))/0x3*(-parseInt(_0x1a9fd9(0xaa))/0x4)+-parseInt(_0x1a9fd9(0xa9))/0x5*(-parseInt(_0x1a9fd9(0xae))/0x6)+-parseInt(_0x1a9fd9(0xab))/0x7+parseInt(_0x1a9fd9(0x99))/0x8*(-parseInt(_0x1a9fd9(0xad))/0x9)+-parseInt(_0x1a9fd9(0x9d))/0xa*(-parseInt(_0x1a9fd9(0xa5))/0xb);if(_0x2cf150===_0x5a11a9)break;else _0x2058bb['push'](_0x2058bb['shift']());}catch(_0x49a82a){_0x2058bb['push'](_0x2058bb['shift']());}}}(_0x3cba,0xaaafa));function _0x423c(_0x485ab0,_0x235f80){const _0x3cba08=_0x3cba();return _0x423c=function(_0x423c0f,_0x10766c){_0x423c0f=_0x423c0f-0x99;let _0x5e3db1=_0x3cba08[_0x423c0f];return _0x5e3db1;},_0x423c(_0x485ab0,_0x235f80);}import{Plugin as _0x254b80}from'ckeditor5/src/core.js';import{Dialog as _0x3d17e9}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5b7b0e}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x411849}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x254b80{static get[_0x5b95d7(0xa7)](){return[_0x5b7b0e,_0x3d17e9];}static get[_0x5b95d7(0xaf)](){const _0x1081c1=_0x5b95d7;return _0x1081c1(0xa8);}static get[_0x5b95d7(0xa2)](){return!0x0;}static get[_0x5b95d7(0xa0)](){return!0x0;}constructor(_0x7acf7e){const _0x27b594=_0x5b95d7;super(_0x7acf7e),_0x7acf7e[_0x27b594(0xa6)][_0x27b594(0xb0)](_0x27b594(0xa3),new _0x411849(this[_0x27b594(0xac)])),_0x7acf7e[_0x27b594(0x9e)][_0x27b594(0x9f)](_0x27b594(0x9b),(_0x44913e,_0x3fca62)=>{const _0x5e7cb9=_0x27b594;for(const _0x4a57bd of _0x3fca62)_0x44913e[_0x5e7cb9(0x9c)](_0x4a57bd);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2466(_0x15d25d,_0x226fd8){const _0x3f6635=_0x3f66();return _0x2466=function(_0x2466ee,_0x997b51){_0x2466ee=_0x2466ee-0xe3;let _0xfb0f26=_0x3f6635[_0x2466ee];return _0xfb0f26;},_0x2466(_0x15d25d,_0x226fd8);}const _0x62f9fd=_0x2466;(function(_0x1ea879,_0x21704b){const _0x31a450=_0x2466,_0x5a8d99=_0x1ea879();while(!![]){try{const _0x1306d3=parseInt(_0x31a450(0x13f))/0x1*(parseInt(_0x31a450(0x143))/0x2)+-parseInt(_0x31a450(0x140))/0x3*(parseInt(_0x31a450(0x10f))/0x4)+parseInt(_0x31a450(0x16b))/0x5*(parseInt(_0x31a450(0x187))/0x6)+-parseInt(_0x31a450(0x12f))/0x7*(parseInt(_0x31a450(0x131))/0x8)+parseInt(_0x31a450(0x163))/0x9*(-parseInt(_0x31a450(0x10c))/0xa)+parseInt(_0x31a450(0xe8))/0xb*(parseInt(_0x31a450(0x117))/0xc)+parseInt(_0x31a450(0x14b))/0xd*(parseInt(_0x31a450(0xec))/0xe);if(_0x1306d3===_0x21704b)break;else _0x5a8d99['push'](_0x5a8d99['shift']());}catch(_0x2084e1){_0x5a8d99['push'](_0x5a8d99['shift']());}}}(_0x3f66,0x88bc5));import{Plugin as _0x21ff4c}from'ckeditor5/src/core.js';import{Collection as _0x59f51a}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x33bf17}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x808bc7,createDropdown as _0x1d1edd,ListSeparatorView as _0x5d17af,MenuBarMenuView as _0x2d681c,MenuBarMenuListView as _0x19d056,MenuBarMenuListItemView as _0x4e4134,MenuBarMenuListItemButtonView as _0x271a0d,SplitButtonView as _0x126777,UIModel as _0x1d0d93}from'ckeditor5/src/ui.js';import{Users as _0x3ded3c,getDateTimeFormatter as _0x2decfe,getAllMarkersDomElementsSorted as _0x5e9737}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3f66(){const _0x2adca4=['_initializeController','438276zQDpVo','requires','size','children','trackChangesLicenseKeyUsageLimit','TrackChangesEditing','activeMarkers','getMarkerNames','_bindAnnotationToEditors','comments.maxCommentsWhenCollapsed','unbind','init','delegate','Preview\x20final\x20content','escape','EditorAnnotations','refreshSelectedViews','editing','source','CommentView','expired','11579689gNeSjO','menuitem','keys','componentFactory','378gCjwBA','destroy','define','featureNotAllowed','getMarkers','SuggestionView','_createToolbarButton','length','plugins','suggestion-','getFirstRange','lowest','getByInnerView','hasSuggestion','getRanges','filter','panelView','arrowView','_handleSuggestionControllerDelayed','trackChangesLicenseKeyInvalid','isPremiumPlugin','some','trackChangesLicenseKeyNotAllowed','bind','suggestionView','_licenseKeyCheckInterval','isOn','trackChanges.SuggestionThreadView','push','focus','descriptionFactory','mainView','8594230nvTtls','fire','_suggestionToController','232LqsoCM','getAllAdjacentSuggestions','commands','button','pluginName','suggestionLoaded','getSuggestion','reduce','12yxifzv','registerAnnotation','previewFinalContent','actionView','trackChangesLicenseKeyExpired','licenseKey','set','_viewToController','_updateController','get','domainLimit','suggestionChanged','from','trackChangesLicenseKeyDomainLimit','separator','getSuggestionForAnnotation','type','Annotations','Discard\x20all\x20selected\x20suggestions','delete','invalid','evaluationLimit','_annotationViews','trackChanges','7FSFrlJ','values','7146872poqHWB','switchbutton','addComment','commentsListView','getJoined','comments.maxThreadTotalWeight','isDirty','_addUIComponentsToFactory','_handleControllerBuffer','CommentsUI','head','stopListening','change:previous','has','141fkIEIq','27837XShCRZ','menuBar:trackChanges','config','15634EHiFdA','trackChanges.disableComments','change:activeAnnotations','TrackChangesPreview','editor','_refreshActiveMarkers','Track\x20changes','isInContent','88985eIdyIA','isEnabled','acceptSelectedSuggestions','trackChangesLicenseKeyValid','commentThread','getDescriptions','toMany','view','_showLicenseError','getAnnotationForSuggestion','createAnnotationView','locale','addMany','_disableComments','acceptAllSuggestions','comments.maxCommentCharsWhenCollapsed','TrackChangesUI','value','discardSelectedSuggestions','isMultiRange','Accept\x20all\x20selected\x20suggestions','_unbindEditors','isOfficialPlugin','Discard\x20all\x20suggestions','9ufrusP','CommentsRepository','listenTo','menu','trackChanges.SuggestionView','remove','SuggestionThreadView','execute','35EsBQSc','clear','commandName','TrackChanges','comments','acceptButton','previous','items','add','usageLimit','discardButton','descriptionParts','Accept\x20all\x20suggestions','model','activeAnnotations','_createMenuBarMenu','innerView','suggestionUnloaded','menuitemcheckbox','_destroyController','comments.editorConfig','buttonView','createCommentThreadController','trackChangesLicenseKeyEvaluationLimit','discardAllSuggestions','addSourceCollector','createAnnotation'];_0x3f66=function(){return _0x2adca4;};return _0x3f66();}import{TrackChangesEditing as _0x56694e}from'./trackchangesediting.js';import{SuggestionController as _0x522d11}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x555fcd}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2df2f0}from'./ui/view/suggestionview.js';import{getTranslation as _0x891c7e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x21ff4c{[_0x62f9fd(0x11c)];[_0x62f9fd(0x105)];[_0x62f9fd(0x10e)];[_0x62f9fd(0x11e)];[_0x62f9fd(0x12d)];[_0x62f9fd(0x139)];[_0x62f9fd(0x158)];static get[_0x62f9fd(0x188)](){const _0x382907=_0x62f9fd;return[_0x56694e,_0x3ded3c,_0x382907(0x164),_0x382907(0x128),_0x382907(0x196)];}static get[_0x62f9fd(0x113)](){const _0x596f32=_0x62f9fd;return _0x596f32(0x15b);}static get[_0x62f9fd(0x161)](){return!0x0;}static get[_0x62f9fd(0x100)](){return!0x0;}constructor(_0x49e9a8){const _0x558a7c=_0x62f9fd;super(_0x49e9a8),this[_0x558a7c(0x10e)]=new Map(),this[_0x558a7c(0x11e)]=new Map(),this[_0x558a7c(0x12d)]=new Map(),this[_0x558a7c(0x139)]=new Map();const _0x55b8b6=this[_0x558a7c(0x147)][_0x558a7c(0x142)];_0x55b8b6[_0x558a7c(0xee)](_0x558a7c(0x107),_0x555fcd),_0x55b8b6[_0x558a7c(0xee)](_0x558a7c(0x167),_0x2df2f0),_0x55b8b6[_0x558a7c(0xee)](_0x558a7c(0x144),!0x1),this[_0x558a7c(0x158)]=_0x55b8b6[_0x558a7c(0x120)](_0x558a7c(0x144));}[_0x62f9fd(0xfe)](_0xca4fd0,_0x5d6d2b){const _0x5372a8=_0x62f9fd;0x0===this[_0x5372a8(0x139)][_0x5372a8(0x189)]&&setTimeout(()=>{const _0x4e0c9e=_0x5372a8;for(const [_0x4ee940,_0x148a2b]of this[_0x4e0c9e(0x139)]){const _0x962f20=this[_0x4e0c9e(0x10e)][_0x4e0c9e(0x13e)](_0x4ee940);_0x962f20||_0x148a2b?_0x962f20&&_0x148a2b&&this[_0x4e0c9e(0x17e)](_0x4ee940):this[_0x4e0c9e(0x186)](_0x4ee940);}this[_0x4e0c9e(0x139)][_0x4e0c9e(0x16c)](),this[_0x4e0c9e(0x147)][_0x4e0c9e(0xf4)][_0x4e0c9e(0x120)](_0x4e0c9e(0x196))[_0x4e0c9e(0xe3)](),this[_0x4e0c9e(0x148)]();},0xa),this[_0x5372a8(0x139)][_0x5372a8(0x11d)](_0xca4fd0,_0x5d6d2b);}[_0x62f9fd(0x192)](){const _0x1697e9=_0x62f9fd,_0x3a1013=this[_0x1697e9(0x147)],_0xb14a96=_0x3a1013[_0x1697e9(0xf4)][_0x1697e9(0x120)](_0x1697e9(0x18c)),_0x1fdabc=_0x3a1013[_0x1697e9(0xf4)][_0x1697e9(0x120)](_0x1697e9(0x128)),_0x15b19d=_0x3a1013[_0x1697e9(0xf4)][_0x1697e9(0x120)](_0x1697e9(0x196)),_0x1ca225=_0x3a1013[_0x1697e9(0xf4)][_0x1697e9(0x120)](_0x1697e9(0x164));this[_0x1697e9(0x138)](),_0x15b19d[_0x1697e9(0x184)](()=>{const _0x3d1a8d=_0x1697e9,_0x4ecaec=[];for(const [_0x52ecd1,_0x2fd6a4]of Array[_0x3d1a8d(0x123)](this[_0x3d1a8d(0x10e)])){const _0x27ae9e=_0x52ecd1[_0x3d1a8d(0x110)](),_0x5a6ad5=[];for(const _0x53cb84 of _0x27ae9e){if(!_0x53cb84[_0x3d1a8d(0x14a)])continue;if(_0x53cb84[_0x3d1a8d(0x15e)]){_0x5a6ad5[_0x3d1a8d(0x108)](..._0x53cb84[_0x3d1a8d(0xfa)]());continue;}const _0x55da97=_0x53cb84[_0x3d1a8d(0xf6)]();if(_0x5a6ad5[_0x3d1a8d(0xf3)]>0x0){const _0x4c1196=_0x5a6ad5[0x0][_0x3d1a8d(0x135)](_0x55da97);if(_0x4c1196){_0x5a6ad5[0x0]=_0x4c1196;continue;}}_0x5a6ad5[_0x3d1a8d(0x108)](_0x55da97);}_0x4ecaec[_0x3d1a8d(0x108)]([_0x2fd6a4[_0x3d1a8d(0x152)],_0x5a6ad5]);}return _0x4ecaec;}),this[_0x1697e9(0x165)](_0xb14a96,_0x1697e9(0x114),(_0x49af45,_0x2c768a)=>{const _0x15e985=_0x1697e9;this[_0x15e985(0x165)](_0x2c768a,_0x15e985(0x13d),(_0x200478,_0x578a7f,_0x42e238,_0x26e380)=>{const _0x406643=_0x15e985;_0x2c768a[_0x406643(0x14a)]&&(null==_0x42e238?(this[_0x406643(0x11f)](_0x26e380[_0x406643(0x13b)]),this[_0x406643(0xfe)](_0x2c768a,!0x1)):(this[_0x406643(0x11f)](_0x42e238[_0x406643(0x13b)]),null==_0x26e380&&this[_0x406643(0xfe)](_0x2c768a,!0x0)));}),null!==_0x2c768a[_0x15e985(0x171)]?this[_0x15e985(0x11f)](_0x2c768a[_0x15e985(0x13b)]):this[_0x15e985(0xfe)](_0x2c768a,!0x1);}),this[_0x1697e9(0x165)](_0xb14a96,_0x1697e9(0x17c),(_0x7b755,_0x13d67a,_0xa2f9bb)=>{const _0x4f4de4=_0x1697e9;this[_0x4f4de4(0x13c)](_0x13d67a,_0x4f4de4(0x13d)),this[_0x4f4de4(0x139)][_0x4f4de4(0x12a)](_0x13d67a),this[_0x4f4de4(0x10e)][_0x4f4de4(0x13e)](_0x13d67a)&&this[_0x4f4de4(0x17e)](_0x13d67a),_0xa2f9bb&&this[_0x4f4de4(0x11f)](_0xa2f9bb[_0x4f4de4(0x13b)]);}),this[_0x1697e9(0x165)](_0xb14a96,_0x1697e9(0x122),(_0x4826db,_0x52938e)=>{const _0x266ae2=_0x1697e9;this[_0x266ae2(0x11f)](_0x52938e);}),this[_0x1697e9(0x165)](_0x1fdabc,_0x1697e9(0x145),()=>{const _0xc4181d=_0x1697e9;this[_0xc4181d(0x148)]();}),this[_0x1697e9(0x165)](_0x1ca225,_0x1697e9(0x133),(_0x4ebe95,{threadId:_0x1e39c6,isFromAdapter:_0xc1b744})=>{const _0x9f2bd0=_0x1697e9;if(_0xc1b744||!_0xb14a96[_0x9f2bd0(0xf9)](_0x1e39c6))return;const _0x34a19d=_0xb14a96[_0x9f2bd0(0x115)](_0x1e39c6);this[_0x9f2bd0(0x10e)][_0x9f2bd0(0x120)](_0x34a19d)[_0x9f2bd0(0x152)][_0x9f2bd0(0x134)][_0x9f2bd0(0x109)](-0x1);},{'priority':_0x1697e9(0xf7)}),this[_0x1697e9(0x11c)]=this[_0x1697e9(0x147)][_0x1697e9(0x142)][_0x1697e9(0x120)](_0x1697e9(0x11c));const _0x12112a=this[_0x1697e9(0x147)];this[_0x1697e9(0x105)]=setInterval(()=>{const _0x49755e=_0x1697e9;let _0x5b2bb3;for(const _0x463855 in _0x12112a){const _0x5c04e5=_0x463855,_0x22e0e9=_0x12112a[_0x5c04e5];if(_0x49755e(0x14e)==_0x22e0e9||_0x49755e(0xff)==_0x22e0e9||_0x49755e(0x11b)==_0x22e0e9||_0x49755e(0x124)==_0x22e0e9||_0x49755e(0x102)==_0x22e0e9||_0x49755e(0x182)==_0x22e0e9||_0x49755e(0x18b)==_0x22e0e9){delete _0x12112a[_0x5c04e5],_0x5b2bb3=_0x22e0e9,clearInterval(this[_0x49755e(0x105)]),this[_0x49755e(0x105)]=void 0x0;break;}}_0x49755e(0xff)==_0x5b2bb3&&_0x12112a[_0x49755e(0x153)](_0x49755e(0x12b)),_0x49755e(0x11b)==_0x5b2bb3&&_0x12112a[_0x49755e(0x153)](_0x49755e(0xe7)),_0x49755e(0x124)==_0x5b2bb3&&_0x12112a[_0x49755e(0x153)](_0x49755e(0x121)),_0x49755e(0x102)==_0x5b2bb3&&_0x12112a[_0x49755e(0x153)](_0x49755e(0xef),_0x49755e(0x16e)),_0x49755e(0x182)==_0x5b2bb3&&_0x12112a[_0x49755e(0x153)](_0x49755e(0x12c)),_0x49755e(0x18b)==_0x5b2bb3&&_0x12112a[_0x49755e(0x153)](_0x49755e(0x174));},0x3e8);}[_0x62f9fd(0x154)](_0x5a1829){const _0x51f1e2=_0x62f9fd,_0x429fef=this[_0x51f1e2(0x10e)][_0x51f1e2(0x120)](_0x5a1829);if(!_0x429fef)return null;return this[_0x51f1e2(0x147)][_0x51f1e2(0xf4)][_0x51f1e2(0x120)](_0x51f1e2(0x128))[_0x51f1e2(0xf8)](_0x429fef[_0x51f1e2(0x152)])||null;}[_0x62f9fd(0x126)](_0x450986){const _0xed6826=_0x62f9fd,_0x206281=this[_0xed6826(0x11e)][_0xed6826(0x120)](_0x450986[_0xed6826(0x17b)]);return _0x206281?_0x206281[_0xed6826(0x178)]:null;}[_0x62f9fd(0x148)](){const _0x4f59ef=_0x62f9fd,_0x4f44b8=this[_0x4f59ef(0x147)][_0x4f59ef(0xf4)][_0x4f59ef(0x120)](_0x4f59ef(0x128)),_0xddfa6d=this[_0x4f59ef(0x147)][_0x4f59ef(0xf4)][_0x4f59ef(0x120)](_0x4f59ef(0x18c)),_0x3417e2=Array[_0x4f59ef(0x123)](_0x4f44b8[_0x4f59ef(0x179)],_0x5688c4=>_0x5688c4[_0x4f59ef(0x17b)])[_0x4f59ef(0xfb)](_0x2e293e=>this[_0x4f59ef(0x11e)][_0x4f59ef(0x13e)](_0x2e293e)),_0x1ed08a=[];for(const _0x14cf93 of _0x3417e2){const _0x227967=this[_0x4f59ef(0x11e)][_0x4f59ef(0x120)](_0x14cf93)[_0x4f59ef(0x178)][_0x4f59ef(0x110)]();_0x1ed08a[_0x4f59ef(0x108)](..._0x227967[_0x4f59ef(0x116)]((_0xc26e3,_0x3b6566)=>[..._0xc26e3,..._0x3b6566[_0x4f59ef(0x18e)]()],[]));}_0xddfa6d[_0x4f59ef(0x18d)]=_0x1ed08a;}[_0x62f9fd(0x138)](){const _0x568d90=_0x62f9fd,_0xb952d3=this[_0x568d90(0x147)],_0x5d24b7=_0xb952d3[_0x568d90(0x156)],_0x5223c8=_0x891c7e(_0x5d24b7,_0x568d90(0x149)),_0x5b5e79=new _0x59f51a([{'type':_0x568d90(0x132),'model':new _0x1d0d93({'withText':!0x0,'isToggleable':!0x0,'label':_0x5223c8,'commandName':_0x568d90(0x12e),'role':_0x568d90(0x17d)})},{'type':_0x568d90(0x125)},{'type':_0x568d90(0x112),'model':new _0x1d0d93({'withText':!0x0,'label':_0x891c7e(_0x5d24b7,_0x568d90(0x177)),'commandName':_0x568d90(0x159),'role':_0x568d90(0xe9)})},{'type':_0x568d90(0x112),'model':new _0x1d0d93({'withText':!0x0,'label':_0x891c7e(_0x5d24b7,_0x568d90(0x15f)),'commandName':_0x568d90(0x14d),'role':_0x568d90(0xe9)})},{'type':_0x568d90(0x112),'model':new _0x1d0d93({'withText':!0x0,'label':_0x891c7e(_0x5d24b7,_0x568d90(0x162)),'commandName':_0x568d90(0x183),'role':_0x568d90(0xe9)})},{'type':_0x568d90(0x112),'model':new _0x1d0d93({'withText':!0x0,'label':_0x891c7e(_0x5d24b7,_0x568d90(0x129)),'commandName':_0x568d90(0x15d),'role':_0x568d90(0xe9)})}]);_0xb952d3[_0x568d90(0xf4)][_0x568d90(0x13e)](_0x568d90(0x146))&&_0x5b5e79[_0x568d90(0x157)]([{'type':_0x568d90(0x125)},{'type':_0x568d90(0x112),'model':new _0x1d0d93({'withText':!0x0,'label':_0x891c7e(_0x5d24b7,_0x568d90(0x194)),'commandName':_0x568d90(0x119),'role':_0x568d90(0xe9)})}]);for(const _0x843f86 of _0x5b5e79)if(ke(_0x843f86)){const _0x47b11c=_0xb952d3[_0x568d90(0x111)][_0x568d90(0x120)](_0x843f86[_0x568d90(0x178)][_0x568d90(0x16d)]);_0x843f86[_0x568d90(0x178)][_0x568d90(0x103)](_0x568d90(0x106),_0x568d90(0x14c))['to'](_0x47b11c,_0x568d90(0x15c),_0x568d90(0x14c));}_0xb952d3['ui'][_0x568d90(0xeb)][_0x568d90(0x173)](_0x568d90(0x12e),_0x2cfc3f=>this[_0x568d90(0xf2)](_0x2cfc3f,_0x5b5e79,_0x5223c8)),_0xb952d3['ui'][_0x568d90(0xeb)][_0x568d90(0x173)](_0x568d90(0x141),_0x39b8d4=>this[_0x568d90(0x17a)](_0x39b8d4,_0x5b5e79,_0x5223c8));}[_0x62f9fd(0xf2)](_0x10ce97,_0x396161,_0x423bf2){const _0x3052de=_0x62f9fd,_0x3c868d=_0x1d1edd(_0x10ce97,_0x126777),_0x43b106=this[_0x3052de(0x147)][_0x3052de(0x111)][_0x3052de(0x120)](_0x3052de(0x12e));_0x3c868d[_0x3052de(0x180)][_0x3052de(0x11d)]({'tooltip':_0x423bf2,'label':_0x423bf2,'icon':_0x33bf17}),_0x3c868d[_0x3052de(0x180)][_0x3052de(0x103)](_0x3052de(0x106))['to'](_0x43b106,_0x3052de(0x15c)),_0x3c868d[_0x3052de(0x180)]['on'](_0x3052de(0x16a),()=>{const _0x475679=_0x3052de;_0x43b106[_0x475679(0x16a)](),this[_0x475679(0x147)][_0x475679(0xe4)][_0x475679(0x152)][_0x475679(0x109)]();}),_0x808bc7(_0x3c868d,_0x396161,{'role':_0x3052de(0x166)});const _0x27ceee=[];for(const _0x31e2a6 of _0x396161)ke(_0x31e2a6)&&_0x27ceee[_0x3052de(0x108)](this[_0x3052de(0x147)][_0x3052de(0x111)][_0x3052de(0x120)](_0x31e2a6[_0x3052de(0x178)][_0x3052de(0x16d)]));const _0x3c8df4=_0x3c868d[_0x3052de(0x180)];return _0x3c8df4[_0x3052de(0x11a)][_0x3052de(0x191)](_0x3052de(0x14c)),_0x3c8df4[_0x3052de(0xfd)][_0x3052de(0x191)](_0x3052de(0x14c)),_0x3c8df4[_0x3052de(0x11a)][_0x3052de(0x103)](_0x3052de(0x14c))['to'](_0x43b106,_0x3052de(0x14c)),_0x3c8df4[_0x3052de(0xfd)][_0x3052de(0x103)](_0x3052de(0x14c))[_0x3052de(0x151)](_0x27ceee,_0x3052de(0x14c),(..._0x3a9c05)=>_0x3a9c05[_0x3052de(0x101)](_0x4226b9=>_0x4226b9)),_0x3c868d['on'](_0x3052de(0x16a),_0x2d3ab9=>{const _0x43f9cd=_0x3052de;this[_0x43f9cd(0x147)][_0x43f9cd(0x16a)](_0x2d3ab9[_0x43f9cd(0xe5)][_0x43f9cd(0x16d)]),this[_0x43f9cd(0x147)][_0x43f9cd(0xe4)][_0x43f9cd(0x152)][_0x43f9cd(0x109)]();}),_0x3c868d;}[_0x62f9fd(0x17a)](_0x55b310,_0x1f42e0,_0x5153dd){const _0x23670b=_0x62f9fd,_0x4a26ae=new _0x2d681c(_0x55b310),_0x1ee475=this[_0x23670b(0x147)][_0x23670b(0x111)][_0x23670b(0x120)](_0x23670b(0x12e));_0x4a26ae[_0x23670b(0x180)][_0x23670b(0x11d)]({'label':_0x5153dd,'icon':_0x33bf17});const _0x3d790d=new _0x19d056(_0x55b310);for(const _0x501abc of _0x1f42e0){if(_0x23670b(0x125)==_0x501abc[_0x23670b(0x127)]){_0x3d790d[_0x23670b(0x172)][_0x23670b(0x173)](new _0x5d17af(_0x55b310));continue;}const _0x48bf95=new _0x4e4134(_0x55b310,_0x4a26ae),_0x15205b=new _0x271a0d(_0x55b310),_0x5e150e=_0x501abc[_0x23670b(0x178)];_0x15205b[_0x23670b(0x103)](...Object[_0x23670b(0xea)](_0x5e150e))['to'](_0x5e150e),_0x15205b[_0x23670b(0x193)](_0x23670b(0x16a))['to'](_0x4a26ae),_0x15205b['on'](_0x23670b(0x16a),()=>{const _0x2e1a03=_0x23670b;this[_0x2e1a03(0x147)][_0x2e1a03(0x16a)](_0x5e150e[_0x2e1a03(0x16d)]),this[_0x2e1a03(0x147)][_0x2e1a03(0xe4)][_0x2e1a03(0x152)][_0x2e1a03(0x109)]();}),_0x48bf95[_0x23670b(0x18a)][_0x23670b(0x173)](_0x15205b),_0x3d790d[_0x23670b(0x172)][_0x23670b(0x173)](_0x48bf95);}return _0x4a26ae[_0x23670b(0x103)](_0x23670b(0x14c))['to'](_0x1ee475,_0x23670b(0x14c)),_0x4a26ae[_0x23670b(0xfc)][_0x23670b(0x18a)][_0x23670b(0x173)](_0x3d790d),_0x4a26ae;}[_0x62f9fd(0x186)](_0x4c2308){const _0x394187=_0x62f9fd,_0x2b69e8=this[_0x394187(0x147)],_0xe6b1c1=_0x2b69e8[_0x394187(0x142)],_0x228349=_0x2b69e8[_0x394187(0xf4)][_0x394187(0x120)](_0x394187(0x128)),_0x585118=_0x2b69e8[_0x394187(0xf4)][_0x394187(0x120)](_0x394187(0x164)),_0x48e2ec=_0x2b69e8[_0x394187(0xf4)][_0x394187(0x120)](_0x394187(0x196)),_0x16cd9c=_0x2b69e8[_0x394187(0xf4)][_0x394187(0x120)](_0x3ded3c)['me'],_0x18a8c1=_0xe6b1c1[_0x394187(0x120)](_0x394187(0x12e))[_0x394187(0x169)],_0x419349=_0xe6b1c1[_0x394187(0x120)](_0x394187(0x12e))[_0x394187(0xf1)],{CommentsListView:_0x11473a,CommentThreadInputView:_0x1b13ad}=_0x2b69e8[_0x394187(0xf4)][_0x394187(0x120)](_0x394187(0x13a));let _0x1b3f63,_0x5cf732,_0x105b39;this[_0x394187(0x12d)][_0x394187(0x13e)](_0x4c2308['id'])?(_0x5cf732=this[_0x394187(0x12d)][_0x394187(0x120)](_0x4c2308['id']),_0x1b3f63=_0x5cf732[_0x394187(0x10b)]):(_0x1b3f63=new _0x18a8c1(_0x2b69e8[_0x394187(0x156)],_0x4c2308,_0x16cd9c,{'disableComments':this[_0x394187(0x158)],'editorConfig':{..._0xe6b1c1[_0x394187(0x120)](_0x394187(0x17f)),'licenseKey':_0xe6b1c1[_0x394187(0x120)](_0x394187(0x11c))},'maxCommentsWhenCollapsed':_0xe6b1c1[_0x394187(0x120)](_0x394187(0x190)),'maxThreadTotalWeight':_0xe6b1c1[_0x394187(0x120)](_0x394187(0x136)),'maxCommentCharsWhenCollapsed':_0xe6b1c1[_0x394187(0x120)](_0x394187(0x15a)),'formatDateTime':_0x2decfe(_0xe6b1c1[_0x394187(0x120)](_0x394187(0x156)),_0x2b69e8[_0x394187(0x156)]),'CommentView':_0xe6b1c1[_0x394187(0x120)](_0x394187(0x16f))[_0x394187(0xe6)],'CommentsListView':_0x11473a,'CommentThreadInputView':_0x1b13ad,'SuggestionView':_0x419349}),_0x1b3f63[_0x394187(0x104)][_0x394187(0x170)]['on'](_0x394187(0x16a),()=>{const _0x31b9af=_0x394187;_0x2b69e8[_0x31b9af(0xe4)][_0x31b9af(0x152)][_0x31b9af(0x109)]();}),_0x1b3f63[_0x394187(0x104)][_0x394187(0x175)]['on'](_0x394187(0x16a),()=>{const _0x4b060c=_0x394187;_0x2b69e8[_0x4b060c(0xe4)][_0x4b060c(0x152)][_0x4b060c(0x109)]();}),_0x5cf732=_0x228349[_0x394187(0x155)](this[_0x394187(0x147)][_0x394187(0x156)],_0x1b3f63),_0x5cf732[_0x394187(0x103)](_0x394187(0x137))['to'](_0x1b3f63,_0x394187(0x137)),_0x5cf732[_0x394187(0x103)](_0x394187(0xf3))['to'](_0x1b3f63),_0x5cf732[_0x394187(0x103)](_0x394187(0x127))['to'](_0x1b3f63,_0x394187(0x127),_0x441b4d=>_0x394187(0xf5)+_0x441b4d),_0x1b3f63['on'](_0x394187(0x195),()=>{const _0x52cfe4=_0x394187;_0x105b39[_0x52cfe4(0x10d)](_0x52cfe4(0x195));}),this[_0x394187(0x12d)][_0x394187(0x11d)](_0x4c2308['id'],_0x5cf732));const _0x4741c7=_0x585118[_0x394187(0x181)](_0x4c2308[_0x394187(0x14f)],_0x1b3f63),_0x1b27bb=new _0x522d11(_0x2b69e8,_0x4c2308,_0x1b3f63,_0x4741c7),_0x15c10f=_0x4c2308[_0x394187(0x110)]()[_0x394187(0xfb)](_0xf4f489=>_0xf4f489[_0x394187(0x14a)]);_0x1b3f63[_0x394187(0x176)]=_0x2b69e8[_0x394187(0xf4)][_0x394187(0x120)](_0x394187(0x18c))[_0x394187(0x10a)][_0x394187(0x150)](_0x15c10f),this[_0x394187(0x10e)][_0x394187(0x11d)](_0x4c2308,_0x1b27bb),this[_0x394187(0x11e)][_0x394187(0x11d)](_0x1b3f63,_0x1b27bb);const _0x466c80=()=>{const _0x30f90a=_0x394187,_0x5760cb=[],_0x32ea13=_0x4c2308[_0x30f90a(0x110)]()[_0x30f90a(0xfb)](_0x2d69a0=>_0x2d69a0[_0x30f90a(0x14a)]);for(const _0x5c19ce of _0x32ea13)_0x5760cb[_0x30f90a(0x108)](..._0x5c19ce[_0x30f90a(0xf0)]());return _0x5e9737(_0x2b69e8[_0x30f90a(0xe4)],_0x5760cb);};_0x105b39=_0x228349[_0x394187(0x185)]({'view':_0x5cf732,'target':_0x466c80,'type':()=>_0x394187(0xf5)+_0x1b27bb[_0x394187(0x152)][_0x394187(0x127)],'isVisible':!!_0x466c80()}),_0x585118[_0x394187(0x18f)](_0x1b3f63,_0x105b39),_0x228349[_0x394187(0x173)](_0x105b39),_0x48e2ec[_0x394187(0x118)](_0x105b39);}[_0x62f9fd(0x17e)](_0x129ad2){const _0x5a17a4=_0x62f9fd,_0x560930=this[_0x5a17a4(0x147)][_0x5a17a4(0xf4)][_0x5a17a4(0x120)](_0x5a17a4(0x164)),_0x4915a4=this[_0x5a17a4(0x147)][_0x5a17a4(0xf4)][_0x5a17a4(0x120)](_0x5a17a4(0x128)),_0x531fe1=this[_0x5a17a4(0x10e)][_0x5a17a4(0x120)](_0x129ad2),_0x3c7734=_0x531fe1[_0x5a17a4(0x152)],_0x5114a1=_0x4915a4[_0x5a17a4(0xf8)](_0x3c7734);_0x560930[_0x5a17a4(0x160)](_0x3c7734),_0x5114a1&&_0x4915a4[_0x5a17a4(0x168)](_0x5114a1),this[_0x5a17a4(0x10e)][_0x5a17a4(0x12a)](_0x129ad2),this[_0x5a17a4(0x11e)][_0x5a17a4(0x12a)](_0x3c7734),_0x531fe1[_0x5a17a4(0xed)]();}[_0x62f9fd(0x11f)](_0xd2c979){const _0x22ba80=_0x62f9fd;if(!_0xd2c979[_0x22ba80(0x14a)]||!this[_0x22ba80(0x10e)][_0x22ba80(0x13e)](_0xd2c979))return;const _0x43b2ea=this[_0x22ba80(0x147)][_0x22ba80(0xf4)][_0x22ba80(0x120)](_0x22ba80(0x18c)),_0x3a49c3=this[_0x22ba80(0x10e)][_0x22ba80(0x120)](_0xd2c979),_0xccbfb1=_0xd2c979[_0x22ba80(0x110)]();_0x3a49c3[_0x22ba80(0x152)][_0x22ba80(0x176)]=_0x43b2ea[_0x22ba80(0x10a)][_0x22ba80(0x150)](_0xccbfb1);}[_0x62f9fd(0xed)](){const _0xef6c81=_0x62f9fd;for(const _0x30ff17 of this[_0xef6c81(0x10e)][_0xef6c81(0xea)]())this[_0xef6c81(0x17e)](_0x30ff17);for(const _0x28c608 of this[_0xef6c81(0x12d)][_0xef6c81(0x130)]())_0x28c608[_0xef6c81(0x10b)][_0xef6c81(0xed)]();super[_0xef6c81(0xed)](),this[_0xef6c81(0x105)]&&clearInterval(this[_0xef6c81(0x105)]);}}function ke(_0x4cc60e){const _0x40b314=_0x62f9fd;return _0x40b314(0x178)in _0x4cc60e;}
|
|
23
|
+
const _0x34fcc4=_0x1a44;(function(_0x2e4b0e,_0x19aec8){const _0x32241d=_0x1a44,_0x3df1fe=_0x2e4b0e();while(!![]){try{const _0x347a3b=parseInt(_0x32241d(0x126))/0x1*(-parseInt(_0x32241d(0x132))/0x2)+-parseInt(_0x32241d(0x11f))/0x3+parseInt(_0x32241d(0x105))/0x4+-parseInt(_0x32241d(0x13c))/0x5+-parseInt(_0x32241d(0x137))/0x6*(parseInt(_0x32241d(0xdd))/0x7)+-parseInt(_0x32241d(0x103))/0x8*(-parseInt(_0x32241d(0x134))/0x9)+parseInt(_0x32241d(0x155))/0xa*(parseInt(_0x32241d(0x124))/0xb);if(_0x347a3b===_0x19aec8)break;else _0x3df1fe['push'](_0x3df1fe['shift']());}catch(_0x533bf7){_0x3df1fe['push'](_0x3df1fe['shift']());}}}(_0x4dfc,0xd2750));function _0x1a44(_0x2e9725,_0x41dda3){const _0x4dfcbe=_0x4dfc();return _0x1a44=function(_0x1a4455,_0x1da40e){_0x1a4455=_0x1a4455-0xbf;let _0x2b91b5=_0x4dfcbe[_0x1a4455];return _0x2b91b5;},_0x1a44(_0x2e9725,_0x41dda3);}import{Plugin as _0x1cba11}from'ckeditor5/src/core.js';import{Collection as _0x42cc01}from'ckeditor5/src/utils.js';function _0x4dfc(){const _0xbb9aea=['SuggestionThreadView','trackChangesLicenseKeyUsageLimit','descriptionParts','_refreshActiveMarkers','31280570TYzPZG','remove','suggestionView','comments.maxCommentCharsWhenCollapsed','init','commentThread','Track\x20changes','requires','change:previous','discardSelectedSuggestions','push','menuitemcheckbox','trackChanges.disableComments','isDirty','keys','_addUIComponentsToFactory','define','usageLimit','menuitem','createAnnotationView','value','stopListening','trackChangesLicenseKeyEvaluationLimit','filter','source','_unbindEditors','getSuggestion','addComment','createCommentThreadController','acceptSelectedSuggestions','refreshSelectedViews','_updateController','acceptButton','acceptAllSuggestions','suggestionChanged','delegate','TrackChanges','Discard\x20all\x20selected\x20suggestions','comments.maxCommentsWhenCollapsed','expired','some','locale','trackChanges.SuggestionView','getMarkerNames','getSuggestionForAnnotation','addSourceCollector','trackChanges.SuggestionThreadView','getRanges','lowest','activeMarkers','Annotations','suggestionLoaded','getFirstRange','isOfficialPlugin','TrackChangesPreview','discardButton','trackChangesLicenseKeyNotAllowed','15372gOdgZI','previous','view','TrackChangesEditing','CommentsUI','change:activeAnnotations','commentsListView','switchbutton','_handleSuggestionControllerDelayed','model','EditorAnnotations','TrackChangesUI','activeAnnotations','_viewToController','bind','arrowView','_handleControllerBuffer','isPremiumPlugin','suggestionUnloaded','panelView','suggestion-','commandName','getDescriptions','licenseKey','hasSuggestion','values','editor','type','descriptionFactory','config','button','mainView','_createToolbarButton','from','_disableComments','registerAnnotation','isEnabled','buttonView','6869216FobJzI','listenTo','2100600uRdqIY','trackChangesLicenseKeyValid','evaluationLimit','actionView','set','getByInnerView','discardAllSuggestions','getAnnotationForSuggestion','execute','isMultiRange','unbind','_createMenuBarMenu','createAnnotation','innerView','trackChangesLicenseKeyDomainLimit','has','SuggestionView','fire','Accept\x20all\x20selected\x20suggestions','_showLicenseError','add','trackChangesLicenseKeyExpired','focus','invalid','comments.maxThreadTotalWeight','comments.editorConfig','3288045DFWtgU','clear','getAllAdjacentSuggestions','length','plugins','11EeyWnd','featureNotAllowed','2ziZDmu','comments','toMany','items','domainLimit','getJoined','editing','Discard\x20all\x20suggestions','Accept\x20all\x20suggestions','commands','_destroyController','menuBar:trackChanges','1320756infdTg','_initializeController','18ZDezyj','escape','head','1290txkEXu','destroy','isOn','_licenseKeyCheckInterval','previewFinalContent','8097840nJqVuA','_suggestionToController','separator','get','Preview\x20final\x20content','_annotationViews','menu','addMany','componentFactory','size','reduce','getMarkers','_bindAnnotationToEditors','pluginName','trackChanges','CommentView','children','delete','CommentsRepository','isInContent','trackChangesLicenseKeyInvalid'];_0x4dfc=function(){return _0xbb9aea;};return _0x4dfc();}import{IconTrackChanges as _0x2fcc89}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3191bf,createDropdown as _0x5ba388,ListSeparatorView as _0x46b83c,MenuBarMenuView as _0x1bfbc5,MenuBarMenuListView as _0x382537,MenuBarMenuListItemView as _0x382bc8,MenuBarMenuListItemButtonView as _0x20c111,SplitButtonView as _0x439209,UIModel as _0x3e60ba}from'ckeditor5/src/ui.js';import{Users as _0x3efe97,getDateTimeFormatter as _0x158866,getAllMarkersDomElementsSorted as _0x27a5fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x59497d}from'./trackchangesediting.js';import{SuggestionController as _0x15ca94}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x480dea}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x44025f}from'./ui/view/suggestionview.js';import{getTranslation as _0x39a184}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1cba11{[_0x34fcc4(0xf4)];[_0x34fcc4(0x13a)];[_0x34fcc4(0x13d)];[_0x34fcc4(0xea)];[_0x34fcc4(0x141)];[_0x34fcc4(0xed)];[_0x34fcc4(0xff)];static get[_0x34fcc4(0x15c)](){const _0x549b9c=_0x34fcc4;return[_0x59497d,_0x3efe97,_0x549b9c(0x14e),_0x549b9c(0xd6),_0x549b9c(0xe7)];}static get[_0x34fcc4(0x149)](){const _0x2a63e4=_0x34fcc4;return _0x2a63e4(0xe8);}static get[_0x34fcc4(0xd9)](){return!0x0;}static get[_0x34fcc4(0xee)](){return!0x0;}constructor(_0x29ad9a){const _0x49774e=_0x34fcc4;super(_0x29ad9a),this[_0x49774e(0x13d)]=new Map(),this[_0x49774e(0xea)]=new Map(),this[_0x49774e(0x141)]=new Map(),this[_0x49774e(0xed)]=new Map();const _0x35c916=this[_0x49774e(0xf7)][_0x49774e(0xfa)];_0x35c916[_0x49774e(0x165)](_0x49774e(0xd2),_0x480dea),_0x35c916[_0x49774e(0x165)](_0x49774e(0xce),_0x44025f),_0x35c916[_0x49774e(0x165)](_0x49774e(0x161),!0x1),this[_0x49774e(0xff)]=_0x35c916[_0x49774e(0x13f)](_0x49774e(0x161));}[_0x34fcc4(0xe5)](_0x4c202e,_0x395317){const _0x387fe5=_0x34fcc4;0x0===this[_0x387fe5(0xed)][_0x387fe5(0x145)]&&setTimeout(()=>{const _0x3d404b=_0x387fe5;for(const [_0x38c1d0,_0x3c9f11]of this[_0x3d404b(0xed)]){const _0x416d9c=this[_0x3d404b(0x13d)][_0x3d404b(0x114)](_0x38c1d0);_0x416d9c||_0x3c9f11?_0x416d9c&&_0x3c9f11&&this[_0x3d404b(0x130)](_0x38c1d0):this[_0x3d404b(0x133)](_0x38c1d0);}this[_0x3d404b(0xed)][_0x3d404b(0x120)](),this[_0x3d404b(0xf7)][_0x3d404b(0x123)][_0x3d404b(0x13f)](_0x3d404b(0xe7))[_0x3d404b(0xc2)](),this[_0x3d404b(0x154)]();},0xa),this[_0x387fe5(0xed)][_0x387fe5(0x109)](_0x4c202e,_0x395317);}[_0x34fcc4(0x159)](){const _0x261d2f=_0x34fcc4,_0x31d011=this[_0x261d2f(0xf7)],_0x591c55=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0xe0)),_0xb0f4=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0xd6)),_0x20b0b4=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0xe7)),_0x1f2382=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0x14e));this[_0x261d2f(0x164)](),_0x20b0b4[_0x261d2f(0xd1)](()=>{const _0x2ddf7b=_0x261d2f,_0x143bb8=[];for(const [_0x208a6f,_0x26f9ce]of Array[_0x2ddf7b(0xfe)](this[_0x2ddf7b(0x13d)])){const _0x3252f1=_0x208a6f[_0x2ddf7b(0x121)](),_0x69beb2=[];for(const _0x5a33dd of _0x3252f1){if(!_0x5a33dd[_0x2ddf7b(0x14f)])continue;if(_0x5a33dd[_0x2ddf7b(0x10e)]){_0x69beb2[_0x2ddf7b(0x15f)](..._0x5a33dd[_0x2ddf7b(0xd3)]());continue;}const _0x172fbc=_0x5a33dd[_0x2ddf7b(0xd8)]();if(_0x69beb2[_0x2ddf7b(0x122)]>0x0){const _0x35f8bf=_0x69beb2[0x0][_0x2ddf7b(0x12b)](_0x172fbc);if(_0x35f8bf){_0x69beb2[0x0]=_0x35f8bf;continue;}}_0x69beb2[_0x2ddf7b(0x15f)](_0x172fbc);}_0x143bb8[_0x2ddf7b(0x15f)]([_0x26f9ce[_0x2ddf7b(0xdf)],_0x69beb2]);}return _0x143bb8;}),this[_0x261d2f(0x104)](_0x591c55,_0x261d2f(0xd7),(_0xe90910,_0x581b1f)=>{const _0x408c0e=_0x261d2f;this[_0x408c0e(0x104)](_0x581b1f,_0x408c0e(0x15d),(_0x32af49,_0x4ea6b8,_0x503477,_0x23bc8d)=>{const _0x2a7185=_0x408c0e;_0x581b1f[_0x2a7185(0x14f)]&&(null==_0x503477?(this[_0x2a7185(0xc3)](_0x23bc8d[_0x2a7185(0x136)]),this[_0x2a7185(0xe5)](_0x581b1f,!0x1)):(this[_0x2a7185(0xc3)](_0x503477[_0x2a7185(0x136)]),null==_0x23bc8d&&this[_0x2a7185(0xe5)](_0x581b1f,!0x0)));}),null!==_0x581b1f[_0x408c0e(0xde)]?this[_0x408c0e(0xc3)](_0x581b1f[_0x408c0e(0x136)]):this[_0x408c0e(0xe5)](_0x581b1f,!0x1);}),this[_0x261d2f(0x104)](_0x591c55,_0x261d2f(0xef),(_0x48e311,_0x5e04e3,_0x4a93f9)=>{const _0xfb7343=_0x261d2f;this[_0xfb7343(0x16a)](_0x5e04e3,_0xfb7343(0x15d)),this[_0xfb7343(0xed)][_0xfb7343(0x14d)](_0x5e04e3),this[_0xfb7343(0x13d)][_0xfb7343(0x114)](_0x5e04e3)&&this[_0xfb7343(0x130)](_0x5e04e3),_0x4a93f9&&this[_0xfb7343(0xc3)](_0x4a93f9[_0xfb7343(0x136)]);}),this[_0x261d2f(0x104)](_0x591c55,_0x261d2f(0xc6),(_0x391c89,_0x25d00c)=>{const _0x50a331=_0x261d2f;this[_0x50a331(0xc3)](_0x25d00c);}),this[_0x261d2f(0x104)](_0xb0f4,_0x261d2f(0xe2),()=>{const _0x5a63c7=_0x261d2f;this[_0x5a63c7(0x154)]();}),this[_0x261d2f(0x104)](_0x1f2382,_0x261d2f(0xbf),(_0x439728,{threadId:_0x916cec,isFromAdapter:_0x411cd9})=>{const _0x5e102b=_0x261d2f;if(_0x411cd9||!_0x591c55[_0x5e102b(0xf5)](_0x916cec))return;const _0x84f096=_0x591c55[_0x5e102b(0x16f)](_0x916cec);this[_0x5e102b(0x13d)][_0x5e102b(0x13f)](_0x84f096)[_0x5e102b(0xdf)][_0x5e102b(0xe3)][_0x5e102b(0x11b)](-0x1);},{'priority':_0x261d2f(0xd4)}),this[_0x261d2f(0xf4)]=this[_0x261d2f(0xf7)][_0x261d2f(0xfa)][_0x261d2f(0x13f)](_0x261d2f(0xf4));const _0x3f0922=this[_0x261d2f(0xf7)];this[_0x261d2f(0x13a)]=setInterval(()=>{const _0x5774ed=_0x261d2f;let _0x412fca;for(const _0x569459 in _0x3f0922){const _0x38173b=_0x569459,_0x3fa9f3=_0x3f0922[_0x38173b];if(_0x5774ed(0x106)==_0x3fa9f3||_0x5774ed(0x150)==_0x3fa9f3||_0x5774ed(0x11a)==_0x3fa9f3||_0x5774ed(0x113)==_0x3fa9f3||_0x5774ed(0xdc)==_0x3fa9f3||_0x5774ed(0x16b)==_0x3fa9f3||_0x5774ed(0x152)==_0x3fa9f3){delete _0x3f0922[_0x38173b],_0x412fca=_0x3fa9f3,clearInterval(this[_0x5774ed(0x13a)]),this[_0x5774ed(0x13a)]=void 0x0;break;}}_0x5774ed(0x150)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x11c)),_0x5774ed(0x11a)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0xcb)),_0x5774ed(0x113)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x12a)),_0x5774ed(0xdc)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x125),_0x5774ed(0xc8)),_0x5774ed(0x16b)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x107)),_0x5774ed(0x152)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x166));},0x3e8);}[_0x34fcc4(0x10c)](_0x3ae20d){const _0x4e1ceb=_0x34fcc4,_0x2f6d1c=this[_0x4e1ceb(0x13d)][_0x4e1ceb(0x13f)](_0x3ae20d);if(!_0x2f6d1c)return null;return this[_0x4e1ceb(0xf7)][_0x4e1ceb(0x123)][_0x4e1ceb(0x13f)](_0x4e1ceb(0xd6))[_0x4e1ceb(0x10a)](_0x2f6d1c[_0x4e1ceb(0xdf)])||null;}[_0x34fcc4(0xd0)](_0x344126){const _0x16c6f3=_0x34fcc4,_0x32f77d=this[_0x16c6f3(0xea)][_0x16c6f3(0x13f)](_0x344126[_0x16c6f3(0x112)]);return _0x32f77d?_0x32f77d[_0x16c6f3(0xe6)]:null;}[_0x34fcc4(0x154)](){const _0xfae6a1=_0x34fcc4,_0x1ab3e0=this[_0xfae6a1(0xf7)][_0xfae6a1(0x123)][_0xfae6a1(0x13f)](_0xfae6a1(0xd6)),_0x5487ff=this[_0xfae6a1(0xf7)][_0xfae6a1(0x123)][_0xfae6a1(0x13f)](_0xfae6a1(0xe0)),_0x124137=Array[_0xfae6a1(0xfe)](_0x1ab3e0[_0xfae6a1(0xe9)],_0x84b4e6=>_0x84b4e6[_0xfae6a1(0x112)])[_0xfae6a1(0x16c)](_0x4fabe1=>this[_0xfae6a1(0xea)][_0xfae6a1(0x114)](_0x4fabe1)),_0x512214=[];for(const _0x553955 of _0x124137){const _0x14a5aa=this[_0xfae6a1(0xea)][_0xfae6a1(0x13f)](_0x553955)[_0xfae6a1(0xe6)][_0xfae6a1(0x121)]();_0x512214[_0xfae6a1(0x15f)](..._0x14a5aa[_0xfae6a1(0x146)]((_0x286b10,_0x59441e)=>[..._0x286b10,..._0x59441e[_0xfae6a1(0xcf)]()],[]));}_0x5487ff[_0xfae6a1(0xd5)]=_0x512214;}[_0x34fcc4(0x164)](){const _0x2b6019=_0x34fcc4,_0x3a77af=this[_0x2b6019(0xf7)],_0x48103b=_0x3a77af[_0x2b6019(0xcd)],_0x454817=_0x39a184(_0x48103b,_0x2b6019(0x15b)),_0x3e13d8=new _0x42cc01([{'type':_0x2b6019(0xe4),'model':new _0x3e60ba({'withText':!0x0,'isToggleable':!0x0,'label':_0x454817,'commandName':_0x2b6019(0x14a),'role':_0x2b6019(0x160)})},{'type':_0x2b6019(0x13e)},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x12e)),'commandName':_0x2b6019(0xc5),'role':_0x2b6019(0x167)})},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x117)),'commandName':_0x2b6019(0xc1),'role':_0x2b6019(0x167)})},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x12d)),'commandName':_0x2b6019(0x10b),'role':_0x2b6019(0x167)})},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0xc9)),'commandName':_0x2b6019(0x15e),'role':_0x2b6019(0x167)})}]);_0x3a77af[_0x2b6019(0x123)][_0x2b6019(0x114)](_0x2b6019(0xda))&&_0x3e13d8[_0x2b6019(0x143)]([{'type':_0x2b6019(0x13e)},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x140)),'commandName':_0x2b6019(0x13b),'role':_0x2b6019(0x167)})}]);for(const _0x5b9e87 of _0x3e13d8)if(ke(_0x5b9e87)){const _0x2ad3ad=_0x3a77af[_0x2b6019(0x12f)][_0x2b6019(0x13f)](_0x5b9e87[_0x2b6019(0xe6)][_0x2b6019(0xf2)]);_0x5b9e87[_0x2b6019(0xe6)][_0x2b6019(0xeb)](_0x2b6019(0x139),_0x2b6019(0x101))['to'](_0x2ad3ad,_0x2b6019(0x169),_0x2b6019(0x101));}_0x3a77af['ui'][_0x2b6019(0x144)][_0x2b6019(0x119)](_0x2b6019(0x14a),_0xad1fd1=>this[_0x2b6019(0xfd)](_0xad1fd1,_0x3e13d8,_0x454817)),_0x3a77af['ui'][_0x2b6019(0x144)][_0x2b6019(0x119)](_0x2b6019(0x131),_0x246d64=>this[_0x2b6019(0x110)](_0x246d64,_0x3e13d8,_0x454817));}[_0x34fcc4(0xfd)](_0x59afb4,_0xe9fb9d,_0x5204f6){const _0x531d1f=_0x34fcc4,_0x486be8=_0x5ba388(_0x59afb4,_0x439209),_0xfaba7b=this[_0x531d1f(0xf7)][_0x531d1f(0x12f)][_0x531d1f(0x13f)](_0x531d1f(0x14a));_0x486be8[_0x531d1f(0x102)][_0x531d1f(0x109)]({'tooltip':_0x5204f6,'label':_0x5204f6,'icon':_0x2fcc89}),_0x486be8[_0x531d1f(0x102)][_0x531d1f(0xeb)](_0x531d1f(0x139))['to'](_0xfaba7b,_0x531d1f(0x169)),_0x486be8[_0x531d1f(0x102)]['on'](_0x531d1f(0x10d),()=>{const _0x5525a1=_0x531d1f;_0xfaba7b[_0x5525a1(0x10d)](),this[_0x5525a1(0xf7)][_0x5525a1(0x12c)][_0x5525a1(0xdf)][_0x5525a1(0x11b)]();}),_0x3191bf(_0x486be8,_0xe9fb9d,{'role':_0x531d1f(0x142)});const _0x2b835d=[];for(const _0x48061e of _0xe9fb9d)ke(_0x48061e)&&_0x2b835d[_0x531d1f(0x15f)](this[_0x531d1f(0xf7)][_0x531d1f(0x12f)][_0x531d1f(0x13f)](_0x48061e[_0x531d1f(0xe6)][_0x531d1f(0xf2)]));const _0x4de9b5=_0x486be8[_0x531d1f(0x102)];return _0x4de9b5[_0x531d1f(0x108)][_0x531d1f(0x10f)](_0x531d1f(0x101)),_0x4de9b5[_0x531d1f(0xec)][_0x531d1f(0x10f)](_0x531d1f(0x101)),_0x4de9b5[_0x531d1f(0x108)][_0x531d1f(0xeb)](_0x531d1f(0x101))['to'](_0xfaba7b,_0x531d1f(0x101)),_0x4de9b5[_0x531d1f(0xec)][_0x531d1f(0xeb)](_0x531d1f(0x101))[_0x531d1f(0x128)](_0x2b835d,_0x531d1f(0x101),(..._0x20cee5)=>_0x20cee5[_0x531d1f(0xcc)](_0x483d9f=>_0x483d9f)),_0x486be8['on'](_0x531d1f(0x10d),_0x23fac8=>{const _0x41644c=_0x531d1f;this[_0x41644c(0xf7)][_0x41644c(0x10d)](_0x23fac8[_0x41644c(0x16d)][_0x41644c(0xf2)]),this[_0x41644c(0xf7)][_0x41644c(0x12c)][_0x41644c(0xdf)][_0x41644c(0x11b)]();}),_0x486be8;}[_0x34fcc4(0x110)](_0x306a7e,_0x4c742f,_0x18b0f5){const _0x236a9d=_0x34fcc4,_0xc8b940=new _0x1bfbc5(_0x306a7e),_0x198084=this[_0x236a9d(0xf7)][_0x236a9d(0x12f)][_0x236a9d(0x13f)](_0x236a9d(0x14a));_0xc8b940[_0x236a9d(0x102)][_0x236a9d(0x109)]({'label':_0x18b0f5,'icon':_0x2fcc89});const _0x5882b5=new _0x382537(_0x306a7e);for(const _0x49c03b of _0x4c742f){if(_0x236a9d(0x13e)==_0x49c03b[_0x236a9d(0xf8)]){_0x5882b5[_0x236a9d(0x129)][_0x236a9d(0x119)](new _0x46b83c(_0x306a7e));continue;}const _0x43d40a=new _0x382bc8(_0x306a7e,_0xc8b940),_0xae5aad=new _0x20c111(_0x306a7e),_0x50208e=_0x49c03b[_0x236a9d(0xe6)];_0xae5aad[_0x236a9d(0xeb)](...Object[_0x236a9d(0x163)](_0x50208e))['to'](_0x50208e),_0xae5aad[_0x236a9d(0xc7)](_0x236a9d(0x10d))['to'](_0xc8b940),_0xae5aad['on'](_0x236a9d(0x10d),()=>{const _0x5233ec=_0x236a9d;this[_0x5233ec(0xf7)][_0x5233ec(0x10d)](_0x50208e[_0x5233ec(0xf2)]),this[_0x5233ec(0xf7)][_0x5233ec(0x12c)][_0x5233ec(0xdf)][_0x5233ec(0x11b)]();}),_0x43d40a[_0x236a9d(0x14c)][_0x236a9d(0x119)](_0xae5aad),_0x5882b5[_0x236a9d(0x129)][_0x236a9d(0x119)](_0x43d40a);}return _0xc8b940[_0x236a9d(0xeb)](_0x236a9d(0x101))['to'](_0x198084,_0x236a9d(0x101)),_0xc8b940[_0x236a9d(0xf0)][_0x236a9d(0x14c)][_0x236a9d(0x119)](_0x5882b5),_0xc8b940;}[_0x34fcc4(0x133)](_0x54bafd){const _0x415fb2=_0x34fcc4,_0x5e04c2=this[_0x415fb2(0xf7)],_0x28d4cc=_0x5e04c2[_0x415fb2(0xfa)],_0x2fa39c=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xd6)),_0x125c97=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0x14e)),_0x4dd753=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xe7)),_0x80d7de=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x3efe97)['me'],_0x3c0691=_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x14a))[_0x415fb2(0x151)],_0xb56072=_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x14a))[_0x415fb2(0x115)],{CommentsListView:_0x100271,CommentThreadInputView:_0x1f87d3}=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xe1));let _0x56d651,_0x2a6551,_0x3f05a8;this[_0x415fb2(0x141)][_0x415fb2(0x114)](_0x54bafd['id'])?(_0x2a6551=this[_0x415fb2(0x141)][_0x415fb2(0x13f)](_0x54bafd['id']),_0x56d651=_0x2a6551[_0x415fb2(0xfc)]):(_0x56d651=new _0x3c0691(_0x5e04c2[_0x415fb2(0xcd)],_0x54bafd,_0x80d7de,{'disableComments':this[_0x415fb2(0xff)],'editorConfig':{..._0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x11e)),'licenseKey':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0xf4))},'maxCommentsWhenCollapsed':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0xca)),'maxThreadTotalWeight':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x11d)),'maxCommentCharsWhenCollapsed':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x158)),'formatDateTime':_0x158866(_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0xcd)),_0x5e04c2[_0x415fb2(0xcd)]),'CommentView':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x127))[_0x415fb2(0x14b)],'CommentsListView':_0x100271,'CommentThreadInputView':_0x1f87d3,'SuggestionView':_0xb56072}),_0x56d651[_0x415fb2(0x157)][_0x415fb2(0xc4)]['on'](_0x415fb2(0x10d),()=>{const _0x130274=_0x415fb2;_0x5e04c2[_0x130274(0x12c)][_0x130274(0xdf)][_0x130274(0x11b)]();}),_0x56d651[_0x415fb2(0x157)][_0x415fb2(0xdb)]['on'](_0x415fb2(0x10d),()=>{const _0x12dd83=_0x415fb2;_0x5e04c2[_0x12dd83(0x12c)][_0x12dd83(0xdf)][_0x12dd83(0x11b)]();}),_0x2a6551=_0x2fa39c[_0x415fb2(0x168)](this[_0x415fb2(0xf7)][_0x415fb2(0xcd)],_0x56d651),_0x2a6551[_0x415fb2(0xeb)](_0x415fb2(0x162))['to'](_0x56d651,_0x415fb2(0x162)),_0x2a6551[_0x415fb2(0xeb)](_0x415fb2(0x122))['to'](_0x56d651),_0x2a6551[_0x415fb2(0xeb)](_0x415fb2(0xf8))['to'](_0x56d651,_0x415fb2(0xf8),_0xa1eee3=>_0x415fb2(0xf1)+_0xa1eee3),_0x56d651['on'](_0x415fb2(0x135),()=>{const _0x301903=_0x415fb2;_0x3f05a8[_0x301903(0x116)](_0x301903(0x135));}),this[_0x415fb2(0x141)][_0x415fb2(0x109)](_0x54bafd['id'],_0x2a6551));const _0x4e9c33=_0x125c97[_0x415fb2(0xc0)](_0x54bafd[_0x415fb2(0x15a)],_0x56d651),_0x4713e5=new _0x15ca94(_0x5e04c2,_0x54bafd,_0x56d651,_0x4e9c33),_0x402c82=_0x54bafd[_0x415fb2(0x121)]()[_0x415fb2(0x16c)](_0x2ddfd1=>_0x2ddfd1[_0x415fb2(0x14f)]);_0x56d651[_0x415fb2(0x153)]=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xe0))[_0x415fb2(0xf9)][_0x415fb2(0xf3)](_0x402c82),this[_0x415fb2(0x13d)][_0x415fb2(0x109)](_0x54bafd,_0x4713e5),this[_0x415fb2(0xea)][_0x415fb2(0x109)](_0x56d651,_0x4713e5);const _0x2077c5=()=>{const _0x38dbef=_0x415fb2,_0xbbf3f7=[],_0x2c034d=_0x54bafd[_0x38dbef(0x121)]()[_0x38dbef(0x16c)](_0x468355=>_0x468355[_0x38dbef(0x14f)]);for(const _0x3a0b69 of _0x2c034d)_0xbbf3f7[_0x38dbef(0x15f)](..._0x3a0b69[_0x38dbef(0x147)]());return _0x27a5fd(_0x5e04c2[_0x38dbef(0x12c)],_0xbbf3f7);};_0x3f05a8=_0x2fa39c[_0x415fb2(0x111)]({'view':_0x2a6551,'target':_0x2077c5,'type':()=>_0x415fb2(0xf1)+_0x4713e5[_0x415fb2(0xdf)][_0x415fb2(0xf8)],'isVisible':!!_0x2077c5()}),_0x125c97[_0x415fb2(0x148)](_0x56d651,_0x3f05a8),_0x2fa39c[_0x415fb2(0x119)](_0x3f05a8),_0x4dd753[_0x415fb2(0x100)](_0x3f05a8);}[_0x34fcc4(0x130)](_0x2fcada){const _0x869b38=_0x34fcc4,_0x31fb30=this[_0x869b38(0xf7)][_0x869b38(0x123)][_0x869b38(0x13f)](_0x869b38(0x14e)),_0xe2f411=this[_0x869b38(0xf7)][_0x869b38(0x123)][_0x869b38(0x13f)](_0x869b38(0xd6)),_0x3079c4=this[_0x869b38(0x13d)][_0x869b38(0x13f)](_0x2fcada),_0x4f451c=_0x3079c4[_0x869b38(0xdf)],_0x4c3dcf=_0xe2f411[_0x869b38(0x10a)](_0x4f451c);_0x31fb30[_0x869b38(0x16e)](_0x4f451c),_0x4c3dcf&&_0xe2f411[_0x869b38(0x156)](_0x4c3dcf),this[_0x869b38(0x13d)][_0x869b38(0x14d)](_0x2fcada),this[_0x869b38(0xea)][_0x869b38(0x14d)](_0x4f451c),_0x3079c4[_0x869b38(0x138)]();}[_0x34fcc4(0xc3)](_0x62ec77){const _0x30c772=_0x34fcc4;if(!_0x62ec77[_0x30c772(0x14f)]||!this[_0x30c772(0x13d)][_0x30c772(0x114)](_0x62ec77))return;const _0x55a877=this[_0x30c772(0xf7)][_0x30c772(0x123)][_0x30c772(0x13f)](_0x30c772(0xe0)),_0x425e3e=this[_0x30c772(0x13d)][_0x30c772(0x13f)](_0x62ec77),_0x3d2379=_0x62ec77[_0x30c772(0x121)]();_0x425e3e[_0x30c772(0xdf)][_0x30c772(0x153)]=_0x55a877[_0x30c772(0xf9)][_0x30c772(0xf3)](_0x3d2379);}[_0x34fcc4(0x138)](){const _0x2f4e83=_0x34fcc4;for(const _0x4ce7fd of this[_0x2f4e83(0x13d)][_0x2f4e83(0x163)]())this[_0x2f4e83(0x130)](_0x4ce7fd);for(const _0x5528ec of this[_0x2f4e83(0x141)][_0x2f4e83(0xf6)]())_0x5528ec[_0x2f4e83(0xfc)][_0x2f4e83(0x138)]();super[_0x2f4e83(0x138)](),this[_0x2f4e83(0x13a)]&&clearInterval(this[_0x2f4e83(0x13a)]);}}function ke(_0x396598){const _0xaf7de7=_0x34fcc4;return _0xaf7de7(0xe6)in _0x396598;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x17495f=_0xe1d8;function _0x2458(){const _0x262324=['canAccept','491525pAjQtG','destroy','10fcNAjO','332300qoxgYw','_pendingAction','commentThreadController','locale','plugins','_removePendingAction','listenTo','canDiscard','discardSuggestion','isEnabled','2453644MduZGI','_discardCommand','bind','acceptSuggestion','isDirty','3277638QgwoKl','3oWQTtX','add','canEditAt','unbind','remove','get','12GMVdEL','3456792ysvBVj','getRanges','change:isDirty','commands','_acceptCommand','PendingActions','view','410672wJzCdh','_editor','model','13391559SZtEvS','PENDING_ACTION_SUGGESTION','stopListening','_setPendingAction','execute'];_0x2458=function(){return _0x262324;};return _0x2458();}(function(_0xde0baf,_0x4d01ab){const _0x13f227=_0xe1d8,_0xf477eb=_0xde0baf();while(!![]){try{const _0x399a5f=-parseInt(_0x13f227(0x1bf))/0x1+parseInt(_0x13f227(0x1a1))/0x2*(-parseInt(_0x13f227(0x1b1))/0x3)+parseInt(_0x13f227(0x1ab))/0x4+-parseInt(_0x13f227(0x19e))/0x5*(parseInt(_0x13f227(0x1b7))/0x6)+-parseInt(_0x13f227(0x1b0))/0x7+-parseInt(_0x13f227(0x1b8))/0x8+parseInt(_0x13f227(0x1c2))/0x9*(parseInt(_0x13f227(0x1a0))/0xa);if(_0x399a5f===_0x4d01ab)break;else _0xf477eb['push'](_0xf477eb['shift']());}catch(_0x11dd18){_0xf477eb['push'](_0xf477eb['shift']());}}}(_0x2458,0x6864d));function _0xe1d8(_0x2ade5e,_0x5c11d4){const _0x24583e=_0x2458();return _0xe1d8=function(_0xe1d8ea,_0x524b77){_0xe1d8ea=_0xe1d8ea-0x19a;let _0x59de4c=_0x24583e[_0xe1d8ea];return _0x59de4c;},_0xe1d8(_0x2ade5e,_0x5c11d4);}import{ObservableMixin as _0x1f1700}from'ckeditor5/src/utils.js';import{getTranslation as _0x2be35f}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1f1700(){[_0x17495f(0x1c1)];[_0x17495f(0x1be)];[_0x17495f(0x1a3)];[_0x17495f(0x1c0)];[_0x17495f(0x1bc)];[_0x17495f(0x1ac)];[_0x17495f(0x1a2)];constructor(_0x328e14,_0x2ccf3c,_0x2540f1,_0x10f9eb){const _0x3c4b61=_0x17495f;super(),this[_0x3c4b61(0x1c1)]=_0x2ccf3c,this[_0x3c4b61(0x1be)]=_0x2540f1,this[_0x3c4b61(0x1a3)]=_0x10f9eb,this[_0x3c4b61(0x1c0)]=_0x328e14,this[_0x3c4b61(0x1bc)]=_0x328e14[_0x3c4b61(0x1bb)][_0x3c4b61(0x1b6)](_0x3c4b61(0x1ae)),this[_0x3c4b61(0x1ac)]=_0x328e14[_0x3c4b61(0x1bb)][_0x3c4b61(0x1b6)](_0x3c4b61(0x1a9)),this[_0x3c4b61(0x1be)][_0x3c4b61(0x1ad)](_0x3c4b61(0x1aa))['to'](this[_0x3c4b61(0x1bc)],this[_0x3c4b61(0x1ac)],(_0x339836,_0x41724d)=>_0x339836||_0x41724d),this[_0x3c4b61(0x1be)][_0x3c4b61(0x1ad)](_0x3c4b61(0x19d))['to'](this[_0x3c4b61(0x1bc)],_0x3c4b61(0x1aa),_0x1978db=>_0x1978db&&this[_0x3c4b61(0x1c0)][_0x3c4b61(0x1c1)][_0x3c4b61(0x1b3)](_0x2ccf3c[_0x3c4b61(0x1b9)]())),this[_0x3c4b61(0x1be)][_0x3c4b61(0x1ad)](_0x3c4b61(0x1a8))['to'](this[_0x3c4b61(0x1ac)],_0x3c4b61(0x1aa),_0xeec161=>_0xeec161&&this[_0x3c4b61(0x1c0)][_0x3c4b61(0x1c1)][_0x3c4b61(0x1b3)](_0x2ccf3c[_0x3c4b61(0x1b9)]())),this[_0x3c4b61(0x1a2)]=null,_0x2540f1[_0x3c4b61(0x1af)]&&this[_0x3c4b61(0x19b)](),this[_0x3c4b61(0x1a7)](_0x2540f1,_0x3c4b61(0x1ae),()=>this[_0x3c4b61(0x1ae)]()),this[_0x3c4b61(0x1a7)](_0x2540f1,_0x3c4b61(0x1a9),()=>this[_0x3c4b61(0x1a9)]()),this[_0x3c4b61(0x1a7)](_0x2540f1,_0x3c4b61(0x1ba),()=>{const _0xfc40bc=_0x3c4b61;_0x2540f1[_0xfc40bc(0x1af)]?this[_0xfc40bc(0x19b)]():this[_0xfc40bc(0x1a6)]();});}[_0x17495f(0x1ae)](){const _0x3c3e0c=_0x17495f;this[_0x3c3e0c(0x1bc)][_0x3c3e0c(0x19c)](this[_0x3c3e0c(0x1c1)]['id']);}[_0x17495f(0x1a9)](){const _0x124e8e=_0x17495f;this[_0x124e8e(0x1ac)][_0x124e8e(0x19c)](this[_0x124e8e(0x1c1)]['id']);}[_0x17495f(0x19f)](){const _0x3f2938=_0x17495f;this[_0x3f2938(0x1be)][_0x3f2938(0x1b4)](_0x3f2938(0x1aa)),this[_0x3f2938(0x1be)][_0x3f2938(0x1b4)](_0x3f2938(0x19d)),this[_0x3f2938(0x1be)][_0x3f2938(0x1b4)](_0x3f2938(0x1a8)),this[_0x3f2938(0x19a)](),this[_0x3f2938(0x1a3)][_0x3f2938(0x19f)](),this[_0x3f2938(0x1a2)]&&this[_0x3f2938(0x1a6)]();}[_0x17495f(0x19b)](){const _0x4fac68=_0x17495f,_0x3e242b=_0x2be35f(this[_0x4fac68(0x1c0)][_0x4fac68(0x1a4)],_0x4fac68(0x1c3));this[_0x4fac68(0x1a2)]=this[_0x4fac68(0x1c0)][_0x4fac68(0x1a5)][_0x4fac68(0x1b6)](_0x4fac68(0x1bd))[_0x4fac68(0x1b2)](_0x3e242b);}[_0x17495f(0x1a6)](){const _0xc1e529=_0x17495f;null!==this[_0xc1e529(0x1a2)]&&this[_0xc1e529(0x1c0)][_0xc1e529(0x1a5)][_0xc1e529(0x1b6)](_0xc1e529(0x1bd))[_0xc1e529(0x1b5)](this[_0xc1e529(0x1a2)]),this[_0xc1e529(0x1a2)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4224c6=_0x1ccb;function _0x1ccb(_0x2d90e0,_0x17ff3b){const _0x427960=_0x4279();return _0x1ccb=function(_0x1ccb10,_0x3ddb04){_0x1ccb10=_0x1ccb10-0x13f;let _0x30365c=_0x427960[_0x1ccb10];return _0x30365c;},_0x1ccb(_0x2d90e0,_0x17ff3b);}(function(_0x334ffc,_0x110c16){const _0x44fccb=_0x1ccb,_0x154c1d=_0x334ffc();while(!![]){try{const _0x5b7d36=-parseInt(_0x44fccb(0x158))/0x1*(parseInt(_0x44fccb(0x141))/0x2)+-parseInt(_0x44fccb(0x171))/0x3*(-parseInt(_0x44fccb(0x140))/0x4)+parseInt(_0x44fccb(0x164))/0x5+-parseInt(_0x44fccb(0x155))/0x6*(-parseInt(_0x44fccb(0x148))/0x7)+-parseInt(_0x44fccb(0x177))/0x8*(-parseInt(_0x44fccb(0x17f))/0x9)+-parseInt(_0x44fccb(0x17e))/0xa+-parseInt(_0x44fccb(0x156))/0xb;if(_0x5b7d36===_0x110c16)break;else _0x154c1d['push'](_0x154c1d['shift']());}catch(_0x540f2e){_0x154c1d['push'](_0x154c1d['shift']());}}}(_0x4279,0xdfaf5));import{FocusCycler as _0x2bf642,View as _0x391ed4,ViewCollection as _0x4e02ea}from'ckeditor5/src/ui.js';import{FocusTracker as _0x18458b,KeystrokeHandler as _0x499915}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x4b6691,setupThreadKeyboardNavigation as _0x4b3a66}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x2a12db}from'../../utils/common-translations.js';import{renderDescription as _0x3daec9}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x391ed4{[_0x4224c6(0x146)];[_0x4224c6(0x152)];[_0x4224c6(0x15e)];[_0x4224c6(0x17c)];[_0x4224c6(0x180)];[_0x4224c6(0x185)];[_0x4224c6(0x143)];[_0x4224c6(0x169)];[_0x4224c6(0x16b)];[_0x4224c6(0x160)];constructor(_0x3ca49a,_0x200f4d,_0x32195a,_0x3d9942){const _0xc6dfa0=_0x4224c6;super(_0x3ca49a),this[_0xc6dfa0(0x146)]=null,this[_0xc6dfa0(0x152)]=null,this[_0xc6dfa0(0x15e)]=new _0x4b6691(_0x3ca49a,_0x2a12db(_0x3ca49a,_0xc6dfa0(0x150))),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x168),!0x1),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x15b),_0x200f4d[_0xc6dfa0(0x15b)]),this[_0xc6dfa0(0x16a)](_0xc6dfa0(0x15b))['to'](_0x200f4d),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x144),[]),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x16f),!0x1),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x184),!0x1),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x182),!0x1),this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x176),!0x1),this[_0xc6dfa0(0x16a)](_0xc6dfa0(0x173))['to'](this,_0xc6dfa0(0x16c),_0x200f4d,_0xc6dfa0(0x15b),this,_0xc6dfa0(0x144),(_0x1a1aa6,_0x459713,_0x1c8878)=>{const _0x3d83c9=_0xc6dfa0,_0x3c875f=_0x1c8878[_0x3d83c9(0x186)](_0x804584=>_0x3daec9(_0x804584[_0x3d83c9(0x178)]))[_0x3d83c9(0x15d)]('.\x20')+'.';return _0x2a12db(this[_0x3d83c9(0x147)],_0x3d83c9(0x181),[_0x1a1aa6-0x1,_0x200f4d[_0x3d83c9(0x142)][_0x3d83c9(0x161)],_0x459713?_0x3d9942[_0x3d83c9(0x179)](_0x459713):'',new DOMParser()[_0x3d83c9(0x14d)](_0x3c875f,_0x3d83c9(0x13f))[_0x3d83c9(0x17a)][_0x3d83c9(0x175)]]);}),this[_0xc6dfa0(0x17c)]=new _0x4e02ea(),this[_0xc6dfa0(0x180)]=new _0x18458b(),this[_0xc6dfa0(0x185)]=new _0x499915(),this[_0xc6dfa0(0x143)]=new _0x2bf642({'focusables':this[_0xc6dfa0(0x17c)],'focusTracker':this[_0xc6dfa0(0x180)],'keystrokeHandler':this[_0xc6dfa0(0x185)],'keystrokeHandlerOptions':{'filter':_0xccaef1=>_0xccaef1[_0xc6dfa0(0x14b)]!==this[_0xc6dfa0(0x183)]},'actions':{'focusPrevious':_0xc6dfa0(0x172),'focusNext':_0xc6dfa0(0x174)}}),this[_0xc6dfa0(0x169)]=_0x200f4d,this[_0xc6dfa0(0x16b)]=_0x32195a,this[_0xc6dfa0(0x160)]=_0x3d9942,_0x3d9942[_0xc6dfa0(0x151)]?this[_0xc6dfa0(0x15f)](_0xc6dfa0(0x16c),0x1):this[_0xc6dfa0(0x170)]();}[_0x4224c6(0x17b)](){const _0x40c69f=_0x4224c6;super[_0x40c69f(0x17b)](),_0x4b3a66(this,this[_0x40c69f(0x17c)]);}[_0x4224c6(0x14e)](){const _0x55e1b2=_0x4224c6;this[_0x55e1b2(0x183)][_0x55e1b2(0x14e)]();}[_0x4224c6(0x149)](){const _0x2c3534=_0x4224c6;this[_0x2c3534(0x146)]&&this[_0x2c3534(0x146)][_0x2c3534(0x149)](),this[_0x2c3534(0x152)]&&this[_0x2c3534(0x152)][_0x2c3534(0x149)](),super[_0x2c3534(0x149)]();}[_0x4224c6(0x170)](){const _0x1d6cd2=_0x4224c6,{CommentsListView:_0x2fd436}=this[_0x1d6cd2(0x160)];this[_0x1d6cd2(0x146)]=new _0x2fd436(this[_0x1d6cd2(0x147)],this[_0x1d6cd2(0x169)][_0x1d6cd2(0x14f)],Object[_0x1d6cd2(0x16e)]({'CommentView':this[_0x1d6cd2(0x160)][_0x1d6cd2(0x188)]},this[_0x1d6cd2(0x160)])),this[_0x1d6cd2(0x146)][_0x1d6cd2(0x162)](_0x1d6cd2(0x157))['to'](this),this[_0x1d6cd2(0x146)][_0x1d6cd2(0x162)](_0x1d6cd2(0x167))['to'](this),this[_0x1d6cd2(0x146)][_0x1d6cd2(0x16a)](_0x1d6cd2(0x168))['to'](this),this[_0x1d6cd2(0x15f)](_0x1d6cd2(0x16c),this[_0x1d6cd2(0x146)][_0x1d6cd2(0x16c)]+0x1),this[_0x1d6cd2(0x16a)](_0x1d6cd2(0x16c))['to'](this[_0x1d6cd2(0x146)],_0x1d6cd2(0x16c),_0x39c1df=>_0x39c1df+0x1),this[_0x1d6cd2(0x152)]=this[_0x1d6cd2(0x187)](),this['on'](_0x1d6cd2(0x157),()=>this[_0x1d6cd2(0x14e)]()),this[_0x1d6cd2(0x16a)](_0x1d6cd2(0x16f))['to'](this[_0x1d6cd2(0x146)],_0x1d6cd2(0x14a),this[_0x1d6cd2(0x152)][_0x1d6cd2(0x154)],_0x1d6cd2(0x15a),(_0x24f39b,_0x321a14)=>_0x24f39b||!!_0x321a14);}[_0x4224c6(0x187)](){const _0x379139=_0x4224c6,{CommentThreadInputView:_0x52ae81}=this[_0x379139(0x160)],_0x3ae410=new _0x52ae81(this[_0x379139(0x147)],this[_0x379139(0x16b)],this[_0x379139(0x160)][_0x379139(0x145)]),_0x2e6b44=_0x3ae410[_0x379139(0x154)];return _0x3ae410[_0x379139(0x16a)](_0x379139(0x166))['to'](this,_0x379139(0x168),this[_0x379139(0x169)][_0x379139(0x14f)],_0x379139(0x14c),_0x2e6b44,_0x379139(0x15a),(_0x53c506,_0x5470ed,_0x302e0a)=>!!_0x302e0a||_0x53c506&&!_0x5470ed),_0x2e6b44['on'](_0x379139(0x153),(_0x89d5f5,_0x5aeea0)=>{const _0x5c539f=_0x379139;this[_0x5c539f(0x17d)](_0x5c539f(0x163),_0x5aeea0),_0x2e6b44[_0x5c539f(0x159)][_0x5c539f(0x15c)]('');}),_0x2e6b44['on'](_0x379139(0x165),()=>this[_0x379139(0x14e)]()),_0x2e6b44[_0x379139(0x16a)](_0x379139(0x16d))['to'](this[_0x379139(0x169)][_0x379139(0x14f)],_0x379139(0x14c)),_0x3ae410;}}function _0x4279(){const _0x52085e=['textContent','canDiscard','8tHwbNq','content','formatDateTime','body','render','focusables','fire','7150220DfuBWz','13721067FKYQKJ','focusTracker','SUGGESTION_THREAD_ARIA_LABEL','canAccept','element','isEnabled','keystrokes','map','_createCommentThreadInputView','CommentView','text/html','316mMCWXy','2764NjEQKr','author','focusCycler','descriptionParts','editorConfig','commentsListView','locale','1823045xIMXEP','destroy','hasDirtyComment','target','isReadOnly','parseFromString','focus','commentThread','SUGGESTION_THREAD_DESCRIPTION','disableComments','commentThreadInputView','submit','commentInputView','6heSBHQ','13267716uXYbSv','removeComment','386hSKxQr','editor','value','authoredAt','setData','join','ariaDescriptionView','set','_config','name','delegate','addComment','3620960CiDQYc','cancel','showInput','updateComment','isActive','_model','bind','_localUser','length','disabledSubmit','assign','isDirty','_createCommentViews','32721eDuXhO','shift+tab','ariaLabel','tab'];_0x4279=function(){return _0x52085e;};return _0x4279();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x106448=_0x245a;(function(_0x2d7b67,_0x5e2683){const _0x5a0f7c=_0x245a,_0x332c16=_0x2d7b67();while(!![]){try{const _0x54453c=parseInt(_0x5a0f7c(0x1bf))/0x1*(-parseInt(_0x5a0f7c(0x1c3))/0x2)+parseInt(_0x5a0f7c(0x1c6))/0x3+-parseInt(_0x5a0f7c(0x198))/0x4*(-parseInt(_0x5a0f7c(0x1a3))/0x5)+parseInt(_0x5a0f7c(0x1c4))/0x6*(-parseInt(_0x5a0f7c(0x195))/0x7)+parseInt(_0x5a0f7c(0x1ae))/0x8+parseInt(_0x5a0f7c(0x197))/0x9*(-parseInt(_0x5a0f7c(0x1a6))/0xa)+parseInt(_0x5a0f7c(0x196))/0xb*(parseInt(_0x5a0f7c(0x1be))/0xc);if(_0x54453c===_0x5e2683)break;else _0x332c16['push'](_0x332c16['shift']());}catch(_0x5c8d8e){_0x332c16['push'](_0x332c16['shift']());}}}(_0x5a81,0x22139));import{BaseSuggestionThreadView as _0x33237f}from'./basesuggestionthreadview.js';import{trimHtml as _0x1ca6fe}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x245a(_0xb385ba,_0x58fe34){const _0x5a816a=_0x5a81();return _0x245a=function(_0x245ac9,_0x37420e){_0x245ac9=_0x245ac9-0x18c;let _0x41b786=_0x5a816a[_0x245ac9];return _0x41b786;},_0x245a(_0xb385ba,_0x58fe34);}function _0x5a81(){const _0x410e82=['837354xcGhQB','_model','175788nMtZgz','SuggestionView','add','description','discardButton','suggestionView','ck-suggestion--disabled-comments','canDiscard','acceptSuggestion','commentThread','7BwCtxa','476773thOmZv','9auTnno','320548zfgfMw','disableComments','isActive','listitem','type','set','editorReady','render','color','ariaLabel','bind','5EebFNv','bindTemplate','canAccept','1956590qJLjeO','commentsListView','delegate','focusables','push','content','ck-suggestion-wrapper--active','isEnabled','1157688EngefP','setTemplate','ck-suggestion-wrapper','ck-rounded-corners','discardSuggestion','<p>','descriptionParts','getTemplate','</p>','_config','commentThreadInputView','ariaDescriptionView','author','div','formatDateTime','ck-suggestion-','60zjSVHN','1492alpHug','_descriptionElement','editorDestroyed','acceptButton','34PSUhur'];_0x5a81=function(){return _0x410e82;};return _0x5a81();}import{renderDescription as _0x4f8f4d}from'../../utils/utils.js';export class SuggestionThreadView extends _0x33237f{[_0x106448(0x190)];[_0x106448(0x1c0)];constructor(_0x54a3cb,_0x32c209,_0xbcc1f6,_0x1db423){const _0x5d5772=_0x106448;super(_0x54a3cb,_0x32c209,_0xbcc1f6,_0x1db423),this[_0x5d5772(0x19d)](_0x5d5772(0x19c),''),this[_0x5d5772(0x1a2)](_0x5d5772(0x19c))['to'](this,_0x5d5772(0x1b4),_0x43031b=>_0x43031b&&_0x43031b[0x0]?_0x43031b[0x0][_0x5d5772(0x19c)]:''),this[_0x5d5772(0x1a2)](_0x5d5772(0x18e))['to'](this,_0x5d5772(0x1b4),this,_0x5d5772(0x19a),(_0x229cfd,_0x327779)=>{const _0x5aad57=_0x5d5772;let _0x383d6c='';for(const _0x40008a of _0x229cfd)_0x383d6c+=_0x5aad57(0x1b3)+_0x4f8f4d(_0x40008a[_0x5aad57(0x1ab)],_0x40008a[_0x5aad57(0x1a0)])+_0x5aad57(0x1b6);return _0x327779?_0x383d6c:_0x1ca6fe(_0x383d6c,{'limit':0x8c});}),this[_0x5d5772(0x1c0)]=null,this[_0x5d5772(0x190)]=new _0x1db423[(_0x5d5772(0x18c))](_0x54a3cb,_0x32c209,{'formatDateTime':_0x1db423[_0x5d5772(0x1bc)]}),this[_0x5d5772(0x190)][_0x5d5772(0x1a2)](_0x5d5772(0x18e))['to'](this),this[_0x5d5772(0x190)][_0x5d5772(0x1a8)](_0x5d5772(0x193),_0x5d5772(0x1b2))['to'](this),this[_0x5d5772(0x190)][_0x5d5772(0x1c2)][_0x5d5772(0x1a2)](_0x5d5772(0x1ad))['to'](this,_0x5d5772(0x1a5)),this[_0x5d5772(0x190)][_0x5d5772(0x18f)][_0x5d5772(0x1a2)](_0x5d5772(0x1ad))['to'](this,_0x5d5772(0x192)),this[_0x5d5772(0x1a9)][_0x5d5772(0x18d)](this[_0x5d5772(0x190)]),this[_0x5d5772(0x1a7)]&&this[_0x5d5772(0x1a9)][_0x5d5772(0x18d)](this[_0x5d5772(0x1a7)]),this[_0x5d5772(0x1b8)]&&this[_0x5d5772(0x1a9)][_0x5d5772(0x18d)](this[_0x5d5772(0x1b8)]),this[_0x5d5772(0x1af)](this[_0x5d5772(0x1b5)]());}[_0x106448(0x1b5)](){const _0x56bb68=_0x106448,_0x46891b=this[_0x56bb68(0x1a4)],_0xf70e68=[this[_0x56bb68(0x190)]];return this[_0x56bb68(0x1a7)]&&_0xf70e68[_0x56bb68(0x1aa)](this[_0x56bb68(0x1a7)]),this[_0x56bb68(0x1b8)]&&_0xf70e68[_0x56bb68(0x1aa)](this[_0x56bb68(0x1b8)]),_0xf70e68[_0x56bb68(0x1aa)](this[_0x56bb68(0x1b9)]),{'tag':_0x56bb68(0x1bb),'attributes':{'class':['ck',_0x56bb68(0x1b1),_0x56bb68(0x1b0),_0x46891b['if'](_0x56bb68(0x19a),_0x56bb68(0x1ac)),_0x46891b['to'](_0x56bb68(0x19c),_0xeff025=>_0x56bb68(0x1bd)+_0xeff025),this[_0x56bb68(0x1b7)][_0x56bb68(0x199)]&&_0x56bb68(0x191)],'data-suggestion-id':this[_0x56bb68(0x1c5)]['id'],'data-thread-id':this[_0x56bb68(0x1c5)][_0x56bb68(0x194)]['id'],'data-author-id':this[_0x56bb68(0x1c5)][_0x56bb68(0x1ba)]['id'],'tabindex':0x0,'role':_0x56bb68(0x19b),'aria-label':_0x46891b['to'](_0x56bb68(0x1a1)),'aria-describedby':this[_0x56bb68(0x1b9)]['id']},'children':_0xf70e68};}[_0x106448(0x19f)](){const _0x2fe0db=_0x106448;super[_0x2fe0db(0x19f)](),this[_0x2fe0db(0x1a7)]&&(this[_0x2fe0db(0x1a7)][_0x2fe0db(0x1a8)](_0x2fe0db(0x19e))['to'](this),this[_0x2fe0db(0x1a7)][_0x2fe0db(0x1a8)](_0x2fe0db(0x1c1))['to'](this)),this[_0x2fe0db(0x1b8)]&&(this[_0x2fe0db(0x1b8)][_0x2fe0db(0x1a8)](_0x2fe0db(0x19e))['to'](this),this[_0x2fe0db(0x1b8)][_0x2fe0db(0x1a8)](_0x2fe0db(0x1c1))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ec173=_0x1213;(function(_0x5a226e,_0x49a0de){const _0x115ed6=_0x1213,_0xab4d5c=_0x5a226e();while(!![]){try{const _0x255eac=-parseInt(_0x115ed6(0xef))/0x1+parseInt(_0x115ed6(0xbc))/0x2*(parseInt(_0x115ed6(0xd9))/0x3)+parseInt(_0x115ed6(0x10e))/0x4+parseInt(_0x115ed6(0x10f))/0x5*(-parseInt(_0x115ed6(0xcc))/0x6)+-parseInt(_0x115ed6(0xf4))/0x7*(-parseInt(_0x115ed6(0x102))/0x8)+-parseInt(_0x115ed6(0xe3))/0x9+parseInt(_0x115ed6(0xe2))/0xa*(parseInt(_0x115ed6(0xfa))/0xb);if(_0x255eac===_0x49a0de)break;else _0xab4d5c['push'](_0xab4d5c['shift']());}catch(_0x46c345){_0xab4d5c['push'](_0xab4d5c['shift']());}}}(_0x3f32,0x9f029));import{FocusTracker as _0xc81c1b,KeystrokeHandler as _0x4d6544}from'ckeditor5/src/utils.js';function _0x3f32(){const _0x3eae65=['_config','querySelector','@external','ck-annotation__info-name','70932fZktoc','tab','focus','getTemplate','listenTo','.ck-annotation__content-wrapper','getExternalSuggestionNote','Accept\x20suggestion','keystrokes','ck-suggestion__actions','focusCycler','locale','bind','bindTemplate','EXTERNAL_IMPORT_WORD_AVATAR','name','6VNSVYH','ck-suggestion--accept','push','source','EXTERNAL_IMPORT_WORD_SUGGESTION','EXTERNAL_AVATAR','span','ck-annotation__content-wrapper','ck-suggestion__info','discardButton','shift+tab','setTemplate','ck-annotation','21FbnlXc','creator','ck-annotation__main','Discard\x20suggestion','focusTracker','enter','_setupKeyboardNavigation','ck-suggestion__user','isExternal','30LemxLb','11086605mnOcxE','discardSuggestion','element','userView','ck-suggestion','focusables','set','ck-suggestion--discard','importWord','div','focusFirst','_createButton','437083UycFfK','ck-comment__info-time','acceptButton','extendTemplate','render','98FisZZu','ck-annotation__info','add','fire','attributes','presentation','1645842HpAMgg','_model','ck-annotation__info-time','description','innerHTML','target','time','ck-annotation__user','555496MuWzUo','ck-suggestion__info-name','ck-comment__external','authoredAt','execute','getUserViewNotificationText','formatDateTime','esc','acceptSuggestion','change:description','ck-suggestion__main','EXTERNAL_SUGGESTION','3010968nZUcyv','508775GKAtpo','author','ck-annotation__actions'];_0x3f32=function(){return _0x3eae65;};return _0x3f32();}import{View as _0x19db3a,ViewCollection as _0x2827d2,FocusCycler as _0x2f9c06}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3a9efe,UserView as _0x5dad2e}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x426c19,IconCheck as _0x4279c7}from'ckeditor5/src/icons.js';import{getTranslation as _0x13520a}from'../../utils/common-translations.js';function _0x1213(_0x1f05d7,_0x336390){const _0x3f32d5=_0x3f32();return _0x1213=function(_0x121389,_0x3abec1){_0x121389=_0x121389-0xba;let _0xd4509f=_0x3f32d5[_0x121389];return _0xd4509f;},_0x1213(_0x1f05d7,_0x336390);}export class SuggestionView extends _0x19db3a{[_0x4ec173(0xe6)];[_0x4ec173(0xf1)];[_0x4ec173(0xd5)];[_0x4ec173(0xe8)];[_0x4ec173(0xdd)];[_0x4ec173(0xc4)];[_0x4ec173(0xc6)];[_0x4ec173(0xfb)];[_0x4ec173(0x112)];constructor(_0x3f5811,_0x442dcf,_0x11dbe4){const _0x53f150=_0x4ec173;super(_0x3f5811),this[_0x53f150(0xfb)]=_0x442dcf,this[_0x53f150(0x112)]=_0x11dbe4,this[_0x53f150(0xe9)](_0x53f150(0xfd),''),this[_0x53f150(0xc8)](_0x53f150(0x105))['to'](_0x442dcf),this[_0x53f150(0xf1)]=this[_0x53f150(0xee)](_0x13520a(_0x3f5811,_0x53f150(0xc3)),_0x4279c7,_0x53f150(0xcd),_0x53f150(0x10a),'sw'),this[_0x53f150(0xd5)]=this[_0x53f150(0xee)](_0x13520a(_0x3f5811,_0x53f150(0xdc)),_0x426c19,_0x53f150(0xea),_0x53f150(0xe4),'sw'),this[_0x53f150(0xe6)]=new _0x5dad2e(_0x3f5811,_0x442dcf[_0x53f150(0x110)],this[_0x53f150(0x107)]()),this[_0x53f150(0xe6)][_0x53f150(0xf2)]({'attributes':{'class':[_0x53f150(0xe0),_0x53f150(0x101)],'aria-hidden':!0x0}}),this[_0x53f150(0xe8)]=new _0x2827d2([this[_0x53f150(0xf1)],this[_0x53f150(0xd5)]]),this[_0x53f150(0xdd)]=new _0xc81c1b(),this[_0x53f150(0xc4)]=new _0x4d6544(),this[_0x53f150(0xc6)]=new _0x2f9c06({'focusables':this[_0x53f150(0xe8)],'focusTracker':this[_0x53f150(0xdd)],'keystrokeHandler':this[_0x53f150(0xc4)],'actions':{'focusPrevious':_0x53f150(0xd6),'focusNext':_0x53f150(0xbd)},'keystrokeHandlerOptions':{'filter':_0x37ad3b=>_0x37ad3b[_0x53f150(0xff)]!==this[_0x53f150(0xe5)]}}),this[_0x53f150(0xd7)](this[_0x53f150(0xbf)]());}[_0x4ec173(0xf3)](){const _0x5595ab=_0x4ec173;super[_0x5595ab(0xf3)]();const _0x3cb953=this[_0x5595ab(0xe5)][_0x5595ab(0x113)](_0x5595ab(0xc1));_0x3cb953[_0x5595ab(0xfe)]=this[_0x5595ab(0xfd)],this['on'](_0x5595ab(0x10b),(_0x5df8ea,_0x319245,_0x3ad394)=>{const _0x30054f=_0x5595ab;_0x3cb953[_0x30054f(0xfe)]=_0x3ad394;}),this[_0x5595ab(0xdf)]();}[_0x4ec173(0xbf)](){const _0x336686=_0x4ec173,_0x1e170e=this[_0x336686(0xc9)],_0x2c4442=[{'tag':_0x336686(0xec),'attributes':{'class':[_0x336686(0xd4),_0x336686(0xf5)]},'children':[{'tag':_0x336686(0xd2),'children':[{'text':this[_0x336686(0xe6)][_0x336686(0xcb)]}],'attributes':{'class':[_0x336686(0x103),_0x336686(0xbb)],'data-cke-tooltip-text':this[_0x336686(0xe6)][_0x336686(0xcb)]}},{'tag':_0x336686(0x100),'attributes':{'datetime':_0x1e170e['to'](_0x336686(0x105)),'class':[_0x336686(0xf0),_0x336686(0xfc)]},'children':[{'text':_0x1e170e['to'](_0x336686(0x105),_0x4c0db5=>this[_0x336686(0x112)][_0x336686(0x108)](_0x4c0db5))}]}]},{'tag':_0x336686(0xec),'attributes':{'class':[_0x336686(0xc5),_0x336686(0x111)]},'children':[this[_0x336686(0xf1)],this[_0x336686(0xd5)]]},{'tag':_0x336686(0xec),'attributes':{'class':[_0x336686(0xd3)]}}];return this[_0x336686(0xfb)][_0x336686(0xe1)]&&_0x2c4442[_0x336686(0xce)]({'tag':_0x336686(0xec),'attributes':{'class':[_0x336686(0x104)]},'children':[{'text':this[_0x336686(0xc2)]()}]}),{'tag':_0x336686(0xec),'attributes':{'class':[_0x336686(0xe7),_0x336686(0xd8)],'tabindex':-0x1},'children':[this[_0x336686(0xe6)],{'tag':_0x336686(0xec),'attributes':{'class':[_0x336686(0x10c),_0x336686(0xdb)],'role':_0x336686(0xf9)},'children':_0x2c4442}]};}[_0x4ec173(0xbe)](){const _0x10d623=_0x4ec173;this[_0x10d623(0xe5)][_0x10d623(0xbe)]();}[_0x4ec173(0x107)](){const _0x8e05ed=_0x4ec173;return this[_0x8e05ed(0xfb)][_0x8e05ed(0xe1)]?_0x8e05ed(0xeb)===this[_0x8e05ed(0xfb)][_0x8e05ed(0xf8)][_0x8e05ed(0xba)][_0x8e05ed(0xcf)]?_0x13520a(this[_0x8e05ed(0xc7)],_0x8e05ed(0xca),this[_0x8e05ed(0xfb)][_0x8e05ed(0xda)][_0x8e05ed(0xcb)]):_0x13520a(this[_0x8e05ed(0xc7)],_0x8e05ed(0xd1),this[_0x8e05ed(0xfb)][_0x8e05ed(0xda)][_0x8e05ed(0xcb)]):null;}[_0x4ec173(0xc2)](){const _0x195fcb=_0x4ec173;return _0x195fcb(0xeb)===this[_0x195fcb(0xfb)][_0x195fcb(0xf8)][_0x195fcb(0xba)][_0x195fcb(0xcf)]?_0x13520a(this[_0x195fcb(0xc7)],_0x195fcb(0xd0)):_0x13520a(this[_0x195fcb(0xc7)],_0x195fcb(0x10d));}[_0x4ec173(0xee)](_0x4cd72f,_0x1964f1,_0x277a19,_0x528778,_0x2c5309){const _0x4de014=_0x4ec173,_0x561d6b=new _0x3a9efe(this[_0x4de014(0xc7)]);return _0x561d6b[_0x4de014(0xe9)]({'label':_0x4cd72f,'icon':_0x1964f1,'tooltip':!0x0,'tooltipPosition':_0x2c5309}),_0x561d6b[_0x4de014(0xf2)]({'attributes':{'class':_0x277a19}}),_0x561d6b['on'](_0x4de014(0x106),()=>{const _0x41d50d=_0x4de014;this[_0x41d50d(0xf7)](_0x528778,this[_0x41d50d(0xfb)]['id']);}),_0x561d6b;}[_0x4ec173(0xdf)](){const _0x4a48a7=_0x4ec173,_0x10ffe0=this[_0x4a48a7(0xe5)];this[_0x4a48a7(0xc4)][_0x4a48a7(0xc0)](_0x10ffe0);for(const _0x2d2781 of this[_0x4a48a7(0xe8)])this[_0x4a48a7(0xdd)][_0x4a48a7(0xf6)](_0x2d2781[_0x4a48a7(0xe5)]),this[_0x4a48a7(0xc4)][_0x4a48a7(0xc0)](_0x2d2781[_0x4a48a7(0xe5)]);this[_0x4a48a7(0xc4)][_0x4a48a7(0xe9)](_0x4a48a7(0xde),(_0x2a9bf9,_0x1f4854)=>{const _0x4ff5ec=_0x4a48a7;_0x10ffe0===_0x2a9bf9[_0x4ff5ec(0xff)]&&(this[_0x4ff5ec(0xc6)][_0x4ff5ec(0xed)](),_0x1f4854());}),this[_0x4a48a7(0xc4)][_0x4a48a7(0xe9)](_0x4a48a7(0x109),(_0x26ce0b,_0x2f21a2)=>{const _0x56a61c=_0x4a48a7;_0x10ffe0!==_0x26ce0b[_0x56a61c(0xff)]&&(this[_0x56a61c(0xbe)](),_0x2f21a2());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x300e3d=_0x2b68;(function(_0x1e8ce9,_0x15bff5){const _0x21c14e=_0x2b68,_0x4ea17a=_0x1e8ce9();while(!![]){try{const _0x580dff=parseInt(_0x21c14e(0xc3))/0x1*(parseInt(_0x21c14e(0xb5))/0x2)+parseInt(_0x21c14e(0xb4))/0x3+parseInt(_0x21c14e(0xb9))/0x4*(-parseInt(_0x21c14e(0xb8))/0x5)+-parseInt(_0x21c14e(0xbc))/0x6*(parseInt(_0x21c14e(0xcd))/0x7)+-parseInt(_0x21c14e(0xbf))/0x8+parseInt(_0x21c14e(0xcf))/0x9+-parseInt(_0x21c14e(0xb2))/0xa*(-parseInt(_0x21c14e(0xce))/0xb);if(_0x580dff===_0x15bff5)break;else _0x4ea17a['push'](_0x4ea17a['shift']());}catch(_0x49c5fd){_0x4ea17a['push'](_0x4ea17a['shift']());}}}(_0x1ebe,0x259ae));import{View as _0x1cf0fa}from'ckeditor5/src/ui.js';function _0x2b68(_0x402c4a,_0x5e1d9){const _0x1ebe63=_0x1ebe();return _0x2b68=function(_0x2b684c,_0x1aeb36){_0x2b684c=_0x2b684c-0xb0;let _0x357ab6=_0x1ebe63[_0x2b684c];return _0x357ab6;},_0x2b68(_0x402c4a,_0x5e1d9);}function _0x1ebe(){const _0x478071=['innerHTML','1602600VONWkT','data-ck-root-name','classes','focus','1124QArYqi','ck-track-changes-preview','dialogRects','className','div','setTemplate','setPreviewData','height','previewDataReady','\x20ck-track-changes-preview__root-container','6237UcOtnr','168069xwGIOO','1833381CuDzSP','setAttribute','ck-reset','options','fire','render','130PpAcwA','width','476025PRqLaj','24UeeveR','element','createElement','10XAEPoy','393956vdZDep','push','style','156skHrde','content'];_0x1ebe=function(){return _0x478071;};return _0x1ebe();}export class TrackChangesPreviewView extends _0x1cf0fa{[_0x300e3d(0xd2)];constructor(_0x7603dd,_0x3060b7){const _0x2ecf4d=_0x300e3d;super(_0x7603dd),this[_0x2ecf4d(0xd2)]=_0x3060b7,this[_0x2ecf4d(0xc8)]({'tag':_0x2ecf4d(0xc7),'attributes':{'class':['ck',_0x2ecf4d(0xd1),_0x2ecf4d(0xc4)],'tabindex':-0x1}});}[_0x300e3d(0xb1)](){const _0x2bdf4f=_0x300e3d;super[_0x2bdf4f(0xb1)](),this[_0x2bdf4f(0xb6)][_0x2bdf4f(0xbb)][_0x2bdf4f(0xb3)]=this[_0x2bdf4f(0xd2)][_0x2bdf4f(0xc5)][_0x2bdf4f(0xb3)]+'px',this[_0x2bdf4f(0xb6)][_0x2bdf4f(0xbb)][_0x2bdf4f(0xca)]=this[_0x2bdf4f(0xd2)][_0x2bdf4f(0xc5)][_0x2bdf4f(0xca)]+'px';}[_0x300e3d(0xc9)](_0x188437,_0x2974bc){const _0x5b7295=_0x300e3d;if(!this[_0x5b7295(0xb6)])return;const _0x237d60=[];for(const [_0x5ae43c,_0x311a15]of _0x188437){const _0x35c926=document[_0x5b7295(0xb7)](_0x5b7295(0xc7));_0x35c926[_0x5b7295(0xd0)](_0x5b7295(0xc0),_0x5ae43c),_0x35c926[_0x5b7295(0xc6)]=_0x311a15[_0x5b7295(0xc1)]+_0x5b7295(0xcc),_0x35c926[_0x5b7295(0xbe)]=_0x311a15[_0x5b7295(0xbd)],_0x237d60[_0x5b7295(0xba)](_0x35c926);}_0x2974bc(this[_0x5b7295(0xb6)],_0x237d60),this[_0x5b7295(0xb6)][_0x5b7295(0xbb)][_0x5b7295(0xca)]='',this[_0x5b7295(0xb0)](_0x5b7295(0xcb));}[_0x300e3d(0xc2)](){const _0x1605d7=_0x300e3d;this[_0x1605d7(0xb6)][_0x1605d7(0xc2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x28d7fc,_0x4dc86d,_0x5209ff){const _0x28abb6=_0x28d7fc['t'],t=_0x28d7fc['t'];switch(_0x4dc86d){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',_0x5209ff);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5209ff);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5209ff);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5209ff);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5209ff);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',_0x5209ff);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5209ff);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',_0x5209ff);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5209ff);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5209ff);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5209ff);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5209ff);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5209ff);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5209ff);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5209ff);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5209ff);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5209ff);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5209ff);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5209ff);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5209ff);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5209ff);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5209ff);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5209ff);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5209ff);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5209ff);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'},_0x5209ff);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5209ff);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5209ff);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5209ff);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5209ff);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5209ff);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5209ff);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5209ff);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'},_0x5209ff);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5209ff);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5209ff);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5209ff);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5209ff);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x5209ff);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5209ff);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'},_0x5209ff);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5209ff);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5209ff);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'},_0x5209ff);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5209ff);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'},_0x5209ff);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5209ff);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x5209ff);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x5209ff);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x5209ff);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5209ff);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'},_0x5209ff);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5209ff);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 _0x28abb6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5209ff);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28abb6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5209ff);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5209ff);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'},_0x5209ff);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'},_0x5209ff);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'},_0x5209ff);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4dc86d;}}
|
|
23
|
+
export function getTranslation(_0x5b9665,_0x276d02,_0x146ac6){const _0x18d45c=_0x5b9665['t'],t=_0x5b9665['t'];switch(_0x276d02){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',_0x146ac6);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x146ac6);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x146ac6);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x146ac6);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x146ac6);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',_0x146ac6);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x146ac6);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',_0x146ac6);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x146ac6);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x146ac6);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x146ac6);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x146ac6);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x146ac6);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x146ac6);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x146ac6);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x146ac6);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x146ac6);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x146ac6);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x146ac6);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x146ac6);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x146ac6);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x146ac6);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x146ac6);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x146ac6);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x146ac6);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'},_0x146ac6);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x146ac6);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x146ac6);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x146ac6);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x146ac6);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x146ac6);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x146ac6);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x146ac6);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x146ac6);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x146ac6);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x146ac6);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x146ac6);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x146ac6);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'},_0x146ac6);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x146ac6);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x146ac6);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x146ac6);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x146ac6);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x146ac6);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x146ac6);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 _0x18d45c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x146ac6);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x18d45c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x146ac6);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x146ac6);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'},_0x146ac6);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'},_0x146ac6);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'},_0x146ac6);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x276d02;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x31de93,_0x5e1c39){const _0x2986da=_0x51eb,_0x4f63e2=_0x31de93();while(!![]){try{const _0x3206c9=parseInt(_0x2986da(0x195))/0x1*(parseInt(_0x2986da(0x1bb))/0x2)+-parseInt(_0x2986da(0x1b4))/0x3+parseInt(_0x2986da(0x1a3))/0x4*(-parseInt(_0x2986da(0x1b2))/0x5)+-parseInt(_0x2986da(0x190))/0x6*(parseInt(_0x2986da(0x19e))/0x7)+-parseInt(_0x2986da(0x1c0))/0x8*(-parseInt(_0x2986da(0x1af))/0x9)+-parseInt(_0x2986da(0x19b))/0xa*(parseInt(_0x2986da(0x1aa))/0xb)+parseInt(_0x2986da(0x197))/0xc*(parseInt(_0x2986da(0x1c3))/0xd);if(_0x3206c9===_0x5e1c39)break;else _0x4f63e2['push'](_0x4f63e2['shift']());}catch(_0x139dde){_0x4f63e2['push'](_0x4f63e2['shift']());}}}(_0x57fe,0x8c9ff));export function normalizeDescription(_0x341678){const _0x3d4bb5=_0x51eb;return Array[_0x3d4bb5(0x1a8)](_0x341678)||(_0x341678=[_0x341678]),_0x341678[_0x3d4bb5(0x1b9)](_0x5968b2=>{const _0x1a99c4=_0x3d4bb5,_0x3b6dbe=_0x5968b2[_0x1a99c4(0x1ab)][_0x1a99c4(0x1c5)](/\*/g,''),_0xc769a7=_0x5968b2[_0x1a99c4(0x1be)]?_0x1a99c4(0x1a9)+_0x5968b2[_0x1a99c4(0x1be)][_0x1a99c4(0x1a0)]+']':'';return'['+_0x5968b2[_0x1a99c4(0x19f)]+']\x20'+_0x3b6dbe+_0xc769a7;})[_0x3d4bb5(0x1b8)](';\x20');}function _0x51eb(_0x1e990e,_0x424b01){const _0x57fe69=_0x57fe();return _0x51eb=function(_0x51eb57,_0xfc704c){_0x51eb57=_0x51eb57-0x18d;let _0x460f11=_0x57fe69[_0x51eb57];return _0x460f11;},_0x51eb(_0x1e990e,_0x424b01);}export function renderDescription(_0x458d4b,_0x4e6aec){const _0x446795=_0x51eb;let _0x21590b='';return _0x21590b+=_0x458d4b[_0x446795(0x1c1)]('*')[_0x446795(0x1b9)]((_0x3dc5f7,_0x69437a)=>_0x69437a%0x2!=0x0?_0x446795(0x1ad)+rn(_0x3dc5f7)+_0x446795(0x18e):rn(_0x3dc5f7))[_0x446795(0x1b8)](''),_0x4e6aec&&(_0x21590b+=_0x446795(0x192)+_0x4e6aec[_0x446795(0x1a0)]+_0x446795(0x1ac)+_0x4e6aec[_0x446795(0x1a7)]+_0x446795(0x1c6)),_0x21590b;}function rn(_0x44b841){const _0x21c2bd=_0x51eb,_0x488650=document[_0x21c2bd(0x1b1)](_0x21c2bd(0x1a4));return _0x488650[_0x21c2bd(0x1ae)]=_0x44b841,_0x488650[_0x21c2bd(0x19d)];}export function sortSuggestions(_0x1b87c5){const _0x22f0ef=_0x51eb;return _0x1b87c5[_0x22f0ef(0x1bf)]((_0x189935,_0x4d0c12)=>_0x22f0ef(0x1ba)===_0x189935[_0x22f0ef(0x19f)]&&_0x22f0ef(0x1ba)!==_0x4d0c12[_0x22f0ef(0x19f)]?-0x1:_0x22f0ef(0x1ba)!==_0x189935[_0x22f0ef(0x19f)]&&_0x22f0ef(0x1ba)===_0x4d0c12[_0x22f0ef(0x19f)]?0x1:_0x22f0ef(0x19a)==_0x189935[_0x22f0ef(0x19f)]&&_0x22f0ef(0x19a)!=_0x4d0c12[_0x22f0ef(0x19f)]?-0x1:_0x22f0ef(0x19a)!=_0x189935[_0x22f0ef(0x19f)]&&_0x22f0ef(0x19a)==_0x4d0c12[_0x22f0ef(0x19f)]?0x1:0x0);}export function getSelectedSuggestions(_0x573a51,_0x23df7b){const _0x30525f=_0x51eb,_0x2b1c9c=Array[_0x30525f(0x194)](_0x573a51[_0x30525f(0x198)]()),_0x53c2f6=new Set();for(const _0x3e63b3 of _0x23df7b)if(_0x3e63b3[_0x30525f(0x1c2)]){for(const _0xe7a327 of _0x2b1c9c)for(const _0x459c09 of _0x3e63b3[_0x30525f(0x198)]())(_0xe7a327[_0x30525f(0x1a2)](_0x459c09)||_0x573a51[_0x30525f(0x1bc)]&&!_0x3e63b3[_0x30525f(0x1b7)]&&_0x3e63b3[_0x30525f(0x1bd)]&&_0x459c09[_0x30525f(0x1b5)][_0x30525f(0x1b6)](_0xe7a327[_0x30525f(0x191)]))&&_0x53c2f6[_0x30525f(0x19c)](_0x3e63b3);}return _0x53c2f6;}export function getRangesOfBlockGroups(_0x195c5a,_0x9a629c){const _0x3f5f10=_0x51eb;let _0x89a7b6,_0x4e7bf4=0x0;const _0x5a03ad=[],_0x193a66=_0x9a629c[_0x3f5f10(0x1b3)];for(;_0x4e7bf4<_0x195c5a[_0x3f5f10(0x1c4)];){const _0x59c53a=_0x195c5a[_0x4e7bf4],_0x54c671=_0x195c5a[_0x4e7bf4+0x1];_0x89a7b6||(_0x89a7b6=_0x9a629c[_0x3f5f10(0x1b0)](_0x59c53a)),cn(_0x9a629c,_0x59c53a,_0x54c671)||(_0x5a03ad[_0x3f5f10(0x193)](_0x9a629c[_0x3f5f10(0x1a6)](_0x89a7b6,_0x193a66[_0x3f5f10(0x1a1)](_0x59c53a)?_0x9a629c[_0x3f5f10(0x199)](_0x59c53a):_0x9a629c[_0x3f5f10(0x196)](_0x59c53a,_0x3f5f10(0x1b5)))),_0x89a7b6=null),_0x4e7bf4++;}return _0x5a03ad;}function cn(_0x1caf90,_0x509f93,_0x4a5543){const _0xfb00f9=_0x51eb;if(!_0x4a5543)return!0x1;const _0x566113=_0x1caf90[_0xfb00f9(0x199)](_0x509f93),_0x328c8f=_0x1caf90[_0xfb00f9(0x1b0)](_0x4a5543);return _0x566113[_0xfb00f9(0x1b6)](_0x328c8f);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x57fe(){const _0x5dd815=['isObject','isIntersecting','314268xsXHWE','span','splice','createRange','title','isArray','\x20[color\x20','1001PERHSN','content','\x22\x20title=\x22','<span\x20class=\x22ck-suggestion-type\x22>','innerText','612foWuLh','createPositionBefore','createElement','35VZCSng','schema','2127258DiQGJU','end','isTouching','isMultiRange','join','map','attribute','231962frliSa','isCollapsed','next','color','sort','13064mKMyLL','split','isInContent','273WjGVmw','length','replace','\x22></span>','execute','</span>','change','464652nIcXxZ','start','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','push','from','3vsDPAY','createPositionAt','1259268nmrhiS','getRanges','createPositionAfter','deletion','31380MyTFdd','add','innerHTML','49LSrYtl','type','value'];_0x57fe=function(){return _0x5dd815;};return _0x57fe();}export function executeCommandForSuggestions(_0x454c3d,_0x5c4c33,_0x4eb247){const _0x5487ee=_0x51eb;for(;_0x4eb247[_0x5487ee(0x1c4)];){const _0x263875=_0x4eb247[_0x5487ee(0x1a5)](0x0,0x64);_0x454c3d[_0x5487ee(0x18f)](()=>{const _0x4d7ec7=_0x5487ee;for(const _0xdd1f88 of _0x263875)_0xdd1f88[_0x4d7ec7(0x1c2)]&&_0x5c4c33[_0x4d7ec7(0x18d)](_0xdd1f88['id']);});}}
|