@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20241001.0 → 0.0.0-nightly-20241003.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x165f74=_0x164c;(function(_0x1ffad0,_0x5b69b7){const _0x197644=_0x164c,_0x11a9d7=_0x1ffad0();while(!![]){try{const _0x37dd89=-parseInt(_0x197644(0xf7))/0x1*(-parseInt(_0x197644(0x101))/0x2)+parseInt(_0x197644(0x11e))/0x3+parseInt(_0x197644(0x12c))/0x4+parseInt(_0x197644(0x10d))/0x5+-parseInt(_0x197644(0x169))/0x6*(-parseInt(_0x197644(0x168))/0x7)+parseInt(_0x197644(0x140))/0x8+-parseInt(_0x197644(0x156))/0x9;if(_0x37dd89===_0x5b69b7)break;else _0x11a9d7['push'](_0x11a9d7['shift']());}catch(_0x885f9b){_0x11a9d7['push'](_0x11a9d7['shift']());}}}(_0x10e0,0xa0184));import{Plugin as _0x299e5f}from'ckeditor5/src/core.js';import{Collection as _0x1f32eb}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3c1a96,createDropdown as _0x24d4ef,ListSeparatorView as _0x3f34bd,MenuBarMenuView as _0x4ec033,MenuBarMenuListView as _0xc31994,MenuBarMenuListItemView as _0x412508,MenuBarMenuListItemButtonView as _0x23a9c6,SplitButtonView as _0x51974d,ViewModel as _0x594ca8}from'ckeditor5/src/ui.js';import{Users as _0x214fdb,getDateTimeFormatter as _0x1fbb09,getAllMarkersDomElementsSorted as _0x4d2add}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x508c35 from'./trackchangesediting.js';import _0x13e187 from'./ui/suggestioncontroller.js';import _0x10795b from'./ui/view/suggestionthreadview.js';import _0x47139b from'./ui/view/suggestionview.js';function _0x164c(_0x3c76bf,_0x1d7672){const _0x10e0fc=_0x10e0();return _0x164c=function(_0x164c4a,_0x4deb0a){_0x164c4a=_0x164c4a-0xdd;let _0x31366e=_0x10e0fc[_0x164c4a];return _0x31366e;},_0x164c(_0x3c76bf,_0x1d7672);}import{getTranslation as _0x1b3b2d}from'./utils/common-translations.js';import _0x3c1471 from'../theme/icons/track-changes.svg';export default class d extends _0x299e5f{static get[_0x165f74(0x162)](){const _0x2d0059=_0x165f74;return[_0x508c35,_0x214fdb,_0x2d0059(0x16b),_0x2d0059(0xdf),_0x2d0059(0x161)];}static get[_0x165f74(0x13c)](){const _0x567cd1=_0x165f74;return _0x567cd1(0x141);}constructor(_0x172df8){const _0x350c49=_0x165f74;super(_0x172df8),this[_0x350c49(0x172)]=new Map(),this[_0x350c49(0x151)]=new Map(),this[_0x350c49(0xe0)]=new Map(),this[_0x350c49(0x117)]=new Map();const _0x3dc7bc=this[_0x350c49(0x148)][_0x350c49(0xed)];_0x3dc7bc[_0x350c49(0xfa)](_0x350c49(0x158),_0x10795b),_0x3dc7bc[_0x350c49(0xfa)](_0x350c49(0x15f),_0x47139b),_0x3dc7bc[_0x350c49(0xfa)](_0x350c49(0xe6),!0x1),this[_0x350c49(0xfb)]=_0x3dc7bc[_0x350c49(0x163)](_0x350c49(0xe6));}[_0x165f74(0x114)](_0x31ba99,_0x579798){const _0x4b4498=_0x165f74;0x0===this[_0x4b4498(0x117)][_0x4b4498(0xe2)]&&setTimeout(()=>{const _0x195101=_0x4b4498;for(const [_0x490854,_0x18a319]of this[_0x195101(0x117)]){const _0x333a9e=this[_0x195101(0x172)][_0x195101(0x14d)](_0x490854);_0x333a9e||_0x18a319?_0x333a9e&&_0x18a319&&this[_0x195101(0x116)](_0x490854):this[_0x195101(0x13b)](_0x490854);}this[_0x195101(0x117)][_0x195101(0x108)](),this[_0x195101(0x148)][_0x195101(0x154)][_0x195101(0x163)](_0x195101(0x161))[_0x195101(0x13e)](),this[_0x195101(0xfe)]();},0xa),this[_0x4b4498(0x117)][_0x4b4498(0x123)](_0x31ba99,_0x579798);}[_0x165f74(0x106)](){const _0x78649=_0x165f74,_0x50dc67=this[_0x78649(0x148)],_0x54f643=_0x50dc67[_0x78649(0x154)][_0x78649(0x163)](_0x78649(0x155)),_0x14034a=_0x50dc67[_0x78649(0x154)][_0x78649(0x163)](_0x78649(0xdf)),_0x406a90=_0x50dc67[_0x78649(0x154)][_0x78649(0x163)](_0x78649(0x161)),_0x222388=_0x50dc67[_0x78649(0x154)][_0x78649(0x163)](_0x78649(0x16b));this[_0x78649(0x104)](),_0x406a90[_0x78649(0x170)](()=>{const _0x21203c=_0x78649,_0x260b5e=[];for(const [_0x5e40bb,_0x3d8173]of Array[_0x21203c(0x150)](this[_0x21203c(0x172)])){const _0x35fc75=_0x5e40bb[_0x21203c(0x145)](),_0x38675c=[];for(const _0x103e2e of _0x35fc75){if(!_0x103e2e[_0x21203c(0x146)])continue;if(_0x103e2e[_0x21203c(0x13a)]){_0x38675c[_0x21203c(0xf2)](..._0x103e2e[_0x21203c(0x165)]());continue;}const _0x2f5873=_0x103e2e[_0x21203c(0xf4)]();if(_0x38675c[_0x21203c(0x10e)]>0x0){const _0x11b8f3=_0x38675c[0x0][_0x21203c(0xe9)](_0x2f5873);if(_0x11b8f3){_0x38675c[0x0]=_0x11b8f3;continue;}}_0x38675c[_0x21203c(0xf2)](_0x2f5873);}_0x260b5e[_0x21203c(0xf2)]([_0x3d8173[_0x21203c(0xf9)],_0x38675c]);}return _0x260b5e;}),this[_0x78649(0x171)](_0x54f643,_0x78649(0x12d),(_0x393fa6,_0x2ac765)=>{const _0x295c6a=_0x78649;this[_0x295c6a(0x171)](_0x2ac765,_0x295c6a(0x130),(_0x9eaf41,_0x1d7565,_0x3381b2,_0x1a15b5)=>{const _0x33baa6=_0x295c6a;_0x2ac765[_0x33baa6(0x146)]&&(null==_0x3381b2?(this[_0x33baa6(0xeb)](_0x1a15b5[_0x33baa6(0x142)]),this[_0x33baa6(0x114)](_0x2ac765,!0x1)):(this[_0x33baa6(0xeb)](_0x3381b2[_0x33baa6(0x142)]),null==_0x1a15b5&&this[_0x33baa6(0x114)](_0x2ac765,!0x0)));}),null!==_0x2ac765[_0x295c6a(0xde)]?this[_0x295c6a(0xeb)](_0x2ac765[_0x295c6a(0x142)]):this[_0x295c6a(0x114)](_0x2ac765,!0x1);}),this[_0x78649(0x171)](_0x54f643,_0x78649(0x139),(_0x26b7fc,_0x486d5f,_0x32f111)=>{const _0x5d5023=_0x78649;this[_0x5d5023(0x113)](_0x486d5f,_0x5d5023(0x130)),this[_0x5d5023(0x117)][_0x5d5023(0x143)](_0x486d5f),this[_0x5d5023(0x172)][_0x5d5023(0x14d)](_0x486d5f)&&this[_0x5d5023(0x116)](_0x486d5f),_0x32f111&&this[_0x5d5023(0xeb)](_0x32f111[_0x5d5023(0x142)]);}),this[_0x78649(0x171)](_0x54f643,_0x78649(0xee),(_0x59d59d,_0x4e91dc)=>{const _0x47a5e3=_0x78649;this[_0x47a5e3(0xeb)](_0x4e91dc);}),this[_0x78649(0x171)](_0x14034a,_0x78649(0x12e),()=>{const _0x886ae8=_0x78649;this[_0x886ae8(0xfe)]();}),this[_0x78649(0x171)](_0x222388,_0x78649(0xe4),(_0x3b647f,{threadId:_0x5c4f88,isFromAdapter:_0x408b2f})=>{const _0x3b46fc=_0x78649;if(_0x408b2f||!_0x54f643[_0x3b46fc(0xf8)](_0x5c4f88))return;const _0x5895dc=_0x54f643[_0x3b46fc(0x125)](_0x5c4f88);this[_0x3b46fc(0x172)][_0x3b46fc(0x163)](_0x5895dc)[_0x3b46fc(0xf9)][_0x3b46fc(0x147)][_0x3b46fc(0x149)](-0x1);},{'priority':_0x78649(0x10c)});}[_0x165f74(0xfe)](){const _0x4df883=_0x165f74,_0x385b1b=this[_0x4df883(0x148)][_0x4df883(0x154)][_0x4df883(0x163)](_0x4df883(0xdf)),_0x13cb78=this[_0x4df883(0x148)][_0x4df883(0x154)][_0x4df883(0x163)](_0x4df883(0x155)),_0x479af1=Array[_0x4df883(0x150)](_0x385b1b[_0x4df883(0x14a)],_0x128d69=>_0x128d69[_0x4df883(0x13f)])[_0x4df883(0x100)](_0x58a555=>this[_0x4df883(0x151)][_0x4df883(0x14d)](_0x58a555)),_0x59e7c1=[];for(const _0x486565 of _0x479af1){const _0x34fe81=this[_0x4df883(0x151)][_0x4df883(0x163)](_0x486565)[_0x4df883(0x133)][_0x4df883(0x145)]();_0x59e7c1[_0x4df883(0xf2)](..._0x34fe81[_0x4df883(0x118)]((_0x5bd44f,_0x13ed43)=>[..._0x5bd44f,..._0x13ed43[_0x4df883(0xec)]()],[]));}_0x13cb78[_0x4df883(0x16a)]=_0x59e7c1;}[_0x165f74(0x104)](){const _0x2223f2=_0x165f74,_0x14423e=this[_0x2223f2(0x148)],_0x45ccd0=_0x14423e[_0x2223f2(0x16f)],_0x4f1420=_0x1b3b2d(_0x45ccd0,_0x2223f2(0x121)),_0x29dfd7=new _0x1f32eb([{'type':_0x2223f2(0x11a),'model':new _0x594ca8({'withText':!0x0,'isToggleable':!0x0,'label':_0x4f1420,'commandName':_0x2223f2(0x11d),'role':_0x2223f2(0x105)})},{'type':_0x2223f2(0x15a)},{'type':_0x2223f2(0xf0),'model':new _0x594ca8({'withText':!0x0,'label':_0x1b3b2d(_0x45ccd0,_0x2223f2(0x119)),'commandName':_0x2223f2(0x127),'role':_0x2223f2(0x120)})},{'type':_0x2223f2(0xf0),'model':new _0x594ca8({'withText':!0x0,'label':_0x1b3b2d(_0x45ccd0,_0x2223f2(0x109)),'commandName':_0x2223f2(0x11f),'role':_0x2223f2(0x120)})},{'type':_0x2223f2(0xf0),'model':new _0x594ca8({'withText':!0x0,'label':_0x1b3b2d(_0x45ccd0,_0x2223f2(0xfc)),'commandName':_0x2223f2(0xe5),'role':_0x2223f2(0x120)})},{'type':_0x2223f2(0xf0),'model':new _0x594ca8({'withText':!0x0,'label':_0x1b3b2d(_0x45ccd0,_0x2223f2(0x136)),'commandName':_0x2223f2(0x16e),'role':_0x2223f2(0x120)})}]);for(const _0x4c3c5d of _0x29dfd7)if(me(_0x4c3c5d)){const _0x3be3c1=_0x14423e[_0x2223f2(0xff)][_0x2223f2(0x163)](_0x4c3c5d[_0x2223f2(0x133)][_0x2223f2(0x10a)]);_0x4c3c5d[_0x2223f2(0x133)][_0x2223f2(0x15b)](_0x2223f2(0x13d),_0x2223f2(0x15e))['to'](_0x3be3c1,_0x2223f2(0x128),_0x2223f2(0x15e));}_0x14423e['ui'][_0x2223f2(0x137)][_0x2223f2(0x132)](_0x2223f2(0x11d),_0xdff81=>this[_0x2223f2(0x10f)](_0xdff81,_0x29dfd7,_0x4f1420)),_0x14423e['ui'][_0x2223f2(0x137)][_0x2223f2(0x132)](_0x2223f2(0x157),_0x3dec4a=>this[_0x2223f2(0xf6)](_0x3dec4a,_0x29dfd7,_0x4f1420));}[_0x165f74(0x10f)](_0x42cd38,_0x286bef,_0x1907ad){const _0x526bd7=_0x165f74,_0x3b56af=_0x24d4ef(_0x42cd38,_0x51974d),_0x3d4039=this[_0x526bd7(0x148)][_0x526bd7(0xff)][_0x526bd7(0x163)](_0x526bd7(0x11d));_0x3b56af[_0x526bd7(0x166)][_0x526bd7(0x123)]({'tooltip':_0x1907ad,'label':_0x1907ad,'icon':_0x3c1471}),_0x3b56af[_0x526bd7(0x166)][_0x526bd7(0x15b)](_0x526bd7(0x13d))['to'](_0x3d4039,_0x526bd7(0x128)),_0x3b56af[_0x526bd7(0x166)]['on'](_0x526bd7(0xdd),()=>{const _0x3ee0a6=_0x526bd7;_0x3d4039[_0x3ee0a6(0xdd)](),this[_0x3ee0a6(0x148)][_0x3ee0a6(0xef)][_0x3ee0a6(0xf9)][_0x3ee0a6(0x149)]();}),_0x3c1a96(_0x3b56af,_0x286bef,{'role':_0x526bd7(0x134)});const _0x446fcd=[];for(const _0x4766dd of _0x286bef)me(_0x4766dd)&&_0x446fcd[_0x526bd7(0xf2)](this[_0x526bd7(0x148)][_0x526bd7(0xff)][_0x526bd7(0x163)](_0x4766dd[_0x526bd7(0x133)][_0x526bd7(0x10a)]));const _0x2c2d33=_0x3b56af[_0x526bd7(0x166)];return _0x2c2d33[_0x526bd7(0x152)][_0x526bd7(0x126)](_0x526bd7(0x15e)),_0x2c2d33[_0x526bd7(0x110)][_0x526bd7(0x126)](_0x526bd7(0x15e)),_0x2c2d33[_0x526bd7(0x152)][_0x526bd7(0x15b)](_0x526bd7(0x15e))['to'](_0x3d4039,_0x526bd7(0x15e)),_0x2c2d33[_0x526bd7(0x110)][_0x526bd7(0x15b)](_0x526bd7(0x15e))[_0x526bd7(0x164)](_0x446fcd,_0x526bd7(0x15e),(..._0x13733e)=>_0x13733e[_0x526bd7(0x135)](_0x105e37=>_0x105e37)),_0x3b56af['on'](_0x526bd7(0xdd),_0x49bf11=>{const _0x397258=_0x526bd7;this[_0x397258(0x148)][_0x397258(0xdd)](_0x49bf11[_0x397258(0x107)][_0x397258(0x10a)]),this[_0x397258(0x148)][_0x397258(0xef)][_0x397258(0xf9)][_0x397258(0x149)]();}),_0x3b56af;}[_0x165f74(0xf6)](_0x707b13,_0x13d421,_0x3a884d){const _0x3d110c=_0x165f74,_0x267110=new _0x4ec033(_0x707b13),_0x4cb26e=this[_0x3d110c(0x148)][_0x3d110c(0xff)][_0x3d110c(0x163)](_0x3d110c(0x11d));_0x267110[_0x3d110c(0x166)][_0x3d110c(0x123)]({'label':_0x3a884d,'icon':_0x3c1471});const _0x550fc3=new _0xc31994(_0x707b13);for(const _0x3089c0 of _0x13d421){if(_0x3d110c(0x15a)==_0x3089c0[_0x3d110c(0x153)]){_0x550fc3[_0x3d110c(0x167)][_0x3d110c(0x132)](new _0x3f34bd(_0x707b13));continue;}const _0x260a7a=new _0x412508(_0x707b13,_0x267110),_0x507899=new _0x23a9c6(_0x707b13),_0x5d27e2=_0x3089c0[_0x3d110c(0x133)];_0x507899[_0x3d110c(0x15b)](...Object[_0x3d110c(0x160)](_0x5d27e2))['to'](_0x5d27e2),_0x507899[_0x3d110c(0xf3)](_0x3d110c(0xdd))['to'](_0x267110),_0x507899['on'](_0x3d110c(0xdd),()=>{const _0x572af8=_0x3d110c;this[_0x572af8(0x148)][_0x572af8(0xdd)](_0x5d27e2[_0x572af8(0x10a)]),this[_0x572af8(0x148)][_0x572af8(0xef)][_0x572af8(0xf9)][_0x572af8(0x149)]();}),_0x260a7a[_0x3d110c(0x10b)][_0x3d110c(0x132)](_0x507899),_0x550fc3[_0x3d110c(0x167)][_0x3d110c(0x132)](_0x260a7a);}return _0x267110[_0x3d110c(0x15b)](_0x3d110c(0x15e))['to'](_0x4cb26e,_0x3d110c(0x15e)),_0x267110[_0x3d110c(0x15d)][_0x3d110c(0x10b)][_0x3d110c(0x132)](_0x550fc3),_0x267110;}[_0x165f74(0x13b)](_0x2aaed7){const _0x52bce0=_0x165f74,_0x2afbd4=this[_0x52bce0(0x148)],_0x47e363=_0x2afbd4[_0x52bce0(0xed)],_0x25b1cc=_0x2afbd4[_0x52bce0(0x154)][_0x52bce0(0x163)](_0x52bce0(0xdf)),_0x446eed=_0x2afbd4[_0x52bce0(0x154)][_0x52bce0(0x163)](_0x52bce0(0x16b)),_0x286ff8=_0x2afbd4[_0x52bce0(0x154)][_0x52bce0(0x163)](_0x52bce0(0x161)),_0x4c97fd=_0x2afbd4[_0x52bce0(0x154)][_0x52bce0(0x163)](_0x214fdb)['me'],_0x4ed1b4=_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x11d))[_0x52bce0(0x12f)],_0x509f96=_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x11d))[_0x52bce0(0xe8)],{CommentsListView:_0x5e5ba3,CommentThreadInputView:_0x225560}=_0x2afbd4[_0x52bce0(0x154)][_0x52bce0(0x163)](_0x52bce0(0xf5));let _0x51508e,_0x5241a3,_0x2d46be;this[_0x52bce0(0xe0)][_0x52bce0(0x14d)](_0x2aaed7['id'])?(_0x5241a3=this[_0x52bce0(0xe0)][_0x52bce0(0x163)](_0x2aaed7['id']),_0x51508e=_0x5241a3[_0x52bce0(0x14c)]):(_0x51508e=new _0x4ed1b4(_0x2afbd4[_0x52bce0(0x16f)],_0x2aaed7,_0x4c97fd,{'disableComments':this[_0x52bce0(0xfb)],'editorConfig':_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x129)),'maxCommentsWhenCollapsed':_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x131)),'maxThreadTotalWeight':_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x138)),'maxCommentCharsWhenCollapsed':_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x102)),'formatDateTime':_0x1fbb09(_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x16f))),'CommentView':_0x47e363[_0x52bce0(0x163)](_0x52bce0(0x14e))[_0x52bce0(0xe1)],'CommentsListView':_0x5e5ba3,'CommentThreadInputView':_0x225560,'SuggestionView':_0x509f96}),_0x51508e[_0x52bce0(0x12a)][_0x52bce0(0x16c)]['on'](_0x52bce0(0xdd),()=>{const _0x1c666e=_0x52bce0;_0x2afbd4[_0x1c666e(0xef)][_0x1c666e(0xf9)][_0x1c666e(0x149)]();}),_0x51508e[_0x52bce0(0x12a)][_0x52bce0(0xe7)]['on'](_0x52bce0(0xdd),()=>{const _0x23b854=_0x52bce0;_0x2afbd4[_0x23b854(0xef)][_0x23b854(0xf9)][_0x23b854(0x149)]();}),_0x5241a3=_0x25b1cc[_0x52bce0(0x111)](this[_0x52bce0(0x148)][_0x52bce0(0x16f)],_0x51508e),_0x5241a3[_0x52bce0(0x15b)](_0x52bce0(0x144))['to'](_0x51508e,_0x52bce0(0x144)),_0x5241a3[_0x52bce0(0x15b)](_0x52bce0(0x10e))['to'](_0x51508e),_0x5241a3[_0x52bce0(0x15b)](_0x52bce0(0x153))['to'](_0x51508e,_0x52bce0(0x153),_0x7e1e46=>_0x52bce0(0x122)+_0x7e1e46),_0x51508e['on'](_0x52bce0(0x16d),()=>{const _0x2b6336=_0x52bce0;_0x2d46be[_0x2b6336(0x112)](_0x2b6336(0x16d));}),this[_0x52bce0(0xe0)][_0x52bce0(0x123)](_0x2aaed7['id'],_0x5241a3));const _0x123078=_0x446eed[_0x52bce0(0x11c)](_0x2aaed7[_0x52bce0(0xea)],_0x51508e),_0x3ba152=new _0x13e187(_0x2afbd4,_0x2aaed7,_0x51508e,_0x123078),_0x18c79c=_0x2aaed7[_0x52bce0(0x145)]()[_0x52bce0(0x100)](_0x204e0b=>_0x204e0b[_0x52bce0(0x146)]);_0x51508e[_0x52bce0(0x14b)]=_0x2afbd4[_0x52bce0(0x154)][_0x52bce0(0x163)](_0x52bce0(0x155))[_0x52bce0(0x11b)][_0x52bce0(0xf1)](_0x18c79c),this[_0x52bce0(0x172)][_0x52bce0(0x123)](_0x2aaed7,_0x3ba152),this[_0x52bce0(0x151)][_0x52bce0(0x123)](_0x51508e,_0x3ba152),_0x2d46be=_0x25b1cc[_0x52bce0(0xfd)]({'view':_0x5241a3,'target':()=>{const _0x59bd30=_0x52bce0,_0x293b54=[],_0x3a7a6a=_0x2aaed7[_0x59bd30(0x145)]()[_0x59bd30(0x100)](_0x361fb1=>_0x361fb1[_0x59bd30(0x146)]);for(const _0x155f00 of _0x3a7a6a)_0x293b54[_0x59bd30(0xf2)](..._0x155f00[_0x59bd30(0x14f)]());return _0x4d2add(_0x2afbd4[_0x59bd30(0xef)],_0x293b54);},'type':()=>_0x52bce0(0x122)+_0x3ba152[_0x52bce0(0xf9)][_0x52bce0(0x153)]}),_0x446eed[_0x52bce0(0x103)](_0x51508e,_0x2d46be),_0x25b1cc[_0x52bce0(0x132)](_0x2d46be),_0x286ff8[_0x52bce0(0x124)](_0x2d46be);}[_0x165f74(0x116)](_0x593ca5){const _0x4ebde4=_0x165f74,_0x39f06e=this[_0x4ebde4(0x148)][_0x4ebde4(0x154)][_0x4ebde4(0x163)](_0x4ebde4(0x16b)),_0x429d16=this[_0x4ebde4(0x148)][_0x4ebde4(0x154)][_0x4ebde4(0x163)](_0x4ebde4(0xdf)),_0x1f6e2a=this[_0x4ebde4(0x172)][_0x4ebde4(0x163)](_0x593ca5),_0x3c1dac=_0x1f6e2a[_0x4ebde4(0xf9)],_0x589c7d=_0x429d16[_0x4ebde4(0x12b)](_0x3c1dac);_0x39f06e[_0x4ebde4(0x15c)](_0x3c1dac),_0x589c7d&&_0x429d16[_0x4ebde4(0x115)](_0x589c7d),this[_0x4ebde4(0x172)][_0x4ebde4(0x143)](_0x593ca5),this[_0x4ebde4(0x151)][_0x4ebde4(0x143)](_0x3c1dac),_0x1f6e2a[_0x4ebde4(0x159)]();}[_0x165f74(0xeb)](_0x103d2c){const _0x6cd3ae=_0x165f74;if(!_0x103d2c[_0x6cd3ae(0x146)]||!this[_0x6cd3ae(0x172)][_0x6cd3ae(0x14d)](_0x103d2c))return;const _0x2a8fff=this[_0x6cd3ae(0x148)][_0x6cd3ae(0x154)][_0x6cd3ae(0x163)](_0x6cd3ae(0x155)),_0x367faf=this[_0x6cd3ae(0x172)][_0x6cd3ae(0x163)](_0x103d2c),_0x39fa33=_0x103d2c[_0x6cd3ae(0x145)]();_0x367faf[_0x6cd3ae(0xf9)][_0x6cd3ae(0x14b)]=_0x2a8fff[_0x6cd3ae(0x11b)][_0x6cd3ae(0xf1)](_0x39fa33);}[_0x165f74(0x159)](){const _0x5a15e1=_0x165f74;for(const _0x2969d8 of this[_0x5a15e1(0x172)][_0x5a15e1(0x160)]())this[_0x5a15e1(0x116)](_0x2969d8);for(const _0xe13876 of this[_0x5a15e1(0xe0)][_0x5a15e1(0xe3)]())_0xe13876[_0x5a15e1(0x14c)][_0x5a15e1(0x159)]();super[_0x5a15e1(0x159)]();}}function _0x10e0(){const _0x2dd098=['isEnabled','trackChanges.SuggestionView','keys','EditorAnnotations','requires','get','toMany','getRanges','buttonView','items','728miEDMK','25236zNxsFR','activeMarkers','CommentsRepository','acceptButton','escape','discardSelectedSuggestions','locale','addSourceCollector','listenTo','_suggestionToController','execute','previous','Annotations','_annotationViews','CommentView','size','values','addComment','discardAllSuggestions','trackChanges.disableComments','discardButton','SuggestionView','getJoined','commentThread','_updateController','getMarkerNames','config','suggestionChanged','editing','button','getDescriptions','push','delegate','getFirstRange','CommentsUI','_createMenuBarMenu','81738hdhfZV','hasSuggestion','view','define','_disableComments','Discard\x20all\x20suggestions','createAnnotation','_refreshActiveMarkers','commands','filter','2uBfOLD','comments.maxCommentCharsWhenCollapsed','_bindAnnotationToEditors','_addUIComponentsToFactory','menuitemcheckbox','init','source','clear','Accept\x20all\x20selected\x20suggestions','commandName','children','lowest','965725arouNe','length','_createToolbarButton','arrowView','createAnnotationView','fire','stopListening','_handleSuggestionControllerDelayed','remove','_destroyController','_handleControllerBuffer','reduce','Accept\x20all\x20suggestions','switchbutton','descriptionFactory','createCommentThreadController','trackChanges','2108517DWasgv','acceptSelectedSuggestions','menuitem','Track\x20changes','suggestion-','set','registerAnnotation','getSuggestion','unbind','acceptAllSuggestions','value','comments.editorConfig','suggestionView','getByInnerView','4635012ccIPcP','suggestionLoaded','change:activeAnnotations','SuggestionThreadView','change:previous','comments.maxCommentsWhenCollapsed','add','model','menu','some','Discard\x20all\x20selected\x20suggestions','componentFactory','comments.maxThreadTotalWeight','suggestionUnloaded','isMultiRange','_initializeController','pluginName','isOn','refreshSelectedViews','innerView','1869416eVgGLp','TrackChangesUI','head','delete','isDirty','getAllAdjacentSuggestions','isInContent','commentsListView','editor','focus','activeAnnotations','descriptionParts','mainView','has','comments','getMarkers','from','_viewToController','actionView','type','plugins','TrackChangesEditing','19366452CPTnxm','menuBar:trackChanges','trackChanges.SuggestionThreadView','destroy','separator','bind','_unbindEditors','panelView'];_0x10e0=function(){return _0x2dd098;};return _0x10e0();}function me(_0x4dee93){const _0xd29a8e=_0x165f74;return _0xd29a8e(0x133)in _0x4dee93;}
|
|
23
|
+
const _0x37f55d=_0x21da;(function(_0x2e18a0,_0x1bfdc0){const _0x4c0a48=_0x21da,_0x13f99a=_0x2e18a0();while(!![]){try{const _0xd2dbc9=parseInt(_0x4c0a48(0x18b))/0x1+-parseInt(_0x4c0a48(0x17c))/0x2+parseInt(_0x4c0a48(0x14c))/0x3*(-parseInt(_0x4c0a48(0x18f))/0x4)+parseInt(_0x4c0a48(0x159))/0x5+parseInt(_0x4c0a48(0x151))/0x6*(-parseInt(_0x4c0a48(0x1b4))/0x7)+parseInt(_0x4c0a48(0x169))/0x8*(-parseInt(_0x4c0a48(0x1ca))/0x9)+parseInt(_0x4c0a48(0x166))/0xa*(parseInt(_0x4c0a48(0x19e))/0xb);if(_0xd2dbc9===_0x1bfdc0)break;else _0x13f99a['push'](_0x13f99a['shift']());}catch(_0x12def3){_0x13f99a['push'](_0x13f99a['shift']());}}}(_0x283b,0xcd1a5));import{Plugin as _0x4d12e5}from'ckeditor5/src/core.js';import{Collection as _0x27a51d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x48a255,createDropdown as _0x3d6e3d,ListSeparatorView as _0x54271e,MenuBarMenuView as _0x3511b3,MenuBarMenuListView as _0x53e904,MenuBarMenuListItemView as _0x248543,MenuBarMenuListItemButtonView as _0x18ecc1,SplitButtonView as _0x4600a8,ViewModel as _0x2ba8a5}from'ckeditor5/src/ui.js';import{Users as _0x5db29c,getDateTimeFormatter as _0x599241,getAllMarkersDomElementsSorted as _0x43e2ed}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x220c12 from'./trackchangesediting.js';function _0x21da(_0x358aca,_0x5301f4){const _0x283b4f=_0x283b();return _0x21da=function(_0x21da75,_0x44a5c2){_0x21da75=_0x21da75-0x134;let _0x464976=_0x283b4f[_0x21da75];return _0x464976;},_0x21da(_0x358aca,_0x5301f4);}import _0x43f9b9 from'./ui/suggestioncontroller.js';import _0x5cd668 from'./ui/view/suggestionthreadview.js';import _0x1f325e from'./ui/view/suggestionview.js';import{getTranslation as _0x4c42cd}from'./utils/common-translations.js';import _0x4a8195 from'../theme/icons/track-changes.svg';export default class d extends _0x4d12e5{static get[_0x37f55d(0x149)](){const _0x1e4a49=_0x37f55d;return[_0x220c12,_0x5db29c,_0x1e4a49(0x174),_0x1e4a49(0x1a4),_0x1e4a49(0x1ad)];}static get[_0x37f55d(0x185)](){const _0x3b7685=_0x37f55d;return _0x3b7685(0x164);}constructor(_0x123ea6){const _0x1aadc3=_0x37f55d;super(_0x123ea6),this[_0x1aadc3(0x171)]=new Map(),this[_0x1aadc3(0x1ac)]=new Map(),this[_0x1aadc3(0x1a3)]=new Map(),this[_0x1aadc3(0x156)]=new Map();const _0x10acda=this[_0x1aadc3(0x158)][_0x1aadc3(0x1a2)];_0x10acda[_0x1aadc3(0x147)](_0x1aadc3(0x143),_0x5cd668),_0x10acda[_0x1aadc3(0x147)](_0x1aadc3(0x199),_0x1f325e),_0x10acda[_0x1aadc3(0x147)](_0x1aadc3(0x17d),!0x1),this[_0x1aadc3(0x168)]=_0x10acda[_0x1aadc3(0x142)](_0x1aadc3(0x17d));}[_0x37f55d(0x18c)](_0x46a7ca,_0x49651a){const _0x20af42=_0x37f55d;0x0===this[_0x20af42(0x156)][_0x20af42(0x1b3)]&&setTimeout(()=>{const _0xe21a8b=_0x20af42;for(const [_0x3456d6,_0x6cdef3]of this[_0xe21a8b(0x156)]){const _0x29dc03=this[_0xe21a8b(0x171)][_0xe21a8b(0x188)](_0x3456d6);_0x29dc03||_0x6cdef3?_0x29dc03&&_0x6cdef3&&this[_0xe21a8b(0x1c7)](_0x3456d6):this[_0xe21a8b(0x182)](_0x3456d6);}this[_0xe21a8b(0x156)][_0xe21a8b(0x15c)](),this[_0xe21a8b(0x158)][_0xe21a8b(0x175)][_0xe21a8b(0x142)](_0xe21a8b(0x1ad))[_0xe21a8b(0x150)](),this[_0xe21a8b(0x14a)]();},0xa),this[_0x20af42(0x156)][_0x20af42(0x180)](_0x46a7ca,_0x49651a);}[_0x37f55d(0x1c0)](){const _0xca3f29=_0x37f55d,_0xd946c0=this[_0xca3f29(0x158)],_0x450a21=_0xd946c0[_0xca3f29(0x175)][_0xca3f29(0x142)](_0xca3f29(0x13e)),_0x25bb0e=_0xd946c0[_0xca3f29(0x175)][_0xca3f29(0x142)](_0xca3f29(0x1a4)),_0x56bab1=_0xd946c0[_0xca3f29(0x175)][_0xca3f29(0x142)](_0xca3f29(0x1ad)),_0x7e2b4a=_0xd946c0[_0xca3f29(0x175)][_0xca3f29(0x142)](_0xca3f29(0x174));this[_0xca3f29(0x15a)](),_0x56bab1[_0xca3f29(0x178)](()=>{const _0x5ef03f=_0xca3f29,_0x28f16d=[];for(const [_0x56d700,_0x442597]of Array[_0x5ef03f(0x137)](this[_0x5ef03f(0x171)])){const _0x445fa4=_0x56d700[_0x5ef03f(0x157)](),_0x3dc3ea=[];for(const _0x5cbccb of _0x445fa4){if(!_0x5cbccb[_0x5ef03f(0x17a)])continue;if(_0x5cbccb[_0x5ef03f(0x145)]){_0x3dc3ea[_0x5ef03f(0x190)](..._0x5cbccb[_0x5ef03f(0x146)]());continue;}const _0xf6baca=_0x5cbccb[_0x5ef03f(0x139)]();if(_0x3dc3ea[_0x5ef03f(0x161)]>0x0){const _0x275aa8=_0x3dc3ea[0x0][_0x5ef03f(0x1a7)](_0xf6baca);if(_0x275aa8){_0x3dc3ea[0x0]=_0x275aa8;continue;}}_0x3dc3ea[_0x5ef03f(0x190)](_0xf6baca);}_0x28f16d[_0x5ef03f(0x190)]([_0x442597[_0x5ef03f(0x162)],_0x3dc3ea]);}return _0x28f16d;}),this[_0xca3f29(0x19c)](_0x450a21,_0xca3f29(0x1ae),(_0x11f7e6,_0x50c849)=>{const _0x564064=_0xca3f29;this[_0x564064(0x19c)](_0x50c849,_0x564064(0x1a1),(_0x49184e,_0x3593d8,_0x490e8b,_0x3357d6)=>{const _0x150c07=_0x564064;_0x50c849[_0x150c07(0x17a)]&&(null==_0x490e8b?(this[_0x150c07(0x134)](_0x3357d6[_0x150c07(0x1a5)]),this[_0x150c07(0x18c)](_0x50c849,!0x1)):(this[_0x150c07(0x134)](_0x490e8b[_0x150c07(0x1a5)]),null==_0x3357d6&&this[_0x150c07(0x18c)](_0x50c849,!0x0)));}),null!==_0x50c849[_0x564064(0x152)]?this[_0x564064(0x134)](_0x50c849[_0x564064(0x1a5)]):this[_0x564064(0x18c)](_0x50c849,!0x1);}),this[_0xca3f29(0x19c)](_0x450a21,_0xca3f29(0x1b1),(_0x37050a,_0x24e5d1,_0xadc8f7)=>{const _0x19cc54=_0xca3f29;this[_0x19cc54(0x198)](_0x24e5d1,_0x19cc54(0x1a1)),this[_0x19cc54(0x156)][_0x19cc54(0x1bb)](_0x24e5d1),this[_0x19cc54(0x171)][_0x19cc54(0x188)](_0x24e5d1)&&this[_0x19cc54(0x1c7)](_0x24e5d1),_0xadc8f7&&this[_0x19cc54(0x134)](_0xadc8f7[_0x19cc54(0x1a5)]);}),this[_0xca3f29(0x19c)](_0x450a21,_0xca3f29(0x197),(_0x59edab,_0x1c93e7)=>{const _0x323a9f=_0xca3f29;this[_0x323a9f(0x134)](_0x1c93e7);}),this[_0xca3f29(0x19c)](_0x25bb0e,_0xca3f29(0x1c8),()=>{const _0xa97741=_0xca3f29;this[_0xa97741(0x14a)]();}),this[_0xca3f29(0x19c)](_0x7e2b4a,_0xca3f29(0x14e),(_0x38b292,{threadId:_0x13f023,isFromAdapter:_0x9f7ac4})=>{const _0x4e4bd7=_0xca3f29;if(_0x9f7ac4||!_0x450a21[_0x4e4bd7(0x136)](_0x13f023))return;const _0x43cd87=_0x450a21[_0x4e4bd7(0x144)](_0x13f023);this[_0x4e4bd7(0x171)][_0x4e4bd7(0x142)](_0x43cd87)[_0x4e4bd7(0x162)][_0x4e4bd7(0x160)][_0x4e4bd7(0x1cb)](-0x1);},{'priority':_0xca3f29(0x196)});}[_0x37f55d(0x14a)](){const _0x54b53e=_0x37f55d,_0x1b7066=this[_0x54b53e(0x158)][_0x54b53e(0x175)][_0x54b53e(0x142)](_0x54b53e(0x1a4)),_0x4797d5=this[_0x54b53e(0x158)][_0x54b53e(0x175)][_0x54b53e(0x142)](_0x54b53e(0x13e)),_0x2dae52=Array[_0x54b53e(0x137)](_0x1b7066[_0x54b53e(0x1a9)],_0x5cce52=>_0x5cce52[_0x54b53e(0x13c)])[_0x54b53e(0x1ba)](_0x477667=>this[_0x54b53e(0x1ac)][_0x54b53e(0x188)](_0x477667)),_0x6817e3=[];for(const _0x3b212b of _0x2dae52){const _0x53e6be=this[_0x54b53e(0x1ac)][_0x54b53e(0x142)](_0x3b212b)[_0x54b53e(0x19b)][_0x54b53e(0x157)]();_0x6817e3[_0x54b53e(0x190)](..._0x53e6be[_0x54b53e(0x1b2)]((_0xe35e2a,_0x1f98b0)=>[..._0xe35e2a,..._0x1f98b0[_0x54b53e(0x16f)]()],[]));}_0x4797d5[_0x54b53e(0x15b)]=_0x6817e3;}[_0x37f55d(0x15a)](){const _0x4138e4=_0x37f55d,_0x4d01f0=this[_0x4138e4(0x158)],_0x2018fb=_0x4d01f0[_0x4138e4(0x1bd)],_0x131b49=_0x4c42cd(_0x2018fb,_0x4138e4(0x1c6)),_0x3f3360=new _0x27a51d([{'type':_0x4138e4(0x15e),'model':new _0x2ba8a5({'withText':!0x0,'isToggleable':!0x0,'label':_0x131b49,'commandName':_0x4138e4(0x181),'role':_0x4138e4(0x14f)})},{'type':_0x4138e4(0x183)},{'type':_0x4138e4(0x16c),'model':new _0x2ba8a5({'withText':!0x0,'label':_0x4c42cd(_0x2018fb,_0x4138e4(0x177)),'commandName':_0x4138e4(0x16b),'role':_0x4138e4(0x19d)})},{'type':_0x4138e4(0x16c),'model':new _0x2ba8a5({'withText':!0x0,'label':_0x4c42cd(_0x2018fb,_0x4138e4(0x14d)),'commandName':_0x4138e4(0x154),'role':_0x4138e4(0x19d)})},{'type':_0x4138e4(0x16c),'model':new _0x2ba8a5({'withText':!0x0,'label':_0x4c42cd(_0x2018fb,_0x4138e4(0x189)),'commandName':_0x4138e4(0x141),'role':_0x4138e4(0x19d)})},{'type':_0x4138e4(0x16c),'model':new _0x2ba8a5({'withText':!0x0,'label':_0x4c42cd(_0x2018fb,_0x4138e4(0x17b)),'commandName':_0x4138e4(0x17e),'role':_0x4138e4(0x19d)})}]);for(const _0x49dd94 of _0x3f3360)if(me(_0x49dd94)){const _0x5da804=_0x4d01f0[_0x4138e4(0x140)][_0x4138e4(0x142)](_0x49dd94[_0x4138e4(0x19b)][_0x4138e4(0x1be)]);_0x49dd94[_0x4138e4(0x19b)][_0x4138e4(0x13b)](_0x4138e4(0x148),_0x4138e4(0x18a))['to'](_0x5da804,_0x4138e4(0x192),_0x4138e4(0x18a));}_0x4d01f0['ui'][_0x4138e4(0x18d)][_0x4138e4(0x18e)](_0x4138e4(0x181),_0x3de196=>this[_0x4138e4(0x176)](_0x3de196,_0x3f3360,_0x131b49)),_0x4d01f0['ui'][_0x4138e4(0x18d)][_0x4138e4(0x18e)](_0x4138e4(0x16d),_0x5e0ffb=>this[_0x4138e4(0x153)](_0x5e0ffb,_0x3f3360,_0x131b49));}[_0x37f55d(0x176)](_0x7aafb8,_0x57bf40,_0x2003b8){const _0x5da6b4=_0x37f55d,_0x282788=_0x3d6e3d(_0x7aafb8,_0x4600a8),_0x1ede65=this[_0x5da6b4(0x158)][_0x5da6b4(0x140)][_0x5da6b4(0x142)](_0x5da6b4(0x181));_0x282788[_0x5da6b4(0x1c4)][_0x5da6b4(0x180)]({'tooltip':_0x2003b8,'label':_0x2003b8,'icon':_0x4a8195}),_0x282788[_0x5da6b4(0x1c4)][_0x5da6b4(0x13b)](_0x5da6b4(0x148))['to'](_0x1ede65,_0x5da6b4(0x192)),_0x282788[_0x5da6b4(0x1c4)]['on'](_0x5da6b4(0x1ab),()=>{const _0x308290=_0x5da6b4;_0x1ede65[_0x308290(0x1ab)](),this[_0x308290(0x158)][_0x308290(0x184)][_0x308290(0x162)][_0x308290(0x1cb)]();}),_0x48a255(_0x282788,_0x57bf40,{'role':_0x5da6b4(0x1b9)});const _0x3493c8=[];for(const _0x1d4eed of _0x57bf40)me(_0x1d4eed)&&_0x3493c8[_0x5da6b4(0x190)](this[_0x5da6b4(0x158)][_0x5da6b4(0x140)][_0x5da6b4(0x142)](_0x1d4eed[_0x5da6b4(0x19b)][_0x5da6b4(0x1be)]));const _0x5607f3=_0x282788[_0x5da6b4(0x1c4)];return _0x5607f3[_0x5da6b4(0x13a)][_0x5da6b4(0x193)](_0x5da6b4(0x18a)),_0x5607f3[_0x5da6b4(0x1c5)][_0x5da6b4(0x193)](_0x5da6b4(0x18a)),_0x5607f3[_0x5da6b4(0x13a)][_0x5da6b4(0x13b)](_0x5da6b4(0x18a))['to'](_0x1ede65,_0x5da6b4(0x18a)),_0x5607f3[_0x5da6b4(0x1c5)][_0x5da6b4(0x13b)](_0x5da6b4(0x18a))[_0x5da6b4(0x172)](_0x3493c8,_0x5da6b4(0x18a),(..._0x1102a9)=>_0x1102a9[_0x5da6b4(0x1c1)](_0x2e99d4=>_0x2e99d4)),_0x282788['on'](_0x5da6b4(0x1ab),_0x9e95a5=>{const _0x16f8fd=_0x5da6b4;this[_0x16f8fd(0x158)][_0x16f8fd(0x1ab)](_0x9e95a5[_0x16f8fd(0x16e)][_0x16f8fd(0x1be)]),this[_0x16f8fd(0x158)][_0x16f8fd(0x184)][_0x16f8fd(0x162)][_0x16f8fd(0x1cb)]();}),_0x282788;}[_0x37f55d(0x153)](_0x1ded81,_0x89606d,_0x194c56){const _0x41df64=_0x37f55d,_0x73ccbd=new _0x3511b3(_0x1ded81),_0x3f42e4=this[_0x41df64(0x158)][_0x41df64(0x140)][_0x41df64(0x142)](_0x41df64(0x181));_0x73ccbd[_0x41df64(0x1c4)][_0x41df64(0x180)]({'label':_0x194c56,'icon':_0x4a8195});const _0xdcb6b7=new _0x53e904(_0x1ded81);for(const _0x383eab of _0x89606d){if(_0x41df64(0x183)==_0x383eab[_0x41df64(0x13d)]){_0xdcb6b7[_0x41df64(0x1b8)][_0x41df64(0x18e)](new _0x54271e(_0x1ded81));continue;}const _0x2651d9=new _0x248543(_0x1ded81,_0x73ccbd),_0x43c407=new _0x18ecc1(_0x1ded81),_0x31c6d0=_0x383eab[_0x41df64(0x19b)];_0x43c407[_0x41df64(0x13b)](...Object[_0x41df64(0x1b0)](_0x31c6d0))['to'](_0x31c6d0),_0x43c407[_0x41df64(0x1b7)](_0x41df64(0x1ab))['to'](_0x73ccbd),_0x43c407['on'](_0x41df64(0x1ab),()=>{const _0x2fb82a=_0x41df64;this[_0x2fb82a(0x158)][_0x2fb82a(0x1ab)](_0x31c6d0[_0x2fb82a(0x1be)]),this[_0x2fb82a(0x158)][_0x2fb82a(0x184)][_0x2fb82a(0x162)][_0x2fb82a(0x1cb)]();}),_0x2651d9[_0x41df64(0x1a8)][_0x41df64(0x18e)](_0x43c407),_0xdcb6b7[_0x41df64(0x1b8)][_0x41df64(0x18e)](_0x2651d9);}return _0x73ccbd[_0x41df64(0x13b)](_0x41df64(0x18a))['to'](_0x3f42e4,_0x41df64(0x18a)),_0x73ccbd[_0x41df64(0x1a0)][_0x41df64(0x1a8)][_0x41df64(0x18e)](_0xdcb6b7),_0x73ccbd;}[_0x37f55d(0x182)](_0x259bd6){const _0xa251ad=_0x37f55d,_0x39ab0e=this[_0xa251ad(0x158)],_0x51fc16=_0x39ab0e[_0xa251ad(0x1a2)],_0x46a03e=_0x39ab0e[_0xa251ad(0x175)][_0xa251ad(0x142)](_0xa251ad(0x1a4)),_0x46c852=_0x39ab0e[_0xa251ad(0x175)][_0xa251ad(0x142)](_0xa251ad(0x174)),_0x707921=_0x39ab0e[_0xa251ad(0x175)][_0xa251ad(0x142)](_0xa251ad(0x1ad)),_0x20b02e=_0x39ab0e[_0xa251ad(0x175)][_0xa251ad(0x142)](_0x5db29c)['me'],_0x9350f1=_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x181))[_0xa251ad(0x186)],_0x38f73c=_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x181))[_0xa251ad(0x1af)],{CommentsListView:_0x3d39a1,CommentThreadInputView:_0x35d9e7}=_0x39ab0e[_0xa251ad(0x175)][_0xa251ad(0x142)](_0xa251ad(0x1c2));let _0x1dbd71,_0x54360e,_0x39d8cd;this[_0xa251ad(0x1a3)][_0xa251ad(0x188)](_0x259bd6['id'])?(_0x54360e=this[_0xa251ad(0x1a3)][_0xa251ad(0x142)](_0x259bd6['id']),_0x1dbd71=_0x54360e[_0xa251ad(0x138)]):(_0x1dbd71=new _0x9350f1(_0x39ab0e[_0xa251ad(0x1bd)],_0x259bd6,_0x20b02e,{'disableComments':this[_0xa251ad(0x168)],'editorConfig':_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x1aa)),'maxCommentsWhenCollapsed':_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x170)),'maxThreadTotalWeight':_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x173)),'maxCommentCharsWhenCollapsed':_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x155)),'formatDateTime':_0x599241(_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x1bd))),'CommentView':_0x51fc16[_0xa251ad(0x142)](_0xa251ad(0x13f))[_0xa251ad(0x1b6)],'CommentsListView':_0x3d39a1,'CommentThreadInputView':_0x35d9e7,'SuggestionView':_0x38f73c}),_0x1dbd71[_0xa251ad(0x1c9)][_0xa251ad(0x19a)]['on'](_0xa251ad(0x1ab),()=>{const _0x4618cb=_0xa251ad;_0x39ab0e[_0x4618cb(0x184)][_0x4618cb(0x162)][_0x4618cb(0x1cb)]();}),_0x1dbd71[_0xa251ad(0x1c9)][_0xa251ad(0x1b5)]['on'](_0xa251ad(0x1ab),()=>{const _0x1d6496=_0xa251ad;_0x39ab0e[_0x1d6496(0x184)][_0x1d6496(0x162)][_0x1d6496(0x1cb)]();}),_0x54360e=_0x46a03e[_0xa251ad(0x167)](this[_0xa251ad(0x158)][_0xa251ad(0x1bd)],_0x1dbd71),_0x54360e[_0xa251ad(0x13b)](_0xa251ad(0x1a6))['to'](_0x1dbd71,_0xa251ad(0x1a6)),_0x54360e[_0xa251ad(0x13b)](_0xa251ad(0x161))['to'](_0x1dbd71),_0x54360e[_0xa251ad(0x13b)](_0xa251ad(0x13d))['to'](_0x1dbd71,_0xa251ad(0x13d),_0xe38d85=>_0xa251ad(0x15f)+_0xe38d85),_0x1dbd71['on'](_0xa251ad(0x16a),()=>{const _0x4907a4=_0xa251ad;_0x39d8cd[_0x4907a4(0x14b)](_0x4907a4(0x16a));}),this[_0xa251ad(0x1a3)][_0xa251ad(0x180)](_0x259bd6['id'],_0x54360e));const _0x17bdf5=_0x46c852[_0xa251ad(0x1bc)](_0x259bd6[_0xa251ad(0x1c3)],_0x1dbd71),_0x58a6c9=new _0x43f9b9(_0x39ab0e,_0x259bd6,_0x1dbd71,_0x17bdf5),_0x367774=_0x259bd6[_0xa251ad(0x157)]()[_0xa251ad(0x1ba)](_0x4629ee=>_0x4629ee[_0xa251ad(0x17a)]);_0x1dbd71[_0xa251ad(0x179)]=_0x39ab0e[_0xa251ad(0x175)][_0xa251ad(0x142)](_0xa251ad(0x13e))[_0xa251ad(0x19f)][_0xa251ad(0x191)](_0x367774),this[_0xa251ad(0x171)][_0xa251ad(0x180)](_0x259bd6,_0x58a6c9),this[_0xa251ad(0x1ac)][_0xa251ad(0x180)](_0x1dbd71,_0x58a6c9),_0x39d8cd=_0x46a03e[_0xa251ad(0x165)]({'view':_0x54360e,'target':()=>{const _0x299c1e=_0xa251ad,_0x3819eb=[],_0x5d338f=_0x259bd6[_0x299c1e(0x157)]()[_0x299c1e(0x1ba)](_0x4461ea=>_0x4461ea[_0x299c1e(0x17a)]);for(const _0x3e28eb of _0x5d338f)_0x3819eb[_0x299c1e(0x190)](..._0x3e28eb[_0x299c1e(0x195)]());return _0x43e2ed(_0x39ab0e[_0x299c1e(0x184)],_0x3819eb);},'type':()=>_0xa251ad(0x15f)+_0x58a6c9[_0xa251ad(0x162)][_0xa251ad(0x13d)]}),_0x46c852[_0xa251ad(0x187)](_0x1dbd71,_0x39d8cd),_0x46a03e[_0xa251ad(0x18e)](_0x39d8cd),_0x707921[_0xa251ad(0x15d)](_0x39d8cd);}[_0x37f55d(0x1c7)](_0x1159bf){const _0x16da30=_0x37f55d,_0x1d9dee=this[_0x16da30(0x158)][_0x16da30(0x175)][_0x16da30(0x142)](_0x16da30(0x174)),_0x3de44e=this[_0x16da30(0x158)][_0x16da30(0x175)][_0x16da30(0x142)](_0x16da30(0x1a4)),_0x2fa627=this[_0x16da30(0x171)][_0x16da30(0x142)](_0x1159bf),_0x2feea0=_0x2fa627[_0x16da30(0x162)],_0x1814f2=_0x3de44e[_0x16da30(0x163)](_0x2feea0);_0x1d9dee[_0x16da30(0x17f)](_0x2feea0),_0x1814f2&&_0x3de44e[_0x16da30(0x135)](_0x1814f2),this[_0x16da30(0x171)][_0x16da30(0x1bb)](_0x1159bf),this[_0x16da30(0x1ac)][_0x16da30(0x1bb)](_0x2feea0),_0x2fa627[_0x16da30(0x1bf)]();}[_0x37f55d(0x134)](_0x3a01ed){const _0x35eb72=_0x37f55d;if(!_0x3a01ed[_0x35eb72(0x17a)]||!this[_0x35eb72(0x171)][_0x35eb72(0x188)](_0x3a01ed))return;const _0x393156=this[_0x35eb72(0x158)][_0x35eb72(0x175)][_0x35eb72(0x142)](_0x35eb72(0x13e)),_0x4e6913=this[_0x35eb72(0x171)][_0x35eb72(0x142)](_0x3a01ed),_0x42cb55=_0x3a01ed[_0x35eb72(0x157)]();_0x4e6913[_0x35eb72(0x162)][_0x35eb72(0x179)]=_0x393156[_0x35eb72(0x19f)][_0x35eb72(0x191)](_0x42cb55);}[_0x37f55d(0x1bf)](){const _0x1f1c43=_0x37f55d;for(const _0x162879 of this[_0x1f1c43(0x171)][_0x1f1c43(0x1b0)]())this[_0x1f1c43(0x1c7)](_0x162879);for(const _0x56f863 of this[_0x1f1c43(0x1a3)][_0x1f1c43(0x194)]())_0x56f863[_0x1f1c43(0x138)][_0x1f1c43(0x1bf)]();super[_0x1f1c43(0x1bf)]();}}function me(_0x2cfd0a){const _0x33eafd=_0x37f55d;return _0x33eafd(0x19b)in _0x2cfd0a;}function _0x283b(){const _0xa16f79=['commentsListView','length','view','getByInnerView','TrackChangesUI','createAnnotation','374190qsvAiP','createAnnotationView','_disableComments','3232xMDYmL','escape','acceptAllSuggestions','button','menuBar:trackChanges','source','getMarkerNames','comments.maxCommentsWhenCollapsed','_suggestionToController','toMany','comments.maxThreadTotalWeight','CommentsRepository','plugins','_createToolbarButton','Accept\x20all\x20suggestions','addSourceCollector','descriptionParts','isInContent','Discard\x20all\x20selected\x20suggestions','257858KCEaBr','trackChanges.disableComments','discardSelectedSuggestions','_unbindEditors','set','trackChanges','_initializeController','separator','editing','pluginName','SuggestionThreadView','_bindAnnotationToEditors','has','Discard\x20all\x20suggestions','isEnabled','933930hfprJk','_handleSuggestionControllerDelayed','componentFactory','add','226644zuRUZY','push','getDescriptions','value','unbind','values','getMarkers','lowest','suggestionChanged','stopListening','trackChanges.SuggestionView','acceptButton','model','listenTo','menuitem','858bNASgX','descriptionFactory','panelView','change:previous','config','_annotationViews','Annotations','head','isDirty','getJoined','children','activeAnnotations','comments.editorConfig','execute','_viewToController','EditorAnnotations','suggestionLoaded','SuggestionView','keys','suggestionUnloaded','reduce','size','1080359zcuAPY','discardButton','CommentView','delegate','items','menu','filter','delete','createCommentThreadController','locale','commandName','destroy','init','some','CommentsUI','commentThread','buttonView','arrowView','Track\x20changes','_destroyController','change:activeAnnotations','suggestionView','31869AfLHof','focus','_updateController','remove','hasSuggestion','from','mainView','getFirstRange','actionView','bind','innerView','type','TrackChangesEditing','comments','commands','discardAllSuggestions','get','trackChanges.SuggestionThreadView','getSuggestion','isMultiRange','getRanges','define','isOn','requires','_refreshActiveMarkers','fire','72iWaGTH','Accept\x20all\x20selected\x20suggestions','addComment','menuitemcheckbox','refreshSelectedViews','12FLwrcB','previous','_createMenuBarMenu','acceptSelectedSuggestions','comments.maxCommentCharsWhenCollapsed','_handleControllerBuffer','getAllAdjacentSuggestions','editor','1077600uqCbfd','_addUIComponentsToFactory','activeMarkers','clear','registerAnnotation','switchbutton','suggestion-'];_0x283b=function(){return _0xa16f79;};return _0x283b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x378900=_0x50a4;(function(_0x5678c2,_0x2b09fc){const _0x5152e3=_0x50a4,_0x1bae49=_0x5678c2();while(!![]){try{const _0xcc21a9=-parseInt(_0x5152e3(0x149))/0x1+parseInt(_0x5152e3(0x142))/0x2*(parseInt(_0x5152e3(0x14e))/0x3)+-parseInt(_0x5152e3(0x14c))/0x4*(-parseInt(_0x5152e3(0x14a))/0x5)+-parseInt(_0x5152e3(0x130))/0x6+-parseInt(_0x5152e3(0x14b))/0x7*(-parseInt(_0x5152e3(0x133))/0x8)+parseInt(_0x5152e3(0x156))/0x9*(parseInt(_0x5152e3(0x145))/0xa)+parseInt(_0x5152e3(0x12e))/0xb*(-parseInt(_0x5152e3(0x134))/0xc);if(_0xcc21a9===_0x2b09fc)break;else _0x1bae49['push'](_0x1bae49['shift']());}catch(_0x4ce663){_0x1bae49['push'](_0x1bae49['shift']());}}}(_0x1856,0x7db33));import{ObservableMixin as _0x1e1452}from'ckeditor5/src/utils.js';import{getTranslation as _0x19948e}from'../utils/common-translations.js';function _0x50a4(_0x3396c2,_0x264cbd){const _0x1856bb=_0x1856();return _0x50a4=function(_0x50a4d1,_0x4dff73){_0x50a4d1=_0x50a4d1-0x12e;let _0x2f2a82=_0x1856bb[_0x50a4d1];return _0x2f2a82;},_0x50a4(_0x3396c2,_0x264cbd);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e1452(){constructor(_0x5302a4,_0x4e828f,_0x37529d,_0x5a5a24){const _0x51d594=_0x50a4;super(),this[_0x51d594(0x152)]=_0x4e828f,this[_0x51d594(0x143)]=_0x37529d,this[_0x51d594(0x131)]=_0x5a5a24,this[_0x51d594(0x148)]=_0x5302a4,this[_0x51d594(0x155)]=_0x5302a4[_0x51d594(0x13d)][_0x51d594(0x150)](_0x51d594(0x14d)),this[_0x51d594(0x13b)]=_0x5302a4[_0x51d594(0x13d)][_0x51d594(0x150)](_0x51d594(0x158)),this[_0x51d594(0x143)][_0x51d594(0x13c)](_0x51d594(0x159))['to'](this[_0x51d594(0x155)],this[_0x51d594(0x13b)],(_0x502e3a,_0x503c93)=>_0x502e3a||_0x503c93),this[_0x51d594(0x143)][_0x51d594(0x13c)](_0x51d594(0x136))['to'](this[_0x51d594(0x155)],_0x51d594(0x159),_0x1f9925=>_0x1f9925&&this[_0x51d594(0x148)][_0x51d594(0x152)][_0x51d594(0x146)](_0x4e828f[_0x51d594(0x13a)]())),this[_0x51d594(0x143)][_0x51d594(0x13c)](_0x51d594(0x157))['to'](this[_0x51d594(0x13b)],_0x51d594(0x159),_0x131344=>_0x131344&&this[_0x51d594(0x148)][_0x51d594(0x152)][_0x51d594(0x146)](_0x4e828f[_0x51d594(0x13a)]())),this[_0x51d594(0x151)]=null,_0x37529d[_0x51d594(0x13f)]&&this[_0x51d594(0x147)](),this[_0x51d594(0x141)](_0x37529d,_0x51d594(0x14d),()=>this[_0x51d594(0x14d)]()),this[_0x51d594(0x141)](_0x37529d,_0x51d594(0x158),()=>this[_0x51d594(0x158)]()),this[_0x51d594(0x141)](_0x37529d,_0x51d594(0x153),()=>{const _0x23ead6=_0x51d594;_0x37529d[_0x23ead6(0x13f)]?this[_0x23ead6(0x147)]():this[_0x23ead6(0x135)]();});}[_0x378900(0x14d)](){const _0x58969a=_0x378900;this[_0x58969a(0x155)][_0x58969a(0x154)](this[_0x58969a(0x152)]['id']);}[_0x378900(0x158)](){const _0xf1d0c=_0x378900;this[_0xf1d0c(0x13b)][_0xf1d0c(0x154)](this[_0xf1d0c(0x152)]['id']);}[_0x378900(0x12f)](){const _0x4cda27=_0x378900;this[_0x4cda27(0x143)][_0x4cda27(0x132)](_0x4cda27(0x159)),this[_0x4cda27(0x143)][_0x4cda27(0x132)](_0x4cda27(0x136)),this[_0x4cda27(0x143)][_0x4cda27(0x132)](_0x4cda27(0x157)),this[_0x4cda27(0x144)](),this[_0x4cda27(0x131)][_0x4cda27(0x12f)](),this[_0x4cda27(0x151)]&&this[_0x4cda27(0x135)]();}[_0x378900(0x147)](){const _0x4714af=_0x378900,_0x5168a8=_0x19948e(this[_0x4714af(0x148)][_0x4714af(0x13e)],_0x4714af(0x14f));this[_0x4714af(0x151)]=this[_0x4714af(0x148)][_0x4714af(0x137)][_0x4714af(0x150)](_0x4714af(0x138))[_0x4714af(0x139)](_0x5168a8);}[_0x378900(0x135)](){const _0x1185a5=_0x378900;null!==this[_0x1185a5(0x151)]&&this[_0x1185a5(0x148)][_0x1185a5(0x137)][_0x1185a5(0x150)](_0x1185a5(0x138))[_0x1185a5(0x140)](this[_0x1185a5(0x151)]),this[_0x1185a5(0x151)]=null;}}function _0x1856(){const _0x2a2e3b=['stopListening','270390mUJTec','canEditAt','_setPendingAction','_editor','813272gKeLGY','18385bjtvmV','14KzBddX','1108ClWELu','acceptSuggestion','9pPOmVd','PENDING_ACTION_SUGGESTION','get','_pendingAction','model','change:isDirty','execute','_acceptCommand','324OQMMRE','canDiscard','discardSuggestion','isEnabled','11tdneTA','destroy','5710422uToLzq','commentThreadController','unbind','4105784kyzJek','9092904NKaINL','_removePendingAction','canAccept','plugins','PendingActions','add','getRanges','_discardCommand','bind','commands','locale','isDirty','remove','listenTo','12826MOiWSr','view'];_0x1856=function(){return _0x2a2e3b;};return _0x1856();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1316dc=_0x5429;(function(_0x6eded0,_0x2b68ea){const _0xf95e44=_0x5429,_0x33b371=_0x6eded0();while(!![]){try{const _0x5b1727=-parseInt(_0xf95e44(0x1a5))/0x1*(-parseInt(_0xf95e44(0x18f))/0x2)+parseInt(_0xf95e44(0x192))/0x3*(-parseInt(_0xf95e44(0x1bf))/0x4)+parseInt(_0xf95e44(0x195))/0x5+parseInt(_0xf95e44(0x186))/0x6+-parseInt(_0xf95e44(0x194))/0x7+parseInt(_0xf95e44(0x18d))/0x8+-parseInt(_0xf95e44(0x190))/0x9*(parseInt(_0xf95e44(0x1b7))/0xa);if(_0x5b1727===_0x2b68ea)break;else _0x33b371['push'](_0x33b371['shift']());}catch(_0x9681c7){_0x33b371['push'](_0x33b371['shift']());}}}(_0x37c6,0xaf960));import{FocusCycler as _0x125ec7,View as _0x481c8e,ViewCollection as _0x4dcb38}from'ckeditor5/src/ui.js';function _0x37c6(){const _0x2b6339=['destroy','9193624Qygjid','canAccept','1189942qEVTGT','18XFJzbw','map','3621MsKRbx','formatDateTime','8913016Ugancd','997740dRkDdw','delegate','setData','focusables','updateComment','author','editor','showInput','name','CommentView','fire','disableComments','descriptionParts','parseFromString','SUGGESTION_THREAD_DESCRIPTION','element','2DUtYfQ','textContent','focusTracker','join','disabledSubmit','_createCommentViews','isDirty','keystrokes','submit','_config','shift+tab','commentsListView','ariaDescriptionView','value','assign','focus','_model','commentInputView','4346100gGHKSj','addComment','isEnabled','content','commentThread','isActive','text/html','bind','2468MiYupJ','SUGGESTION_THREAD_ARIA_LABEL','tab','commentThreadInputView','focusCycler','canDiscard','ariaLabel','body','authoredAt','locale','editorConfig','render','length','isReadOnly','target','_createCommentThreadInputView','6406404GhpFps','removeComment','cancel','hasDirtyComment','_localUser','set'];_0x37c6=function(){return _0x2b6339;};return _0x37c6();}import{FocusTracker as _0x4dfa9d,KeystrokeHandler as _0x75b592}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0xc84de6,setupThreadKeyboardNavigation as _0x48e2b4}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x1b9933}from'../../utils/common-translations.js';function _0x5429(_0x19e3c9,_0x17b2f7){const _0x37c6b8=_0x37c6();return _0x5429=function(_0x542927,_0x31f209){_0x542927=_0x542927-0x17d;let _0x551d84=_0x37c6b8[_0x542927];return _0x551d84;},_0x5429(_0x19e3c9,_0x17b2f7);}import{renderDescription as _0xc7b51b}from'../../utils/utils.js';export default class us extends _0x481c8e{constructor(_0x45722f,_0x313ea5,_0x43919e,_0x306834){const _0x2e2fde=_0x5429;super(_0x45722f),this[_0x2e2fde(0x1b0)]=null,this[_0x2e2fde(0x1c2)]=null,this[_0x2e2fde(0x1b1)]=new _0xc84de6(_0x45722f,_0x1b9933(_0x45722f,_0x2e2fde(0x1a3))),this[_0x2e2fde(0x18b)](_0x2e2fde(0x1bc),!0x1),this[_0x2e2fde(0x18b)](_0x2e2fde(0x17e),_0x313ea5[_0x2e2fde(0x17e)]),this[_0x2e2fde(0x1be)](_0x2e2fde(0x17e))['to'](_0x313ea5),this[_0x2e2fde(0x18b)](_0x2e2fde(0x1a1),[]),this[_0x2e2fde(0x18b)](_0x2e2fde(0x1ab),!0x1),this[_0x2e2fde(0x18b)](_0x2e2fde(0x1b9),!0x1),this[_0x2e2fde(0x18b)](_0x2e2fde(0x18e),!0x1),this[_0x2e2fde(0x18b)](_0x2e2fde(0x1c4),!0x1),this[_0x2e2fde(0x1be)](_0x2e2fde(0x1c5))['to'](this,_0x2e2fde(0x182),_0x313ea5,_0x2e2fde(0x17e),this,_0x2e2fde(0x1a1),(_0x483c5d,_0xc50164,_0x262582)=>{const _0x5150b0=_0x2e2fde,_0x31a895=_0x262582[_0x5150b0(0x191)](_0xe9d105=>_0xc7b51b(_0xe9d105[_0x5150b0(0x1ba)]))[_0x5150b0(0x1a8)]('.\x20')+'.';return _0x1b9933(this[_0x5150b0(0x17f)],_0x5150b0(0x1c0),[_0x483c5d-0x1,_0x313ea5[_0x5150b0(0x19a)][_0x5150b0(0x19d)],_0xc50164?_0x306834[_0x5150b0(0x193)](_0xc50164):'',new DOMParser()[_0x5150b0(0x1a2)](_0x31a895,_0x5150b0(0x1bd))[_0x5150b0(0x17d)][_0x5150b0(0x1a6)]]);}),this[_0x2e2fde(0x198)]=new _0x4dcb38(),this[_0x2e2fde(0x1a7)]=new _0x4dfa9d(),this[_0x2e2fde(0x1ac)]=new _0x75b592(),this[_0x2e2fde(0x1c3)]=new _0x125ec7({'focusables':this[_0x2e2fde(0x198)],'focusTracker':this[_0x2e2fde(0x1a7)],'keystrokeHandler':this[_0x2e2fde(0x1ac)],'keystrokeHandlerOptions':{'filter':_0x2ebeb=>_0x2ebeb[_0x2e2fde(0x184)]!==this[_0x2e2fde(0x1a4)]},'actions':{'focusPrevious':_0x2e2fde(0x1af),'focusNext':_0x2e2fde(0x1c1)}}),this[_0x2e2fde(0x1b5)]=_0x313ea5,this[_0x2e2fde(0x18a)]=_0x43919e,this[_0x2e2fde(0x1ae)]=_0x306834,_0x306834[_0x2e2fde(0x1a0)]?this[_0x2e2fde(0x18b)](_0x2e2fde(0x182),0x1):this[_0x2e2fde(0x1aa)]();}[_0x1316dc(0x181)](){const _0x15c807=_0x1316dc;super[_0x15c807(0x181)](),_0x48e2b4(this,this[_0x15c807(0x198)]);}[_0x1316dc(0x1b4)](){const _0x1747ba=_0x1316dc;this[_0x1747ba(0x1a4)][_0x1747ba(0x1b4)]();}[_0x1316dc(0x18c)](){const _0x1395db=_0x1316dc;this[_0x1395db(0x1b0)]&&this[_0x1395db(0x1b0)][_0x1395db(0x18c)](),this[_0x1395db(0x1c2)]&&this[_0x1395db(0x1c2)][_0x1395db(0x18c)](),super[_0x1395db(0x18c)]();}[_0x1316dc(0x1aa)](){const _0xfeed1a=_0x1316dc,{CommentsListView:_0x75632a}=this[_0xfeed1a(0x1ae)];this[_0xfeed1a(0x1b0)]=new _0x75632a(this[_0xfeed1a(0x17f)],this[_0xfeed1a(0x1b5)][_0xfeed1a(0x1bb)],Object[_0xfeed1a(0x1b3)]({'CommentView':this[_0xfeed1a(0x1ae)][_0xfeed1a(0x19e)]},this[_0xfeed1a(0x1ae)])),this[_0xfeed1a(0x1b0)][_0xfeed1a(0x196)](_0xfeed1a(0x187))['to'](this),this[_0xfeed1a(0x1b0)][_0xfeed1a(0x196)](_0xfeed1a(0x199))['to'](this),this[_0xfeed1a(0x1b0)][_0xfeed1a(0x1be)](_0xfeed1a(0x1bc))['to'](this),this[_0xfeed1a(0x18b)](_0xfeed1a(0x182),this[_0xfeed1a(0x1b0)][_0xfeed1a(0x182)]+0x1),this[_0xfeed1a(0x1be)](_0xfeed1a(0x182))['to'](this[_0xfeed1a(0x1b0)],_0xfeed1a(0x182),_0x53e91a=>_0x53e91a+0x1),this[_0xfeed1a(0x1c2)]=this[_0xfeed1a(0x185)](),this['on'](_0xfeed1a(0x187),()=>this[_0xfeed1a(0x1b4)]()),this[_0xfeed1a(0x1be)](_0xfeed1a(0x1ab))['to'](this[_0xfeed1a(0x1b0)],_0xfeed1a(0x189),this[_0xfeed1a(0x1c2)][_0xfeed1a(0x1b6)],_0xfeed1a(0x1b2),(_0xf12e42,_0x42f98d)=>_0xf12e42||!!_0x42f98d);}[_0x1316dc(0x185)](){const _0x1a5ce6=_0x1316dc,{CommentThreadInputView:_0x217b8b}=this[_0x1a5ce6(0x1ae)],_0x3c66e6=new _0x217b8b(this[_0x1a5ce6(0x17f)],this[_0x1a5ce6(0x18a)],this[_0x1a5ce6(0x1ae)][_0x1a5ce6(0x180)]),_0x32042f=_0x3c66e6[_0x1a5ce6(0x1b6)];return _0x3c66e6[_0x1a5ce6(0x1be)](_0x1a5ce6(0x19c))['to'](this,_0x1a5ce6(0x1bc),this[_0x1a5ce6(0x1b5)][_0x1a5ce6(0x1bb)],_0x1a5ce6(0x183),_0x32042f,_0x1a5ce6(0x1b2),(_0x50a89f,_0x5d6f82,_0x5e1d62)=>!!_0x5e1d62||_0x50a89f&&!_0x5d6f82),_0x32042f['on'](_0x1a5ce6(0x1ad),(_0x32584c,_0x93a819)=>{const _0x3fd1d2=_0x1a5ce6;this[_0x3fd1d2(0x19f)](_0x3fd1d2(0x1b8),_0x93a819),_0x32042f[_0x3fd1d2(0x19b)][_0x3fd1d2(0x197)]('');}),_0x32042f['on'](_0x1a5ce6(0x188),()=>this[_0x1a5ce6(0x1b4)]()),_0x32042f[_0x1a5ce6(0x1be)](_0x1a5ce6(0x1a9))['to'](this[_0x1a5ce6(0x1b5)][_0x1a5ce6(0x1bb)],_0x1a5ce6(0x183)),_0x3c66e6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ed0f4=_0xfd90;(function(_0x44e055,_0x25d356){const _0x1019f9=_0xfd90,_0x611251=_0x44e055();while(!![]){try{const _0x474549=-parseInt(_0x1019f9(0x207))/0x1+-parseInt(_0x1019f9(0x1e3))/0x2*(parseInt(_0x1019f9(0x204))/0x3)+-parseInt(_0x1019f9(0x1fa))/0x4+-parseInt(_0x1019f9(0x1fb))/0x5*(parseInt(_0x1019f9(0x208))/0x6)+parseInt(_0x1019f9(0x1ec))/0x7+parseInt(_0x1019f9(0x206))/0x8*(parseInt(_0x1019f9(0x202))/0x9)+parseInt(_0x1019f9(0x1ee))/0xa;if(_0x474549===_0x25d356)break;else _0x611251['push'](_0x611251['shift']());}catch(_0x218ddf){_0x611251['push'](_0x611251['shift']());}}}(_0x8555,0x9d6f5));import{default as _0xfc60af}from'./basesuggestionthreadview.js';import{trimHtml as _0x38d099}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x34650b}from'../../utils/utils.js';export default class re extends _0xfc60af{constructor(_0x56ad7c,_0x5c11cb,_0x4f934e,_0x701da2){const _0x101c73=_0xfd90;super(_0x56ad7c,_0x5c11cb,_0x4f934e,_0x701da2),this[_0x101c73(0x20e)](_0x101c73(0x1ed),''),this[_0x101c73(0x1f3)](_0x101c73(0x1ed))['to'](this,_0x101c73(0x200),_0xedd2=>_0xedd2&&_0xedd2[0x0]?_0xedd2[0x0][_0x101c73(0x1ed)]:''),this[_0x101c73(0x1f3)](_0x101c73(0x201))['to'](this,_0x101c73(0x200),this,_0x101c73(0x1df),(_0x29f12b,_0x2e990a)=>{const _0x376773=_0x101c73;let _0x201c2c='';for(const _0xe8fae of _0x29f12b)_0x201c2c+=_0x376773(0x1ff)+_0x34650b(_0xe8fae[_0x376773(0x1fe)],_0xe8fae[_0x376773(0x1f4)])+_0x376773(0x1ef);return _0x2e990a?_0x201c2c:_0x38d099(_0x201c2c,{'limit':0x8c});}),this[_0x101c73(0x1e0)]=null,this[_0x101c73(0x1f5)]=new _0x701da2[(_0x101c73(0x1da))](_0x56ad7c,_0x5c11cb,{'formatDateTime':_0x701da2[_0x101c73(0x1e6)]}),this[_0x101c73(0x1f5)][_0x101c73(0x1f3)](_0x101c73(0x201))['to'](this),this[_0x101c73(0x1f5)][_0x101c73(0x20a)](_0x101c73(0x1db),_0x101c73(0x20f))['to'](this),this[_0x101c73(0x1f5)][_0x101c73(0x1d9)][_0x101c73(0x1f3)](_0x101c73(0x1f2))['to'](this,_0x101c73(0x203)),this[_0x101c73(0x1f5)][_0x101c73(0x1f6)][_0x101c73(0x1f3)](_0x101c73(0x1f2))['to'](this,_0x101c73(0x1d8)),this[_0x101c73(0x1e9)][_0x101c73(0x1f7)](this[_0x101c73(0x1f5)]),this[_0x101c73(0x1e2)]&&this[_0x101c73(0x1e9)][_0x101c73(0x1f7)](this[_0x101c73(0x1e2)]),this[_0x101c73(0x1e4)]&&this[_0x101c73(0x1e9)][_0x101c73(0x1f7)](this[_0x101c73(0x1e4)]),this[_0x101c73(0x1e8)](this[_0x101c73(0x20c)]());}[_0x5ed0f4(0x20c)](){const _0x4d7642=_0x5ed0f4,_0x1dbbb2=this[_0x4d7642(0x209)],_0x894deb=[this[_0x4d7642(0x1f5)]];return this[_0x4d7642(0x1e2)]&&_0x894deb[_0x4d7642(0x1fd)](this[_0x4d7642(0x1e2)]),this[_0x4d7642(0x1e4)]&&_0x894deb[_0x4d7642(0x1fd)](this[_0x4d7642(0x1e4)]),_0x894deb[_0x4d7642(0x1fd)](this[_0x4d7642(0x1dd)]),{'tag':_0x4d7642(0x1d7),'attributes':{'class':['ck',_0x4d7642(0x1de),_0x4d7642(0x1e7),_0x1dbbb2['if'](_0x4d7642(0x1df),_0x4d7642(0x1ea)),_0x1dbbb2['to'](_0x4d7642(0x1ed),_0x2ca60b=>_0x4d7642(0x205)+_0x2ca60b),this[_0x4d7642(0x1fc)][_0x4d7642(0x1f8)]&&_0x4d7642(0x20d)],'data-suggestion-id':this[_0x4d7642(0x20b)]['id'],'data-thread-id':this[_0x4d7642(0x20b)][_0x4d7642(0x1e1)]['id'],'data-author-id':this[_0x4d7642(0x20b)][_0x4d7642(0x1f1)]['id'],'tabindex':0x0,'role':_0x4d7642(0x1eb),'aria-label':_0x1dbbb2['to'](_0x4d7642(0x1dc)),'aria-describedby':this[_0x4d7642(0x1dd)]['id']},'children':_0x894deb};}[_0x5ed0f4(0x1e5)](){const _0x2be7c9=_0x5ed0f4;super[_0x2be7c9(0x1e5)](),this[_0x2be7c9(0x1e2)]&&(this[_0x2be7c9(0x1e2)][_0x2be7c9(0x20a)](_0x2be7c9(0x1f9))['to'](this),this[_0x2be7c9(0x1e2)][_0x2be7c9(0x20a)](_0x2be7c9(0x1f0))['to'](this)),this[_0x2be7c9(0x1e4)]&&(this[_0x2be7c9(0x1e4)][_0x2be7c9(0x20a)](_0x2be7c9(0x1f9))['to'](this),this[_0x2be7c9(0x1e4)][_0x2be7c9(0x20a)](_0x2be7c9(0x1f0))['to'](this));}}function _0xfd90(_0x29ccf3,_0x4dfb1b){const _0x855500=_0x8555();return _0xfd90=function(_0xfd9068,_0x51b8ac){_0xfd9068=_0xfd9068-0x1d7;let _0x125647=_0x855500[_0xfd9068];return _0x125647;},_0xfd90(_0x29ccf3,_0x4dfb1b);}function _0x8555(){const _0x41da57=['description','110331yLxqWr','canAccept','3846306oplFLY','ck-suggestion-','200eCCsJG','949474jqrEKe','42dDLCQn','bindTemplate','delegate','_model','getTemplate','ck-suggestion--disabled-comments','set','discardSuggestion','div','canDiscard','acceptButton','SuggestionView','acceptSuggestion','ariaLabel','ariaDescriptionView','ck-rounded-corners','isActive','_descriptionElement','commentThread','commentsListView','2dBPLpO','commentThreadInputView','render','formatDateTime','ck-suggestion-wrapper','setTemplate','focusables','ck-suggestion-wrapper--active','listitem','8248639QfIoky','type','17165940BMannW','</p>','editorDestroyed','author','isEnabled','bind','color','suggestionView','discardButton','add','disableComments','editorReady','370804ludKna','165940xUUeXU','_config','push','content','<p>','descriptionParts'];_0x8555=function(){return _0x41da57;};return _0x8555();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x39d3e1=_0xb14e;(function(_0x50be35,_0x3b473a){const _0x23e4da=_0xb14e,_0x1c57fe=_0x50be35();while(!![]){try{const _0x161e79=parseInt(_0x23e4da(0x1ea))/0x1*(-parseInt(_0x23e4da(0x238))/0x2)+parseInt(_0x23e4da(0x230))/0x3+-parseInt(_0x23e4da(0x23a))/0x4*(-parseInt(_0x23e4da(0x1f3))/0x5)+-parseInt(_0x23e4da(0x1f4))/0x6*(parseInt(_0x23e4da(0x20b))/0x7)+-parseInt(_0x23e4da(0x20e))/0x8+parseInt(_0x23e4da(0x1fa))/0x9*(-parseInt(_0x23e4da(0x227))/0xa)+parseInt(_0x23e4da(0x20c))/0xb;if(_0x161e79===_0x3b473a)break;else _0x1c57fe['push'](_0x1c57fe['shift']());}catch(_0x3e78f8){_0x1c57fe['push'](_0x1c57fe['shift']());}}}(_0x32c9,0x6962f));import{FocusTracker as _0x156873,KeystrokeHandler as _0x3a70be}from'ckeditor5/src/utils.js';import{View as _0x5d52b9,ViewCollection as _0x5eecaa,FocusCycler as _0x311f8e}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xbf75d5,UserView as _0x245861}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xb14e(_0x5623ee,_0x55ed16){const _0x32c921=_0x32c9();return _0xb14e=function(_0xb14ef3,_0xaa6b40){_0xb14ef3=_0xb14ef3-0x1e5;let _0x20e194=_0x32c921[_0xb14ef3];return _0x20e194;},_0xb14e(_0x5623ee,_0x55ed16);}import{icons as _0x52b39e}from'ckeditor5/src/core.js';import{getTranslation as _0x2009c6}from'../../utils/common-translations.js';function _0x32c9(){const _0x27f431=['EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__content-wrapper','span','focusCycler','ck-annotation','ck-suggestion--discard','ck-suggestion__main','set','authoredAt','ck-annotation__info','userView','ck-suggestion__user','_createButton','focusables','.ck-annotation__content-wrapper','7TUpJnZ','14785430NsHLeF','div','3801144cWroRt','ck-annotation__info-time','target','enter','acceptButton','esc','add','check','ck-annotation__info-name','getExternalSuggestionNote','locale','bindTemplate','cancel','querySelector','time','ck-suggestion--accept','discardSuggestion','extendTemplate','acceptSuggestion','shift+tab','ck-suggestion__info','ck-suggestion__info-name','bind','Accept\x20suggestion','tab','2310LPeWxv','getTemplate','listenTo','discardButton','_model','author','ck-annotation__user','focus','EXTERNAL_SUGGESTION','709923CeoXPl','EXTERNAL_AVATAR','description','setTemplate','attributes','ck-comment__external','focusTracker','ck-comment__info-time','86tcaqDH','isExternal','8444bcOPCd','ck-suggestion__actions','importWord','Discard\x20suggestion','EXTERNAL_IMPORT_WORD_AVATAR','push','fire','element','source','formatDateTime','@external','focusFirst','14013VBBifr','_setupKeyboardNavigation','keystrokes','name','ck-annotation__actions','_config','creator','change:description','ck-annotation__main','1310HJThGw','2697726tcCfnh','ck-suggestion','execute','getUserViewNotificationText','innerHTML','presentation','6813uSoNQa','render'];_0x32c9=function(){return _0x27f431;};return _0x32c9();}export default class ce extends _0x5d52b9{constructor(_0x50ca00,_0x32fcc7,_0x8f9786){const _0x4ff991=_0xb14e;super(_0x50ca00),this[_0x4ff991(0x22b)]=_0x32fcc7,this[_0x4ff991(0x1ef)]=_0x8f9786,this[_0x4ff991(0x203)](_0x4ff991(0x232),''),this[_0x4ff991(0x224)](_0x4ff991(0x204))['to'](_0x32fcc7),this[_0x4ff991(0x212)]=this[_0x4ff991(0x208)](_0x2009c6(_0x50ca00,_0x4ff991(0x225)),_0x52b39e[_0x4ff991(0x215)],_0x4ff991(0x21d),_0x4ff991(0x220),'sw'),this[_0x4ff991(0x22a)]=this[_0x4ff991(0x208)](_0x2009c6(_0x50ca00,_0x4ff991(0x23d)),_0x52b39e[_0x4ff991(0x21a)],_0x4ff991(0x201),_0x4ff991(0x21e),'sw'),this[_0x4ff991(0x206)]=new _0x245861(_0x50ca00,_0x32fcc7[_0x4ff991(0x22c)],this[_0x4ff991(0x1f7)]()),this[_0x4ff991(0x206)][_0x4ff991(0x21f)]({'attributes':{'class':[_0x4ff991(0x207),_0x4ff991(0x22d)],'aria-hidden':!0x0}}),this[_0x4ff991(0x209)]=new _0x5eecaa([this[_0x4ff991(0x212)],this[_0x4ff991(0x22a)]]),this[_0x4ff991(0x236)]=new _0x156873(),this[_0x4ff991(0x1ec)]=new _0x3a70be(),this[_0x4ff991(0x1ff)]=new _0x311f8e({'focusables':this[_0x4ff991(0x209)],'focusTracker':this[_0x4ff991(0x236)],'keystrokeHandler':this[_0x4ff991(0x1ec)],'actions':{'focusPrevious':_0x4ff991(0x221),'focusNext':_0x4ff991(0x226)},'keystrokeHandlerOptions':{'filter':_0x888f12=>_0x888f12[_0x4ff991(0x210)]!==this[_0x4ff991(0x1e5)]}}),this[_0x4ff991(0x233)](this[_0x4ff991(0x228)]());}[_0x39d3e1(0x1fb)](){const _0x199f9f=_0x39d3e1;super[_0x199f9f(0x1fb)]();const _0x5a39a1=this[_0x199f9f(0x1e5)][_0x199f9f(0x21b)](_0x199f9f(0x20a));_0x5a39a1[_0x199f9f(0x1f8)]=this[_0x199f9f(0x232)],this['on'](_0x199f9f(0x1f1),(_0x48add4,_0x391d1f,_0x3dd4ca)=>{const _0x210f89=_0x199f9f;_0x5a39a1[_0x210f89(0x1f8)]=_0x3dd4ca;}),this[_0x199f9f(0x1eb)]();}[_0x39d3e1(0x228)](){const _0x4d2aec=_0x39d3e1,_0x48e296=this[_0x4d2aec(0x219)],_0x310ec7=[{'tag':_0x4d2aec(0x20d),'attributes':{'class':[_0x4d2aec(0x222),_0x4d2aec(0x205)]},'children':[{'tag':_0x4d2aec(0x1fe),'children':[{'text':this[_0x4d2aec(0x206)][_0x4d2aec(0x1ed)]}],'attributes':{'class':[_0x4d2aec(0x223),_0x4d2aec(0x216)]}},{'tag':_0x4d2aec(0x21c),'attributes':{'datetime':_0x48e296['to'](_0x4d2aec(0x204)),'class':[_0x4d2aec(0x237),_0x4d2aec(0x20f)]},'children':[{'text':_0x48e296['to'](_0x4d2aec(0x204),_0x2869aa=>this[_0x4d2aec(0x1ef)][_0x4d2aec(0x1e7)](_0x2869aa))}]}]},{'tag':_0x4d2aec(0x20d),'attributes':{'class':[_0x4d2aec(0x23b),_0x4d2aec(0x1ee)]},'children':[this[_0x4d2aec(0x212)],this[_0x4d2aec(0x22a)]]},{'tag':_0x4d2aec(0x20d),'attributes':{'class':[_0x4d2aec(0x1fd)]}}];return this[_0x4d2aec(0x22b)][_0x4d2aec(0x239)]&&_0x310ec7[_0x4d2aec(0x23f)]({'tag':_0x4d2aec(0x20d),'attributes':{'class':[_0x4d2aec(0x235)]},'children':[{'text':this[_0x4d2aec(0x217)]()}]}),{'tag':_0x4d2aec(0x20d),'attributes':{'class':[_0x4d2aec(0x1f5),_0x4d2aec(0x200)],'tabindex':-0x1},'children':[this[_0x4d2aec(0x206)],{'tag':_0x4d2aec(0x20d),'attributes':{'class':[_0x4d2aec(0x202),_0x4d2aec(0x1f2)],'role':_0x4d2aec(0x1f9)},'children':_0x310ec7}]};}[_0x39d3e1(0x22e)](){const _0x384867=_0x39d3e1;this[_0x384867(0x1e5)][_0x384867(0x22e)]();}[_0x39d3e1(0x1f7)](){const _0x43936f=_0x39d3e1;return this[_0x43936f(0x22b)][_0x43936f(0x239)]?_0x43936f(0x23c)===this[_0x43936f(0x22b)][_0x43936f(0x234)][_0x43936f(0x1e8)][_0x43936f(0x1e6)]?_0x2009c6(this[_0x43936f(0x218)],_0x43936f(0x23e),this[_0x43936f(0x22b)][_0x43936f(0x1f0)][_0x43936f(0x1ed)]):_0x2009c6(this[_0x43936f(0x218)],_0x43936f(0x231),this[_0x43936f(0x22b)][_0x43936f(0x1f0)][_0x43936f(0x1ed)]):null;}[_0x39d3e1(0x217)](){const _0x402665=_0x39d3e1;return _0x402665(0x23c)===this[_0x402665(0x22b)][_0x402665(0x234)][_0x402665(0x1e8)][_0x402665(0x1e6)]?_0x2009c6(this[_0x402665(0x218)],_0x402665(0x1fc)):_0x2009c6(this[_0x402665(0x218)],_0x402665(0x22f));}[_0x39d3e1(0x208)](_0x58ccc2,_0x214c87,_0x128327,_0x4bfa7d,_0x329762){const _0x2fa17b=_0x39d3e1,_0x34543b=new _0xbf75d5(this[_0x2fa17b(0x218)]);return _0x34543b[_0x2fa17b(0x203)]({'label':_0x58ccc2,'icon':_0x214c87,'tooltip':!0x0,'tooltipPosition':_0x329762}),_0x34543b[_0x2fa17b(0x21f)]({'attributes':{'class':_0x128327}}),_0x34543b['on'](_0x2fa17b(0x1f6),()=>{const _0x52e59a=_0x2fa17b;this[_0x52e59a(0x240)](_0x4bfa7d,this[_0x52e59a(0x22b)]['id']);}),_0x34543b;}[_0x39d3e1(0x1eb)](){const _0x2938bd=_0x39d3e1,_0x4c50f2=this[_0x2938bd(0x1e5)];this[_0x2938bd(0x1ec)][_0x2938bd(0x229)](_0x4c50f2);for(const _0x1fbcc5 of this[_0x2938bd(0x209)])this[_0x2938bd(0x236)][_0x2938bd(0x214)](_0x1fbcc5[_0x2938bd(0x1e5)]),this[_0x2938bd(0x1ec)][_0x2938bd(0x229)](_0x1fbcc5[_0x2938bd(0x1e5)]);this[_0x2938bd(0x1ec)][_0x2938bd(0x203)](_0x2938bd(0x211),(_0x529ec9,_0x49ce62)=>{const _0x75a064=_0x2938bd;_0x4c50f2===_0x529ec9[_0x75a064(0x210)]&&(this[_0x75a064(0x1ff)][_0x75a064(0x1e9)](),_0x49ce62());}),this[_0x2938bd(0x1ec)][_0x2938bd(0x203)](_0x2938bd(0x213),(_0x2d6785,_0x5255d1)=>{const _0x22a87a=_0x2938bd;_0x4c50f2!==_0x2d6785[_0x22a87a(0x210)]&&(this[_0x22a87a(0x22e)](),_0x5255d1());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3c28aa,_0x19fadd,_0x2a5641){const t=_0x3c28aa['t'];switch(_0x19fadd){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',_0x2a5641);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2a5641);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2a5641);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2a5641);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2a5641);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',_0x2a5641);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2a5641);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',_0x2a5641);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2a5641);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2a5641);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2a5641);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2a5641);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2a5641);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2a5641);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2a5641);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2a5641);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2a5641);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2a5641);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2a5641);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2a5641);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2a5641);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2a5641);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2a5641);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'},_0x2a5641);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2a5641);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2a5641);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2a5641);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2a5641);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2a5641);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'},_0x2a5641);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2a5641);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2a5641);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2a5641);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2a5641);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'},_0x2a5641);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2a5641);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'},_0x2a5641);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'},_0x2a5641);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2a5641);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'},_0x2a5641);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2a5641);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'},_0x2a5641);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2a5641);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2a5641);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'},_0x2a5641);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'},_0x2a5641);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'},_0x2a5641);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2a5641);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'},_0x2a5641);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'},_0x2a5641);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'},_0x2a5641);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x19fadd;}}
|
|
23
|
+
export function getTranslation(_0x3f2679,_0x1447e5,_0x4eb901){const t=_0x3f2679['t'];switch(_0x1447e5){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',_0x4eb901);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4eb901);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4eb901);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4eb901);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4eb901);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',_0x4eb901);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4eb901);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',_0x4eb901);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4eb901);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4eb901);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4eb901);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4eb901);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4eb901);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4eb901);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4eb901);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4eb901);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4eb901);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4eb901);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4eb901);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4eb901);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4eb901);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4eb901);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4eb901);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'},_0x4eb901);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4eb901);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4eb901);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4eb901);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4eb901);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4eb901);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'},_0x4eb901);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4eb901);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4eb901);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4eb901);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4eb901);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'},_0x4eb901);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4eb901);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'},_0x4eb901);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'},_0x4eb901);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4eb901);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'},_0x4eb901);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4eb901);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'},_0x4eb901);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4eb901);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4eb901);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'},_0x4eb901);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'},_0x4eb901);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'},_0x4eb901);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4eb901);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'},_0x4eb901);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'},_0x4eb901);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'},_0x4eb901);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1447e5;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5aa5(){const _0x111702=['innerHTML','title','isArray','split','\x20[color\x20','</span>','start','innerText','replace','128724fqAWMQ','<span\x20class=\x22ck-suggestion-type\x22>','10987900NZXQuo','2341515McLsrt','sort','createElement','next','span','isObject','content','isCollapsed','change','end','map','from','\x22></span>','\x22\x20title=\x22','splice','createPositionBefore','execute','isInContent','14320192auDboR','3DwASUr','value','1623574mfnyqU','push','4875252RPIpiK','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isIntersecting','getRanges','createRange','type','length','deletion','1543482ihVeNZ','schema','isTouching','join','createPositionAt','createPositionAfter','add','isMultiRange','color'];_0x5aa5=function(){return _0x111702;};return _0x5aa5();}function _0x577c(_0x4a094e,_0x364b0e){const _0x5aa55c=_0x5aa5();return _0x577c=function(_0x577c8b,_0x478670){_0x577c8b=_0x577c8b-0x1a4;let _0x4dd80b=_0x5aa55c[_0x577c8b];return _0x4dd80b;},_0x577c(_0x4a094e,_0x364b0e);}(function(_0x476f7c,_0xff441f){const _0x15862d=_0x577c,_0x279d5e=_0x476f7c();while(!![]){try{const _0x26875f=parseInt(_0x15862d(0x1cf))/0x1+parseInt(_0x15862d(0x1b7))/0x2+-parseInt(_0x15862d(0x1cd))/0x3*(parseInt(_0x15862d(0x1d1))/0x4)+parseInt(_0x15862d(0x1ba))/0x5+-parseInt(_0x15862d(0x1a5))/0x6+-parseInt(_0x15862d(0x1b9))/0x7+parseInt(_0x15862d(0x1cc))/0x8;if(_0x26875f===_0xff441f)break;else _0x279d5e['push'](_0x279d5e['shift']());}catch(_0xbfef93){_0x279d5e['push'](_0x279d5e['shift']());}}}(_0x5aa5,0xdbd97));export function normalizeDescription(_0x41b6e6){const _0x2b9dc3=_0x577c;return Array[_0x2b9dc3(0x1b0)](_0x41b6e6)||(_0x41b6e6=[_0x41b6e6]),_0x41b6e6[_0x2b9dc3(0x1c4)](_0x7ce14b=>{const _0x3c31cc=_0x2b9dc3,_0x593562=_0x7ce14b[_0x3c31cc(0x1c0)][_0x3c31cc(0x1b6)](/\*/g,''),_0x4b1c59=_0x7ce14b[_0x3c31cc(0x1ad)]?_0x3c31cc(0x1b2)+_0x7ce14b[_0x3c31cc(0x1ad)][_0x3c31cc(0x1ce)]+']':'';return'['+_0x7ce14b[_0x3c31cc(0x1d6)]+']\x20'+_0x593562+_0x4b1c59;})[_0x2b9dc3(0x1a8)](';\x20');}export function renderDescription(_0x3ccbf5,_0x3c850b){const _0x421921=_0x577c;let _0x346aad='';return _0x346aad+=_0x3ccbf5[_0x421921(0x1b1)]('*')[_0x421921(0x1c4)]((_0x3e1bdf,_0x4ea3d6)=>_0x4ea3d6%0x2!=0x0?_0x421921(0x1b8)+nn(_0x3e1bdf)+_0x421921(0x1b3):nn(_0x3e1bdf))[_0x421921(0x1a8)](''),_0x3c850b&&(_0x346aad+=_0x421921(0x1d2)+_0x3c850b[_0x421921(0x1ce)]+_0x421921(0x1c7)+_0x3c850b[_0x421921(0x1af)]+_0x421921(0x1c6)),_0x346aad;}function nn(_0x46bd11){const _0x5caa7f=_0x577c,_0x139959=document[_0x5caa7f(0x1bc)](_0x5caa7f(0x1be));return _0x139959[_0x5caa7f(0x1b5)]=_0x46bd11,_0x139959[_0x5caa7f(0x1ae)];}export function sortSuggestions(_0x2b9f07){const _0x4f020c=_0x577c;return _0x2b9f07[_0x4f020c(0x1bb)]((_0x12a2be,_0x264011)=>_0x4f020c(0x1a4)==_0x12a2be[_0x4f020c(0x1d6)]&&_0x4f020c(0x1a4)!=_0x264011[_0x4f020c(0x1d6)]?-0x1:_0x4f020c(0x1a4)!=_0x12a2be[_0x4f020c(0x1d6)]&&_0x4f020c(0x1a4)==_0x264011[_0x4f020c(0x1d6)]?0x1:0x0);}export function getSelectedSuggestions(_0x1a2e93,_0xa86561){const _0x5b814e=_0x577c,_0x941ac5=Array[_0x5b814e(0x1c5)](_0x1a2e93[_0x5b814e(0x1d4)]()),_0x45ba5f=new Set();for(const _0x1e4702 of _0xa86561)if(_0x1e4702[_0x5b814e(0x1cb)]){for(const _0x11bfc4 of _0x941ac5)for(const _0x36e129 of _0x1e4702[_0x5b814e(0x1d4)]())(_0x11bfc4[_0x5b814e(0x1d3)](_0x36e129)||_0x1a2e93[_0x5b814e(0x1c1)]&&!_0x1e4702[_0x5b814e(0x1ac)]&&_0x1e4702[_0x5b814e(0x1bd)]&&_0x36e129[_0x5b814e(0x1c3)][_0x5b814e(0x1a7)](_0x11bfc4[_0x5b814e(0x1b4)]))&&_0x45ba5f[_0x5b814e(0x1ab)](_0x1e4702);}return _0x45ba5f;}export function getRangesOfBlockGroups(_0x46ca2c,_0xc209db){const _0xb393f0=_0x577c;let _0x26e592,_0x385c24=0x0;const _0x6aabc9=[],_0x52cdc1=_0xc209db[_0xb393f0(0x1a6)];for(;_0x385c24<_0x46ca2c[_0xb393f0(0x1d7)];){const _0x56b995=_0x46ca2c[_0x385c24],_0x912f09=_0x46ca2c[_0x385c24+0x1];_0x26e592||(_0x26e592=_0xc209db[_0xb393f0(0x1c9)](_0x56b995)),on(_0xc209db,_0x56b995,_0x912f09)||(_0x6aabc9[_0xb393f0(0x1d0)](_0xc209db[_0xb393f0(0x1d5)](_0x26e592,_0x52cdc1[_0xb393f0(0x1bf)](_0x56b995)?_0xc209db[_0xb393f0(0x1aa)](_0x56b995):_0xc209db[_0xb393f0(0x1a9)](_0x56b995,_0xb393f0(0x1c3)))),_0x26e592=null),_0x385c24++;}return _0x6aabc9;}function on(_0x51ed58,_0x479ccd,_0x3103cb){const _0x4fbe8b=_0x577c;if(!_0x3103cb)return!0x1;const _0xf1972e=_0x51ed58[_0x4fbe8b(0x1aa)](_0x479ccd),_0x5f11dd=_0x51ed58[_0x4fbe8b(0x1c9)](_0x3103cb);return _0xf1972e[_0x4fbe8b(0x1a7)](_0x5f11dd);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x50f13a,_0x3792b3,_0x4df4d5){const _0x1d6473=_0x577c;for(;_0x4df4d5[_0x1d6473(0x1d7)];){const _0x5238e0=_0x4df4d5[_0x1d6473(0x1c8)](0x0,0x64);_0x50f13a[_0x1d6473(0x1c2)](()=>{const _0x57c9e4=_0x1d6473;for(const _0x4693d3 of _0x5238e0)_0x4693d3[_0x57c9e4(0x1cb)]&&_0x3792b3[_0x57c9e4(0x1ca)](_0x4693d3['id']);});}}
|