@ckeditor/ckeditor5-ai 42.0.0-alpha.12 → 42.0.0-alpha.15
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/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.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/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/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/jv.js +1 -1
- package/dist/translations/jv.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/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/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 +4 -4
- 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/ui/aiassistantcontroller.js +2 -2
- package/src/ui/dropdown/aicommandslistview.js +1 -1
- package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
- package/src/ui/dropdown/labelwithhighlightview.js +1 -1
- 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
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x8e7e9f=_0x5d68;function _0x2a8f(){const _0x482dd1=['updateView','setContentOf','once','querySelector','toView','<h1></h1>','viewToDom','28639MNVDkl','60ZUGLsJ','remove','data','toModel','_domParser','741416lRJuOs','_handleQuery','_stripMarkdownSyntax','previousActionId','innerHTML','trim','serializeToString','finally','reverse','startsWith','domConverter','1763432iZvAaY','destroy','from','currentResponse','listenTo','_sanitizationContainer','78cpOXgD','prompt','currentContext','editor','isProcessing','message','textAdapter','stopListening','createElement','processor','rename','value','```','substring','ELEMENT_NODE','30kHzynS','mainAction','parseFromString','9HJrFSg','push','3059169mUiAyF','endsWith','previousLabel','_xmlSerializer','nodeType','abort','finishProcessing','startProcessing','text/html','```html','makeRequest','match','childNodes','isRendered','_normalizeResponseHeadings','editing','length','handleError','catch','render','tryAgainEvent','submitPrompt','_isH1TagSupportEnabled','10ZFfJVY','stringify','previousQuery','exec','stopProcessing','_sanitizeHTML','1630559CylSXB','reset','then','element','initialContext','body','name','1365016nFigJh','div','set','previousContext','custom','3416844ZUAAhF','htmlProcessor','set:currentContext','view','document','28tOlCWJ','_parseAndNormalizeContent'];_0x2a8f=function(){return _0x482dd1;};return _0x2a8f();}(function(_0x150511,_0x58a090){const _0x5d876a=_0x5d68,_0x234859=_0x150511();while(!![]){try{const _0x2bd156=parseInt(_0x5d876a(0x184))/0x1*(parseInt(_0x5d876a(0x17b))/0x2)+parseInt(_0x5d876a(0x14d))/0x3+parseInt(_0x5d876a(0x171))/0x4*(parseInt(_0x5d876a(0x164))/0x5)+-parseInt(_0x5d876a(0x148))/0x6*(-parseInt(_0x5d876a(0x16a))/0x7)+parseInt(_0x5d876a(0x128))/0x8*(parseInt(_0x5d876a(0x14b))/0x9)+parseInt(_0x5d876a(0x185))/0xa*(-parseInt(_0x5d876a(0x133))/0xb)+parseInt(_0x5d876a(0x176))/0xc*(-parseInt(_0x5d876a(0x139))/0xd);if(_0x2bd156===_0x58a090)break;else _0x234859['push'](_0x234859['shift']());}catch(_0x409cfe){_0x234859['push'](_0x234859['shift']());}}}(_0x2a8f,0xa8845));import{ObservableMixin as _0x235ca1}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4bebda}from'../adapters/aiadapter.js';function _0x5d68(_0x20a487,_0x5b44b6){const _0x2a8fc0=_0x2a8f();return _0x5d68=function(_0x5d68a8,_0x46e987){_0x5d68a8=_0x5d68a8-0x126;let _0x38a520=_0x2a8fc0[_0x5d68a8];return _0x38a520;},_0x5d68(_0x20a487,_0x5b44b6);}import{Matcher as _0x44ab13,UpcastWriter as _0x27d135}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x235ca1(){constructor(_0x4f55c4,_0x5e9fdb,_0x2c79f5){const _0x3ef90b=_0x5d68;super(),this[_0x3ef90b(0x13c)]=_0x4f55c4,this[_0x3ef90b(0x13f)]=_0x5e9fdb,this[_0x3ef90b(0x138)]=document[_0x3ef90b(0x141)](_0x3ef90b(0x172)),this[_0x3ef90b(0x127)]=new DOMParser(),this[_0x3ef90b(0x150)]=new XMLSerializer(),this[_0x3ef90b(0x179)]=_0x2c79f5,this[_0x3ef90b(0x173)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3ef90b(0x178),(_0x5030c0,_0x53e6a9,_0x3cde3a)=>{const _0x1817b4=_0x3ef90b;this[_0x1817b4(0x179)][_0x1817b4(0x144)]=this[_0x1817b4(0x169)](_0x3cde3a);}),this[_0x3ef90b(0x137)](this[_0x3ef90b(0x179)],_0x3ef90b(0x162),(_0x2e069f,_0x27c06a)=>{const _0x2c7aaf=_0x3ef90b,_0x212aa7=this[_0x2c7aaf(0x13b)]||this[_0x2c7aaf(0x16e)];this[_0x2c7aaf(0x129)](_0x27c06a,_0x212aa7,_0x2c7aaf(0x175));}),this[_0x3ef90b(0x137)](this[_0x3ef90b(0x179)],_0x3ef90b(0x161),()=>{const _0x20dd81=_0x3ef90b;this[_0x20dd81(0x179)][_0x20dd81(0x13a)]=this[_0x20dd81(0x14f)],this[_0x20dd81(0x129)](this[_0x20dd81(0x166)],this[_0x20dd81(0x174)],this[_0x20dd81(0x12b)],this[_0x20dd81(0x14f)]);}),this[_0x3ef90b(0x137)](this[_0x3ef90b(0x179)],_0x3ef90b(0x168),()=>{const _0x308c82=_0x3ef90b;this[_0x308c82(0x168)]();});}[_0x8e7e9f(0x134)](){const _0x1119d0=_0x8e7e9f;this[_0x1119d0(0x140)]();}async[_0x8e7e9f(0x17d)]({actionId:_0x4fc544,query:_0x1469a1,htmlContent:_0x519258,label:_0x2d7f9e,mainActionLabel:_0x1e4d5c}){const _0x14ec71=_0x8e7e9f;this[_0x14ec71(0x179)][_0x14ec71(0x13a)]=_0x2d7f9e,this[_0x14ec71(0x179)][_0x14ec71(0x149)]=_0x1e4d5c,this[_0x14ec71(0x16e)]=_0x519258,_0x1469a1&&(this[_0x14ec71(0x179)][_0x14ec71(0x15a)]?this[_0x14ec71(0x129)](_0x1469a1,_0x519258,_0x4fc544,_0x2d7f9e):this[_0x14ec71(0x179)][_0x14ec71(0x17f)](_0x14ec71(0x160),()=>{const _0x5c7837=_0x14ec71;this[_0x5c7837(0x129)](_0x1469a1,_0x519258,_0x4fc544,_0x2d7f9e);}));}[_0x8e7e9f(0x168)](){const _0x2646c9=_0x8e7e9f;this[_0x2646c9(0x13d)]&&(this[_0x2646c9(0x13d)]=!0x1,this[_0x2646c9(0x179)][_0x2646c9(0x153)](),this[_0x2646c9(0x13f)][_0x2646c9(0x152)]());}[_0x8e7e9f(0x16b)](){const _0x1bc79a=_0x8e7e9f;this[_0x1bc79a(0x16e)]='',this[_0x1bc79a(0x13b)]='',this[_0x1bc79a(0x136)]='',this[_0x1bc79a(0x174)]='',this[_0x1bc79a(0x166)]='',this[_0x1bc79a(0x14f)]='',this[_0x1bc79a(0x12b)]=void 0x0,this[_0x1bc79a(0x179)][_0x1bc79a(0x16b)](),this[_0x1bc79a(0x168)]();}async[_0x8e7e9f(0x129)](_0xe62cd6,_0x102938,_0x37f870,_0x1bf92b){const _0x4a72f5=_0x8e7e9f;return this[_0x4a72f5(0x13d)]=!0x0,this[_0x4a72f5(0x179)][_0x4a72f5(0x154)](),this[_0x4a72f5(0x174)]=_0x102938,this[_0x4a72f5(0x166)]=_0xe62cd6,this[_0x4a72f5(0x14f)]=_0x1bf92b||_0xe62cd6,this[_0x4a72f5(0x12b)]=_0x37f870,new Promise(_0xe07101=>{const _0x261619=_0x4a72f5;this[_0x261619(0x13f)][_0x261619(0x157)]({'query':_0xe62cd6,'context':_0x102938,'onData':_0x456ee5=>{const _0x1a6f06=_0x261619;this[_0x1a6f06(0x136)]=_0x456ee5,this[_0x1a6f06(0x13b)]=this[_0x1a6f06(0x17c)](this[_0x1a6f06(0x136)]);},'actionId':_0x37f870})[_0x261619(0x16c)](()=>{const _0x41f616=_0x261619;!this[_0x41f616(0x13b)]&&this[_0x41f616(0x136)]&&(this[_0x41f616(0x13b)]=this[_0x41f616(0x17c)](this[_0x41f616(0x136)],!0x0));})[_0x261619(0x15f)](_0x3bf5d1=>{const _0x3a2954=_0x261619;_0x3bf5d1 instanceof _0x4bebda?this[_0x3a2954(0x179)][_0x3a2954(0x15e)](_0x3bf5d1[_0x3a2954(0x13e)]):this[_0x3a2954(0x179)][_0x3a2954(0x15e)](),_0xe07101();})[_0x261619(0x12f)](()=>{const _0x29f16d=_0x261619;this[_0x29f16d(0x168)](),_0xe07101();});});}[_0x8e7e9f(0x17c)](_0x2add6f,_0x22869e=!0x1){const _0x2089ce=_0x8e7e9f,_0x886d48=X[_0x2089ce(0x167)](_0x2add6f);_0x2add6f=_0x886d48?_0x2add6f[_0x2089ce(0x146)](_0x886d48[0x1][_0x2089ce(0x15d)]):_0x2add6f[_0x2089ce(0x15d)]<0x64&&!_0x22869e?'':this[_0x2089ce(0x12a)](_0x2add6f);const _0x2fe758=this[_0x2089ce(0x127)][_0x2089ce(0x14a)](_0x2add6f,_0x2089ce(0x155));if(_0x886d48){const _0x56c73e=Array[_0x2089ce(0x135)](_0x2fe758[_0x2089ce(0x16f)][_0x2089ce(0x159)]);_0x56c73e[_0x2089ce(0x130)]();for(const _0x41cc78 of _0x56c73e){if(_0x41cc78[_0x2089ce(0x151)]==Node[_0x2089ce(0x147)])break;_0x41cc78[_0x2089ce(0x186)]();}}const _0x2149f4=this[_0x2089ce(0x13c)][_0x2089ce(0x187)][_0x2089ce(0x142)][_0x2089ce(0x181)](this[_0x2089ce(0x150)][_0x2089ce(0x12e)](_0x2fe758[_0x2089ce(0x16f)]));return this[_0x2089ce(0x163)]()||this[_0x2089ce(0x15b)](_0x2149f4),this[_0x2089ce(0x13c)][_0x2089ce(0x187)][_0x2089ce(0x165)](this[_0x2089ce(0x13c)][_0x2089ce(0x187)][_0x2089ce(0x126)](_0x2149f4));}[_0x8e7e9f(0x15b)](_0x5598f7){const _0x4440fa=_0x8e7e9f,_0x72b1f0=new _0x27d135(this[_0x4440fa(0x13c)][_0x4440fa(0x15c)][_0x4440fa(0x179)][_0x4440fa(0x17a)]),_0x1eaf48=new _0x44ab13({'name':/^h[1-5]$/}),_0x28f945=[];let _0xd5bc2f=!0x1;for(const _0x4be2bb of _0x5598f7)_0x4be2bb['is'](_0x4440fa(0x16d))&&_0x1eaf48[_0x4440fa(0x158)](_0x4be2bb)&&(_0x28f945[_0x4440fa(0x14c)](_0x4be2bb),'h1'==_0x4be2bb[_0x4440fa(0x170)]&&(_0xd5bc2f=!0x0));if(_0xd5bc2f){for(const _0x5ef622 of _0x28f945)_0x72b1f0[_0x4440fa(0x143)]('h'+(parseInt(_0x5ef622[_0x4440fa(0x170)][0x1])+0x1),_0x5ef622);}}[_0x8e7e9f(0x163)](){const _0x1cc7ca=_0x8e7e9f,{data:_0x476b28,editing:_0x12a443}=this[_0x1cc7ca(0x13c)],_0x3646aa=_0x476b28[_0x1cc7ca(0x177)][_0x1cc7ca(0x181)](_0x1cc7ca(0x182)),_0x306b3d=_0x476b28[_0x1cc7ca(0x181)](_0x476b28[_0x1cc7ca(0x126)](_0x3646aa));return!!_0x12a443[_0x1cc7ca(0x179)][_0x1cc7ca(0x132)][_0x1cc7ca(0x183)](_0x306b3d)[_0x1cc7ca(0x180)]('h1');}[_0x8e7e9f(0x169)](_0x4cc52b){const _0x5d7488=_0x8e7e9f;return this[_0x5d7488(0x13c)][_0x5d7488(0x15c)][_0x5d7488(0x179)][_0x5d7488(0x132)][_0x5d7488(0x17e)](this[_0x5d7488(0x138)],_0x4cc52b),this[_0x5d7488(0x138)][_0x5d7488(0x12c)];}[_0x8e7e9f(0x12a)](_0x13ca9e){const _0x4c9fd7=_0x8e7e9f,_0x3c0691=_0x13ca9e[_0x4c9fd7(0x12d)]();return _0x3c0691[_0x4c9fd7(0x131)](_0x4c9fd7(0x156))?_0x3c0691[_0x4c9fd7(0x14e)](_0x4c9fd7(0x145))?_0x3c0691[_0x4c9fd7(0x146)](0x7,_0x3c0691[_0x4c9fd7(0x15d)]-0x3):_0x3c0691[_0x4c9fd7(0x146)](0x7):_0x13ca9e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1769(_0x371007,_0x26d407){const _0x9d2aa5=_0x9d2a();return _0x1769=function(_0x1769b6,_0x4e8cdd){_0x1769b6=_0x1769b6-0xe3;let _0x15834f=_0x9d2aa5[_0x1769b6];return _0x15834f;},_0x1769(_0x371007,_0x26d407);}const _0x5ce9ca=_0x1769;function _0x9d2a(){const _0x592750=['change:enabledCommandsIds','1699504DCOCEI','length','commandDefinition','filter','1115952vRDwVr','children','get','603hYWOax','first','set','labelView','2NVoAwk','7648610rhsshY','highlightText','match','1232uFiBfx','role','61284UeJUQL','includes','listbox','label','78671180TRZEKv','items','isVisible','enabledCommandsIds','179208jtpKoV','1515489WjtObT','isEnabled'];_0x9d2a=function(){return _0x592750;};return _0x9d2a();}(function(_0x68dd93,_0x5a6208){const _0x4a4e1d=_0x1769,_0xa3a15a=_0x68dd93();while(!![]){try{const _0x569dc3=-parseInt(_0x4a4e1d(0xee))/0x1+parseInt(_0x4a4e1d(0xf5))/0x2*(-parseInt(_0x4a4e1d(0xe7))/0x3)+-parseInt(_0x4a4e1d(0xea))/0x4+-parseInt(_0x4a4e1d(0xf6))/0x5+parseInt(_0x4a4e1d(0xfb))/0x6*(-parseInt(_0x4a4e1d(0xf9))/0x7)+-parseInt(_0x4a4e1d(0xe6))/0x8*(parseInt(_0x4a4e1d(0xf1))/0x9)+parseInt(_0x4a4e1d(0xff))/0xa;if(_0x569dc3===_0x5a6208)break;else _0xa3a15a['push'](_0xa3a15a['shift']());}catch(_0x4712e9){_0xa3a15a['push'](_0xa3a15a['shift']());}}}(_0x9d2a,0xf266a));import{ListView as _0x406e0f,ListItemGroupView as _0x3958e5}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x2083e6}from'../../aiassistantui.js';export default class U extends _0x406e0f{constructor(_0x4679c7){const _0x212632=_0x1769;super(_0x4679c7),this[_0x212632(0xfa)]=_0x212632(0xfd),this[_0x212632(0xf3)](_0x212632(0xe5),[]),this['on'](_0x212632(0xe9),()=>{const _0x15909e=_0x212632;for(const _0x45dbdb of this[_0x15909e(0xe3)])if(_0x45dbdb instanceof _0x3958e5){for(const _0x3f2716 of _0x45dbdb[_0x15909e(0xe3)])if(_0x3f2716 instanceof _0x2083e6){const _0x42b67a=_0x3f2716[_0x15909e(0xef)][_0x15909e(0xf0)](0x0);this[_0x15909e(0xe5)][_0x15909e(0xfc)](_0x3f2716[_0x15909e(0xec)]['id'])?_0x42b67a[_0x15909e(0xe8)]=!0x0:_0x42b67a[_0x15909e(0xe8)]=!0x1;}}});}[_0x5ce9ca(0xed)](_0x370d10){const _0x430313=_0x5ce9ca;let _0x2d3048=0x0,_0x225a1a=0x0;for(const _0x3ba2c4 of this[_0x430313(0xe3)]){const _0xa1cf61=_0x3ba2c4,_0x14ae6a=_0xa1cf61[_0x430313(0xe3)],_0xc87273=_0x370d10&&!!_0xa1cf61[_0x430313(0xfe)][_0x430313(0xf8)](_0x370d10);_0xa1cf61[_0x430313(0xf4)][_0x430313(0xf7)](_0xc87273?_0x370d10:null);for(const _0x119557 of _0x14ae6a){const _0xc84efd=_0x119557[_0x430313(0xef)][_0x430313(0xf2)],_0x509ae5=_0xc84efd[_0x430313(0xf4)];if(_0x370d10){const _0x27736e=!!_0xc84efd[_0x430313(0xfe)][_0x430313(0xf8)](_0x370d10);_0x509ae5[_0x430313(0xf7)](_0x27736e?_0x370d10:null),_0x119557[_0x430313(0xe4)]=_0xc87273||_0x27736e;}else _0x119557[_0x430313(0xe4)]=!0x0,_0x509ae5[_0x430313(0xf7)](null);}const _0x246bda=_0x14ae6a[_0x430313(0xed)](_0x32b18f=>_0x32b18f[_0x430313(0xe4)])[_0x430313(0xeb)];_0x2d3048+=_0xa1cf61[_0x430313(0xe3)][_0x430313(0xeb)],_0x225a1a+=_0xc87273?_0xa1cf61[_0x430313(0xe3)][_0x430313(0xeb)]:_0x246bda,_0xa1cf61[_0x430313(0xe4)]=_0xc87273||!!_0x246bda;}return{'resultsCount':_0x225a1a,'totalItemsCount':_0x2d3048};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5bb60a,_0x915518){const _0x28d9f6=_0x4c3a,_0x483e7a=_0x5bb60a();while(!![]){try{const _0x59b9bf=-parseInt(_0x28d9f6(0xc1))/0x1+-parseInt(_0x28d9f6(0xc0))/0x2*(parseInt(_0x28d9f6(0xb4))/0x3)+-parseInt(_0x28d9f6(0xb6))/0x4*(-parseInt(_0x28d9f6(0xc3))/0x5)+-parseInt(_0x28d9f6(0xba))/0x6*(parseInt(_0x28d9f6(0xc4))/0x7)+parseInt(_0x28d9f6(0xbb))/0x8*(-parseInt(_0x28d9f6(0xb9))/0x9)+-parseInt(_0x28d9f6(0xc2))/0xa*(parseInt(_0x28d9f6(0xbf))/0xb)+-parseInt(_0x28d9f6(0xb7))/0xc*(-parseInt(_0x28d9f6(0xbc))/0xd);if(_0x59b9bf===_0x915518)break;else _0x483e7a['push'](_0x483e7a['shift']());}catch(_0x181f19){_0x483e7a['push'](_0x483e7a['shift']());}}}(_0x5ee9,0x41b4f));import{HighlightedTextView as _0x2999e4}from'ckeditor5/src/ui.js';function _0x4c3a(_0x225877,_0x56a320){const _0x5ee997=_0x5ee9();return _0x4c3a=function(_0x4c3a0e,_0x5729d2){_0x4c3a0e=_0x4c3a0e-0xb4;let _0x182e83=_0x5ee997[_0x4c3a0e];return _0x182e83;},_0x4c3a(_0x225877,_0x56a320);}export default class N extends _0x2999e4{constructor(){const _0x1097e4=_0x4c3a;super(),this[_0x1097e4(0xb8)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x295725=this[_0x1097e4(0xb5)];this[_0x1097e4(0xc5)]({'attributes':{'class':[_0x1097e4(0xbe)],'style':_0x295725['to'](_0x1097e4(0xbd)),'id':_0x295725['to']('id')}});}}function _0x5ee9(){const _0x1444df=['3905bMotPk','1942OaueZh','49161jsTAgy','100dDttHG','65cnziob','7quAtSa','extendTemplate','252jdIbhd','bindTemplate','119972znujTJ','156tHLSNC','set','2097bbCZPO','464982UZVvqu','9032hSVyIT','354055MAXgfT','style','ck-button__label'];_0x5ee9=function(){return _0x1444df;};return _0x5ee9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x40f4(_0x9c41b4,_0x480b5e){const _0xc1db0c=_0xc1db();return _0x40f4=function(_0x40f457,_0x1d70bb){_0x40f457=_0x40f457-0x187;let _0x13253f=_0xc1db0c[_0x40f457];return _0x13253f;},_0x40f4(_0x9c41b4,_0x480b5e);}function _0xc1db(){const _0x595b27=['set','12cNjydX','36228ZWJqpm','3767790BxkTDu','925397NzCXxn','bindTemplate','258RLKylS','ck-label','35833JbBmBd','ck-editor__label_','90198yrLTXF','1389UPmozL','70SRPhrW','64TEoTBU','24360720wRJhLk','4860xKCWnY','extendTemplate','for'];_0xc1db=function(){return _0x595b27;};return _0xc1db();}(function(_0x3fbec3,_0x10c69e){const _0x5f18c6=_0x40f4,_0x84706d=_0x3fbec3();while(!![]){try{const _0x5df482=parseInt(_0x5f18c6(0x191))/0x1*(parseInt(_0x5f18c6(0x190))/0x2)+parseInt(_0x5f18c6(0x188))/0x3*(parseInt(_0x5f18c6(0x18c))/0x4)+parseInt(_0x5f18c6(0x192))/0x5+parseInt(_0x5f18c6(0x195))/0x6*(parseInt(_0x5f18c6(0x197))/0x7)+parseInt(_0x5f18c6(0x18a))/0x8*(parseInt(_0x5f18c6(0x187))/0x9)+parseInt(_0x5f18c6(0x189))/0xa*(parseInt(_0x5f18c6(0x193))/0xb)+-parseInt(_0x5f18c6(0x18b))/0xc;if(_0x5df482===_0x10c69e)break;else _0x84706d['push'](_0x84706d['shift']());}catch(_0x4eba2d){_0x84706d['push'](_0x84706d['shift']());}}}(_0xc1db,0x5fd91));import{HighlightedTextView as _0x4d7bde}from'ckeditor5/src/ui.js';import{uid as _0x13450b}from'ckeditor5/src/utils.js';export default class S extends _0x4d7bde{constructor(){const _0x15175c=_0x40f4;super(),this[_0x15175c(0x18f)](_0x15175c(0x18e),void 0x0);const _0x453a3a=this[_0x15175c(0x194)];this['id']=_0x15175c(0x198)+_0x13450b(),this[_0x15175c(0x18d)]({'attributes':{'class':['ck',_0x15175c(0x196)],'id':this['id'],'for':_0x453a3a['to'](_0x15175c(0x18e))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5a99(){const _0xc2fd90=['listenTo','916200mdhGfr','text/plain','lastElementChild','setStartAfter','isVisible','class','AI\x20is\x20writing...','createRange','_createLoader','1370285uGReUQ','innerHTML','32288Cjxcag','contentFieldView','ClipboardItem','.ck-ai-form__loader','1869805YhsEOq','focus','1951773mSkrUY','execute','ck-reset_all-excluded','isProcessing','value','body','change:value','455508FJaBbW','copyButtonView','setEndBefore','loaderView','style','Copy','textContent','appendLoader','removeAllRanges','copy','ck-ai-form__content-area-wrapper','bind','write','text/html','clipboard','<span>[</span>','scrollTo','wheel','2826iiQXsv','remove','ck-ai-form__content-field','ck-ai-form__content-area','ck-hidden','ck-ai-form__loader','element','appendChild','_createCopyButton','\x20ck-ai-form__copy-button--copied','smooth','ck-ai-form__content-area--processing','addRange','icon','isEnabled','firstElementChild','ck-ai-form__copy-button','render','querySelector','566361VOnOTw','check','ck-content','bindTemplate','getSelection','2ClVaph','execCommand','ck-ai-form__copy-button-wrapper','-9999px','mousedown','<span>]</span>','scrollHeight','locale','left','_copyHTMLToClipboard','change:isProcessing','createElement','position','setContent','set','setTemplate','div','absolute'];_0x5a99=function(){return _0xc2fd90;};return _0x5a99();}function _0x55ff(_0x22fe31,_0x3ad70a){const _0x5a9912=_0x5a99();return _0x55ff=function(_0x55ff06,_0x2f978e){_0x55ff06=_0x55ff06-0x134;let _0x1c186c=_0x5a9912[_0x55ff06];return _0x1c186c;},_0x55ff(_0x22fe31,_0x3ad70a);}const _0x56316c=_0x55ff;(function(_0x53a6ce,_0xe077bf){const _0x2fb02b=_0x55ff,_0x39c30d=_0x53a6ce();while(!![]){try{const _0x3ee671=-parseInt(_0x2fb02b(0x13d))/0x1+parseInt(_0x2fb02b(0x142))/0x2*(-parseInt(_0x2fb02b(0x166))/0x3)+parseInt(_0x2fb02b(0x155))/0x4+-parseInt(_0x2fb02b(0x15e))/0x5+parseInt(_0x2fb02b(0x16d))/0x6+parseInt(_0x2fb02b(0x164))/0x7+-parseInt(_0x2fb02b(0x160))/0x8*(-parseInt(_0x2fb02b(0x17f))/0x9);if(_0x3ee671===_0xe077bf)break;else _0x39c30d['push'](_0x39c30d['shift']());}catch(_0x28ecac){_0x39c30d['push'](_0x39c30d['shift']());}}}(_0x5a99,0x550da));import{global as _0x58e8b9}from'ckeditor5/src/utils.js';import{View as _0x47bc8c,ButtonView as _0x336e15,SpinnerView as _0x249285}from'ckeditor5/src/ui.js';import _0x137fb6 from'../../../theme/icons/copy.svg';import{getTranslation as _0x13d5c5}from'../../utils/common-translations.js';import{icons as _0xd2046e}from'ckeditor5/src/core.js';export default class nt extends _0x47bc8c{constructor(_0x42b4cf,_0xb183e5=''){const _0x58bfeb=_0x55ff;super(_0x42b4cf),this[_0x58bfeb(0x150)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x159f5f=this[_0x58bfeb(0x140)];this[_0x58bfeb(0x161)]=new ContentFieldView(_0x42b4cf,_0xb183e5),this[_0x58bfeb(0x16e)]=this[_0x58bfeb(0x187)](),this[_0x58bfeb(0x151)]({'tag':_0x58bfeb(0x152),'attributes':{'class':['ck',_0x58bfeb(0x177),_0x159f5f['if'](_0x58bfeb(0x159),_0x58bfeb(0x183),_0x20ba32=>!_0x20ba32)],'tabindex':'-1'},'children':[{'tag':_0x58bfeb(0x152),'attributes':{'class':['ck',_0x58bfeb(0x182),_0x159f5f['if'](_0x58bfeb(0x169),_0x58bfeb(0x135))]},'children':[this[_0x58bfeb(0x161)],{'tag':_0x58bfeb(0x152),'attributes':{'class':['ck',_0x58bfeb(0x144)]},'children':[this[_0x58bfeb(0x16e)]]}]}]});}[_0x56316c(0x13b)](){const _0x1317da=_0x56316c;super[_0x1317da(0x13b)](),this[_0x1317da(0x16a)]&&this[_0x1317da(0x161)][_0x1317da(0x14f)](this[_0x1317da(0x16a)]);let _0x58d396=!0x1;this['on'](_0x1317da(0x16c),(_0x12b393,_0x499472,_0x2ccc80)=>{const _0x556ef1=_0x1317da,_0x47f86e=!this[_0x556ef1(0x161)][_0x556ef1(0x185)][_0x556ef1(0x13c)](_0x556ef1(0x163));this[_0x556ef1(0x161)][_0x556ef1(0x14f)](_0x2ccc80),this[_0x556ef1(0x169)]&&_0x47f86e&&!_0x58d396&&this[_0x556ef1(0x185)][_0x556ef1(0x17d)]({'top':this[_0x556ef1(0x185)][_0x556ef1(0x148)],'behavior':_0x556ef1(0x134)});}),this['on'](_0x1317da(0x14c),(_0x2813b5,_0x1d623f,_0x4d5aab)=>{const _0x3c48a0=_0x1317da;_0x58d396=!0x1,_0x4d5aab?(this[_0x3c48a0(0x16a)]=null,this[_0x3c48a0(0x161)][_0x3c48a0(0x174)]()):this[_0x3c48a0(0x16a)]||this[_0x3c48a0(0x161)][_0x3c48a0(0x14f)]('');}),this[_0x1317da(0x154)](this[_0x1317da(0x185)],_0x1317da(0x17e),()=>{_0x58d396=!0x0;}),this[_0x1317da(0x154)](this[_0x1317da(0x185)],_0x1317da(0x146),()=>{_0x58d396=!0x0;});}[_0x56316c(0x165)](){const _0x3db5e9=_0x56316c;this[_0x3db5e9(0x185)][_0x3db5e9(0x165)]();}[_0x56316c(0x187)](){const _0x2105cf=_0x56316c,_0x2cf167=this[_0x2105cf(0x149)],_0x1f9a54=new _0x336e15(this[_0x2105cf(0x149)]),_0x504aa6=_0x2105cf(0x13a);return _0x1f9a54[_0x2105cf(0x150)]({'label':_0x13d5c5(_0x2cf167,_0x2105cf(0x172)),'icon':_0x137fb6,'class':_0x504aa6,'tooltip':!0x0}),_0x1f9a54[_0x2105cf(0x178)](_0x2105cf(0x159))['to'](this,_0x2105cf(0x16a),_0x181663=>!!_0x181663),_0x1f9a54[_0x2105cf(0x178)](_0x2105cf(0x138))['to'](this,_0x2105cf(0x169),_0x4ca6e6=>!_0x4ca6e6),_0x1f9a54['on'](_0x2105cf(0x167),()=>{const _0xdcb76=_0x2105cf;this[_0xdcb76(0x14b)](this[_0xdcb76(0x161)][_0xdcb76(0x185)]),_0x1f9a54[_0xdcb76(0x137)]=_0xd2046e[_0xdcb76(0x13e)],_0x1f9a54[_0xdcb76(0x15a)]=_0x504aa6+_0xdcb76(0x188),this[_0xdcb76(0x165)](),setTimeout(()=>{const _0x512bca=_0xdcb76;_0x1f9a54[_0x512bca(0x137)]=_0x137fb6,_0x1f9a54[_0x512bca(0x15a)]=_0x504aa6;},0x3e8);}),_0x1f9a54;}[_0x56316c(0x14b)](_0x21c6a9){const _0x262ffd=_0x56316c,{window:_0x1ccc87,document:_0x4bb9b6}=_0x58e8b9;if(_0x1ccc87[_0x262ffd(0x162)]){const {Blob:_0x1c5d28,ClipboardItem:_0x5b30c0}=_0x1ccc87,_0x166dc6=[new _0x5b30c0({'text/html':new _0x1c5d28([_0x21c6a9[_0x262ffd(0x15f)]],{'type':_0x262ffd(0x17a)}),'text/plain':new _0x1c5d28([_0x21c6a9[_0x262ffd(0x173)]||''],{'type':_0x262ffd(0x156)})})];navigator[_0x262ffd(0x17b)][_0x262ffd(0x179)](_0x166dc6);}else{const _0x629a59=_0x4bb9b6[_0x262ffd(0x14d)](_0x262ffd(0x152));_0x629a59[_0x262ffd(0x171)][_0x262ffd(0x14e)]=_0x262ffd(0x153),_0x629a59[_0x262ffd(0x171)][_0x262ffd(0x14a)]=_0x262ffd(0x145),_0x629a59[_0x262ffd(0x15f)]=_0x262ffd(0x17c)+_0x21c6a9[_0x262ffd(0x15f)]+_0x262ffd(0x147),_0x4bb9b6[_0x262ffd(0x16b)][_0x262ffd(0x186)](_0x629a59);const _0x28f74c=_0x4bb9b6[_0x262ffd(0x15c)]();_0x28f74c[_0x262ffd(0x158)](_0x629a59[_0x262ffd(0x139)]),_0x28f74c[_0x262ffd(0x16f)](_0x629a59[_0x262ffd(0x157)]);const _0x2490fd=_0x1ccc87[_0x262ffd(0x141)]();_0x2490fd[_0x262ffd(0x175)](),_0x2490fd[_0x262ffd(0x136)](_0x28f74c),_0x4bb9b6[_0x262ffd(0x143)](_0x262ffd(0x176)),_0x629a59[_0x262ffd(0x180)]();}}}export class ContentFieldView extends _0x47bc8c{constructor(_0x40292b,_0x5026fe=''){const _0x5fa7ac=_0x56316c;super(_0x40292b),this[_0x5fa7ac(0x170)]=this[_0x5fa7ac(0x15d)](),this[_0x5fa7ac(0x151)]({'tag':_0x5fa7ac(0x152),'attributes':{'class':['ck',_0x5fa7ac(0x13f),_0x5026fe,_0x5fa7ac(0x168),_0x5fa7ac(0x181)]}});}[_0x56316c(0x14f)](_0x2a3760){const _0x53bfee=_0x56316c;this[_0x53bfee(0x185)][_0x53bfee(0x15f)]=_0x2a3760;}[_0x56316c(0x174)](){const _0x2b8e0b=_0x56316c;this[_0x2b8e0b(0x185)][_0x2b8e0b(0x186)](this[_0x2b8e0b(0x170)][_0x2b8e0b(0x185)]);}[_0x56316c(0x15d)](){const _0x32d7e0=_0x56316c,_0x290a28=new _0x47bc8c(),_0x2fff5e=this[_0x32d7e0(0x149)],_0x465a3b=new _0x249285();return _0x465a3b[_0x32d7e0(0x159)]=!0x0,_0x290a28[_0x32d7e0(0x151)]({'tag':_0x32d7e0(0x152),'attributes':{'class':['ck',_0x32d7e0(0x184)]},'children':[_0x465a3b,{'text':_0x13d5c5(_0x2fff5e,_0x32d7e0(0x15b))}]}),_0x290a28[_0x32d7e0(0x13b)](),_0x290a28;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x55852e,_0x37333d){const _0x4f69a8=_0x2ddf,_0x15078=_0x55852e();while(!![]){try{const _0x50aa9d=parseInt(_0x4f69a8(0x17f))/0x1*(parseInt(_0x4f69a8(0x182))/0x2)+parseInt(_0x4f69a8(0x181))/0x3+parseInt(_0x4f69a8(0x180))/0x4*(parseInt(_0x4f69a8(0x178))/0x5)+-parseInt(_0x4f69a8(0x17e))/0x6+parseInt(_0x4f69a8(0x176))/0x7+parseInt(_0x4f69a8(0x17c))/0x8+-parseInt(_0x4f69a8(0x175))/0x9;if(_0x50aa9d===_0x37333d)break;else _0x15078['push'](_0x15078['shift']());}catch(_0x412b04){_0x15078['push'](_0x15078['shift']());}}}(_0x3277,0xbcbde));import{View as _0x581f96,IconView as _0x9016d6}from'ckeditor5/src/ui.js';import _0x638431 from'../../../theme/icons/error.svg';export default class mt extends _0x581f96{constructor(_0x7f6410,_0x1579e2=''){const _0xaf127a=_0x2ddf;super(_0x7f6410);const _0x3903ae=new _0x9016d6(),_0xdd72a3=this[_0xaf127a(0x179)];this[_0xaf127a(0x17a)](_0xaf127a(0x17b),_0x1579e2),_0x3903ae[_0xaf127a(0x184)]=_0x638431,this[_0xaf127a(0x183)]({'tag':_0xaf127a(0x17d),'attributes':{'class':['ck',_0xaf127a(0x177)]},'children':[_0x3903ae,{'text':_0xdd72a3['to'](_0xaf127a(0x17b))}]});}}function _0x2ddf(_0x57aa5b,_0x10496f){const _0x3277b8=_0x3277();return _0x2ddf=function(_0x2ddf0b,_0x3a0315){_0x2ddf0b=_0x2ddf0b-0x175;let _0x2b74bd=_0x3277b8[_0x2ddf0b];return _0x2b74bd;},_0x2ddf(_0x57aa5b,_0x10496f);}function _0x3277(){const _0x24f5eb=['text','678192KDfcoP','div','7035894fKRmOZ','129333VfWfyT','22116rdhWEo','271506RFGMiH','6vWKAHG','setTemplate','content','12254652jBSbNQ','10036005UEXZuy','ck-ai-form__error','1185qHMGcT','bindTemplate','set'];_0x3277=function(){return _0x24f5eb;};return _0x3277();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x202d7f=_0x4e69;(function(_0x489ff6,_0x51af64){const _0x40bfb1=_0x4e69,_0x5ce9db=_0x489ff6();while(!![]){try{const _0x33220a=-parseInt(_0x40bfb1(0x186))/0x1+-parseInt(_0x40bfb1(0x155))/0x2+-parseInt(_0x40bfb1(0x168))/0x3+parseInt(_0x40bfb1(0x170))/0x4*(parseInt(_0x40bfb1(0x18b))/0x5)+parseInt(_0x40bfb1(0x181))/0x6+-parseInt(_0x40bfb1(0x16a))/0x7+-parseInt(_0x40bfb1(0x188))/0x8*(-parseInt(_0x40bfb1(0x16c))/0x9);if(_0x33220a===_0x51af64)break;else _0x5ce9db['push'](_0x5ce9db['shift']());}catch(_0x12e871){_0x5ce9db['push'](_0x5ce9db['shift']());}}}(_0x3d51,0x8a57c));import{Rect as _0x27bbe5,global as _0x425067,isVisible as _0x4c4b89}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3beca9,ButtonView as _0x3e3dd8}from'ckeditor5/src/ui.js';import{icons as _0x5e0708}from'ckeditor5/src/core.js';function _0x4e69(_0x4860bd,_0x476ad8){const _0x3d51c6=_0x3d51();return _0x4e69=function(_0x4e691a,_0x59ed4f){_0x4e691a=_0x4e691a-0x154;let _0x4452cd=_0x3d51c6[_0x4e691a];return _0x4452cd;},_0x4e69(_0x4860bd,_0x476ad8);}function _0x3d51(){const _0x2a32d3=['focusLast','queryView','1213428fVwytj','render','Submit','focusCycler','_createSubmitButton','431215VaSwLJ','right','3824eeUhnR','set','left','3595560ZLqKAy','_createShowHistoryButton','children','fire','2170844mVHqVq','bind','keystrokes','excludeScrollbarsAndBorders','element','target','rtl','uiLanguageDirection','locale','submitButtonView','fieldWrapperChildren','filteredView','resultsView','minRows','value','isVisible','maxRows','ck-ai-form__submit','showHistoryButtonView','2448003BpLnRf','add','6621902fpSfNm','width','55053BycXPg','focusableChildren','fieldView','ck-ai-form__toggle-history','4qbZEVj','focusFirst','isEnabled','execute','submit','window','update','isOn','focus','isEmpty','History','history','requestAnimationFrame','style','enter'];_0x3d51=function(){return _0x2a32d3;};return _0x3d51();}import{getTranslation as _0x4c6c29}from'../../utils/common-translations.js';import _0x2158a7 from'../../../theme/icons/submit.svg';export default class pt extends _0x3beca9{constructor(_0x2be802,_0x525b96){const _0x946720=_0x4e69;super(_0x2be802,_0x525b96),this[_0x946720(0x180)][_0x946720(0x16e)][_0x946720(0x162)]=0x1,this[_0x946720(0x180)][_0x946720(0x16e)][_0x946720(0x165)]=0x3,this[_0x946720(0x15e)]=this[_0x946720(0x185)](),this[_0x946720(0x167)]=this[_0x946720(0x18c)](),this[_0x946720(0x16d)][_0x946720(0x169)](this[_0x946720(0x167)],0x1),this[_0x946720(0x16d)][_0x946720(0x169)](this[_0x946720(0x15e)]);}[_0x202d7f(0x182)](){const _0x1fef50=_0x202d7f;super[_0x1fef50(0x182)](),this[_0x1fef50(0x180)][_0x1fef50(0x15f)][_0x1fef50(0x169)](this[_0x1fef50(0x167)]),this[_0x1fef50(0x18d)][_0x1fef50(0x169)](this[_0x1fef50(0x15e)]),this[_0x1fef50(0x157)][_0x1fef50(0x189)](_0x1fef50(0x17e),(_0x4a41b0,_0x524038)=>{const _0xa8596b=_0x1fef50;_0x4a41b0[_0xa8596b(0x15a)]==this[_0xa8596b(0x180)][_0xa8596b(0x16e)][_0xa8596b(0x159)]&&(this[_0xa8596b(0x174)](),_0x524038());});}[_0x202d7f(0x185)](){const _0x22afc7=_0x202d7f,_0x330f20=new _0x3e3dd8(this[_0x22afc7(0x15d)]),_0xe46663=this[_0x22afc7(0x15d)];return _0x330f20[_0x22afc7(0x189)]({'icon':_0x2158a7,'label':_0x4c6c29(_0xe46663,_0x22afc7(0x183)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x22afc7(0x166)}),_0x330f20['on'](_0x22afc7(0x173),()=>{const _0x3629db=_0x22afc7;this[_0x3629db(0x174)]();}),_0x330f20[_0x22afc7(0x156)](_0x22afc7(0x172))['to'](this[_0x22afc7(0x180)][_0x22afc7(0x16e)],_0x22afc7(0x179),this,_0x22afc7(0x172),(_0x3d654f,_0x4fb495)=>!_0x3d654f&&_0x4fb495),_0x330f20;}[_0x202d7f(0x18c)](){const _0x4be7be=_0x202d7f,_0x3a1fcc=new _0x3e3dd8(this[_0x4be7be(0x15d)]),_0x3c5348=this[_0x4be7be(0x161)],_0x195892=this[_0x4be7be(0x15d)];_0x3a1fcc[_0x4be7be(0x189)]({'label':_0x4c6c29(_0x195892,_0x4be7be(0x17a)),'withText':!0x1,'icon':_0x5e0708[_0x4be7be(0x17b)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4be7be(0x16f)}),_0x3a1fcc[_0x4be7be(0x156)](_0x4be7be(0x177))['to'](_0x3c5348,_0x4be7be(0x164)),_0x3a1fcc[_0x4be7be(0x156)](_0x4be7be(0x172))['to'](this,_0x4be7be(0x172)),_0x3a1fcc['on'](_0x4be7be(0x173),()=>{const _0x410958=_0x4be7be;_0x3c5348[_0x410958(0x164)]=!_0x3c5348[_0x410958(0x164)],_0x3c5348[_0x410958(0x164)]?this[_0x410958(0x160)][_0x410958(0x178)]():this[_0x410958(0x178)]();});const _0x45ee62=()=>{const _0x53c845=_0x4be7be;_0x425067[_0x53c845(0x175)][_0x53c845(0x17c)](()=>{const _0x303af5=_0x53c845;if(_0x4c4b89(this[_0x303af5(0x159)])){const _0x261eb8=new _0x27bbe5(this[_0x303af5(0x180)][_0x303af5(0x16e)][_0x303af5(0x159)]),_0x9525b8=_0x261eb8[_0x303af5(0x16b)],_0x18cfdf=_0x303af5(0x15b)===_0x195892[_0x303af5(0x15c)]?_0x303af5(0x18a):_0x303af5(0x187);_0x261eb8[_0x303af5(0x158)](),_0x3a1fcc[_0x303af5(0x159)][_0x303af5(0x17d)][_0x18cfdf]=_0x9525b8-_0x261eb8[_0x303af5(0x16b)]+0x1+'px';}});};return this[_0x4be7be(0x180)][_0x4be7be(0x16e)]['on'](_0x4be7be(0x176),_0x45ee62),this['on'](_0x4be7be(0x182),_0x45ee62),_0x3a1fcc;}[_0x202d7f(0x174)](){const _0x5127d6=_0x202d7f,_0x5ac41d=this[_0x5127d6(0x180)][_0x5127d6(0x16e)][_0x5127d6(0x159)][_0x5127d6(0x163)];this[_0x5127d6(0x154)](_0x5127d6(0x174),_0x5ac41d);}[_0x202d7f(0x178)](_0x1309ff){const _0x2cb46d=_0x202d7f;-0x1===_0x1309ff?this[_0x2cb46d(0x184)][_0x2cb46d(0x17f)]():this[_0x2cb46d(0x184)][_0x2cb46d(0x171)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x573d(_0x2bcc20,_0x423e69){const _0x361ebc=_0x361e();return _0x573d=function(_0x573de1,_0x51bdd0){_0x573de1=_0x573de1-0x13f;let _0x56a182=_0x361ebc[_0x573de1];return _0x56a182;},_0x573d(_0x2bcc20,_0x423e69);}const _0x5b3315=_0x573d;(function(_0x2c4bd4,_0x31bda0){const _0x55615f=_0x573d,_0x30ec93=_0x2c4bd4();while(!![]){try{const _0x464863=-parseInt(_0x55615f(0x149))/0x1*(-parseInt(_0x55615f(0x153))/0x2)+parseInt(_0x55615f(0x155))/0x3+parseInt(_0x55615f(0x159))/0x4*(-parseInt(_0x55615f(0x164))/0x5)+-parseInt(_0x55615f(0x15c))/0x6+parseInt(_0x55615f(0x145))/0x7*(parseInt(_0x55615f(0x152))/0x8)+-parseInt(_0x55615f(0x162))/0x9*(parseInt(_0x55615f(0x150))/0xa)+-parseInt(_0x55615f(0x151))/0xb*(-parseInt(_0x55615f(0x15a))/0xc);if(_0x464863===_0x31bda0)break;else _0x30ec93['push'](_0x30ec93['shift']());}catch(_0x183081){_0x30ec93['push'](_0x30ec93['shift']());}}}(_0x361e,0x630a8));function _0x361e(){const _0x236f0d=['set','REPLACE','mainAction','bind','bindTemplate','ck-hidden','locale','121023EjdsNv','Try\x20again','AI_','replaceButton','28999KVTwsj','ck-button-action','_CONTENT','_createButton','replace','isVisible','extendTemplate','30rTjuLF','4291177XfmCgS','136kDbwIc','28mjfgBH','Stop','1018665SZiNyr','toUpperCase','stopButton','insertButton','4SKKWWH','12kAElGe','label','4621260YiRKVy','tryAgainButton','ck-ai-form__toolbar','items','addMany','insert','498303EDhXma','Insert\x20below','437890JQCRoj'];_0x361e=function(){return _0x236f0d;};return _0x361e();}import{ToolbarView as _0x21b4f7,ButtonView as _0x4ce311}from'ckeditor5/src/ui.js';import{getTranslation as _0xedb936}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5b3315(0x14d),'INSERT':_0x5b3315(0x161)};export default class Tt extends _0x21b4f7{constructor(_0x17b5fe){const _0xb698c5=_0x5b3315;super(_0x17b5fe),this[_0xb698c5(0x165)](_0xb698c5(0x14e),!0x1),this[_0xb698c5(0x165)](_0xb698c5(0x140),AIFormToolbarViewMainActionLabel[_0xb698c5(0x13f)]),this[_0xb698c5(0x148)]=this[_0xb698c5(0x14c)]('',_0xb698c5(0x14a)),this[_0xb698c5(0x148)][_0xb698c5(0x141)](_0xb698c5(0x15b))['to'](this,_0xb698c5(0x140),_0x44c968=>_0xedb936(_0x17b5fe,_0xb698c5(0x147)+_0x44c968[_0xb698c5(0x156)]()+_0xb698c5(0x14b))),this[_0xb698c5(0x158)]=this[_0xb698c5(0x14c)](_0xedb936(_0x17b5fe,_0xb698c5(0x163))),this[_0xb698c5(0x15d)]=this[_0xb698c5(0x14c)](_0xedb936(_0x17b5fe,_0xb698c5(0x146))),this[_0xb698c5(0x157)]=this[_0xb698c5(0x14c)](_0xedb936(_0x17b5fe,_0xb698c5(0x154)));const _0x1bcc21=this[_0xb698c5(0x142)];this[_0xb698c5(0x14f)]({'attributes':{'class':[_0xb698c5(0x15e),_0x1bcc21['if'](_0xb698c5(0x14e),_0xb698c5(0x143),_0xeb98ca=>!_0xeb98ca)]}}),this[_0xb698c5(0x15f)][_0xb698c5(0x160)]([this[_0xb698c5(0x148)],this[_0xb698c5(0x158)],this[_0xb698c5(0x15d)],this[_0xb698c5(0x157)]]);}[_0x5b3315(0x14c)](_0x43bedd,_0x56a2bd){const _0x1dcc90=_0x5b3315,_0x2f17d7=new _0x4ce311(this[_0x1dcc90(0x144)]);return _0x2f17d7[_0x1dcc90(0x165)]({'label':_0x43bedd,'class':_0x56a2bd||'','isVisible':!0x0,'withText':!0x0}),_0x2f17d7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x87b35c=_0x3b37;function _0x2304(){const _0x4548e1=['search','add','reset','8cCAObB','ck-ai-form-content','toolbar','isError','1230616qUjnrL','render','contentArea','bindTemplate','_focusables','ck-ai-form','574MQzbGr','copyButtonView','bindTo','focus','focusLast','612AcUqRj','3185075BHVcwr','tab','focusFirst','clearHistory','stopButton','replaceButton','19028960EPRSbG','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','keystrokes','focusPrevious','fieldView','historyGroupView','stopProcessing','label','isVisible','isProcessing','setTemplate','stop','items','_promptHistory','delegate','value','forwardCycle','_createToolbar','tryAgainButton','element','focusTracker','mainAction','finishProcessing','errorView','submit','handleError','focusCycler','insertButton','_createHistoryView','tryAgainEvent','focusNext','3316iWiehb','high','promptView','queryView','Ask\x20AI\x20to\x20improve\x20generated\x20text','replaceContent','locale','isEnabled','bind','12472245DltVsM','REPLACE','82794rqZHkQ','4245164hYGqCw','fire','prompt','listenTo','ck-hidden','Empty\x20history','backwardCycle','AI_ERROR_FAILED','text','createCollection','startProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','set','shift\x20+\x20tab','submitPrompt','_createPromptView','execute','clear','div','insertContentBelow','trim','11YkkgDr'];_0x2304=function(){return _0x4548e1;};return _0x2304();}(function(_0x12947e,_0x4b0748){const _0x669555=_0x3b37,_0xc4c4be=_0x12947e();while(!![]){try{const _0x37a7f2=parseInt(_0x669555(0x101))/0x1+parseInt(_0x669555(0x132))/0x2*(-parseInt(_0x669555(0x10c))/0x3)+parseInt(_0x669555(0x13e))/0x4+-parseInt(_0x669555(0x10d))/0x5+-parseInt(_0x669555(0x13d))/0x6*(parseInt(_0x669555(0x107))/0x7)+parseInt(_0x669555(0xfd))/0x8*(-parseInt(_0x669555(0x13b))/0x9)+parseInt(_0x669555(0x113))/0xa*(parseInt(_0x669555(0xf9))/0xb);if(_0x37a7f2===_0x4b0748)break;else _0xc4c4be['push'](_0xc4c4be['shift']());}catch(_0x5f9bd3){_0xc4c4be['push'](_0xc4c4be['shift']());}}}(_0x2304,0xab719));import{FocusTracker as _0x1bb9d9,KeystrokeHandler as _0x58f99c}from'ckeditor5/src/utils.js';import{View as _0x2c216c,FocusCycler as _0xdaedcc,createLabeledTextarea as _0x43c895}from'ckeditor5/src/ui.js';import _0xbeec5f,{AIFormToolbarViewMainActionLabel as _0x4bdbed}from'./aiformtoolbarview.js';import _0x1a5965 from'./aiformcontentarea.js';import _0x178dc4 from'./aiformerrorview.js';import _0x5b0a58 from'./aiformpromptview.js';import _0x51ee00 from'./aihistorylistview.js';import _0x4bb9fa from'./aihistorylistitemview.js';import _0x264ef3 from'./prompthistory.js';function _0x3b37(_0x2cfee1,_0x198447){const _0x2304a2=_0x2304();return _0x3b37=function(_0x3b37c3,_0x34ebd1){_0x3b37c3=_0x3b37c3-0xee;let _0xffc270=_0x2304a2[_0x3b37c3];return _0xffc270;},_0x3b37(_0x2cfee1,_0x198447);}import{getTranslation as _0x47992c}from'../../utils/common-translations.js';import{escape as _0x2ce12b}from'lodash-es';export default class x extends _0x2c216c{constructor(_0x12c06d,_0x4d98f1,_0xb4fc54=''){const _0xe88fc7=_0x3b37;super(_0x12c06d),this[_0xe88fc7(0xf0)](_0xe88fc7(0x139),!0x0),this[_0xe88fc7(0xf0)](_0xe88fc7(0x11c),!0x1),this[_0xe88fc7(0xf0)](_0xe88fc7(0x140),''),this[_0xe88fc7(0xf0)](_0xe88fc7(0x122),''),this[_0xe88fc7(0xf0)](_0xe88fc7(0x100),!0x1),this[_0xe88fc7(0xf0)](_0xe88fc7(0x128),_0x4bdbed[_0xe88fc7(0x13c)]),this[_0xe88fc7(0x120)]=new _0x264ef3(),this[_0xe88fc7(0x12a)]=new _0x178dc4(_0x12c06d),this[_0xe88fc7(0x103)]=new _0x1a5965(_0x12c06d,_0xb4fc54),this[_0xe88fc7(0x103)][_0xe88fc7(0x13a)](_0xe88fc7(0x11c))['to'](this),this[_0xe88fc7(0x103)][_0xe88fc7(0x13a)](_0xe88fc7(0x122))['to'](this),this[_0xe88fc7(0xff)]=this[_0xe88fc7(0x124)](),this[_0xe88fc7(0xff)][_0xe88fc7(0x13a)](_0xe88fc7(0x128))['to'](this),this[_0xe88fc7(0x134)]=this[_0xe88fc7(0xf3)](),this[_0xe88fc7(0x127)]=new _0x1bb9d9(),this[_0xe88fc7(0x115)]=new _0x58f99c(),this[_0xe88fc7(0x105)]=this[_0xe88fc7(0x147)]([this[_0xe88fc7(0x103)],this[_0xe88fc7(0x103)][_0xe88fc7(0x108)],this[_0xe88fc7(0xff)],this[_0xe88fc7(0x134)]]),this[_0xe88fc7(0x12d)]=new _0xdaedcc({'focusables':this[_0xe88fc7(0x105)],'focusTracker':this[_0xe88fc7(0x127)],'keystrokeHandler':this[_0xe88fc7(0x115)],'actions':{'focusPrevious':_0xe88fc7(0xf1),'focusNext':_0xe88fc7(0x10e)}}),this[_0xe88fc7(0x134)][_0xe88fc7(0x12d)]['on'](_0xe88fc7(0x123),_0x4c7e43=>{const _0x2a0b25=_0xe88fc7;this[_0x2a0b25(0x12d)][_0x2a0b25(0x131)](),_0x4c7e43[_0x2a0b25(0x11e)]();}),this[_0xe88fc7(0x134)][_0xe88fc7(0x12d)]['on'](_0xe88fc7(0x144),_0x397d30=>{const _0x553409=_0xe88fc7;this[_0x553409(0x12d)][_0x553409(0x116)](),_0x397d30[_0x553409(0x11e)]();}),this[_0xe88fc7(0x134)][_0xe88fc7(0x135)][_0xe88fc7(0x117)][_0xe88fc7(0x13a)](_0xe88fc7(0x122))['to'](this,_0xe88fc7(0x140));const _0x41039f=this[_0xe88fc7(0x104)];this[_0xe88fc7(0x11d)]({'tag':_0xe88fc7(0xf6),'attributes':{'class':['ck',_0xe88fc7(0x106),_0x4d98f1],'tabindex':'-1'},'children':[{'tag':_0xe88fc7(0xf6),'attributes':{'class':['ck',_0xe88fc7(0xfe)]},'children':[{'tag':_0xe88fc7(0xf6),'attributes':{'class':[_0x41039f['if'](_0xe88fc7(0x100),_0xe88fc7(0x142),_0x876c3e=>!_0x876c3e)]},'children':[this[_0xe88fc7(0x12a)]]},this[_0xe88fc7(0x103)],this[_0xe88fc7(0xff)],this[_0xe88fc7(0x134)]]}]});}[_0x87b35c(0x102)](){const _0x396061=_0x87b35c;super[_0x396061(0x102)](),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0x103)][_0x396061(0x126)]),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0x103)][_0x396061(0x108)][_0x396061(0x126)]),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0xff)][_0x396061(0x126)]),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0x134)][_0x396061(0x126)]),this[_0x396061(0x115)][_0x396061(0x141)](this[_0x396061(0x126)]);}[_0x87b35c(0x10a)](_0x15dd6f=0x1){const _0x2480bc=_0x87b35c;-0x1===_0x15dd6f?this[_0x2480bc(0x12d)][_0x2480bc(0x10b)]():this[_0x2480bc(0x12d)][_0x2480bc(0x10f)]();}[_0x87b35c(0xfc)](){const _0x1db7c7=_0x87b35c;this[_0x1db7c7(0x140)]='',this[_0x1db7c7(0x122)]='',this[_0x1db7c7(0x100)]=!0x1,this[_0x1db7c7(0x134)][_0x1db7c7(0xfc)](),this[_0x1db7c7(0x103)][_0x1db7c7(0x11b)]=!0x1,this[_0x1db7c7(0xff)][_0x1db7c7(0x11b)]=!0x1;}[_0x87b35c(0xf3)](){const _0x58437e=_0x87b35c,_0x235557=this[_0x58437e(0x138)],_0x587168=new _0x5b0a58(_0x235557,{'queryView':{'label':_0x47992c(_0x235557,_0x58437e(0xef)),'creator':_0x43c895,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x47992c(_0x235557,_0x58437e(0x143)),'secondary':_0x47992c(_0x235557,_0x58437e(0x114))}}},'filteredView':this[_0x58437e(0x12f)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x587168[_0x58437e(0x13a)](_0x58437e(0x139))['to'](this,_0x58437e(0x139),this,_0x58437e(0x11c),(_0x1292f7,_0x3b0259)=>_0x1292f7&&!_0x3b0259),this[_0x58437e(0x141)](_0x587168,_0x58437e(0x12b),(_0x5b29aa,_0x812234)=>{const _0x4d8798=_0x58437e;this[_0x4d8798(0x140)]=_0x812234;const _0x2ddade=_0x2ce12b(_0x812234);this[_0x4d8798(0x13f)](_0x4d8798(0xf2),_0x2ddade),_0x812234[_0x4d8798(0xf8)]()&&this[_0x4d8798(0x120)][_0x4d8798(0xfb)]({'prompt':_0x2ddade},0x0);},{'priority':_0x58437e(0x133)}),_0x587168;}[_0x87b35c(0x12f)](){const _0x327b27=_0x87b35c,_0x3adba0=new _0x51ee00(this[_0x327b27(0x138)]);return _0x3adba0[_0x327b27(0x118)][_0x327b27(0x11f)][_0x327b27(0x109)](this[_0x327b27(0x120)])['as'](_0x4bb9fa),_0x3adba0['on'](_0x327b27(0x110),()=>{const _0xe6c99b=_0x327b27;this[_0xe6c99b(0x120)][_0xe6c99b(0xf5)](),this[_0xe6c99b(0x134)][_0xe6c99b(0xfa)](''),this[_0xe6c99b(0x134)][_0xe6c99b(0x10a)]();}),_0x3adba0;}[_0x87b35c(0x124)](){const _0x5d3a07=_0x87b35c,_0x51ec38=new _0xbeec5f(this[_0x5d3a07(0x138)]);return _0x51ec38[_0x5d3a07(0x112)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x139),this,_0x5d3a07(0x11c),this,_0x5d3a07(0x122),(_0x381881,_0x1be72a,_0x237aeb)=>_0x381881&&!_0x1be72a&&!!_0x237aeb),_0x51ec38[_0x5d3a07(0x112)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0x137)),_0x51ec38[_0x5d3a07(0x12e)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x139),this,_0x5d3a07(0x11c),this,_0x5d3a07(0x122),(_0x2e0d2b,_0x5979f0,_0x32393d)=>_0x2e0d2b&&!_0x5979f0&&!!_0x32393d),_0x51ec38[_0x5d3a07(0x12e)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0xf7)),_0x51ec38[_0x5d3a07(0x125)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x139),this,_0x5d3a07(0x11c),(_0x357740,_0x5bbb9d)=>_0x357740&&!_0x5bbb9d),_0x51ec38[_0x5d3a07(0x125)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0x130)),_0x51ec38[_0x5d3a07(0x111)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x11c)),_0x51ec38[_0x5d3a07(0x111)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0x119)),_0x51ec38;}[_0x87b35c(0xee)](){const _0x344590=_0x87b35c;this[_0x344590(0x122)]='',this[_0x344590(0x100)]=!0x1,this[_0x344590(0x11c)]=!0x0,this[_0x344590(0x103)][_0x344590(0x11b)]=!0x0,this[_0x344590(0xff)][_0x344590(0x11b)]=!0x0,this[_0x344590(0x103)][_0x344590(0x10a)]();}[_0x87b35c(0x129)](){const _0xa309ed=_0x87b35c,_0x5d78e0=this[_0xa309ed(0x138)];this[_0xa309ed(0x11c)]=!0x1,this[_0xa309ed(0x140)]='',this[_0xa309ed(0x134)][_0xa309ed(0xfc)](),this[_0xa309ed(0x122)]&&(this[_0xa309ed(0x134)][_0xa309ed(0x135)][_0xa309ed(0x11a)]=_0x47992c(_0x5d78e0,_0xa309ed(0x136)));}[_0x87b35c(0x12c)](_0x2b3058){const _0x5dcb5a=_0x87b35c,_0x39f89c=this[_0x5dcb5a(0x138)];this[_0x5dcb5a(0x129)](),this[_0x5dcb5a(0x100)]=!0x0,this[_0x5dcb5a(0x12a)][_0x5dcb5a(0x146)]=_0x2b3058||_0x47992c(_0x39f89c,_0x5dcb5a(0x145)),this[_0x5dcb5a(0x122)]||(this[_0x5dcb5a(0x103)][_0x5dcb5a(0x11b)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3bea65,_0x448534){const _0x409db9=_0x3906,_0x287c71=_0x3bea65();while(!![]){try{const _0x26b42a=-parseInt(_0x409db9(0x1a8))/0x1*(-parseInt(_0x409db9(0x1a5))/0x2)+-parseInt(_0x409db9(0x1ab))/0x3*(-parseInt(_0x409db9(0x1aa))/0x4)+parseInt(_0x409db9(0x1a1))/0x5*(parseInt(_0x409db9(0x1a9))/0x6)+parseInt(_0x409db9(0x1a3))/0x7+parseInt(_0x409db9(0x1a6))/0x8*(parseInt(_0x409db9(0x1a4))/0x9)+parseInt(_0x409db9(0x1b3))/0xa+-parseInt(_0x409db9(0x1a7))/0xb*(parseInt(_0x409db9(0x1ad))/0xc);if(_0x26b42a===_0x448534)break;else _0x287c71['push'](_0x287c71['shift']());}catch(_0x34991c){_0x287c71['push'](_0x287c71['shift']());}}}(_0xb168,0x98eb9));import{ListItemView as _0x2c6d21,ButtonView as _0x5e2cb4}from'ckeditor5/src/ui.js';function _0x3906(_0x24541a,_0x32ef9c){const _0xb16851=_0xb168();return _0x3906=function(_0x3906e9,_0x58db13){_0x3906e9=_0x3906e9-0x1a1;let _0x532975=_0xb16851[_0x3906e9];return _0x532975;},_0x3906(_0x24541a,_0x32ef9c);}function _0xb168(){const _0x4da982=['3674aoNwXR','115127dPNtvg','78YHgJAE','491084xdxCoX','3xzQVaK','locale','125652ClWjoO','children','execute','fire','prompt','set','11851920nsFgKM','438010rMntDZ','add','4613378hoStQs','1907487MOgNQN','14OzgHFW','8ADPKkG'];_0xb168=function(){return _0x4da982;};return _0xb168();}import _0x5cb113 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x8e029d}from'lodash-es';export default class hs extends _0x2c6d21{constructor(_0x2ef61f){const _0x2bd202=_0x3906;super();const _0x2b4a2a=new _0x5cb113(),_0x2e2620=new _0x5e2cb4(this[_0x2bd202(0x1ac)],_0x2b4a2a);this[_0x2bd202(0x1ae)][_0x2bd202(0x1a2)](_0x2e2620),_0x2e2620[_0x2bd202(0x1b2)]({'label':_0x2ef61f[_0x2bd202(0x1b1)],'withText':!0x0}),_0x2e2620['on'](_0x2bd202(0x1af),()=>{const _0x370427=_0x2bd202;this[_0x370427(0x1b0)](_0x370427(0x1af),{'value':_0x8e029d(_0x2ef61f[_0x370427(0x1b1)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38ce39=_0x248c;(function(_0x15037c,_0x4ecc06){const _0x3f0825=_0x248c,_0x331a34=_0x15037c();while(!![]){try{const _0x2695a4=-parseInt(_0x3f0825(0xcb))/0x1*(-parseInt(_0x3f0825(0xde))/0x2)+parseInt(_0x3f0825(0xdc))/0x3*(-parseInt(_0x3f0825(0xe5))/0x4)+parseInt(_0x3f0825(0xcc))/0x5*(-parseInt(_0x3f0825(0xce))/0x6)+-parseInt(_0x3f0825(0xe1))/0x7*(-parseInt(_0x3f0825(0xe2))/0x8)+parseInt(_0x3f0825(0xe4))/0x9+-parseInt(_0x3f0825(0xd2))/0xa+parseInt(_0x3f0825(0xdd))/0xb*(parseInt(_0x3f0825(0xe3))/0xc);if(_0x2695a4===_0x4ecc06)break;else _0x331a34['push'](_0x331a34['shift']());}catch(_0x26ed8e){_0x331a34['push'](_0x331a34['shift']());}}}(_0xbed8,0x4a147));import{ListView as _0x4b4045,ListItemGroupView as _0x1ac638,ButtonView as _0x5e68f7}from'ckeditor5/src/ui.js';import{getTranslation as _0x1e1cea}from'../../utils/common-translations.js';export default class rs extends _0x4b4045{constructor(_0xd87e91){const _0x1ba709=_0x248c;super(_0xd87e91),this[_0x1ba709(0xda)]=this[_0x1ba709(0xcd)](),this[_0x1ba709(0xe0)]=new _0x1ac638(),this[_0x1ba709(0xe0)][_0x1ba709(0xd8)][_0x1ba709(0xd6)](this[_0x1ba709(0xda)],0x1),this[_0x1ba709(0xe0)][_0x1ba709(0xca)]=_0x1e1cea(_0xd87e91,_0x1ba709(0xd1)),this[_0x1ba709(0xe0)][_0x1ba709(0xd5)][_0x1ba709(0xd9)](_0x1ba709(0xd3))['to'](this),this[_0x1ba709(0xd5)][_0x1ba709(0xd6)](this[_0x1ba709(0xe0)]);}[_0x38ce39(0xe6)](){const _0x194eba=_0x38ce39;let _0x30aee1=0x0;for(const _0x3df670 of this[_0x194eba(0xd5)])_0x30aee1+=_0x3df670[_0x194eba(0xd5)][_0x194eba(0xd0)];return{'resultsCount':_0x30aee1,'totalItemsCount':_0x30aee1};}[_0x38ce39(0xcd)](){const _0x33dd75=_0x38ce39,_0x1f067f=this[_0x33dd75(0xcf)],_0x4ff60b=new _0x5e68f7(this[_0x33dd75(0xcf)]);return _0x4ff60b[_0x33dd75(0xdb)]({'label':'('+_0x1e1cea(_0x1f067f,_0x33dd75(0xd4))+')','withText':!0x0}),_0x4ff60b['on'](_0x33dd75(0xd3),()=>this[_0x33dd75(0xd7)](_0x33dd75(0xdf))),_0x4ff60b;}}function _0x248c(_0x5daa05,_0x12b87){const _0xbed814=_0xbed8();return _0x248c=function(_0x248cf2,_0x51a4ff){_0x248cf2=_0x248cf2-0xca;let _0x1a6ca1=_0xbed814[_0x248cf2];return _0x1a6ca1;},_0x248c(_0x5daa05,_0x12b87);}function _0xbed8(){const _0x2ccf98=['Prompt\x20history','87190hQdkmH','execute','Clear','items','add','fire','children','delegate','clearHistoryButton','set','33717VWaHns','44YlbLJp','348nDGuqP','clearHistory','historyGroupView','7iIYFmV','2935032Jbaivi','747624WmDJlv','2230308sgPySQ','44YUNkKX','filter','label','592ONEUGc','1327820WBNSvp','_createClearHistoryButton','12nPEAed','locale','length'];_0xbed8=function(){return _0x2ccf98;};return _0xbed8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x335a8a=_0x3495;(function(_0x1ec754,_0x6a6f64){const _0x157025=_0x3495,_0x532cbf=_0x1ec754();while(!![]){try{const _0x49dcb5=-parseInt(_0x157025(0x193))/0x1*(-parseInt(_0x157025(0x1a1))/0x2)+-parseInt(_0x157025(0x19c))/0x3+-parseInt(_0x157025(0x198))/0x4*(-parseInt(_0x157025(0x195))/0x5)+parseInt(_0x157025(0x194))/0x6*(-parseInt(_0x157025(0x1a4))/0x7)+-parseInt(_0x157025(0x197))/0x8+parseInt(_0x157025(0x199))/0x9+-parseInt(_0x157025(0x19d))/0xa*(-parseInt(_0x157025(0x19b))/0xb);if(_0x49dcb5===_0x6a6f64)break;else _0x532cbf['push'](_0x532cbf['shift']());}catch(_0xb96a6d){_0x532cbf['push'](_0x532cbf['shift']());}}}(_0x356a,0x1a82f));function _0x3495(_0x1cbd76,_0x306ebc){const _0x356a23=_0x356a();return _0x3495=function(_0x34956c,_0x171397){_0x34956c=_0x34956c-0x193;let _0x2d771c=_0x356a23[_0x34956c];return _0x2d771c;},_0x3495(_0x1cbd76,_0x306ebc);}function _0x356a(){const _0x1220d7=['getItem','_loadFromSessionStorage','1PdIqxY','54JYPlKm','6010Nkzxwg','addMany','1670928ZXfWJc','612GRVDvb','162630XiyRlW','remove','22nuTrdI','140073xSYUNg','393130CzQZOp','_saveToSessionStorage','length','stringify','203470HRiZyE','toLowerCase','CKEditor/AIFormView/PromptHistory','14147miTnOc','add','parse','map','setItem','trim','prompt','last'];_0x356a=function(){return _0x1220d7;};return _0x356a();}import{Collection as _0x2c8acb}from'ckeditor5/src/utils.js';const cs=_0x335a8a(0x1a3);export default class os extends _0x2c8acb{constructor(){const _0x4434be=_0x335a8a;super(),this[_0x4434be(0x1ad)](),this['on'](_0x4434be(0x1a5),(_0x3ccff4,_0x4cc124)=>{const _0x26b7e0=_0x4434be,_0x512b81=Ss(_0x4cc124[_0x26b7e0(0x1aa)]);for(const _0x2d78c7 of this)if(_0x2d78c7!=_0x4cc124&&Ss(_0x2d78c7[_0x26b7e0(0x1aa)])===_0x512b81){this[_0x26b7e0(0x19a)](_0x2d78c7);break;}this[_0x26b7e0(0x19f)]>0x14&&this[_0x26b7e0(0x19a)](this[_0x26b7e0(0x1ab)]),this[_0x26b7e0(0x19e)]();}),this['on'](_0x4434be(0x19a),()=>{const _0x5dc759=_0x4434be;this[_0x5dc759(0x19e)]();});}[_0x335a8a(0x1ad)](){const _0x878f8a=_0x335a8a,_0x41afc1=sessionStorage[_0x878f8a(0x1ac)](cs)||'[]';this[_0x878f8a(0x196)](JSON[_0x878f8a(0x1a6)](_0x41afc1));}[_0x335a8a(0x19e)](){const _0x30c29d=_0x335a8a;sessionStorage[_0x30c29d(0x1a8)](cs,JSON[_0x30c29d(0x1a0)](this[_0x30c29d(0x1a7)](_0xca8dcc=>_0xca8dcc)));}}function Ss(_0x3553d5){const _0x4e1870=_0x335a8a;return _0x3553d5[_0x4e1870(0x1a2)]()[_0x4e1870(0x1a9)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4d42(_0x4b591b,_0x360d9e){const _0x5838cd=_0x5838();return _0x4d42=function(_0x4d4218,_0x25a764){_0x4d4218=_0x4d4218-0x1b2;let _0x294ec7=_0x5838cd[_0x4d4218];return _0x294ec7;},_0x4d42(_0x4b591b,_0x360d9e);}const _0x190aec=_0x4d42;(function(_0x5c6c48,_0x2716a7){const _0x513973=_0x4d42,_0x4d1617=_0x5c6c48();while(!![]){try{const _0x5c2fc4=parseInt(_0x513973(0x1b8))/0x1+-parseInt(_0x513973(0x1dc))/0x2+-parseInt(_0x513973(0x1c1))/0x3*(parseInt(_0x513973(0x1b3))/0x4)+-parseInt(_0x513973(0x1d6))/0x5*(-parseInt(_0x513973(0x1d0))/0x6)+parseInt(_0x513973(0x1d3))/0x7*(parseInt(_0x513973(0x1c7))/0x8)+parseInt(_0x513973(0x1bf))/0x9+-parseInt(_0x513973(0x1c0))/0xa;if(_0x5c2fc4===_0x2716a7)break;else _0x4d1617['push'](_0x4d1617['shift']());}catch(_0x3886a2){_0x4d1617['push'](_0x4d1617['shift']());}}}(_0x5838,0xa7363));import{Command as _0x3a2bc0}from'ckeditor5/src/core.js';function _0x5838(){const _0x1895cd=['from','selection','enabledCommandsIds','12271176ftpEKE','15135220ZVmfbj','606DqdszY','change:isEnabled','hasContent','isCollapsed','name','model','24eLZVWw','custom','isEmpty','commands','showUI','_hasContext','get','includes','length','6JmdRjF','getFirstRange','set','2122267vzbqmh','refresh','getSelectedBlocks','5488235KSCxlk','getRanges','document','config','element','getItems','2263980CWziyU','requiresContent','plugins','_commandDefinitions','change:_hasContext','1404GKkbaZ','execute','concat','ai.aiAssistant.disabledElements','editor','30659jBbLPO','add','isEnabled','reduce'];_0x5838=function(){return _0x1895cd;};return _0x5838();}import _0x220b48 from'../aiassistantui.js';export default class j extends _0x3a2bc0{constructor(_0x2f72e9,_0x4a3fbd){const _0x3e1de0=_0x4d42;super(_0x2f72e9),this[_0x3e1de0(0x1df)]=_0x4a3fbd?_0x4a3fbd[_0x3e1de0(0x1bb)]((_0x58e368,_0x44fa4e)=>_0x58e368[_0x3e1de0(0x1b5)](_0x44fa4e[_0x3e1de0(0x1ca)]),new Array()):[],this[_0x3e1de0(0x1d2)](_0x3e1de0(0x1be),[]),this['on'](_0x3e1de0(0x1b2),(_0x445e38,_0x401933,_0xd39ed7)=>{const _0x519028=_0x3e1de0;this[_0x519028(0x1ba)]&&(this[_0x519028(0x1be)]=K(this[_0x519028(0x1df)],_0xd39ed7));}),this[_0x3e1de0(0x1d2)](_0x3e1de0(0x1cc),!0x1),this['on'](_0x3e1de0(0x1c2),(_0x3ba6fe,_0x488b76,_0x21e8f0)=>{const _0x45bf5e=_0x3e1de0;this[_0x45bf5e(0x1be)]=_0x21e8f0?K(this[_0x45bf5e(0x1df)],this[_0x45bf5e(0x1cc)]):[];});}[_0x190aec(0x1d4)](){const _0x95cd50=_0x190aec,_0x2b8cce=this[_0x95cd50(0x1b7)][_0x95cd50(0x1c6)];this[_0x95cd50(0x1cc)]=function(_0x5394fa){const _0x45854c=_0x95cd50,_0x5115ed=_0x5394fa[_0x45854c(0x1d8)][_0x45854c(0x1bd)];return _0x5115ed[_0x45854c(0x1c4)]?0x0!==[..._0x5115ed[_0x45854c(0x1d5)]()][_0x45854c(0x1cf)]&&![..._0x5115ed[_0x45854c(0x1d5)]()][0x0][_0x45854c(0x1c9)]:!!_0x5394fa[_0x45854c(0x1c3)](_0x5115ed[_0x45854c(0x1d1)]());}(_0x2b8cce);const _0x2d34eb=_0x2b8cce[_0x95cd50(0x1d8)][_0x95cd50(0x1bd)],_0x757ad8=this[_0x95cd50(0x1b7)][_0x95cd50(0x1d9)][_0x95cd50(0x1cd)](_0x95cd50(0x1b6));for(const _0x17f120 of _0x2d34eb[_0x95cd50(0x1d7)]())for(const _0x10e364 of _0x17f120[_0x95cd50(0x1db)]())if(_0x10e364['is'](_0x95cd50(0x1da))&&_0x757ad8[_0x95cd50(0x1ce)](_0x10e364[_0x95cd50(0x1c5)]))return void(this[_0x95cd50(0x1ba)]=!0x1);this[_0x95cd50(0x1ba)]=!0x0;}[_0x190aec(0x1b4)](_0x2fbc31='',_0x36a162='',_0x223575=_0x190aec(0x1c8)){const _0x409789=_0x190aec;this[_0x409789(0x1b7)][_0x409789(0x1de)][_0x409789(0x1cd)](_0x220b48)[_0x409789(0x1cb)](_0x2fbc31,_0x36a162,_0x223575);}}function K(_0x2b0640,_0x15d788){const _0x520b13=_0x190aec,_0x433eaf=new Set();for(const _0x23fbf0 of _0x2b0640)(_0x15d788||!0x1===_0x23fbf0[_0x520b13(0x1dd)])&&_0x433eaf[_0x520b13(0x1b9)](_0x23fbf0['id']);return Array[_0x520b13(0x1bc)](_0x433eaf);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4fc19c,_0x483e16,_0x4080a0){const t=_0x4fc19c['t'];switch(_0x483e16){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x4080a0);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',_0x4080a0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4080a0);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x4080a0);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 _0x483e16;}}
|