@ckeditor/ckeditor5-track-changes 43.1.0-alpha.2 → 43.1.0-alpha.4
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 +10 -10
- 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/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/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/ui/view/suggestionview.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 _0x345319=_0x3bac;(function(_0x153024,_0x36e296){const _0x9eb8cf=_0x3bac,_0x3b07f9=_0x153024();while(!![]){try{const _0x522310=parseInt(_0x9eb8cf(0xaf))/0x1*(parseInt(_0x9eb8cf(0xae))/0x2)+parseInt(_0x9eb8cf(0x7e))/0x3*(parseInt(_0x9eb8cf(0xf4))/0x4)+-parseInt(_0x9eb8cf(0x8f))/0x5*(parseInt(_0x9eb8cf(0xc5))/0x6)+-parseInt(_0x9eb8cf(0xf9))/0x7+-parseInt(_0x9eb8cf(0xe1))/0x8*(parseInt(_0x9eb8cf(0xb6))/0x9)+parseInt(_0x9eb8cf(0x109))/0xa*(parseInt(_0x9eb8cf(0xa8))/0xb)+parseInt(_0x9eb8cf(0x9b))/0xc*(parseInt(_0x9eb8cf(0x88))/0xd);if(_0x522310===_0x36e296)break;else _0x3b07f9['push'](_0x3b07f9['shift']());}catch(_0x84d76d){_0x3b07f9['push'](_0x3b07f9['shift']());}}}(_0x4bbd,0x58034));function _0x3bac(_0x408bae,_0x2c7b30){const _0x4bbdd2=_0x4bbd();return _0x3bac=function(_0x3bac66,_0x259dd7){_0x3bac66=_0x3bac66-0x72;let _0x17a66c=_0x4bbdd2[_0x3bac66];return _0x17a66c;},_0x3bac(_0x408bae,_0x2c7b30);}import{Plugin as _0x4cb86d}from'ckeditor5/src/core.js';import{Collection as _0x22ec2b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4df694,createDropdown as _0x4c1a44,ListSeparatorView as _0x3951ee,MenuBarMenuView as _0x4bbbd9,MenuBarMenuListView as _0x2ba006,MenuBarMenuListItemView as _0x1de283,MenuBarMenuListItemButtonView as _0x566fec,SplitButtonView as _0x5f428d,ViewModel as _0x550040}from'ckeditor5/src/ui.js';import{Users as _0x4039c8,getDateTimeFormatter as _0x53fdb8,getAllMarkersDomElementsSorted as _0x586213}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fe097 from'./trackchangesediting.js';import _0x210ddb from'./ui/suggestioncontroller.js';import _0x5cd8e7 from'./ui/view/suggestionthreadview.js';import _0x349cd2 from'./ui/view/suggestionview.js';import{getTranslation as _0x32b293}from'./utils/common-translations.js';import _0x557538 from'../theme/icons/track-changes.svg';export default class d extends _0x4cb86d{static get[_0x345319(0xf0)](){const _0x777604=_0x345319;return[_0x1fe097,_0x4039c8,_0x777604(0x73),_0x777604(0x101),_0x777604(0xb9)];}static get[_0x345319(0x100)](){const _0x5e9f71=_0x345319;return _0x5e9f71(0x87);}constructor(_0x35b8c3){const _0x570b74=_0x345319;super(_0x35b8c3),this[_0x570b74(0x98)]=new Map(),this[_0x570b74(0xe0)]=new Map(),this[_0x570b74(0x99)]=new Map(),this[_0x570b74(0x108)]=new Map();const _0x4e01e=this[_0x570b74(0xb7)][_0x570b74(0xc6)];_0x4e01e[_0x570b74(0xb2)](_0x570b74(0xde),_0x5cd8e7),_0x4e01e[_0x570b74(0xb2)](_0x570b74(0xb0),_0x349cd2),_0x4e01e[_0x570b74(0xb2)](_0x570b74(0xba),!0x1),this[_0x570b74(0x105)]=_0x4e01e[_0x570b74(0xce)](_0x570b74(0xba));}[_0x345319(0xef)](_0x2aabe0,_0x558785){const _0x192d44=_0x345319;0x0===this[_0x192d44(0x108)][_0x192d44(0xe3)]&&setTimeout(()=>{const _0x302eac=_0x192d44;for(const [_0x2be84c,_0x6dd3d4]of this[_0x302eac(0x108)]){const _0x3e3af6=this[_0x302eac(0x98)][_0x302eac(0x8c)](_0x2be84c);_0x3e3af6||_0x6dd3d4?_0x3e3af6&&_0x6dd3d4&&this[_0x302eac(0x7c)](_0x2be84c):this[_0x302eac(0x72)](_0x2be84c);}this[_0x302eac(0x108)][_0x302eac(0x97)](),this[_0x302eac(0xb7)][_0x302eac(0x9f)][_0x302eac(0xce)](_0x302eac(0xb9))[_0x302eac(0xc2)](),this[_0x302eac(0xa0)]();},0xa),this[_0x192d44(0x108)][_0x192d44(0xbb)](_0x2aabe0,_0x558785);}[_0x345319(0xa4)](){const _0x15f66b=_0x345319,_0x533cef=this[_0x15f66b(0xb7)],_0x34dba0=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0xf5)),_0x47437d=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0x101)),_0x3c9665=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0xb9)),_0xffcfe0=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0x73));this[_0x15f66b(0x81)](),_0x3c9665[_0x15f66b(0xcd)](()=>{const _0x42810f=_0x15f66b,_0x329443=[];for(const [_0x1a6277,_0x6f0545]of Array[_0x42810f(0xaa)](this[_0x42810f(0x98)])){const _0x38c5f7=_0x1a6277[_0x42810f(0x90)](),_0x14913d=[];for(const _0x3477c0 of _0x38c5f7){if(!_0x3477c0[_0x42810f(0xa3)])continue;if(_0x3477c0[_0x42810f(0xe5)]){_0x14913d[_0x42810f(0xe9)](..._0x3477c0[_0x42810f(0xbc)]());continue;}const _0x2b53e8=_0x3477c0[_0x42810f(0x86)]();if(_0x14913d[_0x42810f(0x84)]>0x0){const _0x2c166a=_0x14913d[0x0][_0x42810f(0x92)](_0x2b53e8);if(_0x2c166a){_0x14913d[0x0]=_0x2c166a;continue;}}_0x14913d[_0x42810f(0xe9)](_0x2b53e8);}_0x329443[_0x42810f(0xe9)]([_0x6f0545[_0x42810f(0xa7)],_0x14913d]);}return _0x329443;}),this[_0x15f66b(0xb1)](_0x34dba0,_0x15f66b(0xfe),(_0x3767d1,_0x3863e0)=>{const _0x1af199=_0x15f66b;this[_0x1af199(0xb1)](_0x3863e0,_0x1af199(0xf8),(_0x10792f,_0x571189,_0x58abc1,_0x38730d)=>{const _0x4aa96b=_0x1af199;_0x3863e0[_0x4aa96b(0xa3)]&&(null==_0x58abc1?(this[_0x4aa96b(0xee)](_0x38730d[_0x4aa96b(0xc0)]),this[_0x4aa96b(0xef)](_0x3863e0,!0x1)):(this[_0x4aa96b(0xee)](_0x58abc1[_0x4aa96b(0xc0)]),null==_0x38730d&&this[_0x4aa96b(0xef)](_0x3863e0,!0x0)));}),null!==_0x3863e0[_0x1af199(0xb5)]?this[_0x1af199(0xee)](_0x3863e0[_0x1af199(0xc0)]):this[_0x1af199(0xef)](_0x3863e0,!0x1);}),this[_0x15f66b(0xb1)](_0x34dba0,_0x15f66b(0xda),(_0x2e6692,_0x15a43d,_0x285dd3)=>{const _0x586084=_0x15f66b;this[_0x586084(0xc7)](_0x15a43d,_0x586084(0xf8)),this[_0x586084(0x108)][_0x586084(0xdb)](_0x15a43d),this[_0x586084(0x98)][_0x586084(0x8c)](_0x15a43d)&&this[_0x586084(0x7c)](_0x15a43d),_0x285dd3&&this[_0x586084(0xee)](_0x285dd3[_0x586084(0xc0)]);}),this[_0x15f66b(0xb1)](_0x34dba0,_0x15f66b(0xfc),(_0x4b5497,_0x9742b2)=>{const _0xa47c9a=_0x15f66b;this[_0xa47c9a(0xee)](_0x9742b2);}),this[_0x15f66b(0xb1)](_0x47437d,_0x15f66b(0xca),()=>{const _0x5d398a=_0x15f66b;this[_0x5d398a(0xa0)]();}),this[_0x15f66b(0xb1)](_0xffcfe0,_0x15f66b(0xbd),(_0x29ed44,{threadId:_0x487d0c,isFromAdapter:_0xd07e8b})=>{const _0x21feef=_0x15f66b;if(_0xd07e8b||!_0x34dba0[_0x21feef(0xcb)](_0x487d0c))return;const _0x4c1724=_0x34dba0[_0x21feef(0xbe)](_0x487d0c);this[_0x21feef(0x98)][_0x21feef(0xce)](_0x4c1724)[_0x21feef(0xa7)][_0x21feef(0x77)][_0x21feef(0x74)](-0x1);},{'priority':_0x15f66b(0xdd)});}[_0x345319(0xa0)](){const _0x4bdafa=_0x345319,_0x4f22d7=this[_0x4bdafa(0xb7)][_0x4bdafa(0x9f)][_0x4bdafa(0xce)](_0x4bdafa(0x101)),_0x510215=this[_0x4bdafa(0xb7)][_0x4bdafa(0x9f)][_0x4bdafa(0xce)](_0x4bdafa(0xf5)),_0xd490b1=Array[_0x4bdafa(0xaa)](_0x4f22d7[_0x4bdafa(0xd2)],_0x3662fe=>_0x3662fe[_0x4bdafa(0xa6)])[_0x4bdafa(0x8e)](_0x2eea55=>this[_0x4bdafa(0xe0)][_0x4bdafa(0x8c)](_0x2eea55)),_0x1eb0f2=[];for(const _0x460a38 of _0xd490b1){const _0x2e83bc=this[_0x4bdafa(0xe0)][_0x4bdafa(0xce)](_0x460a38)[_0x4bdafa(0xd9)][_0x4bdafa(0x90)]();_0x1eb0f2[_0x4bdafa(0xe9)](..._0x2e83bc[_0x4bdafa(0x9c)]((_0x53a294,_0x524244)=>[..._0x53a294,..._0x524244[_0x4bdafa(0xdf)]()],[]));}_0x510215[_0x4bdafa(0x7a)]=_0x1eb0f2;}[_0x345319(0x81)](){const _0x6fa078=_0x345319,_0x5d0e11=this[_0x6fa078(0xb7)],_0x47e2be=_0x5d0e11[_0x6fa078(0x76)],_0x18c0e0=_0x32b293(_0x47e2be,_0x6fa078(0x93)),_0x534b65=new _0x22ec2b([{'type':_0x6fa078(0xa2),'model':new _0x550040({'withText':!0x0,'isToggleable':!0x0,'label':_0x18c0e0,'commandName':_0x6fa078(0xe2),'role':_0x6fa078(0x78)})},{'type':_0x6fa078(0x9d)},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0xfd)),'commandName':_0x6fa078(0xd3),'role':_0x6fa078(0xb8)})},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0x106)),'commandName':_0x6fa078(0xf1),'role':_0x6fa078(0xb8)})},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0xcf)),'commandName':_0x6fa078(0xc3),'role':_0x6fa078(0xb8)})},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0xe6)),'commandName':_0x6fa078(0xf7),'role':_0x6fa078(0xb8)})}]);for(const _0x17a23e of _0x534b65)if(me(_0x17a23e)){const _0x516960=_0x5d0e11[_0x6fa078(0x104)][_0x6fa078(0xce)](_0x17a23e[_0x6fa078(0xd9)][_0x6fa078(0xb4)]);_0x17a23e[_0x6fa078(0xd9)][_0x6fa078(0xd5)](_0x6fa078(0x7b),_0x6fa078(0xad))['to'](_0x516960,_0x6fa078(0xff),_0x6fa078(0xad));}_0x5d0e11['ui'][_0x6fa078(0x8b)][_0x6fa078(0x8d)](_0x6fa078(0xe2),_0x58cd82=>this[_0x6fa078(0x9a)](_0x58cd82,_0x534b65,_0x18c0e0)),_0x5d0e11['ui'][_0x6fa078(0x8b)][_0x6fa078(0x8d)](_0x6fa078(0x94),_0xa0541e=>this[_0x6fa078(0xf2)](_0xa0541e,_0x534b65,_0x18c0e0));}[_0x345319(0x9a)](_0x1a0782,_0x2fccf5,_0x49af4f){const _0x57a6b6=_0x345319,_0x37aa87=_0x4c1a44(_0x1a0782,_0x5f428d),_0x2605eb=this[_0x57a6b6(0xb7)][_0x57a6b6(0x104)][_0x57a6b6(0xce)](_0x57a6b6(0xe2));_0x37aa87[_0x57a6b6(0xed)][_0x57a6b6(0xbb)]({'tooltip':_0x49af4f,'label':_0x49af4f,'icon':_0x557538}),_0x37aa87[_0x57a6b6(0xed)][_0x57a6b6(0xd5)](_0x57a6b6(0x7b))['to'](_0x2605eb,_0x57a6b6(0xff)),_0x37aa87[_0x57a6b6(0xed)]['on'](_0x57a6b6(0x85),()=>{const _0x399b54=_0x57a6b6;_0x2605eb[_0x399b54(0x85)](),this[_0x399b54(0xb7)][_0x399b54(0xa1)][_0x399b54(0xa7)][_0x399b54(0x74)]();}),_0x4df694(_0x37aa87,_0x2fccf5,{'role':_0x57a6b6(0x107)});const _0x4839b8=[];for(const _0x1a7647 of _0x2fccf5)me(_0x1a7647)&&_0x4839b8[_0x57a6b6(0xe9)](this[_0x57a6b6(0xb7)][_0x57a6b6(0x104)][_0x57a6b6(0xce)](_0x1a7647[_0x57a6b6(0xd9)][_0x57a6b6(0xb4)]));const _0x361f87=_0x37aa87[_0x57a6b6(0xed)];return _0x361f87[_0x57a6b6(0xc1)][_0x57a6b6(0x82)](_0x57a6b6(0xad)),_0x361f87[_0x57a6b6(0xcc)][_0x57a6b6(0x82)](_0x57a6b6(0xad)),_0x361f87[_0x57a6b6(0xc1)][_0x57a6b6(0xd5)](_0x57a6b6(0xad))['to'](_0x2605eb,_0x57a6b6(0xad)),_0x361f87[_0x57a6b6(0xcc)][_0x57a6b6(0xd5)](_0x57a6b6(0xad))[_0x57a6b6(0x96)](_0x4839b8,_0x57a6b6(0xad),(..._0x5a68de)=>_0x5a68de[_0x57a6b6(0xc9)](_0x58abab=>_0x58abab)),_0x37aa87['on'](_0x57a6b6(0x85),_0x555383=>{const _0x45df38=_0x57a6b6;this[_0x45df38(0xb7)][_0x45df38(0x85)](_0x555383[_0x45df38(0x9e)][_0x45df38(0xb4)]),this[_0x45df38(0xb7)][_0x45df38(0xa1)][_0x45df38(0xa7)][_0x45df38(0x74)]();}),_0x37aa87;}[_0x345319(0xf2)](_0x3103bf,_0x4642fd,_0xe979be){const _0x376dcd=_0x345319,_0x22b8fb=new _0x4bbbd9(_0x3103bf),_0x37951a=this[_0x376dcd(0xb7)][_0x376dcd(0x104)][_0x376dcd(0xce)](_0x376dcd(0xe2));_0x22b8fb[_0x376dcd(0xed)][_0x376dcd(0xbb)]({'label':_0xe979be,'icon':_0x557538});const _0x2af376=new _0x2ba006(_0x3103bf);for(const _0x28b8a2 of _0x4642fd){if(_0x376dcd(0x9d)==_0x28b8a2[_0x376dcd(0xa9)]){_0x2af376[_0x376dcd(0x8a)][_0x376dcd(0x8d)](new _0x3951ee(_0x3103bf));continue;}const _0x3c2324=new _0x1de283(_0x3103bf,_0x22b8fb),_0x1ffeb8=new _0x566fec(_0x3103bf),_0x31770a=_0x28b8a2[_0x376dcd(0xd9)];_0x1ffeb8[_0x376dcd(0xd5)](...Object[_0x376dcd(0xc4)](_0x31770a))['to'](_0x31770a),_0x1ffeb8[_0x376dcd(0xe4)](_0x376dcd(0x85))['to'](_0x22b8fb),_0x1ffeb8['on'](_0x376dcd(0x85),()=>{const _0x2b8dfd=_0x376dcd;this[_0x2b8dfd(0xb7)][_0x2b8dfd(0x85)](_0x31770a[_0x2b8dfd(0xb4)]),this[_0x2b8dfd(0xb7)][_0x2b8dfd(0xa1)][_0x2b8dfd(0xa7)][_0x2b8dfd(0x74)]();}),_0x3c2324[_0x376dcd(0xa5)][_0x376dcd(0x8d)](_0x1ffeb8),_0x2af376[_0x376dcd(0x8a)][_0x376dcd(0x8d)](_0x3c2324);}return _0x22b8fb[_0x376dcd(0xd5)](_0x376dcd(0xad))['to'](_0x37951a,_0x376dcd(0xad)),_0x22b8fb[_0x376dcd(0xd0)][_0x376dcd(0xa5)][_0x376dcd(0x8d)](_0x2af376),_0x22b8fb;}[_0x345319(0x72)](_0x37569){const _0x4f978d=_0x345319,_0x4877c2=this[_0x4f978d(0xb7)],_0x39275a=_0x4877c2[_0x4f978d(0xc6)],_0x47b091=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0x101)),_0x343cef=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0x73)),_0x4f80be=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0xb9)),_0x341675=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4039c8)['me'],_0x163dfd=_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xe2))[_0x4f978d(0xf6)],_0x4f8c46=_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xe2))[_0x4f978d(0xea)],{CommentsListView:_0x645494,CommentThreadInputView:_0x49179c}=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0x75));let _0x22a1e2,_0x154cd7,_0x15c283;this[_0x4f978d(0x99)][_0x4f978d(0x8c)](_0x37569['id'])?(_0x154cd7=this[_0x4f978d(0x99)][_0x4f978d(0xce)](_0x37569['id']),_0x22a1e2=_0x154cd7[_0x4f978d(0x79)]):(_0x22a1e2=new _0x163dfd(_0x4877c2[_0x4f978d(0x76)],_0x37569,_0x341675,{'disableComments':this[_0x4f978d(0x105)],'editorConfig':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xe8)),'maxCommentsWhenCollapsed':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0x7d)),'maxThreadTotalWeight':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xb3)),'maxCommentCharsWhenCollapsed':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xd6)),'formatDateTime':_0x53fdb8(_0x39275a[_0x4f978d(0xce)](_0x4f978d(0x76))),'CommentView':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xeb))[_0x4f978d(0x80)],'CommentsListView':_0x645494,'CommentThreadInputView':_0x49179c,'SuggestionView':_0x4f8c46}),_0x22a1e2[_0x4f978d(0xab)][_0x4f978d(0xec)]['on'](_0x4f978d(0x85),()=>{const _0x373b3f=_0x4f978d;_0x4877c2[_0x373b3f(0xa1)][_0x373b3f(0xa7)][_0x373b3f(0x74)]();}),_0x22a1e2[_0x4f978d(0xab)][_0x4f978d(0x102)]['on'](_0x4f978d(0x85),()=>{const _0x277a6d=_0x4f978d;_0x4877c2[_0x277a6d(0xa1)][_0x277a6d(0xa7)][_0x277a6d(0x74)]();}),_0x154cd7=_0x47b091[_0x4f978d(0x7f)](this[_0x4f978d(0xb7)][_0x4f978d(0x76)],_0x22a1e2),_0x154cd7[_0x4f978d(0xd5)](_0x4f978d(0xe7))['to'](_0x22a1e2,_0x4f978d(0xe7)),_0x154cd7[_0x4f978d(0xd5)](_0x4f978d(0x84))['to'](_0x22a1e2),_0x154cd7[_0x4f978d(0xd5)](_0x4f978d(0xa9))['to'](_0x22a1e2,_0x4f978d(0xa9),_0xa3d79a=>_0x4f978d(0xfb)+_0xa3d79a),_0x22a1e2['on'](_0x4f978d(0xdc),()=>{const _0x52a9fb=_0x4f978d;_0x15c283[_0x52a9fb(0xd8)](_0x52a9fb(0xdc));}),this[_0x4f978d(0x99)][_0x4f978d(0xbb)](_0x37569['id'],_0x154cd7));const _0x3b6b1e=_0x343cef[_0x4f978d(0xd4)](_0x37569[_0x4f978d(0xbf)],_0x22a1e2),_0x1be811=new _0x210ddb(_0x4877c2,_0x37569,_0x22a1e2,_0x3b6b1e),_0x1a6503=_0x37569[_0x4f978d(0x90)]()[_0x4f978d(0x8e)](_0x1d092e=>_0x1d092e[_0x4f978d(0xa3)]);_0x22a1e2[_0x4f978d(0xc8)]=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0xf5))[_0x4f978d(0xf3)][_0x4f978d(0x95)](_0x1a6503),this[_0x4f978d(0x98)][_0x4f978d(0xbb)](_0x37569,_0x1be811),this[_0x4f978d(0xe0)][_0x4f978d(0xbb)](_0x22a1e2,_0x1be811),_0x15c283=_0x47b091[_0x4f978d(0x91)]({'view':_0x154cd7,'target':()=>{const _0x2f3210=_0x4f978d,_0x58ad94=[],_0x1bf674=_0x37569[_0x2f3210(0x90)]()[_0x2f3210(0x8e)](_0x263be1=>_0x263be1[_0x2f3210(0xa3)]);for(const _0x439f6b of _0x1bf674)_0x58ad94[_0x2f3210(0xe9)](..._0x439f6b[_0x2f3210(0xd7)]());return _0x586213(_0x4877c2[_0x2f3210(0xa1)],_0x58ad94);},'type':()=>_0x4f978d(0xfb)+_0x1be811[_0x4f978d(0xa7)][_0x4f978d(0xa9)]}),_0x343cef[_0x4f978d(0x10a)](_0x22a1e2,_0x15c283),_0x47b091[_0x4f978d(0x8d)](_0x15c283),_0x4f80be[_0x4f978d(0x83)](_0x15c283);}[_0x345319(0x7c)](_0x52e385){const _0x38bf76=_0x345319,_0x6580d0=this[_0x38bf76(0xb7)][_0x38bf76(0x9f)][_0x38bf76(0xce)](_0x38bf76(0x73)),_0x3b77d3=this[_0x38bf76(0xb7)][_0x38bf76(0x9f)][_0x38bf76(0xce)](_0x38bf76(0x101)),_0x345f83=this[_0x38bf76(0x98)][_0x38bf76(0xce)](_0x52e385),_0x4a5c34=_0x345f83[_0x38bf76(0xa7)],_0x480a84=_0x3b77d3[_0x38bf76(0xfa)](_0x4a5c34);_0x6580d0[_0x38bf76(0x10b)](_0x4a5c34),_0x480a84&&_0x3b77d3[_0x38bf76(0xd1)](_0x480a84),this[_0x38bf76(0x98)][_0x38bf76(0xdb)](_0x52e385),this[_0x38bf76(0xe0)][_0x38bf76(0xdb)](_0x4a5c34),_0x345f83[_0x38bf76(0x89)]();}[_0x345319(0xee)](_0x5eb77b){const _0x28f6fb=_0x345319;if(!_0x5eb77b[_0x28f6fb(0xa3)]||!this[_0x28f6fb(0x98)][_0x28f6fb(0x8c)](_0x5eb77b))return;const _0x4147fb=this[_0x28f6fb(0xb7)][_0x28f6fb(0x9f)][_0x28f6fb(0xce)](_0x28f6fb(0xf5)),_0x13d155=this[_0x28f6fb(0x98)][_0x28f6fb(0xce)](_0x5eb77b),_0x2cc015=_0x5eb77b[_0x28f6fb(0x90)]();_0x13d155[_0x28f6fb(0xa7)][_0x28f6fb(0xc8)]=_0x4147fb[_0x28f6fb(0xf3)][_0x28f6fb(0x95)](_0x2cc015);}[_0x345319(0x89)](){const _0x45e00f=_0x345319;for(const _0xf9587a of this[_0x45e00f(0x98)][_0x45e00f(0xc4)]())this[_0x45e00f(0x7c)](_0xf9587a);for(const _0x3c84b1 of this[_0x45e00f(0x99)][_0x45e00f(0xac)]())_0x3c84b1[_0x45e00f(0x79)][_0x45e00f(0x89)]();super[_0x45e00f(0x89)]();}}function _0x4bbd(){const _0x23c97f=['_addUIComponentsToFactory','unbind','registerAnnotation','length','execute','getFirstRange','TrackChangesUI','453037RoMpTx','destroy','items','componentFactory','has','add','filter','15VHXYvA','getAllAdjacentSuggestions','createAnnotation','getJoined','Track\x20changes','menuBar:trackChanges','getDescriptions','toMany','clear','_suggestionToController','_annotationViews','_createToolbarButton','36VZdupJ','reduce','separator','source','plugins','_refreshActiveMarkers','editing','switchbutton','isInContent','init','children','innerView','view','952919cOfhkC','type','from','suggestionView','values','isEnabled','106RqDIGM','12853CQmBTD','trackChanges.SuggestionView','listenTo','define','comments.maxThreadTotalWeight','commandName','previous','2282769XKTWuO','editor','menuitem','EditorAnnotations','trackChanges.disableComments','set','getRanges','addComment','getSuggestion','commentThread','head','actionView','refreshSelectedViews','discardAllSuggestions','keys','369876IhIPVb','config','stopListening','descriptionParts','some','change:activeAnnotations','hasSuggestion','arrowView','addSourceCollector','get','Discard\x20all\x20suggestions','panelView','remove','activeAnnotations','acceptAllSuggestions','createCommentThreadController','bind','comments.maxCommentCharsWhenCollapsed','getMarkers','fire','model','suggestionUnloaded','delete','escape','lowest','trackChanges.SuggestionThreadView','getMarkerNames','_viewToController','8NDbLRS','trackChanges','size','delegate','isMultiRange','Discard\x20all\x20selected\x20suggestions','isDirty','comments.editorConfig','push','SuggestionView','comments','acceptButton','buttonView','_updateController','_handleSuggestionControllerDelayed','requires','acceptSelectedSuggestions','_createMenuBarMenu','descriptionFactory','1019036IWBjbd','TrackChangesEditing','SuggestionThreadView','discardSelectedSuggestions','change:previous','4115664NrIhwu','getByInnerView','suggestion-','suggestionChanged','Accept\x20all\x20suggestions','suggestionLoaded','value','pluginName','Annotations','discardButton','button','commands','_disableComments','Accept\x20all\x20selected\x20suggestions','menu','_handleControllerBuffer','40FCsJmo','_bindAnnotationToEditors','_unbindEditors','_initializeController','CommentsRepository','focus','CommentsUI','locale','commentsListView','menuitemcheckbox','mainView','activeMarkers','isOn','_destroyController','comments.maxCommentsWhenCollapsed','3sCzkLa','createAnnotationView','CommentView'];_0x4bbd=function(){return _0x23c97f;};return _0x4bbd();}function me(_0x619649){const _0x5acbed=_0x345319;return _0x5acbed(0xd9)in _0x619649;}
|
|
23
|
+
const _0x5aa1a7=_0x5610;(function(_0x16a0f2,_0x1c71b0){const _0x39feb0=_0x5610,_0x2a3ec0=_0x16a0f2();while(!![]){try{const _0x34d89f=parseInt(_0x39feb0(0x12e))/0x1+-parseInt(_0x39feb0(0xfb))/0x2*(parseInt(_0x39feb0(0xbb))/0x3)+parseInt(_0x39feb0(0x128))/0x4+parseInt(_0x39feb0(0xf9))/0x5*(-parseInt(_0x39feb0(0x129))/0x6)+-parseInt(_0x39feb0(0x137))/0x7+-parseInt(_0x39feb0(0x11c))/0x8*(parseInt(_0x39feb0(0x10e))/0x9)+parseInt(_0x39feb0(0x106))/0xa*(parseInt(_0x39feb0(0x12d))/0xb);if(_0x34d89f===_0x1c71b0)break;else _0x2a3ec0['push'](_0x2a3ec0['shift']());}catch(_0x3e7c8d){_0x2a3ec0['push'](_0x2a3ec0['shift']());}}}(_0x6d0f,0xc4b18));import{Plugin as _0x5d3368}from'ckeditor5/src/core.js';import{Collection as _0x9ff072}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2c77bc,createDropdown as _0x570094,ListSeparatorView as _0x22fc40,MenuBarMenuView as _0x404575,MenuBarMenuListView as _0x52a4c9,MenuBarMenuListItemView as _0x91e104,MenuBarMenuListItemButtonView as _0x215337,SplitButtonView as _0x3b98a8,ViewModel as _0x13fd9f}from'ckeditor5/src/ui.js';import{Users as _0x2de89e,getDateTimeFormatter as _0x181744,getAllMarkersDomElementsSorted as _0x1bae6b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xed189 from'./trackchangesediting.js';import _0x3d635f from'./ui/suggestioncontroller.js';import _0x4941da from'./ui/view/suggestionthreadview.js';import _0x578d2b from'./ui/view/suggestionview.js';function _0x6d0f(){const _0x6d851b=['_bindAnnotationToEditors','3ZjVFRx','innerView','descriptionFactory','addComment','suggestionView','fire','from','activeAnnotations','buttonView','suggestion-','bind','arrowView','registerAnnotation','some','createAnnotationView','acceptSelectedSuggestions','reduce','Discard\x20all\x20suggestions','model','escape','filter','value','getAllAdjacentSuggestions','execute','addSourceCollector','componentFactory','actionView','CommentView','CommentsRepository','trackChanges.SuggestionView','comments.editorConfig','getDescriptions','_updateController','change:previous','head','menuitem','comments.maxThreadTotalWeight','_destroyController','getFirstRange','trackChanges','delegate','menuBar:trackChanges','requires','Track\x20changes','suggestionUnloaded','toMany','SuggestionThreadView','editing','TrackChangesEditing','mainView','get','remove','has','_disableComments','define','commandName','keys','delete','comments','view','CommentsUI','menuitemcheckbox','5pHllRO','destroy','2920374cUErag','Annotations','panelView','getByInnerView','isEnabled','trackChanges.disableComments','isInContent','source','activeMarkers','getSuggestion','values','13917080MyddAo','push','type','comments.maxCommentsWhenCollapsed','getMarkerNames','_annotationViews','lowest','_viewToController','5473053QpUtWQ','_unbindEditors','createCommentThreadController','_createToolbarButton','commentThread','menu','_refreshActiveMarkers','acceptButton','pluginName','TrackChangesUI','discardAllSuggestions','createAnnotation','commands','items','8vwSMjU','set','getMarkers','isOn','trackChanges.SuggestionThreadView','isMultiRange','_addUIComponentsToFactory','unbind','init','switchbutton','EditorAnnotations','discardSelectedSuggestions','5495292XSoGmH','4198032rDlxGG','SuggestionView','config','add','22vvbAYU','945079hCYRUf','plugins','children','suggestionLoaded','getRanges','suggestionChanged','clear','isDirty','stopListening','10700802XFHWFW','editor','_createMenuBarMenu','comments.maxCommentCharsWhenCollapsed','discardButton','_handleSuggestionControllerDelayed','button','change:activeAnnotations','refreshSelectedViews','size','descriptionParts','getJoined','Accept\x20all\x20suggestions','listenTo','Accept\x20all\x20selected\x20suggestions','previous','_suggestionToController','focus','acceptAllSuggestions','_initializeController','commentsListView','Discard\x20all\x20selected\x20suggestions','_handleControllerBuffer','separator','locale','length','hasSuggestion'];_0x6d0f=function(){return _0x6d851b;};return _0x6d0f();}import{getTranslation as _0x4bcea6}from'./utils/common-translations.js';function _0x5610(_0xb2c899,_0x272fe5){const _0x6d0f35=_0x6d0f();return _0x5610=function(_0x561051,_0x4648e7){_0x561051=_0x561051-0xb9;let _0x1b0f0e=_0x6d0f35[_0x561051];return _0x1b0f0e;},_0x5610(_0xb2c899,_0x272fe5);}import _0x15d1bc from'../theme/icons/track-changes.svg';export default class d extends _0x5d3368{static get[_0x5aa1a7(0xe5)](){const _0x2aedbb=_0x5aa1a7;return[_0xed189,_0x2de89e,_0x2aedbb(0xd7),_0x2aedbb(0xfc),_0x2aedbb(0x126)];}static get[_0x5aa1a7(0x116)](){const _0x344365=_0x5aa1a7;return _0x344365(0x117);}constructor(_0x2bca29){const _0x31d79e=_0x5aa1a7;super(_0x2bca29),this[_0x31d79e(0x147)]=new Map(),this[_0x31d79e(0x10d)]=new Map(),this[_0x31d79e(0x10b)]=new Map(),this[_0x31d79e(0x14d)]=new Map();const _0xff623e=this[_0x31d79e(0x138)][_0x31d79e(0x12b)];_0xff623e[_0x31d79e(0xf1)](_0x31d79e(0x120),_0x4941da),_0xff623e[_0x31d79e(0xf1)](_0x31d79e(0xd8),_0x578d2b),_0xff623e[_0x31d79e(0xf1)](_0x31d79e(0x100),!0x1),this[_0x31d79e(0xf0)]=_0xff623e[_0x31d79e(0xed)](_0x31d79e(0x100));}[_0x5aa1a7(0x13c)](_0x366920,_0x53b5ec){const _0x492b59=_0x5aa1a7;0x0===this[_0x492b59(0x14d)][_0x492b59(0x140)]&&setTimeout(()=>{const _0xcd27d9=_0x492b59;for(const [_0x48755b,_0x30607f]of this[_0xcd27d9(0x14d)]){const _0x26e84e=this[_0xcd27d9(0x147)][_0xcd27d9(0xef)](_0x48755b);_0x26e84e||_0x30607f?_0x26e84e&&_0x30607f&&this[_0xcd27d9(0xe0)](_0x48755b):this[_0xcd27d9(0x14a)](_0x48755b);}this[_0xcd27d9(0x14d)][_0xcd27d9(0x134)](),this[_0xcd27d9(0x138)][_0xcd27d9(0x12f)][_0xcd27d9(0xed)](_0xcd27d9(0x126))[_0xcd27d9(0x13f)](),this[_0xcd27d9(0x114)]();},0xa),this[_0x492b59(0x14d)][_0x492b59(0x11d)](_0x366920,_0x53b5ec);}[_0x5aa1a7(0x124)](){const _0xa8fcd=_0x5aa1a7,_0x4cb620=this[_0xa8fcd(0x138)],_0x5f51bd=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0xeb)),_0x4b0e9a=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0xfc)),_0x45ffa9=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0x126)),_0x53ecde=_0x4cb620[_0xa8fcd(0x12f)][_0xa8fcd(0xed)](_0xa8fcd(0xd7));this[_0xa8fcd(0x122)](),_0x45ffa9[_0xa8fcd(0xd3)](()=>{const _0x4f44ed=_0xa8fcd,_0x25878e=[];for(const [_0x359e2c,_0x4bead2]of Array[_0x4f44ed(0xc1)](this[_0x4f44ed(0x147)])){const _0x515001=_0x359e2c[_0x4f44ed(0xd1)](),_0x41e6cd=[];for(const _0x1f6d5a of _0x515001){if(!_0x1f6d5a[_0x4f44ed(0x101)])continue;if(_0x1f6d5a[_0x4f44ed(0x121)]){_0x41e6cd[_0x4f44ed(0x107)](..._0x1f6d5a[_0x4f44ed(0x132)]());continue;}const _0x1f4522=_0x1f6d5a[_0x4f44ed(0xe1)]();if(_0x41e6cd[_0x4f44ed(0x150)]>0x0){const _0x2fa9eb=_0x41e6cd[0x0][_0x4f44ed(0x142)](_0x1f4522);if(_0x2fa9eb){_0x41e6cd[0x0]=_0x2fa9eb;continue;}}_0x41e6cd[_0x4f44ed(0x107)](_0x1f4522);}_0x25878e[_0x4f44ed(0x107)]([_0x4bead2[_0x4f44ed(0xf6)],_0x41e6cd]);}return _0x25878e;}),this[_0xa8fcd(0x144)](_0x5f51bd,_0xa8fcd(0x131),(_0x4e959d,_0x524ba7)=>{const _0xebd69b=_0xa8fcd;this[_0xebd69b(0x144)](_0x524ba7,_0xebd69b(0xdc),(_0x13c7af,_0x56d558,_0x544bee,_0x15a9d7)=>{const _0x2f63f4=_0xebd69b;_0x524ba7[_0x2f63f4(0x101)]&&(null==_0x544bee?(this[_0x2f63f4(0xdb)](_0x15a9d7[_0x2f63f4(0xdd)]),this[_0x2f63f4(0x13c)](_0x524ba7,!0x1)):(this[_0x2f63f4(0xdb)](_0x544bee[_0x2f63f4(0xdd)]),null==_0x15a9d7&&this[_0x2f63f4(0x13c)](_0x524ba7,!0x0)));}),null!==_0x524ba7[_0xebd69b(0x146)]?this[_0xebd69b(0xdb)](_0x524ba7[_0xebd69b(0xdd)]):this[_0xebd69b(0x13c)](_0x524ba7,!0x1);}),this[_0xa8fcd(0x144)](_0x5f51bd,_0xa8fcd(0xe7),(_0x2295d6,_0x3b90ef,_0x26eab5)=>{const _0x4cc560=_0xa8fcd;this[_0x4cc560(0x136)](_0x3b90ef,_0x4cc560(0xdc)),this[_0x4cc560(0x14d)][_0x4cc560(0xf4)](_0x3b90ef),this[_0x4cc560(0x147)][_0x4cc560(0xef)](_0x3b90ef)&&this[_0x4cc560(0xe0)](_0x3b90ef),_0x26eab5&&this[_0x4cc560(0xdb)](_0x26eab5[_0x4cc560(0xdd)]);}),this[_0xa8fcd(0x144)](_0x5f51bd,_0xa8fcd(0x133),(_0x259217,_0x2e0db1)=>{const _0x4e5ecb=_0xa8fcd;this[_0x4e5ecb(0xdb)](_0x2e0db1);}),this[_0xa8fcd(0x144)](_0x4b0e9a,_0xa8fcd(0x13e),()=>{const _0x3d8835=_0xa8fcd;this[_0x3d8835(0x114)]();}),this[_0xa8fcd(0x144)](_0x53ecde,_0xa8fcd(0xbe),(_0x18c254,{threadId:_0x4ac7cf,isFromAdapter:_0x20542c})=>{const _0x22ab86=_0xa8fcd;if(_0x20542c||!_0x5f51bd[_0x22ab86(0xb9)](_0x4ac7cf))return;const _0x22c1c4=_0x5f51bd[_0x22ab86(0x104)](_0x4ac7cf);this[_0x22ab86(0x147)][_0x22ab86(0xed)](_0x22c1c4)[_0x22ab86(0xf6)][_0x22ab86(0x14b)][_0x22ab86(0x148)](-0x1);},{'priority':_0xa8fcd(0x10c)});}[_0x5aa1a7(0x114)](){const _0x4490f4=_0x5aa1a7,_0x230108=this[_0x4490f4(0x138)][_0x4490f4(0x12f)][_0x4490f4(0xed)](_0x4490f4(0xfc)),_0x4f343e=this[_0x4490f4(0x138)][_0x4490f4(0x12f)][_0x4490f4(0xed)](_0x4490f4(0xeb)),_0x57ff56=Array[_0x4490f4(0xc1)](_0x230108[_0x4490f4(0xc2)],_0x57d80a=>_0x57d80a[_0x4490f4(0xbc)])[_0x4490f4(0xcf)](_0x3c4f7c=>this[_0x4490f4(0x10d)][_0x4490f4(0xef)](_0x3c4f7c)),_0x3a0290=[];for(const _0x3274f2 of _0x57ff56){const _0x32369e=this[_0x4490f4(0x10d)][_0x4490f4(0xed)](_0x3274f2)[_0x4490f4(0xcd)][_0x4490f4(0xd1)]();_0x3a0290[_0x4490f4(0x107)](..._0x32369e[_0x4490f4(0xcb)]((_0x387d29,_0x2c733a)=>[..._0x387d29,..._0x2c733a[_0x4490f4(0x10a)]()],[]));}_0x4f343e[_0x4490f4(0x103)]=_0x3a0290;}[_0x5aa1a7(0x122)](){const _0x52aaa9=_0x5aa1a7,_0x3f6c39=this[_0x52aaa9(0x138)],_0x348cd5=_0x3f6c39[_0x52aaa9(0x14f)],_0x3caaf7=_0x4bcea6(_0x348cd5,_0x52aaa9(0xe6)),_0x2af80c=new _0x9ff072([{'type':_0x52aaa9(0x125),'model':new _0x13fd9f({'withText':!0x0,'isToggleable':!0x0,'label':_0x3caaf7,'commandName':_0x52aaa9(0xe2),'role':_0x52aaa9(0xf8)})},{'type':_0x52aaa9(0x14e)},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0x143)),'commandName':_0x52aaa9(0x149),'role':_0x52aaa9(0xde)})},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0x145)),'commandName':_0x52aaa9(0xca),'role':_0x52aaa9(0xde)})},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0xcc)),'commandName':_0x52aaa9(0x118),'role':_0x52aaa9(0xde)})},{'type':_0x52aaa9(0x13d),'model':new _0x13fd9f({'withText':!0x0,'label':_0x4bcea6(_0x348cd5,_0x52aaa9(0x14c)),'commandName':_0x52aaa9(0x127),'role':_0x52aaa9(0xde)})}]);for(const _0x27342c of _0x2af80c)if(me(_0x27342c)){const _0x4d1da4=_0x3f6c39[_0x52aaa9(0x11a)][_0x52aaa9(0xed)](_0x27342c[_0x52aaa9(0xcd)][_0x52aaa9(0xf2)]);_0x27342c[_0x52aaa9(0xcd)][_0x52aaa9(0xc5)](_0x52aaa9(0x11f),_0x52aaa9(0xff))['to'](_0x4d1da4,_0x52aaa9(0xd0),_0x52aaa9(0xff));}_0x3f6c39['ui'][_0x52aaa9(0xd4)][_0x52aaa9(0x12c)](_0x52aaa9(0xe2),_0x47b16d=>this[_0x52aaa9(0x111)](_0x47b16d,_0x2af80c,_0x3caaf7)),_0x3f6c39['ui'][_0x52aaa9(0xd4)][_0x52aaa9(0x12c)](_0x52aaa9(0xe4),_0x34c534=>this[_0x52aaa9(0x139)](_0x34c534,_0x2af80c,_0x3caaf7));}[_0x5aa1a7(0x111)](_0x49c668,_0x5f3ed7,_0x15201c){const _0x2221ec=_0x5aa1a7,_0x1b13bd=_0x570094(_0x49c668,_0x3b98a8),_0x10495a=this[_0x2221ec(0x138)][_0x2221ec(0x11a)][_0x2221ec(0xed)](_0x2221ec(0xe2));_0x1b13bd[_0x2221ec(0xc3)][_0x2221ec(0x11d)]({'tooltip':_0x15201c,'label':_0x15201c,'icon':_0x15d1bc}),_0x1b13bd[_0x2221ec(0xc3)][_0x2221ec(0xc5)](_0x2221ec(0x11f))['to'](_0x10495a,_0x2221ec(0xd0)),_0x1b13bd[_0x2221ec(0xc3)]['on'](_0x2221ec(0xd2),()=>{const _0xab2ee5=_0x2221ec;_0x10495a[_0xab2ee5(0xd2)](),this[_0xab2ee5(0x138)][_0xab2ee5(0xea)][_0xab2ee5(0xf6)][_0xab2ee5(0x148)]();}),_0x2c77bc(_0x1b13bd,_0x5f3ed7,{'role':_0x2221ec(0x113)});const _0x1b5e24=[];for(const _0x942c46 of _0x5f3ed7)me(_0x942c46)&&_0x1b5e24[_0x2221ec(0x107)](this[_0x2221ec(0x138)][_0x2221ec(0x11a)][_0x2221ec(0xed)](_0x942c46[_0x2221ec(0xcd)][_0x2221ec(0xf2)]));const _0x6aa8dd=_0x1b13bd[_0x2221ec(0xc3)];return _0x6aa8dd[_0x2221ec(0xd5)][_0x2221ec(0x123)](_0x2221ec(0xff)),_0x6aa8dd[_0x2221ec(0xc6)][_0x2221ec(0x123)](_0x2221ec(0xff)),_0x6aa8dd[_0x2221ec(0xd5)][_0x2221ec(0xc5)](_0x2221ec(0xff))['to'](_0x10495a,_0x2221ec(0xff)),_0x6aa8dd[_0x2221ec(0xc6)][_0x2221ec(0xc5)](_0x2221ec(0xff))[_0x2221ec(0xe8)](_0x1b5e24,_0x2221ec(0xff),(..._0x5289be)=>_0x5289be[_0x2221ec(0xc8)](_0x4ac8a6=>_0x4ac8a6)),_0x1b13bd['on'](_0x2221ec(0xd2),_0x4ffac7=>{const _0x2956b3=_0x2221ec;this[_0x2956b3(0x138)][_0x2956b3(0xd2)](_0x4ffac7[_0x2956b3(0x102)][_0x2956b3(0xf2)]),this[_0x2956b3(0x138)][_0x2956b3(0xea)][_0x2956b3(0xf6)][_0x2956b3(0x148)]();}),_0x1b13bd;}[_0x5aa1a7(0x139)](_0x1447dd,_0x47e9a3,_0x27d166){const _0x4a27c0=_0x5aa1a7,_0x331863=new _0x404575(_0x1447dd),_0x5067af=this[_0x4a27c0(0x138)][_0x4a27c0(0x11a)][_0x4a27c0(0xed)](_0x4a27c0(0xe2));_0x331863[_0x4a27c0(0xc3)][_0x4a27c0(0x11d)]({'label':_0x27d166,'icon':_0x15d1bc});const _0x34276c=new _0x52a4c9(_0x1447dd);for(const _0x29874f of _0x47e9a3){if(_0x4a27c0(0x14e)==_0x29874f[_0x4a27c0(0x108)]){_0x34276c[_0x4a27c0(0x11b)][_0x4a27c0(0x12c)](new _0x22fc40(_0x1447dd));continue;}const _0x35e6a3=new _0x91e104(_0x1447dd,_0x331863),_0x8fa51=new _0x215337(_0x1447dd),_0xd362b7=_0x29874f[_0x4a27c0(0xcd)];_0x8fa51[_0x4a27c0(0xc5)](...Object[_0x4a27c0(0xf3)](_0xd362b7))['to'](_0xd362b7),_0x8fa51[_0x4a27c0(0xe3)](_0x4a27c0(0xd2))['to'](_0x331863),_0x8fa51['on'](_0x4a27c0(0xd2),()=>{const _0x1ec94c=_0x4a27c0;this[_0x1ec94c(0x138)][_0x1ec94c(0xd2)](_0xd362b7[_0x1ec94c(0xf2)]),this[_0x1ec94c(0x138)][_0x1ec94c(0xea)][_0x1ec94c(0xf6)][_0x1ec94c(0x148)]();}),_0x35e6a3[_0x4a27c0(0x130)][_0x4a27c0(0x12c)](_0x8fa51),_0x34276c[_0x4a27c0(0x11b)][_0x4a27c0(0x12c)](_0x35e6a3);}return _0x331863[_0x4a27c0(0xc5)](_0x4a27c0(0xff))['to'](_0x5067af,_0x4a27c0(0xff)),_0x331863[_0x4a27c0(0xfd)][_0x4a27c0(0x130)][_0x4a27c0(0x12c)](_0x34276c),_0x331863;}[_0x5aa1a7(0x14a)](_0x5e47e0){const _0x5e8414=_0x5aa1a7,_0x3a1fc0=this[_0x5e8414(0x138)],_0x203523=_0x3a1fc0[_0x5e8414(0x12b)],_0x24ba41=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xfc)),_0xfa6641=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xd7)),_0xbf0a80=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0x126)),_0xb6ef5d=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x2de89e)['me'],_0x481d82=_0x203523[_0x5e8414(0xed)](_0x5e8414(0xe2))[_0x5e8414(0xe9)],_0x17bc59=_0x203523[_0x5e8414(0xed)](_0x5e8414(0xe2))[_0x5e8414(0x12a)],{CommentsListView:_0x40602b,CommentThreadInputView:_0x1b6bc5}=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xf7));let _0x27a7ef,_0x5ef95b,_0xa1844a;this[_0x5e8414(0x10b)][_0x5e8414(0xef)](_0x5e47e0['id'])?(_0x5ef95b=this[_0x5e8414(0x10b)][_0x5e8414(0xed)](_0x5e47e0['id']),_0x27a7ef=_0x5ef95b[_0x5e8414(0xec)]):(_0x27a7ef=new _0x481d82(_0x3a1fc0[_0x5e8414(0x14f)],_0x5e47e0,_0xb6ef5d,{'disableComments':this[_0x5e8414(0xf0)],'editorConfig':_0x203523[_0x5e8414(0xed)](_0x5e8414(0xd9)),'maxCommentsWhenCollapsed':_0x203523[_0x5e8414(0xed)](_0x5e8414(0x109)),'maxThreadTotalWeight':_0x203523[_0x5e8414(0xed)](_0x5e8414(0xdf)),'maxCommentCharsWhenCollapsed':_0x203523[_0x5e8414(0xed)](_0x5e8414(0x13a)),'formatDateTime':_0x181744(_0x203523[_0x5e8414(0xed)](_0x5e8414(0x14f))),'CommentView':_0x203523[_0x5e8414(0xed)](_0x5e8414(0xf5))[_0x5e8414(0xd6)],'CommentsListView':_0x40602b,'CommentThreadInputView':_0x1b6bc5,'SuggestionView':_0x17bc59}),_0x27a7ef[_0x5e8414(0xbf)][_0x5e8414(0x115)]['on'](_0x5e8414(0xd2),()=>{const _0x41111c=_0x5e8414;_0x3a1fc0[_0x41111c(0xea)][_0x41111c(0xf6)][_0x41111c(0x148)]();}),_0x27a7ef[_0x5e8414(0xbf)][_0x5e8414(0x13b)]['on'](_0x5e8414(0xd2),()=>{const _0x3e2566=_0x5e8414;_0x3a1fc0[_0x3e2566(0xea)][_0x3e2566(0xf6)][_0x3e2566(0x148)]();}),_0x5ef95b=_0x24ba41[_0x5e8414(0xc9)](this[_0x5e8414(0x138)][_0x5e8414(0x14f)],_0x27a7ef),_0x5ef95b[_0x5e8414(0xc5)](_0x5e8414(0x135))['to'](_0x27a7ef,_0x5e8414(0x135)),_0x5ef95b[_0x5e8414(0xc5)](_0x5e8414(0x150))['to'](_0x27a7ef),_0x5ef95b[_0x5e8414(0xc5)](_0x5e8414(0x108))['to'](_0x27a7ef,_0x5e8414(0x108),_0x3d1109=>_0x5e8414(0xc4)+_0x3d1109),_0x27a7ef['on'](_0x5e8414(0xce),()=>{const _0x45d6b2=_0x5e8414;_0xa1844a[_0x45d6b2(0xc0)](_0x45d6b2(0xce));}),this[_0x5e8414(0x10b)][_0x5e8414(0x11d)](_0x5e47e0['id'],_0x5ef95b));const _0x1c65aa=_0xfa6641[_0x5e8414(0x110)](_0x5e47e0[_0x5e8414(0x112)],_0x27a7ef),_0xc29245=new _0x3d635f(_0x3a1fc0,_0x5e47e0,_0x27a7ef,_0x1c65aa),_0x44c774=_0x5e47e0[_0x5e8414(0xd1)]()[_0x5e8414(0xcf)](_0x3ac40d=>_0x3ac40d[_0x5e8414(0x101)]);_0x27a7ef[_0x5e8414(0x141)]=_0x3a1fc0[_0x5e8414(0x12f)][_0x5e8414(0xed)](_0x5e8414(0xeb))[_0x5e8414(0xbd)][_0x5e8414(0xda)](_0x44c774),this[_0x5e8414(0x147)][_0x5e8414(0x11d)](_0x5e47e0,_0xc29245),this[_0x5e8414(0x10d)][_0x5e8414(0x11d)](_0x27a7ef,_0xc29245),_0xa1844a=_0x24ba41[_0x5e8414(0x119)]({'view':_0x5ef95b,'target':()=>{const _0x34bb4f=_0x5e8414,_0x7df022=[],_0x2e136c=_0x5e47e0[_0x34bb4f(0xd1)]()[_0x34bb4f(0xcf)](_0xedd147=>_0xedd147[_0x34bb4f(0x101)]);for(const _0x5b0c51 of _0x2e136c)_0x7df022[_0x34bb4f(0x107)](..._0x5b0c51[_0x34bb4f(0x11e)]());return _0x1bae6b(_0x3a1fc0[_0x34bb4f(0xea)],_0x7df022);},'type':()=>_0x5e8414(0xc4)+_0xc29245[_0x5e8414(0xf6)][_0x5e8414(0x108)]}),_0xfa6641[_0x5e8414(0xba)](_0x27a7ef,_0xa1844a),_0x24ba41[_0x5e8414(0x12c)](_0xa1844a),_0xbf0a80[_0x5e8414(0xc7)](_0xa1844a);}[_0x5aa1a7(0xe0)](_0x333c9a){const _0x46bcfe=_0x5aa1a7,_0x25d745=this[_0x46bcfe(0x138)][_0x46bcfe(0x12f)][_0x46bcfe(0xed)](_0x46bcfe(0xd7)),_0x24e45b=this[_0x46bcfe(0x138)][_0x46bcfe(0x12f)][_0x46bcfe(0xed)](_0x46bcfe(0xfc)),_0x1ef5fe=this[_0x46bcfe(0x147)][_0x46bcfe(0xed)](_0x333c9a),_0x46e4dd=_0x1ef5fe[_0x46bcfe(0xf6)],_0x288c70=_0x24e45b[_0x46bcfe(0xfe)](_0x46e4dd);_0x25d745[_0x46bcfe(0x10f)](_0x46e4dd),_0x288c70&&_0x24e45b[_0x46bcfe(0xee)](_0x288c70),this[_0x46bcfe(0x147)][_0x46bcfe(0xf4)](_0x333c9a),this[_0x46bcfe(0x10d)][_0x46bcfe(0xf4)](_0x46e4dd),_0x1ef5fe[_0x46bcfe(0xfa)]();}[_0x5aa1a7(0xdb)](_0x36e1c0){const _0x217291=_0x5aa1a7;if(!_0x36e1c0[_0x217291(0x101)]||!this[_0x217291(0x147)][_0x217291(0xef)](_0x36e1c0))return;const _0x52e67a=this[_0x217291(0x138)][_0x217291(0x12f)][_0x217291(0xed)](_0x217291(0xeb)),_0x4ae7d7=this[_0x217291(0x147)][_0x217291(0xed)](_0x36e1c0),_0x4e651b=_0x36e1c0[_0x217291(0xd1)]();_0x4ae7d7[_0x217291(0xf6)][_0x217291(0x141)]=_0x52e67a[_0x217291(0xbd)][_0x217291(0xda)](_0x4e651b);}[_0x5aa1a7(0xfa)](){const _0x4f31a4=_0x5aa1a7;for(const _0x4f9e49 of this[_0x4f31a4(0x147)][_0x4f31a4(0xf3)]())this[_0x4f31a4(0xe0)](_0x4f9e49);for(const _0x1cb74f of this[_0x4f31a4(0x10b)][_0x4f31a4(0x105)]())_0x1cb74f[_0x4f31a4(0xec)][_0x4f31a4(0xfa)]();super[_0x4f31a4(0xfa)]();}}function me(_0x5b7930){const _0x538fd8=_0x5aa1a7;return _0x538fd8(0xcd)in _0x5b7930;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x108a62=_0x190f;function _0x2a8d(){const _0x42d3ea=['view','574928MgvIFU','_removePendingAction','change:isDirty','plugins','add','locale','18pXVgiC','canDiscard','_editor','getRanges','remove','PendingActions','1ixyNRw','1295200fRNJuO','355872wIFyXY','get','_discardCommand','_setPendingAction','stopListening','execute','isEnabled','unbind','694946hctsHd','commands','model','discardSuggestion','_pendingAction','canAccept','acceptSuggestion','listenTo','bind','destroy','isDirty','554694FHvGDA','924400rMZZLR','canEditAt','8544960GAgTWb','PENDING_ACTION_SUGGESTION','commentThreadController','_acceptCommand'];_0x2a8d=function(){return _0x42d3ea;};return _0x2a8d();}(function(_0x390a54,_0x2f5ab5){const _0x4c0f57=_0x190f,_0x4d1ec5=_0x390a54();while(!![]){try{const _0x4d7083=-parseInt(_0x4c0f57(0x1d3))/0x1*(parseInt(_0x4c0f57(0x1c7))/0x2)+-parseInt(_0x4c0f57(0x1bf))/0x3+-parseInt(_0x4c0f57(0x1c0))/0x4+-parseInt(_0x4c0f57(0x1d4))/0x5+parseInt(_0x4c0f57(0x1cd))/0x6*(parseInt(_0x4c0f57(0x1b4))/0x7)+-parseInt(_0x4c0f57(0x1d5))/0x8+parseInt(_0x4c0f57(0x1c2))/0x9;if(_0x4d7083===_0x2f5ab5)break;else _0x4d1ec5['push'](_0x4d1ec5['shift']());}catch(_0x537329){_0x4d1ec5['push'](_0x4d1ec5['shift']());}}}(_0x2a8d,0x3aaa0));function _0x190f(_0x2848f5,_0x11cae8){const _0x2a8de3=_0x2a8d();return _0x190f=function(_0x190f21,_0x159c08){_0x190f21=_0x190f21-0x1ad;let _0x2df4d1=_0x2a8de3[_0x190f21];return _0x2df4d1;},_0x190f(_0x2848f5,_0x11cae8);}import{ObservableMixin as _0x48cd75}from'ckeditor5/src/utils.js';import{getTranslation as _0x2bb538}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48cd75(){constructor(_0xdfb287,_0x116dbd,_0x55d21c,_0x29d0df){const _0xc01139=_0x190f;super(),this[_0xc01139(0x1b6)]=_0x116dbd,this[_0xc01139(0x1c6)]=_0x55d21c,this[_0xc01139(0x1c4)]=_0x29d0df,this[_0xc01139(0x1cf)]=_0xdfb287,this[_0xc01139(0x1c5)]=_0xdfb287[_0xc01139(0x1b5)][_0xc01139(0x1ad)](_0xc01139(0x1ba)),this[_0xc01139(0x1ae)]=_0xdfb287[_0xc01139(0x1b5)][_0xc01139(0x1ad)](_0xc01139(0x1b7)),this[_0xc01139(0x1c6)][_0xc01139(0x1bc)](_0xc01139(0x1b2))['to'](this[_0xc01139(0x1c5)],this[_0xc01139(0x1ae)],(_0x3f4c42,_0x4269c5)=>_0x3f4c42||_0x4269c5),this[_0xc01139(0x1c6)][_0xc01139(0x1bc)](_0xc01139(0x1b9))['to'](this[_0xc01139(0x1c5)],_0xc01139(0x1b2),_0xad6060=>_0xad6060&&this[_0xc01139(0x1cf)][_0xc01139(0x1b6)][_0xc01139(0x1c1)](_0x116dbd[_0xc01139(0x1d0)]())),this[_0xc01139(0x1c6)][_0xc01139(0x1bc)](_0xc01139(0x1ce))['to'](this[_0xc01139(0x1ae)],_0xc01139(0x1b2),_0xb42560=>_0xb42560&&this[_0xc01139(0x1cf)][_0xc01139(0x1b6)][_0xc01139(0x1c1)](_0x116dbd[_0xc01139(0x1d0)]())),this[_0xc01139(0x1b8)]=null,_0x55d21c[_0xc01139(0x1be)]&&this[_0xc01139(0x1af)](),this[_0xc01139(0x1bb)](_0x55d21c,_0xc01139(0x1ba),()=>this[_0xc01139(0x1ba)]()),this[_0xc01139(0x1bb)](_0x55d21c,_0xc01139(0x1b7),()=>this[_0xc01139(0x1b7)]()),this[_0xc01139(0x1bb)](_0x55d21c,_0xc01139(0x1c9),()=>{const _0xdbaca1=_0xc01139;_0x55d21c[_0xdbaca1(0x1be)]?this[_0xdbaca1(0x1af)]():this[_0xdbaca1(0x1c8)]();});}[_0x108a62(0x1ba)](){const _0x2f2b2a=_0x108a62;this[_0x2f2b2a(0x1c5)][_0x2f2b2a(0x1b1)](this[_0x2f2b2a(0x1b6)]['id']);}[_0x108a62(0x1b7)](){const _0x1cd884=_0x108a62;this[_0x1cd884(0x1ae)][_0x1cd884(0x1b1)](this[_0x1cd884(0x1b6)]['id']);}[_0x108a62(0x1bd)](){const _0x394cf8=_0x108a62;this[_0x394cf8(0x1c6)][_0x394cf8(0x1b3)](_0x394cf8(0x1b2)),this[_0x394cf8(0x1c6)][_0x394cf8(0x1b3)](_0x394cf8(0x1b9)),this[_0x394cf8(0x1c6)][_0x394cf8(0x1b3)](_0x394cf8(0x1ce)),this[_0x394cf8(0x1b0)](),this[_0x394cf8(0x1c4)][_0x394cf8(0x1bd)](),this[_0x394cf8(0x1b8)]&&this[_0x394cf8(0x1c8)]();}[_0x108a62(0x1af)](){const _0x86066a=_0x108a62,_0x1d8f8a=_0x2bb538(this[_0x86066a(0x1cf)][_0x86066a(0x1cc)],_0x86066a(0x1c3));this[_0x86066a(0x1b8)]=this[_0x86066a(0x1cf)][_0x86066a(0x1ca)][_0x86066a(0x1ad)](_0x86066a(0x1d2))[_0x86066a(0x1cb)](_0x1d8f8a);}[_0x108a62(0x1c8)](){const _0x5b2bfb=_0x108a62;null!==this[_0x5b2bfb(0x1b8)]&&this[_0x5b2bfb(0x1cf)][_0x5b2bfb(0x1ca)][_0x5b2bfb(0x1ad)](_0x5b2bfb(0x1d2))[_0x5b2bfb(0x1d1)](this[_0x5b2bfb(0x1b8)]),this[_0x5b2bfb(0x1b8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c533c=_0x456b;(function(_0x89c848,_0x43e4aa){const _0x3005d7=_0x456b,_0x20e9cf=_0x89c848();while(!![]){try{const _0x423c15=-parseInt(_0x3005d7(0xec))/0x1+parseInt(_0x3005d7(0xdf))/0x2+parseInt(_0x3005d7(0xf1))/0x3*(parseInt(_0x3005d7(0xf6))/0x4)+parseInt(_0x3005d7(0xf9))/0x5*(-parseInt(_0x3005d7(0xda))/0x6)+-parseInt(_0x3005d7(0xfe))/0x7+parseInt(_0x3005d7(0xe5))/0x8*(parseInt(_0x3005d7(0x106))/0x9)+parseInt(_0x3005d7(0x108))/0xa;if(_0x423c15===_0x43e4aa)break;else _0x20e9cf['push'](_0x20e9cf['shift']());}catch(_0x292606){_0x20e9cf['push'](_0x20e9cf['shift']());}}}(_0x3e68,0x76d1a));import{FocusCycler as _0x4ed125,View as _0x28ec72,ViewCollection as _0x4a6ad1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x31c024,KeystrokeHandler as _0x5a000c}from'ckeditor5/src/utils.js';function _0x456b(_0x11e5e2,_0x1149c6){const _0x3e6841=_0x3e68();return _0x456b=function(_0x456bd0,_0xc9f359){_0x456bd0=_0x456bd0-0xcd;let _0x486278=_0x3e6841[_0x456bd0];return _0x486278;},_0x456b(_0x11e5e2,_0x1149c6);}import{AriaDescriptionView as _0x559b96,setupThreadKeyboardNavigation as _0x578da5}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x18d6e2}from'../../utils/common-translations.js';function _0x3e68(){const _0x4086f6=['editor','join','set','isReadOnly','6769903SLtvyF','editorConfig','_createCommentViews','authoredAt','CommentView','descriptionParts','keystrokes','removeComment','9bljtsR','hasDirtyComment','3206980wOMyCG','disabledSubmit','element','commentsListView','canDiscard','_createCommentThreadInputView','render','focus','cancel','bind','content','textContent','target','updateComment','ariaDescriptionView','fire','author','assign','shift+tab','_localUser','focusables','parseFromString','map','isActive','isDirty','submit','_config','5652258rJHCpY','isEnabled','focusCycler','commentThreadInputView','body','1789068wIqSSb','showInput','tab','focusTracker','commentThread','addComment','5804992qoPhcr','commentInputView','length','disableComments','text/html','canAccept','formatDateTime','35460vTuBZr','SUGGESTION_THREAD_DESCRIPTION','setData','delegate','_model','9ohjRvT','value','name','SUGGESTION_THREAD_ARIA_LABEL','destroy','653944KwiELM','ariaLabel','locale','5rfALjz'];_0x3e68=function(){return _0x4086f6;};return _0x3e68();}import{renderDescription as _0x4f1758}from'../../utils/utils.js';export default class us extends _0x28ec72{constructor(_0x7929db,_0x582b16,_0x39328a,_0x256f1d){const _0x3573a9=_0x456b;super(_0x7929db),this[_0x3573a9(0x10b)]=null,this[_0x3573a9(0xdd)]=null,this[_0x3573a9(0xcd)]=new _0x559b96(_0x7929db,_0x18d6e2(_0x7929db,_0x3573a9(0xed))),this[_0x3573a9(0xfc)](_0x3573a9(0xd6),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0x101),_0x582b16[_0x3573a9(0x101)]),this[_0x3573a9(0x111)](_0x3573a9(0x101))['to'](_0x582b16),this[_0x3573a9(0xfc)](_0x3573a9(0x103),[]),this[_0x3573a9(0xfc)](_0x3573a9(0xd7),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0xdb),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0xea),!0x1),this[_0x3573a9(0xfc)](_0x3573a9(0x10c),!0x1),this[_0x3573a9(0x111)](_0x3573a9(0xf7))['to'](this,_0x3573a9(0xe7),_0x582b16,_0x3573a9(0x101),this,_0x3573a9(0x103),(_0x3c1751,_0x1af197,_0x3bdd2)=>{const _0x48dc97=_0x3573a9,_0x7cc204=_0x3bdd2[_0x48dc97(0xd5)](_0x3272e3=>_0x4f1758(_0x3272e3[_0x48dc97(0x112)]))[_0x48dc97(0xfb)]('.\x20')+'.';return _0x18d6e2(this[_0x48dc97(0xf8)],_0x48dc97(0xf4),[_0x3c1751-0x1,_0x582b16[_0x48dc97(0xcf)][_0x48dc97(0xf3)],_0x1af197?_0x256f1d[_0x48dc97(0xeb)](_0x1af197):'',new DOMParser()[_0x48dc97(0xd4)](_0x7cc204,_0x48dc97(0xe9))[_0x48dc97(0xde)][_0x48dc97(0x113)]]);}),this[_0x3573a9(0xd3)]=new _0x4a6ad1(),this[_0x3573a9(0xe2)]=new _0x31c024(),this[_0x3573a9(0x104)]=new _0x5a000c(),this[_0x3573a9(0xdc)]=new _0x4ed125({'focusables':this[_0x3573a9(0xd3)],'focusTracker':this[_0x3573a9(0xe2)],'keystrokeHandler':this[_0x3573a9(0x104)],'keystrokeHandlerOptions':{'filter':_0x15ff72=>_0x15ff72[_0x3573a9(0x114)]!==this[_0x3573a9(0x10a)]},'actions':{'focusPrevious':_0x3573a9(0xd1),'focusNext':_0x3573a9(0xe1)}}),this[_0x3573a9(0xf0)]=_0x582b16,this[_0x3573a9(0xd2)]=_0x39328a,this[_0x3573a9(0xd9)]=_0x256f1d,_0x256f1d[_0x3573a9(0xe8)]?this[_0x3573a9(0xfc)](_0x3573a9(0xe7),0x1):this[_0x3573a9(0x100)]();}[_0x5c533c(0x10e)](){const _0x5ba318=_0x5c533c;super[_0x5ba318(0x10e)](),_0x578da5(this,this[_0x5ba318(0xd3)]);}[_0x5c533c(0x10f)](){const _0x192dc2=_0x5c533c;this[_0x192dc2(0x10a)][_0x192dc2(0x10f)]();}[_0x5c533c(0xf5)](){const _0x16fc2a=_0x5c533c;this[_0x16fc2a(0x10b)]&&this[_0x16fc2a(0x10b)][_0x16fc2a(0xf5)](),this[_0x16fc2a(0xdd)]&&this[_0x16fc2a(0xdd)][_0x16fc2a(0xf5)](),super[_0x16fc2a(0xf5)]();}[_0x5c533c(0x100)](){const _0xaabf22=_0x5c533c,{CommentsListView:_0x6f8d18}=this[_0xaabf22(0xd9)];this[_0xaabf22(0x10b)]=new _0x6f8d18(this[_0xaabf22(0xf8)],this[_0xaabf22(0xf0)][_0xaabf22(0xe3)],Object[_0xaabf22(0xd0)]({'CommentView':this[_0xaabf22(0xd9)][_0xaabf22(0x102)]},this[_0xaabf22(0xd9)])),this[_0xaabf22(0x10b)][_0xaabf22(0xef)](_0xaabf22(0x105))['to'](this),this[_0xaabf22(0x10b)][_0xaabf22(0xef)](_0xaabf22(0x115))['to'](this),this[_0xaabf22(0x10b)][_0xaabf22(0x111)](_0xaabf22(0xd6))['to'](this),this[_0xaabf22(0xfc)](_0xaabf22(0xe7),this[_0xaabf22(0x10b)][_0xaabf22(0xe7)]+0x1),this[_0xaabf22(0x111)](_0xaabf22(0xe7))['to'](this[_0xaabf22(0x10b)],_0xaabf22(0xe7),_0x10ad83=>_0x10ad83+0x1),this[_0xaabf22(0xdd)]=this[_0xaabf22(0x10d)](),this['on'](_0xaabf22(0x105),()=>this[_0xaabf22(0x10f)]()),this[_0xaabf22(0x111)](_0xaabf22(0xd7))['to'](this[_0xaabf22(0x10b)],_0xaabf22(0x107),this[_0xaabf22(0xdd)][_0xaabf22(0xe6)],_0xaabf22(0xf2),(_0xe873f1,_0x520136)=>_0xe873f1||!!_0x520136);}[_0x5c533c(0x10d)](){const _0x374171=_0x5c533c,{CommentThreadInputView:_0x15a2ca}=this[_0x374171(0xd9)],_0x33bb6a=new _0x15a2ca(this[_0x374171(0xf8)],this[_0x374171(0xd2)],this[_0x374171(0xd9)][_0x374171(0xff)]),_0x478220=_0x33bb6a[_0x374171(0xe6)];return _0x33bb6a[_0x374171(0x111)](_0x374171(0xe0))['to'](this,_0x374171(0xd6),this[_0x374171(0xf0)][_0x374171(0xe3)],_0x374171(0xfd),_0x478220,_0x374171(0xf2),(_0x5b8bb0,_0x249744,_0x20e12d)=>!!_0x20e12d||_0x5b8bb0&&!_0x249744),_0x478220['on'](_0x374171(0xd8),(_0x23b4dc,_0x4aee0b)=>{const _0x50d2dc=_0x374171;this[_0x50d2dc(0xce)](_0x50d2dc(0xe4),_0x4aee0b),_0x478220[_0x50d2dc(0xfa)][_0x50d2dc(0xee)]('');}),_0x478220['on'](_0x374171(0x110),()=>this[_0x374171(0x10f)]()),_0x478220[_0x374171(0x111)](_0x374171(0x109))['to'](this[_0x374171(0xf0)][_0x374171(0xe3)],_0x374171(0xfd)),_0x33bb6a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33aeff=_0x5672;(function(_0x31f85a,_0x5b787b){const _0xc14173=_0x5672,_0x4e8b9b=_0x31f85a();while(!![]){try{const _0x6cc3bb=parseInt(_0xc14173(0x1d8))/0x1*(-parseInt(_0xc14173(0x1ab))/0x2)+-parseInt(_0xc14173(0x1af))/0x3*(parseInt(_0xc14173(0x1c2))/0x4)+-parseInt(_0xc14173(0x1de))/0x5+parseInt(_0xc14173(0x1b3))/0x6*(-parseInt(_0xc14173(0x1da))/0x7)+-parseInt(_0xc14173(0x1df))/0x8+-parseInt(_0xc14173(0x1be))/0x9+parseInt(_0xc14173(0x1cc))/0xa;if(_0x6cc3bb===_0x5b787b)break;else _0x4e8b9b['push'](_0x4e8b9b['shift']());}catch(_0x75fe74){_0x4e8b9b['push'](_0x4e8b9b['shift']());}}}(_0x3cf8,0xc4a57));function _0x5672(_0x4a39d1,_0x1206e7){const _0x3cf854=_0x3cf8();return _0x5672=function(_0x567270,_0x445489){_0x567270=_0x567270-0x1a8;let _0x4a3322=_0x3cf854[_0x567270];return _0x4a3322;},_0x5672(_0x4a39d1,_0x1206e7);}import{default as _0x1a0bf3}from'./basesuggestionthreadview.js';import{trimHtml as _0x521d3c}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x15c518}from'../../utils/utils.js';function _0x3cf8(){const _0x328915=['descriptionParts','_descriptionElement','disableComments','discardButton','add','suggestionView','51223810JxccnP','ariaDescriptionView','set','bindTemplate','commentThread','type','canDiscard','div','discardSuggestion','ariaLabel','_config','focusables','894951WQVOPM','bind','7uJJsPT','commentThreadInputView','ck-rounded-corners','formatDateTime','4903870BNYBCS','8138144OBEHQN','_model','delegate','</p>','push','2TMCdVL','color','editorReady','acceptSuggestion','9903dkuSQU','author','ck-suggestion-wrapper--active','ck-suggestion-','1863006DOzAbp','getTemplate','isEnabled','acceptButton','setTemplate','ck-suggestion--disabled-comments','commentsListView','description','content','<p>','isActive','9010710cqwwpb','render','editorDestroyed','ck-suggestion-wrapper','136cmLLHj','SuggestionView','listitem','canAccept'];_0x3cf8=function(){return _0x328915;};return _0x3cf8();}export default class re extends _0x1a0bf3{constructor(_0x33a1c9,_0x2a2aa5,_0xd4574e,_0xee2f3e){const _0x1ad059=_0x5672;super(_0x33a1c9,_0x2a2aa5,_0xd4574e,_0xee2f3e),this[_0x1ad059(0x1ce)](_0x1ad059(0x1d1),''),this[_0x1ad059(0x1d9)](_0x1ad059(0x1d1))['to'](this,_0x1ad059(0x1c6),_0x37855a=>_0x37855a&&_0x37855a[0x0]?_0x37855a[0x0][_0x1ad059(0x1d1)]:''),this[_0x1ad059(0x1d9)](_0x1ad059(0x1ba))['to'](this,_0x1ad059(0x1c6),this,_0x1ad059(0x1bd),(_0x53413e,_0x33cbac)=>{const _0x1b897f=_0x1ad059;let _0x3e56ee='';for(const _0x197254 of _0x53413e)_0x3e56ee+=_0x1b897f(0x1bc)+_0x15c518(_0x197254[_0x1b897f(0x1bb)],_0x197254[_0x1b897f(0x1ac)])+_0x1b897f(0x1a9);return _0x33cbac?_0x3e56ee:_0x521d3c(_0x3e56ee,{'limit':0x8c});}),this[_0x1ad059(0x1c7)]=null,this[_0x1ad059(0x1cb)]=new _0xee2f3e[(_0x1ad059(0x1c3))](_0x33a1c9,_0x2a2aa5,{'formatDateTime':_0xee2f3e[_0x1ad059(0x1dd)]}),this[_0x1ad059(0x1cb)][_0x1ad059(0x1d9)](_0x1ad059(0x1ba))['to'](this),this[_0x1ad059(0x1cb)][_0x1ad059(0x1a8)](_0x1ad059(0x1ae),_0x1ad059(0x1d4))['to'](this),this[_0x1ad059(0x1cb)][_0x1ad059(0x1b6)][_0x1ad059(0x1d9)](_0x1ad059(0x1b5))['to'](this,_0x1ad059(0x1c5)),this[_0x1ad059(0x1cb)][_0x1ad059(0x1c9)][_0x1ad059(0x1d9)](_0x1ad059(0x1b5))['to'](this,_0x1ad059(0x1d2)),this[_0x1ad059(0x1d7)][_0x1ad059(0x1ca)](this[_0x1ad059(0x1cb)]),this[_0x1ad059(0x1b9)]&&this[_0x1ad059(0x1d7)][_0x1ad059(0x1ca)](this[_0x1ad059(0x1b9)]),this[_0x1ad059(0x1db)]&&this[_0x1ad059(0x1d7)][_0x1ad059(0x1ca)](this[_0x1ad059(0x1db)]),this[_0x1ad059(0x1b7)](this[_0x1ad059(0x1b4)]());}[_0x33aeff(0x1b4)](){const _0x4ee5e3=_0x33aeff,_0x4e544d=this[_0x4ee5e3(0x1cf)],_0x176fe7=[this[_0x4ee5e3(0x1cb)]];return this[_0x4ee5e3(0x1b9)]&&_0x176fe7[_0x4ee5e3(0x1aa)](this[_0x4ee5e3(0x1b9)]),this[_0x4ee5e3(0x1db)]&&_0x176fe7[_0x4ee5e3(0x1aa)](this[_0x4ee5e3(0x1db)]),_0x176fe7[_0x4ee5e3(0x1aa)](this[_0x4ee5e3(0x1cd)]),{'tag':_0x4ee5e3(0x1d3),'attributes':{'class':['ck',_0x4ee5e3(0x1dc),_0x4ee5e3(0x1c1),_0x4e544d['if'](_0x4ee5e3(0x1bd),_0x4ee5e3(0x1b1)),_0x4e544d['to'](_0x4ee5e3(0x1d1),_0xaa8dc7=>_0x4ee5e3(0x1b2)+_0xaa8dc7),this[_0x4ee5e3(0x1d6)][_0x4ee5e3(0x1c8)]&&_0x4ee5e3(0x1b8)],'data-suggestion-id':this[_0x4ee5e3(0x1e0)]['id'],'data-thread-id':this[_0x4ee5e3(0x1e0)][_0x4ee5e3(0x1d0)]['id'],'data-author-id':this[_0x4ee5e3(0x1e0)][_0x4ee5e3(0x1b0)]['id'],'tabindex':0x0,'role':_0x4ee5e3(0x1c4),'aria-label':_0x4e544d['to'](_0x4ee5e3(0x1d5)),'aria-describedby':this[_0x4ee5e3(0x1cd)]['id']},'children':_0x176fe7};}[_0x33aeff(0x1bf)](){const _0x7cf2a8=_0x33aeff;super[_0x7cf2a8(0x1bf)](),this[_0x7cf2a8(0x1b9)]&&(this[_0x7cf2a8(0x1b9)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1ad))['to'](this),this[_0x7cf2a8(0x1b9)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1c0))['to'](this)),this[_0x7cf2a8(0x1db)]&&(this[_0x7cf2a8(0x1db)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1ad))['to'](this),this[_0x7cf2a8(0x1db)][_0x7cf2a8(0x1a8)](_0x7cf2a8(0x1c0))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd96a10=_0x552f;(function(_0x154f24,_0x558691){const _0x148ed7=_0x552f,_0x4b270f=_0x154f24();while(!![]){try{const _0x567664=-parseInt(_0x148ed7(0x92))/0x1+-parseInt(_0x148ed7(0xa4))/0x2*(parseInt(_0x148ed7(0xa1))/0x3)+-parseInt(_0x148ed7(0xa2))/0x4*(parseInt(_0x148ed7(0x85))/0x5)+parseInt(_0x148ed7(0x9a))/0x6+parseInt(_0x148ed7(0x96))/0x7*(parseInt(_0x148ed7(0x9d))/0x8)+parseInt(_0x148ed7(0xbf))/0x9+-parseInt(_0x148ed7(0x9e))/0xa*(-parseInt(_0x148ed7(0xb3))/0xb);if(_0x567664===_0x558691)break;else _0x4b270f['push'](_0x4b270f['shift']());}catch(_0x2a6a7a){_0x4b270f['push'](_0x4b270f['shift']());}}}(_0x4213,0xc3f8d));function _0x552f(_0x55188b,_0x8c01ee){const _0x421392=_0x4213();return _0x552f=function(_0x552f0e,_0x12a3a5){_0x552f0e=_0x552f0e-0x6d;let _0x1e4413=_0x421392[_0x552f0e];return _0x1e4413;},_0x552f(_0x55188b,_0x8c01ee);}import{FocusTracker as _0x3070c6,KeystrokeHandler as _0x554752}from'ckeditor5/src/utils.js';import{View as _0x2aeee1,ViewCollection as _0x8a98d6,FocusCycler as _0x461659}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x32f6f1,UserView as _0x110542}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4213(){const _0x2704a8=['ck-suggestion__main','2973680VLRqZw','discardSuggestion','getUserViewNotificationText','source','focusCycler','_createButton','change:description','ck-suggestion','shift+tab','set','setTemplate','element','innerHTML','1413366fqKjhL','ck-suggestion--accept','isExternal','description','7ERDiLE','userView','ck-suggestion__info-name','_setupKeyboardNavigation','9620784behwPv','div','EXTERNAL_AVATAR','11920920Jzvqnt','10dMUcZe','span','EXTERNAL_SUGGESTION','3wBJzRI','8oMBKtY','querySelector','2320726ETMfmU','ck-suggestion__info','ck-annotation__actions','_config','bind','presentation','cancel','check','focus','listenTo','getTemplate','ck-annotation','render','ck-annotation__main','focusTracker','667007oLoPzw','ck-annotation__info-name','@external','.ck-annotation__content-wrapper','ck-suggestion--discard','acceptSuggestion','push','fire','enter','focusFirst','esc','author','12705174nZvoGC','bindTemplate','importWord','time','acceptButton','ck-suggestion__user','ck-annotation__info-time','ck-annotation__content-wrapper','execute','discardButton','Discard\x20suggestion','Accept\x20suggestion','ck-suggestion__actions','attributes','_model','ck-annotation__user','extendTemplate','formatDateTime','keystrokes','getExternalSuggestionNote','creator','tab','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__external','focusables','authoredAt','target','ck-comment__info-time','ck-annotation__info','locale','add','EXTERNAL_IMPORT_WORD_SUGGESTION','name'];_0x4213=function(){return _0x2704a8;};return _0x4213();}import{icons as _0x1a2f50}from'ckeditor5/src/core.js';import{getTranslation as _0x48652d}from'../../utils/common-translations.js';export default class ce extends _0x2aeee1{constructor(_0xd23db3,_0x2b1fe5,_0x398799){const _0x4e49af=_0x552f;super(_0xd23db3),this[_0x4e49af(0x71)]=_0x2b1fe5,this[_0x4e49af(0xa7)]=_0x398799,this[_0x4e49af(0x8e)](_0x4e49af(0x95),''),this[_0x4e49af(0xa8)](_0x4e49af(0x7c))['to'](_0x2b1fe5),this[_0x4e49af(0xc3)]=this[_0x4e49af(0x8a)](_0x48652d(_0xd23db3,_0x4e49af(0x6e)),_0x1a2f50[_0x4e49af(0xab)],_0x4e49af(0x93),_0x4e49af(0xb8),'sw'),this[_0x4e49af(0xc8)]=this[_0x4e49af(0x8a)](_0x48652d(_0xd23db3,_0x4e49af(0x6d)),_0x1a2f50[_0x4e49af(0xaa)],_0x4e49af(0xb7),_0x4e49af(0x86),'sw'),this[_0x4e49af(0x97)]=new _0x110542(_0xd23db3,_0x2b1fe5[_0x4e49af(0xbe)],this[_0x4e49af(0x87)]()),this[_0x4e49af(0x97)][_0x4e49af(0x73)]({'attributes':{'class':[_0x4e49af(0xc4),_0x4e49af(0x72)],'aria-hidden':!0x0}}),this[_0x4e49af(0x7b)]=new _0x8a98d6([this[_0x4e49af(0xc3)],this[_0x4e49af(0xc8)]]),this[_0x4e49af(0xb2)]=new _0x3070c6(),this[_0x4e49af(0x75)]=new _0x554752(),this[_0x4e49af(0x89)]=new _0x461659({'focusables':this[_0x4e49af(0x7b)],'focusTracker':this[_0x4e49af(0xb2)],'keystrokeHandler':this[_0x4e49af(0x75)],'actions':{'focusPrevious':_0x4e49af(0x8d),'focusNext':_0x4e49af(0x78)},'keystrokeHandlerOptions':{'filter':_0x506b4c=>_0x506b4c[_0x4e49af(0x7d)]!==this[_0x4e49af(0x90)]}}),this[_0x4e49af(0x8f)](this[_0x4e49af(0xae)]());}[_0xd96a10(0xb0)](){const _0x529f87=_0xd96a10;super[_0x529f87(0xb0)]();const _0x669c2=this[_0x529f87(0x90)][_0x529f87(0xa3)](_0x529f87(0xb6));_0x669c2[_0x529f87(0x91)]=this[_0x529f87(0x95)],this['on'](_0x529f87(0x8b),(_0x308b0a,_0x4630ee,_0x15e435)=>{const _0x28f59f=_0x529f87;_0x669c2[_0x28f59f(0x91)]=_0x15e435;}),this[_0x529f87(0x99)]();}[_0xd96a10(0xae)](){const _0x581285=_0xd96a10,_0x15d8c2=this[_0x581285(0xc0)],_0x5f301e=[{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0xa5),_0x581285(0x7f)]},'children':[{'tag':_0x581285(0x9f),'children':[{'text':this[_0x581285(0x97)][_0x581285(0x83)]}],'attributes':{'class':[_0x581285(0x98),_0x581285(0xb4)]}},{'tag':_0x581285(0xc2),'attributes':{'datetime':_0x15d8c2['to'](_0x581285(0x7c)),'class':[_0x581285(0x7e),_0x581285(0xc5)]},'children':[{'text':_0x15d8c2['to'](_0x581285(0x7c),_0x3ea68d=>this[_0x581285(0xa7)][_0x581285(0x74)](_0x3ea68d))}]}]},{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x6f),_0x581285(0xa6)]},'children':[this[_0x581285(0xc3)],this[_0x581285(0xc8)]]},{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0xc6)]}}];return this[_0x581285(0x71)][_0x581285(0x94)]&&_0x5f301e[_0x581285(0xb9)]({'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x7a)]},'children':[{'text':this[_0x581285(0x76)]()}]}),{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x8c),_0x581285(0xaf)],'tabindex':-0x1},'children':[this[_0x581285(0x97)],{'tag':_0x581285(0x9b),'attributes':{'class':[_0x581285(0x84),_0x581285(0xb1)],'role':_0x581285(0xa9)},'children':_0x5f301e}]};}[_0xd96a10(0xac)](){const _0x4d8eea=_0xd96a10;this[_0x4d8eea(0x90)][_0x4d8eea(0xac)]();}[_0xd96a10(0x87)](){const _0x158be0=_0xd96a10;return this[_0x158be0(0x71)][_0x158be0(0x94)]?_0x158be0(0xc1)===this[_0x158be0(0x71)][_0x158be0(0x70)][_0x158be0(0xb5)][_0x158be0(0x88)]?_0x48652d(this[_0x158be0(0x80)],_0x158be0(0x79),this[_0x158be0(0x71)][_0x158be0(0x77)][_0x158be0(0x83)]):_0x48652d(this[_0x158be0(0x80)],_0x158be0(0x9c),this[_0x158be0(0x71)][_0x158be0(0x77)][_0x158be0(0x83)]):null;}[_0xd96a10(0x76)](){const _0x5b4ed3=_0xd96a10;return _0x5b4ed3(0xc1)===this[_0x5b4ed3(0x71)][_0x5b4ed3(0x70)][_0x5b4ed3(0xb5)][_0x5b4ed3(0x88)]?_0x48652d(this[_0x5b4ed3(0x80)],_0x5b4ed3(0x82)):_0x48652d(this[_0x5b4ed3(0x80)],_0x5b4ed3(0xa0));}[_0xd96a10(0x8a)](_0x285790,_0xce3493,_0xe49070,_0x500583,_0x5078ea){const _0x25cf53=_0xd96a10,_0x4c962b=new _0x32f6f1(this[_0x25cf53(0x80)]);return _0x4c962b[_0x25cf53(0x8e)]({'label':_0x285790,'icon':_0xce3493,'tooltip':!0x0,'tooltipPosition':_0x5078ea}),_0x4c962b[_0x25cf53(0x73)]({'attributes':{'class':_0xe49070}}),_0x4c962b['on'](_0x25cf53(0xc7),()=>{const _0x507dd3=_0x25cf53;this[_0x507dd3(0xba)](_0x500583,this[_0x507dd3(0x71)]['id']);}),_0x4c962b;}[_0xd96a10(0x99)](){const _0x233900=_0xd96a10,_0x5e3ea0=this[_0x233900(0x90)];this[_0x233900(0x75)][_0x233900(0xad)](_0x5e3ea0);for(const _0x7d784c of this[_0x233900(0x7b)])this[_0x233900(0xb2)][_0x233900(0x81)](_0x7d784c[_0x233900(0x90)]),this[_0x233900(0x75)][_0x233900(0xad)](_0x7d784c[_0x233900(0x90)]);this[_0x233900(0x75)][_0x233900(0x8e)](_0x233900(0xbb),(_0x6fcbd8,_0x51f192)=>{const _0x130346=_0x233900;_0x5e3ea0===_0x6fcbd8[_0x130346(0x7d)]&&(this[_0x130346(0x89)][_0x130346(0xbc)](),_0x51f192());}),this[_0x233900(0x75)][_0x233900(0x8e)](_0x233900(0xbd),(_0x3e5da3,_0x50d14d)=>{const _0x1e5862=_0x233900;_0x5e3ea0!==_0x3e5da3[_0x1e5862(0x7d)]&&(this[_0x1e5862(0xac)](),_0x50d14d());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1b1806,_0x41e146,_0x31e637){const t=_0x1b1806['t'];switch(_0x41e146){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',_0x31e637);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x31e637);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x31e637);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x31e637);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x31e637);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',_0x31e637);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x31e637);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',_0x31e637);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x31e637);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x31e637);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x31e637);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x31e637);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x31e637);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x31e637);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x31e637);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x31e637);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x31e637);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x31e637);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x31e637);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x31e637);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x31e637);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x31e637);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x31e637);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'},_0x31e637);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x31e637);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x31e637);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x31e637);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x31e637);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x31e637);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'},_0x31e637);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x31e637);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x31e637);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x31e637);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x31e637);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'},_0x31e637);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x31e637);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'},_0x31e637);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'},_0x31e637);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x31e637);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'},_0x31e637);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x31e637);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'},_0x31e637);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x31e637);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x31e637);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x31e637);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'},_0x31e637);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'},_0x31e637);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x31e637);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x31e637);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x31e637);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x31e637);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x41e146;}}
|
|
23
|
+
export function getTranslation(_0x2f653f,_0xfbc494,_0x3c1c7c){const t=_0x2f653f['t'];switch(_0xfbc494){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',_0x3c1c7c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3c1c7c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3c1c7c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3c1c7c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3c1c7c);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',_0x3c1c7c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3c1c7c);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',_0x3c1c7c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3c1c7c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3c1c7c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3c1c7c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3c1c7c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3c1c7c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3c1c7c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3c1c7c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3c1c7c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3c1c7c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3c1c7c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3c1c7c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3c1c7c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3c1c7c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3c1c7c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3c1c7c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3c1c7c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3c1c7c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3c1c7c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3c1c7c);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'},_0x3c1c7c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3c1c7c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3c1c7c);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x3c1c7c);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'},_0x3c1c7c);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'},_0x3c1c7c);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3c1c7c);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x3c1c7c);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x3c1c7c);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x3c1c7c);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xfbc494;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x59829c,_0x532e88){const _0x18a809=_0x319e,_0x584c46=_0x59829c();while(!![]){try{const _0x344ec4=-parseInt(_0x18a809(0x19a))/0x1+parseInt(_0x18a809(0x1b3))/0x2*(parseInt(_0x18a809(0x1ad))/0x3)+-parseInt(_0x18a809(0x1ab))/0x4*(-parseInt(_0x18a809(0x18b))/0x5)+-parseInt(_0x18a809(0x18d))/0x6*(-parseInt(_0x18a809(0x1aa))/0x7)+-parseInt(_0x18a809(0x1af))/0x8+-parseInt(_0x18a809(0x194))/0x9+parseInt(_0x18a809(0x18f))/0xa;if(_0x344ec4===_0x532e88)break;else _0x584c46['push'](_0x584c46['shift']());}catch(_0x137319){_0x584c46['push'](_0x584c46['shift']());}}}(_0x59c8,0x26d68));export function normalizeDescription(_0x2fcafb){const _0x561a6a=_0x319e;return Array[_0x561a6a(0x18a)](_0x2fcafb)||(_0x2fcafb=[_0x2fcafb]),_0x2fcafb[_0x561a6a(0x19b)](_0x4ec74d=>{const _0x4df143=_0x561a6a,_0x155104=_0x4ec74d[_0x4df143(0x181)][_0x4df143(0x19f)](/\*/g,''),_0x3196c8=_0x4ec74d[_0x4df143(0x186)]?_0x4df143(0x1b1)+_0x4ec74d[_0x4df143(0x186)][_0x4df143(0x198)]+']':'';return'['+_0x4ec74d[_0x4df143(0x1ac)]+']\x20'+_0x155104+_0x3196c8;})[_0x561a6a(0x1a9)](';\x20');}function _0x319e(_0x5dd104,_0x9ae41){const _0x59c8e1=_0x59c8();return _0x319e=function(_0x319e4b,_0x1266bc){_0x319e4b=_0x319e4b-0x181;let _0x1e8358=_0x59c8e1[_0x319e4b];return _0x1e8358;},_0x319e(_0x5dd104,_0x9ae41);}export function renderDescription(_0x6ebd68,_0x66a535){const _0x4d3560=_0x319e;let _0x18a807='';return _0x18a807+=_0x6ebd68[_0x4d3560(0x196)]('*')[_0x4d3560(0x19b)]((_0x57fd05,_0x224820)=>_0x224820%0x2!=0x0?_0x4d3560(0x192)+nn(_0x57fd05)+_0x4d3560(0x1b4):nn(_0x57fd05))[_0x4d3560(0x1a9)](''),_0x66a535&&(_0x18a807+=_0x4d3560(0x1b2)+_0x66a535[_0x4d3560(0x198)]+_0x4d3560(0x1ae)+_0x66a535[_0x4d3560(0x185)]+_0x4d3560(0x1a3)),_0x18a807;}function nn(_0x5d2549){const _0x19fa32=_0x319e,_0x1180f6=document[_0x19fa32(0x18c)](_0x19fa32(0x18e));return _0x1180f6[_0x19fa32(0x195)]=_0x5d2549,_0x1180f6[_0x19fa32(0x193)];}export function sortSuggestions(_0x3f1990){const _0x56eaae=_0x319e;return _0x3f1990[_0x56eaae(0x183)]((_0x359cd0,_0x44434c)=>_0x56eaae(0x197)==_0x359cd0[_0x56eaae(0x1ac)]&&_0x56eaae(0x197)!=_0x44434c[_0x56eaae(0x1ac)]?-0x1:_0x56eaae(0x197)!=_0x359cd0[_0x56eaae(0x1ac)]&&_0x56eaae(0x197)==_0x44434c[_0x56eaae(0x1ac)]?0x1:0x0);}function _0x59c8(){const _0x34aa07=['start','length','\x22></span>','createPositionAt','isMultiRange','getRanges','change','isInContent','join','315287VBjUzZ','40jrRMQL','type','279vpggyz','\x22\x20title=\x22','2265776fWJMBu','isIntersecting','\x20[color\x20','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','6070ptUGrl','</span>','add','createPositionBefore','content','schema','sort','push','title','color','from','splice','createPositionAfter','isArray','34455TyYfpu','createElement','18QzewIs','span','1568950xhBjEN','execute','isTouching','<span\x20class=\x22ck-suggestion-type\x22>','innerHTML','1265166mANTrm','innerText','split','deletion','value','isObject','60307WANRMX','map','isCollapsed','createRange','end','replace','next'];_0x59c8=function(){return _0x34aa07;};return _0x59c8();}export function getSelectedSuggestions(_0xf7db68,_0x13dc1e){const _0x18ad34=_0x319e,_0x2dbd8a=Array[_0x18ad34(0x187)](_0xf7db68[_0x18ad34(0x1a6)]()),_0x1a68ed=new Set();for(const _0x1cd065 of _0x13dc1e)if(_0x1cd065[_0x18ad34(0x1a8)]){for(const _0x4fbf0f of _0x2dbd8a)for(const _0xe57144 of _0x1cd065[_0x18ad34(0x1a6)]())(_0x4fbf0f[_0x18ad34(0x1b0)](_0xe57144)||_0xf7db68[_0x18ad34(0x19c)]&&!_0x1cd065[_0x18ad34(0x1a5)]&&_0x1cd065[_0x18ad34(0x1a0)]&&_0xe57144[_0x18ad34(0x19e)][_0x18ad34(0x191)](_0x4fbf0f[_0x18ad34(0x1a1)]))&&_0x1a68ed[_0x18ad34(0x1b5)](_0x1cd065);}return _0x1a68ed;}export function getRangesOfBlockGroups(_0x2343b3,_0x35cb60){const _0x51f1b6=_0x319e;let _0x1cc88b,_0x5a0d14=0x0;const _0x3f2a78=[],_0xf7ae88=_0x35cb60[_0x51f1b6(0x182)];for(;_0x5a0d14<_0x2343b3[_0x51f1b6(0x1a2)];){const _0x2b4094=_0x2343b3[_0x5a0d14],_0x2fc9c1=_0x2343b3[_0x5a0d14+0x1];_0x1cc88b||(_0x1cc88b=_0x35cb60[_0x51f1b6(0x1b6)](_0x2b4094)),on(_0x35cb60,_0x2b4094,_0x2fc9c1)||(_0x3f2a78[_0x51f1b6(0x184)](_0x35cb60[_0x51f1b6(0x19d)](_0x1cc88b,_0xf7ae88[_0x51f1b6(0x199)](_0x2b4094)?_0x35cb60[_0x51f1b6(0x189)](_0x2b4094):_0x35cb60[_0x51f1b6(0x1a4)](_0x2b4094,_0x51f1b6(0x19e)))),_0x1cc88b=null),_0x5a0d14++;}return _0x3f2a78;}function on(_0x8ec233,_0xf255f3,_0x15e063){const _0x12c61a=_0x319e;if(!_0x15e063)return!0x1;const _0x444261=_0x8ec233[_0x12c61a(0x189)](_0xf255f3),_0x13bdbb=_0x8ec233[_0x12c61a(0x1b6)](_0x15e063);return _0x444261[_0x12c61a(0x191)](_0x13bdbb);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x10c852,_0xb430f9,_0x5f2260){const _0x2ab760=_0x319e;for(;_0x5f2260[_0x2ab760(0x1a2)];){const _0x13e8e8=_0x5f2260[_0x2ab760(0x188)](0x0,0x64);_0x10c852[_0x2ab760(0x1a7)](()=>{const _0x7a93cb=_0x2ab760;for(const _0x308822 of _0x13e8e8)_0x308822[_0x7a93cb(0x1a8)]&&_0xb430f9[_0x7a93cb(0x190)](_0x308822['id']);});}}
|