@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240612.0 → 0.0.0-nightly-20240613.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.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/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.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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/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 +3 -3
- 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/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/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/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/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/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/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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/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/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/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xcb10d3=_0x4297;(function(_0x218387,_0xe27774){const _0x57fde7=_0x4297,_0x2b0953=_0x218387();while(!![]){try{const _0xdb0e1=-parseInt(_0x57fde7(0x1e0))/0x1+parseInt(_0x57fde7(0x1b1))/0x2*(parseInt(_0x57fde7(0x1e9))/0x3)+-parseInt(_0x57fde7(0x1a4))/0x4*(-parseInt(_0x57fde7(0x202))/0x5)+-parseInt(_0x57fde7(0x219))/0x6*(-parseInt(_0x57fde7(0x215))/0x7)+-parseInt(_0x57fde7(0x1ea))/0x8*(parseInt(_0x57fde7(0x1ed))/0x9)+-parseInt(_0x57fde7(0x1ac))/0xa+-parseInt(_0x57fde7(0x1a5))/0xb*(-parseInt(_0x57fde7(0x1b4))/0xc);if(_0xdb0e1===_0xe27774)break;else _0x2b0953['push'](_0x2b0953['shift']());}catch(_0x580902){_0x2b0953['push'](_0x2b0953['shift']());}}}(_0x558e,0x30bed));import{Plugin as _0xa64cde}from'ckeditor5/src/core.js';import{Collection as _0xac299b}from'ckeditor5/src/utils.js';function _0x4297(_0x43cd6a,_0x247c94){const _0x558e53=_0x558e();return _0x4297=function(_0x429787,_0x19070a){_0x429787=_0x429787-0x19f;let _0x520729=_0x558e53[_0x429787];return _0x520729;},_0x4297(_0x43cd6a,_0x247c94);}import{addListToDropdown as _0x3cbcdb,createDropdown as _0x3899c6,ListSeparatorView as _0x39ed97,MenuBarMenuView as _0x1dcc14,MenuBarMenuListView as _0x39589a,MenuBarMenuListItemView as _0x241c0d,MenuBarMenuListItemButtonView as _0x56014a,SplitButtonView as _0x2f992b,ViewModel as _0x12c5ed}from'ckeditor5/src/ui.js';import{Users as _0x34415f,getDateTimeFormatter as _0x437e34,getAllMarkersDomElementsSorted as _0x4c9a24}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1bb833 from'./trackchangesediting.js';import _0x5081be from'./ui/suggestioncontroller.js';import _0x187ecd from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x56bf19}from'./utils/common-translations.js';import _0x5c8e59 from'../theme/icons/track-changes.svg';export default class d extends _0xa64cde{static get[_0xcb10d3(0x1d4)](){const _0x4344f1=_0xcb10d3;return[_0x1bb833,_0x34415f,_0x4344f1(0x1a2),_0x4344f1(0x20e),_0x4344f1(0x1ba)];}static get[_0xcb10d3(0x1f0)](){const _0x1872cb=_0xcb10d3;return _0x1872cb(0x214);}constructor(_0x3f2dfd){const _0x33365f=_0xcb10d3;super(_0x3f2dfd),this[_0x33365f(0x1ec)]=new Map(),this[_0x33365f(0x1eb)]=new Map(),this[_0x33365f(0x209)]=new Map(),this[_0x33365f(0x226)]=new Map();const _0x13657c=this[_0x33365f(0x1ad)][_0x33365f(0x1f9)];_0x13657c[_0x33365f(0x1e5)](_0x33365f(0x22e),_0x187ecd),_0x13657c[_0x33365f(0x1e5)](_0x33365f(0x200),!0x1),this[_0x33365f(0x225)]=_0x13657c[_0x33365f(0x203)](_0x33365f(0x200));}[_0xcb10d3(0x1fc)](_0x326655,_0x5e818b){const _0x46363c=_0xcb10d3;0x0===this[_0x46363c(0x226)][_0x46363c(0x1ca)]&&setTimeout(()=>{const _0x2cf7af=_0x46363c;for(const [_0x47e0c9,_0x5ee566]of this[_0x2cf7af(0x226)]){const _0x2cba07=this[_0x2cf7af(0x1ec)][_0x2cf7af(0x231)](_0x47e0c9);_0x2cba07||_0x5ee566?_0x2cba07&&_0x5ee566&&this[_0x2cf7af(0x1b0)](_0x47e0c9):this[_0x2cf7af(0x1c5)](_0x47e0c9);}this[_0x2cf7af(0x226)][_0x2cf7af(0x1cd)](),this[_0x2cf7af(0x1ad)][_0x2cf7af(0x211)][_0x2cf7af(0x203)](_0x2cf7af(0x1ba))[_0x2cf7af(0x1ef)](),this[_0x2cf7af(0x21f)]();},0xa),this[_0x46363c(0x226)][_0x46363c(0x22d)](_0x326655,_0x5e818b);}[_0xcb10d3(0x1a9)](){const _0x1c1787=_0xcb10d3,_0x4b5769=this[_0x1c1787(0x1ad)],_0x592266=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x1f7)),_0x509034=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x20e)),_0x5c4cf5=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x1ba)),_0x27e981=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x1a2));this[_0x1c1787(0x22f)](),_0x5c4cf5[_0x1c1787(0x1b5)](()=>{const _0x52403a=_0x1c1787,_0xced10=[];for(const [_0x3f6101,_0x5df95c]of Array[_0x52403a(0x1bc)](this[_0x52403a(0x1ec)])){const _0x4e3756=_0x3f6101[_0x52403a(0x1e4)](),_0x3bd53c=[];for(const _0x42d043 of _0x4e3756){if(!_0x42d043[_0x52403a(0x1fe)])continue;if(_0x42d043[_0x52403a(0x1fa)]){_0x3bd53c[_0x52403a(0x1e6)](..._0x42d043[_0x52403a(0x1e7)]());continue;}const _0x173ec9=_0x42d043[_0x52403a(0x1b3)]();if(_0x3bd53c[_0x52403a(0x1bb)]>0x0){const _0x2af91f=_0x3bd53c[0x0][_0x52403a(0x1d2)](_0x173ec9);if(_0x2af91f){_0x3bd53c[0x0]=_0x2af91f;continue;}}_0x3bd53c[_0x52403a(0x1e6)](_0x173ec9);}_0xced10[_0x52403a(0x1e6)]([_0x5df95c[_0x52403a(0x201)],_0x3bd53c]);}return _0xced10;}),this[_0x1c1787(0x216)](_0x592266,_0x1c1787(0x1a3),(_0x3b5985,_0x5b1735)=>{const _0x5f11b2=_0x1c1787;this[_0x5f11b2(0x216)](_0x5b1735,_0x5f11b2(0x1a1),(_0x32a8dd,_0x4e7145,_0x1ed85f,_0x4d1e80)=>{const _0x49a412=_0x5f11b2;_0x5b1735[_0x49a412(0x1fe)]&&(null==_0x1ed85f?(this[_0x49a412(0x220)](_0x4d1e80[_0x49a412(0x21c)]),this[_0x49a412(0x1fc)](_0x5b1735,!0x1)):(this[_0x49a412(0x220)](_0x1ed85f[_0x49a412(0x21c)]),null==_0x4d1e80&&this[_0x49a412(0x1fc)](_0x5b1735,!0x0)));}),null!==_0x5b1735[_0x5f11b2(0x1c6)]?this[_0x5f11b2(0x220)](_0x5b1735[_0x5f11b2(0x21c)]):this[_0x5f11b2(0x1fc)](_0x5b1735,!0x1);}),this[_0x1c1787(0x216)](_0x592266,_0x1c1787(0x1db),(_0x3504b0,_0x9f8af7,_0x1571ea)=>{const _0x1d68ae=_0x1c1787;this[_0x1d68ae(0x230)](_0x9f8af7,_0x1d68ae(0x1a1)),this[_0x1d68ae(0x226)][_0x1d68ae(0x20b)](_0x9f8af7),this[_0x1d68ae(0x1ec)][_0x1d68ae(0x231)](_0x9f8af7)&&this[_0x1d68ae(0x1b0)](_0x9f8af7),_0x1571ea&&this[_0x1d68ae(0x220)](_0x1571ea[_0x1d68ae(0x21c)]);}),this[_0x1c1787(0x216)](_0x592266,_0x1c1787(0x1a7),(_0x2044ca,_0xc5367e)=>{const _0x45d46a=_0x1c1787;this[_0x45d46a(0x220)](_0xc5367e);}),this[_0x1c1787(0x216)](_0x509034,_0x1c1787(0x20f),()=>{const _0xea8a47=_0x1c1787;this[_0xea8a47(0x21f)]();}),this[_0x1c1787(0x216)](_0x27e981,_0x1c1787(0x1c1),(_0x5b8e0a,{threadId:_0x46ff12,isFromAdapter:_0x3ce90d})=>{const _0x21482d=_0x1c1787;if(_0x3ce90d||!_0x592266[_0x21482d(0x212)](_0x46ff12))return;const _0x1f3e17=_0x592266[_0x21482d(0x1d7)](_0x46ff12);this[_0x21482d(0x1ec)][_0x21482d(0x203)](_0x1f3e17)[_0x21482d(0x201)][_0x21482d(0x1c4)]();},{'priority':_0x1c1787(0x21e)});}[_0xcb10d3(0x21f)](){const _0x4038f8=_0xcb10d3,_0x3dd135=this[_0x4038f8(0x1ad)][_0x4038f8(0x211)][_0x4038f8(0x203)](_0x4038f8(0x20e)),_0x2a4c5b=this[_0x4038f8(0x1ad)][_0x4038f8(0x211)][_0x4038f8(0x203)](_0x4038f8(0x1f7)),_0x242253=Array[_0x4038f8(0x1bc)](_0x3dd135[_0x4038f8(0x1ff)],_0x5d1328=>_0x5d1328[_0x4038f8(0x1d9)])[_0x4038f8(0x1e8)](_0xd8bd50=>this[_0x4038f8(0x1eb)][_0x4038f8(0x231)](_0xd8bd50)),_0x3dd45f=[];for(const _0x1fc393 of _0x242253){const _0x133d22=this[_0x4038f8(0x1eb)][_0x4038f8(0x203)](_0x1fc393)[_0x4038f8(0x227)][_0x4038f8(0x1e4)]();_0x3dd45f[_0x4038f8(0x1e6)](..._0x133d22[_0x4038f8(0x1d1)]((_0x23099b,_0x318d76)=>[..._0x23099b,..._0x318d76[_0x4038f8(0x1dc)]()],[]));}_0x2a4c5b[_0x4038f8(0x1cc)]=_0x3dd45f;}[_0xcb10d3(0x22f)](){const _0x3b483a=_0xcb10d3,_0x450312=this[_0x3b483a(0x1ad)],_0x436e5e=_0x450312[_0x3b483a(0x1c8)],_0x5ca59b=_0x56bf19(_0x436e5e,_0x3b483a(0x1da)),_0x31c942=new _0xac299b([{'type':_0x3b483a(0x1f2),'model':new _0x12c5ed({'withText':!0x0,'label':_0x5ca59b,'commandName':_0x3b483a(0x204),'role':_0x3b483a(0x1c9)})},{'type':_0x3b483a(0x213)},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1d8)),'commandName':_0x3b483a(0x21d),'role':_0x3b483a(0x1de)})},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1ee)),'commandName':_0x3b483a(0x1e1),'role':_0x3b483a(0x1de)})},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1c2)),'commandName':_0x3b483a(0x224),'role':_0x3b483a(0x1de)})},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1c3)),'commandName':_0x3b483a(0x1d3),'role':_0x3b483a(0x1de)})}]);for(const _0x22275b of _0x31c942)if(ae(_0x22275b)){const _0x12bf12=_0x450312[_0x3b483a(0x1f4)][_0x3b483a(0x203)](_0x22275b[_0x3b483a(0x227)][_0x3b483a(0x1a0)]);_0x22275b[_0x3b483a(0x227)][_0x3b483a(0x1f5)](_0x3b483a(0x22b),_0x3b483a(0x1cf))['to'](_0x12bf12,_0x3b483a(0x1b6),_0x3b483a(0x1cf));}_0x450312['ui'][_0x3b483a(0x1cb)][_0x3b483a(0x206)](_0x3b483a(0x204),_0x42aae5=>this[_0x3b483a(0x1aa)](_0x42aae5,_0x31c942,_0x5ca59b)),_0x450312['ui'][_0x3b483a(0x1cb)][_0x3b483a(0x206)](_0x3b483a(0x217),_0x31b7e1=>this[_0x3b483a(0x1bd)](_0x31b7e1,_0x31c942,_0x5ca59b));}[_0xcb10d3(0x1aa)](_0x55fa5d,_0x47cfa4,_0x3a5c03){const _0x24b1e8=_0xcb10d3,_0x4522b5=_0x3899c6(_0x55fa5d,_0x2f992b),_0x26e770=this[_0x24b1e8(0x1ad)][_0x24b1e8(0x1f4)][_0x24b1e8(0x203)](_0x24b1e8(0x204));_0x4522b5[_0x24b1e8(0x1be)][_0x24b1e8(0x22d)]({'tooltip':_0x3a5c03,'label':_0x3a5c03,'icon':_0x5c8e59}),_0x4522b5[_0x24b1e8(0x1be)][_0x24b1e8(0x1f5)](_0x24b1e8(0x22b))['to'](_0x26e770,_0x24b1e8(0x1b6)),_0x4522b5[_0x24b1e8(0x1be)]['on'](_0x24b1e8(0x22a),()=>{const _0x43bea5=_0x24b1e8;_0x26e770[_0x43bea5(0x22a)](),this[_0x43bea5(0x1ad)][_0x43bea5(0x210)][_0x43bea5(0x201)][_0x43bea5(0x1c4)]();}),_0x3cbcdb(_0x4522b5,_0x47cfa4,{'role':_0x24b1e8(0x1bf)});const _0x373ac5=[];for(const _0x5e86c3 of _0x47cfa4)ae(_0x5e86c3)&&_0x373ac5[_0x24b1e8(0x1e6)](this[_0x24b1e8(0x1ad)][_0x24b1e8(0x1f4)][_0x24b1e8(0x203)](_0x5e86c3[_0x24b1e8(0x227)][_0x24b1e8(0x1a0)]));const _0x5c99b2=_0x4522b5[_0x24b1e8(0x1be)];return _0x5c99b2[_0x24b1e8(0x218)][_0x24b1e8(0x1f1)](_0x24b1e8(0x1cf)),_0x5c99b2[_0x24b1e8(0x21a)][_0x24b1e8(0x1f1)](_0x24b1e8(0x1cf)),_0x5c99b2[_0x24b1e8(0x218)][_0x24b1e8(0x1f5)](_0x24b1e8(0x1cf))['to'](_0x26e770,_0x24b1e8(0x1cf)),_0x5c99b2[_0x24b1e8(0x21a)][_0x24b1e8(0x1f5)](_0x24b1e8(0x1cf))[_0x24b1e8(0x1af)](_0x373ac5,_0x24b1e8(0x1cf),(..._0x294a87)=>_0x294a87[_0x24b1e8(0x1f6)](_0xec0983=>_0xec0983)),_0x4522b5['on'](_0x24b1e8(0x22a),_0x5d1eb2=>{const _0x20b2ee=_0x24b1e8;this[_0x20b2ee(0x1ad)][_0x20b2ee(0x22a)](_0x5d1eb2[_0x20b2ee(0x222)][_0x20b2ee(0x1a0)]),this[_0x20b2ee(0x1ad)][_0x20b2ee(0x210)][_0x20b2ee(0x201)][_0x20b2ee(0x1c4)]();}),_0x4522b5;}[_0xcb10d3(0x1bd)](_0x1f2c08,_0x4630b1,_0x561da0){const _0x1af25e=_0xcb10d3,_0x3c7cad=new _0x1dcc14(_0x1f2c08),_0x18c46c=this[_0x1af25e(0x1ad)][_0x1af25e(0x1f4)][_0x1af25e(0x203)](_0x1af25e(0x204));_0x3c7cad[_0x1af25e(0x1be)][_0x1af25e(0x22d)]({'label':_0x561da0,'icon':_0x5c8e59});const _0x5337f6=new _0x39589a(_0x1f2c08);for(const _0x1e46fc of _0x4630b1){if(_0x1af25e(0x213)==_0x1e46fc[_0x1af25e(0x1d5)]){_0x5337f6[_0x1af25e(0x1ce)][_0x1af25e(0x206)](new _0x39ed97(_0x1f2c08));continue;}const _0xf71c0b=new _0x241c0d(_0x1f2c08,_0x3c7cad),_0x4da6c2=new _0x56014a(_0x1f2c08),_0x359afe=_0x1e46fc[_0x1af25e(0x227)];_0x4da6c2[_0x1af25e(0x1f5)](...Object[_0x1af25e(0x1ab)](_0x359afe))['to'](_0x359afe),_0x4da6c2[_0x1af25e(0x1d0)](_0x1af25e(0x22a))['to'](_0x3c7cad),_0x4da6c2['on'](_0x1af25e(0x22a),()=>{const _0x4bed69=_0x1af25e;this[_0x4bed69(0x1ad)][_0x4bed69(0x22a)](_0x359afe[_0x4bed69(0x1a0)]),this[_0x4bed69(0x1ad)][_0x4bed69(0x210)][_0x4bed69(0x201)][_0x4bed69(0x1c4)]();}),_0xf71c0b[_0x1af25e(0x223)][_0x1af25e(0x206)](_0x4da6c2),_0x5337f6[_0x1af25e(0x1ce)][_0x1af25e(0x206)](_0xf71c0b);}return _0x3c7cad[_0x1af25e(0x1f5)](_0x1af25e(0x1cf))['to'](_0x18c46c,_0x1af25e(0x1cf)),_0x3c7cad[_0x1af25e(0x1c7)][_0x1af25e(0x223)][_0x1af25e(0x206)](_0x5337f6),_0x3c7cad;}[_0xcb10d3(0x1c5)](_0x4b0ec7){const _0x4c63a9=_0xcb10d3,_0x253cb4=this[_0x4c63a9(0x1ad)],_0x49dc16=_0x253cb4[_0x4c63a9(0x1f9)],_0xa07173=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x20e)),_0x35db6b=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1a2)),_0xaeae8c=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1ba)),_0x49016d=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x34415f)['me'],_0x1d5c0f=_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x204))[_0x4c63a9(0x1f8)],{CommentsListView:_0x1777df,CommentThreadInputView:_0x3c5734}=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1b9));let _0x2a79cd,_0x3f3c62;this[_0x4c63a9(0x209)][_0x4c63a9(0x231)](_0x4b0ec7['id'])?(_0x3f3c62=this[_0x4c63a9(0x209)][_0x4c63a9(0x203)](_0x4b0ec7['id']),_0x2a79cd=_0x3f3c62[_0x4c63a9(0x1d6)]):(_0x2a79cd=new _0x1d5c0f(_0x253cb4[_0x4c63a9(0x1c8)],_0x4b0ec7,_0x49016d,{'disableComments':this[_0x4c63a9(0x225)],'editorConfig':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1f3)),'maxCommentsWhenCollapsed':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x229)),'maxThreadTotalWeight':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x205)),'maxCommentCharsWhenCollapsed':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1ae)),'formatDateTime':_0x437e34(_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1c8))),'CommentView':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1c0))[_0x4c63a9(0x1fb)],'CommentsListView':_0x1777df,'CommentThreadInputView':_0x3c5734}),_0x2a79cd[_0x4c63a9(0x207)]['on'](_0x4c63a9(0x22a),()=>{const _0x54db3c=_0x4c63a9;_0x253cb4[_0x54db3c(0x210)][_0x54db3c(0x201)][_0x54db3c(0x1c4)]();}),_0x2a79cd[_0x4c63a9(0x208)]['on'](_0x4c63a9(0x22a),()=>{const _0x1e1f2d=_0x4c63a9;_0x253cb4[_0x1e1f2d(0x210)][_0x1e1f2d(0x201)][_0x1e1f2d(0x1c4)]();}),_0x3f3c62=_0xa07173[_0x4c63a9(0x1b7)](this[_0x4c63a9(0x1ad)][_0x4c63a9(0x1c8)],_0x2a79cd),_0x3f3c62[_0x4c63a9(0x1f5)](_0x4c63a9(0x20a))['to'](_0x2a79cd,_0x4c63a9(0x20a)),_0x3f3c62[_0x4c63a9(0x1f5)](_0x4c63a9(0x1bb))['to'](_0x2a79cd),_0x3f3c62[_0x4c63a9(0x1f5)](_0x4c63a9(0x1d5))['to'](_0x2a79cd,_0x4c63a9(0x1d5),_0x2db186=>_0x4c63a9(0x20d)+_0x2db186),this[_0x4c63a9(0x209)][_0x4c63a9(0x22d)](_0x4b0ec7['id'],_0x3f3c62));const _0x7df4fe=_0x35db6b[_0x4c63a9(0x1fd)](_0x4b0ec7[_0x4c63a9(0x1e3)],_0x2a79cd),_0x512cb9=new _0x5081be(_0x253cb4,_0x4b0ec7,_0x2a79cd,_0x7df4fe),_0x798116=_0x4b0ec7[_0x4c63a9(0x1e4)]()[_0x4c63a9(0x1e8)](_0x5cc520=>_0x5cc520[_0x4c63a9(0x1fe)]);_0x2a79cd[_0x4c63a9(0x1df)]=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1f7))[_0x4c63a9(0x21b)][_0x4c63a9(0x1b8)](_0x798116),this[_0x4c63a9(0x1ec)][_0x4c63a9(0x22d)](_0x4b0ec7,_0x512cb9),this[_0x4c63a9(0x1eb)][_0x4c63a9(0x22d)](_0x2a79cd,_0x512cb9);const _0x3c0baf=_0xa07173[_0x4c63a9(0x1dd)]({'view':_0x3f3c62,'target':()=>{const _0x29a4b3=_0x4c63a9,_0x51f579=[],_0xa92eb3=_0x4b0ec7[_0x29a4b3(0x1e4)]()[_0x29a4b3(0x1e8)](_0x3c7ad2=>_0x3c7ad2[_0x29a4b3(0x1fe)]);for(const _0x9995d8 of _0xa92eb3)_0x51f579[_0x29a4b3(0x1e6)](..._0x9995d8[_0x29a4b3(0x19f)]());return _0x4c9a24(_0x253cb4[_0x29a4b3(0x210)],_0x51f579);},'type':()=>_0x4c63a9(0x20d)+_0x512cb9[_0x4c63a9(0x201)][_0x4c63a9(0x1d5)]});_0x35db6b[_0x4c63a9(0x1e2)](_0x2a79cd,_0x3c0baf),_0xa07173[_0x4c63a9(0x206)](_0x3c0baf),_0xaeae8c[_0x4c63a9(0x1b2)](_0x3c0baf);}[_0xcb10d3(0x1b0)](_0x135423){const _0x4ba90c=_0xcb10d3,_0x422471=this[_0x4ba90c(0x1ad)][_0x4ba90c(0x211)][_0x4ba90c(0x203)](_0x4ba90c(0x1a2)),_0x14fc5a=this[_0x4ba90c(0x1ad)][_0x4ba90c(0x211)][_0x4ba90c(0x203)](_0x4ba90c(0x20e)),_0x94ad20=this[_0x4ba90c(0x1ec)][_0x4ba90c(0x203)](_0x135423),_0x1ab6b6=_0x94ad20[_0x4ba90c(0x201)],_0x54b8a1=_0x14fc5a[_0x4ba90c(0x1a8)](_0x1ab6b6);_0x422471[_0x4ba90c(0x221)](_0x1ab6b6),_0x54b8a1&&_0x14fc5a[_0x4ba90c(0x228)](_0x54b8a1),this[_0x4ba90c(0x1ec)][_0x4ba90c(0x20b)](_0x135423),this[_0x4ba90c(0x1eb)][_0x4ba90c(0x20b)](_0x1ab6b6),_0x94ad20[_0x4ba90c(0x1a6)]();}[_0xcb10d3(0x220)](_0x5096a){const _0x19304b=_0xcb10d3;if(!_0x5096a[_0x19304b(0x1fe)]||!this[_0x19304b(0x1ec)][_0x19304b(0x231)](_0x5096a))return;const _0x980e01=this[_0x19304b(0x1ad)][_0x19304b(0x211)][_0x19304b(0x203)](_0x19304b(0x1f7)),_0x41758d=this[_0x19304b(0x1ec)][_0x19304b(0x203)](_0x5096a),_0x454331=_0x5096a[_0x19304b(0x1e4)]();_0x41758d[_0x19304b(0x201)][_0x19304b(0x1df)]=_0x980e01[_0x19304b(0x21b)][_0x19304b(0x1b8)](_0x454331);}[_0xcb10d3(0x1a6)](){const _0x1dc9c1=_0xcb10d3;for(const _0x3c948e of this[_0x1dc9c1(0x1ec)][_0x1dc9c1(0x1ab)]())this[_0x1dc9c1(0x1b0)](_0x3c948e);for(const _0x2a3ac4 of this[_0x1dc9c1(0x209)][_0x1dc9c1(0x20c)]())_0x2a3ac4[_0x1dc9c1(0x1d6)][_0x1dc9c1(0x1a6)]();super[_0x1dc9c1(0x1a6)]();}}function ae(_0x81abc9){const _0x505a1f=_0xcb10d3;return _0x505a1f(0x227)in _0x81abc9;}function _0x558e(){const _0x2ef2c3=['addComment','Discard\x20all\x20suggestions','Discard\x20all\x20selected\x20suggestions','focus','_initializeController','previous','panelView','locale','menuitemcheckbox','size','componentFactory','activeMarkers','clear','items','isEnabled','delegate','reduce','getJoined','discardSelectedSuggestions','requires','type','mainView','getSuggestion','Accept\x20all\x20suggestions','innerView','Track\x20changes','suggestionUnloaded','getMarkerNames','createAnnotation','menuitem','descriptionParts','75922QMHjVn','acceptSelectedSuggestions','_bindAnnotationToEditors','commentThread','getAllAdjacentSuggestions','define','push','getRanges','filter','406851ANGTFp','5352CzzozD','_viewToController','_suggestionToController','4428kEphAT','Accept\x20all\x20selected\x20suggestions','refreshSelectedViews','pluginName','unbind','switchbutton','comments.editorConfig','commands','bind','some','TrackChangesEditing','SuggestionThreadView','config','isMultiRange','CommentView','_handleSuggestionControllerDelayed','createCommentThreadController','isInContent','activeAnnotations','trackChanges.disableComments','view','5LIaZuP','get','trackChanges','comments.maxThreadTotalWeight','add','acceptButton','discardButton','_annotationViews','isDirty','delete','values','suggestion-','Annotations','change:activeAnnotations','editing','plugins','hasSuggestion','separator','TrackChangesUI','7oTVtkg','listenTo','menuBar:trackChanges','actionView','240942VLYgre','arrowView','descriptionFactory','head','acceptAllSuggestions','lowest','_refreshActiveMarkers','_updateController','_unbindEditors','source','children','discardAllSuggestions','_disableComments','_handleControllerBuffer','model','remove','comments.maxCommentsWhenCollapsed','execute','isOn','button','set','trackChanges.SuggestionThreadView','_addUIComponentsToFactory','stopListening','has','getMarkers','commandName','change:previous','CommentsRepository','suggestionLoaded','1118312QTePXG','29414lSUNUE','destroy','suggestionChanged','getByInnerView','init','_createToolbarButton','keys','832590oDFNsH','editor','comments.maxCommentCharsWhenCollapsed','toMany','_destroyController','2fMkTbk','registerAnnotation','getFirstRange','1044wfcABF','addSourceCollector','value','createAnnotationView','getDescriptions','CommentsUI','EditorAnnotations','length','from','_createMenuBarMenu','buttonView','menu','comments'];_0x558e=function(){return _0x2ef2c3;};return _0x558e();}
|
|
23
|
+
const _0x13a2eb=_0x1ce9;function _0x4930(){const _0x4e86dd=['view','getMarkerNames','filter','223091pcrKxB','menuBar:trackChanges','_handleControllerBuffer','has','_annotationViews','Annotations','arrowView','model','clear','descriptionParts','add','isMultiRange','EditorAnnotations','isEnabled','4348BPwnjy','innerView','activeAnnotations','_destroyController','createAnnotationView','CommentView','suggestion-','CommentsUI','Accept\x20all\x20suggestions','init','values','editor','trackChanges.disableComments','trackChanges','items','hasSuggestion','_handleSuggestionControllerDelayed','getSuggestion','remove','trackChanges.SuggestionThreadView','createAnnotation','requires','push','getMarkers','getFirstRange','_unbindEditors','SuggestionThreadView','getRanges','78rjwCsC','18244ZRiRoZ','switchbutton','suggestionUnloaded','from','6MEWFwK','comments.editorConfig','descriptionFactory','acceptButton','type','separator','keys','Accept\x20all\x20selected\x20suggestions','stopListening','createCommentThreadController','Discard\x20all\x20selected\x20suggestions','delete','getDescriptions','pluginName','buttonView','213gwLOXg','getAllAdjacentSuggestions','_initializeController','config','value','editing','getJoined','change:previous','suggestionChanged','commands','96kLCTUv','length','acceptAllSuggestions','comments.maxCommentCharsWhenCollapsed','listenTo','bind','delegate','_addUIComponentsToFactory','Discard\x20all\x20suggestions','plugins','set','menuitemcheckbox','unbind','locale','_viewToController','focus','define','_suggestionToController','get','head','commandName','_createToolbarButton','_bindAnnotationToEditors','Track\x20changes','addComment','3691270MGjmgF','3199021slwcxa','addSourceCollector','getByInnerView','menu','discardSelectedSuggestions','toMany','TrackChangesEditing','reduce','size','isInContent','previous','registerAnnotation','comments.maxCommentsWhenCollapsed','isDirty','isOn','comments','comments.maxThreadTotalWeight','2862605lxTJwz','panelView','suggestionLoaded','change:activeAnnotations','button','_disableComments','destroy','8pHzsLs','discardAllSuggestions','activeMarkers','CommentsRepository','mainView','commentThread','1944711ZeRuDe','discardButton','acceptSelectedSuggestions','TrackChangesUI','menuitem','some','children','_updateController','_refreshActiveMarkers','source','actionView','refreshSelectedViews','lowest','_createMenuBarMenu','componentFactory','execute'];_0x4930=function(){return _0x4e86dd;};return _0x4930();}(function(_0x50a52e,_0x5cb8df){const _0xff7a53=_0x1ce9,_0x37a0e9=_0x50a52e();while(!![]){try{const _0x2da04a=-parseInt(_0xff7a53(0xd6))/0x1*(parseInt(_0xff7a53(0x139))/0x2)+parseInt(_0xff7a53(0x155))/0x3*(-parseInt(_0xff7a53(0x156))/0x4)+parseInt(_0xff7a53(0x10b))/0x5*(parseInt(_0xff7a53(0x15a))/0x6)+-parseInt(_0xff7a53(0xfa))/0x7*(-parseInt(_0xff7a53(0x112))/0x8)+parseInt(_0xff7a53(0x118))/0x9+-parseInt(_0xff7a53(0xf9))/0xa+-parseInt(_0xff7a53(0x12b))/0xb*(-parseInt(_0xff7a53(0xe0))/0xc);if(_0x2da04a===_0x5cb8df)break;else _0x37a0e9['push'](_0x37a0e9['shift']());}catch(_0x4c6d87){_0x37a0e9['push'](_0x37a0e9['shift']());}}}(_0x4930,0x6f974));function _0x1ce9(_0x45a4ff,_0x501734){const _0x49302c=_0x4930();return _0x1ce9=function(_0x1ce9aa,_0x3de137){_0x1ce9aa=_0x1ce9aa-0xce;let _0x34fb87=_0x49302c[_0x1ce9aa];return _0x34fb87;},_0x1ce9(_0x45a4ff,_0x501734);}import{Plugin as _0x20c643}from'ckeditor5/src/core.js';import{Collection as _0x4e0ac1}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3e74df,createDropdown as _0xd16f58,ListSeparatorView as _0x379b1d,MenuBarMenuView as _0x2ca91d,MenuBarMenuListView as _0x3e70f0,MenuBarMenuListItemView as _0x3b5df0,MenuBarMenuListItemButtonView as _0x5cceea,SplitButtonView as _0x3750a5,ViewModel as _0x2a527b}from'ckeditor5/src/ui.js';import{Users as _0x387051,getDateTimeFormatter as _0x592828,getAllMarkersDomElementsSorted as _0x2ba571}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x58f8bc from'./trackchangesediting.js';import _0xdf46a7 from'./ui/suggestioncontroller.js';import _0x498a87 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3c293a}from'./utils/common-translations.js';import _0x5bb5f5 from'../theme/icons/track-changes.svg';export default class d extends _0x20c643{static get[_0x13a2eb(0x14e)](){const _0x28100c=_0x13a2eb;return[_0x58f8bc,_0x387051,_0x28100c(0x115),_0x28100c(0x130),_0x28100c(0x137)];}static get[_0x13a2eb(0xd4)](){const _0x4b95d7=_0x13a2eb;return _0x4b95d7(0x11b);}constructor(_0x356e77){const _0x5f2e2b=_0x13a2eb;super(_0x356e77),this[_0x5f2e2b(0xf1)]=new Map(),this[_0x5f2e2b(0xee)]=new Map(),this[_0x5f2e2b(0x12f)]=new Map(),this[_0x5f2e2b(0x12d)]=new Map();const _0x33e769=this[_0x5f2e2b(0x144)][_0x5f2e2b(0xd9)];_0x33e769[_0x5f2e2b(0xf0)](_0x5f2e2b(0x14c),_0x498a87),_0x33e769[_0x5f2e2b(0xf0)](_0x5f2e2b(0x145),!0x1),this[_0x5f2e2b(0x110)]=_0x33e769[_0x5f2e2b(0xf2)](_0x5f2e2b(0x145));}[_0x13a2eb(0x149)](_0x31c2ad,_0x35d828){const _0x2511c5=_0x13a2eb;0x0===this[_0x2511c5(0x12d)][_0x2511c5(0x102)]&&setTimeout(()=>{const _0xa076d3=_0x2511c5;for(const [_0x9c1c24,_0x4e6584]of this[_0xa076d3(0x12d)]){const _0x5bca4b=this[_0xa076d3(0xf1)][_0xa076d3(0x12e)](_0x9c1c24);_0x5bca4b||_0x4e6584?_0x5bca4b&&_0x4e6584&&this[_0xa076d3(0x13c)](_0x9c1c24):this[_0xa076d3(0xd8)](_0x9c1c24);}this[_0xa076d3(0x12d)][_0xa076d3(0x133)](),this[_0xa076d3(0x144)][_0xa076d3(0xe9)][_0xa076d3(0xf2)](_0xa076d3(0x137))[_0xa076d3(0x123)](),this[_0xa076d3(0x120)]();},0xa),this[_0x2511c5(0x12d)][_0x2511c5(0xea)](_0x31c2ad,_0x35d828);}[_0x13a2eb(0x142)](){const _0x1fe5d8=_0x13a2eb,_0x3971d9=this[_0x1fe5d8(0x144)],_0x3502f0=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x100)),_0x3f7428=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x130)),_0x145d86=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x137)),_0x2445e4=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x115));this[_0x1fe5d8(0xe7)](),_0x145d86[_0x1fe5d8(0xfb)](()=>{const _0x5ba8d9=_0x1fe5d8,_0x4fb7de=[];for(const [_0x505249,_0x3792eb]of Array[_0x5ba8d9(0x159)](this[_0x5ba8d9(0xf1)])){const _0x232956=_0x505249[_0x5ba8d9(0xd7)](),_0x2c427c=[];for(const _0xe892fa of _0x232956){if(!_0xe892fa[_0x5ba8d9(0x103)])continue;if(_0xe892fa[_0x5ba8d9(0x136)]){_0x2c427c[_0x5ba8d9(0x14f)](..._0xe892fa[_0x5ba8d9(0x154)]());continue;}const _0x182a33=_0xe892fa[_0x5ba8d9(0x151)]();if(_0x2c427c[_0x5ba8d9(0xe1)]>0x0){const _0x406eb4=_0x2c427c[0x0][_0x5ba8d9(0xdc)](_0x182a33);if(_0x406eb4){_0x2c427c[0x0]=_0x406eb4;continue;}}_0x2c427c[_0x5ba8d9(0x14f)](_0x182a33);}_0x4fb7de[_0x5ba8d9(0x14f)]([_0x3792eb[_0x5ba8d9(0x128)],_0x2c427c]);}return _0x4fb7de;}),this[_0x1fe5d8(0xe4)](_0x3502f0,_0x1fe5d8(0x10d),(_0x52a812,_0x46445b)=>{const _0xe67475=_0x1fe5d8;this[_0xe67475(0xe4)](_0x46445b,_0xe67475(0xdd),(_0x1ab4bd,_0x3cd2ee,_0x39aaf3,_0x3c136f)=>{const _0x6c9443=_0xe67475;_0x46445b[_0x6c9443(0x103)]&&(null==_0x39aaf3?(this[_0x6c9443(0x11f)](_0x3c136f[_0x6c9443(0xf3)]),this[_0x6c9443(0x149)](_0x46445b,!0x1)):(this[_0x6c9443(0x11f)](_0x39aaf3[_0x6c9443(0xf3)]),null==_0x3c136f&&this[_0x6c9443(0x149)](_0x46445b,!0x0)));}),null!==_0x46445b[_0xe67475(0x104)]?this[_0xe67475(0x11f)](_0x46445b[_0xe67475(0xf3)]):this[_0xe67475(0x149)](_0x46445b,!0x1);}),this[_0x1fe5d8(0xe4)](_0x3502f0,_0x1fe5d8(0x158),(_0x2aa4b4,_0x5ca960,_0x451b73)=>{const _0x439e3d=_0x1fe5d8;this[_0x439e3d(0xcf)](_0x5ca960,_0x439e3d(0xdd)),this[_0x439e3d(0x12d)][_0x439e3d(0xd2)](_0x5ca960),this[_0x439e3d(0xf1)][_0x439e3d(0x12e)](_0x5ca960)&&this[_0x439e3d(0x13c)](_0x5ca960),_0x451b73&&this[_0x439e3d(0x11f)](_0x451b73[_0x439e3d(0xf3)]);}),this[_0x1fe5d8(0xe4)](_0x3502f0,_0x1fe5d8(0xde),(_0x3468d6,_0x161add)=>{const _0x14feaf=_0x1fe5d8;this[_0x14feaf(0x11f)](_0x161add);}),this[_0x1fe5d8(0xe4)](_0x3f7428,_0x1fe5d8(0x10e),()=>{const _0x284435=_0x1fe5d8;this[_0x284435(0x120)]();}),this[_0x1fe5d8(0xe4)](_0x2445e4,_0x1fe5d8(0xf8),(_0x30812b,{threadId:_0x1b119b,isFromAdapter:_0xcb8797})=>{const _0x1d959b=_0x1fe5d8;if(_0xcb8797||!_0x3502f0[_0x1d959b(0x148)](_0x1b119b))return;const _0x50a3a4=_0x3502f0[_0x1d959b(0x14a)](_0x1b119b);this[_0x1d959b(0xf1)][_0x1d959b(0xf2)](_0x50a3a4)[_0x1d959b(0x128)][_0x1d959b(0xef)]();},{'priority':_0x1fe5d8(0x124)});}[_0x13a2eb(0x120)](){const _0x11b31e=_0x13a2eb,_0xe3228b=this[_0x11b31e(0x144)][_0x11b31e(0xe9)][_0x11b31e(0xf2)](_0x11b31e(0x130)),_0x2fb634=this[_0x11b31e(0x144)][_0x11b31e(0xe9)][_0x11b31e(0xf2)](_0x11b31e(0x100)),_0x2c6755=Array[_0x11b31e(0x159)](_0xe3228b[_0x11b31e(0x13b)],_0x43c891=>_0x43c891[_0x11b31e(0x13a)])[_0x11b31e(0x12a)](_0x3b72ee=>this[_0x11b31e(0xee)][_0x11b31e(0x12e)](_0x3b72ee)),_0x293d64=[];for(const _0x4dba99 of _0x2c6755){const _0x173eae=this[_0x11b31e(0xee)][_0x11b31e(0xf2)](_0x4dba99)[_0x11b31e(0x132)][_0x11b31e(0xd7)]();_0x293d64[_0x11b31e(0x14f)](..._0x173eae[_0x11b31e(0x101)]((_0x3e0b6f,_0x5ba7ef)=>[..._0x3e0b6f,..._0x5ba7ef[_0x11b31e(0x129)]()],[]));}_0x2fb634[_0x11b31e(0x114)]=_0x293d64;}[_0x13a2eb(0xe7)](){const _0x3ae261=_0x13a2eb,_0x1ee357=this[_0x3ae261(0x144)],_0x1fc1cd=_0x1ee357[_0x3ae261(0xed)],_0x4402c5=_0x3c293a(_0x1fc1cd,_0x3ae261(0xf7)),_0x505c63=new _0x4e0ac1([{'type':_0x3ae261(0x157),'model':new _0x2a527b({'withText':!0x0,'label':_0x4402c5,'commandName':_0x3ae261(0x146),'role':_0x3ae261(0xeb)})},{'type':_0x3ae261(0x15f)},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0x141)),'commandName':_0x3ae261(0xe2),'role':_0x3ae261(0x11c)})},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0xce)),'commandName':_0x3ae261(0x11a),'role':_0x3ae261(0x11c)})},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0xe8)),'commandName':_0x3ae261(0x113),'role':_0x3ae261(0x11c)})},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0xd1)),'commandName':_0x3ae261(0xfe),'role':_0x3ae261(0x11c)})}]);for(const _0x2849c0 of _0x505c63)if(ae(_0x2849c0)){const _0x5a8984=_0x1ee357[_0x3ae261(0xdf)][_0x3ae261(0xf2)](_0x2849c0[_0x3ae261(0x132)][_0x3ae261(0xf4)]);_0x2849c0[_0x3ae261(0x132)][_0x3ae261(0xe5)](_0x3ae261(0x108),_0x3ae261(0x138))['to'](_0x5a8984,_0x3ae261(0xda),_0x3ae261(0x138));}_0x1ee357['ui'][_0x3ae261(0x126)][_0x3ae261(0x135)](_0x3ae261(0x146),_0x12a292=>this[_0x3ae261(0xf5)](_0x12a292,_0x505c63,_0x4402c5)),_0x1ee357['ui'][_0x3ae261(0x126)][_0x3ae261(0x135)](_0x3ae261(0x12c),_0x136211=>this[_0x3ae261(0x125)](_0x136211,_0x505c63,_0x4402c5));}[_0x13a2eb(0xf5)](_0x49ad98,_0x8a79df,_0x5724e2){const _0x74f01f=_0x13a2eb,_0x22ec3d=_0xd16f58(_0x49ad98,_0x3750a5),_0x2b1009=this[_0x74f01f(0x144)][_0x74f01f(0xdf)][_0x74f01f(0xf2)](_0x74f01f(0x146));_0x22ec3d[_0x74f01f(0xd5)][_0x74f01f(0xea)]({'tooltip':_0x5724e2,'label':_0x5724e2,'icon':_0x5bb5f5}),_0x22ec3d[_0x74f01f(0xd5)][_0x74f01f(0xe5)](_0x74f01f(0x108))['to'](_0x2b1009,_0x74f01f(0xda)),_0x22ec3d[_0x74f01f(0xd5)]['on'](_0x74f01f(0x127),()=>{const _0x1e8a36=_0x74f01f;_0x2b1009[_0x1e8a36(0x127)](),this[_0x1e8a36(0x144)][_0x1e8a36(0xdb)][_0x1e8a36(0x128)][_0x1e8a36(0xef)]();}),_0x3e74df(_0x22ec3d,_0x8a79df,{'role':_0x74f01f(0xfd)});const _0x297d5f=[];for(const _0x1487c2 of _0x8a79df)ae(_0x1487c2)&&_0x297d5f[_0x74f01f(0x14f)](this[_0x74f01f(0x144)][_0x74f01f(0xdf)][_0x74f01f(0xf2)](_0x1487c2[_0x74f01f(0x132)][_0x74f01f(0xf4)]));const _0x440546=_0x22ec3d[_0x74f01f(0xd5)];return _0x440546[_0x74f01f(0x122)][_0x74f01f(0xec)](_0x74f01f(0x138)),_0x440546[_0x74f01f(0x131)][_0x74f01f(0xec)](_0x74f01f(0x138)),_0x440546[_0x74f01f(0x122)][_0x74f01f(0xe5)](_0x74f01f(0x138))['to'](_0x2b1009,_0x74f01f(0x138)),_0x440546[_0x74f01f(0x131)][_0x74f01f(0xe5)](_0x74f01f(0x138))[_0x74f01f(0xff)](_0x297d5f,_0x74f01f(0x138),(..._0x2223d3)=>_0x2223d3[_0x74f01f(0x11d)](_0x145168=>_0x145168)),_0x22ec3d['on'](_0x74f01f(0x127),_0x23b2f5=>{const _0x5c7f0d=_0x74f01f;this[_0x5c7f0d(0x144)][_0x5c7f0d(0x127)](_0x23b2f5[_0x5c7f0d(0x121)][_0x5c7f0d(0xf4)]),this[_0x5c7f0d(0x144)][_0x5c7f0d(0xdb)][_0x5c7f0d(0x128)][_0x5c7f0d(0xef)]();}),_0x22ec3d;}[_0x13a2eb(0x125)](_0x14d325,_0x1926f0,_0x5dc51d){const _0x43c51b=_0x13a2eb,_0x5ce64c=new _0x2ca91d(_0x14d325),_0x33ea7a=this[_0x43c51b(0x144)][_0x43c51b(0xdf)][_0x43c51b(0xf2)](_0x43c51b(0x146));_0x5ce64c[_0x43c51b(0xd5)][_0x43c51b(0xea)]({'label':_0x5dc51d,'icon':_0x5bb5f5});const _0x57e49f=new _0x3e70f0(_0x14d325);for(const _0x3e4e4a of _0x1926f0){if(_0x43c51b(0x15f)==_0x3e4e4a[_0x43c51b(0x15e)]){_0x57e49f[_0x43c51b(0x147)][_0x43c51b(0x135)](new _0x379b1d(_0x14d325));continue;}const _0x5b5939=new _0x3b5df0(_0x14d325,_0x5ce64c),_0x2f9813=new _0x5cceea(_0x14d325),_0x3a50ae=_0x3e4e4a[_0x43c51b(0x132)];_0x2f9813[_0x43c51b(0xe5)](...Object[_0x43c51b(0x160)](_0x3a50ae))['to'](_0x3a50ae),_0x2f9813[_0x43c51b(0xe6)](_0x43c51b(0x127))['to'](_0x5ce64c),_0x2f9813['on'](_0x43c51b(0x127),()=>{const _0x397e36=_0x43c51b;this[_0x397e36(0x144)][_0x397e36(0x127)](_0x3a50ae[_0x397e36(0xf4)]),this[_0x397e36(0x144)][_0x397e36(0xdb)][_0x397e36(0x128)][_0x397e36(0xef)]();}),_0x5b5939[_0x43c51b(0x11e)][_0x43c51b(0x135)](_0x2f9813),_0x57e49f[_0x43c51b(0x147)][_0x43c51b(0x135)](_0x5b5939);}return _0x5ce64c[_0x43c51b(0xe5)](_0x43c51b(0x138))['to'](_0x33ea7a,_0x43c51b(0x138)),_0x5ce64c[_0x43c51b(0x10c)][_0x43c51b(0x11e)][_0x43c51b(0x135)](_0x57e49f),_0x5ce64c;}[_0x13a2eb(0xd8)](_0x30b718){const _0x91fae9=_0x13a2eb,_0x2483b9=this[_0x91fae9(0x144)],_0x3344de=_0x2483b9[_0x91fae9(0xd9)],_0x12bc65=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x130)),_0x172953=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x115)),_0x466a3f=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x137)),_0x55a612=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x387051)['me'],_0x53f25e=_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x146))[_0x91fae9(0x153)],{CommentsListView:_0x2290c7,CommentThreadInputView:_0x56b4f6}=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x140));let _0x1a9d3a,_0x2d37ea;this[_0x91fae9(0x12f)][_0x91fae9(0x12e)](_0x30b718['id'])?(_0x2d37ea=this[_0x91fae9(0x12f)][_0x91fae9(0xf2)](_0x30b718['id']),_0x1a9d3a=_0x2d37ea[_0x91fae9(0x116)]):(_0x1a9d3a=new _0x53f25e(_0x2483b9[_0x91fae9(0xed)],_0x30b718,_0x55a612,{'disableComments':this[_0x91fae9(0x110)],'editorConfig':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x15b)),'maxCommentsWhenCollapsed':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x106)),'maxThreadTotalWeight':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x10a)),'maxCommentCharsWhenCollapsed':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0xe3)),'formatDateTime':_0x592828(_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0xed))),'CommentView':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x109))[_0x91fae9(0x13e)],'CommentsListView':_0x2290c7,'CommentThreadInputView':_0x56b4f6}),_0x1a9d3a[_0x91fae9(0x15d)]['on'](_0x91fae9(0x127),()=>{const _0x698c85=_0x91fae9;_0x2483b9[_0x698c85(0xdb)][_0x698c85(0x128)][_0x698c85(0xef)]();}),_0x1a9d3a[_0x91fae9(0x119)]['on'](_0x91fae9(0x127),()=>{const _0x114c73=_0x91fae9;_0x2483b9[_0x114c73(0xdb)][_0x114c73(0x128)][_0x114c73(0xef)]();}),_0x2d37ea=_0x12bc65[_0x91fae9(0x13d)](this[_0x91fae9(0x144)][_0x91fae9(0xed)],_0x1a9d3a),_0x2d37ea[_0x91fae9(0xe5)](_0x91fae9(0x107))['to'](_0x1a9d3a,_0x91fae9(0x107)),_0x2d37ea[_0x91fae9(0xe5)](_0x91fae9(0xe1))['to'](_0x1a9d3a),_0x2d37ea[_0x91fae9(0xe5)](_0x91fae9(0x15e))['to'](_0x1a9d3a,_0x91fae9(0x15e),_0x5dfa16=>_0x91fae9(0x13f)+_0x5dfa16),this[_0x91fae9(0x12f)][_0x91fae9(0xea)](_0x30b718['id'],_0x2d37ea));const _0x94f8a4=_0x172953[_0x91fae9(0xd0)](_0x30b718[_0x91fae9(0x117)],_0x1a9d3a),_0x3cbf92=new _0xdf46a7(_0x2483b9,_0x30b718,_0x1a9d3a,_0x94f8a4),_0x39420f=_0x30b718[_0x91fae9(0xd7)]()[_0x91fae9(0x12a)](_0x737e5=>_0x737e5[_0x91fae9(0x103)]);_0x1a9d3a[_0x91fae9(0x134)]=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x100))[_0x91fae9(0x15c)][_0x91fae9(0xd3)](_0x39420f),this[_0x91fae9(0xf1)][_0x91fae9(0xea)](_0x30b718,_0x3cbf92),this[_0x91fae9(0xee)][_0x91fae9(0xea)](_0x1a9d3a,_0x3cbf92);const _0xc42029=_0x12bc65[_0x91fae9(0x14d)]({'view':_0x2d37ea,'target':()=>{const _0x1d2303=_0x91fae9,_0x3b57a8=[],_0x38b29e=_0x30b718[_0x1d2303(0xd7)]()[_0x1d2303(0x12a)](_0x464765=>_0x464765[_0x1d2303(0x103)]);for(const _0x55a2fe of _0x38b29e)_0x3b57a8[_0x1d2303(0x14f)](..._0x55a2fe[_0x1d2303(0x150)]());return _0x2ba571(_0x2483b9[_0x1d2303(0xdb)],_0x3b57a8);},'type':()=>_0x91fae9(0x13f)+_0x3cbf92[_0x91fae9(0x128)][_0x91fae9(0x15e)]});_0x172953[_0x91fae9(0xf6)](_0x1a9d3a,_0xc42029),_0x12bc65[_0x91fae9(0x135)](_0xc42029),_0x466a3f[_0x91fae9(0x105)](_0xc42029);}[_0x13a2eb(0x13c)](_0x249595){const _0x32cdef=_0x13a2eb,_0x173048=this[_0x32cdef(0x144)][_0x32cdef(0xe9)][_0x32cdef(0xf2)](_0x32cdef(0x115)),_0x2e1fe7=this[_0x32cdef(0x144)][_0x32cdef(0xe9)][_0x32cdef(0xf2)](_0x32cdef(0x130)),_0xec7345=this[_0x32cdef(0xf1)][_0x32cdef(0xf2)](_0x249595),_0x3b5e61=_0xec7345[_0x32cdef(0x128)],_0x2eac05=_0x2e1fe7[_0x32cdef(0xfc)](_0x3b5e61);_0x173048[_0x32cdef(0x152)](_0x3b5e61),_0x2eac05&&_0x2e1fe7[_0x32cdef(0x14b)](_0x2eac05),this[_0x32cdef(0xf1)][_0x32cdef(0xd2)](_0x249595),this[_0x32cdef(0xee)][_0x32cdef(0xd2)](_0x3b5e61),_0xec7345[_0x32cdef(0x111)]();}[_0x13a2eb(0x11f)](_0x1e2f77){const _0x5defdf=_0x13a2eb;if(!_0x1e2f77[_0x5defdf(0x103)]||!this[_0x5defdf(0xf1)][_0x5defdf(0x12e)](_0x1e2f77))return;const _0x4b8c62=this[_0x5defdf(0x144)][_0x5defdf(0xe9)][_0x5defdf(0xf2)](_0x5defdf(0x100)),_0x464f89=this[_0x5defdf(0xf1)][_0x5defdf(0xf2)](_0x1e2f77),_0x3cba41=_0x1e2f77[_0x5defdf(0xd7)]();_0x464f89[_0x5defdf(0x128)][_0x5defdf(0x134)]=_0x4b8c62[_0x5defdf(0x15c)][_0x5defdf(0xd3)](_0x3cba41);}[_0x13a2eb(0x111)](){const _0x21f7bb=_0x13a2eb;for(const _0x2c8a8b of this[_0x21f7bb(0xf1)][_0x21f7bb(0x160)]())this[_0x21f7bb(0x13c)](_0x2c8a8b);for(const _0x4718ac of this[_0x21f7bb(0x12f)][_0x21f7bb(0x143)]())_0x4718ac[_0x21f7bb(0x116)][_0x21f7bb(0x111)]();super[_0x21f7bb(0x111)]();}}function ae(_0x1b5871){const _0x8a4bc7=_0x13a2eb;return _0x8a4bc7(0x132)in _0x1b5871;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x12d8(_0x1631a0,_0x953960){const _0x4b0cd6=_0x4b0c();return _0x12d8=function(_0x12d83b,_0x2329a7){_0x12d83b=_0x12d83b-0x182;let _0x14b1c5=_0x4b0cd6[_0x12d83b];return _0x14b1c5;},_0x12d8(_0x1631a0,_0x953960);}const _0x4eada8=_0x12d8;function _0x4b0c(){const _0x41fc57=['stopListening','acceptSuggestion','canAccept','bind','change:isDirty','_acceptCommand','11414216WyFplX','242226hTkmiF','listenTo','unbind','11xtPqYO','execute','3112946rkGDcR','_discardCommand','destroy','isDirty','_removePendingAction','discardSuggestion','2856231ouxCoA','PENDING_ACTION_SUGGESTION','isEnabled','canEditAt','remove','93751eTtCqk','model','PendingActions','1LlTIfJ','_pendingAction','commentThreadController','240ppzOGK','_editor','view','locale','_setPendingAction','get','add','plugins','canDiscard','500amHUPO','5312495uoTREx','4mUmnRl','3959916GHNslh','getRanges','commands'];_0x4b0c=function(){return _0x41fc57;};return _0x4b0c();}(function(_0x4f0126,_0x504ebb){const _0x2faefe=_0x12d8,_0x9ddd0e=_0x4f0126();while(!![]){try{const _0x37fe77=parseInt(_0x2faefe(0x1aa))/0x1*(-parseInt(_0x2faefe(0x19c))/0x2)+parseInt(_0x2faefe(0x1a2))/0x3*(parseInt(_0x2faefe(0x18c))/0x4)+-parseInt(_0x2faefe(0x18b))/0x5+-parseInt(_0x2faefe(0x1ad))/0x6*(parseInt(_0x2faefe(0x1a7))/0x7)+parseInt(_0x2faefe(0x196))/0x8+parseInt(_0x2faefe(0x197))/0x9*(parseInt(_0x2faefe(0x18a))/0xa)+parseInt(_0x2faefe(0x19a))/0xb*(parseInt(_0x2faefe(0x18d))/0xc);if(_0x37fe77===_0x504ebb)break;else _0x9ddd0e['push'](_0x9ddd0e['shift']());}catch(_0x65a655){_0x9ddd0e['push'](_0x9ddd0e['shift']());}}}(_0x4b0c,0xdbb0f));import{ObservableMixin as _0x2e1dfe}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b2cf1}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2e1dfe(){constructor(_0x2cc34c,_0x53583b,_0x48f402,_0x1d9dbd){const _0x9d70b3=_0x12d8;super(),this[_0x9d70b3(0x1a8)]=_0x53583b,this[_0x9d70b3(0x183)]=_0x48f402,this[_0x9d70b3(0x1ac)]=_0x1d9dbd,this[_0x9d70b3(0x182)]=_0x2cc34c,this[_0x9d70b3(0x195)]=_0x2cc34c[_0x9d70b3(0x18f)][_0x9d70b3(0x186)](_0x9d70b3(0x191)),this[_0x9d70b3(0x19d)]=_0x2cc34c[_0x9d70b3(0x18f)][_0x9d70b3(0x186)](_0x9d70b3(0x1a1)),this[_0x9d70b3(0x183)][_0x9d70b3(0x193)](_0x9d70b3(0x1a4))['to'](this[_0x9d70b3(0x195)],this[_0x9d70b3(0x19d)],(_0x334118,_0x2d514d)=>_0x334118||_0x2d514d),this[_0x9d70b3(0x183)][_0x9d70b3(0x193)](_0x9d70b3(0x192))['to'](this[_0x9d70b3(0x195)],_0x9d70b3(0x1a4),_0x2f3485=>_0x2f3485&&this[_0x9d70b3(0x182)][_0x9d70b3(0x1a8)][_0x9d70b3(0x1a5)](_0x53583b[_0x9d70b3(0x18e)]())),this[_0x9d70b3(0x183)][_0x9d70b3(0x193)](_0x9d70b3(0x189))['to'](this[_0x9d70b3(0x19d)],_0x9d70b3(0x1a4),_0x4f5420=>_0x4f5420&&this[_0x9d70b3(0x182)][_0x9d70b3(0x1a8)][_0x9d70b3(0x1a5)](_0x53583b[_0x9d70b3(0x18e)]())),this[_0x9d70b3(0x1ab)]=null,_0x48f402[_0x9d70b3(0x19f)]&&this[_0x9d70b3(0x185)](),this[_0x9d70b3(0x198)](_0x48f402,_0x9d70b3(0x191),()=>this[_0x9d70b3(0x191)]()),this[_0x9d70b3(0x198)](_0x48f402,_0x9d70b3(0x1a1),()=>this[_0x9d70b3(0x1a1)]()),this[_0x9d70b3(0x198)](_0x48f402,_0x9d70b3(0x194),()=>{const _0x1ac4c7=_0x9d70b3;_0x48f402[_0x1ac4c7(0x19f)]?this[_0x1ac4c7(0x185)]():this[_0x1ac4c7(0x1a0)]();});}[_0x4eada8(0x191)](){const _0xbeb577=_0x4eada8;this[_0xbeb577(0x195)][_0xbeb577(0x19b)](this[_0xbeb577(0x1a8)]['id']);}[_0x4eada8(0x1a1)](){const _0x14f833=_0x4eada8;this[_0x14f833(0x19d)][_0x14f833(0x19b)](this[_0x14f833(0x1a8)]['id']);}[_0x4eada8(0x19e)](){const _0x46711c=_0x4eada8;this[_0x46711c(0x183)][_0x46711c(0x199)](_0x46711c(0x1a4)),this[_0x46711c(0x183)][_0x46711c(0x199)](_0x46711c(0x192)),this[_0x46711c(0x183)][_0x46711c(0x199)](_0x46711c(0x189)),this[_0x46711c(0x190)](),this[_0x46711c(0x1ac)][_0x46711c(0x19e)](),this[_0x46711c(0x1ab)]&&this[_0x46711c(0x1a0)]();}[_0x4eada8(0x185)](){const _0x1d03c6=_0x4eada8,_0x24feed=_0x1b2cf1(this[_0x1d03c6(0x182)][_0x1d03c6(0x184)],_0x1d03c6(0x1a3));this[_0x1d03c6(0x1ab)]=this[_0x1d03c6(0x182)][_0x1d03c6(0x188)][_0x1d03c6(0x186)](_0x1d03c6(0x1a9))[_0x1d03c6(0x187)](_0x24feed);}[_0x4eada8(0x1a0)](){const _0x21fb2d=_0x4eada8;null!==this[_0x21fb2d(0x1ab)]&&this[_0x21fb2d(0x182)][_0x21fb2d(0x188)][_0x21fb2d(0x186)](_0x21fb2d(0x1a9))[_0x21fb2d(0x1a6)](this[_0x21fb2d(0x1ab)]),this[_0x21fb2d(0x1ab)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x20e8(){const _0x4b17f1=['hasDirtyComment','CommentView','1629172aVRpwf','locale','set','length','editorConfig','editor','addComment','bind','_model','_createCommentViews','735492ualNJU','destroy','_localUser','disabledSubmit','showInput','38296KBCeZZ','isReadOnly','45863532OfuZUP','canAccept','canDiscard','46BANaoB','50UkGNxn','delegate','setData','7YThaYR','removeComment','cancel','commentInputView','114152JPGHXt','assign','isEnabled','4170331Tpzyna','updateComment','disableComments','descriptionParts','745meBdgS','fire','_config','element','focus','isDirty','_createCommentThreadInputView','commentsListView','submit','222303WBzAVz','value','authoredAt','commentThread','commentThreadInputView','isActive','810JroYzM'];_0x20e8=function(){return _0x4b17f1;};return _0x20e8();}const _0x152570=_0x1501;function _0x1501(_0x110f75,_0x127f9c){const _0x20e89f=_0x20e8();return _0x1501=function(_0x150152,_0x4ae614){_0x150152=_0x150152-0x98;let _0x2f34f1=_0x20e89f[_0x150152];return _0x2f34f1;},_0x1501(_0x110f75,_0x127f9c);}(function(_0x3a33f7,_0x263a6f){const _0x1bddea=_0x1501,_0x2dcf23=_0x3a33f7();while(!![]){try{const _0x300b55=-parseInt(_0x1bddea(0xbb))/0x1+-parseInt(_0x1bddea(0x9a))/0x2*(-parseInt(_0x1bddea(0xb2))/0x3)+parseInt(_0x1bddea(0xca))/0x4*(parseInt(_0x1bddea(0xa9))/0x5)+-parseInt(_0x1bddea(0xc5))/0x6*(-parseInt(_0x1bddea(0x9e))/0x7)+-parseInt(_0x1bddea(0xa2))/0x8*(-parseInt(_0x1bddea(0xb8))/0x9)+parseInt(_0x1bddea(0x9b))/0xa*(parseInt(_0x1bddea(0xa5))/0xb)+-parseInt(_0x1bddea(0xcc))/0xc;if(_0x300b55===_0x263a6f)break;else _0x2dcf23['push'](_0x2dcf23['shift']());}catch(_0x5d30b2){_0x2dcf23['push'](_0x2dcf23['shift']());}}}(_0x20e8,0xefc61));import{View as _0x93c5c1}from'ckeditor5/src/ui.js';export default class es extends _0x93c5c1{constructor(_0x586921,_0x1ba03d,_0x59b756,_0x3ed739){const _0x5cac50=_0x1501;super(_0x586921),this[_0x5cac50(0xb0)]=null,this[_0x5cac50(0xb6)]=null,this[_0x5cac50(0xbd)](_0x5cac50(0xb7),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0xb4),_0x1ba03d[_0x5cac50(0xb4)]),this[_0x5cac50(0xc2)](_0x5cac50(0xb4))['to'](_0x1ba03d),this[_0x5cac50(0xbd)](_0x5cac50(0xa8),[]),this[_0x5cac50(0xbd)](_0x5cac50(0xae),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0xa4),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0x98),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0x99),!0x1),this[_0x5cac50(0xc3)]=_0x1ba03d,this[_0x5cac50(0xc7)]=_0x59b756,this[_0x5cac50(0xab)]=_0x3ed739,_0x3ed739[_0x5cac50(0xa7)]?this[_0x5cac50(0xbd)](_0x5cac50(0xbe),0x1):this[_0x5cac50(0xc4)]();}[_0x152570(0xad)](){const _0x4cd213=_0x152570;this[_0x4cd213(0xac)][_0x4cd213(0xad)]();}[_0x152570(0xc6)](){const _0x1d1a7b=_0x152570;this[_0x1d1a7b(0xb0)]&&this[_0x1d1a7b(0xb0)][_0x1d1a7b(0xc6)](),this[_0x1d1a7b(0xb6)]&&this[_0x1d1a7b(0xb6)][_0x1d1a7b(0xc6)](),super[_0x1d1a7b(0xc6)]();}[_0x152570(0xc4)](){const _0xfa60ec=_0x152570,{CommentsListView:_0xb5e6c4}=this[_0xfa60ec(0xab)];this[_0xfa60ec(0xb0)]=new _0xb5e6c4(this[_0xfa60ec(0xbc)],this[_0xfa60ec(0xc3)][_0xfa60ec(0xb5)],Object[_0xfa60ec(0xa3)]({'CommentView':this[_0xfa60ec(0xab)][_0xfa60ec(0xba)]},this[_0xfa60ec(0xab)])),this[_0xfa60ec(0xb0)][_0xfa60ec(0x9c)](_0xfa60ec(0x9f))['to'](this),this[_0xfa60ec(0xb0)][_0xfa60ec(0x9c)](_0xfa60ec(0xa6))['to'](this),this[_0xfa60ec(0xb0)][_0xfa60ec(0xc2)](_0xfa60ec(0xb7))['to'](this),this[_0xfa60ec(0xbd)](_0xfa60ec(0xbe),this[_0xfa60ec(0xb0)][_0xfa60ec(0xbe)]+0x1),this[_0xfa60ec(0xc2)](_0xfa60ec(0xbe))['to'](this[_0xfa60ec(0xb0)],_0xfa60ec(0xbe),_0x1084b9=>_0x1084b9+0x1),this[_0xfa60ec(0xb6)]=this[_0xfa60ec(0xaf)](),this['on'](_0xfa60ec(0x9f),()=>this[_0xfa60ec(0xad)]()),this[_0xfa60ec(0xc2)](_0xfa60ec(0xae))['to'](this[_0xfa60ec(0xb0)],_0xfa60ec(0xb9),this[_0xfa60ec(0xb6)][_0xfa60ec(0xa1)],_0xfa60ec(0xb3),(_0x454d48,_0x9f77d4)=>_0x454d48||!!_0x9f77d4);}[_0x152570(0xaf)](){const _0x465db4=_0x152570,{CommentThreadInputView:_0x1176f5}=this[_0x465db4(0xab)],_0x93f9ad=new _0x1176f5(this[_0x465db4(0xbc)],this[_0x465db4(0xc7)],this[_0x465db4(0xab)][_0x465db4(0xbf)]),_0x5f4577=_0x93f9ad[_0x465db4(0xa1)];return _0x93f9ad[_0x465db4(0xc2)](_0x465db4(0xc9))['to'](this,_0x465db4(0xb7),this[_0x465db4(0xc3)][_0x465db4(0xb5)],_0x465db4(0xcb),_0x5f4577,_0x465db4(0xb3),(_0x1d4e18,_0x223cb5,_0x94edaa)=>!!_0x94edaa||_0x1d4e18&&!_0x223cb5),_0x5f4577['on'](_0x465db4(0xb1),(_0x10262d,_0x3e51e9)=>{const _0x2e2574=_0x465db4;this[_0x2e2574(0xaa)](_0x2e2574(0xc1),_0x3e51e9),_0x5f4577[_0x2e2574(0xc0)][_0x2e2574(0x9d)]('');}),_0x5f4577['on'](_0x465db4(0xa0),()=>this[_0x465db4(0xad)]()),_0x5f4577[_0x465db4(0xc2)](_0x465db4(0xc8))['to'](this[_0x465db4(0xc3)][_0x465db4(0xb5)],_0x465db4(0xcb)),_0x93f9ad;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x575cb9=_0x4167;(function(_0x2cfa06,_0x4bb518){const _0x505a12=_0x4167,_0x1c0e48=_0x2cfa06();while(!![]){try{const _0xf4eedc=-parseInt(_0x505a12(0x21b))/0x1*(parseInt(_0x505a12(0x1cb))/0x2)+parseInt(_0x505a12(0x218))/0x3*(parseInt(_0x505a12(0x1ac))/0x4)+parseInt(_0x505a12(0x1f6))/0x5*(-parseInt(_0x505a12(0x1e7))/0x6)+-parseInt(_0x505a12(0x21c))/0x7*(-parseInt(_0x505a12(0x203))/0x8)+-parseInt(_0x505a12(0x1fa))/0x9+-parseInt(_0x505a12(0x1cd))/0xa+parseInt(_0x505a12(0x1d5))/0xb*(parseInt(_0x505a12(0x1bd))/0xc);if(_0xf4eedc===_0x4bb518)break;else _0x1c0e48['push'](_0x1c0e48['shift']());}catch(_0x5725df){_0x1c0e48['push'](_0x1c0e48['shift']());}}}(_0x413c,0xd8fcb));import{getTranslation as _0x322d7c}from'../../utils/common-translations.js';import{default as _0x262d2e}from'./basesuggestionthreadview.js';import{ButtonView as _0x429fa9}from'ckeditor5/src/ui.js';import{icons as _0xc06ca0}from'ckeditor5/src/core.js';function _0x413c(){const _0x50fb86=['querySelector','isActive','render','\x22></span>','check','editorReady','discardSuggestion','6GDHDeL','ck-suggestion__main','isEnabled','1ausUin','7zojslx','495824xDFvTV','ck-suggestion--discard','ck-suggestion__info','ck-comment__external','@external','canDiscard','ck-annotation__content-wrapper','createElement','ck-suggestion__user','getUserViewNotificationText','commentThread','delegate','canAccept','author','change:description','split','getExternalSuggestionNote','36tbcftF','extendTemplate','acceptSuggestion','set','setTemplate','commentsListView','time','ck-annotation__info-time','locale','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','</span>','EXTERNAL_SUGGESTION','attributes','title','364898oVmyxg','ck-suggestion-wrapper--active','11994870hOQwuO','formatDateTime','importWord','authoredAt','value','children','editorDestroyed','ck-suggestion__info-name','16906494Mbbpxu','ck-annotation__info-name','span','bindTemplate','map','ck-annotation__actions','ck-suggestion__actions','<span\x20class=\x22ck-suggestion-type\x22>','commentThreadInputView','isExternal','_createButton','ck-annotation__user','EXTERNAL_IMPORT_WORD_AVATAR','cancel','fire','_descriptionElement','innerText','source','1581042CbySyS','descriptionParts','.ck-annotation__content-wrapper','element','execute','description','discardButton','bind','EXTERNAL_IMPORT_WORD_SUGGESTION','_config','<p>','Discard\x20suggestion','ck-suggestion-wrapper','name','ck-suggestion--disabled-comments','25ICHojB','_model','color','innerHTML','15803685zfuJDe','ck-annotation__main','ck-annotation','div','join','ck-suggestion-','push','ck-suggestion--accept','content','3883528ApXTDT','userView','getTemplate','type','EXTERNAL_AVATAR','acceptButton','\x22\x20title=\x22','Accept\x20suggestion','disableComments','creator','ck-comment__info-time','</p>','ck-suggestion','ck-annotation__info'];_0x413c=function(){return _0x50fb86;};return _0x413c();}function _0x4167(_0x4c4344,_0x4209de){const _0x413c72=_0x413c();return _0x4167=function(_0x41676d,_0x35b142){_0x41676d=_0x41676d-0x1ac;let _0x2a40b9=_0x413c72[_0x41676d];return _0x2a40b9;},_0x4167(_0x4c4344,_0x4209de);}import{trimHtml as _0x27205a,UserView as _0xea43aa}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x262d2e{constructor(_0x1bfbd1,_0xa0a403,_0x238058,_0x341b32){const _0x57423b=_0x4167;super(_0x1bfbd1,_0xa0a403,_0x238058,_0x341b32),this[_0x57423b(0x1c0)](_0x57423b(0x206),''),this[_0x57423b(0x1ee)](_0x57423b(0x206))['to'](this,_0x57423b(0x1e8),_0x59e133=>_0x59e133&&_0x59e133[0x0]?_0x59e133[0x0][_0x57423b(0x206)]:''),this[_0x57423b(0x1ee)](_0x57423b(0x1ec))['to'](this,_0x57423b(0x1e8),this,_0x57423b(0x212),(_0x15f19b,_0x2558be)=>{const _0x2c1fa1=_0x57423b;let _0x229c8c='';for(const _0x4c3807 of _0x15f19b)_0x229c8c+=_0x2c1fa1(0x1f1)+ds(_0x4c3807[_0x2c1fa1(0x202)],_0x4c3807[_0x2c1fa1(0x1f8)])+_0x2c1fa1(0x20e);return _0x2558be?_0x229c8c:_0x27205a(_0x229c8c,{'limit':0x8c});}),this[_0x57423b(0x1e4)]=null,this[_0x57423b(0x208)]=this[_0x57423b(0x1df)](_0x322d7c(_0x1bfbd1,_0x57423b(0x20a)),_0xc06ca0[_0x57423b(0x215)],_0x57423b(0x201),_0x57423b(0x1bf),'sw'),this[_0x57423b(0x208)][_0x57423b(0x1ee)](_0x57423b(0x21a))['to'](this,_0x57423b(0x1b8)),this[_0x57423b(0x1ed)]=this[_0x57423b(0x1df)](_0x322d7c(_0x1bfbd1,_0x57423b(0x1f2)),_0xc06ca0[_0x57423b(0x1e2)],_0x57423b(0x1ad),_0x57423b(0x217),'sw'),this[_0x57423b(0x1ed)][_0x57423b(0x1ee)](_0x57423b(0x21a))['to'](this,_0x57423b(0x1b1)),this[_0x57423b(0x204)]=new _0xea43aa(_0x1bfbd1,this[_0x57423b(0x1f7)][_0x57423b(0x1b9)],this[_0x57423b(0x1b5)]()),this[_0x57423b(0x204)][_0x57423b(0x1be)]({'attributes':{'class':[_0x57423b(0x1b4),_0x57423b(0x1e0)]}}),this[_0x57423b(0x1c1)](this[_0x57423b(0x205)]());}[_0x575cb9(0x205)](){const _0x18deb8=_0x575cb9,_0x507026=this[_0x18deb8(0x1d8)],_0x4ff03d=[{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1ae),_0x18deb8(0x210)]},'children':[{'tag':_0x18deb8(0x1d7),'children':[{'text':this[_0x18deb8(0x204)][_0x18deb8(0x1f4)]}],'attributes':{'class':[_0x18deb8(0x1d4),_0x18deb8(0x1d6)]}},{'tag':_0x18deb8(0x1c3),'attributes':{'datetime':_0x507026['to'](_0x18deb8(0x1d0)),'class':[_0x18deb8(0x20d),_0x18deb8(0x1c4)]},'children':[{'text':_0x507026['to'](_0x18deb8(0x1d0),_0x4baa7f=>this[_0x18deb8(0x1f0)][_0x18deb8(0x1ce)](_0x4baa7f))}]}]},{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1db),_0x18deb8(0x1da)]},'children':[this[_0x18deb8(0x208)],this[_0x18deb8(0x1ed)]]},{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1b2)]}}];this[_0x18deb8(0x1f7)][_0x18deb8(0x1de)]&&_0x4ff03d[_0x18deb8(0x200)]({'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1af)]},'children':[{'text':this[_0x18deb8(0x1bc)]()}]});const _0x2dfe4f={'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1f3),_0x507026['if'](_0x18deb8(0x212),_0x18deb8(0x1cc)),_0x507026['to'](_0x18deb8(0x206),_0x5691ff=>_0x18deb8(0x1ff)+_0x5691ff),this[_0x18deb8(0x1f0)][_0x18deb8(0x20b)]&&_0x18deb8(0x1f5)],'data-suggestion-id':this[_0x18deb8(0x1f7)]['id'],'data-thread-id':this[_0x18deb8(0x1f7)][_0x18deb8(0x1b6)]['id'],'data-author-id':this[_0x18deb8(0x1f7)][_0x18deb8(0x1b9)]['id'],'tabindex':-0x1},'children':[{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x20f),_0x18deb8(0x1fc)]},'children':[this[_0x18deb8(0x204)],{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x219),_0x18deb8(0x1fb)]},'children':_0x4ff03d}]}]};return this[_0x18deb8(0x1c2)]&&this[_0x18deb8(0x1dd)]&&(_0x2dfe4f[_0x18deb8(0x1d2)][_0x18deb8(0x200)](this[_0x18deb8(0x1c2)],this[_0x18deb8(0x1dd)]),this[_0x18deb8(0x1c2)][_0x18deb8(0x1b7)](_0x18deb8(0x216))['to'](this),this[_0x18deb8(0x1c2)][_0x18deb8(0x1b7)](_0x18deb8(0x1d3))['to'](this),this[_0x18deb8(0x1dd)][_0x18deb8(0x1b7)](_0x18deb8(0x216))['to'](this),this[_0x18deb8(0x1dd)][_0x18deb8(0x1b7)](_0x18deb8(0x1d3))['to'](this)),_0x2dfe4f;}[_0x575cb9(0x213)](){const _0x2a8421=_0x575cb9;super[_0x2a8421(0x213)](),this[_0x2a8421(0x1e4)]=this[_0x2a8421(0x1ea)][_0x2a8421(0x211)](_0x2a8421(0x1e9)),this[_0x2a8421(0x1e4)][_0x2a8421(0x1f9)]=this[_0x2a8421(0x1ec)],this['on'](_0x2a8421(0x1ba),(_0x4c9388,_0x5bc3c4,_0x2e7fcb)=>{const _0x4a20e8=_0x2a8421;this[_0x4a20e8(0x1e4)][_0x4a20e8(0x1f9)]=_0x2e7fcb;});}[_0x575cb9(0x1df)](_0x33eace,_0x3d5707,_0x3a8cc9,_0x1128dc,_0x28f1d8){const _0x133fda=_0x575cb9,_0x17d972=new _0x429fa9(this[_0x133fda(0x1c5)]);return _0x17d972[_0x133fda(0x1c0)]({'label':_0x33eace,'icon':_0x3d5707,'tooltip':!0x0,'tooltipPosition':_0x28f1d8}),_0x17d972[_0x133fda(0x1be)]({'attributes':{'class':_0x3a8cc9}}),_0x17d972['on'](_0x133fda(0x1eb),()=>{const _0x2fe24f=_0x133fda;this[_0x2fe24f(0x1e3)](_0x1128dc,this[_0x2fe24f(0x1f7)]['id']);}),_0x17d972;}[_0x575cb9(0x1bc)](){const _0xe7de98=_0x575cb9;return _0xe7de98(0x1cf)===this[_0xe7de98(0x1f7)][_0xe7de98(0x1c9)][_0xe7de98(0x1b0)][_0xe7de98(0x1e6)]?_0x322d7c(this[_0xe7de98(0x1c5)],_0xe7de98(0x1ef)):_0x322d7c(this[_0xe7de98(0x1c5)],_0xe7de98(0x1c8));}[_0x575cb9(0x1b5)](){const _0x3f8105=_0x575cb9;return this[_0x3f8105(0x1f7)][_0x3f8105(0x1de)]?_0x3f8105(0x1cf)===this[_0x3f8105(0x1f7)][_0x3f8105(0x1c9)][_0x3f8105(0x1b0)][_0x3f8105(0x1e6)]?_0x322d7c(this[_0x3f8105(0x1c5)],_0x3f8105(0x1e1),this[_0x3f8105(0x1f7)][_0x3f8105(0x20c)][_0x3f8105(0x1f4)]):_0x322d7c(this[_0x3f8105(0x1c5)],_0x3f8105(0x207),this[_0x3f8105(0x1f7)][_0x3f8105(0x20c)][_0x3f8105(0x1f4)]):null;}}function ds(_0x2616d9,_0x1938ce){const _0x2112a1=_0x575cb9;let _0x302e8b='';return _0x302e8b+=_0x2616d9[_0x2112a1(0x1bb)]('*')[_0x2112a1(0x1d9)]((_0x45a3e4,_0x3c665f)=>_0x3c665f%0x2!=0x0?_0x2112a1(0x1dc)+us(_0x45a3e4)+_0x2112a1(0x1c7):us(_0x45a3e4))[_0x2112a1(0x1fe)](''),_0x1938ce&&(_0x302e8b+=_0x2112a1(0x1c6)+_0x1938ce[_0x2112a1(0x1d1)]+_0x2112a1(0x209)+_0x1938ce[_0x2112a1(0x1ca)]+_0x2112a1(0x214)),_0x302e8b;}function us(_0x32aee7){const _0x554e11=_0x575cb9,_0x16d3d2=document[_0x554e11(0x1b3)](_0x554e11(0x1d7));return _0x16d3d2[_0x554e11(0x1e5)]=_0x32aee7,_0x16d3d2[_0x554e11(0x1f9)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1a7247,_0x2479fa,_0x173d8e){const t=_0x1a7247['t'];switch(_0x2479fa){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'*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',_0x173d8e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x173d8e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x173d8e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x173d8e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x173d8e);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',_0x173d8e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x173d8e);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x173d8e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x173d8e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x173d8e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x173d8e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x173d8e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x173d8e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x173d8e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x173d8e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x173d8e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x173d8e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x173d8e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x173d8e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x173d8e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x173d8e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x173d8e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x173d8e);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'},_0x173d8e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x173d8e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x173d8e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x173d8e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x173d8e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x173d8e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x173d8e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x173d8e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x173d8e);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'},_0x173d8e);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'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'},_0x173d8e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x173d8e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x173d8e);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x173d8e);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x173d8e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x2479fa;}}
|
|
23
|
+
export function getTranslation(_0x1b3147,_0x11d5e2,_0x2db4c3){const t=_0x1b3147['t'];switch(_0x11d5e2){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'*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',_0x2db4c3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2db4c3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2db4c3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2db4c3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2db4c3);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',_0x2db4c3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2db4c3);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x2db4c3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2db4c3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2db4c3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2db4c3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2db4c3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2db4c3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2db4c3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2db4c3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2db4c3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2db4c3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2db4c3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2db4c3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2db4c3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2db4c3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2db4c3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2db4c3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2db4c3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2db4c3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2db4c3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2db4c3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2db4c3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2db4c3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2db4c3);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'},_0x2db4c3);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'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'},_0x2db4c3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2db4c3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2db4c3);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2db4c3);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2db4c3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x11d5e2;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5bba54,_0x3c4f3a){const _0xddd878=_0x4f82,_0x519818=_0x5bba54();while(!![]){try{const _0x3a8d8b=parseInt(_0xddd878(0x1f9))/0x1+parseInt(_0xddd878(0x1f5))/0x2+-parseInt(_0xddd878(0x1df))/0x3+-parseInt(_0xddd878(0x206))/0x4+parseInt(_0xddd878(0x1fd))/0x5*(-parseInt(_0xddd878(0x1e9))/0x6)+parseInt(_0xddd878(0x1ed))/0x7*(-parseInt(_0xddd878(0x1eb))/0x8)+-parseInt(_0xddd878(0x1e1))/0x9*(-parseInt(_0xddd878(0x1ef))/0xa);if(_0x3a8d8b===_0x3c4f3a)break;else _0x519818['push'](_0x519818['shift']());}catch(_0x4debae){_0x519818['push'](_0x519818['shift']());}}}(_0x15fd,0x39dc4));export function normalizeDescription(_0x5cafc6){const _0x218d77=_0x4f82;return Array[_0x218d77(0x1f7)](_0x5cafc6)||(_0x5cafc6=[_0x5cafc6]),_0x5cafc6[_0x218d77(0x1e8)](_0x508b0a=>{const _0x38f2ae=_0x218d77,_0x256c63=_0x508b0a[_0x38f2ae(0x1e2)][_0x38f2ae(0x1f2)](/\*/g,''),_0xd7e010=_0x508b0a[_0x38f2ae(0x1ee)]?_0x38f2ae(0x205)+_0x508b0a[_0x38f2ae(0x1ee)][_0x38f2ae(0x204)]+']':'';return'['+_0x508b0a[_0x38f2ae(0x1f6)]+']\x20'+_0x256c63+_0xd7e010;})[_0x218d77(0x1e5)](';\x20');}export function sortSuggestions(_0x69d18e){const _0x4c1ca8=_0x4f82;return _0x69d18e[_0x4c1ca8(0x1fb)]((_0xd889c8,_0x826309)=>_0x4c1ca8(0x1e0)==_0xd889c8[_0x4c1ca8(0x1f6)]&&_0x4c1ca8(0x1e0)!=_0x826309[_0x4c1ca8(0x1f6)]?-0x1:_0x4c1ca8(0x1e0)!=_0xd889c8[_0x4c1ca8(0x1f6)]&&_0x4c1ca8(0x1e0)==_0x826309[_0x4c1ca8(0x1f6)]?0x1:0x0);}function _0x4f82(_0x5abdcd,_0x1692c3){const _0x15fd07=_0x15fd();return _0x4f82=function(_0x4f8229,_0x5791f2){_0x4f8229=_0x4f8229-0x1df;let _0x180240=_0x15fd07[_0x4f8229];return _0x180240;},_0x4f82(_0x5abdcd,_0x1692c3);}export function getSelectedSuggestions(_0x18c99d,_0x210aa6){const _0x18bdbf=_0x4f82,_0xa5ccc1=Array[_0x18bdbf(0x207)](_0x18c99d[_0x18bdbf(0x1fe)]()),_0x1d162c=new Set();for(const _0x54ace7 of _0x210aa6)if(_0x54ace7[_0x18bdbf(0x1ea)]){for(const _0x37f821 of _0xa5ccc1)for(const _0x10a58e of _0x54ace7[_0x18bdbf(0x1fe)]())(_0x37f821[_0x18bdbf(0x1e4)](_0x10a58e)||_0x18c99d[_0x18bdbf(0x1f3)]&&!_0x54ace7[_0x18bdbf(0x202)]&&_0x54ace7[_0x18bdbf(0x1fa)]&&_0x10a58e[_0x18bdbf(0x1ff)][_0x18bdbf(0x1e3)](_0x37f821[_0x18bdbf(0x1e6)]))&&_0x1d162c[_0x18bdbf(0x1f8)](_0x54ace7);}return _0x1d162c;}export function getRangesOfBlockGroups(_0x57ea56,_0x4b79d7){const _0x4f94a4=_0x4f82;let _0x402c35,_0x4855e4=0x0;const _0x3afcbd=[],_0x32b4ff=_0x4b79d7[_0x4f94a4(0x208)];for(;_0x4855e4<_0x57ea56[_0x4f94a4(0x1fc)];){const _0x57470f=_0x57ea56[_0x4855e4],_0x34713c=_0x57ea56[_0x4855e4+0x1];_0x402c35||(_0x402c35=_0x4b79d7[_0x4f94a4(0x1f0)](_0x57470f)),co(_0x4b79d7,_0x57470f,_0x34713c)||(_0x3afcbd[_0x4f94a4(0x203)](_0x4b79d7[_0x4f94a4(0x200)](_0x402c35,_0x32b4ff[_0x4f94a4(0x201)](_0x57470f)?_0x4b79d7[_0x4f94a4(0x209)](_0x57470f):_0x4b79d7[_0x4f94a4(0x1f1)](_0x57470f,_0x4f94a4(0x1ff)))),_0x402c35=null),_0x4855e4++;}return _0x3afcbd;}function co(_0xbbe88b,_0x38c6e6,_0x2ee62e){const _0x1dac8f=_0x4f82;if(!_0x2ee62e)return!0x1;const _0x435172=_0xbbe88b[_0x1dac8f(0x209)](_0x38c6e6),_0x33ebf1=_0xbbe88b[_0x1dac8f(0x1f0)](_0x2ee62e);return _0x435172[_0x1dac8f(0x1e3)](_0x33ebf1);}function _0x15fd(){const _0xa12379=['createPositionBefore','createPositionAt','replace','isCollapsed','execute','144796vacUxc','type','isArray','add','154161JHGwCr','next','sort','length','655otOghc','getRanges','end','createRange','isObject','isMultiRange','push','value','\x20[color\x20','470700KlABhS','from','schema','createPositionAfter','87993MUgdmq','deletion','29043BnvUgQ','content','isTouching','isIntersecting','join','start','change','map','18366TpZtGB','isInContent','8mxQkfM','splice','2212581KScuuL','color','2710JuznGR'];_0x15fd=function(){return _0xa12379;};return _0x15fd();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x51ff1b,_0x3c66d6,_0x3a8d97){const _0x19cecb=_0x4f82;for(;_0x3a8d97[_0x19cecb(0x1fc)];){const _0x51ad0e=_0x3a8d97[_0x19cecb(0x1ec)](0x0,0x64);_0x51ff1b[_0x19cecb(0x1e7)](()=>{const _0x2eac40=_0x19cecb;for(const _0x36252f of _0x51ad0e)_0x36252f[_0x2eac40(0x1ea)]&&_0x3c66d6[_0x2eac40(0x1f4)](_0x36252f['id']);});}}
|