@ckeditor/ckeditor5-track-changes 47.2.0 → 47.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x33d23b=_0x1d26;(function(_0x1fb6c7,_0x1305e4){const _0x12d143=_0x1d26,_0x2549ab=_0x1fb6c7();while(!![]){try{const _0x4c1bf7=-parseInt(_0x12d143(0x1fc))/0x1+parseInt(_0x12d143(0x1f5))/0x2+parseInt(_0x12d143(0x1f7))/0x3+parseInt(_0x12d143(0x1fd))/0x4*(parseInt(_0x12d143(0x208))/0x5)+-parseInt(_0x12d143(0x202))/0x6*(parseInt(_0x12d143(0x1fe))/0x7)+-parseInt(_0x12d143(0x200))/0x8*(-parseInt(_0x12d143(0x204))/0x9)+parseInt(_0x12d143(0x1fb))/0xa*(-parseInt(_0x12d143(0x1f9))/0xb);if(_0x4c1bf7===_0x1305e4)break;else _0x2549ab['push'](_0x2549ab['shift']());}catch(_0x49e0fb){_0x2549ab['push'](_0x2549ab['shift']());}}}(_0x11df,0x385b4));import{Plugin as _0x385c64}from'ckeditor5/src/core.js';import{Dialog as _0x50f430}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5ab3ee}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x1c65a8}from'./commands/previewfinalcontentcommand.js';function _0x1d26(_0x20b5fd,_0x3224b5){const _0x11dfff=_0x11df();return _0x1d26=function(_0x1d2629,_0x3c786f){_0x1d2629=_0x1d2629-0x1f2;let _0x4a3f9c=_0x11dfff[_0x1d2629];return _0x4a3f9c;},_0x1d26(_0x20b5fd,_0x3224b5);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x385c64{static get[_0x33d23b(0x201)](){return[_0x5ab3ee,_0x50f430];}static get[_0x33d23b(0x1f2)](){const _0x185f22=_0x33d23b;return _0x185f22(0x1fa);}static get[_0x33d23b(0x209)](){return!0x0;}static get[_0x33d23b(0x206)](){return!0x0;}constructor(_0x559174){const _0x329b1f=_0x33d23b;super(_0x559174),_0x559174[_0x329b1f(0x207)][_0x329b1f(0x203)](_0x329b1f(0x1f6),new _0x1c65a8(this[_0x329b1f(0x1f3)])),_0x559174[_0x329b1f(0x205)][_0x329b1f(0x1f4)](_0x329b1f(0x1f8),(_0x24a29a,_0x3ea2c2)=>{const _0x50433b=_0x329b1f;for(const _0x30404a of _0x3ea2c2)_0x24a29a[_0x50433b(0x1ff)](_0x30404a);});}}function _0x11df(){const _0x4331e8=['TrackChangesPreview','10bjKMRs','155155TJxqJs','584nlSQAe','7FAmwIK','appendChild','408NfjssJ','requires','2269416dNCSPf','add','22509GvRcsA','config','isPremiumPlugin','commands','9350aGYbSj','isOfficialPlugin','pluginName','editor','define','666334UFMCAs','previewFinalContent','913578NhyxwT','trackChanges.preview.renderFunction','3014407dGwKGN'];_0x11df=function(){return _0x4331e8;};return _0x11df();}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
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 _0x5e28de=_0x172f;(function(_0x52225a,_0x3ac544){const _0x52d3ef=_0x172f,_0x326acf=_0x52225a();while(!![]){try{const _0x578cab=-parseInt(_0x52d3ef(0x106))/0x1+parseInt(_0x52d3ef(0x9c))/0x2*(parseInt(_0x52d3ef(0xcf))/0x3)+-parseInt(_0x52d3ef(0xf5))/0x4*(parseInt(_0x52d3ef(0x9b))/0x5)+-parseInt(_0x52d3ef(0x108))/0x6*(-parseInt(_0x52d3ef(0xb9))/0x7)+-parseInt(_0x52d3ef(0xd0))/0x8+parseInt(_0x52d3ef(0xdb))/0x9+parseInt(_0x52d3ef(0xa1))/0xa;if(_0x578cab===_0x3ac544)break;else _0x326acf['push'](_0x326acf['shift']());}catch(_0x3f0d1e){_0x326acf['push'](_0x326acf['shift']());}}}(_0x23b0,0xca558));function _0x23b0(){const _0x17e49e=['some','menuBar:trackChanges','getDescriptions','_showLicenseError','refreshSelectedViews','trackChangesLicenseKeyTrialLimit','trackChangesLicenseKeyNotAllowed','SuggestionView','trialLimit','createAnnotation','panelView','Discard\x20all\x20selected\x20suggestions','isPremiumPlugin','featureNotAllowed','15tKrYBh','2iPARMH','change:activeAnnotations','separator','CommentsRepository','_createMenuBarMenu','24757520pEbFlC','discardAllSuggestions','trackChangesLicenseKeyExpired','actionView','bind','stopListening','usageLimit','comments.maxCommentsWhenCollapsed','discardButton','getRanges','config','suggestionUnloaded','acceptAllSuggestions','_suggestionToController','TrackChangesUI','_refreshActiveMarkers','getSuggestion','hasSuggestion','_disableComments','comments.maxCommentCharsWhenCollapsed','comments','change:previous','_bindAnnotationToEditors','from','237916MVCUSC','getAnnotationForSuggestion','_handleSuggestionControllerDelayed','mainView','_initializeController','isOfficialPlugin','trackChanges.SuggestionView','get','toMany','_annotationViews','button','init','push','activeMarkers','source','locale','unbind','Preview\x20final\x20content','_updateController','commandName','descriptionParts','isMultiRange','36942lWrpZK','11101896ujlauD','suggestion-','suggestionView','trackChangesLicenseKeyDomainLimit','editing','commands','listenTo','trackChangesLicenseKeyUsageLimit','_licenseKeyCheckInterval','getByInnerView','destroy','6270057cEAZHf','addSourceCollector','_createToolbarButton','reduce','comments.maxThreadTotalWeight','CommentView','model','evaluationLimit','trackChangesLicenseKeyInvalid','licenseKey','define','activeAnnotations','previewFinalContent','componentFactory','isInContent','arrowView','focus','suggestionChanged','_handleControllerBuffer','getJoined','addComment','getMarkers','domainLimit','fire','switchbutton','execute','1017748KXXdac','getSuggestionForAnnotation','isDirty','Track\x20changes','pluginName','Annotations','buttonView','TrackChangesPreview','SuggestionThreadView','comments.editorConfig','add','addMany','delegate','menu','suggestionLoaded','innerView','invalid','442847KzLrWx','children','42kyUuGJ','trackChanges.disableComments','commentsListView','requires','_destroyController','CommentsUI','trackChangesLicenseKeyEvaluationLimit','delete','Accept\x20all\x20selected\x20suggestions','TrackChanges','values','length','acceptButton','Discard\x20all\x20suggestions','view','isOn','lowest','createAnnotationView','has','expired','previous','Accept\x20all\x20suggestions','trackChangesLicenseKeyValid','filter','menuitemcheckbox','set','getAllAdjacentSuggestions','size','getFirstRange','commentThread','editor','_unbindEditors','descriptionFactory','type','isEnabled','discardSelectedSuggestions','registerAnnotation','_addUIComponentsToFactory','createCommentThreadController','trackChanges','items','acceptSelectedSuggestions','clear','trackChanges.SuggestionThreadView','remove','escape','head','TrackChangesEditing','plugins','EditorAnnotations','value','_viewToController','getMarkerNames','keys','menuitem'];_0x23b0=function(){return _0x17e49e;};return _0x23b0();}import{Plugin as _0xe47ca3}from'ckeditor5/src/core.js';import{Collection as _0x2f4504}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1f427e}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x7af3a8,createDropdown as _0x3d5209,ListSeparatorView as _0x4f58c3,MenuBarMenuView as _0x154126,MenuBarMenuListView as _0x3e2464,MenuBarMenuListItemView as _0x205e30,MenuBarMenuListItemButtonView as _0x1d9ae3,SplitButtonView as _0x1207eb,UIModel as _0x5a3ad1}from'ckeditor5/src/ui.js';import{Users as _0x34ad74,getDateTimeFormatter as _0x2d4fdc,getAllMarkersDomElementsSorted as _0x341039}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2120a6}from'./trackchangesediting.js';import{SuggestionController as _0x36cc60}from'./ui/suggestioncontroller.js';function _0x172f(_0x278af6,_0x1ac012){const _0x23b0ea=_0x23b0();return _0x172f=function(_0x172ff0,_0x1b6258){_0x172ff0=_0x172ff0-0x91;let _0x1756f0=_0x23b0ea[_0x172ff0];return _0x1756f0;},_0x172f(_0x278af6,_0x1ac012);}import{SuggestionThreadView as _0x130159}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2445fd}from'./ui/view/suggestionview.js';import{getTranslation as _0x30ca6b}from'./utils/common-translations.js';export class TrackChangesUI extends _0xe47ca3{[_0x5e28de(0xe4)];[_0x5e28de(0xd8)];[_0x5e28de(0xae)];[_0x5e28de(0x13b)];[_0x5e28de(0xc2)];[_0x5e28de(0xed)];[_0x5e28de(0xb3)];static get[_0x5e28de(0x10b)](){const _0x24ff77=_0x5e28de;return[_0x2120a6,_0x34ad74,_0x24ff77(0x9f),_0x24ff77(0xfa),_0x24ff77(0x139)];}static get[_0x5e28de(0xf9)](){const _0x2cc912=_0x5e28de;return _0x2cc912(0xaf);}static get[_0x5e28de(0xbe)](){return!0x0;}static get[_0x5e28de(0x99)](){return!0x0;}constructor(_0x4a8782){const _0x84990c=_0x5e28de;super(_0x4a8782),this[_0x84990c(0xae)]=new Map(),this[_0x84990c(0x13b)]=new Map(),this[_0x84990c(0xc2)]=new Map(),this[_0x84990c(0xed)]=new Map();const _0x2b72b9=this[_0x84990c(0x126)][_0x84990c(0xab)];_0x2b72b9[_0x84990c(0xe5)](_0x84990c(0x133),_0x130159),_0x2b72b9[_0x84990c(0xe5)](_0x84990c(0xbf),_0x2445fd),_0x2b72b9[_0x84990c(0xe5)](_0x84990c(0x109),!0x1),this[_0x84990c(0xb3)]=_0x2b72b9[_0x84990c(0xc0)](_0x84990c(0x109));}[_0x5e28de(0xbb)](_0x563cb3,_0x1e6c50){const _0x646b29=_0x5e28de;0x0===this[_0x646b29(0xed)][_0x646b29(0x123)]&&setTimeout(()=>{const _0x44310b=_0x646b29;for(const [_0x4b495b,_0x23158c]of this[_0x44310b(0xed)]){const _0x5f10c5=this[_0x44310b(0xae)][_0x44310b(0x11a)](_0x4b495b);_0x5f10c5||_0x23158c?_0x5f10c5&&_0x23158c&&this[_0x44310b(0x10c)](_0x4b495b):this[_0x44310b(0xbd)](_0x4b495b);}this[_0x44310b(0xed)][_0x44310b(0x132)](),this[_0x44310b(0x126)][_0x44310b(0x138)][_0x44310b(0xc0)](_0x44310b(0x139))[_0x44310b(0x91)](),this[_0x44310b(0xb0)]();},0xa),this[_0x646b29(0xed)][_0x646b29(0x121)](_0x563cb3,_0x1e6c50);}[_0x5e28de(0xc4)](){const _0x3371c9=_0x5e28de,_0x7ea747=this[_0x3371c9(0x126)],_0x2f1f4f=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0x137)),_0xb42ca0=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0xfa)),_0x5df853=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0x139)),_0x577a93=_0x7ea747[_0x3371c9(0x138)][_0x3371c9(0xc0)](_0x3371c9(0x9f));this[_0x3371c9(0x12d)](),_0x5df853[_0x3371c9(0xdc)](()=>{const _0x35e824=_0x3371c9,_0x156146=[];for(const [_0x56ef29,_0x11bf19]of Array[_0x35e824(0xb8)](this[_0x35e824(0xae)])){const _0x400502=_0x56ef29[_0x35e824(0x122)](),_0x49bc9b=[];for(const _0x14ab14 of _0x400502){if(!_0x14ab14[_0x35e824(0xe9)])continue;if(_0x14ab14[_0x35e824(0xce)]){_0x49bc9b[_0x35e824(0xc5)](..._0x14ab14[_0x35e824(0xaa)]());continue;}const _0x3d890f=_0x14ab14[_0x35e824(0x124)]();if(_0x49bc9b[_0x35e824(0x113)]>0x0){const _0x5278e8=_0x49bc9b[0x0][_0x35e824(0xee)](_0x3d890f);if(_0x5278e8){_0x49bc9b[0x0]=_0x5278e8;continue;}}_0x49bc9b[_0x35e824(0xc5)](_0x3d890f);}_0x156146[_0x35e824(0xc5)]([_0x11bf19[_0x35e824(0x116)],_0x49bc9b]);}return _0x156146;}),this[_0x3371c9(0xd6)](_0x2f1f4f,_0x3371c9(0x103),(_0x2cc493,_0x5a3ac6)=>{const _0x2d7b2b=_0x3371c9;this[_0x2d7b2b(0xd6)](_0x5a3ac6,_0x2d7b2b(0xb6),(_0x474910,_0x1a023f,_0xf93160,_0x5357f)=>{const _0x50f2aa=_0x2d7b2b;_0x5a3ac6[_0x50f2aa(0xe9)]&&(null==_0xf93160?(this[_0x50f2aa(0xcb)](_0x5357f[_0x50f2aa(0x136)]),this[_0x50f2aa(0xbb)](_0x5a3ac6,!0x1)):(this[_0x50f2aa(0xcb)](_0xf93160[_0x50f2aa(0x136)]),null==_0x5357f&&this[_0x50f2aa(0xbb)](_0x5a3ac6,!0x0)));}),null!==_0x5a3ac6[_0x2d7b2b(0x11c)]?this[_0x2d7b2b(0xcb)](_0x5a3ac6[_0x2d7b2b(0x136)]):this[_0x2d7b2b(0xbb)](_0x5a3ac6,!0x1);}),this[_0x3371c9(0xd6)](_0x2f1f4f,_0x3371c9(0xac),(_0x2dd234,_0x14bd51,_0x4f0409)=>{const _0xcd485=_0x3371c9;this[_0xcd485(0xa6)](_0x14bd51,_0xcd485(0xb6)),this[_0xcd485(0xed)][_0xcd485(0x10f)](_0x14bd51),this[_0xcd485(0xae)][_0xcd485(0x11a)](_0x14bd51)&&this[_0xcd485(0x10c)](_0x14bd51),_0x4f0409&&this[_0xcd485(0xcb)](_0x4f0409[_0xcd485(0x136)]);}),this[_0x3371c9(0xd6)](_0x2f1f4f,_0x3371c9(0xec),(_0x52c70f,_0x518de5)=>{const _0x36ff02=_0x3371c9;this[_0x36ff02(0xcb)](_0x518de5);}),this[_0x3371c9(0xd6)](_0xb42ca0,_0x3371c9(0x9d),()=>{const _0x51d45c=_0x3371c9;this[_0x51d45c(0xb0)]();}),this[_0x3371c9(0xd6)](_0x577a93,_0x3371c9(0xef),(_0x4f27f8,{threadId:_0x4c2422,isFromAdapter:_0x3106fc})=>{const _0x5dd258=_0x3371c9;if(_0x3106fc||!_0x2f1f4f[_0x5dd258(0xb2)](_0x4c2422))return;const _0x3c9413=_0x2f1f4f[_0x5dd258(0xb1)](_0x4c2422);this[_0x5dd258(0xae)][_0x5dd258(0xc0)](_0x3c9413)[_0x5dd258(0x116)][_0x5dd258(0x10a)][_0x5dd258(0xeb)](-0x1);},{'priority':_0x3371c9(0x118)}),this[_0x3371c9(0xe4)]=this[_0x3371c9(0x126)][_0x3371c9(0xab)][_0x3371c9(0xc0)](_0x3371c9(0xe4));const _0x82c6d9=this[_0x3371c9(0x126)];this[_0x3371c9(0xd8)]=setInterval(()=>{const _0x544ed7=_0x3371c9;let _0x4a3621;for(const _0x4317c4 in _0x82c6d9){const _0x1a9213=_0x4317c4,_0x10d9d7=_0x82c6d9[_0x1a9213];if(_0x544ed7(0x11e)==_0x10d9d7||_0x544ed7(0xe3)==_0x10d9d7||_0x544ed7(0xa3)==_0x10d9d7||_0x544ed7(0xd3)==_0x10d9d7||_0x544ed7(0x93)==_0x10d9d7||_0x544ed7(0x10e)==_0x10d9d7||_0x544ed7(0x92)==_0x10d9d7||_0x544ed7(0xd7)==_0x10d9d7){delete _0x82c6d9[_0x1a9213],_0x4a3621=_0x10d9d7,clearInterval(this[_0x544ed7(0xd8)]),this[_0x544ed7(0xd8)]=void 0x0;break;}}_0x544ed7(0xe3)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x105)),_0x544ed7(0xa3)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x11b)),_0x544ed7(0xd3)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0xf1)),_0x544ed7(0x93)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x9a),_0x544ed7(0x111)),_0x544ed7(0x10e)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0xe2)),_0x544ed7(0x92)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0x95)),_0x544ed7(0xd7)==_0x4a3621&&_0x82c6d9[_0x544ed7(0x142)](_0x544ed7(0xa7));},0x3e8);}[_0x5e28de(0xba)](_0x127e53){const _0x4e88ec=_0x5e28de,_0x65383a=this[_0x4e88ec(0xae)][_0x4e88ec(0xc0)](_0x127e53);if(!_0x65383a)return null;return this[_0x4e88ec(0x126)][_0x4e88ec(0x138)][_0x4e88ec(0xc0)](_0x4e88ec(0xfa))[_0x4e88ec(0xd9)](_0x65383a[_0x4e88ec(0x116)])||null;}[_0x5e28de(0xf6)](_0x50638a){const _0x5ea22c=_0x5e28de,_0x495e71=this[_0x5ea22c(0x13b)][_0x5ea22c(0xc0)](_0x50638a[_0x5ea22c(0x104)]);return _0x495e71?_0x495e71[_0x5ea22c(0xe1)]:null;}[_0x5e28de(0xb0)](){const _0x3b56cc=_0x5e28de,_0x5eea7e=this[_0x3b56cc(0x126)][_0x3b56cc(0x138)][_0x3b56cc(0xc0)](_0x3b56cc(0xfa)),_0x48aa68=this[_0x3b56cc(0x126)][_0x3b56cc(0x138)][_0x3b56cc(0xc0)](_0x3b56cc(0x137)),_0x9991de=Array[_0x3b56cc(0xb8)](_0x5eea7e[_0x3b56cc(0xe6)],_0x2996c0=>_0x2996c0[_0x3b56cc(0x104)])[_0x3b56cc(0x11f)](_0x278324=>this[_0x3b56cc(0x13b)][_0x3b56cc(0x11a)](_0x278324)),_0x218c61=[];for(const _0x237371 of _0x9991de){const _0x3063b2=this[_0x3b56cc(0x13b)][_0x3b56cc(0xc0)](_0x237371)[_0x3b56cc(0xe1)][_0x3b56cc(0x122)]();_0x218c61[_0x3b56cc(0xc5)](..._0x3063b2[_0x3b56cc(0xde)]((_0x4a9e30,_0x1cabc4)=>[..._0x4a9e30,..._0x1cabc4[_0x3b56cc(0x13c)]()],[]));}_0x48aa68[_0x3b56cc(0xc6)]=_0x218c61;}[_0x5e28de(0x12d)](){const _0x116d83=_0x5e28de,_0x2aeea4=this[_0x116d83(0x126)],_0x4c753b=_0x2aeea4[_0x116d83(0xc8)],_0x3ea969=_0x30ca6b(_0x4c753b,_0x116d83(0xf8)),_0xde692=new _0x2f4504([{'type':_0x116d83(0xf3),'model':new _0x5a3ad1({'withText':!0x0,'isToggleable':!0x0,'label':_0x3ea969,'commandName':_0x116d83(0x12f),'role':_0x116d83(0x120)})},{'type':_0x116d83(0x9e)},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x11d)),'commandName':_0x116d83(0xad),'role':_0x116d83(0x13e)})},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x110)),'commandName':_0x116d83(0x131),'role':_0x116d83(0x13e)})},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x115)),'commandName':_0x116d83(0xa2),'role':_0x116d83(0x13e)})},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0x98)),'commandName':_0x116d83(0x12b),'role':_0x116d83(0x13e)})}]);_0x2aeea4[_0x116d83(0x138)][_0x116d83(0x11a)](_0x116d83(0xfc))&&_0xde692[_0x116d83(0x100)]([{'type':_0x116d83(0x9e)},{'type':_0x116d83(0xc3),'model':new _0x5a3ad1({'withText':!0x0,'label':_0x30ca6b(_0x4c753b,_0x116d83(0xca)),'commandName':_0x116d83(0xe7),'role':_0x116d83(0x13e)})}]);for(const _0x1458bb of _0xde692)if(ke(_0x1458bb)){const _0x51b365=_0x2aeea4[_0x116d83(0xd5)][_0x116d83(0xc0)](_0x1458bb[_0x116d83(0xe1)][_0x116d83(0xcc)]);_0x1458bb[_0x116d83(0xe1)][_0x116d83(0xa5)](_0x116d83(0x117),_0x116d83(0x12a))['to'](_0x51b365,_0x116d83(0x13a),_0x116d83(0x12a));}_0x2aeea4['ui'][_0x116d83(0xe8)][_0x116d83(0xff)](_0x116d83(0x12f),_0x1a1126=>this[_0x116d83(0xdd)](_0x1a1126,_0xde692,_0x3ea969)),_0x2aeea4['ui'][_0x116d83(0xe8)][_0x116d83(0xff)](_0x116d83(0x140),_0x4da3e5=>this[_0x116d83(0xa0)](_0x4da3e5,_0xde692,_0x3ea969));}[_0x5e28de(0xdd)](_0x9be070,_0x50e4a0,_0x37fb57){const _0x30b8de=_0x5e28de,_0x39ed18=_0x3d5209(_0x9be070,_0x1207eb),_0x505c1e=this[_0x30b8de(0x126)][_0x30b8de(0xd5)][_0x30b8de(0xc0)](_0x30b8de(0x12f));_0x39ed18[_0x30b8de(0xfb)][_0x30b8de(0x121)]({'tooltip':_0x37fb57,'label':_0x37fb57,'icon':_0x1f427e}),_0x39ed18[_0x30b8de(0xfb)][_0x30b8de(0xa5)](_0x30b8de(0x117))['to'](_0x505c1e,_0x30b8de(0x13a)),_0x39ed18[_0x30b8de(0xfb)]['on'](_0x30b8de(0xf4),()=>{const _0xe7858e=_0x30b8de;_0x505c1e[_0xe7858e(0xf4)](),this[_0xe7858e(0x126)][_0xe7858e(0xd4)][_0xe7858e(0x116)][_0xe7858e(0xeb)]();}),_0x7af3a8(_0x39ed18,_0x50e4a0,{'role':_0x30b8de(0x102)});const _0x32cc8d=[];for(const _0x46361e of _0x50e4a0)ke(_0x46361e)&&_0x32cc8d[_0x30b8de(0xc5)](this[_0x30b8de(0x126)][_0x30b8de(0xd5)][_0x30b8de(0xc0)](_0x46361e[_0x30b8de(0xe1)][_0x30b8de(0xcc)]));const _0x5d78dd=_0x39ed18[_0x30b8de(0xfb)];return _0x5d78dd[_0x30b8de(0xa4)][_0x30b8de(0xc9)](_0x30b8de(0x12a)),_0x5d78dd[_0x30b8de(0xea)][_0x30b8de(0xc9)](_0x30b8de(0x12a)),_0x5d78dd[_0x30b8de(0xa4)][_0x30b8de(0xa5)](_0x30b8de(0x12a))['to'](_0x505c1e,_0x30b8de(0x12a)),_0x5d78dd[_0x30b8de(0xea)][_0x30b8de(0xa5)](_0x30b8de(0x12a))[_0x30b8de(0xc1)](_0x32cc8d,_0x30b8de(0x12a),(..._0x2c99f3)=>_0x2c99f3[_0x30b8de(0x13f)](_0x4d3999=>_0x4d3999)),_0x39ed18['on'](_0x30b8de(0xf4),_0x1680b0=>{const _0x3d6db9=_0x30b8de;this[_0x3d6db9(0x126)][_0x3d6db9(0xf4)](_0x1680b0[_0x3d6db9(0xc7)][_0x3d6db9(0xcc)]),this[_0x3d6db9(0x126)][_0x3d6db9(0xd4)][_0x3d6db9(0x116)][_0x3d6db9(0xeb)]();}),_0x39ed18;}[_0x5e28de(0xa0)](_0x37e62b,_0x46e944,_0x1dea63){const _0x17dcc5=_0x5e28de,_0x1b7773=new _0x154126(_0x37e62b),_0x53323c=this[_0x17dcc5(0x126)][_0x17dcc5(0xd5)][_0x17dcc5(0xc0)](_0x17dcc5(0x12f));_0x1b7773[_0x17dcc5(0xfb)][_0x17dcc5(0x121)]({'label':_0x1dea63,'icon':_0x1f427e});const _0x9112e0=new _0x3e2464(_0x37e62b);for(const _0x11ccce of _0x46e944){if(_0x17dcc5(0x9e)==_0x11ccce[_0x17dcc5(0x129)]){_0x9112e0[_0x17dcc5(0x130)][_0x17dcc5(0xff)](new _0x4f58c3(_0x37e62b));continue;}const _0x32f4f0=new _0x205e30(_0x37e62b,_0x1b7773),_0x5332ed=new _0x1d9ae3(_0x37e62b),_0x445032=_0x11ccce[_0x17dcc5(0xe1)];_0x5332ed[_0x17dcc5(0xa5)](...Object[_0x17dcc5(0x13d)](_0x445032))['to'](_0x445032),_0x5332ed[_0x17dcc5(0x101)](_0x17dcc5(0xf4))['to'](_0x1b7773),_0x5332ed['on'](_0x17dcc5(0xf4),()=>{const _0x18f264=_0x17dcc5;this[_0x18f264(0x126)][_0x18f264(0xf4)](_0x445032[_0x18f264(0xcc)]),this[_0x18f264(0x126)][_0x18f264(0xd4)][_0x18f264(0x116)][_0x18f264(0xeb)]();}),_0x32f4f0[_0x17dcc5(0x107)][_0x17dcc5(0xff)](_0x5332ed),_0x9112e0[_0x17dcc5(0x130)][_0x17dcc5(0xff)](_0x32f4f0);}return _0x1b7773[_0x17dcc5(0xa5)](_0x17dcc5(0x12a))['to'](_0x53323c,_0x17dcc5(0x12a)),_0x1b7773[_0x17dcc5(0x97)][_0x17dcc5(0x107)][_0x17dcc5(0xff)](_0x9112e0),_0x1b7773;}[_0x5e28de(0xbd)](_0x31866b){const _0x17da1b=_0x5e28de,_0x3dc758=this[_0x17da1b(0x126)],_0x2a144f=_0x3dc758[_0x17da1b(0xab)],_0xe5c999=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0xfa)),_0x4c4a24=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x9f)),_0x5ec262=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x139)),_0x360eb4=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x34ad74)['me'],_0x3c7975=_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0x12f))[_0x17da1b(0xfd)],_0xe8c46=_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0x12f))[_0x17da1b(0x94)],{CommentsListView:_0x149205,CommentThreadInputView:_0x1b6f84}=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x10d));let _0x7d0ee5,_0x12c236,_0x2ca24b;this[_0x17da1b(0xc2)][_0x17da1b(0x11a)](_0x31866b['id'])?(_0x12c236=this[_0x17da1b(0xc2)][_0x17da1b(0xc0)](_0x31866b['id']),_0x7d0ee5=_0x12c236[_0x17da1b(0xbc)]):(_0x7d0ee5=new _0x3c7975(_0x3dc758[_0x17da1b(0xc8)],_0x31866b,_0x360eb4,{'disableComments':this[_0x17da1b(0xb3)],'editorConfig':{..._0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xfe)),'licenseKey':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xe4))},'maxCommentsWhenCollapsed':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xa8)),'maxThreadTotalWeight':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xdf)),'maxCommentCharsWhenCollapsed':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xb4)),'formatDateTime':_0x2d4fdc(_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xc8)),_0x3dc758[_0x17da1b(0xc8)]),'CommentView':_0x2a144f[_0x17da1b(0xc0)](_0x17da1b(0xb5))[_0x17da1b(0xe0)],'CommentsListView':_0x149205,'CommentThreadInputView':_0x1b6f84,'SuggestionView':_0xe8c46}),_0x7d0ee5[_0x17da1b(0xd2)][_0x17da1b(0x114)]['on'](_0x17da1b(0xf4),()=>{const _0x1ca7b5=_0x17da1b;_0x3dc758[_0x1ca7b5(0xd4)][_0x1ca7b5(0x116)][_0x1ca7b5(0xeb)]();}),_0x7d0ee5[_0x17da1b(0xd2)][_0x17da1b(0xa9)]['on'](_0x17da1b(0xf4),()=>{const _0x32aff3=_0x17da1b;_0x3dc758[_0x32aff3(0xd4)][_0x32aff3(0x116)][_0x32aff3(0xeb)]();}),_0x12c236=_0xe5c999[_0x17da1b(0x119)](this[_0x17da1b(0x126)][_0x17da1b(0xc8)],_0x7d0ee5),_0x12c236[_0x17da1b(0xa5)](_0x17da1b(0xf7))['to'](_0x7d0ee5,_0x17da1b(0xf7)),_0x12c236[_0x17da1b(0xa5)](_0x17da1b(0x113))['to'](_0x7d0ee5),_0x12c236[_0x17da1b(0xa5)](_0x17da1b(0x129))['to'](_0x7d0ee5,_0x17da1b(0x129),_0x5da351=>_0x17da1b(0xd1)+_0x5da351),_0x7d0ee5['on'](_0x17da1b(0x135),()=>{const _0x439be2=_0x17da1b;_0x2ca24b[_0x439be2(0xf2)](_0x439be2(0x135));}),this[_0x17da1b(0xc2)][_0x17da1b(0x121)](_0x31866b['id'],_0x12c236));const _0x1105f0=_0x4c4a24[_0x17da1b(0x12e)](_0x31866b[_0x17da1b(0x125)],_0x7d0ee5),_0xde0807=new _0x36cc60(_0x3dc758,_0x31866b,_0x7d0ee5,_0x1105f0),_0xc9fdd2=_0x31866b[_0x17da1b(0x122)]()[_0x17da1b(0x11f)](_0x58901e=>_0x58901e[_0x17da1b(0xe9)]);_0x7d0ee5[_0x17da1b(0xcd)]=_0x3dc758[_0x17da1b(0x138)][_0x17da1b(0xc0)](_0x17da1b(0x137))[_0x17da1b(0x128)][_0x17da1b(0x141)](_0xc9fdd2),this[_0x17da1b(0xae)][_0x17da1b(0x121)](_0x31866b,_0xde0807),this[_0x17da1b(0x13b)][_0x17da1b(0x121)](_0x7d0ee5,_0xde0807);const _0x1fabaa=()=>{const _0xb36199=_0x17da1b,_0x407399=[],_0x158d6e=_0x31866b[_0xb36199(0x122)]()[_0xb36199(0x11f)](_0x86836=>_0x86836[_0xb36199(0xe9)]);for(const _0x9a2b01 of _0x158d6e)_0x407399[_0xb36199(0xc5)](..._0x9a2b01[_0xb36199(0xf0)]());return _0x341039(_0x3dc758[_0xb36199(0xd4)],_0x407399);};_0x2ca24b=_0xe5c999[_0x17da1b(0x96)]({'view':_0x12c236,'target':_0x1fabaa,'type':()=>_0x17da1b(0xd1)+_0xde0807[_0x17da1b(0x116)][_0x17da1b(0x129)],'isVisible':!!_0x1fabaa()}),_0x4c4a24[_0x17da1b(0xb7)](_0x7d0ee5,_0x2ca24b),_0xe5c999[_0x17da1b(0xff)](_0x2ca24b),_0x5ec262[_0x17da1b(0x12c)](_0x2ca24b);}[_0x5e28de(0x10c)](_0x5144d6){const _0x2853e0=_0x5e28de,_0x352689=this[_0x2853e0(0x126)][_0x2853e0(0x138)][_0x2853e0(0xc0)](_0x2853e0(0x9f)),_0x242ce6=this[_0x2853e0(0x126)][_0x2853e0(0x138)][_0x2853e0(0xc0)](_0x2853e0(0xfa)),_0x50af55=this[_0x2853e0(0xae)][_0x2853e0(0xc0)](_0x5144d6),_0x50b398=_0x50af55[_0x2853e0(0x116)],_0x579e4f=_0x242ce6[_0x2853e0(0xd9)](_0x50b398);_0x352689[_0x2853e0(0x127)](_0x50b398),_0x579e4f&&_0x242ce6[_0x2853e0(0x134)](_0x579e4f),this[_0x2853e0(0xae)][_0x2853e0(0x10f)](_0x5144d6),this[_0x2853e0(0x13b)][_0x2853e0(0x10f)](_0x50b398),_0x50af55[_0x2853e0(0xda)]();}[_0x5e28de(0xcb)](_0x5e1d54){const _0x5ca5a6=_0x5e28de;if(!_0x5e1d54[_0x5ca5a6(0xe9)]||!this[_0x5ca5a6(0xae)][_0x5ca5a6(0x11a)](_0x5e1d54))return;const _0x23fa1f=this[_0x5ca5a6(0x126)][_0x5ca5a6(0x138)][_0x5ca5a6(0xc0)](_0x5ca5a6(0x137)),_0x456742=this[_0x5ca5a6(0xae)][_0x5ca5a6(0xc0)](_0x5e1d54),_0x3b8127=_0x5e1d54[_0x5ca5a6(0x122)]();_0x456742[_0x5ca5a6(0x116)][_0x5ca5a6(0xcd)]=_0x23fa1f[_0x5ca5a6(0x128)][_0x5ca5a6(0x141)](_0x3b8127);}[_0x5e28de(0xda)](){const _0xadf489=_0x5e28de;for(const _0x141534 of this[_0xadf489(0xae)][_0xadf489(0x13d)]())this[_0xadf489(0x10c)](_0x141534);for(const _0x54dbfb of this[_0xadf489(0xc2)][_0xadf489(0x112)]())_0x54dbfb[_0xadf489(0xbc)][_0xadf489(0xda)]();super[_0xadf489(0xda)](),this[_0xadf489(0xd8)]&&clearInterval(this[_0xadf489(0xd8)]);}}function ke(_0x4aa796){const _0x5b0919=_0x5e28de;return _0x5b0919(0xe1)in _0x4aa796;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x5ee2(){const _0x1d37ef=['destroy','PENDING_ACTION_SUGGESTION','11990650nwVvye','canAccept','511EDenHH','5431296nngsTn','view','listenTo','_pendingAction','171242KBavDO','add','PendingActions','_setPendingAction','_discardCommand','4mhDluY','unbind','canDiscard','getRanges','_editor','269622HwVJKt','get','_removePendingAction','canEditAt','acceptSuggestion','stopListening','commentThreadController','isDirty','11WMfCbg','remove','isEnabled','4076850jAFxyA','model','bind','_acceptCommand','20964CQeayP','commands','698667MoRpYJ','locale','change:isDirty','execute','plugins','discardSuggestion'];_0x5ee2=function(){return _0x1d37ef;};return _0x5ee2();}const _0x1f7c95=_0x1033;(function(_0x154163,_0x414128){const _0x45463a=_0x1033,_0x52820b=_0x154163();while(!![]){try{const _0x3ce3d9=parseInt(_0x45463a(0x18f))/0x1*(-parseInt(_0x45463a(0x17d))/0x2)+parseInt(_0x45463a(0x198))/0x3+-parseInt(_0x45463a(0x182))/0x4*(parseInt(_0x45463a(0x192))/0x5)+-parseInt(_0x45463a(0x196))/0x6*(-parseInt(_0x45463a(0x178))/0x7)+parseInt(_0x45463a(0x179))/0x8+parseInt(_0x45463a(0x187))/0x9+parseInt(_0x45463a(0x176))/0xa;if(_0x3ce3d9===_0x414128)break;else _0x52820b['push'](_0x52820b['shift']());}catch(_0x315b8f){_0x52820b['push'](_0x52820b['shift']());}}}(_0x5ee2,0x9bedd));import{ObservableMixin as _0x2bd768}from'ckeditor5/src/utils.js';function _0x1033(_0x5b33ef,_0x3a5bfa){const _0x5ee232=_0x5ee2();return _0x1033=function(_0x1033e0,_0xce707b){_0x1033e0=_0x1033e0-0x173;let _0xe3a854=_0x5ee232[_0x1033e0];return _0xe3a854;},_0x1033(_0x5b33ef,_0x3a5bfa);}import{getTranslation as _0x52258e}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bd768(){[_0x1f7c95(0x193)];[_0x1f7c95(0x17a)];[_0x1f7c95(0x18d)];[_0x1f7c95(0x186)];[_0x1f7c95(0x195)];[_0x1f7c95(0x181)];[_0x1f7c95(0x17c)];constructor(_0x1b7465,_0xdd32d2,_0x4e71b7,_0x200c83){const _0xa54227=_0x1f7c95;super(),this[_0xa54227(0x193)]=_0xdd32d2,this[_0xa54227(0x17a)]=_0x4e71b7,this[_0xa54227(0x18d)]=_0x200c83,this[_0xa54227(0x186)]=_0x1b7465,this[_0xa54227(0x195)]=_0x1b7465[_0xa54227(0x197)][_0xa54227(0x188)](_0xa54227(0x18b)),this[_0xa54227(0x181)]=_0x1b7465[_0xa54227(0x197)][_0xa54227(0x188)](_0xa54227(0x173)),this[_0xa54227(0x17a)][_0xa54227(0x194)](_0xa54227(0x191))['to'](this[_0xa54227(0x195)],this[_0xa54227(0x181)],(_0x46780b,_0x509039)=>_0x46780b||_0x509039),this[_0xa54227(0x17a)][_0xa54227(0x194)](_0xa54227(0x177))['to'](this[_0xa54227(0x195)],_0xa54227(0x191),_0x3d2200=>_0x3d2200&&this[_0xa54227(0x186)][_0xa54227(0x193)][_0xa54227(0x18a)](_0xdd32d2[_0xa54227(0x185)]())),this[_0xa54227(0x17a)][_0xa54227(0x194)](_0xa54227(0x184))['to'](this[_0xa54227(0x181)],_0xa54227(0x191),_0x3bf8f3=>_0x3bf8f3&&this[_0xa54227(0x186)][_0xa54227(0x193)][_0xa54227(0x18a)](_0xdd32d2[_0xa54227(0x185)]())),this[_0xa54227(0x17c)]=null,_0x4e71b7[_0xa54227(0x18e)]&&this[_0xa54227(0x180)](),this[_0xa54227(0x17b)](_0x4e71b7,_0xa54227(0x18b),()=>this[_0xa54227(0x18b)]()),this[_0xa54227(0x17b)](_0x4e71b7,_0xa54227(0x173),()=>this[_0xa54227(0x173)]()),this[_0xa54227(0x17b)](_0x4e71b7,_0xa54227(0x19a),()=>{const _0x326d0e=_0xa54227;_0x4e71b7[_0x326d0e(0x18e)]?this[_0x326d0e(0x180)]():this[_0x326d0e(0x189)]();});}[_0x1f7c95(0x18b)](){const _0x35c90a=_0x1f7c95;this[_0x35c90a(0x195)][_0x35c90a(0x19b)](this[_0x35c90a(0x193)]['id']);}[_0x1f7c95(0x173)](){const _0x1ea9f3=_0x1f7c95;this[_0x1ea9f3(0x181)][_0x1ea9f3(0x19b)](this[_0x1ea9f3(0x193)]['id']);}[_0x1f7c95(0x174)](){const _0x19a758=_0x1f7c95;this[_0x19a758(0x17a)][_0x19a758(0x183)](_0x19a758(0x191)),this[_0x19a758(0x17a)][_0x19a758(0x183)](_0x19a758(0x177)),this[_0x19a758(0x17a)][_0x19a758(0x183)](_0x19a758(0x184)),this[_0x19a758(0x18c)](),this[_0x19a758(0x18d)][_0x19a758(0x174)](),this[_0x19a758(0x17c)]&&this[_0x19a758(0x189)]();}[_0x1f7c95(0x180)](){const _0x7398ab=_0x1f7c95,_0x588548=_0x52258e(this[_0x7398ab(0x186)][_0x7398ab(0x199)],_0x7398ab(0x175));this[_0x7398ab(0x17c)]=this[_0x7398ab(0x186)][_0x7398ab(0x19c)][_0x7398ab(0x188)](_0x7398ab(0x17f))[_0x7398ab(0x17e)](_0x588548);}[_0x1f7c95(0x189)](){const _0x5e57dd=_0x1f7c95;null!==this[_0x5e57dd(0x17c)]&&this[_0x5e57dd(0x186)][_0x5e57dd(0x19c)][_0x5e57dd(0x188)](_0x5e57dd(0x17f))[_0x5e57dd(0x190)](this[_0x5e57dd(0x17c)]),this[_0x5e57dd(0x17c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2096c4=_0x4278;function _0x4278(_0x5cd2f1,_0x6f4b9f){const _0x5958b5=_0x5958();return _0x4278=function(_0x427888,_0x135658){_0x427888=_0x427888-0x69;let _0x423135=_0x5958b5[_0x427888];return _0x423135;},_0x4278(_0x5cd2f1,_0x6f4b9f);}(function(_0x15882a,_0x4ea7a5){const _0x17d8d1=_0x4278,_0x432908=_0x15882a();while(!![]){try{const _0x4096cf=parseInt(_0x17d8d1(0x94))/0x1*(parseInt(_0x17d8d1(0xab))/0x2)+parseInt(_0x17d8d1(0x86))/0x3*(parseInt(_0x17d8d1(0x69))/0x4)+-parseInt(_0x17d8d1(0x6d))/0x5+parseInt(_0x17d8d1(0xa7))/0x6+-parseInt(_0x17d8d1(0x6e))/0x7*(parseInt(_0x17d8d1(0x73))/0x8)+parseInt(_0x17d8d1(0x92))/0x9*(parseInt(_0x17d8d1(0xa1))/0xa)+-parseInt(_0x17d8d1(0x6f))/0xb;if(_0x4096cf===_0x4ea7a5)break;else _0x432908['push'](_0x432908['shift']());}catch(_0x5516c2){_0x432908['push'](_0x432908['shift']());}}}(_0x5958,0xeeeb8));import{FocusCycler as _0x458b86,View as _0x336647,ViewCollection as _0x90bbce}from'ckeditor5/src/ui.js';function _0x5958(){const _0x3bd43e=['submit','focusables','editorConfig','length','parseFromString','tab','keystrokes','commentThread','isEnabled','delegate','30ELQhBm','showInput','render','content','formatDateTime','CommentView','4249080WkkYZx','cancel','set','descriptionParts','564966CLBWgM','ariaDescriptionView','focusCycler','commentThreadInputView','bind','fire','commentsListView','canAccept','1052408BkIncp','isActive','target','commentInputView','7284145eikzLg','1442vyYtYE','5581741UTlOzm','canDiscard','assign','focusTracker','4616EabbkE','textContent','element','disabledSubmit','value','SUGGESTION_THREAD_DESCRIPTION','disableComments','ariaLabel','name','addComment','setData','focus','_localUser','SUGGESTION_THREAD_ARIA_LABEL','_createCommentThreadInputView','_config','author','map','_createCommentViews','6OPrjBs','destroy','hasDirtyComment','locale','text/html','isReadOnly','shift+tab','updateComment','authoredAt','isDirty','_model','editor','2092266adPPPX','removeComment','4jtLkue','body','join'];_0x5958=function(){return _0x3bd43e;};return _0x5958();}import{FocusTracker as _0x3d2a1c,KeystrokeHandler as _0x6b81b5}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x40a7a6,setupThreadKeyboardNavigation as _0x4329d3}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5f0210}from'../../utils/common-translations.js';import{renderDescription as _0x2b8e62}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x336647{[_0x2096c4(0xb1)];[_0x2096c4(0xae)];[_0x2096c4(0xac)];[_0x2096c4(0x98)];[_0x2096c4(0x72)];[_0x2096c4(0x9d)];[_0x2096c4(0xad)];[_0x2096c4(0x90)];[_0x2096c4(0x7f)];[_0x2096c4(0x82)];constructor(_0x3092cd,_0x40fdef,_0x1df33c,_0x34f59e){const _0x1156f0=_0x2096c4;super(_0x3092cd),this[_0x1156f0(0xb1)]=null,this[_0x1156f0(0xae)]=null,this[_0x1156f0(0xac)]=new _0x40a7a6(_0x3092cd,_0x5f0210(_0x3092cd,_0x1156f0(0x78))),this[_0x1156f0(0xa9)](_0x1156f0(0x6a),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0x8e),_0x40fdef[_0x1156f0(0x8e)]),this[_0x1156f0(0xaf)](_0x1156f0(0x8e))['to'](_0x40fdef),this[_0x1156f0(0xa9)](_0x1156f0(0xaa),[]),this[_0x1156f0(0xa9)](_0x1156f0(0x8f),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0x9f),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0xb2),!0x1),this[_0x1156f0(0xa9)](_0x1156f0(0x70),!0x1),this[_0x1156f0(0xaf)](_0x1156f0(0x7a))['to'](this,_0x1156f0(0x9a),_0x40fdef,_0x1156f0(0x8e),this,_0x1156f0(0xaa),(_0x40fe15,_0x1d3f1b,_0x1d311e)=>{const _0xc413e5=_0x1156f0,_0x3c91ff=_0x1d311e[_0xc413e5(0x84)](_0x1fea3d=>_0x2b8e62(_0x1fea3d[_0xc413e5(0xa4)]))[_0xc413e5(0x96)]('.\x20')+'.';return _0x5f0210(this[_0xc413e5(0x89)],_0xc413e5(0x80),[_0x40fe15-0x1,_0x40fdef[_0xc413e5(0x83)][_0xc413e5(0x7b)],_0x1d3f1b?_0x34f59e[_0xc413e5(0xa5)](_0x1d3f1b):'',new DOMParser()[_0xc413e5(0x9b)](_0x3c91ff,_0xc413e5(0x8a))[_0xc413e5(0x95)][_0xc413e5(0x74)]]);}),this[_0x1156f0(0x98)]=new _0x90bbce(),this[_0x1156f0(0x72)]=new _0x3d2a1c(),this[_0x1156f0(0x9d)]=new _0x6b81b5(),this[_0x1156f0(0xad)]=new _0x458b86({'focusables':this[_0x1156f0(0x98)],'focusTracker':this[_0x1156f0(0x72)],'keystrokeHandler':this[_0x1156f0(0x9d)],'keystrokeHandlerOptions':{'filter':_0x12b044=>_0x12b044[_0x1156f0(0x6b)]!==this[_0x1156f0(0x75)]},'actions':{'focusPrevious':_0x1156f0(0x8c),'focusNext':_0x1156f0(0x9c)}}),this[_0x1156f0(0x90)]=_0x40fdef,this[_0x1156f0(0x7f)]=_0x1df33c,this[_0x1156f0(0x82)]=_0x34f59e,_0x34f59e[_0x1156f0(0x79)]?this[_0x1156f0(0xa9)](_0x1156f0(0x9a),0x1):this[_0x1156f0(0x85)]();}[_0x2096c4(0xa3)](){const _0x13369b=_0x2096c4;super[_0x13369b(0xa3)](),_0x4329d3(this,this[_0x13369b(0x98)]);}[_0x2096c4(0x7e)](){const _0x56dea7=_0x2096c4;this[_0x56dea7(0x75)][_0x56dea7(0x7e)]();}[_0x2096c4(0x87)](){const _0x4bde43=_0x2096c4;this[_0x4bde43(0xb1)]&&this[_0x4bde43(0xb1)][_0x4bde43(0x87)](),this[_0x4bde43(0xae)]&&this[_0x4bde43(0xae)][_0x4bde43(0x87)](),super[_0x4bde43(0x87)]();}[_0x2096c4(0x85)](){const _0x3ccfe3=_0x2096c4,{CommentsListView:_0x2f40e4}=this[_0x3ccfe3(0x82)];this[_0x3ccfe3(0xb1)]=new _0x2f40e4(this[_0x3ccfe3(0x89)],this[_0x3ccfe3(0x90)][_0x3ccfe3(0x9e)],Object[_0x3ccfe3(0x71)]({'CommentView':this[_0x3ccfe3(0x82)][_0x3ccfe3(0xa6)]},this[_0x3ccfe3(0x82)])),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0xa0)](_0x3ccfe3(0x93))['to'](this),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0xa0)](_0x3ccfe3(0x8d))['to'](this),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0xaf)](_0x3ccfe3(0x6a))['to'](this),this[_0x3ccfe3(0xa9)](_0x3ccfe3(0x9a),this[_0x3ccfe3(0xb1)][_0x3ccfe3(0x9a)]+0x1),this[_0x3ccfe3(0xaf)](_0x3ccfe3(0x9a))['to'](this[_0x3ccfe3(0xb1)],_0x3ccfe3(0x9a),_0x2fe2d9=>_0x2fe2d9+0x1),this[_0x3ccfe3(0xae)]=this[_0x3ccfe3(0x81)](),this['on'](_0x3ccfe3(0x93),()=>this[_0x3ccfe3(0x7e)]()),this[_0x3ccfe3(0xaf)](_0x3ccfe3(0x8f))['to'](this[_0x3ccfe3(0xb1)],_0x3ccfe3(0x88),this[_0x3ccfe3(0xae)][_0x3ccfe3(0x6c)],_0x3ccfe3(0x77),(_0x2f6dd4,_0x1963e7)=>_0x2f6dd4||!!_0x1963e7);}[_0x2096c4(0x81)](){const _0x3d4bc8=_0x2096c4,{CommentThreadInputView:_0xc967ca}=this[_0x3d4bc8(0x82)],_0x313e8a=new _0xc967ca(this[_0x3d4bc8(0x89)],this[_0x3d4bc8(0x7f)],this[_0x3d4bc8(0x82)][_0x3d4bc8(0x99)]),_0x4d03d9=_0x313e8a[_0x3d4bc8(0x6c)];return _0x313e8a[_0x3d4bc8(0xaf)](_0x3d4bc8(0xa2))['to'](this,_0x3d4bc8(0x6a),this[_0x3d4bc8(0x90)][_0x3d4bc8(0x9e)],_0x3d4bc8(0x8b),_0x4d03d9,_0x3d4bc8(0x77),(_0x44783d,_0x598689,_0x196cee)=>!!_0x196cee||_0x44783d&&!_0x598689),_0x4d03d9['on'](_0x3d4bc8(0x97),(_0x4e5d8a,_0x7f2b7)=>{const _0x227ad0=_0x3d4bc8;this[_0x227ad0(0xb0)](_0x227ad0(0x7c),_0x7f2b7),_0x4d03d9[_0x227ad0(0x91)][_0x227ad0(0x7d)]('');}),_0x4d03d9['on'](_0x3d4bc8(0xa8),()=>this[_0x3d4bc8(0x7e)]()),_0x4d03d9[_0x3d4bc8(0xaf)](_0x3d4bc8(0x76))['to'](this[_0x3d4bc8(0x90)][_0x3d4bc8(0x9e)],_0x3d4bc8(0x8b)),_0x313e8a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5344(){const _0xa7f690=['isEnabled','div','setTemplate','getTemplate','</p>','ck-suggestion-wrapper','ariaLabel','bind','render','commentsListView','_model','delegate','listitem','canAccept','6tZrkWy','acceptButton','add','focusables','canDiscard','description','412245XwKizG','bindTemplate','set','1315242JeIPVS','ck-rounded-corners','formatDateTime','content','commentThread','discardSuggestion','disableComments','257290tqonzE','acceptSuggestion','color','SuggestionView','_config','3668196FXooCv','isActive','ck-suggestion-','ck-suggestion--disabled-comments','_descriptionElement','editorDestroyed','editorReady','commentThreadInputView','<p>','discardButton','16pRZBYw','type','push','330162WVJvQs','ariaDescriptionView','descriptionParts','author','60jOyuWl','1056vOjFYR','ck-suggestion-wrapper--active','3544476lalaJQ','988626jdEWzi','suggestionView'];_0x5344=function(){return _0xa7f690;};return _0x5344();}const _0x54b11c=_0x4a4f;(function(_0x32f703,_0x44859e){const _0x17b6b5=_0x4a4f,_0x41209f=_0x32f703();while(!![]){try{const _0x298ffd=parseInt(_0x17b6b5(0x1f0))/0x1+-parseInt(_0x17b6b5(0x1ea))/0x2*(parseInt(_0x17b6b5(0x1da))/0x3)+-parseInt(_0x17b6b5(0x1d9))/0x4+parseInt(_0x17b6b5(0x210))/0x5*(-parseInt(_0x17b6b5(0x20c))/0x6)+parseInt(_0x17b6b5(0x1ff))/0x7+parseInt(_0x17b6b5(0x209))/0x8*(-parseInt(_0x17b6b5(0x1f3))/0x9)+parseInt(_0x17b6b5(0x1fa))/0xa*(parseInt(_0x17b6b5(0x211))/0xb);if(_0x298ffd===_0x44859e)break;else _0x41209f['push'](_0x41209f['shift']());}catch(_0x447a5c){_0x41209f['push'](_0x41209f['shift']());}}}(_0x5344,0x8d560));import{BaseSuggestionThreadView as _0x4986e6}from'./basesuggestionthreadview.js';function _0x4a4f(_0x139a5d,_0x18719e){const _0x5344b4=_0x5344();return _0x4a4f=function(_0x4a4fe9,_0x3fef42){_0x4a4fe9=_0x4a4fe9-0x1d8;let _0x3ef26e=_0x5344b4[_0x4a4fe9];return _0x3ef26e;},_0x4a4f(_0x139a5d,_0x18719e);}import{trimHtml as _0x2463a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x48b96c}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4986e6{[_0x54b11c(0x1db)];[_0x54b11c(0x203)];constructor(_0x311226,_0x15b22d,_0x39cf9a,_0x5b50d9){const _0x15c862=_0x54b11c;super(_0x311226,_0x15b22d,_0x39cf9a,_0x5b50d9),this[_0x15c862(0x1f2)](_0x15c862(0x20a),''),this[_0x15c862(0x1e3)](_0x15c862(0x20a))['to'](this,_0x15c862(0x20e),_0xb18f78=>_0xb18f78&&_0xb18f78[0x0]?_0xb18f78[0x0][_0x15c862(0x20a)]:''),this[_0x15c862(0x1e3)](_0x15c862(0x1ef))['to'](this,_0x15c862(0x20e),this,_0x15c862(0x200),(_0x305502,_0x53f46e)=>{const _0x11506e=_0x15c862;let _0x53f1eb='';for(const _0x3930d7 of _0x305502)_0x53f1eb+=_0x11506e(0x207)+_0x48b96c(_0x3930d7[_0x11506e(0x1f6)],_0x3930d7[_0x11506e(0x1fc)])+_0x11506e(0x1e0);return _0x53f46e?_0x53f1eb:_0x2463a9(_0x53f1eb,{'limit':0x8c});}),this[_0x15c862(0x203)]=null,this[_0x15c862(0x1db)]=new _0x5b50d9[(_0x15c862(0x1fd))](_0x311226,_0x15b22d,{'formatDateTime':_0x5b50d9[_0x15c862(0x1f5)]}),this[_0x15c862(0x1db)][_0x15c862(0x1e3)](_0x15c862(0x1ef))['to'](this),this[_0x15c862(0x1db)][_0x15c862(0x1e7)](_0x15c862(0x1fb),_0x15c862(0x1f8))['to'](this),this[_0x15c862(0x1db)][_0x15c862(0x1eb)][_0x15c862(0x1e3)](_0x15c862(0x1dc))['to'](this,_0x15c862(0x1e9)),this[_0x15c862(0x1db)][_0x15c862(0x208)][_0x15c862(0x1e3)](_0x15c862(0x1dc))['to'](this,_0x15c862(0x1ee)),this[_0x15c862(0x1ed)][_0x15c862(0x1ec)](this[_0x15c862(0x1db)]),this[_0x15c862(0x1e5)]&&this[_0x15c862(0x1ed)][_0x15c862(0x1ec)](this[_0x15c862(0x1e5)]),this[_0x15c862(0x206)]&&this[_0x15c862(0x1ed)][_0x15c862(0x1ec)](this[_0x15c862(0x206)]),this[_0x15c862(0x1de)](this[_0x15c862(0x1df)]());}[_0x54b11c(0x1df)](){const _0x4b07f9=_0x54b11c,_0x408c5a=this[_0x4b07f9(0x1f1)],_0x5a7385=[this[_0x4b07f9(0x1db)]];return this[_0x4b07f9(0x1e5)]&&_0x5a7385[_0x4b07f9(0x20b)](this[_0x4b07f9(0x1e5)]),this[_0x4b07f9(0x206)]&&_0x5a7385[_0x4b07f9(0x20b)](this[_0x4b07f9(0x206)]),_0x5a7385[_0x4b07f9(0x20b)](this[_0x4b07f9(0x20d)]),{'tag':_0x4b07f9(0x1dd),'attributes':{'class':['ck',_0x4b07f9(0x1f4),_0x4b07f9(0x1e1),_0x408c5a['if'](_0x4b07f9(0x200),_0x4b07f9(0x1d8)),_0x408c5a['to'](_0x4b07f9(0x20a),_0x1a98ec=>_0x4b07f9(0x201)+_0x1a98ec),this[_0x4b07f9(0x1fe)][_0x4b07f9(0x1f9)]&&_0x4b07f9(0x202)],'data-suggestion-id':this[_0x4b07f9(0x1e6)]['id'],'data-thread-id':this[_0x4b07f9(0x1e6)][_0x4b07f9(0x1f7)]['id'],'data-author-id':this[_0x4b07f9(0x1e6)][_0x4b07f9(0x20f)]['id'],'tabindex':0x0,'role':_0x4b07f9(0x1e8),'aria-label':_0x408c5a['to'](_0x4b07f9(0x1e2)),'aria-describedby':this[_0x4b07f9(0x20d)]['id']},'children':_0x5a7385};}[_0x54b11c(0x1e4)](){const _0x1579bd=_0x54b11c;super[_0x1579bd(0x1e4)](),this[_0x1579bd(0x1e5)]&&(this[_0x1579bd(0x1e5)][_0x1579bd(0x1e7)](_0x1579bd(0x205))['to'](this),this[_0x1579bd(0x1e5)][_0x1579bd(0x1e7)](_0x1579bd(0x204))['to'](this)),this[_0x1579bd(0x206)]&&(this[_0x1579bd(0x206)][_0x1579bd(0x1e7)](_0x1579bd(0x205))['to'](this),this[_0x1579bd(0x206)][_0x1579bd(0x1e7)](_0x1579bd(0x204))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2ad9(){const _0x1ce407=['ck-annotation__user','isExternal','description','tab','20bsjkAB','focusTracker','focusFirst','target','ck-annotation__content-wrapper','16482fqZlPm','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','innerHTML','time','enter','626392kiYExE','focusCycler','EXTERNAL_SUGGESTION','listenTo','ck-suggestion','importWord','focusables','ck-annotation__main','acceptSuggestion','push','getUserViewNotificationText','discardSuggestion','bind','ck-suggestion__info','attributes','source','_createButton','2700243YDWHLS','3391196meIvrt','focus','@external','userView','esc','formatDateTime','ck-annotation__actions','shift+tab','2283523NtiBVZ','ck-suggestion__info-name','Discard\x20suggestion','ck-suggestion__user','27sHbuJj','EXTERNAL_AVATAR','ck-comment__info-time','acceptButton','ck-suggestion__main','execute','ck-annotation','ck-annotation__info','render','ck-suggestion--accept','ck-comment__external','span','ck-suggestion--discard','set','locale','_setupKeyboardNavigation','div','add','250aWYNCP','Accept\x20suggestion','_config','querySelector','EXTERNAL_IMPORT_WORD_SUGGESTION','_model','2200tJIDMk','author','4503930jPfxOB','name','discardButton','getTemplate','element','getExternalSuggestionNote','creator','ck-annotation__info-time','763trDXCl','authoredAt','extendTemplate','presentation','.ck-annotation__content-wrapper','keystrokes','bindTemplate','ck-suggestion__actions','fire','change:description'];_0x2ad9=function(){return _0x1ce407;};return _0x2ad9();}const _0x74a14c=_0x1272;(function(_0x5b0543,_0x486d9e){const _0x368dd8=_0x1272,_0xaa56a9=_0x5b0543();while(!![]){try{const _0x350517=-parseInt(_0x368dd8(0xe8))/0x1*(parseInt(_0x368dd8(0xe2))/0x2)+parseInt(_0x368dd8(0xc3))/0x3+-parseInt(_0x368dd8(0xc4))/0x4+parseInt(_0x368dd8(0xea))/0x5+-parseInt(_0x368dd8(0xab))/0x6*(parseInt(_0x368dd8(0xf2))/0x7)+-parseInt(_0x368dd8(0xb2))/0x8*(parseInt(_0x368dd8(0xd0))/0x9)+parseInt(_0x368dd8(0x100))/0xa*(parseInt(_0x368dd8(0xcc))/0xb);if(_0x350517===_0x486d9e)break;else _0xaa56a9['push'](_0xaa56a9['shift']());}catch(_0x53fe23){_0xaa56a9['push'](_0xaa56a9['shift']());}}}(_0x2ad9,0x88756));import{FocusTracker as _0x1e26ab,KeystrokeHandler as _0x1ec2da}from'ckeditor5/src/utils.js';import{View as _0x577c24,ViewCollection as _0x66aa19,FocusCycler as _0x4df738}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x56b41c,UserView as _0x39f8cf}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0xa0e474,IconCheck as _0x3e7d13}from'ckeditor5/src/icons.js';function _0x1272(_0x128165,_0x2068ae){const _0x2ad939=_0x2ad9();return _0x1272=function(_0x1272b8,_0x1e3c10){_0x1272b8=_0x1272b8-0xaa;let _0x15f237=_0x2ad939[_0x1272b8];return _0x15f237;},_0x1272(_0x128165,_0x2068ae);}import{getTranslation as _0x35e2f8}from'../../utils/common-translations.js';export class SuggestionView extends _0x577c24{[_0x74a14c(0xc7)];[_0x74a14c(0xd3)];[_0x74a14c(0xec)];[_0x74a14c(0xb8)];[_0x74a14c(0x101)];[_0x74a14c(0xf7)];[_0x74a14c(0xb3)];[_0x74a14c(0xe7)];[_0x74a14c(0xe4)];constructor(_0xcaca9a,_0x1ce378,_0x15bf23){const _0x4d1ab9=_0x74a14c;super(_0xcaca9a),this[_0x4d1ab9(0xe7)]=_0x1ce378,this[_0x4d1ab9(0xe4)]=_0x15bf23,this[_0x4d1ab9(0xdd)](_0x4d1ab9(0xfe),''),this[_0x4d1ab9(0xbe)](_0x4d1ab9(0xf3))['to'](_0x1ce378),this[_0x4d1ab9(0xd3)]=this[_0x4d1ab9(0xc2)](_0x35e2f8(_0xcaca9a,_0x4d1ab9(0xe3)),_0x3e7d13,_0x4d1ab9(0xd9),_0x4d1ab9(0xba),'sw'),this[_0x4d1ab9(0xec)]=this[_0x4d1ab9(0xc2)](_0x35e2f8(_0xcaca9a,_0x4d1ab9(0xce)),_0xa0e474,_0x4d1ab9(0xdc),_0x4d1ab9(0xbd),'sw'),this[_0x4d1ab9(0xc7)]=new _0x39f8cf(_0xcaca9a,_0x1ce378[_0x4d1ab9(0xe9)],this[_0x4d1ab9(0xbc)]()),this[_0x4d1ab9(0xc7)][_0x4d1ab9(0xf4)]({'attributes':{'class':[_0x4d1ab9(0xcf),_0x4d1ab9(0xfc)],'aria-hidden':!0x0}}),this[_0x4d1ab9(0xb8)]=new _0x66aa19([this[_0x4d1ab9(0xd3)],this[_0x4d1ab9(0xec)]]),this[_0x4d1ab9(0x101)]=new _0x1e26ab(),this[_0x4d1ab9(0xf7)]=new _0x1ec2da(),this[_0x4d1ab9(0xb3)]=new _0x4df738({'focusables':this[_0x4d1ab9(0xb8)],'focusTracker':this[_0x4d1ab9(0x101)],'keystrokeHandler':this[_0x4d1ab9(0xf7)],'actions':{'focusPrevious':_0x4d1ab9(0xcb),'focusNext':_0x4d1ab9(0xff)},'keystrokeHandlerOptions':{'filter':_0x567391=>_0x567391[_0x4d1ab9(0x103)]!==this[_0x4d1ab9(0xee)]}}),this[_0x4d1ab9(0xac)](this[_0x4d1ab9(0xed)]());}[_0x74a14c(0xd8)](){const _0x5ee1dd=_0x74a14c;super[_0x5ee1dd(0xd8)]();const _0x48fd35=this[_0x5ee1dd(0xee)][_0x5ee1dd(0xe5)](_0x5ee1dd(0xf6));_0x48fd35[_0x5ee1dd(0xaf)]=this[_0x5ee1dd(0xfe)],this['on'](_0x5ee1dd(0xfb),(_0x1c1966,_0x27ea61,_0x3bad11)=>{const _0x445285=_0x5ee1dd;_0x48fd35[_0x445285(0xaf)]=_0x3bad11;}),this[_0x5ee1dd(0xdf)]();}[_0x74a14c(0xed)](){const _0x35dc1d=_0x74a14c,_0x22a35a=this[_0x35dc1d(0xf8)],_0x10da8d=[{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xbf),_0x35dc1d(0xd7)]},'children':[{'tag':_0x35dc1d(0xdb),'children':[{'text':this[_0x35dc1d(0xc7)][_0x35dc1d(0xeb)]}],'attributes':{'class':[_0x35dc1d(0xcd),_0x35dc1d(0xae)],'data-cke-tooltip-text':this[_0x35dc1d(0xc7)][_0x35dc1d(0xeb)]}},{'tag':_0x35dc1d(0xb0),'attributes':{'datetime':_0x22a35a['to'](_0x35dc1d(0xf3)),'class':[_0x35dc1d(0xd2),_0x35dc1d(0xf1)]},'children':[{'text':_0x22a35a['to'](_0x35dc1d(0xf3),_0x5c65d5=>this[_0x35dc1d(0xe4)][_0x35dc1d(0xc9)](_0x5c65d5))}]}]},{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xf9),_0x35dc1d(0xca)]},'children':[this[_0x35dc1d(0xd3)],this[_0x35dc1d(0xec)]]},{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xaa)]}}];return this[_0x35dc1d(0xe7)][_0x35dc1d(0xfd)]&&_0x10da8d[_0x35dc1d(0xbb)]({'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xda)]},'children':[{'text':this[_0x35dc1d(0xef)]()}]}),{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xb6),_0x35dc1d(0xd6)],'tabindex':-0x1},'children':[this[_0x35dc1d(0xc7)],{'tag':_0x35dc1d(0xe0),'attributes':{'class':[_0x35dc1d(0xd4),_0x35dc1d(0xb9)],'role':_0x35dc1d(0xf5)},'children':_0x10da8d}]};}[_0x74a14c(0xc5)](){const _0x1b0e05=_0x74a14c;this[_0x1b0e05(0xee)][_0x1b0e05(0xc5)]();}[_0x74a14c(0xbc)](){const _0x23eceb=_0x74a14c;return this[_0x23eceb(0xe7)][_0x23eceb(0xfd)]?_0x23eceb(0xb7)===this[_0x23eceb(0xe7)][_0x23eceb(0xc0)][_0x23eceb(0xc6)][_0x23eceb(0xc1)]?_0x35e2f8(this[_0x23eceb(0xde)],_0x23eceb(0xad),this[_0x23eceb(0xe7)][_0x23eceb(0xf0)][_0x23eceb(0xeb)]):_0x35e2f8(this[_0x23eceb(0xde)],_0x23eceb(0xd1),this[_0x23eceb(0xe7)][_0x23eceb(0xf0)][_0x23eceb(0xeb)]):null;}[_0x74a14c(0xef)](){const _0x27e5b7=_0x74a14c;return _0x27e5b7(0xb7)===this[_0x27e5b7(0xe7)][_0x27e5b7(0xc0)][_0x27e5b7(0xc6)][_0x27e5b7(0xc1)]?_0x35e2f8(this[_0x27e5b7(0xde)],_0x27e5b7(0xe6)):_0x35e2f8(this[_0x27e5b7(0xde)],_0x27e5b7(0xb4));}[_0x74a14c(0xc2)](_0xc69fe5,_0x2918e3,_0x4b1184,_0x5e7700,_0x1baa90){const _0x2e6d92=_0x74a14c,_0x335b58=new _0x56b41c(this[_0x2e6d92(0xde)]);return _0x335b58[_0x2e6d92(0xdd)]({'label':_0xc69fe5,'icon':_0x2918e3,'tooltip':!0x0,'tooltipPosition':_0x1baa90}),_0x335b58[_0x2e6d92(0xf4)]({'attributes':{'class':_0x4b1184}}),_0x335b58['on'](_0x2e6d92(0xd5),()=>{const _0x57f81c=_0x2e6d92;this[_0x57f81c(0xfa)](_0x5e7700,this[_0x57f81c(0xe7)]['id']);}),_0x335b58;}[_0x74a14c(0xdf)](){const _0x269c70=_0x74a14c,_0x228ab1=this[_0x269c70(0xee)];this[_0x269c70(0xf7)][_0x269c70(0xb5)](_0x228ab1);for(const _0x55bb81 of this[_0x269c70(0xb8)])this[_0x269c70(0x101)][_0x269c70(0xe1)](_0x55bb81[_0x269c70(0xee)]),this[_0x269c70(0xf7)][_0x269c70(0xb5)](_0x55bb81[_0x269c70(0xee)]);this[_0x269c70(0xf7)][_0x269c70(0xdd)](_0x269c70(0xb1),(_0x5b7e5b,_0xad10a4)=>{const _0x1b56d2=_0x269c70;_0x228ab1===_0x5b7e5b[_0x1b56d2(0x103)]&&(this[_0x1b56d2(0xb3)][_0x1b56d2(0x102)](),_0xad10a4());}),this[_0x269c70(0xf7)][_0x269c70(0xdd)](_0x269c70(0xc8),(_0x4dfc57,_0xb807d6)=>{const _0x20d557=_0x269c70;_0x228ab1!==_0x4dfc57[_0x20d557(0x103)]&&(this[_0x20d557(0xc5)](),_0xb807d6());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1707f0=_0xa429;(function(_0x4d7ab3,_0x5aa049){const _0x3519b7=_0xa429,_0xe82201=_0x4d7ab3();while(!![]){try{const _0x52e104=parseInt(_0x3519b7(0x1a1))/0x1*(-parseInt(_0x3519b7(0x19a))/0x2)+parseInt(_0x3519b7(0x1a3))/0x3+parseInt(_0x3519b7(0x1b4))/0x4+parseInt(_0x3519b7(0x1aa))/0x5*(parseInt(_0x3519b7(0x1af))/0x6)+parseInt(_0x3519b7(0x1a2))/0x7+parseInt(_0x3519b7(0x19c))/0x8+-parseInt(_0x3519b7(0x1ac))/0x9;if(_0x52e104===_0x5aa049)break;else _0xe82201['push'](_0xe82201['shift']());}catch(_0x3076f8){_0xe82201['push'](_0xe82201['shift']());}}}(_0x12f9,0xb38e8));function _0xa429(_0xab75ee,_0x5bca08){const _0x12f9c4=_0x12f9();return _0xa429=function(_0xa429c2,_0xb18405){_0xa429c2=_0xa429c2-0x199;let _0x5ac764=_0x12f9c4[_0xa429c2];return _0x5ac764;},_0xa429(_0xab75ee,_0x5bca08);}import{View as _0x1b0c32}from'ckeditor5/src/ui.js';function _0x12f9(){const _0x55affc=['6041980GoWOuX','868671DWTuMB','options','style','setTemplate','\x20ck-track-changes-preview__root-container','setAttribute','innerHTML','555VFuwTp','ck-track-changes-preview','13399425eXUVwX','div','push','69114AzXntH','classes','className','height','dialogRects','21600lJcgwi','render','width','fire','createElement','ck-reset','data-ck-root-name','161362avPtqr','previewDataReady','237008bjOQVJ','setPreviewData','content','focus','element','3bpYNZP'];_0x12f9=function(){return _0x55affc;};return _0x12f9();}export class TrackChangesPreviewView extends _0x1b0c32{[_0x1707f0(0x1a4)];constructor(_0x348946,_0x51688e){const _0xd2bae6=_0x1707f0;super(_0x348946),this[_0xd2bae6(0x1a4)]=_0x51688e,this[_0xd2bae6(0x1a6)]({'tag':_0xd2bae6(0x1ad),'attributes':{'class':['ck',_0xd2bae6(0x1b9),_0xd2bae6(0x1ab)],'tabindex':-0x1}});}[_0x1707f0(0x1b5)](){const _0x2d7720=_0x1707f0;super[_0x2d7720(0x1b5)](),this[_0x2d7720(0x1a0)][_0x2d7720(0x1a5)][_0x2d7720(0x1b6)]=this[_0x2d7720(0x1a4)][_0x2d7720(0x1b3)][_0x2d7720(0x1b6)]+'px',this[_0x2d7720(0x1a0)][_0x2d7720(0x1a5)][_0x2d7720(0x1b2)]=this[_0x2d7720(0x1a4)][_0x2d7720(0x1b3)][_0x2d7720(0x1b2)]+'px';}[_0x1707f0(0x19d)](_0x4383e7,_0x478582){const _0x2659d9=_0x1707f0;if(!this[_0x2659d9(0x1a0)])return;const _0x1d889e=[];for(const [_0x123088,_0x2cbfca]of _0x4383e7){const _0x3612d5=document[_0x2659d9(0x1b8)](_0x2659d9(0x1ad));_0x3612d5[_0x2659d9(0x1a8)](_0x2659d9(0x199),_0x123088),_0x3612d5[_0x2659d9(0x1b1)]=_0x2cbfca[_0x2659d9(0x1b0)]+_0x2659d9(0x1a7),_0x3612d5[_0x2659d9(0x1a9)]=_0x2cbfca[_0x2659d9(0x19e)],_0x1d889e[_0x2659d9(0x1ae)](_0x3612d5);}_0x478582(this[_0x2659d9(0x1a0)],_0x1d889e),this[_0x2659d9(0x1a0)][_0x2659d9(0x1a5)][_0x2659d9(0x1b2)]='',this[_0x2659d9(0x1b7)](_0x2659d9(0x19b));}[_0x1707f0(0x19f)](){const _0x48708b=_0x1707f0;this[_0x48708b(0x1a0)][_0x48708b(0x19f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_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(_0x345a31,_0x167b9c,_0x1fe8a9){const _0x5f2221=_0x345a31['t'],t=_0x345a31['t'];switch(_0x167b9c){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x1fe8a9);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1fe8a9);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1fe8a9);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1fe8a9);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1fe8a9);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x1fe8a9);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1fe8a9);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1fe8a9);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1fe8a9);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1fe8a9);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1fe8a9);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1fe8a9);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1fe8a9);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1fe8a9);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1fe8a9);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1fe8a9);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1fe8a9);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1fe8a9);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1fe8a9);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1fe8a9);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1fe8a9);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1fe8a9);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x1fe8a9);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1fe8a9);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1fe8a9);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1fe8a9);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1fe8a9);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1fe8a9);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1fe8a9);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1fe8a9);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x1fe8a9);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1fe8a9);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1fe8a9);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1fe8a9);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1fe8a9);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1fe8a9);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1fe8a9);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x1fe8a9);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1fe8a9);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1fe8a9);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x1fe8a9);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1fe8a9);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x1fe8a9);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1fe8a9);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1fe8a9);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1fe8a9);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1fe8a9);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1fe8a9);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x1fe8a9);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1fe8a9);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x5f2221({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1fe8a9);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5f2221({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1fe8a9);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1fe8a9);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x1fe8a9);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x1fe8a9);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x1fe8a9);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x167b9c;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x507d27,_0x127d74){const _0x45fab6=_0x4a74,_0x5e5dd8=_0x507d27();while(!![]){try{const _0x262f7=-parseInt(_0x45fab6(0x198))/0x1*(parseInt(_0x45fab6(0x178))/0x2)+parseInt(_0x45fab6(0x184))/0x3+-parseInt(_0x45fab6(0x187))/0x4+parseInt(_0x45fab6(0x18a))/0x5*(-parseInt(_0x45fab6(0x191))/0x6)+-parseInt(_0x45fab6(0x17c))/0x7*(-parseInt(_0x45fab6(0x169))/0x8)+parseInt(_0x45fab6(0x16e))/0x9+parseInt(_0x45fab6(0x196))/0xa*(-parseInt(_0x45fab6(0x175))/0xb);if(_0x262f7===_0x127d74)break;else _0x5e5dd8['push'](_0x5e5dd8['shift']());}catch(_0x181933){_0x5e5dd8['push'](_0x5e5dd8['shift']());}}}(_0x11df,0xcd205));export function normalizeDescription(_0x2a4497){const _0x101954=_0x4a74;return Array[_0x101954(0x170)](_0x2a4497)||(_0x2a4497=[_0x2a4497]),_0x2a4497[_0x101954(0x181)](_0xf188a2=>{const _0x4674af=_0x101954,_0x5d1642=_0xf188a2[_0x4674af(0x174)][_0x4674af(0x190)](/\*/g,''),_0x22cef0=_0xf188a2[_0x4674af(0x16a)]?_0x4674af(0x173)+_0xf188a2[_0x4674af(0x16a)][_0x4674af(0x186)]+']':'';return'['+_0xf188a2[_0x4674af(0x172)]+']\x20'+_0x5d1642+_0x22cef0;})[_0x101954(0x176)](';\x20');}export function renderDescription(_0x52d914,_0x5b180f){const _0x121252=_0x4a74;let _0x252dfd='';return _0x252dfd+=_0x52d914[_0x121252(0x18f)]('*')[_0x121252(0x181)]((_0x5d39b0,_0x1a56da)=>_0x1a56da%0x2!=0x0?_0x121252(0x177)+rn(_0x5d39b0)+_0x121252(0x185):rn(_0x5d39b0))[_0x121252(0x176)](''),_0x5b180f&&(_0x252dfd+=_0x121252(0x16f)+_0x5b180f[_0x121252(0x186)]+_0x121252(0x180)+_0x5b180f[_0x121252(0x189)]+_0x121252(0x197)),_0x252dfd;}function rn(_0x1292dc){const _0x2bdf40=_0x4a74,_0x33bbe4=document[_0x2bdf40(0x19e)](_0x2bdf40(0x19b));return _0x33bbe4[_0x2bdf40(0x16c)]=_0x1292dc,_0x33bbe4[_0x2bdf40(0x18d)];}function _0x4a74(_0x2addcb,_0x167be3){const _0x11dffc=_0x11df();return _0x4a74=function(_0x4a7416,_0x5a2b9b){_0x4a7416=_0x4a7416-0x167;let _0x57c3c4=_0x11dffc[_0x4a7416];return _0x57c3c4;},_0x4a74(_0x2addcb,_0x167be3);}export function sortSuggestions(_0x1b093c){const _0x415a3e=_0x4a74;return _0x1b093c[_0x415a3e(0x171)]((_0x44b3a7,_0x23a22b)=>_0x415a3e(0x19d)===_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x19d)!==_0x23a22b[_0x415a3e(0x172)]?-0x1:_0x415a3e(0x19d)!==_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x19d)===_0x23a22b[_0x415a3e(0x172)]?0x1:_0x415a3e(0x183)==_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x183)!=_0x23a22b[_0x415a3e(0x172)]?-0x1:_0x415a3e(0x183)!=_0x44b3a7[_0x415a3e(0x172)]&&_0x415a3e(0x183)==_0x23a22b[_0x415a3e(0x172)]?0x1:0x0);}export function getSelectedSuggestions(_0x1cffc5,_0x427277){const _0x3b61a7=_0x4a74,_0x3675c7=Array[_0x3b61a7(0x193)](_0x1cffc5[_0x3b61a7(0x18b)]()),_0x18748e=new Set();for(const _0x3c5598 of _0x427277)if(_0x3c5598[_0x3b61a7(0x182)]){for(const _0x3eee95 of _0x3675c7)for(const _0x49c7ce of _0x3c5598[_0x3b61a7(0x18b)]())(_0x3eee95[_0x3b61a7(0x179)](_0x49c7ce)||_0x1cffc5[_0x3b61a7(0x167)]&&!_0x3c5598[_0x3b61a7(0x17b)]&&_0x3c5598[_0x3b61a7(0x199)]&&_0x49c7ce[_0x3b61a7(0x17d)][_0x3b61a7(0x19a)](_0x3eee95[_0x3b61a7(0x17a)]))&&_0x18748e[_0x3b61a7(0x194)](_0x3c5598);}return _0x18748e;}export function getRangesOfBlockGroups(_0x268ead,_0x10de7d){const _0x2fa595=_0x4a74;let _0x23b2eb,_0x1b6ece=0x0;const _0x34873c=[],_0x3e4271=_0x10de7d[_0x2fa595(0x17e)];for(;_0x1b6ece<_0x268ead[_0x2fa595(0x18c)];){const _0x5b1c01=_0x268ead[_0x1b6ece],_0x36a378=_0x268ead[_0x1b6ece+0x1];_0x23b2eb||(_0x23b2eb=_0x10de7d[_0x2fa595(0x18e)](_0x5b1c01)),cn(_0x10de7d,_0x5b1c01,_0x36a378)||(_0x34873c[_0x2fa595(0x17f)](_0x10de7d[_0x2fa595(0x16b)](_0x23b2eb,_0x3e4271[_0x2fa595(0x16d)](_0x5b1c01)?_0x10de7d[_0x2fa595(0x168)](_0x5b1c01):_0x10de7d[_0x2fa595(0x19c)](_0x5b1c01,_0x2fa595(0x17d)))),_0x23b2eb=null),_0x1b6ece++;}return _0x34873c;}function cn(_0x1a2996,_0x4da630,_0x446c99){const _0x213dfe=_0x4a74;if(!_0x446c99)return!0x1;const _0x33eb38=_0x1a2996[_0x213dfe(0x168)](_0x4da630),_0x52598c=_0x1a2996[_0x213dfe(0x18e)](_0x446c99);return _0x33eb38[_0x213dfe(0x19a)](_0x52598c);}function _0x11df(){const _0x159675=['title','10wgWBzI','getRanges','length','innerHTML','createPositionBefore','split','replace','697344sRozVl','splice','from','add','change','374410nkCzZX','\x22></span>','114puiqjt','next','isTouching','span','createPositionAt','attribute','createElement','isCollapsed','createPositionAfter','112jHqxEE','color','createRange','innerText','isObject','3369978uNDFCJ','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isArray','sort','type','\x20[color\x20','content','33azQlpi','join','<span\x20class=\x22ck-suggestion-type\x22>','9932GlIYFC','isIntersecting','start','isMultiRange','666358WqrrPc','end','schema','push','\x22\x20title=\x22','map','isInContent','deletion','4710999VwDnrJ','</span>','value','6105596NBDzhB','execute'];_0x11df=function(){return _0x159675;};return _0x11df();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xa5dfbc,_0x1dbe39,_0x31935a){const _0x39e368=_0x4a74;for(;_0x31935a[_0x39e368(0x18c)];){const _0x5abd36=_0x31935a[_0x39e368(0x192)](0x0,0x64);_0xa5dfbc[_0x39e368(0x195)](()=>{const _0x49d7e8=_0x39e368;for(const _0x51087e of _0x5abd36)_0x51087e[_0x49d7e8(0x182)]&&_0x1dbe39[_0x49d7e8(0x188)](_0x51087e['id']);});}}
|