@ckeditor/ckeditor5-track-changes 44.2.0-alpha.8 → 44.2.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +25 -25
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d8e9f=_0x1df2;function _0x1df2(_0x3535bb,_0x27a74e){const _0x17ad12=_0x17ad();return _0x1df2=function(_0x1df2f1,_0x1cc698){_0x1df2f1=_0x1df2f1-0xd2;let _0x5eef0b=_0x17ad12[_0x1df2f1];return _0x5eef0b;},_0x1df2(_0x3535bb,_0x27a74e);}(function(_0x65152a,_0x4e2b41){const _0x594a4e=_0x1df2,_0x578687=_0x65152a();while(!![]){try{const _0x34142d=parseInt(_0x594a4e(0xda))/0x1*(-parseInt(_0x594a4e(0xd6))/0x2)+-parseInt(_0x594a4e(0xd8))/0x3*(-parseInt(_0x594a4e(0xe2))/0x4)+parseInt(_0x594a4e(0xe1))/0x5+-parseInt(_0x594a4e(0xe6))/0x6*(parseInt(_0x594a4e(0xd3))/0x7)+-parseInt(_0x594a4e(0xdf))/0x8+parseInt(_0x594a4e(0xd5))/0x9+-parseInt(_0x594a4e(0xe5))/0xa;if(_0x34142d===_0x4e2b41)break;else _0x578687['push'](_0x578687['shift']());}catch(_0xd4f9ac){_0x578687['push'](_0x578687['shift']());}}}(_0x17ad,0x391f0));import{Plugin as _0x4b6b98}from'ckeditor5/src/core.js';import{Dialog as _0x11bbd3}from'ckeditor5/src/ui.js';function _0x17ad(){const _0x10ae5f=['appendChild','config','define','2794024tHZeBv','isPremiumPlugin','2199840BAPQQz','9600ejyFnZ','TrackChangesPreview','requires','2110710VWOjIE','12GCJbma','trackChanges.preview.renderFunction','commands','add','242557oiwDSb','editor','3703347Xfqcfz','2CMwccG','previewFinalContent','222JjgzlL','pluginName','165457MKUNJa','isOfficialPlugin'];_0x17ad=function(){return _0x10ae5f;};return _0x17ad();}import _0x909c13 from'./trackchangesdata.js';import _0x55c74a from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export default class te extends _0x4b6b98{static get[_0x1d8e9f(0xe4)](){return[_0x909c13,_0x11bbd3];}static get[_0x1d8e9f(0xd9)](){const _0x24bb97=_0x1d8e9f;return _0x24bb97(0xe3);}static get[_0x1d8e9f(0xdb)](){return!0x0;}static get[_0x1d8e9f(0xe0)](){return!0x0;}constructor(_0x37e30d){const _0x34205c=_0x1d8e9f;super(_0x37e30d),_0x37e30d[_0x34205c(0xe8)][_0x34205c(0xd2)](_0x34205c(0xd7),new _0x55c74a(this[_0x34205c(0xd4)])),_0x37e30d[_0x34205c(0xdd)][_0x34205c(0xde)](_0x34205c(0xe7),(_0x29e9a7,_0x305a98)=>{const _0x14f080=_0x34205c;for(const _0x365c3 of _0x305a98)_0x29e9a7[_0x14f080(0xdc)](_0x365c3);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2bd8(){const _0x329b0e=['getDescriptions','menuBar:trackChanges','acceptSelectedSuggestions','addSourceCollector','createAnnotationView','type','fire','Track\x20changes','arrowView','descriptionParts','createAnnotation','buttonView','getByInnerView','isOfficialPlugin','execute','plugins','source','value','define','EditorAnnotations','trialLimit','commentsListView','3190812rDISnD','getRanges','SuggestionView','CommentsUI','trackChangesLicenseKeyUsageLimit','activeAnnotations','Annotations','featureNotAllowed','focus','mainView','_createToolbarButton','locale','suggestionLoaded','_disableComments','commentThread','get','previewFinalContent','suggestionView','editor','commands','children','10skXmjT','some','acceptButton','Discard\x20all\x20selected\x20suggestions','_viewToController','separator','menuitemcheckbox','_createMenuBarMenu','activeMarkers','_addUIComponentsToFactory','bind','_refreshActiveMarkers','set','button','trackChangesLicenseKeyValid','_annotationViews','discardSelectedSuggestions','menu','escape','_destroyController','_updateController','view','isOn','trackChangesLicenseKeyNotAllowed','14151256ajCsfS','has','isEnabled','discardAllSuggestions','destroy','hasSuggestion','addMany','commandName','change:previous','push','comments.maxThreadTotalWeight','suggestionChanged','comments.maxCommentCharsWhenCollapsed','_handleSuggestionControllerDelayed','pluginName','isMultiRange','6563060mwENTv','trackChangesLicenseKeyInvalid','TrackChangesUI','from','trackChanges.SuggestionView','toMany','TrackChanges','usageLimit','switchbutton','descriptionFactory','panelView','1039695dxxYRh','values','Preview\x20final\x20content','delegate','_licenseKeyCheckInterval','CommentsRepository','innerView','head','remove','expired','discardButton','listenTo','trackChangesLicenseKeyEvaluationLimit','isInContent','isDirty','requires','TrackChangesEditing','getMarkers','clear','change:activeAnnotations','licenseKey','filter','_suggestionToController','_initializeController','suggestion-','previous','39326haTlKn','Accept\x20all\x20selected\x20suggestions','editing','getAllAdjacentSuggestions','getJoined','init','trackChangesLicenseKeyDomainLimit','trackChanges','domainLimit','_unbindEditors','comments.maxCommentsWhenCollapsed','size','_bindAnnotationToEditors','Discard\x20all\x20suggestions','add','reduce','getSuggestion','registerAnnotation','refreshSelectedViews','unbind','_showLicenseError','lowest','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','delete','1201119XITVKO','getFirstRange','invalid','actionView','length','suggestionUnloaded','evaluationLimit','TrackChangesPreview','comments','stopListening','isPremiumPlugin','trackChanges.disableComments','CommentView','createCommentThreadController','comments.editorConfig','_handleControllerBuffer','componentFactory','trackChangesLicenseKeyExpired','model','getMarkerNames','menuitem','config','trackChanges.SuggestionThreadView','items','keys','acceptAllSuggestions','2845748XSLwLZ','addComment','Accept\x20all\x20suggestions'];_0x2bd8=function(){return _0x329b0e;};return _0x2bd8();}const _0x4e6db3=_0x2384;(function(_0x4470d1,_0x4ca203){const _0x225340=_0x2384,_0x3b9808=_0x4470d1();while(!![]){try{const _0x5165b5=parseInt(_0x225340(0x1e5))/0x1+-parseInt(_0x225340(0x27a))/0x2+parseInt(_0x225340(0x260))/0x3+-parseInt(_0x225340(0x1ff))/0x4*(-parseInt(_0x225340(0x22d))/0x5)+parseInt(_0x225340(0x218))/0x6+-parseInt(_0x225340(0x255))/0x7+-parseInt(_0x225340(0x245))/0x8;if(_0x5165b5===_0x4ca203)break;else _0x3b9808['push'](_0x3b9808['shift']());}catch(_0x1f6b77){_0x3b9808['push'](_0x3b9808['shift']());}}}(_0x2bd8,0xbd812));import{Plugin as _0x1acf8b}from'ckeditor5/src/core.js';import{Collection as _0x5747df}from'ckeditor5/src/utils.js';function _0x2384(_0x244b4f,_0x297d9f){const _0x2bd85e=_0x2bd8();return _0x2384=function(_0x238485,_0x517428){_0x238485=_0x238485-0x1d8;let _0x4560df=_0x2bd85e[_0x238485];return _0x4560df;},_0x2384(_0x244b4f,_0x297d9f);}import{addListToDropdown as _0xd2d8aa,createDropdown as _0x10c52d,ListSeparatorView as _0x47cb8c,MenuBarMenuView as _0x113c1e,MenuBarMenuListView as _0x4fdd95,MenuBarMenuListItemView as _0x56ace3,MenuBarMenuListItemButtonView as _0x5592cf,SplitButtonView as _0x56f4ce,ViewModel as _0x4a98e0}from'ckeditor5/src/ui.js';import{Users as _0xb086b4,getDateTimeFormatter as _0x12e524,getAllMarkersDomElementsSorted as _0x3d6516}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3a6365 from'./trackchangesediting.js';import _0x4d2215 from'./ui/suggestioncontroller.js';import _0x2a3788 from'./ui/view/suggestionthreadview.js';import _0x1e4ec2 from'./ui/view/suggestionview.js';import{getTranslation as _0xaf9531}from'./utils/common-translations.js';import _0x3f3fcb from'../theme/icons/track-changes.svg';export default class d extends _0x1acf8b{static get[_0x4e6db3(0x26f)](){const _0x4badd8=_0x4e6db3;return[_0x3a6365,_0xb086b4,_0x4badd8(0x265),_0x4badd8(0x21e),_0x4badd8(0x215)];}static get[_0x4e6db3(0x253)](){const _0x386107=_0x4e6db3;return _0x386107(0x257);}static get[_0x4e6db3(0x20f)](){return!0x0;}static get[_0x4e6db3(0x1ef)](){return!0x0;}constructor(_0x341df0){const _0x297aea=_0x4e6db3;super(_0x341df0),this[_0x297aea(0x276)]=new Map(),this[_0x297aea(0x231)]=new Map(),this[_0x297aea(0x23c)]=new Map(),this[_0x297aea(0x1f4)]=new Map();const _0x298a89=this[_0x297aea(0x22a)][_0x297aea(0x1fa)];_0x298a89[_0x297aea(0x214)](_0x297aea(0x1fb),_0x2a3788),_0x298a89[_0x297aea(0x214)](_0x297aea(0x259),_0x1e4ec2),_0x298a89[_0x297aea(0x214)](_0x297aea(0x1f0),!0x1),this[_0x297aea(0x225)]=_0x298a89[_0x297aea(0x227)](_0x297aea(0x1f0));}[_0x4e6db3(0x252)](_0x4d3bba,_0x1fc5e5){const _0x3bdc48=_0x4e6db3;0x0===this[_0x3bdc48(0x1f4)][_0x3bdc48(0x285)]&&setTimeout(()=>{const _0xdf4239=_0x3bdc48;for(const [_0xfd2d20,_0x43d94d]of this[_0xdf4239(0x1f4)]){const _0x544363=this[_0xdf4239(0x276)][_0xdf4239(0x246)](_0xfd2d20);_0x544363||_0x43d94d?_0x544363&&_0x43d94d&&this[_0xdf4239(0x240)](_0xfd2d20):this[_0xdf4239(0x277)](_0xfd2d20);}this[_0xdf4239(0x1f4)][_0xdf4239(0x272)](),this[_0xdf4239(0x22a)][_0xdf4239(0x211)][_0xdf4239(0x227)](_0xdf4239(0x215))[_0xdf4239(0x1de)](),this[_0xdf4239(0x238)]();},0xa),this[_0x3bdc48(0x1f4)][_0x3bdc48(0x239)](_0x4d3bba,_0x1fc5e5);}[_0x4e6db3(0x27f)](){const _0x492458=_0x4e6db3,_0x32527d=this[_0x492458(0x22a)],_0x94e667=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x270)),_0x4463e2=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x21e)),_0x3fac4c=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x215)),_0x3865d0=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x265));this[_0x492458(0x236)](),_0x3fac4c[_0x492458(0x205)](()=>{const _0xe769db=_0x492458,_0x481396=[];for(const [_0x1a20de,_0x55bc9c]of Array[_0xe769db(0x258)](this[_0xe769db(0x276)])){const _0x1cceb3=_0x1a20de[_0xe769db(0x27d)](),_0x5321b6=[];for(const _0x49f767 of _0x1cceb3){if(!_0x49f767[_0xe769db(0x26d)])continue;if(_0x49f767[_0xe769db(0x254)]){_0x5321b6[_0xe769db(0x24e)](..._0x49f767[_0xe769db(0x219)]());continue;}const _0x96c3f5=_0x49f767[_0xe769db(0x1e6)]();if(_0x5321b6[_0xe769db(0x1e9)]>0x0){const _0x2c353f=_0x5321b6[0x0][_0xe769db(0x27e)](_0x96c3f5);if(_0x2c353f){_0x5321b6[0x0]=_0x2c353f;continue;}}_0x5321b6[_0xe769db(0x24e)](_0x96c3f5);}_0x481396[_0xe769db(0x24e)]([_0x55bc9c[_0xe769db(0x242)],_0x5321b6]);}return _0x481396;}),this[_0x492458(0x26b)](_0x94e667,_0x492458(0x224),(_0x5d3c6a,_0x46d91f)=>{const _0x21e5d9=_0x492458;this[_0x21e5d9(0x26b)](_0x46d91f,_0x21e5d9(0x24d),(_0x2a026b,_0x1ff948,_0xeb18d3,_0x500c1b)=>{const _0x42f991=_0x21e5d9;_0x46d91f[_0x42f991(0x26d)]&&(null==_0xeb18d3?(this[_0x42f991(0x241)](_0x500c1b[_0x42f991(0x267)]),this[_0x42f991(0x252)](_0x46d91f,!0x1)):(this[_0x42f991(0x241)](_0xeb18d3[_0x42f991(0x267)]),null==_0x500c1b&&this[_0x42f991(0x252)](_0x46d91f,!0x0)));}),null!==_0x46d91f[_0x21e5d9(0x279)]?this[_0x21e5d9(0x241)](_0x46d91f[_0x21e5d9(0x267)]):this[_0x21e5d9(0x252)](_0x46d91f,!0x1);}),this[_0x492458(0x26b)](_0x94e667,_0x492458(0x1ea),(_0x5aafd3,_0x3ab433,_0xc1b21)=>{const _0x30429f=_0x492458;this[_0x30429f(0x1ee)](_0x3ab433,_0x30429f(0x24d)),this[_0x30429f(0x1f4)][_0x30429f(0x1e4)](_0x3ab433),this[_0x30429f(0x276)][_0x30429f(0x246)](_0x3ab433)&&this[_0x30429f(0x240)](_0x3ab433),_0xc1b21&&this[_0x30429f(0x241)](_0xc1b21[_0x30429f(0x267)]);}),this[_0x492458(0x26b)](_0x94e667,_0x492458(0x250),(_0x2e9db6,_0x384f2d)=>{const _0x3419a5=_0x492458;this[_0x3419a5(0x241)](_0x384f2d);}),this[_0x492458(0x26b)](_0x4463e2,_0x492458(0x273),()=>{const _0x5f28f5=_0x492458;this[_0x5f28f5(0x238)]();}),this[_0x492458(0x26b)](_0x3865d0,_0x492458(0x200),(_0x133356,{threadId:_0x58683b,isFromAdapter:_0x43fca9})=>{const _0x2a4afe=_0x492458;if(_0x43fca9||!_0x94e667[_0x2a4afe(0x24a)](_0x58683b))return;const _0x7fd7a9=_0x94e667[_0x2a4afe(0x1dc)](_0x58683b);this[_0x2a4afe(0x276)][_0x2a4afe(0x227)](_0x7fd7a9)[_0x2a4afe(0x242)][_0x2a4afe(0x217)][_0x2a4afe(0x220)](-0x1);},{'priority':_0x492458(0x1e1)}),this[_0x492458(0x274)]=this[_0x492458(0x22a)][_0x492458(0x1fa)][_0x492458(0x227)](_0x492458(0x274));const _0x5a9801=this[_0x492458(0x22a)];this[_0x492458(0x264)]=setInterval(()=>{const _0x1f5540=_0x492458;let _0x3a153e;for(const _0x46fdb1 in _0x5a9801){const _0x54354e=_0x46fdb1,_0x13379a=_0x5a9801[_0x54354e];if(_0x1f5540(0x23b)==_0x13379a||_0x1f5540(0x256)==_0x13379a||_0x1f5540(0x1f6)==_0x13379a||_0x1f5540(0x280)==_0x13379a||_0x1f5540(0x244)==_0x13379a||_0x1f5540(0x26c)==_0x13379a||_0x1f5540(0x1e3)==_0x13379a||_0x1f5540(0x21c)==_0x13379a){delete _0x5a9801[_0x54354e],_0x3a153e=_0x13379a,clearInterval(this[_0x1f5540(0x264)]),this[_0x1f5540(0x264)]=void 0x0;break;}}_0x1f5540(0x256)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x1e7)),_0x1f5540(0x1f6)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x269)),_0x1f5540(0x280)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x282)),_0x1f5540(0x244)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x21f),_0x1f5540(0x25b)),_0x1f5540(0x26c)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x1eb)),_0x1f5540(0x1e3)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x216)),_0x1f5540(0x21c)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x25c));},0x3e8);}[_0x4e6db3(0x238)](){const _0x4cab32=_0x4e6db3,_0x52f12f=this[_0x4cab32(0x22a)][_0x4cab32(0x211)][_0x4cab32(0x227)](_0x4cab32(0x21e)),_0x3ea0dc=this[_0x4cab32(0x22a)][_0x4cab32(0x211)][_0x4cab32(0x227)](_0x4cab32(0x270)),_0x5b2c1e=Array[_0x4cab32(0x258)](_0x52f12f[_0x4cab32(0x21d)],_0x286a35=>_0x286a35[_0x4cab32(0x266)])[_0x4cab32(0x275)](_0x209906=>this[_0x4cab32(0x231)][_0x4cab32(0x246)](_0x209906)),_0x51b388=[];for(const _0x1b4f9a of _0x5b2c1e){const _0x2582f9=this[_0x4cab32(0x231)][_0x4cab32(0x227)](_0x1b4f9a)[_0x4cab32(0x1f7)][_0x4cab32(0x27d)]();_0x51b388[_0x4cab32(0x24e)](..._0x2582f9[_0x4cab32(0x1db)]((_0x7c6bae,_0x388393)=>[..._0x7c6bae,..._0x388393[_0x4cab32(0x1f8)]()],[]));}_0x3ea0dc[_0x4cab32(0x235)]=_0x51b388;}[_0x4e6db3(0x236)](){const _0xf0967b=_0x4e6db3,_0x433c93=this[_0xf0967b(0x22a)],_0x131c19=_0x433c93[_0xf0967b(0x223)],_0x3eff34=_0xaf9531(_0x131c19,_0xf0967b(0x209)),_0x4e3459=new _0x5747df([{'type':_0xf0967b(0x25d),'model':new _0x4a98e0({'withText':!0x0,'isToggleable':!0x0,'label':_0x3eff34,'commandName':_0xf0967b(0x281),'role':_0xf0967b(0x233)})},{'type':_0xf0967b(0x232)},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x201)),'commandName':_0xf0967b(0x1fe),'role':_0xf0967b(0x1f9)})},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x27b)),'commandName':_0xf0967b(0x204),'role':_0xf0967b(0x1f9)})},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x1d9)),'commandName':_0xf0967b(0x248),'role':_0xf0967b(0x1f9)})},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x230)),'commandName':_0xf0967b(0x23d),'role':_0xf0967b(0x1f9)})}]);_0x433c93[_0xf0967b(0x211)][_0xf0967b(0x246)](_0xf0967b(0x1ec))&&_0x4e3459[_0xf0967b(0x24b)]([{'type':_0xf0967b(0x232)},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x262)),'commandName':_0xf0967b(0x228),'role':_0xf0967b(0x1f9)})}]);for(const _0x517a3c of _0x4e3459)if(ke(_0x517a3c)){const _0x1fc347=_0x433c93[_0xf0967b(0x22b)][_0xf0967b(0x227)](_0x517a3c[_0xf0967b(0x1f7)][_0xf0967b(0x24c)]);_0x517a3c[_0xf0967b(0x1f7)][_0xf0967b(0x237)](_0xf0967b(0x243),_0xf0967b(0x247))['to'](_0x1fc347,_0xf0967b(0x213),_0xf0967b(0x247));}_0x433c93['ui'][_0xf0967b(0x1f5)][_0xf0967b(0x1da)](_0xf0967b(0x281),_0x56a259=>this[_0xf0967b(0x222)](_0x56a259,_0x4e3459,_0x3eff34)),_0x433c93['ui'][_0xf0967b(0x1f5)][_0xf0967b(0x1da)](_0xf0967b(0x203),_0x2c1c15=>this[_0xf0967b(0x234)](_0x2c1c15,_0x4e3459,_0x3eff34));}[_0x4e6db3(0x222)](_0x265357,_0x38f4c8,_0x310e6a){const _0x42d822=_0x4e6db3,_0x10203f=_0x10c52d(_0x265357,_0x56f4ce),_0x4e9960=this[_0x42d822(0x22a)][_0x42d822(0x22b)][_0x42d822(0x227)](_0x42d822(0x281));_0x10203f[_0x42d822(0x20d)][_0x42d822(0x239)]({'tooltip':_0x310e6a,'label':_0x310e6a,'icon':_0x3f3fcb}),_0x10203f[_0x42d822(0x20d)][_0x42d822(0x237)](_0x42d822(0x243))['to'](_0x4e9960,_0x42d822(0x213)),_0x10203f[_0x42d822(0x20d)]['on'](_0x42d822(0x210),()=>{const _0x170941=_0x42d822;_0x4e9960[_0x170941(0x210)](),this[_0x170941(0x22a)][_0x170941(0x27c)][_0x170941(0x242)][_0x170941(0x220)]();}),_0xd2d8aa(_0x10203f,_0x38f4c8,{'role':_0x42d822(0x23e)});const _0x374898=[];for(const _0x31205a of _0x38f4c8)ke(_0x31205a)&&_0x374898[_0x42d822(0x24e)](this[_0x42d822(0x22a)][_0x42d822(0x22b)][_0x42d822(0x227)](_0x31205a[_0x42d822(0x1f7)][_0x42d822(0x24c)]));const _0x5cab42=_0x10203f[_0x42d822(0x20d)];return _0x5cab42[_0x42d822(0x1e8)][_0x42d822(0x1df)](_0x42d822(0x247)),_0x5cab42[_0x42d822(0x20a)][_0x42d822(0x1df)](_0x42d822(0x247)),_0x5cab42[_0x42d822(0x1e8)][_0x42d822(0x237)](_0x42d822(0x247))['to'](_0x4e9960,_0x42d822(0x247)),_0x5cab42[_0x42d822(0x20a)][_0x42d822(0x237)](_0x42d822(0x247))[_0x42d822(0x25a)](_0x374898,_0x42d822(0x247),(..._0x4a5318)=>_0x4a5318[_0x42d822(0x22e)](_0x22e121=>_0x22e121)),_0x10203f['on'](_0x42d822(0x210),_0x59bd83=>{const _0x5abf91=_0x42d822;this[_0x5abf91(0x22a)][_0x5abf91(0x210)](_0x59bd83[_0x5abf91(0x212)][_0x5abf91(0x24c)]),this[_0x5abf91(0x22a)][_0x5abf91(0x27c)][_0x5abf91(0x242)][_0x5abf91(0x220)]();}),_0x10203f;}[_0x4e6db3(0x234)](_0x5803c5,_0x37ec45,_0x3ca9ac){const _0x58766f=_0x4e6db3,_0x2f916a=new _0x113c1e(_0x5803c5),_0x4349e8=this[_0x58766f(0x22a)][_0x58766f(0x22b)][_0x58766f(0x227)](_0x58766f(0x281));_0x2f916a[_0x58766f(0x20d)][_0x58766f(0x239)]({'label':_0x3ca9ac,'icon':_0x3f3fcb});const _0x3f3ea9=new _0x4fdd95(_0x5803c5);for(const _0x6cb829 of _0x37ec45){if(_0x58766f(0x232)==_0x6cb829[_0x58766f(0x207)]){_0x3f3ea9[_0x58766f(0x1fc)][_0x58766f(0x1da)](new _0x47cb8c(_0x5803c5));continue;}const _0x385527=new _0x56ace3(_0x5803c5,_0x2f916a),_0x47f08b=new _0x5592cf(_0x5803c5),_0x5ad8ee=_0x6cb829[_0x58766f(0x1f7)];_0x47f08b[_0x58766f(0x237)](...Object[_0x58766f(0x1fd)](_0x5ad8ee))['to'](_0x5ad8ee),_0x47f08b[_0x58766f(0x263)](_0x58766f(0x210))['to'](_0x2f916a),_0x47f08b['on'](_0x58766f(0x210),()=>{const _0x3002c2=_0x58766f;this[_0x3002c2(0x22a)][_0x3002c2(0x210)](_0x5ad8ee[_0x3002c2(0x24c)]),this[_0x3002c2(0x22a)][_0x3002c2(0x27c)][_0x3002c2(0x242)][_0x3002c2(0x220)]();}),_0x385527[_0x58766f(0x22c)][_0x58766f(0x1da)](_0x47f08b),_0x3f3ea9[_0x58766f(0x1fc)][_0x58766f(0x1da)](_0x385527);}return _0x2f916a[_0x58766f(0x237)](_0x58766f(0x247))['to'](_0x4349e8,_0x58766f(0x247)),_0x2f916a[_0x58766f(0x25f)][_0x58766f(0x22c)][_0x58766f(0x1da)](_0x3f3ea9),_0x2f916a;}[_0x4e6db3(0x277)](_0x2ae6f7){const _0x5f5cb0=_0x4e6db3,_0x339644=this[_0x5f5cb0(0x22a)],_0x241443=_0x339644[_0x5f5cb0(0x1fa)],_0x4bb296=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x21e)),_0x47465e=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x265)),_0x5084ce=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x215)),_0x5d6e87=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0xb086b4)['me'],_0x355d7c=_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x281))[_0x5f5cb0(0x1e2)],_0x41ef9b=_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x281))[_0x5f5cb0(0x21a)],{CommentsListView:_0x2176a7,CommentThreadInputView:_0x1bc263}=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x21b));let _0x37b4b6,_0x2f432d,_0x460d17;this[_0x5f5cb0(0x23c)][_0x5f5cb0(0x246)](_0x2ae6f7['id'])?(_0x2f432d=this[_0x5f5cb0(0x23c)][_0x5f5cb0(0x227)](_0x2ae6f7['id']),_0x37b4b6=_0x2f432d[_0x5f5cb0(0x221)]):(_0x37b4b6=new _0x355d7c(_0x339644[_0x5f5cb0(0x223)],_0x2ae6f7,_0x5d6e87,{'disableComments':this[_0x5f5cb0(0x225)],'editorConfig':{..._0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x1f3)),'licenseKey':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x274))},'maxCommentsWhenCollapsed':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x284)),'maxThreadTotalWeight':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x24f)),'maxCommentCharsWhenCollapsed':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x251)),'formatDateTime':_0x12e524(_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x223))),'CommentView':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x1ed))[_0x5f5cb0(0x1f1)],'CommentsListView':_0x2176a7,'CommentThreadInputView':_0x1bc263,'SuggestionView':_0x41ef9b}),_0x37b4b6[_0x5f5cb0(0x229)][_0x5f5cb0(0x22f)]['on'](_0x5f5cb0(0x210),()=>{const _0x1372f6=_0x5f5cb0;_0x339644[_0x1372f6(0x27c)][_0x1372f6(0x242)][_0x1372f6(0x220)]();}),_0x37b4b6[_0x5f5cb0(0x229)][_0x5f5cb0(0x26a)]['on'](_0x5f5cb0(0x210),()=>{const _0xa0e824=_0x5f5cb0;_0x339644[_0xa0e824(0x27c)][_0xa0e824(0x242)][_0xa0e824(0x220)]();}),_0x2f432d=_0x4bb296[_0x5f5cb0(0x206)](this[_0x5f5cb0(0x22a)][_0x5f5cb0(0x223)],_0x37b4b6),_0x2f432d[_0x5f5cb0(0x237)](_0x5f5cb0(0x26e))['to'](_0x37b4b6,_0x5f5cb0(0x26e)),_0x2f432d[_0x5f5cb0(0x237)](_0x5f5cb0(0x1e9))['to'](_0x37b4b6),_0x2f432d[_0x5f5cb0(0x237)](_0x5f5cb0(0x207))['to'](_0x37b4b6,_0x5f5cb0(0x207),_0x57bcfa=>_0x5f5cb0(0x278)+_0x57bcfa),_0x37b4b6['on'](_0x5f5cb0(0x23f),()=>{const _0x2f7fb2=_0x5f5cb0;_0x460d17[_0x2f7fb2(0x208)](_0x2f7fb2(0x23f));}),this[_0x5f5cb0(0x23c)][_0x5f5cb0(0x239)](_0x2ae6f7['id'],_0x2f432d));const _0x4e3f14=_0x47465e[_0x5f5cb0(0x1f2)](_0x2ae6f7[_0x5f5cb0(0x226)],_0x37b4b6),_0x1c5792=new _0x4d2215(_0x339644,_0x2ae6f7,_0x37b4b6,_0x4e3f14),_0x1bedfc=_0x2ae6f7[_0x5f5cb0(0x27d)]()[_0x5f5cb0(0x275)](_0x38503a=>_0x38503a[_0x5f5cb0(0x26d)]);_0x37b4b6[_0x5f5cb0(0x20b)]=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x270))[_0x5f5cb0(0x25e)][_0x5f5cb0(0x202)](_0x1bedfc),this[_0x5f5cb0(0x276)][_0x5f5cb0(0x239)](_0x2ae6f7,_0x1c5792),this[_0x5f5cb0(0x231)][_0x5f5cb0(0x239)](_0x37b4b6,_0x1c5792),_0x460d17=_0x4bb296[_0x5f5cb0(0x20c)]({'view':_0x2f432d,'target':()=>{const _0x2708d2=_0x5f5cb0,_0x157f44=[],_0x705f83=_0x2ae6f7[_0x2708d2(0x27d)]()[_0x2708d2(0x275)](_0x2aba43=>_0x2aba43[_0x2708d2(0x26d)]);for(const _0x3dafce of _0x705f83)_0x157f44[_0x2708d2(0x24e)](..._0x3dafce[_0x2708d2(0x271)]());return _0x3d6516(_0x339644[_0x2708d2(0x27c)],_0x157f44);},'type':()=>_0x5f5cb0(0x278)+_0x1c5792[_0x5f5cb0(0x242)][_0x5f5cb0(0x207)]}),_0x47465e[_0x5f5cb0(0x1d8)](_0x37b4b6,_0x460d17),_0x4bb296[_0x5f5cb0(0x1da)](_0x460d17),_0x5084ce[_0x5f5cb0(0x1dd)](_0x460d17);}[_0x4e6db3(0x240)](_0x4b1992){const _0x3a0ec0=_0x4e6db3,_0x3647a6=this[_0x3a0ec0(0x22a)][_0x3a0ec0(0x211)][_0x3a0ec0(0x227)](_0x3a0ec0(0x265)),_0x37e4bd=this[_0x3a0ec0(0x22a)][_0x3a0ec0(0x211)][_0x3a0ec0(0x227)](_0x3a0ec0(0x21e)),_0x42de65=this[_0x3a0ec0(0x276)][_0x3a0ec0(0x227)](_0x4b1992),_0x4520ab=_0x42de65[_0x3a0ec0(0x242)],_0x1ddff9=_0x37e4bd[_0x3a0ec0(0x20e)](_0x4520ab);_0x3647a6[_0x3a0ec0(0x283)](_0x4520ab),_0x1ddff9&&_0x37e4bd[_0x3a0ec0(0x268)](_0x1ddff9),this[_0x3a0ec0(0x276)][_0x3a0ec0(0x1e4)](_0x4b1992),this[_0x3a0ec0(0x231)][_0x3a0ec0(0x1e4)](_0x4520ab),_0x42de65[_0x3a0ec0(0x249)]();}[_0x4e6db3(0x241)](_0x858078){const _0x2ba6e2=_0x4e6db3;if(!_0x858078[_0x2ba6e2(0x26d)]||!this[_0x2ba6e2(0x276)][_0x2ba6e2(0x246)](_0x858078))return;const _0x357869=this[_0x2ba6e2(0x22a)][_0x2ba6e2(0x211)][_0x2ba6e2(0x227)](_0x2ba6e2(0x270)),_0x5e2437=this[_0x2ba6e2(0x276)][_0x2ba6e2(0x227)](_0x858078),_0x3510b9=_0x858078[_0x2ba6e2(0x27d)]();_0x5e2437[_0x2ba6e2(0x242)][_0x2ba6e2(0x20b)]=_0x357869[_0x2ba6e2(0x25e)][_0x2ba6e2(0x202)](_0x3510b9);}[_0x4e6db3(0x249)](){const _0x3b8b7d=_0x4e6db3;for(const _0x36dccb of this[_0x3b8b7d(0x276)][_0x3b8b7d(0x1fd)]())this[_0x3b8b7d(0x240)](_0x36dccb);for(const _0x5bf588 of this[_0x3b8b7d(0x23c)][_0x3b8b7d(0x261)]())_0x5bf588[_0x3b8b7d(0x221)][_0x3b8b7d(0x249)]();super[_0x3b8b7d(0x249)](),this[_0x3b8b7d(0x264)]&&clearInterval(this[_0x3b8b7d(0x264)]);}}function ke(_0x50caeb){const _0x580dc7=_0x4e6db3;return _0x580dc7(0x1f7)in _0x50caeb;}
|
|
23
|
+
const _0x764939=_0x309e;(function(_0xc0935b,_0x24f530){const _0x2abb33=_0x309e,_0x2aab64=_0xc0935b();while(!![]){try{const _0x33ad8e=parseInt(_0x2abb33(0xbb))/0x1+parseInt(_0x2abb33(0xd4))/0x2*(parseInt(_0x2abb33(0x10f))/0x3)+-parseInt(_0x2abb33(0xdb))/0x4*(parseInt(_0x2abb33(0xce))/0x5)+parseInt(_0x2abb33(0x14d))/0x6*(-parseInt(_0x2abb33(0xe1))/0x7)+-parseInt(_0x2abb33(0xcf))/0x8*(-parseInt(_0x2abb33(0x138))/0x9)+parseInt(_0x2abb33(0x135))/0xa+-parseInt(_0x2abb33(0xb1))/0xb;if(_0x33ad8e===_0x24f530)break;else _0x2aab64['push'](_0x2aab64['shift']());}catch(_0xdc15e5){_0x2aab64['push'](_0x2aab64['shift']());}}}(_0x36db,0x98389));import{Plugin as _0x4756c0}from'ckeditor5/src/core.js';function _0x309e(_0x3bfd01,_0x217b53){const _0x36db42=_0x36db();return _0x309e=function(_0x309ede,_0x4a22d9){_0x309ede=_0x309ede-0xad;let _0x313a18=_0x36db42[_0x309ede];return _0x313a18;},_0x309e(_0x3bfd01,_0x217b53);}import{Collection as _0x15491d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x36790,createDropdown as _0xc0b46c,ListSeparatorView as _0x4c2640,MenuBarMenuView as _0x460d52,MenuBarMenuListView as _0x25c0f7,MenuBarMenuListItemView as _0xb4ae67,MenuBarMenuListItemButtonView as _0x4acef3,SplitButtonView as _0x5b4e2a,ViewModel as _0x8f74b8}from'ckeditor5/src/ui.js';import{Users as _0x3185e6,getDateTimeFormatter as _0x313acd,getAllMarkersDomElementsSorted as _0xa219ad}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1adbfb from'./trackchangesediting.js';import _0x40a58d from'./ui/suggestioncontroller.js';import _0x4df21b from'./ui/view/suggestionthreadview.js';import _0x5b0305 from'./ui/view/suggestionview.js';import{getTranslation as _0xa73e3a}from'./utils/common-translations.js';function _0x36db(){const _0x5d653b=['comments','define','discardSelectedSuggestions','stopListening','_destroyController','commentsListView','licenseKey','getJoined','suggestion-','21HBjbvu','children','descriptionFactory','size','isEnabled','_refreshActiveMarkers','init','addSourceCollector','TrackChanges','lowest','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','Annotations','remove','Accept\x20all\x20selected\x20suggestions','values','trackChanges','_viewToController','some','discardButton','from','TrackChangesUI','trackChangesLicenseKeyUsageLimit','requires','trackChanges.SuggestionView','change:activeAnnotations','comments.maxCommentCharsWhenCollapsed','Discard\x20all\x20selected\x20suggestions','_createToolbarButton','trackChangesLicenseKeyEvaluationLimit','reduce','source','actionView','_suggestionToController','Discard\x20all\x20suggestions','view','length','isPremiumPlugin','5571410PhiZBs','getFirstRange','expired','8334faIzEo','suggestionUnloaded','getSuggestion','keys','isInContent','discardAllSuggestions','_updateController','suggestionView','value','menuitemcheckbox','menu','commandName','trackChanges.SuggestionThreadView','Accept\x20all\x20suggestions','componentFactory','menuitem','SuggestionView','arrowView','_handleControllerBuffer','_annotationViews','listenTo','20814YJpvMp','trackChangesLicenseKeyExpired','_createMenuBarMenu','activeMarkers','activeAnnotations','getDescriptions','Track\x20changes','usageLimit','config','acceptSelectedSuggestions','addMany','Preview\x20final\x20content','items','CommentView','filter','head','trackChangesLicenseKeyNotAllowed','type','TrackChangesEditing','registerAnnotation','isMultiRange','16163389NahSeG','_handleSuggestionControllerDelayed','editing','switchbutton','refreshSelectedViews','model','acceptAllSuggestions','comments.maxThreadTotalWeight','_addUIComponentsToFactory','createAnnotationView','486006lJUiIG','button','panelView','getMarkers','comments.maxCommentsWhenCollapsed','previewFinalContent','menuBar:trackChanges','_unbindEditors','plugins','getAllAdjacentSuggestions','CommentsRepository','innerView','_disableComments','_licenseKeyCheckInterval','trialLimit','featureNotAllowed','invalid','pluginName','escape','10UjwRlx','7184LSXJhr','descriptionParts','has','isOfficialPlugin','trackChangesLicenseKeyDomainLimit','228716kJFhbN','EditorAnnotations','toMany','trackChangesLicenseKeyInvalid','_initializeController','editor','destroy','283484cWDvqE','evaluationLimit','hasSuggestion','mainView','clear','commentThread','889JtRhrn','createAnnotation','_bindAnnotationToEditors','change:previous','comments.editorConfig','unbind','previous','TrackChangesPreview','bind','addComment','trackChanges.disableComments','isOn','delete','getMarkerNames','get','add','push','createCommentThreadController','commands','CommentsUI','acceptButton','domainLimit','set','suggestionLoaded','isDirty','trackChangesLicenseKeyValid','focus','locale','execute','fire','_showLicenseError','suggestionChanged','getRanges','separator','getByInnerView','buttonView','delegate'];_0x36db=function(){return _0x5d653b;};return _0x36db();}import _0x34997e from'../theme/icons/track-changes.svg';export default class d extends _0x4756c0{static get[_0x764939(0x126)](){const _0x37d93a=_0x764939;return[_0x1adbfb,_0x3185e6,_0x37d93a(0xc5),_0x37d93a(0x11b),_0x37d93a(0xd5)];}static get[_0x764939(0xcc)](){const _0x4b1add=_0x764939;return _0x4b1add(0x124);}static get[_0x764939(0xd2)](){return!0x0;}static get[_0x764939(0x134)](){return!0x0;}constructor(_0x2d2f8){const _0x1095a2=_0x764939;super(_0x2d2f8),this[_0x1095a2(0x130)]=new Map(),this[_0x1095a2(0x120)]=new Map(),this[_0x1095a2(0x14b)]=new Map(),this[_0x1095a2(0x14a)]=new Map();const _0x25647d=this[_0x1095a2(0xd9)][_0x1095a2(0x155)];_0x25647d[_0x1095a2(0x107)](_0x1095a2(0x144),_0x4df21b),_0x25647d[_0x1095a2(0x107)](_0x1095a2(0x127),_0x5b0305),_0x25647d[_0x1095a2(0x107)](_0x1095a2(0xeb),!0x1),this[_0x1095a2(0xc7)]=_0x25647d[_0x1095a2(0xef)](_0x1095a2(0xeb));}[_0x764939(0xb2)](_0x4603af,_0x4a18f9){const _0x142da0=_0x764939;0x0===this[_0x142da0(0x14a)][_0x142da0(0x112)]&&setTimeout(()=>{const _0x58659f=_0x142da0;for(const [_0x35d187,_0x55ebfa]of this[_0x58659f(0x14a)]){const _0x5e48ab=this[_0x58659f(0x130)][_0x58659f(0xd1)](_0x35d187);_0x5e48ab||_0x55ebfa?_0x5e48ab&&_0x55ebfa&&this[_0x58659f(0x10a)](_0x35d187):this[_0x58659f(0xd8)](_0x35d187);}this[_0x58659f(0x14a)][_0x58659f(0xdf)](),this[_0x58659f(0xd9)][_0x58659f(0xc3)][_0x58659f(0xef)](_0x58659f(0xd5))[_0x58659f(0xb5)](),this[_0x58659f(0x114)]();},0xa),this[_0x142da0(0x14a)][_0x142da0(0xf7)](_0x4603af,_0x4a18f9);}[_0x764939(0x115)](){const _0x30e13d=_0x764939,_0x5ce27f=this[_0x30e13d(0xd9)],_0x2542bf=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0xae)),_0x245e03=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0x11b)),_0x31f1b9=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0xd5)),_0x58e800=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0xc5));this[_0x30e13d(0xb9)](),_0x31f1b9[_0x30e13d(0x116)](()=>{const _0x3e8994=_0x30e13d,_0x135177=[];for(const [_0x2fbb48,_0x149931]of Array[_0x3e8994(0x123)](this[_0x3e8994(0x130)])){const _0x41612f=_0x2fbb48[_0x3e8994(0xc4)](),_0x5a46cb=[];for(const _0x152020 of _0x41612f){if(!_0x152020[_0x3e8994(0x13c)])continue;if(_0x152020[_0x3e8994(0xb0)]){_0x5a46cb[_0x3e8994(0xf1)](..._0x152020[_0x3e8994(0x101)]());continue;}const _0x52e3ea=_0x152020[_0x3e8994(0x136)]();if(_0x5a46cb[_0x3e8994(0x133)]>0x0){const _0x53c940=_0x5a46cb[0x0][_0x3e8994(0x10d)](_0x52e3ea);if(_0x53c940){_0x5a46cb[0x0]=_0x53c940;continue;}}_0x5a46cb[_0x3e8994(0xf1)](_0x52e3ea);}_0x135177[_0x3e8994(0xf1)]([_0x149931[_0x3e8994(0x132)],_0x5a46cb]);}return _0x135177;}),this[_0x30e13d(0x14c)](_0x2542bf,_0x30e13d(0xf8),(_0x1028af,_0xc3243b)=>{const _0x273435=_0x30e13d;this[_0x273435(0x14c)](_0xc3243b,_0x273435(0xe4),(_0x1f14bb,_0x113906,_0x51c046,_0x360ba5)=>{const _0x4f9304=_0x273435;_0xc3243b[_0x4f9304(0x13c)]&&(null==_0x51c046?(this[_0x4f9304(0x13e)](_0x360ba5[_0x4f9304(0x15c)]),this[_0x4f9304(0xb2)](_0xc3243b,!0x1)):(this[_0x4f9304(0x13e)](_0x51c046[_0x4f9304(0x15c)]),null==_0x360ba5&&this[_0x4f9304(0xb2)](_0xc3243b,!0x0)));}),null!==_0xc3243b[_0x273435(0xe7)]?this[_0x273435(0x13e)](_0xc3243b[_0x273435(0x15c)]):this[_0x273435(0xb2)](_0xc3243b,!0x1);}),this[_0x30e13d(0x14c)](_0x2542bf,_0x30e13d(0x139),(_0x4cd562,_0xad656,_0x57df49)=>{const _0x58669d=_0x30e13d;this[_0x58669d(0x109)](_0xad656,_0x58669d(0xe4)),this[_0x58669d(0x14a)][_0x58669d(0xed)](_0xad656),this[_0x58669d(0x130)][_0x58669d(0xd1)](_0xad656)&&this[_0x58669d(0x10a)](_0xad656),_0x57df49&&this[_0x58669d(0x13e)](_0x57df49[_0x58669d(0x15c)]);}),this[_0x30e13d(0x14c)](_0x2542bf,_0x30e13d(0x100),(_0x213b1a,_0x3814c4)=>{const _0x11b5f0=_0x30e13d;this[_0x11b5f0(0x13e)](_0x3814c4);}),this[_0x30e13d(0x14c)](_0x245e03,_0x30e13d(0x128),()=>{const _0x527ce4=_0x30e13d;this[_0x527ce4(0x114)]();}),this[_0x30e13d(0x14c)](_0x58e800,_0x30e13d(0xea),(_0x415a1e,{threadId:_0x1ec6bf,isFromAdapter:_0x2ad18d})=>{const _0x4bce95=_0x30e13d;if(_0x2ad18d||!_0x2542bf[_0x4bce95(0xdd)](_0x1ec6bf))return;const _0x4dee4e=_0x2542bf[_0x4bce95(0x13a)](_0x1ec6bf);this[_0x4bce95(0x130)][_0x4bce95(0xef)](_0x4dee4e)[_0x4bce95(0x132)][_0x4bce95(0x10b)][_0x4bce95(0xfb)](-0x1);},{'priority':_0x30e13d(0x118)}),this[_0x30e13d(0x10c)]=this[_0x30e13d(0xd9)][_0x30e13d(0x155)][_0x30e13d(0xef)](_0x30e13d(0x10c));const _0x5aa89a=this[_0x30e13d(0xd9)];this[_0x30e13d(0xc8)]=setInterval(()=>{const _0x343765=_0x30e13d;let _0x46bd51;for(const _0x15712d in _0x5aa89a){const _0x3e99b6=_0x15712d,_0x4735ea=_0x5aa89a[_0x3e99b6];if(_0x343765(0xfa)==_0x4735ea||_0x343765(0xd7)==_0x4735ea||_0x343765(0x14e)==_0x4735ea||_0x343765(0xd3)==_0x4735ea||_0x343765(0x15d)==_0x4735ea||_0x343765(0x12c)==_0x4735ea||_0x343765(0x11a)==_0x4735ea||_0x343765(0x125)==_0x4735ea){delete _0x5aa89a[_0x3e99b6],_0x46bd51=_0x4735ea,clearInterval(this[_0x343765(0xc8)]),this[_0x343765(0xc8)]=void 0x0;break;}}_0x343765(0xd7)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xcb)),_0x343765(0x14e)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0x137)),_0x343765(0xd3)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xf6)),_0x343765(0x15d)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xca),_0x343765(0x117)),_0x343765(0x12c)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xdc)),_0x343765(0x11a)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xc9)),_0x343765(0x125)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0x154));},0x3e8);}[_0x764939(0x114)](){const _0x13824c=_0x764939,_0x4c1569=this[_0x13824c(0xd9)][_0x13824c(0xc3)][_0x13824c(0xef)](_0x13824c(0x11b)),_0x50cc16=this[_0x13824c(0xd9)][_0x13824c(0xc3)][_0x13824c(0xef)](_0x13824c(0xae)),_0x39c6f7=Array[_0x13824c(0x123)](_0x4c1569[_0x13824c(0x151)],_0x462e33=>_0x462e33[_0x13824c(0xc6)])[_0x13824c(0x15b)](_0x163952=>this[_0x13824c(0x120)][_0x13824c(0xd1)](_0x163952)),_0x2b3174=[];for(const _0x360d89 of _0x39c6f7){const _0x2cd6c3=this[_0x13824c(0x120)][_0x13824c(0xef)](_0x360d89)[_0x13824c(0xb6)][_0x13824c(0xc4)]();_0x2b3174[_0x13824c(0xf1)](..._0x2cd6c3[_0x13824c(0x12d)]((_0x4696e1,_0x13ba97)=>[..._0x4696e1,..._0x13ba97[_0x13824c(0xee)]()],[]));}_0x50cc16[_0x13824c(0x150)]=_0x2b3174;}[_0x764939(0xb9)](){const _0x32d7f5=_0x764939,_0x15075d=this[_0x32d7f5(0xd9)],_0x1bc577=_0x15075d[_0x32d7f5(0xfc)],_0x211ceb=_0xa73e3a(_0x1bc577,_0x32d7f5(0x153)),_0x4b8527=new _0x15491d([{'type':_0x32d7f5(0xb4),'model':new _0x8f74b8({'withText':!0x0,'isToggleable':!0x0,'label':_0x211ceb,'commandName':_0x32d7f5(0x11f),'role':_0x32d7f5(0x141)})},{'type':_0x32d7f5(0x102)},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x145)),'commandName':_0x32d7f5(0xb7),'role':_0x32d7f5(0x147)})},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x11d)),'commandName':_0x32d7f5(0x156),'role':_0x32d7f5(0x147)})},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x131)),'commandName':_0x32d7f5(0x13d),'role':_0x32d7f5(0x147)})},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x12a)),'commandName':_0x32d7f5(0x108),'role':_0x32d7f5(0x147)})}]);_0x15075d[_0x32d7f5(0xc3)][_0x32d7f5(0xd1)](_0x32d7f5(0xe8))&&_0x4b8527[_0x32d7f5(0x157)]([{'type':_0x32d7f5(0x102)},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x158)),'commandName':_0x32d7f5(0xc0),'role':_0x32d7f5(0x147)})}]);for(const _0x33df1e of _0x4b8527)if(ke(_0x33df1e)){const _0x27f0af=_0x15075d[_0x32d7f5(0xf3)][_0x32d7f5(0xef)](_0x33df1e[_0x32d7f5(0xb6)][_0x32d7f5(0x143)]);_0x33df1e[_0x32d7f5(0xb6)][_0x32d7f5(0xe9)](_0x32d7f5(0xec),_0x32d7f5(0x113))['to'](_0x27f0af,_0x32d7f5(0x140),_0x32d7f5(0x113));}_0x15075d['ui'][_0x32d7f5(0x146)][_0x32d7f5(0xf0)](_0x32d7f5(0x11f),_0x5546e4=>this[_0x32d7f5(0x12b)](_0x5546e4,_0x4b8527,_0x211ceb)),_0x15075d['ui'][_0x32d7f5(0x146)][_0x32d7f5(0xf0)](_0x32d7f5(0xc1),_0x1f295b=>this[_0x32d7f5(0x14f)](_0x1f295b,_0x4b8527,_0x211ceb));}[_0x764939(0x12b)](_0x533b70,_0x57a136,_0x5eb200){const _0x38565f=_0x764939,_0x53fc68=_0xc0b46c(_0x533b70,_0x5b4e2a),_0x25c732=this[_0x38565f(0xd9)][_0x38565f(0xf3)][_0x38565f(0xef)](_0x38565f(0x11f));_0x53fc68[_0x38565f(0x104)][_0x38565f(0xf7)]({'tooltip':_0x5eb200,'label':_0x5eb200,'icon':_0x34997e}),_0x53fc68[_0x38565f(0x104)][_0x38565f(0xe9)](_0x38565f(0xec))['to'](_0x25c732,_0x38565f(0x140)),_0x53fc68[_0x38565f(0x104)]['on'](_0x38565f(0xfd),()=>{const _0x3f1725=_0x38565f;_0x25c732[_0x3f1725(0xfd)](),this[_0x3f1725(0xd9)][_0x3f1725(0xb3)][_0x3f1725(0x132)][_0x3f1725(0xfb)]();}),_0x36790(_0x53fc68,_0x57a136,{'role':_0x38565f(0x142)});const _0xc05657=[];for(const _0x2e0df6 of _0x57a136)ke(_0x2e0df6)&&_0xc05657[_0x38565f(0xf1)](this[_0x38565f(0xd9)][_0x38565f(0xf3)][_0x38565f(0xef)](_0x2e0df6[_0x38565f(0xb6)][_0x38565f(0x143)]));const _0x47059a=_0x53fc68[_0x38565f(0x104)];return _0x47059a[_0x38565f(0x12f)][_0x38565f(0xe6)](_0x38565f(0x113)),_0x47059a[_0x38565f(0x149)][_0x38565f(0xe6)](_0x38565f(0x113)),_0x47059a[_0x38565f(0x12f)][_0x38565f(0xe9)](_0x38565f(0x113))['to'](_0x25c732,_0x38565f(0x113)),_0x47059a[_0x38565f(0x149)][_0x38565f(0xe9)](_0x38565f(0x113))[_0x38565f(0xd6)](_0xc05657,_0x38565f(0x113),(..._0x2f6ec3)=>_0x2f6ec3[_0x38565f(0x121)](_0x312ca7=>_0x312ca7)),_0x53fc68['on'](_0x38565f(0xfd),_0x23f6bb=>{const _0x15347c=_0x38565f;this[_0x15347c(0xd9)][_0x15347c(0xfd)](_0x23f6bb[_0x15347c(0x12e)][_0x15347c(0x143)]),this[_0x15347c(0xd9)][_0x15347c(0xb3)][_0x15347c(0x132)][_0x15347c(0xfb)]();}),_0x53fc68;}[_0x764939(0x14f)](_0x16a40c,_0x4c80e7,_0x5e659e){const _0x3ecc2c=_0x764939,_0x577794=new _0x460d52(_0x16a40c),_0x3afaf3=this[_0x3ecc2c(0xd9)][_0x3ecc2c(0xf3)][_0x3ecc2c(0xef)](_0x3ecc2c(0x11f));_0x577794[_0x3ecc2c(0x104)][_0x3ecc2c(0xf7)]({'label':_0x5e659e,'icon':_0x34997e});const _0x2b13c2=new _0x25c0f7(_0x16a40c);for(const _0xb039a9 of _0x4c80e7){if(_0x3ecc2c(0x102)==_0xb039a9[_0x3ecc2c(0xad)]){_0x2b13c2[_0x3ecc2c(0x159)][_0x3ecc2c(0xf0)](new _0x4c2640(_0x16a40c));continue;}const _0x12654a=new _0xb4ae67(_0x16a40c,_0x577794),_0x1269dd=new _0x4acef3(_0x16a40c),_0x58b873=_0xb039a9[_0x3ecc2c(0xb6)];_0x1269dd[_0x3ecc2c(0xe9)](...Object[_0x3ecc2c(0x13b)](_0x58b873))['to'](_0x58b873),_0x1269dd[_0x3ecc2c(0x105)](_0x3ecc2c(0xfd))['to'](_0x577794),_0x1269dd['on'](_0x3ecc2c(0xfd),()=>{const _0x10650c=_0x3ecc2c;this[_0x10650c(0xd9)][_0x10650c(0xfd)](_0x58b873[_0x10650c(0x143)]),this[_0x10650c(0xd9)][_0x10650c(0xb3)][_0x10650c(0x132)][_0x10650c(0xfb)]();}),_0x12654a[_0x3ecc2c(0x110)][_0x3ecc2c(0xf0)](_0x1269dd),_0x2b13c2[_0x3ecc2c(0x159)][_0x3ecc2c(0xf0)](_0x12654a);}return _0x577794[_0x3ecc2c(0xe9)](_0x3ecc2c(0x113))['to'](_0x3afaf3,_0x3ecc2c(0x113)),_0x577794[_0x3ecc2c(0xbd)][_0x3ecc2c(0x110)][_0x3ecc2c(0xf0)](_0x2b13c2),_0x577794;}[_0x764939(0xd8)](_0xd9f1eb){const _0x22a51f=_0x764939,_0x1ba885=this[_0x22a51f(0xd9)],_0x1972f8=_0x1ba885[_0x22a51f(0x155)],_0x3ca5ab=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0x11b)),_0xb27da=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xc5)),_0x293fdd=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xd5)),_0x27628d=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x3185e6)['me'],_0x1663b0=_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x11f))[_0x22a51f(0x119)],_0x1654e5=_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x11f))[_0x22a51f(0x148)],{CommentsListView:_0x27efc0,CommentThreadInputView:_0x271628}=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xf4));let _0xa9b7bf,_0xb1ea94,_0x38e3da;this[_0x22a51f(0x14b)][_0x22a51f(0xd1)](_0xd9f1eb['id'])?(_0xb1ea94=this[_0x22a51f(0x14b)][_0x22a51f(0xef)](_0xd9f1eb['id']),_0xa9b7bf=_0xb1ea94[_0x22a51f(0xde)]):(_0xa9b7bf=new _0x1663b0(_0x1ba885[_0x22a51f(0xfc)],_0xd9f1eb,_0x27628d,{'disableComments':this[_0x22a51f(0xc7)],'editorConfig':{..._0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xe5)),'licenseKey':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x10c))},'maxCommentsWhenCollapsed':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xbf)),'maxThreadTotalWeight':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xb8)),'maxCommentCharsWhenCollapsed':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x129)),'formatDateTime':_0x313acd(_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xfc))),'CommentView':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x106))[_0x22a51f(0x15a)],'CommentsListView':_0x27efc0,'CommentThreadInputView':_0x271628,'SuggestionView':_0x1654e5}),_0xa9b7bf[_0x22a51f(0x13f)][_0x22a51f(0xf5)]['on'](_0x22a51f(0xfd),()=>{const _0x5e41b6=_0x22a51f;_0x1ba885[_0x5e41b6(0xb3)][_0x5e41b6(0x132)][_0x5e41b6(0xfb)]();}),_0xa9b7bf[_0x22a51f(0x13f)][_0x22a51f(0x122)]['on'](_0x22a51f(0xfd),()=>{const _0x56786e=_0x22a51f;_0x1ba885[_0x56786e(0xb3)][_0x56786e(0x132)][_0x56786e(0xfb)]();}),_0xb1ea94=_0x3ca5ab[_0x22a51f(0xba)](this[_0x22a51f(0xd9)][_0x22a51f(0xfc)],_0xa9b7bf),_0xb1ea94[_0x22a51f(0xe9)](_0x22a51f(0xf9))['to'](_0xa9b7bf,_0x22a51f(0xf9)),_0xb1ea94[_0x22a51f(0xe9)](_0x22a51f(0x133))['to'](_0xa9b7bf),_0xb1ea94[_0x22a51f(0xe9)](_0x22a51f(0xad))['to'](_0xa9b7bf,_0x22a51f(0xad),_0x189f80=>_0x22a51f(0x10e)+_0x189f80),_0xa9b7bf['on'](_0x22a51f(0xcd),()=>{const _0x5d2617=_0x22a51f;_0x38e3da[_0x5d2617(0xfe)](_0x5d2617(0xcd));}),this[_0x22a51f(0x14b)][_0x22a51f(0xf7)](_0xd9f1eb['id'],_0xb1ea94));const _0x536b44=_0xb27da[_0x22a51f(0xf2)](_0xd9f1eb[_0x22a51f(0xe0)],_0xa9b7bf),_0x271f2b=new _0x40a58d(_0x1ba885,_0xd9f1eb,_0xa9b7bf,_0x536b44),_0x42917a=_0xd9f1eb[_0x22a51f(0xc4)]()[_0x22a51f(0x15b)](_0x45c5bd=>_0x45c5bd[_0x22a51f(0x13c)]);_0xa9b7bf[_0x22a51f(0xd0)]=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xae))[_0x22a51f(0x111)][_0x22a51f(0x152)](_0x42917a),this[_0x22a51f(0x130)][_0x22a51f(0xf7)](_0xd9f1eb,_0x271f2b),this[_0x22a51f(0x120)][_0x22a51f(0xf7)](_0xa9b7bf,_0x271f2b),_0x38e3da=_0x3ca5ab[_0x22a51f(0xe2)]({'view':_0xb1ea94,'target':()=>{const _0x57816f=_0x22a51f,_0x3c5053=[],_0x1de5c5=_0xd9f1eb[_0x57816f(0xc4)]()[_0x57816f(0x15b)](_0x58dc00=>_0x58dc00[_0x57816f(0x13c)]);for(const _0x487228 of _0x1de5c5)_0x3c5053[_0x57816f(0xf1)](..._0x487228[_0x57816f(0xbe)]());return _0xa219ad(_0x1ba885[_0x57816f(0xb3)],_0x3c5053);},'type':()=>_0x22a51f(0x10e)+_0x271f2b[_0x22a51f(0x132)][_0x22a51f(0xad)]}),_0xb27da[_0x22a51f(0xe3)](_0xa9b7bf,_0x38e3da),_0x3ca5ab[_0x22a51f(0xf0)](_0x38e3da),_0x293fdd[_0x22a51f(0xaf)](_0x38e3da);}[_0x764939(0x10a)](_0x3c665d){const _0x44e0c8=_0x764939,_0x41f093=this[_0x44e0c8(0xd9)][_0x44e0c8(0xc3)][_0x44e0c8(0xef)](_0x44e0c8(0xc5)),_0xe0490f=this[_0x44e0c8(0xd9)][_0x44e0c8(0xc3)][_0x44e0c8(0xef)](_0x44e0c8(0x11b)),_0x1e3e40=this[_0x44e0c8(0x130)][_0x44e0c8(0xef)](_0x3c665d),_0x162ebd=_0x1e3e40[_0x44e0c8(0x132)],_0x1e9f04=_0xe0490f[_0x44e0c8(0x103)](_0x162ebd);_0x41f093[_0x44e0c8(0xc2)](_0x162ebd),_0x1e9f04&&_0xe0490f[_0x44e0c8(0x11c)](_0x1e9f04),this[_0x44e0c8(0x130)][_0x44e0c8(0xed)](_0x3c665d),this[_0x44e0c8(0x120)][_0x44e0c8(0xed)](_0x162ebd),_0x1e3e40[_0x44e0c8(0xda)]();}[_0x764939(0x13e)](_0x2e2925){const _0x47a8db=_0x764939;if(!_0x2e2925[_0x47a8db(0x13c)]||!this[_0x47a8db(0x130)][_0x47a8db(0xd1)](_0x2e2925))return;const _0x392036=this[_0x47a8db(0xd9)][_0x47a8db(0xc3)][_0x47a8db(0xef)](_0x47a8db(0xae)),_0x468292=this[_0x47a8db(0x130)][_0x47a8db(0xef)](_0x2e2925),_0x41c3fe=_0x2e2925[_0x47a8db(0xc4)]();_0x468292[_0x47a8db(0x132)][_0x47a8db(0xd0)]=_0x392036[_0x47a8db(0x111)][_0x47a8db(0x152)](_0x41c3fe);}[_0x764939(0xda)](){const _0xb7dd2f=_0x764939;for(const _0x261b35 of this[_0xb7dd2f(0x130)][_0xb7dd2f(0x13b)]())this[_0xb7dd2f(0x10a)](_0x261b35);for(const _0x3217ee of this[_0xb7dd2f(0x14b)][_0xb7dd2f(0x11e)]())_0x3217ee[_0xb7dd2f(0xde)][_0xb7dd2f(0xda)]();super[_0xb7dd2f(0xda)](),this[_0xb7dd2f(0xc8)]&&clearInterval(this[_0xb7dd2f(0xc8)]);}}function ke(_0x3b526d){const _0x36bc2a=_0x764939;return _0x36bc2a(0xb6)in _0x3b526d;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x3aa8(_0x12ed5e,_0x43a75f){const _0x4ef4ce=_0x4ef4();return _0x3aa8=function(_0x3aa8a8,_0xd538b0){_0x3aa8a8=_0x3aa8a8-0x6a;let _0x5cf02e=_0x4ef4ce[_0x3aa8a8];return _0x5cf02e;},_0x3aa8(_0x12ed5e,_0x43a75f);}const _0x4ccb05=_0x3aa8;function _0x4ef4(){const _0x17da7f=['_discardCommand','add','listenTo','8469yaasmZ','2275398cYVDoj','PENDING_ACTION_SUGGESTION','acceptSuggestion','PendingActions','396XsEOEa','getRanges','5HvYmAy','_setPendingAction','38863AihZpJ','unbind','destroy','9196uDMrxq','_removePendingAction','bind','_editor','stopListening','5364600rbkHVN','_acceptCommand','commentThreadController','view','1880784CNFGGJ','plugins','420xEmqff','_pendingAction','170PMyesV','canDiscard','get','model','discardSuggestion','remove','canAccept','7950465BshzZW','7baXjNF','locale','execute','isEnabled','change:isDirty','isDirty','commands','canEditAt'];_0x4ef4=function(){return _0x17da7f;};return _0x4ef4();}(function(_0x5e3b8d,_0x4138c7){const _0x34591c=_0x3aa8,_0x45f9cc=_0x5e3b8d();while(!![]){try{const _0x93b035=parseInt(_0x34591c(0x88))/0x1*(parseInt(_0x34591c(0x7b))/0x2)+parseInt(_0x34591c(0x6f))/0x3*(parseInt(_0x34591c(0x74))/0x4)+parseInt(_0x34591c(0x76))/0x5*(-parseInt(_0x34591c(0x70))/0x6)+-parseInt(_0x34591c(0x90))/0x7*(-parseInt(_0x34591c(0x84))/0x8)+-parseInt(_0x34591c(0x8f))/0x9+parseInt(_0x34591c(0x80))/0xa+-parseInt(_0x34591c(0x78))/0xb*(parseInt(_0x34591c(0x86))/0xc);if(_0x93b035===_0x4138c7)break;else _0x45f9cc['push'](_0x45f9cc['shift']());}catch(_0x25a068){_0x45f9cc['push'](_0x45f9cc['shift']());}}}(_0x4ef4,0x6cfd6));import{ObservableMixin as _0x53bb27}from'ckeditor5/src/utils.js';import{getTranslation as _0x14af26}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x53bb27(){constructor(_0x178251,_0x11c246,_0x26ce12,_0x444767){const _0x272f4a=_0x3aa8;super(),this[_0x272f4a(0x8b)]=_0x11c246,this[_0x272f4a(0x83)]=_0x26ce12,this[_0x272f4a(0x82)]=_0x444767,this[_0x272f4a(0x7e)]=_0x178251,this[_0x272f4a(0x81)]=_0x178251[_0x272f4a(0x6a)][_0x272f4a(0x8a)](_0x272f4a(0x72)),this[_0x272f4a(0x6c)]=_0x178251[_0x272f4a(0x6a)][_0x272f4a(0x8a)](_0x272f4a(0x8c)),this[_0x272f4a(0x83)][_0x272f4a(0x7d)](_0x272f4a(0x93))['to'](this[_0x272f4a(0x81)],this[_0x272f4a(0x6c)],(_0x4803fd,_0x256d1e)=>_0x4803fd||_0x256d1e),this[_0x272f4a(0x83)][_0x272f4a(0x7d)](_0x272f4a(0x8e))['to'](this[_0x272f4a(0x81)],_0x272f4a(0x93),_0x1d2d1a=>_0x1d2d1a&&this[_0x272f4a(0x7e)][_0x272f4a(0x8b)][_0x272f4a(0x6b)](_0x11c246[_0x272f4a(0x75)]())),this[_0x272f4a(0x83)][_0x272f4a(0x7d)](_0x272f4a(0x89))['to'](this[_0x272f4a(0x6c)],_0x272f4a(0x93),_0x20007f=>_0x20007f&&this[_0x272f4a(0x7e)][_0x272f4a(0x8b)][_0x272f4a(0x6b)](_0x11c246[_0x272f4a(0x75)]())),this[_0x272f4a(0x87)]=null,_0x26ce12[_0x272f4a(0x95)]&&this[_0x272f4a(0x77)](),this[_0x272f4a(0x6e)](_0x26ce12,_0x272f4a(0x72),()=>this[_0x272f4a(0x72)]()),this[_0x272f4a(0x6e)](_0x26ce12,_0x272f4a(0x8c),()=>this[_0x272f4a(0x8c)]()),this[_0x272f4a(0x6e)](_0x26ce12,_0x272f4a(0x94),()=>{const _0x2abad8=_0x272f4a;_0x26ce12[_0x2abad8(0x95)]?this[_0x2abad8(0x77)]():this[_0x2abad8(0x7c)]();});}[_0x4ccb05(0x72)](){const _0x57f0eb=_0x4ccb05;this[_0x57f0eb(0x81)][_0x57f0eb(0x92)](this[_0x57f0eb(0x8b)]['id']);}[_0x4ccb05(0x8c)](){const _0x2f2a30=_0x4ccb05;this[_0x2f2a30(0x6c)][_0x2f2a30(0x92)](this[_0x2f2a30(0x8b)]['id']);}[_0x4ccb05(0x7a)](){const _0x172ed6=_0x4ccb05;this[_0x172ed6(0x83)][_0x172ed6(0x79)](_0x172ed6(0x93)),this[_0x172ed6(0x83)][_0x172ed6(0x79)](_0x172ed6(0x8e)),this[_0x172ed6(0x83)][_0x172ed6(0x79)](_0x172ed6(0x89)),this[_0x172ed6(0x7f)](),this[_0x172ed6(0x82)][_0x172ed6(0x7a)](),this[_0x172ed6(0x87)]&&this[_0x172ed6(0x7c)]();}[_0x4ccb05(0x77)](){const _0x5e965a=_0x4ccb05,_0x913637=_0x14af26(this[_0x5e965a(0x7e)][_0x5e965a(0x91)],_0x5e965a(0x71));this[_0x5e965a(0x87)]=this[_0x5e965a(0x7e)][_0x5e965a(0x85)][_0x5e965a(0x8a)](_0x5e965a(0x73))[_0x5e965a(0x6d)](_0x913637);}[_0x4ccb05(0x7c)](){const _0x13a08d=_0x4ccb05;null!==this[_0x13a08d(0x87)]&&this[_0x13a08d(0x7e)][_0x13a08d(0x85)][_0x13a08d(0x8a)](_0x13a08d(0x73))[_0x13a08d(0x8d)](this[_0x13a08d(0x87)]),this[_0x13a08d(0x87)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4c546f=_0x2c5e;(function(_0x550cdd,_0x235cd0){const _0x24b2f7=_0x2c5e,_0x154e57=_0x550cdd();while(!![]){try{const _0x3f9131=-parseInt(_0x24b2f7(0x115))/0x1+-parseInt(_0x24b2f7(0x109))/0x2+parseInt(_0x24b2f7(0x123))/0x3+parseInt(_0x24b2f7(0x12f))/0x4*(parseInt(_0x24b2f7(0x118))/0x5)+-parseInt(_0x24b2f7(0x10b))/0x6*(-parseInt(_0x24b2f7(0x136))/0x7)+-parseInt(_0x24b2f7(0x117))/0x8*(parseInt(_0x24b2f7(0x107))/0x9)+-parseInt(_0x24b2f7(0x134))/0xa;if(_0x3f9131===_0x235cd0)break;else _0x154e57['push'](_0x154e57['shift']());}catch(_0x50fbee){_0x154e57['push'](_0x154e57['shift']());}}}(_0x249c,0xeb3e9));function _0x249c(){const _0x46f685=['3282360bdmEfs','fire','_createCommentViews','SUGGESTION_THREAD_ARIA_LABEL','hasDirtyComment','showInput','editorConfig','render','updateComment','disabledSubmit','parseFromString','destroy','8moASOc','isDirty','locale','addComment','commentInputView','72710fbiOCW','body','7vXZjzA','set','disableComments','descriptionParts','canAccept','CommentView','commentThreadInputView','focusCycler','_config','map','name','_localUser','authoredAt','SUGGESTION_THREAD_DESCRIPTION','isEnabled','_model','editor','ariaDescriptionView','shift+tab','author','isActive','_createCommentThreadInputView','isReadOnly','setData','formatDateTime','tab','45fSzvAA','content','3331356fcZaVI','text/html','8446554EzQAqo','cancel','delegate','value','target','keystrokes','ariaLabel','submit','focusTracker','bind','64436YBCvFW','join','104584hEiHIZ','661080BhiGgL','canDiscard','removeComment','commentsListView','length','commentThread','focus','focusables','assign','element','textContent'];_0x249c=function(){return _0x46f685;};return _0x249c();}import{FocusCycler as _0x38058f,View as _0x29facb,ViewCollection as _0x5b905e}from'ckeditor5/src/ui.js';function _0x2c5e(_0x517637,_0x18274e){const _0x249c22=_0x249c();return _0x2c5e=function(_0x2c5ed1,_0x55db1e){_0x2c5ed1=_0x2c5ed1-0xef;let _0x1ac441=_0x249c22[_0x2c5ed1];return _0x1ac441;},_0x2c5e(_0x517637,_0x18274e);}import{FocusTracker as _0x13e3ff,KeystrokeHandler as _0x3b323f}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x327461,setupThreadKeyboardNavigation as _0x452955}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4e176c}from'../../utils/common-translations.js';import{renderDescription as _0x2d54bf}from'../../utils/utils.js';export default class ms extends _0x29facb{constructor(_0x413e96,_0x5c75b4,_0x95dc9c,_0x36fe8f){const _0x25d82d=_0x2c5e;super(_0x413e96),this[_0x25d82d(0x11b)]=null,this[_0x25d82d(0xf3)]=null,this[_0x25d82d(0xfe)]=new _0x327461(_0x413e96,_0x4e176c(_0x413e96,_0x25d82d(0xfa))),this[_0x25d82d(0x137)](_0x25d82d(0x101),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0xf9),_0x5c75b4[_0x25d82d(0xf9)]),this[_0x25d82d(0x114)](_0x25d82d(0xf9))['to'](_0x5c75b4),this[_0x25d82d(0x137)](_0x25d82d(0xf0),[]),this[_0x25d82d(0x137)](_0x25d82d(0x130),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0xfb),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0xf1),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0x119),!0x1),this[_0x25d82d(0x114)](_0x25d82d(0x111))['to'](this,_0x25d82d(0x11c),_0x5c75b4,_0x25d82d(0xf9),this,_0x25d82d(0xf0),(_0x132586,_0x487ad4,_0x13993e)=>{const _0x4aae11=_0x25d82d,_0x129598=_0x13993e[_0x4aae11(0xf6)](_0xe0a66a=>_0x2d54bf(_0xe0a66a[_0x4aae11(0x108)]))[_0x4aae11(0x116)]('.\x20')+'.';return _0x4e176c(this[_0x4aae11(0x131)],_0x4aae11(0x126),[_0x132586-0x1,_0x5c75b4[_0x4aae11(0x100)][_0x4aae11(0xf7)],_0x487ad4?_0x36fe8f[_0x4aae11(0x105)](_0x487ad4):'',new DOMParser()[_0x4aae11(0x12d)](_0x129598,_0x4aae11(0x10a))[_0x4aae11(0x135)][_0x4aae11(0x122)]]);}),this[_0x25d82d(0x11f)]=new _0x5b905e(),this[_0x25d82d(0x113)]=new _0x13e3ff(),this[_0x25d82d(0x110)]=new _0x3b323f(),this[_0x25d82d(0xf4)]=new _0x38058f({'focusables':this[_0x25d82d(0x11f)],'focusTracker':this[_0x25d82d(0x113)],'keystrokeHandler':this[_0x25d82d(0x110)],'keystrokeHandlerOptions':{'filter':_0x3d3d53=>_0x3d3d53[_0x25d82d(0x10f)]!==this[_0x25d82d(0x121)]},'actions':{'focusPrevious':_0x25d82d(0xff),'focusNext':_0x25d82d(0x106)}}),this[_0x25d82d(0xfc)]=_0x5c75b4,this[_0x25d82d(0xf8)]=_0x95dc9c,this[_0x25d82d(0xf5)]=_0x36fe8f,_0x36fe8f[_0x25d82d(0xef)]?this[_0x25d82d(0x137)](_0x25d82d(0x11c),0x1):this[_0x25d82d(0x125)]();}[_0x4c546f(0x12a)](){const _0x1cb533=_0x4c546f;super[_0x1cb533(0x12a)](),_0x452955(this,this[_0x1cb533(0x11f)]);}[_0x4c546f(0x11e)](){const _0x33e4da=_0x4c546f;this[_0x33e4da(0x121)][_0x33e4da(0x11e)]();}[_0x4c546f(0x12e)](){const _0x592880=_0x4c546f;this[_0x592880(0x11b)]&&this[_0x592880(0x11b)][_0x592880(0x12e)](),this[_0x592880(0xf3)]&&this[_0x592880(0xf3)][_0x592880(0x12e)](),super[_0x592880(0x12e)]();}[_0x4c546f(0x125)](){const _0x587242=_0x4c546f,{CommentsListView:_0x459883}=this[_0x587242(0xf5)];this[_0x587242(0x11b)]=new _0x459883(this[_0x587242(0x131)],this[_0x587242(0xfc)][_0x587242(0x11d)],Object[_0x587242(0x120)]({'CommentView':this[_0x587242(0xf5)][_0x587242(0xf2)]},this[_0x587242(0xf5)])),this[_0x587242(0x11b)][_0x587242(0x10d)](_0x587242(0x11a))['to'](this),this[_0x587242(0x11b)][_0x587242(0x10d)](_0x587242(0x12b))['to'](this),this[_0x587242(0x11b)][_0x587242(0x114)](_0x587242(0x101))['to'](this),this[_0x587242(0x137)](_0x587242(0x11c),this[_0x587242(0x11b)][_0x587242(0x11c)]+0x1),this[_0x587242(0x114)](_0x587242(0x11c))['to'](this[_0x587242(0x11b)],_0x587242(0x11c),_0x2b3c46=>_0x2b3c46+0x1),this[_0x587242(0xf3)]=this[_0x587242(0x102)](),this['on'](_0x587242(0x11a),()=>this[_0x587242(0x11e)]()),this[_0x587242(0x114)](_0x587242(0x130))['to'](this[_0x587242(0x11b)],_0x587242(0x127),this[_0x587242(0xf3)][_0x587242(0x133)],_0x587242(0x10e),(_0x5bcfde,_0x4840e8)=>_0x5bcfde||!!_0x4840e8);}[_0x4c546f(0x102)](){const _0x36df4a=_0x4c546f,{CommentThreadInputView:_0x35d8d0}=this[_0x36df4a(0xf5)],_0x2c5597=new _0x35d8d0(this[_0x36df4a(0x131)],this[_0x36df4a(0xf8)],this[_0x36df4a(0xf5)][_0x36df4a(0x129)]),_0x4e7618=_0x2c5597[_0x36df4a(0x133)];return _0x2c5597[_0x36df4a(0x114)](_0x36df4a(0x128))['to'](this,_0x36df4a(0x101),this[_0x36df4a(0xfc)][_0x36df4a(0x11d)],_0x36df4a(0x103),_0x4e7618,_0x36df4a(0x10e),(_0x64bbbd,_0x4a03f2,_0x48e279)=>!!_0x48e279||_0x64bbbd&&!_0x4a03f2),_0x4e7618['on'](_0x36df4a(0x112),(_0x49952d,_0x3252d3)=>{const _0x3f948d=_0x36df4a;this[_0x3f948d(0x124)](_0x3f948d(0x132),_0x3252d3),_0x4e7618[_0x3f948d(0xfd)][_0x3f948d(0x104)]('');}),_0x4e7618['on'](_0x36df4a(0x10c),()=>this[_0x36df4a(0x11e)]()),_0x4e7618[_0x36df4a(0x114)](_0x36df4a(0x12c))['to'](this[_0x36df4a(0xfc)][_0x36df4a(0x11d)],_0x36df4a(0x103)),_0x2c5597;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x583f33=_0x333e;function _0x333e(_0x2ec2ba,_0x5d7ee5){const _0x5e0c5e=_0x5e0c();return _0x333e=function(_0x333e6e,_0x1a20e4){_0x333e6e=_0x333e6e-0xa7;let _0x441346=_0x5e0c5e[_0x333e6e];return _0x441346;},_0x333e(_0x2ec2ba,_0x5d7ee5);}(function(_0x5ec21d,_0xd68fe8){const _0x3405fc=_0x333e,_0x378fea=_0x5ec21d();while(!![]){try{const _0x4bcd9c=parseInt(_0x3405fc(0xde))/0x1+-parseInt(_0x3405fc(0xdc))/0x2*(-parseInt(_0x3405fc(0xb3))/0x3)+-parseInt(_0x3405fc(0xbe))/0x4+parseInt(_0x3405fc(0xc7))/0x5*(parseInt(_0x3405fc(0xd8))/0x6)+parseInt(_0x3405fc(0xe1))/0x7*(parseInt(_0x3405fc(0xc8))/0x8)+parseInt(_0x3405fc(0xbb))/0x9*(parseInt(_0x3405fc(0xbc))/0xa)+-parseInt(_0x3405fc(0xd4))/0xb*(parseInt(_0x3405fc(0xc4))/0xc);if(_0x4bcd9c===_0xd68fe8)break;else _0x378fea['push'](_0x378fea['shift']());}catch(_0x57d522){_0x378fea['push'](_0x378fea['shift']());}}}(_0x5e0c,0x9791c));import{default as _0x3a4d7a}from'./basesuggestionthreadview.js';import{trimHtml as _0x2d7a09}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5e0c(){const _0x44b92b=['ck-suggestion-','suggestionView','discardButton','push','</p>','editorReady','author','ck-suggestion--disabled-comments','SuggestionView','3700695xVxFUq','acceptButton','color','disableComments','ck-suggestion-wrapper--active','<p>','formatDateTime','bind','1790415DVYzRP','10FwEnPJ','canDiscard','1821200DEgzsS','isEnabled','listitem','canAccept','descriptionParts','ck-suggestion-wrapper','17872716yHUpqY','div','add','3865nuuvIJ','24ykkvLz','ariaLabel','commentsListView','isActive','commentThreadInputView','_model','getTemplate','description','editorDestroyed','acceptSuggestion','focusables','render','22guPOGl','setTemplate','_config','_descriptionElement','9222vbwvyb','delegate','bindTemplate','ck-rounded-corners','2RrCpTF','set','950152OvDiqS','commentThread','type','1129709YoCDZe','content','discardSuggestion','ariaDescriptionView'];_0x5e0c=function(){return _0x44b92b;};return _0x5e0c();}import{renderDescription as _0x12e043}from'../../utils/utils.js';export default class pe extends _0x3a4d7a{constructor(_0x5b03f7,_0x2ced69,_0x172ef9,_0x48577a){const _0x52fa40=_0x333e;super(_0x5b03f7,_0x2ced69,_0x172ef9,_0x48577a),this[_0x52fa40(0xdd)](_0x52fa40(0xe0),''),this[_0x52fa40(0xba)](_0x52fa40(0xe0))['to'](this,_0x52fa40(0xc2),_0x227a8b=>_0x227a8b&&_0x227a8b[0x0]?_0x227a8b[0x0][_0x52fa40(0xe0)]:''),this[_0x52fa40(0xba)](_0x52fa40(0xcf))['to'](this,_0x52fa40(0xc2),this,_0x52fa40(0xcb),(_0x9f1a1f,_0x179869)=>{const _0x17d74c=_0x52fa40;let _0x351f0d='';for(const _0x4d1ae6 of _0x9f1a1f)_0x351f0d+=_0x17d74c(0xb8)+_0x12e043(_0x4d1ae6[_0x17d74c(0xa7)],_0x4d1ae6[_0x17d74c(0xb5)])+_0x17d74c(0xae);return _0x179869?_0x351f0d:_0x2d7a09(_0x351f0d,{'limit':0x8c});}),this[_0x52fa40(0xd7)]=null,this[_0x52fa40(0xab)]=new _0x48577a[(_0x52fa40(0xb2))](_0x5b03f7,_0x2ced69,{'formatDateTime':_0x48577a[_0x52fa40(0xb9)]}),this[_0x52fa40(0xab)][_0x52fa40(0xba)](_0x52fa40(0xcf))['to'](this),this[_0x52fa40(0xab)][_0x52fa40(0xd9)](_0x52fa40(0xd1),_0x52fa40(0xa8))['to'](this),this[_0x52fa40(0xab)][_0x52fa40(0xb4)][_0x52fa40(0xba)](_0x52fa40(0xbf))['to'](this,_0x52fa40(0xc1)),this[_0x52fa40(0xab)][_0x52fa40(0xac)][_0x52fa40(0xba)](_0x52fa40(0xbf))['to'](this,_0x52fa40(0xbd)),this[_0x52fa40(0xd2)][_0x52fa40(0xc6)](this[_0x52fa40(0xab)]),this[_0x52fa40(0xca)]&&this[_0x52fa40(0xd2)][_0x52fa40(0xc6)](this[_0x52fa40(0xca)]),this[_0x52fa40(0xcc)]&&this[_0x52fa40(0xd2)][_0x52fa40(0xc6)](this[_0x52fa40(0xcc)]),this[_0x52fa40(0xd5)](this[_0x52fa40(0xce)]());}[_0x583f33(0xce)](){const _0x50e10b=_0x583f33,_0x28d0e1=this[_0x50e10b(0xda)],_0x24baac=[this[_0x50e10b(0xab)]];return this[_0x50e10b(0xca)]&&_0x24baac[_0x50e10b(0xad)](this[_0x50e10b(0xca)]),this[_0x50e10b(0xcc)]&&_0x24baac[_0x50e10b(0xad)](this[_0x50e10b(0xcc)]),_0x24baac[_0x50e10b(0xad)](this[_0x50e10b(0xa9)]),{'tag':_0x50e10b(0xc5),'attributes':{'class':['ck',_0x50e10b(0xdb),_0x50e10b(0xc3),_0x28d0e1['if'](_0x50e10b(0xcb),_0x50e10b(0xb7)),_0x28d0e1['to'](_0x50e10b(0xe0),_0x5410f0=>_0x50e10b(0xaa)+_0x5410f0),this[_0x50e10b(0xd6)][_0x50e10b(0xb6)]&&_0x50e10b(0xb1)],'data-suggestion-id':this[_0x50e10b(0xcd)]['id'],'data-thread-id':this[_0x50e10b(0xcd)][_0x50e10b(0xdf)]['id'],'data-author-id':this[_0x50e10b(0xcd)][_0x50e10b(0xb0)]['id'],'tabindex':0x0,'role':_0x50e10b(0xc0),'aria-label':_0x28d0e1['to'](_0x50e10b(0xc9)),'aria-describedby':this[_0x50e10b(0xa9)]['id']},'children':_0x24baac};}[_0x583f33(0xd3)](){const _0x519bd5=_0x583f33;super[_0x519bd5(0xd3)](),this[_0x519bd5(0xca)]&&(this[_0x519bd5(0xca)][_0x519bd5(0xd9)](_0x519bd5(0xaf))['to'](this),this[_0x519bd5(0xca)][_0x519bd5(0xd9)](_0x519bd5(0xd0))['to'](this)),this[_0x519bd5(0xcc)]&&(this[_0x519bd5(0xcc)][_0x519bd5(0xd9)](_0x519bd5(0xaf))['to'](this),this[_0x519bd5(0xcc)][_0x519bd5(0xd9)](_0x519bd5(0xd0))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f5aa4=_0x4794;(function(_0x554f4e,_0x5f2410){const _0x1254f6=_0x4794,_0x289ae9=_0x554f4e();while(!![]){try{const _0x36676c=parseInt(_0x1254f6(0x1c2))/0x1*(parseInt(_0x1254f6(0x1c7))/0x2)+-parseInt(_0x1254f6(0x1bf))/0x3+parseInt(_0x1254f6(0x1be))/0x4+parseInt(_0x1254f6(0x1c5))/0x5+parseInt(_0x1254f6(0x1cf))/0x6+-parseInt(_0x1254f6(0x1a7))/0x7*(-parseInt(_0x1254f6(0x1b9))/0x8)+parseInt(_0x1254f6(0x1b0))/0x9*(-parseInt(_0x1254f6(0x1a5))/0xa);if(_0x36676c===_0x5f2410)break;else _0x289ae9['push'](_0x289ae9['shift']());}catch(_0x25fada){_0x289ae9['push'](_0x289ae9['shift']());}}}(_0x1cfd,0xebb1c));import{FocusTracker as _0x3ed650,KeystrokeHandler as _0x588939}from'ckeditor5/src/utils.js';import{View as _0x4452ae,ViewCollection as _0x3b5d5a,FocusCycler as _0x569b18}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x22d2a7,UserView as _0x4b5f2c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4794(_0x2dab2d,_0xfd43b1){const _0x1cfdde=_0x1cfd();return _0x4794=function(_0x479409,_0x112d61){_0x479409=_0x479409-0x1a0;let _0xc49948=_0x1cfdde[_0x479409];return _0xc49948;},_0x4794(_0x2dab2d,_0xfd43b1);}import{icons as _0x48dbdc}from'ckeditor5/src/core.js';import{getTranslation as _0x504883}from'../../utils/common-translations.js';function _0x1cfd(){const _0x376a54=['time','60nfGmkZ','focusTracker','45339jyIQuA','check','.ck-annotation__content-wrapper','getUserViewNotificationText','ck-annotation__main','focusables','getTemplate','userView','ck-annotation__info-name','5075415HjKQNn','render','EXTERNAL_IMPORT_WORD_SUGGESTION','authoredAt','ck-annotation__info-time','fire','description','ck-comment__external','_config','1376NLwmyR','ck-suggestion__main','presentation','bind','isExternal','5257996rwSAQh','3796830jvxjgD','setTemplate','author','1130907WMyUyf','tab','cancel','9477375hXOCxl','ck-suggestion__actions','2QuceOs','acceptButton','Discard\x20suggestion','_model','formatDateTime','target','creator','getExternalSuggestionNote','958194cmmBud','set','shift+tab','listenTo','locale','focusCycler','name','acceptSuggestion','EXTERNAL_SUGGESTION','execute','EXTERNAL_AVATAR','querySelector','change:description','focus','focusFirst','discardButton','div','attributes','enter','ck-suggestion--accept','keystrokes','innerHTML','ck-annotation__info','ck-annotation','@external','ck-annotation__content-wrapper','Accept\x20suggestion','ck-suggestion__user','EXTERNAL_IMPORT_WORD_AVATAR','importWord','_setupKeyboardNavigation','bindTemplate','_createButton','ck-suggestion__info-name','ck-comment__info-time','ck-suggestion--discard','add','source','span','discardSuggestion','ck-suggestion__info','push','ck-suggestion','esc','extendTemplate','element','ck-annotation__actions','ck-annotation__user'];_0x1cfd=function(){return _0x376a54;};return _0x1cfd();}export default class fe extends _0x4452ae{constructor(_0xb4a43b,_0x3572c2,_0x306bff){const _0x4f541f=_0x4794;super(_0xb4a43b),this[_0x4f541f(0x1ca)]=_0x3572c2,this[_0x4f541f(0x1b8)]=_0x306bff,this[_0x4f541f(0x1d0)](_0x4f541f(0x1b6),''),this[_0x4f541f(0x1bc)](_0x4f541f(0x1b3))['to'](_0x3572c2),this[_0x4f541f(0x1c8)]=this[_0x4f541f(0x1ef)](_0x504883(_0xb4a43b,_0x4f541f(0x1e9)),_0x48dbdc[_0x4f541f(0x1a8)],_0x4f541f(0x1e2),_0x4f541f(0x1d6),'sw'),this[_0x4f541f(0x1de)]=this[_0x4f541f(0x1ef)](_0x504883(_0xb4a43b,_0x4f541f(0x1c9)),_0x48dbdc[_0x4f541f(0x1c4)],_0x4f541f(0x1f2),_0x4f541f(0x1f6),'sw'),this[_0x4f541f(0x1ae)]=new _0x4b5f2c(_0xb4a43b,_0x3572c2[_0x4f541f(0x1c1)],this[_0x4f541f(0x1aa)]()),this[_0x4f541f(0x1ae)][_0x4f541f(0x1a0)]({'attributes':{'class':[_0x4f541f(0x1ea),_0x4f541f(0x1a3)],'aria-hidden':!0x0}}),this[_0x4f541f(0x1ac)]=new _0x3b5d5a([this[_0x4f541f(0x1c8)],this[_0x4f541f(0x1de)]]),this[_0x4f541f(0x1a6)]=new _0x3ed650(),this[_0x4f541f(0x1e3)]=new _0x588939(),this[_0x4f541f(0x1d4)]=new _0x569b18({'focusables':this[_0x4f541f(0x1ac)],'focusTracker':this[_0x4f541f(0x1a6)],'keystrokeHandler':this[_0x4f541f(0x1e3)],'actions':{'focusPrevious':_0x4f541f(0x1d1),'focusNext':_0x4f541f(0x1c3)},'keystrokeHandlerOptions':{'filter':_0x424665=>_0x424665[_0x4f541f(0x1cc)]!==this[_0x4f541f(0x1a1)]}}),this[_0x4f541f(0x1c0)](this[_0x4f541f(0x1ad)]());}[_0x4f5aa4(0x1b1)](){const _0x1f1b97=_0x4f5aa4;super[_0x1f1b97(0x1b1)]();const _0x59ac1=this[_0x1f1b97(0x1a1)][_0x1f1b97(0x1da)](_0x1f1b97(0x1a9));_0x59ac1[_0x1f1b97(0x1e4)]=this[_0x1f1b97(0x1b6)],this['on'](_0x1f1b97(0x1db),(_0x5e75bc,_0x450b9a,_0xadb29b)=>{const _0x7339b4=_0x1f1b97;_0x59ac1[_0x7339b4(0x1e4)]=_0xadb29b;}),this[_0x1f1b97(0x1ed)]();}[_0x4f5aa4(0x1ad)](){const _0xbc06b8=_0x4f5aa4,_0xd932b6=this[_0xbc06b8(0x1ee)],_0x5f45cb=[{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1f7),_0xbc06b8(0x1e5)]},'children':[{'tag':_0xbc06b8(0x1f5),'children':[{'text':this[_0xbc06b8(0x1ae)][_0xbc06b8(0x1d5)]}],'attributes':{'class':[_0xbc06b8(0x1f0),_0xbc06b8(0x1af)],'data-cke-tooltip-text':this[_0xbc06b8(0x1ae)][_0xbc06b8(0x1d5)]}},{'tag':_0xbc06b8(0x1a4),'attributes':{'datetime':_0xd932b6['to'](_0xbc06b8(0x1b3)),'class':[_0xbc06b8(0x1f1),_0xbc06b8(0x1b4)]},'children':[{'text':_0xd932b6['to'](_0xbc06b8(0x1b3),_0x4f6558=>this[_0xbc06b8(0x1b8)][_0xbc06b8(0x1cb)](_0x4f6558))}]}]},{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1c6),_0xbc06b8(0x1a2)]},'children':[this[_0xbc06b8(0x1c8)],this[_0xbc06b8(0x1de)]]},{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1e8)]}}];return this[_0xbc06b8(0x1ca)][_0xbc06b8(0x1bd)]&&_0x5f45cb[_0xbc06b8(0x1f8)]({'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1b7)]},'children':[{'text':this[_0xbc06b8(0x1ce)]()}]}),{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1f9),_0xbc06b8(0x1e6)],'tabindex':-0x1},'children':[this[_0xbc06b8(0x1ae)],{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1ba),_0xbc06b8(0x1ab)],'role':_0xbc06b8(0x1bb)},'children':_0x5f45cb}]};}[_0x4f5aa4(0x1dc)](){const _0x583a03=_0x4f5aa4;this[_0x583a03(0x1a1)][_0x583a03(0x1dc)]();}[_0x4f5aa4(0x1aa)](){const _0x57dc93=_0x4f5aa4;return this[_0x57dc93(0x1ca)][_0x57dc93(0x1bd)]?_0x57dc93(0x1ec)===this[_0x57dc93(0x1ca)][_0x57dc93(0x1e0)][_0x57dc93(0x1e7)][_0x57dc93(0x1f4)]?_0x504883(this[_0x57dc93(0x1d3)],_0x57dc93(0x1eb),this[_0x57dc93(0x1ca)][_0x57dc93(0x1cd)][_0x57dc93(0x1d5)]):_0x504883(this[_0x57dc93(0x1d3)],_0x57dc93(0x1d9),this[_0x57dc93(0x1ca)][_0x57dc93(0x1cd)][_0x57dc93(0x1d5)]):null;}[_0x4f5aa4(0x1ce)](){const _0x5b64de=_0x4f5aa4;return _0x5b64de(0x1ec)===this[_0x5b64de(0x1ca)][_0x5b64de(0x1e0)][_0x5b64de(0x1e7)][_0x5b64de(0x1f4)]?_0x504883(this[_0x5b64de(0x1d3)],_0x5b64de(0x1b2)):_0x504883(this[_0x5b64de(0x1d3)],_0x5b64de(0x1d7));}[_0x4f5aa4(0x1ef)](_0x35655c,_0x490228,_0x38542a,_0x436af5,_0x4c4f61){const _0x261223=_0x4f5aa4,_0xb9e667=new _0x22d2a7(this[_0x261223(0x1d3)]);return _0xb9e667[_0x261223(0x1d0)]({'label':_0x35655c,'icon':_0x490228,'tooltip':!0x0,'tooltipPosition':_0x4c4f61}),_0xb9e667[_0x261223(0x1a0)]({'attributes':{'class':_0x38542a}}),_0xb9e667['on'](_0x261223(0x1d8),()=>{const _0x181048=_0x261223;this[_0x181048(0x1b5)](_0x436af5,this[_0x181048(0x1ca)]['id']);}),_0xb9e667;}[_0x4f5aa4(0x1ed)](){const _0x5d7442=_0x4f5aa4,_0x35708c=this[_0x5d7442(0x1a1)];this[_0x5d7442(0x1e3)][_0x5d7442(0x1d2)](_0x35708c);for(const _0x8275ca of this[_0x5d7442(0x1ac)])this[_0x5d7442(0x1a6)][_0x5d7442(0x1f3)](_0x8275ca[_0x5d7442(0x1a1)]),this[_0x5d7442(0x1e3)][_0x5d7442(0x1d2)](_0x8275ca[_0x5d7442(0x1a1)]);this[_0x5d7442(0x1e3)][_0x5d7442(0x1d0)](_0x5d7442(0x1e1),(_0x40c6e4,_0x354ef8)=>{const _0xe98a46=_0x5d7442;_0x35708c===_0x40c6e4[_0xe98a46(0x1cc)]&&(this[_0xe98a46(0x1d4)][_0xe98a46(0x1dd)](),_0x354ef8());}),this[_0x5d7442(0x1e3)][_0x5d7442(0x1d0)](_0x5d7442(0x1fa),(_0xbb3ddd,_0x2afe7e)=>{const _0x3ce5b5=_0x5d7442;_0x35708c!==_0xbb3ddd[_0x3ce5b5(0x1cc)]&&(this[_0x3ce5b5(0x1dc)](),_0x2afe7e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4cbbdd=_0x6e6c;function _0x234c(){const _0x1e24c6=['element','ck-reset','className','498zVEKHQ','style','15130005FRVGiA','2072PZgnMV','previewDataReady','content','8462080gihMAZ','width','fire','setAttribute','41153zdKsxu','classes','setPreviewData','focus','createElement','2259iSzeFQ','664aXwynD','2471980RCuBaU','37872YoFaQj','height','ck-track-changes-preview','div','data-ck-root-name','38aejjHb','render','push','677nyvifP','\x20ck-track-changes-preview__root-container','dialogRects','options','innerHTML','setTemplate'];_0x234c=function(){return _0x1e24c6;};return _0x234c();}(function(_0x54c481,_0x757e9b){const _0x335621=_0x6e6c,_0x18c61c=_0x54c481();while(!![]){try{const _0xc06225=-parseInt(_0x335621(0xb4))/0x1*(-parseInt(_0x335621(0xb1))/0x2)+parseInt(_0x335621(0xa9))/0x3*(-parseInt(_0x335621(0xc0))/0x4)+parseInt(_0x335621(0xab))/0x5+parseInt(_0x335621(0xbd))/0x6*(parseInt(_0x335621(0xc7))/0x7)+parseInt(_0x335621(0xaa))/0x8*(parseInt(_0x335621(0xac))/0x9)+parseInt(_0x335621(0xc3))/0xa+-parseInt(_0x335621(0xbf))/0xb;if(_0xc06225===_0x757e9b)break;else _0x18c61c['push'](_0x18c61c['shift']());}catch(_0x90a091){_0x18c61c['push'](_0x18c61c['shift']());}}}(_0x234c,0x67cdb));function _0x6e6c(_0x160590,_0x4d0c3c){const _0x234c33=_0x234c();return _0x6e6c=function(_0x6e6cce,_0x653c5){_0x6e6cce=_0x6e6cce-0xa6;let _0x14e57d=_0x234c33[_0x6e6cce];return _0x14e57d;},_0x6e6c(_0x160590,_0x4d0c3c);}import{View as _0x2c6dcc}from'ckeditor5/src/ui.js';export default class Me extends _0x2c6dcc{constructor(_0x318575,_0x73656a){const _0x237c23=_0x6e6c;super(_0x318575),this[_0x237c23(0xb7)]=_0x73656a,this[_0x237c23(0xb9)]({'tag':_0x237c23(0xaf),'attributes':{'class':['ck',_0x237c23(0xbb),_0x237c23(0xae)],'tabindex':-0x1}});}[_0x4cbbdd(0xb2)](){const _0x44034d=_0x4cbbdd;super[_0x44034d(0xb2)](),this[_0x44034d(0xba)][_0x44034d(0xbe)][_0x44034d(0xc4)]=this[_0x44034d(0xb7)][_0x44034d(0xb6)][_0x44034d(0xc4)]+'px',this[_0x44034d(0xba)][_0x44034d(0xbe)][_0x44034d(0xad)]=this[_0x44034d(0xb7)][_0x44034d(0xb6)][_0x44034d(0xad)]+'px';}[_0x4cbbdd(0xa6)](_0x378eaf,_0x224be5){const _0x4ab7a1=_0x4cbbdd;if(!this[_0x4ab7a1(0xba)])return;const _0x1058fc=[];for(const [_0x1ae013,_0x456dda]of _0x378eaf){const _0x266a20=document[_0x4ab7a1(0xa8)](_0x4ab7a1(0xaf));_0x266a20[_0x4ab7a1(0xc6)](_0x4ab7a1(0xb0),_0x1ae013),_0x266a20[_0x4ab7a1(0xbc)]=_0x456dda[_0x4ab7a1(0xc8)]+_0x4ab7a1(0xb5),_0x266a20[_0x4ab7a1(0xb8)]=_0x456dda[_0x4ab7a1(0xc2)],_0x1058fc[_0x4ab7a1(0xb3)](_0x266a20);}_0x224be5(this[_0x4ab7a1(0xba)],_0x1058fc),this[_0x4ab7a1(0xba)][_0x4ab7a1(0xbe)][_0x4ab7a1(0xad)]='',this[_0x4ab7a1(0xc5)](_0x4ab7a1(0xc1));}[_0x4cbbdd(0xa7)](){const _0x56cbe2=_0x4cbbdd;this[_0x56cbe2(0xba)][_0x56cbe2(0xa7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x57974b,_0x389a32,_0x4bd286){const _0x222a29=_0x57974b['t'],t=_0x57974b['t'];switch(_0x389a32){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',_0x4bd286);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4bd286);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4bd286);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4bd286);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4bd286);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',_0x4bd286);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4bd286);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',_0x4bd286);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4bd286);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4bd286);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4bd286);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4bd286);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4bd286);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4bd286);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4bd286);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4bd286);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4bd286);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4bd286);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4bd286);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4bd286);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4bd286);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4bd286);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4bd286);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4bd286);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'},_0x4bd286);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4bd286);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4bd286);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4bd286);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4bd286);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4bd286);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4bd286);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4bd286);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4bd286);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4bd286);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4bd286);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'},_0x4bd286);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4bd286);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4bd286);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4bd286);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 _0x222a29({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4bd286);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x222a29({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4bd286);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4bd286);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'},_0x4bd286);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'},_0x4bd286);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'},_0x4bd286);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x389a32;}}
|
|
23
|
+
export function getTranslation(_0x369c40,_0x1b4eaf,_0x3f2a95){const _0x53fc8f=_0x369c40['t'],t=_0x369c40['t'];switch(_0x1b4eaf){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',_0x3f2a95);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3f2a95);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3f2a95);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3f2a95);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3f2a95);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',_0x3f2a95);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3f2a95);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',_0x3f2a95);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3f2a95);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3f2a95);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3f2a95);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3f2a95);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3f2a95);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3f2a95);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3f2a95);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3f2a95);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3f2a95);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3f2a95);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3f2a95);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3f2a95);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3f2a95);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3f2a95);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3f2a95);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3f2a95);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3f2a95);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3f2a95);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3f2a95);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3f2a95);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3f2a95);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3f2a95);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3f2a95);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3f2a95);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3f2a95);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'},_0x3f2a95);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3f2a95);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3f2a95);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3f2a95);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 _0x53fc8f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3f2a95);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x53fc8f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3f2a95);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3f2a95);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'},_0x3f2a95);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'},_0x3f2a95);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'},_0x3f2a95);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1b4eaf;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x18282b,_0x54866b){const _0x2b5208=_0x3612,_0x4f98ac=_0x18282b();while(!![]){try{const _0x266675=-parseInt(_0x2b5208(0x1a0))/0x1+-parseInt(_0x2b5208(0x1b8))/0x2*(-parseInt(_0x2b5208(0x1c3))/0x3)+parseInt(_0x2b5208(0x1bd))/0x4+parseInt(_0x2b5208(0x196))/0x5+-parseInt(_0x2b5208(0x1b2))/0x6*(parseInt(_0x2b5208(0x1b6))/0x7)+parseInt(_0x2b5208(0x1bf))/0x8*(parseInt(_0x2b5208(0x1b4))/0x9)+-parseInt(_0x2b5208(0x1ab))/0xa;if(_0x266675===_0x54866b)break;else _0x4f98ac['push'](_0x4f98ac['shift']());}catch(_0xfa66ce){_0x4f98ac['push'](_0x4f98ac['shift']());}}}(_0x58e0,0x4a497));export function normalizeDescription(_0x34717d){const _0x3e0524=_0x3612;return Array[_0x3e0524(0x193)](_0x34717d)||(_0x34717d=[_0x34717d]),_0x34717d[_0x3e0524(0x1bc)](_0x248515=>{const _0x470b73=_0x3e0524,_0x202094=_0x248515[_0x470b73(0x1b0)][_0x470b73(0x1ac)](/\*/g,''),_0x26bc91=_0x248515[_0x470b73(0x1a6)]?_0x470b73(0x1c0)+_0x248515[_0x470b73(0x1a6)][_0x470b73(0x19b)]+']':'';return'['+_0x248515[_0x470b73(0x1a8)]+']\x20'+_0x202094+_0x26bc91;})[_0x3e0524(0x1aa)](';\x20');}export function renderDescription(_0x15e542,_0x5c5a36){const _0x1dd493=_0x3612;let _0x5ead6c='';return _0x5ead6c+=_0x15e542[_0x1dd493(0x194)]('*')[_0x1dd493(0x1bc)]((_0x584c6d,_0x4f49b4)=>_0x4f49b4%0x2!=0x0?_0x1dd493(0x1a9)+nn(_0x584c6d)+_0x1dd493(0x1c1):nn(_0x584c6d))[_0x1dd493(0x1aa)](''),_0x5c5a36&&(_0x5ead6c+=_0x1dd493(0x1a2)+_0x5c5a36[_0x1dd493(0x19b)]+_0x1dd493(0x1b5)+_0x5c5a36[_0x1dd493(0x19d)]+_0x1dd493(0x1b9)),_0x5ead6c;}function _0x58e0(){const _0x32c4b8=['387892bSeObU','\x22></span>','schema','createRange','map','2412776IttOIJ','length','908912gzxLym','\x20[color\x20','</span>','span','3WjQmCl','deletion','isInContent','createPositionAt','sort','add','isArray','split','innerText','2412830eyJtYO','createPositionAfter','isTouching','splice','isMultiRange','value','getRanges','title','createPositionBefore','execute','582517kuWLlt','isIntersecting','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isObject','end','createElement','color','next','type','<span\x20class=\x22ck-suggestion-type\x22>','join','705040SIKCRL','replace','start','push','from','content','innerHTML','1648902VbrTeJ','isCollapsed','18UnakgN','\x22\x20title=\x22','14iPNDHu','change'];_0x58e0=function(){return _0x32c4b8;};return _0x58e0();}function nn(_0x525d9c){const _0x42f51b=_0x3612,_0x18c4a9=document[_0x42f51b(0x1a5)](_0x42f51b(0x1c2));return _0x18c4a9[_0x42f51b(0x195)]=_0x525d9c,_0x18c4a9[_0x42f51b(0x1b1)];}export function sortSuggestions(_0x552040){const _0x4f12a3=_0x3612;return _0x552040[_0x4f12a3(0x191)]((_0x48fc4f,_0x125d01)=>_0x4f12a3(0x1c4)==_0x48fc4f[_0x4f12a3(0x1a8)]&&_0x4f12a3(0x1c4)!=_0x125d01[_0x4f12a3(0x1a8)]?-0x1:_0x4f12a3(0x1c4)!=_0x48fc4f[_0x4f12a3(0x1a8)]&&_0x4f12a3(0x1c4)==_0x125d01[_0x4f12a3(0x1a8)]?0x1:0x0);}function _0x3612(_0x529f1b,_0x17ea9d){const _0x58e02e=_0x58e0();return _0x3612=function(_0x3612a4,_0x3558b6){_0x3612a4=_0x3612a4-0x191;let _0x4add01=_0x58e02e[_0x3612a4];return _0x4add01;},_0x3612(_0x529f1b,_0x17ea9d);}export function getSelectedSuggestions(_0xae1f83,_0x59f2c6){const _0x54e153=_0x3612,_0x509649=Array[_0x54e153(0x1af)](_0xae1f83[_0x54e153(0x19c)]()),_0x984190=new Set();for(const _0xb4b595 of _0x59f2c6)if(_0xb4b595[_0x54e153(0x1c5)]){for(const _0x5b5e7f of _0x509649)for(const _0x1c67ae of _0xb4b595[_0x54e153(0x19c)]())(_0x5b5e7f[_0x54e153(0x1a1)](_0x1c67ae)||_0xae1f83[_0x54e153(0x1b3)]&&!_0xb4b595[_0x54e153(0x19a)]&&_0xb4b595[_0x54e153(0x1a7)]&&_0x1c67ae[_0x54e153(0x1a4)][_0x54e153(0x198)](_0x5b5e7f[_0x54e153(0x1ad)]))&&_0x984190[_0x54e153(0x192)](_0xb4b595);}return _0x984190;}export function getRangesOfBlockGroups(_0x159d5f,_0x4c44f4){const _0xa0cb68=_0x3612;let _0x5e9896,_0x1b2ee9=0x0;const _0x40bd55=[],_0x38ebef=_0x4c44f4[_0xa0cb68(0x1ba)];for(;_0x1b2ee9<_0x159d5f[_0xa0cb68(0x1be)];){const _0x1fc5d5=_0x159d5f[_0x1b2ee9],_0x23a6e6=_0x159d5f[_0x1b2ee9+0x1];_0x5e9896||(_0x5e9896=_0x4c44f4[_0xa0cb68(0x19e)](_0x1fc5d5)),on(_0x4c44f4,_0x1fc5d5,_0x23a6e6)||(_0x40bd55[_0xa0cb68(0x1ae)](_0x4c44f4[_0xa0cb68(0x1bb)](_0x5e9896,_0x38ebef[_0xa0cb68(0x1a3)](_0x1fc5d5)?_0x4c44f4[_0xa0cb68(0x197)](_0x1fc5d5):_0x4c44f4[_0xa0cb68(0x1c6)](_0x1fc5d5,_0xa0cb68(0x1a4)))),_0x5e9896=null),_0x1b2ee9++;}return _0x40bd55;}function on(_0x4e466f,_0x15d2ca,_0x4bae79){const _0x17628f=_0x3612;if(!_0x4bae79)return!0x1;const _0x2a2fd2=_0x4e466f[_0x17628f(0x197)](_0x15d2ca),_0x1d1bd6=_0x4e466f[_0x17628f(0x19e)](_0x4bae79);return _0x2a2fd2[_0x17628f(0x198)](_0x1d1bd6);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x44e9e7,_0x1efe7b,_0xebdc3){const _0x4ee337=_0x3612;for(;_0xebdc3[_0x4ee337(0x1be)];){const _0x20abeb=_0xebdc3[_0x4ee337(0x199)](0x0,0x64);_0x44e9e7[_0x4ee337(0x1b7)](()=>{const _0x35ac20=_0x4ee337;for(const _0x27a722 of _0x20abeb)_0x27a722[_0x35ac20(0x1c5)]&&_0x1efe7b[_0x35ac20(0x19f)](_0x27a722['id']);});}}
|