@ckeditor/ckeditor5-track-changes 44.2.0-alpha.6 → 44.2.0-alpha.8
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.d.ts +17 -0
- package/src/integrations/emoji.js +23 -0
- 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.d.ts +2 -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 _0x2888d1=_0x3f4d;function _0x52df(){const _0x1a693d=['isOfficialPlugin','requires','583olvSOw','commands','639Idqxpy','trackChanges.preview.renderFunction','766GirILn','6287723iJcdbw','864798fPGVCZ','editor','5GhZISu','pluginName','config','isPremiumPlugin','add','previewFinalContent','appendChild','12tzAbzr','4aggQKO','1424689eMAOtq','57210jkFxvq','define','TrackChangesPreview','2698011UtzSRh','8txhwqu','434082KVHnxS'];_0x52df=function(){return _0x1a693d;};return _0x52df();}(function(_0x4bf94e,_0x7b3283){const _0x2c7719=_0x3f4d,_0x42e0be=_0x4bf94e();while(!![]){try{const _0xf19adf=parseInt(_0x2c7719(0xf8))/0x1*(parseInt(_0x2c7719(0xfa))/0x2)+-parseInt(_0x2c7719(0xf3))/0x3*(parseInt(_0x2c7719(0x106))/0x4)+parseInt(_0x2c7719(0xfe))/0x5*(parseInt(_0x2c7719(0xfc))/0x6)+parseInt(_0x2c7719(0x107))/0x7*(-parseInt(_0x2c7719(0xf2))/0x8)+parseInt(_0x2c7719(0x10b))/0x9+parseInt(_0x2c7719(0x108))/0xa*(parseInt(_0x2c7719(0xf6))/0xb)+parseInt(_0x2c7719(0x105))/0xc*(-parseInt(_0x2c7719(0xfb))/0xd);if(_0xf19adf===_0x7b3283)break;else _0x42e0be['push'](_0x42e0be['shift']());}catch(_0x18f504){_0x42e0be['push'](_0x42e0be['shift']());}}}(_0x52df,0x270e2));import{Plugin as _0x23ce34}from'ckeditor5/src/core.js';import{Dialog as _0x24764c}from'ckeditor5/src/ui.js';import _0x352fd9 from'./trackchangesdata.js';import _0xf9ec57 from'./commands/previewfinalcontentcommand.js';function _0x3f4d(_0x1597b7,_0xe3eb29){const _0x52df22=_0x52df();return _0x3f4d=function(_0x3f4d54,_0x54cd06){_0x3f4d54=_0x3f4d54-0xf2;let _0x39585f=_0x52df22[_0x3f4d54];return _0x39585f;},_0x3f4d(_0x1597b7,_0xe3eb29);}import'../theme/trackchangespreview.css';export default class te extends _0x23ce34{static get[_0x2888d1(0xf5)](){return[_0x352fd9,_0x24764c];}static get[_0x2888d1(0xff)](){const _0x652904=_0x2888d1;return _0x652904(0x10a);}static get[_0x2888d1(0xf4)](){return!0x0;}static get[_0x2888d1(0x101)](){return!0x0;}constructor(_0x473c4f){const _0x532829=_0x2888d1;super(_0x473c4f),_0x473c4f[_0x532829(0xf7)][_0x532829(0x102)](_0x532829(0x103),new _0xf9ec57(this[_0x532829(0xfd)])),_0x473c4f[_0x532829(0x100)][_0x532829(0x109)](_0x532829(0xf9),(_0x5e54ac,_0x3d15e2)=>{const _0x59c711=_0x532829;for(const _0x145062 of _0x3d15e2)_0x5e54ac[_0x59c711(0x104)](_0x145062);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49f38c=_0x321f;(function(_0x4a46aa,_0x5d0f1d){const _0x122389=_0x321f,_0x5272a8=_0x4a46aa();while(!![]){try{const _0x3f96c7=parseInt(_0x122389(0x11c))/0x1+-parseInt(_0x122389(0x14c))/0x2*(-parseInt(_0x122389(0xe9))/0x3)+-parseInt(_0x122389(0xcd))/0x4+parseInt(_0x122389(0x133))/0x5*(parseInt(_0x122389(0x102))/0x6)+-parseInt(_0x122389(0x10d))/0x7+-parseInt(_0x122389(0xcb))/0x8+parseInt(_0x122389(0xe7))/0x9*(parseInt(_0x122389(0x108))/0xa);if(_0x3f96c7===_0x5d0f1d)break;else _0x5272a8['push'](_0x5272a8['shift']());}catch(_0x361202){_0x5272a8['push'](_0x5272a8['shift']());}}}(_0x3bc0,0x43825));import{Plugin as _0x572c71}from'ckeditor5/src/core.js';import{Collection as _0x50b0d0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1fac3c,createDropdown as _0x205956,ListSeparatorView as _0x323dcc,MenuBarMenuView as _0x446814,MenuBarMenuListView as _0x2a7ea0,MenuBarMenuListItemView as _0x11fcbe,MenuBarMenuListItemButtonView as _0x3e4ed2,SplitButtonView as _0x41cadf,ViewModel as _0x39b05b}from'ckeditor5/src/ui.js';import{Users as _0x1ec61f,getDateTimeFormatter as _0x518b8f,getAllMarkersDomElementsSorted as _0x2da25d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x526b75 from'./trackchangesediting.js';function _0x321f(_0x3ff156,_0x208170){const _0x3bc026=_0x3bc0();return _0x321f=function(_0x321f16,_0x242406){_0x321f16=_0x321f16-0xc1;let _0x571341=_0x3bc026[_0x321f16];return _0x571341;},_0x321f(_0x3ff156,_0x208170);}function _0x3bc0(){const _0x5a85ba=['12kQdyBf','pluginName','CommentsUI','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','EditorAnnotations','3950EZZcNn','length','_disableComments','SuggestionView','trackChanges','166572AnRmhA','descriptionParts','discardAllSuggestions','delegate','define','menuitem','Track\x20changes','CommentView','trackChanges.SuggestionThreadView','featureNotAllowed','hasSuggestion','usageLimit','invalid','head','isPremiumPlugin','194949ehCRRY','set','from','createAnnotationView','toMany','_updateController','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','Discard\x20all\x20suggestions','mainView','separator','_suggestionToController','trackChangesLicenseKeyDomainLimit','getFirstRange','keys','_bindAnnotationToEditors','init','plugins','suggestionChanged','children','_showLicenseError','menuitemcheckbox','activeMarkers','603095ksqMao','trialLimit','bind','acceptSelectedSuggestions','clear','commentThread','isMultiRange','getMarkers','createAnnotation','type','addSourceCollector','innerView','discardButton','getSuggestion','filter','TrackChangesPreview','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionView','suggestion-','focus','TrackChanges','button','reduce','_annotationViews','trackChanges.disableComments','980kmpQqE','TrackChangesUI','comments.maxThreadTotalWeight','_initializeController','isDirty','suggestionView','activeAnnotations','comments.maxCommentCharsWhenCollapsed','requires','change:activeAnnotations','listenTo','Preview\x20final\x20content','add','suggestionLoaded','comments','execute','_destroyController','CommentsRepository','domainLimit','comments.editorConfig','menuBar:trackChanges','isInContent','actionView','evaluationLimit','arrowView','createCommentThreadController','getRanges','TrackChangesEditing','previewFinalContent','values','config','_unbindEditors','buttonView','getMarkerNames','editing','suggestionUnloaded','delete','_createToolbarButton','commands','_handleSuggestionControllerDelayed','value','model','remove','unbind','comments.maxCommentsWhenCollapsed','acceptAllSuggestions','_handleControllerBuffer','1924448OfgOVP','_viewToController','2206432SMcCRz','descriptionFactory','view','panelView','registerAnnotation','acceptButton','switchbutton','licenseKey','getJoined','trackChangesLicenseKeyInvalid','escape','trackChangesLicenseKeyEvaluationLimit','getByInnerView','discardSelectedSuggestions','addMany','_addUIComponentsToFactory','previous','source','isOn','commandName','get','size','items','expired','isEnabled','trackChangesLicenseKeyValid','13770wVWRwp','Annotations','318tpJUPN','getDescriptions','getAllAdjacentSuggestions','addComment','isOfficialPlugin','push','lowest','Discard\x20all\x20selected\x20suggestions','_licenseKeyCheckInterval','componentFactory','locale','stopListening','menu','Accept\x20all\x20selected\x20suggestions','refreshSelectedViews','destroy','_createMenuBarMenu','fire','change:previous','has','_refreshActiveMarkers','commentsListView','some','trackChangesLicenseKeyExpired','editor'];_0x3bc0=function(){return _0x5a85ba;};return _0x3bc0();}import _0x4ff796 from'./ui/suggestioncontroller.js';import _0xc9987a from'./ui/view/suggestionthreadview.js';import _0x4f176f from'./ui/view/suggestionview.js';import{getTranslation as _0x2da0cd}from'./utils/common-translations.js';import _0xdebfb8 from'../theme/icons/track-changes.svg';export default class d extends _0x572c71{static get[_0x49f38c(0x154)](){const _0x57763b=_0x49f38c;return[_0x526b75,_0x1ec61f,_0x57763b(0x15d),_0x57763b(0xe8),_0x57763b(0x107)];}static get[_0x49f38c(0x103)](){const _0x4bc4ef=_0x49f38c;return _0x4bc4ef(0x14d);}static get[_0x49f38c(0xed)](){return!0x0;}static get[_0x49f38c(0x11b)](){return!0x0;}constructor(_0x454009){const _0x2b7fd6=_0x49f38c;super(_0x454009),this[_0x2b7fd6(0x127)]=new Map(),this[_0x2b7fd6(0xcc)]=new Map(),this[_0x2b7fd6(0x14a)]=new Map(),this[_0x2b7fd6(0xca)]=new Map();const _0x48be1f=this[_0x2b7fd6(0x101)][_0x2b7fd6(0x16a)];_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x115),_0xc9987a),_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x144),_0x4f176f),_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x14b),!0x1),this[_0x2b7fd6(0x10a)]=_0x48be1f[_0x2b7fd6(0xe1)](_0x2b7fd6(0x14b));}[_0x49f38c(0xc3)](_0xcd3e8b,_0x65fee5){const _0x282946=_0x49f38c;0x0===this[_0x282946(0xca)][_0x282946(0xe2)]&&setTimeout(()=>{const _0x2d181b=_0x282946;for(const [_0x469c57,_0x3ac126]of this[_0x2d181b(0xca)]){const _0x29b261=this[_0x2d181b(0x127)][_0x2d181b(0xfc)](_0x469c57);_0x29b261||_0x3ac126?_0x29b261&&_0x3ac126&&this[_0x2d181b(0x15c)](_0x469c57):this[_0x2d181b(0x14f)](_0x469c57);}this[_0x2d181b(0xca)][_0x2d181b(0x137)](),this[_0x2d181b(0x101)][_0x2d181b(0x12d)][_0x2d181b(0xe1)](_0x2d181b(0x107))[_0x2d181b(0xf7)](),this[_0x2d181b(0xfd)]();},0xa),this[_0x282946(0xca)][_0x282946(0x11d)](_0xcd3e8b,_0x65fee5);}[_0x49f38c(0x12c)](){const _0x46b0d1=_0x49f38c,_0x8a8c15=this[_0x46b0d1(0x101)],_0x1a1cce=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x167)),_0x146cc0=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0xe8)),_0x5be039=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x107)),_0x3ac32d=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x15d));this[_0x46b0d1(0xdc)](),_0x5be039[_0x46b0d1(0x13d)](()=>{const _0x17751d=_0x46b0d1,_0x4af266=[];for(const [_0x55efc1,_0x2e6730]of Array[_0x17751d(0x11e)](this[_0x17751d(0x127)])){const _0x7079f=_0x55efc1[_0x17751d(0xeb)](),_0x556790=[];for(const _0xb5f624 of _0x7079f){if(!_0xb5f624[_0x17751d(0x161)])continue;if(_0xb5f624[_0x17751d(0x139)]){_0x556790[_0x17751d(0xee)](..._0xb5f624[_0x17751d(0x166)]());continue;}const _0xe006e8=_0xb5f624[_0x17751d(0x129)]();if(_0x556790[_0x17751d(0x109)]>0x0){const _0x470277=_0x556790[0x0][_0x17751d(0xd5)](_0xe006e8);if(_0x470277){_0x556790[0x0]=_0x470277;continue;}}_0x556790[_0x17751d(0xee)](_0xe006e8);}_0x4af266[_0x17751d(0xee)]([_0x2e6730[_0x17751d(0xcf)],_0x556790]);}return _0x4af266;}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x159),(_0x1e0104,_0x41f2ef)=>{const _0x34359b=_0x46b0d1;this[_0x34359b(0x156)](_0x41f2ef,_0x34359b(0xfb),(_0x127373,_0x166e51,_0x56b615,_0x3c30cf)=>{const _0x392fd3=_0x34359b;_0x41f2ef[_0x392fd3(0x161)]&&(null==_0x56b615?(this[_0x392fd3(0x121)](_0x3c30cf[_0x392fd3(0x11a)]),this[_0x392fd3(0xc3)](_0x41f2ef,!0x1)):(this[_0x392fd3(0x121)](_0x56b615[_0x392fd3(0x11a)]),null==_0x3c30cf&&this[_0x392fd3(0xc3)](_0x41f2ef,!0x0)));}),null!==_0x41f2ef[_0x34359b(0xdd)]?this[_0x34359b(0x121)](_0x41f2ef[_0x34359b(0x11a)]):this[_0x34359b(0xc3)](_0x41f2ef,!0x1);}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x16f),(_0x3612bc,_0x1a6fd9,_0x5bc75c)=>{const _0x5c9188=_0x46b0d1;this[_0x5c9188(0xf4)](_0x1a6fd9,_0x5c9188(0xfb)),this[_0x5c9188(0xca)][_0x5c9188(0x170)](_0x1a6fd9),this[_0x5c9188(0x127)][_0x5c9188(0xfc)](_0x1a6fd9)&&this[_0x5c9188(0x15c)](_0x1a6fd9),_0x5bc75c&&this[_0x5c9188(0x121)](_0x5bc75c[_0x5c9188(0x11a)]);}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x12e),(_0x3a5740,_0x441bf0)=>{const _0x2c8784=_0x46b0d1;this[_0x2c8784(0x121)](_0x441bf0);}),this[_0x46b0d1(0x156)](_0x146cc0,_0x46b0d1(0x155),()=>{const _0x38079a=_0x46b0d1;this[_0x38079a(0xfd)]();}),this[_0x46b0d1(0x156)](_0x3ac32d,_0x46b0d1(0xec),(_0x38cf12,{threadId:_0x14d17a,isFromAdapter:_0x1f4575})=>{const _0x133655=_0x46b0d1;if(_0x1f4575||!_0x1a1cce[_0x133655(0x117)](_0x14d17a))return;const _0x1fe26c=_0x1a1cce[_0x133655(0x140)](_0x14d17a);this[_0x133655(0x127)][_0x133655(0xe1)](_0x1fe26c)[_0x133655(0xcf)][_0x133655(0xfe)][_0x133655(0x146)](-0x1);},{'priority':_0x46b0d1(0xef)}),this[_0x46b0d1(0xd4)]=this[_0x46b0d1(0x101)][_0x46b0d1(0x16a)][_0x46b0d1(0xe1)](_0x46b0d1(0xd4));const _0x817cd3=this[_0x46b0d1(0x101)];this[_0x46b0d1(0xf1)]=setInterval(()=>{const _0x4d71db=_0x46b0d1;let _0x593a0d;for(const _0x6184d7 in _0x817cd3){const _0xdc9f71=_0x6184d7,_0x165364=_0x817cd3[_0xdc9f71];if(_0x4d71db(0xe6)==_0x165364||_0x4d71db(0xd6)==_0x165364||_0x4d71db(0x100)==_0x165364||_0x4d71db(0x128)==_0x165364||_0x4d71db(0x105)==_0x165364||_0x4d71db(0xd8)==_0x165364||_0x4d71db(0x123)==_0x165364||_0x4d71db(0x143)==_0x165364){delete _0x817cd3[_0xdc9f71],_0x593a0d=_0x165364,clearInterval(this[_0x4d71db(0xf1)]),this[_0x4d71db(0xf1)]=void 0x0;break;}}_0x4d71db(0xd6)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x119)),_0x4d71db(0x100)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0xe4)),_0x4d71db(0x128)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x15e)),_0x4d71db(0x105)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x116),_0x4d71db(0x147)),_0x4d71db(0xd8)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x163)),_0x4d71db(0x123)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x134)),_0x4d71db(0x143)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x118));},0x3e8);}[_0x49f38c(0xfd)](){const _0x330b2e=_0x49f38c,_0x533a84=this[_0x330b2e(0x101)][_0x330b2e(0x12d)][_0x330b2e(0xe1)](_0x330b2e(0xe8)),_0x1b5a4a=this[_0x330b2e(0x101)][_0x330b2e(0x12d)][_0x330b2e(0xe1)](_0x330b2e(0x167)),_0x41ec06=Array[_0x330b2e(0x11e)](_0x533a84[_0x330b2e(0x152)],_0x5d5382=>_0x5d5382[_0x330b2e(0x13e)])[_0x330b2e(0x141)](_0x4b374e=>this[_0x330b2e(0xcc)][_0x330b2e(0xfc)](_0x4b374e)),_0x5deead=[];for(const _0x313b02 of _0x41ec06){const _0x22e491=this[_0x330b2e(0xcc)][_0x330b2e(0xe1)](_0x313b02)[_0x330b2e(0xc5)][_0x330b2e(0xeb)]();_0x5deead[_0x330b2e(0xee)](..._0x22e491[_0x330b2e(0x149)]((_0x4a4188,_0x133f4b)=>[..._0x4a4188,..._0x133f4b[_0x330b2e(0x16d)]()],[]));}_0x1b5a4a[_0x330b2e(0x132)]=_0x5deead;}[_0x49f38c(0xdc)](){const _0xca498=_0x49f38c,_0x381bca=this[_0xca498(0x101)],_0x4503d2=_0x381bca[_0xca498(0xf3)],_0x1e8b91=_0x2da0cd(_0x4503d2,_0xca498(0x113)),_0x4fc528=new _0x50b0d0([{'type':_0xca498(0xd3),'model':new _0x39b05b({'withText':!0x0,'isToggleable':!0x0,'label':_0x1e8b91,'commandName':_0xca498(0x10c),'role':_0xca498(0x131)})},{'type':_0xca498(0x126)},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x106)),'commandName':_0xca498(0xc9),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0xf6)),'commandName':_0xca498(0x136),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x124)),'commandName':_0xca498(0x10f),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0xf0)),'commandName':_0xca498(0xda),'role':_0xca498(0x112)})}]);_0x381bca[_0xca498(0x12d)][_0xca498(0xfc)](_0xca498(0x142))&&_0x4fc528[_0xca498(0xdb)]([{'type':_0xca498(0x126)},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x157)),'commandName':_0xca498(0x168),'role':_0xca498(0x112)})}]);for(const _0x3e0f47 of _0x4fc528)if(ke(_0x3e0f47)){const _0x141cce=_0x381bca[_0xca498(0xc2)][_0xca498(0xe1)](_0x3e0f47[_0xca498(0xc5)][_0xca498(0xe0)]);_0x3e0f47[_0xca498(0xc5)][_0xca498(0x135)](_0xca498(0xdf),_0xca498(0xe5))['to'](_0x141cce,_0xca498(0xc4),_0xca498(0xe5));}_0x381bca['ui'][_0xca498(0xf2)][_0xca498(0x158)](_0xca498(0x10c),_0x5e8e73=>this[_0xca498(0xc1)](_0x5e8e73,_0x4fc528,_0x1e8b91)),_0x381bca['ui'][_0xca498(0xf2)][_0xca498(0x158)](_0xca498(0x160),_0x3202ce=>this[_0xca498(0xf9)](_0x3202ce,_0x4fc528,_0x1e8b91));}[_0x49f38c(0xc1)](_0x1a6472,_0x113568,_0x22cf99){const _0xd44979=_0x49f38c,_0x5cb050=_0x205956(_0x1a6472,_0x41cadf),_0x1fc100=this[_0xd44979(0x101)][_0xd44979(0xc2)][_0xd44979(0xe1)](_0xd44979(0x10c));_0x5cb050[_0xd44979(0x16c)][_0xd44979(0x11d)]({'tooltip':_0x22cf99,'label':_0x22cf99,'icon':_0xdebfb8}),_0x5cb050[_0xd44979(0x16c)][_0xd44979(0x135)](_0xd44979(0xdf))['to'](_0x1fc100,_0xd44979(0xc4)),_0x5cb050[_0xd44979(0x16c)]['on'](_0xd44979(0x15b),()=>{const _0x1e7429=_0xd44979;_0x1fc100[_0x1e7429(0x15b)](),this[_0x1e7429(0x101)][_0x1e7429(0x16e)][_0x1e7429(0xcf)][_0x1e7429(0x146)]();}),_0x1fac3c(_0x5cb050,_0x113568,{'role':_0xd44979(0xf5)});const _0x2b9aa0=[];for(const _0x1d69f1 of _0x113568)ke(_0x1d69f1)&&_0x2b9aa0[_0xd44979(0xee)](this[_0xd44979(0x101)][_0xd44979(0xc2)][_0xd44979(0xe1)](_0x1d69f1[_0xd44979(0xc5)][_0xd44979(0xe0)]));const _0x4c6a32=_0x5cb050[_0xd44979(0x16c)];return _0x4c6a32[_0xd44979(0x162)][_0xd44979(0xc7)](_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x164)][_0xd44979(0xc7)](_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x162)][_0xd44979(0x135)](_0xd44979(0xe5))['to'](_0x1fc100,_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x164)][_0xd44979(0x135)](_0xd44979(0xe5))[_0xd44979(0x120)](_0x2b9aa0,_0xd44979(0xe5),(..._0x1dccc2)=>_0x1dccc2[_0xd44979(0xff)](_0x181c58=>_0x181c58)),_0x5cb050['on'](_0xd44979(0x15b),_0x4ef62b=>{const _0x39ebe3=_0xd44979;this[_0x39ebe3(0x101)][_0x39ebe3(0x15b)](_0x4ef62b[_0x39ebe3(0xde)][_0x39ebe3(0xe0)]),this[_0x39ebe3(0x101)][_0x39ebe3(0x16e)][_0x39ebe3(0xcf)][_0x39ebe3(0x146)]();}),_0x5cb050;}[_0x49f38c(0xf9)](_0x194c16,_0x27baf4,_0x341563){const _0x4320e2=_0x49f38c,_0x1b6c41=new _0x446814(_0x194c16),_0x44cfbb=this[_0x4320e2(0x101)][_0x4320e2(0xc2)][_0x4320e2(0xe1)](_0x4320e2(0x10c));_0x1b6c41[_0x4320e2(0x16c)][_0x4320e2(0x11d)]({'label':_0x341563,'icon':_0xdebfb8});const _0x4d88cd=new _0x2a7ea0(_0x194c16);for(const _0x3aa86e of _0x27baf4){if(_0x4320e2(0x126)==_0x3aa86e[_0x4320e2(0x13c)]){_0x4d88cd[_0x4320e2(0xe3)][_0x4320e2(0x158)](new _0x323dcc(_0x194c16));continue;}const _0x5684f8=new _0x11fcbe(_0x194c16,_0x1b6c41),_0x26d71b=new _0x3e4ed2(_0x194c16),_0x52abf0=_0x3aa86e[_0x4320e2(0xc5)];_0x26d71b[_0x4320e2(0x135)](...Object[_0x4320e2(0x12a)](_0x52abf0))['to'](_0x52abf0),_0x26d71b[_0x4320e2(0x110)](_0x4320e2(0x15b))['to'](_0x1b6c41),_0x26d71b['on'](_0x4320e2(0x15b),()=>{const _0x14144c=_0x4320e2;this[_0x14144c(0x101)][_0x14144c(0x15b)](_0x52abf0[_0x14144c(0xe0)]),this[_0x14144c(0x101)][_0x14144c(0x16e)][_0x14144c(0xcf)][_0x14144c(0x146)]();}),_0x5684f8[_0x4320e2(0x12f)][_0x4320e2(0x158)](_0x26d71b),_0x4d88cd[_0x4320e2(0xe3)][_0x4320e2(0x158)](_0x5684f8);}return _0x1b6c41[_0x4320e2(0x135)](_0x4320e2(0xe5))['to'](_0x44cfbb,_0x4320e2(0xe5)),_0x1b6c41[_0x4320e2(0xd0)][_0x4320e2(0x12f)][_0x4320e2(0x158)](_0x4d88cd),_0x1b6c41;}[_0x49f38c(0x14f)](_0x27c645){const _0x176252=_0x49f38c,_0x496945=this[_0x176252(0x101)],_0x3f65c2=_0x496945[_0x176252(0x16a)],_0x2c400e=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0xe8)),_0x5465fa=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x15d)),_0x254469=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x107)),_0x2c1607=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x1ec61f)['me'],_0x2257e6=_0x3f65c2[_0x176252(0xe1)](_0x176252(0x10c))[_0x176252(0x122)],_0x1a2864=_0x3f65c2[_0x176252(0xe1)](_0x176252(0x10c))[_0x176252(0x10b)],{CommentsListView:_0x1cd8e6,CommentThreadInputView:_0xae5bfd}=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x104));let _0x52ac51,_0x3ac73a,_0x6dcb3f;this[_0x176252(0x14a)][_0x176252(0xfc)](_0x27c645['id'])?(_0x3ac73a=this[_0x176252(0x14a)][_0x176252(0xe1)](_0x27c645['id']),_0x52ac51=_0x3ac73a[_0x176252(0x125)]):(_0x52ac51=new _0x2257e6(_0x496945[_0x176252(0xf3)],_0x27c645,_0x2c1607,{'disableComments':this[_0x176252(0x10a)],'editorConfig':{..._0x3f65c2[_0x176252(0xe1)](_0x176252(0x15f)),'licenseKey':_0x3f65c2[_0x176252(0xe1)](_0x176252(0xd4))},'maxCommentsWhenCollapsed':_0x3f65c2[_0x176252(0xe1)](_0x176252(0xc8)),'maxThreadTotalWeight':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x14e)),'maxCommentCharsWhenCollapsed':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x153)),'formatDateTime':_0x518b8f(_0x3f65c2[_0x176252(0xe1)](_0x176252(0xf3))),'CommentView':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x15a))[_0x176252(0x114)],'CommentsListView':_0x1cd8e6,'CommentThreadInputView':_0xae5bfd,'SuggestionView':_0x1a2864}),_0x52ac51[_0x176252(0x151)][_0x176252(0xd2)]['on'](_0x176252(0x15b),()=>{const _0x15b310=_0x176252;_0x496945[_0x15b310(0x16e)][_0x15b310(0xcf)][_0x15b310(0x146)]();}),_0x52ac51[_0x176252(0x151)][_0x176252(0x13f)]['on'](_0x176252(0x15b),()=>{const _0x10b771=_0x176252;_0x496945[_0x10b771(0x16e)][_0x10b771(0xcf)][_0x10b771(0x146)]();}),_0x3ac73a=_0x2c400e[_0x176252(0x11f)](this[_0x176252(0x101)][_0x176252(0xf3)],_0x52ac51),_0x3ac73a[_0x176252(0x135)](_0x176252(0x150))['to'](_0x52ac51,_0x176252(0x150)),_0x3ac73a[_0x176252(0x135)](_0x176252(0x109))['to'](_0x52ac51),_0x3ac73a[_0x176252(0x135)](_0x176252(0x13c))['to'](_0x52ac51,_0x176252(0x13c),_0x5db0c1=>_0x176252(0x145)+_0x5db0c1),_0x52ac51['on'](_0x176252(0xd7),()=>{const _0xdb0684=_0x176252;_0x6dcb3f[_0xdb0684(0xfa)](_0xdb0684(0xd7));}),this[_0x176252(0x14a)][_0x176252(0x11d)](_0x27c645['id'],_0x3ac73a));const _0x2ea3b3=_0x5465fa[_0x176252(0x165)](_0x27c645[_0x176252(0x138)],_0x52ac51),_0x413958=new _0x4ff796(_0x496945,_0x27c645,_0x52ac51,_0x2ea3b3),_0x2223e0=_0x27c645[_0x176252(0xeb)]()[_0x176252(0x141)](_0x17d113=>_0x17d113[_0x176252(0x161)]);_0x52ac51[_0x176252(0x10e)]=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x167))[_0x176252(0xce)][_0x176252(0xea)](_0x2223e0),this[_0x176252(0x127)][_0x176252(0x11d)](_0x27c645,_0x413958),this[_0x176252(0xcc)][_0x176252(0x11d)](_0x52ac51,_0x413958),_0x6dcb3f=_0x2c400e[_0x176252(0x13b)]({'view':_0x3ac73a,'target':()=>{const _0x2ec2c1=_0x176252,_0x4a8954=[],_0x4e9ec4=_0x27c645[_0x2ec2c1(0xeb)]()[_0x2ec2c1(0x141)](_0x21502b=>_0x21502b[_0x2ec2c1(0x161)]);for(const _0x4e03cf of _0x4e9ec4)_0x4a8954[_0x2ec2c1(0xee)](..._0x4e03cf[_0x2ec2c1(0x13a)]());return _0x2da25d(_0x496945[_0x2ec2c1(0x16e)],_0x4a8954);},'type':()=>_0x176252(0x145)+_0x413958[_0x176252(0xcf)][_0x176252(0x13c)]}),_0x5465fa[_0x176252(0x12b)](_0x52ac51,_0x6dcb3f),_0x2c400e[_0x176252(0x158)](_0x6dcb3f),_0x254469[_0x176252(0xd1)](_0x6dcb3f);}[_0x49f38c(0x15c)](_0x119d13){const _0x599530=_0x49f38c,_0x117c6a=this[_0x599530(0x101)][_0x599530(0x12d)][_0x599530(0xe1)](_0x599530(0x15d)),_0x6fc776=this[_0x599530(0x101)][_0x599530(0x12d)][_0x599530(0xe1)](_0x599530(0xe8)),_0x2ce86e=this[_0x599530(0x127)][_0x599530(0xe1)](_0x119d13),_0x20737e=_0x2ce86e[_0x599530(0xcf)],_0x432021=_0x6fc776[_0x599530(0xd9)](_0x20737e);_0x117c6a[_0x599530(0x16b)](_0x20737e),_0x432021&&_0x6fc776[_0x599530(0xc6)](_0x432021),this[_0x599530(0x127)][_0x599530(0x170)](_0x119d13),this[_0x599530(0xcc)][_0x599530(0x170)](_0x20737e),_0x2ce86e[_0x599530(0xf8)]();}[_0x49f38c(0x121)](_0x21201e){const _0x2b1e49=_0x49f38c;if(!_0x21201e[_0x2b1e49(0x161)]||!this[_0x2b1e49(0x127)][_0x2b1e49(0xfc)](_0x21201e))return;const _0x46d5ab=this[_0x2b1e49(0x101)][_0x2b1e49(0x12d)][_0x2b1e49(0xe1)](_0x2b1e49(0x167)),_0x11986b=this[_0x2b1e49(0x127)][_0x2b1e49(0xe1)](_0x21201e),_0x6c2185=_0x21201e[_0x2b1e49(0xeb)]();_0x11986b[_0x2b1e49(0xcf)][_0x2b1e49(0x10e)]=_0x46d5ab[_0x2b1e49(0xce)][_0x2b1e49(0xea)](_0x6c2185);}[_0x49f38c(0xf8)](){const _0x4eb985=_0x49f38c;for(const _0x26f60a of this[_0x4eb985(0x127)][_0x4eb985(0x12a)]())this[_0x4eb985(0x15c)](_0x26f60a);for(const _0x16ae8a of this[_0x4eb985(0x14a)][_0x4eb985(0x169)]())_0x16ae8a[_0x4eb985(0x125)][_0x4eb985(0xf8)]();super[_0x4eb985(0xf8)](),this[_0x4eb985(0xf1)]&&clearInterval(this[_0x4eb985(0xf1)]);}}function ke(_0x42366c){const _0x5880a0=_0x49f38c;return _0x5880a0(0xc5)in _0x42366c;}
|
|
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;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x3e11fa=_0x16c8;(function(_0x38e0a6,_0x44272e){const _0xe801b3=_0x16c8,_0xa1eb2e=_0x38e0a6();while(!![]){try{const _0x45dbf8=parseInt(_0xe801b3(0xb4))/0x1*(-parseInt(_0xe801b3(0xb7))/0x2)+parseInt(_0xe801b3(0xba))/0x3+parseInt(_0xe801b3(0xa1))/0x4+-parseInt(_0xe801b3(0x9c))/0x5*(-parseInt(_0xe801b3(0xb9))/0x6)+-parseInt(_0xe801b3(0xa0))/0x7+-parseInt(_0xe801b3(0x9b))/0x8*(parseInt(_0xe801b3(0xb0))/0x9)+-parseInt(_0xe801b3(0xa8))/0xa;if(_0x45dbf8===_0x44272e)break;else _0xa1eb2e['push'](_0xa1eb2e['shift']());}catch(_0x850cf0){_0xa1eb2e['push'](_0xa1eb2e['shift']());}}}(_0x1e7e,0x51498));import{ObservableMixin as _0x41aef4}from'ckeditor5/src/utils.js';function _0x16c8(_0x3238e8,_0x1cdcc5){const _0x1e7e88=_0x1e7e();return _0x16c8=function(_0x16c811,_0x1659ab){_0x16c811=_0x16c811-0x91;let _0x238eee=_0x1e7e88[_0x16c811];return _0x238eee;},_0x16c8(_0x3238e8,_0x1cdcc5);}import{getTranslation as _0x35d8a8}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x41aef4(){constructor(_0x19718c,_0x51e9c0,_0x3cfed3,_0x3f96d2){const _0x5f1810=_0x16c8;super(),this[_0x5f1810(0xa2)]=_0x51e9c0,this[_0x5f1810(0x93)]=_0x3cfed3,this[_0x5f1810(0xb3)]=_0x3f96d2,this[_0x5f1810(0xb8)]=_0x19718c,this[_0x5f1810(0xa6)]=_0x19718c[_0x5f1810(0x9d)][_0x5f1810(0x96)](_0x5f1810(0x9a)),this[_0x5f1810(0xab)]=_0x19718c[_0x5f1810(0x9d)][_0x5f1810(0x96)](_0x5f1810(0x9f)),this[_0x5f1810(0x93)][_0x5f1810(0xb1)](_0x5f1810(0x9e))['to'](this[_0x5f1810(0xa6)],this[_0x5f1810(0xab)],(_0x36b41d,_0x253fba)=>_0x36b41d||_0x253fba),this[_0x5f1810(0x93)][_0x5f1810(0xb1)](_0x5f1810(0x99))['to'](this[_0x5f1810(0xa6)],_0x5f1810(0x9e),_0x5e6b03=>_0x5e6b03&&this[_0x5f1810(0xb8)][_0x5f1810(0xa2)][_0x5f1810(0xac)](_0x51e9c0[_0x5f1810(0xa3)]())),this[_0x5f1810(0x93)][_0x5f1810(0xb1)](_0x5f1810(0xb6))['to'](this[_0x5f1810(0xab)],_0x5f1810(0x9e),_0x128782=>_0x128782&&this[_0x5f1810(0xb8)][_0x5f1810(0xa2)][_0x5f1810(0xac)](_0x51e9c0[_0x5f1810(0xa3)]())),this[_0x5f1810(0x97)]=null,_0x3cfed3[_0x5f1810(0xaf)]&&this[_0x5f1810(0xa9)](),this[_0x5f1810(0xae)](_0x3cfed3,_0x5f1810(0x9a),()=>this[_0x5f1810(0x9a)]()),this[_0x5f1810(0xae)](_0x3cfed3,_0x5f1810(0x9f),()=>this[_0x5f1810(0x9f)]()),this[_0x5f1810(0xae)](_0x3cfed3,_0x5f1810(0x95),()=>{const _0x2aeef4=_0x5f1810;_0x3cfed3[_0x2aeef4(0xaf)]?this[_0x2aeef4(0xa9)]():this[_0x2aeef4(0xa5)]();});}[_0x3e11fa(0x9a)](){const _0x1c0e03=_0x3e11fa;this[_0x1c0e03(0xa6)][_0x1c0e03(0x94)](this[_0x1c0e03(0xa2)]['id']);}[_0x3e11fa(0x9f)](){const _0x1627a9=_0x3e11fa;this[_0x1627a9(0xab)][_0x1627a9(0x94)](this[_0x1627a9(0xa2)]['id']);}[_0x3e11fa(0x91)](){const _0x59a9d2=_0x3e11fa;this[_0x59a9d2(0x93)][_0x59a9d2(0xa7)](_0x59a9d2(0x9e)),this[_0x59a9d2(0x93)][_0x59a9d2(0xa7)](_0x59a9d2(0x99)),this[_0x59a9d2(0x93)][_0x59a9d2(0xa7)](_0x59a9d2(0xb6)),this[_0x59a9d2(0xaa)](),this[_0x59a9d2(0xb3)][_0x59a9d2(0x91)](),this[_0x59a9d2(0x97)]&&this[_0x59a9d2(0xa5)]();}[_0x3e11fa(0xa9)](){const _0xf173f4=_0x3e11fa,_0x334844=_0x35d8a8(this[_0xf173f4(0xb8)][_0xf173f4(0xb2)],_0xf173f4(0xb5));this[_0xf173f4(0x97)]=this[_0xf173f4(0xb8)][_0xf173f4(0x98)][_0xf173f4(0x96)](_0xf173f4(0x92))[_0xf173f4(0xad)](_0x334844);}[_0x3e11fa(0xa5)](){const _0x35047b=_0x3e11fa;null!==this[_0x35047b(0x97)]&&this[_0x35047b(0xb8)][_0x35047b(0x98)][_0x35047b(0x96)](_0x35047b(0x92))[_0x35047b(0xa4)](this[_0x35047b(0x97)]),this[_0x35047b(0x97)]=null;}}function _0x1e7e(){const _0x4a634e=['PENDING_ACTION_SUGGESTION','canDiscard','614566iBHgAs','_editor','6vCplIn','1704210zTPafD','destroy','PendingActions','view','execute','change:isDirty','get','_pendingAction','plugins','canAccept','acceptSuggestion','8GrJmtC','1363970AoLFZu','commands','isEnabled','discardSuggestion','1174026KtebFW','2149772bBlXIW','model','getRanges','remove','_removePendingAction','_acceptCommand','unbind','3746950rnEGxQ','_setPendingAction','stopListening','_discardCommand','canEditAt','add','listenTo','isDirty','1760931YElXsB','bind','locale','commentThreadController','1QbHAof'];_0x1e7e=function(){return _0x4a634e;};return _0x1e7e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x52bc(_0x1c565e,_0x5d6696){const _0x168122=_0x1681();return _0x52bc=function(_0x52bc76,_0x54f306){_0x52bc76=_0x52bc76-0x1d9;let _0x4b010a=_0x168122[_0x52bc76];return _0x4b010a;},_0x52bc(_0x1c565e,_0x5d6696);}const _0x24b376=_0x52bc;function _0x1681(){const _0x3aee61=['destroy','parseFromString','map','updateComment','isActive','isEnabled','4472230HxkNnX','delegate','257XGusbo','textContent','shift+tab','target','commentInputView','author','tab','showInput','render','element','SUGGESTION_THREAD_ARIA_LABEL','submit','ariaDescriptionView','726zQTzUn','content','set','join','SUGGESTION_THREAD_DESCRIPTION','_model','setData','9FaLFVg','isDirty','focusCycler','1238697kkJaSE','assign','commentThreadInputView','body','disabledSubmit','ariaLabel','canAccept','CommentView','fire','commentThread','length','removeComment','authoredAt','3026lNwtyI','commentsListView','1696905gyzhYi','disableComments','hasDirtyComment','_config','bind','6349IUgOPc','editorConfig','editor','addComment','_localUser','descriptionParts','formatDateTime','3031272RZySHw','value','text/html','keystrokes','_createCommentThreadInputView','name','focusTracker','focus','isReadOnly','1656796ZIGkME','locale','focusables','canDiscard','cancel','_createCommentViews'];_0x1681=function(){return _0x3aee61;};return _0x1681();}(function(_0x3d5dcd,_0x226ada){const _0x218ca2=_0x52bc,_0x157a6a=_0x3d5dcd();while(!![]){try{const _0x5aaf6e=parseInt(_0x218ca2(0x20e))/0x1*(-parseInt(_0x218ca2(0x1e9))/0x2)+parseInt(_0x218ca2(0x1dc))/0x3+parseInt(_0x218ca2(0x200))/0x4+-parseInt(_0x218ca2(0x1eb))/0x5+-parseInt(_0x218ca2(0x21b))/0x6*(-parseInt(_0x218ca2(0x1f0))/0x7)+-parseInt(_0x218ca2(0x1f7))/0x8*(parseInt(_0x218ca2(0x1d9))/0x9)+parseInt(_0x218ca2(0x20c))/0xa;if(_0x5aaf6e===_0x226ada)break;else _0x157a6a['push'](_0x157a6a['shift']());}catch(_0x12b148){_0x157a6a['push'](_0x157a6a['shift']());}}}(_0x1681,0x439c9));import{FocusCycler as _0x3b6956,View as _0x3dec7c,ViewCollection as _0x10e7b9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2959c7,KeystrokeHandler as _0x3fc47e}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x5b6093,setupThreadKeyboardNavigation as _0x6b594e}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4cdc91}from'../../utils/common-translations.js';import{renderDescription as _0x1a8a06}from'../../utils/utils.js';export default class ms extends _0x3dec7c{constructor(_0x539236,_0x2b672f,_0x45769a,_0x22f24e){const _0x4ed93d=_0x52bc;super(_0x539236),this[_0x4ed93d(0x1ea)]=null,this[_0x4ed93d(0x1de)]=null,this[_0x4ed93d(0x21a)]=new _0x5b6093(_0x539236,_0x4cdc91(_0x539236,_0x4ed93d(0x21f))),this[_0x4ed93d(0x21d)](_0x4ed93d(0x20a),!0x1),this[_0x4ed93d(0x21d)](_0x4ed93d(0x1e8),_0x2b672f[_0x4ed93d(0x1e8)]),this[_0x4ed93d(0x1ef)](_0x4ed93d(0x1e8))['to'](_0x2b672f),this[_0x4ed93d(0x21d)](_0x4ed93d(0x1f5),[]),this[_0x4ed93d(0x21d)](_0x4ed93d(0x1da),!0x1),this[_0x4ed93d(0x21d)](_0x4ed93d(0x20b),!0x1),this[_0x4ed93d(0x21d)](_0x4ed93d(0x1e2),!0x1),this[_0x4ed93d(0x21d)](_0x4ed93d(0x203),!0x1),this[_0x4ed93d(0x1ef)](_0x4ed93d(0x1e1))['to'](this,_0x4ed93d(0x1e6),_0x2b672f,_0x4ed93d(0x1e8),this,_0x4ed93d(0x1f5),(_0x3b4a88,_0x1c2dbf,_0x560783)=>{const _0x26d255=_0x4ed93d,_0x128ed5=_0x560783[_0x26d255(0x208)](_0x2b242b=>_0x1a8a06(_0x2b242b[_0x26d255(0x21c)]))[_0x26d255(0x21e)]('.\x20')+'.';return _0x4cdc91(this[_0x26d255(0x201)],_0x26d255(0x218),[_0x3b4a88-0x1,_0x2b672f[_0x26d255(0x213)][_0x26d255(0x1fc)],_0x1c2dbf?_0x22f24e[_0x26d255(0x1f6)](_0x1c2dbf):'',new DOMParser()[_0x26d255(0x207)](_0x128ed5,_0x26d255(0x1f9))[_0x26d255(0x1df)][_0x26d255(0x20f)]]);}),this[_0x4ed93d(0x202)]=new _0x10e7b9(),this[_0x4ed93d(0x1fd)]=new _0x2959c7(),this[_0x4ed93d(0x1fa)]=new _0x3fc47e(),this[_0x4ed93d(0x1db)]=new _0x3b6956({'focusables':this[_0x4ed93d(0x202)],'focusTracker':this[_0x4ed93d(0x1fd)],'keystrokeHandler':this[_0x4ed93d(0x1fa)],'keystrokeHandlerOptions':{'filter':_0x4856f7=>_0x4856f7[_0x4ed93d(0x211)]!==this[_0x4ed93d(0x217)]},'actions':{'focusPrevious':_0x4ed93d(0x210),'focusNext':_0x4ed93d(0x214)}}),this[_0x4ed93d(0x220)]=_0x2b672f,this[_0x4ed93d(0x1f4)]=_0x45769a,this[_0x4ed93d(0x1ee)]=_0x22f24e,_0x22f24e[_0x4ed93d(0x1ec)]?this[_0x4ed93d(0x21d)](_0x4ed93d(0x1e6),0x1):this[_0x4ed93d(0x205)]();}[_0x24b376(0x216)](){const _0x18ea47=_0x24b376;super[_0x18ea47(0x216)](),_0x6b594e(this,this[_0x18ea47(0x202)]);}[_0x24b376(0x1fe)](){const _0x4c0d5f=_0x24b376;this[_0x4c0d5f(0x217)][_0x4c0d5f(0x1fe)]();}[_0x24b376(0x206)](){const _0x58f211=_0x24b376;this[_0x58f211(0x1ea)]&&this[_0x58f211(0x1ea)][_0x58f211(0x206)](),this[_0x58f211(0x1de)]&&this[_0x58f211(0x1de)][_0x58f211(0x206)](),super[_0x58f211(0x206)]();}[_0x24b376(0x205)](){const _0x21fd78=_0x24b376,{CommentsListView:_0x1fdf39}=this[_0x21fd78(0x1ee)];this[_0x21fd78(0x1ea)]=new _0x1fdf39(this[_0x21fd78(0x201)],this[_0x21fd78(0x220)][_0x21fd78(0x1e5)],Object[_0x21fd78(0x1dd)]({'CommentView':this[_0x21fd78(0x1ee)][_0x21fd78(0x1e3)]},this[_0x21fd78(0x1ee)])),this[_0x21fd78(0x1ea)][_0x21fd78(0x20d)](_0x21fd78(0x1e7))['to'](this),this[_0x21fd78(0x1ea)][_0x21fd78(0x20d)](_0x21fd78(0x209))['to'](this),this[_0x21fd78(0x1ea)][_0x21fd78(0x1ef)](_0x21fd78(0x20a))['to'](this),this[_0x21fd78(0x21d)](_0x21fd78(0x1e6),this[_0x21fd78(0x1ea)][_0x21fd78(0x1e6)]+0x1),this[_0x21fd78(0x1ef)](_0x21fd78(0x1e6))['to'](this[_0x21fd78(0x1ea)],_0x21fd78(0x1e6),_0x5689f1=>_0x5689f1+0x1),this[_0x21fd78(0x1de)]=this[_0x21fd78(0x1fb)](),this['on'](_0x21fd78(0x1e7),()=>this[_0x21fd78(0x1fe)]()),this[_0x21fd78(0x1ef)](_0x21fd78(0x1da))['to'](this[_0x21fd78(0x1ea)],_0x21fd78(0x1ed),this[_0x21fd78(0x1de)][_0x21fd78(0x212)],_0x21fd78(0x1f8),(_0x5c05b8,_0x2ba9f1)=>_0x5c05b8||!!_0x2ba9f1);}[_0x24b376(0x1fb)](){const _0x29e59a=_0x24b376,{CommentThreadInputView:_0x31b40b}=this[_0x29e59a(0x1ee)],_0x110ad0=new _0x31b40b(this[_0x29e59a(0x201)],this[_0x29e59a(0x1f4)],this[_0x29e59a(0x1ee)][_0x29e59a(0x1f1)]),_0x336a02=_0x110ad0[_0x29e59a(0x212)];return _0x110ad0[_0x29e59a(0x1ef)](_0x29e59a(0x215))['to'](this,_0x29e59a(0x20a),this[_0x29e59a(0x220)][_0x29e59a(0x1e5)],_0x29e59a(0x1ff),_0x336a02,_0x29e59a(0x1f8),(_0x3f6e6a,_0x3eb691,_0x24470c)=>!!_0x24470c||_0x3f6e6a&&!_0x3eb691),_0x336a02['on'](_0x29e59a(0x219),(_0x20ade7,_0x1c5898)=>{const _0x5420d8=_0x29e59a;this[_0x5420d8(0x1e4)](_0x5420d8(0x1f3),_0x1c5898),_0x336a02[_0x5420d8(0x1f2)][_0x5420d8(0x221)]('');}),_0x336a02['on'](_0x29e59a(0x204),()=>this[_0x29e59a(0x1fe)]()),_0x336a02[_0x29e59a(0x1ef)](_0x29e59a(0x1e0))['to'](this[_0x29e59a(0x220)][_0x29e59a(0x1e5)],_0x29e59a(0x1ff)),_0x110ad0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b00fe=_0x27c0;(function(_0x545f41,_0x4314b4){const _0x283369=_0x27c0,_0x52285e=_0x545f41();while(!![]){try{const _0x525e8a=parseInt(_0x283369(0xb7))/0x1*(-parseInt(_0x283369(0xe0))/0x2)+parseInt(_0x283369(0xcc))/0x3+-parseInt(_0x283369(0xd6))/0x4*(-parseInt(_0x283369(0xd2))/0x5)+-parseInt(_0x283369(0xc5))/0x6+-parseInt(_0x283369(0xd0))/0x7+-parseInt(_0x283369(0xc1))/0x8+parseInt(_0x283369(0xd8))/0x9*(parseInt(_0x283369(0xea))/0xa);if(_0x525e8a===_0x4314b4)break;else _0x52285e['push'](_0x52285e['shift']());}catch(_0x522159){_0x52285e['push'](_0x52285e['shift']());}}}(_0x2b82,0x6fd72));function _0x27c0(_0x14e1be,_0x17c35b){const _0x2b821d=_0x2b82();return _0x27c0=function(_0x27c096,_0x22a5fe){_0x27c096=_0x27c096-0xb7;let _0x30b194=_0x2b821d[_0x27c096];return _0x30b194;},_0x27c0(_0x14e1be,_0x17c35b);}import{default as _0x3c297d}from'./basesuggestionthreadview.js';import{trimHtml as _0x17e3d2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2b82(){const _0x471226=['68280LtiSiJ','descriptionParts','<p>','acceptSuggestion','div','ariaLabel','acceptButton','680418KtfKpW','ck-suggestion-wrapper','add','</p>','994574BNFDOP','commentThread','45eglzwP','listitem','discardButton','push','390072aMSzrX','description','9pVemmq','discardSuggestion','_config','setTemplate','canDiscard','_descriptionElement','author','suggestionView','104242sKWqsO','getTemplate','ck-suggestion-wrapper--active','render','ck-suggestion--disabled-comments','editorReady','commentThreadInputView','color','ariaDescriptionView','_model','3857830xCnQIb','commentsListView','isEnabled','disableComments','content','canAccept','5Adcssd','delegate','bind','ck-suggestion-','SuggestionView','focusables','set','editorDestroyed','type','ck-rounded-corners','4944688gxkyoG','bindTemplate','formatDateTime','isActive'];_0x2b82=function(){return _0x471226;};return _0x2b82();}import{renderDescription as _0x1846ed}from'../../utils/utils.js';export default class pe extends _0x3c297d{constructor(_0xe23c70,_0x25b2ce,_0x198793,_0x5c927d){const _0x25b1ab=_0x27c0;super(_0xe23c70,_0x25b2ce,_0x198793,_0x5c927d),this[_0x25b1ab(0xbd)](_0x25b1ab(0xbf),''),this[_0x25b1ab(0xb9)](_0x25b1ab(0xbf))['to'](this,_0x25b1ab(0xc6),_0x566bdc=>_0x566bdc&&_0x566bdc[0x0]?_0x566bdc[0x0][_0x25b1ab(0xbf)]:''),this[_0x25b1ab(0xb9)](_0x25b1ab(0xd7))['to'](this,_0x25b1ab(0xc6),this,_0x25b1ab(0xc4),(_0x2c1b76,_0x251d58)=>{const _0x5af517=_0x25b1ab;let _0x413731='';for(const _0x5331d6 of _0x2c1b76)_0x413731+=_0x5af517(0xc7)+_0x1846ed(_0x5331d6[_0x5af517(0xee)],_0x5331d6[_0x5af517(0xe7)])+_0x5af517(0xcf);return _0x251d58?_0x413731:_0x17e3d2(_0x413731,{'limit':0x8c});}),this[_0x25b1ab(0xdd)]=null,this[_0x25b1ab(0xdf)]=new _0x5c927d[(_0x25b1ab(0xbb))](_0xe23c70,_0x25b2ce,{'formatDateTime':_0x5c927d[_0x25b1ab(0xc3)]}),this[_0x25b1ab(0xdf)][_0x25b1ab(0xb9)](_0x25b1ab(0xd7))['to'](this),this[_0x25b1ab(0xdf)][_0x25b1ab(0xb8)](_0x25b1ab(0xc8),_0x25b1ab(0xd9))['to'](this),this[_0x25b1ab(0xdf)][_0x25b1ab(0xcb)][_0x25b1ab(0xb9)](_0x25b1ab(0xec))['to'](this,_0x25b1ab(0xef)),this[_0x25b1ab(0xdf)][_0x25b1ab(0xd4)][_0x25b1ab(0xb9)](_0x25b1ab(0xec))['to'](this,_0x25b1ab(0xdc)),this[_0x25b1ab(0xbc)][_0x25b1ab(0xce)](this[_0x25b1ab(0xdf)]),this[_0x25b1ab(0xeb)]&&this[_0x25b1ab(0xbc)][_0x25b1ab(0xce)](this[_0x25b1ab(0xeb)]),this[_0x25b1ab(0xe6)]&&this[_0x25b1ab(0xbc)][_0x25b1ab(0xce)](this[_0x25b1ab(0xe6)]),this[_0x25b1ab(0xdb)](this[_0x25b1ab(0xe1)]());}[_0x5b00fe(0xe1)](){const _0x3fc154=_0x5b00fe,_0x59e514=this[_0x3fc154(0xc2)],_0x1daa36=[this[_0x3fc154(0xdf)]];return this[_0x3fc154(0xeb)]&&_0x1daa36[_0x3fc154(0xd5)](this[_0x3fc154(0xeb)]),this[_0x3fc154(0xe6)]&&_0x1daa36[_0x3fc154(0xd5)](this[_0x3fc154(0xe6)]),_0x1daa36[_0x3fc154(0xd5)](this[_0x3fc154(0xe8)]),{'tag':_0x3fc154(0xc9),'attributes':{'class':['ck',_0x3fc154(0xc0),_0x3fc154(0xcd),_0x59e514['if'](_0x3fc154(0xc4),_0x3fc154(0xe2)),_0x59e514['to'](_0x3fc154(0xbf),_0x2d13a5=>_0x3fc154(0xba)+_0x2d13a5),this[_0x3fc154(0xda)][_0x3fc154(0xed)]&&_0x3fc154(0xe4)],'data-suggestion-id':this[_0x3fc154(0xe9)]['id'],'data-thread-id':this[_0x3fc154(0xe9)][_0x3fc154(0xd1)]['id'],'data-author-id':this[_0x3fc154(0xe9)][_0x3fc154(0xde)]['id'],'tabindex':0x0,'role':_0x3fc154(0xd3),'aria-label':_0x59e514['to'](_0x3fc154(0xca)),'aria-describedby':this[_0x3fc154(0xe8)]['id']},'children':_0x1daa36};}[_0x5b00fe(0xe3)](){const _0x1022a4=_0x5b00fe;super[_0x1022a4(0xe3)](),this[_0x1022a4(0xeb)]&&(this[_0x1022a4(0xeb)][_0x1022a4(0xb8)](_0x1022a4(0xe5))['to'](this),this[_0x1022a4(0xeb)][_0x1022a4(0xb8)](_0x1022a4(0xbe))['to'](this)),this[_0x1022a4(0xe6)]&&(this[_0x1022a4(0xe6)][_0x1022a4(0xb8)](_0x1022a4(0xe5))['to'](this),this[_0x1022a4(0xe6)][_0x1022a4(0xb8)](_0x1022a4(0xbe))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x472041=_0x3479;(function(_0x5978b2,_0xd15fa5){const _0x2d106d=_0x3479,_0x122996=_0x5978b2();while(!![]){try{const _0x42e722=-parseInt(_0x2d106d(0x1dc))/0x1*(-parseInt(_0x2d106d(0x188))/0x2)+-parseInt(_0x2d106d(0x192))/0x3*(parseInt(_0x2d106d(0x1d7))/0x4)+parseInt(_0x2d106d(0x1b3))/0x5+-parseInt(_0x2d106d(0x1d4))/0x6+-parseInt(_0x2d106d(0x189))/0x7+parseInt(_0x2d106d(0x19b))/0x8+-parseInt(_0x2d106d(0x1d6))/0x9*(parseInt(_0x2d106d(0x194))/0xa);if(_0x42e722===_0xd15fa5)break;else _0x122996['push'](_0x122996['shift']());}catch(_0x5583d9){_0x122996['push'](_0x122996['shift']());}}}(_0x38eb,0x8d6c0));function _0x3479(_0x567dc8,_0x254ee2){const _0x38eb46=_0x38eb();return _0x3479=function(_0x347903,_0x335b56){_0x347903=_0x347903-0x184;let _0x31211b=_0x38eb46[_0x347903];return _0x31211b;},_0x3479(_0x567dc8,_0x254ee2);}import{FocusTracker as _0x366f7c,KeystrokeHandler as _0x56c568}from'ckeditor5/src/utils.js';function _0x38eb(){const _0x1ce87d=['1146327BkpOql','ck-suggestion','ck-annotation__actions','add','formatDateTime','ck-annotation__content-wrapper','enter','attributes','keystrokes','159lglplD','span','10LVltNU','discardButton','@external','.ck-annotation__content-wrapper','target','name','description','3436048PrNgci','bindTemplate','check','EXTERNAL_AVATAR','shift+tab','ck-comment__info-time','ck-annotation__main','fire','ck-suggestion__actions','setTemplate','push','ck-annotation__user','acceptSuggestion','userView','authoredAt','acceptButton','execute','ck-comment__external','focusables','Accept\x20suggestion','presentation','querySelector','isExternal','ck-suggestion__main','5554490jegrCC','EXTERNAL_IMPORT_WORD_AVATAR','focusCycler','ck-annotation__info-name','getExternalSuggestionNote','importWord','EXTERNAL_IMPORT_WORD_SUGGESTION','_config','ck-annotation','getTemplate','creator','bind','ck-annotation__info','source','author','listenTo','ck-suggestion__user','locale','focusFirst','extendTemplate','set','ck-annotation__info-time','time','Discard\x20suggestion','focus','discardSuggestion','esc','cancel','ck-suggestion__info-name','getUserViewNotificationText','_model','focusTracker','ck-suggestion--discard','4691874jmiifF','change:description','745623WHxtyE','5552vTgeKp','innerHTML','ck-suggestion--accept','EXTERNAL_SUGGESTION','_setupKeyboardNavigation','141011biCJcx','ck-suggestion__info','_createButton','element','div','render','tab','2lxPeua'];_0x38eb=function(){return _0x1ce87d;};return _0x38eb();}import{View as _0x19e64f,ViewCollection as _0x2c2e10,FocusCycler as _0x3efc27}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x30d7b1,UserView as _0x3db686}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x7f73e8}from'ckeditor5/src/core.js';import{getTranslation as _0x20750a}from'../../utils/common-translations.js';export default class fe extends _0x19e64f{constructor(_0x4be02f,_0x2d0510,_0xc34b31){const _0x1d2fc3=_0x3479;super(_0x4be02f),this[_0x1d2fc3(0x1d1)]=_0x2d0510,this[_0x1d2fc3(0x1ba)]=_0xc34b31,this[_0x1d2fc3(0x1c7)](_0x1d2fc3(0x19a),''),this[_0x1d2fc3(0x1be)](_0x1d2fc3(0x1a9))['to'](_0x2d0510),this[_0x1d2fc3(0x1aa)]=this[_0x1d2fc3(0x1de)](_0x20750a(_0x4be02f,_0x1d2fc3(0x1ae)),_0x7f73e8[_0x1d2fc3(0x19d)],_0x1d2fc3(0x1d9),_0x1d2fc3(0x1a7),'sw'),this[_0x1d2fc3(0x195)]=this[_0x1d2fc3(0x1de)](_0x20750a(_0x4be02f,_0x1d2fc3(0x1ca)),_0x7f73e8[_0x1d2fc3(0x1ce)],_0x1d2fc3(0x1d3),_0x1d2fc3(0x1cc),'sw'),this[_0x1d2fc3(0x1a8)]=new _0x3db686(_0x4be02f,_0x2d0510[_0x1d2fc3(0x1c1)],this[_0x1d2fc3(0x1d0)]()),this[_0x1d2fc3(0x1a8)][_0x1d2fc3(0x1c6)]({'attributes':{'class':[_0x1d2fc3(0x1c3),_0x1d2fc3(0x1a6)],'aria-hidden':!0x0}}),this[_0x1d2fc3(0x1ad)]=new _0x2c2e10([this[_0x1d2fc3(0x1aa)],this[_0x1d2fc3(0x195)]]),this[_0x1d2fc3(0x1d2)]=new _0x366f7c(),this[_0x1d2fc3(0x191)]=new _0x56c568(),this[_0x1d2fc3(0x1b5)]=new _0x3efc27({'focusables':this[_0x1d2fc3(0x1ad)],'focusTracker':this[_0x1d2fc3(0x1d2)],'keystrokeHandler':this[_0x1d2fc3(0x191)],'actions':{'focusPrevious':_0x1d2fc3(0x19f),'focusNext':_0x1d2fc3(0x187)},'keystrokeHandlerOptions':{'filter':_0x337c17=>_0x337c17[_0x1d2fc3(0x198)]!==this[_0x1d2fc3(0x184)]}}),this[_0x1d2fc3(0x1a4)](this[_0x1d2fc3(0x1bc)]());}[_0x472041(0x186)](){const _0xee2d22=_0x472041;super[_0xee2d22(0x186)]();const _0xfcc6fc=this[_0xee2d22(0x184)][_0xee2d22(0x1b0)](_0xee2d22(0x197));_0xfcc6fc[_0xee2d22(0x1d8)]=this[_0xee2d22(0x19a)],this['on'](_0xee2d22(0x1d5),(_0x530f5c,_0x3e0135,_0x288ad1)=>{const _0x5f1193=_0xee2d22;_0xfcc6fc[_0x5f1193(0x1d8)]=_0x288ad1;}),this[_0xee2d22(0x1db)]();}[_0x472041(0x1bc)](){const _0x1a265e=_0x472041,_0x4eb18b=this[_0x1a265e(0x19c)],_0x4bc59f=[{'tag':_0x1a265e(0x185),'attributes':{'class':[_0x1a265e(0x1dd),_0x1a265e(0x1bf)]},'children':[{'tag':_0x1a265e(0x193),'children':[{'text':this[_0x1a265e(0x1a8)][_0x1a265e(0x199)]}],'attributes':{'class':[_0x1a265e(0x1cf),_0x1a265e(0x1b6)],'data-cke-tooltip-text':this[_0x1a265e(0x1a8)][_0x1a265e(0x199)]}},{'tag':_0x1a265e(0x1c9),'attributes':{'datetime':_0x4eb18b['to'](_0x1a265e(0x1a9)),'class':[_0x1a265e(0x1a0),_0x1a265e(0x1c8)]},'children':[{'text':_0x4eb18b['to'](_0x1a265e(0x1a9),_0x339685=>this[_0x1a265e(0x1ba)][_0x1a265e(0x18d)](_0x339685))}]}]},{'tag':_0x1a265e(0x185),'attributes':{'class':[_0x1a265e(0x1a3),_0x1a265e(0x18b)]},'children':[this[_0x1a265e(0x1aa)],this[_0x1a265e(0x195)]]},{'tag':_0x1a265e(0x185),'attributes':{'class':[_0x1a265e(0x18e)]}}];return this[_0x1a265e(0x1d1)][_0x1a265e(0x1b1)]&&_0x4bc59f[_0x1a265e(0x1a5)]({'tag':_0x1a265e(0x185),'attributes':{'class':[_0x1a265e(0x1ac)]},'children':[{'text':this[_0x1a265e(0x1b7)]()}]}),{'tag':_0x1a265e(0x185),'attributes':{'class':[_0x1a265e(0x18a),_0x1a265e(0x1bb)],'tabindex':-0x1},'children':[this[_0x1a265e(0x1a8)],{'tag':_0x1a265e(0x185),'attributes':{'class':[_0x1a265e(0x1b2),_0x1a265e(0x1a1)],'role':_0x1a265e(0x1af)},'children':_0x4bc59f}]};}[_0x472041(0x1cb)](){const _0x53b015=_0x472041;this[_0x53b015(0x184)][_0x53b015(0x1cb)]();}[_0x472041(0x1d0)](){const _0x1ffc9e=_0x472041;return this[_0x1ffc9e(0x1d1)][_0x1ffc9e(0x1b1)]?_0x1ffc9e(0x1b8)===this[_0x1ffc9e(0x1d1)][_0x1ffc9e(0x190)][_0x1ffc9e(0x196)][_0x1ffc9e(0x1c0)]?_0x20750a(this[_0x1ffc9e(0x1c4)],_0x1ffc9e(0x1b4),this[_0x1ffc9e(0x1d1)][_0x1ffc9e(0x1bd)][_0x1ffc9e(0x199)]):_0x20750a(this[_0x1ffc9e(0x1c4)],_0x1ffc9e(0x19e),this[_0x1ffc9e(0x1d1)][_0x1ffc9e(0x1bd)][_0x1ffc9e(0x199)]):null;}[_0x472041(0x1b7)](){const _0x32e7ee=_0x472041;return _0x32e7ee(0x1b8)===this[_0x32e7ee(0x1d1)][_0x32e7ee(0x190)][_0x32e7ee(0x196)][_0x32e7ee(0x1c0)]?_0x20750a(this[_0x32e7ee(0x1c4)],_0x32e7ee(0x1b9)):_0x20750a(this[_0x32e7ee(0x1c4)],_0x32e7ee(0x1da));}[_0x472041(0x1de)](_0x42c118,_0x2f1fb9,_0x3bcd44,_0x248402,_0x369b1f){const _0x22b15a=_0x472041,_0x819007=new _0x30d7b1(this[_0x22b15a(0x1c4)]);return _0x819007[_0x22b15a(0x1c7)]({'label':_0x42c118,'icon':_0x2f1fb9,'tooltip':!0x0,'tooltipPosition':_0x369b1f}),_0x819007[_0x22b15a(0x1c6)]({'attributes':{'class':_0x3bcd44}}),_0x819007['on'](_0x22b15a(0x1ab),()=>{const _0x4ae531=_0x22b15a;this[_0x4ae531(0x1a2)](_0x248402,this[_0x4ae531(0x1d1)]['id']);}),_0x819007;}[_0x472041(0x1db)](){const _0x318a9d=_0x472041,_0x161adf=this[_0x318a9d(0x184)];this[_0x318a9d(0x191)][_0x318a9d(0x1c2)](_0x161adf);for(const _0x11de61 of this[_0x318a9d(0x1ad)])this[_0x318a9d(0x1d2)][_0x318a9d(0x18c)](_0x11de61[_0x318a9d(0x184)]),this[_0x318a9d(0x191)][_0x318a9d(0x1c2)](_0x11de61[_0x318a9d(0x184)]);this[_0x318a9d(0x191)][_0x318a9d(0x1c7)](_0x318a9d(0x18f),(_0x1d56ce,_0xeaa4f8)=>{const _0x11c948=_0x318a9d;_0x161adf===_0x1d56ce[_0x11c948(0x198)]&&(this[_0x11c948(0x1b5)][_0x11c948(0x1c5)](),_0xeaa4f8());}),this[_0x318a9d(0x191)][_0x318a9d(0x1c7)](_0x318a9d(0x1cd),(_0x2ec05d,_0x156907)=>{const _0x595df2=_0x318a9d;_0x161adf!==_0x2ec05d[_0x595df2(0x198)]&&(this[_0x595df2(0x1cb)](),_0x156907());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x37d3(_0x30785d,_0x34af3c){const _0x44bd31=_0x44bd();return _0x37d3=function(_0x37d310,_0x53be18){_0x37d310=_0x37d310-0xca;let _0xa587a4=_0x44bd31[_0x37d310];return _0xa587a4;},_0x37d3(_0x30785d,_0x34af3c);}const _0x2c798a=_0x37d3;(function(_0x1c36d8,_0x3d802f){const _0x4639f9=_0x37d3,_0x2d9628=_0x1c36d8();while(!![]){try{const _0x21d7ef=parseInt(_0x4639f9(0xe3))/0x1+-parseInt(_0x4639f9(0xe0))/0x2+parseInt(_0x4639f9(0xda))/0x3*(parseInt(_0x4639f9(0xd7))/0x4)+-parseInt(_0x4639f9(0xdb))/0x5+-parseInt(_0x4639f9(0xe5))/0x6*(parseInt(_0x4639f9(0xd0))/0x7)+parseInt(_0x4639f9(0xd1))/0x8*(-parseInt(_0x4639f9(0xeb))/0x9)+parseInt(_0x4639f9(0xe2))/0xa*(parseInt(_0x4639f9(0xec))/0xb);if(_0x21d7ef===_0x3d802f)break;else _0x2d9628['push'](_0x2d9628['shift']());}catch(_0x4b9d5a){_0x2d9628['push'](_0x2d9628['shift']());}}}(_0x44bd,0xecf88));import{View as _0x2716ff}from'ckeditor5/src/ui.js';function _0x44bd(){const _0x3df1a2=['innerHTML','className','9gkwQoC','55lAfxRa','div','classes','createElement','fire','focus','options','63wMTlwP','12530432HArTcS','data-ck-root-name','previewDataReady','content','setAttribute','height','91964RcLaVT','ck-reset','element','213mcUzkO','8674015rdQRhZ','style','push','render','setTemplate','1453750ieENkx','setPreviewData','7243010rdnpYf','1333761sADLii','\x20ck-track-changes-preview__root-container','1059342SruxRS','dialogRects','ck-track-changes-preview','width'];_0x44bd=function(){return _0x3df1a2;};return _0x44bd();}export default class Me extends _0x2716ff{constructor(_0x864246,_0x1ec795){const _0xc77b4c=_0x37d3;super(_0x864246),this[_0xc77b4c(0xcf)]=_0x1ec795,this[_0xc77b4c(0xdf)]({'tag':_0xc77b4c(0xca),'attributes':{'class':['ck',_0xc77b4c(0xd8),_0xc77b4c(0xe7)],'tabindex':-0x1}});}[_0x2c798a(0xde)](){const _0x164f2b=_0x2c798a;super[_0x164f2b(0xde)](),this[_0x164f2b(0xd9)][_0x164f2b(0xdc)][_0x164f2b(0xe8)]=this[_0x164f2b(0xcf)][_0x164f2b(0xe6)][_0x164f2b(0xe8)]+'px',this[_0x164f2b(0xd9)][_0x164f2b(0xdc)][_0x164f2b(0xd6)]=this[_0x164f2b(0xcf)][_0x164f2b(0xe6)][_0x164f2b(0xd6)]+'px';}[_0x2c798a(0xe1)](_0x5b85e7,_0x1faacf){const _0x46d9e6=_0x2c798a;if(!this[_0x46d9e6(0xd9)])return;const _0x505fd5=[];for(const [_0x17f468,_0x1438ff]of _0x5b85e7){const _0x1d136f=document[_0x46d9e6(0xcc)](_0x46d9e6(0xca));_0x1d136f[_0x46d9e6(0xd5)](_0x46d9e6(0xd2),_0x17f468),_0x1d136f[_0x46d9e6(0xea)]=_0x1438ff[_0x46d9e6(0xcb)]+_0x46d9e6(0xe4),_0x1d136f[_0x46d9e6(0xe9)]=_0x1438ff[_0x46d9e6(0xd4)],_0x505fd5[_0x46d9e6(0xdd)](_0x1d136f);}_0x1faacf(this[_0x46d9e6(0xd9)],_0x505fd5),this[_0x46d9e6(0xd9)][_0x46d9e6(0xdc)][_0x46d9e6(0xd6)]='',this[_0x46d9e6(0xcd)](_0x46d9e6(0xd3));}[_0x2c798a(0xce)](){const _0x2cc83e=_0x2c798a;this[_0x2cc83e(0xd9)][_0x2cc83e(0xce)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x39691c,_0x4a1fca,_0x2a5fd2){const _0x363ca1=_0x39691c['t'],t=_0x39691c['t'];switch(_0x4a1fca){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',_0x2a5fd2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2a5fd2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2a5fd2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2a5fd2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2a5fd2);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',_0x2a5fd2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2a5fd2);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',_0x2a5fd2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2a5fd2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2a5fd2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2a5fd2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2a5fd2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2a5fd2);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2a5fd2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2a5fd2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2a5fd2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2a5fd2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2a5fd2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2a5fd2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2a5fd2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2a5fd2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2a5fd2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2a5fd2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2a5fd2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2a5fd2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2a5fd2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2a5fd2);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'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2a5fd2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2a5fd2);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 _0x363ca1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2a5fd2);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x363ca1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2a5fd2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2a5fd2);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'},_0x2a5fd2);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'},_0x2a5fd2);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'},_0x2a5fd2);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4a1fca;}}
|
|
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;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xffe0(_0x1707d9,_0x387b37){const _0x387c21=_0x387c();return _0xffe0=function(_0xffe018,_0x18162b){_0xffe018=_0xffe018-0x1c7;let _0x5604a2=_0x387c21[_0xffe018];return _0x5604a2;},_0xffe0(_0x1707d9,_0x387b37);}(function(_0x4a5808,_0x5b3efe){const _0xbb3c15=_0xffe0,_0x1b658b=_0x4a5808();while(!![]){try{const _0x2370ff=parseInt(_0xbb3c15(0x1fd))/0x1*(parseInt(_0xbb3c15(0x1ea))/0x2)+parseInt(_0xbb3c15(0x1cc))/0x3*(-parseInt(_0xbb3c15(0x1d2))/0x4)+parseInt(_0xbb3c15(0x1d5))/0x5+parseInt(_0xbb3c15(0x1f2))/0x6*(parseInt(_0xbb3c15(0x1e8))/0x7)+-parseInt(_0xbb3c15(0x1d0))/0x8*(parseInt(_0xbb3c15(0x1fe))/0x9)+parseInt(_0xbb3c15(0x1d6))/0xa*(parseInt(_0xbb3c15(0x1f6))/0xb)+-parseInt(_0xbb3c15(0x1dc))/0xc*(-parseInt(_0xbb3c15(0x1f0))/0xd);if(_0x2370ff===_0x5b3efe)break;else _0x1b658b['push'](_0x1b658b['shift']());}catch(_0x5ddf18){_0x1b658b['push'](_0x1b658b['shift']());}}}(_0x387c,0xe18b3));export function normalizeDescription(_0x4b67ee){const _0x22b90b=_0xffe0;return Array[_0x22b90b(0x1c8)](_0x4b67ee)||(_0x4b67ee=[_0x4b67ee]),_0x4b67ee[_0x22b90b(0x1cd)](_0x1ab4cc=>{const _0x17ea6e=_0x22b90b,_0x54b69e=_0x1ab4cc[_0x17ea6e(0x1ce)][_0x17ea6e(0x1ee)](/\*/g,''),_0x208aa2=_0x1ab4cc[_0x17ea6e(0x1fa)]?_0x17ea6e(0x1f5)+_0x1ab4cc[_0x17ea6e(0x1fa)][_0x17ea6e(0x1e9)]+']':'';return'['+_0x1ab4cc[_0x17ea6e(0x1de)]+']\x20'+_0x54b69e+_0x208aa2;})[_0x22b90b(0x1e3)](';\x20');}export function renderDescription(_0x36eec8,_0x57ce4d){const _0x1e7bb4=_0xffe0;let _0x5157dd='';return _0x5157dd+=_0x36eec8[_0x1e7bb4(0x1f4)]('*')[_0x1e7bb4(0x1cd)]((_0x5d47a2,_0x2a4769)=>_0x2a4769%0x2!=0x0?_0x1e7bb4(0x1e6)+nn(_0x5d47a2)+_0x1e7bb4(0x1e0):nn(_0x5d47a2))[_0x1e7bb4(0x1e3)](''),_0x57ce4d&&(_0x5157dd+=_0x1e7bb4(0x1e4)+_0x57ce4d[_0x1e7bb4(0x1e9)]+_0x1e7bb4(0x1dd)+_0x57ce4d[_0x1e7bb4(0x1f3)]+_0x1e7bb4(0x1f7)),_0x5157dd;}function _0x387c(){const _0x13b7d1=['228EDuoLD','\x22\x20title=\x22','type','isIntersecting','</span>','createRange','end','join','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','from','<span\x20class=\x22ck-suggestion-type\x22>','createPositionBefore','7qTtOOk','value','970bsYqkp','createElement','createPositionAt','add','replace','change','1112852zhXcxR','isTouching','5786604hjYVBF','title','split','\x20[color\x20','11sfSYke','\x22></span>','createPositionAfter','sort','color','getRanges','isCollapsed','229IbTyIf','1053rbpRnA','isMultiRange','schema','isArray','isObject','execute','splice','3oAYAfJ','map','content','deletion','89448UKkwpA','isInContent','6306908xvMfgg','start','next','1271210OUHZyU','8525140bQGOtB','push','length','span','innerHTML','innerText'];_0x387c=function(){return _0x13b7d1;};return _0x387c();}function nn(_0x132184){const _0x765c9d=_0xffe0,_0x12373d=document[_0x765c9d(0x1eb)](_0x765c9d(0x1d9));return _0x12373d[_0x765c9d(0x1db)]=_0x132184,_0x12373d[_0x765c9d(0x1da)];}export function sortSuggestions(_0x5d5216){const _0x57d9d4=_0xffe0;return _0x5d5216[_0x57d9d4(0x1f9)]((_0x4d53fd,_0x5ba480)=>_0x57d9d4(0x1cf)==_0x4d53fd[_0x57d9d4(0x1de)]&&_0x57d9d4(0x1cf)!=_0x5ba480[_0x57d9d4(0x1de)]?-0x1:_0x57d9d4(0x1cf)!=_0x4d53fd[_0x57d9d4(0x1de)]&&_0x57d9d4(0x1cf)==_0x5ba480[_0x57d9d4(0x1de)]?0x1:0x0);}export function getSelectedSuggestions(_0x68f65b,_0x5ceffa){const _0xe639e5=_0xffe0,_0x5a83bd=Array[_0xe639e5(0x1e5)](_0x68f65b[_0xe639e5(0x1fb)]()),_0x3c53ca=new Set();for(const _0x145788 of _0x5ceffa)if(_0x145788[_0xe639e5(0x1d1)]){for(const _0xa8923f of _0x5a83bd)for(const _0x5d7ad1 of _0x145788[_0xe639e5(0x1fb)]())(_0xa8923f[_0xe639e5(0x1df)](_0x5d7ad1)||_0x68f65b[_0xe639e5(0x1fc)]&&!_0x145788[_0xe639e5(0x1ff)]&&_0x145788[_0xe639e5(0x1d4)]&&_0x5d7ad1[_0xe639e5(0x1e2)][_0xe639e5(0x1f1)](_0xa8923f[_0xe639e5(0x1d3)]))&&_0x3c53ca[_0xe639e5(0x1ed)](_0x145788);}return _0x3c53ca;}export function getRangesOfBlockGroups(_0x5d6e02,_0x5794a6){const _0x569534=_0xffe0;let _0x269124,_0x41763d=0x0;const _0x2a5a72=[],_0x15c59c=_0x5794a6[_0x569534(0x1c7)];for(;_0x41763d<_0x5d6e02[_0x569534(0x1d8)];){const _0x5e806f=_0x5d6e02[_0x41763d],_0x47dfd6=_0x5d6e02[_0x41763d+0x1];_0x269124||(_0x269124=_0x5794a6[_0x569534(0x1e7)](_0x5e806f)),on(_0x5794a6,_0x5e806f,_0x47dfd6)||(_0x2a5a72[_0x569534(0x1d7)](_0x5794a6[_0x569534(0x1e1)](_0x269124,_0x15c59c[_0x569534(0x1c9)](_0x5e806f)?_0x5794a6[_0x569534(0x1f8)](_0x5e806f):_0x5794a6[_0x569534(0x1ec)](_0x5e806f,_0x569534(0x1e2)))),_0x269124=null),_0x41763d++;}return _0x2a5a72;}function on(_0x216a75,_0x47edca,_0x1319c7){const _0x18c1ae=_0xffe0;if(!_0x1319c7)return!0x1;const _0x2dbd4d=_0x216a75[_0x18c1ae(0x1f8)](_0x47edca),_0x95da41=_0x216a75[_0x18c1ae(0x1e7)](_0x1319c7);return _0x2dbd4d[_0x18c1ae(0x1f1)](_0x95da41);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2b5269,_0x3d9457,_0x18e57e){const _0x47eca6=_0xffe0;for(;_0x18e57e[_0x47eca6(0x1d8)];){const _0x23eb32=_0x18e57e[_0x47eca6(0x1cb)](0x0,0x64);_0x2b5269[_0x47eca6(0x1ef)](()=>{const _0x546d6c=_0x47eca6;for(const _0x4f5018 of _0x23eb32)_0x4f5018[_0x546d6c(0x1d1)]&&_0x3d9457[_0x546d6c(0x1ca)](_0x4f5018['id']);});}}
|