@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- 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
|
|
23
|
+
import{ListItemView as _0x130e5a,IconView as _0xb4329e,View as _0x56b562,ViewCollection as _0x535257,ButtonView as _0xa0902,clickOutsideHandler as _0x21fa93}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x3fc769}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x3342e0}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x21ac01}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x130e5a{['_formItemsCollection']=new _0x535257();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x20d93c,_0x5ebeea,_0x5dde8e,_0x27ec6f=!0x1){super(_0x20d93c),this['_hideModels']=_0x27ec6f,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x5ebeea['isParameterized']);const _0xd554e2=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x52b264=>_0x52b264),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x2c95a2=>_0x2c95a2)],'style':{'--ck-ai-review-check-list-item-index':_0x5dde8e}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x5ebeea['title']}]},_0xd554e2]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x5ebeea['description']?[{'text':_0x5ebeea['description']}]:[]}]}]},..._0x5ebeea['isParameterized']?[this['_createParameterizedView'](_0x5ebeea)]:[],...'custom'===_0x5ebeea['id']?[this['_createCustomView'](_0x5ebeea,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x5ebeea['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x5ebeea['id'],'args':_0x5ebeea['useArgs']?_0x5ebeea['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x21fa93({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1a1599=>{_0x1a1599['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x55d8f3=new _0xb4329e();return _0x55d8f3['content']=_0x3fc769,_0x55d8f3['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x55d8f3;}['_createParameterizedView'](_0xd387f0){const _0x183a1b=new _0x56b562(),_0x350e93=this['_createFormView'](_0xd387f0);return _0x183a1b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x5b67fa=>!_0x5b67fa)]},'children':[_0x350e93]}),_0x183a1b;}['_createFormView'](_0x4530c7){const _0x25c3c0=new _0x56b562(),_0x12c147=Array['isArray'](_0x4530c7['options'])?_0x4530c7['options']:[],_0x42d296=new _0xa0902(this['locale']),t=this['locale']['t'];_0x42d296['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x42d296['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x48dc36=>{_0x48dc36['stopPropagation']();})}}),_0x42d296['on']('execute',()=>{const _0x165684=[],_0xb2ab1a={};this['_formItemsCollection']['forEach'](_0x4e421b=>{_0x165684['push'](_0x4e421b['value']),_0x4530c7['useArgs']&&_0x4530c7['options']&&(_0xb2ab1a[_0x4e421b['argsKey']]=_0x4e421b['value']);}),this['fire']('runReviewCheck',{'id':_0x4530c7['id'],'params':_0x165684['length']?_0x165684:void 0x0,'args':Object['keys'](_0xb2ab1a)['length']?_0xb2ab1a:void 0x0});});const _0x394d26=_0x12c147['length'];return _0x12c147['forEach']((_0x4c70d0,_0x2bf5d3)=>{const _0x3fd6aa=_0x2bf5d3===_0x394d26-0x1;this['_formItemsCollection']['add'](new _0x3342e0(this['locale'],_0x4c70d0,_0x3fd6aa?_0x42d296:null));}),_0x25c3c0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x25c3c0;}['_createCustomView'](_0x236650,_0x4a3fa0=!0x1){return this['_customCheckView']=new _0x21ac01(this['locale'],_0x236650,_0x4a3fa0),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x27f53d=>!_0x27f53d)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0xe92526,_0x2b93ce,_0x2b5387)=>{_0x2b5387||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x318de2=_0x55e6;function _0x29db(){const _0xf21cf4=['52449Abppwc','span','bindTemplate','headerText','236771xCKLmJ','5564815zOizlp','1572Rtoeiy','isVisible','buttonText','_finishReviewButtonView','ck-hidden','finishReview','16825260arQKbb','46808QrLnZp','31318DuxivZ','ck-ai_review__review-completed-header-title','div','ck-ai_review__review-completed-header-buttons','204LcYxhF','153ARrOvq','5484156NxrPQX','ck-ai_review__review-completed-content-text','ck-ai_review__review-completed-header','emptyResultsText','_createFinishReviewButtonView','ck-ai_review__review-completed-content','_resultsHeader','locale','ck-ai_review__review-completed','delegate','ck-ai_review__review-completed-content-icon','setTemplate','_createResultHeaderView'];_0x29db=function(){return _0xf21cf4;};return _0x29db();}(function(_0x3db3f4,_0x10ffbd){const _0x47dfe6=_0x55e6,_0xe08a19=_0x3db3f4();while(!![]){try{const _0x1b8f7b=-parseInt(_0x47dfe6(0xc1))/0x1+-parseInt(_0x47dfe6(0xcf))/0x2*(parseInt(_0x47dfe6(0xbd))/0x3)+parseInt(_0x47dfe6(0xd1))/0x4+-parseInt(_0x47dfe6(0xc2))/0x5+parseInt(_0x47dfe6(0xc3))/0x6*(parseInt(_0x47dfe6(0xcb))/0x7)+-parseInt(_0x47dfe6(0xca))/0x8*(parseInt(_0x47dfe6(0xd0))/0x9)+parseInt(_0x47dfe6(0xc9))/0xa;if(_0x1b8f7b===_0x10ffbd)break;else _0xe08a19['push'](_0xe08a19['shift']());}catch(_0x5ebe7a){_0xe08a19['push'](_0xe08a19['shift']());}}}(_0x29db,0xf2806));function _0x55e6(_0xf4ec7a,_0x45ee75){const _0x29db63=_0x29db();return _0x55e6=function(_0x55e624,_0x5d59d4){_0x55e624=_0x55e624-0xb9;let _0xe5c225=_0x29db63[_0x55e624];return _0xe5c225;},_0x55e6(_0xf4ec7a,_0x45ee75);}import{ListItemView as _0xfbe7cb,View as _0xcb118c}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x18e6ea}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0xfbe7cb{[_0x318de2(0xd7)];[_0x318de2(0xc6)];constructor(_0x278dff,_0x138cb3){const _0x2e7434=_0x318de2;super(_0x278dff),this[_0x2e7434(0xc6)]=this[_0x2e7434(0xd5)](_0x138cb3[_0x2e7434(0xc5)]),this[_0x2e7434(0xd7)]=this[_0x2e7434(0xbc)](_0x138cb3[_0x2e7434(0xc0)]);const _0x2ada19=this[_0x2e7434(0xbf)];this[_0x2e7434(0xbb)]({'tag':_0x2e7434(0xcd),'attributes':{'class':[_0x2e7434(0xd9),_0x2ada19['if'](_0x2e7434(0xc4),_0x2e7434(0xc7),_0x2399d5=>!_0x2399d5)]},'children':[this[_0x2e7434(0xd7)],{'tag':_0x2e7434(0xcd),'attributes':{'class':[_0x2e7434(0xd6)]},'children':[{'tag':_0x2e7434(0xbe),'attributes':{'class':[_0x2e7434(0xba)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x2e7434(0xd2)]},'children':[{'text':_0x138cb3[_0x2e7434(0xd4)]}]}]}]});}[_0x318de2(0xd5)](_0x150fff){const _0x526869=_0x318de2,_0x4a92e9=new _0x18e6ea(_0x150fff,this[_0x526869(0xd8)]);return _0x4a92e9[_0x526869(0xb9)](_0x526869(0xc8))['to'](this),_0x4a92e9;}[_0x318de2(0xbc)](_0x17bbf8){const _0x591c20=_0x318de2,_0x2716a8=new _0xcb118c(this[_0x591c20(0xd8)]);return _0x2716a8[_0x591c20(0xbb)]({'tag':_0x591c20(0xcd),'attributes':{'class':[_0x591c20(0xd3)]},'children':[{'tag':_0x591c20(0xbe),'attributes':{'class':[_0x591c20(0xcc)]},'children':[{'text':_0x17bbf8}]},{'tag':_0x591c20(0xcd),'attributes':{'class':[_0x591c20(0xce)]},'children':[this[_0x591c20(0xc6)]]}]}),_0x2716a8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x33388c,View as _0x167d39,ViewCollection as _0x17e97a,ButtonView as _0xbbb675}from'ckeditor5/src/ui.js';import{IconStop as _0x405192,IconEye as _0x50f383,IconEyeCrossedOut as _0x311f3b}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x114065,SKELETON_DEFINITIONS as _0x517715}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x254587}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0xfffd0b}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x346fa8}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4d212e}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0xc539e2}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x33388c{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3700de,_0x246782){super(_0x3700de),this['_contents']=_0x246782,this['_resultViews']=new _0x17e97a(),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 _0x254587(_0x3700de),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 _0x4af52c=this['_createCombinedSkeletonLoader'](),_0x21ef00=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x21ef00['if']('isLoading','ck-ai_review__check-run_loading',_0x9055b2=>_0x9055b2),_0x21ef00['if']('isResultReady','ck-ai_review__check-run_ready',_0x44745f=>_0x44745f),_0x21ef00['if']('isVisible','ck-hidden',_0xf87c03=>!_0xf87c03)]},'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',_0x4d02cb=>_0x4d02cb)]},'children':this['_resultViews']},_0x4af52c]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x29fed8){const _0x950c75=new _0x4d212e(this['locale'],_0x29fed8['id']);_0x950c75['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x950c75),_0x950c75['resultResponseView']['element']['innerHTML']=_0x29fed8['contentDiffed'];}['hideResult'](_0xbefa60,_0x538803){if('pending'===_0x538803)return;const _0x4334b8=this['_resultViews']['find'](_0x10e433=>_0x10e433['id']===_0xbefa60);_0x4334b8&&(_0x4334b8['status']=_0x538803,_0x4334b8['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x453448,_0x4e800d){if('pending'!==_0x4e800d)return;const _0x5f39f5=this['_resultViews']['find'](_0x348083=>_0x348083['id']===_0x453448);_0x5f39f5&&(_0x5f39f5['status']=_0x4e800d,_0x5f39f5['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x152d4a,_0x5b6974){this['headerTitle']=_0x152d4a,this['headerSubtitle']=_0x5b6974||'';}['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 _0x114065(this['locale'],_0x517715['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x44aabc=new _0x167d39(this['locale']),_0x27febb=[];for(let _0x5a7a76=0x0;_0x5a7a76<0x10;_0x5a7a76++){const _0x191bb2=this['_createSkeletonLoader']();_0x191bb2['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x27febb['push'](_0x191bb2);}return _0x44aabc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x117800=>!_0x117800)]},'children':_0x27febb}),_0x44aabc;}['_createErrorView'](){const _0x264b73=new _0x167d39(this['locale']),_0x2050de=new _0xbbb675(this['locale']),t=this['locale']['t'];return _0x264b73['delegate']('retryReview')['to'](this),_0x2050de['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x2050de['on']('execute',()=>{this['fire']('retryReview');}),_0x264b73['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x2f8958=>!_0x2f8958),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2b3cef=>'chunk'===_0x2b3cef)]},'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',_0x24943b=>'chunk'===_0x24943b)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2ec21c=>'general'!==_0x2ec21c)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x38e57c=>'chunk'!==_0x38e57c)]},'children':[{'text':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2050de]}),_0x264b73;}['_createCancelButtonView'](){const _0x53bc53=new _0xbbb675(this['locale']);return _0x53bc53['set']({'label':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x405192}),_0x53bc53['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b5281=>_0x2b5281),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ee124=>_0x3ee124)]}}),_0x53bc53['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x53bc53;}['_createToggleDiffButtonView'](){const _0x2543fd=new _0xbbb675(this['locale']);_0x2543fd['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x2543fd['bind']('isEnabled')['to'](this,'isError',_0x5590a7=>!_0x5590a7),_0x2543fd['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x46a391=>!_0x46a391),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x52e245=>_0x52e245)]}});const _0x33537e=_0xfffd0b(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1997bb=_0xfffd0b(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x2543fd['bind']('isOn')['to'](this,'isToggleDiffOn',_0x512bc0=>_0x512bc0),_0x2543fd['bind']('icon')['to'](this,'isToggleDiffOn',_0x1f65d7=>_0x1f65d7?_0x50f383:_0x311f3b),_0x2543fd['bind']('label')['to'](this,'isToggleDiffOn',_0x1c33a4=>_0x1c33a4?_0x33537e:_0x1997bb),_0x2543fd['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x2543fd;}['_createAcceptAllButtonView'](){const _0x44dcd5=new _0xbbb675(this['locale']);return _0x44dcd5['set']({'label':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x44dcd5['bind']('isEnabled')['to'](this,'isError',_0x3b03fe=>!_0x3b03fe),_0x44dcd5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x59c1cf=>!_0x59c1cf),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x248d65=>_0x248d65)]}}),_0x44dcd5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x44dcd5;}['_createExitReviewButtonView'](){const _0x27a4ae=new _0xbbb675(this['locale']);return _0x27a4ae['set']({'label':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x27a4ae['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50eca0=>!_0x50eca0),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xd3d9f9=>_0xd3d9f9)]}}),_0x27a4ae['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x27a4ae;}['_createResultHeaderView'](){const _0x5292be=new _0x167d39(this['locale']),_0x25b921=this['_createTitleView']();return _0x5292be['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x400448=>_0x400448)]},'children':[_0x25b921,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5292be;}['_createTitleView'](){const _0x233cbf=new _0x167d39(this['locale']),_0x2cb03f=new _0x346fa8();return _0x2cb03f['bind']('isVisible')['to'](this,'isResultReady',_0x18938e=>!_0x18938e),_0x233cbf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2cb03f,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x36808d=>_0x36808d)]},'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',_0x128df7=>!_0x128df7)]},'children':[{'text':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x233cbf;}['_createFinishReviewButtonView'](){const _0x49f4f7=new _0xc539e2(_0xfffd0b(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x49f4f7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x311158=>!_0x311158)]}}),_0x49f4f7['delegate']('finishReview')['to'](this),_0x49f4f7;}}
|
|
23
|
+
import{ListItemView as _0x51d51f,View as _0x33d7b9,ViewCollection as _0x293245,ButtonView as _0x25f5c1}from'ckeditor5/src/ui.js';import{IconStop as _0x37d0fe,IconEye as _0x202d80,IconEyeCrossedOut as _0xf3d0c6}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x3bbfbf,SKELETON_DEFINITIONS as _0x3b7502}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x1d52f8}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5dccb4}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2f9104}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0xa31d4e}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x15ae77}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x51d51f{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3c6291,_0x11d315){super(_0x3c6291),this['_contents']=_0x11d315,this['_resultViews']=new _0x293245(),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 _0x1d52f8(_0x3c6291),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 _0x5c3ce5=this['_createCombinedSkeletonLoader'](),_0x4f2d16=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x4f2d16['if']('isLoading','ck-ai_review__check-run_loading',_0x2fc714=>_0x2fc714),_0x4f2d16['if']('isResultReady','ck-ai_review__check-run_ready',_0x199992=>_0x199992),_0x4f2d16['if']('isVisible','ck-hidden',_0x47cda2=>!_0x47cda2)]},'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',_0x48f676=>_0x48f676)]},'children':this['_resultViews']},_0x5c3ce5]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x2f639e){const _0xf919bd=new _0xa31d4e(this['locale'],_0x2f639e['id']);_0xf919bd['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0xf919bd),_0xf919bd['resultResponseView']['element']['innerHTML']=_0x2f639e['contentDiffed'];}['hideResult'](_0x5774e1,_0x159bef){if('pending'===_0x159bef)return;const _0x48a73d=this['_resultViews']['find'](_0x3a2089=>_0x3a2089['id']===_0x5774e1);_0x48a73d&&(_0x48a73d['status']=_0x159bef,_0x48a73d['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x51fa2d,_0x482c55){if('pending'!==_0x482c55)return;const _0x135f07=this['_resultViews']['find'](_0x47b5db=>_0x47b5db['id']===_0x51fa2d);_0x135f07&&(_0x135f07['status']=_0x482c55,_0x135f07['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x371852,_0x2b8a7a){this['headerTitle']=_0x371852,this['headerSubtitle']=_0x2b8a7a||'';}['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 _0x3bbfbf(this['locale'],_0x3b7502['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x33d309=new _0x33d7b9(this['locale']),_0x515401=[];for(let _0x12f3d8=0x0;_0x12f3d8<0x10;_0x12f3d8++){const _0xc336a6=this['_createSkeletonLoader']();_0xc336a6['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x515401['push'](_0xc336a6);}return _0x33d309['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x51e72e=>!_0x51e72e)]},'children':_0x515401}),_0x33d309;}['_createErrorView'](){const _0x424cd8=new _0x33d7b9(this['locale']),_0x286ed8=new _0x25f5c1(this['locale']),t=this['locale']['t'];return _0x424cd8['delegate']('retryReview')['to'](this),_0x286ed8['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x286ed8['on']('execute',()=>{this['fire']('retryReview');}),_0x424cd8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x9f8c57=>!_0x9f8c57),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2141ea=>'chunk'===_0x2141ea)]},'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',_0x5ad3fc=>'chunk'===_0x5ad3fc)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4af239=>'general'!==_0x4af239)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1426e1=>'chunk'!==_0x1426e1)]},'children':[{'text':_0x5dccb4(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x286ed8]}),_0x424cd8;}['_createCancelButtonView'](){const _0x9f290a=new _0x25f5c1(this['locale']);return _0x9f290a['set']({'label':_0x5dccb4(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x37d0fe}),_0x9f290a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5ca9d6=>_0x5ca9d6),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4c866d=>_0x4c866d)]}}),_0x9f290a['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x9f290a;}['_createToggleDiffButtonView'](){const _0x496e79=new _0x25f5c1(this['locale']);_0x496e79['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x496e79['bind']('isEnabled')['to'](this,'isError',_0x4ddf53=>!_0x4ddf53),_0x496e79['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xb49830=>!_0xb49830),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x535652=>_0x535652)]}});const _0x506b82=_0x5dccb4(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x6ff347=_0x5dccb4(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x496e79['bind']('isOn')['to'](this,'isToggleDiffOn',_0x20cdb7=>_0x20cdb7),_0x496e79['bind']('icon')['to'](this,'isToggleDiffOn',_0x1611cf=>_0x1611cf?_0x202d80:_0xf3d0c6),_0x496e79['bind']('label')['to'](this,'isToggleDiffOn',_0x2ba0c6=>_0x2ba0c6?_0x506b82:_0x6ff347),_0x496e79['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x496e79;}['_createAcceptAllButtonView'](){const _0x3caf1c=new _0x25f5c1(this['locale']);return _0x3caf1c['set']({'label':_0x5dccb4(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3caf1c['bind']('isEnabled')['to'](this,'isError',_0x5d397d=>!_0x5d397d),_0x3caf1c['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4cd97c=>!_0x4cd97c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4360c6=>_0x4360c6)]}}),_0x3caf1c['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3caf1c;}['_createExitReviewButtonView'](){const _0x13168e=new _0x25f5c1(this['locale']);return _0x13168e['set']({'label':_0x5dccb4(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x13168e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3f44c2=>!_0x3f44c2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5c916c=>_0x5c916c)]}}),_0x13168e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x13168e;}['_createResultHeaderView'](){const _0x27ba41=new _0x33d7b9(this['locale']),_0x38922d=this['_createTitleView']();return _0x27ba41['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x510e0d=>_0x510e0d)]},'children':[_0x38922d,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x27ba41;}['_createTitleView'](){const _0x1b3e3f=new _0x33d7b9(this['locale']),_0x2ea372=new _0x2f9104();return _0x2ea372['bind']('isVisible')['to'](this,'isResultReady',_0x431161=>!_0x431161),_0x1b3e3f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2ea372,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x576cbc=>_0x576cbc)]},'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',_0x5e1ab9=>!_0x5e1ab9)]},'children':[{'text':_0x5dccb4(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x1b3e3f;}['_createFinishReviewButtonView'](){const _0x9300cc=new _0x15ae77(_0x5dccb4(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x9300cc['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x209554=>!_0x209554)]}}),_0x9300cc['delegate']('finishReview')['to'](this),_0x9300cc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4fc878=_0x4ac4;(function(_0x23f331,_0x4f82f5){var _0x57afcc=_0x4ac4,_0x4b3f0e=_0x23f331();while(!![]){try{var _0x262ba4=parseInt(_0x57afcc(0x206))/0x1+parseInt(_0x57afcc(0x201))/0x2*(parseInt(_0x57afcc(0x20a))/0x3)+-parseInt(_0x57afcc(0x1f5))/0x4+parseInt(_0x57afcc(0x209))/0x5+-parseInt(_0x57afcc(0x203))/0x6+parseInt(_0x57afcc(0x1f8))/0x7+-parseInt(_0x57afcc(0x204))/0x8;if(_0x262ba4===_0x4f82f5)break;else _0x4b3f0e['push'](_0x4b3f0e['shift']());}catch(_0x3b93a0){_0x4b3f0e['push'](_0x4b3f0e['shift']());}}}(_0x4299,0xe1c6f));function _0x4ac4(_0xb0ea7b,_0x7e048b){var _0x429910=_0x4299();return _0x4ac4=function(_0x4ac455,_0x1fc26a){_0x4ac455=_0x4ac455-0x1df;var _0x38009f=_0x429910[_0x4ac455];return _0x38009f;},_0x4ac4(_0xb0ea7b,_0x7e048b);}import{View as _0x216cf1}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2c7f8d}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x40b7a6}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x216cf1{[_0x4fc878(0x1f4)];[_0x4fc878(0x1e9)];[_0x4fc878(0x20b)];[_0x4fc878(0x1fe)];[_0x4fc878(0x1ef)];constructor(_0x2741e1,_0x430582){var _0x3a526b=_0x4fc878;super(_0x2741e1),this[_0x3a526b(0x1f4)]=_0x430582[_0x3a526b(0x20c)],this[_0x3a526b(0x1e9)]=new _0x40b7a6(_0x2741e1),this[_0x3a526b(0x20b)]=_0x430582[_0x3a526b(0x1e6)],this[_0x3a526b(0x20b)][_0x3a526b(0x205)](..._0x2c7f8d)['to'](this),this[_0x3a526b(0x1fe)]=_0x430582[_0x3a526b(0x1ee)],this[_0x3a526b(0x1fe)][_0x3a526b(0x205)](..._0x2c7f8d)['to'](this),this[_0x3a526b(0x1ef)]=_0x430582[_0x3a526b(0x1f9)],this[_0x3a526b(0x1ef)][_0x3a526b(0x205)](_0x3a526b(0x207))['to'](this),this[_0x3a526b(0x20b)][_0x3a526b(0x1f2)](_0x3a526b(0x1f7),!0x1),this[_0x3a526b(0x1fe)][_0x3a526b(0x1f2)](_0x3a526b(0x1f7),!0x1),this[_0x3a526b(0x1fe)][_0x3a526b(0x1f2)](_0x3a526b(0x1e1),!0x1),this[_0x3a526b(0x1fe)][_0x3a526b(0x1f2)](_0x3a526b(0x1e2),!0x1),this[_0x3a526b(0x1ef)][_0x3a526b(0x1f2)](_0x3a526b(0x1f7),!0x1),this[_0x3a526b(0x1e5)]({'tag':_0x3a526b(0x1eb),'attributes':{'class':['ck',_0x3a526b(0x1e4),_0x3a526b(0x1e8),_0x3a526b(0x200)],'dir':_0x3a526b(0x20d)},'children':[this[_0x3a526b(0x1f4)],this[_0x3a526b(0x1e9)],this[_0x3a526b(0x20b)],this[_0x3a526b(0x1fe)],this[_0x3a526b(0x1ef)]]});}[_0x4fc878(0x208)](){var _0x474e6a=_0x4fc878;this[_0x474e6a(0x20b)][_0x474e6a(0x1e0)](),this[_0x474e6a(0x20b)][_0x474e6a(0x1f2)](_0x474e6a(0x1f7),!0x0),this[_0x474e6a(0x1fe)][_0x474e6a(0x1f2)](_0x474e6a(0x1f7),!0x1),this[_0x474e6a(0x1ef)][_0x474e6a(0x1f2)](_0x474e6a(0x1f7),!0x1);}[_0x4fc878(0x1ed)](){var _0x370362=_0x4fc878;this[_0x370362(0x1f0)](),this[_0x370362(0x1fe)][_0x370362(0x1ff)](),this[_0x370362(0x20b)][_0x370362(0x1f2)](_0x370362(0x1f7),!0x1),this[_0x370362(0x1fe)][_0x370362(0x1f2)](_0x370362(0x1f7),!0x0),this[_0x370362(0x1fe)][_0x370362(0x1ea)](),this[_0x370362(0x1fe)][_0x370362(0x1f2)](_0x370362(0x1e1),!0x0),this[_0x370362(0x1fe)][_0x370362(0x1f2)](_0x370362(0x1fa),!0x1);}[_0x4fc878(0x1fb)](_0xc8de75){var _0x3addf1=_0x4fc878;this[_0x3addf1(0x1fe)][_0x3addf1(0x1df)](_0xc8de75),this[_0x3addf1(0x1fe)][_0x3addf1(0x1f2)](_0x3addf1(0x1e1),!0x1);}[_0x4fc878(0x1fd)](){var _0x18bbef=_0x4fc878;this[_0x18bbef(0x1fe)][_0x18bbef(0x1f2)](_0x18bbef(0x1f7),!0x0),this[_0x18bbef(0x1ef)][_0x18bbef(0x1f2)](_0x18bbef(0x1f7),!0x1),this[_0x18bbef(0x1fe)][_0x18bbef(0x1f2)](_0x18bbef(0x1fa),!0x0),this[_0x18bbef(0x20b)][_0x18bbef(0x1f2)](_0x18bbef(0x1f7),!0x1);}[_0x4fc878(0x1fc)](){var _0x269465=_0x4fc878;this[_0x269465(0x1fe)][_0x269465(0x1e2)]?(this[_0x269465(0x20b)][_0x269465(0x1f2)](_0x269465(0x1f7),!0x1),this[_0x269465(0x1fe)][_0x269465(0x1f2)](_0x269465(0x1f7),!0x0),this[_0x269465(0x1ef)][_0x269465(0x1f2)](_0x269465(0x1f7),!0x1)):this[_0x269465(0x1fe)][_0x269465(0x1e2)]=!0x0;}[_0x4fc878(0x1e7)](){var _0x1ce489=_0x4fc878;this[_0x1ce489(0x20b)][_0x1ce489(0x1f2)](_0x1ce489(0x1f7),!0x1),this[_0x1ce489(0x1fe)][_0x1ce489(0x1f2)](_0x1ce489(0x1f7),!0x1),this[_0x1ce489(0x1ef)][_0x1ce489(0x1f2)](_0x1ce489(0x1f7),!0x0);}[_0x4fc878(0x1f0)](){var _0x21dbaa=_0x4fc878;this[_0x21dbaa(0x1fe)][_0x21dbaa(0x1e2)]=!0x1;}[_0x4fc878(0x202)](_0x319dfd){var _0x52bc7e=_0x4fc878;this[_0x52bc7e(0x1e9)][_0x52bc7e(0x1f2)](_0x52bc7e(0x1f7),!0x0),this[_0x52bc7e(0x1e9)][_0x52bc7e(0x1f3)]=_0x319dfd;}[_0x4fc878(0x1ec)](){var _0x5019fd=_0x4fc878;this[_0x5019fd(0x1fe)][_0x5019fd(0x1f2)](_0x5019fd(0x1e1),!0x1),this[_0x5019fd(0x1fc)](),this[_0x5019fd(0x1fe)][_0x5019fd(0x1e3)]();}[_0x4fc878(0x1f6)](){var _0x104263=_0x4fc878;this[_0x104263(0x1fe)][_0x104263(0x1f2)](_0x104263(0x1e1),!0x1),this[_0x104263(0x1fc)](),this[_0x104263(0x1fe)][_0x104263(0x1f1)]();}}function _0x4299(){var _0x12244d=['set','errorMessage','reviewCoreHeader','1079236xcoVlC','showChunkErrorView','isVisible','11995879mHqjkQ','completed','isCompleted','addCheckRunResult','showActionsWhenResultIsReady','showReviewCompletedView','reviewCheckResultsView','resetErrorState','ck-rounded-corners','6MVHJhx','showGeneralReviewCoreErrorView','9131712UhiTlC','10304792sHhpAK','delegate','1544217uHluNw','finishReview','showReviewCheckListView','3427270vuZIDq','61275NlYNNd','reviewCheckListView','header','ltr','addResult','resetAllParameterizedChecks','isLoading','isResultReady','showGeneralErrorMessage','ck-reset_all','setTemplate','list','showNoChangesView','ck-ai-review','generalErrorView','clearResults','div','showGeneralResultsErrorView','showReviewCheckResultsView','results','reviewCompletedView','hideActionsWhenResultIsReady','showChunkErrorMessage'];_0x4299=function(){return _0x12244d;};return _0x4299();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f0c37=_0x34e6;(function(_0x47a92c,_0x24981d){const _0x21cf21=_0x34e6,_0x201e2f=_0x47a92c();while(!![]){try{const _0xd2d557=-parseInt(_0x21cf21(0x18f))/0x1*(-parseInt(_0x21cf21(0x1ad))/0x2)+-parseInt(_0x21cf21(0x19e))/0x3*(-parseInt(_0x21cf21(0x19a))/0x4)+parseInt(_0x21cf21(0x1a7))/0x5+parseInt(_0x21cf21(0x194))/0x6*(-parseInt(_0x21cf21(0x188))/0x7)+parseInt(_0x21cf21(0x18e))/0x8*(parseInt(_0x21cf21(0x18a))/0x9)+-parseInt(_0x21cf21(0x196))/0xa*(parseInt(_0x21cf21(0x186))/0xb)+parseInt(_0x21cf21(0x193))/0xc;if(_0xd2d557===_0x24981d)break;else _0x201e2f['push'](_0x201e2f['shift']());}catch(_0x3ef1f9){_0x201e2f['push'](_0x201e2f['shift']());}}}(_0x5b1e,0xeed21));import{Collection as _0xe9c13f}from'ckeditor5/src/utils.js';function _0x5b1e(){const _0x5c6185=['isOn','ck-reset_all','div','formValue','add','resetToDefault','bindTemplate','menuitemradio','3646880ksaSfj','default','locale','model','stopPropagation','_defaultLabel','3932XlNtJB','button','bind','buttonView','_prepareListOptions','77lQUncb','ck-ai_review__check-list-item-parameterized-form-element_dropdown','8929767dQnGCz','extendTemplate','6402501WuTOOf','label','listenTo','ck-ai_review__check-list-item-parameterized-form-element','8lCdvHC','76bydAqs','execute','data','menu','7375464isYoRI','6VwTaTt','setTemplate','1557070jAjgpp','source','length','_defaultValue','16yPICPx','set','_dropdownView','find','854277TgErxS'];_0x5b1e=function(){return _0x5c6185;};return _0x5b1e();}import{View as _0x49ffc3,createDropdown as _0x3e17d1,addListToDropdown as _0x4acf0a,UIModel as _0x20d9bf}from'ckeditor5/src/ui.js';function _0x34e6(_0x938cca,_0x4f6c50){const _0x5b1e59=_0x5b1e();return _0x34e6=function(_0x34e6dd,_0x39be72){_0x34e6dd=_0x34e6dd-0x182;let _0x3e4c2c=_0x5b1e59[_0x34e6dd];return _0x3e4c2c;},_0x34e6(_0x938cca,_0x4f6c50);}export class AIReviewCoreFormDropdownView extends _0x49ffc3{[_0x1f0c37(0x19c)];[_0x1f0c37(0x199)];[_0x1f0c37(0x1ac)];constructor(_0x34b1e5,_0x163afc){const _0x41320c=_0x1f0c37;super(_0x34b1e5),this[_0x41320c(0x199)]=_0x163afc[_0x41320c(0x1a8)]||(_0x163afc[_0x41320c(0x191)][_0x41320c(0x198)]>0x0?_0x163afc[_0x41320c(0x191)][0x0]['id']:''),this[_0x41320c(0x1ac)]=_0x163afc[_0x41320c(0x191)][_0x41320c(0x19d)](_0x48aea4=>_0x48aea4['id']===this[_0x41320c(0x199)])?.[_0x41320c(0x18b)]||'',this[_0x41320c(0x19b)](_0x41320c(0x1a2),''),this[_0x41320c(0x19c)]=_0x3e17d1(this[_0x41320c(0x1a9)]);const _0xdfaa22=this[_0x41320c(0x185)](_0x163afc[_0x41320c(0x191)]);_0x4acf0a(this[_0x41320c(0x19c)],_0xdfaa22,{'role':_0x41320c(0x192),'ariaLabel':_0x163afc[_0x41320c(0x18b)]}),this[_0x41320c(0x19c)][_0x41320c(0x184)][_0x41320c(0x19b)]({'label':this[_0x41320c(0x1ac)],'withText':!0x0}),this[_0x41320c(0x19c)][_0x41320c(0x189)]({'on':{'click':this[_0x41320c(0x1a5)]['to'](_0x348791=>{const _0x55294b=_0x41320c;_0x348791[_0x55294b(0x1ab)]();})}}),this[_0x41320c(0x18c)](this[_0x41320c(0x19c)],_0x41320c(0x190),_0x45fc94=>{const _0xfae3ab=_0x41320c;this[_0xfae3ab(0x1a2)]=_0x45fc94[_0xfae3ab(0x197)][_0xfae3ab(0x1aa)]['id'],this[_0xfae3ab(0x19c)][_0xfae3ab(0x184)][_0xfae3ab(0x18b)]=_0x45fc94[_0xfae3ab(0x197)][_0xfae3ab(0x1aa)][_0xfae3ab(0x18b)];}),this[_0x41320c(0x195)]({'tag':_0x41320c(0x1a1),'attributes':{'class':['ck',_0x41320c(0x1a0),_0x41320c(0x18d),_0x41320c(0x187)]},'children':[this[_0x41320c(0x19c)]]});}[_0x1f0c37(0x1a4)](){const _0x2ba5f0=_0x1f0c37;this[_0x2ba5f0(0x1a2)]=this[_0x2ba5f0(0x199)],this[_0x2ba5f0(0x19c)][_0x2ba5f0(0x184)][_0x2ba5f0(0x18b)]=this[_0x2ba5f0(0x1ac)];}[_0x1f0c37(0x185)](_0x125502=[]){const _0x5be8ab=_0x1f0c37,_0x29086b=new _0xe9c13f();this[_0x5be8ab(0x1a4)]();for(const _0x9fe663 of _0x125502){const _0x14d225=new _0x20d9bf({'label':_0x9fe663[_0x5be8ab(0x18b)],'withText':!0x0,'role':_0x5be8ab(0x1a6),'id':_0x9fe663['id'],'model':_0x9fe663});_0x14d225[_0x5be8ab(0x183)](_0x5be8ab(0x19f))['to'](this,_0x5be8ab(0x1a2),_0x5e4963=>_0x5e4963===_0x14d225['id']);const _0x490e41={'type':_0x5be8ab(0x182),'model':_0x14d225};_0x29086b[_0x5be8ab(0x1a3)](_0x490e41);}return _0x29086b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18842b=_0x447c;(function(_0x419fed,_0x7435d){const _0x2ae518=_0x447c,_0xae3c6f=_0x419fed();while(!![]){try{const _0x524f0a=parseInt(_0x2ae518(0x192))/0x1+parseInt(_0x2ae518(0x184))/0x2*(parseInt(_0x2ae518(0x189))/0x3)+parseInt(_0x2ae518(0x18f))/0x4+parseInt(_0x2ae518(0x18d))/0x5+-parseInt(_0x2ae518(0x185))/0x6*(-parseInt(_0x2ae518(0x193))/0x7)+-parseInt(_0x2ae518(0x190))/0x8+-parseInt(_0x2ae518(0x18e))/0x9;if(_0x524f0a===_0x7435d)break;else _0xae3c6f['push'](_0xae3c6f['shift']());}catch(_0x35f96e){_0xae3c6f['push'](_0xae3c6f['shift']());}}}(_0x582c,0xcd76e));import{FormRowView as _0x5c08b4,ListItemView as _0x54b39b}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x1ce332}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x54b39b{[_0x18842b(0x196)]=null;constructor(_0x53bf25,_0x56b7a2,_0x382a0f){const _0x381e26=_0x18842b;super(_0x53bf25),this[_0x381e26(0x197)]=_0x56b7a2?.[_0x381e26(0x197)];if(_0x381e26(0x183)===_0x56b7a2[_0x381e26(0x182)])this[_0x381e26(0x196)]=new _0x1ce332(this[_0x381e26(0x180)],_0x56b7a2);this[_0x381e26(0x194)](_0x381e26(0x18a),''),this[_0x381e26(0x188)](_0x381e26(0x18a))['to'](this[_0x381e26(0x196)],_0x381e26(0x199));const _0x5a3881=new _0x5c08b4(this[_0x381e26(0x180)],{'children':[this[_0x381e26(0x196)]],'class':[_0x382a0f?_0x381e26(0x198):'']});_0x382a0f&&_0x5a3881[_0x381e26(0x191)][_0x381e26(0x187)](_0x382a0f),this[_0x381e26(0x181)]({'tag':_0x381e26(0x18c),'attributes':{'class':['ck',_0x381e26(0x18b),_0x381e26(0x195)]},'children':[_0x5a3881]});}[_0x18842b(0x186)](){const _0x430f4a=_0x18842b;this[_0x430f4a(0x196)][_0x430f4a(0x186)]();}}function _0x447c(_0x2e8dba,_0x595cf4){const _0x582ce3=_0x582c();return _0x447c=function(_0x447c80,_0x3347ed){_0x447c80=_0x447c80-0x180;let _0x40067d=_0x582ce3[_0x447c80];return _0x40067d;},_0x447c(_0x2e8dba,_0x595cf4);}function _0x582c(){const _0x1a3dd3=['ck-ai_review__form-item','div','4893450VaCXZQ','24276753ZtehmY','4799480bTRvUo','4892024WxoBsB','children','1410320NCYKTq','57029ZwcENS','set','ck-reset_all','_formItem','argsKey','ck-form__row_with-submit','formValue','locale','setTemplate','formType','dropdown','434cdHfga','222SygUFw','resetToDefault','add','bind','3597yswwlc','value'];_0x582c=function(){return _0x1a3dd3;};return _0x582c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b539f=_0x1a0d;(function(_0x4e84a3,_0x109c9c){const _0x350c4c=_0x1a0d,_0x52eed3=_0x4e84a3();while(!![]){try{const _0x37236a=-parseInt(_0x350c4c(0x1e1))/0x1*(-parseInt(_0x350c4c(0x1e4))/0x2)+parseInt(_0x350c4c(0x1da))/0x3+-parseInt(_0x350c4c(0x1c3))/0x4*(parseInt(_0x350c4c(0x1be))/0x5)+parseInt(_0x350c4c(0x1d6))/0x6+-parseInt(_0x350c4c(0x1ce))/0x7*(parseInt(_0x350c4c(0x1df))/0x8)+-parseInt(_0x350c4c(0x1e0))/0x9*(parseInt(_0x350c4c(0x1ca))/0xa)+parseInt(_0x350c4c(0x1e5))/0xb;if(_0x37236a===_0x109c9c)break;else _0x52eed3['push'](_0x52eed3['shift']());}catch(_0x1075ac){_0x52eed3['push'](_0x52eed3['shift']());}}}(_0x1111,0x7d8d0));export const AI_REVIEW_CHECKS=[{'id':_0x4b539f(0x1e2),'commandId':_0x4b539f(0x1e2),'title':_0x4b539f(0x1de),'description':_0x4b539f(0x1d4),'isParameterized':!0x0},{'id':_0x4b539f(0x1c7),'commandId':_0x4b539f(0x1c7),'title':_0x4b539f(0x1bd),'description':_0x4b539f(0x1c1),'isParameterized':!0x1},{'id':_0x4b539f(0x1dd),'commandId':_0x4b539f(0x1dd),'title':_0x4b539f(0x1e7),'description':_0x4b539f(0x1cf),'isParameterized':!0x1},{'id':_0x4b539f(0x1e6),'commandId':_0x4b539f(0x1e6),'title':_0x4b539f(0x1e3),'description':_0x4b539f(0x1d1),'isParameterized':!0x1},{'id':_0x4b539f(0x1cd),'commandId':_0x4b539f(0x1bc),'title':_0x4b539f(0x1c4),'description':_0x4b539f(0x1d8),'isParameterized':!0x0,'options':[{'formType':_0x4b539f(0x1d2),'label':_0x4b539f(0x1c4),'default':_0x4b539f(0x1d0),'data':[{'label':_0x4b539f(0x1bf),'id':_0x4b539f(0x1d0)},{'label':_0x4b539f(0x1e8),'id':_0x4b539f(0x1c2)}]}]},{'id':_0x4b539f(0x1d5),'commandId':_0x4b539f(0x1c8),'title':_0x4b539f(0x1c6),'description':_0x4b539f(0x1d3),'isParameterized':!0x0,'options':[{'formType':_0x4b539f(0x1d2),'label':_0x4b539f(0x1c6),'default':_0x4b539f(0x1bb),'data':[{'label':_0x4b539f(0x1c0),'id':_0x4b539f(0x1bb)},{'label':_0x4b539f(0x1cc),'id':_0x4b539f(0x1cb)},{'label':_0x4b539f(0x1c9),'id':_0x4b539f(0x1c5)},{'label':_0x4b539f(0x1dc),'id':_0x4b539f(0x1d7)},{'label':_0x4b539f(0x1db),'id':_0x4b539f(0x1d9)}]}]}];function _0x1a0d(_0x3671ab,_0x238294){const _0x11110e=_0x1111();return _0x1a0d=function(_0x1a0d90,_0xdee41d){_0x1a0d90=_0x1a0d90-0x1bb;let _0x441267=_0x11110e[_0x1a0d90];return _0x441267;},_0x1a0d(_0x3671ab,_0x238294);}function _0x1111(){const _0x3d8968=['Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','professional','2927958vRFcTx','Professional','Confident','clarity','Custom\x20command','72RnPgWE','639QMJTQD','114REyHpJ','custom','Readability','6668altwPg','4850527EogfXE','readability','Clarity','Shorter','casual','make','Correctness','205vuxcgu','Longer','Casual','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','shorter','88304Zlhicm','Adjust\x20length','friendly','Adjust\x20tone\x20and\x20style','correctness','make-tone','Friendly','36690YWIvzq','direct','Direct','length','236866yacTNy','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','longer','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','dropdown','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','tone','1124364ZoFTTm','confident'];_0x1111=function(){return _0x3d8968;};return _0x1111();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x332b(_0x57bd4b,_0x589021){var _0x46a636=_0x46a6();return _0x332b=function(_0x332bf8,_0x3b1b25){_0x332bf8=_0x332bf8-0x1ee;var _0x5bd592=_0x46a636[_0x332bf8];return _0x5bd592;},_0x332b(_0x57bd4b,_0x589021);}var _0x3a36f8=_0x332b;(function(_0x336cac,_0x5c7105){var _0x1ad1e1=_0x332b,_0x23924f=_0x336cac();while(!![]){try{var _0x32dd6f=-parseInt(_0x1ad1e1(0x1f1))/0x1+-parseInt(_0x1ad1e1(0x1f0))/0x2*(-parseInt(_0x1ad1e1(0x1f8))/0x3)+parseInt(_0x1ad1e1(0x1f2))/0x4+-parseInt(_0x1ad1e1(0x1fb))/0x5+-parseInt(_0x1ad1e1(0x1fa))/0x6+parseInt(_0x1ad1e1(0x1f9))/0x7*(-parseInt(_0x1ad1e1(0x1f7))/0x8)+parseInt(_0x1ad1e1(0x1f6))/0x9;if(_0x32dd6f===_0x5c7105)break;else _0x23924f['push'](_0x23924f['shift']());}catch(_0x3c562a){_0x23924f['push'](_0x23924f['shift']());}}}(_0x46a6,0xc76f7));import{ContextPlugin as _0x553751}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x42ebc7}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x5c9df1}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0xc5d633}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x553751{static get[_0x3a36f8(0x1ef)](){return[_0xc5d633,_0x42ebc7,_0x5c9df1];}static get[_0x3a36f8(0x1ee)](){var _0x2bc97a=_0x3a36f8;return _0x2bc97a(0x1f5);}static get[_0x3a36f8(0x1f3)](){return!0x0;}static get[_0x3a36f8(0x1f4)](){return!0x0;}}function _0x46a6(){var _0x51e5b5=['8369070ZCWVnG','6622885AGHjsM','pluginName','requires','434222gjWOuZ','244443bueISu','5845748DlXkjE','isOfficialPlugin','isPremiumPlugin','AIReviewMode','24153417HAqlze','4652072UWcqvT','3BXujBs','7ItUIJk'];_0x46a6=function(){return _0x51e5b5;};return _0x46a6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x25c3(){const _0x71c137=['model','defaultModel','_onChangeMarkerHovered','define','checks','origin','title','_hasDefaultAvailableCommands','_onChangeMarkerClicked','_aiReviewCoreUi','params','balloon','ai.review.availableCommands','getRoot','778245fXPmHd','markChangePositionInEditorContent','AIReviewModeUI','forEach','_onChangeMarkerBlurred','_onActivateChange','AIReviewModeController','isExtra','_aiReviewCoreEditing','_diffContent','init','getMarkerElementForChange','ck-ai_review-diff','join','getDocumentData','7797936IlVjLg','editing','_onDiffChange','_getTranslationWithDefault','locale','3954384ZTfZLI','515ZtWxLy','diffContent','changeId','toggleDiff','_getModels','uiInteraction','resetActiveStateInResults','view','isAnyChangeActivated','context','_logError','find','label','listenTo','options','hideChangeBalloon','_onReviewCheckRun','args','getAll','all','ck-ai_review-highlights','_logErrorForNonExistentChecks','hideDiffInBalloon','ai-review-mode-non-existent-commands-used','_currentReviewCheckRun','_TITLE','57212yqMcTk','config','_isDiffOn','_filterChecksWithMissingModel','_getChecksList','12PJSsMT','showChangeBalloon','_markChangePositionInEditorContent','default','1288uLzZjv','1676bnHWhC','description','_onReviewCheckResultActivated','panel','custom','ai.review.extraCommands','getClassNames','markerElement','isCustom','startsWith','replaceAll','_scrollToChange','_changeActivationSource','_getExtraChecks','activateChange','push','ck-ai_review-','_DESCRIPTION','some','click','hover','domEvent','viewportOffset','_createReviewCheckRun','get','deactivateChange','AIReviewCoreEditing','_OPTIONS_LABEL','data','_getChangeContentElement','getChangeById','removeClass','getDomRoot','getElement','setActiveStateInResults','document','setAllMarkersAsInactive','length','_aiConnector','setupChecks','getEditor','13613648BhXuGm','models','change','getDefault','filter','41125535nXOPNC','prompt','ai-review-mode-command-unavailable-due-to-missing-model','recommended','ai.models','getAvailableModels','showDiffInBalloon','removeCheckById','pluginName','_initRequiredPlugins','_OPTIONS_DATA_','map','plugins','10UvMIMw','addClass','setMarkersInElementAsActive','content','_onDeactivateChange','_translateReviewCheck','ai-review-mode-models-unable-to-retrieve','_onReviewCheckResultDeactivated','7rlPvCG','AI_REVIEW_CHECK_','toUpperCase'];_0x25c3=function(){return _0x71c137;};return _0x25c3();}const _0x3485ef=_0xde98;(function(_0x1f066c,_0x102299){const _0x2a6005=_0xde98,_0x668501=_0x1f066c();while(!![]){try{const _0x5ea066=parseInt(_0x2a6005(0x150))/0x1*(-parseInt(_0x2a6005(0x151))/0x2)+parseInt(_0x2a6005(0x118))/0x3+-parseInt(_0x2a6005(0x147))/0x4*(-parseInt(_0x2a6005(0x12d))/0x5)+-parseInt(_0x2a6005(0x127))/0x6+parseInt(_0x2a6005(0x107))/0x7*(-parseInt(_0x2a6005(0xed))/0x8)+-parseInt(_0x2a6005(0x12c))/0x9*(parseInt(_0x2a6005(0xff))/0xa)+parseInt(_0x2a6005(0xf2))/0xb*(parseInt(_0x2a6005(0x14c))/0xc);if(_0x5ea066===_0x102299)break;else _0x668501['push'](_0x668501['shift']());}catch(_0x2695e7){_0x668501['push'](_0x668501['shift']());}}}(_0x25c3,0xe83bb));import{CKEditorError as _0x5449af}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x29f136}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x34249f}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x391528}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x2682d4}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0xc043ce}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x3b8bf8}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x520471}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x3c81ce}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x65c804}from'./model/aireviewextracheckrun.js';function _0xde98(_0x2127a0,_0xc50a8){const _0x25c366=_0x25c3();return _0xde98=function(_0xde9872,_0x3344d5){_0xde9872=_0xde9872-0xe3;let _0x354671=_0x25c366[_0xde9872];return _0x354671;},_0xde98(_0x2127a0,_0xc50a8);}export class AIReviewModeController extends _0x29f136{static get[_0x3485ef(0xfa)](){const _0x1a4eb2=_0x3485ef;return _0x1a4eb2(0x11e);}[_0x3485ef(0x149)]=!0x1;[_0x3485ef(0x111)]=!0x1;constructor(_0x95e9ad){const _0x4e8005=_0x3485ef;super(_0x95e9ad),this[_0x4e8005(0x111)]=!this[_0x4e8005(0x136)][_0x4e8005(0x148)][_0x4e8005(0x169)](_0x4e8005(0x116)),this[_0x4e8005(0x136)][_0x4e8005(0x148)][_0x4e8005(0x10d)](_0x4e8005(0x116),_0x34249f[_0x4e8005(0xfd)](_0x158ed9=>_0x158ed9['id'])),this[_0x4e8005(0x136)][_0x4e8005(0x148)][_0x4e8005(0x10d)](_0x4e8005(0x156),[]);}async[_0x3485ef(0x122)](){const _0x60b368=_0x3485ef;await super[_0x60b368(0x122)](),this[_0x60b368(0x13a)](this[_0x60b368(0x113)],_0x60b368(0x130),(_0x1d296d,_0x208ae7)=>{const _0x5575fc=_0x60b368;this[_0x5575fc(0x149)]=_0x208ae7['on'],this[_0x5575fc(0x129)](this[_0x5575fc(0x149)]);});}[_0x3485ef(0xfb)](){const _0x5ac45c=_0x3485ef;super[_0x5ac45c(0xfb)](),this[_0x5ac45c(0x113)]=this[_0x5ac45c(0x136)][_0x5ac45c(0xfe)][_0x5ac45c(0x169)](_0x5ac45c(0x11a)),this[_0x5ac45c(0x120)]=this[_0x5ac45c(0x136)][_0x5ac45c(0xfe)][_0x5ac45c(0x169)](_0x5ac45c(0x16b));}[_0x3485ef(0x168)](_0x53d448,_0x512a57){const _0x14e941=_0x3485ef;return _0x53d448[_0x14e941(0x159)]?new _0x2682d4(_0x53d448[_0x14e941(0x13e)][_0x14e941(0xf3)],_0x53d448[_0x14e941(0x13e)][_0x14e941(0x10a)],this[_0x14e941(0x120)][_0x14e941(0x126)](),_0x512a57,this[_0x14e941(0xea)]):_0x512a57[_0x14e941(0x11f)]?new _0x65c804(_0x512a57[_0x14e941(0xf3)],_0x512a57[_0x14e941(0x10b)]['id'],this[_0x14e941(0x120)][_0x14e941(0x126)](),_0x512a57,this[_0x14e941(0xea)]):new _0xc043ce(this[_0x14e941(0x120)][_0x14e941(0x126)](),_0x512a57,this[_0x14e941(0xea)],_0x53d448[_0x14e941(0x114)],_0x53d448[_0x14e941(0x13e)]);}[_0x3485ef(0x153)](_0x189f0d){const _0x4aafea=_0x3485ef;this[_0x4aafea(0x113)][_0x4aafea(0xe6)](_0x189f0d[_0x4aafea(0xef)]['id']),this[_0x4aafea(0x15c)](_0x189f0d[_0x4aafea(0xef)]['id']);const _0x528b60=this[_0x4aafea(0x120)][_0x4aafea(0x123)](_0x189f0d[_0x4aafea(0xef)]['id']);if(!_0x528b60)return;const _0xc0ac22=this[_0x4aafea(0x120)][_0x4aafea(0xec)]();this[_0x4aafea(0x113)][_0x4aafea(0x14d)](_0x189f0d[_0x4aafea(0xef)],()=>_0x528b60[_0x4aafea(0xe5)](),void 0x0,_0x4aafea(0x164),_0xc0ac22?.[_0x4aafea(0x128)]?.[_0x4aafea(0x134)]?.[_0x4aafea(0xe4)](),_0xc0ac22?.['ui']?.[_0x4aafea(0x167)]),this[_0x4aafea(0x120)][_0x4aafea(0x101)](_0x189f0d[_0x4aafea(0xef)]['id']);}[_0x3485ef(0x106)](){const _0x7d111e=_0x3485ef;this[_0x7d111e(0x113)][_0x7d111e(0x133)](),this[_0x7d111e(0x113)][_0x7d111e(0x13c)](),this[_0x7d111e(0x120)][_0x7d111e(0xe8)]();}[_0x3485ef(0x11d)](_0xaf6a01){const _0x1d0bb0=_0x3485ef;this[_0x1d0bb0(0x145)]&&_0x1d0bb0(0x164)===_0xaf6a01[_0x1d0bb0(0x132)]&&(this[_0x1d0bb0(0x15d)]=_0x1d0bb0(0x154),this[_0x1d0bb0(0x145)][_0x1d0bb0(0x15f)](_0xaf6a01['id']));}[_0x3485ef(0x103)](_0x51b86a){const _0x21c9f0=_0x3485ef;this[_0x21c9f0(0x145)]&&_0x21c9f0(0x115)===_0x51b86a[_0x21c9f0(0x10f)]&&this[_0x21c9f0(0x145)][_0x21c9f0(0x16a)]();}[_0x3485ef(0x112)](_0x2c5a5f,_0x15b361){const _0x3ab7dd=_0x3485ef;if(!this[_0x3ab7dd(0x145)])return;this[_0x3ab7dd(0x15d)]=_0x3ab7dd(0x102),this[_0x3ab7dd(0x145)][_0x3ab7dd(0x15f)](_0x15b361[_0x3ab7dd(0x12f)]);const _0x57d570=this[_0x3ab7dd(0x145)][_0x3ab7dd(0x16f)](_0x15b361[_0x3ab7dd(0x12f)]);if(!_0x57d570)return;const _0x379126=this[_0x3ab7dd(0x120)][_0x3ab7dd(0xec)]();this[_0x3ab7dd(0x113)][_0x3ab7dd(0x14d)](_0x57d570,_0x15b361[_0x3ab7dd(0x158)],_0x15b361[_0x3ab7dd(0x166)],_0x3ab7dd(0x164),_0x379126?.[_0x3ab7dd(0x128)]?.[_0x3ab7dd(0x134)]?.[_0x3ab7dd(0xe4)](),_0x379126?.['ui']?.[_0x3ab7dd(0x167)]);}[_0x3485ef(0x10c)](_0x31fbe4,_0x4c351b){const _0x3e5035=_0x3485ef;if(!this[_0x3e5035(0x145)])return;if(this[_0x3e5035(0x145)][_0x3e5035(0x135)]())return;const _0x2b56de=this[_0x3e5035(0x145)][_0x3e5035(0x16f)](_0x4c351b[_0x3e5035(0x12f)]);if(!_0x2b56de)return;const _0x199434=this[_0x3e5035(0x120)][_0x3e5035(0xec)]();this[_0x3e5035(0x113)][_0x3e5035(0x14d)](_0x2b56de,_0x4c351b[_0x3e5035(0x158)],_0x4c351b[_0x3e5035(0x166)],_0x3e5035(0x165),_0x199434?.[_0x3e5035(0x128)]?.[_0x3e5035(0x134)]?.[_0x3e5035(0xe4)](),_0x199434?.['ui']?.[_0x3e5035(0x167)]);}[_0x3485ef(0x11c)](){const _0x221de6=_0x3485ef;if(!this[_0x221de6(0x145)])return;this[_0x221de6(0x145)][_0x221de6(0x135)]()||this[_0x221de6(0x113)][_0x221de6(0x13c)]();}[_0x3485ef(0x16e)](_0x19ba63){const _0x144e6d=_0x3485ef,_0x1b0281=this[_0x144e6d(0x120)][_0x144e6d(0x123)](_0x19ba63);return _0x1b0281?_0x1b0281[_0x144e6d(0xe5)]():null;}[_0x3485ef(0x14e)](_0xb7ff61,_0x43e4f8){const _0x573488=_0x3485ef;this[_0x573488(0x120)][_0x573488(0x119)](_0xb7ff61,_0x43e4f8);}[_0x3485ef(0x121)](_0x5cd236,_0x248f5e){const _0x5a4e22=_0x3485ef;return this[_0x5a4e22(0x120)][_0x5a4e22(0x12e)](_0x5cd236,_0x248f5e);}[_0x3485ef(0x13d)](){const _0x281dc6=_0x3485ef;this[_0x281dc6(0x129)](this[_0x281dc6(0x149)]);}[_0x3485ef(0x129)](_0x428563){const _0x5ec143=_0x3485ef,_0xaf401f=this[_0x5ec143(0x120)][_0x5ec143(0xec)]();_0x428563?this[_0x5ec143(0x113)][_0x5ec143(0x143)]():this[_0x5ec143(0x113)][_0x5ec143(0xf8)](),_0xaf401f&&_0xaf401f[_0x5ec143(0x128)][_0x5ec143(0x134)][_0x5ec143(0xef)](_0xa83f2d=>{const _0x12ff5d=_0x5ec143,_0x3b49ae=_0xaf401f[_0x12ff5d(0x128)][_0x12ff5d(0x134)][_0x12ff5d(0xe7)][_0x12ff5d(0x117)]();for(const _0x4b6c1a of _0x3b49ae[_0x12ff5d(0x157)]())_0x4b6c1a[_0x12ff5d(0x15a)](_0x12ff5d(0x161))&&_0xa83f2d[_0x12ff5d(0xe3)](_0x4b6c1a,_0x3b49ae);_0xa83f2d[_0x12ff5d(0x100)](_0x428563?_0x12ff5d(0x124):_0x12ff5d(0x141),_0x3b49ae);});}async[_0x3485ef(0x14b)](){const _0x4dc737=_0x3485ef,_0x5236b7=[..._0x34249f,...this[_0x4dc737(0x15e)]()],_0x1e429d=this[_0x4dc737(0x136)][_0x4dc737(0x148)][_0x4dc737(0x169)](_0x4dc737(0x116))||[];this[_0x4dc737(0x142)](_0x1e429d,_0x5236b7);let _0x152ab6=_0x5236b7;this[_0x4dc737(0x111)]||(_0x152ab6=_0x1e429d[_0x4dc737(0xfd)](_0x50c4a0=>_0x5236b7[_0x4dc737(0x138)](_0x4ce1a8=>_0x4ce1a8['id']===_0x50c4a0))[_0x4dc737(0xf1)](_0x4db2f3=>!!_0x4db2f3)),_0x152ab6=_0x152ab6[_0x4dc737(0xfd)](_0x4cf62b=>_0x4cf62b[_0x4dc737(0x11f)]?_0x4cf62b:this[_0x4dc737(0x104)](_0x4cf62b));const _0x11868f=_0x152ab6[_0x4dc737(0x163)](_0xc9d086=>_0xc9d086[_0x4dc737(0x11f)]||_0x4dc737(0x155)===_0xc9d086['id']);let _0x2f1168=[],_0x547771=[],_0x272a64=null;if(_0x11868f){const _0x315051=await this[_0x4dc737(0x131)]();_0x2f1168=_0x315051[_0x4dc737(0x140)],_0x547771=_0x315051[_0x4dc737(0xf5)],_0x272a64=_0x315051[_0x4dc737(0x14f)];}const _0x6e1dd8=new _0x391528(_0x2f1168,_0x547771,_0x272a64);return _0x6e1dd8[_0x4dc737(0xeb)](_0x152ab6),_0x11868f&&this[_0x4dc737(0x14a)](_0x6e1dd8),_0x6e1dd8;}[_0x3485ef(0x15e)](){const _0x34293e=_0x3485ef;return(this[_0x34293e(0x136)][_0x34293e(0x148)][_0x34293e(0x169)](_0x34293e(0x156))||[])[_0x34293e(0xfd)](_0x379b80=>({'id':_0x379b80['id'],'commandId':_0x379b80['id'],'title':_0x379b80[_0x34293e(0x139)],'description':_0x379b80[_0x34293e(0x152)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x379b80[_0x34293e(0xf3)],'model':_0x379b80[_0x34293e(0x10a)]}));}[_0x3485ef(0x142)](_0x17ae96,_0x3dfd54){const _0x2a573d=_0x3485ef,_0x39c1cd=_0x17ae96[_0x2a573d(0xf1)](_0x46d43a=>!_0x3dfd54[_0x2a573d(0x163)](_0x15c66a=>_0x15c66a['id']===_0x46d43a));_0x39c1cd[_0x2a573d(0xe9)]&&this[_0x2a573d(0x137)](new _0x5449af(_0x2a573d(0x144),this,{'commandIds':_0x39c1cd[_0x2a573d(0x125)](',\x20')}),!0x0);}async[_0x3485ef(0x131)](){const _0x4693f0=_0x3485ef;try{const _0x17050b=new _0x3b8bf8({'connector':this[_0x4693f0(0xea)],'config':this[_0x4693f0(0x136)][_0x4693f0(0x148)][_0x4693f0(0x169)](_0x4693f0(0xf6)),'locale':this[_0x4693f0(0x136)][_0x4693f0(0x12b)]});return{'all':await _0x17050b[_0x4693f0(0x13f)](),'recommended':await _0x17050b[_0x4693f0(0xf7)](),'default':await _0x17050b[_0x4693f0(0xf0)]()};}catch(_0xc768d){return this[_0x4693f0(0x137)](new _0x5449af(_0x4693f0(0x105),this,void 0x0,_0xc768d)),{'all':[],'recommended':[],'default':null};}}[_0x3485ef(0x104)](_0x347bcc){const _0x3a8d34=_0x3485ef,_0x4f37c1=_0x3a8d34(0x108)+_0x347bcc['id'][_0x3a8d34(0x109)]()[_0x3a8d34(0x15b)]('-','_'),_0x1e75b5={..._0x347bcc,'title':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0x146),_0x347bcc[_0x3a8d34(0x110)]),'description':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0x162),_0x347bcc[_0x3a8d34(0x152)])};return _0x347bcc[_0x3a8d34(0x13b)]&&(_0x1e75b5[_0x3a8d34(0x13b)]=_0x347bcc[_0x3a8d34(0x13b)][_0x3a8d34(0xfd)](_0x2e30ae=>({..._0x2e30ae,'label':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0x16c),_0x2e30ae[_0x3a8d34(0x139)]||''),'data':_0x2e30ae[_0x3a8d34(0x16d)]?_0x2e30ae[_0x3a8d34(0x16d)][_0x3a8d34(0xfd)](_0x4aff37=>({..._0x4aff37,'label':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0xfc)+_0x4aff37['id'][_0x3a8d34(0x109)](),_0x4aff37[_0x3a8d34(0x139)])})):void 0x0}))),_0x1e75b5;}[_0x3485ef(0x14a)](_0x28ed3f){const _0x183ac6=_0x3485ef,_0x1eefe0=[];_0x28ed3f[_0x183ac6(0x10e)][_0x183ac6(0x11b)](_0x2ccc36=>{const _0x5ec0dd=_0x183ac6;(_0x2ccc36 instanceof _0x3c81ce&&!_0x2ccc36[_0x5ec0dd(0x10b)]||_0x2ccc36 instanceof _0x520471&&!_0x2ccc36[_0x5ec0dd(0xee)][_0x5ec0dd(0xe9)])&&_0x1eefe0[_0x5ec0dd(0x160)](_0x2ccc36['id']);}),_0x1eefe0[_0x183ac6(0xe9)]&&_0x1eefe0[_0x183ac6(0x11b)](_0x4fad98=>{const _0x2240db=_0x183ac6;_0x28ed3f[_0x2240db(0xf9)](_0x4fad98),this[_0x2240db(0x137)](new _0x5449af(_0x2240db(0xf4),this,{'commandId':_0x4fad98}),!0x0);});}}
|
|
23
|
+
const _0x1a8dde=_0x5047;(function(_0x2e1524,_0xba4e1a){const _0x167515=_0x5047,_0x12a04d=_0x2e1524();while(!![]){try{const _0x140b35=-parseInt(_0x167515(0x265))/0x1*(parseInt(_0x167515(0x25e))/0x2)+-parseInt(_0x167515(0x1f6))/0x3*(-parseInt(_0x167515(0x25d))/0x4)+-parseInt(_0x167515(0x207))/0x5*(-parseInt(_0x167515(0x234))/0x6)+parseInt(_0x167515(0x26a))/0x7+parseInt(_0x167515(0x20f))/0x8+-parseInt(_0x167515(0x1fe))/0x9*(parseInt(_0x167515(0x201))/0xa)+parseInt(_0x167515(0x1ee))/0xb;if(_0x140b35===_0xba4e1a)break;else _0x12a04d['push'](_0x12a04d['shift']());}catch(_0x14f6e7){_0x12a04d['push'](_0x12a04d['shift']());}}}(_0xf644,0x2885d));import{CKEditorError as _0x1dca15}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x2c6d58}from'../aireviewcore/aireviewcorecontroller.js';function _0xf644(){const _0x144301=['description','recommended','removeClass','view','27XynijZ','prompt','join','802030RQBhzt','get','context','options','hideDiffInBalloon','all','10xbhMUP','_diffContent','showChangeBalloon','isCustom','_currentReviewCheckRun','getClassNames','ck-ai_review-','changeId','684584cRFyNY','ai.models','balloon','ai-review-mode-command-unavailable-due-to-missing-model','toUpperCase','domEvent','_aiConnector','pluginName','defaultModel','params','_changeActivationSource','_logError','ai.review.extraCommands','ai.review.availableCommands','_translateReviewCheck','diffContent','getElement','models','deactivateChange','getChangeById','_logErrorForNonExistentChecks','AIReviewCoreEditing','content','resetActiveStateInResults','removeCheckById','AIReviewModeController','checks','getAvailableModels','getRoot','getEditor','label','args','getAll','document','init','_onChangeMarkerClicked','activateChange','509172nOquNU','markChangePositionInEditorContent','_isDiffOn','title','_hasDefaultAvailableCommands','isAnyChangeActivated','showDiffInBalloon','hideChangeBalloon','replaceAll','_getChangeContentElement','push','define','_OPTIONS_DATA_','getDomRoot','AI_REVIEW_CHECK_','_onChangeMarkerHovered','_getExtraChecks','viewportOffset','_TITLE','locale','_aiReviewCoreEditing','listenTo','panel','_onDiffChange','default','isExtra','toggleDiff','_onActivateChange','_initRequiredPlugins','model','_getModels','_scrollToChange','click','setAllMarkersAsInactive','_aiReviewCoreUi','getDefault','ai-review-mode-models-unable-to-retrieve','setMarkersInElementAsActive','_onReviewCheckResultDeactivated','custom','markerElement','4kQLpTP','608390cTqQDw','data','_filterChecksWithMissingModel','_OPTIONS_LABEL','_onReviewCheckResultActivated','setupChecks','uiInteraction','1PMITnV','some','ck-ai_review-diff','_onReviewCheckRun','_markChangePositionInEditorContent','415387nhrFWr','_getChecksList','_DESCRIPTION','filter','AIReviewModeUI','_getTranslationWithDefault','editing','setActiveStateInResults','find','config','forEach','getDocumentData','map','origin','length','_onDeactivateChange','2189363ooAxuV','addClass','getMarkerElementForChange','_onChangeMarkerBlurred','startsWith','_createReviewCheckRun','ck-ai_review-highlights','hover','591342UOYiWv','change','ai-review-mode-non-existent-commands-used','plugins'];_0xf644=function(){return _0x144301;};return _0xf644();}import{AI_REVIEW_CHECKS as _0x13ff0f}from'./aireviewcheckdefinitions.js';function _0x5047(_0x42db4a,_0x1024c2){const _0xf64464=_0xf644();return _0x5047=function(_0x504787,_0x3a5c80){_0x504787=_0x504787-0x1e2;let _0x238ad6=_0xf64464[_0x504787];return _0x238ad6;},_0x5047(_0x42db4a,_0x1024c2);}import{AIReviewModeCheckList as _0x2d8cac}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x58c6bb}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0xb917f}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x393bcc}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x6ee664}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x4ad6ab}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x4a08dd}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x2c6d58{static get[_0x1a8dde(0x216)](){const _0x176f35=_0x1a8dde;return _0x176f35(0x228);}[_0x1a8dde(0x236)]=!0x1;[_0x1a8dde(0x238)]=!0x1;constructor(_0x141ee1){const _0x1d39d6=_0x1a8dde;super(_0x141ee1),this[_0x1d39d6(0x238)]=!this[_0x1d39d6(0x203)][_0x1d39d6(0x1e7)][_0x1d39d6(0x202)](_0x1d39d6(0x21c)),this[_0x1d39d6(0x203)][_0x1d39d6(0x1e7)][_0x1d39d6(0x23f)](_0x1d39d6(0x21c),_0x13ff0f[_0x1d39d6(0x1ea)](_0x37b4eb=>_0x37b4eb['id'])),this[_0x1d39d6(0x203)][_0x1d39d6(0x1e7)][_0x1d39d6(0x23f)](_0x1d39d6(0x21b),[]);}async[_0x1a8dde(0x231)](){const _0x2f5a39=_0x1a8dde;await super[_0x2f5a39(0x231)](),this[_0x2f5a39(0x249)](this[_0x2f5a39(0x256)],_0x2f5a39(0x24e),(_0x502f52,_0x2a27de)=>{const _0x5e90c1=_0x2f5a39;this[_0x5e90c1(0x236)]=_0x2a27de['on'],this[_0x5e90c1(0x24b)](this[_0x5e90c1(0x236)]);});}[_0x1a8dde(0x250)](){const _0x3ec085=_0x1a8dde;super[_0x3ec085(0x250)](),this[_0x3ec085(0x256)]=this[_0x3ec085(0x203)][_0x3ec085(0x1f9)][_0x3ec085(0x202)](_0x3ec085(0x1e2)),this[_0x3ec085(0x248)]=this[_0x3ec085(0x203)][_0x3ec085(0x1f9)][_0x3ec085(0x202)](_0x3ec085(0x224));}[_0x1a8dde(0x1f3)](_0x3e37c3,_0x4ca689){const _0x11f509=_0x1a8dde;return _0x3e37c3[_0x11f509(0x20a)]?new _0x58c6bb(_0x3e37c3[_0x11f509(0x22e)][_0x11f509(0x1ff)],_0x3e37c3[_0x11f509(0x22e)][_0x11f509(0x251)],this[_0x11f509(0x248)][_0x11f509(0x1e9)](),_0x4ca689,this[_0x11f509(0x215)]):_0x4ca689[_0x11f509(0x24d)]?new _0x4a08dd(_0x4ca689[_0x11f509(0x1ff)],_0x4ca689[_0x11f509(0x217)]['id'],this[_0x11f509(0x248)][_0x11f509(0x1e9)](),_0x4ca689,this[_0x11f509(0x215)]):new _0xb917f(this[_0x11f509(0x248)][_0x11f509(0x1e9)](),_0x4ca689,this[_0x11f509(0x215)],_0x3e37c3[_0x11f509(0x218)],_0x3e37c3[_0x11f509(0x22e)]);}[_0x1a8dde(0x262)](_0x170436){const _0x3c86a5=_0x1a8dde;this[_0x3c86a5(0x256)][_0x3c86a5(0x1e5)](_0x170436[_0x3c86a5(0x1f7)]['id']),this[_0x3c86a5(0x253)](_0x170436[_0x3c86a5(0x1f7)]['id']);const _0x3847b7=this[_0x3c86a5(0x248)][_0x3c86a5(0x1f0)](_0x170436[_0x3c86a5(0x1f7)]['id']);if(!_0x3847b7)return;const _0x54d283=this[_0x3c86a5(0x248)][_0x3c86a5(0x22c)]();this[_0x3c86a5(0x256)][_0x3c86a5(0x209)](_0x170436[_0x3c86a5(0x1f7)],()=>_0x3847b7[_0x3c86a5(0x21f)](),void 0x0,_0x3c86a5(0x254),_0x54d283?.[_0x3c86a5(0x1e4)]?.[_0x3c86a5(0x1fd)]?.[_0x3c86a5(0x241)](),_0x54d283?.['ui']?.[_0x3c86a5(0x245)]),this[_0x3c86a5(0x248)][_0x3c86a5(0x259)](_0x170436[_0x3c86a5(0x1f7)]['id']);}[_0x1a8dde(0x25a)](){const _0x2b3596=_0x1a8dde;this[_0x2b3596(0x256)][_0x2b3596(0x226)](),this[_0x2b3596(0x256)][_0x2b3596(0x23b)](),this[_0x2b3596(0x248)][_0x2b3596(0x255)]();}[_0x1a8dde(0x24f)](_0x4c6c13){const _0x4f4c39=_0x1a8dde;this[_0x4f4c39(0x20b)]&&_0x4f4c39(0x254)===_0x4c6c13[_0x4f4c39(0x264)]&&(this[_0x4f4c39(0x219)]=_0x4f4c39(0x24a),this[_0x4f4c39(0x20b)][_0x4f4c39(0x233)](_0x4c6c13['id']));}[_0x1a8dde(0x1ed)](_0x599b3a){const _0x1cc353=_0x1a8dde;this[_0x1cc353(0x20b)]&&_0x1cc353(0x211)===_0x599b3a[_0x1cc353(0x1eb)]&&this[_0x1cc353(0x20b)][_0x1cc353(0x221)]();}[_0x1a8dde(0x232)](_0x221e7c,_0xf67997){const _0x4ccb25=_0x1a8dde;if(!this[_0x4ccb25(0x20b)])return;this[_0x4ccb25(0x219)]=_0x4ccb25(0x225),this[_0x4ccb25(0x20b)][_0x4ccb25(0x233)](_0xf67997[_0x4ccb25(0x20e)]);const _0x1cfbef=this[_0x4ccb25(0x20b)][_0x4ccb25(0x222)](_0xf67997[_0x4ccb25(0x20e)]);if(!_0x1cfbef)return;const _0x4113e9=this[_0x4ccb25(0x248)][_0x4ccb25(0x22c)]();this[_0x4ccb25(0x256)][_0x4ccb25(0x209)](_0x1cfbef,_0xf67997[_0x4ccb25(0x25c)],_0xf67997[_0x4ccb25(0x214)],_0x4ccb25(0x254),_0x4113e9?.[_0x4ccb25(0x1e4)]?.[_0x4ccb25(0x1fd)]?.[_0x4ccb25(0x241)](),_0x4113e9?.['ui']?.[_0x4ccb25(0x245)]);}[_0x1a8dde(0x243)](_0x5b7d85,_0x70773e){const _0x432518=_0x1a8dde;if(!this[_0x432518(0x20b)])return;if(this[_0x432518(0x20b)][_0x432518(0x239)]())return;const _0x182c83=this[_0x432518(0x20b)][_0x432518(0x222)](_0x70773e[_0x432518(0x20e)]);if(!_0x182c83)return;const _0x1bdea5=this[_0x432518(0x248)][_0x432518(0x22c)]();this[_0x432518(0x256)][_0x432518(0x209)](_0x182c83,_0x70773e[_0x432518(0x25c)],_0x70773e[_0x432518(0x214)],_0x432518(0x1f5),_0x1bdea5?.[_0x432518(0x1e4)]?.[_0x432518(0x1fd)]?.[_0x432518(0x241)](),_0x1bdea5?.['ui']?.[_0x432518(0x245)]);}[_0x1a8dde(0x1f1)](){const _0x4f7fa8=_0x1a8dde;if(!this[_0x4f7fa8(0x20b)])return;this[_0x4f7fa8(0x20b)][_0x4f7fa8(0x239)]()||this[_0x4f7fa8(0x256)][_0x4f7fa8(0x23b)]();}[_0x1a8dde(0x23d)](_0xc2cf88){const _0x37539b=_0x1a8dde,_0x282228=this[_0x37539b(0x248)][_0x37539b(0x1f0)](_0xc2cf88);return _0x282228?_0x282228[_0x37539b(0x21f)]():null;}[_0x1a8dde(0x269)](_0x28d613,_0x3b65f7){const _0x25631c=_0x1a8dde;this[_0x25631c(0x248)][_0x25631c(0x235)](_0x28d613,_0x3b65f7);}[_0x1a8dde(0x208)](_0x9a93bc,_0x1ba257){const _0x36a304=_0x1a8dde;return this[_0x36a304(0x248)][_0x36a304(0x21e)](_0x9a93bc,_0x1ba257);}[_0x1a8dde(0x268)](){const _0x2f0291=_0x1a8dde;this[_0x2f0291(0x24b)](this[_0x2f0291(0x236)]);}[_0x1a8dde(0x24b)](_0x402c39){const _0x1e96d3=_0x1a8dde,_0x3f7fc8=this[_0x1e96d3(0x248)][_0x1e96d3(0x22c)]();_0x402c39?this[_0x1e96d3(0x256)][_0x1e96d3(0x205)]():this[_0x1e96d3(0x256)][_0x1e96d3(0x23a)](),_0x3f7fc8&&_0x3f7fc8[_0x1e96d3(0x1e4)][_0x1e96d3(0x1fd)][_0x1e96d3(0x1f7)](_0x1b7959=>{const _0x1cc1a9=_0x1e96d3,_0x6a24b0=_0x3f7fc8[_0x1cc1a9(0x1e4)][_0x1cc1a9(0x1fd)][_0x1cc1a9(0x230)][_0x1cc1a9(0x22b)]();for(const _0x6edf63 of _0x6a24b0[_0x1cc1a9(0x20c)]())_0x6edf63[_0x1cc1a9(0x1f2)](_0x1cc1a9(0x20d))&&_0x1b7959[_0x1cc1a9(0x1fc)](_0x6edf63,_0x6a24b0);_0x1b7959[_0x1cc1a9(0x1ef)](_0x402c39?_0x1cc1a9(0x267):_0x1cc1a9(0x1f4),_0x6a24b0);});}async[_0x1a8dde(0x26b)](){const _0x257460=_0x1a8dde,_0x301012=[..._0x13ff0f,...this[_0x257460(0x244)]()],_0x4faee1=this[_0x257460(0x203)][_0x257460(0x1e7)][_0x257460(0x202)](_0x257460(0x21c))||[];this[_0x257460(0x223)](_0x4faee1,_0x301012);let _0xd9ce1d=_0x301012;this[_0x257460(0x238)]||(_0xd9ce1d=_0x4faee1[_0x257460(0x1ea)](_0x62183e=>_0x301012[_0x257460(0x1e6)](_0x3488a1=>_0x3488a1['id']===_0x62183e))[_0x257460(0x26d)](_0xf19b8a=>!!_0xf19b8a)),_0xd9ce1d=_0xd9ce1d[_0x257460(0x1ea)](_0x57b4f5=>_0x57b4f5[_0x257460(0x24d)]?_0x57b4f5:this[_0x257460(0x21d)](_0x57b4f5));const _0x5d68c3=_0xd9ce1d[_0x257460(0x266)](_0x134b91=>_0x134b91[_0x257460(0x24d)]||_0x257460(0x25b)===_0x134b91['id']);let _0x5df44=[],_0x32e92d=[],_0x2629b6=null;if(_0x5d68c3){const _0xccdd8=await this[_0x257460(0x252)]();_0x5df44=_0xccdd8[_0x257460(0x206)],_0x32e92d=_0xccdd8[_0x257460(0x1fb)],_0x2629b6=_0xccdd8[_0x257460(0x24c)];}const _0x3a6c8e=new _0x2d8cac(_0x5df44,_0x32e92d,_0x2629b6);return _0x3a6c8e[_0x257460(0x263)](_0xd9ce1d),_0x5d68c3&&this[_0x257460(0x260)](_0x3a6c8e),_0x3a6c8e;}[_0x1a8dde(0x244)](){const _0x47ed14=_0x1a8dde;return(this[_0x47ed14(0x203)][_0x47ed14(0x1e7)][_0x47ed14(0x202)](_0x47ed14(0x21b))||[])[_0x47ed14(0x1ea)](_0x12806a=>({'id':_0x12806a['id'],'commandId':_0x12806a['id'],'title':_0x12806a[_0x47ed14(0x22d)],'description':_0x12806a[_0x47ed14(0x1fa)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x12806a[_0x47ed14(0x1ff)],'model':_0x12806a[_0x47ed14(0x251)]}));}[_0x1a8dde(0x223)](_0x5109cd,_0xc8283b){const _0x22f266=_0x1a8dde,_0x4271c6=_0x5109cd[_0x22f266(0x26d)](_0x48c28b=>!_0xc8283b[_0x22f266(0x266)](_0x3ce0f1=>_0x3ce0f1['id']===_0x48c28b));_0x4271c6[_0x22f266(0x1ec)]&&this[_0x22f266(0x21a)](new _0x1dca15(_0x22f266(0x1f8),this,{'commandIds':_0x4271c6[_0x22f266(0x200)](',\x20')}),!0x0);}async[_0x1a8dde(0x252)](){const _0x5bb9df=_0x1a8dde;try{const _0x549069=new _0x393bcc({'connector':this[_0x5bb9df(0x215)],'config':this[_0x5bb9df(0x203)][_0x5bb9df(0x1e7)][_0x5bb9df(0x202)](_0x5bb9df(0x210)),'locale':this[_0x5bb9df(0x203)][_0x5bb9df(0x247)]});return{'all':await _0x549069[_0x5bb9df(0x22f)](),'recommended':await _0x549069[_0x5bb9df(0x22a)](),'default':await _0x549069[_0x5bb9df(0x257)]()};}catch(_0x277adc){return this[_0x5bb9df(0x21a)](new _0x1dca15(_0x5bb9df(0x258),this,void 0x0,_0x277adc)),{'all':[],'recommended':[],'default':null};}}[_0x1a8dde(0x21d)](_0x23829b){const _0x2141f1=_0x1a8dde,_0x363bfe=_0x2141f1(0x242)+_0x23829b['id'][_0x2141f1(0x213)]()[_0x2141f1(0x23c)]('-','_'),_0x5b5a65={..._0x23829b,'title':this[_0x2141f1(0x1e3)](_0x363bfe+_0x2141f1(0x246),_0x23829b[_0x2141f1(0x237)]),'description':this[_0x2141f1(0x1e3)](_0x363bfe+_0x2141f1(0x26c),_0x23829b[_0x2141f1(0x1fa)])};return _0x23829b[_0x2141f1(0x204)]&&(_0x5b5a65[_0x2141f1(0x204)]=_0x23829b[_0x2141f1(0x204)][_0x2141f1(0x1ea)](_0x30cfad=>({..._0x30cfad,'label':this[_0x2141f1(0x1e3)](_0x363bfe+_0x2141f1(0x261),_0x30cfad[_0x2141f1(0x22d)]||''),'data':_0x30cfad[_0x2141f1(0x25f)]?_0x30cfad[_0x2141f1(0x25f)][_0x2141f1(0x1ea)](_0x82135b=>({..._0x82135b,'label':this[_0x2141f1(0x1e3)](_0x363bfe+_0x2141f1(0x240)+_0x82135b['id'][_0x2141f1(0x213)](),_0x82135b[_0x2141f1(0x22d)])})):void 0x0}))),_0x5b5a65;}[_0x1a8dde(0x260)](_0x5663fd){const _0x4ce433=_0x1a8dde,_0x26490b=[];_0x5663fd[_0x4ce433(0x229)][_0x4ce433(0x1e8)](_0x59f235=>{const _0xa4e04e=_0x4ce433;(_0x59f235 instanceof _0x4ad6ab&&!_0x59f235[_0xa4e04e(0x217)]||_0x59f235 instanceof _0x6ee664&&!_0x59f235[_0xa4e04e(0x220)][_0xa4e04e(0x1ec)])&&_0x26490b[_0xa4e04e(0x23e)](_0x59f235['id']);}),_0x26490b[_0x4ce433(0x1ec)]&&_0x26490b[_0x4ce433(0x1e8)](_0x1f3686=>{const _0x1b4261=_0x4ce433;_0x5663fd[_0x1b4261(0x227)](_0x1f3686),this[_0x1b4261(0x21a)](new _0x1dca15(_0x1b4261(0x212),this,{'commandId':_0x1f3686}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x431993=_0xcb4c;function _0xcb4c(_0x4eeecc,_0x33f875){const _0x17b7d4=_0x17b7();return _0xcb4c=function(_0xcb4cad,_0x4f1fc4){_0xcb4cad=_0xcb4cad-0xe4;let _0x471cec=_0x17b7d4[_0xcb4cad];return _0x471cec;},_0xcb4c(_0x4eeecc,_0x33f875);}(function(_0x3db462,_0x28fa80){const _0x41eabf=_0xcb4c,_0x4d9bdc=_0x3db462();while(!![]){try{const _0x238e3b=-parseInt(_0x41eabf(0xf4))/0x1*(-parseInt(_0x41eabf(0xf0))/0x2)+parseInt(_0x41eabf(0xf9))/0x3*(parseInt(_0x41eabf(0xfa))/0x4)+parseInt(_0x41eabf(0xea))/0x5+parseInt(_0x41eabf(0x100))/0x6*(-parseInt(_0x41eabf(0xfd))/0x7)+parseInt(_0x41eabf(0x103))/0x8*(parseInt(_0x41eabf(0xf5))/0x9)+-parseInt(_0x41eabf(0xe8))/0xa+parseInt(_0x41eabf(0xfb))/0xb;if(_0x238e3b===_0x28fa80)break;else _0x4d9bdc['push'](_0x4d9bdc['shift']());}catch(_0x219dc4){_0x4d9bdc['push'](_0x4d9bdc['shift']());}}}(_0x17b7,0x1c2ef));import{FormHeaderView as _0x20e3f9}from'ckeditor5/src/ui.js';import{IconAIReview as _0x30accd}from'ckeditor5/src/icons.js';import{getTranslation as _0x58d5b7}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x1462dc}from'../aireviewcore/ui/aireviewcoreview.js';function _0x17b7(){const _0x319ff2=['AIReviewModeUI','addTab','1901460yxQLUn','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','434635krHMLv','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','activateTab','createMainView','plugins','pluginName','131132rxiwMe','context','ck-ai-header\x20ck-ai-header_review','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','2zkXtQp','6300hBVNpL','leaveReview','fire','_mainView','3lpCbgz','404944pjhjdd','509806OWvynp','getReviewCheckList','77iwrZWO','AITabs','reviewMode','124776jwZbiH','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','get','1928JfXOcs','registerTab','locale','view','AI_REVIEW_MODE'];_0x17b7=function(){return _0x319ff2;};return _0x17b7();}import{AIReviewCoreUI as _0x41ec55}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x5c3718}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x2e3fa3}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x55d99c}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';import'../../theme/aireviewmode/aireviewmode.css';export class AIReviewModeUI extends _0x41ec55{static get[_0x431993(0xef)](){const _0x279d4d=_0x431993;return _0x279d4d(0xe6);}[_0x431993(0xed)](){const _0x56aadf=_0x431993,_0x3b9e27=this[_0x56aadf(0xf1)][_0x56aadf(0x105)],_0x30ae53=new _0x20e3f9(_0x3b9e27,{'label':_0x58d5b7(_0x3b9e27,_0x56aadf(0xe5)),'icon':_0x30accd,'class':_0x56aadf(0xf2)});return new _0x1462dc(this[_0x56aadf(0xf1)][_0x56aadf(0x105)],{'header':_0x30ae53,'list':new _0x55d99c(_0x3b9e27),'results':new _0x5c3718(_0x3b9e27,{'generalErrorText':_0x58d5b7(_0x3b9e27,_0x56aadf(0xe9))}),'completed':new _0x2e3fa3(_0x3b9e27,{'headerText':_0x58d5b7(_0x3b9e27,_0x56aadf(0xf3)),'emptyResultsText':_0x58d5b7(_0x3b9e27,_0x56aadf(0x101)),'buttonText':_0x58d5b7(_0x3b9e27,_0x56aadf(0xeb))})});}[_0x431993(0x104)](){const _0x39d87d=_0x431993,_0x3ce8cf=this[_0x39d87d(0xf1)][_0x39d87d(0xee)][_0x39d87d(0x102)](_0x39d87d(0xfe));_0x3ce8cf[_0x39d87d(0xe4)]['on'](_0x39d87d(0xec),(_0xa4717c,_0x50a6b8)=>{const _0x4460c3=_0x39d87d;_0x4460c3(0xff)===_0x50a6b8?this[_0x4460c3(0xf7)](_0x4460c3(0xfc)):this[_0x4460c3(0xf7)](_0x4460c3(0xf6));}),_0x3ce8cf[_0x39d87d(0xe4)][_0x39d87d(0xe7)]({'id':_0x39d87d(0xff),'buttonLabel':_0x58d5b7(this[_0x39d87d(0xf1)][_0x39d87d(0x105)],_0x39d87d(0xe5)),'buttonIcon':_0x30accd,'order':0x0,'content':this[_0x39d87d(0xf8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xbae49b=_0xac44;(function(_0x42d398,_0x264ce2){var _0x420025=_0xac44,_0x5375d9=_0x42d398();while(!![]){try{var _0x4bb196=-parseInt(_0x420025(0xbd))/0x1*(-parseInt(_0x420025(0xb4))/0x2)+parseInt(_0x420025(0xb6))/0x3+parseInt(_0x420025(0xb0))/0x4*(parseInt(_0x420025(0xbb))/0x5)+-parseInt(_0x420025(0xb1))/0x6*(parseInt(_0x420025(0xb3))/0x7)+parseInt(_0x420025(0xb2))/0x8+parseInt(_0x420025(0xb9))/0x9*(parseInt(_0x420025(0xb5))/0xa)+-parseInt(_0x420025(0xb7))/0xb*(parseInt(_0x420025(0xbe))/0xc);if(_0x4bb196===_0x264ce2)break;else _0x5375d9['push'](_0x5375d9['shift']());}catch(_0x538820){_0x5375d9['push'](_0x5375d9['shift']());}}}(_0x3be0,0x7ec6c));import{AIReviewCheck as _0x49211d}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x49211d{[_0xbae49b(0xba)]=[];[_0xbae49b(0xb8)]=null;constructor(_0x1b3b33,_0x599046,_0x26c6d6){var _0x4f7dba=_0xbae49b;super(_0x1b3b33),this[_0x4f7dba(0xba)]=_0x599046,this[_0x4f7dba(0xb8)]=_0x26c6d6;}get[_0xbae49b(0xbf)](){var _0x3e0faa=_0xbae49b;return this[_0x3e0faa(0xba)];}get[_0xbae49b(0xbc)](){var _0x267e1b=_0xbae49b;return this[_0x267e1b(0xb8)];}}function _0xac44(_0x5b666a,_0x321282){var _0x3be019=_0x3be0();return _0xac44=function(_0xac449,_0x2d220e){_0xac449=_0xac449-0xb0;var _0x53c4af=_0x3be019[_0xac449];return _0x53c4af;},_0xac44(_0x5b666a,_0x321282);}function _0x3be0(){var _0x3eaa14=['10NFIaWm','1896867JQZykh','3179NctFTM','_defaultModel','3871080MbCifC','_models','495scSntQ','defaultModel','222802cohZYN','70632GeEWbe','models','4748iEovYJ','696678FphrME','7545144FUvouR','21UsmqHf','4NHMTYe'];_0x3be0=function(){return _0x3eaa14;};return _0x3be0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x568d(){var _0x341d3e=['find','303432Emwuap','3tiWLwP','5fbVxIC','99hmaYsz','20783jNYaXe','49228cPEvcB','241550VWlVzh','152336fgoGOC','prompt','664164ClFtTE','isExtra','1815616TItVBL','model','_defaultModel','528qjOZnK','defaultModel'];_0x568d=function(){return _0x341d3e;};return _0x568d();}var _0x118590=_0x331b;function _0x331b(_0x152dcf,_0x660bff){var _0x568d8f=_0x568d();return _0x331b=function(_0x331b95,_0x322ecc){_0x331b95=_0x331b95-0xe0;var _0x22e07e=_0x568d8f[_0x331b95];return _0x22e07e;},_0x331b(_0x152dcf,_0x660bff);}(function(_0x223665,_0x299e08){var _0x423020=_0x331b,_0x2dabb7=_0x223665();while(!![]){try{var _0x59d834=parseInt(_0x423020(0xef))/0x1+-parseInt(_0x423020(0xe8))/0x2*(-parseInt(_0x423020(0xe9))/0x3)+parseInt(_0x423020(0xed))/0x4*(parseInt(_0x423020(0xea))/0x5)+-parseInt(_0x423020(0xe5))/0x6*(parseInt(_0x423020(0xec))/0x7)+parseInt(_0x423020(0xe2))/0x8+parseInt(_0x423020(0xe0))/0x9+parseInt(_0x423020(0xee))/0xa*(-parseInt(_0x423020(0xeb))/0xb);if(_0x59d834===_0x299e08)break;else _0x2dabb7['push'](_0x2dabb7['shift']());}catch(_0x5a2ee6){_0x2dabb7['push'](_0x2dabb7['shift']());}}}(_0x568d,0x21cc8));import{AIReviewCheck as _0x2748ee}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x2748ee{[_0x118590(0xe1)]=!0x0;[_0x118590(0xf0)];[_0x118590(0xe3)];[_0x118590(0xe4)]=null;constructor(_0x1bd5dd,_0x571f16,_0x22fe83){var _0x4de806=_0x118590;super(_0x1bd5dd),this[_0x4de806(0xf0)]=_0x1bd5dd[_0x4de806(0xf0)],this[_0x4de806(0xe3)]=_0x1bd5dd[_0x4de806(0xe3)],this[_0x4de806(0xe3)]?this[_0x4de806(0xe4)]=_0x571f16[_0x4de806(0xe7)](_0x5e7aac=>_0x5e7aac['id']===this[_0x4de806(0xe3)])||null:this[_0x4de806(0xe4)]=_0x22fe83;}get[_0x118590(0xe6)](){var _0xe2d244=_0x118590;return this[_0xe2d244(0xe4)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d536a=_0x5ad2;function _0x5ad2(_0x103b79,_0x466cda){var _0x355bf7=_0x355b();return _0x5ad2=function(_0x5ad20e,_0x3a84e2){_0x5ad20e=_0x5ad20e-0x1c7;var _0x2c7195=_0x355bf7[_0x5ad20e];return _0x2c7195;},_0x5ad2(_0x103b79,_0x466cda);}function _0x355b(){var _0x2f89d2=['_createApiRequest','upsertCustomAIReviewRating','2703416gOisaF','883341scwsad','_aiConnector','subTitle','_documentData','2nDSeJI','_prompt','33OuyLYv','5056EJGaFH','1390210JBIECi','_sendRatingRequest','940kJiTvE','2724VJiTPq','6559IpmudZ','68AjjuVf','_model','79464XDloDF','callCustomReview','content'];_0x355b=function(){return _0x2f89d2;};return _0x355b();}(function(_0x1ff333,_0x1e300b){var _0x2ba339=_0x5ad2,_0x20178b=_0x1ff333();while(!![]){try{var _0x2d461f=parseInt(_0x2ba339(0x1ca))/0x1+parseInt(_0x2ba339(0x1c7))/0x2*(-parseInt(_0x2ba339(0x1d2))/0x3)+parseInt(_0x2ba339(0x1d0))/0x4*(parseInt(_0x2ba339(0x1cd))/0x5)+parseInt(_0x2ba339(0x1ce))/0x6*(-parseInt(_0x2ba339(0x1cf))/0x7)+parseInt(_0x2ba339(0x1d7))/0x8+-parseInt(_0x2ba339(0x1d8))/0x9+parseInt(_0x2ba339(0x1cb))/0xa*(parseInt(_0x2ba339(0x1c9))/0xb);if(_0x2d461f===_0x1e300b)break;else _0x20178b['push'](_0x20178b['shift']());}catch(_0x2c0eef){_0x20178b['push'](_0x20178b['shift']());}}}(_0x355b,0x340d7));import{AIReviewCheckRun as _0x327997}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x327997{[_0x4d536a(0x1c8)];[_0x4d536a(0x1d1)];constructor(_0x3c45e9,_0x2e73f3,_0x212387,_0x23a56e,_0x3873f7){var _0x1f0058=_0x4d536a;super(_0x212387,_0x23a56e,_0x3873f7),this[_0x1f0058(0x1c8)]=_0x3c45e9,this[_0x1f0058(0x1d1)]=_0x2e73f3;}get[_0x4d536a(0x1da)](){var _0x5d97d2=_0x4d536a;return this[_0x5d97d2(0x1c8)];}[_0x4d536a(0x1d5)](){var _0x1e7437=_0x4d536a;return this[_0x1e7437(0x1d9)][_0x1e7437(0x1d3)]({'content':this[_0x1e7437(0x1db)][_0x1e7437(0x1d4)],'prompt':this[_0x1e7437(0x1c8)],'model':this[_0x1e7437(0x1d1)]});}[_0x4d536a(0x1cc)](_0x3ee699,_0x225bcf,_0x5c86de){var _0x1f8d3c=_0x4d536a;return this[_0x1f8d3c(0x1d9)][_0x1f8d3c(0x1d6)](_0x225bcf,_0x3ee699,_0x5c86de);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x32b366=_0x3414;function _0x3414(_0x3dfa46,_0x2e2186){var _0x5f56ec=_0x5f56();return _0x3414=function(_0x3414b1,_0x10c680){_0x3414b1=_0x3414b1-0xf7;var _0x38950e=_0x5f56ec[_0x3414b1];return _0x38950e;},_0x3414(_0x3dfa46,_0x2e2186);}(function(_0x438243,_0x342c9e){var _0x24af43=_0x3414,_0x20925b=_0x438243();while(!![]){try{var _0x3776bb=-parseInt(_0x24af43(0xf9))/0x1+parseInt(_0x24af43(0x100))/0x2+parseInt(_0x24af43(0x104))/0x3*(parseInt(_0x24af43(0xfe))/0x4)+parseInt(_0x24af43(0xfa))/0x5*(parseInt(_0x24af43(0xfb))/0x6)+-parseInt(_0x24af43(0x101))/0x7+parseInt(_0x24af43(0xff))/0x8*(parseInt(_0x24af43(0x105))/0x9)+-parseInt(_0x24af43(0xf7))/0xa*(-parseInt(_0x24af43(0xf8))/0xb);if(_0x3776bb===_0x342c9e)break;else _0x20925b['push'](_0x20925b['shift']());}catch(_0x5cb171){_0x20925b['push'](_0x20925b['shift']());}}}(_0x5f56,0xdfe2e));import{AIReviewCustomCheckRun as _0x4114a1}from'./aireviewcustomcheckrun.js';function _0x5f56(){var _0x33c0c0=['_prompt','prompt','239703tDIHmU','63UnSiKv','model','10vbVGXs','7915303ufARaR','1553109iJAitN','5CqqeBd','3435714WIDBGo','subTitle','_model','4TAtlMy','1938632wCzMBp','935806UklWBT','7463064zAXHhO'];_0x5f56=function(){return _0x33c0c0;};return _0x5f56();}export class AIReviewExtraCheckRun extends _0x4114a1{get[_0x32b366(0xfc)](){return'';}set[_0x32b366(0x103)](_0x5aca59){var _0x3ae426=_0x32b366;this[_0x3ae426(0x102)]=_0x5aca59;}set[_0x32b366(0x106)](_0x2cedee){var _0x355a16=_0x32b366;this[_0x355a16(0xfd)]=_0x2cedee;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x823a(_0x2d0fce,_0x59a495){var _0x351229=_0x3512();return _0x823a=function(_0x823a9f,_0x363844){_0x823a9f=_0x823a9f-0x129;var _0x358399=_0x351229[_0x823a9f];return _0x358399;},_0x823a(_0x2d0fce,_0x59a495);}var _0x57f901=_0x823a;(function(_0x23773d,_0x16fc27){var _0x3ff96a=_0x823a,_0xb6307a=_0x23773d();while(!![]){try{var _0x1edffd=-parseInt(_0x3ff96a(0x133))/0x1+-parseInt(_0x3ff96a(0x138))/0x2*(parseInt(_0x3ff96a(0x12c))/0x3)+-parseInt(_0x3ff96a(0x13b))/0x4*(-parseInt(_0x3ff96a(0x12e))/0x5)+parseInt(_0x3ff96a(0x137))/0x6*(-parseInt(_0x3ff96a(0x131))/0x7)+-parseInt(_0x3ff96a(0x139))/0x8+parseInt(_0x3ff96a(0x132))/0x9+parseInt(_0x3ff96a(0x12a))/0xa*(parseInt(_0x3ff96a(0x12d))/0xb);if(_0x1edffd===_0x16fc27)break;else _0xb6307a['push'](_0xb6307a['shift']());}catch(_0x34c3f5){_0xb6307a['push'](_0xb6307a['shift']());}}}(_0x3512,0x76f68));import{AIReviewCheckList as _0xca4f74}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x47a06f}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x595acf}from'./aireviewcheckcustom.js';function _0x3512(){var _0x1fec0c=['_recommendedModels','_defaultModel','163604MKNcoR','3125214wvuuNO','742549jtTuVp','setupChecks','_allModels','map','60tTxtSl','4Nfidvh','688864xkzePl','isExtra','12uakPtT','custom','13924420gsYWUN','_checks','1064193iKkrqP','11PROFTX','865705ZKJREh'];_0x3512=function(){return _0x1fec0c;};return _0x3512();}import{AIReviewCheckExtra as _0x4bdaeb}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0xca4f74{[_0x57f901(0x135)]=[];[_0x57f901(0x12f)]=[];[_0x57f901(0x130)]=null;constructor(_0x4d7b63,_0x4a34ff,_0x3acf12){var _0x3b4a8e=_0x57f901;super(),this[_0x3b4a8e(0x135)]=_0x4d7b63,this[_0x3b4a8e(0x12f)]=_0x4a34ff,this[_0x3b4a8e(0x130)]=_0x3acf12;}[_0x57f901(0x134)](_0x4a6467){var _0x494636=_0x57f901;this[_0x494636(0x12b)]=_0x4a6467[_0x494636(0x136)](_0x4db18b=>!0x0===_0x4db18b[_0x494636(0x13a)]?new _0x4bdaeb(_0x4db18b,this[_0x494636(0x135)],this[_0x494636(0x130)]):_0x494636(0x129)===_0x4db18b['id']?new _0x595acf(_0x4db18b,this[_0x494636(0x12f)],this[_0x494636(0x130)]):new _0x47a06f(_0x4db18b));}}
|