@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x1afec8,View as _0x36ec74,ViewCollection as _0x24dee4,ButtonView as _0x1b2d3a}from'ckeditor5/src/ui.js';import{IconStop as _0x5f7ac2,IconEye as _0x5104a6,IconEyeCrossedOut as _0xfaec81}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x19d636,SKELETON_DEFINITIONS as _0x522f22}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x9205ea}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4d2dd0}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x125545}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x30befc}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x4b286c}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x1afec8{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x5e9af0,_0x312c7e){super(_0x5e9af0),this['_contents']=_0x312c7e,this['_resultViews']=new _0x24dee4(),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 _0x9205ea(_0x5e9af0),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 _0x175e68=this['_createCombinedSkeletonLoader'](),_0x59b5d0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x59b5d0['if']('isLoading','ck-ai_review__check-run_loading',_0x24cecc=>_0x24cecc),_0x59b5d0['if']('isResultReady','ck-ai_review__check-run_ready',_0x1ec6e6=>_0x1ec6e6),_0x59b5d0['if']('isVisible','ck-hidden',_0x4a16fc=>!_0x4a16fc)]},'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',_0xb73aad=>_0xb73aad)]},'children':this['_resultViews']},_0x175e68]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x50e839){const _0x58ca55=new _0x30befc(this['locale'],_0x50e839['id']);_0x58ca55['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x58ca55),_0x58ca55['resultResponseView']['element']['innerHTML']=_0x50e839['contentDiffed'];}['hideResult'](_0x4b1b00,_0x52d9a2){if('pending'===_0x52d9a2)return;const _0x4e5fa8=this['_resultViews']['find'](_0x5d6c7a=>_0x5d6c7a['id']===_0x4b1b00);_0x4e5fa8&&(_0x4e5fa8['status']=_0x52d9a2,_0x4e5fa8['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2d3060,_0x9347b){if('pending'!==_0x9347b)return;const _0x4c0d52=this['_resultViews']['find'](_0x286d59=>_0x286d59['id']===_0x2d3060);_0x4c0d52&&(_0x4c0d52['status']=_0x9347b,_0x4c0d52['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x5c2dc0,_0x6b38ad){this['headerTitle']=_0x5c2dc0,this['headerSubtitle']=_0x6b38ad||'';}['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 _0x19d636(this['locale'],_0x522f22['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x1eac03=new _0x36ec74(this['locale']),_0x17a1a5=[];for(let _0x390237=0x0;_0x390237<0x10;_0x390237++){const _0x369f88=this['_createSkeletonLoader']();_0x369f88['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x17a1a5['push'](_0x369f88);}return _0x1eac03['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2e69f3=>!_0x2e69f3)]},'children':_0x17a1a5}),_0x1eac03;}['_createErrorView'](){const _0x3bb220=new _0x36ec74(this['locale']),_0x213085=new _0x1b2d3a(this['locale']),t=this['locale']['t'];return _0x3bb220['delegate']('retryReview')['to'](this),_0x213085['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x213085['on']('execute',()=>{this['fire']('retryReview');}),_0x3bb220['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3f19d3=>!_0x3f19d3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xb4260b=>'chunk'===_0xb4260b)]},'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',_0x259d7e=>'chunk'===_0x259d7e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x396f56=>'general'!==_0x396f56)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4ccb1f=>'chunk'!==_0x4ccb1f)]},'children':[{'text':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x213085]}),_0x3bb220;}['_createCancelButtonView'](){const _0x6e8161=new _0x1b2d3a(this['locale']);return _0x6e8161['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5f7ac2}),_0x6e8161['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x177f11=>_0x177f11),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2aeae6=>_0x2aeae6)]}}),_0x6e8161['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x6e8161;}['_createToggleDiffButtonView'](){const _0x51bcf8=new _0x1b2d3a(this['locale']);_0x51bcf8['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x51bcf8['bind']('isEnabled')['to'](this,'isError',_0x4b87a3=>!_0x4b87a3),_0x51bcf8['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3ff98b=>!_0x3ff98b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x287e6d=>_0x287e6d)]}});const _0x3e216e=_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3953f5=_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x51bcf8['bind']('isOn')['to'](this,'isToggleDiffOn',_0x529342=>_0x529342),_0x51bcf8['bind']('icon')['to'](this,'isToggleDiffOn',_0x33813b=>_0x33813b?_0x5104a6:_0xfaec81),_0x51bcf8['bind']('label')['to'](this,'isToggleDiffOn',_0x13356e=>_0x13356e?_0x3e216e:_0x3953f5),_0x51bcf8['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x51bcf8;}['_createAcceptAllButtonView'](){const _0x4f6c0b=new _0x1b2d3a(this['locale']);return _0x4f6c0b['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4f6c0b['bind']('isEnabled')['to'](this,'isError',_0x2af8de=>!_0x2af8de),_0x4f6c0b['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x456405=>!_0x456405),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3fb4eb=>_0x3fb4eb)]}}),_0x4f6c0b['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4f6c0b;}['_createExitReviewButtonView'](){const _0x5238ea=new _0x1b2d3a(this['locale']);return _0x5238ea['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5238ea['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x91948b=>!_0x91948b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x197cef=>_0x197cef)]}}),_0x5238ea['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5238ea;}['_createResultHeaderView'](){const _0x421083=new _0x36ec74(this['locale']),_0x201ce2=this['_createTitleView']();return _0x421083['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x49aeaf=>_0x49aeaf)]},'children':[_0x201ce2,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x421083;}['_createTitleView'](){const _0x3d18d8=new _0x36ec74(this['locale']),_0x32b923=new _0x125545();return _0x32b923['bind']('isVisible')['to'](this,'isResultReady',_0x52660a=>!_0x52660a),_0x3d18d8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x32b923,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2708e3=>_0x2708e3)]},'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',_0x3f175a=>!_0x3f175a)]},'children':[{'text':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3d18d8;}['_createFinishReviewButtonView'](){const _0x159816=new _0x4b286c(_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x159816['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x50d32e=>!_0x50d32e)]}}),_0x159816['delegate']('finishReview')['to'](this),_0x159816;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31d947=_0x6228;function _0x350b(){var _0x421f63=['reviewCheckResultsView','generalErrorView','2396401JKvzCr','resetErrorState','5XMKOHD','1336784Nyodqv','showGeneralReviewCoreErrorView','isCompleted','showGeneralResultsErrorView','finishReview','set','159532XNRAuj','addResult','header','delegate','errorMessage','results','clearResults','isLoading','showReviewCompletedView','ltr','6UzQnzz','622485qSYqjw','showActionsWhenResultIsReady','ck-reset_all','showChunkErrorView','ck-rounded-corners','addCheckRunResult','reviewCompletedView','showReviewCheckResultsView','reviewCheckListView','showNoChangesView','div','ck-ai-review','1849743krrELx','186270gTLYaA','showReviewCheckListView','reviewCoreHeader','setTemplate','315249xkkume','isResultReady','showGeneralErrorMessage','resetAllParameterizedChecks','isVisible','list','hideActionsWhenResultIsReady','showChunkErrorMessage','completed'];_0x350b=function(){return _0x421f63;};return _0x350b();}(function(_0x764b3f,_0x55b882){var _0x7df43b=_0x6228,_0x370070=_0x764b3f();while(!![]){try{var _0x301c43=parseInt(_0x7df43b(0x1f7))/0x1+parseInt(_0x7df43b(0x1f3))/0x2+parseInt(_0x7df43b(0x1e6))/0x3+-parseInt(_0x7df43b(0x1db))/0x4*(parseInt(_0x7df43b(0x1d4))/0x5)+-parseInt(_0x7df43b(0x1e5))/0x6*(parseInt(_0x7df43b(0x1d2))/0x7)+parseInt(_0x7df43b(0x1d5))/0x8+-parseInt(_0x7df43b(0x1f2))/0x9;if(_0x301c43===_0x55b882)break;else _0x370070['push'](_0x370070['shift']());}catch(_0x33e1c5){_0x370070['push'](_0x370070['shift']());}}}(_0x350b,0x2fa98));import{View as _0x9865d8}from'ckeditor5/src/ui.js';function _0x6228(_0x45d4af,_0x158ddf){var _0x350b95=_0x350b();return _0x6228=function(_0x6228eb,_0x4f1cac){_0x6228eb=_0x6228eb-0x1cb;var _0x286e2f=_0x350b95[_0x6228eb];return _0x286e2f;},_0x6228(_0x45d4af,_0x158ddf);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2dbe37}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2622fa}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x9865d8{[_0x31d947(0x1f5)];[_0x31d947(0x1d1)];[_0x31d947(0x1ee)];[_0x31d947(0x1d0)];[_0x31d947(0x1ec)];constructor(_0x90c357,_0x1b75f4){var _0x57546b=_0x31d947;super(_0x90c357),this[_0x57546b(0x1f5)]=_0x1b75f4[_0x57546b(0x1dd)],this[_0x57546b(0x1d1)]=new _0x2622fa(_0x90c357),this[_0x57546b(0x1ee)]=_0x1b75f4[_0x57546b(0x1cc)],this[_0x57546b(0x1ee)][_0x57546b(0x1de)](..._0x2dbe37)['to'](this),this[_0x57546b(0x1d0)]=_0x1b75f4[_0x57546b(0x1e0)],this[_0x57546b(0x1d0)][_0x57546b(0x1de)](..._0x2dbe37)['to'](this),this[_0x57546b(0x1ec)]=_0x1b75f4[_0x57546b(0x1cf)],this[_0x57546b(0x1ec)][_0x57546b(0x1de)](_0x57546b(0x1d9))['to'](this),this[_0x57546b(0x1ee)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1e2),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1f8),!0x1),this[_0x57546b(0x1ec)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1f6)]({'tag':_0x57546b(0x1f0),'attributes':{'class':['ck',_0x57546b(0x1e8),_0x57546b(0x1f1),_0x57546b(0x1ea)],'dir':_0x57546b(0x1e4)},'children':[this[_0x57546b(0x1f5)],this[_0x57546b(0x1d1)],this[_0x57546b(0x1ee)],this[_0x57546b(0x1d0)],this[_0x57546b(0x1ec)]]});}[_0x31d947(0x1f4)](){var _0x390783=_0x31d947;this[_0x390783(0x1ee)][_0x390783(0x1fa)](),this[_0x390783(0x1ee)][_0x390783(0x1da)](_0x390783(0x1cb),!0x0),this[_0x390783(0x1d0)][_0x390783(0x1da)](_0x390783(0x1cb),!0x1),this[_0x390783(0x1ec)][_0x390783(0x1da)](_0x390783(0x1cb),!0x1);}[_0x31d947(0x1ed)](){var _0x346a90=_0x31d947;this[_0x346a90(0x1cd)](),this[_0x346a90(0x1d0)][_0x346a90(0x1d3)](),this[_0x346a90(0x1ee)][_0x346a90(0x1da)](_0x346a90(0x1cb),!0x1),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1cb),!0x0),this[_0x346a90(0x1d0)][_0x346a90(0x1e1)](),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1e2),!0x0),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1d7),!0x1);}[_0x31d947(0x1eb)](_0x4fe433){var _0x578248=_0x31d947;this[_0x578248(0x1d0)][_0x578248(0x1dc)](_0x4fe433),this[_0x578248(0x1d0)][_0x578248(0x1da)](_0x578248(0x1e2),!0x1);}[_0x31d947(0x1e3)](){var _0x4dd3ca=_0x31d947;this[_0x4dd3ca(0x1d0)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x0),this[_0x4dd3ca(0x1ec)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x1),this[_0x4dd3ca(0x1d0)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1d7),!0x0),this[_0x4dd3ca(0x1ee)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x1);}[_0x31d947(0x1e7)](){var _0x3fc582=_0x31d947;this[_0x3fc582(0x1d0)][_0x3fc582(0x1f8)]?(this[_0x3fc582(0x1ee)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x1),this[_0x3fc582(0x1d0)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x0),this[_0x3fc582(0x1ec)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x1)):this[_0x3fc582(0x1d0)][_0x3fc582(0x1f8)]=!0x0;}[_0x31d947(0x1ef)](){var _0x2edc1a=_0x31d947;this[_0x2edc1a(0x1ee)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x1),this[_0x2edc1a(0x1d0)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x1),this[_0x2edc1a(0x1ec)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x0);}[_0x31d947(0x1cd)](){var _0x2de68d=_0x31d947;this[_0x2de68d(0x1d0)][_0x2de68d(0x1f8)]=!0x1;}[_0x31d947(0x1d6)](_0x4c780c){var _0x5250f6=_0x31d947;this[_0x5250f6(0x1d1)][_0x5250f6(0x1da)](_0x5250f6(0x1cb),!0x0),this[_0x5250f6(0x1d1)][_0x5250f6(0x1df)]=_0x4c780c;}[_0x31d947(0x1d8)](){var _0x3b5e52=_0x31d947;this[_0x3b5e52(0x1d0)][_0x3b5e52(0x1da)](_0x3b5e52(0x1e2),!0x1),this[_0x3b5e52(0x1e7)](),this[_0x3b5e52(0x1d0)][_0x3b5e52(0x1f9)]();}[_0x31d947(0x1e9)](){var _0x37367e=_0x31d947;this[_0x37367e(0x1d0)][_0x37367e(0x1da)](_0x37367e(0x1e2),!0x1),this[_0x37367e(0x1e7)](),this[_0x37367e(0x1d0)][_0x37367e(0x1ce)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd968e0=_0x1660;(function(_0x357dfb,_0x10d5b3){const _0x162929=_0x1660,_0x1be693=_0x357dfb();while(!![]){try{const _0x493e29=parseInt(_0x162929(0x1c4))/0x1+parseInt(_0x162929(0x1bb))/0x2*(parseInt(_0x162929(0x1ab))/0x3)+-parseInt(_0x162929(0x1b4))/0x4+parseInt(_0x162929(0x1c1))/0x5*(-parseInt(_0x162929(0x1a8))/0x6)+-parseInt(_0x162929(0x1ba))/0x7*(-parseInt(_0x162929(0x1b5))/0x8)+-parseInt(_0x162929(0x1ac))/0x9+-parseInt(_0x162929(0x1cb))/0xa*(parseInt(_0x162929(0x1c5))/0xb);if(_0x493e29===_0x10d5b3)break;else _0x1be693['push'](_0x1be693['shift']());}catch(_0x3d82a9){_0x1be693['push'](_0x1be693['shift']());}}}(_0x583b,0x96f9b));import{Collection as _0x57f3be}from'ckeditor5/src/utils.js';function _0x1660(_0x5403b7,_0x32fd3d){const _0x583b77=_0x583b();return _0x1660=function(_0x16607b,_0x4e12ab){_0x16607b=_0x16607b-0x1a7;let _0x217326=_0x583b77[_0x16607b];return _0x217326;},_0x1660(_0x5403b7,_0x32fd3d);}import{View as _0x1e890f,createDropdown as _0x344a76,addListToDropdown as _0x415486,UIModel as _0x1a0944}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x1e890f{[_0xd968e0(0x1a7)];[_0xd968e0(0x1c7)];[_0xd968e0(0x1b0)];constructor(_0x437a55,_0x16daca){const _0x2c1295=_0xd968e0;super(_0x437a55),this[_0x2c1295(0x1c7)]=_0x16daca[_0x2c1295(0x1ca)]||(_0x16daca[_0x2c1295(0x1b3)][_0x2c1295(0x1be)]>0x0?_0x16daca[_0x2c1295(0x1b3)][0x0]['id']:''),this[_0x2c1295(0x1b0)]=_0x16daca[_0x2c1295(0x1b3)][_0x2c1295(0x1bd)](_0xc4be68=>_0xc4be68['id']===this[_0x2c1295(0x1c7)])?.[_0x2c1295(0x1c0)]||'',this[_0x2c1295(0x1b1)](_0x2c1295(0x1b6),''),this[_0x2c1295(0x1a7)]=_0x344a76(this[_0x2c1295(0x1c3)]);const _0x3c45bb=this[_0x2c1295(0x1ae)](_0x16daca[_0x2c1295(0x1b3)]);_0x415486(this[_0x2c1295(0x1a7)],_0x3c45bb,{'role':_0x2c1295(0x1c8),'ariaLabel':_0x16daca[_0x2c1295(0x1c0)]}),this[_0x2c1295(0x1a7)][_0x2c1295(0x1c6)][_0x2c1295(0x1b1)]({'label':this[_0x2c1295(0x1b0)],'withText':!0x0}),this[_0x2c1295(0x1a7)][_0x2c1295(0x1aa)]({'on':{'click':this[_0x2c1295(0x1b2)]['to'](_0x377474=>{const _0x28a44f=_0x2c1295;_0x377474[_0x28a44f(0x1d1)]();})}}),this[_0x2c1295(0x1cf)](this[_0x2c1295(0x1a7)],_0x2c1295(0x1b7),_0x214a2f=>{const _0x5c66e2=_0x2c1295;this[_0x5c66e2(0x1b6)]=_0x214a2f[_0x5c66e2(0x1cc)][_0x5c66e2(0x1af)]['id'],this[_0x5c66e2(0x1a7)][_0x5c66e2(0x1c6)][_0x5c66e2(0x1c0)]=_0x214a2f[_0x5c66e2(0x1cc)][_0x5c66e2(0x1af)][_0x5c66e2(0x1c0)];}),this[_0x2c1295(0x1b9)]({'tag':_0x2c1295(0x1cd),'attributes':{'class':['ck',_0x2c1295(0x1d0),_0x2c1295(0x1ad),_0x2c1295(0x1bf)]},'children':[this[_0x2c1295(0x1a7)]]});}[_0xd968e0(0x1a9)](){const _0x516b27=_0xd968e0;this[_0x516b27(0x1b6)]=this[_0x516b27(0x1c7)],this[_0x516b27(0x1a7)][_0x516b27(0x1c6)][_0x516b27(0x1c0)]=this[_0x516b27(0x1b0)];}[_0xd968e0(0x1ae)](_0xcad5cc=[]){const _0x35d7f0=_0xd968e0,_0x5ef940=new _0x57f3be();this[_0x35d7f0(0x1a9)]();for(const _0x52928b of _0xcad5cc){const _0x2a1600=new _0x1a0944({'label':_0x52928b[_0x35d7f0(0x1c0)],'withText':!0x0,'role':_0x35d7f0(0x1c2),'id':_0x52928b['id'],'model':_0x52928b});_0x2a1600[_0x35d7f0(0x1bc)](_0x35d7f0(0x1c9))['to'](this,_0x35d7f0(0x1b6),_0x474101=>_0x474101===_0x2a1600['id']);const _0x2627e6={'type':_0x35d7f0(0x1ce),'model':_0x2a1600};_0x5ef940[_0x35d7f0(0x1b8)](_0x2627e6);}return _0x5ef940;}}function _0x583b(){const _0x7901f4=['880940fUuYNw','9325560QbECbs','formValue','execute','add','setTemplate','7IuEfSJ','2ItyWPQ','bind','find','length','ck-ai_review__check-list-item-parameterized-form-element_dropdown','label','4775YtEObn','menuitemradio','locale','484655WnfYKk','11kdQmbN','buttonView','_defaultValue','menu','isOn','default','3539330EFuPqU','source','div','button','listenTo','ck-reset_all','stopPropagation','_dropdownView','3480BZosQq','resetToDefault','extendTemplate','2136657mqkpyd','5544954fLmRbc','ck-ai_review__check-list-item-parameterized-form-element','_prepareListOptions','model','_defaultLabel','set','bindTemplate','data'];_0x583b=function(){return _0x7901f4;};return _0x583b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x205b(){const _0x29e6d2=['bind','7829190lenCdB','setTemplate','dropdown','add','_formItem','711fUxMFY','value','resetToDefault','set','div','1562617bAnPLr','ck-ai_review__form-item','288061YxxTdG','ck-reset_all','children','ck-form__row_with-submit','90664uwAhKC','1147812lUHNxs','3258612FKyPOR','498034KNZxuM','formValue','3nXeLBo','formType','locale','argsKey','25nwdnXF'];_0x205b=function(){return _0x29e6d2;};return _0x205b();}function _0x12a7(_0x188e57,_0x1608cc){const _0x205b62=_0x205b();return _0x12a7=function(_0x12a7a0,_0x2ae927){_0x12a7a0=_0x12a7a0-0x98;let _0x21a96b=_0x205b62[_0x12a7a0];return _0x21a96b;},_0x12a7(_0x188e57,_0x1608cc);}const _0x35294c=_0x12a7;(function(_0x5501f4,_0x1e5fd1){const _0x339453=_0x12a7,_0x3a793c=_0x5501f4();while(!![]){try{const _0x4ff75f=parseInt(_0x339453(0xb1))/0x1+-parseInt(_0x339453(0x9d))/0x2*(-parseInt(_0x339453(0x9f))/0x3)+parseInt(_0x339453(0x9c))/0x4+parseInt(_0x339453(0xa3))/0x5*(-parseInt(_0x339453(0x9b))/0x6)+parseInt(_0x339453(0xaf))/0x7+-parseInt(_0x339453(0x9a))/0x8*(parseInt(_0x339453(0xaa))/0x9)+parseInt(_0x339453(0xa5))/0xa;if(_0x4ff75f===_0x1e5fd1)break;else _0x3a793c['push'](_0x3a793c['shift']());}catch(_0x405ead){_0x3a793c['push'](_0x3a793c['shift']());}}}(_0x205b,0x7b8d0));import{FormRowView as _0x521d5e,ListItemView as _0x49c921}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0xf4dba6}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x49c921{[_0x35294c(0xa9)]=null;constructor(_0x24db31,_0x23b936,_0x42cd5e){const _0x265858=_0x35294c;super(_0x24db31),this[_0x265858(0xa2)]=_0x23b936?.[_0x265858(0xa2)];if(_0x265858(0xa7)===_0x23b936[_0x265858(0xa0)])this[_0x265858(0xa9)]=new _0xf4dba6(this[_0x265858(0xa1)],_0x23b936);this[_0x265858(0xad)](_0x265858(0xab),''),this[_0x265858(0xa4)](_0x265858(0xab))['to'](this[_0x265858(0xa9)],_0x265858(0x9e));const _0x34ad34=new _0x521d5e(this[_0x265858(0xa1)],{'children':[this[_0x265858(0xa9)]],'class':[_0x42cd5e?_0x265858(0x99):'']});_0x42cd5e&&_0x34ad34[_0x265858(0x98)][_0x265858(0xa8)](_0x42cd5e),this[_0x265858(0xa6)]({'tag':_0x265858(0xae),'attributes':{'class':['ck',_0x265858(0xb0),_0x265858(0xb2)]},'children':[_0x34ad34]});}[_0x35294c(0xac)](){const _0x263b46=_0x35294c;this[_0x263b46(0xa9)][_0x263b46(0xac)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4599(){const _0x39f187=['Shorter','shorter','Casual','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','friendly','Correctness','Longer','confident','custom','Friendly','1094034rBZKyP','2pFzdxF','5333385MWdrZA','tone','make-tone','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','1010195ZIQPqy','correctness','498897OoPdOF','43480880bsUIPN','Clarity','Confident','length','clarity','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Custom\x20command','Readability','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Adjust\x20length','40jyMsAB','589428QHMKgn','dropdown','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Direct','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','2679019KgClda','professional','direct','readability','Professional','make','Adjust\x20tone\x20and\x20style','casual','112bxFmTz','longer'];_0x4599=function(){return _0x39f187;};return _0x4599();}function _0x2a68(_0xb42e25,_0x35b01e){const _0x45996f=_0x4599();return _0x2a68=function(_0x2a684e,_0x5c9b0e){_0x2a684e=_0x2a684e-0x19c;let _0x542097=_0x45996f[_0x2a684e];return _0x542097;},_0x2a68(_0xb42e25,_0x35b01e);}const _0x3d6844=_0x2a68;(function(_0x2e5180,_0x410612){const _0x199277=_0x2a68,_0x1365ff=_0x2e5180();while(!![]){try{const _0x352319=parseInt(_0x199277(0x1a9))/0x1+-parseInt(_0x199277(0x1a4))/0x2*(-parseInt(_0x199277(0x1a5))/0x3)+-parseInt(_0x199277(0x1b7))/0x4+-parseInt(_0x199277(0x1b6))/0x5*(-parseInt(_0x199277(0x1a3))/0x6)+parseInt(_0x199277(0x1bc))/0x7+-parseInt(_0x199277(0x1c4))/0x8*(-parseInt(_0x199277(0x1ab))/0x9)+-parseInt(_0x199277(0x1ac))/0xa;if(_0x352319===_0x410612)break;else _0x1365ff['push'](_0x1365ff['shift']());}catch(_0x132254){_0x1365ff['push'](_0x1365ff['shift']());}}}(_0x4599,0xde2d4));export const AI_REVIEW_CHECKS=[{'id':_0x3d6844(0x1a1),'commandId':_0x3d6844(0x1a1),'title':_0x3d6844(0x1b2),'description':_0x3d6844(0x1a8),'isParameterized':!0x0},{'id':_0x3d6844(0x1aa),'commandId':_0x3d6844(0x1aa),'title':_0x3d6844(0x19e),'description':_0x3d6844(0x1b1),'isParameterized':!0x1},{'id':_0x3d6844(0x1b0),'commandId':_0x3d6844(0x1b0),'title':_0x3d6844(0x1ad),'description':_0x3d6844(0x1bb),'isParameterized':!0x1},{'id':_0x3d6844(0x1bf),'commandId':_0x3d6844(0x1bf),'title':_0x3d6844(0x1b3),'description':_0x3d6844(0x19c),'isParameterized':!0x1},{'id':_0x3d6844(0x1af),'commandId':_0x3d6844(0x1c1),'title':_0x3d6844(0x1b5),'description':_0x3d6844(0x1b4),'isParameterized':!0x0,'options':[{'formType':_0x3d6844(0x1b8),'label':_0x3d6844(0x1b5),'default':_0x3d6844(0x1c5),'data':[{'label':_0x3d6844(0x19f),'id':_0x3d6844(0x1c5)},{'label':_0x3d6844(0x1c6),'id':_0x3d6844(0x1c7)}]}]},{'id':_0x3d6844(0x1a6),'commandId':_0x3d6844(0x1a7),'title':_0x3d6844(0x1c2),'description':_0x3d6844(0x1b9),'isParameterized':!0x0,'options':[{'formType':_0x3d6844(0x1b8),'label':_0x3d6844(0x1c2),'default':_0x3d6844(0x1c3),'data':[{'label':_0x3d6844(0x1c8),'id':_0x3d6844(0x1c3)},{'label':_0x3d6844(0x1ba),'id':_0x3d6844(0x1be)},{'label':_0x3d6844(0x1a2),'id':_0x3d6844(0x19d)},{'label':_0x3d6844(0x1ae),'id':_0x3d6844(0x1a0)},{'label':_0x3d6844(0x1c0),'id':_0x3d6844(0x1bd)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x435aa9=_0x3e66;(function(_0x181d86,_0x621785){var _0x2b22b5=_0x3e66,_0x5bf964=_0x181d86();while(!![]){try{var _0x1f4c0c=parseInt(_0x2b22b5(0x10c))/0x1*(parseInt(_0x2b22b5(0x116))/0x2)+parseInt(_0x2b22b5(0x10f))/0x3+-parseInt(_0x2b22b5(0x10b))/0x4*(-parseInt(_0x2b22b5(0x109))/0x5)+parseInt(_0x2b22b5(0x10e))/0x6+-parseInt(_0x2b22b5(0x113))/0x7+-parseInt(_0x2b22b5(0x112))/0x8*(-parseInt(_0x2b22b5(0x115))/0x9)+-parseInt(_0x2b22b5(0x114))/0xa;if(_0x1f4c0c===_0x621785)break;else _0x5bf964['push'](_0x5bf964['shift']());}catch(_0x46ee06){_0x5bf964['push'](_0x5bf964['shift']());}}}(_0x2ecc,0xb8d35));import{ContextPlugin as _0x3bb25b}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x4a00e6}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x193d05}from'../aireviewcore/aireviewcoreediting.js';function _0x3e66(_0xaf7272,_0x36c646){var _0x2ecc07=_0x2ecc();return _0x3e66=function(_0x3e6649,_0x46176b){_0x3e6649=_0x3e6649-0x108;var _0x3e2f9e=_0x2ecc07[_0x3e6649];return _0x3e2f9e;},_0x3e66(_0xaf7272,_0x36c646);}import{AIReviewModeController as _0x5eaf54}from'./aireviewmodecontroller.js';function _0x2ecc(){var _0x301d87=['isOfficialPlugin','465PsaYsY','requires','56660bTnpOi','249QkysAo','pluginName','7635228ZbNwgI','1847298ZuPiDM','isPremiumPlugin','AIReviewMode','78992qPensr','13916XkudlW','35059630YCfwxw','693XnmCJP','2402lGABrP'];_0x2ecc=function(){return _0x301d87;};return _0x2ecc();}export class AIReviewMode extends _0x3bb25b{static get[_0x435aa9(0x10a)](){return[_0x5eaf54,_0x4a00e6,_0x193d05];}static get[_0x435aa9(0x10d)](){var _0x1c507b=_0x435aa9;return _0x1c507b(0x111);}static get[_0x435aa9(0x108)](){return!0x0;}static get[_0x435aa9(0x110)](){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 _0x589141=_0x1e15;(function(_0xf574c1,_0x1f5fee){const _0x5c3b2f=_0x1e15,_0x951bfc=_0xf574c1();while(!![]){try{const _0x422204=parseInt(_0x5c3b2f(0x22e))/0x1+parseInt(_0x5c3b2f(0x1bf))/0x2*(-parseInt(_0x5c3b2f(0x23c))/0x3)+-parseInt(_0x5c3b2f(0x1f3))/0x4*(parseInt(_0x5c3b2f(0x245))/0x5)+parseInt(_0x5c3b2f(0x21e))/0x6+-parseInt(_0x5c3b2f(0x1f0))/0x7*(-parseInt(_0x5c3b2f(0x1fd))/0x8)+parseInt(_0x5c3b2f(0x218))/0x9*(parseInt(_0x5c3b2f(0x231))/0xa)+-parseInt(_0x5c3b2f(0x230))/0xb*(parseInt(_0x5c3b2f(0x1de))/0xc);if(_0x422204===_0x1f5fee)break;else _0x951bfc['push'](_0x951bfc['shift']());}catch(_0x5eaeaa){_0x951bfc['push'](_0x951bfc['shift']());}}}(_0x3d11,0x2f0f9));import{CKEditorError as _0x112395}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x577f4e}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x48b633}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x2fe969}from'./model/aireviewmodechecklist.js';function _0x3d11(){const _0x40b5f8=['model','document','filter','getRoot','1415376WhZncm','ai.review.availableCommands','view','args','AIReviewModeController','join','1681008zFFOhV','isExtra','AI_REVIEW_CHECK_','_createReviewCheckRun','getAll','_markChangePositionInEditorContent','changeId','_onChangeMarkerClicked','hover','change','getChangeById','markChangePositionInEditorContent','ck-ai_review-','_changeActivationSource','isCustom','markerElement','153778sCGZcW','pluginName','22fxiMxR','20dNSVoJ','ck-ai_review-diff','hideChangeBalloon','_onReviewCheckRun','_translateReviewCheck','plugins','ai.review.extraCommands','content','all','locale','toUpperCase','3pWSNWq','_onDiffChange','hideDiffInBalloon','getAvailableModels','getClassNames','config','_onActivateChange','origin','_onChangeMarkerBlurred','10SOVvRF','context','listenTo','isAnyChangeActivated','getElement','AIReviewCoreEditing','_getChecksList','291922RnSlcd','activateChange','find','params','models','_aiReviewCoreUi','label','forEach','_isDiffOn','length','_scrollToChange','removeCheckById','_initRequiredPlugins','options','ai-review-mode-models-unable-to-retrieve','addClass','setActiveStateInResults','_onReviewCheckResultActivated','panel','replaceAll','domEvent','diffContent','_hasDefaultAvailableCommands','ai-review-mode-command-unavailable-due-to-missing-model','getDomRoot','_getExtraChecks','_getModels','_currentReviewCheckRun','getEditor','showChangeBalloon','data','2935344PnbbjQ','_diffContent','removeClass','ai-review-mode-non-existent-commands-used','_logErrorForNonExistentChecks','_getTranslationWithDefault','_onChangeMarkerHovered','showDiffInBalloon','toggleDiff','_onDeactivateChange','_logError','viewportOffset','prompt','_aiConnector','define','custom','deactivateChange','description','5803eoSCuz','_DESCRIPTION','setAllMarkersAsInactive','481044GFkPDJ','balloon','getDefault','_OPTIONS_LABEL','get','defaultModel','_aiReviewCoreEditing','_filterChecksWithMissingModel','checks','resetActiveStateInResults','3088LoEzmf','default','recommended','getDocumentData','map','ai.models','ck-ai_review-highlights','init','uiInteraction','setMarkersInElementAsActive','_OPTIONS_DATA_','AIReviewModeUI','getMarkerElementForChange','title','_TITLE','setupChecks','startsWith','editing','some','_getChangeContentElement','click','push','_onReviewCheckResultDeactivated'];_0x3d11=function(){return _0x40b5f8;};return _0x3d11();}import{AIReviewCustomCheckRun as _0x2d5d3f}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x47d254}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x4844a4}from'../aicore/model/aimodels.js';function _0x1e15(_0x405a7a,_0x5c47bc){const _0x3d11e7=_0x3d11();return _0x1e15=function(_0x1e15b4,_0x2d9eda){_0x1e15b4=_0x1e15b4-0x1bd;let _0x20e9c2=_0x3d11e7[_0x1e15b4];return _0x20e9c2;},_0x1e15(_0x405a7a,_0x5c47bc);}import{AIReviewCheckCustom as _0x22c785}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x43bc6c}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2a3446}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x577f4e{static get[_0x589141(0x22f)](){const _0x1e1c4c=_0x589141;return _0x1e1c4c(0x21c);}[_0x589141(0x1c7)]=!0x1;[_0x589141(0x1d5)]=!0x1;constructor(_0x4a5fd7){const _0x4288f3=_0x589141;super(_0x4a5fd7),this[_0x4288f3(0x1d5)]=!this[_0x4288f3(0x246)][_0x4288f3(0x241)][_0x4288f3(0x1f7)](_0x4288f3(0x219)),this[_0x4288f3(0x246)][_0x4288f3(0x241)][_0x4288f3(0x1ec)](_0x4288f3(0x219),_0x48b633[_0x4288f3(0x201)](_0x38cdad=>_0x38cdad['id'])),this[_0x4288f3(0x246)][_0x4288f3(0x241)][_0x4288f3(0x1ec)](_0x4288f3(0x237),[]);}async[_0x589141(0x204)](){const _0x4403b9=_0x589141;await super[_0x4403b9(0x204)](),this[_0x4403b9(0x247)](this[_0x4403b9(0x1c4)],_0x4403b9(0x1e6),(_0x2f8df1,_0x508068)=>{const _0x5b99e7=_0x4403b9;this[_0x5b99e7(0x1c7)]=_0x508068['on'],this[_0x5b99e7(0x23d)](this[_0x5b99e7(0x1c7)]);});}[_0x589141(0x1cb)](){const _0x58df9a=_0x589141;super[_0x58df9a(0x1cb)](),this[_0x58df9a(0x1c4)]=this[_0x58df9a(0x246)][_0x58df9a(0x236)][_0x58df9a(0x1f7)](_0x58df9a(0x208)),this[_0x58df9a(0x1f9)]=this[_0x58df9a(0x246)][_0x58df9a(0x236)][_0x58df9a(0x1f7)](_0x58df9a(0x1bd));}[_0x589141(0x221)](_0x1d30da,_0x5e9a3d){const _0x3154c9=_0x589141;return _0x1d30da[_0x3154c9(0x22c)]?new _0x2d5d3f(_0x1d30da[_0x3154c9(0x21b)][_0x3154c9(0x1ea)],_0x1d30da[_0x3154c9(0x21b)][_0x3154c9(0x214)],this[_0x3154c9(0x1f9)][_0x3154c9(0x200)](),_0x5e9a3d,this[_0x3154c9(0x1eb)]):_0x5e9a3d[_0x3154c9(0x21f)]?new _0x2a3446(_0x5e9a3d[_0x3154c9(0x1ea)],_0x5e9a3d[_0x3154c9(0x1f8)]['id'],this[_0x3154c9(0x1f9)][_0x3154c9(0x200)](),_0x5e9a3d,this[_0x3154c9(0x1eb)]):new _0x47d254(this[_0x3154c9(0x1f9)][_0x3154c9(0x200)](),_0x5e9a3d,this[_0x3154c9(0x1eb)],_0x1d30da[_0x3154c9(0x1c2)],_0x1d30da[_0x3154c9(0x21b)]);}[_0x589141(0x1d0)](_0x3b3d67){const _0x16b39b=_0x589141;this[_0x16b39b(0x1c4)][_0x16b39b(0x1cf)](_0x3b3d67[_0x16b39b(0x227)]['id']),this[_0x16b39b(0x1c9)](_0x3b3d67[_0x16b39b(0x227)]['id']);const _0x26fa73=this[_0x16b39b(0x1f9)][_0x16b39b(0x209)](_0x3b3d67[_0x16b39b(0x227)]['id']);if(!_0x26fa73)return;const _0xee6faa=this[_0x16b39b(0x1f9)][_0x16b39b(0x1db)]();this[_0x16b39b(0x1c4)][_0x16b39b(0x1dc)](_0x3b3d67[_0x16b39b(0x227)],()=>_0x26fa73[_0x16b39b(0x249)](),void 0x0,_0x16b39b(0x211),_0xee6faa?.[_0x16b39b(0x20e)]?.[_0x16b39b(0x21a)]?.[_0x16b39b(0x1d7)](),_0xee6faa?.['ui']?.[_0x16b39b(0x1e9)]),this[_0x16b39b(0x1f9)][_0x16b39b(0x206)](_0x3b3d67[_0x16b39b(0x227)]['id']);}[_0x589141(0x213)](){const _0x379880=_0x589141;this[_0x379880(0x1c4)][_0x379880(0x1fc)](),this[_0x379880(0x1c4)][_0x379880(0x233)](),this[_0x379880(0x1f9)][_0x379880(0x1f2)]();}[_0x589141(0x242)](_0x13050c){const _0x140fd5=_0x589141;this[_0x140fd5(0x1da)]&&_0x140fd5(0x211)===_0x13050c[_0x140fd5(0x205)]&&(this[_0x140fd5(0x22b)]=_0x140fd5(0x1d1),this[_0x140fd5(0x1da)][_0x140fd5(0x1c0)](_0x13050c['id']));}[_0x589141(0x1e7)](_0x576bed){const _0x1c1044=_0x589141;this[_0x1c1044(0x1da)]&&_0x1c1044(0x1f4)===_0x576bed[_0x1c1044(0x243)]&&this[_0x1c1044(0x1da)][_0x1c1044(0x1ee)]();}[_0x589141(0x225)](_0x5d8890,_0x4ce075){const _0x402292=_0x589141;if(!this[_0x402292(0x1da)])return;this[_0x402292(0x22b)]=_0x402292(0x238),this[_0x402292(0x1da)][_0x402292(0x1c0)](_0x4ce075[_0x402292(0x224)]);const _0x4fcffd=this[_0x402292(0x1da)][_0x402292(0x228)](_0x4ce075[_0x402292(0x224)]);if(!_0x4fcffd)return;const _0x308ced=this[_0x402292(0x1f9)][_0x402292(0x1db)]();this[_0x402292(0x1c4)][_0x402292(0x1dc)](_0x4fcffd,_0x4ce075[_0x402292(0x22d)],_0x4ce075[_0x402292(0x1d3)],_0x402292(0x211),_0x308ced?.[_0x402292(0x20e)]?.[_0x402292(0x21a)]?.[_0x402292(0x1d7)](),_0x308ced?.['ui']?.[_0x402292(0x1e9)]);}[_0x589141(0x1e4)](_0x5a5ae4,_0x3624b8){const _0x1af72b=_0x589141;if(!this[_0x1af72b(0x1da)])return;if(this[_0x1af72b(0x1da)][_0x1af72b(0x248)]())return;const _0x4836af=this[_0x1af72b(0x1da)][_0x1af72b(0x228)](_0x3624b8[_0x1af72b(0x224)]);if(!_0x4836af)return;const _0x23f8ec=this[_0x1af72b(0x1f9)][_0x1af72b(0x1db)]();this[_0x1af72b(0x1c4)][_0x1af72b(0x1dc)](_0x4836af,_0x3624b8[_0x1af72b(0x22d)],_0x3624b8[_0x1af72b(0x1d3)],_0x1af72b(0x226),_0x23f8ec?.[_0x1af72b(0x20e)]?.[_0x1af72b(0x21a)]?.[_0x1af72b(0x1d7)](),_0x23f8ec?.['ui']?.[_0x1af72b(0x1e9)]);}[_0x589141(0x244)](){const _0xe727c5=_0x589141;if(!this[_0xe727c5(0x1da)])return;this[_0xe727c5(0x1da)][_0xe727c5(0x248)]()||this[_0xe727c5(0x1c4)][_0xe727c5(0x233)]();}[_0x589141(0x210)](_0xda93a2){const _0x2ad5a4=_0x589141,_0x20cf2c=this[_0x2ad5a4(0x1f9)][_0x2ad5a4(0x209)](_0xda93a2);return _0x20cf2c?_0x20cf2c[_0x2ad5a4(0x249)]():null;}[_0x589141(0x223)](_0x503e1a,_0x3433a1){const _0x5f333a=_0x589141;this[_0x5f333a(0x1f9)][_0x5f333a(0x229)](_0x503e1a,_0x3433a1);}[_0x589141(0x1df)](_0x5d34e4,_0x48d89c){const _0x2a7b05=_0x589141;return this[_0x2a7b05(0x1f9)][_0x2a7b05(0x1d4)](_0x5d34e4,_0x48d89c);}[_0x589141(0x234)](){const _0x1f4ce2=_0x589141;this[_0x1f4ce2(0x23d)](this[_0x1f4ce2(0x1c7)]);}[_0x589141(0x23d)](_0xe1707a){const _0x502ed9=_0x589141,_0x3859e9=this[_0x502ed9(0x1f9)][_0x502ed9(0x1db)]();_0xe1707a?this[_0x502ed9(0x1c4)][_0x502ed9(0x23e)]():this[_0x502ed9(0x1c4)][_0x502ed9(0x1e5)](),_0x3859e9&&_0x3859e9[_0x502ed9(0x20e)][_0x502ed9(0x21a)][_0x502ed9(0x227)](_0xd2a0f=>{const _0x49f7db=_0x502ed9,_0x10d6d5=_0x3859e9[_0x49f7db(0x20e)][_0x49f7db(0x21a)][_0x49f7db(0x215)][_0x49f7db(0x217)]();for(const _0x11cb7c of _0x10d6d5[_0x49f7db(0x240)]())_0x11cb7c[_0x49f7db(0x20d)](_0x49f7db(0x22a))&&_0xd2a0f[_0x49f7db(0x1e0)](_0x11cb7c,_0x10d6d5);_0xd2a0f[_0x49f7db(0x1ce)](_0xe1707a?_0x49f7db(0x232):_0x49f7db(0x203),_0x10d6d5);});}async[_0x589141(0x1be)](){const _0x5801dc=_0x589141,_0x338a4b=[..._0x48b633,...this[_0x5801dc(0x1d8)]()],_0x4eeb54=this[_0x5801dc(0x246)][_0x5801dc(0x241)][_0x5801dc(0x1f7)](_0x5801dc(0x219))||[];this[_0x5801dc(0x1e2)](_0x4eeb54,_0x338a4b);let _0x3801d7=_0x338a4b;this[_0x5801dc(0x1d5)]||(_0x3801d7=_0x4eeb54[_0x5801dc(0x201)](_0x28f136=>_0x338a4b[_0x5801dc(0x1c1)](_0x595e94=>_0x595e94['id']===_0x28f136))[_0x5801dc(0x216)](_0x24f7bb=>!!_0x24f7bb)),_0x3801d7=_0x3801d7[_0x5801dc(0x201)](_0x1cc44e=>_0x1cc44e[_0x5801dc(0x21f)]?_0x1cc44e:this[_0x5801dc(0x235)](_0x1cc44e));const _0x52c58c=_0x3801d7[_0x5801dc(0x20f)](_0x33068b=>_0x33068b[_0x5801dc(0x21f)]||_0x5801dc(0x1ed)===_0x33068b['id']);let _0x3910ef=[],_0x5cfed9=[],_0x173964=null;if(_0x52c58c){const _0x3501c4=await this[_0x5801dc(0x1d9)]();_0x3910ef=_0x3501c4[_0x5801dc(0x239)],_0x5cfed9=_0x3501c4[_0x5801dc(0x1ff)],_0x173964=_0x3501c4[_0x5801dc(0x1fe)];}const _0x5383ca=new _0x2fe969(_0x3910ef,_0x5cfed9,_0x173964);return _0x5383ca[_0x5801dc(0x20c)](_0x3801d7),_0x52c58c&&this[_0x5801dc(0x1fa)](_0x5383ca),_0x5383ca;}[_0x589141(0x1d8)](){const _0x49e9be=_0x589141;return(this[_0x49e9be(0x246)][_0x49e9be(0x241)][_0x49e9be(0x1f7)](_0x49e9be(0x237))||[])[_0x49e9be(0x201)](_0x32347e=>({'id':_0x32347e['id'],'commandId':_0x32347e['id'],'title':_0x32347e[_0x49e9be(0x1c5)],'description':_0x32347e[_0x49e9be(0x1ef)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x32347e[_0x49e9be(0x1ea)],'model':_0x32347e[_0x49e9be(0x214)]}));}[_0x589141(0x1e2)](_0x1d89d7,_0x17e023){const _0x2f4f0a=_0x589141,_0x3ef498=_0x1d89d7[_0x2f4f0a(0x216)](_0x2e6b83=>!_0x17e023[_0x2f4f0a(0x20f)](_0x1ec220=>_0x1ec220['id']===_0x2e6b83));_0x3ef498[_0x2f4f0a(0x1c8)]&&this[_0x2f4f0a(0x1e8)](new _0x112395(_0x2f4f0a(0x1e1),this,{'commandIds':_0x3ef498[_0x2f4f0a(0x21d)](',\x20')}),!0x0);}async[_0x589141(0x1d9)](){const _0x460427=_0x589141;try{const _0x3b0af2=new _0x4844a4({'connector':this[_0x460427(0x1eb)],'config':this[_0x460427(0x246)][_0x460427(0x241)][_0x460427(0x1f7)](_0x460427(0x202)),'locale':this[_0x460427(0x246)][_0x460427(0x23a)]});return{'all':await _0x3b0af2[_0x460427(0x222)](),'recommended':await _0x3b0af2[_0x460427(0x23f)](),'default':await _0x3b0af2[_0x460427(0x1f5)]()};}catch(_0x276077){return this[_0x460427(0x1e8)](new _0x112395(_0x460427(0x1cd),this,void 0x0,_0x276077)),{'all':[],'recommended':[],'default':null};}}[_0x589141(0x235)](_0x5e3017){const _0x34de3d=_0x589141,_0x391443=_0x34de3d(0x220)+_0x5e3017['id'][_0x34de3d(0x23b)]()[_0x34de3d(0x1d2)]('-','_'),_0x12b428={..._0x5e3017,'title':this[_0x34de3d(0x1e3)](_0x391443+_0x34de3d(0x20b),_0x5e3017[_0x34de3d(0x20a)]),'description':this[_0x34de3d(0x1e3)](_0x391443+_0x34de3d(0x1f1),_0x5e3017[_0x34de3d(0x1ef)])};return _0x5e3017[_0x34de3d(0x1cc)]&&(_0x12b428[_0x34de3d(0x1cc)]=_0x5e3017[_0x34de3d(0x1cc)][_0x34de3d(0x201)](_0x3bc053=>({..._0x3bc053,'label':this[_0x34de3d(0x1e3)](_0x391443+_0x34de3d(0x1f6),_0x3bc053[_0x34de3d(0x1c5)]||''),'data':_0x3bc053[_0x34de3d(0x1dd)]?_0x3bc053[_0x34de3d(0x1dd)][_0x34de3d(0x201)](_0x4b27f5=>({..._0x4b27f5,'label':this[_0x34de3d(0x1e3)](_0x391443+_0x34de3d(0x207)+_0x4b27f5['id'][_0x34de3d(0x23b)](),_0x4b27f5[_0x34de3d(0x1c5)])})):void 0x0}))),_0x12b428;}[_0x589141(0x1fa)](_0x358565){const _0x2e6926=_0x589141,_0x397702=[];_0x358565[_0x2e6926(0x1fb)][_0x2e6926(0x1c6)](_0x57940b=>{const _0x546502=_0x2e6926;(_0x57940b instanceof _0x43bc6c&&!_0x57940b[_0x546502(0x1f8)]||_0x57940b instanceof _0x22c785&&!_0x57940b[_0x546502(0x1c3)][_0x546502(0x1c8)])&&_0x397702[_0x546502(0x212)](_0x57940b['id']);}),_0x397702[_0x2e6926(0x1c8)]&&_0x397702[_0x2e6926(0x1c6)](_0x290229=>{const _0x3fac48=_0x2e6926;_0x358565[_0x3fac48(0x1ca)](_0x290229),this[_0x3fac48(0x1e8)](new _0x112395(_0x3fac48(0x1d6),this,{'commandId':_0x290229}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4da82a=_0x4c34;(function(_0x59b061,_0x20855e){const _0xae0078=_0x4c34,_0x262097=_0x59b061();while(!![]){try{const _0x2e6ee6=-parseInt(_0xae0078(0x1db))/0x1*(parseInt(_0xae0078(0x1bf))/0x2)+parseInt(_0xae0078(0x1d3))/0x3*(parseInt(_0xae0078(0x1d5))/0x4)+parseInt(_0xae0078(0x1dd))/0x5*(parseInt(_0xae0078(0x1d0))/0x6)+parseInt(_0xae0078(0x1cf))/0x7+-parseInt(_0xae0078(0x1c3))/0x8*(parseInt(_0xae0078(0x1ba))/0x9)+parseInt(_0xae0078(0x1d1))/0xa*(-parseInt(_0xae0078(0x1bc))/0xb)+-parseInt(_0xae0078(0x1cc))/0xc*(parseInt(_0xae0078(0x1d6))/0xd);if(_0x2e6ee6===_0x20855e)break;else _0x262097['push'](_0x262097['shift']());}catch(_0x152db9){_0x262097['push'](_0x262097['shift']());}}}(_0x4854,0xc23f9));import{FormHeaderView as _0x253cb7}from'ckeditor5/src/ui.js';import{IconAIReview as _0x265dfe}from'ckeditor5/src/icons.js';import{getTranslation as _0x4b4031}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x5c0973}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x23583c}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0xca62f1}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';function _0x4c34(_0x1069cc,_0x20b359){const _0x48541c=_0x4854();return _0x4c34=function(_0x4c34fa,_0x1e121d){_0x4c34fa=_0x4c34fa-0x1ba;let _0x27f9d5=_0x48541c[_0x4c34fa];return _0x27f9d5;},_0x4c34(_0x1069cc,_0x20b359);}import{AIReviewCoreReviewCompletedView as _0x39667a}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x44c64b}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x23583c{static get[_0x4da82a(0x1bb)](){const _0x5cf401=_0x4da82a;return _0x5cf401(0x1ce);}[_0x4da82a(0x1c6)](){const _0x197818=_0x4da82a,_0x6d3bc9=this[_0x197818(0x1c8)][_0x197818(0x1c9)],_0x11778b=new _0x253cb7(_0x6d3bc9,{'label':_0x4b4031(_0x6d3bc9,_0x197818(0x1d4)),'icon':_0x265dfe,'class':_0x197818(0x1dc)});return new _0x5c0973(this[_0x197818(0x1c8)][_0x197818(0x1c9)],{'header':_0x11778b,'list':new _0x44c64b(_0x6d3bc9),'results':new _0xca62f1(_0x6d3bc9,{'generalErrorText':_0x4b4031(_0x6d3bc9,_0x197818(0x1d9))}),'completed':new _0x39667a(_0x6d3bc9,{'headerText':_0x4b4031(_0x6d3bc9,_0x197818(0x1da)),'emptyResultsText':_0x4b4031(_0x6d3bc9,_0x197818(0x1cd)),'buttonText':_0x4b4031(_0x6d3bc9,_0x197818(0x1be))})});}[_0x4da82a(0x1cb)](){const _0x123b34=_0x4da82a,_0x48e2c4=this[_0x123b34(0x1c8)][_0x123b34(0x1c0)][_0x123b34(0x1d8)](_0x123b34(0x1bd));_0x48e2c4[_0x123b34(0x1c1)]['on'](_0x123b34(0x1ca),(_0x301f4b,_0x4e2b52)=>{const _0x504d9b=_0x123b34;_0x504d9b(0x1c5)===_0x4e2b52?this[_0x504d9b(0x1d7)](_0x504d9b(0x1d2)):this[_0x504d9b(0x1d7)](_0x504d9b(0x1c7));}),_0x48e2c4[_0x123b34(0x1c1)][_0x123b34(0x1c4)]({'id':_0x123b34(0x1c5),'buttonLabel':_0x4b4031(this[_0x123b34(0x1c8)][_0x123b34(0x1c9)],_0x123b34(0x1d4)),'buttonIcon':_0x265dfe,'order':0x0,'content':this[_0x123b34(0x1c2)]});}}function _0x4854(){const _0x20a88d=['AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','9825wZFxbh','ck-ai-header\x20ck-ai-header_review','5pqFfJq','3258LAGuZs','pluginName','119493XtWWee','AITabs','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','88hDUOES','plugins','view','_mainView','27304ZyNfOJ','addTab','reviewMode','createMainView','leaveReview','context','locale','activateTab','registerTab','2870172xHMcwu','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','AIReviewModeUI','11112423xKyuAt','7860012bDmYFh','90NIZsxR','getReviewCheckList','57luwCoB','AI_REVIEW_MODE','332036nnSOEX','104bbNsJl','fire','get'];_0x4854=function(){return _0x20a88d;};return _0x4854();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5e7557=_0x4f33;(function(_0x368f5a,_0x5d951d){var _0x1aff1a=_0x4f33,_0x38c49c=_0x368f5a();while(!![]){try{var _0x401295=parseInt(_0x1aff1a(0x1e8))/0x1+parseInt(_0x1aff1a(0x1f3))/0x2+-parseInt(_0x1aff1a(0x1ea))/0x3+-parseInt(_0x1aff1a(0x1ed))/0x4*(-parseInt(_0x1aff1a(0x1ec))/0x5)+-parseInt(_0x1aff1a(0x1f1))/0x6+parseInt(_0x1aff1a(0x1e9))/0x7*(-parseInt(_0x1aff1a(0x1ef))/0x8)+parseInt(_0x1aff1a(0x1e7))/0x9;if(_0x401295===_0x5d951d)break;else _0x38c49c['push'](_0x38c49c['shift']());}catch(_0x50f539){_0x38c49c['push'](_0x38c49c['shift']());}}}(_0x1e14,0x7e7b2));import{AIReviewCheck as _0x3c7214}from'../../aireviewcore/model/aireviewcheck.js';function _0x4f33(_0x343e93,_0x47452e){var _0x1e1486=_0x1e14();return _0x4f33=function(_0x4f332f,_0x52458e){_0x4f332f=_0x4f332f-0x1e7;var _0x4718bc=_0x1e1486[_0x4f332f];return _0x4718bc;},_0x4f33(_0x343e93,_0x47452e);}function _0x1e14(){var _0x550cdc=['1771326AGTFPe','_models','2495msZGKz','3324kyNkca','defaultModel','8dYIIOY','models','4497744zMIqFh','_defaultModel','790268DbvJVP','16005105NFZgHZ','129020olkkmy','6013252NSMQeI'];_0x1e14=function(){return _0x550cdc;};return _0x1e14();}export class AIReviewCheckCustom extends _0x3c7214{[_0x5e7557(0x1eb)]=[];[_0x5e7557(0x1f2)]=null;constructor(_0x89e65a,_0x20f490,_0x25f717){var _0x50c192=_0x5e7557;super(_0x89e65a),this[_0x50c192(0x1eb)]=_0x20f490,this[_0x50c192(0x1f2)]=_0x25f717;}get[_0x5e7557(0x1f0)](){var _0x227177=_0x5e7557;return this[_0x227177(0x1eb)];}get[_0x5e7557(0x1ee)](){var _0x77ec74=_0x5e7557;return this[_0x77ec74(0x1f2)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5c6142=_0x242e;(function(_0x5d67ca,_0x55cc36){var _0x4a9eb8=_0x242e,_0x3b21ec=_0x5d67ca();while(!![]){try{var _0x2cba05=-parseInt(_0x4a9eb8(0x130))/0x1+parseInt(_0x4a9eb8(0x124))/0x2*(-parseInt(_0x4a9eb8(0x120))/0x3)+-parseInt(_0x4a9eb8(0x12e))/0x4+parseInt(_0x4a9eb8(0x122))/0x5+parseInt(_0x4a9eb8(0x12b))/0x6*(parseInt(_0x4a9eb8(0x128))/0x7)+parseInt(_0x4a9eb8(0x12d))/0x8*(-parseInt(_0x4a9eb8(0x12f))/0x9)+-parseInt(_0x4a9eb8(0x123))/0xa*(-parseInt(_0x4a9eb8(0x126))/0xb);if(_0x2cba05===_0x55cc36)break;else _0x3b21ec['push'](_0x3b21ec['shift']());}catch(_0x4b55c6){_0x3b21ec['push'](_0x3b21ec['shift']());}}}(_0x2961,0x75b5f));import{AIReviewCheck as _0x380c59}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x380c59{[_0x5c6142(0x125)]=!0x0;[_0x5c6142(0x127)];[_0x5c6142(0x121)];[_0x5c6142(0x12a)]=null;constructor(_0x526a48,_0x48b196,_0x4d273d){var _0x566590=_0x5c6142;super(_0x526a48),this[_0x566590(0x127)]=_0x526a48[_0x566590(0x127)],this[_0x566590(0x121)]=_0x526a48[_0x566590(0x121)],this[_0x566590(0x121)]?this[_0x566590(0x12a)]=_0x48b196[_0x566590(0x129)](_0x372fb1=>_0x372fb1['id']===this[_0x566590(0x121)])||null:this[_0x566590(0x12a)]=_0x4d273d;}get[_0x5c6142(0x12c)](){var _0x309fc3=_0x5c6142;return this[_0x309fc3(0x12a)];}}function _0x242e(_0x35c89d,_0x374a49){var _0x29615a=_0x2961();return _0x242e=function(_0x242ecb,_0x4085e9){_0x242ecb=_0x242ecb-0x120;var _0x1b9028=_0x29615a[_0x242ecb];return _0x1b9028;},_0x242e(_0x35c89d,_0x374a49);}function _0x2961(){var _0x233877=['1196520piWbLH','25416JleVws','839842cWgtTW','449487zfimzt','model','3517385Cqoasn','10ivfyVc','2ZKznhy','isExtra','14711851BTmtBD','prompt','2534GWnzfp','find','_defaultModel','3342cAhKMq','defaultModel','1336KpSqyP'];_0x2961=function(){return _0x233877;};return _0x2961();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2e16ec=_0x13ca;(function(_0x4f9983,_0xe25459){var _0x5a663a=_0x13ca,_0x3b922e=_0x4f9983();while(!![]){try{var _0x47027e=parseInt(_0x5a663a(0x1d5))/0x1+parseInt(_0x5a663a(0x1ce))/0x2*(parseInt(_0x5a663a(0x1d4))/0x3)+-parseInt(_0x5a663a(0x1cd))/0x4+-parseInt(_0x5a663a(0x1d3))/0x5+parseInt(_0x5a663a(0x1d6))/0x6+-parseInt(_0x5a663a(0x1cc))/0x7+parseInt(_0x5a663a(0x1d7))/0x8;if(_0x47027e===_0xe25459)break;else _0x3b922e['push'](_0x3b922e['shift']());}catch(_0x2e5d6d){_0x3b922e['push'](_0x3b922e['shift']());}}}(_0x21ca,0xbd156));function _0x13ca(_0x3931ee,_0x5a307c){var _0x21ca3d=_0x21ca();return _0x13ca=function(_0x13ca01,_0x1eb9e9){_0x13ca01=_0x13ca01-0x1c6;var _0x283716=_0x21ca3d[_0x13ca01];return _0x283716;},_0x13ca(_0x3931ee,_0x5a307c);}import{AIReviewCheckRun as _0x4483a5}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x21ca(){var _0x929acf=['content','_prompt','upsertCustomAIReviewRating','8291626xWRptf','3774880uVylrC','69752uvwVME','_model','callCustomReview','_sendRatingRequest','_createApiRequest','764250mjnyYG','132eMESnm','610941SGgcRU','4235388JlwsCP','1633528bjbmJh','subTitle','_aiConnector','_documentData'];_0x21ca=function(){return _0x929acf;};return _0x21ca();}export class AIReviewCustomCheckRun extends _0x4483a5{[_0x2e16ec(0x1ca)];[_0x2e16ec(0x1cf)];constructor(_0x192d04,_0x3eda71,_0x1d7fd3,_0x5c59de,_0x59a91f){var _0x1f317c=_0x2e16ec;super(_0x1d7fd3,_0x5c59de,_0x59a91f),this[_0x1f317c(0x1ca)]=_0x192d04,this[_0x1f317c(0x1cf)]=_0x3eda71;}get[_0x2e16ec(0x1c6)](){var _0xaae548=_0x2e16ec;return this[_0xaae548(0x1ca)];}[_0x2e16ec(0x1d2)](){var _0x5a00e2=_0x2e16ec;return this[_0x5a00e2(0x1c7)][_0x5a00e2(0x1d0)]({'content':this[_0x5a00e2(0x1c8)][_0x5a00e2(0x1c9)],'prompt':this[_0x5a00e2(0x1ca)],'model':this[_0x5a00e2(0x1cf)]});}[_0x2e16ec(0x1d1)](_0x12c097,_0x40dee2,_0x3084c6){var _0x36b20f=_0x2e16ec;return this[_0x36b20f(0x1c7)][_0x36b20f(0x1cb)](_0x40dee2,_0x12c097,_0x3084c6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x34a5(_0x373364,_0x1b8ac1){var _0x160333=_0x1603();return _0x34a5=function(_0x34a5f6,_0x35e4c7){_0x34a5f6=_0x34a5f6-0x1ba;var _0x36078c=_0x160333[_0x34a5f6];return _0x36078c;},_0x34a5(_0x373364,_0x1b8ac1);}var _0xc20f8d=_0x34a5;function _0x1603(){var _0x4affe4=['787240MPDIoV','6638310CaTBcu','2832248yDgIml','3593958fYsSTh','26222vxvJPr','_prompt','3117045fmkNrH','prompt','model','99lJElxN','245801DPHeWf','153UHFLYr','_model','subTitle'];_0x1603=function(){return _0x4affe4;};return _0x1603();}(function(_0x2c9978,_0xc7d47e){var _0xe29846=_0x34a5,_0x5aa03c=_0x2c9978();while(!![]){try{var _0x10cda9=parseInt(_0xe29846(0x1be))/0x1+parseInt(_0xe29846(0x1c6))/0x2*(parseInt(_0xe29846(0x1bf))/0x3)+parseInt(_0xe29846(0x1c4))/0x4+-parseInt(_0xe29846(0x1ba))/0x5+-parseInt(_0xe29846(0x1c5))/0x6+-parseInt(_0xe29846(0x1c3))/0x7+-parseInt(_0xe29846(0x1c2))/0x8*(-parseInt(_0xe29846(0x1bd))/0x9);if(_0x10cda9===_0xc7d47e)break;else _0x5aa03c['push'](_0x5aa03c['shift']());}catch(_0x4c86cc){_0x5aa03c['push'](_0x5aa03c['shift']());}}}(_0x1603,0x826e7));import{AIReviewCustomCheckRun as _0x5918a7}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x5918a7{get[_0xc20f8d(0x1c1)](){return'';}set[_0xc20f8d(0x1bb)](_0x54be61){var _0x49b39e=_0xc20f8d;this[_0x49b39e(0x1c7)]=_0x54be61;}set[_0xc20f8d(0x1bc)](_0x2710d6){var _0x519f8e=_0xc20f8d;this[_0x519f8e(0x1c0)]=_0x2710d6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x55cb0b=_0x4b58;function _0x4b58(_0x25bcd6,_0x4bec29){var _0x460ad9=_0x460a();return _0x4b58=function(_0x4b58ab,_0x5a847a){_0x4b58ab=_0x4b58ab-0x169;var _0x4cbd1=_0x460ad9[_0x4b58ab];return _0x4cbd1;},_0x4b58(_0x25bcd6,_0x4bec29);}(function(_0xf954d4,_0x5d3323){var _0x48d97c=_0x4b58,_0x53f85b=_0xf954d4();while(!![]){try{var _0x339a19=-parseInt(_0x48d97c(0x16c))/0x1+parseInt(_0x48d97c(0x176))/0x2*(parseInt(_0x48d97c(0x17a))/0x3)+-parseInt(_0x48d97c(0x16d))/0x4*(-parseInt(_0x48d97c(0x170))/0x5)+-parseInt(_0x48d97c(0x17c))/0x6*(parseInt(_0x48d97c(0x175))/0x7)+parseInt(_0x48d97c(0x179))/0x8*(parseInt(_0x48d97c(0x172))/0x9)+parseInt(_0x48d97c(0x174))/0xa*(parseInt(_0x48d97c(0x171))/0xb)+parseInt(_0x48d97c(0x16a))/0xc*(-parseInt(_0x48d97c(0x16b))/0xd);if(_0x339a19===_0x5d3323)break;else _0x53f85b['push'](_0x53f85b['shift']());}catch(_0x3aac10){_0x53f85b['push'](_0x53f85b['shift']());}}}(_0x460a,0x2d52e));function _0x460a(){var _0x175928=['setupChecks','custom','280168GNUjSC','207mhjIFm','_allModels','855096rEoKOz','map','_recommendedModels','12kVHazW','4827940cWXCGj','176158nXmkSp','132fxhnyx','_checks','_defaultModel','14405NzHfcg','1595qubjcP','63YfTOjj','isExtra','24350lXhEQU','14AiOrrQ','9418SiYPpL'];_0x460a=function(){return _0x175928;};return _0x460a();}import{AIReviewCheckList as _0x1a409f}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x52d934}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x1c99c1}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x406ae8}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x1a409f{[_0x55cb0b(0x17b)]=[];[_0x55cb0b(0x169)]=[];[_0x55cb0b(0x16f)]=null;constructor(_0x1ecefe,_0x5a7e3d,_0x530391){var _0x39217a=_0x55cb0b;super(),this[_0x39217a(0x17b)]=_0x1ecefe,this[_0x39217a(0x169)]=_0x5a7e3d,this[_0x39217a(0x16f)]=_0x530391;}[_0x55cb0b(0x177)](_0x16035a){var _0xbed3bc=_0x55cb0b;this[_0xbed3bc(0x16e)]=_0x16035a[_0xbed3bc(0x17d)](_0x3892dc=>!0x0===_0x3892dc[_0xbed3bc(0x173)]?new _0x406ae8(_0x3892dc,this[_0xbed3bc(0x17b)],this[_0xbed3bc(0x16f)]):_0xbed3bc(0x178)===_0x3892dc['id']?new _0x1c99c1(_0x3892dc,this[_0xbed3bc(0x169)],this[_0xbed3bc(0x16f)]):new _0x52d934(_0x3892dc));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x567d9a=_0x1202;(function(_0x14d74e,_0x3fcf7b){const _0x2fa448=_0x1202,_0x19dd0c=_0x14d74e();while(!![]){try{const _0x5f3d1d=parseInt(_0x2fa448(0x95))/0x1+-parseInt(_0x2fa448(0x7a))/0x2*(parseInt(_0x2fa448(0x8c))/0x3)+parseInt(_0x2fa448(0x71))/0x4*(-parseInt(_0x2fa448(0x83))/0x5)+-parseInt(_0x2fa448(0x84))/0x6+-parseInt(_0x2fa448(0x75))/0x7+parseInt(_0x2fa448(0x8e))/0x8*(parseInt(_0x2fa448(0x78))/0x9)+-parseInt(_0x2fa448(0x86))/0xa;if(_0x5f3d1d===_0x3fcf7b)break;else _0x19dd0c['push'](_0x19dd0c['shift']());}catch(_0x1548b9){_0x19dd0c['push'](_0x19dd0c['shift']());}}}(_0x3d80,0x6a24e));function _0x1202(_0x2afc8e,_0x1eb17d){const _0x3d80e7=_0x3d80();return _0x1202=function(_0x1202da,_0x168f6e){_0x1202da=_0x1202da-0x6a;let _0x34caad=_0x3d80e7[_0x1202da];return _0x34caad;},_0x1202(_0x2afc8e,_0x1eb17d);}import{ContextPlugin as _0x3e6aba,Editor as _0x213cbb}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a5f1e}from'ckeditor5/src/utils.js';function _0x3d80(){const _0x267ac7=['showResizeButton','destroy','container','side','get','ai-tabs-unsupported-ui-type','body','remove','overlay','includes','set','ai-tabs-configuration-not-found','4cycAir','bind','resizedTabs','visibleByDefault','540645FtjTVp','ai.container','sidebar','468AOFYwd','ai-tabs-sidebar-container-element-not-found','17006iRZGRW','right','locale','resize','AITabs','element','switchSide','ai-tabs-unsupported-ui-side','isOfficialPlugin','439255NCVYtT','2222028xQVBES','focusTracker','125700WwUCmo','custom','fire','render','type','switchType','39mIakEC','context','107656ZEBmfk','view','isPremiumPlugin','add','config','pluginName','appendChild','393535gjQQYt','isMaximized'];_0x3d80=function(){return _0x267ac7;};return _0x3d80();}import{AITabsMainView as _0x1d9190,AI_TABS_VIEW_SIDES as _0x5996a6,AI_TABS_VIEW_TYPES as _0x598527}from'./aitabsmainview.js';export class AITabs extends _0x3e6aba{[_0x567d9a(0x8f)];[_0x567d9a(0x99)]=null;[_0x567d9a(0x97)]=!0x0;static get[_0x567d9a(0x93)](){const _0x1eec5c=_0x567d9a;return _0x1eec5c(0x7e);}static get[_0x567d9a(0x82)](){return!0x0;}static get[_0x567d9a(0x90)](){return!0x0;}constructor(_0x445ceb){const _0x4f1ade=_0x567d9a;super(_0x445ceb);const _0x3f2a1f=this[_0x4f1ade(0x8d)][_0x4f1ade(0x92)][_0x4f1ade(0x9b)](_0x4f1ade(0x76));if(this[_0x4f1ade(0x6f)](_0x4f1ade(0x9a),_0x4f1ade(0x7b)),!_0x3f2a1f)throw new _0x5a5f1e(_0x4f1ade(0x70));if(void 0x0!==_0x3f2a1f[_0x4f1ade(0x97)]&&(this[_0x4f1ade(0x97)]=_0x3f2a1f[_0x4f1ade(0x97)]),_0x4f1ade(0x77)!==_0x3f2a1f[_0x4f1ade(0x8a)]&&_0x4f1ade(0x6d)!==_0x3f2a1f[_0x4f1ade(0x8a)]||_0x3f2a1f[_0x4f1ade(0x9a)]&&(this[_0x4f1ade(0x9a)]=_0x3f2a1f[_0x4f1ade(0x9a)]),_0x4f1ade(0x77)===_0x3f2a1f[_0x4f1ade(0x8a)]){if(this[_0x4f1ade(0x99)]=_0x3f2a1f[_0x4f1ade(0x7f)],this[_0x4f1ade(0x6f)](_0x4f1ade(0x8a),_0x4f1ade(0x77)),!this[_0x4f1ade(0x99)])throw new _0x5a5f1e(_0x4f1ade(0x79));}else _0x4f1ade(0x6d)===_0x3f2a1f[_0x4f1ade(0x8a)]?(this[_0x4f1ade(0x99)]=document[_0x4f1ade(0x6b)],this[_0x4f1ade(0x6f)](_0x4f1ade(0x8a),_0x4f1ade(0x6d))):(this[_0x4f1ade(0x99)]=null,this[_0x4f1ade(0x6f)](_0x4f1ade(0x8a),_0x4f1ade(0x87)));this[_0x4f1ade(0x8f)]=new _0x1d9190(this[_0x4f1ade(0x8d)][_0x4f1ade(0x7c)],{'side':this[_0x4f1ade(0x9a)],'type':this[_0x4f1ade(0x8a)],'visibleByDefault':void 0x0===_0x3f2a1f[_0x4f1ade(0x74)]||_0x3f2a1f[_0x4f1ade(0x74)]}),this[_0x4f1ade(0x8f)][_0x4f1ade(0x89)](),this[_0x4f1ade(0x8f)][_0x4f1ade(0x72)](_0x4f1ade(0x9a))['to'](this,_0x4f1ade(0x9a)),this[_0x4f1ade(0x8f)][_0x4f1ade(0x72)](_0x4f1ade(0x8a))['to'](this,_0x4f1ade(0x8a)),this[_0x4f1ade(0x99)]&&this[_0x4f1ade(0x99)][_0x4f1ade(0x94)](this[_0x4f1ade(0x8f)][_0x4f1ade(0x7f)]),this[_0x4f1ade(0x8d)]instanceof _0x213cbb&&this[_0x4f1ade(0x8d)]['ui'][_0x4f1ade(0x85)][_0x4f1ade(0x91)](this[_0x4f1ade(0x8f)][_0x4f1ade(0x7f)]);}[_0x567d9a(0x8b)](_0x40228d){const _0x4472e0=_0x567d9a;if(_0x40228d&&this[_0x4472e0(0x8a)]!==_0x40228d){if(!_0x598527[_0x4472e0(0x6e)](_0x40228d))throw new _0x5a5f1e(_0x4472e0(0x6a));this[_0x4472e0(0x8a)]=_0x40228d;}}[_0x567d9a(0x80)](_0x4a543f){const _0x245ad3=_0x567d9a;if(_0x4a543f&&this[_0x245ad3(0x9a)]!==_0x4a543f){if(!_0x5996a6[_0x245ad3(0x6e)](_0x4a543f))throw new _0x5a5f1e(_0x245ad3(0x81));this[_0x245ad3(0x9a)]=_0x4a543f;}}[_0x567d9a(0x7d)](){const _0x421e95=_0x567d9a;this[_0x421e95(0x8f)][_0x421e95(0x96)]=!this[_0x421e95(0x8f)][_0x421e95(0x96)],this[_0x421e95(0x88)](_0x421e95(0x73),this[_0x421e95(0x8f)][_0x421e95(0x96)]);}[_0x567d9a(0x98)](){const _0x22be8b=_0x567d9a;super[_0x22be8b(0x98)](),this[_0x22be8b(0x8f)][_0x22be8b(0x98)](),this[_0x22be8b(0x8f)][_0x22be8b(0x7f)]&&this[_0x22be8b(0x8f)][_0x22be8b(0x7f)][_0x22be8b(0x6c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3076c2=_0xf568;function _0xf568(_0x397b8c,_0x4060c3){const _0x292170=_0x2921();return _0xf568=function(_0xf568c1,_0x34d00f){_0xf568c1=_0xf568c1-0x1c4;let _0x5d0063=_0x292170[_0xf568c1];return _0x5d0063;},_0xf568(_0x397b8c,_0x4060c3);}(function(_0x587694,_0x3436aa){const _0x2bcba9=_0xf568,_0x28e61f=_0x587694();while(!![]){try{const _0x4dbf84=-parseInt(_0x2bcba9(0x1c6))/0x1+-parseInt(_0x2bcba9(0x1d3))/0x2*(-parseInt(_0x2bcba9(0x1cd))/0x3)+-parseInt(_0x2bcba9(0x1d7))/0x4*(-parseInt(_0x2bcba9(0x1cc))/0x5)+parseInt(_0x2bcba9(0x1ca))/0x6+parseInt(_0x2bcba9(0x1cb))/0x7+-parseInt(_0x2bcba9(0x1db))/0x8*(-parseInt(_0x2bcba9(0x1c9))/0x9)+-parseInt(_0x2bcba9(0x1e0))/0xa;if(_0x4dbf84===_0x3436aa)break;else _0x28e61f['push'](_0x28e61f['shift']());}catch(_0x553ff1){_0x28e61f['push'](_0x28e61f['shift']());}}}(_0x2921,0xd7e38));import{AITabsView as _0x3252e8}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x2921(){const _0x33983c=['type','left','set','side','ck-ai-tabs__overlay','2muKZlN','add','sidebar','isVisible','28utPFwM','right','ck-hidden','ck-ai-tabs','8FcaEGI','overlay','bindTemplate','buttonViews','custom','65560700eRIZjp','withText','ck-ai-tabs__sidebar','245395XGYLEF','visibleByDefault','extendTemplate','15668487LuoLvL','7986084cLKWwb','11124659DUnEVJ','998585HWBZIp','4879596jCWSTr'];_0x2921=function(){return _0x33983c;};return _0x2921();}export const AI_TABS_VIEW_TYPES=[_0x3076c2(0x1dc),_0x3076c2(0x1d5),_0x3076c2(0x1df)];export const AI_TABS_VIEW_SIDES=[_0x3076c2(0x1cf),_0x3076c2(0x1d8)];export class AITabsMainView extends _0x3252e8{constructor(_0x4f8a2f,_0x44c4a4={}){const _0x34dee2=_0x3076c2;super(_0x4f8a2f,_0x44c4a4),this[_0x34dee2(0x1d0)](_0x34dee2(0x1ce),_0x44c4a4[_0x34dee2(0x1ce)]||_0x34dee2(0x1d5)),this[_0x34dee2(0x1d0)](_0x34dee2(0x1d1),_0x44c4a4[_0x34dee2(0x1d1)]||_0x34dee2(0x1d8)),this[_0x34dee2(0x1d0)](_0x34dee2(0x1d6),_0x44c4a4[_0x34dee2(0x1c7)]??!0x0);const _0x55234=this[_0x34dee2(0x1dd)];this[_0x34dee2(0x1c8)]({'attributes':{'class':[_0x34dee2(0x1da),_0x55234['if'](_0x34dee2(0x1ce),_0x34dee2(0x1d2),_0x110e19=>_0x34dee2(0x1dc)===_0x110e19),_0x55234['if'](_0x34dee2(0x1ce),_0x34dee2(0x1c5),_0x1bfa50=>_0x34dee2(0x1d5)===_0x1bfa50),_0x55234['if'](_0x34dee2(0x1d6),_0x34dee2(0x1d9),_0x2aebce=>!_0x2aebce)]}}),this[_0x34dee2(0x1de)]['on'](_0x34dee2(0x1d4),(_0x40f676,_0x5b28e9)=>{const _0x94f983=_0x34dee2;_0x5b28e9[_0x94f983(0x1d0)](_0x94f983(0x1c4),!0x1);});}}
|