@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.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.d.ts +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
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2bead4=_0x5b2b;(function(_0x12de17,_0x15cfcb){const _0x37d6c3=_0x5b2b,_0x497e18=_0x12de17();while(!![]){try{const _0x41c0b2=-parseInt(_0x37d6c3(0x91))/0x1*(-parseInt(_0x37d6c3(0x9a))/0x2)+parseInt(_0x37d6c3(0xa4))/0x3+-parseInt(_0x37d6c3(0x8a))/0x4+parseInt(_0x37d6c3(0x9c))/0x5*(-parseInt(_0x37d6c3(0xad))/0x6)+-parseInt(_0x37d6c3(0xab))/0x7+-parseInt(_0x37d6c3(0x8b))/0x8*(parseInt(_0x37d6c3(0xa6))/0x9)+parseInt(_0x37d6c3(0xaf))/0xa;if(_0x41c0b2===_0x15cfcb)break;else _0x497e18['push'](_0x497e18['shift']());}catch(_0x3375de){_0x497e18['push'](_0x497e18['shift']());}}}(_0x3838,0xa2a08));import{ContextPlugin as _0x59c155,Editor as _0x3ad7a2}from'ckeditor5/src/core.js';function _0x3838(){const _0x277140=['isMaximized','switchType','custom','2839996hOMJzY','96EeyjtC','ai-tabs-unsupported-ui-side','ai-tabs-configuration-not-found','render','type','switchSide','5tjHZnY','side','set','context','isOfficialPlugin','ai.container','config','AITabs','resizedTabs','305006jVpawy','remove','4785YKEdoY','element','right','locale','add','get','bind','showResizeButton','3777708nDFkIF','visibleByDefault','162873PTdJLu','destroy','includes','ai-tabs-sidebar-container-element-not-found','ai-tabs-unsupported-ui-type','8549149IqOTwX','pluginName','2154wOcXQt','view','11364020dBXJhZ','appendChild','sidebar','overlay','resize','isPremiumPlugin','focusTracker','body','container','fire'];_0x3838=function(){return _0x277140;};return _0x3838();}function _0x5b2b(_0x3a4c56,_0xf183d1){const _0x38386f=_0x3838();return _0x5b2b=function(_0x5b2bdf,_0x3888b7){_0x5b2bdf=_0x5b2bdf-0x82;let _0x3ce041=_0x38386f[_0x5b2bdf];return _0x3ce041;},_0x5b2b(_0x3a4c56,_0xf183d1);}import{CKEditorError as _0x5cbae3}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x3283eb,AI_TABS_VIEW_SIDES as _0x11ec62,AI_TABS_VIEW_TYPES as _0x430e90}from'./aitabsmainview.js';export class AITabs extends _0x59c155{[_0x2bead4(0xae)];[_0x2bead4(0x85)]=null;[_0x2bead4(0xa3)]=!0x0;static get[_0x2bead4(0xac)](){const _0x9a32f1=_0x2bead4;return _0x9a32f1(0x98);}static get[_0x2bead4(0x95)](){return!0x0;}static get[_0x2bead4(0x82)](){return!0x0;}constructor(_0x1a29b2){const _0x133d6e=_0x2bead4;super(_0x1a29b2);const _0x900bdf=this[_0x133d6e(0x94)][_0x133d6e(0x97)][_0x133d6e(0xa1)](_0x133d6e(0x96));if(this[_0x133d6e(0x93)](_0x133d6e(0x92),_0x133d6e(0x9e)),!_0x900bdf)throw new _0x5cbae3(_0x133d6e(0x8d));if(void 0x0!==_0x900bdf[_0x133d6e(0xa3)]&&(this[_0x133d6e(0xa3)]=_0x900bdf[_0x133d6e(0xa3)]),_0x133d6e(0xb1)!==_0x900bdf[_0x133d6e(0x8f)]&&_0x133d6e(0xb2)!==_0x900bdf[_0x133d6e(0x8f)]||_0x900bdf[_0x133d6e(0x92)]&&(this[_0x133d6e(0x92)]=_0x900bdf[_0x133d6e(0x92)]),_0x133d6e(0xb1)===_0x900bdf[_0x133d6e(0x8f)]){if(this[_0x133d6e(0x85)]=_0x900bdf[_0x133d6e(0x9d)],this[_0x133d6e(0x93)](_0x133d6e(0x8f),_0x133d6e(0xb1)),!this[_0x133d6e(0x85)])throw new _0x5cbae3(_0x133d6e(0xa9));}else _0x133d6e(0xb2)===_0x900bdf[_0x133d6e(0x8f)]?(this[_0x133d6e(0x85)]=document[_0x133d6e(0x84)],this[_0x133d6e(0x93)](_0x133d6e(0x8f),_0x133d6e(0xb2))):(this[_0x133d6e(0x85)]=null,this[_0x133d6e(0x93)](_0x133d6e(0x8f),_0x133d6e(0x89)));this[_0x133d6e(0xae)]=new _0x3283eb(this[_0x133d6e(0x94)][_0x133d6e(0x9f)],{'side':this[_0x133d6e(0x92)],'type':this[_0x133d6e(0x8f)],'visibleByDefault':void 0x0===_0x900bdf[_0x133d6e(0xa5)]||_0x900bdf[_0x133d6e(0xa5)]}),this[_0x133d6e(0xae)][_0x133d6e(0x8e)](),this[_0x133d6e(0xae)][_0x133d6e(0xa2)](_0x133d6e(0x92))['to'](this,_0x133d6e(0x92)),this[_0x133d6e(0xae)][_0x133d6e(0xa2)](_0x133d6e(0x8f))['to'](this,_0x133d6e(0x8f)),this[_0x133d6e(0x85)]&&this[_0x133d6e(0x85)][_0x133d6e(0xb0)](this[_0x133d6e(0xae)][_0x133d6e(0x9d)]),this[_0x133d6e(0x94)]instanceof _0x3ad7a2&&this[_0x133d6e(0x94)]['ui'][_0x133d6e(0x83)][_0x133d6e(0xa0)](this[_0x133d6e(0xae)][_0x133d6e(0x9d)]);}[_0x2bead4(0x88)](_0x45e5d5){const _0x3c29c9=_0x2bead4;if(_0x45e5d5&&this[_0x3c29c9(0x8f)]!==_0x45e5d5){if(!_0x430e90[_0x3c29c9(0xa8)](_0x45e5d5))throw new _0x5cbae3(_0x3c29c9(0xaa));this[_0x3c29c9(0x8f)]=_0x45e5d5;}}[_0x2bead4(0x90)](_0x4954dd){const _0x66ec52=_0x2bead4;if(_0x4954dd&&this[_0x66ec52(0x92)]!==_0x4954dd){if(!_0x11ec62[_0x66ec52(0xa8)](_0x4954dd))throw new _0x5cbae3(_0x66ec52(0x8c));this[_0x66ec52(0x92)]=_0x4954dd;}}[_0x2bead4(0xb3)](){const _0x228d55=_0x2bead4;this[_0x228d55(0xae)][_0x228d55(0x87)]=!this[_0x228d55(0xae)][_0x228d55(0x87)],this[_0x228d55(0x86)](_0x228d55(0x99),this[_0x228d55(0xae)][_0x228d55(0x87)]);}[_0x2bead4(0xa7)](){const _0x5f05d9=_0x2bead4;super[_0x5f05d9(0xa7)](),this[_0x5f05d9(0xae)][_0x5f05d9(0xa7)](),this[_0x5f05d9(0xae)][_0x5f05d9(0x9d)]&&this[_0x5f05d9(0xae)][_0x5f05d9(0x9d)][_0x5f05d9(0x9b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1454ed=_0x186f;(function(_0x22f3f0,_0x247db1){const _0x40f3c4=_0x186f,_0x50684a=_0x22f3f0();while(!![]){try{const _0x5a8f8e=parseInt(_0x40f3c4(0x172))/0x1*(-parseInt(_0x40f3c4(0x17b))/0x2)+-parseInt(_0x40f3c4(0x16d))/0x3+-parseInt(_0x40f3c4(0x163))/0x4+parseInt(_0x40f3c4(0x16c))/0x5+parseInt(_0x40f3c4(0x179))/0x6*(-parseInt(_0x40f3c4(0x16f))/0x7)+parseInt(_0x40f3c4(0x162))/0x8*(-parseInt(_0x40f3c4(0x161))/0x9)+parseInt(_0x40f3c4(0x16b))/0xa;if(_0x5a8f8e===_0x247db1)break;else _0x50684a['push'](_0x50684a['shift']());}catch(_0x53edba){_0x50684a['push'](_0x50684a['shift']());}}}(_0x1f76,0x3542b));import{AITabsView as _0x2adbeb}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x1454ed(0x168),_0x1454ed(0x173),_0x1454ed(0x16a)];export const AI_TABS_VIEW_SIDES=[_0x1454ed(0x171),_0x1454ed(0x16e)];export class AITabsMainView extends _0x2adbeb{constructor(_0x3dd18a,_0x2a7cb5={}){const _0x4f79e6=_0x1454ed;super(_0x3dd18a,_0x2a7cb5),this[_0x4f79e6(0x177)](_0x4f79e6(0x166),_0x2a7cb5[_0x4f79e6(0x166)]||_0x4f79e6(0x173)),this[_0x4f79e6(0x177)](_0x4f79e6(0x170),_0x2a7cb5[_0x4f79e6(0x170)]||_0x4f79e6(0x16e)),this[_0x4f79e6(0x177)](_0x4f79e6(0x15f),_0x2a7cb5[_0x4f79e6(0x174)]??!0x0);const _0x1eb2fc=this[_0x4f79e6(0x169)];this[_0x4f79e6(0x176)]({'attributes':{'class':[_0x4f79e6(0x175),_0x1eb2fc['if'](_0x4f79e6(0x166),_0x4f79e6(0x165),_0x253f12=>_0x4f79e6(0x168)===_0x253f12),_0x1eb2fc['if'](_0x4f79e6(0x166),_0x4f79e6(0x160),_0x4f2d7c=>_0x4f79e6(0x173)===_0x4f2d7c),_0x1eb2fc['if'](_0x4f79e6(0x15f),_0x4f79e6(0x167),_0x52b1e7=>!_0x52b1e7)]}}),this[_0x4f79e6(0x178)]['on'](_0x4f79e6(0x164),(_0x460b3a,_0x3be5a1)=>{const _0x14303d=_0x4f79e6;_0x3be5a1[_0x14303d(0x177)](_0x14303d(0x17a),!0x1);});}}function _0x186f(_0x8f101b,_0x369303){const _0x1f76bc=_0x1f76();return _0x186f=function(_0x186fda,_0xfda730){_0x186fda=_0x186fda-0x15f;let _0x4b6193=_0x1f76bc[_0x186fda];return _0x4b6193;},_0x186f(_0x8f101b,_0x369303);}function _0x1f76(){const _0x450e70=['extendTemplate','set','buttonViews','906SsViJa','withText','140muJsJV','isVisible','ck-ai-tabs__sidebar','108XGbMlX','212416ZUmFir','221920IVTjoc','add','ck-ai-tabs__overlay','type','ck-hidden','overlay','bindTemplate','custom','9175980uUPMOX','947085PlOaAP','346251QWrbdj','right','7343MCjhBj','side','left','3442QeXAyT','sidebar','visibleByDefault','ck-ai-tabs'];_0x1f76=function(){return _0x450e70;};return _0x1f76();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36c56b=_0xffb5;(function(_0x587728,_0x29ed62){const _0x3493de=_0xffb5,_0x24e305=_0x587728();while(!![]){try{const _0x1570c0=parseInt(_0x3493de(0x1ed))/0x1+-parseInt(_0x3493de(0x1b1))/0x2+parseInt(_0x3493de(0x1ba))/0x3*(parseInt(_0x3493de(0x1a4))/0x4)+-parseInt(_0x3493de(0x1d4))/0x5*(parseInt(_0x3493de(0x1d9))/0x6)+-parseInt(_0x3493de(0x1d2))/0x7+-parseInt(_0x3493de(0x1d7))/0x8*(parseInt(_0x3493de(0x1c5))/0x9)+-parseInt(_0x3493de(0x1bf))/0xa*(-parseInt(_0x3493de(0x1e4))/0xb);if(_0x1570c0===_0x29ed62)break;else _0x24e305['push'](_0x24e305['shift']());}catch(_0x13064f){_0x24e305['push'](_0x24e305['shift']());}}}(_0x24c0,0xb441d));function _0xffb5(_0x3c63d6,_0x2e13da){const _0x24c00a=_0x24c0();return _0xffb5=function(_0xffb543,_0x16c17e){_0xffb543=_0xffb543-0x1a1;let _0x584bad=_0x24c00a[_0xffb543];return _0x584bad;},_0xffb5(_0x3c63d6,_0x2e13da);}function _0x24c0(){const _0x3d8d47=['right','2395398gpnOfU','show','keys','buttonLabel','showTab','_setupButton','ck-tabs__panels-container','hide','set','hideTab','order','2940652nZrGqQ','side','bind','setTemplate','getTab','ck-ai-tabs_maximized','isVisible','addTab:','add','947824SCkbOF','activateTab','panel','ck-reset','935516MYHbME','left','_getButton','locale','content','find','get','show:','addTab','_hideButton','top','ck-tabs__buttons-container','children','403574HmNnWL','createCollection','length','ui-tabsview-tab-not-found','ck-tabs_','div','render','getTabIds','execute','3KOneWC','button','activateTab:','class','_tabs','90luAWxk','_getPanel','bindTemplate','label','ck-tabs','ck-tabs__buttons-container_','4124835yLNBuO','ck-tabs__panels-container_','reduce','buttonIcon','getIndex','_showPanel','hide:','panelViews','_showButton','activeTab','fire','_hidePanel','isMaximized','6940899OeOKsz','buttonViews','15NNMOCB','icon','isOn','8nWBPJV'];_0x24c0=function(){return _0x3d8d47;};return _0x24c0();}import{View as _0x345f0e}from'ckeditor5/src/ui.js';import{toArray as _0x1c1b44,CKEditorError as _0x9d522f}from'ckeditor5/src/utils.js';import{TabButtonView as _0x211100}from'./tabbuttonview.js';import{TabPanelView as _0x1e7b83}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x36c56b(0x1ae),_0x36c56b(0x1a5),_0x36c56b(0x1d8)];export class AITabsView extends _0x345f0e{[_0x36c56b(0x1d3)]=this[_0x36c56b(0x1b2)]();[_0x36c56b(0x1cc)]=this[_0x36c56b(0x1b2)]();[_0x36c56b(0x1be)]=new Map();constructor(_0x5f2a89,_0x203cd6={}){const _0x2c239b=_0x36c56b;super(_0x5f2a89),this[_0x2c239b(0x1e1)](_0x2c239b(0x1bd),void 0x0),this[_0x2c239b(0x1e1)](_0x2c239b(0x1ce),null),this[_0x2c239b(0x1e1)](_0x2c239b(0x1e5),_0x203cd6[_0x2c239b(0x1e5)]||_0x2c239b(0x1ae)),this[_0x2c239b(0x1e1)](_0x2c239b(0x1d1),!0x1);const _0x4b8f4a=this[_0x2c239b(0x1c1)];this[_0x2c239b(0x1e7)]({'tag':_0x2c239b(0x1b6),'attributes':{'class':['ck',_0x2c239b(0x1a3),_0x2c239b(0x1c3),..._0x1c1b44(_0x203cd6[_0x2c239b(0x1bd)]||[]),_0x4b8f4a['to'](_0x2c239b(0x1e5),_0x1dc30e=>_0x2c239b(0x1b5)+_0x1dc30e),_0x4b8f4a['to'](_0x2c239b(0x1bd)),_0x4b8f4a['to'](_0x2c239b(0x1d1),_0x337d1d=>_0x337d1d?_0x2c239b(0x1e9):'')],'tabindex':'0'},'children':[{'tag':_0x2c239b(0x1b6),'attributes':{'class':['ck',_0x2c239b(0x1af),_0x4b8f4a['to'](_0x2c239b(0x1e5),_0x4eb5c4=>_0x2c239b(0x1c4)+_0x4eb5c4)]},'children':this[_0x2c239b(0x1d3)]},{'tag':_0x2c239b(0x1b6),'attributes':{'class':['ck',_0x2c239b(0x1df),_0x4b8f4a['to'](_0x2c239b(0x1e5),_0xa9b8af=>_0x2c239b(0x1c6)+_0xa9b8af)]},'children':this[_0x2c239b(0x1cc)]},..._0x1c1b44(_0x203cd6[_0x2c239b(0x1b0)]||[])]});}[_0x36c56b(0x1b8)](){const _0x3b670c=_0x36c56b;return[...this[_0x3b670c(0x1be)][_0x3b670c(0x1db)]()];}[_0x36c56b(0x1e8)](_0x4bed4b){const _0x84893c=_0x36c56b,_0x3678d8=this[_0x84893c(0x1be)][_0x84893c(0x1aa)](_0x4bed4b);return _0x3678d8||null;}[_0x36c56b(0x1ac)](_0x9e5e93){const _0x5da131=_0x36c56b,_0x2e626f=this[_0x5da131(0x1de)]({'id':_0x9e5e93['id'],'label':_0x9e5e93[_0x5da131(0x1dc)],'icon':_0x9e5e93[_0x5da131(0x1c8)],'order':_0x9e5e93[_0x5da131(0x1e3)]}),_0x4a5f43=new _0x1e7b83(this[_0x5da131(0x1a7)]);return _0x4a5f43[_0x5da131(0x1b7)](),_0x9e5e93[_0x5da131(0x1a8)]&&_0x4a5f43[_0x5da131(0x1b0)][_0x5da131(0x1ec)](_0x9e5e93[_0x5da131(0x1a8)]),this[_0x5da131(0x1cc)][_0x5da131(0x1ec)](_0x4a5f43),this[_0x5da131(0x1be)][_0x5da131(0x1e1)](_0x9e5e93['id'],{'button':_0x2e626f,'panel':_0x4a5f43,'order':void 0x0!==_0x9e5e93[_0x5da131(0x1e3)]?_0x9e5e93[_0x5da131(0x1e3)]:null}),this[_0x5da131(0x1cf)](_0x5da131(0x1eb)+_0x9e5e93['id'],{'id':_0x9e5e93['id'],'button':_0x2e626f,'panel':_0x4a5f43}),null===this[_0x5da131(0x1ce)]?this[_0x5da131(0x1a1)](_0x9e5e93['id']):this[_0x5da131(0x1d0)](_0x9e5e93['id']),{'button':_0x2e626f,'panel':_0x4a5f43};}[_0x36c56b(0x1a1)](_0x390697){const _0x217338=_0x36c56b;if(null!==_0x390697&&!this[_0x217338(0x1e8)](_0x390697))throw new _0x9d522f(_0x217338(0x1b4),{'tabs':this,'tabId':_0x390697});this[_0x217338(0x1ce)]!==_0x390697&&(this[_0x217338(0x1ce)]&&this[_0x217338(0x1d0)](this[_0x217338(0x1ce)]),this[_0x217338(0x1ce)]=_0x390697,_0x390697&&this[_0x217338(0x1ca)](_0x390697),this[_0x217338(0x1cf)](_0x217338(0x1bc)+_0x390697,_0x390697));}[_0x36c56b(0x1dd)](_0x198693){const _0x385a09=_0x36c56b;if(!this[_0x385a09(0x1e8)](_0x198693))throw new _0x9d522f(_0x385a09(0x1b4),{'tabs':this,'tabId':_0x198693});this[_0x385a09(0x1ca)](_0x198693),this[_0x385a09(0x1cd)](_0x198693),this[_0x385a09(0x1cf)](_0x385a09(0x1ab)+_0x198693,_0x198693);}[_0x36c56b(0x1e2)](_0x155a0c){const _0x5a2d6d=_0x36c56b;if(!this[_0x5a2d6d(0x1e8)](_0x155a0c))throw new _0x9d522f(_0x5a2d6d(0x1b4),{'tabs':this,'tabId':_0x155a0c});const _0x3e4c37=this[_0x5a2d6d(0x1ce)];this[_0x5a2d6d(0x1d0)](_0x155a0c),this[_0x5a2d6d(0x1ad)](_0x155a0c);const _0x1b02ca=this[_0x5a2d6d(0x1b8)]();_0x3e4c37===_0x155a0c&&_0x1b02ca[_0x5a2d6d(0x1b3)]>0x1&&this[_0x5a2d6d(0x1a1)](_0x1b02ca[_0x5a2d6d(0x1a9)](_0x345179=>_0x345179!==_0x155a0c)),this[_0x5a2d6d(0x1cf)](_0x5a2d6d(0x1cb)+_0x155a0c,_0x155a0c);}[_0x36c56b(0x1c0)](_0x1e9d49){const _0x3322d7=_0x36c56b,_0x3c764f=this[_0x3322d7(0x1be)][_0x3322d7(0x1aa)](_0x1e9d49);return _0x3c764f?_0x3c764f[_0x3322d7(0x1a2)]:null;}[_0x36c56b(0x1ca)](_0x399e96){const _0x35a53a=_0x36c56b;null!==this[_0x35a53a(0x1ce)]&&this[_0x35a53a(0x1ce)]!==_0x399e96||this[_0x35a53a(0x1c0)](_0x399e96)[_0x35a53a(0x1da)]();}[_0x36c56b(0x1d0)](_0x2c8c75){const _0x243af0=_0x36c56b,_0x1d3662=this[_0x243af0(0x1c0)](_0x2c8c75);_0x1d3662[_0x243af0(0x1ea)]&&(this[_0x243af0(0x1ce)]===_0x2c8c75&&(this[_0x243af0(0x1ce)]=null),_0x1d3662[_0x243af0(0x1e0)]());}[_0x36c56b(0x1a6)](_0x40ed5a){const _0x423d96=_0x36c56b,_0x22c8bd=this[_0x423d96(0x1be)][_0x423d96(0x1aa)](_0x40ed5a);return _0x22c8bd?_0x22c8bd[_0x423d96(0x1bb)]:null;}[_0x36c56b(0x1cd)](_0x47a9a4){const _0x52a162=_0x36c56b;this[_0x52a162(0x1a6)](_0x47a9a4)[_0x52a162(0x1da)]();}[_0x36c56b(0x1ad)](_0x3939ca){const _0x5df6f2=_0x36c56b;this[_0x5df6f2(0x1a6)](_0x3939ca)[_0x5df6f2(0x1e0)]();}[_0x36c56b(0x1de)](_0x29e1e7){const _0x7c666=_0x36c56b,_0x30f71d=new _0x211100(this[_0x7c666(0x1a7)],{'side':this[_0x7c666(0x1e5)]}),_0x18592c=this[_0x7c666(0x1d3)];if(_0x30f71d[_0x7c666(0x1e1)]({'label':_0x29e1e7[_0x7c666(0x1c2)],'icon':_0x29e1e7[_0x7c666(0x1d5)],'tooltip':!0x0,'withText':!0x0}),_0x30f71d[_0x7c666(0x1e6)](_0x7c666(0x1d6))['to'](this,_0x7c666(0x1ce),_0x20d491=>_0x20d491===_0x29e1e7['id']),_0x30f71d[_0x7c666(0x1e6)](_0x7c666(0x1e5))['to'](this,_0x7c666(0x1e5)),_0x29e1e7[_0x7c666(0x1e3)]){const _0x20968a=[...this[_0x7c666(0x1be)]][_0x7c666(0x1c7)]((_0x1e2184,_0x3c053d)=>{const _0x1dde8a=_0x7c666,_0x4f6411=_0x3c053d[0x0],{order:_0x3d0d01}=_0x3c053d[0x1];return!_0x3d0d01||_0x3d0d01>_0x29e1e7[_0x1dde8a(0x1e3)]?_0x1e2184:_0x3d0d01>=_0x1e2184[_0x1dde8a(0x1e3)]?{'id':_0x4f6411,'order':_0x3d0d01}:_0x1e2184;},{'id':'','order':0x0}),_0x2e29ff=_0x18592c[_0x7c666(0x1c9)](this[_0x7c666(0x1a6)](_0x20968a['id']));_0x18592c[_0x7c666(0x1ec)](_0x30f71d,_0x2e29ff+0x1);}else _0x18592c[_0x7c666(0x1ec)](_0x30f71d);return _0x30f71d['on'](_0x7c666(0x1b9),()=>{const _0x234741=_0x7c666;this[_0x234741(0x1a1)](_0x29e1e7['id']);}),_0x30f71d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x89211e=_0x41d4;(function(_0x1de7e5,_0x1414d3){const _0x25aed3=_0x41d4,_0x38b7f3=_0x1de7e5();while(!![]){try{const _0x354c4c=parseInt(_0x25aed3(0xfd))/0x1+-parseInt(_0x25aed3(0xf2))/0x2+-parseInt(_0x25aed3(0xef))/0x3+-parseInt(_0x25aed3(0x101))/0x4+parseInt(_0x25aed3(0xfc))/0x5*(parseInt(_0x25aed3(0xff))/0x6)+parseInt(_0x25aed3(0xf4))/0x7+parseInt(_0x25aed3(0xf6))/0x8*(parseInt(_0x25aed3(0xfe))/0x9);if(_0x354c4c===_0x1414d3)break;else _0x38b7f3['push'](_0x38b7f3['shift']());}catch(_0x44fae5){_0x38b7f3['push'](_0x38b7f3['shift']());}}}(_0x209f,0xb684c));import{ButtonView as _0x1a28c4}from'ckeditor5/src/ui.js';import{toArray as _0x5ca09a}from'ckeditor5/src/utils.js';function _0x41d4(_0x50c07c,_0x31e969){const _0x209fb4=_0x209f();return _0x41d4=function(_0x41d4b8,_0x4a530d){_0x41d4b8=_0x41d4b8-0xed;let _0x1724db=_0x209fb4[_0x41d4b8];return _0x1724db;},_0x41d4(_0x50c07c,_0x31e969);}import'../../../theme/aitabs/tabs/tabbuttonview.css';function _0x209f(){const _0x57d2e9=['4093854JsLrnr','ck-tab-button','2075440WcTlbs','bindTemplate','extendTemplate','1139178vThLUV','show','isToggleable','2947200nKMOUO','top','10130050KElheh','set','402856VSUiMy','class','ck-tab-button_','hide','isVisible','side','5mBDdUa','33540OSjFFG','171kSpyTI'];_0x209f=function(){return _0x57d2e9;};return _0x209f();}export class TabButtonView extends _0x1a28c4{constructor(_0x1acc83,_0x3d8f05={}){const _0x3830e0=_0x41d4;super(_0x1acc83),this[_0x3830e0(0xf1)]=!0x0,this[_0x3830e0(0xf5)](_0x3830e0(0xfb),_0x3d8f05[_0x3830e0(0xfb)]||_0x3830e0(0xf3));const _0x1323ba=this[_0x3830e0(0xed)];this[_0x3830e0(0xee)]({'attributes':{'class':[_0x3830e0(0x100),..._0x5ca09a(_0x3d8f05[_0x3830e0(0xf7)]||[]),_0x1323ba['to'](_0x3830e0(0xfb),_0x38f925=>_0x3830e0(0xf8)+_0x38f925),_0x1323ba['to'](_0x3830e0(0xf7))]}});}[_0x89211e(0xf0)](){const _0xe057b2=_0x89211e;this[_0xe057b2(0xf5)](_0xe057b2(0xfa),!0x0);}[_0x89211e(0xf9)](){const _0x12da5f=_0x89211e;this[_0x12da5f(0xf5)](_0x12da5f(0xfa),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1ead(_0x3f65bd,_0x49f018){const _0x2e9a71=_0x2e9a();return _0x1ead=function(_0x1eadaa,_0x5c9440){_0x1eadaa=_0x1eadaa-0x9a;let _0x3f644f=_0x2e9a71[_0x1eadaa];return _0x3f644f;},_0x1ead(_0x3f65bd,_0x49f018);}function _0x2e9a(){const _0x59dc54=['set','children','class','createCollection','1466610VblQYv','setTemplate','div','704159OzRqas','hide','isVisible','ck-tab-panel','270632SDrzkd','189sfMJns','1936318eqkWHQ','1488380SDjyIU','bindTemplate','show','ck-hidden','10444ZwJoWg','830KqRWYY','217Xsdjyp','1569804gxUomU'];_0x2e9a=function(){return _0x59dc54;};return _0x2e9a();}const _0x27cc1d=_0x1ead;(function(_0x3932f4,_0x47cbf5){const _0x34952e=_0x1ead,_0x4c69da=_0x3932f4();while(!![]){try{const _0x3ab067=-parseInt(_0x34952e(0x9d))/0x1+-parseInt(_0x34952e(0xa3))/0x2+-parseInt(_0x34952e(0x9a))/0x3+-parseInt(_0x34952e(0xa8))/0x4*(-parseInt(_0x34952e(0xa9))/0x5)+parseInt(_0x34952e(0xab))/0x6+-parseInt(_0x34952e(0xaa))/0x7*(parseInt(_0x34952e(0xa1))/0x8)+-parseInt(_0x34952e(0xa2))/0x9*(-parseInt(_0x34952e(0xa4))/0xa);if(_0x3ab067===_0x47cbf5)break;else _0x4c69da['push'](_0x4c69da['shift']());}catch(_0x2fc2d3){_0x4c69da['push'](_0x4c69da['shift']());}}}(_0x2e9a,0x951d3));import{View as _0x2bb87}from'ckeditor5/src/ui.js';import{toArray as _0x1e9ab5}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x2bb87{[_0x27cc1d(0xad)];constructor(_0x521a96,_0x5d0037={}){const _0x292427=_0x27cc1d;super(_0x521a96);const _0xb46bab=this[_0x292427(0xa5)];this[_0x292427(0xac)](_0x292427(0x9f),!0x1),this[_0x292427(0xac)](_0x292427(0xae),''),this[_0x292427(0xad)]=this[_0x292427(0xaf)](),this[_0x292427(0x9b)]({'tag':_0x292427(0x9c),'attributes':{'class':[_0x292427(0xa0),..._0x1e9ab5(_0x5d0037[_0x292427(0xae)]||[]),_0xb46bab['to'](_0x292427(0xae)),_0xb46bab['if'](_0x292427(0x9f),_0x292427(0xa7),_0x37409f=>!_0x37409f)]},'children':this[_0x292427(0xad)]});}[_0x27cc1d(0xa6)](){const _0x4c2af2=_0x27cc1d;this[_0x4c2af2(0xac)](_0x4c2af2(0x9f),!0x0);}[_0x27cc1d(0x9e)](){const _0x40fa22=_0x27cc1d;this[_0x40fa22(0xac)](_0x40fa22(0x9f),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x380348=_0x394f;(function(_0x2b73d7,_0x5573a5){var _0x5c9a51=_0x394f,_0x1be786=_0x2b73d7();while(!![]){try{var _0x5895cf=parseInt(_0x5c9a51(0x150))/0x1+-parseInt(_0x5c9a51(0x146))/0x2+parseInt(_0x5c9a51(0x14b))/0x3+-parseInt(_0x5c9a51(0x147))/0x4+parseInt(_0x5c9a51(0x14c))/0x5*(-parseInt(_0x5c9a51(0x14e))/0x6)+-parseInt(_0x5c9a51(0x14d))/0x7+parseInt(_0x5c9a51(0x148))/0x8;if(_0x5895cf===_0x5573a5)break;else _0x1be786['push'](_0x1be786['shift']());}catch(_0x9e491f){_0x1be786['push'](_0x1be786['shift']());}}}(_0x5819,0x28b5c));import{ContextPlugin as _0x534281}from'ckeditor5/src/core.js';function _0x5819(){var _0x3872ea=['6RISXbU','pluginName','230432euXTeb','isOfficialPlugin','AITranslate','57270IBYdPM','1177408lUABKY','2571560rlMUrd','requires','isPremiumPlugin','965256fuDMlz','1349510jXcUPi','797944kQjvFt'];_0x5819=function(){return _0x3872ea;};return _0x5819();}function _0x394f(_0x449082,_0x191e06){var _0x581947=_0x5819();return _0x394f=function(_0x394f9e,_0x46a587){_0x394f9e=_0x394f9e-0x144;var _0x3e270e=_0x581947[_0x394f9e];return _0x3e270e;},_0x394f(_0x449082,_0x191e06);}import{AITranslateController as _0xb0133d}from'./aitranslatecontroller.js';import{AITranslateUI as _0x15a527}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x5deb63}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x534281{static get[_0x380348(0x149)](){return[_0xb0133d,_0x15a527,_0x5deb63];}static get[_0x380348(0x14f)](){var _0x508aa7=_0x380348;return _0x508aa7(0x145);}static get[_0x380348(0x144)](){return!0x0;}static get[_0x380348(0x14a)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3e5b(_0x573ca6,_0x43c29b){const _0x17cfc1=_0x17cf();return _0x3e5b=function(_0x3e5b59,_0x5e4669){_0x3e5b59=_0x3e5b59-0x17b;let _0x45162c=_0x17cfc1[_0x3e5b59];return _0x45162c;},_0x3e5b(_0x573ca6,_0x43c29b);}function _0x17cf(){const _0x390a16=['ck-ai-review-','_aiReviewCoreEditing','reactivateMarkers','_aiReviewCoreUi','define','English','402675varwKM','924JBUHFW','german','changeId','Italian','Chinese\x20(Simplified)','getContentElementForChange','hover','_changeActivationSource','view','toUpperCase','push','ai.translate.languages','activateChange','startsWith','_onReviewCheckResultDeactivated','english','_onChangeMarkerBlurred','_aiConnector','getEditor','1629595LFUrjn','config','_currentReviewCheckRun','_onChangeMarkerClicked','_onReviewCheckResultActivated','_markChangePositionInEditorContent','change','Spanish','context','_getChecksList','153160wYLBgD','51805Gohojc','_onChangeMarkerHovered','args','setAllMarkersAsInactive','markChangePositionInEditorContent','Korean','ck-ai-translate-mode-content','map','korean','_onReviewCheckRun','origin','27505jsdcmu','_onReviewRunLeave','AI_REVIEW_CHECK_TRANSLATE_TITLE','spanish','_getChangeContentElement','locale','setupChecks','_scrollToChange','panel','setActiveStateInResults','setMarkersInElementAsActive','92AhyohN','params','replaceAll','get','getDocumentData','japanese','_initRequiredPlugins','AITranslateController','pluginName','_getTranslationWithDefault','12NlNvkW','italian','_translateChecks','_onActivateChange','Russian','deactivateChange','getRoot','content','French','title','_onDeactivateChange','1953QWUUkp','3634308NBYUuV','_createReviewCheckRun','AIReviewCoreEditing','_onCheckRunFinished','diffContent','click','AITranslateUI','portuguese','label','russian','resetActiveStateInResults','German','editing','plugins','uiInteraction','getClassNames','document','_diffContent','Japanese','french','chinese','AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_','removeClass','30vEuEMV','ck-ai-translate-','Portuguese','addClass'];_0x17cf=function(){return _0x390a16;};return _0x17cf();}const _0x1799e0=_0x3e5b;(function(_0x1f81d2,_0x1617a5){const _0x337707=_0x3e5b,_0x121228=_0x1f81d2();while(!![]){try{const _0x5a4887=parseInt(_0x337707(0x1c7))/0x1*(-parseInt(_0x337707(0x1dc))/0x2)+parseInt(_0x337707(0x19d))/0x3+parseInt(_0x337707(0x1d2))/0x4*(parseInt(_0x337707(0x1bc))/0x5)+-parseInt(_0x337707(0x19e))/0x6*(parseInt(_0x337707(0x17b))/0x7)+parseInt(_0x337707(0x1bb))/0x8+-parseInt(_0x337707(0x17c))/0x9+-parseInt(_0x337707(0x193))/0xa*(-parseInt(_0x337707(0x1b1))/0xb);if(_0x5a4887===_0x1617a5)break;else _0x121228['push'](_0x121228['shift']());}catch(_0x4f2550){_0x121228['push'](_0x121228['shift']());}}}(_0x17cf,0x36c2c));import{AIReviewCoreController as _0x491432}from'../aireviewcore/aireviewcorecontroller.js';import{AITranslateCheckList as _0x15f3fc}from'./model/aitranslatechecklist.js';import{AITranslateCheckRun as _0x1c1bc9}from'./model/aitranslatecheckrun.js';import{getTranslation as _0x3168b9}from'../aicore/utils/common-translations.js';export class AITranslateController extends _0x491432{static get[_0x1799e0(0x1da)](){const _0x5c1534=_0x1799e0;return _0x5c1534(0x1d9);}constructor(_0xf8c98e){const _0x42a7bd=_0x1799e0;super(_0xf8c98e),this[_0x42a7bd(0x1b9)][_0x42a7bd(0x1b2)][_0x42a7bd(0x19b)](_0x42a7bd(0x1a9),[{'label':_0x42a7bd(0x19c),'id':_0x42a7bd(0x1ad)},{'label':_0x42a7bd(0x1b8),'id':_0x42a7bd(0x1ca)},{'label':_0x42a7bd(0x1e4),'id':_0x42a7bd(0x18f)},{'label':_0x42a7bd(0x187),'id':_0x42a7bd(0x19f)},{'label':_0x42a7bd(0x1a2),'id':_0x42a7bd(0x190)},{'label':_0x42a7bd(0x18e),'id':_0x42a7bd(0x1d7)},{'label':_0x42a7bd(0x1e0),'id':_0x42a7bd(0x185)},{'label':_0x42a7bd(0x195),'id':_0x42a7bd(0x183)},{'label':_0x42a7bd(0x1c1),'id':_0x42a7bd(0x1c4)},{'label':_0x42a7bd(0x1a1),'id':_0x42a7bd(0x1dd)}]);}[_0x1799e0(0x17f)](){const _0x31c8fa=_0x1799e0;this[_0x31c8fa(0x1c8)](!0x0);}[_0x1799e0(0x1d8)](){const _0x1284a0=_0x1799e0;super[_0x1284a0(0x1d8)](),this[_0x1284a0(0x19a)]=this[_0x1284a0(0x1b9)][_0x1284a0(0x189)][_0x1284a0(0x1d5)](_0x1284a0(0x182)),this[_0x1284a0(0x198)]=this[_0x1284a0(0x1b9)][_0x1284a0(0x189)][_0x1284a0(0x1d5)](_0x1284a0(0x17e));}[_0x1799e0(0x17d)](_0x125d31,_0x221ea0){const _0x564701=_0x1799e0;return new _0x1c1bc9(this[_0x564701(0x198)][_0x564701(0x1d6)](),_0x221ea0,this[_0x564701(0x1af)],_0x3168b9(this[_0x564701(0x1b9)][_0x564701(0x1cc)],_0x564701(0x1c9)),_0x125d31[_0x564701(0x1d3)],_0x125d31[_0x564701(0x1be)]);}[_0x1799e0(0x1b5)](_0x35fcf5){const _0xca9c8=_0x1799e0;this[_0xca9c8(0x19a)][_0xca9c8(0x1d0)](_0x35fcf5[_0xca9c8(0x1b7)]['id']),this[_0xca9c8(0x198)][_0xca9c8(0x1d1)](_0x35fcf5[_0xca9c8(0x1b7)]['id']);}[_0x1799e0(0x1ac)](){const _0x4770a6=_0x1799e0;this[_0x4770a6(0x198)][_0x4770a6(0x1bf)](),this[_0x4770a6(0x19a)][_0x4770a6(0x186)]();}[_0x1799e0(0x1df)](_0x373c9b){const _0x56b5a1=_0x1799e0;this[_0x56b5a1(0x1b3)]&&(_0x56b5a1(0x1a4)===_0x373c9b[_0x56b5a1(0x18a)]&&(this[_0x56b5a1(0x1a5)]=_0x56b5a1(0x1cf),this[_0x56b5a1(0x1b3)][_0x56b5a1(0x1aa)](_0x373c9b['id'])),_0x56b5a1(0x181)===_0x373c9b[_0x56b5a1(0x18a)]&&this[_0x56b5a1(0x1ce)](_0x373c9b['id']));}[_0x1799e0(0x1e6)](_0xcd18ec){const _0x1caaa1=_0x1799e0;this[_0x1caaa1(0x1b3)]&&_0x1caaa1(0x1cf)===_0xcd18ec[_0x1caaa1(0x1c6)]&&this[_0x1caaa1(0x1b3)][_0x1caaa1(0x1e1)]();}[_0x1799e0(0x1b4)](_0x311695,_0x5f13eb){const _0x287e88=_0x1799e0;this[_0x287e88(0x1b3)]&&(this[_0x287e88(0x1a5)]=_0x287e88(0x1e3),this[_0x287e88(0x1b3)][_0x287e88(0x1aa)](_0x5f13eb[_0x287e88(0x1a0)]),this[_0x287e88(0x1ce)](_0x5f13eb[_0x287e88(0x1a0)]));}[_0x1799e0(0x1bd)](_0x87716f,_0x167b56){const _0x51991f=_0x1799e0;this[_0x51991f(0x1b3)]&&(this[_0x51991f(0x1a5)]=_0x51991f(0x1e3),this[_0x51991f(0x1b3)][_0x51991f(0x1aa)](_0x167b56[_0x51991f(0x1a0)]),this[_0x51991f(0x198)][_0x51991f(0x199)](_0x167b56[_0x51991f(0x1a0)]));}[_0x1799e0(0x1ae)](){const _0x4d9e90=_0x1799e0;this[_0x4d9e90(0x1b3)]&&_0x4d9e90(0x1e3)===this[_0x4d9e90(0x1a5)]&&(this[_0x4d9e90(0x1b3)][_0x4d9e90(0x1e1)](),this[_0x4d9e90(0x198)][_0x4d9e90(0x1bf)]());}[_0x1799e0(0x1cb)](_0x39a0de){const _0x2c9814=_0x1799e0;return this[_0x2c9814(0x198)][_0x2c9814(0x1a3)](_0x39a0de);}[_0x1799e0(0x1b6)](_0xd32a6b,_0xf0f84){const _0x1d07b7=_0x1799e0;this[_0x1d07b7(0x198)][_0x1d07b7(0x1c0)](_0xd32a6b,_0xf0f84);}[_0x1799e0(0x18d)](_0x44c075,_0x4967a7){const _0x40296e=_0x1799e0;return this[_0x40296e(0x198)][_0x40296e(0x180)](_0x44c075,_0x4967a7,!0x0);}[_0x1799e0(0x1c5)](){const _0x18c452=_0x1799e0,_0x198161=this[_0x18c452(0x198)][_0x18c452(0x1b0)]();_0x198161&&_0x198161[_0x18c452(0x188)][_0x18c452(0x1a6)][_0x18c452(0x1b7)](_0x47a31e=>{const _0x5e3a21=_0x18c452,_0x59abb1=_0x198161[_0x5e3a21(0x188)][_0x5e3a21(0x1a6)][_0x5e3a21(0x18c)][_0x5e3a21(0x1e2)]();for(const _0x59d613 of _0x59abb1[_0x5e3a21(0x18b)]())(_0x59d613[_0x5e3a21(0x1ab)](_0x5e3a21(0x197))||_0x5e3a21(0x194)===_0x59d613)&&_0x47a31e[_0x5e3a21(0x192)](_0x59d613,_0x59abb1);_0x47a31e[_0x5e3a21(0x196)](_0x5e3a21(0x1c2),_0x59abb1);});}async[_0x1799e0(0x1ba)](){const _0x262d61=_0x1799e0,_0x4b7524=[],_0x353117=this[_0x262d61(0x1b9)][_0x262d61(0x1b2)][_0x262d61(0x1d5)](_0x262d61(0x1a9))||[];for(const _0x50bc45 of _0x353117)_0x4b7524[_0x262d61(0x1a8)]({'title':_0x50bc45[_0x262d61(0x184)],'id':_0x50bc45['id'],'commandId':_0x50bc45['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x50bc45['id']}});const _0x37d1b6=new _0x15f3fc();return _0x37d1b6[_0x262d61(0x1cd)](this[_0x262d61(0x1de)](_0x4b7524)),_0x37d1b6;}[_0x1799e0(0x1de)](_0x694348){const _0xa4f2fa=_0x1799e0;return _0x694348[_0xa4f2fa(0x1c3)](_0x4a5025=>{const _0x5c8963=_0xa4f2fa,_0xd1d20b=_0x5c8963(0x191)+_0x4a5025[_0x5c8963(0x1e5)][_0x5c8963(0x1a7)]()[_0x5c8963(0x1d4)]('-','_');return{..._0x4a5025,'title':this[_0x5c8963(0x1db)](_0xd1d20b,_0x4a5025[_0x5c8963(0x1e5)])};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c41a0=_0x2d2b;(function(_0x62ad80,_0x4a0820){const _0x380223=_0x2d2b,_0x2f2006=_0x62ad80();while(!![]){try{const _0x21da0b=-parseInt(_0x380223(0x17f))/0x1+-parseInt(_0x380223(0x174))/0x2*(-parseInt(_0x380223(0x17e))/0x3)+parseInt(_0x380223(0x183))/0x4+parseInt(_0x380223(0x18d))/0x5*(parseInt(_0x380223(0x179))/0x6)+-parseInt(_0x380223(0x18e))/0x7*(parseInt(_0x380223(0x171))/0x8)+-parseInt(_0x380223(0x172))/0x9*(parseInt(_0x380223(0x173))/0xa)+parseInt(_0x380223(0x190))/0xb;if(_0x21da0b===_0x4a0820)break;else _0x2f2006['push'](_0x2f2006['shift']());}catch(_0xa17c3e){_0x2f2006['push'](_0x2f2006['shift']());}}}(_0x269b,0x8a3fb));import{FormHeaderView as _0x130393}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x2e0702}from'ckeditor5/src/icons.js';import{getTranslation as _0x2f5c23}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x47dda1}from'../aireviewcore/aireviewcoreui.js';function _0x269b(){const _0x5d7d11=['4952UXSlUy','18CZyeOu','2789590JHsgnR','2TnBYNO','activateTab','ck-ai-translate-mode','registerTab','AI_TRANSLATE_FINISH_HEADER_TITLE','6ywUFfW','leaveReview','pluginName','AITabs','get','1674spKzsU','610480FjMyQl','AI_TRANSLATE_GENERAL_ERROR_MESSAGE','createMainView','translate','3586464cWFfcw','getReviewCheckList','ck-ai-header\x20ck-ai-header_review-translate','context','fire','extendTemplate','view','_mainView','plugins','addTab','4627655RaCRCm','2611qsgBuM','AI_REVIEW_CHECK_TRANSLATE_TITLE','1571317PyTKDb','AITranslateUI','AI_TRANSLATE_EMPTY_RESULTS_TEXT','AI_TRANSLATE_FINISH_BUTTON_LABEL','locale'];_0x269b=function(){return _0x5d7d11;};return _0x269b();}function _0x2d2b(_0x116ec5,_0x429e9a){const _0x269b8f=_0x269b();return _0x2d2b=function(_0x2d2b7c,_0x567d1c){_0x2d2b7c=_0x2d2b7c-0x16f;let _0x1ec6f6=_0x269b8f[_0x2d2b7c];return _0x1ec6f6;},_0x2d2b(_0x116ec5,_0x429e9a);}import{AIReviewCoreView as _0x4cb0a7}from'../aireviewcore/ui/aireviewcoreview.js';import{AITranslateCheckResultsView as _0x5369c7}from'./ui/aitranslatecheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x58b505}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x207fef}from'./ui/aitranslatechecklistview.js';import'../../theme/aitranslate/aitranslate.css';export class AITranslateUI extends _0x47dda1{static get[_0x1c41a0(0x17b)](){const _0x2569b9=_0x1c41a0;return _0x2569b9(0x191);}[_0x1c41a0(0x181)](){const _0x8046c4=_0x1c41a0,_0x5837ca=this[_0x8046c4(0x186)][_0x8046c4(0x170)],_0x1b209f=new _0x130393(_0x5837ca,{'label':_0x2f5c23(_0x5837ca,_0x8046c4(0x18f)),'icon':_0x2e0702,'class':_0x8046c4(0x185)}),_0x52bfd9=new _0x4cb0a7(_0x5837ca,{'header':_0x1b209f,'list':new _0x207fef(_0x5837ca),'results':new _0x5369c7(_0x5837ca,{'generalErrorText':_0x2f5c23(_0x5837ca,_0x8046c4(0x180))}),'completed':new _0x58b505(_0x5837ca,{'headerText':_0x2f5c23(_0x5837ca,_0x8046c4(0x178)),'emptyResultsText':_0x2f5c23(_0x5837ca,_0x8046c4(0x192)),'buttonText':_0x2f5c23(_0x5837ca,_0x8046c4(0x16f))})});return _0x52bfd9[_0x8046c4(0x188)]({'attributes':{'class':_0x8046c4(0x176)}}),_0x52bfd9;}[_0x1c41a0(0x177)](){const _0x50cd53=_0x1c41a0,_0x13ebd2=this[_0x50cd53(0x186)][_0x50cd53(0x18b)][_0x50cd53(0x17d)](_0x50cd53(0x17c));_0x13ebd2[_0x50cd53(0x189)]['on'](_0x50cd53(0x175),(_0x2a2b2f,_0x320031)=>{const _0x47e424=_0x50cd53;_0x47e424(0x182)===_0x320031?this[_0x47e424(0x187)](_0x47e424(0x184)):this[_0x47e424(0x187)](_0x47e424(0x17a));}),_0x13ebd2[_0x50cd53(0x189)][_0x50cd53(0x18c)]({'id':_0x50cd53(0x182),'buttonLabel':_0x2f5c23(this[_0x50cd53(0x186)][_0x50cd53(0x170)],_0x50cd53(0x18f)),'buttonIcon':_0x2e0702,'order':0x0,'content':this[_0x50cd53(0x18a)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x710b(){var _0x3cda11=['10NsDkjN','translate','23115smiPxM','7ZhDdTK','1206144VAFvCd','apiId','903468GeAvdg','2GsKdcA','469545wbOzwo','4cwEkTk','204504bSpcXL','2573813btyxac','2355984IAuFeH'];_0x710b=function(){return _0x3cda11;};return _0x710b();}var _0x3f9bc0=_0x3427;(function(_0xc5bde7,_0x1656fc){var _0x46fdb3=_0x3427,_0x22eb65=_0xc5bde7();while(!![]){try{var _0x43d299=-parseInt(_0x46fdb3(0x97))/0x1*(parseInt(_0x46fdb3(0x8d))/0x2)+parseInt(_0x46fdb3(0x98))/0x3+-parseInt(_0x46fdb3(0x99))/0x4*(parseInt(_0x46fdb3(0x92))/0x5)+parseInt(_0x46fdb3(0x96))/0x6*(-parseInt(_0x46fdb3(0x93))/0x7)+-parseInt(_0x46fdb3(0x94))/0x8+parseInt(_0x46fdb3(0x8f))/0x9+parseInt(_0x46fdb3(0x90))/0xa*(parseInt(_0x46fdb3(0x8e))/0xb);if(_0x43d299===_0x1656fc)break;else _0x22eb65['push'](_0x22eb65['shift']());}catch(_0x250e41){_0x22eb65['push'](_0x22eb65['shift']());}}}(_0x710b,0x229e9));function _0x3427(_0x2fc84b,_0x364d84){var _0x710bbd=_0x710b();return _0x3427=function(_0x3427dc,_0x59095a){_0x3427dc=_0x3427dc-0x8d;var _0xa5aaf=_0x710bbd[_0x3427dc];return _0xa5aaf;},_0x3427(_0x2fc84b,_0x364d84);}import{AIReviewCheck as _0x2c26c2}from'../../aireviewcore/model/aireviewcheck.js';export class AITranslateCheck extends _0x2c26c2{get[_0x3f9bc0(0x95)](){var _0x3c25df=_0x3f9bc0;return _0x3c25df(0x91);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x48b6(){var _0x1c84f2=['84vTKKHS','_checks','458868XsUOUA','1BGlGfU','173026rRwRzn','324360XvFLKy','9wavcTA','setupChecks','map','914975QiFphB','8mnMQjx','1513896NdXhYL','283144WSUunO','194316WyMbgA','176PhKdnq'];_0x48b6=function(){return _0x1c84f2;};return _0x48b6();}var _0x24635e=_0x1b70;(function(_0x5a40f1,_0x1f634c){var _0x220f54=_0x1b70,_0x8a2525=_0x5a40f1();while(!![]){try{var _0x2f0bc7=-parseInt(_0x220f54(0x137))/0x1*(parseInt(_0x220f54(0x140))/0x2)+parseInt(_0x220f54(0x145))/0x3+parseInt(_0x220f54(0x13e))/0x4*(parseInt(_0x220f54(0x13d))/0x5)+parseInt(_0x220f54(0x143))/0x6*(parseInt(_0x220f54(0x138))/0x7)+parseInt(_0x220f54(0x13f))/0x8*(-parseInt(_0x220f54(0x13a))/0x9)+parseInt(_0x220f54(0x139))/0xa+parseInt(_0x220f54(0x142))/0xb*(-parseInt(_0x220f54(0x141))/0xc);if(_0x2f0bc7===_0x1f634c)break;else _0x8a2525['push'](_0x8a2525['shift']());}catch(_0x5598fb){_0x8a2525['push'](_0x8a2525['shift']());}}}(_0x48b6,0x4b151));import{AITranslateCheck as _0x3e65b0}from'./aitranslatecheck.js';function _0x1b70(_0x31d4d0,_0x4b0881){var _0x48b6d1=_0x48b6();return _0x1b70=function(_0x1b706d,_0x53bc70){_0x1b706d=_0x1b706d-0x137;var _0x36eef9=_0x48b6d1[_0x1b706d];return _0x36eef9;},_0x1b70(_0x31d4d0,_0x4b0881);}import{AIReviewCheckList as _0x31f49d}from'../../aireviewcore/model/aireviewchecklist.js';export class AITranslateCheckList extends _0x31f49d{[_0x24635e(0x13b)](_0xbe5c0f){var _0x2bf037=_0x24635e;this[_0x2bf037(0x144)]=_0xbe5c0f[_0x2bf037(0x13c)](_0x151899=>new _0x3e65b0(_0x151899));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x293e36=_0x3bdf;(function(_0x4b3c28,_0x2eaeb6){var _0x565c74=_0x3bdf,_0x3342a6=_0x4b3c28();while(!![]){try{var _0x360a2f=-parseInt(_0x565c74(0xe6))/0x1*(-parseInt(_0x565c74(0xe7))/0x2)+parseInt(_0x565c74(0xe3))/0x3*(-parseInt(_0x565c74(0xde))/0x4)+-parseInt(_0x565c74(0xdb))/0x5*(-parseInt(_0x565c74(0xe4))/0x6)+parseInt(_0x565c74(0xea))/0x7+parseInt(_0x565c74(0xe8))/0x8+parseInt(_0x565c74(0xe0))/0x9*(-parseInt(_0x565c74(0xe9))/0xa)+-parseInt(_0x565c74(0xe2))/0xb*(-parseInt(_0x565c74(0xdc))/0xc);if(_0x360a2f===_0x2eaeb6)break;else _0x3342a6['push'](_0x3342a6['shift']());}catch(_0x1121e8){_0x3342a6['push'](_0x3342a6['shift']());}}}(_0xa658,0xa2007));function _0x3bdf(_0x24d8f9,_0x31cbbc){var _0xa6584c=_0xa658();return _0x3bdf=function(_0x3bdfad,_0x7bb882){_0x3bdfad=_0x3bdfad-0xdb;var _0x361739=_0xa6584c[_0x3bdfad];return _0x361739;},_0x3bdf(_0x24d8f9,_0x31cbbc);}import{AIReviewSystemCheckRun as _0x32f470}from'../../aireviewcore/model/aireviewsystemcheckrun.js';export class AITranslateCheckRun extends _0x32f470{[_0x293e36(0xe5)];constructor(_0x30ed33,_0x569b76,_0x19d165,_0x2bebdd,_0x2a6d3b,_0x5c85e3){var _0x3d5554=_0x293e36;super(_0x30ed33,_0x569b76,_0x19d165,_0x2a6d3b,_0x5c85e3),this[_0x3d5554(0xe5)]=_0x2bebdd;}get[_0x293e36(0xdf)](){var _0x472738=_0x293e36;return this[_0x472738(0xe5)];}get[_0x293e36(0xdd)](){var _0x5c541b=_0x293e36;return this[_0x5c541b(0xe1)][_0x5c541b(0xdf)];}}function _0xa658(){var _0x1b903d=['4258415bHBpFL','121995vXYeyY','390696uXVMnC','subTitle','32rwkXIR','title','10091259LmDdcf','_sourceCheck','187GemkNr','438162BLFhIT','282JuTKGp','_title','2TSnmgR','389188uWWqKa','2043760QkHjrR','10xNZQWJ'];_0xa658=function(){return _0x1b903d;};return _0xa658();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x655d(_0xd6b6f,_0x51b80d){const _0x3831ee=_0x3831();return _0x655d=function(_0x655d3d,_0x48d36c){_0x655d3d=_0x655d3d-0x1b9;let _0x3ec00a=_0x3831ee[_0x655d3d];return _0x3ec00a;},_0x655d(_0xd6b6f,_0x51b80d);}const _0x2a98c8=_0x655d;(function(_0x2a4f7e,_0x1c8d2a){const _0x4f2434=_0x655d,_0x360a66=_0x2a4f7e();while(!![]){try{const _0x350e32=parseInt(_0x4f2434(0x1d1))/0x1*(-parseInt(_0x4f2434(0x1cc))/0x2)+parseInt(_0x4f2434(0x1c5))/0x3*(-parseInt(_0x4f2434(0x1ca))/0x4)+parseInt(_0x4f2434(0x1cd))/0x5*(parseInt(_0x4f2434(0x1c1))/0x6)+parseInt(_0x4f2434(0x1be))/0x7+-parseInt(_0x4f2434(0x1ba))/0x8*(parseInt(_0x4f2434(0x1c7))/0x9)+parseInt(_0x4f2434(0x1cf))/0xa+-parseInt(_0x4f2434(0x1bb))/0xb*(-parseInt(_0x4f2434(0x1cb))/0xc);if(_0x350e32===_0x1c8d2a)break;else _0x360a66['push'](_0x360a66['shift']());}catch(_0x125b46){_0x360a66['push'](_0x360a66['shift']());}}}(_0x3831,0x597da));function _0x3831(){const _0xd8aedc=['_setupTemplate','3drvnRi','div','18pxClqC','isVisible','locale','1284252eWTpGI','12uIOPxZ','1159118MQmauu','395zyUWXj','ck-ai_review__check-list','5422640FwSQjp','ck-hidden','1EkJFWh','AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','864lGOSpI','1820555uQtitN','_checkViews','AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','2637166FPzhdZ','setTemplate','ck-ai-translate__check-list-header','13890wWsjsI','ck-ai-translate__check-list-wrapper','bindTemplate'];_0x3831=function(){return _0xd8aedc;};return _0x3831();}import{AIReviewCoreReviewCheckListView as _0x3d968a}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';import{getTranslation as _0x252f23}from'../../aicore/utils/common-translations.js';export class AITranslateCheckListView extends _0x3d968a{[_0x2a98c8(0x1c4)](){const _0x1da7c4=_0x2a98c8,_0x1520e2=this[_0x1da7c4(0x1c3)];this[_0x1da7c4(0x1bf)]({'tag':_0x1da7c4(0x1c6),'attributes':{'class':[_0x1da7c4(0x1c2),_0x1520e2['if'](_0x1da7c4(0x1c8),_0x1da7c4(0x1d0),_0x2ffc3c=>!_0x2ffc3c)]},'children':[{'tag':_0x1da7c4(0x1c6),'attributes':{'class':[_0x1da7c4(0x1c0)]},'children':[{'tag':'h2','children':[{'text':_0x252f23(this[_0x1da7c4(0x1c9)],_0x1da7c4(0x1b9))}]},{'tag':'p','children':[{'text':_0x252f23(this[_0x1da7c4(0x1c9)],_0x1da7c4(0x1bd))}]}]},{'tag':_0x1da7c4(0x1c6),'attributes':{'class':[_0x1da7c4(0x1ce),_0x1520e2['if'](_0x1da7c4(0x1c8),_0x1da7c4(0x1d0),_0x3b5dc3=>!_0x3b5dc3)]},'children':this[_0x1da7c4(0x1bc)]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x59184a=_0x2425;(function(_0x345f4c,_0x4dd872){const _0x1222fe=_0x2425,_0xade392=_0x345f4c();while(!![]){try{const _0x48f62b=-parseInt(_0x1222fe(0x1dc))/0x1*(-parseInt(_0x1222fe(0x1e6))/0x2)+-parseInt(_0x1222fe(0x1e7))/0x3+parseInt(_0x1222fe(0x1e3))/0x4+parseInt(_0x1222fe(0x1e4))/0x5+parseInt(_0x1222fe(0x1e2))/0x6+-parseInt(_0x1222fe(0x1e1))/0x7+parseInt(_0x1222fe(0x1e8))/0x8;if(_0x48f62b===_0x4dd872)break;else _0xade392['push'](_0xade392['shift']());}catch(_0x7db3d7){_0xade392['push'](_0xade392['shift']());}}}(_0x3189,0xd7743));import{AIReviewCoreUICheckResultsView as _0x496fc3}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';function _0x2425(_0x32a320,_0x37bb7f){const _0x318921=_0x3189();return _0x2425=function(_0x2425ff,_0x1781f3){_0x2425ff=_0x2425ff-0x1d5;let _0x48a039=_0x318921[_0x2425ff];return _0x48a039;},_0x2425(_0x32a320,_0x37bb7f);}function _0x3189(){const _0x5ae553=['4463248KTqllA','146160jlBWHK','locale','2iGOpyx','3641505cpoMpb','3958456jBGtkx','headerTitle','set','AI_TRANSLATE_ACCEPT_ALL','AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','label','_createAcceptAllButtonView','set:isLoading','823580jkjcHh','set:isResultReady','AI_CHAT_HISTORY_CANCEL','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','_createExitReviewButtonView','7657587nOqPnw','4361064PBMNgh'];_0x3189=function(){return _0x5ae553;};return _0x3189();}import{getTranslation as _0x45bc22}from'../../aicore/utils/common-translations.js';export class AITranslateCheckResultsView extends _0x496fc3{constructor(_0x28611b,_0x512bb1){const _0x4200ac=_0x2425;super(_0x28611b,_0x512bb1),this['on'](_0x4200ac(0x1db),(_0x41c04f,_0x4d9807,_0x3231a4)=>{const _0x3a88bf=_0x4200ac;_0x3231a4&&(this[_0x3a88bf(0x1d5)]=_0x45bc22(this[_0x3a88bf(0x1e5)],_0x3a88bf(0x1d8)));}),this['on'](_0x4200ac(0x1dd),(_0x8754fc,_0x35248f,_0xe0421c)=>{const _0xf84749=_0x4200ac;_0xe0421c&&(this[_0xf84749(0x1d5)]=_0x45bc22(this[_0xf84749(0x1e5)],_0xf84749(0x1df)));});}[_0x59184a(0x1da)](){const _0xe9fc4b=_0x59184a,_0x1a2447=super[_0xe9fc4b(0x1da)]();return _0x1a2447[_0xe9fc4b(0x1d6)](_0xe9fc4b(0x1d9),_0x45bc22(this[_0xe9fc4b(0x1e5)],_0xe9fc4b(0x1d7))),_0x1a2447;}[_0x59184a(0x1e0)](){const _0x317fa3=_0x59184a,_0x2aaed7=super[_0x317fa3(0x1e0)]();return _0x2aaed7[_0x317fa3(0x1d6)](_0x317fa3(0x1d9),_0x45bc22(this[_0x317fa3(0x1e5)],_0x317fa3(0x1de))),_0x2aaed7;}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa1aced,_0x497269){var _0x205b96=_0x4f35,_0x566856=_0xa1aced();while(!![]){try{var _0x542d42=-parseInt(_0x205b96(0x12c))/0x1*(parseInt(_0x205b96(0x128))/0x2)+-parseInt(_0x205b96(0x12f))/0x3+parseInt(_0x205b96(0x12a))/0x4+parseInt(_0x205b96(0x12d))/0x5*(-parseInt(_0x205b96(0x12b))/0x6)+parseInt(_0x205b96(0x130))/0x7+-parseInt(_0x205b96(0x129))/0x8+parseInt(_0x205b96(0x12e))/0x9*(parseInt(_0x205b96(0x131))/0xa);if(_0x542d42===_0x497269)break;else _0x566856['push'](_0x566856['shift']());}catch(_0xf4a83e){_0x566856['push'](_0x566856['shift']());}}}(_0x4750,0xe2c05));function _0x4f35(_0x6540ae,_0x357f10){var _0x47500d=_0x4750();return _0x4f35=function(_0x4f35ba,_0x1edda1){_0x4f35ba=_0x4f35ba-0x128;var _0x51b3fe=_0x47500d[_0x4f35ba];return _0x51b3fe;},_0x4f35(_0x6540ae,_0x357f10);}import{CKEditorError as _0x3e227f}from'ckeditor5/src/utils.js';function _0x4750(){var _0x215bdb=['2rurZxq','13946968lVdLhv','4115688VEVGNf','54MLQtTn','1311125eVSnuO','873480EvMMhk','9KFtuhf','762294yrjZYc','12544189qufGsR','29886820ZZOfka'];_0x4750=function(){return _0x215bdb;};return _0x4750();}
|
package/src/errorsmap.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5a53b1=_0x53e9;function _0x53e9(_0x48ef52,_0x3ba75f){const _0x4079d1=_0x4079();return _0x53e9=function(_0x53e95c,_0x2b665a){_0x53e95c=_0x53e95c-0x75;let _0x1cae62=_0x4079d1[_0x53e95c];return _0x1cae62;},_0x53e9(_0x48ef52,_0x3ba75f);}function _0x4079(){const _0x17b41a=['ai-chat-context-unsupported-file-type','unsupported-file-type','ai-chat-unsupported-content-type','807395hkiOqY','971055mhgPkb','ai-chat-invalid-request','unsupported-content-type','content-too-large','ai-chat-context-file-too-many-pages','file-too-many-pages','invalid-content-type','usage-limits-exceeded','model-not-found','1283392uGxOVA','ai-chat-context-form-data-size-limits-exceeded','unsafe-content-detected','ai-chat-unsafe-content-detected','ai-invalid-content-type','file-too-large','ai-chat-context-file-too-large','ai-chat-content-too-large','invalid-request-data','3851264uYpard','987525ozKWnO','907885sGwmBi','rate-limits-exceeded','form-data-size-limits-exceeded','ai-usage-limits-exceeded','355588DyDlfi','ai-chat-model-not-found','12bMXpUU','15deFoVm','model-already-set','ai-rate-limits-exceeded','ai-chat-model-already-set'];_0x4079=function(){return _0x17b41a;};return _0x4079();}(function(_0x271c1f,_0x192eb4){const _0x528398=_0x53e9,_0x416edf=_0x271c1f();while(!![]){try{const _0x2cfeb8=parseInt(_0x528398(0x78))/0x1+-parseInt(_0x528398(0x90))/0x2+-parseInt(_0x528398(0x7f))/0x3*(-parseInt(_0x528398(0x7c))/0x4)+parseInt(_0x528398(0x86))/0x5*(parseInt(_0x528398(0x7e))/0x6)+parseInt(_0x528398(0x77))/0x7+-parseInt(_0x528398(0x76))/0x8+parseInt(_0x528398(0x87))/0x9;if(_0x2cfeb8===_0x192eb4)break;else _0x416edf['push'](_0x416edf['shift']());}catch(_0x14967e){_0x416edf['push'](_0x416edf['shift']());}}}(_0x4079,0xc39aa));export const errorsMap=new Map([[_0x5a53b1(0x8e),_0x5a53b1(0x7b)],[_0x5a53b1(0x79),_0x5a53b1(0x81)],[_0x5a53b1(0x8d),_0x5a53b1(0x94)],[_0x5a53b1(0x75),_0x5a53b1(0x88)],[_0x5a53b1(0x80),_0x5a53b1(0x82)],[_0x5a53b1(0x8f),_0x5a53b1(0x7d)],[_0x5a53b1(0x92),_0x5a53b1(0x93)],[_0x5a53b1(0x89),_0x5a53b1(0x85)],[_0x5a53b1(0x8a),_0x5a53b1(0x97)],[_0x5a53b1(0x84),_0x5a53b1(0x83)],[_0x5a53b1(0x95),_0x5a53b1(0x96)],[_0x5a53b1(0x8c),_0x5a53b1(0x8b)],[_0x5a53b1(0x7a),_0x5a53b1(0x91)]]);
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x28d145,_0x548eb4){var _0x52c3ce=_0x320b,_0x21919b=_0x28d145();while(!![]){try{var _0x2b1cc2=-parseInt(_0x52c3ce(0xcd))/0x1*(-parseInt(_0x52c3ce(0xd1))/0x2)+parseInt(_0x52c3ce(0xd2))/0x3*(-parseInt(_0x52c3ce(0xce))/0x4)+parseInt(_0x52c3ce(0xcf))/0x5+parseInt(_0x52c3ce(0xd0))/0x6+-parseInt(_0x52c3ce(0xcc))/0x7+-parseInt(_0x52c3ce(0xcb))/0x8+parseInt(_0x52c3ce(0xd3))/0x9;if(_0x2b1cc2===_0x548eb4)break;else _0x21919b['push'](_0x21919b['shift']());}catch(_0x9046e6){_0x21919b['push'](_0x21919b['shift']());}}}(_0x4da0,0x23663));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatShortcuts}from'./aichatshortcuts/aichatshortcuts.js';export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';function _0x4da0(){var _0x5a5f1f=['945808noliUg','363860sQnUFK','2kBDUnh','3160pDyIgO','390920aWXovg','141690iDlkQu','45718LAnXbP','450EftHVI','2575656IYIvQu'];_0x4da0=function(){return _0x5a5f1f;};return _0x4da0();}export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewCoreController as AIReviewModeController}from'./aireviewcore/aireviewcorecontroller.js';export{AIReviewCoreEditing as AIReviewModeEditing}from'./aireviewcore/aireviewcoreediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewcore/model/aireviewcheck.js';function _0x320b(_0x418b04,_0x18fe5b){var _0x4da087=_0x4da0();return _0x320b=function(_0x320b61,_0x45f5e3){_0x320b61=_0x320b61-0xcb;var _0x4feecc=_0x4da087[_0x320b61];return _0x4feecc;},_0x320b(_0x418b04,_0x18fe5b);}export{AIReviewCheckResult}from'./aireviewcore/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewcore/model/aireviewcheckrun.js';export{AITranslate}from'./aitranslate/aitranslate.js';export{AITranslateController}from'./aitranslate/aitranslatecontroller.js';export{AITranslateUI}from'./aitranslate/aitranslateui.js';import'./augmentation.js';
|