@ckeditor/ckeditor5-track-changes 47.0.0-alpha.7 → 47.0.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/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f62f3=_0x2385;(function(_0x2c3a7d,_0x4207b9){const _0x1f49dd=_0x2385,_0x30f717=_0x2c3a7d();while(!![]){try{const _0x3e685b=parseInt(_0x1f49dd(0x1ad))/0x1+parseInt(_0x1f49dd(0x1b1))/0x2+parseInt(_0x1f49dd(0x1ac))/0x3*(parseInt(_0x1f49dd(0x1bc))/0x4)+parseInt(_0x1f49dd(0x1b9))/0x5*(-parseInt(_0x1f49dd(0x1c1))/0x6)+-parseInt(_0x1f49dd(0x1ab))/0x7+-parseInt(_0x1f49dd(0x1b4))/0x8+parseInt(_0x1f49dd(0x1bb))/0x9*(parseInt(_0x1f49dd(0x1bd))/0xa);if(_0x3e685b===_0x4207b9)break;else _0x30f717['push'](_0x30f717['shift']());}catch(_0x132955){_0x30f717['push'](_0x30f717['shift']());}}}(_0x585c,0x93647));import{Plugin as _0x59cd87}from'ckeditor5/src/core.js';function _0x2385(_0x48c498,_0x17ac3f){const _0x585ccd=_0x585c();return _0x2385=function(_0x2385c6,_0xc108e7){_0x2385c6=_0x2385c6-0x1ab;let _0x2030b0=_0x585ccd[_0x2385c6];return _0x2030b0;},_0x2385(_0x48c498,_0x17ac3f);}import{Dialog as _0x5c1047}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x58fcdb}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x1a2c13}from'./commands/previewfinalcontentcommand.js';function _0x585c(){const _0x27d24c=['4964416WyzOMD','TrackChangesPreview','pluginName','isPremiumPlugin','previewFinalContent','10nqsMoE','add','1791MSuUWa','2406708FkJEpp','25770oyYfuL','commands','config','requires','275046gNzFDE','4753602tTjtcT','3BPbcMg','318987OOsDvi','define','appendChild','trackChanges.preview.renderFunction','1123104XSStxE','editor','isOfficialPlugin'];_0x585c=function(){return _0x27d24c;};return _0x585c();}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x59cd87{static get[_0x4f62f3(0x1c0)](){return[_0x58fcdb,_0x5c1047];}static get[_0x4f62f3(0x1b6)](){const _0x3aaf2d=_0x4f62f3;return _0x3aaf2d(0x1b5);}static get[_0x4f62f3(0x1b3)](){return!0x0;}static get[_0x4f62f3(0x1b7)](){return!0x0;}constructor(_0x1dd859){const _0xf36c93=_0x4f62f3;super(_0x1dd859),_0x1dd859[_0xf36c93(0x1be)][_0xf36c93(0x1ba)](_0xf36c93(0x1b8),new _0x1a2c13(this[_0xf36c93(0x1b2)])),_0x1dd859[_0xf36c93(0x1bf)][_0xf36c93(0x1ae)](_0xf36c93(0x1b0),(_0x3149cd,_0x308739)=>{const _0x413ea9=_0xf36c93;for(const _0x3f90e8 of _0x308739)_0x3149cd[_0x413ea9(0x1af)](_0x3f90e8);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2251(_0x29b29f,_0x4735b8){const _0x1b1bc5=_0x1b1b();return _0x2251=function(_0x2251fe,_0x1a2e2a){_0x2251fe=_0x2251fe-0xc0;let _0x297dba=_0x1b1bc5[_0x2251fe];return _0x297dba;},_0x2251(_0x29b29f,_0x4735b8);}const _0x1cc909=_0x2251;(function(_0x4905e5,_0x46f91b){const _0x5e612e=_0x2251,_0x5b4d13=_0x4905e5();while(!![]){try{const _0x404203=-parseInt(_0x5e612e(0x168))/0x1+-parseInt(_0x5e612e(0x158))/0x2+parseInt(_0x5e612e(0x117))/0x3+-parseInt(_0x5e612e(0xfe))/0x4+-parseInt(_0x5e612e(0xea))/0x5*(-parseInt(_0x5e612e(0x135))/0x6)+-parseInt(_0x5e612e(0x15a))/0x7*(-parseInt(_0x5e612e(0xc5))/0x8)+parseInt(_0x5e612e(0x12c))/0x9;if(_0x404203===_0x46f91b)break;else _0x5b4d13['push'](_0x5b4d13['shift']());}catch(_0x9a3122){_0x5b4d13['push'](_0x5b4d13['shift']());}}}(_0x1b1b,0x4f576));function _0x1b1b(){const _0x3e1da8=['config','getSuggestion','trackChanges','arrowView','children','add','get','suggestion-','114970pCsCkp','button','values','execute','registerAnnotation','menuitem','comments.maxCommentsWhenCollapsed','change:activeAnnotations','lowest','isPremiumPlugin','addComment','suggestionView','focus','_annotationViews','96vnohpf','trackChanges.SuggestionView','menuitemcheckbox','suggestionChanged','_bindAnnotationToEditors','editor','TrackChangesUI','stopListening','_handleControllerBuffer','addMany','discardAllSuggestions','separator','getAllAdjacentSuggestions','isOfficialPlugin','menu','_disableComments','getSuggestionForAnnotation','isMultiRange','_suggestionToController','_unbindEditors','getMarkers','_destroyController','size','trackChangesLicenseKeyNotAllowed','innerView','previewFinalContent','evaluationLimit','TrackChangesPreview','licenseKey','CommentsUI','comments.maxThreadTotalWeight','suggestionUnloaded','push','actionView','fire','commands','previous','146155gxLcsl','_refreshActiveMarkers','keys','bind','Track\x20changes','_licenseKeyCheckInterval','head','_createMenuBarMenu','CommentView','Discard\x20all\x20selected\x20suggestions','view','_viewToController','expired','Accept\x20all\x20selected\x20suggestions','trackChangesLicenseKeyExpired','listenTo','createAnnotationView','_handleSuggestionControllerDelayed','invalid','commentThread','2502772wtHOUz','usageLimit','Annotations','descriptionFactory','change:previous','activeMarkers','EditorAnnotations','getJoined','filter','trackChanges.disableComments','isInContent','acceptSelectedSuggestions','delegate','Preview\x20final\x20content','trackChangesLicenseKeyUsageLimit','TrackChanges','acceptButton','items','comments.maxCommentCharsWhenCollapsed','getFirstRange','CommentsRepository','refreshSelectedViews','TrackChangesEditing','componentFactory','activeAnnotations','899958purnDi','delete','acceptAllSuggestions','trackChanges.SuggestionThreadView','value','_showLicenseError','switchbutton','locale','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyValid','from','discardSelectedSuggestions','comments','hasSuggestion','getAnnotationForSuggestion','_addUIComponentsToFactory','getDescriptions','SuggestionView','addSourceCollector','set','descriptionParts','6775614ICuuws','init','commentsListView','SuggestionThreadView','trialLimit','plugins','trackChangesLicenseKeyTrialLimit','Accept\x20all\x20suggestions','source','6zeadDc','destroy','getRanges','menuBar:trackChanges','_createToolbarButton','createCommentThreadController','trackChangesLicenseKeyInvalid','isDirty','some','commandName','_updateController','mainView','panelView','editing','featureNotAllowed','isOn','clear','getMarkerNames','suggestionLoaded','domainLimit','toMany','reduce','remove','has','unbind','Discard\x20all\x20suggestions','buttonView','define','escape','discardButton','length','pluginName','getByInnerView','type','requires','1019260EVILCY','comments.editorConfig','287707DAEArV','isEnabled','trackChangesLicenseKeyEvaluationLimit','createAnnotation','model','_initializeController'];_0x1b1b=function(){return _0x3e1da8;};return _0x1b1b();}import{Plugin as _0x50d333}from'ckeditor5/src/core.js';import{Collection as _0x1849f1}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x25bc24}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4fd7ab,createDropdown as _0x5128c9,ListSeparatorView as _0x42b557,MenuBarMenuView as _0x73e67,MenuBarMenuListView as _0x16a73d,MenuBarMenuListItemView as _0x4f9c45,MenuBarMenuListItemButtonView as _0x5e4e23,SplitButtonView as _0x556751,UIModel as _0x4218cf}from'ckeditor5/src/ui.js';import{Users as _0x2793bf,getDateTimeFormatter as _0x50b5c5,getAllMarkersDomElementsSorted as _0x275026}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1994dd}from'./trackchangesediting.js';import{SuggestionController as _0x1ec902}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x170b33}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x42ea5b}from'./ui/view/suggestionview.js';import{getTranslation as _0x146d28}from'./utils/common-translations.js';export class TrackChangesUI extends _0x50d333{[_0x1cc909(0xe1)];[_0x1cc909(0xef)];[_0x1cc909(0xd7)];[_0x1cc909(0xf5)];[_0x1cc909(0xc4)];[_0x1cc909(0xcd)];[_0x1cc909(0xd4)];static get[_0x1cc909(0x157)](){const _0x3ed872=_0x1cc909;return[_0x1994dd,_0x2793bf,_0x3ed872(0x112),_0x3ed872(0x100),_0x3ed872(0x104)];}static get[_0x1cc909(0x154)](){const _0x9df963=_0x1cc909;return _0x9df963(0xcb);}static get[_0x1cc909(0xd2)](){return!0x0;}static get[_0x1cc909(0xc0)](){return!0x0;}constructor(_0x5da0e4){const _0x5e1b91=_0x1cc909;super(_0x5da0e4),this[_0x5e1b91(0xd7)]=new Map(),this[_0x5e1b91(0xf5)]=new Map(),this[_0x5e1b91(0xc4)]=new Map(),this[_0x5e1b91(0xcd)]=new Map();const _0x495973=this[_0x5e1b91(0xca)][_0x5e1b91(0x160)];_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0x11a),_0x170b33),_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0xc6),_0x42ea5b),_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0x107),!0x1),this[_0x5e1b91(0xd4)]=_0x495973[_0x5e1b91(0x166)](_0x5e1b91(0x107));}[_0x1cc909(0xfb)](_0xc09f19,_0x112df1){const _0x47b3c4=_0x1cc909;0x0===this[_0x47b3c4(0xcd)][_0x47b3c4(0xdb)]&&setTimeout(()=>{const _0x159db3=_0x47b3c4;for(const [_0xd52533,_0x4ae862]of this[_0x159db3(0xcd)]){const _0x5d552d=this[_0x159db3(0xd7)][_0x159db3(0x14c)](_0xd52533);_0x5d552d||_0x4ae862?_0x5d552d&&_0x4ae862&&this[_0x159db3(0xda)](_0xd52533):this[_0x159db3(0x15f)](_0xd52533);}this[_0x159db3(0xcd)][_0x159db3(0x145)](),this[_0x159db3(0xca)][_0x159db3(0x131)][_0x159db3(0x166)](_0x159db3(0x104))[_0x159db3(0x113)](),this[_0x159db3(0xeb)]();},0xa),this[_0x47b3c4(0xcd)][_0x47b3c4(0x12a)](_0xc09f19,_0x112df1);}[_0x1cc909(0x12d)](){const _0x568060=_0x1cc909,_0x54514b=this[_0x568060(0xca)],_0x167ad2=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x114)),_0x47b96e=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x100)),_0x366f3e=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x104)),_0x5ee43a=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x112));this[_0x568060(0x126)](),_0x366f3e[_0x568060(0x129)](()=>{const _0x3b737b=_0x568060,_0x5d7e70=[];for(const [_0x1a5698,_0x2a26e9]of Array[_0x3b737b(0x121)](this[_0x3b737b(0xd7)])){const _0x5209e1=_0x1a5698[_0x3b737b(0xd1)](),_0x467dda=[];for(const _0x5c7e24 of _0x5209e1){if(!_0x5c7e24[_0x3b737b(0x108)])continue;if(_0x5c7e24[_0x3b737b(0xd6)]){_0x467dda[_0x3b737b(0xe5)](..._0x5c7e24[_0x3b737b(0x137)]());continue;}const _0x419f6c=_0x5c7e24[_0x3b737b(0x111)]();if(_0x467dda[_0x3b737b(0x153)]>0x0){const _0x1c717a=_0x467dda[0x0][_0x3b737b(0x105)](_0x419f6c);if(_0x1c717a){_0x467dda[0x0]=_0x1c717a;continue;}}_0x467dda[_0x3b737b(0xe5)](_0x419f6c);}_0x5d7e70[_0x3b737b(0xe5)]([_0x2a26e9[_0x3b737b(0xf4)],_0x467dda]);}return _0x5d7e70;}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0x147),(_0x3b805f,_0x4e22f5)=>{const _0x275e54=_0x568060;this[_0x275e54(0xf9)](_0x4e22f5,_0x275e54(0x102),(_0x50ecfa,_0x34c32d,_0x4fa9b7,_0x3dac50)=>{const _0xdf545=_0x275e54;_0x4e22f5[_0xdf545(0x108)]&&(null==_0x4fa9b7?(this[_0xdf545(0x13f)](_0x3dac50[_0xdf545(0xf0)]),this[_0xdf545(0xfb)](_0x4e22f5,!0x1)):(this[_0xdf545(0x13f)](_0x4fa9b7[_0xdf545(0xf0)]),null==_0x3dac50&&this[_0xdf545(0xfb)](_0x4e22f5,!0x0)));}),null!==_0x4e22f5[_0x275e54(0xe9)]?this[_0x275e54(0x13f)](_0x4e22f5[_0x275e54(0xf0)]):this[_0x275e54(0xfb)](_0x4e22f5,!0x1);}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0xe4),(_0x22d182,_0x3771e9,_0x321475)=>{const _0x4d40af=_0x568060;this[_0x4d40af(0xcc)](_0x3771e9,_0x4d40af(0x102)),this[_0x4d40af(0xcd)][_0x4d40af(0x118)](_0x3771e9),this[_0x4d40af(0xd7)][_0x4d40af(0x14c)](_0x3771e9)&&this[_0x4d40af(0xda)](_0x3771e9),_0x321475&&this[_0x4d40af(0x13f)](_0x321475[_0x4d40af(0xf0)]);}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0xc8),(_0x306989,_0x31b1d3)=>{const _0x342702=_0x568060;this[_0x342702(0x13f)](_0x31b1d3);}),this[_0x568060(0xf9)](_0x47b96e,_0x568060(0x16f),()=>{const _0x3c191e=_0x568060;this[_0x3c191e(0xeb)]();}),this[_0x568060(0xf9)](_0x5ee43a,_0x568060(0xc1),(_0x1bf798,{threadId:_0x1f16f5,isFromAdapter:_0x4c0b2f})=>{const _0x332168=_0x568060;if(_0x4c0b2f||!_0x167ad2[_0x332168(0x124)](_0x1f16f5))return;const _0x5b68eb=_0x167ad2[_0x332168(0x161)](_0x1f16f5);this[_0x332168(0xd7)][_0x332168(0x166)](_0x5b68eb)[_0x332168(0xf4)][_0x332168(0x12e)][_0x332168(0xc3)](-0x1);},{'priority':_0x568060(0x170)}),this[_0x568060(0xe1)]=this[_0x568060(0xca)][_0x568060(0x160)][_0x568060(0x166)](_0x568060(0xe1));const _0x3d42fa=this[_0x568060(0xca)];this[_0x568060(0xef)]=setInterval(()=>{const _0x523772=_0x568060;let _0x20ab7e;for(const _0x581d86 in _0x3d42fa){const _0x536126=_0x581d86,_0x4a83e1=_0x3d42fa[_0x536126];if(_0x523772(0x120)==_0x4a83e1||_0x523772(0x13b)==_0x4a83e1||_0x523772(0xf8)==_0x4a83e1||_0x523772(0x11f)==_0x4a83e1||_0x523772(0xdc)==_0x4a83e1||_0x523772(0x15c)==_0x4a83e1||_0x523772(0x132)==_0x4a83e1||_0x523772(0x10c)==_0x4a83e1){delete _0x3d42fa[_0x536126],_0x20ab7e=_0x4a83e1,clearInterval(this[_0x523772(0xef)]),this[_0x523772(0xef)]=void 0x0;break;}}_0x523772(0x13b)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xfc)),_0x523772(0xf8)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xf6)),_0x523772(0x11f)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x148)),_0x523772(0xdc)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x143),_0x523772(0x10d)),_0x523772(0x15c)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xdf)),_0x523772(0x132)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x130)),_0x523772(0x10c)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xff));},0x3e8);}[_0x1cc909(0x125)](_0x5d5233){const _0x31ba84=_0x1cc909,_0x23b99a=this[_0x31ba84(0xd7)][_0x31ba84(0x166)](_0x5d5233);if(!_0x23b99a)return null;return this[_0x31ba84(0xca)][_0x31ba84(0x131)][_0x31ba84(0x166)](_0x31ba84(0x100))[_0x31ba84(0x155)](_0x23b99a[_0x31ba84(0xf4)])||null;}[_0x1cc909(0xd5)](_0x4d8ffe){const _0x3f377f=_0x1cc909,_0x3f260d=this[_0x3f377f(0xf5)][_0x3f377f(0x166)](_0x4d8ffe[_0x3f377f(0xdd)]);return _0x3f260d?_0x3f260d[_0x3f377f(0x15e)]:null;}[_0x1cc909(0xeb)](){const _0xb900b7=_0x1cc909,_0x2106d4=this[_0xb900b7(0xca)][_0xb900b7(0x131)][_0xb900b7(0x166)](_0xb900b7(0x100)),_0xf200d9=this[_0xb900b7(0xca)][_0xb900b7(0x131)][_0xb900b7(0x166)](_0xb900b7(0x114)),_0x23ecde=Array[_0xb900b7(0x121)](_0x2106d4[_0xb900b7(0x116)],_0x5d3a4a=>_0x5d3a4a[_0xb900b7(0xdd)])[_0xb900b7(0x106)](_0x1553a4=>this[_0xb900b7(0xf5)][_0xb900b7(0x14c)](_0x1553a4)),_0x2c1eb5=[];for(const _0x152323 of _0x23ecde){const _0x8d421=this[_0xb900b7(0xf5)][_0xb900b7(0x166)](_0x152323)[_0xb900b7(0x15e)][_0xb900b7(0xd1)]();_0x2c1eb5[_0xb900b7(0xe5)](..._0x8d421[_0xb900b7(0x14a)]((_0x754dc6,_0x1f7006)=>[..._0x754dc6,..._0x1f7006[_0xb900b7(0x146)]()],[]));}_0xf200d9[_0xb900b7(0x103)]=_0x2c1eb5;}[_0x1cc909(0x126)](){const _0x52cb2e=_0x1cc909,_0x49a800=this[_0x52cb2e(0xca)],_0x5a67d6=_0x49a800[_0x52cb2e(0x11e)],_0x3fff2d=_0x146d28(_0x5a67d6,_0x52cb2e(0xee)),_0xdcba53=new _0x1849f1([{'type':_0x52cb2e(0x11d),'model':new _0x4218cf({'withText':!0x0,'isToggleable':!0x0,'label':_0x3fff2d,'commandName':_0x52cb2e(0x162),'role':_0x52cb2e(0xc7)})},{'type':_0x52cb2e(0xd0)},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x133)),'commandName':_0x52cb2e(0x119),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0xf7)),'commandName':_0x52cb2e(0x109),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x14e)),'commandName':_0x52cb2e(0xcf),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0xf3)),'commandName':_0x52cb2e(0x122),'role':_0x52cb2e(0x16d)})}]);_0x49a800[_0x52cb2e(0x131)][_0x52cb2e(0x14c)](_0x52cb2e(0xe0))&&_0xdcba53[_0x52cb2e(0xce)]([{'type':_0x52cb2e(0xd0)},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x10b)),'commandName':_0x52cb2e(0xde),'role':_0x52cb2e(0x16d)})}]);for(const _0x4784ff of _0xdcba53)if(Ee(_0x4784ff)){const _0x4af696=_0x49a800[_0x52cb2e(0xe8)][_0x52cb2e(0x166)](_0x4784ff[_0x52cb2e(0x15e)][_0x52cb2e(0x13e)]);_0x4784ff[_0x52cb2e(0x15e)][_0x52cb2e(0xed)](_0x52cb2e(0x144),_0x52cb2e(0x15b))['to'](_0x4af696,_0x52cb2e(0x11b),_0x52cb2e(0x15b));}_0x49a800['ui'][_0x52cb2e(0x115)][_0x52cb2e(0x165)](_0x52cb2e(0x162),_0x1b078d=>this[_0x52cb2e(0x139)](_0x1b078d,_0xdcba53,_0x3fff2d)),_0x49a800['ui'][_0x52cb2e(0x115)][_0x52cb2e(0x165)](_0x52cb2e(0x138),_0xf066b1=>this[_0x52cb2e(0xf1)](_0xf066b1,_0xdcba53,_0x3fff2d));}[_0x1cc909(0x139)](_0x3e2e75,_0x325921,_0x3da214){const _0x2885a8=_0x1cc909,_0x5990aa=_0x5128c9(_0x3e2e75,_0x556751),_0x228e90=this[_0x2885a8(0xca)][_0x2885a8(0xe8)][_0x2885a8(0x166)](_0x2885a8(0x162));_0x5990aa[_0x2885a8(0x14f)][_0x2885a8(0x12a)]({'tooltip':_0x3da214,'label':_0x3da214,'icon':_0x25bc24}),_0x5990aa[_0x2885a8(0x14f)][_0x2885a8(0xed)](_0x2885a8(0x144))['to'](_0x228e90,_0x2885a8(0x11b)),_0x5990aa[_0x2885a8(0x14f)]['on'](_0x2885a8(0x16b),()=>{const _0x2e5a54=_0x2885a8;_0x228e90[_0x2e5a54(0x16b)](),this[_0x2e5a54(0xca)][_0x2e5a54(0x142)][_0x2e5a54(0xf4)][_0x2e5a54(0xc3)]();}),_0x4fd7ab(_0x5990aa,_0x325921,{'role':_0x2885a8(0xd3)});const _0x20eb69=[];for(const _0x57b68d of _0x325921)Ee(_0x57b68d)&&_0x20eb69[_0x2885a8(0xe5)](this[_0x2885a8(0xca)][_0x2885a8(0xe8)][_0x2885a8(0x166)](_0x57b68d[_0x2885a8(0x15e)][_0x2885a8(0x13e)]));const _0x1cc9a5=_0x5990aa[_0x2885a8(0x14f)];return _0x1cc9a5[_0x2885a8(0xe6)][_0x2885a8(0x14d)](_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0x163)][_0x2885a8(0x14d)](_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0xe6)][_0x2885a8(0xed)](_0x2885a8(0x15b))['to'](_0x228e90,_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0x163)][_0x2885a8(0xed)](_0x2885a8(0x15b))[_0x2885a8(0x149)](_0x20eb69,_0x2885a8(0x15b),(..._0x22ebb6)=>_0x22ebb6[_0x2885a8(0x13d)](_0x400b9b=>_0x400b9b)),_0x5990aa['on'](_0x2885a8(0x16b),_0x1e91cb=>{const _0x3bdef1=_0x2885a8;this[_0x3bdef1(0xca)][_0x3bdef1(0x16b)](_0x1e91cb[_0x3bdef1(0x134)][_0x3bdef1(0x13e)]),this[_0x3bdef1(0xca)][_0x3bdef1(0x142)][_0x3bdef1(0xf4)][_0x3bdef1(0xc3)]();}),_0x5990aa;}[_0x1cc909(0xf1)](_0x34420f,_0x307377,_0x130cc1){const _0x46770e=_0x1cc909,_0xeb8f7a=new _0x73e67(_0x34420f),_0x5951d3=this[_0x46770e(0xca)][_0x46770e(0xe8)][_0x46770e(0x166)](_0x46770e(0x162));_0xeb8f7a[_0x46770e(0x14f)][_0x46770e(0x12a)]({'label':_0x130cc1,'icon':_0x25bc24});const _0x7c33eb=new _0x16a73d(_0x34420f);for(const _0x67e44e of _0x307377){if(_0x46770e(0xd0)==_0x67e44e[_0x46770e(0x156)]){_0x7c33eb[_0x46770e(0x10f)][_0x46770e(0x165)](new _0x42b557(_0x34420f));continue;}const _0x361aee=new _0x4f9c45(_0x34420f,_0xeb8f7a),_0x18f28a=new _0x5e4e23(_0x34420f),_0x456cac=_0x67e44e[_0x46770e(0x15e)];_0x18f28a[_0x46770e(0xed)](...Object[_0x46770e(0xec)](_0x456cac))['to'](_0x456cac),_0x18f28a[_0x46770e(0x10a)](_0x46770e(0x16b))['to'](_0xeb8f7a),_0x18f28a['on'](_0x46770e(0x16b),()=>{const _0x5c2dd3=_0x46770e;this[_0x5c2dd3(0xca)][_0x5c2dd3(0x16b)](_0x456cac[_0x5c2dd3(0x13e)]),this[_0x5c2dd3(0xca)][_0x5c2dd3(0x142)][_0x5c2dd3(0xf4)][_0x5c2dd3(0xc3)]();}),_0x361aee[_0x46770e(0x164)][_0x46770e(0x165)](_0x18f28a),_0x7c33eb[_0x46770e(0x10f)][_0x46770e(0x165)](_0x361aee);}return _0xeb8f7a[_0x46770e(0xed)](_0x46770e(0x15b))['to'](_0x5951d3,_0x46770e(0x15b)),_0xeb8f7a[_0x46770e(0x141)][_0x46770e(0x164)][_0x46770e(0x165)](_0x7c33eb),_0xeb8f7a;}[_0x1cc909(0x15f)](_0x115ada){const _0x46988f=_0x1cc909,_0x5e62f6=this[_0x46988f(0xca)],_0xee2a1=_0x5e62f6[_0x46988f(0x160)],_0x180324=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x100)),_0x12bdeb=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x112)),_0x2b40d6=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x104)),_0x2a1449=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x2793bf)['me'],_0x447f54=_0xee2a1[_0x46988f(0x166)](_0x46988f(0x162))[_0x46988f(0x12f)],_0x135752=_0xee2a1[_0x46988f(0x166)](_0x46988f(0x162))[_0x46988f(0x128)],{CommentsListView:_0x5dbfa5,CommentThreadInputView:_0x3f261a}=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0xe2));let _0x1dee41,_0x398794,_0x57df7c;this[_0x46988f(0xc4)][_0x46988f(0x14c)](_0x115ada['id'])?(_0x398794=this[_0x46988f(0xc4)][_0x46988f(0x166)](_0x115ada['id']),_0x1dee41=_0x398794[_0x46988f(0x140)]):(_0x1dee41=new _0x447f54(_0x5e62f6[_0x46988f(0x11e)],_0x115ada,_0x2a1449,{'disableComments':this[_0x46988f(0xd4)],'editorConfig':{..._0xee2a1[_0x46988f(0x166)](_0x46988f(0x159)),'licenseKey':_0xee2a1[_0x46988f(0x166)](_0x46988f(0xe1))},'maxCommentsWhenCollapsed':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x16e)),'maxThreadTotalWeight':_0xee2a1[_0x46988f(0x166)](_0x46988f(0xe3)),'maxCommentCharsWhenCollapsed':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x110)),'formatDateTime':_0x50b5c5(_0xee2a1[_0x46988f(0x166)](_0x46988f(0x11e)),_0x5e62f6[_0x46988f(0x11e)]),'CommentView':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x123))[_0x46988f(0xf2)],'CommentsListView':_0x5dbfa5,'CommentThreadInputView':_0x3f261a,'SuggestionView':_0x135752}),_0x1dee41[_0x46988f(0xc2)][_0x46988f(0x10e)]['on'](_0x46988f(0x16b),()=>{const _0xce56f5=_0x46988f;_0x5e62f6[_0xce56f5(0x142)][_0xce56f5(0xf4)][_0xce56f5(0xc3)]();}),_0x1dee41[_0x46988f(0xc2)][_0x46988f(0x152)]['on'](_0x46988f(0x16b),()=>{const _0x52dc49=_0x46988f;_0x5e62f6[_0x52dc49(0x142)][_0x52dc49(0xf4)][_0x52dc49(0xc3)]();}),_0x398794=_0x180324[_0x46988f(0xfa)](this[_0x46988f(0xca)][_0x46988f(0x11e)],_0x1dee41),_0x398794[_0x46988f(0xed)](_0x46988f(0x13c))['to'](_0x1dee41,_0x46988f(0x13c)),_0x398794[_0x46988f(0xed)](_0x46988f(0x153))['to'](_0x1dee41),_0x398794[_0x46988f(0xed)](_0x46988f(0x156))['to'](_0x1dee41,_0x46988f(0x156),_0x3f2ef3=>_0x46988f(0x167)+_0x3f2ef3),_0x1dee41['on'](_0x46988f(0x151),()=>{const _0x1406c5=_0x46988f;_0x57df7c[_0x1406c5(0xe7)](_0x1406c5(0x151));}),this[_0x46988f(0xc4)][_0x46988f(0x12a)](_0x115ada['id'],_0x398794));const _0x4b3b0e=_0x12bdeb[_0x46988f(0x13a)](_0x115ada[_0x46988f(0xfd)],_0x1dee41),_0x54a728=new _0x1ec902(_0x5e62f6,_0x115ada,_0x1dee41,_0x4b3b0e),_0x425e6a=_0x115ada[_0x46988f(0xd1)]()[_0x46988f(0x106)](_0x22f00b=>_0x22f00b[_0x46988f(0x108)]);_0x1dee41[_0x46988f(0x12b)]=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x114))[_0x46988f(0x101)][_0x46988f(0x127)](_0x425e6a),this[_0x46988f(0xd7)][_0x46988f(0x12a)](_0x115ada,_0x54a728),this[_0x46988f(0xf5)][_0x46988f(0x12a)](_0x1dee41,_0x54a728);const _0x281e25=()=>{const _0x2d60e4=_0x46988f,_0x59fa43=[],_0x384869=_0x115ada[_0x2d60e4(0xd1)]()[_0x2d60e4(0x106)](_0x9fb358=>_0x9fb358[_0x2d60e4(0x108)]);for(const _0x25e3f5 of _0x384869)_0x59fa43[_0x2d60e4(0xe5)](..._0x25e3f5[_0x2d60e4(0xd9)]());return _0x275026(_0x5e62f6[_0x2d60e4(0x142)],_0x59fa43);};_0x57df7c=_0x180324[_0x46988f(0x15d)]({'view':_0x398794,'target':_0x281e25,'type':()=>_0x46988f(0x167)+_0x54a728[_0x46988f(0xf4)][_0x46988f(0x156)],'isVisible':!!_0x281e25()}),_0x12bdeb[_0x46988f(0xc9)](_0x1dee41,_0x57df7c),_0x180324[_0x46988f(0x165)](_0x57df7c),_0x2b40d6[_0x46988f(0x16c)](_0x57df7c);}[_0x1cc909(0xda)](_0x46032a){const _0x370b0e=_0x1cc909,_0x4bb74b=this[_0x370b0e(0xca)][_0x370b0e(0x131)][_0x370b0e(0x166)](_0x370b0e(0x112)),_0x19e545=this[_0x370b0e(0xca)][_0x370b0e(0x131)][_0x370b0e(0x166)](_0x370b0e(0x100)),_0x2809e4=this[_0x370b0e(0xd7)][_0x370b0e(0x166)](_0x46032a),_0x1a506d=_0x2809e4[_0x370b0e(0xf4)],_0x463073=_0x19e545[_0x370b0e(0x155)](_0x1a506d);_0x4bb74b[_0x370b0e(0xd8)](_0x1a506d),_0x463073&&_0x19e545[_0x370b0e(0x14b)](_0x463073),this[_0x370b0e(0xd7)][_0x370b0e(0x118)](_0x46032a),this[_0x370b0e(0xf5)][_0x370b0e(0x118)](_0x1a506d),_0x2809e4[_0x370b0e(0x136)]();}[_0x1cc909(0x13f)](_0x11ba05){const _0x32044d=_0x1cc909;if(!_0x11ba05[_0x32044d(0x108)]||!this[_0x32044d(0xd7)][_0x32044d(0x14c)](_0x11ba05))return;const _0x54a718=this[_0x32044d(0xca)][_0x32044d(0x131)][_0x32044d(0x166)](_0x32044d(0x114)),_0x863037=this[_0x32044d(0xd7)][_0x32044d(0x166)](_0x11ba05),_0x41209e=_0x11ba05[_0x32044d(0xd1)]();_0x863037[_0x32044d(0xf4)][_0x32044d(0x12b)]=_0x54a718[_0x32044d(0x101)][_0x32044d(0x127)](_0x41209e);}[_0x1cc909(0x136)](){const _0x47a607=_0x1cc909;for(const _0x41070c of this[_0x47a607(0xd7)][_0x47a607(0xec)]())this[_0x47a607(0xda)](_0x41070c);for(const _0x25f50e of this[_0x47a607(0xc4)][_0x47a607(0x16a)]())_0x25f50e[_0x47a607(0x140)][_0x47a607(0x136)]();super[_0x47a607(0x136)](),this[_0x47a607(0xef)]&&clearInterval(this[_0x47a607(0xef)]);}}function Ee(_0x593d61){const _0x19b2d3=_0x1cc909;return _0x19b2d3(0x15e)in _0x593d61;}
|
|
23
|
+
function _0x2602(){const _0x46d886=['suggestionUnloaded','unbind','getJoined','config','activeAnnotations','innerView','_destroyController','panelView','editing','commentsListView','_handleSuggestionControllerDelayed','view','TrackChangesEditing','toMany','has','refreshSelectedViews','trackChangesLicenseKeyTrialLimit','get','comments.maxThreadTotalWeight','94177ZlUWUW','children','createCommentThreadController','commands','descriptionParts','size','hasSuggestion','isEnabled','141944BLMVsP','Track\x20changes','_updateController','previous','TrackChangesUI','suggestion-','domainLimit','licenseKey','filter','some','source','commandName','previewFinalContent','trackChangesLicenseKeyExpired','bind','isInContent','delete','model','trialLimit','trackChanges.SuggestionThreadView','getMarkers','switchbutton','Preview\x20final\x20content','addMany','trackChangesLicenseKeyNotAllowed','reduce','1720642gtWFML','plugins','head','trackChangesLicenseKeyDomainLimit','_suggestionToController','_disableComments','usageLimit','TrackChanges','673057rrllGa','comments.maxCommentCharsWhenCollapsed','addSourceCollector','discardAllSuggestions','pluginName','CommentsRepository','button','CommentsUI','addComment','getDescriptions','value','add','execute','SuggestionThreadView','EditorAnnotations','_initializeController','Annotations','registerAnnotation','Accept\x20all\x20suggestions','SuggestionView','commentThread','isOn','buttonView','trackChangesLicenseKeyEvaluationLimit','remove','2yDkGHS','getSuggestionForAnnotation','fire','trackChanges.SuggestionView','activeMarkers','descriptionFactory','getSuggestion','comments.maxCommentsWhenCollapsed','isMultiRange','length','actionView','getFirstRange','discardSelectedSuggestions','16MmEddW','trackChangesLicenseKeyUsageLimit','editor','separator','acceptAllSuggestions','escape','_addUIComponentsToFactory','_showLicenseError','listenTo','destroy','suggestionLoaded','type','_annotationViews','set','define','isDirty','_viewToController','_handleControllerBuffer','stopListening','isOfficialPlugin','locale','clear','CommentView','createAnnotationView','72KktVGd','30FKeOhg','mainView','evaluationLimit','invalid','isPremiumPlugin','delegate','getAnnotationForSuggestion','comments.editorConfig','push','63695xrUakJ','menuBar:trackChanges','menuitem','_createMenuBarMenu','TrackChangesPreview','getRanges','items','comments','getMarkerNames','arrowView','keys','suggestionChanged','trackChangesLicenseKeyValid','componentFactory','_bindAnnotationToEditors','_unbindEditors','requires','createAnnotation','values','focus','menu','_createToolbarButton','Discard\x20all\x20selected\x20suggestions','featureNotAllowed','lowest','acceptSelectedSuggestions','trackChanges.disableComments','1692063BrdBfG','expired','menuitemcheckbox','getByInnerView','759590ufeaUx','from','init','discardButton','change:previous','change:activeAnnotations','Discard\x20all\x20suggestions','getAllAdjacentSuggestions','Accept\x20all\x20selected\x20suggestions','trackChanges','acceptButton','_refreshActiveMarkers','suggestionView','_licenseKeyCheckInterval','trackChangesLicenseKeyInvalid'];_0x2602=function(){return _0x46d886;};return _0x2602();}const _0x4cf9b4=_0x4ae6;(function(_0x567bba,_0x56028f){const _0x58ff79=_0x4ae6,_0xaad292=_0x567bba();while(!![]){try{const _0x3301fb=parseInt(_0x58ff79(0xd8))/0x1*(-parseInt(_0x58ff79(0x11b))/0x2)+parseInt(_0x58ff79(0x141))/0x3*(parseInt(_0x58ff79(0xe0))/0x4)+parseInt(_0x58ff79(0x14a))/0x5*(parseInt(_0x58ff79(0x140))/0x6)+-parseInt(_0x58ff79(0x102))/0x7*(-parseInt(_0x58ff79(0x128))/0x8)+-parseInt(_0x58ff79(0x165))/0x9+-parseInt(_0x58ff79(0x169))/0xa+-parseInt(_0x58ff79(0xfa))/0xb;if(_0x3301fb===_0x56028f)break;else _0xaad292['push'](_0xaad292['shift']());}catch(_0x2d3000){_0xaad292['push'](_0xaad292['shift']());}}}(_0x2602,0x2d479));import{Plugin as _0x2d2158}from'ckeditor5/src/core.js';import{Collection as _0xbc1fbe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x18b787}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xd5f40f,createDropdown as _0x58bee7,ListSeparatorView as _0x166196,MenuBarMenuView as _0x1a4f76,MenuBarMenuListView as _0x1bc7d6,MenuBarMenuListItemView as _0x37e017,MenuBarMenuListItemButtonView as _0x278fde,SplitButtonView as _0x32075b,UIModel as _0x56ddcc}from'ckeditor5/src/ui.js';import{Users as _0x364245,getDateTimeFormatter as _0x1d2925,getAllMarkersDomElementsSorted as _0x4d831a}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x9ca33}from'./trackchangesediting.js';import{SuggestionController as _0x3966c4}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5ce84c}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x420b44}from'./ui/view/suggestionview.js';import{getTranslation as _0x23e6a8}from'./utils/common-translations.js';function _0x4ae6(_0x4f4615,_0x386152){const _0x260229=_0x2602();return _0x4ae6=function(_0x4ae67b,_0x53b601){_0x4ae67b=_0x4ae67b-0xba;let _0x41b231=_0x260229[_0x4ae67b];return _0x41b231;},_0x4ae6(_0x4f4615,_0x386152);}export class TrackChangesUI extends _0x2d2158{[_0x4cf9b4(0xe7)];[_0x4cf9b4(0xc3)];[_0x4cf9b4(0xfe)];[_0x4cf9b4(0x138)];[_0x4cf9b4(0x134)];[_0x4cf9b4(0x139)];[_0x4cf9b4(0xff)];static get[_0x4cf9b4(0x15a)](){const _0x4ccbae=_0x4cf9b4;return[_0x9ca33,_0x364245,_0x4ccbae(0x107),_0x4ccbae(0x112),_0x4ccbae(0x110)];}static get[_0x4cf9b4(0x106)](){const _0x4091ac=_0x4cf9b4;return _0x4091ac(0xe4);}static get[_0x4cf9b4(0x13b)](){return!0x0;}static get[_0x4cf9b4(0x145)](){return!0x0;}constructor(_0x3faa37){const _0x1a376d=_0x4cf9b4;super(_0x3faa37),this[_0x1a376d(0xfe)]=new Map(),this[_0x1a376d(0x138)]=new Map(),this[_0x1a376d(0x134)]=new Map(),this[_0x1a376d(0x139)]=new Map();const _0xed4653=this[_0x1a376d(0x12a)][_0x1a376d(0xc8)];_0xed4653[_0x1a376d(0x136)](_0x1a376d(0xf3),_0x5ce84c),_0xed4653[_0x1a376d(0x136)](_0x1a376d(0x11e),_0x420b44),_0xed4653[_0x1a376d(0x136)](_0x1a376d(0x164),!0x1),this[_0x1a376d(0xff)]=_0xed4653[_0x1a376d(0xd6)](_0x1a376d(0x164));}[_0x4cf9b4(0xcf)](_0x3e9d63,_0x479b2e){const _0x29ae96=_0x4cf9b4;0x0===this[_0x29ae96(0x139)][_0x29ae96(0xdd)]&&setTimeout(()=>{const _0x55fad4=_0x29ae96;for(const [_0x502c7b,_0x567e78]of this[_0x55fad4(0x139)]){const _0x3b1357=this[_0x55fad4(0xfe)][_0x55fad4(0xd3)](_0x502c7b);_0x3b1357||_0x567e78?_0x3b1357&&_0x567e78&&this[_0x55fad4(0xcb)](_0x502c7b):this[_0x55fad4(0x111)](_0x502c7b);}this[_0x55fad4(0x139)][_0x55fad4(0x13d)](),this[_0x55fad4(0x12a)][_0x55fad4(0xfb)][_0x55fad4(0xd6)](_0x55fad4(0x110))[_0x55fad4(0xd4)](),this[_0x55fad4(0xc1)]();},0xa),this[_0x29ae96(0x139)][_0x29ae96(0x135)](_0x3e9d63,_0x479b2e);}[_0x4cf9b4(0x16b)](){const _0x5f0edf=_0x4cf9b4,_0xa2aa2d=this[_0x5f0edf(0x12a)],_0x58272c=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0xd1)),_0x1deb34=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x112)),_0x137174=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x110)),_0x21b03f=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x107));this[_0x5f0edf(0x12e)](),_0x137174[_0x5f0edf(0x104)](()=>{const _0x396ef8=_0x5f0edf,_0x36f853=[];for(const [_0x297073,_0x472d94]of Array[_0x396ef8(0x16a)](this[_0x396ef8(0xfe)])){const _0x221e30=_0x297073[_0x396ef8(0xbd)](),_0x537b56=[];for(const _0x934803 of _0x221e30){if(!_0x934803[_0x396ef8(0xef)])continue;if(_0x934803[_0x396ef8(0x123)]){_0x537b56[_0x396ef8(0x149)](..._0x934803[_0x396ef8(0x14f)]());continue;}const _0x1f26ad=_0x934803[_0x396ef8(0x126)]();if(_0x537b56[_0x396ef8(0x124)]>0x0){const _0x271c72=_0x537b56[0x0][_0x396ef8(0xc7)](_0x1f26ad);if(_0x271c72){_0x537b56[0x0]=_0x271c72;continue;}}_0x537b56[_0x396ef8(0x149)](_0x1f26ad);}_0x36f853[_0x396ef8(0x149)]([_0x472d94[_0x396ef8(0xd0)],_0x537b56]);}return _0x36f853;}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0x132),(_0x23a5a5,_0x11a781)=>{const _0x14ac39=_0x5f0edf;this[_0x14ac39(0x130)](_0x11a781,_0x14ac39(0xba),(_0x455bfa,_0x5c1fa2,_0x1a5efd,_0x38a22b)=>{const _0x3e95e1=_0x14ac39;_0x11a781[_0x3e95e1(0xef)]&&(null==_0x1a5efd?(this[_0x3e95e1(0xe2)](_0x38a22b[_0x3e95e1(0xfc)]),this[_0x3e95e1(0xcf)](_0x11a781,!0x1)):(this[_0x3e95e1(0xe2)](_0x1a5efd[_0x3e95e1(0xfc)]),null==_0x38a22b&&this[_0x3e95e1(0xcf)](_0x11a781,!0x0)));}),null!==_0x11a781[_0x14ac39(0xe3)]?this[_0x14ac39(0xe2)](_0x11a781[_0x14ac39(0xfc)]):this[_0x14ac39(0xcf)](_0x11a781,!0x1);}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0xc5),(_0x1c9b16,_0x1ef42b,_0x44c837)=>{const _0x1f8906=_0x5f0edf;this[_0x1f8906(0x13a)](_0x1ef42b,_0x1f8906(0xba)),this[_0x1f8906(0x139)][_0x1f8906(0xf0)](_0x1ef42b),this[_0x1f8906(0xfe)][_0x1f8906(0xd3)](_0x1ef42b)&&this[_0x1f8906(0xcb)](_0x1ef42b),_0x44c837&&this[_0x1f8906(0xe2)](_0x44c837[_0x1f8906(0xfc)]);}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0x155),(_0x27d3dd,_0x2c82af)=>{const _0x4d4889=_0x5f0edf;this[_0x4d4889(0xe2)](_0x2c82af);}),this[_0x5f0edf(0x130)](_0x1deb34,_0x5f0edf(0xbb),()=>{const _0x2b53a9=_0x5f0edf;this[_0x2b53a9(0xc1)]();}),this[_0x5f0edf(0x130)](_0x21b03f,_0x5f0edf(0x10a),(_0x147256,{threadId:_0x447ef8,isFromAdapter:_0xdefbf8})=>{const _0x47ceaa=_0x5f0edf;if(_0xdefbf8||!_0x58272c[_0x47ceaa(0xde)](_0x447ef8))return;const _0x5192a7=_0x58272c[_0x47ceaa(0x121)](_0x447ef8);this[_0x47ceaa(0xfe)][_0x47ceaa(0xd6)](_0x5192a7)[_0x47ceaa(0xd0)][_0x47ceaa(0xce)][_0x47ceaa(0x15d)](-0x1);},{'priority':_0x5f0edf(0x162)}),this[_0x5f0edf(0xe7)]=this[_0x5f0edf(0x12a)][_0x5f0edf(0xc8)][_0x5f0edf(0xd6)](_0x5f0edf(0xe7));const _0x3c22ce=this[_0x5f0edf(0x12a)];this[_0x5f0edf(0xc3)]=setInterval(()=>{const _0x52ff79=_0x5f0edf;let _0x397b09;for(const _0x5cc880 in _0x3c22ce){const _0x8a6ed9=_0x5cc880,_0x1b8bf1=_0x3c22ce[_0x8a6ed9];if(_0x52ff79(0x156)==_0x1b8bf1||_0x52ff79(0xc4)==_0x1b8bf1||_0x52ff79(0xed)==_0x1b8bf1||_0x52ff79(0xfd)==_0x1b8bf1||_0x52ff79(0xf8)==_0x1b8bf1||_0x52ff79(0x119)==_0x1b8bf1||_0x52ff79(0xd5)==_0x1b8bf1||_0x52ff79(0x129)==_0x1b8bf1){delete _0x3c22ce[_0x8a6ed9],_0x397b09=_0x1b8bf1,clearInterval(this[_0x52ff79(0xc3)]),this[_0x52ff79(0xc3)]=void 0x0;break;}}_0x52ff79(0xc4)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x144)),_0x52ff79(0xed)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x166)),_0x52ff79(0xfd)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0xe6)),_0x52ff79(0xf8)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x161),_0x52ff79(0x101)),_0x52ff79(0x119)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x143)),_0x52ff79(0xd5)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0xf2)),_0x52ff79(0x129)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x100));},0x3e8);}[_0x4cf9b4(0x147)](_0x61553d){const _0x1b181c=_0x4cf9b4,_0x332273=this[_0x1b181c(0xfe)][_0x1b181c(0xd6)](_0x61553d);if(!_0x332273)return null;return this[_0x1b181c(0x12a)][_0x1b181c(0xfb)][_0x1b181c(0xd6)](_0x1b181c(0x112))[_0x1b181c(0x168)](_0x332273[_0x1b181c(0xd0)])||null;}[_0x4cf9b4(0x11c)](_0x4e4aae){const _0x34990f=_0x4cf9b4,_0x188095=this[_0x34990f(0x138)][_0x34990f(0xd6)](_0x4e4aae[_0x34990f(0xca)]);return _0x188095?_0x188095[_0x34990f(0xf1)]:null;}[_0x4cf9b4(0xc1)](){const _0x1c7537=_0x4cf9b4,_0x5d39d4=this[_0x1c7537(0x12a)][_0x1c7537(0xfb)][_0x1c7537(0xd6)](_0x1c7537(0x112)),_0x571abf=this[_0x1c7537(0x12a)][_0x1c7537(0xfb)][_0x1c7537(0xd6)](_0x1c7537(0xd1)),_0x5a80de=Array[_0x1c7537(0x16a)](_0x5d39d4[_0x1c7537(0xc9)],_0xbea4c6=>_0xbea4c6[_0x1c7537(0xca)])[_0x1c7537(0xe8)](_0x1aaceb=>this[_0x1c7537(0x138)][_0x1c7537(0xd3)](_0x1aaceb)),_0x140909=[];for(const _0x4da49a of _0x5a80de){const _0x1b96b7=this[_0x1c7537(0x138)][_0x1c7537(0xd6)](_0x4da49a)[_0x1c7537(0xf1)][_0x1c7537(0xbd)]();_0x140909[_0x1c7537(0x149)](..._0x1b96b7[_0x1c7537(0xf9)]((_0x59b65d,_0xabbccd)=>[..._0x59b65d,..._0xabbccd[_0x1c7537(0x152)]()],[]));}_0x571abf[_0x1c7537(0x11f)]=_0x140909;}[_0x4cf9b4(0x12e)](){const _0x3f49d2=_0x4cf9b4,_0x384db5=this[_0x3f49d2(0x12a)],_0x542743=_0x384db5[_0x3f49d2(0x13c)],_0x3bdb33=_0x23e6a8(_0x542743,_0x3f49d2(0xe1)),_0x267b8b=new _0xbc1fbe([{'type':_0x3f49d2(0xf5),'model':new _0x56ddcc({'withText':!0x0,'isToggleable':!0x0,'label':_0x3bdb33,'commandName':_0x3f49d2(0xbf),'role':_0x3f49d2(0x167)})},{'type':_0x3f49d2(0x12b)},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0x114)),'commandName':_0x3f49d2(0x12c),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xbe)),'commandName':_0x3f49d2(0x163),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xbc)),'commandName':_0x3f49d2(0x105),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0x160)),'commandName':_0x3f49d2(0x127),'role':_0x3f49d2(0x14c)})}]);_0x384db5[_0x3f49d2(0xfb)][_0x3f49d2(0xd3)](_0x3f49d2(0x14e))&&_0x267b8b[_0x3f49d2(0xf7)]([{'type':_0x3f49d2(0x12b)},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xf6)),'commandName':_0x3f49d2(0xec),'role':_0x3f49d2(0x14c)})}]);for(const _0x8f68d5 of _0x267b8b)if(Ee(_0x8f68d5)){const _0x5689d1=_0x384db5[_0x3f49d2(0xdb)][_0x3f49d2(0xd6)](_0x8f68d5[_0x3f49d2(0xf1)][_0x3f49d2(0xeb)]);_0x8f68d5[_0x3f49d2(0xf1)][_0x3f49d2(0xee)](_0x3f49d2(0x117),_0x3f49d2(0xdf))['to'](_0x5689d1,_0x3f49d2(0x10c),_0x3f49d2(0xdf));}_0x384db5['ui'][_0x3f49d2(0x157)][_0x3f49d2(0x10d)](_0x3f49d2(0xbf),_0x290ac6=>this[_0x3f49d2(0x15f)](_0x290ac6,_0x267b8b,_0x3bdb33)),_0x384db5['ui'][_0x3f49d2(0x157)][_0x3f49d2(0x10d)](_0x3f49d2(0x14b),_0x18e3f7=>this[_0x3f49d2(0x14d)](_0x18e3f7,_0x267b8b,_0x3bdb33));}[_0x4cf9b4(0x15f)](_0x4dfd39,_0x54bc6d,_0x5afd84){const _0x435efd=_0x4cf9b4,_0x188c53=_0x58bee7(_0x4dfd39,_0x32075b),_0x3ba771=this[_0x435efd(0x12a)][_0x435efd(0xdb)][_0x435efd(0xd6)](_0x435efd(0xbf));_0x188c53[_0x435efd(0x118)][_0x435efd(0x135)]({'tooltip':_0x5afd84,'label':_0x5afd84,'icon':_0x18b787}),_0x188c53[_0x435efd(0x118)][_0x435efd(0xee)](_0x435efd(0x117))['to'](_0x3ba771,_0x435efd(0x10c)),_0x188c53[_0x435efd(0x118)]['on'](_0x435efd(0x10e),()=>{const _0x56cf75=_0x435efd;_0x3ba771[_0x56cf75(0x10e)](),this[_0x56cf75(0x12a)][_0x56cf75(0xcd)][_0x56cf75(0xd0)][_0x56cf75(0x15d)]();}),_0xd5f40f(_0x188c53,_0x54bc6d,{'role':_0x435efd(0x15e)});const _0x384e0b=[];for(const _0xbc3813 of _0x54bc6d)Ee(_0xbc3813)&&_0x384e0b[_0x435efd(0x149)](this[_0x435efd(0x12a)][_0x435efd(0xdb)][_0x435efd(0xd6)](_0xbc3813[_0x435efd(0xf1)][_0x435efd(0xeb)]));const _0x5cc3ea=_0x188c53[_0x435efd(0x118)];return _0x5cc3ea[_0x435efd(0x125)][_0x435efd(0xc6)](_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x153)][_0x435efd(0xc6)](_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x125)][_0x435efd(0xee)](_0x435efd(0xdf))['to'](_0x3ba771,_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x153)][_0x435efd(0xee)](_0x435efd(0xdf))[_0x435efd(0xd2)](_0x384e0b,_0x435efd(0xdf),(..._0x24da86)=>_0x24da86[_0x435efd(0xe9)](_0x5af477=>_0x5af477)),_0x188c53['on'](_0x435efd(0x10e),_0x581ab2=>{const _0x477618=_0x435efd;this[_0x477618(0x12a)][_0x477618(0x10e)](_0x581ab2[_0x477618(0xea)][_0x477618(0xeb)]),this[_0x477618(0x12a)][_0x477618(0xcd)][_0x477618(0xd0)][_0x477618(0x15d)]();}),_0x188c53;}[_0x4cf9b4(0x14d)](_0x429bbb,_0x489c2c,_0x5e84ec){const _0x49169a=_0x4cf9b4,_0x2679d6=new _0x1a4f76(_0x429bbb),_0x39ee3f=this[_0x49169a(0x12a)][_0x49169a(0xdb)][_0x49169a(0xd6)](_0x49169a(0xbf));_0x2679d6[_0x49169a(0x118)][_0x49169a(0x135)]({'label':_0x5e84ec,'icon':_0x18b787});const _0x34ebf3=new _0x1bc7d6(_0x429bbb);for(const _0x256c44 of _0x489c2c){if(_0x49169a(0x12b)==_0x256c44[_0x49169a(0x133)]){_0x34ebf3[_0x49169a(0x150)][_0x49169a(0x10d)](new _0x166196(_0x429bbb));continue;}const _0x337b9c=new _0x37e017(_0x429bbb,_0x2679d6),_0x3cd7ee=new _0x278fde(_0x429bbb),_0x1129ab=_0x256c44[_0x49169a(0xf1)];_0x3cd7ee[_0x49169a(0xee)](...Object[_0x49169a(0x154)](_0x1129ab))['to'](_0x1129ab),_0x3cd7ee[_0x49169a(0x146)](_0x49169a(0x10e))['to'](_0x2679d6),_0x3cd7ee['on'](_0x49169a(0x10e),()=>{const _0x594689=_0x49169a;this[_0x594689(0x12a)][_0x594689(0x10e)](_0x1129ab[_0x594689(0xeb)]),this[_0x594689(0x12a)][_0x594689(0xcd)][_0x594689(0xd0)][_0x594689(0x15d)]();}),_0x337b9c[_0x49169a(0xd9)][_0x49169a(0x10d)](_0x3cd7ee),_0x34ebf3[_0x49169a(0x150)][_0x49169a(0x10d)](_0x337b9c);}return _0x2679d6[_0x49169a(0xee)](_0x49169a(0xdf))['to'](_0x39ee3f,_0x49169a(0xdf)),_0x2679d6[_0x49169a(0xcc)][_0x49169a(0xd9)][_0x49169a(0x10d)](_0x34ebf3),_0x2679d6;}[_0x4cf9b4(0x111)](_0x5242fc){const _0x20a176=_0x4cf9b4,_0x1fbbd8=this[_0x20a176(0x12a)],_0x5032a3=_0x1fbbd8[_0x20a176(0xc8)],_0x1d8655=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x112)),_0x47c98c=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x107)),_0x5b45e8=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x110)),_0x2d33de=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x364245)['me'],_0x3f4b4f=_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xbf))[_0x20a176(0x10f)],_0x324458=_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xbf))[_0x20a176(0x115)],{CommentsListView:_0x128ca8,CommentThreadInputView:_0x1edceb}=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x109));let _0x209570,_0x4fd034,_0x441a4a;this[_0x20a176(0x134)][_0x20a176(0xd3)](_0x5242fc['id'])?(_0x4fd034=this[_0x20a176(0x134)][_0x20a176(0xd6)](_0x5242fc['id']),_0x209570=_0x4fd034[_0x20a176(0x142)]):(_0x209570=new _0x3f4b4f(_0x1fbbd8[_0x20a176(0x13c)],_0x5242fc,_0x2d33de,{'disableComments':this[_0x20a176(0xff)],'editorConfig':{..._0x5032a3[_0x20a176(0xd6)](_0x20a176(0x148)),'licenseKey':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xe7))},'maxCommentsWhenCollapsed':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x122)),'maxThreadTotalWeight':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xd7)),'maxCommentCharsWhenCollapsed':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x103)),'formatDateTime':_0x1d2925(_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x13c)),_0x1fbbd8[_0x20a176(0x13c)]),'CommentView':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x151))[_0x20a176(0x13e)],'CommentsListView':_0x128ca8,'CommentThreadInputView':_0x1edceb,'SuggestionView':_0x324458}),_0x209570[_0x20a176(0xc2)][_0x20a176(0xc0)]['on'](_0x20a176(0x10e),()=>{const _0xd528aa=_0x20a176;_0x1fbbd8[_0xd528aa(0xcd)][_0xd528aa(0xd0)][_0xd528aa(0x15d)]();}),_0x209570[_0x20a176(0xc2)][_0x20a176(0x16c)]['on'](_0x20a176(0x10e),()=>{const _0x259757=_0x20a176;_0x1fbbd8[_0x259757(0xcd)][_0x259757(0xd0)][_0x259757(0x15d)]();}),_0x4fd034=_0x1d8655[_0x20a176(0x13f)](this[_0x20a176(0x12a)][_0x20a176(0x13c)],_0x209570),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x137))['to'](_0x209570,_0x20a176(0x137)),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x124))['to'](_0x209570),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x133))['to'](_0x209570,_0x20a176(0x133),_0x25b395=>_0x20a176(0xe5)+_0x25b395),_0x209570['on'](_0x20a176(0x12d),()=>{const _0xc69535=_0x20a176;_0x441a4a[_0xc69535(0x11d)](_0xc69535(0x12d));}),this[_0x20a176(0x134)][_0x20a176(0x135)](_0x5242fc['id'],_0x4fd034));const _0x23772a=_0x47c98c[_0x20a176(0xda)](_0x5242fc[_0x20a176(0x116)],_0x209570),_0x289559=new _0x3966c4(_0x1fbbd8,_0x5242fc,_0x209570,_0x23772a),_0x381216=_0x5242fc[_0x20a176(0xbd)]()[_0x20a176(0xe8)](_0x3fa335=>_0x3fa335[_0x20a176(0xef)]);_0x209570[_0x20a176(0xdc)]=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0xd1))[_0x20a176(0x120)][_0x20a176(0x10b)](_0x381216),this[_0x20a176(0xfe)][_0x20a176(0x135)](_0x5242fc,_0x289559),this[_0x20a176(0x138)][_0x20a176(0x135)](_0x209570,_0x289559);const _0x5d15b1=()=>{const _0x248c2e=_0x20a176,_0x474a04=[],_0x5b9ac2=_0x5242fc[_0x248c2e(0xbd)]()[_0x248c2e(0xe8)](_0x36b05f=>_0x36b05f[_0x248c2e(0xef)]);for(const _0x5bed17 of _0x5b9ac2)_0x474a04[_0x248c2e(0x149)](..._0x5bed17[_0x248c2e(0xf4)]());return _0x4d831a(_0x1fbbd8[_0x248c2e(0xcd)],_0x474a04);};_0x441a4a=_0x1d8655[_0x20a176(0x15b)]({'view':_0x4fd034,'target':_0x5d15b1,'type':()=>_0x20a176(0xe5)+_0x289559[_0x20a176(0xd0)][_0x20a176(0x133)],'isVisible':!!_0x5d15b1()}),_0x47c98c[_0x20a176(0x158)](_0x209570,_0x441a4a),_0x1d8655[_0x20a176(0x10d)](_0x441a4a),_0x5b45e8[_0x20a176(0x113)](_0x441a4a);}[_0x4cf9b4(0xcb)](_0x359a8d){const _0x147935=_0x4cf9b4,_0x5792b8=this[_0x147935(0x12a)][_0x147935(0xfb)][_0x147935(0xd6)](_0x147935(0x107)),_0xff3b4=this[_0x147935(0x12a)][_0x147935(0xfb)][_0x147935(0xd6)](_0x147935(0x112)),_0x4d583f=this[_0x147935(0xfe)][_0x147935(0xd6)](_0x359a8d),_0x9809c=_0x4d583f[_0x147935(0xd0)],_0x39ba11=_0xff3b4[_0x147935(0x168)](_0x9809c);_0x5792b8[_0x147935(0x159)](_0x9809c),_0x39ba11&&_0xff3b4[_0x147935(0x11a)](_0x39ba11),this[_0x147935(0xfe)][_0x147935(0xf0)](_0x359a8d),this[_0x147935(0x138)][_0x147935(0xf0)](_0x9809c),_0x4d583f[_0x147935(0x131)]();}[_0x4cf9b4(0xe2)](_0x4fcdb5){const _0x335002=_0x4cf9b4;if(!_0x4fcdb5[_0x335002(0xef)]||!this[_0x335002(0xfe)][_0x335002(0xd3)](_0x4fcdb5))return;const _0x48f054=this[_0x335002(0x12a)][_0x335002(0xfb)][_0x335002(0xd6)](_0x335002(0xd1)),_0x2b280c=this[_0x335002(0xfe)][_0x335002(0xd6)](_0x4fcdb5),_0x4bff55=_0x4fcdb5[_0x335002(0xbd)]();_0x2b280c[_0x335002(0xd0)][_0x335002(0xdc)]=_0x48f054[_0x335002(0x120)][_0x335002(0x10b)](_0x4bff55);}[_0x4cf9b4(0x131)](){const _0x55b7ed=_0x4cf9b4;for(const _0x1ee7b3 of this[_0x55b7ed(0xfe)][_0x55b7ed(0x154)]())this[_0x55b7ed(0xcb)](_0x1ee7b3);for(const _0x3b665f of this[_0x55b7ed(0x134)][_0x55b7ed(0x15c)]())_0x3b665f[_0x55b7ed(0x142)][_0x55b7ed(0x131)]();super[_0x55b7ed(0x131)](),this[_0x55b7ed(0xc3)]&&clearInterval(this[_0x55b7ed(0xc3)]);}}function Ee(_0x4d5105){const _0x41c041=_0x4cf9b4;return _0x41c041(0xf1)in _0x4d5105;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x47eea1=_0x2f4d;(function(_0x2e8632,_0x27c38a){const _0x207d51=_0x2f4d,_0x1aec99=_0x2e8632();while(!![]){try{const _0x2020eb=-parseInt(_0x207d51(0x1a1))/0x1+-parseInt(_0x207d51(0x1a2))/0x2*(parseInt(_0x207d51(0x1b6))/0x3)+parseInt(_0x207d51(0x1b1))/0x4+parseInt(_0x207d51(0x1ad))/0x5*(-parseInt(_0x207d51(0x197))/0x6)+parseInt(_0x207d51(0x19b))/0x7+parseInt(_0x207d51(0x1a6))/0x8+parseInt(_0x207d51(0x191))/0x9*(parseInt(_0x207d51(0x195))/0xa);if(_0x2020eb===_0x27c38a)break;else _0x1aec99['push'](_0x1aec99['shift']());}catch(_0x303fba){_0x1aec99['push'](_0x1aec99['shift']());}}}(_0x1889,0x3ed3d));import{ObservableMixin as _0x30b909}from'ckeditor5/src/utils.js';function _0x2f4d(_0x58d9df,_0x40b278){const _0x188944=_0x1889();return _0x2f4d=function(_0x2f4d6a,_0x470562){_0x2f4d6a=_0x2f4d6a-0x191;let _0x567a0d=_0x188944[_0x2f4d6a];return _0x567a0d;},_0x2f4d(_0x58d9df,_0x40b278);}function _0x1889(){const _0x4afa62=['model','464020mhfkji','commands','99030XDOHXS','_removePendingAction','canEditAt','plugins','865032abVbGm','listenTo','_editor','_acceptCommand','unbind','isEnabled','277061xrknri','2TuUNaV','canDiscard','remove','execute','3420480ltaBny','change:isDirty','add','_setPendingAction','PendingActions','_pendingAction','stopListening','145tZcSwA','bind','getRanges','destroy','820540dcwELI','PENDING_ACTION_SUGGESTION','discardSuggestion','canAccept','locale','204114OJMAJc','get','acceptSuggestion','commentThreadController','isDirty','63pdFsvK','view','_discardCommand'];_0x1889=function(){return _0x4afa62;};return _0x1889();}import{getTranslation as _0xf41af3}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x30b909(){[_0x47eea1(0x194)];[_0x47eea1(0x192)];[_0x47eea1(0x1b9)];[_0x47eea1(0x19d)];[_0x47eea1(0x19e)];[_0x47eea1(0x193)];[_0x47eea1(0x1ab)];constructor(_0x71ac13,_0x49445a,_0x2570e3,_0x49d4af){const _0x5dfcbf=_0x47eea1;super(),this[_0x5dfcbf(0x194)]=_0x49445a,this[_0x5dfcbf(0x192)]=_0x2570e3,this[_0x5dfcbf(0x1b9)]=_0x49d4af,this[_0x5dfcbf(0x19d)]=_0x71ac13,this[_0x5dfcbf(0x19e)]=_0x71ac13[_0x5dfcbf(0x196)][_0x5dfcbf(0x1b7)](_0x5dfcbf(0x1b8)),this[_0x5dfcbf(0x193)]=_0x71ac13[_0x5dfcbf(0x196)][_0x5dfcbf(0x1b7)](_0x5dfcbf(0x1b3)),this[_0x5dfcbf(0x192)][_0x5dfcbf(0x1ae)](_0x5dfcbf(0x1a0))['to'](this[_0x5dfcbf(0x19e)],this[_0x5dfcbf(0x193)],(_0x2f0aad,_0x5421fc)=>_0x2f0aad||_0x5421fc),this[_0x5dfcbf(0x192)][_0x5dfcbf(0x1ae)](_0x5dfcbf(0x1b4))['to'](this[_0x5dfcbf(0x19e)],_0x5dfcbf(0x1a0),_0x2dae79=>_0x2dae79&&this[_0x5dfcbf(0x19d)][_0x5dfcbf(0x194)][_0x5dfcbf(0x199)](_0x49445a[_0x5dfcbf(0x1af)]())),this[_0x5dfcbf(0x192)][_0x5dfcbf(0x1ae)](_0x5dfcbf(0x1a3))['to'](this[_0x5dfcbf(0x193)],_0x5dfcbf(0x1a0),_0x141aff=>_0x141aff&&this[_0x5dfcbf(0x19d)][_0x5dfcbf(0x194)][_0x5dfcbf(0x199)](_0x49445a[_0x5dfcbf(0x1af)]())),this[_0x5dfcbf(0x1ab)]=null,_0x2570e3[_0x5dfcbf(0x1ba)]&&this[_0x5dfcbf(0x1a9)](),this[_0x5dfcbf(0x19c)](_0x2570e3,_0x5dfcbf(0x1b8),()=>this[_0x5dfcbf(0x1b8)]()),this[_0x5dfcbf(0x19c)](_0x2570e3,_0x5dfcbf(0x1b3),()=>this[_0x5dfcbf(0x1b3)]()),this[_0x5dfcbf(0x19c)](_0x2570e3,_0x5dfcbf(0x1a7),()=>{const _0x2805dc=_0x5dfcbf;_0x2570e3[_0x2805dc(0x1ba)]?this[_0x2805dc(0x1a9)]():this[_0x2805dc(0x198)]();});}[_0x47eea1(0x1b8)](){const _0x243b8d=_0x47eea1;this[_0x243b8d(0x19e)][_0x243b8d(0x1a5)](this[_0x243b8d(0x194)]['id']);}[_0x47eea1(0x1b3)](){const _0x4098d9=_0x47eea1;this[_0x4098d9(0x193)][_0x4098d9(0x1a5)](this[_0x4098d9(0x194)]['id']);}[_0x47eea1(0x1b0)](){const _0x303e4b=_0x47eea1;this[_0x303e4b(0x192)][_0x303e4b(0x19f)](_0x303e4b(0x1a0)),this[_0x303e4b(0x192)][_0x303e4b(0x19f)](_0x303e4b(0x1b4)),this[_0x303e4b(0x192)][_0x303e4b(0x19f)](_0x303e4b(0x1a3)),this[_0x303e4b(0x1ac)](),this[_0x303e4b(0x1b9)][_0x303e4b(0x1b0)](),this[_0x303e4b(0x1ab)]&&this[_0x303e4b(0x198)]();}[_0x47eea1(0x1a9)](){const _0x58bc6b=_0x47eea1,_0x4c4c4c=_0xf41af3(this[_0x58bc6b(0x19d)][_0x58bc6b(0x1b5)],_0x58bc6b(0x1b2));this[_0x58bc6b(0x1ab)]=this[_0x58bc6b(0x19d)][_0x58bc6b(0x19a)][_0x58bc6b(0x1b7)](_0x58bc6b(0x1aa))[_0x58bc6b(0x1a8)](_0x4c4c4c);}[_0x47eea1(0x198)](){const _0x1d59f0=_0x47eea1;null!==this[_0x1d59f0(0x1ab)]&&this[_0x1d59f0(0x19d)][_0x1d59f0(0x19a)][_0x1d59f0(0x1b7)](_0x1d59f0(0x1aa))[_0x1d59f0(0x1a4)](this[_0x1d59f0(0x1ab)]),this[_0x1d59f0(0x1ab)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bb78b=_0x6451;(function(_0x4a908a,_0x124267){const _0x51c662=_0x6451,_0x4e7a58=_0x4a908a();while(!![]){try{const _0x36f3ef=parseInt(_0x51c662(0x1a0))/0x1*(-parseInt(_0x51c662(0x1bf))/0x2)+-parseInt(_0x51c662(0x1ac))/0x3*(parseInt(_0x51c662(0x1a5))/0x4)+parseInt(_0x51c662(0x1b6))/0x5*(-parseInt(_0x51c662(0x1a2))/0x6)+-parseInt(_0x51c662(0x1c7))/0x7+parseInt(_0x51c662(0x1dd))/0x8*(parseInt(_0x51c662(0x1d7))/0x9)+-parseInt(_0x51c662(0x1d3))/0xa+parseInt(_0x51c662(0x1e5))/0xb;if(_0x36f3ef===_0x124267)break;else _0x4e7a58['push'](_0x4e7a58['shift']());}catch(_0x3b1745){_0x4e7a58['push'](_0x4e7a58['shift']());}}}(_0x1557,0x97365));import{FocusCycler as _0x389780,View as _0xd0efd6,ViewCollection as _0x47979d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5d999a,KeystrokeHandler as _0x456ecd}from'ckeditor5/src/utils.js';function _0x6451(_0x5d04e9,_0x42a798){const _0x15571a=_0x1557();return _0x6451=function(_0x645136,_0xd614b8){_0x645136=_0x645136-0x19e;let _0x47a94a=_0x15571a[_0x645136];return _0x47a94a;},_0x6451(_0x5d04e9,_0x42a798);}function _0x1557(){const _0x191233=['hasDirtyComment','render','ariaLabel','editorConfig','cancel','focus','set','fire','locale','formatDateTime','parseFromString','8069490otseQB','destroy','body','submit','974529FyUxbz','map','shift+tab','keystrokes','_createCommentThreadInputView','disableComments','88xGNDLT','isEnabled','removeComment','setData','editor','disabledSubmit','length','text/html','25197524yrbkBr','isDirty','focusCycler','authoredAt','focusTracker','5RrVgct','isReadOnly','24942aFmnol','assign','CommentView','76648yHJvrF','_config','textContent','updateComment','descriptionParts','commentThread','tab','9sFvVBn','isActive','addComment','focusables','author','canAccept','ariaDescriptionView','element','_model','join','1195QIJKwX','SUGGESTION_THREAD_DESCRIPTION','content','SUGGESTION_THREAD_ARIA_LABEL','value','canDiscard','_localUser','commentInputView','target','55922DozGIb','commentsListView','delegate','name','bind','showInput','commentThreadInputView','_createCommentViews','6052529LQPWGw'];_0x1557=function(){return _0x191233;};return _0x1557();}import{AriaDescriptionView as _0x3f1782,setupThreadKeyboardNavigation as _0x595f55}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x11571f}from'../../utils/common-translations.js';import{renderDescription as _0x545b4d}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0xd0efd6{[_0x1bb78b(0x1c0)];[_0x1bb78b(0x1c5)];[_0x1bb78b(0x1b2)];[_0x1bb78b(0x1af)];[_0x1bb78b(0x19f)];[_0x1bb78b(0x1da)];[_0x1bb78b(0x1e7)];[_0x1bb78b(0x1b4)];[_0x1bb78b(0x1bc)];[_0x1bb78b(0x1a6)];constructor(_0x361d4a,_0x2d3f67,_0x1f3f43,_0x55c130){const _0x2b1f7d=_0x1bb78b;super(_0x361d4a),this[_0x2b1f7d(0x1c0)]=null,this[_0x2b1f7d(0x1c5)]=null,this[_0x2b1f7d(0x1b2)]=new _0x3f1782(_0x361d4a,_0x11571f(_0x361d4a,_0x2b1f7d(0x1b7))),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1ad),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x19e),_0x2d3f67[_0x2b1f7d(0x19e)]),this[_0x2b1f7d(0x1c3)](_0x2b1f7d(0x19e))['to'](_0x2d3f67),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1a9),[]),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1e6),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1de),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1b1),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1bb),!0x1),this[_0x2b1f7d(0x1c3)](_0x2b1f7d(0x1ca))['to'](this,_0x2b1f7d(0x1e3),_0x2d3f67,_0x2b1f7d(0x19e),this,_0x2b1f7d(0x1a9),(_0x501974,_0x4994e2,_0x470661)=>{const _0x31a516=_0x2b1f7d,_0x36d858=_0x470661[_0x31a516(0x1d8)](_0x26fa09=>_0x545b4d(_0x26fa09[_0x31a516(0x1b8)]))[_0x31a516(0x1b5)]('.\x20')+'.';return _0x11571f(this[_0x31a516(0x1d0)],_0x31a516(0x1b9),[_0x501974-0x1,_0x2d3f67[_0x31a516(0x1b0)][_0x31a516(0x1c2)],_0x4994e2?_0x55c130[_0x31a516(0x1d1)](_0x4994e2):'',new DOMParser()[_0x31a516(0x1d2)](_0x36d858,_0x31a516(0x1e4))[_0x31a516(0x1d5)][_0x31a516(0x1a7)]]);}),this[_0x2b1f7d(0x1af)]=new _0x47979d(),this[_0x2b1f7d(0x19f)]=new _0x5d999a(),this[_0x2b1f7d(0x1da)]=new _0x456ecd(),this[_0x2b1f7d(0x1e7)]=new _0x389780({'focusables':this[_0x2b1f7d(0x1af)],'focusTracker':this[_0x2b1f7d(0x19f)],'keystrokeHandler':this[_0x2b1f7d(0x1da)],'keystrokeHandlerOptions':{'filter':_0x93dc0a=>_0x93dc0a[_0x2b1f7d(0x1be)]!==this[_0x2b1f7d(0x1b3)]},'actions':{'focusPrevious':_0x2b1f7d(0x1d9),'focusNext':_0x2b1f7d(0x1ab)}}),this[_0x2b1f7d(0x1b4)]=_0x2d3f67,this[_0x2b1f7d(0x1bc)]=_0x1f3f43,this[_0x2b1f7d(0x1a6)]=_0x55c130,_0x55c130[_0x2b1f7d(0x1dc)]?this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1e3),0x1):this[_0x2b1f7d(0x1c6)]();}[_0x1bb78b(0x1c9)](){const _0x4dacc8=_0x1bb78b;super[_0x4dacc8(0x1c9)](),_0x595f55(this,this[_0x4dacc8(0x1af)]);}[_0x1bb78b(0x1cd)](){const _0x4f5d72=_0x1bb78b;this[_0x4f5d72(0x1b3)][_0x4f5d72(0x1cd)]();}[_0x1bb78b(0x1d4)](){const _0x13763e=_0x1bb78b;this[_0x13763e(0x1c0)]&&this[_0x13763e(0x1c0)][_0x13763e(0x1d4)](),this[_0x13763e(0x1c5)]&&this[_0x13763e(0x1c5)][_0x13763e(0x1d4)](),super[_0x13763e(0x1d4)]();}[_0x1bb78b(0x1c6)](){const _0x3a5750=_0x1bb78b,{CommentsListView:_0x943141}=this[_0x3a5750(0x1a6)];this[_0x3a5750(0x1c0)]=new _0x943141(this[_0x3a5750(0x1d0)],this[_0x3a5750(0x1b4)][_0x3a5750(0x1aa)],Object[_0x3a5750(0x1a3)]({'CommentView':this[_0x3a5750(0x1a6)][_0x3a5750(0x1a4)]},this[_0x3a5750(0x1a6)])),this[_0x3a5750(0x1c0)][_0x3a5750(0x1c1)](_0x3a5750(0x1df))['to'](this),this[_0x3a5750(0x1c0)][_0x3a5750(0x1c1)](_0x3a5750(0x1a8))['to'](this),this[_0x3a5750(0x1c0)][_0x3a5750(0x1c3)](_0x3a5750(0x1ad))['to'](this),this[_0x3a5750(0x1ce)](_0x3a5750(0x1e3),this[_0x3a5750(0x1c0)][_0x3a5750(0x1e3)]+0x1),this[_0x3a5750(0x1c3)](_0x3a5750(0x1e3))['to'](this[_0x3a5750(0x1c0)],_0x3a5750(0x1e3),_0x2dc828=>_0x2dc828+0x1),this[_0x3a5750(0x1c5)]=this[_0x3a5750(0x1db)](),this['on'](_0x3a5750(0x1df),()=>this[_0x3a5750(0x1cd)]()),this[_0x3a5750(0x1c3)](_0x3a5750(0x1e6))['to'](this[_0x3a5750(0x1c0)],_0x3a5750(0x1c8),this[_0x3a5750(0x1c5)][_0x3a5750(0x1bd)],_0x3a5750(0x1ba),(_0x6aff3f,_0x37cd4d)=>_0x6aff3f||!!_0x37cd4d);}[_0x1bb78b(0x1db)](){const _0x4011ba=_0x1bb78b,{CommentThreadInputView:_0x18ad16}=this[_0x4011ba(0x1a6)],_0x4cd6ea=new _0x18ad16(this[_0x4011ba(0x1d0)],this[_0x4011ba(0x1bc)],this[_0x4011ba(0x1a6)][_0x4011ba(0x1cb)]),_0x5a4d6b=_0x4cd6ea[_0x4011ba(0x1bd)];return _0x4cd6ea[_0x4011ba(0x1c3)](_0x4011ba(0x1c4))['to'](this,_0x4011ba(0x1ad),this[_0x4011ba(0x1b4)][_0x4011ba(0x1aa)],_0x4011ba(0x1a1),_0x5a4d6b,_0x4011ba(0x1ba),(_0x421853,_0xc831e1,_0x50ba4d)=>!!_0x50ba4d||_0x421853&&!_0xc831e1),_0x5a4d6b['on'](_0x4011ba(0x1d6),(_0xb23fb,_0xa5705a)=>{const _0x3a1682=_0x4011ba;this[_0x3a1682(0x1cf)](_0x3a1682(0x1ae),_0xa5705a),_0x5a4d6b[_0x3a1682(0x1e1)][_0x3a1682(0x1e0)]('');}),_0x5a4d6b['on'](_0x4011ba(0x1cc),()=>this[_0x4011ba(0x1cd)]()),_0x5a4d6b[_0x4011ba(0x1c3)](_0x4011ba(0x1e2))['to'](this[_0x4011ba(0x1b4)][_0x4011ba(0x1aa)],_0x4011ba(0x1a1)),_0x4cd6ea;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41b67e=_0x49e2;function _0x22ea(){const _0x255fbf=['ck-suggestion-wrapper','ck-suggestion-wrapper--active','disableComments','ck-suggestion--disabled-comments','ariaLabel','bind','color','acceptSuggestion','</p>','901014PLXENZ','render','_model','_config','73446OKThFb','commentsListView','description','isEnabled','content','focusables','12Cqpzdo','suggestionView','setTemplate','ck-rounded-corners','<p>','31vOkEzP','commentThreadInputView','discardButton','_descriptionElement','canDiscard','SuggestionView','54452JELKoD','descriptionParts','discardSuggestion','ariaDescriptionView','isActive','12179718KmVrif','acceptButton','ck-suggestion-','listitem','4710755RZKUnL','push','395gVGUWn','6105616uicpwq','getTemplate','div','type','set','editorDestroyed','4641850WipDXq','commentThread','editorReady','formatDateTime','delegate','bindTemplate','add','author','canAccept'];_0x22ea=function(){return _0x255fbf;};return _0x22ea();}(function(_0x5ec37b,_0x57b65d){const _0x908fd=_0x49e2,_0x525e22=_0x5ec37b();while(!![]){try{const _0x56681f=parseInt(_0x908fd(0x1d2))/0x1*(-parseInt(_0x908fd(0x1d8))/0x2)+-parseInt(_0x908fd(0x1c3))/0x3*(parseInt(_0x908fd(0x1cd))/0x4)+-parseInt(_0x908fd(0x1e3))/0x5*(-parseInt(_0x908fd(0x1c7))/0x6)+parseInt(_0x908fd(0x1e1))/0x7+-parseInt(_0x908fd(0x1e4))/0x8+parseInt(_0x908fd(0x1dd))/0x9+parseInt(_0x908fd(0x1ea))/0xa;if(_0x56681f===_0x57b65d)break;else _0x525e22['push'](_0x525e22['shift']());}catch(_0x443cf6){_0x525e22['push'](_0x525e22['shift']());}}}(_0x22ea,0xe7c15));import{BaseSuggestionThreadView as _0x550fed}from'./basesuggestionthreadview.js';import{trimHtml as _0x297467}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x49e2(_0x37977e,_0x190fb1){const _0x22eab4=_0x22ea();return _0x49e2=function(_0x49e2c4,_0x3c075d){_0x49e2c4=_0x49e2c4-0x1b3;let _0x256fd2=_0x22eab4[_0x49e2c4];return _0x256fd2;},_0x49e2(_0x37977e,_0x190fb1);}import{renderDescription as _0x2c9958}from'../../utils/utils.js';export class SuggestionThreadView extends _0x550fed{[_0x41b67e(0x1ce)];[_0x41b67e(0x1d5)];constructor(_0xc55ccf,_0x238320,_0x52c75b,_0x45fb7d){const _0x3ba73b=_0x41b67e;super(_0xc55ccf,_0x238320,_0x52c75b,_0x45fb7d),this[_0x3ba73b(0x1e8)](_0x3ba73b(0x1e7),''),this[_0x3ba73b(0x1bf)](_0x3ba73b(0x1e7))['to'](this,_0x3ba73b(0x1d9),_0x43b285=>_0x43b285&&_0x43b285[0x0]?_0x43b285[0x0][_0x3ba73b(0x1e7)]:''),this[_0x3ba73b(0x1bf)](_0x3ba73b(0x1c9))['to'](this,_0x3ba73b(0x1d9),this,_0x3ba73b(0x1dc),(_0xb90354,_0xcf9590)=>{const _0x5c6a07=_0x3ba73b;let _0x28ffc7='';for(const _0x3ee1e4 of _0xb90354)_0x28ffc7+=_0x5c6a07(0x1d1)+_0x2c9958(_0x3ee1e4[_0x5c6a07(0x1cb)],_0x3ee1e4[_0x5c6a07(0x1c0)])+_0x5c6a07(0x1c2);return _0xcf9590?_0x28ffc7:_0x297467(_0x28ffc7,{'limit':0x8c});}),this[_0x3ba73b(0x1d5)]=null,this[_0x3ba73b(0x1ce)]=new _0x45fb7d[(_0x3ba73b(0x1d7))](_0xc55ccf,_0x238320,{'formatDateTime':_0x45fb7d[_0x3ba73b(0x1b4)]}),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1bf)](_0x3ba73b(0x1c9))['to'](this),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1b5)](_0x3ba73b(0x1c1),_0x3ba73b(0x1da))['to'](this),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1de)][_0x3ba73b(0x1bf)](_0x3ba73b(0x1ca))['to'](this,_0x3ba73b(0x1b9)),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1d4)][_0x3ba73b(0x1bf)](_0x3ba73b(0x1ca))['to'](this,_0x3ba73b(0x1d6)),this[_0x3ba73b(0x1cc)][_0x3ba73b(0x1b7)](this[_0x3ba73b(0x1ce)]),this[_0x3ba73b(0x1c8)]&&this[_0x3ba73b(0x1cc)][_0x3ba73b(0x1b7)](this[_0x3ba73b(0x1c8)]),this[_0x3ba73b(0x1d3)]&&this[_0x3ba73b(0x1cc)][_0x3ba73b(0x1b7)](this[_0x3ba73b(0x1d3)]),this[_0x3ba73b(0x1cf)](this[_0x3ba73b(0x1e5)]());}[_0x41b67e(0x1e5)](){const _0x3ff9a9=_0x41b67e,_0x1c090d=this[_0x3ff9a9(0x1b6)],_0x2df155=[this[_0x3ff9a9(0x1ce)]];return this[_0x3ff9a9(0x1c8)]&&_0x2df155[_0x3ff9a9(0x1e2)](this[_0x3ff9a9(0x1c8)]),this[_0x3ff9a9(0x1d3)]&&_0x2df155[_0x3ff9a9(0x1e2)](this[_0x3ff9a9(0x1d3)]),_0x2df155[_0x3ff9a9(0x1e2)](this[_0x3ff9a9(0x1db)]),{'tag':_0x3ff9a9(0x1e6),'attributes':{'class':['ck',_0x3ff9a9(0x1d0),_0x3ff9a9(0x1ba),_0x1c090d['if'](_0x3ff9a9(0x1dc),_0x3ff9a9(0x1bb)),_0x1c090d['to'](_0x3ff9a9(0x1e7),_0x2dca9b=>_0x3ff9a9(0x1df)+_0x2dca9b),this[_0x3ff9a9(0x1c6)][_0x3ff9a9(0x1bc)]&&_0x3ff9a9(0x1bd)],'data-suggestion-id':this[_0x3ff9a9(0x1c5)]['id'],'data-thread-id':this[_0x3ff9a9(0x1c5)][_0x3ff9a9(0x1eb)]['id'],'data-author-id':this[_0x3ff9a9(0x1c5)][_0x3ff9a9(0x1b8)]['id'],'tabindex':0x0,'role':_0x3ff9a9(0x1e0),'aria-label':_0x1c090d['to'](_0x3ff9a9(0x1be)),'aria-describedby':this[_0x3ff9a9(0x1db)]['id']},'children':_0x2df155};}[_0x41b67e(0x1c4)](){const _0x356ca5=_0x41b67e;super[_0x356ca5(0x1c4)](),this[_0x356ca5(0x1c8)]&&(this[_0x356ca5(0x1c8)][_0x356ca5(0x1b5)](_0x356ca5(0x1b3))['to'](this),this[_0x356ca5(0x1c8)][_0x356ca5(0x1b5)](_0x356ca5(0x1e9))['to'](this)),this[_0x356ca5(0x1d3)]&&(this[_0x356ca5(0x1d3)][_0x356ca5(0x1b5)](_0x356ca5(0x1b3))['to'](this),this[_0x356ca5(0x1d3)][_0x356ca5(0x1b5)](_0x356ca5(0x1e9))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2115f4=_0x4554;function _0x5c90(){const _0x872ec5=['source','ck-annotation__actions','add','presentation','target','2elaOYC','ck-suggestion__actions','change:description','_createButton','ck-suggestion--discard','formatDateTime','locale','_model','EXTERNAL_SUGGESTION','time','render','focus','innerHTML','attributes','bind','ck-suggestion__info-name','301764eHwcSR','isExternal','.ck-annotation__content-wrapper','4990722fqfxvN','execute','description','EXTERNAL_AVATAR','ck-suggestion','ck-annotation__info','6OZJxzd','name','1660626xMUHLo','_config','Discard\x20suggestion','span','3064BLJySN','shift+tab','ck-suggestion__info','getUserViewNotificationText','keystrokes','2790420WgwxbE','push','listenTo','bindTemplate','1080175rIdMiI','189262felTUZ','focusFirst','focusCycler','ck-comment__info-time','ck-annotation__info-time','@external','ck-annotation__user','setTemplate','getTemplate','div','extendTemplate','EXTERNAL_IMPORT_WORD_AVATAR','getExternalSuggestionNote','ck-annotation','ck-annotation__content-wrapper','ck-suggestion__user','5341OvyxYK','focusTracker','Accept\x20suggestion','focusables','acceptButton','ck-suggestion--accept','userView','esc','discardButton','ck-annotation__main','ck-comment__external','tab','element','creator','authoredAt','set','3ZknryQ','ck-suggestion__main','discardSuggestion','enter','10QmHzdH','querySelector','importWord','_setupKeyboardNavigation','ck-annotation__info-name','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','author','acceptSuggestion'];_0x5c90=function(){return _0x872ec5;};return _0x5c90();}(function(_0x270f39,_0x56f18e){const _0x30b4a1=_0x4554,_0x2bdb92=_0x270f39();while(!![]){try{const _0x1d5ef8=parseInt(_0x30b4a1(0xf2))/0x1*(-parseInt(_0x30b4a1(0x11b))/0x2)+parseInt(_0x30b4a1(0xe0))/0x3*(parseInt(_0x30b4a1(0x102))/0x4)+-parseInt(_0x30b4a1(0x11a))/0x5*(parseInt(_0x30b4a1(0x10b))/0x6)+parseInt(_0x30b4a1(0xd0))/0x7*(parseInt(_0x30b4a1(0x111))/0x8)+parseInt(_0x30b4a1(0x10d))/0x9*(parseInt(_0x30b4a1(0xe4))/0xa)+parseInt(_0x30b4a1(0x105))/0xb+-parseInt(_0x30b4a1(0x116))/0xc;if(_0x1d5ef8===_0x56f18e)break;else _0x2bdb92['push'](_0x2bdb92['shift']());}catch(_0x2e8912){_0x2bdb92['push'](_0x2bdb92['shift']());}}}(_0x5c90,0x59db6));import{FocusTracker as _0x32921a,KeystrokeHandler as _0x119372}from'ckeditor5/src/utils.js';import{View as _0x199565,ViewCollection as _0xf36db3,FocusCycler as _0x30e5d8}from'ckeditor5/src/ui.js';function _0x4554(_0x57752d,_0x25fb75){const _0x5c9095=_0x5c90();return _0x4554=function(_0x4554fd,_0x5a47bd){_0x4554fd=_0x4554fd-0xc1;let _0x33388a=_0x5c9095[_0x4554fd];return _0x33388a;},_0x4554(_0x57752d,_0x25fb75);}import{LateFocusButtonView as _0x9fc478,UserView as _0x2aa601}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1f3caa,IconCheck as _0x482344}from'ckeditor5/src/icons.js';import{getTranslation as _0x538c9e}from'../../utils/common-translations.js';export class SuggestionView extends _0x199565{[_0x2115f4(0xd6)];[_0x2115f4(0xd4)];[_0x2115f4(0xd8)];[_0x2115f4(0xd3)];[_0x2115f4(0xd1)];[_0x2115f4(0x115)];[_0x2115f4(0xc2)];[_0x2115f4(0xf9)];[_0x2115f4(0x10e)];constructor(_0x31e61c,_0x1097bc,_0x98dc13){const _0x1288c0=_0x2115f4;super(_0x31e61c),this[_0x1288c0(0xf9)]=_0x1097bc,this[_0x1288c0(0x10e)]=_0x98dc13,this[_0x1288c0(0xdf)](_0x1288c0(0x107),''),this[_0x1288c0(0x100)](_0x1288c0(0xde))['to'](_0x1097bc),this[_0x1288c0(0xd4)]=this[_0x1288c0(0xf5)](_0x538c9e(_0x31e61c,_0x1288c0(0xd2)),_0x482344,_0x1288c0(0xd5),_0x1288c0(0xec),'sw'),this[_0x1288c0(0xd8)]=this[_0x1288c0(0xf5)](_0x538c9e(_0x31e61c,_0x1288c0(0x10f)),_0x1f3caa,_0x1288c0(0xf6),_0x1288c0(0xe2),'sw'),this[_0x1288c0(0xd6)]=new _0x2aa601(_0x31e61c,_0x1097bc[_0x1288c0(0xeb)],this[_0x1288c0(0x114)]()),this[_0x1288c0(0xd6)][_0x1288c0(0xca)]({'attributes':{'class':[_0x1288c0(0xcf),_0x1288c0(0xc6)],'aria-hidden':!0x0}}),this[_0x1288c0(0xd3)]=new _0xf36db3([this[_0x1288c0(0xd4)],this[_0x1288c0(0xd8)]]),this[_0x1288c0(0xd1)]=new _0x32921a(),this[_0x1288c0(0x115)]=new _0x119372(),this[_0x1288c0(0xc2)]=new _0x30e5d8({'focusables':this[_0x1288c0(0xd3)],'focusTracker':this[_0x1288c0(0xd1)],'keystrokeHandler':this[_0x1288c0(0x115)],'actions':{'focusPrevious':_0x1288c0(0x112),'focusNext':_0x1288c0(0xdb)},'keystrokeHandlerOptions':{'filter':_0x5d33a0=>_0x5d33a0[_0x1288c0(0xf1)]!==this[_0x1288c0(0xdc)]}}),this[_0x1288c0(0xc7)](this[_0x1288c0(0xc8)]());}[_0x2115f4(0xfc)](){const _0x4a410b=_0x2115f4;super[_0x4a410b(0xfc)]();const _0x1dfb74=this[_0x4a410b(0xdc)][_0x4a410b(0xe5)](_0x4a410b(0x104));_0x1dfb74[_0x4a410b(0xfe)]=this[_0x4a410b(0x107)],this['on'](_0x4a410b(0xf4),(_0x23c3da,_0x41d1f3,_0x397c63)=>{const _0x15978a=_0x4a410b;_0x1dfb74[_0x15978a(0xfe)]=_0x397c63;}),this[_0x4a410b(0xe7)]();}[_0x2115f4(0xc8)](){const _0x41ad59=_0x2115f4,_0xcdf3b7=this[_0x41ad59(0x119)],_0x446cb0=[{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0x113),_0x41ad59(0x10a)]},'children':[{'tag':_0x41ad59(0x110),'children':[{'text':this[_0x41ad59(0xd6)][_0x41ad59(0x10c)]}],'attributes':{'class':[_0x41ad59(0x101),_0x41ad59(0xe8)],'data-cke-tooltip-text':this[_0x41ad59(0xd6)][_0x41ad59(0x10c)]}},{'tag':_0x41ad59(0xfb),'attributes':{'datetime':_0xcdf3b7['to'](_0x41ad59(0xde)),'class':[_0x41ad59(0xc3),_0x41ad59(0xc4)]},'children':[{'text':_0xcdf3b7['to'](_0x41ad59(0xde),_0x401316=>this[_0x41ad59(0x10e)][_0x41ad59(0xf7)](_0x401316))}]}]},{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xf3),_0x41ad59(0xee)]},'children':[this[_0x41ad59(0xd4)],this[_0x41ad59(0xd8)]]},{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xce)]}}];return this[_0x41ad59(0xf9)][_0x41ad59(0x103)]&&_0x446cb0[_0x41ad59(0x117)]({'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xda)]},'children':[{'text':this[_0x41ad59(0xcc)]()}]}),{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0x109),_0x41ad59(0xcd)],'tabindex':-0x1},'children':[this[_0x41ad59(0xd6)],{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xe1),_0x41ad59(0xd9)],'role':_0x41ad59(0xf0)},'children':_0x446cb0}]};}[_0x2115f4(0xfd)](){const _0xb907bc=_0x2115f4;this[_0xb907bc(0xdc)][_0xb907bc(0xfd)]();}[_0x2115f4(0x114)](){const _0x4842cc=_0x2115f4;return this[_0x4842cc(0xf9)][_0x4842cc(0x103)]?_0x4842cc(0xe6)===this[_0x4842cc(0xf9)][_0x4842cc(0xff)][_0x4842cc(0xc5)][_0x4842cc(0xed)]?_0x538c9e(this[_0x4842cc(0xf8)],_0x4842cc(0xcb),this[_0x4842cc(0xf9)][_0x4842cc(0xdd)][_0x4842cc(0x10c)]):_0x538c9e(this[_0x4842cc(0xf8)],_0x4842cc(0x108),this[_0x4842cc(0xf9)][_0x4842cc(0xdd)][_0x4842cc(0x10c)]):null;}[_0x2115f4(0xcc)](){const _0x322c32=_0x2115f4;return _0x322c32(0xe6)===this[_0x322c32(0xf9)][_0x322c32(0xff)][_0x322c32(0xc5)][_0x322c32(0xed)]?_0x538c9e(this[_0x322c32(0xf8)],_0x322c32(0xea)):_0x538c9e(this[_0x322c32(0xf8)],_0x322c32(0xfa));}[_0x2115f4(0xf5)](_0x2a71c9,_0x267dcb,_0x54258d,_0x42f910,_0x328a90){const _0x500aa3=_0x2115f4,_0xa19e32=new _0x9fc478(this[_0x500aa3(0xf8)]);return _0xa19e32[_0x500aa3(0xdf)]({'label':_0x2a71c9,'icon':_0x267dcb,'tooltip':!0x0,'tooltipPosition':_0x328a90}),_0xa19e32[_0x500aa3(0xca)]({'attributes':{'class':_0x54258d}}),_0xa19e32['on'](_0x500aa3(0x106),()=>{const _0x440ccc=_0x500aa3;this[_0x440ccc(0xe9)](_0x42f910,this[_0x440ccc(0xf9)]['id']);}),_0xa19e32;}[_0x2115f4(0xe7)](){const _0x5f0b93=_0x2115f4,_0x201bec=this[_0x5f0b93(0xdc)];this[_0x5f0b93(0x115)][_0x5f0b93(0x118)](_0x201bec);for(const _0x1c16bf of this[_0x5f0b93(0xd3)])this[_0x5f0b93(0xd1)][_0x5f0b93(0xef)](_0x1c16bf[_0x5f0b93(0xdc)]),this[_0x5f0b93(0x115)][_0x5f0b93(0x118)](_0x1c16bf[_0x5f0b93(0xdc)]);this[_0x5f0b93(0x115)][_0x5f0b93(0xdf)](_0x5f0b93(0xe3),(_0x5050ba,_0x428234)=>{const _0x34a4c1=_0x5f0b93;_0x201bec===_0x5050ba[_0x34a4c1(0xf1)]&&(this[_0x34a4c1(0xc2)][_0x34a4c1(0xc1)](),_0x428234());}),this[_0x5f0b93(0x115)][_0x5f0b93(0xdf)](_0x5f0b93(0xd7),(_0x3f4fde,_0x250767)=>{const _0x24abd2=_0x5f0b93;_0x201bec!==_0x3f4fde[_0x24abd2(0xf1)]&&(this[_0x24abd2(0xfd)](),_0x250767());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3834(_0x49ebec,_0x947ff3){const _0x38dfd5=_0x38df();return _0x3834=function(_0x3834d0,_0x12b08d){_0x3834d0=_0x3834d0-0x1a0;let _0x6a1d6e=_0x38dfd5[_0x3834d0];return _0x6a1d6e;},_0x3834(_0x49ebec,_0x947ff3);}const _0xab7f22=_0x3834;function _0x38df(){const _0x381cb4=['230wJRWEP','div','ck-track-changes-preview','previewDataReady','\x20ck-track-changes-preview__root-container','push','ck-reset','8160YzFFGK','4389700ThppKa','dialogRects','createElement','focus','innerHTML','classes','data-ck-root-name','39KjNNFt','3701416kZawbB','1088436gIFIOI','setTemplate','content','height','11nwyAlP','width','style','2760789yqOcpQ','4oJjddu','9wlakxS','element','setPreviewData','fire','setAttribute','options','3282320cwWnXd','render','className','5015240UmBNFa','6ZXDiZi'];_0x38df=function(){return _0x381cb4;};return _0x38df();}(function(_0x5aef4d,_0x2e8aa8){const _0x230a83=_0x3834,_0x295adc=_0x5aef4d();while(!![]){try{const _0x2310c6=-parseInt(_0x230a83(0x1ab))/0x1*(-parseInt(_0x230a83(0x1a4))/0x2)+-parseInt(_0x230a83(0x1bc))/0x3*(-parseInt(_0x230a83(0x1bd))/0x4)+parseInt(_0x230a83(0x1c4))/0x5*(-parseInt(_0x230a83(0x1a3))/0x6)+-parseInt(_0x230a83(0x1ac))/0x7+parseInt(_0x230a83(0x1b4))/0x8*(parseInt(_0x230a83(0x1be))/0x9)+-parseInt(_0x230a83(0x1a2))/0xa*(parseInt(_0x230a83(0x1b9))/0xb)+-parseInt(_0x230a83(0x1b5))/0xc*(-parseInt(_0x230a83(0x1b3))/0xd);if(_0x2310c6===_0x2e8aa8)break;else _0x295adc['push'](_0x295adc['shift']());}catch(_0xb91053){_0x295adc['push'](_0x295adc['shift']());}}}(_0x38df,0xc55a9));import{View as _0x24fa7e}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x24fa7e{[_0xab7f22(0x1c3)];constructor(_0x4a3a94,_0x43fb89){const _0x41afa1=_0xab7f22;super(_0x4a3a94),this[_0x41afa1(0x1c3)]=_0x43fb89,this[_0x41afa1(0x1b6)]({'tag':_0x41afa1(0x1a5),'attributes':{'class':['ck',_0x41afa1(0x1aa),_0x41afa1(0x1a6)],'tabindex':-0x1}});}[_0xab7f22(0x1a0)](){const _0x747077=_0xab7f22;super[_0x747077(0x1a0)](),this[_0x747077(0x1bf)][_0x747077(0x1bb)][_0x747077(0x1ba)]=this[_0x747077(0x1c3)][_0x747077(0x1ad)][_0x747077(0x1ba)]+'px',this[_0x747077(0x1bf)][_0x747077(0x1bb)][_0x747077(0x1b8)]=this[_0x747077(0x1c3)][_0x747077(0x1ad)][_0x747077(0x1b8)]+'px';}[_0xab7f22(0x1c0)](_0x393a3f,_0x4c0089){const _0x56ea14=_0xab7f22;if(!this[_0x56ea14(0x1bf)])return;const _0x31786f=[];for(const [_0x35626d,_0x336fd4]of _0x393a3f){const _0x5d5cd8=document[_0x56ea14(0x1ae)](_0x56ea14(0x1a5));_0x5d5cd8[_0x56ea14(0x1c2)](_0x56ea14(0x1b2),_0x35626d),_0x5d5cd8[_0x56ea14(0x1a1)]=_0x336fd4[_0x56ea14(0x1b1)]+_0x56ea14(0x1a8),_0x5d5cd8[_0x56ea14(0x1b0)]=_0x336fd4[_0x56ea14(0x1b7)],_0x31786f[_0x56ea14(0x1a9)](_0x5d5cd8);}_0x4c0089(this[_0x56ea14(0x1bf)],_0x31786f),this[_0x56ea14(0x1bf)][_0x56ea14(0x1bb)][_0x56ea14(0x1b8)]='',this[_0x56ea14(0x1c1)](_0x56ea14(0x1a7));}[_0xab7f22(0x1af)](){const _0x3b6db0=_0xab7f22;this[_0x3b6db0(0x1bf)][_0x3b6db0(0x1af)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1b1041,_0x20139f,_0x225400){const _0xd24c8c=_0x1b1041['t'],t=_0x1b1041['t'];switch(_0x20139f){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',_0x225400);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x225400);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x225400);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x225400);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x225400);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',_0x225400);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x225400);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',_0x225400);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x225400);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x225400);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x225400);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x225400);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x225400);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x225400);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x225400);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x225400);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x225400);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x225400);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x225400);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x225400);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x225400);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x225400);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x225400);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x225400);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x225400);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'},_0x225400);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x225400);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x225400);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x225400);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x225400);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x225400);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x225400);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x225400);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'},_0x225400);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x225400);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x225400);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x225400);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x225400);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'},_0x225400);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x225400);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'},_0x225400);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x225400);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x225400);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x225400);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'},_0x225400);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x225400);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 _0xd24c8c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x225400);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xd24c8c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x225400);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x225400);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'},_0x225400);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'},_0x225400);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'},_0x225400);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x20139f;}}
|
|
23
|
+
export function getTranslation(_0x2b8d6e,_0x3253c4,_0x553086){const _0x3f311e=_0x2b8d6e['t'],t=_0x2b8d6e['t'];switch(_0x3253c4){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',_0x553086);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x553086);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x553086);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x553086);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x553086);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',_0x553086);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x553086);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',_0x553086);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x553086);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x553086);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x553086);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x553086);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x553086);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x553086);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x553086);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x553086);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x553086);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x553086);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x553086);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x553086);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x553086);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x553086);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x553086);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x553086);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x553086);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'},_0x553086);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x553086);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x553086);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x553086);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x553086);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x553086);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x553086);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x553086);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'},_0x553086);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x553086);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x553086);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x553086);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x553086);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'},_0x553086);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x553086);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'},_0x553086);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x553086);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x553086);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'},_0x553086);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x553086);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'},_0x553086);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x553086);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x553086);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'},_0x553086);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x553086);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 _0x3f311e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x553086);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3f311e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x553086);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x553086);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'},_0x553086);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'},_0x553086);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'},_0x553086);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3253c4;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54bc2c,_0x14e04f){const _0x461793=_0x450d,_0x1e291d=_0x54bc2c();while(!![]){try{const _0x1c18f1=-parseInt(_0x461793(0x190))/0x1*(-parseInt(_0x461793(0x17c))/0x2)+parseInt(_0x461793(0x169))/0x3+-parseInt(_0x461793(0x176))/0x4*(-parseInt(_0x461793(0x184))/0x5)+parseInt(_0x461793(0x177))/0x6*(-parseInt(_0x461793(0x192))/0x7)+parseInt(_0x461793(0x199))/0x8*(-parseInt(_0x461793(0x197))/0x9)+parseInt(_0x461793(0x164))/0xa+parseInt(_0x461793(0x161))/0xb*(-parseInt(_0x461793(0x198))/0xc);if(_0x1c18f1===_0x14e04f)break;else _0x1e291d['push'](_0x1e291d['shift']());}catch(_0x35bf7b){_0x1e291d['push'](_0x1e291d['shift']());}}}(_0x60d3,0x87764));export function normalizeDescription(_0xc82671){const _0x312eda=_0x450d;return Array[_0x312eda(0x171)](_0xc82671)||(_0xc82671=[_0xc82671]),_0xc82671[_0x312eda(0x18b)](_0x41dccf=>{const _0x5df1fc=_0x312eda,_0x4a13ef=_0x41dccf[_0x5df1fc(0x179)][_0x5df1fc(0x187)](/\*/g,''),_0x4fb524=_0x41dccf[_0x5df1fc(0x181)]?_0x5df1fc(0x16b)+_0x41dccf[_0x5df1fc(0x181)][_0x5df1fc(0x195)]+']':'';return'['+_0x41dccf[_0x5df1fc(0x194)]+']\x20'+_0x4a13ef+_0x4fb524;})[_0x312eda(0x166)](';\x20');}export function renderDescription(_0x5ebf4c,_0x4c8963){const _0x5df60c=_0x450d;let _0x150cff='';return _0x150cff+=_0x5ebf4c[_0x5df60c(0x196)]('*')[_0x5df60c(0x18b)]((_0x2074f7,_0x568743)=>_0x568743%0x2!=0x0?_0x5df60c(0x172)+tn(_0x2074f7)+_0x5df60c(0x18d):tn(_0x2074f7))[_0x5df60c(0x166)](''),_0x4c8963&&(_0x150cff+=_0x5df60c(0x186)+_0x4c8963[_0x5df60c(0x195)]+_0x5df60c(0x16f)+_0x4c8963[_0x5df60c(0x18a)]+_0x5df60c(0x168)),_0x150cff;}function tn(_0x5b31b0){const _0x2422e4=_0x450d,_0x36b0fb=document[_0x2422e4(0x17a)](_0x2422e4(0x162));return _0x36b0fb[_0x2422e4(0x193)]=_0x5b31b0,_0x36b0fb[_0x2422e4(0x16a)];}function _0x450d(_0x2ed697,_0x5dd9dd){const _0x60d3b2=_0x60d3();return _0x450d=function(_0x450d1f,_0x1c779f){_0x450d1f=_0x450d1f-0x161;let _0x376906=_0x60d3b2[_0x450d1f];return _0x376906;},_0x450d(_0x2ed697,_0x5dd9dd);}export function sortSuggestions(_0x2e1763){const _0x4bb440=_0x450d;return _0x2e1763[_0x4bb440(0x185)]((_0x2bcfe2,_0x4d6a5e)=>_0x4bb440(0x175)===_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x175)!==_0x4d6a5e[_0x4bb440(0x194)]?-0x1:_0x4bb440(0x175)!==_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x175)===_0x4d6a5e[_0x4bb440(0x194)]?0x1:_0x4bb440(0x170)==_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x170)!=_0x4d6a5e[_0x4bb440(0x194)]?-0x1:_0x4bb440(0x170)!=_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x170)==_0x4d6a5e[_0x4bb440(0x194)]?0x1:0x0);}export function getSelectedSuggestions(_0x91f369,_0x3aa7c3){const _0x87c96e=_0x450d,_0x5a0e17=Array[_0x87c96e(0x16c)](_0x91f369[_0x87c96e(0x180)]()),_0x1b41a6=new Set();for(const _0x35b376 of _0x3aa7c3)if(_0x35b376[_0x87c96e(0x182)]){for(const _0x28317d of _0x5a0e17)for(const _0x579333 of _0x35b376[_0x87c96e(0x180)]())(_0x28317d[_0x87c96e(0x16e)](_0x579333)||_0x91f369[_0x87c96e(0x17f)]&&!_0x35b376[_0x87c96e(0x174)]&&_0x35b376[_0x87c96e(0x188)]&&_0x579333[_0x87c96e(0x178)][_0x87c96e(0x18f)](_0x28317d[_0x87c96e(0x165)]))&&_0x1b41a6[_0x87c96e(0x17d)](_0x35b376);}return _0x1b41a6;}export function getRangesOfBlockGroups(_0x48b44c,_0x52415c){const _0x3d209f=_0x450d;let _0x5401e7,_0x278270=0x0;const _0x15f63a=[],_0x46a87d=_0x52415c[_0x3d209f(0x167)];for(;_0x278270<_0x48b44c[_0x3d209f(0x191)];){const _0x46814a=_0x48b44c[_0x278270],_0x7eb66a=_0x48b44c[_0x278270+0x1];_0x5401e7||(_0x5401e7=_0x52415c[_0x3d209f(0x163)](_0x46814a)),nn(_0x52415c,_0x46814a,_0x7eb66a)||(_0x15f63a[_0x3d209f(0x189)](_0x52415c[_0x3d209f(0x183)](_0x5401e7,_0x46a87d[_0x3d209f(0x18e)](_0x46814a)?_0x52415c[_0x3d209f(0x16d)](_0x46814a):_0x52415c[_0x3d209f(0x17b)](_0x46814a,_0x3d209f(0x178)))),_0x5401e7=null),_0x278270++;}return _0x15f63a;}function nn(_0x5a5397,_0x1cb105,_0x221208){const _0x523d9b=_0x450d;if(!_0x221208)return!0x1;const _0xef33ba=_0x5a5397[_0x523d9b(0x16d)](_0x1cb105),_0x34c926=_0x5a5397[_0x523d9b(0x163)](_0x221208);return _0xef33ba[_0x523d9b(0x18f)](_0x34c926);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x54e899,_0x2498ff,_0x336f4e){const _0x58cd78=_0x450d;for(;_0x336f4e[_0x58cd78(0x191)];){const _0x24842e=_0x336f4e[_0x58cd78(0x17e)](0x0,0x64);_0x54e899[_0x58cd78(0x18c)](()=>{const _0x4b6da2=_0x58cd78;for(const _0x1e9e51 of _0x24842e)_0x1e9e51[_0x4b6da2(0x182)]&&_0x2498ff[_0x4b6da2(0x173)](_0x1e9e51['id']);});}}function _0x60d3(){const _0x312b13=['length','400757vPWySQ','innerText','type','value','split','471294ZcUfia','144048UZngsW','40kOGLZL','726EwScOf','span','createPositionBefore','2421900gkHdQk','start','join','schema','\x22></span>','2367636qfvJPh','innerHTML','\x20[color\x20','from','createPositionAfter','isIntersecting','\x22\x20title=\x22','deletion','isArray','<span\x20class=\x22ck-suggestion-type\x22>','execute','isMultiRange','attribute','4BXVptm','102OwYrWk','end','content','createElement','createPositionAt','125128nmvJnp','add','splice','isCollapsed','getRanges','color','isInContent','createRange','5251495tbOTXP','sort','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','replace','next','push','title','map','change','</span>','isObject','isTouching','8ssJLzg'];_0x60d3=function(){return _0x312b13;};return _0x60d3();}
|