@ckeditor/ckeditor5-ai 47.7.0 → 47.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +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
|
-
const
|
|
23
|
+
function _0x2190(){const _0x4a153b=['resetToDefault','4527rChPEO','value','2836cuvIEv','55iZoNbu','1118436YPhund','_formItem','locale','7624wKbAJw','4934922ASKgUS','311ixSPwg','2515640VAAYXt','ck-reset_all','986FUgVHt','add','set','formValue','div','children','ck-form__row_with-submit','3015jhTQSM','argsKey','dropdown','ck-ai_review__form-item','bind','setTemplate','3491537ErbuTY','formType'];_0x2190=function(){return _0x4a153b;};return _0x2190();}const _0x28d75d=_0xcec0;(function(_0x243887,_0x1d914b){const _0x180231=_0xcec0,_0x46474c=_0x243887();while(!![]){try{const _0xdbe8f3=-parseInt(_0x180231(0x185))/0x1*(parseInt(_0x180231(0x188))/0x2)+-parseInt(_0x180231(0x180))/0x3+-parseInt(_0x180231(0x19a))/0x4*(-parseInt(_0x180231(0x18f))/0x5)+parseInt(_0x180231(0x184))/0x6+parseInt(_0x180231(0x195))/0x7+parseInt(_0x180231(0x183))/0x8*(parseInt(_0x180231(0x198))/0x9)+-parseInt(_0x180231(0x186))/0xa*(parseInt(_0x180231(0x19b))/0xb);if(_0xdbe8f3===_0x1d914b)break;else _0x46474c['push'](_0x46474c['shift']());}catch(_0x5df5de){_0x46474c['push'](_0x46474c['shift']());}}}(_0x2190,0x6c731));import{FormRowView as _0x27231f,ListItemView as _0x3f71cf}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x1a4a01}from'./aireviewcoreformdropdown.js';function _0xcec0(_0x38ae28,_0x428fbe){const _0x2190f0=_0x2190();return _0xcec0=function(_0xcec0e4,_0x56552b){_0xcec0e4=_0xcec0e4-0x180;let _0x21dc8f=_0x2190f0[_0xcec0e4];return _0x21dc8f;},_0xcec0(_0x38ae28,_0x428fbe);}export class AIReviewCoreFormManagerView extends _0x3f71cf{[_0x28d75d(0x181)]=null;constructor(_0x568d25,_0x1484d6,_0x34a544){const _0x36af7f=_0x28d75d;super(_0x568d25),this[_0x36af7f(0x190)]=_0x1484d6?.[_0x36af7f(0x190)];if(_0x36af7f(0x191)===_0x1484d6[_0x36af7f(0x196)])this[_0x36af7f(0x181)]=new _0x1a4a01(this[_0x36af7f(0x182)],_0x1484d6);this[_0x36af7f(0x18a)](_0x36af7f(0x199),''),this[_0x36af7f(0x193)](_0x36af7f(0x199))['to'](this[_0x36af7f(0x181)],_0x36af7f(0x18b));const _0x2dd933=new _0x27231f(this[_0x36af7f(0x182)],{'children':[this[_0x36af7f(0x181)]],'class':[_0x34a544?_0x36af7f(0x18e):'']});_0x34a544&&_0x2dd933[_0x36af7f(0x18d)][_0x36af7f(0x189)](_0x34a544),this[_0x36af7f(0x194)]({'tag':_0x36af7f(0x18c),'attributes':{'class':['ck',_0x36af7f(0x192),_0x36af7f(0x187)]},'children':[_0x2dd933]});}[_0x28d75d(0x197)](){const _0xf1c97a=_0x28d75d;this[_0xf1c97a(0x181)][_0xf1c97a(0x197)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c36(_0x473563,_0x16a906){const _0x49d71b=_0x49d7();return _0x2c36=function(_0x2c36a2,_0x3d651c){_0x2c36a2=_0x2c36a2-0x7e;let _0x1b8f87=_0x49d71b[_0x2c36a2];return _0x1b8f87;},_0x2c36(_0x473563,_0x16a906);}const _0x424a38=_0x2c36;(function(_0x5d9a8f,_0x2df10a){const _0x4e5a80=_0x2c36,_0x28ffd2=_0x5d9a8f();while(!![]){try{const _0xdc4e71=parseInt(_0x4e5a80(0x95))/0x1+parseInt(_0x4e5a80(0x87))/0x2*(parseInt(_0x4e5a80(0x9e))/0x3)+parseInt(_0x4e5a80(0xa8))/0x4+parseInt(_0x4e5a80(0x9b))/0x5*(-parseInt(_0x4e5a80(0x97))/0x6)+-parseInt(_0x4e5a80(0x89))/0x7+-parseInt(_0x4e5a80(0x82))/0x8*(-parseInt(_0x4e5a80(0x7f))/0x9)+parseInt(_0x4e5a80(0xa4))/0xa*(parseInt(_0x4e5a80(0x83))/0xb);if(_0xdc4e71===_0x2df10a)break;else _0x28ffd2['push'](_0x28ffd2['shift']());}catch(_0x23580b){_0x28ffd2['push'](_0x28ffd2['shift']());}}}(_0x49d7,0xefed4));function _0x49d7(){const _0x437b0d=['Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','6479544tAbyXE','33RJpkIk','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','longer','Confident','4DihZeL','make','10524472BfITRg','Correctness','shorter','custom','Longer','professional','direct','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','dropdown','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Adjust\x20length','length','438484wlfOas','Friendly','6WNaqkb','casual','tone','readability','8914920hWhxcI','Shorter','confident','1411329mxlgSg','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Professional','Casual','clarity','Readability','3768940Vogqmn','Custom\x20command','friendly','correctness','557128dKCwHb','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Clarity','Adjust\x20tone\x20and\x20style','make-tone','18bolDmM','Direct'];_0x49d7=function(){return _0x437b0d;};return _0x49d7();}export const AI_REVIEW_CHECKS=[{'id':_0x424a38(0x8c),'commandId':_0x424a38(0x8c),'title':_0x424a38(0xa5),'description':_0x424a38(0x90),'isParameterized':!0x0},{'id':_0x424a38(0xa7),'commandId':_0x424a38(0xa7),'title':_0x424a38(0x8a),'description':_0x424a38(0x84),'isParameterized':!0x1},{'id':_0x424a38(0xa2),'commandId':_0x424a38(0xa2),'title':_0x424a38(0xaa),'description':_0x424a38(0x92),'isParameterized':!0x1},{'id':_0x424a38(0x9a),'commandId':_0x424a38(0x9a),'title':_0x424a38(0xa3),'description':_0x424a38(0xa9),'isParameterized':!0x1},{'id':_0x424a38(0x94),'commandId':_0x424a38(0x88),'title':_0x424a38(0x93),'description':_0x424a38(0x81),'isParameterized':!0x0,'options':[{'formType':_0x424a38(0x91),'label':_0x424a38(0x93),'default':_0x424a38(0x85),'data':[{'label':_0x424a38(0x8d),'id':_0x424a38(0x85)},{'label':_0x424a38(0x9c),'id':_0x424a38(0x8b)}]}]},{'id':_0x424a38(0x99),'commandId':_0x424a38(0x7e),'title':_0x424a38(0xab),'description':_0x424a38(0x9f),'isParameterized':!0x0,'options':[{'formType':_0x424a38(0x91),'label':_0x424a38(0xab),'default':_0x424a38(0x98),'data':[{'label':_0x424a38(0xa1),'id':_0x424a38(0x98)},{'label':_0x424a38(0x80),'id':_0x424a38(0x8f)},{'label':_0x424a38(0x96),'id':_0x424a38(0xa6)},{'label':_0x424a38(0x86),'id':_0x424a38(0x9d)},{'label':_0x424a38(0xa0),'id':_0x424a38(0x8e)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4682c4=_0x25d8;(function(_0x5d4d7d,_0x54aa74){var _0x70593f=_0x25d8,_0x4ce469=_0x5d4d7d();while(!![]){try{var _0x2006b5=parseInt(_0x70593f(0xc4))/0x1+parseInt(_0x70593f(0xca))/0x2*(-parseInt(_0x70593f(0xc6))/0x3)+parseInt(_0x70593f(0xce))/0x4*(-parseInt(_0x70593f(0xc0))/0x5)+parseInt(_0x70593f(0xc2))/0x6*(parseInt(_0x70593f(0xc7))/0x7)+parseInt(_0x70593f(0xc3))/0x8*(parseInt(_0x70593f(0xc8))/0x9)+-parseInt(_0x70593f(0xcd))/0xa+-parseInt(_0x70593f(0xc9))/0xb*(-parseInt(_0x70593f(0xcc))/0xc);if(_0x2006b5===_0x54aa74)break;else _0x4ce469['push'](_0x4ce469['shift']());}catch(_0x370ca8){_0x4ce469['push'](_0x4ce469['shift']());}}}(_0x2056,0x6c393));function _0x2056(){var _0x131335=['1716zTWGpy','6152630MvxPZU','91032DOcksn','requires','isOfficialPlugin','5dtHcLT','isPremiumPlugin','552DYhrqO','261216hsggvw','581289fXvITn','pluginName','5541xkFIic','34307ZZTUHm','9KGvUAf','4961PTBNZX','52DkYnhZ','AIReviewMode'];_0x2056=function(){return _0x131335;};return _0x2056();}function _0x25d8(_0x255f49,_0x121efd){var _0x2056bc=_0x2056();return _0x25d8=function(_0x25d8ee,_0x23448a){_0x25d8ee=_0x25d8ee-0xbe;var _0x572233=_0x2056bc[_0x25d8ee];return _0x572233;},_0x25d8(_0x255f49,_0x121efd);}import{ContextPlugin as _0x15fc8c}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x7c485c}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x472c3a}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x1a1f31}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x15fc8c{static get[_0x4682c4(0xbe)](){return[_0x1a1f31,_0x7c485c,_0x472c3a];}static get[_0x4682c4(0xc5)](){var _0x420b5c=_0x4682c4;return _0x420b5c(0xcb);}static get[_0x4682c4(0xbf)](){return!0x0;}static get[_0x4682c4(0xc1)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54c352=_0x3f53;(function(_0x5c1e37,_0x41eabc){const _0x36e128=_0x3f53,_0x1b7f34=_0x5c1e37();while(!![]){try{const _0x518c73=-parseInt(_0x36e128(0x151))/0x1*(-parseInt(_0x36e128(0x1ad))/0x2)+-parseInt(_0x36e128(0x19b))/0x3+parseInt(_0x36e128(0x18f))/0x4+-parseInt(_0x36e128(0x18a))/0x5+parseInt(_0x36e128(0x144))/0x6+parseInt(_0x36e128(0x192))/0x7+-parseInt(_0x36e128(0x16a))/0x8;if(_0x518c73===_0x41eabc)break;else _0x1b7f34['push'](_0x1b7f34['shift']());}catch(_0x3af6bb){_0x1b7f34['push'](_0x1b7f34['shift']());}}}(_0x3a36,0xca1ac));import{CKEditorError as _0x529c21}from'ckeditor5/src/utils.js';function _0x3a36(){const _0x6bd26=['_onActivateChange','_OPTIONS_LABEL','_translateReviewCheck','editing','2886525LrdnTK','changeId','ai-review-mode-command-unavailable-due-to-missing-model','_onReviewCheckResultActivated','isExtra','2556256sELMwg','label','_initRequiredPlugins','5147856jSKuAF','change','checks','params','origin','getAvailableModels','_onChangeMarkerHovered','map','AIReviewModeController','2210061mKarNn','_aiReviewCoreUi','toUpperCase','_getTranslationWithDefault','resetActiveStateInResults','all','content','markerElement','default','_aiConnector','ai-review-mode-non-existent-commands-used','context','get','domEvent','model','options','diffContent','uiInteraction','4HSxbSp','_onReviewCheckResultDeactivated','_onDeactivateChange','join','_getChangeContentElement','init','activateChange','length','startsWith','ai.review.extraCommands','setAllMarkersAsInactive','filter','document','isCustom','title','ck-ai_review-diff','config','AI_REVIEW_CHECK_','_onDiffChange','ai.review.availableCommands','AIReviewCoreEditing','_isDiffOn','balloon','recommended','hover','toggleDiff','setActiveStateInResults','setMarkersInElementAsActive','removeClass','_createReviewCheckRun','viewportOffset','ck-ai_review-highlights','3784758CUSKMt','deactivateChange','_onChangeMarkerClicked','getDomRoot','getRoot','_getChecksList','_getModels','_currentReviewCheckRun','_getExtraChecks','_onReviewCheckRun','_logErrorForNonExistentChecks','getDocumentData','ai-review-mode-models-unable-to-retrieve','737036zepHTH','some','view','_diffContent','_onChangeMarkerBlurred','_markChangePositionInEditorContent','showChangeBalloon','markChangePositionInEditorContent','forEach','_OPTIONS_DATA_','push','pluginName','hideChangeBalloon','hideDiffInBalloon','getAll','_DESCRIPTION','removeCheckById','getMarkerElementForChange','getElement','setupChecks','prompt','getClassNames','ck-ai_review-','click','_logError','10700200RCGpDo','data','define','panel','plugins','isAnyChangeActivated','defaultModel','_aiReviewCoreEditing','addClass','getDefault','_changeActivationSource','find','showDiffInBalloon','_TITLE','listenTo','args','_hasDefaultAvailableCommands','getEditor','_scrollToChange','custom','models','locale','ai.models','replaceAll','AIReviewModeUI','description','getChangeById','_filterChecksWithMissingModel'];_0x3a36=function(){return _0x6bd26;};return _0x3a36();}import{AIReviewCoreController as _0x130ab2}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1ccb37}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x225955}from'./model/aireviewmodechecklist.js';function _0x3f53(_0x574979,_0x4e50b4){const _0x3a360e=_0x3a36();return _0x3f53=function(_0x3f5309,_0xe32a82){_0x3f5309=_0x3f5309-0x12c;let _0x597069=_0x3a360e[_0x3f5309];return _0x597069;},_0x3f53(_0x574979,_0x4e50b4);}import{AIReviewCustomCheckRun as _0x4ea3c9}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x170971}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x1ba476}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x31b544}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x2c5d11}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0xa27681}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x130ab2{static get[_0x54c352(0x15c)](){const _0x39d00b=_0x54c352;return _0x39d00b(0x19a);}[_0x54c352(0x139)]=!0x1;[_0x54c352(0x17a)]=!0x1;constructor(_0x2d4444){const _0x264298=_0x54c352;super(_0x2d4444),this[_0x264298(0x17a)]=!this[_0x264298(0x1a6)][_0x264298(0x134)][_0x264298(0x1a7)](_0x264298(0x137)),this[_0x264298(0x1a6)][_0x264298(0x134)][_0x264298(0x16c)](_0x264298(0x137),_0x1ccb37[_0x264298(0x199)](_0x2bbc22=>_0x2bbc22['id'])),this[_0x264298(0x1a6)][_0x264298(0x134)][_0x264298(0x16c)](_0x264298(0x12d),[]);}async[_0x54c352(0x1b2)](){const _0x1de67a=_0x54c352;await super[_0x1de67a(0x1b2)](),this[_0x1de67a(0x178)](this[_0x1de67a(0x19c)],_0x1de67a(0x13d),(_0x266ce0,_0x2d0880)=>{const _0x59a421=_0x1de67a;this[_0x59a421(0x139)]=_0x2d0880['on'],this[_0x59a421(0x136)](this[_0x59a421(0x139)]);});}[_0x54c352(0x191)](){const _0x2bbc55=_0x54c352;super[_0x2bbc55(0x191)](),this[_0x2bbc55(0x19c)]=this[_0x2bbc55(0x1a6)][_0x2bbc55(0x16e)][_0x2bbc55(0x1a7)](_0x2bbc55(0x182)),this[_0x2bbc55(0x171)]=this[_0x2bbc55(0x1a6)][_0x2bbc55(0x16e)][_0x2bbc55(0x1a7)](_0x2bbc55(0x138));}[_0x54c352(0x141)](_0x4751a0,_0x66647){const _0xcb0e0a=_0x54c352;return _0x4751a0[_0xcb0e0a(0x131)]?new _0x4ea3c9(_0x4751a0[_0xcb0e0a(0x179)][_0xcb0e0a(0x165)],_0x4751a0[_0xcb0e0a(0x179)][_0xcb0e0a(0x1a9)],this[_0xcb0e0a(0x171)][_0xcb0e0a(0x14f)](),_0x66647,this[_0xcb0e0a(0x1a4)]):_0x66647[_0xcb0e0a(0x18e)]?new _0xa27681(_0x66647[_0xcb0e0a(0x165)],_0x66647[_0xcb0e0a(0x170)]['id'],this[_0xcb0e0a(0x171)][_0xcb0e0a(0x14f)](),_0x66647,this[_0xcb0e0a(0x1a4)]):new _0x170971(this[_0xcb0e0a(0x171)][_0xcb0e0a(0x14f)](),_0x66647,this[_0xcb0e0a(0x1a4)],_0x4751a0[_0xcb0e0a(0x195)],_0x4751a0[_0xcb0e0a(0x179)]);}[_0x54c352(0x18d)](_0x255e69){const _0x1f52e7=_0x54c352;this[_0x1f52e7(0x19c)][_0x1f52e7(0x13e)](_0x255e69[_0x1f52e7(0x193)]['id']),this[_0x1f52e7(0x17c)](_0x255e69[_0x1f52e7(0x193)]['id']);const _0x1bcbb8=this[_0x1f52e7(0x171)][_0x1f52e7(0x162)](_0x255e69[_0x1f52e7(0x193)]['id']);if(!_0x1bcbb8)return;const _0x517602=this[_0x1f52e7(0x171)][_0x1f52e7(0x17b)]();this[_0x1f52e7(0x19c)][_0x1f52e7(0x157)](_0x255e69[_0x1f52e7(0x193)],()=>_0x1bcbb8[_0x1f52e7(0x163)](),void 0x0,_0x1f52e7(0x168),_0x517602?.[_0x1f52e7(0x189)]?.[_0x1f52e7(0x153)]?.[_0x1f52e7(0x147)](),_0x517602?.['ui']?.[_0x1f52e7(0x142)]),this[_0x1f52e7(0x171)][_0x1f52e7(0x13f)](_0x255e69[_0x1f52e7(0x193)]['id']);}[_0x54c352(0x1ae)](){const _0x21bccc=_0x54c352;this[_0x21bccc(0x19c)][_0x21bccc(0x19f)](),this[_0x21bccc(0x19c)][_0x21bccc(0x15d)](),this[_0x21bccc(0x171)][_0x21bccc(0x12e)]();}[_0x54c352(0x186)](_0x14da56){const _0x4667c5=_0x54c352;this[_0x4667c5(0x14b)]&&_0x4667c5(0x168)===_0x14da56[_0x4667c5(0x1ac)]&&(this[_0x4667c5(0x174)]=_0x4667c5(0x16d),this[_0x4667c5(0x14b)][_0x4667c5(0x1b3)](_0x14da56['id']));}[_0x54c352(0x1af)](_0x500212){const _0x4e1e4f=_0x54c352;this[_0x4e1e4f(0x14b)]&&_0x4e1e4f(0x13a)===_0x500212[_0x4e1e4f(0x196)]&&this[_0x4e1e4f(0x14b)][_0x4e1e4f(0x145)]();}[_0x54c352(0x146)](_0x2de1fd,_0x37d771){const _0x5d070a=_0x54c352;if(!this[_0x5d070a(0x14b)])return;this[_0x5d070a(0x174)]=_0x5d070a(0x1a1),this[_0x5d070a(0x14b)][_0x5d070a(0x1b3)](_0x37d771[_0x5d070a(0x18b)]);const _0x524e3f=this[_0x5d070a(0x14b)][_0x5d070a(0x184)](_0x37d771[_0x5d070a(0x18b)]);if(!_0x524e3f)return;const _0x2c0134=this[_0x5d070a(0x171)][_0x5d070a(0x17b)]();this[_0x5d070a(0x19c)][_0x5d070a(0x157)](_0x524e3f,_0x37d771[_0x5d070a(0x1a2)],_0x37d771[_0x5d070a(0x1a8)],_0x5d070a(0x168),_0x2c0134?.[_0x5d070a(0x189)]?.[_0x5d070a(0x153)]?.[_0x5d070a(0x147)](),_0x2c0134?.['ui']?.[_0x5d070a(0x142)]);}[_0x54c352(0x198)](_0x5eb2bb,_0x37ece4){const _0x5d970c=_0x54c352;if(!this[_0x5d970c(0x14b)])return;if(this[_0x5d970c(0x14b)][_0x5d970c(0x16f)]())return;const _0x5e21b2=this[_0x5d970c(0x14b)][_0x5d970c(0x184)](_0x37ece4[_0x5d970c(0x18b)]);if(!_0x5e21b2)return;const _0x1ac6fa=this[_0x5d970c(0x171)][_0x5d970c(0x17b)]();this[_0x5d970c(0x19c)][_0x5d970c(0x157)](_0x5e21b2,_0x37ece4[_0x5d970c(0x1a2)],_0x37ece4[_0x5d970c(0x1a8)],_0x5d970c(0x13c),_0x1ac6fa?.[_0x5d970c(0x189)]?.[_0x5d970c(0x153)]?.[_0x5d970c(0x147)](),_0x1ac6fa?.['ui']?.[_0x5d970c(0x142)]);}[_0x54c352(0x155)](){const _0x383514=_0x54c352;if(!this[_0x383514(0x14b)])return;this[_0x383514(0x14b)][_0x383514(0x16f)]()||this[_0x383514(0x19c)][_0x383514(0x15d)]();}[_0x54c352(0x1b1)](_0x4db51b){const _0x340235=_0x54c352,_0x144026=this[_0x340235(0x171)][_0x340235(0x162)](_0x4db51b);return _0x144026?_0x144026[_0x340235(0x163)]():null;}[_0x54c352(0x156)](_0x447707,_0x348674){const _0xeff18a=_0x54c352;this[_0xeff18a(0x171)][_0xeff18a(0x158)](_0x447707,_0x348674);}[_0x54c352(0x154)](_0x20d88b,_0x588a4f){const _0x5e4794=_0x54c352;return this[_0x5e4794(0x171)][_0x5e4794(0x1ab)](_0x20d88b,_0x588a4f);}[_0x54c352(0x14d)](){const _0x3b0449=_0x54c352;this[_0x3b0449(0x136)](this[_0x3b0449(0x139)]);}[_0x54c352(0x136)](_0x3e335a){const _0x538a97=_0x54c352,_0x35f135=this[_0x538a97(0x171)][_0x538a97(0x17b)]();_0x3e335a?this[_0x538a97(0x19c)][_0x538a97(0x15e)]():this[_0x538a97(0x19c)][_0x538a97(0x176)](),_0x35f135&&_0x35f135[_0x538a97(0x189)][_0x538a97(0x153)][_0x538a97(0x193)](_0xd79ae3=>{const _0x317668=_0x538a97,_0x2fd4cd=_0x35f135[_0x317668(0x189)][_0x317668(0x153)][_0x317668(0x130)][_0x317668(0x148)]();for(const _0x5be129 of _0x2fd4cd[_0x317668(0x166)]())_0x5be129[_0x317668(0x12c)](_0x317668(0x167))&&_0xd79ae3[_0x317668(0x140)](_0x5be129,_0x2fd4cd);_0xd79ae3[_0x317668(0x172)](_0x3e335a?_0x317668(0x133):_0x317668(0x143),_0x2fd4cd);});}async[_0x54c352(0x149)](){const _0x1458ac=_0x54c352,_0xd70032=[..._0x1ccb37,...this[_0x1458ac(0x14c)]()],_0x3b89c8=this[_0x1458ac(0x1a6)][_0x1458ac(0x134)][_0x1458ac(0x1a7)](_0x1458ac(0x137))||[];this[_0x1458ac(0x14e)](_0x3b89c8,_0xd70032);let _0x5e386c=_0xd70032;this[_0x1458ac(0x17a)]||(_0x5e386c=_0x3b89c8[_0x1458ac(0x199)](_0x3c0dda=>_0xd70032[_0x1458ac(0x175)](_0x104744=>_0x104744['id']===_0x3c0dda))[_0x1458ac(0x12f)](_0x25ad25=>!!_0x25ad25)),_0x5e386c=_0x5e386c[_0x1458ac(0x199)](_0x114d8f=>_0x114d8f[_0x1458ac(0x18e)]?_0x114d8f:this[_0x1458ac(0x188)](_0x114d8f));const _0x112b77=_0x5e386c[_0x1458ac(0x152)](_0x5653d3=>_0x5653d3[_0x1458ac(0x18e)]||_0x1458ac(0x17d)===_0x5653d3['id']);let _0x2c997b=[],_0x1bdee1=[],_0x366476=null;if(_0x112b77){const _0x531e04=await this[_0x1458ac(0x14a)]();_0x2c997b=_0x531e04[_0x1458ac(0x1a0)],_0x1bdee1=_0x531e04[_0x1458ac(0x13b)],_0x366476=_0x531e04[_0x1458ac(0x1a3)];}const _0x2345f5=new _0x225955(_0x2c997b,_0x1bdee1,_0x366476);return _0x2345f5[_0x1458ac(0x164)](_0x5e386c),_0x112b77&&this[_0x1458ac(0x185)](_0x2345f5),_0x2345f5;}[_0x54c352(0x14c)](){const _0x4d9d9b=_0x54c352;return(this[_0x4d9d9b(0x1a6)][_0x4d9d9b(0x134)][_0x4d9d9b(0x1a7)](_0x4d9d9b(0x12d))||[])[_0x4d9d9b(0x199)](_0x48561b=>({'id':_0x48561b['id'],'commandId':_0x48561b['id'],'title':_0x48561b[_0x4d9d9b(0x190)],'description':_0x48561b[_0x4d9d9b(0x183)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x48561b[_0x4d9d9b(0x165)],'model':_0x48561b[_0x4d9d9b(0x1a9)]}));}[_0x54c352(0x14e)](_0xd36ea5,_0x284562){const _0x3788dd=_0x54c352,_0x180575=_0xd36ea5[_0x3788dd(0x12f)](_0x2dc303=>!_0x284562[_0x3788dd(0x152)](_0x43acf4=>_0x43acf4['id']===_0x2dc303));_0x180575[_0x3788dd(0x1b4)]&&this[_0x3788dd(0x169)](new _0x529c21(_0x3788dd(0x1a5),this,{'commandIds':_0x180575[_0x3788dd(0x1b0)](',\x20')}),!0x0);}async[_0x54c352(0x14a)](){const _0x369389=_0x54c352;try{const _0x22d89d=new _0x1ba476({'connector':this[_0x369389(0x1a4)],'config':this[_0x369389(0x1a6)][_0x369389(0x134)][_0x369389(0x1a7)](_0x369389(0x180)),'locale':this[_0x369389(0x1a6)][_0x369389(0x17f)]});return{'all':await _0x22d89d[_0x369389(0x15f)](),'recommended':await _0x22d89d[_0x369389(0x197)](),'default':await _0x22d89d[_0x369389(0x173)]()};}catch(_0x1182bb){return this[_0x369389(0x169)](new _0x529c21(_0x369389(0x150),this,void 0x0,_0x1182bb)),{'all':[],'recommended':[],'default':null};}}[_0x54c352(0x188)](_0x5ef96c){const _0x5d68ea=_0x54c352,_0x5f0938=_0x5d68ea(0x135)+_0x5ef96c['id'][_0x5d68ea(0x19d)]()[_0x5d68ea(0x181)]('-','_'),_0x25d656={..._0x5ef96c,'title':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x177),_0x5ef96c[_0x5d68ea(0x132)]),'description':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x160),_0x5ef96c[_0x5d68ea(0x183)])};return _0x5ef96c[_0x5d68ea(0x1aa)]&&(_0x25d656[_0x5d68ea(0x1aa)]=_0x5ef96c[_0x5d68ea(0x1aa)][_0x5d68ea(0x199)](_0x20b739=>({..._0x20b739,'label':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x187),_0x20b739[_0x5d68ea(0x190)]||''),'data':_0x20b739[_0x5d68ea(0x16b)]?_0x20b739[_0x5d68ea(0x16b)][_0x5d68ea(0x199)](_0x2a5af2=>({..._0x2a5af2,'label':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x15a)+_0x2a5af2['id'][_0x5d68ea(0x19d)](),_0x2a5af2[_0x5d68ea(0x190)])})):void 0x0}))),_0x25d656;}[_0x54c352(0x185)](_0x5e8915){const _0x340299=_0x54c352,_0x50c7c7=[];_0x5e8915[_0x340299(0x194)][_0x340299(0x159)](_0x4cda1a=>{const _0xad3d16=_0x340299;(_0x4cda1a instanceof _0x2c5d11&&!_0x4cda1a[_0xad3d16(0x170)]||_0x4cda1a instanceof _0x31b544&&!_0x4cda1a[_0xad3d16(0x17e)][_0xad3d16(0x1b4)])&&_0x50c7c7[_0xad3d16(0x15b)](_0x4cda1a['id']);}),_0x50c7c7[_0x340299(0x1b4)]&&_0x50c7c7[_0x340299(0x159)](_0x4aaa43=>{const _0x2af6da=_0x340299;_0x5e8915[_0x2af6da(0x161)](_0x4aaa43),this[_0x2af6da(0x169)](new _0x529c21(_0x2af6da(0x18c),this,{'commandId':_0x4aaa43}),!0x0);});}}
|
|
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);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46ffd3=_0x3ba1;(function(_0x29a38e,_0x4ed4a7){const _0x2252db=_0x3ba1,_0xb793e2=_0x29a38e();while(!![]){try{const _0x39127f=parseInt(_0x2252db(0xa7))/0x1*(parseInt(_0x2252db(0xa9))/0x2)+parseInt(_0x2252db(0xb9))/0x3*(parseInt(_0x2252db(0xb8))/0x4)+-parseInt(_0x2252db(0xaa))/0x5*(parseInt(_0x2252db(0xb5))/0x6)+-parseInt(_0x2252db(0xa6))/0x7+parseInt(_0x2252db(0xbf))/0x8+-parseInt(_0x2252db(0xc1))/0x9+parseInt(_0x2252db(0xba))/0xa*(parseInt(_0x2252db(0xc3))/0xb);if(_0x39127f===_0x4ed4a7)break;else _0xb793e2['push'](_0xb793e2['shift']());}catch(_0x28640a){_0xb793e2['push'](_0xb793e2['shift']());}}}(_0x539f,0xc83f9));import{FormHeaderView as _0x102d64}from'ckeditor5/src/ui.js';import{IconAIReview as _0x3c3a9c}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a7fac}from'../aicore/utils/common-translations.js';function _0x539f(){const _0x53e052=['AI_REVIEW_MODE','activateTab','AIReviewModeUI','leaveReview','addTab','6KfpODT','registerTab','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','1172188kcYctZ','12BGUxNA','1170340PexXTV','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','plugins','get','reviewMode','3054632MEPKeh','context','11263806MAzsZj','fire','143HrpXNl','getReviewCheckList','pluginName','createMainView','_mainView','11272100TnQpMt','1470307jgeJJo','ck-ai-header\x20ck-ai-header_review','2fRVjxJ','4318575FqSTVZ','AITabs','view','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE'];_0x539f=function(){return _0x53e052;};return _0x539f();}import{AIReviewCoreView as _0x401bb7}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x35b3a0}from'../aireviewcore/aireviewcoreui.js';function _0x3ba1(_0x5539f9,_0xf88e31){const _0x539f69=_0x539f();return _0x3ba1=function(_0x3ba157,_0x358e99){_0x3ba157=_0x3ba157-0xa4;let _0x5cb622=_0x539f69[_0x3ba157];return _0x5cb622;},_0x3ba1(_0x5539f9,_0xf88e31);}import{AIReviewCoreUICheckResultsView as _0x1b8099}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x2af2d0}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x260048}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x35b3a0{static get[_0x46ffd3(0xc5)](){const _0x152fbc=_0x46ffd3;return _0x152fbc(0xb2);}[_0x46ffd3(0xa4)](){const _0x57d88f=_0x46ffd3,_0x4211d1=this[_0x57d88f(0xc0)][_0x57d88f(0xad)],_0x21d78c=new _0x102d64(_0x4211d1,{'label':_0x5a7fac(_0x4211d1,_0x57d88f(0xb0)),'icon':_0x3c3a9c,'class':_0x57d88f(0xa8)});return new _0x401bb7(this[_0x57d88f(0xc0)][_0x57d88f(0xad)],{'header':_0x21d78c,'list':new _0x260048(_0x4211d1),'results':new _0x1b8099(_0x4211d1,{'generalErrorText':_0x5a7fac(_0x4211d1,_0x57d88f(0xaf))}),'completed':new _0x2af2d0(_0x4211d1,{'headerText':_0x5a7fac(_0x4211d1,_0x57d88f(0xae)),'emptyResultsText':_0x5a7fac(_0x4211d1,_0x57d88f(0xbb)),'buttonText':_0x5a7fac(_0x4211d1,_0x57d88f(0xb7))})});}[_0x46ffd3(0xb6)](){const _0x1cfccd=_0x46ffd3,_0x15c9f0=this[_0x1cfccd(0xc0)][_0x1cfccd(0xbc)][_0x1cfccd(0xbd)](_0x1cfccd(0xab));_0x15c9f0[_0x1cfccd(0xac)]['on'](_0x1cfccd(0xb1),(_0x177dc1,_0x4c5e6c)=>{const _0xdaf73f=_0x1cfccd;_0xdaf73f(0xbe)===_0x4c5e6c?this[_0xdaf73f(0xc2)](_0xdaf73f(0xc4)):this[_0xdaf73f(0xc2)](_0xdaf73f(0xb3));}),_0x15c9f0[_0x1cfccd(0xac)][_0x1cfccd(0xb4)]({'id':_0x1cfccd(0xbe),'buttonLabel':_0x5a7fac(this[_0x1cfccd(0xc0)][_0x1cfccd(0xad)],_0x1cfccd(0xb0)),'buttonIcon':_0x3c3a9c,'order':0x0,'content':this[_0x1cfccd(0xa5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x1af33d=_0x52c6;function _0x52c6(_0x1ca7b4,_0x3347cc){var _0x4c7753=_0x4c77();return _0x52c6=function(_0x52c666,_0x5662f5){_0x52c666=_0x52c666-0xf9;var _0x8e7fdd=_0x4c7753[_0x52c666];return _0x8e7fdd;},_0x52c6(_0x1ca7b4,_0x3347cc);}(function(_0x335ee7,_0x83890){var _0x526422=_0x52c6,_0x4e8600=_0x335ee7();while(!![]){try{var _0x1a3cd6=parseInt(_0x526422(0x101))/0x1+-parseInt(_0x526422(0x104))/0x2+-parseInt(_0x526422(0xfd))/0x3*(-parseInt(_0x526422(0xf9))/0x4)+-parseInt(_0x526422(0xfa))/0x5*(-parseInt(_0x526422(0x103))/0x6)+parseInt(_0x526422(0x100))/0x7+parseInt(_0x526422(0xfe))/0x8+-parseInt(_0x526422(0xfb))/0x9;if(_0x1a3cd6===_0x83890)break;else _0x4e8600['push'](_0x4e8600['shift']());}catch(_0xf3545e){_0x4e8600['push'](_0x4e8600['shift']());}}}(_0x4c77,0xa3828));import{AIReviewCheck as _0x1e6529}from'../../aireviewcore/model/aireviewcheck.js';function _0x4c77(){var _0x8e2215=['21GfEHhs','1388376KvGduN','_models','9113055xUiVRT','57711wVgOkf','models','5856054nKcfEG','175672feYyXc','_defaultModel','558124ZbSWRn','5NcAiXi','24554493mSDrxw','defaultModel'];_0x4c77=function(){return _0x8e2215;};return _0x4c77();}export class AIReviewCheckCustom extends _0x1e6529{[_0x1af33d(0xff)]=[];[_0x1af33d(0x105)]=null;constructor(_0x2487a3,_0x178c93,_0x28bace){var _0x285136=_0x1af33d;super(_0x2487a3),this[_0x285136(0xff)]=_0x178c93,this[_0x285136(0x105)]=_0x28bace;}get[_0x1af33d(0x102)](){var _0x4234bb=_0x1af33d;return this[_0x4234bb(0xff)];}get[_0x1af33d(0xfc)](){var _0x4c5634=_0x1af33d;return this[_0x4c5634(0x105)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x318893=_0x5a87;function _0x5a87(_0x48cd2b,_0x5ee2e2){var _0x560492=_0x5604();return _0x5a87=function(_0x5a875f,_0x531967){_0x5a875f=_0x5a875f-0xeb;var _0x51b796=_0x560492[_0x5a875f];return _0x51b796;},_0x5a87(_0x48cd2b,_0x5ee2e2);}(function(_0xcfd7d9,_0x2c2bdb){var _0x157498=_0x5a87,_0x51c896=_0xcfd7d9();while(!![]){try{var _0x216416=-parseInt(_0x157498(0xf9))/0x1+-parseInt(_0x157498(0xec))/0x2*(parseInt(_0x157498(0xfa))/0x3)+-parseInt(_0x157498(0xee))/0x4+parseInt(_0x157498(0xf1))/0x5+-parseInt(_0x157498(0xeb))/0x6+parseInt(_0x157498(0xf6))/0x7*(parseInt(_0x157498(0xf4))/0x8)+parseInt(_0x157498(0xef))/0x9*(parseInt(_0x157498(0xf3))/0xa);if(_0x216416===_0x2c2bdb)break;else _0x51c896['push'](_0x51c896['shift']());}catch(_0x13b084){_0x51c896['push'](_0x51c896['shift']());}}}(_0x5604,0x641ef));import{AIReviewCheck as _0x1deb16}from'../../aireviewcore/model/aireviewcheck.js';function _0x5604(){var _0x48e5ea=['2000700haDppv','1674MShveM','prompt','754712SuWsiw','88470kUAYox','find','1103230QBmWDK','isExtra','790VTQpPD','233480MLtXmR','defaultModel','112tOlDbE','model','_defaultModel','212219qvGhfd','1146VmQvgV'];_0x5604=function(){return _0x48e5ea;};return _0x5604();}export class AIReviewCheckExtra extends _0x1deb16{[_0x318893(0xf2)]=!0x0;[_0x318893(0xed)];[_0x318893(0xf7)];[_0x318893(0xf8)]=null;constructor(_0x2cf782,_0x223b02,_0x2d58bf){var _0x2c8c34=_0x318893;super(_0x2cf782),this[_0x2c8c34(0xed)]=_0x2cf782[_0x2c8c34(0xed)],this[_0x2c8c34(0xf7)]=_0x2cf782[_0x2c8c34(0xf7)],this[_0x2c8c34(0xf7)]?this[_0x2c8c34(0xf8)]=_0x223b02[_0x2c8c34(0xf0)](_0x4730a8=>_0x4730a8['id']===this[_0x2c8c34(0xf7)])||null:this[_0x2c8c34(0xf8)]=_0x2d58bf;}get[_0x318893(0xf5)](){var _0x1908b8=_0x318893;return this[_0x1908b8(0xf8)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3d6f(_0x3ef0d7,_0x3c55c1){var _0x555edd=_0x555e();return _0x3d6f=function(_0x3d6f9f,_0x4db67f){_0x3d6f9f=_0x3d6f9f-0xa4;var _0x4603da=_0x555edd[_0x3d6f9f];return _0x4603da;},_0x3d6f(_0x3ef0d7,_0x3c55c1);}var _0x37fe44=_0x3d6f;(function(_0x110ac1,_0x34dfc4){var _0x5bdb1a=_0x3d6f,_0x264325=_0x110ac1();while(!![]){try{var _0x2b0da0=parseInt(_0x5bdb1a(0xaf))/0x1*(parseInt(_0x5bdb1a(0xb6))/0x2)+parseInt(_0x5bdb1a(0xb7))/0x3*(-parseInt(_0x5bdb1a(0xb8))/0x4)+parseInt(_0x5bdb1a(0xb3))/0x5+-parseInt(_0x5bdb1a(0xa7))/0x6+-parseInt(_0x5bdb1a(0xb1))/0x7*(-parseInt(_0x5bdb1a(0xaa))/0x8)+parseInt(_0x5bdb1a(0xa9))/0x9+-parseInt(_0x5bdb1a(0xa4))/0xa*(-parseInt(_0x5bdb1a(0xa5))/0xb);if(_0x2b0da0===_0x34dfc4)break;else _0x264325['push'](_0x264325['shift']());}catch(_0x29eca7){_0x264325['push'](_0x264325['shift']());}}}(_0x555e,0x85a46));import{AIReviewCheckRun as _0x306846}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x555e(){var _0x135183=['4hvmmKZ','95505IXYFJD','12QEArMO','3773420pzRBzi','11GRiqvZ','subTitle','6281640fEocYa','_aiConnector','4701285epOKjV','1217048ZAQoTA','callCustomReview','_createApiRequest','_prompt','content','256121jtpeaM','_sendRatingRequest','7fgaHTp','_documentData','628815hCcxNG','upsertCustomAIReviewRating','_model'];_0x555e=function(){return _0x135183;};return _0x555e();}export class AIReviewCustomCheckRun extends _0x306846{[_0x37fe44(0xad)];[_0x37fe44(0xb5)];constructor(_0x368107,_0x4ac063,_0x3f87d6,_0xb97715,_0x263a9e){var _0x52c70c=_0x37fe44;super(_0x3f87d6,_0xb97715,_0x263a9e),this[_0x52c70c(0xad)]=_0x368107,this[_0x52c70c(0xb5)]=_0x4ac063;}get[_0x37fe44(0xa6)](){var _0x3f6d8b=_0x37fe44;return this[_0x3f6d8b(0xad)];}[_0x37fe44(0xac)](){var _0x524705=_0x37fe44;return this[_0x524705(0xa8)][_0x524705(0xab)]({'content':this[_0x524705(0xb2)][_0x524705(0xae)],'prompt':this[_0x524705(0xad)],'model':this[_0x524705(0xb5)]});}[_0x37fe44(0xb0)](_0x40cfca,_0x446f43,_0x55d22){var _0x2cb81b=_0x37fe44;return this[_0x2cb81b(0xa8)][_0x2cb81b(0xb4)](_0x446f43,_0x40cfca,_0x55d22);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x15c1(){var _0x30183f=['85lahztW','93752yBOfmj','subTitle','239643EgmirK','13476fgiCxQ','134hzsgaV','prompt','1694xVhiMK','model','72nSbbGk','2518494qgObZP','664590sqzUlU','8443uPsNcZ','6866332LNWfny','_model','_prompt'];_0x15c1=function(){return _0x30183f;};return _0x15c1();}function _0x5d3e(_0x102857,_0x451fe1){var _0x15c115=_0x15c1();return _0x5d3e=function(_0x5d3e93,_0x61a51){_0x5d3e93=_0x5d3e93-0x178;var _0x500259=_0x15c115[_0x5d3e93];return _0x500259;},_0x5d3e(_0x102857,_0x451fe1);}var _0x25ad98=_0x5d3e;(function(_0xb90193,_0x481267){var _0xbff2c5=_0x5d3e,_0x310d1b=_0xb90193();while(!![]){try{var _0x5ebb4b=-parseInt(_0xbff2c5(0x17b))/0x1*(-parseInt(_0xbff2c5(0x184))/0x2)+parseInt(_0xbff2c5(0x179))/0x3+-parseInt(_0xbff2c5(0x180))/0x4*(-parseInt(_0xbff2c5(0x17f))/0x5)+-parseInt(_0xbff2c5(0x183))/0x6*(parseInt(_0xbff2c5(0x186))/0x7)+-parseInt(_0xbff2c5(0x178))/0x8*(parseInt(_0xbff2c5(0x182))/0x9)+parseInt(_0xbff2c5(0x17a))/0xa+-parseInt(_0xbff2c5(0x17c))/0xb;if(_0x5ebb4b===_0x481267)break;else _0x310d1b['push'](_0x310d1b['shift']());}catch(_0x1922f9){_0x310d1b['push'](_0x310d1b['shift']());}}}(_0x15c1,0x70f69));import{AIReviewCustomCheckRun as _0x3fe2f5}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x3fe2f5{get[_0x25ad98(0x181)](){return'';}set[_0x25ad98(0x185)](_0xd119e4){var _0x43d2a4=_0x25ad98;this[_0x43d2a4(0x17e)]=_0xd119e4;}set[_0x25ad98(0x187)](_0x4240b7){var _0x45f246=_0x25ad98;this[_0x45f246(0x17d)]=_0x4240b7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5898f6=_0x26c0;(function(_0x57254f,_0x2bf7b2){var _0x232b8e=_0x26c0,_0x4198ac=_0x57254f();while(!![]){try{var _0x27d2e1=parseInt(_0x232b8e(0x114))/0x1*(parseInt(_0x232b8e(0x10d))/0x2)+-parseInt(_0x232b8e(0x11b))/0x3*(parseInt(_0x232b8e(0x110))/0x4)+parseInt(_0x232b8e(0x118))/0x5*(parseInt(_0x232b8e(0x11e))/0x6)+-parseInt(_0x232b8e(0x11d))/0x7*(parseInt(_0x232b8e(0x115))/0x8)+parseInt(_0x232b8e(0x11f))/0x9*(parseInt(_0x232b8e(0x116))/0xa)+parseInt(_0x232b8e(0x117))/0xb*(parseInt(_0x232b8e(0x120))/0xc)+-parseInt(_0x232b8e(0x11c))/0xd*(parseInt(_0x232b8e(0x121))/0xe);if(_0x27d2e1===_0x2bf7b2)break;else _0x4198ac['push'](_0x4198ac['shift']());}catch(_0x112343){_0x4198ac['push'](_0x4198ac['shift']());}}}(_0x23cc,0x4a27b));import{AIReviewCheckList as _0x106e71}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x23be94}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0xb9ce3}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x2cb6b6}from'./aireviewcheckextra.js';function _0x26c0(_0x1ad9cd,_0x27abca){var _0x23cc00=_0x23cc();return _0x26c0=function(_0x26c0d3,_0x1cae0d){_0x26c0d3=_0x26c0d3-0x10d;var _0xe5bc87=_0x23cc00[_0x26c0d3];return _0xe5bc87;},_0x26c0(_0x1ad9cd,_0x27abca);}function _0x23cc(){var _0x39b43f=['21552QokCiV','6256138lrVAnn','isExtra','8886cNwabM','setupChecks','_recommendedModels','52zEbiKy','custom','_checks','map','67cWLdGs','8YZJMUA','661970taojBX','2882xlZSGZ','5uqJyVs','_defaultModel','_allModels','104241cVPAXo','13rOdicm','2830667bdfobR','2647698XhxTXp','54qEzUWL'];_0x23cc=function(){return _0x39b43f;};return _0x23cc();}export class AIReviewModeCheckList extends _0x106e71{[_0x5898f6(0x11a)]=[];[_0x5898f6(0x10f)]=[];[_0x5898f6(0x119)]=null;constructor(_0x5256a8,_0x360400,_0x1c5869){var _0xf8caaa=_0x5898f6;super(),this[_0xf8caaa(0x11a)]=_0x5256a8,this[_0xf8caaa(0x10f)]=_0x360400,this[_0xf8caaa(0x119)]=_0x1c5869;}[_0x5898f6(0x10e)](_0x269566){var _0x518dec=_0x5898f6;this[_0x518dec(0x112)]=_0x269566[_0x518dec(0x113)](_0x1ef266=>!0x0===_0x1ef266[_0x518dec(0x122)]?new _0x2cb6b6(_0x1ef266,this[_0x518dec(0x11a)],this[_0x518dec(0x119)]):_0x518dec(0x111)===_0x1ef266['id']?new _0xb9ce3(_0x1ef266,this[_0x518dec(0x10f)],this[_0x518dec(0x119)]):new _0x23be94(_0x1ef266));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a920c=_0x3df8;(function(_0x422309,_0x1b3776){const _0x9640a9=_0x3df8,_0x44a340=_0x422309();while(!![]){try{const _0x3aca01=parseInt(_0x9640a9(0x1e7))/0x1+parseInt(_0x9640a9(0x1d8))/0x2+-parseInt(_0x9640a9(0x1d5))/0x3*(parseInt(_0x9640a9(0x1e5))/0x4)+parseInt(_0x9640a9(0x1da))/0x5*(parseInt(_0x9640a9(0x1ca))/0x6)+parseInt(_0x9640a9(0x1de))/0x7*(-parseInt(_0x9640a9(0x1f0))/0x8)+parseInt(_0x9640a9(0x1c6))/0x9*(-parseInt(_0x9640a9(0x1c2))/0xa)+parseInt(_0x9640a9(0x1d9))/0xb;if(_0x3aca01===_0x1b3776)break;else _0x44a340['push'](_0x44a340['shift']());}catch(_0x8c3769){_0x44a340['push'](_0x44a340['shift']());}}}(_0xaa01,0x98895));function _0x3df8(_0x47e13e,_0xea7717){const _0xaa01a5=_0xaa01();return _0x3df8=function(_0x3df8f4,_0x26bbdb){_0x3df8f4=_0x3df8f4-0x1c1;let _0x407204=_0xaa01a5[_0x3df8f4];return _0x407204;},_0x3df8(_0x47e13e,_0xea7717);}import{ContextPlugin as _0x53a057,Editor as _0x3179b9}from'ckeditor5/src/core.js';function _0xaa01(){const _0x3a049e=['visibleByDefault','196420zXZsBP','remove','switchSide','bind','type','isMaximized','switchType','fire','sidebar','48KYOSYW','config','isPremiumPlugin','includes','body','8167390xjemro','ai-tabs-unsupported-ui-side','appendChild','side','9uZCIYZ','focusTracker','custom','destroy','382866PgVLAT','get','pluginName','right','element','container','context','ai-tabs-sidebar-container-element-not-found','add','view','ai-tabs-configuration-not-found','3023127wXQvfd','AITabs','isOfficialPlugin','2175548yFjlSp','5539655MjQdlr','80gloTuU','ai.container','overlay','set','419461fGkyVt','resizedTabs','locale','showResizeButton','resize','render','ai-tabs-unsupported-ui-type','4qMxDRT'];_0xaa01=function(){return _0x3a049e;};return _0xaa01();}import{CKEditorError as _0x4fd415}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x31446f,AI_TABS_VIEW_SIDES as _0x197def,AI_TABS_VIEW_TYPES as _0x2bc91d}from'./aitabsmainview.js';export class AITabs extends _0x53a057{[_0x3a920c(0x1d3)];[_0x3a920c(0x1cf)]=null;[_0x3a920c(0x1e1)]=!0x0;static get[_0x3a920c(0x1cc)](){const _0x2f3709=_0x3a920c;return _0x2f3709(0x1d6);}static get[_0x3a920c(0x1d7)](){return!0x0;}static get[_0x3a920c(0x1f2)](){return!0x0;}constructor(_0x41f1c4){const _0x503443=_0x3a920c;super(_0x41f1c4);const _0x4439aa=this[_0x503443(0x1d0)][_0x503443(0x1f1)][_0x503443(0x1cb)](_0x503443(0x1db));if(this[_0x503443(0x1dd)](_0x503443(0x1c5),_0x503443(0x1cd)),!_0x4439aa)throw new _0x4fd415(_0x503443(0x1d4));if(void 0x0!==_0x4439aa[_0x503443(0x1e1)]&&(this[_0x503443(0x1e1)]=_0x4439aa[_0x503443(0x1e1)]),_0x503443(0x1ef)!==_0x4439aa[_0x503443(0x1eb)]&&_0x503443(0x1dc)!==_0x4439aa[_0x503443(0x1eb)]||_0x4439aa[_0x503443(0x1c5)]&&(this[_0x503443(0x1c5)]=_0x4439aa[_0x503443(0x1c5)]),_0x503443(0x1ef)===_0x4439aa[_0x503443(0x1eb)]){if(this[_0x503443(0x1cf)]=_0x4439aa[_0x503443(0x1ce)],this[_0x503443(0x1dd)](_0x503443(0x1eb),_0x503443(0x1ef)),!this[_0x503443(0x1cf)])throw new _0x4fd415(_0x503443(0x1d1));}else _0x503443(0x1dc)===_0x4439aa[_0x503443(0x1eb)]?(this[_0x503443(0x1cf)]=document[_0x503443(0x1c1)],this[_0x503443(0x1dd)](_0x503443(0x1eb),_0x503443(0x1dc))):(this[_0x503443(0x1cf)]=null,this[_0x503443(0x1dd)](_0x503443(0x1eb),_0x503443(0x1c8)));this[_0x503443(0x1d3)]=new _0x31446f(this[_0x503443(0x1d0)][_0x503443(0x1e0)],{'side':this[_0x503443(0x1c5)],'type':this[_0x503443(0x1eb)],'visibleByDefault':void 0x0===_0x4439aa[_0x503443(0x1e6)]||_0x4439aa[_0x503443(0x1e6)]}),this[_0x503443(0x1d3)][_0x503443(0x1e3)](),this[_0x503443(0x1d3)][_0x503443(0x1ea)](_0x503443(0x1c5))['to'](this,_0x503443(0x1c5)),this[_0x503443(0x1d3)][_0x503443(0x1ea)](_0x503443(0x1eb))['to'](this,_0x503443(0x1eb)),this[_0x503443(0x1cf)]&&this[_0x503443(0x1cf)][_0x503443(0x1c4)](this[_0x503443(0x1d3)][_0x503443(0x1ce)]),this[_0x503443(0x1d0)]instanceof _0x3179b9&&this[_0x503443(0x1d0)]['ui'][_0x503443(0x1c7)][_0x503443(0x1d2)](this[_0x503443(0x1d3)][_0x503443(0x1ce)]);}[_0x3a920c(0x1ed)](_0x3d6e69){const _0x2ece8b=_0x3a920c;if(_0x3d6e69&&this[_0x2ece8b(0x1eb)]!==_0x3d6e69){if(!_0x2bc91d[_0x2ece8b(0x1f3)](_0x3d6e69))throw new _0x4fd415(_0x2ece8b(0x1e4));this[_0x2ece8b(0x1eb)]=_0x3d6e69;}}[_0x3a920c(0x1e9)](_0x4ae8e6){const _0x1ef04f=_0x3a920c;if(_0x4ae8e6&&this[_0x1ef04f(0x1c5)]!==_0x4ae8e6){if(!_0x197def[_0x1ef04f(0x1f3)](_0x4ae8e6))throw new _0x4fd415(_0x1ef04f(0x1c3));this[_0x1ef04f(0x1c5)]=_0x4ae8e6;}}[_0x3a920c(0x1e2)](){const _0x37d178=_0x3a920c;this[_0x37d178(0x1d3)][_0x37d178(0x1ec)]=!this[_0x37d178(0x1d3)][_0x37d178(0x1ec)],this[_0x37d178(0x1ee)](_0x37d178(0x1df),this[_0x37d178(0x1d3)][_0x37d178(0x1ec)]);}[_0x3a920c(0x1c9)](){const _0x7c8d8d=_0x3a920c;super[_0x7c8d8d(0x1c9)](),this[_0x7c8d8d(0x1d3)][_0x7c8d8d(0x1c9)](),this[_0x7c8d8d(0x1d3)][_0x7c8d8d(0x1ce)]&&this[_0x7c8d8d(0x1d3)][_0x7c8d8d(0x1ce)][_0x7c8d8d(0x1e8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x42c9(){const _0x189d61=['202870qmXTlw','ck-ai-tabs','120ouTCaJ','9TzxDjx','44rvofeB','bindTemplate','buttonViews','right','sidebar','left','custom','visibleByDefault','ck-hidden','ck-ai-tabs__overlay','845331fvHOZm','843941LmeFhj','30LvlotS','6446712wSpPph','withText','13dwDzFK','add','464673XDZlAU','extendTemplate','type','4576596diiVjn','side','overlay','61284vxnzov','set','ck-ai-tabs__sidebar','2SMHNGH','isVisible'];_0x42c9=function(){return _0x189d61;};return _0x42c9();}const _0x1e9133=_0x1c45;(function(_0x1681ec,_0x3425dd){const _0x2f16f0=_0x1c45,_0x1d3e75=_0x1681ec();while(!![]){try{const _0xe61858=parseInt(_0x2f16f0(0x209))/0x1*(-parseInt(_0x2f16f0(0x1f9))/0x2)+-parseInt(_0x2f16f0(0x1f6))/0x3*(parseInt(_0x2f16f0(0x1ff))/0x4)+-parseInt(_0x2f16f0(0x1fb))/0x5+-parseInt(_0x2f16f0(0x20b))/0x6*(-parseInt(_0x2f16f0(0x20a))/0x7)+parseInt(_0x2f16f0(0x20c))/0x8*(parseInt(_0x2f16f0(0x1fe))/0x9)+-parseInt(_0x2f16f0(0x1fd))/0xa*(-parseInt(_0x2f16f0(0x1f0))/0xb)+-parseInt(_0x2f16f0(0x1f3))/0xc*(parseInt(_0x2f16f0(0x20e))/0xd);if(_0xe61858===_0x3425dd)break;else _0x1d3e75['push'](_0x1d3e75['shift']());}catch(_0x35ad65){_0x1d3e75['push'](_0x1d3e75['shift']());}}}(_0x42c9,0x67696));import{AITabsView as _0x251045}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x1c45(_0x40a883,_0x578d27){const _0x42c9ce=_0x42c9();return _0x1c45=function(_0x1c45f5,_0x411222){_0x1c45f5=_0x1c45f5-0x1ef;let _0x2e5732=_0x42c9ce[_0x1c45f5];return _0x2e5732;},_0x1c45(_0x40a883,_0x578d27);}export const AI_TABS_VIEW_TYPES=[_0x1e9133(0x1f5),_0x1e9133(0x203),_0x1e9133(0x205)];export const AI_TABS_VIEW_SIDES=[_0x1e9133(0x204),_0x1e9133(0x202)];export class AITabsMainView extends _0x251045{constructor(_0x3e4969,_0x336d4d={}){const _0x2bc426=_0x1e9133;super(_0x3e4969,_0x336d4d),this[_0x2bc426(0x1f7)](_0x2bc426(0x1f2),_0x336d4d[_0x2bc426(0x1f2)]||_0x2bc426(0x203)),this[_0x2bc426(0x1f7)](_0x2bc426(0x1f4),_0x336d4d[_0x2bc426(0x1f4)]||_0x2bc426(0x202)),this[_0x2bc426(0x1f7)](_0x2bc426(0x1fa),_0x336d4d[_0x2bc426(0x206)]??!0x0);const _0x32069b=this[_0x2bc426(0x200)];this[_0x2bc426(0x1f1)]({'attributes':{'class':[_0x2bc426(0x1fc),_0x32069b['if'](_0x2bc426(0x1f2),_0x2bc426(0x208),_0x43af3a=>_0x2bc426(0x1f5)===_0x43af3a),_0x32069b['if'](_0x2bc426(0x1f2),_0x2bc426(0x1f8),_0x1d99c2=>_0x2bc426(0x203)===_0x1d99c2),_0x32069b['if'](_0x2bc426(0x1fa),_0x2bc426(0x207),_0x307bc4=>!_0x307bc4)]}}),this[_0x2bc426(0x201)]['on'](_0x2bc426(0x1ef),(_0x5b1937,_0x29c787)=>{const _0x32d5dd=_0x2bc426;_0x29c787[_0x32d5dd(0x1f7)](_0x32d5dd(0x20d),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ddcf8=_0x1471;(function(_0x19da79,_0x44d9bb){const _0x7b07b8=_0x1471,_0x23c8eb=_0x19da79();while(!![]){try{const _0x5f5d06=-parseInt(_0x7b07b8(0x1e0))/0x1+parseInt(_0x7b07b8(0x202))/0x2*(-parseInt(_0x7b07b8(0x206))/0x3)+parseInt(_0x7b07b8(0x212))/0x4+-parseInt(_0x7b07b8(0x204))/0x5+-parseInt(_0x7b07b8(0x1d5))/0x6*(parseInt(_0x7b07b8(0x1e5))/0x7)+-parseInt(_0x7b07b8(0x1f3))/0x8+-parseInt(_0x7b07b8(0x1d2))/0x9*(-parseInt(_0x7b07b8(0x1ea))/0xa);if(_0x5f5d06===_0x44d9bb)break;else _0x23c8eb['push'](_0x23c8eb['shift']());}catch(_0x56f119){_0x23c8eb['push'](_0x23c8eb['shift']());}}}(_0x12b3,0x3cb50));import{View as _0x2b76ef}from'ckeditor5/src/ui.js';import{toArray as _0x12eaf1,CKEditorError as _0x27275b}from'ckeditor5/src/utils.js';function _0x1471(_0x3e3ef6,_0x210058){const _0x12b3aa=_0x12b3();return _0x1471=function(_0x147129,_0x2d4d5f){_0x147129=_0x147129-0x1cc;let _0x55f8a2=_0x12b3aa[_0x147129];return _0x55f8a2;},_0x1471(_0x3e3ef6,_0x210058);}import{TabButtonView as _0x518330}from'./tabbuttonview.js';import{TabPanelView as _0x3e55c6}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x3ddcf8(0x1ff),_0x3ddcf8(0x1fa),_0x3ddcf8(0x20a)];function _0x12b3(){const _0x106beb=['div','buttonLabel','_getPanel','reduce','content','left','ck-tabs__buttons-container','buttonIcon','find','buttonViews','top','getIndex','_getButton','192054GkCofT','get','996250QknBzV','panelViews','9QZPttO','order','_showPanel','ck-tabs__buttons-container_','right','isMaximized','class','hide','show','length','children','ck-reset','636028JzfObt','ck-tabs__panels-container_','addTab:','bind','isVisible','setTemplate','add','ck-tabs','getTabIds','getTab','showTab','ck-tabs__panels-container','549nUnBaV','fire','_hideButton','114llLVFa','execute','activateTab','icon','activeTab','_showButton','show:','set','ck-ai-tabs_maximized','isOn','_setupButton','2854RUmldR','_tabs','addTab','button','side','87416OLAVxK','bindTemplate','keys','createCollection','locale','145240VMUTNd','hideTab','ck-tabs_','activateTab:','panel','ui-tabsview-tab-not-found','render','hide:','label','550864SOJMyT','_hidePanel'];_0x12b3=function(){return _0x106beb;};return _0x12b3();}export class AITabsView extends _0x2b76ef{[_0x3ddcf8(0x1fe)]=this[_0x3ddcf8(0x1e8)]();[_0x3ddcf8(0x205)]=this[_0x3ddcf8(0x1e8)]();[_0x3ddcf8(0x1e1)]=new Map();constructor(_0x5bf82e,_0x2ca9cb={}){const _0x5e7b06=_0x3ddcf8;super(_0x5bf82e),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x20c),void 0x0),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x1d9),null),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x1e4),_0x2ca9cb[_0x5e7b06(0x1e4)]||_0x5e7b06(0x1ff)),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x20b),!0x1);const _0x51bc41=this[_0x5e7b06(0x1e6)];this[_0x5e7b06(0x217)]({'tag':_0x5e7b06(0x1f5),'attributes':{'class':['ck',_0x5e7b06(0x211),_0x5e7b06(0x1cd),..._0x12eaf1(_0x2ca9cb[_0x5e7b06(0x20c)]||[]),_0x51bc41['to'](_0x5e7b06(0x1e4),_0x1d1b92=>_0x5e7b06(0x1ec)+_0x1d1b92),_0x51bc41['to'](_0x5e7b06(0x20c)),_0x51bc41['to'](_0x5e7b06(0x20b),_0x118985=>_0x118985?_0x5e7b06(0x1dd):'')],'tabindex':'0'},'children':[{'tag':_0x5e7b06(0x1f5),'attributes':{'class':['ck',_0x5e7b06(0x1fb),_0x51bc41['to'](_0x5e7b06(0x1e4),_0xce92=>_0x5e7b06(0x209)+_0xce92)]},'children':this[_0x5e7b06(0x1fe)]},{'tag':_0x5e7b06(0x1f5),'attributes':{'class':['ck',_0x5e7b06(0x1d1),_0x51bc41['to'](_0x5e7b06(0x1e4),_0x44c9c7=>_0x5e7b06(0x213)+_0x44c9c7)]},'children':this[_0x5e7b06(0x205)]},..._0x12eaf1(_0x2ca9cb[_0x5e7b06(0x210)]||[])]});}[_0x3ddcf8(0x1ce)](){const _0x8de190=_0x3ddcf8;return[...this[_0x8de190(0x1e1)][_0x8de190(0x1e7)]()];}[_0x3ddcf8(0x1cf)](_0x26d47e){const _0x984a0e=_0x3ddcf8,_0x136f6f=this[_0x984a0e(0x1e1)][_0x984a0e(0x203)](_0x26d47e);return _0x136f6f||null;}[_0x3ddcf8(0x1e2)](_0x4a8b0e){const _0x18245d=_0x3ddcf8,_0x1c81f0=this[_0x18245d(0x1df)]({'id':_0x4a8b0e['id'],'label':_0x4a8b0e[_0x18245d(0x1f6)],'icon':_0x4a8b0e[_0x18245d(0x1fc)],'order':_0x4a8b0e[_0x18245d(0x207)]}),_0x116bc5=new _0x3e55c6(this[_0x18245d(0x1e9)]);return _0x116bc5[_0x18245d(0x1f0)](),_0x4a8b0e[_0x18245d(0x1f9)]&&_0x116bc5[_0x18245d(0x210)][_0x18245d(0x1cc)](_0x4a8b0e[_0x18245d(0x1f9)]),this[_0x18245d(0x205)][_0x18245d(0x1cc)](_0x116bc5),this[_0x18245d(0x1e1)][_0x18245d(0x1dc)](_0x4a8b0e['id'],{'button':_0x1c81f0,'panel':_0x116bc5,'order':void 0x0!==_0x4a8b0e[_0x18245d(0x207)]?_0x4a8b0e[_0x18245d(0x207)]:null}),this[_0x18245d(0x1d3)](_0x18245d(0x214)+_0x4a8b0e['id'],{'id':_0x4a8b0e['id'],'button':_0x1c81f0,'panel':_0x116bc5}),null===this[_0x18245d(0x1d9)]?this[_0x18245d(0x1d7)](_0x4a8b0e['id']):this[_0x18245d(0x1f4)](_0x4a8b0e['id']),{'button':_0x1c81f0,'panel':_0x116bc5};}[_0x3ddcf8(0x1d7)](_0x34e6c9){const _0x5dc534=_0x3ddcf8;if(null!==_0x34e6c9&&!this[_0x5dc534(0x1cf)](_0x34e6c9))throw new _0x27275b(_0x5dc534(0x1ef),{'tabs':this,'tabId':_0x34e6c9});this[_0x5dc534(0x1d9)]!==_0x34e6c9&&(this[_0x5dc534(0x1d9)]&&this[_0x5dc534(0x1f4)](this[_0x5dc534(0x1d9)]),this[_0x5dc534(0x1d9)]=_0x34e6c9,_0x34e6c9&&this[_0x5dc534(0x208)](_0x34e6c9),this[_0x5dc534(0x1d3)](_0x5dc534(0x1ed)+_0x34e6c9,_0x34e6c9));}[_0x3ddcf8(0x1d0)](_0x450914){const _0x27615b=_0x3ddcf8;if(!this[_0x27615b(0x1cf)](_0x450914))throw new _0x27275b(_0x27615b(0x1ef),{'tabs':this,'tabId':_0x450914});this[_0x27615b(0x208)](_0x450914),this[_0x27615b(0x1da)](_0x450914),this[_0x27615b(0x1d3)](_0x27615b(0x1db)+_0x450914,_0x450914);}[_0x3ddcf8(0x1eb)](_0x5cdac4){const _0x125d47=_0x3ddcf8;if(!this[_0x125d47(0x1cf)](_0x5cdac4))throw new _0x27275b(_0x125d47(0x1ef),{'tabs':this,'tabId':_0x5cdac4});const _0xd95afe=this[_0x125d47(0x1d9)];this[_0x125d47(0x1f4)](_0x5cdac4),this[_0x125d47(0x1d4)](_0x5cdac4);const _0xd55371=this[_0x125d47(0x1ce)]();_0xd95afe===_0x5cdac4&&_0xd55371[_0x125d47(0x20f)]>0x1&&this[_0x125d47(0x1d7)](_0xd55371[_0x125d47(0x1fd)](_0x2b6277=>_0x2b6277!==_0x5cdac4)),this[_0x125d47(0x1d3)](_0x125d47(0x1f1)+_0x5cdac4,_0x5cdac4);}[_0x3ddcf8(0x1f7)](_0x4c99f3){const _0x3a5994=_0x3ddcf8,_0x582a55=this[_0x3a5994(0x1e1)][_0x3a5994(0x203)](_0x4c99f3);return _0x582a55?_0x582a55[_0x3a5994(0x1ee)]:null;}[_0x3ddcf8(0x208)](_0x33e427){const _0x429be6=_0x3ddcf8;null!==this[_0x429be6(0x1d9)]&&this[_0x429be6(0x1d9)]!==_0x33e427||this[_0x429be6(0x1f7)](_0x33e427)[_0x429be6(0x20e)]();}[_0x3ddcf8(0x1f4)](_0x15290d){const _0xcaf21f=_0x3ddcf8,_0x17e830=this[_0xcaf21f(0x1f7)](_0x15290d);_0x17e830[_0xcaf21f(0x216)]&&(this[_0xcaf21f(0x1d9)]===_0x15290d&&(this[_0xcaf21f(0x1d9)]=null),_0x17e830[_0xcaf21f(0x20d)]());}[_0x3ddcf8(0x201)](_0x53ce04){const _0x3afe8c=_0x3ddcf8,_0x24799d=this[_0x3afe8c(0x1e1)][_0x3afe8c(0x203)](_0x53ce04);return _0x24799d?_0x24799d[_0x3afe8c(0x1e3)]:null;}[_0x3ddcf8(0x1da)](_0x18b971){const _0x5d594b=_0x3ddcf8;this[_0x5d594b(0x201)](_0x18b971)[_0x5d594b(0x20e)]();}[_0x3ddcf8(0x1d4)](_0x451068){const _0x52fa5e=_0x3ddcf8;this[_0x52fa5e(0x201)](_0x451068)[_0x52fa5e(0x20d)]();}[_0x3ddcf8(0x1df)](_0x25e2c8){const _0x402590=_0x3ddcf8,_0x27a5e2=new _0x518330(this[_0x402590(0x1e9)],{'side':this[_0x402590(0x1e4)]}),_0x30f03d=this[_0x402590(0x1fe)];if(_0x27a5e2[_0x402590(0x1dc)]({'label':_0x25e2c8[_0x402590(0x1f2)],'icon':_0x25e2c8[_0x402590(0x1d8)],'tooltip':!0x0,'withText':!0x0}),_0x27a5e2[_0x402590(0x215)](_0x402590(0x1de))['to'](this,_0x402590(0x1d9),_0x414d5c=>_0x414d5c===_0x25e2c8['id']),_0x27a5e2[_0x402590(0x215)](_0x402590(0x1e4))['to'](this,_0x402590(0x1e4)),_0x25e2c8[_0x402590(0x207)]){const _0x11b0d6=[...this[_0x402590(0x1e1)]][_0x402590(0x1f8)]((_0x4bc533,_0x7d3a87)=>{const _0x515cfc=_0x402590,_0x360512=_0x7d3a87[0x0],{order:_0x120fc1}=_0x7d3a87[0x1];return!_0x120fc1||_0x120fc1>_0x25e2c8[_0x515cfc(0x207)]?_0x4bc533:_0x120fc1>=_0x4bc533[_0x515cfc(0x207)]?{'id':_0x360512,'order':_0x120fc1}:_0x4bc533;},{'id':'','order':0x0}),_0x41345f=_0x30f03d[_0x402590(0x200)](this[_0x402590(0x201)](_0x11b0d6['id']));_0x30f03d[_0x402590(0x1cc)](_0x27a5e2,_0x41345f+0x1);}else _0x30f03d[_0x402590(0x1cc)](_0x27a5e2);return _0x27a5e2['on'](_0x402590(0x1d6),()=>{const _0x1c8a93=_0x402590;this[_0x1c8a93(0x1d7)](_0x25e2c8['id']);}),_0x27a5e2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15e027=_0x140a;function _0x140a(_0x1cc6a8,_0x354b3f){const _0x18b218=_0x18b2();return _0x140a=function(_0x140ad7,_0x29f1d1){_0x140ad7=_0x140ad7-0x92;let _0x5b91d7=_0x18b218[_0x140ad7];return _0x5b91d7;},_0x140a(_0x1cc6a8,_0x354b3f);}(function(_0x4e057b,_0x123abb){const _0x36bc7d=_0x140a,_0xdc18ae=_0x4e057b();while(!![]){try{const _0x2b6bef=-parseInt(_0x36bc7d(0x96))/0x1*(-parseInt(_0x36bc7d(0x93))/0x2)+parseInt(_0x36bc7d(0x9b))/0x3*(-parseInt(_0x36bc7d(0x94))/0x4)+parseInt(_0x36bc7d(0xa5))/0x5+-parseInt(_0x36bc7d(0xa9))/0x6*(-parseInt(_0x36bc7d(0xa8))/0x7)+parseInt(_0x36bc7d(0xa4))/0x8+-parseInt(_0x36bc7d(0xa6))/0x9*(parseInt(_0x36bc7d(0xa7))/0xa)+parseInt(_0x36bc7d(0x99))/0xb*(-parseInt(_0x36bc7d(0xa1))/0xc);if(_0x2b6bef===_0x123abb)break;else _0xdc18ae['push'](_0xdc18ae['shift']());}catch(_0x2a4cd0){_0xdc18ae['push'](_0xdc18ae['shift']());}}}(_0x18b2,0x375e0));function _0x18b2(){const _0x254f0a=['extendTemplate','2PARujY','1054228Jaxxun','class','49688gKXvpf','set','ck-tab-button_','163669ZlTdEi','top','3QXcyCy','isVisible','side','isToggleable','show','hide','276gWyPAR','ck-tab-button','bindTemplate','3496904BXXnOY','1696825fFfaHG','3287106AsISRM','10yBhtAh','7bKqJVl','2229756cRHsjO'];_0x18b2=function(){return _0x254f0a;};return _0x18b2();}import{ButtonView as _0x2bbb3f}from'ckeditor5/src/ui.js';import{toArray as _0x2affd8}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x2bbb3f{constructor(_0x88058e,_0x1f371e={}){const _0x253459=_0x140a;super(_0x88058e),this[_0x253459(0x9e)]=!0x0,this[_0x253459(0x97)](_0x253459(0x9d),_0x1f371e[_0x253459(0x9d)]||_0x253459(0x9a));const _0x55c576=this[_0x253459(0xa3)];this[_0x253459(0x92)]({'attributes':{'class':[_0x253459(0xa2),..._0x2affd8(_0x1f371e[_0x253459(0x95)]||[]),_0x55c576['to'](_0x253459(0x9d),_0x4a1a14=>_0x253459(0x98)+_0x4a1a14),_0x55c576['to'](_0x253459(0x95))]}});}[_0x15e027(0x9f)](){const _0x19baf9=_0x15e027;this[_0x19baf9(0x97)](_0x19baf9(0x9c),!0x0);}[_0x15e027(0xa0)](){const _0x2290ac=_0x15e027;this[_0x2290ac(0x97)](_0x2290ac(0x9c),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4eaf68=_0x1b0a;(function(_0x3e078d,_0x459cec){const _0x87d0f7=_0x1b0a,_0x5cc77f=_0x3e078d();while(!![]){try{const _0x30f5fc=parseInt(_0x87d0f7(0x120))/0x1*(parseInt(_0x87d0f7(0x128))/0x2)+-parseInt(_0x87d0f7(0x12a))/0x3*(parseInt(_0x87d0f7(0x118))/0x4)+parseInt(_0x87d0f7(0x116))/0x5*(-parseInt(_0x87d0f7(0x119))/0x6)+parseInt(_0x87d0f7(0x11b))/0x7*(-parseInt(_0x87d0f7(0x117))/0x8)+parseInt(_0x87d0f7(0x11f))/0x9+parseInt(_0x87d0f7(0x125))/0xa*(-parseInt(_0x87d0f7(0x115))/0xb)+parseInt(_0x87d0f7(0x11e))/0xc;if(_0x30f5fc===_0x459cec)break;else _0x5cc77f['push'](_0x5cc77f['shift']());}catch(_0x2cfc0d){_0x5cc77f['push'](_0x5cc77f['shift']());}}}(_0x205a,0x20592));function _0x1b0a(_0x3c0930,_0x107e9b){const _0x205ab1=_0x205a();return _0x1b0a=function(_0x1b0ad8,_0x524fa5){_0x1b0ad8=_0x1b0ad8-0x114;let _0x113910=_0x205ab1[_0x1b0ad8];return _0x113910;},_0x1b0a(_0x3c0930,_0x107e9b);}import{View as _0x4d127f}from'ckeditor5/src/ui.js';import{toArray as _0x24295b}from'ckeditor5/src/utils.js';function _0x205a(){const _0x1049ca=['createCollection','1345547QpgnHx','ck-hidden','set','4884408IrwkWj','1498797ltaRSJ','5RMJqHN','bindTemplate','children','class','hide','8010dhtxUX','div','isVisible','61362YovbIF','setTemplate','42yUmjZG','ck-tab-panel','show','2431dVDxiL','19150rhzcys','8kYTOsk','41372UGOTEc','126zCPFzR'];_0x205a=function(){return _0x1049ca;};return _0x205a();}export class TabPanelView extends _0x4d127f{[_0x4eaf68(0x122)];constructor(_0x38dccd,_0x200e6e={}){const _0x4d8c8f=_0x4eaf68;super(_0x38dccd);const _0x31a78d=this[_0x4d8c8f(0x121)];this[_0x4d8c8f(0x11d)](_0x4d8c8f(0x127),!0x1),this[_0x4d8c8f(0x11d)](_0x4d8c8f(0x123),''),this[_0x4d8c8f(0x122)]=this[_0x4d8c8f(0x11a)](),this[_0x4d8c8f(0x129)]({'tag':_0x4d8c8f(0x126),'attributes':{'class':[_0x4d8c8f(0x12b),..._0x24295b(_0x200e6e[_0x4d8c8f(0x123)]||[]),_0x31a78d['to'](_0x4d8c8f(0x123)),_0x31a78d['if'](_0x4d8c8f(0x127),_0x4d8c8f(0x11c),_0x269145=>!_0x269145)]},'children':this[_0x4d8c8f(0x122)]});}[_0x4eaf68(0x114)](){const _0x434cb7=_0x4eaf68;this[_0x434cb7(0x11d)](_0x434cb7(0x127),!0x0);}[_0x4eaf68(0x124)](){const _0x4f9975=_0x4eaf68;this[_0x4f9975(0x11d)](_0x4f9975(0x127),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x66e24c=_0x2a24;(function(_0xa84cb4,_0x3d54d3){var _0x4fb00a=_0x2a24,_0x36ba2d=_0xa84cb4();while(!![]){try{var _0x11485a=parseInt(_0x4fb00a(0x1d7))/0x1*(parseInt(_0x4fb00a(0x1db))/0x2)+parseInt(_0x4fb00a(0x1da))/0x3+-parseInt(_0x4fb00a(0x1d5))/0x4*(parseInt(_0x4fb00a(0x1e0))/0x5)+parseInt(_0x4fb00a(0x1dc))/0x6+-parseInt(_0x4fb00a(0x1dd))/0x7*(-parseInt(_0x4fb00a(0x1e1))/0x8)+-parseInt(_0x4fb00a(0x1e4))/0x9*(-parseInt(_0x4fb00a(0x1e2))/0xa)+-parseInt(_0x4fb00a(0x1de))/0xb;if(_0x11485a===_0x3d54d3)break;else _0x36ba2d['push'](_0x36ba2d['shift']());}catch(_0x1764fc){_0x36ba2d['push'](_0x36ba2d['shift']());}}}(_0x53fc,0x8c788));function _0x53fc(){var _0x4ee6f5=['requires','1639810iZWVxQ','6872OhTtRN','66370UVZmdm','pluginName','171XUWcJY','8ZWNbYO','AITranslate','50319NpUJYx','isOfficialPlugin','isPremiumPlugin','3020466IWawHF','2CvxdJz','5016468dnryNo','9191VktgJy','21074867DdcHdT'];_0x53fc=function(){return _0x4ee6f5;};return _0x53fc();}function _0x2a24(_0x17271e,_0x17cabe){var _0x53fc97=_0x53fc();return _0x2a24=function(_0x2a240d,_0x59dff2){_0x2a240d=_0x2a240d-0x1d5;var _0x4c8b7e=_0x53fc97[_0x2a240d];return _0x4c8b7e;},_0x2a24(_0x17271e,_0x17cabe);}import{ContextPlugin as _0x1e198f}from'ckeditor5/src/core.js';import{AITranslateController as _0x27ac8e}from'./aitranslatecontroller.js';import{AITranslateUI as _0x4d4301}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x584642}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x1e198f{static get[_0x66e24c(0x1df)](){return[_0x27ac8e,_0x4d4301,_0x584642];}static get[_0x66e24c(0x1e3)](){var _0x2b5016=_0x66e24c;return _0x2b5016(0x1d6);}static get[_0x66e24c(0x1d8)](){return!0x0;}static get[_0x66e24c(0x1d9)](){return!0x0;}}
|