@ckeditor/ckeditor5-track-changes 47.3.0-alpha.0 → 47.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33d23b=_0x1d26;(function(_0x1fb6c7,_0x1305e4){const _0x12d143=_0x1d26,_0x2549ab=_0x1fb6c7();while(!![]){try{const _0x4c1bf7=-parseInt(_0x12d143(0x1fc))/0x1+parseInt(_0x12d143(0x1f5))/0x2+parseInt(_0x12d143(0x1f7))/0x3+parseInt(_0x12d143(0x1fd))/0x4*(parseInt(_0x12d143(0x208))/0x5)+-parseInt(_0x12d143(0x202))/0x6*(parseInt(_0x12d143(0x1fe))/0x7)+-parseInt(_0x12d143(0x200))/0x8*(-parseInt(_0x12d143(0x204))/0x9)+parseInt(_0x12d143(0x1fb))/0xa*(-parseInt(_0x12d143(0x1f9))/0xb);if(_0x4c1bf7===_0x1305e4)break;else _0x2549ab['push'](_0x2549ab['shift']());}catch(_0x49e0fb){_0x2549ab['push'](_0x2549ab['shift']());}}}(_0x11df,0x385b4));import{Plugin as _0x385c64}from'ckeditor5/src/core.js';import{Dialog as _0x50f430}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5ab3ee}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x1c65a8}from'./commands/previewfinalcontentcommand.js';function _0x1d26(_0x20b5fd,_0x3224b5){const _0x11dfff=_0x11df();return _0x1d26=function(_0x1d2629,_0x3c786f){_0x1d2629=_0x1d2629-0x1f2;let _0x4a3f9c=_0x11dfff[_0x1d2629];return _0x4a3f9c;},_0x1d26(_0x20b5fd,_0x3224b5);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x385c64{static get[_0x33d23b(0x201)](){return[_0x5ab3ee,_0x50f430];}static get[_0x33d23b(0x1f2)](){const _0x185f22=_0x33d23b;return _0x185f22(0x1fa);}static get[_0x33d23b(0x209)](){return!0x0;}static get[_0x33d23b(0x206)](){return!0x0;}constructor(_0x559174){const _0x329b1f=_0x33d23b;super(_0x559174),_0x559174[_0x329b1f(0x207)][_0x329b1f(0x203)](_0x329b1f(0x1f6),new _0x1c65a8(this[_0x329b1f(0x1f3)])),_0x559174[_0x329b1f(0x205)][_0x329b1f(0x1f4)](_0x329b1f(0x1f8),(_0x24a29a,_0x3ea2c2)=>{const _0x50433b=_0x329b1f;for(const _0x30404a of _0x3ea2c2)_0x24a29a[_0x50433b(0x1ff)](_0x30404a);});}}function _0x11df(){const _0x4331e8=['TrackChangesPreview','10bjKMRs','155155TJxqJs','584nlSQAe','7FAmwIK','appendChild','408NfjssJ','requires','2269416dNCSPf','add','22509GvRcsA','config','isPremiumPlugin','commands','9350aGYbSj','isOfficialPlugin','pluginName','editor','define','666334UFMCAs','previewFinalContent','913578NhyxwT','trackChanges.preview.renderFunction','3014407dGwKGN'];_0x11df=function(){return _0x4331e8;};return _0x11df();}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x307dfc=_0x13f9;(function(_0x36d2b7,_0x436d44){const _0x20a4ce=_0x13f9,_0xccc34d=_0x36d2b7();while(!![]){try{const _0x4fc61c=parseInt(_0x20a4ce(0xf0))/0x1+parseInt(_0x20a4ce(0xe8))/0x2*(parseInt(_0x20a4ce(0xd0))/0x3)+parseInt(_0x20a4ce(0xf9))/0x4*(-parseInt(_0x20a4ce(0xc0))/0x5)+-parseInt(_0x20a4ce(0x117))/0x6+parseInt(_0x20a4ce(0x148))/0x7+parseInt(_0x20a4ce(0xb8))/0x8+-parseInt(_0x20a4ce(0xe7))/0x9;if(_0x4fc61c===_0x436d44)break;else _0xccc34d['push'](_0xccc34d['shift']());}catch(_0x467f32){_0xccc34d['push'](_0xccc34d['shift']());}}}(_0x2b2b,0x5d4be));import{Plugin as _0x2e7f7d}from'ckeditor5/src/core.js';import{Collection as _0x766e53}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3a3a49}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5164c0,createDropdown as _0x30f531,ListSeparatorView as _0x758537,MenuBarMenuView as _0x315d8c,MenuBarMenuListView as _0x204abc,MenuBarMenuListItemView as _0x4b66e3,MenuBarMenuListItemButtonView as _0x8e7b21,SplitButtonView as _0x39b22f,UIModel as _0x4b3f47}from'ckeditor5/src/ui.js';import{Users as _0x6df093,getDateTimeFormatter as _0x30e878,getAllMarkersDomElementsSorted as _0x24ec81}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2ba4ab}from'./trackchangesediting.js';function _0x13f9(_0x15ce09,_0x49b38d){const _0x2b2b0e=_0x2b2b();return _0x13f9=function(_0x13f9c6,_0x356c73){_0x13f9c6=_0x13f9c6-0x98;let _0x598277=_0x2b2b0e[_0x13f9c6];return _0x598277;},_0x13f9(_0x15ce09,_0x49b38d);}import{SuggestionController as _0x4157a2}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x179802}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x213c1e}from'./ui/view/suggestionview.js';function _0x2b2b(){const _0x2dcf4d=['arrowView','set','mainView','listenTo','some','Annotations','discardAllSuggestions','descriptionFactory','_handleControllerBuffer','_createMenuBarMenu','trackChanges.SuggestionThreadView','locale','_createToolbarButton','type','pluginName','init','isMultiRange','suggestionLoaded','commandName','TrackChangesUI','trackChanges.SuggestionView','CommentsUI','size','requires','push','Preview\x20final\x20content','delegate','4511340bfsBNJ','suggestionUnloaded','addMany','change:activeAnnotations','focus','editing','trackChanges.disableComments','getMarkers','SuggestionThreadView','has','clear','keys','delete','componentFactory','view','acceptSelectedSuggestions','menuitemcheckbox','evaluationLimit','_viewToController','TrackChangesPreview','_bindAnnotationToEditors','comments.maxThreadTotalWeight','execute','discardButton','buttonView','createAnnotationView','featureNotAllowed','button','licenseKey','unbind','_destroyController','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyInvalid','values','lowest','invalid','getFirstRange','isOn','getAllAdjacentSuggestions','menuBar:trackChanges','comments.editorConfig','Accept\x20all\x20suggestions','trackChangesLicenseKeyUsageLimit','define','from','domainLimit','previewFinalContent','getMarkerNames','addSourceCollector','3734381YtaZTo','getSuggestionForAnnotation','suggestionChanged','switchbutton','usageLimit','_handleSuggestionControllerDelayed','createCommentThreadController','isOfficialPlugin','trackChangesLicenseKeyTrialLimit','getDescriptions','trackChangesLicenseKeyValid','Track\x20changes','isDirty','getJoined','trackChangesLicenseKeyEvaluationLimit','commentsListView','_updateController','refreshSelectedViews','get','reduce','isInContent','commands','_refreshActiveMarkers','Accept\x20all\x20selected\x20suggestions','_suggestionToController','stopListening','createAnnotation','addComment','innerView','activeAnnotations','trialLimit','toMany','hasSuggestion','2047536MyEKNE','editor','CommentsRepository','getByInnerView','fire','bind','destroy','isPremiumPlugin','5fJOJXd','source','trackChanges','menuitem','_unbindEditors','model','SuggestionView','expired','TrackChangesEditing','comments','config','_licenseKeyCheckInterval','discardSelectedSuggestions','activeMarkers','acceptButton','previous','805767VNtEFS','head','filter','_initializeController','_disableComments','EditorAnnotations','_addUIComponentsToFactory','suggestion-','isEnabled','trackChangesLicenseKeyDomainLimit','change:previous','getAnnotationForSuggestion','actionView','descriptionParts','suggestionView','length','_annotationViews','registerAnnotation','menu','acceptAllSuggestions','value','getSuggestion','Discard\x20all\x20suggestions','2453814xgDdMk','2tmAXOw','CommentView','_showLicenseError','plugins','children','remove','getRanges','TrackChanges','627767KqpvDX','comments.maxCommentsWhenCollapsed','trackChangesLicenseKeyNotAllowed','comments.maxCommentCharsWhenCollapsed','panelView','items','trackChangesLicenseKeyExpired','add','separator','1116412qwUVyR','escape','commentThread'];_0x2b2b=function(){return _0x2dcf4d;};return _0x2b2b();}import{getTranslation as _0x365a65}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2e7f7d{[_0x307dfc(0x133)];[_0x307dfc(0xcb)];[_0x307dfc(0xaf)];[_0x307dfc(0x129)];[_0x307dfc(0xe0)];[_0x307dfc(0x104)];[_0x307dfc(0xd4)];static get[_0x307dfc(0x113)](){const _0x2cb020=_0x307dfc;return[_0x2ba4ab,_0x6df093,_0x2cb020(0xba),_0x2cb020(0x101),_0x2cb020(0xd5)];}static get[_0x307dfc(0x10a)](){const _0x37580b=_0x307dfc;return _0x37580b(0x10f);}static get[_0x307dfc(0x9e)](){return!0x0;}static get[_0x307dfc(0xbf)](){return!0x0;}constructor(_0x30bbb4){const _0x1b437c=_0x307dfc;super(_0x30bbb4),this[_0x1b437c(0xaf)]=new Map(),this[_0x1b437c(0x129)]=new Map(),this[_0x1b437c(0xe0)]=new Map(),this[_0x1b437c(0x104)]=new Map();const _0xfc8192=this[_0x1b437c(0xb9)][_0x1b437c(0xca)];_0xfc8192[_0x1b437c(0x142)](_0x1b437c(0x106),_0x179802),_0xfc8192[_0x1b437c(0x142)](_0x1b437c(0x110),_0x213c1e),_0xfc8192[_0x1b437c(0x142)](_0x1b437c(0x11d),!0x1),this[_0x1b437c(0xd4)]=_0xfc8192[_0x1b437c(0xa9)](_0x1b437c(0x11d));}[_0x307dfc(0x9c)](_0x2ead49,_0x2aed14){const _0x4d9104=_0x307dfc;0x0===this[_0x4d9104(0x104)][_0x4d9104(0x112)]&&setTimeout(()=>{const _0x2b94a7=_0x4d9104;for(const [_0x2a77b2,_0xc5eed5]of this[_0x2b94a7(0x104)]){const _0x4b3f07=this[_0x2b94a7(0xaf)][_0x2b94a7(0x120)](_0x2a77b2);_0x4b3f07||_0xc5eed5?_0x4b3f07&&_0xc5eed5&&this[_0x2b94a7(0x135)](_0x2a77b2):this[_0x2b94a7(0xd3)](_0x2a77b2);}this[_0x2b94a7(0x104)][_0x2b94a7(0x121)](),this[_0x2b94a7(0xb9)][_0x2b94a7(0xeb)][_0x2b94a7(0xa9)](_0x2b94a7(0xd5))[_0x2b94a7(0xa8)](),this[_0x2b94a7(0xad)]();},0xa),this[_0x4d9104(0x104)][_0x4d9104(0xfd)](_0x2ead49,_0x2aed14);}[_0x307dfc(0x10b)](){const _0x319f86=_0x307dfc,_0x2510a7=this[_0x319f86(0xb9)],_0x2daeab=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0xc8)),_0x4dcb0c=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0x101)),_0x577d85=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0xd5)),_0x7d3968=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0xba));this[_0x319f86(0xd6)](),_0x577d85[_0x319f86(0x147)](()=>{const _0x53cc03=_0x319f86,_0x4b85cc=[];for(const [_0x1e9efb,_0x343592]of Array[_0x53cc03(0x143)](this[_0x53cc03(0xaf)])){const _0x5a5516=_0x1e9efb[_0x53cc03(0x13d)](),_0x3e24b8=[];for(const _0x40fc29 of _0x5a5516){if(!_0x40fc29[_0x53cc03(0xab)])continue;if(_0x40fc29[_0x53cc03(0x10c)]){_0x3e24b8[_0x53cc03(0x114)](..._0x40fc29[_0x53cc03(0xee)]());continue;}const _0x20f2b5=_0x40fc29[_0x53cc03(0x13b)]();if(_0x3e24b8[_0x53cc03(0xdf)]>0x0){const _0x46b665=_0x3e24b8[0x0][_0x53cc03(0xa4)](_0x20f2b5);if(_0x46b665){_0x3e24b8[0x0]=_0x46b665;continue;}}_0x3e24b8[_0x53cc03(0x114)](_0x20f2b5);}_0x4b85cc[_0x53cc03(0x114)]([_0x343592[_0x53cc03(0x125)],_0x3e24b8]);}return _0x4b85cc;}),this[_0x319f86(0xff)](_0x2daeab,_0x319f86(0x10d),(_0x547aa2,_0x2aaab0)=>{const _0x1b5c2c=_0x319f86;this[_0x1b5c2c(0xff)](_0x2aaab0,_0x1b5c2c(0xda),(_0x194fc7,_0x530d93,_0x2c5852,_0x1307f5)=>{const _0x4704f0=_0x1b5c2c;_0x2aaab0[_0x4704f0(0xab)]&&(null==_0x2c5852?(this[_0x4704f0(0xa7)](_0x1307f5[_0x4704f0(0xd1)]),this[_0x4704f0(0x9c)](_0x2aaab0,!0x1)):(this[_0x4704f0(0xa7)](_0x2c5852[_0x4704f0(0xd1)]),null==_0x1307f5&&this[_0x4704f0(0x9c)](_0x2aaab0,!0x0)));}),null!==_0x2aaab0[_0x1b5c2c(0xcf)]?this[_0x1b5c2c(0xa7)](_0x2aaab0[_0x1b5c2c(0xd1)]):this[_0x1b5c2c(0x9c)](_0x2aaab0,!0x1);}),this[_0x319f86(0xff)](_0x2daeab,_0x319f86(0x118),(_0x33bb26,_0x4585f7,_0x570321)=>{const _0x802f08=_0x319f86;this[_0x802f08(0xb0)](_0x4585f7,_0x802f08(0xda)),this[_0x802f08(0x104)][_0x802f08(0x123)](_0x4585f7),this[_0x802f08(0xaf)][_0x802f08(0x120)](_0x4585f7)&&this[_0x802f08(0x135)](_0x4585f7),_0x570321&&this[_0x802f08(0xa7)](_0x570321[_0x802f08(0xd1)]);}),this[_0x319f86(0xff)](_0x2daeab,_0x319f86(0x99),(_0x4e3fe5,_0x537b7b)=>{const _0x2c765b=_0x319f86;this[_0x2c765b(0xa7)](_0x537b7b);}),this[_0x319f86(0xff)](_0x4dcb0c,_0x319f86(0x11a),()=>{const _0x61b4be=_0x319f86;this[_0x61b4be(0xad)]();}),this[_0x319f86(0xff)](_0x7d3968,_0x319f86(0xb2),(_0x3d6408,{threadId:_0x4979be,isFromAdapter:_0xba5f65})=>{const _0x552b1d=_0x319f86;if(_0xba5f65||!_0x2daeab[_0x552b1d(0xb7)](_0x4979be))return;const _0x9ce2de=_0x2daeab[_0x552b1d(0xe5)](_0x4979be);this[_0x552b1d(0xaf)][_0x552b1d(0xa9)](_0x9ce2de)[_0x552b1d(0x125)][_0x552b1d(0xa6)][_0x552b1d(0x11b)](-0x1);},{'priority':_0x319f86(0x139)}),this[_0x319f86(0x133)]=this[_0x319f86(0xb9)][_0x319f86(0xca)][_0x319f86(0xa9)](_0x319f86(0x133));const _0x1c2322=this[_0x319f86(0xb9)];this[_0x319f86(0xcb)]=setInterval(()=>{const _0x5a03fb=_0x319f86;let _0x4bfe6d;for(const _0x48b68b in _0x1c2322){const _0x351f99=_0x48b68b,_0x44ea54=_0x1c2322[_0x351f99];if(_0x5a03fb(0xa1)==_0x44ea54||_0x5a03fb(0x137)==_0x44ea54||_0x5a03fb(0xf6)==_0x44ea54||_0x5a03fb(0xd9)==_0x44ea54||_0x5a03fb(0xf2)==_0x44ea54||_0x5a03fb(0xa5)==_0x44ea54||_0x5a03fb(0x9f)==_0x44ea54||_0x5a03fb(0x141)==_0x44ea54){delete _0x1c2322[_0x351f99],_0x4bfe6d=_0x44ea54,clearInterval(this[_0x5a03fb(0xcb)]),this[_0x5a03fb(0xcb)]=void 0x0;break;}}_0x5a03fb(0x137)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x13a)),_0x5a03fb(0xf6)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0xc7)),_0x5a03fb(0xd9)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x144)),_0x5a03fb(0xf2)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x131),_0x5a03fb(0xef)),_0x5a03fb(0xa5)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x128)),_0x5a03fb(0x9f)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0xb5)),_0x5a03fb(0x141)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x9b));},0x3e8);}[_0x307dfc(0xdb)](_0x52e3b6){const _0x2037c3=_0x307dfc,_0xa465ae=this[_0x2037c3(0xaf)][_0x2037c3(0xa9)](_0x52e3b6);if(!_0xa465ae)return null;return this[_0x2037c3(0xb9)][_0x2037c3(0xeb)][_0x2037c3(0xa9)](_0x2037c3(0x101))[_0x2037c3(0xbb)](_0xa465ae[_0x2037c3(0x125)])||null;}[_0x307dfc(0x98)](_0x2f383a){const _0x6722f4=_0x307dfc,_0x36b51e=this[_0x6722f4(0x129)][_0x6722f4(0xa9)](_0x2f383a[_0x6722f4(0xb3)]);return _0x36b51e?_0x36b51e[_0x6722f4(0xc5)]:null;}[_0x307dfc(0xad)](){const _0x208ef8=_0x307dfc,_0x56a2a2=this[_0x208ef8(0xb9)][_0x208ef8(0xeb)][_0x208ef8(0xa9)](_0x208ef8(0x101)),_0x4fd119=this[_0x208ef8(0xb9)][_0x208ef8(0xeb)][_0x208ef8(0xa9)](_0x208ef8(0xc8)),_0x900fbb=Array[_0x208ef8(0x143)](_0x56a2a2[_0x208ef8(0xb4)],_0x26e8ee=>_0x26e8ee[_0x208ef8(0xb3)])[_0x208ef8(0xd2)](_0x5073b8=>this[_0x208ef8(0x129)][_0x208ef8(0x120)](_0x5073b8)),_0x2d7f88=[];for(const _0x2ff699 of _0x900fbb){const _0x3b5302=this[_0x208ef8(0x129)][_0x208ef8(0xa9)](_0x2ff699)[_0x208ef8(0xc5)][_0x208ef8(0x13d)]();_0x2d7f88[_0x208ef8(0x114)](..._0x3b5302[_0x208ef8(0xaa)]((_0x4ff51d,_0x46d3aa)=>[..._0x4ff51d,..._0x46d3aa[_0x208ef8(0x146)]()],[]));}_0x4fd119[_0x208ef8(0xcd)]=_0x2d7f88;}[_0x307dfc(0xd6)](){const _0x4b3754=_0x307dfc,_0x1a90c3=this[_0x4b3754(0xb9)],_0x228a8f=_0x1a90c3[_0x4b3754(0x107)],_0x12f049=_0x365a65(_0x228a8f,_0x4b3754(0xa2)),_0x460067=new _0x766e53([{'type':_0x4b3754(0x9a),'model':new _0x4b3f47({'withText':!0x0,'isToggleable':!0x0,'label':_0x12f049,'commandName':_0x4b3754(0xc2),'role':_0x4b3754(0x127)})},{'type':_0x4b3754(0xf8)},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0x140)),'commandName':_0x4b3754(0xe3),'role':_0x4b3754(0xc3)})},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0xae)),'commandName':_0x4b3754(0x126),'role':_0x4b3754(0xc3)})},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0xe6)),'commandName':_0x4b3754(0x102),'role':_0x4b3754(0xc3)})},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0x136)),'commandName':_0x4b3754(0xcc),'role':_0x4b3754(0xc3)})}]);_0x1a90c3[_0x4b3754(0xeb)][_0x4b3754(0x120)](_0x4b3754(0x12a))&&_0x460067[_0x4b3754(0x119)]([{'type':_0x4b3754(0xf8)},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0x115)),'commandName':_0x4b3754(0x145),'role':_0x4b3754(0xc3)})}]);for(const _0x2a9347 of _0x460067)if(ke(_0x2a9347)){const _0xac31c2=_0x1a90c3[_0x4b3754(0xac)][_0x4b3754(0xa9)](_0x2a9347[_0x4b3754(0xc5)][_0x4b3754(0x10e)]);_0x2a9347[_0x4b3754(0xc5)][_0x4b3754(0xbd)](_0x4b3754(0x13c),_0x4b3754(0xd8))['to'](_0xac31c2,_0x4b3754(0xe4),_0x4b3754(0xd8));}_0x1a90c3['ui'][_0x4b3754(0x124)][_0x4b3754(0xf7)](_0x4b3754(0xc2),_0x4785ad=>this[_0x4b3754(0x108)](_0x4785ad,_0x460067,_0x12f049)),_0x1a90c3['ui'][_0x4b3754(0x124)][_0x4b3754(0xf7)](_0x4b3754(0x13e),_0x1966bb=>this[_0x4b3754(0x105)](_0x1966bb,_0x460067,_0x12f049));}[_0x307dfc(0x108)](_0x367367,_0x3ab67c,_0x48958c){const _0xc283a9=_0x307dfc,_0x2b09f7=_0x30f531(_0x367367,_0x39b22f),_0x426e64=this[_0xc283a9(0xb9)][_0xc283a9(0xac)][_0xc283a9(0xa9)](_0xc283a9(0xc2));_0x2b09f7[_0xc283a9(0x12f)][_0xc283a9(0xfd)]({'tooltip':_0x48958c,'label':_0x48958c,'icon':_0x3a3a49}),_0x2b09f7[_0xc283a9(0x12f)][_0xc283a9(0xbd)](_0xc283a9(0x13c))['to'](_0x426e64,_0xc283a9(0xe4)),_0x2b09f7[_0xc283a9(0x12f)]['on'](_0xc283a9(0x12d),()=>{const _0x37a454=_0xc283a9;_0x426e64[_0x37a454(0x12d)](),this[_0x37a454(0xb9)][_0x37a454(0x11c)][_0x37a454(0x125)][_0x37a454(0x11b)]();}),_0x5164c0(_0x2b09f7,_0x3ab67c,{'role':_0xc283a9(0xe2)});const _0x31a60e=[];for(const _0x496f7d of _0x3ab67c)ke(_0x496f7d)&&_0x31a60e[_0xc283a9(0x114)](this[_0xc283a9(0xb9)][_0xc283a9(0xac)][_0xc283a9(0xa9)](_0x496f7d[_0xc283a9(0xc5)][_0xc283a9(0x10e)]));const _0x4341af=_0x2b09f7[_0xc283a9(0x12f)];return _0x4341af[_0xc283a9(0xdc)][_0xc283a9(0x134)](_0xc283a9(0xd8)),_0x4341af[_0xc283a9(0xfc)][_0xc283a9(0x134)](_0xc283a9(0xd8)),_0x4341af[_0xc283a9(0xdc)][_0xc283a9(0xbd)](_0xc283a9(0xd8))['to'](_0x426e64,_0xc283a9(0xd8)),_0x4341af[_0xc283a9(0xfc)][_0xc283a9(0xbd)](_0xc283a9(0xd8))[_0xc283a9(0xb6)](_0x31a60e,_0xc283a9(0xd8),(..._0xf30407)=>_0xf30407[_0xc283a9(0x100)](_0x3ea189=>_0x3ea189)),_0x2b09f7['on'](_0xc283a9(0x12d),_0x5df1e6=>{const _0x4f10e4=_0xc283a9;this[_0x4f10e4(0xb9)][_0x4f10e4(0x12d)](_0x5df1e6[_0x4f10e4(0xc1)][_0x4f10e4(0x10e)]),this[_0x4f10e4(0xb9)][_0x4f10e4(0x11c)][_0x4f10e4(0x125)][_0x4f10e4(0x11b)]();}),_0x2b09f7;}[_0x307dfc(0x105)](_0x2ae612,_0x47b7a9,_0x45bac4){const _0x4bcfd2=_0x307dfc,_0x25f264=new _0x315d8c(_0x2ae612),_0x418a22=this[_0x4bcfd2(0xb9)][_0x4bcfd2(0xac)][_0x4bcfd2(0xa9)](_0x4bcfd2(0xc2));_0x25f264[_0x4bcfd2(0x12f)][_0x4bcfd2(0xfd)]({'label':_0x45bac4,'icon':_0x3a3a49});const _0x3d87fa=new _0x204abc(_0x2ae612);for(const _0xb01016 of _0x47b7a9){if(_0x4bcfd2(0xf8)==_0xb01016[_0x4bcfd2(0x109)]){_0x3d87fa[_0x4bcfd2(0xf5)][_0x4bcfd2(0xf7)](new _0x758537(_0x2ae612));continue;}const _0x2f8293=new _0x4b66e3(_0x2ae612,_0x25f264),_0x438efd=new _0x8e7b21(_0x2ae612),_0x2d2836=_0xb01016[_0x4bcfd2(0xc5)];_0x438efd[_0x4bcfd2(0xbd)](...Object[_0x4bcfd2(0x122)](_0x2d2836))['to'](_0x2d2836),_0x438efd[_0x4bcfd2(0x116)](_0x4bcfd2(0x12d))['to'](_0x25f264),_0x438efd['on'](_0x4bcfd2(0x12d),()=>{const _0x4de2b0=_0x4bcfd2;this[_0x4de2b0(0xb9)][_0x4de2b0(0x12d)](_0x2d2836[_0x4de2b0(0x10e)]),this[_0x4de2b0(0xb9)][_0x4de2b0(0x11c)][_0x4de2b0(0x125)][_0x4de2b0(0x11b)]();}),_0x2f8293[_0x4bcfd2(0xec)][_0x4bcfd2(0xf7)](_0x438efd),_0x3d87fa[_0x4bcfd2(0xf5)][_0x4bcfd2(0xf7)](_0x2f8293);}return _0x25f264[_0x4bcfd2(0xbd)](_0x4bcfd2(0xd8))['to'](_0x418a22,_0x4bcfd2(0xd8)),_0x25f264[_0x4bcfd2(0xf4)][_0x4bcfd2(0xec)][_0x4bcfd2(0xf7)](_0x3d87fa),_0x25f264;}[_0x307dfc(0xd3)](_0x4eaf55){const _0x213fb8=_0x307dfc,_0x130491=this[_0x213fb8(0xb9)],_0x1993fc=_0x130491[_0x213fb8(0xca)],_0x246a3c=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0x101)),_0x3ec844=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0xba)),_0x54841f=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0xd5)),_0x2cd3a7=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x6df093)['me'],_0x5c6ff9=_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xc2))[_0x213fb8(0x11f)],_0x106dcd=_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xc2))[_0x213fb8(0xc6)],{CommentsListView:_0x5901a2,CommentThreadInputView:_0xf74a28}=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0x111));let _0x1590c7,_0x27cda3,_0x5475b7;this[_0x213fb8(0xe0)][_0x213fb8(0x120)](_0x4eaf55['id'])?(_0x27cda3=this[_0x213fb8(0xe0)][_0x213fb8(0xa9)](_0x4eaf55['id']),_0x1590c7=_0x27cda3[_0x213fb8(0xfe)]):(_0x1590c7=new _0x5c6ff9(_0x130491[_0x213fb8(0x107)],_0x4eaf55,_0x2cd3a7,{'disableComments':this[_0x213fb8(0xd4)],'editorConfig':{..._0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x13f)),'licenseKey':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x133))},'maxCommentsWhenCollapsed':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xf1)),'maxThreadTotalWeight':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x12c)),'maxCommentCharsWhenCollapsed':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xf3)),'formatDateTime':_0x30e878(_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x107)),_0x130491[_0x213fb8(0x107)]),'CommentView':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xc9))[_0x213fb8(0xe9)],'CommentsListView':_0x5901a2,'CommentThreadInputView':_0xf74a28,'SuggestionView':_0x106dcd}),_0x1590c7[_0x213fb8(0xde)][_0x213fb8(0xce)]['on'](_0x213fb8(0x12d),()=>{const _0x5d2b72=_0x213fb8;_0x130491[_0x5d2b72(0x11c)][_0x5d2b72(0x125)][_0x5d2b72(0x11b)]();}),_0x1590c7[_0x213fb8(0xde)][_0x213fb8(0x12e)]['on'](_0x213fb8(0x12d),()=>{const _0x38c736=_0x213fb8;_0x130491[_0x38c736(0x11c)][_0x38c736(0x125)][_0x38c736(0x11b)]();}),_0x27cda3=_0x246a3c[_0x213fb8(0x130)](this[_0x213fb8(0xb9)][_0x213fb8(0x107)],_0x1590c7),_0x27cda3[_0x213fb8(0xbd)](_0x213fb8(0xa3))['to'](_0x1590c7,_0x213fb8(0xa3)),_0x27cda3[_0x213fb8(0xbd)](_0x213fb8(0xdf))['to'](_0x1590c7),_0x27cda3[_0x213fb8(0xbd)](_0x213fb8(0x109))['to'](_0x1590c7,_0x213fb8(0x109),_0x38e65a=>_0x213fb8(0xd7)+_0x38e65a),_0x1590c7['on'](_0x213fb8(0xfa),()=>{const _0x3162a9=_0x213fb8;_0x5475b7[_0x3162a9(0xbc)](_0x3162a9(0xfa));}),this[_0x213fb8(0xe0)][_0x213fb8(0xfd)](_0x4eaf55['id'],_0x27cda3));const _0x4e61ae=_0x3ec844[_0x213fb8(0x9d)](_0x4eaf55[_0x213fb8(0xfb)],_0x1590c7),_0x57c5c3=new _0x4157a2(_0x130491,_0x4eaf55,_0x1590c7,_0x4e61ae),_0x3f20a8=_0x4eaf55[_0x213fb8(0x13d)]()[_0x213fb8(0xd2)](_0x8190b=>_0x8190b[_0x213fb8(0xab)]);_0x1590c7[_0x213fb8(0xdd)]=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0xc8))[_0x213fb8(0x103)][_0x213fb8(0xa0)](_0x3f20a8),this[_0x213fb8(0xaf)][_0x213fb8(0xfd)](_0x4eaf55,_0x57c5c3),this[_0x213fb8(0x129)][_0x213fb8(0xfd)](_0x1590c7,_0x57c5c3);const _0x14ac3f=()=>{const _0x57b56e=_0x213fb8,_0xd04c7b=[],_0x265f4e=_0x4eaf55[_0x57b56e(0x13d)]()[_0x57b56e(0xd2)](_0x448d45=>_0x448d45[_0x57b56e(0xab)]);for(const _0x4cca50 of _0x265f4e)_0xd04c7b[_0x57b56e(0x114)](..._0x4cca50[_0x57b56e(0x11e)]());return _0x24ec81(_0x130491[_0x57b56e(0x11c)],_0xd04c7b);};_0x5475b7=_0x246a3c[_0x213fb8(0xb1)]({'view':_0x27cda3,'target':_0x14ac3f,'type':()=>_0x213fb8(0xd7)+_0x57c5c3[_0x213fb8(0x125)][_0x213fb8(0x109)],'isVisible':!!_0x14ac3f()}),_0x3ec844[_0x213fb8(0x12b)](_0x1590c7,_0x5475b7),_0x246a3c[_0x213fb8(0xf7)](_0x5475b7),_0x54841f[_0x213fb8(0xe1)](_0x5475b7);}[_0x307dfc(0x135)](_0x35d022){const _0x480e6b=_0x307dfc,_0x56da98=this[_0x480e6b(0xb9)][_0x480e6b(0xeb)][_0x480e6b(0xa9)](_0x480e6b(0xba)),_0x1efc2a=this[_0x480e6b(0xb9)][_0x480e6b(0xeb)][_0x480e6b(0xa9)](_0x480e6b(0x101)),_0x392320=this[_0x480e6b(0xaf)][_0x480e6b(0xa9)](_0x35d022),_0x12dbe6=_0x392320[_0x480e6b(0x125)],_0x590ffa=_0x1efc2a[_0x480e6b(0xbb)](_0x12dbe6);_0x56da98[_0x480e6b(0xc4)](_0x12dbe6),_0x590ffa&&_0x1efc2a[_0x480e6b(0xed)](_0x590ffa),this[_0x480e6b(0xaf)][_0x480e6b(0x123)](_0x35d022),this[_0x480e6b(0x129)][_0x480e6b(0x123)](_0x12dbe6),_0x392320[_0x480e6b(0xbe)]();}[_0x307dfc(0xa7)](_0x4d7f9a){const _0x2b86df=_0x307dfc;if(!_0x4d7f9a[_0x2b86df(0xab)]||!this[_0x2b86df(0xaf)][_0x2b86df(0x120)](_0x4d7f9a))return;const _0x296839=this[_0x2b86df(0xb9)][_0x2b86df(0xeb)][_0x2b86df(0xa9)](_0x2b86df(0xc8)),_0x4adb96=this[_0x2b86df(0xaf)][_0x2b86df(0xa9)](_0x4d7f9a),_0x11e117=_0x4d7f9a[_0x2b86df(0x13d)]();_0x4adb96[_0x2b86df(0x125)][_0x2b86df(0xdd)]=_0x296839[_0x2b86df(0x103)][_0x2b86df(0xa0)](_0x11e117);}[_0x307dfc(0xbe)](){const _0x466893=_0x307dfc;for(const _0x430be0 of this[_0x466893(0xaf)][_0x466893(0x122)]())this[_0x466893(0x135)](_0x430be0);for(const _0x252293 of this[_0x466893(0xe0)][_0x466893(0x138)]())_0x252293[_0x466893(0xfe)][_0x466893(0xbe)]();super[_0x466893(0xbe)](),this[_0x466893(0xcb)]&&clearInterval(this[_0x466893(0xcb)]);}}function ke(_0x468d43){const _0x1e8ce0=_0x307dfc;return _0x1e8ce0(0xc5)in _0x468d43;}
|
|
23
|
+
const _0x5e28de=_0x172f;(function(_0x52225a,_0x3ac544){const _0x52d3ef=_0x172f,_0x326acf=_0x52225a();while(!![]){try{const _0x578cab=-parseInt(_0x52d3ef(0x106))/0x1+parseInt(_0x52d3ef(0x9c))/0x2*(parseInt(_0x52d3ef(0xcf))/0x3)+-parseInt(_0x52d3ef(0xf5))/0x4*(parseInt(_0x52d3ef(0x9b))/0x5)+-parseInt(_0x52d3ef(0x108))/0x6*(-parseInt(_0x52d3ef(0xb9))/0x7)+-parseInt(_0x52d3ef(0xd0))/0x8+parseInt(_0x52d3ef(0xdb))/0x9+parseInt(_0x52d3ef(0xa1))/0xa;if(_0x578cab===_0x3ac544)break;else _0x326acf['push'](_0x326acf['shift']());}catch(_0x3f0d1e){_0x326acf['push'](_0x326acf['shift']());}}}(_0x23b0,0xca558));function _0x23b0(){const _0x17e49e=['some','menuBar:trackChanges','getDescriptions','_showLicenseError','refreshSelectedViews','trackChangesLicenseKeyTrialLimit','trackChangesLicenseKeyNotAllowed','SuggestionView','trialLimit','createAnnotation','panelView','Discard\x20all\x20selected\x20suggestions','isPremiumPlugin','featureNotAllowed','15tKrYBh','2iPARMH','change:activeAnnotations','separator','CommentsRepository','_createMenuBarMenu','24757520pEbFlC','discardAllSuggestions','trackChangesLicenseKeyExpired','actionView','bind','stopListening','usageLimit','comments.maxCommentsWhenCollapsed','discardButton','getRanges','config','suggestionUnloaded','acceptAllSuggestions','_suggestionToController','TrackChangesUI','_refreshActiveMarkers','getSuggestion','hasSuggestion','_disableComments','comments.maxCommentCharsWhenCollapsed','comments','change:previous','_bindAnnotationToEditors','from','237916MVCUSC','getAnnotationForSuggestion','_handleSuggestionControllerDelayed','mainView','_initializeController','isOfficialPlugin','trackChanges.SuggestionView','get','toMany','_annotationViews','button','init','push','activeMarkers','source','locale','unbind','Preview\x20final\x20content','_updateController','commandName','descriptionParts','isMultiRange','36942lWrpZK','11101896ujlauD','suggestion-','suggestionView','trackChangesLicenseKeyDomainLimit','editing','commands','listenTo','trackChangesLicenseKeyUsageLimit','_licenseKeyCheckInterval','getByInnerView','destroy','6270057cEAZHf','addSourceCollector','_createToolbarButton','reduce','comments.maxThreadTotalWeight','CommentView','model','evaluationLimit','trackChangesLicenseKeyInvalid','licenseKey','define','activeAnnotations','previewFinalContent','componentFactory','isInContent','arrowView','focus','suggestionChanged','_handleControllerBuffer','getJoined','addComment','getMarkers','domainLimit','fire','switchbutton','execute','1017748KXXdac','getSuggestionForAnnotation','isDirty','Track\x20changes','pluginName','Annotations','buttonView','TrackChangesPreview','SuggestionThreadView','comments.editorConfig','add','addMany','delegate','menu','suggestionLoaded','innerView','invalid','442847KzLrWx','children','42kyUuGJ','trackChanges.disableComments','commentsListView','requires','_destroyController','CommentsUI','trackChangesLicenseKeyEvaluationLimit','delete','Accept\x20all\x20selected\x20suggestions','TrackChanges','values','length','acceptButton','Discard\x20all\x20suggestions','view','isOn','lowest','createAnnotationView','has','expired','previous','Accept\x20all\x20suggestions','trackChangesLicenseKeyValid','filter','menuitemcheckbox','set','getAllAdjacentSuggestions','size','getFirstRange','commentThread','editor','_unbindEditors','descriptionFactory','type','isEnabled','discardSelectedSuggestions','registerAnnotation','_addUIComponentsToFactory','createCommentThreadController','trackChanges','items','acceptSelectedSuggestions','clear','trackChanges.SuggestionThreadView','remove','escape','head','TrackChangesEditing','plugins','EditorAnnotations','value','_viewToController','getMarkerNames','keys','menuitem'];_0x23b0=function(){return _0x17e49e;};return _0x23b0();}import{Plugin as _0xe47ca3}from'ckeditor5/src/core.js';import{Collection as _0x2f4504}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1f427e}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x7af3a8,createDropdown as _0x3d5209,ListSeparatorView as _0x4f58c3,MenuBarMenuView as _0x154126,MenuBarMenuListView as _0x3e2464,MenuBarMenuListItemView as _0x205e30,MenuBarMenuListItemButtonView as _0x1d9ae3,SplitButtonView as _0x1207eb,UIModel as _0x5a3ad1}from'ckeditor5/src/ui.js';import{Users as _0x34ad74,getDateTimeFormatter as _0x2d4fdc,getAllMarkersDomElementsSorted as _0x341039}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2120a6}from'./trackchangesediting.js';import{SuggestionController as _0x36cc60}from'./ui/suggestioncontroller.js';function _0x172f(_0x278af6,_0x1ac012){const _0x23b0ea=_0x23b0();return _0x172f=function(_0x172ff0,_0x1b6258){_0x172ff0=_0x172ff0-0x91;let _0x1756f0=_0x23b0ea[_0x172ff0];return _0x1756f0;},_0x172f(_0x278af6,_0x1ac012);}import{SuggestionThreadView as _0x130159}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2445fd}from'./ui/view/suggestionview.js';import{getTranslation as _0x30ca6b}from'./utils/common-translations.js';export class TrackChangesUI extends _0xe47ca3{[_0x5e28de(0xe4)];[_0x5e28de(0xd8)];[_0x5e28de(0xae)];[_0x5e28de(0x13b)];[_0x5e28de(0xc2)];[_0x5e28de(0xed)];[_0x5e28de(0xb3)];static get[_0x5e28de(0x10b)](){const _0x24ff77=_0x5e28de;return[_0x2120a6,_0x34ad74,_0x24ff77(0x9f),_0x24ff77(0xfa),_0x24ff77(0x139)];}static get[_0x5e28de(0xf9)](){const _0x2cc912=_0x5e28de;return _0x2cc912(0xaf);}static get[_0x5e28de(0xbe)](){return!0x0;}static get[_0x5e28de(0x99)](){return!0x0;}constructor(_0x4a8782){const _0x84990c=_0x5e28de;super(_0x4a8782),this[_0x84990c(0xae)]=new Map(),this[_0x84990c(0x13b)]=new Map(),this[_0x84990c(0xc2)]=new Map(),this[_0x84990c(0xed)]=new Map();const _0x2b72b9=this[_0x84990c(0x126)][_0x84990c(0xab)];_0x2b72b9[_0x84990c(0xe5)](_0x84990c(0x133),_0x130159),_0x2b72b9[_0x84990c(0xe5)](_0x84990c(0xbf),_0x2445fd),_0x2b72b9[_0x84990c(0xe5)](_0x84990c(0x109),!0x1),this[_0x84990c(0xb3)]=_0x2b72b9[_0x84990c(0xc0)](_0x84990c(0x109));}[_0x5e28de(0xbb)](_0x563cb3,_0x1e6c50){const _0x646b29=_0x5e28de;0x0===this[_0x646b29(0xed)][_0x646b29(0x123)]&&setTimeout(()=>{const _0x44310b=_0x646b29;for(const [_0x4b495b,_0x23158c]of this[_0x44310b(0xed)]){const _0x5f10c5=this[_0x44310b(0xae)][_0x44310b(0x11a)](_0x4b495b);_0x5f10c5||_0x23158c?_0x5f10c5&&_0x23158c&&this[_0x44310b(0x10c)](_0x4b495b):this[_0x44310b(0xbd)](_0x4b495b);}this[_0x44310b(0xed)][_0x44310b(0x132)](),this[_0x44310b(0x126)][_0x44310b(0x138)][_0x44310b(0xc0)](_0x44310b(0x139))[_0x44310b(0x91)](),this[_0x44310b(0xb0)]();},0xa),this[_0x646b29(0xed)][_0x646b29(0x121)](_0x563cb3,_0x1e6c50);}[_0x5e28de(0xc4)](){const _0x3371c9=_0x5e28de,_0x7ea747=this[_0x3371c9(0x126)],_0x2f1f4f=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0x137)),_0xb42ca0=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0xfa)),_0x5df853=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0x139)),_0x577a93=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0x9f));this[_0x3371c9(0x12d)](),_0x5df853[_0x3371c9(0xdc)](()=>{const _0x35e824=_0x3371c9,_0x156146=[];for(const [_0x56ef29,_0x11bf19]of Array[_0x35e824(0xb8)](this[_0x35e824(0xae)])){const _0x400502=_0x56ef29[_0x35e824(0x122)](),_0x49bc9b=[];for(const _0x14ab14 of _0x400502){if(!_0x14ab14[_0x35e824(0xe9)])continue;if(_0x14ab14[_0x35e824(0xce)]){_0x49bc9b[_0x35e824(0xc5)](..._0x14ab14[_0x35e824(0xaa)]());continue;}const _0x3d890f=_0x14ab14[_0x35e824(0x124)]();if(_0x49bc9b[_0x35e824(0x113)]>0x0){const _0x5278e8=_0x49bc9b[0x0][_0x35e824(0xee)](_0x3d890f);if(_0x5278e8){_0x49bc9b[0x0]=_0x5278e8;continue;}}_0x49bc9b[_0x35e824(0xc5)](_0x3d890f);}_0x156146[_0x35e824(0xc5)]([_0x11bf19[_0x35e824(0x116)],_0x49bc9b]);}return _0x156146;}),this[_0x3371c9(0xd6)](_0x2f1f4f,_0x3371c9(0x103),(_0x2cc493,_0x5a3ac6)=>{const _0x2d7b2b=_0x3371c9;this[_0x2d7b2b(0xd6)](_0x5a3ac6,_0x2d7b2b(0xb6),(_0x474910,_0x1a023f,_0xf93160,_0x5357f)=>{const _0x50f2aa=_0x2d7b2b;_0x5a3ac6[_0x50f2aa(0xe9)]&&(null==_0xf93160?(this[_0x50f2aa(0xcb)](_0x5357f[_0x50f2aa(0x136)]),this[_0x50f2aa(0xbb)](_0x5a3ac6,!0x1)):(this[_0x50f2aa(0xcb)](_0xf93160[_0x50f2aa(0x136)]),null==_0x5357f&&this[_0x50f2aa(0xbb)](_0x5a3ac6,!0x0)));}),null!==_0x5a3ac6[_0x2d7b2b(0x11c)]?this[_0x2d7b2b(0xcb)](_0x5a3ac6[_0x2d7b2b(0x136)]):this[_0x2d7b2b(0xbb)](_0x5a3ac6,!0x1);}),this[_0x3371c9(0xd6)](_0x2f1f4f,_0x3371c9(0xac),(_0x2dd234,_0x14bd51,_0x4f0409)=>{const _0xcd485=_0x3371c9;this[_0xcd485(0xa6)](_0x14bd51,_0xcd485(0xb6)),this[_0xcd485(0xed)][_0xcd485(0x10f)](_0x14bd51),this[_0xcd485(0xae)][_0xcd485(0x11a)](_0x14bd51)&&this[_0xcd485(0x10c)](_0x14bd51),_0x4f0409&&this[_0xcd485(0xcb)](_0x4f0409[_0xcd485(0x136)]);}),this[_0x3371c9(0xd6)](_0x2f1f4f,_0x3371c9(0xec),(_0x52c70f,_0x518de5)=>{const _0x36ff02=_0x3371c9;this[_0x36ff02(0xcb)](_0x518de5);}),this[_0x3371c9(0xd6)](_0xb42ca0,_0x3371c9(0x9d),()=>{const _0x51d45c=_0x3371c9;this[_0x51d45c(0xb0)]();}),this[_0x3371c9(0xd6)](_0x577a93,_0x3371c9(0xef),(_0x4f27f8,{threadId:_0x4c2422,isFromAdapter:_0x3106fc})=>{const _0x5dd258=_0x3371c9;if(_0x3106fc||!_0x2f1f4f[_0x5dd258(0xb2)](_0x4c2422))return;const _0x3c9413=_0x2f1f4f[_0x5dd258(0xb1)](_0x4c2422);this[_0x5dd258(0xae)][_0x5dd258(0xc0)](_0x3c9413)[_0x5dd258(0x116)][_0x5dd258(0x10a)][_0x5dd258(0xeb)](-0x1);},{'priority':_0x3371c9(0x118)}),this[_0x3371c9(0xe4)]=this[_0x3371c9(0x126)][_0x3371c9(0xab)][_0x3371c9(0xc0)](_0x3371c9(0xe4));const _0x82c6d9=this[_0x3371c9(0x126)];this[_0x3371c9(0xd8)]=setInterval(()=>{const _0x544ed7=_0x3371c9;let _0x4a3621;for(const _0x4317c4 in _0x82c6d9){const _0x1a9213=_0x4317c4,_0x10d9d7=_0x82c6d9[_0x1a9213];if(_0x544ed7(0x11e)==_0x10d9d7||_0x544ed7(0xe3)==_0x10d9d7||_0x544ed7(0xa3)==_0x10d9d7||_0x544ed7(0xd3)==_0x10d9d7||_0x544ed7(0x93)==_0x10d9d7||_0x544ed7(0x10e)==_0x10d9d7||_0x544ed7(0x92)==_0x10d9d7||_0x544ed7(0xd7)==_0x10d9d7){delete _0x82c6d9[_0x1a9213],_0x4a3621=_0x10d9d7,clearInterval(this[_0x544ed7(0xd8)]),this[_0x544ed7(0xd8)]=void 0x0;break;}}_0x544ed7(0xe3)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x105)),_0x544ed7(0xa3)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x11b)),_0x544ed7(0xd3)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0xf1)),_0x544ed7(0x93)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x9a),_0x544ed7(0x111)),_0x544ed7(0x10e)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0xe2)),_0x544ed7(0x92)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x95)),_0x544ed7(0xd7)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0xa7));},0x3e8);}[_0x5e28de(0xba)](_0x127e53){const _0x4e88ec=_0x5e28de,_0x65383a=this[_0x4e88ec(0xae)][_0x4e88ec(0xc0)](_0x127e53);if(!_0x65383a)return null;return this[_0x4e88ec(0x126)][_0x4e88ec(0x138)][_0x4e88ec(0xc0)](_0x4e88ec(0xfa))[_0x4e88ec(0xd9)](_0x65383a[_0x4e88ec(0x116)])||null;}[_0x5e28de(0xf6)](_0x50638a){const _0x5ea22c=_0x5e28de,_0x495e71=this[_0x5ea22c(0x13b)][_0x5ea22c(0xc0)](_0x50638a[_0x5ea22c(0x104)]);return _0x495e71?_0x495e71[_0x5ea22c(0xe1)]:null;}[_0x5e28de(0xb0)](){const _0x3b56cc=_0x5e28de,_0x5eea7e=this[_0x3b56cc(0x126)][_0x3b56cc(0x138)][_0x3b56cc(0xc0)](_0x3b56cc(0xfa)),_0x48aa68=this[_0x3b56cc(0x126)][_0x3b56cc(0x138)][_0x3b56cc(0xc0)](_0x3b56cc(0x137)),_0x9991de=Array[_0x3b56cc(0xb8)](_0x5eea7e[_0x3b56cc(0xe6)],_0x2996c0=>_0x2996c0[_0x3b56cc(0x104)])[_0x3b56cc(0x11f)](_0x278324=>this[_0x3b56cc(0x13b)][_0x3b56cc(0x11a)](_0x278324)),_0x218c61=[];for(const _0x237371 of _0x9991de){const _0x3063b2=this[_0x3b56cc(0x13b)][_0x3b56cc(0xc0)](_0x237371)[_0x3b56cc(0xe1)][_0x3b56cc(0x122)]();_0x218c61[_0x3b56cc(0xc5)](..._0x3063b2[_0x3b56cc(0xde)]((_0x4a9e30,_0x1cabc4)=>[..._0x4a9e30,..._0x1cabc4[_0x3b56cc(0x13c)]()],[]));}_0x48aa68[_0x3b56cc(0xc6)]=_0x218c61;}[_0x5e28de(0x12d)](){const _0x116d83=_0x5e28de,_0x2aeea4=this[_0x116d83(0x126)],_0x4c753b=_0x2aeea4[_0x116d83(0xc8)],_0x3ea969=_0x30ca6b(_0x4c753b,_0x116d83(0xf8)),_0xde692=new _0x2f4504([{'type':_0x116d83(0xf3),'model':new _0x5a3ad1({'withText':!0x0,'isToggleable':!0x0,'label':_0x3ea969,'commandName':_0x116d83(0x12f),'role':_0x116d83(0x120)})},{'type':_0x116d83(0x9e)},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x11d)),'commandName':_0x116d83(0xad),'role':_0x116d83(0x13e)})},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x110)),'commandName':_0x116d83(0x131),'role':_0x116d83(0x13e)})},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x115)),'commandName':_0x116d83(0xa2),'role':_0x116d83(0x13e)})},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x98)),'commandName':_0x116d83(0x12b),'role':_0x116d83(0x13e)})}]);_0x2aeea4[_0x116d83(0x138)][_0x116d83(0x11a)](_0x116d83(0xfc))&&_0xde692[_0x116d83(0x100)]([{'type':_0x116d83(0x9e)},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0xca)),'commandName':_0x116d83(0xe7),'role':_0x116d83(0x13e)})}]);for(const _0x1458bb of _0xde692)if(ke(_0x1458bb)){const _0x51b365=_0x2aeea4[_0x116d83(0xd5)][_0x116d83(0xc0)](_0x1458bb[_0x116d83(0xe1)][_0x116d83(0xcc)]);_0x1458bb[_0x116d83(0xe1)][_0x116d83(0xa5)](_0x116d83(0x117),_0x116d83(0x12a))['to'](_0x51b365,_0x116d83(0x13a),_0x116d83(0x12a));}_0x2aeea4['ui'][_0x116d83(0xe8)][_0x116d83(0xff)](_0x116d83(0x12f),_0x1a1126=>this[_0x116d83(0xdd)](_0x1a1126,_0xde692,_0x3ea969)),_0x2aeea4['ui'][_0x116d83(0xe8)][_0x116d83(0xff)](_0x116d83(0x140),_0x4da3e5=>this[_0x116d83(0xa0)](_0x4da3e5,_0xde692,_0x3ea969));}[_0x5e28de(0xdd)](_0x9be070,_0x50e4a0,_0x37fb57){const _0x30b8de=_0x5e28de,_0x39ed18=_0x3d5209(_0x9be070,_0x1207eb),_0x505c1e=this[_0x30b8de(0x126)][_0x30b8de(0xd5)][_0x30b8de(0xc0)](_0x30b8de(0x12f));_0x39ed18[_0x30b8de(0xfb)][_0x30b8de(0x121)]({'tooltip':_0x37fb57,'label':_0x37fb57,'icon':_0x1f427e}),_0x39ed18[_0x30b8de(0xfb)][_0x30b8de(0xa5)](_0x30b8de(0x117))['to'](_0x505c1e,_0x30b8de(0x13a)),_0x39ed18[_0x30b8de(0xfb)]['on'](_0x30b8de(0xf4),()=>{const _0xe7858e=_0x30b8de;_0x505c1e[_0xe7858e(0xf4)](),this[_0xe7858e(0x126)][_0xe7858e(0xd4)][_0xe7858e(0x116)][_0xe7858e(0xeb)]();}),_0x7af3a8(_0x39ed18,_0x50e4a0,{'role':_0x30b8de(0x102)});const _0x32cc8d=[];for(const _0x46361e of _0x50e4a0)ke(_0x46361e)&&_0x32cc8d[_0x30b8de(0xc5)](this[_0x30b8de(0x126)][_0x30b8de(0xd5)][_0x30b8de(0xc0)](_0x46361e[_0x30b8de(0xe1)][_0x30b8de(0xcc)]));const _0x5d78dd=_0x39ed18[_0x30b8de(0xfb)];return _0x5d78dd[_0x30b8de(0xa4)][_0x30b8de(0xc9)](_0x30b8de(0x12a)),_0x5d78dd[_0x30b8de(0xea)][_0x30b8de(0xc9)](_0x30b8de(0x12a)),_0x5d78dd[_0x30b8de(0xa4)][_0x30b8de(0xa5)](_0x30b8de(0x12a))['to'](_0x505c1e,_0x30b8de(0x12a)),_0x5d78dd[_0x30b8de(0xea)][_0x30b8de(0xa5)](_0x30b8de(0x12a))[_0x30b8de(0xc1)](_0x32cc8d,_0x30b8de(0x12a),(..._0x2c99f3)=>_0x2c99f3[_0x30b8de(0x13f)](_0x4d3999=>_0x4d3999)),_0x39ed18['on'](_0x30b8de(0xf4),_0x1680b0=>{const _0x3d6db9=_0x30b8de;this[_0x3d6db9(0x126)][_0x3d6db9(0xf4)](_0x1680b0[_0x3d6db9(0xc7)][_0x3d6db9(0xcc)]),this[_0x3d6db9(0x126)][_0x3d6db9(0xd4)][_0x3d6db9(0x116)][_0x3d6db9(0xeb)]();}),_0x39ed18;}[_0x5e28de(0xa0)](_0x37e62b,_0x46e944,_0x1dea63){const _0x17dcc5=_0x5e28de,_0x1b7773=new _0x154126(_0x37e62b),_0x53323c=this[_0x17dcc5(0x126)][_0x17dcc5(0xd5)][_0x17dcc5(0xc0)](_0x17dcc5(0x12f));_0x1b7773[_0x17dcc5(0xfb)][_0x17dcc5(0x121)]({'label':_0x1dea63,'icon':_0x1f427e});const _0x9112e0=new _0x3e2464(_0x37e62b);for(const _0x11ccce of _0x46e944){if(_0x17dcc5(0x9e)==_0x11ccce[_0x17dcc5(0x129)]){_0x9112e0[_0x17dcc5(0x130)][_0x17dcc5(0xff)](new _0x4f58c3(_0x37e62b));continue;}const _0x32f4f0=new _0x205e30(_0x37e62b,_0x1b7773),_0x5332ed=new _0x1d9ae3(_0x37e62b),_0x445032=_0x11ccce[_0x17dcc5(0xe1)];_0x5332ed[_0x17dcc5(0xa5)](...Object[_0x17dcc5(0x13d)](_0x445032))['to'](_0x445032),_0x5332ed[_0x17dcc5(0x101)](_0x17dcc5(0xf4))['to'](_0x1b7773),_0x5332ed['on'](_0x17dcc5(0xf4),()=>{const _0x18f264=_0x17dcc5;this[_0x18f264(0x126)][_0x18f264(0xf4)](_0x445032[_0x18f264(0xcc)]),this[_0x18f264(0x126)][_0x18f264(0xd4)][_0x18f264(0x116)][_0x18f264(0xeb)]();}),_0x32f4f0[_0x17dcc5(0x107)][_0x17dcc5(0xff)](_0x5332ed),_0x9112e0[_0x17dcc5(0x130)][_0x17dcc5(0xff)](_0x32f4f0);}return _0x1b7773[_0x17dcc5(0xa5)](_0x17dcc5(0x12a))['to'](_0x53323c,_0x17dcc5(0x12a)),_0x1b7773[_0x17dcc5(0x97)][_0x17dcc5(0x107)][_0x17dcc5(0xff)](_0x9112e0),_0x1b7773;}[_0x5e28de(0xbd)](_0x31866b){const _0x17da1b=_0x5e28de,_0x3dc758=this[_0x17da1b(0x126)],_0x2a144f=_0x3dc758[_0x17da1b(0xab)],_0xe5c999=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0xfa)),_0x4c4a24=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x9f)),_0x5ec262=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x139)),_0x360eb4=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x34ad74)['me'],_0x3c7975=_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0x12f))[_0x17da1b(0xfd)],_0xe8c46=_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0x12f))[_0x17da1b(0x94)],{CommentsListView:_0x149205,CommentThreadInputView:_0x1b6f84}=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x10d));let _0x7d0ee5,_0x12c236,_0x2ca24b;this[_0x17da1b(0xc2)][_0x17da1b(0x11a)](_0x31866b['id'])?(_0x12c236=this[_0x17da1b(0xc2)][_0x17da1b(0xc0)](_0x31866b['id']),_0x7d0ee5=_0x12c236[_0x17da1b(0xbc)]):(_0x7d0ee5=new _0x3c7975(_0x3dc758[_0x17da1b(0xc8)],_0x31866b,_0x360eb4,{'disableComments':this[_0x17da1b(0xb3)],'editorConfig':{..._0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xfe)),'licenseKey':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xe4))},'maxCommentsWhenCollapsed':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xa8)),'maxThreadTotalWeight':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xdf)),'maxCommentCharsWhenCollapsed':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xb4)),'formatDateTime':_0x2d4fdc(_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xc8)),_0x3dc758[_0x17da1b(0xc8)]),'CommentView':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xb5))[_0x17da1b(0xe0)],'CommentsListView':_0x149205,'CommentThreadInputView':_0x1b6f84,'SuggestionView':_0xe8c46}),_0x7d0ee5[_0x17da1b(0xd2)][_0x17da1b(0x114)]['on'](_0x17da1b(0xf4),()=>{const _0x1ca7b5=_0x17da1b;_0x3dc758[_0x1ca7b5(0xd4)][_0x1ca7b5(0x116)][_0x1ca7b5(0xeb)]();}),_0x7d0ee5[_0x17da1b(0xd2)][_0x17da1b(0xa9)]['on'](_0x17da1b(0xf4),()=>{const _0x32aff3=_0x17da1b;_0x3dc758[_0x32aff3(0xd4)][_0x32aff3(0x116)][_0x32aff3(0xeb)]();}),_0x12c236=_0xe5c999[_0x17da1b(0x119)](this[_0x17da1b(0x126)][_0x17da1b(0xc8)],_0x7d0ee5),_0x12c236[_0x17da1b(0xa5)](_0x17da1b(0xf7))['to'](_0x7d0ee5,_0x17da1b(0xf7)),_0x12c236[_0x17da1b(0xa5)](_0x17da1b(0x113))['to'](_0x7d0ee5),_0x12c236[_0x17da1b(0xa5)](_0x17da1b(0x129))['to'](_0x7d0ee5,_0x17da1b(0x129),_0x5da351=>_0x17da1b(0xd1)+_0x5da351),_0x7d0ee5['on'](_0x17da1b(0x135),()=>{const _0x439be2=_0x17da1b;_0x2ca24b[_0x439be2(0xf2)](_0x439be2(0x135));}),this[_0x17da1b(0xc2)][_0x17da1b(0x121)](_0x31866b['id'],_0x12c236));const _0x1105f0=_0x4c4a24[_0x17da1b(0x12e)](_0x31866b[_0x17da1b(0x125)],_0x7d0ee5),_0xde0807=new _0x36cc60(_0x3dc758,_0x31866b,_0x7d0ee5,_0x1105f0),_0xc9fdd2=_0x31866b[_0x17da1b(0x122)]()[_0x17da1b(0x11f)](_0x58901e=>_0x58901e[_0x17da1b(0xe9)]);_0x7d0ee5[_0x17da1b(0xcd)]=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x137))[_0x17da1b(0x128)][_0x17da1b(0x141)](_0xc9fdd2),this[_0x17da1b(0xae)][_0x17da1b(0x121)](_0x31866b,_0xde0807),this[_0x17da1b(0x13b)][_0x17da1b(0x121)](_0x7d0ee5,_0xde0807);const _0x1fabaa=()=>{const _0xb36199=_0x17da1b,_0x407399=[],_0x158d6e=_0x31866b[_0xb36199(0x122)]()[_0xb36199(0x11f)](_0x86836=>_0x86836[_0xb36199(0xe9)]);for(const _0x9a2b01 of _0x158d6e)_0x407399[_0xb36199(0xc5)](..._0x9a2b01[_0xb36199(0xf0)]());return _0x341039(_0x3dc758[_0xb36199(0xd4)],_0x407399);};_0x2ca24b=_0xe5c999[_0x17da1b(0x96)]({'view':_0x12c236,'target':_0x1fabaa,'type':()=>_0x17da1b(0xd1)+_0xde0807[_0x17da1b(0x116)][_0x17da1b(0x129)],'isVisible':!!_0x1fabaa()}),_0x4c4a24[_0x17da1b(0xb7)](_0x7d0ee5,_0x2ca24b),_0xe5c999[_0x17da1b(0xff)](_0x2ca24b),_0x5ec262[_0x17da1b(0x12c)](_0x2ca24b);}[_0x5e28de(0x10c)](_0x5144d6){const _0x2853e0=_0x5e28de,_0x352689=this[_0x2853e0(0x126)][_0x2853e0(0x138)][_0x2853e0(0xc0)](_0x2853e0(0x9f)),_0x242ce6=this[_0x2853e0(0x126)][_0x2853e0(0x138)][_0x2853e0(0xc0)](_0x2853e0(0xfa)),_0x50af55=this[_0x2853e0(0xae)][_0x2853e0(0xc0)](_0x5144d6),_0x50b398=_0x50af55[_0x2853e0(0x116)],_0x579e4f=_0x242ce6[_0x2853e0(0xd9)](_0x50b398);_0x352689[_0x2853e0(0x127)](_0x50b398),_0x579e4f&&_0x242ce6[_0x2853e0(0x134)](_0x579e4f),this[_0x2853e0(0xae)][_0x2853e0(0x10f)](_0x5144d6),this[_0x2853e0(0x13b)][_0x2853e0(0x10f)](_0x50b398),_0x50af55[_0x2853e0(0xda)]();}[_0x5e28de(0xcb)](_0x5e1d54){const _0x5ca5a6=_0x5e28de;if(!_0x5e1d54[_0x5ca5a6(0xe9)]||!this[_0x5ca5a6(0xae)][_0x5ca5a6(0x11a)](_0x5e1d54))return;const _0x23fa1f=this[_0x5ca5a6(0x126)][_0x5ca5a6(0x138)][_0x5ca5a6(0xc0)](_0x5ca5a6(0x137)),_0x456742=this[_0x5ca5a6(0xae)][_0x5ca5a6(0xc0)](_0x5e1d54),_0x3b8127=_0x5e1d54[_0x5ca5a6(0x122)]();_0x456742[_0x5ca5a6(0x116)][_0x5ca5a6(0xcd)]=_0x23fa1f[_0x5ca5a6(0x128)][_0x5ca5a6(0x141)](_0x3b8127);}[_0x5e28de(0xda)](){const _0xadf489=_0x5e28de;for(const _0x141534 of this[_0xadf489(0xae)][_0xadf489(0x13d)]())this[_0xadf489(0x10c)](_0x141534);for(const _0x54dbfb of this[_0xadf489(0xc2)][_0xadf489(0x112)]())_0x54dbfb[_0xadf489(0xbc)][_0xadf489(0xda)]();super[_0xadf489(0xda)](),this[_0xadf489(0xd8)]&&clearInterval(this[_0xadf489(0xd8)]);}}function ke(_0x4aa796){const _0x5b0919=_0x5e28de;return _0x5b0919(0xe1)in _0x4aa796;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5ee2(){const _0x1d37ef=['destroy','PENDING_ACTION_SUGGESTION','11990650nwVvye','canAccept','511EDenHH','5431296nngsTn','view','listenTo','_pendingAction','171242KBavDO','add','PendingActions','_setPendingAction','_discardCommand','4mhDluY','unbind','canDiscard','getRanges','_editor','269622HwVJKt','get','_removePendingAction','canEditAt','acceptSuggestion','stopListening','commentThreadController','isDirty','11WMfCbg','remove','isEnabled','4076850jAFxyA','model','bind','_acceptCommand','20964CQeayP','commands','698667MoRpYJ','locale','change:isDirty','execute','plugins','discardSuggestion'];_0x5ee2=function(){return _0x1d37ef;};return _0x5ee2();}const _0x1f7c95=_0x1033;(function(_0x154163,_0x414128){const _0x45463a=_0x1033,_0x52820b=_0x154163();while(!![]){try{const _0x3ce3d9=parseInt(_0x45463a(0x18f))/0x1*(-parseInt(_0x45463a(0x17d))/0x2)+parseInt(_0x45463a(0x198))/0x3+-parseInt(_0x45463a(0x182))/0x4*(parseInt(_0x45463a(0x192))/0x5)+-parseInt(_0x45463a(0x196))/0x6*(-parseInt(_0x45463a(0x178))/0x7)+parseInt(_0x45463a(0x179))/0x8+parseInt(_0x45463a(0x187))/0x9+parseInt(_0x45463a(0x176))/0xa;if(_0x3ce3d9===_0x414128)break;else _0x52820b['push'](_0x52820b['shift']());}catch(_0x315b8f){_0x52820b['push'](_0x52820b['shift']());}}}(_0x5ee2,0x9bedd));import{ObservableMixin as _0x2bd768}from'ckeditor5/src/utils.js';function _0x1033(_0x5b33ef,_0x3a5bfa){const _0x5ee232=_0x5ee2();return _0x1033=function(_0x1033e0,_0xce707b){_0x1033e0=_0x1033e0-0x173;let _0xe3a854=_0x5ee232[_0x1033e0];return _0xe3a854;},_0x1033(_0x5b33ef,_0x3a5bfa);}import{getTranslation as _0x52258e}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bd768(){[_0x1f7c95(0x193)];[_0x1f7c95(0x17a)];[_0x1f7c95(0x18d)];[_0x1f7c95(0x186)];[_0x1f7c95(0x195)];[_0x1f7c95(0x181)];[_0x1f7c95(0x17c)];constructor(_0x1b7465,_0xdd32d2,_0x4e71b7,_0x200c83){const _0xa54227=_0x1f7c95;super(),this[_0xa54227(0x193)]=_0xdd32d2,this[_0xa54227(0x17a)]=_0x4e71b7,this[_0xa54227(0x18d)]=_0x200c83,this[_0xa54227(0x186)]=_0x1b7465,this[_0xa54227(0x195)]=_0x1b7465[_0xa54227(0x197)][_0xa54227(0x188)](_0xa54227(0x18b)),this[_0xa54227(0x181)]=_0x1b7465[_0xa54227(0x197)][_0xa54227(0x188)](_0xa54227(0x173)),this[_0xa54227(0x17a)][_0xa54227(0x194)](_0xa54227(0x191))['to'](this[_0xa54227(0x195)],this[_0xa54227(0x181)],(_0x46780b,_0x509039)=>_0x46780b||_0x509039),this[_0xa54227(0x17a)][_0xa54227(0x194)](_0xa54227(0x177))['to'](this[_0xa54227(0x195)],_0xa54227(0x191),_0x3d2200=>_0x3d2200&&this[_0xa54227(0x186)][_0xa54227(0x193)][_0xa54227(0x18a)](_0xdd32d2[_0xa54227(0x185)]())),this[_0xa54227(0x17a)][_0xa54227(0x194)](_0xa54227(0x184))['to'](this[_0xa54227(0x181)],_0xa54227(0x191),_0x3bf8f3=>_0x3bf8f3&&this[_0xa54227(0x186)][_0xa54227(0x193)][_0xa54227(0x18a)](_0xdd32d2[_0xa54227(0x185)]())),this[_0xa54227(0x17c)]=null,_0x4e71b7[_0xa54227(0x18e)]&&this[_0xa54227(0x180)](),this[_0xa54227(0x17b)](_0x4e71b7,_0xa54227(0x18b),()=>this[_0xa54227(0x18b)]()),this[_0xa54227(0x17b)](_0x4e71b7,_0xa54227(0x173),()=>this[_0xa54227(0x173)]()),this[_0xa54227(0x17b)](_0x4e71b7,_0xa54227(0x19a),()=>{const _0x326d0e=_0xa54227;_0x4e71b7[_0x326d0e(0x18e)]?this[_0x326d0e(0x180)]():this[_0x326d0e(0x189)]();});}[_0x1f7c95(0x18b)](){const _0x35c90a=_0x1f7c95;this[_0x35c90a(0x195)][_0x35c90a(0x19b)](this[_0x35c90a(0x193)]['id']);}[_0x1f7c95(0x173)](){const _0x1ea9f3=_0x1f7c95;this[_0x1ea9f3(0x181)][_0x1ea9f3(0x19b)](this[_0x1ea9f3(0x193)]['id']);}[_0x1f7c95(0x174)](){const _0x19a758=_0x1f7c95;this[_0x19a758(0x17a)][_0x19a758(0x183)](_0x19a758(0x191)),this[_0x19a758(0x17a)][_0x19a758(0x183)](_0x19a758(0x177)),this[_0x19a758(0x17a)][_0x19a758(0x183)](_0x19a758(0x184)),this[_0x19a758(0x18c)](),this[_0x19a758(0x18d)][_0x19a758(0x174)](),this[_0x19a758(0x17c)]&&this[_0x19a758(0x189)]();}[_0x1f7c95(0x180)](){const _0x7398ab=_0x1f7c95,_0x588548=_0x52258e(this[_0x7398ab(0x186)][_0x7398ab(0x199)],_0x7398ab(0x175));this[_0x7398ab(0x17c)]=this[_0x7398ab(0x186)][_0x7398ab(0x19c)][_0x7398ab(0x188)](_0x7398ab(0x17f))[_0x7398ab(0x17e)](_0x588548);}[_0x1f7c95(0x189)](){const _0x5e57dd=_0x1f7c95;null!==this[_0x5e57dd(0x17c)]&&this[_0x5e57dd(0x186)][_0x5e57dd(0x19c)][_0x5e57dd(0x188)](_0x5e57dd(0x17f))[_0x5e57dd(0x190)](this[_0x5e57dd(0x17c)]),this[_0x5e57dd(0x17c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2096c4=_0x4278;function _0x4278(_0x5cd2f1,_0x6f4b9f){const _0x5958b5=_0x5958();return _0x4278=function(_0x427888,_0x135658){_0x427888=_0x427888-0x69;let _0x423135=_0x5958b5[_0x427888];return _0x423135;},_0x4278(_0x5cd2f1,_0x6f4b9f);}(function(_0x15882a,_0x4ea7a5){const _0x17d8d1=_0x4278,_0x432908=_0x15882a();while(!![]){try{const _0x4096cf=parseInt(_0x17d8d1(0x94))/0x1*(parseInt(_0x17d8d1(0xab))/0x2)+parseInt(_0x17d8d1(0x86))/0x3*(parseInt(_0x17d8d1(0x69))/0x4)+-parseInt(_0x17d8d1(0x6d))/0x5+parseInt(_0x17d8d1(0xa7))/0x6+-parseInt(_0x17d8d1(0x6e))/0x7*(parseInt(_0x17d8d1(0x73))/0x8)+parseInt(_0x17d8d1(0x92))/0x9*(parseInt(_0x17d8d1(0xa1))/0xa)+-parseInt(_0x17d8d1(0x6f))/0xb;if(_0x4096cf===_0x4ea7a5)break;else _0x432908['push'](_0x432908['shift']());}catch(_0x5516c2){_0x432908['push'](_0x432908['shift']());}}}(_0x5958,0xeeeb8));import{FocusCycler as _0x458b86,View as _0x336647,ViewCollection as _0x90bbce}from'ckeditor5/src/ui.js';function _0x5958(){const _0x3bd43e=['submit','focusables','editorConfig','length','parseFromString','tab','keystrokes','commentThread','isEnabled','delegate','30ELQhBm','showInput','render','content','formatDateTime','CommentView','4249080WkkYZx','cancel','set','descriptionParts','564966CLBWgM','ariaDescriptionView','focusCycler','commentThreadInputView','bind','fire','commentsListView','canAccept','1052408BkIncp','isActive','target','commentInputView','7284145eikzLg','1442vyYtYE','5581741UTlOzm','canDiscard','assign','focusTracker','4616EabbkE','textContent','element','disabledSubmit','value','SUGGESTION_THREAD_DESCRIPTION','disableComments','ariaLabel','name','addComment','setData','focus','_localUser','SUGGESTION_THREAD_ARIA_LABEL','_createCommentThreadInputView','_config','author','map','_createCommentViews','6OPrjBs','destroy','hasDirtyComment','locale','text/html','isReadOnly','shift+tab','updateComment','authoredAt','isDirty','_model','editor','2092266adPPPX','removeComment','4jtLkue','body','join'];_0x5958=function(){return _0x3bd43e;};return _0x5958();}import{FocusTracker as _0x3d2a1c,KeystrokeHandler as _0x6b81b5}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x40a7a6,setupThreadKeyboardNavigation as _0x4329d3}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5f0210}from'../../utils/common-translations.js';import{renderDescription as _0x2b8e62}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x336647{[_0x2096c4(0xb1)];[_0x2096c4(0xae)];[_0x2096c4(0xac)];[_0x2096c4(0x98)];[_0x2096c4(0x72)];[_0x2096c4(0x9d)];[_0x2096c4(0xad)];[_0x2096c4(0x90)];[_0x2096c4(0x7f)];[_0x2096c4(0x82)];constructor(_0x3092cd,_0x40fdef,_0x1df33c,_0x34f59e){const _0x1156f0=_0x2096c4;super(_0x3092cd),this[_0x1156f0(0xb1)]=null,this[_0x1156f0(0xae)]=null,this[_0x1156f0(0xac)]=new _0x40a7a6(_0x3092cd,_0x5f0210(_0x3092cd,_0x1156f0(0x78))),this[_0x1156f0(0xa9)](_0x1156f0(0x6a),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0x8e),_0x40fdef[_0x1156f0(0x8e)]),this[_0x1156f0(0xaf)](_0x1156f0(0x8e))['to'](_0x40fdef),this[_0x1156f0(0xa9)](_0x1156f0(0xaa),[]),this[_0x1156f0(0xa9)](_0x1156f0(0x8f),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0x9f),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0xb2),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0x70),!0x1),this[_0x1156f0(0xaf)](_0x1156f0(0x7a))['to'](this,_0x1156f0(0x9a),_0x40fdef,_0x1156f0(0x8e),this,_0x1156f0(0xaa),(_0x40fe15,_0x1d3f1b,_0x1d311e)=>{const _0xc413e5=_0x1156f0,_0x3c91ff=_0x1d311e[_0xc413e5(0x84)](_0x1fea3d=>_0x2b8e62(_0x1fea3d[_0xc413e5(0xa4)]))[_0xc413e5(0x96)]('.\x20')+'.';return _0x5f0210(this[_0xc413e5(0x89)],_0xc413e5(0x80),[_0x40fe15-0x1,_0x40fdef[_0xc413e5(0x83)][_0xc413e5(0x7b)],_0x1d3f1b?_0x34f59e[_0xc413e5(0xa5)](_0x1d3f1b):'',new DOMParser()[_0xc413e5(0x9b)](_0x3c91ff,_0xc413e5(0x8a))[_0xc413e5(0x95)][_0xc413e5(0x74)]]);}),this[_0x1156f0(0x98)]=new _0x90bbce(),this[_0x1156f0(0x72)]=new _0x3d2a1c(),this[_0x1156f0(0x9d)]=new _0x6b81b5(),this[_0x1156f0(0xad)]=new _0x458b86({'focusables':this[_0x1156f0(0x98)],'focusTracker':this[_0x1156f0(0x72)],'keystrokeHandler':this[_0x1156f0(0x9d)],'keystrokeHandlerOptions':{'filter':_0x12b044=>_0x12b044[_0x1156f0(0x6b)]!==this[_0x1156f0(0x75)]},'actions':{'focusPrevious':_0x1156f0(0x8c),'focusNext':_0x1156f0(0x9c)}}),this[_0x1156f0(0x90)]=_0x40fdef,this[_0x1156f0(0x7f)]=_0x1df33c,this[_0x1156f0(0x82)]=_0x34f59e,_0x34f59e[_0x1156f0(0x79)]?this[_0x1156f0(0xa9)](_0x1156f0(0x9a),0x1):this[_0x1156f0(0x85)]();}[_0x2096c4(0xa3)](){const _0x13369b=_0x2096c4;super[_0x13369b(0xa3)](),_0x4329d3(this,this[_0x13369b(0x98)]);}[_0x2096c4(0x7e)](){const _0x56dea7=_0x2096c4;this[_0x56dea7(0x75)][_0x56dea7(0x7e)]();}[_0x2096c4(0x87)](){const _0x4bde43=_0x2096c4;this[_0x4bde43(0xb1)]&&this[_0x4bde43(0xb1)][_0x4bde43(0x87)](),this[_0x4bde43(0xae)]&&this[_0x4bde43(0xae)][_0x4bde43(0x87)](),super[_0x4bde43(0x87)]();}[_0x2096c4(0x85)](){const _0x3ccfe3=_0x2096c4,{CommentsListView:_0x2f40e4}=this[_0x3ccfe3(0x82)];this[_0x3ccfe3(0xb1)]=new _0x2f40e4(this[_0x3ccfe3(0x89)],this[_0x3ccfe3(0x90)][_0x3ccfe3(0x9e)],Object[_0x3ccfe3(0x71)]({'CommentView':this[_0x3ccfe3(0x82)][_0x3ccfe3(0xa6)]},this[_0x3ccfe3(0x82)])),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0xa0)](_0x3ccfe3(0x93))['to'](this),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0xa0)](_0x3ccfe3(0x8d))['to'](this),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0xaf)](_0x3ccfe3(0x6a))['to'](this),this[_0x3ccfe3(0xa9)](_0x3ccfe3(0x9a),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0x9a)]+0x1),this[_0x3ccfe3(0xaf)](_0x3ccfe3(0x9a))['to'](this[_0x3ccfe3(0xb1)],_0x3ccfe3(0x9a),_0x2fe2d9=>_0x2fe2d9+0x1),this[_0x3ccfe3(0xae)]=this[_0x3ccfe3(0x81)](),this['on'](_0x3ccfe3(0x93),()=>this[_0x3ccfe3(0x7e)]()),this[_0x3ccfe3(0xaf)](_0x3ccfe3(0x8f))['to'](this[_0x3ccfe3(0xb1)],_0x3ccfe3(0x88),this[_0x3ccfe3(0xae)][_0x3ccfe3(0x6c)],_0x3ccfe3(0x77),(_0x2f6dd4,_0x1963e7)=>_0x2f6dd4||!!_0x1963e7);}[_0x2096c4(0x81)](){const _0x3d4bc8=_0x2096c4,{CommentThreadInputView:_0xc967ca}=this[_0x3d4bc8(0x82)],_0x313e8a=new _0xc967ca(this[_0x3d4bc8(0x89)],this[_0x3d4bc8(0x7f)],this[_0x3d4bc8(0x82)][_0x3d4bc8(0x99)]),_0x4d03d9=_0x313e8a[_0x3d4bc8(0x6c)];return _0x313e8a[_0x3d4bc8(0xaf)](_0x3d4bc8(0xa2))['to'](this,_0x3d4bc8(0x6a),this[_0x3d4bc8(0x90)][_0x3d4bc8(0x9e)],_0x3d4bc8(0x8b),_0x4d03d9,_0x3d4bc8(0x77),(_0x44783d,_0x598689,_0x196cee)=>!!_0x196cee||_0x44783d&&!_0x598689),_0x4d03d9['on'](_0x3d4bc8(0x97),(_0x4e5d8a,_0x7f2b7)=>{const _0x227ad0=_0x3d4bc8;this[_0x227ad0(0xb0)](_0x227ad0(0x7c),_0x7f2b7),_0x4d03d9[_0x227ad0(0x91)][_0x227ad0(0x7d)]('');}),_0x4d03d9['on'](_0x3d4bc8(0xa8),()=>this[_0x3d4bc8(0x7e)]()),_0x4d03d9[_0x3d4bc8(0xaf)](_0x3d4bc8(0x76))['to'](this[_0x3d4bc8(0x90)][_0x3d4bc8(0x9e)],_0x3d4bc8(0x8b)),_0x313e8a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5344(){const _0xa7f690=['isEnabled','div','setTemplate','getTemplate','</p>','ck-suggestion-wrapper','ariaLabel','bind','render','commentsListView','_model','delegate','listitem','canAccept','6tZrkWy','acceptButton','add','focusables','canDiscard','description','412245XwKizG','bindTemplate','set','1315242JeIPVS','ck-rounded-corners','formatDateTime','content','commentThread','discardSuggestion','disableComments','257290tqonzE','acceptSuggestion','color','SuggestionView','_config','3668196FXooCv','isActive','ck-suggestion-','ck-suggestion--disabled-comments','_descriptionElement','editorDestroyed','editorReady','commentThreadInputView','<p>','discardButton','16pRZBYw','type','push','330162WVJvQs','ariaDescriptionView','descriptionParts','author','60jOyuWl','1056vOjFYR','ck-suggestion-wrapper--active','3544476lalaJQ','988626jdEWzi','suggestionView'];_0x5344=function(){return _0xa7f690;};return _0x5344();}const _0x54b11c=_0x4a4f;(function(_0x32f703,_0x44859e){const _0x17b6b5=_0x4a4f,_0x41209f=_0x32f703();while(!![]){try{const _0x298ffd=parseInt(_0x17b6b5(0x1f0))/0x1+-parseInt(_0x17b6b5(0x1ea))/0x2*(parseInt(_0x17b6b5(0x1da))/0x3)+-parseInt(_0x17b6b5(0x1d9))/0x4+parseInt(_0x17b6b5(0x210))/0x5*(-parseInt(_0x17b6b5(0x20c))/0x6)+parseInt(_0x17b6b5(0x1ff))/0x7+parseInt(_0x17b6b5(0x209))/0x8*(-parseInt(_0x17b6b5(0x1f3))/0x9)+parseInt(_0x17b6b5(0x1fa))/0xa*(parseInt(_0x17b6b5(0x211))/0xb);if(_0x298ffd===_0x44859e)break;else _0x41209f['push'](_0x41209f['shift']());}catch(_0x447a5c){_0x41209f['push'](_0x41209f['shift']());}}}(_0x5344,0x8d560));import{BaseSuggestionThreadView as _0x4986e6}from'./basesuggestionthreadview.js';function _0x4a4f(_0x139a5d,_0x18719e){const _0x5344b4=_0x5344();return _0x4a4f=function(_0x4a4fe9,_0x3fef42){_0x4a4fe9=_0x4a4fe9-0x1d8;let _0x3ef26e=_0x5344b4[_0x4a4fe9];return _0x3ef26e;},_0x4a4f(_0x139a5d,_0x18719e);}import{trimHtml as _0x2463a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x48b96c}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4986e6{[_0x54b11c(0x1db)];[_0x54b11c(0x203)];constructor(_0x311226,_0x15b22d,_0x39cf9a,_0x5b50d9){const _0x15c862=_0x54b11c;super(_0x311226,_0x15b22d,_0x39cf9a,_0x5b50d9),this[_0x15c862(0x1f2)](_0x15c862(0x20a),''),this[_0x15c862(0x1e3)](_0x15c862(0x20a))['to'](this,_0x15c862(0x20e),_0xb18f78=>_0xb18f78&&_0xb18f78[0x0]?_0xb18f78[0x0][_0x15c862(0x20a)]:''),this[_0x15c862(0x1e3)](_0x15c862(0x1ef))['to'](this,_0x15c862(0x20e),this,_0x15c862(0x200),(_0x305502,_0x53f46e)=>{const _0x11506e=_0x15c862;let _0x53f1eb='';for(const _0x3930d7 of _0x305502)_0x53f1eb+=_0x11506e(0x207)+_0x48b96c(_0x3930d7[_0x11506e(0x1f6)],_0x3930d7[_0x11506e(0x1fc)])+_0x11506e(0x1e0);return _0x53f46e?_0x53f1eb:_0x2463a9(_0x53f1eb,{'limit':0x8c});}),this[_0x15c862(0x203)]=null,this[_0x15c862(0x1db)]=new _0x5b50d9[(_0x15c862(0x1fd))](_0x311226,_0x15b22d,{'formatDateTime':_0x5b50d9[_0x15c862(0x1f5)]}),this[_0x15c862(0x1db)][_0x15c862(0x1e3)](_0x15c862(0x1ef))['to'](this),this[_0x15c862(0x1db)][_0x15c862(0x1e7)](_0x15c862(0x1fb),_0x15c862(0x1f8))['to'](this),this[_0x15c862(0x1db)][_0x15c862(0x1eb)][_0x15c862(0x1e3)](_0x15c862(0x1dc))['to'](this,_0x15c862(0x1e9)),this[_0x15c862(0x1db)][_0x15c862(0x208)][_0x15c862(0x1e3)](_0x15c862(0x1dc))['to'](this,_0x15c862(0x1ee)),this[_0x15c862(0x1ed)][_0x15c862(0x1ec)](this[_0x15c862(0x1db)]),this[_0x15c862(0x1e5)]&&this[_0x15c862(0x1ed)][_0x15c862(0x1ec)](this[_0x15c862(0x1e5)]),this[_0x15c862(0x206)]&&this[_0x15c862(0x1ed)][_0x15c862(0x1ec)](this[_0x15c862(0x206)]),this[_0x15c862(0x1de)](this[_0x15c862(0x1df)]());}[_0x54b11c(0x1df)](){const _0x4b07f9=_0x54b11c,_0x408c5a=this[_0x4b07f9(0x1f1)],_0x5a7385=[this[_0x4b07f9(0x1db)]];return this[_0x4b07f9(0x1e5)]&&_0x5a7385[_0x4b07f9(0x20b)](this[_0x4b07f9(0x1e5)]),this[_0x4b07f9(0x206)]&&_0x5a7385[_0x4b07f9(0x20b)](this[_0x4b07f9(0x206)]),_0x5a7385[_0x4b07f9(0x20b)](this[_0x4b07f9(0x20d)]),{'tag':_0x4b07f9(0x1dd),'attributes':{'class':['ck',_0x4b07f9(0x1f4),_0x4b07f9(0x1e1),_0x408c5a['if'](_0x4b07f9(0x200),_0x4b07f9(0x1d8)),_0x408c5a['to'](_0x4b07f9(0x20a),_0x1a98ec=>_0x4b07f9(0x201)+_0x1a98ec),this[_0x4b07f9(0x1fe)][_0x4b07f9(0x1f9)]&&_0x4b07f9(0x202)],'data-suggestion-id':this[_0x4b07f9(0x1e6)]['id'],'data-thread-id':this[_0x4b07f9(0x1e6)][_0x4b07f9(0x1f7)]['id'],'data-author-id':this[_0x4b07f9(0x1e6)][_0x4b07f9(0x20f)]['id'],'tabindex':0x0,'role':_0x4b07f9(0x1e8),'aria-label':_0x408c5a['to'](_0x4b07f9(0x1e2)),'aria-describedby':this[_0x4b07f9(0x20d)]['id']},'children':_0x5a7385};}[_0x54b11c(0x1e4)](){const _0x1579bd=_0x54b11c;super[_0x1579bd(0x1e4)](),this[_0x1579bd(0x1e5)]&&(this[_0x1579bd(0x1e5)][_0x1579bd(0x1e7)](_0x1579bd(0x205))['to'](this),this[_0x1579bd(0x1e5)][_0x1579bd(0x1e7)](_0x1579bd(0x204))['to'](this)),this[_0x1579bd(0x206)]&&(this[_0x1579bd(0x206)][_0x1579bd(0x1e7)](_0x1579bd(0x205))['to'](this),this[_0x1579bd(0x206)][_0x1579bd(0x1e7)](_0x1579bd(0x204))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2ad9(){const _0x1ce407=['ck-annotation__user','isExternal','description','tab','20bsjkAB','focusTracker','focusFirst','target','ck-annotation__content-wrapper','16482fqZlPm','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','innerHTML','time','enter','626392kiYExE','focusCycler','EXTERNAL_SUGGESTION','listenTo','ck-suggestion','importWord','focusables','ck-annotation__main','acceptSuggestion','push','getUserViewNotificationText','discardSuggestion','bind','ck-suggestion__info','attributes','source','_createButton','2700243YDWHLS','3391196meIvrt','focus','@external','userView','esc','formatDateTime','ck-annotation__actions','shift+tab','2283523NtiBVZ','ck-suggestion__info-name','Discard\x20suggestion','ck-suggestion__user','27sHbuJj','EXTERNAL_AVATAR','ck-comment__info-time','acceptButton','ck-suggestion__main','execute','ck-annotation','ck-annotation__info','render','ck-suggestion--accept','ck-comment__external','span','ck-suggestion--discard','set','locale','_setupKeyboardNavigation','div','add','250aWYNCP','Accept\x20suggestion','_config','querySelector','EXTERNAL_IMPORT_WORD_SUGGESTION','_model','2200tJIDMk','author','4503930jPfxOB','name','discardButton','getTemplate','element','getExternalSuggestionNote','creator','ck-annotation__info-time','763trDXCl','authoredAt','extendTemplate','presentation','.ck-annotation__content-wrapper','keystrokes','bindTemplate','ck-suggestion__actions','fire','change:description'];_0x2ad9=function(){return _0x1ce407;};return _0x2ad9();}const _0x74a14c=_0x1272;(function(_0x5b0543,_0x486d9e){const _0x368dd8=_0x1272,_0xaa56a9=_0x5b0543();while(!![]){try{const _0x350517=-parseInt(_0x368dd8(0xe8))/0x1*(parseInt(_0x368dd8(0xe2))/0x2)+parseInt(_0x368dd8(0xc3))/0x3+-parseInt(_0x368dd8(0xc4))/0x4+parseInt(_0x368dd8(0xea))/0x5+-parseInt(_0x368dd8(0xab))/0x6*(parseInt(_0x368dd8(0xf2))/0x7)+-parseInt(_0x368dd8(0xb2))/0x8*(parseInt(_0x368dd8(0xd0))/0x9)+parseInt(_0x368dd8(0x100))/0xa*(parseInt(_0x368dd8(0xcc))/0xb);if(_0x350517===_0x486d9e)break;else _0xaa56a9['push'](_0xaa56a9['shift']());}catch(_0x53fe23){_0xaa56a9['push'](_0xaa56a9['shift']());}}}(_0x2ad9,0x88756));import{FocusTracker as _0x1e26ab,KeystrokeHandler as _0x1ec2da}from'ckeditor5/src/utils.js';import{View as _0x577c24,ViewCollection as _0x66aa19,FocusCycler as _0x4df738}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x56b41c,UserView as _0x39f8cf}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0xa0e474,IconCheck as _0x3e7d13}from'ckeditor5/src/icons.js';function _0x1272(_0x128165,_0x2068ae){const _0x2ad939=_0x2ad9();return _0x1272=function(_0x1272b8,_0x1e3c10){_0x1272b8=_0x1272b8-0xaa;let _0x15f237=_0x2ad939[_0x1272b8];return _0x15f237;},_0x1272(_0x128165,_0x2068ae);}import{getTranslation as _0x35e2f8}from'../../utils/common-translations.js';export class SuggestionView extends _0x577c24{[_0x74a14c(0xc7)];[_0x74a14c(0xd3)];[_0x74a14c(0xec)];[_0x74a14c(0xb8)];[_0x74a14c(0x101)];[_0x74a14c(0xf7)];[_0x74a14c(0xb3)];[_0x74a14c(0xe7)];[_0x74a14c(0xe4)];constructor(_0xcaca9a,_0x1ce378,_0x15bf23){const _0x4d1ab9=_0x74a14c;super(_0xcaca9a),this[_0x4d1ab9(0xe7)]=_0x1ce378,this[_0x4d1ab9(0xe4)]=_0x15bf23,this[_0x4d1ab9(0xdd)](_0x4d1ab9(0xfe),''),this[_0x4d1ab9(0xbe)](_0x4d1ab9(0xf3))['to'](_0x1ce378),this[_0x4d1ab9(0xd3)]=this[_0x4d1ab9(0xc2)](_0x35e2f8(_0xcaca9a,_0x4d1ab9(0xe3)),_0x3e7d13,_0x4d1ab9(0xd9),_0x4d1ab9(0xba),'sw'),this[_0x4d1ab9(0xec)]=this[_0x4d1ab9(0xc2)](_0x35e2f8(_0xcaca9a,_0x4d1ab9(0xce)),_0xa0e474,_0x4d1ab9(0xdc),_0x4d1ab9(0xbd),'sw'),this[_0x4d1ab9(0xc7)]=new _0x39f8cf(_0xcaca9a,_0x1ce378[_0x4d1ab9(0xe9)],this[_0x4d1ab9(0xbc)]()),this[_0x4d1ab9(0xc7)][_0x4d1ab9(0xf4)]({'attributes':{'class':[_0x4d1ab9(0xcf),_0x4d1ab9(0xfc)],'aria-hidden':!0x0}}),this[_0x4d1ab9(0xb8)]=new _0x66aa19([this[_0x4d1ab9(0xd3)],this[_0x4d1ab9(0xec)]]),this[_0x4d1ab9(0x101)]=new _0x1e26ab(),this[_0x4d1ab9(0xf7)]=new _0x1ec2da(),this[_0x4d1ab9(0xb3)]=new _0x4df738({'focusables':this[_0x4d1ab9(0xb8)],'focusTracker':this[_0x4d1ab9(0x101)],'keystrokeHandler':this[_0x4d1ab9(0xf7)],'actions':{'focusPrevious':_0x4d1ab9(0xcb),'focusNext':_0x4d1ab9(0xff)},'keystrokeHandlerOptions':{'filter':_0x567391=>_0x567391[_0x4d1ab9(0x103)]!==this[_0x4d1ab9(0xee)]}}),this[_0x4d1ab9(0xac)](this[_0x4d1ab9(0xed)]());}[_0x74a14c(0xd8)](){const _0x5ee1dd=_0x74a14c;super[_0x5ee1dd(0xd8)]();const _0x48fd35=this[_0x5ee1dd(0xee)][_0x5ee1dd(0xe5)](_0x5ee1dd(0xf6));_0x48fd35[_0x5ee1dd(0xaf)]=this[_0x5ee1dd(0xfe)],this['on'](_0x5ee1dd(0xfb),(_0x1c1966,_0x27ea61,_0x3bad11)=>{const _0x445285=_0x5ee1dd;_0x48fd35[_0x445285(0xaf)]=_0x3bad11;}),this[_0x5ee1dd(0xdf)]();}[_0x74a14c(0xed)](){const _0x35dc1d=_0x74a14c,_0x22a35a=this[_0x35dc1d(0xf8)],_0x10da8d=[{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xbf),_0x35dc1d(0xd7)]},'children':[{'tag':_0x35dc1d(0xdb),'children':[{'text':this[_0x35dc1d(0xc7)][_0x35dc1d(0xeb)]}],'attributes':{'class':[_0x35dc1d(0xcd),_0x35dc1d(0xae)],'data-cke-tooltip-text':this[_0x35dc1d(0xc7)][_0x35dc1d(0xeb)]}},{'tag':_0x35dc1d(0xb0),'attributes':{'datetime':_0x22a35a['to'](_0x35dc1d(0xf3)),'class':[_0x35dc1d(0xd2),_0x35dc1d(0xf1)]},'children':[{'text':_0x22a35a['to'](_0x35dc1d(0xf3),_0x5c65d5=>this[_0x35dc1d(0xe4)][_0x35dc1d(0xc9)](_0x5c65d5))}]}]},{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xf9),_0x35dc1d(0xca)]},'children':[this[_0x35dc1d(0xd3)],this[_0x35dc1d(0xec)]]},{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xaa)]}}];return this[_0x35dc1d(0xe7)][_0x35dc1d(0xfd)]&&_0x10da8d[_0x35dc1d(0xbb)]({'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xda)]},'children':[{'text':this[_0x35dc1d(0xef)]()}]}),{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xb6),_0x35dc1d(0xd6)],'tabindex':-0x1},'children':[this[_0x35dc1d(0xc7)],{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xd4),_0x35dc1d(0xb9)],'role':_0x35dc1d(0xf5)},'children':_0x10da8d}]};}[_0x74a14c(0xc5)](){const _0x1b0e05=_0x74a14c;this[_0x1b0e05(0xee)][_0x1b0e05(0xc5)]();}[_0x74a14c(0xbc)](){const _0x23eceb=_0x74a14c;return this[_0x23eceb(0xe7)][_0x23eceb(0xfd)]?_0x23eceb(0xb7)===this[_0x23eceb(0xe7)][_0x23eceb(0xc0)][_0x23eceb(0xc6)][_0x23eceb(0xc1)]?_0x35e2f8(this[_0x23eceb(0xde)],_0x23eceb(0xad),this[_0x23eceb(0xe7)][_0x23eceb(0xf0)][_0x23eceb(0xeb)]):_0x35e2f8(this[_0x23eceb(0xde)],_0x23eceb(0xd1),this[_0x23eceb(0xe7)][_0x23eceb(0xf0)][_0x23eceb(0xeb)]):null;}[_0x74a14c(0xef)](){const _0x27e5b7=_0x74a14c;return _0x27e5b7(0xb7)===this[_0x27e5b7(0xe7)][_0x27e5b7(0xc0)][_0x27e5b7(0xc6)][_0x27e5b7(0xc1)]?_0x35e2f8(this[_0x27e5b7(0xde)],_0x27e5b7(0xe6)):_0x35e2f8(this[_0x27e5b7(0xde)],_0x27e5b7(0xb4));}[_0x74a14c(0xc2)](_0xc69fe5,_0x2918e3,_0x4b1184,_0x5e7700,_0x1baa90){const _0x2e6d92=_0x74a14c,_0x335b58=new _0x56b41c(this[_0x2e6d92(0xde)]);return _0x335b58[_0x2e6d92(0xdd)]({'label':_0xc69fe5,'icon':_0x2918e3,'tooltip':!0x0,'tooltipPosition':_0x1baa90}),_0x335b58[_0x2e6d92(0xf4)]({'attributes':{'class':_0x4b1184}}),_0x335b58['on'](_0x2e6d92(0xd5),()=>{const _0x57f81c=_0x2e6d92;this[_0x57f81c(0xfa)](_0x5e7700,this[_0x57f81c(0xe7)]['id']);}),_0x335b58;}[_0x74a14c(0xdf)](){const _0x269c70=_0x74a14c,_0x228ab1=this[_0x269c70(0xee)];this[_0x269c70(0xf7)][_0x269c70(0xb5)](_0x228ab1);for(const _0x55bb81 of this[_0x269c70(0xb8)])this[_0x269c70(0x101)][_0x269c70(0xe1)](_0x55bb81[_0x269c70(0xee)]),this[_0x269c70(0xf7)][_0x269c70(0xb5)](_0x55bb81[_0x269c70(0xee)]);this[_0x269c70(0xf7)][_0x269c70(0xdd)](_0x269c70(0xb1),(_0x5b7e5b,_0xad10a4)=>{const _0x1b56d2=_0x269c70;_0x228ab1===_0x5b7e5b[_0x1b56d2(0x103)]&&(this[_0x1b56d2(0xb3)][_0x1b56d2(0x102)](),_0xad10a4());}),this[_0x269c70(0xf7)][_0x269c70(0xdd)](_0x269c70(0xc8),(_0x4dfc57,_0xb807d6)=>{const _0x20d557=_0x269c70;_0x228ab1!==_0x4dfc57[_0x20d557(0x103)]&&(this[_0x20d557(0xc5)](),_0xb807d6());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1707f0=_0xa429;(function(_0x4d7ab3,_0x5aa049){const _0x3519b7=_0xa429,_0xe82201=_0x4d7ab3();while(!![]){try{const _0x52e104=parseInt(_0x3519b7(0x1a1))/0x1*(-parseInt(_0x3519b7(0x19a))/0x2)+parseInt(_0x3519b7(0x1a3))/0x3+parseInt(_0x3519b7(0x1b4))/0x4+parseInt(_0x3519b7(0x1aa))/0x5*(parseInt(_0x3519b7(0x1af))/0x6)+parseInt(_0x3519b7(0x1a2))/0x7+parseInt(_0x3519b7(0x19c))/0x8+-parseInt(_0x3519b7(0x1ac))/0x9;if(_0x52e104===_0x5aa049)break;else _0xe82201['push'](_0xe82201['shift']());}catch(_0x3076f8){_0xe82201['push'](_0xe82201['shift']());}}}(_0x12f9,0xb38e8));function _0xa429(_0xab75ee,_0x5bca08){const _0x12f9c4=_0x12f9();return _0xa429=function(_0xa429c2,_0xb18405){_0xa429c2=_0xa429c2-0x199;let _0x5ac764=_0x12f9c4[_0xa429c2];return _0x5ac764;},_0xa429(_0xab75ee,_0x5bca08);}import{View as _0x1b0c32}from'ckeditor5/src/ui.js';function _0x12f9(){const _0x55affc=['6041980GoWOuX','868671DWTuMB','options','style','setTemplate','\x20ck-track-changes-preview__root-container','setAttribute','innerHTML','555VFuwTp','ck-track-changes-preview','13399425eXUVwX','div','push','69114AzXntH','classes','className','height','dialogRects','21600lJcgwi','render','width','fire','createElement','ck-reset','data-ck-root-name','161362avPtqr','previewDataReady','237008bjOQVJ','setPreviewData','content','focus','element','3bpYNZP'];_0x12f9=function(){return _0x55affc;};return _0x12f9();}export class TrackChangesPreviewView extends _0x1b0c32{[_0x1707f0(0x1a4)];constructor(_0x348946,_0x51688e){const _0xd2bae6=_0x1707f0;super(_0x348946),this[_0xd2bae6(0x1a4)]=_0x51688e,this[_0xd2bae6(0x1a6)]({'tag':_0xd2bae6(0x1ad),'attributes':{'class':['ck',_0xd2bae6(0x1b9),_0xd2bae6(0x1ab)],'tabindex':-0x1}});}[_0x1707f0(0x1b5)](){const _0x2d7720=_0x1707f0;super[_0x2d7720(0x1b5)](),this[_0x2d7720(0x1a0)][_0x2d7720(0x1a5)][_0x2d7720(0x1b6)]=this[_0x2d7720(0x1a4)][_0x2d7720(0x1b3)][_0x2d7720(0x1b6)]+'px',this[_0x2d7720(0x1a0)][_0x2d7720(0x1a5)][_0x2d7720(0x1b2)]=this[_0x2d7720(0x1a4)][_0x2d7720(0x1b3)][_0x2d7720(0x1b2)]+'px';}[_0x1707f0(0x19d)](_0x4383e7,_0x478582){const _0x2659d9=_0x1707f0;if(!this[_0x2659d9(0x1a0)])return;const _0x1d889e=[];for(const [_0x123088,_0x2cbfca]of _0x4383e7){const _0x3612d5=document[_0x2659d9(0x1b8)](_0x2659d9(0x1ad));_0x3612d5[_0x2659d9(0x1a8)](_0x2659d9(0x199),_0x123088),_0x3612d5[_0x2659d9(0x1b1)]=_0x2cbfca[_0x2659d9(0x1b0)]+_0x2659d9(0x1a7),_0x3612d5[_0x2659d9(0x1a9)]=_0x2cbfca[_0x2659d9(0x19e)],_0x1d889e[_0x2659d9(0x1ae)](_0x3612d5);}_0x478582(this[_0x2659d9(0x1a0)],_0x1d889e),this[_0x2659d9(0x1a0)][_0x2659d9(0x1a5)][_0x2659d9(0x1b2)]='',this[_0x2659d9(0x1b7)](_0x2659d9(0x19b));}[_0x1707f0(0x19f)](){const _0x48708b=_0x1707f0;this[_0x48708b(0x1a0)][_0x48708b(0x19f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1b44b0,_0x1f3b2a,_0xea34e){const _0x27a9c3=_0x1b44b0['t'],t=_0x1b44b0['t'];switch(_0x1f3b2a){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',_0xea34e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xea34e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xea34e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xea34e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xea34e);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',_0xea34e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xea34e);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',_0xea34e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xea34e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xea34e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xea34e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xea34e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xea34e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xea34e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xea34e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xea34e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xea34e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xea34e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xea34e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xea34e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xea34e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xea34e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xea34e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xea34e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xea34e);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'},_0xea34e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xea34e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xea34e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xea34e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xea34e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xea34e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xea34e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xea34e);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'},_0xea34e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xea34e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xea34e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xea34e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xea34e);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xea34e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xea34e);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'},_0xea34e);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_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'},_0xea34e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xea34e);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'},_0xea34e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xea34e);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'},_0xea34e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xea34e);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xea34e);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xea34e);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xea34e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xea34e);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'},_0xea34e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xea34e);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 _0x27a9c3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xea34e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x27a9c3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xea34e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xea34e);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'},_0xea34e);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'},_0xea34e);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'},_0xea34e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1f3b2a;}}
|
|
23
|
+
export function getTranslation(_0x345a31,_0x167b9c,_0x1fe8a9){const _0x5f2221=_0x345a31['t'],t=_0x345a31['t'];switch(_0x167b9c){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',_0x1fe8a9);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1fe8a9);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1fe8a9);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1fe8a9);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1fe8a9);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',_0x1fe8a9);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1fe8a9);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',_0x1fe8a9);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1fe8a9);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1fe8a9);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1fe8a9);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1fe8a9);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1fe8a9);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1fe8a9);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1fe8a9);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1fe8a9);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1fe8a9);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1fe8a9);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1fe8a9);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1fe8a9);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1fe8a9);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'},_0x1fe8a9);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1fe8a9);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1fe8a9);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1fe8a9);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1fe8a9);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1fe8a9);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1fe8a9);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1fe8a9);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'},_0x1fe8a9);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1fe8a9);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1fe8a9);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1fe8a9);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1fe8a9);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1fe8a9);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1fe8a9);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'},_0x1fe8a9);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_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'},_0x1fe8a9);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1fe8a9);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'},_0x1fe8a9);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1fe8a9);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'},_0x1fe8a9);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1fe8a9);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1fe8a9);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1fe8a9);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1fe8a9);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1fe8a9);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'},_0x1fe8a9);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1fe8a9);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 _0x5f2221({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1fe8a9);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5f2221({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1fe8a9);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1fe8a9);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'},_0x1fe8a9);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'},_0x1fe8a9);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'},_0x1fe8a9);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x167b9c;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x507d27,_0x127d74){const _0x45fab6=_0x4a74,_0x5e5dd8=_0x507d27();while(!![]){try{const _0x262f7=-parseInt(_0x45fab6(0x198))/0x1*(parseInt(_0x45fab6(0x178))/0x2)+parseInt(_0x45fab6(0x184))/0x3+-parseInt(_0x45fab6(0x187))/0x4+parseInt(_0x45fab6(0x18a))/0x5*(-parseInt(_0x45fab6(0x191))/0x6)+-parseInt(_0x45fab6(0x17c))/0x7*(-parseInt(_0x45fab6(0x169))/0x8)+parseInt(_0x45fab6(0x16e))/0x9+parseInt(_0x45fab6(0x196))/0xa*(-parseInt(_0x45fab6(0x175))/0xb);if(_0x262f7===_0x127d74)break;else _0x5e5dd8['push'](_0x5e5dd8['shift']());}catch(_0x181933){_0x5e5dd8['push'](_0x5e5dd8['shift']());}}}(_0x11df,0xcd205));export function normalizeDescription(_0x2a4497){const _0x101954=_0x4a74;return Array[_0x101954(0x170)](_0x2a4497)||(_0x2a4497=[_0x2a4497]),_0x2a4497[_0x101954(0x181)](_0xf188a2=>{const _0x4674af=_0x101954,_0x5d1642=_0xf188a2[_0x4674af(0x174)][_0x4674af(0x190)](/\*/g,''),_0x22cef0=_0xf188a2[_0x4674af(0x16a)]?_0x4674af(0x173)+_0xf188a2[_0x4674af(0x16a)][_0x4674af(0x186)]+']':'';return'['+_0xf188a2[_0x4674af(0x172)]+']\x20'+_0x5d1642+_0x22cef0;})[_0x101954(0x176)](';\x20');}export function renderDescription(_0x52d914,_0x5b180f){const _0x121252=_0x4a74;let _0x252dfd='';return _0x252dfd+=_0x52d914[_0x121252(0x18f)]('*')[_0x121252(0x181)]((_0x5d39b0,_0x1a56da)=>_0x1a56da%0x2!=0x0?_0x121252(0x177)+rn(_0x5d39b0)+_0x121252(0x185):rn(_0x5d39b0))[_0x121252(0x176)](''),_0x5b180f&&(_0x252dfd+=_0x121252(0x16f)+_0x5b180f[_0x121252(0x186)]+_0x121252(0x180)+_0x5b180f[_0x121252(0x189)]+_0x121252(0x197)),_0x252dfd;}function rn(_0x1292dc){const _0x2bdf40=_0x4a74,_0x33bbe4=document[_0x2bdf40(0x19e)](_0x2bdf40(0x19b));return _0x33bbe4[_0x2bdf40(0x16c)]=_0x1292dc,_0x33bbe4[_0x2bdf40(0x18d)];}function _0x4a74(_0x2addcb,_0x167be3){const _0x11dffc=_0x11df();return _0x4a74=function(_0x4a7416,_0x5a2b9b){_0x4a7416=_0x4a7416-0x167;let _0x57c3c4=_0x11dffc[_0x4a7416];return _0x57c3c4;},_0x4a74(_0x2addcb,_0x167be3);}export function sortSuggestions(_0x1b093c){const _0x415a3e=_0x4a74;return _0x1b093c[_0x415a3e(0x171)]((_0x44b3a7,_0x23a22b)=>_0x415a3e(0x19d)===_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x19d)!==_0x23a22b[_0x415a3e(0x172)]?-0x1:_0x415a3e(0x19d)!==_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x19d)===_0x23a22b[_0x415a3e(0x172)]?0x1:_0x415a3e(0x183)==_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x183)!=_0x23a22b[_0x415a3e(0x172)]?-0x1:_0x415a3e(0x183)!=_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x183)==_0x23a22b[_0x415a3e(0x172)]?0x1:0x0);}export function getSelectedSuggestions(_0x1cffc5,_0x427277){const _0x3b61a7=_0x4a74,_0x3675c7=Array[_0x3b61a7(0x193)](_0x1cffc5[_0x3b61a7(0x18b)]()),_0x18748e=new Set();for(const _0x3c5598 of _0x427277)if(_0x3c5598[_0x3b61a7(0x182)]){for(const _0x3eee95 of _0x3675c7)for(const _0x49c7ce of _0x3c5598[_0x3b61a7(0x18b)]())(_0x3eee95[_0x3b61a7(0x179)](_0x49c7ce)||_0x1cffc5[_0x3b61a7(0x167)]&&!_0x3c5598[_0x3b61a7(0x17b)]&&_0x3c5598[_0x3b61a7(0x199)]&&_0x49c7ce[_0x3b61a7(0x17d)][_0x3b61a7(0x19a)](_0x3eee95[_0x3b61a7(0x17a)]))&&_0x18748e[_0x3b61a7(0x194)](_0x3c5598);}return _0x18748e;}export function getRangesOfBlockGroups(_0x268ead,_0x10de7d){const _0x2fa595=_0x4a74;let _0x23b2eb,_0x1b6ece=0x0;const _0x34873c=[],_0x3e4271=_0x10de7d[_0x2fa595(0x17e)];for(;_0x1b6ece<_0x268ead[_0x2fa595(0x18c)];){const _0x5b1c01=_0x268ead[_0x1b6ece],_0x36a378=_0x268ead[_0x1b6ece+0x1];_0x23b2eb||(_0x23b2eb=_0x10de7d[_0x2fa595(0x18e)](_0x5b1c01)),cn(_0x10de7d,_0x5b1c01,_0x36a378)||(_0x34873c[_0x2fa595(0x17f)](_0x10de7d[_0x2fa595(0x16b)](_0x23b2eb,_0x3e4271[_0x2fa595(0x16d)](_0x5b1c01)?_0x10de7d[_0x2fa595(0x168)](_0x5b1c01):_0x10de7d[_0x2fa595(0x19c)](_0x5b1c01,_0x2fa595(0x17d)))),_0x23b2eb=null),_0x1b6ece++;}return _0x34873c;}function cn(_0x1a2996,_0x4da630,_0x446c99){const _0x213dfe=_0x4a74;if(!_0x446c99)return!0x1;const _0x33eb38=_0x1a2996[_0x213dfe(0x168)](_0x4da630),_0x52598c=_0x1a2996[_0x213dfe(0x18e)](_0x446c99);return _0x33eb38[_0x213dfe(0x19a)](_0x52598c);}function _0x11df(){const _0x159675=['title','10wgWBzI','getRanges','length','innerHTML','createPositionBefore','split','replace','697344sRozVl','splice','from','add','change','374410nkCzZX','\x22></span>','114puiqjt','next','isTouching','span','createPositionAt','attribute','createElement','isCollapsed','createPositionAfter','112jHqxEE','color','createRange','innerText','isObject','3369978uNDFCJ','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isArray','sort','type','\x20[color\x20','content','33azQlpi','join','<span\x20class=\x22ck-suggestion-type\x22>','9932GlIYFC','isIntersecting','start','isMultiRange','666358WqrrPc','end','schema','push','\x22\x20title=\x22','map','isInContent','deletion','4710999VwDnrJ','</span>','value','6105596NBDzhB','execute'];_0x11df=function(){return _0x159675;};return _0x11df();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xa5dfbc,_0x1dbe39,_0x31935a){const _0x39e368=_0x4a74;for(;_0x31935a[_0x39e368(0x18c)];){const _0x5abd36=_0x31935a[_0x39e368(0x192)](0x0,0x64);_0xa5dfbc[_0x39e368(0x195)](()=>{const _0x49d7e8=_0x39e368;for(const _0x51087e of _0x5abd36)_0x51087e[_0x49d7e8(0x182)]&&_0x1dbe39[_0x49d7e8(0x188)](_0x51087e['id']);});}}
|