@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.d.ts +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x52d7(_0x1bcf7d,_0xb2d681){const _0x1062a0=_0x1062();return _0x52d7=function(_0x52d7de,_0x489ac3){_0x52d7de=_0x52d7de-0x1be;let _0x5b7046=_0x1062a0[_0x52d7de];return _0x5b7046;},_0x52d7(_0x1bcf7d,_0xb2d681);}function _0x1062(){const _0x566a95=['visible\x20!important','innerHeight','_isContainerVisible','className','_showMoreBalloonPanelView','_targetContainer','_createCalculationContainer','position','21118545wEqwQV','isOn','_repinBalloonPanel','set','innerWidth','body','execute','-9999px','5McfGKf','overflowChips','_makeAncestorsVisible','reorganizeChips','visible','_calculateContainerWidth','includes','bottom','some','element','isConnected','cssClasses','render','hidden','innerHTML','appendChild','left','slice','right','isIntersecting','_checkAndHandleOverflow','_ancestorsToRestore','_overflowChips','undefined','calculationContainer','_setupVisibilityObserver','_testButtonFit','offsetWidth','length','createElement','none','classList','4106501mtnTTQ','boxSizing','textContent','_calculateOverflowInContainer','_createContainerElements','753187EniGoM','controlsButton','getComputedStyle','maxVisibleRows','_config','_createShowMoreButton','+\x201','_handleShowMoreButtonClick','_intersectionObserver','hideBalloonPanel','_restoreAncestorVisibility','block\x20!important','display','hide','showMoreButton','auto','querySelector','setContainerElement','width','from','1039080gxdmZw','_updateBalloonContent','opacity','filter','_visibleChips','showMoreBalloon','_updateOverflowUI','.ck-ai-chat','destroy','pop','ck-calculation-container','documentElement','disableAnimationOnEnter','setTemplate','remove','_showMoreButtonView','children','_findTargetContainer','height','content','_containerElement','overflowContainer','parentElement','getBoundingClientRect','add','pointerEvents','_bodyCollection','pin','show','abs','_createShowMoreButtonView','clientHeight','forEach','isVisible','disconnect','showMoreButtonView','1427752jJsBkz','8280872zvcMRG','0px','label','zIndex','tagName','_updateShowMoreButtonVisibility','button','observe','showBalloonPanel','border-box','_locale','_createShowMoreBalloonPanelView','_renderChipsAndCountRows','showMoreLabelPrefix','300px','cloneNode','_pendingCalculation','_distributeChips','clear','push','extendTemplate','rowDetectionTolerance','style','clientWidth','_createMockButton','div','191746kdOoQx','top','_applyCalculationStyles','_applyOverflowResults','24RVuTfx','_parentView','50px','toLowerCase','visibility','absolute','block'];_0x1062=function(){return _0x566a95;};return _0x1062();}const _0x85efd4=_0x52d7;(function(_0x9543c5,_0x2f4f7d){const _0x1779d1=_0x52d7,_0x24233b=_0x9543c5();while(!![]){try{const _0x465012=parseInt(_0x1779d1(0x1d8))/0x1+parseInt(_0x1779d1(0x22b))/0x2*(parseInt(_0x1779d1(0x22f))/0x3)+parseInt(_0x1779d1(0x210))/0x4*(parseInt(_0x1779d1(0x246))/0x5)+-parseInt(_0x1779d1(0x1ec))/0x6+parseInt(_0x1779d1(0x1d3))/0x7+parseInt(_0x1779d1(0x211))/0x8+-parseInt(_0x1779d1(0x23e))/0x9;if(_0x465012===_0x2f4f7d)break;else _0x24233b['push'](_0x24233b['shift']());}catch(_0x3f8434){_0x24233b['push'](_0x24233b['shift']());}}}(_0x1062,0xef0e8));import{View as _0x5e947e,BalloonPanelView as _0x5a8d6d,ButtonView as _0x4d7f3a,clickOutsideHandler as _0x59730a}from'ckeditor5/src/ui.js';import{Collection as _0x1c5822}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x85efd4(0x21f);export class AIChatChipsOverflowManager{[_0x85efd4(0x21b)];[_0x85efd4(0x1dc)];[_0x85efd4(0x1f0)];[_0x85efd4(0x1c9)];[_0x85efd4(0x1fb)]=null;[_0x85efd4(0x23a)]=null;[_0x85efd4(0x200)]=null;[_0x85efd4(0x206)];[_0x85efd4(0x230)]=null;[_0x85efd4(0x1e0)]=null;[_0x85efd4(0x221)]=!0x1;constructor(_0x1c10ba,_0x3d9120,_0x4def68,_0x19ca67,_0xc0f2ac){const _0x27cb4f=_0x85efd4;this[_0x27cb4f(0x21b)]=_0x1c10ba,this[_0x27cb4f(0x1f0)]=_0x3d9120,this[_0x27cb4f(0x1dc)]={...hn,..._0x4def68,'cssClasses':{'controlsButton':'','calculationContainer':_0x27cb4f(0x1f6),..._0x4def68[_0x27cb4f(0x1be)]}},this[_0x27cb4f(0x1c9)]=new _0x1c5822(),this[_0x27cb4f(0x206)]=_0x19ca67,this[_0x27cb4f(0x230)]=_0xc0f2ac||null;}[_0x85efd4(0x1e9)](_0x1e933f){const _0x424d23=_0x85efd4;this[_0x424d23(0x1e0)]&&(this[_0x424d23(0x1e0)][_0x424d23(0x20e)](),this[_0x424d23(0x1e0)]=null),this[_0x424d23(0x200)]=_0x1e933f,this[_0x424d23(0x1cc)]();}get[_0x85efd4(0x20f)](){const _0x299533=_0x85efd4;return this[_0x299533(0x1fb)];}get[_0x85efd4(0x247)](){const _0x2917e2=_0x85efd4;return this[_0x2917e2(0x1c9)];}[_0x85efd4(0x249)](){requestAnimationFrame(()=>{const _0x23be72=_0x52d7;this[_0x23be72(0x1c7)]();});}[_0x85efd4(0x219)](){const _0x163076=_0x85efd4;this[_0x163076(0x1fb)]&&this[_0x163076(0x23a)]&&(this[_0x163076(0x1ed)](),this[_0x163076(0x1fb)][_0x163076(0x23f)]=!0x0,this[_0x163076(0x23a)][_0x163076(0x208)](),this[_0x163076(0x23a)][_0x163076(0x207)]({'target':this[_0x163076(0x1fb)][_0x163076(0x24f)],'limiter':document[_0x163076(0x1e8)](_0x163076(0x1f3))}));}[_0x85efd4(0x1e1)](){const _0x15d0c1=_0x85efd4;this[_0x15d0c1(0x1fb)]&&this[_0x15d0c1(0x23a)]&&(this[_0x15d0c1(0x1fb)][_0x15d0c1(0x23f)]=!0x1,this[_0x15d0c1(0x23a)][_0x15d0c1(0x1e5)]());}[_0x85efd4(0x223)](){const _0x282284=_0x85efd4;this[_0x282284(0x1c9)][_0x282284(0x223)](),this[_0x282284(0x1e1)](),this[_0x282284(0x216)](),this[_0x282284(0x1fb)]&&(this[_0x282284(0x1fb)][_0x282284(0x213)]=''),this[_0x282284(0x23a)]&&this[_0x282284(0x23a)][_0x282284(0x1ff)][_0x282284(0x223)]();}[_0x85efd4(0x1f4)](){const _0x2f1cc6=_0x85efd4;this[_0x2f1cc6(0x1e0)]&&(this[_0x2f1cc6(0x1e0)][_0x2f1cc6(0x20e)](),this[_0x2f1cc6(0x1e0)]=null),this[_0x2f1cc6(0x1fb)]&&(this[_0x2f1cc6(0x1fb)][_0x2f1cc6(0x1f4)](),this[_0x2f1cc6(0x1fb)]=null),this[_0x2f1cc6(0x23a)]&&(this[_0x2f1cc6(0x23a)][_0x2f1cc6(0x1f4)](),this[_0x2f1cc6(0x23a)]=null);}[_0x85efd4(0x1c7)](){const _0x48434a=_0x85efd4;if(!this[_0x48434a(0x200)])return;if(!this[_0x48434a(0x238)]())return void(this[_0x48434a(0x221)]=!0x0);this[_0x48434a(0x221)]=!0x1;const _0x1f6b38=[...this[_0x48434a(0x1f0)],...this[_0x48434a(0x1c9)]],_0x2823bf=this[_0x48434a(0x23c)](),_0xdc5298=this[_0x48434a(0x1d6)](_0x2823bf,_0x1f6b38),_0x4497f5=_0x2823bf[_0x48434a(0x1c8)];_0x4497f5&&this[_0x48434a(0x1e2)](_0x4497f5),_0x2823bf[_0x48434a(0x1fa)](),this[_0x48434a(0x22e)](_0x1f6b38,_0xdc5298);}[_0x85efd4(0x1dd)](){const _0x45a9bb=_0x85efd4;this[_0x45a9bb(0x1fb)]=this[_0x45a9bb(0x20a)](),this[_0x45a9bb(0x23a)]=this[_0x45a9bb(0x21c)](),this[_0x45a9bb(0x1fb)][_0x45a9bb(0x1bf)](),this[_0x45a9bb(0x200)][_0x45a9bb(0x1c2)](this[_0x45a9bb(0x1fb)][_0x45a9bb(0x24f)]),this[_0x45a9bb(0x1fb)]['on'](_0x45a9bb(0x244),()=>{const _0x4f13e3=_0x45a9bb;this[_0x4f13e3(0x1df)]();}),_0x59730a({'emitter':this[_0x45a9bb(0x23a)],'contextElements':[this[_0x45a9bb(0x23a)][_0x45a9bb(0x24f)],this[_0x45a9bb(0x1fb)][_0x45a9bb(0x24f)]],'callback':()=>this[_0x45a9bb(0x1e1)](),'activator':()=>this[_0x45a9bb(0x1fb)][_0x45a9bb(0x23f)]});}[_0x85efd4(0x20a)](){const _0x36c264=_0x85efd4,_0x29e811=new _0x4d7f3a(this[_0x36c264(0x21b)]);_0x29e811[_0x36c264(0x241)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4080ba=[this[_0x36c264(0x1dc)][_0x36c264(0x1be)][_0x36c264(0x1e6)]];return this[_0x36c264(0x1dc)][_0x36c264(0x1be)][_0x36c264(0x1d9)]&&_0x4080ba[_0x36c264(0x224)](this[_0x36c264(0x1dc)][_0x36c264(0x1be)][_0x36c264(0x1d9)]),_0x29e811[_0x36c264(0x225)]({'attributes':{'class':_0x4080ba}}),_0x29e811;}[_0x85efd4(0x21c)](){const _0x125366=_0x85efd4,_0x27b8ff=new _0x5a8d6d(this[_0x125366(0x21b)]);return _0x27b8ff[_0x125366(0x225)]({'attributes':{'class':this[_0x125366(0x1dc)][_0x125366(0x1be)][_0x125366(0x1f1)]}}),this[_0x125366(0x206)][_0x125366(0x204)](_0x27b8ff),_0x27b8ff;}[_0x85efd4(0x1ed)](){const _0x3590a5=_0x85efd4;if(this[_0x3590a5(0x23a)]&&(this[_0x3590a5(0x23a)][_0x3590a5(0x1ff)][_0x3590a5(0x223)](),this[_0x3590a5(0x1c9)][_0x3590a5(0x1cf)]>0x0)){this[_0x3590a5(0x1c9)][_0x3590a5(0x20c)](_0xbe6c2a=>{const _0x32b2c5=_0x3590a5;_0xbe6c2a[_0x32b2c5(0x1f8)]();});const _0x1465bb=new _0x5e947e(this[_0x3590a5(0x21b)]);_0x1465bb[_0x3590a5(0x1f9)]({'tag':_0x3590a5(0x22a),'attributes':{'class':this[_0x3590a5(0x1dc)][_0x3590a5(0x1be)][_0x3590a5(0x201)]},'children':this[_0x3590a5(0x1c9)]}),this[_0x3590a5(0x23a)][_0x3590a5(0x1ff)][_0x3590a5(0x204)](_0x1465bb);}}[_0x85efd4(0x1df)](){const _0x49e024=_0x85efd4;this[_0x49e024(0x1fb)][_0x49e024(0x23f)]?this[_0x49e024(0x1e1)]():this[_0x49e024(0x219)]();}[_0x85efd4(0x216)](){const _0x4531a5=_0x85efd4,_0x2a80b6=this[_0x4531a5(0x1c9)][_0x4531a5(0x1cf)]>0x0;this[_0x4531a5(0x1fb)]?.[_0x4531a5(0x24f)]&&(this[_0x4531a5(0x1fb)][_0x4531a5(0x24f)][_0x4531a5(0x227)][_0x4531a5(0x1e4)]=_0x2a80b6?'':_0x4531a5(0x1d1));}[_0x85efd4(0x240)](){const _0x3bc5a6=_0x85efd4;this[_0x3bc5a6(0x1fb)]?.[_0x3bc5a6(0x23f)]&&this[_0x3bc5a6(0x23a)]?.[_0x3bc5a6(0x20d)]&&this[_0x3bc5a6(0x1fb)][_0x3bc5a6(0x24f)]&&this[_0x3bc5a6(0x23a)][_0x3bc5a6(0x207)]({'target':this[_0x3bc5a6(0x1fb)][_0x3bc5a6(0x24f)],'limiter':document[_0x3bc5a6(0x1e8)](_0x3bc5a6(0x1f3))});}[_0x85efd4(0x1fd)](_0x477f22){const _0x57064c=_0x85efd4,_0x146bbe=this[_0x57064c(0x200)]?.[_0x57064c(0x215)][_0x57064c(0x232)]()||_0x57064c(0x22a),_0x10f482=this[_0x57064c(0x200)]?.[_0x57064c(0x1d2)];if(_0x10f482){const _0x5bb869=_0x10f482[0x0]||'',_0x463e6f=_0x477f22[_0x57064c(0x1e8)]('.'+_0x5bb869),_0x26b52f=_0x477f22[_0x57064c(0x1e8)](_0x146bbe);return _0x463e6f||_0x26b52f||_0x477f22;}return _0x477f22[_0x57064c(0x1e8)](_0x146bbe)||_0x477f22;}[_0x85efd4(0x24b)](){const _0x3de608=_0x85efd4,_0x3a4895=this[_0x3de608(0x230)]?.[_0x3de608(0x24f)]||this[_0x3de608(0x200)];if(!_0x3a4895)return an;const _0x408261=window[_0x3de608(0x1da)](_0x3a4895)[_0x3de608(0x1ea)];if(_0x3de608(0x1e7)===_0x408261||_0x3de608(0x212)===_0x408261||!_0x408261){const _0x36a193=_0x3a4895[_0x3de608(0x202)];if(_0x36a193){const _0x5984eb=window[_0x3de608(0x1da)](_0x36a193);return _0x3de608(0x1e7)!==_0x5984eb[_0x3de608(0x1ea)]?_0x5984eb[_0x3de608(0x1ea)]:an;}return an;}return _0x408261;}[_0x85efd4(0x22d)](_0x1fd7f5,_0xeaa277){const _0x14f3bb=_0x85efd4;this[_0x14f3bb(0x1dc)][_0x14f3bb(0x1be)][_0x14f3bb(0x1cb)]&&_0x1fd7f5[_0x14f3bb(0x1d2)][_0x14f3bb(0x204)](this[_0x14f3bb(0x1dc)][_0x14f3bb(0x1be)][_0x14f3bb(0x1cb)]),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x1ea)]=_0xeaa277,_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x23d)]=_0x14f3bb(0x234),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x22c)]=_0x14f3bb(0x245),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x1c3)]=_0x14f3bb(0x245),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x1ee)]='0',_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x205)]=_0x14f3bb(0x1d1),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x214)]='-1',_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x233)]=_0x14f3bb(0x236),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x1e4)]=_0x14f3bb(0x1e3),_0x1fd7f5[_0x14f3bb(0x227)][_0x14f3bb(0x1d4)]=_0x14f3bb(0x21a);}[_0x85efd4(0x1e2)](_0x795ecf){const _0x3e70bf=_0x85efd4;_0x795ecf[_0x3e70bf(0x20c)](({element:_0x4e54b9,originalDisplay:_0x372871,originalVisibility:_0x1d5d64})=>{const _0x3c6874=_0x3e70bf;_0x4e54b9[_0x3c6874(0x227)][_0x3c6874(0x1e4)]=_0x372871,_0x4e54b9[_0x3c6874(0x227)][_0x3c6874(0x233)]=_0x1d5d64;});}[_0x85efd4(0x248)](_0x1e1cc0){const _0x4aa3a8=_0x85efd4,_0x6bfc8c=[];let _0x423db5=_0x1e1cc0;for(;_0x423db5&&_0x423db5!==document[_0x4aa3a8(0x243)];){const _0x2476a8=window[_0x4aa3a8(0x1da)](_0x423db5);_0x4aa3a8(0x1d1)!==_0x2476a8[_0x4aa3a8(0x1e4)]&&_0x4aa3a8(0x1c0)!==_0x2476a8[_0x4aa3a8(0x233)]||(_0x6bfc8c[_0x4aa3a8(0x224)]({'element':_0x423db5,'originalDisplay':_0x423db5[_0x4aa3a8(0x227)][_0x4aa3a8(0x1e4)],'originalVisibility':_0x423db5[_0x4aa3a8(0x227)][_0x4aa3a8(0x233)]}),_0x423db5[_0x4aa3a8(0x227)][_0x4aa3a8(0x1e4)]=_0x4aa3a8(0x235),_0x423db5[_0x4aa3a8(0x227)][_0x4aa3a8(0x233)]=_0x4aa3a8(0x24a)),_0x423db5=_0x423db5[_0x4aa3a8(0x202)];}return _0x6bfc8c;}[_0x85efd4(0x1d7)](){const _0x192714=_0x85efd4;let _0x26d1bf,_0x362b70;return this[_0x192714(0x230)]?.[_0x192714(0x24f)]?(_0x26d1bf=this[_0x192714(0x230)][_0x192714(0x24f)][_0x192714(0x220)](!0x0),_0x362b70=this[_0x192714(0x1fd)](_0x26d1bf)):(_0x26d1bf=document[_0x192714(0x1d0)](_0x192714(0x22a)),_0x362b70=_0x26d1bf),{'calculationContainer':_0x26d1bf,'targetContainer':_0x362b70};}[_0x85efd4(0x23c)](){const _0x5659bd=_0x85efd4,{calculationContainer:_0x1bd723,targetContainer:_0x372e2e}=this[_0x5659bd(0x1d7)](),_0x2c0cd6=this[_0x5659bd(0x24b)]();this[_0x5659bd(0x22d)](_0x1bd723,_0x2c0cd6);const _0x4985ae=this[_0x5659bd(0x230)]?.[_0x5659bd(0x24f)]||this[_0x5659bd(0x200)],_0x55d8a5=_0x4985ae?.[_0x5659bd(0x202)];_0x55d8a5?_0x55d8a5[_0x5659bd(0x1c2)](_0x1bd723):document[_0x5659bd(0x243)][_0x5659bd(0x1c2)](_0x1bd723),_0x1bd723[_0x5659bd(0x23b)]=_0x372e2e;const _0x3e74fd=this[_0x5659bd(0x248)](_0x55d8a5||null);return _0x1bd723[_0x5659bd(0x1ce)],_0x1bd723[_0x5659bd(0x1c8)]=_0x3e74fd,_0x1bd723;}[_0x85efd4(0x1d6)](_0x4daa21,_0x192dc1){const _0x5a1642=_0x85efd4,_0x113d2e=_0x4daa21[_0x5a1642(0x23b)]||_0x4daa21,_0x1df555=[],{rowCount:_0x243fcc}=this[_0x5a1642(0x21d)](_0x113d2e,_0x192dc1);if(_0x243fcc<=this[_0x5a1642(0x1dc)][_0x5a1642(0x1db)])return _0x1df555;const _0x130e0a=_0x192dc1[_0x5a1642(0x1c4)]();for(;_0x130e0a[_0x5a1642(0x1cf)]>0x0;){if(this[_0x5a1642(0x1cd)](_0x4daa21,_0x113d2e,_0x130e0a)){const _0x4b2442=_0x192dc1[_0x5a1642(0x1ef)](_0x4859fd=>!_0x130e0a[_0x5a1642(0x24c)](_0x4859fd));_0x1df555[_0x5a1642(0x224)](..._0x4b2442);break;}if(!_0x130e0a[_0x5a1642(0x1f5)]())break;}return _0x1df555;}[_0x85efd4(0x21d)](_0xef0fa4,_0x2e058a){const _0xbf2f86=_0x85efd4;_0xef0fa4[_0xbf2f86(0x1c1)]='',_0x2e058a[_0xbf2f86(0x20c)](_0x4366cb=>{const _0x194c73=_0xbf2f86;if(_0x4366cb[_0x194c73(0x24f)]){const _0x46cee6=_0x4366cb[_0x194c73(0x24f)][_0x194c73(0x220)](!0x0);_0xef0fa4[_0x194c73(0x1c2)](_0x46cee6);}}),_0xef0fa4[_0xbf2f86(0x1ce)];const _0x5c26c8=_0xef0fa4[_0xbf2f86(0x1fc)],_0x5aaa36=[];return Array[_0xbf2f86(0x1eb)](_0x5c26c8)[_0xbf2f86(0x20c)](_0x98598d=>{const _0x256c5c=_0xbf2f86,_0x1601fe=_0x98598d[_0x256c5c(0x203)]()[_0x256c5c(0x22c)];_0x5aaa36[_0x256c5c(0x24e)](_0x5b01cf=>Math[_0x256c5c(0x209)](_0x5b01cf-_0x1601fe)<this[_0x256c5c(0x1dc)][_0x256c5c(0x226)])||_0x5aaa36[_0x256c5c(0x224)](_0x1601fe);}),{'rowCount':_0x5aaa36[_0xbf2f86(0x1cf)]};}[_0x85efd4(0x229)](){const _0x1efabb=_0x85efd4,_0x314159=document[_0x1efabb(0x1d0)](_0x1efabb(0x217));return _0x314159[_0x1efabb(0x239)]=this[_0x1efabb(0x1dc)][_0x1efabb(0x1be)][_0x1efabb(0x1e6)],this[_0x1efabb(0x1dc)][_0x1efabb(0x1be)][_0x1efabb(0x1d9)]&&_0x314159[_0x1efabb(0x1d2)][_0x1efabb(0x204)](this[_0x1efabb(0x1dc)][_0x1efabb(0x1be)][_0x1efabb(0x1d9)]),_0x314159[_0x1efabb(0x1d5)]=_0x1efabb(0x1de),_0x314159;}[_0x85efd4(0x1cd)](_0x127b01,_0x58c6b9,_0x1aab91){const _0x3bc795=_0x85efd4;this[_0x3bc795(0x21d)](_0x58c6b9,_0x1aab91);const _0x3be308=this[_0x3bc795(0x229)]();_0x127b01[_0x3bc795(0x1c2)](_0x3be308),_0x127b01[_0x3bc795(0x1ce)];const _0x262b9f=[..._0x58c6b9[_0x3bc795(0x1fc)],_0x3be308],_0x92d32b=[];_0x262b9f[_0x3bc795(0x20c)](_0x48f101=>{const _0xb16bf9=_0x3bc795,_0x23cb5c=_0x48f101[_0xb16bf9(0x203)]()[_0xb16bf9(0x22c)];_0x92d32b[_0xb16bf9(0x24e)](_0x2d8c37=>Math[_0xb16bf9(0x209)](_0x2d8c37-_0x23cb5c)<this[_0xb16bf9(0x1dc)][_0xb16bf9(0x226)])||_0x92d32b[_0xb16bf9(0x224)](_0x23cb5c);});const _0x565351=_0x92d32b[_0x3bc795(0x1cf)];return _0x3be308[_0x3bc795(0x1fa)](),_0x565351<=this[_0x3bc795(0x1dc)][_0x3bc795(0x1db)];}[_0x85efd4(0x222)](_0xca3e4f,_0x489918){const _0x26b4a3=_0x85efd4;this[_0x26b4a3(0x1f0)][_0x26b4a3(0x223)](),this[_0x26b4a3(0x1c9)][_0x26b4a3(0x223)](),_0xca3e4f[_0x26b4a3(0x20c)](_0x49d131=>{const _0x4515b4=_0x26b4a3;_0x489918[_0x4515b4(0x24c)](_0x49d131)?this[_0x4515b4(0x1c9)][_0x4515b4(0x204)](_0x49d131):this[_0x4515b4(0x1f0)][_0x4515b4(0x204)](_0x49d131);});}[_0x85efd4(0x1f2)](_0x2bad59){const _0x4469a7=_0x85efd4;if(_0x2bad59>0x0&&!this[_0x4469a7(0x1fb)]&&this[_0x4469a7(0x1dd)](),_0x2bad59>0x0&&this[_0x4469a7(0x1fb)]){const _0x16e46d=''+this[_0x4469a7(0x1dc)][_0x4469a7(0x21e)]+(_0x2bad59<0x63?_0x2bad59:'99');this[_0x4469a7(0x1fb)][_0x4469a7(0x213)]=_0x16e46d;}this[_0x4469a7(0x1ed)](),this[_0x4469a7(0x216)](),this[_0x4469a7(0x240)]();}[_0x85efd4(0x22e)](_0x12ddc7,_0x17fb69){const _0x10b625=_0x85efd4;this[_0x10b625(0x222)](_0x12ddc7,_0x17fb69),this[_0x10b625(0x1f2)](_0x17fb69[_0x10b625(0x1cf)]);}[_0x85efd4(0x1cc)](){const _0x3b222e=_0x85efd4;this[_0x3b222e(0x200)]&&_0x3b222e(0x1ca)!=typeof IntersectionObserver&&(this[_0x3b222e(0x1e0)]=new IntersectionObserver(_0x1ef1d5=>{const _0x340591=_0x3b222e;_0x1ef1d5[0x0][_0x340591(0x1c6)]&&this[_0x340591(0x221)]&&requestAnimationFrame(()=>{const _0x1c42c0=_0x340591;this[_0x1c42c0(0x1c7)]();});},{'threshold':0.01,'rootMargin':_0x3b222e(0x231)}),this[_0x3b222e(0x1e0)][_0x3b222e(0x218)](this[_0x3b222e(0x200)]));}[_0x85efd4(0x238)](){const _0x23be12=_0x85efd4;if(!this[_0x23be12(0x200)])return!0x1;if(!this[_0x23be12(0x200)][_0x23be12(0x250)])return!0x1;const _0x104248=this[_0x23be12(0x200)][_0x23be12(0x203)]();if(0x0===_0x104248[_0x23be12(0x1ea)]||0x0===_0x104248[_0x23be12(0x1fe)])return!0x1;const _0x3fe796=window[_0x23be12(0x237)]||document[_0x23be12(0x1f7)][_0x23be12(0x20b)],_0x2944e8=window[_0x23be12(0x242)]||document[_0x23be12(0x1f7)][_0x23be12(0x228)],_0x4e2277=0xc8;return _0x104248[_0x23be12(0x24d)]>=-0xc8&&_0x104248[_0x23be12(0x22c)]<=_0x3fe796+_0x4e2277&&_0x104248[_0x23be12(0x1c5)]>=-0xc8&&_0x104248[_0x23be12(0x1c3)]<=_0x2944e8+_0x4e2277;}}
|
|
23
|
+
function _0x25cc(_0x425b75,_0x8f406e){const _0x50d263=_0x50d2();return _0x25cc=function(_0x25ccab,_0x149f48){_0x25ccab=_0x25ccab-0x1d7;let _0x4828f3=_0x50d263[_0x25ccab];return _0x4828f3;},_0x25cc(_0x425b75,_0x8f406e);}const _0xac3581=_0x25cc;(function(_0x39a343,_0x47b81c){const _0x19d980=_0x25cc,_0x498ffb=_0x39a343();while(!![]){try{const _0xfcc4e8=-parseInt(_0x19d980(0x24c))/0x1*(parseInt(_0x19d980(0x206))/0x2)+-parseInt(_0x19d980(0x24e))/0x3*(parseInt(_0x19d980(0x208))/0x4)+parseInt(_0x19d980(0x20a))/0x5+parseInt(_0x19d980(0x24d))/0x6*(parseInt(_0x19d980(0x1db))/0x7)+-parseInt(_0x19d980(0x202))/0x8+parseInt(_0x19d980(0x239))/0x9+parseInt(_0x19d980(0x25f))/0xa;if(_0xfcc4e8===_0x47b81c)break;else _0x498ffb['push'](_0x498ffb['shift']());}catch(_0x2263a1){_0x498ffb['push'](_0x498ffb['shift']());}}}(_0x50d2,0xda93b));import{View as _0x439f7a,BalloonPanelView as _0x1e3514,ButtonView as _0x4d9406,clickOutsideHandler as _0x4dd8d8}from'ckeditor5/src/ui.js';import{Collection as _0x1fc7b9}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0xac3581(0x209);function _0x50d2(){const _0x5bdbd0=['content','_calculateOverflowInContainer','calculationContainer','zIndex','undefined','controlsButton','overflowChips','pop','execute','label','children','render','+\x201','createElement','remove','length','hidden','_createShowMoreBalloonPanelView','forEach','block\x20!important','_createShowMoreButton','14216880aBBWbn','block','classList','cloneNode','24SonAGr','add','376OBYCjg','300px','1755325wgfqBQ','_createCalculationContainer','offsetWidth','showMoreBalloon','show','button','_checkAndHandleOverflow','0px','_overflowChips','-9999px','maxVisibleRows','isIntersecting','clear','clientWidth','_containerElement','_distributeChips','none','visibility','_updateBalloonContent','pin','includes','from','_ancestorsToRestore','getBoundingClientRect','innerWidth','innerHeight','innerHTML','_renderChipsAndCountRows','_restoreAncestorVisibility','style','_visibleChips','border-box','isConnected','abs','_showMoreBalloonPanelView','cssClasses','_updateOverflowUI','_createShowMoreButtonView','element','showMoreButton','observe','toLowerCase','hideBalloonPanel','clientHeight','destroy','position','width','2860218LWzIdt','rowDetectionTolerance','push','_intersectionObserver','_createContainerElements','_pendingCalculation','isVisible','className','visible\x20!important','_bodyCollection','_parentView','_showMoreButtonView','getComputedStyle','hide','bottom','50px','visible','_testButtonFit','absolute','60139UfEGno','8723454mjnIXz','3609lsKCUk','_applyOverflowResults','_updateShowMoreButtonVisibility','div','auto','ck-calculation-container','right','_handleShowMoreButtonClick','overflowContainer','left','disconnect','textContent','querySelector','extendTemplate','_makeAncestorsVisible','height','_isContainerVisible','13843750PqxDKt','_applyCalculationStyles','.ck-ai-chat','filter','pointerEvents','showMoreLabelPrefix','documentElement','tagName','disableAnimationOnEnter','_createMockButton','isOn','some','_calculateContainerWidth','body','slice','_findTargetContainer','7MFYufO','reorganizeChips','opacity','showMoreButtonView','_locale','setTemplate','appendChild','set','_setupVisibilityObserver','_config','parentElement','_targetContainer','showBalloonPanel','display','boxSizing','_repinBalloonPanel','top','setContainerElement'];_0x50d2=function(){return _0x5bdbd0;};return _0x50d2();}export class AIChatChipsOverflowManager{[_0xac3581(0x1df)];[_0xac3581(0x1e4)];[_0xac3581(0x228)];[_0xac3581(0x212)];[_0xac3581(0x244)]=null;[_0xac3581(0x22c)]=null;[_0xac3581(0x218)]=null;[_0xac3581(0x242)];[_0xac3581(0x243)]=null;[_0xac3581(0x23c)]=null;[_0xac3581(0x23e)]=!0x1;constructor(_0x23b27e,_0x24ec34,_0x4f4241,_0x5c0a60,_0x23b31e){const _0x2427c9=_0xac3581;this[_0x2427c9(0x1df)]=_0x23b27e,this[_0x2427c9(0x228)]=_0x24ec34,this[_0x2427c9(0x1e4)]={...hn,..._0x4f4241,'cssClasses':{'controlsButton':'','calculationContainer':_0x2427c9(0x253),..._0x4f4241[_0x2427c9(0x22d)]}},this[_0x2427c9(0x212)]=new _0x1fc7b9(),this[_0x2427c9(0x242)]=_0x5c0a60,this[_0x2427c9(0x243)]=_0x23b31e||null;}[_0xac3581(0x1ec)](_0xf35a19){const _0x5743b1=_0xac3581;this[_0x5743b1(0x23c)]&&(this[_0x5743b1(0x23c)][_0x5743b1(0x258)](),this[_0x5743b1(0x23c)]=null),this[_0x5743b1(0x218)]=_0xf35a19,this[_0x5743b1(0x1e3)]();}get[_0xac3581(0x1de)](){const _0x5ebc69=_0xac3581;return this[_0x5ebc69(0x244)];}get[_0xac3581(0x1f3)](){const _0x547eba=_0xac3581;return this[_0x547eba(0x212)];}[_0xac3581(0x1dc)](){requestAnimationFrame(()=>{const _0x477ec0=_0x25cc;this[_0x477ec0(0x210)]();});}[_0xac3581(0x1e7)](){const _0x4c35ee=_0xac3581;this[_0x4c35ee(0x244)]&&this[_0x4c35ee(0x22c)]&&(this[_0x4c35ee(0x21c)](),this[_0x4c35ee(0x244)][_0x4c35ee(0x269)]=!0x0,this[_0x4c35ee(0x22c)][_0x4c35ee(0x20e)](),this[_0x4c35ee(0x22c)][_0x4c35ee(0x21d)]({'target':this[_0x4c35ee(0x244)][_0x4c35ee(0x230)],'limiter':document[_0x4c35ee(0x25a)](_0x4c35ee(0x261))}));}[_0xac3581(0x234)](){const _0xce38c1=_0xac3581;this[_0xce38c1(0x244)]&&this[_0xce38c1(0x22c)]&&(this[_0xce38c1(0x244)][_0xce38c1(0x269)]=!0x1,this[_0xce38c1(0x22c)][_0xce38c1(0x246)]());}[_0xac3581(0x216)](){const _0x482f0b=_0xac3581;this[_0x482f0b(0x212)][_0x482f0b(0x216)](),this[_0x482f0b(0x234)](),this[_0x482f0b(0x250)](),this[_0x482f0b(0x244)]&&(this[_0x482f0b(0x244)][_0x482f0b(0x1f6)]=''),this[_0x482f0b(0x22c)]&&this[_0x482f0b(0x22c)][_0x482f0b(0x1ed)][_0x482f0b(0x216)]();}[_0xac3581(0x236)](){const _0x28b5dd=_0xac3581;this[_0x28b5dd(0x23c)]&&(this[_0x28b5dd(0x23c)][_0x28b5dd(0x258)](),this[_0x28b5dd(0x23c)]=null),this[_0x28b5dd(0x244)]&&(this[_0x28b5dd(0x244)][_0x28b5dd(0x236)](),this[_0x28b5dd(0x244)]=null),this[_0x28b5dd(0x22c)]&&(this[_0x28b5dd(0x22c)][_0x28b5dd(0x236)](),this[_0x28b5dd(0x22c)]=null);}[_0xac3581(0x210)](){const _0x1ff3b1=_0xac3581;if(!this[_0x1ff3b1(0x218)])return;if(!this[_0x1ff3b1(0x25e)]())return void(this[_0x1ff3b1(0x23e)]=!0x0);this[_0x1ff3b1(0x23e)]=!0x1;const _0x34adce=[...this[_0x1ff3b1(0x228)],...this[_0x1ff3b1(0x212)]],_0x592bab=this[_0x1ff3b1(0x20b)](),_0x97ffa3=this[_0x1ff3b1(0x1ee)](_0x592bab,_0x34adce),_0x53e705=_0x592bab[_0x1ff3b1(0x220)];_0x53e705&&this[_0x1ff3b1(0x226)](_0x53e705),_0x592bab[_0x1ff3b1(0x1fb)](),this[_0x1ff3b1(0x24f)](_0x34adce,_0x97ffa3);}[_0xac3581(0x201)](){const _0x3030d3=_0xac3581;this[_0x3030d3(0x244)]=this[_0x3030d3(0x22f)](),this[_0x3030d3(0x22c)]=this[_0x3030d3(0x1fe)](),this[_0x3030d3(0x244)][_0x3030d3(0x1f8)](),this[_0x3030d3(0x218)][_0x3030d3(0x1e1)](this[_0x3030d3(0x244)][_0x3030d3(0x230)]),this[_0x3030d3(0x244)]['on'](_0x3030d3(0x1f5),()=>{const _0x23ebf4=_0x3030d3;this[_0x23ebf4(0x255)]();}),_0x4dd8d8({'emitter':this[_0x3030d3(0x22c)],'contextElements':[this[_0x3030d3(0x22c)][_0x3030d3(0x230)],this[_0x3030d3(0x244)][_0x3030d3(0x230)]],'callback':()=>this[_0x3030d3(0x234)](),'activator':()=>this[_0x3030d3(0x244)][_0x3030d3(0x269)]});}[_0xac3581(0x22f)](){const _0x401c58=_0xac3581,_0x343a79=new _0x4d9406(this[_0x401c58(0x1df)]);_0x343a79[_0x401c58(0x1e2)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x5ad2b5=[this[_0x401c58(0x1e4)][_0x401c58(0x22d)][_0x401c58(0x231)]];return this[_0x401c58(0x1e4)][_0x401c58(0x22d)][_0x401c58(0x1f2)]&&_0x5ad2b5[_0x401c58(0x23b)](this[_0x401c58(0x1e4)][_0x401c58(0x22d)][_0x401c58(0x1f2)]),_0x343a79[_0x401c58(0x25b)]({'attributes':{'class':_0x5ad2b5}}),_0x343a79;}[_0xac3581(0x1fe)](){const _0x17dac9=_0xac3581,_0xd5a9d2=new _0x1e3514(this[_0x17dac9(0x1df)]);return _0xd5a9d2[_0x17dac9(0x25b)]({'attributes':{'class':this[_0x17dac9(0x1e4)][_0x17dac9(0x22d)][_0x17dac9(0x20d)]}}),this[_0x17dac9(0x242)][_0x17dac9(0x207)](_0xd5a9d2),_0xd5a9d2;}[_0xac3581(0x21c)](){const _0x1a496d=_0xac3581;if(this[_0x1a496d(0x22c)]&&(this[_0x1a496d(0x22c)][_0x1a496d(0x1ed)][_0x1a496d(0x216)](),this[_0x1a496d(0x212)][_0x1a496d(0x1fc)]>0x0)){this[_0x1a496d(0x212)][_0x1a496d(0x1ff)](_0x540ed1=>{const _0x1c8053=_0x1a496d;_0x540ed1[_0x1c8053(0x267)]();});const _0x3ea1d4=new _0x439f7a(this[_0x1a496d(0x1df)]);_0x3ea1d4[_0x1a496d(0x1e0)]({'tag':_0x1a496d(0x251),'attributes':{'class':this[_0x1a496d(0x1e4)][_0x1a496d(0x22d)][_0x1a496d(0x256)]},'children':this[_0x1a496d(0x212)]}),this[_0x1a496d(0x22c)][_0x1a496d(0x1ed)][_0x1a496d(0x207)](_0x3ea1d4);}}[_0xac3581(0x255)](){const _0xcaca14=_0xac3581;this[_0xcaca14(0x244)][_0xcaca14(0x269)]?this[_0xcaca14(0x234)]():this[_0xcaca14(0x1e7)]();}[_0xac3581(0x250)](){const _0x3b7fc1=_0xac3581,_0x51a978=this[_0x3b7fc1(0x212)][_0x3b7fc1(0x1fc)]>0x0;this[_0x3b7fc1(0x244)]?.[_0x3b7fc1(0x230)]&&(this[_0x3b7fc1(0x244)][_0x3b7fc1(0x230)][_0x3b7fc1(0x227)][_0x3b7fc1(0x1e8)]=_0x51a978?'':_0x3b7fc1(0x21a));}[_0xac3581(0x1ea)](){const _0x937c7f=_0xac3581;this[_0x937c7f(0x244)]?.[_0x937c7f(0x269)]&&this[_0x937c7f(0x22c)]?.[_0x937c7f(0x23f)]&&this[_0x937c7f(0x244)][_0x937c7f(0x230)]&&this[_0x937c7f(0x22c)][_0x937c7f(0x21d)]({'target':this[_0x937c7f(0x244)][_0x937c7f(0x230)],'limiter':document[_0x937c7f(0x25a)](_0x937c7f(0x261))});}[_0xac3581(0x1da)](_0x25714e){const _0x54b703=_0xac3581,_0x11ecab=this[_0x54b703(0x218)]?.[_0x54b703(0x266)][_0x54b703(0x233)]()||_0x54b703(0x251),_0x468b7b=this[_0x54b703(0x218)]?.[_0x54b703(0x204)];if(_0x468b7b){const _0x19ccf3=_0x468b7b[0x0]||'',_0x111226=_0x25714e[_0x54b703(0x25a)]('.'+_0x19ccf3),_0x428b9c=_0x25714e[_0x54b703(0x25a)](_0x11ecab);return _0x111226||_0x428b9c||_0x25714e;}return _0x25714e[_0x54b703(0x25a)](_0x11ecab)||_0x25714e;}[_0xac3581(0x1d7)](){const _0x560ab1=_0xac3581,_0x2f8d77=this[_0x560ab1(0x243)]?.[_0x560ab1(0x230)]||this[_0x560ab1(0x218)];if(!_0x2f8d77)return an;const _0x21f8fc=window[_0x560ab1(0x245)](_0x2f8d77)[_0x560ab1(0x238)];if(_0x560ab1(0x252)===_0x21f8fc||_0x560ab1(0x211)===_0x21f8fc||!_0x21f8fc){const _0x1a9f3d=_0x2f8d77[_0x560ab1(0x1e5)];if(_0x1a9f3d){const _0x26f101=window[_0x560ab1(0x245)](_0x1a9f3d);return _0x560ab1(0x252)!==_0x26f101[_0x560ab1(0x238)]?_0x26f101[_0x560ab1(0x238)]:an;}return an;}return _0x21f8fc;}[_0xac3581(0x260)](_0x546b0a,_0xf1b68){const _0x11e9e0=_0xac3581;this[_0x11e9e0(0x1e4)][_0x11e9e0(0x22d)][_0x11e9e0(0x1ef)]&&_0x546b0a[_0x11e9e0(0x204)][_0x11e9e0(0x207)](this[_0x11e9e0(0x1e4)][_0x11e9e0(0x22d)][_0x11e9e0(0x1ef)]),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x238)]=_0xf1b68,_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x237)]=_0x11e9e0(0x24b),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1eb)]=_0x11e9e0(0x213),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x257)]=_0x11e9e0(0x213),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1dd)]='0',_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x263)]=_0x11e9e0(0x21a),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1f0)]='-1',_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x21b)]=_0x11e9e0(0x241),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1e8)]=_0x11e9e0(0x200),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1e9)]=_0x11e9e0(0x229);}[_0xac3581(0x226)](_0x5af4bf){const _0x1cbea3=_0xac3581;_0x5af4bf[_0x1cbea3(0x1ff)](({element:_0x29a3c9,originalDisplay:_0x490ae3,originalVisibility:_0x2c4161})=>{const _0x53f4b2=_0x1cbea3;_0x29a3c9[_0x53f4b2(0x227)][_0x53f4b2(0x1e8)]=_0x490ae3,_0x29a3c9[_0x53f4b2(0x227)][_0x53f4b2(0x21b)]=_0x2c4161;});}[_0xac3581(0x25c)](_0x1c67e4){const _0x353b44=_0xac3581,_0x4e9ae1=[];let _0x4e3a2d=_0x1c67e4;for(;_0x4e3a2d&&_0x4e3a2d!==document[_0x353b44(0x1d8)];){const _0x4e8d34=window[_0x353b44(0x245)](_0x4e3a2d);_0x353b44(0x21a)!==_0x4e8d34[_0x353b44(0x1e8)]&&_0x353b44(0x1fd)!==_0x4e8d34[_0x353b44(0x21b)]||(_0x4e9ae1[_0x353b44(0x23b)]({'element':_0x4e3a2d,'originalDisplay':_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x1e8)],'originalVisibility':_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x21b)]}),_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x1e8)]=_0x353b44(0x203),_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x21b)]=_0x353b44(0x249)),_0x4e3a2d=_0x4e3a2d[_0x353b44(0x1e5)];}return _0x4e9ae1;}[_0xac3581(0x23d)](){const _0x56b114=_0xac3581;let _0x389a51,_0x40c4e3;return this[_0x56b114(0x243)]?.[_0x56b114(0x230)]?(_0x389a51=this[_0x56b114(0x243)][_0x56b114(0x230)][_0x56b114(0x205)](!0x0),_0x40c4e3=this[_0x56b114(0x1da)](_0x389a51)):(_0x389a51=document[_0x56b114(0x1fa)](_0x56b114(0x251)),_0x40c4e3=_0x389a51),{'calculationContainer':_0x389a51,'targetContainer':_0x40c4e3};}[_0xac3581(0x20b)](){const _0x40eabc=_0xac3581,{calculationContainer:_0x72465a,targetContainer:_0x5e5af1}=this[_0x40eabc(0x23d)](),_0x227823=this[_0x40eabc(0x1d7)]();this[_0x40eabc(0x260)](_0x72465a,_0x227823);const _0x84360a=this[_0x40eabc(0x243)]?.[_0x40eabc(0x230)]||this[_0x40eabc(0x218)],_0x245038=_0x84360a?.[_0x40eabc(0x1e5)];_0x245038?_0x245038[_0x40eabc(0x1e1)](_0x72465a):document[_0x40eabc(0x1d8)][_0x40eabc(0x1e1)](_0x72465a),_0x72465a[_0x40eabc(0x1e6)]=_0x5e5af1;const _0x2c3705=this[_0x40eabc(0x25c)](_0x245038||null);return _0x72465a[_0x40eabc(0x20c)],_0x72465a[_0x40eabc(0x220)]=_0x2c3705,_0x72465a;}[_0xac3581(0x1ee)](_0x1d6aff,_0x1c617f){const _0x8aaae5=_0xac3581,_0x4a0cff=_0x1d6aff[_0x8aaae5(0x1e6)]||_0x1d6aff,_0x2b1762=[],{rowCount:_0x45cfe7}=this[_0x8aaae5(0x225)](_0x4a0cff,_0x1c617f);if(_0x45cfe7<=this[_0x8aaae5(0x1e4)][_0x8aaae5(0x214)])return _0x2b1762;const _0x4119ba=_0x1c617f[_0x8aaae5(0x1d9)]();for(;_0x4119ba[_0x8aaae5(0x1fc)]>0x0;){if(this[_0x8aaae5(0x24a)](_0x1d6aff,_0x4a0cff,_0x4119ba)){const _0x107063=_0x1c617f[_0x8aaae5(0x262)](_0xb6a7ee=>!_0x4119ba[_0x8aaae5(0x21e)](_0xb6a7ee));_0x2b1762[_0x8aaae5(0x23b)](..._0x107063);break;}if(!_0x4119ba[_0x8aaae5(0x1f4)]())break;}return _0x2b1762;}[_0xac3581(0x225)](_0x5bef24,_0x34c2b9){const _0x3f87ec=_0xac3581;_0x5bef24[_0x3f87ec(0x224)]='',_0x34c2b9[_0x3f87ec(0x1ff)](_0x196437=>{const _0x3718f3=_0x3f87ec;if(_0x196437[_0x3718f3(0x230)]){const _0x358001=_0x196437[_0x3718f3(0x230)][_0x3718f3(0x205)](!0x0);_0x5bef24[_0x3718f3(0x1e1)](_0x358001);}}),_0x5bef24[_0x3f87ec(0x20c)];const _0x31dc0a=_0x5bef24[_0x3f87ec(0x1f7)],_0x45bffe=[];return Array[_0x3f87ec(0x21f)](_0x31dc0a)[_0x3f87ec(0x1ff)](_0x3805e4=>{const _0x255516=_0x3f87ec,_0x2a7588=_0x3805e4[_0x255516(0x221)]()[_0x255516(0x1eb)];_0x45bffe[_0x255516(0x26a)](_0x45a1bc=>Math[_0x255516(0x22b)](_0x45a1bc-_0x2a7588)<this[_0x255516(0x1e4)][_0x255516(0x23a)])||_0x45bffe[_0x255516(0x23b)](_0x2a7588);}),{'rowCount':_0x45bffe[_0x3f87ec(0x1fc)]};}[_0xac3581(0x268)](){const _0x2e962e=_0xac3581,_0x3da1e9=document[_0x2e962e(0x1fa)](_0x2e962e(0x20f));return _0x3da1e9[_0x2e962e(0x240)]=this[_0x2e962e(0x1e4)][_0x2e962e(0x22d)][_0x2e962e(0x231)],this[_0x2e962e(0x1e4)][_0x2e962e(0x22d)][_0x2e962e(0x1f2)]&&_0x3da1e9[_0x2e962e(0x204)][_0x2e962e(0x207)](this[_0x2e962e(0x1e4)][_0x2e962e(0x22d)][_0x2e962e(0x1f2)]),_0x3da1e9[_0x2e962e(0x259)]=_0x2e962e(0x1f9),_0x3da1e9;}[_0xac3581(0x24a)](_0x1fd956,_0x1d7f08,_0x5875bb){const _0x38d28b=_0xac3581;this[_0x38d28b(0x225)](_0x1d7f08,_0x5875bb);const _0x5569c5=this[_0x38d28b(0x268)]();_0x1fd956[_0x38d28b(0x1e1)](_0x5569c5),_0x1fd956[_0x38d28b(0x20c)];const _0x683af2=[..._0x1d7f08[_0x38d28b(0x1f7)],_0x5569c5],_0x3587cf=[];_0x683af2[_0x38d28b(0x1ff)](_0x264c0c=>{const _0x176952=_0x38d28b,_0x1f90b9=_0x264c0c[_0x176952(0x221)]()[_0x176952(0x1eb)];_0x3587cf[_0x176952(0x26a)](_0x5734ae=>Math[_0x176952(0x22b)](_0x5734ae-_0x1f90b9)<this[_0x176952(0x1e4)][_0x176952(0x23a)])||_0x3587cf[_0x176952(0x23b)](_0x1f90b9);});const _0x389bc5=_0x3587cf[_0x38d28b(0x1fc)];return _0x5569c5[_0x38d28b(0x1fb)](),_0x389bc5<=this[_0x38d28b(0x1e4)][_0x38d28b(0x214)];}[_0xac3581(0x219)](_0x44b6b4,_0x536155){const _0xf3130e=_0xac3581;this[_0xf3130e(0x228)][_0xf3130e(0x216)](),this[_0xf3130e(0x212)][_0xf3130e(0x216)](),_0x44b6b4[_0xf3130e(0x1ff)](_0x21ed4e=>{const _0x8d9364=_0xf3130e;_0x536155[_0x8d9364(0x21e)](_0x21ed4e)?this[_0x8d9364(0x212)][_0x8d9364(0x207)](_0x21ed4e):this[_0x8d9364(0x228)][_0x8d9364(0x207)](_0x21ed4e);});}[_0xac3581(0x22e)](_0x4f3f1c){const _0x2f1f30=_0xac3581;if(_0x4f3f1c>0x0&&!this[_0x2f1f30(0x244)]&&this[_0x2f1f30(0x201)](),_0x4f3f1c>0x0&&this[_0x2f1f30(0x244)]){const _0x1ffa9c=''+this[_0x2f1f30(0x1e4)][_0x2f1f30(0x264)]+(_0x4f3f1c<0x63?_0x4f3f1c:'99');this[_0x2f1f30(0x244)][_0x2f1f30(0x1f6)]=_0x1ffa9c;}this[_0x2f1f30(0x21c)](),this[_0x2f1f30(0x250)](),this[_0x2f1f30(0x1ea)]();}[_0xac3581(0x24f)](_0x188828,_0x57a7e0){const _0x2fce94=_0xac3581;this[_0x2fce94(0x219)](_0x188828,_0x57a7e0),this[_0x2fce94(0x22e)](_0x57a7e0[_0x2fce94(0x1fc)]);}[_0xac3581(0x1e3)](){const _0x266365=_0xac3581;this[_0x266365(0x218)]&&_0x266365(0x1f1)!=typeof IntersectionObserver&&(this[_0x266365(0x23c)]=new IntersectionObserver(_0x53e15b=>{const _0x1bae1b=_0x266365;_0x53e15b[0x0][_0x1bae1b(0x215)]&&this[_0x1bae1b(0x23e)]&&requestAnimationFrame(()=>{const _0x4404b1=_0x1bae1b;this[_0x4404b1(0x210)]();});},{'threshold':0.01,'rootMargin':_0x266365(0x248)}),this[_0x266365(0x23c)][_0x266365(0x232)](this[_0x266365(0x218)]));}[_0xac3581(0x25e)](){const _0x19dd20=_0xac3581;if(!this[_0x19dd20(0x218)])return!0x1;if(!this[_0x19dd20(0x218)][_0x19dd20(0x22a)])return!0x1;const _0x558e2f=this[_0x19dd20(0x218)][_0x19dd20(0x221)]();if(0x0===_0x558e2f[_0x19dd20(0x238)]||0x0===_0x558e2f[_0x19dd20(0x25d)])return!0x1;const _0x4bd77b=window[_0x19dd20(0x223)]||document[_0x19dd20(0x265)][_0x19dd20(0x235)],_0x22533a=window[_0x19dd20(0x222)]||document[_0x19dd20(0x265)][_0x19dd20(0x217)],_0x5f3928=0xc8;return _0x558e2f[_0x19dd20(0x247)]>=-0xc8&&_0x558e2f[_0x19dd20(0x1eb)]<=_0x4bd77b+_0x5f3928&&_0x558e2f[_0x19dd20(0x254)]>=-0xc8&&_0x558e2f[_0x19dd20(0x257)]<=_0x22533a+_0x5f3928;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x688899=_0x1112;(function(_0x330080,_0x4e6726){const _0x1e1c1e=_0x1112,_0x26be0e=_0x330080();while(!![]){try{const _0x3918d0=parseInt(_0x1e1c1e(0xbe))/0x1+parseInt(_0x1e1c1e(0xc9))/0x2+-parseInt(_0x1e1c1e(0xc2))/0x3+-parseInt(_0x1e1c1e(0xb1))/0x4+parseInt(_0x1e1c1e(0xb2))/0x5+-parseInt(_0x1e1c1e(0xc3))/0x6*(parseInt(_0x1e1c1e(0xac))/0x7)+-parseInt(_0x1e1c1e(0xb9))/0x8*(-parseInt(_0x1e1c1e(0xca))/0x9);if(_0x3918d0===_0x4e6726)break;else _0x26be0e['push'](_0x26be0e['shift']());}catch(_0x2af5f1){_0x26be0e['push'](_0x26be0e['shift']());}}}(_0x2c26,0x2c884));function _0x2c26(){const _0x5a37c9=['type','removeContextItemChip','span','locale','tooltip','ck-ai-chat-context-chip__label','content','_isAnimationOnEnterEnabled','_createIconView','isLoading','readonly','add','bindTemplate','render','itemType','slice','_createTemplateAttributes','length','webkitAnimationEnd','document','selection','bind','ck-ai-chat-context-controls__chip-tooltip','56bQwQGr','element','_createTemplateChildren','animationend','ck-hidden','794392jFLHCE','1570790dzLefo','ck-ai-chat-context-chip_new-chip','_createLoaderIcon','ck-ai-chat-context-chip','_createRemoveButton','isVisible','removeEventListener','616DoYjqz','extendTemplate','_initializeProperties','execute','_createLabelElement','76945ovIXGK','_handleAnimationEndOnce','set','label','815808aBEOSd','135798Cetlhe','div','ck-ai-chat-context-chip_document','small','uiId','fire','54660xGfAix','48573OKhEPH','_setupTemplate','addEventListener','remove','ck-ai-chat-context-chip_wide','disableAnimationOnEnter','lastIndexOf','_setupRemoveButtonEvent','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','ck-ai-chat-context-chip__type-icon','classList','setTemplate'];_0x2c26=function(){return _0x5a37c9;};return _0x2c26();}import{ButtonView as _0x420903,IconView as _0x277819}from'ckeditor5/src/ui.js';function _0x1112(_0x473737,_0x30827d){const _0x2c265b=_0x2c26();return _0x1112=function(_0x1112fd,_0x5a7049){_0x1112fd=_0x1112fd-0x94;let _0x31db72=_0x2c265b[_0x1112fd];return _0x31db72;},_0x1112(_0x473737,_0x30827d);}import{IconClose as _0xb77878,IconDocument as _0x5f6399,IconFileUpload as _0xa92116,IconLink as _0x48155d,IconSelection as _0x501bb4}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x29445a}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0xe85017}from'../../../aicore/ui/aispinner.js';const xn={'file':_0xa92116,'document':_0x5f6399,'web-resource':_0x48155d,'text':_0xa92116,'selection':_0x501bb4,'mcp-tool-context':_0x5f6399},bn=_0x688899(0xb5),wn=_0x688899(0xce),Tn=_0x688899(0xc5),En=_0x688899(0x9a),fn=_0x688899(0xd3),An=_0x688899(0xab),Cn='n';export class AIChatContextItemButtonView extends _0x420903{constructor(_0x5e743d,_0x37adcc,_0xf5a6c1,_0x54f7f6,_0x4e9bd9=!0x1){const _0x531169=_0x688899;super(_0x5e743d),this[_0x531169(0x9c)]=_0x54f7f6,this[_0x531169(0xbb)](_0x37adcc,_0xf5a6c1,_0x4e9bd9),this[_0x531169(0xcb)]();}[_0x688899(0xa2)](){const _0x821ff0=_0x688899;super[_0x821ff0(0xa2)](),this[_0x821ff0(0x9c)]&&this[_0x821ff0(0xad)]&&(this[_0x821ff0(0xad)][_0x821ff0(0xd4)][_0x821ff0(0xa0)](_0x821ff0(0xb3)),this[_0x821ff0(0xbf)](this[_0x821ff0(0xad)],()=>{const _0x35cfd5=_0x821ff0;this[_0x35cfd5(0xad)]&&this[_0x35cfd5(0xad)][_0x35cfd5(0xd4)][_0x35cfd5(0xcd)](_0x35cfd5(0xb3));}));}[_0x688899(0xcf)](){const _0x5b39b8=_0x688899;this[_0x5b39b8(0x9c)]=!0x1,this[_0x5b39b8(0xad)]&&this[_0x5b39b8(0xad)][_0x5b39b8(0xd4)][_0x5b39b8(0xcd)](_0x5b39b8(0xb3));}[_0x688899(0xbb)](_0x1c9ba3,_0x1d35f8,_0x6515d2){const _0x1c361b=_0x688899;this[_0x1c361b(0xc0)](_0x1c361b(0xc1),_0x1c9ba3[_0x1c361b(0xc1)]),this[_0x1c361b(0xc0)](_0x1c361b(0x99),!0x0),this[_0x1c361b(0xc0)](_0x1c361b(0xa3),_0x1c9ba3[_0x1c361b(0x95)]),this[_0x1c361b(0xc0)]('id',_0x1c9ba3[_0x1c361b(0xc7)]),this[_0x1c361b(0xc0)](_0x1c361b(0x9f),_0x1d35f8),this[_0x1c361b(0xc0)](_0x1c361b(0x9e),_0x6515d2);}[_0x688899(0xcb)](){const _0x46ea50=_0x688899,_0x14dc8a=this[_0x46ea50(0x9d)](),_0x501cce=this[_0x46ea50(0xb6)](),_0x59e522=this[_0x46ea50(0xa1)];this[_0x46ea50(0x94)]({'tag':_0x46ea50(0xc4),'attributes':this[_0x46ea50(0xa5)](_0x59e522),'children':this[_0x46ea50(0xae)](_0x14dc8a,_0x501cce,_0x59e522)});}[_0x688899(0xa5)](_0x2e1c1f){const _0x2ae01e=_0x688899;return{'class':[bn,_0x2e1c1f['if'](_0x2ae01e(0xa3),Tn,_0x1a2f37=>_0x2ae01e(0xa8)==_0x1a2f37),_0x2e1c1f['if'](_0x2ae01e(0xa3),wn,_0x3c38ab=>_0x2ae01e(0xa9)==_0x3c38ab)],'data-cke-tooltip-text':_0x2e1c1f['to'](_0x2ae01e(0xc1),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x688899(0xae)](_0x39174b,_0x4cbc54,_0x57d476){const _0xb4d05e=_0x688899,_0x3276fc=this[_0xb4d05e(0xbd)](_0x57d476),_0x3f6107=this[_0xb4d05e(0xb4)]();return this[_0xb4d05e(0x9f)]?[_0x39174b,_0x3276fc]:[_0x39174b,_0x3f6107,_0x3276fc,_0x4cbc54];}[_0x688899(0xbd)](_0x434726){const _0xf0c53=_0x688899;return{'tag':_0xf0c53(0x97),'attributes':{'class':En},'children':[{'text':_0x434726['to'](_0xf0c53(0xc1))}]};}[_0x688899(0xb6)](){const _0x1e18ca=_0x688899,_0x51b392=new _0x420903(this[_0x1e18ca(0x98)]);return _0x51b392[_0x1e18ca(0xc0)]({'label':_0x29445a(this[_0x1e18ca(0x98)],_0x1e18ca(0xd2)),'icon':_0xb77878}),this[_0x1e18ca(0xd1)](_0x51b392),_0x51b392;}[_0x688899(0xd1)](_0x293c34){const _0x33f2f4=_0x688899;_0x293c34['on'](_0x33f2f4(0xbc),()=>{const _0x39dcb5=_0x33f2f4;this[_0x39dcb5(0xc8)](_0x39dcb5(0x96),this['id']);});}[_0x688899(0x9d)](){const _0x4cb08c=_0x688899,_0x21f59c=this[_0x4cb08c(0xa1)],_0x45e9ce=new _0x277819();return _0x45e9ce[_0x4cb08c(0x9b)]=xn[this[_0x4cb08c(0xa3)]],_0x45e9ce[_0x4cb08c(0xba)]({'attributes':{'class':[fn,_0x21f59c['if'](_0x4cb08c(0x9e),_0x4cb08c(0xb0),_0x1c3dba=>_0x1c3dba)]}}),_0x45e9ce;}[_0x688899(0xbf)](_0x5ae3a0,_0x337b75){const _0x1a3258=_0x688899;if(!_0x5ae3a0)return;const _0x409141=()=>{const _0x32c96e=_0x1112;_0x337b75(),_0x5ae3a0[_0x32c96e(0xb8)](_0x32c96e(0xaf),_0x409141),_0x5ae3a0[_0x32c96e(0xb8)](_0x32c96e(0xa7),_0x409141);};_0x5ae3a0[_0x1a3258(0xcc)](_0x1a3258(0xaf),_0x409141),_0x5ae3a0[_0x1a3258(0xcc)](_0x1a3258(0xa7),_0x409141);}[_0x688899(0xb4)](){const _0x5b2322=_0x688899,_0x5c3b3a=new _0xe85017(_0x5b2322(0xc6));return _0x5c3b3a[_0x5b2322(0xaa)](_0x5b2322(0xb7))['to'](this,_0x5b2322(0x9e),_0x3b0ec5=>_0x3b0ec5),_0x5c3b3a;}}function In(_0x111c53){const _0x298ba2=_0x688899;if(!_0x111c53)return _0x111c53;if(_0x111c53[_0x298ba2(0xa6)]<=0x78)return _0x111c53;const _0x1755f8=_0x111c53[_0x298ba2(0xa4)](0x0,0x78),_0x15a090=_0x1755f8[_0x298ba2(0xd0)]('\x20');return(_0x15a090>0x0?_0x1755f8[_0x298ba2(0xa4)](0x0,_0x15a090):_0x1755f8)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x42d8(){const _0x250184=['ck-button-icon','render','keystrokes','4081869rmcEAx','AI_CHAT_CONTEXT_URL_PLACEHOLDER','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','confirmButton','urlInputField','getValue','errorText','locale','submitUrl','AI_CHAT_CONTEXT_URL_INVALID_ERROR','clearError','div','3116vnWUia','ck-labeled-field-view_empty','_createBackButton','input','ck-ai-chat-context-controls__url-form','6iAvFQp','children','_createConfirmButton','shift+tab','form','length','_isValidUrl','ck-button-icon\x20ck-button-back','_setupTemplate','157HIKcTN','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','value','stop','fieldView','isEnabled','AI_CHAT_CONTEXT_URL_ADD_URL','backButton','cancel','setTemplate','listenTo','_createUrlInputField','focus','_focusables','esc','3195DWbslw','AI_CHAT_CONTEXT_URL_LABEL','trim','182904aTFEDM','\x20ck-hidden','_updateConfirmButtonState','refreshBalloon','forEach','135OlsAVM','ck-ai-chat-context-controls__url-input-section','focusTracker','tab','162218qbdsTL','add','element','createCollection','_handleSubmit','52wpxQxy','_setupEventHandlers','clear','change:withBackButton','setError','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','focusCycler','submit','withBackButton','fire','_setupKeystrokes','1916950ecKjlO','destroy','set','251748sbKXWa','execute'];_0x42d8=function(){return _0x250184;};return _0x42d8();}const _0x8ca14a=_0x5716;(function(_0x5719da,_0x2eb714){const _0x139a1e=_0x5716,_0x596b57=_0x5719da();while(!![]){try{const _0x441731=parseInt(_0x139a1e(0x11e))/0x1*(parseInt(_0x139a1e(0x110))/0x2)+parseInt(_0x139a1e(0xff))/0x3+-parseInt(_0x139a1e(0x13e))/0x4*(parseInt(_0x139a1e(0x12d))/0x5)+parseInt(_0x139a1e(0x115))/0x6*(parseInt(_0x139a1e(0x139))/0x7)+parseInt(_0x139a1e(0x130))/0x8*(-parseInt(_0x139a1e(0x135))/0x9)+-parseInt(_0x139a1e(0xfc))/0xa+parseInt(_0x139a1e(0x104))/0xb;if(_0x441731===_0x2eb714)break;else _0x596b57['push'](_0x596b57['shift']());}catch(_0x247027){_0x596b57['push'](_0x596b57['shift']());}}}(_0x42d8,0x2be74));import{FocusTracker as _0x162e32,KeystrokeHandler as _0x5d9837}from'ckeditor5/src/utils.js';import{ButtonView as _0x2e44f0,FocusCycler as _0x427ad9,LabeledFieldView as _0x2fee12,View as _0x520914,FormHeaderView as _0x592a81,createLabeledInputText as _0x3f3116,submitHandler as _0x54dd92}from'ckeditor5/src/ui.js';import{IconCheck as _0x4b6deb,IconPreviousArrow as _0x282a22}from'@ckeditor/ckeditor5-icons';function _0x5716(_0x2e70c8,_0x219805){const _0x42d85d=_0x42d8();return _0x5716=function(_0x571632,_0x342b26){_0x571632=_0x571632-0xf7;let _0x6fc28d=_0x42d85d[_0x571632];return _0x6fc28d;},_0x5716(_0x2e70c8,_0x219805);}import{getTranslation as _0x323bb0}from'../../../aicore/utils/common-translations.js';const rh=_0x8ca14a(0x114),nh=_0x8ca14a(0x136);export class AIChatContextPanelUrlInputView extends _0x520914{[_0x8ca14a(0x137)];[_0x8ca14a(0x103)];[_0x8ca14a(0x12b)];[_0x8ca14a(0xf7)];[_0x8ca14a(0x108)];[_0x8ca14a(0x125)];[_0x8ca14a(0x107)];constructor(_0x590587){const _0x325991=_0x8ca14a;super(_0x590587),this[_0x325991(0x137)]=new _0x162e32(),this[_0x325991(0x103)]=new _0x5d9837(),this[_0x325991(0x125)]=this[_0x325991(0x112)](),this[_0x325991(0x108)]=this[_0x325991(0x129)](),this[_0x325991(0x107)]=this[_0x325991(0x117)](),this[_0x325991(0x12b)]=this[_0x325991(0x13c)]([this[_0x325991(0x125)],this[_0x325991(0x108)],this[_0x325991(0x107)]]),this[_0x325991(0xf7)]=new _0x427ad9({'focusables':this[_0x325991(0x12b)],'focusTracker':this[_0x325991(0x137)],'keystrokeHandler':this[_0x325991(0x103)],'actions':{'focusPrevious':_0x325991(0x118),'focusNext':_0x325991(0x138)}}),this[_0x325991(0xfe)](_0x325991(0xf9),!0x0),this[_0x325991(0x11d)](),this[_0x325991(0x13f)](),this[_0x325991(0xfb)]();}[_0x8ca14a(0x102)](){const _0x3ffeba=_0x8ca14a;super[_0x3ffeba(0x102)](),this[_0x3ffeba(0x12b)][_0x3ffeba(0x134)](_0x90aa25=>{const _0x478d97=_0x3ffeba;this[_0x478d97(0x137)][_0x478d97(0x13a)](_0x90aa25[_0x478d97(0x13b)]),this[_0x478d97(0x103)][_0x478d97(0x128)](_0x90aa25[_0x478d97(0x13b)]);}),_0x54dd92({'view':this}),this[_0x3ffeba(0x12a)]();}[_0x8ca14a(0xfd)](){const _0xe5b183=_0x8ca14a;super[_0xe5b183(0xfd)](),this[_0xe5b183(0x137)][_0xe5b183(0xfd)](),this[_0xe5b183(0x103)][_0xe5b183(0xfd)]();}[_0x8ca14a(0x12a)](){const _0x4bd6a0=_0x8ca14a;this[_0x4bd6a0(0x108)][_0x4bd6a0(0x12a)]();}[_0x8ca14a(0x109)](){const _0x17e80a=_0x8ca14a;return this[_0x17e80a(0x108)][_0x17e80a(0x122)][_0x17e80a(0x13b)]?.[_0x17e80a(0x120)]?.[_0x17e80a(0x12f)]()||'';}[_0x8ca14a(0x140)](){const _0x5c37df=_0x8ca14a;this[_0x5c37df(0x108)][_0x5c37df(0x122)][_0x5c37df(0x13b)][_0x5c37df(0x120)]='',this[_0x5c37df(0x108)][_0x5c37df(0x10a)]=null,this[_0x5c37df(0x107)][_0x5c37df(0x123)]=!0x1;}[_0x8ca14a(0x142)](_0x4d6944){const _0xa85f7f=_0x8ca14a;this[_0xa85f7f(0x108)][_0xa85f7f(0x10a)]=_0x4d6944,this[_0xa85f7f(0x132)](),this[_0xa85f7f(0xfa)](_0xa85f7f(0x133));}[_0x8ca14a(0x10e)](){const _0x2d9d8f=_0x8ca14a;this[_0x2d9d8f(0x108)][_0x2d9d8f(0x10a)]=null,this[_0x2d9d8f(0x132)]();}[_0x8ca14a(0x112)](){const _0x361225=_0x8ca14a,_0x5c2191=new _0x2e44f0(this[_0x361225(0x10b)]);return _0x5c2191[_0x361225(0xfe)]({'icon':_0x282a22,'tooltip':_0x323bb0(this[_0x361225(0x10b)],_0x361225(0x11f)),'tooltipPosition':'n','class':[_0x361225(0x11c)]}),this['on'](_0x361225(0x141),(_0x269221,_0x29f024,_0x5d464f)=>{const _0x462598=_0x361225;_0x5c2191[_0x462598(0xfe)]({'class':[_0x462598(0x11c)+(_0x5d464f?'':_0x462598(0x131))]});}),_0x5c2191;}[_0x8ca14a(0x129)](){const _0x2c5444=_0x8ca14a,_0x1ef6aa=new _0x2fee12(this[_0x2c5444(0x10b)],_0x3f3116);return _0x1ef6aa[_0x2c5444(0xfe)]({'label':_0x323bb0(this[_0x2c5444(0x10b)],_0x2c5444(0x12e)),'class':_0x2c5444(0x111)}),_0x1ef6aa[_0x2c5444(0x122)][_0x2c5444(0xfe)]({'placeholder':_0x323bb0(this[_0x2c5444(0x10b)],_0x2c5444(0x105))}),_0x1ef6aa;}[_0x8ca14a(0x117)](){const _0x48d68c=_0x8ca14a,_0x13580a=new _0x2e44f0(this[_0x48d68c(0x10b)]);return _0x13580a[_0x48d68c(0xfe)]({'icon':_0x4b6deb,'tooltip':_0x323bb0(this[_0x48d68c(0x10b)],_0x48d68c(0x124)),'tooltipPosition':'n','class':_0x48d68c(0x101),'type':_0x48d68c(0xf8),'isEnabled':!0x1}),_0x13580a;}[_0x8ca14a(0x11d)](){const _0xdf8c92=_0x8ca14a,_0x45ee58=new _0x592a81(this[_0xdf8c92(0x10b)],{'label':_0x323bb0(this[_0xdf8c92(0x10b)],_0xdf8c92(0x124)),'class':_0xdf8c92(0x106)});_0x45ee58[_0xdf8c92(0x116)][_0xdf8c92(0x13a)](this[_0xdf8c92(0x125)],0x0),this[_0xdf8c92(0x127)]({'tag':_0xdf8c92(0x119),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x45ee58,{'tag':_0xdf8c92(0x10f),'attributes':{'class':nh},'children':[this[_0xdf8c92(0x108)],this[_0xdf8c92(0x107)]]}]});}[_0x8ca14a(0x13f)](){const _0x298e5f=_0x8ca14a;this[_0x298e5f(0x125)]['on'](_0x298e5f(0x100),()=>{const _0x5ac23d=_0x298e5f;this[_0x5ac23d(0x140)](),this[_0x5ac23d(0xfa)](_0x5ac23d(0x126));}),this[_0x298e5f(0x108)][_0x298e5f(0x122)]['on'](_0x298e5f(0x113),()=>{const _0x2a9d09=_0x298e5f;this[_0x2a9d09(0x10e)](),this[_0x2a9d09(0x132)](),this[_0x2a9d09(0xfa)](_0x2a9d09(0x133));}),this['on'](_0x298e5f(0xf8),_0x176010=>{const _0x45f8ee=_0x298e5f;_0x176010[_0x45f8ee(0x121)](),this[_0x45f8ee(0x13d)]();});}[_0x8ca14a(0xfb)](){const _0x2d1454=_0x8ca14a;this[_0x2d1454(0x103)][_0x2d1454(0xfe)](_0x2d1454(0x12c),(_0x36fe4d,_0xe9295)=>{const _0x3fbbba=_0x2d1454;this[_0x3fbbba(0x140)](),this[_0x3fbbba(0xfa)](_0x3fbbba(0x126)),_0xe9295();});}[_0x8ca14a(0x13d)](){const _0x152155=_0x8ca14a,_0x5c61fc=this[_0x152155(0x109)]()[_0x152155(0x12f)]();_0x5c61fc?this[_0x152155(0x11b)](_0x5c61fc)?(this[_0x152155(0x10e)](),this[_0x152155(0xfa)](_0x152155(0x10c),_0x5c61fc)):this[_0x152155(0x142)](_0x323bb0(this[_0x152155(0x10b)],_0x152155(0x10d))):this[_0x152155(0x142)](_0x323bb0(this[_0x152155(0x10b)],_0x152155(0x143)));}[_0x8ca14a(0x132)](){const _0x425654=_0x8ca14a,_0xe533e9=this[_0x425654(0x109)]()[_0x425654(0x12f)](),_0x50fcb2=!!this[_0x425654(0x108)][_0x425654(0x10a)];this[_0x425654(0x107)][_0x425654(0x123)]=_0xe533e9[_0x425654(0x11a)]>0x0&&!_0x50fcb2;}[_0x8ca14a(0x11b)](_0x14912b){try{return!!new URL(_0x14912b);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b0ad8=_0x3c06;function _0x3c06(_0x51782e,_0x8c60b2){const _0x50a448=_0x50a4();return _0x3c06=function(_0x3c068a,_0x455e74){_0x3c068a=_0x3c068a-0xe2;let _0x40611a=_0x50a448[_0x3c068a];return _0x40611a;},_0x3c06(_0x51782e,_0x8c60b2);}(function(_0x339fea,_0x40898a){const _0x5a403c=_0x3c06,_0x20856d=_0x339fea();while(!![]){try{const _0x11368d=parseInt(_0x5a403c(0x170))/0x1*(parseInt(_0x5a403c(0x106))/0x2)+parseInt(_0x5a403c(0xf1))/0x3+parseInt(_0x5a403c(0xee))/0x4*(parseInt(_0x5a403c(0x16b))/0x5)+parseInt(_0x5a403c(0x10b))/0x6+-parseInt(_0x5a403c(0x15c))/0x7+-parseInt(_0x5a403c(0xf2))/0x8*(-parseInt(_0x5a403c(0x121))/0x9)+-parseInt(_0x5a403c(0x116))/0xa;if(_0x11368d===_0x40898a)break;else _0x20856d['push'](_0x20856d['shift']());}catch(_0x207f4d){_0x20856d['push'](_0x20856d['shift']());}}}(_0x50a4,0x483b4));import{BalloonPanelView as _0x41d54b,ButtonView as _0x4a900c,clickOutsideHandler as _0x89e7d6,FileDialogButtonView as _0x9d2f34,IconView as _0x398130,View as _0x2692ea}from'ckeditor5/src/ui.js';function _0x50a4(){const _0x392199=['_resourcesBalloonView','_createAddContextButtonView','addFileToContext','clearConversationContextItems','isVisible','showAddContextBalloonPanel','_overflowManager','setAddContextOptions','isOn','_setAddContextButtonEnabled','get','ck-ai-chat','showUrlBalloonPanel','ck-ai-chat-context-controls__balloon-button','_showSourceResourcesBalloon','ck-ai-chat-context-chips-wrapper-balloon','searchInputVisibleFrom','_createArrowView','_setBalloonPanelContent','_createAddContextBalloonPanelView','_handleUrlSubmit','populateSourceResourceBalloon','closest','menuitem','__arrow','ck-ai-chat-context-controls__add-context-button','showSourceResourcesBalloon','southArrowNorthWest','find','urls','render','_addContextBalloonPanelView','northArrowSouth','_setupUrlBalloonClickOutsideHandler','setTemplate','_currentContextsChips','_addContextBalloonConfig','ck-ai-chat-controls-button','addDocumentToContext','_createUrlBalloonPanelView','_removeContextFromCollection','focus','AI_CHAT_CONTEXT_FILE_LABEL','ck-reset_all-excluded','div','isAnyResourceBalloonVisible','ck-ai-chat-context-controls','hideUrlBalloonPanel','3443902iYbkxq','ck-ai-chat-controls_context_show-more-button','reorganizeChips','add','_addContextToCollection','_urlBalloonPanelView','_urlInputView','_createBalloonButton','southArrowNorth','ck-ai-chat-context-controls__add-context-balloon-panel','loadSourceResources','closeSourceResourceBalloon','current','removeContextItemChip','execute','920VbPqnm','updateResourceState','refreshBalloon','createCollection','AI_CHAT_CONTEXT_ADD_CONTEXT','10cqbTdz','executeCustomItemCallback','tooltip','children','submitUrl','buttonView','length','defaultPositions','customItem','addResourceToContext','arrowView','_toggleAddContextBalloon','ck-ai-chat-context-controls__balloon-button-source','fire','AI_CHAT_CONTEXT_URL_LABEL','_hasExactlyOneSource','bodyCollection','body','isReadOnly','icon','customItems','6788zxdiRR','pin','addContextButtonView','1202520rulHjJ','3220984WganAe','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','isEnabled','locale','content','element','withBackButton','_handleAddContextButtonClick','_setupAllBalloonClickOutsideHandlers','cancel','destroy','clearCurrentContextItems','_bindEventHandlers','show','northArrowSouthWest','_createContextButton','southArrowNorthEast','bind','balloonView','setConversationContext','26066SxbdMf','isHidden','_conversationContextsChips','extendTemplate','type','10098SLUFjS','overflowChips','removeContextItem','hide','_addUrlContent','setContainerElement','_createResourcesBalloonView','remove','sources','ck-ai-chat-context-controls__pending-contexts','conversation','4598780xqvEde','ck-ai-chat-context-controls__show-more-balloon-panel','document','_setupTemplate','_createBaseBalloonPanel','_getLimiterElement','setContextItemLoading','isLoading','_setupAddContextBalloonClickOutsideHandler','set','enabled','9EJDSDu','hideAddContextBalloonPanel','label','northArrowSouthEast','clear','files','addContextItem','done','ck-ai-chat-context-controls__url-balloon-panel','source','addUrlToContext'];_0x50a4=function(){return _0x392199;};return _0x50a4();}import{IconBrowseFiles as _0x910cbb,IconDocument as _0x3150ef,IconDocumentOutline as _0x1daadd,IconDropdownArrow as _0x5525c4,IconLink as _0x5d88b2,IconPaperClip as _0x38366d}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x39703c}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x4fb14e}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x2417ef}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x770acc}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x22cb4f}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x4b0ad8(0x152),_0x4b0ad8(0x12e),_0x4b0ad8(0x12b),_0x4b0ad8(0xe2),_0x4b0ad8(0x10d),_0x4b0ad8(0x166),_0x4b0ad8(0x171)];const Uo=_0x4b0ad8(0x15a),Lo=_0x4b0ad8(0x114),No=_0x4b0ad8(0x165),Mo=_0x4b0ad8(0x145),Ho=_0x4b0ad8(0x129),jo=_0x4b0ad8(0x139),Fo=_0x4b0ad8(0xe5),Xo=_0x4b0ad8(0x151),Do=_0x4b0ad8(0x13b),$o=_0x4b0ad8(0x15d),Wo=_0x4b0ad8(0x117),qo=_0x4b0ad8(0x137),zo=[_0x41d54b[_0x4b0ad8(0x177)][_0x4b0ad8(0x100)],_0x41d54b[_0x4b0ad8(0x177)][_0x4b0ad8(0x14c)],_0x41d54b[_0x4b0ad8(0x177)][_0x4b0ad8(0x124)],_0x41d54b[_0x4b0ad8(0x177)][_0x4b0ad8(0x147)],_0x41d54b[_0x4b0ad8(0x177)][_0x4b0ad8(0x164)],_0x41d54b[_0x4b0ad8(0x177)][_0x4b0ad8(0x102)]];export class AIChatContextPanelView extends _0x2692ea{[_0x4b0ad8(0xf0)];[_0x4b0ad8(0x14f)]=this[_0x4b0ad8(0x16e)]();[_0x4b0ad8(0x108)]=this[_0x4b0ad8(0x16e)]();[_0x4b0ad8(0x132)];[_0x4b0ad8(0x14b)];[_0x4b0ad8(0x161)];[_0x4b0ad8(0x162)];[_0x4b0ad8(0x12c)];[_0x4b0ad8(0x150)];[_0x4b0ad8(0xe8)]=!0x1;[_0x4b0ad8(0xe9)];constructor(_0x2840dd,_0x13ee10){const _0x52c372=_0x4b0ad8;super(_0x2840dd),this[_0x52c372(0xe9)]=_0x13ee10[_0x52c372(0xe9)],this[_0x52c372(0x14f)]=this[_0x52c372(0x16e)](),this[_0x52c372(0x108)]=this[_0x52c372(0x16e)](),this[_0x52c372(0xf0)]=this[_0x52c372(0x12d)](_0x2840dd),this[_0x52c372(0x14b)]=this[_0x52c372(0x13f)](_0x2840dd),this[_0x52c372(0x161)]=this[_0x52c372(0x153)](_0x2840dd),this[_0x52c372(0x12c)]=this[_0x52c372(0x111)](_0x2840dd,_0x13ee10);const _0x5938ba={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':Do,'controlsButton':Xo}};this[_0x52c372(0x132)]=new _0x2417ef(_0x2840dd,this[_0x52c372(0x14f)],_0x5938ba,this[_0x52c372(0xe9)],this),this[_0x52c372(0x150)]={'buttonView':this[_0x52c372(0xf0)],'balloonView':this[_0x52c372(0x14b)],'hideMethod':this[_0x52c372(0x122)][_0x52c372(0x103)](this),'showMethod':this[_0x52c372(0x131)][_0x52c372(0x103)](this)},this[_0x52c372(0x119)](),this[_0x52c372(0xfe)]();}[_0x4b0ad8(0x14a)](){const _0x57bece=_0x4b0ad8;super[_0x57bece(0x14a)](),this[_0x57bece(0xfa)](),this[_0x57bece(0x132)][_0x57bece(0x110)](this[_0x57bece(0xf7)]),this[_0x57bece(0x132)][_0x57bece(0x15e)]();}[_0x4b0ad8(0xfc)](){const _0x595d2b=_0x4b0ad8;super[_0x595d2b(0xfc)](),this[_0x595d2b(0x132)][_0x595d2b(0xfc)](),this[_0x595d2b(0x12c)][_0x595d2b(0xfc)]();}[_0x4b0ad8(0x127)](_0x53c1b1,_0xa6d55d){const _0x51482f=_0x4b0ad8,_0x46d471=this[_0x51482f(0x101)](_0x53c1b1,_0x51482f(0x168),!0x0,_0xa6d55d);this[_0x51482f(0x160)](_0x46d471,this[_0x51482f(0x14f)]),this[_0x51482f(0x132)][_0x51482f(0x15e)]();}[_0x4b0ad8(0x10d)](_0x551215){const _0x24fdb0=_0x4b0ad8;this[_0x24fdb0(0x154)](_0x551215,this[_0x24fdb0(0x14f)]),this[_0x24fdb0(0x154)](_0x551215,this[_0x24fdb0(0x132)][_0x24fdb0(0x10c)]),this[_0x24fdb0(0x132)][_0x24fdb0(0x15e)]();}[_0x4b0ad8(0x11c)](_0x402c35,_0x3cb943){const _0x26a0c0=_0x4b0ad8;let _0x3536e5=this[_0x26a0c0(0x14f)][_0x26a0c0(0x148)](_0x4c1dca=>_0x4c1dca['id']===_0x402c35);_0x3536e5||(_0x3536e5=this[_0x26a0c0(0x132)][_0x26a0c0(0x10c)][_0x26a0c0(0x148)](_0x1793f3=>_0x1793f3['id']===_0x402c35)),_0x3536e5&&(_0x3536e5[_0x26a0c0(0x11d)]=_0x3cb943);}[_0x4b0ad8(0x105)](_0x5a717a){const _0x51af21=_0x4b0ad8;this[_0x51af21(0x108)][_0x51af21(0x125)]();for(const _0x1d189b of _0x5a717a){const _0x23a883=this[_0x51af21(0x101)](_0x1d189b,_0x51af21(0x115),!0x1,!0x1);this[_0x51af21(0x160)](_0x23a883,this[_0x51af21(0x108)]);}}[_0x4b0ad8(0xfd)](){const _0x7498d4=_0x4b0ad8;this[_0x7498d4(0x14f)][_0x7498d4(0x125)](),this[_0x7498d4(0x132)][_0x7498d4(0x125)]();}[_0x4b0ad8(0x12f)](){const _0x37aa04=_0x4b0ad8;this[_0x37aa04(0x108)][_0x37aa04(0x125)]();}[_0x4b0ad8(0x16c)](_0x21cfd2,_0x421ab6,_0x362f70){const _0x1b9e9d=_0x4b0ad8;this[_0x1b9e9d(0x12c)][_0x1b9e9d(0x16c)](_0x21cfd2,_0x421ab6,_0x362f70);}[_0x4b0ad8(0x122)](){const _0x355b0e=_0x4b0ad8;this[_0x355b0e(0xe4)](!0x1);}[_0x4b0ad8(0x131)](){const _0x165584=_0x4b0ad8;this[_0x165584(0xe4)](!0x0);}[_0x4b0ad8(0x15b)](){const _0x2f9a28=_0x4b0ad8;this[_0x2f9a28(0x161)][_0x2f9a28(0x10e)](),this[_0x2f9a28(0xf0)][_0x2f9a28(0x134)]=!0x1,this[_0x2f9a28(0x162)]&&this[_0x2f9a28(0x162)][_0x2f9a28(0x125)]();}[_0x4b0ad8(0x138)](){const _0xa97ec8=_0x4b0ad8;this[_0xa97ec8(0x161)][_0xa97ec8(0xff)](),this[_0xa97ec8(0xf0)][_0xa97ec8(0x134)]=!0x0;}[_0x4b0ad8(0x13a)]({source:_0x1791ab,withBackButton:_0x55cc49}){const _0xd27b71=_0x4b0ad8;this[_0xd27b71(0x12c)][_0xd27b71(0x146)]({'source':_0x1791ab,'withBackButton':_0x55cc49}),this[_0xd27b71(0xf0)][_0xd27b71(0x134)]=!0x0;}[_0x4b0ad8(0x141)](_0x545127,_0x48ca8f,_0x2e3038,_0x1bd6f6){const _0xefcc1c=_0x4b0ad8;this[_0xefcc1c(0x12c)][_0xefcc1c(0x141)](_0x545127,_0x2e3038,_0x1bd6f6);}[_0x4b0ad8(0x167)](_0x5a41a4){const _0xd139e1=_0x4b0ad8;this[_0xd139e1(0x12c)][_0xd139e1(0x167)](_0x5a41a4),this[_0xd139e1(0xf0)][_0xd139e1(0x134)]=!0x1;}[_0x4b0ad8(0x133)](_0x50d962){const _0x285934=_0x4b0ad8;this[_0x285934(0x13e)](this[_0x285934(0x14b)],this[_0x285934(0xf5)],_0x50d962),this[_0x285934(0x135)](_0x50d962);}[_0x4b0ad8(0x135)](_0x4cdd25){const _0x9a444a=_0x4b0ad8,_0x21a6ec=!_0x4cdd25[_0x9a444a(0x118)][_0x9a444a(0x107)]&&_0x4cdd25[_0x9a444a(0x118)][_0x9a444a(0x120)],_0x266020=_0x4cdd25[_0x9a444a(0x149)][_0x9a444a(0x120)],_0x2487b8=_0x4cdd25[_0x9a444a(0x126)][_0x9a444a(0x120)],_0x19b808=_0x4cdd25[_0x9a444a(0x113)][_0x9a444a(0x176)]>0x0,_0x466efb=_0x4cdd25[_0x9a444a(0xed)]&&_0x4cdd25[_0x9a444a(0xed)][_0x9a444a(0x176)]>0x0;this[_0x9a444a(0xf0)][_0x9a444a(0xf4)]=_0x21a6ec||_0x266020||_0x2487b8||_0x19b808||_0x466efb;}[_0x4b0ad8(0x119)](){const _0x1d4ff2=_0x4b0ad8;this[_0x1d4ff2(0x14e)]({'tag':_0x1d4ff2(0x158),'attributes':{'class':[Uo,_0x1d4ff2(0x157)]},'children':[{'tag':_0x1d4ff2(0x158),'attributes':{'class':Lo},'children':this[_0x1d4ff2(0x14f)]}]});}[_0x4b0ad8(0xfe)](){const _0x4f0349=_0x4b0ad8;this[_0x4f0349(0xf0)]['on'](_0x4f0349(0x16a),()=>{const _0x2f2ade=_0x4f0349;this[_0x2f2ade(0xf9)]();});}[_0x4b0ad8(0x12d)](_0x25272e){const _0x3ebcfe=_0x4b0ad8,_0xceda3=new _0x4a900c(_0x25272e);return _0xceda3[_0x3ebcfe(0x11f)]({'label':_0x770acc(_0x25272e,_0x3ebcfe(0x16f)),'class':Xo+'\x20'+Mo,'icon':_0x38366d,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0xceda3;}[_0x4b0ad8(0x13f)](_0x19e09d){const _0x3a788d=_0x4b0ad8;return this[_0x3a788d(0x11a)](_0x19e09d,No);}[_0x4b0ad8(0x153)](_0x48ef3d){const _0x1ccccc=_0x4b0ad8,_0x44a886=this[_0x1ccccc(0x11a)](_0x48ef3d,Ho);return this[_0x1ccccc(0x10f)](_0x44a886,_0x48ef3d),_0x44a886;}[_0x4b0ad8(0x111)](_0x4a71db,_0x860684){const _0x2f4fc1=_0x4b0ad8,_0x34a86a={'searchInputVisibleFrom':_0x860684[_0x2f4fc1(0x13c)],'onBackToContext':()=>{const _0x238cf4=_0x2f4fc1;this[_0x238cf4(0x131)](),this[_0x238cf4(0x14b)][_0x238cf4(0xef)]({'target':this[_0x238cf4(0xf0)][_0x238cf4(0xf7)],'limiter':this[_0x238cf4(0x11b)](),'positions':zo});},'onResourceSelected':(_0x296dff,_0x28907a)=>{const _0x31971e=_0x2f4fc1;this[_0x31971e(0xe6)](_0x31971e(0xe2),{'source':_0x296dff,'resource':_0x28907a});},'onLoadSourceResources':_0x2614dc=>{const _0x5e1afe=_0x2f4fc1;this[_0x5e1afe(0xe6)](_0x5e1afe(0x166),_0x2614dc);},'onBalloonClosed':()=>{const _0x3fe6f8=_0x2f4fc1;this[_0x3fe6f8(0xf0)][_0x3fe6f8(0x134)]=!0x1;},'getLimiterElement':()=>this[_0x2f4fc1(0x11b)](),'getTargetElement':()=>this[_0x2f4fc1(0xf0)][_0x2f4fc1(0xf7)]};return new _0x22cb4f(_0x4a71db,_0x860684[_0x2f4fc1(0xe9)],_0x34a86a);}[_0x4b0ad8(0x11b)](){const _0x1dfe83=_0x4b0ad8;return this[_0x1dfe83(0xf7)]?.[_0x1dfe83(0x142)]('.'+qo)||document[_0x1dfe83(0xea)];}[_0x4b0ad8(0x11a)](_0x3766fe,_0x2254d5){const _0xfbc26b=_0x4b0ad8,_0x3cde9f=new _0x41d54b(_0x3766fe);return _0x3cde9f[_0xfbc26b(0x109)]({'attributes':{'class':_0x2254d5}}),this[_0xfbc26b(0xe9)][_0xfbc26b(0x15f)](_0x3cde9f),_0x3cde9f;}[_0x4b0ad8(0x13e)](_0x1d0ad5,_0x1584b2,_0x493258){const _0x510ced=_0x4b0ad8;if(_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x125)](),!_0x493258[_0x510ced(0x118)][_0x510ced(0x107)]&&_0x493258[_0x510ced(0x118)][_0x510ced(0x120)]){const _0x1233ea=this[_0x510ced(0x163)](_0x1584b2,{'label':_0x770acc(_0x1584b2,_0x510ced(0xf3)),'icon':_0x3150ef});_0x1233ea['on'](_0x510ced(0x16a),()=>{const _0x292ec4=_0x510ced;this[_0x292ec4(0xe6)](_0x292ec4(0x152)),this[_0x292ec4(0x122)]();}),_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x15f)](_0x1233ea);}if(_0x493258[_0x510ced(0x149)][_0x510ced(0x120)]){const _0x2541f6=this[_0x510ced(0x163)](_0x1584b2,{'label':_0x770acc(_0x1584b2,_0x510ced(0xe7)),'icon':_0x5d88b2});_0x2541f6['on'](_0x510ced(0x16a),()=>{const _0xf466d8=_0x510ced;this[_0xf466d8(0x122)](),this[_0xf466d8(0x138)](),this[_0xf466d8(0x161)][_0xf466d8(0xef)]({'target':this[_0xf466d8(0xf0)][_0xf466d8(0xf7)],'limiter':this[_0xf466d8(0x11b)](),'positions':zo}),this[_0xf466d8(0x162)][_0xf466d8(0x155)]();}),_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x15f)](_0x2541f6);}if(_0x493258[_0x510ced(0x126)][_0x510ced(0x120)]){const _0x40dac1=new _0x9d2f34(_0x1584b2);_0x40dac1[_0x510ced(0x11f)]({'label':_0x770acc(_0x1584b2,_0x510ced(0x156)),'icon':_0x910cbb,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0x40dac1['on'](_0x510ced(0x16a),()=>{const _0x1822c9=_0x510ced;this[_0x1822c9(0x122)]();}),_0x40dac1['on'](_0x510ced(0x128),(_0x37a816,_0x4b4a2e)=>{const _0x10fd5d=_0x510ced;this[_0x10fd5d(0xe6)](_0x10fd5d(0x12e),_0x4b4a2e);}),_0x40dac1[_0x510ced(0x172)]=!0x0,_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x15f)](_0x40dac1);}for(const _0x427fd8 of _0x493258[_0x510ced(0x113)]){const _0xda7e02=this[_0x510ced(0x163)](_0x1584b2,{'label':_0x427fd8[_0x510ced(0x123)],'icon':_0x427fd8[_0x510ced(0xec)]||_0x1daadd,'type':_0x510ced(0x12a)});_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x15f)](_0xda7e02),_0xda7e02['on'](_0x510ced(0x16a),()=>{const _0x37313e=_0x510ced;this[_0x37313e(0x122)](),this[_0x37313e(0x13a)]({'source':_0x427fd8,'withBackButton':!this[_0x37313e(0xe8)]});});}for(const _0x42286f of _0x493258[_0x510ced(0xed)]||[]){const _0x4e6811=this[_0x510ced(0x163)](_0x1584b2,{'label':_0x42286f[_0x510ced(0x123)],'icon':_0x42286f[_0x510ced(0xec)]||_0x1daadd,'type':_0x510ced(0x178)});_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x15f)](_0x4e6811),_0x4e6811['on'](_0x510ced(0x16a),()=>{const _0x1f3505=_0x510ced;this[_0x1f3505(0x122)](),this[_0x1f3505(0xe6)](_0x1f3505(0x171),_0x42286f);});}this[_0x510ced(0xe8)]=0x1===_0x1d0ad5[_0x510ced(0xf6)][_0x510ced(0x176)],this[_0x510ced(0x162)][_0x510ced(0xf8)]=!this[_0x510ced(0xe8)];}[_0x4b0ad8(0x10f)](_0x55f8cf,_0x19ca17){const _0x3a6398=_0x4b0ad8;this[_0x3a6398(0x162)]=new _0x4fb14e(_0x19ca17),this[_0x3a6398(0x162)]['on'](_0x3a6398(0x174),(_0x4b0cf0,_0x3718a6)=>{const _0x4d0c95=_0x3a6398;this[_0x4d0c95(0x140)](_0x3718a6);}),this[_0x3a6398(0x162)]['on'](_0x3a6398(0xfb),()=>{const _0x12336e=_0x3a6398;this[_0x12336e(0x15b)](),this[_0x12336e(0xe8)]||(this[_0x12336e(0x131)](),this[_0x12336e(0x14b)][_0x12336e(0xef)]({'target':this[_0x12336e(0xf0)][_0x12336e(0xf7)],'limiter':this[_0x12336e(0x11b)](),'positions':zo}));}),this[_0x3a6398(0x162)]['on'](_0x3a6398(0x16d),()=>{const _0x457c41=_0x3a6398;this[_0x457c41(0x161)][_0x457c41(0x130)]&&this[_0x457c41(0x161)][_0x457c41(0xef)]({'target':this[_0x457c41(0xf0)][_0x457c41(0xf7)],'limiter':this[_0x457c41(0x11b)](),'positions':zo});}),_0x55f8cf[_0x3a6398(0xf6)][_0x3a6398(0x15f)](this[_0x3a6398(0x162)]);}[_0x4b0ad8(0x163)](_0x5437a8,_0x2ffb1d){const _0x3ea300=_0x4b0ad8,_0x173122=_0x3ea300(0x12a)===_0x2ffb1d[_0x3ea300(0x10a)]?new SourcesBalloonButtonView(_0x5437a8):new _0x4a900c(_0x5437a8);return _0x173122[_0x3ea300(0x11f)]({'label':_0x2ffb1d[_0x3ea300(0x123)],'icon':_0x2ffb1d[_0x3ea300(0xec)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0x173122;}[_0x4b0ad8(0xfa)](){const _0x19c367=_0x4b0ad8;this[_0x19c367(0x11e)](),this[_0x19c367(0x14d)]();}[_0x4b0ad8(0x14d)](){const _0x5dfc6a=_0x4b0ad8;_0x89e7d6({'emitter':this[_0x5dfc6a(0x161)],'contextElements':[this[_0x5dfc6a(0x161)][_0x5dfc6a(0xf7)]],'callback':()=>{const _0xf85533=_0x5dfc6a;this[_0xf85533(0x15b)]();},'activator':()=>this[_0x5dfc6a(0x161)][_0x5dfc6a(0x130)]});}[_0x4b0ad8(0xe4)](_0x348b1b){const _0x5d3f83=_0x4b0ad8,_0x32c8e6=this[_0x5d3f83(0x150)];_0x32c8e6[_0x5d3f83(0x175)][_0x5d3f83(0x134)]=_0x348b1b,_0x348b1b?_0x32c8e6[_0x5d3f83(0x104)][_0x5d3f83(0xff)]():_0x32c8e6[_0x5d3f83(0x104)][_0x5d3f83(0x10e)]();}[_0x4b0ad8(0x11e)](){const _0x2d276e=_0x4b0ad8,{balloonView:_0x1df6d2,buttonView:_0x578ea9,hideMethod:_0x20e6ad}=this[_0x2d276e(0x150)];_0x89e7d6({'emitter':_0x1df6d2,'contextElements':[_0x1df6d2[_0x2d276e(0xf7)],_0x578ea9[_0x2d276e(0xf7)]],'callback':()=>{_0x20e6ad();},'activator':()=>_0x578ea9[_0x2d276e(0x134)]&&!this[_0x2d276e(0x161)][_0x2d276e(0x130)]&&!this[_0x2d276e(0x12c)][_0x2d276e(0x159)]()});}[_0x4b0ad8(0x101)](_0x2baec8,_0x552294,_0x137e8c=!0x1,_0x17e1c5=!0x1){const _0x3d237f=_0x4b0ad8,_0x19040e=_0x3d237f(0x115)===_0x552294||!0x0===_0x2baec8[_0x3d237f(0xeb)],_0x10ab21=new _0x39703c(this[_0x3d237f(0xf5)],_0x2baec8,_0x19040e,_0x137e8c,_0x17e1c5);return _0x19040e||_0x10ab21['on'](_0x3d237f(0x169),()=>{const _0x548828=_0x3d237f;this[_0x548828(0xe6)](_0x548828(0x10d),_0x10ab21['id']);}),_0x10ab21;}[_0x4b0ad8(0x160)](_0x10ba01,_0x4a5c51){const _0x395b44=_0x4b0ad8;_0x4a5c51[_0x395b44(0x15f)](_0x10ba01,0x0);}[_0x4b0ad8(0x154)](_0x3214f4,_0x230e97){const _0x2c19de=_0x4b0ad8,_0x24b0f9=_0x230e97[_0x2c19de(0x148)](_0x488b17=>_0x488b17['id']===_0x3214f4);_0x24b0f9&&_0x230e97[_0x2c19de(0x112)](_0x24b0f9);}[_0x4b0ad8(0xf9)](){const _0x521170=_0x4b0ad8;this[_0x521170(0xf0)][_0x521170(0x134)]?this[_0x521170(0x122)]():(this[_0x521170(0x131)](),this[_0x521170(0x14b)][_0x521170(0xef)]({'target':this[_0x521170(0xf0)][_0x521170(0xf7)],'limiter':this[_0x521170(0x11b)](),'positions':zo}),this[_0x521170(0xe8)]&&this[_0x521170(0x14b)][_0x521170(0xf6)][_0x521170(0x136)](0x0)?.[_0x521170(0xe6)](_0x521170(0x16a)));}[_0x4b0ad8(0x140)](_0x17a0af){const _0x5ac5d6=_0x4b0ad8;this[_0x5ac5d6(0x162)][_0x5ac5d6(0x125)](),this[_0x5ac5d6(0x15b)](),this[_0x5ac5d6(0xe6)](_0x5ac5d6(0x12b),_0x17a0af);}}export class SourcesBalloonButtonView extends _0x4a900c{[_0x4b0ad8(0xe3)];constructor(_0x26c9df){const _0x5ab184=_0x4b0ad8;super(_0x26c9df),this[_0x5ab184(0x11f)]({'withText':!0x0,'role':_0x5ab184(0x143)}),this[_0x5ab184(0xe3)]=this[_0x5ab184(0x13d)](),this[_0x5ab184(0x109)]({'attributes':{'class':[Fo]}});}[_0x4b0ad8(0x14a)](){const _0x5a6e45=_0x4b0ad8;super[_0x5a6e45(0x14a)](),this[_0x5a6e45(0x173)][_0x5a6e45(0x15f)](this[_0x5a6e45(0xe3)]);}[_0x4b0ad8(0x13d)](){const _0x47a470=_0x4b0ad8,_0x628ecf=new _0x398130();return _0x628ecf[_0x47a470(0xf6)]=_0x5525c4,_0x628ecf[_0x47a470(0x109)]({'attributes':{'class':Fo+_0x47a470(0x144)}}),_0x628ecf;}}
|
|
23
|
+
const _0x3ad47c=_0x82c1;(function(_0x4d8496,_0x5d5165){const _0x5bf3b4=_0x82c1,_0x3dba48=_0x4d8496();while(!![]){try{const _0x203b2b=parseInt(_0x5bf3b4(0x14d))/0x1*(parseInt(_0x5bf3b4(0x13d))/0x2)+parseInt(_0x5bf3b4(0x1a0))/0x3*(-parseInt(_0x5bf3b4(0x19b))/0x4)+parseInt(_0x5bf3b4(0x19a))/0x5*(-parseInt(_0x5bf3b4(0x18d))/0x6)+-parseInt(_0x5bf3b4(0x126))/0x7*(-parseInt(_0x5bf3b4(0x171))/0x8)+-parseInt(_0x5bf3b4(0x182))/0x9+parseInt(_0x5bf3b4(0x136))/0xa*(parseInt(_0x5bf3b4(0x1be))/0xb)+-parseInt(_0x5bf3b4(0x197))/0xc*(parseInt(_0x5bf3b4(0x1bb))/0xd);if(_0x203b2b===_0x5d5165)break;else _0x3dba48['push'](_0x3dba48['shift']());}catch(_0x388f9a){_0x3dba48['push'](_0x3dba48['shift']());}}}(_0x2a28,0xa6ebe));import{BalloonPanelView as _0x3a327e,ButtonView as _0x184ffd,clickOutsideHandler as _0x32d63b,FileDialogButtonView as _0x1eda12,IconView as _0x1a7661,View as _0x33dec1}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x2c4aa3,IconDocument as _0x6dbee9,IconDocumentOutline as _0x492c96,IconDropdownArrow as _0x37f0da,IconLink as _0x80dc86,IconPaperClip as _0xcf56f3}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x2e79df}from'./aichatcontextitembuttonview.js';function _0x82c1(_0x1ff097,_0x30f29e){const _0x2a282d=_0x2a28();return _0x82c1=function(_0x82c143,_0x222b7d){_0x82c143=_0x82c143-0x126;let _0x4c40b8=_0x2a282d[_0x82c143];return _0x4c40b8;},_0x82c1(_0x1ff097,_0x30f29e);}import{AIChatContextPanelUrlInputView as _0x5ac8f6}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x47ee21}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x22225c}from'../../../aicore/utils/common-translations.js';function _0x2a28(){const _0x5ec59a=['content','showUrlBalloonPanel','_setupTemplate','ck-ai-chat-context-controls__pending-contexts','_overflowManager','find','render','bind','document','children','isHidden','sources','__arrow','_toggleAddContextBalloon','11707659TZgvWC','add','_hasExactlyOneSource','icon','_createContextButton','isReadOnly','southArrowNorthEast','setAddContextOptions','ck-ai-chat-context-controls__balloon-button','source','ck-ai-chat-context-controls__add-context-button','2244804XMfDpG','body','_addContextBalloonPanelView','refreshBalloon','_createAddContextBalloonPanelView','updateResourceState','setConversationContext','label','_showSourceResourcesBalloon','_conversationContextsChips','64788chtWZO','isAnyResourceBalloonVisible','clear','5vvUkiY','4wXzHyd','_urlInputView','tooltip','ck-ai-chat-context-controls__add-context-balloon-panel','urls','992499WykUuL','executeCustomItemCallback','AI_CHAT_CONTEXT_FILE_LABEL','bodyCollection','northArrowSouth','ck-ai-chat-controls_context_show-more-button','AI_CHAT_CONTEXT_ADD_CONTEXT','addUrlToContext','_setupAddContextBalloonClickOutsideHandler','_setupAllBalloonClickOutsideHandlers','hide','ck-ai-chat-context-controls','_handleUrlSubmit','setTemplate','populateSourceResourceBalloon','element','ck-ai-chat-context-chips-wrapper-balloon','removeContextItemChip','customItem','ck-ai-chat-controls-button','_createResourcesBalloonView','ck-reset_all-excluded','ck-ai-chat','current','_setBalloonPanelContent','files','arrowView','208nRXNgP','addContextButtonView','northArrowSouthEast','265793oBMCgJ','_currentContextsChips','924XRiQvB','hideUrlBalloonPanel','hideAddContextBalloonPanel','remove','_addContextBalloonConfig','menuitem','fire','searchInputVisibleFrom','cancel','show','withBackButton','_createAddContextButtonView','_setupUrlBalloonClickOutsideHandler','_resourcesBalloonView','addContextItem','showSourceResourcesBalloon','430QVnZbU','_bindEventHandlers','closeSourceResourceBalloon','get','buttonView','createCollection','clearCurrentContextItems','1307422PeMrxG','overflowChips','isLoading','_removeContextFromCollection','div','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','southArrowNorthWest','execute','locale','_createBaseBalloonPanel','closest','addFileToContext','set','_urlBalloonPanelView','setContextItemLoading','pin','1jSbrdj','northArrowSouthWest','_handleAddContextButtonClick','clearConversationContextItems','submitUrl','done','loadSourceResources','extendTemplate','length','type','addDocumentToContext','customItems','addResourceToContext','removeContextItem','isOn','destroy','_addUrlContent','_getLimiterElement','conversation','ck-ai-chat-context-controls__balloon-button-source','enabled','AI_CHAT_CONTEXT_URL_LABEL','reorganizeChips','isVisible','_setAddContextButtonEnabled','ck-ai-chat-context-controls__show-more-balloon-panel','_createBalloonButton','_createArrowView','isEnabled','_addContextToCollection','showAddContextBalloonPanel','_createUrlBalloonPanelView','focus','ck-ai-chat-context-controls__url-balloon-panel','setContainerElement','balloonView','65648tXUDQr','southArrowNorth','defaultPositions'];_0x2a28=function(){return _0x5ec59a;};return _0x2a28();}import{AIChatResourcesBalloonView as _0x53bff5}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x3ad47c(0x157),_0x3ad47c(0x148),_0x3ad47c(0x1a7),_0x3ad47c(0x159),_0x3ad47c(0x15a),_0x3ad47c(0x153),_0x3ad47c(0x1a1)];const Uo=_0x3ad47c(0x1ab),Lo=_0x3ad47c(0x177),No=_0x3ad47c(0x19e),Mo=_0x3ad47c(0x18c),Ho=_0x3ad47c(0x16e),jo=_0x3ad47c(0x18a),Fo=_0x3ad47c(0x160),Xo=_0x3ad47c(0x1b3),Do=_0x3ad47c(0x1b0),$o=_0x3ad47c(0x1a5),Wo=_0x3ad47c(0x166),qo=_0x3ad47c(0x1b6),zo=[_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x14e)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x1a4)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x1bd)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x143)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x172)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x188)]];export class AIChatContextPanelView extends _0x33dec1{[_0x3ad47c(0x1bc)];[_0x3ad47c(0x1bf)]=this[_0x3ad47c(0x13b)]();[_0x3ad47c(0x196)]=this[_0x3ad47c(0x13b)]();[_0x3ad47c(0x178)];[_0x3ad47c(0x18f)];[_0x3ad47c(0x14a)];[_0x3ad47c(0x19c)];[_0x3ad47c(0x133)];[_0x3ad47c(0x12a)];[_0x3ad47c(0x184)]=!0x1;[_0x3ad47c(0x1a3)];constructor(_0x2cf449,_0x5b9408){const _0x239ee4=_0x3ad47c;super(_0x2cf449),this[_0x239ee4(0x1a3)]=_0x5b9408[_0x239ee4(0x1a3)],this[_0x239ee4(0x1bf)]=this[_0x239ee4(0x13b)](),this[_0x239ee4(0x196)]=this[_0x239ee4(0x13b)](),this[_0x239ee4(0x1bc)]=this[_0x239ee4(0x131)](_0x2cf449),this[_0x239ee4(0x18f)]=this[_0x239ee4(0x191)](_0x2cf449),this[_0x239ee4(0x14a)]=this[_0x239ee4(0x16c)](_0x2cf449),this[_0x239ee4(0x133)]=this[_0x239ee4(0x1b4)](_0x2cf449,_0x5b9408);const _0x11895d={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':Do,'controlsButton':Xo}};this[_0x239ee4(0x178)]=new _0x47ee21(_0x2cf449,this[_0x239ee4(0x1bf)],_0x11895d,this[_0x239ee4(0x1a3)],this),this[_0x239ee4(0x12a)]={'buttonView':this[_0x239ee4(0x1bc)],'balloonView':this[_0x239ee4(0x18f)],'hideMethod':this[_0x239ee4(0x128)][_0x239ee4(0x17b)](this),'showMethod':this[_0x239ee4(0x16b)][_0x239ee4(0x17b)](this)},this[_0x239ee4(0x176)](),this[_0x239ee4(0x137)]();}[_0x3ad47c(0x17a)](){const _0x54f405=_0x3ad47c;super[_0x54f405(0x17a)](),this[_0x54f405(0x1a9)](),this[_0x54f405(0x178)][_0x54f405(0x16f)](this[_0x54f405(0x1af)]),this[_0x54f405(0x178)][_0x54f405(0x163)]();}[_0x3ad47c(0x15c)](){const _0x2f6361=_0x3ad47c;super[_0x2f6361(0x15c)](),this[_0x2f6361(0x178)][_0x2f6361(0x15c)](),this[_0x2f6361(0x133)][_0x2f6361(0x15c)]();}[_0x3ad47c(0x134)](_0x5631f0,_0x23b2a7){const _0xea291b=_0x3ad47c,_0x2b3544=this[_0xea291b(0x186)](_0x5631f0,_0xea291b(0x1b7),!0x0,_0x23b2a7);this[_0xea291b(0x16a)](_0x2b3544,this[_0xea291b(0x1bf)]),this[_0xea291b(0x178)][_0xea291b(0x163)]();}[_0x3ad47c(0x15a)](_0x3d2b40){const _0x138bcc=_0x3ad47c;this[_0x138bcc(0x140)](_0x3d2b40,this[_0x138bcc(0x1bf)]),this[_0x138bcc(0x140)](_0x3d2b40,this[_0x138bcc(0x178)][_0x138bcc(0x13e)]),this[_0x138bcc(0x178)][_0x138bcc(0x163)]();}[_0x3ad47c(0x14b)](_0x34e519,_0x8fdbd0){const _0x56583c=_0x3ad47c;let _0x16fb99=this[_0x56583c(0x1bf)][_0x56583c(0x179)](_0x558de9=>_0x558de9['id']===_0x34e519);_0x16fb99||(_0x16fb99=this[_0x56583c(0x178)][_0x56583c(0x13e)][_0x56583c(0x179)](_0x1c8450=>_0x1c8450['id']===_0x34e519)),_0x16fb99&&(_0x16fb99[_0x56583c(0x13f)]=_0x8fdbd0);}[_0x3ad47c(0x193)](_0x3a5ce6){const _0x2e902d=_0x3ad47c;this[_0x2e902d(0x196)][_0x2e902d(0x199)]();for(const _0x245229 of _0x3a5ce6){const _0x407501=this[_0x2e902d(0x186)](_0x245229,_0x2e902d(0x15f),!0x1,!0x1);this[_0x2e902d(0x16a)](_0x407501,this[_0x2e902d(0x196)]);}}[_0x3ad47c(0x13c)](){const _0x35b9e8=_0x3ad47c;this[_0x35b9e8(0x1bf)][_0x35b9e8(0x199)](),this[_0x35b9e8(0x178)][_0x35b9e8(0x199)]();}[_0x3ad47c(0x150)](){const _0x442fc0=_0x3ad47c;this[_0x442fc0(0x196)][_0x442fc0(0x199)]();}[_0x3ad47c(0x192)](_0x523764,_0xcc6244,_0x3c7706){const _0x2a9129=_0x3ad47c;this[_0x2a9129(0x133)][_0x2a9129(0x192)](_0x523764,_0xcc6244,_0x3c7706);}[_0x3ad47c(0x128)](){const _0x585632=_0x3ad47c;this[_0x585632(0x181)](!0x1);}[_0x3ad47c(0x16b)](){const _0x5b6290=_0x3ad47c;this[_0x5b6290(0x181)](!0x0);}[_0x3ad47c(0x127)](){const _0x1a30a1=_0x3ad47c;this[_0x1a30a1(0x14a)][_0x1a30a1(0x1aa)](),this[_0x1a30a1(0x1bc)][_0x1a30a1(0x15b)]=!0x1,this[_0x1a30a1(0x19c)]&&this[_0x1a30a1(0x19c)][_0x1a30a1(0x199)]();}[_0x3ad47c(0x175)](){const _0x15bcb3=_0x3ad47c;this[_0x15bcb3(0x14a)][_0x15bcb3(0x12f)](),this[_0x15bcb3(0x1bc)][_0x15bcb3(0x15b)]=!0x0;}[_0x3ad47c(0x195)]({source:_0x4826ab,withBackButton:_0x103f8d}){const _0xf982ff=_0x3ad47c;this[_0xf982ff(0x133)][_0xf982ff(0x135)]({'source':_0x4826ab,'withBackButton':_0x103f8d}),this[_0xf982ff(0x1bc)][_0xf982ff(0x15b)]=!0x0;}[_0x3ad47c(0x1ae)](_0x2fde9b,_0x30afed,_0xd35901,_0x4d8f0e){const _0xc81b7b=_0x3ad47c;this[_0xc81b7b(0x133)][_0xc81b7b(0x1ae)](_0x2fde9b,_0xd35901,_0x4d8f0e);}[_0x3ad47c(0x138)](_0x44669d){const _0x32760b=_0x3ad47c;this[_0x32760b(0x133)][_0x32760b(0x138)](_0x44669d),this[_0x32760b(0x1bc)][_0x32760b(0x15b)]=!0x1;}[_0x3ad47c(0x189)](_0x3aee12){const _0x596f3c=_0x3ad47c;this[_0x596f3c(0x1b8)](this[_0x596f3c(0x18f)],this[_0x596f3c(0x145)],_0x3aee12),this[_0x596f3c(0x165)](_0x3aee12);}[_0x3ad47c(0x165)](_0xb553b0){const _0x221893=_0x3ad47c,_0x23cce7=!_0xb553b0[_0x221893(0x17c)][_0x221893(0x17e)]&&_0xb553b0[_0x221893(0x17c)][_0x221893(0x161)],_0x205794=_0xb553b0[_0x221893(0x19f)][_0x221893(0x161)],_0x4441a4=_0xb553b0[_0x221893(0x1b9)][_0x221893(0x161)],_0x2741cc=_0xb553b0[_0x221893(0x17f)][_0x221893(0x155)]>0x0,_0x1bd782=_0xb553b0[_0x221893(0x158)]&&_0xb553b0[_0x221893(0x158)][_0x221893(0x155)]>0x0;this[_0x221893(0x1bc)][_0x221893(0x169)]=_0x23cce7||_0x205794||_0x4441a4||_0x2741cc||_0x1bd782;}[_0x3ad47c(0x176)](){const _0x114bd8=_0x3ad47c;this[_0x114bd8(0x1ad)]({'tag':_0x114bd8(0x141),'attributes':{'class':[Uo,_0x114bd8(0x1b5)]},'children':[{'tag':_0x114bd8(0x141),'attributes':{'class':Lo},'children':this[_0x114bd8(0x1bf)]}]});}[_0x3ad47c(0x137)](){const _0x1cef79=_0x3ad47c;this[_0x1cef79(0x1bc)]['on'](_0x1cef79(0x144),()=>{const _0x27be1a=_0x1cef79;this[_0x27be1a(0x14f)]();});}[_0x3ad47c(0x131)](_0x1fc4ec){const _0x568cbd=_0x3ad47c,_0x14dac1=new _0x184ffd(_0x1fc4ec);return _0x14dac1[_0x568cbd(0x149)]({'label':_0x22225c(_0x1fc4ec,_0x568cbd(0x1a6)),'class':Xo+'\x20'+Mo,'icon':_0xcf56f3,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x14dac1;}[_0x3ad47c(0x191)](_0x568503){const _0x22466e=_0x3ad47c;return this[_0x22466e(0x146)](_0x568503,No);}[_0x3ad47c(0x16c)](_0x470d9d){const _0x4bd5a5=_0x3ad47c,_0x48ebb9=this[_0x4bd5a5(0x146)](_0x470d9d,Ho);return this[_0x4bd5a5(0x15d)](_0x48ebb9,_0x470d9d),_0x48ebb9;}[_0x3ad47c(0x1b4)](_0x4ccbf7,_0x258d60){const _0x1c4eb2=_0x3ad47c,_0x4298da={'searchInputVisibleFrom':_0x258d60[_0x1c4eb2(0x12d)],'onBackToContext':()=>{const _0x430475=_0x1c4eb2;this[_0x430475(0x16b)](),this[_0x430475(0x18f)][_0x430475(0x14c)]({'target':this[_0x430475(0x1bc)][_0x430475(0x1af)],'limiter':this[_0x430475(0x15e)](),'positions':zo});},'onResourceSelected':(_0x292461,_0xde1ef2)=>{const _0x1059b5=_0x1c4eb2;this[_0x1059b5(0x12c)](_0x1059b5(0x159),{'source':_0x292461,'resource':_0xde1ef2});},'onLoadSourceResources':_0x26b266=>{const _0x4c6918=_0x1c4eb2;this[_0x4c6918(0x12c)](_0x4c6918(0x153),_0x26b266);},'onBalloonClosed':()=>{const _0xa8fa2d=_0x1c4eb2;this[_0xa8fa2d(0x1bc)][_0xa8fa2d(0x15b)]=!0x1;},'getLimiterElement':()=>this[_0x1c4eb2(0x15e)](),'getTargetElement':()=>this[_0x1c4eb2(0x1bc)][_0x1c4eb2(0x1af)]};return new _0x53bff5(_0x4ccbf7,_0x258d60[_0x1c4eb2(0x1a3)],_0x4298da);}[_0x3ad47c(0x15e)](){const _0x27fed2=_0x3ad47c;return this[_0x27fed2(0x1af)]?.[_0x27fed2(0x147)]('.'+qo)||document[_0x27fed2(0x18e)];}[_0x3ad47c(0x146)](_0x21763f,_0x349ad1){const _0x131834=_0x3ad47c,_0x5e442d=new _0x3a327e(_0x21763f);return _0x5e442d[_0x131834(0x154)]({'attributes':{'class':_0x349ad1}}),this[_0x131834(0x1a3)][_0x131834(0x183)](_0x5e442d),_0x5e442d;}[_0x3ad47c(0x1b8)](_0xa4991f,_0x47d09a,_0x268a95){const _0x5715ad=_0x3ad47c;if(_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x199)](),!_0x268a95[_0x5715ad(0x17c)][_0x5715ad(0x17e)]&&_0x268a95[_0x5715ad(0x17c)][_0x5715ad(0x161)]){const _0x16575c=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x22225c(_0x47d09a,_0x5715ad(0x142)),'icon':_0x6dbee9});_0x16575c['on'](_0x5715ad(0x144),()=>{const _0x47f486=_0x5715ad;this[_0x47f486(0x12c)](_0x47f486(0x157)),this[_0x47f486(0x128)]();}),_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x16575c);}if(_0x268a95[_0x5715ad(0x19f)][_0x5715ad(0x161)]){const _0x34b40d=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x22225c(_0x47d09a,_0x5715ad(0x162)),'icon':_0x80dc86});_0x34b40d['on'](_0x5715ad(0x144),()=>{const _0x39908d=_0x5715ad;this[_0x39908d(0x128)](),this[_0x39908d(0x175)](),this[_0x39908d(0x14a)][_0x39908d(0x14c)]({'target':this[_0x39908d(0x1bc)][_0x39908d(0x1af)],'limiter':this[_0x39908d(0x15e)](),'positions':zo}),this[_0x39908d(0x19c)][_0x39908d(0x16d)]();}),_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x34b40d);}if(_0x268a95[_0x5715ad(0x1b9)][_0x5715ad(0x161)]){const _0x5d9403=new _0x1eda12(_0x47d09a);_0x5d9403[_0x5715ad(0x149)]({'label':_0x22225c(_0x47d09a,_0x5715ad(0x1a2)),'icon':_0x2c4aa3,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0x5d9403['on'](_0x5715ad(0x144),()=>{const _0x2f4a38=_0x5715ad;this[_0x2f4a38(0x128)]();}),_0x5d9403['on'](_0x5715ad(0x152),(_0x24ba3e,_0x3e7c21)=>{const _0x51aaeb=_0x5715ad;this[_0x51aaeb(0x12c)](_0x51aaeb(0x148),_0x3e7c21);}),_0x5d9403[_0x5715ad(0x19d)]=!0x0,_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x5d9403);}for(const _0x377438 of _0x268a95[_0x5715ad(0x17f)]){const _0x589213=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x377438[_0x5715ad(0x194)],'icon':_0x377438[_0x5715ad(0x185)]||_0x492c96,'type':_0x5715ad(0x18b)});_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x589213),_0x589213['on'](_0x5715ad(0x144),()=>{const _0x46ab35=_0x5715ad;this[_0x46ab35(0x128)](),this[_0x46ab35(0x195)]({'source':_0x377438,'withBackButton':!this[_0x46ab35(0x184)]});});}for(const _0x2be41b of _0x268a95[_0x5715ad(0x158)]||[]){const _0x500c77=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x2be41b[_0x5715ad(0x194)],'icon':_0x2be41b[_0x5715ad(0x185)]||_0x492c96,'type':_0x5715ad(0x1b2)});_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x500c77),_0x500c77['on'](_0x5715ad(0x144),()=>{const _0x2846c2=_0x5715ad;this[_0x2846c2(0x128)](),this[_0x2846c2(0x12c)](_0x2846c2(0x1a1),_0x2be41b);});}this[_0x5715ad(0x184)]=0x1===_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x155)],this[_0x5715ad(0x19c)][_0x5715ad(0x130)]=!this[_0x5715ad(0x184)];}[_0x3ad47c(0x15d)](_0x447b03,_0x51a765){const _0x1c551b=_0x3ad47c;this[_0x1c551b(0x19c)]=new _0x5ac8f6(_0x51a765),this[_0x1c551b(0x19c)]['on'](_0x1c551b(0x151),(_0x301b27,_0x4584ff)=>{const _0x575c36=_0x1c551b;this[_0x575c36(0x1ac)](_0x4584ff);}),this[_0x1c551b(0x19c)]['on'](_0x1c551b(0x12e),()=>{const _0x4c6664=_0x1c551b;this[_0x4c6664(0x127)](),this[_0x4c6664(0x184)]||(this[_0x4c6664(0x16b)](),this[_0x4c6664(0x18f)][_0x4c6664(0x14c)]({'target':this[_0x4c6664(0x1bc)][_0x4c6664(0x1af)],'limiter':this[_0x4c6664(0x15e)](),'positions':zo}));}),this[_0x1c551b(0x19c)]['on'](_0x1c551b(0x190),()=>{const _0x2399b5=_0x1c551b;this[_0x2399b5(0x14a)][_0x2399b5(0x164)]&&this[_0x2399b5(0x14a)][_0x2399b5(0x14c)]({'target':this[_0x2399b5(0x1bc)][_0x2399b5(0x1af)],'limiter':this[_0x2399b5(0x15e)](),'positions':zo});}),_0x447b03[_0x1c551b(0x174)][_0x1c551b(0x183)](this[_0x1c551b(0x19c)]);}[_0x3ad47c(0x167)](_0x3bf98,_0x1a075e){const _0x28d3bc=_0x3ad47c,_0x169124=_0x28d3bc(0x18b)===_0x1a075e[_0x28d3bc(0x156)]?new SourcesBalloonButtonView(_0x3bf98):new _0x184ffd(_0x3bf98);return _0x169124[_0x28d3bc(0x149)]({'label':_0x1a075e[_0x28d3bc(0x194)],'icon':_0x1a075e[_0x28d3bc(0x185)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0x169124;}[_0x3ad47c(0x1a9)](){const _0x2cca0a=_0x3ad47c;this[_0x2cca0a(0x1a8)](),this[_0x2cca0a(0x132)]();}[_0x3ad47c(0x132)](){const _0x5cc180=_0x3ad47c;_0x32d63b({'emitter':this[_0x5cc180(0x14a)],'contextElements':[this[_0x5cc180(0x14a)][_0x5cc180(0x1af)]],'callback':()=>{const _0x47c907=_0x5cc180;this[_0x47c907(0x127)]();},'activator':()=>this[_0x5cc180(0x14a)][_0x5cc180(0x164)]});}[_0x3ad47c(0x181)](_0x466b52){const _0x1a838c=_0x3ad47c,_0x576042=this[_0x1a838c(0x12a)];_0x576042[_0x1a838c(0x13a)][_0x1a838c(0x15b)]=_0x466b52,_0x466b52?_0x576042[_0x1a838c(0x170)][_0x1a838c(0x12f)]():_0x576042[_0x1a838c(0x170)][_0x1a838c(0x1aa)]();}[_0x3ad47c(0x1a8)](){const _0x1bb231=_0x3ad47c,{balloonView:_0x2291d5,buttonView:_0x54d4a5,hideMethod:_0x5abb86}=this[_0x1bb231(0x12a)];_0x32d63b({'emitter':_0x2291d5,'contextElements':[_0x2291d5[_0x1bb231(0x1af)],_0x54d4a5[_0x1bb231(0x1af)]],'callback':()=>{_0x5abb86();},'activator':()=>_0x54d4a5[_0x1bb231(0x15b)]&&!this[_0x1bb231(0x14a)][_0x1bb231(0x164)]&&!this[_0x1bb231(0x133)][_0x1bb231(0x198)]()});}[_0x3ad47c(0x186)](_0xefea85,_0x1a59a7,_0x106a2b=!0x1,_0x5f56fd=!0x1){const _0x13927e=_0x3ad47c,_0x3166ce=_0x13927e(0x15f)===_0x1a59a7||!0x0===_0xefea85[_0x13927e(0x187)],_0x4faca6=new _0x2e79df(this[_0x13927e(0x145)],_0xefea85,_0x3166ce,_0x106a2b,_0x5f56fd);return _0x3166ce||_0x4faca6['on'](_0x13927e(0x1b1),()=>{const _0x145473=_0x13927e;this[_0x145473(0x12c)](_0x145473(0x15a),_0x4faca6['id']);}),_0x4faca6;}[_0x3ad47c(0x16a)](_0x39a1ba,_0x474302){const _0x98d184=_0x3ad47c;_0x474302[_0x98d184(0x183)](_0x39a1ba,0x0);}[_0x3ad47c(0x140)](_0x3c780a,_0x42d5a7){const _0x2d4b24=_0x3ad47c,_0x4d68d1=_0x42d5a7[_0x2d4b24(0x179)](_0x5d342d=>_0x5d342d['id']===_0x3c780a);_0x4d68d1&&_0x42d5a7[_0x2d4b24(0x129)](_0x4d68d1);}[_0x3ad47c(0x14f)](){const _0x4a3cb4=_0x3ad47c;this[_0x4a3cb4(0x1bc)][_0x4a3cb4(0x15b)]?this[_0x4a3cb4(0x128)]():(this[_0x4a3cb4(0x16b)](),this[_0x4a3cb4(0x18f)][_0x4a3cb4(0x14c)]({'target':this[_0x4a3cb4(0x1bc)][_0x4a3cb4(0x1af)],'limiter':this[_0x4a3cb4(0x15e)](),'positions':zo}),this[_0x4a3cb4(0x184)]&&this[_0x4a3cb4(0x18f)][_0x4a3cb4(0x174)][_0x4a3cb4(0x139)](0x0)?.[_0x4a3cb4(0x12c)](_0x4a3cb4(0x144)));}[_0x3ad47c(0x1ac)](_0x45c73f){const _0x5c1a03=_0x3ad47c;this[_0x5c1a03(0x19c)][_0x5c1a03(0x199)](),this[_0x5c1a03(0x127)](),this[_0x5c1a03(0x12c)](_0x5c1a03(0x1a7),_0x45c73f);}}export class SourcesBalloonButtonView extends _0x184ffd{[_0x3ad47c(0x1ba)];constructor(_0x3157eb){const _0x146d93=_0x3ad47c;super(_0x3157eb),this[_0x146d93(0x149)]({'withText':!0x0,'role':_0x146d93(0x12b)}),this[_0x146d93(0x1ba)]=this[_0x146d93(0x168)](),this[_0x146d93(0x154)]({'attributes':{'class':[Fo]}});}[_0x3ad47c(0x17a)](){const _0x47fc49=_0x3ad47c;super[_0x47fc49(0x17a)](),this[_0x47fc49(0x17d)][_0x47fc49(0x183)](this[_0x47fc49(0x1ba)]);}[_0x3ad47c(0x168)](){const _0xc95413=_0x3ad47c,_0x494b5a=new _0x1a7661();return _0x494b5a[_0xc95413(0x174)]=_0x37f0da,_0x494b5a[_0xc95413(0x154)]({'attributes':{'class':Fo+_0xc95413(0x180)}}),_0x494b5a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5046(){const _0x45036f=['_createLoaderView','_cancelButtonView','abortPromptStream','AI_CHAT_STOP_GENERATING','ck-ai-chat-controls-loader-wrapper','301635eYAmzs','41727GhxYqs','5205805GuWMvG','3882558cMcXzu','ck-ai-chat-controls-loader-icon','_loaderView','119668iKXCXD','1934eXmwGm','AI_CHAT_IS_WRITING','locale','execute','div','ck-reset_all','_createCancelButtonView','set','46042488oTPvQK','36kkSklR','ck-ai-button-secondary\x20ck-ai-button-stop-generating','754UyjDLJ','ck-ai-chat-controls-loader-icon-dot','fire','200KXWRXq','250ThDnGh','10YxVjgx','setTemplate','ck-ai-chat-controls-loader'];_0x5046=function(){return _0x45036f;};return _0x5046();}const _0x15cd16=_0x5f42;(function(_0x10220c,_0x4ec786){const _0x848e84=_0x5f42,_0xfb6c09=_0x10220c();while(!![]){try{const _0x502579=parseInt(_0x848e84(0x91))/0x1*(-parseInt(_0x848e84(0x86))/0x2)+-parseInt(_0x848e84(0x8f))/0x3*(-parseInt(_0x848e84(0x85))/0x4)+parseInt(_0x848e84(0x96))/0x5*(-parseInt(_0x848e84(0x82))/0x6)+-parseInt(_0x848e84(0x80))/0x7*(parseInt(_0x848e84(0x94))/0x8)+parseInt(_0x848e84(0x7f))/0x9*(-parseInt(_0x848e84(0x95))/0xa)+-parseInt(_0x848e84(0x81))/0xb+parseInt(_0x848e84(0x8e))/0xc;if(_0x502579===_0x4ec786)break;else _0xfb6c09['push'](_0xfb6c09['shift']());}catch(_0xdc0bb8){_0xfb6c09['push'](_0xfb6c09['shift']());}}}(_0x5046,0xadee3));import{ButtonView as _0x2c9cad,View as _0x335a89}from'ckeditor5/src/ui.js';function _0x5f42(_0x9e1cec,_0x28bb4a){const _0x504634=_0x5046();return _0x5f42=function(_0x5f4234,_0x4a2114){_0x5f4234=_0x5f4234-0x78;let _0x537d2e=_0x504634[_0x5f4234];return _0x537d2e;},_0x5f42(_0x9e1cec,_0x28bb4a);}import{IconStop as _0x2c919f}from'ckeditor5/src/icons.js';import{getTranslation as _0xa3819}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x335a89{[_0x15cd16(0x7b)];[_0x15cd16(0x84)];constructor(_0x4d4888){const _0x15d713=_0x15cd16;super(_0x4d4888),this[_0x15d713(0x7b)]=this[_0x15d713(0x8c)](),this[_0x15d713(0x84)]=this[_0x15d713(0x7a)](),this[_0x15d713(0x78)]({'tag':_0x15d713(0x8a),'attributes':{'class':['ck',_0x15d713(0x7e),_0x15d713(0x8b)]},'children':[this[_0x15d713(0x84)],this[_0x15d713(0x7b)]]});}[_0x15cd16(0x8c)](){const _0x484a61=_0x15cd16,_0x6199ea=new _0x2c9cad(this[_0x484a61(0x88)]);return _0x6199ea[_0x484a61(0x8d)]({'label':_0xa3819(this[_0x484a61(0x88)],_0x484a61(0x7d)),'withText':!0x0,'class':_0x484a61(0x90),'icon':_0x2c919f}),_0x6199ea['on'](_0x484a61(0x89),()=>{const _0x20974e=_0x484a61;this[_0x20974e(0x93)](_0x20974e(0x7c));}),_0x6199ea;}[_0x15cd16(0x7a)](){const _0x36fd62=_0x15cd16,_0x5110c2=new _0x335a89(this[_0x36fd62(0x88)]);return _0x5110c2[_0x36fd62(0x78)]({'tag':_0x36fd62(0x8a),'attributes':{'class':[_0x36fd62(0x79)]},'children':[{'tag':_0x36fd62(0x8a),'attributes':{'class':[_0x36fd62(0x83)]},'children':[{'tag':_0x36fd62(0x8a),'attributes':{'class':[_0x36fd62(0x92)]}},{'tag':_0x36fd62(0x8a),'attributes':{'class':[_0x36fd62(0x92)]}},{'tag':_0x36fd62(0x8a),'attributes':{'class':[_0x36fd62(0x92)]}}]},{'text':_0xa3819(this[_0x36fd62(0x88)],_0x36fd62(0x87))}]}),_0x5110c2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4464bd=_0x1dcf;(function(_0x5138af,_0x424833){const _0x257ac6=_0x1dcf,_0x584a55=_0x5138af();while(!![]){try{const _0xf25cd=parseInt(_0x257ac6(0xff))/0x1+parseInt(_0x257ac6(0x107))/0x2*(parseInt(_0x257ac6(0xe0))/0x3)+-parseInt(_0x257ac6(0x115))/0x4+-parseInt(_0x257ac6(0xe2))/0x5+-parseInt(_0x257ac6(0x11d))/0x6*(-parseInt(_0x257ac6(0xf0))/0x7)+-parseInt(_0x257ac6(0x124))/0x8*(-parseInt(_0x257ac6(0xfd))/0x9)+parseInt(_0x257ac6(0x126))/0xa;if(_0xf25cd===_0x424833)break;else _0x584a55['push'](_0x584a55['shift']());}catch(_0x4b4133){_0x584a55['push'](_0x584a55['shift']());}}}(_0x4656,0x4d378));import{Collection as _0x4dab53}from'ckeditor5/src/utils.js';import{IconAI as _0x588186,IconBulb as _0x51537a,IconWeb as _0x5c0f8e}from'@ckeditor/ckeditor5-icons';function _0x1dcf(_0x56d27d,_0x4ab966){const _0x4656c6=_0x4656();return _0x1dcf=function(_0x1dcf85,_0x50aa4a){_0x1dcf85=_0x1dcf85-0xcc;let _0x502667=_0x4656c6[_0x1dcf85];return _0x502667;},_0x1dcf(_0x56d27d,_0x4ab966);}import{addListToDropdown as _0x694c25,ButtonLabelView as _0x47b3f4,ButtonView as _0x5309cf,createDropdown as _0x87c76a,IconView as _0x2fe1d5,UIModel as _0x220e91,View as _0x567add}from'ckeditor5/src/ui.js';import{getTranslation as _0x5660a0}from'../../../aicore/utils/common-translations.js';const Ko=_0x4464bd(0xe3),Xo=_0x4464bd(0x113),Qo=_0x4464bd(0x105),Zo=_0x4464bd(0xeb),tl=_0x4464bd(0x118),el=_0x4464bd(0x12c),il=_0x4464bd(0x121),sl=_0x4464bd(0xf5),ol='n';export class AIChatPromptCapabilitiesView extends _0x567add{[_0x4464bd(0x11f)];[_0x4464bd(0x12b)];[_0x4464bd(0x122)];[_0x4464bd(0xf2)];[_0x4464bd(0x114)];[_0x4464bd(0xdb)];constructor(_0x44eb04){const _0x1dde01=_0x4464bd;super(_0x44eb04),this[_0x1dde01(0xd0)](_0x1dde01(0xf1),!0x1),this[_0x1dde01(0xd0)](_0x1dde01(0x10c),!0x1),this[_0x1dde01(0xd0)](_0x1dde01(0x108),_0x1dde01(0x119)),this[_0x1dde01(0xd0)](_0x1dde01(0x12d),!0x0),this[_0x1dde01(0xd0)](_0x1dde01(0xd5),null),this[_0x1dde01(0xd0)](_0x1dde01(0xdc),null),this[_0x1dde01(0xf2)]=this[_0x1dde01(0x11e)](),this[_0x1dde01(0xdb)]=this[_0x1dde01(0xe8)](),this[_0x1dde01(0x11f)]=this[_0x1dde01(0x120)](),this[_0x1dde01(0x12b)]=this[_0x1dde01(0xd2)](),this[_0x1dde01(0x122)]=this[_0x1dde01(0xee)](),this[_0x1dde01(0xf2)][_0x1dde01(0xd4)][_0x1dde01(0xce)](_0x1dde01(0xd8))['to'](this,_0x1dde01(0x108),_0x43c609=>_0x1dde01(0x119)===_0x43c609),this[_0x1dde01(0xf2)][_0x1dde01(0xd4)][_0x1dde01(0xce)](_0x1dde01(0x111))['to'](this,_0x1dde01(0x12d),_0x1861d4=>_0x1861d4?this[_0x1dde01(0xf2)][_0x1dde01(0xd4)][_0x1dde01(0xe7)]:_0x5660a0(this[_0x1dde01(0x125)],_0x1dde01(0x112))),this[_0x1dde01(0xf2)][_0x1dde01(0xce)](_0x1dde01(0x11b))['to'](this,_0x1dde01(0x12d),_0x500048=>_0x500048),this[_0x1dde01(0x11f)][_0x1dde01(0xce)](_0x1dde01(0xfc))['to'](this,_0x1dde01(0xf1),_0x41b870=>_0x41b870),this[_0x1dde01(0x11f)][_0x1dde01(0xce)](_0x1dde01(0x111))['to'](this,_0x1dde01(0xf1),_0x2504b1=>_0x5660a0(this[_0x1dde01(0x125)],_0x2504b1?_0x1dde01(0x123):_0x1dde01(0x12a))),this[_0x1dde01(0x12b)][_0x1dde01(0xce)](_0x1dde01(0xfc))['to'](this,_0x1dde01(0x10c),_0xc9b639=>_0xc9b639),this[_0x1dde01(0x12b)][_0x1dde01(0xce)](_0x1dde01(0x111))['to'](this,_0x1dde01(0x10c),_0x315b0e=>_0x5660a0(this[_0x1dde01(0x125)],_0x315b0e?_0x1dde01(0x10d):_0x1dde01(0xea))),this[_0x1dde01(0xe6)]({'tag':_0x1dde01(0xf9),'attributes':{'class':[Ko]},'children':[this[_0x1dde01(0xf2)],this[_0x1dde01(0xdb)],this[_0x1dde01(0x11f)],this[_0x1dde01(0x12b)],this[_0x1dde01(0x122)]]}),this[_0x1dde01(0x114)]=new _0x4dab53(),_0x694c25(this[_0x1dde01(0xf2)],this[_0x1dde01(0x114)]);}[_0x4464bd(0x11a)](_0x119be0,_0x50c7e7){const _0x2e338a=_0x4464bd;if(_0x50c7e7)this[_0x2e338a(0xd0)](_0x2e338a(0x108),_0x2e338a(0x128));else{const _0x1e132d=0x1===_0x119be0[_0x2e338a(0xfa)];this[_0x2e338a(0xd0)](_0x2e338a(0x108),_0x1e132d?_0x2e338a(0xe4):_0x2e338a(0x119));}if(this[_0x2e338a(0x114)][_0x2e338a(0xcf)](),_0x119be0?.[_0x2e338a(0xfa)])for(const _0x6baef9 of _0x119be0){const _0x4f0fea=new _0x220e91({'label':_0x6baef9[_0x2e338a(0xe4)],'withText':!0x0,'role':_0x2e338a(0x10e),'id':_0x6baef9['id'],'model':_0x6baef9});_0x4f0fea[_0x2e338a(0xce)](_0x2e338a(0xfc))['to'](this,_0x2e338a(0xd5),_0x2a94cd=>_0x2a94cd===_0x6baef9['id']),this[_0x2e338a(0x114)][_0x2e338a(0xec)]({'type':_0x2e338a(0x103),'model':_0x4f0fea,'labelView':new ko(this[_0x2e338a(0x125)],_0x6baef9)});}}[_0x4464bd(0xfb)](_0x46fc25){const _0x5b7253=_0x4464bd;this[_0x5b7253(0xd0)](_0x5b7253(0xf1),_0x46fc25);}[_0x4464bd(0x10a)](_0x5b6608){const _0x7fda16=_0x4464bd;this[_0x7fda16(0xd0)](_0x7fda16(0x10c),_0x5b6608);}[_0x4464bd(0x101)](_0x489811){const _0x22771e=_0x4464bd;if(!_0x489811)return;this[_0x22771e(0xd5)]=_0x489811['id'],this[_0x22771e(0xdc)]=_0x489811[_0x22771e(0xe4)]||_0x489811['id'],this[_0x22771e(0xf2)][_0x22771e(0xd4)][_0x22771e(0xd0)](_0x22771e(0xe7),_0x489811[_0x22771e(0xe4)]),this[_0x22771e(0xf2)][_0x22771e(0xd4)][_0x22771e(0xd0)](_0x22771e(0x111),_0x489811[_0x22771e(0xe4)]);const _0x19e462=_0x489811[_0x22771e(0x10b)][_0x22771e(0xd3)]?.[_0x22771e(0xed)]??!0x1;this[_0x22771e(0xd0)](_0x22771e(0xf1),!0x1),this[_0x22771e(0x11f)][_0x22771e(0xd0)](_0x22771e(0xfc),!0x1),this[_0x22771e(0x11f)][_0x22771e(0xd0)](_0x22771e(0x11b),_0x19e462),this[_0x22771e(0x11f)][_0x22771e(0xd0)](_0x22771e(0xd8),_0x19e462);const _0x29592c=_0x489811[_0x22771e(0x10b)][_0x22771e(0xd7)]?.[_0x22771e(0xed)]??!0x1;this[_0x22771e(0xd0)](_0x22771e(0x10c),!0x1),this[_0x22771e(0x12b)][_0x22771e(0xd0)](_0x22771e(0xfc),!0x1),this[_0x22771e(0x12b)][_0x22771e(0xd0)](_0x22771e(0x11b),_0x29592c),this[_0x22771e(0x12b)][_0x22771e(0xd0)](_0x22771e(0xd8),_0x29592c);}[_0x4464bd(0xf8)](){const _0x1670d7=_0x4464bd;this[_0x1670d7(0xd0)](_0x1670d7(0x12d),!0x0);}[_0x4464bd(0xf6)](_0x8e67a6){const _0x1219ba=_0x4464bd;this[_0x1219ba(0xd0)](_0x1219ba(0x12d),!0x1),_0x8e67a6&&this[_0x1219ba(0xd0)](_0x1219ba(0x108),_0x1219ba(0x128));}[_0x4464bd(0x120)](){const _0x26cf80=_0x4464bd,_0x1aaa44=new _0x5309cf();return _0x1aaa44[_0x26cf80(0xd0)]({'label':_0x5660a0(this[_0x26cf80(0x125)],_0x26cf80(0xf7)),'icon':_0x5c0f8e,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x1aaa44['on'](_0x26cf80(0xdd),()=>{const _0x4dfa52=_0x26cf80;this[_0x4dfa52(0x104)](_0x4dfa52(0xe1));}),_0x1aaa44;}[_0x4464bd(0xd2)](){const _0x565736=_0x4464bd,_0x3adfeb=new _0x5309cf();return _0x3adfeb[_0x565736(0xd0)]({'label':_0x5660a0(this[_0x565736(0x125)],_0x565736(0x100)),'icon':_0x51537a,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x3adfeb['on'](_0x565736(0xdd),()=>{const _0x27f5d0=_0x565736;this[_0x27f5d0(0x104)](_0x27f5d0(0x109));}),_0x3adfeb;}[_0x4464bd(0xee)](){const _0x2560c7=_0x4464bd,_0x138ab6=new _0x5309cf();return _0x138ab6[_0x2560c7(0xd0)]({'label':_0x5660a0(this[_0x2560c7(0x125)],_0x2560c7(0xda)),'icon':_0x588186,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x5660a0(this[_0x2560c7(0x125)],_0x2560c7(0xda)),'tooltipPosition':ol}),_0x138ab6[_0x2560c7(0xf4)]({'attributes':{'class':[Qo]}}),_0x138ab6['on'](_0x2560c7(0xdd),()=>{const _0x177087=_0x2560c7;console[_0x177087(0x102)](_0x177087(0x110)),alert(_0x177087(0x110));}),_0x138ab6;}[_0x4464bd(0x11e)](){const _0x3b2754=_0x4464bd,_0x4f9ce3=_0x87c76a(this[_0x3b2754(0x125)]);return _0x4f9ce3[_0x3b2754(0xd0)]({'panelPosition':'ne','class':[tl]}),_0x4f9ce3[_0x3b2754(0xd4)][_0x3b2754(0xd0)]({'label':_0x5660a0(this[_0x3b2754(0x125)],_0x3b2754(0x10f)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x3b2754(0xde)](_0x4f9ce3,_0x3b2754(0xdd),_0x204650=>{const _0x5cead2=_0x3b2754;this[_0x5cead2(0x104)](_0x5cead2(0xd6),_0x204650[_0x5cead2(0x116)][_0x5cead2(0x106)]);}),_0x4f9ce3;}[_0x4464bd(0xe8)](){const _0x57c75=_0x4464bd,_0x2f13e4=new _o(this[_0x57c75(0x125)]);return _0x2f13e4[_0x57c75(0xce)](_0x57c75(0xcc))['to'](this,_0x57c75(0xdc),_0x3da4fd=>_0x3da4fd??''),_0x2f13e4[_0x57c75(0xce)](_0x57c75(0xd8))['to'](this,_0x57c75(0x108),_0x330b68=>_0x57c75(0xe4)===_0x330b68),_0x2f13e4;}}class ko extends _0x47b3f4{constructor(_0x388817,_0x568cf6){const _0x1d8408=_0x4464bd;super();const _0x341535=this[_0x1d8408(0xe5)],_0x1c6528=this[_0x1d8408(0xef)]();this[_0x1d8408(0xe6)]({'tag':_0x1d8408(0xf9),'attributes':{'class':['ck',_0x1d8408(0xcd)],'style':_0x341535['to'](_0x1d8408(0xfe)),'id':_0x341535['to']('id')},'children':[{'tag':_0x1d8408(0xf9),'attributes':{'class':[el]},'children':[{'text':_0x341535['to'](_0x1d8408(0xcc))}]},{'tag':_0x1d8408(0xf9),'attributes':{'class':[il]},'children':[{'tag':_0x1d8408(0xd1),'children':[{'text':_0x568cf6[_0x1d8408(0xf3)]}]}]},{'tag':_0x1d8408(0xf9),'attributes':{'class':[sl]},'children':_0x1c6528}]}),_0x1c6528[_0x1d8408(0x129)](this[_0x1d8408(0xe9)](_0x388817,_0x5c0f8e,_0x1d8408(0xf7),_0x568cf6[_0x1d8408(0x10b)][_0x1d8408(0xd3)]?.[_0x1d8408(0xed)]??!0x1)),_0x1c6528[_0x1d8408(0x129)](this[_0x1d8408(0xe9)](_0x388817,_0x51537a,_0x1d8408(0x100),_0x568cf6[_0x1d8408(0x10b)][_0x1d8408(0xd7)]?.[_0x1d8408(0xed)]??!0x1));}[_0x4464bd(0xe9)](_0x1b48fe,_0x80f105,_0x38b556,_0x2b0a5d){const _0x15c9b0=_0x4464bd,_0x249f1b=new _0x2fe1d5();_0x249f1b[_0x15c9b0(0xdf)]=_0x80f105;const _0x4111c6=new _0x567add(_0x1b48fe);_0x4111c6[_0x15c9b0(0xe6)]({'tag':_0x15c9b0(0xd1),'children':[{'text':_0x5660a0(_0x1b48fe,_0x38b556)+':\x20'}]});const _0x1914ab=new _0x567add(_0x1b48fe);return _0x1914ab[_0x15c9b0(0xe6)]({'tag':_0x15c9b0(0xd1),'children':[{'text':_0x5660a0(_0x1b48fe,_0x2b0a5d?_0x15c9b0(0x11c):_0x15c9b0(0x117))}]}),[_0x249f1b,_0x4111c6,_0x1914ab];}}class _o extends _0x567add{constructor(_0x11e438){const _0x2e7b45=_0x4464bd;super(_0x11e438),this[_0x2e7b45(0xd0)](_0x2e7b45(0xcc),void 0x0),this[_0x2e7b45(0xd0)](_0x2e7b45(0xd8),!0x0);const _0x42330b=this[_0x2e7b45(0xe5)];this[_0x2e7b45(0xe6)]({'tag':_0x2e7b45(0xd1),'attributes':{'class':['ck',_0x2e7b45(0x127),_0x42330b['if'](_0x2e7b45(0xd8),_0x2e7b45(0xd9),_0x1425a6=>!_0x1425a6)]},'children':[{'text':_0x42330b['to'](_0x2e7b45(0xcc))}]});}}function _0x4656(){const _0x17dd8c=['setModel','log','button','fire','ck-ai-chat-controls-button--commands','model','254SPUgDF','modelDisplayMode','toggleReasoning','setReasoning','capabilities','reasoningActive','AI_CHAT_DISABLE_REASONING','menuitemradio','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','Commands\x20are\x20not\x20implemented\x20yet.','tooltip','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-ai-chat-controls-button','_modelSelectionDropdownItems','939748tcwQUc','source','AI_CHAT_CAPABILITIES_NO','ck-ai-chat-controls__model-selection','selector','setModelList','isEnabled','AI_CHAT_CAPABILITIES_YES','60dooNxk','_createModelSelectionDropdown','_webSearchButton','_createWebSearchButton','ck-ai-chat-controls__model-selection__item-description','_commandsButton','AI_CHAT_DISABLE_WEB_SEARCH','32hSSrSG','locale','420570iJaSGb','ck-ai-chat-controls__model-name','hidden','addMany','AI_CHAT_ENABLE_WEB_SEARCH','_reasoningButton','ck-ai-chat-controls__model-selection__item-name','modelSelectorEnabled','text','ck-button__label','bind','clear','set','span','_createReasoningButton','webSearch','buttonView','activeModelId','selectModel','reasoning','isVisible','ck-hidden','AI_CHAT_COMMANDS','_modelNameView','activeModelName','execute','listenTo','content','8331cfUreU','toggleWebSearch','2639465VEQdmr','ck-ai-chat__prompt-capabilities','name','bindTemplate','setTemplate','label','_createModelNameView','_getCapabilityParts','AI_CHAT_ENABLE_REASONING','ck-ai-button-tertiary','add','enabled','_createCommandsButton','createCollection','137627DbkoNk','webSearchActive','_modelSelectionDropdown','description','extendTemplate','ck-ai-chat-controls__model-selection__item-capabilities','disableModelSelector','AI_CHAT_SEARCH_WEB','enableModelSelector','div','length','setWebSearch','isOn','119106qMMfsQ','style','434828snLDuc','AI_CHAT_REASONING'];_0x4656=function(){return _0x17dd8c;};return _0x4656();}
|
|
23
|
+
const _0x47d01a=_0x2f1c;(function(_0x3d8e57,_0x7a141b){const _0x206045=_0x2f1c,_0xe60086=_0x3d8e57();while(!![]){try{const _0x43d2e0=parseInt(_0x206045(0x105))/0x1+-parseInt(_0x206045(0x134))/0x2*(parseInt(_0x206045(0xf7))/0x3)+parseInt(_0x206045(0x12e))/0x4+-parseInt(_0x206045(0x13a))/0x5*(parseInt(_0x206045(0xea))/0x6)+-parseInt(_0x206045(0x12a))/0x7+parseInt(_0x206045(0x119))/0x8+parseInt(_0x206045(0xfa))/0x9;if(_0x43d2e0===_0x7a141b)break;else _0xe60086['push'](_0xe60086['shift']());}catch(_0x24a6ce){_0xe60086['push'](_0xe60086['shift']());}}}(_0x19b4,0x21b3e));import{Collection as _0x393f2d}from'ckeditor5/src/utils.js';import{IconAI as _0x37c307,IconBulb as _0x392de0,IconWeb as _0x319e68}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x49d41f,ButtonLabelView as _0x414f8d,ButtonView as _0x22cb76,createDropdown as _0x66ac2,IconView as _0x55a45d,UIModel as _0x1be6d0,View as _0x34724c}from'ckeditor5/src/ui.js';import{getTranslation as _0x47cfdb}from'../../../aicore/utils/common-translations.js';const Ko=_0x47d01a(0x11c),Xo=_0x47d01a(0x144),Qo=_0x47d01a(0xf0),Zo=_0x47d01a(0xeb),tl=_0x47d01a(0x145),el=_0x47d01a(0x141),il=_0x47d01a(0x120),sl=_0x47d01a(0x136),ol='n';export class AIChatPromptCapabilitiesView extends _0x34724c{[_0x47d01a(0x11f)];[_0x47d01a(0x100)];[_0x47d01a(0xe9)];[_0x47d01a(0x132)];[_0x47d01a(0x108)];[_0x47d01a(0x12f)];constructor(_0x5f4e83){const _0x4e5953=_0x47d01a;super(_0x5f4e83),this[_0x4e5953(0x12b)](_0x4e5953(0x106),!0x1),this[_0x4e5953(0x12b)](_0x4e5953(0x122),!0x1),this[_0x4e5953(0x12b)](_0x4e5953(0x133),_0x4e5953(0xfe)),this[_0x4e5953(0x12b)](_0x4e5953(0xf6),!0x0),this[_0x4e5953(0x12b)](_0x4e5953(0xf8),null),this[_0x4e5953(0x12b)](_0x4e5953(0x129),null),this[_0x4e5953(0x132)]=this[_0x4e5953(0x13f)](),this[_0x4e5953(0x12f)]=this[_0x4e5953(0x10e)](),this[_0x4e5953(0x11f)]=this[_0x4e5953(0xf9)](),this[_0x4e5953(0x100)]=this[_0x4e5953(0x11d)](),this[_0x4e5953(0xe9)]=this[_0x4e5953(0x103)](),this[_0x4e5953(0x132)][_0x4e5953(0x140)][_0x4e5953(0x112)](_0x4e5953(0x12c))['to'](this,_0x4e5953(0x133),_0x2c934c=>_0x4e5953(0xfe)===_0x2c934c),this[_0x4e5953(0x132)][_0x4e5953(0x140)][_0x4e5953(0x112)](_0x4e5953(0xf4))['to'](this,_0x4e5953(0xf6),_0x42485b=>_0x42485b?this[_0x4e5953(0x132)][_0x4e5953(0x140)][_0x4e5953(0x10f)]:_0x47cfdb(this[_0x4e5953(0x12d)],_0x4e5953(0x130))),this[_0x4e5953(0x132)][_0x4e5953(0x112)](_0x4e5953(0x114))['to'](this,_0x4e5953(0xf6),_0x1a8e19=>_0x1a8e19),this[_0x4e5953(0x11f)][_0x4e5953(0x112)](_0x4e5953(0x118))['to'](this,_0x4e5953(0x106),_0x2f37ce=>_0x2f37ce),this[_0x4e5953(0x11f)][_0x4e5953(0x112)](_0x4e5953(0xf4))['to'](this,_0x4e5953(0x106),_0x1c5cb1=>_0x47cfdb(this[_0x4e5953(0x12d)],_0x1c5cb1?_0x4e5953(0x126):_0x4e5953(0x116))),this[_0x4e5953(0x100)][_0x4e5953(0x112)](_0x4e5953(0x118))['to'](this,_0x4e5953(0x122),_0x4d463e=>_0x4d463e),this[_0x4e5953(0x100)][_0x4e5953(0x112)](_0x4e5953(0xf4))['to'](this,_0x4e5953(0x122),_0x293693=>_0x47cfdb(this[_0x4e5953(0x12d)],_0x293693?_0x4e5953(0x10a):_0x4e5953(0x142))),this[_0x4e5953(0xe6)]({'tag':_0x4e5953(0x107),'attributes':{'class':[Ko]},'children':[this[_0x4e5953(0x132)],this[_0x4e5953(0x12f)],this[_0x4e5953(0x11f)],this[_0x4e5953(0x100)],this[_0x4e5953(0xe9)]]}),this[_0x4e5953(0x108)]=new _0x393f2d(),_0x49d41f(this[_0x4e5953(0x132)],this[_0x4e5953(0x108)]);}[_0x47d01a(0x11e)](_0x26a014,_0x2e0d60){const _0x6c4a06=_0x47d01a;if(_0x2e0d60)this[_0x6c4a06(0x12b)](_0x6c4a06(0x133),_0x6c4a06(0x10b));else{const _0x28d647=0x1===_0x26a014[_0x6c4a06(0x13d)];this[_0x6c4a06(0x12b)](_0x6c4a06(0x133),_0x28d647?_0x6c4a06(0x13e):_0x6c4a06(0xfe));}if(this[_0x6c4a06(0x108)][_0x6c4a06(0x11b)](),_0x26a014?.[_0x6c4a06(0x13d)])for(const _0x4dcbb2 of _0x26a014){const _0x2ef605=new _0x1be6d0({'label':_0x4dcbb2[_0x6c4a06(0x13e)],'withText':!0x0,'role':_0x6c4a06(0x10d),'id':_0x4dcbb2['id'],'model':_0x4dcbb2});_0x2ef605[_0x6c4a06(0x112)](_0x6c4a06(0x118))['to'](this,_0x6c4a06(0xf8),_0x58f325=>_0x58f325===_0x4dcbb2['id']),this[_0x6c4a06(0x108)][_0x6c4a06(0x109)]({'type':_0x6c4a06(0xfc),'model':_0x2ef605,'labelView':new ko(this[_0x6c4a06(0x12d)],_0x4dcbb2)});}}[_0x47d01a(0x124)](_0x315e3f){const _0x2cd597=_0x47d01a;this[_0x2cd597(0x12b)](_0x2cd597(0x106),_0x315e3f);}[_0x47d01a(0x102)](_0x59a8b9){const _0x21f59c=_0x47d01a;this[_0x21f59c(0x12b)](_0x21f59c(0x122),_0x59a8b9);}[_0x47d01a(0xee)](_0x826e3){const _0x22cf2f=_0x47d01a;if(!_0x826e3)return;this[_0x22cf2f(0xf8)]=_0x826e3['id'],this[_0x22cf2f(0x129)]=_0x826e3[_0x22cf2f(0x13e)]||_0x826e3['id'],this[_0x22cf2f(0x132)][_0x22cf2f(0x140)][_0x22cf2f(0x12b)](_0x22cf2f(0x10f),_0x826e3[_0x22cf2f(0x13e)]),this[_0x22cf2f(0x132)][_0x22cf2f(0x140)][_0x22cf2f(0x12b)](_0x22cf2f(0xf4),_0x826e3[_0x22cf2f(0x13e)]);const _0x48f5e7=_0x826e3[_0x22cf2f(0xf3)][_0x22cf2f(0x131)]?.[_0x22cf2f(0x10c)]??!0x1;this[_0x22cf2f(0x12b)](_0x22cf2f(0x106),!0x1),this[_0x22cf2f(0x11f)][_0x22cf2f(0x12b)](_0x22cf2f(0x118),!0x1),this[_0x22cf2f(0x11f)][_0x22cf2f(0x12b)](_0x22cf2f(0x114),_0x48f5e7),this[_0x22cf2f(0x11f)][_0x22cf2f(0x12b)](_0x22cf2f(0x12c),_0x48f5e7);const _0x1c2733=_0x826e3[_0x22cf2f(0xf3)][_0x22cf2f(0xe8)]?.[_0x22cf2f(0x10c)]??!0x1;this[_0x22cf2f(0x12b)](_0x22cf2f(0x122),!0x1),this[_0x22cf2f(0x100)][_0x22cf2f(0x12b)](_0x22cf2f(0x118),!0x1),this[_0x22cf2f(0x100)][_0x22cf2f(0x12b)](_0x22cf2f(0x114),_0x1c2733),this[_0x22cf2f(0x100)][_0x22cf2f(0x12b)](_0x22cf2f(0x12c),_0x1c2733);}[_0x47d01a(0x123)](){const _0x363155=_0x47d01a;this[_0x363155(0x12b)](_0x363155(0xf6),!0x0);}[_0x47d01a(0xef)](_0x21ba42){const _0x57156e=_0x47d01a;this[_0x57156e(0x12b)](_0x57156e(0xf6),!0x1),_0x21ba42&&this[_0x57156e(0x12b)](_0x57156e(0x133),_0x57156e(0x10b));}[_0x47d01a(0xf9)](){const _0x5392fe=_0x47d01a,_0x2505cd=new _0x22cb76();return _0x2505cd[_0x5392fe(0x12b)]({'label':_0x47cfdb(this[_0x5392fe(0x12d)],_0x5392fe(0xf2)),'icon':_0x319e68,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x2505cd['on'](_0x5392fe(0xe7),()=>{const _0x32845a=_0x5392fe;this[_0x32845a(0x128)](_0x32845a(0xf5));}),_0x2505cd;}[_0x47d01a(0x11d)](){const _0x5a5cb3=_0x47d01a,_0x2e7c9f=new _0x22cb76();return _0x2e7c9f[_0x5a5cb3(0x12b)]({'label':_0x47cfdb(this[_0x5a5cb3(0x12d)],_0x5a5cb3(0x13b)),'icon':_0x392de0,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x2e7c9f['on'](_0x5a5cb3(0xe7),()=>{const _0x8a988c=_0x5a5cb3;this[_0x8a988c(0x128)](_0x8a988c(0xec));}),_0x2e7c9f;}[_0x47d01a(0x103)](){const _0x425a8c=_0x47d01a,_0x36f20e=new _0x22cb76();return _0x36f20e[_0x425a8c(0x12b)]({'label':_0x47cfdb(this[_0x425a8c(0x12d)],_0x425a8c(0x125)),'icon':_0x37c307,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x47cfdb(this[_0x425a8c(0x12d)],_0x425a8c(0x125)),'tooltipPosition':ol}),_0x36f20e[_0x425a8c(0xed)]({'attributes':{'class':[Qo]}}),_0x36f20e['on'](_0x425a8c(0xe7),()=>{const _0x3d2b1a=_0x425a8c;console[_0x3d2b1a(0x115)](_0x3d2b1a(0x127)),alert(_0x3d2b1a(0x127));}),_0x36f20e;}[_0x47d01a(0x13f)](){const _0x5cf1a2=_0x47d01a,_0x55c041=_0x66ac2(this[_0x5cf1a2(0x12d)]);return _0x55c041[_0x5cf1a2(0x12b)]({'panelPosition':'ne','class':[tl]}),_0x55c041[_0x5cf1a2(0x140)][_0x5cf1a2(0x12b)]({'label':_0x47cfdb(this[_0x5cf1a2(0x12d)],_0x5cf1a2(0x146)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x5cf1a2(0xfb)](_0x55c041,_0x5cf1a2(0xe7),_0xef2c96=>{const _0x592071=_0x5cf1a2;this[_0x592071(0x128)](_0x592071(0x117),_0xef2c96[_0x592071(0x110)][_0x592071(0x143)]);}),_0x55c041;}[_0x47d01a(0x10e)](){const _0x1d0e4c=_0x47d01a,_0x45c7d4=new _o(this[_0x1d0e4c(0x12d)]);return _0x45c7d4[_0x1d0e4c(0x112)](_0x1d0e4c(0x11a))['to'](this,_0x1d0e4c(0x129),_0x226458=>_0x226458??''),_0x45c7d4[_0x1d0e4c(0x112)](_0x1d0e4c(0x12c))['to'](this,_0x1d0e4c(0x133),_0x53e73e=>_0x1d0e4c(0x13e)===_0x53e73e),_0x45c7d4;}}function _0x2f1c(_0x5d2f8a,_0x83b2f3){const _0x19b4ca=_0x19b4();return _0x2f1c=function(_0x2f1c77,_0x5438f1){_0x2f1c77=_0x2f1c77-0xe6;let _0x366bd=_0x19b4ca[_0x2f1c77];return _0x366bd;},_0x2f1c(_0x5d2f8a,_0x83b2f3);}function _0x19b4(){const _0x54564a=['860672TjiTlE','text','clear','ck-ai-chat__prompt-capabilities','_createReasoningButton','setModelList','_webSearchButton','ck-ai-chat-controls__model-selection__item-description','AI_CHAT_CAPABILITIES_YES','reasoningActive','enableModelSelector','setWebSearch','AI_CHAT_COMMANDS','AI_CHAT_DISABLE_WEB_SEARCH','Commands\x20are\x20not\x20implemented\x20yet.','fire','activeModelName','605955ydlpnC','set','isVisible','locale','296840aRQmPg','_modelNameView','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','webSearch','_modelSelectionDropdown','modelDisplayMode','1100MflCrf','_getCapabilityParts','ck-ai-chat-controls__model-selection__item-capabilities','bindTemplate','createCollection','span','42140uAdBTi','AI_CHAT_REASONING','description','length','name','_createModelSelectionDropdown','buttonView','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_ENABLE_REASONING','model','ck-ai-chat-controls-button','ck-ai-chat-controls__model-selection','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','setTemplate','execute','reasoning','_commandsButton','186DtEcuH','ck-ai-button-tertiary','toggleReasoning','extendTemplate','setModel','disableModelSelector','ck-ai-chat-controls-button--commands','style','AI_CHAT_SEARCH_WEB','capabilities','tooltip','toggleWebSearch','modelSelectorEnabled','687pjmTGU','activeModelId','_createWebSearchButton','3290535zAMbXT','listenTo','button','addMany','selector','ck-ai-chat-controls__model-name','_reasoningButton','ck-button__label','setReasoning','_createCommandsButton','ck-hidden','64420brzFbN','webSearchActive','div','_modelSelectionDropdownItems','add','AI_CHAT_DISABLE_REASONING','hidden','enabled','menuitemradio','_createModelNameView','label','source','content','bind','AI_CHAT_CAPABILITIES_NO','isEnabled','log','AI_CHAT_ENABLE_WEB_SEARCH','selectModel','isOn'];_0x19b4=function(){return _0x54564a;};return _0x19b4();}class ko extends _0x414f8d{constructor(_0x2b8439,_0x380497){const _0x39208d=_0x47d01a;super();const _0x54d8e4=this[_0x39208d(0x137)],_0x2b5eae=this[_0x39208d(0x138)]();this[_0x39208d(0xe6)]({'tag':_0x39208d(0x107),'attributes':{'class':['ck',_0x39208d(0x101)],'style':_0x54d8e4['to'](_0x39208d(0xf1)),'id':_0x54d8e4['to']('id')},'children':[{'tag':_0x39208d(0x107),'attributes':{'class':[el]},'children':[{'text':_0x54d8e4['to'](_0x39208d(0x11a))}]},{'tag':_0x39208d(0x107),'attributes':{'class':[il]},'children':[{'tag':_0x39208d(0x139),'children':[{'text':_0x380497[_0x39208d(0x13c)]}]}]},{'tag':_0x39208d(0x107),'attributes':{'class':[sl]},'children':_0x2b5eae}]}),_0x2b5eae[_0x39208d(0xfd)](this[_0x39208d(0x135)](_0x2b8439,_0x319e68,_0x39208d(0xf2),_0x380497[_0x39208d(0xf3)][_0x39208d(0x131)]?.[_0x39208d(0x10c)]??!0x1)),_0x2b5eae[_0x39208d(0xfd)](this[_0x39208d(0x135)](_0x2b8439,_0x392de0,_0x39208d(0x13b),_0x380497[_0x39208d(0xf3)][_0x39208d(0xe8)]?.[_0x39208d(0x10c)]??!0x1));}[_0x47d01a(0x135)](_0x56e42f,_0xfe4898,_0x243157,_0x447841){const _0x1ca89b=_0x47d01a,_0xced2ce=new _0x55a45d();_0xced2ce[_0x1ca89b(0x111)]=_0xfe4898;const _0x35510f=new _0x34724c(_0x56e42f);_0x35510f[_0x1ca89b(0xe6)]({'tag':_0x1ca89b(0x139),'children':[{'text':_0x47cfdb(_0x56e42f,_0x243157)+':\x20'}]});const _0x1cb576=new _0x34724c(_0x56e42f);return _0x1cb576[_0x1ca89b(0xe6)]({'tag':_0x1ca89b(0x139),'children':[{'text':_0x47cfdb(_0x56e42f,_0x447841?_0x1ca89b(0x121):_0x1ca89b(0x113))}]}),[_0xced2ce,_0x35510f,_0x1cb576];}}class _o extends _0x34724c{constructor(_0x165c37){const _0x32b2e3=_0x47d01a;super(_0x165c37),this[_0x32b2e3(0x12b)](_0x32b2e3(0x11a),void 0x0),this[_0x32b2e3(0x12b)](_0x32b2e3(0x12c),!0x0);const _0x348f71=this[_0x32b2e3(0x137)];this[_0x32b2e3(0xe6)]({'tag':_0x32b2e3(0x139),'attributes':{'class':['ck',_0x32b2e3(0xff),_0x348f71['if'](_0x32b2e3(0x12c),_0x32b2e3(0x104),_0x446dfc=>!_0x446dfc)]},'children':[{'text':_0x348f71['to'](_0x32b2e3(0x11a))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dd140=_0x5bbc;(function(_0x1af483,_0x43e3e9){const _0x536921=_0x5bbc,_0x1bd971=_0x1af483();while(!![]){try{const _0x53ca16=-parseInt(_0x536921(0x129))/0x1+-parseInt(_0x536921(0x117))/0x2*(-parseInt(_0x536921(0x10f))/0x3)+-parseInt(_0x536921(0x114))/0x4*(-parseInt(_0x536921(0x131))/0x5)+-parseInt(_0x536921(0x106))/0x6*(-parseInt(_0x536921(0xf1))/0x7)+parseInt(_0x536921(0x10a))/0x8*(-parseInt(_0x536921(0x11b))/0x9)+parseInt(_0x536921(0x119))/0xa+-parseInt(_0x536921(0x11a))/0xb;if(_0x53ca16===_0x43e3e9)break;else _0x1bd971['push'](_0x1bd971['shift']());}catch(_0x7a6b82){_0x1bd971['push'](_0x1bd971['shift']());}}}(_0x3596,0x34918));import{IconSubmit as _0x3f9c1e}from'ckeditor5/src/icons.js';function _0x3596(){const _0x4b2e18=['render','isUploadInProgress','window','style','3nGjxNi','requestAnimationFrame','submit','set','width','246060kCOotm','setPlaceholderText','ck-ai-chat__prompt-submit-button','449558ECzKJd','enter','3182120VPJZiw','6787033ahRxtm','74961lNvXTY','locale','calc(','extendTemplate','fieldWrapperChildren','update','fieldView','classList','rtl','focus','isEmpty','_createSubmitButton','destroy','target','150524GnImPK','bind','_setUpAddContextButtonPositioning','ck-ai-chat__prompt-input','value','contains','excludeScrollbarsAndBorders','add','25qDUqqe','element','setIsUploadInProgress','px\x20-\x20var(--ck-spacing-tiny))','_queryViewResizeObserver','errorText','minRows','14mvofKC','focusableChildren','execute','sendUserMessage','maxRows','hasError','isEnabled','trim','submitButtonView','AI_CHAT_PROMPT_EMPTY_ERROR','remove','right','MAX_ROWS','_addContextButtonView','left','AI_CHAT_LABEL_SUBMIT','MIN_ROWS','uiLanguageDirection','reset','placeholder','queryView','1221414RHtFMA','ck-ai-chat__prompt-input_highlighted','fire','keystrokes','264MsGrtr'];_0x3596=function(){return _0x4b2e18;};return _0x3596();}import{ButtonView as _0x3050ff,AutocompleteView as _0x29d6d3,createLabeledTextarea as _0x1ee90}from'ckeditor5/src/ui.js';import{global as _0x24da6f,isVisible as _0x367342,Rect as _0x5a55ee,ResizeObserver as _0x53854c}from'ckeditor5/src/utils.js';import{getTranslation as _0x290d78}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x25d80d}from'./aichatpromptsuggestionslistview.js';import{escape as _0x84a8c9}from'es-toolkit/compat';function _0x5bbc(_0x4549fb,_0x2f98da){const _0x35969b=_0x3596();return _0x5bbc=function(_0x5bbc3e,_0xe782a1){_0x5bbc3e=_0x5bbc3e-0xef;let _0x12e1e8=_0x35969b[_0x5bbc3e];return _0x12e1e8;},_0x5bbc(_0x4549fb,_0x2f98da);}const uh=_0x5dd140(0x107);export class AIChatPromptInputView extends _0x29d6d3{[_0x5dd140(0xf9)];static [_0x5dd140(0x101)]=0x1;static [_0x5dd140(0xfd)]=0xc;[_0x5dd140(0xfe)];[_0x5dd140(0x135)];constructor(_0xfbb67c,_0x34df5b){const _0x199c7a=_0x5dd140;super(_0xfbb67c,{'queryView':{'label':'','creator':_0x1ee90,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x25d80d(_0xfbb67c),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x199c7a(0x112)](_0x199c7a(0x125),!0x0),this[_0x199c7a(0x112)](_0x199c7a(0x10c),!0x1),this[_0x199c7a(0xfe)]=_0x34df5b,this[_0x199c7a(0x135)]=null,this[_0x199c7a(0x105)][_0x199c7a(0x121)][_0x199c7a(0xf0)]=AIChatPromptInputView[_0x199c7a(0x101)],this[_0x199c7a(0x105)][_0x199c7a(0x121)][_0x199c7a(0xf5)]=AIChatPromptInputView[_0x199c7a(0xfd)],this[_0x199c7a(0x105)][_0x199c7a(0x11f)][_0x199c7a(0x130)](this[_0x199c7a(0xfe)]),this[_0x199c7a(0x12b)](),this[_0x199c7a(0x11e)]({'attributes':{'class':['ck',_0x199c7a(0x12c)]}}),this[_0x199c7a(0xf9)]=this[_0x199c7a(0x126)](),this[_0x199c7a(0xf9)][_0x199c7a(0x12a)](_0x199c7a(0xf7))['to'](this,_0x199c7a(0x125),this,_0x199c7a(0x10c),(_0x216722,_0x3efb51)=>!_0x216722&&!_0x3efb51),this[_0x199c7a(0xf2)][_0x199c7a(0x130)](this[_0x199c7a(0xf9)]);}[_0x5dd140(0x10b)](){const _0x301773=_0x5dd140;super[_0x301773(0x10b)](),this[_0x301773(0x105)][_0x301773(0x11f)][_0x301773(0x130)](this[_0x301773(0xf9)]),this[_0x301773(0x109)][_0x301773(0x112)](_0x301773(0x118),(_0xeff49b,_0x1057ab)=>{const _0x36f5e8=_0x301773;this[_0x36f5e8(0x10c)]||this[_0x36f5e8(0x125)]||_0xeff49b[_0x36f5e8(0x128)]==this[_0x36f5e8(0x105)][_0x36f5e8(0x121)][_0x36f5e8(0x132)]&&(this[_0x36f5e8(0x111)](),_0x1057ab());}),this[_0x301773(0x105)][_0x301773(0x121)]['on'](_0x301773(0x120),()=>{const _0x8262e1=_0x301773;this[_0x8262e1(0x125)]=''===this[_0x8262e1(0x105)][_0x8262e1(0x121)][_0x8262e1(0x132)][_0x8262e1(0x12d)]?.[_0x8262e1(0xf8)]();});}[_0x5dd140(0x127)](){const _0x121726=_0x5dd140;super[_0x121726(0x127)](),this[_0x121726(0x135)]&&this[_0x121726(0x135)][_0x121726(0x127)]();}[_0x5dd140(0x111)](){const _0x5096de=_0x5dd140,_0x152472=this[_0x5096de(0x105)][_0x5096de(0x121)][_0x5096de(0x132)][_0x5096de(0x12d)]?.[_0x5096de(0xf8)]();if(!_0x152472)return this[_0x5096de(0x105)][_0x5096de(0xef)]=_0x290d78(this[_0x5096de(0x11c)],_0x5096de(0xfa)),void(this[_0x5096de(0x105)][_0x5096de(0x121)][_0x5096de(0xf6)]=!0x0);this[_0x5096de(0x105)][_0x5096de(0x121)][_0x5096de(0xf6)]=!0x1;const _0x447e07=_0x84a8c9(_0x152472);this[_0x5096de(0x108)](_0x5096de(0xf4),_0x447e07),this[_0x5096de(0x105)][_0x5096de(0x121)][_0x5096de(0x103)]();}[_0x5dd140(0x115)](_0x32b131){const _0xd5db99=_0x5dd140;this[_0xd5db99(0x105)][_0xd5db99(0x121)][_0xd5db99(0x112)](_0xd5db99(0x104),_0x32b131);}[_0x5dd140(0x124)](_0x127548=!0x1){const _0x3b69b7=_0x5dd140;super[_0x3b69b7(0x124)](),_0x127548&&(this[_0x3b69b7(0x132)][_0x3b69b7(0x122)][_0x3b69b7(0x12e)](uh)||(this[_0x3b69b7(0x132)][_0x3b69b7(0x122)][_0x3b69b7(0x130)](uh),setTimeout(()=>{const _0x26d0dc=_0x3b69b7;this[_0x26d0dc(0x132)][_0x26d0dc(0x122)][_0x26d0dc(0xfb)](uh);},0x320)));}[_0x5dd140(0x126)](){const _0x2a1881=_0x5dd140,_0x4da248=new _0x3050ff(this[_0x2a1881(0x11c)]);return _0x4da248[_0x2a1881(0x112)]({'icon':_0x3f9c1e,'label':_0x290d78(this[_0x2a1881(0x11c)],_0x2a1881(0x100)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2a1881(0x116),'isEnabled':!0x1}),_0x4da248['on'](_0x2a1881(0xf3),()=>{const _0x3dc098=_0x2a1881;this[_0x3dc098(0x111)]();}),_0x4da248;}[_0x5dd140(0x133)](_0x766c7a){const _0x5b6cdd=_0x5dd140;this[_0x5b6cdd(0x10c)]=_0x766c7a;}[_0x5dd140(0x12b)](){const _0x31934f=_0x5dd140,_0x387533=this[_0x31934f(0x11c)],_0x492b27=()=>{const _0x3c1483=_0x31934f;_0x24da6f[_0x3c1483(0x10d)][_0x3c1483(0x110)](()=>{const _0x900a73=_0x3c1483;if(_0x367342(this[_0x900a73(0x132)])){const _0x3418b3=new _0x5a55ee(this[_0x900a73(0x105)][_0x900a73(0x121)][_0x900a73(0x132)]),_0x545903=new _0x5a55ee(this[_0x900a73(0xfe)][_0x900a73(0x132)]),_0x1bfff6=_0x3418b3[_0x900a73(0x113)],_0x29ea3d=_0x900a73(0x123)===_0x387533[_0x900a73(0x102)]?_0x900a73(0xfc):_0x900a73(0xff);_0x3418b3[_0x900a73(0x12f)]();const _0x45bae4=_0x1bfff6-_0x3418b3[_0x900a73(0x113)]+0x1;this[_0x900a73(0xfe)][_0x900a73(0x132)][_0x900a73(0x10e)][_0x29ea3d]=_0x900a73(0x11d)+(_0x1bfff6-_0x545903[_0x900a73(0x113)]-_0x45bae4)+_0x900a73(0x134);}});};this[_0x31934f(0x105)][_0x31934f(0x121)]['on'](_0x31934f(0x120),_0x492b27),this['on'](_0x31934f(0x10b),()=>{const _0x224980=_0x31934f;_0x492b27(),this[_0x224980(0x135)]=new _0x53854c(this[_0x224980(0x105)][_0x224980(0x121)][_0x224980(0x132)],()=>{_0x492b27();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d8c(){const _0x3c129e=['46oXpeLr','37510qkQiUg','350310pgPBOw','length','443516Zjtilw','filter','64743gffiiE','18LMHNUx','items','100242WmQicM','88lIMyIy','2549030zsdgwV','995197KYpnME','184mQvjLP'];_0x2d8c=function(){return _0x3c129e;};return _0x2d8c();}function _0x2577(_0x1f31ef,_0x6c7176){const _0x2d8cdd=_0x2d8c();return _0x2577=function(_0x25771d,_0xcdcbb){_0x25771d=_0x25771d-0xf4;let _0x29ea0c=_0x2d8cdd[_0x25771d];return _0x29ea0c;},_0x2577(_0x1f31ef,_0x6c7176);}const _0x2471df=_0x2577;(function(_0x391f27,_0x2cd6af){const _0xf2f993=_0x2577,_0x1ddd1e=_0x391f27();while(!![]){try{const _0x3080c7=-parseInt(_0xf2f993(0xfd))/0x1+parseInt(_0xf2f993(0xfc))/0x2*(-parseInt(_0xf2f993(0xf4))/0x3)+-parseInt(_0xf2f993(0x100))/0x4+parseInt(_0xf2f993(0xf9))/0x5+-parseInt(_0xf2f993(0xf5))/0x6*(-parseInt(_0xf2f993(0xfa))/0x7)+-parseInt(_0xf2f993(0xfb))/0x8*(-parseInt(_0xf2f993(0xf7))/0x9)+-parseInt(_0xf2f993(0xfe))/0xa*(parseInt(_0xf2f993(0xf8))/0xb);if(_0x3080c7===_0x2cd6af)break;else _0x1ddd1e['push'](_0x1ddd1e['shift']());}catch(_0x557e5c){_0x1ddd1e['push'](_0x1ddd1e['shift']());}}}(_0x2d8c,0x414e5));import{ListView as _0x58731b}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x58731b{[_0x2471df(0x101)](){const _0x6b2240=_0x2471df;let _0x3e98a7=0x0;for(const _0xae8aea of this[_0x6b2240(0xf6)])_0x3e98a7+=_0xae8aea[_0x6b2240(0xf6)][_0x6b2240(0xff)];return{'resultsCount':_0x3e98a7,'totalItemsCount':_0x3e98a7};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x71efb0=_0x41a2;(function(_0x3d497d,_0x3ed7b5){const _0x26b9fc=_0x41a2,_0x3571c0=_0x3d497d();while(!![]){try{const _0x9d4894=-parseInt(_0x26b9fc(0x82))/0x1+parseInt(_0x26b9fc(0x77))/0x2*(parseInt(_0x26b9fc(0x93))/0x3)+parseInt(_0x26b9fc(0x8e))/0x4+-parseInt(_0x26b9fc(0x89))/0x5*(parseInt(_0x26b9fc(0x94))/0x6)+parseInt(_0x26b9fc(0x95))/0x7*(-parseInt(_0x26b9fc(0x8d))/0x8)+parseInt(_0x26b9fc(0x92))/0x9+parseInt(_0x26b9fc(0x88))/0xa;if(_0x9d4894===_0x3ed7b5)break;else _0x3571c0['push'](_0x3571c0['shift']());}catch(_0x25d1d0){_0x3571c0['push'](_0x3571c0['shift']());}}}(_0xb203,0x3ebef));import{ListView as _0x4fe2ce}from'ckeditor5/src/ui.js';function _0x41a2(_0x544af6,_0x5e8f37){const _0xb203b8=_0xb203();return _0x41a2=function(_0x41a250,_0x4c24a4){_0x41a250=_0x41a250-0x76;let _0x38d0f5=_0xb203b8[_0x41a250];return _0x38d0f5;},_0x41a2(_0x544af6,_0x5e8f37);}import{AIChatResourceListItemView as _0x5b9770}from'./aichatresourcelistitemview.js';function _0xb203(){const _0x5e92cc=['clear','\x5c$&','ck-ai-chat-resources__list','items','updateResourceState','fire','setResources','locale','label','16583nLkWlJ','filter','_source','extendTemplate','addResourceToContext','_handleResourceSelection','4185730XJdZup','783820yppIDp','useDefaultFiltering','replace','add','272vYdOKm','1037760TNOxxr','execute','test','forEach','460620kPVqTg','3PcCcXv','6YqUdyj','92141LboZyK','trim','highlightText','297406LCjEer','resource'];_0xb203=function(){return _0x5e92cc;};return _0xb203();}const uc=_0x71efb0(0x7b);export class AIChatContextResourcesListView extends _0x4fe2ce{[_0x71efb0(0x84)];constructor(_0x50392b,_0x2be955){const _0x59e4d7=_0x71efb0;super(_0x50392b),this[_0x59e4d7(0x84)]=_0x2be955,this[_0x59e4d7(0x85)]({'attributes':{'class':[uc]}});}[_0x71efb0(0x7f)](_0x21d364,_0x2a861d){const _0x4f8b7c=_0x71efb0;this[_0x4f8b7c(0x7c)][_0x4f8b7c(0x79)]();let _0x38e10d=_0x21d364;if(this[_0x4f8b7c(0x84)][_0x4f8b7c(0x8a)]&&_0x2a861d&&''!==_0x2a861d[_0x4f8b7c(0x96)]()){const _0x149930=new RegExp(_0x2a861d[_0x4f8b7c(0x8b)](/[.*+?^${}()|[\]\\]/g,_0x4f8b7c(0x7a)),'gi');_0x38e10d=_0x21d364[_0x4f8b7c(0x83)](_0x1a717e=>_0x149930[_0x4f8b7c(0x90)](_0x1a717e[_0x4f8b7c(0x81)]));}for(const _0x364428 of _0x38e10d){const _0x30440e=new _0x5b9770(this[_0x4f8b7c(0x80)],_0x364428);_0x30440e['on'](_0x4f8b7c(0x8f),()=>{const _0x52f865=_0x4f8b7c;this[_0x52f865(0x87)](this[_0x52f865(0x84)],_0x364428);}),this[_0x4f8b7c(0x7c)][_0x4f8b7c(0x8c)](_0x30440e);}this[_0x4f8b7c(0x84)][_0x4f8b7c(0x8a)]&&this[_0x4f8b7c(0x76)](_0x2a861d);}[_0x71efb0(0x76)](_0x2aea06){const _0x3d6728=_0x71efb0;this[_0x3d6728(0x84)][_0x3d6728(0x8a)]&&this[_0x3d6728(0x7c)][_0x3d6728(0x91)](_0x40200d=>{const _0x283c4f=_0x3d6728;_0x40200d[_0x283c4f(0x76)](_0x2aea06);});}[_0x71efb0(0x7d)](_0x50fe60,_0x48cb79){const _0x41e33e=_0x71efb0;for(const _0x3bd667 of this[_0x41e33e(0x7c)]){const _0x240124=_0x3bd667;_0x240124[_0x41e33e(0x78)]['id']===_0x50fe60&&_0x240124[_0x41e33e(0x7d)](_0x48cb79);}}[_0x71efb0(0x87)](_0xb4ea,_0x59fe8e){const _0x390b08=_0x71efb0;this[_0x390b08(0x7e)](_0x390b08(0x86),{'source':_0xb4ea,'resource':_0x59fe8e});}}
|