@ckeditor/ckeditor5-track-changes 47.6.0-alpha.8 → 47.6.0-alpha.9
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 +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12fd29=_0x5a73;function _0x5a73(_0x25bb77,_0x34a3e7){const _0x4b0260=_0x4b02();return _0x5a73=function(_0x5a73f6,_0x193d8c){_0x5a73f6=_0x5a73f6-0x1c1;let _0x457736=_0x4b0260[_0x5a73f6];return _0x457736;},_0x5a73(_0x25bb77,_0x34a3e7);}function _0x4b02(){const _0xb36454=['930535DjAvwZ','1667854dleCaS','config','4wYKSmc','requires','TrackChangesPreview','define','3yVNimP','13509hhqvWi','pluginName','appendChild','669606dIBOFW','commands','2008QvZFFB','isOfficialPlugin','add','712444JxMqGb','5535200ZRmGDI','editor','isPremiumPlugin','trackChanges.preview.renderFunction','5518044TetEdi','previewFinalContent'];_0x4b02=function(){return _0xb36454;};return _0x4b02();}(function(_0x31048c,_0x23e927){const _0x4d33ac=_0x5a73,_0x25271b=_0x31048c();while(!![]){try{const _0x728f21=-parseInt(_0x4d33ac(0x1c2))/0x1+parseInt(_0x4d33ac(0x1ca))/0x2*(parseInt(_0x4d33ac(0x1d0))/0x3)+parseInt(_0x4d33ac(0x1cc))/0x4*(-parseInt(_0x4d33ac(0x1c9))/0x5)+-parseInt(_0x4d33ac(0x1d4))/0x6+parseInt(_0x4d33ac(0x1c7))/0x7+-parseInt(_0x4d33ac(0x1d6))/0x8*(-parseInt(_0x4d33ac(0x1d1))/0x9)+-parseInt(_0x4d33ac(0x1c3))/0xa;if(_0x728f21===_0x23e927)break;else _0x25271b['push'](_0x25271b['shift']());}catch(_0x4e80e4){_0x25271b['push'](_0x25271b['shift']());}}}(_0x4b02,0x6a462));import{Plugin as _0x16289a}from'ckeditor5/src/core.js';import{Dialog as _0x41d7eb}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1ac459}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x1ff7e4}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x16289a{static get[_0x12fd29(0x1cd)](){return[_0x1ac459,_0x41d7eb];}static get[_0x12fd29(0x1d2)](){const _0x45f91b=_0x12fd29;return _0x45f91b(0x1ce);}static get[_0x12fd29(0x1d7)](){return!0x0;}static get[_0x12fd29(0x1c5)](){return!0x0;}constructor(_0x15e73f){const _0x3298a2=_0x12fd29;super(_0x15e73f),_0x15e73f[_0x3298a2(0x1d5)][_0x3298a2(0x1c1)](_0x3298a2(0x1c8),new _0x1ff7e4(this[_0x3298a2(0x1c4)])),_0x15e73f[_0x3298a2(0x1cb)][_0x3298a2(0x1cf)](_0x3298a2(0x1c6),(_0xaddb37,_0x2f6269)=>{const _0xdea7e6=_0x3298a2;for(const _0x5a2639 of _0x2f6269)_0xaddb37[_0xdea7e6(0x1d3)](_0x5a2639);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52692d=_0x34d8;(function(_0x466d76,_0x395802){const _0x20a434=_0x34d8,_0x449e59=_0x466d76();while(!![]){try{const _0x14a4a4=parseInt(_0x20a434(0x240))/0x1*(parseInt(_0x20a434(0x1c6))/0x2)+parseInt(_0x20a434(0x241))/0x3*(-parseInt(_0x20a434(0x22b))/0x4)+-parseInt(_0x20a434(0x1d4))/0x5+-parseInt(_0x20a434(0x208))/0x6+-parseInt(_0x20a434(0x21f))/0x7+-parseInt(_0x20a434(0x1c4))/0x8+parseInt(_0x20a434(0x215))/0x9;if(_0x14a4a4===_0x395802)break;else _0x449e59['push'](_0x449e59['shift']());}catch(_0x275940){_0x449e59['push'](_0x449e59['shift']());}}}(_0x414c,0x56f2e));import{Plugin as _0x1a5286}from'ckeditor5/src/core.js';import{Collection as _0x25b009}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x55213a}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xb4808a,createDropdown as _0x16c5da,ListSeparatorView as _0x17a01e,MenuBarMenuView as _0x126079,MenuBarMenuListView as _0x1d296b,MenuBarMenuListItemView as _0x1a1f75,MenuBarMenuListItemButtonView as _0x71a5be,SplitButtonView as _0xce8529,UIModel as _0x278e83}from'ckeditor5/src/ui.js';import{Users as _0x40b629,getDateTimeFormatter as _0x162937,getAllMarkersDomElementsSorted as _0x521e90}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2a3af3}from'./trackchangesediting.js';function _0x414c(){const _0x4a1254=['remove','addMany','createAnnotationView','getAllAdjacentSuggestions','menuitemcheckbox','isInContent','toMany','from','Accept\x20all\x20selected\x20suggestions','13044258QqZaYP','model','comments','acceptAllSuggestions','switchbutton','addComment','isOn','suggestionLoaded','getSuggestionForAnnotation','_bindAnnotationToEditors','182245DemnXi','items','acceptSelectedSuggestions','_handleSuggestionControllerDelayed','some','_createToolbarButton','isPremiumPlugin','Accept\x20all\x20suggestions','clear','keys','config','head','108PisHSq','_createMenuBarMenu','pluginName','_addUIComponentsToFactory','fire','descriptionParts','SuggestionThreadView','hasSuggestion','type','Discard\x20all\x20selected\x20suggestions','focus','innerView','plugins','add','getJoined','escape','TrackChangesPreview','get','button','_handleControllerBuffer','featureNotAllowed','239OdjRQn','25404LuEFaP','licenseKey','refreshSelectedViews','_disableComments','expired','trackChanges','_showLicenseError','registerAnnotation','activeAnnotations','EditorAnnotations','addSourceCollector','push','_updateController','_refreshActiveMarkers','editor','listenTo','buttonView','menu','Discard\x20all\x20suggestions','TrackChangesUI','comments.editorConfig','comments.maxThreadTotalWeight','getMarkerNames','descriptionFactory','commentsListView','trackChanges.SuggestionThreadView','_viewToController','CommentView','evaluationLimit','trackChanges.disableComments','TrackChangesEditing','getMarkers','trackChangesLicenseKeyEvaluationLimit','filter','menuBar:trackChanges','mainView','has','actionView','activeMarkers','editing','getSuggestion','previous','lowest','bind','suggestionChanged','requires','trackChangesLicenseKeyDomainLimit','reduce','domainLimit','delete','1299640yAuqiR','getRanges','556bupANn','comments.maxCommentsWhenCollapsed','commandName','suggestionUnloaded','children','init','CommentsRepository','getDescriptions','define','trackChanges.SuggestionView','TrackChanges','suggestionView','menuitem','unbind','1044080stZUKt','change:previous','values','componentFactory','isOfficialPlugin','getAnnotationForSuggestion','acceptButton','_suggestionToController','locale','CommentsUI','destroy','_annotationViews','trackChangesLicenseKeyExpired','suggestion-','Annotations','trackChangesLicenseKeyValid','_unbindEditors','size','previewFinalContent','view','discardSelectedSuggestions','invalid','set','comments.maxCommentCharsWhenCollapsed','delegate','_initializeController','panelView','getFirstRange','source','arrowView','getByInnerView','execute','trackChangesLicenseKeyNotAllowed','createAnnotation','change:activeAnnotations','trackChangesLicenseKeyInvalid','commands','isEnabled','separator','usageLimit','SuggestionView','discardButton','discardAllSuggestions','createCommentThreadController','Track\x20changes','_licenseKeyCheckInterval','stopListening','Preview\x20final\x20content','length','commentThread','value','trackChangesLicenseKeyUsageLimit','3202320vAXWvt','isDirty','isMultiRange','_destroyController'];_0x414c=function(){return _0x4a1254;};return _0x414c();}import{SuggestionController as _0x3632db}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x36bf58}from'./ui/view/suggestionthreadview.js';function _0x34d8(_0x5b5261,_0xb1487){const _0x414ca3=_0x414c();return _0x34d8=function(_0x34d854,_0x322c64){_0x34d854=_0x34d854-0x1c2;let _0x49ad10=_0x414ca3[_0x34d854];return _0x49ad10;},_0x34d8(_0x5b5261,_0xb1487);}import{SuggestionView as _0x2ddcc0}from'./ui/view/suggestionview.js';import{getTranslation as _0x544a2e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1a5286{[_0x52692d(0x242)];[_0x52692d(0x201)];[_0x52692d(0x1db)];[_0x52692d(0x25b)];[_0x52692d(0x1df)];[_0x52692d(0x23e)];[_0x52692d(0x244)];static get[_0x52692d(0x26e)](){const _0x1e5371=_0x52692d;return[_0x2a3af3,_0x40b629,_0x1e5371(0x1cc),_0x1e5371(0x1e2),_0x1e5371(0x24a)];}static get[_0x52692d(0x22d)](){const _0x52dfab=_0x52692d;return _0x52dfab(0x254);}static get[_0x52692d(0x1d8)](){return!0x0;}static get[_0x52692d(0x225)](){return!0x0;}constructor(_0x1577ab){const _0x51d2e9=_0x52692d;super(_0x1577ab),this[_0x51d2e9(0x1db)]=new Map(),this[_0x51d2e9(0x25b)]=new Map(),this[_0x51d2e9(0x1df)]=new Map(),this[_0x51d2e9(0x23e)]=new Map();const _0x335000=this[_0x51d2e9(0x24f)][_0x51d2e9(0x229)];_0x335000[_0x51d2e9(0x1ce)](_0x51d2e9(0x25a),_0x36bf58),_0x335000[_0x51d2e9(0x1ce)](_0x51d2e9(0x1cf),_0x2ddcc0),_0x335000[_0x51d2e9(0x1ce)](_0x51d2e9(0x25e),!0x1),this[_0x51d2e9(0x244)]=_0x335000[_0x51d2e9(0x23c)](_0x51d2e9(0x25e));}[_0x52692d(0x222)](_0x31787a,_0xa9e499){const _0x1138fd=_0x52692d;0x0===this[_0x1138fd(0x23e)][_0x1138fd(0x1e5)]&&setTimeout(()=>{const _0x1043fe=_0x1138fd;for(const [_0x5d16b5,_0x3cf917]of this[_0x1043fe(0x23e)]){const _0x21dc33=this[_0x1043fe(0x1db)][_0x1043fe(0x265)](_0x5d16b5);_0x21dc33||_0x3cf917?_0x21dc33&&_0x3cf917&&this[_0x1043fe(0x20b)](_0x5d16b5):this[_0x1043fe(0x1ed)](_0x5d16b5);}this[_0x1043fe(0x23e)][_0x1043fe(0x227)](),this[_0x1043fe(0x24f)][_0x1043fe(0x237)][_0x1043fe(0x23c)](_0x1043fe(0x24a))[_0x1043fe(0x243)](),this[_0x1043fe(0x24e)]();},0xa),this[_0x1138fd(0x23e)][_0x1138fd(0x1ea)](_0x31787a,_0xa9e499);}[_0x52692d(0x1cb)](){const _0x2704e4=_0x52692d,_0x446b7e=this[_0x2704e4(0x24f)],_0x4a6411=_0x446b7e[_0x2704e4(0x237)][_0x2704e4(0x23c)](_0x2704e4(0x25f)),_0x57dbd0=_0x446b7e[_0x2704e4(0x237)][_0x2704e4(0x23c)](_0x2704e4(0x1e2)),_0x33f4bd=_0x446b7e[_0x2704e4(0x237)][_0x2704e4(0x23c)](_0x2704e4(0x24a)),_0x157f6f=_0x446b7e[_0x2704e4(0x237)][_0x2704e4(0x23c)](_0x2704e4(0x1cc));this[_0x2704e4(0x22e)](),_0x33f4bd[_0x2704e4(0x24b)](()=>{const _0x38aa4e=_0x2704e4,_0x413356=[];for(const [_0x48a746,_0x390f15]of Array[_0x38aa4e(0x213)](this[_0x38aa4e(0x1db)])){const _0x4eac9b=_0x48a746[_0x38aa4e(0x20f)](),_0x3de2ac=[];for(const _0x1bf4f6 of _0x4eac9b){if(!_0x1bf4f6[_0x38aa4e(0x211)])continue;if(_0x1bf4f6[_0x38aa4e(0x20a)]){_0x3de2ac[_0x38aa4e(0x24c)](..._0x1bf4f6[_0x38aa4e(0x1c5)]());continue;}const _0x1d5e4d=_0x1bf4f6[_0x38aa4e(0x1ef)]();if(_0x3de2ac[_0x38aa4e(0x204)]>0x0){const _0x560d72=_0x3de2ac[0x0][_0x38aa4e(0x239)](_0x1d5e4d);if(_0x560d72){_0x3de2ac[0x0]=_0x560d72;continue;}}_0x3de2ac[_0x38aa4e(0x24c)](_0x1d5e4d);}_0x413356[_0x38aa4e(0x24c)]([_0x390f15[_0x38aa4e(0x1e7)],_0x3de2ac]);}return _0x413356;}),this[_0x2704e4(0x250)](_0x4a6411,_0x2704e4(0x21c),(_0x13830b,_0x17ea66)=>{const _0x51a859=_0x2704e4;this[_0x51a859(0x250)](_0x17ea66,_0x51a859(0x1d5),(_0x51730e,_0xf71796,_0x4fa7a8,_0xa3d1db)=>{const _0x261e26=_0x51a859;_0x17ea66[_0x261e26(0x211)]&&(null==_0x4fa7a8?(this[_0x261e26(0x24d)](_0xa3d1db[_0x261e26(0x22a)]),this[_0x261e26(0x222)](_0x17ea66,!0x1)):(this[_0x261e26(0x24d)](_0x4fa7a8[_0x261e26(0x22a)]),null==_0xa3d1db&&this[_0x261e26(0x222)](_0x17ea66,!0x0)));}),null!==_0x17ea66[_0x51a859(0x26a)]?this[_0x51a859(0x24d)](_0x17ea66[_0x51a859(0x22a)]):this[_0x51a859(0x222)](_0x17ea66,!0x1);}),this[_0x2704e4(0x250)](_0x4a6411,_0x2704e4(0x1c9),(_0x3cf264,_0x188537,_0x3d6471)=>{const _0x23842d=_0x2704e4;this[_0x23842d(0x202)](_0x188537,_0x23842d(0x1d5)),this[_0x23842d(0x23e)][_0x23842d(0x1c3)](_0x188537),this[_0x23842d(0x1db)][_0x23842d(0x265)](_0x188537)&&this[_0x23842d(0x20b)](_0x188537),_0x3d6471&&this[_0x23842d(0x24d)](_0x3d6471[_0x23842d(0x22a)]);}),this[_0x2704e4(0x250)](_0x4a6411,_0x2704e4(0x26d),(_0x5ab39,_0x15afdf)=>{const _0x4f84e4=_0x2704e4;this[_0x4f84e4(0x24d)](_0x15afdf);}),this[_0x2704e4(0x250)](_0x57dbd0,_0x2704e4(0x1f6),()=>{const _0xeaa84b=_0x2704e4;this[_0xeaa84b(0x24e)]();}),this[_0x2704e4(0x250)](_0x157f6f,_0x2704e4(0x21a),(_0x23a80f,{threadId:_0x40562c,isFromAdapter:_0x6d0395})=>{const _0x1a75ec=_0x2704e4;if(_0x6d0395||!_0x4a6411[_0x1a75ec(0x232)](_0x40562c))return;const _0x43db35=_0x4a6411[_0x1a75ec(0x269)](_0x40562c);this[_0x1a75ec(0x1db)][_0x1a75ec(0x23c)](_0x43db35)[_0x1a75ec(0x1e7)][_0x1a75ec(0x259)][_0x1a75ec(0x235)](-0x1);},{'priority':_0x2704e4(0x26b)}),this[_0x2704e4(0x242)]=this[_0x2704e4(0x24f)][_0x2704e4(0x229)][_0x2704e4(0x23c)](_0x2704e4(0x242));const _0xea3110=this[_0x2704e4(0x24f)];this[_0x2704e4(0x201)]=setInterval(()=>{const _0x179a15=_0x2704e4;let _0x3b7c2c;for(const _0x5e2714 in _0xea3110){const _0x50abf1=_0x5e2714,_0x596ebe=_0xea3110[_0x50abf1];if(_0x179a15(0x1e3)==_0x596ebe||_0x179a15(0x1f7)==_0x596ebe||_0x179a15(0x1e0)==_0x596ebe||_0x179a15(0x26f)==_0x596ebe||_0x179a15(0x1f4)==_0x596ebe||_0x179a15(0x261)==_0x596ebe||_0x179a15(0x207)==_0x596ebe){delete _0xea3110[_0x50abf1],_0x3b7c2c=_0x596ebe,clearInterval(this[_0x179a15(0x201)]),this[_0x179a15(0x201)]=void 0x0;break;}}_0x179a15(0x1f7)==_0x3b7c2c&&_0xea3110[_0x179a15(0x247)](_0x179a15(0x1e9)),_0x179a15(0x1e0)==_0x3b7c2c&&_0xea3110[_0x179a15(0x247)](_0x179a15(0x245)),_0x179a15(0x26f)==_0x3b7c2c&&_0xea3110[_0x179a15(0x247)](_0x179a15(0x1c2)),_0x179a15(0x1f4)==_0x3b7c2c&&_0xea3110[_0x179a15(0x247)](_0x179a15(0x23f),_0x179a15(0x1d0)),_0x179a15(0x261)==_0x3b7c2c&&_0xea3110[_0x179a15(0x247)](_0x179a15(0x25d)),_0x179a15(0x207)==_0x3b7c2c&&_0xea3110[_0x179a15(0x247)](_0x179a15(0x1fb));},0x3e8);}[_0x52692d(0x1d9)](_0xec4d28){const _0x4a0edc=_0x52692d,_0x3af622=this[_0x4a0edc(0x1db)][_0x4a0edc(0x23c)](_0xec4d28);if(!_0x3af622)return null;return this[_0x4a0edc(0x24f)][_0x4a0edc(0x237)][_0x4a0edc(0x23c)](_0x4a0edc(0x1e2))[_0x4a0edc(0x1f2)](_0x3af622[_0x4a0edc(0x1e7)])||null;}[_0x52692d(0x21d)](_0x1016e7){const _0x22793b=_0x52692d,_0x18dba6=this[_0x22793b(0x25b)][_0x22793b(0x23c)](_0x1016e7[_0x22793b(0x236)]);return _0x18dba6?_0x18dba6[_0x22793b(0x216)]:null;}[_0x52692d(0x24e)](){const _0x250dfe=_0x52692d,_0x5646bd=this[_0x250dfe(0x24f)][_0x250dfe(0x237)][_0x250dfe(0x23c)](_0x250dfe(0x1e2)),_0x120dd4=this[_0x250dfe(0x24f)][_0x250dfe(0x237)][_0x250dfe(0x23c)](_0x250dfe(0x25f)),_0x5818df=Array[_0x250dfe(0x213)](_0x5646bd[_0x250dfe(0x249)],_0x34f110=>_0x34f110[_0x250dfe(0x236)])[_0x250dfe(0x262)](_0xfed66a=>this[_0x250dfe(0x25b)][_0x250dfe(0x265)](_0xfed66a)),_0x29468d=[];for(const _0x2f0c19 of _0x5818df){const _0x1765db=this[_0x250dfe(0x25b)][_0x250dfe(0x23c)](_0x2f0c19)[_0x250dfe(0x216)][_0x250dfe(0x20f)]();_0x29468d[_0x250dfe(0x24c)](..._0x1765db[_0x250dfe(0x270)]((_0x1a1267,_0x503e83)=>[..._0x1a1267,..._0x503e83[_0x250dfe(0x257)]()],[]));}_0x120dd4[_0x250dfe(0x267)]=_0x29468d;}[_0x52692d(0x22e)](){const _0x58ae33=_0x52692d,_0x1e1d58=this[_0x58ae33(0x24f)],_0x7c1df2=_0x1e1d58[_0x58ae33(0x1dc)],_0x576e63=_0x544a2e(_0x7c1df2,_0x58ae33(0x200)),_0x363a53=new _0x25b009([{'type':_0x58ae33(0x219),'model':new _0x278e83({'withText':!0x0,'isToggleable':!0x0,'label':_0x576e63,'commandName':_0x58ae33(0x246),'role':_0x58ae33(0x210)})},{'type':_0x58ae33(0x1fa)},{'type':_0x58ae33(0x23d),'model':new _0x278e83({'withText':!0x0,'label':_0x544a2e(_0x7c1df2,_0x58ae33(0x226)),'commandName':_0x58ae33(0x218),'role':_0x58ae33(0x1d2)})},{'type':_0x58ae33(0x23d),'model':new _0x278e83({'withText':!0x0,'label':_0x544a2e(_0x7c1df2,_0x58ae33(0x214)),'commandName':_0x58ae33(0x221),'role':_0x58ae33(0x1d2)})},{'type':_0x58ae33(0x23d),'model':new _0x278e83({'withText':!0x0,'label':_0x544a2e(_0x7c1df2,_0x58ae33(0x253)),'commandName':_0x58ae33(0x1fe),'role':_0x58ae33(0x1d2)})},{'type':_0x58ae33(0x23d),'model':new _0x278e83({'withText':!0x0,'label':_0x544a2e(_0x7c1df2,_0x58ae33(0x234)),'commandName':_0x58ae33(0x1e8),'role':_0x58ae33(0x1d2)})}]);_0x1e1d58[_0x58ae33(0x237)][_0x58ae33(0x265)](_0x58ae33(0x23b))&&_0x363a53[_0x58ae33(0x20d)]([{'type':_0x58ae33(0x1fa)},{'type':_0x58ae33(0x23d),'model':new _0x278e83({'withText':!0x0,'label':_0x544a2e(_0x7c1df2,_0x58ae33(0x203)),'commandName':_0x58ae33(0x1e6),'role':_0x58ae33(0x1d2)})}]);for(const _0x41e7a0 of _0x363a53)if(ke(_0x41e7a0)){const _0x4f40e6=_0x1e1d58[_0x58ae33(0x1f8)][_0x58ae33(0x23c)](_0x41e7a0[_0x58ae33(0x216)][_0x58ae33(0x1c8)]);_0x41e7a0[_0x58ae33(0x216)][_0x58ae33(0x26c)](_0x58ae33(0x21b),_0x58ae33(0x1f9))['to'](_0x4f40e6,_0x58ae33(0x206),_0x58ae33(0x1f9));}_0x1e1d58['ui'][_0x58ae33(0x1d7)][_0x58ae33(0x238)](_0x58ae33(0x246),_0x214f64=>this[_0x58ae33(0x224)](_0x214f64,_0x363a53,_0x576e63)),_0x1e1d58['ui'][_0x58ae33(0x1d7)][_0x58ae33(0x238)](_0x58ae33(0x263),_0x10ca27=>this[_0x58ae33(0x22c)](_0x10ca27,_0x363a53,_0x576e63));}[_0x52692d(0x224)](_0x3920cf,_0x231cb6,_0x3a0db2){const _0x25816b=_0x52692d,_0x3724ee=_0x16c5da(_0x3920cf,_0xce8529),_0x3e1d72=this[_0x25816b(0x24f)][_0x25816b(0x1f8)][_0x25816b(0x23c)](_0x25816b(0x246));_0x3724ee[_0x25816b(0x251)][_0x25816b(0x1ea)]({'tooltip':_0x3a0db2,'label':_0x3a0db2,'icon':_0x55213a}),_0x3724ee[_0x25816b(0x251)][_0x25816b(0x26c)](_0x25816b(0x21b))['to'](_0x3e1d72,_0x25816b(0x206)),_0x3724ee[_0x25816b(0x251)]['on'](_0x25816b(0x1f3),()=>{const _0x457a52=_0x25816b;_0x3e1d72[_0x457a52(0x1f3)](),this[_0x457a52(0x24f)][_0x457a52(0x268)][_0x457a52(0x1e7)][_0x457a52(0x235)]();}),_0xb4808a(_0x3724ee,_0x231cb6,{'role':_0x25816b(0x252)});const _0x478eca=[];for(const _0x3c774a of _0x231cb6)ke(_0x3c774a)&&_0x478eca[_0x25816b(0x24c)](this[_0x25816b(0x24f)][_0x25816b(0x1f8)][_0x25816b(0x23c)](_0x3c774a[_0x25816b(0x216)][_0x25816b(0x1c8)]));const _0x99effc=_0x3724ee[_0x25816b(0x251)];return _0x99effc[_0x25816b(0x266)][_0x25816b(0x1d3)](_0x25816b(0x1f9)),_0x99effc[_0x25816b(0x1f1)][_0x25816b(0x1d3)](_0x25816b(0x1f9)),_0x99effc[_0x25816b(0x266)][_0x25816b(0x26c)](_0x25816b(0x1f9))['to'](_0x3e1d72,_0x25816b(0x1f9)),_0x99effc[_0x25816b(0x1f1)][_0x25816b(0x26c)](_0x25816b(0x1f9))[_0x25816b(0x212)](_0x478eca,_0x25816b(0x1f9),(..._0x2de3cc)=>_0x2de3cc[_0x25816b(0x223)](_0x2c846e=>_0x2c846e)),_0x3724ee['on'](_0x25816b(0x1f3),_0x3250ea=>{const _0x5e16c7=_0x25816b;this[_0x5e16c7(0x24f)][_0x5e16c7(0x1f3)](_0x3250ea[_0x5e16c7(0x1f0)][_0x5e16c7(0x1c8)]),this[_0x5e16c7(0x24f)][_0x5e16c7(0x268)][_0x5e16c7(0x1e7)][_0x5e16c7(0x235)]();}),_0x3724ee;}[_0x52692d(0x22c)](_0x512e0d,_0x275acd,_0x1a5891){const _0x3ab6c3=_0x52692d,_0x40305f=new _0x126079(_0x512e0d),_0x5b650b=this[_0x3ab6c3(0x24f)][_0x3ab6c3(0x1f8)][_0x3ab6c3(0x23c)](_0x3ab6c3(0x246));_0x40305f[_0x3ab6c3(0x251)][_0x3ab6c3(0x1ea)]({'label':_0x1a5891,'icon':_0x55213a});const _0x44add2=new _0x1d296b(_0x512e0d);for(const _0x1ba95f of _0x275acd){if(_0x3ab6c3(0x1fa)==_0x1ba95f[_0x3ab6c3(0x233)]){_0x44add2[_0x3ab6c3(0x220)][_0x3ab6c3(0x238)](new _0x17a01e(_0x512e0d));continue;}const _0x328809=new _0x1a1f75(_0x512e0d,_0x40305f),_0x59ac09=new _0x71a5be(_0x512e0d),_0x38fc80=_0x1ba95f[_0x3ab6c3(0x216)];_0x59ac09[_0x3ab6c3(0x26c)](...Object[_0x3ab6c3(0x228)](_0x38fc80))['to'](_0x38fc80),_0x59ac09[_0x3ab6c3(0x1ec)](_0x3ab6c3(0x1f3))['to'](_0x40305f),_0x59ac09['on'](_0x3ab6c3(0x1f3),()=>{const _0x3725d0=_0x3ab6c3;this[_0x3725d0(0x24f)][_0x3725d0(0x1f3)](_0x38fc80[_0x3725d0(0x1c8)]),this[_0x3725d0(0x24f)][_0x3725d0(0x268)][_0x3725d0(0x1e7)][_0x3725d0(0x235)]();}),_0x328809[_0x3ab6c3(0x1ca)][_0x3ab6c3(0x238)](_0x59ac09),_0x44add2[_0x3ab6c3(0x220)][_0x3ab6c3(0x238)](_0x328809);}return _0x40305f[_0x3ab6c3(0x26c)](_0x3ab6c3(0x1f9))['to'](_0x5b650b,_0x3ab6c3(0x1f9)),_0x40305f[_0x3ab6c3(0x1ee)][_0x3ab6c3(0x1ca)][_0x3ab6c3(0x238)](_0x44add2),_0x40305f;}[_0x52692d(0x1ed)](_0x128dc8){const _0x865ecd=_0x52692d,_0x2ba573=this[_0x865ecd(0x24f)],_0x110ff7=_0x2ba573[_0x865ecd(0x229)],_0x3219e2=_0x2ba573[_0x865ecd(0x237)][_0x865ecd(0x23c)](_0x865ecd(0x1e2)),_0x3ef0e7=_0x2ba573[_0x865ecd(0x237)][_0x865ecd(0x23c)](_0x865ecd(0x1cc)),_0x4c0fb9=_0x2ba573[_0x865ecd(0x237)][_0x865ecd(0x23c)](_0x865ecd(0x24a)),_0x22c2eb=_0x2ba573[_0x865ecd(0x237)][_0x865ecd(0x23c)](_0x40b629)['me'],_0x132c7d=_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x246))[_0x865ecd(0x231)],_0x932709=_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x246))[_0x865ecd(0x1fc)],{CommentsListView:_0x274aba,CommentThreadInputView:_0x21addd}=_0x2ba573[_0x865ecd(0x237)][_0x865ecd(0x23c)](_0x865ecd(0x1dd));let _0xf9977,_0x404649,_0x23a07e;this[_0x865ecd(0x1df)][_0x865ecd(0x265)](_0x128dc8['id'])?(_0x404649=this[_0x865ecd(0x1df)][_0x865ecd(0x23c)](_0x128dc8['id']),_0xf9977=_0x404649[_0x865ecd(0x264)]):(_0xf9977=new _0x132c7d(_0x2ba573[_0x865ecd(0x1dc)],_0x128dc8,_0x22c2eb,{'disableComments':this[_0x865ecd(0x244)],'editorConfig':{..._0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x255)),'licenseKey':_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x242))},'maxCommentsWhenCollapsed':_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x1c7)),'maxThreadTotalWeight':_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x256)),'maxCommentCharsWhenCollapsed':_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x1eb)),'formatDateTime':_0x162937(_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x1dc)),_0x2ba573[_0x865ecd(0x1dc)]),'CommentView':_0x110ff7[_0x865ecd(0x23c)](_0x865ecd(0x217))[_0x865ecd(0x25c)],'CommentsListView':_0x274aba,'CommentThreadInputView':_0x21addd,'SuggestionView':_0x932709}),_0xf9977[_0x865ecd(0x1d1)][_0x865ecd(0x1da)]['on'](_0x865ecd(0x1f3),()=>{const _0x445c34=_0x865ecd;_0x2ba573[_0x445c34(0x268)][_0x445c34(0x1e7)][_0x445c34(0x235)]();}),_0xf9977[_0x865ecd(0x1d1)][_0x865ecd(0x1fd)]['on'](_0x865ecd(0x1f3),()=>{const _0x282aaf=_0x865ecd;_0x2ba573[_0x282aaf(0x268)][_0x282aaf(0x1e7)][_0x282aaf(0x235)]();}),_0x404649=_0x3219e2[_0x865ecd(0x20e)](this[_0x865ecd(0x24f)][_0x865ecd(0x1dc)],_0xf9977),_0x404649[_0x865ecd(0x26c)](_0x865ecd(0x209))['to'](_0xf9977,_0x865ecd(0x209)),_0x404649[_0x865ecd(0x26c)](_0x865ecd(0x204))['to'](_0xf9977),_0x404649[_0x865ecd(0x26c)](_0x865ecd(0x233))['to'](_0xf9977,_0x865ecd(0x233),_0x497ac7=>_0x865ecd(0x1e1)+_0x497ac7),_0xf9977['on'](_0x865ecd(0x23a),()=>{const _0x2a0a44=_0x865ecd;_0x23a07e[_0x2a0a44(0x22f)](_0x2a0a44(0x23a));}),this[_0x865ecd(0x1df)][_0x865ecd(0x1ea)](_0x128dc8['id'],_0x404649));const _0x11e1f2=_0x3ef0e7[_0x865ecd(0x1ff)](_0x128dc8[_0x865ecd(0x205)],_0xf9977),_0x14d88e=new _0x3632db(_0x2ba573,_0x128dc8,_0xf9977,_0x11e1f2),_0x2ea01b=_0x128dc8[_0x865ecd(0x20f)]()[_0x865ecd(0x262)](_0xa5d85c=>_0xa5d85c[_0x865ecd(0x211)]);_0xf9977[_0x865ecd(0x230)]=_0x2ba573[_0x865ecd(0x237)][_0x865ecd(0x23c)](_0x865ecd(0x25f))[_0x865ecd(0x258)][_0x865ecd(0x1cd)](_0x2ea01b),this[_0x865ecd(0x1db)][_0x865ecd(0x1ea)](_0x128dc8,_0x14d88e),this[_0x865ecd(0x25b)][_0x865ecd(0x1ea)](_0xf9977,_0x14d88e);const _0xdf9eeb=()=>{const _0x58e4da=_0x865ecd,_0xcab7ac=[],_0x190641=_0x128dc8[_0x58e4da(0x20f)]()[_0x58e4da(0x262)](_0x257f6b=>_0x257f6b[_0x58e4da(0x211)]);for(const _0x372d6c of _0x190641)_0xcab7ac[_0x58e4da(0x24c)](..._0x372d6c[_0x58e4da(0x260)]());return _0x521e90(_0x2ba573[_0x58e4da(0x268)],_0xcab7ac);};_0x23a07e=_0x3219e2[_0x865ecd(0x1f5)]({'view':_0x404649,'target':_0xdf9eeb,'type':()=>_0x865ecd(0x1e1)+_0x14d88e[_0x865ecd(0x1e7)][_0x865ecd(0x233)],'isVisible':!!_0xdf9eeb()}),_0x3ef0e7[_0x865ecd(0x21e)](_0xf9977,_0x23a07e),_0x3219e2[_0x865ecd(0x238)](_0x23a07e),_0x4c0fb9[_0x865ecd(0x248)](_0x23a07e);}[_0x52692d(0x20b)](_0x2a8fff){const _0x454749=_0x52692d,_0x537089=this[_0x454749(0x24f)][_0x454749(0x237)][_0x454749(0x23c)](_0x454749(0x1cc)),_0xee3743=this[_0x454749(0x24f)][_0x454749(0x237)][_0x454749(0x23c)](_0x454749(0x1e2)),_0x43548c=this[_0x454749(0x1db)][_0x454749(0x23c)](_0x2a8fff),_0x20b4cf=_0x43548c[_0x454749(0x1e7)],_0x16cda6=_0xee3743[_0x454749(0x1f2)](_0x20b4cf);_0x537089[_0x454749(0x1e4)](_0x20b4cf),_0x16cda6&&_0xee3743[_0x454749(0x20c)](_0x16cda6),this[_0x454749(0x1db)][_0x454749(0x1c3)](_0x2a8fff),this[_0x454749(0x25b)][_0x454749(0x1c3)](_0x20b4cf),_0x43548c[_0x454749(0x1de)]();}[_0x52692d(0x24d)](_0x395c89){const _0xe0a0e2=_0x52692d;if(!_0x395c89[_0xe0a0e2(0x211)]||!this[_0xe0a0e2(0x1db)][_0xe0a0e2(0x265)](_0x395c89))return;const _0x5ee611=this[_0xe0a0e2(0x24f)][_0xe0a0e2(0x237)][_0xe0a0e2(0x23c)](_0xe0a0e2(0x25f)),_0x384693=this[_0xe0a0e2(0x1db)][_0xe0a0e2(0x23c)](_0x395c89),_0x479943=_0x395c89[_0xe0a0e2(0x20f)]();_0x384693[_0xe0a0e2(0x1e7)][_0xe0a0e2(0x230)]=_0x5ee611[_0xe0a0e2(0x258)][_0xe0a0e2(0x1cd)](_0x479943);}[_0x52692d(0x1de)](){const _0x1b5c3d=_0x52692d;for(const _0x488e3c of this[_0x1b5c3d(0x1db)][_0x1b5c3d(0x228)]())this[_0x1b5c3d(0x20b)](_0x488e3c);for(const _0x2cddd2 of this[_0x1b5c3d(0x1df)][_0x1b5c3d(0x1d6)]())_0x2cddd2[_0x1b5c3d(0x264)][_0x1b5c3d(0x1de)]();super[_0x1b5c3d(0x1de)](),this[_0x1b5c3d(0x201)]&&clearInterval(this[_0x1b5c3d(0x201)]);}}function ke(_0x297cc9){const _0x5439e7=_0x52692d;return _0x5439e7(0x216)in _0x297cc9;}
|
|
23
|
+
const _0x38b6bd=_0x33e0;(function(_0x12f0a6,_0x49d02e){const _0x186a39=_0x33e0,_0x4db4a7=_0x12f0a6();while(!![]){try{const _0x5552bd=-parseInt(_0x186a39(0x195))/0x1*(-parseInt(_0x186a39(0x16f))/0x2)+-parseInt(_0x186a39(0x19a))/0x3+parseInt(_0x186a39(0x144))/0x4+-parseInt(_0x186a39(0x175))/0x5*(-parseInt(_0x186a39(0x15a))/0x6)+parseInt(_0x186a39(0x14e))/0x7+parseInt(_0x186a39(0x13a))/0x8+-parseInt(_0x186a39(0x13d))/0x9;if(_0x5552bd===_0x49d02e)break;else _0x4db4a7['push'](_0x4db4a7['shift']());}catch(_0x479bfe){_0x4db4a7['push'](_0x4db4a7['shift']());}}}(_0xcca3,0x512e2));import{Plugin as _0x214342}from'ckeditor5/src/core.js';import{Collection as _0x508f67}from'ckeditor5/src/utils.js';function _0x33e0(_0x2d3b29,_0x42d997){const _0xcca350=_0xcca3();return _0x33e0=function(_0x33e089,_0x3ebb2c){_0x33e089=_0x33e089-0x107;let _0x23f5a3=_0xcca350[_0x33e089];return _0x23f5a3;},_0x33e0(_0x2d3b29,_0x42d997);}import{IconTrackChanges as _0x307242}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2abf0c,createDropdown as _0x7b04d1,ListSeparatorView as _0x289e76,MenuBarMenuView as _0x28c357,MenuBarMenuListView as _0x10a6d3,MenuBarMenuListItemView as _0x3ebee8,MenuBarMenuListItemButtonView as _0x463d34,SplitButtonView as _0x1481ac,UIModel as _0x4bbc2c}from'ckeditor5/src/ui.js';function _0xcca3(){const _0x707b5=['addMany','discardAllSuggestions','discardSelectedSuggestions','editing','trackChanges.disableComments','menu','domainLimit','reduce','_showLicenseError','_refreshActiveMarkers','set','menuitemcheckbox','getAllAdjacentSuggestions','_bindAnnotationToEditors','licenseKey','TrackChangesEditing','delegate','trackChangesLicenseKeyNotAllowed','Track\x20changes','arrowView','head','isOn','EditorAnnotations','isPremiumPlugin','suggestionLoaded','menuBar:trackChanges','clear','_updateController','CommentView','suggestionUnloaded','_suggestionToController','componentFactory','plugins','panelView','_handleControllerBuffer','view','previewFinalContent','size','some','2912224SysCRu','define','isMultiRange','10929717dYgxgf','Discard\x20all\x20selected\x20suggestions','trackChanges.SuggestionThreadView','getRanges','init','add','activeAnnotations','2222952kioVBH','fire','values','length','trackChangesLicenseKeyEvaluationLimit','comments.maxCommentsWhenCollapsed','previous','delete','evaluationLimit','model','3578246QohiBQ','config','listenTo','change:previous','trackChanges.SuggestionView','SuggestionThreadView','focus','execute','actionView','type','invalid','destroy','27942aQnMTk','stopListening','menuitem','comments.maxCommentCharsWhenCollapsed','expired','getMarkers','SuggestionView','suggestion-','separator','trackChangesLicenseKeyDomainLimit','commandName','commands','lowest','discardButton','children','value','trackChangesLicenseKeyValid','push','_createMenuBarMenu','isDirty','hasSuggestion','21314ucEGtH','from','trackChangesLicenseKeyInvalid','usageLimit','TrackChangesPreview','trackChanges','80JsQdoR','acceptSelectedSuggestions','button','featureNotAllowed','descriptionFactory','getSuggestion','_viewToController','CommentsUI','editor','TrackChangesUI','source','createAnnotation','_annotationViews','unbind','_createToolbarButton','getDescriptions','_initializeController','acceptAllSuggestions','Preview\x20final\x20content','bind','filter','comments.maxThreadTotalWeight','escape','Annotations','isOfficialPlugin','getJoined','getSuggestionForAnnotation','_disableComments','CommentsRepository','suggestionChanged','descriptionParts','Accept\x20all\x20suggestions','37EmaDmZ','comments.editorConfig','_destroyController','remove','innerView','1058514cLsTGh','refreshSelectedViews','acceptButton','mainView','commentThread','registerAnnotation','isInContent','trackChangesLicenseKeyExpired','items','_unbindEditors','addSourceCollector','trackChangesLicenseKeyUsageLimit','get','_addUIComponentsToFactory','addComment','_licenseKeyCheckInterval','Discard\x20all\x20suggestions','isEnabled','suggestionView','Accept\x20all\x20selected\x20suggestions','getFirstRange','has','switchbutton','_handleSuggestionControllerDelayed','getAnnotationForSuggestion','buttonView','pluginName','requires','toMany','comments','locale','createCommentThreadController','keys','getMarkerNames','TrackChanges','createAnnotationView','change:activeAnnotations','activeMarkers','commentsListView','getByInnerView'];_0xcca3=function(){return _0x707b5;};return _0xcca3();}import{Users as _0xdc5b3f,getDateTimeFormatter as _0x4d3e7e,getAllMarkersDomElementsSorted as _0x53a1c9}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5eee85}from'./trackchangesediting.js';import{SuggestionController as _0x555b7b}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x14aed6}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x560fd8}from'./ui/view/suggestionview.js';import{getTranslation as _0x47e2a9}from'./utils/common-translations.js';export class TrackChangesUI extends _0x214342{[_0x38b6bd(0x121)];[_0x38b6bd(0x1a9)];[_0x38b6bd(0x131)];[_0x38b6bd(0x17b)];[_0x38b6bd(0x181)];[_0x38b6bd(0x135)];[_0x38b6bd(0x190)];static get[_0x38b6bd(0x1b5)](){const _0x16a90e=_0x38b6bd;return[_0x5eee85,_0xdc5b3f,_0x16a90e(0x191),_0x16a90e(0x18c),_0x16a90e(0x129)];}static get[_0x38b6bd(0x1b4)](){const _0x458406=_0x38b6bd;return _0x458406(0x17e);}static get[_0x38b6bd(0x18d)](){return!0x0;}static get[_0x38b6bd(0x12a)](){return!0x0;}constructor(_0x198aab){const _0x559ee6=_0x38b6bd;super(_0x198aab),this[_0x559ee6(0x131)]=new Map(),this[_0x559ee6(0x17b)]=new Map(),this[_0x559ee6(0x181)]=new Map(),this[_0x559ee6(0x135)]=new Map();const _0x254367=this[_0x559ee6(0x17d)][_0x559ee6(0x14f)];_0x254367[_0x559ee6(0x13b)](_0x559ee6(0x13f),_0x14aed6),_0x254367[_0x559ee6(0x13b)](_0x559ee6(0x152),_0x560fd8),_0x254367[_0x559ee6(0x13b)](_0x559ee6(0x117),!0x1),this[_0x559ee6(0x190)]=_0x254367[_0x559ee6(0x1a6)](_0x559ee6(0x117));}[_0x38b6bd(0x1b1)](_0x302ad7,_0x276112){const _0x8ba4d2=_0x38b6bd;0x0===this[_0x8ba4d2(0x135)][_0x8ba4d2(0x138)]&&setTimeout(()=>{const _0x3fcdac=_0x8ba4d2;for(const [_0x11a36c,_0x1425e1]of this[_0x3fcdac(0x135)]){const _0x1d7d25=this[_0x3fcdac(0x131)][_0x3fcdac(0x1af)](_0x11a36c);_0x1d7d25||_0x1425e1?_0x1d7d25&&_0x1425e1&&this[_0x3fcdac(0x197)](_0x11a36c):this[_0x3fcdac(0x185)](_0x11a36c);}this[_0x3fcdac(0x135)][_0x3fcdac(0x12d)](),this[_0x3fcdac(0x17d)][_0x3fcdac(0x133)][_0x3fcdac(0x1a6)](_0x3fcdac(0x129))[_0x3fcdac(0x19b)](),this[_0x3fcdac(0x11c)]();},0xa),this[_0x8ba4d2(0x135)][_0x8ba4d2(0x11d)](_0x302ad7,_0x276112);}[_0x38b6bd(0x141)](){const _0x32eeb1=_0x38b6bd,_0x2306da=this[_0x32eeb1(0x17d)],_0x76942=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x122)),_0x36e1a5=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x18c)),_0x461ac2=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x129)),_0x5694b7=_0x2306da[_0x32eeb1(0x133)][_0x32eeb1(0x1a6)](_0x32eeb1(0x191));this[_0x32eeb1(0x1a7)](),_0x461ac2[_0x32eeb1(0x1a4)](()=>{const _0x90f03f=_0x32eeb1,_0x480df8=[];for(const [_0x3e92ea,_0x5978a5]of Array[_0x90f03f(0x170)](this[_0x90f03f(0x131)])){const _0x58d894=_0x3e92ea[_0x90f03f(0x11f)](),_0x16d30f=[];for(const _0x376053 of _0x58d894){if(!_0x376053[_0x90f03f(0x1a0)])continue;if(_0x376053[_0x90f03f(0x13c)]){_0x16d30f[_0x90f03f(0x16b)](..._0x376053[_0x90f03f(0x140)]());continue;}const _0x29769b=_0x376053[_0x90f03f(0x1ae)]();if(_0x16d30f[_0x90f03f(0x147)]>0x0){const _0x14417e=_0x16d30f[0x0][_0x90f03f(0x18e)](_0x29769b);if(_0x14417e){_0x16d30f[0x0]=_0x14417e;continue;}}_0x16d30f[_0x90f03f(0x16b)](_0x29769b);}_0x480df8[_0x90f03f(0x16b)]([_0x5978a5[_0x90f03f(0x136)],_0x16d30f]);}return _0x480df8;}),this[_0x32eeb1(0x150)](_0x76942,_0x32eeb1(0x12b),(_0x5ea0a4,_0x46cf27)=>{const _0x25ec76=_0x32eeb1;this[_0x25ec76(0x150)](_0x46cf27,_0x25ec76(0x151),(_0x24d80b,_0x9f3ef2,_0x112883,_0x293208)=>{const _0x1b694b=_0x25ec76;_0x46cf27[_0x1b694b(0x1a0)]&&(null==_0x112883?(this[_0x1b694b(0x12e)](_0x293208[_0x1b694b(0x127)]),this[_0x1b694b(0x1b1)](_0x46cf27,!0x1)):(this[_0x1b694b(0x12e)](_0x112883[_0x1b694b(0x127)]),null==_0x293208&&this[_0x1b694b(0x1b1)](_0x46cf27,!0x0)));}),null!==_0x46cf27[_0x25ec76(0x14a)]?this[_0x25ec76(0x12e)](_0x46cf27[_0x25ec76(0x127)]):this[_0x25ec76(0x1b1)](_0x46cf27,!0x1);}),this[_0x32eeb1(0x150)](_0x76942,_0x32eeb1(0x130),(_0x5415dd,_0x9e086b,_0x1f5c49)=>{const _0x4cf489=_0x32eeb1;this[_0x4cf489(0x15b)](_0x9e086b,_0x4cf489(0x151)),this[_0x4cf489(0x135)][_0x4cf489(0x14b)](_0x9e086b),this[_0x4cf489(0x131)][_0x4cf489(0x1af)](_0x9e086b)&&this[_0x4cf489(0x197)](_0x9e086b),_0x1f5c49&&this[_0x4cf489(0x12e)](_0x1f5c49[_0x4cf489(0x127)]);}),this[_0x32eeb1(0x150)](_0x76942,_0x32eeb1(0x192),(_0x5ba503,_0xcd83ad)=>{const _0x5b8850=_0x32eeb1;this[_0x5b8850(0x12e)](_0xcd83ad);}),this[_0x32eeb1(0x150)](_0x36e1a5,_0x32eeb1(0x10f),()=>{const _0x5e6d59=_0x32eeb1;this[_0x5e6d59(0x11c)]();}),this[_0x32eeb1(0x150)](_0x5694b7,_0x32eeb1(0x1a8),(_0x3cfb2f,{threadId:_0xa37a24,isFromAdapter:_0x333553})=>{const _0x425b24=_0x32eeb1;if(_0x333553||!_0x76942[_0x425b24(0x16e)](_0xa37a24))return;const _0x3a28f5=_0x76942[_0x425b24(0x17a)](_0xa37a24);this[_0x425b24(0x131)][_0x425b24(0x1a6)](_0x3a28f5)[_0x425b24(0x136)][_0x425b24(0x111)][_0x425b24(0x154)](-0x1);},{'priority':_0x32eeb1(0x166)}),this[_0x32eeb1(0x121)]=this[_0x32eeb1(0x17d)][_0x32eeb1(0x14f)][_0x32eeb1(0x1a6)](_0x32eeb1(0x121));const _0xf5be50=this[_0x32eeb1(0x17d)];this[_0x32eeb1(0x1a9)]=setInterval(()=>{const _0x546048=_0x32eeb1;let _0x33b9a0;for(const _0x147cd3 in _0xf5be50){const _0x18458f=_0x147cd3,_0x1af75d=_0xf5be50[_0x18458f];if(_0x546048(0x16a)==_0x1af75d||_0x546048(0x171)==_0x1af75d||_0x546048(0x1a1)==_0x1af75d||_0x546048(0x163)==_0x1af75d||_0x546048(0x124)==_0x1af75d||_0x546048(0x148)==_0x1af75d||_0x546048(0x1a5)==_0x1af75d){delete _0xf5be50[_0x18458f],_0x33b9a0=_0x1af75d,clearInterval(this[_0x546048(0x1a9)]),this[_0x546048(0x1a9)]=void 0x0;break;}}_0x546048(0x171)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x158)),_0x546048(0x1a1)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x15e)),_0x546048(0x163)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x119)),_0x546048(0x124)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x178),_0x546048(0x10d)),_0x546048(0x148)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x14c)),_0x546048(0x1a5)==_0x33b9a0&&_0xf5be50[_0x546048(0x11b)](_0x546048(0x172));},0x3e8);}[_0x38b6bd(0x1b2)](_0x21dcab){const _0x221b9d=_0x38b6bd,_0x3df913=this[_0x221b9d(0x131)][_0x221b9d(0x1a6)](_0x21dcab);if(!_0x3df913)return null;return this[_0x221b9d(0x17d)][_0x221b9d(0x133)][_0x221b9d(0x1a6)](_0x221b9d(0x18c))[_0x221b9d(0x112)](_0x3df913[_0x221b9d(0x136)])||null;}[_0x38b6bd(0x18f)](_0x1beb50){const _0x25ac02=_0x38b6bd,_0x1fd2cb=this[_0x25ac02(0x17b)][_0x25ac02(0x1a6)](_0x1beb50[_0x25ac02(0x199)]);return _0x1fd2cb?_0x1fd2cb[_0x25ac02(0x14d)]:null;}[_0x38b6bd(0x11c)](){const _0x39c729=_0x38b6bd,_0x4552d5=this[_0x39c729(0x17d)][_0x39c729(0x133)][_0x39c729(0x1a6)](_0x39c729(0x18c)),_0x4447e2=this[_0x39c729(0x17d)][_0x39c729(0x133)][_0x39c729(0x1a6)](_0x39c729(0x122)),_0x3cc897=Array[_0x39c729(0x170)](_0x4552d5[_0x39c729(0x143)],_0x3aa3dc=>_0x3aa3dc[_0x39c729(0x199)])[_0x39c729(0x189)](_0x3a550f=>this[_0x39c729(0x17b)][_0x39c729(0x1af)](_0x3a550f)),_0x206c2a=[];for(const _0x459bc0 of _0x3cc897){const _0xa9604e=this[_0x39c729(0x17b)][_0x39c729(0x1a6)](_0x459bc0)[_0x39c729(0x14d)][_0x39c729(0x11f)]();_0x206c2a[_0x39c729(0x16b)](..._0xa9604e[_0x39c729(0x11a)]((_0x16f029,_0x50b6e5)=>[..._0x16f029,..._0x50b6e5[_0x39c729(0x10c)]()],[]));}_0x4447e2[_0x39c729(0x110)]=_0x206c2a;}[_0x38b6bd(0x1a7)](){const _0xc7217c=_0x38b6bd,_0x5e45ed=this[_0xc7217c(0x17d)],_0xf43f99=_0x5e45ed[_0xc7217c(0x109)],_0x1402c5=_0x47e2a9(_0xf43f99,_0xc7217c(0x125)),_0x220f80=new _0x508f67([{'type':_0xc7217c(0x1b0),'model':new _0x4bbc2c({'withText':!0x0,'isToggleable':!0x0,'label':_0x1402c5,'commandName':_0xc7217c(0x174),'role':_0xc7217c(0x11e)})},{'type':_0xc7217c(0x162)},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x194)),'commandName':_0xc7217c(0x186),'role':_0xc7217c(0x15c)})},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x1ad)),'commandName':_0xc7217c(0x176),'role':_0xc7217c(0x15c)})},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x1aa)),'commandName':_0xc7217c(0x114),'role':_0xc7217c(0x15c)})},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x13e)),'commandName':_0xc7217c(0x115),'role':_0xc7217c(0x15c)})}]);_0x5e45ed[_0xc7217c(0x133)][_0xc7217c(0x1af)](_0xc7217c(0x173))&&_0x220f80[_0xc7217c(0x113)]([{'type':_0xc7217c(0x162)},{'type':_0xc7217c(0x177),'model':new _0x4bbc2c({'withText':!0x0,'label':_0x47e2a9(_0xf43f99,_0xc7217c(0x187)),'commandName':_0xc7217c(0x137),'role':_0xc7217c(0x15c)})}]);for(const _0x10a08c of _0x220f80)if(ke(_0x10a08c)){const _0x4739b9=_0x5e45ed[_0xc7217c(0x165)][_0xc7217c(0x1a6)](_0x10a08c[_0xc7217c(0x14d)][_0xc7217c(0x164)]);_0x10a08c[_0xc7217c(0x14d)][_0xc7217c(0x188)](_0xc7217c(0x128),_0xc7217c(0x1ab))['to'](_0x4739b9,_0xc7217c(0x169),_0xc7217c(0x1ab));}_0x5e45ed['ui'][_0xc7217c(0x132)][_0xc7217c(0x142)](_0xc7217c(0x174),_0x34a301=>this[_0xc7217c(0x183)](_0x34a301,_0x220f80,_0x1402c5)),_0x5e45ed['ui'][_0xc7217c(0x132)][_0xc7217c(0x142)](_0xc7217c(0x12c),_0x2b3154=>this[_0xc7217c(0x16c)](_0x2b3154,_0x220f80,_0x1402c5));}[_0x38b6bd(0x183)](_0x228851,_0x49b33b,_0x3cbdbd){const _0xe1bc50=_0x38b6bd,_0x4e7ee2=_0x7b04d1(_0x228851,_0x1481ac),_0x2dc5e8=this[_0xe1bc50(0x17d)][_0xe1bc50(0x165)][_0xe1bc50(0x1a6)](_0xe1bc50(0x174));_0x4e7ee2[_0xe1bc50(0x1b3)][_0xe1bc50(0x11d)]({'tooltip':_0x3cbdbd,'label':_0x3cbdbd,'icon':_0x307242}),_0x4e7ee2[_0xe1bc50(0x1b3)][_0xe1bc50(0x188)](_0xe1bc50(0x128))['to'](_0x2dc5e8,_0xe1bc50(0x169)),_0x4e7ee2[_0xe1bc50(0x1b3)]['on'](_0xe1bc50(0x155),()=>{const _0x3d6ab2=_0xe1bc50;_0x2dc5e8[_0x3d6ab2(0x155)](),this[_0x3d6ab2(0x17d)][_0x3d6ab2(0x116)][_0x3d6ab2(0x136)][_0x3d6ab2(0x154)]();}),_0x2abf0c(_0x4e7ee2,_0x49b33b,{'role':_0xe1bc50(0x118)});const _0x1b8dac=[];for(const _0x34583f of _0x49b33b)ke(_0x34583f)&&_0x1b8dac[_0xe1bc50(0x16b)](this[_0xe1bc50(0x17d)][_0xe1bc50(0x165)][_0xe1bc50(0x1a6)](_0x34583f[_0xe1bc50(0x14d)][_0xe1bc50(0x164)]));const _0x594c43=_0x4e7ee2[_0xe1bc50(0x1b3)];return _0x594c43[_0xe1bc50(0x156)][_0xe1bc50(0x182)](_0xe1bc50(0x1ab)),_0x594c43[_0xe1bc50(0x126)][_0xe1bc50(0x182)](_0xe1bc50(0x1ab)),_0x594c43[_0xe1bc50(0x156)][_0xe1bc50(0x188)](_0xe1bc50(0x1ab))['to'](_0x2dc5e8,_0xe1bc50(0x1ab)),_0x594c43[_0xe1bc50(0x126)][_0xe1bc50(0x188)](_0xe1bc50(0x1ab))[_0xe1bc50(0x107)](_0x1b8dac,_0xe1bc50(0x1ab),(..._0x3cd0b6)=>_0x3cd0b6[_0xe1bc50(0x139)](_0xdc2361=>_0xdc2361)),_0x4e7ee2['on'](_0xe1bc50(0x155),_0xe6c097=>{const _0x4d1993=_0xe1bc50;this[_0x4d1993(0x17d)][_0x4d1993(0x155)](_0xe6c097[_0x4d1993(0x17f)][_0x4d1993(0x164)]),this[_0x4d1993(0x17d)][_0x4d1993(0x116)][_0x4d1993(0x136)][_0x4d1993(0x154)]();}),_0x4e7ee2;}[_0x38b6bd(0x16c)](_0x2f7841,_0x4155c3,_0x2c94a6){const _0x2bf795=_0x38b6bd,_0x44f0c5=new _0x28c357(_0x2f7841),_0x437002=this[_0x2bf795(0x17d)][_0x2bf795(0x165)][_0x2bf795(0x1a6)](_0x2bf795(0x174));_0x44f0c5[_0x2bf795(0x1b3)][_0x2bf795(0x11d)]({'label':_0x2c94a6,'icon':_0x307242});const _0x1e9bad=new _0x10a6d3(_0x2f7841);for(const _0x2ad369 of _0x4155c3){if(_0x2bf795(0x162)==_0x2ad369[_0x2bf795(0x157)]){_0x1e9bad[_0x2bf795(0x1a2)][_0x2bf795(0x142)](new _0x289e76(_0x2f7841));continue;}const _0x4caece=new _0x3ebee8(_0x2f7841,_0x44f0c5),_0x242acf=new _0x463d34(_0x2f7841),_0x17123b=_0x2ad369[_0x2bf795(0x14d)];_0x242acf[_0x2bf795(0x188)](...Object[_0x2bf795(0x10b)](_0x17123b))['to'](_0x17123b),_0x242acf[_0x2bf795(0x123)](_0x2bf795(0x155))['to'](_0x44f0c5),_0x242acf['on'](_0x2bf795(0x155),()=>{const _0x5dc29a=_0x2bf795;this[_0x5dc29a(0x17d)][_0x5dc29a(0x155)](_0x17123b[_0x5dc29a(0x164)]),this[_0x5dc29a(0x17d)][_0x5dc29a(0x116)][_0x5dc29a(0x136)][_0x5dc29a(0x154)]();}),_0x4caece[_0x2bf795(0x168)][_0x2bf795(0x142)](_0x242acf),_0x1e9bad[_0x2bf795(0x1a2)][_0x2bf795(0x142)](_0x4caece);}return _0x44f0c5[_0x2bf795(0x188)](_0x2bf795(0x1ab))['to'](_0x437002,_0x2bf795(0x1ab)),_0x44f0c5[_0x2bf795(0x134)][_0x2bf795(0x168)][_0x2bf795(0x142)](_0x1e9bad),_0x44f0c5;}[_0x38b6bd(0x185)](_0x21fbc3){const _0x1d1149=_0x38b6bd,_0x2da232=this[_0x1d1149(0x17d)],_0xd9696d=_0x2da232[_0x1d1149(0x14f)],_0x3c07a5=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x18c)),_0x418ec7=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x191)),_0x4a615c=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x129)),_0x31e7e2=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0xdc5b3f)['me'],_0x5c5097=_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x174))[_0x1d1149(0x153)],_0x528b3a=_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x174))[_0x1d1149(0x160)],{CommentsListView:_0x36f5b4,CommentThreadInputView:_0x3d884d}=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x17c));let _0x334e34,_0x3efc71,_0x1deb62;this[_0x1d1149(0x181)][_0x1d1149(0x1af)](_0x21fbc3['id'])?(_0x3efc71=this[_0x1d1149(0x181)][_0x1d1149(0x1a6)](_0x21fbc3['id']),_0x334e34=_0x3efc71[_0x1d1149(0x19d)]):(_0x334e34=new _0x5c5097(_0x2da232[_0x1d1149(0x109)],_0x21fbc3,_0x31e7e2,{'disableComments':this[_0x1d1149(0x190)],'editorConfig':{..._0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x196)),'licenseKey':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x121))},'maxCommentsWhenCollapsed':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x149)),'maxThreadTotalWeight':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x18a)),'maxCommentCharsWhenCollapsed':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x15d)),'formatDateTime':_0x4d3e7e(_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x109)),_0x2da232[_0x1d1149(0x109)]),'CommentView':_0xd9696d[_0x1d1149(0x1a6)](_0x1d1149(0x108))[_0x1d1149(0x12f)],'CommentsListView':_0x36f5b4,'CommentThreadInputView':_0x3d884d,'SuggestionView':_0x528b3a}),_0x334e34[_0x1d1149(0x1ac)][_0x1d1149(0x19c)]['on'](_0x1d1149(0x155),()=>{const _0x29bb96=_0x1d1149;_0x2da232[_0x29bb96(0x116)][_0x29bb96(0x136)][_0x29bb96(0x154)]();}),_0x334e34[_0x1d1149(0x1ac)][_0x1d1149(0x167)]['on'](_0x1d1149(0x155),()=>{const _0x4020e6=_0x1d1149;_0x2da232[_0x4020e6(0x116)][_0x4020e6(0x136)][_0x4020e6(0x154)]();}),_0x3efc71=_0x3c07a5[_0x1d1149(0x10e)](this[_0x1d1149(0x17d)][_0x1d1149(0x109)],_0x334e34),_0x3efc71[_0x1d1149(0x188)](_0x1d1149(0x16d))['to'](_0x334e34,_0x1d1149(0x16d)),_0x3efc71[_0x1d1149(0x188)](_0x1d1149(0x147))['to'](_0x334e34),_0x3efc71[_0x1d1149(0x188)](_0x1d1149(0x157))['to'](_0x334e34,_0x1d1149(0x157),_0x5011d8=>_0x1d1149(0x161)+_0x5011d8),_0x334e34['on'](_0x1d1149(0x18b),()=>{const _0x45a5c2=_0x1d1149;_0x1deb62[_0x45a5c2(0x145)](_0x45a5c2(0x18b));}),this[_0x1d1149(0x181)][_0x1d1149(0x11d)](_0x21fbc3['id'],_0x3efc71));const _0x36ecce=_0x418ec7[_0x1d1149(0x10a)](_0x21fbc3[_0x1d1149(0x19e)],_0x334e34),_0x4ad315=new _0x555b7b(_0x2da232,_0x21fbc3,_0x334e34,_0x36ecce),_0x4cd1b1=_0x21fbc3[_0x1d1149(0x11f)]()[_0x1d1149(0x189)](_0x28b09d=>_0x28b09d[_0x1d1149(0x1a0)]);_0x334e34[_0x1d1149(0x193)]=_0x2da232[_0x1d1149(0x133)][_0x1d1149(0x1a6)](_0x1d1149(0x122))[_0x1d1149(0x179)][_0x1d1149(0x184)](_0x4cd1b1),this[_0x1d1149(0x131)][_0x1d1149(0x11d)](_0x21fbc3,_0x4ad315),this[_0x1d1149(0x17b)][_0x1d1149(0x11d)](_0x334e34,_0x4ad315);const _0x550f9b=()=>{const _0x3f1370=_0x1d1149,_0x5eacbe=[],_0x47128c=_0x21fbc3[_0x3f1370(0x11f)]()[_0x3f1370(0x189)](_0xf81afc=>_0xf81afc[_0x3f1370(0x1a0)]);for(const _0x4326d4 of _0x47128c)_0x5eacbe[_0x3f1370(0x16b)](..._0x4326d4[_0x3f1370(0x15f)]());return _0x53a1c9(_0x2da232[_0x3f1370(0x116)],_0x5eacbe);};_0x1deb62=_0x3c07a5[_0x1d1149(0x180)]({'view':_0x3efc71,'target':_0x550f9b,'type':()=>_0x1d1149(0x161)+_0x4ad315[_0x1d1149(0x136)][_0x1d1149(0x157)],'isVisible':!!_0x550f9b()}),_0x418ec7[_0x1d1149(0x120)](_0x334e34,_0x1deb62),_0x3c07a5[_0x1d1149(0x142)](_0x1deb62),_0x4a615c[_0x1d1149(0x19f)](_0x1deb62);}[_0x38b6bd(0x197)](_0x258c52){const _0x49f087=_0x38b6bd,_0x34b45d=this[_0x49f087(0x17d)][_0x49f087(0x133)][_0x49f087(0x1a6)](_0x49f087(0x191)),_0x320792=this[_0x49f087(0x17d)][_0x49f087(0x133)][_0x49f087(0x1a6)](_0x49f087(0x18c)),_0x303ee1=this[_0x49f087(0x131)][_0x49f087(0x1a6)](_0x258c52),_0x5d1c55=_0x303ee1[_0x49f087(0x136)],_0x28fd49=_0x320792[_0x49f087(0x112)](_0x5d1c55);_0x34b45d[_0x49f087(0x1a3)](_0x5d1c55),_0x28fd49&&_0x320792[_0x49f087(0x198)](_0x28fd49),this[_0x49f087(0x131)][_0x49f087(0x14b)](_0x258c52),this[_0x49f087(0x17b)][_0x49f087(0x14b)](_0x5d1c55),_0x303ee1[_0x49f087(0x159)]();}[_0x38b6bd(0x12e)](_0x3586cc){const _0x18f318=_0x38b6bd;if(!_0x3586cc[_0x18f318(0x1a0)]||!this[_0x18f318(0x131)][_0x18f318(0x1af)](_0x3586cc))return;const _0x3b53c4=this[_0x18f318(0x17d)][_0x18f318(0x133)][_0x18f318(0x1a6)](_0x18f318(0x122)),_0x40a319=this[_0x18f318(0x131)][_0x18f318(0x1a6)](_0x3586cc),_0x406ee6=_0x3586cc[_0x18f318(0x11f)]();_0x40a319[_0x18f318(0x136)][_0x18f318(0x193)]=_0x3b53c4[_0x18f318(0x179)][_0x18f318(0x184)](_0x406ee6);}[_0x38b6bd(0x159)](){const _0x31e827=_0x38b6bd;for(const _0x5caf01 of this[_0x31e827(0x131)][_0x31e827(0x10b)]())this[_0x31e827(0x197)](_0x5caf01);for(const _0x427b42 of this[_0x31e827(0x181)][_0x31e827(0x146)]())_0x427b42[_0x31e827(0x19d)][_0x31e827(0x159)]();super[_0x31e827(0x159)](),this[_0x31e827(0x1a9)]&&clearInterval(this[_0x31e827(0x1a9)]);}}function ke(_0x3111a3){const _0x2ed97e=_0x38b6bd;return _0x2ed97e(0x14d)in _0x3111a3;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x3565b9=_0x3d68;function _0x2d6e(){const _0x2a2f85=['isEnabled','plugins','3861HaRMAe','138IaRCKX','listenTo','204kwGijO','6851169iGNpLv','PENDING_ACTION_SUGGESTION','12tMhiTr','add','view','stopListening','commentThreadController','_acceptCommand','remove','_removePendingAction','canAccept','2010aApUWD','destroy','8348672VmiaZl','acceptSuggestion','379421DuyCUJ','unbind','getRanges','model','59994AiRywQ','isDirty','_editor','change:isDirty','PendingActions','345415TDHNlV','discardSuggestion','_pendingAction','_discardCommand','commands','execute','canDiscard','bind','locale','_setPendingAction','get','48110gbqeFa','canEditAt'];_0x2d6e=function(){return _0x2a2f85;};return _0x2d6e();}(function(_0x18dfc4,_0x3a6c58){const _0x2f5648=_0x3d68,_0x2add1d=_0x18dfc4();while(!![]){try{const _0x42bdb3=parseInt(_0x2f5648(0x115))/0x1+-parseInt(_0x2f5648(0x125))/0x2*(parseInt(_0x2f5648(0x124))/0x3)+parseInt(_0x2f5648(0xfc))/0x4*(-parseInt(_0x2f5648(0x120))/0x5)+parseInt(_0x2f5648(0xff))/0x6*(parseInt(_0x2f5648(0x10c))/0x7)+parseInt(_0x2f5648(0x10a))/0x8+parseInt(_0x2f5648(0xfd))/0x9+-parseInt(_0x2f5648(0x108))/0xa*(parseInt(_0x2f5648(0x110))/0xb);if(_0x42bdb3===_0x3a6c58)break;else _0x2add1d['push'](_0x2add1d['shift']());}catch(_0x383a89){_0x2add1d['push'](_0x2add1d['shift']());}}}(_0x2d6e,0x8e4d3));import{ObservableMixin as _0x264311}from'ckeditor5/src/utils.js';function _0x3d68(_0x3099f6,_0xdf4dbf){const _0x2d6e95=_0x2d6e();return _0x3d68=function(_0x3d681a,_0x2f9920){_0x3d681a=_0x3d681a-0xfc;let _0x16e5fa=_0x2d6e95[_0x3d681a];return _0x16e5fa;},_0x3d68(_0x3099f6,_0xdf4dbf);}import{getTranslation as _0x17ed3e}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x264311(){[_0x3565b9(0x10f)];[_0x3565b9(0x101)];[_0x3565b9(0x103)];[_0x3565b9(0x112)];[_0x3565b9(0x104)];[_0x3565b9(0x118)];[_0x3565b9(0x117)];constructor(_0x46b234,_0x56c620,_0x5df46f,_0x2916ac){const _0x4f7059=_0x3565b9;super(),this[_0x4f7059(0x10f)]=_0x56c620,this[_0x4f7059(0x101)]=_0x5df46f,this[_0x4f7059(0x103)]=_0x2916ac,this[_0x4f7059(0x112)]=_0x46b234,this[_0x4f7059(0x104)]=_0x46b234[_0x4f7059(0x119)][_0x4f7059(0x11f)](_0x4f7059(0x10b)),this[_0x4f7059(0x118)]=_0x46b234[_0x4f7059(0x119)][_0x4f7059(0x11f)](_0x4f7059(0x116)),this[_0x4f7059(0x101)][_0x4f7059(0x11c)](_0x4f7059(0x122))['to'](this[_0x4f7059(0x104)],this[_0x4f7059(0x118)],(_0x2af32c,_0x1f39f8)=>_0x2af32c||_0x1f39f8),this[_0x4f7059(0x101)][_0x4f7059(0x11c)](_0x4f7059(0x107))['to'](this[_0x4f7059(0x104)],_0x4f7059(0x122),_0x4256d5=>_0x4256d5&&this[_0x4f7059(0x112)][_0x4f7059(0x10f)][_0x4f7059(0x121)](_0x56c620[_0x4f7059(0x10e)]())),this[_0x4f7059(0x101)][_0x4f7059(0x11c)](_0x4f7059(0x11b))['to'](this[_0x4f7059(0x118)],_0x4f7059(0x122),_0x17ddf9=>_0x17ddf9&&this[_0x4f7059(0x112)][_0x4f7059(0x10f)][_0x4f7059(0x121)](_0x56c620[_0x4f7059(0x10e)]())),this[_0x4f7059(0x117)]=null,_0x5df46f[_0x4f7059(0x111)]&&this[_0x4f7059(0x11e)](),this[_0x4f7059(0x126)](_0x5df46f,_0x4f7059(0x10b),()=>this[_0x4f7059(0x10b)]()),this[_0x4f7059(0x126)](_0x5df46f,_0x4f7059(0x116),()=>this[_0x4f7059(0x116)]()),this[_0x4f7059(0x126)](_0x5df46f,_0x4f7059(0x113),()=>{const _0x11c58b=_0x4f7059;_0x5df46f[_0x11c58b(0x111)]?this[_0x11c58b(0x11e)]():this[_0x11c58b(0x106)]();});}[_0x3565b9(0x10b)](){const _0x20c255=_0x3565b9;this[_0x20c255(0x104)][_0x20c255(0x11a)](this[_0x20c255(0x10f)]['id']);}[_0x3565b9(0x116)](){const _0x3dbacc=_0x3565b9;this[_0x3dbacc(0x118)][_0x3dbacc(0x11a)](this[_0x3dbacc(0x10f)]['id']);}[_0x3565b9(0x109)](){const _0xf5eb75=_0x3565b9;this[_0xf5eb75(0x101)][_0xf5eb75(0x10d)](_0xf5eb75(0x122)),this[_0xf5eb75(0x101)][_0xf5eb75(0x10d)](_0xf5eb75(0x107)),this[_0xf5eb75(0x101)][_0xf5eb75(0x10d)](_0xf5eb75(0x11b)),this[_0xf5eb75(0x102)](),this[_0xf5eb75(0x103)][_0xf5eb75(0x109)](),this[_0xf5eb75(0x117)]&&this[_0xf5eb75(0x106)]();}[_0x3565b9(0x11e)](){const _0x531e6b=_0x3565b9,_0x34a078=_0x17ed3e(this[_0x531e6b(0x112)][_0x531e6b(0x11d)],_0x531e6b(0xfe));this[_0x531e6b(0x117)]=this[_0x531e6b(0x112)][_0x531e6b(0x123)][_0x531e6b(0x11f)](_0x531e6b(0x114))[_0x531e6b(0x100)](_0x34a078);}[_0x3565b9(0x106)](){const _0x2e8c99=_0x3565b9;null!==this[_0x2e8c99(0x117)]&&this[_0x2e8c99(0x112)][_0x2e8c99(0x123)][_0x2e8c99(0x11f)](_0x2e8c99(0x114))[_0x2e8c99(0x105)](this[_0x2e8c99(0x117)]),this[_0x2e8c99(0x117)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f6a6e=_0x3e51;(function(_0x4312e7,_0x1d5963){const _0x2acaae=_0x3e51,_0x26e289=_0x4312e7();while(!![]){try{const _0x2c2102=parseInt(_0x2acaae(0x1c9))/0x1+parseInt(_0x2acaae(0x1ba))/0x2+-parseInt(_0x2acaae(0x1d3))/0x3*(-parseInt(_0x2acaae(0x197))/0x4)+parseInt(_0x2acaae(0x1b8))/0x5*(-parseInt(_0x2acaae(0x18e))/0x6)+parseInt(_0x2acaae(0x1ce))/0x7*(-parseInt(_0x2acaae(0x1c6))/0x8)+-parseInt(_0x2acaae(0x196))/0x9*(parseInt(_0x2acaae(0x1a6))/0xa)+-parseInt(_0x2acaae(0x194))/0xb*(-parseInt(_0x2acaae(0x1a1))/0xc);if(_0x2c2102===_0x1d5963)break;else _0x26e289['push'](_0x26e289['shift']());}catch(_0xafd2dc){_0x26e289['push'](_0x26e289['shift']());}}}(_0x5be3,0x660be));function _0x3e51(_0x1c4673,_0x20d626){const _0x5be319=_0x5be3();return _0x3e51=function(_0x3e51cd,_0xe80466){_0x3e51cd=_0x3e51cd-0x18a;let _0x5c6066=_0x5be319[_0x3e51cd];return _0x5c6066;},_0x3e51(_0x1c4673,_0x20d626);}import{FocusCycler as _0x53c563,View as _0x533e69,ViewCollection as _0xcacf23}from'ckeditor5/src/ui.js';function _0x5be3(){const _0xb6fe4f=['content','formatDateTime','shift+tab','focusables','commentInputView','author','focusTracker','SUGGESTION_THREAD_DESCRIPTION','fire','isReadOnly','removeComment','_localUser','commentThreadInputView','set','3890uMgNoA','value','1273228OThBXc','delegate','cancel','isDirty','element','focus','disableComments','showInput','join','focusCycler','descriptionParts','length','1678160GyoKKp','updateComment','disabledSubmit','267999fxXFJt','commentThread','body','_config','CommentView','7QzmTmE','hasDirtyComment','keystrokes','canAccept','isActive','75elRlme','setData','_createCommentThreadInputView','submit','tab','target','1146kAHjhU','_createCommentViews','render','textContent','editorConfig','bind','117293QevfNC','locale','31239hJzXoN','22756NazEWt','ariaDescriptionView','map','destroy','commentsListView','_model','SUGGESTION_THREAD_ARIA_LABEL','canDiscard','editor','text/html','12ZOYFVj','parseFromString','ariaLabel','name','isEnabled','810SRmOmu','authoredAt','addComment','assign'];_0x5be3=function(){return _0xb6fe4f;};return _0x5be3();}import{FocusTracker as _0xab5415,KeystrokeHandler as _0x506860}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x545760,setupThreadKeyboardNavigation as _0x42b426}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x402255}from'../../utils/common-translations.js';import{renderDescription as _0x1aa58e}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x533e69{[_0x4f6a6e(0x19b)];[_0x4f6a6e(0x1b6)];[_0x4f6a6e(0x198)];[_0x4f6a6e(0x1ad)];[_0x4f6a6e(0x1b0)];[_0x4f6a6e(0x1d0)];[_0x4f6a6e(0x1c3)];[_0x4f6a6e(0x19c)];[_0x4f6a6e(0x1b5)];[_0x4f6a6e(0x1cc)];constructor(_0xd80acc,_0x4f1434,_0x78d4e0,_0x1df197){const _0x5ae62d=_0x4f6a6e;super(_0xd80acc),this[_0x5ae62d(0x19b)]=null,this[_0x5ae62d(0x1b6)]=null,this[_0x5ae62d(0x198)]=new _0x545760(_0xd80acc,_0x402255(_0xd80acc,_0x5ae62d(0x1b1))),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1d2),!0x1),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1a7),_0x4f1434[_0x5ae62d(0x1a7)]),this[_0x5ae62d(0x193)](_0x5ae62d(0x1a7))['to'](_0x4f1434),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1c4),[]),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1bd),!0x1),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1a5),!0x1),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1d1),!0x1),this[_0x5ae62d(0x1b7)](_0x5ae62d(0x19e),!0x1),this[_0x5ae62d(0x193)](_0x5ae62d(0x1a3))['to'](this,_0x5ae62d(0x1c5),_0x4f1434,_0x5ae62d(0x1a7),this,_0x5ae62d(0x1c4),(_0x31b06b,_0x2c9091,_0x78e426)=>{const _0x9530ab=_0x5ae62d,_0x2dd96c=_0x78e426[_0x9530ab(0x199)](_0x40c2e8=>_0x1aa58e(_0x40c2e8[_0x9530ab(0x1aa)]))[_0x9530ab(0x1c2)]('.\x20')+'.';return _0x402255(this[_0x9530ab(0x195)],_0x9530ab(0x19d),[_0x31b06b-0x1,_0x4f1434[_0x9530ab(0x1af)][_0x9530ab(0x1a4)],_0x2c9091?_0x1df197[_0x9530ab(0x1ab)](_0x2c9091):'',new DOMParser()[_0x9530ab(0x1a2)](_0x2dd96c,_0x9530ab(0x1a0))[_0x9530ab(0x1cb)][_0x9530ab(0x191)]]);}),this[_0x5ae62d(0x1ad)]=new _0xcacf23(),this[_0x5ae62d(0x1b0)]=new _0xab5415(),this[_0x5ae62d(0x1d0)]=new _0x506860(),this[_0x5ae62d(0x1c3)]=new _0x53c563({'focusables':this[_0x5ae62d(0x1ad)],'focusTracker':this[_0x5ae62d(0x1b0)],'keystrokeHandler':this[_0x5ae62d(0x1d0)],'keystrokeHandlerOptions':{'filter':_0x4606c7=>_0x4606c7[_0x5ae62d(0x18d)]!==this[_0x5ae62d(0x1be)]},'actions':{'focusPrevious':_0x5ae62d(0x1ac),'focusNext':_0x5ae62d(0x18c)}}),this[_0x5ae62d(0x19c)]=_0x4f1434,this[_0x5ae62d(0x1b5)]=_0x78d4e0,this[_0x5ae62d(0x1cc)]=_0x1df197,_0x1df197[_0x5ae62d(0x1c0)]?this[_0x5ae62d(0x1b7)](_0x5ae62d(0x1c5),0x1):this[_0x5ae62d(0x18f)]();}[_0x4f6a6e(0x190)](){const _0x24c8f2=_0x4f6a6e;super[_0x24c8f2(0x190)](),_0x42b426(this,this[_0x24c8f2(0x1ad)]);}[_0x4f6a6e(0x1bf)](){const _0x1e144b=_0x4f6a6e;this[_0x1e144b(0x1be)][_0x1e144b(0x1bf)]();}[_0x4f6a6e(0x19a)](){const _0x4ab92b=_0x4f6a6e;this[_0x4ab92b(0x19b)]&&this[_0x4ab92b(0x19b)][_0x4ab92b(0x19a)](),this[_0x4ab92b(0x1b6)]&&this[_0x4ab92b(0x1b6)][_0x4ab92b(0x19a)](),super[_0x4ab92b(0x19a)]();}[_0x4f6a6e(0x18f)](){const _0xf8d982=_0x4f6a6e,{CommentsListView:_0x3fa940}=this[_0xf8d982(0x1cc)];this[_0xf8d982(0x19b)]=new _0x3fa940(this[_0xf8d982(0x195)],this[_0xf8d982(0x19c)][_0xf8d982(0x1ca)],Object[_0xf8d982(0x1a9)]({'CommentView':this[_0xf8d982(0x1cc)][_0xf8d982(0x1cd)]},this[_0xf8d982(0x1cc)])),this[_0xf8d982(0x19b)][_0xf8d982(0x1bb)](_0xf8d982(0x1b4))['to'](this),this[_0xf8d982(0x19b)][_0xf8d982(0x1bb)](_0xf8d982(0x1c7))['to'](this),this[_0xf8d982(0x19b)][_0xf8d982(0x193)](_0xf8d982(0x1d2))['to'](this),this[_0xf8d982(0x1b7)](_0xf8d982(0x1c5),this[_0xf8d982(0x19b)][_0xf8d982(0x1c5)]+0x1),this[_0xf8d982(0x193)](_0xf8d982(0x1c5))['to'](this[_0xf8d982(0x19b)],_0xf8d982(0x1c5),_0x5bd896=>_0x5bd896+0x1),this[_0xf8d982(0x1b6)]=this[_0xf8d982(0x18a)](),this['on'](_0xf8d982(0x1b4),()=>this[_0xf8d982(0x1bf)]()),this[_0xf8d982(0x193)](_0xf8d982(0x1bd))['to'](this[_0xf8d982(0x19b)],_0xf8d982(0x1cf),this[_0xf8d982(0x1b6)][_0xf8d982(0x1ae)],_0xf8d982(0x1b9),(_0x30965b,_0xf8608a)=>_0x30965b||!!_0xf8608a);}[_0x4f6a6e(0x18a)](){const _0x10f125=_0x4f6a6e,{CommentThreadInputView:_0x3a50c2}=this[_0x10f125(0x1cc)],_0x2e9670=new _0x3a50c2(this[_0x10f125(0x195)],this[_0x10f125(0x1b5)],this[_0x10f125(0x1cc)][_0x10f125(0x192)]),_0x2f4602=_0x2e9670[_0x10f125(0x1ae)];return _0x2e9670[_0x10f125(0x193)](_0x10f125(0x1c1))['to'](this,_0x10f125(0x1d2),this[_0x10f125(0x19c)][_0x10f125(0x1ca)],_0x10f125(0x1b3),_0x2f4602,_0x10f125(0x1b9),(_0x36da97,_0x16c5a5,_0x304991)=>!!_0x304991||_0x36da97&&!_0x16c5a5),_0x2f4602['on'](_0x10f125(0x18b),(_0x2bce07,_0x2b3815)=>{const _0x1f2816=_0x10f125;this[_0x1f2816(0x1b2)](_0x1f2816(0x1a8),_0x2b3815),_0x2f4602[_0x1f2816(0x19f)][_0x1f2816(0x1d4)]('');}),_0x2f4602['on'](_0x10f125(0x1bc),()=>this[_0x10f125(0x1bf)]()),_0x2f4602[_0x10f125(0x193)](_0x10f125(0x1c8))['to'](this[_0x10f125(0x19c)][_0x10f125(0x1ca)],_0x10f125(0x1b3)),_0x2e9670;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4b6f87=_0x594a;(function(_0x4c9beb,_0x53cb35){const _0x54f5c1=_0x594a,_0xac676a=_0x4c9beb();while(!![]){try{const _0x4c00a1=-parseInt(_0x54f5c1(0x16c))/0x1*(parseInt(_0x54f5c1(0x192))/0x2)+-parseInt(_0x54f5c1(0x179))/0x3+-parseInt(_0x54f5c1(0x195))/0x4*(-parseInt(_0x54f5c1(0x19e))/0x5)+parseInt(_0x54f5c1(0x180))/0x6+-parseInt(_0x54f5c1(0x16d))/0x7*(-parseInt(_0x54f5c1(0x171))/0x8)+-parseInt(_0x54f5c1(0x175))/0x9+-parseInt(_0x54f5c1(0x17d))/0xa*(parseInt(_0x54f5c1(0x182))/0xb);if(_0x4c00a1===_0x53cb35)break;else _0xac676a['push'](_0xac676a['shift']());}catch(_0x465bce){_0xac676a['push'](_0xac676a['shift']());}}}(_0x58b7,0xa57df));function _0x58b7(){const _0x2e0f8f=['disableComments','_model','listitem','canDiscard','ariaDescriptionView','bind','suggestionView','252515Lxmbek','content','add','div','push','ck-suggestion-wrapper--active','formatDateTime','descriptionParts','3209nqssLQ','480676DkSKJX','getTemplate','ck-suggestion-','canAccept','152UVqVHS','bindTemplate','ck-rounded-corners','focusables','7161246BYMvSi','setTemplate','</p>','<p>','2446713XaWKOQ','isEnabled','ariaLabel','_descriptionElement','270210SGlaZA','editorReady','set','1285074dlCeDW','description','11fjXJMb','type','editorDestroyed','discardButton','commentThreadInputView','color','acceptButton','author','ck-suggestion--disabled-comments','discardSuggestion','ck-suggestion-wrapper','delegate','SuggestionView','render','isActive','commentsListView','290rcYSpb','commentThread','acceptSuggestion','100UUUBUJ','_config'];_0x58b7=function(){return _0x2e0f8f;};return _0x58b7();}import{BaseSuggestionThreadView as _0x5e5b3b}from'./basesuggestionthreadview.js';import{trimHtml as _0x2e42af}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x2a6884}from'../../utils/utils.js';function _0x594a(_0x4457a0,_0xf9e883){const _0x58b728=_0x58b7();return _0x594a=function(_0x594ae1,_0x148e8b){_0x594ae1=_0x594ae1-0x166;let _0x3cb58f=_0x58b728[_0x594ae1];return _0x3cb58f;},_0x594a(_0x4457a0,_0xf9e883);}export class SuggestionThreadView extends _0x5e5b3b{[_0x4b6f87(0x19d)];[_0x4b6f87(0x17c)];constructor(_0x4b8d56,_0x49368e,_0x1cd2cc,_0x3f0968){const _0x5e5628=_0x4b6f87;super(_0x4b8d56,_0x49368e,_0x1cd2cc,_0x3f0968),this[_0x5e5628(0x17f)](_0x5e5628(0x183),''),this[_0x5e5628(0x19c)](_0x5e5628(0x183))['to'](this,_0x5e5628(0x16b),_0x284fee=>_0x284fee&&_0x284fee[0x0]?_0x284fee[0x0][_0x5e5628(0x183)]:''),this[_0x5e5628(0x19c)](_0x5e5628(0x181))['to'](this,_0x5e5628(0x16b),this,_0x5e5628(0x190),(_0x544598,_0xed1ceb)=>{const _0x581afb=_0x5e5628;let _0xcb1e66='';for(const _0x4e5b5b of _0x544598)_0xcb1e66+=_0x581afb(0x178)+_0x2a6884(_0x4e5b5b[_0x581afb(0x19f)],_0x4e5b5b[_0x581afb(0x187)])+_0x581afb(0x177);return _0xed1ceb?_0xcb1e66:_0x2e42af(_0xcb1e66,{'limit':0x8c});}),this[_0x5e5628(0x17c)]=null,this[_0x5e5628(0x19d)]=new _0x3f0968[(_0x5e5628(0x18e))](_0x4b8d56,_0x49368e,{'formatDateTime':_0x3f0968[_0x5e5628(0x16a)]}),this[_0x5e5628(0x19d)][_0x5e5628(0x19c)](_0x5e5628(0x181))['to'](this),this[_0x5e5628(0x19d)][_0x5e5628(0x18d)](_0x5e5628(0x194),_0x5e5628(0x18b))['to'](this),this[_0x5e5628(0x19d)][_0x5e5628(0x188)][_0x5e5628(0x19c)](_0x5e5628(0x17a))['to'](this,_0x5e5628(0x170)),this[_0x5e5628(0x19d)][_0x5e5628(0x185)][_0x5e5628(0x19c)](_0x5e5628(0x17a))['to'](this,_0x5e5628(0x19a)),this[_0x5e5628(0x174)][_0x5e5628(0x166)](this[_0x5e5628(0x19d)]),this[_0x5e5628(0x191)]&&this[_0x5e5628(0x174)][_0x5e5628(0x166)](this[_0x5e5628(0x191)]),this[_0x5e5628(0x186)]&&this[_0x5e5628(0x174)][_0x5e5628(0x166)](this[_0x5e5628(0x186)]),this[_0x5e5628(0x176)](this[_0x5e5628(0x16e)]());}[_0x4b6f87(0x16e)](){const _0x4bfec9=_0x4b6f87,_0x8ec5e2=this[_0x4bfec9(0x172)],_0x4ea834=[this[_0x4bfec9(0x19d)]];return this[_0x4bfec9(0x191)]&&_0x4ea834[_0x4bfec9(0x168)](this[_0x4bfec9(0x191)]),this[_0x4bfec9(0x186)]&&_0x4ea834[_0x4bfec9(0x168)](this[_0x4bfec9(0x186)]),_0x4ea834[_0x4bfec9(0x168)](this[_0x4bfec9(0x19b)]),{'tag':_0x4bfec9(0x167),'attributes':{'class':['ck',_0x4bfec9(0x173),_0x4bfec9(0x18c),_0x8ec5e2['if'](_0x4bfec9(0x190),_0x4bfec9(0x169)),_0x8ec5e2['to'](_0x4bfec9(0x183),_0xdcef15=>_0x4bfec9(0x16f)+_0xdcef15),this[_0x4bfec9(0x196)][_0x4bfec9(0x197)]&&_0x4bfec9(0x18a)],'data-suggestion-id':this[_0x4bfec9(0x198)]['id'],'data-thread-id':this[_0x4bfec9(0x198)][_0x4bfec9(0x193)]['id'],'data-author-id':this[_0x4bfec9(0x198)][_0x4bfec9(0x189)]['id'],'tabindex':0x0,'role':_0x4bfec9(0x199),'aria-label':_0x8ec5e2['to'](_0x4bfec9(0x17b)),'aria-describedby':this[_0x4bfec9(0x19b)]['id']},'children':_0x4ea834};}[_0x4b6f87(0x18f)](){const _0x5de2f2=_0x4b6f87;super[_0x5de2f2(0x18f)](),this[_0x5de2f2(0x191)]&&(this[_0x5de2f2(0x191)][_0x5de2f2(0x18d)](_0x5de2f2(0x17e))['to'](this),this[_0x5de2f2(0x191)][_0x5de2f2(0x18d)](_0x5de2f2(0x184))['to'](this)),this[_0x5de2f2(0x186)]&&(this[_0x5de2f2(0x186)][_0x5de2f2(0x18d)](_0x5de2f2(0x17e))['to'](this),this[_0x5de2f2(0x186)][_0x5de2f2(0x18d)](_0x5de2f2(0x184))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x266a(){const _0x23476c=['2EcXUAY','name','_setupKeyboardNavigation','focusTracker','extendTemplate','Accept\x20suggestion','presentation','39378EsgAjh','innerHTML','@external','add','4602183udecEL','change:description','render','importWord','shift+tab','ck-comment__info-time','attributes','ck-suggestion--discard','Discard\x20suggestion','author','locale','creator','ck-suggestion__user','ck-annotation__main','EXTERNAL_SUGGESTION','acceptButton','ck-annotation__content-wrapper','span','enter','push','focusCycler','focusables','querySelector','bind','EXTERNAL_AVATAR','element','focusFirst','tab','bindTemplate','isExternal','_model','listenTo','description','164456qOjzPQ','time','11800950YicIfi','_config','ck-annotation__info','esc','ck-suggestion--accept','1145603NJxcBC','focus','div','userView','ck-suggestion','execute','ck-suggestion__info-name','40649620cjZEak','.ck-annotation__content-wrapper','ck-annotation__actions','693DFBuxK','set','formatDateTime','5ePHEQy','source','ck-annotation__info-time','discardSuggestion','getUserViewNotificationText','discardButton','ck-suggestion__info','acceptSuggestion','fire','ck-suggestion__actions','getExternalSuggestionNote','getTemplate','authoredAt','ck-comment__external','ck-annotation','setTemplate','ck-suggestion__main','1610bfzBDH','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__user','keystrokes','ck-annotation__info-name','1650092JpRAWd','target','EXTERNAL_IMPORT_WORD_AVATAR','_createButton'];_0x266a=function(){return _0x23476c;};return _0x266a();}const _0x389e84=_0x1441;(function(_0x27d3c3,_0xc621){const _0x2192e6=_0x1441,_0x415ee0=_0x27d3c3();while(!![]){try{const _0x28f554=parseInt(_0x2192e6(0x88))/0x1+parseInt(_0x2192e6(0xaf))/0x2*(-parseInt(_0x2192e6(0xba))/0x3)+-parseInt(_0x2192e6(0xab))/0x4*(parseInt(_0x2192e6(0x95))/0x5)+parseInt(_0x2192e6(0xb6))/0x6*(-parseInt(_0x2192e6(0xa6))/0x7)+-parseInt(_0x2192e6(0xdb))/0x8*(parseInt(_0x2192e6(0x92))/0x9)+parseInt(_0x2192e6(0xdd))/0xa+parseInt(_0x2192e6(0x8f))/0xb;if(_0x28f554===_0xc621)break;else _0x415ee0['push'](_0x415ee0['shift']());}catch(_0x7ee8f8){_0x415ee0['push'](_0x415ee0['shift']());}}}(_0x266a,0xefc8b));import{FocusTracker as _0x36b3c5,KeystrokeHandler as _0x30b3fd}from'ckeditor5/src/utils.js';function _0x1441(_0x5da40e,_0x5d5e26){const _0x266a3f=_0x266a();return _0x1441=function(_0x144119,_0x6e476b){_0x144119=_0x144119-0x88;let _0x367fbe=_0x266a3f[_0x144119];return _0x367fbe;},_0x1441(_0x5da40e,_0x5d5e26);}import{View as _0x26bb98,ViewCollection as _0x23614a,FocusCycler as _0x4cbf6b}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3e7e65,UserView as _0x100d9e}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x25d76c,IconCheck as _0x10dcc7}from'ckeditor5/src/icons.js';import{getTranslation as _0x88bacd}from'../../utils/common-translations.js';export class SuggestionView extends _0x26bb98{[_0x389e84(0x8b)];[_0x389e84(0xc9)];[_0x389e84(0x9a)];[_0x389e84(0xcf)];[_0x389e84(0xb2)];[_0x389e84(0xa9)];[_0x389e84(0xce)];[_0x389e84(0xd8)];[_0x389e84(0xde)];constructor(_0x36ef73,_0x5965a1,_0xc7b9f0){const _0x31e6c9=_0x389e84;super(_0x36ef73),this[_0x31e6c9(0xd8)]=_0x5965a1,this[_0x31e6c9(0xde)]=_0xc7b9f0,this[_0x31e6c9(0x93)](_0x31e6c9(0xda),''),this[_0x31e6c9(0xd1)](_0x31e6c9(0xa1))['to'](_0x5965a1),this[_0x31e6c9(0xc9)]=this[_0x31e6c9(0xae)](_0x88bacd(_0x36ef73,_0x31e6c9(0xb4)),_0x10dcc7,_0x31e6c9(0xe1),_0x31e6c9(0x9c),'sw'),this[_0x31e6c9(0x9a)]=this[_0x31e6c9(0xae)](_0x88bacd(_0x36ef73,_0x31e6c9(0xc2)),_0x25d76c,_0x31e6c9(0xc1),_0x31e6c9(0x98),'sw'),this[_0x31e6c9(0x8b)]=new _0x100d9e(_0x36ef73,_0x5965a1[_0x31e6c9(0xc3)],this[_0x31e6c9(0x99)]()),this[_0x31e6c9(0x8b)][_0x31e6c9(0xb3)]({'attributes':{'class':[_0x31e6c9(0xc6),_0x31e6c9(0xa8)],'aria-hidden':!0x0}}),this[_0x31e6c9(0xcf)]=new _0x23614a([this[_0x31e6c9(0xc9)],this[_0x31e6c9(0x9a)]]),this[_0x31e6c9(0xb2)]=new _0x36b3c5(),this[_0x31e6c9(0xa9)]=new _0x30b3fd(),this[_0x31e6c9(0xce)]=new _0x4cbf6b({'focusables':this[_0x31e6c9(0xcf)],'focusTracker':this[_0x31e6c9(0xb2)],'keystrokeHandler':this[_0x31e6c9(0xa9)],'actions':{'focusPrevious':_0x31e6c9(0xbe),'focusNext':_0x31e6c9(0xd5)},'keystrokeHandlerOptions':{'filter':_0x4927aa=>_0x4927aa[_0x31e6c9(0xac)]!==this[_0x31e6c9(0xd3)]}}),this[_0x31e6c9(0xa4)](this[_0x31e6c9(0xa0)]());}[_0x389e84(0xbc)](){const _0x49bbda=_0x389e84;super[_0x49bbda(0xbc)]();const _0x220c90=this[_0x49bbda(0xd3)][_0x49bbda(0xd0)](_0x49bbda(0x90));_0x220c90[_0x49bbda(0xb7)]=this[_0x49bbda(0xda)],this['on'](_0x49bbda(0xbb),(_0x5ad3de,_0xd5503e,_0x3bba24)=>{const _0x51d739=_0x49bbda;_0x220c90[_0x51d739(0xb7)]=_0x3bba24;}),this[_0x49bbda(0xb1)]();}[_0x389e84(0xa0)](){const _0x16d5c0=_0x389e84,_0xb2113b=this[_0x16d5c0(0xd6)],_0x44b505=[{'tag':_0x16d5c0(0x8a),'attributes':{'class':[_0x16d5c0(0x9b),_0x16d5c0(0xdf)]},'children':[{'tag':_0x16d5c0(0xcb),'children':[{'text':this[_0x16d5c0(0x8b)][_0x16d5c0(0xb0)]}],'attributes':{'class':[_0x16d5c0(0x8e),_0x16d5c0(0xaa)],'data-cke-tooltip-text':this[_0x16d5c0(0x8b)][_0x16d5c0(0xb0)]}},{'tag':_0x16d5c0(0xdc),'attributes':{'datetime':_0xb2113b['to'](_0x16d5c0(0xa1)),'class':[_0x16d5c0(0xbf),_0x16d5c0(0x97)]},'children':[{'text':_0xb2113b['to'](_0x16d5c0(0xa1),_0x1828f1=>this[_0x16d5c0(0xde)][_0x16d5c0(0x94)](_0x1828f1))}]}]},{'tag':_0x16d5c0(0x8a),'attributes':{'class':[_0x16d5c0(0x9e),_0x16d5c0(0x91)]},'children':[this[_0x16d5c0(0xc9)],this[_0x16d5c0(0x9a)]]},{'tag':_0x16d5c0(0x8a),'attributes':{'class':[_0x16d5c0(0xca)]}}];return this[_0x16d5c0(0xd8)][_0x16d5c0(0xd7)]&&_0x44b505[_0x16d5c0(0xcd)]({'tag':_0x16d5c0(0x8a),'attributes':{'class':[_0x16d5c0(0xa2)]},'children':[{'text':this[_0x16d5c0(0x9f)]()}]}),{'tag':_0x16d5c0(0x8a),'attributes':{'class':[_0x16d5c0(0x8c),_0x16d5c0(0xa3)],'tabindex':-0x1},'children':[this[_0x16d5c0(0x8b)],{'tag':_0x16d5c0(0x8a),'attributes':{'class':[_0x16d5c0(0xa5),_0x16d5c0(0xc7)],'role':_0x16d5c0(0xb5)},'children':_0x44b505}]};}[_0x389e84(0x89)](){const _0x432cb7=_0x389e84;this[_0x432cb7(0xd3)][_0x432cb7(0x89)]();}[_0x389e84(0x99)](){const _0x1881b0=_0x389e84;return this[_0x1881b0(0xd8)][_0x1881b0(0xd7)]?_0x1881b0(0xbd)===this[_0x1881b0(0xd8)][_0x1881b0(0xc0)][_0x1881b0(0xb8)][_0x1881b0(0x96)]?_0x88bacd(this[_0x1881b0(0xc4)],_0x1881b0(0xad),this[_0x1881b0(0xd8)][_0x1881b0(0xc5)][_0x1881b0(0xb0)]):_0x88bacd(this[_0x1881b0(0xc4)],_0x1881b0(0xd2),this[_0x1881b0(0xd8)][_0x1881b0(0xc5)][_0x1881b0(0xb0)]):null;}[_0x389e84(0x9f)](){const _0x321ba6=_0x389e84;return _0x321ba6(0xbd)===this[_0x321ba6(0xd8)][_0x321ba6(0xc0)][_0x321ba6(0xb8)][_0x321ba6(0x96)]?_0x88bacd(this[_0x321ba6(0xc4)],_0x321ba6(0xa7)):_0x88bacd(this[_0x321ba6(0xc4)],_0x321ba6(0xc8));}[_0x389e84(0xae)](_0x17e4ad,_0xa777f0,_0x483716,_0xad26db,_0x3bda15){const _0x4e26bc=_0x389e84,_0x1ee757=new _0x3e7e65(this[_0x4e26bc(0xc4)]);return _0x1ee757[_0x4e26bc(0x93)]({'label':_0x17e4ad,'icon':_0xa777f0,'tooltip':!0x0,'tooltipPosition':_0x3bda15}),_0x1ee757[_0x4e26bc(0xb3)]({'attributes':{'class':_0x483716}}),_0x1ee757['on'](_0x4e26bc(0x8d),()=>{const _0x15d10c=_0x4e26bc;this[_0x15d10c(0x9d)](_0xad26db,this[_0x15d10c(0xd8)]['id']);}),_0x1ee757;}[_0x389e84(0xb1)](){const _0x346d84=_0x389e84,_0x5b358e=this[_0x346d84(0xd3)];this[_0x346d84(0xa9)][_0x346d84(0xd9)](_0x5b358e);for(const _0x527738 of this[_0x346d84(0xcf)])this[_0x346d84(0xb2)][_0x346d84(0xb9)](_0x527738[_0x346d84(0xd3)]),this[_0x346d84(0xa9)][_0x346d84(0xd9)](_0x527738[_0x346d84(0xd3)]);this[_0x346d84(0xa9)][_0x346d84(0x93)](_0x346d84(0xcc),(_0x19e09e,_0x477ee9)=>{const _0x254a9c=_0x346d84;_0x5b358e===_0x19e09e[_0x254a9c(0xac)]&&(this[_0x254a9c(0xce)][_0x254a9c(0xd4)](),_0x477ee9());}),this[_0x346d84(0xa9)][_0x346d84(0x93)](_0x346d84(0xe0),(_0x11cf2f,_0x29d4b2)=>{const _0x121887=_0x346d84;_0x5b358e!==_0x11cf2f[_0x121887(0xac)]&&(this[_0x121887(0x89)](),_0x29d4b2());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3321(_0x5cdeb8,_0x123658){const _0x580e5b=_0x580e();return _0x3321=function(_0x3321b6,_0xb2a930){_0x3321b6=_0x3321b6-0x1f0;let _0x32df1a=_0x580e5b[_0x3321b6];return _0x32df1a;},_0x3321(_0x5cdeb8,_0x123658);}function _0x580e(){const _0x4633fa=['321240TvPSqf','height','9820349iYUYwF','\x20ck-track-changes-preview__root-container','ck-track-changes-preview','15BpXgbQ','options','content','setAttribute','style','3776980HmrSmq','462595HAsoZh','setTemplate','createElement','element','6GFDLZh','classes','171420wvGitX','innerHTML','7208LwtEnr','render','width','setPreviewData','focus','previewDataReady','3QBdFeu','ck-reset','push','data-ck-root-name','div','1359szKOit','503327aifdFq','className','fire','dialogRects'];_0x580e=function(){return _0x4633fa;};return _0x580e();}const _0x26b62d=_0x3321;(function(_0x198a13,_0x2e7af6){const _0x32d315=_0x3321,_0x5eb1d8=_0x198a13();while(!![]){try{const _0x17fe40=-parseInt(_0x32d315(0x207))/0x1+parseInt(_0x32d315(0x20b))/0x2*(-parseInt(_0x32d315(0x201))/0x3)+-parseInt(_0x32d315(0x1f9))/0x4*(-parseInt(_0x32d315(0x210))/0x5)+-parseInt(_0x32d315(0x1f7))/0x6*(parseInt(_0x32d315(0x1f3))/0x7)+parseInt(_0x32d315(0x1fb))/0x8*(-parseInt(_0x32d315(0x206))/0x9)+parseInt(_0x32d315(0x1f2))/0xa+parseInt(_0x32d315(0x20d))/0xb;if(_0x17fe40===_0x2e7af6)break;else _0x5eb1d8['push'](_0x5eb1d8['shift']());}catch(_0x2f2631){_0x5eb1d8['push'](_0x5eb1d8['shift']());}}}(_0x580e,0x821cb));import{View as _0x1f7b66}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x1f7b66{[_0x26b62d(0x211)];constructor(_0x202c34,_0x1b3322){const _0x2d4687=_0x26b62d;super(_0x202c34),this[_0x2d4687(0x211)]=_0x1b3322,this[_0x2d4687(0x1f4)]({'tag':_0x2d4687(0x205),'attributes':{'class':['ck',_0x2d4687(0x202),_0x2d4687(0x20f)],'tabindex':-0x1}});}[_0x26b62d(0x1fc)](){const _0xc1efc1=_0x26b62d;super[_0xc1efc1(0x1fc)](),this[_0xc1efc1(0x1f6)][_0xc1efc1(0x1f1)][_0xc1efc1(0x1fd)]=this[_0xc1efc1(0x211)][_0xc1efc1(0x20a)][_0xc1efc1(0x1fd)]+'px',this[_0xc1efc1(0x1f6)][_0xc1efc1(0x1f1)][_0xc1efc1(0x20c)]=this[_0xc1efc1(0x211)][_0xc1efc1(0x20a)][_0xc1efc1(0x20c)]+'px';}[_0x26b62d(0x1fe)](_0x29c2d3,_0x4f0611){const _0x2d9837=_0x26b62d;if(!this[_0x2d9837(0x1f6)])return;const _0x43d6a3=[];for(const [_0x2a37d7,_0x8907a0]of _0x29c2d3){const _0x476da4=document[_0x2d9837(0x1f5)](_0x2d9837(0x205));_0x476da4[_0x2d9837(0x1f0)](_0x2d9837(0x204),_0x2a37d7),_0x476da4[_0x2d9837(0x208)]=_0x8907a0[_0x2d9837(0x1f8)]+_0x2d9837(0x20e),_0x476da4[_0x2d9837(0x1fa)]=_0x8907a0[_0x2d9837(0x212)],_0x43d6a3[_0x2d9837(0x203)](_0x476da4);}_0x4f0611(this[_0x2d9837(0x1f6)],_0x43d6a3),this[_0x2d9837(0x1f6)][_0x2d9837(0x1f1)][_0x2d9837(0x20c)]='',this[_0x2d9837(0x209)](_0x2d9837(0x200));}[_0x26b62d(0x1ff)](){const _0x487e83=_0x26b62d;this[_0x487e83(0x1f6)][_0x487e83(0x1ff)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x44f1bd,_0x5bda67,_0x21bcea){const _0x487357=_0x44f1bd['t'],t=_0x44f1bd['t'];switch(_0x5bda67){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',_0x21bcea);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x21bcea);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x21bcea);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x21bcea);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x21bcea);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',_0x21bcea);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x21bcea);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',_0x21bcea);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x21bcea);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x21bcea);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x21bcea);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x21bcea);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x21bcea);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x21bcea);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x21bcea);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x21bcea);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x21bcea);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x21bcea);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x21bcea);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x21bcea);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x21bcea);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x21bcea);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x21bcea);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x21bcea);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x21bcea);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'},_0x21bcea);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x21bcea);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x21bcea);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x21bcea);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x21bcea);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x21bcea);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x21bcea);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x21bcea);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'},_0x21bcea);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x21bcea);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x21bcea);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x21bcea);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x21bcea);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x21bcea);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x21bcea);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'},_0x21bcea);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x21bcea);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x21bcea);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'},_0x21bcea);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x21bcea);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'},_0x21bcea);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x21bcea);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x21bcea);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x21bcea);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x21bcea);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x21bcea);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'},_0x21bcea);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x21bcea);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 _0x487357({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x21bcea);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x487357({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x21bcea);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x21bcea);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'},_0x21bcea);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'},_0x21bcea);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'},_0x21bcea);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5bda67;}}
|
|
23
|
+
export function getTranslation(_0x365f13,_0x4633a6,_0x211947){const _0x3841d5=_0x365f13['t'],t=_0x365f13['t'];switch(_0x4633a6){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',_0x211947);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x211947);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x211947);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x211947);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x211947);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',_0x211947);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x211947);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',_0x211947);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x211947);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x211947);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x211947);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x211947);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x211947);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x211947);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x211947);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x211947);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x211947);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x211947);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x211947);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x211947);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x211947);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x211947);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x211947);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x211947);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x211947);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'},_0x211947);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x211947);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x211947);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x211947);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x211947);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x211947);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x211947);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x211947);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'},_0x211947);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x211947);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x211947);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x211947);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x211947);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x211947);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x211947);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'},_0x211947);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x211947);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x211947);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'},_0x211947);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x211947);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'},_0x211947);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x211947);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x211947);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x211947);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x211947);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x211947);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'},_0x211947);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x211947);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 _0x3841d5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x211947);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3841d5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x211947);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x211947);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'},_0x211947);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'},_0x211947);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'},_0x211947);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4633a6;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd8059e,_0x407fb2){const _0x22e14d=_0x2940,_0x1459a6=_0xd8059e();while(!![]){try{const _0x3f9019=parseInt(_0x22e14d(0x168))/0x1+parseInt(_0x22e14d(0x18c))/0x2+parseInt(_0x22e14d(0x192))/0x3*(parseInt(_0x22e14d(0x181))/0x4)+parseInt(_0x22e14d(0x16c))/0x5*(parseInt(_0x22e14d(0x174))/0x6)+parseInt(_0x22e14d(0x163))/0x7*(-parseInt(_0x22e14d(0x15d))/0x8)+parseInt(_0x22e14d(0x18d))/0x9*(parseInt(_0x22e14d(0x190))/0xa)+-parseInt(_0x22e14d(0x18f))/0xb;if(_0x3f9019===_0x407fb2)break;else _0x1459a6['push'](_0x1459a6['shift']());}catch(_0x1d310a){_0x1459a6['push'](_0x1459a6['shift']());}}}(_0x464c,0x25bf8));function _0x464c(){const _0x5191c3=['createPositionAfter','isObject','content','getRanges','map','sort','replace','change','isInContent','<span\x20class=\x22ck-suggestion-type\x22>','add','createPositionBefore','4npdbzA','\x22></span>','</span>','isTouching','end','\x22\x20title=\x22','createRange','splice','length','schema','next','151590QDzhIP','23967gtjbCs','deletion','2125695WZWoAI','460OQWsbX','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','321528Qnqxer','attribute','execute','3176wtotzL','start','from','isArray','innerHTML','value','2807ltRHTP','isCollapsed','isMultiRange','createElement','innerText','15484TCAvFv','createPositionAt','join','split','48975nXmUWD','push','isIntersecting','span','\x20[color\x20','type','color','title','114eVlKkD'];_0x464c=function(){return _0x5191c3;};return _0x464c();}export function normalizeDescription(_0x4dcc72){const _0xf57c65=_0x2940;return Array[_0xf57c65(0x160)](_0x4dcc72)||(_0x4dcc72=[_0x4dcc72]),_0x4dcc72[_0xf57c65(0x179)](_0x3a75bf=>{const _0x178a76=_0xf57c65,_0x22ea55=_0x3a75bf[_0x178a76(0x177)][_0x178a76(0x17b)](/\*/g,''),_0x751806=_0x3a75bf[_0x178a76(0x172)]?_0x178a76(0x170)+_0x3a75bf[_0x178a76(0x172)][_0x178a76(0x162)]+']':'';return'['+_0x3a75bf[_0x178a76(0x171)]+']\x20'+_0x22ea55+_0x751806;})[_0xf57c65(0x16a)](';\x20');}export function renderDescription(_0x37617a,_0x347309){const _0x4d00cb=_0x2940;let _0x457710='';return _0x457710+=_0x37617a[_0x4d00cb(0x16b)]('*')[_0x4d00cb(0x179)]((_0x354295,_0x432c32)=>_0x432c32%0x2!=0x0?_0x4d00cb(0x17e)+rn(_0x354295)+_0x4d00cb(0x183):rn(_0x354295))[_0x4d00cb(0x16a)](''),_0x347309&&(_0x457710+=_0x4d00cb(0x191)+_0x347309[_0x4d00cb(0x162)]+_0x4d00cb(0x186)+_0x347309[_0x4d00cb(0x173)]+_0x4d00cb(0x182)),_0x457710;}function rn(_0x3a0a7){const _0x1cc097=_0x2940,_0x504370=document[_0x1cc097(0x166)](_0x1cc097(0x16f));return _0x504370[_0x1cc097(0x167)]=_0x3a0a7,_0x504370[_0x1cc097(0x161)];}export function sortSuggestions(_0x4c1dc1){const _0x2720c4=_0x2940;return _0x4c1dc1[_0x2720c4(0x17a)]((_0x87e9b7,_0x58b364)=>_0x2720c4(0x193)===_0x87e9b7[_0x2720c4(0x171)]&&_0x2720c4(0x193)!==_0x58b364[_0x2720c4(0x171)]?-0x1:_0x2720c4(0x193)!==_0x87e9b7[_0x2720c4(0x171)]&&_0x2720c4(0x193)===_0x58b364[_0x2720c4(0x171)]?0x1:_0x2720c4(0x18e)==_0x87e9b7[_0x2720c4(0x171)]&&_0x2720c4(0x18e)!=_0x58b364[_0x2720c4(0x171)]?-0x1:_0x2720c4(0x18e)!=_0x87e9b7[_0x2720c4(0x171)]&&_0x2720c4(0x18e)==_0x58b364[_0x2720c4(0x171)]?0x1:0x0);}function _0x2940(_0xe188fb,_0x5c3381){const _0x464c01=_0x464c();return _0x2940=function(_0x2940a9,_0x147720){_0x2940a9=_0x2940a9-0x15c;let _0x3e95c6=_0x464c01[_0x2940a9];return _0x3e95c6;},_0x2940(_0xe188fb,_0x5c3381);}export function getSelectedSuggestions(_0x2300e0,_0x46a4dc){const _0x8e3a97=_0x2940,_0x3b4859=Array[_0x8e3a97(0x15f)](_0x2300e0[_0x8e3a97(0x178)]()),_0x3a9daa=new Set();for(const _0x4fbbe of _0x46a4dc)if(_0x4fbbe[_0x8e3a97(0x17d)]){for(const _0x27b71d of _0x3b4859)for(const _0x1529ff of _0x4fbbe[_0x8e3a97(0x178)]())(_0x27b71d[_0x8e3a97(0x16e)](_0x1529ff)||_0x2300e0[_0x8e3a97(0x164)]&&!_0x4fbbe[_0x8e3a97(0x165)]&&_0x4fbbe[_0x8e3a97(0x18b)]&&_0x1529ff[_0x8e3a97(0x185)][_0x8e3a97(0x184)](_0x27b71d[_0x8e3a97(0x15e)]))&&_0x3a9daa[_0x8e3a97(0x17f)](_0x4fbbe);}return _0x3a9daa;}export function getRangesOfBlockGroups(_0x590956,_0x3c04a6){const _0x334961=_0x2940;let _0x52c9b7,_0x1ef4f0=0x0;const _0x46b249=[],_0x11dd9e=_0x3c04a6[_0x334961(0x18a)];for(;_0x1ef4f0<_0x590956[_0x334961(0x189)];){const _0x3f65bb=_0x590956[_0x1ef4f0],_0x23ac28=_0x590956[_0x1ef4f0+0x1];_0x52c9b7||(_0x52c9b7=_0x3c04a6[_0x334961(0x180)](_0x3f65bb)),cn(_0x3c04a6,_0x3f65bb,_0x23ac28)||(_0x46b249[_0x334961(0x16d)](_0x3c04a6[_0x334961(0x187)](_0x52c9b7,_0x11dd9e[_0x334961(0x176)](_0x3f65bb)?_0x3c04a6[_0x334961(0x175)](_0x3f65bb):_0x3c04a6[_0x334961(0x169)](_0x3f65bb,_0x334961(0x185)))),_0x52c9b7=null),_0x1ef4f0++;}return _0x46b249;}function cn(_0x1cab82,_0x7560bc,_0x23626b){const _0x5b79a0=_0x2940;if(!_0x23626b)return!0x1;const _0x3ec3e3=_0x1cab82[_0x5b79a0(0x175)](_0x7560bc),_0x223272=_0x1cab82[_0x5b79a0(0x180)](_0x23626b);return _0x3ec3e3[_0x5b79a0(0x184)](_0x223272);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x437c5d,_0x3eb8ca,_0x460e03){const _0x2c8da2=_0x2940;for(;_0x460e03[_0x2c8da2(0x189)];){const _0x359057=_0x460e03[_0x2c8da2(0x188)](0x0,0x64);_0x437c5d[_0x2c8da2(0x17c)](()=>{const _0x2935c7=_0x2c8da2;for(const _0x2d0980 of _0x359057)_0x2d0980[_0x2935c7(0x17d)]&&_0x3eb8ca[_0x2935c7(0x15c)](_0x2d0980['id']);});}}
|