@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250701.1 → 0.0.0-nightly-20250703.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x89cc10=_0x55a5;(function(_0x1e97fb,_0x3f8dfb){const _0x22a8a5=_0x55a5,_0x4eb405=_0x1e97fb();while(!![]){try{const _0x5a389a=parseInt(_0x22a8a5(0x107))/0x1+-parseInt(_0x22a8a5(0xf8))/0x2*(parseInt(_0x22a8a5(0x109))/0x3)+-parseInt(_0x22a8a5(0xfd))/0x4*(parseInt(_0x22a8a5(0x104))/0x5)+parseInt(_0x22a8a5(0xf7))/0x6*(parseInt(_0x22a8a5(0x108))/0x7)+-parseInt(_0x22a8a5(0x10b))/0x8+-parseInt(_0x22a8a5(0xfa))/0x9+parseInt(_0x22a8a5(0x101))/0xa*(parseInt(_0x22a8a5(0x103))/0xb);if(_0x5a389a===_0x3f8dfb)break;else _0x4eb405['push'](_0x4eb405['shift']());}catch(_0x26b416){_0x4eb405['push'](_0x4eb405['shift']());}}}(_0x2ea3,0x40c87));import{Plugin as _0x5e3935}from'ckeditor5/src/core.js';function _0x2ea3(){const _0x4c3729=['requires','4JqdpaJ','previewFinalContent','isOfficialPlugin','config','20dXUOnu','appendChild','5027781owOTMq','1364605fhcbmx','define','pluginName','409897LystQR','217LbAFLM','1188KfcqnZ','trackChanges.preview.renderFunction','3413232wBYPQA','add','editor','TrackChangesPreview','38154aMdkzZ','244FnRTwr','commands','4571370sNEziR','isPremiumPlugin'];_0x2ea3=function(){return _0x4c3729;};return _0x2ea3();}import{Dialog as _0x5af812}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x14ae42}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3ae60b}from'./commands/previewfinalcontentcommand.js';function _0x55a5(_0x56051b,_0x2c9006){const _0x2ea35b=_0x2ea3();return _0x55a5=function(_0x55a5d5,_0x3c9e15){_0x55a5d5=_0x55a5d5-0xf7;let _0x5d88e4=_0x2ea35b[_0x55a5d5];return _0x5d88e4;},_0x55a5(_0x56051b,_0x2c9006);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x5e3935{static get[_0x89cc10(0xfc)](){return[_0x14ae42,_0x5af812];}static get[_0x89cc10(0x106)](){const _0x2baf3d=_0x89cc10;return _0x2baf3d(0x10e);}static get[_0x89cc10(0xff)](){return!0x0;}static get[_0x89cc10(0xfb)](){return!0x0;}constructor(_0x22827a){const _0x3975f7=_0x89cc10;super(_0x22827a),_0x22827a[_0x3975f7(0xf9)][_0x3975f7(0x10c)](_0x3975f7(0xfe),new _0x3ae60b(this[_0x3975f7(0x10d)])),_0x22827a[_0x3975f7(0x100)][_0x3975f7(0x105)](_0x3975f7(0x10a),(_0x2f9955,_0xcb4c7)=>{const _0x48d265=_0x3975f7;for(const _0x573ff1 of _0xcb4c7)_0x2f9955[_0x48d265(0x102)](_0x573ff1);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x408e4c=_0x457d;(function(_0x223c0b,_0xf08d2f){const _0x4e36ee=_0x457d,_0x2e9a62=_0x223c0b();while(!![]){try{const _0x4f9a5d=-parseInt(_0x4e36ee(0xbe))/0x1*(-parseInt(_0x4e36ee(0xf1))/0x2)+parseInt(_0x4e36ee(0xa5))/0x3+-parseInt(_0x4e36ee(0x10d))/0x4+-parseInt(_0x4e36ee(0xf8))/0x5*(-parseInt(_0x4e36ee(0xf0))/0x6)+parseInt(_0x4e36ee(0x106))/0x7+-parseInt(_0x4e36ee(0x111))/0x8+parseInt(_0x4e36ee(0xfd))/0x9*(-parseInt(_0x4e36ee(0xfa))/0xa);if(_0x4f9a5d===_0xf08d2f)break;else _0x2e9a62['push'](_0x2e9a62['shift']());}catch(_0x5b198e){_0x2e9a62['push'](_0x2e9a62['shift']());}}}(_0x2d01,0x588a8));function _0x457d(_0x3df608,_0x1c2b77){const _0x2d0137=_0x2d01();return _0x457d=function(_0x457db6,_0x35f243){_0x457db6=_0x457db6-0x6b;let _0xba2c5c=_0x2d0137[_0x457db6];return _0xba2c5c;},_0x457d(_0x3df608,_0x1c2b77);}import{Plugin as _0x479c54}from'ckeditor5/src/core.js';import{Collection as _0x17b9bd}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x58458f}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x7a812f,createDropdown as _0x3d7202,ListSeparatorView as _0x6fbee3,MenuBarMenuView as _0x34610d,MenuBarMenuListView as _0x41c482,MenuBarMenuListItemView as _0x258de2,MenuBarMenuListItemButtonView as _0x2b46a2,SplitButtonView as _0x583fb6,UIModel as _0xba1962}from'ckeditor5/src/ui.js';import{Users as _0x1d5884,getDateTimeFormatter as _0x530480,getAllMarkersDomElementsSorted as _0x51f153}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x65496c}from'./trackchangesediting.js';import{SuggestionController as _0x4cbb65}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x57c5f8}from'./ui/view/suggestionthreadview.js';function _0x2d01(){const _0x54f937=['evaluationLimit','getAnnotationForSuggestion','_unbindEditors','SuggestionView','trackChanges.SuggestionView','actionView','getDescriptions','previewFinalContent','discardAllSuggestions','execute','delegate','menu','trialLimit','trackChangesLicenseKeyUsageLimit','_addUIComponentsToFactory','_annotationViews','size','menuBar:trackChanges','previous','hasSuggestion','discardButton','trackChanges.SuggestionThreadView','getFirstRange','model','values','trackChangesLicenseKeyEvaluationLimit','getRanges','trackChangesLicenseKeyDomainLimit','_licenseKeyCheckInterval','listenTo','refreshSelectedViews','Annotations','panelView','Track\x20changes','getMarkerNames','Preview\x20final\x20content','1410SIsAnx','150604bxdeJe','addSourceCollector','locale','get','escape','getJoined','value','1475BqMeHK','trackChangesLicenseKeyValid','2683490DIBiYt','isEnabled','invalid','27KiDhlp','suggestionView','CommentsRepository','trackChangesLicenseKeyInvalid','acceptButton','addMany','commands','_handleControllerBuffer','children','3241119uwrqTc','items','isMultiRange','isInContent','suggestionChanged','_createToolbarButton','view','638108RuTGNT','activeMarkers','comments','isPremiumPlugin','316656yPGTFY','discardSelectedSuggestions','commentsListView','keys','Discard\x20all\x20suggestions','_initializeController','getAllAdjacentSuggestions','Discard\x20all\x20selected\x20suggestions','comments.maxThreadTotalWeight','_handleSuggestionControllerDelayed','trackChanges.disableComments','_suggestionToController','separator','TrackChangesUI','reduce','SuggestionThreadView','remove','delete','editing','_disableComments','suggestionUnloaded','getSuggestion','acceptAllSuggestions','some','fire','_showLicenseError','isDirty','requires','innerView','suggestionLoaded','activeAnnotations','define','add','push','trackChangesLicenseKeyExpired','set','licenseKey','arrowView','TrackChangesPreview','getByInnerView','_destroyController','domainLimit','source','suggestion-','Accept\x20all\x20suggestions','_updateController','trackChanges','length','getSuggestionForAnnotation','createAnnotationView','comments.maxCommentCharsWhenCollapsed','menuitemcheckbox','buttonView','descriptionFactory','from','init','TrackChangesEditing','has','comments.maxCommentsWhenCollapsed','_createMenuBarMenu','featureNotAllowed','EditorAnnotations','type','_bindAnnotationToEditors','change:previous','acceptSelectedSuggestions','head','getMarkers','menuitem','focus','1147998hRhsej','plugins','mainView','trackChangesLicenseKeyNotAllowed','lowest','commandName','_viewToController','isOn','unbind','isOfficialPlugin','registerAnnotation','descriptionParts','usageLimit','switchbutton','_refreshActiveMarkers','commentThread','trackChangesLicenseKeyTrialLimit','CommentsUI','clear','bind','change:activeAnnotations','pluginName','createCommentThreadController','filter','CommentView','6pFKOna','toMany','editor','comments.editorConfig','Accept\x20all\x20selected\x20suggestions','createAnnotation','destroy','stopListening','button','expired','addComment','componentFactory','config','TrackChanges'];_0x2d01=function(){return _0x54f937;};return _0x2d01();}import{SuggestionView as _0x5221a5}from'./ui/view/suggestionview.js';import{getTranslation as _0x58a830}from'./utils/common-translations.js';export class TrackChangesUI extends _0x479c54{[_0x408e4c(0x83)];[_0x408e4c(0xe8)];[_0x408e4c(0x11c)];[_0x408e4c(0xab)];[_0x408e4c(0xdb)];[_0x408e4c(0x104)];[_0x408e4c(0x72)];static get[_0x408e4c(0x7a)](){const _0x3e14ba=_0x408e4c;return[_0x65496c,_0x1d5884,_0x3e14ba(0xff),_0x3e14ba(0xeb),_0x3e14ba(0x9c)];}static get[_0x408e4c(0xba)](){const _0x289f34=_0x408e4c;return _0x289f34(0x6c);}static get[_0x408e4c(0xae)](){return!0x0;}static get[_0x408e4c(0x110)](){return!0x0;}constructor(_0x5744c7){const _0x15394e=_0x408e4c;super(_0x5744c7),this[_0x15394e(0x11c)]=new Map(),this[_0x15394e(0xab)]=new Map(),this[_0x15394e(0xdb)]=new Map(),this[_0x15394e(0x104)]=new Map();const _0x377639=this[_0x15394e(0xc0)][_0x15394e(0xca)];_0x377639[_0x15394e(0x7e)](_0x15394e(0xe1),_0x57c5f8),_0x377639[_0x15394e(0x7e)](_0x15394e(0xd0),_0x5221a5),_0x377639[_0x15394e(0x7e)](_0x15394e(0x11b),!0x1),this[_0x15394e(0x72)]=_0x377639[_0x15394e(0xf4)](_0x15394e(0x11b));}[_0x408e4c(0x11a)](_0x3612b6,_0x208647){const _0xcc8c43=_0x408e4c;0x0===this[_0xcc8c43(0x104)][_0xcc8c43(0xdc)]&&setTimeout(()=>{const _0x182d9e=_0xcc8c43;for(const [_0x452b4d,_0x40982a]of this[_0x182d9e(0x104)]){const _0x3500ef=this[_0x182d9e(0x11c)][_0x182d9e(0x98)](_0x452b4d);_0x3500ef||_0x40982a?_0x3500ef&&_0x40982a&&this[_0x182d9e(0x87)](_0x452b4d):this[_0x182d9e(0x116)](_0x452b4d);}this[_0x182d9e(0x104)][_0x182d9e(0xb7)](),this[_0x182d9e(0xc0)][_0x182d9e(0xa6)][_0x182d9e(0xf4)](_0x182d9e(0x9c))[_0x182d9e(0xea)](),this[_0x182d9e(0xb3)]();},0xa),this[_0xcc8c43(0x104)][_0xcc8c43(0x82)](_0x3612b6,_0x208647);}[_0x408e4c(0x96)](){const _0x21e7e0=_0x408e4c,_0x30e5b8=this[_0x21e7e0(0xc0)],_0x592b53=_0x30e5b8[_0x21e7e0(0xa6)][_0x21e7e0(0xf4)](_0x21e7e0(0x97)),_0x52dcd3=_0x30e5b8[_0x21e7e0(0xa6)][_0x21e7e0(0xf4)](_0x21e7e0(0xeb)),_0x5b8cba=_0x30e5b8[_0x21e7e0(0xa6)][_0x21e7e0(0xf4)](_0x21e7e0(0x9c)),_0x370548=_0x30e5b8[_0x21e7e0(0xa6)][_0x21e7e0(0xf4)](_0x21e7e0(0xff));this[_0x21e7e0(0xda)](),_0x5b8cba[_0x21e7e0(0xf2)](()=>{const _0x520d62=_0x21e7e0,_0x3c5c48=[];for(const [_0x4b9ed3,_0x9c83]of Array[_0x520d62(0x95)](this[_0x520d62(0x11c)])){const _0x57a94f=_0x4b9ed3[_0x520d62(0x117)](),_0xa68f23=[];for(const _0x42722c of _0x57a94f){if(!_0x42722c[_0x520d62(0x109)])continue;if(_0x42722c[_0x520d62(0x108)]){_0xa68f23[_0x520d62(0x80)](..._0x42722c[_0x520d62(0xe6)]());continue;}const _0x34c369=_0x42722c[_0x520d62(0xe2)]();if(_0xa68f23[_0x520d62(0x8e)]>0x0){const _0x253ed5=_0xa68f23[0x0][_0x520d62(0xf6)](_0x34c369);if(_0x253ed5){_0xa68f23[0x0]=_0x253ed5;continue;}}_0xa68f23[_0x520d62(0x80)](_0x34c369);}_0x3c5c48[_0x520d62(0x80)]([_0x9c83[_0x520d62(0x10c)],_0xa68f23]);}return _0x3c5c48;}),this[_0x21e7e0(0xe9)](_0x592b53,_0x21e7e0(0x7c),(_0x126e36,_0x93b85f)=>{const _0x1424ef=_0x21e7e0;this[_0x1424ef(0xe9)](_0x93b85f,_0x1424ef(0x9f),(_0x4e74e1,_0x4df261,_0x350a6b,_0x4a896c)=>{const _0x3abac1=_0x1424ef;_0x93b85f[_0x3abac1(0x109)]&&(null==_0x350a6b?(this[_0x3abac1(0x8c)](_0x4a896c[_0x3abac1(0xa1)]),this[_0x3abac1(0x11a)](_0x93b85f,!0x1)):(this[_0x3abac1(0x8c)](_0x350a6b[_0x3abac1(0xa1)]),null==_0x4a896c&&this[_0x3abac1(0x11a)](_0x93b85f,!0x0)));}),null!==_0x93b85f[_0x1424ef(0xde)]?this[_0x1424ef(0x8c)](_0x93b85f[_0x1424ef(0xa1)]):this[_0x1424ef(0x11a)](_0x93b85f,!0x1);}),this[_0x21e7e0(0xe9)](_0x592b53,_0x21e7e0(0x73),(_0x80dce1,_0x51e0a3,_0x2b327e)=>{const _0x591a24=_0x21e7e0;this[_0x591a24(0xc5)](_0x51e0a3,_0x591a24(0x9f)),this[_0x591a24(0x104)][_0x591a24(0x70)](_0x51e0a3),this[_0x591a24(0x11c)][_0x591a24(0x98)](_0x51e0a3)&&this[_0x591a24(0x87)](_0x51e0a3),_0x2b327e&&this[_0x591a24(0x8c)](_0x2b327e[_0x591a24(0xa1)]);}),this[_0x21e7e0(0xe9)](_0x592b53,_0x21e7e0(0x10a),(_0x594d00,_0x4bdb19)=>{const _0x205b69=_0x21e7e0;this[_0x205b69(0x8c)](_0x4bdb19);}),this[_0x21e7e0(0xe9)](_0x52dcd3,_0x21e7e0(0xb9),()=>{const _0x181a2b=_0x21e7e0;this[_0x181a2b(0xb3)]();}),this[_0x21e7e0(0xe9)](_0x370548,_0x21e7e0(0xc8),(_0x36b0e3,{threadId:_0x1e160c,isFromAdapter:_0x11f9c0})=>{const _0x52dd7c=_0x21e7e0;if(_0x11f9c0||!_0x592b53[_0x52dd7c(0xdf)](_0x1e160c))return;const _0x4d59f2=_0x592b53[_0x52dd7c(0x74)](_0x1e160c);this[_0x52dd7c(0x11c)][_0x52dd7c(0xf4)](_0x4d59f2)[_0x52dd7c(0x10c)][_0x52dd7c(0x113)][_0x52dd7c(0xa4)](-0x1);},{'priority':_0x21e7e0(0xa9)}),this[_0x21e7e0(0x83)]=this[_0x21e7e0(0xc0)][_0x21e7e0(0xca)][_0x21e7e0(0xf4)](_0x21e7e0(0x83));const _0x894cb6=this[_0x21e7e0(0xc0)];this[_0x21e7e0(0xe8)]=setInterval(()=>{const _0x2b0b03=_0x21e7e0;let _0x5b3b30;for(const _0x38f8f9 in _0x894cb6){const _0x33acf5=_0x38f8f9,_0xf4c6be=_0x894cb6[_0x33acf5];if(_0x2b0b03(0xf9)==_0xf4c6be||_0x2b0b03(0x100)==_0xf4c6be||_0x2b0b03(0x81)==_0xf4c6be||_0x2b0b03(0xe7)==_0xf4c6be||_0x2b0b03(0xa8)==_0xf4c6be||_0x2b0b03(0xe5)==_0xf4c6be||_0x2b0b03(0xb5)==_0xf4c6be||_0x2b0b03(0xd9)==_0xf4c6be){delete _0x894cb6[_0x33acf5],_0x5b3b30=_0xf4c6be,clearInterval(this[_0x2b0b03(0xe8)]),this[_0x2b0b03(0xe8)]=void 0x0;break;}}_0x2b0b03(0x100)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0xfc)),_0x2b0b03(0x81)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0xc7)),_0x2b0b03(0xe7)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0x88)),_0x2b0b03(0xa8)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0x9b),_0x2b0b03(0xcb)),_0x2b0b03(0xe5)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0xcc)),_0x2b0b03(0xb5)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0xd8)),_0x2b0b03(0xd9)==_0x5b3b30&&_0x894cb6[_0x2b0b03(0x78)](_0x2b0b03(0xb1));},0x3e8);}[_0x408e4c(0xcd)](_0x23b9b7){const _0x3e1d27=_0x408e4c,_0x133c7b=this[_0x3e1d27(0x11c)][_0x3e1d27(0xf4)](_0x23b9b7);if(!_0x133c7b)return null;return this[_0x3e1d27(0xc0)][_0x3e1d27(0xa6)][_0x3e1d27(0xf4)](_0x3e1d27(0xeb))[_0x3e1d27(0x86)](_0x133c7b[_0x3e1d27(0x10c)])||null;}[_0x408e4c(0x8f)](_0x19ed59){const _0x2018ac=_0x408e4c,_0x38a22b=this[_0x2018ac(0xab)][_0x2018ac(0xf4)](_0x19ed59[_0x2018ac(0x7b)]);return _0x38a22b?_0x38a22b[_0x2018ac(0xe3)]:null;}[_0x408e4c(0xb3)](){const _0x10a090=_0x408e4c,_0x5434f6=this[_0x10a090(0xc0)][_0x10a090(0xa6)][_0x10a090(0xf4)](_0x10a090(0xeb)),_0x416029=this[_0x10a090(0xc0)][_0x10a090(0xa6)][_0x10a090(0xf4)](_0x10a090(0x97)),_0x4c93fa=Array[_0x10a090(0x95)](_0x5434f6[_0x10a090(0x7d)],_0x182396=>_0x182396[_0x10a090(0x7b)])[_0x10a090(0xbc)](_0xc2702d=>this[_0x10a090(0xab)][_0x10a090(0x98)](_0xc2702d)),_0x313cef=[];for(const _0x308a55 of _0x4c93fa){const _0x5d31d9=this[_0x10a090(0xab)][_0x10a090(0xf4)](_0x308a55)[_0x10a090(0xe3)][_0x10a090(0x117)]();_0x313cef[_0x10a090(0x80)](..._0x5d31d9[_0x10a090(0x6d)]((_0x3f4edd,_0x4f9d86)=>[..._0x3f4edd,..._0x4f9d86[_0x10a090(0xee)]()],[]));}_0x416029[_0x10a090(0x10e)]=_0x313cef;}[_0x408e4c(0xda)](){const _0x1685d6=_0x408e4c,_0x2b055b=this[_0x1685d6(0xc0)],_0x345c9e=_0x2b055b[_0x1685d6(0xf3)],_0x2b0e52=_0x58a830(_0x345c9e,_0x1685d6(0xed)),_0x106f2a=new _0x17b9bd([{'type':_0x1685d6(0xb2),'model':new _0xba1962({'withText':!0x0,'isToggleable':!0x0,'label':_0x2b0e52,'commandName':_0x1685d6(0x8d),'role':_0x1685d6(0x92)})},{'type':_0x1685d6(0x6b)},{'type':_0x1685d6(0xc6),'model':new _0xba1962({'withText':!0x0,'label':_0x58a830(_0x345c9e,_0x1685d6(0x8b)),'commandName':_0x1685d6(0x75),'role':_0x1685d6(0xa3)})},{'type':_0x1685d6(0xc6),'model':new _0xba1962({'withText':!0x0,'label':_0x58a830(_0x345c9e,_0x1685d6(0xc2)),'commandName':_0x1685d6(0xa0),'role':_0x1685d6(0xa3)})},{'type':_0x1685d6(0xc6),'model':new _0xba1962({'withText':!0x0,'label':_0x58a830(_0x345c9e,_0x1685d6(0x115)),'commandName':_0x1685d6(0xd4),'role':_0x1685d6(0xa3)})},{'type':_0x1685d6(0xc6),'model':new _0xba1962({'withText':!0x0,'label':_0x58a830(_0x345c9e,_0x1685d6(0x118)),'commandName':_0x1685d6(0x112),'role':_0x1685d6(0xa3)})}]);_0x2b055b[_0x1685d6(0xa6)][_0x1685d6(0x98)](_0x1685d6(0x85))&&_0x106f2a[_0x1685d6(0x102)]([{'type':_0x1685d6(0x6b)},{'type':_0x1685d6(0xc6),'model':new _0xba1962({'withText':!0x0,'label':_0x58a830(_0x345c9e,_0x1685d6(0xef)),'commandName':_0x1685d6(0xd3),'role':_0x1685d6(0xa3)})}]);for(const _0x497747 of _0x106f2a)if(ke(_0x497747)){const _0x26e793=_0x2b055b[_0x1685d6(0x103)][_0x1685d6(0xf4)](_0x497747[_0x1685d6(0xe3)][_0x1685d6(0xaa)]);_0x497747[_0x1685d6(0xe3)][_0x1685d6(0xb8)](_0x1685d6(0xac),_0x1685d6(0xfb))['to'](_0x26e793,_0x1685d6(0xf7),_0x1685d6(0xfb));}_0x2b055b['ui'][_0x1685d6(0xc9)][_0x1685d6(0x7f)](_0x1685d6(0x8d),_0x5274bb=>this[_0x1685d6(0x10b)](_0x5274bb,_0x106f2a,_0x2b0e52)),_0x2b055b['ui'][_0x1685d6(0xc9)][_0x1685d6(0x7f)](_0x1685d6(0xdd),_0x2f297f=>this[_0x1685d6(0x9a)](_0x2f297f,_0x106f2a,_0x2b0e52));}[_0x408e4c(0x10b)](_0x23afc3,_0x1a0f79,_0x114008){const _0x135e9e=_0x408e4c,_0x1f2bf1=_0x3d7202(_0x23afc3,_0x583fb6),_0x2b31cf=this[_0x135e9e(0xc0)][_0x135e9e(0x103)][_0x135e9e(0xf4)](_0x135e9e(0x8d));_0x1f2bf1[_0x135e9e(0x93)][_0x135e9e(0x82)]({'tooltip':_0x114008,'label':_0x114008,'icon':_0x58458f}),_0x1f2bf1[_0x135e9e(0x93)][_0x135e9e(0xb8)](_0x135e9e(0xac))['to'](_0x2b31cf,_0x135e9e(0xf7)),_0x1f2bf1[_0x135e9e(0x93)]['on'](_0x135e9e(0xd5),()=>{const _0x3b6f34=_0x135e9e;_0x2b31cf[_0x3b6f34(0xd5)](),this[_0x3b6f34(0xc0)][_0x3b6f34(0x71)][_0x3b6f34(0x10c)][_0x3b6f34(0xa4)]();}),_0x7a812f(_0x1f2bf1,_0x1a0f79,{'role':_0x135e9e(0xd7)});const _0x4e4fe5=[];for(const _0x4e631b of _0x1a0f79)ke(_0x4e631b)&&_0x4e4fe5[_0x135e9e(0x80)](this[_0x135e9e(0xc0)][_0x135e9e(0x103)][_0x135e9e(0xf4)](_0x4e631b[_0x135e9e(0xe3)][_0x135e9e(0xaa)]));const _0x35e677=_0x1f2bf1[_0x135e9e(0x93)];return _0x35e677[_0x135e9e(0xd1)][_0x135e9e(0xad)](_0x135e9e(0xfb)),_0x35e677[_0x135e9e(0x84)][_0x135e9e(0xad)](_0x135e9e(0xfb)),_0x35e677[_0x135e9e(0xd1)][_0x135e9e(0xb8)](_0x135e9e(0xfb))['to'](_0x2b31cf,_0x135e9e(0xfb)),_0x35e677[_0x135e9e(0x84)][_0x135e9e(0xb8)](_0x135e9e(0xfb))[_0x135e9e(0xbf)](_0x4e4fe5,_0x135e9e(0xfb),(..._0x27777f)=>_0x27777f[_0x135e9e(0x76)](_0x5ca7ee=>_0x5ca7ee)),_0x1f2bf1['on'](_0x135e9e(0xd5),_0x293bfa=>{const _0x64cc80=_0x135e9e;this[_0x64cc80(0xc0)][_0x64cc80(0xd5)](_0x293bfa[_0x64cc80(0x89)][_0x64cc80(0xaa)]),this[_0x64cc80(0xc0)][_0x64cc80(0x71)][_0x64cc80(0x10c)][_0x64cc80(0xa4)]();}),_0x1f2bf1;}[_0x408e4c(0x9a)](_0x2d0410,_0x3d8812,_0x16e315){const _0x32800f=_0x408e4c,_0x546d85=new _0x34610d(_0x2d0410),_0x5d7020=this[_0x32800f(0xc0)][_0x32800f(0x103)][_0x32800f(0xf4)](_0x32800f(0x8d));_0x546d85[_0x32800f(0x93)][_0x32800f(0x82)]({'label':_0x16e315,'icon':_0x58458f});const _0x520486=new _0x41c482(_0x2d0410);for(const _0x283769 of _0x3d8812){if(_0x32800f(0x6b)==_0x283769[_0x32800f(0x9d)]){_0x520486[_0x32800f(0x107)][_0x32800f(0x7f)](new _0x6fbee3(_0x2d0410));continue;}const _0x270c0b=new _0x258de2(_0x2d0410,_0x546d85),_0x3c692d=new _0x2b46a2(_0x2d0410),_0x38d415=_0x283769[_0x32800f(0xe3)];_0x3c692d[_0x32800f(0xb8)](...Object[_0x32800f(0x114)](_0x38d415))['to'](_0x38d415),_0x3c692d[_0x32800f(0xd6)](_0x32800f(0xd5))['to'](_0x546d85),_0x3c692d['on'](_0x32800f(0xd5),()=>{const _0x5422b4=_0x32800f;this[_0x5422b4(0xc0)][_0x5422b4(0xd5)](_0x38d415[_0x5422b4(0xaa)]),this[_0x5422b4(0xc0)][_0x5422b4(0x71)][_0x5422b4(0x10c)][_0x5422b4(0xa4)]();}),_0x270c0b[_0x32800f(0x105)][_0x32800f(0x7f)](_0x3c692d),_0x520486[_0x32800f(0x107)][_0x32800f(0x7f)](_0x270c0b);}return _0x546d85[_0x32800f(0xb8)](_0x32800f(0xfb))['to'](_0x5d7020,_0x32800f(0xfb)),_0x546d85[_0x32800f(0xec)][_0x32800f(0x105)][_0x32800f(0x7f)](_0x520486),_0x546d85;}[_0x408e4c(0x116)](_0x5ad2cd){const _0x1aa344=_0x408e4c,_0x4886f4=this[_0x1aa344(0xc0)],_0xea5919=_0x4886f4[_0x1aa344(0xca)],_0x55d322=_0x4886f4[_0x1aa344(0xa6)][_0x1aa344(0xf4)](_0x1aa344(0xeb)),_0x4ca5c8=_0x4886f4[_0x1aa344(0xa6)][_0x1aa344(0xf4)](_0x1aa344(0xff)),_0x5319b=_0x4886f4[_0x1aa344(0xa6)][_0x1aa344(0xf4)](_0x1aa344(0x9c)),_0x504950=_0x4886f4[_0x1aa344(0xa6)][_0x1aa344(0xf4)](_0x1d5884)['me'],_0x56aef5=_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x8d))[_0x1aa344(0x6e)],_0x5ed71c=_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x8d))[_0x1aa344(0xcf)],{CommentsListView:_0xbb306a,CommentThreadInputView:_0x4920a1}=_0x4886f4[_0x1aa344(0xa6)][_0x1aa344(0xf4)](_0x1aa344(0xb6));let _0x469beb,_0x396320,_0x23aa0b;this[_0x1aa344(0xdb)][_0x1aa344(0x98)](_0x5ad2cd['id'])?(_0x396320=this[_0x1aa344(0xdb)][_0x1aa344(0xf4)](_0x5ad2cd['id']),_0x469beb=_0x396320[_0x1aa344(0xa7)]):(_0x469beb=new _0x56aef5(_0x4886f4[_0x1aa344(0xf3)],_0x5ad2cd,_0x504950,{'disableComments':this[_0x1aa344(0x72)],'editorConfig':{..._0xea5919[_0x1aa344(0xf4)](_0x1aa344(0xc1)),'licenseKey':_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x83))},'maxCommentsWhenCollapsed':_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x99)),'maxThreadTotalWeight':_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x119)),'maxCommentCharsWhenCollapsed':_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x91)),'formatDateTime':_0x530480(_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0xf3)),_0x4886f4[_0x1aa344(0xf3)]),'CommentView':_0xea5919[_0x1aa344(0xf4)](_0x1aa344(0x10f))[_0x1aa344(0xbd)],'CommentsListView':_0xbb306a,'CommentThreadInputView':_0x4920a1,'SuggestionView':_0x5ed71c}),_0x469beb[_0x1aa344(0xfe)][_0x1aa344(0x101)]['on'](_0x1aa344(0xd5),()=>{const _0x33ac35=_0x1aa344;_0x4886f4[_0x33ac35(0x71)][_0x33ac35(0x10c)][_0x33ac35(0xa4)]();}),_0x469beb[_0x1aa344(0xfe)][_0x1aa344(0xe0)]['on'](_0x1aa344(0xd5),()=>{const _0x28801a=_0x1aa344;_0x4886f4[_0x28801a(0x71)][_0x28801a(0x10c)][_0x28801a(0xa4)]();}),_0x396320=_0x55d322[_0x1aa344(0x90)](this[_0x1aa344(0xc0)][_0x1aa344(0xf3)],_0x469beb),_0x396320[_0x1aa344(0xb8)](_0x1aa344(0x79))['to'](_0x469beb,_0x1aa344(0x79)),_0x396320[_0x1aa344(0xb8)](_0x1aa344(0x8e))['to'](_0x469beb),_0x396320[_0x1aa344(0xb8)](_0x1aa344(0x9d))['to'](_0x469beb,_0x1aa344(0x9d),_0x30cc17=>_0x1aa344(0x8a)+_0x30cc17),_0x469beb['on'](_0x1aa344(0xf5),()=>{const _0x2339ab=_0x1aa344;_0x23aa0b[_0x2339ab(0x77)](_0x2339ab(0xf5));}),this[_0x1aa344(0xdb)][_0x1aa344(0x82)](_0x5ad2cd['id'],_0x396320));const _0x3443ed=_0x4ca5c8[_0x1aa344(0xbb)](_0x5ad2cd[_0x1aa344(0xb4)],_0x469beb),_0x535c0e=new _0x4cbb65(_0x4886f4,_0x5ad2cd,_0x469beb,_0x3443ed),_0x5a9327=_0x5ad2cd[_0x1aa344(0x117)]()[_0x1aa344(0xbc)](_0x2a4aaf=>_0x2a4aaf[_0x1aa344(0x109)]);_0x469beb[_0x1aa344(0xb0)]=_0x4886f4[_0x1aa344(0xa6)][_0x1aa344(0xf4)](_0x1aa344(0x97))[_0x1aa344(0x94)][_0x1aa344(0xd2)](_0x5a9327),this[_0x1aa344(0x11c)][_0x1aa344(0x82)](_0x5ad2cd,_0x535c0e),this[_0x1aa344(0xab)][_0x1aa344(0x82)](_0x469beb,_0x535c0e),_0x23aa0b=_0x55d322[_0x1aa344(0xc3)]({'view':_0x396320,'target':()=>{const _0x74f55a=_0x1aa344,_0x377af4=[],_0x44d2ac=_0x5ad2cd[_0x74f55a(0x117)]()[_0x74f55a(0xbc)](_0x4a3f75=>_0x4a3f75[_0x74f55a(0x109)]);for(const _0x305fbc of _0x44d2ac)_0x377af4[_0x74f55a(0x80)](..._0x305fbc[_0x74f55a(0xa2)]());return _0x51f153(_0x4886f4[_0x74f55a(0x71)],_0x377af4);},'type':()=>_0x1aa344(0x8a)+_0x535c0e[_0x1aa344(0x10c)][_0x1aa344(0x9d)]}),_0x4ca5c8[_0x1aa344(0x9e)](_0x469beb,_0x23aa0b),_0x55d322[_0x1aa344(0x7f)](_0x23aa0b),_0x5319b[_0x1aa344(0xaf)](_0x23aa0b);}[_0x408e4c(0x87)](_0x37eeb7){const _0x1e1b6d=_0x408e4c,_0x5c7e92=this[_0x1e1b6d(0xc0)][_0x1e1b6d(0xa6)][_0x1e1b6d(0xf4)](_0x1e1b6d(0xff)),_0x582118=this[_0x1e1b6d(0xc0)][_0x1e1b6d(0xa6)][_0x1e1b6d(0xf4)](_0x1e1b6d(0xeb)),_0x56fbca=this[_0x1e1b6d(0x11c)][_0x1e1b6d(0xf4)](_0x37eeb7),_0x304890=_0x56fbca[_0x1e1b6d(0x10c)],_0x4b1723=_0x582118[_0x1e1b6d(0x86)](_0x304890);_0x5c7e92[_0x1e1b6d(0xce)](_0x304890),_0x4b1723&&_0x582118[_0x1e1b6d(0x6f)](_0x4b1723),this[_0x1e1b6d(0x11c)][_0x1e1b6d(0x70)](_0x37eeb7),this[_0x1e1b6d(0xab)][_0x1e1b6d(0x70)](_0x304890),_0x56fbca[_0x1e1b6d(0xc4)]();}[_0x408e4c(0x8c)](_0x169932){const _0x32fd4e=_0x408e4c;if(!_0x169932[_0x32fd4e(0x109)]||!this[_0x32fd4e(0x11c)][_0x32fd4e(0x98)](_0x169932))return;const _0xfcb0a5=this[_0x32fd4e(0xc0)][_0x32fd4e(0xa6)][_0x32fd4e(0xf4)](_0x32fd4e(0x97)),_0x5ae4f6=this[_0x32fd4e(0x11c)][_0x32fd4e(0xf4)](_0x169932),_0x589817=_0x169932[_0x32fd4e(0x117)]();_0x5ae4f6[_0x32fd4e(0x10c)][_0x32fd4e(0xb0)]=_0xfcb0a5[_0x32fd4e(0x94)][_0x32fd4e(0xd2)](_0x589817);}[_0x408e4c(0xc4)](){const _0x276adc=_0x408e4c;for(const _0xf60cf8 of this[_0x276adc(0x11c)][_0x276adc(0x114)]())this[_0x276adc(0x87)](_0xf60cf8);for(const _0x92df20 of this[_0x276adc(0xdb)][_0x276adc(0xe4)]())_0x92df20[_0x276adc(0xa7)][_0x276adc(0xc4)]();super[_0x276adc(0xc4)](),this[_0x276adc(0xe8)]&&clearInterval(this[_0x276adc(0xe8)]);}}function ke(_0x1e1449){const _0x361ca3=_0x408e4c;return _0x361ca3(0xe3)in _0x1e1449;}
|
|
23
|
+
const _0x1cb4bc=_0x5cf9;(function(_0x172fbf,_0x55bd6c){const _0x191e18=_0x5cf9,_0x562d8c=_0x172fbf();while(!![]){try{const _0x595a65=parseInt(_0x191e18(0xf9))/0x1+parseInt(_0x191e18(0xb9))/0x2*(-parseInt(_0x191e18(0x124))/0x3)+-parseInt(_0x191e18(0x127))/0x4+parseInt(_0x191e18(0x123))/0x5+-parseInt(_0x191e18(0x8e))/0x6+parseInt(_0x191e18(0xf5))/0x7*(parseInt(_0x191e18(0xb5))/0x8)+parseInt(_0x191e18(0xb0))/0x9;if(_0x595a65===_0x55bd6c)break;else _0x562d8c['push'](_0x562d8c['shift']());}catch(_0x4aa317){_0x562d8c['push'](_0x562d8c['shift']());}}}(_0x33ba,0x8d8f2));import{Plugin as _0x57a57f}from'ckeditor5/src/core.js';import{Collection as _0x165abe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x48b06d}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5da97d,createDropdown as _0x487b3b,ListSeparatorView as _0x3d526a,MenuBarMenuView as _0xa27514,MenuBarMenuListView as _0x5bc66c,MenuBarMenuListItemView as _0x99bf61,MenuBarMenuListItemButtonView as _0x1e035e,SplitButtonView as _0x31f9cc,UIModel as _0x1dedf1}from'ckeditor5/src/ui.js';import{Users as _0x5b2fe0,getDateTimeFormatter as _0x392bb7,getAllMarkersDomElementsSorted as _0x2fda86}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x3f590d}from'./trackchangesediting.js';import{SuggestionController as _0x4738a8}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x58a489}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x82b21b}from'./ui/view/suggestionview.js';import{getTranslation as _0x154dfc}from'./utils/common-translations.js';function _0x33ba(){const _0x72efc5=['refreshSelectedViews','editor','comments.maxCommentsWhenCollapsed','mainView','unbind','_unbindEditors','buttonView','TrackChangesUI','previewFinalContent','arrowView','fire','source','execute','lowest','4627698RYJPEY','trackChangesLicenseKeyValid','_handleControllerBuffer','Preview\x20final\x20content','stopListening','EditorAnnotations','change:activeAnnotations','has','isDirty','CommentsRepository','trackChangesLicenseKeyUsageLimit','model','toMany','isMultiRange','licenseKey','_licenseKeyCheckInterval','Discard\x20all\x20selected\x20suggestions','items','getAnnotationForSuggestion','focus','trackChanges','componentFactory','getRanges','from','descriptionFactory','listenTo','evaluationLimit','invalid','getJoined','isInContent','trackChanges.SuggestionThreadView','_viewToController','domainLimit','type','949653LUMgry','comments.editorConfig','_annotationViews','menuitem','TrackChanges','3688YDsHfK','trackChangesLicenseKeyTrialLimit','getDescriptions','comments.maxCommentCharsWhenCollapsed','746XXyWlC','remove','value','clear','CommentView','createCommentThreadController','reduce','delegate','getAllAdjacentSuggestions','commands','view','SuggestionView','hasSuggestion','_destroyController','separator','actionView','comments.maxThreadTotalWeight','config','_refreshActiveMarkers','_createToolbarButton','getMarkers','SuggestionThreadView','delete','TrackChangesPreview','discardSelectedSuggestions','size','CommentsUI','length','trackChanges.disableComments','trackChangesLicenseKeyDomainLimit','plugins','push','trackChangesLicenseKeyInvalid','_suggestionToController','_showLicenseError','comments','commandName','escape','children','isPremiumPlugin','suggestion-','Annotations','filter','change:previous','panelView','discardAllSuggestions','isEnabled','registerAnnotation','head','acceptButton','descriptionParts','getByInnerView','acceptAllSuggestions','init','pluginName','_disableComments','keys','get','activeMarkers','_initializeController','12054AjtmVG','getSuggestion','usageLimit','Accept\x20all\x20selected\x20suggestions','553027BZEZJr','locale','requires','addSourceCollector','bind','define','trackChanges.SuggestionView','suggestionView','_createMenuBarMenu','menuBar:trackChanges','button','trialLimit','trackChangesLicenseKeyExpired','isOn','Discard\x20all\x20suggestions','getMarkerNames','acceptSelectedSuggestions','activeAnnotations','menu','Accept\x20all\x20suggestions','some','destroy','discardButton','getFirstRange','TrackChangesEditing','_addUIComponentsToFactory','trackChangesLicenseKeyEvaluationLimit','createAnnotationView','set','previous','suggestionUnloaded','commentThread','_bindAnnotationToEditors','createAnnotation','getSuggestionForAnnotation','values','expired','isOfficialPlugin','trackChangesLicenseKeyNotAllowed','innerView','editing','add','2321825JjdJmY','3747raYVij','_updateController','featureNotAllowed','399060elcnQk','Track\x20changes','addComment','addMany','suggestionLoaded','switchbutton','_handleSuggestionControllerDelayed','menuitemcheckbox','suggestionChanged','commentsListView'];_0x33ba=function(){return _0x72efc5;};return _0x33ba();}function _0x5cf9(_0x55263d,_0x457766){const _0x33bab5=_0x33ba();return _0x5cf9=function(_0x5cf9ce,_0x36fd69){_0x5cf9ce=_0x5cf9ce-0x7d;let _0x2d2d59=_0x33bab5[_0x5cf9ce];return _0x2d2d59;},_0x5cf9(_0x55263d,_0x457766);}export class TrackChangesUI extends _0x57a57f{[_0x1cb4bc(0x9c)];[_0x1cb4bc(0x9d)];[_0x1cb4bc(0xda)];[_0x1cb4bc(0xad)];[_0x1cb4bc(0xb2)];[_0x1cb4bc(0x90)];[_0x1cb4bc(0xf0)];static get[_0x1cb4bc(0xfb)](){const _0x20f219=_0x1cb4bc;return[_0x3f590d,_0x5b2fe0,_0x20f219(0x97),_0x20f219(0xe2),_0x20f219(0x93)];}static get[_0x1cb4bc(0xef)](){const _0x28f82d=_0x1cb4bc;return _0x28f82d(0x87);}static get[_0x1cb4bc(0x11e)](){return!0x0;}static get[_0x1cb4bc(0xe0)](){return!0x0;}constructor(_0x4ce4f0){const _0x5eecd5=_0x1cb4bc;super(_0x4ce4f0),this[_0x5eecd5(0xda)]=new Map(),this[_0x5eecd5(0xad)]=new Map(),this[_0x5eecd5(0xb2)]=new Map(),this[_0x5eecd5(0x90)]=new Map();const _0x4fa184=this[_0x5eecd5(0x81)][_0x5eecd5(0xca)];_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xac),_0x58a489),_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xff),_0x82b21b),_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xd5),!0x1),this[_0x5eecd5(0xf0)]=_0x4fa184[_0x5eecd5(0xf2)](_0x5eecd5(0xd5));}[_0x1cb4bc(0x12d)](_0x362310,_0x286f7f){const _0x51f7bf=_0x1cb4bc;0x0===this[_0x51f7bf(0x90)][_0x51f7bf(0xd2)]&&setTimeout(()=>{const _0x13a4e1=_0x51f7bf;for(const [_0x5194e9,_0x2bfb4f]of this[_0x13a4e1(0x90)]){const _0x3ede1a=this[_0x13a4e1(0xda)][_0x13a4e1(0x95)](_0x5194e9);_0x3ede1a||_0x2bfb4f?_0x3ede1a&&_0x2bfb4f&&this[_0x13a4e1(0xc6)](_0x5194e9):this[_0x13a4e1(0xf4)](_0x5194e9);}this[_0x13a4e1(0x90)][_0x13a4e1(0xbc)](),this[_0x13a4e1(0x81)][_0x13a4e1(0xd7)][_0x13a4e1(0xf2)](_0x13a4e1(0x93))[_0x13a4e1(0x80)](),this[_0x13a4e1(0xcb)]();},0xa),this[_0x51f7bf(0x90)][_0x51f7bf(0x115)](_0x362310,_0x286f7f);}[_0x1cb4bc(0xee)](){const _0x4a8a1e=_0x1cb4bc,_0xf3acad=this[_0x4a8a1e(0x81)],_0x3b444d=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x111)),_0x58f8a2=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0xe2)),_0x5107fc=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x93)),_0x5cb57a=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x97));this[_0x4a8a1e(0x112)](),_0x5107fc[_0x4a8a1e(0xfc)](()=>{const _0x3ae0a5=_0x4a8a1e,_0x2e574c=[];for(const [_0x114fd7,_0x1cdd26]of Array[_0x3ae0a5(0xa5)](this[_0x3ae0a5(0xda)])){const _0x3d80d2=_0x114fd7[_0x3ae0a5(0xc1)](),_0x57c7e3=[];for(const _0x398fa1 of _0x3d80d2){if(!_0x398fa1[_0x3ae0a5(0xab)])continue;if(_0x398fa1[_0x3ae0a5(0x9b)]){_0x57c7e3[_0x3ae0a5(0xd8)](..._0x398fa1[_0x3ae0a5(0xa4)]());continue;}const _0x1aa0bc=_0x398fa1[_0x3ae0a5(0x110)]();if(_0x57c7e3[_0x3ae0a5(0xd4)]>0x0){const _0x16975a=_0x57c7e3[0x0][_0x3ae0a5(0xaa)](_0x1aa0bc);if(_0x16975a){_0x57c7e3[0x0]=_0x16975a;continue;}}_0x57c7e3[_0x3ae0a5(0xd8)](_0x1aa0bc);}_0x2e574c[_0x3ae0a5(0xd8)]([_0x1cdd26[_0x3ae0a5(0xc3)],_0x57c7e3]);}return _0x2e574c;}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x12b),(_0x5abc34,_0x4aeef6)=>{const _0x7c4593=_0x4a8a1e;this[_0x7c4593(0xa7)](_0x4aeef6,_0x7c4593(0xe4),(_0x1e2909,_0x4a4c45,_0x432c72,_0x24c41)=>{const _0xd85a7c=_0x7c4593;_0x4aeef6[_0xd85a7c(0xab)]&&(null==_0x432c72?(this[_0xd85a7c(0x125)](_0x24c41[_0xd85a7c(0xe9)]),this[_0xd85a7c(0x12d)](_0x4aeef6,!0x1)):(this[_0xd85a7c(0x125)](_0x432c72[_0xd85a7c(0xe9)]),null==_0x24c41&&this[_0xd85a7c(0x12d)](_0x4aeef6,!0x0)));}),null!==_0x4aeef6[_0x7c4593(0x116)]?this[_0x7c4593(0x125)](_0x4aeef6[_0x7c4593(0xe9)]):this[_0x7c4593(0x12d)](_0x4aeef6,!0x1);}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x117),(_0x5ea474,_0x1ae098,_0x40f5e8)=>{const _0x54d4e6=_0x4a8a1e;this[_0x54d4e6(0x92)](_0x1ae098,_0x54d4e6(0xe4)),this[_0x54d4e6(0x90)][_0x54d4e6(0xcf)](_0x1ae098),this[_0x54d4e6(0xda)][_0x54d4e6(0x95)](_0x1ae098)&&this[_0x54d4e6(0xc6)](_0x1ae098),_0x40f5e8&&this[_0x54d4e6(0x125)](_0x40f5e8[_0x54d4e6(0xe9)]);}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x7e),(_0x553713,_0x4ac78d)=>{const _0x16214e=_0x4a8a1e;this[_0x16214e(0x125)](_0x4ac78d);}),this[_0x4a8a1e(0xa7)](_0x58f8a2,_0x4a8a1e(0x94),()=>{const _0x15613a=_0x4a8a1e;this[_0x15613a(0xcb)]();}),this[_0x4a8a1e(0xa7)](_0x5cb57a,_0x4a8a1e(0x129),(_0x5d9aca,{threadId:_0xd06c74,isFromAdapter:_0x20ce7d})=>{const _0x225603=_0x4a8a1e;if(_0x20ce7d||!_0x3b444d[_0x225603(0xc5)](_0xd06c74))return;const _0x42f996=_0x3b444d[_0x225603(0xf6)](_0xd06c74);this[_0x225603(0xda)][_0x225603(0xf2)](_0x42f996)[_0x225603(0xc3)][_0x225603(0x7f)][_0x225603(0xa1)](-0x1);},{'priority':_0x4a8a1e(0x8d)}),this[_0x4a8a1e(0x9c)]=this[_0x4a8a1e(0x81)][_0x4a8a1e(0xca)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x9c));const _0xf7bb81=this[_0x4a8a1e(0x81)];this[_0x4a8a1e(0x9d)]=setInterval(()=>{const _0x50a03e=_0x4a8a1e;let _0x57736b;for(const _0x50f923 in _0xf7bb81){const _0x292bd4=_0x50f923,_0x36a03d=_0xf7bb81[_0x292bd4];if(_0x50a03e(0x8f)==_0x36a03d||_0x50a03e(0xd9)==_0x36a03d||_0x50a03e(0x105)==_0x36a03d||_0x50a03e(0xd6)==_0x36a03d||_0x50a03e(0x11f)==_0x36a03d||_0x50a03e(0x113)==_0x36a03d||_0x50a03e(0xb6)==_0x36a03d||_0x50a03e(0x98)==_0x36a03d){delete _0xf7bb81[_0x292bd4],_0x57736b=_0x36a03d,clearInterval(this[_0x50a03e(0x9d)]),this[_0x50a03e(0x9d)]=void 0x0;break;}}_0x50a03e(0xd9)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xa9)),_0x50a03e(0x105)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x11d)),_0x50a03e(0xd6)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xae)),_0x50a03e(0x11f)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x126),_0x50a03e(0xb4)),_0x50a03e(0x113)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xa8)),_0x50a03e(0xb6)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x104)),_0x50a03e(0x98)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xf7));},0x3e8);}[_0x1cb4bc(0xa0)](_0x866fae){const _0x34a0e4=_0x1cb4bc,_0x473e0f=this[_0x34a0e4(0xda)][_0x34a0e4(0xf2)](_0x866fae);if(!_0x473e0f)return null;return this[_0x34a0e4(0x81)][_0x34a0e4(0xd7)][_0x34a0e4(0xf2)](_0x34a0e4(0xe2))[_0x34a0e4(0xec)](_0x473e0f[_0x34a0e4(0xc3)])||null;}[_0x1cb4bc(0x11b)](_0x7a89c0){const _0x33933b=_0x1cb4bc,_0x521ef4=this[_0x33933b(0xad)][_0x33933b(0xf2)](_0x7a89c0[_0x33933b(0x120)]);return _0x521ef4?_0x521ef4[_0x33933b(0x99)]:null;}[_0x1cb4bc(0xcb)](){const _0xeae03=_0x1cb4bc,_0x4f8519=this[_0xeae03(0x81)][_0xeae03(0xd7)][_0xeae03(0xf2)](_0xeae03(0xe2)),_0x586ef3=this[_0xeae03(0x81)][_0xeae03(0xd7)][_0xeae03(0xf2)](_0xeae03(0x111)),_0xca28b2=Array[_0xeae03(0xa5)](_0x4f8519[_0xeae03(0x10a)],_0x2d8532=>_0x2d8532[_0xeae03(0x120)])[_0xeae03(0xe3)](_0xfdf4f8=>this[_0xeae03(0xad)][_0xeae03(0x95)](_0xfdf4f8)),_0x41ace0=[];for(const _0x560431 of _0xca28b2){const _0x44a611=this[_0xeae03(0xad)][_0xeae03(0xf2)](_0x560431)[_0xeae03(0x99)][_0xeae03(0xc1)]();_0x41ace0[_0xeae03(0xd8)](..._0x44a611[_0xeae03(0xbf)]((_0x2600fa,_0x163d21)=>[..._0x2600fa,..._0x163d21[_0xeae03(0x108)]()],[]));}_0x586ef3[_0xeae03(0xf3)]=_0x41ace0;}[_0x1cb4bc(0x112)](){const _0x1c9466=_0x1cb4bc,_0x364ffc=this[_0x1c9466(0x81)],_0x20a902=_0x364ffc[_0x1c9466(0xfa)],_0x33dd82=_0x154dfc(_0x20a902,_0x1c9466(0x128)),_0x100e54=new _0x165abe([{'type':_0x1c9466(0x12c),'model':new _0x1dedf1({'withText':!0x0,'isToggleable':!0x0,'label':_0x33dd82,'commandName':_0x1c9466(0xa2),'role':_0x1c9466(0x7d)})},{'type':_0x1c9466(0xc7)},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x10c)),'commandName':_0x1c9466(0xed),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0xf8)),'commandName':_0x1c9466(0x109),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x107)),'commandName':_0x1c9466(0xe6),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x9e)),'commandName':_0x1c9466(0xd1),'role':_0x1c9466(0xb3)})}]);_0x364ffc[_0x1c9466(0xd7)][_0x1c9466(0x95)](_0x1c9466(0xd0))&&_0x100e54[_0x1c9466(0x12a)]([{'type':_0x1c9466(0xc7)},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x91)),'commandName':_0x1c9466(0x88),'role':_0x1c9466(0xb3)})}]);for(const _0x243c1d of _0x100e54)if(ke(_0x243c1d)){const _0x129b3c=_0x364ffc[_0x1c9466(0xc2)][_0x1c9466(0xf2)](_0x243c1d[_0x1c9466(0x99)][_0x1c9466(0xdd)]);_0x243c1d[_0x1c9466(0x99)][_0x1c9466(0xfd)](_0x1c9466(0x106),_0x1c9466(0xe7))['to'](_0x129b3c,_0x1c9466(0xbb),_0x1c9466(0xe7));}_0x364ffc['ui'][_0x1c9466(0xa3)][_0x1c9466(0x122)](_0x1c9466(0xa2),_0x57f6a4=>this[_0x1c9466(0xcc)](_0x57f6a4,_0x100e54,_0x33dd82)),_0x364ffc['ui'][_0x1c9466(0xa3)][_0x1c9466(0x122)](_0x1c9466(0x102),_0x499d2f=>this[_0x1c9466(0x101)](_0x499d2f,_0x100e54,_0x33dd82));}[_0x1cb4bc(0xcc)](_0x228a95,_0x208701,_0x54c309){const _0x21474f=_0x1cb4bc,_0x4154a0=_0x487b3b(_0x228a95,_0x31f9cc),_0x4e3e01=this[_0x21474f(0x81)][_0x21474f(0xc2)][_0x21474f(0xf2)](_0x21474f(0xa2));_0x4154a0[_0x21474f(0x86)][_0x21474f(0x115)]({'tooltip':_0x54c309,'label':_0x54c309,'icon':_0x48b06d}),_0x4154a0[_0x21474f(0x86)][_0x21474f(0xfd)](_0x21474f(0x106))['to'](_0x4e3e01,_0x21474f(0xbb)),_0x4154a0[_0x21474f(0x86)]['on'](_0x21474f(0x8c),()=>{const _0x26474b=_0x21474f;_0x4e3e01[_0x26474b(0x8c)](),this[_0x26474b(0x81)][_0x26474b(0x121)][_0x26474b(0xc3)][_0x26474b(0xa1)]();}),_0x5da97d(_0x4154a0,_0x208701,{'role':_0x21474f(0x10b)});const _0x55b64e=[];for(const _0x21d5c6 of _0x208701)ke(_0x21d5c6)&&_0x55b64e[_0x21474f(0xd8)](this[_0x21474f(0x81)][_0x21474f(0xc2)][_0x21474f(0xf2)](_0x21d5c6[_0x21474f(0x99)][_0x21474f(0xdd)]));const _0x5bf56f=_0x4154a0[_0x21474f(0x86)];return _0x5bf56f[_0x21474f(0xc8)][_0x21474f(0x84)](_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0x89)][_0x21474f(0x84)](_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0xc8)][_0x21474f(0xfd)](_0x21474f(0xe7))['to'](_0x4e3e01,_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0x89)][_0x21474f(0xfd)](_0x21474f(0xe7))[_0x21474f(0x9a)](_0x55b64e,_0x21474f(0xe7),(..._0x219057)=>_0x219057[_0x21474f(0x10d)](_0x5cd008=>_0x5cd008)),_0x4154a0['on'](_0x21474f(0x8c),_0x4d2f33=>{const _0x36adf3=_0x21474f;this[_0x36adf3(0x81)][_0x36adf3(0x8c)](_0x4d2f33[_0x36adf3(0x8b)][_0x36adf3(0xdd)]),this[_0x36adf3(0x81)][_0x36adf3(0x121)][_0x36adf3(0xc3)][_0x36adf3(0xa1)]();}),_0x4154a0;}[_0x1cb4bc(0x101)](_0x50c551,_0x39b5b8,_0x5babb0){const _0x15e054=_0x1cb4bc,_0x13d6a4=new _0xa27514(_0x50c551),_0x37d023=this[_0x15e054(0x81)][_0x15e054(0xc2)][_0x15e054(0xf2)](_0x15e054(0xa2));_0x13d6a4[_0x15e054(0x86)][_0x15e054(0x115)]({'label':_0x5babb0,'icon':_0x48b06d});const _0x25780b=new _0x5bc66c(_0x50c551);for(const _0x4a7cce of _0x39b5b8){if(_0x15e054(0xc7)==_0x4a7cce[_0x15e054(0xaf)]){_0x25780b[_0x15e054(0x9f)][_0x15e054(0x122)](new _0x3d526a(_0x50c551));continue;}const _0x1e9411=new _0x99bf61(_0x50c551,_0x13d6a4),_0x43d76d=new _0x1e035e(_0x50c551),_0xc6f9f4=_0x4a7cce[_0x15e054(0x99)];_0x43d76d[_0x15e054(0xfd)](...Object[_0x15e054(0xf1)](_0xc6f9f4))['to'](_0xc6f9f4),_0x43d76d[_0x15e054(0xc0)](_0x15e054(0x8c))['to'](_0x13d6a4),_0x43d76d['on'](_0x15e054(0x8c),()=>{const _0x49eebf=_0x15e054;this[_0x49eebf(0x81)][_0x49eebf(0x8c)](_0xc6f9f4[_0x49eebf(0xdd)]),this[_0x49eebf(0x81)][_0x49eebf(0x121)][_0x49eebf(0xc3)][_0x49eebf(0xa1)]();}),_0x1e9411[_0x15e054(0xdf)][_0x15e054(0x122)](_0x43d76d),_0x25780b[_0x15e054(0x9f)][_0x15e054(0x122)](_0x1e9411);}return _0x13d6a4[_0x15e054(0xfd)](_0x15e054(0xe7))['to'](_0x37d023,_0x15e054(0xe7)),_0x13d6a4[_0x15e054(0xe5)][_0x15e054(0xdf)][_0x15e054(0x122)](_0x25780b),_0x13d6a4;}[_0x1cb4bc(0xf4)](_0x4ffa31){const _0x52c5f0=_0x1cb4bc,_0x559246=this[_0x52c5f0(0x81)],_0x2c0394=_0x559246[_0x52c5f0(0xca)],_0x5b8a75=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0xe2)),_0x5cb833=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x97)),_0x2c9258=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x93)),_0x27ce45=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x5b2fe0)['me'],_0xd36e=_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xa2))[_0x52c5f0(0xce)],_0x2fbcb1=_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xa2))[_0x52c5f0(0xc4)],{CommentsListView:_0x49b79e,CommentThreadInputView:_0x277cc9}=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0xd3));let _0x188213,_0x2546f6,_0x14ba97;this[_0x52c5f0(0xb2)][_0x52c5f0(0x95)](_0x4ffa31['id'])?(_0x2546f6=this[_0x52c5f0(0xb2)][_0x52c5f0(0xf2)](_0x4ffa31['id']),_0x188213=_0x2546f6[_0x52c5f0(0x83)]):(_0x188213=new _0xd36e(_0x559246[_0x52c5f0(0xfa)],_0x4ffa31,_0x27ce45,{'disableComments':this[_0x52c5f0(0xf0)],'editorConfig':{..._0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xb1)),'licenseKey':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0x9c))},'maxCommentsWhenCollapsed':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0x82)),'maxThreadTotalWeight':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xc9)),'maxCommentCharsWhenCollapsed':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xb8)),'formatDateTime':_0x392bb7(_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xfa)),_0x559246[_0x52c5f0(0xfa)]),'CommentView':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xdc))[_0x52c5f0(0xbd)],'CommentsListView':_0x49b79e,'CommentThreadInputView':_0x277cc9,'SuggestionView':_0x2fbcb1}),_0x188213[_0x52c5f0(0x100)][_0x52c5f0(0xea)]['on'](_0x52c5f0(0x8c),()=>{const _0x5085e8=_0x52c5f0;_0x559246[_0x5085e8(0x121)][_0x5085e8(0xc3)][_0x5085e8(0xa1)]();}),_0x188213[_0x52c5f0(0x100)][_0x52c5f0(0x10f)]['on'](_0x52c5f0(0x8c),()=>{const _0x10ab21=_0x52c5f0;_0x559246[_0x10ab21(0x121)][_0x10ab21(0xc3)][_0x10ab21(0xa1)]();}),_0x2546f6=_0x5b8a75[_0x52c5f0(0x114)](this[_0x52c5f0(0x81)][_0x52c5f0(0xfa)],_0x188213),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0x96))['to'](_0x188213,_0x52c5f0(0x96)),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0xd4))['to'](_0x188213),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0xaf))['to'](_0x188213,_0x52c5f0(0xaf),_0x923ba7=>_0x52c5f0(0xe1)+_0x923ba7),_0x188213['on'](_0x52c5f0(0xde),()=>{const _0x49b53a=_0x52c5f0;_0x14ba97[_0x49b53a(0x8a)](_0x49b53a(0xde));}),this[_0x52c5f0(0xb2)][_0x52c5f0(0x115)](_0x4ffa31['id'],_0x2546f6));const _0x45a596=_0x5cb833[_0x52c5f0(0xbe)](_0x4ffa31[_0x52c5f0(0x118)],_0x188213),_0x9f05f2=new _0x4738a8(_0x559246,_0x4ffa31,_0x188213,_0x45a596),_0x25a911=_0x4ffa31[_0x52c5f0(0xc1)]()[_0x52c5f0(0xe3)](_0x22e477=>_0x22e477[_0x52c5f0(0xab)]);_0x188213[_0x52c5f0(0xeb)]=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x111))[_0x52c5f0(0xa6)][_0x52c5f0(0xb7)](_0x25a911),this[_0x52c5f0(0xda)][_0x52c5f0(0x115)](_0x4ffa31,_0x9f05f2),this[_0x52c5f0(0xad)][_0x52c5f0(0x115)](_0x188213,_0x9f05f2),_0x14ba97=_0x5b8a75[_0x52c5f0(0x11a)]({'view':_0x2546f6,'target':()=>{const _0x530f48=_0x52c5f0,_0x402f2f=[],_0x3883ee=_0x4ffa31[_0x530f48(0xc1)]()[_0x530f48(0xe3)](_0x492b24=>_0x492b24[_0x530f48(0xab)]);for(const _0x3f2b1a of _0x3883ee)_0x402f2f[_0x530f48(0xd8)](..._0x3f2b1a[_0x530f48(0xcd)]());return _0x2fda86(_0x559246[_0x530f48(0x121)],_0x402f2f);},'type':()=>_0x52c5f0(0xe1)+_0x9f05f2[_0x52c5f0(0xc3)][_0x52c5f0(0xaf)]}),_0x5cb833[_0x52c5f0(0x119)](_0x188213,_0x14ba97),_0x5b8a75[_0x52c5f0(0x122)](_0x14ba97),_0x2c9258[_0x52c5f0(0xe8)](_0x14ba97);}[_0x1cb4bc(0xc6)](_0x311998){const _0x565581=_0x1cb4bc,_0xf974ab=this[_0x565581(0x81)][_0x565581(0xd7)][_0x565581(0xf2)](_0x565581(0x97)),_0x3a0595=this[_0x565581(0x81)][_0x565581(0xd7)][_0x565581(0xf2)](_0x565581(0xe2)),_0x41167d=this[_0x565581(0xda)][_0x565581(0xf2)](_0x311998),_0x56afdf=_0x41167d[_0x565581(0xc3)],_0x26b0ab=_0x3a0595[_0x565581(0xec)](_0x56afdf);_0xf974ab[_0x565581(0x85)](_0x56afdf),_0x26b0ab&&_0x3a0595[_0x565581(0xba)](_0x26b0ab),this[_0x565581(0xda)][_0x565581(0xcf)](_0x311998),this[_0x565581(0xad)][_0x565581(0xcf)](_0x56afdf),_0x41167d[_0x565581(0x10e)]();}[_0x1cb4bc(0x125)](_0x6f1280){const _0x433444=_0x1cb4bc;if(!_0x6f1280[_0x433444(0xab)]||!this[_0x433444(0xda)][_0x433444(0x95)](_0x6f1280))return;const _0x3bad74=this[_0x433444(0x81)][_0x433444(0xd7)][_0x433444(0xf2)](_0x433444(0x111)),_0x3cee35=this[_0x433444(0xda)][_0x433444(0xf2)](_0x6f1280),_0x199278=_0x6f1280[_0x433444(0xc1)]();_0x3cee35[_0x433444(0xc3)][_0x433444(0xeb)]=_0x3bad74[_0x433444(0xa6)][_0x433444(0xb7)](_0x199278);}[_0x1cb4bc(0x10e)](){const _0x49f9d4=_0x1cb4bc;for(const _0x242c25 of this[_0x49f9d4(0xda)][_0x49f9d4(0xf1)]())this[_0x49f9d4(0xc6)](_0x242c25);for(const _0xea90a1 of this[_0x49f9d4(0xb2)][_0x49f9d4(0x11c)]())_0xea90a1[_0x49f9d4(0x83)][_0x49f9d4(0x10e)]();super[_0x49f9d4(0x10e)](),this[_0x49f9d4(0x9d)]&&clearInterval(this[_0x49f9d4(0x9d)]);}}function ke(_0x2dc96d){const _0x2245f7=_0x1cb4bc;return _0x2245f7(0x99)in _0x2dc96d;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x28a553=_0x12d3;(function(_0x61d926,_0x4c6fb8){const _0x215904=_0x12d3,_0xa8a6b4=_0x61d926();while(!![]){try{const _0x4cb524=-parseInt(_0x215904(0x1e1))/0x1*(parseInt(_0x215904(0x1f9))/0x2)+parseInt(_0x215904(0x200))/0x3+parseInt(_0x215904(0x1df))/0x4+-parseInt(_0x215904(0x1f7))/0x5*(-parseInt(_0x215904(0x206))/0x6)+-parseInt(_0x215904(0x1e5))/0x7+parseInt(_0x215904(0x202))/0x8*(-parseInt(_0x215904(0x1dd))/0x9)+parseInt(_0x215904(0x1e4))/0xa;if(_0x4cb524===_0x4c6fb8)break;else _0xa8a6b4['push'](_0xa8a6b4['shift']());}catch(_0xb3874c){_0xa8a6b4['push'](_0xa8a6b4['shift']());}}}(_0x1b06,0xe799b));import{ObservableMixin as _0x29ee5a}from'ckeditor5/src/utils.js';function _0x12d3(_0x175f2a,_0x4605be){const _0x1b06c1=_0x1b06();return _0x12d3=function(_0x12d30f,_0x298442){_0x12d30f=_0x12d30f-0x1dd;let _0x2249e6=_0x1b06c1[_0x12d30f];return _0x2249e6;},_0x12d3(_0x175f2a,_0x4605be);}import{getTranslation as _0x5f1eac}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x29ee5a(){[_0x28a553(0x1e8)];[_0x28a553(0x1ef)];[_0x28a553(0x201)];[_0x28a553(0x204)];[_0x28a553(0x1f0)];[_0x28a553(0x1e3)];[_0x28a553(0x1f6)];constructor(_0x2bc1cd,_0x5f1f98,_0x361ae5,_0x41d6ba){const _0x24dc3f=_0x28a553;super(),this[_0x24dc3f(0x1e8)]=_0x5f1f98,this[_0x24dc3f(0x1ef)]=_0x361ae5,this[_0x24dc3f(0x201)]=_0x41d6ba,this[_0x24dc3f(0x204)]=_0x2bc1cd,this[_0x24dc3f(0x1f0)]=_0x2bc1cd[_0x24dc3f(0x1de)][_0x24dc3f(0x1fa)](_0x24dc3f(0x1e2)),this[_0x24dc3f(0x1e3)]=_0x2bc1cd[_0x24dc3f(0x1de)][_0x24dc3f(0x1fa)](_0x24dc3f(0x1e0)),this[_0x24dc3f(0x1ef)][_0x24dc3f(0x1fd)](_0x24dc3f(0x1f8))['to'](this[_0x24dc3f(0x1f0)],this[_0x24dc3f(0x1e3)],(_0x18d983,_0x3e4a9f)=>_0x18d983||_0x3e4a9f),this[_0x24dc3f(0x1ef)][_0x24dc3f(0x1fd)](_0x24dc3f(0x1fc))['to'](this[_0x24dc3f(0x1f0)],_0x24dc3f(0x1f8),_0x24ff7d=>_0x24ff7d&&this[_0x24dc3f(0x204)][_0x24dc3f(0x1e8)][_0x24dc3f(0x1e9)](_0x5f1f98[_0x24dc3f(0x1ff)]())),this[_0x24dc3f(0x1ef)][_0x24dc3f(0x1fd)](_0x24dc3f(0x1f4))['to'](this[_0x24dc3f(0x1e3)],_0x24dc3f(0x1f8),_0x30dc57=>_0x30dc57&&this[_0x24dc3f(0x204)][_0x24dc3f(0x1e8)][_0x24dc3f(0x1e9)](_0x5f1f98[_0x24dc3f(0x1ff)]())),this[_0x24dc3f(0x1f6)]=null,_0x361ae5[_0x24dc3f(0x1e7)]&&this[_0x24dc3f(0x1f1)](),this[_0x24dc3f(0x1f3)](_0x361ae5,_0x24dc3f(0x1e2),()=>this[_0x24dc3f(0x1e2)]()),this[_0x24dc3f(0x1f3)](_0x361ae5,_0x24dc3f(0x1e0),()=>this[_0x24dc3f(0x1e0)]()),this[_0x24dc3f(0x1f3)](_0x361ae5,_0x24dc3f(0x1fb),()=>{const _0x4da0c0=_0x24dc3f;_0x361ae5[_0x4da0c0(0x1e7)]?this[_0x4da0c0(0x1f1)]():this[_0x4da0c0(0x1f2)]();});}[_0x28a553(0x1e2)](){const _0x696ccd=_0x28a553;this[_0x696ccd(0x1f0)][_0x696ccd(0x203)](this[_0x696ccd(0x1e8)]['id']);}[_0x28a553(0x1e0)](){const _0x166b8f=_0x28a553;this[_0x166b8f(0x1e3)][_0x166b8f(0x203)](this[_0x166b8f(0x1e8)]['id']);}[_0x28a553(0x1f5)](){const _0x571ce1=_0x28a553;this[_0x571ce1(0x1ef)][_0x571ce1(0x1fe)](_0x571ce1(0x1f8)),this[_0x571ce1(0x1ef)][_0x571ce1(0x1fe)](_0x571ce1(0x1fc)),this[_0x571ce1(0x1ef)][_0x571ce1(0x1fe)](_0x571ce1(0x1f4)),this[_0x571ce1(0x205)](),this[_0x571ce1(0x201)][_0x571ce1(0x1f5)](),this[_0x571ce1(0x1f6)]&&this[_0x571ce1(0x1f2)]();}[_0x28a553(0x1f1)](){const _0x1bb807=_0x28a553,_0x21cc36=_0x5f1eac(this[_0x1bb807(0x204)][_0x1bb807(0x1e6)],_0x1bb807(0x1ee));this[_0x1bb807(0x1f6)]=this[_0x1bb807(0x204)][_0x1bb807(0x1eb)][_0x1bb807(0x1fa)](_0x1bb807(0x1ea))[_0x1bb807(0x1ed)](_0x21cc36);}[_0x28a553(0x1f2)](){const _0x3a7f14=_0x28a553;null!==this[_0x3a7f14(0x1f6)]&&this[_0x3a7f14(0x204)][_0x3a7f14(0x1eb)][_0x3a7f14(0x1fa)](_0x3a7f14(0x1ea))[_0x3a7f14(0x1ec)](this[_0x3a7f14(0x1f6)]),this[_0x3a7f14(0x1f6)]=null;}}function _0x1b06(){const _0x5b7efd=['discardSuggestion','10625FYFcRi','acceptSuggestion','_discardCommand','20531130npdWxf','3808322PbInTM','locale','isDirty','model','canEditAt','PendingActions','plugins','remove','add','PENDING_ACTION_SUGGESTION','view','_acceptCommand','_setPendingAction','_removePendingAction','listenTo','canDiscard','destroy','_pendingAction','5DvYfNm','isEnabled','194QTudWA','get','change:isDirty','canAccept','bind','unbind','getRanges','2315193MoozeW','commentThreadController','56HLNTSY','execute','_editor','stopListening','1537014ZGZElk','1185309QZbkRN','commands','1456800TpJUmW'];_0x1b06=function(){return _0x5b7efd;};return _0x1b06();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3433(){const _0x386901=['target','hasDirtyComment','locale','isReadOnly','disableComments','keystrokes','shift+tab','9096920adeRXq','author','element','commentsListView','514470buooHj','join','destroy','_createCommentViews','content','4qmNIAO','isDirty','isEnabled','commentInputView','setData','_localUser','focusTracker','bind','2862qReIUy','delegate','parseFromString','ariaDescriptionView','removeComment','ariaLabel','canAccept','value','60PtMetT','focus','fire','canDiscard','addComment','descriptionParts','set','_model','cancel','SUGGESTION_THREAD_DESCRIPTION','submit','_config','updateComment','body','CommentView','length','textContent','authoredAt','render','focusCycler','showInput','isActive','disabledSubmit','8WqJYIG','5369265lFaPXW','commentThreadInputView','35zZnerO','1693659pwLdcC','editor','assign','text/html','focusables','4254215ZgYUAX','tab','map','415001oAWsPy','SUGGESTION_THREAD_ARIA_LABEL','name','3252rVxhUB','editorConfig','formatDateTime','_createCommentThreadInputView','commentThread'];_0x3433=function(){return _0x386901;};return _0x3433();}const _0x409193=_0x28be;(function(_0x18c550,_0x4a61d3){const _0x198978=_0x28be,_0x38918d=_0x18c550();while(!![]){try{const _0x21c72e=parseInt(_0x198978(0x164))/0x1*(parseInt(_0x198978(0x131))/0x2)+parseInt(_0x198978(0x139))/0x3*(parseInt(_0x198978(0x167))/0x4)+-parseInt(_0x198978(0x15b))/0x5*(-parseInt(_0x198978(0x12c))/0x6)+parseInt(_0x198978(0x161))/0x7*(parseInt(_0x198978(0x158))/0x8)+-parseInt(_0x198978(0x159))/0x9+-parseInt(_0x198978(0x128))/0xa+-parseInt(_0x198978(0x15c))/0xb*(parseInt(_0x198978(0x141))/0xc);if(_0x21c72e===_0x4a61d3)break;else _0x38918d['push'](_0x38918d['shift']());}catch(_0x5af5b2){_0x38918d['push'](_0x38918d['shift']());}}}(_0x3433,0x83362));import{FocusCycler as _0x2dfa53,View as _0x25fe4a,ViewCollection as _0x3dc67d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d7e54,KeystrokeHandler as _0x37d62f}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x514947,setupThreadKeyboardNavigation as _0x54bbe6}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x292ac7}from'../../utils/common-translations.js';import{renderDescription as _0xa53e31}from'../../utils/utils.js';function _0x28be(_0xa3c443,_0x52a79e){const _0x3433f5=_0x3433();return _0x28be=function(_0x28be06,_0x9d851a){_0x28be06=_0x28be06-0x123;let _0x436c64=_0x3433f5[_0x28be06];return _0x436c64;},_0x28be(_0xa3c443,_0x52a79e);}export class BaseSuggestionThreadView extends _0x25fe4a{[_0x409193(0x12b)];[_0x409193(0x15a)];[_0x409193(0x13c)];[_0x409193(0x160)];[_0x409193(0x137)];[_0x409193(0x126)];[_0x409193(0x154)];[_0x409193(0x148)];[_0x409193(0x136)];[_0x409193(0x14c)];constructor(_0x12229a,_0x305a21,_0x4992c7,_0x4caac0){const _0x3cc64a=_0x409193;super(_0x12229a),this[_0x3cc64a(0x12b)]=null,this[_0x3cc64a(0x15a)]=null,this[_0x3cc64a(0x13c)]=new _0x514947(_0x12229a,_0x292ac7(_0x12229a,_0x3cc64a(0x14a))),this[_0x3cc64a(0x147)](_0x3cc64a(0x156),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x152),_0x305a21[_0x3cc64a(0x152)]),this[_0x3cc64a(0x138)](_0x3cc64a(0x152))['to'](_0x305a21),this[_0x3cc64a(0x147)](_0x3cc64a(0x146),[]),this[_0x3cc64a(0x147)](_0x3cc64a(0x132),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x133),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x13f),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x144),!0x1),this[_0x3cc64a(0x138)](_0x3cc64a(0x13e))['to'](this,_0x3cc64a(0x150),_0x305a21,_0x3cc64a(0x152),this,_0x3cc64a(0x146),(_0x4c971a,_0x3009a2,_0x30ab0f)=>{const _0x2935da=_0x3cc64a,_0x5c5ac4=_0x30ab0f[_0x2935da(0x163)](_0xc091e8=>_0xa53e31(_0xc091e8[_0x2935da(0x130)]))[_0x2935da(0x12d)]('.\x20')+'.';return _0x292ac7(this[_0x2935da(0x123)],_0x2935da(0x165),[_0x4c971a-0x1,_0x305a21[_0x2935da(0x129)][_0x2935da(0x166)],_0x3009a2?_0x4caac0[_0x2935da(0x169)](_0x3009a2):'',new DOMParser()[_0x2935da(0x13b)](_0x5c5ac4,_0x2935da(0x15f))[_0x2935da(0x14e)][_0x2935da(0x151)]]);}),this[_0x3cc64a(0x160)]=new _0x3dc67d(),this[_0x3cc64a(0x137)]=new _0x2d7e54(),this[_0x3cc64a(0x126)]=new _0x37d62f(),this[_0x3cc64a(0x154)]=new _0x2dfa53({'focusables':this[_0x3cc64a(0x160)],'focusTracker':this[_0x3cc64a(0x137)],'keystrokeHandler':this[_0x3cc64a(0x126)],'keystrokeHandlerOptions':{'filter':_0x1cadb1=>_0x1cadb1[_0x3cc64a(0x16c)]!==this[_0x3cc64a(0x12a)]},'actions':{'focusPrevious':_0x3cc64a(0x127),'focusNext':_0x3cc64a(0x162)}}),this[_0x3cc64a(0x148)]=_0x305a21,this[_0x3cc64a(0x136)]=_0x4992c7,this[_0x3cc64a(0x14c)]=_0x4caac0,_0x4caac0[_0x3cc64a(0x125)]?this[_0x3cc64a(0x147)](_0x3cc64a(0x150),0x1):this[_0x3cc64a(0x12f)]();}[_0x409193(0x153)](){const _0x5e67b2=_0x409193;super[_0x5e67b2(0x153)](),_0x54bbe6(this,this[_0x5e67b2(0x160)]);}[_0x409193(0x142)](){const _0x4697fa=_0x409193;this[_0x4697fa(0x12a)][_0x4697fa(0x142)]();}[_0x409193(0x12e)](){const _0x3d6ee5=_0x409193;this[_0x3d6ee5(0x12b)]&&this[_0x3d6ee5(0x12b)][_0x3d6ee5(0x12e)](),this[_0x3d6ee5(0x15a)]&&this[_0x3d6ee5(0x15a)][_0x3d6ee5(0x12e)](),super[_0x3d6ee5(0x12e)]();}[_0x409193(0x12f)](){const _0x43917e=_0x409193,{CommentsListView:_0x3e3ae7}=this[_0x43917e(0x14c)];this[_0x43917e(0x12b)]=new _0x3e3ae7(this[_0x43917e(0x123)],this[_0x43917e(0x148)][_0x43917e(0x16b)],Object[_0x43917e(0x15e)]({'CommentView':this[_0x43917e(0x14c)][_0x43917e(0x14f)]},this[_0x43917e(0x14c)])),this[_0x43917e(0x12b)][_0x43917e(0x13a)](_0x43917e(0x13d))['to'](this),this[_0x43917e(0x12b)][_0x43917e(0x13a)](_0x43917e(0x14d))['to'](this),this[_0x43917e(0x12b)][_0x43917e(0x138)](_0x43917e(0x156))['to'](this),this[_0x43917e(0x147)](_0x43917e(0x150),this[_0x43917e(0x12b)][_0x43917e(0x150)]+0x1),this[_0x43917e(0x138)](_0x43917e(0x150))['to'](this[_0x43917e(0x12b)],_0x43917e(0x150),_0x41e06c=>_0x41e06c+0x1),this[_0x43917e(0x15a)]=this[_0x43917e(0x16a)](),this['on'](_0x43917e(0x13d),()=>this[_0x43917e(0x142)]()),this[_0x43917e(0x138)](_0x43917e(0x132))['to'](this[_0x43917e(0x12b)],_0x43917e(0x16d),this[_0x43917e(0x15a)][_0x43917e(0x134)],_0x43917e(0x140),(_0x5c6be0,_0x1b9931)=>_0x5c6be0||!!_0x1b9931);}[_0x409193(0x16a)](){const _0x523fbc=_0x409193,{CommentThreadInputView:_0x21a48b}=this[_0x523fbc(0x14c)],_0x191451=new _0x21a48b(this[_0x523fbc(0x123)],this[_0x523fbc(0x136)],this[_0x523fbc(0x14c)][_0x523fbc(0x168)]),_0x4ab684=_0x191451[_0x523fbc(0x134)];return _0x191451[_0x523fbc(0x138)](_0x523fbc(0x155))['to'](this,_0x523fbc(0x156),this[_0x523fbc(0x148)][_0x523fbc(0x16b)],_0x523fbc(0x124),_0x4ab684,_0x523fbc(0x140),(_0x14089f,_0x3d0cf0,_0x478fab)=>!!_0x478fab||_0x14089f&&!_0x3d0cf0),_0x4ab684['on'](_0x523fbc(0x14b),(_0x3a7135,_0x3e6333)=>{const _0x15af47=_0x523fbc;this[_0x15af47(0x143)](_0x15af47(0x145),_0x3e6333),_0x4ab684[_0x15af47(0x15d)][_0x15af47(0x135)]('');}),_0x4ab684['on'](_0x523fbc(0x149),()=>this[_0x523fbc(0x142)]()),_0x4ab684[_0x523fbc(0x138)](_0x523fbc(0x157))['to'](this[_0x523fbc(0x148)][_0x523fbc(0x16b)],_0x523fbc(0x124)),_0x191451;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x548064=_0x58b9;(function(_0x4b4b44,_0x12bcc0){const _0x2b7669=_0x58b9,_0x14db71=_0x4b4b44();while(!![]){try{const _0x452fc9=-parseInt(_0x2b7669(0x18f))/0x1*(-parseInt(_0x2b7669(0x183))/0x2)+parseInt(_0x2b7669(0x188))/0x3*(-parseInt(_0x2b7669(0x17b))/0x4)+-parseInt(_0x2b7669(0x17f))/0x5*(-parseInt(_0x2b7669(0x168))/0x6)+parseInt(_0x2b7669(0x171))/0x7+-parseInt(_0x2b7669(0x190))/0x8*(parseInt(_0x2b7669(0x19c))/0x9)+-parseInt(_0x2b7669(0x184))/0xa+parseInt(_0x2b7669(0x181))/0xb*(parseInt(_0x2b7669(0x1a1))/0xc);if(_0x452fc9===_0x12bcc0)break;else _0x14db71['push'](_0x14db71['shift']());}catch(_0x1e77c0){_0x14db71['push'](_0x14db71['shift']());}}}(_0x5713,0x3992d));function _0x58b9(_0x5e380a,_0x5f38de){const _0x5713b8=_0x5713();return _0x58b9=function(_0x58b99b,_0x2b005a){_0x58b99b=_0x58b99b-0x167;let _0x4fc758=_0x5713b8[_0x58b99b];return _0x4fc758;},_0x58b9(_0x5e380a,_0x5f38de);}import{BaseSuggestionThreadView as _0x4b5de2}from'./basesuggestionthreadview.js';import{trimHtml as _0x386ba7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5713(){const _0x917b6=['set','2008314IpCUSb','acceptSuggestion','commentsListView','div','author','focusables','content','listitem','disableComments','getTemplate','24436bUNzkp','descriptionParts','bindTemplate','editorReady','20rihWCJ','type','22fCFoDJ','ariaDescriptionView','4soXQAa','3946160rWPfeB','description','<p>','commentThreadInputView','195VtzOoB','_model','ariaLabel','bind','color','push','ck-suggestion-wrapper','56689lxENos','5336bLMYUv','ck-suggestion-wrapper--active','add','formatDateTime','acceptButton','ck-rounded-corners','canAccept','editorDestroyed','setTemplate','render','isEnabled','discardButton','3744PJKdsl','ck-suggestion--disabled-comments','isActive','suggestionView','ck-suggestion-','3707316qKiTIj','SuggestionView','430242qPBuuU','discardSuggestion','</p>','canDiscard','_descriptionElement','_config','delegate','commentThread'];_0x5713=function(){return _0x917b6;};return _0x5713();}import{renderDescription as _0x41ac5b}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4b5de2{[_0x548064(0x19f)];[_0x548064(0x16c)];constructor(_0x3ef8a6,_0x57d3ed,_0x48f2f0,_0x46280e){const _0x39bac3=_0x548064;super(_0x3ef8a6,_0x57d3ed,_0x48f2f0,_0x46280e),this[_0x39bac3(0x170)](_0x39bac3(0x180),''),this[_0x39bac3(0x18b)](_0x39bac3(0x180))['to'](this,_0x39bac3(0x17c),_0x373ef6=>_0x373ef6&&_0x373ef6[0x0]?_0x373ef6[0x0][_0x39bac3(0x180)]:''),this[_0x39bac3(0x18b)](_0x39bac3(0x185))['to'](this,_0x39bac3(0x17c),this,_0x39bac3(0x19e),(_0x50b546,_0x90e287)=>{const _0x334acd=_0x39bac3;let _0x302ded='';for(const _0x41276e of _0x50b546)_0x302ded+=_0x334acd(0x186)+_0x41ac5b(_0x41276e[_0x334acd(0x177)],_0x41276e[_0x334acd(0x18c)])+_0x334acd(0x16a);return _0x90e287?_0x302ded:_0x386ba7(_0x302ded,{'limit':0x8c});}),this[_0x39bac3(0x16c)]=null,this[_0x39bac3(0x19f)]=new _0x46280e[(_0x39bac3(0x167))](_0x3ef8a6,_0x57d3ed,{'formatDateTime':_0x46280e[_0x39bac3(0x193)]}),this[_0x39bac3(0x19f)][_0x39bac3(0x18b)](_0x39bac3(0x185))['to'](this),this[_0x39bac3(0x19f)][_0x39bac3(0x16e)](_0x39bac3(0x172),_0x39bac3(0x169))['to'](this),this[_0x39bac3(0x19f)][_0x39bac3(0x194)][_0x39bac3(0x18b)](_0x39bac3(0x19a))['to'](this,_0x39bac3(0x196)),this[_0x39bac3(0x19f)][_0x39bac3(0x19b)][_0x39bac3(0x18b)](_0x39bac3(0x19a))['to'](this,_0x39bac3(0x16b)),this[_0x39bac3(0x176)][_0x39bac3(0x192)](this[_0x39bac3(0x19f)]),this[_0x39bac3(0x173)]&&this[_0x39bac3(0x176)][_0x39bac3(0x192)](this[_0x39bac3(0x173)]),this[_0x39bac3(0x187)]&&this[_0x39bac3(0x176)][_0x39bac3(0x192)](this[_0x39bac3(0x187)]),this[_0x39bac3(0x198)](this[_0x39bac3(0x17a)]());}[_0x548064(0x17a)](){const _0x113012=_0x548064,_0x5c833f=this[_0x113012(0x17d)],_0x2c44b=[this[_0x113012(0x19f)]];return this[_0x113012(0x173)]&&_0x2c44b[_0x113012(0x18d)](this[_0x113012(0x173)]),this[_0x113012(0x187)]&&_0x2c44b[_0x113012(0x18d)](this[_0x113012(0x187)]),_0x2c44b[_0x113012(0x18d)](this[_0x113012(0x182)]),{'tag':_0x113012(0x174),'attributes':{'class':['ck',_0x113012(0x195),_0x113012(0x18e),_0x5c833f['if'](_0x113012(0x19e),_0x113012(0x191)),_0x5c833f['to'](_0x113012(0x180),_0x132787=>_0x113012(0x1a0)+_0x132787),this[_0x113012(0x16d)][_0x113012(0x179)]&&_0x113012(0x19d)],'data-suggestion-id':this[_0x113012(0x189)]['id'],'data-thread-id':this[_0x113012(0x189)][_0x113012(0x16f)]['id'],'data-author-id':this[_0x113012(0x189)][_0x113012(0x175)]['id'],'tabindex':0x0,'role':_0x113012(0x178),'aria-label':_0x5c833f['to'](_0x113012(0x18a)),'aria-describedby':this[_0x113012(0x182)]['id']},'children':_0x2c44b};}[_0x548064(0x199)](){const _0xb9bd52=_0x548064;super[_0xb9bd52(0x199)](),this[_0xb9bd52(0x173)]&&(this[_0xb9bd52(0x173)][_0xb9bd52(0x16e)](_0xb9bd52(0x17e))['to'](this),this[_0xb9bd52(0x173)][_0xb9bd52(0x16e)](_0xb9bd52(0x197))['to'](this)),this[_0xb9bd52(0x187)]&&(this[_0xb9bd52(0x187)][_0xb9bd52(0x16e)](_0xb9bd52(0x17e))['to'](this),this[_0xb9bd52(0x187)][_0xb9bd52(0x16e)](_0xb9bd52(0x197))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41184f=_0x5b5a;(function(_0x25b12a,_0x38dbff){const _0x14f8d5=_0x5b5a,_0x58907a=_0x25b12a();while(!![]){try{const _0x5444b8=-parseInt(_0x14f8d5(0x1e5))/0x1+parseInt(_0x14f8d5(0x20d))/0x2*(-parseInt(_0x14f8d5(0x216))/0x3)+parseInt(_0x14f8d5(0x1fe))/0x4+-parseInt(_0x14f8d5(0x220))/0x5*(parseInt(_0x14f8d5(0x234))/0x6)+-parseInt(_0x14f8d5(0x1ea))/0x7*(-parseInt(_0x14f8d5(0x1e7))/0x8)+parseInt(_0x14f8d5(0x21b))/0x9+parseInt(_0x14f8d5(0x1ff))/0xa;if(_0x5444b8===_0x38dbff)break;else _0x58907a['push'](_0x58907a['shift']());}catch(_0x418006){_0x58907a['push'](_0x58907a['shift']());}}}(_0x2fe3,0x82468));import{FocusTracker as _0x397d72,KeystrokeHandler as _0x59930b}from'ckeditor5/src/utils.js';function _0x5b5a(_0x4dc2bf,_0x3c011d){const _0x2fe3e0=_0x2fe3();return _0x5b5a=function(_0x5b5aac,_0x7a54f2){_0x5b5aac=_0x5b5aac-0x1e1;let _0x45caff=_0x2fe3e0[_0x5b5aac];return _0x45caff;},_0x5b5a(_0x4dc2bf,_0x3c011d);}function _0x2fe3(){const _0xae1f84=['_config','bindTemplate','4905EOtaKE','focusFirst','locale','fire','innerHTML','Accept\x20suggestion','element','setTemplate','getExternalSuggestionNote','ck-annotation','ck-annotation__user','ck-suggestion','extendTemplate','ck-suggestion__user','author','ck-annotation__actions','execute','esc','shift+tab','@external','5646yKVkNC','userView','name','acceptButton','listenTo','authoredAt','formatDateTime','_model','ck-annotation__main','attributes','416709OQpGuN','ck-annotation__content-wrapper','16TLXbZU','EXTERNAL_SUGGESTION','change:description','2176874TRZOnT','ck-annotation__info','focusCycler','render','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__info-name','span','tab','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','keystrokes','ck-comment__external','description','target','querySelector','ck-suggestion--discard','discardSuggestion','Discard\x20suggestion','source','enter','1875096xdRIwW','8090440HpbaZL','getTemplate','presentation','ck-comment__info-time','_createButton','focus','.ck-annotation__content-wrapper','ck-annotation__info-name','focusTracker','bind','ck-annotation__info-time','EXTERNAL_AVATAR','ck-suggestion__info','isExternal','652ydwqmi','focusables','importWord','time','ck-suggestion__actions','creator','add','set','_setupKeyboardNavigation','6627HEjmrV','ck-suggestion__main','div','getUserViewNotificationText','ck-suggestion--accept','6244110xCxKSa','push','acceptSuggestion'];_0x2fe3=function(){return _0xae1f84;};return _0x2fe3();}import{View as _0x57ec05,ViewCollection as _0x3004f1,FocusCycler as _0xb59c32}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x552250,UserView as _0x388f5d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x515629,IconCheck as _0xebb144}from'ckeditor5/src/icons.js';import{getTranslation as _0x3562eb}from'../../utils/common-translations.js';export class SuggestionView extends _0x57ec05{[_0x41184f(0x235)];[_0x41184f(0x237)];[_0x41184f(0x1f3)];[_0x41184f(0x20e)];[_0x41184f(0x207)];[_0x41184f(0x1f4)];[_0x41184f(0x1ec)];[_0x41184f(0x1e2)];[_0x41184f(0x21e)];constructor(_0x30d2ad,_0x4cf704,_0x22fa45){const _0x3cafa3=_0x41184f;super(_0x30d2ad),this[_0x3cafa3(0x1e2)]=_0x4cf704,this[_0x3cafa3(0x21e)]=_0x22fa45,this[_0x3cafa3(0x214)](_0x3cafa3(0x1f6),''),this[_0x3cafa3(0x208)](_0x3cafa3(0x239))['to'](_0x4cf704),this[_0x3cafa3(0x237)]=this[_0x3cafa3(0x203)](_0x3562eb(_0x30d2ad,_0x3cafa3(0x225)),_0xebb144,_0x3cafa3(0x21a),_0x3cafa3(0x21d),'sw'),this[_0x3cafa3(0x1f3)]=this[_0x3cafa3(0x203)](_0x3562eb(_0x30d2ad,_0x3cafa3(0x1fb)),_0x515629,_0x3cafa3(0x1f9),_0x3cafa3(0x1fa),'sw'),this[_0x3cafa3(0x235)]=new _0x388f5d(_0x30d2ad,_0x4cf704[_0x3cafa3(0x22e)],this[_0x3cafa3(0x219)]()),this[_0x3cafa3(0x235)][_0x3cafa3(0x22c)]({'attributes':{'class':[_0x3cafa3(0x22d),_0x3cafa3(0x22a)],'aria-hidden':!0x0}}),this[_0x3cafa3(0x20e)]=new _0x3004f1([this[_0x3cafa3(0x237)],this[_0x3cafa3(0x1f3)]]),this[_0x3cafa3(0x207)]=new _0x397d72(),this[_0x3cafa3(0x1f4)]=new _0x59930b(),this[_0x3cafa3(0x1ec)]=new _0xb59c32({'focusables':this[_0x3cafa3(0x20e)],'focusTracker':this[_0x3cafa3(0x207)],'keystrokeHandler':this[_0x3cafa3(0x1f4)],'actions':{'focusPrevious':_0x3cafa3(0x232),'focusNext':_0x3cafa3(0x1f1)},'keystrokeHandlerOptions':{'filter':_0x41b918=>_0x41b918[_0x3cafa3(0x1f7)]!==this[_0x3cafa3(0x226)]}}),this[_0x3cafa3(0x227)](this[_0x3cafa3(0x200)]());}[_0x41184f(0x1ed)](){const _0x23132e=_0x41184f;super[_0x23132e(0x1ed)]();const _0x3cf0a3=this[_0x23132e(0x226)][_0x23132e(0x1f8)](_0x23132e(0x205));_0x3cf0a3[_0x23132e(0x224)]=this[_0x23132e(0x1f6)],this['on'](_0x23132e(0x1e9),(_0x3a2d78,_0xb351f1,_0x50b8d1)=>{const _0x275662=_0x23132e;_0x3cf0a3[_0x275662(0x224)]=_0x50b8d1;}),this[_0x23132e(0x215)]();}[_0x41184f(0x200)](){const _0x2b0f42=_0x41184f,_0x266866=this[_0x2b0f42(0x21f)],_0x450af1=[{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x20b),_0x2b0f42(0x1eb)]},'children':[{'tag':_0x2b0f42(0x1f0),'children':[{'text':this[_0x2b0f42(0x235)][_0x2b0f42(0x236)]}],'attributes':{'class':[_0x2b0f42(0x1ef),_0x2b0f42(0x206)],'data-cke-tooltip-text':this[_0x2b0f42(0x235)][_0x2b0f42(0x236)]}},{'tag':_0x2b0f42(0x210),'attributes':{'datetime':_0x266866['to'](_0x2b0f42(0x239)),'class':[_0x2b0f42(0x202),_0x2b0f42(0x209)]},'children':[{'text':_0x266866['to'](_0x2b0f42(0x239),_0x43e83f=>this[_0x2b0f42(0x21e)][_0x2b0f42(0x1e1)](_0x43e83f))}]}]},{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x211),_0x2b0f42(0x22f)]},'children':[this[_0x2b0f42(0x237)],this[_0x2b0f42(0x1f3)]]},{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x1e6)]}}];return this[_0x2b0f42(0x1e2)][_0x2b0f42(0x20c)]&&_0x450af1[_0x2b0f42(0x21c)]({'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x1f5)]},'children':[{'text':this[_0x2b0f42(0x228)]()}]}),{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x22b),_0x2b0f42(0x229)],'tabindex':-0x1},'children':[this[_0x2b0f42(0x235)],{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x217),_0x2b0f42(0x1e3)],'role':_0x2b0f42(0x201)},'children':_0x450af1}]};}[_0x41184f(0x204)](){const _0x1a5b07=_0x41184f;this[_0x1a5b07(0x226)][_0x1a5b07(0x204)]();}[_0x41184f(0x219)](){const _0x3169ba=_0x41184f;return this[_0x3169ba(0x1e2)][_0x3169ba(0x20c)]?_0x3169ba(0x20f)===this[_0x3169ba(0x1e2)][_0x3169ba(0x1e4)][_0x3169ba(0x233)][_0x3169ba(0x1fc)]?_0x3562eb(this[_0x3169ba(0x222)],_0x3169ba(0x1ee),this[_0x3169ba(0x1e2)][_0x3169ba(0x212)][_0x3169ba(0x236)]):_0x3562eb(this[_0x3169ba(0x222)],_0x3169ba(0x20a),this[_0x3169ba(0x1e2)][_0x3169ba(0x212)][_0x3169ba(0x236)]):null;}[_0x41184f(0x228)](){const _0x5c25fe=_0x41184f;return _0x5c25fe(0x20f)===this[_0x5c25fe(0x1e2)][_0x5c25fe(0x1e4)][_0x5c25fe(0x233)][_0x5c25fe(0x1fc)]?_0x3562eb(this[_0x5c25fe(0x222)],_0x5c25fe(0x1f2)):_0x3562eb(this[_0x5c25fe(0x222)],_0x5c25fe(0x1e8));}[_0x41184f(0x203)](_0x406137,_0x2e69b9,_0xa3882d,_0x1827cb,_0x537d53){const _0x830050=_0x41184f,_0x4bd807=new _0x552250(this[_0x830050(0x222)]);return _0x4bd807[_0x830050(0x214)]({'label':_0x406137,'icon':_0x2e69b9,'tooltip':!0x0,'tooltipPosition':_0x537d53}),_0x4bd807[_0x830050(0x22c)]({'attributes':{'class':_0xa3882d}}),_0x4bd807['on'](_0x830050(0x230),()=>{const _0x3a6eb2=_0x830050;this[_0x3a6eb2(0x223)](_0x1827cb,this[_0x3a6eb2(0x1e2)]['id']);}),_0x4bd807;}[_0x41184f(0x215)](){const _0x38216b=_0x41184f,_0xc7aec1=this[_0x38216b(0x226)];this[_0x38216b(0x1f4)][_0x38216b(0x238)](_0xc7aec1);for(const _0x26a04e of this[_0x38216b(0x20e)])this[_0x38216b(0x207)][_0x38216b(0x213)](_0x26a04e[_0x38216b(0x226)]),this[_0x38216b(0x1f4)][_0x38216b(0x238)](_0x26a04e[_0x38216b(0x226)]);this[_0x38216b(0x1f4)][_0x38216b(0x214)](_0x38216b(0x1fd),(_0x2b000f,_0x2a2ea3)=>{const _0x422317=_0x38216b;_0xc7aec1===_0x2b000f[_0x422317(0x1f7)]&&(this[_0x422317(0x1ec)][_0x422317(0x221)](),_0x2a2ea3());}),this[_0x38216b(0x1f4)][_0x38216b(0x214)](_0x38216b(0x231),(_0x1a29b2,_0x316687)=>{const _0x3bf686=_0x38216b;_0xc7aec1!==_0x1a29b2[_0x3bf686(0x1f7)]&&(this[_0x3bf686(0x204)](),_0x316687());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ca1(){const _0x495948=['classes','11319831QRiiwi','72wAOoKf','options','setAttribute','6748dYzFRU','focus','className','render','createElement','802926WlzWtc','ck-reset','16sDMfZe','previewDataReady','element','div','552273YjrXLI','width','setPreviewData','data-ck-root-name','\x20ck-track-changes-preview__root-container','content','296hfzRAg','fire','height','style','80927fGCpJE','innerHTML','setTemplate','112849gHMlPY','50XxXmIu','ck-track-changes-preview','9769540YAlmJo','1176Oenbtx','dialogRects','push'];_0x5ca1=function(){return _0x495948;};return _0x5ca1();}const _0xb9154d=_0x3089;(function(_0x3f2a55,_0xdc5b44){const _0xe1d876=_0x3089,_0x11481e=_0x3f2a55();while(!![]){try{const _0x8a2393=-parseInt(_0xe1d876(0x1bc))/0x1*(parseInt(_0xe1d876(0x1a9))/0x2)+parseInt(_0xe1d876(0x1a3))/0x3*(-parseInt(_0xe1d876(0x1c3))/0x4)+parseInt(_0xe1d876(0x1b1))/0x5*(parseInt(_0xe1d876(0x1c1))/0x6)+-parseInt(_0xe1d876(0x1ad))/0x7*(parseInt(_0xe1d876(0x1b9))/0x8)+parseInt(_0xe1d876(0x1b8))/0x9+parseInt(_0xe1d876(0x1b3))/0xa+parseInt(_0xe1d876(0x1b0))/0xb*(-parseInt(_0xe1d876(0x1b4))/0xc);if(_0x8a2393===_0xdc5b44)break;else _0x11481e['push'](_0x11481e['shift']());}catch(_0x37f098){_0x11481e['push'](_0x11481e['shift']());}}}(_0x5ca1,0xb1d68));function _0x3089(_0x255ecb,_0x3cba5d){const _0x5ca1ea=_0x5ca1();return _0x3089=function(_0x308936,_0x17d199){_0x308936=_0x308936-0x1a1;let _0x3d10ad=_0x5ca1ea[_0x308936];return _0x3d10ad;},_0x3089(_0x255ecb,_0x3cba5d);}import{View as _0x40e1a0}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x40e1a0{[_0xb9154d(0x1ba)];constructor(_0x2a1f41,_0x4f1c8b){const _0x733a87=_0xb9154d;super(_0x2a1f41),this[_0x733a87(0x1ba)]=_0x4f1c8b,this[_0x733a87(0x1af)]({'tag':_0x733a87(0x1a2),'attributes':{'class':['ck',_0x733a87(0x1c2),_0x733a87(0x1b2)],'tabindex':-0x1}});}[_0xb9154d(0x1bf)](){const _0x1f62c4=_0xb9154d;super[_0x1f62c4(0x1bf)](),this[_0x1f62c4(0x1a1)][_0x1f62c4(0x1ac)][_0x1f62c4(0x1a4)]=this[_0x1f62c4(0x1ba)][_0x1f62c4(0x1b5)][_0x1f62c4(0x1a4)]+'px',this[_0x1f62c4(0x1a1)][_0x1f62c4(0x1ac)][_0x1f62c4(0x1ab)]=this[_0x1f62c4(0x1ba)][_0x1f62c4(0x1b5)][_0x1f62c4(0x1ab)]+'px';}[_0xb9154d(0x1a5)](_0x4419fc,_0x1db3ef){const _0x1fb258=_0xb9154d;if(!this[_0x1fb258(0x1a1)])return;const _0x256338=[];for(const [_0x4c9785,_0x35ec94]of _0x4419fc){const _0xadd2dd=document[_0x1fb258(0x1c0)](_0x1fb258(0x1a2));_0xadd2dd[_0x1fb258(0x1bb)](_0x1fb258(0x1a6),_0x4c9785),_0xadd2dd[_0x1fb258(0x1be)]=_0x35ec94[_0x1fb258(0x1b7)]+_0x1fb258(0x1a7),_0xadd2dd[_0x1fb258(0x1ae)]=_0x35ec94[_0x1fb258(0x1a8)],_0x256338[_0x1fb258(0x1b6)](_0xadd2dd);}_0x1db3ef(this[_0x1fb258(0x1a1)],_0x256338),this[_0x1fb258(0x1a1)][_0x1fb258(0x1ac)][_0x1fb258(0x1ab)]='',this[_0x1fb258(0x1aa)](_0x1fb258(0x1c4));}[_0xb9154d(0x1bd)](){const _0x30e0e3=_0xb9154d;this[_0x30e0e3(0x1a1)][_0x30e0e3(0x1bd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x17c471,_0x1a0bc1,_0x2b2b7d){const _0x2d02ff=_0x17c471['t'],t=_0x17c471['t'];switch(_0x1a0bc1){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',_0x2b2b7d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2b2b7d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2b2b7d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2b2b7d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2b2b7d);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',_0x2b2b7d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2b2b7d);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',_0x2b2b7d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2b2b7d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2b2b7d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2b2b7d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2b2b7d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2b2b7d);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2b2b7d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2b2b7d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2b2b7d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2b2b7d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2b2b7d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2b2b7d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2b2b7d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2b2b7d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2b2b7d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2b2b7d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2b2b7d);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2b2b7d);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'},_0x2b2b7d);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2b2b7d);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2b2b7d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2b2b7d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2b2b7d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2b2b7d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2b2b7d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2b2b7d);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'},_0x2b2b7d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2b2b7d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2b2b7d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2b2b7d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2b2b7d);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'},_0x2b2b7d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2b2b7d);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'},_0x2b2b7d);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'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'},_0x2b2b7d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2b2b7d);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'},_0x2b2b7d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2b2b7d);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'},_0x2b2b7d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2b2b7d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2b2b7d);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'},_0x2b2b7d);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2b2b7d);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 _0x2d02ff({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2b2b7d);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2d02ff({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2b2b7d);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2b2b7d);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'},_0x2b2b7d);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'},_0x2b2b7d);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'},_0x2b2b7d);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1a0bc1;}}
|
|
23
|
+
export function getTranslation(_0x2a2be5,_0x30dced,_0x1da16f){const _0x26c559=_0x2a2be5['t'],t=_0x2a2be5['t'];switch(_0x30dced){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',_0x1da16f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1da16f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1da16f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1da16f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1da16f);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',_0x1da16f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1da16f);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',_0x1da16f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1da16f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1da16f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1da16f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1da16f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1da16f);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1da16f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1da16f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1da16f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1da16f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1da16f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1da16f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1da16f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1da16f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1da16f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1da16f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1da16f);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1da16f);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'},_0x1da16f);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1da16f);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1da16f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1da16f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1da16f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1da16f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1da16f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1da16f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1da16f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1da16f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1da16f);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'},_0x1da16f);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'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'},_0x1da16f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1da16f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1da16f);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 _0x26c559({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1da16f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x26c559({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1da16f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1da16f);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'},_0x1da16f);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'},_0x1da16f);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'},_0x1da16f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x30dced;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58d8c4,_0x3fd6ef){const _0xb1a3cb=_0x3864,_0x18f02f=_0x58d8c4();while(!![]){try{const _0x47cd31=parseInt(_0xb1a3cb(0x85))/0x1*(-parseInt(_0xb1a3cb(0x8a))/0x2)+-parseInt(_0xb1a3cb(0x71))/0x3*(-parseInt(_0xb1a3cb(0x8d))/0x4)+parseInt(_0xb1a3cb(0x9c))/0x5+-parseInt(_0xb1a3cb(0x97))/0x6+parseInt(_0xb1a3cb(0x9d))/0x7*(-parseInt(_0xb1a3cb(0x74))/0x8)+parseInt(_0xb1a3cb(0x8c))/0x9*(parseInt(_0xb1a3cb(0x8e))/0xa)+-parseInt(_0xb1a3cb(0x81))/0xb*(-parseInt(_0xb1a3cb(0xa5))/0xc);if(_0x47cd31===_0x3fd6ef)break;else _0x18f02f['push'](_0x18f02f['shift']());}catch(_0x529657){_0x18f02f['push'](_0x18f02f['shift']());}}}(_0x1d5b,0xb0f84));export function normalizeDescription(_0x39eb2c){const _0x36e11a=_0x3864;return Array[_0x36e11a(0x87)](_0x39eb2c)||(_0x39eb2c=[_0x39eb2c]),_0x39eb2c[_0x36e11a(0xa1)](_0x1f2123=>{const _0x5c8c59=_0x36e11a,_0x3245c8=_0x1f2123[_0x5c8c59(0x79)][_0x5c8c59(0x75)](/\*/g,''),_0x41bac7=_0x1f2123[_0x5c8c59(0x88)]?_0x5c8c59(0x95)+_0x1f2123[_0x5c8c59(0x88)][_0x5c8c59(0xa4)]+']':'';return'['+_0x1f2123[_0x5c8c59(0x7a)]+']\x20'+_0x3245c8+_0x41bac7;})[_0x36e11a(0x93)](';\x20');}export function renderDescription(_0x4cdca8,_0x436acf){const _0x43fdf3=_0x3864;let _0xe308ba='';return _0xe308ba+=_0x4cdca8[_0x43fdf3(0xa0)]('*')[_0x43fdf3(0xa1)]((_0x3f3e83,_0x409841)=>_0x409841%0x2!=0x0?_0x43fdf3(0x8b)+tn(_0x3f3e83)+_0x43fdf3(0x80):tn(_0x3f3e83))[_0x43fdf3(0x93)](''),_0x436acf&&(_0xe308ba+=_0x43fdf3(0x96)+_0x436acf[_0x43fdf3(0xa4)]+_0x43fdf3(0x7e)+_0x436acf[_0x43fdf3(0x73)]+_0x43fdf3(0x91)),_0xe308ba;}function _0x3864(_0x2a3e93,_0xf9adac){const _0x1d5b59=_0x1d5b();return _0x3864=function(_0x386497,_0x1e8d26){_0x386497=_0x386497-0x70;let _0x51dd49=_0x1d5b59[_0x386497];return _0x51dd49;},_0x3864(_0x2a3e93,_0xf9adac);}function tn(_0x3ad5f6){const _0x58c54f=_0x3864,_0x3991b1=document[_0x58c54f(0xa7)](_0x58c54f(0x9f));return _0x3991b1[_0x58c54f(0x9e)]=_0x3ad5f6,_0x3991b1[_0x58c54f(0xa8)];}export function sortSuggestions(_0x1327a4){const _0x3ef6a7=_0x3864;return _0x1327a4[_0x3ef6a7(0x8f)]((_0x414dd6,_0x3062fc)=>_0x3ef6a7(0x83)===_0x414dd6[_0x3ef6a7(0x7a)]&&_0x3ef6a7(0x83)!==_0x3062fc[_0x3ef6a7(0x7a)]?-0x1:_0x3ef6a7(0x83)!==_0x414dd6[_0x3ef6a7(0x7a)]&&_0x3ef6a7(0x83)===_0x3062fc[_0x3ef6a7(0x7a)]?0x1:_0x3ef6a7(0x7f)==_0x414dd6[_0x3ef6a7(0x7a)]&&_0x3ef6a7(0x7f)!=_0x3062fc[_0x3ef6a7(0x7a)]?-0x1:_0x3ef6a7(0x7f)!=_0x414dd6[_0x3ef6a7(0x7a)]&&_0x3ef6a7(0x7f)==_0x3062fc[_0x3ef6a7(0x7a)]?0x1:0x0);}export function getSelectedSuggestions(_0x1ebaed,_0x1f7fd6){const _0x52b910=_0x3864,_0x298055=Array[_0x52b910(0xa6)](_0x1ebaed[_0x52b910(0x9a)]()),_0xd264af=new Set();for(const _0x4858df of _0x1f7fd6)if(_0x4858df[_0x52b910(0x90)]){for(const _0x4458c7 of _0x298055)for(const _0x588608 of _0x4858df[_0x52b910(0x9a)]())(_0x4458c7[_0x52b910(0x9b)](_0x588608)||_0x1ebaed[_0x52b910(0x70)]&&!_0x4858df[_0x52b910(0xa2)]&&_0x4858df[_0x52b910(0x89)]&&_0x588608[_0x52b910(0x7b)][_0x52b910(0x78)](_0x4458c7[_0x52b910(0x72)]))&&_0xd264af[_0x52b910(0x84)](_0x4858df);}return _0xd264af;}export function getRangesOfBlockGroups(_0x49efc1,_0x489a40){const _0x367b5d=_0x3864;let _0x3c9cbc,_0x5d9f3d=0x0;const _0xecf3a4=[],_0xe0379a=_0x489a40[_0x367b5d(0x94)];for(;_0x5d9f3d<_0x49efc1[_0x367b5d(0x86)];){const _0x181b72=_0x49efc1[_0x5d9f3d],_0x45367f=_0x49efc1[_0x5d9f3d+0x1];_0x3c9cbc||(_0x3c9cbc=_0x489a40[_0x367b5d(0x7c)](_0x181b72)),nn(_0x489a40,_0x181b72,_0x45367f)||(_0xecf3a4[_0x367b5d(0x98)](_0x489a40[_0x367b5d(0x92)](_0x3c9cbc,_0xe0379a[_0x367b5d(0x82)](_0x181b72)?_0x489a40[_0x367b5d(0x77)](_0x181b72):_0x489a40[_0x367b5d(0x7d)](_0x181b72,_0x367b5d(0x7b)))),_0x3c9cbc=null),_0x5d9f3d++;}return _0xecf3a4;}function nn(_0x384fad,_0x29da6e,_0x4a33fc){const _0x4d53a6=_0x3864;if(!_0x4a33fc)return!0x1;const _0xd076bc=_0x384fad[_0x4d53a6(0x77)](_0x29da6e),_0x286267=_0x384fad[_0x4d53a6(0x7c)](_0x4a33fc);return _0xd076bc[_0x4d53a6(0x78)](_0x286267);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x460e66,_0x5e3d7b,_0x3e9c5b){const _0x4fed4b=_0x3864;for(;_0x3e9c5b[_0x4fed4b(0x86)];){const _0x58f6ff=_0x3e9c5b[_0x4fed4b(0x99)](0x0,0x64);_0x460e66[_0x4fed4b(0x76)](()=>{const _0x436979=_0x4fed4b;for(const _0x17126e of _0x58f6ff)_0x17126e[_0x436979(0x90)]&&_0x5e3d7b[_0x436979(0xa3)](_0x17126e['id']);});}}function _0x1d5b(){const _0x15eb74=['isMultiRange','execute','value','72JjkGHQ','from','createElement','innerHTML','isCollapsed','472476imJarB','start','title','572384UYQwCX','replace','change','createPositionAfter','isTouching','content','type','end','createPositionBefore','createPositionAt','\x22\x20title=\x22','deletion','</span>','1652882CLhmip','isObject','attribute','add','4UrDEkk','length','isArray','color','next','443902KncxRn','<span\x20class=\x22ck-suggestion-type\x22>','367839yqBBqy','36zzWLnW','80VGlyUs','sort','isInContent','\x22></span>','createRange','join','schema','\x20[color\x20','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','2208396xUJPRF','push','splice','getRanges','isIntersecting','3470910APmxsY','133LKoCbr','innerText','span','split','map'];_0x1d5b=function(){return _0x15eb74;};return _0x1d5b();}
|