@ckeditor/ckeditor5-ai 44.2.0-alpha.6 → 44.2.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x204e(_0x1064ad,_0x185cba){const _0x58aa58=_0x58aa();return _0x204e=function(_0x204eba,_0x464dfe){_0x204eba=_0x204eba-0x97;let _0xacd626=_0x58aa58[_0x204eba];return _0xacd626;},_0x204e(_0x1064ad,_0x185cba);}const _0x417eb4=_0x204e;(function(_0x4f9919,_0x342df0){const _0x14bcdc=_0x204e,_0x4abddd=_0x4f9919();while(!![]){try{const _0x24f48=-parseInt(_0x14bcdc(0xa8))/0x1*(parseInt(_0x14bcdc(0xac))/0x2)+parseInt(_0x14bcdc(0xb9))/0x3*(parseInt(_0x14bcdc(0xa1))/0x4)+-parseInt(_0x14bcdc(0xb2))/0x5+-parseInt(_0x14bcdc(0x9b))/0x6+-parseInt(_0x14bcdc(0xb3))/0x7+-parseInt(_0x14bcdc(0xa0))/0x8+parseInt(_0x14bcdc(0xa9))/0x9;if(_0x24f48===_0x342df0)break;else _0x4abddd['push'](_0x4abddd['shift']());}catch(_0x572e95){_0x4abddd['push'](_0x4abddd['shift']());}}}(_0x58aa,0x3af58));function _0x58aa(){const _0x2e0455=['ck-ai-form__toolbar','insertButton','1906208anJDik','32jVLKfJ','mainAction','addMany','label','ck-button-action','extendTemplate','tryAgainButton','6073uynVGb','9331209NSUdik','replaceButton','Insert\x20below','124xNiWDn','locale','stopButton','set','_createButton','insert','569320eDBAXE','937797AfzmKX','AI_','ck-hidden','_CONTENT','REPLACE','bind','153057ldEsiJ','replace','items','toUpperCase','Try\x20again','Stop','2044920ChWuUs','bindTemplate','isVisible'];_0x58aa=function(){return _0x2e0455;};return _0x58aa();}import{ToolbarView as _0x2f58e2,ButtonView as _0x4b3734}from'ckeditor5/src/ui.js';import{getTranslation as _0x398e52}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x417eb4(0xba),'INSERT':_0x417eb4(0xb1)};export default class at extends _0x2f58e2{constructor(_0x4bb40c){const _0x4d0fc6=_0x417eb4;super(_0x4bb40c),this[_0x4d0fc6(0xaf)](_0x4d0fc6(0x9d),!0x1),this[_0x4d0fc6(0xaf)](_0x4d0fc6(0xa2),AIFormToolbarViewMainActionLabel[_0x4d0fc6(0xb7)]),this[_0x4d0fc6(0xaa)]=this[_0x4d0fc6(0xb0)]('',_0x4d0fc6(0xa5)),this[_0x4d0fc6(0xaa)][_0x4d0fc6(0xb8)](_0x4d0fc6(0xa4))['to'](this,_0x4d0fc6(0xa2),_0x44b1aa=>_0x398e52(_0x4bb40c,_0x4d0fc6(0xb4)+_0x44b1aa[_0x4d0fc6(0x98)]()+_0x4d0fc6(0xb6))),this[_0x4d0fc6(0x9f)]=this[_0x4d0fc6(0xb0)](_0x398e52(_0x4bb40c,_0x4d0fc6(0xab))),this[_0x4d0fc6(0xa7)]=this[_0x4d0fc6(0xb0)](_0x398e52(_0x4bb40c,_0x4d0fc6(0x99))),this[_0x4d0fc6(0xae)]=this[_0x4d0fc6(0xb0)](_0x398e52(_0x4bb40c,_0x4d0fc6(0x9a)));const _0x539bb9=this[_0x4d0fc6(0x9c)];this[_0x4d0fc6(0xa6)]({'attributes':{'class':[_0x4d0fc6(0x9e),_0x539bb9['if'](_0x4d0fc6(0x9d),_0x4d0fc6(0xb5),_0x2c26ec=>!_0x2c26ec)]}}),this[_0x4d0fc6(0x97)][_0x4d0fc6(0xa3)]([this[_0x4d0fc6(0xaa)],this[_0x4d0fc6(0x9f)],this[_0x4d0fc6(0xa7)],this[_0x4d0fc6(0xae)]]);}[_0x417eb4(0xb0)](_0x293a36,_0x1af3c0){const _0x47eb3f=_0x417eb4,_0x4d8bf0=new _0x4b3734(this[_0x47eb3f(0xad)]);return _0x4d8bf0[_0x47eb3f(0xaf)]({'label':_0x293a36,'class':_0x1af3c0||'','isVisible':!0x0,'withText':!0x0}),_0x4d8bf0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34f2e2=_0xddc6;(function(_0x4e296a,_0x3bbc59){const _0x3147f7=_0xddc6,_0x8fe182=_0x4e296a();while(!![]){try{const _0x40000f=-parseInt(_0x3147f7(0x1f7))/0x1*(parseInt(_0x3147f7(0x213))/0x2)+parseInt(_0x3147f7(0x1fb))/0x3+-parseInt(_0x3147f7(0x233))/0x4*(-parseInt(_0x3147f7(0x1f1))/0x5)+parseInt(_0x3147f7(0x1ec))/0x6+parseInt(_0x3147f7(0x21f))/0x7+-parseInt(_0x3147f7(0x1f0))/0x8+parseInt(_0x3147f7(0x203))/0x9;if(_0x40000f===_0x3bbc59)break;else _0x8fe182['push'](_0x8fe182['shift']());}catch(_0x45c127){_0x8fe182['push'](_0x8fe182['shift']());}}}(_0x50c4,0x3f378));function _0xddc6(_0x3e6469,_0x284c72){const _0x50c45a=_0x50c4();return _0xddc6=function(_0xddc64f,_0x34b7ba){_0xddc64f=_0xddc64f-0x1e7;let _0x1213dd=_0x50c45a[_0xddc64f];return _0x1213dd;},_0xddc6(_0x3e6469,_0x284c72);}import{FocusTracker as _0x46805d,KeystrokeHandler as _0x23f689}from'ckeditor5/src/utils.js';import{View as _0x2ca55a,FocusCycler as _0x5cab2d,createLabeledTextarea as _0x1b78fd}from'ckeditor5/src/ui.js';import _0x2b43be,{AIFormToolbarViewMainActionLabel as _0x41f435}from'./aiformtoolbarview.js';import _0x2960c2 from'./aiformcontentarea.js';import _0x2d69c6 from'./aiformerrorview.js';import _0xd7872e from'./aiformpromptview.js';import _0x36c1c5 from'./aihistorylistview.js';import _0x16aeab from'./aihistorylistitemview.js';function _0x50c4(){const _0x1d416d=['ck-ai-form-content','focusTracker','stopProcessing','queryView','isVisible','Ask\x20AI\x20to\x20improve\x20generated\x20text','replaceButton','_promptHistory','290808VytDix','historyGroupView','focusLast','contentArea','1447352jlWTJy','115fbFbLr','fire','shift\x20+\x20tab','delegate','text','tryAgainEvent','9524fnsygQ','items','startProcessing','reset','217365rFUHIf','chain','element','execute','Empty\x20history','listenTo','promptView','add','597753PQNpYi','focusCycler','finishProcessing','clear','focus','high','submitPrompt','label','keystrokes','_createPromptView','tab','REPLACE','AI_ERROR_FAILED','isEnabled','clearHistory','render','56qfLzrK','set','insertButton','fieldView','isProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','insertContentBelow','bindTemplate','ck-ai-form','value','replaceContent','errorView','1420398FGTUVM','_focusables','handleError','setTemplate','_createToolbar','ck-hidden','mainAction','tryAgainButton','prompt','copyButtonView','submit','_createHistoryView','focusFirst','isError','bindTo','locale','toolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','search','div','55004rGATgp','trim','createCollection','bind','stopButton'];_0x50c4=function(){return _0x1d416d;};return _0x50c4();}import _0x1c25bc from'./prompthistory.js';import{getTranslation as _0x3c365a}from'../../utils/common-translations.js';import{escape as _0x28bf84}from'lodash-es';export default class k extends _0x2ca55a{constructor(_0x1d883c,_0x1e74d9,_0x4ba129=''){const _0x4b415d=_0xddc6;super(_0x1d883c),this[_0x4b415d(0x214)](_0x4b415d(0x210),!0x0),this[_0x4b415d(0x214)](_0x4b415d(0x217),!0x1),this[_0x4b415d(0x214)](_0x4b415d(0x227),''),this[_0x4b415d(0x214)](_0x4b415d(0x21c),''),this[_0x4b415d(0x214)](_0x4b415d(0x22c),!0x1),this[_0x4b415d(0x214)](_0x4b415d(0x225),_0x41f435[_0x4b415d(0x20e)]),this[_0x4b415d(0x1eb)]=new _0x1c25bc(),this[_0x4b415d(0x21e)]=new _0x2d69c6(_0x1d883c),this[_0x4b415d(0x1ef)]=new _0x2960c2(_0x1d883c,_0x4ba129),this[_0x4b415d(0x1ef)][_0x4b415d(0x236)](_0x4b415d(0x217))['to'](this),this[_0x4b415d(0x1ef)][_0x4b415d(0x236)](_0x4b415d(0x21c))['to'](this),this[_0x4b415d(0x22f)]=this[_0x4b415d(0x223)](),this[_0x4b415d(0x22f)][_0x4b415d(0x236)](_0x4b415d(0x225))['to'](this),this[_0x4b415d(0x201)]=this[_0x4b415d(0x20c)](),this[_0x4b415d(0x239)]=new _0x46805d(),this[_0x4b415d(0x20b)]=new _0x23f689(),this[_0x4b415d(0x220)]=this[_0x4b415d(0x235)]([this[_0x4b415d(0x1ef)],this[_0x4b415d(0x1ef)][_0x4b415d(0x228)],this[_0x4b415d(0x22f)],this[_0x4b415d(0x201)]]),this[_0x4b415d(0x204)]=new _0x5cab2d({'focusables':this[_0x4b415d(0x220)],'focusTracker':this[_0x4b415d(0x239)],'keystrokeHandler':this[_0x4b415d(0x20b)],'actions':{'focusPrevious':_0x4b415d(0x1f3),'focusNext':_0x4b415d(0x20d)}}),this[_0x4b415d(0x204)][_0x4b415d(0x1fc)](this[_0x4b415d(0x201)][_0x4b415d(0x204)]),this[_0x4b415d(0x201)][_0x4b415d(0x1e7)][_0x4b415d(0x216)][_0x4b415d(0x236)](_0x4b415d(0x21c))['to'](this,_0x4b415d(0x227));const _0x360c55=this[_0x4b415d(0x21a)];this[_0x4b415d(0x222)]({'tag':_0x4b415d(0x232),'attributes':{'class':['ck',_0x4b415d(0x21b),_0x1e74d9],'tabindex':'-1'},'children':[{'tag':_0x4b415d(0x232),'attributes':{'class':['ck',_0x4b415d(0x238)]},'children':[{'tag':_0x4b415d(0x232),'attributes':{'class':[_0x360c55['if'](_0x4b415d(0x22c),_0x4b415d(0x224),_0x5247d7=>!_0x5247d7)]},'children':[this[_0x4b415d(0x21e)]]},this[_0x4b415d(0x1ef)],this[_0x4b415d(0x22f)],this[_0x4b415d(0x201)]]}]});}[_0x34f2e2(0x212)](){const _0x4d20ae=_0x34f2e2;super[_0x4d20ae(0x212)](),this[_0x4d20ae(0x239)][_0x4d20ae(0x202)](this[_0x4d20ae(0x1ef)][_0x4d20ae(0x1fd)]),this[_0x4d20ae(0x239)][_0x4d20ae(0x202)](this[_0x4d20ae(0x1ef)][_0x4d20ae(0x228)][_0x4d20ae(0x1fd)]),this[_0x4d20ae(0x239)][_0x4d20ae(0x202)](this[_0x4d20ae(0x22f)][_0x4d20ae(0x1fd)]),this[_0x4d20ae(0x239)][_0x4d20ae(0x202)](this[_0x4d20ae(0x201)][_0x4d20ae(0x1fd)]),this[_0x4d20ae(0x20b)][_0x4d20ae(0x200)](this[_0x4d20ae(0x1fd)]);}[_0x34f2e2(0x207)](_0x3ebedd=0x1){const _0x3dc6b9=_0x34f2e2;-0x1===_0x3ebedd?this[_0x3dc6b9(0x204)][_0x3dc6b9(0x1ee)]():this[_0x3dc6b9(0x204)][_0x3dc6b9(0x22b)]();}[_0x34f2e2(0x1fa)](){const _0x3ec555=_0x34f2e2;this[_0x3ec555(0x227)]='',this[_0x3ec555(0x21c)]='',this[_0x3ec555(0x22c)]=!0x1,this[_0x3ec555(0x201)][_0x3ec555(0x1fa)](),this[_0x3ec555(0x1ef)][_0x3ec555(0x1e8)]=!0x1,this[_0x3ec555(0x22f)][_0x3ec555(0x1e8)]=!0x1;}[_0x34f2e2(0x20c)](){const _0x2f2e64=_0x34f2e2,_0x13d02c=this[_0x2f2e64(0x22e)],_0x56178e=new _0xd7872e(_0x13d02c,{'queryView':{'label':_0x3c365a(_0x13d02c,_0x2f2e64(0x230)),'creator':_0x1b78fd,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3c365a(_0x13d02c,_0x2f2e64(0x1ff)),'secondary':_0x3c365a(_0x13d02c,_0x2f2e64(0x218))}}},'filteredView':this[_0x2f2e64(0x22a)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x56178e[_0x2f2e64(0x236)](_0x2f2e64(0x210))['to'](this,_0x2f2e64(0x210),this,_0x2f2e64(0x217),(_0x2d9f0e,_0x16c61a)=>_0x2d9f0e&&!_0x16c61a),this[_0x2f2e64(0x200)](_0x56178e,_0x2f2e64(0x229),(_0x2062e1,_0x183b77)=>{const _0xd0604b=_0x2f2e64;this[_0xd0604b(0x227)]=_0x183b77;const _0x3731dc=_0x28bf84(_0x183b77);this[_0xd0604b(0x1f2)](_0xd0604b(0x209),_0x3731dc),_0x183b77[_0xd0604b(0x234)]()&&this[_0xd0604b(0x1eb)][_0xd0604b(0x202)]({'prompt':_0x3731dc},0x0);},{'priority':_0x2f2e64(0x208)}),_0x56178e;}[_0x34f2e2(0x22a)](){const _0x46136a=_0x34f2e2,_0x2cf71f=new _0x36c1c5(this[_0x46136a(0x22e)]);return _0x2cf71f[_0x46136a(0x1ed)][_0x46136a(0x1f8)][_0x46136a(0x22d)](this[_0x46136a(0x1eb)])['as'](_0x16aeab),_0x2cf71f['on'](_0x46136a(0x211),()=>{const _0x2b385b=_0x46136a;this[_0x2b385b(0x1eb)][_0x2b385b(0x206)](),this[_0x2b385b(0x201)][_0x2b385b(0x231)](''),this[_0x2b385b(0x201)][_0x2b385b(0x207)]();}),_0x2cf71f;}[_0x34f2e2(0x223)](){const _0x91c490=_0x34f2e2,_0x510e33=new _0x2b43be(this[_0x91c490(0x22e)]);return _0x510e33[_0x91c490(0x1ea)][_0x91c490(0x236)](_0x91c490(0x210))['to'](this,_0x91c490(0x210),this,_0x91c490(0x217),this,_0x91c490(0x21c),(_0x1ecd4e,_0x1bd28b,_0x2ef95d)=>_0x1ecd4e&&!_0x1bd28b&&!!_0x2ef95d),_0x510e33[_0x91c490(0x1ea)][_0x91c490(0x1f4)](_0x91c490(0x1fe))['to'](this,_0x91c490(0x21d)),_0x510e33[_0x91c490(0x215)][_0x91c490(0x236)](_0x91c490(0x210))['to'](this,_0x91c490(0x210),this,_0x91c490(0x217),this,_0x91c490(0x21c),(_0x34aebd,_0x2811c3,_0xadd5b6)=>_0x34aebd&&!_0x2811c3&&!!_0xadd5b6),_0x510e33[_0x91c490(0x215)][_0x91c490(0x1f4)](_0x91c490(0x1fe))['to'](this,_0x91c490(0x219)),_0x510e33[_0x91c490(0x226)][_0x91c490(0x236)](_0x91c490(0x210))['to'](this,_0x91c490(0x210),this,_0x91c490(0x217),(_0x762b8b,_0x803dcb)=>_0x762b8b&&!_0x803dcb),_0x510e33[_0x91c490(0x226)][_0x91c490(0x1f4)](_0x91c490(0x1fe))['to'](this,_0x91c490(0x1f6)),_0x510e33[_0x91c490(0x237)][_0x91c490(0x236)](_0x91c490(0x210))['to'](this,_0x91c490(0x217)),_0x510e33[_0x91c490(0x237)][_0x91c490(0x1f4)](_0x91c490(0x1fe))['to'](this,_0x91c490(0x23a)),_0x510e33;}[_0x34f2e2(0x1f9)](){const _0x41dc12=_0x34f2e2;this[_0x41dc12(0x21c)]='',this[_0x41dc12(0x22c)]=!0x1,this[_0x41dc12(0x217)]=!0x0,this[_0x41dc12(0x1ef)][_0x41dc12(0x1e8)]=!0x0,this[_0x41dc12(0x22f)][_0x41dc12(0x1e8)]=!0x0,this[_0x41dc12(0x1ef)][_0x41dc12(0x207)]();}[_0x34f2e2(0x205)](){const _0x35eefa=_0x34f2e2,_0x440d5e=this[_0x35eefa(0x22e)];this[_0x35eefa(0x217)]=!0x1,this[_0x35eefa(0x227)]='',this[_0x35eefa(0x201)][_0x35eefa(0x1fa)](),this[_0x35eefa(0x21c)]&&(this[_0x35eefa(0x201)][_0x35eefa(0x1e7)][_0x35eefa(0x20a)]=_0x3c365a(_0x440d5e,_0x35eefa(0x1e9)));}[_0x34f2e2(0x221)](_0x19dbf1){const _0x44a4ee=_0x34f2e2,_0x3f3efd=this[_0x44a4ee(0x22e)];this[_0x44a4ee(0x205)](),this[_0x44a4ee(0x22c)]=!0x0,this[_0x44a4ee(0x21e)][_0x44a4ee(0x1f5)]=_0x19dbf1||_0x3c365a(_0x3f3efd,_0x44a4ee(0x20f)),this[_0x44a4ee(0x21c)]||(this[_0x44a4ee(0x1ef)][_0x44a4ee(0x1e8)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4400(){const _0x4e3bc2=['1314KTrMzT','640NIXkjX','401044oZseKb','execute','8ADDHtG','children','locale','479553bXOcFi','5190889TtekiH','prompt','919572LwkHBR','46228UXBSdE','10DvVsrP','fire','add','65mUgjhx','set','2870688JumfXH'];_0x4400=function(){return _0x4e3bc2;};return _0x4400();}(function(_0x2abc9b,_0x42d810){const _0x50cbb2=_0x5470,_0x32bcda=_0x2abc9b();while(!![]){try{const _0x559ad2=-parseInt(_0x50cbb2(0x155))/0x1+-parseInt(_0x50cbb2(0x152))/0x2*(-parseInt(_0x50cbb2(0x158))/0x3)+-parseInt(_0x50cbb2(0x147))/0x4*(parseInt(_0x50cbb2(0x14b))/0x5)+-parseInt(_0x50cbb2(0x14d))/0x6+parseInt(_0x50cbb2(0x150))/0x7+parseInt(_0x50cbb2(0x14f))/0x8*(-parseInt(_0x50cbb2(0x14e))/0x9)+-parseInt(_0x50cbb2(0x148))/0xa*(-parseInt(_0x50cbb2(0x156))/0xb);if(_0x559ad2===_0x42d810)break;else _0x32bcda['push'](_0x32bcda['shift']());}catch(_0x4f92f5){_0x32bcda['push'](_0x32bcda['shift']());}}}(_0x4400,0x9b1e5));function _0x5470(_0x502152,_0x21c99c){const _0x4400cb=_0x4400();return _0x5470=function(_0x547004,_0x4bec1e){_0x547004=_0x547004-0x147;let _0x1cd77f=_0x4400cb[_0x547004];return _0x1cd77f;},_0x5470(_0x502152,_0x21c99c);}import{ListItemView as _0x580408,ButtonView as _0x5cd38b,ButtonLabelView as _0x27693a}from'ckeditor5/src/ui.js';import{unescape as _0x3056f5}from'lodash-es';export default class hs extends _0x580408{constructor(_0x2c4546){const _0x33f927=_0x5470;super();const _0x1ae2d1=new _0x27693a(),_0xd3db7e=new _0x5cd38b(this[_0x33f927(0x154)],_0x1ae2d1);this[_0x33f927(0x153)][_0x33f927(0x14a)](_0xd3db7e),_0xd3db7e[_0x33f927(0x14c)]({'label':_0x2c4546[_0x33f927(0x157)],'withText':!0x0}),_0xd3db7e['on'](_0x33f927(0x151),()=>{const _0x447cf0=_0x33f927;this[_0x447cf0(0x149)](_0x447cf0(0x151),{'value':_0x3056f5(_0x2c4546[_0x447cf0(0x157)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4129a2=_0x3dcf;(function(_0x4abd20,_0x3984e9){const _0x29f892=_0x3dcf,_0x45082c=_0x4abd20();while(!![]){try{const _0x334819=parseInt(_0x29f892(0x8d))/0x1*(parseInt(_0x29f892(0x79))/0x2)+-parseInt(_0x29f892(0x81))/0x3+parseInt(_0x29f892(0x85))/0x4+parseInt(_0x29f892(0x78))/0x5*(parseInt(_0x29f892(0x8c))/0x6)+-parseInt(_0x29f892(0x7f))/0x7*(-parseInt(_0x29f892(0x7e))/0x8)+-parseInt(_0x29f892(0x82))/0x9+-parseInt(_0x29f892(0x88))/0xa*(parseInt(_0x29f892(0x89))/0xb);if(_0x334819===_0x3984e9)break;else _0x45082c['push'](_0x45082c['shift']());}catch(_0x1535c7){_0x45082c['push'](_0x45082c['shift']());}}}(_0x5cb2,0x34ee4));function _0x3dcf(_0x4c0c3c,_0x556c1b){const _0x5cb2c5=_0x5cb2();return _0x3dcf=function(_0x3dcfdd,_0x4561b8){_0x3dcfdd=_0x3dcfdd-0x76;let _0x37e0ff=_0x5cb2c5[_0x3dcfdd];return _0x37e0ff;},_0x3dcf(_0x4c0c3c,_0x556c1b);}function _0x5cb2(){const _0x2efa85=['Clear','execute','delegate','items','filter','clearHistoryButton','937505KqUSqK','57468rMCtCT','_createClearHistoryButton','fire','locale','add','140248rgkwtE','77dBnhLs','length','991605TlpIFC','264834dcDRvr','Prompt\x20history','clearHistory','888072rfmbzW','historyGroupView','children','676410ZaPEPD','44zKBmjP','set','label','12DPTJBB','2EBSXwx'];_0x5cb2=function(){return _0x2efa85;};return _0x5cb2();}import{ListView as _0x1bf84a,ListItemGroupView as _0x57044f,ButtonView as _0x126477}from'ckeditor5/src/ui.js';import{getTranslation as _0x34dbcc}from'../../utils/common-translations.js';export default class rs extends _0x1bf84a{constructor(_0x53ca3a){const _0x1aa859=_0x3dcf;super(_0x53ca3a),this[_0x1aa859(0x77)]=this[_0x1aa859(0x7a)](),this[_0x1aa859(0x86)]=new _0x57044f(),this[_0x1aa859(0x86)][_0x1aa859(0x87)][_0x1aa859(0x7d)](this[_0x1aa859(0x77)],0x1),this[_0x1aa859(0x86)][_0x1aa859(0x8b)]=_0x34dbcc(_0x53ca3a,_0x1aa859(0x83)),this[_0x1aa859(0x86)][_0x1aa859(0x91)][_0x1aa859(0x90)](_0x1aa859(0x8f))['to'](this),this[_0x1aa859(0x91)][_0x1aa859(0x7d)](this[_0x1aa859(0x86)]);}[_0x4129a2(0x76)](){const _0x17c661=_0x4129a2;let _0x37a528=0x0;for(const _0x1dcf25 of this[_0x17c661(0x91)])_0x37a528+=_0x1dcf25[_0x17c661(0x91)][_0x17c661(0x80)];return{'resultsCount':_0x37a528,'totalItemsCount':_0x37a528};}[_0x4129a2(0x7a)](){const _0x2c87a4=_0x4129a2,_0x39db9f=this[_0x2c87a4(0x7c)],_0x1ecdc5=new _0x126477(this[_0x2c87a4(0x7c)]);return _0x1ecdc5[_0x2c87a4(0x8a)]({'label':'('+_0x34dbcc(_0x39db9f,_0x2c87a4(0x8e))+')','withText':!0x0}),_0x1ecdc5['on'](_0x2c87a4(0x8f),()=>this[_0x2c87a4(0x7b)](_0x2c87a4(0x84))),_0x1ecdc5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x317b(_0x31362c,_0x43a763){const _0x130c13=_0x130c();return _0x317b=function(_0x317bc3,_0x3ffa60){_0x317bc3=_0x317bc3-0x142;let _0x574fa7=_0x130c13[_0x317bc3];return _0x574fa7;},_0x317b(_0x31362c,_0x43a763);}const _0x16fe8d=_0x317b;(function(_0x2f0695,_0x3a845a){const _0x4186b9=_0x317b,_0x3c8f1f=_0x2f0695();while(!![]){try{const _0x547c0e=parseInt(_0x4186b9(0x155))/0x1+-parseInt(_0x4186b9(0x14b))/0x2*(-parseInt(_0x4186b9(0x159))/0x3)+parseInt(_0x4186b9(0x147))/0x4*(-parseInt(_0x4186b9(0x14d))/0x5)+parseInt(_0x4186b9(0x14a))/0x6*(parseInt(_0x4186b9(0x146))/0x7)+-parseInt(_0x4186b9(0x142))/0x8*(-parseInt(_0x4186b9(0x15c))/0x9)+parseInt(_0x4186b9(0x156))/0xa+-parseInt(_0x4186b9(0x151))/0xb;if(_0x547c0e===_0x3a845a)break;else _0x3c8f1f['push'](_0x3c8f1f['shift']());}catch(_0x34e350){_0x3c8f1f['push'](_0x3c8f1f['shift']());}}}(_0x130c,0x4392d));import{Collection as _0x33ea46}from'ckeditor5/src/utils.js';const cs=_0x16fe8d(0x14e);function _0x130c(){const _0x57ca3b=['parse','prompt','33YcgzKJ','toLowerCase','addMany','256734AmlPfx','96WeKwzF','add','_loadFromSessionStorage','map','25753XTZstu','20JcDnYF','remove','stringify','114DkSOPk','42254PAgOwy','_saveToSessionStorage','100860tQqDYm','CKEditor/AIFormView/PromptHistory','length','last','6533054WZICWB','trim','getItem','setItem','125188ddQZLC','2017570hwSlpp'];_0x130c=function(){return _0x57ca3b;};return _0x130c();}export default class os extends _0x33ea46{constructor(){const _0x2a097b=_0x16fe8d;super(),this[_0x2a097b(0x144)](),this['on'](_0x2a097b(0x143),(_0x3265f2,_0x5834a3)=>{const _0x5cbe1d=_0x2a097b,_0x5035ee=Ss(_0x5834a3[_0x5cbe1d(0x158)]);for(const _0x2f81ed of this)if(_0x2f81ed!=_0x5834a3&&Ss(_0x2f81ed[_0x5cbe1d(0x158)])===_0x5035ee){this[_0x5cbe1d(0x148)](_0x2f81ed);break;}this[_0x5cbe1d(0x14f)]>0x14&&this[_0x5cbe1d(0x148)](this[_0x5cbe1d(0x150)]),this[_0x5cbe1d(0x14c)]();}),this['on'](_0x2a097b(0x148),()=>{const _0x578bfe=_0x2a097b;this[_0x578bfe(0x14c)]();});}[_0x16fe8d(0x144)](){const _0xd23b39=_0x16fe8d,_0xf02036=sessionStorage[_0xd23b39(0x153)](cs)||'[]';this[_0xd23b39(0x15b)](JSON[_0xd23b39(0x157)](_0xf02036));}[_0x16fe8d(0x14c)](){const _0x403964=_0x16fe8d;sessionStorage[_0x403964(0x154)](cs,JSON[_0x403964(0x149)](this[_0x403964(0x145)](_0xa6ac31=>_0xa6ac31)));}}function Ss(_0x3fbf8f){const _0x41cdc9=_0x16fe8d;return _0x3fbf8f[_0x41cdc9(0x15a)]()[_0x41cdc9(0x152)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39c582=_0x361b;(function(_0x1289d0,_0x20d6fe){const _0x5c20a1=_0x361b,_0x109b8b=_0x1289d0();while(!![]){try{const _0x2f6c70=parseInt(_0x5c20a1(0x10b))/0x1*(-parseInt(_0x5c20a1(0x114))/0x2)+parseInt(_0x5c20a1(0xf9))/0x3+-parseInt(_0x5c20a1(0x108))/0x4*(parseInt(_0x5c20a1(0xfe))/0x5)+-parseInt(_0x5c20a1(0xf1))/0x6*(-parseInt(_0x5c20a1(0x11b))/0x7)+-parseInt(_0x5c20a1(0xf7))/0x8+-parseInt(_0x5c20a1(0xf3))/0x9+parseInt(_0x5c20a1(0xfb))/0xa;if(_0x2f6c70===_0x20d6fe)break;else _0x109b8b['push'](_0x109b8b['shift']());}catch(_0x35ef70){_0x109b8b['push'](_0x109b8b['shift']());}}}(_0x26ae,0x62083));function _0x361b(_0x1f9db1,_0x4485bf){const _0x26ae20=_0x26ae();return _0x361b=function(_0x361bfb,_0x12dcac){_0x361bfb=_0x361bfb-0xf1;let _0x23a674=_0x26ae20[_0x361bfb];return _0x23a674;},_0x361b(_0x1f9db1,_0x4485bf);}import{Command as _0x32f711}from'ckeditor5/src/core.js';import _0x5a2204 from'../aiassistantui.js';function _0x26ae(){const _0x14360c=['plugins','from','selection','get','ai.aiAssistant.disabledElements','model','add','316178YdbHkh','values','isEmpty','getSelectedBlocks','element','set','requiresContent','1337987eEWeRv','isEnabled','6EGirUn','execute','6700239pDcbQR','refresh','getItems','isCollapsed','1613136lOGKYk','_hasContext','2403909jCaltH','change:_hasContext','10346120FlUMAC','_commandDefinitions','editor','2606575mzUMLp','name','change:isEnabled','showUI','getFirstRange','document','enabledCommandsIds','config','getRanges','custom','4lZnmMA','length','hasContent','1lYHwmW','includes'];_0x26ae=function(){return _0x14360c;};return _0x26ae();}export default class E extends _0x32f711{constructor(_0x3172e2,_0x2c4917){const _0x55a2b1=_0x361b;super(_0x3172e2),this[_0x55a2b1(0xfc)]=_0x2c4917,this[_0x55a2b1(0x119)](_0x55a2b1(0x104),[]),this['on'](_0x55a2b1(0xfa),(_0x1b6046,_0x39d78d,_0x2550b3)=>{const _0x22b9e0=_0x55a2b1;this[_0x22b9e0(0x11c)]&&(this[_0x22b9e0(0x104)]=G(this[_0x22b9e0(0xfc)],_0x2550b3));}),this[_0x55a2b1(0x119)](_0x55a2b1(0xf8),!0x1),this['on'](_0x55a2b1(0x100),(_0x4291a2,_0x334c88,_0x35c10e)=>{const _0x5f45df=_0x55a2b1;this[_0x5f45df(0x104)]=_0x35c10e?G(this[_0x5f45df(0xfc)],this[_0x5f45df(0xf8)]):[];});}[_0x39c582(0xf4)](){const _0x530438=_0x39c582,_0x556581=this[_0x530438(0xfd)][_0x530438(0x112)];this[_0x530438(0xf8)]=function(_0x2aa886){const _0x2669a5=_0x530438,_0x31b639=_0x2aa886[_0x2669a5(0x103)][_0x2669a5(0x10f)];return _0x31b639[_0x2669a5(0xf6)]?0x0!==[..._0x31b639[_0x2669a5(0x117)]()][_0x2669a5(0x109)]&&![..._0x31b639[_0x2669a5(0x117)]()][0x0][_0x2669a5(0x116)]:!!_0x2aa886[_0x2669a5(0x10a)](_0x31b639[_0x2669a5(0x102)]());}(_0x556581);const _0x5404c2=_0x556581[_0x530438(0x103)][_0x530438(0x10f)],_0x5ac73a=this[_0x530438(0xfd)][_0x530438(0x105)][_0x530438(0x110)](_0x530438(0x111));for(const _0x2760a4 of _0x5404c2[_0x530438(0x106)]())for(const _0x590f49 of _0x2760a4[_0x530438(0xf5)]())if(_0x590f49['is'](_0x530438(0x118))&&_0x5ac73a[_0x530438(0x10c)](_0x590f49[_0x530438(0xff)]))return void(this[_0x530438(0x11c)]=!0x1);this[_0x530438(0x11c)]=!0x0;}[_0x39c582(0xf2)](_0x442c8f='',_0xa64513='',_0x3429aa=_0x39c582(0x107)){const _0x46f6b6=_0x39c582;this[_0x46f6b6(0xfd)][_0x46f6b6(0x10d)][_0x46f6b6(0x110)](_0x5a2204)[_0x46f6b6(0x101)](_0x442c8f,_0xa64513,_0x3429aa);}}function G(_0xe500b,_0x39db4d){const _0x2b8d26=_0x39c582,_0x3ea501=new Set();for(const _0x713dde of _0xe500b[_0x2b8d26(0x115)]())(_0x39db4d||!0x1===_0x713dde[_0x2b8d26(0x11a)])&&_0x3ea501[_0x2b8d26(0x113)](_0x713dde['id']);return Array[_0x2b8d26(0x10e)](_0x3ea501);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x14fee2,_0x242957,_0x5d808a){const t=_0x14fee2['t'];switch(_0x242957){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x5d808a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5d808a);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x5d808a);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x242957;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(
|
|
23
|
+
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xc13e00,_0x4bc0b5){const _0x2ebaf8=(0x0,_0x4bc0b5['t'])('Other');return _0xc13e00['length']?'groupId'in _0xc13e00[0x0]?_0xc13e00:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2ebaf8,'order':0x1/0x0,'commands':_0xc13e00}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2ebaf8,'order':0x1/0x0,'commands':[]}];}
|