@ckeditor/ckeditor5-track-changes 47.0.0-alpha.6 → 47.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.d.ts +17 -0
- package/src/integrations/aiquickactions.js +23 -0
- 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/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.d.ts +2 -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 _0x4f62f3=_0x2385;(function(_0x2c3a7d,_0x4207b9){const _0x1f49dd=_0x2385,_0x30f717=_0x2c3a7d();while(!![]){try{const _0x3e685b=parseInt(_0x1f49dd(0x1ad))/0x1+parseInt(_0x1f49dd(0x1b1))/0x2+parseInt(_0x1f49dd(0x1ac))/0x3*(parseInt(_0x1f49dd(0x1bc))/0x4)+parseInt(_0x1f49dd(0x1b9))/0x5*(-parseInt(_0x1f49dd(0x1c1))/0x6)+-parseInt(_0x1f49dd(0x1ab))/0x7+-parseInt(_0x1f49dd(0x1b4))/0x8+parseInt(_0x1f49dd(0x1bb))/0x9*(parseInt(_0x1f49dd(0x1bd))/0xa);if(_0x3e685b===_0x4207b9)break;else _0x30f717['push'](_0x30f717['shift']());}catch(_0x132955){_0x30f717['push'](_0x30f717['shift']());}}}(_0x585c,0x93647));import{Plugin as _0x59cd87}from'ckeditor5/src/core.js';function _0x2385(_0x48c498,_0x17ac3f){const _0x585ccd=_0x585c();return _0x2385=function(_0x2385c6,_0xc108e7){_0x2385c6=_0x2385c6-0x1ab;let _0x2030b0=_0x585ccd[_0x2385c6];return _0x2030b0;},_0x2385(_0x48c498,_0x17ac3f);}import{Dialog as _0x5c1047}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x58fcdb}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x1a2c13}from'./commands/previewfinalcontentcommand.js';function _0x585c(){const _0x27d24c=['4964416WyzOMD','TrackChangesPreview','pluginName','isPremiumPlugin','previewFinalContent','10nqsMoE','add','1791MSuUWa','2406708FkJEpp','25770oyYfuL','commands','config','requires','275046gNzFDE','4753602tTjtcT','3BPbcMg','318987OOsDvi','define','appendChild','trackChanges.preview.renderFunction','1123104XSStxE','editor','isOfficialPlugin'];_0x585c=function(){return _0x27d24c;};return _0x585c();}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x59cd87{static get[_0x4f62f3(0x1c0)](){return[_0x58fcdb,_0x5c1047];}static get[_0x4f62f3(0x1b6)](){const _0x3aaf2d=_0x4f62f3;return _0x3aaf2d(0x1b5);}static get[_0x4f62f3(0x1b3)](){return!0x0;}static get[_0x4f62f3(0x1b7)](){return!0x0;}constructor(_0x1dd859){const _0xf36c93=_0x4f62f3;super(_0x1dd859),_0x1dd859[_0xf36c93(0x1be)][_0xf36c93(0x1ba)](_0xf36c93(0x1b8),new _0x1a2c13(this[_0xf36c93(0x1b2)])),_0x1dd859[_0xf36c93(0x1bf)][_0xf36c93(0x1ae)](_0xf36c93(0x1b0),(_0x3149cd,_0x308739)=>{const _0x413ea9=_0xf36c93;for(const _0x3f90e8 of _0x308739)_0x3149cd[_0x413ea9(0x1af)](_0x3f90e8);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x249c0f=_0x153a;(function(_0x58912a,_0x5da3c9){const _0x38807f=_0x153a,_0x3268e8=_0x58912a();while(!![]){try{const _0x332664=parseInt(_0x38807f(0x1d9))/0x1+-parseInt(_0x38807f(0x1e5))/0x2*(-parseInt(_0x38807f(0x16f))/0x3)+-parseInt(_0x38807f(0x18f))/0x4*(-parseInt(_0x38807f(0x163))/0x5)+-parseInt(_0x38807f(0x1a9))/0x6*(parseInt(_0x38807f(0x15f))/0x7)+parseInt(_0x38807f(0x1b0))/0x8*(parseInt(_0x38807f(0x14f))/0x9)+-parseInt(_0x38807f(0x175))/0xa+-parseInt(_0x38807f(0x1c4))/0xb*(parseInt(_0x38807f(0x1c8))/0xc);if(_0x332664===_0x5da3c9)break;else _0x3268e8['push'](_0x3268e8['shift']());}catch(_0x1e48e3){_0x3268e8['push'](_0x3268e8['shift']());}}}(_0x3e80,0x259b3));import{Plugin as _0x231005}from'ckeditor5/src/core.js';import{Collection as _0x528d48}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x376649}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x70b774,createDropdown as _0x5e68dd,ListSeparatorView as _0x4ea0fd,MenuBarMenuView as _0x44e66c,MenuBarMenuListView as _0x3ca3ad,MenuBarMenuListItemView as _0x2b13d1,MenuBarMenuListItemButtonView as _0x2af1d0,SplitButtonView as _0x1d4ee7,UIModel as _0x37a6f1}from'ckeditor5/src/ui.js';import{Users as _0x23f0e7,getDateTimeFormatter as _0x159ee8,getAllMarkersDomElementsSorted as _0x75170e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2185f5}from'./trackchangesediting.js';import{SuggestionController as _0x42e13e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x14da72}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1ade7f}from'./ui/view/suggestionview.js';function _0x153a(_0x4e016e,_0x2f48ad){const _0x3e80f1=_0x3e80();return _0x153a=function(_0x153a15,_0x136f56){_0x153a15=_0x153a15-0x13f;let _0x2d5dc4=_0x3e80f1[_0x153a15];return _0x2d5dc4;},_0x153a(_0x4e016e,_0x2f48ad);}import{getTranslation as _0x16343e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x231005{[_0x249c0f(0x140)];[_0x249c0f(0x196)];[_0x249c0f(0x18b)];[_0x249c0f(0x1d7)];[_0x249c0f(0x1d1)];[_0x249c0f(0x1e9)];[_0x249c0f(0x162)];static get[_0x249c0f(0x1b5)](){const _0x3d74f9=_0x249c0f;return[_0x2185f5,_0x23f0e7,_0x3d74f9(0x16d),_0x3d74f9(0x1b3),_0x3d74f9(0x1f0)];}static get[_0x249c0f(0x1a0)](){const _0x5d44c3=_0x249c0f;return _0x5d44c3(0x13f);}static get[_0x249c0f(0x151)](){return!0x0;}static get[_0x249c0f(0x1b7)](){return!0x0;}constructor(_0x2fc573){const _0x24e6c0=_0x249c0f;super(_0x2fc573),this[_0x24e6c0(0x18b)]=new Map(),this[_0x24e6c0(0x1d7)]=new Map(),this[_0x24e6c0(0x1d1)]=new Map(),this[_0x24e6c0(0x1e9)]=new Map();const _0x39986c=this[_0x24e6c0(0x1d5)][_0x24e6c0(0x1e2)];_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x174),_0x14da72),_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x152),_0x1ade7f),_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x1d6),!0x1),this[_0x24e6c0(0x162)]=_0x39986c[_0x24e6c0(0x1dd)](_0x24e6c0(0x1d6));}[_0x249c0f(0x180)](_0x5b1577,_0x1b6d13){const _0x33340b=_0x249c0f;0x0===this[_0x33340b(0x1e9)][_0x33340b(0x189)]&&setTimeout(()=>{const _0x25b956=_0x33340b;for(const [_0x25ddba,_0x3deeb8]of this[_0x25b956(0x1e9)]){const _0x5e34c9=this[_0x25b956(0x18b)][_0x25b956(0x198)](_0x25ddba);_0x5e34c9||_0x3deeb8?_0x5e34c9&&_0x3deeb8&&this[_0x25b956(0x17b)](_0x25ddba):this[_0x25b956(0x1e8)](_0x25ddba);}this[_0x25b956(0x1e9)][_0x25b956(0x1e4)](),this[_0x25b956(0x1d5)][_0x25b956(0x17d)][_0x25b956(0x1dd)](_0x25b956(0x1f0))[_0x25b956(0x156)](),this[_0x25b956(0x17a)]();},0xa),this[_0x33340b(0x1e9)][_0x33340b(0x165)](_0x5b1577,_0x1b6d13);}[_0x249c0f(0x164)](){const _0x44bb52=_0x249c0f,_0x2d0f21=this[_0x44bb52(0x1d5)],_0x4199a4=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1e7)),_0x42a4f5=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1b3)),_0x24eee2=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1f0)),_0x92dc32=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x16d));this[_0x44bb52(0x1ba)](),_0x24eee2[_0x44bb52(0x1aa)](()=>{const _0x4dfa26=_0x44bb52,_0x52ba36=[];for(const [_0x1862cc,_0x49373a]of Array[_0x4dfa26(0x1ce)](this[_0x4dfa26(0x18b)])){const _0x4b99ea=_0x1862cc[_0x4dfa26(0x16a)](),_0xa55e1b=[];for(const _0x2a1129 of _0x4b99ea){if(!_0x2a1129[_0x4dfa26(0x168)])continue;if(_0x2a1129[_0x4dfa26(0x150)]){_0xa55e1b[_0x4dfa26(0x15d)](..._0x2a1129[_0x4dfa26(0x1bb)]());continue;}const _0x485150=_0x2a1129[_0x4dfa26(0x17f)]();if(_0xa55e1b[_0x4dfa26(0x1cd)]>0x0){const _0x102496=_0xa55e1b[0x0][_0x4dfa26(0x1cc)](_0x485150);if(_0x102496){_0xa55e1b[0x0]=_0x102496;continue;}}_0xa55e1b[_0x4dfa26(0x15d)](_0x485150);}_0x52ba36[_0x4dfa26(0x15d)]([_0x49373a[_0x4dfa26(0x170)],_0xa55e1b]);}return _0x52ba36;}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x19e),(_0x3bf21d,_0x5642ba)=>{const _0x5dd6d7=_0x44bb52;this[_0x5dd6d7(0x148)](_0x5642ba,_0x5dd6d7(0x1e3),(_0x5db2c0,_0x582c51,_0x28b73d,_0x317e36)=>{const _0x2fa6fc=_0x5dd6d7;_0x5642ba[_0x2fa6fc(0x168)]&&(null==_0x28b73d?(this[_0x2fa6fc(0x14d)](_0x317e36[_0x2fa6fc(0x1c2)]),this[_0x2fa6fc(0x180)](_0x5642ba,!0x1)):(this[_0x2fa6fc(0x14d)](_0x28b73d[_0x2fa6fc(0x1c2)]),null==_0x317e36&&this[_0x2fa6fc(0x180)](_0x5642ba,!0x0)));}),null!==_0x5642ba[_0x5dd6d7(0x1a8)]?this[_0x5dd6d7(0x14d)](_0x5642ba[_0x5dd6d7(0x1c2)]):this[_0x5dd6d7(0x180)](_0x5642ba,!0x1);}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x1cf),(_0xded311,_0x447a3b,_0x4a8ca3)=>{const _0x2f8338=_0x44bb52;this[_0x2f8338(0x176)](_0x447a3b,_0x2f8338(0x1e3)),this[_0x2f8338(0x1e9)][_0x2f8338(0x192)](_0x447a3b),this[_0x2f8338(0x18b)][_0x2f8338(0x198)](_0x447a3b)&&this[_0x2f8338(0x17b)](_0x447a3b),_0x4a8ca3&&this[_0x2f8338(0x14d)](_0x4a8ca3[_0x2f8338(0x1c2)]);}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x15a),(_0x2d6707,_0x268af1)=>{const _0x1367b1=_0x44bb52;this[_0x1367b1(0x14d)](_0x268af1);}),this[_0x44bb52(0x148)](_0x42a4f5,_0x44bb52(0x181),()=>{const _0x3d6d73=_0x44bb52;this[_0x3d6d73(0x17a)]();}),this[_0x44bb52(0x148)](_0x92dc32,_0x44bb52(0x167),(_0x1153c7,{threadId:_0x5470fb,isFromAdapter:_0x4fa6fe})=>{const _0xe46869=_0x44bb52;if(_0x4fa6fe||!_0x4199a4[_0xe46869(0x146)](_0x5470fb))return;const _0x416c8b=_0x4199a4[_0xe46869(0x145)](_0x5470fb);this[_0xe46869(0x18b)][_0xe46869(0x1dd)](_0x416c8b)[_0xe46869(0x170)][_0xe46869(0x1ed)][_0xe46869(0x142)](-0x1);},{'priority':_0x44bb52(0x1a4)}),this[_0x44bb52(0x140)]=this[_0x44bb52(0x1d5)][_0x44bb52(0x1e2)][_0x44bb52(0x1dd)](_0x44bb52(0x140));const _0x376d08=this[_0x44bb52(0x1d5)];this[_0x44bb52(0x196)]=setInterval(()=>{const _0x4deedb=_0x44bb52;let _0xca5a55;for(const _0x17b2cc in _0x376d08){const _0x1921cd=_0x17b2cc,_0x2c78e8=_0x376d08[_0x1921cd];if(_0x4deedb(0x194)==_0x2c78e8||_0x4deedb(0x1d8)==_0x2c78e8||_0x4deedb(0x1cb)==_0x2c78e8||_0x4deedb(0x1bf)==_0x2c78e8||_0x4deedb(0x1ee)==_0x2c78e8||_0x4deedb(0x173)==_0x2c78e8||_0x4deedb(0x1b6)==_0x2c78e8||_0x4deedb(0x199)==_0x2c78e8){delete _0x376d08[_0x1921cd],_0xca5a55=_0x2c78e8,clearInterval(this[_0x4deedb(0x196)]),this[_0x4deedb(0x196)]=void 0x0;break;}}_0x4deedb(0x1d8)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1be)),_0x4deedb(0x1cb)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1a2)),_0x4deedb(0x1bf)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1c7)),_0x4deedb(0x1ee)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x160),_0x4deedb(0x18e)),_0x4deedb(0x173)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x147)),_0x4deedb(0x1b6)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x191)),_0x4deedb(0x199)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x184));},0x3e8);}[_0x249c0f(0x1ae)](_0x4f4464){const _0x57bca5=_0x249c0f,_0x27ab8b=this[_0x57bca5(0x18b)][_0x57bca5(0x1dd)](_0x4f4464);if(!_0x27ab8b)return null;return this[_0x57bca5(0x1d5)][_0x57bca5(0x17d)][_0x57bca5(0x1dd)](_0x57bca5(0x1b3))[_0x57bca5(0x1de)](_0x27ab8b[_0x57bca5(0x170)])||null;}[_0x249c0f(0x141)](_0x439351){const _0x23ce4e=_0x249c0f,_0x3b606b=this[_0x23ce4e(0x1d7)][_0x23ce4e(0x1dd)](_0x439351[_0x23ce4e(0x19d)]);return _0x3b606b?_0x3b606b[_0x23ce4e(0x1ec)]:null;}[_0x249c0f(0x17a)](){const _0x263811=_0x249c0f,_0x49d215=this[_0x263811(0x1d5)][_0x263811(0x17d)][_0x263811(0x1dd)](_0x263811(0x1b3)),_0x1a848f=this[_0x263811(0x1d5)][_0x263811(0x17d)][_0x263811(0x1dd)](_0x263811(0x1e7)),_0x188708=Array[_0x263811(0x1ce)](_0x49d215[_0x263811(0x177)],_0x49ee21=>_0x49ee21[_0x263811(0x19d)])[_0x263811(0x16c)](_0x2f9e04=>this[_0x263811(0x1d7)][_0x263811(0x198)](_0x2f9e04)),_0x505a5a=[];for(const _0x3ab4e4 of _0x188708){const _0x47980f=this[_0x263811(0x1d7)][_0x263811(0x1dd)](_0x3ab4e4)[_0x263811(0x1ec)][_0x263811(0x16a)]();_0x505a5a[_0x263811(0x15d)](..._0x47980f[_0x263811(0x1ad)]((_0x1fcbb8,_0x2aa8b9)=>[..._0x1fcbb8,..._0x2aa8b9[_0x263811(0x1c3)]()],[]));}_0x1a848f[_0x263811(0x15e)]=_0x505a5a;}[_0x249c0f(0x1ba)](){const _0x270f8e=_0x249c0f,_0x19d48b=this[_0x270f8e(0x1d5)],_0x508e94=_0x19d48b[_0x270f8e(0x1ef)],_0x29e515=_0x16343e(_0x508e94,_0x270f8e(0x1c5)),_0x5822c9=new _0x528d48([{'type':_0x270f8e(0x1d0),'model':new _0x37a6f1({'withText':!0x0,'isToggleable':!0x0,'label':_0x29e515,'commandName':_0x270f8e(0x1c1),'role':_0x270f8e(0x1c0)})},{'type':_0x270f8e(0x187)},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x18d)),'commandName':_0x270f8e(0x19b),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x1e1)),'commandName':_0x270f8e(0x178),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x1b4)),'commandName':_0x270f8e(0x1d3),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x16b)),'commandName':_0x270f8e(0x155),'role':_0x270f8e(0x1df)})}]);_0x19d48b[_0x270f8e(0x17d)][_0x270f8e(0x198)](_0x270f8e(0x1ea))&&_0x5822c9[_0x270f8e(0x158)]([{'type':_0x270f8e(0x187)},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x14c)),'commandName':_0x270f8e(0x1b9),'role':_0x270f8e(0x1df)})}]);for(const _0x5a738e of _0x5822c9)if(xe(_0x5a738e)){const _0x22807a=_0x19d48b[_0x270f8e(0x1d2)][_0x270f8e(0x1dd)](_0x5a738e[_0x270f8e(0x1ec)][_0x270f8e(0x1c9)]);_0x5a738e[_0x270f8e(0x1ec)][_0x270f8e(0x17c)](_0x270f8e(0x1b2),_0x270f8e(0x172))['to'](_0x22807a,_0x270f8e(0x157),_0x270f8e(0x172));}_0x19d48b['ui'][_0x270f8e(0x15b)][_0x270f8e(0x1db)](_0x270f8e(0x1c1),_0x26180f=>this[_0x270f8e(0x183)](_0x26180f,_0x5822c9,_0x29e515)),_0x19d48b['ui'][_0x270f8e(0x15b)][_0x270f8e(0x1db)](_0x270f8e(0x1e6),_0x42e8ec=>this[_0x270f8e(0x1a5)](_0x42e8ec,_0x5822c9,_0x29e515));}[_0x249c0f(0x183)](_0x5cdbcc,_0x259761,_0x1aae1a){const _0x5c1a60=_0x249c0f,_0x4d1ec2=_0x5e68dd(_0x5cdbcc,_0x1d4ee7),_0x51eaee=this[_0x5c1a60(0x1d5)][_0x5c1a60(0x1d2)][_0x5c1a60(0x1dd)](_0x5c1a60(0x1c1));_0x4d1ec2[_0x5c1a60(0x1bd)][_0x5c1a60(0x165)]({'tooltip':_0x1aae1a,'label':_0x1aae1a,'icon':_0x376649}),_0x4d1ec2[_0x5c1a60(0x1bd)][_0x5c1a60(0x17c)](_0x5c1a60(0x1b2))['to'](_0x51eaee,_0x5c1a60(0x157)),_0x4d1ec2[_0x5c1a60(0x1bd)]['on'](_0x5c1a60(0x153),()=>{const _0x449c5a=_0x5c1a60;_0x51eaee[_0x449c5a(0x153)](),this[_0x449c5a(0x1d5)][_0x449c5a(0x182)][_0x449c5a(0x170)][_0x449c5a(0x142)]();}),_0x70b774(_0x4d1ec2,_0x259761,{'role':_0x5c1a60(0x1ac)});const _0x465081=[];for(const _0x4f88cf of _0x259761)xe(_0x4f88cf)&&_0x465081[_0x5c1a60(0x15d)](this[_0x5c1a60(0x1d5)][_0x5c1a60(0x1d2)][_0x5c1a60(0x1dd)](_0x4f88cf[_0x5c1a60(0x1ec)][_0x5c1a60(0x1c9)]));const _0x55320e=_0x4d1ec2[_0x5c1a60(0x1bd)];return _0x55320e[_0x5c1a60(0x16e)][_0x5c1a60(0x1e0)](_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x18a)][_0x5c1a60(0x1e0)](_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x16e)][_0x5c1a60(0x17c)](_0x5c1a60(0x172))['to'](_0x51eaee,_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x18a)][_0x5c1a60(0x17c)](_0x5c1a60(0x172))[_0x5c1a60(0x19c)](_0x465081,_0x5c1a60(0x172),(..._0x46f8f7)=>_0x46f8f7[_0x5c1a60(0x154)](_0x3aa964=>_0x3aa964)),_0x4d1ec2['on'](_0x5c1a60(0x153),_0x1d7f98=>{const _0x34a971=_0x5c1a60;this[_0x34a971(0x1d5)][_0x34a971(0x153)](_0x1d7f98[_0x34a971(0x19a)][_0x34a971(0x1c9)]),this[_0x34a971(0x1d5)][_0x34a971(0x182)][_0x34a971(0x170)][_0x34a971(0x142)]();}),_0x4d1ec2;}[_0x249c0f(0x1a5)](_0x482666,_0x4fefe0,_0x313a6f){const _0x3adf35=_0x249c0f,_0x1d6da0=new _0x44e66c(_0x482666),_0x513abc=this[_0x3adf35(0x1d5)][_0x3adf35(0x1d2)][_0x3adf35(0x1dd)](_0x3adf35(0x1c1));_0x1d6da0[_0x3adf35(0x1bd)][_0x3adf35(0x165)]({'label':_0x313a6f,'icon':_0x376649});const _0x32f7fb=new _0x3ca3ad(_0x482666);for(const _0x263441 of _0x4fefe0){if(_0x3adf35(0x187)==_0x263441[_0x3adf35(0x1c6)]){_0x32f7fb[_0x3adf35(0x197)][_0x3adf35(0x1db)](new _0x4ea0fd(_0x482666));continue;}const _0xbbb08c=new _0x2b13d1(_0x482666,_0x1d6da0),_0x368ead=new _0x2af1d0(_0x482666),_0x4b4714=_0x263441[_0x3adf35(0x1ec)];_0x368ead[_0x3adf35(0x17c)](...Object[_0x3adf35(0x18c)](_0x4b4714))['to'](_0x4b4714),_0x368ead[_0x3adf35(0x169)](_0x3adf35(0x153))['to'](_0x1d6da0),_0x368ead['on'](_0x3adf35(0x153),()=>{const _0x2f3741=_0x3adf35;this[_0x2f3741(0x1d5)][_0x2f3741(0x153)](_0x4b4714[_0x2f3741(0x1c9)]),this[_0x2f3741(0x1d5)][_0x2f3741(0x182)][_0x2f3741(0x170)][_0x2f3741(0x142)]();}),_0xbbb08c[_0x3adf35(0x143)][_0x3adf35(0x1db)](_0x368ead),_0x32f7fb[_0x3adf35(0x197)][_0x3adf35(0x1db)](_0xbbb08c);}return _0x1d6da0[_0x3adf35(0x17c)](_0x3adf35(0x172))['to'](_0x513abc,_0x3adf35(0x172)),_0x1d6da0[_0x3adf35(0x1b8)][_0x3adf35(0x143)][_0x3adf35(0x1db)](_0x32f7fb),_0x1d6da0;}[_0x249c0f(0x1e8)](_0x471e4a){const _0x1ee21b=_0x249c0f,_0x33afa4=this[_0x1ee21b(0x1d5)],_0x408f78=_0x33afa4[_0x1ee21b(0x1e2)],_0x218186=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1b3)),_0x2dc748=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x16d)),_0x14a3f0=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1f0)),_0x39f049=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x23f0e7)['me'],_0x1fa71e=_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1c1))[_0x1ee21b(0x144)],_0x3f92b7=_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1c1))[_0x1ee21b(0x161)],{CommentsListView:_0x1c2fb1,CommentThreadInputView:_0x51669c}=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1a1));let _0x5caa3e,_0x1fa24f,_0x3861b9;this[_0x1ee21b(0x1d1)][_0x1ee21b(0x198)](_0x471e4a['id'])?(_0x1fa24f=this[_0x1ee21b(0x1d1)][_0x1ee21b(0x1dd)](_0x471e4a['id']),_0x5caa3e=_0x1fa24f[_0x1ee21b(0x1ab)]):(_0x5caa3e=new _0x1fa71e(_0x33afa4[_0x1ee21b(0x1ef)],_0x471e4a,_0x39f049,{'disableComments':this[_0x1ee21b(0x162)],'editorConfig':{..._0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1f1)),'licenseKey':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x140))},'maxCommentsWhenCollapsed':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1af)),'maxThreadTotalWeight':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1da)),'maxCommentCharsWhenCollapsed':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x149)),'formatDateTime':_0x159ee8(_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1ef)),_0x33afa4[_0x1ee21b(0x1ef)]),'CommentView':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x171))[_0x1ee21b(0x17e)],'CommentsListView':_0x1c2fb1,'CommentThreadInputView':_0x51669c,'SuggestionView':_0x3f92b7}),_0x5caa3e[_0x1ee21b(0x14e)][_0x1ee21b(0x1f2)]['on'](_0x1ee21b(0x153),()=>{const _0x433404=_0x1ee21b;_0x33afa4[_0x433404(0x182)][_0x433404(0x170)][_0x433404(0x142)]();}),_0x5caa3e[_0x1ee21b(0x14e)][_0x1ee21b(0x166)]['on'](_0x1ee21b(0x153),()=>{const _0x403052=_0x1ee21b;_0x33afa4[_0x403052(0x182)][_0x403052(0x170)][_0x403052(0x142)]();}),_0x1fa24f=_0x218186[_0x1ee21b(0x188)](this[_0x1ee21b(0x1d5)][_0x1ee21b(0x1ef)],_0x5caa3e),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x190))['to'](_0x5caa3e,_0x1ee21b(0x190)),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x1cd))['to'](_0x5caa3e),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x1c6))['to'](_0x5caa3e,_0x1ee21b(0x1c6),_0x5ab20b=>_0x1ee21b(0x14a)+_0x5ab20b),_0x5caa3e['on'](_0x1ee21b(0x1bc),()=>{const _0x4ec252=_0x1ee21b;_0x3861b9[_0x4ec252(0x1eb)](_0x4ec252(0x1bc));}),this[_0x1ee21b(0x1d1)][_0x1ee21b(0x165)](_0x471e4a['id'],_0x1fa24f));const _0x2e4ccc=_0x2dc748[_0x1ee21b(0x1ca)](_0x471e4a[_0x1ee21b(0x1a6)],_0x5caa3e),_0x4d5648=new _0x42e13e(_0x33afa4,_0x471e4a,_0x5caa3e,_0x2e4ccc),_0x1283e=_0x471e4a[_0x1ee21b(0x16a)]()[_0x1ee21b(0x16c)](_0x1efee6=>_0x1efee6[_0x1ee21b(0x168)]);_0x5caa3e[_0x1ee21b(0x185)]=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1e7))[_0x1ee21b(0x1d4)][_0x1ee21b(0x14b)](_0x1283e),this[_0x1ee21b(0x18b)][_0x1ee21b(0x165)](_0x471e4a,_0x4d5648),this[_0x1ee21b(0x1d7)][_0x1ee21b(0x165)](_0x5caa3e,_0x4d5648);const _0x3da4f2=()=>{const _0x10fa1f=_0x1ee21b,_0x7012d5=[],_0x59fccc=_0x471e4a[_0x10fa1f(0x16a)]()[_0x10fa1f(0x16c)](_0x2f56c8=>_0x2f56c8[_0x10fa1f(0x168)]);for(const _0xc9fc3 of _0x59fccc)_0x7012d5[_0x10fa1f(0x15d)](..._0xc9fc3[_0x10fa1f(0x193)]());return _0x75170e(_0x33afa4[_0x10fa1f(0x182)],_0x7012d5);};_0x3861b9=_0x218186[_0x1ee21b(0x1a3)]({'view':_0x1fa24f,'target':_0x3da4f2,'type':()=>_0x1ee21b(0x14a)+_0x4d5648[_0x1ee21b(0x170)][_0x1ee21b(0x1c6)],'isVisible':!!_0x3da4f2()}),_0x2dc748[_0x1ee21b(0x186)](_0x5caa3e,_0x3861b9),_0x218186[_0x1ee21b(0x1db)](_0x3861b9),_0x14a3f0[_0x1ee21b(0x19f)](_0x3861b9);}[_0x249c0f(0x17b)](_0x41d6da){const _0x22f560=_0x249c0f,_0xead9e2=this[_0x22f560(0x1d5)][_0x22f560(0x17d)][_0x22f560(0x1dd)](_0x22f560(0x16d)),_0x1b1b8a=this[_0x22f560(0x1d5)][_0x22f560(0x17d)][_0x22f560(0x1dd)](_0x22f560(0x1b3)),_0x3f06fd=this[_0x22f560(0x18b)][_0x22f560(0x1dd)](_0x41d6da),_0x4c4cc1=_0x3f06fd[_0x22f560(0x170)],_0x11466b=_0x1b1b8a[_0x22f560(0x1de)](_0x4c4cc1);_0xead9e2[_0x22f560(0x179)](_0x4c4cc1),_0x11466b&&_0x1b1b8a[_0x22f560(0x1b1)](_0x11466b),this[_0x22f560(0x18b)][_0x22f560(0x192)](_0x41d6da),this[_0x22f560(0x1d7)][_0x22f560(0x192)](_0x4c4cc1),_0x3f06fd[_0x22f560(0x159)]();}[_0x249c0f(0x14d)](_0x2c9139){const _0x44668f=_0x249c0f;if(!_0x2c9139[_0x44668f(0x168)]||!this[_0x44668f(0x18b)][_0x44668f(0x198)](_0x2c9139))return;const _0x365b25=this[_0x44668f(0x1d5)][_0x44668f(0x17d)][_0x44668f(0x1dd)](_0x44668f(0x1e7)),_0x5d634b=this[_0x44668f(0x18b)][_0x44668f(0x1dd)](_0x2c9139),_0x434068=_0x2c9139[_0x44668f(0x16a)]();_0x5d634b[_0x44668f(0x170)][_0x44668f(0x185)]=_0x365b25[_0x44668f(0x1d4)][_0x44668f(0x14b)](_0x434068);}[_0x249c0f(0x159)](){const _0x5bb72e=_0x249c0f;for(const _0x41b934 of this[_0x5bb72e(0x18b)][_0x5bb72e(0x18c)]())this[_0x5bb72e(0x17b)](_0x41b934);for(const _0x56b322 of this[_0x5bb72e(0x1d1)][_0x5bb72e(0x195)]())_0x56b322[_0x5bb72e(0x1ab)][_0x5bb72e(0x159)]();super[_0x5bb72e(0x159)](),this[_0x5bb72e(0x196)]&&clearInterval(this[_0x5bb72e(0x196)]);}}function xe(_0x35a736){const _0xe077a8=_0x249c0f;return _0xe077a8(0x1ec)in _0x35a736;}function _0x3e80(){const _0x5053a4=['trackChangesLicenseKeyValid','values','_licenseKeyCheckInterval','items','has','trackChangesLicenseKeyUsageLimit','source','acceptAllSuggestions','toMany','innerView','suggestionLoaded','registerAnnotation','pluginName','CommentsUI','expired','createAnnotation','lowest','_createMenuBarMenu','commentThread','button','previous','138KNrHnv','addSourceCollector','mainView','menu','reduce','getAnnotationForSuggestion','comments.maxCommentsWhenCollapsed','64DtKZPC','remove','isOn','Annotations','Discard\x20all\x20suggestions','requires','trackChangesLicenseKeyTrialLimit','isPremiumPlugin','panelView','previewFinalContent','_addUIComponentsToFactory','getRanges','escape','buttonView','invalid','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','trackChanges','head','getMarkerNames','11VKKAva','Track\x20changes','type','domainLimit','687888pwmMlz','commandName','createCommentThreadController','trackChangesLicenseKeyExpired','getJoined','length','from','suggestionUnloaded','switchbutton','_annotationViews','commands','discardAllSuggestions','descriptionFactory','editor','trackChanges.disableComments','_viewToController','trackChangesLicenseKeyInvalid','21308DryAyn','comments.maxThreadTotalWeight','add','define','get','getByInnerView','menuitem','unbind','Accept\x20all\x20selected\x20suggestions','config','change:previous','clear','4gVCRjH','menuBar:trackChanges','TrackChangesEditing','_initializeController','_handleControllerBuffer','TrackChangesPreview','fire','model','commentsListView','trackChangesLicenseKeyNotAllowed','locale','EditorAnnotations','comments.editorConfig','acceptButton','TrackChangesUI','licenseKey','getSuggestionForAnnotation','focus','children','SuggestionThreadView','getSuggestion','hasSuggestion','evaluationLimit','listenTo','comments.maxCommentCharsWhenCollapsed','suggestion-','getDescriptions','Preview\x20final\x20content','_updateController','suggestionView','248841zrgzJo','isMultiRange','isOfficialPlugin','trackChanges.SuggestionView','execute','some','discardSelectedSuggestions','refreshSelectedViews','value','addMany','destroy','suggestionChanged','componentFactory','_showLicenseError','push','activeMarkers','64568OeNzSU','featureNotAllowed','SuggestionView','_disableComments','5tfGPmS','init','set','discardButton','addComment','isInContent','delegate','getAllAdjacentSuggestions','Discard\x20all\x20selected\x20suggestions','filter','CommentsRepository','actionView','303057ZpKbRN','view','comments','isEnabled','trackChangesLicenseKeyEvaluationLimit','trackChanges.SuggestionThreadView','439420ceLwwS','stopListening','activeAnnotations','acceptSelectedSuggestions','_unbindEditors','_refreshActiveMarkers','_destroyController','bind','plugins','CommentView','getFirstRange','_handleSuggestionControllerDelayed','change:activeAnnotations','editing','_createToolbarButton','usageLimit','descriptionParts','_bindAnnotationToEditors','separator','createAnnotationView','size','arrowView','_suggestionToController','keys','Accept\x20all\x20suggestions','TrackChanges','91660vXpprN','isDirty','trialLimit','delete','getMarkers'];_0x3e80=function(){return _0x5053a4;};return _0x3e80();}
|
|
23
|
+
function _0x2602(){const _0x46d886=['suggestionUnloaded','unbind','getJoined','config','activeAnnotations','innerView','_destroyController','panelView','editing','commentsListView','_handleSuggestionControllerDelayed','view','TrackChangesEditing','toMany','has','refreshSelectedViews','trackChangesLicenseKeyTrialLimit','get','comments.maxThreadTotalWeight','94177ZlUWUW','children','createCommentThreadController','commands','descriptionParts','size','hasSuggestion','isEnabled','141944BLMVsP','Track\x20changes','_updateController','previous','TrackChangesUI','suggestion-','domainLimit','licenseKey','filter','some','source','commandName','previewFinalContent','trackChangesLicenseKeyExpired','bind','isInContent','delete','model','trialLimit','trackChanges.SuggestionThreadView','getMarkers','switchbutton','Preview\x20final\x20content','addMany','trackChangesLicenseKeyNotAllowed','reduce','1720642gtWFML','plugins','head','trackChangesLicenseKeyDomainLimit','_suggestionToController','_disableComments','usageLimit','TrackChanges','673057rrllGa','comments.maxCommentCharsWhenCollapsed','addSourceCollector','discardAllSuggestions','pluginName','CommentsRepository','button','CommentsUI','addComment','getDescriptions','value','add','execute','SuggestionThreadView','EditorAnnotations','_initializeController','Annotations','registerAnnotation','Accept\x20all\x20suggestions','SuggestionView','commentThread','isOn','buttonView','trackChangesLicenseKeyEvaluationLimit','remove','2yDkGHS','getSuggestionForAnnotation','fire','trackChanges.SuggestionView','activeMarkers','descriptionFactory','getSuggestion','comments.maxCommentsWhenCollapsed','isMultiRange','length','actionView','getFirstRange','discardSelectedSuggestions','16MmEddW','trackChangesLicenseKeyUsageLimit','editor','separator','acceptAllSuggestions','escape','_addUIComponentsToFactory','_showLicenseError','listenTo','destroy','suggestionLoaded','type','_annotationViews','set','define','isDirty','_viewToController','_handleControllerBuffer','stopListening','isOfficialPlugin','locale','clear','CommentView','createAnnotationView','72KktVGd','30FKeOhg','mainView','evaluationLimit','invalid','isPremiumPlugin','delegate','getAnnotationForSuggestion','comments.editorConfig','push','63695xrUakJ','menuBar:trackChanges','menuitem','_createMenuBarMenu','TrackChangesPreview','getRanges','items','comments','getMarkerNames','arrowView','keys','suggestionChanged','trackChangesLicenseKeyValid','componentFactory','_bindAnnotationToEditors','_unbindEditors','requires','createAnnotation','values','focus','menu','_createToolbarButton','Discard\x20all\x20selected\x20suggestions','featureNotAllowed','lowest','acceptSelectedSuggestions','trackChanges.disableComments','1692063BrdBfG','expired','menuitemcheckbox','getByInnerView','759590ufeaUx','from','init','discardButton','change:previous','change:activeAnnotations','Discard\x20all\x20suggestions','getAllAdjacentSuggestions','Accept\x20all\x20selected\x20suggestions','trackChanges','acceptButton','_refreshActiveMarkers','suggestionView','_licenseKeyCheckInterval','trackChangesLicenseKeyInvalid'];_0x2602=function(){return _0x46d886;};return _0x2602();}const _0x4cf9b4=_0x4ae6;(function(_0x567bba,_0x56028f){const _0x58ff79=_0x4ae6,_0xaad292=_0x567bba();while(!![]){try{const _0x3301fb=parseInt(_0x58ff79(0xd8))/0x1*(-parseInt(_0x58ff79(0x11b))/0x2)+parseInt(_0x58ff79(0x141))/0x3*(parseInt(_0x58ff79(0xe0))/0x4)+parseInt(_0x58ff79(0x14a))/0x5*(parseInt(_0x58ff79(0x140))/0x6)+-parseInt(_0x58ff79(0x102))/0x7*(-parseInt(_0x58ff79(0x128))/0x8)+-parseInt(_0x58ff79(0x165))/0x9+-parseInt(_0x58ff79(0x169))/0xa+-parseInt(_0x58ff79(0xfa))/0xb;if(_0x3301fb===_0x56028f)break;else _0xaad292['push'](_0xaad292['shift']());}catch(_0x2d3000){_0xaad292['push'](_0xaad292['shift']());}}}(_0x2602,0x2d479));import{Plugin as _0x2d2158}from'ckeditor5/src/core.js';import{Collection as _0xbc1fbe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x18b787}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xd5f40f,createDropdown as _0x58bee7,ListSeparatorView as _0x166196,MenuBarMenuView as _0x1a4f76,MenuBarMenuListView as _0x1bc7d6,MenuBarMenuListItemView as _0x37e017,MenuBarMenuListItemButtonView as _0x278fde,SplitButtonView as _0x32075b,UIModel as _0x56ddcc}from'ckeditor5/src/ui.js';import{Users as _0x364245,getDateTimeFormatter as _0x1d2925,getAllMarkersDomElementsSorted as _0x4d831a}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x9ca33}from'./trackchangesediting.js';import{SuggestionController as _0x3966c4}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5ce84c}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x420b44}from'./ui/view/suggestionview.js';import{getTranslation as _0x23e6a8}from'./utils/common-translations.js';function _0x4ae6(_0x4f4615,_0x386152){const _0x260229=_0x2602();return _0x4ae6=function(_0x4ae67b,_0x53b601){_0x4ae67b=_0x4ae67b-0xba;let _0x41b231=_0x260229[_0x4ae67b];return _0x41b231;},_0x4ae6(_0x4f4615,_0x386152);}export class TrackChangesUI extends _0x2d2158{[_0x4cf9b4(0xe7)];[_0x4cf9b4(0xc3)];[_0x4cf9b4(0xfe)];[_0x4cf9b4(0x138)];[_0x4cf9b4(0x134)];[_0x4cf9b4(0x139)];[_0x4cf9b4(0xff)];static get[_0x4cf9b4(0x15a)](){const _0x4ccbae=_0x4cf9b4;return[_0x9ca33,_0x364245,_0x4ccbae(0x107),_0x4ccbae(0x112),_0x4ccbae(0x110)];}static get[_0x4cf9b4(0x106)](){const _0x4091ac=_0x4cf9b4;return _0x4091ac(0xe4);}static get[_0x4cf9b4(0x13b)](){return!0x0;}static get[_0x4cf9b4(0x145)](){return!0x0;}constructor(_0x3faa37){const _0x1a376d=_0x4cf9b4;super(_0x3faa37),this[_0x1a376d(0xfe)]=new Map(),this[_0x1a376d(0x138)]=new Map(),this[_0x1a376d(0x134)]=new Map(),this[_0x1a376d(0x139)]=new Map();const _0xed4653=this[_0x1a376d(0x12a)][_0x1a376d(0xc8)];_0xed4653[_0x1a376d(0x136)](_0x1a376d(0xf3),_0x5ce84c),_0xed4653[_0x1a376d(0x136)](_0x1a376d(0x11e),_0x420b44),_0xed4653[_0x1a376d(0x136)](_0x1a376d(0x164),!0x1),this[_0x1a376d(0xff)]=_0xed4653[_0x1a376d(0xd6)](_0x1a376d(0x164));}[_0x4cf9b4(0xcf)](_0x3e9d63,_0x479b2e){const _0x29ae96=_0x4cf9b4;0x0===this[_0x29ae96(0x139)][_0x29ae96(0xdd)]&&setTimeout(()=>{const _0x55fad4=_0x29ae96;for(const [_0x502c7b,_0x567e78]of this[_0x55fad4(0x139)]){const _0x3b1357=this[_0x55fad4(0xfe)][_0x55fad4(0xd3)](_0x502c7b);_0x3b1357||_0x567e78?_0x3b1357&&_0x567e78&&this[_0x55fad4(0xcb)](_0x502c7b):this[_0x55fad4(0x111)](_0x502c7b);}this[_0x55fad4(0x139)][_0x55fad4(0x13d)](),this[_0x55fad4(0x12a)][_0x55fad4(0xfb)][_0x55fad4(0xd6)](_0x55fad4(0x110))[_0x55fad4(0xd4)](),this[_0x55fad4(0xc1)]();},0xa),this[_0x29ae96(0x139)][_0x29ae96(0x135)](_0x3e9d63,_0x479b2e);}[_0x4cf9b4(0x16b)](){const _0x5f0edf=_0x4cf9b4,_0xa2aa2d=this[_0x5f0edf(0x12a)],_0x58272c=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0xd1)),_0x1deb34=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x112)),_0x137174=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x110)),_0x21b03f=_0xa2aa2d[_0x5f0edf(0xfb)][_0x5f0edf(0xd6)](_0x5f0edf(0x107));this[_0x5f0edf(0x12e)](),_0x137174[_0x5f0edf(0x104)](()=>{const _0x396ef8=_0x5f0edf,_0x36f853=[];for(const [_0x297073,_0x472d94]of Array[_0x396ef8(0x16a)](this[_0x396ef8(0xfe)])){const _0x221e30=_0x297073[_0x396ef8(0xbd)](),_0x537b56=[];for(const _0x934803 of _0x221e30){if(!_0x934803[_0x396ef8(0xef)])continue;if(_0x934803[_0x396ef8(0x123)]){_0x537b56[_0x396ef8(0x149)](..._0x934803[_0x396ef8(0x14f)]());continue;}const _0x1f26ad=_0x934803[_0x396ef8(0x126)]();if(_0x537b56[_0x396ef8(0x124)]>0x0){const _0x271c72=_0x537b56[0x0][_0x396ef8(0xc7)](_0x1f26ad);if(_0x271c72){_0x537b56[0x0]=_0x271c72;continue;}}_0x537b56[_0x396ef8(0x149)](_0x1f26ad);}_0x36f853[_0x396ef8(0x149)]([_0x472d94[_0x396ef8(0xd0)],_0x537b56]);}return _0x36f853;}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0x132),(_0x23a5a5,_0x11a781)=>{const _0x14ac39=_0x5f0edf;this[_0x14ac39(0x130)](_0x11a781,_0x14ac39(0xba),(_0x455bfa,_0x5c1fa2,_0x1a5efd,_0x38a22b)=>{const _0x3e95e1=_0x14ac39;_0x11a781[_0x3e95e1(0xef)]&&(null==_0x1a5efd?(this[_0x3e95e1(0xe2)](_0x38a22b[_0x3e95e1(0xfc)]),this[_0x3e95e1(0xcf)](_0x11a781,!0x1)):(this[_0x3e95e1(0xe2)](_0x1a5efd[_0x3e95e1(0xfc)]),null==_0x38a22b&&this[_0x3e95e1(0xcf)](_0x11a781,!0x0)));}),null!==_0x11a781[_0x14ac39(0xe3)]?this[_0x14ac39(0xe2)](_0x11a781[_0x14ac39(0xfc)]):this[_0x14ac39(0xcf)](_0x11a781,!0x1);}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0xc5),(_0x1c9b16,_0x1ef42b,_0x44c837)=>{const _0x1f8906=_0x5f0edf;this[_0x1f8906(0x13a)](_0x1ef42b,_0x1f8906(0xba)),this[_0x1f8906(0x139)][_0x1f8906(0xf0)](_0x1ef42b),this[_0x1f8906(0xfe)][_0x1f8906(0xd3)](_0x1ef42b)&&this[_0x1f8906(0xcb)](_0x1ef42b),_0x44c837&&this[_0x1f8906(0xe2)](_0x44c837[_0x1f8906(0xfc)]);}),this[_0x5f0edf(0x130)](_0x58272c,_0x5f0edf(0x155),(_0x27d3dd,_0x2c82af)=>{const _0x4d4889=_0x5f0edf;this[_0x4d4889(0xe2)](_0x2c82af);}),this[_0x5f0edf(0x130)](_0x1deb34,_0x5f0edf(0xbb),()=>{const _0x2b53a9=_0x5f0edf;this[_0x2b53a9(0xc1)]();}),this[_0x5f0edf(0x130)](_0x21b03f,_0x5f0edf(0x10a),(_0x147256,{threadId:_0x447ef8,isFromAdapter:_0xdefbf8})=>{const _0x47ceaa=_0x5f0edf;if(_0xdefbf8||!_0x58272c[_0x47ceaa(0xde)](_0x447ef8))return;const _0x5192a7=_0x58272c[_0x47ceaa(0x121)](_0x447ef8);this[_0x47ceaa(0xfe)][_0x47ceaa(0xd6)](_0x5192a7)[_0x47ceaa(0xd0)][_0x47ceaa(0xce)][_0x47ceaa(0x15d)](-0x1);},{'priority':_0x5f0edf(0x162)}),this[_0x5f0edf(0xe7)]=this[_0x5f0edf(0x12a)][_0x5f0edf(0xc8)][_0x5f0edf(0xd6)](_0x5f0edf(0xe7));const _0x3c22ce=this[_0x5f0edf(0x12a)];this[_0x5f0edf(0xc3)]=setInterval(()=>{const _0x52ff79=_0x5f0edf;let _0x397b09;for(const _0x5cc880 in _0x3c22ce){const _0x8a6ed9=_0x5cc880,_0x1b8bf1=_0x3c22ce[_0x8a6ed9];if(_0x52ff79(0x156)==_0x1b8bf1||_0x52ff79(0xc4)==_0x1b8bf1||_0x52ff79(0xed)==_0x1b8bf1||_0x52ff79(0xfd)==_0x1b8bf1||_0x52ff79(0xf8)==_0x1b8bf1||_0x52ff79(0x119)==_0x1b8bf1||_0x52ff79(0xd5)==_0x1b8bf1||_0x52ff79(0x129)==_0x1b8bf1){delete _0x3c22ce[_0x8a6ed9],_0x397b09=_0x1b8bf1,clearInterval(this[_0x52ff79(0xc3)]),this[_0x52ff79(0xc3)]=void 0x0;break;}}_0x52ff79(0xc4)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x144)),_0x52ff79(0xed)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x166)),_0x52ff79(0xfd)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0xe6)),_0x52ff79(0xf8)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x161),_0x52ff79(0x101)),_0x52ff79(0x119)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x143)),_0x52ff79(0xd5)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0xf2)),_0x52ff79(0x129)==_0x397b09&&_0x3c22ce[_0x52ff79(0x12f)](_0x52ff79(0x100));},0x3e8);}[_0x4cf9b4(0x147)](_0x61553d){const _0x1b181c=_0x4cf9b4,_0x332273=this[_0x1b181c(0xfe)][_0x1b181c(0xd6)](_0x61553d);if(!_0x332273)return null;return this[_0x1b181c(0x12a)][_0x1b181c(0xfb)][_0x1b181c(0xd6)](_0x1b181c(0x112))[_0x1b181c(0x168)](_0x332273[_0x1b181c(0xd0)])||null;}[_0x4cf9b4(0x11c)](_0x4e4aae){const _0x34990f=_0x4cf9b4,_0x188095=this[_0x34990f(0x138)][_0x34990f(0xd6)](_0x4e4aae[_0x34990f(0xca)]);return _0x188095?_0x188095[_0x34990f(0xf1)]:null;}[_0x4cf9b4(0xc1)](){const _0x1c7537=_0x4cf9b4,_0x5d39d4=this[_0x1c7537(0x12a)][_0x1c7537(0xfb)][_0x1c7537(0xd6)](_0x1c7537(0x112)),_0x571abf=this[_0x1c7537(0x12a)][_0x1c7537(0xfb)][_0x1c7537(0xd6)](_0x1c7537(0xd1)),_0x5a80de=Array[_0x1c7537(0x16a)](_0x5d39d4[_0x1c7537(0xc9)],_0xbea4c6=>_0xbea4c6[_0x1c7537(0xca)])[_0x1c7537(0xe8)](_0x1aaceb=>this[_0x1c7537(0x138)][_0x1c7537(0xd3)](_0x1aaceb)),_0x140909=[];for(const _0x4da49a of _0x5a80de){const _0x1b96b7=this[_0x1c7537(0x138)][_0x1c7537(0xd6)](_0x4da49a)[_0x1c7537(0xf1)][_0x1c7537(0xbd)]();_0x140909[_0x1c7537(0x149)](..._0x1b96b7[_0x1c7537(0xf9)]((_0x59b65d,_0xabbccd)=>[..._0x59b65d,..._0xabbccd[_0x1c7537(0x152)]()],[]));}_0x571abf[_0x1c7537(0x11f)]=_0x140909;}[_0x4cf9b4(0x12e)](){const _0x3f49d2=_0x4cf9b4,_0x384db5=this[_0x3f49d2(0x12a)],_0x542743=_0x384db5[_0x3f49d2(0x13c)],_0x3bdb33=_0x23e6a8(_0x542743,_0x3f49d2(0xe1)),_0x267b8b=new _0xbc1fbe([{'type':_0x3f49d2(0xf5),'model':new _0x56ddcc({'withText':!0x0,'isToggleable':!0x0,'label':_0x3bdb33,'commandName':_0x3f49d2(0xbf),'role':_0x3f49d2(0x167)})},{'type':_0x3f49d2(0x12b)},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0x114)),'commandName':_0x3f49d2(0x12c),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xbe)),'commandName':_0x3f49d2(0x163),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xbc)),'commandName':_0x3f49d2(0x105),'role':_0x3f49d2(0x14c)})},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0x160)),'commandName':_0x3f49d2(0x127),'role':_0x3f49d2(0x14c)})}]);_0x384db5[_0x3f49d2(0xfb)][_0x3f49d2(0xd3)](_0x3f49d2(0x14e))&&_0x267b8b[_0x3f49d2(0xf7)]([{'type':_0x3f49d2(0x12b)},{'type':_0x3f49d2(0x108),'model':new _0x56ddcc({'withText':!0x0,'label':_0x23e6a8(_0x542743,_0x3f49d2(0xf6)),'commandName':_0x3f49d2(0xec),'role':_0x3f49d2(0x14c)})}]);for(const _0x8f68d5 of _0x267b8b)if(Ee(_0x8f68d5)){const _0x5689d1=_0x384db5[_0x3f49d2(0xdb)][_0x3f49d2(0xd6)](_0x8f68d5[_0x3f49d2(0xf1)][_0x3f49d2(0xeb)]);_0x8f68d5[_0x3f49d2(0xf1)][_0x3f49d2(0xee)](_0x3f49d2(0x117),_0x3f49d2(0xdf))['to'](_0x5689d1,_0x3f49d2(0x10c),_0x3f49d2(0xdf));}_0x384db5['ui'][_0x3f49d2(0x157)][_0x3f49d2(0x10d)](_0x3f49d2(0xbf),_0x290ac6=>this[_0x3f49d2(0x15f)](_0x290ac6,_0x267b8b,_0x3bdb33)),_0x384db5['ui'][_0x3f49d2(0x157)][_0x3f49d2(0x10d)](_0x3f49d2(0x14b),_0x18e3f7=>this[_0x3f49d2(0x14d)](_0x18e3f7,_0x267b8b,_0x3bdb33));}[_0x4cf9b4(0x15f)](_0x4dfd39,_0x54bc6d,_0x5afd84){const _0x435efd=_0x4cf9b4,_0x188c53=_0x58bee7(_0x4dfd39,_0x32075b),_0x3ba771=this[_0x435efd(0x12a)][_0x435efd(0xdb)][_0x435efd(0xd6)](_0x435efd(0xbf));_0x188c53[_0x435efd(0x118)][_0x435efd(0x135)]({'tooltip':_0x5afd84,'label':_0x5afd84,'icon':_0x18b787}),_0x188c53[_0x435efd(0x118)][_0x435efd(0xee)](_0x435efd(0x117))['to'](_0x3ba771,_0x435efd(0x10c)),_0x188c53[_0x435efd(0x118)]['on'](_0x435efd(0x10e),()=>{const _0x56cf75=_0x435efd;_0x3ba771[_0x56cf75(0x10e)](),this[_0x56cf75(0x12a)][_0x56cf75(0xcd)][_0x56cf75(0xd0)][_0x56cf75(0x15d)]();}),_0xd5f40f(_0x188c53,_0x54bc6d,{'role':_0x435efd(0x15e)});const _0x384e0b=[];for(const _0xbc3813 of _0x54bc6d)Ee(_0xbc3813)&&_0x384e0b[_0x435efd(0x149)](this[_0x435efd(0x12a)][_0x435efd(0xdb)][_0x435efd(0xd6)](_0xbc3813[_0x435efd(0xf1)][_0x435efd(0xeb)]));const _0x5cc3ea=_0x188c53[_0x435efd(0x118)];return _0x5cc3ea[_0x435efd(0x125)][_0x435efd(0xc6)](_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x153)][_0x435efd(0xc6)](_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x125)][_0x435efd(0xee)](_0x435efd(0xdf))['to'](_0x3ba771,_0x435efd(0xdf)),_0x5cc3ea[_0x435efd(0x153)][_0x435efd(0xee)](_0x435efd(0xdf))[_0x435efd(0xd2)](_0x384e0b,_0x435efd(0xdf),(..._0x24da86)=>_0x24da86[_0x435efd(0xe9)](_0x5af477=>_0x5af477)),_0x188c53['on'](_0x435efd(0x10e),_0x581ab2=>{const _0x477618=_0x435efd;this[_0x477618(0x12a)][_0x477618(0x10e)](_0x581ab2[_0x477618(0xea)][_0x477618(0xeb)]),this[_0x477618(0x12a)][_0x477618(0xcd)][_0x477618(0xd0)][_0x477618(0x15d)]();}),_0x188c53;}[_0x4cf9b4(0x14d)](_0x429bbb,_0x489c2c,_0x5e84ec){const _0x49169a=_0x4cf9b4,_0x2679d6=new _0x1a4f76(_0x429bbb),_0x39ee3f=this[_0x49169a(0x12a)][_0x49169a(0xdb)][_0x49169a(0xd6)](_0x49169a(0xbf));_0x2679d6[_0x49169a(0x118)][_0x49169a(0x135)]({'label':_0x5e84ec,'icon':_0x18b787});const _0x34ebf3=new _0x1bc7d6(_0x429bbb);for(const _0x256c44 of _0x489c2c){if(_0x49169a(0x12b)==_0x256c44[_0x49169a(0x133)]){_0x34ebf3[_0x49169a(0x150)][_0x49169a(0x10d)](new _0x166196(_0x429bbb));continue;}const _0x337b9c=new _0x37e017(_0x429bbb,_0x2679d6),_0x3cd7ee=new _0x278fde(_0x429bbb),_0x1129ab=_0x256c44[_0x49169a(0xf1)];_0x3cd7ee[_0x49169a(0xee)](...Object[_0x49169a(0x154)](_0x1129ab))['to'](_0x1129ab),_0x3cd7ee[_0x49169a(0x146)](_0x49169a(0x10e))['to'](_0x2679d6),_0x3cd7ee['on'](_0x49169a(0x10e),()=>{const _0x594689=_0x49169a;this[_0x594689(0x12a)][_0x594689(0x10e)](_0x1129ab[_0x594689(0xeb)]),this[_0x594689(0x12a)][_0x594689(0xcd)][_0x594689(0xd0)][_0x594689(0x15d)]();}),_0x337b9c[_0x49169a(0xd9)][_0x49169a(0x10d)](_0x3cd7ee),_0x34ebf3[_0x49169a(0x150)][_0x49169a(0x10d)](_0x337b9c);}return _0x2679d6[_0x49169a(0xee)](_0x49169a(0xdf))['to'](_0x39ee3f,_0x49169a(0xdf)),_0x2679d6[_0x49169a(0xcc)][_0x49169a(0xd9)][_0x49169a(0x10d)](_0x34ebf3),_0x2679d6;}[_0x4cf9b4(0x111)](_0x5242fc){const _0x20a176=_0x4cf9b4,_0x1fbbd8=this[_0x20a176(0x12a)],_0x5032a3=_0x1fbbd8[_0x20a176(0xc8)],_0x1d8655=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x112)),_0x47c98c=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x107)),_0x5b45e8=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x110)),_0x2d33de=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x364245)['me'],_0x3f4b4f=_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xbf))[_0x20a176(0x10f)],_0x324458=_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xbf))[_0x20a176(0x115)],{CommentsListView:_0x128ca8,CommentThreadInputView:_0x1edceb}=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0x109));let _0x209570,_0x4fd034,_0x441a4a;this[_0x20a176(0x134)][_0x20a176(0xd3)](_0x5242fc['id'])?(_0x4fd034=this[_0x20a176(0x134)][_0x20a176(0xd6)](_0x5242fc['id']),_0x209570=_0x4fd034[_0x20a176(0x142)]):(_0x209570=new _0x3f4b4f(_0x1fbbd8[_0x20a176(0x13c)],_0x5242fc,_0x2d33de,{'disableComments':this[_0x20a176(0xff)],'editorConfig':{..._0x5032a3[_0x20a176(0xd6)](_0x20a176(0x148)),'licenseKey':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xe7))},'maxCommentsWhenCollapsed':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x122)),'maxThreadTotalWeight':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0xd7)),'maxCommentCharsWhenCollapsed':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x103)),'formatDateTime':_0x1d2925(_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x13c)),_0x1fbbd8[_0x20a176(0x13c)]),'CommentView':_0x5032a3[_0x20a176(0xd6)](_0x20a176(0x151))[_0x20a176(0x13e)],'CommentsListView':_0x128ca8,'CommentThreadInputView':_0x1edceb,'SuggestionView':_0x324458}),_0x209570[_0x20a176(0xc2)][_0x20a176(0xc0)]['on'](_0x20a176(0x10e),()=>{const _0xd528aa=_0x20a176;_0x1fbbd8[_0xd528aa(0xcd)][_0xd528aa(0xd0)][_0xd528aa(0x15d)]();}),_0x209570[_0x20a176(0xc2)][_0x20a176(0x16c)]['on'](_0x20a176(0x10e),()=>{const _0x259757=_0x20a176;_0x1fbbd8[_0x259757(0xcd)][_0x259757(0xd0)][_0x259757(0x15d)]();}),_0x4fd034=_0x1d8655[_0x20a176(0x13f)](this[_0x20a176(0x12a)][_0x20a176(0x13c)],_0x209570),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x137))['to'](_0x209570,_0x20a176(0x137)),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x124))['to'](_0x209570),_0x4fd034[_0x20a176(0xee)](_0x20a176(0x133))['to'](_0x209570,_0x20a176(0x133),_0x25b395=>_0x20a176(0xe5)+_0x25b395),_0x209570['on'](_0x20a176(0x12d),()=>{const _0xc69535=_0x20a176;_0x441a4a[_0xc69535(0x11d)](_0xc69535(0x12d));}),this[_0x20a176(0x134)][_0x20a176(0x135)](_0x5242fc['id'],_0x4fd034));const _0x23772a=_0x47c98c[_0x20a176(0xda)](_0x5242fc[_0x20a176(0x116)],_0x209570),_0x289559=new _0x3966c4(_0x1fbbd8,_0x5242fc,_0x209570,_0x23772a),_0x381216=_0x5242fc[_0x20a176(0xbd)]()[_0x20a176(0xe8)](_0x3fa335=>_0x3fa335[_0x20a176(0xef)]);_0x209570[_0x20a176(0xdc)]=_0x1fbbd8[_0x20a176(0xfb)][_0x20a176(0xd6)](_0x20a176(0xd1))[_0x20a176(0x120)][_0x20a176(0x10b)](_0x381216),this[_0x20a176(0xfe)][_0x20a176(0x135)](_0x5242fc,_0x289559),this[_0x20a176(0x138)][_0x20a176(0x135)](_0x209570,_0x289559);const _0x5d15b1=()=>{const _0x248c2e=_0x20a176,_0x474a04=[],_0x5b9ac2=_0x5242fc[_0x248c2e(0xbd)]()[_0x248c2e(0xe8)](_0x36b05f=>_0x36b05f[_0x248c2e(0xef)]);for(const _0x5bed17 of _0x5b9ac2)_0x474a04[_0x248c2e(0x149)](..._0x5bed17[_0x248c2e(0xf4)]());return _0x4d831a(_0x1fbbd8[_0x248c2e(0xcd)],_0x474a04);};_0x441a4a=_0x1d8655[_0x20a176(0x15b)]({'view':_0x4fd034,'target':_0x5d15b1,'type':()=>_0x20a176(0xe5)+_0x289559[_0x20a176(0xd0)][_0x20a176(0x133)],'isVisible':!!_0x5d15b1()}),_0x47c98c[_0x20a176(0x158)](_0x209570,_0x441a4a),_0x1d8655[_0x20a176(0x10d)](_0x441a4a),_0x5b45e8[_0x20a176(0x113)](_0x441a4a);}[_0x4cf9b4(0xcb)](_0x359a8d){const _0x147935=_0x4cf9b4,_0x5792b8=this[_0x147935(0x12a)][_0x147935(0xfb)][_0x147935(0xd6)](_0x147935(0x107)),_0xff3b4=this[_0x147935(0x12a)][_0x147935(0xfb)][_0x147935(0xd6)](_0x147935(0x112)),_0x4d583f=this[_0x147935(0xfe)][_0x147935(0xd6)](_0x359a8d),_0x9809c=_0x4d583f[_0x147935(0xd0)],_0x39ba11=_0xff3b4[_0x147935(0x168)](_0x9809c);_0x5792b8[_0x147935(0x159)](_0x9809c),_0x39ba11&&_0xff3b4[_0x147935(0x11a)](_0x39ba11),this[_0x147935(0xfe)][_0x147935(0xf0)](_0x359a8d),this[_0x147935(0x138)][_0x147935(0xf0)](_0x9809c),_0x4d583f[_0x147935(0x131)]();}[_0x4cf9b4(0xe2)](_0x4fcdb5){const _0x335002=_0x4cf9b4;if(!_0x4fcdb5[_0x335002(0xef)]||!this[_0x335002(0xfe)][_0x335002(0xd3)](_0x4fcdb5))return;const _0x48f054=this[_0x335002(0x12a)][_0x335002(0xfb)][_0x335002(0xd6)](_0x335002(0xd1)),_0x2b280c=this[_0x335002(0xfe)][_0x335002(0xd6)](_0x4fcdb5),_0x4bff55=_0x4fcdb5[_0x335002(0xbd)]();_0x2b280c[_0x335002(0xd0)][_0x335002(0xdc)]=_0x48f054[_0x335002(0x120)][_0x335002(0x10b)](_0x4bff55);}[_0x4cf9b4(0x131)](){const _0x55b7ed=_0x4cf9b4;for(const _0x1ee7b3 of this[_0x55b7ed(0xfe)][_0x55b7ed(0x154)]())this[_0x55b7ed(0xcb)](_0x1ee7b3);for(const _0x3b665f of this[_0x55b7ed(0x134)][_0x55b7ed(0x15c)]())_0x3b665f[_0x55b7ed(0x142)][_0x55b7ed(0x131)]();super[_0x55b7ed(0x131)](),this[_0x55b7ed(0xc3)]&&clearInterval(this[_0x55b7ed(0xc3)]);}}function Ee(_0x4d5105){const _0x41c041=_0x4cf9b4;return _0x41c041(0xf1)in _0x4d5105;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x47eea1=_0x2f4d;(function(_0x2e8632,_0x27c38a){const _0x207d51=_0x2f4d,_0x1aec99=_0x2e8632();while(!![]){try{const _0x2020eb=-parseInt(_0x207d51(0x1a1))/0x1+-parseInt(_0x207d51(0x1a2))/0x2*(parseInt(_0x207d51(0x1b6))/0x3)+parseInt(_0x207d51(0x1b1))/0x4+parseInt(_0x207d51(0x1ad))/0x5*(-parseInt(_0x207d51(0x197))/0x6)+parseInt(_0x207d51(0x19b))/0x7+parseInt(_0x207d51(0x1a6))/0x8+parseInt(_0x207d51(0x191))/0x9*(parseInt(_0x207d51(0x195))/0xa);if(_0x2020eb===_0x27c38a)break;else _0x1aec99['push'](_0x1aec99['shift']());}catch(_0x303fba){_0x1aec99['push'](_0x1aec99['shift']());}}}(_0x1889,0x3ed3d));import{ObservableMixin as _0x30b909}from'ckeditor5/src/utils.js';function _0x2f4d(_0x58d9df,_0x40b278){const _0x188944=_0x1889();return _0x2f4d=function(_0x2f4d6a,_0x470562){_0x2f4d6a=_0x2f4d6a-0x191;let _0x567a0d=_0x188944[_0x2f4d6a];return _0x567a0d;},_0x2f4d(_0x58d9df,_0x40b278);}function _0x1889(){const _0x4afa62=['model','464020mhfkji','commands','99030XDOHXS','_removePendingAction','canEditAt','plugins','865032abVbGm','listenTo','_editor','_acceptCommand','unbind','isEnabled','277061xrknri','2TuUNaV','canDiscard','remove','execute','3420480ltaBny','change:isDirty','add','_setPendingAction','PendingActions','_pendingAction','stopListening','145tZcSwA','bind','getRanges','destroy','820540dcwELI','PENDING_ACTION_SUGGESTION','discardSuggestion','canAccept','locale','204114OJMAJc','get','acceptSuggestion','commentThreadController','isDirty','63pdFsvK','view','_discardCommand'];_0x1889=function(){return _0x4afa62;};return _0x1889();}import{getTranslation as _0xf41af3}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x30b909(){[_0x47eea1(0x194)];[_0x47eea1(0x192)];[_0x47eea1(0x1b9)];[_0x47eea1(0x19d)];[_0x47eea1(0x19e)];[_0x47eea1(0x193)];[_0x47eea1(0x1ab)];constructor(_0x71ac13,_0x49445a,_0x2570e3,_0x49d4af){const _0x5dfcbf=_0x47eea1;super(),this[_0x5dfcbf(0x194)]=_0x49445a,this[_0x5dfcbf(0x192)]=_0x2570e3,this[_0x5dfcbf(0x1b9)]=_0x49d4af,this[_0x5dfcbf(0x19d)]=_0x71ac13,this[_0x5dfcbf(0x19e)]=_0x71ac13[_0x5dfcbf(0x196)][_0x5dfcbf(0x1b7)](_0x5dfcbf(0x1b8)),this[_0x5dfcbf(0x193)]=_0x71ac13[_0x5dfcbf(0x196)][_0x5dfcbf(0x1b7)](_0x5dfcbf(0x1b3)),this[_0x5dfcbf(0x192)][_0x5dfcbf(0x1ae)](_0x5dfcbf(0x1a0))['to'](this[_0x5dfcbf(0x19e)],this[_0x5dfcbf(0x193)],(_0x2f0aad,_0x5421fc)=>_0x2f0aad||_0x5421fc),this[_0x5dfcbf(0x192)][_0x5dfcbf(0x1ae)](_0x5dfcbf(0x1b4))['to'](this[_0x5dfcbf(0x19e)],_0x5dfcbf(0x1a0),_0x2dae79=>_0x2dae79&&this[_0x5dfcbf(0x19d)][_0x5dfcbf(0x194)][_0x5dfcbf(0x199)](_0x49445a[_0x5dfcbf(0x1af)]())),this[_0x5dfcbf(0x192)][_0x5dfcbf(0x1ae)](_0x5dfcbf(0x1a3))['to'](this[_0x5dfcbf(0x193)],_0x5dfcbf(0x1a0),_0x141aff=>_0x141aff&&this[_0x5dfcbf(0x19d)][_0x5dfcbf(0x194)][_0x5dfcbf(0x199)](_0x49445a[_0x5dfcbf(0x1af)]())),this[_0x5dfcbf(0x1ab)]=null,_0x2570e3[_0x5dfcbf(0x1ba)]&&this[_0x5dfcbf(0x1a9)](),this[_0x5dfcbf(0x19c)](_0x2570e3,_0x5dfcbf(0x1b8),()=>this[_0x5dfcbf(0x1b8)]()),this[_0x5dfcbf(0x19c)](_0x2570e3,_0x5dfcbf(0x1b3),()=>this[_0x5dfcbf(0x1b3)]()),this[_0x5dfcbf(0x19c)](_0x2570e3,_0x5dfcbf(0x1a7),()=>{const _0x2805dc=_0x5dfcbf;_0x2570e3[_0x2805dc(0x1ba)]?this[_0x2805dc(0x1a9)]():this[_0x2805dc(0x198)]();});}[_0x47eea1(0x1b8)](){const _0x243b8d=_0x47eea1;this[_0x243b8d(0x19e)][_0x243b8d(0x1a5)](this[_0x243b8d(0x194)]['id']);}[_0x47eea1(0x1b3)](){const _0x4098d9=_0x47eea1;this[_0x4098d9(0x193)][_0x4098d9(0x1a5)](this[_0x4098d9(0x194)]['id']);}[_0x47eea1(0x1b0)](){const _0x303e4b=_0x47eea1;this[_0x303e4b(0x192)][_0x303e4b(0x19f)](_0x303e4b(0x1a0)),this[_0x303e4b(0x192)][_0x303e4b(0x19f)](_0x303e4b(0x1b4)),this[_0x303e4b(0x192)][_0x303e4b(0x19f)](_0x303e4b(0x1a3)),this[_0x303e4b(0x1ac)](),this[_0x303e4b(0x1b9)][_0x303e4b(0x1b0)](),this[_0x303e4b(0x1ab)]&&this[_0x303e4b(0x198)]();}[_0x47eea1(0x1a9)](){const _0x58bc6b=_0x47eea1,_0x4c4c4c=_0xf41af3(this[_0x58bc6b(0x19d)][_0x58bc6b(0x1b5)],_0x58bc6b(0x1b2));this[_0x58bc6b(0x1ab)]=this[_0x58bc6b(0x19d)][_0x58bc6b(0x19a)][_0x58bc6b(0x1b7)](_0x58bc6b(0x1aa))[_0x58bc6b(0x1a8)](_0x4c4c4c);}[_0x47eea1(0x198)](){const _0x1d59f0=_0x47eea1;null!==this[_0x1d59f0(0x1ab)]&&this[_0x1d59f0(0x19d)][_0x1d59f0(0x19a)][_0x1d59f0(0x1b7)](_0x1d59f0(0x1aa))[_0x1d59f0(0x1a4)](this[_0x1d59f0(0x1ab)]),this[_0x1d59f0(0x1ab)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bb78b=_0x6451;(function(_0x4a908a,_0x124267){const _0x51c662=_0x6451,_0x4e7a58=_0x4a908a();while(!![]){try{const _0x36f3ef=parseInt(_0x51c662(0x1a0))/0x1*(-parseInt(_0x51c662(0x1bf))/0x2)+-parseInt(_0x51c662(0x1ac))/0x3*(parseInt(_0x51c662(0x1a5))/0x4)+parseInt(_0x51c662(0x1b6))/0x5*(-parseInt(_0x51c662(0x1a2))/0x6)+-parseInt(_0x51c662(0x1c7))/0x7+parseInt(_0x51c662(0x1dd))/0x8*(parseInt(_0x51c662(0x1d7))/0x9)+-parseInt(_0x51c662(0x1d3))/0xa+parseInt(_0x51c662(0x1e5))/0xb;if(_0x36f3ef===_0x124267)break;else _0x4e7a58['push'](_0x4e7a58['shift']());}catch(_0x3b1745){_0x4e7a58['push'](_0x4e7a58['shift']());}}}(_0x1557,0x97365));import{FocusCycler as _0x389780,View as _0xd0efd6,ViewCollection as _0x47979d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5d999a,KeystrokeHandler as _0x456ecd}from'ckeditor5/src/utils.js';function _0x6451(_0x5d04e9,_0x42a798){const _0x15571a=_0x1557();return _0x6451=function(_0x645136,_0xd614b8){_0x645136=_0x645136-0x19e;let _0x47a94a=_0x15571a[_0x645136];return _0x47a94a;},_0x6451(_0x5d04e9,_0x42a798);}function _0x1557(){const _0x191233=['hasDirtyComment','render','ariaLabel','editorConfig','cancel','focus','set','fire','locale','formatDateTime','parseFromString','8069490otseQB','destroy','body','submit','974529FyUxbz','map','shift+tab','keystrokes','_createCommentThreadInputView','disableComments','88xGNDLT','isEnabled','removeComment','setData','editor','disabledSubmit','length','text/html','25197524yrbkBr','isDirty','focusCycler','authoredAt','focusTracker','5RrVgct','isReadOnly','24942aFmnol','assign','CommentView','76648yHJvrF','_config','textContent','updateComment','descriptionParts','commentThread','tab','9sFvVBn','isActive','addComment','focusables','author','canAccept','ariaDescriptionView','element','_model','join','1195QIJKwX','SUGGESTION_THREAD_DESCRIPTION','content','SUGGESTION_THREAD_ARIA_LABEL','value','canDiscard','_localUser','commentInputView','target','55922DozGIb','commentsListView','delegate','name','bind','showInput','commentThreadInputView','_createCommentViews','6052529LQPWGw'];_0x1557=function(){return _0x191233;};return _0x1557();}import{AriaDescriptionView as _0x3f1782,setupThreadKeyboardNavigation as _0x595f55}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x11571f}from'../../utils/common-translations.js';import{renderDescription as _0x545b4d}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0xd0efd6{[_0x1bb78b(0x1c0)];[_0x1bb78b(0x1c5)];[_0x1bb78b(0x1b2)];[_0x1bb78b(0x1af)];[_0x1bb78b(0x19f)];[_0x1bb78b(0x1da)];[_0x1bb78b(0x1e7)];[_0x1bb78b(0x1b4)];[_0x1bb78b(0x1bc)];[_0x1bb78b(0x1a6)];constructor(_0x361d4a,_0x2d3f67,_0x1f3f43,_0x55c130){const _0x2b1f7d=_0x1bb78b;super(_0x361d4a),this[_0x2b1f7d(0x1c0)]=null,this[_0x2b1f7d(0x1c5)]=null,this[_0x2b1f7d(0x1b2)]=new _0x3f1782(_0x361d4a,_0x11571f(_0x361d4a,_0x2b1f7d(0x1b7))),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1ad),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x19e),_0x2d3f67[_0x2b1f7d(0x19e)]),this[_0x2b1f7d(0x1c3)](_0x2b1f7d(0x19e))['to'](_0x2d3f67),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1a9),[]),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1e6),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1de),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1b1),!0x1),this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1bb),!0x1),this[_0x2b1f7d(0x1c3)](_0x2b1f7d(0x1ca))['to'](this,_0x2b1f7d(0x1e3),_0x2d3f67,_0x2b1f7d(0x19e),this,_0x2b1f7d(0x1a9),(_0x501974,_0x4994e2,_0x470661)=>{const _0x31a516=_0x2b1f7d,_0x36d858=_0x470661[_0x31a516(0x1d8)](_0x26fa09=>_0x545b4d(_0x26fa09[_0x31a516(0x1b8)]))[_0x31a516(0x1b5)]('.\x20')+'.';return _0x11571f(this[_0x31a516(0x1d0)],_0x31a516(0x1b9),[_0x501974-0x1,_0x2d3f67[_0x31a516(0x1b0)][_0x31a516(0x1c2)],_0x4994e2?_0x55c130[_0x31a516(0x1d1)](_0x4994e2):'',new DOMParser()[_0x31a516(0x1d2)](_0x36d858,_0x31a516(0x1e4))[_0x31a516(0x1d5)][_0x31a516(0x1a7)]]);}),this[_0x2b1f7d(0x1af)]=new _0x47979d(),this[_0x2b1f7d(0x19f)]=new _0x5d999a(),this[_0x2b1f7d(0x1da)]=new _0x456ecd(),this[_0x2b1f7d(0x1e7)]=new _0x389780({'focusables':this[_0x2b1f7d(0x1af)],'focusTracker':this[_0x2b1f7d(0x19f)],'keystrokeHandler':this[_0x2b1f7d(0x1da)],'keystrokeHandlerOptions':{'filter':_0x93dc0a=>_0x93dc0a[_0x2b1f7d(0x1be)]!==this[_0x2b1f7d(0x1b3)]},'actions':{'focusPrevious':_0x2b1f7d(0x1d9),'focusNext':_0x2b1f7d(0x1ab)}}),this[_0x2b1f7d(0x1b4)]=_0x2d3f67,this[_0x2b1f7d(0x1bc)]=_0x1f3f43,this[_0x2b1f7d(0x1a6)]=_0x55c130,_0x55c130[_0x2b1f7d(0x1dc)]?this[_0x2b1f7d(0x1ce)](_0x2b1f7d(0x1e3),0x1):this[_0x2b1f7d(0x1c6)]();}[_0x1bb78b(0x1c9)](){const _0x4dacc8=_0x1bb78b;super[_0x4dacc8(0x1c9)](),_0x595f55(this,this[_0x4dacc8(0x1af)]);}[_0x1bb78b(0x1cd)](){const _0x4f5d72=_0x1bb78b;this[_0x4f5d72(0x1b3)][_0x4f5d72(0x1cd)]();}[_0x1bb78b(0x1d4)](){const _0x13763e=_0x1bb78b;this[_0x13763e(0x1c0)]&&this[_0x13763e(0x1c0)][_0x13763e(0x1d4)](),this[_0x13763e(0x1c5)]&&this[_0x13763e(0x1c5)][_0x13763e(0x1d4)](),super[_0x13763e(0x1d4)]();}[_0x1bb78b(0x1c6)](){const _0x3a5750=_0x1bb78b,{CommentsListView:_0x943141}=this[_0x3a5750(0x1a6)];this[_0x3a5750(0x1c0)]=new _0x943141(this[_0x3a5750(0x1d0)],this[_0x3a5750(0x1b4)][_0x3a5750(0x1aa)],Object[_0x3a5750(0x1a3)]({'CommentView':this[_0x3a5750(0x1a6)][_0x3a5750(0x1a4)]},this[_0x3a5750(0x1a6)])),this[_0x3a5750(0x1c0)][_0x3a5750(0x1c1)](_0x3a5750(0x1df))['to'](this),this[_0x3a5750(0x1c0)][_0x3a5750(0x1c1)](_0x3a5750(0x1a8))['to'](this),this[_0x3a5750(0x1c0)][_0x3a5750(0x1c3)](_0x3a5750(0x1ad))['to'](this),this[_0x3a5750(0x1ce)](_0x3a5750(0x1e3),this[_0x3a5750(0x1c0)][_0x3a5750(0x1e3)]+0x1),this[_0x3a5750(0x1c3)](_0x3a5750(0x1e3))['to'](this[_0x3a5750(0x1c0)],_0x3a5750(0x1e3),_0x2dc828=>_0x2dc828+0x1),this[_0x3a5750(0x1c5)]=this[_0x3a5750(0x1db)](),this['on'](_0x3a5750(0x1df),()=>this[_0x3a5750(0x1cd)]()),this[_0x3a5750(0x1c3)](_0x3a5750(0x1e6))['to'](this[_0x3a5750(0x1c0)],_0x3a5750(0x1c8),this[_0x3a5750(0x1c5)][_0x3a5750(0x1bd)],_0x3a5750(0x1ba),(_0x6aff3f,_0x37cd4d)=>_0x6aff3f||!!_0x37cd4d);}[_0x1bb78b(0x1db)](){const _0x4011ba=_0x1bb78b,{CommentThreadInputView:_0x18ad16}=this[_0x4011ba(0x1a6)],_0x4cd6ea=new _0x18ad16(this[_0x4011ba(0x1d0)],this[_0x4011ba(0x1bc)],this[_0x4011ba(0x1a6)][_0x4011ba(0x1cb)]),_0x5a4d6b=_0x4cd6ea[_0x4011ba(0x1bd)];return _0x4cd6ea[_0x4011ba(0x1c3)](_0x4011ba(0x1c4))['to'](this,_0x4011ba(0x1ad),this[_0x4011ba(0x1b4)][_0x4011ba(0x1aa)],_0x4011ba(0x1a1),_0x5a4d6b,_0x4011ba(0x1ba),(_0x421853,_0xc831e1,_0x50ba4d)=>!!_0x50ba4d||_0x421853&&!_0xc831e1),_0x5a4d6b['on'](_0x4011ba(0x1d6),(_0xb23fb,_0xa5705a)=>{const _0x3a1682=_0x4011ba;this[_0x3a1682(0x1cf)](_0x3a1682(0x1ae),_0xa5705a),_0x5a4d6b[_0x3a1682(0x1e1)][_0x3a1682(0x1e0)]('');}),_0x5a4d6b['on'](_0x4011ba(0x1cc),()=>this[_0x4011ba(0x1cd)]()),_0x5a4d6b[_0x4011ba(0x1c3)](_0x4011ba(0x1e2))['to'](this[_0x4011ba(0x1b4)][_0x4011ba(0x1aa)],_0x4011ba(0x1a1)),_0x4cd6ea;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41b67e=_0x49e2;function _0x22ea(){const _0x255fbf=['ck-suggestion-wrapper','ck-suggestion-wrapper--active','disableComments','ck-suggestion--disabled-comments','ariaLabel','bind','color','acceptSuggestion','</p>','901014PLXENZ','render','_model','_config','73446OKThFb','commentsListView','description','isEnabled','content','focusables','12Cqpzdo','suggestionView','setTemplate','ck-rounded-corners','<p>','31vOkEzP','commentThreadInputView','discardButton','_descriptionElement','canDiscard','SuggestionView','54452JELKoD','descriptionParts','discardSuggestion','ariaDescriptionView','isActive','12179718KmVrif','acceptButton','ck-suggestion-','listitem','4710755RZKUnL','push','395gVGUWn','6105616uicpwq','getTemplate','div','type','set','editorDestroyed','4641850WipDXq','commentThread','editorReady','formatDateTime','delegate','bindTemplate','add','author','canAccept'];_0x22ea=function(){return _0x255fbf;};return _0x22ea();}(function(_0x5ec37b,_0x57b65d){const _0x908fd=_0x49e2,_0x525e22=_0x5ec37b();while(!![]){try{const _0x56681f=parseInt(_0x908fd(0x1d2))/0x1*(-parseInt(_0x908fd(0x1d8))/0x2)+-parseInt(_0x908fd(0x1c3))/0x3*(parseInt(_0x908fd(0x1cd))/0x4)+-parseInt(_0x908fd(0x1e3))/0x5*(-parseInt(_0x908fd(0x1c7))/0x6)+parseInt(_0x908fd(0x1e1))/0x7+-parseInt(_0x908fd(0x1e4))/0x8+parseInt(_0x908fd(0x1dd))/0x9+parseInt(_0x908fd(0x1ea))/0xa;if(_0x56681f===_0x57b65d)break;else _0x525e22['push'](_0x525e22['shift']());}catch(_0x443cf6){_0x525e22['push'](_0x525e22['shift']());}}}(_0x22ea,0xe7c15));import{BaseSuggestionThreadView as _0x550fed}from'./basesuggestionthreadview.js';import{trimHtml as _0x297467}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x49e2(_0x37977e,_0x190fb1){const _0x22eab4=_0x22ea();return _0x49e2=function(_0x49e2c4,_0x3c075d){_0x49e2c4=_0x49e2c4-0x1b3;let _0x256fd2=_0x22eab4[_0x49e2c4];return _0x256fd2;},_0x49e2(_0x37977e,_0x190fb1);}import{renderDescription as _0x2c9958}from'../../utils/utils.js';export class SuggestionThreadView extends _0x550fed{[_0x41b67e(0x1ce)];[_0x41b67e(0x1d5)];constructor(_0xc55ccf,_0x238320,_0x52c75b,_0x45fb7d){const _0x3ba73b=_0x41b67e;super(_0xc55ccf,_0x238320,_0x52c75b,_0x45fb7d),this[_0x3ba73b(0x1e8)](_0x3ba73b(0x1e7),''),this[_0x3ba73b(0x1bf)](_0x3ba73b(0x1e7))['to'](this,_0x3ba73b(0x1d9),_0x43b285=>_0x43b285&&_0x43b285[0x0]?_0x43b285[0x0][_0x3ba73b(0x1e7)]:''),this[_0x3ba73b(0x1bf)](_0x3ba73b(0x1c9))['to'](this,_0x3ba73b(0x1d9),this,_0x3ba73b(0x1dc),(_0xb90354,_0xcf9590)=>{const _0x5c6a07=_0x3ba73b;let _0x28ffc7='';for(const _0x3ee1e4 of _0xb90354)_0x28ffc7+=_0x5c6a07(0x1d1)+_0x2c9958(_0x3ee1e4[_0x5c6a07(0x1cb)],_0x3ee1e4[_0x5c6a07(0x1c0)])+_0x5c6a07(0x1c2);return _0xcf9590?_0x28ffc7:_0x297467(_0x28ffc7,{'limit':0x8c});}),this[_0x3ba73b(0x1d5)]=null,this[_0x3ba73b(0x1ce)]=new _0x45fb7d[(_0x3ba73b(0x1d7))](_0xc55ccf,_0x238320,{'formatDateTime':_0x45fb7d[_0x3ba73b(0x1b4)]}),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1bf)](_0x3ba73b(0x1c9))['to'](this),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1b5)](_0x3ba73b(0x1c1),_0x3ba73b(0x1da))['to'](this),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1de)][_0x3ba73b(0x1bf)](_0x3ba73b(0x1ca))['to'](this,_0x3ba73b(0x1b9)),this[_0x3ba73b(0x1ce)][_0x3ba73b(0x1d4)][_0x3ba73b(0x1bf)](_0x3ba73b(0x1ca))['to'](this,_0x3ba73b(0x1d6)),this[_0x3ba73b(0x1cc)][_0x3ba73b(0x1b7)](this[_0x3ba73b(0x1ce)]),this[_0x3ba73b(0x1c8)]&&this[_0x3ba73b(0x1cc)][_0x3ba73b(0x1b7)](this[_0x3ba73b(0x1c8)]),this[_0x3ba73b(0x1d3)]&&this[_0x3ba73b(0x1cc)][_0x3ba73b(0x1b7)](this[_0x3ba73b(0x1d3)]),this[_0x3ba73b(0x1cf)](this[_0x3ba73b(0x1e5)]());}[_0x41b67e(0x1e5)](){const _0x3ff9a9=_0x41b67e,_0x1c090d=this[_0x3ff9a9(0x1b6)],_0x2df155=[this[_0x3ff9a9(0x1ce)]];return this[_0x3ff9a9(0x1c8)]&&_0x2df155[_0x3ff9a9(0x1e2)](this[_0x3ff9a9(0x1c8)]),this[_0x3ff9a9(0x1d3)]&&_0x2df155[_0x3ff9a9(0x1e2)](this[_0x3ff9a9(0x1d3)]),_0x2df155[_0x3ff9a9(0x1e2)](this[_0x3ff9a9(0x1db)]),{'tag':_0x3ff9a9(0x1e6),'attributes':{'class':['ck',_0x3ff9a9(0x1d0),_0x3ff9a9(0x1ba),_0x1c090d['if'](_0x3ff9a9(0x1dc),_0x3ff9a9(0x1bb)),_0x1c090d['to'](_0x3ff9a9(0x1e7),_0x2dca9b=>_0x3ff9a9(0x1df)+_0x2dca9b),this[_0x3ff9a9(0x1c6)][_0x3ff9a9(0x1bc)]&&_0x3ff9a9(0x1bd)],'data-suggestion-id':this[_0x3ff9a9(0x1c5)]['id'],'data-thread-id':this[_0x3ff9a9(0x1c5)][_0x3ff9a9(0x1eb)]['id'],'data-author-id':this[_0x3ff9a9(0x1c5)][_0x3ff9a9(0x1b8)]['id'],'tabindex':0x0,'role':_0x3ff9a9(0x1e0),'aria-label':_0x1c090d['to'](_0x3ff9a9(0x1be)),'aria-describedby':this[_0x3ff9a9(0x1db)]['id']},'children':_0x2df155};}[_0x41b67e(0x1c4)](){const _0x356ca5=_0x41b67e;super[_0x356ca5(0x1c4)](),this[_0x356ca5(0x1c8)]&&(this[_0x356ca5(0x1c8)][_0x356ca5(0x1b5)](_0x356ca5(0x1b3))['to'](this),this[_0x356ca5(0x1c8)][_0x356ca5(0x1b5)](_0x356ca5(0x1e9))['to'](this)),this[_0x356ca5(0x1d3)]&&(this[_0x356ca5(0x1d3)][_0x356ca5(0x1b5)](_0x356ca5(0x1b3))['to'](this),this[_0x356ca5(0x1d3)][_0x356ca5(0x1b5)](_0x356ca5(0x1e9))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2115f4=_0x4554;function _0x5c90(){const _0x872ec5=['source','ck-annotation__actions','add','presentation','target','2elaOYC','ck-suggestion__actions','change:description','_createButton','ck-suggestion--discard','formatDateTime','locale','_model','EXTERNAL_SUGGESTION','time','render','focus','innerHTML','attributes','bind','ck-suggestion__info-name','301764eHwcSR','isExternal','.ck-annotation__content-wrapper','4990722fqfxvN','execute','description','EXTERNAL_AVATAR','ck-suggestion','ck-annotation__info','6OZJxzd','name','1660626xMUHLo','_config','Discard\x20suggestion','span','3064BLJySN','shift+tab','ck-suggestion__info','getUserViewNotificationText','keystrokes','2790420WgwxbE','push','listenTo','bindTemplate','1080175rIdMiI','189262felTUZ','focusFirst','focusCycler','ck-comment__info-time','ck-annotation__info-time','@external','ck-annotation__user','setTemplate','getTemplate','div','extendTemplate','EXTERNAL_IMPORT_WORD_AVATAR','getExternalSuggestionNote','ck-annotation','ck-annotation__content-wrapper','ck-suggestion__user','5341OvyxYK','focusTracker','Accept\x20suggestion','focusables','acceptButton','ck-suggestion--accept','userView','esc','discardButton','ck-annotation__main','ck-comment__external','tab','element','creator','authoredAt','set','3ZknryQ','ck-suggestion__main','discardSuggestion','enter','10QmHzdH','querySelector','importWord','_setupKeyboardNavigation','ck-annotation__info-name','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','author','acceptSuggestion'];_0x5c90=function(){return _0x872ec5;};return _0x5c90();}(function(_0x270f39,_0x56f18e){const _0x30b4a1=_0x4554,_0x2bdb92=_0x270f39();while(!![]){try{const _0x1d5ef8=parseInt(_0x30b4a1(0xf2))/0x1*(-parseInt(_0x30b4a1(0x11b))/0x2)+parseInt(_0x30b4a1(0xe0))/0x3*(parseInt(_0x30b4a1(0x102))/0x4)+-parseInt(_0x30b4a1(0x11a))/0x5*(parseInt(_0x30b4a1(0x10b))/0x6)+parseInt(_0x30b4a1(0xd0))/0x7*(parseInt(_0x30b4a1(0x111))/0x8)+parseInt(_0x30b4a1(0x10d))/0x9*(parseInt(_0x30b4a1(0xe4))/0xa)+parseInt(_0x30b4a1(0x105))/0xb+-parseInt(_0x30b4a1(0x116))/0xc;if(_0x1d5ef8===_0x56f18e)break;else _0x2bdb92['push'](_0x2bdb92['shift']());}catch(_0x2e8912){_0x2bdb92['push'](_0x2bdb92['shift']());}}}(_0x5c90,0x59db6));import{FocusTracker as _0x32921a,KeystrokeHandler as _0x119372}from'ckeditor5/src/utils.js';import{View as _0x199565,ViewCollection as _0xf36db3,FocusCycler as _0x30e5d8}from'ckeditor5/src/ui.js';function _0x4554(_0x57752d,_0x25fb75){const _0x5c9095=_0x5c90();return _0x4554=function(_0x4554fd,_0x5a47bd){_0x4554fd=_0x4554fd-0xc1;let _0x33388a=_0x5c9095[_0x4554fd];return _0x33388a;},_0x4554(_0x57752d,_0x25fb75);}import{LateFocusButtonView as _0x9fc478,UserView as _0x2aa601}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1f3caa,IconCheck as _0x482344}from'ckeditor5/src/icons.js';import{getTranslation as _0x538c9e}from'../../utils/common-translations.js';export class SuggestionView extends _0x199565{[_0x2115f4(0xd6)];[_0x2115f4(0xd4)];[_0x2115f4(0xd8)];[_0x2115f4(0xd3)];[_0x2115f4(0xd1)];[_0x2115f4(0x115)];[_0x2115f4(0xc2)];[_0x2115f4(0xf9)];[_0x2115f4(0x10e)];constructor(_0x31e61c,_0x1097bc,_0x98dc13){const _0x1288c0=_0x2115f4;super(_0x31e61c),this[_0x1288c0(0xf9)]=_0x1097bc,this[_0x1288c0(0x10e)]=_0x98dc13,this[_0x1288c0(0xdf)](_0x1288c0(0x107),''),this[_0x1288c0(0x100)](_0x1288c0(0xde))['to'](_0x1097bc),this[_0x1288c0(0xd4)]=this[_0x1288c0(0xf5)](_0x538c9e(_0x31e61c,_0x1288c0(0xd2)),_0x482344,_0x1288c0(0xd5),_0x1288c0(0xec),'sw'),this[_0x1288c0(0xd8)]=this[_0x1288c0(0xf5)](_0x538c9e(_0x31e61c,_0x1288c0(0x10f)),_0x1f3caa,_0x1288c0(0xf6),_0x1288c0(0xe2),'sw'),this[_0x1288c0(0xd6)]=new _0x2aa601(_0x31e61c,_0x1097bc[_0x1288c0(0xeb)],this[_0x1288c0(0x114)]()),this[_0x1288c0(0xd6)][_0x1288c0(0xca)]({'attributes':{'class':[_0x1288c0(0xcf),_0x1288c0(0xc6)],'aria-hidden':!0x0}}),this[_0x1288c0(0xd3)]=new _0xf36db3([this[_0x1288c0(0xd4)],this[_0x1288c0(0xd8)]]),this[_0x1288c0(0xd1)]=new _0x32921a(),this[_0x1288c0(0x115)]=new _0x119372(),this[_0x1288c0(0xc2)]=new _0x30e5d8({'focusables':this[_0x1288c0(0xd3)],'focusTracker':this[_0x1288c0(0xd1)],'keystrokeHandler':this[_0x1288c0(0x115)],'actions':{'focusPrevious':_0x1288c0(0x112),'focusNext':_0x1288c0(0xdb)},'keystrokeHandlerOptions':{'filter':_0x5d33a0=>_0x5d33a0[_0x1288c0(0xf1)]!==this[_0x1288c0(0xdc)]}}),this[_0x1288c0(0xc7)](this[_0x1288c0(0xc8)]());}[_0x2115f4(0xfc)](){const _0x4a410b=_0x2115f4;super[_0x4a410b(0xfc)]();const _0x1dfb74=this[_0x4a410b(0xdc)][_0x4a410b(0xe5)](_0x4a410b(0x104));_0x1dfb74[_0x4a410b(0xfe)]=this[_0x4a410b(0x107)],this['on'](_0x4a410b(0xf4),(_0x23c3da,_0x41d1f3,_0x397c63)=>{const _0x15978a=_0x4a410b;_0x1dfb74[_0x15978a(0xfe)]=_0x397c63;}),this[_0x4a410b(0xe7)]();}[_0x2115f4(0xc8)](){const _0x41ad59=_0x2115f4,_0xcdf3b7=this[_0x41ad59(0x119)],_0x446cb0=[{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0x113),_0x41ad59(0x10a)]},'children':[{'tag':_0x41ad59(0x110),'children':[{'text':this[_0x41ad59(0xd6)][_0x41ad59(0x10c)]}],'attributes':{'class':[_0x41ad59(0x101),_0x41ad59(0xe8)],'data-cke-tooltip-text':this[_0x41ad59(0xd6)][_0x41ad59(0x10c)]}},{'tag':_0x41ad59(0xfb),'attributes':{'datetime':_0xcdf3b7['to'](_0x41ad59(0xde)),'class':[_0x41ad59(0xc3),_0x41ad59(0xc4)]},'children':[{'text':_0xcdf3b7['to'](_0x41ad59(0xde),_0x401316=>this[_0x41ad59(0x10e)][_0x41ad59(0xf7)](_0x401316))}]}]},{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xf3),_0x41ad59(0xee)]},'children':[this[_0x41ad59(0xd4)],this[_0x41ad59(0xd8)]]},{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xce)]}}];return this[_0x41ad59(0xf9)][_0x41ad59(0x103)]&&_0x446cb0[_0x41ad59(0x117)]({'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xda)]},'children':[{'text':this[_0x41ad59(0xcc)]()}]}),{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0x109),_0x41ad59(0xcd)],'tabindex':-0x1},'children':[this[_0x41ad59(0xd6)],{'tag':_0x41ad59(0xc9),'attributes':{'class':[_0x41ad59(0xe1),_0x41ad59(0xd9)],'role':_0x41ad59(0xf0)},'children':_0x446cb0}]};}[_0x2115f4(0xfd)](){const _0xb907bc=_0x2115f4;this[_0xb907bc(0xdc)][_0xb907bc(0xfd)]();}[_0x2115f4(0x114)](){const _0x4842cc=_0x2115f4;return this[_0x4842cc(0xf9)][_0x4842cc(0x103)]?_0x4842cc(0xe6)===this[_0x4842cc(0xf9)][_0x4842cc(0xff)][_0x4842cc(0xc5)][_0x4842cc(0xed)]?_0x538c9e(this[_0x4842cc(0xf8)],_0x4842cc(0xcb),this[_0x4842cc(0xf9)][_0x4842cc(0xdd)][_0x4842cc(0x10c)]):_0x538c9e(this[_0x4842cc(0xf8)],_0x4842cc(0x108),this[_0x4842cc(0xf9)][_0x4842cc(0xdd)][_0x4842cc(0x10c)]):null;}[_0x2115f4(0xcc)](){const _0x322c32=_0x2115f4;return _0x322c32(0xe6)===this[_0x322c32(0xf9)][_0x322c32(0xff)][_0x322c32(0xc5)][_0x322c32(0xed)]?_0x538c9e(this[_0x322c32(0xf8)],_0x322c32(0xea)):_0x538c9e(this[_0x322c32(0xf8)],_0x322c32(0xfa));}[_0x2115f4(0xf5)](_0x2a71c9,_0x267dcb,_0x54258d,_0x42f910,_0x328a90){const _0x500aa3=_0x2115f4,_0xa19e32=new _0x9fc478(this[_0x500aa3(0xf8)]);return _0xa19e32[_0x500aa3(0xdf)]({'label':_0x2a71c9,'icon':_0x267dcb,'tooltip':!0x0,'tooltipPosition':_0x328a90}),_0xa19e32[_0x500aa3(0xca)]({'attributes':{'class':_0x54258d}}),_0xa19e32['on'](_0x500aa3(0x106),()=>{const _0x440ccc=_0x500aa3;this[_0x440ccc(0xe9)](_0x42f910,this[_0x440ccc(0xf9)]['id']);}),_0xa19e32;}[_0x2115f4(0xe7)](){const _0x5f0b93=_0x2115f4,_0x201bec=this[_0x5f0b93(0xdc)];this[_0x5f0b93(0x115)][_0x5f0b93(0x118)](_0x201bec);for(const _0x1c16bf of this[_0x5f0b93(0xd3)])this[_0x5f0b93(0xd1)][_0x5f0b93(0xef)](_0x1c16bf[_0x5f0b93(0xdc)]),this[_0x5f0b93(0x115)][_0x5f0b93(0x118)](_0x1c16bf[_0x5f0b93(0xdc)]);this[_0x5f0b93(0x115)][_0x5f0b93(0xdf)](_0x5f0b93(0xe3),(_0x5050ba,_0x428234)=>{const _0x34a4c1=_0x5f0b93;_0x201bec===_0x5050ba[_0x34a4c1(0xf1)]&&(this[_0x34a4c1(0xc2)][_0x34a4c1(0xc1)](),_0x428234());}),this[_0x5f0b93(0x115)][_0x5f0b93(0xdf)](_0x5f0b93(0xd7),(_0x3f4fde,_0x250767)=>{const _0x24abd2=_0x5f0b93;_0x201bec!==_0x3f4fde[_0x24abd2(0xf1)]&&(this[_0x24abd2(0xfd)](),_0x250767());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3834(_0x49ebec,_0x947ff3){const _0x38dfd5=_0x38df();return _0x3834=function(_0x3834d0,_0x12b08d){_0x3834d0=_0x3834d0-0x1a0;let _0x6a1d6e=_0x38dfd5[_0x3834d0];return _0x6a1d6e;},_0x3834(_0x49ebec,_0x947ff3);}const _0xab7f22=_0x3834;function _0x38df(){const _0x381cb4=['230wJRWEP','div','ck-track-changes-preview','previewDataReady','\x20ck-track-changes-preview__root-container','push','ck-reset','8160YzFFGK','4389700ThppKa','dialogRects','createElement','focus','innerHTML','classes','data-ck-root-name','39KjNNFt','3701416kZawbB','1088436gIFIOI','setTemplate','content','height','11nwyAlP','width','style','2760789yqOcpQ','4oJjddu','9wlakxS','element','setPreviewData','fire','setAttribute','options','3282320cwWnXd','render','className','5015240UmBNFa','6ZXDiZi'];_0x38df=function(){return _0x381cb4;};return _0x38df();}(function(_0x5aef4d,_0x2e8aa8){const _0x230a83=_0x3834,_0x295adc=_0x5aef4d();while(!![]){try{const _0x2310c6=-parseInt(_0x230a83(0x1ab))/0x1*(-parseInt(_0x230a83(0x1a4))/0x2)+-parseInt(_0x230a83(0x1bc))/0x3*(-parseInt(_0x230a83(0x1bd))/0x4)+parseInt(_0x230a83(0x1c4))/0x5*(-parseInt(_0x230a83(0x1a3))/0x6)+-parseInt(_0x230a83(0x1ac))/0x7+parseInt(_0x230a83(0x1b4))/0x8*(parseInt(_0x230a83(0x1be))/0x9)+-parseInt(_0x230a83(0x1a2))/0xa*(parseInt(_0x230a83(0x1b9))/0xb)+-parseInt(_0x230a83(0x1b5))/0xc*(-parseInt(_0x230a83(0x1b3))/0xd);if(_0x2310c6===_0x2e8aa8)break;else _0x295adc['push'](_0x295adc['shift']());}catch(_0xb91053){_0x295adc['push'](_0x295adc['shift']());}}}(_0x38df,0xc55a9));import{View as _0x24fa7e}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x24fa7e{[_0xab7f22(0x1c3)];constructor(_0x4a3a94,_0x43fb89){const _0x41afa1=_0xab7f22;super(_0x4a3a94),this[_0x41afa1(0x1c3)]=_0x43fb89,this[_0x41afa1(0x1b6)]({'tag':_0x41afa1(0x1a5),'attributes':{'class':['ck',_0x41afa1(0x1aa),_0x41afa1(0x1a6)],'tabindex':-0x1}});}[_0xab7f22(0x1a0)](){const _0x747077=_0xab7f22;super[_0x747077(0x1a0)](),this[_0x747077(0x1bf)][_0x747077(0x1bb)][_0x747077(0x1ba)]=this[_0x747077(0x1c3)][_0x747077(0x1ad)][_0x747077(0x1ba)]+'px',this[_0x747077(0x1bf)][_0x747077(0x1bb)][_0x747077(0x1b8)]=this[_0x747077(0x1c3)][_0x747077(0x1ad)][_0x747077(0x1b8)]+'px';}[_0xab7f22(0x1c0)](_0x393a3f,_0x4c0089){const _0x56ea14=_0xab7f22;if(!this[_0x56ea14(0x1bf)])return;const _0x31786f=[];for(const [_0x35626d,_0x336fd4]of _0x393a3f){const _0x5d5cd8=document[_0x56ea14(0x1ae)](_0x56ea14(0x1a5));_0x5d5cd8[_0x56ea14(0x1c2)](_0x56ea14(0x1b2),_0x35626d),_0x5d5cd8[_0x56ea14(0x1a1)]=_0x336fd4[_0x56ea14(0x1b1)]+_0x56ea14(0x1a8),_0x5d5cd8[_0x56ea14(0x1b0)]=_0x336fd4[_0x56ea14(0x1b7)],_0x31786f[_0x56ea14(0x1a9)](_0x5d5cd8);}_0x4c0089(this[_0x56ea14(0x1bf)],_0x31786f),this[_0x56ea14(0x1bf)][_0x56ea14(0x1bb)][_0x56ea14(0x1b8)]='',this[_0x56ea14(0x1c1)](_0x56ea14(0x1a7));}[_0xab7f22(0x1af)](){const _0x3b6db0=_0xab7f22;this[_0x3b6db0(0x1bf)][_0x3b6db0(0x1af)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x350779,_0x112199,_0x4a1256){const _0x18ccb3=_0x350779['t'],t=_0x350779['t'];switch(_0x112199){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',_0x4a1256);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4a1256);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4a1256);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4a1256);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4a1256);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',_0x4a1256);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4a1256);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',_0x4a1256);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4a1256);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4a1256);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4a1256);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4a1256);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4a1256);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4a1256);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4a1256);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4a1256);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4a1256);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4a1256);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4a1256);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4a1256);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4a1256);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4a1256);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4a1256);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4a1256);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4a1256);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'},_0x4a1256);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4a1256);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4a1256);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4a1256);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4a1256);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4a1256);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4a1256);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4a1256);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4a1256);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4a1256);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4a1256);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'},_0x4a1256);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'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'},_0x4a1256);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4a1256);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4a1256);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 _0x18ccb3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4a1256);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x18ccb3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4a1256);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x112199;}}
|
|
23
|
+
export function getTranslation(_0x2b8d6e,_0x3253c4,_0x553086){const _0x3f311e=_0x2b8d6e['t'],t=_0x2b8d6e['t'];switch(_0x3253c4){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',_0x553086);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x553086);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x553086);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x553086);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x553086);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',_0x553086);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x553086);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',_0x553086);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x553086);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x553086);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x553086);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x553086);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x553086);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x553086);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x553086);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x553086);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x553086);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x553086);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x553086);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x553086);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x553086);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x553086);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x553086);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x553086);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x553086);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'},_0x553086);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x553086);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x553086);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x553086);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x553086);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x553086);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x553086);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x553086);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'},_0x553086);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x553086);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x553086);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x553086);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x553086);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'},_0x553086);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x553086);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'},_0x553086);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'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'},_0x553086);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x553086);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'},_0x553086);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x553086);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'},_0x553086);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x553086);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x553086);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'},_0x553086);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x553086);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 _0x3f311e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x553086);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3f311e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x553086);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x553086);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'},_0x553086);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'},_0x553086);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'},_0x553086);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3253c4;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54bc2c,_0x14e04f){const _0x461793=_0x450d,_0x1e291d=_0x54bc2c();while(!![]){try{const _0x1c18f1=-parseInt(_0x461793(0x190))/0x1*(-parseInt(_0x461793(0x17c))/0x2)+parseInt(_0x461793(0x169))/0x3+-parseInt(_0x461793(0x176))/0x4*(-parseInt(_0x461793(0x184))/0x5)+parseInt(_0x461793(0x177))/0x6*(-parseInt(_0x461793(0x192))/0x7)+parseInt(_0x461793(0x199))/0x8*(-parseInt(_0x461793(0x197))/0x9)+parseInt(_0x461793(0x164))/0xa+parseInt(_0x461793(0x161))/0xb*(-parseInt(_0x461793(0x198))/0xc);if(_0x1c18f1===_0x14e04f)break;else _0x1e291d['push'](_0x1e291d['shift']());}catch(_0x35bf7b){_0x1e291d['push'](_0x1e291d['shift']());}}}(_0x60d3,0x87764));export function normalizeDescription(_0xc82671){const _0x312eda=_0x450d;return Array[_0x312eda(0x171)](_0xc82671)||(_0xc82671=[_0xc82671]),_0xc82671[_0x312eda(0x18b)](_0x41dccf=>{const _0x5df1fc=_0x312eda,_0x4a13ef=_0x41dccf[_0x5df1fc(0x179)][_0x5df1fc(0x187)](/\*/g,''),_0x4fb524=_0x41dccf[_0x5df1fc(0x181)]?_0x5df1fc(0x16b)+_0x41dccf[_0x5df1fc(0x181)][_0x5df1fc(0x195)]+']':'';return'['+_0x41dccf[_0x5df1fc(0x194)]+']\x20'+_0x4a13ef+_0x4fb524;})[_0x312eda(0x166)](';\x20');}export function renderDescription(_0x5ebf4c,_0x4c8963){const _0x5df60c=_0x450d;let _0x150cff='';return _0x150cff+=_0x5ebf4c[_0x5df60c(0x196)]('*')[_0x5df60c(0x18b)]((_0x2074f7,_0x568743)=>_0x568743%0x2!=0x0?_0x5df60c(0x172)+tn(_0x2074f7)+_0x5df60c(0x18d):tn(_0x2074f7))[_0x5df60c(0x166)](''),_0x4c8963&&(_0x150cff+=_0x5df60c(0x186)+_0x4c8963[_0x5df60c(0x195)]+_0x5df60c(0x16f)+_0x4c8963[_0x5df60c(0x18a)]+_0x5df60c(0x168)),_0x150cff;}function tn(_0x5b31b0){const _0x2422e4=_0x450d,_0x36b0fb=document[_0x2422e4(0x17a)](_0x2422e4(0x162));return _0x36b0fb[_0x2422e4(0x193)]=_0x5b31b0,_0x36b0fb[_0x2422e4(0x16a)];}function _0x450d(_0x2ed697,_0x5dd9dd){const _0x60d3b2=_0x60d3();return _0x450d=function(_0x450d1f,_0x1c779f){_0x450d1f=_0x450d1f-0x161;let _0x376906=_0x60d3b2[_0x450d1f];return _0x376906;},_0x450d(_0x2ed697,_0x5dd9dd);}export function sortSuggestions(_0x2e1763){const _0x4bb440=_0x450d;return _0x2e1763[_0x4bb440(0x185)]((_0x2bcfe2,_0x4d6a5e)=>_0x4bb440(0x175)===_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x175)!==_0x4d6a5e[_0x4bb440(0x194)]?-0x1:_0x4bb440(0x175)!==_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x175)===_0x4d6a5e[_0x4bb440(0x194)]?0x1:_0x4bb440(0x170)==_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x170)!=_0x4d6a5e[_0x4bb440(0x194)]?-0x1:_0x4bb440(0x170)!=_0x2bcfe2[_0x4bb440(0x194)]&&_0x4bb440(0x170)==_0x4d6a5e[_0x4bb440(0x194)]?0x1:0x0);}export function getSelectedSuggestions(_0x91f369,_0x3aa7c3){const _0x87c96e=_0x450d,_0x5a0e17=Array[_0x87c96e(0x16c)](_0x91f369[_0x87c96e(0x180)]()),_0x1b41a6=new Set();for(const _0x35b376 of _0x3aa7c3)if(_0x35b376[_0x87c96e(0x182)]){for(const _0x28317d of _0x5a0e17)for(const _0x579333 of _0x35b376[_0x87c96e(0x180)]())(_0x28317d[_0x87c96e(0x16e)](_0x579333)||_0x91f369[_0x87c96e(0x17f)]&&!_0x35b376[_0x87c96e(0x174)]&&_0x35b376[_0x87c96e(0x188)]&&_0x579333[_0x87c96e(0x178)][_0x87c96e(0x18f)](_0x28317d[_0x87c96e(0x165)]))&&_0x1b41a6[_0x87c96e(0x17d)](_0x35b376);}return _0x1b41a6;}export function getRangesOfBlockGroups(_0x48b44c,_0x52415c){const _0x3d209f=_0x450d;let _0x5401e7,_0x278270=0x0;const _0x15f63a=[],_0x46a87d=_0x52415c[_0x3d209f(0x167)];for(;_0x278270<_0x48b44c[_0x3d209f(0x191)];){const _0x46814a=_0x48b44c[_0x278270],_0x7eb66a=_0x48b44c[_0x278270+0x1];_0x5401e7||(_0x5401e7=_0x52415c[_0x3d209f(0x163)](_0x46814a)),nn(_0x52415c,_0x46814a,_0x7eb66a)||(_0x15f63a[_0x3d209f(0x189)](_0x52415c[_0x3d209f(0x183)](_0x5401e7,_0x46a87d[_0x3d209f(0x18e)](_0x46814a)?_0x52415c[_0x3d209f(0x16d)](_0x46814a):_0x52415c[_0x3d209f(0x17b)](_0x46814a,_0x3d209f(0x178)))),_0x5401e7=null),_0x278270++;}return _0x15f63a;}function nn(_0x5a5397,_0x1cb105,_0x221208){const _0x523d9b=_0x450d;if(!_0x221208)return!0x1;const _0xef33ba=_0x5a5397[_0x523d9b(0x16d)](_0x1cb105),_0x34c926=_0x5a5397[_0x523d9b(0x163)](_0x221208);return _0xef33ba[_0x523d9b(0x18f)](_0x34c926);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x54e899,_0x2498ff,_0x336f4e){const _0x58cd78=_0x450d;for(;_0x336f4e[_0x58cd78(0x191)];){const _0x24842e=_0x336f4e[_0x58cd78(0x17e)](0x0,0x64);_0x54e899[_0x58cd78(0x18c)](()=>{const _0x4b6da2=_0x58cd78;for(const _0x1e9e51 of _0x24842e)_0x1e9e51[_0x4b6da2(0x182)]&&_0x2498ff[_0x4b6da2(0x173)](_0x1e9e51['id']);});}}function _0x60d3(){const _0x312b13=['length','400757vPWySQ','innerText','type','value','split','471294ZcUfia','144048UZngsW','40kOGLZL','726EwScOf','span','createPositionBefore','2421900gkHdQk','start','join','schema','\x22></span>','2367636qfvJPh','innerHTML','\x20[color\x20','from','createPositionAfter','isIntersecting','\x22\x20title=\x22','deletion','isArray','<span\x20class=\x22ck-suggestion-type\x22>','execute','isMultiRange','attribute','4BXVptm','102OwYrWk','end','content','createElement','createPositionAt','125128nmvJnp','add','splice','isCollapsed','getRanges','color','isInContent','createRange','5251495tbOTXP','sort','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','replace','next','push','title','map','change','</span>','isObject','isTouching','8ssJLzg'];_0x60d3=function(){return _0x312b13;};return _0x60d3();}
|