@ckeditor/ckeditor5-ai 47.7.0-alpha.3 → 47.7.0
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 _0x925b16=_0x3e36;(function(_0x136c25,_0x22ad23){const _0x3c8367=_0x3e36,_0x55f58a=_0x136c25();while(!![]){try{const _0x391a1a=-parseInt(_0x3c8367(0x180))/0x1*(parseInt(_0x3c8367(0x198))/0x2)+parseInt(_0x3c8367(0x197))/0x3*(-parseInt(_0x3c8367(0x185))/0x4)+-parseInt(_0x3c8367(0x193))/0x5*(parseInt(_0x3c8367(0x192))/0x6)+-parseInt(_0x3c8367(0x187))/0x7*(-parseInt(_0x3c8367(0x18c))/0x8)+parseInt(_0x3c8367(0x17e))/0x9*(-parseInt(_0x3c8367(0x196))/0xa)+-parseInt(_0x3c8367(0x181))/0xb+parseInt(_0x3c8367(0x17f))/0xc*(parseInt(_0x3c8367(0x188))/0xd);if(_0x391a1a===_0x22ad23)break;else _0x55f58a['push'](_0x55f58a['shift']());}catch(_0x5dcfed){_0x55f58a['push'](_0x55f58a['shift']());}}}(_0x4ffa,0x8de46));function _0x3e36(_0x1e5bb4,_0x4c24c2){const _0x4ffa44=_0x4ffa();return _0x3e36=function(_0x3e3648,_0x55ce35){_0x3e3648=_0x3e3648-0x17d;let _0x4b87c7=_0x4ffa44[_0x3e3648];return _0x4b87c7;},_0x3e36(_0x1e5bb4,_0x4c24c2);}import{FormRowView as _0x35a9e7,ListItemView as _0x1d3ebc}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x43cdea}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x1d3ebc{[_0x925b16(0x18f)]=null;constructor(_0x2ae69f,_0xb98eb4,_0x4b0288){const _0x37643d=_0x925b16;super(_0x2ae69f),this[_0x37643d(0x194)]=_0xb98eb4?.[_0x37643d(0x194)];if(_0x37643d(0x191)===_0xb98eb4[_0x37643d(0x190)])this[_0x37643d(0x18f)]=new _0x43cdea(this[_0x37643d(0x19a)],_0xb98eb4);this[_0x37643d(0x18d)](_0x37643d(0x184),''),this[_0x37643d(0x189)](_0x37643d(0x184))['to'](this[_0x37643d(0x18f)],_0x37643d(0x18a));const _0x10a9c0=new _0x35a9e7(this[_0x37643d(0x19a)],{'children':[this[_0x37643d(0x18f)]],'class':[_0x4b0288?_0x37643d(0x18e):'']});_0x4b0288&&_0x10a9c0[_0x37643d(0x199)][_0x37643d(0x186)](_0x4b0288),this[_0x37643d(0x17d)]({'tag':_0x37643d(0x183),'attributes':{'class':['ck',_0x37643d(0x195),_0x37643d(0x18b)]},'children':[_0x10a9c0]});}[_0x925b16(0x182)](){const _0x18d9ef=_0x925b16;this[_0x18d9ef(0x18f)][_0x18d9ef(0x182)]();}}function _0x4ffa(){const _0x1b8d64=['resetToDefault','div','value','8yKAxZz','add','7weTtnF','16966417SjvTCj','bind','formValue','ck-reset_all','4044384vrvVbZ','set','ck-form__row_with-submit','_formItem','formType','dropdown','212766HBlZvY','25ceuXVW','argsKey','ck-ai_review__form-item','10BqWOne','304572vVepEZ','22QkhCoc','children','locale','setTemplate','2407203FWnoDm','24jjonjz','95211DiFBOC','9233785uJIcNn'];_0x4ffa=function(){return _0x1b8d64;};return _0x4ffa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4fb636=_0x5217;(function(_0xd42c17,_0x35aafe){const _0x474e17=_0x5217,_0x400c1d=_0xd42c17();while(!![]){try{const _0x473ea4=-parseInt(_0x474e17(0x8b))/0x1+-parseInt(_0x474e17(0x78))/0x2*(parseInt(_0x474e17(0x7c))/0x3)+-parseInt(_0x474e17(0x7f))/0x4+-parseInt(_0x474e17(0x8d))/0x5*(parseInt(_0x474e17(0x95))/0x6)+parseInt(_0x474e17(0x86))/0x7+parseInt(_0x474e17(0x98))/0x8*(-parseInt(_0x474e17(0x87))/0x9)+-parseInt(_0x474e17(0x7b))/0xa*(-parseInt(_0x474e17(0x80))/0xb);if(_0x473ea4===_0x35aafe)break;else _0x400c1d['push'](_0x400c1d['shift']());}catch(_0x1ea26d){_0x400c1d['push'](_0x400c1d['shift']());}}}(_0x5760,0x3871b));function _0x5217(_0x2fe3d2,_0x1d42f9){const _0x576037=_0x5760();return _0x5217=function(_0x5217ad,_0x160acc){_0x5217ad=_0x5217ad-0x78;let _0x1f9b7d=_0x576037[_0x5217ad];return _0x1f9b7d;},_0x5217(_0x2fe3d2,_0x1d42f9);}export const AI_REVIEW_CHECKS=[{'id':_0x4fb636(0x9c),'commandId':_0x4fb636(0x9c),'title':_0x4fb636(0x84),'description':_0x4fb636(0x79),'isParameterized':!0x0},{'id':_0x4fb636(0x99),'commandId':_0x4fb636(0x99),'title':_0x4fb636(0x9f),'description':_0x4fb636(0x85),'isParameterized':!0x1},{'id':_0x4fb636(0xa2),'commandId':_0x4fb636(0xa2),'title':_0x4fb636(0x8a),'description':_0x4fb636(0x8c),'isParameterized':!0x1},{'id':_0x4fb636(0x92),'commandId':_0x4fb636(0x92),'title':_0x4fb636(0xa0),'description':_0x4fb636(0x89),'isParameterized':!0x1},{'id':_0x4fb636(0x7d),'commandId':_0x4fb636(0x91),'title':_0x4fb636(0x96),'description':_0x4fb636(0x94),'isParameterized':!0x0,'options':[{'formType':_0x4fb636(0x90),'label':_0x4fb636(0x96),'default':_0x4fb636(0x82),'data':[{'label':_0x4fb636(0x83),'id':_0x4fb636(0x82)},{'label':_0x4fb636(0x9b),'id':_0x4fb636(0x9a)}]}]},{'id':_0x4fb636(0x9d),'commandId':_0x4fb636(0x7a),'title':_0x4fb636(0x8e),'description':_0x4fb636(0x7e),'isParameterized':!0x0,'options':[{'formType':_0x4fb636(0x90),'label':_0x4fb636(0x8e),'default':_0x4fb636(0x97),'data':[{'label':_0x4fb636(0x93),'id':_0x4fb636(0x97)},{'label':_0x4fb636(0xa3),'id':_0x4fb636(0x88)},{'label':_0x4fb636(0xa5),'id':_0x4fb636(0x9e)},{'label':_0x4fb636(0xa1),'id':_0x4fb636(0x81)},{'label':_0x4fb636(0xa4),'id':_0x4fb636(0x8f)}]}]}];function _0x5760(){const _0x20aa0d=['correctness','shorter','Shorter','custom','tone','friendly','Correctness','Readability','Confident','clarity','Direct','Professional','Friendly','460YucjRb','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','make-tone','14202190cqlhVc','2271NSEyBO','length','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','1332836RHkOMF','11whZewJ','confident','longer','Longer','Custom\x20command','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','1019571vuZrMu','12114qKdkoa','direct','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Clarity','270741HekvMf','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','4065CdGqUl','Adjust\x20tone\x20and\x20style','professional','dropdown','make','readability','Casual','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','1098auciNX','Adjust\x20length','casual','2424QgWmTy'];_0x5760=function(){return _0x20aa0d;};return _0x5760();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xfeabf9=_0x36b4;(function(_0x47f0f7,_0x2ebee4){var _0x29ceba=_0x36b4,_0x47b09a=_0x47f0f7();while(!![]){try{var _0x581e7f=parseInt(_0x29ceba(0x19e))/0x1*(parseInt(_0x29ceba(0x1a7))/0x2)+parseInt(_0x29ceba(0x1a1))/0x3*(parseInt(_0x29ceba(0x1a4))/0x4)+-parseInt(_0x29ceba(0x1ac))/0x5*(parseInt(_0x29ceba(0x1a6))/0x6)+-parseInt(_0x29ceba(0x1a0))/0x7+parseInt(_0x29ceba(0x19f))/0x8*(-parseInt(_0x29ceba(0x1a8))/0x9)+-parseInt(_0x29ceba(0x1ad))/0xa+parseInt(_0x29ceba(0x1a5))/0xb;if(_0x581e7f===_0x2ebee4)break;else _0x47b09a['push'](_0x47b09a['shift']());}catch(_0x4d3b6d){_0x47b09a['push'](_0x47b09a['shift']());}}}(_0x2f29,0xe2b0b));import{ContextPlugin as _0xdd11c7}from'ckeditor5/src/core.js';function _0x2f29(){var _0x4e9531=['AIReviewMode','isPremiumPlugin','10LRSVJE','8534650WhSpHh','299033IdJYzV','16twiHaN','11727380PIXzFh','54CfXXip','requires','pluginName','371632iQuNIB','34295151DnCxVG','3278298pqpaNj','2vGQbWr','2425608gDiCeV','isOfficialPlugin'];_0x2f29=function(){return _0x4e9531;};return _0x2f29();}import{AIReviewModeUI as _0x42867f}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0xc523b1}from'../aireviewcore/aireviewcoreediting.js';function _0x36b4(_0xed2ebc,_0x256b04){var _0x2f2909=_0x2f29();return _0x36b4=function(_0x36b45f,_0x374229){_0x36b45f=_0x36b45f-0x19e;var _0x6a3649=_0x2f2909[_0x36b45f];return _0x6a3649;},_0x36b4(_0xed2ebc,_0x256b04);}import{AIReviewModeController as _0x2f160d}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0xdd11c7{static get[_0xfeabf9(0x1a2)](){return[_0x2f160d,_0x42867f,_0xc523b1];}static get[_0xfeabf9(0x1a3)](){var _0x3d384b=_0xfeabf9;return _0x3d384b(0x1aa);}static get[_0xfeabf9(0x1a9)](){return!0x0;}static get[_0xfeabf9(0x1ab)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x119a71=_0x1ac7;function _0x1ac7(_0x15f457,_0x588c37){const _0x20c244=_0x20c2();return _0x1ac7=function(_0x1ac7d9,_0x3e8d86){_0x1ac7d9=_0x1ac7d9-0x14d;let _0x59239e=_0x20c244[_0x1ac7d9];return _0x59239e;},_0x1ac7(_0x15f457,_0x588c37);}(function(_0x5e34d5,_0x55e3c7){const _0xc9d2fe=_0x1ac7,_0x32936d=_0x5e34d5();while(!![]){try{const _0x2f2621=-parseInt(_0xc9d2fe(0x185))/0x1+parseInt(_0xc9d2fe(0x189))/0x2+-parseInt(_0xc9d2fe(0x155))/0x3*(parseInt(_0xc9d2fe(0x154))/0x4)+parseInt(_0xc9d2fe(0x162))/0x5*(-parseInt(_0xc9d2fe(0x174))/0x6)+-parseInt(_0xc9d2fe(0x1a1))/0x7*(-parseInt(_0xc9d2fe(0x1d4))/0x8)+parseInt(_0xc9d2fe(0x198))/0x9+parseInt(_0xc9d2fe(0x16e))/0xa;if(_0x2f2621===_0x55e3c7)break;else _0x32936d['push'](_0x32936d['shift']());}catch(_0x56ea09){_0x32936d['push'](_0x32936d['shift']());}}}(_0x20c2,0xd1e60));import{CKEditorError as _0x272b7c}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x2fe58c}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0xaa0f5a}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x58e82a}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x5921ca}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x216bd0}from'../aireviewcore/model/aireviewsystemcheckrun.js';function _0x20c2(){const _0x15033c=['_OPTIONS_DATA_','hideChangeBalloon','description','some','getClassNames','forEach','length','recommended','AIReviewModeController','getDomRoot','13156430VAylsb','getChangeById','_onChangeMarkerBlurred','content','_onDiffChange','startsWith','36LinIRg','_getModels','isAnyChangeActivated','data','getMarkerElementForChange','_OPTIONS_LABEL','toUpperCase','find','define','_aiConnector','options','push','_logErrorForNonExistentChecks','_onReviewCheckRun','toggleDiff','setupChecks','_onChangeMarkerHovered','386081gGWZbX','models','_filterChecksWithMissingModel','_aiReviewCoreEditing','238536BtHhRb','_initRequiredPlugins','map','document','getDefault','locale','markChangePositionInEditorContent','_scrollToChange','listenTo','resetActiveStateInResults','ai-review-mode-non-existent-commands-used','default','click','all','getAll','13571586gIbfnt','defaultModel','markerElement','init','removeCheckById','checks','hover','prompt','_onDeactivateChange','29540hEtHcv','join','activateChange','_onReviewCheckResultDeactivated','_TITLE','_changeActivationSource','args','balloon','panel','change','_aiReviewCoreUi','isExtra','_createReviewCheckRun','replaceAll','config','getRoot','AIReviewCoreEditing','ai-review-mode-models-unable-to-retrieve','ck-ai_review-highlights','get','_logError','_diffContent','diffContent','ck-ai_review-diff','_onActivateChange','ai-review-mode-command-unavailable-due-to-missing-model','domEvent','getDocumentData','_markChangePositionInEditorContent','hideDiffInBalloon','filter','getElement','custom','getAvailableModels','removeClass','_getChecksList','setMarkersInElementAsActive','_hasDefaultAvailableCommands','_getChangeContentElement','view','_onChangeMarkerClicked','showDiffInBalloon','changeId','editing','addClass','ck-ai_review-','AIReviewModeUI','title','ai.review.availableCommands','setAllMarkersAsInactive','_getExtraChecks','72UxKWhI','_onReviewCheckResultActivated','getEditor','_translateReviewCheck','label','AI_REVIEW_CHECK_','ai.review.extraCommands','uiInteraction','_getTranslationWithDefault','pluginName','plugins','120KfKsMQ','127560WKZkNS','_isDiffOn','setActiveStateInResults','ai.models','params','showChangeBalloon','context','deactivateChange','isCustom','_DESCRIPTION','_currentReviewCheckRun','origin','model','382850eaGOol','viewportOffset'];_0x20c2=function(){return _0x15033c;};return _0x20c2();}import{AIModels as _0x1e2b8f}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x5b48d8}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0xf981d3}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x3bf2e5}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x2fe58c{static get[_0x119a71(0x152)](){const _0x1501f9=_0x119a71;return _0x1501f9(0x16c);}[_0x119a71(0x156)]=!0x1;[_0x119a71(0x1c6)]=!0x1;constructor(_0x2d2959){const _0x34fc9d=_0x119a71;super(_0x2d2959),this[_0x34fc9d(0x1c6)]=!this[_0x34fc9d(0x15b)][_0x34fc9d(0x1af)][_0x34fc9d(0x1b4)](_0x34fc9d(0x1d1)),this[_0x34fc9d(0x15b)][_0x34fc9d(0x1af)][_0x34fc9d(0x17c)](_0x34fc9d(0x1d1),_0xaa0f5a[_0x34fc9d(0x18b)](_0x36536c=>_0x36536c['id'])),this[_0x34fc9d(0x15b)][_0x34fc9d(0x1af)][_0x34fc9d(0x17c)](_0x34fc9d(0x14f),[]);}async[_0x119a71(0x19b)](){const _0x6a2f47=_0x119a71;await super[_0x6a2f47(0x19b)](),this[_0x6a2f47(0x191)](this[_0x6a2f47(0x1ab)],_0x6a2f47(0x182),(_0xb84043,_0x10206f)=>{const _0x13041f=_0x6a2f47;this[_0x13041f(0x156)]=_0x10206f['on'],this[_0x13041f(0x172)](this[_0x13041f(0x156)]);});}[_0x119a71(0x18a)](){const _0x2aa2b1=_0x119a71;super[_0x2aa2b1(0x18a)](),this[_0x2aa2b1(0x1ab)]=this[_0x2aa2b1(0x15b)][_0x2aa2b1(0x153)][_0x2aa2b1(0x1b4)](_0x2aa2b1(0x1cf)),this[_0x2aa2b1(0x188)]=this[_0x2aa2b1(0x15b)][_0x2aa2b1(0x153)][_0x2aa2b1(0x1b4)](_0x2aa2b1(0x1b1));}[_0x119a71(0x1ad)](_0x19bf6e,_0x4684b0){const _0x3d513b=_0x119a71;return _0x19bf6e[_0x3d513b(0x15d)]?new _0x5921ca(_0x19bf6e[_0x3d513b(0x1a7)][_0x3d513b(0x19f)],_0x19bf6e[_0x3d513b(0x1a7)][_0x3d513b(0x161)],this[_0x3d513b(0x188)][_0x3d513b(0x1bc)](),_0x4684b0,this[_0x3d513b(0x17d)]):_0x4684b0[_0x3d513b(0x1ac)]?new _0x3bf2e5(_0x4684b0[_0x3d513b(0x19f)],_0x4684b0[_0x3d513b(0x199)]['id'],this[_0x3d513b(0x188)][_0x3d513b(0x1bc)](),_0x4684b0,this[_0x3d513b(0x17d)]):new _0x216bd0(this[_0x3d513b(0x188)][_0x3d513b(0x1bc)](),_0x4684b0,this[_0x3d513b(0x17d)],_0x19bf6e[_0x3d513b(0x159)],_0x19bf6e[_0x3d513b(0x1a7)]);}[_0x119a71(0x1d5)](_0x436786){const _0x1920bf=_0x119a71;this[_0x1920bf(0x1ab)][_0x1920bf(0x157)](_0x436786[_0x1920bf(0x1aa)]['id']),this[_0x1920bf(0x190)](_0x436786[_0x1920bf(0x1aa)]['id']);const _0x56a01a=this[_0x1920bf(0x188)][_0x1920bf(0x178)](_0x436786[_0x1920bf(0x1aa)]['id']);if(!_0x56a01a)return;const _0x23e844=this[_0x1920bf(0x188)][_0x1920bf(0x1d6)]();this[_0x1920bf(0x1ab)][_0x1920bf(0x15a)](_0x436786[_0x1920bf(0x1aa)],()=>_0x56a01a[_0x1920bf(0x1c0)](),void 0x0,_0x1920bf(0x195),_0x23e844?.[_0x1920bf(0x1cc)]?.[_0x1920bf(0x1c8)]?.[_0x1920bf(0x16d)](),_0x23e844?.['ui']?.[_0x1920bf(0x163)]),this[_0x1920bf(0x188)][_0x1920bf(0x1c5)](_0x436786[_0x1920bf(0x1aa)]['id']);}[_0x119a71(0x1a4)](){const _0x123026=_0x119a71;this[_0x123026(0x1ab)][_0x123026(0x192)](),this[_0x123026(0x1ab)][_0x123026(0x165)](),this[_0x123026(0x188)][_0x123026(0x1d2)]();}[_0x119a71(0x1b9)](_0x10f811){const _0x5148fa=_0x119a71;this[_0x5148fa(0x15f)]&&_0x5148fa(0x195)===_0x10f811[_0x5148fa(0x150)]&&(this[_0x5148fa(0x1a6)]=_0x5148fa(0x1a9),this[_0x5148fa(0x15f)][_0x5148fa(0x1a3)](_0x10f811['id']));}[_0x119a71(0x1a0)](_0x4ee565){const _0x4d3b35=_0x119a71;this[_0x4d3b35(0x15f)]&&_0x4d3b35(0x1a8)===_0x4ee565[_0x4d3b35(0x160)]&&this[_0x4d3b35(0x15f)][_0x4d3b35(0x15c)]();}[_0x119a71(0x1c9)](_0x56c99f,_0x5bd266){const _0xc2f552=_0x119a71;if(!this[_0xc2f552(0x15f)])return;this[_0xc2f552(0x1a6)]=_0xc2f552(0x171),this[_0xc2f552(0x15f)][_0xc2f552(0x1a3)](_0x5bd266[_0xc2f552(0x1cb)]);const _0x419a41=this[_0xc2f552(0x15f)][_0xc2f552(0x16f)](_0x5bd266[_0xc2f552(0x1cb)]);if(!_0x419a41)return;const _0x5a0b5a=this[_0xc2f552(0x188)][_0xc2f552(0x1d6)]();this[_0xc2f552(0x1ab)][_0xc2f552(0x15a)](_0x419a41,_0x5bd266[_0xc2f552(0x19a)],_0x5bd266[_0xc2f552(0x1bb)],_0xc2f552(0x195),_0x5a0b5a?.[_0xc2f552(0x1cc)]?.[_0xc2f552(0x1c8)]?.[_0xc2f552(0x16d)](),_0x5a0b5a?.['ui']?.[_0xc2f552(0x163)]);}[_0x119a71(0x184)](_0x4068a3,_0x1ea8a4){const _0x59014f=_0x119a71;if(!this[_0x59014f(0x15f)])return;if(this[_0x59014f(0x15f)][_0x59014f(0x176)]())return;const _0x1103c1=this[_0x59014f(0x15f)][_0x59014f(0x16f)](_0x1ea8a4[_0x59014f(0x1cb)]);if(!_0x1103c1)return;const _0x3bb9e1=this[_0x59014f(0x188)][_0x59014f(0x1d6)]();this[_0x59014f(0x1ab)][_0x59014f(0x15a)](_0x1103c1,_0x1ea8a4[_0x59014f(0x19a)],_0x1ea8a4[_0x59014f(0x1bb)],_0x59014f(0x19e),_0x3bb9e1?.[_0x59014f(0x1cc)]?.[_0x59014f(0x1c8)]?.[_0x59014f(0x16d)](),_0x3bb9e1?.['ui']?.[_0x59014f(0x163)]);}[_0x119a71(0x170)](){const _0x1f6c90=_0x119a71;if(!this[_0x1f6c90(0x15f)])return;this[_0x1f6c90(0x15f)][_0x1f6c90(0x176)]()||this[_0x1f6c90(0x1ab)][_0x1f6c90(0x165)]();}[_0x119a71(0x1c7)](_0x262215){const _0x1004c2=_0x119a71,_0x2e01aa=this[_0x1004c2(0x188)][_0x1004c2(0x178)](_0x262215);return _0x2e01aa?_0x2e01aa[_0x1004c2(0x1c0)]():null;}[_0x119a71(0x1bd)](_0x2f518f,_0x565bbd){const _0x5eb225=_0x119a71;this[_0x5eb225(0x188)][_0x5eb225(0x18f)](_0x2f518f,_0x565bbd);}[_0x119a71(0x1b6)](_0x2fba08,_0x2b1adb){const _0xd6a1=_0x119a71;return this[_0xd6a1(0x188)][_0xd6a1(0x1b7)](_0x2fba08,_0x2b1adb);}[_0x119a71(0x181)](){const _0x3af0ee=_0x119a71;this[_0x3af0ee(0x172)](this[_0x3af0ee(0x156)]);}[_0x119a71(0x172)](_0xee9c00){const _0x30cd58=_0x119a71,_0x1a4f15=this[_0x30cd58(0x188)][_0x30cd58(0x1d6)]();_0xee9c00?this[_0x30cd58(0x1ab)][_0x30cd58(0x1be)]():this[_0x30cd58(0x1ab)][_0x30cd58(0x1ca)](),_0x1a4f15&&_0x1a4f15[_0x30cd58(0x1cc)][_0x30cd58(0x1c8)][_0x30cd58(0x1aa)](_0x191ffd=>{const _0x561dab=_0x30cd58,_0x367c0c=_0x1a4f15[_0x561dab(0x1cc)][_0x561dab(0x1c8)][_0x561dab(0x18c)][_0x561dab(0x1b0)]();for(const _0x48903c of _0x367c0c[_0x561dab(0x168)]())_0x48903c[_0x561dab(0x173)](_0x561dab(0x1ce))&&_0x191ffd[_0x561dab(0x1c3)](_0x48903c,_0x367c0c);_0x191ffd[_0x561dab(0x1cd)](_0xee9c00?_0x561dab(0x1b8):_0x561dab(0x1b3),_0x367c0c);});}async[_0x119a71(0x1c4)](){const _0x4eeeac=_0x119a71,_0x1a875d=[..._0xaa0f5a,...this[_0x4eeeac(0x1d3)]()],_0x180b1c=this[_0x4eeeac(0x15b)][_0x4eeeac(0x1af)][_0x4eeeac(0x1b4)](_0x4eeeac(0x1d1))||[];this[_0x4eeeac(0x180)](_0x180b1c,_0x1a875d);let _0x401389=_0x1a875d;this[_0x4eeeac(0x1c6)]||(_0x401389=_0x180b1c[_0x4eeeac(0x18b)](_0x8eae5d=>_0x1a875d[_0x4eeeac(0x17b)](_0x276de0=>_0x276de0['id']===_0x8eae5d))[_0x4eeeac(0x1bf)](_0x166afb=>!!_0x166afb)),_0x401389=_0x401389[_0x4eeeac(0x18b)](_0x27746d=>_0x27746d[_0x4eeeac(0x1ac)]?_0x27746d:this[_0x4eeeac(0x1d7)](_0x27746d));const _0x354d89=_0x401389[_0x4eeeac(0x167)](_0x451dbc=>_0x451dbc[_0x4eeeac(0x1ac)]||_0x4eeeac(0x1c1)===_0x451dbc['id']);let _0x59561f=[],_0x92c373=[],_0x219244=null;if(_0x354d89){const _0x4a34de=await this[_0x4eeeac(0x175)]();_0x59561f=_0x4a34de[_0x4eeeac(0x196)],_0x92c373=_0x4a34de[_0x4eeeac(0x16b)],_0x219244=_0x4a34de[_0x4eeeac(0x194)];}const _0x5653e2=new _0x58e82a(_0x59561f,_0x92c373,_0x219244);return _0x5653e2[_0x4eeeac(0x183)](_0x401389),_0x354d89&&this[_0x4eeeac(0x187)](_0x5653e2),_0x5653e2;}[_0x119a71(0x1d3)](){const _0x2b2dde=_0x119a71;return(this[_0x2b2dde(0x15b)][_0x2b2dde(0x1af)][_0x2b2dde(0x1b4)](_0x2b2dde(0x14f))||[])[_0x2b2dde(0x18b)](_0x4ba57a=>({'id':_0x4ba57a['id'],'commandId':_0x4ba57a['id'],'title':_0x4ba57a[_0x2b2dde(0x14d)],'description':_0x4ba57a[_0x2b2dde(0x166)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x4ba57a[_0x2b2dde(0x19f)],'model':_0x4ba57a[_0x2b2dde(0x161)]}));}[_0x119a71(0x180)](_0x14d185,_0x158ec4){const _0x1a44d7=_0x119a71,_0x349665=_0x14d185[_0x1a44d7(0x1bf)](_0x265960=>!_0x158ec4[_0x1a44d7(0x167)](_0x32aaeb=>_0x32aaeb['id']===_0x265960));_0x349665[_0x1a44d7(0x16a)]&&this[_0x1a44d7(0x1b5)](new _0x272b7c(_0x1a44d7(0x193),this,{'commandIds':_0x349665[_0x1a44d7(0x1a2)](',\x20')}),!0x0);}async[_0x119a71(0x175)](){const _0xe37ea6=_0x119a71;try{const _0x19b3c1=new _0x1e2b8f({'connector':this[_0xe37ea6(0x17d)],'config':this[_0xe37ea6(0x15b)][_0xe37ea6(0x1af)][_0xe37ea6(0x1b4)](_0xe37ea6(0x158)),'locale':this[_0xe37ea6(0x15b)][_0xe37ea6(0x18e)]});return{'all':await _0x19b3c1[_0xe37ea6(0x197)](),'recommended':await _0x19b3c1[_0xe37ea6(0x1c2)](),'default':await _0x19b3c1[_0xe37ea6(0x18d)]()};}catch(_0x67efb2){return this[_0xe37ea6(0x1b5)](new _0x272b7c(_0xe37ea6(0x1b2),this,void 0x0,_0x67efb2)),{'all':[],'recommended':[],'default':null};}}[_0x119a71(0x1d7)](_0x4b5e02){const _0x5db101=_0x119a71,_0x1930df=_0x5db101(0x14e)+_0x4b5e02['id'][_0x5db101(0x17a)]()[_0x5db101(0x1ae)]('-','_'),_0x359bb5={..._0x4b5e02,'title':this[_0x5db101(0x151)](_0x1930df+_0x5db101(0x1a5),_0x4b5e02[_0x5db101(0x1d0)]),'description':this[_0x5db101(0x151)](_0x1930df+_0x5db101(0x15e),_0x4b5e02[_0x5db101(0x166)])};return _0x4b5e02[_0x5db101(0x17e)]&&(_0x359bb5[_0x5db101(0x17e)]=_0x4b5e02[_0x5db101(0x17e)][_0x5db101(0x18b)](_0x5b0991=>({..._0x5b0991,'label':this[_0x5db101(0x151)](_0x1930df+_0x5db101(0x179),_0x5b0991[_0x5db101(0x14d)]||''),'data':_0x5b0991[_0x5db101(0x177)]?_0x5b0991[_0x5db101(0x177)][_0x5db101(0x18b)](_0x31bec1=>({..._0x31bec1,'label':this[_0x5db101(0x151)](_0x1930df+_0x5db101(0x164)+_0x31bec1['id'][_0x5db101(0x17a)](),_0x31bec1[_0x5db101(0x14d)])})):void 0x0}))),_0x359bb5;}[_0x119a71(0x187)](_0x37b8f7){const _0x5128f0=_0x119a71,_0x2f0d72=[];_0x37b8f7[_0x5128f0(0x19d)][_0x5128f0(0x169)](_0x42c0cd=>{const _0x1e1d56=_0x5128f0;(_0x42c0cd instanceof _0xf981d3&&!_0x42c0cd[_0x1e1d56(0x199)]||_0x42c0cd instanceof _0x5b48d8&&!_0x42c0cd[_0x1e1d56(0x186)][_0x1e1d56(0x16a)])&&_0x2f0d72[_0x1e1d56(0x17f)](_0x42c0cd['id']);}),_0x2f0d72[_0x5128f0(0x16a)]&&_0x2f0d72[_0x5128f0(0x169)](_0x9f3fc2=>{const _0x112a82=_0x5128f0;_0x37b8f7[_0x112a82(0x19c)](_0x9f3fc2),this[_0x112a82(0x1b5)](new _0x272b7c(_0x112a82(0x1ba),this,{'commandId':_0x9f3fc2}),!0x0);});}}
|
|
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);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x7b3397=_0x5963;function _0x58c0(){const _0xe9077a=['189214FjRIeJ','10131576rOlLxV','plugins','2UawEag','context','3lkhbkg','view','5029442lMxQGi','2770412nkNfpA','45624LlXSdB','1057VmVcqX','reviewMode','pluginName','739950JlkBKH','AIReviewModeUI','getReviewCheckList','AI_REVIEW_MODE','addTab','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','registerTab','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','_mainView','fire','AITabs','30wfcqpz','get','createMainView','leaveReview','locale','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','activateTab','6983360BpMgQz','ck-ai-header\x20ck-ai-header_review','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','9EnrZPL'];_0x58c0=function(){return _0xe9077a;};return _0x58c0();}(function(_0x12cf8e,_0x524330){const _0x4fdb68=_0x5963,_0x3380d0=_0x12cf8e();while(!![]){try{const _0x3223d7=-parseInt(_0x4fdb68(0x14a))/0x1*(-parseInt(_0x4fdb68(0x147))/0x2)+parseInt(_0x4fdb68(0x14c))/0x3*(parseInt(_0x4fdb68(0x14f))/0x4)+parseInt(_0x4fdb68(0x154))/0x5+-parseInt(_0x4fdb68(0x150))/0x6*(-parseInt(_0x4fdb68(0x151))/0x7)+parseInt(_0x4fdb68(0x143))/0x8*(-parseInt(_0x4fdb68(0x146))/0x9)+parseInt(_0x4fdb68(0x13c))/0xa*(-parseInt(_0x4fdb68(0x14e))/0xb)+parseInt(_0x4fdb68(0x148))/0xc;if(_0x3223d7===_0x524330)break;else _0x3380d0['push'](_0x3380d0['shift']());}catch(_0x4ded63){_0x3380d0['push'](_0x3380d0['shift']());}}}(_0x58c0,0xbddfb));import{FormHeaderView as _0x1629b7}from'ckeditor5/src/ui.js';import{IconAIReview as _0x55f1fd}from'ckeditor5/src/icons.js';import{getTranslation as _0xea6a35}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x432681}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x3d97d5}from'../aireviewcore/aireviewcoreui.js';function _0x5963(_0x589dad,_0x255fd5){const _0x58c0a9=_0x58c0();return _0x5963=function(_0x596374,_0x1c7f33){_0x596374=_0x596374-0x138;let _0x156ec1=_0x58c0a9[_0x596374];return _0x156ec1;},_0x5963(_0x589dad,_0x255fd5);}import{AIReviewCoreUICheckResultsView as _0x339a49}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x54514b}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x2c91ed}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x3d97d5{static get[_0x7b3397(0x153)](){const _0x31673e=_0x7b3397;return _0x31673e(0x155);}[_0x7b3397(0x13e)](){const _0x5a4cc1=_0x7b3397,_0x1af9f2=this[_0x5a4cc1(0x14b)][_0x5a4cc1(0x140)],_0x46f6c5=new _0x1629b7(_0x1af9f2,{'label':_0xea6a35(_0x1af9f2,_0x5a4cc1(0x157)),'icon':_0x55f1fd,'class':_0x5a4cc1(0x144)});return new _0x432681(this[_0x5a4cc1(0x14b)][_0x5a4cc1(0x140)],{'header':_0x46f6c5,'list':new _0x2c91ed(_0x1af9f2),'results':new _0x339a49(_0x1af9f2,{'generalErrorText':_0xea6a35(_0x1af9f2,_0x5a4cc1(0x138))}),'completed':new _0x54514b(_0x1af9f2,{'headerText':_0xea6a35(_0x1af9f2,_0x5a4cc1(0x159)),'emptyResultsText':_0xea6a35(_0x1af9f2,_0x5a4cc1(0x141)),'buttonText':_0xea6a35(_0x1af9f2,_0x5a4cc1(0x145))})});}[_0x7b3397(0x15a)](){const _0x50b362=_0x7b3397,_0xe656=this[_0x50b362(0x14b)][_0x50b362(0x149)][_0x50b362(0x13d)](_0x50b362(0x13b));_0xe656[_0x50b362(0x14d)]['on'](_0x50b362(0x142),(_0x207a2f,_0x58f8df)=>{const _0x29e945=_0x50b362;_0x29e945(0x152)===_0x58f8df?this[_0x29e945(0x13a)](_0x29e945(0x156)):this[_0x29e945(0x13a)](_0x29e945(0x13f));}),_0xe656[_0x50b362(0x14d)][_0x50b362(0x158)]({'id':_0x50b362(0x152),'buttonLabel':_0xea6a35(this[_0x50b362(0x14b)][_0x50b362(0x140)],_0x50b362(0x157)),'buttonIcon':_0x55f1fd,'order':0x0,'content':this[_0x50b362(0x139)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1f5b(_0x53ffa8,_0x57ef02){var _0x3fec22=_0x3fec();return _0x1f5b=function(_0x1f5b0b,_0x18a95f){_0x1f5b0b=_0x1f5b0b-0xc8;var _0x582f70=_0x3fec22[_0x1f5b0b];return _0x582f70;},_0x1f5b(_0x53ffa8,_0x57ef02);}var _0x464808=_0x1f5b;(function(_0x8e3e0b,_0x3fe73a){var _0x4a85d8=_0x1f5b,_0x157bac=_0x8e3e0b();while(!![]){try{var _0x1fe6ca=-parseInt(_0x4a85d8(0xd1))/0x1+parseInt(_0x4a85d8(0xcc))/0x2+-parseInt(_0x4a85d8(0xcf))/0x3*(-parseInt(_0x4a85d8(0xc8))/0x4)+parseInt(_0x4a85d8(0xca))/0x5+parseInt(_0x4a85d8(0xd4))/0x6+-parseInt(_0x4a85d8(0xd5))/0x7*(parseInt(_0x4a85d8(0xd0))/0x8)+parseInt(_0x4a85d8(0xd3))/0x9*(parseInt(_0x4a85d8(0xcd))/0xa);if(_0x1fe6ca===_0x3fe73a)break;else _0x157bac['push'](_0x157bac['shift']());}catch(_0x5df6e2){_0x157bac['push'](_0x157bac['shift']());}}}(_0x3fec,0x3967e));function _0x3fec(){var _0x49e610=['337716ibRLOw','10BPoifi','_defaultModel','3mFVEym','270064rGCZxk','134962mplblp','defaultModel','2526237EQMGJK','972732QTxmad','70ePOvZH','131164WGVUds','models','316060ZfuNdw','_models'];_0x3fec=function(){return _0x49e610;};return _0x3fec();}import{AIReviewCheck as _0x51b832}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x51b832{[_0x464808(0xcb)]=[];[_0x464808(0xce)]=null;constructor(_0x52f711,_0x5e6129,_0x450eb2){var _0x5ee28b=_0x464808;super(_0x52f711),this[_0x5ee28b(0xcb)]=_0x5e6129,this[_0x5ee28b(0xce)]=_0x450eb2;}get[_0x464808(0xc9)](){var _0x237916=_0x464808;return this[_0x237916(0xcb)];}get[_0x464808(0xd2)](){var _0x10acf2=_0x464808;return this[_0x10acf2(0xce)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x71a8(_0x3a6e30,_0x490369){var _0x33cfa1=_0x33cf();return _0x71a8=function(_0x71a88,_0x300345){_0x71a88=_0x71a88-0x103;var _0x49a41a=_0x33cfa1[_0x71a88];return _0x49a41a;},_0x71a8(_0x3a6e30,_0x490369);}var _0x1bb65c=_0x71a8;function _0x33cf(){var _0x35f84f=['230844bLAzqs','28GuzdTT','1087390yVuCzA','1366950gZyYfT','isExtra','45qwMvLJ','667722cajjBO','model','_defaultModel','292564IqhYWA','defaultModel','find','prompt','12Itebmy','1071914exvtpq','2635504ISrYkI'];_0x33cf=function(){return _0x35f84f;};return _0x33cf();}(function(_0x5b8ba1,_0x3dea55){var _0x1799ec=_0x71a8,_0x2973e9=_0x5b8ba1();while(!![]){try{var _0x1842dc=parseInt(_0x1799ec(0x108))/0x1+-parseInt(_0x1799ec(0x103))/0x2+-parseInt(_0x1799ec(0x10a))/0x3+-parseInt(_0x1799ec(0x107))/0x4*(-parseInt(_0x1799ec(0x10d))/0x5)+-parseInt(_0x1799ec(0x110))/0x6+parseInt(_0x1799ec(0x10b))/0x7*(-parseInt(_0x1799ec(0x109))/0x8)+-parseInt(_0x1799ec(0x10f))/0x9*(-parseInt(_0x1799ec(0x10c))/0xa);if(_0x1842dc===_0x3dea55)break;else _0x2973e9['push'](_0x2973e9['shift']());}catch(_0x3f1178){_0x2973e9['push'](_0x2973e9['shift']());}}}(_0x33cf,0xbf496));import{AIReviewCheck as _0x14e613}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x14e613{[_0x1bb65c(0x10e)]=!0x0;[_0x1bb65c(0x106)];[_0x1bb65c(0x111)];[_0x1bb65c(0x112)]=null;constructor(_0x2724c7,_0x2f6a4f,_0x24b9f3){var _0x48a427=_0x1bb65c;super(_0x2724c7),this[_0x48a427(0x106)]=_0x2724c7[_0x48a427(0x106)],this[_0x48a427(0x111)]=_0x2724c7[_0x48a427(0x111)],this[_0x48a427(0x111)]?this[_0x48a427(0x112)]=_0x2f6a4f[_0x48a427(0x105)](_0x321160=>_0x321160['id']===this[_0x48a427(0x111)])||null:this[_0x48a427(0x112)]=_0x24b9f3;}get[_0x1bb65c(0x104)](){var _0x274fc1=_0x1bb65c;return this[_0x274fc1(0x112)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x16f850=_0x2a73;(function(_0x514cc0,_0x92d3c3){var _0x2bfef4=_0x2a73,_0x130b76=_0x514cc0();while(!![]){try{var _0x410358=-parseInt(_0x2bfef4(0x1c2))/0x1*(-parseInt(_0x2bfef4(0x1cf))/0x2)+parseInt(_0x2bfef4(0x1cd))/0x3*(parseInt(_0x2bfef4(0x1c8))/0x4)+-parseInt(_0x2bfef4(0x1d2))/0x5+parseInt(_0x2bfef4(0x1c5))/0x6*(-parseInt(_0x2bfef4(0x1d0))/0x7)+-parseInt(_0x2bfef4(0x1d3))/0x8*(parseInt(_0x2bfef4(0x1c7))/0x9)+parseInt(_0x2bfef4(0x1ca))/0xa*(parseInt(_0x2bfef4(0x1cc))/0xb)+parseInt(_0x2bfef4(0x1c4))/0xc*(parseInt(_0x2bfef4(0x1d6))/0xd);if(_0x410358===_0x92d3c3)break;else _0x130b76['push'](_0x130b76['shift']());}catch(_0x2ef66d){_0x130b76['push'](_0x130b76['shift']());}}}(_0x1a36,0x1b4c9));function _0x1a36(){var _0x4e8a93=['_aiConnector','1321331zTBPzp','110184SEjhax','_sendRatingRequest','181832JbqupY','414883HGFqhZ','_createApiRequest','820805RbOoEm','1591768pwylql','_model','upsertCustomAIReviewRating','3723889pozJRV','_documentData','callCustomReview','1JZHUAz','content','12HDBusk','6KgdMFt','subTitle','9EeBAaJ','4ZTlhjr','_prompt','10QBknBa'];_0x1a36=function(){return _0x4e8a93;};return _0x1a36();}function _0x2a73(_0x1d457a,_0x38712e){var _0x1a367b=_0x1a36();return _0x2a73=function(_0x2a7360,_0xf6f125){_0x2a7360=_0x2a7360-0x1c2;var _0x132f3a=_0x1a367b[_0x2a7360];return _0x132f3a;},_0x2a73(_0x1d457a,_0x38712e);}import{AIReviewCheckRun as _0x20883f}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x20883f{[_0x16f850(0x1c9)];[_0x16f850(0x1d4)];constructor(_0x3651ff,_0x149ccf,_0x111991,_0x50ea60,_0x468629){var _0x4c409e=_0x16f850;super(_0x111991,_0x50ea60,_0x468629),this[_0x4c409e(0x1c9)]=_0x3651ff,this[_0x4c409e(0x1d4)]=_0x149ccf;}get[_0x16f850(0x1c6)](){var _0x43263c=_0x16f850;return this[_0x43263c(0x1c9)];}[_0x16f850(0x1d1)](){var _0x34b061=_0x16f850;return this[_0x34b061(0x1cb)][_0x34b061(0x1d8)]({'content':this[_0x34b061(0x1d7)][_0x34b061(0x1c3)],'prompt':this[_0x34b061(0x1c9)],'model':this[_0x34b061(0x1d4)]});}[_0x16f850(0x1ce)](_0x26b069,_0x1169af,_0x56a05d){var _0x85c129=_0x16f850;return this[_0x85c129(0x1cb)][_0x85c129(0x1d5)](_0x1169af,_0x26b069,_0x56a05d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x537dc1=_0x6fc9;function _0x6fc9(_0x1d58a1,_0xb916ad){var _0xab103b=_0xab10();return _0x6fc9=function(_0x6fc9ad,_0xeae809){_0x6fc9ad=_0x6fc9ad-0x1a0;var _0x3cffd4=_0xab103b[_0x6fc9ad];return _0x3cffd4;},_0x6fc9(_0x1d58a1,_0xb916ad);}(function(_0x1e27d7,_0x2c370b){var _0x2197fa=_0x6fc9,_0x3c27a2=_0x1e27d7();while(!![]){try{var _0x37e1f6=parseInt(_0x2197fa(0x1a1))/0x1*(-parseInt(_0x2197fa(0x1aa))/0x2)+parseInt(_0x2197fa(0x1a5))/0x3+parseInt(_0x2197fa(0x1ac))/0x4+-parseInt(_0x2197fa(0x1a3))/0x5+parseInt(_0x2197fa(0x1a8))/0x6*(parseInt(_0x2197fa(0x1a9))/0x7)+parseInt(_0x2197fa(0x1a0))/0x8+-parseInt(_0x2197fa(0x1ad))/0x9;if(_0x37e1f6===_0x2c370b)break;else _0x3c27a2['push'](_0x3c27a2['shift']());}catch(_0x7913b2){_0x3c27a2['push'](_0x3c27a2['shift']());}}}(_0xab10,0xb07f3));import{AIReviewCustomCheckRun as _0x11a4b0}from'./aireviewcustomcheckrun.js';function _0xab10(){var _0x8b7887=['1072380elYUYT','subTitle','2919234kuALHB','_prompt','model','2821242WNmMcw','7fSSQFx','1888630bsWHzv','_model','5716280qVqKOd','14440995uAxnmA','4911376ukpKcp','1fSiYpm','prompt'];_0xab10=function(){return _0x8b7887;};return _0xab10();}export class AIReviewExtraCheckRun extends _0x11a4b0{get[_0x537dc1(0x1a4)](){return'';}set[_0x537dc1(0x1a2)](_0x2ea1e1){var _0x385023=_0x537dc1;this[_0x385023(0x1a6)]=_0x2ea1e1;}set[_0x537dc1(0x1a7)](_0x2ddc84){var _0x6174f=_0x537dc1;this[_0x6174f(0x1ab)]=_0x2ddc84;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5ac922=_0x51c8;(function(_0x18c29b,_0x24d9c8){var _0x3a030d=_0x51c8,_0x4c39c0=_0x18c29b();while(!![]){try{var _0x230b7c=parseInt(_0x3a030d(0xd2))/0x1+-parseInt(_0x3a030d(0xd1))/0x2*(parseInt(_0x3a030d(0xe1))/0x3)+parseInt(_0x3a030d(0xd8))/0x4+parseInt(_0x3a030d(0xdc))/0x5+-parseInt(_0x3a030d(0xe0))/0x6*(-parseInt(_0x3a030d(0xd9))/0x7)+-parseInt(_0x3a030d(0xd5))/0x8*(-parseInt(_0x3a030d(0xd3))/0x9)+-parseInt(_0x3a030d(0xdf))/0xa;if(_0x230b7c===_0x24d9c8)break;else _0x4c39c0['push'](_0x4c39c0['shift']());}catch(_0x245c3a){_0x4c39c0['push'](_0x4c39c0['shift']());}}}(_0x105d,0xc2aa8));import{AIReviewCheckList as _0x2f65b4}from'../../aireviewcore/model/aireviewchecklist.js';function _0x105d(){var _0x4be272=['_allModels','1387648GguHHO','5503918FHeqRE','custom','_checks','2754875BwOCQh','_defaultModel','setupChecks','16934520FdJTmY','6QNDwyd','15Yejogz','_recommendedModels','80372CBWnEW','800810EgyKWC','369sWcIPd','map','40344gMIqgs','isExtra'];_0x105d=function(){return _0x4be272;};return _0x105d();}import{AIReviewCheck as _0x1c11e8}from'../../aireviewcore/model/aireviewcheck.js';function _0x51c8(_0x54d9bb,_0x5c1b47){var _0x105d5d=_0x105d();return _0x51c8=function(_0x51c88e,_0x4767ff){_0x51c88e=_0x51c88e-0xd1;var _0x54f879=_0x105d5d[_0x51c88e];return _0x54f879;},_0x51c8(_0x54d9bb,_0x5c1b47);}import{AIReviewCheckCustom as _0x41ac5f}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x588fa5}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x2f65b4{[_0x5ac922(0xd7)]=[];[_0x5ac922(0xe2)]=[];[_0x5ac922(0xdd)]=null;constructor(_0x5966ef,_0x179bd3,_0x370353){var _0x2678cf=_0x5ac922;super(),this[_0x2678cf(0xd7)]=_0x5966ef,this[_0x2678cf(0xe2)]=_0x179bd3,this[_0x2678cf(0xdd)]=_0x370353;}[_0x5ac922(0xde)](_0xa14793){var _0x2b1a84=_0x5ac922;this[_0x2b1a84(0xdb)]=_0xa14793[_0x2b1a84(0xd4)](_0x7a8bcd=>!0x0===_0x7a8bcd[_0x2b1a84(0xd6)]?new _0x588fa5(_0x7a8bcd,this[_0x2b1a84(0xd7)],this[_0x2b1a84(0xdd)]):_0x2b1a84(0xda)===_0x7a8bcd['id']?new _0x41ac5f(_0x7a8bcd,this[_0x2b1a84(0xe2)],this[_0x2b1a84(0xdd)]):new _0x1c11e8(_0x7a8bcd));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xf3c079=_0x56e2;(function(_0x4f641d,_0x12ffda){const _0x27a14a=_0x56e2,_0x298734=_0x4f641d();while(!![]){try{const _0xd10cb=-parseInt(_0x27a14a(0x185))/0x1+-parseInt(_0x27a14a(0x1a6))/0x2+parseInt(_0x27a14a(0x197))/0x3+-parseInt(_0x27a14a(0x186))/0x4*(-parseInt(_0x27a14a(0x19e))/0x5)+-parseInt(_0x27a14a(0x195))/0x6*(-parseInt(_0x27a14a(0x1a1))/0x7)+parseInt(_0x27a14a(0x187))/0x8+-parseInt(_0x27a14a(0x1aa))/0x9;if(_0xd10cb===_0x12ffda)break;else _0x298734['push'](_0x298734['shift']());}catch(_0x4cd8f4){_0x298734['push'](_0x298734['shift']());}}}(_0x3757,0x9ebdd));function _0x56e2(_0x2ec204,_0x159339){const _0x37579e=_0x3757();return _0x56e2=function(_0x56e228,_0x5f46a0){_0x56e228=_0x56e228-0x17a;let _0x343ece=_0x37579e[_0x56e228];return _0x343ece;},_0x56e2(_0x2ec204,_0x159339);}import{ContextPlugin as _0x36efb1,Editor as _0x3737e5}from'ckeditor5/src/core.js';import{CKEditorError as _0x118c75}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x29b2e2,AI_TABS_VIEW_SIDES as _0x46b292,AI_TABS_VIEW_TYPES as _0x488106}from'./aitabsmainview.js';export class AITabs extends _0x36efb1{[_0xf3c079(0x17e)];[_0xf3c079(0x1a4)]=null;[_0xf3c079(0x19c)]=!0x0;static get[_0xf3c079(0x19a)](){const _0x383ebb=_0xf3c079;return _0x383ebb(0x19b);}static get[_0xf3c079(0x183)](){return!0x0;}static get[_0xf3c079(0x1a2)](){return!0x0;}constructor(_0x323250){const _0x1d54c9=_0xf3c079;super(_0x323250);const _0x2e8b6d=this[_0x1d54c9(0x180)][_0x1d54c9(0x18a)][_0x1d54c9(0x182)](_0x1d54c9(0x191));if(this[_0x1d54c9(0x1a0)](_0x1d54c9(0x184),_0x1d54c9(0x181)),!_0x2e8b6d)throw new _0x118c75(_0x1d54c9(0x198));if(void 0x0!==_0x2e8b6d[_0x1d54c9(0x19c)]&&(this[_0x1d54c9(0x19c)]=_0x2e8b6d[_0x1d54c9(0x19c)]),_0x1d54c9(0x1a3)!==_0x2e8b6d[_0x1d54c9(0x18d)]&&_0x1d54c9(0x1a8)!==_0x2e8b6d[_0x1d54c9(0x18d)]||_0x2e8b6d[_0x1d54c9(0x184)]&&(this[_0x1d54c9(0x184)]=_0x2e8b6d[_0x1d54c9(0x184)]),_0x1d54c9(0x1a3)===_0x2e8b6d[_0x1d54c9(0x18d)]){if(this[_0x1d54c9(0x1a4)]=_0x2e8b6d[_0x1d54c9(0x17f)],this[_0x1d54c9(0x1a0)](_0x1d54c9(0x18d),_0x1d54c9(0x1a3)),!this[_0x1d54c9(0x1a4)])throw new _0x118c75(_0x1d54c9(0x188));}else _0x1d54c9(0x1a8)===_0x2e8b6d[_0x1d54c9(0x18d)]?(this[_0x1d54c9(0x1a4)]=document[_0x1d54c9(0x17d)],this[_0x1d54c9(0x1a0)](_0x1d54c9(0x18d),_0x1d54c9(0x1a8))):(this[_0x1d54c9(0x1a4)]=null,this[_0x1d54c9(0x1a0)](_0x1d54c9(0x18d),_0x1d54c9(0x192)));this[_0x1d54c9(0x17e)]=new _0x29b2e2(this[_0x1d54c9(0x180)][_0x1d54c9(0x1a5)],{'side':this[_0x1d54c9(0x184)],'type':this[_0x1d54c9(0x18d)],'visibleByDefault':void 0x0===_0x2e8b6d[_0x1d54c9(0x190)]||_0x2e8b6d[_0x1d54c9(0x190)]}),this[_0x1d54c9(0x17e)][_0x1d54c9(0x18c)](),this[_0x1d54c9(0x17e)][_0x1d54c9(0x18f)](_0x1d54c9(0x184))['to'](this,_0x1d54c9(0x184)),this[_0x1d54c9(0x17e)][_0x1d54c9(0x18f)](_0x1d54c9(0x18d))['to'](this,_0x1d54c9(0x18d)),this[_0x1d54c9(0x1a4)]&&this[_0x1d54c9(0x1a4)][_0x1d54c9(0x19f)](this[_0x1d54c9(0x17e)][_0x1d54c9(0x17f)]),this[_0x1d54c9(0x180)]instanceof _0x3737e5&&this[_0x1d54c9(0x180)]['ui'][_0x1d54c9(0x193)][_0x1d54c9(0x196)](this[_0x1d54c9(0x17e)][_0x1d54c9(0x17f)]);}[_0xf3c079(0x1a7)](_0x4e2053){const _0x31f36b=_0xf3c079;if(_0x4e2053&&this[_0x31f36b(0x18d)]!==_0x4e2053){if(!_0x488106[_0x31f36b(0x189)](_0x4e2053))throw new _0x118c75(_0x31f36b(0x17c));this[_0x31f36b(0x18d)]=_0x4e2053;}}[_0xf3c079(0x18e)](_0x37080){const _0x58073d=_0xf3c079;if(_0x37080&&this[_0x58073d(0x184)]!==_0x37080){if(!_0x46b292[_0x58073d(0x189)](_0x37080))throw new _0x118c75(_0x58073d(0x17a));this[_0x58073d(0x184)]=_0x37080;}}[_0xf3c079(0x1a9)](){const _0x1b56d8=_0xf3c079;this[_0x1b56d8(0x17e)][_0x1b56d8(0x17b)]=!this[_0x1b56d8(0x17e)][_0x1b56d8(0x17b)],this[_0x1b56d8(0x19d)](_0x1b56d8(0x199),this[_0x1b56d8(0x17e)][_0x1b56d8(0x17b)]);}[_0xf3c079(0x18b)](){const _0x20db34=_0xf3c079;super[_0x20db34(0x18b)](),this[_0x20db34(0x17e)][_0x20db34(0x18b)](),this[_0x20db34(0x17e)][_0x20db34(0x17f)]&&this[_0x20db34(0x17e)][_0x20db34(0x17f)][_0x20db34(0x194)]();}}function _0x3757(){const _0x378119=['isPremiumPlugin','sidebar','container','locale','317306JlSPPf','switchType','overlay','resize','23665545xTRnPs','ai-tabs-unsupported-ui-side','isMaximized','ai-tabs-unsupported-ui-type','body','view','element','context','right','get','isOfficialPlugin','side','345354cAScqt','18336dWMIdj','9644368dueHIa','ai-tabs-sidebar-container-element-not-found','includes','config','destroy','render','type','switchSide','bind','visibleByDefault','ai.container','custom','focusTracker','remove','1308YsuZPD','add','2782857aIDNuU','ai-tabs-configuration-not-found','resizedTabs','pluginName','AITabs','showResizeButton','fire','970XdNrKF','appendChild','set','24444OuJdwn'];_0x3757=function(){return _0x378119;};return _0x3757();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xeb6833=_0x2f9f;(function(_0x142620,_0x30a88d){const _0x48b9e0=_0x2f9f,_0x3aa81c=_0x142620();while(!![]){try{const _0x9a951a=parseInt(_0x48b9e0(0x1e8))/0x1+-parseInt(_0x48b9e0(0x1d7))/0x2+parseInt(_0x48b9e0(0x1eb))/0x3*(-parseInt(_0x48b9e0(0x1ec))/0x4)+parseInt(_0x48b9e0(0x1d4))/0x5+-parseInt(_0x48b9e0(0x1d5))/0x6*(-parseInt(_0x48b9e0(0x1df))/0x7)+parseInt(_0x48b9e0(0x1ee))/0x8+-parseInt(_0x48b9e0(0x1de))/0x9;if(_0x9a951a===_0x30a88d)break;else _0x3aa81c['push'](_0x3aa81c['shift']());}catch(_0xd4ae97){_0x3aa81c['push'](_0x3aa81c['shift']());}}}(_0x18a4,0x5ea7f));import{AITabsView as _0x18cb00}from'./tabs/aitabsview.js';function _0x2f9f(_0x4afb05,_0x542599){const _0x18a406=_0x18a4();return _0x2f9f=function(_0x2f9f9a,_0xac80c9){_0x2f9f9a=_0x2f9f9a-0x1d4;let _0x54dbfc=_0x18a406[_0x2f9f9a];return _0x54dbfc;},_0x2f9f(_0x4afb05,_0x542599);}import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0xeb6833(0x1e3),_0xeb6833(0x1ed),_0xeb6833(0x1d8)];export const AI_TABS_VIEW_SIDES=[_0xeb6833(0x1e0),_0xeb6833(0x1e7)];function _0x18a4(){const _0x1ce365=['ck-hidden','right','311740mbFduL','buttonViews','ck-ai-tabs__overlay','81522LJGHmN','12DXemBJ','sidebar','5966480xehpth','isVisible','1168135mdNUqR','105234ijmYvU','extendTemplate','693552vgqALI','custom','ck-ai-tabs','bindTemplate','withText','side','visibleByDefault','4592214yCEanI','14vAdGMf','left','type','ck-ai-tabs__sidebar','overlay','add','set'];_0x18a4=function(){return _0x1ce365;};return _0x18a4();}export class AITabsMainView extends _0x18cb00{constructor(_0x471eee,_0x23e7c7={}){const _0x55637b=_0xeb6833;super(_0x471eee,_0x23e7c7),this[_0x55637b(0x1e5)](_0x55637b(0x1e1),_0x23e7c7[_0x55637b(0x1e1)]||_0x55637b(0x1ed)),this[_0x55637b(0x1e5)](_0x55637b(0x1dc),_0x23e7c7[_0x55637b(0x1dc)]||_0x55637b(0x1e7)),this[_0x55637b(0x1e5)](_0x55637b(0x1ef),_0x23e7c7[_0x55637b(0x1dd)]??!0x0);const _0x41875e=this[_0x55637b(0x1da)];this[_0x55637b(0x1d6)]({'attributes':{'class':[_0x55637b(0x1d9),_0x41875e['if'](_0x55637b(0x1e1),_0x55637b(0x1ea),_0x140250=>_0x55637b(0x1e3)===_0x140250),_0x41875e['if'](_0x55637b(0x1e1),_0x55637b(0x1e2),_0x47650a=>_0x55637b(0x1ed)===_0x47650a),_0x41875e['if'](_0x55637b(0x1ef),_0x55637b(0x1e6),_0x225a1d=>!_0x225a1d)]}}),this[_0x55637b(0x1e9)]['on'](_0x55637b(0x1e4),(_0x31fd99,_0x31fd4)=>{const _0x572c3d=_0x55637b;_0x31fd4[_0x572c3d(0x1e5)](_0x572c3d(0x1db),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1c0208=_0x40e8;(function(_0x2c886e,_0x1cae23){const _0x2d342b=_0x40e8,_0x1305bb=_0x2c886e();while(!![]){try{const _0x24e93d=-parseInt(_0x2d342b(0x1bf))/0x1*(parseInt(_0x2d342b(0x1b4))/0x2)+-parseInt(_0x2d342b(0x1a0))/0x3*(-parseInt(_0x2d342b(0x1a7))/0x4)+-parseInt(_0x2d342b(0x1c9))/0x5*(parseInt(_0x2d342b(0x199))/0x6)+-parseInt(_0x2d342b(0x1ab))/0x7*(parseInt(_0x2d342b(0x1a5))/0x8)+-parseInt(_0x2d342b(0x1ac))/0x9+-parseInt(_0x2d342b(0x1ae))/0xa*(parseInt(_0x2d342b(0x1b3))/0xb)+-parseInt(_0x2d342b(0x1d4))/0xc*(-parseInt(_0x2d342b(0x1b2))/0xd);if(_0x24e93d===_0x1cae23)break;else _0x1305bb['push'](_0x1305bb['shift']());}catch(_0x4349e3){_0x1305bb['push'](_0x1305bb['shift']());}}}(_0x5c9a,0xdd4d8));import{View as _0x55d206}from'ckeditor5/src/ui.js';function _0x40e8(_0x474b4b,_0x27159d){const _0x5c9a60=_0x5c9a();return _0x40e8=function(_0x40e8c5,_0x3eac67){_0x40e8c5=_0x40e8c5-0x18c;let _0x27cf95=_0x5c9a60[_0x40e8c5];return _0x27cf95;},_0x40e8(_0x474b4b,_0x27159d);}import{toArray as _0x402356,CKEditorError as _0x129e78}from'ckeditor5/src/utils.js';import{TabButtonView as _0x22760d}from'./tabbuttonview.js';import{TabPanelView as _0xd21113}from'./tabpanelview.js';function _0x5c9a(){const _0xb82b9e=['add','icon','ck-tabs__panels-container_','set','keys','order','side','left','ck-tabs_','_setupButton','1GIjjDu','getIndex','ck-ai-tabs_maximized','content','setTemplate','length','div','addTab','activateTab','activeTab','4195180YvCgyZ','getTabIds','class','createCollection','ck-tabs','_showButton','show:','addTab:','children','find','activateTab:','26453316KOuJyb','buttonLabel','isMaximized','hide:','show','bind','panelViews','_getPanel','getTab','hideTab','showTab','_tabs','_showPanel','isVisible','label','buttonIcon','ck-tabs__buttons-container_','fire','_getButton','ui-tabsview-tab-not-found','12jUSzPk','_hideButton','execute','render','buttonViews','reduce','isOn','192uDAVZo','locale','_hidePanel','get','hide','19464oDbjyl','bindTemplate','11728hsMini','ck-reset','ck-tabs__buttons-container','ck-tabs__panels-container','3612fXYhpI','11148822XRjpRI','right','10vlWidm','top','panel','button','39ydwhXM','12229976ENaURM','1220894AvKgsl'];_0x5c9a=function(){return _0xb82b9e;};return _0x5c9a();}import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x1c0208(0x1af),_0x1c0208(0x1bc),_0x1c0208(0x1ad)];export class AITabsView extends _0x55d206{[_0x1c0208(0x19d)]=this[_0x1c0208(0x1cc)]();[_0x1c0208(0x1da)]=this[_0x1c0208(0x1cc)]();[_0x1c0208(0x190)]=new Map();constructor(_0x298acb,_0x9e50e={}){const _0x27b6e0=_0x1c0208;super(_0x298acb),this[_0x27b6e0(0x1b8)](_0x27b6e0(0x1cb),void 0x0),this[_0x27b6e0(0x1b8)](_0x27b6e0(0x1c8),null),this[_0x27b6e0(0x1b8)](_0x27b6e0(0x1bb),_0x9e50e[_0x27b6e0(0x1bb)]||_0x27b6e0(0x1af)),this[_0x27b6e0(0x1b8)](_0x27b6e0(0x1d6),!0x1);const _0x4d6a0f=this[_0x27b6e0(0x1a6)];this[_0x27b6e0(0x1c3)]({'tag':_0x27b6e0(0x1c5),'attributes':{'class':['ck',_0x27b6e0(0x1a8),_0x27b6e0(0x1cd),..._0x402356(_0x9e50e[_0x27b6e0(0x1cb)]||[]),_0x4d6a0f['to'](_0x27b6e0(0x1bb),_0x4cb8cb=>_0x27b6e0(0x1bd)+_0x4cb8cb),_0x4d6a0f['to'](_0x27b6e0(0x1cb)),_0x4d6a0f['to'](_0x27b6e0(0x1d6),_0x26c0e0=>_0x26c0e0?_0x27b6e0(0x1c1):'')],'tabindex':'0'},'children':[{'tag':_0x27b6e0(0x1c5),'attributes':{'class':['ck',_0x27b6e0(0x1a9),_0x4d6a0f['to'](_0x27b6e0(0x1bb),_0x11fb42=>_0x27b6e0(0x195)+_0x11fb42)]},'children':this[_0x27b6e0(0x19d)]},{'tag':_0x27b6e0(0x1c5),'attributes':{'class':['ck',_0x27b6e0(0x1aa),_0x4d6a0f['to'](_0x27b6e0(0x1bb),_0x266cc0=>_0x27b6e0(0x1b7)+_0x266cc0)]},'children':this[_0x27b6e0(0x1da)]},..._0x402356(_0x9e50e[_0x27b6e0(0x1d1)]||[])]});}[_0x1c0208(0x1ca)](){const _0x1c0d77=_0x1c0208;return[...this[_0x1c0d77(0x190)][_0x1c0d77(0x1b9)]()];}[_0x1c0208(0x18d)](_0x485260){const _0x4b394a=_0x1c0208,_0x2d2ac0=this[_0x4b394a(0x190)][_0x4b394a(0x1a3)](_0x485260);return _0x2d2ac0||null;}[_0x1c0208(0x1c6)](_0x31daf2){const _0x32cd6e=_0x1c0208,_0x1545a3=this[_0x32cd6e(0x1be)]({'id':_0x31daf2['id'],'label':_0x31daf2[_0x32cd6e(0x1d5)],'icon':_0x31daf2[_0x32cd6e(0x194)],'order':_0x31daf2[_0x32cd6e(0x1ba)]}),_0x2f6882=new _0xd21113(this[_0x32cd6e(0x1a1)]);return _0x2f6882[_0x32cd6e(0x19c)](),_0x31daf2[_0x32cd6e(0x1c2)]&&_0x2f6882[_0x32cd6e(0x1d1)][_0x32cd6e(0x1b5)](_0x31daf2[_0x32cd6e(0x1c2)]),this[_0x32cd6e(0x1da)][_0x32cd6e(0x1b5)](_0x2f6882),this[_0x32cd6e(0x190)][_0x32cd6e(0x1b8)](_0x31daf2['id'],{'button':_0x1545a3,'panel':_0x2f6882,'order':void 0x0!==_0x31daf2[_0x32cd6e(0x1ba)]?_0x31daf2[_0x32cd6e(0x1ba)]:null}),this[_0x32cd6e(0x196)](_0x32cd6e(0x1d0)+_0x31daf2['id'],{'id':_0x31daf2['id'],'button':_0x1545a3,'panel':_0x2f6882}),null===this[_0x32cd6e(0x1c8)]?this[_0x32cd6e(0x1c7)](_0x31daf2['id']):this[_0x32cd6e(0x1a2)](_0x31daf2['id']),{'button':_0x1545a3,'panel':_0x2f6882};}[_0x1c0208(0x1c7)](_0x1ee0fd){const _0x2a68f7=_0x1c0208;if(null!==_0x1ee0fd&&!this[_0x2a68f7(0x18d)](_0x1ee0fd))throw new _0x129e78(_0x2a68f7(0x198),{'tabs':this,'tabId':_0x1ee0fd});this[_0x2a68f7(0x1c8)]!==_0x1ee0fd&&(this[_0x2a68f7(0x1c8)]&&this[_0x2a68f7(0x1a2)](this[_0x2a68f7(0x1c8)]),this[_0x2a68f7(0x1c8)]=_0x1ee0fd,_0x1ee0fd&&this[_0x2a68f7(0x191)](_0x1ee0fd),this[_0x2a68f7(0x196)](_0x2a68f7(0x1d3)+_0x1ee0fd,_0x1ee0fd));}[_0x1c0208(0x18f)](_0x17071f){const _0x53d784=_0x1c0208;if(!this[_0x53d784(0x18d)](_0x17071f))throw new _0x129e78(_0x53d784(0x198),{'tabs':this,'tabId':_0x17071f});this[_0x53d784(0x191)](_0x17071f),this[_0x53d784(0x1ce)](_0x17071f),this[_0x53d784(0x196)](_0x53d784(0x1cf)+_0x17071f,_0x17071f);}[_0x1c0208(0x18e)](_0x5413c4){const _0x963e90=_0x1c0208;if(!this[_0x963e90(0x18d)](_0x5413c4))throw new _0x129e78(_0x963e90(0x198),{'tabs':this,'tabId':_0x5413c4});const _0x4582a2=this[_0x963e90(0x1c8)];this[_0x963e90(0x1a2)](_0x5413c4),this[_0x963e90(0x19a)](_0x5413c4);const _0x450b02=this[_0x963e90(0x1ca)]();_0x4582a2===_0x5413c4&&_0x450b02[_0x963e90(0x1c4)]>0x1&&this[_0x963e90(0x1c7)](_0x450b02[_0x963e90(0x1d2)](_0x45dc02=>_0x45dc02!==_0x5413c4)),this[_0x963e90(0x196)](_0x963e90(0x1d7)+_0x5413c4,_0x5413c4);}[_0x1c0208(0x18c)](_0x2b552f){const _0x1f60a7=_0x1c0208,_0x19fa77=this[_0x1f60a7(0x190)][_0x1f60a7(0x1a3)](_0x2b552f);return _0x19fa77?_0x19fa77[_0x1f60a7(0x1b0)]:null;}[_0x1c0208(0x191)](_0x1a51c6){const _0x3b81f7=_0x1c0208;null!==this[_0x3b81f7(0x1c8)]&&this[_0x3b81f7(0x1c8)]!==_0x1a51c6||this[_0x3b81f7(0x18c)](_0x1a51c6)[_0x3b81f7(0x1d8)]();}[_0x1c0208(0x1a2)](_0x4459b1){const _0x56ce5d=_0x1c0208,_0x5b23ec=this[_0x56ce5d(0x18c)](_0x4459b1);_0x5b23ec[_0x56ce5d(0x192)]&&(this[_0x56ce5d(0x1c8)]===_0x4459b1&&(this[_0x56ce5d(0x1c8)]=null),_0x5b23ec[_0x56ce5d(0x1a4)]());}[_0x1c0208(0x197)](_0x54df1e){const _0x11f148=_0x1c0208,_0x4216bf=this[_0x11f148(0x190)][_0x11f148(0x1a3)](_0x54df1e);return _0x4216bf?_0x4216bf[_0x11f148(0x1b1)]:null;}[_0x1c0208(0x1ce)](_0x53e4b4){const _0x2fecca=_0x1c0208;this[_0x2fecca(0x197)](_0x53e4b4)[_0x2fecca(0x1d8)]();}[_0x1c0208(0x19a)](_0x54d98f){const _0x27d81c=_0x1c0208;this[_0x27d81c(0x197)](_0x54d98f)[_0x27d81c(0x1a4)]();}[_0x1c0208(0x1be)](_0x3dc797){const _0x505beb=_0x1c0208,_0xa95a7b=new _0x22760d(this[_0x505beb(0x1a1)],{'side':this[_0x505beb(0x1bb)]}),_0x93e978=this[_0x505beb(0x19d)];if(_0xa95a7b[_0x505beb(0x1b8)]({'label':_0x3dc797[_0x505beb(0x193)],'icon':_0x3dc797[_0x505beb(0x1b6)],'tooltip':!0x0,'withText':!0x0}),_0xa95a7b[_0x505beb(0x1d9)](_0x505beb(0x19f))['to'](this,_0x505beb(0x1c8),_0x15d288=>_0x15d288===_0x3dc797['id']),_0xa95a7b[_0x505beb(0x1d9)](_0x505beb(0x1bb))['to'](this,_0x505beb(0x1bb)),_0x3dc797[_0x505beb(0x1ba)]){const _0x264938=[...this[_0x505beb(0x190)]][_0x505beb(0x19e)]((_0x5577ff,_0x58ab8e)=>{const _0x145c14=_0x505beb,_0x93f0c6=_0x58ab8e[0x0],{order:_0x4db799}=_0x58ab8e[0x1];return!_0x4db799||_0x4db799>_0x3dc797[_0x145c14(0x1ba)]?_0x5577ff:_0x4db799>=_0x5577ff[_0x145c14(0x1ba)]?{'id':_0x93f0c6,'order':_0x4db799}:_0x5577ff;},{'id':'','order':0x0}),_0x2b89f2=_0x93e978[_0x505beb(0x1c0)](this[_0x505beb(0x197)](_0x264938['id']));_0x93e978[_0x505beb(0x1b5)](_0xa95a7b,_0x2b89f2+0x1);}else _0x93e978[_0x505beb(0x1b5)](_0xa95a7b);return _0xa95a7b['on'](_0x505beb(0x19b),()=>{const _0x501ef6=_0x505beb;this[_0x501ef6(0x1c7)](_0x3dc797['id']);}),_0xa95a7b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48b340=_0x1ccc;function _0x3ab0(){const _0x2f8b41=['1256304Yvktzz','hide','class','1591610VnpUYT','54610oQgijO','bindTemplate','extendTemplate','101022bzSfFV','6XdLkcL','isToggleable','top','16eKWruO','ck-tab-button','show','isVisible','2547oOuhyN','side','1120980uGWJWP','ck-tab-button_','set','1611622DSFKEf','9283463HMmFGg'];_0x3ab0=function(){return _0x2f8b41;};return _0x3ab0();}(function(_0x5567ac,_0x2e28d4){const _0x5cdc2c=_0x1ccc,_0x16615e=_0x5567ac();while(!![]){try{const _0x2ed15f=-parseInt(_0x5cdc2c(0x149))/0x1+-parseInt(_0x5cdc2c(0x140))/0x2*(parseInt(_0x5cdc2c(0x152))/0x3)+-parseInt(_0x5cdc2c(0x146))/0x4+parseInt(_0x5cdc2c(0x14e))/0x5+-parseInt(_0x5cdc2c(0x153))/0x6*(-parseInt(_0x5cdc2c(0x14a))/0x7)+-parseInt(_0x5cdc2c(0x14b))/0x8+parseInt(_0x5cdc2c(0x144))/0x9*(parseInt(_0x5cdc2c(0x14f))/0xa);if(_0x2ed15f===_0x2e28d4)break;else _0x16615e['push'](_0x16615e['shift']());}catch(_0x9cf1da){_0x16615e['push'](_0x16615e['shift']());}}}(_0x3ab0,0xd4d11));import{ButtonView as _0x20b4f5}from'ckeditor5/src/ui.js';import{toArray as _0x505629}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x1ccc(_0x20e655,_0x3b35c5){const _0x3ab051=_0x3ab0();return _0x1ccc=function(_0x1ccc65,_0x372e5e){_0x1ccc65=_0x1ccc65-0x13f;let _0x104693=_0x3ab051[_0x1ccc65];return _0x104693;},_0x1ccc(_0x20e655,_0x3b35c5);}export class TabButtonView extends _0x20b4f5{constructor(_0x1e4a8a,_0x500014={}){const _0x510d2f=_0x1ccc;super(_0x1e4a8a),this[_0x510d2f(0x154)]=!0x0,this[_0x510d2f(0x148)](_0x510d2f(0x145),_0x500014[_0x510d2f(0x145)]||_0x510d2f(0x13f));const _0x1044e3=this[_0x510d2f(0x150)];this[_0x510d2f(0x151)]({'attributes':{'class':[_0x510d2f(0x141),..._0x505629(_0x500014[_0x510d2f(0x14d)]||[]),_0x1044e3['to'](_0x510d2f(0x145),_0x443c10=>_0x510d2f(0x147)+_0x443c10),_0x1044e3['to'](_0x510d2f(0x14d))]}});}[_0x48b340(0x142)](){const _0xfb509c=_0x48b340;this[_0xfb509c(0x148)](_0xfb509c(0x143),!0x0);}[_0x48b340(0x14c)](){const _0x49ebbd=_0x48b340;this[_0x49ebbd(0x148)](_0x49ebbd(0x143),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1cee2e=_0x2482;function _0x5a5a(){const _0x52891f=['hide','721245BJxZtH','586633qaNakU','30SAGAnL','1194940ePDnXx','isVisible','show','60664ICAtAW','children','ck-hidden','13KHDgOB','4uZUfXp','bindTemplate','class','set','setTemplate','1666899zPfymH','8027602WybvAy','20XOcGQR','903Vttvjw','div','7341456eBGoNa','createCollection','ck-tab-panel','30tbRlch'];_0x5a5a=function(){return _0x52891f;};return _0x5a5a();}(function(_0x5cd181,_0x3002de){const _0x456d07=_0x2482,_0x5bf24a=_0x5cd181();while(!![]){try{const _0x7b72ed=parseInt(_0x456d07(0x1d6))/0x1*(parseInt(_0x456d07(0x1c6))/0x2)+parseInt(_0x456d07(0x1d5))/0x3*(parseInt(_0x456d07(0x1cd))/0x4)+-parseInt(_0x456d07(0x1d8))/0x5*(parseInt(_0x456d07(0x1d3))/0x6)+-parseInt(_0x456d07(0x1ce))/0x7*(parseInt(_0x456d07(0x1db))/0x8)+parseInt(_0x456d07(0x1cb))/0x9*(parseInt(_0x456d07(0x1d7))/0xa)+-parseInt(_0x456d07(0x1cc))/0xb+parseInt(_0x456d07(0x1d0))/0xc*(parseInt(_0x456d07(0x1c5))/0xd);if(_0x7b72ed===_0x3002de)break;else _0x5bf24a['push'](_0x5bf24a['shift']());}catch(_0xcd2850){_0x5bf24a['push'](_0x5bf24a['shift']());}}}(_0x5a5a,0x9c359));import{View as _0x49bb15}from'ckeditor5/src/ui.js';function _0x2482(_0xd4ce6b,_0x3ecae2){const _0x5a5ac2=_0x5a5a();return _0x2482=function(_0x2482d2,_0x3938a3){_0x2482d2=_0x2482d2-0x1c3;let _0x2c2c40=_0x5a5ac2[_0x2482d2];return _0x2c2c40;},_0x2482(_0xd4ce6b,_0x3ecae2);}import{toArray as _0x893b9}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x49bb15{[_0x1cee2e(0x1c3)];constructor(_0x60dac9,_0x38072c={}){const _0x2debe7=_0x1cee2e;super(_0x60dac9);const _0x2f4a52=this[_0x2debe7(0x1c7)];this[_0x2debe7(0x1c9)](_0x2debe7(0x1d9),!0x1),this[_0x2debe7(0x1c9)](_0x2debe7(0x1c8),''),this[_0x2debe7(0x1c3)]=this[_0x2debe7(0x1d1)](),this[_0x2debe7(0x1ca)]({'tag':_0x2debe7(0x1cf),'attributes':{'class':[_0x2debe7(0x1d2),..._0x893b9(_0x38072c[_0x2debe7(0x1c8)]||[]),_0x2f4a52['to'](_0x2debe7(0x1c8)),_0x2f4a52['if'](_0x2debe7(0x1d9),_0x2debe7(0x1c4),_0x42cec6=>!_0x42cec6)]},'children':this[_0x2debe7(0x1c3)]});}[_0x1cee2e(0x1da)](){const _0x395339=_0x1cee2e;this[_0x395339(0x1c9)](_0x395339(0x1d9),!0x0);}[_0x1cee2e(0x1d4)](){const _0x328313=_0x1cee2e;this[_0x328313(0x1c9)](_0x328313(0x1d9),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf566fe=_0x3d13;function _0x3d13(_0x4e5c77,_0xfaffc){var _0xf42653=_0xf426();return _0x3d13=function(_0x3d1333,_0xdf0b26){_0x3d1333=_0x3d1333-0x1b7;var _0x3cf2d2=_0xf42653[_0x3d1333];return _0x3cf2d2;},_0x3d13(_0x4e5c77,_0xfaffc);}(function(_0x15e964,_0x634768){var _0x1f44b6=_0x3d13,_0x24704e=_0x15e964();while(!![]){try{var _0x250579=parseInt(_0x1f44b6(0x1bb))/0x1+parseInt(_0x1f44b6(0x1ba))/0x2+-parseInt(_0x1f44b6(0x1bf))/0x3+-parseInt(_0x1f44b6(0x1b9))/0x4*(parseInt(_0x1f44b6(0x1b8))/0x5)+-parseInt(_0x1f44b6(0x1b7))/0x6+-parseInt(_0x1f44b6(0x1c2))/0x7+parseInt(_0x1f44b6(0x1bc))/0x8;if(_0x250579===_0x634768)break;else _0x24704e['push'](_0x24704e['shift']());}catch(_0x55e3eb){_0x24704e['push'](_0x24704e['shift']());}}}(_0xf426,0x86e95));function _0xf426(){var _0x2e9444=['requires','AITranslate','2289714NxhExS','pluginName','5996118plMJQN','5isxkxZ','3441704rymMzJ','1098198mrFwhB','464038wilLwm','21444040coVoff','isOfficialPlugin','isPremiumPlugin','2862492bRAnCt'];_0xf426=function(){return _0x2e9444;};return _0xf426();}import{ContextPlugin as _0x304ed1}from'ckeditor5/src/core.js';import{AITranslateController as _0x95c46}from'./aitranslatecontroller.js';import{AITranslateUI as _0x1dd5a7}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x4e3843}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x304ed1{static get[_0xf566fe(0x1c0)](){return[_0x95c46,_0x1dd5a7,_0x4e3843];}static get[_0xf566fe(0x1c3)](){var _0x1f2352=_0xf566fe;return _0x1f2352(0x1c1);}static get[_0xf566fe(0x1bd)](){return!0x0;}static get[_0xf566fe(0x1be)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x502ffe=_0x4837;(function(_0x4e20dc,_0x219428){const _0xe5e41b=_0x4837,_0x44ff99=_0x4e20dc();while(!![]){try{const _0x4bb15c=parseInt(_0xe5e41b(0xd6))/0x1*(parseInt(_0xe5e41b(0xee))/0x2)+-parseInt(_0xe5e41b(0xcc))/0x3+-parseInt(_0xe5e41b(0xfe))/0x4+-parseInt(_0xe5e41b(0x108))/0x5+-parseInt(_0xe5e41b(0xdf))/0x6*(-parseInt(_0xe5e41b(0x109))/0x7)+parseInt(_0xe5e41b(0xc0))/0x8+-parseInt(_0xe5e41b(0xe6))/0x9;if(_0x4bb15c===_0x219428)break;else _0x44ff99['push'](_0x44ff99['shift']());}catch(_0x567cef){_0x44ff99['push'](_0x44ff99['shift']());}}}(_0x49d7,0xc3c27));import{AIReviewCoreController as _0x2000a5}from'../aireviewcore/aireviewcorecontroller.js';import{AITranslateCheckList as _0x174290}from'./model/aitranslatechecklist.js';function _0x4837(_0x4a48bf,_0x1256e1){const _0x49d7f6=_0x49d7();return _0x4837=function(_0x4837bd,_0x2ecbb4){_0x4837bd=_0x4837bd-0xa9;let _0x518bb5=_0x49d7f6[_0x4837bd];return _0x518bb5;},_0x4837(_0x4a48bf,_0x1256e1);}import{AITranslateCheckRun as _0x3d0cb3}from'./model/aitranslatecheckrun.js';import{getTranslation as _0x41fbd4}from'../aicore/utils/common-translations.js';export class AITranslateController extends _0x2000a5{static get[_0x502ffe(0xb9)](){const _0x24b565=_0x502ffe;return _0x24b565(0xd4);}constructor(_0xf4ae4e){const _0x1b126d=_0x502ffe;super(_0xf4ae4e),this[_0x1b126d(0xd5)][_0x1b126d(0xbf)][_0x1b126d(0xb7)](_0x1b126d(0xd9),[{'label':_0x1b126d(0xb0),'id':_0x1b126d(0xb1)},{'label':_0x1b126d(0xce),'id':_0x1b126d(0xf4)},{'label':_0x1b126d(0xde),'id':_0x1b126d(0xbc)},{'label':_0x1b126d(0x111),'id':_0x1b126d(0xae)},{'label':_0x1b126d(0x100),'id':_0x1b126d(0xbe)},{'label':_0x1b126d(0xcf),'id':_0x1b126d(0xff)},{'label':_0x1b126d(0xaf),'id':_0x1b126d(0xcb)},{'label':_0x1b126d(0xd8),'id':_0x1b126d(0xc2)},{'label':_0x1b126d(0xf8),'id':_0x1b126d(0xda)},{'label':_0x1b126d(0xbb),'id':_0x1b126d(0xfd)}]);}[_0x502ffe(0x102)](){const _0x19583a=_0x502ffe;this[_0x19583a(0xcd)](!0x0);}[_0x502ffe(0xaa)](){const _0x4b8bff=_0x502ffe;super[_0x4b8bff(0xaa)](),this[_0x4b8bff(0xe7)]=this[_0x4b8bff(0xd5)][_0x4b8bff(0xc1)][_0x4b8bff(0xfc)](_0x4b8bff(0xbd)),this[_0x4b8bff(0xc8)]=this[_0x4b8bff(0xd5)][_0x4b8bff(0xc1)][_0x4b8bff(0xfc)](_0x4b8bff(0x105));}[_0x502ffe(0xef)](_0x1283fc,_0x4fe6d5){const _0x4433b8=_0x502ffe;return new _0x3d0cb3(this[_0x4433b8(0xc8)][_0x4433b8(0x10d)](),_0x4fe6d5,this[_0x4433b8(0xea)],_0x41fbd4(this[_0x4433b8(0xd5)][_0x4433b8(0xd3)],_0x4433b8(0x10e)),_0x1283fc[_0x4433b8(0xe9)],_0x1283fc[_0x4433b8(0xf6)]);}[_0x502ffe(0xc5)](_0x8ba009){const _0x2fda8d=_0x502ffe;this[_0x2fda8d(0xe7)][_0x2fda8d(0x103)](_0x8ba009[_0x2fda8d(0xba)]['id']),this[_0x2fda8d(0xc8)][_0x2fda8d(0x10a)](_0x8ba009[_0x2fda8d(0xba)]['id']);}[_0x502ffe(0xad)](){const _0xc123f=_0x502ffe;this[_0xc123f(0xc8)][_0xc123f(0x10f)](),this[_0xc123f(0xe7)][_0xc123f(0xfa)]();}[_0x502ffe(0x10b)](_0x426d96){const _0x228e3e=_0x502ffe;this[_0x228e3e(0xb4)]&&(_0x228e3e(0xe3)===_0x426d96[_0x228e3e(0xb8)]&&(this[_0x228e3e(0xf0)]=_0x228e3e(0xd2),this[_0x228e3e(0xb4)][_0x228e3e(0xf7)](_0x426d96['id'])),_0x228e3e(0xc9)===_0x426d96[_0x228e3e(0xb8)]&&this[_0x228e3e(0xe8)](_0x426d96['id']));}[_0x502ffe(0xf5)](_0x2d3cfb){const _0x2a05b9=_0x502ffe;this[_0x2a05b9(0xb4)]&&_0x2a05b9(0xd2)===_0x2d3cfb[_0x2a05b9(0xd0)]&&this[_0x2a05b9(0xb4)][_0x2a05b9(0xd1)]();}[_0x502ffe(0x10c)](_0x34b2ce,_0x342719){const _0x1f8b8a=_0x502ffe;this[_0x1f8b8a(0xb4)]&&(this[_0x1f8b8a(0xf0)]=_0x1f8b8a(0xf9),this[_0x1f8b8a(0xb4)][_0x1f8b8a(0xf7)](_0x342719[_0x1f8b8a(0xe1)]),this[_0x1f8b8a(0xe8)](_0x342719[_0x1f8b8a(0xe1)]));}[_0x502ffe(0xe0)](_0x358399,_0x5dfe64){const _0x527fd2=_0x502ffe;this[_0x527fd2(0xb4)]&&(this[_0x527fd2(0xf0)]=_0x527fd2(0xf9),this[_0x527fd2(0xb4)][_0x527fd2(0xf7)](_0x5dfe64[_0x527fd2(0xe1)]),this[_0x527fd2(0xc8)][_0x527fd2(0x106)](_0x5dfe64[_0x527fd2(0xe1)]));}[_0x502ffe(0xb6)](){const _0x2047fb=_0x502ffe;this[_0x2047fb(0xb4)]&&_0x2047fb(0xf9)===this[_0x2047fb(0xf0)]&&(this[_0x2047fb(0xb4)][_0x2047fb(0xd1)](),this[_0x2047fb(0xc8)][_0x2047fb(0x10f)]());}[_0x502ffe(0xc7)](_0x290ed1){const _0x3f19c8=_0x502ffe;return this[_0x3f19c8(0xc8)][_0x3f19c8(0xf3)](_0x290ed1);}[_0x502ffe(0xd7)](_0x24121a,_0x3d3dbf){const _0xf909e3=_0x502ffe;this[_0xf909e3(0xc8)][_0xf909e3(0xed)](_0x24121a,_0x3d3dbf);}[_0x502ffe(0xec)](_0x490e17,_0x1cc83c){const _0xd06b82=_0x502ffe;return this[_0xd06b82(0xc8)][_0xd06b82(0xeb)](_0x490e17,_0x1cc83c,!0x0);}[_0x502ffe(0xdd)](){const _0x2ac3a6=_0x502ffe,_0x4aa69b=this[_0x2ac3a6(0xc8)][_0x2ac3a6(0x110)]();_0x4aa69b&&_0x4aa69b[_0x2ac3a6(0xac)][_0x2ac3a6(0xe4)][_0x2ac3a6(0xba)](_0x30a68a=>{const _0x2b6eba=_0x2ac3a6,_0x4c5f0e=_0x4aa69b[_0x2b6eba(0xac)][_0x2b6eba(0xe4)][_0x2b6eba(0xc4)][_0x2b6eba(0xf2)]();for(const _0x5417f8 of _0x4c5f0e[_0x2b6eba(0x101)]())(_0x5417f8[_0x2b6eba(0xe5)](_0x2b6eba(0xb3))||_0x2b6eba(0xfb)===_0x5417f8)&&_0x30a68a[_0x2b6eba(0xe2)](_0x5417f8,_0x4c5f0e);_0x30a68a[_0x2b6eba(0xc3)](_0x2b6eba(0xdb),_0x4c5f0e);});}async[_0x502ffe(0xc6)](){const _0x2473c0=_0x502ffe,_0x3f4a9d=[],_0x1e8cb4=this[_0x2473c0(0xd5)][_0x2473c0(0xbf)][_0x2473c0(0xfc)](_0x2473c0(0xd9))||[];for(const _0x58d901 of _0x1e8cb4)_0x3f4a9d[_0x2473c0(0x107)]({'title':_0x58d901[_0x2473c0(0xca)],'id':_0x58d901['id'],'commandId':_0x58d901['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x58d901['id']}});const _0x9456e1=new _0x174290();return _0x9456e1[_0x2473c0(0xa9)](this[_0x2473c0(0xb5)](_0x3f4a9d)),_0x9456e1;}[_0x502ffe(0xb5)](_0x5afc37){const _0x2edabc=_0x502ffe;return _0x5afc37[_0x2edabc(0x112)](_0x5ef267=>{const _0x42fee4=_0x2edabc,_0x3d8773=_0x42fee4(0x104)+_0x5ef267[_0x42fee4(0xb2)][_0x42fee4(0xab)]()[_0x42fee4(0xf1)]('-','_');return{..._0x5ef267,'title':this[_0x42fee4(0xdc)](_0x3d8773,_0x5ef267[_0x42fee4(0xb2)])};});}}function _0x49d7(){const _0x44ef2b=['1186xwhVKP','_markChangePositionInEditorContent','Portuguese','ai.translate.languages','korean','ck-ai-translate-mode-content','_getTranslationWithDefault','_onReviewCheckRun','French','569304pjxeGg','_onChangeMarkerHovered','changeId','removeClass','hover','view','startsWith','8743320WTmjET','_aiReviewCoreUi','_scrollToChange','params','_aiConnector','diffContent','_diffContent','markChangePositionInEditorContent','1970zJCXYQ','_createReviewCheckRun','_changeActivationSource','replaceAll','getRoot','getContentElementForChange','spanish','_onDeactivateChange','args','activateChange','Korean','content','resetActiveStateInResults','ck-ai-translate-','get','italian','20116FgtXvU','japanese','Chinese\x20(Simplified)','getClassNames','_onCheckRunFinished','setActiveStateInResults','AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_','AIReviewCoreEditing','reactivateMarkers','push','2984530lgavLw','14YUdELf','setMarkersInElementAsActive','_onActivateChange','_onChangeMarkerClicked','getDocumentData','AI_REVIEW_CHECK_TRANSLATE_TITLE','setAllMarkersAsInactive','getEditor','German','map','setupChecks','_initRequiredPlugins','toUpperCase','editing','_onReviewCheckResultDeactivated','german','Russian','English','english','title','ck-ai-review-','_currentReviewCheckRun','_translateChecks','_onChangeMarkerBlurred','define','uiInteraction','pluginName','change','Italian','french','AITranslateUI','chinese','config','8779752fapRwP','plugins','portuguese','addClass','document','_onReviewCheckResultActivated','_getChecksList','_getChangeContentElement','_aiReviewCoreEditing','click','label','russian','240603tYziuu','_onReviewRunLeave','Spanish','Japanese','origin','deactivateChange','panel','locale','AITranslateController','context'];_0x49d7=function(){return _0x44ef2b;};return _0x49d7();}
|