@ckeditor/ckeditor5-track-changes 47.6.0-alpha.2 → 47.6.0-alpha.3
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 _0x5d654b=_0x14b2;(function(_0x56f77c,_0x10139c){const _0x3f1536=_0x14b2,_0x2b56dc=_0x56f77c();while(!![]){try{const _0xa9c496=-parseInt(_0x3f1536(0xfd))/0x1*(-parseInt(_0x3f1536(0x100))/0x2)+-parseInt(_0x3f1536(0xef))/0x3*(parseInt(_0x3f1536(0xf2))/0x4)+parseInt(_0x3f1536(0xf0))/0x5+parseInt(_0x3f1536(0xfb))/0x6+-parseInt(_0x3f1536(0x103))/0x7+-parseInt(_0x3f1536(0xf8))/0x8*(parseInt(_0x3f1536(0xf1))/0x9)+parseInt(_0x3f1536(0xf9))/0xa;if(_0xa9c496===_0x10139c)break;else _0x2b56dc['push'](_0x2b56dc['shift']());}catch(_0x247474){_0x2b56dc['push'](_0x2b56dc['shift']());}}}(_0x5d78,0x60484));function _0x5d78(){const _0xb53a65=['editor','3111084UcwMIL','config','1jRkeaE','isOfficialPlugin','define','190934HNHdSV','TrackChangesPreview','add','1828757SRzWbk','pluginName','previewFinalContent','218097QUMKhF','1912340ZfEOQz','8955mqkPzv','12UonwnR','isPremiumPlugin','trackChanges.preview.renderFunction','commands','requires','appendChild','1896ZsDdKo','1130860NuqwzA'];_0x5d78=function(){return _0xb53a65;};return _0x5d78();}function _0x14b2(_0x4a7f18,_0x2acb31){const _0x5d78bb=_0x5d78();return _0x14b2=function(_0x14b29f,_0x561c68){_0x14b29f=_0x14b29f-0xee;let _0x33bb65=_0x5d78bb[_0x14b29f];return _0x33bb65;},_0x14b2(_0x4a7f18,_0x2acb31);}import{Plugin as _0x5a074d}from'ckeditor5/src/core.js';import{Dialog as _0x111dc1}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1d2eeb}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x14e33b}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x5a074d{static get[_0x5d654b(0xf6)](){return[_0x1d2eeb,_0x111dc1];}static get[_0x5d654b(0x104)](){const _0x45cc80=_0x5d654b;return _0x45cc80(0x101);}static get[_0x5d654b(0xfe)](){return!0x0;}static get[_0x5d654b(0xf3)](){return!0x0;}constructor(_0x40b9b4){const _0x56b4c5=_0x5d654b;super(_0x40b9b4),_0x40b9b4[_0x56b4c5(0xf5)][_0x56b4c5(0x102)](_0x56b4c5(0xee),new _0x14e33b(this[_0x56b4c5(0xfa)])),_0x40b9b4[_0x56b4c5(0xfc)][_0x56b4c5(0xff)](_0x56b4c5(0xf4),(_0x3dca39,_0x16bc2d)=>{const _0x5b58fb=_0x56b4c5;for(const _0x3b0e99 of _0x16bc2d)_0x3dca39[_0x5b58fb(0xf7)](_0x3b0e99);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34ba8c=_0x43db;(function(_0x1806ba,_0x122b6b){const _0x334945=_0x43db,_0x13581a=_0x1806ba();while(!![]){try{const _0x323798=parseInt(_0x334945(0x132))/0x1*(parseInt(_0x334945(0x13d))/0x2)+-parseInt(_0x334945(0xa6))/0x3*(parseInt(_0x334945(0xe2))/0x4)+parseInt(_0x334945(0xe8))/0x5+parseInt(_0x334945(0x10c))/0x6+-parseInt(_0x334945(0xd9))/0x7*(parseInt(_0x334945(0xc5))/0x8)+-parseInt(_0x334945(0x10a))/0x9+parseInt(_0x334945(0xcf))/0xa;if(_0x323798===_0x122b6b)break;else _0x13581a['push'](_0x13581a['shift']());}catch(_0x535ef7){_0x13581a['push'](_0x13581a['shift']());}}}(_0x2269,0x4e7bd));import{Plugin as _0x2a393a}from'ckeditor5/src/core.js';import{Collection as _0x38e8f3}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x10afc3}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4a6fba,createDropdown as _0x45036d,ListSeparatorView as _0x1e3300,MenuBarMenuView as _0x565a55,MenuBarMenuListView as _0xf5076e,MenuBarMenuListItemView as _0x3eed70,MenuBarMenuListItemButtonView as _0x244320,SplitButtonView as _0x128915,UIModel as _0x23cdb9}from'ckeditor5/src/ui.js';import{Users as _0x5ef5b3,getDateTimeFormatter as _0x56c389,getAllMarkersDomElementsSorted as _0x43c7c7}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x439c75}from'./trackchangesediting.js';function _0x2269(){const _0x5bafab=['_addUIComponentsToFactory','trackChangesLicenseKeyNotAllowed','TrackChanges','arrowView','discardSelectedSuggestions','getJoined','menu','createCommentThreadController','head','remove','set','getMarkers','comments.maxCommentsWhenCollapsed','CommentsRepository','getFirstRange','values','from','2447qmydWY','trackChangesLicenseKeyDomainLimit','getAllAdjacentSuggestions','addComment','change:previous','trackChangesLicenseKeyValid','bind','registerAnnotation','mainView','panelView','get','362RFDWKR','discardAllSuggestions','evaluationLimit','SuggestionView','config','activeAnnotations','acceptButton','getDescriptions','unbind','TrackChangesPreview','_suggestionToController','push','TrackChangesUI','stopListening','plugins','isInContent','featureNotAllowed','lowest','isEnabled','expired','trackChanges.SuggestionThreadView','clear','_viewToController','_createToolbarButton','delegate','1614159QoFMyQ','createAnnotationView','hasSuggestion','some','suggestionView','locale','_destroyController','children','getSuggestion','domainLimit','fire','editing','menuitemcheckbox','toMany','_showLicenseError','usageLimit','trackChangesLicenseKeyUsageLimit','type','size','items','commentsListView','delete','getAnnotationForSuggestion','previewFinalContent','comments.editorConfig','has','value','isOn','execute','isMultiRange','suggestion-','8WEWKYo','view','TrackChangesEditing','commentThread','trackChangesLicenseKeyInvalid','invalid','Annotations','add','isOfficialPlugin','_initializeController','1675350zSYHxC','CommentView','escape','_annotationViews','_handleControllerBuffer','Track\x20changes','_disableComments','Discard\x20all\x20suggestions','isPremiumPlugin','addMany','1185527sOMJlb','suggestionChanged','suggestionUnloaded','button','_licenseKeyCheckInterval','pluginName','commandName','licenseKey','comments.maxCommentCharsWhenCollapsed','4OPXteK','getMarkerNames','requires','keys','innerView','acceptSelectedSuggestions','1228185EsteFF','filter','refreshSelectedViews','commands','init','createAnnotation','trackChangesLicenseKeyEvaluationLimit','activeMarkers','focus','Preview\x20final\x20content','_bindAnnotationToEditors','componentFactory','comments.maxThreadTotalWeight','separator','reduce','source','trackChanges.SuggestionView','discardButton','acceptAllSuggestions','Discard\x20all\x20selected\x20suggestions','CommentsUI','EditorAnnotations','addSourceCollector','destroy','previous','SuggestionThreadView','isDirty','Accept\x20all\x20suggestions','_refreshActiveMarkers','comments','buttonView','switchbutton','editor','_unbindEditors','3197934fuybuy','descriptionFactory','3168780gTgdFt','length','menuitem','actionView','getByInnerView','trackChangesLicenseKeyExpired','trackChanges.disableComments','model','Accept\x20all\x20selected\x20suggestions','suggestionLoaded','getSuggestionForAnnotation','descriptionParts','_createMenuBarMenu','_updateController','_handleSuggestionControllerDelayed','getRanges','trackChanges','listenTo','menuBar:trackChanges','define','change:activeAnnotations'];_0x2269=function(){return _0x5bafab;};return _0x2269();}import{SuggestionController as _0x2dbeb6}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x181651}from'./ui/view/suggestionthreadview.js';function _0x43db(_0x997ca9,_0x54617a){const _0x2269be=_0x2269();return _0x43db=function(_0x43db62,_0x5a190c){_0x43db62=_0x43db62-0x9b;let _0x44ced0=_0x2269be[_0x43db62];return _0x44ced0;},_0x43db(_0x997ca9,_0x54617a);}import{SuggestionView as _0x1a036d}from'./ui/view/suggestionview.js';import{getTranslation as _0x555990}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2a393a{[_0x34ba8c(0xe0)];[_0x34ba8c(0xdd)];[_0x34ba8c(0x147)];[_0x34ba8c(0xa3)];[_0x34ba8c(0xd2)];[_0x34ba8c(0xd3)];[_0x34ba8c(0xd5)];static get[_0x34ba8c(0xe4)](){const _0x1aa9fc=_0x34ba8c;return[_0x439c75,_0x5ef5b3,_0x1aa9fc(0x12e),_0x1aa9fc(0xcb),_0x1aa9fc(0xfd)];}static get[_0x34ba8c(0xde)](){const _0x19b0ef=_0x34ba8c;return _0x19b0ef(0x149);}static get[_0x34ba8c(0xcd)](){return!0x0;}static get[_0x34ba8c(0xd7)](){return!0x0;}constructor(_0xe941d){const _0x19bfdf=_0x34ba8c;super(_0xe941d),this[_0x19bfdf(0x147)]=new Map(),this[_0x19bfdf(0xa3)]=new Map(),this[_0x19bfdf(0xd2)]=new Map(),this[_0x19bfdf(0xd3)]=new Map();const _0xe26c5d=this[_0x19bfdf(0x108)][_0x19bfdf(0x141)];_0xe26c5d[_0x19bfdf(0x11f)](_0x19bfdf(0xa1),_0x181651),_0xe26c5d[_0x19bfdf(0x11f)](_0x19bfdf(0xf8),_0x1a036d),_0xe26c5d[_0x19bfdf(0x11f)](_0x19bfdf(0x112),!0x1),this[_0x19bfdf(0xd5)]=_0xe26c5d[_0x19bfdf(0x13c)](_0x19bfdf(0x112));}[_0x34ba8c(0x11a)](_0x42d1fc,_0x33a72c){const _0x35e2fe=_0x34ba8c;0x0===this[_0x35e2fe(0xd3)][_0x35e2fe(0xb8)]&&setTimeout(()=>{const _0x2d7a77=_0x35e2fe;for(const [_0x546a47,_0x1ccf9e]of this[_0x2d7a77(0xd3)]){const _0x93fd6b=this[_0x2d7a77(0x147)][_0x2d7a77(0xbf)](_0x546a47);_0x93fd6b||_0x1ccf9e?_0x93fd6b&&_0x1ccf9e&&this[_0x2d7a77(0xac)](_0x546a47):this[_0x2d7a77(0xce)](_0x546a47);}this[_0x2d7a77(0xd3)][_0x2d7a77(0xa2)](),this[_0x2d7a77(0x108)][_0x2d7a77(0x9b)][_0x2d7a77(0x13c)](_0x2d7a77(0xfd))[_0x2d7a77(0xea)](),this[_0x2d7a77(0x104)]();},0xa),this[_0x35e2fe(0xd3)][_0x35e2fe(0x12b)](_0x42d1fc,_0x33a72c);}[_0x34ba8c(0xec)](){const _0x55fe03=_0x34ba8c,_0x21f76d=this[_0x55fe03(0x108)],_0x28a085=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0xc7)),_0x3b098b=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0xcb)),_0x117ebd=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0xfd)),_0x406392=_0x21f76d[_0x55fe03(0x9b)][_0x55fe03(0x13c)](_0x55fe03(0x12e));this[_0x55fe03(0x121)](),_0x117ebd[_0x55fe03(0xfe)](()=>{const _0x2da0a2=_0x55fe03,_0xe53b1a=[];for(const [_0x373c5d,_0x127e57]of Array[_0x2da0a2(0x131)](this[_0x2da0a2(0x147)])){const _0x3cac70=_0x373c5d[_0x2da0a2(0x134)](),_0x319cdc=[];for(const _0x4834fc of _0x3cac70){if(!_0x4834fc[_0x2da0a2(0x9c)])continue;if(_0x4834fc[_0x2da0a2(0xc3)]){_0x319cdc[_0x2da0a2(0x148)](..._0x4834fc[_0x2da0a2(0x11b)]());continue;}const _0x277581=_0x4834fc[_0x2da0a2(0x12f)]();if(_0x319cdc[_0x2da0a2(0x10d)]>0x0){const _0x252b25=_0x319cdc[0x0][_0x2da0a2(0x126)](_0x277581);if(_0x252b25){_0x319cdc[0x0]=_0x252b25;continue;}}_0x319cdc[_0x2da0a2(0x148)](_0x277581);}_0xe53b1a[_0x2da0a2(0x148)]([_0x127e57[_0x2da0a2(0xc6)],_0x319cdc]);}return _0xe53b1a;}),this[_0x55fe03(0x11d)](_0x28a085,_0x55fe03(0x115),(_0x1e97f4,_0x2bf8e7)=>{const _0x27b067=_0x55fe03;this[_0x27b067(0x11d)](_0x2bf8e7,_0x27b067(0x136),(_0x411d90,_0x2d745f,_0xd60d86,_0xd2f3d7)=>{const _0x7f7bb2=_0x27b067;_0x2bf8e7[_0x7f7bb2(0x9c)]&&(null==_0xd60d86?(this[_0x7f7bb2(0x119)](_0xd2f3d7[_0x7f7bb2(0x129)]),this[_0x7f7bb2(0x11a)](_0x2bf8e7,!0x1)):(this[_0x7f7bb2(0x119)](_0xd60d86[_0x7f7bb2(0x129)]),null==_0xd2f3d7&&this[_0x7f7bb2(0x11a)](_0x2bf8e7,!0x0)));}),null!==_0x2bf8e7[_0x27b067(0x100)]?this[_0x27b067(0x119)](_0x2bf8e7[_0x27b067(0x129)]):this[_0x27b067(0x11a)](_0x2bf8e7,!0x1);}),this[_0x55fe03(0x11d)](_0x28a085,_0x55fe03(0xdb),(_0xf66738,_0x4cc51d,_0x2cf298)=>{const _0x183b6b=_0x55fe03;this[_0x183b6b(0x14a)](_0x4cc51d,_0x183b6b(0x136)),this[_0x183b6b(0xd3)][_0x183b6b(0xbb)](_0x4cc51d),this[_0x183b6b(0x147)][_0x183b6b(0xbf)](_0x4cc51d)&&this[_0x183b6b(0xac)](_0x4cc51d),_0x2cf298&&this[_0x183b6b(0x119)](_0x2cf298[_0x183b6b(0x129)]);}),this[_0x55fe03(0x11d)](_0x28a085,_0x55fe03(0xda),(_0x5314dc,_0x1c7099)=>{const _0x3b5cfc=_0x55fe03;this[_0x3b5cfc(0x119)](_0x1c7099);}),this[_0x55fe03(0x11d)](_0x3b098b,_0x55fe03(0x120),()=>{const _0x3a139b=_0x55fe03;this[_0x3a139b(0x104)]();}),this[_0x55fe03(0x11d)](_0x406392,_0x55fe03(0x135),(_0x3cb869,{threadId:_0x2e5264,isFromAdapter:_0x310db7})=>{const _0x2a3a5a=_0x55fe03;if(_0x310db7||!_0x28a085[_0x2a3a5a(0xa8)](_0x2e5264))return;const _0x89fdbb=_0x28a085[_0x2a3a5a(0xae)](_0x2e5264);this[_0x2a3a5a(0x147)][_0x2a3a5a(0x13c)](_0x89fdbb)[_0x2a3a5a(0xc6)][_0x2a3a5a(0xba)][_0x2a3a5a(0xf0)](-0x1);},{'priority':_0x55fe03(0x9e)}),this[_0x55fe03(0xe0)]=this[_0x55fe03(0x108)][_0x55fe03(0x141)][_0x55fe03(0x13c)](_0x55fe03(0xe0));const _0x106df8=this[_0x55fe03(0x108)];this[_0x55fe03(0xdd)]=setInterval(()=>{const _0x10e4b1=_0x55fe03;let _0x49955a;for(const _0x16b2ed in _0x106df8){const _0x1117b5=_0x16b2ed,_0x3833c7=_0x106df8[_0x1117b5];if(_0x10e4b1(0x137)==_0x3833c7||_0x10e4b1(0xc9)==_0x3833c7||_0x10e4b1(0x111)==_0x3833c7||_0x10e4b1(0x133)==_0x3833c7||_0x10e4b1(0x122)==_0x3833c7||_0x10e4b1(0xee)==_0x3833c7||_0x10e4b1(0xb6)==_0x3833c7){delete _0x106df8[_0x1117b5],_0x49955a=_0x3833c7,clearInterval(this[_0x10e4b1(0xdd)]),this[_0x10e4b1(0xdd)]=void 0x0;break;}}_0x10e4b1(0xc9)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xca)),_0x10e4b1(0x111)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xa0)),_0x10e4b1(0x133)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xaf)),_0x10e4b1(0x122)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0x9d),_0x10e4b1(0x123)),_0x10e4b1(0xee)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0x13f)),_0x10e4b1(0xb6)==_0x49955a&&_0x106df8[_0x10e4b1(0xb4)](_0x10e4b1(0xb5));},0x3e8);}[_0x34ba8c(0xbc)](_0x56291f){const _0x240600=_0x34ba8c,_0x39218b=this[_0x240600(0x147)][_0x240600(0x13c)](_0x56291f);if(!_0x39218b)return null;return this[_0x240600(0x108)][_0x240600(0x9b)][_0x240600(0x13c)](_0x240600(0xcb))[_0x240600(0x110)](_0x39218b[_0x240600(0xc6)])||null;}[_0x34ba8c(0x116)](_0x148e1c){const _0x42afe2=_0x34ba8c,_0x36e937=this[_0x42afe2(0xa3)][_0x42afe2(0x13c)](_0x148e1c[_0x42afe2(0xe6)]);return _0x36e937?_0x36e937[_0x42afe2(0x113)]:null;}[_0x34ba8c(0x104)](){const _0x4d8551=_0x34ba8c,_0x1194fa=this[_0x4d8551(0x108)][_0x4d8551(0x9b)][_0x4d8551(0x13c)](_0x4d8551(0xcb)),_0x4bbcef=this[_0x4d8551(0x108)][_0x4d8551(0x9b)][_0x4d8551(0x13c)](_0x4d8551(0xc7)),_0x1ebceb=Array[_0x4d8551(0x131)](_0x1194fa[_0x4d8551(0x142)],_0x4fd7a9=>_0x4fd7a9[_0x4d8551(0xe6)])[_0x4d8551(0xe9)](_0x3a8d96=>this[_0x4d8551(0xa3)][_0x4d8551(0xbf)](_0x3a8d96)),_0x62fc2d=[];for(const _0x4df3ba of _0x1ebceb){const _0x5f3db2=this[_0x4d8551(0xa3)][_0x4d8551(0x13c)](_0x4df3ba)[_0x4d8551(0x113)][_0x4d8551(0x134)]();_0x62fc2d[_0x4d8551(0x148)](..._0x5f3db2[_0x4d8551(0xf6)]((_0x4ec728,_0x3e516e)=>[..._0x4ec728,..._0x3e516e[_0x4d8551(0xe3)]()],[]));}_0x4bbcef[_0x4d8551(0xef)]=_0x62fc2d;}[_0x34ba8c(0x121)](){const _0x8e0f02=_0x34ba8c,_0x41d8e3=this[_0x8e0f02(0x108)],_0xce0e2a=_0x41d8e3[_0x8e0f02(0xab)],_0x4e9e63=_0x555990(_0xce0e2a,_0x8e0f02(0xd4)),_0x1ee84c=new _0x38e8f3([{'type':_0x8e0f02(0x107),'model':new _0x23cdb9({'withText':!0x0,'isToggleable':!0x0,'label':_0x4e9e63,'commandName':_0x8e0f02(0x11c),'role':_0x8e0f02(0xb2)})},{'type':_0x8e0f02(0xf5)},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0x103)),'commandName':_0x8e0f02(0xfa),'role':_0x8e0f02(0x10e)})},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0x114)),'commandName':_0x8e0f02(0xe7),'role':_0x8e0f02(0x10e)})},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0xd6)),'commandName':_0x8e0f02(0x13e),'role':_0x8e0f02(0x10e)})},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0xfb)),'commandName':_0x8e0f02(0x125),'role':_0x8e0f02(0x10e)})}]);_0x41d8e3[_0x8e0f02(0x9b)][_0x8e0f02(0xbf)](_0x8e0f02(0x146))&&_0x1ee84c[_0x8e0f02(0xd8)]([{'type':_0x8e0f02(0xf5)},{'type':_0x8e0f02(0xdc),'model':new _0x23cdb9({'withText':!0x0,'label':_0x555990(_0xce0e2a,_0x8e0f02(0xf1)),'commandName':_0x8e0f02(0xbd),'role':_0x8e0f02(0x10e)})}]);for(const _0x3bf47f of _0x1ee84c)if(ke(_0x3bf47f)){const _0x113bed=_0x41d8e3[_0x8e0f02(0xeb)][_0x8e0f02(0x13c)](_0x3bf47f[_0x8e0f02(0x113)][_0x8e0f02(0xdf)]);_0x3bf47f[_0x8e0f02(0x113)][_0x8e0f02(0x138)](_0x8e0f02(0xc1),_0x8e0f02(0x9f))['to'](_0x113bed,_0x8e0f02(0xc0),_0x8e0f02(0x9f));}_0x41d8e3['ui'][_0x8e0f02(0xf3)][_0x8e0f02(0xcc)](_0x8e0f02(0x11c),_0x10eecf=>this[_0x8e0f02(0xa4)](_0x10eecf,_0x1ee84c,_0x4e9e63)),_0x41d8e3['ui'][_0x8e0f02(0xf3)][_0x8e0f02(0xcc)](_0x8e0f02(0x11e),_0x41056a=>this[_0x8e0f02(0x118)](_0x41056a,_0x1ee84c,_0x4e9e63));}[_0x34ba8c(0xa4)](_0x27871d,_0x5ede23,_0x367137){const _0x5675d5=_0x34ba8c,_0x442e5d=_0x45036d(_0x27871d,_0x128915),_0x1e8080=this[_0x5675d5(0x108)][_0x5675d5(0xeb)][_0x5675d5(0x13c)](_0x5675d5(0x11c));_0x442e5d[_0x5675d5(0x106)][_0x5675d5(0x12b)]({'tooltip':_0x367137,'label':_0x367137,'icon':_0x10afc3}),_0x442e5d[_0x5675d5(0x106)][_0x5675d5(0x138)](_0x5675d5(0xc1))['to'](_0x1e8080,_0x5675d5(0xc0)),_0x442e5d[_0x5675d5(0x106)]['on'](_0x5675d5(0xc2),()=>{const _0x4f9571=_0x5675d5;_0x1e8080[_0x4f9571(0xc2)](),this[_0x4f9571(0x108)][_0x4f9571(0xb1)][_0x4f9571(0xc6)][_0x4f9571(0xf0)]();}),_0x4a6fba(_0x442e5d,_0x5ede23,{'role':_0x5675d5(0x127)});const _0x1e1733=[];for(const _0x262f25 of _0x5ede23)ke(_0x262f25)&&_0x1e1733[_0x5675d5(0x148)](this[_0x5675d5(0x108)][_0x5675d5(0xeb)][_0x5675d5(0x13c)](_0x262f25[_0x5675d5(0x113)][_0x5675d5(0xdf)]));const _0x53e480=_0x442e5d[_0x5675d5(0x106)];return _0x53e480[_0x5675d5(0x10f)][_0x5675d5(0x145)](_0x5675d5(0x9f)),_0x53e480[_0x5675d5(0x124)][_0x5675d5(0x145)](_0x5675d5(0x9f)),_0x53e480[_0x5675d5(0x10f)][_0x5675d5(0x138)](_0x5675d5(0x9f))['to'](_0x1e8080,_0x5675d5(0x9f)),_0x53e480[_0x5675d5(0x124)][_0x5675d5(0x138)](_0x5675d5(0x9f))[_0x5675d5(0xb3)](_0x1e1733,_0x5675d5(0x9f),(..._0x2ef374)=>_0x2ef374[_0x5675d5(0xa9)](_0x3978bd=>_0x3978bd)),_0x442e5d['on'](_0x5675d5(0xc2),_0x1757c4=>{const _0x2d0fea=_0x5675d5;this[_0x2d0fea(0x108)][_0x2d0fea(0xc2)](_0x1757c4[_0x2d0fea(0xf7)][_0x2d0fea(0xdf)]),this[_0x2d0fea(0x108)][_0x2d0fea(0xb1)][_0x2d0fea(0xc6)][_0x2d0fea(0xf0)]();}),_0x442e5d;}[_0x34ba8c(0x118)](_0x31fc2f,_0x2219d0,_0x2951a4){const _0x2a01fc=_0x34ba8c,_0x50692e=new _0x565a55(_0x31fc2f),_0xa2d43f=this[_0x2a01fc(0x108)][_0x2a01fc(0xeb)][_0x2a01fc(0x13c)](_0x2a01fc(0x11c));_0x50692e[_0x2a01fc(0x106)][_0x2a01fc(0x12b)]({'label':_0x2951a4,'icon':_0x10afc3});const _0x487ee5=new _0xf5076e(_0x31fc2f);for(const _0xae2325 of _0x2219d0){if(_0x2a01fc(0xf5)==_0xae2325[_0x2a01fc(0xb7)]){_0x487ee5[_0x2a01fc(0xb9)][_0x2a01fc(0xcc)](new _0x1e3300(_0x31fc2f));continue;}const _0x1d0357=new _0x3eed70(_0x31fc2f,_0x50692e),_0x27ea60=new _0x244320(_0x31fc2f),_0x42fdf7=_0xae2325[_0x2a01fc(0x113)];_0x27ea60[_0x2a01fc(0x138)](...Object[_0x2a01fc(0xe5)](_0x42fdf7))['to'](_0x42fdf7),_0x27ea60[_0x2a01fc(0xa5)](_0x2a01fc(0xc2))['to'](_0x50692e),_0x27ea60['on'](_0x2a01fc(0xc2),()=>{const _0x5181cd=_0x2a01fc;this[_0x5181cd(0x108)][_0x5181cd(0xc2)](_0x42fdf7[_0x5181cd(0xdf)]),this[_0x5181cd(0x108)][_0x5181cd(0xb1)][_0x5181cd(0xc6)][_0x5181cd(0xf0)]();}),_0x1d0357[_0x2a01fc(0xad)][_0x2a01fc(0xcc)](_0x27ea60),_0x487ee5[_0x2a01fc(0xb9)][_0x2a01fc(0xcc)](_0x1d0357);}return _0x50692e[_0x2a01fc(0x138)](_0x2a01fc(0x9f))['to'](_0xa2d43f,_0x2a01fc(0x9f)),_0x50692e[_0x2a01fc(0x13b)][_0x2a01fc(0xad)][_0x2a01fc(0xcc)](_0x487ee5),_0x50692e;}[_0x34ba8c(0xce)](_0x5e21fd){const _0x2a6bb0=_0x34ba8c,_0x25ef80=this[_0x2a6bb0(0x108)],_0x5ddc94=_0x25ef80[_0x2a6bb0(0x141)],_0x8e0542=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xcb)),_0x62cc1b=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0x12e)),_0x90b9ab=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xfd)),_0x12a12b=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x5ef5b3)['me'],_0xe4eb28=_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x11c))[_0x2a6bb0(0x101)],_0xbc3539=_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x11c))[_0x2a6bb0(0x140)],{CommentsListView:_0x47e85a,CommentThreadInputView:_0x1811ef}=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xfc));let _0x5baaeb,_0x54ccc9,_0x4c31cc;this[_0x2a6bb0(0xd2)][_0x2a6bb0(0xbf)](_0x5e21fd['id'])?(_0x54ccc9=this[_0x2a6bb0(0xd2)][_0x2a6bb0(0x13c)](_0x5e21fd['id']),_0x5baaeb=_0x54ccc9[_0x2a6bb0(0x13a)]):(_0x5baaeb=new _0xe4eb28(_0x25ef80[_0x2a6bb0(0xab)],_0x5e21fd,_0x12a12b,{'disableComments':this[_0x2a6bb0(0xd5)],'editorConfig':{..._0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xbe)),'licenseKey':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xe0))},'maxCommentsWhenCollapsed':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x12d)),'maxThreadTotalWeight':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xf4)),'maxCommentCharsWhenCollapsed':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xe1)),'formatDateTime':_0x56c389(_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0xab)),_0x25ef80[_0x2a6bb0(0xab)]),'CommentView':_0x5ddc94[_0x2a6bb0(0x13c)](_0x2a6bb0(0x105))[_0x2a6bb0(0xd0)],'CommentsListView':_0x47e85a,'CommentThreadInputView':_0x1811ef,'SuggestionView':_0xbc3539}),_0x5baaeb[_0x2a6bb0(0xaa)][_0x2a6bb0(0x143)]['on'](_0x2a6bb0(0xc2),()=>{const _0xb03982=_0x2a6bb0;_0x25ef80[_0xb03982(0xb1)][_0xb03982(0xc6)][_0xb03982(0xf0)]();}),_0x5baaeb[_0x2a6bb0(0xaa)][_0x2a6bb0(0xf9)]['on'](_0x2a6bb0(0xc2),()=>{const _0x415fd0=_0x2a6bb0;_0x25ef80[_0x415fd0(0xb1)][_0x415fd0(0xc6)][_0x415fd0(0xf0)]();}),_0x54ccc9=_0x8e0542[_0x2a6bb0(0xa7)](this[_0x2a6bb0(0x108)][_0x2a6bb0(0xab)],_0x5baaeb),_0x54ccc9[_0x2a6bb0(0x138)](_0x2a6bb0(0x102))['to'](_0x5baaeb,_0x2a6bb0(0x102)),_0x54ccc9[_0x2a6bb0(0x138)](_0x2a6bb0(0x10d))['to'](_0x5baaeb),_0x54ccc9[_0x2a6bb0(0x138)](_0x2a6bb0(0xb7))['to'](_0x5baaeb,_0x2a6bb0(0xb7),_0x453005=>_0x2a6bb0(0xc4)+_0x453005),_0x5baaeb['on'](_0x2a6bb0(0xd1),()=>{const _0x54b97c=_0x2a6bb0;_0x4c31cc[_0x54b97c(0xb0)](_0x54b97c(0xd1));}),this[_0x2a6bb0(0xd2)][_0x2a6bb0(0x12b)](_0x5e21fd['id'],_0x54ccc9));const _0x430729=_0x62cc1b[_0x2a6bb0(0x128)](_0x5e21fd[_0x2a6bb0(0xc8)],_0x5baaeb),_0x467096=new _0x2dbeb6(_0x25ef80,_0x5e21fd,_0x5baaeb,_0x430729),_0x5a73d2=_0x5e21fd[_0x2a6bb0(0x134)]()[_0x2a6bb0(0xe9)](_0x4d7c2e=>_0x4d7c2e[_0x2a6bb0(0x9c)]);_0x5baaeb[_0x2a6bb0(0x117)]=_0x25ef80[_0x2a6bb0(0x9b)][_0x2a6bb0(0x13c)](_0x2a6bb0(0xc7))[_0x2a6bb0(0x10b)][_0x2a6bb0(0x144)](_0x5a73d2),this[_0x2a6bb0(0x147)][_0x2a6bb0(0x12b)](_0x5e21fd,_0x467096),this[_0x2a6bb0(0xa3)][_0x2a6bb0(0x12b)](_0x5baaeb,_0x467096);const _0x1c8364=()=>{const _0x53e3d5=_0x2a6bb0,_0x3d1df0=[],_0x1ca540=_0x5e21fd[_0x53e3d5(0x134)]()[_0x53e3d5(0xe9)](_0xd74695=>_0xd74695[_0x53e3d5(0x9c)]);for(const _0x4dedf8 of _0x1ca540)_0x3d1df0[_0x53e3d5(0x148)](..._0x4dedf8[_0x53e3d5(0x12c)]());return _0x43c7c7(_0x25ef80[_0x53e3d5(0xb1)],_0x3d1df0);};_0x4c31cc=_0x8e0542[_0x2a6bb0(0xed)]({'view':_0x54ccc9,'target':_0x1c8364,'type':()=>_0x2a6bb0(0xc4)+_0x467096[_0x2a6bb0(0xc6)][_0x2a6bb0(0xb7)],'isVisible':!!_0x1c8364()}),_0x62cc1b[_0x2a6bb0(0xf2)](_0x5baaeb,_0x4c31cc),_0x8e0542[_0x2a6bb0(0xcc)](_0x4c31cc),_0x90b9ab[_0x2a6bb0(0x139)](_0x4c31cc);}[_0x34ba8c(0xac)](_0x26310e){const _0xf956c4=_0x34ba8c,_0x25bfc8=this[_0xf956c4(0x108)][_0xf956c4(0x9b)][_0xf956c4(0x13c)](_0xf956c4(0x12e)),_0x20f1a6=this[_0xf956c4(0x108)][_0xf956c4(0x9b)][_0xf956c4(0x13c)](_0xf956c4(0xcb)),_0x5a788b=this[_0xf956c4(0x147)][_0xf956c4(0x13c)](_0x26310e),_0x388cb1=_0x5a788b[_0xf956c4(0xc6)],_0x3a3158=_0x20f1a6[_0xf956c4(0x110)](_0x388cb1);_0x25bfc8[_0xf956c4(0x109)](_0x388cb1),_0x3a3158&&_0x20f1a6[_0xf956c4(0x12a)](_0x3a3158),this[_0xf956c4(0x147)][_0xf956c4(0xbb)](_0x26310e),this[_0xf956c4(0xa3)][_0xf956c4(0xbb)](_0x388cb1),_0x5a788b[_0xf956c4(0xff)]();}[_0x34ba8c(0x119)](_0x4bd306){const _0x455456=_0x34ba8c;if(!_0x4bd306[_0x455456(0x9c)]||!this[_0x455456(0x147)][_0x455456(0xbf)](_0x4bd306))return;const _0x5f096e=this[_0x455456(0x108)][_0x455456(0x9b)][_0x455456(0x13c)](_0x455456(0xc7)),_0x15056d=this[_0x455456(0x147)][_0x455456(0x13c)](_0x4bd306),_0x48716a=_0x4bd306[_0x455456(0x134)]();_0x15056d[_0x455456(0xc6)][_0x455456(0x117)]=_0x5f096e[_0x455456(0x10b)][_0x455456(0x144)](_0x48716a);}[_0x34ba8c(0xff)](){const _0x36883e=_0x34ba8c;for(const _0x534713 of this[_0x36883e(0x147)][_0x36883e(0xe5)]())this[_0x36883e(0xac)](_0x534713);for(const _0x37192f of this[_0x36883e(0xd2)][_0x36883e(0x130)]())_0x37192f[_0x36883e(0x13a)][_0x36883e(0xff)]();super[_0x36883e(0xff)](),this[_0x36883e(0xdd)]&&clearInterval(this[_0x36883e(0xdd)]);}}function ke(_0x3c2a77){const _0x5ad428=_0x34ba8c;return _0x5ad428(0x113)in _0x3c2a77;}
|
|
23
|
+
const _0x493e06=_0x31a5;(function(_0x4d9b40,_0x19a34f){const _0x2c5ed1=_0x31a5,_0x44e003=_0x4d9b40();while(!![]){try{const _0x5926cc=parseInt(_0x2c5ed1(0x14d))/0x1+-parseInt(_0x2c5ed1(0xef))/0x2+-parseInt(_0x2c5ed1(0x14c))/0x3*(parseInt(_0x2c5ed1(0xe2))/0x4)+parseInt(_0x2c5ed1(0xeb))/0x5+-parseInt(_0x2c5ed1(0xc4))/0x6*(-parseInt(_0x2c5ed1(0x106))/0x7)+-parseInt(_0x2c5ed1(0xdb))/0x8*(parseInt(_0x2c5ed1(0xc5))/0x9)+-parseInt(_0x2c5ed1(0xb8))/0xa*(-parseInt(_0x2c5ed1(0x152))/0xb);if(_0x5926cc===_0x19a34f)break;else _0x44e003['push'](_0x44e003['shift']());}catch(_0x2c20d3){_0x44e003['push'](_0x44e003['shift']());}}}(_0x1c5a,0xca77e));import{Plugin as _0x303b03}from'ckeditor5/src/core.js';import{Collection as _0x4caf72}from'ckeditor5/src/utils.js';function _0x31a5(_0x393697,_0xd291c){const _0x1c5a8d=_0x1c5a();return _0x31a5=function(_0x31a577,_0x249429){_0x31a577=_0x31a577-0xb7;let _0x24dc1e=_0x1c5a8d[_0x31a577];return _0x24dc1e;},_0x31a5(_0x393697,_0xd291c);}import{IconTrackChanges as _0x656ca3}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3e9279,createDropdown as _0x76ab2b,ListSeparatorView as _0x338e72,MenuBarMenuView as _0x400a28,MenuBarMenuListView as _0x23d535,MenuBarMenuListItemView as _0x4d8233,MenuBarMenuListItemButtonView as _0x5b8242,SplitButtonView as _0xd964c1,UIModel as _0x126dd5}from'ckeditor5/src/ui.js';import{Users as _0x254cf4,getDateTimeFormatter as _0x269918,getAllMarkersDomElementsSorted as _0xa65e34}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x46146b}from'./trackchangesediting.js';import{SuggestionController as _0x47785c}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x304cd4}from'./ui/view/suggestionthreadview.js';function _0x1c5a(){const _0x2f93e9=['getMarkers','stopListening','suggestionChanged','7ySFJEl','set','pluginName','_licenseKeyCheckInterval','descriptionFactory','actionView','CommentsRepository','CommentView','source','TrackChangesUI','buttonView','_initializeController','Discard\x20all\x20selected\x20suggestions','SuggestionThreadView','invalid','push','comments.maxCommentCharsWhenCollapsed','getJoined','config','registerAnnotation','trackChangesLicenseKeyDomainLimit','acceptButton','items','getByInnerView','activeAnnotations','Preview\x20final\x20content','editor','escape','Accept\x20all\x20selected\x20suggestions','toMany','isInContent','type','innerView','listenTo','filter','isEnabled','acceptSelectedSuggestions','TrackChanges','_unbindEditors','createAnnotation','model','isMultiRange','evaluationLimit','comments.maxCommentsWhenCollapsed','define','isDirty','_createMenuBarMenu','getAnnotationForSuggestion','discardAllSuggestions','addComment','menuitem','getMarkerNames','EditorAnnotations','execute','reduce','descriptionParts','menu','discardSelectedSuggestions','panelView','mainView','trackChanges.SuggestionView','editing','isOfficialPlugin','commentThread','keys','locale','licenseKey','bind','children','trackChangesLicenseKeyExpired','921wTeBkV','1232658PhKuCz','discardButton','lowest','trackChangesLicenseKeyValid','Accept\x20all\x20suggestions','21378203qwFVOc','_handleControllerBuffer','init','getFirstRange','trackChanges.disableComments','requires','commands','hasSuggestion','menuitemcheckbox','_viewToController','trackChanges','acceptAllSuggestions','isPremiumPlugin','getDescriptions','TrackChangesEditing','trackChanges.SuggestionThreadView','createAnnotationView','values','delegate','featureNotAllowed','destroy','length','CommentsUI','10qNpqsE','trackChangesLicenseKeyInvalid','head','get','createCommentThreadController','separator','some','suggestionUnloaded','previewFinalContent','comments.editorConfig','view','value','49638cbeBHv','11559789apIHzy','remove','_disableComments','comments.maxThreadTotalWeight','_updateController','_destroyController','_addUIComponentsToFactory','getSuggestion','has','switchbutton','_annotationViews','menuBar:trackChanges','suggestionLoaded','expired','getRanges','size','plugins','_createToolbarButton','refreshSelectedViews','focus','trackChangesLicenseKeyUsageLimit','previous','8SPjyDv','delete','commandName','Track\x20changes','Discard\x20all\x20suggestions','clear','getAllAdjacentSuggestions','13796zxnsUt','_suggestionToController','getSuggestionForAnnotation','add','TrackChangesPreview','isOn','usageLimit','SuggestionView','trackChangesLicenseKeyNotAllowed','3231545YyIQAV','arrowView','addMany','button','1316278pLRmkf','change:previous','domainLimit','comments','fire','from','_showLicenseError','addSourceCollector','unbind','componentFactory','trackChangesLicenseKeyEvaluationLimit','activeMarkers','suggestion-','suggestionView','commentsListView','change:activeAnnotations','_handleSuggestionControllerDelayed','_refreshActiveMarkers','Annotations','_bindAnnotationToEditors'];_0x1c5a=function(){return _0x2f93e9;};return _0x1c5a();}import{SuggestionView as _0x1bc556}from'./ui/view/suggestionview.js';import{getTranslation as _0x1f279b}from'./utils/common-translations.js';export class TrackChangesUI extends _0x303b03{[_0x493e06(0x148)];[_0x493e06(0x109)];[_0x493e06(0xe3)];[_0x493e06(0x15b)];[_0x493e06(0xcf)];[_0x493e06(0x153)];[_0x493e06(0xc7)];static get[_0x493e06(0x157)](){const _0x1d959b=_0x493e06;return[_0x46146b,_0x254cf4,_0x1d959b(0x10c),_0x1d959b(0x101),_0x1d959b(0x13a)];}static get[_0x493e06(0x108)](){const _0x1614d9=_0x493e06;return _0x1614d9(0x10f);}static get[_0x493e06(0x144)](){return!0x0;}static get[_0x493e06(0x15e)](){return!0x0;}constructor(_0x470754){const _0x477a0b=_0x493e06;super(_0x470754),this[_0x477a0b(0xe3)]=new Map(),this[_0x477a0b(0x15b)]=new Map(),this[_0x477a0b(0xcf)]=new Map(),this[_0x477a0b(0x153)]=new Map();const _0x18ed7a=this[_0x477a0b(0x120)][_0x477a0b(0x118)];_0x18ed7a[_0x477a0b(0x132)](_0x477a0b(0x161),_0x304cd4),_0x18ed7a[_0x477a0b(0x132)](_0x477a0b(0x142),_0x1bc556),_0x18ed7a[_0x477a0b(0x132)](_0x477a0b(0x156),!0x1),this[_0x477a0b(0xc7)]=_0x18ed7a[_0x477a0b(0xbb)](_0x477a0b(0x156));}[_0x493e06(0xff)](_0x59d7e4,_0x530a90){const _0x59b10e=_0x493e06;0x0===this[_0x59b10e(0x153)][_0x59b10e(0xd4)]&&setTimeout(()=>{const _0x4e8c42=_0x59b10e;for(const [_0x4130d8,_0x2ac279]of this[_0x4e8c42(0x153)]){const _0x2c88bb=this[_0x4e8c42(0xe3)][_0x4e8c42(0xcd)](_0x4130d8);_0x2c88bb||_0x2ac279?_0x2c88bb&&_0x2ac279&&this[_0x4e8c42(0xca)](_0x4130d8):this[_0x4e8c42(0x111)](_0x4130d8);}this[_0x4e8c42(0x153)][_0x4e8c42(0xe0)](),this[_0x4e8c42(0x120)][_0x4e8c42(0xd5)][_0x4e8c42(0xbb)](_0x4e8c42(0x13a))[_0x4e8c42(0xd7)](),this[_0x4e8c42(0x100)]();},0xa),this[_0x59b10e(0x153)][_0x59b10e(0x107)](_0x59d7e4,_0x530a90);}[_0x493e06(0x154)](){const _0x29b040=_0x493e06,_0x939141=this[_0x29b040(0x120)],_0x5eac77=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x160)),_0x1e2a61=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x101)),_0x3ee3ff=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x13a)),_0x11599a=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x10c));this[_0x29b040(0xcb)](),_0x3ee3ff[_0x29b040(0xf6)](()=>{const _0x29395c=_0x29b040,_0x3d5c73=[];for(const [_0x38d5bf,_0x2b9b5f]of Array[_0x29395c(0xf4)](this[_0x29395c(0xe3)])){const _0x134a45=_0x38d5bf[_0x29395c(0xe1)](),_0x409fda=[];for(const _0x50d9b9 of _0x134a45){if(!_0x50d9b9[_0x29395c(0x124)])continue;if(_0x50d9b9[_0x29395c(0x12f)]){_0x409fda[_0x29395c(0x115)](..._0x50d9b9[_0x29395c(0xd3)]());continue;}const _0x41cb1e=_0x50d9b9[_0x29395c(0x155)]();if(_0x409fda[_0x29395c(0x167)]>0x0){const _0x4fed73=_0x409fda[0x0][_0x29395c(0x117)](_0x41cb1e);if(_0x4fed73){_0x409fda[0x0]=_0x4fed73;continue;}}_0x409fda[_0x29395c(0x115)](_0x41cb1e);}_0x3d5c73[_0x29395c(0x115)]([_0x2b9b5f[_0x29395c(0xc2)],_0x409fda]);}return _0x3d5c73;}),this[_0x29b040(0x127)](_0x5eac77,_0x29b040(0xd1),(_0x3be389,_0x5d9458)=>{const _0x41e489=_0x29b040;this[_0x41e489(0x127)](_0x5d9458,_0x41e489(0xf0),(_0x54ad5a,_0x1e082c,_0xe3b987,_0x3f21e9)=>{const _0x3baa1f=_0x41e489;_0x5d9458[_0x3baa1f(0x124)]&&(null==_0xe3b987?(this[_0x3baa1f(0xc9)](_0x3f21e9[_0x3baa1f(0xba)]),this[_0x3baa1f(0xff)](_0x5d9458,!0x1)):(this[_0x3baa1f(0xc9)](_0xe3b987[_0x3baa1f(0xba)]),null==_0x3f21e9&&this[_0x3baa1f(0xff)](_0x5d9458,!0x0)));}),null!==_0x5d9458[_0x41e489(0xda)]?this[_0x41e489(0xc9)](_0x5d9458[_0x41e489(0xba)]):this[_0x41e489(0xff)](_0x5d9458,!0x1);}),this[_0x29b040(0x127)](_0x5eac77,_0x29b040(0xbf),(_0x2cc03f,_0x4dae1c,_0x4be920)=>{const _0x569ac1=_0x29b040;this[_0x569ac1(0x104)](_0x4dae1c,_0x569ac1(0xf0)),this[_0x569ac1(0x153)][_0x569ac1(0xdc)](_0x4dae1c),this[_0x569ac1(0xe3)][_0x569ac1(0xcd)](_0x4dae1c)&&this[_0x569ac1(0xca)](_0x4dae1c),_0x4be920&&this[_0x569ac1(0xc9)](_0x4be920[_0x569ac1(0xba)]);}),this[_0x29b040(0x127)](_0x5eac77,_0x29b040(0x105),(_0xa2ea15,_0x3a786c)=>{const _0x5caf57=_0x29b040;this[_0x5caf57(0xc9)](_0x3a786c);}),this[_0x29b040(0x127)](_0x1e2a61,_0x29b040(0xfe),()=>{const _0x3275d3=_0x29b040;this[_0x3275d3(0x100)]();}),this[_0x29b040(0x127)](_0x11599a,_0x29b040(0x137),(_0x5589ce,{threadId:_0x34918d,isFromAdapter:_0x30c837})=>{const _0x5be5db=_0x29b040;if(_0x30c837||!_0x5eac77[_0x5be5db(0x159)](_0x34918d))return;const _0x527e78=_0x5eac77[_0x5be5db(0xcc)](_0x34918d);this[_0x5be5db(0xe3)][_0x5be5db(0xbb)](_0x527e78)[_0x5be5db(0xc2)][_0x5be5db(0xfd)][_0x5be5db(0xd8)](-0x1);},{'priority':_0x29b040(0x14f)}),this[_0x29b040(0x148)]=this[_0x29b040(0x120)][_0x29b040(0x118)][_0x29b040(0xbb)](_0x29b040(0x148));const _0xfa6c4b=this[_0x29b040(0x120)];this[_0x29b040(0x109)]=setInterval(()=>{const _0x15bd69=_0x29b040;let _0x5650e1;for(const _0xb6c693 in _0xfa6c4b){const _0x410e48=_0xb6c693,_0x24de67=_0xfa6c4b[_0x410e48];if(_0x15bd69(0x150)==_0x24de67||_0x15bd69(0xb9)==_0x24de67||_0x15bd69(0x14b)==_0x24de67||_0x15bd69(0x11a)==_0x24de67||_0x15bd69(0xea)==_0x24de67||_0x15bd69(0xf9)==_0x24de67||_0x15bd69(0xd9)==_0x24de67){delete _0xfa6c4b[_0x410e48],_0x5650e1=_0x24de67,clearInterval(this[_0x15bd69(0x109)]),this[_0x15bd69(0x109)]=void 0x0;break;}}_0x15bd69(0xb9)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0x114)),_0x15bd69(0x14b)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0xd2)),_0x15bd69(0x11a)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0xf1)),_0x15bd69(0xea)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0x165),_0x15bd69(0x12b)),_0x15bd69(0xf9)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0x130)),_0x15bd69(0xd9)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0xe8));},0x3e8);}[_0x493e06(0x135)](_0x56c578){const _0x445630=_0x493e06,_0x83943b=this[_0x445630(0xe3)][_0x445630(0xbb)](_0x56c578);if(!_0x83943b)return null;return this[_0x445630(0x120)][_0x445630(0xd5)][_0x445630(0xbb)](_0x445630(0x101))[_0x445630(0x11d)](_0x83943b[_0x445630(0xc2)])||null;}[_0x493e06(0xe4)](_0xc14b63){const _0x53bde3=_0x493e06,_0x1565c8=this[_0x53bde3(0x15b)][_0x53bde3(0xbb)](_0xc14b63[_0x53bde3(0x126)]);return _0x1565c8?_0x1565c8[_0x53bde3(0x12e)]:null;}[_0x493e06(0x100)](){const _0x329b76=_0x493e06,_0x42d3dd=this[_0x329b76(0x120)][_0x329b76(0xd5)][_0x329b76(0xbb)](_0x329b76(0x101)),_0x13d5ff=this[_0x329b76(0x120)][_0x329b76(0xd5)][_0x329b76(0xbb)](_0x329b76(0x160)),_0x226842=Array[_0x329b76(0xf4)](_0x42d3dd[_0x329b76(0x11e)],_0x4dfda8=>_0x4dfda8[_0x329b76(0x126)])[_0x329b76(0x128)](_0x26371a=>this[_0x329b76(0x15b)][_0x329b76(0xcd)](_0x26371a)),_0x28d520=[];for(const _0x4532f8 of _0x226842){const _0x2505f4=this[_0x329b76(0x15b)][_0x329b76(0xbb)](_0x4532f8)[_0x329b76(0x12e)][_0x329b76(0xe1)]();_0x28d520[_0x329b76(0x115)](..._0x2505f4[_0x329b76(0x13c)]((_0x5058b2,_0x3a55d3)=>[..._0x5058b2,..._0x3a55d3[_0x329b76(0x139)]()],[]));}_0x13d5ff[_0x329b76(0xfa)]=_0x28d520;}[_0x493e06(0xcb)](){const _0x2c47e0=_0x493e06,_0x3dab79=this[_0x2c47e0(0x120)],_0x2cc242=_0x3dab79[_0x2c47e0(0x147)],_0x1c5bba=_0x1f279b(_0x2cc242,_0x2c47e0(0xde)),_0x2d0ebb=new _0x4caf72([{'type':_0x2c47e0(0xce),'model':new _0x126dd5({'withText':!0x0,'isToggleable':!0x0,'label':_0x1c5bba,'commandName':_0x2c47e0(0x15c),'role':_0x2c47e0(0x15a)})},{'type':_0x2c47e0(0xbd)},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x151)),'commandName':_0x2c47e0(0x15d),'role':_0x2c47e0(0x138)})},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x122)),'commandName':_0x2c47e0(0x12a),'role':_0x2c47e0(0x138)})},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0xdf)),'commandName':_0x2c47e0(0x136),'role':_0x2c47e0(0x138)})},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x112)),'commandName':_0x2c47e0(0x13f),'role':_0x2c47e0(0x138)})}]);_0x3dab79[_0x2c47e0(0xd5)][_0x2c47e0(0xcd)](_0x2c47e0(0xe6))&&_0x2d0ebb[_0x2c47e0(0xed)]([{'type':_0x2c47e0(0xbd)},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x11f)),'commandName':_0x2c47e0(0xc0),'role':_0x2c47e0(0x138)})}]);for(const _0x3351c3 of _0x2d0ebb)if(ke(_0x3351c3)){const _0x31c261=_0x3dab79[_0x2c47e0(0x158)][_0x2c47e0(0xbb)](_0x3351c3[_0x2c47e0(0x12e)][_0x2c47e0(0xdd)]);_0x3351c3[_0x2c47e0(0x12e)][_0x2c47e0(0x149)](_0x2c47e0(0xe7),_0x2c47e0(0x129))['to'](_0x31c261,_0x2c47e0(0xc3),_0x2c47e0(0x129));}_0x3dab79['ui'][_0x2c47e0(0xf8)][_0x2c47e0(0xe5)](_0x2c47e0(0x15c),_0x1ce0f6=>this[_0x2c47e0(0xd6)](_0x1ce0f6,_0x2d0ebb,_0x1c5bba)),_0x3dab79['ui'][_0x2c47e0(0xf8)][_0x2c47e0(0xe5)](_0x2c47e0(0xd0),_0x2c621b=>this[_0x2c47e0(0x134)](_0x2c621b,_0x2d0ebb,_0x1c5bba));}[_0x493e06(0xd6)](_0x209d50,_0x490c7b,_0x4221c8){const _0xfe540e=_0x493e06,_0xd36b50=_0x76ab2b(_0x209d50,_0xd964c1),_0x2576c6=this[_0xfe540e(0x120)][_0xfe540e(0x158)][_0xfe540e(0xbb)](_0xfe540e(0x15c));_0xd36b50[_0xfe540e(0x110)][_0xfe540e(0x107)]({'tooltip':_0x4221c8,'label':_0x4221c8,'icon':_0x656ca3}),_0xd36b50[_0xfe540e(0x110)][_0xfe540e(0x149)](_0xfe540e(0xe7))['to'](_0x2576c6,_0xfe540e(0xc3)),_0xd36b50[_0xfe540e(0x110)]['on'](_0xfe540e(0x13b),()=>{const _0x5751af=_0xfe540e;_0x2576c6[_0x5751af(0x13b)](),this[_0x5751af(0x120)][_0x5751af(0x143)][_0x5751af(0xc2)][_0x5751af(0xd8)]();}),_0x3e9279(_0xd36b50,_0x490c7b,{'role':_0xfe540e(0x13e)});const _0x2ba0c5=[];for(const _0x2132b8 of _0x490c7b)ke(_0x2132b8)&&_0x2ba0c5[_0xfe540e(0x115)](this[_0xfe540e(0x120)][_0xfe540e(0x158)][_0xfe540e(0xbb)](_0x2132b8[_0xfe540e(0x12e)][_0xfe540e(0xdd)]));const _0xe06681=_0xd36b50[_0xfe540e(0x110)];return _0xe06681[_0xfe540e(0x10b)][_0xfe540e(0xf7)](_0xfe540e(0x129)),_0xe06681[_0xfe540e(0xec)][_0xfe540e(0xf7)](_0xfe540e(0x129)),_0xe06681[_0xfe540e(0x10b)][_0xfe540e(0x149)](_0xfe540e(0x129))['to'](_0x2576c6,_0xfe540e(0x129)),_0xe06681[_0xfe540e(0xec)][_0xfe540e(0x149)](_0xfe540e(0x129))[_0xfe540e(0x123)](_0x2ba0c5,_0xfe540e(0x129),(..._0x36d351)=>_0x36d351[_0xfe540e(0xbe)](_0xbb090b=>_0xbb090b)),_0xd36b50['on'](_0xfe540e(0x13b),_0x208ac5=>{const _0x2c8bd2=_0xfe540e;this[_0x2c8bd2(0x120)][_0x2c8bd2(0x13b)](_0x208ac5[_0x2c8bd2(0x10e)][_0x2c8bd2(0xdd)]),this[_0x2c8bd2(0x120)][_0x2c8bd2(0x143)][_0x2c8bd2(0xc2)][_0x2c8bd2(0xd8)]();}),_0xd36b50;}[_0x493e06(0x134)](_0x137f6f,_0xc2a0b1,_0x5354fd){const _0x333b66=_0x493e06,_0x495a83=new _0x400a28(_0x137f6f),_0x52f089=this[_0x333b66(0x120)][_0x333b66(0x158)][_0x333b66(0xbb)](_0x333b66(0x15c));_0x495a83[_0x333b66(0x110)][_0x333b66(0x107)]({'label':_0x5354fd,'icon':_0x656ca3});const _0x960e50=new _0x23d535(_0x137f6f);for(const _0x64829d of _0xc2a0b1){if(_0x333b66(0xbd)==_0x64829d[_0x333b66(0x125)]){_0x960e50[_0x333b66(0x11c)][_0x333b66(0xe5)](new _0x338e72(_0x137f6f));continue;}const _0x1e56a8=new _0x4d8233(_0x137f6f,_0x495a83),_0x5f55f0=new _0x5b8242(_0x137f6f),_0x391afc=_0x64829d[_0x333b66(0x12e)];_0x5f55f0[_0x333b66(0x149)](...Object[_0x333b66(0x146)](_0x391afc))['to'](_0x391afc),_0x5f55f0[_0x333b66(0x164)](_0x333b66(0x13b))['to'](_0x495a83),_0x5f55f0['on'](_0x333b66(0x13b),()=>{const _0x3fa134=_0x333b66;this[_0x3fa134(0x120)][_0x3fa134(0x13b)](_0x391afc[_0x3fa134(0xdd)]),this[_0x3fa134(0x120)][_0x3fa134(0x143)][_0x3fa134(0xc2)][_0x3fa134(0xd8)]();}),_0x1e56a8[_0x333b66(0x14a)][_0x333b66(0xe5)](_0x5f55f0),_0x960e50[_0x333b66(0x11c)][_0x333b66(0xe5)](_0x1e56a8);}return _0x495a83[_0x333b66(0x149)](_0x333b66(0x129))['to'](_0x52f089,_0x333b66(0x129)),_0x495a83[_0x333b66(0x140)][_0x333b66(0x14a)][_0x333b66(0xe5)](_0x960e50),_0x495a83;}[_0x493e06(0x111)](_0x299e52){const _0x152f9e=_0x493e06,_0x4a51af=this[_0x152f9e(0x120)],_0x1f8421=_0x4a51af[_0x152f9e(0x118)],_0x10c3b2=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x101)),_0x45252f=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x10c)),_0x33336c=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x13a)),_0x4a8c80=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x254cf4)['me'],_0x295aaf=_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x15c))[_0x152f9e(0x113)],_0x131a45=_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x15c))[_0x152f9e(0xe9)],{CommentsListView:_0x6318a9,CommentThreadInputView:_0x2b56de}=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0xb7));let _0x22b22d,_0x27d8a6,_0x4bf26b;this[_0x152f9e(0xcf)][_0x152f9e(0xcd)](_0x299e52['id'])?(_0x27d8a6=this[_0x152f9e(0xcf)][_0x152f9e(0xbb)](_0x299e52['id']),_0x22b22d=_0x27d8a6[_0x152f9e(0x141)]):(_0x22b22d=new _0x295aaf(_0x4a51af[_0x152f9e(0x147)],_0x299e52,_0x4a8c80,{'disableComments':this[_0x152f9e(0xc7)],'editorConfig':{..._0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0xc1)),'licenseKey':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x148))},'maxCommentsWhenCollapsed':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x131)),'maxThreadTotalWeight':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0xc8)),'maxCommentCharsWhenCollapsed':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x116)),'formatDateTime':_0x269918(_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x147)),_0x4a51af[_0x152f9e(0x147)]),'CommentView':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0xf2))[_0x152f9e(0x10d)],'CommentsListView':_0x6318a9,'CommentThreadInputView':_0x2b56de,'SuggestionView':_0x131a45}),_0x22b22d[_0x152f9e(0xfc)][_0x152f9e(0x11b)]['on'](_0x152f9e(0x13b),()=>{const _0x366278=_0x152f9e;_0x4a51af[_0x366278(0x143)][_0x366278(0xc2)][_0x366278(0xd8)]();}),_0x22b22d[_0x152f9e(0xfc)][_0x152f9e(0x14e)]['on'](_0x152f9e(0x13b),()=>{const _0x126342=_0x152f9e;_0x4a51af[_0x126342(0x143)][_0x126342(0xc2)][_0x126342(0xd8)]();}),_0x27d8a6=_0x10c3b2[_0x152f9e(0x162)](this[_0x152f9e(0x120)][_0x152f9e(0x147)],_0x22b22d),_0x27d8a6[_0x152f9e(0x149)](_0x152f9e(0x133))['to'](_0x22b22d,_0x152f9e(0x133)),_0x27d8a6[_0x152f9e(0x149)](_0x152f9e(0x167))['to'](_0x22b22d),_0x27d8a6[_0x152f9e(0x149)](_0x152f9e(0x125))['to'](_0x22b22d,_0x152f9e(0x125),_0x653ac2=>_0x152f9e(0xfb)+_0x653ac2),_0x22b22d['on'](_0x152f9e(0x121),()=>{const _0x33530a=_0x152f9e;_0x4bf26b[_0x33530a(0xf3)](_0x33530a(0x121));}),this[_0x152f9e(0xcf)][_0x152f9e(0x107)](_0x299e52['id'],_0x27d8a6));const _0x557e5f=_0x45252f[_0x152f9e(0xbc)](_0x299e52[_0x152f9e(0x145)],_0x22b22d),_0x47b03c=new _0x47785c(_0x4a51af,_0x299e52,_0x22b22d,_0x557e5f),_0x49af32=_0x299e52[_0x152f9e(0xe1)]()[_0x152f9e(0x128)](_0x2c8e4a=>_0x2c8e4a[_0x152f9e(0x124)]);_0x22b22d[_0x152f9e(0x13d)]=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x160))[_0x152f9e(0x10a)][_0x152f9e(0x15f)](_0x49af32),this[_0x152f9e(0xe3)][_0x152f9e(0x107)](_0x299e52,_0x47b03c),this[_0x152f9e(0x15b)][_0x152f9e(0x107)](_0x22b22d,_0x47b03c);const _0x3a70a7=()=>{const _0x3483de=_0x152f9e,_0xf615ae=[],_0x262e74=_0x299e52[_0x3483de(0xe1)]()[_0x3483de(0x128)](_0x2d480a=>_0x2d480a[_0x3483de(0x124)]);for(const _0x3953a3 of _0x262e74)_0xf615ae[_0x3483de(0x115)](..._0x3953a3[_0x3483de(0x103)]());return _0xa65e34(_0x4a51af[_0x3483de(0x143)],_0xf615ae);};_0x4bf26b=_0x10c3b2[_0x152f9e(0x12d)]({'view':_0x27d8a6,'target':_0x3a70a7,'type':()=>_0x152f9e(0xfb)+_0x47b03c[_0x152f9e(0xc2)][_0x152f9e(0x125)],'isVisible':!!_0x3a70a7()}),_0x45252f[_0x152f9e(0x102)](_0x22b22d,_0x4bf26b),_0x10c3b2[_0x152f9e(0xe5)](_0x4bf26b),_0x33336c[_0x152f9e(0x119)](_0x4bf26b);}[_0x493e06(0xca)](_0x2ca654){const _0x49b44d=_0x493e06,_0x440e1d=this[_0x49b44d(0x120)][_0x49b44d(0xd5)][_0x49b44d(0xbb)](_0x49b44d(0x10c)),_0x4bfdc2=this[_0x49b44d(0x120)][_0x49b44d(0xd5)][_0x49b44d(0xbb)](_0x49b44d(0x101)),_0x124f35=this[_0x49b44d(0xe3)][_0x49b44d(0xbb)](_0x2ca654),_0x2cbb08=_0x124f35[_0x49b44d(0xc2)],_0x3c0a6d=_0x4bfdc2[_0x49b44d(0x11d)](_0x2cbb08);_0x440e1d[_0x49b44d(0x12c)](_0x2cbb08),_0x3c0a6d&&_0x4bfdc2[_0x49b44d(0xc6)](_0x3c0a6d),this[_0x49b44d(0xe3)][_0x49b44d(0xdc)](_0x2ca654),this[_0x49b44d(0x15b)][_0x49b44d(0xdc)](_0x2cbb08),_0x124f35[_0x49b44d(0x166)]();}[_0x493e06(0xc9)](_0x5ec795){const _0xff2e53=_0x493e06;if(!_0x5ec795[_0xff2e53(0x124)]||!this[_0xff2e53(0xe3)][_0xff2e53(0xcd)](_0x5ec795))return;const _0x4f2b6b=this[_0xff2e53(0x120)][_0xff2e53(0xd5)][_0xff2e53(0xbb)](_0xff2e53(0x160)),_0x11bf8d=this[_0xff2e53(0xe3)][_0xff2e53(0xbb)](_0x5ec795),_0x285c2e=_0x5ec795[_0xff2e53(0xe1)]();_0x11bf8d[_0xff2e53(0xc2)][_0xff2e53(0x13d)]=_0x4f2b6b[_0xff2e53(0x10a)][_0xff2e53(0x15f)](_0x285c2e);}[_0x493e06(0x166)](){const _0x2010c8=_0x493e06;for(const _0x575176 of this[_0x2010c8(0xe3)][_0x2010c8(0x146)]())this[_0x2010c8(0xca)](_0x575176);for(const _0x9666cc of this[_0x2010c8(0xcf)][_0x2010c8(0x163)]())_0x9666cc[_0x2010c8(0x141)][_0x2010c8(0x166)]();super[_0x2010c8(0x166)](),this[_0x2010c8(0x109)]&&clearInterval(this[_0x2010c8(0x109)]);}}function ke(_0x18398c){const _0x2c468b=_0x493e06;return _0x2c468b(0x12e)in _0x18398c;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5bb3(_0x171eb3,_0x121686){const _0x1b135f=_0x1b13();return _0x5bb3=function(_0x5bb31b,_0x19b30e){_0x5bb31b=_0x5bb31b-0x113;let _0x2630cd=_0x1b135f[_0x5bb31b];return _0x2630cd;},_0x5bb3(_0x171eb3,_0x121686);}const _0x36289f=_0x5bb3;function _0x1b13(){const _0x1aa306=['3294985RDdObW','change:isDirty','destroy','1472OvylWj','getRanges','canDiscard','isEnabled','get','plugins','stopListening','882992rvRukD','5dbnFcz','_discardCommand','acceptSuggestion','add','6058422ZiKIgr','PendingActions','_acceptCommand','locale','_editor','canAccept','_pendingAction','bind','145322ftfoLp','commentThreadController','view','isDirty','PENDING_ACTION_SUGGESTION','model','2428143CuVeuO','39312BCVjri','discardSuggestion','execute','commands','canEditAt','_setPendingAction','unbind','3319236teIbSo','remove','_removePendingAction','listenTo'];_0x1b13=function(){return _0x1aa306;};return _0x1b13();}(function(_0x15ae14,_0x553afc){const _0x1fa818=_0x5bb3,_0x46b8cd=_0x15ae14();while(!![]){try{const _0x2ad704=parseInt(_0x1fa818(0x12a))/0x1*(-parseInt(_0x1fa818(0x136))/0x2)+-parseInt(_0x1fa818(0x113))/0x3+parseInt(_0x1fa818(0x129))/0x4+parseInt(_0x1fa818(0x11f))/0x5+parseInt(_0x1fa818(0x11b))/0x6+parseInt(_0x1fa818(0x114))/0x7*(parseInt(_0x1fa818(0x122))/0x8)+-parseInt(_0x1fa818(0x12e))/0x9;if(_0x2ad704===_0x553afc)break;else _0x46b8cd['push'](_0x46b8cd['shift']());}catch(_0x3310a0){_0x46b8cd['push'](_0x46b8cd['shift']());}}}(_0x1b13,0x977a3));import{ObservableMixin as _0x4ce2df}from'ckeditor5/src/utils.js';import{getTranslation as _0x395163}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4ce2df(){[_0x36289f(0x13b)];[_0x36289f(0x138)];[_0x36289f(0x137)];[_0x36289f(0x132)];[_0x36289f(0x130)];[_0x36289f(0x12b)];[_0x36289f(0x134)];constructor(_0x490d78,_0x315aa7,_0x2177df,_0xdd0b0){const _0x2f106c=_0x36289f;super(),this[_0x2f106c(0x13b)]=_0x315aa7,this[_0x2f106c(0x138)]=_0x2177df,this[_0x2f106c(0x137)]=_0xdd0b0,this[_0x2f106c(0x132)]=_0x490d78,this[_0x2f106c(0x130)]=_0x490d78[_0x2f106c(0x117)][_0x2f106c(0x126)](_0x2f106c(0x12c)),this[_0x2f106c(0x12b)]=_0x490d78[_0x2f106c(0x117)][_0x2f106c(0x126)](_0x2f106c(0x115)),this[_0x2f106c(0x138)][_0x2f106c(0x135)](_0x2f106c(0x125))['to'](this[_0x2f106c(0x130)],this[_0x2f106c(0x12b)],(_0x4b14bf,_0x2aebb7)=>_0x4b14bf||_0x2aebb7),this[_0x2f106c(0x138)][_0x2f106c(0x135)](_0x2f106c(0x133))['to'](this[_0x2f106c(0x130)],_0x2f106c(0x125),_0x5a8ecd=>_0x5a8ecd&&this[_0x2f106c(0x132)][_0x2f106c(0x13b)][_0x2f106c(0x118)](_0x315aa7[_0x2f106c(0x123)]())),this[_0x2f106c(0x138)][_0x2f106c(0x135)](_0x2f106c(0x124))['to'](this[_0x2f106c(0x12b)],_0x2f106c(0x125),_0x16d352=>_0x16d352&&this[_0x2f106c(0x132)][_0x2f106c(0x13b)][_0x2f106c(0x118)](_0x315aa7[_0x2f106c(0x123)]())),this[_0x2f106c(0x134)]=null,_0x2177df[_0x2f106c(0x139)]&&this[_0x2f106c(0x119)](),this[_0x2f106c(0x11e)](_0x2177df,_0x2f106c(0x12c),()=>this[_0x2f106c(0x12c)]()),this[_0x2f106c(0x11e)](_0x2177df,_0x2f106c(0x115),()=>this[_0x2f106c(0x115)]()),this[_0x2f106c(0x11e)](_0x2177df,_0x2f106c(0x120),()=>{const _0x222841=_0x2f106c;_0x2177df[_0x222841(0x139)]?this[_0x222841(0x119)]():this[_0x222841(0x11d)]();});}[_0x36289f(0x12c)](){const _0x4c9dfb=_0x36289f;this[_0x4c9dfb(0x130)][_0x4c9dfb(0x116)](this[_0x4c9dfb(0x13b)]['id']);}[_0x36289f(0x115)](){const _0x30dbb1=_0x36289f;this[_0x30dbb1(0x12b)][_0x30dbb1(0x116)](this[_0x30dbb1(0x13b)]['id']);}[_0x36289f(0x121)](){const _0x3cc9f9=_0x36289f;this[_0x3cc9f9(0x138)][_0x3cc9f9(0x11a)](_0x3cc9f9(0x125)),this[_0x3cc9f9(0x138)][_0x3cc9f9(0x11a)](_0x3cc9f9(0x133)),this[_0x3cc9f9(0x138)][_0x3cc9f9(0x11a)](_0x3cc9f9(0x124)),this[_0x3cc9f9(0x128)](),this[_0x3cc9f9(0x137)][_0x3cc9f9(0x121)](),this[_0x3cc9f9(0x134)]&&this[_0x3cc9f9(0x11d)]();}[_0x36289f(0x119)](){const _0x68cefe=_0x36289f,_0x31b442=_0x395163(this[_0x68cefe(0x132)][_0x68cefe(0x131)],_0x68cefe(0x13a));this[_0x68cefe(0x134)]=this[_0x68cefe(0x132)][_0x68cefe(0x127)][_0x68cefe(0x126)](_0x68cefe(0x12f))[_0x68cefe(0x12d)](_0x31b442);}[_0x36289f(0x11d)](){const _0x5bb224=_0x36289f;null!==this[_0x5bb224(0x134)]&&this[_0x5bb224(0x132)][_0x5bb224(0x127)][_0x5bb224(0x126)](_0x5bb224(0x12f))[_0x5bb224(0x11c)](this[_0x5bb224(0x134)]),this[_0x5bb224(0x134)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5bee(){const _0x1d4a70=['bind','SUGGESTION_THREAD_ARIA_LABEL','canDiscard','target','focus','_createCommentViews','length','6FjDrHR','showInput','cancel','focusCycler','body','isActive','SUGGESTION_THREAD_DESCRIPTION','325gASLlG','disabledSubmit','keystrokes','element','tab','commentsListView','join','hasDirtyComment','destroy','canAccept','map','commentThread','19604tlqqIN','addComment','isDirty','ariaDescriptionView','shift+tab','formatDateTime','updateComment','name','_createCommentThreadInputView','isReadOnly','content','authoredAt','setData','78969MftlSL','text/html','editorConfig','443139KFXRlB','removeComment','focusTracker','descriptionParts','delegate','editor','set','fire','focusables','ariaLabel','author','87228hvQnVT','_model','isEnabled','disableComments','_localUser','commentThreadInputView','CommentView','locale','14324904FYttER','9611vtRPPI','submit','render','value','4610HhEJLe','521562RWSGkK','commentInputView','parseFromString','assign','7160WOhlta','_config','textContent'];_0x5bee=function(){return _0x1d4a70;};return _0x5bee();}const _0x2d0ed4=_0x224e;function _0x224e(_0x33ebbd,_0x3ed610){const _0x5bee11=_0x5bee();return _0x224e=function(_0x224e1a,_0x1a92f7){_0x224e1a=_0x224e1a-0x69;let _0x5935bb=_0x5bee11[_0x224e1a];return _0x5935bb;},_0x224e(_0x33ebbd,_0x3ed610);}(function(_0x1a5b30,_0x1549ff){const _0x5e5c11=_0x224e,_0x1f81e6=_0x1a5b30();while(!![]){try{const _0xe9d461=parseInt(_0x5e5c11(0x78))/0x1+parseInt(_0x5e5c11(0x86))/0x2*(-parseInt(_0x5e5c11(0xa9))/0x3)+parseInt(_0x5e5c11(0x99))/0x4*(parseInt(_0x5e5c11(0x8d))/0x5)+parseInt(_0x5e5c11(0x6a))/0x6+-parseInt(_0x5e5c11(0x73))/0x7*(parseInt(_0x5e5c11(0x7c))/0x8)+-parseInt(_0x5e5c11(0x72))/0x9+parseInt(_0x5e5c11(0x77))/0xa*(parseInt(_0x5e5c11(0xa6))/0xb);if(_0xe9d461===_0x1549ff)break;else _0x1f81e6['push'](_0x1f81e6['shift']());}catch(_0x344a58){_0x1f81e6['push'](_0x1f81e6['shift']());}}}(_0x5bee,0xdbdca));import{FocusCycler as _0x24c8fe,View as _0x43f3d1,ViewCollection as _0x56696a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2799e5,KeystrokeHandler as _0x3783d7}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x44bbc1,setupThreadKeyboardNavigation as _0x54450e}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x58de9d}from'../../utils/common-translations.js';import{renderDescription as _0xe447bd}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x43f3d1{[_0x2d0ed4(0x92)];[_0x2d0ed4(0x6f)];[_0x2d0ed4(0x9c)];[_0x2d0ed4(0xb1)];[_0x2d0ed4(0xab)];[_0x2d0ed4(0x8f)];[_0x2d0ed4(0x89)];[_0x2d0ed4(0x6b)];[_0x2d0ed4(0x6e)];[_0x2d0ed4(0x7d)];constructor(_0x4b8cd7,_0x54bccd,_0x26d0f2,_0x5a31e5){const _0x4d2246=_0x2d0ed4;super(_0x4b8cd7),this[_0x4d2246(0x92)]=null,this[_0x4d2246(0x6f)]=null,this[_0x4d2246(0x9c)]=new _0x44bbc1(_0x4b8cd7,_0x58de9d(_0x4b8cd7,_0x4d2246(0x8c))),this[_0x4d2246(0xaf)](_0x4d2246(0x8b),!0x1),this[_0x4d2246(0xaf)](_0x4d2246(0xa4),_0x54bccd[_0x4d2246(0xa4)]),this[_0x4d2246(0x7f)](_0x4d2246(0xa4))['to'](_0x54bccd),this[_0x4d2246(0xaf)](_0x4d2246(0xac),[]),this[_0x4d2246(0xaf)](_0x4d2246(0x9b),!0x1),this[_0x4d2246(0xaf)](_0x4d2246(0x6c),!0x1),this[_0x4d2246(0xaf)](_0x4d2246(0x96),!0x1),this[_0x4d2246(0xaf)](_0x4d2246(0x81),!0x1),this[_0x4d2246(0x7f)](_0x4d2246(0xb2))['to'](this,_0x4d2246(0x85),_0x54bccd,_0x4d2246(0xa4),this,_0x4d2246(0xac),(_0x2f632d,_0x16864e,_0x518dc8)=>{const _0x4bacf4=_0x4d2246,_0x2b47b0=_0x518dc8[_0x4bacf4(0x97)](_0x26c0fb=>_0xe447bd(_0x26c0fb[_0x4bacf4(0xa3)]))[_0x4bacf4(0x93)]('.\x20')+'.';return _0x58de9d(this[_0x4bacf4(0x71)],_0x4bacf4(0x80),[_0x2f632d-0x1,_0x54bccd[_0x4bacf4(0x69)][_0x4bacf4(0xa0)],_0x16864e?_0x5a31e5[_0x4bacf4(0x9e)](_0x16864e):'',new DOMParser()[_0x4bacf4(0x7a)](_0x2b47b0,_0x4bacf4(0xa7))[_0x4bacf4(0x8a)][_0x4bacf4(0x7e)]]);}),this[_0x4d2246(0xb1)]=new _0x56696a(),this[_0x4d2246(0xab)]=new _0x2799e5(),this[_0x4d2246(0x8f)]=new _0x3783d7(),this[_0x4d2246(0x89)]=new _0x24c8fe({'focusables':this[_0x4d2246(0xb1)],'focusTracker':this[_0x4d2246(0xab)],'keystrokeHandler':this[_0x4d2246(0x8f)],'keystrokeHandlerOptions':{'filter':_0x3fa38a=>_0x3fa38a[_0x4d2246(0x82)]!==this[_0x4d2246(0x90)]},'actions':{'focusPrevious':_0x4d2246(0x9d),'focusNext':_0x4d2246(0x91)}}),this[_0x4d2246(0x6b)]=_0x54bccd,this[_0x4d2246(0x6e)]=_0x26d0f2,this[_0x4d2246(0x7d)]=_0x5a31e5,_0x5a31e5[_0x4d2246(0x6d)]?this[_0x4d2246(0xaf)](_0x4d2246(0x85),0x1):this[_0x4d2246(0x84)]();}[_0x2d0ed4(0x75)](){const _0x51001a=_0x2d0ed4;super[_0x51001a(0x75)](),_0x54450e(this,this[_0x51001a(0xb1)]);}[_0x2d0ed4(0x83)](){const _0x387e09=_0x2d0ed4;this[_0x387e09(0x90)][_0x387e09(0x83)]();}[_0x2d0ed4(0x95)](){const _0x1bb650=_0x2d0ed4;this[_0x1bb650(0x92)]&&this[_0x1bb650(0x92)][_0x1bb650(0x95)](),this[_0x1bb650(0x6f)]&&this[_0x1bb650(0x6f)][_0x1bb650(0x95)](),super[_0x1bb650(0x95)]();}[_0x2d0ed4(0x84)](){const _0x4d97c6=_0x2d0ed4,{CommentsListView:_0x156547}=this[_0x4d97c6(0x7d)];this[_0x4d97c6(0x92)]=new _0x156547(this[_0x4d97c6(0x71)],this[_0x4d97c6(0x6b)][_0x4d97c6(0x98)],Object[_0x4d97c6(0x7b)]({'CommentView':this[_0x4d97c6(0x7d)][_0x4d97c6(0x70)]},this[_0x4d97c6(0x7d)])),this[_0x4d97c6(0x92)][_0x4d97c6(0xad)](_0x4d97c6(0xaa))['to'](this),this[_0x4d97c6(0x92)][_0x4d97c6(0xad)](_0x4d97c6(0x9f))['to'](this),this[_0x4d97c6(0x92)][_0x4d97c6(0x7f)](_0x4d97c6(0x8b))['to'](this),this[_0x4d97c6(0xaf)](_0x4d97c6(0x85),this[_0x4d97c6(0x92)][_0x4d97c6(0x85)]+0x1),this[_0x4d97c6(0x7f)](_0x4d97c6(0x85))['to'](this[_0x4d97c6(0x92)],_0x4d97c6(0x85),_0x3a23d2=>_0x3a23d2+0x1),this[_0x4d97c6(0x6f)]=this[_0x4d97c6(0xa1)](),this['on'](_0x4d97c6(0xaa),()=>this[_0x4d97c6(0x83)]()),this[_0x4d97c6(0x7f)](_0x4d97c6(0x9b))['to'](this[_0x4d97c6(0x92)],_0x4d97c6(0x94),this[_0x4d97c6(0x6f)][_0x4d97c6(0x79)],_0x4d97c6(0x76),(_0x259f57,_0x2e9511)=>_0x259f57||!!_0x2e9511);}[_0x2d0ed4(0xa1)](){const _0x31ae55=_0x2d0ed4,{CommentThreadInputView:_0x3b0ced}=this[_0x31ae55(0x7d)],_0x472cfa=new _0x3b0ced(this[_0x31ae55(0x71)],this[_0x31ae55(0x6e)],this[_0x31ae55(0x7d)][_0x31ae55(0xa8)]),_0xc945aa=_0x472cfa[_0x31ae55(0x79)];return _0x472cfa[_0x31ae55(0x7f)](_0x31ae55(0x87))['to'](this,_0x31ae55(0x8b),this[_0x31ae55(0x6b)][_0x31ae55(0x98)],_0x31ae55(0xa2),_0xc945aa,_0x31ae55(0x76),(_0x5897c4,_0x2d4433,_0x3e4764)=>!!_0x3e4764||_0x5897c4&&!_0x2d4433),_0xc945aa['on'](_0x31ae55(0x74),(_0x118f5a,_0x16194d)=>{const _0xfcf98d=_0x31ae55;this[_0xfcf98d(0xb0)](_0xfcf98d(0x9a),_0x16194d),_0xc945aa[_0xfcf98d(0xae)][_0xfcf98d(0xa5)]('');}),_0xc945aa['on'](_0x31ae55(0x88),()=>this[_0x31ae55(0x83)]()),_0xc945aa[_0x31ae55(0x7f)](_0x31ae55(0x8e))['to'](this[_0x31ae55(0x6b)][_0x31ae55(0x98)],_0x31ae55(0xa2)),_0x472cfa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x154114=_0x3cb9;(function(_0x3ed1bc,_0x2a640d){const _0x1e2f87=_0x3cb9,_0x207567=_0x3ed1bc();while(!![]){try{const _0x5e4b01=parseInt(_0x1e2f87(0x135))/0x1*(-parseInt(_0x1e2f87(0x134))/0x2)+parseInt(_0x1e2f87(0x128))/0x3*(parseInt(_0x1e2f87(0x12d))/0x4)+parseInt(_0x1e2f87(0x11b))/0x5*(parseInt(_0x1e2f87(0x12b))/0x6)+-parseInt(_0x1e2f87(0x14c))/0x7*(parseInt(_0x1e2f87(0x150))/0x8)+parseInt(_0x1e2f87(0x145))/0x9*(-parseInt(_0x1e2f87(0x11d))/0xa)+-parseInt(_0x1e2f87(0x124))/0xb*(parseInt(_0x1e2f87(0x13f))/0xc)+parseInt(_0x1e2f87(0x12c))/0xd*(parseInt(_0x1e2f87(0x122))/0xe);if(_0x5e4b01===_0x2a640d)break;else _0x207567['push'](_0x207567['shift']());}catch(_0x44c92a){_0x207567['push'](_0x207567['shift']());}}}(_0x5160,0x9a346));import{BaseSuggestionThreadView as _0x284b3c}from'./basesuggestionthreadview.js';import{trimHtml as _0x22fe15}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x34b49f}from'../../utils/utils.js';export class SuggestionThreadView extends _0x284b3c{[_0x154114(0x137)];[_0x154114(0x132)];constructor(_0x559137,_0xc1c718,_0x11ed37,_0xcaed06){const _0x16be1e=_0x154114;super(_0x559137,_0xc1c718,_0x11ed37,_0xcaed06),this[_0x16be1e(0x11a)](_0x16be1e(0x146),''),this[_0x16be1e(0x130)](_0x16be1e(0x146))['to'](this,_0x16be1e(0x139),_0x28ffb6=>_0x28ffb6&&_0x28ffb6[0x0]?_0x28ffb6[0x0][_0x16be1e(0x146)]:''),this[_0x16be1e(0x130)](_0x16be1e(0x13c))['to'](this,_0x16be1e(0x139),this,_0x16be1e(0x11c),(_0x516a9f,_0x14a6c2)=>{const _0x33bd6f=_0x16be1e;let _0x29f03e='';for(const _0x53272 of _0x516a9f)_0x29f03e+=_0x33bd6f(0x14e)+_0x34b49f(_0x53272[_0x33bd6f(0x12a)],_0x53272[_0x33bd6f(0x13e)])+_0x33bd6f(0x14a);return _0x14a6c2?_0x29f03e:_0x22fe15(_0x29f03e,{'limit':0x8c});}),this[_0x16be1e(0x132)]=null,this[_0x16be1e(0x137)]=new _0xcaed06[(_0x16be1e(0x133))](_0x559137,_0xc1c718,{'formatDateTime':_0xcaed06[_0x16be1e(0x140)]}),this[_0x16be1e(0x137)][_0x16be1e(0x130)](_0x16be1e(0x13c))['to'](this),this[_0x16be1e(0x137)][_0x16be1e(0x13d)](_0x16be1e(0x127),_0x16be1e(0x13a))['to'](this),this[_0x16be1e(0x137)][_0x16be1e(0x14f)][_0x16be1e(0x130)](_0x16be1e(0x14d))['to'](this,_0x16be1e(0x153)),this[_0x16be1e(0x137)][_0x16be1e(0x117)][_0x16be1e(0x130)](_0x16be1e(0x14d))['to'](this,_0x16be1e(0x141)),this[_0x16be1e(0x14b)][_0x16be1e(0x143)](this[_0x16be1e(0x137)]),this[_0x16be1e(0x11f)]&&this[_0x16be1e(0x14b)][_0x16be1e(0x143)](this[_0x16be1e(0x11f)]),this[_0x16be1e(0x151)]&&this[_0x16be1e(0x14b)][_0x16be1e(0x143)](this[_0x16be1e(0x151)]),this[_0x16be1e(0x119)](this[_0x16be1e(0x120)]());}[_0x154114(0x120)](){const _0x1731e7=_0x154114,_0x53edf9=this[_0x1731e7(0x149)],_0x4c7542=[this[_0x1731e7(0x137)]];return this[_0x1731e7(0x11f)]&&_0x4c7542[_0x1731e7(0x121)](this[_0x1731e7(0x11f)]),this[_0x1731e7(0x151)]&&_0x4c7542[_0x1731e7(0x121)](this[_0x1731e7(0x151)]),_0x4c7542[_0x1731e7(0x121)](this[_0x1731e7(0x11e)]),{'tag':_0x1731e7(0x126),'attributes':{'class':['ck',_0x1731e7(0x118),_0x1731e7(0x129),_0x53edf9['if'](_0x1731e7(0x11c),_0x1731e7(0x136)),_0x53edf9['to'](_0x1731e7(0x146),_0x4cbf99=>_0x1731e7(0x12f)+_0x4cbf99),this[_0x1731e7(0x148)][_0x1731e7(0x12e)]&&_0x1731e7(0x142)],'data-suggestion-id':this[_0x1731e7(0x152)]['id'],'data-thread-id':this[_0x1731e7(0x152)][_0x1731e7(0x147)]['id'],'data-author-id':this[_0x1731e7(0x152)][_0x1731e7(0x138)]['id'],'tabindex':0x0,'role':_0x1731e7(0x144),'aria-label':_0x53edf9['to'](_0x1731e7(0x131)),'aria-describedby':this[_0x1731e7(0x11e)]['id']},'children':_0x4c7542};}[_0x154114(0x125)](){const _0x1598f0=_0x154114;super[_0x1598f0(0x125)](),this[_0x1598f0(0x11f)]&&(this[_0x1598f0(0x11f)][_0x1598f0(0x13d)](_0x1598f0(0x13b))['to'](this),this[_0x1598f0(0x11f)][_0x1598f0(0x13d)](_0x1598f0(0x123))['to'](this)),this[_0x1598f0(0x151)]&&(this[_0x1598f0(0x151)][_0x1598f0(0x13d)](_0x1598f0(0x13b))['to'](this),this[_0x1598f0(0x151)][_0x1598f0(0x13d)](_0x1598f0(0x123))['to'](this));}}function _0x3cb9(_0x18a238,_0x1b6232){const _0x516047=_0x5160();return _0x3cb9=function(_0x3cb94b,_0x54d714){_0x3cb94b=_0x3cb94b-0x117;let _0x321bc4=_0x516047[_0x3cb94b];return _0x321bc4;},_0x3cb9(_0x18a238,_0x1b6232);}function _0x5160(){const _0x10504d=['setTemplate','set','11965utCDcw','isActive','781700lgEERE','ariaDescriptionView','commentsListView','getTemplate','push','71414zcbmFn','editorDestroyed','44CXTLof','render','div','acceptSuggestion','3BWRSFb','ck-suggestion-wrapper','content','576bQioto','1469FfZeDc','3357496CwUTzb','disableComments','ck-suggestion-','bind','ariaLabel','_descriptionElement','SuggestionView','4eYQTri','151241WhRAbg','ck-suggestion-wrapper--active','suggestionView','author','descriptionParts','discardSuggestion','editorReady','description','delegate','color','26352PbVGLB','formatDateTime','canDiscard','ck-suggestion--disabled-comments','add','listitem','18mDXbXb','type','commentThread','_config','bindTemplate','</p>','focusables','3824009pjSpEm','isEnabled','<p>','acceptButton','8YhCYCz','commentThreadInputView','_model','canAccept','discardButton','ck-rounded-corners'];_0x5160=function(){return _0x10504d;};return _0x5160();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd8e020=_0x4328;function _0x4328(_0x541d90,_0x429cae){const _0x193d67=_0x193d();return _0x4328=function(_0x43282f,_0x2f2c5a){_0x43282f=_0x43282f-0x1d6;let _0x60b6d4=_0x193d67[_0x43282f];return _0x60b6d4;},_0x4328(_0x541d90,_0x429cae);}(function(_0x36a560,_0x497504){const _0x414814=_0x4328,_0x3c8e47=_0x36a560();while(!![]){try{const _0x496368=parseInt(_0x414814(0x206))/0x1*(parseInt(_0x414814(0x22a))/0x2)+parseInt(_0x414814(0x1e8))/0x3+-parseInt(_0x414814(0x20a))/0x4+-parseInt(_0x414814(0x225))/0x5+-parseInt(_0x414814(0x205))/0x6*(parseInt(_0x414814(0x1dc))/0x7)+parseInt(_0x414814(0x1e1))/0x8+-parseInt(_0x414814(0x20e))/0x9*(-parseInt(_0x414814(0x1f0))/0xa);if(_0x496368===_0x497504)break;else _0x3c8e47['push'](_0x3c8e47['shift']());}catch(_0x5fdcec){_0x3c8e47['push'](_0x3c8e47['shift']());}}}(_0x193d,0xbf2b9));import{FocusTracker as _0x6863db,KeystrokeHandler as _0x3b229a}from'ckeditor5/src/utils.js';import{View as _0x266ad6,ViewCollection as _0x22d7a4,FocusCycler as _0x558c26}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x135edc,UserView as _0x5e9e70}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x193d(){const _0x565b85=['ck-annotation__main','ck-annotation__content-wrapper','_model','presentation','getExternalSuggestionNote','render','tab','6LmGiBZ','35842fPVlrD','.ck-annotation__content-wrapper','description','EXTERNAL_SUGGESTION','6214188IDJtxc','time','focusCycler','setTemplate','7389bjneVJ','isExternal','listenTo','set','getTemplate','EXTERNAL_IMPORT_WORD_AVATAR','getUserViewNotificationText','acceptButton','Accept\x20suggestion','formatDateTime','ck-comment__info-time','_setupKeyboardNavigation','importWord','ck-annotation__actions','ck-annotation__info-time','EXTERNAL_AVATAR','ck-comment__external','userView','bindTemplate','bind','execute','querySelector','focusFirst','5904515SDZRmb','ck-suggestion--accept','shift+tab','discardSuggestion','focusables','16YOZhJI','ck-suggestion__user','esc','ck-suggestion__info','ck-suggestion__main','author','enter','creator','Discard\x20suggestion','discardButton','ck-suggestion__info-name','5761042OjqZBP','ck-annotation__user','element','authoredAt','div','6321896dhHdps','attributes','span','source','push','ck-suggestion__actions','ck-annotation__info','1056750rmUUvS','name','fire','_config','ck-annotation__info-name','ck-annotation','ck-suggestion','focus','35460rDLNgc','focusTracker','target','locale','extendTemplate','change:description','keystrokes','@external','innerHTML','ck-suggestion--discard','_createButton','acceptSuggestion','add','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x193d=function(){return _0x565b85;};return _0x193d();}import{IconCancel as _0xd40bb2,IconCheck as _0xc6ba36}from'ckeditor5/src/icons.js';import{getTranslation as _0x409938}from'../../utils/common-translations.js';export class SuggestionView extends _0x266ad6{[_0xd8e020(0x21f)];[_0xd8e020(0x215)];[_0xd8e020(0x1da)];[_0xd8e020(0x229)];[_0xd8e020(0x1f1)];[_0xd8e020(0x1f6)];[_0xd8e020(0x20c)];[_0xd8e020(0x200)];[_0xd8e020(0x1eb)];constructor(_0x4f2a17,_0xa5a10d,_0x4c83e1){const _0x51a70a=_0xd8e020;super(_0x4f2a17),this[_0x51a70a(0x200)]=_0xa5a10d,this[_0x51a70a(0x1eb)]=_0x4c83e1,this[_0x51a70a(0x211)](_0x51a70a(0x208),''),this[_0x51a70a(0x221)](_0x51a70a(0x1df))['to'](_0xa5a10d),this[_0x51a70a(0x215)]=this[_0x51a70a(0x1fa)](_0x409938(_0x4f2a17,_0x51a70a(0x216)),_0xc6ba36,_0x51a70a(0x226),_0x51a70a(0x1fb),'sw'),this[_0x51a70a(0x1da)]=this[_0x51a70a(0x1fa)](_0x409938(_0x4f2a17,_0x51a70a(0x1d9)),_0xd40bb2,_0x51a70a(0x1f9),_0x51a70a(0x228),'sw'),this[_0x51a70a(0x21f)]=new _0x5e9e70(_0x4f2a17,_0xa5a10d[_0x51a70a(0x1d6)],this[_0x51a70a(0x214)]()),this[_0x51a70a(0x21f)][_0x51a70a(0x1f4)]({'attributes':{'class':[_0x51a70a(0x22b),_0x51a70a(0x1dd)],'aria-hidden':!0x0}}),this[_0x51a70a(0x229)]=new _0x22d7a4([this[_0x51a70a(0x215)],this[_0x51a70a(0x1da)]]),this[_0x51a70a(0x1f1)]=new _0x6863db(),this[_0x51a70a(0x1f6)]=new _0x3b229a(),this[_0x51a70a(0x20c)]=new _0x558c26({'focusables':this[_0x51a70a(0x229)],'focusTracker':this[_0x51a70a(0x1f1)],'keystrokeHandler':this[_0x51a70a(0x1f6)],'actions':{'focusPrevious':_0x51a70a(0x227),'focusNext':_0x51a70a(0x204)},'keystrokeHandlerOptions':{'filter':_0x5b010e=>_0x5b010e[_0x51a70a(0x1f2)]!==this[_0x51a70a(0x1de)]}}),this[_0x51a70a(0x20d)](this[_0x51a70a(0x212)]());}[_0xd8e020(0x203)](){const _0x1e4fa4=_0xd8e020;super[_0x1e4fa4(0x203)]();const _0x4d8532=this[_0x1e4fa4(0x1de)][_0x1e4fa4(0x223)](_0x1e4fa4(0x207));_0x4d8532[_0x1e4fa4(0x1f8)]=this[_0x1e4fa4(0x208)],this['on'](_0x1e4fa4(0x1f5),(_0x25d619,_0x372d87,_0x5c8c95)=>{const _0xfa2a5a=_0x1e4fa4;_0x4d8532[_0xfa2a5a(0x1f8)]=_0x5c8c95;}),this[_0x1e4fa4(0x219)]();}[_0xd8e020(0x212)](){const _0x4238e2=_0xd8e020,_0xae5d26=this[_0x4238e2(0x220)],_0x415b4d=[{'tag':_0x4238e2(0x1e0),'attributes':{'class':[_0x4238e2(0x22d),_0x4238e2(0x1e7)]},'children':[{'tag':_0x4238e2(0x1e3),'children':[{'text':this[_0x4238e2(0x21f)][_0x4238e2(0x1e9)]}],'attributes':{'class':[_0x4238e2(0x1db),_0x4238e2(0x1ec)],'data-cke-tooltip-text':this[_0x4238e2(0x21f)][_0x4238e2(0x1e9)]}},{'tag':_0x4238e2(0x20b),'attributes':{'datetime':_0xae5d26['to'](_0x4238e2(0x1df)),'class':[_0x4238e2(0x218),_0x4238e2(0x21c)]},'children':[{'text':_0xae5d26['to'](_0x4238e2(0x1df),_0x29093a=>this[_0x4238e2(0x1eb)][_0x4238e2(0x217)](_0x29093a))}]}]},{'tag':_0x4238e2(0x1e0),'attributes':{'class':[_0x4238e2(0x1e6),_0x4238e2(0x21b)]},'children':[this[_0x4238e2(0x215)],this[_0x4238e2(0x1da)]]},{'tag':_0x4238e2(0x1e0),'attributes':{'class':[_0x4238e2(0x1ff)]}}];return this[_0x4238e2(0x200)][_0x4238e2(0x20f)]&&_0x415b4d[_0x4238e2(0x1e5)]({'tag':_0x4238e2(0x1e0),'attributes':{'class':[_0x4238e2(0x21e)]},'children':[{'text':this[_0x4238e2(0x202)]()}]}),{'tag':_0x4238e2(0x1e0),'attributes':{'class':[_0x4238e2(0x1ee),_0x4238e2(0x1ed)],'tabindex':-0x1},'children':[this[_0x4238e2(0x21f)],{'tag':_0x4238e2(0x1e0),'attributes':{'class':[_0x4238e2(0x22e),_0x4238e2(0x1fe)],'role':_0x4238e2(0x201)},'children':_0x415b4d}]};}[_0xd8e020(0x1ef)](){const _0x30716e=_0xd8e020;this[_0x30716e(0x1de)][_0x30716e(0x1ef)]();}[_0xd8e020(0x214)](){const _0x483484=_0xd8e020;return this[_0x483484(0x200)][_0x483484(0x20f)]?_0x483484(0x21a)===this[_0x483484(0x200)][_0x483484(0x1e2)][_0x483484(0x1f7)][_0x483484(0x1e4)]?_0x409938(this[_0x483484(0x1f3)],_0x483484(0x213),this[_0x483484(0x200)][_0x483484(0x1d8)][_0x483484(0x1e9)]):_0x409938(this[_0x483484(0x1f3)],_0x483484(0x21d),this[_0x483484(0x200)][_0x483484(0x1d8)][_0x483484(0x1e9)]):null;}[_0xd8e020(0x202)](){const _0xfe9f69=_0xd8e020;return _0xfe9f69(0x21a)===this[_0xfe9f69(0x200)][_0xfe9f69(0x1e2)][_0xfe9f69(0x1f7)][_0xfe9f69(0x1e4)]?_0x409938(this[_0xfe9f69(0x1f3)],_0xfe9f69(0x1fd)):_0x409938(this[_0xfe9f69(0x1f3)],_0xfe9f69(0x209));}[_0xd8e020(0x1fa)](_0x21e5ea,_0x3f2cb4,_0x281504,_0x38693d,_0x2e9aeb){const _0x4a19e1=_0xd8e020,_0x55bfe1=new _0x135edc(this[_0x4a19e1(0x1f3)]);return _0x55bfe1[_0x4a19e1(0x211)]({'label':_0x21e5ea,'icon':_0x3f2cb4,'tooltip':!0x0,'tooltipPosition':_0x2e9aeb}),_0x55bfe1[_0x4a19e1(0x1f4)]({'attributes':{'class':_0x281504}}),_0x55bfe1['on'](_0x4a19e1(0x222),()=>{const _0x2d9e24=_0x4a19e1;this[_0x2d9e24(0x1ea)](_0x38693d,this[_0x2d9e24(0x200)]['id']);}),_0x55bfe1;}[_0xd8e020(0x219)](){const _0x25b71c=_0xd8e020,_0x2bcd84=this[_0x25b71c(0x1de)];this[_0x25b71c(0x1f6)][_0x25b71c(0x210)](_0x2bcd84);for(const _0x576ddf of this[_0x25b71c(0x229)])this[_0x25b71c(0x1f1)][_0x25b71c(0x1fc)](_0x576ddf[_0x25b71c(0x1de)]),this[_0x25b71c(0x1f6)][_0x25b71c(0x210)](_0x576ddf[_0x25b71c(0x1de)]);this[_0x25b71c(0x1f6)][_0x25b71c(0x211)](_0x25b71c(0x1d7),(_0x277db5,_0x1f2265)=>{const _0x484da0=_0x25b71c;_0x2bcd84===_0x277db5[_0x484da0(0x1f2)]&&(this[_0x484da0(0x20c)][_0x484da0(0x224)](),_0x1f2265());}),this[_0x25b71c(0x1f6)][_0x25b71c(0x211)](_0x25b71c(0x22c),(_0x28f9f6,_0x51a33c)=>{const _0x45b5d7=_0x25b71c;_0x2bcd84!==_0x28f9f6[_0x45b5d7(0x1f2)]&&(this[_0x45b5d7(0x1ef)](),_0x51a33c());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa955f2=_0x451a;function _0x1845(){const _0x5d6507=['891187BVjwgU','dialogRects','previewDataReady','classes','fire','className','focus','ck-reset','110yHktwo','1661515NGzTCs','style','2785692ukuyQS','render','857ApPtyy','element','innerHTML','createElement','data-ck-root-name','9OByEoR','1334544gGHSmj','120oUOUQw','push','3245752IzXyHA','ck-track-changes-preview','setPreviewData','206AqqDKE','\x20ck-track-changes-preview__root-container','width','options','setAttribute','div','setTemplate','content','33837opeevy','height'];_0x1845=function(){return _0x5d6507;};return _0x1845();}function _0x451a(_0x22c17b,_0x5eab4f){const _0x1845de=_0x1845();return _0x451a=function(_0x451aea,_0x3aea88){_0x451aea=_0x451aea-0x1e0;let _0x2b6cef=_0x1845de[_0x451aea];return _0x2b6cef;},_0x451a(_0x22c17b,_0x5eab4f);}(function(_0x4ec4f1,_0x482d8d){const _0xb593dd=_0x451a,_0x1038c3=_0x4ec4f1();while(!![]){try{const _0x839406=parseInt(_0xb593dd(0x1ff))/0x1*(parseInt(_0xb593dd(0x1e8))/0x2)+-parseInt(_0xb593dd(0x1f0))/0x3*(-parseInt(_0xb593dd(0x1e3))/0x4)+-parseInt(_0xb593dd(0x1fb))/0x5+parseInt(_0xb593dd(0x1e2))/0x6+parseInt(_0xb593dd(0x1fd))/0x7+-parseInt(_0xb593dd(0x1e5))/0x8*(-parseInt(_0xb593dd(0x1e1))/0x9)+-parseInt(_0xb593dd(0x1fa))/0xa*(parseInt(_0xb593dd(0x1f2))/0xb);if(_0x839406===_0x482d8d)break;else _0x1038c3['push'](_0x1038c3['shift']());}catch(_0x8de2d6){_0x1038c3['push'](_0x1038c3['shift']());}}}(_0x1845,0x37f82));import{View as _0x10f1b3}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x10f1b3{[_0xa955f2(0x1eb)];constructor(_0x9ce9d7,_0x17ac83){const _0x1c71c8=_0xa955f2;super(_0x9ce9d7),this[_0x1c71c8(0x1eb)]=_0x17ac83,this[_0x1c71c8(0x1ee)]({'tag':_0x1c71c8(0x1ed),'attributes':{'class':['ck',_0x1c71c8(0x1f9),_0x1c71c8(0x1e6)],'tabindex':-0x1}});}[_0xa955f2(0x1fe)](){const _0x22049a=_0xa955f2;super[_0x22049a(0x1fe)](),this[_0x22049a(0x200)][_0x22049a(0x1fc)][_0x22049a(0x1ea)]=this[_0x22049a(0x1eb)][_0x22049a(0x1f3)][_0x22049a(0x1ea)]+'px',this[_0x22049a(0x200)][_0x22049a(0x1fc)][_0x22049a(0x1f1)]=this[_0x22049a(0x1eb)][_0x22049a(0x1f3)][_0x22049a(0x1f1)]+'px';}[_0xa955f2(0x1e7)](_0x2fbb4a,_0x4cc849){const _0x1c1d16=_0xa955f2;if(!this[_0x1c1d16(0x200)])return;const _0x2bc599=[];for(const [_0x4faa49,_0x1a3018]of _0x2fbb4a){const _0x2e6e14=document[_0x1c1d16(0x202)](_0x1c1d16(0x1ed));_0x2e6e14[_0x1c1d16(0x1ec)](_0x1c1d16(0x1e0),_0x4faa49),_0x2e6e14[_0x1c1d16(0x1f7)]=_0x1a3018[_0x1c1d16(0x1f5)]+_0x1c1d16(0x1e9),_0x2e6e14[_0x1c1d16(0x201)]=_0x1a3018[_0x1c1d16(0x1ef)],_0x2bc599[_0x1c1d16(0x1e4)](_0x2e6e14);}_0x4cc849(this[_0x1c1d16(0x200)],_0x2bc599),this[_0x1c1d16(0x200)][_0x1c1d16(0x1fc)][_0x1c1d16(0x1f1)]='',this[_0x1c1d16(0x1f6)](_0x1c1d16(0x1f4));}[_0xa955f2(0x1f8)](){const _0x3c1518=_0xa955f2;this[_0x3c1518(0x200)][_0x3c1518(0x1f8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x469e3f,_0x5b331d,_0x24547b){const _0xb40148=_0x469e3f['t'],t=_0x469e3f['t'];switch(_0x5b331d){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',_0x24547b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x24547b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x24547b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x24547b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x24547b);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',_0x24547b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x24547b);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',_0x24547b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x24547b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x24547b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x24547b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x24547b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x24547b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x24547b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x24547b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x24547b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x24547b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x24547b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x24547b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x24547b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x24547b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x24547b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x24547b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x24547b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x24547b);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'},_0x24547b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x24547b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x24547b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x24547b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x24547b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x24547b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x24547b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x24547b);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'},_0x24547b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x24547b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x24547b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x24547b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x24547b);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'},_0x24547b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x24547b);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'},_0x24547b);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'},_0x24547b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x24547b);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'},_0x24547b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x24547b);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'},_0x24547b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x24547b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x24547b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x24547b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x24547b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x24547b);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'},_0x24547b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x24547b);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 _0xb40148({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x24547b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xb40148({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x24547b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x24547b);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'},_0x24547b);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'},_0x24547b);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'},_0x24547b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5b331d;}}
|
|
23
|
+
export function getTranslation(_0xadf98b,_0x13bc37,_0x194ade){const _0x2ba3a9=_0xadf98b['t'],t=_0xadf98b['t'];switch(_0x13bc37){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',_0x194ade);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x194ade);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x194ade);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x194ade);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x194ade);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',_0x194ade);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x194ade);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',_0x194ade);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x194ade);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x194ade);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x194ade);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x194ade);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x194ade);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x194ade);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x194ade);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x194ade);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x194ade);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x194ade);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x194ade);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x194ade);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x194ade);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x194ade);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x194ade);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x194ade);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x194ade);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'},_0x194ade);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x194ade);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x194ade);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x194ade);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x194ade);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x194ade);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x194ade);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x194ade);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'},_0x194ade);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x194ade);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x194ade);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x194ade);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x194ade);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'},_0x194ade);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x194ade);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'},_0x194ade);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'},_0x194ade);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x194ade);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'},_0x194ade);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x194ade);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'},_0x194ade);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x194ade);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x194ade);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x194ade);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x194ade);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x194ade);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'},_0x194ade);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x194ade);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 _0x2ba3a9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x194ade);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2ba3a9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x194ade);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x194ade);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'},_0x194ade);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'},_0x194ade);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'},_0x194ade);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x13bc37;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x49b9(_0x327d4f,_0x17bc32){const _0x1aff3a=_0x1aff();return _0x49b9=function(_0x49b94e,_0xe9807e){_0x49b94e=_0x49b94e-0x136;let _0x29d60a=_0x1aff3a[_0x49b94e];return _0x29d60a;},_0x49b9(_0x327d4f,_0x17bc32);}function _0x1aff(){const _0x4a17d7=['</span>','9jCwGhs','splice','sort','isIntersecting','180QfnaAu','\x22></span>','execute','color','6779906gkPXgD','isArray','add','<span\x20class=\x22ck-suggestion-type\x22>','isMultiRange','content','createElement','14584FEkpHu','\x20[color\x20','split','349710OxMqkT','createPositionBefore','39JtlcuF','length','end','getRanges','createRange','replace','113509CbAgva','createPositionAt','createPositionAfter','next','title','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','\x22\x20title=\x22','value','from','attribute','map','2619534YNlGVe','start','schema','push','isCollapsed','isObject','change','43176qveIrw','deletion','innerHTML','isInContent','type','span','2167624nRKMOB','isTouching','innerText','join','825vyYmPT'];_0x1aff=function(){return _0x4a17d7;};return _0x1aff();}(function(_0x465e94,_0x5f4526){const _0x44ad36=_0x49b9,_0x3595f4=_0x465e94();while(!![]){try{const _0x220af6=parseInt(_0x44ad36(0x140))/0x1*(parseInt(_0x44ad36(0x158))/0x2)+parseInt(_0x44ad36(0x162))/0x3*(parseInt(_0x44ad36(0x13b))/0x4)+parseInt(_0x44ad36(0x13e))/0x5+-parseInt(_0x44ad36(0x151))/0x6+-parseInt(_0x44ad36(0x16c))/0x7+parseInt(_0x44ad36(0x15e))/0x8*(parseInt(_0x44ad36(0x164))/0x9)+-parseInt(_0x44ad36(0x168))/0xa*(parseInt(_0x44ad36(0x146))/0xb);if(_0x220af6===_0x5f4526)break;else _0x3595f4['push'](_0x3595f4['shift']());}catch(_0x3fdd30){_0x3595f4['push'](_0x3595f4['shift']());}}}(_0x1aff,0x9129c));export function normalizeDescription(_0x5056d8){const _0x3f3bd7=_0x49b9;return Array[_0x3f3bd7(0x16d)](_0x5056d8)||(_0x5056d8=[_0x5056d8]),_0x5056d8[_0x3f3bd7(0x150)](_0x3e588e=>{const _0x27f84a=_0x3f3bd7,_0x3dda65=_0x3e588e[_0x27f84a(0x139)][_0x27f84a(0x145)](/\*/g,''),_0x359c1d=_0x3e588e[_0x27f84a(0x16b)]?_0x27f84a(0x13c)+_0x3e588e[_0x27f84a(0x16b)][_0x27f84a(0x14d)]+']':'';return'['+_0x3e588e[_0x27f84a(0x15c)]+']\x20'+_0x3dda65+_0x359c1d;})[_0x3f3bd7(0x161)](';\x20');}export function renderDescription(_0x4d077c,_0x557e9b){const _0x4fd6ed=_0x49b9;let _0x35c3e9='';return _0x35c3e9+=_0x4d077c[_0x4fd6ed(0x13d)]('*')[_0x4fd6ed(0x150)]((_0x48c793,_0x56f987)=>_0x56f987%0x2!=0x0?_0x4fd6ed(0x137)+rn(_0x48c793)+_0x4fd6ed(0x163):rn(_0x48c793))[_0x4fd6ed(0x161)](''),_0x557e9b&&(_0x35c3e9+=_0x4fd6ed(0x14b)+_0x557e9b[_0x4fd6ed(0x14d)]+_0x4fd6ed(0x14c)+_0x557e9b[_0x4fd6ed(0x14a)]+_0x4fd6ed(0x169)),_0x35c3e9;}function rn(_0x510620){const _0x32c2f0=_0x49b9,_0x399ced=document[_0x32c2f0(0x13a)](_0x32c2f0(0x15d));return _0x399ced[_0x32c2f0(0x160)]=_0x510620,_0x399ced[_0x32c2f0(0x15a)];}export function sortSuggestions(_0x3603bb){const _0x41be4a=_0x49b9;return _0x3603bb[_0x41be4a(0x166)]((_0x59b577,_0x2f33b3)=>_0x41be4a(0x14f)===_0x59b577[_0x41be4a(0x15c)]&&_0x41be4a(0x14f)!==_0x2f33b3[_0x41be4a(0x15c)]?-0x1:_0x41be4a(0x14f)!==_0x59b577[_0x41be4a(0x15c)]&&_0x41be4a(0x14f)===_0x2f33b3[_0x41be4a(0x15c)]?0x1:_0x41be4a(0x159)==_0x59b577[_0x41be4a(0x15c)]&&_0x41be4a(0x159)!=_0x2f33b3[_0x41be4a(0x15c)]?-0x1:_0x41be4a(0x159)!=_0x59b577[_0x41be4a(0x15c)]&&_0x41be4a(0x159)==_0x2f33b3[_0x41be4a(0x15c)]?0x1:0x0);}export function getSelectedSuggestions(_0x59517f,_0x3211bc){const _0x49dc6b=_0x49b9,_0x4c1e21=Array[_0x49dc6b(0x14e)](_0x59517f[_0x49dc6b(0x143)]()),_0x27aa1a=new Set();for(const _0x472f63 of _0x3211bc)if(_0x472f63[_0x49dc6b(0x15b)]){for(const _0x19561f of _0x4c1e21)for(const _0x190387 of _0x472f63[_0x49dc6b(0x143)]())(_0x19561f[_0x49dc6b(0x167)](_0x190387)||_0x59517f[_0x49dc6b(0x155)]&&!_0x472f63[_0x49dc6b(0x138)]&&_0x472f63[_0x49dc6b(0x149)]&&_0x190387[_0x49dc6b(0x142)][_0x49dc6b(0x15f)](_0x19561f[_0x49dc6b(0x152)]))&&_0x27aa1a[_0x49dc6b(0x136)](_0x472f63);}return _0x27aa1a;}export function getRangesOfBlockGroups(_0x2542e2,_0x43848a){const _0x152579=_0x49b9;let _0xb45c6b,_0x569ce0=0x0;const _0x24b03f=[],_0x2173a1=_0x43848a[_0x152579(0x153)];for(;_0x569ce0<_0x2542e2[_0x152579(0x141)];){const _0x5dfd49=_0x2542e2[_0x569ce0],_0x2e312c=_0x2542e2[_0x569ce0+0x1];_0xb45c6b||(_0xb45c6b=_0x43848a[_0x152579(0x13f)](_0x5dfd49)),cn(_0x43848a,_0x5dfd49,_0x2e312c)||(_0x24b03f[_0x152579(0x154)](_0x43848a[_0x152579(0x144)](_0xb45c6b,_0x2173a1[_0x152579(0x156)](_0x5dfd49)?_0x43848a[_0x152579(0x148)](_0x5dfd49):_0x43848a[_0x152579(0x147)](_0x5dfd49,_0x152579(0x142)))),_0xb45c6b=null),_0x569ce0++;}return _0x24b03f;}function cn(_0x3a9db7,_0x12b436,_0xe72812){const _0x3238d6=_0x49b9;if(!_0xe72812)return!0x1;const _0x12b7c6=_0x3a9db7[_0x3238d6(0x148)](_0x12b436),_0x33ba1e=_0x3a9db7[_0x3238d6(0x13f)](_0xe72812);return _0x12b7c6[_0x3238d6(0x15f)](_0x33ba1e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x13e6ca,_0x6a2690,_0x56e38e){const _0x44262a=_0x49b9;for(;_0x56e38e[_0x44262a(0x141)];){const _0x33ac7c=_0x56e38e[_0x44262a(0x165)](0x0,0x64);_0x13e6ca[_0x44262a(0x157)](()=>{const _0x488131=_0x44262a;for(const _0x2b99d9 of _0x33ac7c)_0x2b99d9[_0x488131(0x15b)]&&_0x6a2690[_0x488131(0x16a)](_0x2b99d9['id']);});}}
|