@ckeditor/ckeditor5-ai 47.7.0 → 47.7.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.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a45(){const _0x59cb94=['set','formValue','ck-reset_all','locale','228fagwBZ','ck-form__row_with-submit','12GHSbEB','dropdown','12BpcUBv','16STDYZU','427300mGKgHs','2543527mvakEZ','33EDQibD','ck-ai_review__form-item','value','_formItem','30196153fHirxa','5758swLpip','setTemplate','children','644030EcACrv','argsKey','bind','add','div','formType','16bvtuAy','1649370VHacme','resetToDefault','2131335yWSCQl'];_0x5a45=function(){return _0x59cb94;};return _0x5a45();}const _0x17e15e=_0x3a21;(function(_0x5955e2,_0x478765){const _0x5d8419=_0x3a21,_0x3faf26=_0x5955e2();while(!![]){try{const _0x48716b=-parseInt(_0x5d8419(0x1d0))/0x1+parseInt(_0x5d8419(0x1cd))/0x2*(-parseInt(_0x5d8419(0x1c0))/0x3)+parseInt(_0x5d8419(0x1c5))/0x4*(-parseInt(_0x5d8419(0x1c6))/0x5)+-parseInt(_0x5d8419(0x1c2))/0x6*(parseInt(_0x5d8419(0x1c7))/0x7)+parseInt(_0x5d8419(0x1b8))/0x8*(parseInt(_0x5d8419(0x1bb))/0x9)+parseInt(_0x5d8419(0x1b9))/0xa*(-parseInt(_0x5d8419(0x1c8))/0xb)+parseInt(_0x5d8419(0x1c4))/0xc*(parseInt(_0x5d8419(0x1cc))/0xd);if(_0x48716b===_0x478765)break;else _0x3faf26['push'](_0x3faf26['shift']());}catch(_0xd48393){_0x3faf26['push'](_0x3faf26['shift']());}}}(_0x5a45,0x5a61c));import{FormRowView as _0x4b49c2,ListItemView as _0x42c614}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x3b6d7a}from'./aireviewcoreformdropdown.js';function _0x3a21(_0x4ee73e,_0x525b3a){const _0x5a4581=_0x5a45();return _0x3a21=function(_0x3a2106,_0x14943e){_0x3a2106=_0x3a2106-0x1b3;let _0x5ca791=_0x5a4581[_0x3a2106];return _0x5ca791;},_0x3a21(_0x4ee73e,_0x525b3a);}export class AIReviewCoreFormManagerView extends _0x42c614{[_0x17e15e(0x1cb)]=null;constructor(_0x8d6dd2,_0x323fde,_0x1778be){const _0x1ad4dd=_0x17e15e;super(_0x8d6dd2),this[_0x1ad4dd(0x1b3)]=_0x323fde?.[_0x1ad4dd(0x1b3)];if(_0x1ad4dd(0x1c3)===_0x323fde[_0x1ad4dd(0x1b7)])this[_0x1ad4dd(0x1cb)]=new _0x3b6d7a(this[_0x1ad4dd(0x1bf)],_0x323fde);this[_0x1ad4dd(0x1bc)](_0x1ad4dd(0x1ca),''),this[_0x1ad4dd(0x1b4)](_0x1ad4dd(0x1ca))['to'](this[_0x1ad4dd(0x1cb)],_0x1ad4dd(0x1bd));const _0x486518=new _0x4b49c2(this[_0x1ad4dd(0x1bf)],{'children':[this[_0x1ad4dd(0x1cb)]],'class':[_0x1778be?_0x1ad4dd(0x1c1):'']});_0x1778be&&_0x486518[_0x1ad4dd(0x1cf)][_0x1ad4dd(0x1b5)](_0x1778be),this[_0x1ad4dd(0x1ce)]({'tag':_0x1ad4dd(0x1b6),'attributes':{'class':['ck',_0x1ad4dd(0x1c9),_0x1ad4dd(0x1be)]},'children':[_0x486518]});}[_0x17e15e(0x1ba)](){const _0xdcbb9c=_0x17e15e;this[_0xdcbb9c(0x1cb)][_0xdcbb9c(0x1ba)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c36(_0x473563,_0x16a906){const _0x49d71b=_0x49d7();return _0x2c36=function(_0x2c36a2,_0x3d651c){_0x2c36a2=_0x2c36a2-0x7e;let _0x1b8f87=_0x49d71b[_0x2c36a2];return _0x1b8f87;},_0x2c36(_0x473563,_0x16a906);}const _0x424a38=_0x2c36;(function(_0x5d9a8f,_0x2df10a){const _0x4e5a80=_0x2c36,_0x28ffd2=_0x5d9a8f();while(!![]){try{const _0xdc4e71=parseInt(_0x4e5a80(0x95))/0x1+parseInt(_0x4e5a80(0x87))/0x2*(parseInt(_0x4e5a80(0x9e))/0x3)+parseInt(_0x4e5a80(0xa8))/0x4+parseInt(_0x4e5a80(0x9b))/0x5*(-parseInt(_0x4e5a80(0x97))/0x6)+-parseInt(_0x4e5a80(0x89))/0x7+-parseInt(_0x4e5a80(0x82))/0x8*(-parseInt(_0x4e5a80(0x7f))/0x9)+parseInt(_0x4e5a80(0xa4))/0xa*(parseInt(_0x4e5a80(0x83))/0xb);if(_0xdc4e71===_0x2df10a)break;else _0x28ffd2['push'](_0x28ffd2['shift']());}catch(_0x23580b){_0x28ffd2['push'](_0x28ffd2['shift']());}}}(_0x49d7,0xefed4));function _0x49d7(){const _0x437b0d=['Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','6479544tAbyXE','33RJpkIk','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','longer','Confident','4DihZeL','make','10524472BfITRg','Correctness','shorter','custom','Longer','professional','direct','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','dropdown','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Adjust\x20length','length','438484wlfOas','Friendly','6WNaqkb','casual','tone','readability','8914920hWhxcI','Shorter','confident','1411329mxlgSg','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Professional','Casual','clarity','Readability','3768940Vogqmn','Custom\x20command','friendly','correctness','557128dKCwHb','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Clarity','Adjust\x20tone\x20and\x20style','make-tone','18bolDmM','Direct'];_0x49d7=function(){return _0x437b0d;};return _0x49d7();}export const AI_REVIEW_CHECKS=[{'id':_0x424a38(0x8c),'commandId':_0x424a38(0x8c),'title':_0x424a38(0xa5),'description':_0x424a38(0x90),'isParameterized':!0x0},{'id':_0x424a38(0xa7),'commandId':_0x424a38(0xa7),'title':_0x424a38(0x8a),'description':_0x424a38(0x84),'isParameterized':!0x1},{'id':_0x424a38(0xa2),'commandId':_0x424a38(0xa2),'title':_0x424a38(0xaa),'description':_0x424a38(0x92),'isParameterized':!0x1},{'id':_0x424a38(0x9a),'commandId':_0x424a38(0x9a),'title':_0x424a38(0xa3),'description':_0x424a38(0xa9),'isParameterized':!0x1},{'id':_0x424a38(0x94),'commandId':_0x424a38(0x88),'title':_0x424a38(0x93),'description':_0x424a38(0x81),'isParameterized':!0x0,'options':[{'formType':_0x424a38(0x91),'label':_0x424a38(0x93),'default':_0x424a38(0x85),'data':[{'label':_0x424a38(0x8d),'id':_0x424a38(0x85)},{'label':_0x424a38(0x9c),'id':_0x424a38(0x8b)}]}]},{'id':_0x424a38(0x99),'commandId':_0x424a38(0x7e),'title':_0x424a38(0xab),'description':_0x424a38(0x9f),'isParameterized':!0x0,'options':[{'formType':_0x424a38(0x91),'label':_0x424a38(0xab),'default':_0x424a38(0x98),'data':[{'label':_0x424a38(0xa1),'id':_0x424a38(0x98)},{'label':_0x424a38(0x80),'id':_0x424a38(0x8f)},{'label':_0x424a38(0x96),'id':_0x424a38(0xa6)},{'label':_0x424a38(0x86),'id':_0x424a38(0x9d)},{'label':_0x424a38(0xa0),'id':_0x424a38(0x8e)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2350c0=_0x95bc;(function(_0x202843,_0x27aee1){var _0xc23b40=_0x95bc,_0x59bf9e=_0x202843();while(!![]){try{var _0x5385ce=-parseInt(_0xc23b40(0x1e7))/0x1*(parseInt(_0xc23b40(0x1de))/0x2)+parseInt(_0xc23b40(0x1e8))/0x3*(-parseInt(_0xc23b40(0x1e1))/0x4)+-parseInt(_0xc23b40(0x1e0))/0x5+-parseInt(_0xc23b40(0x1dc))/0x6+-parseInt(_0xc23b40(0x1d9))/0x7*(-parseInt(_0xc23b40(0x1da))/0x8)+-parseInt(_0xc23b40(0x1e5))/0x9+-parseInt(_0xc23b40(0x1e4))/0xa*(-parseInt(_0xc23b40(0x1e6))/0xb);if(_0x5385ce===_0x27aee1)break;else _0x59bf9e['push'](_0x59bf9e['shift']());}catch(_0x108b8a){_0x59bf9e['push'](_0x59bf9e['shift']());}}}(_0x13a4,0x77fb7));import{ContextPlugin as _0x5d2016}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x3aa640}from'./aireviewmodeui.js';function _0x95bc(_0x34722d,_0x2a5a3f){var _0x13a4d0=_0x13a4();return _0x95bc=function(_0x95bc25,_0x32fadc){_0x95bc25=_0x95bc25-0x1d9;var _0xb87dee=_0x13a4d0[_0x95bc25];return _0xb87dee;},_0x95bc(_0x34722d,_0x2a5a3f);}import{AIReviewCoreEditing as _0x4ee7a0}from'../aireviewcore/aireviewcoreediting.js';function _0x13a4(){var _0x5b9bcc=['pluginName','4666fawuTX','AIReviewMode','3334090SyLoai','796FxBwpW','isOfficialPlugin','isPremiumPlugin','29445970pSzEfb','7376796zziREX','11LsxynB','133rxTtWB','6864ZKOoaN','7UGOVhG','136424ywIaxQ','requires','1308840nKMTrw'];_0x13a4=function(){return _0x5b9bcc;};return _0x13a4();}import{AIReviewModeController as _0x55dca2}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x5d2016{static get[_0x2350c0(0x1db)](){return[_0x55dca2,_0x3aa640,_0x4ee7a0];}static get[_0x2350c0(0x1dd)](){var _0x2f2185=_0x2350c0;return _0x2f2185(0x1df);}static get[_0x2350c0(0x1e2)](){return!0x0;}static get[_0x2350c0(0x1e3)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54c352=_0x3f53;(function(_0x5c1e37,_0x41eabc){const _0x36e128=_0x3f53,_0x1b7f34=_0x5c1e37();while(!![]){try{const _0x518c73=-parseInt(_0x36e128(0x151))/0x1*(-parseInt(_0x36e128(0x1ad))/0x2)+-parseInt(_0x36e128(0x19b))/0x3+parseInt(_0x36e128(0x18f))/0x4+-parseInt(_0x36e128(0x18a))/0x5+parseInt(_0x36e128(0x144))/0x6+parseInt(_0x36e128(0x192))/0x7+-parseInt(_0x36e128(0x16a))/0x8;if(_0x518c73===_0x41eabc)break;else _0x1b7f34['push'](_0x1b7f34['shift']());}catch(_0x3af6bb){_0x1b7f34['push'](_0x1b7f34['shift']());}}}(_0x3a36,0xca1ac));import{CKEditorError as _0x529c21}from'ckeditor5/src/utils.js';function _0x3a36(){const _0x6bd26=['_onActivateChange','_OPTIONS_LABEL','_translateReviewCheck','editing','2886525LrdnTK','changeId','ai-review-mode-command-unavailable-due-to-missing-model','_onReviewCheckResultActivated','isExtra','2556256sELMwg','label','_initRequiredPlugins','5147856jSKuAF','change','checks','params','origin','getAvailableModels','_onChangeMarkerHovered','map','AIReviewModeController','2210061mKarNn','_aiReviewCoreUi','toUpperCase','_getTranslationWithDefault','resetActiveStateInResults','all','content','markerElement','default','_aiConnector','ai-review-mode-non-existent-commands-used','context','get','domEvent','model','options','diffContent','uiInteraction','4HSxbSp','_onReviewCheckResultDeactivated','_onDeactivateChange','join','_getChangeContentElement','init','activateChange','length','startsWith','ai.review.extraCommands','setAllMarkersAsInactive','filter','document','isCustom','title','ck-ai_review-diff','config','AI_REVIEW_CHECK_','_onDiffChange','ai.review.availableCommands','AIReviewCoreEditing','_isDiffOn','balloon','recommended','hover','toggleDiff','setActiveStateInResults','setMarkersInElementAsActive','removeClass','_createReviewCheckRun','viewportOffset','ck-ai_review-highlights','3784758CUSKMt','deactivateChange','_onChangeMarkerClicked','getDomRoot','getRoot','_getChecksList','_getModels','_currentReviewCheckRun','_getExtraChecks','_onReviewCheckRun','_logErrorForNonExistentChecks','getDocumentData','ai-review-mode-models-unable-to-retrieve','737036zepHTH','some','view','_diffContent','_onChangeMarkerBlurred','_markChangePositionInEditorContent','showChangeBalloon','markChangePositionInEditorContent','forEach','_OPTIONS_DATA_','push','pluginName','hideChangeBalloon','hideDiffInBalloon','getAll','_DESCRIPTION','removeCheckById','getMarkerElementForChange','getElement','setupChecks','prompt','getClassNames','ck-ai_review-','click','_logError','10700200RCGpDo','data','define','panel','plugins','isAnyChangeActivated','defaultModel','_aiReviewCoreEditing','addClass','getDefault','_changeActivationSource','find','showDiffInBalloon','_TITLE','listenTo','args','_hasDefaultAvailableCommands','getEditor','_scrollToChange','custom','models','locale','ai.models','replaceAll','AIReviewModeUI','description','getChangeById','_filterChecksWithMissingModel'];_0x3a36=function(){return _0x6bd26;};return _0x3a36();}import{AIReviewCoreController as _0x130ab2}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1ccb37}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x225955}from'./model/aireviewmodechecklist.js';function _0x3f53(_0x574979,_0x4e50b4){const _0x3a360e=_0x3a36();return _0x3f53=function(_0x3f5309,_0xe32a82){_0x3f5309=_0x3f5309-0x12c;let _0x597069=_0x3a360e[_0x3f5309];return _0x597069;},_0x3f53(_0x574979,_0x4e50b4);}import{AIReviewCustomCheckRun as _0x4ea3c9}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x170971}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x1ba476}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x31b544}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x2c5d11}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0xa27681}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x130ab2{static get[_0x54c352(0x15c)](){const _0x39d00b=_0x54c352;return _0x39d00b(0x19a);}[_0x54c352(0x139)]=!0x1;[_0x54c352(0x17a)]=!0x1;constructor(_0x2d4444){const _0x264298=_0x54c352;super(_0x2d4444),this[_0x264298(0x17a)]=!this[_0x264298(0x1a6)][_0x264298(0x134)][_0x264298(0x1a7)](_0x264298(0x137)),this[_0x264298(0x1a6)][_0x264298(0x134)][_0x264298(0x16c)](_0x264298(0x137),_0x1ccb37[_0x264298(0x199)](_0x2bbc22=>_0x2bbc22['id'])),this[_0x264298(0x1a6)][_0x264298(0x134)][_0x264298(0x16c)](_0x264298(0x12d),[]);}async[_0x54c352(0x1b2)](){const _0x1de67a=_0x54c352;await super[_0x1de67a(0x1b2)](),this[_0x1de67a(0x178)](this[_0x1de67a(0x19c)],_0x1de67a(0x13d),(_0x266ce0,_0x2d0880)=>{const _0x59a421=_0x1de67a;this[_0x59a421(0x139)]=_0x2d0880['on'],this[_0x59a421(0x136)](this[_0x59a421(0x139)]);});}[_0x54c352(0x191)](){const _0x2bbc55=_0x54c352;super[_0x2bbc55(0x191)](),this[_0x2bbc55(0x19c)]=this[_0x2bbc55(0x1a6)][_0x2bbc55(0x16e)][_0x2bbc55(0x1a7)](_0x2bbc55(0x182)),this[_0x2bbc55(0x171)]=this[_0x2bbc55(0x1a6)][_0x2bbc55(0x16e)][_0x2bbc55(0x1a7)](_0x2bbc55(0x138));}[_0x54c352(0x141)](_0x4751a0,_0x66647){const _0xcb0e0a=_0x54c352;return _0x4751a0[_0xcb0e0a(0x131)]?new _0x4ea3c9(_0x4751a0[_0xcb0e0a(0x179)][_0xcb0e0a(0x165)],_0x4751a0[_0xcb0e0a(0x179)][_0xcb0e0a(0x1a9)],this[_0xcb0e0a(0x171)][_0xcb0e0a(0x14f)](),_0x66647,this[_0xcb0e0a(0x1a4)]):_0x66647[_0xcb0e0a(0x18e)]?new _0xa27681(_0x66647[_0xcb0e0a(0x165)],_0x66647[_0xcb0e0a(0x170)]['id'],this[_0xcb0e0a(0x171)][_0xcb0e0a(0x14f)](),_0x66647,this[_0xcb0e0a(0x1a4)]):new _0x170971(this[_0xcb0e0a(0x171)][_0xcb0e0a(0x14f)](),_0x66647,this[_0xcb0e0a(0x1a4)],_0x4751a0[_0xcb0e0a(0x195)],_0x4751a0[_0xcb0e0a(0x179)]);}[_0x54c352(0x18d)](_0x255e69){const _0x1f52e7=_0x54c352;this[_0x1f52e7(0x19c)][_0x1f52e7(0x13e)](_0x255e69[_0x1f52e7(0x193)]['id']),this[_0x1f52e7(0x17c)](_0x255e69[_0x1f52e7(0x193)]['id']);const _0x1bcbb8=this[_0x1f52e7(0x171)][_0x1f52e7(0x162)](_0x255e69[_0x1f52e7(0x193)]['id']);if(!_0x1bcbb8)return;const _0x517602=this[_0x1f52e7(0x171)][_0x1f52e7(0x17b)]();this[_0x1f52e7(0x19c)][_0x1f52e7(0x157)](_0x255e69[_0x1f52e7(0x193)],()=>_0x1bcbb8[_0x1f52e7(0x163)](),void 0x0,_0x1f52e7(0x168),_0x517602?.[_0x1f52e7(0x189)]?.[_0x1f52e7(0x153)]?.[_0x1f52e7(0x147)](),_0x517602?.['ui']?.[_0x1f52e7(0x142)]),this[_0x1f52e7(0x171)][_0x1f52e7(0x13f)](_0x255e69[_0x1f52e7(0x193)]['id']);}[_0x54c352(0x1ae)](){const _0x21bccc=_0x54c352;this[_0x21bccc(0x19c)][_0x21bccc(0x19f)](),this[_0x21bccc(0x19c)][_0x21bccc(0x15d)](),this[_0x21bccc(0x171)][_0x21bccc(0x12e)]();}[_0x54c352(0x186)](_0x14da56){const _0x4667c5=_0x54c352;this[_0x4667c5(0x14b)]&&_0x4667c5(0x168)===_0x14da56[_0x4667c5(0x1ac)]&&(this[_0x4667c5(0x174)]=_0x4667c5(0x16d),this[_0x4667c5(0x14b)][_0x4667c5(0x1b3)](_0x14da56['id']));}[_0x54c352(0x1af)](_0x500212){const _0x4e1e4f=_0x54c352;this[_0x4e1e4f(0x14b)]&&_0x4e1e4f(0x13a)===_0x500212[_0x4e1e4f(0x196)]&&this[_0x4e1e4f(0x14b)][_0x4e1e4f(0x145)]();}[_0x54c352(0x146)](_0x2de1fd,_0x37d771){const _0x5d070a=_0x54c352;if(!this[_0x5d070a(0x14b)])return;this[_0x5d070a(0x174)]=_0x5d070a(0x1a1),this[_0x5d070a(0x14b)][_0x5d070a(0x1b3)](_0x37d771[_0x5d070a(0x18b)]);const _0x524e3f=this[_0x5d070a(0x14b)][_0x5d070a(0x184)](_0x37d771[_0x5d070a(0x18b)]);if(!_0x524e3f)return;const _0x2c0134=this[_0x5d070a(0x171)][_0x5d070a(0x17b)]();this[_0x5d070a(0x19c)][_0x5d070a(0x157)](_0x524e3f,_0x37d771[_0x5d070a(0x1a2)],_0x37d771[_0x5d070a(0x1a8)],_0x5d070a(0x168),_0x2c0134?.[_0x5d070a(0x189)]?.[_0x5d070a(0x153)]?.[_0x5d070a(0x147)](),_0x2c0134?.['ui']?.[_0x5d070a(0x142)]);}[_0x54c352(0x198)](_0x5eb2bb,_0x37ece4){const _0x5d970c=_0x54c352;if(!this[_0x5d970c(0x14b)])return;if(this[_0x5d970c(0x14b)][_0x5d970c(0x16f)]())return;const _0x5e21b2=this[_0x5d970c(0x14b)][_0x5d970c(0x184)](_0x37ece4[_0x5d970c(0x18b)]);if(!_0x5e21b2)return;const _0x1ac6fa=this[_0x5d970c(0x171)][_0x5d970c(0x17b)]();this[_0x5d970c(0x19c)][_0x5d970c(0x157)](_0x5e21b2,_0x37ece4[_0x5d970c(0x1a2)],_0x37ece4[_0x5d970c(0x1a8)],_0x5d970c(0x13c),_0x1ac6fa?.[_0x5d970c(0x189)]?.[_0x5d970c(0x153)]?.[_0x5d970c(0x147)](),_0x1ac6fa?.['ui']?.[_0x5d970c(0x142)]);}[_0x54c352(0x155)](){const _0x383514=_0x54c352;if(!this[_0x383514(0x14b)])return;this[_0x383514(0x14b)][_0x383514(0x16f)]()||this[_0x383514(0x19c)][_0x383514(0x15d)]();}[_0x54c352(0x1b1)](_0x4db51b){const _0x340235=_0x54c352,_0x144026=this[_0x340235(0x171)][_0x340235(0x162)](_0x4db51b);return _0x144026?_0x144026[_0x340235(0x163)]():null;}[_0x54c352(0x156)](_0x447707,_0x348674){const _0xeff18a=_0x54c352;this[_0xeff18a(0x171)][_0xeff18a(0x158)](_0x447707,_0x348674);}[_0x54c352(0x154)](_0x20d88b,_0x588a4f){const _0x5e4794=_0x54c352;return this[_0x5e4794(0x171)][_0x5e4794(0x1ab)](_0x20d88b,_0x588a4f);}[_0x54c352(0x14d)](){const _0x3b0449=_0x54c352;this[_0x3b0449(0x136)](this[_0x3b0449(0x139)]);}[_0x54c352(0x136)](_0x3e335a){const _0x538a97=_0x54c352,_0x35f135=this[_0x538a97(0x171)][_0x538a97(0x17b)]();_0x3e335a?this[_0x538a97(0x19c)][_0x538a97(0x15e)]():this[_0x538a97(0x19c)][_0x538a97(0x176)](),_0x35f135&&_0x35f135[_0x538a97(0x189)][_0x538a97(0x153)][_0x538a97(0x193)](_0xd79ae3=>{const _0x317668=_0x538a97,_0x2fd4cd=_0x35f135[_0x317668(0x189)][_0x317668(0x153)][_0x317668(0x130)][_0x317668(0x148)]();for(const _0x5be129 of _0x2fd4cd[_0x317668(0x166)]())_0x5be129[_0x317668(0x12c)](_0x317668(0x167))&&_0xd79ae3[_0x317668(0x140)](_0x5be129,_0x2fd4cd);_0xd79ae3[_0x317668(0x172)](_0x3e335a?_0x317668(0x133):_0x317668(0x143),_0x2fd4cd);});}async[_0x54c352(0x149)](){const _0x1458ac=_0x54c352,_0xd70032=[..._0x1ccb37,...this[_0x1458ac(0x14c)]()],_0x3b89c8=this[_0x1458ac(0x1a6)][_0x1458ac(0x134)][_0x1458ac(0x1a7)](_0x1458ac(0x137))||[];this[_0x1458ac(0x14e)](_0x3b89c8,_0xd70032);let _0x5e386c=_0xd70032;this[_0x1458ac(0x17a)]||(_0x5e386c=_0x3b89c8[_0x1458ac(0x199)](_0x3c0dda=>_0xd70032[_0x1458ac(0x175)](_0x104744=>_0x104744['id']===_0x3c0dda))[_0x1458ac(0x12f)](_0x25ad25=>!!_0x25ad25)),_0x5e386c=_0x5e386c[_0x1458ac(0x199)](_0x114d8f=>_0x114d8f[_0x1458ac(0x18e)]?_0x114d8f:this[_0x1458ac(0x188)](_0x114d8f));const _0x112b77=_0x5e386c[_0x1458ac(0x152)](_0x5653d3=>_0x5653d3[_0x1458ac(0x18e)]||_0x1458ac(0x17d)===_0x5653d3['id']);let _0x2c997b=[],_0x1bdee1=[],_0x366476=null;if(_0x112b77){const _0x531e04=await this[_0x1458ac(0x14a)]();_0x2c997b=_0x531e04[_0x1458ac(0x1a0)],_0x1bdee1=_0x531e04[_0x1458ac(0x13b)],_0x366476=_0x531e04[_0x1458ac(0x1a3)];}const _0x2345f5=new _0x225955(_0x2c997b,_0x1bdee1,_0x366476);return _0x2345f5[_0x1458ac(0x164)](_0x5e386c),_0x112b77&&this[_0x1458ac(0x185)](_0x2345f5),_0x2345f5;}[_0x54c352(0x14c)](){const _0x4d9d9b=_0x54c352;return(this[_0x4d9d9b(0x1a6)][_0x4d9d9b(0x134)][_0x4d9d9b(0x1a7)](_0x4d9d9b(0x12d))||[])[_0x4d9d9b(0x199)](_0x48561b=>({'id':_0x48561b['id'],'commandId':_0x48561b['id'],'title':_0x48561b[_0x4d9d9b(0x190)],'description':_0x48561b[_0x4d9d9b(0x183)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x48561b[_0x4d9d9b(0x165)],'model':_0x48561b[_0x4d9d9b(0x1a9)]}));}[_0x54c352(0x14e)](_0xd36ea5,_0x284562){const _0x3788dd=_0x54c352,_0x180575=_0xd36ea5[_0x3788dd(0x12f)](_0x2dc303=>!_0x284562[_0x3788dd(0x152)](_0x43acf4=>_0x43acf4['id']===_0x2dc303));_0x180575[_0x3788dd(0x1b4)]&&this[_0x3788dd(0x169)](new _0x529c21(_0x3788dd(0x1a5),this,{'commandIds':_0x180575[_0x3788dd(0x1b0)](',\x20')}),!0x0);}async[_0x54c352(0x14a)](){const _0x369389=_0x54c352;try{const _0x22d89d=new _0x1ba476({'connector':this[_0x369389(0x1a4)],'config':this[_0x369389(0x1a6)][_0x369389(0x134)][_0x369389(0x1a7)](_0x369389(0x180)),'locale':this[_0x369389(0x1a6)][_0x369389(0x17f)]});return{'all':await _0x22d89d[_0x369389(0x15f)](),'recommended':await _0x22d89d[_0x369389(0x197)](),'default':await _0x22d89d[_0x369389(0x173)]()};}catch(_0x1182bb){return this[_0x369389(0x169)](new _0x529c21(_0x369389(0x150),this,void 0x0,_0x1182bb)),{'all':[],'recommended':[],'default':null};}}[_0x54c352(0x188)](_0x5ef96c){const _0x5d68ea=_0x54c352,_0x5f0938=_0x5d68ea(0x135)+_0x5ef96c['id'][_0x5d68ea(0x19d)]()[_0x5d68ea(0x181)]('-','_'),_0x25d656={..._0x5ef96c,'title':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x177),_0x5ef96c[_0x5d68ea(0x132)]),'description':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x160),_0x5ef96c[_0x5d68ea(0x183)])};return _0x5ef96c[_0x5d68ea(0x1aa)]&&(_0x25d656[_0x5d68ea(0x1aa)]=_0x5ef96c[_0x5d68ea(0x1aa)][_0x5d68ea(0x199)](_0x20b739=>({..._0x20b739,'label':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x187),_0x20b739[_0x5d68ea(0x190)]||''),'data':_0x20b739[_0x5d68ea(0x16b)]?_0x20b739[_0x5d68ea(0x16b)][_0x5d68ea(0x199)](_0x2a5af2=>({..._0x2a5af2,'label':this[_0x5d68ea(0x19e)](_0x5f0938+_0x5d68ea(0x15a)+_0x2a5af2['id'][_0x5d68ea(0x19d)](),_0x2a5af2[_0x5d68ea(0x190)])})):void 0x0}))),_0x25d656;}[_0x54c352(0x185)](_0x5e8915){const _0x340299=_0x54c352,_0x50c7c7=[];_0x5e8915[_0x340299(0x194)][_0x340299(0x159)](_0x4cda1a=>{const _0xad3d16=_0x340299;(_0x4cda1a instanceof _0x2c5d11&&!_0x4cda1a[_0xad3d16(0x170)]||_0x4cda1a instanceof _0x31b544&&!_0x4cda1a[_0xad3d16(0x17e)][_0xad3d16(0x1b4)])&&_0x50c7c7[_0xad3d16(0x15b)](_0x4cda1a['id']);}),_0x50c7c7[_0x340299(0x1b4)]&&_0x50c7c7[_0x340299(0x159)](_0x4aaa43=>{const _0x2af6da=_0x340299;_0x5e8915[_0x2af6da(0x161)](_0x4aaa43),this[_0x2af6da(0x169)](new _0x529c21(_0x2af6da(0x18c),this,{'commandId':_0x4aaa43}),!0x0);});}}
|
|
23
|
+
const _0x442761=_0x31c8;(function(_0x2f2df6,_0x406137){const _0x11f450=_0x31c8,_0x245e69=_0x2f2df6();while(!![]){try{const _0x152184=-parseInt(_0x11f450(0x12f))/0x1+parseInt(_0x11f450(0x123))/0x2+-parseInt(_0x11f450(0xc3))/0x3*(-parseInt(_0x11f450(0xc7))/0x4)+parseInt(_0x11f450(0xe7))/0x5*(parseInt(_0x11f450(0x132))/0x6)+parseInt(_0x11f450(0x13f))/0x7*(parseInt(_0x11f450(0x13c))/0x8)+-parseInt(_0x11f450(0x116))/0x9*(-parseInt(_0x11f450(0xc6))/0xa)+-parseInt(_0x11f450(0xfd))/0xb*(parseInt(_0x11f450(0xf1))/0xc);if(_0x152184===_0x406137)break;else _0x245e69['push'](_0x245e69['shift']());}catch(_0x247a71){_0x245e69['push'](_0x245e69['shift']());}}}(_0x76dd,0x561c3));import{CKEditorError as _0x1e09e8}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x4b6b31}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x595e44}from'./aireviewcheckdefinitions.js';function _0x31c8(_0x2020ef,_0x48474b){const _0x76dd52=_0x76dd();return _0x31c8=function(_0x31c81e,_0x1db82b){_0x31c81e=_0x31c81e-0xc0;let _0x5823f9=_0x76dd52[_0x31c81e];return _0x5823f9;},_0x31c8(_0x2020ef,_0x48474b);}import{AIReviewModeCheckList as _0x2db898}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0xd35207}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x57d764}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x5ec8a5}from'../aicore/model/aimodels.js';function _0x76dd(){const _0x59ad37=['content','ai.review.extraCommands','hideDiffInBalloon','args','_onReviewCheckRun','markChangePositionInEditorContent','1216966JOZzvl','_initRequiredPlugins','hideChangeBalloon','panel','domEvent','ai-review-mode-command-unavailable-due-to-missing-model','locale','toUpperCase','ck-ai_review-diff','find','_getModels','isExtra','704119hYfTAn','getAll','toggleDiff','175308xkTwtj','getAvailableModels','models','getDomRoot','ck-ai_review-highlights','_createReviewCheckRun','origin','getRoot','AI_REVIEW_CHECK_','setupChecks','376cKGWco','_hasDefaultAvailableCommands','title','77315KXbiqB','view','diffContent','ck-ai_review-','deactivateChange','filter','pluginName','recommended','replaceAll','getChangeById','params','changeId','_onDiffChange','getDocumentData','_isDiffOn','getElement','checks','14484fHRseC','_onChangeMarkerHovered','_TITLE','90FSqJmL','248oWzHra','options','_onReviewCheckResultActivated','_getTranslationWithDefault','resetActiveStateInResults','getEditor','hover','removeClass','all','_translateReviewCheck','_onChangeMarkerBlurred','_logError','getClassNames','_getExtraChecks','addClass','_onActivateChange','join','_logErrorForNonExistentChecks','ai.review.availableCommands','plugins','_filterChecksWithMissingModel','document','prompt','AIReviewCoreEditing','removeCheckById','_onReviewCheckResultDeactivated','ai.models','model','_aiConnector','getDefault','markerElement','_OPTIONS_LABEL','90PzxHpH','balloon','some','get','uiInteraction','defaultModel','startsWith','_currentReviewCheckRun','_onDeactivateChange','_onChangeMarkerClicked','2318028CGMokS','_markChangePositionInEditorContent','_DESCRIPTION','forEach','init','data','_getChangeContentElement','showDiffInBalloon','setMarkersInElementAsActive','editing','custom','_aiReviewCoreUi','55NHadZx','default','context','_OPTIONS_DATA_','ai-review-mode-non-existent-commands-used','_changeActivationSource','click','ai-review-mode-models-unable-to-retrieve','config','description','viewportOffset','_getChecksList','activateChange','_diffContent','define','setAllMarkersAsInactive','map','length','_scrollToChange','label','isCustom','listenTo','showChangeBalloon','change','push','69813lQalwm','getMarkerElementForChange','_aiReviewCoreEditing','isAnyChangeActivated','AIReviewModeController','setActiveStateInResults','AIReviewModeUI'];_0x76dd=function(){return _0x59ad37;};return _0x76dd();}import{AIReviewCheckCustom as _0x368e09}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x5ed0e3}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2e08c7}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x4b6b31{static get[_0x442761(0x145)](){const _0x3d432d=_0x442761;return _0x3d432d(0x11a);}[_0x442761(0xc0)]=!0x1;[_0x442761(0x13d)]=!0x1;constructor(_0x180d48){const _0x3ae440=_0x442761;super(_0x180d48),this[_0x3ae440(0x13d)]=!this[_0x3ae440(0xff)][_0x3ae440(0x105)][_0x3ae440(0xea)](_0x3ae440(0xd9)),this[_0x3ae440(0xff)][_0x3ae440(0x105)][_0x3ae440(0x10b)](_0x3ae440(0xd9),_0x595e44[_0x3ae440(0x10d)](_0x1e6842=>_0x1e6842['id'])),this[_0x3ae440(0xff)][_0x3ae440(0x105)][_0x3ae440(0x10b)](_0x3ae440(0x11e),[]);}async[_0x442761(0xf5)](){const _0x32a462=_0x442761;await super[_0x32a462(0xf5)](),this[_0x32a462(0x112)](this[_0x32a462(0xfc)],_0x32a462(0x131),(_0x35a793,_0x486135)=>{const _0x45635c=_0x32a462;this[_0x45635c(0xc0)]=_0x486135['on'],this[_0x45635c(0x14b)](this[_0x45635c(0xc0)]);});}[_0x442761(0x124)](){const _0x14eb7e=_0x442761;super[_0x14eb7e(0x124)](),this[_0x14eb7e(0xfc)]=this[_0x14eb7e(0xff)][_0x14eb7e(0xda)][_0x14eb7e(0xea)](_0x14eb7e(0x11c)),this[_0x14eb7e(0x118)]=this[_0x14eb7e(0xff)][_0x14eb7e(0xda)][_0x14eb7e(0xea)](_0x14eb7e(0xde));}[_0x442761(0x137)](_0x508b00,_0x4f3de5){const _0x266189=_0x442761;return _0x508b00[_0x266189(0x111)]?new _0xd35207(_0x508b00[_0x266189(0x120)][_0x266189(0xdd)],_0x508b00[_0x266189(0x120)][_0x266189(0xe2)],this[_0x266189(0x118)][_0x266189(0x14c)](),_0x4f3de5,this[_0x266189(0xe3)]):_0x4f3de5[_0x266189(0x12e)]?new _0x2e08c7(_0x4f3de5[_0x266189(0xdd)],_0x4f3de5[_0x266189(0xec)]['id'],this[_0x266189(0x118)][_0x266189(0x14c)](),_0x4f3de5,this[_0x266189(0xe3)]):new _0x57d764(this[_0x266189(0x118)][_0x266189(0x14c)](),_0x4f3de5,this[_0x266189(0xe3)],_0x508b00[_0x266189(0x149)],_0x508b00[_0x266189(0x120)]);}[_0x442761(0xc9)](_0x52b13b){const _0x11f0c8=_0x442761;this[_0x11f0c8(0xfc)][_0x11f0c8(0x11b)](_0x52b13b[_0x11f0c8(0x114)]['id']),this[_0x11f0c8(0x10f)](_0x52b13b[_0x11f0c8(0x114)]['id']);const _0x2dfe09=this[_0x11f0c8(0x118)][_0x11f0c8(0x117)](_0x52b13b[_0x11f0c8(0x114)]['id']);if(!_0x2dfe09)return;const _0x2d4878=this[_0x11f0c8(0x118)][_0x11f0c8(0xcc)]();this[_0x11f0c8(0xfc)][_0x11f0c8(0x113)](_0x52b13b[_0x11f0c8(0x114)],()=>_0x2dfe09[_0x11f0c8(0xc1)](),void 0x0,_0x11f0c8(0x103),_0x2d4878?.[_0x11f0c8(0xfa)]?.[_0x11f0c8(0x140)]?.[_0x11f0c8(0x135)](),_0x2d4878?.['ui']?.[_0x11f0c8(0x107)]),this[_0x11f0c8(0x118)][_0x11f0c8(0xf9)](_0x52b13b[_0x11f0c8(0x114)]['id']);}[_0x442761(0xe0)](){const _0x50bf49=_0x442761;this[_0x50bf49(0xfc)][_0x50bf49(0xcb)](),this[_0x50bf49(0xfc)][_0x50bf49(0x125)](),this[_0x50bf49(0x118)][_0x50bf49(0x10c)]();}[_0x442761(0xd6)](_0x328a43){const _0x39cfda=_0x442761;this[_0x39cfda(0xee)]&&_0x39cfda(0x103)===_0x328a43[_0x39cfda(0xeb)]&&(this[_0x39cfda(0x102)]=_0x39cfda(0x126),this[_0x39cfda(0xee)][_0x39cfda(0x109)](_0x328a43['id']));}[_0x442761(0xef)](_0x54e120){const _0x22bcc7=_0x442761;this[_0x22bcc7(0xee)]&&_0x22bcc7(0xe8)===_0x54e120[_0x22bcc7(0x138)]&&this[_0x22bcc7(0xee)][_0x22bcc7(0x143)]();}[_0x442761(0xf0)](_0x5a14e6,_0x55e606){const _0x41b4f8=_0x442761;if(!this[_0x41b4f8(0xee)])return;this[_0x41b4f8(0x102)]=_0x41b4f8(0x11d),this[_0x41b4f8(0xee)][_0x41b4f8(0x109)](_0x55e606[_0x41b4f8(0x14a)]);const _0x5d1c73=this[_0x41b4f8(0xee)][_0x41b4f8(0x148)](_0x55e606[_0x41b4f8(0x14a)]);if(!_0x5d1c73)return;const _0x251b51=this[_0x41b4f8(0x118)][_0x41b4f8(0xcc)]();this[_0x41b4f8(0xfc)][_0x41b4f8(0x113)](_0x5d1c73,_0x55e606[_0x41b4f8(0xe5)],_0x55e606[_0x41b4f8(0x127)],_0x41b4f8(0x103),_0x251b51?.[_0x41b4f8(0xfa)]?.[_0x41b4f8(0x140)]?.[_0x41b4f8(0x135)](),_0x251b51?.['ui']?.[_0x41b4f8(0x107)]);}[_0x442761(0xc4)](_0x556c3f,_0xf5c572){const _0x4303c7=_0x442761;if(!this[_0x4303c7(0xee)])return;if(this[_0x4303c7(0xee)][_0x4303c7(0x119)]())return;const _0x349d0d=this[_0x4303c7(0xee)][_0x4303c7(0x148)](_0xf5c572[_0x4303c7(0x14a)]);if(!_0x349d0d)return;const _0x4d0c06=this[_0x4303c7(0x118)][_0x4303c7(0xcc)]();this[_0x4303c7(0xfc)][_0x4303c7(0x113)](_0x349d0d,_0xf5c572[_0x4303c7(0xe5)],_0xf5c572[_0x4303c7(0x127)],_0x4303c7(0xcd),_0x4d0c06?.[_0x4303c7(0xfa)]?.[_0x4303c7(0x140)]?.[_0x4303c7(0x135)](),_0x4d0c06?.['ui']?.[_0x4303c7(0x107)]);}[_0x442761(0xd1)](){const _0x5ab82b=_0x442761;if(!this[_0x5ab82b(0xee)])return;this[_0x5ab82b(0xee)][_0x5ab82b(0x119)]()||this[_0x5ab82b(0xfc)][_0x5ab82b(0x125)]();}[_0x442761(0xf7)](_0x2710f5){const _0x4d3279=_0x442761,_0x2a087d=this[_0x4d3279(0x118)][_0x4d3279(0x117)](_0x2710f5);return _0x2a087d?_0x2a087d[_0x4d3279(0xc1)]():null;}[_0x442761(0xf2)](_0x43e1da,_0x8cf4ca){const _0x76069a=_0x442761;this[_0x76069a(0x118)][_0x76069a(0x122)](_0x43e1da,_0x8cf4ca);}[_0x442761(0x10a)](_0x5de428,_0x83099f){const _0x81b8de=_0x442761;return this[_0x81b8de(0x118)][_0x81b8de(0x141)](_0x5de428,_0x83099f);}[_0x442761(0x121)](){const _0x18a386=_0x442761;this[_0x18a386(0x14b)](this[_0x18a386(0xc0)]);}[_0x442761(0x14b)](_0x23b299){const _0x467add=_0x442761,_0x317bc6=this[_0x467add(0x118)][_0x467add(0xcc)]();_0x23b299?this[_0x467add(0xfc)][_0x467add(0x11f)]():this[_0x467add(0xfc)][_0x467add(0xf8)](),_0x317bc6&&_0x317bc6[_0x467add(0xfa)][_0x467add(0x140)][_0x467add(0x114)](_0x3274cf=>{const _0x3f3ac6=_0x467add,_0x4eeb19=_0x317bc6[_0x3f3ac6(0xfa)][_0x3f3ac6(0x140)][_0x3f3ac6(0xdc)][_0x3f3ac6(0x139)]();for(const _0x5cbeda of _0x4eeb19[_0x3f3ac6(0xd3)]())_0x5cbeda[_0x3f3ac6(0xed)](_0x3f3ac6(0x142))&&_0x3274cf[_0x3f3ac6(0xce)](_0x5cbeda,_0x4eeb19);_0x3274cf[_0x3f3ac6(0xd5)](_0x23b299?_0x3f3ac6(0x12b):_0x3f3ac6(0x136),_0x4eeb19);});}async[_0x442761(0x108)](){const _0xbe0d4c=_0x442761,_0x5b2bc0=[..._0x595e44,...this[_0xbe0d4c(0xd4)]()],_0x1f4504=this[_0xbe0d4c(0xff)][_0xbe0d4c(0x105)][_0xbe0d4c(0xea)](_0xbe0d4c(0xd9))||[];this[_0xbe0d4c(0xd8)](_0x1f4504,_0x5b2bc0);let _0x4195a1=_0x5b2bc0;this[_0xbe0d4c(0x13d)]||(_0x4195a1=_0x1f4504[_0xbe0d4c(0x10d)](_0x4df2f8=>_0x5b2bc0[_0xbe0d4c(0x12c)](_0xa9e8eb=>_0xa9e8eb['id']===_0x4df2f8))[_0xbe0d4c(0x144)](_0x49f937=>!!_0x49f937)),_0x4195a1=_0x4195a1[_0xbe0d4c(0x10d)](_0x2aae23=>_0x2aae23[_0xbe0d4c(0x12e)]?_0x2aae23:this[_0xbe0d4c(0xd0)](_0x2aae23));const _0x5771e3=_0x4195a1[_0xbe0d4c(0xe9)](_0x51962f=>_0x51962f[_0xbe0d4c(0x12e)]||_0xbe0d4c(0xfb)===_0x51962f['id']);let _0x40348a=[],_0x43b527=[],_0x371666=null;if(_0x5771e3){const _0x40cd10=await this[_0xbe0d4c(0x12d)]();_0x40348a=_0x40cd10[_0xbe0d4c(0xcf)],_0x43b527=_0x40cd10[_0xbe0d4c(0x146)],_0x371666=_0x40cd10[_0xbe0d4c(0xfe)];}const _0x2278d8=new _0x2db898(_0x40348a,_0x43b527,_0x371666);return _0x2278d8[_0xbe0d4c(0x13b)](_0x4195a1),_0x5771e3&&this[_0xbe0d4c(0xdb)](_0x2278d8),_0x2278d8;}[_0x442761(0xd4)](){const _0x4b76ab=_0x442761;return(this[_0x4b76ab(0xff)][_0x4b76ab(0x105)][_0x4b76ab(0xea)](_0x4b76ab(0x11e))||[])[_0x4b76ab(0x10d)](_0x37cf04=>({'id':_0x37cf04['id'],'commandId':_0x37cf04['id'],'title':_0x37cf04[_0x4b76ab(0x110)],'description':_0x37cf04[_0x4b76ab(0x106)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x37cf04[_0x4b76ab(0xdd)],'model':_0x37cf04[_0x4b76ab(0xe2)]}));}[_0x442761(0xd8)](_0x502e54,_0x13acfe){const _0x412ab4=_0x442761,_0x1ffc18=_0x502e54[_0x412ab4(0x144)](_0x3af7d5=>!_0x13acfe[_0x412ab4(0xe9)](_0xfcdefd=>_0xfcdefd['id']===_0x3af7d5));_0x1ffc18[_0x412ab4(0x10e)]&&this[_0x412ab4(0xd2)](new _0x1e09e8(_0x412ab4(0x101),this,{'commandIds':_0x1ffc18[_0x412ab4(0xd7)](',\x20')}),!0x0);}async[_0x442761(0x12d)](){const _0x10678f=_0x442761;try{const _0x1cb6b5=new _0x5ec8a5({'connector':this[_0x10678f(0xe3)],'config':this[_0x10678f(0xff)][_0x10678f(0x105)][_0x10678f(0xea)](_0x10678f(0xe1)),'locale':this[_0x10678f(0xff)][_0x10678f(0x129)]});return{'all':await _0x1cb6b5[_0x10678f(0x130)](),'recommended':await _0x1cb6b5[_0x10678f(0x133)](),'default':await _0x1cb6b5[_0x10678f(0xe4)]()};}catch(_0x1678fe){return this[_0x10678f(0xd2)](new _0x1e09e8(_0x10678f(0x104),this,void 0x0,_0x1678fe)),{'all':[],'recommended':[],'default':null};}}[_0x442761(0xd0)](_0x2fed2a){const _0x47a5a6=_0x442761,_0x494c5e=_0x47a5a6(0x13a)+_0x2fed2a['id'][_0x47a5a6(0x12a)]()[_0x47a5a6(0x147)]('-','_'),_0x23c75b={..._0x2fed2a,'title':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0xc5),_0x2fed2a[_0x47a5a6(0x13e)]),'description':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0xf3),_0x2fed2a[_0x47a5a6(0x106)])};return _0x2fed2a[_0x47a5a6(0xc8)]&&(_0x23c75b[_0x47a5a6(0xc8)]=_0x2fed2a[_0x47a5a6(0xc8)][_0x47a5a6(0x10d)](_0x308c4a=>({..._0x308c4a,'label':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0xe6),_0x308c4a[_0x47a5a6(0x110)]||''),'data':_0x308c4a[_0x47a5a6(0xf6)]?_0x308c4a[_0x47a5a6(0xf6)][_0x47a5a6(0x10d)](_0x3e2ef8=>({..._0x3e2ef8,'label':this[_0x47a5a6(0xca)](_0x494c5e+_0x47a5a6(0x100)+_0x3e2ef8['id'][_0x47a5a6(0x12a)](),_0x3e2ef8[_0x47a5a6(0x110)])})):void 0x0}))),_0x23c75b;}[_0x442761(0xdb)](_0x46351b){const _0x50fea8=_0x442761,_0x1ed08a=[];_0x46351b[_0x50fea8(0xc2)][_0x50fea8(0xf4)](_0xa21197=>{const _0x32cdf3=_0x50fea8;(_0xa21197 instanceof _0x5ed0e3&&!_0xa21197[_0x32cdf3(0xec)]||_0xa21197 instanceof _0x368e09&&!_0xa21197[_0x32cdf3(0x134)][_0x32cdf3(0x10e)])&&_0x1ed08a[_0x32cdf3(0x115)](_0xa21197['id']);}),_0x1ed08a[_0x50fea8(0x10e)]&&_0x1ed08a[_0x50fea8(0xf4)](_0x26731d=>{const _0x246aa0=_0x50fea8;_0x46351b[_0x246aa0(0xdf)](_0x26731d),this[_0x246aa0(0xd2)](new _0x1e09e8(_0x246aa0(0x128),this,{'commandId':_0x26731d}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46ffd3=_0x3ba1;(function(_0x29a38e,_0x4ed4a7){const _0x2252db=_0x3ba1,_0xb793e2=_0x29a38e();while(!![]){try{const _0x39127f=parseInt(_0x2252db(0xa7))/0x1*(parseInt(_0x2252db(0xa9))/0x2)+parseInt(_0x2252db(0xb9))/0x3*(parseInt(_0x2252db(0xb8))/0x4)+-parseInt(_0x2252db(0xaa))/0x5*(parseInt(_0x2252db(0xb5))/0x6)+-parseInt(_0x2252db(0xa6))/0x7+parseInt(_0x2252db(0xbf))/0x8+-parseInt(_0x2252db(0xc1))/0x9+parseInt(_0x2252db(0xba))/0xa*(parseInt(_0x2252db(0xc3))/0xb);if(_0x39127f===_0x4ed4a7)break;else _0xb793e2['push'](_0xb793e2['shift']());}catch(_0x28640a){_0xb793e2['push'](_0xb793e2['shift']());}}}(_0x539f,0xc83f9));import{FormHeaderView as _0x102d64}from'ckeditor5/src/ui.js';import{IconAIReview as _0x3c3a9c}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a7fac}from'../aicore/utils/common-translations.js';function _0x539f(){const _0x53e052=['AI_REVIEW_MODE','activateTab','AIReviewModeUI','leaveReview','addTab','6KfpODT','registerTab','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','1172188kcYctZ','12BGUxNA','1170340PexXTV','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','plugins','get','reviewMode','3054632MEPKeh','context','11263806MAzsZj','fire','143HrpXNl','getReviewCheckList','pluginName','createMainView','_mainView','11272100TnQpMt','1470307jgeJJo','ck-ai-header\x20ck-ai-header_review','2fRVjxJ','4318575FqSTVZ','AITabs','view','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE'];_0x539f=function(){return _0x53e052;};return _0x539f();}import{AIReviewCoreView as _0x401bb7}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x35b3a0}from'../aireviewcore/aireviewcoreui.js';function _0x3ba1(_0x5539f9,_0xf88e31){const _0x539f69=_0x539f();return _0x3ba1=function(_0x3ba157,_0x358e99){_0x3ba157=_0x3ba157-0xa4;let _0x5cb622=_0x539f69[_0x3ba157];return _0x5cb622;},_0x3ba1(_0x5539f9,_0xf88e31);}import{AIReviewCoreUICheckResultsView as _0x1b8099}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x2af2d0}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x260048}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x35b3a0{static get[_0x46ffd3(0xc5)](){const _0x152fbc=_0x46ffd3;return _0x152fbc(0xb2);}[_0x46ffd3(0xa4)](){const _0x57d88f=_0x46ffd3,_0x4211d1=this[_0x57d88f(0xc0)][_0x57d88f(0xad)],_0x21d78c=new _0x102d64(_0x4211d1,{'label':_0x5a7fac(_0x4211d1,_0x57d88f(0xb0)),'icon':_0x3c3a9c,'class':_0x57d88f(0xa8)});return new _0x401bb7(this[_0x57d88f(0xc0)][_0x57d88f(0xad)],{'header':_0x21d78c,'list':new _0x260048(_0x4211d1),'results':new _0x1b8099(_0x4211d1,{'generalErrorText':_0x5a7fac(_0x4211d1,_0x57d88f(0xaf))}),'completed':new _0x2af2d0(_0x4211d1,{'headerText':_0x5a7fac(_0x4211d1,_0x57d88f(0xae)),'emptyResultsText':_0x5a7fac(_0x4211d1,_0x57d88f(0xbb)),'buttonText':_0x5a7fac(_0x4211d1,_0x57d88f(0xb7))})});}[_0x46ffd3(0xb6)](){const _0x1cfccd=_0x46ffd3,_0x15c9f0=this[_0x1cfccd(0xc0)][_0x1cfccd(0xbc)][_0x1cfccd(0xbd)](_0x1cfccd(0xab));_0x15c9f0[_0x1cfccd(0xac)]['on'](_0x1cfccd(0xb1),(_0x177dc1,_0x4c5e6c)=>{const _0xdaf73f=_0x1cfccd;_0xdaf73f(0xbe)===_0x4c5e6c?this[_0xdaf73f(0xc2)](_0xdaf73f(0xc4)):this[_0xdaf73f(0xc2)](_0xdaf73f(0xb3));}),_0x15c9f0[_0x1cfccd(0xac)][_0x1cfccd(0xb4)]({'id':_0x1cfccd(0xbe),'buttonLabel':_0x5a7fac(this[_0x1cfccd(0xc0)][_0x1cfccd(0xad)],_0x1cfccd(0xb0)),'buttonIcon':_0x3c3a9c,'order':0x0,'content':this[_0x1cfccd(0xa5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x4f341e=_0x2276;function _0x2276(_0x352703,_0x2e8668){var _0x158b8e=_0x158b();return _0x2276=function(_0x227688,_0x4c3f53){_0x227688=_0x227688-0x6a;var _0x5f46a1=_0x158b8e[_0x227688];return _0x5f46a1;},_0x2276(_0x352703,_0x2e8668);}function _0x158b(){var _0x2ea1e6=['_models','models','217gmeMYd','537104DTDVct','2666439ZUBijt','1esNUyo','4908140hsjSnv','24510CHMtWY','_defaultModel','defaultModel','24450780VtSBUS','1944612HdiUOv','1845658WDvFXz','126mnLiLf'];_0x158b=function(){return _0x2ea1e6;};return _0x158b();}(function(_0x809110,_0xe5a938){var _0xbbc431=_0x2276,_0x2eeed7=_0x809110();while(!![]){try{var _0xbf1a66=parseInt(_0xbbc431(0x6a))/0x1*(parseInt(_0xbbc431(0x71))/0x2)+parseInt(_0xbbc431(0x77))/0x3+-parseInt(_0xbbc431(0x70))/0x4+parseInt(_0xbbc431(0x6b))/0x5+parseInt(_0xbbc431(0x6c))/0x6*(-parseInt(_0xbbc431(0x75))/0x7)+parseInt(_0xbbc431(0x76))/0x8*(parseInt(_0xbbc431(0x72))/0x9)+-parseInt(_0xbbc431(0x6f))/0xa;if(_0xbf1a66===_0xe5a938)break;else _0x2eeed7['push'](_0x2eeed7['shift']());}catch(_0x1e8323){_0x2eeed7['push'](_0x2eeed7['shift']());}}}(_0x158b,0xa4e08));import{AIReviewCheck as _0x3712de}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x3712de{[_0x4f341e(0x73)]=[];[_0x4f341e(0x6d)]=null;constructor(_0x4c298c,_0x4e2ca8,_0x3b8587){var _0x36a31f=_0x4f341e;super(_0x4c298c),this[_0x36a31f(0x73)]=_0x4e2ca8,this[_0x36a31f(0x6d)]=_0x3b8587;}get[_0x4f341e(0x74)](){var _0x325828=_0x4f341e;return this[_0x325828(0x73)];}get[_0x4f341e(0x6e)](){var _0x3fea55=_0x4f341e;return this[_0x3fea55(0x6d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x429c8e=_0x3209;(function(_0x5e0746,_0x5004d8){var _0x402a2a=_0x3209,_0x377dfc=_0x5e0746();while(!![]){try{var _0x33cd26=parseInt(_0x402a2a(0x13d))/0x1+-parseInt(_0x402a2a(0x139))/0x2+-parseInt(_0x402a2a(0x132))/0x3+parseInt(_0x402a2a(0x13c))/0x4*(parseInt(_0x402a2a(0x13e))/0x5)+parseInt(_0x402a2a(0x138))/0x6+parseInt(_0x402a2a(0x136))/0x7*(-parseInt(_0x402a2a(0x134))/0x8)+parseInt(_0x402a2a(0x137))/0x9*(parseInt(_0x402a2a(0x13a))/0xa);if(_0x33cd26===_0x5004d8)break;else _0x377dfc['push'](_0x377dfc['shift']());}catch(_0x4cb2fb){_0x377dfc['push'](_0x377dfc['shift']());}}}(_0x5ea6,0x20e03));function _0x3209(_0x5e8e80,_0x2f24fe){var _0x5ea674=_0x5ea6();return _0x3209=function(_0x3209ea,_0x428558){_0x3209ea=_0x3209ea-0x132;var _0x1488b5=_0x5ea674[_0x3209ea];return _0x1488b5;},_0x3209(_0x5e8e80,_0x2f24fe);}import{AIReviewCheck as _0x3e388b}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x3e388b{[_0x429c8e(0x140)]=!0x0;[_0x429c8e(0x135)];[_0x429c8e(0x13f)];[_0x429c8e(0x141)]=null;constructor(_0x3acfc7,_0x425df7,_0x21f21d){var _0x2a9b0e=_0x429c8e;super(_0x3acfc7),this[_0x2a9b0e(0x135)]=_0x3acfc7[_0x2a9b0e(0x135)],this[_0x2a9b0e(0x13f)]=_0x3acfc7[_0x2a9b0e(0x13f)],this[_0x2a9b0e(0x13f)]?this[_0x2a9b0e(0x141)]=_0x425df7[_0x2a9b0e(0x13b)](_0x371bf3=>_0x371bf3['id']===this[_0x2a9b0e(0x13f)])||null:this[_0x2a9b0e(0x141)]=_0x21f21d;}get[_0x429c8e(0x133)](){var _0x296437=_0x429c8e;return this[_0x296437(0x141)];}}function _0x5ea6(){var _0x4f8c57=['prompt','27139ayjVil','18cUaEIS','985554bWOgsx','418534BlgiDL','338180jBDmpJ','find','116OjHnXu','102402HewVtj','30405kjWZeK','model','isExtra','_defaultModel','23289vRCwVE','defaultModel','328zptJmp'];_0x5ea6=function(){return _0x4f8c57;};return _0x5ea6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1a3e(_0x22f054,_0x53dbad){var _0x40ecfc=_0x40ec();return _0x1a3e=function(_0x1a3e7a,_0x125d2c){_0x1a3e7a=_0x1a3e7a-0x124;var _0x342c1a=_0x40ecfc[_0x1a3e7a];return _0x342c1a;},_0x1a3e(_0x22f054,_0x53dbad);}var _0x276611=_0x1a3e;function _0x40ec(){var _0x12c268=['_sendRatingRequest','_prompt','188608WUZFoi','upsertCustomAIReviewRating','content','640mkscHH','7184025uCxhts','9613248KMpHdT','8DJBiLb','2430681umMavl','6043nSXvHC','3TZtPji','20TEYzVQ','subTitle','2885274FbeEIy','callCustomReview','_aiConnector','_createApiRequest','102WwNRSq','_model','_documentData','996oVRMNX'];_0x40ec=function(){return _0x12c268;};return _0x40ec();}(function(_0x48051c,_0x538f4d){var _0x345575=_0x1a3e,_0x5b539b=_0x48051c();while(!![]){try{var _0x2adae2=-parseInt(_0x345575(0x126))/0x1*(-parseInt(_0x345575(0x12e))/0x2)+parseInt(_0x345575(0x127))/0x3*(parseInt(_0x345575(0x134))/0x4)+parseInt(_0x345575(0x137))/0x5*(parseInt(_0x345575(0x131))/0x6)+-parseInt(_0x345575(0x12a))/0x7+parseInt(_0x345575(0x124))/0x8*(parseInt(_0x345575(0x138))/0x9)+parseInt(_0x345575(0x128))/0xa*(parseInt(_0x345575(0x125))/0xb)+-parseInt(_0x345575(0x139))/0xc;if(_0x2adae2===_0x538f4d)break;else _0x5b539b['push'](_0x5b539b['shift']());}catch(_0x186628){_0x5b539b['push'](_0x5b539b['shift']());}}}(_0x40ec,0x62812));import{AIReviewCheckRun as _0xf870d3}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0xf870d3{[_0x276611(0x133)];[_0x276611(0x12f)];constructor(_0x4c0cf3,_0x35453e,_0x239072,_0x8f7987,_0x49f535){var _0x322091=_0x276611;super(_0x239072,_0x8f7987,_0x49f535),this[_0x322091(0x133)]=_0x4c0cf3,this[_0x322091(0x12f)]=_0x35453e;}get[_0x276611(0x129)](){var _0x2ec97f=_0x276611;return this[_0x2ec97f(0x133)];}[_0x276611(0x12d)](){var _0x4ea8d5=_0x276611;return this[_0x4ea8d5(0x12c)][_0x4ea8d5(0x12b)]({'content':this[_0x4ea8d5(0x130)][_0x4ea8d5(0x136)],'prompt':this[_0x4ea8d5(0x133)],'model':this[_0x4ea8d5(0x12f)]});}[_0x276611(0x132)](_0x59eeed,_0x4b1112,_0x322784){var _0x26bb6e=_0x276611;return this[_0x26bb6e(0x12c)][_0x26bb6e(0x135)](_0x4b1112,_0x59eeed,_0x322784);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x15c1(){var _0x30183f=['85lahztW','93752yBOfmj','subTitle','239643EgmirK','13476fgiCxQ','134hzsgaV','prompt','1694xVhiMK','model','72nSbbGk','2518494qgObZP','664590sqzUlU','8443uPsNcZ','6866332LNWfny','_model','_prompt'];_0x15c1=function(){return _0x30183f;};return _0x15c1();}function _0x5d3e(_0x102857,_0x451fe1){var _0x15c115=_0x15c1();return _0x5d3e=function(_0x5d3e93,_0x61a51){_0x5d3e93=_0x5d3e93-0x178;var _0x500259=_0x15c115[_0x5d3e93];return _0x500259;},_0x5d3e(_0x102857,_0x451fe1);}var _0x25ad98=_0x5d3e;(function(_0xb90193,_0x481267){var _0xbff2c5=_0x5d3e,_0x310d1b=_0xb90193();while(!![]){try{var _0x5ebb4b=-parseInt(_0xbff2c5(0x17b))/0x1*(-parseInt(_0xbff2c5(0x184))/0x2)+parseInt(_0xbff2c5(0x179))/0x3+-parseInt(_0xbff2c5(0x180))/0x4*(-parseInt(_0xbff2c5(0x17f))/0x5)+-parseInt(_0xbff2c5(0x183))/0x6*(parseInt(_0xbff2c5(0x186))/0x7)+-parseInt(_0xbff2c5(0x178))/0x8*(parseInt(_0xbff2c5(0x182))/0x9)+parseInt(_0xbff2c5(0x17a))/0xa+-parseInt(_0xbff2c5(0x17c))/0xb;if(_0x5ebb4b===_0x481267)break;else _0x310d1b['push'](_0x310d1b['shift']());}catch(_0x1922f9){_0x310d1b['push'](_0x310d1b['shift']());}}}(_0x15c1,0x70f69));import{AIReviewCustomCheckRun as _0x3fe2f5}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x3fe2f5{get[_0x25ad98(0x181)](){return'';}set[_0x25ad98(0x185)](_0xd119e4){var _0x43d2a4=_0x25ad98;this[_0x43d2a4(0x17e)]=_0xd119e4;}set[_0x25ad98(0x187)](_0x4240b7){var _0x45f246=_0x25ad98;this[_0x45f246(0x17d)]=_0x4240b7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x498991=_0x4895;function _0x5700(){var _0x160b2f=['_recommendedModels','setupChecks','692253AuHuzN','3602512amwEOo','map','448633yzCYFw','1032SVTygJ','4782024NpYxLI','isExtra','12791088HHONWt','_checks','custom','8750odmPHc','2tOecbJ','_defaultModel','3008565tcGImV','_allModels'];_0x5700=function(){return _0x160b2f;};return _0x5700();}(function(_0x4ff356,_0x44c66a){var _0x1c3ef5=_0x4895,_0x24abdf=_0x4ff356();while(!![]){try{var _0x36917b=parseInt(_0x1c3ef5(0x1e4))/0x1*(parseInt(_0x1c3ef5(0x1ec))/0x2)+parseInt(_0x1c3ef5(0x1e1))/0x3+-parseInt(_0x1c3ef5(0x1e5))/0x4*(parseInt(_0x1c3ef5(0x1eb))/0x5)+parseInt(_0x1c3ef5(0x1e6))/0x6+parseInt(_0x1c3ef5(0x1dd))/0x7+parseInt(_0x1c3ef5(0x1e2))/0x8+-parseInt(_0x1c3ef5(0x1e8))/0x9;if(_0x36917b===_0x44c66a)break;else _0x24abdf['push'](_0x24abdf['shift']());}catch(_0x208839){_0x24abdf['push'](_0x24abdf['shift']());}}}(_0x5700,0x761b5));import{AIReviewCheckList as _0x3664e6}from'../../aireviewcore/model/aireviewchecklist.js';function _0x4895(_0xd29699,_0x4b8dfc){var _0x570061=_0x5700();return _0x4895=function(_0x48959e,_0x3512d2){_0x48959e=_0x48959e-0x1dc;var _0x35f2dd=_0x570061[_0x48959e];return _0x35f2dd;},_0x4895(_0xd29699,_0x4b8dfc);}import{AIReviewCheck as _0x133559}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x57e5dc}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x1ed1b7}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x3664e6{[_0x498991(0x1de)]=[];[_0x498991(0x1df)]=[];[_0x498991(0x1dc)]=null;constructor(_0x2fd735,_0x4a054b,_0x34de4f){var _0x8c5eaf=_0x498991;super(),this[_0x8c5eaf(0x1de)]=_0x2fd735,this[_0x8c5eaf(0x1df)]=_0x4a054b,this[_0x8c5eaf(0x1dc)]=_0x34de4f;}[_0x498991(0x1e0)](_0xc2f70c){var _0x2f14ab=_0x498991;this[_0x2f14ab(0x1e9)]=_0xc2f70c[_0x2f14ab(0x1e3)](_0x2f5331=>!0x0===_0x2f5331[_0x2f14ab(0x1e7)]?new _0x1ed1b7(_0x2f5331,this[_0x2f14ab(0x1de)],this[_0x2f14ab(0x1dc)]):_0x2f14ab(0x1ea)===_0x2f5331['id']?new _0x57e5dc(_0x2f5331,this[_0x2f14ab(0x1df)],this[_0x2f14ab(0x1dc)]):new _0x133559(_0x2f5331));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48bb49=_0x4285;(function(_0x5f17d5,_0x422481){const _0x17a08a=_0x4285,_0x5210e9=_0x5f17d5();while(!![]){try{const _0x305c46=-parseInt(_0x17a08a(0x1ae))/0x1+parseInt(_0x17a08a(0x19b))/0x2+parseInt(_0x17a08a(0x1aa))/0x3+parseInt(_0x17a08a(0x199))/0x4+-parseInt(_0x17a08a(0x196))/0x5+-parseInt(_0x17a08a(0x190))/0x6*(-parseInt(_0x17a08a(0x1a3))/0x7)+-parseInt(_0x17a08a(0x1af))/0x8;if(_0x305c46===_0x422481)break;else _0x5210e9['push'](_0x5210e9['shift']());}catch(_0x26a1ac){_0x5210e9['push'](_0x5210e9['shift']());}}}(_0x4def,0xd8fec));function _0x4def(){const _0x570f32=['context','1414640tPeXxi','fire','isOfficialPlugin','focusTracker','bind','set','view','side','304962fZbGQY','showResizeButton','includes','destroy','ai-tabs-unsupported-ui-type','right','type','4651467LuTJaK','remove','resize','container','173915AyrBQB','11418792fZaXEQ','switchSide','element','custom','pluginName','isMaximized','locale','appendChild','get','switchType','ai-tabs-configuration-not-found','config','ai-tabs-sidebar-container-element-not-found','overlay','render','add','ai.container','66GgwssW','ai-tabs-unsupported-ui-side','body','sidebar','resizedTabs','isPremiumPlugin','4615300rlGbam','AITabs','visibleByDefault','2704404tGihRA'];_0x4def=function(){return _0x570f32;};return _0x4def();}import{ContextPlugin as _0x5edfa8,Editor as _0x3411b2}from'ckeditor5/src/core.js';import{CKEditorError as _0x44bf1e}from'ckeditor5/src/utils.js';function _0x4285(_0x20fe4f,_0x19be8f){const _0x4def3b=_0x4def();return _0x4285=function(_0x428593,_0x189c1b){_0x428593=_0x428593-0x188;let _0x568325=_0x4def3b[_0x428593];return _0x568325;},_0x4285(_0x20fe4f,_0x19be8f);}import{AITabsMainView as _0x549601,AI_TABS_VIEW_SIDES as _0x446f18,AI_TABS_VIEW_TYPES as _0x5ed6db}from'./aitabsmainview.js';export class AITabs extends _0x5edfa8{[_0x48bb49(0x1a1)];[_0x48bb49(0x1ad)]=null;[_0x48bb49(0x1a4)]=!0x0;static get[_0x48bb49(0x1b3)](){const _0x2b9936=_0x48bb49;return _0x2b9936(0x197);}static get[_0x48bb49(0x19d)](){return!0x0;}static get[_0x48bb49(0x195)](){return!0x0;}constructor(_0xfcc2cc){const _0x20bc9c=_0x48bb49;super(_0xfcc2cc);const _0xc6027f=this[_0x20bc9c(0x19a)][_0x20bc9c(0x18a)][_0x20bc9c(0x1b7)](_0x20bc9c(0x18f));if(this[_0x20bc9c(0x1a0)](_0x20bc9c(0x1a2),_0x20bc9c(0x1a8)),!_0xc6027f)throw new _0x44bf1e(_0x20bc9c(0x189));if(void 0x0!==_0xc6027f[_0x20bc9c(0x1a4)]&&(this[_0x20bc9c(0x1a4)]=_0xc6027f[_0x20bc9c(0x1a4)]),_0x20bc9c(0x193)!==_0xc6027f[_0x20bc9c(0x1a9)]&&_0x20bc9c(0x18c)!==_0xc6027f[_0x20bc9c(0x1a9)]||_0xc6027f[_0x20bc9c(0x1a2)]&&(this[_0x20bc9c(0x1a2)]=_0xc6027f[_0x20bc9c(0x1a2)]),_0x20bc9c(0x193)===_0xc6027f[_0x20bc9c(0x1a9)]){if(this[_0x20bc9c(0x1ad)]=_0xc6027f[_0x20bc9c(0x1b1)],this[_0x20bc9c(0x1a0)](_0x20bc9c(0x1a9),_0x20bc9c(0x193)),!this[_0x20bc9c(0x1ad)])throw new _0x44bf1e(_0x20bc9c(0x18b));}else _0x20bc9c(0x18c)===_0xc6027f[_0x20bc9c(0x1a9)]?(this[_0x20bc9c(0x1ad)]=document[_0x20bc9c(0x192)],this[_0x20bc9c(0x1a0)](_0x20bc9c(0x1a9),_0x20bc9c(0x18c))):(this[_0x20bc9c(0x1ad)]=null,this[_0x20bc9c(0x1a0)](_0x20bc9c(0x1a9),_0x20bc9c(0x1b2)));this[_0x20bc9c(0x1a1)]=new _0x549601(this[_0x20bc9c(0x19a)][_0x20bc9c(0x1b5)],{'side':this[_0x20bc9c(0x1a2)],'type':this[_0x20bc9c(0x1a9)],'visibleByDefault':void 0x0===_0xc6027f[_0x20bc9c(0x198)]||_0xc6027f[_0x20bc9c(0x198)]}),this[_0x20bc9c(0x1a1)][_0x20bc9c(0x18d)](),this[_0x20bc9c(0x1a1)][_0x20bc9c(0x19f)](_0x20bc9c(0x1a2))['to'](this,_0x20bc9c(0x1a2)),this[_0x20bc9c(0x1a1)][_0x20bc9c(0x19f)](_0x20bc9c(0x1a9))['to'](this,_0x20bc9c(0x1a9)),this[_0x20bc9c(0x1ad)]&&this[_0x20bc9c(0x1ad)][_0x20bc9c(0x1b6)](this[_0x20bc9c(0x1a1)][_0x20bc9c(0x1b1)]),this[_0x20bc9c(0x19a)]instanceof _0x3411b2&&this[_0x20bc9c(0x19a)]['ui'][_0x20bc9c(0x19e)][_0x20bc9c(0x18e)](this[_0x20bc9c(0x1a1)][_0x20bc9c(0x1b1)]);}[_0x48bb49(0x188)](_0x45c336){const _0x3fdc79=_0x48bb49;if(_0x45c336&&this[_0x3fdc79(0x1a9)]!==_0x45c336){if(!_0x5ed6db[_0x3fdc79(0x1a5)](_0x45c336))throw new _0x44bf1e(_0x3fdc79(0x1a7));this[_0x3fdc79(0x1a9)]=_0x45c336;}}[_0x48bb49(0x1b0)](_0x1b1a80){const _0x5c27d4=_0x48bb49;if(_0x1b1a80&&this[_0x5c27d4(0x1a2)]!==_0x1b1a80){if(!_0x446f18[_0x5c27d4(0x1a5)](_0x1b1a80))throw new _0x44bf1e(_0x5c27d4(0x191));this[_0x5c27d4(0x1a2)]=_0x1b1a80;}}[_0x48bb49(0x1ac)](){const _0x4220d9=_0x48bb49;this[_0x4220d9(0x1a1)][_0x4220d9(0x1b4)]=!this[_0x4220d9(0x1a1)][_0x4220d9(0x1b4)],this[_0x4220d9(0x19c)](_0x4220d9(0x194),this[_0x4220d9(0x1a1)][_0x4220d9(0x1b4)]);}[_0x48bb49(0x1a6)](){const _0x272e1e=_0x48bb49;super[_0x272e1e(0x1a6)](),this[_0x272e1e(0x1a1)][_0x272e1e(0x1a6)](),this[_0x272e1e(0x1a1)][_0x272e1e(0x1b1)]&&this[_0x272e1e(0x1a1)][_0x272e1e(0x1b1)][_0x272e1e(0x1ab)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x42c9(){const _0x189d61=['202870qmXTlw','ck-ai-tabs','120ouTCaJ','9TzxDjx','44rvofeB','bindTemplate','buttonViews','right','sidebar','left','custom','visibleByDefault','ck-hidden','ck-ai-tabs__overlay','845331fvHOZm','843941LmeFhj','30LvlotS','6446712wSpPph','withText','13dwDzFK','add','464673XDZlAU','extendTemplate','type','4576596diiVjn','side','overlay','61284vxnzov','set','ck-ai-tabs__sidebar','2SMHNGH','isVisible'];_0x42c9=function(){return _0x189d61;};return _0x42c9();}const _0x1e9133=_0x1c45;(function(_0x1681ec,_0x3425dd){const _0x2f16f0=_0x1c45,_0x1d3e75=_0x1681ec();while(!![]){try{const _0xe61858=parseInt(_0x2f16f0(0x209))/0x1*(-parseInt(_0x2f16f0(0x1f9))/0x2)+-parseInt(_0x2f16f0(0x1f6))/0x3*(parseInt(_0x2f16f0(0x1ff))/0x4)+-parseInt(_0x2f16f0(0x1fb))/0x5+-parseInt(_0x2f16f0(0x20b))/0x6*(-parseInt(_0x2f16f0(0x20a))/0x7)+parseInt(_0x2f16f0(0x20c))/0x8*(parseInt(_0x2f16f0(0x1fe))/0x9)+-parseInt(_0x2f16f0(0x1fd))/0xa*(-parseInt(_0x2f16f0(0x1f0))/0xb)+-parseInt(_0x2f16f0(0x1f3))/0xc*(parseInt(_0x2f16f0(0x20e))/0xd);if(_0xe61858===_0x3425dd)break;else _0x1d3e75['push'](_0x1d3e75['shift']());}catch(_0x35ad65){_0x1d3e75['push'](_0x1d3e75['shift']());}}}(_0x42c9,0x67696));import{AITabsView as _0x251045}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x1c45(_0x40a883,_0x578d27){const _0x42c9ce=_0x42c9();return _0x1c45=function(_0x1c45f5,_0x411222){_0x1c45f5=_0x1c45f5-0x1ef;let _0x2e5732=_0x42c9ce[_0x1c45f5];return _0x2e5732;},_0x1c45(_0x40a883,_0x578d27);}export const AI_TABS_VIEW_TYPES=[_0x1e9133(0x1f5),_0x1e9133(0x203),_0x1e9133(0x205)];export const AI_TABS_VIEW_SIDES=[_0x1e9133(0x204),_0x1e9133(0x202)];export class AITabsMainView extends _0x251045{constructor(_0x3e4969,_0x336d4d={}){const _0x2bc426=_0x1e9133;super(_0x3e4969,_0x336d4d),this[_0x2bc426(0x1f7)](_0x2bc426(0x1f2),_0x336d4d[_0x2bc426(0x1f2)]||_0x2bc426(0x203)),this[_0x2bc426(0x1f7)](_0x2bc426(0x1f4),_0x336d4d[_0x2bc426(0x1f4)]||_0x2bc426(0x202)),this[_0x2bc426(0x1f7)](_0x2bc426(0x1fa),_0x336d4d[_0x2bc426(0x206)]??!0x0);const _0x32069b=this[_0x2bc426(0x200)];this[_0x2bc426(0x1f1)]({'attributes':{'class':[_0x2bc426(0x1fc),_0x32069b['if'](_0x2bc426(0x1f2),_0x2bc426(0x208),_0x43af3a=>_0x2bc426(0x1f5)===_0x43af3a),_0x32069b['if'](_0x2bc426(0x1f2),_0x2bc426(0x1f8),_0x1d99c2=>_0x2bc426(0x203)===_0x1d99c2),_0x32069b['if'](_0x2bc426(0x1fa),_0x2bc426(0x207),_0x307bc4=>!_0x307bc4)]}}),this[_0x2bc426(0x201)]['on'](_0x2bc426(0x1ef),(_0x5b1937,_0x29c787)=>{const _0x32d5dd=_0x2bc426;_0x29c787[_0x32d5dd(0x1f7)](_0x32d5dd(0x20d),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ddcf8=_0x1471;(function(_0x19da79,_0x44d9bb){const _0x7b07b8=_0x1471,_0x23c8eb=_0x19da79();while(!![]){try{const _0x5f5d06=-parseInt(_0x7b07b8(0x1e0))/0x1+parseInt(_0x7b07b8(0x202))/0x2*(-parseInt(_0x7b07b8(0x206))/0x3)+parseInt(_0x7b07b8(0x212))/0x4+-parseInt(_0x7b07b8(0x204))/0x5+-parseInt(_0x7b07b8(0x1d5))/0x6*(parseInt(_0x7b07b8(0x1e5))/0x7)+-parseInt(_0x7b07b8(0x1f3))/0x8+-parseInt(_0x7b07b8(0x1d2))/0x9*(-parseInt(_0x7b07b8(0x1ea))/0xa);if(_0x5f5d06===_0x44d9bb)break;else _0x23c8eb['push'](_0x23c8eb['shift']());}catch(_0x56f119){_0x23c8eb['push'](_0x23c8eb['shift']());}}}(_0x12b3,0x3cb50));import{View as _0x2b76ef}from'ckeditor5/src/ui.js';import{toArray as _0x12eaf1,CKEditorError as _0x27275b}from'ckeditor5/src/utils.js';function _0x1471(_0x3e3ef6,_0x210058){const _0x12b3aa=_0x12b3();return _0x1471=function(_0x147129,_0x2d4d5f){_0x147129=_0x147129-0x1cc;let _0x55f8a2=_0x12b3aa[_0x147129];return _0x55f8a2;},_0x1471(_0x3e3ef6,_0x210058);}import{TabButtonView as _0x518330}from'./tabbuttonview.js';import{TabPanelView as _0x3e55c6}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x3ddcf8(0x1ff),_0x3ddcf8(0x1fa),_0x3ddcf8(0x20a)];function _0x12b3(){const _0x106beb=['div','buttonLabel','_getPanel','reduce','content','left','ck-tabs__buttons-container','buttonIcon','find','buttonViews','top','getIndex','_getButton','192054GkCofT','get','996250QknBzV','panelViews','9QZPttO','order','_showPanel','ck-tabs__buttons-container_','right','isMaximized','class','hide','show','length','children','ck-reset','636028JzfObt','ck-tabs__panels-container_','addTab:','bind','isVisible','setTemplate','add','ck-tabs','getTabIds','getTab','showTab','ck-tabs__panels-container','549nUnBaV','fire','_hideButton','114llLVFa','execute','activateTab','icon','activeTab','_showButton','show:','set','ck-ai-tabs_maximized','isOn','_setupButton','2854RUmldR','_tabs','addTab','button','side','87416OLAVxK','bindTemplate','keys','createCollection','locale','145240VMUTNd','hideTab','ck-tabs_','activateTab:','panel','ui-tabsview-tab-not-found','render','hide:','label','550864SOJMyT','_hidePanel'];_0x12b3=function(){return _0x106beb;};return _0x12b3();}export class AITabsView extends _0x2b76ef{[_0x3ddcf8(0x1fe)]=this[_0x3ddcf8(0x1e8)]();[_0x3ddcf8(0x205)]=this[_0x3ddcf8(0x1e8)]();[_0x3ddcf8(0x1e1)]=new Map();constructor(_0x5bf82e,_0x2ca9cb={}){const _0x5e7b06=_0x3ddcf8;super(_0x5bf82e),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x20c),void 0x0),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x1d9),null),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x1e4),_0x2ca9cb[_0x5e7b06(0x1e4)]||_0x5e7b06(0x1ff)),this[_0x5e7b06(0x1dc)](_0x5e7b06(0x20b),!0x1);const _0x51bc41=this[_0x5e7b06(0x1e6)];this[_0x5e7b06(0x217)]({'tag':_0x5e7b06(0x1f5),'attributes':{'class':['ck',_0x5e7b06(0x211),_0x5e7b06(0x1cd),..._0x12eaf1(_0x2ca9cb[_0x5e7b06(0x20c)]||[]),_0x51bc41['to'](_0x5e7b06(0x1e4),_0x1d1b92=>_0x5e7b06(0x1ec)+_0x1d1b92),_0x51bc41['to'](_0x5e7b06(0x20c)),_0x51bc41['to'](_0x5e7b06(0x20b),_0x118985=>_0x118985?_0x5e7b06(0x1dd):'')],'tabindex':'0'},'children':[{'tag':_0x5e7b06(0x1f5),'attributes':{'class':['ck',_0x5e7b06(0x1fb),_0x51bc41['to'](_0x5e7b06(0x1e4),_0xce92=>_0x5e7b06(0x209)+_0xce92)]},'children':this[_0x5e7b06(0x1fe)]},{'tag':_0x5e7b06(0x1f5),'attributes':{'class':['ck',_0x5e7b06(0x1d1),_0x51bc41['to'](_0x5e7b06(0x1e4),_0x44c9c7=>_0x5e7b06(0x213)+_0x44c9c7)]},'children':this[_0x5e7b06(0x205)]},..._0x12eaf1(_0x2ca9cb[_0x5e7b06(0x210)]||[])]});}[_0x3ddcf8(0x1ce)](){const _0x8de190=_0x3ddcf8;return[...this[_0x8de190(0x1e1)][_0x8de190(0x1e7)]()];}[_0x3ddcf8(0x1cf)](_0x26d47e){const _0x984a0e=_0x3ddcf8,_0x136f6f=this[_0x984a0e(0x1e1)][_0x984a0e(0x203)](_0x26d47e);return _0x136f6f||null;}[_0x3ddcf8(0x1e2)](_0x4a8b0e){const _0x18245d=_0x3ddcf8,_0x1c81f0=this[_0x18245d(0x1df)]({'id':_0x4a8b0e['id'],'label':_0x4a8b0e[_0x18245d(0x1f6)],'icon':_0x4a8b0e[_0x18245d(0x1fc)],'order':_0x4a8b0e[_0x18245d(0x207)]}),_0x116bc5=new _0x3e55c6(this[_0x18245d(0x1e9)]);return _0x116bc5[_0x18245d(0x1f0)](),_0x4a8b0e[_0x18245d(0x1f9)]&&_0x116bc5[_0x18245d(0x210)][_0x18245d(0x1cc)](_0x4a8b0e[_0x18245d(0x1f9)]),this[_0x18245d(0x205)][_0x18245d(0x1cc)](_0x116bc5),this[_0x18245d(0x1e1)][_0x18245d(0x1dc)](_0x4a8b0e['id'],{'button':_0x1c81f0,'panel':_0x116bc5,'order':void 0x0!==_0x4a8b0e[_0x18245d(0x207)]?_0x4a8b0e[_0x18245d(0x207)]:null}),this[_0x18245d(0x1d3)](_0x18245d(0x214)+_0x4a8b0e['id'],{'id':_0x4a8b0e['id'],'button':_0x1c81f0,'panel':_0x116bc5}),null===this[_0x18245d(0x1d9)]?this[_0x18245d(0x1d7)](_0x4a8b0e['id']):this[_0x18245d(0x1f4)](_0x4a8b0e['id']),{'button':_0x1c81f0,'panel':_0x116bc5};}[_0x3ddcf8(0x1d7)](_0x34e6c9){const _0x5dc534=_0x3ddcf8;if(null!==_0x34e6c9&&!this[_0x5dc534(0x1cf)](_0x34e6c9))throw new _0x27275b(_0x5dc534(0x1ef),{'tabs':this,'tabId':_0x34e6c9});this[_0x5dc534(0x1d9)]!==_0x34e6c9&&(this[_0x5dc534(0x1d9)]&&this[_0x5dc534(0x1f4)](this[_0x5dc534(0x1d9)]),this[_0x5dc534(0x1d9)]=_0x34e6c9,_0x34e6c9&&this[_0x5dc534(0x208)](_0x34e6c9),this[_0x5dc534(0x1d3)](_0x5dc534(0x1ed)+_0x34e6c9,_0x34e6c9));}[_0x3ddcf8(0x1d0)](_0x450914){const _0x27615b=_0x3ddcf8;if(!this[_0x27615b(0x1cf)](_0x450914))throw new _0x27275b(_0x27615b(0x1ef),{'tabs':this,'tabId':_0x450914});this[_0x27615b(0x208)](_0x450914),this[_0x27615b(0x1da)](_0x450914),this[_0x27615b(0x1d3)](_0x27615b(0x1db)+_0x450914,_0x450914);}[_0x3ddcf8(0x1eb)](_0x5cdac4){const _0x125d47=_0x3ddcf8;if(!this[_0x125d47(0x1cf)](_0x5cdac4))throw new _0x27275b(_0x125d47(0x1ef),{'tabs':this,'tabId':_0x5cdac4});const _0xd95afe=this[_0x125d47(0x1d9)];this[_0x125d47(0x1f4)](_0x5cdac4),this[_0x125d47(0x1d4)](_0x5cdac4);const _0xd55371=this[_0x125d47(0x1ce)]();_0xd95afe===_0x5cdac4&&_0xd55371[_0x125d47(0x20f)]>0x1&&this[_0x125d47(0x1d7)](_0xd55371[_0x125d47(0x1fd)](_0x2b6277=>_0x2b6277!==_0x5cdac4)),this[_0x125d47(0x1d3)](_0x125d47(0x1f1)+_0x5cdac4,_0x5cdac4);}[_0x3ddcf8(0x1f7)](_0x4c99f3){const _0x3a5994=_0x3ddcf8,_0x582a55=this[_0x3a5994(0x1e1)][_0x3a5994(0x203)](_0x4c99f3);return _0x582a55?_0x582a55[_0x3a5994(0x1ee)]:null;}[_0x3ddcf8(0x208)](_0x33e427){const _0x429be6=_0x3ddcf8;null!==this[_0x429be6(0x1d9)]&&this[_0x429be6(0x1d9)]!==_0x33e427||this[_0x429be6(0x1f7)](_0x33e427)[_0x429be6(0x20e)]();}[_0x3ddcf8(0x1f4)](_0x15290d){const _0xcaf21f=_0x3ddcf8,_0x17e830=this[_0xcaf21f(0x1f7)](_0x15290d);_0x17e830[_0xcaf21f(0x216)]&&(this[_0xcaf21f(0x1d9)]===_0x15290d&&(this[_0xcaf21f(0x1d9)]=null),_0x17e830[_0xcaf21f(0x20d)]());}[_0x3ddcf8(0x201)](_0x53ce04){const _0x3afe8c=_0x3ddcf8,_0x24799d=this[_0x3afe8c(0x1e1)][_0x3afe8c(0x203)](_0x53ce04);return _0x24799d?_0x24799d[_0x3afe8c(0x1e3)]:null;}[_0x3ddcf8(0x1da)](_0x18b971){const _0x5d594b=_0x3ddcf8;this[_0x5d594b(0x201)](_0x18b971)[_0x5d594b(0x20e)]();}[_0x3ddcf8(0x1d4)](_0x451068){const _0x52fa5e=_0x3ddcf8;this[_0x52fa5e(0x201)](_0x451068)[_0x52fa5e(0x20d)]();}[_0x3ddcf8(0x1df)](_0x25e2c8){const _0x402590=_0x3ddcf8,_0x27a5e2=new _0x518330(this[_0x402590(0x1e9)],{'side':this[_0x402590(0x1e4)]}),_0x30f03d=this[_0x402590(0x1fe)];if(_0x27a5e2[_0x402590(0x1dc)]({'label':_0x25e2c8[_0x402590(0x1f2)],'icon':_0x25e2c8[_0x402590(0x1d8)],'tooltip':!0x0,'withText':!0x0}),_0x27a5e2[_0x402590(0x215)](_0x402590(0x1de))['to'](this,_0x402590(0x1d9),_0x414d5c=>_0x414d5c===_0x25e2c8['id']),_0x27a5e2[_0x402590(0x215)](_0x402590(0x1e4))['to'](this,_0x402590(0x1e4)),_0x25e2c8[_0x402590(0x207)]){const _0x11b0d6=[...this[_0x402590(0x1e1)]][_0x402590(0x1f8)]((_0x4bc533,_0x7d3a87)=>{const _0x515cfc=_0x402590,_0x360512=_0x7d3a87[0x0],{order:_0x120fc1}=_0x7d3a87[0x1];return!_0x120fc1||_0x120fc1>_0x25e2c8[_0x515cfc(0x207)]?_0x4bc533:_0x120fc1>=_0x4bc533[_0x515cfc(0x207)]?{'id':_0x360512,'order':_0x120fc1}:_0x4bc533;},{'id':'','order':0x0}),_0x41345f=_0x30f03d[_0x402590(0x200)](this[_0x402590(0x201)](_0x11b0d6['id']));_0x30f03d[_0x402590(0x1cc)](_0x27a5e2,_0x41345f+0x1);}else _0x30f03d[_0x402590(0x1cc)](_0x27a5e2);return _0x27a5e2['on'](_0x402590(0x1d6),()=>{const _0x1c8a93=_0x402590;this[_0x1c8a93(0x1d7)](_0x25e2c8['id']);}),_0x27a5e2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15e027=_0x140a;function _0x140a(_0x1cc6a8,_0x354b3f){const _0x18b218=_0x18b2();return _0x140a=function(_0x140ad7,_0x29f1d1){_0x140ad7=_0x140ad7-0x92;let _0x5b91d7=_0x18b218[_0x140ad7];return _0x5b91d7;},_0x140a(_0x1cc6a8,_0x354b3f);}(function(_0x4e057b,_0x123abb){const _0x36bc7d=_0x140a,_0xdc18ae=_0x4e057b();while(!![]){try{const _0x2b6bef=-parseInt(_0x36bc7d(0x96))/0x1*(-parseInt(_0x36bc7d(0x93))/0x2)+parseInt(_0x36bc7d(0x9b))/0x3*(-parseInt(_0x36bc7d(0x94))/0x4)+parseInt(_0x36bc7d(0xa5))/0x5+-parseInt(_0x36bc7d(0xa9))/0x6*(-parseInt(_0x36bc7d(0xa8))/0x7)+parseInt(_0x36bc7d(0xa4))/0x8+-parseInt(_0x36bc7d(0xa6))/0x9*(parseInt(_0x36bc7d(0xa7))/0xa)+parseInt(_0x36bc7d(0x99))/0xb*(-parseInt(_0x36bc7d(0xa1))/0xc);if(_0x2b6bef===_0x123abb)break;else _0xdc18ae['push'](_0xdc18ae['shift']());}catch(_0x2a4cd0){_0xdc18ae['push'](_0xdc18ae['shift']());}}}(_0x18b2,0x375e0));function _0x18b2(){const _0x254f0a=['extendTemplate','2PARujY','1054228Jaxxun','class','49688gKXvpf','set','ck-tab-button_','163669ZlTdEi','top','3QXcyCy','isVisible','side','isToggleable','show','hide','276gWyPAR','ck-tab-button','bindTemplate','3496904BXXnOY','1696825fFfaHG','3287106AsISRM','10yBhtAh','7bKqJVl','2229756cRHsjO'];_0x18b2=function(){return _0x254f0a;};return _0x18b2();}import{ButtonView as _0x2bbb3f}from'ckeditor5/src/ui.js';import{toArray as _0x2affd8}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x2bbb3f{constructor(_0x88058e,_0x1f371e={}){const _0x253459=_0x140a;super(_0x88058e),this[_0x253459(0x9e)]=!0x0,this[_0x253459(0x97)](_0x253459(0x9d),_0x1f371e[_0x253459(0x9d)]||_0x253459(0x9a));const _0x55c576=this[_0x253459(0xa3)];this[_0x253459(0x92)]({'attributes':{'class':[_0x253459(0xa2),..._0x2affd8(_0x1f371e[_0x253459(0x95)]||[]),_0x55c576['to'](_0x253459(0x9d),_0x4a1a14=>_0x253459(0x98)+_0x4a1a14),_0x55c576['to'](_0x253459(0x95))]}});}[_0x15e027(0x9f)](){const _0x19baf9=_0x15e027;this[_0x19baf9(0x97)](_0x19baf9(0x9c),!0x0);}[_0x15e027(0xa0)](){const _0x2290ac=_0x15e027;this[_0x2290ac(0x97)](_0x2290ac(0x9c),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4eaf68=_0x1b0a;(function(_0x3e078d,_0x459cec){const _0x87d0f7=_0x1b0a,_0x5cc77f=_0x3e078d();while(!![]){try{const _0x30f5fc=parseInt(_0x87d0f7(0x120))/0x1*(parseInt(_0x87d0f7(0x128))/0x2)+-parseInt(_0x87d0f7(0x12a))/0x3*(parseInt(_0x87d0f7(0x118))/0x4)+parseInt(_0x87d0f7(0x116))/0x5*(-parseInt(_0x87d0f7(0x119))/0x6)+parseInt(_0x87d0f7(0x11b))/0x7*(-parseInt(_0x87d0f7(0x117))/0x8)+parseInt(_0x87d0f7(0x11f))/0x9+parseInt(_0x87d0f7(0x125))/0xa*(-parseInt(_0x87d0f7(0x115))/0xb)+parseInt(_0x87d0f7(0x11e))/0xc;if(_0x30f5fc===_0x459cec)break;else _0x5cc77f['push'](_0x5cc77f['shift']());}catch(_0x2cfc0d){_0x5cc77f['push'](_0x5cc77f['shift']());}}}(_0x205a,0x20592));function _0x1b0a(_0x3c0930,_0x107e9b){const _0x205ab1=_0x205a();return _0x1b0a=function(_0x1b0ad8,_0x524fa5){_0x1b0ad8=_0x1b0ad8-0x114;let _0x113910=_0x205ab1[_0x1b0ad8];return _0x113910;},_0x1b0a(_0x3c0930,_0x107e9b);}import{View as _0x4d127f}from'ckeditor5/src/ui.js';import{toArray as _0x24295b}from'ckeditor5/src/utils.js';function _0x205a(){const _0x1049ca=['createCollection','1345547QpgnHx','ck-hidden','set','4884408IrwkWj','1498797ltaRSJ','5RMJqHN','bindTemplate','children','class','hide','8010dhtxUX','div','isVisible','61362YovbIF','setTemplate','42yUmjZG','ck-tab-panel','show','2431dVDxiL','19150rhzcys','8kYTOsk','41372UGOTEc','126zCPFzR'];_0x205a=function(){return _0x1049ca;};return _0x205a();}export class TabPanelView extends _0x4d127f{[_0x4eaf68(0x122)];constructor(_0x38dccd,_0x200e6e={}){const _0x4d8c8f=_0x4eaf68;super(_0x38dccd);const _0x31a78d=this[_0x4d8c8f(0x121)];this[_0x4d8c8f(0x11d)](_0x4d8c8f(0x127),!0x1),this[_0x4d8c8f(0x11d)](_0x4d8c8f(0x123),''),this[_0x4d8c8f(0x122)]=this[_0x4d8c8f(0x11a)](),this[_0x4d8c8f(0x129)]({'tag':_0x4d8c8f(0x126),'attributes':{'class':[_0x4d8c8f(0x12b),..._0x24295b(_0x200e6e[_0x4d8c8f(0x123)]||[]),_0x31a78d['to'](_0x4d8c8f(0x123)),_0x31a78d['if'](_0x4d8c8f(0x127),_0x4d8c8f(0x11c),_0x269145=>!_0x269145)]},'children':this[_0x4d8c8f(0x122)]});}[_0x4eaf68(0x114)](){const _0x434cb7=_0x4eaf68;this[_0x434cb7(0x11d)](_0x434cb7(0x127),!0x0);}[_0x4eaf68(0x124)](){const _0x4f9975=_0x4eaf68;this[_0x4f9975(0x11d)](_0x4f9975(0x127),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x21b4e0=_0x87c9;(function(_0xa20474,_0x660f42){var _0x135a74=_0x87c9,_0x55a82c=_0xa20474();while(!![]){try{var _0x5e5c6e=-parseInt(_0x135a74(0x18a))/0x1+-parseInt(_0x135a74(0x18c))/0x2+parseInt(_0x135a74(0x192))/0x3+-parseInt(_0x135a74(0x188))/0x4+parseInt(_0x135a74(0x190))/0x5*(-parseInt(_0x135a74(0x18f))/0x6)+parseInt(_0x135a74(0x187))/0x7+-parseInt(_0x135a74(0x194))/0x8*(-parseInt(_0x135a74(0x189))/0x9);if(_0x5e5c6e===_0x660f42)break;else _0x55a82c['push'](_0x55a82c['shift']());}catch(_0x104a7c){_0x55a82c['push'](_0x55a82c['shift']());}}}(_0x33ef,0xef8e0));import{ContextPlugin as _0x571615}from'ckeditor5/src/core.js';import{AITranslateController as _0xa4a2af}from'./aitranslatecontroller.js';function _0x87c9(_0x14a633,_0x3337b2){var _0x33ef31=_0x33ef();return _0x87c9=function(_0x87c971,_0x400e0b){_0x87c971=_0x87c971-0x187;var _0xce122=_0x33ef31[_0x87c971];return _0xce122;},_0x87c9(_0x14a633,_0x3337b2);}import{AITranslateUI as _0x54c997}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x124558}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x571615{static get[_0x21b4e0(0x18e)](){return[_0xa4a2af,_0x54c997,_0x124558];}static get[_0x21b4e0(0x18d)](){var _0x4e5aa9=_0x21b4e0;return _0x4e5aa9(0x193);}static get[_0x21b4e0(0x191)](){return!0x0;}static get[_0x21b4e0(0x18b)](){return!0x0;}}function _0x33ef(){var _0x516bd3=['AITranslate','8GwsyIG','11552653pbzhuT','6313308zZcxtA','28058814pRvGZE','852785uhvBsd','isPremiumPlugin','2518136MgrsLJ','pluginName','requires','114JCbvzz','437555lpmZNP','isOfficialPlugin','4698240VexlZZ'];_0x33ef=function(){return _0x516bd3;};return _0x33ef();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa77e50=_0x17cb;(function(_0x413290,_0x29c324){const _0x25a4da=_0x17cb,_0x59f736=_0x413290();while(!![]){try{const _0x3c8a95=-parseInt(_0x25a4da(0x14a))/0x1+-parseInt(_0x25a4da(0x149))/0x2+parseInt(_0x25a4da(0x118))/0x3+parseInt(_0x25a4da(0x115))/0x4+-parseInt(_0x25a4da(0x11f))/0x5+-parseInt(_0x25a4da(0x112))/0x6*(-parseInt(_0x25a4da(0x14f))/0x7)+parseInt(_0x25a4da(0x119))/0x8;if(_0x3c8a95===_0x29c324)break;else _0x59f736['push'](_0x59f736['shift']());}catch(_0x52f13f){_0x59f736['push'](_0x59f736['shift']());}}}(_0xea0e,0x9e245));import{AIReviewCoreController as _0x4a1698}from'../aireviewcore/aireviewcorecontroller.js';function _0x17cb(_0x429945,_0x4fe2f4){const _0xea0e55=_0xea0e();return _0x17cb=function(_0x17cb76,_0x482662){_0x17cb76=_0x17cb76-0x10a;let _0x4f2bc1=_0xea0e55[_0x17cb76];return _0x4f2bc1;},_0x17cb(_0x429945,_0x4fe2f4);}import{AITranslateCheckList as _0x23166a}from'./model/aitranslatechecklist.js';function _0xea0e(){const _0x276697=['_onReviewCheckResultDeactivated','origin','change','1561774VoTGzz','1010545roCuhQ','editing','getRoot','french','panel','12033pjVTbW','spanish','_translateChecks','chinese','_onActivateChange','push','japanese','Chinese\x20(Simplified)','content','document','_onChangeMarkerBlurred','getDocumentData','Korean','activateChange','italian','locale','_diffContent','addClass','French','plugins','markChangePositionInEditorContent','AIReviewCoreEditing','_getChangeContentElement','get','click','ck-ai-translate-mode-content','_getChecksList','resetActiveStateInResults','_currentReviewCheckRun','diffContent','setAllMarkersAsInactive','_createReviewCheckRun','uiInteraction','config','_onDeactivateChange','_onChangeMarkerClicked','_aiReviewCoreEditing','_changeActivationSource','map','view','getContentElementForChange','_markChangePositionInEditorContent','replaceAll','title','4254ypjldW','_onReviewCheckRun','define','5008064lDTZKB','_aiReviewCoreUi','_onCheckRunFinished','1644468hhkkSG','739400mVuTMf','English','Russian','German','russian','changeId','3360935uopzuH','_onReviewRunLeave','startsWith','_getTranslationWithDefault','deactivateChange','AITranslateUI','_onReviewCheckResultActivated','setMarkersInElementAsActive','setupChecks','ai.translate.languages','Japanese','english','AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_','ck-ai-review-','params','label','pluginName','ck-ai-translate-','_initRequiredPlugins','hover','reactivateMarkers','context','toUpperCase','german','removeClass','setActiveStateInResults','args','korean','Spanish','Italian','_scrollToChange','AITranslateController','AI_REVIEW_CHECK_TRANSLATE_TITLE','Portuguese','getEditor','_aiConnector','portuguese','getClassNames','_onChangeMarkerHovered'];_0xea0e=function(){return _0x276697;};return _0xea0e();}import{AITranslateCheckRun as _0x50723a}from'./model/aitranslatecheckrun.js';import{getTranslation as _0x103506}from'../aicore/utils/common-translations.js';export class AITranslateController extends _0x4a1698{static get[_0xa77e50(0x12f)](){const _0x53785b=_0xa77e50;return _0x53785b(0x13e);}constructor(_0x6d224){const _0x1469e0=_0xa77e50;super(_0x6d224),this[_0x1469e0(0x134)][_0x1469e0(0x170)][_0x1469e0(0x114)](_0x1469e0(0x128),[{'label':_0x1469e0(0x11a),'id':_0x1469e0(0x12a)},{'label':_0x1469e0(0x13b),'id':_0x1469e0(0x150)},{'label':_0x1469e0(0x161),'id':_0x1469e0(0x14d)},{'label':_0x1469e0(0x11c),'id':_0x1469e0(0x136)},{'label':_0x1469e0(0x156),'id':_0x1469e0(0x152)},{'label':_0x1469e0(0x129),'id':_0x1469e0(0x155)},{'label':_0x1469e0(0x11b),'id':_0x1469e0(0x11d)},{'label':_0x1469e0(0x140),'id':_0x1469e0(0x143)},{'label':_0x1469e0(0x15b),'id':_0x1469e0(0x13a)},{'label':_0x1469e0(0x13c),'id':_0x1469e0(0x15d)}]);}[_0xa77e50(0x117)](){const _0x17eb7a=_0xa77e50;this[_0x17eb7a(0x120)](!0x0);}[_0xa77e50(0x131)](){const _0x24d7da=_0xa77e50;super[_0x24d7da(0x131)](),this[_0x24d7da(0x116)]=this[_0x24d7da(0x134)][_0x24d7da(0x162)][_0x24d7da(0x166)](_0x24d7da(0x124)),this[_0x24d7da(0x10a)]=this[_0x24d7da(0x134)][_0x24d7da(0x162)][_0x24d7da(0x166)](_0x24d7da(0x164));}[_0xa77e50(0x16e)](_0x270d72,_0x50c4ad){const _0x1ea676=_0xa77e50;return new _0x50723a(this[_0x1ea676(0x10a)][_0x1ea676(0x15a)](),_0x50c4ad,this[_0x1ea676(0x142)],_0x103506(this[_0x1ea676(0x134)][_0x1ea676(0x15e)],_0x1ea676(0x13f)),_0x270d72[_0x1ea676(0x12d)],_0x270d72[_0x1ea676(0x139)]);}[_0xa77e50(0x125)](_0x5b72d3){const _0x47560d=_0xa77e50;this[_0x47560d(0x116)][_0x47560d(0x138)](_0x5b72d3[_0x47560d(0x148)]['id']),this[_0x47560d(0x10a)][_0x47560d(0x126)](_0x5b72d3[_0x47560d(0x148)]['id']);}[_0xa77e50(0x146)](){const _0x5a7346=_0xa77e50;this[_0x5a7346(0x10a)][_0x5a7346(0x16d)](),this[_0x5a7346(0x116)][_0x5a7346(0x16a)]();}[_0xa77e50(0x153)](_0x483ce1){const _0x4b2966=_0xa77e50;this[_0x4b2966(0x16b)]&&(_0x4b2966(0x132)===_0x483ce1[_0x4b2966(0x16f)]&&(this[_0x4b2966(0x10b)]=_0x4b2966(0x14e),this[_0x4b2966(0x16b)][_0x4b2966(0x15c)](_0x483ce1['id'])),_0x4b2966(0x167)===_0x483ce1[_0x4b2966(0x16f)]&&this[_0x4b2966(0x13d)](_0x483ce1['id']));}[_0xa77e50(0x171)](_0x1fc26b){const _0x2d9431=_0xa77e50;this[_0x2d9431(0x16b)]&&_0x2d9431(0x14e)===_0x1fc26b[_0x2d9431(0x147)]&&this[_0x2d9431(0x16b)][_0x2d9431(0x123)]();}[_0xa77e50(0x172)](_0x387bb8,_0x34db54){const _0x12b8d9=_0xa77e50;this[_0x12b8d9(0x16b)]&&(this[_0x12b8d9(0x10b)]=_0x12b8d9(0x157),this[_0x12b8d9(0x16b)][_0x12b8d9(0x15c)](_0x34db54[_0x12b8d9(0x11e)]),this[_0x12b8d9(0x13d)](_0x34db54[_0x12b8d9(0x11e)]));}[_0xa77e50(0x145)](_0x5cf03e,_0x1a7bc2){const _0x5c35e7=_0xa77e50;this[_0x5c35e7(0x16b)]&&(this[_0x5c35e7(0x10b)]=_0x5c35e7(0x157),this[_0x5c35e7(0x16b)][_0x5c35e7(0x15c)](_0x1a7bc2[_0x5c35e7(0x11e)]),this[_0x5c35e7(0x10a)][_0x5c35e7(0x133)](_0x1a7bc2[_0x5c35e7(0x11e)]));}[_0xa77e50(0x159)](){const _0x448160=_0xa77e50;this[_0x448160(0x16b)]&&_0x448160(0x157)===this[_0x448160(0x10b)]&&(this[_0x448160(0x16b)][_0x448160(0x123)](),this[_0x448160(0x10a)][_0x448160(0x16d)]());}[_0xa77e50(0x165)](_0x1b37bb){const _0x2409c6=_0xa77e50;return this[_0x2409c6(0x10a)][_0x2409c6(0x10e)](_0x1b37bb);}[_0xa77e50(0x10f)](_0x4e4e0b,_0x22fcca){const _0x3e45e7=_0xa77e50;this[_0x3e45e7(0x10a)][_0x3e45e7(0x163)](_0x4e4e0b,_0x22fcca);}[_0xa77e50(0x15f)](_0x1e4387,_0x3735db){const _0x2a3105=_0xa77e50;return this[_0x2a3105(0x10a)][_0x2a3105(0x16c)](_0x1e4387,_0x3735db,!0x0);}[_0xa77e50(0x113)](){const _0x49818a=_0xa77e50,_0x4deed4=this[_0x49818a(0x10a)][_0x49818a(0x141)]();_0x4deed4&&_0x4deed4[_0x49818a(0x14b)][_0x49818a(0x10d)][_0x49818a(0x148)](_0x55a4ed=>{const _0x2e7872=_0x49818a,_0x34c595=_0x4deed4[_0x2e7872(0x14b)][_0x2e7872(0x10d)][_0x2e7872(0x158)][_0x2e7872(0x14c)]();for(const _0x3d3a32 of _0x34c595[_0x2e7872(0x144)]())(_0x3d3a32[_0x2e7872(0x121)](_0x2e7872(0x12c))||_0x2e7872(0x130)===_0x3d3a32)&&_0x55a4ed[_0x2e7872(0x137)](_0x3d3a32,_0x34c595);_0x55a4ed[_0x2e7872(0x160)](_0x2e7872(0x168),_0x34c595);});}async[_0xa77e50(0x169)](){const _0x3eba7c=_0xa77e50,_0x2a72e5=[],_0x480bd5=this[_0x3eba7c(0x134)][_0x3eba7c(0x170)][_0x3eba7c(0x166)](_0x3eba7c(0x128))||[];for(const _0x5b0800 of _0x480bd5)_0x2a72e5[_0x3eba7c(0x154)]({'title':_0x5b0800[_0x3eba7c(0x12e)],'id':_0x5b0800['id'],'commandId':_0x5b0800['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x5b0800['id']}});const _0x49e7c9=new _0x23166a();return _0x49e7c9[_0x3eba7c(0x127)](this[_0x3eba7c(0x151)](_0x2a72e5)),_0x49e7c9;}[_0xa77e50(0x151)](_0x17ddc8){const _0x44083a=_0xa77e50;return _0x17ddc8[_0x44083a(0x10c)](_0x3ed374=>{const _0xa8e5c1=_0x44083a,_0x2c0f43=_0xa8e5c1(0x12b)+_0x3ed374[_0xa8e5c1(0x111)][_0xa8e5c1(0x135)]()[_0xa8e5c1(0x110)]('-','_');return{..._0x3ed374,'title':this[_0xa8e5c1(0x122)](_0x2c0f43,_0x3ed374[_0xa8e5c1(0x111)])};});}}
|