@ckeditor/ckeditor5-track-changes 47.6.1-alpha.0 → 47.6.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xf3ea(){const _0xa7ebb=['define','22504kjvoRF','447232agLRHf','TrackChangesPreview','editor','config','isOfficialPlugin','9XpyKGH','pluginName','30xXEsFd','18756PjbRtz','appendChild','previewFinalContent','isPremiumPlugin','trackChanges.preview.renderFunction','245306umPvVq','462966oYcCle','375732LDKnSb','169660DBvUIn','commands','add','requires'];_0xf3ea=function(){return _0xa7ebb;};return _0xf3ea();}const _0x5607b5=_0x6cfd;(function(_0x40f81c,_0xdbed5e){const _0x18ad0a=_0x6cfd,_0xe82336=_0x40f81c();while(!![]){try{const _0x28d654=-parseInt(_0x18ad0a(0xbf))/0x1+parseInt(_0x18ad0a(0xba))/0x2+parseInt(_0x18ad0a(0xc0))/0x3+parseInt(_0x18ad0a(0xb2))/0x4+parseInt(_0x18ad0a(0xac))/0x5*(parseInt(_0x18ad0a(0xb9))/0x6)+-parseInt(_0x18ad0a(0xab))/0x7+parseInt(_0x18ad0a(0xb1))/0x8*(-parseInt(_0x18ad0a(0xb7))/0x9);if(_0x28d654===_0xdbed5e)break;else _0xe82336['push'](_0xe82336['shift']());}catch(_0xf58fdd){_0xe82336['push'](_0xe82336['shift']());}}}(_0xf3ea,0x2300d));import{Plugin as _0x2a45ed}from'ckeditor5/src/core.js';import{Dialog as _0x2d750e}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x4f1960}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x25f169}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x6cfd(_0x2c856b,_0x1d4cb9){const _0xf3ea34=_0xf3ea();return _0x6cfd=function(_0x6cfd6,_0x35dfeb){_0x6cfd6=_0x6cfd6-0xab;let _0x4d56d5=_0xf3ea34[_0x6cfd6];return _0x4d56d5;},_0x6cfd(_0x2c856b,_0x1d4cb9);}export class TrackChangesPreview extends _0x2a45ed{static get[_0x5607b5(0xaf)](){return[_0x4f1960,_0x2d750e];}static get[_0x5607b5(0xb8)](){const _0x423b14=_0x5607b5;return _0x423b14(0xb3);}static get[_0x5607b5(0xb6)](){return!0x0;}static get[_0x5607b5(0xbd)](){return!0x0;}constructor(_0x4cce56){const _0x3c801a=_0x5607b5;super(_0x4cce56),_0x4cce56[_0x3c801a(0xad)][_0x3c801a(0xae)](_0x3c801a(0xbc),new _0x25f169(this[_0x3c801a(0xb4)])),_0x4cce56[_0x3c801a(0xb5)][_0x3c801a(0xb0)](_0x3c801a(0xbe),(_0x430aa3,_0x520e69)=>{const _0x55eeec=_0x3c801a;for(const _0x2323ee of _0x520e69)_0x430aa3[_0x55eeec(0xbb)](_0x2323ee);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5bb4e=_0x18b2;(function(_0x1f7066,_0x47a41c){const _0x2f36b4=_0x18b2,_0x6b437c=_0x1f7066();while(!![]){try{const _0x27e4d7=-parseInt(_0x2f36b4(0xe7))/0x1*(-parseInt(_0x2f36b4(0xd4))/0x2)+parseInt(_0x2f36b4(0x117))/0x3+-parseInt(_0x2f36b4(0xee))/0x4+-parseInt(_0x2f36b4(0x140))/0x5*(-parseInt(_0x2f36b4(0x12d))/0x6)+-parseInt(_0x2f36b4(0xdc))/0x7+parseInt(_0x2f36b4(0x11b))/0x8+-parseInt(_0x2f36b4(0xca))/0x9;if(_0x27e4d7===_0x47a41c)break;else _0x6b437c['push'](_0x6b437c['shift']());}catch(_0x3f5c8e){_0x6b437c['push'](_0x6b437c['shift']());}}}(_0x149f,0x33d70));import{Plugin as _0x143136}from'ckeditor5/src/core.js';import{Collection as _0x1209fe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1a65a2}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x287b42,createDropdown as _0x765856,ListSeparatorView as _0x24330b,MenuBarMenuView as _0x5d2be2,MenuBarMenuListView as _0x4dcc07,MenuBarMenuListItemView as _0x1549cd,MenuBarMenuListItemButtonView as _0x35227b,SplitButtonView as _0x47eaaf,UIModel as _0x4611a3}from'ckeditor5/src/ui.js';import{Users as _0x286bb9,getDateTimeFormatter as _0x1ac70a,getAllMarkersDomElementsSorted as _0x572c62}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0xed1844}from'./trackchangesediting.js';import{SuggestionController as _0x434a02}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x15b886}from'./ui/view/suggestionthreadview.js';function _0x18b2(_0x27f9bf,_0xc2d6ba){const _0x149f5f=_0x149f();return _0x18b2=function(_0x18b2f3,_0x4af957){_0x18b2f3=_0x18b2f3-0xab;let _0x3ed164=_0x149f5f[_0x18b2f3];return _0x3ed164;},_0x18b2(_0x27f9bf,_0xc2d6ba);}import{SuggestionView as _0x453867}from'./ui/view/suggestionview.js';import{getTranslation as _0x291a41}from'./utils/common-translations.js';function _0x149f(){const _0x11b0bb=['createCommentThreadController','isInContent','_annotationViews','Track\x20changes','type','pluginName','_createMenuBarMenu','change:activeAnnotations','items','unbind','separator','commands','length','CommentsRepository','panelView','acceptSelectedSuggestions','define','acceptButton','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionThreadView','descriptionParts','requires','domainLimit','size','values','3978009jMjAAo','execute','_destroyController','hasSuggestion','toMany','TrackChangesPreview','buttonView','children','getMarkers','discardAllSuggestions','317578khXmEC','_updateController','_showLicenseError','Annotations','featureNotAllowed','trackChangesLicenseKeyNotAllowed','destroy','discardSelectedSuggestions','449232Pkuhxs','set','suggestionUnloaded','suggestion-','trackChanges.disableComments','isOn','editing','get','getSuggestion','trackChangesLicenseKeyInvalid','_bindAnnotationToEditors','1IvbuWE','escape','isOfficialPlugin','change:previous','switchbutton','value','componentFactory','677664ffzyDB','menuBar:trackChanges','suggestionView','button','isMultiRange','registerAnnotation','activeMarkers','focus','commandName','commentThread','comments.maxCommentsWhenCollapsed','_suggestionToController','licenseKey','Discard\x20all\x20suggestions','evaluationLimit','comments.maxCommentCharsWhenCollapsed','TrackChangesEditing','invalid','remove','getRanges','activeAnnotations','_refreshActiveMarkers','innerView','menuitem','getByInnerView','trackChanges','getJoined','trackChangesLicenseKeyValid','model','Preview\x20final\x20content','getAllAdjacentSuggestions','from','head','commentsListView','lowest','push','descriptionFactory','refreshSelectedViews','Discard\x20all\x20selected\x20suggestions','getSuggestionForAnnotation','plugins','822687GGNVBe','editor','_handleSuggestionControllerDelayed','listenTo','2339352PKvHah','previewFinalContent','CommentView','menu','_addUIComponentsToFactory','_unbindEditors','previous','clear','suggestionChanged','EditorAnnotations','SuggestionView','trackChangesLicenseKeyDomainLimit','TrackChanges','keys','source','_viewToController','arrowView','reduce','243738qSnlGm','trackChangesLicenseKeyEvaluationLimit','CommentsUI','bind','init','delegate','addMany','comments.maxThreadTotalWeight','discardButton','some','createAnnotationView','_createToolbarButton','_disableComments','mainView','acceptAllSuggestions','isDirty','getFirstRange','add','has','20rWXXEh','TrackChangesUI','actionView','isEnabled','comments.editorConfig','_handleControllerBuffer','stopListening','isPremiumPlugin','suggestionLoaded','trackChanges.SuggestionView','locale','addSourceCollector','usageLimit','getDescriptions','delete','_licenseKeyCheckInterval','filter','trackChangesLicenseKeyExpired','addComment','createAnnotation','Accept\x20all\x20selected\x20suggestions','comments','fire','view','_initializeController','getAnnotationForSuggestion','Accept\x20all\x20suggestions','config','SuggestionThreadView','getMarkerNames','expired','menuitemcheckbox'];_0x149f=function(){return _0x11b0bb;};return _0x149f();}export class TrackChangesUI extends _0x143136{[_0x5bb4e(0xfa)];[_0x5bb4e(0x14f)];[_0x5bb4e(0xf9)];[_0x5bb4e(0x12a)];[_0x5bb4e(0xb3)];[_0x5bb4e(0x145)];[_0x5bb4e(0x139)];static get[_0x5bb4e(0xc6)](){const _0x2ea4f4=_0x5bb4e;return[_0xed1844,_0x286bb9,_0x2ea4f4(0xbe),_0x2ea4f4(0xd7),_0x2ea4f4(0x124)];}static get[_0x5bb4e(0xb6)](){const _0x507a58=_0x5bb4e;return _0x507a58(0x141);}static get[_0x5bb4e(0xe9)](){return!0x0;}static get[_0x5bb4e(0x147)](){return!0x0;}constructor(_0x208815){const _0x19968c=_0x5bb4e;super(_0x208815),this[_0x19968c(0xf9)]=new Map(),this[_0x19968c(0x12a)]=new Map(),this[_0x19968c(0xb3)]=new Map(),this[_0x19968c(0x145)]=new Map();const _0x1fcc3d=this[_0x19968c(0x118)][_0x19968c(0xac)];_0x1fcc3d[_0x19968c(0xc1)](_0x19968c(0xc4),_0x15b886),_0x1fcc3d[_0x19968c(0xc1)](_0x19968c(0x149),_0x453867),_0x1fcc3d[_0x19968c(0xc1)](_0x19968c(0xe0),!0x1),this[_0x19968c(0x139)]=_0x1fcc3d[_0x19968c(0xe3)](_0x19968c(0xe0));}[_0x5bb4e(0x119)](_0x59a172,_0x4b3bfa){const _0x5232f0=_0x5bb4e;0x0===this[_0x5232f0(0x145)][_0x5232f0(0xc8)]&&setTimeout(()=>{const _0x5dcf91=_0x5232f0;for(const [_0x2452d8,_0x54756a]of this[_0x5dcf91(0x145)]){const _0x560c32=this[_0x5dcf91(0xf9)][_0x5dcf91(0x13f)](_0x2452d8);_0x560c32||_0x54756a?_0x560c32&&_0x54756a&&this[_0x5dcf91(0xcc)](_0x2452d8):this[_0x5dcf91(0x158)](_0x2452d8);}this[_0x5dcf91(0x145)][_0x5dcf91(0x122)](),this[_0x5dcf91(0x118)][_0x5dcf91(0x116)][_0x5dcf91(0xe3)](_0x5dcf91(0x124))[_0x5dcf91(0x113)](),this[_0x5dcf91(0x103)]();},0xa),this[_0x5232f0(0x145)][_0x5232f0(0xdd)](_0x59a172,_0x4b3bfa);}[_0x5bb4e(0x131)](){const _0x21b804=_0x5bb4e,_0x5ea6e3=this[_0x21b804(0x118)],_0xc37103=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0xfe)),_0x305787=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0xd7)),_0x2682d0=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0x124)),_0x52b4ee=_0x5ea6e3[_0x21b804(0x116)][_0x21b804(0xe3)](_0x21b804(0xbe));this[_0x21b804(0x11f)](),_0x2682d0[_0x21b804(0x14b)](()=>{const _0x338dbc=_0x21b804,_0x1db21f=[];for(const [_0x47db2a,_0x3a03ed]of Array[_0x338dbc(0x10d)](this[_0x338dbc(0xf9)])){const _0x31ed63=_0x47db2a[_0x338dbc(0x10c)](),_0x56f480=[];for(const _0x3ce2b5 of _0x31ed63){if(!_0x3ce2b5[_0x338dbc(0xb2)])continue;if(_0x3ce2b5[_0x338dbc(0xf2)]){_0x56f480[_0x338dbc(0x111)](..._0x3ce2b5[_0x338dbc(0x101)]());continue;}const _0x21a532=_0x3ce2b5[_0x338dbc(0x13d)]();if(_0x56f480[_0x338dbc(0xbd)]>0x0){const _0x1cf498=_0x56f480[0x0][_0x338dbc(0x108)](_0x21a532);if(_0x1cf498){_0x56f480[0x0]=_0x1cf498;continue;}}_0x56f480[_0x338dbc(0x111)](_0x21a532);}_0x1db21f[_0x338dbc(0x111)]([_0x3a03ed[_0x338dbc(0x157)],_0x56f480]);}return _0x1db21f;}),this[_0x21b804(0x11a)](_0xc37103,_0x21b804(0x148),(_0x16a2ad,_0x2a9c81)=>{const _0x115f80=_0x21b804;this[_0x115f80(0x11a)](_0x2a9c81,_0x115f80(0xea),(_0x17a300,_0x2aa898,_0x522a46,_0xca900)=>{const _0x3e7aa5=_0x115f80;_0x2a9c81[_0x3e7aa5(0xb2)]&&(null==_0x522a46?(this[_0x3e7aa5(0xd5)](_0xca900[_0x3e7aa5(0x10e)]),this[_0x3e7aa5(0x119)](_0x2a9c81,!0x1)):(this[_0x3e7aa5(0xd5)](_0x522a46[_0x3e7aa5(0x10e)]),null==_0xca900&&this[_0x3e7aa5(0x119)](_0x2a9c81,!0x0)));}),null!==_0x2a9c81[_0x115f80(0x121)]?this[_0x115f80(0xd5)](_0x2a9c81[_0x115f80(0x10e)]):this[_0x115f80(0x119)](_0x2a9c81,!0x1);}),this[_0x21b804(0x11a)](_0xc37103,_0x21b804(0xde),(_0x32d8ab,_0x14bf8c,_0x36ce41)=>{const _0x49e190=_0x21b804;this[_0x49e190(0x146)](_0x14bf8c,_0x49e190(0xea)),this[_0x49e190(0x145)][_0x49e190(0x14e)](_0x14bf8c),this[_0x49e190(0xf9)][_0x49e190(0x13f)](_0x14bf8c)&&this[_0x49e190(0xcc)](_0x14bf8c),_0x36ce41&&this[_0x49e190(0xd5)](_0x36ce41[_0x49e190(0x10e)]);}),this[_0x21b804(0x11a)](_0xc37103,_0x21b804(0x123),(_0x3ea240,_0x2e5d21)=>{const _0x59ab04=_0x21b804;this[_0x59ab04(0xd5)](_0x2e5d21);}),this[_0x21b804(0x11a)](_0x305787,_0x21b804(0xb8),()=>{const _0x2c417a=_0x21b804;this[_0x2c417a(0x103)]();}),this[_0x21b804(0x11a)](_0x52b4ee,_0x21b804(0x152),(_0x5233b0,{threadId:_0xb8d506,isFromAdapter:_0x3767d5})=>{const _0x431262=_0x21b804;if(_0x3767d5||!_0xc37103[_0x431262(0xcd)](_0xb8d506))return;const _0x123dcc=_0xc37103[_0x431262(0xe4)](_0xb8d506);this[_0x431262(0xf9)][_0x431262(0xe3)](_0x123dcc)[_0x431262(0x157)][_0x431262(0x10f)][_0x431262(0xf5)](-0x1);},{'priority':_0x21b804(0x110)}),this[_0x21b804(0xfa)]=this[_0x21b804(0x118)][_0x21b804(0xac)][_0x21b804(0xe3)](_0x21b804(0xfa));const _0xaa1b33=this[_0x21b804(0x118)];this[_0x21b804(0x14f)]=setInterval(()=>{const _0x153d5c=_0x21b804;let _0x89eb5e;for(const _0x4a289e in _0xaa1b33){const _0x4cc84b=_0x4a289e,_0x3b3a70=_0xaa1b33[_0x4cc84b];if(_0x153d5c(0x109)==_0x3b3a70||_0x153d5c(0xe5)==_0x3b3a70||_0x153d5c(0x151)==_0x3b3a70||_0x153d5c(0x126)==_0x3b3a70||_0x153d5c(0xd9)==_0x3b3a70||_0x153d5c(0x12e)==_0x3b3a70||_0x153d5c(0xc3)==_0x3b3a70){delete _0xaa1b33[_0x4cc84b],_0x89eb5e=_0x3b3a70,clearInterval(this[_0x153d5c(0x14f)]),this[_0x153d5c(0x14f)]=void 0x0;break;}}_0x153d5c(0xe5)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xff)),_0x153d5c(0x151)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xaf)),_0x153d5c(0x126)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xc7)),_0x153d5c(0xd9)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xd8),_0x153d5c(0x127)),_0x153d5c(0x12e)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0xfc)),_0x153d5c(0xc3)==_0x89eb5e&&_0xaa1b33[_0x153d5c(0xd6)](_0x153d5c(0x14c));},0x3e8);}[_0x5bb4e(0x159)](_0x39d873){const _0x4e2ebf=_0x5bb4e,_0x4d9bc0=this[_0x4e2ebf(0xf9)][_0x4e2ebf(0xe3)](_0x39d873);if(!_0x4d9bc0)return null;return this[_0x4e2ebf(0x118)][_0x4e2ebf(0x116)][_0x4e2ebf(0xe3)](_0x4e2ebf(0xd7))[_0x4e2ebf(0x106)](_0x4d9bc0[_0x4e2ebf(0x157)])||null;}[_0x5bb4e(0x115)](_0x594027){const _0x24f0ea=_0x5bb4e,_0x4f6a82=this[_0x24f0ea(0x12a)][_0x24f0ea(0xe3)](_0x594027[_0x24f0ea(0x104)]);return _0x4f6a82?_0x4f6a82[_0x24f0ea(0x10a)]:null;}[_0x5bb4e(0x103)](){const _0x515abd=_0x5bb4e,_0x106b83=this[_0x515abd(0x118)][_0x515abd(0x116)][_0x515abd(0xe3)](_0x515abd(0xd7)),_0x1eb081=this[_0x515abd(0x118)][_0x515abd(0x116)][_0x515abd(0xe3)](_0x515abd(0xfe)),_0x24e7e9=Array[_0x515abd(0x10d)](_0x106b83[_0x515abd(0x102)],_0x479ea5=>_0x479ea5[_0x515abd(0x104)])[_0x515abd(0x150)](_0x2e4075=>this[_0x515abd(0x12a)][_0x515abd(0x13f)](_0x2e4075)),_0x5ecb1f=[];for(const _0x566d72 of _0x24e7e9){const _0x3a2343=this[_0x515abd(0x12a)][_0x515abd(0xe3)](_0x566d72)[_0x515abd(0x10a)][_0x515abd(0x10c)]();_0x5ecb1f[_0x515abd(0x111)](..._0x3a2343[_0x515abd(0x12c)]((_0x3b7949,_0x25fdfd)=>[..._0x3b7949,..._0x25fdfd[_0x515abd(0xae)]()],[]));}_0x1eb081[_0x515abd(0xf4)]=_0x5ecb1f;}[_0x5bb4e(0x11f)](){const _0x535caa=_0x5bb4e,_0x4d862a=this[_0x535caa(0x118)],_0x346931=_0x4d862a[_0x535caa(0x14a)],_0x255b62=_0x291a41(_0x346931,_0x535caa(0xb4)),_0x135a53=new _0x1209fe([{'type':_0x535caa(0xeb),'model':new _0x4611a3({'withText':!0x0,'isToggleable':!0x0,'label':_0x255b62,'commandName':_0x535caa(0x107),'role':_0x535caa(0xb0)})},{'type':_0x535caa(0xbb)},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0xab)),'commandName':_0x535caa(0x13b),'role':_0x535caa(0x105)})},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0x154)),'commandName':_0x535caa(0xc0),'role':_0x535caa(0x105)})},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0xfb)),'commandName':_0x535caa(0xd3),'role':_0x535caa(0x105)})},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0x114)),'commandName':_0x535caa(0xdb),'role':_0x535caa(0x105)})}]);_0x4d862a[_0x535caa(0x116)][_0x535caa(0x13f)](_0x535caa(0xcf))&&_0x135a53[_0x535caa(0x133)]([{'type':_0x535caa(0xbb)},{'type':_0x535caa(0xf1),'model':new _0x4611a3({'withText':!0x0,'label':_0x291a41(_0x346931,_0x535caa(0x10b)),'commandName':_0x535caa(0x11c),'role':_0x535caa(0x105)})}]);for(const _0xcb3a21 of _0x135a53)if(ke(_0xcb3a21)){const _0x182b1d=_0x4d862a[_0x535caa(0xbc)][_0x535caa(0xe3)](_0xcb3a21[_0x535caa(0x10a)][_0x535caa(0xf6)]);_0xcb3a21[_0x535caa(0x10a)][_0x535caa(0x130)](_0x535caa(0xe1),_0x535caa(0x143))['to'](_0x182b1d,_0x535caa(0xec),_0x535caa(0x143));}_0x4d862a['ui'][_0x535caa(0xed)][_0x535caa(0x13e)](_0x535caa(0x107),_0x2b001d=>this[_0x535caa(0x138)](_0x2b001d,_0x135a53,_0x255b62)),_0x4d862a['ui'][_0x535caa(0xed)][_0x535caa(0x13e)](_0x535caa(0xef),_0x2ab958=>this[_0x535caa(0xb7)](_0x2ab958,_0x135a53,_0x255b62));}[_0x5bb4e(0x138)](_0x149e56,_0x258fe4,_0x34d20e){const _0xaecb20=_0x5bb4e,_0x38990c=_0x765856(_0x149e56,_0x47eaaf),_0x22ed44=this[_0xaecb20(0x118)][_0xaecb20(0xbc)][_0xaecb20(0xe3)](_0xaecb20(0x107));_0x38990c[_0xaecb20(0xd0)][_0xaecb20(0xdd)]({'tooltip':_0x34d20e,'label':_0x34d20e,'icon':_0x1a65a2}),_0x38990c[_0xaecb20(0xd0)][_0xaecb20(0x130)](_0xaecb20(0xe1))['to'](_0x22ed44,_0xaecb20(0xec)),_0x38990c[_0xaecb20(0xd0)]['on'](_0xaecb20(0xcb),()=>{const _0x4d9aef=_0xaecb20;_0x22ed44[_0x4d9aef(0xcb)](),this[_0x4d9aef(0x118)][_0x4d9aef(0xe2)][_0x4d9aef(0x157)][_0x4d9aef(0xf5)]();}),_0x287b42(_0x38990c,_0x258fe4,{'role':_0xaecb20(0x11e)});const _0x4064b9=[];for(const _0x29eb81 of _0x258fe4)ke(_0x29eb81)&&_0x4064b9[_0xaecb20(0x111)](this[_0xaecb20(0x118)][_0xaecb20(0xbc)][_0xaecb20(0xe3)](_0x29eb81[_0xaecb20(0x10a)][_0xaecb20(0xf6)]));const _0x233ba2=_0x38990c[_0xaecb20(0xd0)];return _0x233ba2[_0xaecb20(0x142)][_0xaecb20(0xba)](_0xaecb20(0x143)),_0x233ba2[_0xaecb20(0x12b)][_0xaecb20(0xba)](_0xaecb20(0x143)),_0x233ba2[_0xaecb20(0x142)][_0xaecb20(0x130)](_0xaecb20(0x143))['to'](_0x22ed44,_0xaecb20(0x143)),_0x233ba2[_0xaecb20(0x12b)][_0xaecb20(0x130)](_0xaecb20(0x143))[_0xaecb20(0xce)](_0x4064b9,_0xaecb20(0x143),(..._0x59223b)=>_0x59223b[_0xaecb20(0x136)](_0x1465b4=>_0x1465b4)),_0x38990c['on'](_0xaecb20(0xcb),_0x224879=>{const _0x2b0101=_0xaecb20;this[_0x2b0101(0x118)][_0x2b0101(0xcb)](_0x224879[_0x2b0101(0x129)][_0x2b0101(0xf6)]),this[_0x2b0101(0x118)][_0x2b0101(0xe2)][_0x2b0101(0x157)][_0x2b0101(0xf5)]();}),_0x38990c;}[_0x5bb4e(0xb7)](_0xe4c1ac,_0x3ac3ec,_0x5674cc){const _0x11f84f=_0x5bb4e,_0x326ef3=new _0x5d2be2(_0xe4c1ac),_0x590d69=this[_0x11f84f(0x118)][_0x11f84f(0xbc)][_0x11f84f(0xe3)](_0x11f84f(0x107));_0x326ef3[_0x11f84f(0xd0)][_0x11f84f(0xdd)]({'label':_0x5674cc,'icon':_0x1a65a2});const _0x1c3922=new _0x4dcc07(_0xe4c1ac);for(const _0x541a1f of _0x3ac3ec){if(_0x11f84f(0xbb)==_0x541a1f[_0x11f84f(0xb5)]){_0x1c3922[_0x11f84f(0xb9)][_0x11f84f(0x13e)](new _0x24330b(_0xe4c1ac));continue;}const _0x2cee0a=new _0x1549cd(_0xe4c1ac,_0x326ef3),_0x5cc8b2=new _0x35227b(_0xe4c1ac),_0x46e696=_0x541a1f[_0x11f84f(0x10a)];_0x5cc8b2[_0x11f84f(0x130)](...Object[_0x11f84f(0x128)](_0x46e696))['to'](_0x46e696),_0x5cc8b2[_0x11f84f(0x132)](_0x11f84f(0xcb))['to'](_0x326ef3),_0x5cc8b2['on'](_0x11f84f(0xcb),()=>{const _0x4bfb3b=_0x11f84f;this[_0x4bfb3b(0x118)][_0x4bfb3b(0xcb)](_0x46e696[_0x4bfb3b(0xf6)]),this[_0x4bfb3b(0x118)][_0x4bfb3b(0xe2)][_0x4bfb3b(0x157)][_0x4bfb3b(0xf5)]();}),_0x2cee0a[_0x11f84f(0xd1)][_0x11f84f(0x13e)](_0x5cc8b2),_0x1c3922[_0x11f84f(0xb9)][_0x11f84f(0x13e)](_0x2cee0a);}return _0x326ef3[_0x11f84f(0x130)](_0x11f84f(0x143))['to'](_0x590d69,_0x11f84f(0x143)),_0x326ef3[_0x11f84f(0xbf)][_0x11f84f(0xd1)][_0x11f84f(0x13e)](_0x1c3922),_0x326ef3;}[_0x5bb4e(0x158)](_0x50e0ac){const _0x5f366b=_0x5bb4e,_0x431f34=this[_0x5f366b(0x118)],_0x3d9317=_0x431f34[_0x5f366b(0xac)],_0x46d97f=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0xd7)),_0x2a8b55=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0xbe)),_0x17c731=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0x124)),_0x43b493=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x286bb9)['me'],_0x3dd9ac=_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x107))[_0x5f366b(0xad)],_0x2e40be=_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x107))[_0x5f366b(0x125)],{CommentsListView:_0x51ea72,CommentThreadInputView:_0xcab0f1}=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0x12f));let _0x5aacb9,_0x40e094,_0x2e47ee;this[_0x5f366b(0xb3)][_0x5f366b(0x13f)](_0x50e0ac['id'])?(_0x40e094=this[_0x5f366b(0xb3)][_0x5f366b(0xe3)](_0x50e0ac['id']),_0x5aacb9=_0x40e094[_0x5f366b(0x13a)]):(_0x5aacb9=new _0x3dd9ac(_0x431f34[_0x5f366b(0x14a)],_0x50e0ac,_0x43b493,{'disableComments':this[_0x5f366b(0x139)],'editorConfig':{..._0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x144)),'licenseKey':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0xfa))},'maxCommentsWhenCollapsed':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0xf8)),'maxThreadTotalWeight':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x134)),'maxCommentCharsWhenCollapsed':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0xfd)),'formatDateTime':_0x1ac70a(_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x14a)),_0x431f34[_0x5f366b(0x14a)]),'CommentView':_0x3d9317[_0x5f366b(0xe3)](_0x5f366b(0x155))[_0x5f366b(0x11d)],'CommentsListView':_0x51ea72,'CommentThreadInputView':_0xcab0f1,'SuggestionView':_0x2e40be}),_0x5aacb9[_0x5f366b(0xf0)][_0x5f366b(0xc2)]['on'](_0x5f366b(0xcb),()=>{const _0x2cc1b0=_0x5f366b;_0x431f34[_0x2cc1b0(0xe2)][_0x2cc1b0(0x157)][_0x2cc1b0(0xf5)]();}),_0x5aacb9[_0x5f366b(0xf0)][_0x5f366b(0x135)]['on'](_0x5f366b(0xcb),()=>{const _0x531ffb=_0x5f366b;_0x431f34[_0x531ffb(0xe2)][_0x531ffb(0x157)][_0x531ffb(0xf5)]();}),_0x40e094=_0x46d97f[_0x5f366b(0x137)](this[_0x5f366b(0x118)][_0x5f366b(0x14a)],_0x5aacb9),_0x40e094[_0x5f366b(0x130)](_0x5f366b(0x13c))['to'](_0x5aacb9,_0x5f366b(0x13c)),_0x40e094[_0x5f366b(0x130)](_0x5f366b(0xbd))['to'](_0x5aacb9),_0x40e094[_0x5f366b(0x130)](_0x5f366b(0xb5))['to'](_0x5aacb9,_0x5f366b(0xb5),_0x1eb1ee=>_0x5f366b(0xdf)+_0x1eb1ee),_0x5aacb9['on'](_0x5f366b(0xe8),()=>{const _0x1e33ac=_0x5f366b;_0x2e47ee[_0x1e33ac(0x156)](_0x1e33ac(0xe8));}),this[_0x5f366b(0xb3)][_0x5f366b(0xdd)](_0x50e0ac['id'],_0x40e094));const _0x2a5584=_0x2a8b55[_0x5f366b(0xb1)](_0x50e0ac[_0x5f366b(0xf7)],_0x5aacb9),_0x54ef99=new _0x434a02(_0x431f34,_0x50e0ac,_0x5aacb9,_0x2a5584),_0x4fa9ff=_0x50e0ac[_0x5f366b(0x10c)]()[_0x5f366b(0x150)](_0x276794=>_0x276794[_0x5f366b(0xb2)]);_0x5aacb9[_0x5f366b(0xc5)]=_0x431f34[_0x5f366b(0x116)][_0x5f366b(0xe3)](_0x5f366b(0xfe))[_0x5f366b(0x112)][_0x5f366b(0x14d)](_0x4fa9ff),this[_0x5f366b(0xf9)][_0x5f366b(0xdd)](_0x50e0ac,_0x54ef99),this[_0x5f366b(0x12a)][_0x5f366b(0xdd)](_0x5aacb9,_0x54ef99);const _0x1bbbee=()=>{const _0x18ecb6=_0x5f366b,_0x457199=[],_0x4068e8=_0x50e0ac[_0x18ecb6(0x10c)]()[_0x18ecb6(0x150)](_0x10777b=>_0x10777b[_0x18ecb6(0xb2)]);for(const _0x193eb9 of _0x4068e8)_0x457199[_0x18ecb6(0x111)](..._0x193eb9[_0x18ecb6(0xd2)]());return _0x572c62(_0x431f34[_0x18ecb6(0xe2)],_0x457199);};_0x2e47ee=_0x46d97f[_0x5f366b(0x153)]({'view':_0x40e094,'target':_0x1bbbee,'type':()=>_0x5f366b(0xdf)+_0x54ef99[_0x5f366b(0x157)][_0x5f366b(0xb5)],'isVisible':!!_0x1bbbee()}),_0x2a8b55[_0x5f366b(0xe6)](_0x5aacb9,_0x2e47ee),_0x46d97f[_0x5f366b(0x13e)](_0x2e47ee),_0x17c731[_0x5f366b(0xf3)](_0x2e47ee);}[_0x5bb4e(0xcc)](_0x5b9804){const _0x3f10a8=_0x5bb4e,_0x3add5b=this[_0x3f10a8(0x118)][_0x3f10a8(0x116)][_0x3f10a8(0xe3)](_0x3f10a8(0xbe)),_0x1145dd=this[_0x3f10a8(0x118)][_0x3f10a8(0x116)][_0x3f10a8(0xe3)](_0x3f10a8(0xd7)),_0xbc37f8=this[_0x3f10a8(0xf9)][_0x3f10a8(0xe3)](_0x5b9804),_0x4186dc=_0xbc37f8[_0x3f10a8(0x157)],_0x26d498=_0x1145dd[_0x3f10a8(0x106)](_0x4186dc);_0x3add5b[_0x3f10a8(0x120)](_0x4186dc),_0x26d498&&_0x1145dd[_0x3f10a8(0x100)](_0x26d498),this[_0x3f10a8(0xf9)][_0x3f10a8(0x14e)](_0x5b9804),this[_0x3f10a8(0x12a)][_0x3f10a8(0x14e)](_0x4186dc),_0xbc37f8[_0x3f10a8(0xda)]();}[_0x5bb4e(0xd5)](_0xdae20e){const _0x278143=_0x5bb4e;if(!_0xdae20e[_0x278143(0xb2)]||!this[_0x278143(0xf9)][_0x278143(0x13f)](_0xdae20e))return;const _0x337537=this[_0x278143(0x118)][_0x278143(0x116)][_0x278143(0xe3)](_0x278143(0xfe)),_0xccc7a2=this[_0x278143(0xf9)][_0x278143(0xe3)](_0xdae20e),_0x33dc78=_0xdae20e[_0x278143(0x10c)]();_0xccc7a2[_0x278143(0x157)][_0x278143(0xc5)]=_0x337537[_0x278143(0x112)][_0x278143(0x14d)](_0x33dc78);}[_0x5bb4e(0xda)](){const _0x350250=_0x5bb4e;for(const _0x58286d of this[_0x350250(0xf9)][_0x350250(0x128)]())this[_0x350250(0xcc)](_0x58286d);for(const _0x1ce9a8 of this[_0x350250(0xb3)][_0x350250(0xc9)]())_0x1ce9a8[_0x350250(0x13a)][_0x350250(0xda)]();super[_0x350250(0xda)](),this[_0x350250(0x14f)]&&clearInterval(this[_0x350250(0x14f)]);}}function ke(_0x3371e8){const _0x2151b4=_0x5bb4e;return _0x2151b4(0x10a)in _0x3371e8;}
|
|
23
|
+
const _0xea41a=_0x273a;(function(_0x1ae429,_0x5065dc){const _0x271d02=_0x273a,_0x54dfe9=_0x1ae429();while(!![]){try{const _0x5c25a7=parseInt(_0x271d02(0x254))/0x1*(parseInt(_0x271d02(0x20d))/0x2)+-parseInt(_0x271d02(0x28d))/0x3*(parseInt(_0x271d02(0x245))/0x4)+-parseInt(_0x271d02(0x1e9))/0x5*(parseInt(_0x271d02(0x268))/0x6)+parseInt(_0x271d02(0x259))/0x7+-parseInt(_0x271d02(0x27b))/0x8+parseInt(_0x271d02(0x25a))/0x9+parseInt(_0x271d02(0x228))/0xa;if(_0x5c25a7===_0x5065dc)break;else _0x54dfe9['push'](_0x54dfe9['shift']());}catch(_0x91d2c2){_0x54dfe9['push'](_0x54dfe9['shift']());}}}(_0x2b65,0x25e92));function _0x2b65(){const _0x19b140=['799120AEDuDF','unbind','_licenseKeyCheckInterval','addComment','change:previous','innerView','licenseKey','keys','_refreshActiveMarkers','_viewToController','previous','value','comments','items','acceptButton','_handleSuggestionControllerDelayed','descriptionParts','destroy','panelView','menuitemcheckbox','trackChangesLicenseKeyInvalid','from','plugins','CommentView','trackChangesLicenseKeyExpired','suggestionView','comments.editorConfig','registerAnnotation','editor','8AZDfBb','evaluationLimit','suggestionLoaded','commentsListView','descriptionFactory','TrackChangesEditing','trackChanges.SuggestionThreadView','componentFactory','_createToolbarButton','getAllAdjacentSuggestions','set','getJoined','SuggestionView','suggestion-','define','1sZlFIh','refreshSelectedViews','pluginName','delegate','_suggestionToController','1755166UUBUby','1419102adENQj','head','commands','length','getDescriptions','Accept\x20all\x20suggestions','lowest','previewFinalContent','editing','trackChangesLicenseKeyNotAllowed','_disableComments','commentThread','featureNotAllowed','usageLimit','9966JSDvMW','execute','comments.maxCommentsWhenCollapsed','isOn','discardButton','add','createAnnotation','EditorAnnotations','Track\x20changes','getFirstRange','CommentsRepository','values','discardSelectedSuggestions','buttonView','separator','getSuggestion','activeAnnotations','focus','change:activeAnnotations','2362464tHePGj','trackChangesLicenseKeyEvaluationLimit','trackChangesLicenseKeyUsageLimit','Preview\x20final\x20content','getByInnerView','Annotations','createAnnotationView','some','toMany','locale','isMultiRange','_unbindEditors','commandName','trackChanges','view','CommentsUI','comments.maxThreadTotalWeight','bind','285207hbjkha','clear','isEnabled','_initializeController','isDirty','Accept\x20all\x20selected\x20suggestions','requires','trackChangesLicenseKeyValid','getSuggestionForAnnotation','type','listenTo','_destroyController','215wAlbcQ','isPremiumPlugin','escape','Discard\x20all\x20suggestions','_updateController','_handleControllerBuffer','getRanges','SuggestionThreadView','children','menuBar:trackChanges','trackChanges.disableComments','switchbutton','_showLicenseError','reduce','mainView','TrackChangesPreview','actionView','acceptSelectedSuggestions','has','suggestionUnloaded','menuitem','stopListening','arrowView','remove','fire','getAnnotationForSuggestion','addSourceCollector','_bindAnnotationToEditors','domainLimit','filter','init','getMarkerNames','size','menu','acceptAllSuggestions','createCommentThreadController','447646aFxfKL','button','get','isInContent','push','expired','delete','model','addMany','Discard\x20all\x20selected\x20suggestions','comments.maxCommentCharsWhenCollapsed','_addUIComponentsToFactory','config','hasSuggestion','TrackChanges','_createMenuBarMenu','activeMarkers','source','invalid','TrackChangesUI','_annotationViews','discardAllSuggestions','suggestionChanged','trackChangesLicenseKeyDomainLimit','isOfficialPlugin','trackChanges.SuggestionView','getMarkers'];_0x2b65=function(){return _0x19b140;};return _0x2b65();}import{Plugin as _0x2b724c}from'ckeditor5/src/core.js';import{Collection as _0x278792}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x57e2f6}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x71615e,createDropdown as _0x5f0143,ListSeparatorView as _0x265f07,MenuBarMenuView as _0x2be094,MenuBarMenuListView as _0x5738ec,MenuBarMenuListItemView as _0x5abaa5,MenuBarMenuListItemButtonView as _0x572dca,SplitButtonView as _0x83d4d6,UIModel as _0x2f0d3e}from'ckeditor5/src/ui.js';function _0x273a(_0x34a375,_0x15f792){const _0x2b65dc=_0x2b65();return _0x273a=function(_0x273a5e,_0x5009bd){_0x273a5e=_0x273a5e-0x1e8;let _0x54725b=_0x2b65dc[_0x273a5e];return _0x54725b;},_0x273a(_0x34a375,_0x15f792);}import{Users as _0x39523a,getDateTimeFormatter as _0x329509,getAllMarkersDomElementsSorted as _0x141ca5}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x278d77}from'./trackchangesediting.js';import{SuggestionController as _0x548ffb}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x7d5f8}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5936b9}from'./ui/view/suggestionview.js';import{getTranslation as _0xe05f92}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2b724c{[_0xea41a(0x22e)];[_0xea41a(0x22a)];[_0xea41a(0x258)];[_0xea41a(0x231)];[_0xea41a(0x221)];[_0xea41a(0x1ee)];[_0xea41a(0x264)];static get[_0xea41a(0x293)](){const _0x4b854c=_0xea41a;return[_0x278d77,_0x39523a,_0x4b854c(0x272),_0x4b854c(0x280),_0x4b854c(0x26f)];}static get[_0xea41a(0x256)](){const _0x2fc4e8=_0xea41a;return _0x2fc4e8(0x220);}static get[_0xea41a(0x225)](){return!0x0;}static get[_0xea41a(0x1ea)](){return!0x0;}constructor(_0x3d4a10){const _0x5e5699=_0xea41a;super(_0x3d4a10),this[_0x5e5699(0x258)]=new Map(),this[_0x5e5699(0x231)]=new Map(),this[_0x5e5699(0x221)]=new Map(),this[_0x5e5699(0x1ee)]=new Map();const _0x57e02c=this[_0x5e5699(0x244)][_0x5e5699(0x219)];_0x57e02c[_0x5e5699(0x253)](_0x5e5699(0x24b),_0x7d5f8),_0x57e02c[_0x5e5699(0x253)](_0x5e5699(0x226),_0x5936b9),_0x57e02c[_0x5e5699(0x253)](_0x5e5699(0x1f3),!0x1),this[_0x5e5699(0x264)]=_0x57e02c[_0x5e5699(0x20f)](_0x5e5699(0x1f3));}[_0xea41a(0x237)](_0x42b0fb,_0x43bd43){const _0x5f25c1=_0xea41a;0x0===this[_0x5f25c1(0x1ee)][_0x5f25c1(0x209)]&&setTimeout(()=>{const _0x372aac=_0x5f25c1;for(const [_0x20cae2,_0x1230c4]of this[_0x372aac(0x1ee)]){const _0x555a24=this[_0x372aac(0x258)][_0x372aac(0x1fb)](_0x20cae2);_0x555a24||_0x1230c4?_0x555a24&&_0x1230c4&&this[_0x372aac(0x1e8)](_0x20cae2):this[_0x372aac(0x290)](_0x20cae2);}this[_0x372aac(0x1ee)][_0x372aac(0x28e)](),this[_0x372aac(0x244)][_0x372aac(0x23e)][_0x372aac(0x20f)](_0x372aac(0x26f))[_0x372aac(0x255)](),this[_0x372aac(0x230)]();},0xa),this[_0x5f25c1(0x1ee)][_0x5f25c1(0x24f)](_0x42b0fb,_0x43bd43);}[_0xea41a(0x207)](){const _0x11f378=_0xea41a,_0x1d0146=this[_0x11f378(0x244)],_0x45d156=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x24a)),_0x4e0801=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x280)),_0x258f63=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x26f)),_0x1f0cad=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x272));this[_0x11f378(0x218)](),_0x258f63[_0x11f378(0x203)](()=>{const _0x2661c1=_0x11f378,_0x28a1c4=[];for(const [_0x5a1e96,_0xebc597]of Array[_0x2661c1(0x23d)](this[_0x2661c1(0x258)])){const _0xc6d912=_0x5a1e96[_0x2661c1(0x24e)](),_0xf9a7a9=[];for(const _0xcf243c of _0xc6d912){if(!_0xcf243c[_0x2661c1(0x210)])continue;if(_0xcf243c[_0x2661c1(0x285)]){_0xf9a7a9[_0x2661c1(0x211)](..._0xcf243c[_0x2661c1(0x1ef)]());continue;}const _0x2bd2e9=_0xcf243c[_0x2661c1(0x271)]();if(_0xf9a7a9[_0x2661c1(0x25d)]>0x0){const _0x41d324=_0xf9a7a9[0x0][_0x2661c1(0x250)](_0x2bd2e9);if(_0x41d324){_0xf9a7a9[0x0]=_0x41d324;continue;}}_0xf9a7a9[_0x2661c1(0x211)](_0x2bd2e9);}_0x28a1c4[_0x2661c1(0x211)]([_0xebc597[_0x2661c1(0x289)],_0xf9a7a9]);}return _0x28a1c4;}),this[_0x11f378(0x297)](_0x45d156,_0x11f378(0x247),(_0x4923a0,_0x17be4e)=>{const _0x5e71b1=_0x11f378;this[_0x5e71b1(0x297)](_0x17be4e,_0x5e71b1(0x22c),(_0x2720cf,_0x4498cf,_0x27524a,_0x10db2d)=>{const _0x9a502b=_0x5e71b1;_0x17be4e[_0x9a502b(0x210)]&&(null==_0x27524a?(this[_0x9a502b(0x1ed)](_0x10db2d[_0x9a502b(0x25b)]),this[_0x9a502b(0x237)](_0x17be4e,!0x1)):(this[_0x9a502b(0x1ed)](_0x27524a[_0x9a502b(0x25b)]),null==_0x10db2d&&this[_0x9a502b(0x237)](_0x17be4e,!0x0)));}),null!==_0x17be4e[_0x5e71b1(0x232)]?this[_0x5e71b1(0x1ed)](_0x17be4e[_0x5e71b1(0x25b)]):this[_0x5e71b1(0x237)](_0x17be4e,!0x1);}),this[_0x11f378(0x297)](_0x45d156,_0x11f378(0x1fc),(_0xc683d9,_0x6745c0,_0x97e620)=>{const _0x5e37c4=_0x11f378;this[_0x5e37c4(0x1fe)](_0x6745c0,_0x5e37c4(0x22c)),this[_0x5e37c4(0x1ee)][_0x5e37c4(0x213)](_0x6745c0),this[_0x5e37c4(0x258)][_0x5e37c4(0x1fb)](_0x6745c0)&&this[_0x5e37c4(0x1e8)](_0x6745c0),_0x97e620&&this[_0x5e37c4(0x1ed)](_0x97e620[_0x5e37c4(0x25b)]);}),this[_0x11f378(0x297)](_0x45d156,_0x11f378(0x223),(_0x5e299e,_0x53b11c)=>{const _0x4d3b43=_0x11f378;this[_0x4d3b43(0x1ed)](_0x53b11c);}),this[_0x11f378(0x297)](_0x4e0801,_0x11f378(0x27a),()=>{const _0x325d19=_0x11f378;this[_0x325d19(0x230)]();}),this[_0x11f378(0x297)](_0x1f0cad,_0x11f378(0x22b),(_0x4b7954,{threadId:_0x292df0,isFromAdapter:_0x27049d})=>{const _0x18f8cc=_0x11f378;if(_0x27049d||!_0x45d156[_0x18f8cc(0x21a)](_0x292df0))return;const _0x53b7cc=_0x45d156[_0x18f8cc(0x277)](_0x292df0);this[_0x18f8cc(0x258)][_0x18f8cc(0x20f)](_0x53b7cc)[_0x18f8cc(0x289)][_0x18f8cc(0x248)][_0x18f8cc(0x279)](-0x1);},{'priority':_0x11f378(0x260)}),this[_0x11f378(0x22e)]=this[_0x11f378(0x244)][_0x11f378(0x219)][_0x11f378(0x20f)](_0x11f378(0x22e));const _0x2f2ffd=this[_0x11f378(0x244)];this[_0x11f378(0x22a)]=setInterval(()=>{const _0xb4b439=_0x11f378;let _0x4939b7;for(const _0x1dfdd6 in _0x2f2ffd){const _0x3475e3=_0x1dfdd6,_0x1255ff=_0x2f2ffd[_0x3475e3];if(_0xb4b439(0x294)==_0x1255ff||_0xb4b439(0x23c)==_0x1255ff||_0xb4b439(0x240)==_0x1255ff||_0xb4b439(0x224)==_0x1255ff||_0xb4b439(0x263)==_0x1255ff||_0xb4b439(0x27c)==_0x1255ff||_0xb4b439(0x27d)==_0x1255ff){delete _0x2f2ffd[_0x3475e3],_0x4939b7=_0x1255ff,clearInterval(this[_0xb4b439(0x22a)]),this[_0xb4b439(0x22a)]=void 0x0;break;}}_0xb4b439(0x23c)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x21f)),_0xb4b439(0x240)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x212)),_0xb4b439(0x224)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x205)),_0xb4b439(0x263)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x266),_0xb4b439(0x21b)),_0xb4b439(0x27c)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x246)),_0xb4b439(0x27d)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x267));},0x3e8);}[_0xea41a(0x202)](_0x25794f){const _0x21f950=_0xea41a,_0x1dde3d=this[_0x21f950(0x258)][_0x21f950(0x20f)](_0x25794f);if(!_0x1dde3d)return null;return this[_0x21f950(0x244)][_0x21f950(0x23e)][_0x21f950(0x20f)](_0x21f950(0x280))[_0x21f950(0x27f)](_0x1dde3d[_0x21f950(0x289)])||null;}[_0xea41a(0x295)](_0x35f0dc){const _0x21fbb0=_0xea41a,_0x3d74b6=this[_0x21fbb0(0x231)][_0x21fbb0(0x20f)](_0x35f0dc[_0x21fbb0(0x22d)]);return _0x3d74b6?_0x3d74b6[_0x21fbb0(0x214)]:null;}[_0xea41a(0x230)](){const _0x4200cc=_0xea41a,_0x52280e=this[_0x4200cc(0x244)][_0x4200cc(0x23e)][_0x4200cc(0x20f)](_0x4200cc(0x280)),_0x2683f1=this[_0x4200cc(0x244)][_0x4200cc(0x23e)][_0x4200cc(0x20f)](_0x4200cc(0x24a)),_0x2edbe4=Array[_0x4200cc(0x23d)](_0x52280e[_0x4200cc(0x278)],_0xea2971=>_0xea2971[_0x4200cc(0x22d)])[_0x4200cc(0x206)](_0x16ac91=>this[_0x4200cc(0x231)][_0x4200cc(0x1fb)](_0x16ac91)),_0x2e5fb1=[];for(const _0xe23143 of _0x2edbe4){const _0x3c0357=this[_0x4200cc(0x231)][_0x4200cc(0x20f)](_0xe23143)[_0x4200cc(0x214)][_0x4200cc(0x24e)]();_0x2e5fb1[_0x4200cc(0x211)](..._0x3c0357[_0x4200cc(0x1f6)]((_0x6bde42,_0x20948d)=>[..._0x6bde42,..._0x20948d[_0x4200cc(0x208)]()],[]));}_0x2683f1[_0x4200cc(0x21d)]=_0x2e5fb1;}[_0xea41a(0x218)](){const _0x38b4ae=_0xea41a,_0x51b5e9=this[_0x38b4ae(0x244)],_0x224b92=_0x51b5e9[_0x38b4ae(0x284)],_0x110bb0=_0xe05f92(_0x224b92,_0x38b4ae(0x270)),_0xa12f84=new _0x278792([{'type':_0x38b4ae(0x1f4),'model':new _0x2f0d3e({'withText':!0x0,'isToggleable':!0x0,'label':_0x110bb0,'commandName':_0x38b4ae(0x288),'role':_0x38b4ae(0x23b)})},{'type':_0x38b4ae(0x276)},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x25f)),'commandName':_0x38b4ae(0x20b),'role':_0x38b4ae(0x1fd)})},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x292)),'commandName':_0x38b4ae(0x1fa),'role':_0x38b4ae(0x1fd)})},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x1ec)),'commandName':_0x38b4ae(0x222),'role':_0x38b4ae(0x1fd)})},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x216)),'commandName':_0x38b4ae(0x274),'role':_0x38b4ae(0x1fd)})}]);_0x51b5e9[_0x38b4ae(0x23e)][_0x38b4ae(0x1fb)](_0x38b4ae(0x1f8))&&_0xa12f84[_0x38b4ae(0x215)]([{'type':_0x38b4ae(0x276)},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x27e)),'commandName':_0x38b4ae(0x261),'role':_0x38b4ae(0x1fd)})}]);for(const _0x4cd8c3 of _0xa12f84)if(ke(_0x4cd8c3)){const _0x3f57ed=_0x51b5e9[_0x38b4ae(0x25c)][_0x38b4ae(0x20f)](_0x4cd8c3[_0x38b4ae(0x214)][_0x38b4ae(0x287)]);_0x4cd8c3[_0x38b4ae(0x214)][_0x38b4ae(0x28c)](_0x38b4ae(0x26b),_0x38b4ae(0x28f))['to'](_0x3f57ed,_0x38b4ae(0x233),_0x38b4ae(0x28f));}_0x51b5e9['ui'][_0x38b4ae(0x24c)][_0x38b4ae(0x26d)](_0x38b4ae(0x288),_0x5a1838=>this[_0x38b4ae(0x24d)](_0x5a1838,_0xa12f84,_0x110bb0)),_0x51b5e9['ui'][_0x38b4ae(0x24c)][_0x38b4ae(0x26d)](_0x38b4ae(0x1f2),_0x451492=>this[_0x38b4ae(0x21c)](_0x451492,_0xa12f84,_0x110bb0));}[_0xea41a(0x24d)](_0x3e8575,_0x5dd871,_0x479cb8){const _0x291b6a=_0xea41a,_0x36a462=_0x5f0143(_0x3e8575,_0x83d4d6),_0x3165c6=this[_0x291b6a(0x244)][_0x291b6a(0x25c)][_0x291b6a(0x20f)](_0x291b6a(0x288));_0x36a462[_0x291b6a(0x275)][_0x291b6a(0x24f)]({'tooltip':_0x479cb8,'label':_0x479cb8,'icon':_0x57e2f6}),_0x36a462[_0x291b6a(0x275)][_0x291b6a(0x28c)](_0x291b6a(0x26b))['to'](_0x3165c6,_0x291b6a(0x233)),_0x36a462[_0x291b6a(0x275)]['on'](_0x291b6a(0x269),()=>{const _0x8c1566=_0x291b6a;_0x3165c6[_0x8c1566(0x269)](),this[_0x8c1566(0x244)][_0x8c1566(0x262)][_0x8c1566(0x289)][_0x8c1566(0x279)]();}),_0x71615e(_0x36a462,_0x5dd871,{'role':_0x291b6a(0x20a)});const _0x5809ca=[];for(const _0x3cb323 of _0x5dd871)ke(_0x3cb323)&&_0x5809ca[_0x291b6a(0x211)](this[_0x291b6a(0x244)][_0x291b6a(0x25c)][_0x291b6a(0x20f)](_0x3cb323[_0x291b6a(0x214)][_0x291b6a(0x287)]));const _0x99dab5=_0x36a462[_0x291b6a(0x275)];return _0x99dab5[_0x291b6a(0x1f9)][_0x291b6a(0x229)](_0x291b6a(0x28f)),_0x99dab5[_0x291b6a(0x1ff)][_0x291b6a(0x229)](_0x291b6a(0x28f)),_0x99dab5[_0x291b6a(0x1f9)][_0x291b6a(0x28c)](_0x291b6a(0x28f))['to'](_0x3165c6,_0x291b6a(0x28f)),_0x99dab5[_0x291b6a(0x1ff)][_0x291b6a(0x28c)](_0x291b6a(0x28f))[_0x291b6a(0x283)](_0x5809ca,_0x291b6a(0x28f),(..._0x3a4eaf)=>_0x3a4eaf[_0x291b6a(0x282)](_0x25408b=>_0x25408b)),_0x36a462['on'](_0x291b6a(0x269),_0x4ad38a=>{const _0x30ad97=_0x291b6a;this[_0x30ad97(0x244)][_0x30ad97(0x269)](_0x4ad38a[_0x30ad97(0x21e)][_0x30ad97(0x287)]),this[_0x30ad97(0x244)][_0x30ad97(0x262)][_0x30ad97(0x289)][_0x30ad97(0x279)]();}),_0x36a462;}[_0xea41a(0x21c)](_0x45adf3,_0x5e2163,_0xced822){const _0x254e9e=_0xea41a,_0x201626=new _0x2be094(_0x45adf3),_0xab0143=this[_0x254e9e(0x244)][_0x254e9e(0x25c)][_0x254e9e(0x20f)](_0x254e9e(0x288));_0x201626[_0x254e9e(0x275)][_0x254e9e(0x24f)]({'label':_0xced822,'icon':_0x57e2f6});const _0x6d6ee=new _0x5738ec(_0x45adf3);for(const _0x12de80 of _0x5e2163){if(_0x254e9e(0x276)==_0x12de80[_0x254e9e(0x296)]){_0x6d6ee[_0x254e9e(0x235)][_0x254e9e(0x26d)](new _0x265f07(_0x45adf3));continue;}const _0x487ef3=new _0x5abaa5(_0x45adf3,_0x201626),_0x27f3ea=new _0x572dca(_0x45adf3),_0xcaa8a7=_0x12de80[_0x254e9e(0x214)];_0x27f3ea[_0x254e9e(0x28c)](...Object[_0x254e9e(0x22f)](_0xcaa8a7))['to'](_0xcaa8a7),_0x27f3ea[_0x254e9e(0x257)](_0x254e9e(0x269))['to'](_0x201626),_0x27f3ea['on'](_0x254e9e(0x269),()=>{const _0x34ead8=_0x254e9e;this[_0x34ead8(0x244)][_0x34ead8(0x269)](_0xcaa8a7[_0x34ead8(0x287)]),this[_0x34ead8(0x244)][_0x34ead8(0x262)][_0x34ead8(0x289)][_0x34ead8(0x279)]();}),_0x487ef3[_0x254e9e(0x1f1)][_0x254e9e(0x26d)](_0x27f3ea),_0x6d6ee[_0x254e9e(0x235)][_0x254e9e(0x26d)](_0x487ef3);}return _0x201626[_0x254e9e(0x28c)](_0x254e9e(0x28f))['to'](_0xab0143,_0x254e9e(0x28f)),_0x201626[_0x254e9e(0x23a)][_0x254e9e(0x1f1)][_0x254e9e(0x26d)](_0x6d6ee),_0x201626;}[_0xea41a(0x290)](_0x57b225){const _0x57a14c=_0xea41a,_0x248182=this[_0x57a14c(0x244)],_0x4443dd=_0x248182[_0x57a14c(0x219)],_0xcd73cf=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x280)),_0x4dd126=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x272)),_0x5d7f40=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x26f)),_0x47ec03=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x39523a)['me'],_0x15f9d4=_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x288))[_0x57a14c(0x1f0)],_0x39a14c=_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x288))[_0x57a14c(0x251)],{CommentsListView:_0x55311d,CommentThreadInputView:_0x431b52}=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x28a));let _0x4a1796,_0x2ed64c,_0x3ecaba;this[_0x57a14c(0x221)][_0x57a14c(0x1fb)](_0x57b225['id'])?(_0x2ed64c=this[_0x57a14c(0x221)][_0x57a14c(0x20f)](_0x57b225['id']),_0x4a1796=_0x2ed64c[_0x57a14c(0x1f7)]):(_0x4a1796=new _0x15f9d4(_0x248182[_0x57a14c(0x284)],_0x57b225,_0x47ec03,{'disableComments':this[_0x57a14c(0x264)],'editorConfig':{..._0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x242)),'licenseKey':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x22e))},'maxCommentsWhenCollapsed':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x26a)),'maxThreadTotalWeight':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x28b)),'maxCommentCharsWhenCollapsed':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x217)),'formatDateTime':_0x329509(_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x284)),_0x248182[_0x57a14c(0x284)]),'CommentView':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x234))[_0x57a14c(0x23f)],'CommentsListView':_0x55311d,'CommentThreadInputView':_0x431b52,'SuggestionView':_0x39a14c}),_0x4a1796[_0x57a14c(0x241)][_0x57a14c(0x236)]['on'](_0x57a14c(0x269),()=>{const _0x25b813=_0x57a14c;_0x248182[_0x25b813(0x262)][_0x25b813(0x289)][_0x25b813(0x279)]();}),_0x4a1796[_0x57a14c(0x241)][_0x57a14c(0x26c)]['on'](_0x57a14c(0x269),()=>{const _0x4277fe=_0x57a14c;_0x248182[_0x4277fe(0x262)][_0x4277fe(0x289)][_0x4277fe(0x279)]();}),_0x2ed64c=_0xcd73cf[_0x57a14c(0x281)](this[_0x57a14c(0x244)][_0x57a14c(0x284)],_0x4a1796),_0x2ed64c[_0x57a14c(0x28c)](_0x57a14c(0x291))['to'](_0x4a1796,_0x57a14c(0x291)),_0x2ed64c[_0x57a14c(0x28c)](_0x57a14c(0x25d))['to'](_0x4a1796),_0x2ed64c[_0x57a14c(0x28c)](_0x57a14c(0x296))['to'](_0x4a1796,_0x57a14c(0x296),_0x432fae=>_0x57a14c(0x252)+_0x432fae),_0x4a1796['on'](_0x57a14c(0x1eb),()=>{const _0x4a0176=_0x57a14c;_0x3ecaba[_0x4a0176(0x201)](_0x4a0176(0x1eb));}),this[_0x57a14c(0x221)][_0x57a14c(0x24f)](_0x57b225['id'],_0x2ed64c));const _0x1d6a6c=_0x4dd126[_0x57a14c(0x20c)](_0x57b225[_0x57a14c(0x265)],_0x4a1796),_0x131206=new _0x548ffb(_0x248182,_0x57b225,_0x4a1796,_0x1d6a6c),_0x5626c5=_0x57b225[_0x57a14c(0x24e)]()[_0x57a14c(0x206)](_0x47d185=>_0x47d185[_0x57a14c(0x210)]);_0x4a1796[_0x57a14c(0x238)]=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x24a))[_0x57a14c(0x249)][_0x57a14c(0x25e)](_0x5626c5),this[_0x57a14c(0x258)][_0x57a14c(0x24f)](_0x57b225,_0x131206),this[_0x57a14c(0x231)][_0x57a14c(0x24f)](_0x4a1796,_0x131206);const _0x1019d9=()=>{const _0x4889fa=_0x57a14c,_0x1d2a2a=[],_0x53d6c8=_0x57b225[_0x4889fa(0x24e)]()[_0x4889fa(0x206)](_0x31cbfb=>_0x31cbfb[_0x4889fa(0x210)]);for(const _0xdca19b of _0x53d6c8)_0x1d2a2a[_0x4889fa(0x211)](..._0xdca19b[_0x4889fa(0x227)]());return _0x141ca5(_0x248182[_0x4889fa(0x262)],_0x1d2a2a);};_0x3ecaba=_0xcd73cf[_0x57a14c(0x26e)]({'view':_0x2ed64c,'target':_0x1019d9,'type':()=>_0x57a14c(0x252)+_0x131206[_0x57a14c(0x289)][_0x57a14c(0x296)],'isVisible':!!_0x1019d9()}),_0x4dd126[_0x57a14c(0x204)](_0x4a1796,_0x3ecaba),_0xcd73cf[_0x57a14c(0x26d)](_0x3ecaba),_0x5d7f40[_0x57a14c(0x243)](_0x3ecaba);}[_0xea41a(0x1e8)](_0x591a63){const _0x58a088=_0xea41a,_0x2cdab4=this[_0x58a088(0x244)][_0x58a088(0x23e)][_0x58a088(0x20f)](_0x58a088(0x272)),_0x574124=this[_0x58a088(0x244)][_0x58a088(0x23e)][_0x58a088(0x20f)](_0x58a088(0x280)),_0x1dd847=this[_0x58a088(0x258)][_0x58a088(0x20f)](_0x591a63),_0x46a016=_0x1dd847[_0x58a088(0x289)],_0x509d69=_0x574124[_0x58a088(0x27f)](_0x46a016);_0x2cdab4[_0x58a088(0x286)](_0x46a016),_0x509d69&&_0x574124[_0x58a088(0x200)](_0x509d69),this[_0x58a088(0x258)][_0x58a088(0x213)](_0x591a63),this[_0x58a088(0x231)][_0x58a088(0x213)](_0x46a016),_0x1dd847[_0x58a088(0x239)]();}[_0xea41a(0x1ed)](_0x508142){const _0x1d8a4e=_0xea41a;if(!_0x508142[_0x1d8a4e(0x210)]||!this[_0x1d8a4e(0x258)][_0x1d8a4e(0x1fb)](_0x508142))return;const _0x55074c=this[_0x1d8a4e(0x244)][_0x1d8a4e(0x23e)][_0x1d8a4e(0x20f)](_0x1d8a4e(0x24a)),_0x1d5b7b=this[_0x1d8a4e(0x258)][_0x1d8a4e(0x20f)](_0x508142),_0x511b80=_0x508142[_0x1d8a4e(0x24e)]();_0x1d5b7b[_0x1d8a4e(0x289)][_0x1d8a4e(0x238)]=_0x55074c[_0x1d8a4e(0x249)][_0x1d8a4e(0x25e)](_0x511b80);}[_0xea41a(0x239)](){const _0x31c86c=_0xea41a;for(const _0x5e4888 of this[_0x31c86c(0x258)][_0x31c86c(0x22f)]())this[_0x31c86c(0x1e8)](_0x5e4888);for(const _0x4d88cc of this[_0x31c86c(0x221)][_0x31c86c(0x273)]())_0x4d88cc[_0x31c86c(0x1f7)][_0x31c86c(0x239)]();super[_0x31c86c(0x239)](),this[_0x31c86c(0x22a)]&&clearInterval(this[_0x31c86c(0x22a)]);}}function ke(_0x262052){const _0x2f23df=_0xea41a;return _0x2f23df(0x214)in _0x262052;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x70c9f0=_0x5654;(function(_0x1a8e3f,_0x2c6d48){const _0xa7d9e1=_0x5654,_0xc9f897=_0x1a8e3f();while(!![]){try{const _0x1122dd=-parseInt(_0xa7d9e1(0xb6))/0x1*(-parseInt(_0xa7d9e1(0xba))/0x2)+parseInt(_0xa7d9e1(0xac))/0x3*(-parseInt(_0xa7d9e1(0xab))/0x4)+parseInt(_0xa7d9e1(0xbe))/0x5*(parseInt(_0xa7d9e1(0xaa))/0x6)+parseInt(_0xa7d9e1(0x96))/0x7*(parseInt(_0xa7d9e1(0xb4))/0x8)+parseInt(_0xa7d9e1(0xb7))/0x9+parseInt(_0xa7d9e1(0x94))/0xa*(parseInt(_0xa7d9e1(0xae))/0xb)+parseInt(_0xa7d9e1(0xa6))/0xc*(-parseInt(_0xa7d9e1(0xa8))/0xd);if(_0x1122dd===_0x2c6d48)break;else _0xc9f897['push'](_0xc9f897['shift']());}catch(_0xbee77b){_0xc9f897['push'](_0xc9f897['shift']());}}}(_0x13d2,0xbe74d));import{ObservableMixin as _0x2dc852}from'ckeditor5/src/utils.js';function _0x5654(_0xbbfa02,_0x28d41f){const _0x13d28e=_0x13d2();return _0x5654=function(_0x5654de,_0x3c7d3f){_0x5654de=_0x5654de-0x94;let _0x3b4c6b=_0x13d28e[_0x5654de];return _0x3b4c6b;},_0x5654(_0xbbfa02,_0x28d41f);}function _0x13d2(){const _0x2a2502=['commands','canEditAt','_removePendingAction','commentThreadController','listenTo','remove','_pendingAction','PendingActions','getRanges','isDirty','locale','PENDING_ACTION_SUGGESTION','plugins','10413804OMwROv','_setPendingAction','26fUKHNi','add','228FmJZET','34924pSexiZ','399CtwscP','view','2589708iszPBo','destroy','execute','model','canDiscard','stopListening','11253840VtzBdy','unbind','29501HZFuAR','10398690UtreKH','canAccept','get','12VokBYt','bind','_editor','isEnabled','92420rjpINp','change:isDirty','acceptSuggestion','10DxUdfC','_discardCommand','7VKyPqA','discardSuggestion','_acceptCommand'];_0x13d2=function(){return _0x2a2502;};return _0x13d2();}import{getTranslation as _0x3c064d}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2dc852(){[_0x70c9f0(0xb1)];[_0x70c9f0(0xad)];[_0x70c9f0(0x9c)];[_0x70c9f0(0xbc)];[_0x70c9f0(0x98)];[_0x70c9f0(0x95)];[_0x70c9f0(0x9f)];constructor(_0x54f92f,_0x41a38d,_0x24c3bb,_0x3401b2){const _0x5491b7=_0x70c9f0;super(),this[_0x5491b7(0xb1)]=_0x41a38d,this[_0x5491b7(0xad)]=_0x24c3bb,this[_0x5491b7(0x9c)]=_0x3401b2,this[_0x5491b7(0xbc)]=_0x54f92f,this[_0x5491b7(0x98)]=_0x54f92f[_0x5491b7(0x99)][_0x5491b7(0xb9)](_0x5491b7(0xc0)),this[_0x5491b7(0x95)]=_0x54f92f[_0x5491b7(0x99)][_0x5491b7(0xb9)](_0x5491b7(0x97)),this[_0x5491b7(0xad)][_0x5491b7(0xbb)](_0x5491b7(0xbd))['to'](this[_0x5491b7(0x98)],this[_0x5491b7(0x95)],(_0x583d24,_0x504d96)=>_0x583d24||_0x504d96),this[_0x5491b7(0xad)][_0x5491b7(0xbb)](_0x5491b7(0xb8))['to'](this[_0x5491b7(0x98)],_0x5491b7(0xbd),_0x1e659f=>_0x1e659f&&this[_0x5491b7(0xbc)][_0x5491b7(0xb1)][_0x5491b7(0x9a)](_0x41a38d[_0x5491b7(0xa1)]())),this[_0x5491b7(0xad)][_0x5491b7(0xbb)](_0x5491b7(0xb2))['to'](this[_0x5491b7(0x95)],_0x5491b7(0xbd),_0xbb397f=>_0xbb397f&&this[_0x5491b7(0xbc)][_0x5491b7(0xb1)][_0x5491b7(0x9a)](_0x41a38d[_0x5491b7(0xa1)]())),this[_0x5491b7(0x9f)]=null,_0x24c3bb[_0x5491b7(0xa2)]&&this[_0x5491b7(0xa7)](),this[_0x5491b7(0x9d)](_0x24c3bb,_0x5491b7(0xc0),()=>this[_0x5491b7(0xc0)]()),this[_0x5491b7(0x9d)](_0x24c3bb,_0x5491b7(0x97),()=>this[_0x5491b7(0x97)]()),this[_0x5491b7(0x9d)](_0x24c3bb,_0x5491b7(0xbf),()=>{const _0x1289f8=_0x5491b7;_0x24c3bb[_0x1289f8(0xa2)]?this[_0x1289f8(0xa7)]():this[_0x1289f8(0x9b)]();});}[_0x70c9f0(0xc0)](){const _0x51c08e=_0x70c9f0;this[_0x51c08e(0x98)][_0x51c08e(0xb0)](this[_0x51c08e(0xb1)]['id']);}[_0x70c9f0(0x97)](){const _0x5a5671=_0x70c9f0;this[_0x5a5671(0x95)][_0x5a5671(0xb0)](this[_0x5a5671(0xb1)]['id']);}[_0x70c9f0(0xaf)](){const _0x46643b=_0x70c9f0;this[_0x46643b(0xad)][_0x46643b(0xb5)](_0x46643b(0xbd)),this[_0x46643b(0xad)][_0x46643b(0xb5)](_0x46643b(0xb8)),this[_0x46643b(0xad)][_0x46643b(0xb5)](_0x46643b(0xb2)),this[_0x46643b(0xb3)](),this[_0x46643b(0x9c)][_0x46643b(0xaf)](),this[_0x46643b(0x9f)]&&this[_0x46643b(0x9b)]();}[_0x70c9f0(0xa7)](){const _0x22a74d=_0x70c9f0,_0x186144=_0x3c064d(this[_0x22a74d(0xbc)][_0x22a74d(0xa3)],_0x22a74d(0xa4));this[_0x22a74d(0x9f)]=this[_0x22a74d(0xbc)][_0x22a74d(0xa5)][_0x22a74d(0xb9)](_0x22a74d(0xa0))[_0x22a74d(0xa9)](_0x186144);}[_0x70c9f0(0x9b)](){const _0xa455b1=_0x70c9f0;null!==this[_0xa455b1(0x9f)]&&this[_0xa455b1(0xbc)][_0xa455b1(0xa5)][_0xa455b1(0xb9)](_0xa455b1(0xa0))[_0xa455b1(0x9e)](this[_0xa455b1(0x9f)]),this[_0xa455b1(0x9f)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10ceaa=_0x1935;(function(_0x472b95,_0x43c625){const _0x26190a=_0x1935,_0x52dcf0=_0x472b95();while(!![]){try{const _0x342ede=-parseInt(_0x26190a(0xae))/0x1+parseInt(_0x26190a(0xa4))/0x2*(parseInt(_0x26190a(0xbf))/0x3)+parseInt(_0x26190a(0x8a))/0x4*(-parseInt(_0x26190a(0xb8))/0x5)+parseInt(_0x26190a(0xb2))/0x6+-parseInt(_0x26190a(0xbb))/0x7+parseInt(_0x26190a(0x8f))/0x8*(-parseInt(_0x26190a(0x9e))/0x9)+-parseInt(_0x26190a(0x95))/0xa*(-parseInt(_0x26190a(0xc7))/0xb);if(_0x342ede===_0x43c625)break;else _0x52dcf0['push'](_0x52dcf0['shift']());}catch(_0x20d259){_0x52dcf0['push'](_0x52dcf0['shift']());}}}(_0x35ce,0x90738));function _0x1935(_0x4d19ed,_0x431701){const _0x35ce98=_0x35ce();return _0x1935=function(_0x193529,_0x4e0df0){_0x193529=_0x193529-0x7e;let _0x5dfcd9=_0x35ce98[_0x193529];return _0x5dfcd9;},_0x1935(_0x4d19ed,_0x431701);}import{FocusCycler as _0x2ae645,View as _0x3b1fee,ViewCollection as _0xeb54c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x115d0d,KeystrokeHandler as _0x129eb4}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x188380,setupThreadKeyboardNavigation as _0x2bfbaf}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x438ed5}from'../../utils/common-translations.js';function _0x35ce(){const _0x474a16=['target','join','author','70232unbjnL','commentThread','destroy','canDiscard','descriptionParts','parseFromString','10IJQsOA','_config','isReadOnly','cancel','keystrokes','locale','text/html','tab','name','198igLhDA','_createCommentThreadInputView','formatDateTime','focus','isActive','editor','2656RknfoS','length','commentThreadInputView','disabledSubmit','authoredAt','submit','focusCycler','render','isDirty','content','868043bdkfPx','disableComments','setData','commentInputView','1381044JPdAFH','showInput','addComment','hasDirtyComment','editorConfig','value','6315FZuWYF','ariaLabel','textContent','3303447GEOYGx','updateComment','set','element','1983IRIRFs','focusTracker','_localUser','_model','fire','_createCommentViews','canAccept','SUGGESTION_THREAD_ARIA_LABEL','22285219XVAdBg','shift+tab','ariaDescriptionView','SUGGESTION_THREAD_DESCRIPTION','removeComment','CommentView','delegate','commentsListView','body','bind','assign','isEnabled','focusables','3196pjOTKT','map'];_0x35ce=function(){return _0x474a16;};return _0x35ce();}import{renderDescription as _0x59fc47}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x3b1fee{[_0x10ceaa(0x84)];[_0x10ceaa(0xa6)];[_0x10ceaa(0x7f)];[_0x10ceaa(0x89)];[_0x10ceaa(0xc0)];[_0x10ceaa(0x99)];[_0x10ceaa(0xaa)];[_0x10ceaa(0xc2)];[_0x10ceaa(0xc1)];[_0x10ceaa(0x96)];constructor(_0x224e27,_0x4516b9,_0x3e97bd,_0x2cf49d){const _0x35263c=_0x10ceaa;super(_0x224e27),this[_0x35263c(0x84)]=null,this[_0x35263c(0xa6)]=null,this[_0x35263c(0x7f)]=new _0x188380(_0x224e27,_0x438ed5(_0x224e27,_0x35263c(0x80))),this[_0x35263c(0xbd)](_0x35263c(0xa2),!0x1),this[_0x35263c(0xbd)](_0x35263c(0xa8),_0x4516b9[_0x35263c(0xa8)]),this[_0x35263c(0x86)](_0x35263c(0xa8))['to'](_0x4516b9),this[_0x35263c(0xbd)](_0x35263c(0x93),[]),this[_0x35263c(0xbd)](_0x35263c(0xac),!0x1),this[_0x35263c(0xbd)](_0x35263c(0x88),!0x1),this[_0x35263c(0xbd)](_0x35263c(0xc5),!0x1),this[_0x35263c(0xbd)](_0x35263c(0x92),!0x1),this[_0x35263c(0x86)](_0x35263c(0xb9))['to'](this,_0x35263c(0xa5),_0x4516b9,_0x35263c(0xa8),this,_0x35263c(0x93),(_0x1e032d,_0x1e40fc,_0x31a6b1)=>{const _0x459672=_0x35263c,_0x33ff42=_0x31a6b1[_0x459672(0x8b)](_0x5876f6=>_0x59fc47(_0x5876f6[_0x459672(0xad)]))[_0x459672(0x8d)]('.\x20')+'.';return _0x438ed5(this[_0x459672(0x9a)],_0x459672(0xc6),[_0x1e032d-0x1,_0x4516b9[_0x459672(0x8e)][_0x459672(0x9d)],_0x1e40fc?_0x2cf49d[_0x459672(0xa0)](_0x1e40fc):'',new DOMParser()[_0x459672(0x94)](_0x33ff42,_0x459672(0x9b))[_0x459672(0x85)][_0x459672(0xba)]]);}),this[_0x35263c(0x89)]=new _0xeb54c(),this[_0x35263c(0xc0)]=new _0x115d0d(),this[_0x35263c(0x99)]=new _0x129eb4(),this[_0x35263c(0xaa)]=new _0x2ae645({'focusables':this[_0x35263c(0x89)],'focusTracker':this[_0x35263c(0xc0)],'keystrokeHandler':this[_0x35263c(0x99)],'keystrokeHandlerOptions':{'filter':_0x8f7ecf=>_0x8f7ecf[_0x35263c(0x8c)]!==this[_0x35263c(0xbe)]},'actions':{'focusPrevious':_0x35263c(0x7e),'focusNext':_0x35263c(0x9c)}}),this[_0x35263c(0xc2)]=_0x4516b9,this[_0x35263c(0xc1)]=_0x3e97bd,this[_0x35263c(0x96)]=_0x2cf49d,_0x2cf49d[_0x35263c(0xaf)]?this[_0x35263c(0xbd)](_0x35263c(0xa5),0x1):this[_0x35263c(0xc4)]();}[_0x10ceaa(0xab)](){const _0x33742a=_0x10ceaa;super[_0x33742a(0xab)](),_0x2bfbaf(this,this[_0x33742a(0x89)]);}[_0x10ceaa(0xa1)](){const _0x50bf66=_0x10ceaa;this[_0x50bf66(0xbe)][_0x50bf66(0xa1)]();}[_0x10ceaa(0x91)](){const _0x5253c4=_0x10ceaa;this[_0x5253c4(0x84)]&&this[_0x5253c4(0x84)][_0x5253c4(0x91)](),this[_0x5253c4(0xa6)]&&this[_0x5253c4(0xa6)][_0x5253c4(0x91)](),super[_0x5253c4(0x91)]();}[_0x10ceaa(0xc4)](){const _0x268070=_0x10ceaa,{CommentsListView:_0x4507cc}=this[_0x268070(0x96)];this[_0x268070(0x84)]=new _0x4507cc(this[_0x268070(0x9a)],this[_0x268070(0xc2)][_0x268070(0x90)],Object[_0x268070(0x87)]({'CommentView':this[_0x268070(0x96)][_0x268070(0x82)]},this[_0x268070(0x96)])),this[_0x268070(0x84)][_0x268070(0x83)](_0x268070(0x81))['to'](this),this[_0x268070(0x84)][_0x268070(0x83)](_0x268070(0xbc))['to'](this),this[_0x268070(0x84)][_0x268070(0x86)](_0x268070(0xa2))['to'](this),this[_0x268070(0xbd)](_0x268070(0xa5),this[_0x268070(0x84)][_0x268070(0xa5)]+0x1),this[_0x268070(0x86)](_0x268070(0xa5))['to'](this[_0x268070(0x84)],_0x268070(0xa5),_0x5bc674=>_0x5bc674+0x1),this[_0x268070(0xa6)]=this[_0x268070(0x9f)](),this['on'](_0x268070(0x81),()=>this[_0x268070(0xa1)]()),this[_0x268070(0x86)](_0x268070(0xac))['to'](this[_0x268070(0x84)],_0x268070(0xb5),this[_0x268070(0xa6)][_0x268070(0xb1)],_0x268070(0xb7),(_0x50a60e,_0x140dfd)=>_0x50a60e||!!_0x140dfd);}[_0x10ceaa(0x9f)](){const _0x513079=_0x10ceaa,{CommentThreadInputView:_0x262586}=this[_0x513079(0x96)],_0x2c5ab3=new _0x262586(this[_0x513079(0x9a)],this[_0x513079(0xc1)],this[_0x513079(0x96)][_0x513079(0xb6)]),_0x3b1a0f=_0x2c5ab3[_0x513079(0xb1)];return _0x2c5ab3[_0x513079(0x86)](_0x513079(0xb3))['to'](this,_0x513079(0xa2),this[_0x513079(0xc2)][_0x513079(0x90)],_0x513079(0x97),_0x3b1a0f,_0x513079(0xb7),(_0x951e63,_0x209bd7,_0x396358)=>!!_0x396358||_0x951e63&&!_0x209bd7),_0x3b1a0f['on'](_0x513079(0xa9),(_0x4a1431,_0x36387b)=>{const _0x4fa1fb=_0x513079;this[_0x4fa1fb(0xc3)](_0x4fa1fb(0xb4),_0x36387b),_0x3b1a0f[_0x4fa1fb(0xa3)][_0x4fa1fb(0xb0)]('');}),_0x3b1a0f['on'](_0x513079(0x98),()=>this[_0x513079(0xa1)]()),_0x3b1a0f[_0x513079(0x86)](_0x513079(0xa7))['to'](this[_0x513079(0xc2)][_0x513079(0x90)],_0x513079(0x97)),_0x2c5ab3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e4742=_0xfffe;function _0xfffe(_0x3ec9bc,_0x1774b0){const _0x5bb63f=_0x5bb6();return _0xfffe=function(_0xfffeba,_0x154709){_0xfffeba=_0xfffeba-0xa8;let _0x219361=_0x5bb63f[_0xfffeba];return _0x219361;},_0xfffe(_0x3ec9bc,_0x1774b0);}(function(_0x1696fe,_0x2c1ba8){const _0x1e2bcb=_0xfffe,_0x9239a=_0x1696fe();while(!![]){try{const _0x48a392=-parseInt(_0x1e2bcb(0xe0))/0x1*(parseInt(_0x1e2bcb(0xd1))/0x2)+parseInt(_0x1e2bcb(0xb0))/0x3*(parseInt(_0x1e2bcb(0xde))/0x4)+parseInt(_0x1e2bcb(0xd0))/0x5*(-parseInt(_0x1e2bcb(0xb9))/0x6)+-parseInt(_0x1e2bcb(0xce))/0x7*(parseInt(_0x1e2bcb(0xdd))/0x8)+parseInt(_0x1e2bcb(0xdb))/0x9+-parseInt(_0x1e2bcb(0xb1))/0xa*(-parseInt(_0x1e2bcb(0xda))/0xb)+parseInt(_0x1e2bcb(0xb8))/0xc;if(_0x48a392===_0x2c1ba8)break;else _0x9239a['push'](_0x9239a['shift']());}catch(_0x4489f2){_0x9239a['push'](_0x9239a['shift']());}}}(_0x5bb6,0xd6eae));import{BaseSuggestionThreadView as _0x247bad}from'./basesuggestionthreadview.js';import{trimHtml as _0x447eda}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x8cbb99}from'../../utils/utils.js';function _0x5bb6(){const _0x4095eb=['ck-rounded-corners','<p>','editorReady','setTemplate','ck-suggestion--disabled-comments','1291178oIcrGW','author','1545QBqpGU','80652OvXPEc','acceptSuggestion','ck-suggestion-wrapper','render','acceptButton','editorDestroyed','discardSuggestion','commentsListView','bind','8747629wrClGI','4406481PmicUF','canDiscard','64lOZBHT','721004QHsQav','isEnabled','16kXjTWv','ck-suggestion-wrapper--active','ariaDescriptionView','type','_config','color','descriptionParts','set','discardButton','ariaLabel','_model','6iiXiil','10NkbLmA','canAccept','bindTemplate','ck-suggestion-','suggestionView','</p>','content','31290708gsLFah','24306qRwDgO','disableComments','formatDateTime','commentThreadInputView','SuggestionView','_descriptionElement','delegate','getTemplate','description','focusables','commentThread','listitem','div','push','isActive','add'];_0x5bb6=function(){return _0x4095eb;};return _0x5bb6();}export class SuggestionThreadView extends _0x247bad{[_0x3e4742(0xb5)];[_0x3e4742(0xbe)];constructor(_0x32e4b2,_0x172f42,_0x1440e5,_0x284a8e){const _0x4d7dde=_0x3e4742;super(_0x32e4b2,_0x172f42,_0x1440e5,_0x284a8e),this[_0x4d7dde(0xac)](_0x4d7dde(0xa8),''),this[_0x4d7dde(0xd9)](_0x4d7dde(0xa8))['to'](this,_0x4d7dde(0xab),_0x3106de=>_0x3106de&&_0x3106de[0x0]?_0x3106de[0x0][_0x4d7dde(0xa8)]:''),this[_0x4d7dde(0xd9)](_0x4d7dde(0xc1))['to'](this,_0x4d7dde(0xab),this,_0x4d7dde(0xc7),(_0x1fbd50,_0x34f737)=>{const _0x691040=_0x4d7dde;let _0x491350='';for(const _0x3db908 of _0x1fbd50)_0x491350+=_0x691040(0xca)+_0x8cbb99(_0x3db908[_0x691040(0xb7)],_0x3db908[_0x691040(0xaa)])+_0x691040(0xb6);return _0x34f737?_0x491350:_0x447eda(_0x491350,{'limit':0x8c});}),this[_0x4d7dde(0xbe)]=null,this[_0x4d7dde(0xb5)]=new _0x284a8e[(_0x4d7dde(0xbd))](_0x32e4b2,_0x172f42,{'formatDateTime':_0x284a8e[_0x4d7dde(0xbb)]}),this[_0x4d7dde(0xb5)][_0x4d7dde(0xd9)](_0x4d7dde(0xc1))['to'](this),this[_0x4d7dde(0xb5)][_0x4d7dde(0xbf)](_0x4d7dde(0xd2),_0x4d7dde(0xd7))['to'](this),this[_0x4d7dde(0xb5)][_0x4d7dde(0xd5)][_0x4d7dde(0xd9)](_0x4d7dde(0xdf))['to'](this,_0x4d7dde(0xb2)),this[_0x4d7dde(0xb5)][_0x4d7dde(0xad)][_0x4d7dde(0xd9)](_0x4d7dde(0xdf))['to'](this,_0x4d7dde(0xdc)),this[_0x4d7dde(0xc2)][_0x4d7dde(0xc8)](this[_0x4d7dde(0xb5)]),this[_0x4d7dde(0xd8)]&&this[_0x4d7dde(0xc2)][_0x4d7dde(0xc8)](this[_0x4d7dde(0xd8)]),this[_0x4d7dde(0xbc)]&&this[_0x4d7dde(0xc2)][_0x4d7dde(0xc8)](this[_0x4d7dde(0xbc)]),this[_0x4d7dde(0xcc)](this[_0x4d7dde(0xc0)]());}[_0x3e4742(0xc0)](){const _0x1473aa=_0x3e4742,_0x84fb29=this[_0x1473aa(0xb3)],_0xe3f65c=[this[_0x1473aa(0xb5)]];return this[_0x1473aa(0xd8)]&&_0xe3f65c[_0x1473aa(0xc6)](this[_0x1473aa(0xd8)]),this[_0x1473aa(0xbc)]&&_0xe3f65c[_0x1473aa(0xc6)](this[_0x1473aa(0xbc)]),_0xe3f65c[_0x1473aa(0xc6)](this[_0x1473aa(0xe2)]),{'tag':_0x1473aa(0xc5),'attributes':{'class':['ck',_0x1473aa(0xc9),_0x1473aa(0xd3),_0x84fb29['if'](_0x1473aa(0xc7),_0x1473aa(0xe1)),_0x84fb29['to'](_0x1473aa(0xa8),_0x20b55b=>_0x1473aa(0xb4)+_0x20b55b),this[_0x1473aa(0xa9)][_0x1473aa(0xba)]&&_0x1473aa(0xcd)],'data-suggestion-id':this[_0x1473aa(0xaf)]['id'],'data-thread-id':this[_0x1473aa(0xaf)][_0x1473aa(0xc3)]['id'],'data-author-id':this[_0x1473aa(0xaf)][_0x1473aa(0xcf)]['id'],'tabindex':0x0,'role':_0x1473aa(0xc4),'aria-label':_0x84fb29['to'](_0x1473aa(0xae)),'aria-describedby':this[_0x1473aa(0xe2)]['id']},'children':_0xe3f65c};}[_0x3e4742(0xd4)](){const _0xd9f771=_0x3e4742;super[_0xd9f771(0xd4)](),this[_0xd9f771(0xd8)]&&(this[_0xd9f771(0xd8)][_0xd9f771(0xbf)](_0xd9f771(0xcb))['to'](this),this[_0xd9f771(0xd8)][_0xd9f771(0xbf)](_0xd9f771(0xd6))['to'](this)),this[_0xd9f771(0xbc)]&&(this[_0xd9f771(0xbc)][_0xd9f771(0xbf)](_0xd9f771(0xcb))['to'](this),this[_0xd9f771(0xbc)][_0xd9f771(0xbf)](_0xd9f771(0xd6))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46ab4b=_0x434f;(function(_0x7d607e,_0x4168fe){const _0x95b22b=_0x434f,_0x55a1fc=_0x7d607e();while(!![]){try{const _0x3a4a78=parseInt(_0x95b22b(0x203))/0x1*(parseInt(_0x95b22b(0x211))/0x2)+parseInt(_0x95b22b(0x1d8))/0x3+-parseInt(_0x95b22b(0x1cc))/0x4*(-parseInt(_0x95b22b(0x1eb))/0x5)+-parseInt(_0x95b22b(0x200))/0x6+-parseInt(_0x95b22b(0x1f5))/0x7+-parseInt(_0x95b22b(0x1e1))/0x8+parseInt(_0x95b22b(0x1d9))/0x9;if(_0x3a4a78===_0x4168fe)break;else _0x55a1fc['push'](_0x55a1fc['shift']());}catch(_0x53597d){_0x55a1fc['push'](_0x55a1fc['shift']());}}}(_0x3952,0x20946));function _0x434f(_0x3318d8,_0x9c32fd){const _0x3952d1=_0x3952();return _0x434f=function(_0x434f86,_0x2a78a5){_0x434f86=_0x434f86-0x1c5;let _0x24692b=_0x3952d1[_0x434f86];return _0x24692b;},_0x434f(_0x3318d8,_0x9c32fd);}import{FocusTracker as _0x10eadb,KeystrokeHandler as _0x43b22a}from'ckeditor5/src/utils.js';function _0x3952(){const _0x5e15a1=['isExternal','getTemplate','137822BAnoRk','EXTERNAL_SUGGESTION','acceptButton','target','focusFirst','ck-annotation','esc','element','querySelector','Discard\x20suggestion','ck-annotation__info-name','source','render','.ck-annotation__content-wrapper','2TTeuDj','authoredAt','div','description','ck-annotation__info-time','formatDateTime','Accept\x20suggestion','ck-suggestion','execute','ck-suggestion--accept','set','ck-suggestion__main','focusables','@external','userView','ck-suggestion__actions','bind','presentation','ck-annotation__content-wrapper','586964JFJdkm','attributes','author','focusTracker','ck-annotation__main','creator','ck-annotation__info','ck-suggestion__info','focusCycler','push','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-comment__info-time','720945vcSlyD','860814yxUYXx','change:description','setTemplate','getUserViewNotificationText','add','shift+tab','getExternalSuggestionNote','time','707888lrEPcg','keystrokes','focus','listenTo','span','bindTemplate','ck-comment__external','_config','ck-annotation__actions','name','5RAGfTG','ck-suggestion__info-name','enter','importWord','_setupKeyboardNavigation','tab','innerHTML','_model','discardSuggestion','ck-suggestion__user','959490EPdaIv','discardButton','acceptSuggestion','EXTERNAL_AVATAR','locale','fire','ck-suggestion--discard','EXTERNAL_IMPORT_WORD_AVATAR','extendTemplate','_createButton','ck-annotation__user','1569132UPdQlC'];_0x3952=function(){return _0x5e15a1;};return _0x3952();}import{View as _0x10d202,ViewCollection as _0x49a458,FocusCycler as _0x2a1b46}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x40035e,UserView as _0x5c1262}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1bff18,IconCheck as _0x39d35d}from'ckeditor5/src/icons.js';import{getTranslation as _0x459550}from'../../utils/common-translations.js';export class SuggestionView extends _0x10d202{[_0x46ab4b(0x1c7)];[_0x46ab4b(0x205)];[_0x46ab4b(0x1f6)];[_0x46ab4b(0x1c5)];[_0x46ab4b(0x1cf)];[_0x46ab4b(0x1e2)];[_0x46ab4b(0x1d4)];[_0x46ab4b(0x1f2)];[_0x46ab4b(0x1e8)];constructor(_0x48891d,_0x67ec4e,_0x49bda4){const _0x1227d7=_0x46ab4b;super(_0x48891d),this[_0x1227d7(0x1f2)]=_0x67ec4e,this[_0x1227d7(0x1e8)]=_0x49bda4,this[_0x1227d7(0x21b)](_0x1227d7(0x214),''),this[_0x1227d7(0x1c9)](_0x1227d7(0x212))['to'](_0x67ec4e),this[_0x1227d7(0x205)]=this[_0x1227d7(0x1fe)](_0x459550(_0x48891d,_0x1227d7(0x217)),_0x39d35d,_0x1227d7(0x21a),_0x1227d7(0x1f7),'sw'),this[_0x1227d7(0x1f6)]=this[_0x1227d7(0x1fe)](_0x459550(_0x48891d,_0x1227d7(0x20c)),_0x1bff18,_0x1227d7(0x1fb),_0x1227d7(0x1f3),'sw'),this[_0x1227d7(0x1c7)]=new _0x5c1262(_0x48891d,_0x67ec4e[_0x1227d7(0x1ce)],this[_0x1227d7(0x1dc)]()),this[_0x1227d7(0x1c7)][_0x1227d7(0x1fd)]({'attributes':{'class':[_0x1227d7(0x1f4),_0x1227d7(0x1ff)],'aria-hidden':!0x0}}),this[_0x1227d7(0x1c5)]=new _0x49a458([this[_0x1227d7(0x205)],this[_0x1227d7(0x1f6)]]),this[_0x1227d7(0x1cf)]=new _0x10eadb(),this[_0x1227d7(0x1e2)]=new _0x43b22a(),this[_0x1227d7(0x1d4)]=new _0x2a1b46({'focusables':this[_0x1227d7(0x1c5)],'focusTracker':this[_0x1227d7(0x1cf)],'keystrokeHandler':this[_0x1227d7(0x1e2)],'actions':{'focusPrevious':_0x1227d7(0x1de),'focusNext':_0x1227d7(0x1f0)},'keystrokeHandlerOptions':{'filter':_0x446607=>_0x446607[_0x1227d7(0x206)]!==this[_0x1227d7(0x20a)]}}),this[_0x1227d7(0x1db)](this[_0x1227d7(0x202)]());}[_0x46ab4b(0x20f)](){const _0x1b5d05=_0x46ab4b;super[_0x1b5d05(0x20f)]();const _0x379cff=this[_0x1b5d05(0x20a)][_0x1b5d05(0x20b)](_0x1b5d05(0x210));_0x379cff[_0x1b5d05(0x1f1)]=this[_0x1b5d05(0x214)],this['on'](_0x1b5d05(0x1da),(_0x36c532,_0x195496,_0x2384ba)=>{const _0x37b0ee=_0x1b5d05;_0x379cff[_0x37b0ee(0x1f1)]=_0x2384ba;}),this[_0x1b5d05(0x1ef)]();}[_0x46ab4b(0x202)](){const _0x1124cf=_0x46ab4b,_0x2921a7=this[_0x1124cf(0x1e6)],_0x182e15=[{'tag':_0x1124cf(0x213),'attributes':{'class':[_0x1124cf(0x1d3),_0x1124cf(0x1d2)]},'children':[{'tag':_0x1124cf(0x1e5),'children':[{'text':this[_0x1124cf(0x1c7)][_0x1124cf(0x1ea)]}],'attributes':{'class':[_0x1124cf(0x1ec),_0x1124cf(0x20d)],'data-cke-tooltip-text':this[_0x1124cf(0x1c7)][_0x1124cf(0x1ea)]}},{'tag':_0x1124cf(0x1e0),'attributes':{'datetime':_0x2921a7['to'](_0x1124cf(0x212)),'class':[_0x1124cf(0x1d7),_0x1124cf(0x215)]},'children':[{'text':_0x2921a7['to'](_0x1124cf(0x212),_0x1e3b71=>this[_0x1124cf(0x1e8)][_0x1124cf(0x216)](_0x1e3b71))}]}]},{'tag':_0x1124cf(0x213),'attributes':{'class':[_0x1124cf(0x1c8),_0x1124cf(0x1e9)]},'children':[this[_0x1124cf(0x205)],this[_0x1124cf(0x1f6)]]},{'tag':_0x1124cf(0x213),'attributes':{'class':[_0x1124cf(0x1cb)]}}];return this[_0x1124cf(0x1f2)][_0x1124cf(0x201)]&&_0x182e15[_0x1124cf(0x1d5)]({'tag':_0x1124cf(0x213),'attributes':{'class':[_0x1124cf(0x1e7)]},'children':[{'text':this[_0x1124cf(0x1df)]()}]}),{'tag':_0x1124cf(0x213),'attributes':{'class':[_0x1124cf(0x218),_0x1124cf(0x208)],'tabindex':-0x1},'children':[this[_0x1124cf(0x1c7)],{'tag':_0x1124cf(0x213),'attributes':{'class':[_0x1124cf(0x21c),_0x1124cf(0x1d0)],'role':_0x1124cf(0x1ca)},'children':_0x182e15}]};}[_0x46ab4b(0x1e3)](){const _0x28966d=_0x46ab4b;this[_0x28966d(0x20a)][_0x28966d(0x1e3)]();}[_0x46ab4b(0x1dc)](){const _0x50150a=_0x46ab4b;return this[_0x50150a(0x1f2)][_0x50150a(0x201)]?_0x50150a(0x1ee)===this[_0x50150a(0x1f2)][_0x50150a(0x1cd)][_0x50150a(0x1c6)][_0x50150a(0x20e)]?_0x459550(this[_0x50150a(0x1f9)],_0x50150a(0x1fc),this[_0x50150a(0x1f2)][_0x50150a(0x1d1)][_0x50150a(0x1ea)]):_0x459550(this[_0x50150a(0x1f9)],_0x50150a(0x1f8),this[_0x50150a(0x1f2)][_0x50150a(0x1d1)][_0x50150a(0x1ea)]):null;}[_0x46ab4b(0x1df)](){const _0x54b08a=_0x46ab4b;return _0x54b08a(0x1ee)===this[_0x54b08a(0x1f2)][_0x54b08a(0x1cd)][_0x54b08a(0x1c6)][_0x54b08a(0x20e)]?_0x459550(this[_0x54b08a(0x1f9)],_0x54b08a(0x1d6)):_0x459550(this[_0x54b08a(0x1f9)],_0x54b08a(0x204));}[_0x46ab4b(0x1fe)](_0x46ade6,_0x2f84c5,_0x112731,_0x3d3a86,_0x4203cc){const _0xa1a301=_0x46ab4b,_0x1064fc=new _0x40035e(this[_0xa1a301(0x1f9)]);return _0x1064fc[_0xa1a301(0x21b)]({'label':_0x46ade6,'icon':_0x2f84c5,'tooltip':!0x0,'tooltipPosition':_0x4203cc}),_0x1064fc[_0xa1a301(0x1fd)]({'attributes':{'class':_0x112731}}),_0x1064fc['on'](_0xa1a301(0x219),()=>{const _0x4d723e=_0xa1a301;this[_0x4d723e(0x1fa)](_0x3d3a86,this[_0x4d723e(0x1f2)]['id']);}),_0x1064fc;}[_0x46ab4b(0x1ef)](){const _0x1e9096=_0x46ab4b,_0x27e74f=this[_0x1e9096(0x20a)];this[_0x1e9096(0x1e2)][_0x1e9096(0x1e4)](_0x27e74f);for(const _0x5842c4 of this[_0x1e9096(0x1c5)])this[_0x1e9096(0x1cf)][_0x1e9096(0x1dd)](_0x5842c4[_0x1e9096(0x20a)]),this[_0x1e9096(0x1e2)][_0x1e9096(0x1e4)](_0x5842c4[_0x1e9096(0x20a)]);this[_0x1e9096(0x1e2)][_0x1e9096(0x21b)](_0x1e9096(0x1ed),(_0x46f788,_0x5957df)=>{const _0x48a2e5=_0x1e9096;_0x27e74f===_0x46f788[_0x48a2e5(0x206)]&&(this[_0x48a2e5(0x1d4)][_0x48a2e5(0x207)](),_0x5957df());}),this[_0x1e9096(0x1e2)][_0x1e9096(0x21b)](_0x1e9096(0x209),(_0x10e5ef,_0x7fef03)=>{const _0xcc41f2=_0x1e9096;_0x27e74f!==_0x10e5ef[_0xcc41f2(0x206)]&&(this[_0xcc41f2(0x1e3)](),_0x7fef03());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x10ed2c=_0xfd7c;function _0x2265(){const _0x4ae552=['data-ck-root-name','options','element','ck-reset','style','3930900xiBRqI','334334fpEByc','height','className','previewDataReady','push','144194HMNwRc','1212531DnOVrV','render','setPreviewData','content','dialogRects','2282008DFkXBj','setTemplate','width','863649qaDfld','2231525unZqAo','128cMROkB','ck-track-changes-preview','focus','\x20ck-track-changes-preview__root-container','fire','createElement','2blPoeF','setAttribute','classes','innerHTML','div'];_0x2265=function(){return _0x4ae552;};return _0x2265();}(function(_0x5bb30a,_0x205a92){const _0xf85571=_0xfd7c,_0x282f1e=_0x5bb30a();while(!![]){try{const _0x57c051=-parseInt(_0xf85571(0x1df))/0x1*(parseInt(_0xf85571(0x1f0))/0x2)+parseInt(_0xf85571(0x1e0))/0x3+parseInt(_0xf85571(0x1e5))/0x4+parseInt(_0xf85571(0x1e9))/0x5+parseInt(_0xf85571(0x1d9))/0x6+-parseInt(_0xf85571(0x1da))/0x7+parseInt(_0xf85571(0x1ea))/0x8*(-parseInt(_0xf85571(0x1e8))/0x9);if(_0x57c051===_0x205a92)break;else _0x282f1e['push'](_0x282f1e['shift']());}catch(_0x3a65e9){_0x282f1e['push'](_0x282f1e['shift']());}}}(_0x2265,0x55282));import{View as _0x49cc87}from'ckeditor5/src/ui.js';function _0xfd7c(_0x3212a3,_0x589d09){const _0x22650a=_0x2265();return _0xfd7c=function(_0xfd7c51,_0x48d181){_0xfd7c51=_0xfd7c51-0x1d8;let _0x302e7d=_0x22650a[_0xfd7c51];return _0x302e7d;},_0xfd7c(_0x3212a3,_0x589d09);}export class TrackChangesPreviewView extends _0x49cc87{[_0x10ed2c(0x1f6)];constructor(_0x25372a,_0xb4360){const _0x1eede4=_0x10ed2c;super(_0x25372a),this[_0x1eede4(0x1f6)]=_0xb4360,this[_0x1eede4(0x1e6)]({'tag':_0x1eede4(0x1f4),'attributes':{'class':['ck',_0x1eede4(0x1f8),_0x1eede4(0x1eb)],'tabindex':-0x1}});}[_0x10ed2c(0x1e1)](){const _0x5a4091=_0x10ed2c;super[_0x5a4091(0x1e1)](),this[_0x5a4091(0x1f7)][_0x5a4091(0x1d8)][_0x5a4091(0x1e7)]=this[_0x5a4091(0x1f6)][_0x5a4091(0x1e4)][_0x5a4091(0x1e7)]+'px',this[_0x5a4091(0x1f7)][_0x5a4091(0x1d8)][_0x5a4091(0x1db)]=this[_0x5a4091(0x1f6)][_0x5a4091(0x1e4)][_0x5a4091(0x1db)]+'px';}[_0x10ed2c(0x1e2)](_0x153135,_0x55aff4){const _0xcaaf1a=_0x10ed2c;if(!this[_0xcaaf1a(0x1f7)])return;const _0x3772b3=[];for(const [_0x366ba1,_0x5c30b4]of _0x153135){const _0x12b7e0=document[_0xcaaf1a(0x1ef)](_0xcaaf1a(0x1f4));_0x12b7e0[_0xcaaf1a(0x1f1)](_0xcaaf1a(0x1f5),_0x366ba1),_0x12b7e0[_0xcaaf1a(0x1dc)]=_0x5c30b4[_0xcaaf1a(0x1f2)]+_0xcaaf1a(0x1ed),_0x12b7e0[_0xcaaf1a(0x1f3)]=_0x5c30b4[_0xcaaf1a(0x1e3)],_0x3772b3[_0xcaaf1a(0x1de)](_0x12b7e0);}_0x55aff4(this[_0xcaaf1a(0x1f7)],_0x3772b3),this[_0xcaaf1a(0x1f7)][_0xcaaf1a(0x1d8)][_0xcaaf1a(0x1db)]='',this[_0xcaaf1a(0x1ee)](_0xcaaf1a(0x1dd));}[_0x10ed2c(0x1ec)](){const _0x3c88bf=_0x10ed2c;this[_0x3c88bf(0x1f7)][_0x3c88bf(0x1ec)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x56fb14,_0x48636a,_0x384cc9){const _0x311a1b=_0x56fb14['t'],t=_0x56fb14['t'];switch(_0x48636a){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',_0x384cc9);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x384cc9);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x384cc9);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x384cc9);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x384cc9);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',_0x384cc9);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x384cc9);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',_0x384cc9);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x384cc9);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x384cc9);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x384cc9);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x384cc9);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x384cc9);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x384cc9);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x384cc9);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x384cc9);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x384cc9);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x384cc9);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x384cc9);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x384cc9);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x384cc9);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x384cc9);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x384cc9);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x384cc9);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x384cc9);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'},_0x384cc9);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x384cc9);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x384cc9);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x384cc9);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x384cc9);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x384cc9);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x384cc9);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x384cc9);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x384cc9);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x384cc9);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x384cc9);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x384cc9);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x384cc9);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'},_0x384cc9);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x384cc9);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x384cc9);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x384cc9);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x384cc9);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x384cc9);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x384cc9);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'},_0x384cc9);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x384cc9);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 _0x311a1b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x384cc9);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x311a1b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x384cc9);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x384cc9);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'},_0x384cc9);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'},_0x384cc9);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'},_0x384cc9);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x48636a;}}
|
|
23
|
+
export function getTranslation(_0x31260b,_0x4c7427,_0x1257cc){const _0x689c20=_0x31260b['t'],t=_0x31260b['t'];switch(_0x4c7427){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',_0x1257cc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1257cc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1257cc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1257cc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1257cc);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',_0x1257cc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1257cc);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',_0x1257cc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1257cc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1257cc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1257cc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1257cc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1257cc);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1257cc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1257cc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1257cc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1257cc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1257cc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1257cc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1257cc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1257cc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1257cc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1257cc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1257cc);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1257cc);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'},_0x1257cc);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1257cc);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1257cc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1257cc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1257cc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1257cc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1257cc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1257cc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1257cc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1257cc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1257cc);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1257cc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1257cc);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'},_0x1257cc);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1257cc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1257cc);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1257cc);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1257cc);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1257cc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1257cc);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 _0x689c20({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1257cc);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x689c20({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1257cc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1257cc);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'},_0x1257cc);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'},_0x1257cc);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'},_0x1257cc);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4c7427;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d2dc3,_0x3c533b){const _0x43f768=_0x47da,_0x55dc35=_0x3d2dc3();while(!![]){try{const _0x192c1a=-parseInt(_0x43f768(0x183))/0x1+parseInt(_0x43f768(0x160))/0x2+-parseInt(_0x43f768(0x154))/0x3+-parseInt(_0x43f768(0x15e))/0x4*(parseInt(_0x43f768(0x155))/0x5)+-parseInt(_0x43f768(0x16c))/0x6+parseInt(_0x43f768(0x16b))/0x7*(parseInt(_0x43f768(0x168))/0x8)+parseInt(_0x43f768(0x17c))/0x9;if(_0x192c1a===_0x3c533b)break;else _0x55dc35['push'](_0x55dc35['shift']());}catch(_0x50b353){_0x55dc35['push'](_0x55dc35['shift']());}}}(_0x58c3,0x7d7e9));function _0x47da(_0x1a67f6,_0x26bccf){const _0x58c3ac=_0x58c3();return _0x47da=function(_0x47da1b,_0x32b040){_0x47da1b=_0x47da1b-0x152;let _0x5f10b0=_0x58c3ac[_0x47da1b];return _0x5f10b0;},_0x47da(_0x1a67f6,_0x26bccf);}export function normalizeDescription(_0x58b342){const _0x5dd9f0=_0x47da;return Array[_0x5dd9f0(0x173)](_0x58b342)||(_0x58b342=[_0x58b342]),_0x58b342[_0x5dd9f0(0x162)](_0x1e6caa=>{const _0xa34f92=_0x5dd9f0,_0x5bccbd=_0x1e6caa[_0xa34f92(0x182)][_0xa34f92(0x17d)](/\*/g,''),_0xb6f8a=_0x1e6caa[_0xa34f92(0x17a)]?_0xa34f92(0x166)+_0x1e6caa[_0xa34f92(0x17a)][_0xa34f92(0x171)]+']':'';return'['+_0x1e6caa[_0xa34f92(0x187)]+']\x20'+_0x5bccbd+_0xb6f8a;})[_0x5dd9f0(0x157)](';\x20');}export function renderDescription(_0x27a9c7,_0x5e2bd3){const _0x189eab=_0x47da;let _0x2b063b='';return _0x2b063b+=_0x27a9c7[_0x189eab(0x15d)]('*')[_0x189eab(0x162)]((_0x2c1124,_0x5202dc)=>_0x5202dc%0x2!=0x0?_0x189eab(0x17e)+rn(_0x2c1124)+_0x189eab(0x15b):rn(_0x2c1124))[_0x189eab(0x157)](''),_0x5e2bd3&&(_0x2b063b+=_0x189eab(0x167)+_0x5e2bd3[_0x189eab(0x171)]+_0x189eab(0x185)+_0x5e2bd3[_0x189eab(0x153)]+_0x189eab(0x178)),_0x2b063b;}function rn(_0x4d892b){const _0x3156a6=_0x47da,_0x40cbbc=document[_0x3156a6(0x156)](_0x3156a6(0x164));return _0x40cbbc[_0x3156a6(0x176)]=_0x4d892b,_0x40cbbc[_0x3156a6(0x158)];}export function sortSuggestions(_0x38f008){const _0x3d23ee=_0x47da;return _0x38f008[_0x3d23ee(0x175)]((_0x144712,_0xf45696)=>_0x3d23ee(0x159)===_0x144712[_0x3d23ee(0x187)]&&_0x3d23ee(0x159)!==_0xf45696[_0x3d23ee(0x187)]?-0x1:_0x3d23ee(0x159)!==_0x144712[_0x3d23ee(0x187)]&&_0x3d23ee(0x159)===_0xf45696[_0x3d23ee(0x187)]?0x1:_0x3d23ee(0x172)==_0x144712[_0x3d23ee(0x187)]&&_0x3d23ee(0x172)!=_0xf45696[_0x3d23ee(0x187)]?-0x1:_0x3d23ee(0x172)!=_0x144712[_0x3d23ee(0x187)]&&_0x3d23ee(0x172)==_0xf45696[_0x3d23ee(0x187)]?0x1:0x0);}export function getSelectedSuggestions(_0x390fcb,_0x59394e){const _0x524aff=_0x47da,_0x157cf1=Array[_0x524aff(0x16e)](_0x390fcb[_0x524aff(0x163)]()),_0x592ae1=new Set();for(const _0x1663cb of _0x59394e)if(_0x1663cb[_0x524aff(0x165)]){for(const _0x18ac57 of _0x157cf1)for(const _0x5421f7 of _0x1663cb[_0x524aff(0x163)]())(_0x18ac57[_0x524aff(0x169)](_0x5421f7)||_0x390fcb[_0x524aff(0x180)]&&!_0x1663cb[_0x524aff(0x184)]&&_0x1663cb[_0x524aff(0x15a)]&&_0x5421f7[_0x524aff(0x186)][_0x524aff(0x15c)](_0x18ac57[_0x524aff(0x161)]))&&_0x592ae1[_0x524aff(0x181)](_0x1663cb);}return _0x592ae1;}export function getRangesOfBlockGroups(_0x8241ad,_0x4160c0){const _0x57362e=_0x47da;let _0x432d66,_0x232439=0x0;const _0x10e88b=[],_0x389979=_0x4160c0[_0x57362e(0x179)];for(;_0x232439<_0x8241ad[_0x57362e(0x170)];){const _0x2d26a1=_0x8241ad[_0x232439],_0x708164=_0x8241ad[_0x232439+0x1];_0x432d66||(_0x432d66=_0x4160c0[_0x57362e(0x16d)](_0x2d26a1)),cn(_0x4160c0,_0x2d26a1,_0x708164)||(_0x10e88b[_0x57362e(0x177)](_0x4160c0[_0x57362e(0x17f)](_0x432d66,_0x389979[_0x57362e(0x16f)](_0x2d26a1)?_0x4160c0[_0x57362e(0x174)](_0x2d26a1):_0x4160c0[_0x57362e(0x152)](_0x2d26a1,_0x57362e(0x186)))),_0x432d66=null),_0x232439++;}return _0x10e88b;}function _0x58c3(){const _0xdfe0c2=['createPositionAt','title','1728279tWJjaM','75aSJwFO','createElement','join','innerHTML','attribute','next','</span>','isTouching','split','98012HbqsdI','change','1818198JUsfTf','start','map','getRanges','span','isInContent','\x20[color\x20','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','4576472YIbWWx','isIntersecting','splice','7UictYA','4872840saWQvC','createPositionBefore','from','isObject','length','value','deletion','isArray','createPositionAfter','sort','innerText','push','\x22></span>','schema','color','execute','7344324hyDInz','replace','<span\x20class=\x22ck-suggestion-type\x22>','createRange','isCollapsed','add','content','27391EvvaRp','isMultiRange','\x22\x20title=\x22','end','type'];_0x58c3=function(){return _0xdfe0c2;};return _0x58c3();}function cn(_0x365db0,_0xbdde50,_0xc8a033){const _0x5ca89d=_0x47da;if(!_0xc8a033)return!0x1;const _0x24504c=_0x365db0[_0x5ca89d(0x174)](_0xbdde50),_0x53f05a=_0x365db0[_0x5ca89d(0x16d)](_0xc8a033);return _0x24504c[_0x5ca89d(0x15c)](_0x53f05a);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x20b47c,_0x4b279a,_0x2aa268){const _0x58e446=_0x47da;for(;_0x2aa268[_0x58e446(0x170)];){const _0x1a8916=_0x2aa268[_0x58e446(0x16a)](0x0,0x64);_0x20b47c[_0x58e446(0x15f)](()=>{const _0x3d5ffa=_0x58e446;for(const _0x3dcfed of _0x1a8916)_0x3dcfed[_0x3d5ffa(0x165)]&&_0x4b279a[_0x3d5ffa(0x17b)](_0x3dcfed['id']);});}}
|