@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4
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 +16 -16
- 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.d.ts +21 -14
- 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
|
-
import{ListItemView as _0x458b89,View as _0x503ca1,ViewCollection as _0x407925,ButtonView as _0x26c649}from'ckeditor5/src/ui.js';import{IconStop as _0x281146,IconEye as _0x39b94f,IconEyeCrossedOut as _0x4ba91b}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x3628c2,SKELETON_DEFINITIONS as _0xb40820}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x474c8f}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x520698}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x3c6b0c}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3b6a17}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x4ab870}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x458b89{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x8911bc,_0x29424e){super(_0x8911bc),this['_contents']=_0x29424e,this['_resultViews']=new _0x407925(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x474c8f(_0x8911bc),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x57b9de=this['_createCombinedSkeletonLoader'](),_0x32fcc0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x32fcc0['if']('isLoading','ck-ai_review__check-run_loading',_0x55cd8d=>_0x55cd8d),_0x32fcc0['if']('isResultReady','ck-ai_review__check-run_ready',_0x3ff77a=>_0x3ff77a),_0x32fcc0['if']('isVisible','ck-hidden',_0x2d92b2=>!_0x2d92b2)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x40f54a=>_0x40f54a)]},'children':this['_resultViews']},_0x57b9de]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1ee190){const _0x1bc51e=new _0x3b6a17(this['locale'],_0x1ee190['id']);_0x1bc51e['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x1bc51e),_0x1bc51e['resultResponseView']['element']['innerHTML']=_0x1ee190['contentDiffed'];}['hideResult'](_0xfa11bb,_0x16a69e){if('pending'===_0x16a69e)return;const _0x7dd0f8=this['_resultViews']['find'](_0x1c582f=>_0x1c582f['id']===_0xfa11bb);_0x7dd0f8&&(_0x7dd0f8['status']=_0x16a69e,_0x7dd0f8['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x4a6ee6,_0x2ff85a){if('pending'!==_0x2ff85a)return;const _0x12e6d0=this['_resultViews']['find'](_0x39ed91=>_0x39ed91['id']===_0x4a6ee6);_0x12e6d0&&(_0x12e6d0['status']=_0x2ff85a,_0x12e6d0['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x163a70,_0x23e9c0){this['headerTitle']=_0x163a70,this['headerSubtitle']=_0x23e9c0||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x3628c2(this['locale'],_0xb40820['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0xb22062=new _0x503ca1(this['locale']),_0x22a42a=[];for(let _0x1655ea=0x0;_0x1655ea<0x10;_0x1655ea++){const _0x440b83=this['_createSkeletonLoader']();_0x440b83['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x22a42a['push'](_0x440b83);}return _0xb22062['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x21e32b=>!_0x21e32b)]},'children':_0x22a42a}),_0xb22062;}['_createErrorView'](){const _0x4bf39f=new _0x503ca1(this['locale']),_0x18673c=new _0x26c649(this['locale']),t=this['locale']['t'];return _0x4bf39f['delegate']('retryReview')['to'](this),_0x18673c['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x18673c['on']('execute',()=>{this['fire']('retryReview');}),_0x4bf39f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x207a0e=>!_0x207a0e),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2ebe57=>'chunk'===_0x2ebe57)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x45ad01=>'chunk'===_0x45ad01)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3bea48=>'general'!==_0x3bea48)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4b2c3f=>'chunk'!==_0x4b2c3f)]},'children':[{'text':_0x520698(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x18673c]}),_0x4bf39f;}['_createCancelButtonView'](){const _0x1dc388=new _0x26c649(this['locale']);return _0x1dc388['set']({'label':_0x520698(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x281146}),_0x1dc388['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2e9972=>_0x2e9972),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x33e795=>_0x33e795)]}}),_0x1dc388['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1dc388;}['_createToggleDiffButtonView'](){const _0x3c454d=new _0x26c649(this['locale']);_0x3c454d['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x3c454d['bind']('isEnabled')['to'](this,'isError',_0x1cfec3=>!_0x1cfec3),_0x3c454d['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x444db2=>!_0x444db2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x254b6a=>_0x254b6a)]}});const _0x32c4d4=_0x520698(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x42a287=_0x520698(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x3c454d['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2c4779=>_0x2c4779),_0x3c454d['bind']('icon')['to'](this,'isToggleDiffOn',_0x53c14f=>_0x53c14f?_0x39b94f:_0x4ba91b),_0x3c454d['bind']('label')['to'](this,'isToggleDiffOn',_0x4c574c=>_0x4c574c?_0x32c4d4:_0x42a287),_0x3c454d['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x3c454d;}['_createAcceptAllButtonView'](){const _0x21722a=new _0x26c649(this['locale']);return _0x21722a['set']({'label':_0x520698(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x21722a['bind']('isEnabled')['to'](this,'isError',_0x184a37=>!_0x184a37),_0x21722a['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xc004bc=>!_0xc004bc),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3aa277=>_0x3aa277)]}}),_0x21722a['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x21722a;}['_createExitReviewButtonView'](){const _0x3c77a7=new _0x26c649(this['locale']);return _0x3c77a7['set']({'label':_0x520698(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x3c77a7['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x27ab17=>!_0x27ab17),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3f80ac=>_0x3f80ac)]}}),_0x3c77a7['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x3c77a7;}['_createResultHeaderView'](){const _0x1cc0e5=new _0x503ca1(this['locale']),_0x1d7548=this['_createTitleView']();return _0x1cc0e5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x44ed60=>_0x44ed60)]},'children':[_0x1d7548,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x1cc0e5;}['_createTitleView'](){const _0x44d204=new _0x503ca1(this['locale']),_0x5d29e8=new _0x3c6b0c();return _0x5d29e8['bind']('isVisible')['to'](this,'isResultReady',_0x23cee6=>!_0x23cee6),_0x44d204['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x5d29e8,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4c2e55=>_0x4c2e55)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2507e3=>!_0x2507e3)]},'children':[{'text':_0x520698(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x44d204;}['_createFinishReviewButtonView'](){const _0x56f0af=new _0x4ab870(_0x520698(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x56f0af['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5165e6=>!_0x5165e6)]}}),_0x56f0af['delegate']('finishReview')['to'](this),_0x56f0af;}}
|
|
23
|
+
import{ListItemView as _0x57bd2d,View as _0x15b61b,ViewCollection as _0x18bf58,ButtonView as _0x33dbef}from'ckeditor5/src/ui.js';import{IconStop as _0x7b71ac,IconEye as _0x367f79,IconEyeCrossedOut as _0x2a1dd0}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1f7ae4,SKELETON_DEFINITIONS as _0x579d49}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3f354f}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x46168}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x1febfe}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3ca13c}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x5edb00}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x57bd2d{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x4b6f43,_0x481980){super(_0x4b6f43),this['_contents']=_0x481980,this['_resultViews']=new _0x18bf58(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x3f354f(_0x4b6f43),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x4cf824=this['_createCombinedSkeletonLoader'](),_0x2fd739=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2fd739['if']('isLoading','ck-ai_review__check-run_loading',_0x45e4e9=>_0x45e4e9),_0x2fd739['if']('isResultReady','ck-ai_review__check-run_ready',_0x2aecf1=>_0x2aecf1),_0x2fd739['if']('isVisible','ck-hidden',_0x4aee1f=>!_0x4aee1f)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x27f690=>_0x27f690)]},'children':this['_resultViews']},_0x4cf824]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4840ae){const _0x5543e8=new _0x3ca13c(this['locale'],_0x4840ae['id']);_0x5543e8['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5543e8),_0x5543e8['resultResponseView']['element']['innerHTML']=_0x4840ae['contentDiffed'];}['hideResult'](_0xd9adf0,_0x25328c){if('pending'===_0x25328c)return;const _0x555e37=this['_resultViews']['find'](_0x307b1d=>_0x307b1d['id']===_0xd9adf0);_0x555e37&&(_0x555e37['status']=_0x25328c,_0x555e37['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x471576,_0x51d800){if('pending'!==_0x51d800)return;const _0x1b5979=this['_resultViews']['find'](_0x14fa64=>_0x14fa64['id']===_0x471576);_0x1b5979&&(_0x1b5979['status']=_0x51d800,_0x1b5979['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x144224,_0x28df43){this['headerTitle']=_0x144224,this['headerSubtitle']=_0x28df43||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x1f7ae4(this['locale'],_0x579d49['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x117b9a=new _0x15b61b(this['locale']),_0x21cbc8=[];for(let _0x553dae=0x0;_0x553dae<0x10;_0x553dae++){const _0x569ff5=this['_createSkeletonLoader']();_0x569ff5['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x21cbc8['push'](_0x569ff5);}return _0x117b9a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2bee4a=>!_0x2bee4a)]},'children':_0x21cbc8}),_0x117b9a;}['_createErrorView'](){const _0x5d8bc9=new _0x15b61b(this['locale']),_0x3a3b8e=new _0x33dbef(this['locale']),t=this['locale']['t'];return _0x5d8bc9['delegate']('retryReview')['to'](this),_0x3a3b8e['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3a3b8e['on']('execute',()=>{this['fire']('retryReview');}),_0x5d8bc9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x43eb89=>!_0x43eb89),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x44b047=>'chunk'===_0x44b047)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x8605a=>'chunk'===_0x8605a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd3495f=>'general'!==_0xd3495f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x236e25=>'chunk'!==_0x236e25)]},'children':[{'text':_0x46168(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3a3b8e]}),_0x5d8bc9;}['_createCancelButtonView'](){const _0x570d0e=new _0x33dbef(this['locale']);return _0x570d0e['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x7b71ac}),_0x570d0e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1eed45=>_0x1eed45),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1caf76=>_0x1caf76)]}}),_0x570d0e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x570d0e;}['_createToggleDiffButtonView'](){const _0x536218=new _0x33dbef(this['locale']);_0x536218['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x536218['bind']('isEnabled')['to'](this,'isError',_0x45dc60=>!_0x45dc60),_0x536218['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x6ce539=>!_0x6ce539),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x570155=>_0x570155)]}});const _0x430e62=_0x46168(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1f39f5=_0x46168(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x536218['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3fcbfc=>_0x3fcbfc),_0x536218['bind']('icon')['to'](this,'isToggleDiffOn',_0x28ab41=>_0x28ab41?_0x367f79:_0x2a1dd0),_0x536218['bind']('label')['to'](this,'isToggleDiffOn',_0x3e962f=>_0x3e962f?_0x430e62:_0x1f39f5),_0x536218['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x536218;}['_createAcceptAllButtonView'](){const _0xf005b1=new _0x33dbef(this['locale']);return _0xf005b1['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0xf005b1['bind']('isEnabled')['to'](this,'isError',_0x41e286=>!_0x41e286),_0xf005b1['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xae1c57=>!_0xae1c57),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa25630=>_0xa25630)]}}),_0xf005b1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0xf005b1;}['_createExitReviewButtonView'](){const _0x38682d=new _0x33dbef(this['locale']);return _0x38682d['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x38682d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d0aba=>!_0x1d0aba),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x31fe61=>_0x31fe61)]}}),_0x38682d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x38682d;}['_createResultHeaderView'](){const _0x46bf59=new _0x15b61b(this['locale']),_0x3ed44d=this['_createTitleView']();return _0x46bf59['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0xc15121=>_0xc15121)]},'children':[_0x3ed44d,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46bf59;}['_createTitleView'](){const _0x487722=new _0x15b61b(this['locale']),_0x56bedf=new _0x1febfe();return _0x56bedf['bind']('isVisible')['to'](this,'isResultReady',_0x76574e=>!_0x76574e),_0x487722['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x56bedf,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5e8827=>_0x5e8827)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4a897a=>!_0x4a897a)]},'children':[{'text':_0x46168(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x487722;}['_createFinishReviewButtonView'](){const _0x3ca69d=new _0x5edb00(_0x46168(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3ca69d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ff5c1=>!_0x3ff5c1)]}}),_0x3ca69d['delegate']('finishReview')['to'](this),_0x3ca69d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2c17c7=_0x578f;(function(_0x43a60f,_0x11d233){var _0x37028f=_0x578f,_0x4c34e3=_0x43a60f();while(!![]){try{var _0x26b85b=parseInt(_0x37028f(0xb5))/0x1*(-parseInt(_0x37028f(0x97))/0x2)+-parseInt(_0x37028f(0x94))/0x3+parseInt(_0x37028f(0xa7))/0x4*(parseInt(_0x37028f(0x8e))/0x5)+-parseInt(_0x37028f(0xa1))/0x6+parseInt(_0x37028f(0x9e))/0x7+-parseInt(_0x37028f(0x9a))/0x8*(parseInt(_0x37028f(0xa9))/0x9)+parseInt(_0x37028f(0xa5))/0xa;if(_0x26b85b===_0x11d233)break;else _0x4c34e3['push'](_0x4c34e3['shift']());}catch(_0x3f4038){_0x4c34e3['push'](_0x4c34e3['shift']());}}}(_0x24b6,0x789ea));import{View as _0x1ff089}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x41c2f9}from'../aireviewcoreui.js';function _0x578f(_0x3bf73a,_0x4ca992){var _0x24b69d=_0x24b6();return _0x578f=function(_0x578f17,_0x5cbf4e){_0x578f17=_0x578f17-0x88;var _0x1533c8=_0x24b69d[_0x578f17];return _0x1533c8;},_0x578f(_0x3bf73a,_0x4ca992);}import{AIReviewCoreGeneralErrorView as _0x3ea964}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x1ff089{[_0x2c17c7(0xa0)];[_0x2c17c7(0xaa)];[_0x2c17c7(0x9b)];[_0x2c17c7(0xb8)];[_0x2c17c7(0x9c)];constructor(_0x9f5e30,_0x26bf1d){var _0x4e1a36=_0x2c17c7;super(_0x9f5e30),this[_0x4e1a36(0xa0)]=_0x26bf1d[_0x4e1a36(0xb2)],this[_0x4e1a36(0xaa)]=new _0x3ea964(_0x9f5e30),this[_0x4e1a36(0x9b)]=_0x26bf1d[_0x4e1a36(0x99)],this[_0x4e1a36(0x9b)][_0x4e1a36(0xb0)](..._0x41c2f9)['to'](this),this[_0x4e1a36(0xb8)]=_0x26bf1d[_0x4e1a36(0x90)],this[_0x4e1a36(0xb8)][_0x4e1a36(0xb0)](..._0x41c2f9)['to'](this),this[_0x4e1a36(0x9c)]=_0x26bf1d[_0x4e1a36(0x8b)],this[_0x4e1a36(0x9c)][_0x4e1a36(0xb0)](_0x4e1a36(0xa3))['to'](this),this[_0x4e1a36(0x9b)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x93),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x98),!0x1),this[_0x4e1a36(0x9c)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xae)]({'tag':_0x4e1a36(0x88),'attributes':{'class':['ck',_0x4e1a36(0xab),_0x4e1a36(0x92),_0x4e1a36(0xaf)],'dir':_0x4e1a36(0xa2)},'children':[this[_0x4e1a36(0xa0)],this[_0x4e1a36(0xaa)],this[_0x4e1a36(0x9b)],this[_0x4e1a36(0xb8)],this[_0x4e1a36(0x9c)]]});}[_0x2c17c7(0xb7)](){var _0x41aaa9=_0x2c17c7;this[_0x41aaa9(0x9b)][_0x41aaa9(0xa8)](),this[_0x41aaa9(0x9b)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x0),this[_0x41aaa9(0xb8)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x1),this[_0x41aaa9(0x9c)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x1);}[_0x2c17c7(0xad)](){var _0x466ff3=_0x2c17c7;this[_0x466ff3(0xac)](),this[_0x466ff3(0xb8)][_0x466ff3(0xb4)](),this[_0x466ff3(0x9b)][_0x466ff3(0xb6)](_0x466ff3(0x9f),!0x1),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x9f),!0x0),this[_0x466ff3(0xb8)][_0x466ff3(0x89)](),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x93),!0x0),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x91),!0x1);}[_0x2c17c7(0x95)](_0x7ad3d6){var _0x248a7b=_0x2c17c7;this[_0x248a7b(0xb8)][_0x248a7b(0xb1)](_0x7ad3d6),this[_0x248a7b(0xb8)][_0x248a7b(0xb6)](_0x248a7b(0x93),!0x1);}[_0x2c17c7(0x9d)](){var _0x21fa26=_0x2c17c7;this[_0x21fa26(0xb8)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x0),this[_0x21fa26(0x9c)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x1),this[_0x21fa26(0xb8)][_0x21fa26(0xb6)](_0x21fa26(0x91),!0x0),this[_0x21fa26(0x9b)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x1);}[_0x2c17c7(0x8a)](){var _0x3d1ca3=_0x2c17c7;this[_0x3d1ca3(0xb8)][_0x3d1ca3(0x98)]?(this[_0x3d1ca3(0x9b)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x1),this[_0x3d1ca3(0xb8)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x0),this[_0x3d1ca3(0x9c)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x1)):this[_0x3d1ca3(0xb8)][_0x3d1ca3(0x98)]=!0x0;}[_0x2c17c7(0xb3)](){var _0x2354b7=_0x2c17c7;this[_0x2354b7(0x9b)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x1),this[_0x2354b7(0xb8)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x1),this[_0x2354b7(0x9c)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x0);}[_0x2c17c7(0xac)](){var _0x4109d9=_0x2c17c7;this[_0x4109d9(0xb8)][_0x4109d9(0x98)]=!0x1;}[_0x2c17c7(0x8d)](_0x3f7986){var _0x5b307c=_0x2c17c7;this[_0x5b307c(0xaa)][_0x5b307c(0xb6)](_0x5b307c(0x9f),!0x0),this[_0x5b307c(0xaa)][_0x5b307c(0xa6)]=_0x3f7986;}[_0x2c17c7(0xa4)](){var _0x2fb982=_0x2c17c7;this[_0x2fb982(0xb8)][_0x2fb982(0xb6)](_0x2fb982(0x93),!0x1),this[_0x2fb982(0x8a)](),this[_0x2fb982(0xb8)][_0x2fb982(0x96)]();}[_0x2c17c7(0x8c)](){var _0x1096c2=_0x2c17c7;this[_0x1096c2(0xb8)][_0x1096c2(0xb6)](_0x1096c2(0x93),!0x1),this[_0x1096c2(0x8a)](),this[_0x1096c2(0xb8)][_0x1096c2(0x8f)]();}}function _0x24b6(){var _0x1731d6=['isVisible','reviewCoreHeader','4368078noJeeN','ltr','finishReview','showGeneralResultsErrorView','30231830FuriaA','errorMessage','164OMaHLz','resetAllParameterizedChecks','9RKHVJh','generalErrorView','ck-reset_all','hideActionsWhenResultIsReady','showReviewCheckResultsView','setTemplate','ck-rounded-corners','delegate','addResult','header','showNoChangesView','resetErrorState','1712VyolJM','set','showReviewCheckListView','reviewCheckResultsView','div','clearResults','showActionsWhenResultIsReady','completed','showChunkErrorView','showGeneralReviewCoreErrorView','31605DooTHt','showChunkErrorMessage','results','isCompleted','ck-ai-review','isLoading','2065044RIpfNF','addCheckRunResult','showGeneralErrorMessage','1062YbFoIu','isResultReady','list','4427992ssADLp','reviewCheckListView','reviewCompletedView','showReviewCompletedView','634522JoIepa'];_0x24b6=function(){return _0x1731d6;};return _0x24b6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aaf66=_0x14c5;function _0x48a1(){const _0x426d4e=['menuitemradio','label','3SKPrDE','ck-reset_all','4133066DwkwzO','1111174vhjRjc','4943526APHcFB','menu','set','bindTemplate','1339789sleRse','buttonView','16neciWA','find','div','button','_defaultValue','bind','locale','length','default','source','resetToDefault','stopPropagation','execute','data','extendTemplate','5wSXJur','listenTo','add','1090slnyaR','ck-ai_review__check-list-item-parameterized-form-element_dropdown','_prepareListOptions','321308OubEBm','isOn','model','ck-ai_review__check-list-item-parameterized-form-element','formValue','_defaultLabel','89811ORGpyi','setTemplate','8434382pfMTAt','_dropdownView'];_0x48a1=function(){return _0x426d4e;};return _0x48a1();}(function(_0x155db3,_0x3a6baf){const _0x51791b=_0x14c5,_0x4be414=_0x155db3();while(!![]){try{const _0x2177f0=parseInt(_0x51791b(0xd4))/0x1+parseInt(_0x51791b(0xcf))/0x2*(-parseInt(_0x51791b(0xcc))/0x3)+-parseInt(_0x51791b(0xc0))/0x4+parseInt(_0x51791b(0xba))/0x5*(-parseInt(_0x51791b(0xd0))/0x6)+parseInt(_0x51791b(0xce))/0x7*(parseInt(_0x51791b(0xd6))/0x8)+-parseInt(_0x51791b(0xc6))/0x9*(parseInt(_0x51791b(0xbd))/0xa)+parseInt(_0x51791b(0xc8))/0xb;if(_0x2177f0===_0x3a6baf)break;else _0x4be414['push'](_0x4be414['shift']());}catch(_0x1d3337){_0x4be414['push'](_0x4be414['shift']());}}}(_0x48a1,0xb4a29));import{Collection as _0x1083d0}from'ckeditor5/src/utils.js';import{View as _0x2cf463,createDropdown as _0x3bd405,addListToDropdown as _0x189857,UIModel as _0x15a97e}from'ckeditor5/src/ui.js';function _0x14c5(_0x47b723,_0x4e7bf5){const _0x48a1bb=_0x48a1();return _0x14c5=function(_0x14c563,_0x13ada2){_0x14c563=_0x14c563-0xb3;let _0x3611a7=_0x48a1bb[_0x14c563];return _0x3611a7;},_0x14c5(_0x47b723,_0x4e7bf5);}export class AIReviewCoreFormDropdownView extends _0x2cf463{[_0x1aaf66(0xc9)];[_0x1aaf66(0xda)];[_0x1aaf66(0xc5)];constructor(_0x261b0c,_0x267b76){const _0x4555ca=_0x1aaf66;super(_0x261b0c),this[_0x4555ca(0xda)]=_0x267b76[_0x4555ca(0xb3)]||(_0x267b76[_0x4555ca(0xb8)][_0x4555ca(0xdd)]>0x0?_0x267b76[_0x4555ca(0xb8)][0x0]['id']:''),this[_0x4555ca(0xc5)]=_0x267b76[_0x4555ca(0xb8)][_0x4555ca(0xd7)](_0x5b846a=>_0x5b846a['id']===this[_0x4555ca(0xda)])?.[_0x4555ca(0xcb)]||'',this[_0x4555ca(0xd2)](_0x4555ca(0xc4),''),this[_0x4555ca(0xc9)]=_0x3bd405(this[_0x4555ca(0xdc)]);const _0x3ba5d3=this[_0x4555ca(0xbf)](_0x267b76[_0x4555ca(0xb8)]);_0x189857(this[_0x4555ca(0xc9)],_0x3ba5d3,{'role':_0x4555ca(0xd1),'ariaLabel':_0x267b76[_0x4555ca(0xcb)]}),this[_0x4555ca(0xc9)][_0x4555ca(0xd5)][_0x4555ca(0xd2)]({'label':this[_0x4555ca(0xc5)],'withText':!0x0}),this[_0x4555ca(0xc9)][_0x4555ca(0xb9)]({'on':{'click':this[_0x4555ca(0xd3)]['to'](_0x555c37=>{const _0x1f1242=_0x4555ca;_0x555c37[_0x1f1242(0xb6)]();})}}),this[_0x4555ca(0xbb)](this[_0x4555ca(0xc9)],_0x4555ca(0xb7),_0x24eea4=>{const _0x3b7e86=_0x4555ca;this[_0x3b7e86(0xc4)]=_0x24eea4[_0x3b7e86(0xb4)][_0x3b7e86(0xc2)]['id'],this[_0x3b7e86(0xc9)][_0x3b7e86(0xd5)][_0x3b7e86(0xcb)]=_0x24eea4[_0x3b7e86(0xb4)][_0x3b7e86(0xc2)][_0x3b7e86(0xcb)];}),this[_0x4555ca(0xc7)]({'tag':_0x4555ca(0xd8),'attributes':{'class':['ck',_0x4555ca(0xcd),_0x4555ca(0xc3),_0x4555ca(0xbe)]},'children':[this[_0x4555ca(0xc9)]]});}[_0x1aaf66(0xb5)](){const _0x1ec47f=_0x1aaf66;this[_0x1ec47f(0xc4)]=this[_0x1ec47f(0xda)],this[_0x1ec47f(0xc9)][_0x1ec47f(0xd5)][_0x1ec47f(0xcb)]=this[_0x1ec47f(0xc5)];}[_0x1aaf66(0xbf)](_0x4e5c89=[]){const _0x26e8f9=_0x1aaf66,_0x49abd4=new _0x1083d0();this[_0x26e8f9(0xb5)]();for(const _0x551e01 of _0x4e5c89){const _0x971f40=new _0x15a97e({'label':_0x551e01[_0x26e8f9(0xcb)],'withText':!0x0,'role':_0x26e8f9(0xca),'id':_0x551e01['id'],'model':_0x551e01});_0x971f40[_0x26e8f9(0xdb)](_0x26e8f9(0xc1))['to'](this,_0x26e8f9(0xc4),_0x20790e=>_0x20790e===_0x971f40['id']);const _0x29f8d2={'type':_0x26e8f9(0xd9),'model':_0x971f40};_0x49abd4[_0x26e8f9(0xbc)](_0x29f8d2);}return _0x49abd4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48eed6=_0x3a06;(function(_0x550df3,_0x481c8f){const _0x370d1b=_0x3a06,_0x2b29df=_0x550df3();while(!![]){try{const _0x53e67a=-parseInt(_0x370d1b(0x1bd))/0x1*(parseInt(_0x370d1b(0x1b3))/0x2)+-parseInt(_0x370d1b(0x1b7))/0x3*(-parseInt(_0x370d1b(0x1ae))/0x4)+parseInt(_0x370d1b(0x1b2))/0x5+-parseInt(_0x370d1b(0x1ad))/0x6*(parseInt(_0x370d1b(0x1b5))/0x7)+-parseInt(_0x370d1b(0x1bc))/0x8+parseInt(_0x370d1b(0x1c5))/0x9*(-parseInt(_0x370d1b(0x1b6))/0xa)+-parseInt(_0x370d1b(0x1c0))/0xb*(-parseInt(_0x370d1b(0x1c2))/0xc);if(_0x53e67a===_0x481c8f)break;else _0x2b29df['push'](_0x2b29df['shift']());}catch(_0x437983){_0x2b29df['push'](_0x2b29df['shift']());}}}(_0x5ef4,0x21f0e));import{FormRowView as _0x367c1e,ListItemView as _0x21afa9}from'ckeditor5/src/ui.js';function _0x5ef4(){const _0x2c6924=['2oawAvz','argsKey','6482XUUrTC','2542790JMHyWq','6WDHunl','ck-reset_all','resetToDefault','locale','formValue','1698784rDpWDf','32295IrMZxs','value','setTemplate','11hgbaMt','set','5773212SkWcuZ','ck-ai_review__form-item','formType','9NEjZeV','div','add','children','bind','1308vcAnGJ','206576hIeqrM','_formItem','dropdown','ck-form__row_with-submit','1277115UoBMuS'];_0x5ef4=function(){return _0x2c6924;};return _0x5ef4();}import{AIReviewCoreFormDropdownView as _0x3cb80f}from'./aireviewcoreformdropdown.js';function _0x3a06(_0x3cc37a,_0x119a5a){const _0x5ef466=_0x5ef4();return _0x3a06=function(_0x3a064f,_0x1f364f){_0x3a064f=_0x3a064f-0x1aa;let _0x1ef222=_0x5ef466[_0x3a064f];return _0x1ef222;},_0x3a06(_0x3cc37a,_0x119a5a);}export class AIReviewCoreFormManagerView extends _0x21afa9{[_0x48eed6(0x1af)]=null;constructor(_0x2db827,_0x495a42,_0xf34d5d){const _0x1e11c4=_0x48eed6;super(_0x2db827),this[_0x1e11c4(0x1b4)]=_0x495a42?.[_0x1e11c4(0x1b4)];if(_0x1e11c4(0x1b0)===_0x495a42[_0x1e11c4(0x1c4)])this[_0x1e11c4(0x1af)]=new _0x3cb80f(this[_0x1e11c4(0x1ba)],_0x495a42);this[_0x1e11c4(0x1c1)](_0x1e11c4(0x1be),''),this[_0x1e11c4(0x1ac)](_0x1e11c4(0x1be))['to'](this[_0x1e11c4(0x1af)],_0x1e11c4(0x1bb));const _0x349a68=new _0x367c1e(this[_0x1e11c4(0x1ba)],{'children':[this[_0x1e11c4(0x1af)]],'class':[_0xf34d5d?_0x1e11c4(0x1b1):'']});_0xf34d5d&&_0x349a68[_0x1e11c4(0x1ab)][_0x1e11c4(0x1aa)](_0xf34d5d),this[_0x1e11c4(0x1bf)]({'tag':_0x1e11c4(0x1c6),'attributes':{'class':['ck',_0x1e11c4(0x1c3),_0x1e11c4(0x1b8)]},'children':[_0x349a68]});}[_0x48eed6(0x1b9)](){const _0x592c1f=_0x48eed6;this[_0x592c1f(0x1af)][_0x592c1f(0x1b9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x12aa(){const _0x193391=['confident','direct','correctness','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','custom','Shorter','Confident','9885984ZykOjV','dropdown','clarity','Professional','Clarity','longer','Casual','1110521WjUGPL','Direct','make-tone','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Adjust\x20tone\x20and\x20style','1207805DdYUns','1963308xbXGrT','friendly','make','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','shorter','1088913LQgvgZ','Custom\x20command','Correctness','14FBIGWF','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','2kSuMUA','casual','Adjust\x20length','Readability','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','readability','professional','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','80BtHRSP','136992NChhQd','1972107ImHzWA','Friendly','length','Longer','tone'];_0x12aa=function(){return _0x193391;};return _0x12aa();}const _0x8b74a3=_0x228c;(function(_0x4e8917,_0xe8b460){const _0x3c998f=_0x228c,_0x2fc5d6=_0x4e8917();while(!![]){try{const _0x36df5c=-parseInt(_0x3c998f(0x172))/0x1+-parseInt(_0x3c998f(0x182))/0x2*(-parseInt(_0x3c998f(0x17d))/0x3)+-parseInt(_0x3c998f(0x18b))/0x4+parseInt(_0x3c998f(0x177))/0x5+-parseInt(_0x3c998f(0x178))/0x6*(-parseInt(_0x3c998f(0x180))/0x7)+-parseInt(_0x3c998f(0x16b))/0x8+parseInt(_0x3c998f(0x18c))/0x9*(parseInt(_0x3c998f(0x18a))/0xa);if(_0x36df5c===_0xe8b460)break;else _0x2fc5d6['push'](_0x2fc5d6['shift']());}catch(_0x5e4bc5){_0x2fc5d6['push'](_0x2fc5d6['shift']());}}}(_0x12aa,0x9a28b));function _0x228c(_0x1fd5ee,_0x2ef100){const _0x12aa08=_0x12aa();return _0x228c=function(_0x228ce5,_0x579c46){_0x228ce5=_0x228ce5-0x163;let _0x2fa879=_0x12aa08[_0x228ce5];return _0x2fa879;},_0x228c(_0x1fd5ee,_0x2ef100);}export const AI_REVIEW_CHECKS=[{'id':_0x8b74a3(0x168),'commandId':_0x8b74a3(0x168),'title':_0x8b74a3(0x17e),'description':_0x8b74a3(0x17b),'isParameterized':!0x0},{'id':_0x8b74a3(0x166),'commandId':_0x8b74a3(0x166),'title':_0x8b74a3(0x17f),'description':_0x8b74a3(0x186),'isParameterized':!0x1},{'id':_0x8b74a3(0x16d),'commandId':_0x8b74a3(0x16d),'title':_0x8b74a3(0x16f),'description':_0x8b74a3(0x175),'isParameterized':!0x1},{'id':_0x8b74a3(0x187),'commandId':_0x8b74a3(0x187),'title':_0x8b74a3(0x185),'description':_0x8b74a3(0x167),'isParameterized':!0x1},{'id':_0x8b74a3(0x18e),'commandId':_0x8b74a3(0x17a),'title':_0x8b74a3(0x184),'description':_0x8b74a3(0x181),'isParameterized':!0x0,'options':[{'formType':_0x8b74a3(0x16c),'label':_0x8b74a3(0x184),'default':_0x8b74a3(0x170),'data':[{'label':_0x8b74a3(0x18f),'id':_0x8b74a3(0x170)},{'label':_0x8b74a3(0x169),'id':_0x8b74a3(0x17c)}]}]},{'id':_0x8b74a3(0x163),'commandId':_0x8b74a3(0x174),'title':_0x8b74a3(0x176),'description':_0x8b74a3(0x189),'isParameterized':!0x0,'options':[{'formType':_0x8b74a3(0x16c),'label':_0x8b74a3(0x176),'default':_0x8b74a3(0x183),'data':[{'label':_0x8b74a3(0x171),'id':_0x8b74a3(0x183)},{'label':_0x8b74a3(0x173),'id':_0x8b74a3(0x165)},{'label':_0x8b74a3(0x18d),'id':_0x8b74a3(0x179)},{'label':_0x8b74a3(0x16a),'id':_0x8b74a3(0x164)},{'label':_0x8b74a3(0x16e),'id':_0x8b74a3(0x188)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x178d40=_0x31c6;function _0x58d8(){var _0x4e23fa=['8bFGYPF','3994102oDUIGo','38BlYybV','isPremiumPlugin','isOfficialPlugin','979161RoghuN','AIReviewMode','requires','16496840zSHepQ','6290460zPvOSe','2791850YdaGyo','6dDXHXT','pluginName','31372CQCVjn','2942872qTgMdj'];_0x58d8=function(){return _0x4e23fa;};return _0x58d8();}(function(_0x36199b,_0x47dd40){var _0x433055=_0x31c6,_0x107cdd=_0x36199b();while(!![]){try{var _0x2e7e3e=parseInt(_0x433055(0x182))/0x1*(parseInt(_0x433055(0x186))/0x2)+-parseInt(_0x433055(0x189))/0x3*(-parseInt(_0x433055(0x184))/0x4)+parseInt(_0x433055(0x18e))/0x5*(parseInt(_0x433055(0x18f))/0x6)+parseInt(_0x433055(0x185))/0x7+parseInt(_0x433055(0x183))/0x8+-parseInt(_0x433055(0x18d))/0x9+-parseInt(_0x433055(0x18c))/0xa;if(_0x2e7e3e===_0x47dd40)break;else _0x107cdd['push'](_0x107cdd['shift']());}catch(_0x24f067){_0x107cdd['push'](_0x107cdd['shift']());}}}(_0x58d8,0x60ee9));function _0x31c6(_0x1dc847,_0xf50c65){var _0x58d8a4=_0x58d8();return _0x31c6=function(_0x31c627,_0x303084){_0x31c627=_0x31c627-0x182;var _0x515e8c=_0x58d8a4[_0x31c627];return _0x515e8c;},_0x31c6(_0x1dc847,_0xf50c65);}import{ContextPlugin as _0x156a27}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0xd6210a}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x150853}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x4ccb20}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x156a27{static get[_0x178d40(0x18b)](){return[_0x4ccb20,_0xd6210a,_0x150853];}static get[_0x178d40(0x190)](){var _0x28be9a=_0x178d40;return _0x28be9a(0x18a);}static get[_0x178d40(0x188)](){return!0x0;}static get[_0x178d40(0x187)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5ba73e=_0xb931;(function(_0xcd338a,_0x3ce80b){const _0x3baa31=_0xb931,_0x45422a=_0xcd338a();while(!![]){try{const _0x34c0f8=parseInt(_0x3baa31(0x1ae))/0x1*(parseInt(_0x3baa31(0x1ee))/0x2)+-parseInt(_0x3baa31(0x1ce))/0x3+parseInt(_0x3baa31(0x1c0))/0x4+-parseInt(_0x3baa31(0x1d0))/0x5+-parseInt(_0x3baa31(0x193))/0x6*(parseInt(_0x3baa31(0x19d))/0x7)+parseInt(_0x3baa31(0x1e1))/0x8*(-parseInt(_0x3baa31(0x1eb))/0x9)+-parseInt(_0x3baa31(0x191))/0xa*(-parseInt(_0x3baa31(0x188))/0xb);if(_0x34c0f8===_0x3ce80b)break;else _0x45422a['push'](_0x45422a['shift']());}catch(_0x82f2d0){_0x45422a['push'](_0x45422a['shift']());}}}(_0x350e,0x52df3));import{CKEditorError as _0x444ee9}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x5e8943}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x2dcc59}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x18661f}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x30e7ca}from'./model/aireviewcustomcheckrun.js';function _0xb931(_0x5b5fcd,_0xddd3ab){const _0x350e69=_0x350e();return _0xb931=function(_0xb93180,_0x5b61d9){_0xb93180=_0xb93180-0x17a;let _0x523cda=_0x350e69[_0xb93180];return _0x523cda;},_0xb931(_0x5b5fcd,_0xddd3ab);}import{AIReviewSystemCheckRun as _0x5a7985}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x4fcef7}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x15924e}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x25337a}from'./model/aireviewcheckextra.js';function _0x350e(){const _0x2d4ca7=['ai.review.availableCommands','listenTo','description','toUpperCase','getElement','some','toggleDiff','diffContent','_changeActivationSource','_getChangeContentElement','ck-ai_review-','2371804Atjygi','_onActivateChange','ai-review-mode-models-unable-to-retrieve','join','checks','AIReviewModeUI','balloon','domEvent','addClass','get','context','isExtra','recommended','define','1854747iNlFxw','getAll','1924455qBiRub','ai.models','AI_REVIEW_CHECK_','_onDiffChange','document','getDocumentData','markChangePositionInEditorContent','_aiConnector','plugins','locale','getDefault','push','AIReviewModeController','_onChangeMarkerBlurred','_markChangePositionInEditorContent','uiInteraction','setMarkersInElementAsActive','8EUpgdM','setupChecks','_onChangeMarkerClicked','origin','showDiffInBalloon','_TITLE','markerElement','AIReviewCoreEditing','replaceAll','getEditor','2895282sSBQWA','_onReviewCheckResultActivated','params','40048PPTyHX','prompt','_translateReviewCheck','filter','args','getDomRoot','viewportOffset','change','_initRequiredPlugins','hover','custom','defaultModel','content','all','panel','_onDeactivateChange','find','hideChangeBalloon','_getChecksList','getClassNames','setAllMarkersAsInactive','_logError','_DESCRIPTION','editing','showChangeBalloon','removeCheckById','click','_getExtraChecks','getChangeById','resetActiveStateInResults','removeClass','length','activateChange','getMarkerElementForChange','ai.review.extraCommands','default','getAvailableModels','view','25157jCRIaZ','_logErrorForNonExistentChecks','_onReviewCheckRun','_hasDefaultAvailableCommands','getRoot','options','_OPTIONS_LABEL','setActiveStateInResults','data','5270uLUele','model','1644522yypziI','startsWith','_OPTIONS_DATA_','ai-review-mode-non-existent-commands-used','config','forEach','ck-ai_review-diff','map','_aiReviewCoreUi','_createReviewCheckRun','7qnunJQ','ck-ai_review-highlights','_currentReviewCheckRun','_onChangeMarkerHovered','_onReviewCheckResultDeactivated','isAnyChangeActivated','_aiReviewCoreEditing','_isDiffOn','_diffContent','title','init','_getTranslationWithDefault','hideDiffInBalloon','_scrollToChange','_filterChecksWithMissingModel','models','deactivateChange','7XRgFsd','_getModels','isCustom','label','ai-review-mode-command-unavailable-due-to-missing-model','changeId','pluginName'];_0x350e=function(){return _0x2d4ca7;};return _0x350e();}import{AIReviewExtraCheckRun as _0x55f247}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x5e8943{static get[_0x5ba73e(0x1b4)](){const _0x582b3a=_0x5ba73e;return _0x582b3a(0x1dc);}[_0x5ba73e(0x1a4)]=!0x1;[_0x5ba73e(0x18b)]=!0x1;constructor(_0x1655f1){const _0x2a7a84=_0x5ba73e;super(_0x1655f1),this[_0x2a7a84(0x18b)]=!this[_0x2a7a84(0x1ca)][_0x2a7a84(0x197)][_0x2a7a84(0x1c9)](_0x2a7a84(0x1b5)),this[_0x2a7a84(0x1ca)][_0x2a7a84(0x197)][_0x2a7a84(0x1cd)](_0x2a7a84(0x1b5),_0x2dcc59[_0x2a7a84(0x19a)](_0x534f24=>_0x534f24['id'])),this[_0x2a7a84(0x1ca)][_0x2a7a84(0x197)][_0x2a7a84(0x1cd)](_0x2a7a84(0x184),[]);}async[_0x5ba73e(0x1a7)](){const _0x4a05df=_0x5ba73e;await super[_0x4a05df(0x1a7)](),this[_0x4a05df(0x1b6)](this[_0x4a05df(0x19b)],_0x4a05df(0x1bb),(_0x1ab9f7,_0x244cbd)=>{const _0x32eb9e=_0x4a05df;this[_0x32eb9e(0x1a4)]=_0x244cbd['on'],this[_0x32eb9e(0x1d3)](this[_0x32eb9e(0x1a4)]);});}[_0x5ba73e(0x1f6)](){const _0x9642e5=_0x5ba73e;super[_0x9642e5(0x1f6)](),this[_0x9642e5(0x19b)]=this[_0x9642e5(0x1ca)][_0x9642e5(0x1d8)][_0x9642e5(0x1c9)](_0x9642e5(0x1c5)),this[_0x9642e5(0x1a3)]=this[_0x9642e5(0x1ca)][_0x9642e5(0x1d8)][_0x9642e5(0x1c9)](_0x9642e5(0x1e8));}[_0x5ba73e(0x19c)](_0x1dbc56,_0x2530c8){const _0x1b8e64=_0x5ba73e;return _0x1dbc56[_0x1b8e64(0x1b0)]?new _0x30e7ca(_0x1dbc56[_0x1b8e64(0x1f2)][_0x1b8e64(0x1ef)],_0x1dbc56[_0x1b8e64(0x1f2)][_0x1b8e64(0x192)],this[_0x1b8e64(0x1a3)][_0x1b8e64(0x1d5)](),_0x2530c8,this[_0x1b8e64(0x1d7)]):_0x2530c8[_0x1b8e64(0x1cb)]?new _0x55f247(_0x2530c8[_0x1b8e64(0x1ef)],_0x2530c8[_0x1b8e64(0x1f9)]['id'],this[_0x1b8e64(0x1a3)][_0x1b8e64(0x1d5)](),_0x2530c8,this[_0x1b8e64(0x1d7)]):new _0x5a7985(this[_0x1b8e64(0x1a3)][_0x1b8e64(0x1d5)](),_0x2530c8,this[_0x1b8e64(0x1d7)],_0x1dbc56[_0x1b8e64(0x1ed)],_0x1dbc56[_0x1b8e64(0x1f2)]);}[_0x5ba73e(0x1ec)](_0x23d2f3){const _0x187418=_0x5ba73e;this[_0x187418(0x19b)][_0x187418(0x18f)](_0x23d2f3[_0x187418(0x1f5)]['id']),this[_0x187418(0x1aa)](_0x23d2f3[_0x187418(0x1f5)]['id']);const _0x175002=this[_0x187418(0x1a3)][_0x187418(0x183)](_0x23d2f3[_0x187418(0x1f5)]['id']);if(!_0x175002)return;const _0xa51ea5=this[_0x187418(0x1a3)][_0x187418(0x1ea)]();this[_0x187418(0x19b)][_0x187418(0x17a)](_0x23d2f3[_0x187418(0x1f5)],()=>_0x175002[_0x187418(0x1b9)](),void 0x0,_0x187418(0x17c),_0xa51ea5?.[_0x187418(0x205)]?.[_0x187418(0x187)]?.[_0x187418(0x1f3)](),_0xa51ea5?.['ui']?.[_0x187418(0x1f4)]),this[_0x187418(0x1a3)][_0x187418(0x1e0)](_0x23d2f3[_0x187418(0x1f5)]['id']);}[_0x5ba73e(0x1a1)](){const _0x1b8107=_0x5ba73e;this[_0x1b8107(0x19b)][_0x1b8107(0x17f)](),this[_0x1b8107(0x19b)][_0x1b8107(0x1ff)](),this[_0x1b8107(0x1a3)][_0x1b8107(0x202)]();}[_0x5ba73e(0x1c1)](_0x4629d3){const _0xe5a2fd=_0x5ba73e;this[_0xe5a2fd(0x19f)]&&_0xe5a2fd(0x17c)===_0x4629d3[_0xe5a2fd(0x1df)]&&(this[_0xe5a2fd(0x1bd)]=_0xe5a2fd(0x1fc),this[_0xe5a2fd(0x19f)][_0xe5a2fd(0x182)](_0x4629d3['id']));}[_0x5ba73e(0x1fd)](_0x7aa83){const _0x214a01=_0x5ba73e;this[_0x214a01(0x19f)]&&_0x214a01(0x1c6)===_0x7aa83[_0x214a01(0x1e4)]&&this[_0x214a01(0x19f)][_0x214a01(0x1ad)]();}[_0x5ba73e(0x1e3)](_0x5ca581,_0x5751a5){const _0x255e2c=_0x5ba73e;if(!this[_0x255e2c(0x19f)])return;this[_0x255e2c(0x1bd)]=_0x255e2c(0x1fa),this[_0x255e2c(0x19f)][_0x255e2c(0x182)](_0x5751a5[_0x255e2c(0x1b3)]);const _0x1cdc59=this[_0x255e2c(0x19f)][_0x255e2c(0x17e)](_0x5751a5[_0x255e2c(0x1b3)]);if(!_0x1cdc59)return;const _0x310750=this[_0x255e2c(0x1a3)][_0x255e2c(0x1ea)]();this[_0x255e2c(0x19b)][_0x255e2c(0x17a)](_0x1cdc59,_0x5751a5[_0x255e2c(0x1e7)],_0x5751a5[_0x255e2c(0x1c7)],_0x255e2c(0x17c),_0x310750?.[_0x255e2c(0x205)]?.[_0x255e2c(0x187)]?.[_0x255e2c(0x1f3)](),_0x310750?.['ui']?.[_0x255e2c(0x1f4)]);}[_0x5ba73e(0x1a0)](_0x1c821f,_0x2234a0){const _0x965633=_0x5ba73e;if(!this[_0x965633(0x19f)])return;if(this[_0x965633(0x19f)][_0x965633(0x1a2)]())return;const _0x4c041c=this[_0x965633(0x19f)][_0x965633(0x17e)](_0x2234a0[_0x965633(0x1b3)]);if(!_0x4c041c)return;const _0x2c16fa=this[_0x965633(0x1a3)][_0x965633(0x1ea)]();this[_0x965633(0x19b)][_0x965633(0x17a)](_0x4c041c,_0x2234a0[_0x965633(0x1e7)],_0x2234a0[_0x965633(0x1c7)],_0x965633(0x1f7),_0x2c16fa?.[_0x965633(0x205)]?.[_0x965633(0x187)]?.[_0x965633(0x1f3)](),_0x2c16fa?.['ui']?.[_0x965633(0x1f4)]);}[_0x5ba73e(0x1dd)](){const _0x1a5f0e=_0x5ba73e;if(!this[_0x1a5f0e(0x19f)])return;this[_0x1a5f0e(0x19f)][_0x1a5f0e(0x1a2)]()||this[_0x1a5f0e(0x19b)][_0x1a5f0e(0x1ff)]();}[_0x5ba73e(0x1be)](_0x50c760){const _0x3e0785=_0x5ba73e,_0x3ba04b=this[_0x3e0785(0x1a3)][_0x3e0785(0x183)](_0x50c760);return _0x3ba04b?_0x3ba04b[_0x3e0785(0x1b9)]():null;}[_0x5ba73e(0x1de)](_0x23fd15,_0x43ca28){const _0x1a5521=_0x5ba73e;this[_0x1a5521(0x1a3)][_0x1a5521(0x1d6)](_0x23fd15,_0x43ca28);}[_0x5ba73e(0x1a5)](_0x44d869,_0x77765e){const _0xe5a07a=_0x5ba73e;return this[_0xe5a07a(0x1a3)][_0xe5a07a(0x1bc)](_0x44d869,_0x77765e);}[_0x5ba73e(0x18a)](){const _0x28d8e1=_0x5ba73e;this[_0x28d8e1(0x1d3)](this[_0x28d8e1(0x1a4)]);}[_0x5ba73e(0x1d3)](_0x54b49c){const _0x4fdcb7=_0x5ba73e,_0x22420f=this[_0x4fdcb7(0x1a3)][_0x4fdcb7(0x1ea)]();_0x54b49c?this[_0x4fdcb7(0x19b)][_0x4fdcb7(0x1a9)]():this[_0x4fdcb7(0x19b)][_0x4fdcb7(0x1e5)](),_0x22420f&&_0x22420f[_0x4fdcb7(0x205)][_0x4fdcb7(0x187)][_0x4fdcb7(0x1f5)](_0x41b5bf=>{const _0x3f8b3f=_0x4fdcb7,_0x77a102=_0x22420f[_0x3f8b3f(0x205)][_0x3f8b3f(0x187)][_0x3f8b3f(0x1d4)][_0x3f8b3f(0x18c)]();for(const _0x3d8bda of _0x77a102[_0x3f8b3f(0x201)]())_0x3d8bda[_0x3f8b3f(0x194)](_0x3f8b3f(0x1bf))&&_0x41b5bf[_0x3f8b3f(0x180)](_0x3d8bda,_0x77a102);_0x41b5bf[_0x3f8b3f(0x1c8)](_0x54b49c?_0x3f8b3f(0x199):_0x3f8b3f(0x19e),_0x77a102);});}async[_0x5ba73e(0x200)](){const _0x3612c1=_0x5ba73e,_0x10ff3b=[..._0x2dcc59,...this[_0x3612c1(0x17d)]()],_0x575808=this[_0x3612c1(0x1ca)][_0x3612c1(0x197)][_0x3612c1(0x1c9)](_0x3612c1(0x1b5))||[];this[_0x3612c1(0x189)](_0x575808,_0x10ff3b);let _0x18e94a=_0x10ff3b;this[_0x3612c1(0x18b)]||(_0x18e94a=_0x575808[_0x3612c1(0x19a)](_0x577e7d=>_0x10ff3b[_0x3612c1(0x1fe)](_0x34d255=>_0x34d255['id']===_0x577e7d))[_0x3612c1(0x1f1)](_0x468d78=>!!_0x468d78)),_0x18e94a=_0x18e94a[_0x3612c1(0x19a)](_0x3f4dc0=>_0x3f4dc0[_0x3612c1(0x1cb)]?_0x3f4dc0:this[_0x3612c1(0x1f0)](_0x3f4dc0));const _0x421ecf=_0x18e94a[_0x3612c1(0x1ba)](_0x2bbd4f=>_0x2bbd4f[_0x3612c1(0x1cb)]||_0x3612c1(0x1f8)===_0x2bbd4f['id']);let _0x5ab7a6=[],_0x423761=[],_0xc5535f=null;if(_0x421ecf){const _0x3e9bb3=await this[_0x3612c1(0x1af)]();_0x5ab7a6=_0x3e9bb3[_0x3612c1(0x1fb)],_0x423761=_0x3e9bb3[_0x3612c1(0x1cc)],_0xc5535f=_0x3e9bb3[_0x3612c1(0x185)];}const _0x56d6d0=new _0x18661f(_0x5ab7a6,_0x423761,_0xc5535f);return _0x56d6d0[_0x3612c1(0x1e2)](_0x18e94a),_0x421ecf&&this[_0x3612c1(0x1ab)](_0x56d6d0),_0x56d6d0;}[_0x5ba73e(0x17d)](){const _0x1f4c88=_0x5ba73e;return(this[_0x1f4c88(0x1ca)][_0x1f4c88(0x197)][_0x1f4c88(0x1c9)](_0x1f4c88(0x184))||[])[_0x1f4c88(0x19a)](_0x59a564=>({'id':_0x59a564['id'],'commandId':_0x59a564['id'],'title':_0x59a564[_0x1f4c88(0x1b1)],'description':_0x59a564[_0x1f4c88(0x1b7)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x59a564[_0x1f4c88(0x1ef)],'model':_0x59a564[_0x1f4c88(0x192)]}));}[_0x5ba73e(0x189)](_0x155864,_0x4c5e2e){const _0x3baa78=_0x5ba73e,_0x5ca905=_0x155864[_0x3baa78(0x1f1)](_0x4677d9=>!_0x4c5e2e[_0x3baa78(0x1ba)](_0x43ff4a=>_0x43ff4a['id']===_0x4677d9));_0x5ca905[_0x3baa78(0x181)]&&this[_0x3baa78(0x203)](new _0x444ee9(_0x3baa78(0x196),this,{'commandIds':_0x5ca905[_0x3baa78(0x1c3)](',\x20')}),!0x0);}async[_0x5ba73e(0x1af)](){const _0x41302b=_0x5ba73e;try{const _0xb3fb87=new _0x4fcef7({'connector':this[_0x41302b(0x1d7)],'config':this[_0x41302b(0x1ca)][_0x41302b(0x197)][_0x41302b(0x1c9)](_0x41302b(0x1d1)),'locale':this[_0x41302b(0x1ca)][_0x41302b(0x1d9)]});return{'all':await _0xb3fb87[_0x41302b(0x1cf)](),'recommended':await _0xb3fb87[_0x41302b(0x186)](),'default':await _0xb3fb87[_0x41302b(0x1da)]()};}catch(_0x5eef15){return this[_0x41302b(0x203)](new _0x444ee9(_0x41302b(0x1c2),this,void 0x0,_0x5eef15)),{'all':[],'recommended':[],'default':null};}}[_0x5ba73e(0x1f0)](_0x44a532){const _0x5df344=_0x5ba73e,_0x4a960f=_0x5df344(0x1d2)+_0x44a532['id'][_0x5df344(0x1b8)]()[_0x5df344(0x1e9)]('-','_'),_0x56deb4={..._0x44a532,'title':this[_0x5df344(0x1a8)](_0x4a960f+_0x5df344(0x1e6),_0x44a532[_0x5df344(0x1a6)]),'description':this[_0x5df344(0x1a8)](_0x4a960f+_0x5df344(0x204),_0x44a532[_0x5df344(0x1b7)])};return _0x44a532[_0x5df344(0x18d)]&&(_0x56deb4[_0x5df344(0x18d)]=_0x44a532[_0x5df344(0x18d)][_0x5df344(0x19a)](_0x2c41ca=>({..._0x2c41ca,'label':this[_0x5df344(0x1a8)](_0x4a960f+_0x5df344(0x18e),_0x2c41ca[_0x5df344(0x1b1)]||''),'data':_0x2c41ca[_0x5df344(0x190)]?_0x2c41ca[_0x5df344(0x190)][_0x5df344(0x19a)](_0x2adc1e=>({..._0x2adc1e,'label':this[_0x5df344(0x1a8)](_0x4a960f+_0x5df344(0x195)+_0x2adc1e['id'][_0x5df344(0x1b8)](),_0x2adc1e[_0x5df344(0x1b1)])})):void 0x0}))),_0x56deb4;}[_0x5ba73e(0x1ab)](_0x374f94){const _0x36b6ec=_0x5ba73e,_0x238dcb=[];_0x374f94[_0x36b6ec(0x1c4)][_0x36b6ec(0x198)](_0x2c2ad7=>{const _0x46b73a=_0x36b6ec;(_0x2c2ad7 instanceof _0x25337a&&!_0x2c2ad7[_0x46b73a(0x1f9)]||_0x2c2ad7 instanceof _0x15924e&&!_0x2c2ad7[_0x46b73a(0x1ac)][_0x46b73a(0x181)])&&_0x238dcb[_0x46b73a(0x1db)](_0x2c2ad7['id']);}),_0x238dcb[_0x36b6ec(0x181)]&&_0x238dcb[_0x36b6ec(0x198)](_0x2dde45=>{const _0x4494fd=_0x36b6ec;_0x374f94[_0x4494fd(0x17b)](_0x2dde45),this[_0x4494fd(0x203)](new _0x444ee9(_0x4494fd(0x1b2),this,{'commandId':_0x2dde45}),!0x0);});}}
|
|
23
|
+
const _0x4ad6b6=_0x488c;(function(_0x5d382c,_0x54ae65){const _0x133778=_0x488c,_0x5543a3=_0x5d382c();while(!![]){try{const _0x33e206=parseInt(_0x133778(0x109))/0x1+-parseInt(_0x133778(0x10e))/0x2+-parseInt(_0x133778(0x151))/0x3*(parseInt(_0x133778(0x112))/0x4)+parseInt(_0x133778(0x147))/0x5+parseInt(_0x133778(0x12a))/0x6*(parseInt(_0x133778(0x14c))/0x7)+-parseInt(_0x133778(0x134))/0x8*(parseInt(_0x133778(0x125))/0x9)+parseInt(_0x133778(0xff))/0xa;if(_0x33e206===_0x54ae65)break;else _0x5543a3['push'](_0x5543a3['shift']());}catch(_0x153432){_0x5543a3['push'](_0x5543a3['shift']());}}}(_0x1f72,0xce158));import{CKEditorError as _0x22c511}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x13a140}from'../aireviewcore/aireviewcorecontroller.js';function _0x488c(_0x40bf92,_0x24de8f){const _0x1f72d7=_0x1f72();return _0x488c=function(_0x488cf0,_0x51f8bf){_0x488cf0=_0x488cf0-0xd7;let _0x18b87=_0x1f72d7[_0x488cf0];return _0x18b87;},_0x488c(_0x40bf92,_0x24de8f);}import{AI_REVIEW_CHECKS as _0x478999}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x2526c7}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x3fd197}from'./model/aireviewcustomcheckrun.js';function _0x1f72(){const _0x9db2cc=['3005948qrirGZ','args','listenTo','changeId','76KdDeCU','getAll','_OPTIONS_LABEL','map','description','replaceAll','removeCheckById','_getModels','forEach','resetActiveStateInResults','ck-ai_review-highlights','getChangeById','locale','_onChangeMarkerBlurred','ai.review.availableCommands','isCustom','showDiffInBalloon','deactivateChange','title','45RhFDiU','_isDiffOn','_aiReviewCoreUi','_DESCRIPTION','_logErrorForNonExistentChecks','12PCLvkV','view','getAvailableModels','length','getElement','_getChangeContentElement','setMarkersInElementAsActive','_onReviewCheckResultDeactivated','addClass','_hasDefaultAvailableCommands','1489168kinrQf','_initRequiredPlugins','pluginName','init','click','context','_onDeactivateChange','ai-review-mode-non-existent-commands-used','_getChecksList','push','_onReviewCheckResultActivated','setAllMarkersAsInactive','domEvent','uiInteraction','custom','panel','startsWith','_onActivateChange','getEditor','599485cLyogH','plugins','getDomRoot','showChangeBalloon','AIReviewModeUI','3962812RPcmLZ','isAnyChangeActivated','AI_REVIEW_CHECK_','change','toUpperCase','251871chzVFp','editing','setActiveStateInResults','getDefault','toggleDiff','_currentReviewCheckRun','ai-review-mode-command-unavailable-due-to-missing-model','config','markerElement','_logError','isExtra','ai.models','document','_onChangeMarkerClicked','getDocumentData','get','_translateReviewCheck','ai.review.extraCommands','_getTranslationWithDefault','_changeActivationSource','find','define','_onReviewCheckRun','_OPTIONS_DATA_','some','all','_scrollToChange','setupChecks','hideChangeBalloon','models','label','params','origin','getClassNames','_TITLE','ck-ai_review-diff','content','ck-ai_review-','_aiReviewCoreEditing','hover','_diffContent','default','getMarkerElementForChange','model','_createReviewCheckRun','balloon','recommended','removeClass','defaultModel','checks','getRoot','data','_aiConnector','prompt','hideDiffInBalloon','options','diffContent','35350730walNHx','_onDiffChange','join','ai-review-mode-models-unable-to-retrieve','AIReviewModeController','AIReviewCoreEditing','_onChangeMarkerHovered','_filterChecksWithMissingModel','_markChangePositionInEditorContent','_getExtraChecks','85805BvktLf','activateChange','markChangePositionInEditorContent','filter','viewportOffset'];_0x1f72=function(){return _0x9db2cc;};return _0x1f72();}import{AIReviewSystemCheckRun as _0x1a57c7}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x4b3621}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x58527d}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x41978f}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x47a64e}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x13a140{static get[_0x4ad6b6(0x136)](){const _0x5d8b21=_0x4ad6b6;return _0x5d8b21(0x103);}[_0x4ad6b6(0x126)]=!0x1;[_0x4ad6b6(0x133)]=!0x1;constructor(_0x26f0ed){const _0x48afda=_0x4ad6b6;super(_0x26f0ed),this[_0x48afda(0x133)]=!this[_0x48afda(0x139)][_0x48afda(0x158)][_0x48afda(0x160)](_0x48afda(0x120)),this[_0x48afda(0x139)][_0x48afda(0x158)][_0x48afda(0xdb)](_0x48afda(0x120),_0x478999[_0x48afda(0x115)](_0x30a149=>_0x30a149['id'])),this[_0x48afda(0x139)][_0x48afda(0x158)][_0x48afda(0xdb)](_0x48afda(0xd7),[]);}async[_0x4ad6b6(0x137)](){const _0x108a12=_0x4ad6b6;await super[_0x108a12(0x137)](),this[_0x108a12(0x110)](this[_0x108a12(0x127)],_0x108a12(0x155),(_0x1f0342,_0x2de10e)=>{const _0x1a8327=_0x108a12;this[_0x1a8327(0x126)]=_0x2de10e['on'],this[_0x1a8327(0x100)](this[_0x1a8327(0x126)]);});}[_0x4ad6b6(0x135)](){const _0x1f97e5=_0x4ad6b6;super[_0x1f97e5(0x135)](),this[_0x1f97e5(0x127)]=this[_0x1f97e5(0x139)][_0x1f97e5(0x148)][_0x1f97e5(0x160)](_0x1f97e5(0x14b)),this[_0x1f97e5(0xec)]=this[_0x1f97e5(0x139)][_0x1f97e5(0x148)][_0x1f97e5(0x160)](_0x1f97e5(0x104));}[_0x4ad6b6(0xf2)](_0x1b8003,_0x52ade0){const _0xa88101=_0x4ad6b6;return _0x1b8003[_0xa88101(0x121)]?new _0x3fd197(_0x1b8003[_0xa88101(0x10f)][_0xa88101(0xfb)],_0x1b8003[_0xa88101(0x10f)][_0xa88101(0xf1)],this[_0xa88101(0xec)][_0xa88101(0x15f)](),_0x52ade0,this[_0xa88101(0xfa)]):_0x52ade0[_0xa88101(0x15b)]?new _0x47a64e(_0x52ade0[_0xa88101(0xfb)],_0x52ade0[_0xa88101(0xf6)]['id'],this[_0xa88101(0xec)][_0xa88101(0x15f)](),_0x52ade0,this[_0xa88101(0xfa)]):new _0x1a57c7(this[_0xa88101(0xec)][_0xa88101(0x15f)](),_0x52ade0,this[_0xa88101(0xfa)],_0x1b8003[_0xa88101(0xe5)],_0x1b8003[_0xa88101(0x10f)]);}[_0x4ad6b6(0x13e)](_0x3dba9c){const _0x9dfcbe=_0x4ad6b6;this[_0x9dfcbe(0x127)][_0x9dfcbe(0x153)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']),this[_0x9dfcbe(0xe0)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']);const _0x45b2a2=this[_0x9dfcbe(0xec)][_0x9dfcbe(0xf0)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']);if(!_0x45b2a2)return;const _0x12f1bd=this[_0x9dfcbe(0xec)][_0x9dfcbe(0x146)]();this[_0x9dfcbe(0x127)][_0x9dfcbe(0x14a)](_0x3dba9c[_0x9dfcbe(0x14f)],()=>_0x45b2a2[_0x9dfcbe(0x12e)](),void 0x0,_0x9dfcbe(0x138),_0x12f1bd?.[_0x9dfcbe(0x152)]?.[_0x9dfcbe(0x12b)]?.[_0x9dfcbe(0x149)](),_0x12f1bd?.['ui']?.[_0x9dfcbe(0x10d)]),this[_0x9dfcbe(0xec)][_0x9dfcbe(0x130)](_0x3dba9c[_0x9dfcbe(0x14f)]['id']);}[_0x4ad6b6(0x131)](){const _0x347175=_0x4ad6b6;this[_0x347175(0x127)][_0x347175(0x11b)](),this[_0x347175(0x127)][_0x347175(0xe2)](),this[_0x347175(0xec)][_0x347175(0x13f)]();}[_0x4ad6b6(0x145)](_0x371e08){const _0x403258=_0x4ad6b6;this[_0x403258(0x156)]&&_0x403258(0x138)===_0x371e08[_0x403258(0x141)]&&(this[_0x403258(0xd9)]=_0x403258(0x143),this[_0x403258(0x156)][_0x403258(0x10a)](_0x371e08['id']));}[_0x4ad6b6(0x13a)](_0x34f316){const _0x3911df=_0x4ad6b6;this[_0x3911df(0x156)]&&_0x3911df(0xf3)===_0x34f316[_0x3911df(0xe6)]&&this[_0x3911df(0x156)][_0x3911df(0x123)]();}[_0x4ad6b6(0x15e)](_0x53bb66,_0x32ada1){const _0x54156c=_0x4ad6b6;if(!this[_0x54156c(0x156)])return;this[_0x54156c(0xd9)]=_0x54156c(0xea),this[_0x54156c(0x156)][_0x54156c(0x10a)](_0x32ada1[_0x54156c(0x111)]);const _0x2854ee=this[_0x54156c(0x156)][_0x54156c(0x11d)](_0x32ada1[_0x54156c(0x111)]);if(!_0x2854ee)return;const _0x22d756=this[_0x54156c(0xec)][_0x54156c(0x146)]();this[_0x54156c(0x127)][_0x54156c(0x14a)](_0x2854ee,_0x32ada1[_0x54156c(0x159)],_0x32ada1[_0x54156c(0x140)],_0x54156c(0x138),_0x22d756?.[_0x54156c(0x152)]?.[_0x54156c(0x12b)]?.[_0x54156c(0x149)](),_0x22d756?.['ui']?.[_0x54156c(0x10d)]);}[_0x4ad6b6(0x105)](_0x5c72dc,_0x4131c6){const _0x291f64=_0x4ad6b6;if(!this[_0x291f64(0x156)])return;if(this[_0x291f64(0x156)][_0x291f64(0x14d)]())return;const _0xbbc640=this[_0x291f64(0x156)][_0x291f64(0x11d)](_0x4131c6[_0x291f64(0x111)]);if(!_0xbbc640)return;const _0x1509b3=this[_0x291f64(0xec)][_0x291f64(0x146)]();this[_0x291f64(0x127)][_0x291f64(0x14a)](_0xbbc640,_0x4131c6[_0x291f64(0x159)],_0x4131c6[_0x291f64(0x140)],_0x291f64(0xed),_0x1509b3?.[_0x291f64(0x152)]?.[_0x291f64(0x12b)]?.[_0x291f64(0x149)](),_0x1509b3?.['ui']?.[_0x291f64(0x10d)]);}[_0x4ad6b6(0x11f)](){const _0x3b824b=_0x4ad6b6;if(!this[_0x3b824b(0x156)])return;this[_0x3b824b(0x156)][_0x3b824b(0x14d)]()||this[_0x3b824b(0x127)][_0x3b824b(0xe2)]();}[_0x4ad6b6(0x12f)](_0x117ba5){const _0x46b931=_0x4ad6b6,_0x23cde4=this[_0x46b931(0xec)][_0x46b931(0xf0)](_0x117ba5);return _0x23cde4?_0x23cde4[_0x46b931(0x12e)]():null;}[_0x4ad6b6(0x107)](_0x4da486,_0x41e10e){const _0x2870a0=_0x4ad6b6;this[_0x2870a0(0xec)][_0x2870a0(0x10b)](_0x4da486,_0x41e10e);}[_0x4ad6b6(0xee)](_0x36ab38,_0x21ea59){const _0x5e55b4=_0x4ad6b6;return this[_0x5e55b4(0xec)][_0x5e55b4(0xfe)](_0x36ab38,_0x21ea59);}[_0x4ad6b6(0xdc)](){const _0x5490b9=_0x4ad6b6;this[_0x5490b9(0x100)](this[_0x5490b9(0x126)]);}[_0x4ad6b6(0x100)](_0x3e7d75){const _0x5eaf9e=_0x4ad6b6,_0x24a5c1=this[_0x5eaf9e(0xec)][_0x5eaf9e(0x146)]();_0x3e7d75?this[_0x5eaf9e(0x127)][_0x5eaf9e(0xfc)]():this[_0x5eaf9e(0x127)][_0x5eaf9e(0x122)](),_0x24a5c1&&_0x24a5c1[_0x5eaf9e(0x152)][_0x5eaf9e(0x12b)][_0x5eaf9e(0x14f)](_0x3fdbb5=>{const _0x20761b=_0x5eaf9e,_0x439bf8=_0x24a5c1[_0x20761b(0x152)][_0x20761b(0x12b)][_0x20761b(0x15d)][_0x20761b(0xf8)]();for(const _0x1307bd of _0x439bf8[_0x20761b(0xe7)]())_0x1307bd[_0x20761b(0x144)](_0x20761b(0xeb))&&_0x3fdbb5[_0x20761b(0xf5)](_0x1307bd,_0x439bf8);_0x3fdbb5[_0x20761b(0x132)](_0x3e7d75?_0x20761b(0xe9):_0x20761b(0x11c),_0x439bf8);});}async[_0x4ad6b6(0x13c)](){const _0x140e31=_0x4ad6b6,_0x3083fc=[..._0x478999,...this[_0x140e31(0x108)]()],_0x54eb2e=this[_0x140e31(0x139)][_0x140e31(0x158)][_0x140e31(0x160)](_0x140e31(0x120))||[];this[_0x140e31(0x129)](_0x54eb2e,_0x3083fc);let _0x46fd70=_0x3083fc;this[_0x140e31(0x133)]||(_0x46fd70=_0x54eb2e[_0x140e31(0x115)](_0x7d5194=>_0x3083fc[_0x140e31(0xda)](_0x232c28=>_0x232c28['id']===_0x7d5194))[_0x140e31(0x10c)](_0x45bc47=>!!_0x45bc47)),_0x46fd70=_0x46fd70[_0x140e31(0x115)](_0x56406c=>_0x56406c[_0x140e31(0x15b)]?_0x56406c:this[_0x140e31(0x161)](_0x56406c));const _0x1dcdf3=_0x46fd70[_0x140e31(0xde)](_0x444d72=>_0x444d72[_0x140e31(0x15b)]||_0x140e31(0x142)===_0x444d72['id']);let _0x1b99be=[],_0x183a07=[],_0x2421cc=null;if(_0x1dcdf3){const _0x3c428f=await this[_0x140e31(0x119)]();_0x1b99be=_0x3c428f[_0x140e31(0xdf)],_0x183a07=_0x3c428f[_0x140e31(0xf4)],_0x2421cc=_0x3c428f[_0x140e31(0xef)];}const _0x29b512=new _0x2526c7(_0x1b99be,_0x183a07,_0x2421cc);return _0x29b512[_0x140e31(0xe1)](_0x46fd70),_0x1dcdf3&&this[_0x140e31(0x106)](_0x29b512),_0x29b512;}[_0x4ad6b6(0x108)](){const _0x58ef90=_0x4ad6b6;return(this[_0x58ef90(0x139)][_0x58ef90(0x158)][_0x58ef90(0x160)](_0x58ef90(0xd7))||[])[_0x58ef90(0x115)](_0x2fbd1c=>({'id':_0x2fbd1c['id'],'commandId':_0x2fbd1c['id'],'title':_0x2fbd1c[_0x58ef90(0xe4)],'description':_0x2fbd1c[_0x58ef90(0x116)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x2fbd1c[_0x58ef90(0xfb)],'model':_0x2fbd1c[_0x58ef90(0xf1)]}));}[_0x4ad6b6(0x129)](_0x5cb44d,_0xf05b2){const _0x3a97b6=_0x4ad6b6,_0x2bd257=_0x5cb44d[_0x3a97b6(0x10c)](_0x29417c=>!_0xf05b2[_0x3a97b6(0xde)](_0x103ddc=>_0x103ddc['id']===_0x29417c));_0x2bd257[_0x3a97b6(0x12d)]&&this[_0x3a97b6(0x15a)](new _0x22c511(_0x3a97b6(0x13b),this,{'commandIds':_0x2bd257[_0x3a97b6(0x101)](',\x20')}),!0x0);}async[_0x4ad6b6(0x119)](){const _0xcad56f=_0x4ad6b6;try{const _0x30e73b=new _0x4b3621({'connector':this[_0xcad56f(0xfa)],'config':this[_0xcad56f(0x139)][_0xcad56f(0x158)][_0xcad56f(0x160)](_0xcad56f(0x15c)),'locale':this[_0xcad56f(0x139)][_0xcad56f(0x11e)]});return{'all':await _0x30e73b[_0xcad56f(0x113)](),'recommended':await _0x30e73b[_0xcad56f(0x12c)](),'default':await _0x30e73b[_0xcad56f(0x154)]()};}catch(_0x249346){return this[_0xcad56f(0x15a)](new _0x22c511(_0xcad56f(0x102),this,void 0x0,_0x249346)),{'all':[],'recommended':[],'default':null};}}[_0x4ad6b6(0x161)](_0x1dae31){const _0x44ee8e=_0x4ad6b6,_0x360ed5=_0x44ee8e(0x14e)+_0x1dae31['id'][_0x44ee8e(0x150)]()[_0x44ee8e(0x117)]('-','_'),_0x337f81={..._0x1dae31,'title':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0xe8),_0x1dae31[_0x44ee8e(0x124)]),'description':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0x128),_0x1dae31[_0x44ee8e(0x116)])};return _0x1dae31[_0x44ee8e(0xfd)]&&(_0x337f81[_0x44ee8e(0xfd)]=_0x1dae31[_0x44ee8e(0xfd)][_0x44ee8e(0x115)](_0x292c48=>({..._0x292c48,'label':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0x114),_0x292c48[_0x44ee8e(0xe4)]||''),'data':_0x292c48[_0x44ee8e(0xf9)]?_0x292c48[_0x44ee8e(0xf9)][_0x44ee8e(0x115)](_0x3355d8=>({..._0x3355d8,'label':this[_0x44ee8e(0xd8)](_0x360ed5+_0x44ee8e(0xdd)+_0x3355d8['id'][_0x44ee8e(0x150)](),_0x3355d8[_0x44ee8e(0xe4)])})):void 0x0}))),_0x337f81;}[_0x4ad6b6(0x106)](_0x20d7c9){const _0x316bb9=_0x4ad6b6,_0x48639d=[];_0x20d7c9[_0x316bb9(0xf7)][_0x316bb9(0x11a)](_0x1c2ca7=>{const _0x11e8cc=_0x316bb9;(_0x1c2ca7 instanceof _0x41978f&&!_0x1c2ca7[_0x11e8cc(0xf6)]||_0x1c2ca7 instanceof _0x58527d&&!_0x1c2ca7[_0x11e8cc(0xe3)][_0x11e8cc(0x12d)])&&_0x48639d[_0x11e8cc(0x13d)](_0x1c2ca7['id']);}),_0x48639d[_0x316bb9(0x12d)]&&_0x48639d[_0x316bb9(0x11a)](_0x39d3bf=>{const _0x496568=_0x316bb9;_0x20d7c9[_0x496568(0x118)](_0x39d3bf),this[_0x496568(0x15a)](new _0x22c511(_0x496568(0x157),this,{'commandId':_0x39d3bf}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e344a=_0x1641;(function(_0x1e5e63,_0x9a8207){const _0x35aaf9=_0x1641,_0x4c1391=_0x1e5e63();while(!![]){try{const _0x20d5c3=parseInt(_0x35aaf9(0x86))/0x1*(parseInt(_0x35aaf9(0x8a))/0x2)+-parseInt(_0x35aaf9(0x89))/0x3+parseInt(_0x35aaf9(0x80))/0x4+-parseInt(_0x35aaf9(0x85))/0x5*(parseInt(_0x35aaf9(0x7a))/0x6)+-parseInt(_0x35aaf9(0x72))/0x7+parseInt(_0x35aaf9(0x7c))/0x8*(-parseInt(_0x35aaf9(0x7b))/0x9)+parseInt(_0x35aaf9(0x78))/0xa;if(_0x20d5c3===_0x9a8207)break;else _0x4c1391['push'](_0x4c1391['shift']());}catch(_0x322665){_0x4c1391['push'](_0x4c1391['shift']());}}}(_0x3d28,0xd0d00));import{FormHeaderView as _0x14db20}from'ckeditor5/src/ui.js';import{IconAIReview as _0x5595a0}from'ckeditor5/src/icons.js';import{getTranslation as _0x5011bd}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x4df7c2}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x3ae90d}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x440c64}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';function _0x3d28(){const _0x29898d=['reviewMode','fire','leaveReview','7620319rHIkqE','pluginName','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-header\x20ck-ai-header_review','AI_REVIEW_MODE','34765300btmPsc','addTab','26634TrtKZe','81tJIyzk','1306104noWvTf','get','activateTab','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','22300bqzrXX','view','plugins','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','registerTab','985xsrvfa','444KEuOkH','_mainView','AIReviewModeUI','159114Rcgjwo','3868ZmHWjx','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','getReviewCheckList','createMainView','AITabs','context'];_0x3d28=function(){return _0x29898d;};return _0x3d28();}function _0x1641(_0x27f9b2,_0x13785a){const _0x3d2831=_0x3d28();return _0x1641=function(_0x1641d0,_0x28276f){_0x1641d0=_0x1641d0-0x6a;let _0x5f14d5=_0x3d2831[_0x1641d0];return _0x5f14d5;},_0x1641(_0x27f9b2,_0x13785a);}import{AIReviewCoreReviewCompletedView as _0x269e7e}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x1255a8}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x3ae90d{static get[_0x5e344a(0x73)](){const _0x3c28c5=_0x5e344a;return _0x3c28c5(0x88);}[_0x5e344a(0x6c)](){const _0x47e973=_0x5e344a,_0x1d4e96=this[_0x47e973(0x6e)][_0x47e973(0x74)],_0x2d0d1e=new _0x14db20(_0x1d4e96,{'label':_0x5011bd(_0x1d4e96,_0x47e973(0x77)),'icon':_0x5595a0,'class':_0x47e973(0x76)});return new _0x4df7c2(this[_0x47e973(0x6e)][_0x47e973(0x74)],{'header':_0x2d0d1e,'list':new _0x1255a8(_0x1d4e96),'results':new _0x440c64(_0x1d4e96,{'generalErrorText':_0x5011bd(_0x1d4e96,_0x47e973(0x83))}),'completed':new _0x269e7e(_0x1d4e96,{'headerText':_0x5011bd(_0x1d4e96,_0x47e973(0x75)),'emptyResultsText':_0x5011bd(_0x1d4e96,_0x47e973(0x6a)),'buttonText':_0x5011bd(_0x1d4e96,_0x47e973(0x7f))})});}[_0x5e344a(0x84)](){const _0x2eafb=_0x5e344a,_0xe6c3c3=this[_0x2eafb(0x6e)][_0x2eafb(0x82)][_0x2eafb(0x7d)](_0x2eafb(0x6d));_0xe6c3c3[_0x2eafb(0x81)]['on'](_0x2eafb(0x7e),(_0x4c1543,_0x1046be)=>{const _0x32707f=_0x2eafb;_0x32707f(0x6f)===_0x1046be?this[_0x32707f(0x70)](_0x32707f(0x6b)):this[_0x32707f(0x70)](_0x32707f(0x71));}),_0xe6c3c3[_0x2eafb(0x81)][_0x2eafb(0x79)]({'id':_0x2eafb(0x6f),'buttonLabel':_0x5011bd(this[_0x2eafb(0x6e)][_0x2eafb(0x74)],_0x2eafb(0x77)),'buttonIcon':_0x5595a0,'order':0x0,'content':this[_0x2eafb(0x87)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x24dbb6=_0x595c;function _0x4a34(){var _0x2bd3bb=['1191651VtyCYD','36061861CpDXnm','26991UOiMKd','21tHTDkO','_defaultModel','3763456QRGmQh','62838pulQGr','1249480UbiEIY','950asewux','13742sXbcxw','4UMHFDH','models','66XOAfRH','_models','defaultModel'];_0x4a34=function(){return _0x2bd3bb;};return _0x4a34();}(function(_0x12768b,_0x422bc7){var _0x57bb23=_0x595c,_0x47d3fe=_0x12768b();while(!![]){try{var _0xda5c89=-parseInt(_0x57bb23(0x1af))/0x1+-parseInt(_0x57bb23(0x1a9))/0x2*(-parseInt(_0x57bb23(0x1ac))/0x3)+-parseInt(_0x57bb23(0x1aa))/0x4*(parseInt(_0x57bb23(0x1a7))/0x5)+-parseInt(_0x57bb23(0x1a6))/0x6+-parseInt(_0x57bb23(0x1a3))/0x7*(parseInt(_0x57bb23(0x1a5))/0x8)+parseInt(_0x57bb23(0x1a2))/0x9*(parseInt(_0x57bb23(0x1a8))/0xa)+parseInt(_0x57bb23(0x1b0))/0xb;if(_0xda5c89===_0x422bc7)break;else _0x47d3fe['push'](_0x47d3fe['shift']());}catch(_0x10b753){_0x47d3fe['push'](_0x47d3fe['shift']());}}}(_0x4a34,0xcfc9e));function _0x595c(_0x19ba09,_0x34cee7){var _0x4a3496=_0x4a34();return _0x595c=function(_0x595c68,_0x11ba4a){_0x595c68=_0x595c68-0x1a2;var _0xce86ac=_0x4a3496[_0x595c68];return _0xce86ac;},_0x595c(_0x19ba09,_0x34cee7);}import{AIReviewCheck as _0x39cec1}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x39cec1{[_0x24dbb6(0x1ad)]=[];[_0x24dbb6(0x1a4)]=null;constructor(_0x3b8312,_0x1a21ce,_0x1a0762){var _0x3ee726=_0x24dbb6;super(_0x3b8312),this[_0x3ee726(0x1ad)]=_0x1a21ce,this[_0x3ee726(0x1a4)]=_0x1a0762;}get[_0x24dbb6(0x1ab)](){var _0x320a0c=_0x24dbb6;return this[_0x320a0c(0x1ad)];}get[_0x24dbb6(0x1ae)](){var _0x3c1072=_0x24dbb6;return this[_0x3c1072(0x1a4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x13cd(){var _0x1b1394=['isExtra','7rEjkXF','983600UcStSW','_defaultModel','752165vlPXfY','defaultModel','model','2264872sCxTwq','135105aMlQbr','1408176RadZnd','253300cAfyfg','prompt','1825338hWrwPq','find'];_0x13cd=function(){return _0x1b1394;};return _0x13cd();}var _0x4cb8d0=_0x1b74;function _0x1b74(_0x5a3513,_0x153548){var _0x13cdd2=_0x13cd();return _0x1b74=function(_0x1b74d8,_0x6e716d){_0x1b74d8=_0x1b74d8-0xc5;var _0x2ad61c=_0x13cdd2[_0x1b74d8];return _0x2ad61c;},_0x1b74(_0x5a3513,_0x153548);}(function(_0x41f7f3,_0x50341a){var _0x5aa282=_0x1b74,_0x318aef=_0x41f7f3();while(!![]){try{var _0x19f7bb=-parseInt(_0x5aa282(0xd2))/0x1+parseInt(_0x5aa282(0xca))/0x2+-parseInt(_0x5aa282(0xd0))/0x3+-parseInt(_0x5aa282(0xd1))/0x4+-parseInt(_0x5aa282(0xcc))/0x5+-parseInt(_0x5aa282(0xc6))/0x6*(-parseInt(_0x5aa282(0xc9))/0x7)+parseInt(_0x5aa282(0xcf))/0x8;if(_0x19f7bb===_0x50341a)break;else _0x318aef['push'](_0x318aef['shift']());}catch(_0x5b6227){_0x318aef['push'](_0x318aef['shift']());}}}(_0x13cd,0x43f30));import{AIReviewCheck as _0x2ab9e6}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x2ab9e6{[_0x4cb8d0(0xc8)]=!0x0;[_0x4cb8d0(0xc5)];[_0x4cb8d0(0xce)];[_0x4cb8d0(0xcb)]=null;constructor(_0x55bf78,_0x399fad,_0x3add4f){var _0x465862=_0x4cb8d0;super(_0x55bf78),this[_0x465862(0xc5)]=_0x55bf78[_0x465862(0xc5)],this[_0x465862(0xce)]=_0x55bf78[_0x465862(0xce)],this[_0x465862(0xce)]?this[_0x465862(0xcb)]=_0x399fad[_0x465862(0xc7)](_0xbda72f=>_0xbda72f['id']===this[_0x465862(0xce)])||null:this[_0x465862(0xcb)]=_0x3add4f;}get[_0x4cb8d0(0xcd)](){var _0xc3b016=_0x4cb8d0;return this[_0xc3b016(0xcb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2b7ea5=_0x15db;(function(_0x57db07,_0x328014){var _0x273320=_0x15db,_0xead623=_0x57db07();while(!![]){try{var _0x52147a=-parseInt(_0x273320(0xd9))/0x1*(-parseInt(_0x273320(0xd2))/0x2)+-parseInt(_0x273320(0xdc))/0x3*(parseInt(_0x273320(0xde))/0x4)+-parseInt(_0x273320(0xd6))/0x5*(parseInt(_0x273320(0xce))/0x6)+parseInt(_0x273320(0xd1))/0x7+parseInt(_0x273320(0xd4))/0x8+parseInt(_0x273320(0xcf))/0x9+-parseInt(_0x273320(0xd0))/0xa;if(_0x52147a===_0x328014)break;else _0xead623['push'](_0xead623['shift']());}catch(_0x10253f){_0xead623['push'](_0xead623['shift']());}}}(_0x51bb,0x5fcdd));function _0x51bb(){var _0x40efe1=['30930fudJIz','_sendRatingRequest','152VOgGkh','_aiConnector','_documentData','_createApiRequest','6VwVwpl','6112962kIeunv','13852600TaoXGg','4232767HRQNDk','47682Rsktpy','_model','4658592BJhQKo','subTitle','2298410MoNoVX','callCustomReview','upsertCustomAIReviewRating','32umJDCh','_prompt','content'];_0x51bb=function(){return _0x40efe1;};return _0x51bb();}import{AIReviewCheckRun as _0x1245bf}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x15db(_0x2662c6,_0x189f26){var _0x51bb47=_0x51bb();return _0x15db=function(_0x15db6e,_0x34773e){_0x15db6e=_0x15db6e-0xce;var _0x5e48a5=_0x51bb47[_0x15db6e];return _0x5e48a5;},_0x15db(_0x2662c6,_0x189f26);}export class AIReviewCustomCheckRun extends _0x1245bf{[_0x2b7ea5(0xda)];[_0x2b7ea5(0xd3)];constructor(_0x5a3779,_0x51d6ce,_0x16aace,_0x2c4905,_0x2da68e){var _0x54bb27=_0x2b7ea5;super(_0x16aace,_0x2c4905,_0x2da68e),this[_0x54bb27(0xda)]=_0x5a3779,this[_0x54bb27(0xd3)]=_0x51d6ce;}get[_0x2b7ea5(0xd5)](){var _0x1e936b=_0x2b7ea5;return this[_0x1e936b(0xda)];}[_0x2b7ea5(0xe1)](){var _0x418f1c=_0x2b7ea5;return this[_0x418f1c(0xdf)][_0x418f1c(0xd7)]({'content':this[_0x418f1c(0xe0)][_0x418f1c(0xdb)],'prompt':this[_0x418f1c(0xda)],'model':this[_0x418f1c(0xd3)]});}[_0x2b7ea5(0xdd)](_0x3a4d83,_0x5aa4a0,_0x1b9279){var _0x459288=_0x2b7ea5;return this[_0x459288(0xdf)][_0x459288(0xd8)](_0x5aa4a0,_0x3a4d83,_0x1b9279);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e0f(_0x2aeb6d,_0xd0c9ae){var _0x50af15=_0x50af();return _0x3e0f=function(_0x3e0fdd,_0x37e2d4){_0x3e0fdd=_0x3e0fdd-0xd7;var _0x150dd9=_0x50af15[_0x3e0fdd];return _0x150dd9;},_0x3e0f(_0x2aeb6d,_0xd0c9ae);}var _0x3da0eb=_0x3e0f;(function(_0x21f112,_0x4022cf){var _0x37dcbf=_0x3e0f,_0x698121=_0x21f112();while(!![]){try{var _0x2eb641=-parseInt(_0x37dcbf(0xe2))/0x1*(-parseInt(_0x37dcbf(0xd9))/0x2)+-parseInt(_0x37dcbf(0xdc))/0x3*(-parseInt(_0x37dcbf(0xde))/0x4)+-parseInt(_0x37dcbf(0xdf))/0x5+parseInt(_0x37dcbf(0xe1))/0x6+-parseInt(_0x37dcbf(0xd7))/0x7+parseInt(_0x37dcbf(0xd8))/0x8+-parseInt(_0x37dcbf(0xe4))/0x9;if(_0x2eb641===_0x4022cf)break;else _0x698121['push'](_0x698121['shift']());}catch(_0x482586){_0x698121['push'](_0x698121['shift']());}}}(_0x50af,0xd45dc));function _0x50af(){var _0x78a6fa=['_model','173979DLuEvs','_prompt','60nmtPbo','4179690QAeIHX','subTitle','7184286jfVydK','1OwAaxV','model','4936536wZrpzq','11545884YvKVwT','4023496sEqeiy','2666986WkBbeH','prompt'];_0x50af=function(){return _0x78a6fa;};return _0x50af();}import{AIReviewCustomCheckRun as _0x6996cd}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x6996cd{get[_0x3da0eb(0xe0)](){return'';}set[_0x3da0eb(0xda)](_0x2b66be){var _0x5c927a=_0x3da0eb;this[_0x5c927a(0xdd)]=_0x2b66be;}set[_0x3da0eb(0xe3)](_0x505d76){var _0x4400ca=_0x3da0eb;this[_0x4400ca(0xdb)]=_0x505d76;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1b32(_0x5a057a,_0x3fc58a){var _0x373d77=_0x373d();return _0x1b32=function(_0x1b3232,_0x7fc5c1){_0x1b3232=_0x1b3232-0x18e;var _0x536ae0=_0x373d77[_0x1b3232];return _0x536ae0;},_0x1b32(_0x5a057a,_0x3fc58a);}function _0x373d(){var _0x5aaad4=['_defaultModel','setupChecks','map','isExtra','58EAYMvv','13327070zQaBgS','182228trRnSr','27039bpDLGC','_recommendedModels','3794920xzaXCU','44NCshPZ','31795MExfMf','9xoOswA','2865639QNoioc','_allModels','2009208yVatDM','_checks','custom'];_0x373d=function(){return _0x5aaad4;};return _0x373d();}var _0x33350c=_0x1b32;(function(_0x3da9ef,_0x576ba6){var _0x31c528=_0x1b32,_0x1c9685=_0x3da9ef();while(!![]){try{var _0x459c9e=parseInt(_0x31c528(0x18e))/0x1+parseInt(_0x31c528(0x19e))/0x2*(parseInt(_0x31c528(0x18f))/0x3)+parseInt(_0x31c528(0x192))/0x4*(-parseInt(_0x31c528(0x193))/0x5)+parseInt(_0x31c528(0x197))/0x6+parseInt(_0x31c528(0x195))/0x7+-parseInt(_0x31c528(0x191))/0x8*(-parseInt(_0x31c528(0x194))/0x9)+-parseInt(_0x31c528(0x19f))/0xa;if(_0x459c9e===_0x576ba6)break;else _0x1c9685['push'](_0x1c9685['shift']());}catch(_0x294a51){_0x1c9685['push'](_0x1c9685['shift']());}}}(_0x373d,0x3f5e7));import{AIReviewCheckList as _0x9e292b}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x4136bb}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x4bf9d1}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0xc92a12}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x9e292b{[_0x33350c(0x196)]=[];[_0x33350c(0x190)]=[];[_0x33350c(0x19a)]=null;constructor(_0x231b18,_0x171be6,_0x526cef){var _0x5c22eb=_0x33350c;super(),this[_0x5c22eb(0x196)]=_0x231b18,this[_0x5c22eb(0x190)]=_0x171be6,this[_0x5c22eb(0x19a)]=_0x526cef;}[_0x33350c(0x19b)](_0x43af28){var _0x29c2cd=_0x33350c;this[_0x29c2cd(0x198)]=_0x43af28[_0x29c2cd(0x19c)](_0x42f0bc=>!0x0===_0x42f0bc[_0x29c2cd(0x19d)]?new _0xc92a12(_0x42f0bc,this[_0x29c2cd(0x196)],this[_0x29c2cd(0x19a)]):_0x29c2cd(0x199)===_0x42f0bc['id']?new _0x4bf9d1(_0x42f0bc,this[_0x29c2cd(0x190)],this[_0x29c2cd(0x19a)]):new _0x4136bb(_0x42f0bc));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4f3e94=_0x49a6;function _0x49a6(_0x2a6e59,_0x1ce482){const _0x1c9ccb=_0x1c9c();return _0x49a6=function(_0x49a6f2,_0x7e965d){_0x49a6f2=_0x49a6f2-0x101;let _0x12956f=_0x1c9ccb[_0x49a6f2];return _0x12956f;},_0x49a6(_0x2a6e59,_0x1ce482);}(function(_0x5c9ff5,_0x310b33){const _0x2ef6ca=_0x49a6,_0x1c5b26=_0x5c9ff5();while(!![]){try{const _0x34224=parseInt(_0x2ef6ca(0x11b))/0x1+-parseInt(_0x2ef6ca(0x117))/0x2*(parseInt(_0x2ef6ca(0x111))/0x3)+-parseInt(_0x2ef6ca(0x127))/0x4*(-parseInt(_0x2ef6ca(0x11d))/0x5)+-parseInt(_0x2ef6ca(0x133))/0x6*(-parseInt(_0x2ef6ca(0x116))/0x7)+-parseInt(_0x2ef6ca(0x11f))/0x8+parseInt(_0x2ef6ca(0x125))/0x9*(-parseInt(_0x2ef6ca(0x106))/0xa)+-parseInt(_0x2ef6ca(0x12d))/0xb*(-parseInt(_0x2ef6ca(0x11c))/0xc);if(_0x34224===_0x310b33)break;else _0x1c5b26['push'](_0x1c5b26['shift']());}catch(_0x5b0f33){_0x1c5b26['push'](_0x1c5b26['shift']());}}}(_0x1c9c,0xa4750));import{ContextPlugin as _0x153dda,Editor as _0x1bb44f}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f5daf}from'ckeditor5/src/utils.js';function _0x1c9c(){const _0x329669=['fire','render','ai-tabs-sidebar-container-element-not-found','264830XJsLlG','appendChild','locale','context','set','isPremiumPlugin','get','switchType','ai.container','add','right','87ogVhZT','ai-tabs-configuration-not-found','includes','visibleByDefault','AITabs','2743111cCgEbR','46090XdhWLG','element','view','isOfficialPlugin','939807aDpjfX','384qPGANv','3694395QzIvBW','side','2638392KdVLmt','ai-tabs-unsupported-ui-side','destroy','focusTracker','config','container','405MAcQzh','sidebar','4WyPJcx','resize','type','resizedTabs','bind','body','272558nCutGE','overlay','remove','ai-tabs-unsupported-ui-type','showResizeButton','pluginName','6ASDCHQ','switchSide','custom','isMaximized'];_0x1c9c=function(){return _0x329669;};return _0x1c9c();}import{AITabsMainView as _0x48a2ec,AI_TABS_VIEW_SIDES as _0x4b6ef9,AI_TABS_VIEW_TYPES as _0x56e86e}from'./aitabsmainview.js';export class AITabs extends _0x153dda{[_0x4f3e94(0x119)];[_0x4f3e94(0x124)]=null;[_0x4f3e94(0x131)]=!0x0;static get[_0x4f3e94(0x132)](){const _0x549550=_0x4f3e94;return _0x549550(0x115);}static get[_0x4f3e94(0x11a)](){return!0x0;}static get[_0x4f3e94(0x10b)](){return!0x0;}constructor(_0x59dff0){const _0x571ce0=_0x4f3e94;super(_0x59dff0);const _0x5232d1=this[_0x571ce0(0x109)][_0x571ce0(0x123)][_0x571ce0(0x10c)](_0x571ce0(0x10e));if(this[_0x571ce0(0x10a)](_0x571ce0(0x11e),_0x571ce0(0x110)),!_0x5232d1)throw new _0x4f5daf(_0x571ce0(0x112));if(void 0x0!==_0x5232d1[_0x571ce0(0x131)]&&(this[_0x571ce0(0x131)]=_0x5232d1[_0x571ce0(0x131)]),_0x571ce0(0x126)!==_0x5232d1[_0x571ce0(0x129)]&&_0x571ce0(0x12e)!==_0x5232d1[_0x571ce0(0x129)]||_0x5232d1[_0x571ce0(0x11e)]&&(this[_0x571ce0(0x11e)]=_0x5232d1[_0x571ce0(0x11e)]),_0x571ce0(0x126)===_0x5232d1[_0x571ce0(0x129)]){if(this[_0x571ce0(0x124)]=_0x5232d1[_0x571ce0(0x118)],this[_0x571ce0(0x10a)](_0x571ce0(0x129),_0x571ce0(0x126)),!this[_0x571ce0(0x124)])throw new _0x4f5daf(_0x571ce0(0x105));}else _0x571ce0(0x12e)===_0x5232d1[_0x571ce0(0x129)]?(this[_0x571ce0(0x124)]=document[_0x571ce0(0x12c)],this[_0x571ce0(0x10a)](_0x571ce0(0x129),_0x571ce0(0x12e))):(this[_0x571ce0(0x124)]=null,this[_0x571ce0(0x10a)](_0x571ce0(0x129),_0x571ce0(0x101)));this[_0x571ce0(0x119)]=new _0x48a2ec(this[_0x571ce0(0x109)][_0x571ce0(0x108)],{'side':this[_0x571ce0(0x11e)],'type':this[_0x571ce0(0x129)],'visibleByDefault':void 0x0===_0x5232d1[_0x571ce0(0x114)]||_0x5232d1[_0x571ce0(0x114)]}),this[_0x571ce0(0x119)][_0x571ce0(0x104)](),this[_0x571ce0(0x119)][_0x571ce0(0x12b)](_0x571ce0(0x11e))['to'](this,_0x571ce0(0x11e)),this[_0x571ce0(0x119)][_0x571ce0(0x12b)](_0x571ce0(0x129))['to'](this,_0x571ce0(0x129)),this[_0x571ce0(0x124)]&&this[_0x571ce0(0x124)][_0x571ce0(0x107)](this[_0x571ce0(0x119)][_0x571ce0(0x118)]),this[_0x571ce0(0x109)]instanceof _0x1bb44f&&this[_0x571ce0(0x109)]['ui'][_0x571ce0(0x122)][_0x571ce0(0x10f)](this[_0x571ce0(0x119)][_0x571ce0(0x118)]);}[_0x4f3e94(0x10d)](_0x27578e){const _0x2e2e1c=_0x4f3e94;if(_0x27578e&&this[_0x2e2e1c(0x129)]!==_0x27578e){if(!_0x56e86e[_0x2e2e1c(0x113)](_0x27578e))throw new _0x4f5daf(_0x2e2e1c(0x130));this[_0x2e2e1c(0x129)]=_0x27578e;}}[_0x4f3e94(0x134)](_0x18cf0c){const _0x3cb008=_0x4f3e94;if(_0x18cf0c&&this[_0x3cb008(0x11e)]!==_0x18cf0c){if(!_0x4b6ef9[_0x3cb008(0x113)](_0x18cf0c))throw new _0x4f5daf(_0x3cb008(0x120));this[_0x3cb008(0x11e)]=_0x18cf0c;}}[_0x4f3e94(0x128)](){const _0x45b000=_0x4f3e94;this[_0x45b000(0x119)][_0x45b000(0x102)]=!this[_0x45b000(0x119)][_0x45b000(0x102)],this[_0x45b000(0x103)](_0x45b000(0x12a),this[_0x45b000(0x119)][_0x45b000(0x102)]);}[_0x4f3e94(0x121)](){const _0x411ddb=_0x4f3e94;super[_0x411ddb(0x121)](),this[_0x411ddb(0x119)][_0x411ddb(0x121)](),this[_0x411ddb(0x119)][_0x411ddb(0x118)]&&this[_0x411ddb(0x119)][_0x411ddb(0x118)][_0x411ddb(0x12f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4a8e(_0x1b12e1,_0x384714){const _0x4cd569=_0x4cd5();return _0x4a8e=function(_0x4a8e56,_0x1f553e){_0x4a8e56=_0x4a8e56-0x8a;let _0x4c6913=_0x4cd569[_0x4a8e56];return _0x4c6913;},_0x4a8e(_0x1b12e1,_0x384714);}const _0x321a2f=_0x4a8e;(function(_0x30d511,_0x496bc1){const _0x118d1b=_0x4a8e,_0x457fd5=_0x30d511();while(!![]){try{const _0x539f78=parseInt(_0x118d1b(0x9f))/0x1+parseInt(_0x118d1b(0x93))/0x2+-parseInt(_0x118d1b(0x99))/0x3+-parseInt(_0x118d1b(0x8f))/0x4*(parseInt(_0x118d1b(0x90))/0x5)+parseInt(_0x118d1b(0xa4))/0x6*(parseInt(_0x118d1b(0x8b))/0x7)+-parseInt(_0x118d1b(0xa6))/0x8*(-parseInt(_0x118d1b(0x91))/0x9)+-parseInt(_0x118d1b(0x8a))/0xa;if(_0x539f78===_0x496bc1)break;else _0x457fd5['push'](_0x457fd5['shift']());}catch(_0x558828){_0x457fd5['push'](_0x457fd5['shift']());}}}(_0x4cd5,0x9da8e));import{AITabsView as _0x5d6ba7}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x321a2f(0x95),_0x321a2f(0xa5),_0x321a2f(0x98)];export const AI_TABS_VIEW_SIDES=[_0x321a2f(0xa1),_0x321a2f(0x96)];export class AITabsMainView extends _0x5d6ba7{constructor(_0x5b7f2e,_0xd0a695={}){const _0x11d207=_0x321a2f;super(_0x5b7f2e,_0xd0a695),this[_0x11d207(0x9a)](_0x11d207(0x8d),_0xd0a695[_0x11d207(0x8d)]||_0x11d207(0xa5)),this[_0x11d207(0x9a)](_0x11d207(0x9c),_0xd0a695[_0x11d207(0x9c)]||_0x11d207(0x96)),this[_0x11d207(0x9a)](_0x11d207(0x8c),_0xd0a695[_0x11d207(0x9b)]??!0x0);const _0x5b0e13=this[_0x11d207(0x9d)];this[_0x11d207(0xa2)]({'attributes':{'class':[_0x11d207(0xa0),_0x5b0e13['if'](_0x11d207(0x8d),_0x11d207(0x94),_0x27809c=>_0x11d207(0x95)===_0x27809c),_0x5b0e13['if'](_0x11d207(0x8d),_0x11d207(0xa3),_0x4fdad8=>_0x11d207(0xa5)===_0x4fdad8),_0x5b0e13['if'](_0x11d207(0x8c),_0x11d207(0x9e),_0x26165a=>!_0x26165a)]}}),this[_0x11d207(0x92)]['on'](_0x11d207(0x97),(_0x2b9ac3,_0x6c1bab)=>{const _0x2f8a31=_0x11d207;_0x6c1bab[_0x2f8a31(0x9a)](_0x2f8a31(0x8e),!0x1);});}}function _0x4cd5(){const _0x38e380=['bindTemplate','ck-hidden','708423wPkXVf','ck-ai-tabs','left','extendTemplate','ck-ai-tabs__sidebar','6hQNFBk','sidebar','1412624vofIIt','7007310ntmwFT','8295833zPAbkD','isVisible','type','withText','24ulPckX','992065MIvJhA','9iuFrHe','buttonViews','2142582qUKYDH','ck-ai-tabs__overlay','overlay','right','add','custom','1813284udLWxK','set','visibleByDefault','side'];_0x4cd5=function(){return _0x38e380;};return _0x4cd5();}
|