@ckeditor/ckeditor5-ai 42.0.0-alpha.8 → 42.0.0-alpha.9
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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xaa6bc3=_0x1e06;(function(_0x18532b,_0x20d802){const _0x775035=_0x1e06,_0x12dfea=_0x18532b();while(!![]){try{const _0x2b2745=-parseInt(_0x775035(0x178))/0x1*(-parseInt(_0x775035(0x197))/0x2)+-parseInt(_0x775035(0x189))/0x3+-parseInt(_0x775035(0x16e))/0x4*(parseInt(_0x775035(0x18a))/0x5)+-parseInt(_0x775035(0x18e))/0x6*(parseInt(_0x775035(0x15c))/0x7)+parseInt(_0x775035(0x164))/0x8+parseInt(_0x775035(0x176))/0x9+parseInt(_0x775035(0x169))/0xa*(parseInt(_0x775035(0x142))/0xb);if(_0x2b2745===_0x20d802)break;else _0x12dfea['push'](_0x12dfea['shift']());}catch(_0x34bd8e){_0x12dfea['push'](_0x12dfea['shift']());}}}(_0xfe50,0x6a75c));import{ObservableMixin as _0xa6a961}from'ckeditor5/src/utils.js';function _0x1e06(_0x41217b,_0x2e583e){const _0xfe50c3=_0xfe50();return _0x1e06=function(_0x1e0674,_0xba3562){_0x1e0674=_0x1e0674-0x13b;let _0x48a294=_0xfe50c3[_0x1e0674];return _0x48a294;},_0x1e06(_0x41217b,_0x2e583e);}import{AIRequestError as _0x429132}from'../adapters/aiadapter.js';function _0xfe50(){const _0x3fd64c=['previousQuery','document','editing','isProcessing','match','abort','_parseAndNormalizeContent','handleError','11Mzirhw','domConverter','text/html','remove','_isH1TagSupportEnabled','ELEMENT_NODE','reset','_normalizeResponseHeadings','from','finishProcessing','message','data','innerHTML','push','startsWith','<h1></h1>','div','then','length','reverse','currentResponse','set:currentContext','createElement','```html','submitPrompt','_stripMarkdownSyntax','14sEsQbR','stopProcessing','serializeToString','tryAgainEvent','isRendered','parseFromString','endsWith','element','6458096QTNVHr','htmlProcessor','processor','name','custom','1017140uoyYFU','textAdapter','once','querySelector','finally','16hCuVCd','```','toModel','currentContext','_domParser','catch','mainAction','stringify','1298916GFuQQH','listenTo','151eNwTxl','previousActionId','body','exec','nodeType','set','_sanitizeHTML','viewToDom','substring','setContentOf','initialContext','toView','makeRequest','_handleQuery','render','previousLabel','value','1535283iBWLQL','1025345mRCTsz','updateView','rename','_xmlSerializer','87540KSEtJo','startProcessing','view','prompt','previousContext','_sanitizationContainer','editor','destroy','childNodes','9854QNlUXQ','stopListening','trim'];_0xfe50=function(){return _0x3fd64c;};return _0xfe50();}import{Matcher as _0x3a260b,UpcastWriter as _0x46f4bc}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
|
+
_0xa6a961(){constructor(_0x527c9a,_0x55db61,_0x143930){const _0x4e80e1=_0x1e06;super(),this[_0x4e80e1(0x194)]=_0x527c9a,this[_0x4e80e1(0x16a)]=_0x55db61,this[_0x4e80e1(0x193)]=document[_0x4e80e1(0x158)](_0x4e80e1(0x152)),this[_0x4e80e1(0x172)]=new DOMParser(),this[_0x4e80e1(0x18d)]=new XMLSerializer(),this[_0x4e80e1(0x190)]=_0x143930,this[_0x4e80e1(0x17d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4e80e1(0x157),(_0x530b6b,_0x2a3e72,_0x33f60b)=>{const _0x145fb0=_0x4e80e1;this[_0x145fb0(0x190)][_0x145fb0(0x188)]=this[_0x145fb0(0x17e)](_0x33f60b);}),this[_0x4e80e1(0x177)](this[_0x4e80e1(0x190)],_0x4e80e1(0x15a),(_0x22f871,_0x1870ef)=>{const _0xd774f4=_0x4e80e1,_0x2723ef=this[_0xd774f4(0x171)]||this[_0xd774f4(0x182)];this[_0xd774f4(0x185)](_0x1870ef,_0x2723ef,_0xd774f4(0x168));}),this[_0x4e80e1(0x177)](this[_0x4e80e1(0x190)],_0x4e80e1(0x15f),()=>{const _0x57c332=_0x4e80e1;this[_0x57c332(0x190)][_0x57c332(0x191)]=this[_0x57c332(0x187)],this[_0x57c332(0x185)](this[_0x57c332(0x19a)],this[_0x57c332(0x192)],this[_0x57c332(0x179)],this[_0x57c332(0x187)]);}),this[_0x4e80e1(0x177)](this[_0x4e80e1(0x190)],_0x4e80e1(0x15d),()=>{const _0x832082=_0x4e80e1;this[_0x832082(0x15d)]();});}[_0xaa6bc3(0x195)](){const _0xce89be=_0xaa6bc3;this[_0xce89be(0x198)]();}async[_0xaa6bc3(0x18b)]({actionId:_0x213fed,query:_0x31bd23,htmlContent:_0x50ac25,label:_0xe7d3a,mainActionLabel:_0x292953}){const _0x5b5b94=_0xaa6bc3;this[_0x5b5b94(0x190)][_0x5b5b94(0x191)]=_0xe7d3a,this[_0x5b5b94(0x190)][_0x5b5b94(0x174)]=_0x292953,this[_0x5b5b94(0x182)]=_0x50ac25,_0x31bd23&&(this[_0x5b5b94(0x190)][_0x5b5b94(0x160)]?this[_0x5b5b94(0x185)](_0x31bd23,_0x50ac25,_0x213fed,_0xe7d3a):this[_0x5b5b94(0x190)][_0x5b5b94(0x16b)](_0x5b5b94(0x186),()=>{const _0x57b691=_0x5b5b94;this[_0x57b691(0x185)](_0x31bd23,_0x50ac25,_0x213fed,_0xe7d3a);}));}[_0xaa6bc3(0x15d)](){const _0x57993f=_0xaa6bc3;this[_0x57993f(0x13d)]&&(this[_0x57993f(0x13d)]=!0x1,this[_0x57993f(0x190)][_0x57993f(0x14b)](),this[_0x57993f(0x16a)][_0x57993f(0x13f)]());}[_0xaa6bc3(0x148)](){const _0x33ac6c=_0xaa6bc3;this[_0x33ac6c(0x182)]='',this[_0x33ac6c(0x171)]='',this[_0x33ac6c(0x156)]='',this[_0x33ac6c(0x192)]='',this[_0x33ac6c(0x19a)]='',this[_0x33ac6c(0x187)]='',this[_0x33ac6c(0x179)]=void 0x0,this[_0x33ac6c(0x190)][_0x33ac6c(0x148)](),this[_0x33ac6c(0x15d)]();}async[_0xaa6bc3(0x185)](_0x3cc564,_0x5abd2a,_0x49a5c5,_0x5a7403){const _0x5a7f63=_0xaa6bc3;return this[_0x5a7f63(0x13d)]=!0x0,this[_0x5a7f63(0x190)][_0x5a7f63(0x18f)](),this[_0x5a7f63(0x192)]=_0x5abd2a,this[_0x5a7f63(0x19a)]=_0x3cc564,this[_0x5a7f63(0x187)]=_0x5a7403||_0x3cc564,this[_0x5a7f63(0x179)]=_0x49a5c5,new Promise(_0x44fdaf=>{const _0x415e9a=_0x5a7f63;this[_0x415e9a(0x16a)][_0x415e9a(0x184)]({'query':_0x3cc564,'context':_0x5abd2a,'onData':_0x20eadd=>{const _0x2f8704=_0x415e9a;this[_0x2f8704(0x156)]=_0x20eadd,this[_0x2f8704(0x171)]=this[_0x2f8704(0x140)](this[_0x2f8704(0x156)]);},'actionId':_0x49a5c5})[_0x415e9a(0x153)](()=>{const _0x3664bb=_0x415e9a;!this[_0x3664bb(0x171)]&&this[_0x3664bb(0x156)]&&(this[_0x3664bb(0x171)]=this[_0x3664bb(0x140)](this[_0x3664bb(0x156)],!0x0));})[_0x415e9a(0x173)](_0x2e8e95=>{const _0xea8f09=_0x415e9a;_0x2e8e95 instanceof _0x429132?this[_0xea8f09(0x190)][_0xea8f09(0x141)](_0x2e8e95[_0xea8f09(0x14c)]):this[_0xea8f09(0x190)][_0xea8f09(0x141)](),_0x44fdaf();})[_0x415e9a(0x16d)](()=>{const _0x4b98ed=_0x415e9a;this[_0x4b98ed(0x15d)](),_0x44fdaf();});});}[_0xaa6bc3(0x140)](_0x17d890,_0x3b0226=!0x1){const _0x401089=_0xaa6bc3,_0x3abf22=X[_0x401089(0x17b)](_0x17d890);_0x17d890=_0x3abf22?_0x17d890[_0x401089(0x180)](_0x3abf22[0x1][_0x401089(0x154)]):_0x17d890[_0x401089(0x154)]<0x64&&!_0x3b0226?'':this[_0x401089(0x15b)](_0x17d890);const _0x483914=this[_0x401089(0x172)][_0x401089(0x161)](_0x17d890,_0x401089(0x144));if(_0x3abf22){const _0x3e1947=Array[_0x401089(0x14a)](_0x483914[_0x401089(0x17a)][_0x401089(0x196)]);_0x3e1947[_0x401089(0x155)]();for(const _0x442e16 of _0x3e1947){if(_0x442e16[_0x401089(0x17c)]==Node[_0x401089(0x147)])break;_0x442e16[_0x401089(0x145)]();}}const _0x4404b2=this[_0x401089(0x194)][_0x401089(0x14d)][_0x401089(0x166)][_0x401089(0x183)](this[_0x401089(0x18d)][_0x401089(0x15e)](_0x483914[_0x401089(0x17a)]));return this[_0x401089(0x146)]()||this[_0x401089(0x149)](_0x4404b2),this[_0x401089(0x194)][_0x401089(0x14d)][_0x401089(0x175)](this[_0x401089(0x194)][_0x401089(0x14d)][_0x401089(0x170)](_0x4404b2));}[_0xaa6bc3(0x149)](_0x53ef54){const _0x135f34=_0xaa6bc3,_0x28d85d=new _0x46f4bc(this[_0x135f34(0x194)][_0x135f34(0x13c)][_0x135f34(0x190)][_0x135f34(0x13b)]),_0x4f4052=new _0x3a260b({'name':/^h[1-5]$/}),_0x1f8fe8=[];let _0x1088d7=!0x1;for(const _0x579d24 of _0x53ef54)_0x579d24['is'](_0x135f34(0x163))&&_0x4f4052[_0x135f34(0x13e)](_0x579d24)&&(_0x1f8fe8[_0x135f34(0x14f)](_0x579d24),'h1'==_0x579d24[_0x135f34(0x167)]&&(_0x1088d7=!0x0));if(_0x1088d7){for(const _0x4f1031 of _0x1f8fe8)_0x28d85d[_0x135f34(0x18c)]('h'+(parseInt(_0x4f1031[_0x135f34(0x167)][0x1])+0x1),_0x4f1031);}}[_0xaa6bc3(0x146)](){const _0x1854f6=_0xaa6bc3,{data:_0x193eda,editing:_0xea754e}=this[_0x1854f6(0x194)],_0x2ff603=_0x193eda[_0x1854f6(0x165)][_0x1854f6(0x183)](_0x1854f6(0x151)),_0x3dc9e4=_0x193eda[_0x1854f6(0x183)](_0x193eda[_0x1854f6(0x170)](_0x2ff603));return!!_0xea754e[_0x1854f6(0x190)][_0x1854f6(0x143)][_0x1854f6(0x17f)](_0x3dc9e4)[_0x1854f6(0x16c)]('h1');}[_0xaa6bc3(0x17e)](_0x5d0ac2){const _0x5d2475=_0xaa6bc3;return this[_0x5d2475(0x194)][_0x5d2475(0x13c)][_0x5d2475(0x190)][_0x5d2475(0x143)][_0x5d2475(0x181)](this[_0x5d2475(0x193)],_0x5d0ac2),this[_0x5d2475(0x193)][_0x5d2475(0x14e)];}[_0xaa6bc3(0x15b)](_0x12aa52){const _0x17af43=_0xaa6bc3,_0x13db98=_0x12aa52[_0x17af43(0x199)]();return _0x13db98[_0x17af43(0x150)](_0x17af43(0x159))?_0x13db98[_0x17af43(0x162)](_0x17af43(0x16f))?_0x13db98[_0x17af43(0x180)](0x7,_0x13db98[_0x17af43(0x154)]-0x3):_0x13db98[_0x17af43(0x180)](0x7):_0x12aa52;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41d10f=_0x2092;(function(_0x4ec9ec,_0xd0325){const _0x3cd076=_0x2092,_0x2c45d9=_0x4ec9ec();while(!![]){try{const _0x486779=-parseInt(_0x3cd076(0x84))/0x1+parseInt(_0x3cd076(0x86))/0x2*(parseInt(_0x3cd076(0x9f))/0x3)+-parseInt(_0x3cd076(0x8d))/0x4*(-parseInt(_0x3cd076(0x90))/0x5)+-parseInt(_0x3cd076(0x92))/0x6+parseInt(_0x3cd076(0x89))/0x7*(-parseInt(_0x3cd076(0xa1))/0x8)+-parseInt(_0x3cd076(0x8c))/0x9+parseInt(_0x3cd076(0x96))/0xa*(parseInt(_0x3cd076(0x8f))/0xb);if(_0x486779===_0xd0325)break;else _0x2c45d9['push'](_0x2c45d9['shift']());}catch(_0xed2ef7){_0x2c45d9['push'](_0x2c45d9['shift']());}}}(_0x2ac1,0x2a284));import{ListView as _0x24dd1e,ListItemGroupView as _0x3f00c7}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x137583}from'../../aiassistantui.js';function _0x2ac1(){const _0x54e292=['2228895WGbZxG','9824XoGGqD','change:enabledCommandsIds','1463TDWdWP','565VvXJrJ','includes','1475124JxSdxs','filter','highlightText','label','41210MCXeFQ','children','first','length','items','listbox','isEnabled','commandDefinition','role','9ATEQhx','match','8xFDkzW','54665UfnRAx','isVisible','14968yTQExo','get','set','890561Ykhwml','labelView','enabledCommandsIds'];_0x2ac1=function(){return _0x54e292;};return _0x2ac1();}function _0x2092(_0x26c933,_0x15151e){const _0x2ac1a7=_0x2ac1();return _0x2092=function(_0x20927e,_0x152d99){_0x20927e=_0x20927e-0x84;let _0x501797=_0x2ac1a7[_0x20927e];return _0x501797;},_0x2092(_0x26c933,_0x15151e);}export default class U extends _0x24dd1e{constructor(_0x351e60){const _0x63f214=_0x2092;super(_0x351e60),this[_0x63f214(0x9e)]=_0x63f214(0x9b),this[_0x63f214(0x88)](_0x63f214(0x8b),[]),this['on'](_0x63f214(0x8e),()=>{const _0x4af334=_0x63f214;for(const _0x588a2b of this[_0x4af334(0x9a)])if(_0x588a2b instanceof _0x3f00c7){for(const _0x3c9a7f of _0x588a2b[_0x4af334(0x9a)])if(_0x3c9a7f instanceof _0x137583){const _0x5dfb71=_0x3c9a7f[_0x4af334(0x97)][_0x4af334(0x87)](0x0);this[_0x4af334(0x8b)][_0x4af334(0x91)](_0x3c9a7f[_0x4af334(0x9d)]['id'])?_0x5dfb71[_0x4af334(0x9c)]=!0x0:_0x5dfb71[_0x4af334(0x9c)]=!0x1;}}});}[_0x41d10f(0x93)](_0x41c8fe){const _0x2d2e7d=_0x41d10f;let _0x3bec7e=0x0,_0x4f9127=0x0;for(const _0xcfe64d of this[_0x2d2e7d(0x9a)]){const _0x5eeafe=_0xcfe64d,_0x3531cc=_0x5eeafe[_0x2d2e7d(0x9a)],_0x23c0d2=_0x41c8fe&&!!_0x5eeafe[_0x2d2e7d(0x95)][_0x2d2e7d(0xa0)](_0x41c8fe);_0x5eeafe[_0x2d2e7d(0x8a)][_0x2d2e7d(0x94)](_0x23c0d2?_0x41c8fe:null);for(const _0x482710 of _0x3531cc){const _0x397ffb=_0x482710[_0x2d2e7d(0x97)][_0x2d2e7d(0x98)],_0x432be4=_0x397ffb[_0x2d2e7d(0x8a)];if(_0x41c8fe){const _0x4eaa94=!!_0x397ffb[_0x2d2e7d(0x95)][_0x2d2e7d(0xa0)](_0x41c8fe);_0x432be4[_0x2d2e7d(0x94)](_0x4eaa94?_0x41c8fe:null),_0x482710[_0x2d2e7d(0x85)]=_0x23c0d2||_0x4eaa94;}else _0x482710[_0x2d2e7d(0x85)]=!0x0,_0x432be4[_0x2d2e7d(0x94)](null);}const _0x177cce=_0x3531cc[_0x2d2e7d(0x93)](_0x15979d=>_0x15979d[_0x2d2e7d(0x85)])[_0x2d2e7d(0x99)];_0x3bec7e+=_0x5eeafe[_0x2d2e7d(0x9a)][_0x2d2e7d(0x99)],_0x4f9127+=_0x23c0d2?_0x5eeafe[_0x2d2e7d(0x9a)][_0x2d2e7d(0x99)]:_0x177cce,_0x5eeafe[_0x2d2e7d(0x85)]=_0x23c0d2||!!_0x177cce;}return{'resultsCount':_0x4f9127,'totalItemsCount':_0x3bec7e};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x14f61c,_0x2a4390){const _0x3b5332=_0xc7f7,_0x1183cc=_0x14f61c();while(!![]){try{const _0x1730a4=parseInt(_0x3b5332(0xb4))/0x1+-parseInt(_0x3b5332(0xae))/0x2+parseInt(_0x3b5332(0xb0))/0x3+parseInt(_0x3b5332(0xb9))/0x4*(parseInt(_0x3b5332(0xaf))/0x5)+-parseInt(_0x3b5332(0xba))/0x6*(parseInt(_0x3b5332(0xac))/0x7)+parseInt(_0x3b5332(0xad))/0x8*(-parseInt(_0x3b5332(0xb1))/0x9)+-parseInt(_0x3b5332(0xb6))/0xa;if(_0x1730a4===_0x2a4390)break;else _0x1183cc['push'](_0x1183cc['shift']());}catch(_0x2c484a){_0x1183cc['push'](_0x1183cc['shift']());}}}(_0x3cf7,0x96779));import{HighlightedTextView as _0x1d06ef}from'ckeditor5/src/ui.js';function _0xc7f7(_0xfce4cc,_0x14d93e){const _0x3cf7a0=_0x3cf7();return _0xc7f7=function(_0xc7f781,_0xd0b277){_0xc7f781=_0xc7f781-0xac;let _0x15e47b=_0x3cf7a0[_0xc7f781];return _0x15e47b;},_0xc7f7(_0xfce4cc,_0x14d93e);}export default class N extends _0x1d06ef{constructor(){const _0x1c40e8=_0xc7f7;super(),this[_0x1c40e8(0xb5)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x524d7a=this[_0x1c40e8(0xb8)];this[_0x1c40e8(0xb2)]({'attributes':{'class':[_0x1c40e8(0xb7)],'style':_0x524d7a['to'](_0x1c40e8(0xb3)),'id':_0x524d7a['to']('id')}});}}function _0x3cf7(){const _0x273c13=['443655NCNaCa','extendTemplate','style','331398fVSXsd','set','6740420Vwvjov','ck-button__label','bindTemplate','164glrxou','30LKHSzo','630511LqTPJu','40yzdlNU','761648CuKgIZ','114220gZHJhk','3300051ReylrY'];_0x3cf7=function(){return _0x273c13;};return _0x3cf7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1b34(_0x1f826b,_0xfda5ba){const _0x539f51=_0x539f();return _0x1b34=function(_0x1b3486,_0x3855b5){_0x1b3486=_0x1b3486-0x80;let _0x42ba40=_0x539f51[_0x1b3486];return _0x42ba40;},_0x1b34(_0x1f826b,_0xfda5ba);}function _0x539f(){const _0x328736=['42GpBXkf','2677912NrQhDF','4297615UEajej','42386YFBPnF','set','2403830KaSZvC','7809OduPab','ck-label','for','2719412XaDNGl','2741440HXMYJc','6pVDAZg','ck-editor__label_','9IekrNw','extendTemplate','bindTemplate'];_0x539f=function(){return _0x328736;};return _0x539f();}(function(_0x327afe,_0x45a111){const _0x46438d=_0x1b34,_0x1ed764=_0x327afe();while(!![]){try{const _0x242bed=parseInt(_0x46438d(0x8d))/0x1+parseInt(_0x46438d(0x8a))/0x2*(-parseInt(_0x46438d(0x80))/0x3)+-parseInt(_0x46438d(0x83))/0x4+parseInt(_0x46438d(0x8f))/0x5+parseInt(_0x46438d(0x85))/0x6*(parseInt(_0x46438d(0x8c))/0x7)+-parseInt(_0x46438d(0x8b))/0x8*(parseInt(_0x46438d(0x87))/0x9)+parseInt(_0x46438d(0x84))/0xa;if(_0x242bed===_0x45a111)break;else _0x1ed764['push'](_0x1ed764['shift']());}catch(_0x324a92){_0x1ed764['push'](_0x1ed764['shift']());}}}(_0x539f,0x537e2));import{HighlightedTextView as _0x6f394f}from'ckeditor5/src/ui.js';import{uid as _0xa4e94d}from'ckeditor5/src/utils.js';export default class S extends _0x6f394f{constructor(){const _0x3f5f79=_0x1b34;super(),this[_0x3f5f79(0x8e)](_0x3f5f79(0x82),void 0x0);const _0x3ccc29=this[_0x3f5f79(0x89)];this['id']=_0x3f5f79(0x86)+_0xa4e94d(),this[_0x3f5f79(0x88)]({'attributes':{'class':['ck',_0x3f5f79(0x81)],'id':this['id'],'for':_0x3ccc29['to'](_0x3f5f79(0x82))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4dbbe3=_0x7008;function _0x7008(_0x2e48ad,_0x23c896){const _0x350560=_0x3505();return _0x7008=function(_0x70082d,_0x5b0319){_0x70082d=_0x70082d-0xa9;let _0x126cb1=_0x350560[_0x70082d];return _0x126cb1;},_0x7008(_0x2e48ad,_0x23c896);}(function(_0xd2d6cb,_0x14367e){const _0x1a7dea=_0x7008,_0x85605b=_0xd2d6cb();while(!![]){try{const _0x3c45c1=-parseInt(_0x1a7dea(0xd5))/0x1*(parseInt(_0x1a7dea(0xd8))/0x2)+-parseInt(_0x1a7dea(0xcf))/0x3*(parseInt(_0x1a7dea(0xe2))/0x4)+parseInt(_0x1a7dea(0xc1))/0x5+-parseInt(_0x1a7dea(0xc0))/0x6+parseInt(_0x1a7dea(0xc6))/0x7*(-parseInt(_0x1a7dea(0xbd))/0x8)+-parseInt(_0x1a7dea(0xbf))/0x9+parseInt(_0x1a7dea(0xec))/0xa;if(_0x3c45c1===_0x14367e)break;else _0x85605b['push'](_0x85605b['shift']());}catch(_0x490036){_0x85605b['push'](_0x85605b['shift']());}}}(_0x3505,0xb3c73));import{global as _0x5710e7}from'ckeditor5/src/utils.js';import{View as _0x177814,ButtonView as _0x176273,SpinnerView as _0x30fef5}from'ckeditor5/src/ui.js';function _0x3505(){const _0x6b618=['<span>[</span>','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','33596650vNignj','Copy','isProcessing','loaderView','focus','<span>]</span>','setTemplate','remove','_copyHTMLToClipboard','change:isProcessing','ck-ai-form__copy-button','ck-ai-form__loader','text/html','smooth','ck-ai-form__content-area','getSelection','firstElementChild','element','innerHTML','createRange','text/plain','ck-hidden','ck-ai-form__content-area--processing','copyButtonView','bind','addRange','wheel','ck-content','lastElementChild','execCommand','setContent','.ck-ai-form__loader','appendChild','clipboard','ck-reset_all-excluded','createElement','value','check','div','40GGXTjZ','appendLoader','8218728OCGPNW','4526652yFUkrr','5277890SsQfgN','\x20ck-ai-form__copy-button--copied','AI\x20is\x20writing...','isVisible','listenTo','1129751QqWuCN','scrollHeight','icon','ClipboardItem','write','_createLoader','setStartAfter','change:value','class','133449nGlHAX','render','setEndBefore','execute','absolute','scrollTo','8mKMTUW','-9999px','textContent','89774UiXBst','querySelector','style','left','locale','removeAllRanges','mousedown','set','isEnabled','position','76BJkeqs','copy','ck-ai-form__content-field','body','contentFieldView','bindTemplate','_createCopyButton'];_0x3505=function(){return _0x6b618;};return _0x3505();}import _0x5102ac from'../../../theme/icons/copy.svg';import{getTranslation as _0x398df8}from'../../utils/common-translations.js';import{icons as _0x5cf455}from'ckeditor5/src/core.js';export default class nt extends _0x177814{constructor(_0x114378,_0xe78808=''){const _0xdb2951=_0x7008;super(_0x114378),this[_0xdb2951(0xdf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x43fc80=this[_0xdb2951(0xe7)];this[_0xdb2951(0xe6)]=new ContentFieldView(_0x114378,_0xe78808),this[_0xdb2951(0xad)]=this[_0xdb2951(0xe8)](),this[_0xdb2951(0xf2)]({'tag':_0xdb2951(0xbc),'attributes':{'class':['ck',_0xdb2951(0xeb),_0x43fc80['if'](_0xdb2951(0xc4),_0xdb2951(0xab),_0x210b82=>!_0x210b82)],'tabindex':'-1'},'children':[{'tag':_0xdb2951(0xbc),'attributes':{'class':['ck',_0xdb2951(0xfa),_0x43fc80['if'](_0xdb2951(0xee),_0xdb2951(0xac))]},'children':[this[_0xdb2951(0xe6)],{'tag':_0xdb2951(0xbc),'attributes':{'class':['ck',_0xdb2951(0xea)]},'children':[this[_0xdb2951(0xad)]]}]}]});}[_0x4dbbe3(0xd0)](){const _0x1a3ffb=_0x4dbbe3;super[_0x1a3ffb(0xd0)](),this[_0x1a3ffb(0xba)]&&this[_0x1a3ffb(0xe6)][_0x1a3ffb(0xb4)](this[_0x1a3ffb(0xba)]);let _0xebec79=!0x1;this['on'](_0x1a3ffb(0xcd),(_0x1e415d,_0x5bd5e6,_0x8925d0)=>{const _0x429d43=_0x1a3ffb,_0x4d2c77=!this[_0x429d43(0xe6)][_0x429d43(0xfd)][_0x429d43(0xd9)](_0x429d43(0xb5));this[_0x429d43(0xe6)][_0x429d43(0xb4)](_0x8925d0),this[_0x429d43(0xee)]&&_0x4d2c77&&!_0xebec79&&this[_0x429d43(0xfd)][_0x429d43(0xd4)]({'top':this[_0x429d43(0xfd)][_0x429d43(0xc7)],'behavior':_0x429d43(0xf9)});}),this['on'](_0x1a3ffb(0xf5),(_0x91bae3,_0x1277b4,_0x571513)=>{const _0x19e39d=_0x1a3ffb;_0xebec79=!0x1,_0x571513?(this[_0x19e39d(0xba)]=null,this[_0x19e39d(0xe6)][_0x19e39d(0xbe)]()):this[_0x19e39d(0xba)]||this[_0x19e39d(0xe6)][_0x19e39d(0xb4)]('');}),this[_0x1a3ffb(0xc5)](this[_0x1a3ffb(0xfd)],_0x1a3ffb(0xb0),()=>{_0xebec79=!0x0;}),this[_0x1a3ffb(0xc5)](this[_0x1a3ffb(0xfd)],_0x1a3ffb(0xde),()=>{_0xebec79=!0x0;});}[_0x4dbbe3(0xf0)](){const _0x1e257c=_0x4dbbe3;this[_0x1e257c(0xfd)][_0x1e257c(0xf0)]();}[_0x4dbbe3(0xe8)](){const _0x3a8290=_0x4dbbe3,_0x400232=this[_0x3a8290(0xdc)],_0x1e20ce=new _0x176273(this[_0x3a8290(0xdc)]),_0x141d56=_0x3a8290(0xf6);return _0x1e20ce[_0x3a8290(0xdf)]({'label':_0x398df8(_0x400232,_0x3a8290(0xed)),'icon':_0x5102ac,'class':_0x141d56,'tooltip':!0x0}),_0x1e20ce[_0x3a8290(0xae)](_0x3a8290(0xc4))['to'](this,_0x3a8290(0xba),_0x6b4eed=>!!_0x6b4eed),_0x1e20ce[_0x3a8290(0xae)](_0x3a8290(0xe0))['to'](this,_0x3a8290(0xee),_0x350585=>!_0x350585),_0x1e20ce['on'](_0x3a8290(0xd2),()=>{const _0x59d685=_0x3a8290;this[_0x59d685(0xf4)](this[_0x59d685(0xe6)][_0x59d685(0xfd)]),_0x1e20ce[_0x59d685(0xc8)]=_0x5cf455[_0x59d685(0xbb)],_0x1e20ce[_0x59d685(0xce)]=_0x141d56+_0x59d685(0xc2),this[_0x59d685(0xf0)](),setTimeout(()=>{const _0x3a6e7c=_0x59d685;_0x1e20ce[_0x3a6e7c(0xc8)]=_0x5102ac,_0x1e20ce[_0x3a6e7c(0xce)]=_0x141d56;},0x3e8);}),_0x1e20ce;}[_0x4dbbe3(0xf4)](_0x13d1d4){const _0x541ccb=_0x4dbbe3,{window:_0x1b4c61,document:_0x5cf05d}=_0x5710e7;if(_0x1b4c61[_0x541ccb(0xc9)]){const {Blob:_0x2fab6c,ClipboardItem:_0x3e371b}=_0x1b4c61,_0x2836e1=[new _0x3e371b({'text/html':new _0x2fab6c([_0x13d1d4[_0x541ccb(0xfe)]],{'type':_0x541ccb(0xf8)}),'text/plain':new _0x2fab6c([_0x13d1d4[_0x541ccb(0xd7)]||''],{'type':_0x541ccb(0xaa)})})];navigator[_0x541ccb(0xb7)][_0x541ccb(0xca)](_0x2836e1);}else{const _0x474587=_0x5cf05d[_0x541ccb(0xb9)](_0x541ccb(0xbc));_0x474587[_0x541ccb(0xda)][_0x541ccb(0xe1)]=_0x541ccb(0xd3),_0x474587[_0x541ccb(0xda)][_0x541ccb(0xdb)]=_0x541ccb(0xd6),_0x474587[_0x541ccb(0xfe)]=_0x541ccb(0xe9)+_0x13d1d4[_0x541ccb(0xfe)]+_0x541ccb(0xf1),_0x5cf05d[_0x541ccb(0xe5)][_0x541ccb(0xb6)](_0x474587);const _0x3605f4=_0x5cf05d[_0x541ccb(0xa9)]();_0x3605f4[_0x541ccb(0xcc)](_0x474587[_0x541ccb(0xfc)]),_0x3605f4[_0x541ccb(0xd1)](_0x474587[_0x541ccb(0xb2)]);const _0x5ae7e1=_0x1b4c61[_0x541ccb(0xfb)]();_0x5ae7e1[_0x541ccb(0xdd)](),_0x5ae7e1[_0x541ccb(0xaf)](_0x3605f4),_0x5cf05d[_0x541ccb(0xb3)](_0x541ccb(0xe3)),_0x474587[_0x541ccb(0xf3)]();}}}export class ContentFieldView extends _0x177814{constructor(_0x5a9b94,_0x4272a5=''){const _0x6e944d=_0x4dbbe3;super(_0x5a9b94),this[_0x6e944d(0xef)]=this[_0x6e944d(0xcb)](),this[_0x6e944d(0xf2)]({'tag':_0x6e944d(0xbc),'attributes':{'class':['ck',_0x6e944d(0xb1),_0x4272a5,_0x6e944d(0xb8),_0x6e944d(0xe4)]}});}[_0x4dbbe3(0xb4)](_0x9a7949){const _0x1f9570=_0x4dbbe3;this[_0x1f9570(0xfd)][_0x1f9570(0xfe)]=_0x9a7949;}[_0x4dbbe3(0xbe)](){const _0x3f66fe=_0x4dbbe3;this[_0x3f66fe(0xfd)][_0x3f66fe(0xb6)](this[_0x3f66fe(0xef)][_0x3f66fe(0xfd)]);}[_0x4dbbe3(0xcb)](){const _0x495779=_0x4dbbe3,_0x4049e0=new _0x177814(),_0x5aa6cc=this[_0x495779(0xdc)],_0x206af2=new _0x30fef5();return _0x206af2[_0x495779(0xc4)]=!0x0,_0x4049e0[_0x495779(0xf2)]({'tag':_0x495779(0xbc),'attributes':{'class':['ck',_0x495779(0xf7)]},'children':[_0x206af2,{'text':_0x398df8(_0x5aa6cc,_0x495779(0xc3))}]}),_0x4049e0[_0x495779(0xd0)](),_0x4049e0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x274037,_0xf00dfb){const _0x3d6b93=_0x4d53,_0x1696a1=_0x274037();while(!![]){try{const _0x2f4ef5=parseInt(_0x3d6b93(0x97))/0x1*(-parseInt(_0x3d6b93(0x96))/0x2)+-parseInt(_0x3d6b93(0x90))/0x3*(parseInt(_0x3d6b93(0x99))/0x4)+parseInt(_0x3d6b93(0x9a))/0x5+parseInt(_0x3d6b93(0x8c))/0x6+-parseInt(_0x3d6b93(0x93))/0x7+parseInt(_0x3d6b93(0x94))/0x8+parseInt(_0x3d6b93(0x95))/0x9;if(_0x2f4ef5===_0xf00dfb)break;else _0x1696a1['push'](_0x1696a1['shift']());}catch(_0x3ee8dd){_0x1696a1['push'](_0x1696a1['shift']());}}}(_0x4c17,0xf38fd));function _0x4c17(){const _0x429335=['14836401JAWgWo','3010706mNQvpt','1guLqXX','content','20Mgpmei','7455930jYoMNl','text','3614394VgJtNe','set','div','ck-ai-form__error','925659aGdtuT','bindTemplate','setTemplate','5942503EXXIOI','9220816QpRiTc'];_0x4c17=function(){return _0x429335;};return _0x4c17();}function _0x4d53(_0x3e6654,_0x22f906){const _0x4c176b=_0x4c17();return _0x4d53=function(_0x4d538c,_0x5b17b5){_0x4d538c=_0x4d538c-0x8c;let _0x44d462=_0x4c176b[_0x4d538c];return _0x44d462;},_0x4d53(_0x3e6654,_0x22f906);}import{View as _0x3b89aa,IconView as _0x16e22e}from'ckeditor5/src/ui.js';import _0x3c0bc7 from'../../../theme/icons/error.svg';export default class mt extends _0x3b89aa{constructor(_0x1f8ffa,_0x4dee29=''){const _0xffb8f6=_0x4d53;super(_0x1f8ffa);const _0x7d8864=new _0x16e22e(),_0x194b4c=this[_0xffb8f6(0x91)];this[_0xffb8f6(0x8d)](_0xffb8f6(0x9b),_0x4dee29),_0x7d8864[_0xffb8f6(0x98)]=_0x3c0bc7,this[_0xffb8f6(0x92)]({'tag':_0xffb8f6(0x8e),'attributes':{'class':['ck',_0xffb8f6(0x8f)]},'children':[_0x7d8864,{'text':_0x194b4c['to'](_0xffb8f6(0x9b))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f301c=_0x3ed6;function _0x4718(){const _0x61a595=['History','_createShowHistoryButton','left','Submit','uiLanguageDirection','111790PgfPoA','isEmpty','requestAnimationFrame','submit','1530752HfqYZu','fieldWrapperChildren','focusableChildren','focusFirst','value','_createSubmitButton','fieldView','keystrokes','resultsView','369OZuYga','7rocjOH','submitButtonView','window','showHistoryButtonView','15AelgDL','set','focus','fire','maxRows','target','filteredView','62520FylPTP','focusLast','locale','render','children','9896183ZXxfFj','ck-ai-form__toggle-history','excludeScrollbarsAndBorders','style','right','width','997539UVxDlW','1277460KcKaNB','4NFPqie','isVisible','13ZIYkDg','ck-ai-form__submit','minRows','queryView','enter','update','bind','history','rtl','isEnabled','isOn','execute','22607YNsDAr','add','element','focusCycler','22DhlbTb'];_0x4718=function(){return _0x61a595;};return _0x4718();}function _0x3ed6(_0x34ab1c,_0x3515f0){const _0x471824=_0x4718();return _0x3ed6=function(_0x3ed62f,_0x4fa250){_0x3ed62f=_0x3ed62f-0x185;let _0x4f7a4f=_0x471824[_0x3ed62f];return _0x4f7a4f;},_0x3ed6(_0x34ab1c,_0x3515f0);}(function(_0x1c7e79,_0x5d0e83){const _0x45ba2f=_0x3ed6,_0x9ab0a4=_0x1c7e79();while(!![]){try{const _0x280da3=parseInt(_0x45ba2f(0x193))/0x1*(parseInt(_0x45ba2f(0x197))/0x2)+-parseInt(_0x45ba2f(0x1c1))/0x3*(-parseInt(_0x45ba2f(0x185))/0x4)+-parseInt(_0x45ba2f(0x1af))/0x5*(-parseInt(_0x45ba2f(0x1c2))/0x6)+-parseInt(_0x45ba2f(0x1ab))/0x7*(parseInt(_0x45ba2f(0x1a1))/0x8)+parseInt(_0x45ba2f(0x1aa))/0x9*(parseInt(_0x45ba2f(0x19d))/0xa)+-parseInt(_0x45ba2f(0x1bb))/0xb+-parseInt(_0x45ba2f(0x1b6))/0xc*(-parseInt(_0x45ba2f(0x187))/0xd);if(_0x280da3===_0x5d0e83)break;else _0x9ab0a4['push'](_0x9ab0a4['shift']());}catch(_0x52d890){_0x9ab0a4['push'](_0x9ab0a4['shift']());}}}(_0x4718,0x90a58));import{Rect as _0x4e8734,global as _0x3324b9,isVisible as _0x44ea54}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2d369a,ButtonView as _0x558d42}from'ckeditor5/src/ui.js';import{icons as _0x3d54be}from'ckeditor5/src/core.js';import{getTranslation as _0x3078c2}from'../../utils/common-translations.js';import _0x2266e3 from'../../../theme/icons/submit.svg';export default class pt extends _0x2d369a{constructor(_0x28aa8c,_0x2792a9){const _0x142f36=_0x3ed6;super(_0x28aa8c,_0x2792a9),this[_0x142f36(0x18a)][_0x142f36(0x1a7)][_0x142f36(0x189)]=0x1,this[_0x142f36(0x18a)][_0x142f36(0x1a7)][_0x142f36(0x1b3)]=0x3,this[_0x142f36(0x1ac)]=this[_0x142f36(0x1a6)](),this[_0x142f36(0x1ae)]=this[_0x142f36(0x199)](),this[_0x142f36(0x1a3)][_0x142f36(0x194)](this[_0x142f36(0x1ae)],0x1),this[_0x142f36(0x1a3)][_0x142f36(0x194)](this[_0x142f36(0x1ac)]);}[_0x5f301c(0x1b9)](){const _0x405446=_0x5f301c;super[_0x405446(0x1b9)](),this[_0x405446(0x18a)][_0x405446(0x1a2)][_0x405446(0x194)](this[_0x405446(0x1ae)]),this[_0x405446(0x1ba)][_0x405446(0x194)](this[_0x405446(0x1ac)]),this[_0x405446(0x1a8)][_0x405446(0x1b0)](_0x405446(0x18b),(_0x4d5101,_0x1e7021)=>{const _0x378d20=_0x405446;_0x4d5101[_0x378d20(0x1b4)]==this[_0x378d20(0x18a)][_0x378d20(0x1a7)][_0x378d20(0x195)]&&(this[_0x378d20(0x1a0)](),_0x1e7021());});}[_0x5f301c(0x1a6)](){const _0x2373ba=_0x5f301c,_0x26ed29=new _0x558d42(this[_0x2373ba(0x1b8)]),_0xe9169c=this[_0x2373ba(0x1b8)];return _0x26ed29[_0x2373ba(0x1b0)]({'icon':_0x2266e3,'label':_0x3078c2(_0xe9169c,_0x2373ba(0x19b)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2373ba(0x188)}),_0x26ed29['on'](_0x2373ba(0x192),()=>{const _0x42e5e9=_0x2373ba;this[_0x42e5e9(0x1a0)]();}),_0x26ed29[_0x2373ba(0x18d)](_0x2373ba(0x190))['to'](this[_0x2373ba(0x18a)][_0x2373ba(0x1a7)],_0x2373ba(0x19e),this,_0x2373ba(0x190),(_0x57b518,_0x2ae242)=>!_0x57b518&&_0x2ae242),_0x26ed29;}[_0x5f301c(0x199)](){const _0x1ca320=_0x5f301c,_0x4d2a6c=new _0x558d42(this[_0x1ca320(0x1b8)]),_0x28e007=this[_0x1ca320(0x1a9)],_0x230cbd=this[_0x1ca320(0x1b8)];_0x4d2a6c[_0x1ca320(0x1b0)]({'label':_0x3078c2(_0x230cbd,_0x1ca320(0x198)),'withText':!0x1,'icon':_0x3d54be[_0x1ca320(0x18e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1ca320(0x1bc)}),_0x4d2a6c[_0x1ca320(0x18d)](_0x1ca320(0x191))['to'](_0x28e007,_0x1ca320(0x186)),_0x4d2a6c[_0x1ca320(0x18d)](_0x1ca320(0x190))['to'](this,_0x1ca320(0x190)),_0x4d2a6c['on'](_0x1ca320(0x192),()=>{const _0x34b2b6=_0x1ca320;_0x28e007[_0x34b2b6(0x186)]=!_0x28e007[_0x34b2b6(0x186)],_0x28e007[_0x34b2b6(0x186)]?this[_0x34b2b6(0x1b5)][_0x34b2b6(0x1b1)]():this[_0x34b2b6(0x1b1)]();});const _0x2a2157=()=>{const _0x268b22=_0x1ca320;_0x3324b9[_0x268b22(0x1ad)][_0x268b22(0x19f)](()=>{const _0x5514af=_0x268b22;if(_0x44ea54(this[_0x5514af(0x195)])){const _0x19920e=new _0x4e8734(this[_0x5514af(0x18a)][_0x5514af(0x1a7)][_0x5514af(0x195)]),_0x48d7d3=_0x19920e[_0x5514af(0x1c0)],_0xe84c8a=_0x5514af(0x18f)===_0x230cbd[_0x5514af(0x19c)]?_0x5514af(0x19a):_0x5514af(0x1bf);_0x19920e[_0x5514af(0x1bd)](),_0x4d2a6c[_0x5514af(0x195)][_0x5514af(0x1be)][_0xe84c8a]=_0x48d7d3-_0x19920e[_0x5514af(0x1c0)]+0x1+'px';}});};return this[_0x1ca320(0x18a)][_0x1ca320(0x1a7)]['on'](_0x1ca320(0x18c),_0x2a2157),this['on'](_0x1ca320(0x1b9),_0x2a2157),_0x4d2a6c;}[_0x5f301c(0x1a0)](){const _0xba3020=_0x5f301c,_0x3fe409=this[_0xba3020(0x18a)][_0xba3020(0x1a7)][_0xba3020(0x195)][_0xba3020(0x1a5)];this[_0xba3020(0x1b2)](_0xba3020(0x1a0),_0x3fe409);}[_0x5f301c(0x1b1)](_0xac808b){const _0x2aa831=_0x5f301c;-0x1===_0xac808b?this[_0x2aa831(0x196)][_0x2aa831(0x1b7)]():this[_0x2aa831(0x196)][_0x2aa831(0x1a4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x137e5f=_0x3041;function _0x292e(){const _0x31a5c6=['8120NbDHTD','replace','13241180BOowRB','stopButton','tryAgainButton','ck-ai-form__toolbar','REPLACE','label','insertButton','2000046ECcsCq','315060RZDsBj','1462749ksKUkz','replaceButton','items','addMany','bind','set','7GgAPze','631140EuDvtD','mainAction','ck-button-action','_createButton','AI_','_CONTENT','isVisible','bindTemplate','Stop','Try\x20again','extendTemplate','toUpperCase','insert','570845oryBYQ','ck-hidden','4YrrLWK','Insert\x20below','locale','6606eaVvFm'];_0x292e=function(){return _0x31a5c6;};return _0x292e();}(function(_0x4b72a6,_0x3dba6b){const _0x1cf186=_0x3041,_0x3e78ff=_0x4b72a6();while(!![]){try{const _0x15ef6a=parseInt(_0x1cf186(0x10e))/0x1+parseInt(_0x1cf186(0x12b))/0x2+parseInt(_0x1cf186(0x107))/0x3*(parseInt(_0x1cf186(0x11d))/0x4)+parseInt(_0x1cf186(0x11b))/0x5+parseInt(_0x1cf186(0x12a))/0x6*(-parseInt(_0x1cf186(0x10d))/0x7)+-parseInt(_0x1cf186(0x121))/0x8*(-parseInt(_0x1cf186(0x120))/0x9)+-parseInt(_0x1cf186(0x123))/0xa;if(_0x15ef6a===_0x3dba6b)break;else _0x3e78ff['push'](_0x3e78ff['shift']());}catch(_0x2b285f){_0x3e78ff['push'](_0x3e78ff['shift']());}}}(_0x292e,0x74b15));import{ToolbarView as _0x5de1ba,ButtonView as _0x418c4a}from'ckeditor5/src/ui.js';function _0x3041(_0x2d4825,_0x89bac8){const _0x292e30=_0x292e();return _0x3041=function(_0x304118,_0x2e5665){_0x304118=_0x304118-0x107;let _0x493635=_0x292e30[_0x304118];return _0x493635;},_0x3041(_0x2d4825,_0x89bac8);}import{getTranslation as _0x35797a}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x137e5f(0x122),'INSERT':_0x137e5f(0x11a)};export default class Tt extends _0x5de1ba{constructor(_0x372017){const _0x9f7132=_0x137e5f;super(_0x372017),this[_0x9f7132(0x10c)](_0x9f7132(0x114),!0x1),this[_0x9f7132(0x10c)](_0x9f7132(0x10f),AIFormToolbarViewMainActionLabel[_0x9f7132(0x127)]),this[_0x9f7132(0x108)]=this[_0x9f7132(0x111)]('',_0x9f7132(0x110)),this[_0x9f7132(0x108)][_0x9f7132(0x10b)](_0x9f7132(0x128))['to'](this,_0x9f7132(0x10f),_0x14d5da=>_0x35797a(_0x372017,_0x9f7132(0x112)+_0x14d5da[_0x9f7132(0x119)]()+_0x9f7132(0x113))),this[_0x9f7132(0x129)]=this[_0x9f7132(0x111)](_0x35797a(_0x372017,_0x9f7132(0x11e))),this[_0x9f7132(0x125)]=this[_0x9f7132(0x111)](_0x35797a(_0x372017,_0x9f7132(0x117))),this[_0x9f7132(0x124)]=this[_0x9f7132(0x111)](_0x35797a(_0x372017,_0x9f7132(0x116)));const _0x3d0245=this[_0x9f7132(0x115)];this[_0x9f7132(0x118)]({'attributes':{'class':[_0x9f7132(0x126),_0x3d0245['if'](_0x9f7132(0x114),_0x9f7132(0x11c),_0x1cdf7d=>!_0x1cdf7d)]}}),this[_0x9f7132(0x109)][_0x9f7132(0x10a)]([this[_0x9f7132(0x108)],this[_0x9f7132(0x129)],this[_0x9f7132(0x125)],this[_0x9f7132(0x124)]]);}[_0x137e5f(0x111)](_0x2570a0,_0x4ad43e){const _0x4fa236=_0x137e5f,_0x46232f=new _0x418c4a(this[_0x4fa236(0x11f)]);return _0x46232f[_0x4fa236(0x10c)]({'label':_0x2570a0,'class':_0x4ad43e||'','isVisible':!0x0,'withText':!0x0}),_0x46232f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbe0686=_0x51b1;(function(_0x16a7b0,_0x3eb89f){const _0x57dfd8=_0x51b1,_0x4a0626=_0x16a7b0();while(!![]){try{const _0xb5b598=parseInt(_0x57dfd8(0x20c))/0x1+parseInt(_0x57dfd8(0x1e5))/0x2*(-parseInt(_0x57dfd8(0x1f1))/0x3)+-parseInt(_0x57dfd8(0x1d4))/0x4+parseInt(_0x57dfd8(0x1e0))/0x5*(parseInt(_0x57dfd8(0x1ff))/0x6)+parseInt(_0x57dfd8(0x20a))/0x7+parseInt(_0x57dfd8(0x227))/0x8+-parseInt(_0x57dfd8(0x20e))/0x9;if(_0xb5b598===_0x3eb89f)break;else _0x4a0626['push'](_0x4a0626['shift']());}catch(_0x2a6514){_0x4a0626['push'](_0x4a0626['shift']());}}}(_0x3b57,0x50a69));import{FocusTracker as _0x92536c,KeystrokeHandler as _0x4d588e}from'ckeditor5/src/utils.js';import{View as _0x5965ca,FocusCycler as _0x2387d4,createLabeledTextarea as _0x2f3659}from'ckeditor5/src/ui.js';import _0x2124d6,{AIFormToolbarViewMainActionLabel as _0x5166f9}from'./aiformtoolbarview.js';import _0x579eec from'./aiformcontentarea.js';function _0x51b1(_0x3ca4aa,_0x4e9967){const _0x3b57ac=_0x3b57();return _0x51b1=function(_0x51b16a,_0xa5016d){_0x51b16a=_0x51b16a-0x1d3;let _0x4e5d9b=_0x3b57ac[_0x51b16a];return _0x4e5d9b;},_0x51b1(_0x3ca4aa,_0x4e9967);}import _0x213ea9 from'./aiformerrorview.js';import _0x5a64d7 from'./aiformpromptview.js';import _0x596d6a from'./aihistorylistview.js';import _0x5047d1 from'./aihistorylistitemview.js';function _0x3b57(){const _0x49ef6c=['isEnabled','_createHistoryView','95tFwgdu','tryAgainEvent','toolbar','focusNext','setTemplate','120966kkAgmR','focus','createCollection','errorView','contentArea','handleError','stop','insertButton','replaceContent','render','label','tab','21ypMXqM','value','ck-ai-form','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','submitPrompt','isVisible','tryAgainButton','_createToolbar','element','trim','Ask\x20AI\x20to\x20edit\x20or\x20generate','div','insertContentBelow','108114eXYNsn','finishProcessing','delegate','Empty\x20history','focusPrevious','copyButtonView','items','execute','stopButton','mainAction','high','2380427RWARLd','_createPromptView','99636qEcFmj','backwardCycle','243693ERIzyu','bind','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','promptView','AI_ERROR_FAILED','listenTo','prompt','focusFirst','text','set','clearHistory','ck-ai-form-content','search','replaceButton','_focusables','historyGroupView','focusTracker','submit','isError','stopProcessing','keystrokes','focusCycler','REPLACE','bindTemplate','shift\x20+\x20tab','1729920EcPBag','_promptHistory','isProcessing','startProcessing','clear','869980yZoslG','ck-hidden','fieldView','add','queryView','locale','forwardCycle','bindTo','reset','fire'];_0x3b57=function(){return _0x49ef6c;};return _0x3b57();}import _0x5296f4 from'./prompthistory.js';import{getTranslation as _0x124730}from'../../utils/common-translations.js';import{escape as _0x17273c}from'lodash-es';export default class x extends _0x5965ca{constructor(_0x184da9,_0x5a0722,_0x574359=''){const _0x306a2b=_0x51b1;super(_0x184da9),this[_0x306a2b(0x217)](_0x306a2b(0x1de),!0x0),this[_0x306a2b(0x217)](_0x306a2b(0x229),!0x1),this[_0x306a2b(0x217)](_0x306a2b(0x214),''),this[_0x306a2b(0x217)](_0x306a2b(0x1f2),''),this[_0x306a2b(0x217)](_0x306a2b(0x220),!0x1),this[_0x306a2b(0x217)](_0x306a2b(0x208),_0x5166f9[_0x306a2b(0x224)]),this[_0x306a2b(0x228)]=new _0x5296f4(),this[_0x306a2b(0x1e8)]=new _0x213ea9(_0x184da9),this[_0x306a2b(0x1e9)]=new _0x579eec(_0x184da9,_0x574359),this[_0x306a2b(0x1e9)][_0x306a2b(0x20f)](_0x306a2b(0x229))['to'](this),this[_0x306a2b(0x1e9)][_0x306a2b(0x20f)](_0x306a2b(0x1f2))['to'](this),this[_0x306a2b(0x1e2)]=this[_0x306a2b(0x1f9)](),this[_0x306a2b(0x1e2)][_0x306a2b(0x20f)](_0x306a2b(0x208))['to'](this),this[_0x306a2b(0x211)]=this[_0x306a2b(0x20b)](),this[_0x306a2b(0x21e)]=new _0x92536c(),this[_0x306a2b(0x222)]=new _0x4d588e(),this[_0x306a2b(0x21c)]=this[_0x306a2b(0x1e7)]([this[_0x306a2b(0x1e9)],this[_0x306a2b(0x1e9)][_0x306a2b(0x204)],this[_0x306a2b(0x1e2)],this[_0x306a2b(0x211)]]),this[_0x306a2b(0x223)]=new _0x2387d4({'focusables':this[_0x306a2b(0x21c)],'focusTracker':this[_0x306a2b(0x21e)],'keystrokeHandler':this[_0x306a2b(0x222)],'actions':{'focusPrevious':_0x306a2b(0x226),'focusNext':_0x306a2b(0x1f0)}}),this[_0x306a2b(0x211)][_0x306a2b(0x223)]['on'](_0x306a2b(0x1da),_0x444a01=>{const _0x5b63f6=_0x306a2b;this[_0x5b63f6(0x223)][_0x5b63f6(0x1e3)](),_0x444a01[_0x5b63f6(0x1eb)]();}),this[_0x306a2b(0x211)][_0x306a2b(0x223)]['on'](_0x306a2b(0x20d),_0x298f4a=>{const _0x28f6d9=_0x306a2b;this[_0x28f6d9(0x223)][_0x28f6d9(0x203)](),_0x298f4a[_0x28f6d9(0x1eb)]();}),this[_0x306a2b(0x211)][_0x306a2b(0x1d8)][_0x306a2b(0x1d6)][_0x306a2b(0x20f)](_0x306a2b(0x1f2))['to'](this,_0x306a2b(0x214));const _0x598032=this[_0x306a2b(0x225)];this[_0x306a2b(0x1e4)]({'tag':_0x306a2b(0x1fd),'attributes':{'class':['ck',_0x306a2b(0x1f3),_0x5a0722],'tabindex':'-1'},'children':[{'tag':_0x306a2b(0x1fd),'attributes':{'class':['ck',_0x306a2b(0x219)]},'children':[{'tag':_0x306a2b(0x1fd),'attributes':{'class':[_0x598032['if'](_0x306a2b(0x220),_0x306a2b(0x1d5),_0x51b0=>!_0x51b0)]},'children':[this[_0x306a2b(0x1e8)]]},this[_0x306a2b(0x1e9)],this[_0x306a2b(0x1e2)],this[_0x306a2b(0x211)]]}]});}[_0xbe0686(0x1ee)](){const _0x5487fd=_0xbe0686;super[_0x5487fd(0x1ee)](),this[_0x5487fd(0x21e)][_0x5487fd(0x1d7)](this[_0x5487fd(0x1e9)][_0x5487fd(0x1fa)]),this[_0x5487fd(0x21e)][_0x5487fd(0x1d7)](this[_0x5487fd(0x1e9)][_0x5487fd(0x204)][_0x5487fd(0x1fa)]),this[_0x5487fd(0x21e)][_0x5487fd(0x1d7)](this[_0x5487fd(0x1e2)][_0x5487fd(0x1fa)]),this[_0x5487fd(0x21e)][_0x5487fd(0x1d7)](this[_0x5487fd(0x211)][_0x5487fd(0x1fa)]),this[_0x5487fd(0x222)][_0x5487fd(0x213)](this[_0x5487fd(0x1fa)]);}[_0xbe0686(0x1e6)](_0x199123=0x1){const _0x29c20f=_0xbe0686;-0x1===_0x199123?this[_0x29c20f(0x223)][_0x29c20f(0x1f4)]():this[_0x29c20f(0x223)][_0x29c20f(0x215)]();}[_0xbe0686(0x1dc)](){const _0x10781d=_0xbe0686;this[_0x10781d(0x214)]='',this[_0x10781d(0x1f2)]='',this[_0x10781d(0x220)]=!0x1,this[_0x10781d(0x211)][_0x10781d(0x1dc)](),this[_0x10781d(0x1e9)][_0x10781d(0x1f7)]=!0x1,this[_0x10781d(0x1e2)][_0x10781d(0x1f7)]=!0x1;}[_0xbe0686(0x20b)](){const _0xc9e39e=_0xbe0686,_0x3736aa=this[_0xc9e39e(0x1d9)],_0x17923f=new _0x5a64d7(_0x3736aa,{'queryView':{'label':_0x124730(_0x3736aa,_0xc9e39e(0x1fc)),'creator':_0x2f3659,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x124730(_0x3736aa,_0xc9e39e(0x202)),'secondary':_0x124730(_0x3736aa,_0xc9e39e(0x210))}}},'filteredView':this[_0xc9e39e(0x1df)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x17923f[_0xc9e39e(0x20f)](_0xc9e39e(0x1de))['to'](this,_0xc9e39e(0x1de),this,_0xc9e39e(0x229),(_0x447db0,_0x227241)=>_0x447db0&&!_0x227241),this[_0xc9e39e(0x213)](_0x17923f,_0xc9e39e(0x21f),(_0x4b462b,_0x23accf)=>{const _0x3d5dc8=_0xc9e39e;this[_0x3d5dc8(0x214)]=_0x23accf;const _0x292293=_0x17273c(_0x23accf);this[_0x3d5dc8(0x1dd)](_0x3d5dc8(0x1f6),_0x292293),_0x23accf[_0x3d5dc8(0x1fb)]()&&this[_0x3d5dc8(0x228)][_0x3d5dc8(0x1d7)]({'prompt':_0x292293},0x0);},{'priority':_0xc9e39e(0x209)}),_0x17923f;}[_0xbe0686(0x1df)](){const _0xb5d623=_0xbe0686,_0x31a4be=new _0x596d6a(this[_0xb5d623(0x1d9)]);return _0x31a4be[_0xb5d623(0x21d)][_0xb5d623(0x205)][_0xb5d623(0x1db)](this[_0xb5d623(0x228)])['as'](_0x5047d1),_0x31a4be['on'](_0xb5d623(0x218),()=>{const _0x3b9a81=_0xb5d623;this[_0x3b9a81(0x228)][_0x3b9a81(0x1d3)](),this[_0x3b9a81(0x211)][_0x3b9a81(0x21a)](''),this[_0x3b9a81(0x211)][_0x3b9a81(0x1e6)]();}),_0x31a4be;}[_0xbe0686(0x1f9)](){const _0x268746=_0xbe0686,_0x5dcf8a=new _0x2124d6(this[_0x268746(0x1d9)]);return _0x5dcf8a[_0x268746(0x21b)][_0x268746(0x20f)](_0x268746(0x1de))['to'](this,_0x268746(0x1de),this,_0x268746(0x229),this,_0x268746(0x1f2),(_0x5b7993,_0x4ff78d,_0x21d78b)=>_0x5b7993&&!_0x4ff78d&&!!_0x21d78b),_0x5dcf8a[_0x268746(0x21b)][_0x268746(0x201)](_0x268746(0x206))['to'](this,_0x268746(0x1ed)),_0x5dcf8a[_0x268746(0x1ec)][_0x268746(0x20f)](_0x268746(0x1de))['to'](this,_0x268746(0x1de),this,_0x268746(0x229),this,_0x268746(0x1f2),(_0xabaffa,_0x1e0cd4,_0x252628)=>_0xabaffa&&!_0x1e0cd4&&!!_0x252628),_0x5dcf8a[_0x268746(0x1ec)][_0x268746(0x201)](_0x268746(0x206))['to'](this,_0x268746(0x1fe)),_0x5dcf8a[_0x268746(0x1f8)][_0x268746(0x20f)](_0x268746(0x1de))['to'](this,_0x268746(0x1de),this,_0x268746(0x229),(_0x5232a2,_0x192500)=>_0x5232a2&&!_0x192500),_0x5dcf8a[_0x268746(0x1f8)][_0x268746(0x201)](_0x268746(0x206))['to'](this,_0x268746(0x1e1)),_0x5dcf8a[_0x268746(0x207)][_0x268746(0x20f)](_0x268746(0x1de))['to'](this,_0x268746(0x229)),_0x5dcf8a[_0x268746(0x207)][_0x268746(0x201)](_0x268746(0x206))['to'](this,_0x268746(0x221)),_0x5dcf8a;}[_0xbe0686(0x22a)](){const _0x11b7c6=_0xbe0686;this[_0x11b7c6(0x1f2)]='',this[_0x11b7c6(0x220)]=!0x1,this[_0x11b7c6(0x229)]=!0x0,this[_0x11b7c6(0x1e9)][_0x11b7c6(0x1f7)]=!0x0,this[_0x11b7c6(0x1e2)][_0x11b7c6(0x1f7)]=!0x0,this[_0x11b7c6(0x1e9)][_0x11b7c6(0x1e6)]();}[_0xbe0686(0x200)](){const _0x29022f=_0xbe0686,_0xddb7ca=this[_0x29022f(0x1d9)];this[_0x29022f(0x229)]=!0x1,this[_0x29022f(0x214)]='',this[_0x29022f(0x211)][_0x29022f(0x1dc)](),this[_0x29022f(0x1f2)]&&(this[_0x29022f(0x211)][_0x29022f(0x1d8)][_0x29022f(0x1ef)]=_0x124730(_0xddb7ca,_0x29022f(0x1f5)));}[_0xbe0686(0x1ea)](_0x11f584){const _0x7765d4=_0xbe0686,_0x375fa9=this[_0x7765d4(0x1d9)];this[_0x7765d4(0x200)](),this[_0x7765d4(0x220)]=!0x0,this[_0x7765d4(0x1e8)][_0x7765d4(0x216)]=_0x11f584||_0x124730(_0x375fa9,_0x7765d4(0x212)),this[_0x7765d4(0x1f2)]||(this[_0x7765d4(0x1e9)][_0x7765d4(0x1f7)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x28e0f2,_0x53a4e7){const _0x38325e=_0x5e03,_0x531b13=_0x28e0f2();while(!![]){try{const _0x1f93f5=-parseInt(_0x38325e(0x93))/0x1+parseInt(_0x38325e(0x96))/0x2*(parseInt(_0x38325e(0x9d))/0x3)+parseInt(_0x38325e(0x9b))/0x4*(parseInt(_0x38325e(0x8c))/0x5)+-parseInt(_0x38325e(0x91))/0x6*(parseInt(_0x38325e(0x98))/0x7)+-parseInt(_0x38325e(0x9a))/0x8+parseInt(_0x38325e(0x90))/0x9+parseInt(_0x38325e(0x8d))/0xa*(parseInt(_0x38325e(0x92))/0xb);if(_0x1f93f5===_0x53a4e7)break;else _0x531b13['push'](_0x531b13['shift']());}catch(_0x421d85){_0x531b13['push'](_0x531b13['shift']());}}}(_0x1b74,0xde9ec));function _0x5e03(_0x4ad063,_0x18c286){const _0x1b7497=_0x1b74();return _0x5e03=function(_0x5e0396,_0x2c5188){_0x5e0396=_0x5e0396-0x8c;let _0x39a706=_0x1b7497[_0x5e0396];return _0x39a706;},_0x5e03(_0x4ad063,_0x18c286);}import{ListItemView as _0x42a915,ButtonView as _0x808aef}from'ckeditor5/src/ui.js';import _0x3a70df from'../dropdown/buttonlabelwithhighlightview.js';function _0x1b74(){const _0x4eccd8=['8485dAVNVZ','20NEoPLp','fire','add','3413349ALmUrI','174jDbVKD','12232594jEfHeM','1195696HAGenm','execute','children','1453950QSHoSV','prompt','158228TkdZZh','locale','9683544qABeiV','1516zDVczC','set','3TKBpXm'];_0x1b74=function(){return _0x4eccd8;};return _0x1b74();}import{unescape as _0x5a6fde}from'lodash-es';export default class hs extends _0x42a915{constructor(_0x18f6a7){const _0x408cd6=_0x5e03;super();const _0x2b3012=new _0x3a70df(),_0x450dbb=new _0x808aef(this[_0x408cd6(0x99)],_0x2b3012);this[_0x408cd6(0x95)][_0x408cd6(0x8f)](_0x450dbb),_0x450dbb[_0x408cd6(0x9c)]({'label':_0x18f6a7[_0x408cd6(0x97)],'withText':!0x0}),_0x450dbb['on'](_0x408cd6(0x94),()=>{const _0x411a07=_0x408cd6;this[_0x411a07(0x8e)](_0x411a07(0x94),{'value':_0x5a6fde(_0x18f6a7[_0x411a07(0x97)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x528cb3=_0x3c59;(function(_0x5b3c02,_0x145bb8){const _0x341c61=_0x3c59,_0x230c7b=_0x5b3c02();while(!![]){try{const _0x7f699f=-parseInt(_0x341c61(0x19f))/0x1+-parseInt(_0x341c61(0x198))/0x2+parseInt(_0x341c61(0x19b))/0x3*(parseInt(_0x341c61(0x1a3))/0x4)+-parseInt(_0x341c61(0x1a6))/0x5*(-parseInt(_0x341c61(0x192))/0x6)+-parseInt(_0x341c61(0x1a2))/0x7*(parseInt(_0x341c61(0x195))/0x8)+-parseInt(_0x341c61(0x1a7))/0x9+parseInt(_0x341c61(0x19c))/0xa;if(_0x7f699f===_0x145bb8)break;else _0x230c7b['push'](_0x230c7b['shift']());}catch(_0x1d6517){_0x230c7b['push'](_0x230c7b['shift']());}}}(_0x9481,0x5431b));import{ListView as _0xe2bdde,ListItemGroupView as _0x2246e4,ButtonView as _0x532dbf}from'ckeditor5/src/ui.js';import{getTranslation as _0x2fd188}from'../../utils/common-translations.js';export default class rs extends _0xe2bdde{constructor(_0x41daa3){const _0x43cdc6=_0x3c59;super(_0x41daa3),this[_0x43cdc6(0x19a)]=this[_0x43cdc6(0x196)](),this[_0x43cdc6(0x19d)]=new _0x2246e4(),this[_0x43cdc6(0x19d)][_0x43cdc6(0x191)][_0x43cdc6(0x1a8)](this[_0x43cdc6(0x19a)],0x1),this[_0x43cdc6(0x19d)][_0x43cdc6(0x194)]=_0x2fd188(_0x41daa3,_0x43cdc6(0x1ab)),this[_0x43cdc6(0x19d)][_0x43cdc6(0x1aa)][_0x43cdc6(0x193)](_0x43cdc6(0x199))['to'](this),this[_0x43cdc6(0x1aa)][_0x43cdc6(0x1a8)](this[_0x43cdc6(0x19d)]);}[_0x528cb3(0x1a5)](){const _0x397ac7=_0x528cb3;let _0x161664=0x0;for(const _0x3d4905 of this[_0x397ac7(0x1aa)])_0x161664+=_0x3d4905[_0x397ac7(0x1aa)][_0x397ac7(0x19e)];return{'resultsCount':_0x161664,'totalItemsCount':_0x161664};}[_0x528cb3(0x196)](){const _0x3583c3=_0x528cb3,_0x126669=this[_0x3583c3(0x1a0)],_0x5d5aae=new _0x532dbf(this[_0x3583c3(0x1a0)]);return _0x5d5aae[_0x3583c3(0x1a9)]({'label':'('+_0x2fd188(_0x126669,_0x3583c3(0x1a4))+')','withText':!0x0}),_0x5d5aae['on'](_0x3583c3(0x199),()=>this[_0x3583c3(0x1a1)](_0x3583c3(0x197))),_0x5d5aae;}}function _0x3c59(_0x273968,_0x344df2){const _0x94816e=_0x9481();return _0x3c59=function(_0x3c597f,_0x2a1d68){_0x3c597f=_0x3c597f-0x191;let _0x464255=_0x94816e[_0x3c597f];return _0x464255;},_0x3c59(_0x273968,_0x344df2);}function _0x9481(){const _0x46cc29=['clearHistoryButton','1726251MULJVK','3659650AJlyEq','historyGroupView','length','430557zVFjSe','locale','fire','77LqyfzT','4sGNDjj','Clear','filter','5otxLyP','4049685sVclHz','add','set','items','Prompt\x20history','children','2836014Whrndn','delegate','label','116392DEBaAR','_createClearHistoryButton','clearHistory','57262oHOZOd','execute'];_0x9481=function(){return _0x46cc29;};return _0x9481();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d1d59=_0x4dad;(function(_0x3bdbec,_0x116e0e){const _0x5dae0a=_0x4dad,_0x8687fa=_0x3bdbec();while(!![]){try{const _0x2313a9=parseInt(_0x5dae0a(0x111))/0x1*(parseInt(_0x5dae0a(0xf8))/0x2)+-parseInt(_0x5dae0a(0x106))/0x3+-parseInt(_0x5dae0a(0xfa))/0x4*(parseInt(_0x5dae0a(0x109))/0x5)+-parseInt(_0x5dae0a(0x10b))/0x6+parseInt(_0x5dae0a(0x10d))/0x7*(-parseInt(_0x5dae0a(0x10a))/0x8)+parseInt(_0x5dae0a(0x105))/0x9+parseInt(_0x5dae0a(0x100))/0xa*(parseInt(_0x5dae0a(0x104))/0xb);if(_0x2313a9===_0x116e0e)break;else _0x8687fa['push'](_0x8687fa['shift']());}catch(_0x154e18){_0x8687fa['push'](_0x8687fa['shift']());}}}(_0x419e,0xdbbb0));import{Collection as _0x6a5aa9}from'ckeditor5/src/utils.js';function _0x419e(){const _0x18d878=['length','16sOWwVW','stringify','36538GMTnCd','prompt','398936dQEKwz','_saveToSessionStorage','_loadFromSessionStorage','trim','parse','toLowerCase','936860ZzmJrn','add','last','addMany','143mTTsqA','8132877oGJkKB','355914cIzQDo','map','setItem','50zqlPgl','210592NEXpUj','2229342JifVeI','getItem','7jGVZrs','CKEditor/AIFormView/PromptHistory','remove'];_0x419e=function(){return _0x18d878;};return _0x419e();}const cs=_0x2d1d59(0x10e);function _0x4dad(_0x4f514c,_0x3aa889){const _0x419ef5=_0x419e();return _0x4dad=function(_0x4dad0e,_0x1c15db){_0x4dad0e=_0x4dad0e-0xf7;let _0x2776e5=_0x419ef5[_0x4dad0e];return _0x2776e5;},_0x4dad(_0x4f514c,_0x3aa889);}export default class os extends _0x6a5aa9{constructor(){const _0x4a6386=_0x2d1d59;super(),this[_0x4a6386(0xfc)](),this['on'](_0x4a6386(0x101),(_0x59677d,_0x7f1bbc)=>{const _0x2ecdcc=_0x4a6386,_0x2a4981=Ss(_0x7f1bbc[_0x2ecdcc(0xf9)]);for(const _0x4b0d04 of this)if(_0x4b0d04!=_0x7f1bbc&&Ss(_0x4b0d04[_0x2ecdcc(0xf9)])===_0x2a4981){this[_0x2ecdcc(0x10f)](_0x4b0d04);break;}this[_0x2ecdcc(0x110)]>0x14&&this[_0x2ecdcc(0x10f)](this[_0x2ecdcc(0x102)]),this[_0x2ecdcc(0xfb)]();}),this['on'](_0x4a6386(0x10f),()=>{const _0x1d6f60=_0x4a6386;this[_0x1d6f60(0xfb)]();});}[_0x2d1d59(0xfc)](){const _0x30b34c=_0x2d1d59,_0x55cbf8=sessionStorage[_0x30b34c(0x10c)](cs)||'[]';this[_0x30b34c(0x103)](JSON[_0x30b34c(0xfe)](_0x55cbf8));}[_0x2d1d59(0xfb)](){const _0x52fda4=_0x2d1d59;sessionStorage[_0x52fda4(0x108)](cs,JSON[_0x52fda4(0xf7)](this[_0x52fda4(0x107)](_0x1c2de0=>_0x1c2de0)));}}function Ss(_0x3e17be){const _0x264021=_0x2d1d59;return _0x3e17be[_0x264021(0xff)]()[_0x264021(0xfd)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52f8ba=_0x4585;(function(_0x50b639,_0x31630b){const _0x529359=_0x4585,_0x3af6f5=_0x50b639();while(!![]){try{const _0x3f0eba=-parseInt(_0x529359(0x162))/0x1+parseInt(_0x529359(0x178))/0x2+-parseInt(_0x529359(0x164))/0x3*(parseInt(_0x529359(0x169))/0x4)+parseInt(_0x529359(0x157))/0x5*(-parseInt(_0x529359(0x175))/0x6)+-parseInt(_0x529359(0x180))/0x7*(-parseInt(_0x529359(0x155))/0x8)+-parseInt(_0x529359(0x15b))/0x9*(parseInt(_0x529359(0x171))/0xa)+parseInt(_0x529359(0x16c))/0xb;if(_0x3f0eba===_0x31630b)break;else _0x3af6f5['push'](_0x3af6f5['shift']());}catch(_0x266cea){_0x3af6f5['push'](_0x3af6f5['shift']());}}}(_0x16c3,0xd6968));import{Command as _0x49e9b3}from'ckeditor5/src/core.js';import _0x420da8 from'../aiassistantui.js';function _0x16c3(){const _0x27e493=['isCollapsed','751112sBLSCy','isEnabled','custom','30707908GfqdfI','ai.aiAssistant.disabledElements','set','hasContent','change:_hasContext','370fphlIn','reduce','includes','getFirstRange','732174FOsvbt','_hasContext','get','3236860fWkxuu','execute','isEmpty','add','config','name','refresh','concat','73360waQtnw','enabledCommandsIds','element','getItems','64TuTvmw','requiresContent','5XcitIk','from','getRanges','length','358191NWAowg','plugins','getSelectedBlocks','showUI','model','_commandDefinitions','commands','705908DWoxof','selection','21OWHaTj','editor','change:isEnabled','document'];_0x16c3=function(){return _0x27e493;};return _0x16c3();}export default class j extends _0x49e9b3{constructor(_0x4af4f0,_0x369924){const _0x1be05a=_0x4585;super(_0x4af4f0),this[_0x1be05a(0x160)]=_0x369924?_0x369924[_0x1be05a(0x172)]((_0x3152b2,_0x4d34cb)=>_0x3152b2[_0x1be05a(0x17f)](_0x4d34cb[_0x1be05a(0x161)]),new Array()):[],this[_0x1be05a(0x16e)](_0x1be05a(0x181),[]),this['on'](_0x1be05a(0x170),(_0x1e788e,_0x4587ea,_0x102b58)=>{const _0x28554d=_0x1be05a;this[_0x28554d(0x16a)]&&(this[_0x28554d(0x181)]=K(this[_0x28554d(0x160)],_0x102b58));}),this[_0x1be05a(0x16e)](_0x1be05a(0x176),!0x1),this['on'](_0x1be05a(0x166),(_0x3da167,_0x4e6000,_0x23c89c)=>{const _0x27961b=_0x1be05a;this[_0x27961b(0x181)]=_0x23c89c?K(this[_0x27961b(0x160)],this[_0x27961b(0x176)]):[];});}[_0x52f8ba(0x17e)](){const _0x320d64=_0x52f8ba,_0x11cce7=this[_0x320d64(0x165)][_0x320d64(0x15f)];this[_0x320d64(0x176)]=function(_0x969976){const _0x6455f7=_0x320d64,_0x47eb9c=_0x969976[_0x6455f7(0x167)][_0x6455f7(0x163)];return _0x47eb9c[_0x6455f7(0x168)]?0x0!==[..._0x47eb9c[_0x6455f7(0x15d)]()][_0x6455f7(0x15a)]&&![..._0x47eb9c[_0x6455f7(0x15d)]()][0x0][_0x6455f7(0x17a)]:!!_0x969976[_0x6455f7(0x16f)](_0x47eb9c[_0x6455f7(0x174)]());}(_0x11cce7);const _0x37d21a=_0x11cce7[_0x320d64(0x167)][_0x320d64(0x163)],_0x51af23=this[_0x320d64(0x165)][_0x320d64(0x17c)][_0x320d64(0x177)](_0x320d64(0x16d));for(const _0x6f878a of _0x37d21a[_0x320d64(0x159)]())for(const _0x148d5e of _0x6f878a[_0x320d64(0x183)]())if(_0x148d5e['is'](_0x320d64(0x182))&&_0x51af23[_0x320d64(0x173)](_0x148d5e[_0x320d64(0x17d)]))return void(this[_0x320d64(0x16a)]=!0x1);this[_0x320d64(0x16a)]=!0x0;}[_0x52f8ba(0x179)](_0x3dd36a='',_0x3a0819='',_0x423af8=_0x52f8ba(0x16b)){const _0x852ffa=_0x52f8ba;this[_0x852ffa(0x165)][_0x852ffa(0x15c)][_0x852ffa(0x177)](_0x420da8)[_0x852ffa(0x15e)](_0x3dd36a,_0x3a0819,_0x423af8);}}function _0x4585(_0x29d1d4,_0x488238){const _0x16c3f9=_0x16c3();return _0x4585=function(_0x45850e,_0x15e4f4){_0x45850e=_0x45850e-0x155;let _0x54acf4=_0x16c3f9[_0x45850e];return _0x54acf4;},_0x4585(_0x29d1d4,_0x488238);}function K(_0x51b999,_0x2a22bc){const _0x4679dd=_0x52f8ba,_0x2b9b2f=new Set();for(const _0x282e1c of _0x51b999)(_0x2a22bc||!0x1===_0x282e1c[_0x4679dd(0x156)])&&_0x2b9b2f[_0x4679dd(0x17b)](_0x282e1c['id']);return Array[_0x4679dd(0x158)](_0x2b9b2f);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3ed740,_0x3d5885,_0x5429fd){const t=_0x3ed740['t'];switch(_0x3d5885){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',_0x5429fd);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',_0x5429fd);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5429fd);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'},_0x5429fd);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 _0x3d5885;}}
|