@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2
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 +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3708aa=_0x1745;(function(_0x357bff,_0x4aca5e){const _0x1b335c=_0x1745,_0x4a9418=_0x357bff();while(!![]){try{const _0x3c3a1f=parseInt(_0x1b335c(0x9a))/0x1+-parseInt(_0x1b335c(0xac))/0x2*(-parseInt(_0x1b335c(0x97))/0x3)+parseInt(_0x1b335c(0xa6))/0x4+parseInt(_0x1b335c(0x9b))/0x5*(-parseInt(_0x1b335c(0xa4))/0x6)+parseInt(_0x1b335c(0xa8))/0x7+-parseInt(_0x1b335c(0x9f))/0x8+parseInt(_0x1b335c(0x9d))/0x9*(-parseInt(_0x1b335c(0xa9))/0xa);if(_0x3c3a1f===_0x4aca5e)break;else _0x4a9418['push'](_0x4a9418['shift']());}catch(_0x42ca58){_0x4a9418['push'](_0x4a9418['shift']());}}}(_0x5992,0xa9d8d));import{FormRowView as _0x2fd9f6,ListItemView as _0x15ee9e}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x2cbd13}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x15ee9e{[_0x3708aa(0x99)]=null;constructor(_0x1d7ae1,_0xa8cd37,_0x950e37){const _0x29f30c=_0x3708aa;super(_0x1d7ae1),this[_0x29f30c(0xa3)]=_0xa8cd37?.[_0x29f30c(0xa3)];if(_0x29f30c(0xad)===_0xa8cd37[_0x29f30c(0xae)])this[_0x29f30c(0x99)]=new _0x2cbd13(this[_0x29f30c(0xa5)],_0xa8cd37);this[_0x29f30c(0x9e)](_0x29f30c(0xaa),''),this[_0x29f30c(0x96)](_0x29f30c(0xaa))['to'](this[_0x29f30c(0x99)],_0x29f30c(0xab));const _0x5bb587=new _0x2fd9f6(this[_0x29f30c(0xa5)],{'children':[this[_0x29f30c(0x99)]],'class':[_0x950e37?_0x29f30c(0x9c):'']});_0x950e37&&_0x5bb587[_0x29f30c(0xaf)][_0x29f30c(0xa1)](_0x950e37),this[_0x29f30c(0xa2)]({'tag':_0x29f30c(0x95),'attributes':{'class':['ck',_0x29f30c(0xa7),_0x29f30c(0xa0)]},'children':[_0x5bb587]});}[_0x3708aa(0x98)](){const _0x3c4eb4=_0x3708aa;this[_0x3c4eb4(0x99)][_0x3c4eb4(0x98)]();}}function _0x1745(_0x4e3e11,_0x293699){const _0x5992b7=_0x5992();return _0x1745=function(_0x17454e,_0x2083b8){_0x17454e=_0x17454e-0x95;let _0x101c0b=_0x5992b7[_0x17454e];return _0x101c0b;},_0x1745(_0x4e3e11,_0x293699);}function _0x5992(){const _0x5201f3=['bind','29451XuwEqV','resetToDefault','_formItem','310403wSRCCD','20885fFKLhP','ck-form__row_with-submit','27pTodKu','set','2280768eeXIIH','ck-reset_all','add','setTemplate','argsKey','432Mttixy','locale','4361412gMNCEe','ck-ai_review__form-item','9048599jZPmys','5720690DIZdlp','value','formValue','62yLIoCg','dropdown','formType','children','div'];_0x5992=function(){return _0x5201f3;};return _0x5992();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x11e5(_0x44d77c,_0x39970c){const _0x5054f1=_0x5054();return _0x11e5=function(_0x11e52b,_0xab655d){_0x11e52b=_0x11e52b-0x161;let _0x14f300=_0x5054f1[_0x11e52b];return _0x14f300;},_0x11e5(_0x44d77c,_0x39970c);}const _0x52ee63=_0x11e5;function _0x5054(){const _0x47b3b8=['3185265YfgUkP','correctness','make','2083704SWzHSn','1591976NVUYlg','Custom\x20command','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','dropdown','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','560559XDkLcJ','professional','Adjust\x20length','Friendly','casual','shorter','2rJKCdp','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','confident','Direct','Confident','Readability','Correctness','Professional','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','654036uTMcsC','Clarity','3830256AhELGr','72VErQBI','make-tone','longer','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','direct','Shorter','readability','friendly','Casual','1264897PvSuBS','length','clarity','tone','custom','Longer','Adjust\x20tone\x20and\x20style','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.'];_0x5054=function(){return _0x47b3b8;};return _0x5054();}(function(_0x5d9e6c,_0x3c0ee6){const _0x1c86b6=_0x11e5,_0x49de76=_0x5d9e6c();while(!![]){try{const _0x17d73b=-parseInt(_0x1c86b6(0x18c))/0x1+parseInt(_0x1c86b6(0x177))/0x2*(parseInt(_0x1c86b6(0x171))/0x3)+-parseInt(_0x1c86b6(0x180))/0x4+-parseInt(_0x1c86b6(0x168))/0x5+parseInt(_0x1c86b6(0x182))/0x6+parseInt(_0x1c86b6(0x16b))/0x7+-parseInt(_0x1c86b6(0x16c))/0x8*(-parseInt(_0x1c86b6(0x183))/0x9);if(_0x17d73b===_0x3c0ee6)break;else _0x49de76['push'](_0x49de76['shift']());}catch(_0x1893c6){_0x49de76['push'](_0x49de76['shift']());}}}(_0x5054,0x9e8ca));export const AI_REVIEW_CHECKS=[{'id':_0x52ee63(0x164),'commandId':_0x52ee63(0x164),'title':_0x52ee63(0x16d),'description':_0x52ee63(0x170),'isParameterized':!0x0},{'id':_0x52ee63(0x169),'commandId':_0x52ee63(0x169),'title':_0x52ee63(0x17d),'description':_0x52ee63(0x167),'isParameterized':!0x1},{'id':_0x52ee63(0x162),'commandId':_0x52ee63(0x162),'title':_0x52ee63(0x181),'description':_0x52ee63(0x16e),'isParameterized':!0x1},{'id':_0x52ee63(0x189),'commandId':_0x52ee63(0x189),'title':_0x52ee63(0x17c),'description':_0x52ee63(0x178),'isParameterized':!0x1},{'id':_0x52ee63(0x161),'commandId':_0x52ee63(0x16a),'title':_0x52ee63(0x173),'description':_0x52ee63(0x17f),'isParameterized':!0x0,'options':[{'formType':_0x52ee63(0x16f),'label':_0x52ee63(0x173),'default':_0x52ee63(0x185),'data':[{'label':_0x52ee63(0x165),'id':_0x52ee63(0x185)},{'label':_0x52ee63(0x188),'id':_0x52ee63(0x176)}]}]},{'id':_0x52ee63(0x163),'commandId':_0x52ee63(0x184),'title':_0x52ee63(0x166),'description':_0x52ee63(0x186),'isParameterized':!0x0,'options':[{'formType':_0x52ee63(0x16f),'label':_0x52ee63(0x166),'default':_0x52ee63(0x175),'data':[{'label':_0x52ee63(0x18b),'id':_0x52ee63(0x175)},{'label':_0x52ee63(0x17a),'id':_0x52ee63(0x187)},{'label':_0x52ee63(0x174),'id':_0x52ee63(0x18a)},{'label':_0x52ee63(0x17b),'id':_0x52ee63(0x179)},{'label':_0x52ee63(0x17e),'id':_0x52ee63(0x172)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x12ccfc=_0x15c0;(function(_0x7f944d,_0x14f9c4){var _0x9f749c=_0x15c0,_0x5d1f9b=_0x7f944d();while(!![]){try{var _0x441127=parseInt(_0x9f749c(0x1ba))/0x1+-parseInt(_0x9f749c(0x1b5))/0x2+parseInt(_0x9f749c(0x1bb))/0x3*(parseInt(_0x9f749c(0x1b7))/0x4)+parseInt(_0x9f749c(0x1b1))/0x5+-parseInt(_0x9f749c(0x1b0))/0x6*(parseInt(_0x9f749c(0x1b3))/0x7)+parseInt(_0x9f749c(0x1b8))/0x8+parseInt(_0x9f749c(0x1b6))/0x9*(-parseInt(_0x9f749c(0x1b4))/0xa);if(_0x441127===_0x14f9c4)break;else _0x5d1f9b['push'](_0x5d1f9b['shift']());}catch(_0x216062){_0x5d1f9b['push'](_0x5d1f9b['shift']());}}}(_0x1e4b,0xad889));import{ContextPlugin as _0x3a982f}from'ckeditor5/src/core.js';function _0x15c0(_0x1a5e62,_0x5bd450){var _0x1e4bad=_0x1e4b();return _0x15c0=function(_0x15c057,_0x36024a){_0x15c057=_0x15c057-0x1ad;var _0x1b3468=_0x1e4bad[_0x15c057];return _0x1b3468;},_0x15c0(_0x1a5e62,_0x5bd450);}import{AIReviewModeUI as _0x292366}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x450287}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x3795f3}from'./aireviewmodecontroller.js';function _0x1e4b(){var _0x5781ea=['isPremiumPlugin','1159109cbVOki','48NbNYno','AIReviewMode','pluginName','requires','78KhHjLx','1550730Zsdkwm','isOfficialPlugin','554463YIXEZB','14933170PpfDFh','147622kJFvDE','9Dxugda','129676VFbtwc','10557432NUnhji'];_0x1e4b=function(){return _0x5781ea;};return _0x1e4b();}export class AIReviewMode extends _0x3a982f{static get[_0x12ccfc(0x1af)](){return[_0x3795f3,_0x292366,_0x450287];}static get[_0x12ccfc(0x1ae)](){var _0x45c078=_0x12ccfc;return _0x45c078(0x1ad);}static get[_0x12ccfc(0x1b2)](){return!0x0;}static get[_0x12ccfc(0x1b9)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf8f5f=_0x367f;function _0x367f(_0xebc05d,_0x4a8119){const _0x223689=_0x2236();return _0x367f=function(_0x367f85,_0xb5063f){_0x367f85=_0x367f85-0x180;let _0x21383c=_0x223689[_0x367f85];return _0x21383c;},_0x367f(_0xebc05d,_0x4a8119);}(function(_0x1d1cc4,_0xad2568){const _0x265af1=_0x367f,_0x297880=_0x1d1cc4();while(!![]){try{const _0x16ce5c=-parseInt(_0x265af1(0x205))/0x1+-parseInt(_0x265af1(0x191))/0x2*(parseInt(_0x265af1(0x186))/0x3)+-parseInt(_0x265af1(0x1ed))/0x4+-parseInt(_0x265af1(0x209))/0x5+-parseInt(_0x265af1(0x1fb))/0x6*(parseInt(_0x265af1(0x1c2))/0x7)+-parseInt(_0x265af1(0x19b))/0x8+-parseInt(_0x265af1(0x1d4))/0x9*(-parseInt(_0x265af1(0x1a7))/0xa);if(_0x16ce5c===_0xad2568)break;else _0x297880['push'](_0x297880['shift']());}catch(_0x49d627){_0x297880['push'](_0x297880['shift']());}}}(_0x2236,0xc4d56));import{CKEditorError as _0x36c905}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x53a60b}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x103f25}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x728085}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x796a37}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x1e96d3}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x128de1}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0xedcaa4}from'./model/aireviewcheckcustom.js';function _0x2236(){const _0x578a9f=['hover','domEvent','map','getEditor','getMarkerElementForChange','_aiConnector','_onChangeMarkerClicked','deactivateChange','custom','5609796DFudtw','removeCheckById','_aiReviewCoreEditing','viewportOffset','resetActiveStateInResults','some','getClassNames','ck-ai_review-','_diffContent','_onReviewCheckRun','setActiveStateInResults','isCustom','ai-review-mode-non-existent-commands-used','hideChangeBalloon','60qWGqDY','getChangeById','defaultModel','isExtra','default','_getChecksList','_hasDefaultAvailableCommands','getElement','getDocumentData','_translateReviewCheck','1580497diYatJ','uiInteraction','markChangePositionInEditorContent','setMarkersInElementAsActive','2145525qpNAya','startsWith','ai.review.availableCommands','define','_getChangeContentElement','_createReviewCheckRun','join','_aiReviewCoreUi','15eiwzZz','push','_OPTIONS_LABEL','showDiffInBalloon','markerElement','AIReviewModeController','_onDeactivateChange','document','getDomRoot','_scrollToChange','length','471200oQLhlE','options','ai.review.extraCommands','panel','getAll','title','model','showChangeBalloon','removeClass','_initRequiredPlugins','1664592qUcfDp','_onChangeMarkerHovered','forEach','getDefault','AI_REVIEW_CHECK_','_onActivateChange','hideDiffInBalloon','checks','activateChange','ai-review-mode-command-unavailable-due-to-missing-model','ai.models','content','11678890AFKmHk','args','balloon','addClass','replaceAll','view','AIReviewCoreEditing','_DESCRIPTION','ai-review-mode-models-unable-to-retrieve','_currentReviewCheckRun','find','config','_TITLE','locale','params','_changeActivationSource','toUpperCase','_markChangePositionInEditorContent','_onReviewCheckResultDeactivated','_OPTIONS_DATA_','setupChecks','_logError','isAnyChangeActivated','_isDiffOn','diffContent','_getModels','get','164563IqWhoj','context','change','getAvailableModels','_getExtraChecks','toggleDiff','filter','plugins','ck-ai_review-highlights','data','ck-ai_review-diff','all','init','_filterChecksWithMissingModel','getRoot','label','models','pluginName','45spYOfn','_onDiffChange','editing','changeId','AIReviewModeUI','_onReviewCheckResultActivated','description','_getTranslationWithDefault','_onChangeMarkerBlurred','prompt','recommended','setAllMarkersAsInactive','origin','click','_logErrorForNonExistentChecks','listenTo'];_0x2236=function(){return _0x578a9f;};return _0x2236();}import{AIReviewCheckExtra as _0x5dcd64}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2bb39d}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x53a60b{static get[_0xf8f5f(0x1d3)](){const _0x4a7855=_0xf8f5f;return _0x4a7855(0x18b);}[_0xf8f5f(0x1be)]=!0x1;[_0xf8f5f(0x201)]=!0x1;constructor(_0x1f1465){const _0x40264a=_0xf8f5f;super(_0x1f1465),this[_0x40264a(0x201)]=!this[_0x40264a(0x1c3)][_0x40264a(0x1b2)][_0x40264a(0x1c1)](_0x40264a(0x180)),this[_0x40264a(0x1c3)][_0x40264a(0x1b2)][_0x40264a(0x181)](_0x40264a(0x180),_0x103f25[_0x40264a(0x1e6)](_0x59c8c6=>_0x59c8c6['id'])),this[_0x40264a(0x1c3)][_0x40264a(0x1b2)][_0x40264a(0x181)](_0x40264a(0x193),[]);}async[_0xf8f5f(0x1ce)](){const _0x2ef62a=_0xf8f5f;await super[_0x2ef62a(0x1ce)](),this[_0x2ef62a(0x1e3)](this[_0x2ef62a(0x185)],_0x2ef62a(0x1c7),(_0x2ddf42,_0x1c33a2)=>{const _0x473a49=_0x2ef62a;this[_0x473a49(0x1be)]=_0x1c33a2['on'],this[_0x473a49(0x1d5)](this[_0x473a49(0x1be)]);});}[_0xf8f5f(0x19a)](){const _0x4dc29e=_0xf8f5f;super[_0x4dc29e(0x19a)](),this[_0x4dc29e(0x185)]=this[_0x4dc29e(0x1c3)][_0x4dc29e(0x1c9)][_0x4dc29e(0x1c1)](_0x4dc29e(0x1d8)),this[_0x4dc29e(0x1ef)]=this[_0x4dc29e(0x1c3)][_0x4dc29e(0x1c9)][_0x4dc29e(0x1c1)](_0x4dc29e(0x1ad));}[_0xf8f5f(0x183)](_0x2bda0b,_0x297744){const _0x108585=_0xf8f5f;return _0x2bda0b[_0x108585(0x1f8)]?new _0x796a37(_0x2bda0b[_0x108585(0x1a8)][_0x108585(0x1dd)],_0x2bda0b[_0x108585(0x1a8)][_0x108585(0x197)],this[_0x108585(0x1ef)][_0x108585(0x203)](),_0x297744,this[_0x108585(0x1e9)]):_0x297744[_0x108585(0x1fe)]?new _0x2bb39d(_0x297744[_0x108585(0x1dd)],_0x297744[_0x108585(0x1fd)]['id'],this[_0x108585(0x1ef)][_0x108585(0x203)](),_0x297744,this[_0x108585(0x1e9)]):new _0x1e96d3(this[_0x108585(0x1ef)][_0x108585(0x203)](),_0x297744,this[_0x108585(0x1e9)],_0x2bda0b[_0x108585(0x1b5)],_0x2bda0b[_0x108585(0x1a8)]);}[_0xf8f5f(0x1d9)](_0x3b0f66){const _0x3f0abf=_0xf8f5f;this[_0x3f0abf(0x185)][_0x3f0abf(0x1f7)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']),this[_0x3f0abf(0x18f)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']);const _0x2f51b9=this[_0x3f0abf(0x1ef)][_0x3f0abf(0x1e8)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']);if(!_0x2f51b9)return;const _0x1906df=this[_0x3f0abf(0x1ef)][_0x3f0abf(0x1e7)]();this[_0x3f0abf(0x185)][_0x3f0abf(0x198)](_0x3b0f66[_0x3f0abf(0x1c4)],()=>_0x2f51b9[_0x3f0abf(0x202)](),void 0x0,_0x3f0abf(0x1e1),_0x1906df?.[_0x3f0abf(0x1d6)]?.[_0x3f0abf(0x1ac)]?.[_0x3f0abf(0x18e)](),_0x1906df?.['ui']?.[_0x3f0abf(0x1f0)]),this[_0x3f0abf(0x1ef)][_0x3f0abf(0x208)](_0x3b0f66[_0x3f0abf(0x1c4)]['id']);}[_0xf8f5f(0x1b9)](){const _0x2fa06b=_0xf8f5f;this[_0x2fa06b(0x185)][_0x2fa06b(0x1f1)](),this[_0x2fa06b(0x185)][_0x2fa06b(0x1fa)](),this[_0x2fa06b(0x1ef)][_0x2fa06b(0x1df)]();}[_0xf8f5f(0x1a0)](_0x1d9c71){const _0xe626f6=_0xf8f5f;this[_0xe626f6(0x1b0)]&&_0xe626f6(0x1e1)===_0x1d9c71[_0xe626f6(0x206)]&&(this[_0xe626f6(0x1b6)]=_0xe626f6(0x194),this[_0xe626f6(0x1b0)][_0xe626f6(0x1a3)](_0x1d9c71['id']));}[_0xf8f5f(0x18c)](_0x5649e7){const _0x5650df=_0xf8f5f;this[_0x5650df(0x1b0)]&&_0x5650df(0x1a9)===_0x5649e7[_0x5650df(0x1e0)]&&this[_0x5650df(0x1b0)][_0x5650df(0x1eb)]();}[_0xf8f5f(0x1ea)](_0x3186b9,_0x2f00d9){const _0x77bfed=_0xf8f5f;if(!this[_0x77bfed(0x1b0)])return;this[_0x77bfed(0x1b6)]=_0x77bfed(0x1a6),this[_0x77bfed(0x1b0)][_0x77bfed(0x1a3)](_0x2f00d9[_0x77bfed(0x1d7)]);const _0x67cc17=this[_0x77bfed(0x1b0)][_0x77bfed(0x1fc)](_0x2f00d9[_0x77bfed(0x1d7)]);if(!_0x67cc17)return;const _0x4cc43a=this[_0x77bfed(0x1ef)][_0x77bfed(0x1e7)]();this[_0x77bfed(0x185)][_0x77bfed(0x198)](_0x67cc17,_0x2f00d9[_0x77bfed(0x18a)],_0x2f00d9[_0x77bfed(0x1e5)],_0x77bfed(0x1e1),_0x4cc43a?.[_0x77bfed(0x1d6)]?.[_0x77bfed(0x1ac)]?.[_0x77bfed(0x18e)](),_0x4cc43a?.['ui']?.[_0x77bfed(0x1f0)]);}[_0xf8f5f(0x19c)](_0x2e5c40,_0x97d263){const _0x3a23e5=_0xf8f5f;if(!this[_0x3a23e5(0x1b0)])return;if(this[_0x3a23e5(0x1b0)][_0x3a23e5(0x1bd)]())return;const _0x2cf663=this[_0x3a23e5(0x1b0)][_0x3a23e5(0x1fc)](_0x97d263[_0x3a23e5(0x1d7)]);if(!_0x2cf663)return;const _0x58f7db=this[_0x3a23e5(0x1ef)][_0x3a23e5(0x1e7)]();this[_0x3a23e5(0x185)][_0x3a23e5(0x198)](_0x2cf663,_0x97d263[_0x3a23e5(0x18a)],_0x97d263[_0x3a23e5(0x1e5)],_0x3a23e5(0x1e4),_0x58f7db?.[_0x3a23e5(0x1d6)]?.[_0x3a23e5(0x1ac)]?.[_0x3a23e5(0x18e)](),_0x58f7db?.['ui']?.[_0x3a23e5(0x1f0)]);}[_0xf8f5f(0x1dc)](){const _0x4b30c3=_0xf8f5f;if(!this[_0x4b30c3(0x1b0)])return;this[_0x4b30c3(0x1b0)][_0x4b30c3(0x1bd)]()||this[_0x4b30c3(0x185)][_0x4b30c3(0x1fa)]();}[_0xf8f5f(0x182)](_0x383bda){const _0xde8d41=_0xf8f5f,_0x55f24a=this[_0xde8d41(0x1ef)][_0xde8d41(0x1e8)](_0x383bda);return _0x55f24a?_0x55f24a[_0xde8d41(0x202)]():null;}[_0xf8f5f(0x1b8)](_0x12bd55,_0x487cf8){const _0x4e42ca=_0xf8f5f;this[_0x4e42ca(0x1ef)][_0x4e42ca(0x207)](_0x12bd55,_0x487cf8);}[_0xf8f5f(0x1f5)](_0x4694d1,_0x365ca5){const _0x25624f=_0xf8f5f;return this[_0x25624f(0x1ef)][_0x25624f(0x1bf)](_0x4694d1,_0x365ca5);}[_0xf8f5f(0x1f6)](){const _0x3351de=_0xf8f5f;this[_0x3351de(0x1d5)](this[_0x3351de(0x1be)]);}[_0xf8f5f(0x1d5)](_0x165f26){const _0x2d27b2=_0xf8f5f,_0x232229=this[_0x2d27b2(0x1ef)][_0x2d27b2(0x1e7)]();_0x165f26?this[_0x2d27b2(0x185)][_0x2d27b2(0x1a1)]():this[_0x2d27b2(0x185)][_0x2d27b2(0x189)](),_0x232229&&_0x232229[_0x2d27b2(0x1d6)][_0x2d27b2(0x1ac)][_0x2d27b2(0x1c4)](_0x1a8cc2=>{const _0x3528f5=_0x2d27b2,_0x10ed30=_0x232229[_0x3528f5(0x1d6)][_0x3528f5(0x1ac)][_0x3528f5(0x18d)][_0x3528f5(0x1d0)]();for(const _0x33bc8e of _0x10ed30[_0x3528f5(0x1f3)]())_0x33bc8e[_0x3528f5(0x20a)](_0x3528f5(0x1f4))&&_0x1a8cc2[_0x3528f5(0x199)](_0x33bc8e,_0x10ed30);_0x1a8cc2[_0x3528f5(0x1aa)](_0x165f26?_0x3528f5(0x1cc):_0x3528f5(0x1ca),_0x10ed30);});}async[_0xf8f5f(0x200)](){const _0x6eb782=_0xf8f5f,_0x4fce4a=[..._0x103f25,...this[_0x6eb782(0x1c6)]()],_0xb27bb5=this[_0x6eb782(0x1c3)][_0x6eb782(0x1b2)][_0x6eb782(0x1c1)](_0x6eb782(0x180))||[];this[_0x6eb782(0x1e2)](_0xb27bb5,_0x4fce4a);let _0xb191c5=_0x4fce4a;this[_0x6eb782(0x201)]||(_0xb191c5=_0xb27bb5[_0x6eb782(0x1e6)](_0x1bcc1b=>_0x4fce4a[_0x6eb782(0x1b1)](_0x883c78=>_0x883c78['id']===_0x1bcc1b))[_0x6eb782(0x1c8)](_0x1d4e52=>!!_0x1d4e52)),_0xb191c5=_0xb191c5[_0x6eb782(0x1e6)](_0xcfd5a4=>_0xcfd5a4[_0x6eb782(0x1fe)]?_0xcfd5a4:this[_0x6eb782(0x204)](_0xcfd5a4));const _0x6015f1=_0xb191c5[_0x6eb782(0x1f2)](_0x18a3fe=>_0x18a3fe[_0x6eb782(0x1fe)]||_0x6eb782(0x1ec)===_0x18a3fe['id']);let _0x2af04c=[],_0x15bd53=[],_0x3714f4=null;if(_0x6015f1){const _0x5c0a8f=await this[_0x6eb782(0x1c0)]();_0x2af04c=_0x5c0a8f[_0x6eb782(0x1cd)],_0x15bd53=_0x5c0a8f[_0x6eb782(0x1de)],_0x3714f4=_0x5c0a8f[_0x6eb782(0x1ff)];}const _0x137352=new _0x728085(_0x2af04c,_0x15bd53,_0x3714f4);return _0x137352[_0x6eb782(0x1bb)](_0xb191c5),_0x6015f1&&this[_0x6eb782(0x1cf)](_0x137352),_0x137352;}[_0xf8f5f(0x1c6)](){const _0x36a329=_0xf8f5f;return(this[_0x36a329(0x1c3)][_0x36a329(0x1b2)][_0x36a329(0x1c1)](_0x36a329(0x193))||[])[_0x36a329(0x1e6)](_0x4c2cb8=>({'id':_0x4c2cb8['id'],'commandId':_0x4c2cb8['id'],'title':_0x4c2cb8[_0x36a329(0x1d1)],'description':_0x4c2cb8[_0x36a329(0x1da)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x4c2cb8[_0x36a329(0x1dd)],'model':_0x4c2cb8[_0x36a329(0x197)]}));}[_0xf8f5f(0x1e2)](_0x9a8541,_0x316e1b){const _0x297333=_0xf8f5f,_0x54bda8=_0x9a8541[_0x297333(0x1c8)](_0x3160c4=>!_0x316e1b[_0x297333(0x1f2)](_0x1e4db7=>_0x1e4db7['id']===_0x3160c4));_0x54bda8[_0x297333(0x190)]&&this[_0x297333(0x1bc)](new _0x36c905(_0x297333(0x1f9),this,{'commandIds':_0x54bda8[_0x297333(0x184)](',\x20')}),!0x0);}async[_0xf8f5f(0x1c0)](){const _0x2635bb=_0xf8f5f;try{const _0x5438ed=new _0x128de1({'connector':this[_0x2635bb(0x1e9)],'config':this[_0x2635bb(0x1c3)][_0x2635bb(0x1b2)][_0x2635bb(0x1c1)](_0x2635bb(0x1a5)),'locale':this[_0x2635bb(0x1c3)][_0x2635bb(0x1b4)]});return{'all':await _0x5438ed[_0x2635bb(0x195)](),'recommended':await _0x5438ed[_0x2635bb(0x1c5)](),'default':await _0x5438ed[_0x2635bb(0x19e)]()};}catch(_0x308ff6){return this[_0x2635bb(0x1bc)](new _0x36c905(_0x2635bb(0x1af),this,void 0x0,_0x308ff6)),{'all':[],'recommended':[],'default':null};}}[_0xf8f5f(0x204)](_0x47fb77){const _0x440bcf=_0xf8f5f,_0x115d59=_0x440bcf(0x19f)+_0x47fb77['id'][_0x440bcf(0x1b7)]()[_0x440bcf(0x1ab)]('-','_'),_0x2cd8e8={..._0x47fb77,'title':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x1b3),_0x47fb77[_0x440bcf(0x196)]),'description':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x1ae),_0x47fb77[_0x440bcf(0x1da)])};return _0x47fb77[_0x440bcf(0x192)]&&(_0x2cd8e8[_0x440bcf(0x192)]=_0x47fb77[_0x440bcf(0x192)][_0x440bcf(0x1e6)](_0x65ef89=>({..._0x65ef89,'label':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x188),_0x65ef89[_0x440bcf(0x1d1)]||''),'data':_0x65ef89[_0x440bcf(0x1cb)]?_0x65ef89[_0x440bcf(0x1cb)][_0x440bcf(0x1e6)](_0x5298ad=>({..._0x5298ad,'label':this[_0x440bcf(0x1db)](_0x115d59+_0x440bcf(0x1ba)+_0x5298ad['id'][_0x440bcf(0x1b7)](),_0x5298ad[_0x440bcf(0x1d1)])})):void 0x0}))),_0x2cd8e8;}[_0xf8f5f(0x1cf)](_0x1260ad){const _0x53c097=_0xf8f5f,_0x566230=[];_0x1260ad[_0x53c097(0x1a2)][_0x53c097(0x19d)](_0x2c3805=>{const _0x43dac2=_0x53c097;(_0x2c3805 instanceof _0x5dcd64&&!_0x2c3805[_0x43dac2(0x1fd)]||_0x2c3805 instanceof _0xedcaa4&&!_0x2c3805[_0x43dac2(0x1d2)][_0x43dac2(0x190)])&&_0x566230[_0x43dac2(0x187)](_0x2c3805['id']);}),_0x566230[_0x53c097(0x190)]&&_0x566230[_0x53c097(0x19d)](_0x50fade=>{const _0x13a9dc=_0x53c097;_0x1260ad[_0x13a9dc(0x1ee)](_0x50fade),this[_0x13a9dc(0x1bc)](new _0x36c905(_0x13a9dc(0x1a4),this,{'commandId':_0x50fade}),!0x0);});}}
|
|
23
|
+
const _0x55a02e=_0x2b15;(function(_0x283779,_0xe58945){const _0x108de3=_0x2b15,_0x169441=_0x283779();while(!![]){try{const _0x4f990c=parseInt(_0x108de3(0xfd))/0x1+parseInt(_0x108de3(0xa2))/0x2*(-parseInt(_0x108de3(0xf3))/0x3)+parseInt(_0x108de3(0xc1))/0x4+parseInt(_0x108de3(0xc3))/0x5*(-parseInt(_0x108de3(0x102))/0x6)+-parseInt(_0x108de3(0xd4))/0x7*(parseInt(_0x108de3(0x88))/0x8)+-parseInt(_0x108de3(0xd0))/0x9+-parseInt(_0x108de3(0xad))/0xa*(-parseInt(_0x108de3(0x110))/0xb);if(_0x4f990c===_0xe58945)break;else _0x169441['push'](_0x169441['shift']());}catch(_0x7f784d){_0x169441['push'](_0x169441['shift']());}}}(_0x44a4,0x5113f));import{CKEditorError as _0x15664c}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x2fd4e4}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x3b2ffe}from'./aireviewcheckdefinitions.js';function _0x44a4(){const _0x1fbb1a=['map','_aiConnector','_onReviewCheckResultDeactivated','_onActivateChange','ck-ai_review-','getDefault','AI_REVIEW_CHECK_','isCustom','3DqXVbN','getAvailableModels','params','_onChangeMarkerBlurred','args','AIReviewModeController','_diffContent','_scrollToChange','_TITLE','_logError','594144shatdw','join','setActiveStateInResults','_currentReviewCheckRun','custom','108468fZimnN','_initRequiredPlugins','showDiffInBalloon','ai-review-mode-non-existent-commands-used','changeId','filter','deactivateChange','_DESCRIPTION','change','balloon','_hasDefaultAvailableCommands','editing','options','getDocumentData','721193bnAxEG','locale','ai-review-mode-models-unable-to-retrieve','document','40FRfqfb','removeClass','startsWith','_getExtraChecks','panel','_getTranslationWithDefault','push','_OPTIONS_LABEL','_translateReviewCheck','data','_logErrorForNonExistentChecks','define','_changeActivationSource','isExtra','view','pluginName','AIReviewModeUI','hover','ai.review.extraCommands','getEditor','content','activateChange','click','plugins','markChangePositionInEditorContent','_filterChecksWithMissingModel','415542zJsogh','_onChangeMarkerClicked','getClassNames','uiInteraction','defaultModel','setupChecks','ai.review.availableCommands','ai.models','_aiReviewCoreUi','forEach','getDomRoot','80IfIBLC','markerElement','getRoot','viewportOffset','ck-ai_review-diff','_isDiffOn','_markChangePositionInEditorContent','_onDiffChange','getChangeById','config','removeCheckById','replaceAll','toUpperCase','setMarkersInElementAsActive','label','_OPTIONS_DATA_','getAll','_onChangeMarkerHovered','toggleDiff','description','2584208NDMwbV','showChangeBalloon','80gzlDZE','prompt','getElement','ai-review-mode-command-unavailable-due-to-missing-model','setAllMarkersAsInactive','recommended','_aiReviewCoreEditing','init','diffContent','domEvent','_onReviewCheckRun','model','models','2825109pQzEBx','listenTo','checks','length','870359IRNIOy','hideDiffInBalloon','_getModels','get','origin','default','_getChecksList','_getChangeContentElement','isAnyChangeActivated','AIReviewCoreEditing','find','hideChangeBalloon','all','title','ck-ai_review-highlights','_createReviewCheckRun','some','_onReviewCheckResultActivated','context','_onDeactivateChange','getMarkerElementForChange','resetActiveStateInResults','addClass'];_0x44a4=function(){return _0x1fbb1a;};return _0x44a4();}function _0x2b15(_0x44afb7,_0x31135e){const _0x44a419=_0x44a4();return _0x2b15=function(_0x2b152d,_0x4002eb){_0x2b152d=_0x2b152d-0x86;let _0x57d2c1=_0x44a419[_0x2b152d];return _0x57d2c1;},_0x2b15(_0x44afb7,_0x31135e);}import{AIReviewModeCheckList as _0x796d82}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x5e37ee}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x14018e}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x604a53}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x55ec72}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x1b63a9}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2d14fe}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x2fd4e4{static get[_0x55a02e(0x97)](){const _0x188c53=_0x55a02e;return _0x188c53(0xf8);}[_0x55a02e(0xb2)]=!0x1;[_0x55a02e(0x10c)]=!0x1;constructor(_0x204b48){const _0x1b1cb4=_0x55a02e;super(_0x204b48),this[_0x1b1cb4(0x10c)]=!this[_0x1b1cb4(0xe6)][_0x1b1cb4(0xb6)][_0x1b1cb4(0xd7)](_0x1b1cb4(0xa8)),this[_0x1b1cb4(0xe6)][_0x1b1cb4(0xb6)][_0x1b1cb4(0x93)](_0x1b1cb4(0xa8),_0x3b2ffe[_0x1b1cb4(0xeb)](_0x7c4724=>_0x7c4724['id'])),this[_0x1b1cb4(0xe6)][_0x1b1cb4(0xb6)][_0x1b1cb4(0x93)](_0x1b1cb4(0x9a),[]);}async[_0x55a02e(0xca)](){const _0x412f8b=_0x55a02e;await super[_0x412f8b(0xca)](),this[_0x412f8b(0xd1)](this[_0x412f8b(0xaa)],_0x412f8b(0xbf),(_0x1cc459,_0x31fdcd)=>{const _0x717264=_0x412f8b;this[_0x717264(0xb2)]=_0x31fdcd['on'],this[_0x717264(0xb4)](this[_0x717264(0xb2)]);});}[_0x55a02e(0x103)](){const _0x4a90f6=_0x55a02e;super[_0x4a90f6(0x103)](),this[_0x4a90f6(0xaa)]=this[_0x4a90f6(0xe6)][_0x4a90f6(0x9f)][_0x4a90f6(0xd7)](_0x4a90f6(0x98)),this[_0x4a90f6(0xc9)]=this[_0x4a90f6(0xe6)][_0x4a90f6(0x9f)][_0x4a90f6(0xd7)](_0x4a90f6(0xdd));}[_0x55a02e(0xe3)](_0x514c2d,_0x452715){const _0x199b5a=_0x55a02e;return _0x514c2d[_0x199b5a(0xf2)]?new _0x5e37ee(_0x514c2d[_0x199b5a(0xf7)][_0x199b5a(0xc4)],_0x514c2d[_0x199b5a(0xf7)][_0x199b5a(0xce)],this[_0x199b5a(0xc9)][_0x199b5a(0x10f)](),_0x452715,this[_0x199b5a(0xec)]):_0x452715[_0x199b5a(0x95)]?new _0x2d14fe(_0x452715[_0x199b5a(0xc4)],_0x452715[_0x199b5a(0xa6)]['id'],this[_0x199b5a(0xc9)][_0x199b5a(0x10f)](),_0x452715,this[_0x199b5a(0xec)]):new _0x14018e(this[_0x199b5a(0xc9)][_0x199b5a(0x10f)](),_0x452715,this[_0x199b5a(0xec)],_0x514c2d[_0x199b5a(0xf5)],_0x514c2d[_0x199b5a(0xf7)]);}[_0x55a02e(0xe5)](_0x4a5513){const _0x520203=_0x55a02e;this[_0x520203(0xaa)][_0x520203(0xff)](_0x4a5513[_0x520203(0x10a)]['id']),this[_0x520203(0xfa)](_0x4a5513[_0x520203(0x10a)]['id']);const _0x2f291f=this[_0x520203(0xc9)][_0x520203(0xe8)](_0x4a5513[_0x520203(0x10a)]['id']);if(!_0x2f291f)return;const _0x3f66cb=this[_0x520203(0xc9)][_0x520203(0x9b)]();this[_0x520203(0xaa)][_0x520203(0xc2)](_0x4a5513[_0x520203(0x10a)],()=>_0x2f291f[_0x520203(0xc5)](),void 0x0,_0x520203(0x9e),_0x3f66cb?.[_0x520203(0x10d)]?.[_0x520203(0x96)]?.[_0x520203(0xac)](),_0x3f66cb?.['ui']?.[_0x520203(0xb0)]),this[_0x520203(0xc9)][_0x520203(0xba)](_0x4a5513[_0x520203(0x10a)]['id']);}[_0x55a02e(0xed)](){const _0x58c988=_0x55a02e;this[_0x58c988(0xaa)][_0x58c988(0xe9)](),this[_0x58c988(0xaa)][_0x58c988(0xdf)](),this[_0x58c988(0xc9)][_0x58c988(0xc7)]();}[_0x55a02e(0xee)](_0x30391f){const _0xc8c01f=_0x55a02e;this[_0xc8c01f(0x100)]&&_0xc8c01f(0x9e)===_0x30391f[_0xc8c01f(0xa5)]&&(this[_0xc8c01f(0x94)]=_0xc8c01f(0x8c),this[_0xc8c01f(0x100)][_0xc8c01f(0x9d)](_0x30391f['id']));}[_0x55a02e(0xe7)](_0x20b64d){const _0x213584=_0x55a02e;this[_0x213584(0x100)]&&_0x213584(0x10b)===_0x20b64d[_0x213584(0xd8)]&&this[_0x213584(0x100)][_0x213584(0x108)]();}[_0x55a02e(0xa3)](_0x243cac,_0x13209e){const _0x95578d=_0x55a02e;if(!this[_0x95578d(0x100)])return;this[_0x95578d(0x94)]=_0x95578d(0x9c),this[_0x95578d(0x100)][_0x95578d(0x9d)](_0x13209e[_0x95578d(0x106)]);const _0xcc79ae=this[_0x95578d(0x100)][_0x95578d(0xb5)](_0x13209e[_0x95578d(0x106)]);if(!_0xcc79ae)return;const _0x2b6e1b=this[_0x95578d(0xc9)][_0x95578d(0x9b)]();this[_0x95578d(0xaa)][_0x95578d(0xc2)](_0xcc79ae,_0x13209e[_0x95578d(0xae)],_0x13209e[_0x95578d(0xcc)],_0x95578d(0x9e),_0x2b6e1b?.[_0x95578d(0x10d)]?.[_0x95578d(0x96)]?.[_0x95578d(0xac)](),_0x2b6e1b?.['ui']?.[_0x95578d(0xb0)]);}[_0x55a02e(0xbe)](_0x3c3e76,_0x28281c){const _0x51bca5=_0x55a02e;if(!this[_0x51bca5(0x100)])return;if(this[_0x51bca5(0x100)][_0x51bca5(0xdc)]())return;const _0xaf665c=this[_0x51bca5(0x100)][_0x51bca5(0xb5)](_0x28281c[_0x51bca5(0x106)]);if(!_0xaf665c)return;const _0x141a42=this[_0x51bca5(0xc9)][_0x51bca5(0x9b)]();this[_0x51bca5(0xaa)][_0x51bca5(0xc2)](_0xaf665c,_0x28281c[_0x51bca5(0xae)],_0x28281c[_0x51bca5(0xcc)],_0x51bca5(0x99),_0x141a42?.[_0x51bca5(0x10d)]?.[_0x51bca5(0x96)]?.[_0x51bca5(0xac)](),_0x141a42?.['ui']?.[_0x51bca5(0xb0)]);}[_0x55a02e(0xf6)](){const _0x1ed2a6=_0x55a02e;if(!this[_0x1ed2a6(0x100)])return;this[_0x1ed2a6(0x100)][_0x1ed2a6(0xdc)]()||this[_0x1ed2a6(0xaa)][_0x1ed2a6(0xdf)]();}[_0x55a02e(0xdb)](_0x1236c4){const _0x11d02e=_0x55a02e,_0x454e6a=this[_0x11d02e(0xc9)][_0x11d02e(0xe8)](_0x1236c4);return _0x454e6a?_0x454e6a[_0x11d02e(0xc5)]():null;}[_0x55a02e(0xb3)](_0x347f2c,_0x1bee82){const _0x21f644=_0x55a02e;this[_0x21f644(0xc9)][_0x21f644(0xa0)](_0x347f2c,_0x1bee82);}[_0x55a02e(0xf9)](_0x32e1f1,_0x37a9c9){const _0x2a3b49=_0x55a02e;return this[_0x2a3b49(0xc9)][_0x2a3b49(0xcb)](_0x32e1f1,_0x37a9c9);}[_0x55a02e(0xcd)](){const _0x38dade=_0x55a02e;this[_0x38dade(0xb4)](this[_0x38dade(0xb2)]);}[_0x55a02e(0xb4)](_0xc1951c){const _0x2de68f=_0x55a02e,_0x429cad=this[_0x2de68f(0xc9)][_0x2de68f(0x9b)]();_0xc1951c?this[_0x2de68f(0xaa)][_0x2de68f(0xd5)]():this[_0x2de68f(0xaa)][_0x2de68f(0x104)](),_0x429cad&&_0x429cad[_0x2de68f(0x10d)][_0x2de68f(0x96)][_0x2de68f(0x10a)](_0x36a163=>{const _0x28e4bd=_0x2de68f,_0x59569f=_0x429cad[_0x28e4bd(0x10d)][_0x28e4bd(0x96)][_0x28e4bd(0x87)][_0x28e4bd(0xaf)]();for(const _0x34ba4e of _0x59569f[_0x28e4bd(0xa4)]())_0x34ba4e[_0x28e4bd(0x8a)](_0x28e4bd(0xef))&&_0x36a163[_0x28e4bd(0x89)](_0x34ba4e,_0x59569f);_0x36a163[_0x28e4bd(0xea)](_0xc1951c?_0x28e4bd(0xb1):_0x28e4bd(0xe2),_0x59569f);});}async[_0x55a02e(0xda)](){const _0x1deb4d=_0x55a02e,_0x58254e=[..._0x3b2ffe,...this[_0x1deb4d(0x8b)]()],_0x4d4394=this[_0x1deb4d(0xe6)][_0x1deb4d(0xb6)][_0x1deb4d(0xd7)](_0x1deb4d(0xa8))||[];this[_0x1deb4d(0x92)](_0x4d4394,_0x58254e);let _0x1bd381=_0x58254e;this[_0x1deb4d(0x10c)]||(_0x1bd381=_0x4d4394[_0x1deb4d(0xeb)](_0x348d68=>_0x58254e[_0x1deb4d(0xde)](_0x4daf32=>_0x4daf32['id']===_0x348d68))[_0x1deb4d(0x107)](_0x20aafe=>!!_0x20aafe)),_0x1bd381=_0x1bd381[_0x1deb4d(0xeb)](_0x551362=>_0x551362[_0x1deb4d(0x95)]?_0x551362:this[_0x1deb4d(0x90)](_0x551362));const _0x487a4c=_0x1bd381[_0x1deb4d(0xe4)](_0x58e66d=>_0x58e66d[_0x1deb4d(0x95)]||_0x1deb4d(0x101)===_0x58e66d['id']);let _0x15984b=[],_0x43257b=[],_0x43b143=null;if(_0x487a4c){const _0x46e092=await this[_0x1deb4d(0xd6)]();_0x15984b=_0x46e092[_0x1deb4d(0xe0)],_0x43257b=_0x46e092[_0x1deb4d(0xc8)],_0x43b143=_0x46e092[_0x1deb4d(0xd9)];}const _0x5e910f=new _0x796d82(_0x15984b,_0x43257b,_0x43b143);return _0x5e910f[_0x1deb4d(0xa7)](_0x1bd381),_0x487a4c&&this[_0x1deb4d(0xa1)](_0x5e910f),_0x5e910f;}[_0x55a02e(0x8b)](){const _0xd82599=_0x55a02e;return(this[_0xd82599(0xe6)][_0xd82599(0xb6)][_0xd82599(0xd7)](_0xd82599(0x9a))||[])[_0xd82599(0xeb)](_0x56907a=>({'id':_0x56907a['id'],'commandId':_0x56907a['id'],'title':_0x56907a[_0xd82599(0xbb)],'description':_0x56907a[_0xd82599(0xc0)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x56907a[_0xd82599(0xc4)],'model':_0x56907a[_0xd82599(0xce)]}));}[_0x55a02e(0x92)](_0x31cee4,_0x519484){const _0x566f76=_0x55a02e,_0x3f0787=_0x31cee4[_0x566f76(0x107)](_0x28708c=>!_0x519484[_0x566f76(0xe4)](_0x5dd278=>_0x5dd278['id']===_0x28708c));_0x3f0787[_0x566f76(0xd3)]&&this[_0x566f76(0xfc)](new _0x15664c(_0x566f76(0x105),this,{'commandIds':_0x3f0787[_0x566f76(0xfe)](',\x20')}),!0x0);}async[_0x55a02e(0xd6)](){const _0xeb904a=_0x55a02e;try{const _0x161d7c=new _0x604a53({'connector':this[_0xeb904a(0xec)],'config':this[_0xeb904a(0xe6)][_0xeb904a(0xb6)][_0xeb904a(0xd7)](_0xeb904a(0xa9)),'locale':this[_0xeb904a(0xe6)][_0xeb904a(0x111)]});return{'all':await _0x161d7c[_0xeb904a(0xbd)](),'recommended':await _0x161d7c[_0xeb904a(0xf4)](),'default':await _0x161d7c[_0xeb904a(0xf0)]()};}catch(_0x1911b1){return this[_0xeb904a(0xfc)](new _0x15664c(_0xeb904a(0x86),this,void 0x0,_0x1911b1)),{'all':[],'recommended':[],'default':null};}}[_0x55a02e(0x90)](_0x455d84){const _0x4a7f27=_0x55a02e,_0x13fca4=_0x4a7f27(0xf1)+_0x455d84['id'][_0x4a7f27(0xb9)]()[_0x4a7f27(0xb8)]('-','_'),_0x23c565={..._0x455d84,'title':this[_0x4a7f27(0x8d)](_0x13fca4+_0x4a7f27(0xfb),_0x455d84[_0x4a7f27(0xe1)]),'description':this[_0x4a7f27(0x8d)](_0x13fca4+_0x4a7f27(0x109),_0x455d84[_0x4a7f27(0xc0)])};return _0x455d84[_0x4a7f27(0x10e)]&&(_0x23c565[_0x4a7f27(0x10e)]=_0x455d84[_0x4a7f27(0x10e)][_0x4a7f27(0xeb)](_0x3fb348=>({..._0x3fb348,'label':this[_0x4a7f27(0x8d)](_0x13fca4+_0x4a7f27(0x8f),_0x3fb348[_0x4a7f27(0xbb)]||''),'data':_0x3fb348[_0x4a7f27(0x91)]?_0x3fb348[_0x4a7f27(0x91)][_0x4a7f27(0xeb)](_0x56fff1=>({..._0x56fff1,'label':this[_0x4a7f27(0x8d)](_0x13fca4+_0x4a7f27(0xbc)+_0x56fff1['id'][_0x4a7f27(0xb9)](),_0x56fff1[_0x4a7f27(0xbb)])})):void 0x0}))),_0x23c565;}[_0x55a02e(0xa1)](_0x4932de){const _0x4007d8=_0x55a02e,_0x2d2877=[];_0x4932de[_0x4007d8(0xd2)][_0x4007d8(0xab)](_0x3c1bd3=>{const _0x737e1d=_0x4007d8;(_0x3c1bd3 instanceof _0x1b63a9&&!_0x3c1bd3[_0x737e1d(0xa6)]||_0x3c1bd3 instanceof _0x55ec72&&!_0x3c1bd3[_0x737e1d(0xcf)][_0x737e1d(0xd3)])&&_0x2d2877[_0x737e1d(0x8e)](_0x3c1bd3['id']);}),_0x2d2877[_0x4007d8(0xd3)]&&_0x2d2877[_0x4007d8(0xab)](_0x113b99=>{const _0x5ac48d=_0x4007d8;_0x4932de[_0x5ac48d(0xb7)](_0x113b99),this[_0x5ac48d(0xfc)](new _0x15664c(_0x5ac48d(0xc6),this,{'commandId':_0x113b99}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e7b(){const _0x2e702c=['_mainView','44464SKhSWr','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','get','addTab','4rusbtG','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','leaveReview','pluginName','628410SPMVpi','107495VnZIwJ','3XYloFF','registerTab','plugins','42juIFEV','locale','517898ckvDLK','AIReviewModeUI','2958504NXumKw','getReviewCheckList','activateTab','view','AI_REVIEW_MODE','fire','context','ck-ai-header\x20ck-ai-header_review','reviewMode','532774SCwLct','createMainView','AITabs','134019KPFGVJ','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'];_0x3e7b=function(){return _0x2e702c;};return _0x3e7b();}const _0x5aa53c=_0x2795;(function(_0x4d2526,_0x5cd496){const _0x193b3d=_0x2795,_0x5f5411=_0x4d2526();while(!![]){try{const _0x3aa1ec=parseInt(_0x193b3d(0xc0))/0x1+parseInt(_0x193b3d(0xb5))/0x2*(parseInt(_0x193b3d(0xb0))/0x3)+parseInt(_0x193b3d(0xa9))/0x4*(-parseInt(_0x193b3d(0xaf))/0x5)+-parseInt(_0x193b3d(0xb3))/0x6*(parseInt(_0x193b3d(0xc6))/0x7)+-parseInt(_0x193b3d(0xb7))/0x8+-parseInt(_0x193b3d(0xc3))/0x9+-parseInt(_0x193b3d(0xae))/0xa;if(_0x3aa1ec===_0x5cd496)break;else _0x5f5411['push'](_0x5f5411['shift']());}catch(_0xd05634){_0x5f5411['push'](_0x5f5411['shift']());}}}(_0x3e7b,0x43ec7));import{FormHeaderView as _0x24a22}from'ckeditor5/src/ui.js';import{IconAIReview as _0x1655de}from'ckeditor5/src/icons.js';import{getTranslation as _0xc8dcd0}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x35b367}from'../aireviewcore/ui/aireviewcoreview.js';function _0x2795(_0x21d6a1,_0x5a82b2){const _0x3e7b6a=_0x3e7b();return _0x2795=function(_0x2795aa,_0x1b18c8){_0x2795aa=_0x2795aa-0xa9;let _0x259b6c=_0x3e7b6a[_0x2795aa];return _0x259b6c;},_0x2795(_0x21d6a1,_0x5a82b2);}import{AIReviewCoreUI as _0x10e162}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x22b701}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x342b53}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x383cbc}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x10e162{static get[_0x5aa53c(0xad)](){const _0x5d5215=_0x5aa53c;return _0x5d5215(0xb6);}[_0x5aa53c(0xc1)](){const _0x4d085b=_0x5aa53c,_0x37977c=this[_0x4d085b(0xbd)][_0x4d085b(0xb4)],_0x5594c2=new _0x24a22(_0x37977c,{'label':_0xc8dcd0(_0x37977c,_0x4d085b(0xbb)),'icon':_0x1655de,'class':_0x4d085b(0xbe)});return new _0x35b367(this[_0x4d085b(0xbd)][_0x4d085b(0xb4)],{'header':_0x5594c2,'list':new _0x383cbc(_0x37977c),'results':new _0x22b701(_0x37977c,{'generalErrorText':_0xc8dcd0(_0x37977c,_0x4d085b(0xab))}),'completed':new _0x342b53(_0x37977c,{'headerText':_0xc8dcd0(_0x37977c,_0x4d085b(0xc7)),'emptyResultsText':_0xc8dcd0(_0x37977c,_0x4d085b(0xc4)),'buttonText':_0xc8dcd0(_0x37977c,_0x4d085b(0xaa))})});}[_0x5aa53c(0xb1)](){const _0x1c6f79=_0x5aa53c,_0x23b3f1=this[_0x1c6f79(0xbd)][_0x1c6f79(0xb2)][_0x1c6f79(0xc8)](_0x1c6f79(0xc2));_0x23b3f1[_0x1c6f79(0xba)]['on'](_0x1c6f79(0xb9),(_0x33de64,_0x367767)=>{const _0x584ec5=_0x1c6f79;_0x584ec5(0xbf)===_0x367767?this[_0x584ec5(0xbc)](_0x584ec5(0xb8)):this[_0x584ec5(0xbc)](_0x584ec5(0xac));}),_0x23b3f1[_0x1c6f79(0xba)][_0x1c6f79(0xc9)]({'id':_0x1c6f79(0xbf),'buttonLabel':_0xc8dcd0(this[_0x1c6f79(0xbd)][_0x1c6f79(0xb4)],_0x1c6f79(0xbb)),'buttonIcon':_0x1655de,'order':0x0,'content':this[_0x1c6f79(0xc5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14aaed=_0x20a7;(function(_0x269ced,_0x31d4f3){var _0x40ff1a=_0x20a7,_0x2ee1ca=_0x269ced();while(!![]){try{var _0x367c30=-parseInt(_0x40ff1a(0x166))/0x1*(-parseInt(_0x40ff1a(0x15b))/0x2)+parseInt(_0x40ff1a(0x160))/0x3*(-parseInt(_0x40ff1a(0x168))/0x4)+-parseInt(_0x40ff1a(0x15c))/0x5+-parseInt(_0x40ff1a(0x15a))/0x6*(-parseInt(_0x40ff1a(0x163))/0x7)+parseInt(_0x40ff1a(0x15f))/0x8+-parseInt(_0x40ff1a(0x162))/0x9*(parseInt(_0x40ff1a(0x15e))/0xa)+parseInt(_0x40ff1a(0x15d))/0xb;if(_0x367c30===_0x31d4f3)break;else _0x2ee1ca['push'](_0x2ee1ca['shift']());}catch(_0x221b04){_0x2ee1ca['push'](_0x2ee1ca['shift']());}}}(_0x36cb,0x6a64d));import{AIReviewCheck as _0x413497}from'../../aireviewcore/model/aireviewcheck.js';function _0x20a7(_0xd929be,_0x475283){var _0x36cb9c=_0x36cb();return _0x20a7=function(_0x20a75e,_0x3aae30){_0x20a75e=_0x20a75e-0x15a;var _0xd6e229=_0x36cb9c[_0x20a75e];return _0xd6e229;},_0x20a7(_0xd929be,_0x475283);}function _0x36cb(){var _0x1898aa=['3634176OwZOFc','51amrVUU','_models','6011208ATOKMf','94941ZyacIw','models','defaultModel','215831wQTmzJ','_defaultModel','92744BdcmHi','6ptZCBk','6qEVLCP','3432760fKnIkH','11759957fevBid','10uWXfYW'];_0x36cb=function(){return _0x1898aa;};return _0x36cb();}export class AIReviewCheckCustom extends _0x413497{[_0x14aaed(0x161)]=[];[_0x14aaed(0x167)]=null;constructor(_0x57c6bd,_0x443418,_0x1df723){var _0x272a24=_0x14aaed;super(_0x57c6bd),this[_0x272a24(0x161)]=_0x443418,this[_0x272a24(0x167)]=_0x1df723;}get[_0x14aaed(0x164)](){var _0x350c4c=_0x14aaed;return this[_0x350c4c(0x161)];}get[_0x14aaed(0x165)](){var _0x26e56c=_0x14aaed;return this[_0x26e56c(0x167)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3e230b=_0x2363;(function(_0x1b36d2,_0x1c89cf){var _0x3c13b1=_0x2363,_0x40b0d1=_0x1b36d2();while(!![]){try{var _0x4143b1=parseInt(_0x3c13b1(0x159))/0x1+parseInt(_0x3c13b1(0x149))/0x2*(parseInt(_0x3c13b1(0x158))/0x3)+-parseInt(_0x3c13b1(0x153))/0x4*(parseInt(_0x3c13b1(0x14d))/0x5)+-parseInt(_0x3c13b1(0x14e))/0x6+parseInt(_0x3c13b1(0x156))/0x7*(parseInt(_0x3c13b1(0x14a))/0x8)+parseInt(_0x3c13b1(0x148))/0x9*(-parseInt(_0x3c13b1(0x157))/0xa)+parseInt(_0x3c13b1(0x152))/0xb*(-parseInt(_0x3c13b1(0x14c))/0xc);if(_0x4143b1===_0x1c89cf)break;else _0x40b0d1['push'](_0x40b0d1['shift']());}catch(_0x4041ac){_0x40b0d1['push'](_0x40b0d1['shift']());}}}(_0x35a7,0xcc120));function _0x35a7(){var _0x489465=['find','23340RdUqTD','26890KSljKp','2646486DGkUnb','_defaultModel','defaultModel','isExtra','1485ntfima','16oAUJlC','prompt','model','37485tEQodr','1673050SmFtFj','13206DuFkCQ','2852jWOGdH','9UMRBNO','728AvBpBE','184PVIRKh'];_0x35a7=function(){return _0x489465;};return _0x35a7();}function _0x2363(_0x4b7b44,_0x33f839){var _0x35a755=_0x35a7();return _0x2363=function(_0x2363ab,_0x2c0991){_0x2363ab=_0x2363ab-0x148;var _0x1db638=_0x35a755[_0x2363ab];return _0x1db638;},_0x2363(_0x4b7b44,_0x33f839);}import{AIReviewCheck as _0x460589}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x460589{[_0x3e230b(0x151)]=!0x0;[_0x3e230b(0x154)];[_0x3e230b(0x155)];[_0x3e230b(0x14f)]=null;constructor(_0xc51b2c,_0x5a4ec4,_0x1e728d){var _0x1fe1c2=_0x3e230b;super(_0xc51b2c),this[_0x1fe1c2(0x154)]=_0xc51b2c[_0x1fe1c2(0x154)],this[_0x1fe1c2(0x155)]=_0xc51b2c[_0x1fe1c2(0x155)],this[_0x1fe1c2(0x155)]?this[_0x1fe1c2(0x14f)]=_0x5a4ec4[_0x1fe1c2(0x14b)](_0x5eab4a=>_0x5eab4a['id']===this[_0x1fe1c2(0x155)])||null:this[_0x1fe1c2(0x14f)]=_0x1e728d;}get[_0x3e230b(0x150)](){var _0x11a0f8=_0x3e230b;return this[_0x11a0f8(0x14f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x35b2(_0x26c1fb,_0x503530){var _0x31075c=_0x3107();return _0x35b2=function(_0x35b257,_0x5eb72e){_0x35b257=_0x35b257-0x1a3;var _0x495193=_0x31075c[_0x35b257];return _0x495193;},_0x35b2(_0x26c1fb,_0x503530);}var _0x19e08d=_0x35b2;(function(_0x4cb3be,_0x414745){var _0x44b4b0=_0x35b2,_0x1a50b4=_0x4cb3be();while(!![]){try{var _0x4e7f59=parseInt(_0x44b4b0(0x1a4))/0x1+parseInt(_0x44b4b0(0x1a6))/0x2+-parseInt(_0x44b4b0(0x1a3))/0x3*(-parseInt(_0x44b4b0(0x1a9))/0x4)+parseInt(_0x44b4b0(0x1b0))/0x5+parseInt(_0x44b4b0(0x1ab))/0x6+-parseInt(_0x44b4b0(0x1af))/0x7+-parseInt(_0x44b4b0(0x1b2))/0x8*(parseInt(_0x44b4b0(0x1ac))/0x9);if(_0x4e7f59===_0x414745)break;else _0x1a50b4['push'](_0x1a50b4['shift']());}catch(_0xa2bea6){_0x1a50b4['push'](_0x1a50b4['shift']());}}}(_0x3107,0x4aedd));import{AIReviewCheckRun as _0x3bd497}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x3bd497{[_0x19e08d(0x1b3)];[_0x19e08d(0x1b5)];constructor(_0x2ed510,_0x44a5c6,_0x1d26c3,_0x48d773,_0x462374){var _0x168043=_0x19e08d;super(_0x1d26c3,_0x48d773,_0x462374),this[_0x168043(0x1b3)]=_0x2ed510,this[_0x168043(0x1b5)]=_0x44a5c6;}get[_0x19e08d(0x1a8)](){var _0x520fe8=_0x19e08d;return this[_0x520fe8(0x1b3)];}[_0x19e08d(0x1b4)](){var _0x5642cc=_0x19e08d;return this[_0x5642cc(0x1ad)][_0x5642cc(0x1aa)]({'content':this[_0x5642cc(0x1ae)][_0x5642cc(0x1b1)],'prompt':this[_0x5642cc(0x1b3)],'model':this[_0x5642cc(0x1b5)]});}[_0x19e08d(0x1a7)](_0x173051,_0x4fe9b5,_0x1f061a){var _0x17d70e=_0x19e08d;return this[_0x17d70e(0x1ad)][_0x17d70e(0x1a5)](_0x4fe9b5,_0x173051,_0x1f061a);}}function _0x3107(){var _0x32c060=['callCustomReview','674112mJTAbx','171hsYPaw','_aiConnector','_documentData','1011416TWjVTj','91230GvPgDx','content','163448RxUeWS','_prompt','_createApiRequest','_model','6294ZxIJyS','405300BRwOGl','upsertCustomAIReviewRating','523456JuFTFx','_sendRatingRequest','subTitle','80fRZaeY'];_0x3107=function(){return _0x32c060;};return _0x3107();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3f23fd=_0x1278;function _0x1278(_0x4f014f,_0x31c64b){var _0xa441b2=_0xa441();return _0x1278=function(_0x127899,_0x4bb60d){_0x127899=_0x127899-0xe8;var _0x489998=_0xa441b2[_0x127899];return _0x489998;},_0x1278(_0x4f014f,_0x31c64b);}(function(_0x26a8bc,_0x159d22){var _0x30c17f=_0x1278,_0x27d257=_0x26a8bc();while(!![]){try{var _0x526b8a=-parseInt(_0x30c17f(0xef))/0x1+parseInt(_0x30c17f(0xe8))/0x2*(parseInt(_0x30c17f(0xee))/0x3)+-parseInt(_0x30c17f(0xf6))/0x4+-parseInt(_0x30c17f(0xf5))/0x5*(parseInt(_0x30c17f(0xf4))/0x6)+-parseInt(_0x30c17f(0xea))/0x7+parseInt(_0x30c17f(0xe9))/0x8*(-parseInt(_0x30c17f(0xf0))/0x9)+parseInt(_0x30c17f(0xf7))/0xa*(parseInt(_0x30c17f(0xec))/0xb);if(_0x526b8a===_0x159d22)break;else _0x27d257['push'](_0x27d257['shift']());}catch(_0x3a13a3){_0x27d257['push'](_0x27d257['shift']());}}}(_0xa441,0x1f7a1));import{AIReviewCustomCheckRun as _0x31c4ff}from'./aireviewcustomcheckrun.js';function _0xa441(){var _0x8b3e61=['1527564puoceb','5cpujNq','548160UaHEdh','20KkMtYv','2MryrjJ','88rEmVbB','1407833ScZQdM','_prompt','4943191AXoJuo','prompt','219561OhaAbr','237320OCIyfJ','10593fULusW','_model','model','subTitle'];_0xa441=function(){return _0x8b3e61;};return _0xa441();}export class AIReviewExtraCheckRun extends _0x31c4ff{get[_0x3f23fd(0xf3)](){return'';}set[_0x3f23fd(0xed)](_0x3f1cd1){var _0x1b45bb=_0x3f23fd;this[_0x1b45bb(0xeb)]=_0x3f1cd1;}set[_0x3f23fd(0xf2)](_0x376792){var _0x5470fc=_0x3f23fd;this[_0x5470fc(0xf1)]=_0x376792;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51bfef=_0x222f;(function(_0xb7cd9e,_0x23ca39){var _0x58da10=_0x222f,_0x3c887a=_0xb7cd9e();while(!![]){try{var _0x49a8b9=-parseInt(_0x58da10(0x17d))/0x1*(parseInt(_0x58da10(0x177))/0x2)+-parseInt(_0x58da10(0x17e))/0x3+parseInt(_0x58da10(0x17a))/0x4+-parseInt(_0x58da10(0x16f))/0x5*(-parseInt(_0x58da10(0x175))/0x6)+-parseInt(_0x58da10(0x17b))/0x7+-parseInt(_0x58da10(0x180))/0x8+-parseInt(_0x58da10(0x179))/0x9*(-parseInt(_0x58da10(0x17f))/0xa);if(_0x49a8b9===_0x23ca39)break;else _0x3c887a['push'](_0x3c887a['shift']());}catch(_0x7a5ff0){_0x3c887a['push'](_0x3c887a['shift']());}}}(_0x4e92,0xec038));import{AIReviewCheckList as _0x1b48c4}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0xee2428}from'../../aireviewcore/model/aireviewcheck.js';function _0x222f(_0x53e913,_0x4bd0ee){var _0x4e9269=_0x4e92();return _0x222f=function(_0x222fdd,_0x361519){_0x222fdd=_0x222fdd-0x16f;var _0x367527=_0x4e9269[_0x222fdd];return _0x367527;},_0x222f(_0x53e913,_0x4bd0ee);}import{AIReviewCheckCustom as _0x2418a8}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x5aeac3}from'./aireviewcheckextra.js';function _0x4e92(){var _0x53f459=['2UtawPH','5018427KkhAgq','1110sLnZAr','6104472LbJYuK','50kxzQTg','map','setupChecks','_recommendedModels','custom','_checks','406734oIHdtn','isExtra','1261682POPwUS','_defaultModel','263394UVjNzp','5592204SuovgP','4621435jpbhfR','_allModels'];_0x4e92=function(){return _0x53f459;};return _0x4e92();}export class AIReviewModeCheckList extends _0x1b48c4{[_0x51bfef(0x17c)]=[];[_0x51bfef(0x172)]=[];[_0x51bfef(0x178)]=null;constructor(_0x49277e,_0x5ad9a0,_0x144958){var _0x1b2243=_0x51bfef;super(),this[_0x1b2243(0x17c)]=_0x49277e,this[_0x1b2243(0x172)]=_0x5ad9a0,this[_0x1b2243(0x178)]=_0x144958;}[_0x51bfef(0x171)](_0x2fa6ed){var _0x4888b1=_0x51bfef;this[_0x4888b1(0x174)]=_0x2fa6ed[_0x4888b1(0x170)](_0x43fb93=>!0x0===_0x43fb93[_0x4888b1(0x176)]?new _0x5aeac3(_0x43fb93,this[_0x4888b1(0x17c)],this[_0x4888b1(0x178)]):_0x4888b1(0x173)===_0x43fb93['id']?new _0x2418a8(_0x43fb93,this[_0x4888b1(0x172)],this[_0x4888b1(0x178)]):new _0xee2428(_0x43fb93));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c4b06=_0x2e2e;(function(_0x4e161d,_0x3b75d6){const _0x369044=_0x2e2e,_0x5c938d=_0x4e161d();while(!![]){try{const _0x4d48df=parseInt(_0x369044(0x165))/0x1*(-parseInt(_0x369044(0x16d))/0x2)+-parseInt(_0x369044(0x17c))/0x3*(parseInt(_0x369044(0x14c))/0x4)+-parseInt(_0x369044(0x164))/0x5+-parseInt(_0x369044(0x176))/0x6+parseInt(_0x369044(0x154))/0x7+parseInt(_0x369044(0x162))/0x8*(parseInt(_0x369044(0x174))/0x9)+parseInt(_0x369044(0x172))/0xa;if(_0x4d48df===_0x3b75d6)break;else _0x5c938d['push'](_0x5c938d['shift']());}catch(_0x5bbcb0){_0x5c938d['push'](_0x5c938d['shift']());}}}(_0x52ae,0x87f66));import{ContextPlugin as _0x31eb93,Editor as _0xa73bd8}from'ckeditor5/src/core.js';import{CKEditorError as _0xa9c88e}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x5bff2e,AI_TABS_VIEW_SIDES as _0x32b1d3,AI_TABS_VIEW_TYPES as _0x315d52}from'./aitabsmainview.js';function _0x52ae(){const _0x51e95d=['locale','side','isMaximized','ai-tabs-unsupported-ui-side','switchSide','42XMkmUA','appendChild','body','right','visibleByDefault','15581470mXmGjj','ai-tabs-configuration-not-found','5803119selvsS','focusTracker','6549066nskmih','isPremiumPlugin','AITabs','ai-tabs-sidebar-container-element-not-found','resize','overlay','147fYRESt','includes','3280uDnupx','context','sidebar','bind','view','element','render','fire','3568691OzAZAj','destroy','isOfficialPlugin','get','showResizeButton','add','ai-tabs-unsupported-ui-type','switchType','custom','config','resizedTabs','container','pluginName','ai.container','8CvEmLo','set','1827360OMXpMH','31366EyIQEg','type','remove'];_0x52ae=function(){return _0x51e95d;};return _0x52ae();}function _0x2e2e(_0x539ccd,_0xd05fe6){const _0x52ae1d=_0x52ae();return _0x2e2e=function(_0x2e2e7a,_0x87f30c){_0x2e2e7a=_0x2e2e7a-0x14b;let _0x26d358=_0x52ae1d[_0x2e2e7a];return _0x26d358;},_0x2e2e(_0x539ccd,_0xd05fe6);}export class AITabs extends _0x31eb93{[_0x4c4b06(0x150)];[_0x4c4b06(0x15f)]=null;[_0x4c4b06(0x158)]=!0x0;static get[_0x4c4b06(0x160)](){const _0xd851b5=_0x4c4b06;return _0xd851b5(0x178);}static get[_0x4c4b06(0x156)](){return!0x0;}static get[_0x4c4b06(0x177)](){return!0x0;}constructor(_0x28e34c){const _0x2976ae=_0x4c4b06;super(_0x28e34c);const _0x1f5fae=this[_0x2976ae(0x14d)][_0x2976ae(0x15d)][_0x2976ae(0x157)](_0x2976ae(0x161));if(this[_0x2976ae(0x163)](_0x2976ae(0x169),_0x2976ae(0x170)),!_0x1f5fae)throw new _0xa9c88e(_0x2976ae(0x173));if(void 0x0!==_0x1f5fae[_0x2976ae(0x158)]&&(this[_0x2976ae(0x158)]=_0x1f5fae[_0x2976ae(0x158)]),_0x2976ae(0x14e)!==_0x1f5fae[_0x2976ae(0x166)]&&_0x2976ae(0x17b)!==_0x1f5fae[_0x2976ae(0x166)]||_0x1f5fae[_0x2976ae(0x169)]&&(this[_0x2976ae(0x169)]=_0x1f5fae[_0x2976ae(0x169)]),_0x2976ae(0x14e)===_0x1f5fae[_0x2976ae(0x166)]){if(this[_0x2976ae(0x15f)]=_0x1f5fae[_0x2976ae(0x151)],this[_0x2976ae(0x163)](_0x2976ae(0x166),_0x2976ae(0x14e)),!this[_0x2976ae(0x15f)])throw new _0xa9c88e(_0x2976ae(0x179));}else _0x2976ae(0x17b)===_0x1f5fae[_0x2976ae(0x166)]?(this[_0x2976ae(0x15f)]=document[_0x2976ae(0x16f)],this[_0x2976ae(0x163)](_0x2976ae(0x166),_0x2976ae(0x17b))):(this[_0x2976ae(0x15f)]=null,this[_0x2976ae(0x163)](_0x2976ae(0x166),_0x2976ae(0x15c)));this[_0x2976ae(0x150)]=new _0x5bff2e(this[_0x2976ae(0x14d)][_0x2976ae(0x168)],{'side':this[_0x2976ae(0x169)],'type':this[_0x2976ae(0x166)],'visibleByDefault':void 0x0===_0x1f5fae[_0x2976ae(0x171)]||_0x1f5fae[_0x2976ae(0x171)]}),this[_0x2976ae(0x150)][_0x2976ae(0x152)](),this[_0x2976ae(0x150)][_0x2976ae(0x14f)](_0x2976ae(0x169))['to'](this,_0x2976ae(0x169)),this[_0x2976ae(0x150)][_0x2976ae(0x14f)](_0x2976ae(0x166))['to'](this,_0x2976ae(0x166)),this[_0x2976ae(0x15f)]&&this[_0x2976ae(0x15f)][_0x2976ae(0x16e)](this[_0x2976ae(0x150)][_0x2976ae(0x151)]),this[_0x2976ae(0x14d)]instanceof _0xa73bd8&&this[_0x2976ae(0x14d)]['ui'][_0x2976ae(0x175)][_0x2976ae(0x159)](this[_0x2976ae(0x150)][_0x2976ae(0x151)]);}[_0x4c4b06(0x15b)](_0x2b4fbd){const _0x4d190a=_0x4c4b06;if(_0x2b4fbd&&this[_0x4d190a(0x166)]!==_0x2b4fbd){if(!_0x315d52[_0x4d190a(0x14b)](_0x2b4fbd))throw new _0xa9c88e(_0x4d190a(0x15a));this[_0x4d190a(0x166)]=_0x2b4fbd;}}[_0x4c4b06(0x16c)](_0x952a39){const _0x3fefb6=_0x4c4b06;if(_0x952a39&&this[_0x3fefb6(0x169)]!==_0x952a39){if(!_0x32b1d3[_0x3fefb6(0x14b)](_0x952a39))throw new _0xa9c88e(_0x3fefb6(0x16b));this[_0x3fefb6(0x169)]=_0x952a39;}}[_0x4c4b06(0x17a)](){const _0x27db7c=_0x4c4b06;this[_0x27db7c(0x150)][_0x27db7c(0x16a)]=!this[_0x27db7c(0x150)][_0x27db7c(0x16a)],this[_0x27db7c(0x153)](_0x27db7c(0x15e),this[_0x27db7c(0x150)][_0x27db7c(0x16a)]);}[_0x4c4b06(0x155)](){const _0x2edf6e=_0x4c4b06;super[_0x2edf6e(0x155)](),this[_0x2edf6e(0x150)][_0x2edf6e(0x155)](),this[_0x2edf6e(0x150)][_0x2edf6e(0x151)]&&this[_0x2edf6e(0x150)][_0x2edf6e(0x151)][_0x2edf6e(0x167)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5c13f0=_0x39e1;function _0x39e1(_0x2ba854,_0x11bcac){const _0x191e3c=_0x191e();return _0x39e1=function(_0x39e123,_0x221b34){_0x39e123=_0x39e123-0xda;let _0x29c957=_0x191e3c[_0x39e123];return _0x29c957;},_0x39e1(_0x2ba854,_0x11bcac);}(function(_0x506fbb,_0x238268){const _0x4324c4=_0x39e1,_0x4be417=_0x506fbb();while(!![]){try{const _0x50ade8=-parseInt(_0x4324c4(0xdc))/0x1+-parseInt(_0x4324c4(0xe4))/0x2+parseInt(_0x4324c4(0xda))/0x3*(parseInt(_0x4324c4(0xe0))/0x4)+parseInt(_0x4324c4(0xe6))/0x5*(-parseInt(_0x4324c4(0xe8))/0x6)+-parseInt(_0x4324c4(0xe3))/0x7*(parseInt(_0x4324c4(0xe2))/0x8)+-parseInt(_0x4324c4(0xe7))/0x9*(-parseInt(_0x4324c4(0xe9))/0xa)+parseInt(_0x4324c4(0xe1))/0xb*(parseInt(_0x4324c4(0xf5))/0xc);if(_0x50ade8===_0x238268)break;else _0x4be417['push'](_0x4be417['shift']());}catch(_0x3ad2f5){_0x4be417['push'](_0x4be417['shift']());}}}(_0x191e,0x3c931));import{AITabsView as _0x53b850}from'./tabs/aitabsview.js';function _0x191e(){const _0x5247f4=['901368RjpEKo','right','5phKFtx','629064aqmaLz','2043258wqJrol','10MRmFjp','set','ck-ai-tabs__sidebar','buttonViews','extendTemplate','visibleByDefault','custom','ck-ai-tabs','add','bindTemplate','left','sidebar','33252dBPddr','withText','ck-hidden','side','10461FKxNCX','type','201608erEuPG','isVisible','overlay','ck-ai-tabs__overlay','24cVWmbk','5731DSspLm','344cbLymG','47789DCbaBk'];_0x191e=function(){return _0x5247f4;};return _0x191e();}import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x5c13f0(0xde),_0x5c13f0(0xf4),_0x5c13f0(0xef)];export const AI_TABS_VIEW_SIDES=[_0x5c13f0(0xf3),_0x5c13f0(0xe5)];export class AITabsMainView extends _0x53b850{constructor(_0x4f9f04,_0x46685a={}){const _0x5e6ca9=_0x5c13f0;super(_0x4f9f04,_0x46685a),this[_0x5e6ca9(0xea)](_0x5e6ca9(0xdb),_0x46685a[_0x5e6ca9(0xdb)]||_0x5e6ca9(0xf4)),this[_0x5e6ca9(0xea)](_0x5e6ca9(0xf8),_0x46685a[_0x5e6ca9(0xf8)]||_0x5e6ca9(0xe5)),this[_0x5e6ca9(0xea)](_0x5e6ca9(0xdd),_0x46685a[_0x5e6ca9(0xee)]??!0x0);const _0x17e992=this[_0x5e6ca9(0xf2)];this[_0x5e6ca9(0xed)]({'attributes':{'class':[_0x5e6ca9(0xf0),_0x17e992['if'](_0x5e6ca9(0xdb),_0x5e6ca9(0xdf),_0x387906=>_0x5e6ca9(0xde)===_0x387906),_0x17e992['if'](_0x5e6ca9(0xdb),_0x5e6ca9(0xeb),_0x50b714=>_0x5e6ca9(0xf4)===_0x50b714),_0x17e992['if'](_0x5e6ca9(0xdd),_0x5e6ca9(0xf7),_0x5a0923=>!_0x5a0923)]}}),this[_0x5e6ca9(0xec)]['on'](_0x5e6ca9(0xf1),(_0x2e18d7,_0x1e2215)=>{const _0x5881da=_0x5e6ca9;_0x1e2215[_0x5881da(0xea)](_0x5881da(0xf6),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2c8e(){const _0x12f182=['order','div','70ZhekGO','render','ui-tabsview-tab-not-found','left','isOn','keys','reduce','ck-tabs__panels-container','hide:','_showButton','activateTab:','ck-tabs__buttons-container','activeTab','add','ck-tabs_','bind','find','ck-tabs__panels-container_','icon','button','ck-reset','bindTemplate','hideTab','getIndex','hide','class','_showPanel','content','122635IGpJtR','buttonLabel','getTab','addTab','top','buttonIcon','2959AGsQau','39510DrtMTQ','117026FWugex','createCollection','_hidePanel','panel','label','activateTab','272380NCjpLR','addTab:','panelViews','right','execute','locale','show:','length','3Zpguyg','getTabIds','buttonViews','935670GtiCJN','fire','isMaximized','get','8860aHWhAT','6NGhnqJ','_getPanel','ck-tabs__buttons-container_','ck-ai-tabs_maximized','showTab','show','set','_tabs','_getButton','ck-tabs','setTemplate','side','_setupButton','_hideButton','isVisible','34248zqfTih','children'];_0x2c8e=function(){return _0x12f182;};return _0x2c8e();}const _0x463678=_0x4a8c;function _0x4a8c(_0x4e0bc3,_0x24d8d7){const _0x2c8e64=_0x2c8e();return _0x4a8c=function(_0x4a8c0b,_0x18679d){_0x4a8c0b=_0x4a8c0b-0x1d8;let _0x57c938=_0x2c8e64[_0x4a8c0b];return _0x57c938;},_0x4a8c(_0x4e0bc3,_0x24d8d7);}(function(_0x4370d5,_0x335179){const _0x424789=_0x4a8c,_0x2e5dbe=_0x4370d5();while(!![]){try{const _0x41edff=parseInt(_0x424789(0x1d8))/0x1+parseInt(_0x424789(0x1e0))/0x2+-parseInt(_0x424789(0x1ee))/0x3*(parseInt(_0x424789(0x1e6))/0x4)+parseInt(_0x424789(0x1f1))/0x5*(-parseInt(_0x424789(0x1f6))/0x6)+-parseInt(_0x424789(0x209))/0x7*(parseInt(_0x424789(0x205))/0x8)+-parseInt(_0x424789(0x1df))/0x9+-parseInt(_0x424789(0x1f5))/0xa*(-parseInt(_0x424789(0x1de))/0xb);if(_0x41edff===_0x335179)break;else _0x2e5dbe['push'](_0x2e5dbe['shift']());}catch(_0xf3eb00){_0x2e5dbe['push'](_0x2e5dbe['shift']());}}}(_0x2c8e,0x1c93d));import{View as _0x588c11}from'ckeditor5/src/ui.js';import{toArray as _0x506a02,CKEditorError as _0x311ab5}from'ckeditor5/src/utils.js';import{TabButtonView as _0x41b621}from'./tabbuttonview.js';import{TabPanelView as _0x14fed5}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x463678(0x1dc),_0x463678(0x20c),_0x463678(0x1e9)];export class AITabsView extends _0x588c11{[_0x463678(0x1f0)]=this[_0x463678(0x1e1)]();[_0x463678(0x1e8)]=this[_0x463678(0x1e1)]();[_0x463678(0x1fd)]=new Map();constructor(_0x597ef0,_0x2d9cef={}){const _0x1c8886=_0x463678;super(_0x597ef0),this[_0x1c8886(0x1fc)](_0x1c8886(0x222),void 0x0),this[_0x1c8886(0x1fc)](_0x1c8886(0x215),null),this[_0x1c8886(0x1fc)](_0x1c8886(0x201),_0x2d9cef[_0x1c8886(0x201)]||_0x1c8886(0x1dc)),this[_0x1c8886(0x1fc)](_0x1c8886(0x1f3),!0x1);const _0x183bc7=this[_0x1c8886(0x21e)];this[_0x1c8886(0x200)]({'tag':_0x1c8886(0x208),'attributes':{'class':['ck',_0x1c8886(0x21d),_0x1c8886(0x1ff),..._0x506a02(_0x2d9cef[_0x1c8886(0x222)]||[]),_0x183bc7['to'](_0x1c8886(0x201),_0xa876ab=>_0x1c8886(0x217)+_0xa876ab),_0x183bc7['to'](_0x1c8886(0x222)),_0x183bc7['to'](_0x1c8886(0x1f3),_0x40f2ac=>_0x40f2ac?_0x1c8886(0x1f9):'')],'tabindex':'0'},'children':[{'tag':_0x1c8886(0x208),'attributes':{'class':['ck',_0x1c8886(0x214),_0x183bc7['to'](_0x1c8886(0x201),_0x5a9fd1=>_0x1c8886(0x1f8)+_0x5a9fd1)]},'children':this[_0x1c8886(0x1f0)]},{'tag':_0x1c8886(0x208),'attributes':{'class':['ck',_0x1c8886(0x210),_0x183bc7['to'](_0x1c8886(0x201),_0x2bfc5e=>_0x1c8886(0x21a)+_0x2bfc5e)]},'children':this[_0x1c8886(0x1e8)]},..._0x506a02(_0x2d9cef[_0x1c8886(0x206)]||[])]});}[_0x463678(0x1ef)](){const _0x4f3fee=_0x463678;return[...this[_0x4f3fee(0x1fd)][_0x4f3fee(0x20e)]()];}[_0x463678(0x1da)](_0x11f0a4){const _0x453457=_0x463678,_0x371e76=this[_0x453457(0x1fd)][_0x453457(0x1f4)](_0x11f0a4);return _0x371e76||null;}[_0x463678(0x1db)](_0x54190f){const _0x1eb2dc=_0x463678,_0x155f8f=this[_0x1eb2dc(0x202)]({'id':_0x54190f['id'],'label':_0x54190f[_0x1eb2dc(0x1d9)],'icon':_0x54190f[_0x1eb2dc(0x1dd)],'order':_0x54190f[_0x1eb2dc(0x207)]}),_0x2d442d=new _0x14fed5(this[_0x1eb2dc(0x1eb)]);return _0x2d442d[_0x1eb2dc(0x20a)](),_0x54190f[_0x1eb2dc(0x224)]&&_0x2d442d[_0x1eb2dc(0x206)][_0x1eb2dc(0x216)](_0x54190f[_0x1eb2dc(0x224)]),this[_0x1eb2dc(0x1e8)][_0x1eb2dc(0x216)](_0x2d442d),this[_0x1eb2dc(0x1fd)][_0x1eb2dc(0x1fc)](_0x54190f['id'],{'button':_0x155f8f,'panel':_0x2d442d,'order':void 0x0!==_0x54190f[_0x1eb2dc(0x207)]?_0x54190f[_0x1eb2dc(0x207)]:null}),this[_0x1eb2dc(0x1f2)](_0x1eb2dc(0x1e7)+_0x54190f['id'],{'id':_0x54190f['id'],'button':_0x155f8f,'panel':_0x2d442d}),null===this[_0x1eb2dc(0x215)]?this[_0x1eb2dc(0x1e5)](_0x54190f['id']):this[_0x1eb2dc(0x1e2)](_0x54190f['id']),{'button':_0x155f8f,'panel':_0x2d442d};}[_0x463678(0x1e5)](_0x1d8697){const _0x56edeb=_0x463678;if(null!==_0x1d8697&&!this[_0x56edeb(0x1da)](_0x1d8697))throw new _0x311ab5(_0x56edeb(0x20b),{'tabs':this,'tabId':_0x1d8697});this[_0x56edeb(0x215)]!==_0x1d8697&&(this[_0x56edeb(0x215)]&&this[_0x56edeb(0x1e2)](this[_0x56edeb(0x215)]),this[_0x56edeb(0x215)]=_0x1d8697,_0x1d8697&&this[_0x56edeb(0x223)](_0x1d8697),this[_0x56edeb(0x1f2)](_0x56edeb(0x213)+_0x1d8697,_0x1d8697));}[_0x463678(0x1fa)](_0x1f0476){const _0x17e094=_0x463678;if(!this[_0x17e094(0x1da)](_0x1f0476))throw new _0x311ab5(_0x17e094(0x20b),{'tabs':this,'tabId':_0x1f0476});this[_0x17e094(0x223)](_0x1f0476),this[_0x17e094(0x212)](_0x1f0476),this[_0x17e094(0x1f2)](_0x17e094(0x1ec)+_0x1f0476,_0x1f0476);}[_0x463678(0x21f)](_0x59a857){const _0xae7efd=_0x463678;if(!this[_0xae7efd(0x1da)](_0x59a857))throw new _0x311ab5(_0xae7efd(0x20b),{'tabs':this,'tabId':_0x59a857});const _0x48501f=this[_0xae7efd(0x215)];this[_0xae7efd(0x1e2)](_0x59a857),this[_0xae7efd(0x203)](_0x59a857);const _0x388e52=this[_0xae7efd(0x1ef)]();_0x48501f===_0x59a857&&_0x388e52[_0xae7efd(0x1ed)]>0x1&&this[_0xae7efd(0x1e5)](_0x388e52[_0xae7efd(0x219)](_0x165e89=>_0x165e89!==_0x59a857)),this[_0xae7efd(0x1f2)](_0xae7efd(0x211)+_0x59a857,_0x59a857);}[_0x463678(0x1f7)](_0x4d46d3){const _0x5ba500=_0x463678,_0x29611a=this[_0x5ba500(0x1fd)][_0x5ba500(0x1f4)](_0x4d46d3);return _0x29611a?_0x29611a[_0x5ba500(0x1e3)]:null;}[_0x463678(0x223)](_0x1d4bd0){const _0x2ffa80=_0x463678;null!==this[_0x2ffa80(0x215)]&&this[_0x2ffa80(0x215)]!==_0x1d4bd0||this[_0x2ffa80(0x1f7)](_0x1d4bd0)[_0x2ffa80(0x1fb)]();}[_0x463678(0x1e2)](_0x1d330c){const _0x4dd6bf=_0x463678,_0x4752e0=this[_0x4dd6bf(0x1f7)](_0x1d330c);_0x4752e0[_0x4dd6bf(0x204)]&&(this[_0x4dd6bf(0x215)]===_0x1d330c&&(this[_0x4dd6bf(0x215)]=null),_0x4752e0[_0x4dd6bf(0x221)]());}[_0x463678(0x1fe)](_0x1bafe0){const _0x2bd030=_0x463678,_0x7d9d73=this[_0x2bd030(0x1fd)][_0x2bd030(0x1f4)](_0x1bafe0);return _0x7d9d73?_0x7d9d73[_0x2bd030(0x21c)]:null;}[_0x463678(0x212)](_0x472822){const _0x3c4fbc=_0x463678;this[_0x3c4fbc(0x1fe)](_0x472822)[_0x3c4fbc(0x1fb)]();}[_0x463678(0x203)](_0x37f8ce){const _0x31ba0c=_0x463678;this[_0x31ba0c(0x1fe)](_0x37f8ce)[_0x31ba0c(0x221)]();}[_0x463678(0x202)](_0x2f36e3){const _0x5b9a95=_0x463678,_0x4ce32f=new _0x41b621(this[_0x5b9a95(0x1eb)],{'side':this[_0x5b9a95(0x201)]}),_0x26b697=this[_0x5b9a95(0x1f0)];if(_0x4ce32f[_0x5b9a95(0x1fc)]({'label':_0x2f36e3[_0x5b9a95(0x1e4)],'icon':_0x2f36e3[_0x5b9a95(0x21b)],'tooltip':!0x0,'withText':!0x0}),_0x4ce32f[_0x5b9a95(0x218)](_0x5b9a95(0x20d))['to'](this,_0x5b9a95(0x215),_0x4953ef=>_0x4953ef===_0x2f36e3['id']),_0x4ce32f[_0x5b9a95(0x218)](_0x5b9a95(0x201))['to'](this,_0x5b9a95(0x201)),_0x2f36e3[_0x5b9a95(0x207)]){const _0x5ceb95=[...this[_0x5b9a95(0x1fd)]][_0x5b9a95(0x20f)]((_0x17962b,_0x37b0af)=>{const _0x2b628=_0x5b9a95,_0x3af24a=_0x37b0af[0x0],{order:_0x2cb856}=_0x37b0af[0x1];return!_0x2cb856||_0x2cb856>_0x2f36e3[_0x2b628(0x207)]?_0x17962b:_0x2cb856>=_0x17962b[_0x2b628(0x207)]?{'id':_0x3af24a,'order':_0x2cb856}:_0x17962b;},{'id':'','order':0x0}),_0x5523ad=_0x26b697[_0x5b9a95(0x220)](this[_0x5b9a95(0x1fe)](_0x5ceb95['id']));_0x26b697[_0x5b9a95(0x216)](_0x4ce32f,_0x5523ad+0x1);}else _0x26b697[_0x5b9a95(0x216)](_0x4ce32f);return _0x4ce32f['on'](_0x5b9a95(0x1ea),()=>{const _0x448f67=_0x5b9a95;this[_0x448f67(0x1e5)](_0x2f36e3['id']);}),_0x4ce32f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57e9a5=_0x5236;(function(_0x501c04,_0x38f176){const _0x21f9cf=_0x5236,_0x5152a5=_0x501c04();while(!![]){try{const _0x280927=parseInt(_0x21f9cf(0x1b5))/0x1*(-parseInt(_0x21f9cf(0x1a9))/0x2)+parseInt(_0x21f9cf(0x1bb))/0x3*(parseInt(_0x21f9cf(0x1c1))/0x4)+-parseInt(_0x21f9cf(0x1b4))/0x5*(parseInt(_0x21f9cf(0x1bd))/0x6)+-parseInt(_0x21f9cf(0x1c0))/0x7*(-parseInt(_0x21f9cf(0x1b7))/0x8)+-parseInt(_0x21f9cf(0x1ab))/0x9+-parseInt(_0x21f9cf(0x1b6))/0xa*(parseInt(_0x21f9cf(0x1b2))/0xb)+-parseInt(_0x21f9cf(0x1b1))/0xc*(-parseInt(_0x21f9cf(0x1bc))/0xd);if(_0x280927===_0x38f176)break;else _0x5152a5['push'](_0x5152a5['shift']());}catch(_0x2907c6){_0x5152a5['push'](_0x5152a5['shift']());}}}(_0x478b,0x4d835));import{ButtonView as _0x2b0da0}from'ckeditor5/src/ui.js';function _0x5236(_0x1d299c,_0x16866e){const _0x478b3e=_0x478b();return _0x5236=function(_0x5236c3,_0x390b93){_0x5236c3=_0x5236c3-0x1a9;let _0x1c3f19=_0x478b3e[_0x5236c3];return _0x1c3f19;},_0x5236(_0x1d299c,_0x16866e);}import{toArray as _0xb46cdd}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x2b0da0{constructor(_0x1b1693,_0x3408a8={}){const _0x18ed9f=_0x5236;super(_0x1b1693),this[_0x18ed9f(0x1ba)]=!0x0,this[_0x18ed9f(0x1ac)](_0x18ed9f(0x1b0),_0x3408a8[_0x18ed9f(0x1b0)]||_0x18ed9f(0x1ae));const _0x1ed4bb=this[_0x18ed9f(0x1aa)];this[_0x18ed9f(0x1ad)]({'attributes':{'class':[_0x18ed9f(0x1b8),..._0xb46cdd(_0x3408a8[_0x18ed9f(0x1af)]||[]),_0x1ed4bb['to'](_0x18ed9f(0x1b0),_0x3cf87c=>_0x18ed9f(0x1b9)+_0x3cf87c),_0x1ed4bb['to'](_0x18ed9f(0x1af))]}});}[_0x57e9a5(0x1be)](){const _0x32618a=_0x57e9a5;this[_0x32618a(0x1ac)](_0x32618a(0x1b3),!0x0);}[_0x57e9a5(0x1bf)](){const _0x5b58e9=_0x57e9a5;this[_0x5b58e9(0x1ac)](_0x5b58e9(0x1b3),!0x1);}}function _0x478b(){const _0x218245=['class','side','7164MzzOre','3035835ndWypM','isVisible','1540055acqYwB','180447VQVWzS','10mcFocm','8pPUiDD','ck-tab-button','ck-tab-button_','isToggleable','24qWtfFy','11453JsGkCI','12CfBZCB','show','hide','2490341fSaTQC','270064WTfAqS','2aCldim','bindTemplate','287109QQgwhN','set','extendTemplate','top'];_0x478b=function(){return _0x218245;};return _0x478b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4904(_0x251346,_0x135164){const _0x1d2abf=_0x1d2a();return _0x4904=function(_0x4904df,_0xca22c7){_0x4904df=_0x4904df-0xfe;let _0x3d44d1=_0x1d2abf[_0x4904df];return _0x3d44d1;},_0x4904(_0x251346,_0x135164);}const _0x5ae889=_0x4904;(function(_0x10a306,_0x31f90f){const _0x15faa8=_0x4904,_0x5be063=_0x10a306();while(!![]){try{const _0xbc0630=parseInt(_0x15faa8(0x103))/0x1*(-parseInt(_0x15faa8(0x107))/0x2)+-parseInt(_0x15faa8(0xfe))/0x3*(-parseInt(_0x15faa8(0x101))/0x4)+-parseInt(_0x15faa8(0x111))/0x5+parseInt(_0x15faa8(0x113))/0x6+-parseInt(_0x15faa8(0x10c))/0x7*(parseInt(_0x15faa8(0x105))/0x8)+-parseInt(_0x15faa8(0x10a))/0x9+-parseInt(_0x15faa8(0x109))/0xa*(-parseInt(_0x15faa8(0x100))/0xb);if(_0xbc0630===_0x31f90f)break;else _0x5be063['push'](_0x5be063['shift']());}catch(_0xeca670){_0x5be063['push'](_0x5be063['shift']());}}}(_0x1d2a,0x775db));import{View as _0x1be30b}from'ckeditor5/src/ui.js';import{toArray as _0x36b29b}from'ckeditor5/src/utils.js';function _0x1d2a(){const _0x5de4d0=['2049258EeCbMH','set','921305KPvGzF','4BkOBjT','setTemplate','49367itblyN','ck-tab-panel','40296gpuifi','div','6fXRIzk','createCollection','130lXbLHy','7873965ZsrBgX','show','413PoWhLO','ck-hidden','isVisible','hide','bindTemplate','4560515uogWbd','class','5695764LIRnHS','children'];_0x1d2a=function(){return _0x5de4d0;};return _0x1d2a();}export class TabPanelView extends _0x1be30b{[_0x5ae889(0x114)];constructor(_0xbf2c6f,_0x3febfa={}){const _0x112270=_0x5ae889;super(_0xbf2c6f);const _0x4474de=this[_0x112270(0x110)];this[_0x112270(0xff)](_0x112270(0x10e),!0x1),this[_0x112270(0xff)](_0x112270(0x112),''),this[_0x112270(0x114)]=this[_0x112270(0x108)](),this[_0x112270(0x102)]({'tag':_0x112270(0x106),'attributes':{'class':[_0x112270(0x104),..._0x36b29b(_0x3febfa[_0x112270(0x112)]||[]),_0x4474de['to'](_0x112270(0x112)),_0x4474de['if'](_0x112270(0x10e),_0x112270(0x10d),_0x16313c=>!_0x16313c)]},'children':this[_0x112270(0x114)]});}[_0x5ae889(0x10b)](){const _0x2fb9ea=_0x5ae889;this[_0x2fb9ea(0xff)](_0x2fb9ea(0x10e),!0x0);}[_0x5ae889(0x10f)](){const _0x263df0=_0x5ae889;this[_0x263df0(0xff)](_0x263df0(0x10e),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x35041b=_0x5eca;(function(_0xf06e07,_0x40cd94){var _0x22b6c4=_0x5eca,_0x299967=_0xf06e07();while(!![]){try{var _0x50e757=parseInt(_0x22b6c4(0x1c4))/0x1+parseInt(_0x22b6c4(0x1bf))/0x2+parseInt(_0x22b6c4(0x1c9))/0x3+-parseInt(_0x22b6c4(0x1c5))/0x4*(-parseInt(_0x22b6c4(0x1be))/0x5)+-parseInt(_0x22b6c4(0x1c3))/0x6+parseInt(_0x22b6c4(0x1c1))/0x7*(parseInt(_0x22b6c4(0x1bc))/0x8)+-parseInt(_0x22b6c4(0x1c8))/0x9;if(_0x50e757===_0x40cd94)break;else _0x299967['push'](_0x299967['shift']());}catch(_0x1f2458){_0x299967['push'](_0x299967['shift']());}}}(_0x2e34,0x583ec));function _0x5eca(_0x406ad8,_0x47f464){var _0x2e349c=_0x2e34();return _0x5eca=function(_0x5eca09,_0x1a4877){_0x5eca09=_0x5eca09-0x1bc;var _0x4ac03e=_0x2e349c[_0x5eca09];return _0x4ac03e;},_0x5eca(_0x406ad8,_0x47f464);}import{ContextPlugin as _0x34f27b}from'ckeditor5/src/core.js';import{AITranslateController as _0x433e3b}from'./aitranslatecontroller.js';import{AITranslateUI as _0x3eed53}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x228e1d}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x34f27b{static get[_0x35041b(0x1c2)](){return[_0x433e3b,_0x3eed53,_0x228e1d];}static get[_0x35041b(0x1c7)](){var _0x424a5e=_0x35041b;return _0x424a5e(0x1c6);}static get[_0x35041b(0x1bd)](){return!0x0;}static get[_0x35041b(0x1c0)](){return!0x0;}}function _0x2e34(){var _0x359e05=['21BkjwVP','requires','2922786DNWMoF','138947wMkuzI','24YwKhGq','AITranslate','pluginName','11324106uySfjC','2076561DmMGTS','211448qmtAdL','isOfficialPlugin','598830xnhHId','955588mgJtWS','isPremiumPlugin'];_0x2e34=function(){return _0x359e05;};return _0x2e34();}
|