@ckeditor/ckeditor5-track-changes 47.0.0-alpha.3 → 47.0.0-alpha.5
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/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5017(_0x341108,_0x1ef503){const _0x53eebd=_0x53ee();return _0x5017=function(_0x501701,_0x1be60e){_0x501701=_0x501701-0x171;let _0x4370cc=_0x53eebd[_0x501701];return _0x4370cc;},_0x5017(_0x341108,_0x1ef503);}const _0x85c715=_0x5017;(function(_0x1419db,_0x432719){const _0x30e27e=_0x5017,_0x2f2aa7=_0x1419db();while(!![]){try{const _0x39ce21=-parseInt(_0x30e27e(0x186))/0x1+parseInt(_0x30e27e(0x184))/0x2*(-parseInt(_0x30e27e(0x17d))/0x3)+-parseInt(_0x30e27e(0x173))/0x4*(-parseInt(_0x30e27e(0x182))/0x5)+parseInt(_0x30e27e(0x174))/0x6*(-parseInt(_0x30e27e(0x181))/0x7)+parseInt(_0x30e27e(0x175))/0x8+parseInt(_0x30e27e(0x17f))/0x9+-parseInt(_0x30e27e(0x177))/0xa*(-parseInt(_0x30e27e(0x185))/0xb);if(_0x39ce21===_0x432719)break;else _0x2f2aa7['push'](_0x2f2aa7['shift']());}catch(_0x353a88){_0x2f2aa7['push'](_0x2f2aa7['shift']());}}}(_0x53ee,0xdbba3));import{Plugin as _0x1f4723}from'ckeditor5/src/core.js';import{Dialog as _0x5db018}from'ckeditor5/src/ui.js';function _0x53ee(){const _0x3d28b8=['2105NPBmMA','pluginName','61114LDOWsr','1464870bXWYpA','730141IJWBeX','previewFinalContent','editor','requires','trackChanges.preview.renderFunction','12564uJAbpr','12GUzPgd','13262040tTYRVO','commands','30BsDRlB','TrackChangesPreview','appendChild','config','define','add','129sHTmhk','isOfficialPlugin','5143725KHCNGM','isPremiumPlugin','3524696kTrlXm'];_0x53ee=function(){return _0x3d28b8;};return _0x53ee();}import{TrackChangesData as _0x52d98f}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3f570c}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x1f4723{static get[_0x85c715(0x171)](){return[_0x52d98f,_0x5db018];}static get[_0x85c715(0x183)](){const _0x157495=_0x85c715;return _0x157495(0x178);}static get[_0x85c715(0x17e)](){return!0x0;}static get[_0x85c715(0x180)](){return!0x0;}constructor(_0x7c1e94){const _0x2b1568=_0x85c715;super(_0x7c1e94),_0x7c1e94[_0x2b1568(0x176)][_0x2b1568(0x17c)](_0x2b1568(0x187),new _0x3f570c(this[_0x2b1568(0x188)])),_0x7c1e94[_0x2b1568(0x17a)][_0x2b1568(0x17b)](_0x2b1568(0x172),(_0x5c5ad9,_0x1f4a08)=>{const _0x193e19=_0x2b1568;for(const _0x418680 of _0x1f4a08)_0x5c5ad9[_0x193e19(0x179)](_0x418680);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40afc0=_0xdb8d;(function(_0x53ec3d,_0x154d72){const _0x4faf7d=_0xdb8d,_0x295156=_0x53ec3d();while(!![]){try{const _0x555efc=parseInt(_0x4faf7d(0x12f))/0x1*(-parseInt(_0x4faf7d(0x1b4))/0x2)+-parseInt(_0x4faf7d(0x1dc))/0x3*(-parseInt(_0x4faf7d(0x164))/0x4)+-parseInt(_0x4faf7d(0x18d))/0x5*(parseInt(_0x4faf7d(0x167))/0x6)+parseInt(_0x4faf7d(0x1cb))/0x7*(parseInt(_0x4faf7d(0x1cc))/0x8)+parseInt(_0x4faf7d(0x193))/0x9+parseInt(_0x4faf7d(0x196))/0xa*(parseInt(_0x4faf7d(0x14e))/0xb)+-parseInt(_0x4faf7d(0x1a6))/0xc*(parseInt(_0x4faf7d(0x1b5))/0xd);if(_0x555efc===_0x154d72)break;else _0x295156['push'](_0x295156['shift']());}catch(_0x324118){_0x295156['push'](_0x295156['shift']());}}}(_0x581f,0x9479f));import{Plugin as _0x1de772}from'ckeditor5/src/core.js';import{Collection as _0x16ea79}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x196a17}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x361a19,createDropdown as _0xb7438a,ListSeparatorView as _0x35f4bb,MenuBarMenuView as _0x2b0faa,MenuBarMenuListView as _0x213031,MenuBarMenuListItemView as _0x4cb6f7,MenuBarMenuListItemButtonView as _0xba0734,SplitButtonView as _0x3f0bca,UIModel as _0x321c6f}from'ckeditor5/src/ui.js';import{Users as _0xc172f3,getDateTimeFormatter as _0x411b90,getAllMarkersDomElementsSorted as _0x261175}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5e0fe7}from'./trackchangesediting.js';import{SuggestionController as _0x30e1b8}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x63ff7f}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43b16e}from'./ui/view/suggestionview.js';import{getTranslation as _0x401de4}from'./utils/common-translations.js';function _0xdb8d(_0x1d42b5,_0x4e899e){const _0x581f6f=_0x581f();return _0xdb8d=function(_0xdb8d26,_0x50ed6a){_0xdb8d26=_0xdb8d26-0x12b;let _0xadf205=_0x581f6f[_0xdb8d26];return _0xadf205;},_0xdb8d(_0x1d42b5,_0x4e899e);}export class TrackChangesUI extends _0x1de772{[_0x40afc0(0x195)];[_0x40afc0(0x152)];[_0x40afc0(0x1a0)];[_0x40afc0(0x144)];[_0x40afc0(0x134)];[_0x40afc0(0x1a7)];[_0x40afc0(0x1d2)];static get[_0x40afc0(0x1ca)](){const _0x12031f=_0x40afc0;return[_0x5e0fe7,_0xc172f3,_0x12031f(0x179),_0x12031f(0x1c0),_0x12031f(0x171)];}static get[_0x40afc0(0x149)](){const _0x4b4da2=_0x40afc0;return _0x4b4da2(0x1db);}static get[_0x40afc0(0x155)](){return!0x0;}static get[_0x40afc0(0x1d4)](){return!0x0;}constructor(_0x285c38){const _0x1e90d6=_0x40afc0;super(_0x285c38),this[_0x1e90d6(0x1a0)]=new Map(),this[_0x1e90d6(0x144)]=new Map(),this[_0x1e90d6(0x134)]=new Map(),this[_0x1e90d6(0x1a7)]=new Map();const _0xdd9608=this[_0x1e90d6(0x1ce)][_0x1e90d6(0x1c2)];_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x175),_0x63ff7f),_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x145),_0x43b16e),_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x16b),!0x1),this[_0x1e90d6(0x1d2)]=_0xdd9608[_0x1e90d6(0x13c)](_0x1e90d6(0x16b));}[_0x40afc0(0x1c9)](_0x3c3ecf,_0x3ca12d){const _0x330975=_0x40afc0;0x0===this[_0x330975(0x1a7)][_0x330975(0x136)]&&setTimeout(()=>{const _0x11fb14=_0x330975;for(const [_0x139402,_0x224e4e]of this[_0x11fb14(0x1a7)]){const _0x3dd4ef=this[_0x11fb14(0x1a0)][_0x11fb14(0x1c7)](_0x139402);_0x3dd4ef||_0x224e4e?_0x3dd4ef&&_0x224e4e&&this[_0x11fb14(0x138)](_0x139402):this[_0x11fb14(0x1be)](_0x139402);}this[_0x11fb14(0x1a7)][_0x11fb14(0x1cf)](),this[_0x11fb14(0x1ce)][_0x11fb14(0x1af)][_0x11fb14(0x13c)](_0x11fb14(0x171))[_0x11fb14(0x16f)](),this[_0x11fb14(0x157)]();},0xa),this[_0x330975(0x1a7)][_0x330975(0x1a9)](_0x3c3ecf,_0x3ca12d);}[_0x40afc0(0x16d)](){const _0x43df2a=_0x40afc0,_0x5da2d8=this[_0x43df2a(0x1ce)],_0x5c3a0a=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x13a)),_0x22efa8=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x1c0)),_0x20fd7d=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x171)),_0x32c5fb=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x179));this[_0x43df2a(0x198)](),_0x20fd7d[_0x43df2a(0x1b1)](()=>{const _0x5a6cb6=_0x43df2a,_0x59cc0c=[];for(const [_0x1b5e8b,_0x1e77de]of Array[_0x5a6cb6(0x17d)](this[_0x5a6cb6(0x1a0)])){const _0xf8ef1c=_0x1b5e8b[_0x5a6cb6(0x1a5)](),_0x4a5472=[];for(const _0x5be534 of _0xf8ef1c){if(!_0x5be534[_0x5a6cb6(0x182)])continue;if(_0x5be534[_0x5a6cb6(0x197)]){_0x4a5472[_0x5a6cb6(0x14d)](..._0x5be534[_0x5a6cb6(0x13e)]());continue;}const _0x225cb1=_0x5be534[_0x5a6cb6(0x187)]();if(_0x4a5472[_0x5a6cb6(0x12e)]>0x0){const _0x39a34e=_0x4a5472[0x0][_0x5a6cb6(0x17f)](_0x225cb1);if(_0x39a34e){_0x4a5472[0x0]=_0x39a34e;continue;}}_0x4a5472[_0x5a6cb6(0x14d)](_0x225cb1);}_0x59cc0c[_0x5a6cb6(0x14d)]([_0x1e77de[_0x5a6cb6(0x12d)],_0x4a5472]);}return _0x59cc0c;}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x1b8),(_0x6183a8,_0x4b2435)=>{const _0x4ec302=_0x43df2a;this[_0x4ec302(0x191)](_0x4b2435,_0x4ec302(0x181),(_0x2b7293,_0x137712,_0x1f1e15,_0x4d944e)=>{const _0x19dd05=_0x4ec302;_0x4b2435[_0x19dd05(0x182)]&&(null==_0x1f1e15?(this[_0x19dd05(0x1d0)](_0x4d944e[_0x19dd05(0x192)]),this[_0x19dd05(0x1c9)](_0x4b2435,!0x1)):(this[_0x19dd05(0x1d0)](_0x1f1e15[_0x19dd05(0x192)]),null==_0x4d944e&&this[_0x19dd05(0x1c9)](_0x4b2435,!0x0)));}),null!==_0x4b2435[_0x4ec302(0x15f)]?this[_0x4ec302(0x1d0)](_0x4b2435[_0x4ec302(0x192)]):this[_0x4ec302(0x1c9)](_0x4b2435,!0x1);}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x140),(_0x367f79,_0x2d0e5c,_0x8a2f5b)=>{const _0xa98e1d=_0x43df2a;this[_0xa98e1d(0x159)](_0x2d0e5c,_0xa98e1d(0x181)),this[_0xa98e1d(0x1a7)][_0xa98e1d(0x163)](_0x2d0e5c),this[_0xa98e1d(0x1a0)][_0xa98e1d(0x1c7)](_0x2d0e5c)&&this[_0xa98e1d(0x138)](_0x2d0e5c),_0x8a2f5b&&this[_0xa98e1d(0x1d0)](_0x8a2f5b[_0xa98e1d(0x192)]);}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x178),(_0x3fd42e,_0x24a19d)=>{const _0x55756b=_0x43df2a;this[_0x55756b(0x1d0)](_0x24a19d);}),this[_0x43df2a(0x191)](_0x22efa8,_0x43df2a(0x199),()=>{const _0x2a030d=_0x43df2a;this[_0x2a030d(0x157)]();}),this[_0x43df2a(0x191)](_0x32c5fb,_0x43df2a(0x189),(_0x51e051,{threadId:_0x7decf4,isFromAdapter:_0x4caa72})=>{const _0x1b568d=_0x43df2a;if(_0x4caa72||!_0x5c3a0a[_0x1b568d(0x1d7)](_0x7decf4))return;const _0x1d29c8=_0x5c3a0a[_0x1b568d(0x165)](_0x7decf4);this[_0x1b568d(0x1a0)][_0x1b568d(0x13c)](_0x1d29c8)[_0x1b568d(0x12d)][_0x1b568d(0x176)][_0x1b568d(0x18f)](-0x1);},{'priority':_0x43df2a(0x15b)}),this[_0x43df2a(0x195)]=this[_0x43df2a(0x1ce)][_0x43df2a(0x1c2)][_0x43df2a(0x13c)](_0x43df2a(0x195));const _0x525201=this[_0x43df2a(0x1ce)];this[_0x43df2a(0x152)]=setInterval(()=>{const _0x801c71=_0x43df2a;let _0xbd818d;for(const _0x1a5ac8 in _0x525201){const _0x31cea1=_0x1a5ac8,_0x45314c=_0x525201[_0x31cea1];if(_0x801c71(0x1bc)==_0x45314c||_0x801c71(0x130)==_0x45314c||_0x801c71(0x1cd)==_0x45314c||_0x801c71(0x172)==_0x45314c||_0x801c71(0x19c)==_0x45314c||_0x801c71(0x1b9)==_0x45314c||_0x801c71(0x1b3)==_0x45314c||_0x801c71(0x1c5)==_0x45314c){delete _0x525201[_0x31cea1],_0xbd818d=_0x45314c,clearInterval(this[_0x801c71(0x152)]),this[_0x801c71(0x152)]=void 0x0;break;}}_0x801c71(0x130)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x14f)),_0x801c71(0x1cd)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x137)),_0x801c71(0x172)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x1c1)),_0x801c71(0x19c)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x131),_0x801c71(0x1bb)),_0x801c71(0x1b9)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x133)),_0x801c71(0x1b3)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x19f)),_0x801c71(0x1c5)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x19b));},0x3e8);}[_0x40afc0(0x1d5)](_0x487394){const _0x2378ab=_0x40afc0,_0x284abd=this[_0x2378ab(0x1a0)][_0x2378ab(0x13c)](_0x487394);if(!_0x284abd)return null;return this[_0x2378ab(0x1ce)][_0x2378ab(0x1af)][_0x2378ab(0x13c)](_0x2378ab(0x1c0))[_0x2378ab(0x143)](_0x284abd[_0x2378ab(0x12d)])||null;}[_0x40afc0(0x132)](_0x7495be){const _0xe1a436=_0x40afc0,_0x393d27=this[_0xe1a436(0x144)][_0xe1a436(0x13c)](_0x7495be[_0xe1a436(0x194)]);return _0x393d27?_0x393d27[_0xe1a436(0x14a)]:null;}[_0x40afc0(0x157)](){const _0x575530=_0x40afc0,_0x86152a=this[_0x575530(0x1ce)][_0x575530(0x1af)][_0x575530(0x13c)](_0x575530(0x1c0)),_0x14eb26=this[_0x575530(0x1ce)][_0x575530(0x1af)][_0x575530(0x13c)](_0x575530(0x13a)),_0x628181=Array[_0x575530(0x17d)](_0x86152a[_0x575530(0x15a)],_0x19f771=>_0x19f771[_0x575530(0x194)])[_0x575530(0x12c)](_0x26c78f=>this[_0x575530(0x144)][_0x575530(0x1c7)](_0x26c78f)),_0x2f1b40=[];for(const _0x310b8b of _0x628181){const _0x4dddd7=this[_0x575530(0x144)][_0x575530(0x13c)](_0x310b8b)[_0x575530(0x14a)][_0x575530(0x1a5)]();_0x2f1b40[_0x575530(0x14d)](..._0x4dddd7[_0x575530(0x14c)]((_0x5e1477,_0x4bc352)=>[..._0x5e1477,..._0x4bc352[_0x575530(0x17c)]()],[]));}_0x14eb26[_0x575530(0x173)]=_0x2f1b40;}[_0x40afc0(0x198)](){const _0xb84e3b=_0x40afc0,_0x3f0cac=this[_0xb84e3b(0x1ce)],_0x3f6a72=_0x3f0cac[_0xb84e3b(0x161)],_0x461565=_0x401de4(_0x3f6a72,_0xb84e3b(0x1c4)),_0xd35f4e=new _0x16ea79([{'type':_0xb84e3b(0x190),'model':new _0x321c6f({'withText':!0x0,'isToggleable':!0x0,'label':_0x461565,'commandName':_0xb84e3b(0x1da),'role':_0xb84e3b(0x180)})},{'type':_0xb84e3b(0x154)},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x19d)),'commandName':_0xb84e3b(0x168),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x13b)),'commandName':_0xb84e3b(0x147),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x1d6)),'commandName':_0xb84e3b(0x1de),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x1ac)),'commandName':_0xb84e3b(0x15d),'role':_0xb84e3b(0x1c6)})}]);_0x3f0cac[_0xb84e3b(0x1af)][_0xb84e3b(0x1c7)](_0xb84e3b(0x170))&&_0xd35f4e[_0xb84e3b(0x160)]([{'type':_0xb84e3b(0x154)},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x166)),'commandName':_0xb84e3b(0x1ba),'role':_0xb84e3b(0x1c6)})}]);for(const _0x33f498 of _0xd35f4e)if(ve(_0x33f498)){const _0x29f976=_0x3f0cac[_0xb84e3b(0x18c)][_0xb84e3b(0x13c)](_0x33f498[_0xb84e3b(0x14a)][_0xb84e3b(0x15c)]);_0x33f498[_0xb84e3b(0x14a)][_0xb84e3b(0x158)](_0xb84e3b(0x18e),_0xb84e3b(0x17e))['to'](_0x29f976,_0xb84e3b(0x1bd),_0xb84e3b(0x17e));}_0x3f0cac['ui'][_0xb84e3b(0x148)][_0xb84e3b(0x1d9)](_0xb84e3b(0x1da),_0x2d1441=>this[_0xb84e3b(0x18b)](_0x2d1441,_0xd35f4e,_0x461565)),_0x3f0cac['ui'][_0xb84e3b(0x148)][_0xb84e3b(0x1d9)](_0xb84e3b(0x1b2),_0x2da568=>this[_0xb84e3b(0x174)](_0x2da568,_0xd35f4e,_0x461565));}[_0x40afc0(0x18b)](_0x169347,_0x53af46,_0x596a0a){const _0x1e247f=_0x40afc0,_0x1d3305=_0xb7438a(_0x169347,_0x3f0bca),_0x33c6ca=this[_0x1e247f(0x1ce)][_0x1e247f(0x18c)][_0x1e247f(0x13c)](_0x1e247f(0x1da));_0x1d3305[_0x1e247f(0x183)][_0x1e247f(0x1a9)]({'tooltip':_0x596a0a,'label':_0x596a0a,'icon':_0x196a17}),_0x1d3305[_0x1e247f(0x183)][_0x1e247f(0x158)](_0x1e247f(0x18e))['to'](_0x33c6ca,_0x1e247f(0x1bd)),_0x1d3305[_0x1e247f(0x183)]['on'](_0x1e247f(0x1b0),()=>{const _0x33aa93=_0x1e247f;_0x33c6ca[_0x33aa93(0x1b0)](),this[_0x33aa93(0x1ce)][_0x33aa93(0x188)][_0x33aa93(0x12d)][_0x33aa93(0x18f)]();}),_0x361a19(_0x1d3305,_0x53af46,{'role':_0x1e247f(0x184)});const _0x2f911e=[];for(const _0x3ba653 of _0x53af46)ve(_0x3ba653)&&_0x2f911e[_0x1e247f(0x14d)](this[_0x1e247f(0x1ce)][_0x1e247f(0x18c)][_0x1e247f(0x13c)](_0x3ba653[_0x1e247f(0x14a)][_0x1e247f(0x15c)]));const _0x5df2d1=_0x1d3305[_0x1e247f(0x183)];return _0x5df2d1[_0x1e247f(0x1aa)][_0x1e247f(0x16e)](_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x19a)][_0x1e247f(0x16e)](_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x1aa)][_0x1e247f(0x158)](_0x1e247f(0x17e))['to'](_0x33c6ca,_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x19a)][_0x1e247f(0x158)](_0x1e247f(0x17e))[_0x1e247f(0x146)](_0x2f911e,_0x1e247f(0x17e),(..._0x23e79f)=>_0x23e79f[_0x1e247f(0x150)](_0x482024=>_0x482024)),_0x1d3305['on'](_0x1e247f(0x1b0),_0x167036=>{const _0x5c8346=_0x1e247f;this[_0x5c8346(0x1ce)][_0x5c8346(0x1b0)](_0x167036[_0x5c8346(0x177)][_0x5c8346(0x15c)]),this[_0x5c8346(0x1ce)][_0x5c8346(0x188)][_0x5c8346(0x12d)][_0x5c8346(0x18f)]();}),_0x1d3305;}[_0x40afc0(0x174)](_0x32cdf8,_0x171546,_0x5c7d59){const _0x57025b=_0x40afc0,_0x47f1fb=new _0x2b0faa(_0x32cdf8),_0x3fae57=this[_0x57025b(0x1ce)][_0x57025b(0x18c)][_0x57025b(0x13c)](_0x57025b(0x1da));_0x47f1fb[_0x57025b(0x183)][_0x57025b(0x1a9)]({'label':_0x5c7d59,'icon':_0x196a17});const _0x33d039=new _0x213031(_0x32cdf8);for(const _0x8a5eaf of _0x171546){if(_0x57025b(0x154)==_0x8a5eaf[_0x57025b(0x19e)]){_0x33d039[_0x57025b(0x15e)][_0x57025b(0x1d9)](new _0x35f4bb(_0x32cdf8));continue;}const _0x5a3b9f=new _0x4cb6f7(_0x32cdf8,_0x47f1fb),_0x1986bb=new _0xba0734(_0x32cdf8),_0x27d957=_0x8a5eaf[_0x57025b(0x14a)];_0x1986bb[_0x57025b(0x158)](...Object[_0x57025b(0x1c3)](_0x27d957))['to'](_0x27d957),_0x1986bb[_0x57025b(0x1ad)](_0x57025b(0x1b0))['to'](_0x47f1fb),_0x1986bb['on'](_0x57025b(0x1b0),()=>{const _0x36204b=_0x57025b;this[_0x36204b(0x1ce)][_0x36204b(0x1b0)](_0x27d957[_0x36204b(0x15c)]),this[_0x36204b(0x1ce)][_0x36204b(0x188)][_0x36204b(0x12d)][_0x36204b(0x18f)]();}),_0x5a3b9f[_0x57025b(0x1a8)][_0x57025b(0x1d9)](_0x1986bb),_0x33d039[_0x57025b(0x15e)][_0x57025b(0x1d9)](_0x5a3b9f);}return _0x47f1fb[_0x57025b(0x158)](_0x57025b(0x17e))['to'](_0x3fae57,_0x57025b(0x17e)),_0x47f1fb[_0x57025b(0x151)][_0x57025b(0x1a8)][_0x57025b(0x1d9)](_0x33d039),_0x47f1fb;}[_0x40afc0(0x1be)](_0x319ce4){const _0x7c54c4=_0x40afc0,_0x3a5950=this[_0x7c54c4(0x1ce)],_0x2bc5a3=_0x3a5950[_0x7c54c4(0x1c2)],_0xfb35d7=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x1c0)),_0x53edde=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x179)),_0x2d5b78=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x171)),_0x25891b=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0xc172f3)['me'],_0x31d084=_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1da))[_0x7c54c4(0x139)],_0x511426=_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1da))[_0x7c54c4(0x1b7)],{CommentsListView:_0x4236d5,CommentThreadInputView:_0x5eeec7}=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x169));let _0x5ac0ec,_0xd4a37c,_0x8935f6;this[_0x7c54c4(0x134)][_0x7c54c4(0x1c7)](_0x319ce4['id'])?(_0xd4a37c=this[_0x7c54c4(0x134)][_0x7c54c4(0x13c)](_0x319ce4['id']),_0x5ac0ec=_0xd4a37c[_0x7c54c4(0x16a)]):(_0x5ac0ec=new _0x31d084(_0x3a5950[_0x7c54c4(0x161)],_0x319ce4,_0x25891b,{'disableComments':this[_0x7c54c4(0x1d2)],'editorConfig':{..._0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x153)),'licenseKey':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x195))},'maxCommentsWhenCollapsed':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x162)),'maxThreadTotalWeight':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x17b)),'maxCommentCharsWhenCollapsed':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1b6)),'formatDateTime':_0x411b90(_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x161)),_0x3a5950[_0x7c54c4(0x161)]),'CommentView':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x17a))[_0x7c54c4(0x1d3)],'CommentsListView':_0x4236d5,'CommentThreadInputView':_0x5eeec7,'SuggestionView':_0x511426}),_0x5ac0ec[_0x7c54c4(0x16c)][_0x7c54c4(0x186)]['on'](_0x7c54c4(0x1b0),()=>{const _0x586fa7=_0x7c54c4;_0x3a5950[_0x586fa7(0x188)][_0x586fa7(0x12d)][_0x586fa7(0x18f)]();}),_0x5ac0ec[_0x7c54c4(0x16c)][_0x7c54c4(0x1d8)]['on'](_0x7c54c4(0x1b0),()=>{const _0x4f333a=_0x7c54c4;_0x3a5950[_0x4f333a(0x188)][_0x4f333a(0x12d)][_0x4f333a(0x18f)]();}),_0xd4a37c=_0xfb35d7[_0x7c54c4(0x142)](this[_0x7c54c4(0x1ce)][_0x7c54c4(0x161)],_0x5ac0ec),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x1a1))['to'](_0x5ac0ec,_0x7c54c4(0x1a1)),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x12e))['to'](_0x5ac0ec),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x19e))['to'](_0x5ac0ec,_0x7c54c4(0x19e),_0x387fed=>_0x7c54c4(0x1a2)+_0x387fed),_0x5ac0ec['on'](_0x7c54c4(0x1ab),()=>{const _0x1fe4cb=_0x7c54c4;_0x8935f6[_0x1fe4cb(0x1c8)](_0x1fe4cb(0x1ab));}),this[_0x7c54c4(0x134)][_0x7c54c4(0x1a9)](_0x319ce4['id'],_0xd4a37c));const _0x45bfb7=_0x53edde[_0x7c54c4(0x18a)](_0x319ce4[_0x7c54c4(0x1d1)],_0x5ac0ec),_0x191bc7=new _0x30e1b8(_0x3a5950,_0x319ce4,_0x5ac0ec,_0x45bfb7),_0x202977=_0x319ce4[_0x7c54c4(0x1a5)]()[_0x7c54c4(0x12c)](_0x404e83=>_0x404e83[_0x7c54c4(0x182)]);_0x5ac0ec[_0x7c54c4(0x1df)]=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x13a))[_0x7c54c4(0x1dd)][_0x7c54c4(0x135)](_0x202977),this[_0x7c54c4(0x1a0)][_0x7c54c4(0x1a9)](_0x319ce4,_0x191bc7),this[_0x7c54c4(0x144)][_0x7c54c4(0x1a9)](_0x5ac0ec,_0x191bc7);const _0x4fd35a=()=>{const _0x4256e3=_0x7c54c4,_0x42f46c=[],_0xa571cd=_0x319ce4[_0x4256e3(0x1a5)]()[_0x4256e3(0x12c)](_0x28db99=>_0x28db99[_0x4256e3(0x182)]);for(const _0x237782 of _0xa571cd)_0x42f46c[_0x4256e3(0x14d)](..._0x237782[_0x4256e3(0x141)]());return _0x261175(_0x3a5950[_0x4256e3(0x188)],_0x42f46c);};_0x8935f6=_0xfb35d7[_0x7c54c4(0x1ae)]({'view':_0xd4a37c,'target':_0x4fd35a,'type':()=>_0x7c54c4(0x1a2)+_0x191bc7[_0x7c54c4(0x12d)][_0x7c54c4(0x19e)],'isVisible':!!_0x4fd35a()}),_0x53edde[_0x7c54c4(0x1a3)](_0x5ac0ec,_0x8935f6),_0xfb35d7[_0x7c54c4(0x1d9)](_0x8935f6),_0x2d5b78[_0x7c54c4(0x1bf)](_0x8935f6);}[_0x40afc0(0x138)](_0xb96b50){const _0x422a73=_0x40afc0,_0x1db6f0=this[_0x422a73(0x1ce)][_0x422a73(0x1af)][_0x422a73(0x13c)](_0x422a73(0x179)),_0x5a5b78=this[_0x422a73(0x1ce)][_0x422a73(0x1af)][_0x422a73(0x13c)](_0x422a73(0x1c0)),_0x58db59=this[_0x422a73(0x1a0)][_0x422a73(0x13c)](_0xb96b50),_0x39e96d=_0x58db59[_0x422a73(0x12d)],_0x26f22d=_0x5a5b78[_0x422a73(0x143)](_0x39e96d);_0x1db6f0[_0x422a73(0x185)](_0x39e96d),_0x26f22d&&_0x5a5b78[_0x422a73(0x156)](_0x26f22d),this[_0x422a73(0x1a0)][_0x422a73(0x163)](_0xb96b50),this[_0x422a73(0x144)][_0x422a73(0x163)](_0x39e96d),_0x58db59[_0x422a73(0x13f)]();}[_0x40afc0(0x1d0)](_0x17ce0f){const _0x4d25e5=_0x40afc0;if(!_0x17ce0f[_0x4d25e5(0x182)]||!this[_0x4d25e5(0x1a0)][_0x4d25e5(0x1c7)](_0x17ce0f))return;const _0x41e2ea=this[_0x4d25e5(0x1ce)][_0x4d25e5(0x1af)][_0x4d25e5(0x13c)](_0x4d25e5(0x13a)),_0x16c3d8=this[_0x4d25e5(0x1a0)][_0x4d25e5(0x13c)](_0x17ce0f),_0x47b378=_0x17ce0f[_0x4d25e5(0x1a5)]();_0x16c3d8[_0x4d25e5(0x12d)][_0x4d25e5(0x1df)]=_0x41e2ea[_0x4d25e5(0x1dd)][_0x4d25e5(0x135)](_0x47b378);}[_0x40afc0(0x13f)](){const _0x376246=_0x40afc0;for(const _0x5c9105 of this[_0x376246(0x1a0)][_0x376246(0x1c3)]())this[_0x376246(0x138)](_0x5c9105);for(const _0x25dff7 of this[_0x376246(0x134)][_0x376246(0x12b)]())_0x25dff7[_0x376246(0x16a)][_0x376246(0x13f)]();super[_0x376246(0x13f)](),this[_0x376246(0x152)]&&clearInterval(this[_0x376246(0x152)]);}}function _0x581f(){const _0x950c5e=['Annotations','domainLimit','config','keys','Track\x20changes','trackChangesLicenseKeyUsageLimit','menuitem','has','fire','_handleSuggestionControllerDelayed','requires','42lLccCj','979024GMTsUJ','trackChangesLicenseKeyExpired','editor','clear','_updateController','commentThread','_disableComments','CommentView','isPremiumPlugin','getAnnotationForSuggestion','Discard\x20all\x20suggestions','hasSuggestion','discardButton','add','trackChanges','TrackChangesUI','42oJGxFm','descriptionFactory','discardAllSuggestions','descriptionParts','values','filter','view','length','5jbUtny','trackChangesLicenseKeyInvalid','featureNotAllowed','getSuggestionForAnnotation','evaluationLimit','_annotationViews','getDescriptions','size','expired','_destroyController','SuggestionThreadView','TrackChangesEditing','Accept\x20all\x20selected\x20suggestions','get','define','getRanges','destroy','suggestionUnloaded','getMarkers','createAnnotationView','getByInnerView','_viewToController','trackChanges.SuggestionView','toMany','acceptSelectedSuggestions','componentFactory','pluginName','model','_showLicenseError','reduce','push','730411JlMqDU','invalid','some','panelView','_licenseKeyCheckInterval','comments.editorConfig','separator','isOfficialPlugin','remove','_refreshActiveMarkers','bind','stopListening','activeAnnotations','lowest','commandName','discardSelectedSuggestions','items','previous','addMany','locale','comments.maxCommentsWhenCollapsed','delete','289724iJNjyU','getSuggestion','Preview\x20final\x20content','1793556SGPcYf','acceptAllSuggestions','CommentsUI','mainView','trackChanges.disableComments','suggestionView','init','unbind','refreshSelectedViews','TrackChangesPreview','EditorAnnotations','trackChangesLicenseKeyDomainLimit','activeMarkers','_createMenuBarMenu','trackChanges.SuggestionThreadView','commentsListView','source','suggestionChanged','CommentsRepository','comments','comments.maxThreadTotalWeight','getMarkerNames','from','isEnabled','getJoined','menuitemcheckbox','change:previous','isInContent','buttonView','menu','_unbindEditors','acceptButton','getFirstRange','editing','addComment','createCommentThreadController','_createToolbarButton','commands','20vHmUiT','isOn','focus','switchbutton','listenTo','head','3515121cRStxS','innerView','licenseKey','40TmOGnE','isMultiRange','_addUIComponentsToFactory','change:activeAnnotations','arrowView','usageLimit','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','type','trialLimit','_suggestionToController','isDirty','suggestion-','_bindAnnotationToEditors','button','getAllAdjacentSuggestions','117732phmZWx','_handleControllerBuffer','children','set','actionView','escape','Discard\x20all\x20selected\x20suggestions','delegate','createAnnotation','plugins','execute','addSourceCollector','menuBar:trackChanges','trackChangesLicenseKeyTrialLimit','16554PGBtNY','741lgcTMd','comments.maxCommentCharsWhenCollapsed','SuggestionView','suggestionLoaded','trackChangesLicenseKeyEvaluationLimit','previewFinalContent','TrackChanges','trackChangesLicenseKeyValid','value','_initializeController','registerAnnotation'];_0x581f=function(){return _0x950c5e;};return _0x581f();}function ve(_0x19dbc7){const _0x3b5585=_0x40afc0;return _0x3b5585(0x14a)in _0x19dbc7;}
|
|
23
|
+
const _0xba6c71=_0xb52f;(function(_0x4103b6,_0xf1193c){const _0x3761a3=_0xb52f,_0x546215=_0x4103b6();while(!![]){try{const _0x2d73ee=-parseInt(_0x3761a3(0x195))/0x1*(parseInt(_0x3761a3(0x114))/0x2)+parseInt(_0x3761a3(0x14a))/0x3*(parseInt(_0x3761a3(0x19b))/0x4)+-parseInt(_0x3761a3(0x124))/0x5*(parseInt(_0x3761a3(0x1a9))/0x6)+-parseInt(_0x3761a3(0x12f))/0x7+-parseInt(_0x3761a3(0x1b1))/0x8*(parseInt(_0x3761a3(0x14e))/0x9)+parseInt(_0x3761a3(0x16d))/0xa*(parseInt(_0x3761a3(0x1bf))/0xb)+parseInt(_0x3761a3(0x118))/0xc;if(_0x2d73ee===_0xf1193c)break;else _0x546215['push'](_0x546215['shift']());}catch(_0x5342b4){_0x546215['push'](_0x546215['shift']());}}}(_0x3af8,0x4c176));import{Plugin as _0x179fa8}from'ckeditor5/src/core.js';import{Collection as _0x4f0165}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x22db61}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xb5264a,createDropdown as _0x172fe0,ListSeparatorView as _0x48a010,MenuBarMenuView as _0x22ba76,MenuBarMenuListView as _0x372c13,MenuBarMenuListItemView as _0x175c78,MenuBarMenuListItemButtonView as _0x1b57c1,SplitButtonView as _0xa41d52,UIModel as _0x47fb8b}from'ckeditor5/src/ui.js';function _0xb52f(_0x114355,_0x4ce4b1){const _0x3af893=_0x3af8();return _0xb52f=function(_0xb52f33,_0x466f88){_0xb52f33=_0xb52f33-0x10c;let _0x5202cc=_0x3af893[_0xb52f33];return _0x5202cc;},_0xb52f(_0x114355,_0x4ce4b1);}function _0x3af8(){const _0x50349f=['switchbutton','activeAnnotations','isEnabled','trackChangesLicenseKeyNotAllowed','featureNotAllowed','listenTo','suggestion-','_addUIComponentsToFactory','TrackChangesUI','addComment','getByInnerView','_showLicenseError','getMarkerNames','40rgFqpB','acceptSelectedSuggestions','get','getMarkers','editor','menu','descriptionFactory','componentFactory','stopListening','button','Accept\x20all\x20selected\x20suggestions','_annotationViews','descriptionParts','_destroyController','acceptAllSuggestions','menuitemcheckbox','domainLimit','execute','menuBar:trackChanges','_handleControllerBuffer','view','discardAllSuggestions','menuitem','change:activeAnnotations','trackChangesLicenseKeyTrialLimit','comments.maxCommentsWhenCollapsed','_bindAnnotationToEditors','add','commands','change:previous','editing','isMultiRange','usageLimit','previewFinalContent','model','getSuggestionForAnnotation','delegate','trackChangesLicenseKeyInvalid','size','trackChangesLicenseKeyUsageLimit','511327mqRsKe','values','children','_updateController','CommentsUI','_viewToController','722504BnMMSs','Accept\x20all\x20suggestions','innerView','discardButton','TrackChangesEditing','_initializeController','delete','trackChanges','Preview\x20final\x20content','suggestionChanged','SuggestionThreadView','refreshSelectedViews','value','length','18VJtAGj','_disableComments','define','escape','comments.maxThreadTotalWeight','requires','addSourceCollector','Discard\x20all\x20selected\x20suggestions','56lNbiwf','isInContent','lowest','from','acceptButton','trialLimit','fire','commandName','_createMenuBarMenu','discardSelectedSuggestions','Annotations','previous','activeMarkers','mainView','209110gQWotZ','createAnnotation','buttonView','hasSuggestion','evaluationLimit','_suggestionToController','addMany','trackChangesLicenseKeyEvaluationLimit','suggestionView','2iDiRST','_unbindEditors','separator','commentThread','19477632iJOnpC','remove','source','toMany','comments.editorConfig','TrackChanges','registerAnnotation','type','getDescriptions','head','actionView','getRanges','894265OYkYSy','trackChangesLicenseKeyValid','EditorAnnotations','reduce','unbind','suggestionLoaded','isOfficialPlugin','trackChangesLicenseKeyDomainLimit','commentsListView','items','trackChanges.SuggestionThreadView','3875830YTNxkJ','_refreshActiveMarkers','expired','getAllAdjacentSuggestions','SuggestionView','suggestionUnloaded','getAnnotationForSuggestion','some','isDirty','pluginName','CommentView','Track\x20changes','getJoined','trackChanges.disableComments','keys','plugins','CommentsRepository','has','set','focus','_licenseKeyCheckInterval','invalid','isPremiumPlugin','destroy','isOn','clear','panelView','6BuTMpZ','comments','init','licenseKey','189234lQXjJi','config','TrackChangesPreview','createAnnotationView','comments.maxCommentCharsWhenCollapsed','createCommentThreadController','push','_createToolbarButton','trackChanges.SuggestionView','Discard\x20all\x20suggestions','getFirstRange','filter','locale','_handleSuggestionControllerDelayed','arrowView','getSuggestion','trackChangesLicenseKeyExpired','bind'];_0x3af8=function(){return _0x50349f;};return _0x3af8();}import{Users as _0x261991,getDateTimeFormatter as _0x18bfb0,getAllMarkersDomElementsSorted as _0x2d421f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x164a10}from'./trackchangesediting.js';import{SuggestionController as _0x2109de}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x480abf}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x432250}from'./ui/view/suggestionview.js';import{getTranslation as _0x3ab1bf}from'./utils/common-translations.js';export class TrackChangesUI extends _0x179fa8{[_0xba6c71(0x14d)];[_0xba6c71(0x143)];[_0xba6c71(0x110)];[_0xba6c71(0x19a)];[_0xba6c71(0x178)];[_0xba6c71(0x180)];[_0xba6c71(0x1aa)];static get[_0xba6c71(0x1ae)](){const _0x15801a=_0xba6c71;return[_0x164a10,_0x261991,_0x15801a(0x13f),_0x15801a(0x1bb),_0x15801a(0x126)];}static get[_0xba6c71(0x138)](){const _0x25ee38=_0xba6c71;return _0x25ee38(0x168);}static get[_0xba6c71(0x12a)](){return!0x0;}static get[_0xba6c71(0x145)](){return!0x0;}constructor(_0x34231d){const _0x39499d=_0xba6c71;super(_0x34231d),this[_0x39499d(0x110)]=new Map(),this[_0x39499d(0x19a)]=new Map(),this[_0x39499d(0x178)]=new Map(),this[_0x39499d(0x180)]=new Map();const _0x13b3ea=this[_0x39499d(0x171)][_0x39499d(0x14f)];_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x12e),_0x480abf),_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x156),_0x432250),_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x13c),!0x1),this[_0x39499d(0x1aa)]=_0x13b3ea[_0x39499d(0x16f)](_0x39499d(0x13c));}[_0xba6c71(0x15b)](_0x4c55f5,_0x57528a){const _0x18534c=_0xba6c71;0x0===this[_0x18534c(0x180)][_0x18534c(0x193)]&&setTimeout(()=>{const _0x4cc94d=_0x18534c;for(const [_0x33c5d8,_0x29f8a0]of this[_0x4cc94d(0x180)]){const _0x314e96=this[_0x4cc94d(0x110)][_0x4cc94d(0x140)](_0x33c5d8);_0x314e96||_0x29f8a0?_0x314e96&&_0x29f8a0&&this[_0x4cc94d(0x17a)](_0x33c5d8):this[_0x4cc94d(0x1a0)](_0x33c5d8);}this[_0x4cc94d(0x180)][_0x4cc94d(0x148)](),this[_0x4cc94d(0x171)][_0x4cc94d(0x13e)][_0x4cc94d(0x16f)](_0x4cc94d(0x126))[_0x4cc94d(0x1a6)](),this[_0x4cc94d(0x130)]();},0xa),this[_0x18534c(0x180)][_0x18534c(0x141)](_0x4c55f5,_0x57528a);}[_0xba6c71(0x14c)](){const _0x3c17bf=_0xba6c71,_0x4e1812=this[_0x3c17bf(0x171)],_0x218ad1=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x19f)),_0x3400b4=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x1bb)),_0x4ba595=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x126)),_0x38e894=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x13f));this[_0x3c17bf(0x167)](),_0x4ba595[_0x3c17bf(0x1af)](()=>{const _0x343d5a=_0x3c17bf,_0x4ef2eb=[];for(const [_0x175f4b,_0x450a15]of Array[_0x343d5a(0x1b4)](this[_0x343d5a(0x110)])){const _0x3e174b=_0x175f4b[_0x343d5a(0x132)](),_0x17d061=[];for(const _0x2685ea of _0x3e174b){if(!_0x2685ea[_0x343d5a(0x1b2)])continue;if(_0x2685ea[_0x343d5a(0x18c)]){_0x17d061[_0x343d5a(0x154)](..._0x2685ea[_0x343d5a(0x123)]());continue;}const _0x4bcc14=_0x2685ea[_0x343d5a(0x158)]();if(_0x17d061[_0x343d5a(0x1a8)]>0x0){const _0x2d6a8d=_0x17d061[0x0][_0x343d5a(0x13b)](_0x4bcc14);if(_0x2d6a8d){_0x17d061[0x0]=_0x2d6a8d;continue;}}_0x17d061[_0x343d5a(0x154)](_0x4bcc14);}_0x4ef2eb[_0x343d5a(0x154)]([_0x450a15[_0x343d5a(0x181)],_0x17d061]);}return _0x4ef2eb;}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x129),(_0x4a949,_0x2b0e1f)=>{const _0xb03332=_0x3c17bf;this[_0xb03332(0x165)](_0x2b0e1f,_0xb03332(0x18a),(_0xb37377,_0x54ca82,_0x42b236,_0x5ac650)=>{const _0x2ad1e6=_0xb03332;_0x2b0e1f[_0x2ad1e6(0x1b2)]&&(null==_0x42b236?(this[_0x2ad1e6(0x198)](_0x5ac650[_0x2ad1e6(0x121)]),this[_0x2ad1e6(0x15b)](_0x2b0e1f,!0x1)):(this[_0x2ad1e6(0x198)](_0x42b236[_0x2ad1e6(0x121)]),null==_0x5ac650&&this[_0x2ad1e6(0x15b)](_0x2b0e1f,!0x0)));}),null!==_0x2b0e1f[_0xb03332(0x1bc)]?this[_0xb03332(0x198)](_0x2b0e1f[_0xb03332(0x121)]):this[_0xb03332(0x15b)](_0x2b0e1f,!0x1);}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x134),(_0x503b33,_0x2eab83,_0x388bc7)=>{const _0x3100f5=_0x3c17bf;this[_0x3100f5(0x175)](_0x2eab83,_0x3100f5(0x18a)),this[_0x3100f5(0x180)][_0x3100f5(0x1a1)](_0x2eab83),this[_0x3100f5(0x110)][_0x3100f5(0x140)](_0x2eab83)&&this[_0x3100f5(0x17a)](_0x2eab83),_0x388bc7&&this[_0x3100f5(0x198)](_0x388bc7[_0x3100f5(0x121)]);}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x1a4),(_0x481c4c,_0x64c98b)=>{const _0x2fe414=_0x3c17bf;this[_0x2fe414(0x198)](_0x64c98b);}),this[_0x3c17bf(0x165)](_0x3400b4,_0x3c17bf(0x184),()=>{const _0x1e1fdb=_0x3c17bf;this[_0x1e1fdb(0x130)]();}),this[_0x3c17bf(0x165)](_0x38e894,_0x3c17bf(0x169),(_0xbf097f,{threadId:_0x34b0dd,isFromAdapter:_0x44fcec})=>{const _0x1f23d4=_0x3c17bf;if(_0x44fcec||!_0x218ad1[_0x1f23d4(0x10e)](_0x34b0dd))return;const _0x5a626a=_0x218ad1[_0x1f23d4(0x15d)](_0x34b0dd);this[_0x1f23d4(0x110)][_0x1f23d4(0x16f)](_0x5a626a)[_0x1f23d4(0x181)][_0x1f23d4(0x12c)][_0x1f23d4(0x142)](-0x1);},{'priority':_0x3c17bf(0x1b3)}),this[_0x3c17bf(0x14d)]=this[_0x3c17bf(0x171)][_0x3c17bf(0x14f)][_0x3c17bf(0x16f)](_0x3c17bf(0x14d));const _0x284b04=this[_0x3c17bf(0x171)];this[_0x3c17bf(0x143)]=setInterval(()=>{const _0x38f361=_0x3c17bf;let _0x2e65d9;for(const _0x3e1be8 in _0x284b04){const _0x2b6d18=_0x3e1be8,_0x4e3761=_0x284b04[_0x2b6d18];if(_0x38f361(0x125)==_0x4e3761||_0x38f361(0x192)==_0x4e3761||_0x38f361(0x15e)==_0x4e3761||_0x38f361(0x12b)==_0x4e3761||_0x38f361(0x163)==_0x4e3761||_0x38f361(0x112)==_0x4e3761||_0x38f361(0x185)==_0x4e3761||_0x38f361(0x194)==_0x4e3761){delete _0x284b04[_0x2b6d18],_0x2e65d9=_0x4e3761,clearInterval(this[_0x38f361(0x143)]),this[_0x38f361(0x143)]=void 0x0;break;}}_0x38f361(0x192)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x144)),_0x38f361(0x15e)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x131)),_0x38f361(0x12b)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x17d)),_0x38f361(0x163)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x164),_0x38f361(0x11d)),_0x38f361(0x112)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x10f)),_0x38f361(0x185)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x1b6)),_0x38f361(0x194)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x18d));},0x3e8);}[_0xba6c71(0x135)](_0x569610){const _0x5a96ec=_0xba6c71,_0x44932c=this[_0x5a96ec(0x110)][_0x5a96ec(0x16f)](_0x569610);if(!_0x44932c)return null;return this[_0x5a96ec(0x171)][_0x5a96ec(0x13e)][_0x5a96ec(0x16f)](_0x5a96ec(0x1bb))[_0x5a96ec(0x16a)](_0x44932c[_0x5a96ec(0x181)])||null;}[_0xba6c71(0x190)](_0x3cd020){const _0x5236e4=_0xba6c71,_0x364b5b=this[_0x5236e4(0x19a)][_0x5236e4(0x16f)](_0x3cd020[_0x5236e4(0x19d)]);return _0x364b5b?_0x364b5b[_0x5236e4(0x18f)]:null;}[_0xba6c71(0x130)](){const _0x2c3111=_0xba6c71,_0x170562=this[_0x2c3111(0x171)][_0x2c3111(0x13e)][_0x2c3111(0x16f)](_0x2c3111(0x1bb)),_0x36d89f=this[_0x2c3111(0x171)][_0x2c3111(0x13e)][_0x2c3111(0x16f)](_0x2c3111(0x19f)),_0x5541a8=Array[_0x2c3111(0x1b4)](_0x170562[_0x2c3111(0x161)],_0x3f0344=>_0x3f0344[_0x2c3111(0x19d)])[_0x2c3111(0x159)](_0x4d32d3=>this[_0x2c3111(0x19a)][_0x2c3111(0x140)](_0x4d32d3)),_0x29637b=[];for(const _0x1f2b55 of _0x5541a8){const _0x54eee6=this[_0x2c3111(0x19a)][_0x2c3111(0x16f)](_0x1f2b55)[_0x2c3111(0x18f)][_0x2c3111(0x132)]();_0x29637b[_0x2c3111(0x154)](..._0x54eee6[_0x2c3111(0x127)]((_0x243479,_0x113fb8)=>[..._0x243479,..._0x113fb8[_0x2c3111(0x16c)]()],[]));}_0x36d89f[_0x2c3111(0x1bd)]=_0x29637b;}[_0xba6c71(0x167)](){const _0x5c80f7=_0xba6c71,_0x48ecdd=this[_0x5c80f7(0x171)],_0x1621b8=_0x48ecdd[_0x5c80f7(0x15a)],_0x162123=_0x3ab1bf(_0x1621b8,_0x5c80f7(0x13a)),_0x1de6fe=new _0x4f0165([{'type':_0x5c80f7(0x160),'model':new _0x47fb8b({'withText':!0x0,'isToggleable':!0x0,'label':_0x162123,'commandName':_0x5c80f7(0x1a2),'role':_0x5c80f7(0x17c)})},{'type':_0x5c80f7(0x116)},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x19c)),'commandName':_0x5c80f7(0x17b),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x177)),'commandName':_0x5c80f7(0x16e),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x157)),'commandName':_0x5c80f7(0x182),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x1b0)),'commandName':_0x5c80f7(0x1ba),'role':_0x5c80f7(0x183)})}]);_0x48ecdd[_0x5c80f7(0x13e)][_0x5c80f7(0x140)](_0x5c80f7(0x150))&&_0x1de6fe[_0x5c80f7(0x111)]([{'type':_0x5c80f7(0x116)},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x1a3)),'commandName':_0x5c80f7(0x18e),'role':_0x5c80f7(0x183)})}]);for(const _0x59ff61 of _0x1de6fe)if(ve(_0x59ff61)){const _0xceafce=_0x48ecdd[_0x5c80f7(0x189)][_0x5c80f7(0x16f)](_0x59ff61[_0x5c80f7(0x18f)][_0x5c80f7(0x1b8)]);_0x59ff61[_0x5c80f7(0x18f)][_0x5c80f7(0x15f)](_0x5c80f7(0x147),_0x5c80f7(0x162))['to'](_0xceafce,_0x5c80f7(0x1a7),_0x5c80f7(0x162));}_0x48ecdd['ui'][_0x5c80f7(0x174)][_0x5c80f7(0x188)](_0x5c80f7(0x1a2),_0x410d5f=>this[_0x5c80f7(0x155)](_0x410d5f,_0x1de6fe,_0x162123)),_0x48ecdd['ui'][_0x5c80f7(0x174)][_0x5c80f7(0x188)](_0x5c80f7(0x17f),_0xbea852=>this[_0x5c80f7(0x1b9)](_0xbea852,_0x1de6fe,_0x162123));}[_0xba6c71(0x155)](_0x2f77fd,_0x582f43,_0x33ac0a){const _0x4b26bc=_0xba6c71,_0x3ab490=_0x172fe0(_0x2f77fd,_0xa41d52),_0x17a6eb=this[_0x4b26bc(0x171)][_0x4b26bc(0x189)][_0x4b26bc(0x16f)](_0x4b26bc(0x1a2));_0x3ab490[_0x4b26bc(0x10d)][_0x4b26bc(0x141)]({'tooltip':_0x33ac0a,'label':_0x33ac0a,'icon':_0x22db61}),_0x3ab490[_0x4b26bc(0x10d)][_0x4b26bc(0x15f)](_0x4b26bc(0x147))['to'](_0x17a6eb,_0x4b26bc(0x1a7)),_0x3ab490[_0x4b26bc(0x10d)]['on'](_0x4b26bc(0x17e),()=>{const _0x14fae4=_0x4b26bc;_0x17a6eb[_0x14fae4(0x17e)](),this[_0x14fae4(0x171)][_0x14fae4(0x18b)][_0x14fae4(0x181)][_0x14fae4(0x142)]();}),_0xb5264a(_0x3ab490,_0x582f43,{'role':_0x4b26bc(0x172)});const _0x450f47=[];for(const _0x165c55 of _0x582f43)ve(_0x165c55)&&_0x450f47[_0x4b26bc(0x154)](this[_0x4b26bc(0x171)][_0x4b26bc(0x189)][_0x4b26bc(0x16f)](_0x165c55[_0x4b26bc(0x18f)][_0x4b26bc(0x1b8)]));const _0x596a07=_0x3ab490[_0x4b26bc(0x10d)];return _0x596a07[_0x4b26bc(0x122)][_0x4b26bc(0x128)](_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x15c)][_0x4b26bc(0x128)](_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x122)][_0x4b26bc(0x15f)](_0x4b26bc(0x162))['to'](_0x17a6eb,_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x15c)][_0x4b26bc(0x15f)](_0x4b26bc(0x162))[_0x4b26bc(0x11b)](_0x450f47,_0x4b26bc(0x162),(..._0x5b21ce)=>_0x5b21ce[_0x4b26bc(0x136)](_0x1352bc=>_0x1352bc)),_0x3ab490['on'](_0x4b26bc(0x17e),_0x137874=>{const _0x5d562c=_0x4b26bc;this[_0x5d562c(0x171)][_0x5d562c(0x17e)](_0x137874[_0x5d562c(0x11a)][_0x5d562c(0x1b8)]),this[_0x5d562c(0x171)][_0x5d562c(0x18b)][_0x5d562c(0x181)][_0x5d562c(0x142)]();}),_0x3ab490;}[_0xba6c71(0x1b9)](_0x660a99,_0x44d36a,_0x30fb15){const _0x4fd33f=_0xba6c71,_0x5e4a74=new _0x22ba76(_0x660a99),_0x3f0122=this[_0x4fd33f(0x171)][_0x4fd33f(0x189)][_0x4fd33f(0x16f)](_0x4fd33f(0x1a2));_0x5e4a74[_0x4fd33f(0x10d)][_0x4fd33f(0x141)]({'label':_0x30fb15,'icon':_0x22db61});const _0x52b1e8=new _0x372c13(_0x660a99);for(const _0x3315a0 of _0x44d36a){if(_0x4fd33f(0x116)==_0x3315a0[_0x4fd33f(0x11f)]){_0x52b1e8[_0x4fd33f(0x12d)][_0x4fd33f(0x188)](new _0x48a010(_0x660a99));continue;}const _0x13b439=new _0x175c78(_0x660a99,_0x5e4a74),_0x4c4b13=new _0x1b57c1(_0x660a99),_0x5a4646=_0x3315a0[_0x4fd33f(0x18f)];_0x4c4b13[_0x4fd33f(0x15f)](...Object[_0x4fd33f(0x13d)](_0x5a4646))['to'](_0x5a4646),_0x4c4b13[_0x4fd33f(0x191)](_0x4fd33f(0x17e))['to'](_0x5e4a74),_0x4c4b13['on'](_0x4fd33f(0x17e),()=>{const _0x4b2e20=_0x4fd33f;this[_0x4b2e20(0x171)][_0x4b2e20(0x17e)](_0x5a4646[_0x4b2e20(0x1b8)]),this[_0x4b2e20(0x171)][_0x4b2e20(0x18b)][_0x4b2e20(0x181)][_0x4b2e20(0x142)]();}),_0x13b439[_0x4fd33f(0x197)][_0x4fd33f(0x188)](_0x4c4b13),_0x52b1e8[_0x4fd33f(0x12d)][_0x4fd33f(0x188)](_0x13b439);}return _0x5e4a74[_0x4fd33f(0x15f)](_0x4fd33f(0x162))['to'](_0x3f0122,_0x4fd33f(0x162)),_0x5e4a74[_0x4fd33f(0x149)][_0x4fd33f(0x197)][_0x4fd33f(0x188)](_0x52b1e8),_0x5e4a74;}[_0xba6c71(0x1a0)](_0x4e49f5){const _0xd7312e=_0xba6c71,_0x5bee0c=this[_0xd7312e(0x171)],_0x7fc152=_0x5bee0c[_0xd7312e(0x14f)],_0xcd452c=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x1bb)),_0x2e0d58=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x13f)),_0x2cb476=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x126)),_0x2dd5ad=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0x261991)['me'],_0x47eb5d=_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1a2))[_0xd7312e(0x1a5)],_0x386c1b=_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1a2))[_0xd7312e(0x133)],{CommentsListView:_0x9f3acf,CommentThreadInputView:_0x5e259f}=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x199));let _0x590856,_0x1f9b19,_0x5a4336;this[_0xd7312e(0x178)][_0xd7312e(0x140)](_0x4e49f5['id'])?(_0x1f9b19=this[_0xd7312e(0x178)][_0xd7312e(0x16f)](_0x4e49f5['id']),_0x590856=_0x1f9b19[_0xd7312e(0x1be)]):(_0x590856=new _0x47eb5d(_0x5bee0c[_0xd7312e(0x15a)],_0x4e49f5,_0x2dd5ad,{'disableComments':this[_0xd7312e(0x1aa)],'editorConfig':{..._0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x11c)),'licenseKey':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x14d))},'maxCommentsWhenCollapsed':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x186)),'maxThreadTotalWeight':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1ad)),'maxCommentCharsWhenCollapsed':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x152)),'formatDateTime':_0x18bfb0(_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x15a)),_0x5bee0c[_0xd7312e(0x15a)]),'CommentView':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x14b))[_0xd7312e(0x139)],'CommentsListView':_0x9f3acf,'CommentThreadInputView':_0x5e259f,'SuggestionView':_0x386c1b}),_0x590856[_0xd7312e(0x113)][_0xd7312e(0x1b5)]['on'](_0xd7312e(0x17e),()=>{const _0x2b53d1=_0xd7312e;_0x5bee0c[_0x2b53d1(0x18b)][_0x2b53d1(0x181)][_0x2b53d1(0x142)]();}),_0x590856[_0xd7312e(0x113)][_0xd7312e(0x19e)]['on'](_0xd7312e(0x17e),()=>{const _0x54b27c=_0xd7312e;_0x5bee0c[_0x54b27c(0x18b)][_0x54b27c(0x181)][_0x54b27c(0x142)]();}),_0x1f9b19=_0xcd452c[_0xd7312e(0x151)](this[_0xd7312e(0x171)][_0xd7312e(0x15a)],_0x590856),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x137))['to'](_0x590856,_0xd7312e(0x137)),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x1a8))['to'](_0x590856),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x11f))['to'](_0x590856,_0xd7312e(0x11f),_0x20d03a=>_0xd7312e(0x166)+_0x20d03a),_0x590856['on'](_0xd7312e(0x1ac),()=>{const _0x14b04a=_0xd7312e;_0x5a4336[_0x14b04a(0x1b7)](_0x14b04a(0x1ac));}),this[_0xd7312e(0x178)][_0xd7312e(0x141)](_0x4e49f5['id'],_0x1f9b19));const _0x577cd5=_0x2e0d58[_0xd7312e(0x153)](_0x4e49f5[_0xd7312e(0x117)],_0x590856),_0xb0951d=new _0x2109de(_0x5bee0c,_0x4e49f5,_0x590856,_0x577cd5),_0x588901=_0x4e49f5[_0xd7312e(0x132)]()[_0xd7312e(0x159)](_0x595b96=>_0x595b96[_0xd7312e(0x1b2)]);_0x590856[_0xd7312e(0x179)]=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x19f))[_0xd7312e(0x173)][_0xd7312e(0x120)](_0x588901),this[_0xd7312e(0x110)][_0xd7312e(0x141)](_0x4e49f5,_0xb0951d),this[_0xd7312e(0x19a)][_0xd7312e(0x141)](_0x590856,_0xb0951d);const _0x3f1def=()=>{const _0x3face7=_0xd7312e,_0x5bdded=[],_0x5b82e9=_0x4e49f5[_0x3face7(0x132)]()[_0x3face7(0x159)](_0x4156ec=>_0x4156ec[_0x3face7(0x1b2)]);for(const _0x350bf0 of _0x5b82e9)_0x5bdded[_0x3face7(0x154)](..._0x350bf0[_0x3face7(0x170)]());return _0x2d421f(_0x5bee0c[_0x3face7(0x18b)],_0x5bdded);};_0x5a4336=_0xcd452c[_0xd7312e(0x10c)]({'view':_0x1f9b19,'target':_0x3f1def,'type':()=>_0xd7312e(0x166)+_0xb0951d[_0xd7312e(0x181)][_0xd7312e(0x11f)],'isVisible':!!_0x3f1def()}),_0x2e0d58[_0xd7312e(0x187)](_0x590856,_0x5a4336),_0xcd452c[_0xd7312e(0x188)](_0x5a4336),_0x2cb476[_0xd7312e(0x11e)](_0x5a4336);}[_0xba6c71(0x17a)](_0x481d86){const _0x24f9ac=_0xba6c71,_0x17de28=this[_0x24f9ac(0x171)][_0x24f9ac(0x13e)][_0x24f9ac(0x16f)](_0x24f9ac(0x13f)),_0xfb4e7=this[_0x24f9ac(0x171)][_0x24f9ac(0x13e)][_0x24f9ac(0x16f)](_0x24f9ac(0x1bb)),_0x280aa7=this[_0x24f9ac(0x110)][_0x24f9ac(0x16f)](_0x481d86),_0x2a7952=_0x280aa7[_0x24f9ac(0x181)],_0x48204d=_0xfb4e7[_0x24f9ac(0x16a)](_0x2a7952);_0x17de28[_0x24f9ac(0x115)](_0x2a7952),_0x48204d&&_0xfb4e7[_0x24f9ac(0x119)](_0x48204d),this[_0x24f9ac(0x110)][_0x24f9ac(0x1a1)](_0x481d86),this[_0x24f9ac(0x19a)][_0x24f9ac(0x1a1)](_0x2a7952),_0x280aa7[_0x24f9ac(0x146)]();}[_0xba6c71(0x198)](_0x313d8d){const _0x399f1=_0xba6c71;if(!_0x313d8d[_0x399f1(0x1b2)]||!this[_0x399f1(0x110)][_0x399f1(0x140)](_0x313d8d))return;const _0x2899dc=this[_0x399f1(0x171)][_0x399f1(0x13e)][_0x399f1(0x16f)](_0x399f1(0x19f)),_0x5e4b44=this[_0x399f1(0x110)][_0x399f1(0x16f)](_0x313d8d),_0x1b8491=_0x313d8d[_0x399f1(0x132)]();_0x5e4b44[_0x399f1(0x181)][_0x399f1(0x179)]=_0x2899dc[_0x399f1(0x173)][_0x399f1(0x120)](_0x1b8491);}[_0xba6c71(0x146)](){const _0x5dc431=_0xba6c71;for(const _0x5088f2 of this[_0x5dc431(0x110)][_0x5dc431(0x13d)]())this[_0x5dc431(0x17a)](_0x5088f2);for(const _0x54988d of this[_0x5dc431(0x178)][_0x5dc431(0x196)]())_0x54988d[_0x5dc431(0x1be)][_0x5dc431(0x146)]();super[_0x5dc431(0x146)](),this[_0x5dc431(0x143)]&&clearInterval(this[_0x5dc431(0x143)]);}}function ve(_0x19070b){const _0x3f0329=_0xba6c71;return _0x3f0329(0x18f)in _0x19070b;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x576d03=_0x1897;function _0x1897(_0x1097e6,_0x4e57dd){const _0x2db045=_0x2db0();return _0x1897=function(_0x1897c3,_0x4305b7){_0x1897c3=_0x1897c3-0xb3;let _0x17fe2e=_0x2db045[_0x1897c3];return _0x17fe2e;},_0x1897(_0x1097e6,_0x4e57dd);}(function(_0x3f1be4,_0x1261d4){const _0x3a9cdc=_0x1897,_0x384be1=_0x3f1be4();while(!![]){try{const _0x1c3b46=-parseInt(_0x3a9cdc(0xc5))/0x1*(parseInt(_0x3a9cdc(0xde))/0x2)+parseInt(_0x3a9cdc(0xc3))/0x3*(parseInt(_0x3a9cdc(0xbb))/0x4)+parseInt(_0x3a9cdc(0xc9))/0x5*(-parseInt(_0x3a9cdc(0xc1))/0x6)+parseInt(_0x3a9cdc(0xbd))/0x7*(parseInt(_0x3a9cdc(0xd9))/0x8)+-parseInt(_0x3a9cdc(0xce))/0x9*(-parseInt(_0x3a9cdc(0xb7))/0xa)+parseInt(_0x3a9cdc(0xdf))/0xb*(parseInt(_0x3a9cdc(0xd4))/0xc)+parseInt(_0x3a9cdc(0xd2))/0xd;if(_0x1c3b46===_0x1261d4)break;else _0x384be1['push'](_0x384be1['shift']());}catch(_0x493770){_0x384be1['push'](_0x384be1['shift']());}}}(_0x2db0,0xc1ae4));function _0x2db0(){const _0x1cded3=['model','108aPXOXU','canEditAt','_removePendingAction','commands','add','142096fbTymD','PENDING_ACTION_SUGGESTION','change:isDirty','view','destroy','3200ssiCtv','8844HBIEqs','discardSuggestion','locale','_acceptCommand','listenTo','7353690bqVWFI','isEnabled','_pendingAction','PendingActions','4908nBYnms','commentThreadController','28Pftstv','canDiscard','plugins','getRanges','6qbIWKJ','acceptSuggestion','1083RAnwmH','isDirty','98KRYnYd','_editor','_setPendingAction','bind','4508695ErJkVA','get','remove','stopListening','execute','9yGAciz','unbind','_discardCommand','canAccept','7738315zaRWhy'];_0x2db0=function(){return _0x1cded3;};return _0x2db0();}import{ObservableMixin as _0x49eaf8}from'ckeditor5/src/utils.js';import{getTranslation as _0x45002e}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49eaf8(){[_0x576d03(0xd3)];[_0x576d03(0xdc)];[_0x576d03(0xbc)];[_0x576d03(0xc6)];[_0x576d03(0xb5)];[_0x576d03(0xd0)];[_0x576d03(0xb9)];constructor(_0x40cc15,_0x27a9ca,_0x556a03,_0x346d8c){const _0x2bf777=_0x576d03;super(),this[_0x2bf777(0xd3)]=_0x27a9ca,this[_0x2bf777(0xdc)]=_0x556a03,this[_0x2bf777(0xbc)]=_0x346d8c,this[_0x2bf777(0xc6)]=_0x40cc15,this[_0x2bf777(0xb5)]=_0x40cc15[_0x2bf777(0xd7)][_0x2bf777(0xca)](_0x2bf777(0xc2)),this[_0x2bf777(0xd0)]=_0x40cc15[_0x2bf777(0xd7)][_0x2bf777(0xca)](_0x2bf777(0xb3)),this[_0x2bf777(0xdc)][_0x2bf777(0xc8)](_0x2bf777(0xb8))['to'](this[_0x2bf777(0xb5)],this[_0x2bf777(0xd0)],(_0x266f46,_0x1adc75)=>_0x266f46||_0x1adc75),this[_0x2bf777(0xdc)][_0x2bf777(0xc8)](_0x2bf777(0xd1))['to'](this[_0x2bf777(0xb5)],_0x2bf777(0xb8),_0x4711c5=>_0x4711c5&&this[_0x2bf777(0xc6)][_0x2bf777(0xd3)][_0x2bf777(0xd5)](_0x27a9ca[_0x2bf777(0xc0)]())),this[_0x2bf777(0xdc)][_0x2bf777(0xc8)](_0x2bf777(0xbe))['to'](this[_0x2bf777(0xd0)],_0x2bf777(0xb8),_0x1937fd=>_0x1937fd&&this[_0x2bf777(0xc6)][_0x2bf777(0xd3)][_0x2bf777(0xd5)](_0x27a9ca[_0x2bf777(0xc0)]())),this[_0x2bf777(0xb9)]=null,_0x556a03[_0x2bf777(0xc4)]&&this[_0x2bf777(0xc7)](),this[_0x2bf777(0xb6)](_0x556a03,_0x2bf777(0xc2),()=>this[_0x2bf777(0xc2)]()),this[_0x2bf777(0xb6)](_0x556a03,_0x2bf777(0xb3),()=>this[_0x2bf777(0xb3)]()),this[_0x2bf777(0xb6)](_0x556a03,_0x2bf777(0xdb),()=>{const _0x5e4c10=_0x2bf777;_0x556a03[_0x5e4c10(0xc4)]?this[_0x5e4c10(0xc7)]():this[_0x5e4c10(0xd6)]();});}[_0x576d03(0xc2)](){const _0x36c54f=_0x576d03;this[_0x36c54f(0xb5)][_0x36c54f(0xcd)](this[_0x36c54f(0xd3)]['id']);}[_0x576d03(0xb3)](){const _0x5f2332=_0x576d03;this[_0x5f2332(0xd0)][_0x5f2332(0xcd)](this[_0x5f2332(0xd3)]['id']);}[_0x576d03(0xdd)](){const _0x3c7c30=_0x576d03;this[_0x3c7c30(0xdc)][_0x3c7c30(0xcf)](_0x3c7c30(0xb8)),this[_0x3c7c30(0xdc)][_0x3c7c30(0xcf)](_0x3c7c30(0xd1)),this[_0x3c7c30(0xdc)][_0x3c7c30(0xcf)](_0x3c7c30(0xbe)),this[_0x3c7c30(0xcc)](),this[_0x3c7c30(0xbc)][_0x3c7c30(0xdd)](),this[_0x3c7c30(0xb9)]&&this[_0x3c7c30(0xd6)]();}[_0x576d03(0xc7)](){const _0x44307d=_0x576d03,_0x3d16dd=_0x45002e(this[_0x44307d(0xc6)][_0x44307d(0xb4)],_0x44307d(0xda));this[_0x44307d(0xb9)]=this[_0x44307d(0xc6)][_0x44307d(0xbf)][_0x44307d(0xca)](_0x44307d(0xba))[_0x44307d(0xd8)](_0x3d16dd);}[_0x576d03(0xd6)](){const _0x30bc85=_0x576d03;null!==this[_0x30bc85(0xb9)]&&this[_0x30bc85(0xc6)][_0x30bc85(0xbf)][_0x30bc85(0xca)](_0x30bc85(0xba))[_0x30bc85(0xcb)](this[_0x30bc85(0xb9)]),this[_0x30bc85(0xb9)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37381d=_0x24a8;function _0x24a8(_0x2b088c,_0x10c4ef){const _0x7fed59=_0x7fed();return _0x24a8=function(_0x24a8f2,_0x296755){_0x24a8f2=_0x24a8f2-0xd8;let _0x1f4c01=_0x7fed59[_0x24a8f2];return _0x1f4c01;},_0x24a8(_0x2b088c,_0x10c4ef);}(function(_0x251eee,_0x4195aa){const _0x28b42b=_0x24a8,_0x3f88eb=_0x251eee();while(!![]){try{const _0x2d7b3c=parseInt(_0x28b42b(0x11c))/0x1*(-parseInt(_0x28b42b(0x102))/0x2)+-parseInt(_0x28b42b(0xdc))/0x3+-parseInt(_0x28b42b(0xfc))/0x4+parseInt(_0x28b42b(0xee))/0x5+parseInt(_0x28b42b(0x106))/0x6+parseInt(_0x28b42b(0x100))/0x7+-parseInt(_0x28b42b(0xf5))/0x8*(-parseInt(_0x28b42b(0x10e))/0x9);if(_0x2d7b3c===_0x4195aa)break;else _0x3f88eb['push'](_0x3f88eb['shift']());}catch(_0x539f10){_0x3f88eb['push'](_0x3f88eb['shift']());}}}(_0x7fed,0xc321a));function _0x7fed(){const _0x3689b2=['focusTracker','bind','ariaDescriptionView','destroy','parseFromString','_config','117trHsBh','textContent','disableComments','cancel','delegate','commentThread','showInput','setData','editorConfig','name','canAccept','fire','updateComment','commentInputView','5534zUsfdI','body','editor','_model','CommentView','tab','set','map','2529978jTqlnn','isActive','target','ariaLabel','formatDateTime','disabledSubmit','_createCommentViews','join','SUGGESTION_THREAD_DESCRIPTION','addComment','commentThreadInputView','keystrokes','removeComment','isDirty','hasDirtyComment','render','isEnabled','content','7146130rdDmmU','text/html','_createCommentThreadInputView','authoredAt','locale','focus','commentsListView','605848dbPhpE','author','focusCycler','assign','value','length','submit','5266352KKQMAX','canDiscard','descriptionParts','isReadOnly','3842146YULmAz','_localUser','486ZKUKgq','focusables','SUGGESTION_THREAD_ARIA_LABEL','shift+tab','8047962FEDQSM','element'];_0x7fed=function(){return _0x3689b2;};return _0x7fed();}import{FocusCycler as _0x73b191,View as _0x3c6356,ViewCollection as _0x8c9d58}from'ckeditor5/src/ui.js';import{FocusTracker as _0x232881,KeystrokeHandler as _0x52f845}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3d272a,setupThreadKeyboardNavigation as _0x3d7b5a}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x362a92}from'../../utils/common-translations.js';import{renderDescription as _0x7f8b78}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x3c6356{[_0x37381d(0xf4)];[_0x37381d(0xe6)];[_0x37381d(0x10a)];[_0x37381d(0x103)];[_0x37381d(0x108)];[_0x37381d(0xe7)];[_0x37381d(0xf7)];[_0x37381d(0x11f)];[_0x37381d(0x101)];[_0x37381d(0x10d)];constructor(_0x51218a,_0x53c80b,_0x56973e,_0x591f98){const _0x1b1107=_0x37381d;super(_0x51218a),this[_0x1b1107(0xf4)]=null,this[_0x1b1107(0xe6)]=null,this[_0x1b1107(0x10a)]=new _0x3d272a(_0x51218a,_0x362a92(_0x51218a,_0x1b1107(0xe4))),this[_0x1b1107(0xda)](_0x1b1107(0xdd),!0x1),this[_0x1b1107(0xda)](_0x1b1107(0xf1),_0x53c80b[_0x1b1107(0xf1)]),this[_0x1b1107(0x109)](_0x1b1107(0xf1))['to'](_0x53c80b),this[_0x1b1107(0xda)](_0x1b1107(0xfe),[]),this[_0x1b1107(0xda)](_0x1b1107(0xe9),!0x1),this[_0x1b1107(0xda)](_0x1b1107(0xec),!0x1),this[_0x1b1107(0xda)](_0x1b1107(0x118),!0x1),this[_0x1b1107(0xda)](_0x1b1107(0xfd),!0x1),this[_0x1b1107(0x109)](_0x1b1107(0xdf))['to'](this,_0x1b1107(0xfa),_0x53c80b,_0x1b1107(0xf1),this,_0x1b1107(0xfe),(_0x43375b,_0x3d3fe4,_0x3e0460)=>{const _0x5b6f3b=_0x1b1107,_0x3bf810=_0x3e0460[_0x5b6f3b(0xdb)](_0x25b3a6=>_0x7f8b78(_0x25b3a6[_0x5b6f3b(0xed)]))[_0x5b6f3b(0xe3)]('.\x20')+'.';return _0x362a92(this[_0x5b6f3b(0xf2)],_0x5b6f3b(0x104),[_0x43375b-0x1,_0x53c80b[_0x5b6f3b(0xf6)][_0x5b6f3b(0x117)],_0x3d3fe4?_0x591f98[_0x5b6f3b(0xe0)](_0x3d3fe4):'',new DOMParser()[_0x5b6f3b(0x10c)](_0x3bf810,_0x5b6f3b(0xef))[_0x5b6f3b(0x11d)][_0x5b6f3b(0x10f)]]);}),this[_0x1b1107(0x103)]=new _0x8c9d58(),this[_0x1b1107(0x108)]=new _0x232881(),this[_0x1b1107(0xe7)]=new _0x52f845(),this[_0x1b1107(0xf7)]=new _0x73b191({'focusables':this[_0x1b1107(0x103)],'focusTracker':this[_0x1b1107(0x108)],'keystrokeHandler':this[_0x1b1107(0xe7)],'keystrokeHandlerOptions':{'filter':_0x472069=>_0x472069[_0x1b1107(0xde)]!==this[_0x1b1107(0x107)]},'actions':{'focusPrevious':_0x1b1107(0x105),'focusNext':_0x1b1107(0xd9)}}),this[_0x1b1107(0x11f)]=_0x53c80b,this[_0x1b1107(0x101)]=_0x56973e,this[_0x1b1107(0x10d)]=_0x591f98,_0x591f98[_0x1b1107(0x110)]?this[_0x1b1107(0xda)](_0x1b1107(0xfa),0x1):this[_0x1b1107(0xe2)]();}[_0x37381d(0xeb)](){const _0x47c9dd=_0x37381d;super[_0x47c9dd(0xeb)](),_0x3d7b5a(this,this[_0x47c9dd(0x103)]);}[_0x37381d(0xf3)](){const _0x362242=_0x37381d;this[_0x362242(0x107)][_0x362242(0xf3)]();}[_0x37381d(0x10b)](){const _0x1b7253=_0x37381d;this[_0x1b7253(0xf4)]&&this[_0x1b7253(0xf4)][_0x1b7253(0x10b)](),this[_0x1b7253(0xe6)]&&this[_0x1b7253(0xe6)][_0x1b7253(0x10b)](),super[_0x1b7253(0x10b)]();}[_0x37381d(0xe2)](){const _0x26ab28=_0x37381d,{CommentsListView:_0x58b0a9}=this[_0x26ab28(0x10d)];this[_0x26ab28(0xf4)]=new _0x58b0a9(this[_0x26ab28(0xf2)],this[_0x26ab28(0x11f)][_0x26ab28(0x113)],Object[_0x26ab28(0xf8)]({'CommentView':this[_0x26ab28(0x10d)][_0x26ab28(0xd8)]},this[_0x26ab28(0x10d)])),this[_0x26ab28(0xf4)][_0x26ab28(0x112)](_0x26ab28(0xe8))['to'](this),this[_0x26ab28(0xf4)][_0x26ab28(0x112)](_0x26ab28(0x11a))['to'](this),this[_0x26ab28(0xf4)][_0x26ab28(0x109)](_0x26ab28(0xdd))['to'](this),this[_0x26ab28(0xda)](_0x26ab28(0xfa),this[_0x26ab28(0xf4)][_0x26ab28(0xfa)]+0x1),this[_0x26ab28(0x109)](_0x26ab28(0xfa))['to'](this[_0x26ab28(0xf4)],_0x26ab28(0xfa),_0x46c19d=>_0x46c19d+0x1),this[_0x26ab28(0xe6)]=this[_0x26ab28(0xf0)](),this['on'](_0x26ab28(0xe8),()=>this[_0x26ab28(0xf3)]()),this[_0x26ab28(0x109)](_0x26ab28(0xe9))['to'](this[_0x26ab28(0xf4)],_0x26ab28(0xea),this[_0x26ab28(0xe6)][_0x26ab28(0x11b)],_0x26ab28(0xf9),(_0x2e3622,_0x401704)=>_0x2e3622||!!_0x401704);}[_0x37381d(0xf0)](){const _0x841b31=_0x37381d,{CommentThreadInputView:_0xb6f65d}=this[_0x841b31(0x10d)],_0x2ca2cc=new _0xb6f65d(this[_0x841b31(0xf2)],this[_0x841b31(0x101)],this[_0x841b31(0x10d)][_0x841b31(0x116)]),_0x4929d6=_0x2ca2cc[_0x841b31(0x11b)];return _0x2ca2cc[_0x841b31(0x109)](_0x841b31(0x114))['to'](this,_0x841b31(0xdd),this[_0x841b31(0x11f)][_0x841b31(0x113)],_0x841b31(0xff),_0x4929d6,_0x841b31(0xf9),(_0x403c83,_0x5e60e6,_0x34bfaa)=>!!_0x34bfaa||_0x403c83&&!_0x5e60e6),_0x4929d6['on'](_0x841b31(0xfb),(_0x1284f7,_0x23a222)=>{const _0x3a9cf9=_0x841b31;this[_0x3a9cf9(0x119)](_0x3a9cf9(0xe5),_0x23a222),_0x4929d6[_0x3a9cf9(0x11e)][_0x3a9cf9(0x115)]('');}),_0x4929d6['on'](_0x841b31(0x111),()=>this[_0x841b31(0xf3)]()),_0x4929d6[_0x841b31(0x109)](_0x841b31(0xe1))['to'](this[_0x841b31(0x11f)][_0x841b31(0x113)],_0x841b31(0xff)),_0x2ca2cc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55da3f=_0x8b61;function _0x25ac(){const _0x32b18f=['ariaLabel','render','canDiscard','_config','setTemplate','acceptSuggestion','description','set','content','listitem','type','formatDateTime','6672SAPFTp','10115aMWiGT','delegate','color','bindTemplate','ck-suggestion--disabled-comments','ck-rounded-corners','author','SuggestionView','_model','</p>','bind','4898026sTGdVU','138gWInZB','canAccept','isEnabled','_descriptionElement','commentsListView','3778038RbxJAo','ck-suggestion-wrapper','commentThread','add','editorReady','commentThreadInputView','ariaDescriptionView','div','push','<p>','3705064bKXtFC','isActive','1462602ViSKea','discardButton','disableComments','descriptionParts','getTemplate','editorDestroyed','focusables','956igCNvy','ck-suggestion-wrapper--active','acceptButton','ck-suggestion-','discardSuggestion','suggestionView','6676056GzJrVL'];_0x25ac=function(){return _0x32b18f;};return _0x25ac();}(function(_0x5360c7,_0x37667f){const _0x1de1e5=_0x8b61,_0x3643c1=_0x5360c7();while(!![]){try{const _0x4e28e5=parseInt(_0x1de1e5(0x213))/0x1*(parseInt(_0x1de1e5(0x206))/0x2)+parseInt(_0x1de1e5(0x224))/0x3+parseInt(_0x1de1e5(0x1f3))/0x4*(parseInt(_0x1de1e5(0x207))/0x5)+-parseInt(_0x1de1e5(0x218))/0x6+-parseInt(_0x1de1e5(0x212))/0x7+-parseInt(_0x1de1e5(0x222))/0x8+parseInt(_0x1de1e5(0x1f9))/0x9;if(_0x4e28e5===_0x37667f)break;else _0x3643c1['push'](_0x3643c1['shift']());}catch(_0x3b3d61){_0x3643c1['push'](_0x3643c1['shift']());}}}(_0x25ac,0x5cef3));import{BaseSuggestionThreadView as _0x3ded2}from'./basesuggestionthreadview.js';import{trimHtml as _0x2fc4fe}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8b61(_0x909746,_0x1c66cf){const _0x25acdd=_0x25ac();return _0x8b61=function(_0x8b613a,_0x2b680f){_0x8b613a=_0x8b613a-0x1ee;let _0x5abe54=_0x25acdd[_0x8b613a];return _0x5abe54;},_0x8b61(_0x909746,_0x1c66cf);}import{renderDescription as _0x297280}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3ded2{[_0x55da3f(0x1f8)];[_0x55da3f(0x216)];constructor(_0x57129e,_0x1e06ee,_0xb1cb33,_0x126412){const _0x5204d1=_0x55da3f;super(_0x57129e,_0x1e06ee,_0xb1cb33,_0x126412),this[_0x5204d1(0x201)](_0x5204d1(0x204),''),this[_0x5204d1(0x211)](_0x5204d1(0x204))['to'](this,_0x5204d1(0x1ef),_0x1c444c=>_0x1c444c&&_0x1c444c[0x0]?_0x1c444c[0x0][_0x5204d1(0x204)]:''),this[_0x5204d1(0x211)](_0x5204d1(0x200))['to'](this,_0x5204d1(0x1ef),this,_0x5204d1(0x223),(_0x1752cc,_0x25a353)=>{const _0x38bb81=_0x5204d1;let _0x43e5a5='';for(const _0xb2c4cb of _0x1752cc)_0x43e5a5+=_0x38bb81(0x221)+_0x297280(_0xb2c4cb[_0x38bb81(0x202)],_0xb2c4cb[_0x38bb81(0x209)])+_0x38bb81(0x210);return _0x25a353?_0x43e5a5:_0x2fc4fe(_0x43e5a5,{'limit':0x8c});}),this[_0x5204d1(0x216)]=null,this[_0x5204d1(0x1f8)]=new _0x126412[(_0x5204d1(0x20e))](_0x57129e,_0x1e06ee,{'formatDateTime':_0x126412[_0x5204d1(0x205)]}),this[_0x5204d1(0x1f8)][_0x5204d1(0x211)](_0x5204d1(0x200))['to'](this),this[_0x5204d1(0x1f8)][_0x5204d1(0x208)](_0x5204d1(0x1ff),_0x5204d1(0x1f7))['to'](this),this[_0x5204d1(0x1f8)][_0x5204d1(0x1f5)][_0x5204d1(0x211)](_0x5204d1(0x215))['to'](this,_0x5204d1(0x214)),this[_0x5204d1(0x1f8)][_0x5204d1(0x225)][_0x5204d1(0x211)](_0x5204d1(0x215))['to'](this,_0x5204d1(0x1fc)),this[_0x5204d1(0x1f2)][_0x5204d1(0x21b)](this[_0x5204d1(0x1f8)]),this[_0x5204d1(0x217)]&&this[_0x5204d1(0x1f2)][_0x5204d1(0x21b)](this[_0x5204d1(0x217)]),this[_0x5204d1(0x21d)]&&this[_0x5204d1(0x1f2)][_0x5204d1(0x21b)](this[_0x5204d1(0x21d)]),this[_0x5204d1(0x1fe)](this[_0x5204d1(0x1f0)]());}[_0x55da3f(0x1f0)](){const _0x446c06=_0x55da3f,_0x4e4799=this[_0x446c06(0x20a)],_0x31c0de=[this[_0x446c06(0x1f8)]];return this[_0x446c06(0x217)]&&_0x31c0de[_0x446c06(0x220)](this[_0x446c06(0x217)]),this[_0x446c06(0x21d)]&&_0x31c0de[_0x446c06(0x220)](this[_0x446c06(0x21d)]),_0x31c0de[_0x446c06(0x220)](this[_0x446c06(0x21e)]),{'tag':_0x446c06(0x21f),'attributes':{'class':['ck',_0x446c06(0x20c),_0x446c06(0x219),_0x4e4799['if'](_0x446c06(0x223),_0x446c06(0x1f4)),_0x4e4799['to'](_0x446c06(0x204),_0x244d79=>_0x446c06(0x1f6)+_0x244d79),this[_0x446c06(0x1fd)][_0x446c06(0x1ee)]&&_0x446c06(0x20b)],'data-suggestion-id':this[_0x446c06(0x20f)]['id'],'data-thread-id':this[_0x446c06(0x20f)][_0x446c06(0x21a)]['id'],'data-author-id':this[_0x446c06(0x20f)][_0x446c06(0x20d)]['id'],'tabindex':0x0,'role':_0x446c06(0x203),'aria-label':_0x4e4799['to'](_0x446c06(0x1fa)),'aria-describedby':this[_0x446c06(0x21e)]['id']},'children':_0x31c0de};}[_0x55da3f(0x1fb)](){const _0x3b504e=_0x55da3f;super[_0x3b504e(0x1fb)](),this[_0x3b504e(0x217)]&&(this[_0x3b504e(0x217)][_0x3b504e(0x208)](_0x3b504e(0x21c))['to'](this),this[_0x3b504e(0x217)][_0x3b504e(0x208)](_0x3b504e(0x1f1))['to'](this)),this[_0x3b504e(0x21d)]&&(this[_0x3b504e(0x21d)][_0x3b504e(0x208)](_0x3b504e(0x21c))['to'](this),this[_0x3b504e(0x21d)][_0x3b504e(0x208)](_0x3b504e(0x1f1))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x27d1(_0x4c77d7,_0x134b37){const _0x3920f1=_0x3920();return _0x27d1=function(_0x27d1e6,_0x41bcff){_0x27d1e6=_0x27d1e6-0x179;let _0x5280f2=_0x3920f1[_0x27d1e6];return _0x5280f2;},_0x27d1(_0x4c77d7,_0x134b37);}const _0x8b6f84=_0x27d1;(function(_0x36ab78,_0x10e198){const _0x106f9a=_0x27d1,_0x360de7=_0x36ab78();while(!![]){try{const _0x3c74a7=parseInt(_0x106f9a(0x1b8))/0x1*(parseInt(_0x106f9a(0x1b2))/0x2)+-parseInt(_0x106f9a(0x188))/0x3*(parseInt(_0x106f9a(0x195))/0x4)+parseInt(_0x106f9a(0x1c9))/0x5*(parseInt(_0x106f9a(0x1cd))/0x6)+parseInt(_0x106f9a(0x1bd))/0x7+parseInt(_0x106f9a(0x17a))/0x8*(-parseInt(_0x106f9a(0x1a1))/0x9)+parseInt(_0x106f9a(0x1a4))/0xa+parseInt(_0x106f9a(0x18d))/0xb;if(_0x3c74a7===_0x10e198)break;else _0x360de7['push'](_0x360de7['shift']());}catch(_0x1da713){_0x360de7['push'](_0x360de7['shift']());}}}(_0x3920,0x6cc5f));import{FocusTracker as _0x5aae41,KeystrokeHandler as _0x12de2f}from'ckeditor5/src/utils.js';function _0x3920(){const _0x36c45c=['focusCycler','ck-annotation__info-time','time','acceptSuggestion','div','72244vObiJY','enter','push','EXTERNAL_SUGGESTION','_setupKeyboardNavigation','getUserViewNotificationText','11QcUgCk','source','span','discardButton','ck-comment__info-time','846216IujffI','locale','_createButton','_model','attributes','presentation','add','@external','ck-annotation__actions','authoredAt','focusables','isExternal','1010BOybAw','ck-suggestion__main','ck-suggestion--accept','listenTo','15684jzqAoa','name','execute','setTemplate','focus','esc','acceptButton','27464XFfbkN','tab','discardSuggestion','Discard\x20suggestion','description','ck-suggestion','ck-annotation__main','Accept\x20suggestion','ck-suggestion__info','element','ck-annotation','innerHTML','ck-annotation__info','set','1843782UEWEuC','ck-annotation__user','ck-annotation__content-wrapper','ck-annotation__info-name','change:description','7626421JeZDHB','ck-suggestion--discard','.ck-annotation__content-wrapper','EXTERNAL_AVATAR','getTemplate','fire','author','formatDateTime','4LnozZs','target','ck-suggestion__info-name','userView','querySelector','ck-suggestion__actions','focusFirst','ck-comment__external','bind','bindTemplate','EXTERNAL_IMPORT_WORD_AVATAR','shift+tab','2169eHhmJd','extendTemplate','focusTracker','1479130xSbggt','ck-suggestion__user','getExternalSuggestionNote','render','EXTERNAL_IMPORT_WORD_SUGGESTION','creator','keystrokes','_config','importWord'];_0x3920=function(){return _0x36c45c;};return _0x3920();}import{View as _0x5e77a9,ViewCollection as _0x424470,FocusCycler as _0x42ec5a}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x10b6ae,UserView as _0x409983}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x2ca11f,IconCheck as _0x10ca73}from'ckeditor5/src/icons.js';import{getTranslation as _0x4eef5c}from'../../utils/common-translations.js';export class SuggestionView extends _0x5e77a9{[_0x8b6f84(0x198)];[_0x8b6f84(0x179)];[_0x8b6f84(0x1bb)];[_0x8b6f84(0x1c7)];[_0x8b6f84(0x1a3)];[_0x8b6f84(0x1aa)];[_0x8b6f84(0x1ad)];[_0x8b6f84(0x1c0)];[_0x8b6f84(0x1ab)];constructor(_0x57c7fc,_0x35af39,_0x300c36){const _0x453a83=_0x8b6f84;super(_0x57c7fc),this[_0x453a83(0x1c0)]=_0x35af39,this[_0x453a83(0x1ab)]=_0x300c36,this[_0x453a83(0x187)](_0x453a83(0x17e),''),this[_0x453a83(0x19d)](_0x453a83(0x1c6))['to'](_0x35af39),this[_0x453a83(0x179)]=this[_0x453a83(0x1bf)](_0x4eef5c(_0x57c7fc,_0x453a83(0x181)),_0x10ca73,_0x453a83(0x1cb),_0x453a83(0x1b0),'sw'),this[_0x453a83(0x1bb)]=this[_0x453a83(0x1bf)](_0x4eef5c(_0x57c7fc,_0x453a83(0x17d)),_0x2ca11f,_0x453a83(0x18e),_0x453a83(0x17c),'sw'),this[_0x453a83(0x198)]=new _0x409983(_0x57c7fc,_0x35af39[_0x453a83(0x193)],this[_0x453a83(0x1b7)]()),this[_0x453a83(0x198)][_0x453a83(0x1a2)]({'attributes':{'class':[_0x453a83(0x1a5),_0x453a83(0x189)],'aria-hidden':!0x0}}),this[_0x453a83(0x1c7)]=new _0x424470([this[_0x453a83(0x179)],this[_0x453a83(0x1bb)]]),this[_0x453a83(0x1a3)]=new _0x5aae41(),this[_0x453a83(0x1aa)]=new _0x12de2f(),this[_0x453a83(0x1ad)]=new _0x42ec5a({'focusables':this[_0x453a83(0x1c7)],'focusTracker':this[_0x453a83(0x1a3)],'keystrokeHandler':this[_0x453a83(0x1aa)],'actions':{'focusPrevious':_0x453a83(0x1a0),'focusNext':_0x453a83(0x17b)},'keystrokeHandlerOptions':{'filter':_0x4571b9=>_0x4571b9[_0x453a83(0x196)]!==this[_0x453a83(0x183)]}}),this[_0x453a83(0x1d0)](this[_0x453a83(0x191)]());}[_0x8b6f84(0x1a7)](){const _0x16a46e=_0x8b6f84;super[_0x16a46e(0x1a7)]();const _0x16c36f=this[_0x16a46e(0x183)][_0x16a46e(0x199)](_0x16a46e(0x18f));_0x16c36f[_0x16a46e(0x185)]=this[_0x16a46e(0x17e)],this['on'](_0x16a46e(0x18c),(_0xa11f02,_0x166f32,_0x3d598b)=>{const _0x136fa2=_0x16a46e;_0x16c36f[_0x136fa2(0x185)]=_0x3d598b;}),this[_0x16a46e(0x1b6)]();}[_0x8b6f84(0x191)](){const _0x4f49fa=_0x8b6f84,_0x4b1752=this[_0x4f49fa(0x19e)],_0x180e42=[{'tag':_0x4f49fa(0x1b1),'attributes':{'class':[_0x4f49fa(0x182),_0x4f49fa(0x186)]},'children':[{'tag':_0x4f49fa(0x1ba),'children':[{'text':this[_0x4f49fa(0x198)][_0x4f49fa(0x1ce)]}],'attributes':{'class':[_0x4f49fa(0x197),_0x4f49fa(0x18b)],'data-cke-tooltip-text':this[_0x4f49fa(0x198)][_0x4f49fa(0x1ce)]}},{'tag':_0x4f49fa(0x1af),'attributes':{'datetime':_0x4b1752['to'](_0x4f49fa(0x1c6)),'class':[_0x4f49fa(0x1bc),_0x4f49fa(0x1ae)]},'children':[{'text':_0x4b1752['to'](_0x4f49fa(0x1c6),_0x3fb00a=>this[_0x4f49fa(0x1ab)][_0x4f49fa(0x194)](_0x3fb00a))}]}]},{'tag':_0x4f49fa(0x1b1),'attributes':{'class':[_0x4f49fa(0x19a),_0x4f49fa(0x1c5)]},'children':[this[_0x4f49fa(0x179)],this[_0x4f49fa(0x1bb)]]},{'tag':_0x4f49fa(0x1b1),'attributes':{'class':[_0x4f49fa(0x18a)]}}];return this[_0x4f49fa(0x1c0)][_0x4f49fa(0x1c8)]&&_0x180e42[_0x4f49fa(0x1b4)]({'tag':_0x4f49fa(0x1b1),'attributes':{'class':[_0x4f49fa(0x19c)]},'children':[{'text':this[_0x4f49fa(0x1a6)]()}]}),{'tag':_0x4f49fa(0x1b1),'attributes':{'class':[_0x4f49fa(0x17f),_0x4f49fa(0x184)],'tabindex':-0x1},'children':[this[_0x4f49fa(0x198)],{'tag':_0x4f49fa(0x1b1),'attributes':{'class':[_0x4f49fa(0x1ca),_0x4f49fa(0x180)],'role':_0x4f49fa(0x1c2)},'children':_0x180e42}]};}[_0x8b6f84(0x1d1)](){const _0x278727=_0x8b6f84;this[_0x278727(0x183)][_0x278727(0x1d1)]();}[_0x8b6f84(0x1b7)](){const _0x5cf86c=_0x8b6f84;return this[_0x5cf86c(0x1c0)][_0x5cf86c(0x1c8)]?_0x5cf86c(0x1ac)===this[_0x5cf86c(0x1c0)][_0x5cf86c(0x1c1)][_0x5cf86c(0x1c4)][_0x5cf86c(0x1b9)]?_0x4eef5c(this[_0x5cf86c(0x1be)],_0x5cf86c(0x19f),this[_0x5cf86c(0x1c0)][_0x5cf86c(0x1a9)][_0x5cf86c(0x1ce)]):_0x4eef5c(this[_0x5cf86c(0x1be)],_0x5cf86c(0x190),this[_0x5cf86c(0x1c0)][_0x5cf86c(0x1a9)][_0x5cf86c(0x1ce)]):null;}[_0x8b6f84(0x1a6)](){const _0x1280c7=_0x8b6f84;return _0x1280c7(0x1ac)===this[_0x1280c7(0x1c0)][_0x1280c7(0x1c1)][_0x1280c7(0x1c4)][_0x1280c7(0x1b9)]?_0x4eef5c(this[_0x1280c7(0x1be)],_0x1280c7(0x1a8)):_0x4eef5c(this[_0x1280c7(0x1be)],_0x1280c7(0x1b5));}[_0x8b6f84(0x1bf)](_0x106613,_0xbe9e74,_0x2e394e,_0x443199,_0x1784b3){const _0x484897=_0x8b6f84,_0x19c8f6=new _0x10b6ae(this[_0x484897(0x1be)]);return _0x19c8f6[_0x484897(0x187)]({'label':_0x106613,'icon':_0xbe9e74,'tooltip':!0x0,'tooltipPosition':_0x1784b3}),_0x19c8f6[_0x484897(0x1a2)]({'attributes':{'class':_0x2e394e}}),_0x19c8f6['on'](_0x484897(0x1cf),()=>{const _0x9085d2=_0x484897;this[_0x9085d2(0x192)](_0x443199,this[_0x9085d2(0x1c0)]['id']);}),_0x19c8f6;}[_0x8b6f84(0x1b6)](){const _0x7fc966=_0x8b6f84,_0x53492f=this[_0x7fc966(0x183)];this[_0x7fc966(0x1aa)][_0x7fc966(0x1cc)](_0x53492f);for(const _0x4a4606 of this[_0x7fc966(0x1c7)])this[_0x7fc966(0x1a3)][_0x7fc966(0x1c3)](_0x4a4606[_0x7fc966(0x183)]),this[_0x7fc966(0x1aa)][_0x7fc966(0x1cc)](_0x4a4606[_0x7fc966(0x183)]);this[_0x7fc966(0x1aa)][_0x7fc966(0x187)](_0x7fc966(0x1b3),(_0x17a66e,_0x2db65)=>{const _0x1149b5=_0x7fc966;_0x53492f===_0x17a66e[_0x1149b5(0x196)]&&(this[_0x1149b5(0x1ad)][_0x1149b5(0x19b)](),_0x2db65());}),this[_0x7fc966(0x1aa)][_0x7fc966(0x187)](_0x7fc966(0x1d2),(_0x276d1d,_0x25592d)=>{const _0x2365f9=_0x7fc966;_0x53492f!==_0x276d1d[_0x2365f9(0x196)]&&(this[_0x2365f9(0x1d1)](),_0x25592d());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3407(_0x4fa3fb,_0x3620b0){const _0xb946fb=_0xb946();return _0x3407=function(_0x340758,_0x4be42d){_0x340758=_0x340758-0x17a;let _0x2b2889=_0xb946fb[_0x340758];return _0x2b2889;},_0x3407(_0x4fa3fb,_0x3620b0);}const _0x378654=_0x3407;function _0xb946(){const _0x5de2ec=['14346EmNtPM','1262690vwrDkf','width','push','height','content','ck-track-changes-preview','element','36576rHEEXT','div','style','dialogRects','ck-reset','data-ck-root-name','464BgcGeC','4qFjtZk','623nSlgiv','4JlJBdi','setPreviewData','focus','previewDataReady','render','className','1706200ABKiyv','classes','\x20ck-track-changes-preview__root-container','setAttribute','createElement','options','setTemplate','fire','66882XoiFYy','1308990eMnUgd','796914FgBhkg','innerHTML'];_0xb946=function(){return _0x5de2ec;};return _0xb946();}(function(_0x5f5752,_0x592535){const _0xd32285=_0x3407,_0x102119=_0x5f5752();while(!![]){try{const _0x4b7f1b=-parseInt(_0xd32285(0x17b))/0x1*(-parseInt(_0xd32285(0x18e))/0x2)+parseInt(_0xd32285(0x17d))/0x3+-parseInt(_0xd32285(0x190))/0x4*(parseInt(_0xd32285(0x17c))/0x5)+parseInt(_0xd32285(0x17f))/0x6*(-parseInt(_0xd32285(0x18f))/0x7)+parseInt(_0xd32285(0x18d))/0x8*(parseInt(_0xd32285(0x187))/0x9)+parseInt(_0xd32285(0x196))/0xa+-parseInt(_0xd32285(0x180))/0xb;if(_0x4b7f1b===_0x592535)break;else _0x102119['push'](_0x102119['shift']());}catch(_0x2bf8c7){_0x102119['push'](_0x102119['shift']());}}}(_0xb946,0x34d1b));import{View as _0x5324e7}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x5324e7{[_0x378654(0x19b)];constructor(_0x3a2c78,_0x2c99a4){const _0xfefaf8=_0x378654;super(_0x3a2c78),this[_0xfefaf8(0x19b)]=_0x2c99a4,this[_0xfefaf8(0x19c)]({'tag':_0xfefaf8(0x188),'attributes':{'class':['ck',_0xfefaf8(0x18b),_0xfefaf8(0x185)],'tabindex':-0x1}});}[_0x378654(0x194)](){const _0x4dc841=_0x378654;super[_0x4dc841(0x194)](),this[_0x4dc841(0x186)][_0x4dc841(0x189)][_0x4dc841(0x181)]=this[_0x4dc841(0x19b)][_0x4dc841(0x18a)][_0x4dc841(0x181)]+'px',this[_0x4dc841(0x186)][_0x4dc841(0x189)][_0x4dc841(0x183)]=this[_0x4dc841(0x19b)][_0x4dc841(0x18a)][_0x4dc841(0x183)]+'px';}[_0x378654(0x191)](_0x8ea1b4,_0x49f8c8){const _0x1589dc=_0x378654;if(!this[_0x1589dc(0x186)])return;const _0x4d61c6=[];for(const [_0x160cce,_0x504c75]of _0x8ea1b4){const _0xb55db7=document[_0x1589dc(0x19a)](_0x1589dc(0x188));_0xb55db7[_0x1589dc(0x199)](_0x1589dc(0x18c),_0x160cce),_0xb55db7[_0x1589dc(0x195)]=_0x504c75[_0x1589dc(0x197)]+_0x1589dc(0x198),_0xb55db7[_0x1589dc(0x17e)]=_0x504c75[_0x1589dc(0x184)],_0x4d61c6[_0x1589dc(0x182)](_0xb55db7);}_0x49f8c8(this[_0x1589dc(0x186)],_0x4d61c6),this[_0x1589dc(0x186)][_0x1589dc(0x189)][_0x1589dc(0x183)]='',this[_0x1589dc(0x17a)](_0x1589dc(0x193));}[_0x378654(0x192)](){const _0x184c42=_0x378654;this[_0x184c42(0x186)][_0x184c42(0x192)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x38b429,_0x262aee,_0x48743a){const _0x4011b7=_0x38b429['t'],t=_0x38b429['t'];switch(_0x262aee){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',_0x48743a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x48743a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x48743a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x48743a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x48743a);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',_0x48743a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x48743a);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',_0x48743a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x48743a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x48743a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x48743a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x48743a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x48743a);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x48743a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x48743a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x48743a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x48743a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x48743a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x48743a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x48743a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x48743a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x48743a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x48743a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x48743a);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x48743a);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'},_0x48743a);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x48743a);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x48743a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x48743a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x48743a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x48743a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x48743a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x48743a);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'},_0x48743a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x48743a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x48743a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x48743a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x48743a);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'},_0x48743a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x48743a);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'},_0x48743a);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'},_0x48743a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x48743a);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'},_0x48743a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x48743a);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'},_0x48743a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x48743a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x48743a);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'},_0x48743a);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x48743a);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 _0x4011b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x48743a);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4011b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x48743a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x48743a);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'},_0x48743a);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'},_0x48743a);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'},_0x48743a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x262aee;}}
|
|
23
|
+
export function getTranslation(_0x51213a,_0x53f731,_0x312db7){const _0x28c8b6=_0x51213a['t'],t=_0x51213a['t'];switch(_0x53f731){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',_0x312db7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x312db7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x312db7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x312db7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x312db7);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',_0x312db7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x312db7);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',_0x312db7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x312db7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x312db7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x312db7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x312db7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x312db7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x312db7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x312db7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x312db7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x312db7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x312db7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x312db7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x312db7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x312db7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x312db7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x312db7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x312db7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x312db7);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'},_0x312db7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x312db7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x312db7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x312db7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x312db7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x312db7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x312db7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x312db7);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'},_0x312db7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x312db7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x312db7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x312db7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x312db7);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'},_0x312db7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x312db7);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'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x312db7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x312db7);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'},_0x312db7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x312db7);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 _0x28c8b6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x312db7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28c8b6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x312db7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x312db7);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'},_0x312db7);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'},_0x312db7);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'},_0x312db7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x53f731;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1b8f0a,_0x1bd6c7){const _0x512178=_0x24f0,_0x3c1884=_0x1b8f0a();while(!![]){try{const _0x1401b2=-parseInt(_0x512178(0x68))/0x1+-parseInt(_0x512178(0x78))/0x2*(-parseInt(_0x512178(0x76))/0x3)+parseInt(_0x512178(0x8f))/0x4+parseInt(_0x512178(0x6f))/0x5+parseInt(_0x512178(0x81))/0x6*(parseInt(_0x512178(0x85))/0x7)+-parseInt(_0x512178(0x83))/0x8+-parseInt(_0x512178(0x89))/0x9;if(_0x1401b2===_0x1bd6c7)break;else _0x3c1884['push'](_0x3c1884['shift']());}catch(_0x1ece85){_0x3c1884['push'](_0x3c1884['shift']());}}}(_0x1441,0x57618));export function normalizeDescription(_0x201c4c){const _0x185f82=_0x24f0;return Array[_0x185f82(0x66)](_0x201c4c)||(_0x201c4c=[_0x201c4c]),_0x201c4c[_0x185f82(0x6a)](_0x3363aa=>{const _0x5b3285=_0x185f82,_0x7b2801=_0x3363aa[_0x5b3285(0x6b)][_0x5b3285(0x65)](/\*/g,''),_0x5d3363=_0x3363aa[_0x5b3285(0x72)]?_0x5b3285(0x8a)+_0x3363aa[_0x5b3285(0x72)][_0x5b3285(0x95)]+']':'';return'['+_0x3363aa[_0x5b3285(0x91)]+']\x20'+_0x7b2801+_0x5d3363;})[_0x185f82(0x99)](';\x20');}export function renderDescription(_0x227c33,_0x22c0b7){const _0x1200b4=_0x24f0;let _0x5506ec='';return _0x5506ec+=_0x227c33[_0x1200b4(0x92)]('*')[_0x1200b4(0x6a)]((_0x220e16,_0x2355b3)=>_0x2355b3%0x2!=0x0?_0x1200b4(0x8e)+tn(_0x220e16)+_0x1200b4(0x94):tn(_0x220e16))[_0x1200b4(0x99)](''),_0x22c0b7&&(_0x5506ec+=_0x1200b4(0x97)+_0x22c0b7[_0x1200b4(0x95)]+_0x1200b4(0x77)+_0x22c0b7[_0x1200b4(0x84)]+_0x1200b4(0x7a)),_0x5506ec;}function _0x24f0(_0x51b823,_0x336c93){const _0x14411b=_0x1441();return _0x24f0=function(_0x24f07f,_0x52382a){_0x24f07f=_0x24f07f-0x65;let _0x4ba962=_0x14411b[_0x24f07f];return _0x4ba962;},_0x24f0(_0x51b823,_0x336c93);}function tn(_0x3dcbde){const _0x55b583=_0x24f0,_0xa1cb95=document[_0x55b583(0x73)](_0x55b583(0x8b));return _0xa1cb95[_0x55b583(0x7e)]=_0x3dcbde,_0xa1cb95[_0x55b583(0x90)];}function _0x1441(){const _0xedba1=['join','isCollapsed','replace','isArray','schema','551056taCXsQ','createPositionAfter','map','content','start','end','createPositionBefore','3018660GcWNlq','createPositionAt','isIntersecting','color','createElement','isMultiRange','isInContent','42jeCgOx','\x22\x20title=\x22','80798EjmkkH','isObject','\x22></span>','push','createRange','length','innerText','sort','execute','12iBoyrW','add','4743472riFDJp','title','1752464lcHbMh','attribute','isTouching','deletion','4378563nxaIIi','\x20[color\x20','span','change','splice','<span\x20class=\x22ck-suggestion-type\x22>','1273548WeScgz','innerHTML','type','split','next','</span>','value','from','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','getRanges'];_0x1441=function(){return _0xedba1;};return _0x1441();}export function sortSuggestions(_0xec869e){const _0x3c014e=_0x24f0;return _0xec869e[_0x3c014e(0x7f)]((_0x140a73,_0x4286f8)=>_0x3c014e(0x86)===_0x140a73[_0x3c014e(0x91)]&&_0x3c014e(0x86)!==_0x4286f8[_0x3c014e(0x91)]?-0x1:_0x3c014e(0x86)!==_0x140a73[_0x3c014e(0x91)]&&_0x3c014e(0x86)===_0x4286f8[_0x3c014e(0x91)]?0x1:_0x3c014e(0x88)==_0x140a73[_0x3c014e(0x91)]&&_0x3c014e(0x88)!=_0x4286f8[_0x3c014e(0x91)]?-0x1:_0x3c014e(0x88)!=_0x140a73[_0x3c014e(0x91)]&&_0x3c014e(0x88)==_0x4286f8[_0x3c014e(0x91)]?0x1:0x0);}export function getSelectedSuggestions(_0x3b1bcc,_0xca58fa){const _0x2897a3=_0x24f0,_0x43f686=Array[_0x2897a3(0x96)](_0x3b1bcc[_0x2897a3(0x98)]()),_0x4ba220=new Set();for(const _0x42b9cc of _0xca58fa)if(_0x42b9cc[_0x2897a3(0x75)]){for(const _0x2b0f10 of _0x43f686)for(const _0x53615d of _0x42b9cc[_0x2897a3(0x98)]())(_0x2b0f10[_0x2897a3(0x71)](_0x53615d)||_0x3b1bcc[_0x2897a3(0x9a)]&&!_0x42b9cc[_0x2897a3(0x74)]&&_0x42b9cc[_0x2897a3(0x93)]&&_0x53615d[_0x2897a3(0x6d)][_0x2897a3(0x87)](_0x2b0f10[_0x2897a3(0x6c)]))&&_0x4ba220[_0x2897a3(0x82)](_0x42b9cc);}return _0x4ba220;}export function getRangesOfBlockGroups(_0x54569c,_0x173406){const _0x291956=_0x24f0;let _0x2f936e,_0x4d38ae=0x0;const _0x15a916=[],_0x41a53d=_0x173406[_0x291956(0x67)];for(;_0x4d38ae<_0x54569c[_0x291956(0x7d)];){const _0x1e428e=_0x54569c[_0x4d38ae],_0x357cf4=_0x54569c[_0x4d38ae+0x1];_0x2f936e||(_0x2f936e=_0x173406[_0x291956(0x6e)](_0x1e428e)),nn(_0x173406,_0x1e428e,_0x357cf4)||(_0x15a916[_0x291956(0x7b)](_0x173406[_0x291956(0x7c)](_0x2f936e,_0x41a53d[_0x291956(0x79)](_0x1e428e)?_0x173406[_0x291956(0x69)](_0x1e428e):_0x173406[_0x291956(0x70)](_0x1e428e,_0x291956(0x6d)))),_0x2f936e=null),_0x4d38ae++;}return _0x15a916;}function nn(_0x33f10d,_0x55dbc8,_0x31b08f){const _0xae0e2f=_0x24f0;if(!_0x31b08f)return!0x1;const _0x2a0aee=_0x33f10d[_0xae0e2f(0x69)](_0x55dbc8),_0x47f0f7=_0x33f10d[_0xae0e2f(0x6e)](_0x31b08f);return _0x2a0aee[_0xae0e2f(0x87)](_0x47f0f7);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x22cf27,_0x5388e0,_0x47aaba){const _0x52d88f=_0x24f0;for(;_0x47aaba[_0x52d88f(0x7d)];){const _0x450fc8=_0x47aaba[_0x52d88f(0x8d)](0x0,0x64);_0x22cf27[_0x52d88f(0x8c)](()=>{const _0x4316e0=_0x52d88f;for(const _0x52395f of _0x450fc8)_0x52395f[_0x4316e0(0x75)]&&_0x5388e0[_0x4316e0(0x80)](_0x52395f['id']);});}}
|