@ckeditor/ckeditor5-track-changes 46.1.0 → 46.1.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1e5baa=_0x33c7;(function(_0x469d7c,_0x57b45a){const _0x138ead=_0x33c7,_0x2eccc3=_0x469d7c();while(!![]){try{const _0x10abad=-parseInt(_0x138ead(0x1e7))/0x1+-parseInt(_0x138ead(0x1eb))/0x2+-parseInt(_0x138ead(0x1e6))/0x3*(parseInt(_0x138ead(0x1e3))/0x4)+parseInt(_0x138ead(0x1ea))/0x5*(parseInt(_0x138ead(0x1dc))/0x6)+parseInt(_0x138ead(0x1d7))/0x7+parseInt(_0x138ead(0x1e4))/0x8+-parseInt(_0x138ead(0x1da))/0x9;if(_0x10abad===_0x57b45a)break;else _0x2eccc3['push'](_0x2eccc3['shift']());}catch(_0x57a46a){_0x2eccc3['push'](_0x2eccc3['shift']());}}}(_0x4e65,0x87497));function _0x33c7(_0x4617bb,_0x5b30c9){const _0x4e659c=_0x4e65();return _0x33c7=function(_0x33c756,_0x2708e3){_0x33c756=_0x33c756-0x1d6;let _0x983b45=_0x4e659c[_0x33c756];return _0x983b45;},_0x33c7(_0x4617bb,_0x5b30c9);}import{Plugin as _0x349374}from'ckeditor5/src/core.js';function _0x4e65(){const _0x26d6a6=['define','trackChanges.preview.renderFunction','5pGunJg','152566vjYIhG','pluginName','5422718xFjhol','isOfficialPlugin','requires','4647357mzyzdx','TrackChangesPreview','5216826DHQwrH','editor','commands','add','isPremiumPlugin','previewFinalContent','appendChild','1172hzIchH','2254136JAvObZ','config','2301xAIXgG','554390EbZqyd'];_0x4e65=function(){return _0x26d6a6;};return _0x4e65();}import{Dialog as _0x47de29}from'ckeditor5/src/ui.js';import{TrackChangesData as _0xf68e56}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x5f12}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x349374{static get[_0x1e5baa(0x1d9)](){return[_0xf68e56,_0x47de29];}static get[_0x1e5baa(0x1d6)](){const _0x2be12d=_0x1e5baa;return _0x2be12d(0x1db);}static get[_0x1e5baa(0x1d8)](){return!0x0;}static get[_0x1e5baa(0x1e0)](){return!0x0;}constructor(_0x50c90f){const _0x1b01d4=_0x1e5baa;super(_0x50c90f),_0x50c90f[_0x1b01d4(0x1de)][_0x1b01d4(0x1df)](_0x1b01d4(0x1e1),new _0x5f12(this[_0x1b01d4(0x1dd)])),_0x50c90f[_0x1b01d4(0x1e5)][_0x1b01d4(0x1e8)](_0x1b01d4(0x1e9),(_0x566671,_0x475363)=>{const _0x263aa5=_0x1b01d4;for(const _0x5bc949 of _0x475363)_0x566671[_0x263aa5(0x1e2)](_0x5bc949);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe51f79=_0xbedc;(function(_0x5e982c,_0x5f358b){const _0x56c503=_0xbedc,_0x4c04d9=_0x5e982c();while(!![]){try{const _0x46a834=-parseInt(_0x56c503(0x209))/0x1+-parseInt(_0x56c503(0x1f3))/0x2*(-parseInt(_0x56c503(0x219))/0x3)+-parseInt(_0x56c503(0x237))/0x4*(-parseInt(_0x56c503(0x244))/0x5)+-parseInt(_0x56c503(0x1e8))/0x6*(-parseInt(_0x56c503(0x22d))/0x7)+-parseInt(_0x56c503(0x251))/0x8*(parseInt(_0x56c503(0x1d4))/0x9)+-parseInt(_0x56c503(0x1e5))/0xa*(-parseInt(_0x56c503(0x230))/0xb)+-parseInt(_0x56c503(0x205))/0xc;if(_0x46a834===_0x5f358b)break;else _0x4c04d9['push'](_0x4c04d9['shift']());}catch(_0x7e3061){_0x4c04d9['push'](_0x4c04d9['shift']());}}}(_0x3a8b,0xb9282));import{Plugin as _0x27763c}from'ckeditor5/src/core.js';function _0x3a8b(){const _0x3ea4bb=['trackChangesLicenseKeyNotAllowed','model','EditorAnnotations','_suggestionToController','expired','6196876bjtiYo','createAnnotation','_unbindEditors','2563ddoDDI','trackChangesLicenseKeyEvaluationLimit','stopListening','TrackChangesUI','getMarkers','isDirty','_licenseKeyCheckInterval','12jSpzyt','value','refreshSelectedViews','define','descriptionParts','isEnabled','isOn','SuggestionThreadView','Accept\x20all\x20suggestions','_showLicenseError','destroy','trackChangesLicenseKeyValid','createCommentThreadController','1968410sFnYpH','get','createAnnotationView','innerView','source','items','_initializeController','descriptionFactory','delegate','discardAllSuggestions','change:activeAnnotations','addComment','_bindAnnotationToEditors','145816RaVbkC','acceptSelectedSuggestions','getByInnerView','menuBar:trackChanges','trackChanges.SuggestionThreadView','getAllAdjacentSuggestions','push','_createMenuBarMenu','_handleControllerBuffer','previewFinalContent','_handleSuggestionControllerDelayed','suggestionLoaded','_disableComments','getDescriptions','componentFactory','lowest','locale','comments','_annotationViews','mainView','previous','trialLimit','comments.maxCommentsWhenCollapsed','change:previous','_addUIComponentsToFactory','editing','SuggestionView','clear','CommentsRepository','remove','bind','isPremiumPlugin','Track\x20changes','editor','comments.maxCommentCharsWhenCollapsed','buttonView','isInContent','size','arrowView','TrackChangesPreview','escape','getAnnotationForSuggestion','Preview\x20final\x20content','menuitemcheckbox','panelView','menu','registerAnnotation','_viewToController','addMany','switchbutton','commands','trackChangesLicenseKeyUsageLimit','Annotations','length','getJoined','495IFpSmM','evaluationLimit','unbind','getRanges','TrackChanges','discardButton','TrackChangesEditing','getSuggestionForAnnotation','Discard\x20all\x20selected\x20suggestions','button','reduce','focus','add','_refreshActiveMarkers','separator','trackChangesLicenseKeyTrialLimit','usageLimit','59020TZvPjr','trackChangesLicenseKeyDomainLimit','suggestionChanged','6lvVwxo','activeAnnotations','view','toMany','commentsListView','trackChangesLicenseKeyInvalid','suggestionUnloaded','getFirstRange','acceptAllSuggestions','has','trackChanges.SuggestionView','2eJMmGN','_updateController','discardSelectedSuggestions','getSuggestion','requires','invalid','values','trackChanges.disableComments','plugins','commentThread','suggestion-','type','isMultiRange','set','_destroyController','comments.editorConfig','filter','delete','23276868KrcrAq','from','domainLimit','isOfficialPlugin','1129673GTBPlU','activeMarkers','Discard\x20all\x20suggestions','getMarkerNames','featureNotAllowed','keys','listenTo','CommentView','CommentsUI','Accept\x20all\x20selected\x20suggestions','head','fire','children','hasSuggestion','actionView','comments.maxThreadTotalWeight','4166457IKqfQW','config','some','suggestionView','execute','trackChanges','_createToolbarButton','trackChangesLicenseKeyExpired','licenseKey','addSourceCollector','commandName','menuitem','init','acceptButton','pluginName'];_0x3a8b=function(){return _0x3ea4bb;};return _0x3a8b();}import{Collection as _0x421015}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x598d89}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5f3238,createDropdown as _0x1686a1,ListSeparatorView as _0x46b4d4,MenuBarMenuView as _0x6ccc1c,MenuBarMenuListView as _0x540123,MenuBarMenuListItemView as _0x32a694,MenuBarMenuListItemButtonView as _0xf0cb32,SplitButtonView as _0x28ff8e,UIModel as _0x3124ab}from'ckeditor5/src/ui.js';import{Users as _0x50efcd,getDateTimeFormatter as _0x4658d9,getAllMarkersDomElementsSorted as _0x92cb8c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xbedc(_0x90e511,_0x27f742){const _0x3a8b3a=_0x3a8b();return _0xbedc=function(_0xbedc21,_0xf30748){_0xbedc21=_0xbedc21-0x1cc;let _0x5ca5b5=_0x3a8b3a[_0xbedc21];return _0x5ca5b5;},_0xbedc(_0x90e511,_0x27f742);}import{TrackChangesEditing as _0x46f414}from'./trackchangesediting.js';import{SuggestionController as _0xbdd09a}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x284178}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0xc00b56}from'./ui/view/suggestionview.js';import{getTranslation as _0x5acac2}from'./utils/common-translations.js';export class TrackChangesUI extends _0x27763c{[_0xe51f79(0x221)];[_0xe51f79(0x236)];[_0xe51f79(0x22b)];[_0xe51f79(0x1cc)];[_0xe51f79(0x263)];[_0xe51f79(0x259)];[_0xe51f79(0x25d)];static get[_0xe51f79(0x1f7)](){const _0x5efdf5=_0xe51f79;return[_0x46f414,_0x50efcd,_0x5efdf5(0x26d),_0x5efdf5(0x1d1),_0x5efdf5(0x22a)];}static get[_0xe51f79(0x227)](){const _0x8e1496=_0xe51f79;return _0x8e1496(0x233);}static get[_0xe51f79(0x208)](){return!0x0;}static get[_0xe51f79(0x270)](){return!0x0;}constructor(_0x48b4e4){const _0x1b8997=_0xe51f79;super(_0x48b4e4),this[_0x1b8997(0x22b)]=new Map(),this[_0x1b8997(0x1cc)]=new Map(),this[_0x1b8997(0x263)]=new Map(),this[_0x1b8997(0x259)]=new Map();const _0x4fbee3=this[_0x1b8997(0x272)][_0x1b8997(0x21a)];_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x255),_0x284178),_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x1f2),_0xc00b56),_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x1fa),!0x1),this[_0x1b8997(0x25d)]=_0x4fbee3[_0x1b8997(0x245)](_0x1b8997(0x1fa));}[_0xe51f79(0x25b)](_0x44bcd9,_0x514f11){const _0x2d277f=_0xe51f79;0x0===this[_0x2d277f(0x259)][_0x2d277f(0x276)]&&setTimeout(()=>{const _0x5bc475=_0x2d277f;for(const [_0x88e77,_0x46be2a]of this[_0x5bc475(0x259)]){const _0x5fd4ed=this[_0x5bc475(0x22b)][_0x5bc475(0x1f1)](_0x88e77);_0x5fd4ed||_0x46be2a?_0x5fd4ed&&_0x46be2a&&this[_0x5bc475(0x201)](_0x88e77):this[_0x5bc475(0x24a)](_0x88e77);}this[_0x5bc475(0x259)][_0x5bc475(0x26c)](),this[_0x5bc475(0x272)][_0x5bc475(0x1fb)][_0x5bc475(0x245)](_0x5bc475(0x22a))[_0x5bc475(0x239)](),this[_0x5bc475(0x1e1)]();},0xa),this[_0x2d277f(0x259)][_0x2d277f(0x200)](_0x44bcd9,_0x514f11);}[_0xe51f79(0x225)](){const _0x344c81=_0xe51f79,_0x26504b=this[_0x344c81(0x272)],_0x5c1266=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x1da)),_0x3f8848=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x1d1)),_0x8341d1=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x22a)),_0x352775=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x26d));this[_0x344c81(0x269)](),_0x8341d1[_0x344c81(0x222)](()=>{const _0x392ea2=_0x344c81,_0x217f32=[];for(const [_0x214af8,_0x24c84c]of Array[_0x392ea2(0x206)](this[_0x392ea2(0x22b)])){const _0x2ff757=_0x214af8[_0x392ea2(0x256)](),_0x13f491=[];for(const _0x116fd3 of _0x2ff757){if(!_0x116fd3[_0x392ea2(0x275)])continue;if(_0x116fd3[_0x392ea2(0x1ff)]){_0x13f491[_0x392ea2(0x257)](..._0x116fd3[_0x392ea2(0x1d7)]());continue;}const _0x354e8f=_0x116fd3[_0x392ea2(0x1ef)]();if(_0x13f491[_0x392ea2(0x1d2)]>0x0){const _0x433e27=_0x13f491[0x0][_0x392ea2(0x1d3)](_0x354e8f);if(_0x433e27){_0x13f491[0x0]=_0x433e27;continue;}}_0x13f491[_0x392ea2(0x257)](_0x354e8f);}_0x217f32[_0x392ea2(0x257)]([_0x24c84c[_0x392ea2(0x1ea)],_0x13f491]);}return _0x217f32;}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x25c),(_0x214225,_0x1c2975)=>{const _0x798d3b=_0x344c81;this[_0x798d3b(0x20f)](_0x1c2975,_0x798d3b(0x268),(_0x199ea9,_0x30f686,_0xbd654e,_0xc5a7f3)=>{const _0x53c963=_0x798d3b;_0x1c2975[_0x53c963(0x275)]&&(null==_0xbd654e?(this[_0x53c963(0x1f4)](_0xc5a7f3[_0x53c963(0x213)]),this[_0x53c963(0x25b)](_0x1c2975,!0x1)):(this[_0x53c963(0x1f4)](_0xbd654e[_0x53c963(0x213)]),null==_0xc5a7f3&&this[_0x53c963(0x25b)](_0x1c2975,!0x0)));}),null!==_0x1c2975[_0x798d3b(0x265)]?this[_0x798d3b(0x1f4)](_0x1c2975[_0x798d3b(0x213)]):this[_0x798d3b(0x25b)](_0x1c2975,!0x1);}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x1ee),(_0x53abb5,_0x480283,_0x154730)=>{const _0x27e206=_0x344c81;this[_0x27e206(0x232)](_0x480283,_0x27e206(0x268)),this[_0x27e206(0x259)][_0x27e206(0x204)](_0x480283),this[_0x27e206(0x22b)][_0x27e206(0x1f1)](_0x480283)&&this[_0x27e206(0x201)](_0x480283),_0x154730&&this[_0x27e206(0x1f4)](_0x154730[_0x27e206(0x213)]);}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x1e7),(_0x33ebea,_0x2bb0fd)=>{const _0x1e4f06=_0x344c81;this[_0x1e4f06(0x1f4)](_0x2bb0fd);}),this[_0x344c81(0x20f)](_0x3f8848,_0x344c81(0x24e),()=>{const _0x3fdd48=_0x344c81;this[_0x3fdd48(0x1e1)]();}),this[_0x344c81(0x20f)](_0x352775,_0x344c81(0x24f),(_0x36c20f,{threadId:_0x47d07f,isFromAdapter:_0x1950a3})=>{const _0x4c9f2f=_0x344c81;if(_0x1950a3||!_0x5c1266[_0x4c9f2f(0x216)](_0x47d07f))return;const _0x349e6f=_0x5c1266[_0x4c9f2f(0x1f6)](_0x47d07f);this[_0x4c9f2f(0x22b)][_0x4c9f2f(0x245)](_0x349e6f)[_0x4c9f2f(0x1ea)][_0x4c9f2f(0x1ec)][_0x4c9f2f(0x1df)](-0x1);},{'priority':_0x344c81(0x260)}),this[_0x344c81(0x221)]=this[_0x344c81(0x272)][_0x344c81(0x21a)][_0x344c81(0x245)](_0x344c81(0x221));const _0x46e937=this[_0x344c81(0x272)];this[_0x344c81(0x236)]=setInterval(()=>{const _0x32c2db=_0x344c81;let _0x1ae433;for(const _0xc096aa in _0x46e937){const _0x93ca98=_0xc096aa,_0x2eaee1=_0x46e937[_0x93ca98];if(_0x32c2db(0x242)==_0x2eaee1||_0x32c2db(0x1ed)==_0x2eaee1||_0x32c2db(0x220)==_0x2eaee1||_0x32c2db(0x1e6)==_0x2eaee1||_0x32c2db(0x228)==_0x2eaee1||_0x32c2db(0x231)==_0x2eaee1||_0x32c2db(0x1e3)==_0x2eaee1||_0x32c2db(0x1d0)==_0x2eaee1){delete _0x46e937[_0x93ca98],_0x1ae433=_0x2eaee1,clearInterval(this[_0x32c2db(0x236)]),this[_0x32c2db(0x236)]=void 0x0;break;}}_0x32c2db(0x1ed)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1f8)),_0x32c2db(0x220)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x22c)),_0x32c2db(0x1e6)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x207)),_0x32c2db(0x228)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x20d),_0x32c2db(0x1d8)),_0x32c2db(0x231)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1d5)),_0x32c2db(0x1e3)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x266)),_0x32c2db(0x1d0)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1e4));},0x3e8);}[_0xe51f79(0x27a)](_0x414982){const _0x5df396=_0xe51f79,_0x5e9fff=this[_0x5df396(0x22b)][_0x5df396(0x245)](_0x414982);if(!_0x5e9fff)return null;return this[_0x5df396(0x272)][_0x5df396(0x1fb)][_0x5df396(0x245)](_0x5df396(0x1d1))[_0x5df396(0x253)](_0x5e9fff[_0x5df396(0x1ea)])||null;}[_0xe51f79(0x1db)](_0x381be6){const _0x1cf56c=_0xe51f79,_0x2e68c1=this[_0x1cf56c(0x1cc)][_0x1cf56c(0x245)](_0x381be6[_0x1cf56c(0x247)]);return _0x2e68c1?_0x2e68c1[_0x1cf56c(0x229)]:null;}[_0xe51f79(0x1e1)](){const _0x48639d=_0xe51f79,_0x21298c=this[_0x48639d(0x272)][_0x48639d(0x1fb)][_0x48639d(0x245)](_0x48639d(0x1d1)),_0x278c0d=this[_0x48639d(0x272)][_0x48639d(0x1fb)][_0x48639d(0x245)](_0x48639d(0x1da)),_0x22f18f=Array[_0x48639d(0x206)](_0x21298c[_0x48639d(0x1e9)],_0x553278=>_0x553278[_0x48639d(0x247)])[_0x48639d(0x203)](_0x3b3e58=>this[_0x48639d(0x1cc)][_0x48639d(0x1f1)](_0x3b3e58)),_0xc3c81d=[];for(const _0x449d6f of _0x22f18f){const _0x15965c=this[_0x48639d(0x1cc)][_0x48639d(0x245)](_0x449d6f)[_0x48639d(0x229)][_0x48639d(0x256)]();_0xc3c81d[_0x48639d(0x257)](..._0x15965c[_0x48639d(0x1de)]((_0x15122c,_0x4e1575)=>[..._0x15122c,..._0x4e1575[_0x48639d(0x20c)]()],[]));}_0x278c0d[_0x48639d(0x20a)]=_0xc3c81d;}[_0xe51f79(0x269)](){const _0x275cea=_0xe51f79,_0x346856=this[_0x275cea(0x272)],_0x11e466=_0x346856[_0x275cea(0x261)],_0x23078d=_0x5acac2(_0x11e466,_0x275cea(0x271)),_0x598569=new _0x421015([{'type':_0x275cea(0x1ce),'model':new _0x3124ab({'withText':!0x0,'isToggleable':!0x0,'label':_0x23078d,'commandName':_0x275cea(0x21e),'role':_0x275cea(0x27c)})},{'type':_0x275cea(0x1e2)},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x23f)),'commandName':_0x275cea(0x1f0),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x212)),'commandName':_0x275cea(0x252),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x20b)),'commandName':_0x275cea(0x24d),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x1dc)),'commandName':_0x275cea(0x1f5),'role':_0x275cea(0x224)})}]);_0x346856[_0x275cea(0x1fb)][_0x275cea(0x1f1)](_0x275cea(0x278))&&_0x598569[_0x275cea(0x1cd)]([{'type':_0x275cea(0x1e2)},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x27b)),'commandName':_0x275cea(0x25a),'role':_0x275cea(0x224)})}]);for(const _0x1eeaa2 of _0x598569)if(ke(_0x1eeaa2)){const _0x9bb2f9=_0x346856[_0x275cea(0x1cf)][_0x275cea(0x245)](_0x1eeaa2[_0x275cea(0x229)][_0x275cea(0x223)]);_0x1eeaa2[_0x275cea(0x229)][_0x275cea(0x26f)](_0x275cea(0x23d),_0x275cea(0x23c))['to'](_0x9bb2f9,_0x275cea(0x238),_0x275cea(0x23c));}_0x346856['ui'][_0x275cea(0x25f)][_0x275cea(0x1e0)](_0x275cea(0x21e),_0x3332b7=>this[_0x275cea(0x21f)](_0x3332b7,_0x598569,_0x23078d)),_0x346856['ui'][_0x275cea(0x25f)][_0x275cea(0x1e0)](_0x275cea(0x254),_0x4db2aa=>this[_0x275cea(0x258)](_0x4db2aa,_0x598569,_0x23078d));}[_0xe51f79(0x21f)](_0x44e641,_0x617d90,_0x1bb35f){const _0x24b47a=_0xe51f79,_0x4a4b12=_0x1686a1(_0x44e641,_0x28ff8e),_0xc6208a=this[_0x24b47a(0x272)][_0x24b47a(0x1cf)][_0x24b47a(0x245)](_0x24b47a(0x21e));_0x4a4b12[_0x24b47a(0x274)][_0x24b47a(0x200)]({'tooltip':_0x1bb35f,'label':_0x1bb35f,'icon':_0x598d89}),_0x4a4b12[_0x24b47a(0x274)][_0x24b47a(0x26f)](_0x24b47a(0x23d))['to'](_0xc6208a,_0x24b47a(0x238)),_0x4a4b12[_0x24b47a(0x274)]['on'](_0x24b47a(0x21d),()=>{const _0x34027a=_0x24b47a;_0xc6208a[_0x34027a(0x21d)](),this[_0x34027a(0x272)][_0x34027a(0x26a)][_0x34027a(0x1ea)][_0x34027a(0x1df)]();}),_0x5f3238(_0x4a4b12,_0x617d90,{'role':_0x24b47a(0x27e)});const _0x59cc26=[];for(const _0x2ca23b of _0x617d90)ke(_0x2ca23b)&&_0x59cc26[_0x24b47a(0x257)](this[_0x24b47a(0x272)][_0x24b47a(0x1cf)][_0x24b47a(0x245)](_0x2ca23b[_0x24b47a(0x229)][_0x24b47a(0x223)]));const _0x4965d9=_0x4a4b12[_0x24b47a(0x274)];return _0x4965d9[_0x24b47a(0x217)][_0x24b47a(0x1d6)](_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x277)][_0x24b47a(0x1d6)](_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x217)][_0x24b47a(0x26f)](_0x24b47a(0x23c))['to'](_0xc6208a,_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x277)][_0x24b47a(0x26f)](_0x24b47a(0x23c))[_0x24b47a(0x1eb)](_0x59cc26,_0x24b47a(0x23c),(..._0xfea653)=>_0xfea653[_0x24b47a(0x21b)](_0x369ca3=>_0x369ca3)),_0x4a4b12['on'](_0x24b47a(0x21d),_0x41f9fe=>{const _0xd120b8=_0x24b47a;this[_0xd120b8(0x272)][_0xd120b8(0x21d)](_0x41f9fe[_0xd120b8(0x248)][_0xd120b8(0x223)]),this[_0xd120b8(0x272)][_0xd120b8(0x26a)][_0xd120b8(0x1ea)][_0xd120b8(0x1df)]();}),_0x4a4b12;}[_0xe51f79(0x258)](_0x104f5d,_0x102621,_0x362c04){const _0x344434=_0xe51f79,_0x15ff00=new _0x6ccc1c(_0x104f5d),_0x5b301b=this[_0x344434(0x272)][_0x344434(0x1cf)][_0x344434(0x245)](_0x344434(0x21e));_0x15ff00[_0x344434(0x274)][_0x344434(0x200)]({'label':_0x362c04,'icon':_0x598d89});const _0x25a66d=new _0x540123(_0x104f5d);for(const _0xcd2374 of _0x102621){if(_0x344434(0x1e2)==_0xcd2374[_0x344434(0x1fe)]){_0x25a66d[_0x344434(0x249)][_0x344434(0x1e0)](new _0x46b4d4(_0x104f5d));continue;}const _0x26292c=new _0x32a694(_0x104f5d,_0x15ff00),_0x2e7603=new _0xf0cb32(_0x104f5d),_0x4e725d=_0xcd2374[_0x344434(0x229)];_0x2e7603[_0x344434(0x26f)](...Object[_0x344434(0x20e)](_0x4e725d))['to'](_0x4e725d),_0x2e7603[_0x344434(0x24c)](_0x344434(0x21d))['to'](_0x15ff00),_0x2e7603['on'](_0x344434(0x21d),()=>{const _0x5d8753=_0x344434;this[_0x5d8753(0x272)][_0x5d8753(0x21d)](_0x4e725d[_0x5d8753(0x223)]),this[_0x5d8753(0x272)][_0x5d8753(0x26a)][_0x5d8753(0x1ea)][_0x5d8753(0x1df)]();}),_0x26292c[_0x344434(0x215)][_0x344434(0x1e0)](_0x2e7603),_0x25a66d[_0x344434(0x249)][_0x344434(0x1e0)](_0x26292c);}return _0x15ff00[_0x344434(0x26f)](_0x344434(0x23c))['to'](_0x5b301b,_0x344434(0x23c)),_0x15ff00[_0x344434(0x27d)][_0x344434(0x215)][_0x344434(0x1e0)](_0x25a66d),_0x15ff00;}[_0xe51f79(0x24a)](_0x59a344){const _0x2271f3=_0xe51f79,_0x52f4ad=this[_0x2271f3(0x272)],_0x574b14=_0x52f4ad[_0x2271f3(0x21a)],_0x1268fa=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x1d1)),_0x55d39f=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x26d)),_0x4cbec5=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x22a)),_0x2de38f=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x50efcd)['me'],_0x326411=_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x21e))[_0x2271f3(0x23e)],_0x185ef1=_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x21e))[_0x2271f3(0x26b)],{CommentsListView:_0x4356c1,CommentThreadInputView:_0x46d380}=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x211));let _0x59bd15,_0x306f6c,_0x528561;this[_0x2271f3(0x263)][_0x2271f3(0x1f1)](_0x59a344['id'])?(_0x306f6c=this[_0x2271f3(0x263)][_0x2271f3(0x245)](_0x59a344['id']),_0x59bd15=_0x306f6c[_0x2271f3(0x264)]):(_0x59bd15=new _0x326411(_0x52f4ad[_0x2271f3(0x261)],_0x59a344,_0x2de38f,{'disableComments':this[_0x2271f3(0x25d)],'editorConfig':{..._0x574b14[_0x2271f3(0x245)](_0x2271f3(0x202)),'licenseKey':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x221))},'maxCommentsWhenCollapsed':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x267)),'maxThreadTotalWeight':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x218)),'maxCommentCharsWhenCollapsed':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x273)),'formatDateTime':_0x4658d9(_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x261)),_0x52f4ad[_0x2271f3(0x261)]),'CommentView':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x262))[_0x2271f3(0x210)],'CommentsListView':_0x4356c1,'CommentThreadInputView':_0x46d380,'SuggestionView':_0x185ef1}),_0x59bd15[_0x2271f3(0x21c)][_0x2271f3(0x226)]['on'](_0x2271f3(0x21d),()=>{const _0x3b7139=_0x2271f3;_0x52f4ad[_0x3b7139(0x26a)][_0x3b7139(0x1ea)][_0x3b7139(0x1df)]();}),_0x59bd15[_0x2271f3(0x21c)][_0x2271f3(0x1d9)]['on'](_0x2271f3(0x21d),()=>{const _0x53b58e=_0x2271f3;_0x52f4ad[_0x53b58e(0x26a)][_0x53b58e(0x1ea)][_0x53b58e(0x1df)]();}),_0x306f6c=_0x1268fa[_0x2271f3(0x246)](this[_0x2271f3(0x272)][_0x2271f3(0x261)],_0x59bd15),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x235))['to'](_0x59bd15,_0x2271f3(0x235)),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x1d2))['to'](_0x59bd15),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x1fe))['to'](_0x59bd15,_0x2271f3(0x1fe),_0x5c35a8=>_0x2271f3(0x1fd)+_0x5c35a8),_0x59bd15['on'](_0x2271f3(0x279),()=>{const _0x264a9d=_0x2271f3;_0x528561[_0x264a9d(0x214)](_0x264a9d(0x279));}),this[_0x2271f3(0x263)][_0x2271f3(0x200)](_0x59a344['id'],_0x306f6c));const _0x177350=_0x55d39f[_0x2271f3(0x243)](_0x59a344[_0x2271f3(0x1fc)],_0x59bd15),_0x56e2d9=new _0xbdd09a(_0x52f4ad,_0x59a344,_0x59bd15,_0x177350),_0x14c8aa=_0x59a344[_0x2271f3(0x256)]()[_0x2271f3(0x203)](_0x5d9b1b=>_0x5d9b1b[_0x2271f3(0x275)]);_0x59bd15[_0x2271f3(0x23b)]=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x1da))[_0x2271f3(0x24b)][_0x2271f3(0x25e)](_0x14c8aa),this[_0x2271f3(0x22b)][_0x2271f3(0x200)](_0x59a344,_0x56e2d9),this[_0x2271f3(0x1cc)][_0x2271f3(0x200)](_0x59bd15,_0x56e2d9);const _0x5d2681=()=>{const _0x51f3c2=_0x2271f3,_0x305ed6=[],_0x5cc89b=_0x59a344[_0x51f3c2(0x256)]()[_0x51f3c2(0x203)](_0x2024c7=>_0x2024c7[_0x51f3c2(0x275)]);for(const _0x5d2c30 of _0x5cc89b)_0x305ed6[_0x51f3c2(0x257)](..._0x5d2c30[_0x51f3c2(0x234)]());return _0x92cb8c(_0x52f4ad[_0x51f3c2(0x26a)],_0x305ed6);};_0x528561=_0x1268fa[_0x2271f3(0x22e)]({'view':_0x306f6c,'target':_0x5d2681,'type':()=>_0x2271f3(0x1fd)+_0x56e2d9[_0x2271f3(0x1ea)][_0x2271f3(0x1fe)],'isVisible':!!_0x5d2681()}),_0x55d39f[_0x2271f3(0x250)](_0x59bd15,_0x528561),_0x1268fa[_0x2271f3(0x1e0)](_0x528561),_0x4cbec5[_0x2271f3(0x27f)](_0x528561);}[_0xe51f79(0x201)](_0xc816ce){const _0x3b681c=_0xe51f79,_0x20e69f=this[_0x3b681c(0x272)][_0x3b681c(0x1fb)][_0x3b681c(0x245)](_0x3b681c(0x26d)),_0x447628=this[_0x3b681c(0x272)][_0x3b681c(0x1fb)][_0x3b681c(0x245)](_0x3b681c(0x1d1)),_0x6f40ac=this[_0x3b681c(0x22b)][_0x3b681c(0x245)](_0xc816ce),_0x599d7e=_0x6f40ac[_0x3b681c(0x1ea)],_0x422e47=_0x447628[_0x3b681c(0x253)](_0x599d7e);_0x20e69f[_0x3b681c(0x22f)](_0x599d7e),_0x422e47&&_0x447628[_0x3b681c(0x26e)](_0x422e47),this[_0x3b681c(0x22b)][_0x3b681c(0x204)](_0xc816ce),this[_0x3b681c(0x1cc)][_0x3b681c(0x204)](_0x599d7e),_0x6f40ac[_0x3b681c(0x241)]();}[_0xe51f79(0x1f4)](_0x489db3){const _0x55c293=_0xe51f79;if(!_0x489db3[_0x55c293(0x275)]||!this[_0x55c293(0x22b)][_0x55c293(0x1f1)](_0x489db3))return;const _0x553d37=this[_0x55c293(0x272)][_0x55c293(0x1fb)][_0x55c293(0x245)](_0x55c293(0x1da)),_0x24de79=this[_0x55c293(0x22b)][_0x55c293(0x245)](_0x489db3),_0x21a17f=_0x489db3[_0x55c293(0x256)]();_0x24de79[_0x55c293(0x1ea)][_0x55c293(0x23b)]=_0x553d37[_0x55c293(0x24b)][_0x55c293(0x25e)](_0x21a17f);}[_0xe51f79(0x241)](){const _0x32a110=_0xe51f79;for(const _0x30dd30 of this[_0x32a110(0x22b)][_0x32a110(0x20e)]())this[_0x32a110(0x201)](_0x30dd30);for(const _0x2a26ed of this[_0x32a110(0x263)][_0x32a110(0x1f9)]())_0x2a26ed[_0x32a110(0x264)][_0x32a110(0x241)]();super[_0x32a110(0x241)](),this[_0x32a110(0x236)]&&clearInterval(this[_0x32a110(0x236)]);}}function ke(_0x34af5f){const _0x46a01f=_0xe51f79;return _0x46a01f(0x229)in _0x34af5f;}
|
|
23
|
+
const _0x24581e=_0x58b5;(function(_0x4695f6,_0x350cb7){const _0x508ee5=_0x58b5,_0x15de8f=_0x4695f6();while(!![]){try{const _0x3bb4b1=-parseInt(_0x508ee5(0x1e4))/0x1+parseInt(_0x508ee5(0x21f))/0x2+-parseInt(_0x508ee5(0x22c))/0x3+parseInt(_0x508ee5(0x226))/0x4+-parseInt(_0x508ee5(0x24e))/0x5+-parseInt(_0x508ee5(0x224))/0x6*(parseInt(_0x508ee5(0x21a))/0x7)+-parseInt(_0x508ee5(0x25f))/0x8*(-parseInt(_0x508ee5(0x216))/0x9);if(_0x3bb4b1===_0x350cb7)break;else _0x15de8f['push'](_0x15de8f['shift']());}catch(_0x359257){_0x15de8f['push'](_0x15de8f['shift']());}}}(_0xe781,0x74529));import{Plugin as _0x41ed9a}from'ckeditor5/src/core.js';import{Collection as _0x510403}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x461a6b}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xd64178,createDropdown as _0x29d534,ListSeparatorView as _0x52562f,MenuBarMenuView as _0x1e274b,MenuBarMenuListView as _0x13f56b,MenuBarMenuListItemView as _0x5e3f89,MenuBarMenuListItemButtonView as _0x49ca74,SplitButtonView as _0x1a047f,UIModel as _0x4ea0d9}from'ckeditor5/src/ui.js';import{Users as _0x2e383c,getDateTimeFormatter as _0x21f14,getAllMarkersDomElementsSorted as _0x71d938}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1b517f}from'./trackchangesediting.js';import{SuggestionController as _0x581e0c}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x17232d}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5aae6b}from'./ui/view/suggestionview.js';import{getTranslation as _0x29fbd2}from'./utils/common-translations.js';function _0x58b5(_0x3736f0,_0xe48fcf){const _0xe78122=_0xe781();return _0x58b5=function(_0x58b552,_0x17496a){_0x58b552=_0x58b552-0x1de;let _0x523547=_0xe78122[_0x58b552];return _0x523547;},_0x58b5(_0x3736f0,_0xe48fcf);}export class TrackChangesUI extends _0x41ed9a{[_0x24581e(0x210)];[_0x24581e(0x26f)];[_0x24581e(0x23e)];[_0x24581e(0x28d)];[_0x24581e(0x1e5)];[_0x24581e(0x20f)];[_0x24581e(0x236)];static get[_0x24581e(0x27d)](){const _0x363454=_0x24581e;return[_0x1b517f,_0x2e383c,_0x363454(0x22a),_0x363454(0x239),_0x363454(0x27b)];}static get[_0x24581e(0x286)](){const _0x78430d=_0x24581e;return _0x78430d(0x1e6);}static get[_0x24581e(0x272)](){return!0x0;}static get[_0x24581e(0x281)](){return!0x0;}constructor(_0xb1a76b){const _0x2a9f22=_0x24581e;super(_0xb1a76b),this[_0x2a9f22(0x23e)]=new Map(),this[_0x2a9f22(0x28d)]=new Map(),this[_0x2a9f22(0x1e5)]=new Map(),this[_0x2a9f22(0x20f)]=new Map();const _0x21f337=this[_0x2a9f22(0x221)][_0x2a9f22(0x1fc)];_0x21f337[_0x2a9f22(0x232)](_0x2a9f22(0x269),_0x17232d),_0x21f337[_0x2a9f22(0x232)](_0x2a9f22(0x217),_0x5aae6b),_0x21f337[_0x2a9f22(0x232)](_0x2a9f22(0x22f),!0x1),this[_0x2a9f22(0x236)]=_0x21f337[_0x2a9f22(0x1f8)](_0x2a9f22(0x22f));}[_0x24581e(0x277)](_0x3aaad0,_0x4a775f){const _0x21becf=_0x24581e;0x0===this[_0x21becf(0x20f)][_0x21becf(0x27a)]&&setTimeout(()=>{const _0x29e0b9=_0x21becf;for(const [_0x1c410f,_0x3ac9ba]of this[_0x29e0b9(0x20f)]){const _0x260941=this[_0x29e0b9(0x23e)][_0x29e0b9(0x223)](_0x1c410f);_0x260941||_0x3ac9ba?_0x260941&&_0x3ac9ba&&this[_0x29e0b9(0x252)](_0x1c410f):this[_0x29e0b9(0x273)](_0x1c410f);}this[_0x29e0b9(0x20f)][_0x29e0b9(0x251)](),this[_0x29e0b9(0x221)][_0x29e0b9(0x20a)][_0x29e0b9(0x1f8)](_0x29e0b9(0x27b))[_0x29e0b9(0x1ec)](),this[_0x29e0b9(0x203)]();},0xa),this[_0x21becf(0x20f)][_0x21becf(0x1ee)](_0x3aaad0,_0x4a775f);}[_0x24581e(0x228)](){const _0x124315=_0x24581e,_0x169e34=this[_0x124315(0x221)],_0x160820=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x23c)),_0x2bbc96=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x239)),_0x1e369b=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x27b)),_0x2bcdb2=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x22a));this[_0x124315(0x229)](),_0x1e369b[_0x124315(0x230)](()=>{const _0x3c3794=_0x124315,_0x51d3f5=[];for(const [_0x188a58,_0x51f8dd]of Array[_0x3c3794(0x28c)](this[_0x3c3794(0x23e)])){const _0x31c417=_0x188a58[_0x3c3794(0x24f)](),_0x5616db=[];for(const _0x333339 of _0x31c417){if(!_0x333339[_0x3c3794(0x1fd)])continue;if(_0x333339[_0x3c3794(0x259)]){_0x5616db[_0x3c3794(0x1ea)](..._0x333339[_0x3c3794(0x23f)]());continue;}const _0x3f1b17=_0x333339[_0x3c3794(0x285)]();if(_0x5616db[_0x3c3794(0x264)]>0x0){const _0x2d850b=_0x5616db[0x0][_0x3c3794(0x22e)](_0x3f1b17);if(_0x2d850b){_0x5616db[0x0]=_0x2d850b;continue;}}_0x5616db[_0x3c3794(0x1ea)](_0x3f1b17);}_0x51d3f5[_0x3c3794(0x1ea)]([_0x51f8dd[_0x3c3794(0x240)],_0x5616db]);}return _0x51d3f5;}),this[_0x124315(0x242)](_0x160820,_0x124315(0x1e7),(_0x5700f6,_0x158dde)=>{const _0x129ca8=_0x124315;this[_0x129ca8(0x242)](_0x158dde,_0x129ca8(0x289),(_0xdb90b3,_0x22a58e,_0x45560e,_0xc08b49)=>{const _0x493aba=_0x129ca8;_0x158dde[_0x493aba(0x1fd)]&&(null==_0x45560e?(this[_0x493aba(0x227)](_0xc08b49[_0x493aba(0x1ed)]),this[_0x493aba(0x277)](_0x158dde,!0x1)):(this[_0x493aba(0x227)](_0x45560e[_0x493aba(0x1ed)]),null==_0xc08b49&&this[_0x493aba(0x277)](_0x158dde,!0x0)));}),null!==_0x158dde[_0x129ca8(0x271)]?this[_0x129ca8(0x227)](_0x158dde[_0x129ca8(0x1ed)]):this[_0x129ca8(0x277)](_0x158dde,!0x1);}),this[_0x124315(0x242)](_0x160820,_0x124315(0x20d),(_0x152332,_0x115257,_0x3e1984)=>{const _0x3f68bc=_0x124315;this[_0x3f68bc(0x209)](_0x115257,_0x3f68bc(0x289)),this[_0x3f68bc(0x20f)][_0x3f68bc(0x21e)](_0x115257),this[_0x3f68bc(0x23e)][_0x3f68bc(0x223)](_0x115257)&&this[_0x3f68bc(0x252)](_0x115257),_0x3e1984&&this[_0x3f68bc(0x227)](_0x3e1984[_0x3f68bc(0x1ed)]);}),this[_0x124315(0x242)](_0x160820,_0x124315(0x260),(_0x45b501,_0x3b5b71)=>{const _0x26388c=_0x124315;this[_0x26388c(0x227)](_0x3b5b71);}),this[_0x124315(0x242)](_0x2bbc96,_0x124315(0x249),()=>{const _0x4e785b=_0x124315;this[_0x4e785b(0x203)]();}),this[_0x124315(0x242)](_0x2bcdb2,_0x124315(0x1e2),(_0x201891,{threadId:_0x1d7de5,isFromAdapter:_0x2420fc})=>{const _0xb7858a=_0x124315;if(_0x2420fc||!_0x160820[_0xb7858a(0x27c)](_0x1d7de5))return;const _0x58c856=_0x160820[_0xb7858a(0x237)](_0x1d7de5);this[_0xb7858a(0x23e)][_0xb7858a(0x1f8)](_0x58c856)[_0xb7858a(0x240)][_0xb7858a(0x231)][_0xb7858a(0x205)](-0x1);},{'priority':_0x124315(0x1fb)}),this[_0x124315(0x210)]=this[_0x124315(0x221)][_0x124315(0x1fc)][_0x124315(0x1f8)](_0x124315(0x210));const _0x3f973b=this[_0x124315(0x221)];this[_0x124315(0x26f)]=setInterval(()=>{const _0x2583d3=_0x124315;let _0x1832a9;for(const _0x411c03 in _0x3f973b){const _0x123a07=_0x411c03,_0x2f6a23=_0x3f973b[_0x123a07];if(_0x2583d3(0x1f1)==_0x2f6a23||_0x2583d3(0x21b)==_0x2f6a23||_0x2583d3(0x244)==_0x2f6a23||_0x2583d3(0x1f4)==_0x2f6a23||_0x2583d3(0x1fa)==_0x2f6a23||_0x2583d3(0x287)==_0x2f6a23||_0x2583d3(0x20c)==_0x2f6a23||_0x2583d3(0x234)==_0x2f6a23){delete _0x3f973b[_0x123a07],_0x1832a9=_0x2f6a23,clearInterval(this[_0x2583d3(0x26f)]),this[_0x2583d3(0x26f)]=void 0x0;break;}}_0x2583d3(0x21b)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x28e)),_0x2583d3(0x244)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x256)),_0x2583d3(0x1f4)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x262)),_0x2583d3(0x1fa)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x218),_0x2583d3(0x1de)),_0x2583d3(0x287)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x270)),_0x2583d3(0x20c)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x204)),_0x2583d3(0x234)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x26a));},0x3e8);}[_0x24581e(0x21c)](_0x20059c){const _0x3ed25c=_0x24581e,_0x2d2701=this[_0x3ed25c(0x23e)][_0x3ed25c(0x1f8)](_0x20059c);if(!_0x2d2701)return null;return this[_0x3ed25c(0x221)][_0x3ed25c(0x20a)][_0x3ed25c(0x1f8)](_0x3ed25c(0x239))[_0x3ed25c(0x258)](_0x2d2701[_0x3ed25c(0x240)])||null;}[_0x24581e(0x278)](_0xd1db2c){const _0x5978b4=_0x24581e,_0x577740=this[_0x5978b4(0x28d)][_0x5978b4(0x1f8)](_0xd1db2c[_0x5978b4(0x26b)]);return _0x577740?_0x577740[_0x5978b4(0x274)]:null;}[_0x24581e(0x203)](){const _0x4f569e=_0x24581e,_0x20c9e0=this[_0x4f569e(0x221)][_0x4f569e(0x20a)][_0x4f569e(0x1f8)](_0x4f569e(0x239)),_0x4062d7=this[_0x4f569e(0x221)][_0x4f569e(0x20a)][_0x4f569e(0x1f8)](_0x4f569e(0x23c)),_0x820854=Array[_0x4f569e(0x28c)](_0x20c9e0[_0x4f569e(0x219)],_0xd7f224=>_0xd7f224[_0x4f569e(0x26b)])[_0x4f569e(0x1ef)](_0x4f9370=>this[_0x4f569e(0x28d)][_0x4f569e(0x223)](_0x4f9370)),_0x44148a=[];for(const _0x2dc592 of _0x820854){const _0x5cd052=this[_0x4f569e(0x28d)][_0x4f569e(0x1f8)](_0x2dc592)[_0x4f569e(0x274)][_0x4f569e(0x24f)]();_0x44148a[_0x4f569e(0x1ea)](..._0x5cd052[_0x4f569e(0x201)]((_0x1b42b6,_0x102f20)=>[..._0x1b42b6,..._0x102f20[_0x4f569e(0x275)]()],[]));}_0x4062d7[_0x4f569e(0x212)]=_0x44148a;}[_0x24581e(0x229)](){const _0x13a124=_0x24581e,_0x1ce517=this[_0x13a124(0x221)],_0xbd8645=_0x1ce517[_0x13a124(0x280)],_0xc7cec6=_0x29fbd2(_0xbd8645,_0x13a124(0x25c)),_0x121404=new _0x510403([{'type':_0x13a124(0x265),'model':new _0x4ea0d9({'withText':!0x0,'isToggleable':!0x0,'label':_0xc7cec6,'commandName':_0x13a124(0x24b),'role':_0x13a124(0x25d)})},{'type':_0x13a124(0x266)},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x24a)),'commandName':_0x13a124(0x25b),'role':_0x13a124(0x246)})},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x1e1)),'commandName':_0x13a124(0x22b),'role':_0x13a124(0x246)})},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x1f0)),'commandName':_0x13a124(0x268),'role':_0x13a124(0x246)})},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x208)),'commandName':_0x13a124(0x283),'role':_0x13a124(0x246)})}]);_0x1ce517[_0x13a124(0x20a)][_0x13a124(0x223)](_0x13a124(0x214))&&_0x121404[_0x13a124(0x213)]([{'type':_0x13a124(0x266)},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x254)),'commandName':_0x13a124(0x250),'role':_0x13a124(0x246)})}]);for(const _0x1450e1 of _0x121404)if(ke(_0x1450e1)){const _0x47f9e7=_0x1ce517[_0x13a124(0x23b)][_0x13a124(0x1f8)](_0x1450e1[_0x13a124(0x274)][_0x13a124(0x200)]);_0x1450e1[_0x13a124(0x274)][_0x13a124(0x26c)](_0x13a124(0x255),_0x13a124(0x20b))['to'](_0x47f9e7,_0x13a124(0x282),_0x13a124(0x20b));}_0x1ce517['ui'][_0x13a124(0x1f5)][_0x13a124(0x202)](_0x13a124(0x24b),_0x4c9404=>this[_0x13a124(0x253)](_0x4c9404,_0x121404,_0xc7cec6)),_0x1ce517['ui'][_0x13a124(0x1f5)][_0x13a124(0x202)](_0x13a124(0x257),_0x2ccdb6=>this[_0x13a124(0x20e)](_0x2ccdb6,_0x121404,_0xc7cec6));}[_0x24581e(0x253)](_0x408dee,_0x1e7010,_0x4c23ed){const _0x1bd62f=_0x24581e,_0x215984=_0x29d534(_0x408dee,_0x1a047f),_0x1dfb99=this[_0x1bd62f(0x221)][_0x1bd62f(0x23b)][_0x1bd62f(0x1f8)](_0x1bd62f(0x24b));_0x215984[_0x1bd62f(0x222)][_0x1bd62f(0x1ee)]({'tooltip':_0x4c23ed,'label':_0x4c23ed,'icon':_0x461a6b}),_0x215984[_0x1bd62f(0x222)][_0x1bd62f(0x26c)](_0x1bd62f(0x255))['to'](_0x1dfb99,_0x1bd62f(0x282)),_0x215984[_0x1bd62f(0x222)]['on'](_0x1bd62f(0x1df),()=>{const _0x54d167=_0x1bd62f;_0x1dfb99[_0x54d167(0x1df)](),this[_0x54d167(0x221)][_0x54d167(0x248)][_0x54d167(0x240)][_0x54d167(0x205)]();}),_0xd64178(_0x215984,_0x1e7010,{'role':_0x1bd62f(0x288)});const _0x32d289=[];for(const _0x32c5ab of _0x1e7010)ke(_0x32c5ab)&&_0x32d289[_0x1bd62f(0x1ea)](this[_0x1bd62f(0x221)][_0x1bd62f(0x23b)][_0x1bd62f(0x1f8)](_0x32c5ab[_0x1bd62f(0x274)][_0x1bd62f(0x200)]));const _0x232c64=_0x215984[_0x1bd62f(0x222)];return _0x232c64[_0x1bd62f(0x21d)][_0x1bd62f(0x24d)](_0x1bd62f(0x20b)),_0x232c64[_0x1bd62f(0x28b)][_0x1bd62f(0x24d)](_0x1bd62f(0x20b)),_0x232c64[_0x1bd62f(0x21d)][_0x1bd62f(0x26c)](_0x1bd62f(0x20b))['to'](_0x1dfb99,_0x1bd62f(0x20b)),_0x232c64[_0x1bd62f(0x28b)][_0x1bd62f(0x26c)](_0x1bd62f(0x20b))[_0x1bd62f(0x22d)](_0x32d289,_0x1bd62f(0x20b),(..._0x255e77)=>_0x255e77[_0x1bd62f(0x27f)](_0x4c3fda=>_0x4c3fda)),_0x215984['on'](_0x1bd62f(0x1df),_0x4c528c=>{const _0x1cf38f=_0x1bd62f;this[_0x1cf38f(0x221)][_0x1cf38f(0x1df)](_0x4c528c[_0x1cf38f(0x241)][_0x1cf38f(0x200)]),this[_0x1cf38f(0x221)][_0x1cf38f(0x248)][_0x1cf38f(0x240)][_0x1cf38f(0x205)]();}),_0x215984;}[_0x24581e(0x20e)](_0x1837fe,_0x308049,_0x3d1779){const _0x3e4e8f=_0x24581e,_0x1285f4=new _0x1e274b(_0x1837fe),_0x1c61ce=this[_0x3e4e8f(0x221)][_0x3e4e8f(0x23b)][_0x3e4e8f(0x1f8)](_0x3e4e8f(0x24b));_0x1285f4[_0x3e4e8f(0x222)][_0x3e4e8f(0x1ee)]({'label':_0x3d1779,'icon':_0x461a6b});const _0x5026a4=new _0x13f56b(_0x1837fe);for(const _0x1b5831 of _0x308049){if(_0x3e4e8f(0x266)==_0x1b5831[_0x3e4e8f(0x1fe)]){_0x5026a4[_0x3e4e8f(0x261)][_0x3e4e8f(0x202)](new _0x52562f(_0x1837fe));continue;}const _0x2bdec1=new _0x5e3f89(_0x1837fe,_0x1285f4),_0x4ba4dd=new _0x49ca74(_0x1837fe),_0x1a0175=_0x1b5831[_0x3e4e8f(0x274)];_0x4ba4dd[_0x3e4e8f(0x26c)](...Object[_0x3e4e8f(0x207)](_0x1a0175))['to'](_0x1a0175),_0x4ba4dd[_0x3e4e8f(0x276)](_0x3e4e8f(0x1df))['to'](_0x1285f4),_0x4ba4dd['on'](_0x3e4e8f(0x1df),()=>{const _0x5161a5=_0x3e4e8f;this[_0x5161a5(0x221)][_0x5161a5(0x1df)](_0x1a0175[_0x5161a5(0x200)]),this[_0x5161a5(0x221)][_0x5161a5(0x248)][_0x5161a5(0x240)][_0x5161a5(0x205)]();}),_0x2bdec1[_0x3e4e8f(0x1eb)][_0x3e4e8f(0x202)](_0x4ba4dd),_0x5026a4[_0x3e4e8f(0x261)][_0x3e4e8f(0x202)](_0x2bdec1);}return _0x1285f4[_0x3e4e8f(0x26c)](_0x3e4e8f(0x20b))['to'](_0x1c61ce,_0x3e4e8f(0x20b)),_0x1285f4[_0x3e4e8f(0x206)][_0x3e4e8f(0x1eb)][_0x3e4e8f(0x202)](_0x5026a4),_0x1285f4;}[_0x24581e(0x273)](_0x4ca796){const _0x508c93=_0x24581e,_0x5b87d9=this[_0x508c93(0x221)],_0x7139da=_0x5b87d9[_0x508c93(0x1fc)],_0x46e4dd=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x239)),_0x35675e=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x22a)),_0x2790e6=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x27b)),_0x5c1a4b=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x2e383c)['me'],_0x48d62f=_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x24b))[_0x508c93(0x225)],_0x5d4cf0=_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x24b))[_0x508c93(0x243)],{CommentsListView:_0x193263,CommentThreadInputView:_0x30fc27}=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x211));let _0x23b524,_0x2bbef4,_0x323523;this[_0x508c93(0x1e5)][_0x508c93(0x223)](_0x4ca796['id'])?(_0x2bbef4=this[_0x508c93(0x1e5)][_0x508c93(0x1f8)](_0x4ca796['id']),_0x23b524=_0x2bbef4[_0x508c93(0x1e8)]):(_0x23b524=new _0x48d62f(_0x5b87d9[_0x508c93(0x280)],_0x4ca796,_0x5c1a4b,{'disableComments':this[_0x508c93(0x236)],'editorConfig':{..._0x7139da[_0x508c93(0x1f8)](_0x508c93(0x267)),'licenseKey':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x210))},'maxCommentsWhenCollapsed':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x26e)),'maxThreadTotalWeight':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x23d)),'maxCommentCharsWhenCollapsed':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x26d)),'formatDateTime':_0x21f14(_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x280)),_0x5b87d9[_0x508c93(0x280)]),'CommentView':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x25e))[_0x508c93(0x215)],'CommentsListView':_0x193263,'CommentThreadInputView':_0x30fc27,'SuggestionView':_0x5d4cf0}),_0x23b524[_0x508c93(0x263)][_0x508c93(0x1e9)]['on'](_0x508c93(0x1df),()=>{const _0x289fb1=_0x508c93;_0x5b87d9[_0x289fb1(0x248)][_0x289fb1(0x240)][_0x289fb1(0x205)]();}),_0x23b524[_0x508c93(0x263)][_0x508c93(0x1f9)]['on'](_0x508c93(0x1df),()=>{const _0x1b71ce=_0x508c93;_0x5b87d9[_0x1b71ce(0x248)][_0x1b71ce(0x240)][_0x1b71ce(0x205)]();}),_0x2bbef4=_0x46e4dd[_0x508c93(0x1f6)](this[_0x508c93(0x221)][_0x508c93(0x280)],_0x23b524),_0x2bbef4[_0x508c93(0x26c)](_0x508c93(0x279))['to'](_0x23b524,_0x508c93(0x279)),_0x2bbef4[_0x508c93(0x26c)](_0x508c93(0x264))['to'](_0x23b524),_0x2bbef4[_0x508c93(0x26c)](_0x508c93(0x1fe))['to'](_0x23b524,_0x508c93(0x1fe),_0x2714c3=>_0x508c93(0x284)+_0x2714c3),_0x23b524['on'](_0x508c93(0x1e3),()=>{const _0x31483f=_0x508c93;_0x323523[_0x31483f(0x238)](_0x31483f(0x1e3));}),this[_0x508c93(0x1e5)][_0x508c93(0x1ee)](_0x4ca796['id'],_0x2bbef4));const _0x8fa188=_0x35675e[_0x508c93(0x1f7)](_0x4ca796[_0x508c93(0x1f2)],_0x23b524),_0x1dadd4=new _0x581e0c(_0x5b87d9,_0x4ca796,_0x23b524,_0x8fa188),_0x1d8fca=_0x4ca796[_0x508c93(0x24f)]()[_0x508c93(0x1ef)](_0x35af8f=>_0x35af8f[_0x508c93(0x1fd)]);_0x23b524[_0x508c93(0x27e)]=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x23c))[_0x508c93(0x24c)][_0x508c93(0x233)](_0x1d8fca),this[_0x508c93(0x23e)][_0x508c93(0x1ee)](_0x4ca796,_0x1dadd4),this[_0x508c93(0x28d)][_0x508c93(0x1ee)](_0x23b524,_0x1dadd4);const _0x3f781b=()=>{const _0x22da79=_0x508c93,_0x751347=[],_0xd46149=_0x4ca796[_0x22da79(0x24f)]()[_0x22da79(0x1ef)](_0x250050=>_0x250050[_0x22da79(0x1fd)]);for(const _0x1e585b of _0xd46149)_0x751347[_0x22da79(0x1ea)](..._0x1e585b[_0x22da79(0x245)]());return _0x71d938(_0x5b87d9[_0x22da79(0x248)],_0x751347);};_0x323523=_0x46e4dd[_0x508c93(0x1f3)]({'view':_0x2bbef4,'target':_0x3f781b,'type':()=>_0x508c93(0x284)+_0x1dadd4[_0x508c93(0x240)][_0x508c93(0x1fe)],'isVisible':!!_0x3f781b()}),_0x35675e[_0x508c93(0x23a)](_0x23b524,_0x323523),_0x46e4dd[_0x508c93(0x202)](_0x323523),_0x2790e6[_0x508c93(0x1e0)](_0x323523);}[_0x24581e(0x252)](_0x7ca0ba){const _0x30453c=_0x24581e,_0x29e5eb=this[_0x30453c(0x221)][_0x30453c(0x20a)][_0x30453c(0x1f8)](_0x30453c(0x22a)),_0x6203e9=this[_0x30453c(0x221)][_0x30453c(0x20a)][_0x30453c(0x1f8)](_0x30453c(0x239)),_0x505aba=this[_0x30453c(0x23e)][_0x30453c(0x1f8)](_0x7ca0ba),_0x2489cc=_0x505aba[_0x30453c(0x240)],_0x5a4a0f=_0x6203e9[_0x30453c(0x258)](_0x2489cc);_0x29e5eb[_0x30453c(0x25a)](_0x2489cc),_0x5a4a0f&&_0x6203e9[_0x30453c(0x220)](_0x5a4a0f),this[_0x30453c(0x23e)][_0x30453c(0x21e)](_0x7ca0ba),this[_0x30453c(0x28d)][_0x30453c(0x21e)](_0x2489cc),_0x505aba[_0x30453c(0x28a)]();}[_0x24581e(0x227)](_0x35b758){const _0x41bada=_0x24581e;if(!_0x35b758[_0x41bada(0x1fd)]||!this[_0x41bada(0x23e)][_0x41bada(0x223)](_0x35b758))return;const _0x1b345e=this[_0x41bada(0x221)][_0x41bada(0x20a)][_0x41bada(0x1f8)](_0x41bada(0x23c)),_0x5e5544=this[_0x41bada(0x23e)][_0x41bada(0x1f8)](_0x35b758),_0x1c078a=_0x35b758[_0x41bada(0x24f)]();_0x5e5544[_0x41bada(0x240)][_0x41bada(0x27e)]=_0x1b345e[_0x41bada(0x24c)][_0x41bada(0x233)](_0x1c078a);}[_0x24581e(0x28a)](){const _0x155bc3=_0x24581e;for(const _0x4a9b8b of this[_0x155bc3(0x23e)][_0x155bc3(0x207)]())this[_0x155bc3(0x252)](_0x4a9b8b);for(const _0x4c204a of this[_0x155bc3(0x1e5)][_0x155bc3(0x235)]())_0x4c204a[_0x155bc3(0x1e8)][_0x155bc3(0x28a)]();super[_0x155bc3(0x28a)](),this[_0x155bc3(0x26f)]&&clearInterval(this[_0x155bc3(0x26f)]);}}function _0xe781(){const _0x50a023=['441498FyYSvy','SuggestionThreadView','2509692dvkcBm','_updateController','init','_addUIComponentsToFactory','CommentsRepository','acceptSelectedSuggestions','1475643VjmOri','toMany','getJoined','trackChanges.disableComments','addSourceCollector','commentsListView','define','getDescriptions','trackChangesLicenseKeyUsageLimit','values','_disableComments','getSuggestion','fire','Annotations','_bindAnnotationToEditors','commands','TrackChangesEditing','comments.maxThreadTotalWeight','_suggestionToController','getRanges','view','source','listenTo','SuggestionView','trackChangesLicenseKeyExpired','getMarkers','menuitem','button','editing','change:activeAnnotations','Accept\x20all\x20suggestions','trackChanges','descriptionFactory','unbind','3886455GamYGe','getAllAdjacentSuggestions','previewFinalContent','clear','_destroyController','_createToolbarButton','Preview\x20final\x20content','isOn','expired','menuBar:trackChanges','getByInnerView','isMultiRange','_unbindEditors','acceptAllSuggestions','Track\x20changes','menuitemcheckbox','comments','4808RYVNZo','suggestionChanged','items','domainLimit','suggestionView','length','switchbutton','separator','comments.editorConfig','discardAllSuggestions','trackChanges.SuggestionThreadView','usageLimit','innerView','bind','comments.maxCommentCharsWhenCollapsed','comments.maxCommentsWhenCollapsed','_licenseKeyCheckInterval','evaluationLimit','previous','isOfficialPlugin','_initializeController','model','getMarkerNames','delegate','_handleSuggestionControllerDelayed','getSuggestionForAnnotation','isDirty','size','EditorAnnotations','hasSuggestion','requires','descriptionParts','some','locale','isPremiumPlugin','value','discardSelectedSuggestions','suggestion-','getFirstRange','pluginName','trackChangesLicenseKeyEvaluationLimit','menu','change:previous','destroy','arrowView','from','_viewToController','invalid','TrackChanges','execute','registerAnnotation','Accept\x20all\x20selected\x20suggestions','addComment','escape','544814ilimeH','_annotationViews','TrackChangesUI','suggestionLoaded','mainView','acceptButton','push','children','refreshSelectedViews','head','set','filter','Discard\x20all\x20suggestions','trackChangesLicenseKeyValid','commentThread','createAnnotation','trackChangesLicenseKeyDomainLimit','componentFactory','createAnnotationView','createCommentThreadController','get','discardButton','trackChangesLicenseKeyNotAllowed','lowest','config','isInContent','type','_showLicenseError','commandName','reduce','add','_refreshActiveMarkers','trialLimit','focus','panelView','keys','Discard\x20all\x20selected\x20suggestions','stopListening','plugins','isEnabled','trackChangesLicenseKeyTrialLimit','suggestionUnloaded','_createMenuBarMenu','_handleControllerBuffer','licenseKey','CommentsUI','activeMarkers','addMany','TrackChangesPreview','CommentView','17334UsNEUD','trackChanges.SuggestionView','featureNotAllowed','activeAnnotations','7UxjGBx','trackChangesLicenseKeyInvalid','getAnnotationForSuggestion','actionView','delete','1158154WlvTDo','remove','editor','buttonView','has'];_0xe781=function(){return _0x50a023;};return _0xe781();}function ke(_0x39be22){const _0x6d1724=_0x24581e;return _0x6d1724(0x274)in _0x39be22;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x42d4fe=_0x50f0;(function(_0x470b41,_0x82414e){const _0xd49e28=_0x50f0,_0x27ee1a=_0x470b41();while(!![]){try{const _0x2f60c9=parseInt(_0xd49e28(0xdc))/0x1+parseInt(_0xd49e28(0xfb))/0x2*(parseInt(_0xd49e28(0xdd))/0x3)+parseInt(_0xd49e28(0xe4))/0x4+-parseInt(_0xd49e28(0xe9))/0x5+parseInt(_0xd49e28(0xe7))/0x6+parseInt(_0xd49e28(0xf1))/0x7*(parseInt(_0xd49e28(0xe1))/0x8)+parseInt(_0xd49e28(0xf5))/0x9*(-parseInt(_0xd49e28(0xdf))/0xa);if(_0x2f60c9===_0x82414e)break;else _0x27ee1a['push'](_0x27ee1a['shift']());}catch(_0x4dd49e){_0x27ee1a['push'](_0x27ee1a['shift']());}}}(_0x58fc,0xd3ecc));function _0x50f0(_0x5b1cab,_0x4926af){const _0x58fccd=_0x58fc();return _0x50f0=function(_0x50f0cc,_0x1ac4ef){_0x50f0cc=_0x50f0cc-0xd2;let _0x3eddf0=_0x58fccd[_0x50f0cc];return _0x3eddf0;},_0x50f0(_0x5b1cab,_0x4926af);}import{ObservableMixin as _0x2ff2b6}from'ckeditor5/src/utils.js';import{getTranslation as _0xbd579d}from'../utils/common-translations.js';function _0x58fc(){const _0x2e0b4e=['271284XBKvQu','12YXrxml','isEnabled','10jBAzYQ','getRanges','8KYnizQ','listenTo','acceptSuggestion','4457940wLhWsL','stopListening','_pendingAction','175188PmsCTr','model','1376900zOXbmK','canDiscard','commands','destroy','execute','get','PendingActions','PENDING_ACTION_SUGGESTION','9704114CnjvTu','_removePendingAction','canAccept','isDirty','22731561ukAyuU','commentThreadController','_setPendingAction','plugins','change:isDirty','_acceptCommand','433942htTtOp','_discardCommand','bind','remove','canEditAt','add','view','discardSuggestion','locale','_editor','unbind'];_0x58fc=function(){return _0x2e0b4e;};return _0x58fc();}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ff2b6(){[_0x42d4fe(0xe8)];[_0x42d4fe(0xd7)];[_0x42d4fe(0xf6)];[_0x42d4fe(0xda)];[_0x42d4fe(0xfa)];[_0x42d4fe(0xd2)];[_0x42d4fe(0xe6)];constructor(_0x384f88,_0x47745c,_0x4f738c,_0x5433b2){const _0x39faf1=_0x42d4fe;super(),this[_0x39faf1(0xe8)]=_0x47745c,this[_0x39faf1(0xd7)]=_0x4f738c,this[_0x39faf1(0xf6)]=_0x5433b2,this[_0x39faf1(0xda)]=_0x384f88,this[_0x39faf1(0xfa)]=_0x384f88[_0x39faf1(0xeb)][_0x39faf1(0xee)](_0x39faf1(0xe3)),this[_0x39faf1(0xd2)]=_0x384f88[_0x39faf1(0xeb)][_0x39faf1(0xee)](_0x39faf1(0xd8)),this[_0x39faf1(0xd7)][_0x39faf1(0xd3)](_0x39faf1(0xde))['to'](this[_0x39faf1(0xfa)],this[_0x39faf1(0xd2)],(_0x1acaff,_0x155cf5)=>_0x1acaff||_0x155cf5),this[_0x39faf1(0xd7)][_0x39faf1(0xd3)](_0x39faf1(0xf3))['to'](this[_0x39faf1(0xfa)],_0x39faf1(0xde),_0x60a681=>_0x60a681&&this[_0x39faf1(0xda)][_0x39faf1(0xe8)][_0x39faf1(0xd5)](_0x47745c[_0x39faf1(0xe0)]())),this[_0x39faf1(0xd7)][_0x39faf1(0xd3)](_0x39faf1(0xea))['to'](this[_0x39faf1(0xd2)],_0x39faf1(0xde),_0x4320dc=>_0x4320dc&&this[_0x39faf1(0xda)][_0x39faf1(0xe8)][_0x39faf1(0xd5)](_0x47745c[_0x39faf1(0xe0)]())),this[_0x39faf1(0xe6)]=null,_0x4f738c[_0x39faf1(0xf4)]&&this[_0x39faf1(0xf7)](),this[_0x39faf1(0xe2)](_0x4f738c,_0x39faf1(0xe3),()=>this[_0x39faf1(0xe3)]()),this[_0x39faf1(0xe2)](_0x4f738c,_0x39faf1(0xd8),()=>this[_0x39faf1(0xd8)]()),this[_0x39faf1(0xe2)](_0x4f738c,_0x39faf1(0xf9),()=>{const _0x5e54b7=_0x39faf1;_0x4f738c[_0x5e54b7(0xf4)]?this[_0x5e54b7(0xf7)]():this[_0x5e54b7(0xf2)]();});}[_0x42d4fe(0xe3)](){const _0x24272b=_0x42d4fe;this[_0x24272b(0xfa)][_0x24272b(0xed)](this[_0x24272b(0xe8)]['id']);}[_0x42d4fe(0xd8)](){const _0x3bb899=_0x42d4fe;this[_0x3bb899(0xd2)][_0x3bb899(0xed)](this[_0x3bb899(0xe8)]['id']);}[_0x42d4fe(0xec)](){const _0x23a2da=_0x42d4fe;this[_0x23a2da(0xd7)][_0x23a2da(0xdb)](_0x23a2da(0xde)),this[_0x23a2da(0xd7)][_0x23a2da(0xdb)](_0x23a2da(0xf3)),this[_0x23a2da(0xd7)][_0x23a2da(0xdb)](_0x23a2da(0xea)),this[_0x23a2da(0xe5)](),this[_0x23a2da(0xf6)][_0x23a2da(0xec)](),this[_0x23a2da(0xe6)]&&this[_0x23a2da(0xf2)]();}[_0x42d4fe(0xf7)](){const _0x52ef15=_0x42d4fe,_0x526bb6=_0xbd579d(this[_0x52ef15(0xda)][_0x52ef15(0xd9)],_0x52ef15(0xf0));this[_0x52ef15(0xe6)]=this[_0x52ef15(0xda)][_0x52ef15(0xf8)][_0x52ef15(0xee)](_0x52ef15(0xef))[_0x52ef15(0xd6)](_0x526bb6);}[_0x42d4fe(0xf2)](){const _0x91f781=_0x42d4fe;null!==this[_0x91f781(0xe6)]&&this[_0x91f781(0xda)][_0x91f781(0xf8)][_0x91f781(0xee)](_0x91f781(0xef))[_0x91f781(0xd4)](this[_0x91f781(0xe6)]),this[_0x91f781(0xe6)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x588a(){const _0xdd19b2=['updateComment','parseFromString','focus','disableComments','value','body','addComment','isEnabled','target','setData','105814zSFVPX','element','disabledSubmit','name','textContent','delegate','_config','editor','focusTracker','shift+tab','render','191608qQrbMv','content','descriptionParts','canAccept','focusables','_createCommentThreadInputView','isDirty','140357dwHOkf','commentThreadInputView','locale','assign','1439748lHpafJ','canDiscard','_model','commentInputView','keystrokes','formatDateTime','hasDirtyComment','fire','commentsListView','15Dktlqp','_createCommentViews','189aJNfHM','isReadOnly','focusCycler','map','destroy','bind','SUGGESTION_THREAD_DESCRIPTION','_localUser','251228IaPpQE','cancel','editorConfig','tab','removeComment','submit','commentThread','319475luOOTm','showInput','CommentView','join','length','set','SUGGESTION_THREAD_ARIA_LABEL','ariaDescriptionView','author','296226NVnHfr','ariaLabel','text/html','authoredAt','isActive'];_0x588a=function(){return _0xdd19b2;};return _0x588a();}const _0x583954=_0x518e;function _0x518e(_0x5ea3ad,_0x3341bf){const _0x588ae9=_0x588a();return _0x518e=function(_0x518e99,_0x19fe4c){_0x518e99=_0x518e99-0x1bf;let _0x216ace=_0x588ae9[_0x518e99];return _0x216ace;},_0x518e(_0x5ea3ad,_0x3341bf);}(function(_0x445ffd,_0x3a3471){const _0x1080f8=_0x518e,_0x37bed8=_0x445ffd();while(!![]){try{const _0x1d16a0=-parseInt(_0x1080f8(0x1cb))/0x1+-parseInt(_0x1080f8(0x1da))/0x2+-parseInt(_0x1080f8(0x1f9))/0x3*(-parseInt(_0x1080f8(0x203))/0x4)+parseInt(_0x1080f8(0x1c2))/0x5+-parseInt(_0x1080f8(0x1f0))/0x6+-parseInt(_0x1080f8(0x1ec))/0x7+-parseInt(_0x1080f8(0x1e5))/0x8*(-parseInt(_0x1080f8(0x1fb))/0x9);if(_0x1d16a0===_0x3a3471)break;else _0x37bed8['push'](_0x37bed8['shift']());}catch(_0x2fde32){_0x37bed8['push'](_0x37bed8['shift']());}}}(_0x588a,0x4258f));import{FocusCycler as _0x114319,View as _0x413d9a,ViewCollection as _0x267260}from'ckeditor5/src/ui.js';import{FocusTracker as _0x247324,KeystrokeHandler as _0x3099e}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x2dd1fc,setupThreadKeyboardNavigation as _0x1c6ed7}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x24f290}from'../../utils/common-translations.js';import{renderDescription as _0xa77e4}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x413d9a{[_0x583954(0x1f8)];[_0x583954(0x1ed)];[_0x583954(0x1c9)];[_0x583954(0x1e9)];[_0x583954(0x1e2)];[_0x583954(0x1f4)];[_0x583954(0x1fd)];[_0x583954(0x1f2)];[_0x583954(0x202)];[_0x583954(0x1e0)];constructor(_0x4a9726,_0x1c06d4,_0x320bc6,_0x82beb4){const _0x44b438=_0x583954;super(_0x4a9726),this[_0x44b438(0x1f8)]=null,this[_0x44b438(0x1ed)]=null,this[_0x44b438(0x1c9)]=new _0x2dd1fc(_0x4a9726,_0x24f290(_0x4a9726,_0x44b438(0x201))),this[_0x44b438(0x1c7)](_0x44b438(0x1cf),!0x1),this[_0x44b438(0x1c7)](_0x44b438(0x1ce),_0x1c06d4[_0x44b438(0x1ce)]),this[_0x44b438(0x200)](_0x44b438(0x1ce))['to'](_0x1c06d4),this[_0x44b438(0x1c7)](_0x44b438(0x1e7),[]),this[_0x44b438(0x1c7)](_0x44b438(0x1eb),!0x1),this[_0x44b438(0x1c7)](_0x44b438(0x1d7),!0x1),this[_0x44b438(0x1c7)](_0x44b438(0x1e8),!0x1),this[_0x44b438(0x1c7)](_0x44b438(0x1f1),!0x1),this[_0x44b438(0x200)](_0x44b438(0x1cc))['to'](this,_0x44b438(0x1c6),_0x1c06d4,_0x44b438(0x1ce),this,_0x44b438(0x1e7),(_0x29a46d,_0x2cfff9,_0x142353)=>{const _0x5a03c7=_0x44b438,_0x296267=_0x142353[_0x5a03c7(0x1fe)](_0x1cc88e=>_0xa77e4(_0x1cc88e[_0x5a03c7(0x1e6)]))[_0x5a03c7(0x1c5)]('.\x20')+'.';return _0x24f290(this[_0x5a03c7(0x1ee)],_0x5a03c7(0x1c8),[_0x29a46d-0x1,_0x1c06d4[_0x5a03c7(0x1ca)][_0x5a03c7(0x1dd)],_0x2cfff9?_0x82beb4[_0x5a03c7(0x1f5)](_0x2cfff9):'',new DOMParser()[_0x5a03c7(0x1d1)](_0x296267,_0x5a03c7(0x1cd))[_0x5a03c7(0x1d5)][_0x5a03c7(0x1de)]]);}),this[_0x44b438(0x1e9)]=new _0x267260(),this[_0x44b438(0x1e2)]=new _0x247324(),this[_0x44b438(0x1f4)]=new _0x3099e(),this[_0x44b438(0x1fd)]=new _0x114319({'focusables':this[_0x44b438(0x1e9)],'focusTracker':this[_0x44b438(0x1e2)],'keystrokeHandler':this[_0x44b438(0x1f4)],'keystrokeHandlerOptions':{'filter':_0x4f7385=>_0x4f7385[_0x44b438(0x1d8)]!==this[_0x44b438(0x1db)]},'actions':{'focusPrevious':_0x44b438(0x1e3),'focusNext':_0x44b438(0x206)}}),this[_0x44b438(0x1f2)]=_0x1c06d4,this[_0x44b438(0x202)]=_0x320bc6,this[_0x44b438(0x1e0)]=_0x82beb4,_0x82beb4[_0x44b438(0x1d3)]?this[_0x44b438(0x1c7)](_0x44b438(0x1c6),0x1):this[_0x44b438(0x1fa)]();}[_0x583954(0x1e4)](){const _0x5b6c83=_0x583954;super[_0x5b6c83(0x1e4)](),_0x1c6ed7(this,this[_0x5b6c83(0x1e9)]);}[_0x583954(0x1d2)](){const _0x26cb00=_0x583954;this[_0x26cb00(0x1db)][_0x26cb00(0x1d2)]();}[_0x583954(0x1ff)](){const _0x1db926=_0x583954;this[_0x1db926(0x1f8)]&&this[_0x1db926(0x1f8)][_0x1db926(0x1ff)](),this[_0x1db926(0x1ed)]&&this[_0x1db926(0x1ed)][_0x1db926(0x1ff)](),super[_0x1db926(0x1ff)]();}[_0x583954(0x1fa)](){const _0x39dd50=_0x583954,{CommentsListView:_0x11a1a9}=this[_0x39dd50(0x1e0)];this[_0x39dd50(0x1f8)]=new _0x11a1a9(this[_0x39dd50(0x1ee)],this[_0x39dd50(0x1f2)][_0x39dd50(0x1c1)],Object[_0x39dd50(0x1ef)]({'CommentView':this[_0x39dd50(0x1e0)][_0x39dd50(0x1c4)]},this[_0x39dd50(0x1e0)])),this[_0x39dd50(0x1f8)][_0x39dd50(0x1df)](_0x39dd50(0x1bf))['to'](this),this[_0x39dd50(0x1f8)][_0x39dd50(0x1df)](_0x39dd50(0x1d0))['to'](this),this[_0x39dd50(0x1f8)][_0x39dd50(0x200)](_0x39dd50(0x1cf))['to'](this),this[_0x39dd50(0x1c7)](_0x39dd50(0x1c6),this[_0x39dd50(0x1f8)][_0x39dd50(0x1c6)]+0x1),this[_0x39dd50(0x200)](_0x39dd50(0x1c6))['to'](this[_0x39dd50(0x1f8)],_0x39dd50(0x1c6),_0x21bf8d=>_0x21bf8d+0x1),this[_0x39dd50(0x1ed)]=this[_0x39dd50(0x1ea)](),this['on'](_0x39dd50(0x1bf),()=>this[_0x39dd50(0x1d2)]()),this[_0x39dd50(0x200)](_0x39dd50(0x1eb))['to'](this[_0x39dd50(0x1f8)],_0x39dd50(0x1f6),this[_0x39dd50(0x1ed)][_0x39dd50(0x1f3)],_0x39dd50(0x1d4),(_0x5990f3,_0xbd5349)=>_0x5990f3||!!_0xbd5349);}[_0x583954(0x1ea)](){const _0xdf93c=_0x583954,{CommentThreadInputView:_0x159de6}=this[_0xdf93c(0x1e0)],_0x22aade=new _0x159de6(this[_0xdf93c(0x1ee)],this[_0xdf93c(0x202)],this[_0xdf93c(0x1e0)][_0xdf93c(0x205)]),_0x2c5e38=_0x22aade[_0xdf93c(0x1f3)];return _0x22aade[_0xdf93c(0x200)](_0xdf93c(0x1c3))['to'](this,_0xdf93c(0x1cf),this[_0xdf93c(0x1f2)][_0xdf93c(0x1c1)],_0xdf93c(0x1fc),_0x2c5e38,_0xdf93c(0x1d4),(_0x134307,_0x47df66,_0x4dec5b)=>!!_0x4dec5b||_0x134307&&!_0x47df66),_0x2c5e38['on'](_0xdf93c(0x1c0),(_0x4cfde2,_0x131b2d)=>{const _0xa57103=_0xdf93c;this[_0xa57103(0x1f7)](_0xa57103(0x1d6),_0x131b2d),_0x2c5e38[_0xa57103(0x1e1)][_0xa57103(0x1d9)]('');}),_0x2c5e38['on'](_0xdf93c(0x204),()=>this[_0xdf93c(0x1d2)]()),_0x2c5e38[_0xdf93c(0x200)](_0xdf93c(0x1dc))['to'](this[_0xdf93c(0x1f2)][_0xdf93c(0x1c1)],_0xdf93c(0x1fc)),_0x22aade;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x73133=_0x9d02;(function(_0x4846e0,_0x52247a){const _0x4ee194=_0x9d02,_0xb050fe=_0x4846e0();while(!![]){try{const _0x1009ec=parseInt(_0x4ee194(0x15b))/0x1*(-parseInt(_0x4ee194(0x165))/0x2)+parseInt(_0x4ee194(0x154))/0x3*(parseInt(_0x4ee194(0x135))/0x4)+parseInt(_0x4ee194(0x161))/0x5*(parseInt(_0x4ee194(0x157))/0x6)+-parseInt(_0x4ee194(0x14e))/0x7+-parseInt(_0x4ee194(0x13b))/0x8*(-parseInt(_0x4ee194(0x143))/0x9)+parseInt(_0x4ee194(0x158))/0xa+-parseInt(_0x4ee194(0x140))/0xb;if(_0x1009ec===_0x52247a)break;else _0xb050fe['push'](_0xb050fe['shift']());}catch(_0x7b4bc1){_0xb050fe['push'](_0xb050fe['shift']());}}}(_0x1eb0,0x43bb7));function _0x9d02(_0x182cbd,_0x45c063){const _0x1eb09b=_0x1eb0();return _0x9d02=function(_0x9d02fc,_0x37b6fd){_0x9d02fc=_0x9d02fc-0x12d;let _0x563085=_0x1eb09b[_0x9d02fc];return _0x563085;},_0x9d02(_0x182cbd,_0x45c063);}function _0x1eb0(){const _0x54f5c2=['content','discardButton','getTemplate','commentsListView','_model','51555NqxZie','div','editorDestroyed','1266060lbwJiI','2042640OpjTTx','SuggestionView','listitem','1DXpdfq','ck-rounded-corners','</p>','formatDateTime','ck-suggestion-','description','10qWsmqN','acceptButton','ck-suggestion-wrapper','discardSuggestion','250244SIZSPb','commentThreadInputView','setTemplate','_descriptionElement','canAccept','editorReady','bindTemplate','ck-suggestion--disabled-comments','descriptionParts','set','52HEorzR','color','author','bind','suggestionView','add','232040euhohW','ariaLabel','isActive','isEnabled','delegate','6413759DvGnWA','commentThread','render','90XyHRIy','acceptSuggestion','ariaDescriptionView','disableComments','canDiscard','type','push','ck-suggestion-wrapper--active','focusables','_config','<p>','1078819rPosPh'];_0x1eb0=function(){return _0x54f5c2;};return _0x1eb0();}import{BaseSuggestionThreadView as _0x4e5a60}from'./basesuggestionthreadview.js';import{trimHtml as _0x4a83de}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1665d3}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4e5a60{[_0x73133(0x139)];[_0x73133(0x12e)];constructor(_0x13e185,_0x21514a,_0x5f55c9,_0x52a69a){const _0x287467=_0x73133;super(_0x13e185,_0x21514a,_0x5f55c9,_0x52a69a),this[_0x287467(0x134)](_0x287467(0x148),''),this[_0x287467(0x138)](_0x287467(0x148))['to'](this,_0x287467(0x133),_0x5c8ef8=>_0x5c8ef8&&_0x5c8ef8[0x0]?_0x5c8ef8[0x0][_0x287467(0x148)]:''),this[_0x287467(0x138)](_0x287467(0x160))['to'](this,_0x287467(0x133),this,_0x287467(0x13d),(_0x21df76,_0x2ae894)=>{const _0x301f8a=_0x287467;let _0x501aef='';for(const _0x1a8778 of _0x21df76)_0x501aef+=_0x301f8a(0x14d)+_0x1665d3(_0x1a8778[_0x301f8a(0x14f)],_0x1a8778[_0x301f8a(0x136)])+_0x301f8a(0x15d);return _0x2ae894?_0x501aef:_0x4a83de(_0x501aef,{'limit':0x8c});}),this[_0x287467(0x12e)]=null,this[_0x287467(0x139)]=new _0x52a69a[(_0x287467(0x159))](_0x13e185,_0x21514a,{'formatDateTime':_0x52a69a[_0x287467(0x15e)]}),this[_0x287467(0x139)][_0x287467(0x138)](_0x287467(0x160))['to'](this),this[_0x287467(0x139)][_0x287467(0x13f)](_0x287467(0x144),_0x287467(0x164))['to'](this),this[_0x287467(0x139)][_0x287467(0x162)][_0x287467(0x138)](_0x287467(0x13e))['to'](this,_0x287467(0x12f)),this[_0x287467(0x139)][_0x287467(0x150)][_0x287467(0x138)](_0x287467(0x13e))['to'](this,_0x287467(0x147)),this[_0x287467(0x14b)][_0x287467(0x13a)](this[_0x287467(0x139)]),this[_0x287467(0x152)]&&this[_0x287467(0x14b)][_0x287467(0x13a)](this[_0x287467(0x152)]),this[_0x287467(0x166)]&&this[_0x287467(0x14b)][_0x287467(0x13a)](this[_0x287467(0x166)]),this[_0x287467(0x12d)](this[_0x287467(0x151)]());}[_0x73133(0x151)](){const _0x147a74=_0x73133,_0x53b269=this[_0x147a74(0x131)],_0x57087f=[this[_0x147a74(0x139)]];return this[_0x147a74(0x152)]&&_0x57087f[_0x147a74(0x149)](this[_0x147a74(0x152)]),this[_0x147a74(0x166)]&&_0x57087f[_0x147a74(0x149)](this[_0x147a74(0x166)]),_0x57087f[_0x147a74(0x149)](this[_0x147a74(0x145)]),{'tag':_0x147a74(0x155),'attributes':{'class':['ck',_0x147a74(0x15c),_0x147a74(0x163),_0x53b269['if'](_0x147a74(0x13d),_0x147a74(0x14a)),_0x53b269['to'](_0x147a74(0x148),_0x1daa15=>_0x147a74(0x15f)+_0x1daa15),this[_0x147a74(0x14c)][_0x147a74(0x146)]&&_0x147a74(0x132)],'data-suggestion-id':this[_0x147a74(0x153)]['id'],'data-thread-id':this[_0x147a74(0x153)][_0x147a74(0x141)]['id'],'data-author-id':this[_0x147a74(0x153)][_0x147a74(0x137)]['id'],'tabindex':0x0,'role':_0x147a74(0x15a),'aria-label':_0x53b269['to'](_0x147a74(0x13c)),'aria-describedby':this[_0x147a74(0x145)]['id']},'children':_0x57087f};}[_0x73133(0x142)](){const _0x1b656a=_0x73133;super[_0x1b656a(0x142)](),this[_0x1b656a(0x152)]&&(this[_0x1b656a(0x152)][_0x1b656a(0x13f)](_0x1b656a(0x130))['to'](this),this[_0x1b656a(0x152)][_0x1b656a(0x13f)](_0x1b656a(0x156))['to'](this)),this[_0x1b656a(0x166)]&&(this[_0x1b656a(0x166)][_0x1b656a(0x13f)](_0x1b656a(0x130))['to'](this),this[_0x1b656a(0x166)][_0x1b656a(0x13f)](_0x1b656a(0x156))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4baf6a=_0x5bb9;function _0x2d4f(){const _0x3e3190=['formatDateTime','discardButton','listenTo','1504956MGDUTy','push','ck-annotation__user','acceptButton','bindTemplate','ck-annotation__actions','_config','ck-annotation__main','ck-suggestion__user','190lGbRdB','getUserViewNotificationText','change:description','bind','div','querySelector','esc','importWord','1253084gvEgim','set','ck-annotation','@external','EXTERNAL_IMPORT_WORD_AVATAR','fire','focusCycler','ck-suggestion__actions','extendTemplate','EXTERNAL_AVATAR','44989PvQNdF','_setupKeyboardNavigation','ck-comment__external','description','ck-suggestion__main','discardSuggestion','creator','render','name','enter','ck-annotation__info-time','103449AdcoUW','userView','locale','ck-suggestion--discard','authoredAt','tab','ck-annotation__content-wrapper','element','ck-suggestion','getExternalSuggestionNote','ck-suggestion__info-name','add','ck-comment__info-time','span','acceptSuggestion','getTemplate','6800365cEKorP','13115sZxkZS','source','presentation','time','11NiLkDb','ck-suggestion--accept','author','354fjTMdL','setTemplate','Accept\x20suggestion','target','454131ygNfEP','_createButton','ck-annotation__info','Discard\x20suggestion','attributes','innerHTML','focusables','focusTracker','focus','EXTERNAL_IMPORT_WORD_SUGGESTION','_model','20VDfFvK','.ck-annotation__content-wrapper','keystrokes','ck-suggestion__info','16BjCPHm','isExternal','execute','shift+tab','EXTERNAL_SUGGESTION','ck-annotation__info-name','9ptUucB','focusFirst'];_0x2d4f=function(){return _0x3e3190;};return _0x2d4f();}(function(_0x19f8fa,_0x3dcea0){const _0x31a655=_0x5bb9,_0x30659f=_0x19f8fa();while(!![]){try{const _0x31fc9a=parseInt(_0x31a655(0x12e))/0x1*(parseInt(_0x31a655(0x155))/0x2)+parseInt(_0x31a655(0x15f))/0x3*(-parseInt(_0x31a655(0x175))/0x4)+-parseInt(_0x31a655(0x13f))/0x5*(-parseInt(_0x31a655(0x146))/0x6)+-parseInt(_0x31a655(0x17f))/0x7*(parseInt(_0x31a655(0x159))/0x8)+parseInt(_0x31a655(0x14a))/0x9*(parseInt(_0x31a655(0x16d))/0xa)+-parseInt(_0x31a655(0x143))/0xb*(parseInt(_0x31a655(0x164))/0xc)+-parseInt(_0x31a655(0x13e))/0xd;if(_0x31fc9a===_0x3dcea0)break;else _0x30659f['push'](_0x30659f['shift']());}catch(_0x1f7747){_0x30659f['push'](_0x30659f['shift']());}}}(_0x2d4f,0x857df));import{FocusTracker as _0x55400f,KeystrokeHandler as _0x3cc8dc}from'ckeditor5/src/utils.js';import{View as _0x5de4bc,ViewCollection as _0x2175ba,FocusCycler as _0x3ea678}from'ckeditor5/src/ui.js';function _0x5bb9(_0x2bc091,_0x36c84f){const _0x2d4fb7=_0x2d4f();return _0x5bb9=function(_0x5bb9c9,_0x48bcba){_0x5bb9c9=_0x5bb9c9-0x12c;let _0x142437=_0x2d4fb7[_0x5bb9c9];return _0x142437;},_0x5bb9(_0x2bc091,_0x36c84f);}import{LateFocusButtonView as _0x3d70d0,UserView as _0x10e83f}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x289eb9,IconCheck as _0xbd09f}from'ckeditor5/src/icons.js';import{getTranslation as _0x2dc1bd}from'../../utils/common-translations.js';export class SuggestionView extends _0x5de4bc{[_0x4baf6a(0x12f)];[_0x4baf6a(0x167)];[_0x4baf6a(0x162)];[_0x4baf6a(0x150)];[_0x4baf6a(0x151)];[_0x4baf6a(0x157)];[_0x4baf6a(0x17b)];[_0x4baf6a(0x154)];[_0x4baf6a(0x16a)];constructor(_0x3a3b7f,_0x5b3a17,_0x1c0c0c){const _0x463ea9=_0x4baf6a;super(_0x3a3b7f),this[_0x463ea9(0x154)]=_0x5b3a17,this[_0x463ea9(0x16a)]=_0x1c0c0c,this[_0x463ea9(0x176)](_0x463ea9(0x182),''),this[_0x463ea9(0x170)](_0x463ea9(0x132))['to'](_0x5b3a17),this[_0x463ea9(0x167)]=this[_0x463ea9(0x14b)](_0x2dc1bd(_0x3a3b7f,_0x463ea9(0x148)),_0xbd09f,_0x463ea9(0x144),_0x463ea9(0x13c),'sw'),this[_0x463ea9(0x162)]=this[_0x463ea9(0x14b)](_0x2dc1bd(_0x3a3b7f,_0x463ea9(0x14d)),_0x289eb9,_0x463ea9(0x131),_0x463ea9(0x184),'sw'),this[_0x463ea9(0x12f)]=new _0x10e83f(_0x3a3b7f,_0x5b3a17[_0x463ea9(0x145)],this[_0x463ea9(0x16e)]()),this[_0x463ea9(0x12f)][_0x463ea9(0x17d)]({'attributes':{'class':[_0x463ea9(0x16c),_0x463ea9(0x166)],'aria-hidden':!0x0}}),this[_0x463ea9(0x150)]=new _0x2175ba([this[_0x463ea9(0x167)],this[_0x463ea9(0x162)]]),this[_0x463ea9(0x151)]=new _0x55400f(),this[_0x463ea9(0x157)]=new _0x3cc8dc(),this[_0x463ea9(0x17b)]=new _0x3ea678({'focusables':this[_0x463ea9(0x150)],'focusTracker':this[_0x463ea9(0x151)],'keystrokeHandler':this[_0x463ea9(0x157)],'actions':{'focusPrevious':_0x463ea9(0x15c),'focusNext':_0x463ea9(0x133)},'keystrokeHandlerOptions':{'filter':_0x2bc321=>_0x2bc321[_0x463ea9(0x149)]!==this[_0x463ea9(0x135)]}}),this[_0x463ea9(0x147)](this[_0x463ea9(0x13d)]());}[_0x4baf6a(0x186)](){const _0x1fd45e=_0x4baf6a;super[_0x1fd45e(0x186)]();const _0x56ca25=this[_0x1fd45e(0x135)][_0x1fd45e(0x172)](_0x1fd45e(0x156));_0x56ca25[_0x1fd45e(0x14f)]=this[_0x1fd45e(0x182)],this['on'](_0x1fd45e(0x16f),(_0x99acb0,_0x399d8e,_0x41515b)=>{const _0x1206ac=_0x1fd45e;_0x56ca25[_0x1206ac(0x14f)]=_0x41515b;}),this[_0x1fd45e(0x180)]();}[_0x4baf6a(0x13d)](){const _0x4f2ede=_0x4baf6a,_0x14cee2=this[_0x4f2ede(0x168)],_0x486ed3=[{'tag':_0x4f2ede(0x171),'attributes':{'class':[_0x4f2ede(0x158),_0x4f2ede(0x14c)]},'children':[{'tag':_0x4f2ede(0x13b),'children':[{'text':this[_0x4f2ede(0x12f)][_0x4f2ede(0x187)]}],'attributes':{'class':[_0x4f2ede(0x138),_0x4f2ede(0x15e)],'data-cke-tooltip-text':this[_0x4f2ede(0x12f)][_0x4f2ede(0x187)]}},{'tag':_0x4f2ede(0x142),'attributes':{'datetime':_0x14cee2['to'](_0x4f2ede(0x132)),'class':[_0x4f2ede(0x13a),_0x4f2ede(0x12d)]},'children':[{'text':_0x14cee2['to'](_0x4f2ede(0x132),_0x18aaba=>this[_0x4f2ede(0x16a)][_0x4f2ede(0x161)](_0x18aaba))}]}]},{'tag':_0x4f2ede(0x171),'attributes':{'class':[_0x4f2ede(0x17c),_0x4f2ede(0x169)]},'children':[this[_0x4f2ede(0x167)],this[_0x4f2ede(0x162)]]},{'tag':_0x4f2ede(0x171),'attributes':{'class':[_0x4f2ede(0x134)]}}];return this[_0x4f2ede(0x154)][_0x4f2ede(0x15a)]&&_0x486ed3[_0x4f2ede(0x165)]({'tag':_0x4f2ede(0x171),'attributes':{'class':[_0x4f2ede(0x181)]},'children':[{'text':this[_0x4f2ede(0x137)]()}]}),{'tag':_0x4f2ede(0x171),'attributes':{'class':[_0x4f2ede(0x136),_0x4f2ede(0x177)],'tabindex':-0x1},'children':[this[_0x4f2ede(0x12f)],{'tag':_0x4f2ede(0x171),'attributes':{'class':[_0x4f2ede(0x183),_0x4f2ede(0x16b)],'role':_0x4f2ede(0x141)},'children':_0x486ed3}]};}[_0x4baf6a(0x152)](){const _0x376dfc=_0x4baf6a;this[_0x376dfc(0x135)][_0x376dfc(0x152)]();}[_0x4baf6a(0x16e)](){const _0x37bbd0=_0x4baf6a;return this[_0x37bbd0(0x154)][_0x37bbd0(0x15a)]?_0x37bbd0(0x174)===this[_0x37bbd0(0x154)][_0x37bbd0(0x14e)][_0x37bbd0(0x178)][_0x37bbd0(0x140)]?_0x2dc1bd(this[_0x37bbd0(0x130)],_0x37bbd0(0x179),this[_0x37bbd0(0x154)][_0x37bbd0(0x185)][_0x37bbd0(0x187)]):_0x2dc1bd(this[_0x37bbd0(0x130)],_0x37bbd0(0x17e),this[_0x37bbd0(0x154)][_0x37bbd0(0x185)][_0x37bbd0(0x187)]):null;}[_0x4baf6a(0x137)](){const _0x311042=_0x4baf6a;return _0x311042(0x174)===this[_0x311042(0x154)][_0x311042(0x14e)][_0x311042(0x178)][_0x311042(0x140)]?_0x2dc1bd(this[_0x311042(0x130)],_0x311042(0x153)):_0x2dc1bd(this[_0x311042(0x130)],_0x311042(0x15d));}[_0x4baf6a(0x14b)](_0x126de8,_0x4bc60f,_0x36866f,_0x2a4110,_0x5dd434){const _0xa1bdb9=_0x4baf6a,_0x21bf2d=new _0x3d70d0(this[_0xa1bdb9(0x130)]);return _0x21bf2d[_0xa1bdb9(0x176)]({'label':_0x126de8,'icon':_0x4bc60f,'tooltip':!0x0,'tooltipPosition':_0x5dd434}),_0x21bf2d[_0xa1bdb9(0x17d)]({'attributes':{'class':_0x36866f}}),_0x21bf2d['on'](_0xa1bdb9(0x15b),()=>{const _0x2b70f0=_0xa1bdb9;this[_0x2b70f0(0x17a)](_0x2a4110,this[_0x2b70f0(0x154)]['id']);}),_0x21bf2d;}[_0x4baf6a(0x180)](){const _0x3d3acd=_0x4baf6a,_0x5799b9=this[_0x3d3acd(0x135)];this[_0x3d3acd(0x157)][_0x3d3acd(0x163)](_0x5799b9);for(const _0x459366 of this[_0x3d3acd(0x150)])this[_0x3d3acd(0x151)][_0x3d3acd(0x139)](_0x459366[_0x3d3acd(0x135)]),this[_0x3d3acd(0x157)][_0x3d3acd(0x163)](_0x459366[_0x3d3acd(0x135)]);this[_0x3d3acd(0x157)][_0x3d3acd(0x176)](_0x3d3acd(0x12c),(_0x6303d5,_0x378ecb)=>{const _0x2898b0=_0x3d3acd;_0x5799b9===_0x6303d5[_0x2898b0(0x149)]&&(this[_0x2898b0(0x17b)][_0x2898b0(0x160)](),_0x378ecb());}),this[_0x3d3acd(0x157)][_0x3d3acd(0x176)](_0x3d3acd(0x173),(_0x36cbbb,_0x16b3f6)=>{const _0x1e7755=_0x3d3acd;_0x5799b9!==_0x36cbbb[_0x1e7755(0x149)]&&(this[_0x1e7755(0x152)](),_0x16b3f6());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5a7f(){const _0xcf9013=['setAttribute','\x20ck-track-changes-preview__root-container','height','1080TdxiRr','setPreviewData','style','9514967GFmxCs','ck-track-changes-preview','30ZGmICE','setTemplate','254881Caizzp','innerHTML','ck-reset','element','273aGHEjn','previewDataReady','createElement','9687618LJLvDK','908nboFtx','classes','focus','3329672PiuZZI','render','className','fire','428EWdhkb','options','content','div','45ZXBIIw','data-ck-root-name','1552710hcfmif','dialogRects','width','push'];_0x5a7f=function(){return _0xcf9013;};return _0x5a7f();}const _0x540055=_0x43bc;function _0x43bc(_0x131f6f,_0x200f48){const _0x5a7fa2=_0x5a7f();return _0x43bc=function(_0x43bceb,_0x14cad8){_0x43bceb=_0x43bceb-0x191;let _0x34252b=_0x5a7fa2[_0x43bceb];return _0x34252b;},_0x43bc(_0x131f6f,_0x200f48);}(function(_0x4e94f0,_0xc6fb33){const _0x17b033=_0x43bc,_0x24e0a7=_0x4e94f0();while(!![]){try{const _0x26e319=-parseInt(_0x17b033(0x1b3))/0x1*(parseInt(_0x17b033(0x194))/0x2)+-parseInt(_0x17b033(0x19f))/0x3*(parseInt(_0x17b033(0x19b))/0x4)+parseInt(_0x17b033(0x1a1))/0x5*(-parseInt(_0x17b033(0x1ad))/0x6)+-parseInt(_0x17b033(0x1ab))/0x7+parseInt(_0x17b033(0x197))/0x8+parseInt(_0x17b033(0x193))/0x9+parseInt(_0x17b033(0x1a8))/0xa*(parseInt(_0x17b033(0x1af))/0xb);if(_0x26e319===_0xc6fb33)break;else _0x24e0a7['push'](_0x24e0a7['shift']());}catch(_0x317d08){_0x24e0a7['push'](_0x24e0a7['shift']());}}}(_0x5a7f,0xe9c65));import{View as _0x2916b2}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x2916b2{[_0x540055(0x19c)];constructor(_0x5806c4,_0x43b762){const _0x1bc796=_0x540055;super(_0x5806c4),this[_0x1bc796(0x19c)]=_0x43b762,this[_0x1bc796(0x1ae)]({'tag':_0x1bc796(0x19e),'attributes':{'class':['ck',_0x1bc796(0x1b1),_0x1bc796(0x1ac)],'tabindex':-0x1}});}[_0x540055(0x198)](){const _0x31059f=_0x540055;super[_0x31059f(0x198)](),this[_0x31059f(0x1b2)][_0x31059f(0x1aa)][_0x31059f(0x1a3)]=this[_0x31059f(0x19c)][_0x31059f(0x1a2)][_0x31059f(0x1a3)]+'px',this[_0x31059f(0x1b2)][_0x31059f(0x1aa)][_0x31059f(0x1a7)]=this[_0x31059f(0x19c)][_0x31059f(0x1a2)][_0x31059f(0x1a7)]+'px';}[_0x540055(0x1a9)](_0x1e2525,_0x1af4ef){const _0x41f1bf=_0x540055;if(!this[_0x41f1bf(0x1b2)])return;const _0x5b79a3=[];for(const [_0x517806,_0x226615]of _0x1e2525){const _0x23b796=document[_0x41f1bf(0x192)](_0x41f1bf(0x19e));_0x23b796[_0x41f1bf(0x1a5)](_0x41f1bf(0x1a0),_0x517806),_0x23b796[_0x41f1bf(0x199)]=_0x226615[_0x41f1bf(0x195)]+_0x41f1bf(0x1a6),_0x23b796[_0x41f1bf(0x1b0)]=_0x226615[_0x41f1bf(0x19d)],_0x5b79a3[_0x41f1bf(0x1a4)](_0x23b796);}_0x1af4ef(this[_0x41f1bf(0x1b2)],_0x5b79a3),this[_0x41f1bf(0x1b2)][_0x41f1bf(0x1aa)][_0x41f1bf(0x1a7)]='',this[_0x41f1bf(0x19a)](_0x41f1bf(0x191));}[_0x540055(0x196)](){const _0x80843f=_0x540055;this[_0x80843f(0x1b2)][_0x80843f(0x196)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x12f3a2,_0x540e31,_0x22ca13){const _0x3969da=_0x12f3a2['t'],t=_0x12f3a2['t'];switch(_0x540e31){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',_0x22ca13);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x22ca13);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x22ca13);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x22ca13);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x22ca13);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',_0x22ca13);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x22ca13);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',_0x22ca13);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x22ca13);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x22ca13);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x22ca13);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x22ca13);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x22ca13);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x22ca13);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x22ca13);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x22ca13);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x22ca13);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x22ca13);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x22ca13);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x22ca13);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x22ca13);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x22ca13);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x22ca13);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x22ca13);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x22ca13);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'},_0x22ca13);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x22ca13);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x22ca13);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x22ca13);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x22ca13);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x22ca13);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x22ca13);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x22ca13);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x22ca13);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x22ca13);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x22ca13);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'},_0x22ca13);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x22ca13);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x22ca13);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x22ca13);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 _0x3969da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x22ca13);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3969da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x22ca13);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x22ca13);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'},_0x22ca13);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'},_0x22ca13);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'},_0x22ca13);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x540e31;}}
|
|
23
|
+
export function getTranslation(_0x1850b9,_0x21468b,_0x1bdeb6){const _0xa15e1=_0x1850b9['t'],t=_0x1850b9['t'];switch(_0x21468b){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',_0x1bdeb6);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1bdeb6);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1bdeb6);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1bdeb6);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1bdeb6);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',_0x1bdeb6);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1bdeb6);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',_0x1bdeb6);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1bdeb6);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1bdeb6);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1bdeb6);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1bdeb6);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1bdeb6);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1bdeb6);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1bdeb6);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1bdeb6);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1bdeb6);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1bdeb6);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1bdeb6);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1bdeb6);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1bdeb6);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1bdeb6);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1bdeb6);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1bdeb6);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1bdeb6);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1bdeb6);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1bdeb6);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1bdeb6);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1bdeb6);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1bdeb6);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'},_0x1bdeb6);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1bdeb6);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1bdeb6);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1bdeb6);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 _0xa15e1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1bdeb6);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xa15e1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1bdeb6);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1bdeb6);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'},_0x1bdeb6);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'},_0x1bdeb6);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'},_0x1bdeb6);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x21468b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc7c021,_0x291283){const _0x1f954b=_0x408c,_0x54ef82=_0xc7c021();while(!![]){try{const _0x168e65=parseInt(_0x1f954b(0x10f))/0x1+parseInt(_0x1f954b(0xfa))/0x2*(parseInt(_0x1f954b(0x10b))/0x3)+-parseInt(_0x1f954b(0x102))/0x4*(parseInt(_0x1f954b(0xf5))/0x5)+parseInt(_0x1f954b(0x11a))/0x6+-parseInt(_0x1f954b(0xf4))/0x7+parseInt(_0x1f954b(0x100))/0x8+-parseInt(_0x1f954b(0x111))/0x9;if(_0x168e65===_0x291283)break;else _0x54ef82['push'](_0x54ef82['shift']());}catch(_0x213af1){_0x54ef82['push'](_0x54ef82['shift']());}}}(_0x36cf,0x9abd6));function _0x408c(_0x49bd64,_0x58f21e){const _0x36cf97=_0x36cf();return _0x408c=function(_0x408cb3,_0x3d8a98){_0x408cb3=_0x408cb3-0xf4;let _0x2dc5a8=_0x36cf97[_0x408cb3];return _0x2dc5a8;},_0x408c(_0x49bd64,_0x58f21e);}export function normalizeDescription(_0x2a7b45){const _0x451fd5=_0x408c;return Array[_0x451fd5(0x10c)](_0x2a7b45)||(_0x2a7b45=[_0x2a7b45]),_0x2a7b45[_0x451fd5(0x115)](_0x5d73b4=>{const _0x5e2082=_0x451fd5,_0x5e3692=_0x5d73b4[_0x5e2082(0x121)][_0x5e2082(0x101)](/\*/g,''),_0x18004f=_0x5d73b4[_0x5e2082(0x112)]?_0x5e2082(0x114)+_0x5d73b4[_0x5e2082(0x112)][_0x5e2082(0x129)]+']':'';return'['+_0x5d73b4[_0x5e2082(0xfe)]+']\x20'+_0x5e3692+_0x18004f;})[_0x451fd5(0x125)](';\x20');}export function renderDescription(_0x3a158c,_0x14c2bb){const _0x2cea76=_0x408c;let _0x29c7e0='';return _0x29c7e0+=_0x3a158c[_0x2cea76(0x110)]('*')[_0x2cea76(0x115)]((_0x477a8a,_0x30d2a7)=>_0x30d2a7%0x2!=0x0?_0x2cea76(0xf8)+Zt(_0x477a8a)+_0x2cea76(0x11d):Zt(_0x477a8a))[_0x2cea76(0x125)](''),_0x14c2bb&&(_0x29c7e0+=_0x2cea76(0x11f)+_0x14c2bb[_0x2cea76(0x129)]+_0x2cea76(0xfc)+_0x14c2bb[_0x2cea76(0x10e)]+_0x2cea76(0xfb)),_0x29c7e0;}function Zt(_0x4ae05e){const _0x147501=_0x408c,_0x124669=document[_0x147501(0x11c)](_0x147501(0x11e));return _0x124669[_0x147501(0xf9)]=_0x4ae05e,_0x124669[_0x147501(0x122)];}export function sortSuggestions(_0x22da01){const _0x52e37c=_0x408c;return _0x22da01[_0x52e37c(0x116)]((_0x4e1f59,_0x130ed5)=>_0x52e37c(0x127)===_0x4e1f59[_0x52e37c(0xfe)]&&_0x52e37c(0x127)!==_0x130ed5[_0x52e37c(0xfe)]?-0x1:_0x52e37c(0x127)!==_0x4e1f59[_0x52e37c(0xfe)]&&_0x52e37c(0x127)===_0x130ed5[_0x52e37c(0xfe)]?0x1:_0x52e37c(0x105)==_0x4e1f59[_0x52e37c(0xfe)]&&_0x52e37c(0x105)!=_0x130ed5[_0x52e37c(0xfe)]?-0x1:_0x52e37c(0x105)!=_0x4e1f59[_0x52e37c(0xfe)]&&_0x52e37c(0x105)==_0x130ed5[_0x52e37c(0xfe)]?0x1:0x0);}export function getSelectedSuggestions(_0x15cdd8,_0x420a5d){const _0x302e59=_0x408c,_0x10cd62=Array[_0x302e59(0x106)](_0x15cdd8[_0x302e59(0x118)]()),_0xe64297=new Set();for(const _0x233a9a of _0x420a5d)if(_0x233a9a[_0x302e59(0x104)]){for(const _0x247fe0 of _0x10cd62)for(const _0x2d8559 of _0x233a9a[_0x302e59(0x118)]())(_0x247fe0[_0x302e59(0x117)](_0x2d8559)||_0x15cdd8[_0x302e59(0x108)]&&!_0x233a9a[_0x302e59(0x109)]&&_0x233a9a[_0x302e59(0x120)]&&_0x2d8559[_0x302e59(0xfd)][_0x302e59(0x124)](_0x247fe0[_0x302e59(0xf7)]))&&_0xe64297[_0x302e59(0x103)](_0x233a9a);}return _0xe64297;}export function getRangesOfBlockGroups(_0x52e0f4,_0x3394e7){const _0x188913=_0x408c;let _0x86a0b9,_0x5e6769=0x0;const _0x4cbd2f=[],_0x42ef9f=_0x3394e7[_0x188913(0x10d)];for(;_0x5e6769<_0x52e0f4[_0x188913(0x123)];){const _0x2f66a6=_0x52e0f4[_0x5e6769],_0x1461a8=_0x52e0f4[_0x5e6769+0x1];_0x86a0b9||(_0x86a0b9=_0x3394e7[_0x188913(0x119)](_0x2f66a6)),tn(_0x3394e7,_0x2f66a6,_0x1461a8)||(_0x4cbd2f[_0x188913(0x11b)](_0x3394e7[_0x188913(0x10a)](_0x86a0b9,_0x42ef9f[_0x188913(0x128)](_0x2f66a6)?_0x3394e7[_0x188913(0x107)](_0x2f66a6):_0x3394e7[_0x188913(0x126)](_0x2f66a6,_0x188913(0xfd)))),_0x86a0b9=null),_0x5e6769++;}return _0x4cbd2f;}function tn(_0x471f81,_0x2dd24d,_0xf92207){const _0x293d51=_0x408c;if(!_0xf92207)return!0x1;const _0x53e115=_0x471f81[_0x293d51(0x107)](_0x2dd24d),_0x559c05=_0x471f81[_0x293d51(0x119)](_0xf92207);return _0x53e115[_0x293d51(0x124)](_0x559c05);}function _0x36cf(){const _0x13e92f=['2930221XZKqfJ','540NYyjCS','splice','start','<span\x20class=\x22ck-suggestion-type\x22>','innerText','122qNSbrQ','\x22></span>','\x22\x20title=\x22','end','type','change','457952HZEYyc','replace','1016pRkVMV','add','isInContent','deletion','from','createPositionAfter','isCollapsed','isMultiRange','createRange','36681UbcuiO','isArray','schema','title','239084nKUSyr','split','4785696dJaCpK','color','execute','\x20[color\x20','map','sort','isIntersecting','getRanges','createPositionBefore','3416508SYKvww','push','createElement','</span>','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','next','content','innerHTML','length','isTouching','join','createPositionAt','attribute','isObject','value'];_0x36cf=function(){return _0x13e92f;};return _0x36cf();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x59223b,_0x3ef419,_0x169490){const _0x3c07f7=_0x408c;for(;_0x169490[_0x3c07f7(0x123)];){const _0x266e9f=_0x169490[_0x3c07f7(0xf6)](0x0,0x64);_0x59223b[_0x3c07f7(0xff)](()=>{const _0x493931=_0x3c07f7;for(const _0x3113be of _0x266e9f)_0x3113be[_0x493931(0x104)]&&_0x3ef419[_0x493931(0x113)](_0x3113be['id']);});}}
|