@ckeditor/ckeditor5-ai 42.0.0-alpha.2 → 42.0.0-alpha.21
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 _0x7a59ab=_0x1ed8;function _0x1ed8(_0x6f3961,_0x4fb1af){const _0x3a2ff2=_0x3a2f();return _0x1ed8=function(_0x1ed802,_0x404ce9){_0x1ed802=_0x1ed802-0xd5;let _0x3304e9=_0x3a2ff2[_0x1ed802];return _0x3304e9;},_0x1ed8(_0x6f3961,_0x4fb1af);}(function(_0x1cc4de,_0x25064a){const _0x33712d=_0x1ed8,_0x298ce0=_0x1cc4de();while(!![]){try{const _0x2efc80=-parseInt(_0x33712d(0x114))/0x1+parseInt(_0x33712d(0xf3))/0x2*(-parseInt(_0x33712d(0xf4))/0x3)+parseInt(_0x33712d(0x101))/0x4+parseInt(_0x33712d(0xeb))/0x5+parseInt(_0x33712d(0x127))/0x6+parseInt(_0x33712d(0xff))/0x7+-parseInt(_0x33712d(0x12b))/0x8;if(_0x2efc80===_0x25064a)break;else _0x298ce0['push'](_0x298ce0['shift']());}catch(_0x4001d5){_0x298ce0['push'](_0x298ce0['shift']());}}}(_0x3a2f,0x3598f));import{ObservableMixin as _0x37c301}from'ckeditor5/src/utils.js';function _0x3a2f(){const _0x31c3f4=['view','innerHTML','match','startsWith','finally','viewToDom','exec','listenTo','isProcessing','2075970ZORzDg','previousLabel','previousQuery','handleError','5107120JZxaYW','toView','parseFromString','editor','setContentOf','textAdapter','tryAgainEvent','custom','substring','stopListening','set:currentContext','reset','length','toModel','_stripMarkdownSyntax','ELEMENT_NODE','endsWith','reverse','message','push','previousContext','<h1></h1>','then','render','editing','submitPrompt','initialContext','querySelector','catch','771245JkpGwM','serializeToString','startProcessing','_normalizeResponseHeadings','previousActionId','value','text/html','name','30182jZQxIj','69NExGxz','_isH1TagSupportEnabled','nodeType','trim','currentResponse','abort','domConverter','div','element','```html','isRendered','3055045uIHfRj','updateView','1218008XtAuqY','prompt','rename','childNodes','_sanitizeHTML','document','data','_sanitizationContainer','_domParser','_xmlSerializer','processor','createElement','_handleQuery','stringify','currentContext','from','remove','htmlProcessor','stopProcessing','36163iiRfHZ','body','makeRequest','mainAction','_parseAndNormalizeContent','set','destroy','```','once','finishProcessing'];_0x3a2f=function(){return _0x31c3f4;};return _0x3a2f();}import{AIRequestError as _0x48331f}from'../adapters/aiadapter.js';import{Matcher as _0x1f3502,UpcastWriter as _0x2df849}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
|
+
_0x37c301(){constructor(_0x47a0d8,_0xfabaca,_0x16a517){const _0x47af94=_0x1ed8;super(),this[_0x47af94(0x12e)]=_0x47a0d8,this[_0x47af94(0x130)]=_0xfabaca,this[_0x47af94(0x108)]=document[_0x47af94(0x10c)](_0x47af94(0xfb)),this[_0x47af94(0x109)]=new DOMParser(),this[_0x47af94(0x10a)]=new XMLSerializer(),this[_0x47af94(0x11e)]=_0x16a517,this[_0x47af94(0x119)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x47af94(0xd8),(_0x263e20,_0x5d11e7,_0x120a4d)=>{const _0x93e911=_0x47af94;this[_0x93e911(0x11e)][_0x93e911(0xf0)]=this[_0x93e911(0x105)](_0x120a4d);}),this[_0x47af94(0x125)](this[_0x47af94(0x11e)],_0x47af94(0xe7),(_0x226ea8,_0x3284d5)=>{const _0x29225c=_0x47af94,_0xf64b34=this[_0x29225c(0x10f)]||this[_0x29225c(0xe8)];this[_0x29225c(0x10d)](_0x3284d5,_0xf64b34,_0x29225c(0xd5));}),this[_0x47af94(0x125)](this[_0x47af94(0x11e)],_0x47af94(0x131),()=>{const _0xbbdf57=_0x47af94;this[_0xbbdf57(0x11e)][_0xbbdf57(0x102)]=this[_0xbbdf57(0x128)],this[_0xbbdf57(0x10d)](this[_0xbbdf57(0x129)],this[_0xbbdf57(0xe2)],this[_0xbbdf57(0xef)],this[_0xbbdf57(0x128)]);}),this[_0x47af94(0x125)](this[_0x47af94(0x11e)],_0x47af94(0x113),()=>{const _0x56790d=_0x47af94;this[_0x56790d(0x113)]();});}[_0x7a59ab(0x11a)](){const _0x266251=_0x7a59ab;this[_0x266251(0xd7)]();}async[_0x7a59ab(0x100)]({actionId:_0x166631,query:_0x4c6b4b,htmlContent:_0x1d0a46,label:_0x3a2331,mainActionLabel:_0x30d3dc}){const _0x11042d=_0x7a59ab;this[_0x11042d(0x11e)][_0x11042d(0x102)]=_0x3a2331,this[_0x11042d(0x11e)][_0x11042d(0x117)]=_0x30d3dc,this[_0x11042d(0xe8)]=_0x1d0a46,_0x4c6b4b&&(this[_0x11042d(0x11e)][_0x11042d(0xfe)]?this[_0x11042d(0x10d)](_0x4c6b4b,_0x1d0a46,_0x166631,_0x3a2331):this[_0x11042d(0x11e)][_0x11042d(0x11c)](_0x11042d(0xe5),()=>{const _0x74b803=_0x11042d;this[_0x74b803(0x10d)](_0x4c6b4b,_0x1d0a46,_0x166631,_0x3a2331);}));}[_0x7a59ab(0x113)](){const _0x59a269=_0x7a59ab;this[_0x59a269(0x126)]&&(this[_0x59a269(0x126)]=!0x1,this[_0x59a269(0x11e)][_0x59a269(0x11d)](),this[_0x59a269(0x130)][_0x59a269(0xf9)]());}[_0x7a59ab(0xd9)](){const _0x2d3c9c=_0x7a59ab;this[_0x2d3c9c(0xe8)]='',this[_0x2d3c9c(0x10f)]='',this[_0x2d3c9c(0xf8)]='',this[_0x2d3c9c(0xe2)]='',this[_0x2d3c9c(0x129)]='',this[_0x2d3c9c(0x128)]='',this[_0x2d3c9c(0xef)]=void 0x0,this[_0x2d3c9c(0x11e)][_0x2d3c9c(0xd9)](),this[_0x2d3c9c(0x113)]();}async[_0x7a59ab(0x10d)](_0xb2d257,_0x5330fa,_0x2a9cd1,_0x16ff1b){const _0x1b55ac=_0x7a59ab;return this[_0x1b55ac(0x126)]=!0x0,this[_0x1b55ac(0x11e)][_0x1b55ac(0xed)](),this[_0x1b55ac(0xe2)]=_0x5330fa,this[_0x1b55ac(0x129)]=_0xb2d257,this[_0x1b55ac(0x128)]=_0x16ff1b||_0xb2d257,this[_0x1b55ac(0xef)]=_0x2a9cd1,new Promise(_0x5c85dc=>{const _0x348dc9=_0x1b55ac;this[_0x348dc9(0x130)][_0x348dc9(0x116)]({'query':_0xb2d257,'context':_0x5330fa,'onData':_0x4da4fe=>{const _0x250115=_0x348dc9;this[_0x250115(0xf8)]=_0x4da4fe,this[_0x250115(0x10f)]=this[_0x250115(0x118)](this[_0x250115(0xf8)]);},'actionId':_0x2a9cd1})[_0x348dc9(0xe4)](()=>{const _0x491793=_0x348dc9;!this[_0x491793(0x10f)]&&this[_0x491793(0xf8)]&&(this[_0x491793(0x10f)]=this[_0x491793(0x118)](this[_0x491793(0xf8)],!0x0));})[_0x348dc9(0xea)](_0x50fc98=>{const _0x35fadd=_0x348dc9;_0x50fc98 instanceof _0x48331f?this[_0x35fadd(0x11e)][_0x35fadd(0x12a)](_0x50fc98[_0x35fadd(0xe0)]):this[_0x35fadd(0x11e)][_0x35fadd(0x12a)](),_0x5c85dc();})[_0x348dc9(0x122)](()=>{const _0x625f88=_0x348dc9;this[_0x625f88(0x113)](),_0x5c85dc();});});}[_0x7a59ab(0x118)](_0x10a97d,_0x3342e0=!0x1){const _0x5db741=_0x7a59ab,_0x535cc1=X[_0x5db741(0x124)](_0x10a97d);_0x10a97d=_0x535cc1?_0x10a97d[_0x5db741(0xd6)](_0x535cc1[0x1][_0x5db741(0xda)]):_0x10a97d[_0x5db741(0xda)]<0x64&&!_0x3342e0?'':this[_0x5db741(0xdc)](_0x10a97d);const _0x3cecb4=this[_0x5db741(0x109)][_0x5db741(0x12d)](_0x10a97d,_0x5db741(0xf1));if(_0x535cc1){const _0x22dfa6=Array[_0x5db741(0x110)](_0x3cecb4[_0x5db741(0x115)][_0x5db741(0x104)]);_0x22dfa6[_0x5db741(0xdf)]();for(const _0x574acc of _0x22dfa6){if(_0x574acc[_0x5db741(0xf6)]==Node[_0x5db741(0xdd)])break;_0x574acc[_0x5db741(0x111)]();}}const _0x69fd41=this[_0x5db741(0x12e)][_0x5db741(0x107)][_0x5db741(0x10b)][_0x5db741(0x12c)](this[_0x5db741(0x10a)][_0x5db741(0xec)](_0x3cecb4[_0x5db741(0x115)]));return this[_0x5db741(0xf5)]()||this[_0x5db741(0xee)](_0x69fd41),this[_0x5db741(0x12e)][_0x5db741(0x107)][_0x5db741(0x10e)](this[_0x5db741(0x12e)][_0x5db741(0x107)][_0x5db741(0xdb)](_0x69fd41));}[_0x7a59ab(0xee)](_0xfa3a08){const _0x360eb5=_0x7a59ab,_0x49ab69=new _0x2df849(this[_0x360eb5(0x12e)][_0x360eb5(0xe6)][_0x360eb5(0x11e)][_0x360eb5(0x106)]),_0x4d9e03=new _0x1f3502({'name':/^h[1-5]$/}),_0x12f1b5=[];let _0x226757=!0x1;for(const _0x58144b of _0xfa3a08)_0x58144b['is'](_0x360eb5(0xfc))&&_0x4d9e03[_0x360eb5(0x120)](_0x58144b)&&(_0x12f1b5[_0x360eb5(0xe1)](_0x58144b),'h1'==_0x58144b[_0x360eb5(0xf2)]&&(_0x226757=!0x0));if(_0x226757){for(const _0x56f481 of _0x12f1b5)_0x49ab69[_0x360eb5(0x103)]('h'+(parseInt(_0x56f481[_0x360eb5(0xf2)][0x1])+0x1),_0x56f481);}}[_0x7a59ab(0xf5)](){const _0x5b29d1=_0x7a59ab,{data:_0xf68fd2,editing:_0xa4b459}=this[_0x5b29d1(0x12e)],_0x3b93b8=_0xf68fd2[_0x5b29d1(0x112)][_0x5b29d1(0x12c)](_0x5b29d1(0xe3)),_0x992550=_0xf68fd2[_0x5b29d1(0x12c)](_0xf68fd2[_0x5b29d1(0xdb)](_0x3b93b8));return!!_0xa4b459[_0x5b29d1(0x11e)][_0x5b29d1(0xfa)][_0x5b29d1(0x123)](_0x992550)[_0x5b29d1(0xe9)]('h1');}[_0x7a59ab(0x105)](_0x6ed7eb){const _0x4e80b3=_0x7a59ab;return this[_0x4e80b3(0x12e)][_0x4e80b3(0xe6)][_0x4e80b3(0x11e)][_0x4e80b3(0xfa)][_0x4e80b3(0x12f)](this[_0x4e80b3(0x108)],_0x6ed7eb),this[_0x4e80b3(0x108)][_0x4e80b3(0x11f)];}[_0x7a59ab(0xdc)](_0x5614bd){const _0x136981=_0x7a59ab,_0x19d552=_0x5614bd[_0x136981(0xf7)]();return _0x19d552[_0x136981(0x121)](_0x136981(0xfd))?_0x19d552[_0x136981(0xde)](_0x136981(0x11b))?_0x19d552[_0x136981(0xd6)](0x7,_0x19d552[_0x136981(0xda)]-0x3):_0x19d552[_0x136981(0xd6)](0x7):_0x5614bd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x44701b=_0x32e4;(function(_0x2d983a,_0x56bef0){const _0xcc52af=_0x32e4,_0x3324f7=_0x2d983a();while(!![]){try{const _0xbe726c=-parseInt(_0xcc52af(0xa3))/0x1*(parseInt(_0xcc52af(0xb6))/0x2)+-parseInt(_0xcc52af(0xab))/0x3+parseInt(_0xcc52af(0xa9))/0x4+-parseInt(_0xcc52af(0xb4))/0x5*(-parseInt(_0xcc52af(0xb3))/0x6)+-parseInt(_0xcc52af(0xa6))/0x7+parseInt(_0xcc52af(0xa8))/0x8*(parseInt(_0xcc52af(0xad))/0x9)+parseInt(_0xcc52af(0xa7))/0xa*(parseInt(_0xcc52af(0xaa))/0xb);if(_0xbe726c===_0x56bef0)break;else _0x3324f7['push'](_0x3324f7['shift']());}catch(_0x2eeef7){_0x3324f7['push'](_0x3324f7['shift']());}}}(_0x3c0c,0xcc380));function _0x32e4(_0x5b9f98,_0x11ee72){const _0x3c0c33=_0x3c0c();return _0x32e4=function(_0x32e435,_0x1d813b){_0x32e435=_0x32e435-0xa3;let _0x2b2981=_0x3c0c33[_0x32e435];return _0x2b2981;},_0x32e4(_0x5b9f98,_0x11ee72);}import{ListView as _0x11d43b,ListItemGroupView as _0x34a67a}from'ckeditor5/src/ui.js';function _0x3c0c(){const _0x5418f9=['1318545CaJjJQ','children','9jtxiZC','length','highlightText','match','get','set','1860TZpiOu','25405jLupJF','enabledCommandsIds','2iMctHR','change:enabledCommandsIds','listbox','filter','labelView','includes','items','isVisible','label','commandDefinition','isEnabled','669393yqVdoj','role','first','9852724AgwYEs','1024610HsdUEv','1824376GymWGT','1690768pznffB','121RaynNq'];_0x3c0c=function(){return _0x5418f9;};return _0x3c0c();}import{AICommandsListItemView as _0x54835d}from'../../aiassistantui.js';export default class U extends _0x11d43b{constructor(_0x795c36){const _0x5cdba7=_0x32e4;super(_0x795c36),this[_0x5cdba7(0xa4)]=_0x5cdba7(0xb8),this[_0x5cdba7(0xb2)](_0x5cdba7(0xb5),[]),this['on'](_0x5cdba7(0xb7),()=>{const _0x39642a=_0x5cdba7;for(const _0x336a17 of this[_0x39642a(0xbc)])if(_0x336a17 instanceof _0x34a67a){for(const _0x5b921d of _0x336a17[_0x39642a(0xbc)])if(_0x5b921d instanceof _0x54835d){const _0x3dfb67=_0x5b921d[_0x39642a(0xac)][_0x39642a(0xb1)](0x0);this[_0x39642a(0xb5)][_0x39642a(0xbb)](_0x5b921d[_0x39642a(0xbf)]['id'])?_0x3dfb67[_0x39642a(0xc0)]=!0x0:_0x3dfb67[_0x39642a(0xc0)]=!0x1;}}});}[_0x44701b(0xb9)](_0x1dd2c4){const _0x3da9fc=_0x44701b;let _0x33376b=0x0,_0x2af6d1=0x0;for(const _0xffdfa4 of this[_0x3da9fc(0xbc)]){const _0x3da4da=_0xffdfa4,_0x5ae201=_0x3da4da[_0x3da9fc(0xbc)],_0x49dbae=_0x1dd2c4&&!!_0x3da4da[_0x3da9fc(0xbe)][_0x3da9fc(0xb0)](_0x1dd2c4);_0x3da4da[_0x3da9fc(0xba)][_0x3da9fc(0xaf)](_0x49dbae?_0x1dd2c4:null);for(const _0x1f8155 of _0x5ae201){const _0x3e60a6=_0x1f8155[_0x3da9fc(0xac)][_0x3da9fc(0xa5)],_0x1b5491=_0x3e60a6[_0x3da9fc(0xba)];if(_0x1dd2c4){const _0x21cfd0=!!_0x3e60a6[_0x3da9fc(0xbe)][_0x3da9fc(0xb0)](_0x1dd2c4);_0x1b5491[_0x3da9fc(0xaf)](_0x21cfd0?_0x1dd2c4:null),_0x1f8155[_0x3da9fc(0xbd)]=_0x49dbae||_0x21cfd0;}else _0x1f8155[_0x3da9fc(0xbd)]=!0x0,_0x1b5491[_0x3da9fc(0xaf)](null);}const _0x581269=_0x5ae201[_0x3da9fc(0xb9)](_0x5d69cd=>_0x5d69cd[_0x3da9fc(0xbd)])[_0x3da9fc(0xae)];_0x33376b+=_0x3da4da[_0x3da9fc(0xbc)][_0x3da9fc(0xae)],_0x2af6d1+=_0x49dbae?_0x3da4da[_0x3da9fc(0xbc)][_0x3da9fc(0xae)]:_0x581269,_0x3da4da[_0x3da9fc(0xbd)]=_0x49dbae||!!_0x581269;}return{'resultsCount':_0x2af6d1,'totalItemsCount':_0x33376b};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x17dbcd,_0x3af278){const _0x5c2197=_0x1d11,_0x27f4e8=_0x17dbcd();while(!![]){try{const _0x24d4ba=parseInt(_0x5c2197(0x11a))/0x1*(parseInt(_0x5c2197(0x113))/0x2)+parseInt(_0x5c2197(0x10b))/0x3*(parseInt(_0x5c2197(0x11c))/0x4)+parseInt(_0x5c2197(0x111))/0x5+parseInt(_0x5c2197(0x110))/0x6*(parseInt(_0x5c2197(0x118))/0x7)+-parseInt(_0x5c2197(0x10f))/0x8*(-parseInt(_0x5c2197(0x115))/0x9)+-parseInt(_0x5c2197(0x114))/0xa*(parseInt(_0x5c2197(0x119))/0xb)+parseInt(_0x5c2197(0x10c))/0xc*(-parseInt(_0x5c2197(0x11b))/0xd);if(_0x24d4ba===_0x3af278)break;else _0x27f4e8['push'](_0x27f4e8['shift']());}catch(_0x143e0b){_0x27f4e8['push'](_0x27f4e8['shift']());}}}(_0x140d,0x6f995));function _0x1d11(_0x5f0048,_0x5c1a43){const _0x140d56=_0x140d();return _0x1d11=function(_0x1d1142,_0x551771){_0x1d1142=_0x1d1142-0x10b;let _0x25d211=_0x140d56[_0x1d1142];return _0x25d211;},_0x1d11(_0x5f0048,_0x5c1a43);}import{HighlightedTextView as _0x16de49}from'ckeditor5/src/ui.js';export default class N extends _0x16de49{constructor(){const _0x331838=_0x1d11;super(),this[_0x331838(0x112)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x47c5eb=this[_0x331838(0x117)];this[_0x331838(0x116)]({'attributes':{'class':[_0x331838(0x10e)],'style':_0x47c5eb['to'](_0x331838(0x10d)),'id':_0x47c5eb['to']('id')}});}}function _0x140d(){const _0xbc299=['extendTemplate','bindTemplate','56Ovqxry','22AxtWOl','145196hiWVUj','4183621fSEVCd','80972fOIpap','51mdMWar','24gnUlvi','style','ck-button__label','1549480PAIfOT','274842XUhTZV','894025jXKgQj','set','6mlyqgG','2089610YUdVMe','9BpRmWy'];_0x140d=function(){return _0xbc299;};return _0x140d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xdc9465,_0x5ed718){const _0x4d4f4d=_0x4182,_0x405004=_0xdc9465();while(!![]){try{const _0x152cc3=parseInt(_0x4d4f4d(0x1ed))/0x1+-parseInt(_0x4d4f4d(0x1fa))/0x2+-parseInt(_0x4d4f4d(0x1f0))/0x3+parseInt(_0x4d4f4d(0x1ee))/0x4+-parseInt(_0x4d4f4d(0x1f1))/0x5+parseInt(_0x4d4f4d(0x1f8))/0x6*(-parseInt(_0x4d4f4d(0x1f6))/0x7)+-parseInt(_0x4d4f4d(0x1f2))/0x8*(-parseInt(_0x4d4f4d(0x1f5))/0x9);if(_0x152cc3===_0x5ed718)break;else _0x405004['push'](_0x405004['shift']());}catch(_0x233135){_0x405004['push'](_0x405004['shift']());}}}(_0x49ae,0x66dfc));import{HighlightedTextView as _0x3784b9}from'ckeditor5/src/ui.js';function _0x4182(_0x12be0b,_0x2f884e){const _0x49ae17=_0x49ae();return _0x4182=function(_0x41827b,_0x553bf6){_0x41827b=_0x41827b-0x1ed;let _0x55dad6=_0x49ae17[_0x41827b];return _0x55dad6;},_0x4182(_0x12be0b,_0x2f884e);}import{uid as _0x398f68}from'ckeditor5/src/utils.js';export default class S extends _0x3784b9{constructor(){const _0x4b2daa=_0x4182;super(),this[_0x4b2daa(0x1f3)](_0x4b2daa(0x1f9),void 0x0);const _0xc5f5b6=this[_0x4b2daa(0x1fb)];this['id']=_0x4b2daa(0x1f7)+_0x398f68(),this[_0x4b2daa(0x1ef)]({'attributes':{'class':['ck',_0x4b2daa(0x1f4)],'id':this['id'],'for':_0xc5f5b6['to'](_0x4b2daa(0x1f9))}});}}function _0x49ae(){const _0x257286=['3036170NsdehR','38424fPpFud','set','ck-label','3204EaotXZ','7PBnRQe','ck-editor__label_','3955038Gjinow','for','269838qHUhHP','bindTemplate','176373ZBZwuP','1805316gXhGur','extendTemplate','1544616RLKYmR'];_0x49ae=function(){return _0x257286;};return _0x49ae();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5957(_0x155e2d,_0x16355b){const _0x84e63c=_0x84e6();return _0x5957=function(_0x59577e,_0x196343){_0x59577e=_0x59577e-0x17e;let _0x35a5ff=_0x84e63c[_0x59577e];return _0x35a5ff;},_0x5957(_0x155e2d,_0x16355b);}function _0x84e6(){const _0x2434ec=['getSelection','div','textContent','2LdLxHU','Copy','ck-content','AI\x20is\x20writing...','ck-ai-form__loader','firstElementChild','bindTemplate','364793EhHLjH','ck-ai-form__content-area','lastElementChild','<span>]</span>','locale','mousedown','ck-hidden','change:isProcessing','84UbIQKc','loaderView','619047byysZq','ck-ai-form__copy-button-wrapper','ck-reset_all-excluded','icon','isEnabled','280yzqXkE','isVisible','<span>[</span>','remove','element','left','createElement','-9999px','263240UEtTww','ck-ai-form__content-field','text/plain','_copyHTMLToClipboard','.ck-ai-form__loader','_createLoader','appendChild','check','body','addRange','setEndBefore','_createCopyButton','5481lLiPMs','isProcessing','focus','change:value','setTemplate','216wkNKbY','setContent','ClipboardItem','bind','set','106882pmLpkA','copyButtonView','wheel','value','removeAllRanges','appendLoader','copy','ck-ai-form__copy-button','ck-ai-form__content-area--processing','style','position','408115QuUzhq','161287UwOdqA','execCommand','render','class','execute','write','setStartAfter','scrollHeight','\x20ck-ai-form__copy-button--copied','listenTo','text/html','createRange','smooth','scrollTo','querySelector','innerHTML','ck-ai-form__content-area-wrapper','absolute','clipboard','contentFieldView'];_0x84e6=function(){return _0x2434ec;};return _0x84e6();}const _0x242725=_0x5957;(function(_0x229f15,_0x2bdc9c){const _0x48d7e1=_0x5957,_0x2576f1=_0x229f15();while(!![]){try{const _0x37d7ff=-parseInt(_0x48d7e1(0x1b9))/0x1*(parseInt(_0x48d7e1(0x185))/0x2)+-parseInt(_0x48d7e1(0x196))/0x3+-parseInt(_0x48d7e1(0x1a3))/0x4+-parseInt(_0x48d7e1(0x1c4))/0x5+-parseInt(_0x48d7e1(0x194))/0x6*(parseInt(_0x48d7e1(0x1c5))/0x7)+parseInt(_0x48d7e1(0x1b4))/0x8*(parseInt(_0x48d7e1(0x1af))/0x9)+-parseInt(_0x48d7e1(0x19b))/0xa*(-parseInt(_0x48d7e1(0x18c))/0xb);if(_0x37d7ff===_0x2bdc9c)break;else _0x2576f1['push'](_0x2576f1['shift']());}catch(_0xbde5e7){_0x2576f1['push'](_0x2576f1['shift']());}}}(_0x84e6,0x277e9));import{global as _0x426329}from'ckeditor5/src/utils.js';import{View as _0x3bfc05,ButtonView as _0x295809,SpinnerView as _0x194d42}from'ckeditor5/src/ui.js';import _0x3fff8d from'../../../theme/icons/copy.svg';import{getTranslation as _0x22dd5f}from'../../utils/common-translations.js';import{icons as _0x34301f}from'ckeditor5/src/core.js';export default class nt extends _0x3bfc05{constructor(_0x240834,_0x52b101=''){const _0x36bda4=_0x5957;super(_0x240834),this[_0x36bda4(0x1b8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x22fae6=this[_0x36bda4(0x18b)];this[_0x36bda4(0x181)]=new ContentFieldView(_0x240834,_0x52b101),this[_0x36bda4(0x1ba)]=this[_0x36bda4(0x1ae)](),this[_0x36bda4(0x1b3)]({'tag':_0x36bda4(0x183),'attributes':{'class':['ck',_0x36bda4(0x17e),_0x22fae6['if'](_0x36bda4(0x19c),_0x36bda4(0x192),_0x372537=>!_0x372537)],'tabindex':'-1'},'children':[{'tag':_0x36bda4(0x183),'attributes':{'class':['ck',_0x36bda4(0x18d),_0x22fae6['if'](_0x36bda4(0x1b0),_0x36bda4(0x1c1))]},'children':[this[_0x36bda4(0x181)],{'tag':_0x36bda4(0x183),'attributes':{'class':['ck',_0x36bda4(0x197)]},'children':[this[_0x36bda4(0x1ba)]]}]}]});}[_0x242725(0x1c7)](){const _0x42c3e1=_0x242725;super[_0x42c3e1(0x1c7)](),this[_0x42c3e1(0x1bc)]&&this[_0x42c3e1(0x181)][_0x42c3e1(0x1b5)](this[_0x42c3e1(0x1bc)]);let _0x528a12=!0x1;this['on'](_0x42c3e1(0x1b2),(_0x7f2cf7,_0x4c3045,_0x155564)=>{const _0x2c3883=_0x42c3e1,_0x2a7a1c=!this[_0x2c3883(0x181)][_0x2c3883(0x19f)][_0x2c3883(0x1d3)](_0x2c3883(0x1a7));this[_0x2c3883(0x181)][_0x2c3883(0x1b5)](_0x155564),this[_0x2c3883(0x1b0)]&&_0x2a7a1c&&!_0x528a12&&this[_0x2c3883(0x19f)][_0x2c3883(0x1d2)]({'top':this[_0x2c3883(0x19f)][_0x2c3883(0x1cc)],'behavior':_0x2c3883(0x1d1)});}),this['on'](_0x42c3e1(0x193),(_0x36a849,_0x4575e6,_0x8afd1c)=>{const _0x7b5229=_0x42c3e1;_0x528a12=!0x1,_0x8afd1c?(this[_0x7b5229(0x1bc)]=null,this[_0x7b5229(0x181)][_0x7b5229(0x1be)]()):this[_0x7b5229(0x1bc)]||this[_0x7b5229(0x181)][_0x7b5229(0x1b5)]('');}),this[_0x42c3e1(0x1ce)](this[_0x42c3e1(0x19f)],_0x42c3e1(0x1bb),()=>{_0x528a12=!0x0;}),this[_0x42c3e1(0x1ce)](this[_0x42c3e1(0x19f)],_0x42c3e1(0x191),()=>{_0x528a12=!0x0;});}[_0x242725(0x1b1)](){const _0x43218c=_0x242725;this[_0x43218c(0x19f)][_0x43218c(0x1b1)]();}[_0x242725(0x1ae)](){const _0x3dbe48=_0x242725,_0x1c9008=this[_0x3dbe48(0x190)],_0x3a9c7d=new _0x295809(this[_0x3dbe48(0x190)]),_0x203566=_0x3dbe48(0x1c0);return _0x3a9c7d[_0x3dbe48(0x1b8)]({'label':_0x22dd5f(_0x1c9008,_0x3dbe48(0x186)),'icon':_0x3fff8d,'class':_0x203566,'tooltip':!0x0}),_0x3a9c7d[_0x3dbe48(0x1b7)](_0x3dbe48(0x19c))['to'](this,_0x3dbe48(0x1bc),_0x3d1a8c=>!!_0x3d1a8c),_0x3a9c7d[_0x3dbe48(0x1b7)](_0x3dbe48(0x19a))['to'](this,_0x3dbe48(0x1b0),_0x4ce42b=>!_0x4ce42b),_0x3a9c7d['on'](_0x3dbe48(0x1c9),()=>{const _0x28739b=_0x3dbe48;this[_0x28739b(0x1a6)](this[_0x28739b(0x181)][_0x28739b(0x19f)]),_0x3a9c7d[_0x28739b(0x199)]=_0x34301f[_0x28739b(0x1aa)],_0x3a9c7d[_0x28739b(0x1c8)]=_0x203566+_0x28739b(0x1cd),this[_0x28739b(0x1b1)](),setTimeout(()=>{const _0x29c854=_0x28739b;_0x3a9c7d[_0x29c854(0x199)]=_0x3fff8d,_0x3a9c7d[_0x29c854(0x1c8)]=_0x203566;},0x3e8);}),_0x3a9c7d;}[_0x242725(0x1a6)](_0x3c3da6){const _0x1d1e5a=_0x242725,{window:_0x1c7322,document:_0x3995f8}=_0x426329;if(_0x1c7322[_0x1d1e5a(0x1b6)]){const {Blob:_0x1afbfd,ClipboardItem:_0x4ac5e3}=_0x1c7322,_0xa42dd8=[new _0x4ac5e3({'text/html':new _0x1afbfd([_0x3c3da6[_0x1d1e5a(0x1d4)]],{'type':_0x1d1e5a(0x1cf)}),'text/plain':new _0x1afbfd([_0x3c3da6[_0x1d1e5a(0x184)]||''],{'type':_0x1d1e5a(0x1a5)})})];navigator[_0x1d1e5a(0x180)][_0x1d1e5a(0x1ca)](_0xa42dd8);}else{const _0x82afdd=_0x3995f8[_0x1d1e5a(0x1a1)](_0x1d1e5a(0x183));_0x82afdd[_0x1d1e5a(0x1c2)][_0x1d1e5a(0x1c3)]=_0x1d1e5a(0x17f),_0x82afdd[_0x1d1e5a(0x1c2)][_0x1d1e5a(0x1a0)]=_0x1d1e5a(0x1a2),_0x82afdd[_0x1d1e5a(0x1d4)]=_0x1d1e5a(0x19d)+_0x3c3da6[_0x1d1e5a(0x1d4)]+_0x1d1e5a(0x18f),_0x3995f8[_0x1d1e5a(0x1ab)][_0x1d1e5a(0x1a9)](_0x82afdd);const _0x2d84fb=_0x3995f8[_0x1d1e5a(0x1d0)]();_0x2d84fb[_0x1d1e5a(0x1cb)](_0x82afdd[_0x1d1e5a(0x18a)]),_0x2d84fb[_0x1d1e5a(0x1ad)](_0x82afdd[_0x1d1e5a(0x18e)]);const _0x507f56=_0x1c7322[_0x1d1e5a(0x182)]();_0x507f56[_0x1d1e5a(0x1bd)](),_0x507f56[_0x1d1e5a(0x1ac)](_0x2d84fb),_0x3995f8[_0x1d1e5a(0x1c6)](_0x1d1e5a(0x1bf)),_0x82afdd[_0x1d1e5a(0x19e)]();}}}export class ContentFieldView extends _0x3bfc05{constructor(_0x5e2f85,_0x149923=''){const _0x37d32e=_0x242725;super(_0x5e2f85),this[_0x37d32e(0x195)]=this[_0x37d32e(0x1a8)](),this[_0x37d32e(0x1b3)]({'tag':_0x37d32e(0x183),'attributes':{'class':['ck',_0x37d32e(0x187),_0x149923,_0x37d32e(0x198),_0x37d32e(0x1a4)]}});}[_0x242725(0x1b5)](_0x25ed12){const _0xb6f225=_0x242725;this[_0xb6f225(0x19f)][_0xb6f225(0x1d4)]=_0x25ed12;}[_0x242725(0x1be)](){const _0x36a2a2=_0x242725;this[_0x36a2a2(0x19f)][_0x36a2a2(0x1a9)](this[_0x36a2a2(0x195)][_0x36a2a2(0x19f)]);}[_0x242725(0x1a8)](){const _0x41d940=_0x242725,_0xd72851=new _0x3bfc05(),_0x2215bb=this[_0x41d940(0x190)],_0x9b34c0=new _0x194d42();return _0x9b34c0[_0x41d940(0x19c)]=!0x0,_0xd72851[_0x41d940(0x1b3)]({'tag':_0x41d940(0x183),'attributes':{'class':['ck',_0x41d940(0x189)]},'children':[_0x9b34c0,{'text':_0x22dd5f(_0x2215bb,_0x41d940(0x188))}]}),_0xd72851[_0x41d940(0x1c7)](),_0xd72851;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x49d658,_0x44d749){const _0x502a2c=_0x2469,_0xf19990=_0x49d658();while(!![]){try{const _0x54c18f=-parseInt(_0x502a2c(0x7c))/0x1+-parseInt(_0x502a2c(0x7b))/0x2+parseInt(_0x502a2c(0x84))/0x3+-parseInt(_0x502a2c(0x81))/0x4+-parseInt(_0x502a2c(0x82))/0x5*(parseInt(_0x502a2c(0x88))/0x6)+parseInt(_0x502a2c(0x80))/0x7*(-parseInt(_0x502a2c(0x7e))/0x8)+parseInt(_0x502a2c(0x89))/0x9*(parseInt(_0x502a2c(0x7d))/0xa);if(_0x54c18f===_0x44d749)break;else _0xf19990['push'](_0xf19990['shift']());}catch(_0x1390f7){_0xf19990['push'](_0xf19990['shift']());}}}(_0x1f4b,0x36402));import{View as _0x3da6df,IconView as _0x587d0e}from'ckeditor5/src/ui.js';import _0x5cbc1c from'../../../theme/icons/error.svg';export default class mt extends _0x3da6df{constructor(_0x2d9fb9,_0x377d7e=''){const _0x4aa277=_0x2469;super(_0x2d9fb9);const _0x27ff69=new _0x587d0e(),_0x3914a5=this[_0x4aa277(0x7a)];this[_0x4aa277(0x83)](_0x4aa277(0x8a),_0x377d7e),_0x27ff69[_0x4aa277(0x85)]=_0x5cbc1c,this[_0x4aa277(0x86)]({'tag':_0x4aa277(0x87),'attributes':{'class':['ck',_0x4aa277(0x7f)]},'children':[_0x27ff69,{'text':_0x3914a5['to'](_0x4aa277(0x8a))}]});}}function _0x2469(_0x2d2acc,_0x3e7c7c){const _0x1f4bc6=_0x1f4b();return _0x2469=function(_0x2469fc,_0x4d02e6){_0x2469fc=_0x2469fc-0x7a;let _0x4a2139=_0x1f4bc6[_0x2469fc];return _0x4a2139;},_0x2469(_0x2d2acc,_0x3e7c7c);}function _0x1f4b(){const _0x5668db=['2444556AvGqiF','14110785mOXlYQ','text','bindTemplate','786310IuxvwN','388831pOstYf','10YAThrJ','488mudjrI','ck-ai-form__error','15701HLFRvu','1124072ZueXlq','5cNznHd','set','784794MzHGaZ','content','setTemplate','div'];_0x1f4b=function(){return _0x5668db;};return _0x1f4b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x515a40=_0x3252;(function(_0x1ab261,_0xba204){const _0x578bc6=_0x3252,_0x29fd19=_0x1ab261();while(!![]){try{const _0x2a4003=-parseInt(_0x578bc6(0x8a))/0x1+-parseInt(_0x578bc6(0x84))/0x2*(-parseInt(_0x578bc6(0x71))/0x3)+parseInt(_0x578bc6(0x8e))/0x4+-parseInt(_0x578bc6(0x80))/0x5*(parseInt(_0x578bc6(0x7c))/0x6)+-parseInt(_0x578bc6(0x8b))/0x7+-parseInt(_0x578bc6(0xa0))/0x8*(parseInt(_0x578bc6(0x88))/0x9)+parseInt(_0x578bc6(0x8f))/0xa;if(_0x2a4003===_0xba204)break;else _0x29fd19['push'](_0x29fd19['shift']());}catch(_0x4e9daa){_0x29fd19['push'](_0x29fd19['shift']());}}}(_0x5cfe,0x425e3));import{Rect as _0x485575,global as _0x582829,isVisible as _0x6c9dab}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xc1fd3d,ButtonView as _0x287531}from'ckeditor5/src/ui.js';import{icons as _0x4bea59}from'ckeditor5/src/core.js';import{getTranslation as _0x165cf3}from'../../utils/common-translations.js';function _0x3252(_0x16bfe7,_0x48cb36){const _0x5cfed3=_0x5cfe();return _0x3252=function(_0x32528e,_0xa56325){_0x32528e=_0x32528e-0x70;let _0x557b79=_0x5cfed3[_0x32528e];return _0x557b79;},_0x3252(_0x16bfe7,_0x48cb36);}import _0x5c66ec from'../../../theme/icons/submit.svg';export default class pt extends _0xc1fd3d{constructor(_0x4b2ea8,_0x14b7b2){const _0xb06a24=_0x3252;super(_0x4b2ea8,_0x14b7b2),this[_0xb06a24(0xa5)][_0xb06a24(0x95)][_0xb06a24(0xa9)]=0x1,this[_0xb06a24(0xa5)][_0xb06a24(0x95)][_0xb06a24(0x7d)]=0x3,this[_0xb06a24(0x76)]=this[_0xb06a24(0x79)](),this[_0xb06a24(0x7a)]=this[_0xb06a24(0x91)](),this[_0xb06a24(0x9f)][_0xb06a24(0x8d)](this[_0xb06a24(0x7a)],0x1),this[_0xb06a24(0x9f)][_0xb06a24(0x8d)](this[_0xb06a24(0x76)]);}[_0x515a40(0x99)](){const _0x525534=_0x515a40;super[_0x525534(0x99)](),this[_0x525534(0xa5)][_0x525534(0x85)][_0x525534(0x8d)](this[_0x525534(0x7a)]),this[_0x525534(0x9b)][_0x525534(0x8d)](this[_0x525534(0x76)]),this[_0x525534(0xa7)][_0x525534(0x7f)](_0x525534(0x81),(_0x3086aa,_0x473ebe)=>{const _0x479f85=_0x525534;_0x3086aa[_0x479f85(0x96)]==this[_0x479f85(0xa5)][_0x479f85(0x95)][_0x479f85(0x97)]&&(this[_0x479f85(0xa4)](),_0x473ebe());});}[_0x515a40(0x79)](){const _0x4a619b=_0x515a40,_0x4d37ae=new _0x287531(this[_0x4a619b(0x75)]),_0x52589d=this[_0x4a619b(0x75)];return _0x4d37ae[_0x4a619b(0x7f)]({'icon':_0x5c66ec,'label':_0x165cf3(_0x52589d,_0x4a619b(0x82)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4a619b(0x9e)}),_0x4d37ae['on'](_0x4a619b(0x89),()=>{const _0x3472ad=_0x4a619b;this[_0x3472ad(0xa4)]();}),_0x4d37ae[_0x4a619b(0x8c)](_0x4a619b(0x77))['to'](this[_0x4a619b(0xa5)][_0x4a619b(0x95)],_0x4a619b(0xa2),this,_0x4a619b(0x77),(_0x2b7f87,_0x1e1924)=>!_0x2b7f87&&_0x1e1924),_0x4d37ae;}[_0x515a40(0x91)](){const _0x277eeb=_0x515a40,_0x1bf41f=new _0x287531(this[_0x277eeb(0x75)]),_0x57e117=this[_0x277eeb(0xa3)],_0x463195=this[_0x277eeb(0x75)];_0x1bf41f[_0x277eeb(0x7f)]({'label':_0x165cf3(_0x463195,_0x277eeb(0x83)),'withText':!0x1,'icon':_0x4bea59[_0x277eeb(0xa1)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x277eeb(0xa6)}),_0x1bf41f[_0x277eeb(0x8c)](_0x277eeb(0x9d))['to'](_0x57e117,_0x277eeb(0x7e)),_0x1bf41f[_0x277eeb(0x8c)](_0x277eeb(0x77))['to'](this,_0x277eeb(0x77)),_0x1bf41f['on'](_0x277eeb(0x89),()=>{const _0x260c7f=_0x277eeb;_0x57e117[_0x260c7f(0x7e)]=!_0x57e117[_0x260c7f(0x7e)],_0x57e117[_0x260c7f(0x7e)]?this[_0x260c7f(0x94)][_0x260c7f(0x9c)]():this[_0x260c7f(0x9c)]();});const _0x934c20=()=>{const _0x305416=_0x277eeb;_0x582829[_0x305416(0x93)][_0x305416(0x70)](()=>{const _0x29677f=_0x305416;if(_0x6c9dab(this[_0x29677f(0x97)])){const _0x2d7d7e=new _0x485575(this[_0x29677f(0xa5)][_0x29677f(0x95)][_0x29677f(0x97)]),_0x119d50=_0x2d7d7e[_0x29677f(0x74)],_0x1e772e=_0x29677f(0x78)===_0x463195[_0x29677f(0x9a)]?_0x29677f(0x92):_0x29677f(0x90);_0x2d7d7e[_0x29677f(0x98)](),_0x1bf41f[_0x29677f(0x97)][_0x29677f(0x72)][_0x1e772e]=_0x119d50-_0x2d7d7e[_0x29677f(0x74)]+0x1+'px';}});};return this[_0x277eeb(0xa5)][_0x277eeb(0x95)]['on'](_0x277eeb(0x7b),_0x934c20),this['on'](_0x277eeb(0x99),_0x934c20),_0x1bf41f;}[_0x515a40(0xa4)](){const _0x428fc4=_0x515a40,_0x50b5c2=this[_0x428fc4(0xa5)][_0x428fc4(0x95)][_0x428fc4(0x97)][_0x428fc4(0x86)];this[_0x428fc4(0xa8)](_0x428fc4(0xa4),_0x50b5c2);}[_0x515a40(0x9c)](_0xe9e9d9){const _0x5b9204=_0x515a40;-0x1===_0xe9e9d9?this[_0x5b9204(0x87)][_0x5b9204(0xaa)]():this[_0x5b9204(0x87)][_0x5b9204(0x73)]();}}function _0x5cfe(){const _0x2cb6d5=['showHistoryButtonView','update','231258zyZlIr','maxRows','isVisible','set','55wSBzPs','enter','Submit','History','102lFEAwf','fieldWrapperChildren','value','focusCycler','9IWDUXp','execute','285250xXQErI','3669869OJNWIK','bind','add','2046160OkOKya','9492830TKJBne','right','_createShowHistoryButton','left','window','filteredView','fieldView','target','element','excludeScrollbarsAndBorders','render','uiLanguageDirection','children','focus','isOn','ck-ai-form__submit','focusableChildren','817328kkabtq','history','isEmpty','resultsView','submit','queryView','ck-ai-form__toggle-history','keystrokes','fire','minRows','focusLast','requestAnimationFrame','8628cXpKNP','style','focusFirst','width','locale','submitButtonView','isEnabled','rtl','_createSubmitButton'];_0x5cfe=function(){return _0x2cb6d5;};return _0x5cfe();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3e282d=_0x15b9;(function(_0x590c77,_0x4774d2){const _0x1df8a9=_0x15b9,_0x5b643a=_0x590c77();while(!![]){try{const _0x1de02f=-parseInt(_0x1df8a9(0x191))/0x1+-parseInt(_0x1df8a9(0x184))/0x2*(parseInt(_0x1df8a9(0x189))/0x3)+-parseInt(_0x1df8a9(0x18e))/0x4*(parseInt(_0x1df8a9(0x188))/0x5)+parseInt(_0x1df8a9(0x194))/0x6*(parseInt(_0x1df8a9(0x19a))/0x7)+-parseInt(_0x1df8a9(0x17d))/0x8+-parseInt(_0x1df8a9(0x17c))/0x9+parseInt(_0x1df8a9(0x178))/0xa;if(_0x1de02f===_0x4774d2)break;else _0x5b643a['push'](_0x5b643a['shift']());}catch(_0x228610){_0x5b643a['push'](_0x5b643a['shift']());}}}(_0x4f38,0xacc19));function _0x4f38(){const _0x188325=['ck-hidden','items','Stop','locale','30JBgNoM','ck-button-action','addMany','set','5090OzMBUS','178122XEmhox','bind','REPLACE','tryAgainButton','_createButton','2188hNQdEi','isVisible','insertButton','959538wqpbAW','mainAction','stopButton','13722MXXOxx','toUpperCase','bindTemplate','AI_','insert','replace','3577mXhvpC','Insert\x20below','label','38082790UCeTte','replaceButton','ck-ai-form__toolbar','_CONTENT','6733458fuvxCy','8913368gkBgKq','extendTemplate','Try\x20again'];_0x4f38=function(){return _0x188325;};return _0x4f38();}import{ToolbarView as _0xcdf618,ButtonView as _0x2fcda8}from'ckeditor5/src/ui.js';import{getTranslation as _0x9a51}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3e282d(0x199),'INSERT':_0x3e282d(0x198)};function _0x15b9(_0x510f8b,_0xab2019){const _0x4f38d2=_0x4f38();return _0x15b9=function(_0x15b984,_0x15f173){_0x15b984=_0x15b984-0x178;let _0x48a8f0=_0x4f38d2[_0x15b984];return _0x48a8f0;},_0x15b9(_0x510f8b,_0xab2019);}export default class Tt extends _0xcdf618{constructor(_0x4de96a){const _0x6bf438=_0x3e282d;super(_0x4de96a),this[_0x6bf438(0x187)](_0x6bf438(0x18f),!0x1),this[_0x6bf438(0x187)](_0x6bf438(0x192),AIFormToolbarViewMainActionLabel[_0x6bf438(0x18b)]),this[_0x6bf438(0x179)]=this[_0x6bf438(0x18d)]('',_0x6bf438(0x185)),this[_0x6bf438(0x179)][_0x6bf438(0x18a)](_0x6bf438(0x19c))['to'](this,_0x6bf438(0x192),_0x38998d=>_0x9a51(_0x4de96a,_0x6bf438(0x197)+_0x38998d[_0x6bf438(0x195)]()+_0x6bf438(0x17b))),this[_0x6bf438(0x190)]=this[_0x6bf438(0x18d)](_0x9a51(_0x4de96a,_0x6bf438(0x19b))),this[_0x6bf438(0x18c)]=this[_0x6bf438(0x18d)](_0x9a51(_0x4de96a,_0x6bf438(0x17f))),this[_0x6bf438(0x193)]=this[_0x6bf438(0x18d)](_0x9a51(_0x4de96a,_0x6bf438(0x182)));const _0x455310=this[_0x6bf438(0x196)];this[_0x6bf438(0x17e)]({'attributes':{'class':[_0x6bf438(0x17a),_0x455310['if'](_0x6bf438(0x18f),_0x6bf438(0x180),_0x5adf83=>!_0x5adf83)]}}),this[_0x6bf438(0x181)][_0x6bf438(0x186)]([this[_0x6bf438(0x179)],this[_0x6bf438(0x190)],this[_0x6bf438(0x18c)],this[_0x6bf438(0x193)]]);}[_0x3e282d(0x18d)](_0x5b78b0,_0x426096){const _0x98e1b6=_0x3e282d,_0x307c31=new _0x2fcda8(this[_0x98e1b6(0x183)]);return _0x307c31[_0x98e1b6(0x187)]({'label':_0x5b78b0,'class':_0x426096||'','isVisible':!0x0,'withText':!0x0}),_0x307c31;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2959b5=_0x142e;(function(_0x6ef813,_0x43286a){const _0x335904=_0x142e,_0x52d228=_0x6ef813();while(!![]){try{const _0x3e6521=-parseInt(_0x335904(0xc4))/0x1*(parseInt(_0x335904(0x7d))/0x2)+parseInt(_0x335904(0x93))/0x3*(-parseInt(_0x335904(0xd0))/0x4)+parseInt(_0x335904(0x9b))/0x5+-parseInt(_0x335904(0x8c))/0x6+-parseInt(_0x335904(0x81))/0x7*(-parseInt(_0x335904(0xa9))/0x8)+-parseInt(_0x335904(0x82))/0x9*(parseInt(_0x335904(0x96))/0xa)+parseInt(_0x335904(0xb4))/0xb*(parseInt(_0x335904(0x7f))/0xc);if(_0x3e6521===_0x43286a)break;else _0x52d228['push'](_0x52d228['shift']());}catch(_0x2dff9f){_0x52d228['push'](_0x52d228['shift']());}}}(_0x1945,0x8f87d));import{FocusTracker as _0x41fb15,KeystrokeHandler as _0x458680}from'ckeditor5/src/utils.js';import{View as _0x422da6,FocusCycler as _0x5771a7,createLabeledTextarea as _0x443000}from'ckeditor5/src/ui.js';import _0xc38876,{AIFormToolbarViewMainActionLabel as _0x1d6196}from'./aiformtoolbarview.js';import _0x450071 from'./aiformcontentarea.js';import _0x11b42c from'./aiformerrorview.js';import _0x191bb5 from'./aiformpromptview.js';function _0x142e(_0x28afb7,_0x3832b6){const _0x19450b=_0x1945();return _0x142e=function(_0x142e62,_0x4aea76){_0x142e62=_0x142e62-0x76;let _0x19d7b1=_0x19450b[_0x142e62];return _0x19d7b1;},_0x142e(_0x28afb7,_0x3832b6);}import _0x3ea686 from'./aihistorylistview.js';import _0x380776 from'./aihistorylistitemview.js';import _0x36678e from'./prompthistory.js';function _0x1945(){const _0x3b0019=['focusLast','2631112VfFlTc','isProcessing','render','backwardCycle','clear','search','clearHistory','stopButton','tab','queryView','submit','7744924ImDvlR','REPLACE','insertButton','isError','stop','submitPrompt','delegate','keystrokes','AI_ERROR_FAILED','focusCycler','shift\x20+\x20tab','bind','historyGroupView','handleError','value','copyButtonView','2WpKjOy','_promptHistory','_createHistoryView','focusPrevious','tryAgainEvent','element','forwardCycle','mainAction','focusNext','trim','createCollection','bindTo','8KQwDCI','Empty\x20history','items','ck-ai-form-content','stopProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','label','text','3602CNNeuI','replaceContent','36wNJhvp','high','7UaWOld','9nxcNJi','finishProcessing','isVisible','focusTracker','_createPromptView','startProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','set','toolbar','add','4917084SuQbSQ','focusFirst','ck-hidden','contentArea','bindTemplate','listenTo','_focusables','482517CjzBCq','ck-ai-form','div','11266230JHmBsl','replaceButton','isEnabled','insertContentBelow','fieldView','2090885UciEDt','errorView','tryAgainButton','fire','focus','promptView','locale','reset','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','prompt','_createToolbar','execute'];_0x1945=function(){return _0x3b0019;};return _0x1945();}import{getTranslation as _0xe2cbe5}from'../../utils/common-translations.js';import{escape as _0x30eb9d}from'lodash-es';export default class x extends _0x422da6{constructor(_0x4c9b42,_0x5cbfdc,_0x2ea850=''){const _0x5d2681=_0x142e;super(_0x4c9b42),this[_0x5d2681(0x89)](_0x5d2681(0x98),!0x0),this[_0x5d2681(0x89)](_0x5d2681(0xaa),!0x1),this[_0x5d2681(0x89)](_0x5d2681(0xa5),''),this[_0x5d2681(0x89)](_0x5d2681(0xc2),''),this[_0x5d2681(0x89)](_0x5d2681(0xb7),!0x1),this[_0x5d2681(0x89)](_0x5d2681(0xcb),_0x1d6196[_0x5d2681(0xb5)]),this[_0x5d2681(0xc5)]=new _0x36678e(),this[_0x5d2681(0x9c)]=new _0x11b42c(_0x4c9b42),this[_0x5d2681(0x8f)]=new _0x450071(_0x4c9b42,_0x2ea850),this[_0x5d2681(0x8f)][_0x5d2681(0xbf)](_0x5d2681(0xaa))['to'](this),this[_0x5d2681(0x8f)][_0x5d2681(0xbf)](_0x5d2681(0xc2))['to'](this),this[_0x5d2681(0x8a)]=this[_0x5d2681(0xa6)](),this[_0x5d2681(0x8a)][_0x5d2681(0xbf)](_0x5d2681(0xcb))['to'](this),this[_0x5d2681(0xa0)]=this[_0x5d2681(0x86)](),this[_0x5d2681(0x85)]=new _0x41fb15(),this[_0x5d2681(0xbb)]=new _0x458680(),this[_0x5d2681(0x92)]=this[_0x5d2681(0xce)]([this[_0x5d2681(0x8f)],this[_0x5d2681(0x8f)][_0x5d2681(0xc3)],this[_0x5d2681(0x8a)],this[_0x5d2681(0xa0)]]),this[_0x5d2681(0xbd)]=new _0x5771a7({'focusables':this[_0x5d2681(0x92)],'focusTracker':this[_0x5d2681(0x85)],'keystrokeHandler':this[_0x5d2681(0xbb)],'actions':{'focusPrevious':_0x5d2681(0xbe),'focusNext':_0x5d2681(0xb1)}}),this[_0x5d2681(0xa0)][_0x5d2681(0xbd)]['on'](_0x5d2681(0xca),_0x4d669c=>{const _0x15f4e1=_0x5d2681;this[_0x15f4e1(0xbd)][_0x15f4e1(0xcc)](),_0x4d669c[_0x15f4e1(0xb8)]();}),this[_0x5d2681(0xa0)][_0x5d2681(0xbd)]['on'](_0x5d2681(0xac),_0x556bca=>{const _0x4cd634=_0x5d2681;this[_0x4cd634(0xbd)][_0x4cd634(0xc7)](),_0x556bca[_0x4cd634(0xb8)]();}),this[_0x5d2681(0xa0)][_0x5d2681(0xb2)][_0x5d2681(0x9a)][_0x5d2681(0xbf)](_0x5d2681(0xc2))['to'](this,_0x5d2681(0xa5));const _0x6c4ffd=this[_0x5d2681(0x90)];this[_0x5d2681(0xa3)]({'tag':_0x5d2681(0x95),'attributes':{'class':['ck',_0x5d2681(0x94),_0x5cbfdc],'tabindex':'-1'},'children':[{'tag':_0x5d2681(0x95),'attributes':{'class':['ck',_0x5d2681(0x78)]},'children':[{'tag':_0x5d2681(0x95),'attributes':{'class':[_0x6c4ffd['if'](_0x5d2681(0xb7),_0x5d2681(0x8e),_0x5d233c=>!_0x5d233c)]},'children':[this[_0x5d2681(0x9c)]]},this[_0x5d2681(0x8f)],this[_0x5d2681(0x8a)],this[_0x5d2681(0xa0)]]}]});}[_0x2959b5(0xab)](){const _0x94cff5=_0x2959b5;super[_0x94cff5(0xab)](),this[_0x94cff5(0x85)][_0x94cff5(0x8b)](this[_0x94cff5(0x8f)][_0x94cff5(0xc9)]),this[_0x94cff5(0x85)][_0x94cff5(0x8b)](this[_0x94cff5(0x8f)][_0x94cff5(0xc3)][_0x94cff5(0xc9)]),this[_0x94cff5(0x85)][_0x94cff5(0x8b)](this[_0x94cff5(0x8a)][_0x94cff5(0xc9)]),this[_0x94cff5(0x85)][_0x94cff5(0x8b)](this[_0x94cff5(0xa0)][_0x94cff5(0xc9)]),this[_0x94cff5(0xbb)][_0x94cff5(0x91)](this[_0x94cff5(0xc9)]);}[_0x2959b5(0x9f)](_0x36e98b=0x1){const _0x46c156=_0x2959b5;-0x1===_0x36e98b?this[_0x46c156(0xbd)][_0x46c156(0xa8)]():this[_0x46c156(0xbd)][_0x46c156(0x8d)]();}[_0x2959b5(0xa2)](){const _0x3a9757=_0x2959b5;this[_0x3a9757(0xa5)]='',this[_0x3a9757(0xc2)]='',this[_0x3a9757(0xb7)]=!0x1,this[_0x3a9757(0xa0)][_0x3a9757(0xa2)](),this[_0x3a9757(0x8f)][_0x3a9757(0x84)]=!0x1,this[_0x3a9757(0x8a)][_0x3a9757(0x84)]=!0x1;}[_0x2959b5(0x86)](){const _0x4e5b15=_0x2959b5,_0x5b031f=this[_0x4e5b15(0xa1)],_0x42cc9b=new _0x191bb5(_0x5b031f,{'queryView':{'label':_0xe2cbe5(_0x5b031f,_0x4e5b15(0x7a)),'creator':_0x443000,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xe2cbe5(_0x5b031f,_0x4e5b15(0x76)),'secondary':_0xe2cbe5(_0x5b031f,_0x4e5b15(0xa4))}}},'filteredView':this[_0x4e5b15(0xc6)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x42cc9b[_0x4e5b15(0xbf)](_0x4e5b15(0x98))['to'](this,_0x4e5b15(0x98),this,_0x4e5b15(0xaa),(_0x301477,_0x1d5727)=>_0x301477&&!_0x1d5727),this[_0x4e5b15(0x91)](_0x42cc9b,_0x4e5b15(0xb3),(_0x5782ca,_0x385f0a)=>{const _0x4c4b89=_0x4e5b15;this[_0x4c4b89(0xa5)]=_0x385f0a;const _0xf8fb82=_0x30eb9d(_0x385f0a);this[_0x4c4b89(0x9e)](_0x4c4b89(0xb9),_0xf8fb82),_0x385f0a[_0x4c4b89(0xcd)]()&&this[_0x4c4b89(0xc5)][_0x4c4b89(0x8b)]({'prompt':_0xf8fb82},0x0);},{'priority':_0x4e5b15(0x80)}),_0x42cc9b;}[_0x2959b5(0xc6)](){const _0x1340e2=_0x2959b5,_0x11e6f9=new _0x3ea686(this[_0x1340e2(0xa1)]);return _0x11e6f9[_0x1340e2(0xc0)][_0x1340e2(0x77)][_0x1340e2(0xcf)](this[_0x1340e2(0xc5)])['as'](_0x380776),_0x11e6f9['on'](_0x1340e2(0xaf),()=>{const _0xa68fc3=_0x1340e2;this[_0xa68fc3(0xc5)][_0xa68fc3(0xad)](),this[_0xa68fc3(0xa0)][_0xa68fc3(0xae)](''),this[_0xa68fc3(0xa0)][_0xa68fc3(0x9f)]();}),_0x11e6f9;}[_0x2959b5(0xa6)](){const _0x3f22e5=_0x2959b5,_0x26066d=new _0xc38876(this[_0x3f22e5(0xa1)]);return _0x26066d[_0x3f22e5(0x97)][_0x3f22e5(0xbf)](_0x3f22e5(0x98))['to'](this,_0x3f22e5(0x98),this,_0x3f22e5(0xaa),this,_0x3f22e5(0xc2),(_0x180877,_0x211c1a,_0x359bc8)=>_0x180877&&!_0x211c1a&&!!_0x359bc8),_0x26066d[_0x3f22e5(0x97)][_0x3f22e5(0xba)](_0x3f22e5(0xa7))['to'](this,_0x3f22e5(0x7e)),_0x26066d[_0x3f22e5(0xb6)][_0x3f22e5(0xbf)](_0x3f22e5(0x98))['to'](this,_0x3f22e5(0x98),this,_0x3f22e5(0xaa),this,_0x3f22e5(0xc2),(_0x15f075,_0xaff5d2,_0x24bc46)=>_0x15f075&&!_0xaff5d2&&!!_0x24bc46),_0x26066d[_0x3f22e5(0xb6)][_0x3f22e5(0xba)](_0x3f22e5(0xa7))['to'](this,_0x3f22e5(0x99)),_0x26066d[_0x3f22e5(0x9d)][_0x3f22e5(0xbf)](_0x3f22e5(0x98))['to'](this,_0x3f22e5(0x98),this,_0x3f22e5(0xaa),(_0x150e37,_0xafa926)=>_0x150e37&&!_0xafa926),_0x26066d[_0x3f22e5(0x9d)][_0x3f22e5(0xba)](_0x3f22e5(0xa7))['to'](this,_0x3f22e5(0xc8)),_0x26066d[_0x3f22e5(0xb0)][_0x3f22e5(0xbf)](_0x3f22e5(0x98))['to'](this,_0x3f22e5(0xaa)),_0x26066d[_0x3f22e5(0xb0)][_0x3f22e5(0xba)](_0x3f22e5(0xa7))['to'](this,_0x3f22e5(0x79)),_0x26066d;}[_0x2959b5(0x87)](){const _0x2858fc=_0x2959b5;this[_0x2858fc(0xc2)]='',this[_0x2858fc(0xb7)]=!0x1,this[_0x2858fc(0xaa)]=!0x0,this[_0x2858fc(0x8f)][_0x2858fc(0x84)]=!0x0,this[_0x2858fc(0x8a)][_0x2858fc(0x84)]=!0x0,this[_0x2858fc(0x8f)][_0x2858fc(0x9f)]();}[_0x2959b5(0x83)](){const _0x43f9c6=_0x2959b5,_0x5cbe25=this[_0x43f9c6(0xa1)];this[_0x43f9c6(0xaa)]=!0x1,this[_0x43f9c6(0xa5)]='',this[_0x43f9c6(0xa0)][_0x43f9c6(0xa2)](),this[_0x43f9c6(0xc2)]&&(this[_0x43f9c6(0xa0)][_0x43f9c6(0xb2)][_0x43f9c6(0x7b)]=_0xe2cbe5(_0x5cbe25,_0x43f9c6(0x88)));}[_0x2959b5(0xc1)](_0x7afa0a){const _0x3d2b69=_0x2959b5,_0x1c5d00=this[_0x3d2b69(0xa1)];this[_0x3d2b69(0x83)](),this[_0x3d2b69(0xb7)]=!0x0,this[_0x3d2b69(0x9c)][_0x3d2b69(0x7c)]=_0x7afa0a||_0xe2cbe5(_0x1c5d00,_0x3d2b69(0xbc)),this[_0x3d2b69(0xc2)]||(this[_0x3d2b69(0x8f)][_0x3d2b69(0x84)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x38ec59,_0x1c3152){const _0x369350=_0x57d6,_0x527b1c=_0x38ec59();while(!![]){try{const _0x1e9630=parseInt(_0x369350(0x1f3))/0x1+-parseInt(_0x369350(0x1f1))/0x2*(parseInt(_0x369350(0x1e9))/0x3)+-parseInt(_0x369350(0x1e8))/0x4+-parseInt(_0x369350(0x1f0))/0x5+parseInt(_0x369350(0x1f4))/0x6*(parseInt(_0x369350(0x1ea))/0x7)+-parseInt(_0x369350(0x1ec))/0x8*(parseInt(_0x369350(0x1e7))/0x9)+parseInt(_0x369350(0x1ef))/0xa;if(_0x1e9630===_0x1c3152)break;else _0x527b1c['push'](_0x527b1c['shift']());}catch(_0x35b1e9){_0x527b1c['push'](_0x527b1c['shift']());}}}(_0x5f17,0xb4456));function _0x5f17(){const _0x3c67c8=['116834ARFPGw','execute','1253848sxyUeG','2838iYdhHc','prompt','fire','set','18UOsmfQ','4291572EAMOok','15ZIgViz','10696UbxgdS','locale','3487456ouFjHr','children','add','22294640TXyrLY','6154120ehYxMa'];_0x5f17=function(){return _0x3c67c8;};return _0x5f17();}import{ListItemView as _0x49cb51,ButtonView as _0x4241e5}from'ckeditor5/src/ui.js';import _0x340489 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x385169}from'lodash-es';function _0x57d6(_0x25d580,_0x11f390){const _0x5f17cd=_0x5f17();return _0x57d6=function(_0x57d6a6,_0xe2dd8a){_0x57d6a6=_0x57d6a6-0x1e4;let _0x3c72b4=_0x5f17cd[_0x57d6a6];return _0x3c72b4;},_0x57d6(_0x25d580,_0x11f390);}export default class hs extends _0x49cb51{constructor(_0x4602c8){const _0xbb589d=_0x57d6;super();const _0x4bf9db=new _0x340489(),_0x328b0c=new _0x4241e5(this[_0xbb589d(0x1eb)],_0x4bf9db);this[_0xbb589d(0x1ed)][_0xbb589d(0x1ee)](_0x328b0c),_0x328b0c[_0xbb589d(0x1e6)]({'label':_0x4602c8[_0xbb589d(0x1e4)],'withText':!0x0}),_0x328b0c['on'](_0xbb589d(0x1f2),()=>{const _0xcf0271=_0xbb589d;this[_0xcf0271(0x1e5)](_0xcf0271(0x1f2),{'value':_0x385169(_0x4602c8[_0xcf0271(0x1e4)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14510b=_0x1dd2;function _0x1dd2(_0x49f98a,_0x4ffc5d){const _0x25c954=_0x25c9();return _0x1dd2=function(_0x1dd269,_0x3e6360){_0x1dd269=_0x1dd269-0x77;let _0x276ba4=_0x25c954[_0x1dd269];return _0x276ba4;},_0x1dd2(_0x49f98a,_0x4ffc5d);}(function(_0x1930e0,_0x5d7008){const _0x4bbb0a=_0x1dd2,_0x2a8cfb=_0x1930e0();while(!![]){try{const _0x8684a5=parseInt(_0x4bbb0a(0x7e))/0x1*(-parseInt(_0x4bbb0a(0x83))/0x2)+-parseInt(_0x4bbb0a(0x87))/0x3*(parseInt(_0x4bbb0a(0x8e))/0x4)+parseInt(_0x4bbb0a(0x7c))/0x5+parseInt(_0x4bbb0a(0x91))/0x6*(parseInt(_0x4bbb0a(0x8b))/0x7)+-parseInt(_0x4bbb0a(0x85))/0x8*(parseInt(_0x4bbb0a(0x80))/0x9)+parseInt(_0x4bbb0a(0x7f))/0xa*(-parseInt(_0x4bbb0a(0x84))/0xb)+-parseInt(_0x4bbb0a(0x7d))/0xc*(-parseInt(_0x4bbb0a(0x94))/0xd);if(_0x8684a5===_0x5d7008)break;else _0x2a8cfb['push'](_0x2a8cfb['shift']());}catch(_0x398976){_0x2a8cfb['push'](_0x2a8cfb['shift']());}}}(_0x25c9,0xa6cb2));import{ListView as _0x5262f5,ListItemGroupView as _0x313ba1,ButtonView as _0x3a51c5}from'ckeditor5/src/ui.js';import{getTranslation as _0x109e06}from'../../utils/common-translations.js';export default class rs extends _0x5262f5{constructor(_0x141735){const _0x15fec2=_0x1dd2;super(_0x141735),this[_0x15fec2(0x78)]=this[_0x15fec2(0x82)](),this[_0x15fec2(0x81)]=new _0x313ba1(),this[_0x15fec2(0x81)][_0x15fec2(0x8c)][_0x15fec2(0x8a)](this[_0x15fec2(0x78)],0x1),this[_0x15fec2(0x81)][_0x15fec2(0x7a)]=_0x109e06(_0x141735,_0x15fec2(0x89)),this[_0x15fec2(0x81)][_0x15fec2(0x86)][_0x15fec2(0x93)](_0x15fec2(0x77))['to'](this),this[_0x15fec2(0x86)][_0x15fec2(0x8a)](this[_0x15fec2(0x81)]);}[_0x14510b(0x8d)](){const _0x9ce793=_0x14510b;let _0x1844ed=0x0;for(const _0x15ef7f of this[_0x9ce793(0x86)])_0x1844ed+=_0x15ef7f[_0x9ce793(0x86)][_0x9ce793(0x7b)];return{'resultsCount':_0x1844ed,'totalItemsCount':_0x1844ed};}[_0x14510b(0x82)](){const _0x275cef=_0x14510b,_0x20f587=this[_0x275cef(0x88)],_0x31ca94=new _0x3a51c5(this[_0x275cef(0x88)]);return _0x31ca94[_0x275cef(0x79)]({'label':'('+_0x109e06(_0x20f587,_0x275cef(0x90))+')','withText':!0x0}),_0x31ca94['on'](_0x275cef(0x77),()=>this[_0x275cef(0x92)](_0x275cef(0x8f))),_0x31ca94;}}function _0x25c9(){const _0x4934e9=['locale','Prompt\x20history','add','14UObJrs','children','filter','717484iLxwIh','clearHistory','Clear','1495386JPGSao','fire','delegate','19215443TctAUQ','execute','clearHistoryButton','set','label','length','3360775qzhsjf','12IAyMWu','403453BApuxh','355370doGUXC','418329HyYqXu','historyGroupView','_createClearHistoryButton','6NUvSpO','22knrjGv','56vIBkuW','items','6TSnIzq'];_0x25c9=function(){return _0x4934e9;};return _0x25c9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57bab8=_0x2edb;(function(_0x54cbf9,_0x5cbb98){const _0x46ff44=_0x2edb,_0x3e3a3c=_0x54cbf9();while(!![]){try{const _0x1227bd=-parseInt(_0x46ff44(0x118))/0x1+-parseInt(_0x46ff44(0x10f))/0x2*(-parseInt(_0x46ff44(0x11d))/0x3)+parseInt(_0x46ff44(0x11c))/0x4*(-parseInt(_0x46ff44(0x111))/0x5)+-parseInt(_0x46ff44(0x107))/0x6*(-parseInt(_0x46ff44(0x10a))/0x7)+-parseInt(_0x46ff44(0x110))/0x8*(parseInt(_0x46ff44(0x105))/0x9)+-parseInt(_0x46ff44(0x11f))/0xa*(parseInt(_0x46ff44(0x106))/0xb)+parseInt(_0x46ff44(0x109))/0xc;if(_0x1227bd===_0x5cbb98)break;else _0x3e3a3c['push'](_0x3e3a3c['shift']());}catch(_0x6b7c81){_0x3e3a3c['push'](_0x3e3a3c['shift']());}}}(_0x2cee,0xa1867));function _0x2cee(){const _0x29a52f=['7SZDoBo','stringify','_loadFromSessionStorage','addMany','length','12tMznez','55864QMRali','3755UKCFPT','map','add','CKEditor/AIFormView/PromptHistory','toLowerCase','last','setItem','387868pyaLBP','trim','prompt','parse','2036cRYUeq','430917nZbEjA','_saveToSessionStorage','18010asPSDE','getItem','126oADonf','3322mklnZN','3442782MwiDJX','remove','7653204udFwyw'];_0x2cee=function(){return _0x29a52f;};return _0x2cee();}function _0x2edb(_0x3fcb66,_0x26a7fe){const _0x2ceebd=_0x2cee();return _0x2edb=function(_0x2edbaa,_0x3c937a){_0x2edbaa=_0x2edbaa-0x105;let _0x115c21=_0x2ceebd[_0x2edbaa];return _0x115c21;},_0x2edb(_0x3fcb66,_0x26a7fe);}import{Collection as _0x1d5dc7}from'ckeditor5/src/utils.js';const cs=_0x57bab8(0x114);export default class os extends _0x1d5dc7{constructor(){const _0x98d8a5=_0x57bab8;super(),this[_0x98d8a5(0x10c)](),this['on'](_0x98d8a5(0x113),(_0xf22d43,_0x2f4eff)=>{const _0x46104d=_0x98d8a5,_0x1c2999=Ss(_0x2f4eff[_0x46104d(0x11a)]);for(const _0x536417 of this)if(_0x536417!=_0x2f4eff&&Ss(_0x536417[_0x46104d(0x11a)])===_0x1c2999){this[_0x46104d(0x108)](_0x536417);break;}this[_0x46104d(0x10e)]>0x14&&this[_0x46104d(0x108)](this[_0x46104d(0x116)]),this[_0x46104d(0x11e)]();}),this['on'](_0x98d8a5(0x108),()=>{const _0x8da257=_0x98d8a5;this[_0x8da257(0x11e)]();});}[_0x57bab8(0x10c)](){const _0x5388a1=_0x57bab8,_0x173f73=sessionStorage[_0x5388a1(0x120)](cs)||'[]';this[_0x5388a1(0x10d)](JSON[_0x5388a1(0x11b)](_0x173f73));}[_0x57bab8(0x11e)](){const _0x467135=_0x57bab8;sessionStorage[_0x467135(0x117)](cs,JSON[_0x467135(0x10b)](this[_0x467135(0x112)](_0x4681e4=>_0x4681e4)));}}function Ss(_0x53298e){const _0x19ab23=_0x57bab8;return _0x53298e[_0x19ab23(0x115)]()[_0x19ab23(0x119)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x40a5df=_0x15f2;function _0x15f2(_0x12d7c9,_0x11544c){const _0x472f76=_0x472f();return _0x15f2=function(_0x15f27f,_0x8114a8){_0x15f27f=_0x15f27f-0x9b;let _0x4182ac=_0x472f76[_0x15f27f];return _0x4182ac;},_0x15f2(_0x12d7c9,_0x11544c);}(function(_0x466dc0,_0x411a1c){const _0x914023=_0x15f2,_0x2cc535=_0x466dc0();while(!![]){try{const _0x3dd14f=-parseInt(_0x914023(0xa6))/0x1+-parseInt(_0x914023(0xb7))/0x2*(-parseInt(_0x914023(0xb5))/0x3)+-parseInt(_0x914023(0x9e))/0x4+-parseInt(_0x914023(0xc0))/0x5+parseInt(_0x914023(0xaf))/0x6*(-parseInt(_0x914023(0xa2))/0x7)+parseInt(_0x914023(0xc5))/0x8*(-parseInt(_0x914023(0x9f))/0x9)+-parseInt(_0x914023(0xc3))/0xa*(-parseInt(_0x914023(0xa1))/0xb);if(_0x3dd14f===_0x411a1c)break;else _0x2cc535['push'](_0x2cc535['shift']());}catch(_0x330c91){_0x2cc535['push'](_0x2cc535['shift']());}}}(_0x472f,0x4af8c));import{Command as _0x44aac9}from'ckeditor5/src/core.js';import _0x294371 from'../aiassistantui.js';function _0x472f(){const _0x4b0b93=['1298205OFSrqq','change:_hasContext','2iBXiSg','getFirstRange','get','config','requiresContent','hasContent','enabledCommandsIds','isCollapsed','plugins','1223720SSiLJX','length','document','130Txmbrp','set','8zTNOLn','isEnabled','add','model','isEmpty','name','editor','includes','588292ubUcbz','4276863NuvhBJ','getSelectedBlocks','873114jfPFfD','7GWHmJi','reduce','element','selection','214122KApigp','from','_hasContext','ai.aiAssistant.disabledElements','showUI','change:isEnabled','commands','getItems','getRanges','458202FpMgVV','concat','refresh','custom','_commandDefinitions','execute'];_0x472f=function(){return _0x4b0b93;};return _0x472f();}export default class j extends _0x44aac9{constructor(_0xd47361,_0x550a5e){const _0x30f419=_0x15f2;super(_0xd47361),this[_0x30f419(0xb3)]=_0x550a5e?_0x550a5e[_0x30f419(0xa3)]((_0x4e28f7,_0x52895e)=>_0x4e28f7[_0x30f419(0xb0)](_0x52895e[_0x30f419(0xac)]),new Array()):[],this[_0x30f419(0xc4)](_0x30f419(0xbd),[]),this['on'](_0x30f419(0xb6),(_0xeede3f,_0x18a865,_0x3d2dbc)=>{const _0x497f25=_0x30f419;this[_0x497f25(0xc6)]&&(this[_0x497f25(0xbd)]=K(this[_0x497f25(0xb3)],_0x3d2dbc));}),this[_0x30f419(0xc4)](_0x30f419(0xa8),!0x1),this['on'](_0x30f419(0xab),(_0x426d81,_0x5778c5,_0x3c38e3)=>{const _0x795f95=_0x30f419;this[_0x795f95(0xbd)]=_0x3c38e3?K(this[_0x795f95(0xb3)],this[_0x795f95(0xa8)]):[];});}[_0x40a5df(0xb1)](){const _0x38f69f=_0x40a5df,_0x28f4ff=this[_0x38f69f(0x9c)][_0x38f69f(0xc8)];this[_0x38f69f(0xa8)]=function(_0x773881){const _0x124262=_0x38f69f,_0x4cedce=_0x773881[_0x124262(0xc2)][_0x124262(0xa5)];return _0x4cedce[_0x124262(0xbe)]?0x0!==[..._0x4cedce[_0x124262(0xa0)]()][_0x124262(0xc1)]&&![..._0x4cedce[_0x124262(0xa0)]()][0x0][_0x124262(0xc9)]:!!_0x773881[_0x124262(0xbc)](_0x4cedce[_0x124262(0xb8)]());}(_0x28f4ff);const _0x5eebdf=_0x28f4ff[_0x38f69f(0xc2)][_0x38f69f(0xa5)],_0x23501c=this[_0x38f69f(0x9c)][_0x38f69f(0xba)][_0x38f69f(0xb9)](_0x38f69f(0xa9));for(const _0x52cb9c of _0x5eebdf[_0x38f69f(0xae)]())for(const _0x2591c2 of _0x52cb9c[_0x38f69f(0xad)]())if(_0x2591c2['is'](_0x38f69f(0xa4))&&_0x23501c[_0x38f69f(0x9d)](_0x2591c2[_0x38f69f(0x9b)]))return void(this[_0x38f69f(0xc6)]=!0x1);this[_0x38f69f(0xc6)]=!0x0;}[_0x40a5df(0xb4)](_0x453e53='',_0x36dc35='',_0x33ca95=_0x40a5df(0xb2)){const _0x445aa7=_0x40a5df;this[_0x445aa7(0x9c)][_0x445aa7(0xbf)][_0x445aa7(0xb9)](_0x294371)[_0x445aa7(0xaa)](_0x453e53,_0x36dc35,_0x33ca95);}}function K(_0x5d8143,_0xc8e498){const _0x52cb06=_0x40a5df,_0x59d4c6=new Set();for(const _0x975123 of _0x5d8143)(_0xc8e498||!0x1===_0x975123[_0x52cb06(0xbb)])&&_0x59d4c6[_0x52cb06(0xc7)](_0x975123['id']);return Array[_0x52cb06(0xa7)](_0x59d4c6);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x44e048,_0x594b1c,_0xf0025f){const t=_0x44e048['t'];switch(_0x594b1c){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',_0xf0025f);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',_0xf0025f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xf0025f);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'},_0xf0025f);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 _0x594b1c;}}
|