@ckeditor/ckeditor5-track-changes 47.5.0-alpha.6 → 47.5.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc239c4=_0xc704;(function(_0x24ace0,_0x3c4109){const _0x5361be=_0xc704,_0x414b29=_0x24ace0();while(!![]){try{const _0x22eb01=parseInt(_0x5361be(0xde))/0x1*(-parseInt(_0x5361be(0xd5))/0x2)+-parseInt(_0x5361be(0xdc))/0x3+parseInt(_0x5361be(0xd9))/0x4+-parseInt(_0x5361be(0xd1))/0x5*(parseInt(_0x5361be(0xe5))/0x6)+-parseInt(_0x5361be(0xe0))/0x7*(parseInt(_0x5361be(0xe1))/0x8)+-parseInt(_0x5361be(0xda))/0x9+parseInt(_0x5361be(0xd2))/0xa;if(_0x22eb01===_0x3c4109)break;else _0x414b29['push'](_0x414b29['shift']());}catch(_0x1844b0){_0x414b29['push'](_0x414b29['shift']());}}}(_0x1223,0x67738));import{Plugin as _0x1e6334}from'ckeditor5/src/core.js';import{Dialog as _0x152476}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x8805df}from'./trackchangesdata.js';function _0x1223(){const _0x263bb4=['trackChanges.preview.renderFunction','2945940SBxoBK','4233924TMDafV','commands','1889463MaFhAt','isOfficialPlugin','15SrHrjK','isPremiumPlugin','21490lNowTF','1424gWRhOM','requires','editor','pluginName','199866YxJrje','appendChild','config','115XHfoZF','28671160fyjYlz','TrackChangesPreview','add','102266QOItHp','define','previewFinalContent'];_0x1223=function(){return _0x263bb4;};return _0x1223();}function _0xc704(_0x5b35f4,_0x1749fe){const _0x122384=_0x1223();return _0xc704=function(_0xc704b3,_0x388827){_0xc704b3=_0xc704b3-0xd1;let _0x59f32a=_0x122384[_0xc704b3];return _0x59f32a;},_0xc704(_0x5b35f4,_0x1749fe);}import{PreviewFinalContentCommand as _0x56657d}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x1e6334{static get[_0xc239c4(0xe2)](){return[_0x8805df,_0x152476];}static get[_0xc239c4(0xe4)](){const _0x1602af=_0xc239c4;return _0x1602af(0xd3);}static get[_0xc239c4(0xdd)](){return!0x0;}static get[_0xc239c4(0xdf)](){return!0x0;}constructor(_0x583d0f){const _0x405422=_0xc239c4;super(_0x583d0f),_0x583d0f[_0x405422(0xdb)][_0x405422(0xd4)](_0x405422(0xd7),new _0x56657d(this[_0x405422(0xe3)])),_0x583d0f[_0x405422(0xe7)][_0x405422(0xd6)](_0x405422(0xd8),(_0x148eb9,_0xdc15df)=>{const _0x922ae8=_0x405422;for(const _0x1c8fb1 of _0xdc15df)_0x148eb9[_0x922ae8(0xe6)](_0x1c8fb1);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x11b6(){const _0x3e1c60=['_suggestionToController','switchbutton','_refreshActiveMarkers','getAllAdjacentSuggestions','descriptionFactory','_annotationViews','has','view','trackChangesLicenseKeyDomainLimit','change:activeAnnotations','EditorAnnotations','get','CommentsRepository','unbind','innerView','SuggestionThreadView','_destroyController','activeMarkers','menu','remove','getDescriptions','18nedBQk','keys','bind','menuitem','8241957YfawXk','8302105lkZPic','invalid','trackChangesLicenseKeyUsageLimit','acceptSelectedSuggestions','reduce','addSourceCollector','from','addMany','8gBehIV','_createMenuBarMenu','editing','Accept\x20all\x20suggestions','_addUIComponentsToFactory','fire','_disableComments','CommentsUI','trackChanges.SuggestionView','_bindAnnotationToEditors','discardSelectedSuggestions','editor','Preview\x20final\x20content','some','75907znCPFs','destroy','stopListening','listenTo','comments','focus','Discard\x20all\x20selected\x20suggestions','previous','toMany','previewFinalContent','isOfficialPlugin','change:previous','hasSuggestion','2156uWJquD','CommentView','suggestionChanged','escape','actionView','getJoined','length','_licenseKeyCheckInterval','requires','Accept\x20all\x20selected\x20suggestions','execute','105maUiwa','getMarkers','usageLimit','trackChanges.disableComments','commandName','licenseKey','panelView','discardAllSuggestions','Discard\x20all\x20suggestions','arrowView','model','isOn','descriptionParts','init','suggestion-','trackChangesLicenseKeyEvaluationLimit','getRanges','TrackChanges','add','push','1151475bqCTbr','_unbindEditors','comments.maxThreadTotalWeight','buttonView','componentFactory','getByInnerView','isEnabled','TrackChangesUI','getMarkerNames','createAnnotation','trackChanges.SuggestionThreadView','lowest','mainView','delete','isPremiumPlugin','SuggestionView','discardButton','isMultiRange','getFirstRange','config','activeAnnotations','getAnnotationForSuggestion','Track\x20changes','comments.editorConfig','_handleControllerBuffer','locale','132SwtOgF','menuitemcheckbox','6uEEZQb','evaluationLimit','114424OFrEqS','_handleSuggestionControllerDelayed','createAnnotationView','trackChangesLicenseKeyNotAllowed','expired','_createToolbarButton','createCommentThreadController','delegate','head','getSuggestionForAnnotation','TrackChangesEditing','commentsListView','1397LfcOvM','define','trackChangesLicenseKeyInvalid','plugins','getSuggestion','trackChangesLicenseKeyValid','_viewToController','isDirty','size','domainLimit','set','menuBar:trackChanges','180IGxPvZ','acceptButton','comments.maxCommentsWhenCollapsed','suggestionUnloaded','children','_updateController','suggestionLoaded','items','type','separator','_showLicenseError','clear','acceptAllSuggestions','addComment','comments.maxCommentCharsWhenCollapsed','suggestionView','commands','TrackChangesPreview','refreshSelectedViews','values','filter','_initializeController','source','button','value','registerAnnotation','featureNotAllowed','pluginName','Annotations','trackChanges','trackChangesLicenseKeyExpired','commentThread','isInContent'];_0x11b6=function(){return _0x3e1c60;};return _0x11b6();}const _0x5e5204=_0x505e;(function(_0x24126d,_0x60d3a7){const _0x21fdb2=_0x505e,_0x4e6e8b=_0x24126d();while(!![]){try{const _0x215b3c=-parseInt(_0x21fdb2(0x1ce))/0x1*(-parseInt(_0x21fdb2(0x1cc))/0x2)+-parseInt(_0x21fdb2(0x19c))/0x3*(parseInt(_0x21fdb2(0x244))/0x4)+parseInt(_0x21fdb2(0x1b0))/0x5*(parseInt(_0x21fdb2(0x21c))/0x6)+parseInt(_0x21fdb2(0x221))/0x7*(-parseInt(_0x21fdb2(0x229))/0x8)+parseInt(_0x21fdb2(0x220))/0x9+-parseInt(_0x21fdb2(0x1e6))/0xa*(-parseInt(_0x21fdb2(0x1da))/0xb)+-parseInt(_0x21fdb2(0x1ca))/0xc*(parseInt(_0x21fdb2(0x237))/0xd);if(_0x215b3c===_0x60d3a7)break;else _0x4e6e8b['push'](_0x4e6e8b['shift']());}catch(_0x51782e){_0x4e6e8b['push'](_0x4e6e8b['shift']());}}}(_0x11b6,0xa6c63));function _0x505e(_0xd58b97,_0x22fb90){const _0x11b623=_0x11b6();return _0x505e=function(_0x505ed7,_0xc6f5a2){_0x505ed7=_0x505ed7-0x196;let _0x52d62c=_0x11b623[_0x505ed7];return _0x52d62c;},_0x505e(_0xd58b97,_0x22fb90);}import{Plugin as _0x133910}from'ckeditor5/src/core.js';import{Collection as _0x10a91b}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x5e96f5}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1ff303,createDropdown as _0x1e4e40,ListSeparatorView as _0x32f701,MenuBarMenuView as _0x1d6bf6,MenuBarMenuListView as _0x23b32d,MenuBarMenuListItemView as _0x13cda3,MenuBarMenuListItemButtonView as _0x48d054,SplitButtonView as _0x439d6d,UIModel as _0x13895f}from'ckeditor5/src/ui.js';import{Users as _0x344f33,getDateTimeFormatter as _0xc4b3d0,getAllMarkersDomElementsSorted as _0x496551}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x286bb4}from'./trackchangesediting.js';import{SuggestionController as _0x3c442a}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x37eb40}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x38ae68}from'./ui/view/suggestionview.js';import{getTranslation as _0x2f031b}from'./utils/common-translations.js';export class TrackChangesUI extends _0x133910{[_0x5e5204(0x1a1)];[_0x5e5204(0x198)];[_0x5e5204(0x207)];[_0x5e5204(0x1e0)];[_0x5e5204(0x20c)];[_0x5e5204(0x1c8)];[_0x5e5204(0x22f)];static get[_0x5e5204(0x199)](){const _0x352053=_0x5e5204;return[_0x286bb4,_0x344f33,_0x352053(0x213),_0x352053(0x202),_0x352053(0x211)];}static get[_0x5e5204(0x201)](){const _0x402dc7=_0x5e5204;return _0x402dc7(0x1b7);}static get[_0x5e5204(0x241)](){return!0x0;}static get[_0x5e5204(0x1be)](){return!0x0;}constructor(_0x244bb7){const _0x52304d=_0x5e5204;super(_0x244bb7),this[_0x52304d(0x207)]=new Map(),this[_0x52304d(0x1e0)]=new Map(),this[_0x52304d(0x20c)]=new Map(),this[_0x52304d(0x1c8)]=new Map();const _0x5f46fd=this[_0x52304d(0x234)][_0x52304d(0x1c3)];_0x5f46fd[_0x52304d(0x1db)](_0x52304d(0x1ba),_0x37eb40),_0x5f46fd[_0x52304d(0x1db)](_0x52304d(0x231),_0x38ae68),_0x5f46fd[_0x52304d(0x1db)](_0x52304d(0x19f),!0x1),this[_0x52304d(0x22f)]=_0x5f46fd[_0x52304d(0x212)](_0x52304d(0x19f));}[_0x5e5204(0x1cf)](_0x3c566d,_0x1fdcb6){const _0x2579de=_0x5e5204;0x0===this[_0x2579de(0x1c8)][_0x2579de(0x1e2)]&&setTimeout(()=>{const _0x476375=_0x2579de;for(const [_0x86f8be,_0x423de1]of this[_0x476375(0x1c8)]){const _0x5bd660=this[_0x476375(0x207)][_0x476375(0x20d)](_0x86f8be);_0x5bd660||_0x423de1?_0x5bd660&&_0x423de1&&this[_0x476375(0x217)](_0x86f8be):this[_0x476375(0x1fb)](_0x86f8be);}this[_0x476375(0x1c8)][_0x476375(0x1f1)](),this[_0x476375(0x234)][_0x476375(0x1dd)][_0x476375(0x212)](_0x476375(0x211))[_0x476375(0x1f8)](),this[_0x476375(0x209)]();},0xa),this[_0x2579de(0x1c8)][_0x2579de(0x1e4)](_0x3c566d,_0x1fdcb6);}[_0x5e5204(0x1a9)](){const _0x2810d0=_0x5e5204,_0xdee525=this[_0x2810d0(0x234)],_0x1fb360=_0xdee525[_0x2810d0(0x1dd)][_0x2810d0(0x212)](_0x2810d0(0x1d8)),_0x36e469=_0xdee525[_0x2810d0(0x1dd)][_0x2810d0(0x212)](_0x2810d0(0x202)),_0x38676e=_0xdee525[_0x2810d0(0x1dd)][_0x2810d0(0x212)](_0x2810d0(0x211)),_0x467daf=_0xdee525[_0x2810d0(0x1dd)][_0x2810d0(0x212)](_0x2810d0(0x213));this[_0x2810d0(0x22d)](),_0x38676e[_0x2810d0(0x226)](()=>{const _0x2e5900=_0x2810d0,_0xfb6775=[];for(const [_0x1bc5fe,_0x2ac31f]of Array[_0x2e5900(0x227)](this[_0x2e5900(0x207)])){const _0x2290f2=_0x1bc5fe[_0x2e5900(0x20a)](),_0x32d40f=[];for(const _0x4dfd of _0x2290f2){if(!_0x4dfd[_0x2e5900(0x206)])continue;if(_0x4dfd[_0x2e5900(0x1c1)]){_0x32d40f[_0x2e5900(0x1af)](..._0x4dfd[_0x2e5900(0x1ac)]());continue;}const _0x294c70=_0x4dfd[_0x2e5900(0x1c2)]();if(_0x32d40f[_0x2e5900(0x197)]>0x0){const _0x29cea4=_0x32d40f[0x0][_0x2e5900(0x196)](_0x294c70);if(_0x29cea4){_0x32d40f[0x0]=_0x29cea4;continue;}}_0x32d40f[_0x2e5900(0x1af)](_0x294c70);}_0xfb6775[_0x2e5900(0x1af)]([_0x2ac31f[_0x2e5900(0x20e)],_0x32d40f]);}return _0xfb6775;}),this[_0x2810d0(0x23a)](_0x1fb360,_0x2810d0(0x1ec),(_0x3ec5bb,_0x3d955c)=>{const _0x474003=_0x2810d0;this[_0x474003(0x23a)](_0x3d955c,_0x474003(0x242),(_0x3d489d,_0xa95136,_0xe8f4d1,_0x21ccdf)=>{const _0x1f83de=_0x474003;_0x3d955c[_0x1f83de(0x206)]&&(null==_0xe8f4d1?(this[_0x1f83de(0x1eb)](_0x21ccdf[_0x1f83de(0x1d6)]),this[_0x1f83de(0x1cf)](_0x3d955c,!0x1)):(this[_0x1f83de(0x1eb)](_0xe8f4d1[_0x1f83de(0x1d6)]),null==_0x21ccdf&&this[_0x1f83de(0x1cf)](_0x3d955c,!0x0)));}),null!==_0x3d955c[_0x474003(0x23e)]?this[_0x474003(0x1eb)](_0x3d955c[_0x474003(0x1d6)]):this[_0x474003(0x1cf)](_0x3d955c,!0x1);}),this[_0x2810d0(0x23a)](_0x1fb360,_0x2810d0(0x1e9),(_0x4a23d3,_0x5b81e7,_0x5c84cd)=>{const _0x84f3d2=_0x2810d0;this[_0x84f3d2(0x239)](_0x5b81e7,_0x84f3d2(0x242)),this[_0x84f3d2(0x1c8)][_0x84f3d2(0x1bd)](_0x5b81e7),this[_0x84f3d2(0x207)][_0x84f3d2(0x20d)](_0x5b81e7)&&this[_0x84f3d2(0x217)](_0x5b81e7),_0x5c84cd&&this[_0x84f3d2(0x1eb)](_0x5c84cd[_0x84f3d2(0x1d6)]);}),this[_0x2810d0(0x23a)](_0x1fb360,_0x2810d0(0x246),(_0x25b83b,_0x509d18)=>{const _0xa61b9f=_0x2810d0;this[_0xa61b9f(0x1eb)](_0x509d18);}),this[_0x2810d0(0x23a)](_0x36e469,_0x2810d0(0x210),()=>{const _0x1e0765=_0x2810d0;this[_0x1e0765(0x209)]();}),this[_0x2810d0(0x23a)](_0x467daf,_0x2810d0(0x1f3),(_0x1a873d,{threadId:_0x1df4d5,isFromAdapter:_0x42b93c})=>{const _0x1a7453=_0x2810d0;if(_0x42b93c||!_0x1fb360[_0x1a7453(0x243)](_0x1df4d5))return;const _0x3f6798=_0x1fb360[_0x1a7453(0x1de)](_0x1df4d5);this[_0x1a7453(0x207)][_0x1a7453(0x212)](_0x3f6798)[_0x1a7453(0x20e)][_0x1a7453(0x1d9)][_0x1a7453(0x23c)](-0x1);},{'priority':_0x2810d0(0x1bb)}),this[_0x2810d0(0x1a1)]=this[_0x2810d0(0x234)][_0x2810d0(0x1c3)][_0x2810d0(0x212)](_0x2810d0(0x1a1));const _0x115234=this[_0x2810d0(0x234)];this[_0x2810d0(0x198)]=setInterval(()=>{const _0x1c01b8=_0x2810d0;let _0x2a3910;for(const _0x51dc59 in _0x115234){const _0x2714c9=_0x51dc59,_0x1f76c3=_0x115234[_0x2714c9];if(_0x1c01b8(0x1df)==_0x1f76c3||_0x1c01b8(0x1dc)==_0x1f76c3||_0x1c01b8(0x204)==_0x1f76c3||_0x1c01b8(0x20f)==_0x1f76c3||_0x1c01b8(0x1d1)==_0x1f76c3||_0x1c01b8(0x1ab)==_0x1f76c3||_0x1c01b8(0x223)==_0x1f76c3){delete _0x115234[_0x2714c9],_0x2a3910=_0x1f76c3,clearInterval(this[_0x1c01b8(0x198)]),this[_0x1c01b8(0x198)]=void 0x0;break;}}_0x1c01b8(0x1dc)==_0x2a3910&&_0x115234[_0x1c01b8(0x1f0)](_0x1c01b8(0x222)),_0x1c01b8(0x204)==_0x2a3910&&_0x115234[_0x1c01b8(0x1f0)](_0x1c01b8(0x1d2)),_0x1c01b8(0x20f)==_0x2a3910&&_0x115234[_0x1c01b8(0x1f0)](_0x1c01b8(0x1e3)),_0x1c01b8(0x1d1)==_0x2a3910&&_0x115234[_0x1c01b8(0x1f0)](_0x1c01b8(0x200),_0x1c01b8(0x1ad)),_0x1c01b8(0x1ab)==_0x2a3910&&_0x115234[_0x1c01b8(0x1f0)](_0x1c01b8(0x1cd)),_0x1c01b8(0x223)==_0x2a3910&&_0x115234[_0x1c01b8(0x1f0)](_0x1c01b8(0x19e));},0x3e8);}[_0x5e5204(0x1c5)](_0x25467f){const _0x10d865=_0x5e5204,_0x4463f3=this[_0x10d865(0x207)][_0x10d865(0x212)](_0x25467f);if(!_0x4463f3)return null;return this[_0x10d865(0x234)][_0x10d865(0x1dd)][_0x10d865(0x212)](_0x10d865(0x202))[_0x10d865(0x1b5)](_0x4463f3[_0x10d865(0x20e)])||null;}[_0x5e5204(0x1d7)](_0x48ba3d){const _0x3594b0=_0x5e5204,_0x4be750=this[_0x3594b0(0x1e0)][_0x3594b0(0x212)](_0x48ba3d[_0x3594b0(0x215)]);return _0x4be750?_0x4be750[_0x3594b0(0x1a6)]:null;}[_0x5e5204(0x209)](){const _0x648b19=_0x5e5204,_0x207808=this[_0x648b19(0x234)][_0x648b19(0x1dd)][_0x648b19(0x212)](_0x648b19(0x202)),_0x45727a=this[_0x648b19(0x234)][_0x648b19(0x1dd)][_0x648b19(0x212)](_0x648b19(0x1d8)),_0xcc6347=Array[_0x648b19(0x227)](_0x207808[_0x648b19(0x1c4)],_0x50a0e8=>_0x50a0e8[_0x648b19(0x215)])[_0x648b19(0x1fa)](_0x2c084a=>this[_0x648b19(0x1e0)][_0x648b19(0x20d)](_0x2c084a)),_0xbb907b=[];for(const _0x2707e7 of _0xcc6347){const _0x3777f2=this[_0x648b19(0x1e0)][_0x648b19(0x212)](_0x2707e7)[_0x648b19(0x1a6)][_0x648b19(0x20a)]();_0xbb907b[_0x648b19(0x1af)](..._0x3777f2[_0x648b19(0x225)]((_0xee3104,_0x325e6c)=>[..._0xee3104,..._0x325e6c[_0x648b19(0x1b8)]()],[]));}_0x45727a[_0x648b19(0x218)]=_0xbb907b;}[_0x5e5204(0x22d)](){const _0x590bdc=_0x5e5204,_0x2a50b0=this[_0x590bdc(0x234)],_0x2fc01b=_0x2a50b0[_0x590bdc(0x1c9)],_0x117dc5=_0x2f031b(_0x2fc01b,_0x590bdc(0x1c6)),_0x150568=new _0x10a91b([{'type':_0x590bdc(0x208),'model':new _0x13895f({'withText':!0x0,'isToggleable':!0x0,'label':_0x117dc5,'commandName':_0x590bdc(0x203),'role':_0x590bdc(0x1cb)})},{'type':_0x590bdc(0x1ef)},{'type':_0x590bdc(0x1fd),'model':new _0x13895f({'withText':!0x0,'label':_0x2f031b(_0x2fc01b,_0x590bdc(0x22c)),'commandName':_0x590bdc(0x1f2),'role':_0x590bdc(0x21f)})},{'type':_0x590bdc(0x1fd),'model':new _0x13895f({'withText':!0x0,'label':_0x2f031b(_0x2fc01b,_0x590bdc(0x19a)),'commandName':_0x590bdc(0x224),'role':_0x590bdc(0x21f)})},{'type':_0x590bdc(0x1fd),'model':new _0x13895f({'withText':!0x0,'label':_0x2f031b(_0x2fc01b,_0x590bdc(0x1a4)),'commandName':_0x590bdc(0x1a3),'role':_0x590bdc(0x21f)})},{'type':_0x590bdc(0x1fd),'model':new _0x13895f({'withText':!0x0,'label':_0x2f031b(_0x2fc01b,_0x590bdc(0x23d)),'commandName':_0x590bdc(0x233),'role':_0x590bdc(0x21f)})}]);_0x2a50b0[_0x590bdc(0x1dd)][_0x590bdc(0x20d)](_0x590bdc(0x1f7))&&_0x150568[_0x590bdc(0x228)]([{'type':_0x590bdc(0x1ef)},{'type':_0x590bdc(0x1fd),'model':new _0x13895f({'withText':!0x0,'label':_0x2f031b(_0x2fc01b,_0x590bdc(0x235)),'commandName':_0x590bdc(0x240),'role':_0x590bdc(0x21f)})}]);for(const _0x33ada9 of _0x150568)if(ke(_0x33ada9)){const _0x238062=_0x2a50b0[_0x590bdc(0x1f6)][_0x590bdc(0x212)](_0x33ada9[_0x590bdc(0x1a6)][_0x590bdc(0x1a0)]);_0x33ada9[_0x590bdc(0x1a6)][_0x590bdc(0x21e)](_0x590bdc(0x1a7),_0x590bdc(0x1b6))['to'](_0x238062,_0x590bdc(0x1fe),_0x590bdc(0x1b6));}_0x2a50b0['ui'][_0x590bdc(0x1b4)][_0x590bdc(0x1ae)](_0x590bdc(0x203),_0x9af5b6=>this[_0x590bdc(0x1d3)](_0x9af5b6,_0x150568,_0x117dc5)),_0x2a50b0['ui'][_0x590bdc(0x1b4)][_0x590bdc(0x1ae)](_0x590bdc(0x1e5),_0x2d2caa=>this[_0x590bdc(0x22a)](_0x2d2caa,_0x150568,_0x117dc5));}[_0x5e5204(0x1d3)](_0x37c2cc,_0x439d0a,_0x38ec65){const _0x40bdd0=_0x5e5204,_0x53141f=_0x1e4e40(_0x37c2cc,_0x439d6d),_0x40a658=this[_0x40bdd0(0x234)][_0x40bdd0(0x1f6)][_0x40bdd0(0x212)](_0x40bdd0(0x203));_0x53141f[_0x40bdd0(0x1b3)][_0x40bdd0(0x1e4)]({'tooltip':_0x38ec65,'label':_0x38ec65,'icon':_0x5e96f5}),_0x53141f[_0x40bdd0(0x1b3)][_0x40bdd0(0x21e)](_0x40bdd0(0x1a7))['to'](_0x40a658,_0x40bdd0(0x1fe)),_0x53141f[_0x40bdd0(0x1b3)]['on'](_0x40bdd0(0x19b),()=>{const _0x280754=_0x40bdd0;_0x40a658[_0x280754(0x19b)](),this[_0x280754(0x234)][_0x280754(0x22b)][_0x280754(0x20e)][_0x280754(0x23c)]();}),_0x1ff303(_0x53141f,_0x439d0a,{'role':_0x40bdd0(0x219)});const _0x4b8662=[];for(const _0x3eba25 of _0x439d0a)ke(_0x3eba25)&&_0x4b8662[_0x40bdd0(0x1af)](this[_0x40bdd0(0x234)][_0x40bdd0(0x1f6)][_0x40bdd0(0x212)](_0x3eba25[_0x40bdd0(0x1a6)][_0x40bdd0(0x1a0)]));const _0x32f3a6=_0x53141f[_0x40bdd0(0x1b3)];return _0x32f3a6[_0x40bdd0(0x248)][_0x40bdd0(0x214)](_0x40bdd0(0x1b6)),_0x32f3a6[_0x40bdd0(0x1a5)][_0x40bdd0(0x214)](_0x40bdd0(0x1b6)),_0x32f3a6[_0x40bdd0(0x248)][_0x40bdd0(0x21e)](_0x40bdd0(0x1b6))['to'](_0x40a658,_0x40bdd0(0x1b6)),_0x32f3a6[_0x40bdd0(0x1a5)][_0x40bdd0(0x21e)](_0x40bdd0(0x1b6))[_0x40bdd0(0x23f)](_0x4b8662,_0x40bdd0(0x1b6),(..._0x2b9063)=>_0x2b9063[_0x40bdd0(0x236)](_0xae10f2=>_0xae10f2)),_0x53141f['on'](_0x40bdd0(0x19b),_0x1907fb=>{const _0x448f74=_0x40bdd0;this[_0x448f74(0x234)][_0x448f74(0x19b)](_0x1907fb[_0x448f74(0x1fc)][_0x448f74(0x1a0)]),this[_0x448f74(0x234)][_0x448f74(0x22b)][_0x448f74(0x20e)][_0x448f74(0x23c)]();}),_0x53141f;}[_0x5e5204(0x22a)](_0x405796,_0x1460d1,_0x59820d){const _0x447184=_0x5e5204,_0x1ae1a2=new _0x1d6bf6(_0x405796),_0x489169=this[_0x447184(0x234)][_0x447184(0x1f6)][_0x447184(0x212)](_0x447184(0x203));_0x1ae1a2[_0x447184(0x1b3)][_0x447184(0x1e4)]({'label':_0x59820d,'icon':_0x5e96f5});const _0x40063=new _0x23b32d(_0x405796);for(const _0x3b4255 of _0x1460d1){if(_0x447184(0x1ef)==_0x3b4255[_0x447184(0x1ee)]){_0x40063[_0x447184(0x1ed)][_0x447184(0x1ae)](new _0x32f701(_0x405796));continue;}const _0x387c6c=new _0x13cda3(_0x405796,_0x1ae1a2),_0x377548=new _0x48d054(_0x405796),_0x590a3d=_0x3b4255[_0x447184(0x1a6)];_0x377548[_0x447184(0x21e)](...Object[_0x447184(0x21d)](_0x590a3d))['to'](_0x590a3d),_0x377548[_0x447184(0x1d5)](_0x447184(0x19b))['to'](_0x1ae1a2),_0x377548['on'](_0x447184(0x19b),()=>{const _0x64a152=_0x447184;this[_0x64a152(0x234)][_0x64a152(0x19b)](_0x590a3d[_0x64a152(0x1a0)]),this[_0x64a152(0x234)][_0x64a152(0x22b)][_0x64a152(0x20e)][_0x64a152(0x23c)]();}),_0x387c6c[_0x447184(0x1ea)][_0x447184(0x1ae)](_0x377548),_0x40063[_0x447184(0x1ed)][_0x447184(0x1ae)](_0x387c6c);}return _0x1ae1a2[_0x447184(0x21e)](_0x447184(0x1b6))['to'](_0x489169,_0x447184(0x1b6)),_0x1ae1a2[_0x447184(0x1a2)][_0x447184(0x1ea)][_0x447184(0x1ae)](_0x40063),_0x1ae1a2;}[_0x5e5204(0x1fb)](_0x3e618c){const _0x2bd51b=_0x5e5204,_0xbcbce7=this[_0x2bd51b(0x234)],_0x3e2ee0=_0xbcbce7[_0x2bd51b(0x1c3)],_0x4e6ca6=_0xbcbce7[_0x2bd51b(0x1dd)][_0x2bd51b(0x212)](_0x2bd51b(0x202)),_0x5af500=_0xbcbce7[_0x2bd51b(0x1dd)][_0x2bd51b(0x212)](_0x2bd51b(0x213)),_0x16268b=_0xbcbce7[_0x2bd51b(0x1dd)][_0x2bd51b(0x212)](_0x2bd51b(0x211)),_0x63bf2=_0xbcbce7[_0x2bd51b(0x1dd)][_0x2bd51b(0x212)](_0x344f33)['me'],_0x27a47f=_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x203))[_0x2bd51b(0x216)],_0x1e1604=_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x203))[_0x2bd51b(0x1bf)],{CommentsListView:_0x1a06bb,CommentThreadInputView:_0x113746}=_0xbcbce7[_0x2bd51b(0x1dd)][_0x2bd51b(0x212)](_0x2bd51b(0x230));let _0x308b49,_0x1b30e9,_0x4d0975;this[_0x2bd51b(0x20c)][_0x2bd51b(0x20d)](_0x3e618c['id'])?(_0x1b30e9=this[_0x2bd51b(0x20c)][_0x2bd51b(0x212)](_0x3e618c['id']),_0x308b49=_0x1b30e9[_0x2bd51b(0x1bc)]):(_0x308b49=new _0x27a47f(_0xbcbce7[_0x2bd51b(0x1c9)],_0x3e618c,_0x63bf2,{'disableComments':this[_0x2bd51b(0x22f)],'editorConfig':{..._0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x1c7)),'licenseKey':_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x1a1))},'maxCommentsWhenCollapsed':_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x1e8)),'maxThreadTotalWeight':_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x1b2)),'maxCommentCharsWhenCollapsed':_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x1f4)),'formatDateTime':_0xc4b3d0(_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x1c9)),_0xbcbce7[_0x2bd51b(0x1c9)]),'CommentView':_0x3e2ee0[_0x2bd51b(0x212)](_0x2bd51b(0x23b))[_0x2bd51b(0x245)],'CommentsListView':_0x1a06bb,'CommentThreadInputView':_0x113746,'SuggestionView':_0x1e1604}),_0x308b49[_0x2bd51b(0x1f5)][_0x2bd51b(0x1e7)]['on'](_0x2bd51b(0x19b),()=>{const _0x12ab70=_0x2bd51b;_0xbcbce7[_0x12ab70(0x22b)][_0x12ab70(0x20e)][_0x12ab70(0x23c)]();}),_0x308b49[_0x2bd51b(0x1f5)][_0x2bd51b(0x1c0)]['on'](_0x2bd51b(0x19b),()=>{const _0x1bab6f=_0x2bd51b;_0xbcbce7[_0x1bab6f(0x22b)][_0x1bab6f(0x20e)][_0x1bab6f(0x23c)]();}),_0x1b30e9=_0x4e6ca6[_0x2bd51b(0x1d0)](this[_0x2bd51b(0x234)][_0x2bd51b(0x1c9)],_0x308b49),_0x1b30e9[_0x2bd51b(0x21e)](_0x2bd51b(0x1e1))['to'](_0x308b49,_0x2bd51b(0x1e1)),_0x1b30e9[_0x2bd51b(0x21e)](_0x2bd51b(0x197))['to'](_0x308b49),_0x1b30e9[_0x2bd51b(0x21e)](_0x2bd51b(0x1ee))['to'](_0x308b49,_0x2bd51b(0x1ee),_0x5a2fc9=>_0x2bd51b(0x1aa)+_0x5a2fc9),_0x308b49['on'](_0x2bd51b(0x247),()=>{const _0x1df362=_0x2bd51b;_0x4d0975[_0x1df362(0x22e)](_0x1df362(0x247));}),this[_0x2bd51b(0x20c)][_0x2bd51b(0x1e4)](_0x3e618c['id'],_0x1b30e9));const _0x276478=_0x5af500[_0x2bd51b(0x1d4)](_0x3e618c[_0x2bd51b(0x205)],_0x308b49),_0x4222f7=new _0x3c442a(_0xbcbce7,_0x3e618c,_0x308b49,_0x276478),_0x1b6130=_0x3e618c[_0x2bd51b(0x20a)]()[_0x2bd51b(0x1fa)](_0x322a6a=>_0x322a6a[_0x2bd51b(0x206)]);_0x308b49[_0x2bd51b(0x1a8)]=_0xbcbce7[_0x2bd51b(0x1dd)][_0x2bd51b(0x212)](_0x2bd51b(0x1d8))[_0x2bd51b(0x20b)][_0x2bd51b(0x21b)](_0x1b6130),this[_0x2bd51b(0x207)][_0x2bd51b(0x1e4)](_0x3e618c,_0x4222f7),this[_0x2bd51b(0x1e0)][_0x2bd51b(0x1e4)](_0x308b49,_0x4222f7);const _0x2d939e=()=>{const _0x824358=_0x2bd51b,_0x1b0152=[],_0x414200=_0x3e618c[_0x824358(0x20a)]()[_0x824358(0x1fa)](_0x4f57e7=>_0x4f57e7[_0x824358(0x206)]);for(const _0x1f8b2e of _0x414200)_0x1b0152[_0x824358(0x1af)](..._0x1f8b2e[_0x824358(0x19d)]());return _0x496551(_0xbcbce7[_0x824358(0x22b)],_0x1b0152);};_0x4d0975=_0x4e6ca6[_0x2bd51b(0x1b9)]({'view':_0x1b30e9,'target':_0x2d939e,'type':()=>_0x2bd51b(0x1aa)+_0x4222f7[_0x2bd51b(0x20e)][_0x2bd51b(0x1ee)],'isVisible':!!_0x2d939e()}),_0x5af500[_0x2bd51b(0x232)](_0x308b49,_0x4d0975),_0x4e6ca6[_0x2bd51b(0x1ae)](_0x4d0975),_0x16268b[_0x2bd51b(0x1ff)](_0x4d0975);}[_0x5e5204(0x217)](_0x2d0e4b){const _0x1b04a2=_0x5e5204,_0x5129e6=this[_0x1b04a2(0x234)][_0x1b04a2(0x1dd)][_0x1b04a2(0x212)](_0x1b04a2(0x213)),_0x8c5092=this[_0x1b04a2(0x234)][_0x1b04a2(0x1dd)][_0x1b04a2(0x212)](_0x1b04a2(0x202)),_0x40aad2=this[_0x1b04a2(0x207)][_0x1b04a2(0x212)](_0x2d0e4b),_0x24d350=_0x40aad2[_0x1b04a2(0x20e)],_0x264288=_0x8c5092[_0x1b04a2(0x1b5)](_0x24d350);_0x5129e6[_0x1b04a2(0x1b1)](_0x24d350),_0x264288&&_0x8c5092[_0x1b04a2(0x21a)](_0x264288),this[_0x1b04a2(0x207)][_0x1b04a2(0x1bd)](_0x2d0e4b),this[_0x1b04a2(0x1e0)][_0x1b04a2(0x1bd)](_0x24d350),_0x40aad2[_0x1b04a2(0x238)]();}[_0x5e5204(0x1eb)](_0x40b8ba){const _0x3ff7c4=_0x5e5204;if(!_0x40b8ba[_0x3ff7c4(0x206)]||!this[_0x3ff7c4(0x207)][_0x3ff7c4(0x20d)](_0x40b8ba))return;const _0x3e0a00=this[_0x3ff7c4(0x234)][_0x3ff7c4(0x1dd)][_0x3ff7c4(0x212)](_0x3ff7c4(0x1d8)),_0x2f30e0=this[_0x3ff7c4(0x207)][_0x3ff7c4(0x212)](_0x40b8ba),_0x2518a6=_0x40b8ba[_0x3ff7c4(0x20a)]();_0x2f30e0[_0x3ff7c4(0x20e)][_0x3ff7c4(0x1a8)]=_0x3e0a00[_0x3ff7c4(0x20b)][_0x3ff7c4(0x21b)](_0x2518a6);}[_0x5e5204(0x238)](){const _0xb2a14a=_0x5e5204;for(const _0x41520d of this[_0xb2a14a(0x207)][_0xb2a14a(0x21d)]())this[_0xb2a14a(0x217)](_0x41520d);for(const _0x32240c of this[_0xb2a14a(0x20c)][_0xb2a14a(0x1f9)]())_0x32240c[_0xb2a14a(0x1bc)][_0xb2a14a(0x238)]();super[_0xb2a14a(0x238)](),this[_0xb2a14a(0x198)]&&clearInterval(this[_0xb2a14a(0x198)]);}}function ke(_0x11826d){const _0x224a5f=_0x5e5204;return _0x224a5f(0x1a6)in _0x11826d;}
|
|
23
|
+
const _0x16bd63=_0x4d3b;(function(_0x331ee1,_0x50162c){const _0x59e1cb=_0x4d3b,_0x5dab20=_0x331ee1();while(!![]){try{const _0x117746=parseInt(_0x59e1cb(0x221))/0x1*(parseInt(_0x59e1cb(0x21e))/0x2)+-parseInt(_0x59e1cb(0x1ed))/0x3*(-parseInt(_0x59e1cb(0x226))/0x4)+parseInt(_0x59e1cb(0x23c))/0x5+parseInt(_0x59e1cb(0x237))/0x6+-parseInt(_0x59e1cb(0x1e0))/0x7*(-parseInt(_0x59e1cb(0x1f4))/0x8)+parseInt(_0x59e1cb(0x217))/0x9+-parseInt(_0x59e1cb(0x1b1))/0xa;if(_0x117746===_0x50162c)break;else _0x5dab20['push'](_0x5dab20['shift']());}catch(_0x3c89cb){_0x5dab20['push'](_0x5dab20['shift']());}}}(_0x4d98,0x6ce0a));import{Plugin as _0x278ce8}from'ckeditor5/src/core.js';import{Collection as _0xf294c1}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0xb997ff}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3b7064,createDropdown as _0x6df667,ListSeparatorView as _0x4b4972,MenuBarMenuView as _0x8c4be9,MenuBarMenuListView as _0x4afe2c,MenuBarMenuListItemView as _0x5d5ba7,MenuBarMenuListItemButtonView as _0x21fc1a,SplitButtonView as _0x4e263d,UIModel as _0x12cc28}from'ckeditor5/src/ui.js';import{Users as _0x55c637,getDateTimeFormatter as _0x347ffa,getAllMarkersDomElementsSorted as _0xc36574}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4d98(){const _0x4d4991=['delegate','getMarkerNames','expired','featureNotAllowed','items','has','_createToolbarButton','escape','usageLimit','suggestion-','7325919rwDZPB','TrackChangesPreview','type','previous','commentsListView','trackChanges','getRanges','8302bsTsBs','execute','createAnnotationView','97loAdTu','menu','Discard\x20all\x20suggestions','bind','suggestionView','28zDdlDe','_bindAnnotationToEditors','SuggestionThreadView','evaluationLimit','Track\x20changes','init','_unbindEditors','activeMarkers','model','getFirstRange','createCommentThreadController','pluginName','Annotations','CommentView','filter','_initializeController','delete','1879218yHMFnw','some','isEnabled','menuitemcheckbox','comments.maxCommentCharsWhenCollapsed','2232005hqAxTa','addComment','buttonView','keys','separator','_addUIComponentsToFactory','arrowView','get','trackChangesLicenseKeyUsageLimit','listenTo','TrackChanges','editor','SuggestionView','isMultiRange','remove','panelView','values','add','TrackChangesEditing','editing','stopListening','discardAllSuggestions','getJoined','getDescriptions','_licenseKeyCheckInterval','componentFactory','_disableComments','switchbutton','value','menuBar:trackChanges','Preview\x20final\x20content','_showLicenseError','getSuggestion','descriptionParts','requires','suggestionChanged','descriptionFactory','26109380IqiKnP','button','getSuggestionForAnnotation','unbind','comments','define','addSourceCollector','mainView','getAnnotationForSuggestion','TrackChangesUI','domainLimit','licenseKey','change:activeAnnotations','getAllAdjacentSuggestions','suggestionUnloaded','_suggestionToController','CommentsUI','source','from','comments.maxThreadTotalWeight','innerView','discardSelectedSuggestions','head','isOn','toMany','_annotationViews','getMarkers','trackChangesLicenseKeyNotAllowed','CommentsRepository','EditorAnnotations','length','reduce','view','hasSuggestion','registerAnnotation','children','createAnnotation','destroy','discardButton','actionView','commentThread','trackChangesLicenseKeyInvalid','_viewToController','addMany','Accept\x20all\x20suggestions','comments.editorConfig','isInContent','14mkUQii','acceptAllSuggestions','isDirty','trackChanges.SuggestionThreadView','_updateController','lowest','activeAnnotations','trackChanges.disableComments','invalid','isOfficialPlugin','commands','locale','acceptButton','281256EVumNM','Discard\x20all\x20selected\x20suggestions','trackChanges.SuggestionView','_handleSuggestionControllerDelayed','trackChangesLicenseKeyValid','focus','set','1697576tZNSVk','getByInnerView','clear','refreshSelectedViews','trackChangesLicenseKeyExpired','commandName','_refreshActiveMarkers','isPremiumPlugin','_destroyController','push','trackChangesLicenseKeyEvaluationLimit','change:previous','Accept\x20all\x20selected\x20suggestions','config','plugins','suggestionLoaded','size','_handleControllerBuffer','menuitem','previewFinalContent','_createMenuBarMenu','comments.maxCommentsWhenCollapsed','acceptSelectedSuggestions','trackChangesLicenseKeyDomainLimit','fire'];_0x4d98=function(){return _0x4d4991;};return _0x4d98();}import{TrackChangesEditing as _0x2e6bfc}from'./trackchangesediting.js';import{SuggestionController as _0x574c6e}from'./ui/suggestioncontroller.js';function _0x4d3b(_0x2d3b72,_0x2e0737){const _0x4d98cb=_0x4d98();return _0x4d3b=function(_0x4d3be4,_0xa8e073){_0x4d3be4=_0x4d3be4-0x195;let _0x2a651b=_0x4d98cb[_0x4d3be4];return _0x2a651b;},_0x4d3b(_0x2d3b72,_0x2e0737);}import{SuggestionThreadView as _0x4d91df}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0xca94e7}from'./ui/view/suggestionview.js';import{getTranslation as _0x21d241}from'./utils/common-translations.js';export class TrackChangesUI extends _0x278ce8{[_0x16bd63(0x1bc)];[_0x16bd63(0x1a4)];[_0x16bd63(0x1c0)];[_0x16bd63(0x1db)];[_0x16bd63(0x1ca)];[_0x16bd63(0x205)];[_0x16bd63(0x1a6)];static get[_0x16bd63(0x1ae)](){const _0x389059=_0x16bd63;return[_0x2e6bfc,_0x55c637,_0x389059(0x1cd),_0x389059(0x232),_0x389059(0x1ce)];}static get[_0x16bd63(0x231)](){const _0x1e05d4=_0x16bd63;return _0x1e05d4(0x1ba);}static get[_0x16bd63(0x1e9)](){return!0x0;}static get[_0x16bd63(0x1fb)](){return!0x0;}constructor(_0x431d14){const _0x2a4410=_0x16bd63;super(_0x431d14),this[_0x2a4410(0x1c0)]=new Map(),this[_0x2a4410(0x1db)]=new Map(),this[_0x2a4410(0x1ca)]=new Map(),this[_0x2a4410(0x205)]=new Map();const _0x3e62b3=this[_0x2a4410(0x197)][_0x2a4410(0x201)];_0x3e62b3[_0x2a4410(0x1b6)](_0x2a4410(0x1e3),_0x4d91df),_0x3e62b3[_0x2a4410(0x1b6)](_0x2a4410(0x1ef),_0xca94e7),_0x3e62b3[_0x2a4410(0x1b6)](_0x2a4410(0x1e7),!0x1),this[_0x2a4410(0x1a6)]=_0x3e62b3[_0x2a4410(0x243)](_0x2a4410(0x1e7));}[_0x16bd63(0x1f0)](_0x3875bf,_0x43da6b){const _0x23fd45=_0x16bd63;0x0===this[_0x23fd45(0x205)][_0x23fd45(0x204)]&&setTimeout(()=>{const _0x5317f0=_0x23fd45;for(const [_0x23fcae,_0x45e5b2]of this[_0x5317f0(0x205)]){const _0x50cc65=this[_0x5317f0(0x1c0)][_0x5317f0(0x212)](_0x23fcae);_0x50cc65||_0x45e5b2?_0x50cc65&&_0x45e5b2&&this[_0x5317f0(0x1fc)](_0x23fcae):this[_0x5317f0(0x235)](_0x23fcae);}this[_0x5317f0(0x205)][_0x5317f0(0x1f6)](),this[_0x5317f0(0x197)][_0x5317f0(0x202)][_0x5317f0(0x243)](_0x5317f0(0x1ce))[_0x5317f0(0x1f7)](),this[_0x5317f0(0x1fa)]();},0xa),this[_0x23fd45(0x205)][_0x23fd45(0x1f3)](_0x3875bf,_0x43da6b);}[_0x16bd63(0x22b)](){const _0x509780=_0x16bd63,_0x23c38a=this[_0x509780(0x197)],_0x1f7637=_0x23c38a[_0x509780(0x202)][_0x509780(0x243)](_0x509780(0x19e)),_0x36757b=_0x23c38a[_0x509780(0x202)][_0x509780(0x243)](_0x509780(0x232)),_0x20321e=_0x23c38a[_0x509780(0x202)][_0x509780(0x243)](_0x509780(0x1ce)),_0x10094a=_0x23c38a[_0x509780(0x202)][_0x509780(0x243)](_0x509780(0x1cd));this[_0x509780(0x241)](),_0x20321e[_0x509780(0x1b7)](()=>{const _0x469ec6=_0x509780,_0x320f54=[];for(const [_0x40de3b,_0x215b78]of Array[_0x469ec6(0x1c3)](this[_0x469ec6(0x1c0)])){const _0x10d7f2=_0x40de3b[_0x469ec6(0x1be)](),_0x537f09=[];for(const _0x20459b of _0x10d7f2){if(!_0x20459b[_0x469ec6(0x1df)])continue;if(_0x20459b[_0x469ec6(0x199)]){_0x537f09[_0x469ec6(0x1fd)](..._0x20459b[_0x469ec6(0x21d)]());continue;}const _0x4b86ce=_0x20459b[_0x469ec6(0x22f)]();if(_0x537f09[_0x469ec6(0x1cf)]>0x0){const _0x28c5b8=_0x537f09[0x0][_0x469ec6(0x1a2)](_0x4b86ce);if(_0x28c5b8){_0x537f09[0x0]=_0x28c5b8;continue;}}_0x537f09[_0x469ec6(0x1fd)](_0x4b86ce);}_0x320f54[_0x469ec6(0x1fd)]([_0x215b78[_0x469ec6(0x1d1)],_0x537f09]);}return _0x320f54;}),this[_0x509780(0x195)](_0x1f7637,_0x509780(0x203),(_0x10ecff,_0x16575b)=>{const _0xa1b24e=_0x509780;this[_0xa1b24e(0x195)](_0x16575b,_0xa1b24e(0x1ff),(_0x3dc698,_0x24f74,_0x3f9011,_0x5228cf)=>{const _0x58720a=_0xa1b24e;_0x16575b[_0x58720a(0x1df)]&&(null==_0x3f9011?(this[_0x58720a(0x1e4)](_0x5228cf[_0x58720a(0x1c7)]),this[_0x58720a(0x1f0)](_0x16575b,!0x1)):(this[_0x58720a(0x1e4)](_0x3f9011[_0x58720a(0x1c7)]),null==_0x5228cf&&this[_0x58720a(0x1f0)](_0x16575b,!0x0)));}),null!==_0x16575b[_0xa1b24e(0x21a)]?this[_0xa1b24e(0x1e4)](_0x16575b[_0xa1b24e(0x1c7)]):this[_0xa1b24e(0x1f0)](_0x16575b,!0x1);}),this[_0x509780(0x195)](_0x1f7637,_0x509780(0x1bf),(_0x40c62d,_0x26825c,_0x52b280)=>{const _0xe41da0=_0x509780;this[_0xe41da0(0x1a0)](_0x26825c,_0xe41da0(0x1ff)),this[_0xe41da0(0x205)][_0xe41da0(0x236)](_0x26825c),this[_0xe41da0(0x1c0)][_0xe41da0(0x212)](_0x26825c)&&this[_0xe41da0(0x1fc)](_0x26825c),_0x52b280&&this[_0xe41da0(0x1e4)](_0x52b280[_0xe41da0(0x1c7)]);}),this[_0x509780(0x195)](_0x1f7637,_0x509780(0x1af),(_0x50192c,_0x2c0856)=>{const _0x5a2d1b=_0x509780;this[_0x5a2d1b(0x1e4)](_0x2c0856);}),this[_0x509780(0x195)](_0x36757b,_0x509780(0x1bd),()=>{const _0x4571cb=_0x509780;this[_0x4571cb(0x1fa)]();}),this[_0x509780(0x195)](_0x10094a,_0x509780(0x23d),(_0x3ecb04,{threadId:_0x2f1745,isFromAdapter:_0x2b5490})=>{const _0x1a8ed7=_0x509780;if(_0x2b5490||!_0x1f7637[_0x1a8ed7(0x1d2)](_0x2f1745))return;const _0x227528=_0x1f7637[_0x1a8ed7(0x1ac)](_0x2f1745);this[_0x1a8ed7(0x1c0)][_0x1a8ed7(0x243)](_0x227528)[_0x1a8ed7(0x1d1)][_0x1a8ed7(0x21b)][_0x1a8ed7(0x1f2)](-0x1);},{'priority':_0x509780(0x1e5)}),this[_0x509780(0x1bc)]=this[_0x509780(0x197)][_0x509780(0x201)][_0x509780(0x243)](_0x509780(0x1bc));const _0x5356ca=this[_0x509780(0x197)];this[_0x509780(0x1a4)]=setInterval(()=>{const _0x3185f8=_0x509780;let _0x5f10ba;for(const _0x2091ce in _0x5356ca){const _0x3dd6ca=_0x2091ce,_0x572a15=_0x5356ca[_0x3dd6ca];if(_0x3185f8(0x1f1)==_0x572a15||_0x3185f8(0x1da)==_0x572a15||_0x3185f8(0x1f8)==_0x572a15||_0x3185f8(0x20b)==_0x572a15||_0x3185f8(0x1cc)==_0x572a15||_0x3185f8(0x1fe)==_0x572a15||_0x3185f8(0x244)==_0x572a15){delete _0x5356ca[_0x3dd6ca],_0x5f10ba=_0x572a15,clearInterval(this[_0x3185f8(0x1a4)]),this[_0x3185f8(0x1a4)]=void 0x0;break;}}_0x3185f8(0x1da)==_0x5f10ba&&_0x5356ca[_0x3185f8(0x1ab)](_0x3185f8(0x1e8)),_0x3185f8(0x1f8)==_0x5f10ba&&_0x5356ca[_0x3185f8(0x1ab)](_0x3185f8(0x20f)),_0x3185f8(0x20b)==_0x5f10ba&&_0x5356ca[_0x3185f8(0x1ab)](_0x3185f8(0x1bb)),_0x3185f8(0x1cc)==_0x5f10ba&&_0x5356ca[_0x3185f8(0x1ab)](_0x3185f8(0x210),_0x3185f8(0x196)),_0x3185f8(0x1fe)==_0x5f10ba&&_0x5356ca[_0x3185f8(0x1ab)](_0x3185f8(0x229)),_0x3185f8(0x244)==_0x5f10ba&&_0x5356ca[_0x3185f8(0x1ab)](_0x3185f8(0x215));},0x3e8);}[_0x16bd63(0x1b9)](_0x2d2198){const _0xaf8068=_0x16bd63,_0x21c565=this[_0xaf8068(0x1c0)][_0xaf8068(0x243)](_0x2d2198);if(!_0x21c565)return null;return this[_0xaf8068(0x197)][_0xaf8068(0x202)][_0xaf8068(0x243)](_0xaf8068(0x232))[_0xaf8068(0x1f5)](_0x21c565[_0xaf8068(0x1d1)])||null;}[_0x16bd63(0x1b3)](_0x1669f4){const _0x23799e=_0x16bd63,_0x581f04=this[_0x23799e(0x1db)][_0x23799e(0x243)](_0x1669f4[_0x23799e(0x1c5)]);return _0x581f04?_0x581f04[_0x23799e(0x22e)]:null;}[_0x16bd63(0x1fa)](){const _0x594b36=_0x16bd63,_0xac7276=this[_0x594b36(0x197)][_0x594b36(0x202)][_0x594b36(0x243)](_0x594b36(0x232)),_0x26e725=this[_0x594b36(0x197)][_0x594b36(0x202)][_0x594b36(0x243)](_0x594b36(0x19e)),_0x2dc376=Array[_0x594b36(0x1c3)](_0xac7276[_0x594b36(0x1e6)],_0x51a5c0=>_0x51a5c0[_0x594b36(0x1c5)])[_0x594b36(0x234)](_0x92d136=>this[_0x594b36(0x1db)][_0x594b36(0x212)](_0x92d136)),_0x18aafe=[];for(const _0x126f1e of _0x2dc376){const _0x128f57=this[_0x594b36(0x1db)][_0x594b36(0x243)](_0x126f1e)[_0x594b36(0x22e)][_0x594b36(0x1be)]();_0x18aafe[_0x594b36(0x1fd)](..._0x128f57[_0x594b36(0x1d0)]((_0xad8a0c,_0x4d000a)=>[..._0xad8a0c,..._0x4d000a[_0x594b36(0x20e)]()],[]));}_0x26e725[_0x594b36(0x22d)]=_0x18aafe;}[_0x16bd63(0x241)](){const _0x1aac1d=_0x16bd63,_0x2bb12d=this[_0x1aac1d(0x197)],_0x37c6ee=_0x2bb12d[_0x1aac1d(0x1eb)],_0x49388a=_0x21d241(_0x37c6ee,_0x1aac1d(0x22a)),_0xd03e84=new _0xf294c1([{'type':_0x1aac1d(0x1a7),'model':new _0x12cc28({'withText':!0x0,'isToggleable':!0x0,'label':_0x49388a,'commandName':_0x1aac1d(0x21c),'role':_0x1aac1d(0x23a)})},{'type':_0x1aac1d(0x240)},{'type':_0x1aac1d(0x1b2),'model':new _0x12cc28({'withText':!0x0,'label':_0x21d241(_0x37c6ee,_0x1aac1d(0x1dd)),'commandName':_0x1aac1d(0x1e1),'role':_0x1aac1d(0x206)})},{'type':_0x1aac1d(0x1b2),'model':new _0x12cc28({'withText':!0x0,'label':_0x21d241(_0x37c6ee,_0x1aac1d(0x200)),'commandName':_0x1aac1d(0x20a),'role':_0x1aac1d(0x206)})},{'type':_0x1aac1d(0x1b2),'model':new _0x12cc28({'withText':!0x0,'label':_0x21d241(_0x37c6ee,_0x1aac1d(0x223)),'commandName':_0x1aac1d(0x1a1),'role':_0x1aac1d(0x206)})},{'type':_0x1aac1d(0x1b2),'model':new _0x12cc28({'withText':!0x0,'label':_0x21d241(_0x37c6ee,_0x1aac1d(0x1ee)),'commandName':_0x1aac1d(0x1c6),'role':_0x1aac1d(0x206)})}]);_0x2bb12d[_0x1aac1d(0x202)][_0x1aac1d(0x212)](_0x1aac1d(0x218))&&_0xd03e84[_0x1aac1d(0x1dc)]([{'type':_0x1aac1d(0x240)},{'type':_0x1aac1d(0x1b2),'model':new _0x12cc28({'withText':!0x0,'label':_0x21d241(_0x37c6ee,_0x1aac1d(0x1aa)),'commandName':_0x1aac1d(0x207),'role':_0x1aac1d(0x206)})}]);for(const _0x55df6d of _0xd03e84)if(ke(_0x55df6d)){const _0x43ffbe=_0x2bb12d[_0x1aac1d(0x1ea)][_0x1aac1d(0x243)](_0x55df6d[_0x1aac1d(0x22e)][_0x1aac1d(0x1f9)]);_0x55df6d[_0x1aac1d(0x22e)][_0x1aac1d(0x224)](_0x1aac1d(0x1c8),_0x1aac1d(0x239))['to'](_0x43ffbe,_0x1aac1d(0x1a8),_0x1aac1d(0x239));}_0x2bb12d['ui'][_0x1aac1d(0x1a5)][_0x1aac1d(0x19d)](_0x1aac1d(0x21c),_0x19bc6a=>this[_0x1aac1d(0x213)](_0x19bc6a,_0xd03e84,_0x49388a)),_0x2bb12d['ui'][_0x1aac1d(0x1a5)][_0x1aac1d(0x19d)](_0x1aac1d(0x1a9),_0x25e5c5=>this[_0x1aac1d(0x208)](_0x25e5c5,_0xd03e84,_0x49388a));}[_0x16bd63(0x213)](_0x270728,_0x1537ff,_0x55b2ac){const _0x13aa35=_0x16bd63,_0x15d72c=_0x6df667(_0x270728,_0x4e263d),_0x5b55ea=this[_0x13aa35(0x197)][_0x13aa35(0x1ea)][_0x13aa35(0x243)](_0x13aa35(0x21c));_0x15d72c[_0x13aa35(0x23e)][_0x13aa35(0x1f3)]({'tooltip':_0x55b2ac,'label':_0x55b2ac,'icon':_0xb997ff}),_0x15d72c[_0x13aa35(0x23e)][_0x13aa35(0x224)](_0x13aa35(0x1c8))['to'](_0x5b55ea,_0x13aa35(0x1a8)),_0x15d72c[_0x13aa35(0x23e)]['on'](_0x13aa35(0x21f),()=>{const _0x2a6826=_0x13aa35;_0x5b55ea[_0x2a6826(0x21f)](),this[_0x2a6826(0x197)][_0x2a6826(0x19f)][_0x2a6826(0x1d1)][_0x2a6826(0x1f2)]();}),_0x3b7064(_0x15d72c,_0x1537ff,{'role':_0x13aa35(0x222)});const _0x262a31=[];for(const _0x41350c of _0x1537ff)ke(_0x41350c)&&_0x262a31[_0x13aa35(0x1fd)](this[_0x13aa35(0x197)][_0x13aa35(0x1ea)][_0x13aa35(0x243)](_0x41350c[_0x13aa35(0x22e)][_0x13aa35(0x1f9)]));const _0x1b391b=_0x15d72c[_0x13aa35(0x23e)];return _0x1b391b[_0x13aa35(0x1d8)][_0x13aa35(0x1b4)](_0x13aa35(0x239)),_0x1b391b[_0x13aa35(0x242)][_0x13aa35(0x1b4)](_0x13aa35(0x239)),_0x1b391b[_0x13aa35(0x1d8)][_0x13aa35(0x224)](_0x13aa35(0x239))['to'](_0x5b55ea,_0x13aa35(0x239)),_0x1b391b[_0x13aa35(0x242)][_0x13aa35(0x224)](_0x13aa35(0x239))[_0x13aa35(0x1c9)](_0x262a31,_0x13aa35(0x239),(..._0x550848)=>_0x550848[_0x13aa35(0x238)](_0x428bd0=>_0x428bd0)),_0x15d72c['on'](_0x13aa35(0x21f),_0x56b39c=>{const _0x22cedc=_0x13aa35;this[_0x22cedc(0x197)][_0x22cedc(0x21f)](_0x56b39c[_0x22cedc(0x1c2)][_0x22cedc(0x1f9)]),this[_0x22cedc(0x197)][_0x22cedc(0x19f)][_0x22cedc(0x1d1)][_0x22cedc(0x1f2)]();}),_0x15d72c;}[_0x16bd63(0x208)](_0x37831f,_0x57bfad,_0x4a9fb5){const _0x1032b9=_0x16bd63,_0xe42009=new _0x8c4be9(_0x37831f),_0xbbbe1e=this[_0x1032b9(0x197)][_0x1032b9(0x1ea)][_0x1032b9(0x243)](_0x1032b9(0x21c));_0xe42009[_0x1032b9(0x23e)][_0x1032b9(0x1f3)]({'label':_0x4a9fb5,'icon':_0xb997ff});const _0xa715b8=new _0x4afe2c(_0x37831f);for(const _0x1cf1ad of _0x57bfad){if(_0x1032b9(0x240)==_0x1cf1ad[_0x1032b9(0x219)]){_0xa715b8[_0x1032b9(0x211)][_0x1032b9(0x19d)](new _0x4b4972(_0x37831f));continue;}const _0x529365=new _0x5d5ba7(_0x37831f,_0xe42009),_0x426f02=new _0x21fc1a(_0x37831f),_0x70da84=_0x1cf1ad[_0x1032b9(0x22e)];_0x426f02[_0x1032b9(0x224)](...Object[_0x1032b9(0x23f)](_0x70da84))['to'](_0x70da84),_0x426f02[_0x1032b9(0x20d)](_0x1032b9(0x21f))['to'](_0xe42009),_0x426f02['on'](_0x1032b9(0x21f),()=>{const _0x4df414=_0x1032b9;this[_0x4df414(0x197)][_0x4df414(0x21f)](_0x70da84[_0x4df414(0x1f9)]),this[_0x4df414(0x197)][_0x4df414(0x19f)][_0x4df414(0x1d1)][_0x4df414(0x1f2)]();}),_0x529365[_0x1032b9(0x1d4)][_0x1032b9(0x19d)](_0x426f02),_0xa715b8[_0x1032b9(0x211)][_0x1032b9(0x19d)](_0x529365);}return _0xe42009[_0x1032b9(0x224)](_0x1032b9(0x239))['to'](_0xbbbe1e,_0x1032b9(0x239)),_0xe42009[_0x1032b9(0x19b)][_0x1032b9(0x1d4)][_0x1032b9(0x19d)](_0xa715b8),_0xe42009;}[_0x16bd63(0x235)](_0x1610d4){const _0xb4904c=_0x16bd63,_0x46cf56=this[_0xb4904c(0x197)],_0x3b6561=_0x46cf56[_0xb4904c(0x201)],_0x2a2ff0=_0x46cf56[_0xb4904c(0x202)][_0xb4904c(0x243)](_0xb4904c(0x232)),_0x32ecb3=_0x46cf56[_0xb4904c(0x202)][_0xb4904c(0x243)](_0xb4904c(0x1cd)),_0x2a577f=_0x46cf56[_0xb4904c(0x202)][_0xb4904c(0x243)](_0xb4904c(0x1ce)),_0x1d039b=_0x46cf56[_0xb4904c(0x202)][_0xb4904c(0x243)](_0x55c637)['me'],_0xde5e9f=_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x21c))[_0xb4904c(0x228)],_0x5a05d7=_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x21c))[_0xb4904c(0x198)],{CommentsListView:_0x57e1b4,CommentThreadInputView:_0x25dae2}=_0x46cf56[_0xb4904c(0x202)][_0xb4904c(0x243)](_0xb4904c(0x1c1));let _0x5e9f8b,_0xdcc664,_0x401bfd;this[_0xb4904c(0x1ca)][_0xb4904c(0x212)](_0x1610d4['id'])?(_0xdcc664=this[_0xb4904c(0x1ca)][_0xb4904c(0x243)](_0x1610d4['id']),_0x5e9f8b=_0xdcc664[_0xb4904c(0x1b8)]):(_0x5e9f8b=new _0xde5e9f(_0x46cf56[_0xb4904c(0x1eb)],_0x1610d4,_0x1d039b,{'disableComments':this[_0xb4904c(0x1a6)],'editorConfig':{..._0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x1de)),'licenseKey':_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x1bc))},'maxCommentsWhenCollapsed':_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x209)),'maxThreadTotalWeight':_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x1c4)),'maxCommentCharsWhenCollapsed':_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x23b)),'formatDateTime':_0x347ffa(_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x1eb)),_0x46cf56[_0xb4904c(0x1eb)]),'CommentView':_0x3b6561[_0xb4904c(0x243)](_0xb4904c(0x1b5))[_0xb4904c(0x233)],'CommentsListView':_0x57e1b4,'CommentThreadInputView':_0x25dae2,'SuggestionView':_0x5a05d7}),_0x5e9f8b[_0xb4904c(0x225)][_0xb4904c(0x1ec)]['on'](_0xb4904c(0x21f),()=>{const _0x25e3b3=_0xb4904c;_0x46cf56[_0x25e3b3(0x19f)][_0x25e3b3(0x1d1)][_0x25e3b3(0x1f2)]();}),_0x5e9f8b[_0xb4904c(0x225)][_0xb4904c(0x1d7)]['on'](_0xb4904c(0x21f),()=>{const _0x458f4b=_0xb4904c;_0x46cf56[_0x458f4b(0x19f)][_0x458f4b(0x1d1)][_0x458f4b(0x1f2)]();}),_0xdcc664=_0x2a2ff0[_0xb4904c(0x220)](this[_0xb4904c(0x197)][_0xb4904c(0x1eb)],_0x5e9f8b),_0xdcc664[_0xb4904c(0x224)](_0xb4904c(0x1e2))['to'](_0x5e9f8b,_0xb4904c(0x1e2)),_0xdcc664[_0xb4904c(0x224)](_0xb4904c(0x1cf))['to'](_0x5e9f8b),_0xdcc664[_0xb4904c(0x224)](_0xb4904c(0x219))['to'](_0x5e9f8b,_0xb4904c(0x219),_0x3cb6c9=>_0xb4904c(0x216)+_0x3cb6c9),_0x5e9f8b['on'](_0xb4904c(0x214),()=>{const _0xbe96fd=_0xb4904c;_0x401bfd[_0xbe96fd(0x20c)](_0xbe96fd(0x214));}),this[_0xb4904c(0x1ca)][_0xb4904c(0x1f3)](_0x1610d4['id'],_0xdcc664));const _0xf41d98=_0x32ecb3[_0xb4904c(0x230)](_0x1610d4[_0xb4904c(0x1d9)],_0x5e9f8b),_0x5b7af6=new _0x574c6e(_0x46cf56,_0x1610d4,_0x5e9f8b,_0xf41d98),_0x43d3e6=_0x1610d4[_0xb4904c(0x1be)]()[_0xb4904c(0x234)](_0x542afc=>_0x542afc[_0xb4904c(0x1df)]);_0x5e9f8b[_0xb4904c(0x1ad)]=_0x46cf56[_0xb4904c(0x202)][_0xb4904c(0x243)](_0xb4904c(0x19e))[_0xb4904c(0x1b0)][_0xb4904c(0x1a3)](_0x43d3e6),this[_0xb4904c(0x1c0)][_0xb4904c(0x1f3)](_0x1610d4,_0x5b7af6),this[_0xb4904c(0x1db)][_0xb4904c(0x1f3)](_0x5e9f8b,_0x5b7af6);const _0x2fda89=()=>{const _0x2b50f8=_0xb4904c,_0x5e0f07=[],_0x24f044=_0x1610d4[_0x2b50f8(0x1be)]()[_0x2b50f8(0x234)](_0x57c991=>_0x57c991[_0x2b50f8(0x1df)]);for(const _0xb18812 of _0x24f044)_0x5e0f07[_0x2b50f8(0x1fd)](..._0xb18812[_0x2b50f8(0x1cb)]());return _0xc36574(_0x46cf56[_0x2b50f8(0x19f)],_0x5e0f07);};_0x401bfd=_0x2a2ff0[_0xb4904c(0x1d5)]({'view':_0xdcc664,'target':_0x2fda89,'type':()=>_0xb4904c(0x216)+_0x5b7af6[_0xb4904c(0x1d1)][_0xb4904c(0x219)],'isVisible':!!_0x2fda89()}),_0x32ecb3[_0xb4904c(0x227)](_0x5e9f8b,_0x401bfd),_0x2a2ff0[_0xb4904c(0x19d)](_0x401bfd),_0x2a577f[_0xb4904c(0x1d3)](_0x401bfd);}[_0x16bd63(0x1fc)](_0x6610a4){const _0x5f3c15=_0x16bd63,_0x58659e=this[_0x5f3c15(0x197)][_0x5f3c15(0x202)][_0x5f3c15(0x243)](_0x5f3c15(0x1cd)),_0x121a8a=this[_0x5f3c15(0x197)][_0x5f3c15(0x202)][_0x5f3c15(0x243)](_0x5f3c15(0x232)),_0x335631=this[_0x5f3c15(0x1c0)][_0x5f3c15(0x243)](_0x6610a4),_0x34c0e8=_0x335631[_0x5f3c15(0x1d1)],_0x1a46bc=_0x121a8a[_0x5f3c15(0x1f5)](_0x34c0e8);_0x58659e[_0x5f3c15(0x22c)](_0x34c0e8),_0x1a46bc&&_0x121a8a[_0x5f3c15(0x19a)](_0x1a46bc),this[_0x5f3c15(0x1c0)][_0x5f3c15(0x236)](_0x6610a4),this[_0x5f3c15(0x1db)][_0x5f3c15(0x236)](_0x34c0e8),_0x335631[_0x5f3c15(0x1d6)]();}[_0x16bd63(0x1e4)](_0x44f881){const _0x39995c=_0x16bd63;if(!_0x44f881[_0x39995c(0x1df)]||!this[_0x39995c(0x1c0)][_0x39995c(0x212)](_0x44f881))return;const _0x48b707=this[_0x39995c(0x197)][_0x39995c(0x202)][_0x39995c(0x243)](_0x39995c(0x19e)),_0x4a6fef=this[_0x39995c(0x1c0)][_0x39995c(0x243)](_0x44f881),_0x283762=_0x44f881[_0x39995c(0x1be)]();_0x4a6fef[_0x39995c(0x1d1)][_0x39995c(0x1ad)]=_0x48b707[_0x39995c(0x1b0)][_0x39995c(0x1a3)](_0x283762);}[_0x16bd63(0x1d6)](){const _0x317361=_0x16bd63;for(const _0x2a4728 of this[_0x317361(0x1c0)][_0x317361(0x23f)]())this[_0x317361(0x1fc)](_0x2a4728);for(const _0x5c8cfa of this[_0x317361(0x1ca)][_0x317361(0x19c)]())_0x5c8cfa[_0x317361(0x1b8)][_0x317361(0x1d6)]();super[_0x317361(0x1d6)](),this[_0x317361(0x1a4)]&&clearInterval(this[_0x317361(0x1a4)]);}}function ke(_0x2323e2){const _0x391ec6=_0x16bd63;return _0x391ec6(0x22e)in _0x2323e2;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3cbbc6=_0x8e3c;(function(_0x2e06d9,_0x37b35d){const _0x881ead=_0x8e3c,_0x463b9e=_0x2e06d9();while(!![]){try{const _0x5eacf2=-parseInt(_0x881ead(0x1d0))/0x1*(parseInt(_0x881ead(0x1ca))/0x2)+parseInt(_0x881ead(0x1c1))/0x3+-parseInt(_0x881ead(0x1c0))/0x4+parseInt(_0x881ead(0x1dd))/0x5*(-parseInt(_0x881ead(0x1e2))/0x6)+-parseInt(_0x881ead(0x1ce))/0x7+parseInt(_0x881ead(0x1d2))/0x8*(-parseInt(_0x881ead(0x1d7))/0x9)+-parseInt(_0x881ead(0x1db))/0xa*(-parseInt(_0x881ead(0x1dc))/0xb);if(_0x5eacf2===_0x37b35d)break;else _0x463b9e['push'](_0x463b9e['shift']());}catch(_0x3d80a0){_0x463b9e['push'](_0x463b9e['shift']());}}}(_0x532f,0x30342));function _0x8e3c(_0xe4c63d,_0x51ee59){const _0x532f4f=_0x532f();return _0x8e3c=function(_0x8e3c39,_0xd3307d){_0x8e3c39=_0x8e3c39-0x1b8;let _0x156a3f=_0x532f4f[_0x8e3c39];return _0x156a3f;},_0x8e3c(_0xe4c63d,_0x51ee59);}import{ObservableMixin as _0x16bb37}from'ckeditor5/src/utils.js';import{getTranslation as _0x436ec6}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x16bb37(){[_0x3cbbc6(0x1bd)];[_0x3cbbc6(0x1d5)];[_0x3cbbc6(0x1bf)];[_0x3cbbc6(0x1c9)];[_0x3cbbc6(0x1d3)];[_0x3cbbc6(0x1c2)];[_0x3cbbc6(0x1c7)];constructor(_0xa1b5d6,_0x381d5d,_0x2b3d6d,_0x4f2e13){const _0x30db02=_0x3cbbc6;super(),this[_0x30db02(0x1bd)]=_0x381d5d,this[_0x30db02(0x1d5)]=_0x2b3d6d,this[_0x30db02(0x1bf)]=_0x4f2e13,this[_0x30db02(0x1c9)]=_0xa1b5d6,this[_0x30db02(0x1d3)]=_0xa1b5d6[_0x30db02(0x1bb)][_0x30db02(0x1c4)](_0x30db02(0x1e0)),this[_0x30db02(0x1c2)]=_0xa1b5d6[_0x30db02(0x1bb)][_0x30db02(0x1c4)](_0x30db02(0x1cc)),this[_0x30db02(0x1d5)][_0x30db02(0x1d6)](_0x30db02(0x1b8))['to'](this[_0x30db02(0x1d3)],this[_0x30db02(0x1c2)],(_0x58a1ad,_0x33c187)=>_0x58a1ad||_0x33c187),this[_0x30db02(0x1d5)][_0x30db02(0x1d6)](_0x30db02(0x1bc))['to'](this[_0x30db02(0x1d3)],_0x30db02(0x1b8),_0x2424b3=>_0x2424b3&&this[_0x30db02(0x1c9)][_0x30db02(0x1bd)][_0x30db02(0x1de)](_0x381d5d[_0x30db02(0x1ba)]())),this[_0x30db02(0x1d5)][_0x30db02(0x1d6)](_0x30db02(0x1d9))['to'](this[_0x30db02(0x1c2)],_0x30db02(0x1b8),_0x137014=>_0x137014&&this[_0x30db02(0x1c9)][_0x30db02(0x1bd)][_0x30db02(0x1de)](_0x381d5d[_0x30db02(0x1ba)]())),this[_0x30db02(0x1c7)]=null,_0x2b3d6d[_0x30db02(0x1d8)]&&this[_0x30db02(0x1be)](),this[_0x30db02(0x1da)](_0x2b3d6d,_0x30db02(0x1e0),()=>this[_0x30db02(0x1e0)]()),this[_0x30db02(0x1da)](_0x2b3d6d,_0x30db02(0x1cc),()=>this[_0x30db02(0x1cc)]()),this[_0x30db02(0x1da)](_0x2b3d6d,_0x30db02(0x1c6),()=>{const _0xc4bb3b=_0x30db02;_0x2b3d6d[_0xc4bb3b(0x1d8)]?this[_0xc4bb3b(0x1be)]():this[_0xc4bb3b(0x1b9)]();});}[_0x3cbbc6(0x1e0)](){const _0x30cba9=_0x3cbbc6;this[_0x30cba9(0x1d3)][_0x30cba9(0x1df)](this[_0x30cba9(0x1bd)]['id']);}[_0x3cbbc6(0x1cc)](){const _0x1f4066=_0x3cbbc6;this[_0x1f4066(0x1c2)][_0x1f4066(0x1df)](this[_0x1f4066(0x1bd)]['id']);}[_0x3cbbc6(0x1c5)](){const _0xf82bf5=_0x3cbbc6;this[_0xf82bf5(0x1d5)][_0xf82bf5(0x1d4)](_0xf82bf5(0x1b8)),this[_0xf82bf5(0x1d5)][_0xf82bf5(0x1d4)](_0xf82bf5(0x1bc)),this[_0xf82bf5(0x1d5)][_0xf82bf5(0x1d4)](_0xf82bf5(0x1d9)),this[_0xf82bf5(0x1c3)](),this[_0xf82bf5(0x1bf)][_0xf82bf5(0x1c5)](),this[_0xf82bf5(0x1c7)]&&this[_0xf82bf5(0x1b9)]();}[_0x3cbbc6(0x1be)](){const _0x4e1551=_0x3cbbc6,_0xcb25ae=_0x436ec6(this[_0x4e1551(0x1c9)][_0x4e1551(0x1e1)],_0x4e1551(0x1cf));this[_0x4e1551(0x1c7)]=this[_0x4e1551(0x1c9)][_0x4e1551(0x1c8)][_0x4e1551(0x1c4)](_0x4e1551(0x1d1))[_0x4e1551(0x1cd)](_0xcb25ae);}[_0x3cbbc6(0x1b9)](){const _0xaee450=_0x3cbbc6;null!==this[_0xaee450(0x1c7)]&&this[_0xaee450(0x1c9)][_0xaee450(0x1c8)][_0xaee450(0x1c4)](_0xaee450(0x1d1))[_0xaee450(0x1cb)](this[_0xaee450(0x1c7)]),this[_0xaee450(0x1c7)]=null;}}function _0x532f(){const _0x3ae38b=['_editor','186zVBwjV','remove','discardSuggestion','add','2385593FRwVnZ','PENDING_ACTION_SUGGESTION','4188DoYJfF','PendingActions','16gKWbTI','_acceptCommand','unbind','view','bind','1541502KrhLxe','isDirty','canDiscard','listenTo','116590MhvZnC','1408VPLFkk','1144120WPhmiM','canEditAt','execute','acceptSuggestion','locale','6oflTcz','isEnabled','_removePendingAction','getRanges','commands','canAccept','model','_setPendingAction','commentThreadController','1101520nVINql','846399YRNVeH','_discardCommand','stopListening','get','destroy','change:isDirty','_pendingAction','plugins'];_0x532f=function(){return _0x3ae38b;};return _0x532f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4518de=_0x4230;(function(_0x1e485f,_0x23c045){const _0x1402d8=_0x4230,_0xe731d=_0x1e485f();while(!![]){try{const _0x4f40f7=-parseInt(_0x1402d8(0x102))/0x1+parseInt(_0x1402d8(0x100))/0x2+parseInt(_0x1402d8(0xfd))/0x3+-parseInt(_0x1402d8(0xc4))/0x4*(-parseInt(_0x1402d8(0xdd))/0x5)+-parseInt(_0x1402d8(0xf1))/0x6*(-parseInt(_0x1402d8(0xe6))/0x7)+-parseInt(_0x1402d8(0xed))/0x8*(-parseInt(_0x1402d8(0x104))/0x9)+-parseInt(_0x1402d8(0xd3))/0xa*(parseInt(_0x1402d8(0x103))/0xb);if(_0x4f40f7===_0x23c045)break;else _0xe731d['push'](_0xe731d['shift']());}catch(_0x307183){_0xe731d['push'](_0xe731d['shift']());}}}(_0x37b5,0x3f24e));import{FocusCycler as _0x27c564,View as _0x2a5f88,ViewCollection as _0x39ca56}from'ckeditor5/src/ui.js';function _0x4230(_0x26701a,_0x3aa451){const _0x37b52d=_0x37b5();return _0x4230=function(_0x423015,_0x4aa949){_0x423015=_0x423015-0xc4;let _0x20d633=_0x37b52d[_0x423015];return _0x20d633;},_0x4230(_0x26701a,_0x3aa451);}import{FocusTracker as _0x4db1e0,KeystrokeHandler as _0x21931d}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x196d79,setupThreadKeyboardNavigation as _0x239f4d}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x862e79}from'../../utils/common-translations.js';import{renderDescription as _0x5e87b7}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2a5f88{[_0x4518de(0xd6)];[_0x4518de(0xf2)];[_0x4518de(0xd8)];[_0x4518de(0xf3)];[_0x4518de(0xe5)];[_0x4518de(0xe4)];[_0x4518de(0x106)];[_0x4518de(0x10c)];[_0x4518de(0xd7)];[_0x4518de(0xf5)];constructor(_0x10c4d6,_0x547f0d,_0x506f82,_0x9b0db8){const _0xed705=_0x4518de;super(_0x10c4d6),this[_0xed705(0xd6)]=null,this[_0xed705(0xf2)]=null,this[_0xed705(0xd8)]=new _0x196d79(_0x10c4d6,_0x862e79(_0x10c4d6,_0xed705(0xf7))),this[_0xed705(0xd0)](_0xed705(0xd4),!0x1),this[_0xed705(0xd0)](_0xed705(0xe3),_0x547f0d[_0xed705(0xe3)]),this[_0xed705(0xf0)](_0xed705(0xe3))['to'](_0x547f0d),this[_0xed705(0xd0)](_0xed705(0xf9),[]),this[_0xed705(0xd0)](_0xed705(0xc7),!0x1),this[_0xed705(0xd0)](_0xed705(0xdf),!0x1),this[_0xed705(0xd0)](_0xed705(0xfa),!0x1),this[_0xed705(0xd0)](_0xed705(0x10d),!0x1),this[_0xed705(0xf0)](_0xed705(0xe1))['to'](this,_0xed705(0x107),_0x547f0d,_0xed705(0xe3),this,_0xed705(0xf9),(_0x3b5920,_0x104152,_0x495db1)=>{const _0x12a890=_0xed705,_0x298bbd=_0x495db1[_0x12a890(0x105)](_0x2089f2=>_0x5e87b7(_0x2089f2[_0x12a890(0xce)]))[_0x12a890(0xd5)]('.\x20')+'.';return _0x862e79(this[_0x12a890(0xec)],_0x12a890(0x108),[_0x3b5920-0x1,_0x547f0d[_0x12a890(0xe0)][_0x12a890(0xc6)],_0x104152?_0x9b0db8[_0x12a890(0x109)](_0x104152):'',new DOMParser()[_0x12a890(0x101)](_0x298bbd,_0x12a890(0x10a))[_0x12a890(0xca)][_0x12a890(0x10b)]]);}),this[_0xed705(0xf3)]=new _0x39ca56(),this[_0xed705(0xe5)]=new _0x4db1e0(),this[_0xed705(0xe4)]=new _0x21931d(),this[_0xed705(0x106)]=new _0x27c564({'focusables':this[_0xed705(0xf3)],'focusTracker':this[_0xed705(0xe5)],'keystrokeHandler':this[_0xed705(0xe4)],'keystrokeHandlerOptions':{'filter':_0x2e580a=>_0x2e580a[_0xed705(0xcf)]!==this[_0xed705(0xc5)]},'actions':{'focusPrevious':_0xed705(0xee),'focusNext':_0xed705(0xcd)}}),this[_0xed705(0x10c)]=_0x547f0d,this[_0xed705(0xd7)]=_0x506f82,this[_0xed705(0xf5)]=_0x9b0db8,_0x9b0db8[_0xed705(0xfc)]?this[_0xed705(0xd0)](_0xed705(0x107),0x1):this[_0xed705(0xda)]();}[_0x4518de(0xe8)](){const _0x3fff73=_0x4518de;super[_0x3fff73(0xe8)](),_0x239f4d(this,this[_0x3fff73(0xf3)]);}[_0x4518de(0xcb)](){const _0x418ba9=_0x4518de;this[_0x418ba9(0xc5)][_0x418ba9(0xcb)]();}[_0x4518de(0xdb)](){const _0x4e4706=_0x4518de;this[_0x4e4706(0xd6)]&&this[_0x4e4706(0xd6)][_0x4e4706(0xdb)](),this[_0x4e4706(0xf2)]&&this[_0x4e4706(0xf2)][_0x4e4706(0xdb)](),super[_0x4e4706(0xdb)]();}[_0x4518de(0xda)](){const _0x4c57fd=_0x4518de,{CommentsListView:_0x13465c}=this[_0x4c57fd(0xf5)];this[_0x4c57fd(0xd6)]=new _0x13465c(this[_0x4c57fd(0xec)],this[_0x4c57fd(0x10c)][_0x4c57fd(0xff)],Object[_0x4c57fd(0xe2)]({'CommentView':this[_0x4c57fd(0xf5)][_0x4c57fd(0xc8)]},this[_0x4c57fd(0xf5)])),this[_0x4c57fd(0xd6)][_0x4c57fd(0xe9)](_0x4c57fd(0xfb))['to'](this),this[_0x4c57fd(0xd6)][_0x4c57fd(0xe9)](_0x4c57fd(0xd9))['to'](this),this[_0x4c57fd(0xd6)][_0x4c57fd(0xf0)](_0x4c57fd(0xd4))['to'](this),this[_0x4c57fd(0xd0)](_0x4c57fd(0x107),this[_0x4c57fd(0xd6)][_0x4c57fd(0x107)]+0x1),this[_0x4c57fd(0xf0)](_0x4c57fd(0x107))['to'](this[_0x4c57fd(0xd6)],_0x4c57fd(0x107),_0x3e2c5f=>_0x3e2c5f+0x1),this[_0x4c57fd(0xf2)]=this[_0x4c57fd(0xea)](),this['on'](_0x4c57fd(0xfb),()=>this[_0x4c57fd(0xcb)]()),this[_0x4c57fd(0xf0)](_0x4c57fd(0xc7))['to'](this[_0x4c57fd(0xd6)],_0x4c57fd(0xcc),this[_0x4c57fd(0xf2)][_0x4c57fd(0xf8)],_0x4c57fd(0xe7),(_0x174453,_0x2f5bb1)=>_0x174453||!!_0x2f5bb1);}[_0x4518de(0xea)](){const _0x246bde=_0x4518de,{CommentThreadInputView:_0x1f2639}=this[_0x246bde(0xf5)],_0x1a9aa2=new _0x1f2639(this[_0x246bde(0xec)],this[_0x246bde(0xd7)],this[_0x246bde(0xf5)][_0x246bde(0xdc)]),_0x43bfe9=_0x1a9aa2[_0x246bde(0xf8)];return _0x1a9aa2[_0x246bde(0xf0)](_0x246bde(0xde))['to'](this,_0x246bde(0xd4),this[_0x246bde(0x10c)][_0x246bde(0xff)],_0x246bde(0xd1),_0x43bfe9,_0x246bde(0xe7),(_0x235e0b,_0x245a5c,_0x375c35)=>!!_0x375c35||_0x235e0b&&!_0x245a5c),_0x43bfe9['on'](_0x246bde(0xd2),(_0x4fb989,_0x3a8fb6)=>{const _0x50a81b=_0x246bde;this[_0x50a81b(0xc9)](_0x50a81b(0xf6),_0x3a8fb6),_0x43bfe9[_0x50a81b(0xfe)][_0x50a81b(0xeb)]('');}),_0x43bfe9['on'](_0x246bde(0xf4),()=>this[_0x246bde(0xcb)]()),_0x43bfe9[_0x246bde(0xf0)](_0x246bde(0xef))['to'](this[_0x246bde(0x10c)][_0x246bde(0xff)],_0x246bde(0xd1)),_0x1a9aa2;}}function _0x37b5(){const _0x580ac2=['join','commentsListView','_localUser','ariaDescriptionView','updateComment','_createCommentViews','destroy','editorConfig','185uJxohP','showInput','isEnabled','author','ariaLabel','assign','authoredAt','keystrokes','focusTracker','422863fuDuqk','value','render','delegate','_createCommentThreadInputView','setData','locale','8BuvBIH','shift+tab','disabledSubmit','bind','42ekCuDc','commentThreadInputView','focusables','cancel','_config','addComment','SUGGESTION_THREAD_DESCRIPTION','commentInputView','descriptionParts','canAccept','removeComment','disableComments','584265glBmpG','editor','commentThread','330548rqcIDx','parseFromString','16047NDjDLJ','8437aVIMyi','4515876kOcBPz','map','focusCycler','length','SUGGESTION_THREAD_ARIA_LABEL','formatDateTime','text/html','textContent','_model','canDiscard','43136ogtCCz','element','name','isDirty','CommentView','fire','body','focus','hasDirtyComment','tab','content','target','set','isReadOnly','submit','18370uQYVwn','isActive'];_0x37b5=function(){return _0x580ac2;};return _0x37b5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5d73(){const _0x21fcc6=['set','24CjyEcR','27732sonMlU','54vozGuI','<p>','editorReady','author','discardSuggestion','commentThreadInputView','getTemplate','disableComments','ck-suggestion--disabled-comments','div','content','formatDateTime','setTemplate','_model','ck-rounded-corners','5753kpadDT','commentThread','listitem','add','4fDYovG','suggestionView','559412ApcoRA','2384190mXLLdn','49918PCDOvP','SuggestionView','discardButton','render','canDiscard','description','</p>','_config','type','descriptionParts','4537855oBanyV','push','commentsListView','1891908aCYzCb','_descriptionElement','acceptButton','editorDestroyed','canAccept','ck-suggestion-wrapper--active','3278649XBYqnB','ariaDescriptionView','bind','ariaLabel','color','ck-suggestion-wrapper','ck-suggestion-','18nTOuUS','focusables','isEnabled','delegate','isActive','bindTemplate','acceptSuggestion'];_0x5d73=function(){return _0x21fcc6;};return _0x5d73();}const _0x5ec80a=_0x1573;(function(_0x3860af,_0x18c2fd){const _0x4a98da=_0x1573,_0x3c6e5e=_0x3860af();while(!![]){try{const _0x313c90=-parseInt(_0x4a98da(0xdf))/0x1*(parseInt(_0x4a98da(0x100))/0x2)+parseInt(_0x4a98da(0xd8))/0x3*(-parseInt(_0x4a98da(0xfc))/0x4)+-parseInt(_0x4a98da(0xcf))/0x5+parseInt(_0x4a98da(0xd2))/0x6+-parseInt(_0x4a98da(0xfe))/0x7*(-parseInt(_0x4a98da(0xe7))/0x8)+parseInt(_0x4a98da(0xe9))/0x9*(parseInt(_0x4a98da(0xff))/0xa)+parseInt(_0x4a98da(0xf8))/0xb*(parseInt(_0x4a98da(0xe8))/0xc);if(_0x313c90===_0x18c2fd)break;else _0x3c6e5e['push'](_0x3c6e5e['shift']());}catch(_0x109c24){_0x3c6e5e['push'](_0x3c6e5e['shift']());}}}(_0x5d73,0xb5c45));import{BaseSuggestionThreadView as _0x2716bf}from'./basesuggestionthreadview.js';function _0x1573(_0x3a2e10,_0xc663e){const _0x5d73e7=_0x5d73();return _0x1573=function(_0x1573fa,_0x408df0){_0x1573fa=_0x1573fa-0xcd;let _0x41d1b5=_0x5d73e7[_0x1573fa];return _0x41d1b5;},_0x1573(_0x3a2e10,_0xc663e);}import{trimHtml as _0x533f77}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1ccccb}from'../../utils/utils.js';export class SuggestionThreadView extends _0x2716bf{[_0x5ec80a(0xfd)];[_0x5ec80a(0xd3)];constructor(_0x39793f,_0x10b28d,_0x3b55e5,_0x23edc5){const _0x46a64f=_0x5ec80a;super(_0x39793f,_0x10b28d,_0x3b55e5,_0x23edc5),this[_0x46a64f(0xe6)](_0x46a64f(0xcd),''),this[_0x46a64f(0xda)](_0x46a64f(0xcd))['to'](this,_0x46a64f(0xce),_0x2823ea=>_0x2823ea&&_0x2823ea[0x0]?_0x2823ea[0x0][_0x46a64f(0xcd)]:''),this[_0x46a64f(0xda)](_0x46a64f(0x105))['to'](this,_0x46a64f(0xce),this,_0x46a64f(0xe3),(_0x18f59d,_0x5b0eb6)=>{const _0xf8af6f=_0x46a64f;let _0x2b1032='';for(const _0x57850c of _0x18f59d)_0x2b1032+=_0xf8af6f(0xea)+_0x1ccccb(_0x57850c[_0xf8af6f(0xf3)],_0x57850c[_0xf8af6f(0xdc)])+_0xf8af6f(0x106);return _0x5b0eb6?_0x2b1032:_0x533f77(_0x2b1032,{'limit':0x8c});}),this[_0x46a64f(0xd3)]=null,this[_0x46a64f(0xfd)]=new _0x23edc5[(_0x46a64f(0x101))](_0x39793f,_0x10b28d,{'formatDateTime':_0x23edc5[_0x46a64f(0xf4)]}),this[_0x46a64f(0xfd)][_0x46a64f(0xda)](_0x46a64f(0x105))['to'](this),this[_0x46a64f(0xfd)][_0x46a64f(0xe2)](_0x46a64f(0xe5),_0x46a64f(0xed))['to'](this),this[_0x46a64f(0xfd)][_0x46a64f(0xd4)][_0x46a64f(0xda)](_0x46a64f(0xe1))['to'](this,_0x46a64f(0xd6)),this[_0x46a64f(0xfd)][_0x46a64f(0x102)][_0x46a64f(0xda)](_0x46a64f(0xe1))['to'](this,_0x46a64f(0x104)),this[_0x46a64f(0xe0)][_0x46a64f(0xfb)](this[_0x46a64f(0xfd)]),this[_0x46a64f(0xd1)]&&this[_0x46a64f(0xe0)][_0x46a64f(0xfb)](this[_0x46a64f(0xd1)]),this[_0x46a64f(0xee)]&&this[_0x46a64f(0xe0)][_0x46a64f(0xfb)](this[_0x46a64f(0xee)]),this[_0x46a64f(0xf5)](this[_0x46a64f(0xef)]());}[_0x5ec80a(0xef)](){const _0x22f811=_0x5ec80a,_0x2e82d4=this[_0x22f811(0xe4)],_0x15e2b0=[this[_0x22f811(0xfd)]];return this[_0x22f811(0xd1)]&&_0x15e2b0[_0x22f811(0xd0)](this[_0x22f811(0xd1)]),this[_0x22f811(0xee)]&&_0x15e2b0[_0x22f811(0xd0)](this[_0x22f811(0xee)]),_0x15e2b0[_0x22f811(0xd0)](this[_0x22f811(0xd9)]),{'tag':_0x22f811(0xf2),'attributes':{'class':['ck',_0x22f811(0xf7),_0x22f811(0xdd),_0x2e82d4['if'](_0x22f811(0xe3),_0x22f811(0xd7)),_0x2e82d4['to'](_0x22f811(0xcd),_0x1f1bec=>_0x22f811(0xde)+_0x1f1bec),this[_0x22f811(0x107)][_0x22f811(0xf0)]&&_0x22f811(0xf1)],'data-suggestion-id':this[_0x22f811(0xf6)]['id'],'data-thread-id':this[_0x22f811(0xf6)][_0x22f811(0xf9)]['id'],'data-author-id':this[_0x22f811(0xf6)][_0x22f811(0xec)]['id'],'tabindex':0x0,'role':_0x22f811(0xfa),'aria-label':_0x2e82d4['to'](_0x22f811(0xdb)),'aria-describedby':this[_0x22f811(0xd9)]['id']},'children':_0x15e2b0};}[_0x5ec80a(0x103)](){const _0x27829c=_0x5ec80a;super[_0x27829c(0x103)](),this[_0x27829c(0xd1)]&&(this[_0x27829c(0xd1)][_0x27829c(0xe2)](_0x27829c(0xeb))['to'](this),this[_0x27829c(0xd1)][_0x27829c(0xe2)](_0x27829c(0xd5))['to'](this)),this[_0x27829c(0xee)]&&(this[_0x27829c(0xee)][_0x27829c(0xe2)](_0x27829c(0xeb))['to'](this),this[_0x27829c(0xee)][_0x27829c(0xe2)](_0x27829c(0xd5))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b40c4=_0x5ea7;(function(_0x207513,_0x58e0bb){const _0x3d34a3=_0x5ea7,_0x364573=_0x207513();while(!![]){try{const _0x1e2097=parseInt(_0x3d34a3(0x1c9))/0x1*(-parseInt(_0x3d34a3(0x190))/0x2)+-parseInt(_0x3d34a3(0x1dd))/0x3*(parseInt(_0x3d34a3(0x1e5))/0x4)+parseInt(_0x3d34a3(0x19e))/0x5*(parseInt(_0x3d34a3(0x1e1))/0x6)+-parseInt(_0x3d34a3(0x1d8))/0x7*(parseInt(_0x3d34a3(0x1a5))/0x8)+-parseInt(_0x3d34a3(0x1cc))/0x9*(-parseInt(_0x3d34a3(0x1b9))/0xa)+-parseInt(_0x3d34a3(0x1e3))/0xb*(-parseInt(_0x3d34a3(0x1e0))/0xc)+parseInt(_0x3d34a3(0x1c3))/0xd*(parseInt(_0x3d34a3(0x1be))/0xe);if(_0x1e2097===_0x58e0bb)break;else _0x364573['push'](_0x364573['shift']());}catch(_0x354cb6){_0x364573['push'](_0x364573['shift']());}}}(_0xbecb,0xf1211));function _0x5ea7(_0x297413,_0x8e8f9d){const _0xbecb51=_0xbecb();return _0x5ea7=function(_0x5ea7af,_0x54ebee){_0x5ea7af=_0x5ea7af-0x18a;let _0x2f6e4d=_0xbecb51[_0x5ea7af];return _0x2f6e4d;},_0x5ea7(_0x297413,_0x8e8f9d);}import{FocusTracker as _0x26bc51,KeystrokeHandler as _0x451f53}from'ckeditor5/src/utils.js';import{View as _0x2493e4,ViewCollection as _0x3f3f81,FocusCycler as _0x3abe09}from'ckeditor5/src/ui.js';function _0xbecb(){const _0x45bee6=['13qJhBie','_config','Accept\x20suggestion','extendTemplate','ck-suggestion__actions','getUserViewNotificationText','8693cmMWAU','render','add','99YPlsau','authoredAt','EXTERNAL_IMPORT_WORD_SUGGESTION','push','keystrokes','span','target','fire','ck-annotation__actions','source','shift+tab','ck-suggestion','17122LzhIGp','element','ck-annotation__info-time','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_AVATAR','6LzzGPa','acceptButton','ck-suggestion__user','12bSWeRX','12SmCGTR','ck-suggestion--accept','8169953fwZrGp','ck-annotation__content-wrapper','2758612DgdUBq','ck-comment__info-time','tab','attributes','ck-annotation__info-name','div','ck-suggestion__info','name','110cTrzqe','ck-suggestion__info-name','presentation','ck-suggestion__main','querySelector','_setupKeyboardNavigation','.ck-annotation__content-wrapper','focus','bind','locale','author','formatDateTime','ck-annotation','creator','1683130GzFwCt','discardButton','userView','focusFirst','change:description','Discard\x20suggestion','focusCycler','1952aJeRnO','esc','_createButton','ck-suggestion--discard','discardSuggestion','isExternal','description','EXTERNAL_AVATAR','innerHTML','bindTemplate','execute','EXTERNAL_SUGGESTION','listenTo','set','enter','ck-annotation__info','ck-comment__external','getTemplate','@external','time','626740SJsJLQ','focusTracker','ck-annotation__main','importWord','_model','18711294vyKxcE','ck-annotation__user','setTemplate','focusables','acceptSuggestion'];_0xbecb=function(){return _0x45bee6;};return _0xbecb();}import{LateFocusButtonView as _0x1627bd,UserView as _0x4551ec}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x54667c,IconCheck as _0x5ca7d9}from'ckeditor5/src/icons.js';import{getTranslation as _0x55e230}from'../../utils/common-translations.js';export class SuggestionView extends _0x2493e4{[_0x3b40c4(0x1a0)];[_0x3b40c4(0x1de)];[_0x3b40c4(0x19f)];[_0x3b40c4(0x1c1)];[_0x3b40c4(0x1ba)];[_0x3b40c4(0x1d0)];[_0x3b40c4(0x1a4)];[_0x3b40c4(0x1bd)];[_0x3b40c4(0x1c4)];constructor(_0x296ece,_0x5e3c9a,_0x490378){const _0x2b8aae=_0x3b40c4;super(_0x296ece),this[_0x2b8aae(0x1bd)]=_0x5e3c9a,this[_0x2b8aae(0x1c4)]=_0x490378,this[_0x2b8aae(0x1b2)](_0x2b8aae(0x1ab),''),this[_0x2b8aae(0x198)](_0x2b8aae(0x1cd))['to'](_0x5e3c9a),this[_0x2b8aae(0x1de)]=this[_0x2b8aae(0x1a7)](_0x55e230(_0x296ece,_0x2b8aae(0x1c5)),_0x5ca7d9,_0x2b8aae(0x1e2),_0x2b8aae(0x1c2),'sw'),this[_0x2b8aae(0x19f)]=this[_0x2b8aae(0x1a7)](_0x55e230(_0x296ece,_0x2b8aae(0x1a3)),_0x54667c,_0x2b8aae(0x1a8),_0x2b8aae(0x1a9),'sw'),this[_0x2b8aae(0x1a0)]=new _0x4551ec(_0x296ece,_0x5e3c9a[_0x2b8aae(0x19a)],this[_0x2b8aae(0x1c8)]()),this[_0x2b8aae(0x1a0)][_0x2b8aae(0x1c6)]({'attributes':{'class':[_0x2b8aae(0x1df),_0x2b8aae(0x1bf)],'aria-hidden':!0x0}}),this[_0x2b8aae(0x1c1)]=new _0x3f3f81([this[_0x2b8aae(0x1de)],this[_0x2b8aae(0x19f)]]),this[_0x2b8aae(0x1ba)]=new _0x26bc51(),this[_0x2b8aae(0x1d0)]=new _0x451f53(),this[_0x2b8aae(0x1a4)]=new _0x3abe09({'focusables':this[_0x2b8aae(0x1c1)],'focusTracker':this[_0x2b8aae(0x1ba)],'keystrokeHandler':this[_0x2b8aae(0x1d0)],'actions':{'focusPrevious':_0x2b8aae(0x1d6),'focusNext':_0x2b8aae(0x18a)},'keystrokeHandlerOptions':{'filter':_0x55f1cd=>_0x55f1cd[_0x2b8aae(0x1d2)]!==this[_0x2b8aae(0x1d9)]}}),this[_0x2b8aae(0x1c0)](this[_0x2b8aae(0x1b6)]());}[_0x3b40c4(0x1ca)](){const _0x52df3c=_0x3b40c4;super[_0x52df3c(0x1ca)]();const _0xa2d85=this[_0x52df3c(0x1d9)][_0x52df3c(0x194)](_0x52df3c(0x196));_0xa2d85[_0x52df3c(0x1ad)]=this[_0x52df3c(0x1ab)],this['on'](_0x52df3c(0x1a2),(_0x569a0c,_0x453eea,_0x298468)=>{const _0x539424=_0x52df3c;_0xa2d85[_0x539424(0x1ad)]=_0x298468;}),this[_0x52df3c(0x195)]();}[_0x3b40c4(0x1b6)](){const _0x9ebcda=_0x3b40c4,_0x3c179e=this[_0x9ebcda(0x1ae)],_0x33703=[{'tag':_0x9ebcda(0x18d),'attributes':{'class':[_0x9ebcda(0x18e),_0x9ebcda(0x1b4)]},'children':[{'tag':_0x9ebcda(0x1d1),'children':[{'text':this[_0x9ebcda(0x1a0)][_0x9ebcda(0x18f)]}],'attributes':{'class':[_0x9ebcda(0x191),_0x9ebcda(0x18c)],'data-cke-tooltip-text':this[_0x9ebcda(0x1a0)][_0x9ebcda(0x18f)]}},{'tag':_0x9ebcda(0x1b8),'attributes':{'datetime':_0x3c179e['to'](_0x9ebcda(0x1cd)),'class':[_0x9ebcda(0x1e6),_0x9ebcda(0x1da)]},'children':[{'text':_0x3c179e['to'](_0x9ebcda(0x1cd),_0x56b594=>this[_0x9ebcda(0x1c4)][_0x9ebcda(0x19b)](_0x56b594))}]}]},{'tag':_0x9ebcda(0x18d),'attributes':{'class':[_0x9ebcda(0x1c7),_0x9ebcda(0x1d4)]},'children':[this[_0x9ebcda(0x1de)],this[_0x9ebcda(0x19f)]]},{'tag':_0x9ebcda(0x18d),'attributes':{'class':[_0x9ebcda(0x1e4)]}}];return this[_0x9ebcda(0x1bd)][_0x9ebcda(0x1aa)]&&_0x33703[_0x9ebcda(0x1cf)]({'tag':_0x9ebcda(0x18d),'attributes':{'class':[_0x9ebcda(0x1b5)]},'children':[{'text':this[_0x9ebcda(0x1db)]()}]}),{'tag':_0x9ebcda(0x18d),'attributes':{'class':[_0x9ebcda(0x1d7),_0x9ebcda(0x19c)],'tabindex':-0x1},'children':[this[_0x9ebcda(0x1a0)],{'tag':_0x9ebcda(0x18d),'attributes':{'class':[_0x9ebcda(0x193),_0x9ebcda(0x1bb)],'role':_0x9ebcda(0x192)},'children':_0x33703}]};}[_0x3b40c4(0x197)](){const _0xd16c6a=_0x3b40c4;this[_0xd16c6a(0x1d9)][_0xd16c6a(0x197)]();}[_0x3b40c4(0x1c8)](){const _0x416632=_0x3b40c4;return this[_0x416632(0x1bd)][_0x416632(0x1aa)]?_0x416632(0x1bc)===this[_0x416632(0x1bd)][_0x416632(0x18b)][_0x416632(0x1b7)][_0x416632(0x1d5)]?_0x55e230(this[_0x416632(0x199)],_0x416632(0x1dc),this[_0x416632(0x1bd)][_0x416632(0x19d)][_0x416632(0x18f)]):_0x55e230(this[_0x416632(0x199)],_0x416632(0x1ac),this[_0x416632(0x1bd)][_0x416632(0x19d)][_0x416632(0x18f)]):null;}[_0x3b40c4(0x1db)](){const _0x3b9107=_0x3b40c4;return _0x3b9107(0x1bc)===this[_0x3b9107(0x1bd)][_0x3b9107(0x18b)][_0x3b9107(0x1b7)][_0x3b9107(0x1d5)]?_0x55e230(this[_0x3b9107(0x199)],_0x3b9107(0x1ce)):_0x55e230(this[_0x3b9107(0x199)],_0x3b9107(0x1b0));}[_0x3b40c4(0x1a7)](_0x52daf5,_0xe56793,_0x1e6148,_0x171c79,_0x382b6c){const _0x41c026=_0x3b40c4,_0x50614f=new _0x1627bd(this[_0x41c026(0x199)]);return _0x50614f[_0x41c026(0x1b2)]({'label':_0x52daf5,'icon':_0xe56793,'tooltip':!0x0,'tooltipPosition':_0x382b6c}),_0x50614f[_0x41c026(0x1c6)]({'attributes':{'class':_0x1e6148}}),_0x50614f['on'](_0x41c026(0x1af),()=>{const _0x3d7b90=_0x41c026;this[_0x3d7b90(0x1d3)](_0x171c79,this[_0x3d7b90(0x1bd)]['id']);}),_0x50614f;}[_0x3b40c4(0x195)](){const _0x326283=_0x3b40c4,_0x50e2b6=this[_0x326283(0x1d9)];this[_0x326283(0x1d0)][_0x326283(0x1b1)](_0x50e2b6);for(const _0x414ad2 of this[_0x326283(0x1c1)])this[_0x326283(0x1ba)][_0x326283(0x1cb)](_0x414ad2[_0x326283(0x1d9)]),this[_0x326283(0x1d0)][_0x326283(0x1b1)](_0x414ad2[_0x326283(0x1d9)]);this[_0x326283(0x1d0)][_0x326283(0x1b2)](_0x326283(0x1b3),(_0x1fa5ba,_0x36b632)=>{const _0x5f538d=_0x326283;_0x50e2b6===_0x1fa5ba[_0x5f538d(0x1d2)]&&(this[_0x5f538d(0x1a4)][_0x5f538d(0x1a1)](),_0x36b632());}),this[_0x326283(0x1d0)][_0x326283(0x1b2)](_0x326283(0x1a6),(_0x5533e6,_0x2d9312)=>{const _0x908482=_0x326283;_0x50e2b6!==_0x5533e6[_0x908482(0x1d2)]&&(this[_0x908482(0x197)](),_0x2d9312());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x8011b3=_0x564f;(function(_0x946b25,_0x4b9d72){const _0x24224e=_0x564f,_0x165e87=_0x946b25();while(!![]){try{const _0x3b2bcd=-parseInt(_0x24224e(0x1e9))/0x1+-parseInt(_0x24224e(0x1dc))/0x2*(parseInt(_0x24224e(0x1d1))/0x3)+parseInt(_0x24224e(0x1d8))/0x4+parseInt(_0x24224e(0x1cb))/0x5+-parseInt(_0x24224e(0x1dd))/0x6*(-parseInt(_0x24224e(0x1e4))/0x7)+-parseInt(_0x24224e(0x1d5))/0x8*(parseInt(_0x24224e(0x1c8))/0x9)+-parseInt(_0x24224e(0x1da))/0xa*(-parseInt(_0x24224e(0x1de))/0xb);if(_0x3b2bcd===_0x4b9d72)break;else _0x165e87['push'](_0x165e87['shift']());}catch(_0x43c8f9){_0x165e87['push'](_0x165e87['shift']());}}}(_0x4c22,0xe4840));function _0x4c22(){const _0x264a63=['innerHTML','994672tQOiSH','setPreviewData','push','setAttribute','className','979084aTUeIU','style','216lcblIA','content','fire','5157645SLzILm','data-ck-root-name','dialogRects','options','focus','classes','6CchOkb','render','ck-track-changes-preview','createElement','493752DrXjrK','width','height','1590764YoDzRB','ck-reset','460KIBCHa','\x20ck-track-changes-preview__root-container','1691234CFiMpl','60VSCcHY','535029IIeHmo','element','setTemplate','previewDataReady','div'];_0x4c22=function(){return _0x264a63;};return _0x4c22();}import{View as _0x49feb8}from'ckeditor5/src/ui.js';function _0x564f(_0x24f206,_0x46ecf9){const _0x4c2212=_0x4c22();return _0x564f=function(_0x564f48,_0x3feb3a){_0x564f48=_0x564f48-0x1c8;let _0x4b4a94=_0x4c2212[_0x564f48];return _0x4b4a94;},_0x564f(_0x24f206,_0x46ecf9);}export class TrackChangesPreviewView extends _0x49feb8{[_0x8011b3(0x1ce)];constructor(_0x22ba7e,_0x3c1f7b){const _0x4a8bde=_0x8011b3;super(_0x22ba7e),this[_0x4a8bde(0x1ce)]=_0x3c1f7b,this[_0x4a8bde(0x1e0)]({'tag':_0x4a8bde(0x1e2),'attributes':{'class':['ck',_0x4a8bde(0x1d9),_0x4a8bde(0x1d3)],'tabindex':-0x1}});}[_0x8011b3(0x1d2)](){const _0x13718d=_0x8011b3;super[_0x13718d(0x1d2)](),this[_0x13718d(0x1df)][_0x13718d(0x1ea)][_0x13718d(0x1d6)]=this[_0x13718d(0x1ce)][_0x13718d(0x1cd)][_0x13718d(0x1d6)]+'px',this[_0x13718d(0x1df)][_0x13718d(0x1ea)][_0x13718d(0x1d7)]=this[_0x13718d(0x1ce)][_0x13718d(0x1cd)][_0x13718d(0x1d7)]+'px';}[_0x8011b3(0x1e5)](_0x1975d8,_0x47eb59){const _0x2cef1e=_0x8011b3;if(!this[_0x2cef1e(0x1df)])return;const _0x2819ab=[];for(const [_0x3954dc,_0x4e4f8b]of _0x1975d8){const _0x1fc143=document[_0x2cef1e(0x1d4)](_0x2cef1e(0x1e2));_0x1fc143[_0x2cef1e(0x1e7)](_0x2cef1e(0x1cc),_0x3954dc),_0x1fc143[_0x2cef1e(0x1e8)]=_0x4e4f8b[_0x2cef1e(0x1d0)]+_0x2cef1e(0x1db),_0x1fc143[_0x2cef1e(0x1e3)]=_0x4e4f8b[_0x2cef1e(0x1c9)],_0x2819ab[_0x2cef1e(0x1e6)](_0x1fc143);}_0x47eb59(this[_0x2cef1e(0x1df)],_0x2819ab),this[_0x2cef1e(0x1df)][_0x2cef1e(0x1ea)][_0x2cef1e(0x1d7)]='',this[_0x2cef1e(0x1ca)](_0x2cef1e(0x1e1));}[_0x8011b3(0x1cf)](){const _0x577c45=_0x8011b3;this[_0x577c45(0x1df)][_0x577c45(0x1cf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3b4ed9,_0x24adba,_0x336482){const _0x3bc20d=_0x3b4ed9['t'],t=_0x3b4ed9['t'];switch(_0x24adba){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',_0x336482);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x336482);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x336482);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x336482);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x336482);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',_0x336482);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x336482);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',_0x336482);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x336482);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x336482);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x336482);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x336482);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x336482);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x336482);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x336482);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x336482);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x336482);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x336482);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x336482);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x336482);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x336482);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x336482);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x336482);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x336482);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x336482);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'},_0x336482);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x336482);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x336482);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x336482);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x336482);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x336482);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x336482);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x336482);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'},_0x336482);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x336482);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x336482);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x336482);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x336482);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'},_0x336482);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x336482);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'},_0x336482);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x336482);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x336482);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'},_0x336482);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x336482);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'},_0x336482);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x336482);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x336482);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x336482);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x336482);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x336482);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'},_0x336482);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x336482);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 _0x3bc20d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x336482);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3bc20d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x336482);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x336482);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'},_0x336482);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'},_0x336482);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'},_0x336482);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x24adba;}}
|
|
23
|
+
export function getTranslation(_0x4d4433,_0xbff904,_0x12dcf7){const _0x106aa4=_0x4d4433['t'],t=_0x4d4433['t'];switch(_0xbff904){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',_0x12dcf7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x12dcf7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x12dcf7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x12dcf7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x12dcf7);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',_0x12dcf7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x12dcf7);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',_0x12dcf7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x12dcf7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x12dcf7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x12dcf7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x12dcf7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x12dcf7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x12dcf7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x12dcf7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x12dcf7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x12dcf7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x12dcf7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x12dcf7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x12dcf7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x12dcf7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x12dcf7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x12dcf7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x12dcf7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x12dcf7);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'},_0x12dcf7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x12dcf7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x12dcf7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x12dcf7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x12dcf7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x12dcf7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x12dcf7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x12dcf7);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'},_0x12dcf7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x12dcf7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x12dcf7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x12dcf7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x12dcf7);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'},_0x12dcf7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x12dcf7);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'},_0x12dcf7);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x12dcf7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x12dcf7);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'},_0x12dcf7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x12dcf7);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'},_0x12dcf7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x12dcf7);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x12dcf7);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x12dcf7);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x12dcf7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x12dcf7);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'},_0x12dcf7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x12dcf7);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 _0x106aa4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x12dcf7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x106aa4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x12dcf7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x12dcf7);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'},_0x12dcf7);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'},_0x12dcf7);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'},_0x12dcf7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xbff904;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5f3cc3,_0x3a640c){const _0x2adbde=_0x4551,_0x4f5bae=_0x5f3cc3();while(!![]){try{const _0x5a7f51=parseInt(_0x2adbde(0x100))/0x1*(parseInt(_0x2adbde(0x11b))/0x2)+parseInt(_0x2adbde(0xfe))/0x3*(-parseInt(_0x2adbde(0x127))/0x4)+-parseInt(_0x2adbde(0x116))/0x5+-parseInt(_0x2adbde(0x126))/0x6+parseInt(_0x2adbde(0x10d))/0x7*(parseInt(_0x2adbde(0x124))/0x8)+-parseInt(_0x2adbde(0x11c))/0x9+-parseInt(_0x2adbde(0x11d))/0xa*(-parseInt(_0x2adbde(0xfb))/0xb);if(_0x5a7f51===_0x3a640c)break;else _0x4f5bae['push'](_0x4f5bae['shift']());}catch(_0x1f2152){_0x4f5bae['push'](_0x4f5bae['shift']());}}}(_0x59ee,0x253bd));export function normalizeDescription(_0x352688){const _0x12db71=_0x4551;return Array[_0x12db71(0x102)](_0x352688)||(_0x352688=[_0x352688]),_0x352688[_0x12db71(0x11e)](_0x1a5b2e=>{const _0x4cf4db=_0x12db71,_0x587a40=_0x1a5b2e[_0x4cf4db(0x108)][_0x4cf4db(0x101)](/\*/g,''),_0x2c0d50=_0x1a5b2e[_0x4cf4db(0xff)]?_0x4cf4db(0xf8)+_0x1a5b2e[_0x4cf4db(0xff)][_0x4cf4db(0x118)]+']':'';return'['+_0x1a5b2e[_0x4cf4db(0x122)]+']\x20'+_0x587a40+_0x2c0d50;})[_0x12db71(0x120)](';\x20');}export function renderDescription(_0x3d47bb,_0x4264d3){const _0x32190e=_0x4551;let _0x51e2fb='';return _0x51e2fb+=_0x3d47bb[_0x32190e(0x10b)]('*')[_0x32190e(0x11e)]((_0x12ba5e,_0x8c7c0b)=>_0x8c7c0b%0x2!=0x0?_0x32190e(0xf9)+rn(_0x12ba5e)+_0x32190e(0x106):rn(_0x12ba5e))[_0x32190e(0x120)](''),_0x4264d3&&(_0x51e2fb+=_0x32190e(0x104)+_0x4264d3[_0x32190e(0x118)]+_0x32190e(0x114)+_0x4264d3[_0x32190e(0x125)]+_0x32190e(0x110)),_0x51e2fb;}function rn(_0x5e0be9){const _0x42015a=_0x4551,_0x5af599=document[_0x42015a(0x11a)](_0x42015a(0x115));return _0x5af599[_0x42015a(0x111)]=_0x5e0be9,_0x5af599[_0x42015a(0x105)];}export function sortSuggestions(_0x2ab7a0){const _0x32db64=_0x4551;return _0x2ab7a0[_0x32db64(0x123)]((_0x66a363,_0xef8a1d)=>_0x32db64(0x12a)===_0x66a363[_0x32db64(0x122)]&&_0x32db64(0x12a)!==_0xef8a1d[_0x32db64(0x122)]?-0x1:_0x32db64(0x12a)!==_0x66a363[_0x32db64(0x122)]&&_0x32db64(0x12a)===_0xef8a1d[_0x32db64(0x122)]?0x1:_0x32db64(0x12d)==_0x66a363[_0x32db64(0x122)]&&_0x32db64(0x12d)!=_0xef8a1d[_0x32db64(0x122)]?-0x1:_0x32db64(0x12d)!=_0x66a363[_0x32db64(0x122)]&&_0x32db64(0x12d)==_0xef8a1d[_0x32db64(0x122)]?0x1:0x0);}export function getSelectedSuggestions(_0x4a37f9,_0x38d6b6){const _0x27302d=_0x4551,_0x3d06ce=Array[_0x27302d(0x12f)](_0x4a37f9[_0x27302d(0x12e)]()),_0x51fd32=new Set();for(const _0x542413 of _0x38d6b6)if(_0x542413[_0x27302d(0x107)]){for(const _0x4ffe08 of _0x3d06ce)for(const _0x4bd0fe of _0x542413[_0x27302d(0x12e)]())(_0x4ffe08[_0x27302d(0x119)](_0x4bd0fe)||_0x4a37f9[_0x27302d(0x11f)]&&!_0x542413[_0x27302d(0x113)]&&_0x542413[_0x27302d(0x128)]&&_0x4bd0fe[_0x27302d(0x10c)][_0x27302d(0xfc)](_0x4ffe08[_0x27302d(0x10f)]))&&_0x51fd32[_0x27302d(0xfa)](_0x542413);}return _0x51fd32;}export function getRangesOfBlockGroups(_0x2f9112,_0x2cc0e5){const _0x100ae2=_0x4551;let _0x230d5b,_0xf017fa=0x0;const _0xea50d4=[],_0x7851f1=_0x2cc0e5[_0x100ae2(0x117)];for(;_0xf017fa<_0x2f9112[_0x100ae2(0x121)];){const _0x5d701b=_0x2f9112[_0xf017fa],_0x589fa0=_0x2f9112[_0xf017fa+0x1];_0x230d5b||(_0x230d5b=_0x2cc0e5[_0x100ae2(0x10e)](_0x5d701b)),cn(_0x2cc0e5,_0x5d701b,_0x589fa0)||(_0xea50d4[_0x100ae2(0x10a)](_0x2cc0e5[_0x100ae2(0x112)](_0x230d5b,_0x7851f1[_0x100ae2(0x129)](_0x5d701b)?_0x2cc0e5[_0x100ae2(0x109)](_0x5d701b):_0x2cc0e5[_0x100ae2(0x12c)](_0x5d701b,_0x100ae2(0x10c)))),_0x230d5b=null),_0xf017fa++;}return _0xea50d4;}function _0x4551(_0x15a010,_0x39be60){const _0x59ee90=_0x59ee();return _0x4551=function(_0x4551cf,_0x49738c){_0x4551cf=_0x4551cf-0xf8;let _0x2cac0d=_0x59ee90[_0x4551cf];return _0x2cac0d;},_0x4551(_0x15a010,_0x39be60);}function cn(_0x3c2563,_0x1e561a,_0x55df26){const _0x5320b7=_0x4551;if(!_0x55df26)return!0x1;const _0x1d1359=_0x3c2563[_0x5320b7(0x109)](_0x1e561a),_0xddce3f=_0x3c2563[_0x5320b7(0x10e)](_0x55df26);return _0x1d1359[_0x5320b7(0xfc)](_0xddce3f);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x37a17c,_0x3dcba8,_0x462430){const _0x28ec9d=_0x4551;for(;_0x462430[_0x28ec9d(0x121)];){const _0x3033b3=_0x462430[_0x28ec9d(0xfd)](0x0,0x64);_0x37a17c[_0x28ec9d(0x12b)](()=>{const _0xdae698=_0x28ec9d;for(const _0xecf143 of _0x3033b3)_0xecf143[_0xdae698(0x107)]&&_0x3dcba8[_0xdae698(0x103)](_0xecf143['id']);});}}function _0x59ee(){const _0x48f8f6=['execute','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerHTML','</span>','isInContent','content','createPositionAfter','push','split','end','477659HSDsEA','createPositionBefore','start','\x22></span>','innerText','createRange','isMultiRange','\x22\x20title=\x22','span','1059230yEQWkZ','schema','value','isIntersecting','createElement','76qcWCFe','1927647oEemSr','10ubfQKT','map','isCollapsed','join','length','type','sort','24TtJoIi','title','319470BVnJqb','12RDbHRL','next','isObject','attribute','change','createPositionAt','deletion','getRanges','from','\x20[color\x20','<span\x20class=\x22ck-suggestion-type\x22>','add','5799013ApVdmm','isTouching','splice','223383rQDLLF','color','3244KRwTip','replace','isArray'];_0x59ee=function(){return _0x48f8f6;};return _0x59ee();}
|