@ckeditor/ckeditor5-track-changes 47.7.0-alpha.3 → 47.7.0-alpha.4
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
|
+
const _0xea991b=_0x5204;(function(_0x1df305,_0x1b555d){const _0x3a3102=_0x5204,_0x562ef4=_0x1df305();while(!![]){try{const _0x1e248d=parseInt(_0x3a3102(0xc5))/0x1+-parseInt(_0x3a3102(0xd1))/0x2*(parseInt(_0x3a3102(0xda))/0x3)+parseInt(_0x3a3102(0xd4))/0x4+-parseInt(_0x3a3102(0xc7))/0x5*(parseInt(_0x3a3102(0xd9))/0x6)+parseInt(_0x3a3102(0xd6))/0x7*(parseInt(_0x3a3102(0xd8))/0x8)+-parseInt(_0x3a3102(0xd0))/0x9*(-parseInt(_0x3a3102(0xcc))/0xa)+-parseInt(_0x3a3102(0xc8))/0xb*(-parseInt(_0x3a3102(0xdb))/0xc);if(_0x1e248d===_0x1b555d)break;else _0x562ef4['push'](_0x562ef4['shift']());}catch(_0x1dff20){_0x562ef4['push'](_0x562ef4['shift']());}}}(_0x2a68,0x71188));import{Plugin as _0x4e2f17}from'ckeditor5/src/core.js';import{Dialog as _0x16469b}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5112a2}from'./trackchangesdata.js';function _0x2a68(){const _0x36342f=['requires','49113sgXdbK','11522siggMz','commands','appendChild','887320MpIyAg','pluginName','7KruwGF','TrackChangesPreview','4367608gnRuFG','18Kisidz','357tTcWDT','2954712vrNGSa','previewFinalContent','trackChanges.preview.renderFunction','378901fSwFXL','add','1235595gKYyAr','22dkzmAn','isPremiumPlugin','config','editor','460sYLiXD','define','isOfficialPlugin'];_0x2a68=function(){return _0x36342f;};return _0x2a68();}import{PreviewFinalContentCommand as _0x3501d1}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x5204(_0x5794e4,_0x2d9e2c){const _0x2a686e=_0x2a68();return _0x5204=function(_0x520453,_0x1dcb72){_0x520453=_0x520453-0xc3;let _0x2fbc89=_0x2a686e[_0x520453];return _0x2fbc89;},_0x5204(_0x5794e4,_0x2d9e2c);}export class TrackChangesPreview extends _0x4e2f17{static get[_0xea991b(0xcf)](){return[_0x5112a2,_0x16469b];}static get[_0xea991b(0xd5)](){const _0x1e6144=_0xea991b;return _0x1e6144(0xd7);}static get[_0xea991b(0xce)](){return!0x0;}static get[_0xea991b(0xc9)](){return!0x0;}constructor(_0x3627a1){const _0x53f5de=_0xea991b;super(_0x3627a1),_0x3627a1[_0x53f5de(0xd2)][_0x53f5de(0xc6)](_0x53f5de(0xc3),new _0x3501d1(this[_0x53f5de(0xcb)])),_0x3627a1[_0x53f5de(0xca)][_0x53f5de(0xcd)](_0x53f5de(0xc4),(_0x102c52,_0xd8f42b)=>{const _0x4534f2=_0x53f5de;for(const _0x476ac5 of _0xd8f42b)_0x102c52[_0x4534f2(0xd3)](_0x476ac5);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x497b16=_0x48de;(function(_0xed7945,_0xec19ea){const _0x308099=_0x48de,_0x5a336b=_0xed7945();while(!![]){try{const _0x410307=parseInt(_0x308099(0x276))/0x1+parseInt(_0x308099(0x243))/0x2+-parseInt(_0x308099(0x239))/0x3+parseInt(_0x308099(0x289))/0x4*(parseInt(_0x308099(0x20a))/0x5)+-parseInt(_0x308099(0x1fe))/0x6*(-parseInt(_0x308099(0x261))/0x7)+-parseInt(_0x308099(0x1df))/0x8*(parseInt(_0x308099(0x21b))/0x9)+-parseInt(_0x308099(0x224))/0xa;if(_0x410307===_0xec19ea)break;else _0x5a336b['push'](_0x5a336b['shift']());}catch(_0x485911){_0x5a336b['push'](_0x5a336b['shift']());}}}(_0x5cc5,0xc2e4f));import{Plugin as _0x476f37}from'ckeditor5/src/core.js';import{Collection as _0xea02c4}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x4dfbe8}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1520b,createDropdown as _0x140825,ListSeparatorView as _0x48e9f1,MenuBarMenuView as _0x223349,MenuBarMenuListView as _0x2fea49,MenuBarMenuListItemView as _0x1d03a1,MenuBarMenuListItemButtonView as _0x19bf4f,SplitButtonView as _0x33a812,UIModel as _0x418124}from'ckeditor5/src/ui.js';function _0x5cc5(){const _0x1bb4b1=['refreshSelectedViews','domainLimit','execute','escape','change:activeAnnotations','getRanges','size','actionView','3120486RbTPlD','config','stopListening','model','isMultiRange','discardAllSuggestions','_showLicenseError','Preview\x20final\x20content','_unbindEditors','CommentsRepository','value','getSuggestionForAnnotation','1465oDlqUl','getJoined','editing','plugins','_handleSuggestionControllerDelayed','registerAnnotation','focus','filter','expired','Accept\x20all\x20suggestions','isOfficialPlugin','head','panelView','componentFactory','suggestionView','suggestionLoaded','requires','46395xDvyOj','children','Accept\x20all\x20selected\x20suggestions','_createMenuBarMenu','trackChangesLicenseKeyNotAllowed','lowest','delegate','isDirty','reduce','1354840tGHILi','descriptionParts','separator','commentThread','_annotationViews','view','arrowView','has','type','addSourceCollector','createCommentThreadController','featureNotAllowed','previous','suggestionUnloaded','commentsListView','CommentView','getByInnerView','add','unbind','TrackChangesEditing','buttonView','3290493bMoDlA','acceptButton','commandName','TrackChangesUI','getAnnotationForSuggestion','comments','menu','get','trackChangesLicenseKeyExpired','addComment','1613038XbaTZO','menuitemcheckbox','toMany','CommentsUI','keys','_bindAnnotationToEditors','listenTo','evaluationLimit','trackChangesLicenseKeyInvalid','SuggestionThreadView','hasSuggestion','discardButton','set','licenseKey','EditorAnnotations','destroy','_disableComments','mainView','isEnabled','suggestion-','TrackChanges','_createToolbarButton','init','_handleControllerBuffer','getAllAdjacentSuggestions','source','bind','Annotations','discardSelectedSuggestions','getMarkerNames','14BtqHjF','Discard\x20all\x20suggestions','items','activeAnnotations','_viewToController','TrackChangesPreview','getFirstRange','invalid','values','_destroyController','trackChanges','acceptSelectedSuggestions','editor','fire','trackChangesLicenseKeyUsageLimit','menuBar:trackChanges','remove','SuggestionView','trackChangesLicenseKeyEvaluationLimit','isPremiumPlugin','define','119253UUKtvm','activeMarkers','comments.maxThreadTotalWeight','trackChanges.SuggestionView','_refreshActiveMarkers','Discard\x20all\x20selected\x20suggestions','createAnnotationView','length','push','pluginName','getDescriptions','isInContent','acceptAllSuggestions','some','innerView','trackChanges.SuggestionThreadView','locale','delete','getSuggestion','6724ipcbRK','from','comments.maxCommentsWhenCollapsed','change:previous','createAnnotation','trackChangesLicenseKeyDomainLimit','664rPQGoh','_suggestionToController','switchbutton','_initializeController','trackChangesLicenseKeyValid','previewFinalContent','Track\x20changes','_licenseKeyCheckInterval','button','commands','getMarkers','comments.maxCommentCharsWhenCollapsed','addMany','isOn','comments.editorConfig','clear','descriptionFactory','usageLimit','trackChanges.disableComments','suggestionChanged','_updateController','_addUIComponentsToFactory','menuitem'];_0x5cc5=function(){return _0x1bb4b1;};return _0x5cc5();}import{Users as _0x119f80,getDateTimeFormatter as _0x39e072,getAllMarkersDomElementsSorted as _0x52e89d}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5d86ba}from'./trackchangesediting.js';import{SuggestionController as _0x17fdd7}from'./ui/suggestioncontroller.js';function _0x48de(_0x9f4aaa,_0x40a287){const _0x5cc5d1=_0x5cc5();return _0x48de=function(_0x48dee3,_0x3f9b1e){_0x48dee3=_0x48dee3-0x1dc;let _0x436af6=_0x5cc5d1[_0x48dee3];return _0x436af6;},_0x48de(_0x9f4aaa,_0x40a287);}import{SuggestionThreadView as _0x2edf33}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5bb7e5}from'./ui/view/suggestionview.js';import{getTranslation as _0x30e17e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x476f37{[_0x497b16(0x250)];[_0x497b16(0x1e6)];[_0x497b16(0x1e0)];[_0x497b16(0x265)];[_0x497b16(0x228)];[_0x497b16(0x25a)];[_0x497b16(0x253)];static get[_0x497b16(0x21a)](){const _0x94faed=_0x497b16;return[_0x5d86ba,_0x119f80,_0x94faed(0x207),_0x94faed(0x25e),_0x94faed(0x251)];}static get[_0x497b16(0x27f)](){const _0x1f446e=_0x497b16;return _0x1f446e(0x23c);}static get[_0x497b16(0x214)](){return!0x0;}static get[_0x497b16(0x274)](){return!0x0;}constructor(_0x12d2bb){const _0x9a9448=_0x497b16;super(_0x12d2bb),this[_0x9a9448(0x1e0)]=new Map(),this[_0x9a9448(0x265)]=new Map(),this[_0x9a9448(0x228)]=new Map(),this[_0x9a9448(0x25a)]=new Map();const _0x16decd=this[_0x9a9448(0x26d)][_0x9a9448(0x1ff)];_0x16decd[_0x9a9448(0x275)](_0x9a9448(0x285),_0x2edf33),_0x16decd[_0x9a9448(0x275)](_0x9a9448(0x279),_0x5bb7e5),_0x16decd[_0x9a9448(0x275)](_0x9a9448(0x1f1),!0x1),this[_0x9a9448(0x253)]=_0x16decd[_0x9a9448(0x240)](_0x9a9448(0x1f1));}[_0x497b16(0x20e)](_0x5a658d,_0x5ac4ca){const _0x357f78=_0x497b16;0x0===this[_0x357f78(0x25a)][_0x357f78(0x1fc)]&&setTimeout(()=>{const _0x30ab1f=_0x357f78;for(const [_0x208842,_0x4a3364]of this[_0x30ab1f(0x25a)]){const _0x4efe7e=this[_0x30ab1f(0x1e0)][_0x30ab1f(0x22b)](_0x208842);_0x4efe7e||_0x4a3364?_0x4efe7e&&_0x4a3364&&this[_0x30ab1f(0x26a)](_0x208842):this[_0x30ab1f(0x1e2)](_0x208842);}this[_0x30ab1f(0x25a)][_0x30ab1f(0x1ee)](),this[_0x30ab1f(0x26d)][_0x30ab1f(0x20d)][_0x30ab1f(0x240)](_0x30ab1f(0x251))[_0x30ab1f(0x1f6)](),this[_0x30ab1f(0x27a)]();},0xa),this[_0x357f78(0x25a)][_0x357f78(0x24f)](_0x5a658d,_0x5ac4ca);}[_0x497b16(0x259)](){const _0x2f6eac=_0x497b16,_0x191a3a=this[_0x2f6eac(0x26d)],_0x5a8f38=_0x191a3a[_0x2f6eac(0x20d)][_0x2f6eac(0x240)](_0x2f6eac(0x237)),_0xc299db=_0x191a3a[_0x2f6eac(0x20d)][_0x2f6eac(0x240)](_0x2f6eac(0x25e)),_0x419f5f=_0x191a3a[_0x2f6eac(0x20d)][_0x2f6eac(0x240)](_0x2f6eac(0x251)),_0x4d5701=_0x191a3a[_0x2f6eac(0x20d)][_0x2f6eac(0x240)](_0x2f6eac(0x207));this[_0x2f6eac(0x1f4)](),_0x419f5f[_0x2f6eac(0x22d)](()=>{const _0xeb6d46=_0x2f6eac,_0x30e0d2=[];for(const [_0x1134ce,_0x3e826c]of Array[_0xeb6d46(0x28a)](this[_0xeb6d46(0x1e0)])){const _0x38ca45=_0x1134ce[_0xeb6d46(0x25b)](),_0x5729dc=[];for(const _0x289a18 of _0x38ca45){if(!_0x289a18[_0xeb6d46(0x281)])continue;if(_0x289a18[_0xeb6d46(0x202)]){_0x5729dc[_0xeb6d46(0x27e)](..._0x289a18[_0xeb6d46(0x1fb)]());continue;}const _0x216c4e=_0x289a18[_0xeb6d46(0x267)]();if(_0x5729dc[_0xeb6d46(0x27d)]>0x0){const _0x241238=_0x5729dc[0x0][_0xeb6d46(0x20b)](_0x216c4e);if(_0x241238){_0x5729dc[0x0]=_0x241238;continue;}}_0x5729dc[_0xeb6d46(0x27e)](_0x216c4e);}_0x30e0d2[_0xeb6d46(0x27e)]([_0x3e826c[_0xeb6d46(0x229)],_0x5729dc]);}return _0x30e0d2;}),this[_0x2f6eac(0x249)](_0x5a8f38,_0x2f6eac(0x219),(_0x240d18,_0x4341dd)=>{const _0x179156=_0x2f6eac;this[_0x179156(0x249)](_0x4341dd,_0x179156(0x1dc),(_0x57e4ea,_0x54881e,_0x3493b8,_0x109f84)=>{const _0x2e3a30=_0x179156;_0x4341dd[_0x2e3a30(0x281)]&&(null==_0x3493b8?(this[_0x2e3a30(0x1f3)](_0x109f84[_0x2e3a30(0x215)]),this[_0x2e3a30(0x20e)](_0x4341dd,!0x1)):(this[_0x2e3a30(0x1f3)](_0x3493b8[_0x2e3a30(0x215)]),null==_0x109f84&&this[_0x2e3a30(0x20e)](_0x4341dd,!0x0)));}),null!==_0x4341dd[_0x179156(0x230)]?this[_0x179156(0x1f3)](_0x4341dd[_0x179156(0x215)]):this[_0x179156(0x20e)](_0x4341dd,!0x1);}),this[_0x2f6eac(0x249)](_0x5a8f38,_0x2f6eac(0x231),(_0x227c57,_0x651ca,_0x3464fc)=>{const _0x133901=_0x2f6eac;this[_0x133901(0x200)](_0x651ca,_0x133901(0x1dc)),this[_0x133901(0x25a)][_0x133901(0x287)](_0x651ca),this[_0x133901(0x1e0)][_0x133901(0x22b)](_0x651ca)&&this[_0x133901(0x26a)](_0x651ca),_0x3464fc&&this[_0x133901(0x1f3)](_0x3464fc[_0x133901(0x215)]);}),this[_0x2f6eac(0x249)](_0x5a8f38,_0x2f6eac(0x1f2),(_0x2cfe6c,_0x5e5456)=>{const _0x35235c=_0x2f6eac;this[_0x35235c(0x1f3)](_0x5e5456);}),this[_0x2f6eac(0x249)](_0xc299db,_0x2f6eac(0x1fa),()=>{const _0x1cd63e=_0x2f6eac;this[_0x1cd63e(0x27a)]();}),this[_0x2f6eac(0x249)](_0x4d5701,_0x2f6eac(0x242),(_0x2e54ae,{threadId:_0x472f7d,isFromAdapter:_0x324dfb})=>{const _0x4e3cd8=_0x2f6eac;if(_0x324dfb||!_0x5a8f38[_0x4e3cd8(0x24d)](_0x472f7d))return;const _0x4b8dd4=_0x5a8f38[_0x4e3cd8(0x288)](_0x472f7d);this[_0x4e3cd8(0x1e0)][_0x4e3cd8(0x240)](_0x4b8dd4)[_0x4e3cd8(0x229)][_0x4e3cd8(0x232)][_0x4e3cd8(0x210)](-0x1);},{'priority':_0x2f6eac(0x220)}),this[_0x2f6eac(0x250)]=this[_0x2f6eac(0x26d)][_0x2f6eac(0x1ff)][_0x2f6eac(0x240)](_0x2f6eac(0x250));const _0x12635b=this[_0x2f6eac(0x26d)];this[_0x2f6eac(0x1e6)]=setInterval(()=>{const _0xe5f5bf=_0x2f6eac;let _0x4774cb;for(const _0x555a6d in _0x12635b){const _0x44614a=_0x555a6d,_0x4318b6=_0x12635b[_0x44614a];if(_0xe5f5bf(0x1e3)==_0x4318b6||_0xe5f5bf(0x24b)==_0x4318b6||_0xe5f5bf(0x241)==_0x4318b6||_0xe5f5bf(0x1de)==_0x4318b6||_0xe5f5bf(0x21f)==_0x4318b6||_0xe5f5bf(0x273)==_0x4318b6||_0xe5f5bf(0x26f)==_0x4318b6){delete _0x12635b[_0x44614a],_0x4774cb=_0x4318b6,clearInterval(this[_0xe5f5bf(0x1e6)]),this[_0xe5f5bf(0x1e6)]=void 0x0;break;}}_0xe5f5bf(0x24b)==_0x4774cb&&_0x12635b[_0xe5f5bf(0x204)](_0xe5f5bf(0x268)),_0xe5f5bf(0x241)==_0x4774cb&&_0x12635b[_0xe5f5bf(0x204)](_0xe5f5bf(0x212)),_0xe5f5bf(0x1de)==_0x4774cb&&_0x12635b[_0xe5f5bf(0x204)](_0xe5f5bf(0x1f7)),_0xe5f5bf(0x21f)==_0x4774cb&&_0x12635b[_0xe5f5bf(0x204)](_0xe5f5bf(0x22f),_0xe5f5bf(0x257)),_0xe5f5bf(0x273)==_0x4774cb&&_0x12635b[_0xe5f5bf(0x204)](_0xe5f5bf(0x24a)),_0xe5f5bf(0x26f)==_0x4774cb&&_0x12635b[_0xe5f5bf(0x204)](_0xe5f5bf(0x1f0));},0x3e8);}[_0x497b16(0x23d)](_0x3e93d2){const _0x523705=_0x497b16,_0x49cce3=this[_0x523705(0x1e0)][_0x523705(0x240)](_0x3e93d2);if(!_0x49cce3)return null;return this[_0x523705(0x26d)][_0x523705(0x20d)][_0x523705(0x240)](_0x523705(0x25e))[_0x523705(0x234)](_0x49cce3[_0x523705(0x229)])||null;}[_0x497b16(0x209)](_0x4e49ae){const _0x4f0e9c=_0x497b16,_0x3abb91=this[_0x4f0e9c(0x265)][_0x4f0e9c(0x240)](_0x4e49ae[_0x4f0e9c(0x284)]);return _0x3abb91?_0x3abb91[_0x4f0e9c(0x201)]:null;}[_0x497b16(0x27a)](){const _0x494675=_0x497b16,_0xe8eac0=this[_0x494675(0x26d)][_0x494675(0x20d)][_0x494675(0x240)](_0x494675(0x25e)),_0x468033=this[_0x494675(0x26d)][_0x494675(0x20d)][_0x494675(0x240)](_0x494675(0x237)),_0x28248d=Array[_0x494675(0x28a)](_0xe8eac0[_0x494675(0x264)],_0xf40011=>_0xf40011[_0x494675(0x284)])[_0x494675(0x211)](_0x676aa6=>this[_0x494675(0x265)][_0x494675(0x22b)](_0x676aa6)),_0x26d720=[];for(const _0x388359 of _0x28248d){const _0x470cc5=this[_0x494675(0x265)][_0x494675(0x240)](_0x388359)[_0x494675(0x201)][_0x494675(0x25b)]();_0x26d720[_0x494675(0x27e)](..._0x470cc5[_0x494675(0x223)]((_0x11fabb,_0x574ea5)=>[..._0x11fabb,..._0x574ea5[_0x494675(0x260)]()],[]));}_0x468033[_0x494675(0x277)]=_0x26d720;}[_0x497b16(0x1f4)](){const _0x64c8e2=_0x497b16,_0x59d074=this[_0x64c8e2(0x26d)],_0x3191eb=_0x59d074[_0x64c8e2(0x286)],_0x40c2b5=_0x30e17e(_0x3191eb,_0x64c8e2(0x1e5)),_0x4f2237=new _0xea02c4([{'type':_0x64c8e2(0x1e1),'model':new _0x418124({'withText':!0x0,'isToggleable':!0x0,'label':_0x40c2b5,'commandName':_0x64c8e2(0x26b),'role':_0x64c8e2(0x244)})},{'type':_0x64c8e2(0x226)},{'type':_0x64c8e2(0x1e7),'model':new _0x418124({'withText':!0x0,'label':_0x30e17e(_0x3191eb,_0x64c8e2(0x213)),'commandName':_0x64c8e2(0x282),'role':_0x64c8e2(0x1f5)})},{'type':_0x64c8e2(0x1e7),'model':new _0x418124({'withText':!0x0,'label':_0x30e17e(_0x3191eb,_0x64c8e2(0x21d)),'commandName':_0x64c8e2(0x26c),'role':_0x64c8e2(0x1f5)})},{'type':_0x64c8e2(0x1e7),'model':new _0x418124({'withText':!0x0,'label':_0x30e17e(_0x3191eb,_0x64c8e2(0x262)),'commandName':_0x64c8e2(0x203),'role':_0x64c8e2(0x1f5)})},{'type':_0x64c8e2(0x1e7),'model':new _0x418124({'withText':!0x0,'label':_0x30e17e(_0x3191eb,_0x64c8e2(0x27b)),'commandName':_0x64c8e2(0x25f),'role':_0x64c8e2(0x1f5)})}]);_0x59d074[_0x64c8e2(0x20d)][_0x64c8e2(0x22b)](_0x64c8e2(0x266))&&_0x4f2237[_0x64c8e2(0x1eb)]([{'type':_0x64c8e2(0x226)},{'type':_0x64c8e2(0x1e7),'model':new _0x418124({'withText':!0x0,'label':_0x30e17e(_0x3191eb,_0x64c8e2(0x205)),'commandName':_0x64c8e2(0x1e4),'role':_0x64c8e2(0x1f5)})}]);for(const _0x181985 of _0x4f2237)if(ke(_0x181985)){const _0x48ed3c=_0x59d074[_0x64c8e2(0x1e8)][_0x64c8e2(0x240)](_0x181985[_0x64c8e2(0x201)][_0x64c8e2(0x23b)]);_0x181985[_0x64c8e2(0x201)][_0x64c8e2(0x25d)](_0x64c8e2(0x1ec),_0x64c8e2(0x255))['to'](_0x48ed3c,_0x64c8e2(0x208),_0x64c8e2(0x255));}_0x59d074['ui'][_0x64c8e2(0x217)][_0x64c8e2(0x235)](_0x64c8e2(0x26b),_0x242c15=>this[_0x64c8e2(0x258)](_0x242c15,_0x4f2237,_0x40c2b5)),_0x59d074['ui'][_0x64c8e2(0x217)][_0x64c8e2(0x235)](_0x64c8e2(0x270),_0x2de6bd=>this[_0x64c8e2(0x21e)](_0x2de6bd,_0x4f2237,_0x40c2b5));}[_0x497b16(0x258)](_0x356ad1,_0x7ce01f,_0x523e63){const _0x23c8e9=_0x497b16,_0x5889c9=_0x140825(_0x356ad1,_0x33a812),_0x834fed=this[_0x23c8e9(0x26d)][_0x23c8e9(0x1e8)][_0x23c8e9(0x240)](_0x23c8e9(0x26b));_0x5889c9[_0x23c8e9(0x238)][_0x23c8e9(0x24f)]({'tooltip':_0x523e63,'label':_0x523e63,'icon':_0x4dfbe8}),_0x5889c9[_0x23c8e9(0x238)][_0x23c8e9(0x25d)](_0x23c8e9(0x1ec))['to'](_0x834fed,_0x23c8e9(0x208)),_0x5889c9[_0x23c8e9(0x238)]['on'](_0x23c8e9(0x1f8),()=>{const _0x2289a1=_0x23c8e9;_0x834fed[_0x2289a1(0x1f8)](),this[_0x2289a1(0x26d)][_0x2289a1(0x20c)][_0x2289a1(0x229)][_0x2289a1(0x210)]();}),_0x1520b(_0x5889c9,_0x7ce01f,{'role':_0x23c8e9(0x23f)});const _0x5f11f0=[];for(const _0x5c9c41 of _0x7ce01f)ke(_0x5c9c41)&&_0x5f11f0[_0x23c8e9(0x27e)](this[_0x23c8e9(0x26d)][_0x23c8e9(0x1e8)][_0x23c8e9(0x240)](_0x5c9c41[_0x23c8e9(0x201)][_0x23c8e9(0x23b)]));const _0x45b6f5=_0x5889c9[_0x23c8e9(0x238)];return _0x45b6f5[_0x23c8e9(0x1fd)][_0x23c8e9(0x236)](_0x23c8e9(0x255)),_0x45b6f5[_0x23c8e9(0x22a)][_0x23c8e9(0x236)](_0x23c8e9(0x255)),_0x45b6f5[_0x23c8e9(0x1fd)][_0x23c8e9(0x25d)](_0x23c8e9(0x255))['to'](_0x834fed,_0x23c8e9(0x255)),_0x45b6f5[_0x23c8e9(0x22a)][_0x23c8e9(0x25d)](_0x23c8e9(0x255))[_0x23c8e9(0x245)](_0x5f11f0,_0x23c8e9(0x255),(..._0x4287ab)=>_0x4287ab[_0x23c8e9(0x283)](_0x2b2d79=>_0x2b2d79)),_0x5889c9['on'](_0x23c8e9(0x1f8),_0x2e14ef=>{const _0x35f34a=_0x23c8e9;this[_0x35f34a(0x26d)][_0x35f34a(0x1f8)](_0x2e14ef[_0x35f34a(0x25c)][_0x35f34a(0x23b)]),this[_0x35f34a(0x26d)][_0x35f34a(0x20c)][_0x35f34a(0x229)][_0x35f34a(0x210)]();}),_0x5889c9;}[_0x497b16(0x21e)](_0x536dc7,_0x17f5c3,_0x343069){const _0x56c035=_0x497b16,_0x5a6c8e=new _0x223349(_0x536dc7),_0x101441=this[_0x56c035(0x26d)][_0x56c035(0x1e8)][_0x56c035(0x240)](_0x56c035(0x26b));_0x5a6c8e[_0x56c035(0x238)][_0x56c035(0x24f)]({'label':_0x343069,'icon':_0x4dfbe8});const _0xf9f45a=new _0x2fea49(_0x536dc7);for(const _0x306990 of _0x17f5c3){if(_0x56c035(0x226)==_0x306990[_0x56c035(0x22c)]){_0xf9f45a[_0x56c035(0x263)][_0x56c035(0x235)](new _0x48e9f1(_0x536dc7));continue;}const _0x137e52=new _0x1d03a1(_0x536dc7,_0x5a6c8e),_0xd2524b=new _0x19bf4f(_0x536dc7),_0x6015b1=_0x306990[_0x56c035(0x201)];_0xd2524b[_0x56c035(0x25d)](...Object[_0x56c035(0x247)](_0x6015b1))['to'](_0x6015b1),_0xd2524b[_0x56c035(0x221)](_0x56c035(0x1f8))['to'](_0x5a6c8e),_0xd2524b['on'](_0x56c035(0x1f8),()=>{const _0x3476a4=_0x56c035;this[_0x3476a4(0x26d)][_0x3476a4(0x1f8)](_0x6015b1[_0x3476a4(0x23b)]),this[_0x3476a4(0x26d)][_0x3476a4(0x20c)][_0x3476a4(0x229)][_0x3476a4(0x210)]();}),_0x137e52[_0x56c035(0x21c)][_0x56c035(0x235)](_0xd2524b),_0xf9f45a[_0x56c035(0x263)][_0x56c035(0x235)](_0x137e52);}return _0x5a6c8e[_0x56c035(0x25d)](_0x56c035(0x255))['to'](_0x101441,_0x56c035(0x255)),_0x5a6c8e[_0x56c035(0x216)][_0x56c035(0x21c)][_0x56c035(0x235)](_0xf9f45a),_0x5a6c8e;}[_0x497b16(0x1e2)](_0x15ff95){const _0x489456=_0x497b16,_0x479353=this[_0x489456(0x26d)],_0x3de2d5=_0x479353[_0x489456(0x1ff)],_0x1776a2=_0x479353[_0x489456(0x20d)][_0x489456(0x240)](_0x489456(0x25e)),_0x54e692=_0x479353[_0x489456(0x20d)][_0x489456(0x240)](_0x489456(0x207)),_0x4dc5ab=_0x479353[_0x489456(0x20d)][_0x489456(0x240)](_0x489456(0x251)),_0x532202=_0x479353[_0x489456(0x20d)][_0x489456(0x240)](_0x119f80)['me'],_0x491e26=_0x3de2d5[_0x489456(0x240)](_0x489456(0x26b))[_0x489456(0x24c)],_0x420a8f=_0x3de2d5[_0x489456(0x240)](_0x489456(0x26b))[_0x489456(0x272)],{CommentsListView:_0x2606c9,CommentThreadInputView:_0x1166af}=_0x479353[_0x489456(0x20d)][_0x489456(0x240)](_0x489456(0x246));let _0x4f6732,_0x1656d0,_0x3a3870;this[_0x489456(0x228)][_0x489456(0x22b)](_0x15ff95['id'])?(_0x1656d0=this[_0x489456(0x228)][_0x489456(0x240)](_0x15ff95['id']),_0x4f6732=_0x1656d0[_0x489456(0x254)]):(_0x4f6732=new _0x491e26(_0x479353[_0x489456(0x286)],_0x15ff95,_0x532202,{'disableComments':this[_0x489456(0x253)],'editorConfig':{..._0x3de2d5[_0x489456(0x240)](_0x489456(0x1ed)),'licenseKey':_0x3de2d5[_0x489456(0x240)](_0x489456(0x250))},'maxCommentsWhenCollapsed':_0x3de2d5[_0x489456(0x240)](_0x489456(0x28b)),'maxThreadTotalWeight':_0x3de2d5[_0x489456(0x240)](_0x489456(0x278)),'maxCommentCharsWhenCollapsed':_0x3de2d5[_0x489456(0x240)](_0x489456(0x1ea)),'formatDateTime':_0x39e072(_0x3de2d5[_0x489456(0x240)](_0x489456(0x286)),_0x479353[_0x489456(0x286)]),'CommentView':_0x3de2d5[_0x489456(0x240)](_0x489456(0x23e))[_0x489456(0x233)],'CommentsListView':_0x2606c9,'CommentThreadInputView':_0x1166af,'SuggestionView':_0x420a8f}),_0x4f6732[_0x489456(0x218)][_0x489456(0x23a)]['on'](_0x489456(0x1f8),()=>{const _0x1f84ce=_0x489456;_0x479353[_0x1f84ce(0x20c)][_0x1f84ce(0x229)][_0x1f84ce(0x210)]();}),_0x4f6732[_0x489456(0x218)][_0x489456(0x24e)]['on'](_0x489456(0x1f8),()=>{const _0x4f5855=_0x489456;_0x479353[_0x4f5855(0x20c)][_0x4f5855(0x229)][_0x4f5855(0x210)]();}),_0x1656d0=_0x1776a2[_0x489456(0x27c)](this[_0x489456(0x26d)][_0x489456(0x286)],_0x4f6732),_0x1656d0[_0x489456(0x25d)](_0x489456(0x222))['to'](_0x4f6732,_0x489456(0x222)),_0x1656d0[_0x489456(0x25d)](_0x489456(0x27d))['to'](_0x4f6732),_0x1656d0[_0x489456(0x25d)](_0x489456(0x22c))['to'](_0x4f6732,_0x489456(0x22c),_0x203ba8=>_0x489456(0x256)+_0x203ba8),_0x4f6732['on'](_0x489456(0x1f9),()=>{const _0x47f514=_0x489456;_0x3a3870[_0x47f514(0x26e)](_0x47f514(0x1f9));}),this[_0x489456(0x228)][_0x489456(0x24f)](_0x15ff95['id'],_0x1656d0));const _0x559096=_0x54e692[_0x489456(0x22e)](_0x15ff95[_0x489456(0x227)],_0x4f6732),_0xb861b7=new _0x17fdd7(_0x479353,_0x15ff95,_0x4f6732,_0x559096),_0x37d43c=_0x15ff95[_0x489456(0x25b)]()[_0x489456(0x211)](_0x5d4b20=>_0x5d4b20[_0x489456(0x281)]);_0x4f6732[_0x489456(0x225)]=_0x479353[_0x489456(0x20d)][_0x489456(0x240)](_0x489456(0x237))[_0x489456(0x1ef)][_0x489456(0x280)](_0x37d43c),this[_0x489456(0x1e0)][_0x489456(0x24f)](_0x15ff95,_0xb861b7),this[_0x489456(0x265)][_0x489456(0x24f)](_0x4f6732,_0xb861b7);const _0x1924d2=()=>{const _0x55cb8d=_0x489456,_0xd9fc33=[],_0x1db065=_0x15ff95[_0x55cb8d(0x25b)]()[_0x55cb8d(0x211)](_0x407996=>_0x407996[_0x55cb8d(0x281)]);for(const _0x321531 of _0x1db065)_0xd9fc33[_0x55cb8d(0x27e)](..._0x321531[_0x55cb8d(0x1e9)]());return _0x52e89d(_0x479353[_0x55cb8d(0x20c)],_0xd9fc33);};_0x3a3870=_0x1776a2[_0x489456(0x1dd)]({'view':_0x1656d0,'target':_0x1924d2,'type':()=>_0x489456(0x256)+_0xb861b7[_0x489456(0x229)][_0x489456(0x22c)],'isVisible':!!_0x1924d2()}),_0x54e692[_0x489456(0x248)](_0x4f6732,_0x3a3870),_0x1776a2[_0x489456(0x235)](_0x3a3870),_0x4dc5ab[_0x489456(0x20f)](_0x3a3870);}[_0x497b16(0x26a)](_0x1bf951){const _0x3875c1=_0x497b16,_0x1a8372=this[_0x3875c1(0x26d)][_0x3875c1(0x20d)][_0x3875c1(0x240)](_0x3875c1(0x207)),_0x1803ad=this[_0x3875c1(0x26d)][_0x3875c1(0x20d)][_0x3875c1(0x240)](_0x3875c1(0x25e)),_0x3b061f=this[_0x3875c1(0x1e0)][_0x3875c1(0x240)](_0x1bf951),_0x5b7763=_0x3b061f[_0x3875c1(0x229)],_0x23673d=_0x1803ad[_0x3875c1(0x234)](_0x5b7763);_0x1a8372[_0x3875c1(0x206)](_0x5b7763),_0x23673d&&_0x1803ad[_0x3875c1(0x271)](_0x23673d),this[_0x3875c1(0x1e0)][_0x3875c1(0x287)](_0x1bf951),this[_0x3875c1(0x265)][_0x3875c1(0x287)](_0x5b7763),_0x3b061f[_0x3875c1(0x252)]();}[_0x497b16(0x1f3)](_0x60faa){const _0x2d96c7=_0x497b16;if(!_0x60faa[_0x2d96c7(0x281)]||!this[_0x2d96c7(0x1e0)][_0x2d96c7(0x22b)](_0x60faa))return;const _0x2330d8=this[_0x2d96c7(0x26d)][_0x2d96c7(0x20d)][_0x2d96c7(0x240)](_0x2d96c7(0x237)),_0x13ff98=this[_0x2d96c7(0x1e0)][_0x2d96c7(0x240)](_0x60faa),_0x5da61d=_0x60faa[_0x2d96c7(0x25b)]();_0x13ff98[_0x2d96c7(0x229)][_0x2d96c7(0x225)]=_0x2330d8[_0x2d96c7(0x1ef)][_0x2d96c7(0x280)](_0x5da61d);}[_0x497b16(0x252)](){const _0x1bd07f=_0x497b16;for(const _0x4a3014 of this[_0x1bd07f(0x1e0)][_0x1bd07f(0x247)]())this[_0x1bd07f(0x26a)](_0x4a3014);for(const _0x3c2c02 of this[_0x1bd07f(0x228)][_0x1bd07f(0x269)]())_0x3c2c02[_0x1bd07f(0x254)][_0x1bd07f(0x252)]();super[_0x1bd07f(0x252)](),this[_0x1bd07f(0x1e6)]&&clearInterval(this[_0x1bd07f(0x1e6)]);}}function ke(_0x580e44){const _0x523651=_0x497b16;return _0x523651(0x201)in _0x580e44;}
|
|
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;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x3dc456=_0xfcf8;(function(_0x45b718,_0x3cfdb9){const _0x7b3003=_0xfcf8,_0x5d24ea=_0x45b718();while(!![]){try{const _0x275a4f=parseInt(_0x7b3003(0x11d))/0x1*(parseInt(_0x7b3003(0x118))/0x2)+-parseInt(_0x7b3003(0x127))/0x3*(parseInt(_0x7b3003(0x121))/0x4)+-parseInt(_0x7b3003(0x111))/0x5*(-parseInt(_0x7b3003(0x12f))/0x6)+-parseInt(_0x7b3003(0x11a))/0x7*(parseInt(_0x7b3003(0x114))/0x8)+-parseInt(_0x7b3003(0x130))/0x9+-parseInt(_0x7b3003(0x110))/0xa+-parseInt(_0x7b3003(0x119))/0xb*(-parseInt(_0x7b3003(0x113))/0xc);if(_0x275a4f===_0x3cfdb9)break;else _0x5d24ea['push'](_0x5d24ea['shift']());}catch(_0x398336){_0x5d24ea['push'](_0x5d24ea['shift']());}}}(_0x4c26,0xc8c95));function _0x4c26(){const _0x2044f1=['isEnabled','19568UfbTBy','unbind','_removePendingAction','plugins','_setPendingAction','get','78xUUVpf','change:isDirty','view','isDirty','add','stopListening','_pendingAction','model','2876730hclzju','14457618RHsbir','remove','commands','listenTo','_acceptCommand','acceptSuggestion','canDiscard','_editor','canAccept','PendingActions','execute','discardSuggestion','11587680seGLLC','5xBnQJL','bind','8388raVpvo','78080zvEerx','getRanges','canEditAt','commentThreadController','4caqWCW','36542sZdPpV','21AkYBBM','_discardCommand','PENDING_ACTION_SUGGESTION','471265PVyfak','destroy','locale'];_0x4c26=function(){return _0x2044f1;};return _0x4c26();}function _0xfcf8(_0x2e8921,_0x805484){const _0x4c2680=_0x4c26();return _0xfcf8=function(_0xfcf87,_0x257d61){_0xfcf87=_0xfcf87-0x10b;let _0x52d878=_0x4c2680[_0xfcf87];return _0x52d878;},_0xfcf8(_0x2e8921,_0x805484);}import{ObservableMixin as _0x286b41}from'ckeditor5/src/utils.js';import{getTranslation as _0xda08d9}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x286b41(){[_0x3dc456(0x12e)];[_0x3dc456(0x129)];[_0x3dc456(0x117)];[_0x3dc456(0x10b)];[_0x3dc456(0x134)];[_0x3dc456(0x11b)];[_0x3dc456(0x12d)];constructor(_0x1fef1b,_0x26c936,_0x59b1f9,_0x190ab7){const _0x286cd8=_0x3dc456;super(),this[_0x286cd8(0x12e)]=_0x26c936,this[_0x286cd8(0x129)]=_0x59b1f9,this[_0x286cd8(0x117)]=_0x190ab7,this[_0x286cd8(0x10b)]=_0x1fef1b,this[_0x286cd8(0x134)]=_0x1fef1b[_0x286cd8(0x132)][_0x286cd8(0x126)](_0x286cd8(0x135)),this[_0x286cd8(0x11b)]=_0x1fef1b[_0x286cd8(0x132)][_0x286cd8(0x126)](_0x286cd8(0x10f)),this[_0x286cd8(0x129)][_0x286cd8(0x112)](_0x286cd8(0x120))['to'](this[_0x286cd8(0x134)],this[_0x286cd8(0x11b)],(_0xffde4c,_0x5480be)=>_0xffde4c||_0x5480be),this[_0x286cd8(0x129)][_0x286cd8(0x112)](_0x286cd8(0x10c))['to'](this[_0x286cd8(0x134)],_0x286cd8(0x120),_0x10dff9=>_0x10dff9&&this[_0x286cd8(0x10b)][_0x286cd8(0x12e)][_0x286cd8(0x116)](_0x26c936[_0x286cd8(0x115)]())),this[_0x286cd8(0x129)][_0x286cd8(0x112)](_0x286cd8(0x136))['to'](this[_0x286cd8(0x11b)],_0x286cd8(0x120),_0x17e8b9=>_0x17e8b9&&this[_0x286cd8(0x10b)][_0x286cd8(0x12e)][_0x286cd8(0x116)](_0x26c936[_0x286cd8(0x115)]())),this[_0x286cd8(0x12d)]=null,_0x59b1f9[_0x286cd8(0x12a)]&&this[_0x286cd8(0x125)](),this[_0x286cd8(0x133)](_0x59b1f9,_0x286cd8(0x135),()=>this[_0x286cd8(0x135)]()),this[_0x286cd8(0x133)](_0x59b1f9,_0x286cd8(0x10f),()=>this[_0x286cd8(0x10f)]()),this[_0x286cd8(0x133)](_0x59b1f9,_0x286cd8(0x128),()=>{const _0x3c9203=_0x286cd8;_0x59b1f9[_0x3c9203(0x12a)]?this[_0x3c9203(0x125)]():this[_0x3c9203(0x123)]();});}[_0x3dc456(0x135)](){const _0x4b7260=_0x3dc456;this[_0x4b7260(0x134)][_0x4b7260(0x10e)](this[_0x4b7260(0x12e)]['id']);}[_0x3dc456(0x10f)](){const _0x6f4420=_0x3dc456;this[_0x6f4420(0x11b)][_0x6f4420(0x10e)](this[_0x6f4420(0x12e)]['id']);}[_0x3dc456(0x11e)](){const _0x3009ac=_0x3dc456;this[_0x3009ac(0x129)][_0x3009ac(0x122)](_0x3009ac(0x120)),this[_0x3009ac(0x129)][_0x3009ac(0x122)](_0x3009ac(0x10c)),this[_0x3009ac(0x129)][_0x3009ac(0x122)](_0x3009ac(0x136)),this[_0x3009ac(0x12c)](),this[_0x3009ac(0x117)][_0x3009ac(0x11e)](),this[_0x3009ac(0x12d)]&&this[_0x3009ac(0x123)]();}[_0x3dc456(0x125)](){const _0x403c2f=_0x3dc456,_0x2c273c=_0xda08d9(this[_0x403c2f(0x10b)][_0x403c2f(0x11f)],_0x403c2f(0x11c));this[_0x403c2f(0x12d)]=this[_0x403c2f(0x10b)][_0x403c2f(0x124)][_0x403c2f(0x126)](_0x403c2f(0x10d))[_0x403c2f(0x12b)](_0x2c273c);}[_0x3dc456(0x123)](){const _0x26fc70=_0x3dc456;null!==this[_0x26fc70(0x12d)]&&this[_0x26fc70(0x10b)][_0x26fc70(0x124)][_0x26fc70(0x126)](_0x26fc70(0x10d))[_0x26fc70(0x131)](this[_0x26fc70(0x12d)]),this[_0x26fc70(0x12d)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x308878=_0x4c97;(function(_0x40e346,_0x297d83){const _0x5ee02f=_0x4c97,_0x1f7590=_0x40e346();while(!![]){try{const _0x4198e3=-parseInt(_0x5ee02f(0x201))/0x1*(parseInt(_0x5ee02f(0x205))/0x2)+-parseInt(_0x5ee02f(0x1ec))/0x3*(-parseInt(_0x5ee02f(0x1d5))/0x4)+-parseInt(_0x5ee02f(0x1f7))/0x5*(-parseInt(_0x5ee02f(0x209))/0x6)+-parseInt(_0x5ee02f(0x1d1))/0x7*(-parseInt(_0x5ee02f(0x203))/0x8)+parseInt(_0x5ee02f(0x1e2))/0x9*(-parseInt(_0x5ee02f(0x1f9))/0xa)+parseInt(_0x5ee02f(0x1ce))/0xb+parseInt(_0x5ee02f(0x210))/0xc;if(_0x4198e3===_0x297d83)break;else _0x1f7590['push'](_0x1f7590['shift']());}catch(_0x12ce5c){_0x1f7590['push'](_0x1f7590['shift']());}}}(_0x5054,0xc33bb));import{FocusCycler as _0x3cc119,View as _0x830eb5,ViewCollection as _0x52904b}from'ckeditor5/src/ui.js';function _0x4c97(_0x26d098,_0x4343ea){const _0x505480=_0x5054();return _0x4c97=function(_0x4c97c6,_0x5f0117){_0x4c97c6=_0x4c97c6-0x1cb;let _0x2c7cb1=_0x505480[_0x4c97c6];return _0x2c7cb1;},_0x4c97(_0x26d098,_0x4343ea);}import{FocusTracker as _0x40af27,KeystrokeHandler as _0x1618f8}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3a7c5c,setupThreadKeyboardNavigation as _0x3a6e71}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x84a3b1}from'../../utils/common-translations.js';import{renderDescription as _0x468c61}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x830eb5{[_0x308878(0x20f)];[_0x308878(0x1d4)];[_0x308878(0x1cc)];[_0x308878(0x212)];[_0x308878(0x1ea)];[_0x308878(0x214)];[_0x308878(0x1fe)];[_0x308878(0x1da)];[_0x308878(0x1ff)];[_0x308878(0x1f0)];constructor(_0x59f243,_0x363565,_0x221fe1,_0x2c4e16){const _0xf6866e=_0x308878;super(_0x59f243),this[_0xf6866e(0x20f)]=null,this[_0xf6866e(0x1d4)]=null,this[_0xf6866e(0x1cc)]=new _0x3a7c5c(_0x59f243,_0x84a3b1(_0x59f243,_0xf6866e(0x1df))),this[_0xf6866e(0x1e9)](_0xf6866e(0x1cf),!0x1),this[_0xf6866e(0x1e9)](_0xf6866e(0x1d0),_0x363565[_0xf6866e(0x1d0)]),this[_0xf6866e(0x1f8)](_0xf6866e(0x1d0))['to'](_0x363565),this[_0xf6866e(0x1e9)](_0xf6866e(0x20c),[]),this[_0xf6866e(0x1e9)](_0xf6866e(0x1f3),!0x1),this[_0xf6866e(0x1e9)](_0xf6866e(0x1cd),!0x1),this[_0xf6866e(0x1e9)](_0xf6866e(0x202),!0x1),this[_0xf6866e(0x1e9)](_0xf6866e(0x1ed),!0x1),this[_0xf6866e(0x1f8)](_0xf6866e(0x1e8))['to'](this,_0xf6866e(0x1eb),_0x363565,_0xf6866e(0x1d0),this,_0xf6866e(0x20c),(_0x34acfe,_0x39e895,_0x243222)=>{const _0x3aaf03=_0xf6866e,_0x16bb6f=_0x243222[_0x3aaf03(0x1ef)](_0x4a0872=>_0x468c61(_0x4a0872[_0x3aaf03(0x1f1)]))[_0x3aaf03(0x1d6)]('.\x20')+'.';return _0x84a3b1(this[_0x3aaf03(0x1d2)],_0x3aaf03(0x1f6),[_0x34acfe-0x1,_0x363565[_0x3aaf03(0x1f2)][_0x3aaf03(0x1de)],_0x39e895?_0x2c4e16[_0x3aaf03(0x206)](_0x39e895):'',new DOMParser()[_0x3aaf03(0x215)](_0x16bb6f,_0x3aaf03(0x1e6))[_0x3aaf03(0x1d9)][_0x3aaf03(0x200)]]);}),this[_0xf6866e(0x212)]=new _0x52904b(),this[_0xf6866e(0x1ea)]=new _0x40af27(),this[_0xf6866e(0x214)]=new _0x1618f8(),this[_0xf6866e(0x1fe)]=new _0x3cc119({'focusables':this[_0xf6866e(0x212)],'focusTracker':this[_0xf6866e(0x1ea)],'keystrokeHandler':this[_0xf6866e(0x214)],'keystrokeHandlerOptions':{'filter':_0x3fb3b1=>_0x3fb3b1[_0xf6866e(0x211)]!==this[_0xf6866e(0x1e4)]},'actions':{'focusPrevious':_0xf6866e(0x20e),'focusNext':_0xf6866e(0x1d7)}}),this[_0xf6866e(0x1da)]=_0x363565,this[_0xf6866e(0x1ff)]=_0x221fe1,this[_0xf6866e(0x1f0)]=_0x2c4e16,_0x2c4e16[_0xf6866e(0x1d8)]?this[_0xf6866e(0x1e9)](_0xf6866e(0x1eb),0x1):this[_0xf6866e(0x1fb)]();}[_0x308878(0x213)](){const _0x47af2f=_0x308878;super[_0x47af2f(0x213)](),_0x3a6e71(this,this[_0x47af2f(0x212)]);}[_0x308878(0x1db)](){const _0x16623a=_0x308878;this[_0x16623a(0x1e4)][_0x16623a(0x1db)]();}[_0x308878(0x204)](){const _0x54c821=_0x308878;this[_0x54c821(0x20f)]&&this[_0x54c821(0x20f)][_0x54c821(0x204)](),this[_0x54c821(0x1d4)]&&this[_0x54c821(0x1d4)][_0x54c821(0x204)](),super[_0x54c821(0x204)]();}[_0x308878(0x1fb)](){const _0x225f8a=_0x308878,{CommentsListView:_0x3c14b1}=this[_0x225f8a(0x1f0)];this[_0x225f8a(0x20f)]=new _0x3c14b1(this[_0x225f8a(0x1d2)],this[_0x225f8a(0x1da)][_0x225f8a(0x1e3)],Object[_0x225f8a(0x1dc)]({'CommentView':this[_0x225f8a(0x1f0)][_0x225f8a(0x1d3)]},this[_0x225f8a(0x1f0)])),this[_0x225f8a(0x20f)][_0x225f8a(0x1e7)](_0x225f8a(0x20b))['to'](this),this[_0x225f8a(0x20f)][_0x225f8a(0x1e7)](_0x225f8a(0x20a))['to'](this),this[_0x225f8a(0x20f)][_0x225f8a(0x1f8)](_0x225f8a(0x1cf))['to'](this),this[_0x225f8a(0x1e9)](_0x225f8a(0x1eb),this[_0x225f8a(0x20f)][_0x225f8a(0x1eb)]+0x1),this[_0x225f8a(0x1f8)](_0x225f8a(0x1eb))['to'](this[_0x225f8a(0x20f)],_0x225f8a(0x1eb),_0x59dd0a=>_0x59dd0a+0x1),this[_0x225f8a(0x1d4)]=this[_0x225f8a(0x1fd)](),this['on'](_0x225f8a(0x20b),()=>this[_0x225f8a(0x1db)]()),this[_0x225f8a(0x1f8)](_0x225f8a(0x1f3))['to'](this[_0x225f8a(0x20f)],_0x225f8a(0x1ee),this[_0x225f8a(0x1d4)][_0x225f8a(0x1f4)],_0x225f8a(0x208),(_0x178a74,_0x568ea7)=>_0x178a74||!!_0x568ea7);}[_0x308878(0x1fd)](){const _0x56c1b8=_0x308878,{CommentThreadInputView:_0x4c02d7}=this[_0x56c1b8(0x1f0)],_0x2c68b2=new _0x4c02d7(this[_0x56c1b8(0x1d2)],this[_0x56c1b8(0x1ff)],this[_0x56c1b8(0x1f0)][_0x56c1b8(0x207)]),_0x4f252d=_0x2c68b2[_0x56c1b8(0x1f4)];return _0x2c68b2[_0x56c1b8(0x1f8)](_0x56c1b8(0x1e5))['to'](this,_0x56c1b8(0x1cf),this[_0x56c1b8(0x1da)][_0x56c1b8(0x1e3)],_0x56c1b8(0x1fa),_0x4f252d,_0x56c1b8(0x208),(_0x5c8df2,_0x2a842b,_0x177f5d)=>!!_0x177f5d||_0x5c8df2&&!_0x2a842b),_0x4f252d['on'](_0x56c1b8(0x1fc),(_0x255314,_0x227257)=>{const _0x424cd5=_0x56c1b8;this[_0x424cd5(0x1dd)](_0x424cd5(0x20d),_0x227257),_0x4f252d[_0x424cd5(0x1e1)][_0x424cd5(0x1e0)]('');}),_0x4f252d['on'](_0x56c1b8(0x1cb),()=>this[_0x56c1b8(0x1db)]()),_0x4f252d[_0x56c1b8(0x1f8)](_0x56c1b8(0x1f5))['to'](this[_0x56c1b8(0x1da)][_0x56c1b8(0x1e3)],_0x56c1b8(0x1fa)),_0x2c68b2;}}function _0x5054(){const _0x598b7a=['text/html','delegate','ariaLabel','set','focusTracker','length','27309iTHbcX','canDiscard','hasDirtyComment','map','_config','content','author','isDirty','commentInputView','disabledSubmit','SUGGESTION_THREAD_ARIA_LABEL','990YDmena','bind','30eERbyy','isReadOnly','_createCommentViews','submit','_createCommentThreadInputView','focusCycler','_localUser','textContent','7IaYKVU','canAccept','3188704YSdbNf','destroy','272252nZqaVR','formatDateTime','editorConfig','value','20964pyKWeE','updateComment','removeComment','descriptionParts','addComment','shift+tab','commentsListView','3743988rooAqH','target','focusables','render','keystrokes','parseFromString','cancel','ariaDescriptionView','isEnabled','5325628jTaCGD','isActive','authoredAt','7ZpSjri','locale','CommentView','commentThreadInputView','188IOicSN','join','tab','disableComments','body','_model','focus','assign','fire','name','SUGGESTION_THREAD_DESCRIPTION','setData','editor','1685493LZBhQS','commentThread','element','showInput'];_0x5054=function(){return _0x598b7a;};return _0x5054();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x211fbf=_0x4b13;(function(_0x5cfc68,_0x36ae30){const _0x328206=_0x4b13,_0x136a00=_0x5cfc68();while(!![]){try{const _0x3f11bd=-parseInt(_0x328206(0x162))/0x1+parseInt(_0x328206(0x15b))/0x2*(-parseInt(_0x328206(0x16e))/0x3)+-parseInt(_0x328206(0x16f))/0x4+parseInt(_0x328206(0x16a))/0x5*(-parseInt(_0x328206(0x187))/0x6)+parseInt(_0x328206(0x17e))/0x7*(parseInt(_0x328206(0x155))/0x8)+parseInt(_0x328206(0x161))/0x9+parseInt(_0x328206(0x178))/0xa;if(_0x3f11bd===_0x36ae30)break;else _0x136a00['push'](_0x136a00['shift']());}catch(_0xa6e4bf){_0x136a00['push'](_0x136a00['shift']());}}}(_0x33e3,0xe46c5));import{BaseSuggestionThreadView as _0x2d7170}from'./basesuggestionthreadview.js';import{trimHtml as _0x5349cc}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4b13(_0x2ac541,_0x45a355){const _0x33e338=_0x33e3();return _0x4b13=function(_0x4b138c,_0x1106a5){_0x4b138c=_0x4b138c-0x14f;let _0x455a50=_0x33e338[_0x4b138c];return _0x455a50;},_0x4b13(_0x2ac541,_0x45a355);}import{renderDescription as _0x106037}from'../../utils/utils.js';function _0x33e3(){const _0x494ae1=['editorDestroyed','div','acceptSuggestion','set','isEnabled','250435koQgGl','_model','author','</p>','10008ENEPjs','2020932vsnFrw','acceptButton','canDiscard','canAccept','ck-rounded-corners','content','listitem','commentsListView','push','37013900pqlebt','ck-suggestion-','commentThreadInputView','discardButton','editorReady','<p>','4795CAVmdk','color','delegate','type','SuggestionView','_config','ariaLabel','focusables','_descriptionElement','162UIOYZa','ck-suggestion-wrapper','descriptionParts','formatDateTime','commentThread','suggestionView','setTemplate','5752PCRkuk','description','bindTemplate','bind','isActive','disableComments','934XjcsWZ','ck-suggestion--disabled-comments','add','getTemplate','ck-suggestion-wrapper--active','discardSuggestion','8041941nrBytZ','736339fqzhno','ariaDescriptionView','render'];_0x33e3=function(){return _0x494ae1;};return _0x33e3();}export class SuggestionThreadView extends _0x2d7170{[_0x211fbf(0x153)];[_0x211fbf(0x186)];constructor(_0x57c73c,_0x83d379,_0x407006,_0x4ed337){const _0x356380=_0x211fbf;super(_0x57c73c,_0x83d379,_0x407006,_0x4ed337),this[_0x356380(0x168)](_0x356380(0x181),''),this[_0x356380(0x158)](_0x356380(0x181))['to'](this,_0x356380(0x150),_0x24463f=>_0x24463f&&_0x24463f[0x0]?_0x24463f[0x0][_0x356380(0x181)]:''),this[_0x356380(0x158)](_0x356380(0x156))['to'](this,_0x356380(0x150),this,_0x356380(0x159),(_0x1122c4,_0x545501)=>{const _0x36e464=_0x356380;let _0x563536='';for(const _0x5c8439 of _0x1122c4)_0x563536+=_0x36e464(0x17d)+_0x106037(_0x5c8439[_0x36e464(0x174)],_0x5c8439[_0x36e464(0x17f)])+_0x36e464(0x16d);return _0x545501?_0x563536:_0x5349cc(_0x563536,{'limit':0x8c});}),this[_0x356380(0x186)]=null,this[_0x356380(0x153)]=new _0x4ed337[(_0x356380(0x182))](_0x57c73c,_0x83d379,{'formatDateTime':_0x4ed337[_0x356380(0x151)]}),this[_0x356380(0x153)][_0x356380(0x158)](_0x356380(0x156))['to'](this),this[_0x356380(0x153)][_0x356380(0x180)](_0x356380(0x167),_0x356380(0x160))['to'](this),this[_0x356380(0x153)][_0x356380(0x170)][_0x356380(0x158)](_0x356380(0x169))['to'](this,_0x356380(0x172)),this[_0x356380(0x153)][_0x356380(0x17b)][_0x356380(0x158)](_0x356380(0x169))['to'](this,_0x356380(0x171)),this[_0x356380(0x185)][_0x356380(0x15d)](this[_0x356380(0x153)]),this[_0x356380(0x176)]&&this[_0x356380(0x185)][_0x356380(0x15d)](this[_0x356380(0x176)]),this[_0x356380(0x17a)]&&this[_0x356380(0x185)][_0x356380(0x15d)](this[_0x356380(0x17a)]),this[_0x356380(0x154)](this[_0x356380(0x15e)]());}[_0x211fbf(0x15e)](){const _0x5cf445=_0x211fbf,_0x435175=this[_0x5cf445(0x157)],_0x37ee11=[this[_0x5cf445(0x153)]];return this[_0x5cf445(0x176)]&&_0x37ee11[_0x5cf445(0x177)](this[_0x5cf445(0x176)]),this[_0x5cf445(0x17a)]&&_0x37ee11[_0x5cf445(0x177)](this[_0x5cf445(0x17a)]),_0x37ee11[_0x5cf445(0x177)](this[_0x5cf445(0x163)]),{'tag':_0x5cf445(0x166),'attributes':{'class':['ck',_0x5cf445(0x173),_0x5cf445(0x14f),_0x435175['if'](_0x5cf445(0x159),_0x5cf445(0x15f)),_0x435175['to'](_0x5cf445(0x181),_0x426d40=>_0x5cf445(0x179)+_0x426d40),this[_0x5cf445(0x183)][_0x5cf445(0x15a)]&&_0x5cf445(0x15c)],'data-suggestion-id':this[_0x5cf445(0x16b)]['id'],'data-thread-id':this[_0x5cf445(0x16b)][_0x5cf445(0x152)]['id'],'data-author-id':this[_0x5cf445(0x16b)][_0x5cf445(0x16c)]['id'],'tabindex':0x0,'role':_0x5cf445(0x175),'aria-label':_0x435175['to'](_0x5cf445(0x184)),'aria-describedby':this[_0x5cf445(0x163)]['id']},'children':_0x37ee11};}[_0x211fbf(0x164)](){const _0x2723bc=_0x211fbf;super[_0x2723bc(0x164)](),this[_0x2723bc(0x176)]&&(this[_0x2723bc(0x176)][_0x2723bc(0x180)](_0x2723bc(0x17c))['to'](this),this[_0x2723bc(0x176)][_0x2723bc(0x180)](_0x2723bc(0x165))['to'](this)),this[_0x2723bc(0x17a)]&&(this[_0x2723bc(0x17a)][_0x2723bc(0x180)](_0x2723bc(0x17c))['to'](this),this[_0x2723bc(0x17a)][_0x2723bc(0x180)](_0x2723bc(0x165))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x151c12=_0x297c;(function(_0x4b9fd0,_0x2f2c52){const _0x2a39d3=_0x297c,_0x4122a3=_0x4b9fd0();while(!![]){try{const _0x202e95=parseInt(_0x2a39d3(0x23d))/0x1*(parseInt(_0x2a39d3(0x1ec))/0x2)+-parseInt(_0x2a39d3(0x1f4))/0x3*(parseInt(_0x2a39d3(0x20a))/0x4)+-parseInt(_0x2a39d3(0x231))/0x5*(parseInt(_0x2a39d3(0x1ff))/0x6)+parseInt(_0x2a39d3(0x228))/0x7*(-parseInt(_0x2a39d3(0x238))/0x8)+-parseInt(_0x2a39d3(0x218))/0x9*(-parseInt(_0x2a39d3(0x208))/0xa)+parseInt(_0x2a39d3(0x219))/0xb+parseInt(_0x2a39d3(0x20e))/0xc*(parseInt(_0x2a39d3(0x22a))/0xd);if(_0x202e95===_0x2f2c52)break;else _0x4122a3['push'](_0x4122a3['shift']());}catch(_0x3ad2ef){_0x4122a3['push'](_0x4122a3['shift']());}}}(_0x5848,0x2015e));import{FocusTracker as _0x369539,KeystrokeHandler as _0x1d7daf}from'ckeditor5/src/utils.js';import{View as _0x2e9532,ViewCollection as _0x4d6e4f,FocusCycler as _0x1f0497}from'ckeditor5/src/ui.js';function _0x297c(_0x4d59d7,_0x53d9a7){const _0x584807=_0x5848();return _0x297c=function(_0x297c57,_0x2c6c57){_0x297c57=_0x297c57-0x1e7;let _0x4a743d=_0x584807[_0x297c57];return _0x4a743d;},_0x297c(_0x4d59d7,_0x53d9a7);}import{LateFocusButtonView as _0x26a2ee,UserView as _0x1e1c25}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x4b5806,IconCheck as _0x23542d}from'ckeditor5/src/icons.js';function _0x5848(){const _0x3f9419=['71211cLItls','userView','locale','change:description','ck-annotation__actions','setTemplate','keystrokes','span','ck-annotation__content-wrapper','fire','execute','14022tBdOIj','discardSuggestion','name','render','target','focusTracker','ck-annotation__user','presentation','@external','160TAYCju','author','4DJukgM','focusables','ck-suggestion__info-name','Accept\x20suggestion','12YhXvDm','attributes','ck-suggestion--discard','EXTERNAL_AVATAR','EXTERNAL_SUGGESTION','esc','_model','.ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_SUGGESTION','importWord','85122PINYEK','187814fAphOT','EXTERNAL_IMPORT_WORD_AVATAR','set','_createButton','acceptButton','push','focusCycler','ck-suggestion__main','ck-comment__info-time','discardButton','div','ck-annotation__info-time','element','isExternal','shift+tab','1177729LNscFi','ck-comment__external','4191343XZtiSx','innerHTML','_config','ck-suggestion__user','tab','authoredAt','getUserViewNotificationText','395bKWSUq','ck-suggestion__actions','extendTemplate','ck-annotation__info','enter','_setupKeyboardNavigation','description','8yANBGh','Discard\x20suggestion','formatDateTime','ck-suggestion','ck-annotation__main','4304utEkBu','getExternalSuggestionNote','ck-suggestion--accept','bind','querySelector','add','focusFirst','ck-annotation','ck-suggestion__info','bindTemplate','listenTo','8KRqqZo','ck-annotation__info-name','acceptSuggestion','focus','source','creator','getTemplate','time'];_0x5848=function(){return _0x3f9419;};return _0x5848();}import{getTranslation as _0x2895eb}from'../../utils/common-translations.js';export class SuggestionView extends _0x2e9532{[_0x151c12(0x1f5)];[_0x151c12(0x21d)];[_0x151c12(0x222)];[_0x151c12(0x20b)];[_0x151c12(0x204)];[_0x151c12(0x1fa)];[_0x151c12(0x21f)];[_0x151c12(0x214)];[_0x151c12(0x22c)];constructor(_0x4d192b,_0x427552,_0xbf5801){const _0x5dffa9=_0x151c12;super(_0x4d192b),this[_0x5dffa9(0x214)]=_0x427552,this[_0x5dffa9(0x22c)]=_0xbf5801,this[_0x5dffa9(0x21b)](_0x5dffa9(0x237),''),this[_0x5dffa9(0x240)](_0x5dffa9(0x22f))['to'](_0x427552),this[_0x5dffa9(0x21d)]=this[_0x5dffa9(0x21c)](_0x2895eb(_0x4d192b,_0x5dffa9(0x20d)),_0x23542d,_0x5dffa9(0x23f),_0x5dffa9(0x1ee),'sw'),this[_0x5dffa9(0x222)]=this[_0x5dffa9(0x21c)](_0x2895eb(_0x4d192b,_0x5dffa9(0x239)),_0x4b5806,_0x5dffa9(0x210),_0x5dffa9(0x200),'sw'),this[_0x5dffa9(0x1f5)]=new _0x1e1c25(_0x4d192b,_0x427552[_0x5dffa9(0x209)],this[_0x5dffa9(0x230)]()),this[_0x5dffa9(0x1f5)][_0x5dffa9(0x233)]({'attributes':{'class':[_0x5dffa9(0x22d),_0x5dffa9(0x205)],'aria-hidden':!0x0}}),this[_0x5dffa9(0x20b)]=new _0x4d6e4f([this[_0x5dffa9(0x21d)],this[_0x5dffa9(0x222)]]),this[_0x5dffa9(0x204)]=new _0x369539(),this[_0x5dffa9(0x1fa)]=new _0x1d7daf(),this[_0x5dffa9(0x21f)]=new _0x1f0497({'focusables':this[_0x5dffa9(0x20b)],'focusTracker':this[_0x5dffa9(0x204)],'keystrokeHandler':this[_0x5dffa9(0x1fa)],'actions':{'focusPrevious':_0x5dffa9(0x227),'focusNext':_0x5dffa9(0x22e)},'keystrokeHandlerOptions':{'filter':_0xc0ae1f=>_0xc0ae1f[_0x5dffa9(0x203)]!==this[_0x5dffa9(0x225)]}}),this[_0x5dffa9(0x1f9)](this[_0x5dffa9(0x1f2)]());}[_0x151c12(0x202)](){const _0x3638b3=_0x151c12;super[_0x3638b3(0x202)]();const _0x563f7c=this[_0x3638b3(0x225)][_0x3638b3(0x241)](_0x3638b3(0x215));_0x563f7c[_0x3638b3(0x22b)]=this[_0x3638b3(0x237)],this['on'](_0x3638b3(0x1f7),(_0x44dd92,_0x1b11c2,_0x20deae)=>{const _0xdf0fdd=_0x3638b3;_0x563f7c[_0xdf0fdd(0x22b)]=_0x20deae;}),this[_0x3638b3(0x236)]();}[_0x151c12(0x1f2)](){const _0x191e33=_0x151c12,_0x2276be=this[_0x191e33(0x1ea)],_0x34636f=[{'tag':_0x191e33(0x223),'attributes':{'class':[_0x191e33(0x1e9),_0x191e33(0x234)]},'children':[{'tag':_0x191e33(0x1fb),'children':[{'text':this[_0x191e33(0x1f5)][_0x191e33(0x201)]}],'attributes':{'class':[_0x191e33(0x20c),_0x191e33(0x1ed)],'data-cke-tooltip-text':this[_0x191e33(0x1f5)][_0x191e33(0x201)]}},{'tag':_0x191e33(0x1f3),'attributes':{'datetime':_0x2276be['to'](_0x191e33(0x22f)),'class':[_0x191e33(0x221),_0x191e33(0x224)]},'children':[{'text':_0x2276be['to'](_0x191e33(0x22f),_0x1196a6=>this[_0x191e33(0x22c)][_0x191e33(0x23a)](_0x1196a6))}]}]},{'tag':_0x191e33(0x223),'attributes':{'class':[_0x191e33(0x232),_0x191e33(0x1f8)]},'children':[this[_0x191e33(0x21d)],this[_0x191e33(0x222)]]},{'tag':_0x191e33(0x223),'attributes':{'class':[_0x191e33(0x1fc)]}}];return this[_0x191e33(0x214)][_0x191e33(0x226)]&&_0x34636f[_0x191e33(0x21e)]({'tag':_0x191e33(0x223),'attributes':{'class':[_0x191e33(0x229)]},'children':[{'text':this[_0x191e33(0x23e)]()}]}),{'tag':_0x191e33(0x223),'attributes':{'class':[_0x191e33(0x23b),_0x191e33(0x1e8)],'tabindex':-0x1},'children':[this[_0x191e33(0x1f5)],{'tag':_0x191e33(0x223),'attributes':{'class':[_0x191e33(0x220),_0x191e33(0x23c)],'role':_0x191e33(0x206)},'children':_0x34636f}]};}[_0x151c12(0x1ef)](){const _0x713b64=_0x151c12;this[_0x713b64(0x225)][_0x713b64(0x1ef)]();}[_0x151c12(0x230)](){const _0x11969d=_0x151c12;return this[_0x11969d(0x214)][_0x11969d(0x226)]?_0x11969d(0x217)===this[_0x11969d(0x214)][_0x11969d(0x20f)][_0x11969d(0x207)][_0x11969d(0x1f0)]?_0x2895eb(this[_0x11969d(0x1f6)],_0x11969d(0x21a),this[_0x11969d(0x214)][_0x11969d(0x1f1)][_0x11969d(0x201)]):_0x2895eb(this[_0x11969d(0x1f6)],_0x11969d(0x211),this[_0x11969d(0x214)][_0x11969d(0x1f1)][_0x11969d(0x201)]):null;}[_0x151c12(0x23e)](){const _0x46a4ff=_0x151c12;return _0x46a4ff(0x217)===this[_0x46a4ff(0x214)][_0x46a4ff(0x20f)][_0x46a4ff(0x207)][_0x46a4ff(0x1f0)]?_0x2895eb(this[_0x46a4ff(0x1f6)],_0x46a4ff(0x216)):_0x2895eb(this[_0x46a4ff(0x1f6)],_0x46a4ff(0x212));}[_0x151c12(0x21c)](_0x6a816b,_0x2580db,_0x460922,_0x1a6b45,_0x546edc){const _0x3a2d60=_0x151c12,_0x39d8c6=new _0x26a2ee(this[_0x3a2d60(0x1f6)]);return _0x39d8c6[_0x3a2d60(0x21b)]({'label':_0x6a816b,'icon':_0x2580db,'tooltip':!0x0,'tooltipPosition':_0x546edc}),_0x39d8c6[_0x3a2d60(0x233)]({'attributes':{'class':_0x460922}}),_0x39d8c6['on'](_0x3a2d60(0x1fe),()=>{const _0x1bd892=_0x3a2d60;this[_0x1bd892(0x1fd)](_0x1a6b45,this[_0x1bd892(0x214)]['id']);}),_0x39d8c6;}[_0x151c12(0x236)](){const _0x2a5192=_0x151c12,_0x133e31=this[_0x2a5192(0x225)];this[_0x2a5192(0x1fa)][_0x2a5192(0x1eb)](_0x133e31);for(const _0x2646ce of this[_0x2a5192(0x20b)])this[_0x2a5192(0x204)][_0x2a5192(0x242)](_0x2646ce[_0x2a5192(0x225)]),this[_0x2a5192(0x1fa)][_0x2a5192(0x1eb)](_0x2646ce[_0x2a5192(0x225)]);this[_0x2a5192(0x1fa)][_0x2a5192(0x21b)](_0x2a5192(0x235),(_0x551987,_0x19de16)=>{const _0x34edf6=_0x2a5192;_0x133e31===_0x551987[_0x34edf6(0x203)]&&(this[_0x34edf6(0x21f)][_0x34edf6(0x1e7)](),_0x19de16());}),this[_0x2a5192(0x1fa)][_0x2a5192(0x21b)](_0x2a5192(0x213),(_0x155399,_0xb94b70)=>{const _0x2d8193=_0x2a5192;_0x133e31!==_0x155399[_0x2d8193(0x203)]&&(this[_0x2d8193(0x1ef)](),_0xb94b70());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x47dd(_0x434fd4,_0x545a83){const _0x7b37b9=_0x7b37();return _0x47dd=function(_0x47dd99,_0x1f5805){_0x47dd99=_0x47dd99-0x12d;let _0x2869e9=_0x7b37b9[_0x47dd99];return _0x2869e9;},_0x47dd(_0x434fd4,_0x545a83);}const _0x3c0767=_0x47dd;function _0x7b37(){const _0x1dd7aa=['\x20ck-track-changes-preview__root-container','style','render','previewDataReady','options','2JJDjDZ','1244871ksNGcm','classes','setTemplate','content','8983280XOZAml','setAttribute','ck-reset','setPreviewData','ck-track-changes-preview','data-ck-root-name','element','2653752vUdLjj','220HEevkP','1552020uzouzr','height','4207042RzVeka','innerHTML','width','createElement','div','focus','dialogRects','push','fire','91236RSIOys','className','190wGjeGR','637541XToWdj'];_0x7b37=function(){return _0x1dd7aa;};return _0x7b37();}(function(_0x6d2a41,_0x2c30b6){const _0x3a3ff0=_0x47dd,_0x58a96c=_0x6d2a41();while(!![]){try{const _0x475dca=parseInt(_0x3a3ff0(0x146))/0x1*(-parseInt(_0x3a3ff0(0x14c))/0x2)+-parseInt(_0x3a3ff0(0x136))/0x3+-parseInt(_0x3a3ff0(0x143))/0x4*(-parseInt(_0x3a3ff0(0x145))/0x5)+parseInt(_0x3a3ff0(0x138))/0x6+-parseInt(_0x3a3ff0(0x13a))/0x7+-parseInt(_0x3a3ff0(0x12f))/0x8+parseInt(_0x3a3ff0(0x14d))/0x9*(parseInt(_0x3a3ff0(0x137))/0xa);if(_0x475dca===_0x2c30b6)break;else _0x58a96c['push'](_0x58a96c['shift']());}catch(_0x5cf5c6){_0x58a96c['push'](_0x58a96c['shift']());}}}(_0x7b37,0xe1315));import{View as _0x54dc9e}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x54dc9e{[_0x3c0767(0x14b)];constructor(_0xa71d2d,_0x24fce4){const _0x34f598=_0x3c0767;super(_0xa71d2d),this[_0x34f598(0x14b)]=_0x24fce4,this[_0x34f598(0x12d)]({'tag':_0x34f598(0x13e),'attributes':{'class':['ck',_0x34f598(0x131),_0x34f598(0x133)],'tabindex':-0x1}});}[_0x3c0767(0x149)](){const _0x23ae89=_0x3c0767;super[_0x23ae89(0x149)](),this[_0x23ae89(0x135)][_0x23ae89(0x148)][_0x23ae89(0x13c)]=this[_0x23ae89(0x14b)][_0x23ae89(0x140)][_0x23ae89(0x13c)]+'px',this[_0x23ae89(0x135)][_0x23ae89(0x148)][_0x23ae89(0x139)]=this[_0x23ae89(0x14b)][_0x23ae89(0x140)][_0x23ae89(0x139)]+'px';}[_0x3c0767(0x132)](_0x4d2b4f,_0xe7fc6c){const _0x14d697=_0x3c0767;if(!this[_0x14d697(0x135)])return;const _0x41d18b=[];for(const [_0x4b9623,_0x2359ca]of _0x4d2b4f){const _0x3f0b5b=document[_0x14d697(0x13d)](_0x14d697(0x13e));_0x3f0b5b[_0x14d697(0x130)](_0x14d697(0x134),_0x4b9623),_0x3f0b5b[_0x14d697(0x144)]=_0x2359ca[_0x14d697(0x14e)]+_0x14d697(0x147),_0x3f0b5b[_0x14d697(0x13b)]=_0x2359ca[_0x14d697(0x12e)],_0x41d18b[_0x14d697(0x141)](_0x3f0b5b);}_0xe7fc6c(this[_0x14d697(0x135)],_0x41d18b),this[_0x14d697(0x135)][_0x14d697(0x148)][_0x14d697(0x139)]='',this[_0x14d697(0x142)](_0x14d697(0x14a));}[_0x3c0767(0x13f)](){const _0x52513d=_0x3c0767;this[_0x52513d(0x135)][_0x52513d(0x13f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x562169,_0x1b58e4,_0x364404){const _0x5bd505=_0x562169['t'],t=_0x562169['t'];switch(_0x1b58e4){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',_0x364404);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x364404);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x364404);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x364404);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x364404);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',_0x364404);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x364404);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',_0x364404);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x364404);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x364404);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x364404);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x364404);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x364404);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x364404);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x364404);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x364404);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x364404);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x364404);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x364404);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x364404);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x364404);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x364404);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x364404);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x364404);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x364404);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'},_0x364404);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x364404);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x364404);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x364404);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x364404);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x364404);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x364404);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x364404);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'},_0x364404);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x364404);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x364404);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x364404);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x364404);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'},_0x364404);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x364404);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'},_0x364404);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'},_0x364404);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x364404);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'},_0x364404);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x364404);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'},_0x364404);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x364404);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x364404);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x364404);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x364404);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x364404);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'},_0x364404);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x364404);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 _0x5bd505({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x364404);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5bd505({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x364404);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x364404);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'},_0x364404);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'},_0x364404);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'},_0x364404);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1b58e4;}}
|
|
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;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5e5598,_0x22e0fc){const _0x497458=_0x1763,_0x5bc826=_0x5e5598();while(!![]){try{const _0x4c5954=parseInt(_0x497458(0xae))/0x1+-parseInt(_0x497458(0x91))/0x2+parseInt(_0x497458(0xaa))/0x3*(parseInt(_0x497458(0x89))/0x4)+parseInt(_0x497458(0x9d))/0x5+parseInt(_0x497458(0x85))/0x6*(parseInt(_0x497458(0x86))/0x7)+parseInt(_0x497458(0x9b))/0x8*(parseInt(_0x497458(0x99))/0x9)+parseInt(_0x497458(0x9c))/0xa*(-parseInt(_0x497458(0xaf))/0xb);if(_0x4c5954===_0x22e0fc)break;else _0x5bc826['push'](_0x5bc826['shift']());}catch(_0x445a37){_0x5bc826['push'](_0x5bc826['shift']());}}}(_0x445a,0x20078));export function normalizeDescription(_0x540370){const _0x527d02=_0x1763;return Array[_0x527d02(0xa7)](_0x540370)||(_0x540370=[_0x540370]),_0x540370[_0x527d02(0x9e)](_0xfa3469=>{const _0x4e312a=_0x527d02,_0x565ab3=_0xfa3469[_0x4e312a(0xa9)][_0x4e312a(0xa2)](/\*/g,''),_0x3b5c91=_0xfa3469[_0x4e312a(0xad)]?_0x4e312a(0xac)+_0xfa3469[_0x4e312a(0xad)][_0x4e312a(0x92)]+']':'';return'['+_0xfa3469[_0x4e312a(0xa0)]+']\x20'+_0x565ab3+_0x3b5c91;})[_0x527d02(0xb8)](';\x20');}export function renderDescription(_0x3b620c,_0x5925ad){const _0x45e79e=_0x1763;let _0x898c5b='';return _0x898c5b+=_0x3b620c[_0x45e79e(0xb2)]('*')[_0x45e79e(0x9e)]((_0x52d9f5,_0x32ee16)=>_0x32ee16%0x2!=0x0?_0x45e79e(0x90)+rn(_0x52d9f5)+_0x45e79e(0x8e):rn(_0x52d9f5))[_0x45e79e(0xb8)](''),_0x5925ad&&(_0x898c5b+=_0x45e79e(0x9a)+_0x5925ad[_0x45e79e(0x92)]+_0x45e79e(0x94)+_0x5925ad[_0x45e79e(0xa6)]+_0x45e79e(0xb9)),_0x898c5b;}function _0x445a(){const _0x16a21f=['284lJHcVe','span','isObject','attribute','createPositionAfter','</span>','start','<span\x20class=\x22ck-suggestion-type\x22>','226588qNKDPR','value','isCollapsed','\x22\x20title=\x22','isIntersecting','deletion','innerText','change','1683ttkVnM','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','11080MKytsu','5015130XoRMdN','901530iPpSSW','map','execute','type','sort','replace','from','end','createPositionBefore','title','isArray','createRange','content','4512oECnwl','push','\x20[color\x20','color','24000ndbXjN','11SoLuPL','next','add','split','length','innerHTML','splice','getRanges','isInContent','join','\x22></span>','isTouching','schema','createElement','18tzmTLH','410466EEgubx','isMultiRange','createPositionAt'];_0x445a=function(){return _0x16a21f;};return _0x445a();}function _0x1763(_0x119af6,_0x2e365a){const _0x445a3b=_0x445a();return _0x1763=function(_0x1763f8,_0x2699b5){_0x1763f8=_0x1763f8-0x82;let _0x153e91=_0x445a3b[_0x1763f8];return _0x153e91;},_0x1763(_0x119af6,_0x2e365a);}function rn(_0x159ade){const _0x5c0433=_0x1763,_0xe0757f=document[_0x5c0433(0x84)](_0x5c0433(0x8a));return _0xe0757f[_0x5c0433(0x97)]=_0x159ade,_0xe0757f[_0x5c0433(0xb4)];}export function sortSuggestions(_0x2ffebe){const _0x43f23c=_0x1763;return _0x2ffebe[_0x43f23c(0xa1)]((_0x9c6950,_0x1273ec)=>_0x43f23c(0x8c)===_0x9c6950[_0x43f23c(0xa0)]&&_0x43f23c(0x8c)!==_0x1273ec[_0x43f23c(0xa0)]?-0x1:_0x43f23c(0x8c)!==_0x9c6950[_0x43f23c(0xa0)]&&_0x43f23c(0x8c)===_0x1273ec[_0x43f23c(0xa0)]?0x1:_0x43f23c(0x96)==_0x9c6950[_0x43f23c(0xa0)]&&_0x43f23c(0x96)!=_0x1273ec[_0x43f23c(0xa0)]?-0x1:_0x43f23c(0x96)!=_0x9c6950[_0x43f23c(0xa0)]&&_0x43f23c(0x96)==_0x1273ec[_0x43f23c(0xa0)]?0x1:0x0);}export function getSelectedSuggestions(_0xad7c12,_0x51a658){const _0x180f11=_0x1763,_0xd86c9e=Array[_0x180f11(0xa3)](_0xad7c12[_0x180f11(0xb6)]()),_0x1d7b5a=new Set();for(const _0x1aba86 of _0x51a658)if(_0x1aba86[_0x180f11(0xb7)]){for(const _0x209995 of _0xd86c9e)for(const _0x4a5c69 of _0x1aba86[_0x180f11(0xb6)]())(_0x209995[_0x180f11(0x95)](_0x4a5c69)||_0xad7c12[_0x180f11(0x93)]&&!_0x1aba86[_0x180f11(0x87)]&&_0x1aba86[_0x180f11(0xb0)]&&_0x4a5c69[_0x180f11(0xa4)][_0x180f11(0x82)](_0x209995[_0x180f11(0x8f)]))&&_0x1d7b5a[_0x180f11(0xb1)](_0x1aba86);}return _0x1d7b5a;}export function getRangesOfBlockGroups(_0x34f050,_0x5f37ad){const _0x5cab32=_0x1763;let _0x2aabf7,_0x21a5f3=0x0;const _0x386c50=[],_0x11ba9c=_0x5f37ad[_0x5cab32(0x83)];for(;_0x21a5f3<_0x34f050[_0x5cab32(0xb3)];){const _0x4459e0=_0x34f050[_0x21a5f3],_0x2104f2=_0x34f050[_0x21a5f3+0x1];_0x2aabf7||(_0x2aabf7=_0x5f37ad[_0x5cab32(0xa5)](_0x4459e0)),cn(_0x5f37ad,_0x4459e0,_0x2104f2)||(_0x386c50[_0x5cab32(0xab)](_0x5f37ad[_0x5cab32(0xa8)](_0x2aabf7,_0x11ba9c[_0x5cab32(0x8b)](_0x4459e0)?_0x5f37ad[_0x5cab32(0x8d)](_0x4459e0):_0x5f37ad[_0x5cab32(0x88)](_0x4459e0,_0x5cab32(0xa4)))),_0x2aabf7=null),_0x21a5f3++;}return _0x386c50;}function cn(_0x3d3d7,_0x48e657,_0x41b179){const _0x3e771b=_0x1763;if(!_0x41b179)return!0x1;const _0x557d23=_0x3d3d7[_0x3e771b(0x8d)](_0x48e657),_0x4ee00e=_0x3d3d7[_0x3e771b(0xa5)](_0x41b179);return _0x557d23[_0x3e771b(0x82)](_0x4ee00e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x23bcc2,_0xeab4f1,_0x5c96c9){const _0x37ffa7=_0x1763;for(;_0x5c96c9[_0x37ffa7(0xb3)];){const _0x14e236=_0x5c96c9[_0x37ffa7(0xb5)](0x0,0x64);_0x23bcc2[_0x37ffa7(0x98)](()=>{const _0x5f4009=_0x37ffa7;for(const _0x3c127f of _0x14e236)_0x3c127f[_0x5f4009(0xb7)]&&_0xeab4f1[_0x5f4009(0x9f)](_0x3c127f['id']);});}}
|