@ckeditor/ckeditor5-track-changes 47.0.0-alpha.8 → 47.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/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/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5b47(){const _0x3893b0=['isOfficialPlugin','4284qhsNJH','isPremiumPlugin','requires','175855XCIHcY','502YjNvhq','config','8625287YEDbIy','7jLlAUP','pluginName','1030PPTFWV','1647MJNqRu','commands','add','appendChild','52nuPmDb','trackChanges.preview.renderFunction','TrackChangesPreview','define','previewFinalContent','2898384WMQwLA','900246ioNytD','32640qYsKCX','editor'];_0x5b47=function(){return _0x3893b0;};return _0x5b47();}const _0x4abc12=_0x22cf;(function(_0x356b7e,_0x255064){const _0x5a6e5e=_0x22cf,_0x34b412=_0x356b7e();while(!![]){try{const _0x286ce9=-parseInt(_0x5a6e5e(0x1dc))/0x1*(-parseInt(_0x5a6e5e(0x1d6))/0x2)+-parseInt(_0x5a6e5e(0x1e7))/0x3+-parseInt(_0x5a6e5e(0x1e0))/0x4*(-parseInt(_0x5a6e5e(0x1d5))/0x5)+parseInt(_0x5a6e5e(0x1e6))/0x6*(-parseInt(_0x5a6e5e(0x1d9))/0x7)+parseInt(_0x5a6e5e(0x1e5))/0x8+parseInt(_0x5a6e5e(0x1ea))/0x9*(-parseInt(_0x5a6e5e(0x1db))/0xa)+-parseInt(_0x5a6e5e(0x1d8))/0xb;if(_0x286ce9===_0x255064)break;else _0x34b412['push'](_0x34b412['shift']());}catch(_0x4a0cdd){_0x34b412['push'](_0x34b412['shift']());}}}(_0x5b47,0x3a504));function _0x22cf(_0x346c98,_0x4e6489){const _0x5b4770=_0x5b47();return _0x22cf=function(_0x22cf10,_0x23d669){_0x22cf10=_0x22cf10-0x1d4;let _0x1f4530=_0x5b4770[_0x22cf10];return _0x1f4530;},_0x22cf(_0x346c98,_0x4e6489);}import{Plugin as _0x28ac38}from'ckeditor5/src/core.js';import{Dialog as _0x4f7133}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x332fd3}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x59961a}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x28ac38{static get[_0x4abc12(0x1d4)](){return[_0x332fd3,_0x4f7133];}static get[_0x4abc12(0x1da)](){const _0x41c10d=_0x4abc12;return _0x41c10d(0x1e2);}static get[_0x4abc12(0x1e9)](){return!0x0;}static get[_0x4abc12(0x1eb)](){return!0x0;}constructor(_0x48c731){const _0x6a3b2e=_0x4abc12;super(_0x48c731),_0x48c731[_0x6a3b2e(0x1dd)][_0x6a3b2e(0x1de)](_0x6a3b2e(0x1e4),new _0x59961a(this[_0x6a3b2e(0x1e8)])),_0x48c731[_0x6a3b2e(0x1d7)][_0x6a3b2e(0x1e3)](_0x6a3b2e(0x1e1),(_0x23ee02,_0x46bc5e)=>{const _0x33302c=_0x6a3b2e;for(const _0x84bbf9 of _0x46bc5e)_0x23ee02[_0x33302c(0x1df)](_0x84bbf9);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2602(){const _0x46d886=['suggestionUnloaded','unbind','getJoined','config','activeAnnotations','innerView','_destroyController','panelView','editing','commentsListView','_handleSuggestionControllerDelayed','view','TrackChangesEditing','toMany','has','refreshSelectedViews','trackChangesLicenseKeyTrialLimit','get','comments.maxThreadTotalWeight','94177ZlUWUW','children','createCommentThreadController','commands','descriptionParts','size','hasSuggestion','isEnabled','141944BLMVsP','Track\x20changes','_updateController','previous','TrackChangesUI','suggestion-','domainLimit','licenseKey','filter','some','source','commandName','previewFinalContent','trackChangesLicenseKeyExpired','bind','isInContent','delete','model','trialLimit','trackChanges.SuggestionThreadView','getMarkers','switchbutton','Preview\x20final\x20content','addMany','trackChangesLicenseKeyNotAllowed','reduce','1720642gtWFML','plugins','head','trackChangesLicenseKeyDomainLimit','_suggestionToController','_disableComments','usageLimit','TrackChanges','673057rrllGa','comments.maxCommentCharsWhenCollapsed','addSourceCollector','discardAllSuggestions','pluginName','CommentsRepository','button','CommentsUI','addComment','getDescriptions','value','add','execute','SuggestionThreadView','EditorAnnotations','_initializeController','Annotations','registerAnnotation','Accept\x20all\x20suggestions','SuggestionView','commentThread','isOn','buttonView','trackChangesLicenseKeyEvaluationLimit','remove','2yDkGHS','getSuggestionForAnnotation','fire','trackChanges.SuggestionView','activeMarkers','descriptionFactory','getSuggestion','comments.maxCommentsWhenCollapsed','isMultiRange','length','actionView','getFirstRange','discardSelectedSuggestions','16MmEddW','trackChangesLicenseKeyUsageLimit','editor','separator','acceptAllSuggestions','escape','_addUIComponentsToFactory','_showLicenseError','listenTo','destroy','suggestionLoaded','type','_annotationViews','set','define','isDirty','_viewToController','_handleControllerBuffer','stopListening','isOfficialPlugin','locale','clear','CommentView','createAnnotationView','72KktVGd','30FKeOhg','mainView','evaluationLimit','invalid','isPremiumPlugin','delegate','getAnnotationForSuggestion','comments.editorConfig','push','63695xrUakJ','menuBar:trackChanges','menuitem','_createMenuBarMenu','TrackChangesPreview','getRanges','items','comments','getMarkerNames','arrowView','keys','suggestionChanged','trackChangesLicenseKeyValid','componentFactory','_bindAnnotationToEditors','_unbindEditors','requires','createAnnotation','values','focus','menu','_createToolbarButton','Discard\x20all\x20selected\x20suggestions','featureNotAllowed','lowest','acceptSelectedSuggestions','trackChanges.disableComments','1692063BrdBfG','expired','menuitemcheckbox','getByInnerView','759590ufeaUx','from','init','discardButton','change:previous','change:activeAnnotations','Discard\x20all\x20suggestions','getAllAdjacentSuggestions','Accept\x20all\x20selected\x20suggestions','trackChanges','acceptButton','_refreshActiveMarkers','suggestionView','_licenseKeyCheckInterval','trackChangesLicenseKeyInvalid'];_0x2602=function(){return _0x46d886;};return _0x2602();}const _0x4cf9b4=_0x4ae6;(function(_0x567bba,_0x56028f){const _0x58ff79=_0x4ae6,_0xaad292=_0x567bba();while(!![]){try{const _0x3301fb=parseInt(_0x58ff79(0xd8))/0x1*(-parseInt(_0x58ff79(0x11b))/0x2)+parseInt(_0x58ff79(0x141))/0x3*(parseInt(_0x58ff79(0xe0))/0x4)+parseInt(_0x58ff79(0x14a))/0x5*(parseInt(_0x58ff79(0x140))/0x6)+-parseInt(_0x58ff79(0x102))/0x7*(-parseInt(_0x58ff79(0x128))/0x8)+-parseInt(_0x58ff79(0x165))/0x9+-parseInt(_0x58ff79(0x169))/0xa+-parseInt(_0x58ff79(0xfa))/0xb;if(_0x3301fb===_0x56028f)break;else _0xaad292['push'](_0xaad292['shift']());}catch(_0x2d3000){_0xaad292['push'](_0xaad292['shift']());}}}(_0x2602,0x2d479));import{Plugin as _0x2d2158}from'ckeditor5/src/core.js';import{Collection as _0xbc1fbe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x18b787}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xd5f40f,createDropdown as _0x58bee7,ListSeparatorView as _0x166196,MenuBarMenuView as _0x1a4f76,MenuBarMenuListView as _0x1bc7d6,MenuBarMenuListItemView as _0x37e017,MenuBarMenuListItemButtonView as _0x278fde,SplitButtonView as _0x32075b,UIModel as _0x56ddcc}from'ckeditor5/src/ui.js';import{Users as _0x364245,getDateTimeFormatter as _0x1d2925,getAllMarkersDomElementsSorted as _0x4d831a}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x9ca33}from'./trackchangesediting.js';import{SuggestionController as _0x3966c4}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5ce84c}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x420b44}from'./ui/view/suggestionview.js';import{getTranslation as _0x23e6a8}from'./utils/common-translations.js';function _0x4ae6(_0x4f4615,_0x386152){const _0x260229=_0x2602();return _0x4ae6=function(_0x4ae67b,_0x53b601){_0x4ae67b=_0x4ae67b-0xba;let _0x41b231=_0x260229[_0x4ae67b];return _0x41b231;},_0x4ae6(_0x4f4615,_0x386152);}export class TrackChangesUI extends _0x2d2158{[_0x4cf9b4(0xe7)];[_0x4cf9b4(0xc3)];[_0x4cf9b4(0xfe)];[_0x4cf9b4(0x138)];[_0x4cf9b4(0x134)];[_0x4cf9b4(0x139)];[_0x4cf9b4(0xff)];static get[_0x4cf9b4(0x15a)](){const _0x4ccbae=_0x4cf9b4;return[_0x9ca33,_0x364245,_0x4ccbae(0x107),_0x4ccbae(0x112),_0x4ccbae(0x110)];}static get[_0x4cf9b4(0x106)](){const _0x4091ac=_0x4cf9b4;return _0x4091ac(0xe4);}static get[_0x4cf9b4(0x13b)](){return!0x0;}static get[_0x4cf9b4(0x145)](){return!0x0;}constructor(_0x3faa37){const _0x1a376d=_0x4cf9b4;super(_0x3faa37),this[_0x1a376d(0xfe)]=new Map(),this[_0x1a376d(0x138)]=new Map(),this[_0x1a376d(0x134)]=new Map(),this[_0x1a376d(0x139)]=new Map();const _0xed4653=this[_0x1a376d(0x12a)][_0x1a376d(0xc8)];_0xed4653[_0x1a376d(0x136)](_0x1a376d(0xf3),_0x5ce84c),_0xed4653[_0x1a376d(0x136)](_0x1a376d(0x11e),_0x420b44),_0xed4653[_0x1a376d(0x136)](_0x1a376d(0x164),!0x1),this[_0x1a376d(0xff)]=_0xed4653[_0x1a376d(0xd6)](_0x1a376d(0x164));}[_0x4cf9b4(0xcf)](_0x3e9d63,_0x479b2e){const _0x29ae96=_0x4cf9b4;0x0===this[_0x29ae96(0x139)][_0x29ae96(0xdd)]&&setTimeout(()=>{const _0x55fad4=_0x29ae96;for(const [_0x502c7b,_0x567e78]of this[_0x55fad4(0x139)]){const _0x3b1357=this[_0x55fad4(0xfe)][_0x55fad4(0xd3)](_0x502c7b);_0x3b1357||_0x567e78?_0x3b1357&&_0x567e78&&this[_0x55fad4(0xcb)](_0x502c7b):this[_0x55fad4(0x111)](_0x502c7b);}this[_0x55fad4(0x139)][_0x55fad4(0x13d)](),this[_0x55fad4(0x12a)][_0x55fad4(0xfb)][_0x55fad4(0xd6)](_0x55fad4(0x110))[_0x55fad4(0xd4)](),this[_0x55fad4(0xc1)]();},0xa),this[_0x29ae96(0x139)][_0x29ae96(0x135)](_0x3e9d63,_0x479b2e);}[_0x4cf9b4(0x16b)](){const _0x5f0edf=_0x4cf9b4,_0xa2aa2d=this[_0x5f0edf(0x12a)],_0x58272c=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0xd1)),_0x1deb34=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x112)),_0x137174=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x110)),_0x21b03f=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x107));this[_0x5f0edf(0x12e)](),_0x137174[_0x5f0edf(0x104)](()=>{const _0x396ef8=_0x5f0edf,_0x36f853=[];for(const [_0x297073,_0x472d94]of Array[_0x396ef8(0x16a)](this[_0x396ef8(0xfe)])){const _0x221e30=_0x297073[_0x396ef8(0xbd)](),_0x537b56=[];for(const _0x934803 of _0x221e30){if(!_0x934803[_0x396ef8(0xef)])continue;if(_0x934803[_0x396ef8(0x123)]){_0x537b56[_0x396ef8(0x149)](..._0x934803[_0x396ef8(0x14f)]());continue;}const _0x1f26ad=_0x934803[_0x396ef8(0x126)]();if(_0x537b56[_0x396ef8(0x124)]>0x0){const _0x271c72=_0x537b56[0x0][_0x396ef8(0xc7)](_0x1f26ad);if(_0x271c72){_0x537b56[0x0]=_0x271c72;continue;}}_0x537b56[_0x396ef8(0x149)](_0x1f26ad);}_0x36f853[_0x396ef8(0x149)]([_0x472d94[_0x396ef8(0xd0)],_0x537b56]);}return _0x36f853;}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0x132),(_0x23a5a5,_0x11a781)=>{const _0x14ac39=_0x5f0edf;this[_0x14ac39(0x130)](_0x11a781,_0x14ac39(0xba),(_0x455bfa,_0x5c1fa2,_0x1a5efd,_0x38a22b)=>{const _0x3e95e1=_0x14ac39;_0x11a781[_0x3e95e1(0xef)]&&(null==_0x1a5efd?(this[_0x3e95e1(0xe2)](_0x38a22b[_0x3e95e1(0xfc)]),this[_0x3e95e1(0xcf)](_0x11a781,!0x1)):(this[_0x3e95e1(0xe2)](_0x1a5efd[_0x3e95e1(0xfc)]),null==_0x38a22b&&this[_0x3e95e1(0xcf)](_0x11a781,!0x0)));}),null!==_0x11a781[_0x14ac39(0xe3)]?this[_0x14ac39(0xe2)](_0x11a781[_0x14ac39(0xfc)]):this[_0x14ac39(0xcf)](_0x11a781,!0x1);}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0xc5),(_0x1c9b16,_0x1ef42b,_0x44c837)=>{const _0x1f8906=_0x5f0edf;this[_0x1f8906(0x13a)](_0x1ef42b,_0x1f8906(0xba)),this[_0x1f8906(0x139)][_0x1f8906(0xf0)](_0x1ef42b),this[_0x1f8906(0xfe)][_0x1f8906(0xd3)](_0x1ef42b)&&this[_0x1f8906(0xcb)](_0x1ef42b),_0x44c837&&this[_0x1f8906(0xe2)](_0x44c837[_0x1f8906(0xfc)]);}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0x155),(_0x27d3dd,_0x2c82af)=>{const _0x4d4889=_0x5f0edf;this[_0x4d4889(0xe2)](_0x2c82af);}),this[_0x5f0edf(0x130)](_0x1deb34,_0x5f0edf(0xbb),()=>{const _0x2b53a9=_0x5f0edf;this[_0x2b53a9(0xc1)]();}),this[_0x5f0edf(0x130)](_0x21b03f,_0x5f0edf(0x10a),(_0x147256,{threadId:_0x447ef8,isFromAdapter:_0xdefbf8})=>{const _0x47ceaa=_0x5f0edf;if(_0xdefbf8||!_0x58272c[_0x47ceaa(0xde)](_0x447ef8))return;const _0x5192a7=_0x58272c[_0x47ceaa(0x121)](_0x447ef8);this[_0x47ceaa(0xfe)][_0x47ceaa(0xd6)](_0x5192a7)[_0x47ceaa(0xd0)][_0x47ceaa(0xce)][_0x47ceaa(0x15d)](-0x1);},{'priority':_0x5f0edf(0x162)}),this[_0x5f0edf(0xe7)]=this[_0x5f0edf(0x12a)][_0x5f0edf(0xc8)][_0x5f0edf(0xd6)](_0x5f0edf(0xe7));const _0x3c22ce=this[_0x5f0edf(0x12a)];this[_0x5f0edf(0xc3)]=setInterval(()=>{const _0x52ff79=_0x5f0edf;let _0x397b09;for(const _0x5cc880 in _0x3c22ce){const _0x8a6ed9=_0x5cc880,_0x1b8bf1=_0x3c22ce[_0x8a6ed9];if(_0x52ff79(0x156)==_0x1b8bf1||_0x52ff79(0xc4)==_0x1b8bf1||_0x52ff79(0xed)==_0x1b8bf1||_0x52ff79(0xfd)==_0x1b8bf1||_0x52ff79(0xf8)==_0x1b8bf1||_0x52ff79(0x119)==_0x1b8bf1||_0x52ff79(0xd5)==_0x1b8bf1||_0x52ff79(0x129)==_0x1b8bf1){delete _0x3c22ce[_0x8a6ed9],_0x397b09=_0x1b8bf1,clearInterval(this[_0x52ff79(0xc3)]),this[_0x52ff79(0xc3)]=void 0x0;break;}}_0x52ff79(0xc4)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x144)),_0x52ff79(0xed)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x166)),_0x52ff79(0xfd)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0xe6)),_0x52ff79(0xf8)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x161),_0x52ff79(0x101)),_0x52ff79(0x119)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x143)),_0x52ff79(0xd5)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0xf2)),_0x52ff79(0x129)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x100));},0x3e8);}[_0x4cf9b4(0x147)](_0x61553d){const _0x1b181c=_0x4cf9b4,_0x332273=this[_0x1b181c(0xfe)][_0x1b181c(0xd6)](_0x61553d);if(!_0x332273)return null;return this[_0x1b181c(0x12a)][_0x1b181c(0xfb)][_0x1b181c(0xd6)](_0x1b181c(0x112))[_0x1b181c(0x168)](_0x332273[_0x1b181c(0xd0)])||null;}[_0x4cf9b4(0x11c)](_0x4e4aae){const _0x34990f=_0x4cf9b4,_0x188095=this[_0x34990f(0x138)][_0x34990f(0xd6)](_0x4e4aae[_0x34990f(0xca)]);return _0x188095?_0x188095[_0x34990f(0xf1)]:null;}[_0x4cf9b4(0xc1)](){const _0x1c7537=_0x4cf9b4,_0x5d39d4=this[_0x1c7537(0x12a)][_0x1c7537(0xfb)][_0x1c7537(0xd6)](_0x1c7537(0x112)),_0x571abf=this[_0x1c7537(0x12a)][_0x1c7537(0xfb)][_0x1c7537(0xd6)](_0x1c7537(0xd1)),_0x5a80de=Array[_0x1c7537(0x16a)](_0x5d39d4[_0x1c7537(0xc9)],_0xbea4c6=>_0xbea4c6[_0x1c7537(0xca)])[_0x1c7537(0xe8)](_0x1aaceb=>this[_0x1c7537(0x138)][_0x1c7537(0xd3)](_0x1aaceb)),_0x140909=[];for(const _0x4da49a of _0x5a80de){const _0x1b96b7=this[_0x1c7537(0x138)][_0x1c7537(0xd6)](_0x4da49a)[_0x1c7537(0xf1)][_0x1c7537(0xbd)]();_0x140909[_0x1c7537(0x149)](..._0x1b96b7[_0x1c7537(0xf9)]((_0x59b65d,_0xabbccd)=>[..._0x59b65d,..._0xabbccd[_0x1c7537(0x152)]()],[]));}_0x571abf[_0x1c7537(0x11f)]=_0x140909;}[_0x4cf9b4(0x12e)](){const _0x3f49d2=_0x4cf9b4,_0x384db5=this[_0x3f49d2(0x12a)],_0x542743=_0x384db5[_0x3f49d2(0x13c)],_0x3bdb33=_0x23e6a8(_0x542743,_0x3f49d2(0xe1)),_0x267b8b=new _0xbc1fbe([{'type':_0x3f49d2(0xf5),'model':new _0x56ddcc({'withText':!0x0,'isToggleable':!0x0,'label':_0x3bdb33,'commandName':_0x3f49d2(0xbf),'role':_0x3f49d2(0x167)})},{'type':_0x3f49d2(0x12b)},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0x114)),'commandName':_0x3f49d2(0x12c),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xbe)),'commandName':_0x3f49d2(0x163),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xbc)),'commandName':_0x3f49d2(0x105),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0x160)),'commandName':_0x3f49d2(0x127),'role':_0x3f49d2(0x14c)})}]);_0x384db5[_0x3f49d2(0xfb)][_0x3f49d2(0xd3)](_0x3f49d2(0x14e))&&_0x267b8b[_0x3f49d2(0xf7)]([{'type':_0x3f49d2(0x12b)},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xf6)),'commandName':_0x3f49d2(0xec),'role':_0x3f49d2(0x14c)})}]);for(const _0x8f68d5 of _0x267b8b)if(Ee(_0x8f68d5)){const _0x5689d1=_0x384db5[_0x3f49d2(0xdb)][_0x3f49d2(0xd6)](_0x8f68d5[_0x3f49d2(0xf1)][_0x3f49d2(0xeb)]);_0x8f68d5[_0x3f49d2(0xf1)][_0x3f49d2(0xee)](_0x3f49d2(0x117),_0x3f49d2(0xdf))['to'](_0x5689d1,_0x3f49d2(0x10c),_0x3f49d2(0xdf));}_0x384db5['ui'][_0x3f49d2(0x157)][_0x3f49d2(0x10d)](_0x3f49d2(0xbf),_0x290ac6=>this[_0x3f49d2(0x15f)](_0x290ac6,_0x267b8b,_0x3bdb33)),_0x384db5['ui'][_0x3f49d2(0x157)][_0x3f49d2(0x10d)](_0x3f49d2(0x14b),_0x18e3f7=>this[_0x3f49d2(0x14d)](_0x18e3f7,_0x267b8b,_0x3bdb33));}[_0x4cf9b4(0x15f)](_0x4dfd39,_0x54bc6d,_0x5afd84){const _0x435efd=_0x4cf9b4,_0x188c53=_0x58bee7(_0x4dfd39,_0x32075b),_0x3ba771=this[_0x435efd(0x12a)][_0x435efd(0xdb)][_0x435efd(0xd6)](_0x435efd(0xbf));_0x188c53[_0x435efd(0x118)][_0x435efd(0x135)]({'tooltip':_0x5afd84,'label':_0x5afd84,'icon':_0x18b787}),_0x188c53[_0x435efd(0x118)][_0x435efd(0xee)](_0x435efd(0x117))['to'](_0x3ba771,_0x435efd(0x10c)),_0x188c53[_0x435efd(0x118)]['on'](_0x435efd(0x10e),()=>{const _0x56cf75=_0x435efd;_0x3ba771[_0x56cf75(0x10e)](),this[_0x56cf75(0x12a)][_0x56cf75(0xcd)][_0x56cf75(0xd0)][_0x56cf75(0x15d)]();}),_0xd5f40f(_0x188c53,_0x54bc6d,{'role':_0x435efd(0x15e)});const _0x384e0b=[];for(const _0xbc3813 of _0x54bc6d)Ee(_0xbc3813)&&_0x384e0b[_0x435efd(0x149)](this[_0x435efd(0x12a)][_0x435efd(0xdb)][_0x435efd(0xd6)](_0xbc3813[_0x435efd(0xf1)][_0x435efd(0xeb)]));const _0x5cc3ea=_0x188c53[_0x435efd(0x118)];return _0x5cc3ea[_0x435efd(0x125)][_0x435efd(0xc6)](_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x153)][_0x435efd(0xc6)](_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x125)][_0x435efd(0xee)](_0x435efd(0xdf))['to'](_0x3ba771,_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x153)][_0x435efd(0xee)](_0x435efd(0xdf))[_0x435efd(0xd2)](_0x384e0b,_0x435efd(0xdf),(..._0x24da86)=>_0x24da86[_0x435efd(0xe9)](_0x5af477=>_0x5af477)),_0x188c53['on'](_0x435efd(0x10e),_0x581ab2=>{const _0x477618=_0x435efd;this[_0x477618(0x12a)][_0x477618(0x10e)](_0x581ab2[_0x477618(0xea)][_0x477618(0xeb)]),this[_0x477618(0x12a)][_0x477618(0xcd)][_0x477618(0xd0)][_0x477618(0x15d)]();}),_0x188c53;}[_0x4cf9b4(0x14d)](_0x429bbb,_0x489c2c,_0x5e84ec){const _0x49169a=_0x4cf9b4,_0x2679d6=new _0x1a4f76(_0x429bbb),_0x39ee3f=this[_0x49169a(0x12a)][_0x49169a(0xdb)][_0x49169a(0xd6)](_0x49169a(0xbf));_0x2679d6[_0x49169a(0x118)][_0x49169a(0x135)]({'label':_0x5e84ec,'icon':_0x18b787});const _0x34ebf3=new _0x1bc7d6(_0x429bbb);for(const _0x256c44 of _0x489c2c){if(_0x49169a(0x12b)==_0x256c44[_0x49169a(0x133)]){_0x34ebf3[_0x49169a(0x150)][_0x49169a(0x10d)](new _0x166196(_0x429bbb));continue;}const _0x337b9c=new _0x37e017(_0x429bbb,_0x2679d6),_0x3cd7ee=new _0x278fde(_0x429bbb),_0x1129ab=_0x256c44[_0x49169a(0xf1)];_0x3cd7ee[_0x49169a(0xee)](...Object[_0x49169a(0x154)](_0x1129ab))['to'](_0x1129ab),_0x3cd7ee[_0x49169a(0x146)](_0x49169a(0x10e))['to'](_0x2679d6),_0x3cd7ee['on'](_0x49169a(0x10e),()=>{const _0x594689=_0x49169a;this[_0x594689(0x12a)][_0x594689(0x10e)](_0x1129ab[_0x594689(0xeb)]),this[_0x594689(0x12a)][_0x594689(0xcd)][_0x594689(0xd0)][_0x594689(0x15d)]();}),_0x337b9c[_0x49169a(0xd9)][_0x49169a(0x10d)](_0x3cd7ee),_0x34ebf3[_0x49169a(0x150)][_0x49169a(0x10d)](_0x337b9c);}return _0x2679d6[_0x49169a(0xee)](_0x49169a(0xdf))['to'](_0x39ee3f,_0x49169a(0xdf)),_0x2679d6[_0x49169a(0xcc)][_0x49169a(0xd9)][_0x49169a(0x10d)](_0x34ebf3),_0x2679d6;}[_0x4cf9b4(0x111)](_0x5242fc){const _0x20a176=_0x4cf9b4,_0x1fbbd8=this[_0x20a176(0x12a)],_0x5032a3=_0x1fbbd8[_0x20a176(0xc8)],_0x1d8655=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x112)),_0x47c98c=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x107)),_0x5b45e8=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x110)),_0x2d33de=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x364245)['me'],_0x3f4b4f=_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xbf))[_0x20a176(0x10f)],_0x324458=_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xbf))[_0x20a176(0x115)],{CommentsListView:_0x128ca8,CommentThreadInputView:_0x1edceb}=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x109));let _0x209570,_0x4fd034,_0x441a4a;this[_0x20a176(0x134)][_0x20a176(0xd3)](_0x5242fc['id'])?(_0x4fd034=this[_0x20a176(0x134)][_0x20a176(0xd6)](_0x5242fc['id']),_0x209570=_0x4fd034[_0x20a176(0x142)]):(_0x209570=new _0x3f4b4f(_0x1fbbd8[_0x20a176(0x13c)],_0x5242fc,_0x2d33de,{'disableComments':this[_0x20a176(0xff)],'editorConfig':{..._0x5032a3[_0x20a176(0xd6)](_0x20a176(0x148)),'licenseKey':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xe7))},'maxCommentsWhenCollapsed':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x122)),'maxThreadTotalWeight':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xd7)),'maxCommentCharsWhenCollapsed':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x103)),'formatDateTime':_0x1d2925(_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x13c)),_0x1fbbd8[_0x20a176(0x13c)]),'CommentView':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x151))[_0x20a176(0x13e)],'CommentsListView':_0x128ca8,'CommentThreadInputView':_0x1edceb,'SuggestionView':_0x324458}),_0x209570[_0x20a176(0xc2)][_0x20a176(0xc0)]['on'](_0x20a176(0x10e),()=>{const _0xd528aa=_0x20a176;_0x1fbbd8[_0xd528aa(0xcd)][_0xd528aa(0xd0)][_0xd528aa(0x15d)]();}),_0x209570[_0x20a176(0xc2)][_0x20a176(0x16c)]['on'](_0x20a176(0x10e),()=>{const _0x259757=_0x20a176;_0x1fbbd8[_0x259757(0xcd)][_0x259757(0xd0)][_0x259757(0x15d)]();}),_0x4fd034=_0x1d8655[_0x20a176(0x13f)](this[_0x20a176(0x12a)][_0x20a176(0x13c)],_0x209570),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x137))['to'](_0x209570,_0x20a176(0x137)),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x124))['to'](_0x209570),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x133))['to'](_0x209570,_0x20a176(0x133),_0x25b395=>_0x20a176(0xe5)+_0x25b395),_0x209570['on'](_0x20a176(0x12d),()=>{const _0xc69535=_0x20a176;_0x441a4a[_0xc69535(0x11d)](_0xc69535(0x12d));}),this[_0x20a176(0x134)][_0x20a176(0x135)](_0x5242fc['id'],_0x4fd034));const _0x23772a=_0x47c98c[_0x20a176(0xda)](_0x5242fc[_0x20a176(0x116)],_0x209570),_0x289559=new _0x3966c4(_0x1fbbd8,_0x5242fc,_0x209570,_0x23772a),_0x381216=_0x5242fc[_0x20a176(0xbd)]()[_0x20a176(0xe8)](_0x3fa335=>_0x3fa335[_0x20a176(0xef)]);_0x209570[_0x20a176(0xdc)]=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0xd1))[_0x20a176(0x120)][_0x20a176(0x10b)](_0x381216),this[_0x20a176(0xfe)][_0x20a176(0x135)](_0x5242fc,_0x289559),this[_0x20a176(0x138)][_0x20a176(0x135)](_0x209570,_0x289559);const _0x5d15b1=()=>{const _0x248c2e=_0x20a176,_0x474a04=[],_0x5b9ac2=_0x5242fc[_0x248c2e(0xbd)]()[_0x248c2e(0xe8)](_0x36b05f=>_0x36b05f[_0x248c2e(0xef)]);for(const _0x5bed17 of _0x5b9ac2)_0x474a04[_0x248c2e(0x149)](..._0x5bed17[_0x248c2e(0xf4)]());return _0x4d831a(_0x1fbbd8[_0x248c2e(0xcd)],_0x474a04);};_0x441a4a=_0x1d8655[_0x20a176(0x15b)]({'view':_0x4fd034,'target':_0x5d15b1,'type':()=>_0x20a176(0xe5)+_0x289559[_0x20a176(0xd0)][_0x20a176(0x133)],'isVisible':!!_0x5d15b1()}),_0x47c98c[_0x20a176(0x158)](_0x209570,_0x441a4a),_0x1d8655[_0x20a176(0x10d)](_0x441a4a),_0x5b45e8[_0x20a176(0x113)](_0x441a4a);}[_0x4cf9b4(0xcb)](_0x359a8d){const _0x147935=_0x4cf9b4,_0x5792b8=this[_0x147935(0x12a)][_0x147935(0xfb)][_0x147935(0xd6)](_0x147935(0x107)),_0xff3b4=this[_0x147935(0x12a)][_0x147935(0xfb)][_0x147935(0xd6)](_0x147935(0x112)),_0x4d583f=this[_0x147935(0xfe)][_0x147935(0xd6)](_0x359a8d),_0x9809c=_0x4d583f[_0x147935(0xd0)],_0x39ba11=_0xff3b4[_0x147935(0x168)](_0x9809c);_0x5792b8[_0x147935(0x159)](_0x9809c),_0x39ba11&&_0xff3b4[_0x147935(0x11a)](_0x39ba11),this[_0x147935(0xfe)][_0x147935(0xf0)](_0x359a8d),this[_0x147935(0x138)][_0x147935(0xf0)](_0x9809c),_0x4d583f[_0x147935(0x131)]();}[_0x4cf9b4(0xe2)](_0x4fcdb5){const _0x335002=_0x4cf9b4;if(!_0x4fcdb5[_0x335002(0xef)]||!this[_0x335002(0xfe)][_0x335002(0xd3)](_0x4fcdb5))return;const _0x48f054=this[_0x335002(0x12a)][_0x335002(0xfb)][_0x335002(0xd6)](_0x335002(0xd1)),_0x2b280c=this[_0x335002(0xfe)][_0x335002(0xd6)](_0x4fcdb5),_0x4bff55=_0x4fcdb5[_0x335002(0xbd)]();_0x2b280c[_0x335002(0xd0)][_0x335002(0xdc)]=_0x48f054[_0x335002(0x120)][_0x335002(0x10b)](_0x4bff55);}[_0x4cf9b4(0x131)](){const _0x55b7ed=_0x4cf9b4;for(const _0x1ee7b3 of this[_0x55b7ed(0xfe)][_0x55b7ed(0x154)]())this[_0x55b7ed(0xcb)](_0x1ee7b3);for(const _0x3b665f of this[_0x55b7ed(0x134)][_0x55b7ed(0x15c)]())_0x3b665f[_0x55b7ed(0x142)][_0x55b7ed(0x131)]();super[_0x55b7ed(0x131)](),this[_0x55b7ed(0xc3)]&&clearInterval(this[_0x55b7ed(0xc3)]);}}function Ee(_0x4d5105){const _0x41c041=_0x4cf9b4;return _0x41c041(0xf1)in _0x4d5105;}
|
|
23
|
+
const _0x2ce6d5=_0x21de;(function(_0x17970e,_0x37aaec){const _0x178bd8=_0x21de,_0x2959d9=_0x17970e();while(!![]){try{const _0x16b296=parseInt(_0x178bd8(0x160))/0x1*(parseInt(_0x178bd8(0x1ab))/0x2)+-parseInt(_0x178bd8(0x19e))/0x3+-parseInt(_0x178bd8(0x1a7))/0x4*(-parseInt(_0x178bd8(0x17b))/0x5)+-parseInt(_0x178bd8(0x1a6))/0x6+parseInt(_0x178bd8(0x14f))/0x7+parseInt(_0x178bd8(0x14e))/0x8+parseInt(_0x178bd8(0x196))/0x9*(-parseInt(_0x178bd8(0x144))/0xa);if(_0x16b296===_0x37aaec)break;else _0x2959d9['push'](_0x2959d9['shift']());}catch(_0x592685){_0x2959d9['push'](_0x2959d9['shift']());}}}(_0x5813,0x9dea4));import{Plugin as _0x1dc0d7}from'ckeditor5/src/core.js';import{Collection as _0x2bac89}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x51fb27}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2e2540,createDropdown as _0x35a1a8,ListSeparatorView as _0x19e677,MenuBarMenuView as _0x510aa0,MenuBarMenuListView as _0x118644,MenuBarMenuListItemView as _0x52132f,MenuBarMenuListItemButtonView as _0x43d64c,SplitButtonView as _0x55c137,UIModel as _0x4fe9c8}from'ckeditor5/src/ui.js';import{Users as _0x4f9e84,getDateTimeFormatter as _0x4feb2c,getAllMarkersDomElementsSorted as _0x59b042}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x3caa85}from'./trackchangesediting.js';import{SuggestionController as _0x4de2eb}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x39c5b7}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5766ef}from'./ui/view/suggestionview.js';import{getTranslation as _0x1ba2fe}from'./utils/common-translations.js';function _0x21de(_0x2549db,_0x3da104){const _0x581304=_0x5813();return _0x21de=function(_0x21de0d,_0x2d181b){_0x21de0d=_0x21de0d-0x12e;let _0x9380cf=_0x581304[_0x21de0d];return _0x9380cf;},_0x21de(_0x2549db,_0x3da104);}export class TrackChangesUI extends _0x1dc0d7{[_0x2ce6d5(0x161)];[_0x2ce6d5(0x18d)];[_0x2ce6d5(0x157)];[_0x2ce6d5(0x191)];[_0x2ce6d5(0x1aa)];[_0x2ce6d5(0x176)];[_0x2ce6d5(0x168)];static get[_0x2ce6d5(0x1ae)](){const _0x24d9fb=_0x2ce6d5;return[_0x3caa85,_0x4f9e84,_0x24d9fb(0x198),_0x24d9fb(0x199),_0x24d9fb(0x1b6)];}static get[_0x2ce6d5(0x165)](){const _0x3c9660=_0x2ce6d5;return _0x3c9660(0x133);}static get[_0x2ce6d5(0x188)](){return!0x0;}static get[_0x2ce6d5(0x1b2)](){return!0x0;}constructor(_0x53fed9){const _0x12e82a=_0x2ce6d5;super(_0x53fed9),this[_0x12e82a(0x157)]=new Map(),this[_0x12e82a(0x191)]=new Map(),this[_0x12e82a(0x1aa)]=new Map(),this[_0x12e82a(0x176)]=new Map();const _0x239ccc=this[_0x12e82a(0x167)][_0x12e82a(0x1af)];_0x239ccc[_0x12e82a(0x1b0)](_0x12e82a(0x193),_0x39c5b7),_0x239ccc[_0x12e82a(0x1b0)](_0x12e82a(0x153),_0x5766ef),_0x239ccc[_0x12e82a(0x1b0)](_0x12e82a(0x15b),!0x1),this[_0x12e82a(0x168)]=_0x239ccc[_0x12e82a(0x185)](_0x12e82a(0x15b));}[_0x2ce6d5(0x1dd)](_0x3d0155,_0x295371){const _0x109b69=_0x2ce6d5;0x0===this[_0x109b69(0x176)][_0x109b69(0x1cc)]&&setTimeout(()=>{const _0x20fa2a=_0x109b69;for(const [_0x3ee378,_0x24b57b]of this[_0x20fa2a(0x176)]){const _0x22433e=this[_0x20fa2a(0x157)][_0x20fa2a(0x1a1)](_0x3ee378);_0x22433e||_0x24b57b?_0x22433e&&_0x24b57b&&this[_0x20fa2a(0x156)](_0x3ee378):this[_0x20fa2a(0x164)](_0x3ee378);}this[_0x20fa2a(0x176)][_0x20fa2a(0x19f)](),this[_0x20fa2a(0x167)][_0x20fa2a(0x1b4)][_0x20fa2a(0x185)](_0x20fa2a(0x1b6))[_0x20fa2a(0x14c)](),this[_0x20fa2a(0x18e)]();},0xa),this[_0x109b69(0x176)][_0x109b69(0x154)](_0x3d0155,_0x295371);}[_0x2ce6d5(0x1cf)](){const _0x4a92ae=_0x2ce6d5,_0x5a3b86=this[_0x4a92ae(0x167)],_0x11773d=_0x5a3b86[_0x4a92ae(0x1b4)][_0x4a92ae(0x185)](_0x4a92ae(0x1c6)),_0x1f1e1e=_0x5a3b86[_0x4a92ae(0x1b4)][_0x4a92ae(0x185)](_0x4a92ae(0x199)),_0x11e708=_0x5a3b86[_0x4a92ae(0x1b4)][_0x4a92ae(0x185)](_0x4a92ae(0x1b6)),_0x101573=_0x5a3b86[_0x4a92ae(0x1b4)][_0x4a92ae(0x185)](_0x4a92ae(0x198));this[_0x4a92ae(0x143)](),_0x11e708[_0x4a92ae(0x16e)](()=>{const _0x1ba172=_0x4a92ae,_0x5a422a=[];for(const [_0x53f1cd,_0x956a98]of Array[_0x1ba172(0x1cb)](this[_0x1ba172(0x157)])){const _0x5f490c=_0x53f1cd[_0x1ba172(0x13b)](),_0x4badee=[];for(const _0x4aae45 of _0x5f490c){if(!_0x4aae45[_0x1ba172(0x1c8)])continue;if(_0x4aae45[_0x1ba172(0x179)]){_0x4badee[_0x1ba172(0x142)](..._0x4aae45[_0x1ba172(0x183)]());continue;}const _0x4c4355=_0x4aae45[_0x1ba172(0x19d)]();if(_0x4badee[_0x1ba172(0x1ca)]>0x0){const _0x434b53=_0x4badee[0x0][_0x1ba172(0x155)](_0x4c4355);if(_0x434b53){_0x4badee[0x0]=_0x434b53;continue;}}_0x4badee[_0x1ba172(0x142)](_0x4c4355);}_0x5a422a[_0x1ba172(0x142)]([_0x956a98[_0x1ba172(0x1db)],_0x4badee]);}return _0x5a422a;}),this[_0x4a92ae(0x135)](_0x11773d,_0x4a92ae(0x1d6),(_0xfdd03e,_0x32b37d)=>{const _0x1e21c2=_0x4a92ae;this[_0x1e21c2(0x135)](_0x32b37d,_0x1e21c2(0x1d9),(_0x26d6af,_0x14b463,_0x1570a9,_0x380268)=>{const _0x7899ae=_0x1e21c2;_0x32b37d[_0x7899ae(0x1c8)]&&(null==_0x1570a9?(this[_0x7899ae(0x1c2)](_0x380268[_0x7899ae(0x1df)]),this[_0x7899ae(0x1dd)](_0x32b37d,!0x1)):(this[_0x7899ae(0x1c2)](_0x1570a9[_0x7899ae(0x1df)]),null==_0x380268&&this[_0x7899ae(0x1dd)](_0x32b37d,!0x0)));}),null!==_0x32b37d[_0x1e21c2(0x1de)]?this[_0x1e21c2(0x1c2)](_0x32b37d[_0x1e21c2(0x1df)]):this[_0x1e21c2(0x1dd)](_0x32b37d,!0x1);}),this[_0x4a92ae(0x135)](_0x11773d,_0x4a92ae(0x16d),(_0x52e75c,_0x1f457d,_0x157856)=>{const _0x383074=_0x4a92ae;this[_0x383074(0x1a9)](_0x1f457d,_0x383074(0x1d9)),this[_0x383074(0x176)][_0x383074(0x13c)](_0x1f457d),this[_0x383074(0x157)][_0x383074(0x1a1)](_0x1f457d)&&this[_0x383074(0x156)](_0x1f457d),_0x157856&&this[_0x383074(0x1c2)](_0x157856[_0x383074(0x1df)]);}),this[_0x4a92ae(0x135)](_0x11773d,_0x4a92ae(0x1ba),(_0xb60f15,_0x23de26)=>{const _0x7e05de=_0x4a92ae;this[_0x7e05de(0x1c2)](_0x23de26);}),this[_0x4a92ae(0x135)](_0x1f1e1e,_0x4a92ae(0x137),()=>{const _0x40858e=_0x4a92ae;this[_0x40858e(0x18e)]();}),this[_0x4a92ae(0x135)](_0x101573,_0x4a92ae(0x190),(_0x1152b7,{threadId:_0x302e7a,isFromAdapter:_0x20f702})=>{const _0x47e4f9=_0x4a92ae;if(_0x20f702||!_0x11773d[_0x47e4f9(0x14b)](_0x302e7a))return;const _0x3994b3=_0x11773d[_0x47e4f9(0x1d1)](_0x302e7a);this[_0x47e4f9(0x157)][_0x47e4f9(0x185)](_0x3994b3)[_0x47e4f9(0x1db)][_0x47e4f9(0x15d)][_0x47e4f9(0x15c)](-0x1);},{'priority':_0x4a92ae(0x1bd)}),this[_0x4a92ae(0x161)]=this[_0x4a92ae(0x167)][_0x4a92ae(0x1af)][_0x4a92ae(0x185)](_0x4a92ae(0x161));const _0x264e98=this[_0x4a92ae(0x167)];this[_0x4a92ae(0x18d)]=setInterval(()=>{const _0x3166be=_0x4a92ae;let _0x2bbfe5;for(const _0x450308 in _0x264e98){const _0x4b958f=_0x450308,_0x12c39c=_0x264e98[_0x4b958f];if(_0x3166be(0x148)==_0x12c39c||_0x3166be(0x1d8)==_0x12c39c||_0x3166be(0x1b3)==_0x12c39c||_0x3166be(0x150)==_0x12c39c||_0x3166be(0x1c4)==_0x12c39c||_0x3166be(0x189)==_0x12c39c||_0x3166be(0x1d3)==_0x12c39c||_0x3166be(0x186)==_0x12c39c){delete _0x264e98[_0x4b958f],_0x2bbfe5=_0x12c39c,clearInterval(this[_0x3166be(0x18d)]),this[_0x3166be(0x18d)]=void 0x0;break;}}_0x3166be(0x1d8)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x1c1)),_0x3166be(0x1b3)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x1c5)),_0x3166be(0x150)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x16b)),_0x3166be(0x1c4)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x12f),_0x3166be(0x1d2)),_0x3166be(0x189)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x146)),_0x3166be(0x1d3)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x170)),_0x3166be(0x186)==_0x2bbfe5&&_0x264e98[_0x3166be(0x15e)](_0x3166be(0x169));},0x3e8);}[_0x2ce6d5(0x1bb)](_0x4ced2d){const _0x43de63=_0x2ce6d5,_0x141f80=this[_0x43de63(0x157)][_0x43de63(0x185)](_0x4ced2d);if(!_0x141f80)return null;return this[_0x43de63(0x167)][_0x43de63(0x1b4)][_0x43de63(0x185)](_0x43de63(0x199))[_0x43de63(0x13a)](_0x141f80[_0x43de63(0x1db)])||null;}[_0x2ce6d5(0x173)](_0x2c8d8d){const _0x1dedb4=_0x2ce6d5,_0x118c3f=this[_0x1dedb4(0x191)][_0x1dedb4(0x185)](_0x2c8d8d[_0x1dedb4(0x163)]);return _0x118c3f?_0x118c3f[_0x1dedb4(0x17e)]:null;}[_0x2ce6d5(0x18e)](){const _0xf99975=_0x2ce6d5,_0x1a2905=this[_0xf99975(0x167)][_0xf99975(0x1b4)][_0xf99975(0x185)](_0xf99975(0x199)),_0x475f0c=this[_0xf99975(0x167)][_0xf99975(0x1b4)][_0xf99975(0x185)](_0xf99975(0x1c6)),_0xb2c232=Array[_0xf99975(0x1cb)](_0x1a2905[_0xf99975(0x130)],_0x2b3800=>_0x2b3800[_0xf99975(0x163)])[_0xf99975(0x17c)](_0x55150a=>this[_0xf99975(0x191)][_0xf99975(0x1a1)](_0x55150a)),_0x54bd5a=[];for(const _0x247fd7 of _0xb2c232){const _0x179a46=this[_0xf99975(0x191)][_0xf99975(0x185)](_0x247fd7)[_0xf99975(0x17e)][_0xf99975(0x13b)]();_0x54bd5a[_0xf99975(0x142)](..._0x179a46[_0xf99975(0x172)]((_0x4214ae,_0x457677)=>[..._0x4214ae,..._0x457677[_0xf99975(0x159)]()],[]));}_0x475f0c[_0xf99975(0x181)]=_0x54bd5a;}[_0x2ce6d5(0x143)](){const _0x38af0d=_0x2ce6d5,_0x5c3686=this[_0x38af0d(0x167)],_0x43e717=_0x5c3686[_0x38af0d(0x1cd)],_0x14d3df=_0x1ba2fe(_0x43e717,_0x38af0d(0x1d4)),_0x1460eb=new _0x2bac89([{'type':_0x38af0d(0x1c3),'model':new _0x4fe9c8({'withText':!0x0,'isToggleable':!0x0,'label':_0x14d3df,'commandName':_0x38af0d(0x171),'role':_0x38af0d(0x1d0)})},{'type':_0x38af0d(0x16f)},{'type':_0x38af0d(0x14a),'model':new _0x4fe9c8({'withText':!0x0,'label':_0x1ba2fe(_0x43e717,_0x38af0d(0x182)),'commandName':_0x38af0d(0x1d5),'role':_0x38af0d(0x140)})},{'type':_0x38af0d(0x14a),'model':new _0x4fe9c8({'withText':!0x0,'label':_0x1ba2fe(_0x43e717,_0x38af0d(0x141)),'commandName':_0x38af0d(0x19a),'role':_0x38af0d(0x140)})},{'type':_0x38af0d(0x14a),'model':new _0x4fe9c8({'withText':!0x0,'label':_0x1ba2fe(_0x43e717,_0x38af0d(0x192)),'commandName':_0x38af0d(0x1a8),'role':_0x38af0d(0x140)})},{'type':_0x38af0d(0x14a),'model':new _0x4fe9c8({'withText':!0x0,'label':_0x1ba2fe(_0x43e717,_0x38af0d(0x147)),'commandName':_0x38af0d(0x1b8),'role':_0x38af0d(0x140)})}]);_0x5c3686[_0x38af0d(0x1b4)][_0x38af0d(0x1a1)](_0x38af0d(0x1b9))&&_0x1460eb[_0x38af0d(0x151)]([{'type':_0x38af0d(0x16f)},{'type':_0x38af0d(0x14a),'model':new _0x4fe9c8({'withText':!0x0,'label':_0x1ba2fe(_0x43e717,_0x38af0d(0x184)),'commandName':_0x38af0d(0x18f),'role':_0x38af0d(0x140)})}]);for(const _0x1b2506 of _0x1460eb)if(Ee(_0x1b2506)){const _0x187837=_0x5c3686[_0x38af0d(0x18a)][_0x38af0d(0x185)](_0x1b2506[_0x38af0d(0x17e)][_0x38af0d(0x17f)]);_0x1b2506[_0x38af0d(0x17e)][_0x38af0d(0x195)](_0x38af0d(0x17a),_0x38af0d(0x149))['to'](_0x187837,_0x38af0d(0x1bf),_0x38af0d(0x149));}_0x5c3686['ui'][_0x38af0d(0x13f)][_0x38af0d(0x12e)](_0x38af0d(0x171),_0x30d6a9=>this[_0x38af0d(0x197)](_0x30d6a9,_0x1460eb,_0x14d3df)),_0x5c3686['ui'][_0x38af0d(0x13f)][_0x38af0d(0x12e)](_0x38af0d(0x16a),_0x2c0085=>this[_0x38af0d(0x158)](_0x2c0085,_0x1460eb,_0x14d3df));}[_0x2ce6d5(0x197)](_0x1d4662,_0x2e489d,_0x16580f){const _0x3c74ea=_0x2ce6d5,_0x581b7b=_0x35a1a8(_0x1d4662,_0x55c137),_0x5dfa7d=this[_0x3c74ea(0x167)][_0x3c74ea(0x18a)][_0x3c74ea(0x185)](_0x3c74ea(0x171));_0x581b7b[_0x3c74ea(0x134)][_0x3c74ea(0x154)]({'tooltip':_0x16580f,'label':_0x16580f,'icon':_0x51fb27}),_0x581b7b[_0x3c74ea(0x134)][_0x3c74ea(0x195)](_0x3c74ea(0x17a))['to'](_0x5dfa7d,_0x3c74ea(0x1bf)),_0x581b7b[_0x3c74ea(0x134)]['on'](_0x3c74ea(0x18b),()=>{const _0x5aba35=_0x3c74ea;_0x5dfa7d[_0x5aba35(0x18b)](),this[_0x5aba35(0x167)][_0x5aba35(0x194)][_0x5aba35(0x1db)][_0x5aba35(0x15c)]();}),_0x2e2540(_0x581b7b,_0x2e489d,{'role':_0x3c74ea(0x174)});const _0x40b769=[];for(const _0x32b0d8 of _0x2e489d)Ee(_0x32b0d8)&&_0x40b769[_0x3c74ea(0x142)](this[_0x3c74ea(0x167)][_0x3c74ea(0x18a)][_0x3c74ea(0x185)](_0x32b0d8[_0x3c74ea(0x17e)][_0x3c74ea(0x17f)]));const _0x23ea81=_0x581b7b[_0x3c74ea(0x134)];return _0x23ea81[_0x3c74ea(0x1c0)][_0x3c74ea(0x138)](_0x3c74ea(0x149)),_0x23ea81[_0x3c74ea(0x178)][_0x3c74ea(0x138)](_0x3c74ea(0x149)),_0x23ea81[_0x3c74ea(0x1c0)][_0x3c74ea(0x195)](_0x3c74ea(0x149))['to'](_0x5dfa7d,_0x3c74ea(0x149)),_0x23ea81[_0x3c74ea(0x178)][_0x3c74ea(0x195)](_0x3c74ea(0x149))[_0x3c74ea(0x18c)](_0x40b769,_0x3c74ea(0x149),(..._0x5de242)=>_0x5de242[_0x3c74ea(0x139)](_0xd8f8fe=>_0xd8f8fe)),_0x581b7b['on'](_0x3c74ea(0x18b),_0x1e3c43=>{const _0x500819=_0x3c74ea;this[_0x500819(0x167)][_0x500819(0x18b)](_0x1e3c43[_0x500819(0x16c)][_0x500819(0x17f)]),this[_0x500819(0x167)][_0x500819(0x194)][_0x500819(0x1db)][_0x500819(0x15c)]();}),_0x581b7b;}[_0x2ce6d5(0x158)](_0x36780b,_0x10f037,_0x1836a5){const _0x18bb26=_0x2ce6d5,_0x207bae=new _0x510aa0(_0x36780b),_0x46e5a9=this[_0x18bb26(0x167)][_0x18bb26(0x18a)][_0x18bb26(0x185)](_0x18bb26(0x171));_0x207bae[_0x18bb26(0x134)][_0x18bb26(0x154)]({'label':_0x1836a5,'icon':_0x51fb27});const _0x538042=new _0x118644(_0x36780b);for(const _0x49a7ee of _0x10f037){if(_0x18bb26(0x16f)==_0x49a7ee[_0x18bb26(0x1b7)]){_0x538042[_0x18bb26(0x177)][_0x18bb26(0x12e)](new _0x19e677(_0x36780b));continue;}const _0x2e7b2f=new _0x52132f(_0x36780b,_0x207bae),_0x145adc=new _0x43d64c(_0x36780b),_0x3138ee=_0x49a7ee[_0x18bb26(0x17e)];_0x145adc[_0x18bb26(0x195)](...Object[_0x18bb26(0x14d)](_0x3138ee))['to'](_0x3138ee),_0x145adc[_0x18bb26(0x19b)](_0x18bb26(0x18b))['to'](_0x207bae),_0x145adc['on'](_0x18bb26(0x18b),()=>{const _0x38e677=_0x18bb26;this[_0x38e677(0x167)][_0x38e677(0x18b)](_0x3138ee[_0x38e677(0x17f)]),this[_0x38e677(0x167)][_0x38e677(0x194)][_0x38e677(0x1db)][_0x38e677(0x15c)]();}),_0x2e7b2f[_0x18bb26(0x187)][_0x18bb26(0x12e)](_0x145adc),_0x538042[_0x18bb26(0x177)][_0x18bb26(0x12e)](_0x2e7b2f);}return _0x207bae[_0x18bb26(0x195)](_0x18bb26(0x149))['to'](_0x46e5a9,_0x18bb26(0x149)),_0x207bae[_0x18bb26(0x145)][_0x18bb26(0x187)][_0x18bb26(0x12e)](_0x538042),_0x207bae;}[_0x2ce6d5(0x164)](_0x69cf5c){const _0x1dadcf=_0x2ce6d5,_0x440bb1=this[_0x1dadcf(0x167)],_0x45b81f=_0x440bb1[_0x1dadcf(0x1af)],_0xff9602=_0x440bb1[_0x1dadcf(0x1b4)][_0x1dadcf(0x185)](_0x1dadcf(0x199)),_0x1f3361=_0x440bb1[_0x1dadcf(0x1b4)][_0x1dadcf(0x185)](_0x1dadcf(0x198)),_0x3781e6=_0x440bb1[_0x1dadcf(0x1b4)][_0x1dadcf(0x185)](_0x1dadcf(0x1b6)),_0x2cbaeb=_0x440bb1[_0x1dadcf(0x1b4)][_0x1dadcf(0x185)](_0x4f9e84)['me'],_0x27e0cf=_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x171))[_0x1dadcf(0x1be)],_0x475d2f=_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x171))[_0x1dadcf(0x1ad)],{CommentsListView:_0x156870,CommentThreadInputView:_0x565e82}=_0x440bb1[_0x1dadcf(0x1b4)][_0x1dadcf(0x185)](_0x1dadcf(0x1ac));let _0x5b14b6,_0x3554e9,_0x2f79c5;this[_0x1dadcf(0x1aa)][_0x1dadcf(0x1a1)](_0x69cf5c['id'])?(_0x3554e9=this[_0x1dadcf(0x1aa)][_0x1dadcf(0x185)](_0x69cf5c['id']),_0x5b14b6=_0x3554e9[_0x1dadcf(0x1d7)]):(_0x5b14b6=new _0x27e0cf(_0x440bb1[_0x1dadcf(0x1cd)],_0x69cf5c,_0x2cbaeb,{'disableComments':this[_0x1dadcf(0x168)],'editorConfig':{..._0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x19c)),'licenseKey':_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x161))},'maxCommentsWhenCollapsed':_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x17d)),'maxThreadTotalWeight':_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x1b5)),'maxCommentCharsWhenCollapsed':_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x1a0)),'formatDateTime':_0x4feb2c(_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x1cd)),_0x440bb1[_0x1dadcf(0x1cd)]),'CommentView':_0x45b81f[_0x1dadcf(0x185)](_0x1dadcf(0x1a5))[_0x1dadcf(0x1da)],'CommentsListView':_0x156870,'CommentThreadInputView':_0x565e82,'SuggestionView':_0x475d2f}),_0x5b14b6[_0x1dadcf(0x131)][_0x1dadcf(0x13e)]['on'](_0x1dadcf(0x18b),()=>{const _0xf8e6a6=_0x1dadcf;_0x440bb1[_0xf8e6a6(0x194)][_0xf8e6a6(0x1db)][_0xf8e6a6(0x15c)]();}),_0x5b14b6[_0x1dadcf(0x131)][_0x1dadcf(0x1c9)]['on'](_0x1dadcf(0x18b),()=>{const _0x114162=_0x1dadcf;_0x440bb1[_0x114162(0x194)][_0x114162(0x1db)][_0x114162(0x15c)]();}),_0x3554e9=_0xff9602[_0x1dadcf(0x1b1)](this[_0x1dadcf(0x167)][_0x1dadcf(0x1cd)],_0x5b14b6),_0x3554e9[_0x1dadcf(0x195)](_0x1dadcf(0x175))['to'](_0x5b14b6,_0x1dadcf(0x175)),_0x3554e9[_0x1dadcf(0x195)](_0x1dadcf(0x1ca))['to'](_0x5b14b6),_0x3554e9[_0x1dadcf(0x195)](_0x1dadcf(0x1b7))['to'](_0x5b14b6,_0x1dadcf(0x1b7),_0x3a4352=>_0x1dadcf(0x15f)+_0x3a4352),_0x5b14b6['on'](_0x1dadcf(0x162),()=>{const _0x3be3ed=_0x1dadcf;_0x2f79c5[_0x3be3ed(0x1a3)](_0x3be3ed(0x162));}),this[_0x1dadcf(0x1aa)][_0x1dadcf(0x154)](_0x69cf5c['id'],_0x3554e9));const _0x514809=_0x1f3361[_0x1dadcf(0x1bc)](_0x69cf5c[_0x1dadcf(0x1ce)],_0x5b14b6),_0x42a784=new _0x4de2eb(_0x440bb1,_0x69cf5c,_0x5b14b6,_0x514809),_0x1de5dd=_0x69cf5c[_0x1dadcf(0x13b)]()[_0x1dadcf(0x17c)](_0xbf0c4d=>_0xbf0c4d[_0x1dadcf(0x1c8)]);_0x5b14b6[_0x1dadcf(0x1a2)]=_0x440bb1[_0x1dadcf(0x1b4)][_0x1dadcf(0x185)](_0x1dadcf(0x1c6))[_0x1dadcf(0x166)][_0x1dadcf(0x13d)](_0x1de5dd),this[_0x1dadcf(0x157)][_0x1dadcf(0x154)](_0x69cf5c,_0x42a784),this[_0x1dadcf(0x191)][_0x1dadcf(0x154)](_0x5b14b6,_0x42a784);const _0x5cd4e2=()=>{const _0x53751a=_0x1dadcf,_0x3833da=[],_0x559d21=_0x69cf5c[_0x53751a(0x13b)]()[_0x53751a(0x17c)](_0x367c73=>_0x367c73[_0x53751a(0x1c8)]);for(const _0x12c512 of _0x559d21)_0x3833da[_0x53751a(0x142)](..._0x12c512[_0x53751a(0x1dc)]());return _0x59b042(_0x440bb1[_0x53751a(0x194)],_0x3833da);};_0x2f79c5=_0xff9602[_0x1dadcf(0x132)]({'view':_0x3554e9,'target':_0x5cd4e2,'type':()=>_0x1dadcf(0x15f)+_0x42a784[_0x1dadcf(0x1db)][_0x1dadcf(0x1b7)],'isVisible':!!_0x5cd4e2()}),_0x1f3361[_0x1dadcf(0x136)](_0x5b14b6,_0x2f79c5),_0xff9602[_0x1dadcf(0x12e)](_0x2f79c5),_0x3781e6[_0x1dadcf(0x180)](_0x2f79c5);}[_0x2ce6d5(0x156)](_0x391c03){const _0x2b807c=_0x2ce6d5,_0x38be9b=this[_0x2b807c(0x167)][_0x2b807c(0x1b4)][_0x2b807c(0x185)](_0x2b807c(0x198)),_0x3d7c4c=this[_0x2b807c(0x167)][_0x2b807c(0x1b4)][_0x2b807c(0x185)](_0x2b807c(0x199)),_0x31e749=this[_0x2b807c(0x157)][_0x2b807c(0x185)](_0x391c03),_0x172bfc=_0x31e749[_0x2b807c(0x1db)],_0x9372d7=_0x3d7c4c[_0x2b807c(0x13a)](_0x172bfc);_0x38be9b[_0x2b807c(0x15a)](_0x172bfc),_0x9372d7&&_0x3d7c4c[_0x2b807c(0x152)](_0x9372d7),this[_0x2b807c(0x157)][_0x2b807c(0x13c)](_0x391c03),this[_0x2b807c(0x191)][_0x2b807c(0x13c)](_0x172bfc),_0x31e749[_0x2b807c(0x1a4)]();}[_0x2ce6d5(0x1c2)](_0x1cebac){const _0x3b5867=_0x2ce6d5;if(!_0x1cebac[_0x3b5867(0x1c8)]||!this[_0x3b5867(0x157)][_0x3b5867(0x1a1)](_0x1cebac))return;const _0x587bee=this[_0x3b5867(0x167)][_0x3b5867(0x1b4)][_0x3b5867(0x185)](_0x3b5867(0x1c6)),_0x369d7a=this[_0x3b5867(0x157)][_0x3b5867(0x185)](_0x1cebac),_0x1a40d6=_0x1cebac[_0x3b5867(0x13b)]();_0x369d7a[_0x3b5867(0x1db)][_0x3b5867(0x1a2)]=_0x587bee[_0x3b5867(0x166)][_0x3b5867(0x13d)](_0x1a40d6);}[_0x2ce6d5(0x1a4)](){const _0x52168b=_0x2ce6d5;for(const _0x9e265 of this[_0x52168b(0x157)][_0x52168b(0x14d)]())this[_0x52168b(0x156)](_0x9e265);for(const _0x35b7e0 of this[_0x52168b(0x1aa)][_0x52168b(0x1c7)]())_0x35b7e0[_0x52168b(0x1d7)][_0x52168b(0x1a4)]();super[_0x52168b(0x1a4)](),this[_0x52168b(0x18d)]&&clearInterval(this[_0x52168b(0x18d)]);}}function _0x5813(){const _0xabd2bb=['menu','isDirty','_handleControllerBuffer','items','arrowView','isMultiRange','isOn','19645ReMnHG','filter','comments.maxCommentsWhenCollapsed','model','commandName','registerAnnotation','activeMarkers','Accept\x20all\x20suggestions','getRanges','Preview\x20final\x20content','get','trackChangesLicenseKeyUsageLimit','children','isOfficialPlugin','trackChangesLicenseKeyEvaluationLimit','commands','execute','toMany','_licenseKeyCheckInterval','_refreshActiveMarkers','previewFinalContent','addComment','_viewToController','Discard\x20all\x20suggestions','trackChanges.SuggestionThreadView','editing','bind','18KFSmzP','_createToolbarButton','CommentsRepository','Annotations','acceptSelectedSuggestions','delegate','comments.editorConfig','getFirstRange','292374keyOBF','clear','comments.maxCommentCharsWhenCollapsed','has','descriptionParts','fire','destroy','comments','2590026LlUIbV','396JCZJqp','discardAllSuggestions','stopListening','_annotationViews','1147810IRBIst','CommentsUI','SuggestionView','requires','config','define','createAnnotationView','isPremiumPlugin','trackChangesLicenseKeyExpired','plugins','comments.maxThreadTotalWeight','EditorAnnotations','type','discardSelectedSuggestions','TrackChangesPreview','suggestionChanged','getAnnotationForSuggestion','createCommentThreadController','lowest','SuggestionThreadView','value','actionView','invalid','_updateController','switchbutton','trackChangesLicenseKeyNotAllowed','expired','TrackChangesEditing','values','isInContent','discardButton','length','from','size','locale','commentThread','init','menuitemcheckbox','getSuggestion','TrackChanges','trackChangesLicenseKeyTrialLimit','Track\x20changes','acceptAllSuggestions','suggestionLoaded','mainView','trackChangesLicenseKeyInvalid','change:previous','CommentView','view','getMarkers','_handleSuggestionControllerDelayed','previous','head','add','featureNotAllowed','activeAnnotations','suggestionView','createAnnotation','TrackChangesUI','buttonView','listenTo','_bindAnnotationToEditors','change:activeAnnotations','unbind','some','getByInnerView','getAllAdjacentSuggestions','delete','getDescriptions','acceptButton','componentFactory','menuitem','Accept\x20all\x20selected\x20suggestions','push','_addUIComponentsToFactory','12294530XLAObS','panelView','evaluationLimit','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyValid','isEnabled','button','hasSuggestion','refreshSelectedViews','keys','7912976HhmWiQ','7762664RXJhdh','trackChangesLicenseKeyDomainLimit','addMany','remove','trackChanges.SuggestionView','set','getJoined','_destroyController','_suggestionToController','_createMenuBarMenu','getMarkerNames','_unbindEditors','trackChanges.disableComments','focus','commentsListView','_showLicenseError','suggestion-','2DHKNst','licenseKey','escape','innerView','_initializeController','pluginName','descriptionFactory','editor','_disableComments','usageLimit','menuBar:trackChanges','domainLimit','source','suggestionUnloaded','addSourceCollector','separator','trialLimit','trackChanges','reduce','getSuggestionForAnnotation'];_0x5813=function(){return _0xabd2bb;};return _0x5813();}function Ee(_0x3b7c12){const _0x8e0322=_0x2ce6d5;return _0x8e0322(0x17e)in _0x3b7c12;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x185123=_0x5d23;function _0x21e7(){const _0x37a32a=['get','destroy','unbind','add','bind','_editor','commentThreadController','_acceptCommand','_pendingAction','listenTo','discardSuggestion','acceptSuggestion','canEditAt','1956330JVxlwg','canDiscard','remove','773681SOuqMR','isDirty','_discardCommand','PendingActions','execute','model','locale','canAccept','getRanges','stopListening','plugins','isEnabled','view','_setPendingAction','_removePendingAction','2OAJBsP','PENDING_ACTION_SUGGESTION','commands','579378SrGkMf','1688600Xesdkp','1315465IgWeis','63FyFtIJ','7568LtKfXG','6669OxMSOX','1617174TIsvve','change:isDirty'];_0x21e7=function(){return _0x37a32a;};return _0x21e7();}(function(_0x21ac2a,_0x155405){const _0x509184=_0x5d23,_0x451982=_0x21ac2a();while(!![]){try{const _0x5d2469=-parseInt(_0x509184(0xdd))/0x1*(parseInt(_0x509184(0xc2))/0x2)+parseInt(_0x509184(0xcb))/0x3+-parseInt(_0x509184(0xc6))/0x4+-parseInt(_0x509184(0xc7))/0x5+parseInt(_0x509184(0xc5))/0x6*(parseInt(_0x509184(0xc8))/0x7)+-parseInt(_0x509184(0xc9))/0x8*(-parseInt(_0x509184(0xca))/0x9)+-parseInt(_0x509184(0xda))/0xa;if(_0x5d2469===_0x155405)break;else _0x451982['push'](_0x451982['shift']());}catch(_0x297281){_0x451982['push'](_0x451982['shift']());}}}(_0x21e7,0x6ef9a));import{ObservableMixin as _0x55df85}from'ckeditor5/src/utils.js';function _0x5d23(_0x471467,_0x90cdfe){const _0x21e7e5=_0x21e7();return _0x5d23=function(_0x5d2331,_0x4f7682){_0x5d2331=_0x5d2331-0xc0;let _0x2826ed=_0x21e7e5[_0x5d2331];return _0x2826ed;},_0x5d23(_0x471467,_0x90cdfe);}import{getTranslation as _0x4a6a23}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x55df85(){[_0x185123(0xe2)];[_0x185123(0xe9)];[_0x185123(0xd3)];[_0x185123(0xd2)];[_0x185123(0xd4)];[_0x185123(0xdf)];[_0x185123(0xd5)];constructor(_0x53ea48,_0x1037a6,_0x359f6a,_0x26312c){const _0xcfc02e=_0x185123;super(),this[_0xcfc02e(0xe2)]=_0x1037a6,this[_0xcfc02e(0xe9)]=_0x359f6a,this[_0xcfc02e(0xd3)]=_0x26312c,this[_0xcfc02e(0xd2)]=_0x53ea48,this[_0xcfc02e(0xd4)]=_0x53ea48[_0xcfc02e(0xc4)][_0xcfc02e(0xcd)](_0xcfc02e(0xd8)),this[_0xcfc02e(0xdf)]=_0x53ea48[_0xcfc02e(0xc4)][_0xcfc02e(0xcd)](_0xcfc02e(0xd7)),this[_0xcfc02e(0xe9)][_0xcfc02e(0xd1)](_0xcfc02e(0xe8))['to'](this[_0xcfc02e(0xd4)],this[_0xcfc02e(0xdf)],(_0x377db9,_0x40a451)=>_0x377db9||_0x40a451),this[_0xcfc02e(0xe9)][_0xcfc02e(0xd1)](_0xcfc02e(0xe4))['to'](this[_0xcfc02e(0xd4)],_0xcfc02e(0xe8),_0x442ec6=>_0x442ec6&&this[_0xcfc02e(0xd2)][_0xcfc02e(0xe2)][_0xcfc02e(0xd9)](_0x1037a6[_0xcfc02e(0xe5)]())),this[_0xcfc02e(0xe9)][_0xcfc02e(0xd1)](_0xcfc02e(0xdb))['to'](this[_0xcfc02e(0xdf)],_0xcfc02e(0xe8),_0x101fdf=>_0x101fdf&&this[_0xcfc02e(0xd2)][_0xcfc02e(0xe2)][_0xcfc02e(0xd9)](_0x1037a6[_0xcfc02e(0xe5)]())),this[_0xcfc02e(0xd5)]=null,_0x359f6a[_0xcfc02e(0xde)]&&this[_0xcfc02e(0xc0)](),this[_0xcfc02e(0xd6)](_0x359f6a,_0xcfc02e(0xd8),()=>this[_0xcfc02e(0xd8)]()),this[_0xcfc02e(0xd6)](_0x359f6a,_0xcfc02e(0xd7),()=>this[_0xcfc02e(0xd7)]()),this[_0xcfc02e(0xd6)](_0x359f6a,_0xcfc02e(0xcc),()=>{const _0xd99037=_0xcfc02e;_0x359f6a[_0xd99037(0xde)]?this[_0xd99037(0xc0)]():this[_0xd99037(0xc1)]();});}[_0x185123(0xd8)](){const _0x4ca8f5=_0x185123;this[_0x4ca8f5(0xd4)][_0x4ca8f5(0xe1)](this[_0x4ca8f5(0xe2)]['id']);}[_0x185123(0xd7)](){const _0x56d276=_0x185123;this[_0x56d276(0xdf)][_0x56d276(0xe1)](this[_0x56d276(0xe2)]['id']);}[_0x185123(0xce)](){const _0x242746=_0x185123;this[_0x242746(0xe9)][_0x242746(0xcf)](_0x242746(0xe8)),this[_0x242746(0xe9)][_0x242746(0xcf)](_0x242746(0xe4)),this[_0x242746(0xe9)][_0x242746(0xcf)](_0x242746(0xdb)),this[_0x242746(0xe6)](),this[_0x242746(0xd3)][_0x242746(0xce)](),this[_0x242746(0xd5)]&&this[_0x242746(0xc1)]();}[_0x185123(0xc0)](){const _0x2d5dc4=_0x185123,_0x406b22=_0x4a6a23(this[_0x2d5dc4(0xd2)][_0x2d5dc4(0xe3)],_0x2d5dc4(0xc3));this[_0x2d5dc4(0xd5)]=this[_0x2d5dc4(0xd2)][_0x2d5dc4(0xe7)][_0x2d5dc4(0xcd)](_0x2d5dc4(0xe0))[_0x2d5dc4(0xd0)](_0x406b22);}[_0x185123(0xc1)](){const _0xc05557=_0x185123;null!==this[_0xc05557(0xd5)]&&this[_0xc05557(0xd2)][_0xc05557(0xe7)][_0xc05557(0xcd)](_0xc05557(0xe0))[_0xc05557(0xdc)](this[_0xc05557(0xd5)]),this[_0xc05557(0xd5)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43b234=_0x1fb2;(function(_0x4e826b,_0x13e026){const _0x54013f=_0x1fb2,_0x54915d=_0x4e826b();while(!![]){try{const _0x44f8e6=parseInt(_0x54013f(0xfa))/0x1+-parseInt(_0x54013f(0xeb))/0x2+-parseInt(_0x54013f(0xf7))/0x3+parseInt(_0x54013f(0xf8))/0x4*(-parseInt(_0x54013f(0xf2))/0x5)+parseInt(_0x54013f(0x102))/0x6*(-parseInt(_0x54013f(0xe3))/0x7)+parseInt(_0x54013f(0xbe))/0x8*(-parseInt(_0x54013f(0xdd))/0x9)+parseInt(_0x54013f(0xbf))/0xa*(parseInt(_0x54013f(0x103))/0xb);if(_0x44f8e6===_0x13e026)break;else _0x54915d['push'](_0x54915d['shift']());}catch(_0x4fe585){_0x54915d['push'](_0x54915d['shift']());}}}(_0x457e,0xe2343));import{FocusCycler as _0x5a8453,View as _0x2f8ac4,ViewCollection as _0xfe531c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x463eee,KeystrokeHandler as _0x30191a}from'ckeditor5/src/utils.js';function _0x457e(){const _0x13e03d=['ariaLabel','18ecGwmC','ariaDescriptionView','focus','disabledSubmit','body','removeComment','420EDCLUM','CommentView','updateComment','isReadOnly','textContent','focusTracker','keystrokes','_model','1656656ApJfgc','element','isActive','setData','render','_localUser','content','2635EfeeBC','name','SUGGESTION_THREAD_DESCRIPTION','isDirty','join','4014093zPqltd','2532YRzfIq','editorConfig','785936mxvJuM','commentInputView','isEnabled','length','canAccept','canDiscard','text/html','_createCommentViews','184686lSJvtj','16972879cUVIMp','shift+tab','commentsListView','cancel','map','566248WwoAoP','30tuNTXL','hasDirtyComment','disableComments','bind','_createCommentThreadInputView','value','commentThreadInputView','set','parseFromString','tab','author','fire','editor','SUGGESTION_THREAD_ARIA_LABEL','descriptionParts','addComment','locale','target','formatDateTime','commentThread','showInput','destroy','authoredAt','delegate','focusCycler','assign','_config','submit','focusables'];_0x457e=function(){return _0x13e03d;};return _0x457e();}import{AriaDescriptionView as _0x581978,setupThreadKeyboardNavigation as _0x37a664}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1fb2(_0x2d650f,_0xccc609){const _0x457e73=_0x457e();return _0x1fb2=function(_0x1fb20c,_0x33070){_0x1fb20c=_0x1fb20c-0xbc;let _0x1b026d=_0x457e73[_0x1fb20c];return _0x1b026d;},_0x1fb2(_0x2d650f,_0xccc609);}import{getTranslation as _0x2c344c}from'../../utils/common-translations.js';import{renderDescription as _0x2888ae}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2f8ac4{[_0x43b234(0x105)];[_0x43b234(0xc5)];[_0x43b234(0xde)];[_0x43b234(0xdb)];[_0x43b234(0xe8)];[_0x43b234(0xe9)];[_0x43b234(0xd7)];[_0x43b234(0xea)];[_0x43b234(0xf0)];[_0x43b234(0xd9)];constructor(_0x4c80d0,_0x3977be,_0x48c821,_0x334f0d){const _0x23c6cc=_0x43b234;super(_0x4c80d0),this[_0x23c6cc(0x105)]=null,this[_0x23c6cc(0xc5)]=null,this[_0x23c6cc(0xde)]=new _0x581978(_0x4c80d0,_0x2c344c(_0x4c80d0,_0x23c6cc(0xf4))),this[_0x23c6cc(0xc6)](_0x23c6cc(0xed),!0x1),this[_0x23c6cc(0xc6)](_0x23c6cc(0xd5),_0x3977be[_0x23c6cc(0xd5)]),this[_0x23c6cc(0xc2)](_0x23c6cc(0xd5))['to'](_0x3977be),this[_0x23c6cc(0xc6)](_0x23c6cc(0xcd),[]),this[_0x23c6cc(0xc6)](_0x23c6cc(0xf5),!0x1),this[_0x23c6cc(0xc6)](_0x23c6cc(0xfc),!0x1),this[_0x23c6cc(0xc6)](_0x23c6cc(0xfe),!0x1),this[_0x23c6cc(0xc6)](_0x23c6cc(0xff),!0x1),this[_0x23c6cc(0xc2)](_0x23c6cc(0xdc))['to'](this,_0x23c6cc(0xfd),_0x3977be,_0x23c6cc(0xd5),this,_0x23c6cc(0xcd),(_0x4121b4,_0x160fa1,_0x9f44ec)=>{const _0x3ae749=_0x23c6cc,_0x542220=_0x9f44ec[_0x3ae749(0xbd)](_0x1315fc=>_0x2888ae(_0x1315fc[_0x3ae749(0xf1)]))[_0x3ae749(0xf6)]('.\x20')+'.';return _0x2c344c(this[_0x3ae749(0xcf)],_0x3ae749(0xcc),[_0x4121b4-0x1,_0x3977be[_0x3ae749(0xc9)][_0x3ae749(0xf3)],_0x160fa1?_0x334f0d[_0x3ae749(0xd1)](_0x160fa1):'',new DOMParser()[_0x3ae749(0xc7)](_0x542220,_0x3ae749(0x100))[_0x3ae749(0xe1)][_0x3ae749(0xe7)]]);}),this[_0x23c6cc(0xdb)]=new _0xfe531c(),this[_0x23c6cc(0xe8)]=new _0x463eee(),this[_0x23c6cc(0xe9)]=new _0x30191a(),this[_0x23c6cc(0xd7)]=new _0x5a8453({'focusables':this[_0x23c6cc(0xdb)],'focusTracker':this[_0x23c6cc(0xe8)],'keystrokeHandler':this[_0x23c6cc(0xe9)],'keystrokeHandlerOptions':{'filter':_0xbf9d6e=>_0xbf9d6e[_0x23c6cc(0xd0)]!==this[_0x23c6cc(0xec)]},'actions':{'focusPrevious':_0x23c6cc(0x104),'focusNext':_0x23c6cc(0xc8)}}),this[_0x23c6cc(0xea)]=_0x3977be,this[_0x23c6cc(0xf0)]=_0x48c821,this[_0x23c6cc(0xd9)]=_0x334f0d,_0x334f0d[_0x23c6cc(0xc1)]?this[_0x23c6cc(0xc6)](_0x23c6cc(0xfd),0x1):this[_0x23c6cc(0x101)]();}[_0x43b234(0xef)](){const _0x4715fe=_0x43b234;super[_0x4715fe(0xef)](),_0x37a664(this,this[_0x4715fe(0xdb)]);}[_0x43b234(0xdf)](){const _0x43a56d=_0x43b234;this[_0x43a56d(0xec)][_0x43a56d(0xdf)]();}[_0x43b234(0xd4)](){const _0x297709=_0x43b234;this[_0x297709(0x105)]&&this[_0x297709(0x105)][_0x297709(0xd4)](),this[_0x297709(0xc5)]&&this[_0x297709(0xc5)][_0x297709(0xd4)](),super[_0x297709(0xd4)]();}[_0x43b234(0x101)](){const _0x54f109=_0x43b234,{CommentsListView:_0x340ec6}=this[_0x54f109(0xd9)];this[_0x54f109(0x105)]=new _0x340ec6(this[_0x54f109(0xcf)],this[_0x54f109(0xea)][_0x54f109(0xd2)],Object[_0x54f109(0xd8)]({'CommentView':this[_0x54f109(0xd9)][_0x54f109(0xe4)]},this[_0x54f109(0xd9)])),this[_0x54f109(0x105)][_0x54f109(0xd6)](_0x54f109(0xe2))['to'](this),this[_0x54f109(0x105)][_0x54f109(0xd6)](_0x54f109(0xe5))['to'](this),this[_0x54f109(0x105)][_0x54f109(0xc2)](_0x54f109(0xed))['to'](this),this[_0x54f109(0xc6)](_0x54f109(0xfd),this[_0x54f109(0x105)][_0x54f109(0xfd)]+0x1),this[_0x54f109(0xc2)](_0x54f109(0xfd))['to'](this[_0x54f109(0x105)],_0x54f109(0xfd),_0x55e00a=>_0x55e00a+0x1),this[_0x54f109(0xc5)]=this[_0x54f109(0xc3)](),this['on'](_0x54f109(0xe2),()=>this[_0x54f109(0xdf)]()),this[_0x54f109(0xc2)](_0x54f109(0xf5))['to'](this[_0x54f109(0x105)],_0x54f109(0xc0),this[_0x54f109(0xc5)][_0x54f109(0xfb)],_0x54f109(0xc4),(_0x2b4f99,_0xc0c92a)=>_0x2b4f99||!!_0xc0c92a);}[_0x43b234(0xc3)](){const _0x59415a=_0x43b234,{CommentThreadInputView:_0x2e9c14}=this[_0x59415a(0xd9)],_0x512788=new _0x2e9c14(this[_0x59415a(0xcf)],this[_0x59415a(0xf0)],this[_0x59415a(0xd9)][_0x59415a(0xf9)]),_0x29cf30=_0x512788[_0x59415a(0xfb)];return _0x512788[_0x59415a(0xc2)](_0x59415a(0xd3))['to'](this,_0x59415a(0xed),this[_0x59415a(0xea)][_0x59415a(0xd2)],_0x59415a(0xe6),_0x29cf30,_0x59415a(0xc4),(_0x23dab9,_0x598a8d,_0x1211d7)=>!!_0x1211d7||_0x23dab9&&!_0x598a8d),_0x29cf30['on'](_0x59415a(0xda),(_0x445be2,_0x2e897e)=>{const _0x104be5=_0x59415a;this[_0x104be5(0xca)](_0x104be5(0xce),_0x2e897e),_0x29cf30[_0x104be5(0xcb)][_0x104be5(0xee)]('');}),_0x29cf30['on'](_0x59415a(0xbc),()=>this[_0x59415a(0xdf)]()),_0x29cf30[_0x59415a(0xc2)](_0x59415a(0xe0))['to'](this[_0x59415a(0xea)][_0x59415a(0xd2)],_0x59415a(0xe6)),_0x512788;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x497119=_0x3a70;(function(_0x120b86,_0x239c27){const _0x242f85=_0x3a70,_0x5525a8=_0x120b86();while(!![]){try{const _0x1a0ae9=parseInt(_0x242f85(0x18a))/0x1*(parseInt(_0x242f85(0x193))/0x2)+-parseInt(_0x242f85(0x1a6))/0x3*(-parseInt(_0x242f85(0x191))/0x4)+-parseInt(_0x242f85(0x184))/0x5*(parseInt(_0x242f85(0x182))/0x6)+-parseInt(_0x242f85(0x176))/0x7+-parseInt(_0x242f85(0x181))/0x8+-parseInt(_0x242f85(0x1a2))/0x9*(parseInt(_0x242f85(0x17c))/0xa)+-parseInt(_0x242f85(0x19f))/0xb*(-parseInt(_0x242f85(0x179))/0xc);if(_0x1a0ae9===_0x239c27)break;else _0x5525a8['push'](_0x5525a8['shift']());}catch(_0x257750){_0x5525a8['push'](_0x5525a8['shift']());}}}(_0x540c,0xd9137));function _0x540c(){const _0x590f4c=['ck-suggestion-wrapper','_descriptionElement','1zqFPQi','ck-rounded-corners','discardButton','setTemplate','type','color','ariaLabel','6952GrNhUJ','editorDestroyed','3071132PQAIku','ck-suggestion-','listitem','suggestionView','getTemplate','editorReady','author','ck-suggestion-wrapper--active','focusables','canAccept','render','commentsListView','240471ZPCErA','delegate','_model','9sHHsaP','bind','commentThread','_config','162GXULOj','isActive','ariaDescriptionView','discardSuggestion','div','content','<p>','commentThreadInputView','push','acceptSuggestion','formatDateTime','11078193pcjbvo','acceptButton','SuggestionView','672seTnlW','</p>','canDiscard','1800550HjKOww','description','set','add','ck-suggestion--disabled-comments','1227144nyqRZl','72dWbWxu','disableComments','20185kFWXjr','isEnabled','bindTemplate','descriptionParts'];_0x540c=function(){return _0x590f4c;};return _0x540c();}function _0x3a70(_0x194c4e,_0x139d8e){const _0x540c87=_0x540c();return _0x3a70=function(_0x3a70aa,_0x44eef8){_0x3a70aa=_0x3a70aa-0x173;let _0x574a87=_0x540c87[_0x3a70aa];return _0x574a87;},_0x3a70(_0x194c4e,_0x139d8e);}import{BaseSuggestionThreadView as _0x57a685}from'./basesuggestionthreadview.js';import{trimHtml as _0x6897df}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1f6d58}from'../../utils/utils.js';export class SuggestionThreadView extends _0x57a685{[_0x497119(0x196)];[_0x497119(0x189)];constructor(_0x559533,_0x2f1282,_0x400999,_0x30f376){const _0x45c625=_0x497119;super(_0x559533,_0x2f1282,_0x400999,_0x30f376),this[_0x45c625(0x17e)](_0x45c625(0x18e),''),this[_0x45c625(0x1a3)](_0x45c625(0x18e))['to'](this,_0x45c625(0x187),_0x2e4eee=>_0x2e4eee&&_0x2e4eee[0x0]?_0x2e4eee[0x0][_0x45c625(0x18e)]:''),this[_0x45c625(0x1a3)](_0x45c625(0x17d))['to'](this,_0x45c625(0x187),this,_0x45c625(0x1a7),(_0x1a212a,_0x374f81)=>{const _0x2b3fb7=_0x45c625;let _0x24fde3='';for(const _0x58ab41 of _0x1a212a)_0x24fde3+=_0x2b3fb7(0x1ac)+_0x1f6d58(_0x58ab41[_0x2b3fb7(0x1ab)],_0x58ab41[_0x2b3fb7(0x18f)])+_0x2b3fb7(0x17a);return _0x374f81?_0x24fde3:_0x6897df(_0x24fde3,{'limit':0x8c});}),this[_0x45c625(0x189)]=null,this[_0x45c625(0x196)]=new _0x30f376[(_0x45c625(0x178))](_0x559533,_0x2f1282,{'formatDateTime':_0x30f376[_0x45c625(0x175)]}),this[_0x45c625(0x196)][_0x45c625(0x1a3)](_0x45c625(0x17d))['to'](this),this[_0x45c625(0x196)][_0x45c625(0x1a0)](_0x45c625(0x174),_0x45c625(0x1a9))['to'](this),this[_0x45c625(0x196)][_0x45c625(0x177)][_0x45c625(0x1a3)](_0x45c625(0x185))['to'](this,_0x45c625(0x19c)),this[_0x45c625(0x196)][_0x45c625(0x18c)][_0x45c625(0x1a3)](_0x45c625(0x185))['to'](this,_0x45c625(0x17b)),this[_0x45c625(0x19b)][_0x45c625(0x17f)](this[_0x45c625(0x196)]),this[_0x45c625(0x19e)]&&this[_0x45c625(0x19b)][_0x45c625(0x17f)](this[_0x45c625(0x19e)]),this[_0x45c625(0x1ad)]&&this[_0x45c625(0x19b)][_0x45c625(0x17f)](this[_0x45c625(0x1ad)]),this[_0x45c625(0x18d)](this[_0x45c625(0x197)]());}[_0x497119(0x197)](){const _0x29491d=_0x497119,_0x53620e=this[_0x29491d(0x186)],_0x485801=[this[_0x29491d(0x196)]];return this[_0x29491d(0x19e)]&&_0x485801[_0x29491d(0x173)](this[_0x29491d(0x19e)]),this[_0x29491d(0x1ad)]&&_0x485801[_0x29491d(0x173)](this[_0x29491d(0x1ad)]),_0x485801[_0x29491d(0x173)](this[_0x29491d(0x1a8)]),{'tag':_0x29491d(0x1aa),'attributes':{'class':['ck',_0x29491d(0x18b),_0x29491d(0x188),_0x53620e['if'](_0x29491d(0x1a7),_0x29491d(0x19a)),_0x53620e['to'](_0x29491d(0x18e),_0x3c0fec=>_0x29491d(0x194)+_0x3c0fec),this[_0x29491d(0x1a5)][_0x29491d(0x183)]&&_0x29491d(0x180)],'data-suggestion-id':this[_0x29491d(0x1a1)]['id'],'data-thread-id':this[_0x29491d(0x1a1)][_0x29491d(0x1a4)]['id'],'data-author-id':this[_0x29491d(0x1a1)][_0x29491d(0x199)]['id'],'tabindex':0x0,'role':_0x29491d(0x195),'aria-label':_0x53620e['to'](_0x29491d(0x190)),'aria-describedby':this[_0x29491d(0x1a8)]['id']},'children':_0x485801};}[_0x497119(0x19d)](){const _0x22c2d1=_0x497119;super[_0x22c2d1(0x19d)](),this[_0x22c2d1(0x19e)]&&(this[_0x22c2d1(0x19e)][_0x22c2d1(0x1a0)](_0x22c2d1(0x198))['to'](this),this[_0x22c2d1(0x19e)][_0x22c2d1(0x1a0)](_0x22c2d1(0x192))['to'](this)),this[_0x22c2d1(0x1ad)]&&(this[_0x22c2d1(0x1ad)][_0x22c2d1(0x1a0)](_0x22c2d1(0x198))['to'](this),this[_0x22c2d1(0x1ad)][_0x22c2d1(0x1a0)](_0x22c2d1(0x192))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x43d7(_0x18a17e,_0xfa8a10){const _0x20f1e8=_0x20f1();return _0x43d7=function(_0x43d736,_0x3a6ca1){_0x43d736=_0x43d736-0x153;let _0x242c6e=_0x20f1e8[_0x43d736];return _0x242c6e;},_0x43d7(_0x18a17e,_0xfa8a10);}const _0x27ca53=_0x43d7;(function(_0x5110b3,_0x33c7ad){const _0x2564f8=_0x43d7,_0x54eb1c=_0x5110b3();while(!![]){try{const _0x3f071e=parseInt(_0x2564f8(0x19b))/0x1+parseInt(_0x2564f8(0x195))/0x2+-parseInt(_0x2564f8(0x174))/0x3+-parseInt(_0x2564f8(0x199))/0x4*(parseInt(_0x2564f8(0x188))/0x5)+-parseInt(_0x2564f8(0x153))/0x6+-parseInt(_0x2564f8(0x179))/0x7*(parseInt(_0x2564f8(0x18b))/0x8)+parseInt(_0x2564f8(0x17d))/0x9*(parseInt(_0x2564f8(0x17f))/0xa);if(_0x3f071e===_0x33c7ad)break;else _0x54eb1c['push'](_0x54eb1c['shift']());}catch(_0x55f547){_0x54eb1c['push'](_0x54eb1c['shift']());}}}(_0x20f1,0xbbc96));import{FocusTracker as _0x446b52,KeystrokeHandler as _0x37df1c}from'ckeditor5/src/utils.js';import{View as _0x29cb51,ViewCollection as _0x2e811e,FocusCycler as _0x26d9f7}from'ckeditor5/src/ui.js';function _0x20f1(){const _0x3cd7d1=['name','ck-suggestion__info','element','EXTERNAL_IMPORT_WORD_SUGGESTION','div','ck-comment__external','2486742RLZSgq','description','tab','push','8puRJAB','_config','401682PeUmSA','execute','time','enter','presentation','focusFirst','ck-annotation__main','span','ck-comment__info-time','attributes','ck-annotation__info-name','bind','getTemplate','Accept\x20suggestion','ck-annotation__user','ck-suggestion__main','set','4435026gipReu','ck-suggestion__info-name','ck-suggestion--discard','ck-annotation__content-wrapper','extendTemplate','_createButton','add','EXTERNAL_IMPORT_WORD_AVATAR','Discard\x20suggestion','acceptButton','EXTERNAL_SUGGESTION','@external','ck-suggestion--accept','author','creator','focus','authoredAt','keystrokes','ck-suggestion__user','_setupKeyboardNavigation','ck-suggestion__actions','innerHTML','discardButton','.ck-annotation__content-wrapper','focusTracker','esc','ck-suggestion','setTemplate','importWord','acceptSuggestion','listenTo','ck-annotation__info','getExternalSuggestionNote','1162545PCfQEv','EXTERNAL_AVATAR','_model','render','ck-annotation__info-time','8457043ubPkkQ','bindTemplate','ck-annotation','source','236331gqruvL','shift+tab','880gtoMSJ','userView','locale','target','focusCycler','ck-annotation__actions','change:description','getUserViewNotificationText','formatDateTime','2129590EKvYuu','fire','discardSuggestion','8KtWBcu','isExternal','focusables','querySelector'];_0x20f1=function(){return _0x3cd7d1;};return _0x20f1();}import{LateFocusButtonView as _0x3756bb,UserView as _0x2454e2}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x382217,IconCheck as _0x5d5bd1}from'ckeditor5/src/icons.js';import{getTranslation as _0x2e1511}from'../../utils/common-translations.js';export class SuggestionView extends _0x29cb51{[_0x27ca53(0x180)];[_0x27ca53(0x15c)];[_0x27ca53(0x169)];[_0x27ca53(0x18d)];[_0x27ca53(0x16b)];[_0x27ca53(0x164)];[_0x27ca53(0x183)];[_0x27ca53(0x176)];[_0x27ca53(0x19a)];constructor(_0xbcfed8,_0x47332b,_0x5ee5c1){const _0x31eb6a=_0x27ca53;super(_0xbcfed8),this[_0x31eb6a(0x176)]=_0x47332b,this[_0x31eb6a(0x19a)]=_0x5ee5c1,this[_0x31eb6a(0x1ab)](_0x31eb6a(0x196),''),this[_0x31eb6a(0x1a6)](_0x31eb6a(0x163))['to'](_0x47332b),this[_0x31eb6a(0x15c)]=this[_0x31eb6a(0x158)](_0x2e1511(_0xbcfed8,_0x31eb6a(0x1a8)),_0x5d5bd1,_0x31eb6a(0x15f),_0x31eb6a(0x170),'sw'),this[_0x31eb6a(0x169)]=this[_0x31eb6a(0x158)](_0x2e1511(_0xbcfed8,_0x31eb6a(0x15b)),_0x382217,_0x31eb6a(0x155),_0x31eb6a(0x18a),'sw'),this[_0x31eb6a(0x180)]=new _0x2454e2(_0xbcfed8,_0x47332b[_0x31eb6a(0x160)],this[_0x31eb6a(0x186)]()),this[_0x31eb6a(0x180)][_0x31eb6a(0x157)]({'attributes':{'class':[_0x31eb6a(0x165),_0x31eb6a(0x1a9)],'aria-hidden':!0x0}}),this[_0x31eb6a(0x18d)]=new _0x2e811e([this[_0x31eb6a(0x15c)],this[_0x31eb6a(0x169)]]),this[_0x31eb6a(0x16b)]=new _0x446b52(),this[_0x31eb6a(0x164)]=new _0x37df1c(),this[_0x31eb6a(0x183)]=new _0x26d9f7({'focusables':this[_0x31eb6a(0x18d)],'focusTracker':this[_0x31eb6a(0x16b)],'keystrokeHandler':this[_0x31eb6a(0x164)],'actions':{'focusPrevious':_0x31eb6a(0x17e),'focusNext':_0x31eb6a(0x197)},'keystrokeHandlerOptions':{'filter':_0x5a2b60=>_0x5a2b60[_0x31eb6a(0x182)]!==this[_0x31eb6a(0x191)]}}),this[_0x31eb6a(0x16e)](this[_0x31eb6a(0x1a7)]());}[_0x27ca53(0x177)](){const _0xd4a99e=_0x27ca53;super[_0xd4a99e(0x177)]();const _0x5bcf56=this[_0xd4a99e(0x191)][_0xd4a99e(0x18e)](_0xd4a99e(0x16a));_0x5bcf56[_0xd4a99e(0x168)]=this[_0xd4a99e(0x196)],this['on'](_0xd4a99e(0x185),(_0x1448c7,_0x4189cb,_0x12b98a)=>{const _0x170e38=_0xd4a99e;_0x5bcf56[_0x170e38(0x168)]=_0x12b98a;}),this[_0xd4a99e(0x166)]();}[_0x27ca53(0x1a7)](){const _0x2cbea9=_0x27ca53,_0x1bcd9b=this[_0x2cbea9(0x17a)],_0x175c9f=[{'tag':_0x2cbea9(0x193),'attributes':{'class':[_0x2cbea9(0x190),_0x2cbea9(0x172)]},'children':[{'tag':_0x2cbea9(0x1a2),'children':[{'text':this[_0x2cbea9(0x180)][_0x2cbea9(0x18f)]}],'attributes':{'class':[_0x2cbea9(0x154),_0x2cbea9(0x1a5)],'data-cke-tooltip-text':this[_0x2cbea9(0x180)][_0x2cbea9(0x18f)]}},{'tag':_0x2cbea9(0x19d),'attributes':{'datetime':_0x1bcd9b['to'](_0x2cbea9(0x163)),'class':[_0x2cbea9(0x1a3),_0x2cbea9(0x178)]},'children':[{'text':_0x1bcd9b['to'](_0x2cbea9(0x163),_0xf25325=>this[_0x2cbea9(0x19a)][_0x2cbea9(0x187)](_0xf25325))}]}]},{'tag':_0x2cbea9(0x193),'attributes':{'class':[_0x2cbea9(0x167),_0x2cbea9(0x184)]},'children':[this[_0x2cbea9(0x15c)],this[_0x2cbea9(0x169)]]},{'tag':_0x2cbea9(0x193),'attributes':{'class':[_0x2cbea9(0x156)]}}];return this[_0x2cbea9(0x176)][_0x2cbea9(0x18c)]&&_0x175c9f[_0x2cbea9(0x198)]({'tag':_0x2cbea9(0x193),'attributes':{'class':[_0x2cbea9(0x194)]},'children':[{'text':this[_0x2cbea9(0x173)]()}]}),{'tag':_0x2cbea9(0x193),'attributes':{'class':[_0x2cbea9(0x16d),_0x2cbea9(0x17b)],'tabindex':-0x1},'children':[this[_0x2cbea9(0x180)],{'tag':_0x2cbea9(0x193),'attributes':{'class':[_0x2cbea9(0x1aa),_0x2cbea9(0x1a1)],'role':_0x2cbea9(0x19f)},'children':_0x175c9f}]};}[_0x27ca53(0x162)](){const _0x38727d=_0x27ca53;this[_0x38727d(0x191)][_0x38727d(0x162)]();}[_0x27ca53(0x186)](){const _0x4c2e0b=_0x27ca53;return this[_0x4c2e0b(0x176)][_0x4c2e0b(0x18c)]?_0x4c2e0b(0x16f)===this[_0x4c2e0b(0x176)][_0x4c2e0b(0x1a4)][_0x4c2e0b(0x15e)][_0x4c2e0b(0x17c)]?_0x2e1511(this[_0x4c2e0b(0x181)],_0x4c2e0b(0x15a),this[_0x4c2e0b(0x176)][_0x4c2e0b(0x161)][_0x4c2e0b(0x18f)]):_0x2e1511(this[_0x4c2e0b(0x181)],_0x4c2e0b(0x175),this[_0x4c2e0b(0x176)][_0x4c2e0b(0x161)][_0x4c2e0b(0x18f)]):null;}[_0x27ca53(0x173)](){const _0x5595a8=_0x27ca53;return _0x5595a8(0x16f)===this[_0x5595a8(0x176)][_0x5595a8(0x1a4)][_0x5595a8(0x15e)][_0x5595a8(0x17c)]?_0x2e1511(this[_0x5595a8(0x181)],_0x5595a8(0x192)):_0x2e1511(this[_0x5595a8(0x181)],_0x5595a8(0x15d));}[_0x27ca53(0x158)](_0x5e111c,_0x1333cb,_0x198e96,_0x2c5c28,_0x582aa6){const _0x45b031=_0x27ca53,_0x50320a=new _0x3756bb(this[_0x45b031(0x181)]);return _0x50320a[_0x45b031(0x1ab)]({'label':_0x5e111c,'icon':_0x1333cb,'tooltip':!0x0,'tooltipPosition':_0x582aa6}),_0x50320a[_0x45b031(0x157)]({'attributes':{'class':_0x198e96}}),_0x50320a['on'](_0x45b031(0x19c),()=>{const _0x213d3e=_0x45b031;this[_0x213d3e(0x189)](_0x2c5c28,this[_0x213d3e(0x176)]['id']);}),_0x50320a;}[_0x27ca53(0x166)](){const _0x115f50=_0x27ca53,_0x75638=this[_0x115f50(0x191)];this[_0x115f50(0x164)][_0x115f50(0x171)](_0x75638);for(const _0xc04674 of this[_0x115f50(0x18d)])this[_0x115f50(0x16b)][_0x115f50(0x159)](_0xc04674[_0x115f50(0x191)]),this[_0x115f50(0x164)][_0x115f50(0x171)](_0xc04674[_0x115f50(0x191)]);this[_0x115f50(0x164)][_0x115f50(0x1ab)](_0x115f50(0x19e),(_0x45b0bf,_0xb36c22)=>{const _0x532eee=_0x115f50;_0x75638===_0x45b0bf[_0x532eee(0x182)]&&(this[_0x532eee(0x183)][_0x532eee(0x1a0)](),_0xb36c22());}),this[_0x115f50(0x164)][_0x115f50(0x1ab)](_0x115f50(0x16c),(_0x558f3f,_0x4b05a5)=>{const _0x46a937=_0x115f50;_0x75638!==_0x558f3f[_0x46a937(0x182)]&&(this[_0x46a937(0x162)](),_0x4b05a5());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2309(_0x132e74,_0x19eb67){const _0x52aba4=_0x52ab();return _0x2309=function(_0x23093c,_0x4ec2f5){_0x23093c=_0x23093c-0x9d;let _0x2f4067=_0x52aba4[_0x23093c];return _0x2f4067;},_0x2309(_0x132e74,_0x19eb67);}const _0x5971e5=_0x2309;(function(_0x324eb2,_0x1f2d33){const _0x6c00a4=_0x2309,_0x1041ea=_0x324eb2();while(!![]){try{const _0xcd162=-parseInt(_0x6c00a4(0xbe))/0x1*(-parseInt(_0x6c00a4(0xad))/0x2)+parseInt(_0x6c00a4(0xa9))/0x3+-parseInt(_0x6c00a4(0x9f))/0x4*(parseInt(_0x6c00a4(0xb8))/0x5)+parseInt(_0x6c00a4(0xac))/0x6*(parseInt(_0x6c00a4(0xbb))/0x7)+parseInt(_0x6c00a4(0xa4))/0x8+-parseInt(_0x6c00a4(0xbf))/0x9+parseInt(_0x6c00a4(0xae))/0xa*(-parseInt(_0x6c00a4(0xba))/0xb);if(_0xcd162===_0x1f2d33)break;else _0x1041ea['push'](_0x1041ea['shift']());}catch(_0x3d2de1){_0x1041ea['push'](_0x1041ea['shift']());}}}(_0x52ab,0xd77b8));import{View as _0x2fbe31}from'ckeditor5/src/ui.js';function _0x52ab(){const _0x4045c1=['options','element','className','innerHTML','style','\x20ck-track-changes-preview__root-container','createElement','render','setTemplate','315885wlfMVH','focus','11xbJIQN','141323QNqdZh','div','setAttribute','4rnunBC','4322745FzNjbb','classes','height','48VhIylZ','fire','data-ck-root-name','content','setPreviewData','5561032SYnlKM','dialogRects','ck-reset','previewDataReady','ck-track-changes-preview','209775gAFtqH','width','push','186HbSASO','466924cnDQDj','2037160jEXGHN'];_0x52ab=function(){return _0x4045c1;};return _0x52ab();}export class TrackChangesPreviewView extends _0x2fbe31{[_0x5971e5(0xaf)];constructor(_0x4e7951,_0x60c22a){const _0x5d2048=_0x5971e5;super(_0x4e7951),this[_0x5d2048(0xaf)]=_0x60c22a,this[_0x5d2048(0xb7)]({'tag':_0x5d2048(0xbc),'attributes':{'class':['ck',_0x5d2048(0xa6),_0x5d2048(0xa8)],'tabindex':-0x1}});}[_0x5971e5(0xb6)](){const _0x2404fc=_0x5971e5;super[_0x2404fc(0xb6)](),this[_0x2404fc(0xb0)][_0x2404fc(0xb3)][_0x2404fc(0xaa)]=this[_0x2404fc(0xaf)][_0x2404fc(0xa5)][_0x2404fc(0xaa)]+'px',this[_0x2404fc(0xb0)][_0x2404fc(0xb3)][_0x2404fc(0x9e)]=this[_0x2404fc(0xaf)][_0x2404fc(0xa5)][_0x2404fc(0x9e)]+'px';}[_0x5971e5(0xa3)](_0x56ca26,_0x44350c){const _0x38f284=_0x5971e5;if(!this[_0x38f284(0xb0)])return;const _0x315e31=[];for(const [_0x4e6991,_0xba15ee]of _0x56ca26){const _0x9c4d2e=document[_0x38f284(0xb5)](_0x38f284(0xbc));_0x9c4d2e[_0x38f284(0xbd)](_0x38f284(0xa1),_0x4e6991),_0x9c4d2e[_0x38f284(0xb1)]=_0xba15ee[_0x38f284(0x9d)]+_0x38f284(0xb4),_0x9c4d2e[_0x38f284(0xb2)]=_0xba15ee[_0x38f284(0xa2)],_0x315e31[_0x38f284(0xab)](_0x9c4d2e);}_0x44350c(this[_0x38f284(0xb0)],_0x315e31),this[_0x38f284(0xb0)][_0x38f284(0xb3)][_0x38f284(0x9e)]='',this[_0x38f284(0xa0)](_0x38f284(0xa7));}[_0x5971e5(0xb9)](){const _0x12f726=_0x5971e5;this[_0x12f726(0xb0)][_0x12f726(0xb9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2b8d6e,_0x3253c4,_0x553086){const _0x3f311e=_0x2b8d6e['t'],t=_0x2b8d6e['t'];switch(_0x3253c4){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',_0x553086);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x553086);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x553086);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x553086);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x553086);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',_0x553086);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x553086);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',_0x553086);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x553086);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x553086);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x553086);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x553086);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x553086);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x553086);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x553086);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x553086);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x553086);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x553086);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x553086);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x553086);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x553086);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x553086);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x553086);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x553086);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x553086);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'},_0x553086);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x553086);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x553086);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x553086);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x553086);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x553086);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x553086);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x553086);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'},_0x553086);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x553086);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x553086);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x553086);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x553086);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x553086);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x553086);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'},_0x553086);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x553086);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x553086);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'},_0x553086);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x553086);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'},_0x553086);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x553086);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x553086);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'},_0x553086);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x553086);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 _0x3f311e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x553086);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3f311e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x553086);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x553086);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'},_0x553086);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'},_0x553086);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'},_0x553086);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3253c4;}}
|
|
23
|
+
export function getTranslation(_0xdfb1a5,_0x1e37dc,_0x1015b7){const _0x1466d4=_0xdfb1a5['t'],t=_0xdfb1a5['t'];switch(_0x1e37dc){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',_0x1015b7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1015b7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1015b7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1015b7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1015b7);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',_0x1015b7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1015b7);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',_0x1015b7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1015b7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1015b7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1015b7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1015b7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1015b7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1015b7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1015b7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1015b7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1015b7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1015b7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1015b7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1015b7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1015b7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1015b7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1015b7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1015b7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1015b7);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'},_0x1015b7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1015b7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1015b7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1015b7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1015b7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1015b7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1015b7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1015b7);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'},_0x1015b7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1015b7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1015b7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1015b7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1015b7);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1015b7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1015b7);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'},_0x1015b7);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1015b7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1015b7);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'},_0x1015b7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1015b7);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'},_0x1015b7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1015b7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1015b7);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'},_0x1015b7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1015b7);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 _0x1466d4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1015b7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1466d4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1015b7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1015b7);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'},_0x1015b7);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'},_0x1015b7);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'},_0x1015b7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1e37dc;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b39c1,_0x11c3cc){const _0x2be005=_0xfc28,_0x486a41=_0x4b39c1();while(!![]){try{const _0x5b06aa=parseInt(_0x2be005(0x206))/0x1*(parseInt(_0x2be005(0x20b))/0x2)+-parseInt(_0x2be005(0x219))/0x3*(-parseInt(_0x2be005(0x213))/0x4)+-parseInt(_0x2be005(0x200))/0x5+-parseInt(_0x2be005(0x1f9))/0x6+-parseInt(_0x2be005(0x217))/0x7*(parseInt(_0x2be005(0x1fd))/0x8)+parseInt(_0x2be005(0x20d))/0x9+parseInt(_0x2be005(0x222))/0xa;if(_0x5b06aa===_0x11c3cc)break;else _0x486a41['push'](_0x486a41['shift']());}catch(_0x4c7201){_0x486a41['push'](_0x486a41['shift']());}}}(_0x22ad,0xb1250));export function normalizeDescription(_0x214d8f){const _0x151a9b=_0xfc28;return Array[_0x151a9b(0x1f0)](_0x214d8f)||(_0x214d8f=[_0x214d8f]),_0x214d8f[_0x151a9b(0x1ff)](_0x43568d=>{const _0x50ee03=_0x151a9b,_0x3f715d=_0x43568d[_0x50ee03(0x215)][_0x50ee03(0x21a)](/\*/g,''),_0x144c6d=_0x43568d[_0x50ee03(0x21b)]?_0x50ee03(0x204)+_0x43568d[_0x50ee03(0x21b)][_0x50ee03(0x1f5)]+']':'';return'['+_0x43568d[_0x50ee03(0x1f3)]+']\x20'+_0x3f715d+_0x144c6d;})[_0x151a9b(0x21f)](';\x20');}export function renderDescription(_0x3c387e,_0x4351a4){const _0x55d08b=_0xfc28;let _0x36e032='';return _0x36e032+=_0x3c387e[_0x55d08b(0x212)]('*')[_0x55d08b(0x1ff)]((_0x41963f,_0x1e3838)=>_0x1e3838%0x2!=0x0?_0x55d08b(0x21d)+tn(_0x41963f)+_0x55d08b(0x21c):tn(_0x41963f))[_0x55d08b(0x21f)](''),_0x4351a4&&(_0x36e032+=_0x55d08b(0x1fa)+_0x4351a4[_0x55d08b(0x1f5)]+_0x55d08b(0x1fe)+_0x4351a4[_0x55d08b(0x220)]+_0x55d08b(0x1f2)),_0x36e032;}function tn(_0x4cb22e){const _0x462687=_0xfc28,_0x3b204e=document[_0x462687(0x20c)](_0x462687(0x211));return _0x3b204e[_0x462687(0x209)]=_0x4cb22e,_0x3b204e[_0x462687(0x1f6)];}export function sortSuggestions(_0x41905a){const _0x469241=_0xfc28;return _0x41905a[_0x469241(0x207)]((_0x10b080,_0x367bf4)=>_0x469241(0x226)===_0x10b080[_0x469241(0x1f3)]&&_0x469241(0x226)!==_0x367bf4[_0x469241(0x1f3)]?-0x1:_0x469241(0x226)!==_0x10b080[_0x469241(0x1f3)]&&_0x469241(0x226)===_0x367bf4[_0x469241(0x1f3)]?0x1:_0x469241(0x223)==_0x10b080[_0x469241(0x1f3)]&&_0x469241(0x223)!=_0x367bf4[_0x469241(0x1f3)]?-0x1:_0x469241(0x223)!=_0x10b080[_0x469241(0x1f3)]&&_0x469241(0x223)==_0x367bf4[_0x469241(0x1f3)]?0x1:0x0);}export function getSelectedSuggestions(_0x1eaf59,_0x2e2ee4){const _0x4b7ebd=_0xfc28,_0x12f7e9=Array[_0x4b7ebd(0x1fc)](_0x1eaf59[_0x4b7ebd(0x216)]()),_0xfa8d5=new Set();for(const _0x25cc5a of _0x2e2ee4)if(_0x25cc5a[_0x4b7ebd(0x221)]){for(const _0x540a0c of _0x12f7e9)for(const _0x23430d of _0x25cc5a[_0x4b7ebd(0x216)]())(_0x540a0c[_0x4b7ebd(0x1f4)](_0x23430d)||_0x1eaf59[_0x4b7ebd(0x208)]&&!_0x25cc5a[_0x4b7ebd(0x20e)]&&_0x25cc5a[_0x4b7ebd(0x218)]&&_0x23430d[_0x4b7ebd(0x1f7)][_0x4b7ebd(0x1f1)](_0x540a0c[_0x4b7ebd(0x202)]))&&_0xfa8d5[_0x4b7ebd(0x1fb)](_0x25cc5a);}return _0xfa8d5;}export function getRangesOfBlockGroups(_0x5b850c,_0x5da37d){const _0x54e60a=_0xfc28;let _0x4b6ff4,_0x3dfb46=0x0;const _0x12f9d6=[],_0x21d03a=_0x5da37d[_0x54e60a(0x205)];for(;_0x3dfb46<_0x5b850c[_0x54e60a(0x214)];){const _0x1ba69b=_0x5b850c[_0x3dfb46],_0x5ab41b=_0x5b850c[_0x3dfb46+0x1];_0x4b6ff4||(_0x4b6ff4=_0x5da37d[_0x54e60a(0x20a)](_0x1ba69b)),nn(_0x5da37d,_0x1ba69b,_0x5ab41b)||(_0x12f9d6[_0x54e60a(0x20f)](_0x5da37d[_0x54e60a(0x203)](_0x4b6ff4,_0x21d03a[_0x54e60a(0x210)](_0x1ba69b)?_0x5da37d[_0x54e60a(0x1f8)](_0x1ba69b):_0x5da37d[_0x54e60a(0x21e)](_0x1ba69b,_0x54e60a(0x1f7)))),_0x4b6ff4=null),_0x3dfb46++;}return _0x12f9d6;}function _0x22ad(){const _0x124520=['isIntersecting','value','innerHTML','end','createPositionAfter','3937284Ojkvnh','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','add','from','16ShJGus','\x22\x20title=\x22','map','4411285XhTPQl','execute','start','createRange','\x20[color\x20','schema','30655lxeTVf','sort','isCollapsed','innerText','createPositionBefore','26xbPcDb','createElement','7078257exWkXK','isMultiRange','push','isObject','span','split','28PbtJfU','length','content','getRanges','3039106PEwPvg','next','44511JOqdiJ','replace','color','</span>','<span\x20class=\x22ck-suggestion-type\x22>','createPositionAt','join','title','isInContent','18435240WxUrZv','deletion','change','splice','attribute','isArray','isTouching','\x22></span>','type'];_0x22ad=function(){return _0x124520;};return _0x22ad();}function _0xfc28(_0x4bcf8f,_0x12eecd){const _0x22adb0=_0x22ad();return _0xfc28=function(_0xfc2852,_0x56fd21){_0xfc2852=_0xfc2852-0x1f0;let _0x5cda8f=_0x22adb0[_0xfc2852];return _0x5cda8f;},_0xfc28(_0x4bcf8f,_0x12eecd);}function nn(_0x5eda46,_0x575c28,_0x3928c6){const _0x21f80a=_0xfc28;if(!_0x3928c6)return!0x1;const _0x2645f3=_0x5eda46[_0x21f80a(0x1f8)](_0x575c28),_0x52865e=_0x5eda46[_0x21f80a(0x20a)](_0x3928c6);return _0x2645f3[_0x21f80a(0x1f1)](_0x52865e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4e1c3f,_0x3b5433,_0x1df282){const _0x551500=_0xfc28;for(;_0x1df282[_0x551500(0x214)];){const _0x29a5c2=_0x1df282[_0x551500(0x225)](0x0,0x64);_0x4e1c3f[_0x551500(0x224)](()=>{const _0x18f636=_0x551500;for(const _0x3e62b1 of _0x29a5c2)_0x3e62b1[_0x18f636(0x221)]&&_0x3b5433[_0x18f636(0x201)](_0x3e62b1['id']);});}}
|