@ckeditor/ckeditor5-ai 44.3.0-alpha.0 → 44.3.0-alpha.1
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
|
+
const _0xba8d2a=_0x2036;(function(_0x4b5972,_0x1a059b){const _0x1720ce=_0x2036,_0x4111f7=_0x4b5972();while(!![]){try{const _0x159093=parseInt(_0x1720ce(0xe2))/0x1+-parseInt(_0x1720ce(0xda))/0x2+-parseInt(_0x1720ce(0xd4))/0x3*(parseInt(_0x1720ce(0xf0))/0x4)+-parseInt(_0x1720ce(0xf9))/0x5*(-parseInt(_0x1720ce(0xd6))/0x6)+-parseInt(_0x1720ce(0xe1))/0x7*(-parseInt(_0x1720ce(0xfa))/0x8)+-parseInt(_0x1720ce(0xe6))/0x9*(-parseInt(_0x1720ce(0xe0))/0xa)+parseInt(_0x1720ce(0xe4))/0xb*(parseInt(_0x1720ce(0xee))/0xc);if(_0x159093===_0x1a059b)break;else _0x4111f7['push'](_0x4111f7['shift']());}catch(_0x3fad3d){_0x4111f7['push'](_0x4111f7['shift']());}}}(_0x3bfb,0x37f95));function _0x3bfb(){const _0x3d4eb6=['REPLACE','40855DnJmCi','663056wIJIpy','3aHkSta','insertButton','294xQFBNG','mainAction','toUpperCase','label','672124BzvcjQ','stopButton','insert','ck-button-action','Insert\x20below','_createButton','10gVoQXF','14FDJQHD','34752vzzRWx','ck-hidden','423577RlrUfg','addMany','1969389pihEAj','Stop','ck-ai-form__toolbar','AI_','replaceButton','set','locale','bind','24cDSrhp','items','1325596xoIUQk','replace','Try\x20again','_CONTENT','tryAgainButton','extendTemplate','bindTemplate','isVisible'];_0x3bfb=function(){return _0x3d4eb6;};return _0x3bfb();}function _0x2036(_0x3894f0,_0x32fd9a){const _0x3bfbab=_0x3bfb();return _0x2036=function(_0x203691,_0x2c3108){_0x203691=_0x203691-0xd4;let _0x303ff3=_0x3bfbab[_0x203691];return _0x303ff3;},_0x2036(_0x3894f0,_0x32fd9a);}import{ToolbarView as _0x4a5bfc,ButtonView as _0x3a29d1}from'ckeditor5/src/ui.js';import{getTranslation as _0x32bf44}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xba8d2a(0xf1),'INSERT':_0xba8d2a(0xdc)};export default class at extends _0x4a5bfc{constructor(_0x226ac0){const _0x47516e=_0xba8d2a;super(_0x226ac0),this[_0x47516e(0xeb)](_0x47516e(0xf7),!0x1),this[_0x47516e(0xeb)](_0x47516e(0xd7),AIFormToolbarViewMainActionLabel[_0x47516e(0xf8)]),this[_0x47516e(0xea)]=this[_0x47516e(0xdf)]('',_0x47516e(0xdd)),this[_0x47516e(0xea)][_0x47516e(0xed)](_0x47516e(0xd9))['to'](this,_0x47516e(0xd7),_0x2a26f4=>_0x32bf44(_0x226ac0,_0x47516e(0xe9)+_0x2a26f4[_0x47516e(0xd8)]()+_0x47516e(0xf3))),this[_0x47516e(0xd5)]=this[_0x47516e(0xdf)](_0x32bf44(_0x226ac0,_0x47516e(0xde))),this[_0x47516e(0xf4)]=this[_0x47516e(0xdf)](_0x32bf44(_0x226ac0,_0x47516e(0xf2))),this[_0x47516e(0xdb)]=this[_0x47516e(0xdf)](_0x32bf44(_0x226ac0,_0x47516e(0xe7)));const _0x1edee3=this[_0x47516e(0xf6)];this[_0x47516e(0xf5)]({'attributes':{'class':[_0x47516e(0xe8),_0x1edee3['if'](_0x47516e(0xf7),_0x47516e(0xe3),_0x1b541b=>!_0x1b541b)]}}),this[_0x47516e(0xef)][_0x47516e(0xe5)]([this[_0x47516e(0xea)],this[_0x47516e(0xd5)],this[_0x47516e(0xf4)],this[_0x47516e(0xdb)]]);}[_0xba8d2a(0xdf)](_0xb33823,_0x64d300){const _0x5aea0c=_0xba8d2a,_0x2dfecb=new _0x3a29d1(this[_0x5aea0c(0xec)]);return _0x2dfecb[_0x5aea0c(0xeb)]({'label':_0xb33823,'class':_0x64d300||'','isVisible':!0x0,'withText':!0x0}),_0x2dfecb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b3707=_0x4b12;function _0x4916(){const _0x3a9b40=['_focusables','setTemplate','ck-ai-form','bindTo','insertContentBelow','items','text','copyButtonView','contentArea','ck-ai-form-content','div','errorView','handleError','reset','prompt','value','toolbar','_promptHistory','historyGroupView','add','createCollection','high','focus','Empty\x20history','render','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','fieldView','2662565wYrZUK','startProcessing','11RvGXFh','10792FdYHVi','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTemplate','delegate','execute','set','shift\x20+\x20tab','tryAgainEvent','474KQBTFO','4501980cwzhSe','keystrokes','isError','focusLast','focusFirst','1MZiNuw','9hTVDzc','replaceButton','isEnabled','clearHistory','5403540SHavJm','_createHistoryView','submitPrompt','14ZIqVas','focusCycler','AI_ERROR_FAILED','finishProcessing','stopProcessing','_createToolbar','REPLACE','search','tab','promptView','ck-hidden','isProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','listenTo','199860DFTwmd','label','fire','3022560nXnBHl','_createPromptView','bind','queryView','tryAgainButton','element','trim','locale','stopButton','571678KRkAXO','chain','focusTracker','mainAction','submit','insertButton','clear'];_0x4916=function(){return _0x3a9b40;};return _0x4916();}(function(_0x57fd4a,_0x1c8514){const _0x5afa0b=_0x4b12,_0x555884=_0x57fd4a();while(!![]){try{const _0x8fb1bf=-parseInt(_0x5afa0b(0x160))/0x1*(-parseInt(_0x5afa0b(0x183))/0x2)+-parseInt(_0x5afa0b(0x1b1))/0x3*(parseInt(_0x5afa0b(0x1a9))/0x4)+-parseInt(_0x5afa0b(0x1a6))/0x5+parseInt(_0x5afa0b(0x1b2))/0x6+-parseInt(_0x5afa0b(0x168))/0x7*(-parseInt(_0x5afa0b(0x17a))/0x8)+parseInt(_0x5afa0b(0x161))/0x9*(parseInt(_0x5afa0b(0x177))/0xa)+parseInt(_0x5afa0b(0x1a8))/0xb*(-parseInt(_0x5afa0b(0x165))/0xc);if(_0x8fb1bf===_0x1c8514)break;else _0x555884['push'](_0x555884['shift']());}catch(_0xe19c16){_0x555884['push'](_0x555884['shift']());}}}(_0x4916,0x6250f));import{FocusTracker as _0x3de17f,KeystrokeHandler as _0x348eff}from'ckeditor5/src/utils.js';import{View as _0xf715d3,FocusCycler as _0x3a281f,createLabeledTextarea as _0xb4a152}from'ckeditor5/src/ui.js';import _0x3b516c,{AIFormToolbarViewMainActionLabel as _0x2a46bd}from'./aiformtoolbarview.js';import _0x298123 from'./aiformcontentarea.js';import _0x4e4ce1 from'./aiformerrorview.js';import _0x1599cb from'./aiformpromptview.js';import _0x8332ee from'./aihistorylistview.js';import _0x251fea from'./aihistorylistitemview.js';function _0x4b12(_0xa1d26c,_0x2d1581){const _0x491629=_0x4916();return _0x4b12=function(_0x4b12ba,_0x9eb45b){_0x4b12ba=_0x4b12ba-0x15c;let _0x6c6934=_0x491629[_0x4b12ba];return _0x6c6934;},_0x4b12(_0xa1d26c,_0x2d1581);}import _0x3cb0f0 from'./prompthistory.js';import{getTranslation as _0x26fb23}from'../../utils/common-translations.js';import{escape as _0x5d1b97}from'lodash-es';export default class k extends _0xf715d3{constructor(_0x1220ab,_0x54ff3b,_0xabe137=''){const _0x5d99dd=_0x4b12;super(_0x1220ab),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x163),!0x0),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x173),!0x1),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x198),''),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x199),''),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x15d),!0x1),this[_0x5d99dd(0x1ae)](_0x5d99dd(0x186),_0x2a46bd[_0x5d99dd(0x16e)]),this[_0x5d99dd(0x19b)]=new _0x3cb0f0(),this[_0x5d99dd(0x195)]=new _0x4e4ce1(_0x1220ab),this[_0x5d99dd(0x192)]=new _0x298123(_0x1220ab,_0xabe137),this[_0x5d99dd(0x192)][_0x5d99dd(0x17c)](_0x5d99dd(0x173))['to'](this),this[_0x5d99dd(0x192)][_0x5d99dd(0x17c)](_0x5d99dd(0x199))['to'](this),this[_0x5d99dd(0x19a)]=this[_0x5d99dd(0x16d)](),this[_0x5d99dd(0x19a)][_0x5d99dd(0x17c)](_0x5d99dd(0x186))['to'](this),this[_0x5d99dd(0x171)]=this[_0x5d99dd(0x17b)](),this[_0x5d99dd(0x185)]=new _0x3de17f(),this[_0x5d99dd(0x15c)]=new _0x348eff(),this[_0x5d99dd(0x18a)]=this[_0x5d99dd(0x19e)]([this[_0x5d99dd(0x192)],this[_0x5d99dd(0x192)][_0x5d99dd(0x191)],this[_0x5d99dd(0x19a)],this[_0x5d99dd(0x171)]]),this[_0x5d99dd(0x169)]=new _0x3a281f({'focusables':this[_0x5d99dd(0x18a)],'focusTracker':this[_0x5d99dd(0x185)],'keystrokeHandler':this[_0x5d99dd(0x15c)],'actions':{'focusPrevious':_0x5d99dd(0x1af),'focusNext':_0x5d99dd(0x170)}}),this[_0x5d99dd(0x169)][_0x5d99dd(0x184)](this[_0x5d99dd(0x171)][_0x5d99dd(0x169)]),this[_0x5d99dd(0x171)][_0x5d99dd(0x17d)][_0x5d99dd(0x1a5)][_0x5d99dd(0x17c)](_0x5d99dd(0x199))['to'](this,_0x5d99dd(0x198));const _0x415633=this[_0x5d99dd(0x1ab)];this[_0x5d99dd(0x18b)]({'tag':_0x5d99dd(0x194),'attributes':{'class':['ck',_0x5d99dd(0x18c),_0x54ff3b],'tabindex':'-1'},'children':[{'tag':_0x5d99dd(0x194),'attributes':{'class':['ck',_0x5d99dd(0x193)]},'children':[{'tag':_0x5d99dd(0x194),'attributes':{'class':[_0x415633['if'](_0x5d99dd(0x15d),_0x5d99dd(0x172),_0xe75acd=>!_0xe75acd)]},'children':[this[_0x5d99dd(0x195)]]},this[_0x5d99dd(0x192)],this[_0x5d99dd(0x19a)],this[_0x5d99dd(0x171)]]}]});}[_0x1b3707(0x1a2)](){const _0x413e6a=_0x1b3707;super[_0x413e6a(0x1a2)](),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x192)][_0x413e6a(0x17f)]),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x192)][_0x413e6a(0x191)][_0x413e6a(0x17f)]),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x19a)][_0x413e6a(0x17f)]),this[_0x413e6a(0x185)][_0x413e6a(0x19d)](this[_0x413e6a(0x171)][_0x413e6a(0x17f)]),this[_0x413e6a(0x15c)][_0x413e6a(0x176)](this[_0x413e6a(0x17f)]);}[_0x1b3707(0x1a0)](_0x2074b2=0x1){const _0x5e0ac4=_0x1b3707;-0x1===_0x2074b2?this[_0x5e0ac4(0x169)][_0x5e0ac4(0x15e)]():this[_0x5e0ac4(0x169)][_0x5e0ac4(0x15f)]();}[_0x1b3707(0x197)](){const _0x2e1b92=_0x1b3707;this[_0x2e1b92(0x198)]='',this[_0x2e1b92(0x199)]='',this[_0x2e1b92(0x15d)]=!0x1,this[_0x2e1b92(0x171)][_0x2e1b92(0x197)](),this[_0x2e1b92(0x192)][_0x2e1b92(0x175)]=!0x1,this[_0x2e1b92(0x19a)][_0x2e1b92(0x175)]=!0x1;}[_0x1b3707(0x17b)](){const _0x42fb79=_0x1b3707,_0x3ae1ce=this[_0x42fb79(0x181)],_0xac8842=new _0x1599cb(_0x3ae1ce,{'queryView':{'label':_0x26fb23(_0x3ae1ce,_0x42fb79(0x1a3)),'creator':_0xb4a152,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x26fb23(_0x3ae1ce,_0x42fb79(0x1a1)),'secondary':_0x26fb23(_0x3ae1ce,_0x42fb79(0x174))}}},'filteredView':this[_0x42fb79(0x166)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xac8842[_0x42fb79(0x17c)](_0x42fb79(0x163))['to'](this,_0x42fb79(0x163),this,_0x42fb79(0x173),(_0x569df8,_0x1b94b2)=>_0x569df8&&!_0x1b94b2),this[_0x42fb79(0x176)](_0xac8842,_0x42fb79(0x187),(_0x472808,_0x4ff41a)=>{const _0x3a5af6=_0x42fb79;this[_0x3a5af6(0x198)]=_0x4ff41a;const _0x1c512e=_0x5d1b97(_0x4ff41a);this[_0x3a5af6(0x179)](_0x3a5af6(0x167),_0x1c512e),_0x4ff41a[_0x3a5af6(0x180)]()&&this[_0x3a5af6(0x19b)][_0x3a5af6(0x19d)]({'prompt':_0x1c512e},0x0);},{'priority':_0x42fb79(0x19f)}),_0xac8842;}[_0x1b3707(0x166)](){const _0x306eb3=_0x1b3707,_0x290ef6=new _0x8332ee(this[_0x306eb3(0x181)]);return _0x290ef6[_0x306eb3(0x19c)][_0x306eb3(0x18f)][_0x306eb3(0x18d)](this[_0x306eb3(0x19b)])['as'](_0x251fea),_0x290ef6['on'](_0x306eb3(0x164),()=>{const _0x1432c6=_0x306eb3;this[_0x1432c6(0x19b)][_0x1432c6(0x189)](),this[_0x1432c6(0x171)][_0x1432c6(0x16f)](''),this[_0x1432c6(0x171)][_0x1432c6(0x1a0)]();}),_0x290ef6;}[_0x1b3707(0x16d)](){const _0x5e6e5a=_0x1b3707,_0xa0e814=new _0x3b516c(this[_0x5e6e5a(0x181)]);return _0xa0e814[_0x5e6e5a(0x162)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x163),this,_0x5e6e5a(0x173),this,_0x5e6e5a(0x199),(_0x2ced2d,_0x327072,_0x10071b)=>_0x2ced2d&&!_0x327072&&!!_0x10071b),_0xa0e814[_0x5e6e5a(0x162)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x1a4)),_0xa0e814[_0x5e6e5a(0x188)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x163),this,_0x5e6e5a(0x173),this,_0x5e6e5a(0x199),(_0x515e45,_0x439a5a,_0x407fa5)=>_0x515e45&&!_0x439a5a&&!!_0x407fa5),_0xa0e814[_0x5e6e5a(0x188)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x18e)),_0xa0e814[_0x5e6e5a(0x17e)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x163),this,_0x5e6e5a(0x173),(_0x23f5c1,_0x270515)=>_0x23f5c1&&!_0x270515),_0xa0e814[_0x5e6e5a(0x17e)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x1b0)),_0xa0e814[_0x5e6e5a(0x182)][_0x5e6e5a(0x17c)](_0x5e6e5a(0x163))['to'](this,_0x5e6e5a(0x173)),_0xa0e814[_0x5e6e5a(0x182)][_0x5e6e5a(0x1ac)](_0x5e6e5a(0x1ad))['to'](this,_0x5e6e5a(0x16c)),_0xa0e814;}[_0x1b3707(0x1a7)](){const _0x3fd212=_0x1b3707;this[_0x3fd212(0x199)]='',this[_0x3fd212(0x15d)]=!0x1,this[_0x3fd212(0x173)]=!0x0,this[_0x3fd212(0x192)][_0x3fd212(0x175)]=!0x0,this[_0x3fd212(0x19a)][_0x3fd212(0x175)]=!0x0,this[_0x3fd212(0x192)][_0x3fd212(0x1a0)]();}[_0x1b3707(0x16b)](){const _0x4e8dfc=_0x1b3707,_0x35b2e2=this[_0x4e8dfc(0x181)];this[_0x4e8dfc(0x173)]=!0x1,this[_0x4e8dfc(0x198)]='',this[_0x4e8dfc(0x171)][_0x4e8dfc(0x197)](),this[_0x4e8dfc(0x199)]&&(this[_0x4e8dfc(0x171)][_0x4e8dfc(0x17d)][_0x4e8dfc(0x178)]=_0x26fb23(_0x35b2e2,_0x4e8dfc(0x1aa)));}[_0x1b3707(0x196)](_0x59a2a6){const _0x203d00=_0x1b3707,_0x1e620c=this[_0x203d00(0x181)];this[_0x203d00(0x16b)](),this[_0x203d00(0x15d)]=!0x0,this[_0x203d00(0x195)][_0x203d00(0x190)]=_0x59a2a6||_0x26fb23(_0x1e620c,_0x203d00(0x16a)),this[_0x203d00(0x199)]||(this[_0x203d00(0x192)][_0x203d00(0x175)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3ddfdf,_0x153910){const _0x29b10f=_0x1153,_0x3c9505=_0x3ddfdf();while(!![]){try{const _0x4986e3=-parseInt(_0x29b10f(0x1aa))/0x1*(parseInt(_0x29b10f(0x1b8))/0x2)+-parseInt(_0x29b10f(0x1ba))/0x3*(-parseInt(_0x29b10f(0x1b7))/0x4)+parseInt(_0x29b10f(0x1b2))/0x5*(-parseInt(_0x29b10f(0x1bb))/0x6)+parseInt(_0x29b10f(0x1b3))/0x7*(-parseInt(_0x29b10f(0x1ad))/0x8)+parseInt(_0x29b10f(0x1b4))/0x9*(-parseInt(_0x29b10f(0x1b6))/0xa)+parseInt(_0x29b10f(0x1b5))/0xb+-parseInt(_0x29b10f(0x1b0))/0xc*(parseInt(_0x29b10f(0x1ae))/0xd);if(_0x4986e3===_0x153910)break;else _0x3c9505['push'](_0x3c9505['shift']());}catch(_0x2b1430){_0x3c9505['push'](_0x3c9505['shift']());}}}(_0x3064,0x53584));function _0x1153(_0x49ba3d,_0x592245){const _0x306419=_0x3064();return _0x1153=function(_0x11530e,_0x1a06a3){_0x11530e=_0x11530e-0x1aa;let _0x4de8f8=_0x306419[_0x11530e];return _0x4de8f8;},_0x1153(_0x49ba3d,_0x592245);}import{ListItemView as _0x2ef317,ButtonView as _0xa104e,ButtonLabelView as _0x33c6ff}from'ckeditor5/src/ui.js';import{unescape as _0x40896e}from'lodash-es';export default class hs extends _0x2ef317{constructor(_0x18eb0b){const _0x1cb88d=_0x1153;super();const _0x53fd9b=new _0x33c6ff(),_0x5cec19=new _0xa104e(this[_0x1cb88d(0x1b1)],_0x53fd9b);this[_0x1cb88d(0x1bc)][_0x1cb88d(0x1af)](_0x5cec19),_0x5cec19[_0x1cb88d(0x1ac)]({'label':_0x18eb0b[_0x1cb88d(0x1bd)],'withText':!0x0}),_0x5cec19['on'](_0x1cb88d(0x1b9),()=>{const _0x3cf6f7=_0x1cb88d;this[_0x3cf6f7(0x1ab)](_0x3cf6f7(0x1b9),{'value':_0x40896e(_0x18eb0b[_0x3cf6f7(0x1bd)])});});}}function _0x3064(){const _0x64cd8f=['756290vljbZd','3794bKOIxK','54AkZhZc','5261102FWhMWM','395340byFNCA','284rANTUP','39392bReXIW','execute','26355KbNJTC','6wDdenb','children','prompt','2SbjZLY','fire','set','3112iUoCeA','10933ErmRrL','add','1740gVJykd','locale'];_0x3064=function(){return _0x64cd8f;};return _0x3064();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5cf4(_0x159809,_0x5875cb){const _0x2bad11=_0x2bad();return _0x5cf4=function(_0x5cf438,_0x451b78){_0x5cf438=_0x5cf438-0x16d;let _0x24aeb3=_0x2bad11[_0x5cf438];return _0x24aeb3;},_0x5cf4(_0x159809,_0x5875cb);}const _0x59bfff=_0x5cf4;(function(_0x9ae1eb,_0x58d299){const _0x1f2548=_0x5cf4,_0x3db703=_0x9ae1eb();while(!![]){try{const _0x430d81=-parseInt(_0x1f2548(0x17c))/0x1+-parseInt(_0x1f2548(0x17e))/0x2*(-parseInt(_0x1f2548(0x175))/0x3)+parseInt(_0x1f2548(0x173))/0x4+-parseInt(_0x1f2548(0x182))/0x5+parseInt(_0x1f2548(0x187))/0x6*(-parseInt(_0x1f2548(0x185))/0x7)+parseInt(_0x1f2548(0x17f))/0x8*(parseInt(_0x1f2548(0x183))/0x9)+parseInt(_0x1f2548(0x177))/0xa;if(_0x430d81===_0x58d299)break;else _0x3db703['push'](_0x3db703['shift']());}catch(_0xf3dc94){_0x3db703['push'](_0x3db703['shift']());}}}(_0x2bad,0x5234d));function _0x2bad(){const _0x190423=['7Qgmxfw','clearHistoryButton','3182676rBUVBd','filter','historyGroupView','fire','Clear','delegate','_createClearHistoryButton','747144DLuZPP','locale','102TBGImP','length','10641790hYDRlP','execute','items','set','add','484606DQaDrr','children','23846oFQqWj','2907624lXuvZw','clearHistory','Prompt\x20history','3340155UCrkLc','9UJDDdo','label'];_0x2bad=function(){return _0x190423;};return _0x2bad();}import{ListView as _0x526a63,ListItemGroupView as _0x26f2de,ButtonView as _0xb9ee4c}from'ckeditor5/src/ui.js';import{getTranslation as _0x180348}from'../../utils/common-translations.js';export default class rs extends _0x526a63{constructor(_0xa137c7){const _0x146661=_0x5cf4;super(_0xa137c7),this[_0x146661(0x186)]=this[_0x146661(0x172)](),this[_0x146661(0x16e)]=new _0x26f2de(),this[_0x146661(0x16e)][_0x146661(0x17d)][_0x146661(0x17b)](this[_0x146661(0x186)],0x1),this[_0x146661(0x16e)][_0x146661(0x184)]=_0x180348(_0xa137c7,_0x146661(0x181)),this[_0x146661(0x16e)][_0x146661(0x179)][_0x146661(0x171)](_0x146661(0x178))['to'](this),this[_0x146661(0x179)][_0x146661(0x17b)](this[_0x146661(0x16e)]);}[_0x59bfff(0x16d)](){const _0xefd44a=_0x59bfff;let _0x62a5de=0x0;for(const _0x3eb43e of this[_0xefd44a(0x179)])_0x62a5de+=_0x3eb43e[_0xefd44a(0x179)][_0xefd44a(0x176)];return{'resultsCount':_0x62a5de,'totalItemsCount':_0x62a5de};}[_0x59bfff(0x172)](){const _0x3679e0=_0x59bfff,_0x4408c9=this[_0x3679e0(0x174)],_0x274e8d=new _0xb9ee4c(this[_0x3679e0(0x174)]);return _0x274e8d[_0x3679e0(0x17a)]({'label':'('+_0x180348(_0x4408c9,_0x3679e0(0x170))+')','withText':!0x0}),_0x274e8d['on'](_0x3679e0(0x178),()=>this[_0x3679e0(0x16f)](_0x3679e0(0x180))),_0x274e8d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38d582=_0x146a;(function(_0x1f7096,_0x374a3f){const _0x54917d=_0x146a,_0x408b98=_0x1f7096();while(!![]){try{const _0x58b670=-parseInt(_0x54917d(0x100))/0x1+parseInt(_0x54917d(0xf7))/0x2+-parseInt(_0x54917d(0x104))/0x3+-parseInt(_0x54917d(0x102))/0x4+-parseInt(_0x54917d(0xfc))/0x5*(-parseInt(_0x54917d(0xfb))/0x6)+parseInt(_0x54917d(0xfe))/0x7*(-parseInt(_0x54917d(0x109))/0x8)+parseInt(_0x54917d(0x10a))/0x9*(-parseInt(_0x54917d(0xf3))/0xa);if(_0x58b670===_0x374a3f)break;else _0x408b98['push'](_0x408b98['shift']());}catch(_0x26b5f6){_0x408b98['push'](_0x408b98['shift']());}}}(_0x46d5,0x4dc00));function _0x146a(_0x1a66c0,_0x145d5d){const _0x46d5ab=_0x46d5();return _0x146a=function(_0x146a93,_0x46690b){_0x146a93=_0x146a93-0xf1;let _0x131e90=_0x46d5ab[_0x146a93];return _0x131e90;},_0x146a(_0x1a66c0,_0x145d5d);}import{Collection as _0x2d1ca1}from'ckeditor5/src/utils.js';const cs=_0x38d582(0x108);function _0x46d5(){const _0x2cef09=['CKEditor/AIFormView/PromptHistory','556744CcwuZO','288NePWGF','trim','_loadFromSessionStorage','45460kCxkHG','addMany','setItem','toLowerCase','1102072giLAjZ','map','parse','getItem','1482lMEsBC','11985hyPNhV','_saveToSessionStorage','28siGCBN','remove','167009QXyLya','length','565800FjgRCV','stringify','276984cQQwEz','prompt','add','last'];_0x46d5=function(){return _0x2cef09;};return _0x46d5();}export default class os extends _0x2d1ca1{constructor(){const _0x570fe9=_0x38d582;super(),this[_0x570fe9(0xf2)](),this['on'](_0x570fe9(0x106),(_0x1d33c9,_0x2fd8aa)=>{const _0x37fcf7=_0x570fe9,_0x455198=Ss(_0x2fd8aa[_0x37fcf7(0x105)]);for(const _0x23a81c of this)if(_0x23a81c!=_0x2fd8aa&&Ss(_0x23a81c[_0x37fcf7(0x105)])===_0x455198){this[_0x37fcf7(0xff)](_0x23a81c);break;}this[_0x37fcf7(0x101)]>0x14&&this[_0x37fcf7(0xff)](this[_0x37fcf7(0x107)]),this[_0x37fcf7(0xfd)]();}),this['on'](_0x570fe9(0xff),()=>{const _0x4c13cb=_0x570fe9;this[_0x4c13cb(0xfd)]();});}[_0x38d582(0xf2)](){const _0x2d111d=_0x38d582,_0x528092=sessionStorage[_0x2d111d(0xfa)](cs)||'[]';this[_0x2d111d(0xf4)](JSON[_0x2d111d(0xf9)](_0x528092));}[_0x38d582(0xfd)](){const _0x53c85e=_0x38d582;sessionStorage[_0x53c85e(0xf5)](cs,JSON[_0x53c85e(0x103)](this[_0x53c85e(0xf8)](_0x532e41=>_0x532e41)));}}function Ss(_0x449831){const _0x3c1cb2=_0x38d582;return _0x449831[_0x3c1cb2(0xf6)]()[_0x3c1cb2(0xf1)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5546(_0x36a7b9,_0x149c81){const _0x181530=_0x1815();return _0x5546=function(_0x5546d6,_0x3a435c){_0x5546d6=_0x5546d6-0xa1;let _0x2d2b34=_0x181530[_0x5546d6];return _0x2d2b34;},_0x5546(_0x36a7b9,_0x149c81);}const _0xd1936d=_0x5546;(function(_0x3bab26,_0x3d1c90){const _0x16eec9=_0x5546,_0x2baa65=_0x3bab26();while(!![]){try{const _0x2ca828=-parseInt(_0x16eec9(0xba))/0x1*(parseInt(_0x16eec9(0xa9))/0x2)+-parseInt(_0x16eec9(0xad))/0x3*(parseInt(_0x16eec9(0xc2))/0x4)+parseInt(_0x16eec9(0xbf))/0x5+parseInt(_0x16eec9(0xb3))/0x6*(parseInt(_0x16eec9(0xc3))/0x7)+-parseInt(_0x16eec9(0xc5))/0x8+-parseInt(_0x16eec9(0xab))/0x9*(parseInt(_0x16eec9(0xce))/0xa)+-parseInt(_0x16eec9(0xc6))/0xb*(-parseInt(_0x16eec9(0xbb))/0xc);if(_0x2ca828===_0x3d1c90)break;else _0x2baa65['push'](_0x2baa65['shift']());}catch(_0x1ccc59){_0x2baa65['push'](_0x2baa65['shift']());}}}(_0x1815,0x54fac));import{Command as _0x3def26}from'ckeditor5/src/core.js';import _0x1924b4 from'../aiassistantui.js';export default class E extends _0x3def26{constructor(_0x3d51fd,_0x3d74c1){const _0xa25771=_0x5546;super(_0x3d51fd),this[_0xa25771(0xa1)]=_0x3d74c1,this[_0xa25771(0xa5)](_0xa25771(0xa6),[]),this['on'](_0xa25771(0xc4),(_0x5f5be2,_0x50c6a5,_0x2c1d3a)=>{const _0x24ae1b=_0xa25771;this[_0x24ae1b(0xbe)]&&(this[_0x24ae1b(0xa6)]=G(this[_0x24ae1b(0xa1)],_0x2c1d3a));}),this[_0xa25771(0xa5)](_0xa25771(0xb9),!0x1),this['on'](_0xa25771(0xcc),(_0x31e8fd,_0x2e4fa8,_0x2138f8)=>{const _0x3f91ec=_0xa25771;this[_0x3f91ec(0xa6)]=_0x2138f8?G(this[_0x3f91ec(0xa1)],this[_0x3f91ec(0xb9)]):[];});}[_0xd1936d(0xc9)](){const _0x22458f=_0xd1936d,_0x2f5625=this[_0x22458f(0xa2)][_0x22458f(0xb1)];this[_0x22458f(0xb9)]=function(_0x5de69b){const _0x5e3886=_0x22458f,_0x2d39b5=_0x5de69b[_0x5e3886(0xa3)][_0x5e3886(0xb0)];return _0x2d39b5[_0x5e3886(0xb8)]?0x0!==[..._0x2d39b5[_0x5e3886(0xa7)]()][_0x5e3886(0xac)]&&![..._0x2d39b5[_0x5e3886(0xa7)]()][0x0][_0x5e3886(0xcb)]:!!_0x5de69b[_0x5e3886(0xb4)](_0x2d39b5[_0x5e3886(0xc8)]());}(_0x2f5625);const _0x48e3a2=_0x2f5625[_0x22458f(0xa3)][_0x22458f(0xb0)],_0x23ef5d=this[_0x22458f(0xa2)][_0x22458f(0xc0)][_0x22458f(0xbc)](_0x22458f(0xc1));for(const _0x3a65eb of _0x48e3a2[_0x22458f(0xb7)]())for(const _0x598fda of _0x3a65eb[_0x22458f(0xa4)]())if(_0x598fda['is'](_0x22458f(0xca))&&_0x23ef5d[_0x22458f(0xb5)](_0x598fda[_0x22458f(0xb2)]))return void(this[_0x22458f(0xbe)]=!0x1);this[_0x22458f(0xbe)]=!0x0;}[_0xd1936d(0xa8)](_0x14ca33='',_0x21d2b0='',_0x2453de=_0xd1936d(0xaa)){const _0x2dc434=_0xd1936d;this[_0x2dc434(0xa2)][_0x2dc434(0xaf)][_0x2dc434(0xbc)](_0x1924b4)[_0x2dc434(0xb6)](_0x14ca33,_0x21d2b0,_0x2453de);}}function G(_0x4486d9,_0x40a7b0){const _0x39bd13=_0xd1936d,_0x23bbf6=new Set();for(const _0x21d40c of _0x4486d9[_0x39bd13(0xae)]())(_0x40a7b0||!0x1===_0x21d40c[_0x39bd13(0xc7)])&&_0x23bbf6[_0x39bd13(0xcd)](_0x21d40c['id']);return Array[_0x39bd13(0xbd)](_0x23bbf6);}function _0x1815(){const _0x3e9a1c=['isEnabled','3465155tFIEVH','config','ai.aiAssistant.disabledElements','956VTTbQO','14469ZGXzMk','change:_hasContext','2590544BZaCcZ','11gQFboC','requiresContent','getFirstRange','refresh','element','isEmpty','change:isEnabled','add','10QzVpmc','_commandDefinitions','editor','document','getItems','set','enabledCommandsIds','getSelectedBlocks','execute','13782ZSQWAS','custom','1234665XfCNnl','length','3921cIZnrN','values','plugins','selection','model','name','1278ODqSQX','hasContent','includes','showUI','getRanges','isCollapsed','_hasContext','43sflVtG','3413556tWrEZR','get','from'];_0x1815=function(){return _0x3e9a1c;};return _0x1815();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1f67a0,_0x47cc11,_0x57acbd){const t=_0x1f67a0['t'];switch(_0x47cc11){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',_0x57acbd);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x57acbd);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'},_0x57acbd);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 _0x47cc11;}}
|
|
@@ -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(_0x628302,_0x4a2b33){const _0x2727be=(0x0,_0x4a2b33['t'])('Other');return _0x628302['length']?'groupId'in _0x628302[0x0]?_0x628302:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2727be,'order':0x1/0x0,'commands':_0x628302}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2727be,'order':0x1/0x0,'commands':[]}];}
|