@ckeditor/ckeditor5-track-changes 47.2.0-alpha.7 → 47.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +4 -4
- 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 _0x3f3210=_0x287d;(function(_0x2c7c02,_0x41c459){const _0x5edbd2=_0x287d,_0x2ea9f5=_0x2c7c02();while(!![]){try{const _0x59933b=-parseInt(_0x5edbd2(0x7c))/0x1+parseInt(_0x5edbd2(0x82))/0x2*(-parseInt(_0x5edbd2(0x79))/0x3)+-parseInt(_0x5edbd2(0x88))/0x4*(parseInt(_0x5edbd2(0x81))/0x5)+-parseInt(_0x5edbd2(0x86))/0x6*(-parseInt(_0x5edbd2(0x8c))/0x7)+parseInt(_0x5edbd2(0x8d))/0x8+parseInt(_0x5edbd2(0x7f))/0x9*(parseInt(_0x5edbd2(0x87))/0xa)+parseInt(_0x5edbd2(0x85))/0xb;if(_0x59933b===_0x41c459)break;else _0x2ea9f5['push'](_0x2ea9f5['shift']());}catch(_0x47de4f){_0x2ea9f5['push'](_0x2ea9f5['shift']());}}}(_0x1d4c,0x64968));import{Plugin as _0xbafd8f}from'ckeditor5/src/core.js';function _0x287d(_0x480763,_0xc8fdbf){const _0x1d4c8e=_0x1d4c();return _0x287d=function(_0x287ddf,_0x237d3c){_0x287ddf=_0x287ddf-0x77;let _0x5c301d=_0x1d4c8e[_0x287ddf];return _0x5c301d;},_0x287d(_0x480763,_0xc8fdbf);}import{Dialog as _0x2e9521}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5ec87e}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x457467}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x1d4c(){const _0x4aa1db=['previewFinalContent','commands','6438267cNMXgu','1050252JtbZYI','326710EFrrcG','44nZyRCk','TrackChangesPreview','isOfficialPlugin','appendChild','7uNvboE','2826672WbAEEX','isPremiumPlugin','define','editor','27201oQbPZY','config','requires','360951RDfIkb','pluginName','add','171pdbspG','trackChanges.preview.renderFunction','214475AhabPQ','108WvAyRK'];_0x1d4c=function(){return _0x4aa1db;};return _0x1d4c();}export class TrackChangesPreview extends _0xbafd8f{static get[_0x3f3210(0x7b)](){return[_0x5ec87e,_0x2e9521];}static get[_0x3f3210(0x7d)](){const _0x39f999=_0x3f3210;return _0x39f999(0x89);}static get[_0x3f3210(0x8a)](){return!0x0;}static get[_0x3f3210(0x8e)](){return!0x0;}constructor(_0x4ac18e){const _0x4834c7=_0x3f3210;super(_0x4ac18e),_0x4ac18e[_0x4834c7(0x84)][_0x4834c7(0x7e)](_0x4834c7(0x83),new _0x457467(this[_0x4834c7(0x78)])),_0x4ac18e[_0x4834c7(0x7a)][_0x4834c7(0x77)](_0x4834c7(0x80),(_0x16e93f,_0x1a8c0e)=>{const _0x3e8c9d=_0x4834c7;for(const _0x4bac2e of _0x1a8c0e)_0x16e93f[_0x3e8c9d(0x8b)](_0x4bac2e);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x519e(_0x30746e,_0x34c790){const _0x4ed5b6=_0x4ed5();return _0x519e=function(_0x519e3e,_0x3a86b9){_0x519e3e=_0x519e3e-0xe4;let _0xf3d551=_0x4ed5b6[_0x519e3e];return _0xf3d551;},_0x519e(_0x30746e,_0x34c790);}const _0x47da23=_0x519e;(function(_0x49512d,_0x374ed5){const _0x21bad8=_0x519e,_0x3f1d54=_0x49512d();while(!![]){try{const _0x3a3158=-parseInt(_0x21bad8(0x14d))/0x1+-parseInt(_0x21bad8(0x172))/0x2+parseInt(_0x21bad8(0x106))/0x3*(parseInt(_0x21bad8(0x17c))/0x4)+-parseInt(_0x21bad8(0x183))/0x5*(-parseInt(_0x21bad8(0xf4))/0x6)+-parseInt(_0x21bad8(0x123))/0x7+parseInt(_0x21bad8(0xe4))/0x8*(-parseInt(_0x21bad8(0xea))/0x9)+parseInt(_0x21bad8(0x111))/0xa*(parseInt(_0x21bad8(0x154))/0xb);if(_0x3a3158===_0x374ed5)break;else _0x3f1d54['push'](_0x3f1d54['shift']());}catch(_0x25c57a){_0x3f1d54['push'](_0x3f1d54['shift']());}}}(_0x4ed5,0x8000d));import{Plugin as _0x334f60}from'ckeditor5/src/core.js';import{Collection as _0x1ee780}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x424e09}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3a6825,createDropdown as _0x478d2b,ListSeparatorView as _0x43a044,MenuBarMenuView as _0x21f552,MenuBarMenuListView as _0x1a607e,MenuBarMenuListItemView as _0xa6e342,MenuBarMenuListItemButtonView as _0x2321f7,SplitButtonView as _0x518c16,UIModel as _0x513b03}from'ckeditor5/src/ui.js';import{Users as _0x324a4e,getDateTimeFormatter as _0x5323a8,getAllMarkersDomElementsSorted as _0x53d80e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x59323c}from'./trackchangesediting.js';import{SuggestionController as _0x408b28}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x209319}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x33e8f0}from'./ui/view/suggestionview.js';import{getTranslation as _0x2d666c}from'./utils/common-translations.js';export class TrackChangesUI extends _0x334f60{[_0x47da23(0x104)];[_0x47da23(0xfc)];[_0x47da23(0xf7)];[_0x47da23(0x145)];[_0x47da23(0xfe)];[_0x47da23(0x155)];[_0x47da23(0xec)];static get[_0x47da23(0x12b)](){const _0x4930ad=_0x47da23;return[_0x59323c,_0x324a4e,_0x4930ad(0x12e),_0x4930ad(0x150),_0x4930ad(0xe9)];}static get[_0x47da23(0x169)](){const _0x574ee4=_0x47da23;return _0x574ee4(0x149);}static get[_0x47da23(0x170)](){return!0x0;}static get[_0x47da23(0x115)](){return!0x0;}constructor(_0xb2170d){const _0x1c0d52=_0x47da23;super(_0xb2170d),this[_0x1c0d52(0xf7)]=new Map(),this[_0x1c0d52(0x145)]=new Map(),this[_0x1c0d52(0xfe)]=new Map(),this[_0x1c0d52(0x155)]=new Map();const _0x444dba=this[_0x1c0d52(0x184)][_0x1c0d52(0x15c)];_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0x192),_0x209319),_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0x113),_0x33e8f0),_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0xe6),!0x1),this[_0x1c0d52(0xec)]=_0x444dba[_0x1c0d52(0x18b)](_0x1c0d52(0xe6));}[_0x47da23(0xe8)](_0x5b52d6,_0x13cc67){const _0x5692ac=_0x47da23;0x0===this[_0x5692ac(0x155)][_0x5692ac(0x11c)]&&setTimeout(()=>{const _0x7bedfa=_0x5692ac;for(const [_0x59f3ee,_0x58a5f5]of this[_0x7bedfa(0x155)]){const _0xe79e2b=this[_0x7bedfa(0xf7)][_0x7bedfa(0x109)](_0x59f3ee);_0xe79e2b||_0x58a5f5?_0xe79e2b&&_0x58a5f5&&this[_0x7bedfa(0x185)](_0x59f3ee):this[_0x7bedfa(0x105)](_0x59f3ee);}this[_0x7bedfa(0x155)][_0x7bedfa(0x187)](),this[_0x7bedfa(0x184)][_0x7bedfa(0xe7)][_0x7bedfa(0x18b)](_0x7bedfa(0xe9))[_0x7bedfa(0x17d)](),this[_0x7bedfa(0x10d)]();},0xa),this[_0x5692ac(0x155)][_0x5692ac(0xf8)](_0x5b52d6,_0x13cc67);}[_0x47da23(0x12c)](){const _0x105ac3=_0x47da23,_0xa66047=this[_0x105ac3(0x184)],_0x5a311c=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0xf6)),_0x5626ba=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0x150)),_0x13506a=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0xe9)),_0x313fbe=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0x12e));this[_0x105ac3(0x168)](),_0x13506a[_0x105ac3(0x10e)](()=>{const _0x256caa=_0x105ac3,_0x39c6e7=[];for(const [_0x3c1c96,_0x9b30fc]of Array[_0x256caa(0x16a)](this[_0x256caa(0xf7)])){const _0xd14768=_0x3c1c96[_0x256caa(0x13b)](),_0x5cde08=[];for(const _0x52d6c4 of _0xd14768){if(!_0x52d6c4[_0x256caa(0x181)])continue;if(_0x52d6c4[_0x256caa(0x195)]){_0x5cde08[_0x256caa(0x142)](..._0x52d6c4[_0x256caa(0x194)]());continue;}const _0x3934b1=_0x52d6c4[_0x256caa(0x16f)]();if(_0x5cde08[_0x256caa(0x196)]>0x0){const _0x2752c7=_0x5cde08[0x0][_0x256caa(0x156)](_0x3934b1);if(_0x2752c7){_0x5cde08[0x0]=_0x2752c7;continue;}}_0x5cde08[_0x256caa(0x142)](_0x3934b1);}_0x39c6e7[_0x256caa(0x142)]([_0x9b30fc[_0x256caa(0x162)],_0x5cde08]);}return _0x39c6e7;}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0xf9),(_0x5cf397,_0x3d2295)=>{const _0x3941c2=_0x105ac3;this[_0x3941c2(0x127)](_0x3d2295,_0x3941c2(0x14b),(_0xc9ef6a,_0x4d07cd,_0x2ddfe6,_0x4e9d2e)=>{const _0x98569f=_0x3941c2;_0x3d2295[_0x98569f(0x181)]&&(null==_0x2ddfe6?(this[_0x98569f(0xee)](_0x4e9d2e[_0x98569f(0x153)]),this[_0x98569f(0xe8)](_0x3d2295,!0x1)):(this[_0x98569f(0xee)](_0x2ddfe6[_0x98569f(0x153)]),null==_0x4e9d2e&&this[_0x98569f(0xe8)](_0x3d2295,!0x0)));}),null!==_0x3d2295[_0x3941c2(0x15a)]?this[_0x3941c2(0xee)](_0x3d2295[_0x3941c2(0x153)]):this[_0x3941c2(0xe8)](_0x3d2295,!0x1);}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0x119),(_0x1551f1,_0x3659c3,_0x49eaba)=>{const _0x147dae=_0x105ac3;this[_0x147dae(0x18f)](_0x3659c3,_0x147dae(0x14b)),this[_0x147dae(0x155)][_0x147dae(0xef)](_0x3659c3),this[_0x147dae(0xf7)][_0x147dae(0x109)](_0x3659c3)&&this[_0x147dae(0x185)](_0x3659c3),_0x49eaba&&this[_0x147dae(0xee)](_0x49eaba[_0x147dae(0x153)]);}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0x10b),(_0x10e79f,_0xda9864)=>{const _0x398753=_0x105ac3;this[_0x398753(0xee)](_0xda9864);}),this[_0x105ac3(0x127)](_0x5626ba,_0x105ac3(0x100),()=>{const _0x39a53e=_0x105ac3;this[_0x39a53e(0x10d)]();}),this[_0x105ac3(0x127)](_0x313fbe,_0x105ac3(0x167),(_0x1af205,{threadId:_0x4a5c73,isFromAdapter:_0x3b0521})=>{const _0x3ad553=_0x105ac3;if(_0x3b0521||!_0x5a311c[_0x3ad553(0x134)](_0x4a5c73))return;const _0x41b9af=_0x5a311c[_0x3ad553(0x13f)](_0x4a5c73);this[_0x3ad553(0xf7)][_0x3ad553(0x18b)](_0x41b9af)[_0x3ad553(0x162)][_0x3ad553(0x14a)][_0x3ad553(0xed)](-0x1);},{'priority':_0x105ac3(0x15e)}),this[_0x105ac3(0x104)]=this[_0x105ac3(0x184)][_0x105ac3(0x15c)][_0x105ac3(0x18b)](_0x105ac3(0x104));const _0x3c8737=this[_0x105ac3(0x184)];this[_0x105ac3(0xfc)]=setInterval(()=>{const _0x4b5d3b=_0x105ac3;let _0x35dbb2;for(const _0x48eb35 in _0x3c8737){const _0x36829a=_0x48eb35,_0x12dd12=_0x3c8737[_0x36829a];if(_0x4b5d3b(0x129)==_0x12dd12||_0x4b5d3b(0xeb)==_0x12dd12||_0x4b5d3b(0x143)==_0x12dd12||_0x4b5d3b(0x16d)==_0x12dd12||_0x4b5d3b(0x13c)==_0x12dd12||_0x4b5d3b(0x148)==_0x12dd12||_0x4b5d3b(0x131)==_0x12dd12||_0x4b5d3b(0x17f)==_0x12dd12){delete _0x3c8737[_0x36829a],_0x35dbb2=_0x12dd12,clearInterval(this[_0x4b5d3b(0xfc)]),this[_0x4b5d3b(0xfc)]=void 0x0;break;}}_0x4b5d3b(0xeb)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x16b)),_0x4b5d3b(0x143)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x107)),_0x4b5d3b(0x16d)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x13e)),_0x4b5d3b(0x13c)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x157),_0x4b5d3b(0x176)),_0x4b5d3b(0x148)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x17b)),_0x4b5d3b(0x131)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x163)),_0x4b5d3b(0x17f)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x190));},0x3e8);}[_0x47da23(0x14f)](_0x4abe18){const _0x45d06b=_0x47da23,_0x41d97f=this[_0x45d06b(0xf7)][_0x45d06b(0x18b)](_0x4abe18);if(!_0x41d97f)return null;return this[_0x45d06b(0x184)][_0x45d06b(0xe7)][_0x45d06b(0x18b)](_0x45d06b(0x150))[_0x45d06b(0x11a)](_0x41d97f[_0x45d06b(0x162)])||null;}[_0x47da23(0x10a)](_0x2df09c){const _0x3814a1=_0x47da23,_0x1f6761=this[_0x3814a1(0x145)][_0x3814a1(0x18b)](_0x2df09c[_0x3814a1(0x10c)]);return _0x1f6761?_0x1f6761[_0x3814a1(0x186)]:null;}[_0x47da23(0x10d)](){const _0x7c857d=_0x47da23,_0x601638=this[_0x7c857d(0x184)][_0x7c857d(0xe7)][_0x7c857d(0x18b)](_0x7c857d(0x150)),_0x333bd0=this[_0x7c857d(0x184)][_0x7c857d(0xe7)][_0x7c857d(0x18b)](_0x7c857d(0xf6)),_0xe7458f=Array[_0x7c857d(0x16a)](_0x601638[_0x7c857d(0x18c)],_0x1e1e81=>_0x1e1e81[_0x7c857d(0x10c)])[_0x7c857d(0x133)](_0x57cd2f=>this[_0x7c857d(0x145)][_0x7c857d(0x109)](_0x57cd2f)),_0x2a75b5=[];for(const _0x2cc934 of _0xe7458f){const _0x1ba030=this[_0x7c857d(0x145)][_0x7c857d(0x18b)](_0x2cc934)[_0x7c857d(0x186)][_0x7c857d(0x13b)]();_0x2a75b5[_0x7c857d(0x142)](..._0x1ba030[_0x7c857d(0x160)]((_0x3fb2a6,_0x4509f8)=>[..._0x3fb2a6,..._0x4509f8[_0x7c857d(0x17e)]()],[]));}_0x333bd0[_0x7c857d(0x16e)]=_0x2a75b5;}[_0x47da23(0x168)](){const _0x3f2b76=_0x47da23,_0x4e319e=this[_0x3f2b76(0x184)],_0x4a1a1e=_0x4e319e[_0x3f2b76(0xff)],_0x3be0fc=_0x2d666c(_0x4a1a1e,_0x3f2b76(0x13d)),_0x5d10f1=new _0x1ee780([{'type':_0x3f2b76(0xfd),'model':new _0x513b03({'withText':!0x0,'isToggleable':!0x0,'label':_0x3be0fc,'commandName':_0x3f2b76(0x165),'role':_0x3f2b76(0x11e)})},{'type':_0x3f2b76(0x124)},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x141)),'commandName':_0x3f2b76(0x171),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x158)),'commandName':_0x3f2b76(0xfa),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x135)),'commandName':_0x3f2b76(0x128),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x189)),'commandName':_0x3f2b76(0x147),'role':_0x3f2b76(0x166)})}]);_0x4e319e[_0x3f2b76(0xe7)][_0x3f2b76(0x109)](_0x3f2b76(0x146))&&_0x5d10f1[_0x3f2b76(0x15b)]([{'type':_0x3f2b76(0x124)},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x12f)),'commandName':_0x3f2b76(0x130),'role':_0x3f2b76(0x166)})}]);for(const _0x59fcf2 of _0x5d10f1)if(ke(_0x59fcf2)){const _0x3d5d6d=_0x4e319e[_0x3f2b76(0xf1)][_0x3f2b76(0x18b)](_0x59fcf2[_0x3f2b76(0x186)][_0x3f2b76(0x152)]);_0x59fcf2[_0x3f2b76(0x186)][_0x3f2b76(0x12d)](_0x3f2b76(0x173),_0x3f2b76(0x10f))['to'](_0x3d5d6d,_0x3f2b76(0x161),_0x3f2b76(0x10f));}_0x4e319e['ui'][_0x3f2b76(0x180)][_0x3f2b76(0x191)](_0x3f2b76(0x165),_0x13cc38=>this[_0x3f2b76(0x126)](_0x13cc38,_0x5d10f1,_0x3be0fc)),_0x4e319e['ui'][_0x3f2b76(0x180)][_0x3f2b76(0x191)](_0x3f2b76(0x122),_0x474472=>this[_0x3f2b76(0x121)](_0x474472,_0x5d10f1,_0x3be0fc));}[_0x47da23(0x126)](_0x44473b,_0x442709,_0x49201a){const _0x4ae4f6=_0x47da23,_0x29930d=_0x478d2b(_0x44473b,_0x518c16),_0x2afaba=this[_0x4ae4f6(0x184)][_0x4ae4f6(0xf1)][_0x4ae4f6(0x18b)](_0x4ae4f6(0x165));_0x29930d[_0x4ae4f6(0x11d)][_0x4ae4f6(0xf8)]({'tooltip':_0x49201a,'label':_0x49201a,'icon':_0x424e09}),_0x29930d[_0x4ae4f6(0x11d)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x173))['to'](_0x2afaba,_0x4ae4f6(0x161)),_0x29930d[_0x4ae4f6(0x11d)]['on'](_0x4ae4f6(0x132),()=>{const _0x565b09=_0x4ae4f6;_0x2afaba[_0x565b09(0x132)](),this[_0x565b09(0x184)][_0x565b09(0x13a)][_0x565b09(0x162)][_0x565b09(0xed)]();}),_0x3a6825(_0x29930d,_0x442709,{'role':_0x4ae4f6(0x178)});const _0x145ad2=[];for(const _0x1300fb of _0x442709)ke(_0x1300fb)&&_0x145ad2[_0x4ae4f6(0x142)](this[_0x4ae4f6(0x184)][_0x4ae4f6(0xf1)][_0x4ae4f6(0x18b)](_0x1300fb[_0x4ae4f6(0x186)][_0x4ae4f6(0x152)]));const _0x218e8e=_0x29930d[_0x4ae4f6(0x11d)];return _0x218e8e[_0x4ae4f6(0x139)][_0x4ae4f6(0xf5)](_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0xf3)][_0x4ae4f6(0xf5)](_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0x139)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x10f))['to'](_0x2afaba,_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0xf3)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x10f))[_0x4ae4f6(0xf0)](_0x145ad2,_0x4ae4f6(0x10f),(..._0x2f4bb9)=>_0x2f4bb9[_0x4ae4f6(0x175)](_0x3786c3=>_0x3786c3)),_0x29930d['on'](_0x4ae4f6(0x132),_0xefd40=>{const _0xa671a9=_0x4ae4f6;this[_0xa671a9(0x184)][_0xa671a9(0x132)](_0xefd40[_0xa671a9(0x117)][_0xa671a9(0x152)]),this[_0xa671a9(0x184)][_0xa671a9(0x13a)][_0xa671a9(0x162)][_0xa671a9(0xed)]();}),_0x29930d;}[_0x47da23(0x121)](_0x2008eb,_0x559684,_0x1ed034){const _0x42ee6e=_0x47da23,_0x530239=new _0x21f552(_0x2008eb),_0x4f1b70=this[_0x42ee6e(0x184)][_0x42ee6e(0xf1)][_0x42ee6e(0x18b)](_0x42ee6e(0x165));_0x530239[_0x42ee6e(0x11d)][_0x42ee6e(0xf8)]({'label':_0x1ed034,'icon':_0x424e09});const _0x44562d=new _0x1a607e(_0x2008eb);for(const _0x27c93e of _0x559684){if(_0x42ee6e(0x124)==_0x27c93e[_0x42ee6e(0x102)]){_0x44562d[_0x42ee6e(0x15d)][_0x42ee6e(0x191)](new _0x43a044(_0x2008eb));continue;}const _0x1c29fe=new _0xa6e342(_0x2008eb,_0x530239),_0x45e75a=new _0x2321f7(_0x2008eb),_0x562739=_0x27c93e[_0x42ee6e(0x186)];_0x45e75a[_0x42ee6e(0x12d)](...Object[_0x42ee6e(0x177)](_0x562739))['to'](_0x562739),_0x45e75a[_0x42ee6e(0x159)](_0x42ee6e(0x132))['to'](_0x530239),_0x45e75a['on'](_0x42ee6e(0x132),()=>{const _0x3a844f=_0x42ee6e;this[_0x3a844f(0x184)][_0x3a844f(0x132)](_0x562739[_0x3a844f(0x152)]),this[_0x3a844f(0x184)][_0x3a844f(0x13a)][_0x3a844f(0x162)][_0x3a844f(0xed)]();}),_0x1c29fe[_0x42ee6e(0x103)][_0x42ee6e(0x191)](_0x45e75a),_0x44562d[_0x42ee6e(0x15d)][_0x42ee6e(0x191)](_0x1c29fe);}return _0x530239[_0x42ee6e(0x12d)](_0x42ee6e(0x10f))['to'](_0x4f1b70,_0x42ee6e(0x10f)),_0x530239[_0x42ee6e(0x14c)][_0x42ee6e(0x103)][_0x42ee6e(0x191)](_0x44562d),_0x530239;}[_0x47da23(0x105)](_0x59468f){const _0x260647=_0x47da23,_0x382fc1=this[_0x260647(0x184)],_0x12d07a=_0x382fc1[_0x260647(0x15c)],_0x409949=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x150)),_0x42b6af=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x12e)),_0x3f0f3d=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0xe9)),_0x58e883=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x324a4e)['me'],_0x2a0997=_0x12d07a[_0x260647(0x18b)](_0x260647(0x165))[_0x260647(0x182)],_0x3841e6=_0x12d07a[_0x260647(0x18b)](_0x260647(0x165))[_0x260647(0x116)],{CommentsListView:_0x5383fb,CommentThreadInputView:_0x57fb0c}=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x125));let _0x1ff93a,_0x533d01,_0x1789b3;this[_0x260647(0xfe)][_0x260647(0x109)](_0x59468f['id'])?(_0x533d01=this[_0x260647(0xfe)][_0x260647(0x18b)](_0x59468f['id']),_0x1ff93a=_0x533d01[_0x260647(0x136)]):(_0x1ff93a=new _0x2a0997(_0x382fc1[_0x260647(0xff)],_0x59468f,_0x58e883,{'disableComments':this[_0x260647(0xec)],'editorConfig':{..._0x12d07a[_0x260647(0x18b)](_0x260647(0x193)),'licenseKey':_0x12d07a[_0x260647(0x18b)](_0x260647(0x104))},'maxCommentsWhenCollapsed':_0x12d07a[_0x260647(0x18b)](_0x260647(0x108)),'maxThreadTotalWeight':_0x12d07a[_0x260647(0x18b)](_0x260647(0x120)),'maxCommentCharsWhenCollapsed':_0x12d07a[_0x260647(0x18b)](_0x260647(0xe5)),'formatDateTime':_0x5323a8(_0x12d07a[_0x260647(0x18b)](_0x260647(0xff)),_0x382fc1[_0x260647(0xff)]),'CommentView':_0x12d07a[_0x260647(0x18b)](_0x260647(0x118))[_0x260647(0x18d)],'CommentsListView':_0x5383fb,'CommentThreadInputView':_0x57fb0c,'SuggestionView':_0x3841e6}),_0x1ff93a[_0x260647(0xfb)][_0x260647(0x140)]['on'](_0x260647(0x132),()=>{const _0x3126e4=_0x260647;_0x382fc1[_0x3126e4(0x13a)][_0x3126e4(0x162)][_0x3126e4(0xed)]();}),_0x1ff93a[_0x260647(0xfb)][_0x260647(0x112)]['on'](_0x260647(0x132),()=>{const _0x4e5f59=_0x260647;_0x382fc1[_0x4e5f59(0x13a)][_0x4e5f59(0x162)][_0x4e5f59(0xed)]();}),_0x533d01=_0x409949[_0x260647(0x114)](this[_0x260647(0x184)][_0x260647(0xff)],_0x1ff93a),_0x533d01[_0x260647(0x12d)](_0x260647(0x101))['to'](_0x1ff93a,_0x260647(0x101)),_0x533d01[_0x260647(0x12d)](_0x260647(0x196))['to'](_0x1ff93a),_0x533d01[_0x260647(0x12d)](_0x260647(0x102))['to'](_0x1ff93a,_0x260647(0x102),_0x46475d=>_0x260647(0x188)+_0x46475d),_0x1ff93a['on'](_0x260647(0x137),()=>{const _0xfa35e0=_0x260647;_0x1789b3[_0xfa35e0(0x12a)](_0xfa35e0(0x137));}),this[_0x260647(0xfe)][_0x260647(0xf8)](_0x59468f['id'],_0x533d01));const _0x55a5f7=_0x42b6af[_0x260647(0x11f)](_0x59468f[_0x260647(0x11b)],_0x1ff93a),_0x446ec2=new _0x408b28(_0x382fc1,_0x59468f,_0x1ff93a,_0x55a5f7),_0x2cbc3c=_0x59468f[_0x260647(0x13b)]()[_0x260647(0x133)](_0x5e875c=>_0x5e875c[_0x260647(0x181)]);_0x1ff93a[_0x260647(0x138)]=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0xf6))[_0x260647(0x179)][_0x260647(0x14e)](_0x2cbc3c),this[_0x260647(0xf7)][_0x260647(0xf8)](_0x59468f,_0x446ec2),this[_0x260647(0x145)][_0x260647(0xf8)](_0x1ff93a,_0x446ec2);const _0x512a4e=()=>{const _0x49a8a5=_0x260647,_0x54b99a=[],_0x5ed57e=_0x59468f[_0x49a8a5(0x13b)]()[_0x49a8a5(0x133)](_0x5e76cd=>_0x5e76cd[_0x49a8a5(0x181)]);for(const _0x3ba922 of _0x5ed57e)_0x54b99a[_0x49a8a5(0x142)](..._0x3ba922[_0x49a8a5(0x110)]());return _0x53d80e(_0x382fc1[_0x49a8a5(0x13a)],_0x54b99a);};_0x1789b3=_0x409949[_0x260647(0x18a)]({'view':_0x533d01,'target':_0x512a4e,'type':()=>_0x260647(0x188)+_0x446ec2[_0x260647(0x162)][_0x260647(0x102)],'isVisible':!!_0x512a4e()}),_0x42b6af[_0x260647(0x18e)](_0x1ff93a,_0x1789b3),_0x409949[_0x260647(0x191)](_0x1789b3),_0x3f0f3d[_0x260647(0x15f)](_0x1789b3);}[_0x47da23(0x185)](_0x47b4f4){const _0x54b657=_0x47da23,_0x57fc82=this[_0x54b657(0x184)][_0x54b657(0xe7)][_0x54b657(0x18b)](_0x54b657(0x12e)),_0x3c7715=this[_0x54b657(0x184)][_0x54b657(0xe7)][_0x54b657(0x18b)](_0x54b657(0x150)),_0x1dcfe7=this[_0x54b657(0xf7)][_0x54b657(0x18b)](_0x47b4f4),_0x1bbef1=_0x1dcfe7[_0x54b657(0x162)],_0x31e038=_0x3c7715[_0x54b657(0x11a)](_0x1bbef1);_0x57fc82[_0x54b657(0x174)](_0x1bbef1),_0x31e038&&_0x3c7715[_0x54b657(0x16c)](_0x31e038),this[_0x54b657(0xf7)][_0x54b657(0xef)](_0x47b4f4),this[_0x54b657(0x145)][_0x54b657(0xef)](_0x1bbef1),_0x1dcfe7[_0x54b657(0xf2)]();}[_0x47da23(0xee)](_0x4d9619){const _0x4e8ff2=_0x47da23;if(!_0x4d9619[_0x4e8ff2(0x181)]||!this[_0x4e8ff2(0xf7)][_0x4e8ff2(0x109)](_0x4d9619))return;const _0x34b33f=this[_0x4e8ff2(0x184)][_0x4e8ff2(0xe7)][_0x4e8ff2(0x18b)](_0x4e8ff2(0xf6)),_0x41ee57=this[_0x4e8ff2(0xf7)][_0x4e8ff2(0x18b)](_0x4d9619),_0x52cc70=_0x4d9619[_0x4e8ff2(0x13b)]();_0x41ee57[_0x4e8ff2(0x162)][_0x4e8ff2(0x138)]=_0x34b33f[_0x4e8ff2(0x179)][_0x4e8ff2(0x14e)](_0x52cc70);}[_0x47da23(0xf2)](){const _0x1dfc69=_0x47da23;for(const _0x333f5f of this[_0x1dfc69(0xf7)][_0x1dfc69(0x177)]())this[_0x1dfc69(0x185)](_0x333f5f);for(const _0x3a0c65 of this[_0x1dfc69(0xfe)][_0x1dfc69(0x164)]())_0x3a0c65[_0x1dfc69(0x136)][_0x1dfc69(0xf2)]();super[_0x1dfc69(0xf2)](),this[_0x1dfc69(0xfc)]&&clearInterval(this[_0x1dfc69(0xfc)]);}}function ke(_0x228b31){const _0x361430=_0x47da23;return _0x361430(0x186)in _0x228b31;}function _0x4ed5(){const _0x483463=['getAllAdjacentSuggestions','trackChangesLicenseKeyNotAllowed','Track\x20changes','domainLimit','getSuggestion','acceptButton','Accept\x20all\x20suggestions','push','trackChangesLicenseKeyExpired','button','_viewToController','TrackChangesPreview','discardSelectedSuggestions','trackChangesLicenseKeyEvaluationLimit','TrackChangesUI','commentsListView','change:previous','panelView','590170vLHrli','getDescriptions','getAnnotationForSuggestion','Annotations','define','commandName','head','386573PcXaQu','_handleControllerBuffer','getJoined','featureNotAllowed','Accept\x20all\x20selected\x20suggestions','delegate','previous','addMany','config','items','lowest','registerAnnotation','reduce','value','view','trialLimit','values','trackChanges','menuitem','addComment','_addUIComponentsToFactory','pluginName','from','invalid','remove','trackChangesLicenseKeyDomainLimit','activeMarkers','getFirstRange','isOfficialPlugin','acceptAllSuggestions','12064KSgTdp','isOn','_unbindEditors','some','TrackChanges','keys','menu','descriptionFactory','_showLicenseError','evaluationLimit','614948ZGNvWr','refreshSelectedViews','getMarkerNames','trackChangesLicenseKeyUsageLimit','componentFactory','isInContent','SuggestionThreadView','306005ccmiRg','editor','_destroyController','model','clear','suggestion-','Discard\x20all\x20selected\x20suggestions','createAnnotation','get','activeAnnotations','CommentView','_bindAnnotationToEditors','stopListening','usageLimit','add','trackChanges.SuggestionThreadView','comments.editorConfig','getRanges','isMultiRange','length','8YHdXsz','comments.maxCommentCharsWhenCollapsed','trackChanges.disableComments','plugins','_handleSuggestionControllerDelayed','EditorAnnotations','6809823qHlZmP','trackChangesLicenseKeyInvalid','_disableComments','focus','_updateController','delete','toMany','commands','destroy','arrowView','6bjhvxr','unbind','TrackChangesEditing','_suggestionToController','set','suggestionLoaded','acceptSelectedSuggestions','suggestionView','_licenseKeyCheckInterval','switchbutton','_annotationViews','locale','change:activeAnnotations','isDirty','type','children','licenseKey','_initializeController','12eylnQF','expired','comments.maxCommentsWhenCollapsed','has','getSuggestionForAnnotation','suggestionChanged','innerView','_refreshActiveMarkers','addSourceCollector','isEnabled','getMarkers','370UOocYv','discardButton','trackChanges.SuggestionView','createAnnotationView','isPremiumPlugin','SuggestionView','source','comments','suggestionUnloaded','getByInnerView','commentThread','size','buttonView','menuitemcheckbox','createCommentThreadController','comments.maxThreadTotalWeight','_createMenuBarMenu','menuBar:trackChanges','695030HJCMCW','separator','CommentsUI','_createToolbarButton','listenTo','discardAllSuggestions','trackChangesLicenseKeyValid','fire','requires','init','bind','CommentsRepository','Preview\x20final\x20content','previewFinalContent','trackChangesLicenseKeyTrialLimit','execute','filter','hasSuggestion','Discard\x20all\x20suggestions','mainView','escape','descriptionParts','actionView','editing'];_0x4ed5=function(){return _0x483463;};return _0x4ed5();}
|
|
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;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4fa121=_0xd312;(function(_0x464514,_0x3f0479){const _0x2ced34=_0xd312,_0x1356f1=_0x464514();while(!![]){try{const _0x4584b5=-parseInt(_0x2ced34(0x84))/0x1*(parseInt(_0x2ced34(0x78))/0x2)+parseInt(_0x2ced34(0x87))/0x3+-parseInt(_0x2ced34(0x7d))/0x4+-parseInt(_0x2ced34(0x81))/0x5+-parseInt(_0x2ced34(0x79))/0x6*(-parseInt(_0x2ced34(0x72))/0x7)+-parseInt(_0x2ced34(0x8c))/0x8+parseInt(_0x2ced34(0x80))/0x9;if(_0x4584b5===_0x3f0479)break;else _0x1356f1['push'](_0x1356f1['shift']());}catch(_0x895d9){_0x1356f1['push'](_0x1356f1['shift']());}}}(_0x7335,0xcfaf6));import{ObservableMixin as _0x571f8d}from'ckeditor5/src/utils.js';function _0xd312(_0x8f3390,_0x406cb5){const _0x73353a=_0x7335();return _0xd312=function(_0xd3124b,_0x4106c9){_0xd3124b=_0xd3124b-0x6d;let _0x255705=_0x73353a[_0xd3124b];return _0x255705;},_0xd312(_0x8f3390,_0x406cb5);}import{getTranslation as _0x1aed84}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x571f8d(){[_0x4fa121(0x6f)];[_0x4fa121(0x8d)];[_0x4fa121(0x91)];[_0x4fa121(0x7a)];[_0x4fa121(0x7f)];[_0x4fa121(0x93)];[_0x4fa121(0x6e)];constructor(_0x2f11d4,_0x18afa5,_0x341954,_0x5d38e9){const _0x12bcca=_0x4fa121;super(),this[_0x12bcca(0x6f)]=_0x18afa5,this[_0x12bcca(0x8d)]=_0x341954,this[_0x12bcca(0x91)]=_0x5d38e9,this[_0x12bcca(0x7a)]=_0x2f11d4,this[_0x12bcca(0x7f)]=_0x2f11d4[_0x12bcca(0x6d)][_0x12bcca(0x7b)](_0x12bcca(0x82)),this[_0x12bcca(0x93)]=_0x2f11d4[_0x12bcca(0x6d)][_0x12bcca(0x7b)](_0x12bcca(0x73)),this[_0x12bcca(0x8d)][_0x12bcca(0x7e)](_0x12bcca(0x70))['to'](this[_0x12bcca(0x7f)],this[_0x12bcca(0x93)],(_0x4186c2,_0x657a53)=>_0x4186c2||_0x657a53),this[_0x12bcca(0x8d)][_0x12bcca(0x7e)](_0x12bcca(0x88))['to'](this[_0x12bcca(0x7f)],_0x12bcca(0x70),_0x50023a=>_0x50023a&&this[_0x12bcca(0x7a)][_0x12bcca(0x6f)][_0x12bcca(0x85)](_0x18afa5[_0x12bcca(0x75)]())),this[_0x12bcca(0x8d)][_0x12bcca(0x7e)](_0x12bcca(0x77))['to'](this[_0x12bcca(0x93)],_0x12bcca(0x70),_0x2e5d2f=>_0x2e5d2f&&this[_0x12bcca(0x7a)][_0x12bcca(0x6f)][_0x12bcca(0x85)](_0x18afa5[_0x12bcca(0x75)]())),this[_0x12bcca(0x6e)]=null,_0x341954[_0x12bcca(0x94)]&&this[_0x12bcca(0x7c)](),this[_0x12bcca(0x92)](_0x341954,_0x12bcca(0x82),()=>this[_0x12bcca(0x82)]()),this[_0x12bcca(0x92)](_0x341954,_0x12bcca(0x73),()=>this[_0x12bcca(0x73)]()),this[_0x12bcca(0x92)](_0x341954,_0x12bcca(0x8a),()=>{const _0x1fd51b=_0x12bcca;_0x341954[_0x1fd51b(0x94)]?this[_0x1fd51b(0x7c)]():this[_0x1fd51b(0x86)]();});}[_0x4fa121(0x82)](){const _0x3e118a=_0x4fa121;this[_0x3e118a(0x7f)][_0x3e118a(0x95)](this[_0x3e118a(0x6f)]['id']);}[_0x4fa121(0x73)](){const _0x351701=_0x4fa121;this[_0x351701(0x93)][_0x351701(0x95)](this[_0x351701(0x6f)]['id']);}[_0x4fa121(0x83)](){const _0x4dc5f4=_0x4fa121;this[_0x4dc5f4(0x8d)][_0x4dc5f4(0x89)](_0x4dc5f4(0x70)),this[_0x4dc5f4(0x8d)][_0x4dc5f4(0x89)](_0x4dc5f4(0x88)),this[_0x4dc5f4(0x8d)][_0x4dc5f4(0x89)](_0x4dc5f4(0x77)),this[_0x4dc5f4(0x74)](),this[_0x4dc5f4(0x91)][_0x4dc5f4(0x83)](),this[_0x4dc5f4(0x6e)]&&this[_0x4dc5f4(0x86)]();}[_0x4fa121(0x7c)](){const _0x109708=_0x4fa121,_0x13089f=_0x1aed84(this[_0x109708(0x7a)][_0x109708(0x8f)],_0x109708(0x76));this[_0x109708(0x6e)]=this[_0x109708(0x7a)][_0x109708(0x71)][_0x109708(0x7b)](_0x109708(0x8e))[_0x109708(0x8b)](_0x13089f);}[_0x4fa121(0x86)](){const _0x2d536b=_0x4fa121;null!==this[_0x2d536b(0x6e)]&&this[_0x2d536b(0x7a)][_0x2d536b(0x71)][_0x2d536b(0x7b)](_0x2d536b(0x8e))[_0x2d536b(0x90)](this[_0x2d536b(0x6e)]),this[_0x2d536b(0x6e)]=null;}}function _0x7335(){const _0x39fdde=['_editor','get','_setPendingAction','1910228bOArzn','bind','_acceptCommand','10484613XMcaJb','4885540OevsqS','acceptSuggestion','destroy','801607MDXBvg','canEditAt','_removePendingAction','2945367zvQkRQ','canAccept','unbind','change:isDirty','add','4904192lGIRUM','view','PendingActions','locale','remove','commentThreadController','listenTo','_discardCommand','isDirty','execute','commands','_pendingAction','model','isEnabled','plugins','7574weONPc','discardSuggestion','stopListening','getRanges','PENDING_ACTION_SUGGESTION','canDiscard','2jUUXiY','8724XsTRjd'];_0x7335=function(){return _0x39fdde;};return _0x7335();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28fb18=_0x28c7;(function(_0x43960c,_0x1ce570){const _0x4a1bfc=_0x28c7,_0x56d6e0=_0x43960c();while(!![]){try{const _0x27e41b=parseInt(_0x4a1bfc(0x13f))/0x1*(-parseInt(_0x4a1bfc(0x148))/0x2)+parseInt(_0x4a1bfc(0x156))/0x3*(-parseInt(_0x4a1bfc(0x146))/0x4)+parseInt(_0x4a1bfc(0x154))/0x5+-parseInt(_0x4a1bfc(0x14f))/0x6+-parseInt(_0x4a1bfc(0x141))/0x7+parseInt(_0x4a1bfc(0x164))/0x8+-parseInt(_0x4a1bfc(0x13e))/0x9*(-parseInt(_0x4a1bfc(0x166))/0xa);if(_0x27e41b===_0x1ce570)break;else _0x56d6e0['push'](_0x56d6e0['shift']());}catch(_0x5ba4e1){_0x56d6e0['push'](_0x56d6e0['shift']());}}}(_0x670b,0xbdb84));import{FocusCycler as _0x10ba54,View as _0x1cf332,ViewCollection as _0x4758fe}from'ckeditor5/src/ui.js';function _0x28c7(_0x189a64,_0x1b09b1){const _0x670b8b=_0x670b();return _0x28c7=function(_0x28c7da,_0x38e0cd){_0x28c7da=_0x28c7da-0x123;let _0x33c481=_0x670b8b[_0x28c7da];return _0x33c481;},_0x28c7(_0x189a64,_0x1b09b1);}import{FocusTracker as _0x2b6e9a,KeystrokeHandler as _0x2ae4eb}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x285241,setupThreadKeyboardNavigation as _0x2f8e5a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x670b(){const _0xa4e166=['ariaDescriptionView','ariaLabel','text/html','bind','tab','updateComment','showInput','disableComments','body','target','length','2484LYOuPe','1089101wrGzoc','descriptionParts','5244428BwHhdP','element','isReadOnly','addComment','value','4DjfGWB','removeComment','2rwByPO','assign','fire','join','authoredAt','focusables','set','8173962MZzKqb','isEnabled','commentThread','content','editorConfig','3100735UCvTim','CommentView','3678471ZiogHX','render','editor','isDirty','destroy','cancel','isActive','commentsListView','delegate','_model','_createCommentViews','hasDirtyComment','shift+tab','SUGGESTION_THREAD_DESCRIPTION','2752784DDuEtV','_localUser','153610wnhwYJ','focusTracker','formatDateTime','focus','canAccept','setData','locale','commentThreadInputView','disabledSubmit','commentInputView','author','_createCommentThreadInputView','map','name','parseFromString','focusCycler','keystrokes','_config','SUGGESTION_THREAD_ARIA_LABEL','textContent','submit','canDiscard'];_0x670b=function(){return _0xa4e166;};return _0x670b();}import{getTranslation as _0x2400fe}from'../../utils/common-translations.js';import{renderDescription as _0x47ece2}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x1cf332{[_0x28fb18(0x15d)];[_0x28fb18(0x124)];[_0x28fb18(0x133)];[_0x28fb18(0x14d)];[_0x28fb18(0x167)];[_0x28fb18(0x12d)];[_0x28fb18(0x12c)];[_0x28fb18(0x15f)];[_0x28fb18(0x165)];[_0x28fb18(0x12e)];constructor(_0x92f02c,_0x11c141,_0x5d5d19,_0x215b1e){const _0x171449=_0x28fb18;super(_0x92f02c),this[_0x171449(0x15d)]=null,this[_0x171449(0x124)]=null,this[_0x171449(0x133)]=new _0x285241(_0x92f02c,_0x2400fe(_0x92f02c,_0x171449(0x163))),this[_0x171449(0x14e)](_0x171449(0x15c),!0x1),this[_0x171449(0x14e)](_0x171449(0x14c),_0x11c141[_0x171449(0x14c)]),this[_0x171449(0x136)](_0x171449(0x14c))['to'](_0x11c141),this[_0x171449(0x14e)](_0x171449(0x140),[]),this[_0x171449(0x14e)](_0x171449(0x159),!0x1),this[_0x171449(0x14e)](_0x171449(0x150),!0x1),this[_0x171449(0x14e)](_0x171449(0x16a),!0x1),this[_0x171449(0x14e)](_0x171449(0x132),!0x1),this[_0x171449(0x136)](_0x171449(0x134))['to'](this,_0x171449(0x13d),_0x11c141,_0x171449(0x14c),this,_0x171449(0x140),(_0xc6704a,_0x42b041,_0x217135)=>{const _0x4a4ed7=_0x171449,_0x360127=_0x217135[_0x4a4ed7(0x129)](_0x162bda=>_0x47ece2(_0x162bda[_0x4a4ed7(0x152)]))[_0x4a4ed7(0x14b)]('.\x20')+'.';return _0x2400fe(this[_0x4a4ed7(0x123)],_0x4a4ed7(0x12f),[_0xc6704a-0x1,_0x11c141[_0x4a4ed7(0x127)][_0x4a4ed7(0x12a)],_0x42b041?_0x215b1e[_0x4a4ed7(0x168)](_0x42b041):'',new DOMParser()[_0x4a4ed7(0x12b)](_0x360127,_0x4a4ed7(0x135))[_0x4a4ed7(0x13b)][_0x4a4ed7(0x130)]]);}),this[_0x171449(0x14d)]=new _0x4758fe(),this[_0x171449(0x167)]=new _0x2b6e9a(),this[_0x171449(0x12d)]=new _0x2ae4eb(),this[_0x171449(0x12c)]=new _0x10ba54({'focusables':this[_0x171449(0x14d)],'focusTracker':this[_0x171449(0x167)],'keystrokeHandler':this[_0x171449(0x12d)],'keystrokeHandlerOptions':{'filter':_0x441c45=>_0x441c45[_0x171449(0x13c)]!==this[_0x171449(0x142)]},'actions':{'focusPrevious':_0x171449(0x162),'focusNext':_0x171449(0x137)}}),this[_0x171449(0x15f)]=_0x11c141,this[_0x171449(0x165)]=_0x5d5d19,this[_0x171449(0x12e)]=_0x215b1e,_0x215b1e[_0x171449(0x13a)]?this[_0x171449(0x14e)](_0x171449(0x13d),0x1):this[_0x171449(0x160)]();}[_0x28fb18(0x157)](){const _0x3ab47e=_0x28fb18;super[_0x3ab47e(0x157)](),_0x2f8e5a(this,this[_0x3ab47e(0x14d)]);}[_0x28fb18(0x169)](){const _0x2e1755=_0x28fb18;this[_0x2e1755(0x142)][_0x2e1755(0x169)]();}[_0x28fb18(0x15a)](){const _0x2a022a=_0x28fb18;this[_0x2a022a(0x15d)]&&this[_0x2a022a(0x15d)][_0x2a022a(0x15a)](),this[_0x2a022a(0x124)]&&this[_0x2a022a(0x124)][_0x2a022a(0x15a)](),super[_0x2a022a(0x15a)]();}[_0x28fb18(0x160)](){const _0x597eac=_0x28fb18,{CommentsListView:_0x15ec1a}=this[_0x597eac(0x12e)];this[_0x597eac(0x15d)]=new _0x15ec1a(this[_0x597eac(0x123)],this[_0x597eac(0x15f)][_0x597eac(0x151)],Object[_0x597eac(0x149)]({'CommentView':this[_0x597eac(0x12e)][_0x597eac(0x155)]},this[_0x597eac(0x12e)])),this[_0x597eac(0x15d)][_0x597eac(0x15e)](_0x597eac(0x147))['to'](this),this[_0x597eac(0x15d)][_0x597eac(0x15e)](_0x597eac(0x138))['to'](this),this[_0x597eac(0x15d)][_0x597eac(0x136)](_0x597eac(0x15c))['to'](this),this[_0x597eac(0x14e)](_0x597eac(0x13d),this[_0x597eac(0x15d)][_0x597eac(0x13d)]+0x1),this[_0x597eac(0x136)](_0x597eac(0x13d))['to'](this[_0x597eac(0x15d)],_0x597eac(0x13d),_0x1c885c=>_0x1c885c+0x1),this[_0x597eac(0x124)]=this[_0x597eac(0x128)](),this['on'](_0x597eac(0x147),()=>this[_0x597eac(0x169)]()),this[_0x597eac(0x136)](_0x597eac(0x159))['to'](this[_0x597eac(0x15d)],_0x597eac(0x161),this[_0x597eac(0x124)][_0x597eac(0x126)],_0x597eac(0x145),(_0x5f5cec,_0x1470f2)=>_0x5f5cec||!!_0x1470f2);}[_0x28fb18(0x128)](){const _0x151636=_0x28fb18,{CommentThreadInputView:_0x189e9a}=this[_0x151636(0x12e)],_0x32215e=new _0x189e9a(this[_0x151636(0x123)],this[_0x151636(0x165)],this[_0x151636(0x12e)][_0x151636(0x153)]),_0x4b5858=_0x32215e[_0x151636(0x126)];return _0x32215e[_0x151636(0x136)](_0x151636(0x139))['to'](this,_0x151636(0x15c),this[_0x151636(0x15f)][_0x151636(0x151)],_0x151636(0x143),_0x4b5858,_0x151636(0x145),(_0x20ea2e,_0x514799,_0x466b2f)=>!!_0x466b2f||_0x20ea2e&&!_0x514799),_0x4b5858['on'](_0x151636(0x131),(_0x44af43,_0x2de72b)=>{const _0x1a6126=_0x151636;this[_0x1a6126(0x14a)](_0x1a6126(0x144),_0x2de72b),_0x4b5858[_0x1a6126(0x158)][_0x1a6126(0x16b)]('');}),_0x4b5858['on'](_0x151636(0x15b),()=>this[_0x151636(0x169)]()),_0x4b5858[_0x151636(0x136)](_0x151636(0x125))['to'](this[_0x151636(0x15f)][_0x151636(0x151)],_0x151636(0x143)),_0x32215e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x46b8(){const _0x423c4f=['type','</p>','ariaDescriptionView','canAccept','disableComments','ck-suggestion-wrapper--active','ck-suggestion-','set','description','1guyyIa','_config','bindTemplate','8BBFkXS','add','269334FoWuJn','acceptSuggestion','_descriptionElement','descriptionParts','commentThreadInputView','listitem','discardButton','div','render','263560QpIAOD','isEnabled','ck-suggestion-wrapper','discardSuggestion','color','push','canDiscard','getTemplate','acceptButton','editorReady','1136169bxeMNk','bind','formatDateTime','commentThread','focusables','ariaLabel','content','editorDestroyed','isActive','ck-rounded-corners','suggestionView','466908lEIshr','commentsListView','setTemplate','752780LSnmsU','278902rDJtvE','<p>','_model','author','1471182piFLUO','ck-suggestion--disabled-comments','delegate','SuggestionView'];_0x46b8=function(){return _0x423c4f;};return _0x46b8();}const _0x4076c7=_0x51fd;function _0x51fd(_0x68caac,_0x1660dd){const _0x46b828=_0x46b8();return _0x51fd=function(_0x51fd80,_0x5d9986){_0x51fd80=_0x51fd80-0x1d1;let _0x4d31cd=_0x46b828[_0x51fd80];return _0x4d31cd;},_0x51fd(_0x68caac,_0x1660dd);}(function(_0x14fde0,_0x348493){const _0x557c05=_0x51fd,_0x266603=_0x14fde0();while(!![]){try{const _0x89914a=parseInt(_0x557c05(0x1d9))/0x1*(-parseInt(_0x557c05(0x200))/0x2)+parseInt(_0x557c05(0x1f1))/0x3+parseInt(_0x557c05(0x1fc))/0x4+parseInt(_0x557c05(0x1e7))/0x5+-parseInt(_0x557c05(0x204))/0x6+parseInt(_0x557c05(0x1ff))/0x7+parseInt(_0x557c05(0x1dc))/0x8*(-parseInt(_0x557c05(0x1de))/0x9);if(_0x89914a===_0x348493)break;else _0x266603['push'](_0x266603['shift']());}catch(_0xaadbaa){_0x266603['push'](_0x266603['shift']());}}}(_0x46b8,0x3ade8));import{BaseSuggestionThreadView as _0x2820f0}from'./basesuggestionthreadview.js';import{trimHtml as _0x1ee631}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x52932b}from'../../utils/utils.js';export class SuggestionThreadView extends _0x2820f0{[_0x4076c7(0x1fb)];[_0x4076c7(0x1e0)];constructor(_0x3d740b,_0x355c1,_0x4f5987,_0x3e760c){const _0x93b08f=_0x4076c7;super(_0x3d740b,_0x355c1,_0x4f5987,_0x3e760c),this[_0x93b08f(0x1d7)](_0x93b08f(0x208),''),this[_0x93b08f(0x1f2)](_0x93b08f(0x208))['to'](this,_0x93b08f(0x1e1),_0x2fdd57=>_0x2fdd57&&_0x2fdd57[0x0]?_0x2fdd57[0x0][_0x93b08f(0x208)]:''),this[_0x93b08f(0x1f2)](_0x93b08f(0x1d8))['to'](this,_0x93b08f(0x1e1),this,_0x93b08f(0x1f9),(_0x1c4254,_0x4dab64)=>{const _0x22f01c=_0x93b08f;let _0x524303='';for(const _0x3b89d3 of _0x1c4254)_0x524303+=_0x22f01c(0x201)+_0x52932b(_0x3b89d3[_0x22f01c(0x1f7)],_0x3b89d3[_0x22f01c(0x1eb)])+_0x22f01c(0x1d1);return _0x4dab64?_0x524303:_0x1ee631(_0x524303,{'limit':0x8c});}),this[_0x93b08f(0x1e0)]=null,this[_0x93b08f(0x1fb)]=new _0x3e760c[(_0x93b08f(0x207))](_0x3d740b,_0x355c1,{'formatDateTime':_0x3e760c[_0x93b08f(0x1f3)]}),this[_0x93b08f(0x1fb)][_0x93b08f(0x1f2)](_0x93b08f(0x1d8))['to'](this),this[_0x93b08f(0x1fb)][_0x93b08f(0x206)](_0x93b08f(0x1df),_0x93b08f(0x1ea))['to'](this),this[_0x93b08f(0x1fb)][_0x93b08f(0x1ef)][_0x93b08f(0x1f2)](_0x93b08f(0x1e8))['to'](this,_0x93b08f(0x1d3)),this[_0x93b08f(0x1fb)][_0x93b08f(0x1e4)][_0x93b08f(0x1f2)](_0x93b08f(0x1e8))['to'](this,_0x93b08f(0x1ed)),this[_0x93b08f(0x1f5)][_0x93b08f(0x1dd)](this[_0x93b08f(0x1fb)]),this[_0x93b08f(0x1fd)]&&this[_0x93b08f(0x1f5)][_0x93b08f(0x1dd)](this[_0x93b08f(0x1fd)]),this[_0x93b08f(0x1e2)]&&this[_0x93b08f(0x1f5)][_0x93b08f(0x1dd)](this[_0x93b08f(0x1e2)]),this[_0x93b08f(0x1fe)](this[_0x93b08f(0x1ee)]());}[_0x4076c7(0x1ee)](){const _0x3380fd=_0x4076c7,_0x5293e4=this[_0x3380fd(0x1db)],_0x45c6af=[this[_0x3380fd(0x1fb)]];return this[_0x3380fd(0x1fd)]&&_0x45c6af[_0x3380fd(0x1ec)](this[_0x3380fd(0x1fd)]),this[_0x3380fd(0x1e2)]&&_0x45c6af[_0x3380fd(0x1ec)](this[_0x3380fd(0x1e2)]),_0x45c6af[_0x3380fd(0x1ec)](this[_0x3380fd(0x1d2)]),{'tag':_0x3380fd(0x1e5),'attributes':{'class':['ck',_0x3380fd(0x1fa),_0x3380fd(0x1e9),_0x5293e4['if'](_0x3380fd(0x1f9),_0x3380fd(0x1d5)),_0x5293e4['to'](_0x3380fd(0x208),_0x5c5b9a=>_0x3380fd(0x1d6)+_0x5c5b9a),this[_0x3380fd(0x1da)][_0x3380fd(0x1d4)]&&_0x3380fd(0x205)],'data-suggestion-id':this[_0x3380fd(0x202)]['id'],'data-thread-id':this[_0x3380fd(0x202)][_0x3380fd(0x1f4)]['id'],'data-author-id':this[_0x3380fd(0x202)][_0x3380fd(0x203)]['id'],'tabindex':0x0,'role':_0x3380fd(0x1e3),'aria-label':_0x5293e4['to'](_0x3380fd(0x1f6)),'aria-describedby':this[_0x3380fd(0x1d2)]['id']},'children':_0x45c6af};}[_0x4076c7(0x1e6)](){const _0x22f607=_0x4076c7;super[_0x22f607(0x1e6)](),this[_0x22f607(0x1fd)]&&(this[_0x22f607(0x1fd)][_0x22f607(0x206)](_0x22f607(0x1f0))['to'](this),this[_0x22f607(0x1fd)][_0x22f607(0x206)](_0x22f607(0x1f8))['to'](this)),this[_0x22f607(0x1e2)]&&(this[_0x22f607(0x1e2)][_0x22f607(0x206)](_0x22f607(0x1f0))['to'](this),this[_0x22f607(0x1e2)][_0x22f607(0x206)](_0x22f607(0x1f8))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x377d93=_0x5e81;function _0x12b3(){const _0x1c1276=['ck-annotation','ck-annotation__actions','tab','discardSuggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','2307718juwAxv','21frTiBi','discardButton','ck-suggestion--discard','focusFirst','execute','add','467944YNNUra','ck-suggestion__main','ck-annotation__info-time','change:description','keystrokes','setTemplate','esc','getExternalSuggestionNote','focusTracker','focusables','16889616nqYqud','set','locale','EXTERNAL_AVATAR','querySelector','ck-annotation__info','isExternal','acceptButton','shift+tab','ck-suggestion--accept','ck-comment__info-time','bind','192654vQyhPX','listenTo','Accept\x20suggestion','target','author','@external','ck-annotation__user','name','ck-annotation__main','element','getUserViewNotificationText','1902325pjNNZH','6VtXVLF','extendTemplate','Discard\x20suggestion','_model','attributes','userView','_config','EXTERNAL_IMPORT_WORD_AVATAR','_setupKeyboardNavigation','ck-suggestion__info-name','creator','div','focus','acceptSuggestion','ck-suggestion__user','presentation','bindTemplate','span','description','3796736uqFNBW','ck-annotation__info-name','time','getTemplate','formatDateTime','_createButton','.ck-annotation__content-wrapper','push','importWord','focusCycler','ck-suggestion','ck-suggestion__info','source','ck-annotation__content-wrapper','5921153QuLmkK','render','ck-suggestion__actions','fire','innerHTML','authoredAt','ck-comment__external','EXTERNAL_SUGGESTION','enter'];_0x12b3=function(){return _0x1c1276;};return _0x12b3();}function _0x5e81(_0x587d1a,_0x1d34e1){const _0x12b375=_0x12b3();return _0x5e81=function(_0x5e8195,_0x4eb249){_0x5e8195=_0x5e8195-0x1cd;let _0x4827f3=_0x12b375[_0x5e8195];return _0x4827f3;},_0x5e81(_0x587d1a,_0x1d34e1);}(function(_0x34bac1,_0x3228df){const _0x323131=_0x5e81,_0x9e3b6=_0x34bac1();while(!![]){try{const _0x5d71c9=-parseInt(_0x323131(0x219))/0x1+-parseInt(_0x323131(0x1fc))/0x2+parseInt(_0x323131(0x1fd))/0x3*(parseInt(_0x323131(0x203))/0x4)+parseInt(_0x323131(0x224))/0x5*(-parseInt(_0x323131(0x1cd))/0x6)+-parseInt(_0x323131(0x1ee))/0x7+parseInt(_0x323131(0x1e0))/0x8+parseInt(_0x323131(0x20d))/0x9;if(_0x5d71c9===_0x3228df)break;else _0x9e3b6['push'](_0x9e3b6['shift']());}catch(_0x25f72f){_0x9e3b6['push'](_0x9e3b6['shift']());}}}(_0x12b3,0x91d0d));import{FocusTracker as _0x17b91b,KeystrokeHandler as _0x3933de}from'ckeditor5/src/utils.js';import{View as _0xb25df8,ViewCollection as _0x10cf64,FocusCycler as _0x14a21f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3fcca5,UserView as _0x28ce04}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x52316b,IconCheck as _0x155904}from'ckeditor5/src/icons.js';import{getTranslation as _0x2cbe1f}from'../../utils/common-translations.js';export class SuggestionView extends _0xb25df8{[_0x377d93(0x1d2)];[_0x377d93(0x214)];[_0x377d93(0x1fe)];[_0x377d93(0x20c)];[_0x377d93(0x20b)];[_0x377d93(0x207)];[_0x377d93(0x1e9)];[_0x377d93(0x1d0)];[_0x377d93(0x1d3)];constructor(_0x5dd7bb,_0x3225f9,_0x316d30){const _0x5a1931=_0x377d93;super(_0x5dd7bb),this[_0x5a1931(0x1d0)]=_0x3225f9,this[_0x5a1931(0x1d3)]=_0x316d30,this[_0x5a1931(0x20e)](_0x5a1931(0x1df),''),this[_0x5a1931(0x218)](_0x5a1931(0x1f3))['to'](_0x3225f9),this[_0x5a1931(0x214)]=this[_0x5a1931(0x1e5)](_0x2cbe1f(_0x5dd7bb,_0x5a1931(0x21b)),_0x155904,_0x5a1931(0x216),_0x5a1931(0x1da),'sw'),this[_0x5a1931(0x1fe)]=this[_0x5a1931(0x1e5)](_0x2cbe1f(_0x5dd7bb,_0x5a1931(0x1cf)),_0x52316b,_0x5a1931(0x1ff),_0x5a1931(0x1fa),'sw'),this[_0x5a1931(0x1d2)]=new _0x28ce04(_0x5dd7bb,_0x3225f9[_0x5a1931(0x21d)],this[_0x5a1931(0x223)]()),this[_0x5a1931(0x1d2)][_0x5a1931(0x1ce)]({'attributes':{'class':[_0x5a1931(0x1db),_0x5a1931(0x21f)],'aria-hidden':!0x0}}),this[_0x5a1931(0x20c)]=new _0x10cf64([this[_0x5a1931(0x214)],this[_0x5a1931(0x1fe)]]),this[_0x5a1931(0x20b)]=new _0x17b91b(),this[_0x5a1931(0x207)]=new _0x3933de(),this[_0x5a1931(0x1e9)]=new _0x14a21f({'focusables':this[_0x5a1931(0x20c)],'focusTracker':this[_0x5a1931(0x20b)],'keystrokeHandler':this[_0x5a1931(0x207)],'actions':{'focusPrevious':_0x5a1931(0x215),'focusNext':_0x5a1931(0x1f9)},'keystrokeHandlerOptions':{'filter':_0x29dfad=>_0x29dfad[_0x5a1931(0x21c)]!==this[_0x5a1931(0x222)]}}),this[_0x5a1931(0x208)](this[_0x5a1931(0x1e3)]());}[_0x377d93(0x1ef)](){const _0x55d5f9=_0x377d93;super[_0x55d5f9(0x1ef)]();const _0x1afbfb=this[_0x55d5f9(0x222)][_0x55d5f9(0x211)](_0x55d5f9(0x1e6));_0x1afbfb[_0x55d5f9(0x1f2)]=this[_0x55d5f9(0x1df)],this['on'](_0x55d5f9(0x206),(_0x3c71f2,_0x17b71e,_0x3187a0)=>{const _0xb827d8=_0x55d5f9;_0x1afbfb[_0xb827d8(0x1f2)]=_0x3187a0;}),this[_0x55d5f9(0x1d5)]();}[_0x377d93(0x1e3)](){const _0x38ef04=_0x377d93,_0xdb9286=this[_0x38ef04(0x1dd)],_0x16d8c4=[{'tag':_0x38ef04(0x1d8),'attributes':{'class':[_0x38ef04(0x1eb),_0x38ef04(0x212)]},'children':[{'tag':_0x38ef04(0x1de),'children':[{'text':this[_0x38ef04(0x1d2)][_0x38ef04(0x220)]}],'attributes':{'class':[_0x38ef04(0x1d6),_0x38ef04(0x1e1)],'data-cke-tooltip-text':this[_0x38ef04(0x1d2)][_0x38ef04(0x220)]}},{'tag':_0x38ef04(0x1e2),'attributes':{'datetime':_0xdb9286['to'](_0x38ef04(0x1f3)),'class':[_0x38ef04(0x217),_0x38ef04(0x205)]},'children':[{'text':_0xdb9286['to'](_0x38ef04(0x1f3),_0x2e784f=>this[_0x38ef04(0x1d3)][_0x38ef04(0x1e4)](_0x2e784f))}]}]},{'tag':_0x38ef04(0x1d8),'attributes':{'class':[_0x38ef04(0x1f0),_0x38ef04(0x1f8)]},'children':[this[_0x38ef04(0x214)],this[_0x38ef04(0x1fe)]]},{'tag':_0x38ef04(0x1d8),'attributes':{'class':[_0x38ef04(0x1ed)]}}];return this[_0x38ef04(0x1d0)][_0x38ef04(0x213)]&&_0x16d8c4[_0x38ef04(0x1e7)]({'tag':_0x38ef04(0x1d8),'attributes':{'class':[_0x38ef04(0x1f4)]},'children':[{'text':this[_0x38ef04(0x20a)]()}]}),{'tag':_0x38ef04(0x1d8),'attributes':{'class':[_0x38ef04(0x1ea),_0x38ef04(0x1f7)],'tabindex':-0x1},'children':[this[_0x38ef04(0x1d2)],{'tag':_0x38ef04(0x1d8),'attributes':{'class':[_0x38ef04(0x204),_0x38ef04(0x221)],'role':_0x38ef04(0x1dc)},'children':_0x16d8c4}]};}[_0x377d93(0x1d9)](){const _0x7bb773=_0x377d93;this[_0x7bb773(0x222)][_0x7bb773(0x1d9)]();}[_0x377d93(0x223)](){const _0x3027d7=_0x377d93;return this[_0x3027d7(0x1d0)][_0x3027d7(0x213)]?_0x3027d7(0x1e8)===this[_0x3027d7(0x1d0)][_0x3027d7(0x1d1)][_0x3027d7(0x21e)][_0x3027d7(0x1ec)]?_0x2cbe1f(this[_0x3027d7(0x20f)],_0x3027d7(0x1d4),this[_0x3027d7(0x1d0)][_0x3027d7(0x1d7)][_0x3027d7(0x220)]):_0x2cbe1f(this[_0x3027d7(0x20f)],_0x3027d7(0x210),this[_0x3027d7(0x1d0)][_0x3027d7(0x1d7)][_0x3027d7(0x220)]):null;}[_0x377d93(0x20a)](){const _0x102a1b=_0x377d93;return _0x102a1b(0x1e8)===this[_0x102a1b(0x1d0)][_0x102a1b(0x1d1)][_0x102a1b(0x21e)][_0x102a1b(0x1ec)]?_0x2cbe1f(this[_0x102a1b(0x20f)],_0x102a1b(0x1fb)):_0x2cbe1f(this[_0x102a1b(0x20f)],_0x102a1b(0x1f5));}[_0x377d93(0x1e5)](_0x232b10,_0x182eb9,_0x5ad03b,_0x5bc382,_0x5d833a){const _0x43dc51=_0x377d93,_0x4760f2=new _0x3fcca5(this[_0x43dc51(0x20f)]);return _0x4760f2[_0x43dc51(0x20e)]({'label':_0x232b10,'icon':_0x182eb9,'tooltip':!0x0,'tooltipPosition':_0x5d833a}),_0x4760f2[_0x43dc51(0x1ce)]({'attributes':{'class':_0x5ad03b}}),_0x4760f2['on'](_0x43dc51(0x201),()=>{const _0x2d4abb=_0x43dc51;this[_0x2d4abb(0x1f1)](_0x5bc382,this[_0x2d4abb(0x1d0)]['id']);}),_0x4760f2;}[_0x377d93(0x1d5)](){const _0x542fe0=_0x377d93,_0x5ecbb9=this[_0x542fe0(0x222)];this[_0x542fe0(0x207)][_0x542fe0(0x21a)](_0x5ecbb9);for(const _0x3768f0 of this[_0x542fe0(0x20c)])this[_0x542fe0(0x20b)][_0x542fe0(0x202)](_0x3768f0[_0x542fe0(0x222)]),this[_0x542fe0(0x207)][_0x542fe0(0x21a)](_0x3768f0[_0x542fe0(0x222)]);this[_0x542fe0(0x207)][_0x542fe0(0x20e)](_0x542fe0(0x1f6),(_0x251cec,_0x498f64)=>{const _0x458099=_0x542fe0;_0x5ecbb9===_0x251cec[_0x458099(0x21c)]&&(this[_0x458099(0x1e9)][_0x458099(0x200)](),_0x498f64());}),this[_0x542fe0(0x207)][_0x542fe0(0x20e)](_0x542fe0(0x209),(_0x172c47,_0x3229d0)=>{const _0x1972ce=_0x542fe0;_0x5ecbb9!==_0x172c47[_0x1972ce(0x21c)]&&(this[_0x1972ce(0x1d9)](),_0x3229d0());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40a5f5=_0x29d3;function _0x29d3(_0x5de49c,_0x1c7a69){const _0x3de272=_0x3de2();return _0x29d3=function(_0x29d3c7,_0x415dfb){_0x29d3c7=_0x29d3c7-0xc6;let _0x511de3=_0x3de272[_0x29d3c7];return _0x511de3;},_0x29d3(_0x5de49c,_0x1c7a69);}(function(_0x4551f1,_0x330be3){const _0x4d9249=_0x29d3,_0x282b07=_0x4551f1();while(!![]){try{const _0x45329b=parseInt(_0x4d9249(0xe3))/0x1+-parseInt(_0x4d9249(0xd0))/0x2*(parseInt(_0x4d9249(0xd1))/0x3)+-parseInt(_0x4d9249(0xcc))/0x4+-parseInt(_0x4d9249(0xca))/0x5*(-parseInt(_0x4d9249(0xe4))/0x6)+-parseInt(_0x4d9249(0xda))/0x7*(parseInt(_0x4d9249(0xdd))/0x8)+-parseInt(_0x4d9249(0xd7))/0x9+parseInt(_0x4d9249(0xc7))/0xa*(parseInt(_0x4d9249(0xd5))/0xb);if(_0x45329b===_0x330be3)break;else _0x282b07['push'](_0x282b07['shift']());}catch(_0x2f3547){_0x282b07['push'](_0x282b07['shift']());}}}(_0x3de2,0xdc555));import{View as _0x4f1b2d}from'ckeditor5/src/ui.js';function _0x3de2(){const _0x3eccc5=['setAttribute','2178668NwlcxR','render','fire','focus','2qwVvPt','3954417rHmVXK','push','style','ck-track-changes-preview','891572qPJqjO','height','7032969IlxDyZ','data-ck-root-name','ck-reset','2095219JODteu','width','classes','8rUPYbd','innerHTML','\x20ck-track-changes-preview__root-container','createElement','options','setTemplate','327645mUUeHF','1873422kWEQwr','content','dialogRects','element','setPreviewData','div','280YYjKSn','previewDataReady','className','20puFCiU'];_0x3de2=function(){return _0x3eccc5;};return _0x3de2();}export class TrackChangesPreviewView extends _0x4f1b2d{[_0x40a5f5(0xe1)];constructor(_0x29e430,_0x1d5c7b){const _0x4fb441=_0x40a5f5;super(_0x29e430),this[_0x4fb441(0xe1)]=_0x1d5c7b,this[_0x4fb441(0xe2)]({'tag':_0x4fb441(0xc6),'attributes':{'class':['ck',_0x4fb441(0xd9),_0x4fb441(0xd4)],'tabindex':-0x1}});}[_0x40a5f5(0xcd)](){const _0xc740fa=_0x40a5f5;super[_0xc740fa(0xcd)](),this[_0xc740fa(0xe7)][_0xc740fa(0xd3)][_0xc740fa(0xdb)]=this[_0xc740fa(0xe1)][_0xc740fa(0xe6)][_0xc740fa(0xdb)]+'px',this[_0xc740fa(0xe7)][_0xc740fa(0xd3)][_0xc740fa(0xd6)]=this[_0xc740fa(0xe1)][_0xc740fa(0xe6)][_0xc740fa(0xd6)]+'px';}[_0x40a5f5(0xe8)](_0x42b344,_0x3284de){const _0x2783e8=_0x40a5f5;if(!this[_0x2783e8(0xe7)])return;const _0x71e169=[];for(const [_0x1282fa,_0x43cf5f]of _0x42b344){const _0x147539=document[_0x2783e8(0xe0)](_0x2783e8(0xc6));_0x147539[_0x2783e8(0xcb)](_0x2783e8(0xd8),_0x1282fa),_0x147539[_0x2783e8(0xc9)]=_0x43cf5f[_0x2783e8(0xdc)]+_0x2783e8(0xdf),_0x147539[_0x2783e8(0xde)]=_0x43cf5f[_0x2783e8(0xe5)],_0x71e169[_0x2783e8(0xd2)](_0x147539);}_0x3284de(this[_0x2783e8(0xe7)],_0x71e169),this[_0x2783e8(0xe7)][_0x2783e8(0xd3)][_0x2783e8(0xd6)]='',this[_0x2783e8(0xce)](_0x2783e8(0xc8));}[_0x40a5f5(0xcf)](){const _0xa31e8f=_0x40a5f5;this[_0xa31e8f(0xe7)][_0xa31e8f(0xcf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4ed549,_0x251808,_0x3b4644){const _0x2eb0a0=_0x4ed549['t'],t=_0x4ed549['t'];switch(_0x251808){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',_0x3b4644);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3b4644);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3b4644);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3b4644);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3b4644);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',_0x3b4644);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3b4644);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',_0x3b4644);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3b4644);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3b4644);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3b4644);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3b4644);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3b4644);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3b4644);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3b4644);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3b4644);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3b4644);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3b4644);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3b4644);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3b4644);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3b4644);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3b4644);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3b4644);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3b4644);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3b4644);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'},_0x3b4644);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3b4644);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3b4644);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3b4644);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3b4644);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3b4644);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3b4644);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3b4644);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3b4644);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3b4644);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3b4644);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3b4644);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3b4644);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3b4644);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3b4644);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 _0x2eb0a0({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3b4644);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2eb0a0({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3b4644);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x251808;}}
|
|
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;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d487c,_0x15939d){const _0xcfe846=_0x468b,_0x417e73=_0x1d487c();while(!![]){try{const _0x43fa91=-parseInt(_0xcfe846(0xee))/0x1*(parseInt(_0xcfe846(0x102))/0x2)+-parseInt(_0xcfe846(0xe4))/0x3+-parseInt(_0xcfe846(0xf8))/0x4*(parseInt(_0xcfe846(0xff))/0x5)+-parseInt(_0xcfe846(0xfa))/0x6+-parseInt(_0xcfe846(0xeb))/0x7+parseInt(_0xcfe846(0x109))/0x8+-parseInt(_0xcfe846(0xd6))/0x9*(-parseInt(_0xcfe846(0xd5))/0xa);if(_0x43fa91===_0x15939d)break;else _0x417e73['push'](_0x417e73['shift']());}catch(_0x43ea8f){_0x417e73['push'](_0x417e73['shift']());}}}(_0x3e51,0x53b60));export function normalizeDescription(_0x51d3d4){const _0x373828=_0x468b;return Array[_0x373828(0xe5)](_0x51d3d4)||(_0x51d3d4=[_0x51d3d4]),_0x51d3d4[_0x373828(0xdb)](_0x14249c=>{const _0x20ca5e=_0x373828,_0x13c23e=_0x14249c[_0x20ca5e(0x107)][_0x20ca5e(0xfb)](/\*/g,''),_0x187011=_0x14249c[_0x20ca5e(0xf9)]?_0x20ca5e(0x106)+_0x14249c[_0x20ca5e(0xf9)][_0x20ca5e(0xf1)]+']':'';return'['+_0x14249c[_0x20ca5e(0xe7)]+']\x20'+_0x13c23e+_0x187011;})[_0x373828(0xdf)](';\x20');}export function renderDescription(_0x11ac04,_0x4311de){const _0x2d2639=_0x468b;let _0x214551='';return _0x214551+=_0x11ac04[_0x2d2639(0x10a)]('*')[_0x2d2639(0xdb)]((_0x2be413,_0x29012f)=>_0x29012f%0x2!=0x0?_0x2d2639(0xde)+rn(_0x2be413)+_0x2d2639(0xd4):rn(_0x2be413))[_0x2d2639(0xdf)](''),_0x4311de&&(_0x214551+=_0x2d2639(0xe8)+_0x4311de[_0x2d2639(0xf1)]+_0x2d2639(0xe9)+_0x4311de[_0x2d2639(0xe3)]+_0x2d2639(0xd8)),_0x214551;}function rn(_0x4f1438){const _0x57d9a8=_0x468b,_0x1b55c9=document[_0x57d9a8(0x108)](_0x57d9a8(0xd7));return _0x1b55c9[_0x57d9a8(0xf4)]=_0x4f1438,_0x1b55c9[_0x57d9a8(0xdc)];}export function sortSuggestions(_0x393403){const _0x23782e=_0x468b;return _0x393403[_0x23782e(0x101)]((_0x56f387,_0x6d5703)=>_0x23782e(0x103)===_0x56f387[_0x23782e(0xe7)]&&_0x23782e(0x103)!==_0x6d5703[_0x23782e(0xe7)]?-0x1:_0x23782e(0x103)!==_0x56f387[_0x23782e(0xe7)]&&_0x23782e(0x103)===_0x6d5703[_0x23782e(0xe7)]?0x1:_0x23782e(0xe2)==_0x56f387[_0x23782e(0xe7)]&&_0x23782e(0xe2)!=_0x6d5703[_0x23782e(0xe7)]?-0x1:_0x23782e(0xe2)!=_0x56f387[_0x23782e(0xe7)]&&_0x23782e(0xe2)==_0x6d5703[_0x23782e(0xe7)]?0x1:0x0);}export function getSelectedSuggestions(_0xe4f55c,_0x57e80d){const _0x44f2e9=_0x468b,_0x30aa2a=Array[_0x44f2e9(0xfe)](_0xe4f55c[_0x44f2e9(0xf7)]()),_0x34b59d=new Set();for(const _0x20036f of _0x57e80d)if(_0x20036f[_0x44f2e9(0xed)]){for(const _0x2803e6 of _0x30aa2a)for(const _0x3d408b of _0x20036f[_0x44f2e9(0xf7)]())(_0x2803e6[_0x44f2e9(0xd9)](_0x3d408b)||_0xe4f55c[_0x44f2e9(0xe1)]&&!_0x20036f[_0x44f2e9(0xea)]&&_0x20036f[_0x44f2e9(0xf3)]&&_0x3d408b[_0x44f2e9(0xdd)][_0x44f2e9(0x104)](_0x2803e6[_0x44f2e9(0xef)]))&&_0x34b59d[_0x44f2e9(0xec)](_0x20036f);}return _0x34b59d;}export function getRangesOfBlockGroups(_0x4c3507,_0x18974e){const _0x2d894a=_0x468b;let _0x14cdf4,_0x4e4c5f=0x0;const _0x4ac813=[],_0x5ba08a=_0x18974e[_0x2d894a(0xf2)];for(;_0x4e4c5f<_0x4c3507[_0x2d894a(0x100)];){const _0x28f5ff=_0x4c3507[_0x4e4c5f],_0x11bc61=_0x4c3507[_0x4e4c5f+0x1];_0x14cdf4||(_0x14cdf4=_0x18974e[_0x2d894a(0xf6)](_0x28f5ff)),cn(_0x18974e,_0x28f5ff,_0x11bc61)||(_0x4ac813[_0x2d894a(0xfc)](_0x18974e[_0x2d894a(0xf5)](_0x14cdf4,_0x5ba08a[_0x2d894a(0xda)](_0x28f5ff)?_0x18974e[_0x2d894a(0xf0)](_0x28f5ff):_0x18974e[_0x2d894a(0xe0)](_0x28f5ff,_0x2d894a(0xdd)))),_0x14cdf4=null),_0x4e4c5f++;}return _0x4ac813;}function _0x3e51(){const _0x5169b5=['2122504QOjsjk','split','</span>','130lGLjBz','1420767riGLFK','span','\x22></span>','isIntersecting','isObject','map','innerHTML','end','<span\x20class=\x22ck-suggestion-type\x22>','join','createPositionAt','isCollapsed','deletion','title','1327977mZuOWv','isArray','execute','type','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','\x22\x20title=\x22','isMultiRange','3582026OFXWAU','add','isInContent','73IbucTK','start','createPositionAfter','value','schema','next','innerText','createRange','createPositionBefore','getRanges','228dBjDjK','color','2421954ulOsyg','replace','push','change','from','45835opGTdn','length','sort','2578GKdnaa','attribute','isTouching','splice','\x20[color\x20','content','createElement'];_0x3e51=function(){return _0x5169b5;};return _0x3e51();}function cn(_0x1c2da7,_0x5cc85c,_0x461b28){const _0x12557e=_0x468b;if(!_0x461b28)return!0x1;const _0x51445d=_0x1c2da7[_0x12557e(0xf0)](_0x5cc85c),_0x294d2a=_0x1c2da7[_0x12557e(0xf6)](_0x461b28);return _0x51445d[_0x12557e(0x104)](_0x294d2a);}function _0x468b(_0x10eab9,_0x19de1a){const _0x3e5141=_0x3e51();return _0x468b=function(_0x468b2d,_0x2456a0){_0x468b2d=_0x468b2d-0xd4;let _0x2b2a6a=_0x3e5141[_0x468b2d];return _0x2b2a6a;},_0x468b(_0x10eab9,_0x19de1a);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x302072,_0x464848,_0x47e063){const _0xe12b43=_0x468b;for(;_0x47e063[_0xe12b43(0x100)];){const _0x4a0838=_0x47e063[_0xe12b43(0x105)](0x0,0x64);_0x302072[_0xe12b43(0xfd)](()=>{const _0x2563b8=_0xe12b43;for(const _0x5af19e of _0x4a0838)_0x5af19e[_0x2563b8(0xed)]&&_0x464848[_0x2563b8(0xe6)](_0x5af19e['id']);});}}
|