aiware-js 1.0.0-master.1097 → 1.0.0-master.1098

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/js-core.esm19.js CHANGED
@@ -1 +1 @@
1
- import{aq as unmountPanel$1,a1 as hidePanel$1,dR as unmountAllPanel$1,dS as getUniqueID,ar as mountPanel$1,bI as AvailableWidgets,bH as updatePanelMicroFrontendProps,dT as mountWidget,dU as unmountWidget,dV as updateTokenRequest,dW as HelpCenter,D as takeEvery$1,dX as mountPanelForResponse$1,dY as DataCenter,E as select}from"./js-core.esm.js";import{s as setData,b as logout,u as updateActivityStatus}from"./js-core.esm4.js";import{setCustomKnowledgeBaseUrl,setCustomDocsUrl,updateSelectedTab}from"./js-core.esm20.js";import"./js-core.esm5.js";import"./js-core.esm7.js";class RateLimiter{constructor(){this.lastCall=null}checkIfCanCall(e=1){return e<1&&(e=1),(!this.lastCall||(new Date).getTime()-this.lastCall>=6e4*e)&&(this.lastCall=(new Date).getTime(),!0)}}const rateLimiter=new RateLimiter,createAuthHelpers=t=>({updateToken(e){e?t.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{t.dispatch(logout())},1e3)):t.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&t.dispatch(updateActivityStatus())}}),helpCenter=()=>{var e=new HelpCenter({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}},dataCenter=()=>{var e=new DataCenter;return{openImporterPanel:e.openImporterPanel.bind(e)}},unmountPanel=t=>e=>(t.dispatch(unmountPanel$1(e)),!0),hidePanel=t=>e=>(t.dispatch(hidePanel$1(e)),!0),unmountAllPanel=e=>()=>{e.dispatch(unmountAllPanel$1(""))},mountPanel=s=>(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:a}=e;s.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:a}));const o=[...(null==(e=null==a?void 0:a.header)?void 0:e.actions)||[],...(null==(e=null==a?void 0:a.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);a={id:n,sagas:[function*(){yield takeEvery$1(o.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return s.addModule(a),n},mountPanelForResponse=t=>e=>mountPanelForResponse$1(e,t),attachSdkToWindow=e=>{var{init:e,store:t,aiwareEvents:n,bootstrapOptions:a}=e;!window||void 0!==window.aiware&&0!==Object.keys(window.aiware).length||(window.aiware={init:e,store:t,auth:createAuthHelpers(t),helpCenter:helpCenter(),dataCenter:dataCenter(),on:n.on,off:n.off,hidePanel:hidePanel(t),unmountPanel:unmountPanel(t),mountPanel:mountPanel(t),mountPanelForResponse:mountPanelForResponse(t),registry:a.registry,registryLookup:a.registryLookup,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,unmountWidget:unmountWidget,version:"sdk_release_version",commit:"306aa6713",releaseDate:"sdk_release_date"})};export{attachSdkToWindow,hidePanel,mountPanel,unmountAllPanel,unmountPanel};
1
+ import{aq as unmountPanel$1,a1 as hidePanel$1,dR as unmountAllPanel$1,dS as getUniqueID,ar as mountPanel$1,bI as AvailableWidgets,bH as updatePanelMicroFrontendProps,dT as mountWidget,dU as unmountWidget,dV as updateTokenRequest,dW as HelpCenter,D as takeEvery$1,dX as mountPanelForResponse$1,dY as DataCenter,E as select}from"./js-core.esm.js";import{s as setData,b as logout,u as updateActivityStatus}from"./js-core.esm4.js";import{setCustomKnowledgeBaseUrl,setCustomDocsUrl,updateSelectedTab}from"./js-core.esm20.js";import"./js-core.esm5.js";import"./js-core.esm7.js";class RateLimiter{constructor(){this.lastCall=null}checkIfCanCall(e=1){return e<1&&(e=1),(!this.lastCall||(new Date).getTime()-this.lastCall>=6e4*e)&&(this.lastCall=(new Date).getTime(),!0)}}const rateLimiter=new RateLimiter,createAuthHelpers=t=>({updateToken(e){e?t.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{t.dispatch(logout())},1e3)):t.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&t.dispatch(updateActivityStatus())}}),helpCenter=()=>{var e=new HelpCenter({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}},dataCenter=()=>{var e=new DataCenter;return{openImporterPanel:e.openImporterPanel.bind(e)}},unmountPanel=t=>e=>(t.dispatch(unmountPanel$1(e)),!0),hidePanel=t=>e=>(t.dispatch(hidePanel$1(e)),!0),unmountAllPanel=e=>()=>{e.dispatch(unmountAllPanel$1(""))},mountPanel=s=>(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:a}=e;s.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:a}));const o=[...(null==(e=null==a?void 0:a.header)?void 0:e.actions)||[],...(null==(e=null==a?void 0:a.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);a={id:n,sagas:[function*(){yield takeEvery$1(o.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return s.addModule(a),n},mountPanelForResponse=t=>e=>mountPanelForResponse$1(e,t),attachSdkToWindow=e=>{var{init:e,store:t,aiwareEvents:n,bootstrapOptions:a}=e;!window||void 0!==window.aiware&&0!==Object.keys(window.aiware).length||(window.aiware={init:e,store:t,auth:createAuthHelpers(t),helpCenter:helpCenter(),dataCenter:dataCenter(),on:n.on,off:n.off,hidePanel:hidePanel(t),unmountPanel:unmountPanel(t),mountPanel:mountPanel(t),mountPanelForResponse:mountPanelForResponse(t),registry:a.registry,registryLookup:a.registryLookup,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,unmountWidget:unmountWidget,version:"sdk_release_version",commit:"27e990985",releaseDate:"sdk_release_date"})};export{attachSdkToWindow,hidePanel,mountPanel,unmountAllPanel,unmountPanel};
Binary file
package/js-core.esm2.js CHANGED
@@ -285,4 +285,4 @@ import{r as react$1,u as useForkRef,a as useEnhancedEffect,b as useEventCallback
285
285
  100% {
286
286
  opacity: 0;
287
287
  }
288
- `),useStyles$3=makeStyles()(()=>({fullScreen:{position:"fixed",width:"100%",height:"100vh",top:"0",left:"0",backgroundColor:"#ffffff",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",textAlign:"center",fontSize:"14px",animation:fadeInOut+" 5s linear forwards"},loaderBox:{height:"200px",width:"200px"},veritoneDarkLogo:{height:"200px",width:"200px"}})),useStyles$2=makeStyles()(e=>({flexContainer:{display:"flex",alignItems:"center"},header:{alignItems:"center",display:"flex",justifyContent:"space-between",height:"55px",padding:e.spacing(6,0,6,6),borderBottom:"1px solid rgb(219, 226, 234)"},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end",paddingRight:"10px"},title:{color:"#2A323C"},panelRoot:{padding:"15px",height:"calc(100% - 70px);",overflowY:"scroll"},row:{display:"flex","& svg":{marginRight:"12px",marginBottom:"24px"}},widgets:{"& svg":{fill:"#555F7C"}},veriLogo:{transform:"translate(3px, 2px)"},versionText:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",marginBottom:"5px"},wrapperBox:{padding:"15px 0 15px 0px",marginBottom:"14px"},aiwareLogo:{marginBottom:"10px",marginTop:"10px",width:"151px"},boldTitle:{fontWeight:700},labelGrid:{padding:"2px",flexShrink:1},valueGrid:{padding:"2px",flexGrow:1},gridBox:{background:"#F7F7F7",height:"100%",padding:"10px",color:"#2A323C"},valueBox:{background:"#F7F7F7",height:"100%",padding:"10px",color:"#2A323C",textTransform:"capitalize"},imageContainer:{textAlign:"center"},falconLogo:{width:"148px"},osInfo:{display:"flex",justifyContent:"center","& *":{textAlign:"center"}},osName:{margin:"2px 0 6px","& p":{display:"inline-block",minWidth:"80px",padding:"5px 8px",background:"#465364",color:"white",textTransform:"uppercase",fontSize:"12px",fontWeight:"700",borderRadius:"4px"}},osVersion:{color:"#5C6269"}})),versionPanelLabels=e=>({closePanelTooltip:e.formatMessage({id:"version-panel.header.close-btn-tooltip",defaultMessage:[{type:0,value:"Close panel"}]}),versionInformationLabel:e.formatMessage({id:"version-panel.version-information-title",defaultMessage:[{type:0,value:"Version Information"}]}),versionLabel:e.formatMessage({id:"version-panel.version-title",defaultMessage:[{type:0,value:"Version"}]}),sdkVersionLabel:e.formatMessage({id:"version-panel.sdk-version-title",defaultMessage:[{type:0,value:"Sdk Version"}]}),viewReleaseNotes:e.formatMessage({id:"version-panel.view-release-notes",defaultMessage:[{type:0,value:"View Release Notes"}]}),noVersionInfo:e.formatMessage({id:"version-panel.no-info-label",defaultMessage:[{type:0,value:"Cannot get version information"}]}),clusterSizeLabel:e.formatMessage({id:"version-panel.cluster-size-label",defaultMessage:[{type:0,value:"Size"}]}),environmentLabel:e.formatMessage({id:"version-panel.environment-label",defaultMessage:[{type:0,value:"Environment"}]}),hostingTypeLabel:e.formatMessage({id:"version-panel.hosting-type-label",defaultMessage:[{type:0,value:"Hosting Type"}]}),infrastructureLabel:e.formatMessage({id:"version-panel.infrastructure-label",defaultMessage:[{type:0,value:"Infrastructure"}]})}),Header$1=()=>{const e=useDispatch();var t=useStyles$2()["classes"],n=useIntl(),{versionInformationLabel:n,closePanelTooltip:i}=versionPanelLabels(n);return jsxRuntime.exports.jsxs("header",Object.assign({className:t.header,"data-testid":"create-or-update-token-panel.header"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1","data-testid":"version-panel-header-title",className:t.title},{children:n})),jsxRuntime.exports.jsx("div",Object.assign({className:t.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>e(hidePanel(VERSION_PANEL)),"aria-labelledby":"version-panel.close-button","data-testid":"version-panel.close-button",size:"large"},{children:jsxRuntime.exports.jsx(Close$1,{})}))}))}))]}))},selectLoadingStatus=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.status},selectCurrentVersion=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.currentVersion},selectPreviousVersion=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.previousVersion},selectPlatformProperties=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.platformProperties},selectSelectedVersion=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.selectedVersion},VERSION_PANEL="VERSION_PANEL",VersionChangelogNullState=({label:e})=>{var t=useStyles$2()["classes"];return jsxRuntime.exports.jsx(Box,Object.assign({className:t.gridBox,sx:{fontWeight:700,textAlign:"center",mb:"5px"},"data-test":"version-changelog-null-state"},{children:e}))},VersionPanelComponent=({sdk:e,edge:t,core:n})=>{const i=useStyles$2()["classes"];var a=useIntl();const r=useDispatch();var{versionLabel:a,viewReleaseNotes:o,noVersionInfo:s,clusterSizeLabel:l,environmentLabel:c,hostingTypeLabel:u,infrastructureLabel:d,sdkVersionLabel:p}=versionPanelLabels(a),m=useSelector(selectCurrentVersion),g=useSelector(selectPlatformProperties);const f=useSelector(selectLoadingStatus);var h={sdk:e,core:n,edge:null!=t&&t.includes("<Error>")?void 0:t},a=(react$1.exports.useEffect(()=>{["idle","failure"].includes(f)&&r(actions$2.fetchVersionInfoStart())},[r,f]),jsxRuntime.exports.jsx(Box,Object.assign({className:i.osInfo},{children:jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Box,Object.assign({className:i.osName},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{fontWeight:700}},{children:"Falcon"}))})),jsxRuntime.exports.jsx(Box,Object.assign({className:i.osVersion},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption","data-testid":"version-panel-version-info"},{children:[(null==m?void 0:m.version)&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[a," ",null==m?void 0:m.version]}),!(null!=m&&m.version)&&(null===h?void 0:h.sdk)&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[p," ",null===h?void 0:h.sdk]})]}))}))]})})));const $={Size:l,Environment:c,HostingType:u,Infrastructure:d};p=!!(e||t||n||g||m)&&["success","failure"].includes(f);return jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Header$1,{}),jsxRuntime.exports.jsxs("div",Object.assign({className:i.panelRoot},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({className:i.wrapperBox},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({sx:{p:"20px"}},{children:[p&&jsxRuntime.exports.jsx(Box,Object.assign({className:i.imageContainer},{children:jsxRuntime.exports.jsx("img",{src:img$6,className:i.falconLogo,alt:"system-logo"})})),jsxRuntime.exports.jsx(Box,Object.assign({className:i.imageContainer},{children:jsxRuntime.exports.jsx("img",{src:img$7,className:i.aiwareLogo,alt:"aiware-logo"})})),p&&a]})),p?jsxRuntime.exports.jsx(Grid,Object.assign({container:!0,sx:{mt:"10px"}},{children:g&&Object.entries(g).map(([e,t])=>$[e]&&jsxRuntime.exports.jsxs(react$1.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({item:!0,xs:6,className:i.labelGrid},{children:jsxRuntime.exports.jsxs(Box,Object.assign({className:i.gridBox,sx:{fontWeight:700}},{children:[$[e],":"]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({item:!0,xs:6,className:i.valueGrid},{children:jsxRuntime.exports.jsx(Box,Object.assign({className:i.valueBox},{children:t}))}))]},e))})):jsxRuntime.exports.jsx(VersionChangelogNullState,{label:s})]})),jsxRuntime.exports.jsx(Button,Object.assign({sx:{width:"100%",cursor:"pointer"},variant:"outlined",onClick:()=>{r(mountPanel({panelId:"CHANGELOG_PANEL",microFrontend:{name:"CHANGELOG_PANEL",config:{}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",parentPanelId:VERSION_PANEL,dimmed:0,dimmedStatus:"dimParent",borderBottom:!0}}))},"data-test":"version-panel-release-notes-btn"},{children:o}))]}))]})},VersionPanel=e=>jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getPanelModule()]},{children:jsxRuntime.exports.jsx(VersionPanelComponent,Object.assign({},e))})),dateFormatter=e=>{e=new Date(e||"");return(8<e.getMonth()?e.getMonth()+1:"0"+(e.getMonth()+1))+"/"+(9<e.getDate()?e.getDate():"0"+e.getDate())+"/"+e.getFullYear()};let lottieScript,audio;const theme=createTheme({palette:{secondary:{main:"#1871E8"}}}),Logo_=()=>{const n=useDispatch();var e=useStyles$3()["classes"];const[t,i]=react$1.exports.useState(0),a=useSelector(e=>{return null==(e=null==(e=null==e?void 0:e.configs)?void 0:e.initConfig)?void 0:e.betaFeatures}),[r,o]=react$1.exports.useState(""),[s,l]=react$1.exports.useState(""),[c,u]=react$1.exports.useState(""),[d,p]=react$1.exports.useState(!1),m=useSelector(selectLoadingStatus);var g=useSelector(selectCurrentVersion);const f=useSelector(messageScriptAddedSelector),h=useSelector(messageScriptAvailableSelector),$=useSelector(globalMessageSelector);react$1.exports.useEffect(()=>{["idle","failure"].includes(m)&&n(actions$2.fetchVersionInfoStart())},[n,m]),react$1.exports.useEffect(()=>{f||(n(setMessageScriptAdded()),(lottieScript=document.createElement("script")).setAttribute("src","https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.8/lottie.min.js"),lottieScript.onload=()=>{n(setMessageScriptAvailable())},(audio=document.createElement("audio")).id="global-message-audio-player",audio.src="https://static.veritone.com/aiware-js-animation/sound-effects/chime.wav",document.head.appendChild(lottieScript),document.body.appendChild(audio)),has_1(window,"aiware.version")&&((t=null==(t=window.aiware)?void 0:t.version)&&"sdk_release_version"!==t&&o(t),t=null==(t=window.aiware)?void 0:t.releaseDate,l(dateFormatter(t)));var t=document.getElementsByTagName("script");if(t.length){let e=Array.from(t).find(e=>e.src.includes("get.aiware.com"));(e=e||Array.from(t).find(e=>e.src.includes("https://cdn.jsdelivr.net/npm/aiware-js")))&&fetch(e.getAttribute("src")).then(e=>{o(e.url.split("@")[1].split("/")[0])})}fetch("https://get.aiware.com/aiware-versions/aiware-latest.txt",{headers:{"Content-Type":"text/plain"}}).then(e=>e.text()).then(e=>u(e))},[n,f]),react$1.exports.useEffect(()=>{a||10===t&&(n(showGlobalMessage({message:jsxRuntime.exports.jsx("p",Object.assign({style:{pointerEvents:"none"}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-organization-panel.beta-features-enabling-message",defaultMessage:"Loading Beta Features",description:"enabling beta features message"})})),followUpActionType:enableBetaFeatures.type})),i(0))},[n,t,a]),react$1.exports.useEffect(()=>{if($&&h){const e=window.bodymovin.loadAnimation({container:document.getElementById("loaderAnimation"),path:"https://static.veritone.com/aiware-js-animation/particle-explosion.json",renderer:"svg",loop:!1,autoplay:!0,name:"unicorn"});e.onComplete=()=>{n(hideGlobalMessage()),e.destroy()},null!==audio&&void 0!==audio&&audio.play()}},[$,h,n]);return jsxRuntime.exports.jsxs(react$1.exports.Fragment,{children:[$&&jsxRuntime.exports.jsxs("div",Object.assign({className:e.fullScreen},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.loaderBox,id:"loaderAnimation"},{children:!h&&jsxRuntime.exports.jsx("img",{src:img$b,alt:"veritone-logo",className:e.veritoneDarkLogo})})),jsxRuntime.exports.jsxs("div",Object.assign({className:e.loaderBox},{children:[jsxRuntime.exports.jsx(StyledEngineProvider,Object.assign({injectFirst:!0},{children:jsxRuntime.exports.jsx(ThemeProvider,Object.assign({theme:theme},{children:jsxRuntime.exports.jsx(LinearProgress$1,{color:"secondary"})}))})),$]}))]})),jsxRuntime.exports.jsxs("div",{children:[g?jsxRuntime.exports.jsxs(Typography,Object.assign({"data-test":"veritone-panel.logo.version",sx:{color:"#9CA8B4",fontSize:"10px",textAlign:"center",cursor:"pointer",width:"60px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},onClick:()=>{var e,t;d?(p(!1),n(hidePanel(VERSION_PANEL))):(p(!0),e={name:VERSION_PANEL,config:{name:"Version Information",sdk:r,sdkRelease:s,edge:c}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",dimmed:0,borderBottom:!0},n(mountPanel({panelId:VERSION_PANEL,microFrontend:e,panelConfig:t})))}},{children:["V. ",g.version]})):null,jsxRuntime.exports.jsx("img",{onClick:()=>i(t+1),src:img$K,alt:"footer-icon",draggable:"false"})]})]})},Logo=injectIntl(Logo_),selectProcessingCenterJobCount=e=>e.panel.menuBarIcons.processingCenter.count,ProcessJobCount=()=>{const e=useDispatch();var t=useSelector(selectProcessingCenterJobCount);return react$1.exports.useEffect(()=>{e(actions$1.setProcessingCenterCountInit())},[]),jsxRuntime.exports.jsx(Badge,Object.assign({badgeContent:t,color:"default",sx:{"& > span":{backgroundColor:"#e91e63",color:"#fff"}}},{children:jsxRuntime.exports.jsx(Process,{})}))},useStyles$1=makeStyles()((e,{zIndex:t,marginTop:n,fullScreen:i,marginStart:a,minWidth:r,width:o,getWidth:s,borderBottom:l,customBorderBottomStyle:c,padding:u,microFrontend:d,getHeight:p,withTab:m})=>({container:{position:"fixed",top:n,right:i?0:a,height:`calc(100vh - ${n}px)`,minWidth:r,width:o||(i?"100%":s()),borderBottom:l?"solid 5px #4D81B7":c,zIndex:t,transitionTimingFunction:"ease-in-out !important"},padding:{padding:e.spacing(u),paddingTop:e.spacing(u/2)},margin:{margin:e.spacing()},headerContainer:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},headerTitle:{margin:e.spacing(),marginTop:e.spacing(2)},actionButton:{margin:e.spacing()},footer:{},actionContainer:{"&:last-child":{marginRight:e.spacing(2)}},content:{overflow:"overlay",overflowY:"FLOW_CENTER"===(null==d?void 0:d.name)?"hidden":"auto",overflowX:"hidden",height:p()},paperContainer:{top:56,backgroundColor:"unset !important",boxShadow:"none"},tabContainer:{overflow:"hidden",width:"100%"},tabSelect:{paddingTop:e.spacing(6),width:80,display:"flex",flexDirection:"column"},drawerContainer:{display:"flex",background:e.palette.background.default},tabName:{display:"flex",justifyContent:"space-between",alignItems:"center",height:"61px",padding:e.spacing(0,4,0,6)},actionIcons:{margin:e.spacing(-2.4)},title:{userSelect:"none",fontStyle:"normal",fontSize:"18px",lineHeight:e.spacing(5),letterSpacing:"0.25px",textTransform:"uppercase",color:e.palette.text.secondary},tabContent:{borderRight:m?"0.5px solid "+e.palette.divider:"none",overflowY:"FLOW_CENTER"===(null==d?void 0:d.name)?"hidden":"auto",overflowX:"hidden",width:"100%"},buttonAction:{textTransform:"unset"},aiWareIcon:{padding:e.spacing(2.4,0),display:"flex",justifyContent:"center",position:"fixed",bottom:"0",right:"10px"},noShadow:{boxShadow:"none",borderLeft:"0.5px solid "+e.palette.divider},panelMask:{position:"absolute",width:"100%",height:"100%",backgroundColor:e.palette.grey[50],opacity:.5}}));function getTabAction(e,t,n,i="APP_BAR_PANEL"){return{type:mountPanel({}).type,payload:{panelId:e,microFrontend:{name:i,config:{name:"Veritone",tabId:e,dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE"}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,fullScreen:!1,width:n,header:{divider:!0,title:t}}}}}const tabsListDefault=[{id:TabId.PERSONAL_PANEL,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.personalProfile",defaultMessage:"Personal Profile",description:"Tooltip pops on the sidebar for personal profile"}),iconComponent:jsxRuntime.exports.jsx(PersonalProfile,{}),role:"",action:getTabAction(TabId.PERSONAL_PANEL,jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.panelTitle.personalProfile",defaultMessage:"Personal Profile",description:"Header title for personal profile"}),410)},{id:TabId.ORGANIZATION_PANEL,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.organizations",defaultMessage:"Organizations",description:"Tooltip pops on the sidebar for organizations"}),iconComponent:jsxRuntime.exports.jsx(Organizations,{}),role:"",action:{type:mountPanel({}).type,payload:{panelId:TabId.ORGANIZATION_PANEL,microFrontend:{name:"ORGANIZATION_PANEL"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,width:560}}}},{id:TabId.CMS_SHORTCUT,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.dataCenter",defaultMessage:"Data Center",description:"Tooltip pops on the sidebar for data center"}),iconComponent:jsxRuntime.exports.jsx(DataCenter,{}),role:"cms",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"cms"}},{id:TabId.DATA_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.dataCenter",defaultMessage:"Data Center",description:"Tooltip pops on the sidebar for data center"}),iconComponent:jsxRuntime.exports.jsx(DataCenter,{}),role:"cms",action:{type:mountPanel({}).type,payload:{panelId:TabId.DATA_CENTER,microFrontend:{name:"DATA_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge"}}}},{id:TabId.PROCESSING_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.processingCenter",defaultMessage:"Processing Center",description:"Tooltip pops on the sidebar for processing center"}),iconComponent:jsxRuntime.exports.jsx(ProcessJobCount,{}),role:"cms",action:{type:mountPanel({}).type,payload:{panelId:TabId.PROCESSING_CENTER,microFrontend:{name:"PROCESSING_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}},{id:TabId.FLOW_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.flowCenter",defaultMessage:"Flow Center",description:"Tooltip pops on the sidebar for flow center"}),iconComponent:jsxRuntime.exports.jsx(FlowCenter2,{}),role:"automate",action:{type:mountPanel({}).type,payload:{panelId:TabId.FLOW_CENTER,microFrontend:{name:"FLOW_CENTER",config:{name:"Veritone",tabId:TabId.FLOW_CENTER,dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE",zIndex:1200}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}},{id:TabId.ENGINE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.developerCenter",defaultMessage:"Developer Center",description:"Tooltip pops on the sidebar for developer center"}),iconComponent:jsxRuntime.exports.jsx(DeveloperCenter,{}),role:"cms",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"developer"}},{id:TabId.MARKETPLACE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.marketplaceCenter",defaultMessage:"Marketplace",description:"Tooltip pops on the sidebar for marketplace center"}),iconComponent:jsxRuntime.exports.jsx(Marketplace$1,{}),role:"",action:{type:mountPanel({}).type,payload:{panelId:TabId.MARKETPLACE_CENTER,microFrontend:{name:"MARKETPLACE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}},{id:TabId.LIBRARY_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.libraryCenter",defaultMessage:"Library Center",description:"Tooltip pops on the sidebar for library center"}),iconComponent:jsxRuntime.exports.jsx(LibraryCenter,{}),role:"",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"libray"}},{id:TabId.ADMIN_SHORTCUT,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.adminCenter",defaultMessage:"Admin Center",description:"Tooltip pops on the sidebar for admin center"}),iconComponent:jsxRuntime.exports.jsx(AdminCenter,{}),role:"admin",action:{type:mountPanel({}).type,payload:{panelId:TabId.ADMIN_SHORTCUT,microFrontend:{name:"ADMIN_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge"}}}},{id:TabId.INSTANCE_ADMIN_CENTER_BROWSE,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.instanceAdminCenter",defaultMessage:"Instance Admin Center",description:"Tooltip pops on the sidebar for instance admin center"}),iconComponent:jsxRuntime.exports.jsx(AdminTabIcon,{}),role:"admin",action:{type:mountPanel({}).type,payload:{panelId:TabId.INSTANCE_ADMIN_CENTER_BROWSE,microFrontend:{name:"INSTANCE_ADMIN_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge"}}}},{id:TabId.RESOURCE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.resourceCenter",defaultMessage:"Resource Center",description:"Tooltip pops on the sidebar for resource center"}),iconComponent:jsxRuntime.exports.jsx(Resources,{}),role:"",action:{type:mountPanel({}).type,payload:{panelId:TabId.RESOURCE_CENTER,microFrontend:{name:"RESOURCE_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}}];function AppbarTabPanel({panelId:t,children:e,withTab:n=!0,withChild:i=!0}){const a=useDispatch(),[r,o]=react$1.exports.useState(),[s,l]=react$1.exports.useState([]),[c,u]=react$1.exports.useState(!1);var d=useSelector(e=>e.panels.find(e=>e.panelId===t))||{};const p=useSelector(e=>e.panels);const{microFrontend:m,panelConfig:g}=d,{minWidth:f,padding:h=0,header:$,footer:x,marginTop:y=0,marginStart:b=0,show:v,tabs:S=[],zIndex:I,autoZIndex:T,userRoles:j=[],panelId:O,size:E,fullScreen:R,width:C,dimmed:A=0,parentPanelId:N,borderBottom:_}=g||{};var d=N?("ORGANIZATION_PANEL"!==N?"":"solid 5px #4D81B7")||("DATA_CENTER"!==N?"":"solid 5px #4D81B7"):"solid 5px #4D81B7";react$1.exports.useEffect(()=>{0<S.length?l([...tabsListDefault,...S]):l(tabsListDefault)},[S]),react$1.exports.useEffect(()=>{var e;null!==m&&void 0!==m&&m.config&&null!=(e=m.config)&&e.tabId&&o(m.config.tabId)},[m]),react$1.exports.useEffect(()=>{0<p.length&&r&&n&&(p.find(e=>e.panelId===r)||o(void 0))},[p,r,n]);const P=useStyles$1({zIndex:I||T||1001,marginTop:y,fullScreen:R,marginStart:b,minWidth:f,width:C,getWidth:function(){return getTabPanelWidthBySize(E)||560},borderBottom:_,customBorderBottomStyle:d,padding:h,microFrontend:m,getHeight:function(){var e=$?64:0,t=x?64:0;return`calc(100vh - ${y}px - ${e}px - ${t}px - 5px)`},withTab:n})["classes"];i=jsxRuntime.exports.jsxs(Paper,Object.assign({className:`${P.container} ${i?"":P.noShadow} `,elevation:3,id:t,square:!0,"data-test":"panel-"+(O||"unknown")},{children:[0<A&&jsxRuntime.exports.jsx("div",{className:P.panelMask}),jsxRuntime.exports.jsxs("div",Object.assign({className:P.drawerContainer},{children:[i&&jsxRuntime.exports.jsxs("div",Object.assign({className:P.tabContent},{children:[$&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:P.tabName},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:P.title},{children:$.title||(null==(d=s.find(e=>e.id===r))?void 0:d.label)})),jsxRuntime.exports.jsxs("div",Object.assign({className:P.actionIcons},{children:[null==(i=$.actions)?void 0:i.map(e=>e.label?jsxRuntime.exports.jsx(Button,Object.assign({size:e.size,variant:e.variant,onClick:()=>a(e.action)},{children:e.label}),e.action.type):jsxRuntime.exports.jsxs(IconButton,Object.assign({onClick:()=>a(e.action),size:"large"},{children:[e.iconUrl&&jsxRuntime.exports.jsx("img",{src:e.iconUrl,alt:"icon",draggable:"false"}),e.icon&&jsxRuntime.exports.jsx("div",{children:e.icon})]}),e.action.type)),jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>a(hidePanel(t)),"data-test":"close-button-"+t,size:"large"},{children:jsxRuntime.exports.jsx("img",{src:N?img$11:img$12,alt:"icon",draggable:"false"})}))]}))]})),$.divider&&jsxRuntime.exports.jsx(Divider,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:P.content},{children:e?react$1.exports.cloneElement(e,Object.assign(Object.assign({},(null===m||void 0===m?void 0:m.config)||{}),{dataId:t,hidePanel:()=>a(hidePanel(t)),tabId:r,panelRendered:c})):jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"No micro frontend passed!"})})})),x&&jsxRuntime.exports.jsxs("div",Object.assign({className:P.footer},{children:[x.divider&&jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx("div",Object.assign({className:P.headerContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:P.actionContainer},{children:null==(d=x.actions)?void 0:d.map(e=>{var t;if(e.iconUrl)return jsxRuntime.exports.jsxs(IconButton,Object.assign({className:P.actionButton,onClick:(t=e.action,()=>{a(t)}),size:"large"},{children:[e.iconUrl&&jsxRuntime.exports.jsx("img",{src:e.iconUrl,alt:"icon",draggable:"false"}),e.icon&&jsxRuntime.exports.jsx("div",{children:e.icon})]}),e.action.type);const n=e;return jsxRuntime.exports.jsx(Button,Object.assign({className:P.actionButton,size:n.size,variant:n.variant,onClick:()=>a(n.action)},{children:n.label}),e.action.type)})}))}))]}))]})),n&&jsxRuntime.exports.jsxs("div",Object.assign({id:"tabs-content",className:P.tabSelect},{children:[jsxRuntime.exports.jsx(Tabs,{selectedId:r,tabsList:s,onChangeTab:function(t){0<=p.map(e=>e.panelId).indexOf(VERSION_PANEL)&&a(hidePanel(VERSION_PANEL)),r&&a(hidePanel(r)),o(t);var e,n=s.find(e=>e.id===t);null!=(e=null==n?void 0:n.onClick)&&e.call(n,t),null!=n&&n.action&&a(n.action)},roles:j}),(null===x||void 0===x?void 0:x.logo)&&jsxRuntime.exports.jsx("div",Object.assign({className:P.aiWareIcon},{children:jsxRuntime.exports.jsx(Logo,{})}))]}))]}))]}));return jsxRuntime.exports.jsx(AIWareThemeProvider$1,{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getPanelModule()]},{children:jsxRuntime.exports.jsx(Slide,Object.assign({"data-id":"123456",in:v,direction:"left",onEntered:()=>u(!0),onExited:()=>a(unmountPanel(t))},{children:i}))}))})})}const AppbarPanel=e=>jsxRuntime.exports.jsx(AppbarTabPanel,Object.assign({},e,{withChild:!0,withTab:!1})),Tab=e=>jsxRuntime.exports.jsx(AppbarTabPanel,Object.assign({},e,{withChild:!1,withTab:!0})),changelogPanelLabels=e=>({changelog:e.formatMessage({id:"changelog-panel.header.title",defaultMessage:[{type:0,value:"Release Notes"}]}),closePanelTooltip:e.formatMessage({id:"changelog-panel.header.close-btn-tooltip",defaultMessage:[{type:0,value:"Close panel"}]}),versionLabel:e.formatMessage({id:"changelog-panel.version-title",defaultMessage:[{type:0,value:"Version"}]}),updateRequiredLabel:e.formatMessage({id:"changelog-panel.update-required",defaultMessage:[{type:0,value:"Update required"}]}),deploymentLabel:e.formatMessage({id:"changelog-panel.deployment",defaultMessage:[{type:0,value:"Deployment"}]}),apiUnavailable:e.formatMessage({id:"changelog-panel.no-api",defaultMessage:[{type:0,value:"Cannot retrieve platform information"}]}),current:e.formatMessage({id:"changelog-panel.current",defaultMessage:[{type:0,value:"Current"}]}),previous:e.formatMessage({id:"changelog-panel.previous",defaultMessage:[{type:0,value:"Previous"}]}),noHighlights:e.formatMessage({id:"changelog-panel.no-highlights",defaultMessage:[{type:0,value:"Cannot retrieve version highlights"}]}),unknown:e.formatMessage({id:"changelog-panel.unknown",defaultMessage:[{type:0,value:"unknown"}]}),viewReleaseNotes:e.formatMessage({id:"version-panel.view-release-notes",defaultMessage:[{type:0,value:"View Version History"}]}),error:e.formatMessage({id:"version-panel.error-state",defaultMessage:[{type:0,value:"Error while fetching release notes"}]}),errorHelperText:e.formatMessage({id:"version-panel.error-state-helper-text",defaultMessage:[{type:0,value:"Please try again later"}]}),"current-version":{label:e.formatMessage({id:"changelog-panel.current-version",defaultMessage:[{type:0,value:"Current Version"}]}),noVersionHighlights:e.formatMessage({id:"changelog-panel.no-current-version-highlights",defaultMessage:[{type:0,value:"No Release Notes for Current Version"}]})},"previous-version":{label:e.formatMessage({id:"changelog-panel.previous-version",defaultMessage:[{type:0,value:"Previous Version"}]}),noVersionHighlights:e.formatMessage({id:"changelog-panel.no-prev-version-highlights",defaultMessage:[{type:0,value:"No Release Notes for Previous Version"}]})},"selected-version":{label:null,noVersionHighlights:e.formatMessage({id:"changelog-panel.no-selected-version-highlights",defaultMessage:[{type:0,value:"No Release Notes for Selected Version"}]})}}),useStyles$6=makeStyles()(e=>({flexContainer:{display:"flex",alignItems:"center"},header:{alignItems:"center",display:"flex",justifyContent:"space-between",height:"55px",padding:e.spacing(6,0,6,6),borderBottom:"1px solid rgb(219, 226, 234)"},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end",paddingRight:"10px"},title:{color:"#2A323C"},panelRoot:{padding:"15px",height:"calc(100% - 70px);",overflowY:"scroll"},row:{display:"flex","& svg":{marginRight:"12px",marginBottom:"24px"}},widgets:{"& svg":{fill:"#555F7C"}},veriLogo:{transform:"translate(3px, 2px)"},versionText:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",marginBottom:"5px"},wrapperBox:{padding:"15px 0 15px 15px",border:".5px solid #D5DFE9",borderRadius:"4px",marginBottom:"14px","& iframe":{width:"100%",border:"none"}},aiwareLogo:{marginBottom:"10px"},boldTitle:{fontWeight:700},releaseNotesBtn:{width:"100%",cursor:"pointer",height:"36px",border:"1px solid #5C6269",color:"#5C6269",marginTop:"15px","&:hover":{border:"1px solid #5C6269"}},errorStateContainer:{padding:"40px",textAlign:"center","& img":{width:"40%",marginBottom:"20px"}}})),Header=()=>{const e=useDispatch();var t=useStyles$6()["classes"],n=useIntl(),{changelog:n,closePanelTooltip:i}=changelogPanelLabels(n);return jsxRuntime.exports.jsxs("header",Object.assign({className:t.header,"data-testid":"changelog-panel.header"},{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h1","data-testid":"changelog-panel-title",className:t.title},{children:["AIWARE ",n]})),jsxRuntime.exports.jsx("div",Object.assign({className:t.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>e(hidePanel(CHANGELOG_PANEL)),"aria-labelledby":"changelog-panel.close-button","data-testid":"changelog-panel-close-button",size:"large"},{children:jsxRuntime.exports.jsx(Close$1,{})}))}))}))]}))},VersionHeader=({version:e,updateIsRequired:t})=>{var n=useStyles$6()["classes"],i=useIntl(),{versionLabel:i,updateRequiredLabel:a,deploymentLabel:r,unknown:o}=changelogPanelLabels(i);return jsxRuntime.exports.jsxs(Box,Object.assign({className:n.wrapperBox},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({className:n.flexContainer},{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h1","data-test":"changelog-panel-header-title"},{children:[i," ",null!=e&&e.version?null==e?void 0:e.version:o]})),t?jsxRuntime.exports.jsxs(Typography,Object.assign({sx:{ml:"10px"},variant:"caption"},{children:["(",a,")"]})):null]})),jsxRuntime.exports.jsx(Box,Object.assign({sx:{mt:"5px"}},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"body2"},{children:[r," -"," ",e&&e.createdAt?dateFormatter((null==e?void 0:e.createdAt)||null):o]}))}))]}))},isValidHttpUrl=(e="")=>{let t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol},VersionContent=({id:e,version:t,height:n})=>{var i=useStyles$6()["classes"],a=useIntl(),{[e]:{label:a,noVersionHighlights:r}}=changelogPanelLabels(a);return isValidHttpUrl(null==t?void 0:t.highlightsUrl)?jsxRuntime.exports.jsxs(Box,Object.assign({className:i.wrapperBox},{children:[t&&a&&jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",sx:{mb:"10px"}},{children:a})),jsxRuntime.exports.jsx("iframe",{id:e,title:e,src:null==t?void 0:t.highlightsUrl,height:n,onLoad:e=>{e.currentTarget.onerror=e=>console.log("ev",e)}})]})):jsxRuntime.exports.jsx(VersionChangelogNullState,{label:r})},CHANGELOG_PANEL="CHANGELOG_PANEL",RELEASE_NOTES_URL="https://docs.veritone.com/#/versions/readme",ChangelogPanelComponent=({id:t})=>{var e=useStyles$6()["classes"],n=useIntl(),{apiUnavailable:n,noHighlights:i,viewReleaseNotes:a,error:r,errorHelperText:o}=changelogPanelLabels(n);const s=useDispatch(),[l,c]=react$1.exports.useState(!1);var u=useSelector(selectLoadingStatus);const[d,p]=react$1.exports.useState({}),m=e=>{if("https://get.aiware.com"===e.origin){const{height:t,source:n}=e.data;p(e=>Object.assign(Object.assign({},e),{[n]:t+1}))}};react$1.exports.useEffect(()=>{var e=gqlIntrospection.getQueries().find(e=>"platformInfo"===e.name);return c(!!e),e&&s(actions.versionPanel.fetchVersionInfoStart(t)),window.addEventListener("message",m),()=>window.removeEventListener("message",m)},[s,t]);var g=useSelector(selectCurrentVersion),f=useSelector(selectPreviousVersion),h=useSelector(selectSelectedVersion),[$,,]=react$1.exports.useState(!1),x=jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%"}},{children:[g&&!t?jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(VersionHeader,{version:g,updateIsRequired:$}),jsxRuntime.exports.jsx(VersionContent,{id:"current-version",version:g,height:d[(null==(x=null==g?void 0:g.highlightsUrl)?void 0:x.toString())||""]})]}):null,h&&t?jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(VersionHeader,{version:h,updateIsRequired:$}),jsxRuntime.exports.jsx(VersionContent,{id:"selected-version",version:h,height:d[(null==(x=null==h?void 0:h.highlightsUrl)?void 0:x.toString())||""]})]}):null]})),f&&!t?jsxRuntime.exports.jsx(VersionContent,{id:"previous-version",version:f,height:d[(null==($=null==f?void 0:f.highlightsUrl)?void 0:$.toString())||""]}):null,!t&&!g&&!f&&jsxRuntime.exports.jsx(VersionChangelogNullState,{label:i}),t&&!h&&jsxRuntime.exports.jsx(VersionChangelogNullState,{label:i}),jsxRuntime.exports.jsxs(Button,Object.assign({className:e.releaseNotesBtn,variant:"outlined",onClick:()=>{window.open(RELEASE_NOTES_URL,"_blank")}},{children:[jsxRuntime.exports.jsx(Launch,{sx:{mr:"5px",width:"18px"}})," ",a]}))]}),$=jsxRuntime.exports.jsxs(Box,Object.assign({className:e.errorStateContainer},{children:[jsxRuntime.exports.jsx("img",{src:img$g,alt:"error"}),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1",sx:{fontWeight:700}},{children:r}))}),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2"},{children:o}))})]}));return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{height:"calc(100vh - 60px)",overflow:"hidden"}},{children:[jsxRuntime.exports.jsx(Header,{}),"pending"===u&&jsxRuntime.exports.jsx(Box,Object.assign({sx:{p:"15px",display:"flex",justifyContent:"center"}},{children:jsxRuntime.exports.jsx(CircularProgress,{})})),"success"===u&&jsxRuntime.exports.jsx("div",Object.assign({className:e.panelRoot},{children:l?x:jsxRuntime.exports.jsx(VersionChangelogNullState,{label:n})})),"failure"===u&&$]}))},ChangelogPanel=({id:e})=>jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getPanelModule()]},{children:jsxRuntime.exports.jsx(ChangelogPanelComponent,{id:e})}));var index_esm$2=Object.freeze({__proto__:null,AppbarPanel:AppbarPanel,AppbarTabPanel:AppbarTabPanel,ChangelogPanel:ChangelogPanel,TabPanel:Tab,VersionPanel:VersionPanel});const Panel=({panelId:t,children:e})=>{var n;const i=useDispatch(),{microFrontend:a,panelConfig:{minWidth:r,padding:o=0,header:s,footer:l,marginTop:c=0,marginStart:u=0,show:d,width:p=500}}=useSelector(e=>e.panels.find(e=>e.panelId===t)),m=makeStyles()(e=>({container:{position:"fixed",top:c,right:u,height:"100%",minWidth:r,width:p},padding:{padding:e.spacing(o),paddingTop:e.spacing(o/2)},margin:{margin:e.spacing()},headerContainer:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},headerTitle:{margin:e.spacing()},actionButton:{margin:e.spacing()},actionContainer:{"&:last-child":{marginRight:e.spacing(2)}},footer:{}}))()["classes"],g=e=>{var t;return e.icon?jsxRuntime.exports.jsx(IconButton,Object.assign({className:m.actionButton,onClick:()=>i(e.action),size:"large"},{children:e.icon})):(t=e,jsxRuntime.exports.jsx(Button,Object.assign({className:m.actionButton,size:t.size,variant:t.variant,onClick:()=>i(e.action)},{children:t.label})))};return jsxRuntime.exports.jsx(Slide,Object.assign({in:d,direction:"left",onExited:()=>i(unmountPanel(t))},{children:jsxRuntime.exports.jsxs(Paper,Object.assign({elevation:3,id:t,"data-test":"panel-"+(t||"unknown"),className:m.container},{children:[s&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:m.headerContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({gutterBottom:!0,className:m.headerTitle,variant:"h4"},{children:s.title})),jsxRuntime.exports.jsxs("div",Object.assign({className:m.actionContainer},{children:[null==(n=s.actions)?void 0:n.map(e=>g(e)),jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"close-button-"+t,className:m.actionButton,onClick:()=>i(hidePanel(t)),size:"large"},{children:jsxRuntime.exports.jsx(default_1$6,{})}))]}))]})),s.divider&&jsxRuntime.exports.jsx(Divider,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:m.padding},{children:e?react$1.exports.cloneElement(e,Object.assign(Object.assign({},a.config||{}),{dataId:t,hidePanel:()=>i(hidePanel(t))})):jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"No micro frontend passed!"})})})),l&&jsxRuntime.exports.jsxs("div",Object.assign({className:m.footer},{children:[l.divider&&jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsxs("div",Object.assign({className:m.headerContainer},{children:[jsxRuntime.exports.jsx("div",{}),jsxRuntime.exports.jsx("div",Object.assign({className:m.actionContainer},{children:null==(n=l.actions)?void 0:n.map(e=>g(e))}))]}))]}))]}))}))},SamplePanel5=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel5!"})}),SamplePanel4=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel4!"})}),SamplePanel3=n=>{const i=useDispatch();return jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx("h1",{children:"Welcome to picker!"}),jsxRuntime.exports.jsx(Typography,Object.assign({id:"discrete-slider",gutterBottom:!0},{children:"Temperature"})),jsxRuntime.exports.jsx(Slider$1,{"data-test":"slider",defaultValue:n.value,value:n.value,"aria-labelledby":"discrete-slider",valueLabelDisplay:"auto",step:10,marks:!0,min:0,max:110,onChange:(e,t)=>{i(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})}))},onChangeCommitted:(e,t)=>{i(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})})),i(setData({id:n.dataId,data:t}))}})]})},SamplePanel2=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel2!"})}),useStyles=makeStyles()(e=>({container:{},root:{minWidth:50},bullet:{display:"inline-block",margin:"0 2px",transform:"scale(0.8)"},title:{fontSize:14},pos:{marginBottom:12}})),SamplePanel1=e=>{var t=useStyles()["classes"],n=jsxRuntime.exports.jsx("span",Object.assign({className:t.bullet},{children:"•"}));return jsxRuntime.exports.jsxs("div",Object.assign({className:t.container},{children:[jsxRuntime.exports.jsxs("h1",{children:["Welcome to SamplePanel1 ",e.name||"Unknown Person","!"]}),jsxRuntime.exports.jsxs(Card,Object.assign({className:t.root},{children:[jsxRuntime.exports.jsxs(CardContent$1,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({className:t.title,color:"textSecondary",gutterBottom:!0},{children:"Word of the Day"})),jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h5",component:"h2"},{children:["be",n,"nev",n,"o",n,"lent"]})),jsxRuntime.exports.jsx(Typography,Object.assign({className:t.pos,color:"textSecondary"},{children:"adjective"})),jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"body2",component:"p"},{children:["well meaning and kindly.",jsxRuntime.exports.jsx("br",{}),'"a benevolent smile"']}))]}),jsxRuntime.exports.jsx(CardActions$1,{children:jsxRuntime.exports.jsx(Button,Object.assign({size:"small"},{children:"Learn More"}))})]}))]}))};var match,version,set$1,get,store,STATE,$location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,index_esm$1=Object.freeze({__proto__:null,Panel:Panel,SamplePanel1:SamplePanel1,SamplePanel2:SamplePanel2,SamplePanel3:SamplePanel3,SamplePanel4:SamplePanel4,SamplePanel5:SamplePanel5}),commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$f=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$a=function(e){try{return!!e()}catch(e){return!0}},fails$9=fails$a,descriptors=!fails$a(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$8=fails$a,functionBindNative=!fails$a(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$3=functionBindNative,call$c=Function.prototype.call,functionCall=NATIVE_BIND$3?call$c.bind(call$c):function(){return call$c.apply(call$c,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$2=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative,FunctionPrototype$2=Function.prototype,call$b=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$b,call$b),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$b.apply(e,arguments)}},uncurryThis$d=functionUncurryThis,toString$1=uncurryThis$d({}.toString),stringSlice$1=uncurryThis$d("".slice),classofRaw$2=function(e){return stringSlice$1(toString$1(e),8,-1)},uncurryThis$c=functionUncurryThis,fails$7=fails$a,classof$4=classofRaw$2,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$7(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$4(e)?split(e,""):$Object$3(e)}:$Object$3,isNullOrUndefined$4=function(e){return null==e},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$c=TypeError,requireObjectCoercible$2=function(e){if(isNullOrUndefined$3(e))throw $TypeError$c("Can't call method on "+e);return e},IndexedObject=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$3=function(e){return IndexedObject(requireObjectCoercible$1(e))},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$h=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},isCallable$g=isCallable$h,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$7=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$g(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$g(e)},global$e=global$f,isCallable$f=isCallable$h,aFunction=function(e){return isCallable$f(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$e[e]):global$e[e]&&global$e[e][t]},uncurryThis$b=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$d=global$f,userAgent$3=engineUserAgent,process$4=global$d.process,Deno$1=global$d.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent$3&&(!(match=userAgent$3.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent$3.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION$1=engineV8Version,fails$6=fails$a,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$6(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$1&&V8_VERSION$1<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=symbolConstructorDetection&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$6=getBuiltIn$7,isCallable$e=isCallable$h,isPrototypeOf$2=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$6("Symbol");return isCallable$e(t)&&isPrototypeOf$2(t.prototype,$Object$2(e))},$String$3=String,tryToString$4=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$d=isCallable$h,tryToString$3=tryToString$4,$TypeError$b=TypeError,aCallable$8=function(e){if(isCallable$d(e))return e;throw $TypeError$b(tryToString$3(e)+" is not a function")},aCallable$7=aCallable$8,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$3=function(e,t){e=e[t];return isNullOrUndefined$2(e)?void 0:aCallable$7(e)},call$a=functionCall,isCallable$c=isCallable$h,isObject$6=isObject$7,$TypeError$a=TypeError,ordinaryToPrimitive$1=function(e,t){var n,i;if("string"===t&&isCallable$c(n=e.toString)&&!isObject$6(i=call$a(n,e)))return i;if(isCallable$c(n=e.valueOf)&&!isObject$6(i=call$a(n,e)))return i;if("string"!==t&&isCallable$c(n=e.toString)&&!isObject$6(i=call$a(n,e)))return i;throw $TypeError$a("Can't convert object to primitive value")},shared$3={exports:{}},global$c=global$f,defineProperty$3=Object.defineProperty,defineGlobalProperty$3=function(t,n){try{defineProperty$3(global$c,t,{value:n,configurable:!0,writable:!0})}catch(e){global$c[t]=n}return n},global$b=global$f,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$f[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$3.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$1=Object,toObject$1=function(e){return $Object$1(requireObjectCoercible(e))},uncurryThis$a=functionUncurryThis,toObject=toObject$1,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject(e),t)},uncurryThis$9=functionUncurryThis,id=0,postfix=Math.random(),toString=uncurryThis$9(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString(++id+postfix,36)},global$a=global$f,shared$2=shared$3.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$a.Symbol,WellKnownSymbolsStore=shared$2("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$a=function(e){return hasOwn$8(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL&&hasOwn$8(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$9=functionCall,isObject$5=isObject$7,isSymbol$1=isSymbol$2,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$9=wellKnownSymbol$a,$TypeError$9=TypeError,TO_PRIMITIVE=wellKnownSymbol$a("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$5(e)||isSymbol$1(e))return e;var n=getMethod$2(e,TO_PRIMITIVE);if(n){if(n=call$9(n,e,t=void 0===t?"default":t),!isObject$5(n)||isSymbol$1(n))return n;throw $TypeError$9("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$9=global$f,isObject$4=isObject$7,document$3=global$f.document,EXISTS$1=isObject$4(document$3)&&isObject$4(document$3.createElement),documentCreateElement=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$7=descriptors,fails$5=fails$a,createElement$1=documentCreateElement,ie8DomDefine=!descriptors&&!fails$a(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$6=descriptors,call$8=functionCall,propertyIsEnumerableModule=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$2=toIndexedObject$3,toPropertyKey$1=toPropertyKey$2,hasOwn$7=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$2(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$7(e,t))return createPropertyDescriptor$1(!call$8(propertyIsEnumerableModule.f,e,t),e[t])},{}),DESCRIPTORS$5=descriptors,fails$4=fails$a,v8PrototypeDefineBug=descriptors&&fails$a(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$3=isObject$7,$String$2=String,$TypeError$8=TypeError,anObject$8=function(e){if(isObject$3(e))return e;throw $TypeError$8($String$2(e)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,anObject$7=anObject$8,toPropertyKey=toPropertyKey$2,$TypeError$7=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$3=(objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG?function(e,t,n){var i;return anObject$7(e),t=toPropertyKey(t),anObject$7(n),"function"==typeof e&&"prototype"===t&&"value"in n&&WRITABLE in n&&!n[WRITABLE]&&(i=$getOwnPropertyDescriptor(e,t))&&i[WRITABLE]&&(e[t]=n.value,n={configurable:(CONFIGURABLE$1 in n?n:i)[CONFIGURABLE$1],enumerable:(ENUMERABLE in n?n:i)[ENUMERABLE],writable:!1}),$defineProperty(e,t,n)}:$defineProperty:function(e,t,n){if(anObject$7(e),t=toPropertyKey(t),anObject$7(n),IE8_DOM_DEFINE)try{return $defineProperty(e,t,n)}catch(e){}if("get"in n||"set"in n)throw $TypeError$7("Accessors not supported");return"value"in n&&(e[t]=n.value),e},descriptors),definePropertyModule$2=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$2=DESCRIPTORS$3?function(e,t,n){return definePropertyModule$2.f(e,t,createPropertyDescriptor(1,n))}:function(e,t,n){return e[t]=n,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$6=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$6(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$8=functionUncurryThis,isCallable$b=isCallable$h,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$b(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$8=global$f,isCallable$a=isCallable$h,WeakMap$1=global$f.WeakMap,weakMapBasicDetection=isCallable$a(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$1=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$3={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$7=global$f,isObject$2=isObject$7,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$5=hasOwnProperty_1,shared=sharedStore,sharedKey=sharedKey$1,hiddenKeys$2=hiddenKeys$3,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global$7.TypeError,WeakMap$2=global$7.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(t){return function(e){if(isObject$2(e)&&(e=get(e)).type===t)return e;throw TypeError$2("Incompatible receiver, "+t+" required")}},has=NATIVE_WEAK_MAP||shared.state?((store=shared.state||(shared.state=new WeakMap$2)).get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},function(e){return store.has(e)}):(STATE=sharedKey("state"),hiddenKeys$2[STATE]=!0,set$1=function(e,t){if(hasOwn$5(e,STATE))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$1(e,STATE,t),t},get=function(e){return hasOwn$5(e,STATE)?e[STATE]:{}},function(e){return hasOwn$5(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$7=functionUncurryThis,fails$3=fails$a,isCallable$9=isCallable$h,hasOwn$4=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState=InternalStateModule$1.get,$String$1=String,defineProperty$2=Object.defineProperty,stringSlice=uncurryThis$7("".slice),replace=uncurryThis$7("".replace),join=uncurryThis$7([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$3(function(){return 8!==defineProperty$2(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,n){"Symbol("===stringSlice($String$1(t),0,7)&&(t="["+replace($String$1(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!hasOwn$4(e,"name")||CONFIGURABLE_FUNCTION_NAME&&e.name!==t)&&(DESCRIPTORS$1?defineProperty$2(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&n&&hasOwn$4(n,"arity")&&e.length!==n.arity&&defineProperty$2(e,"length",{value:n.arity});try{n&&hasOwn$4(n,"constructor")&&n.constructor?DESCRIPTORS$1&&defineProperty$2(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=enforceInternalState(e);return hasOwn$4(n,"source")||(n.source=join(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$8=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$9(this)&&getInternalState(this).source||inspectSource$2(this)},"toString"),isCallable$h),definePropertyModule$1=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,n,i){var a=(i=i||{}).enumerable,r=void 0!==i.name?i.name:t;if(isCallable$8(n)&&makeBuiltIn$1(n,r,i),i.global)a?e[t]=n:defineGlobalProperty$1(t,n);else{try{i.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=n:definePropertyModule$1.f(e,t,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$2=function(e){return toLength(e.length)},toIndexedObject$1=toIndexedObject$3,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$2,createMethod=function(s){return function(e,t,n){var i,a=toIndexedObject$1(e),r=lengthOfArrayLike$1(a),o=toAbsoluteIndex(n,r);if(s&&t!=t){for(;o<r;)if((i=a[o++])!=i)return!0}else for(;o<r;o++)if((s||o in a)&&a[o]===t)return s||o||0;return!s&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$6=functionUncurryThis,hasOwn$3=hasOwnProperty_1,toIndexedObject=toIndexedObject$3,indexOf=arrayIncludes.indexOf,hiddenKeys$1=hiddenKeys$3,push=uncurryThis$6([].push),objectKeysInternal=function(e,t){var n,i=toIndexedObject(e),a=0,r=[];for(n in i)!hasOwn$3(hiddenKeys$1,n)&&hasOwn$3(i,n)&&push(r,n);for(;t.length>a;)!hasOwn$3(i,n=t[a++])||~indexOf(r,n)||push(r,n);return r},enumBugKeys$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$1,hiddenKeys=enumBugKeys$1.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys)},{}),getBuiltIn$5=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$7),uncurryThis$5=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,anObject$6=anObject$8,concat=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$6(e)),n=getOwnPropertySymbolsModule.f;return n?concat(t,n(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$1=function(e,t,n){for(var i=ownKeys(t),a=definePropertyModule.f,r=getOwnPropertyDescriptorModule.f,o=0;o<i.length;o++){var s=i[o];hasOwn$2(e,s)||n&&hasOwn$2(n,s)||a(e,s,r(t,s))}},fails$2=fails$a,isCallable$7=isCallable$h,replacement=/#|\.prototype\./,isForced$2=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$7(t)?fails$2(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,global$6=global$f,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty=createNonEnumerableProperty$2,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced$1=isForced_1,_export=function(e,t){var n,i,a,r=e.target,o=e.global,s=e.stat,l=o?global$6:s?global$6[r]||defineGlobalProperty(r,{}):(global$6[r]||{}).prototype;if(l)for(n in t){if(i=t[n],a=e.dontCallGetSet?(a=getOwnPropertyDescriptor$1(l,n))&&a.value:l[n],!isForced$1(o?n:r+(s?".":"#")+n,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;copyConstructorProperties(i,a)}(e.sham||a&&a.sham)&&createNonEnumerableProperty(i,"sham",!0),defineBuiltIn$2(l,n,i,e)}},classof$3=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classofRaw$2(process),uncurryThis$4=functionUncurryThis,aCallable$6=aCallable$8,functionUncurryThisAccessor=function(e,t,n){try{return uncurryThis$4(aCallable$6(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},isCallable$6=isCallable$h,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$6(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$5=anObject$8,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),i=e instanceof Array}catch(e){}return function(e,t){return anObject$5(e),aPossiblePrototype(t),i?n(e,t):e.__proto__=t,e}}():void 0),defineProperty$1=objectDefineProperty.f,hasOwn$1=hasOwnProperty_1,wellKnownSymbol$8=wellKnownSymbol$a,TO_STRING_TAG$2=wellKnownSymbol$a("toStringTag"),setToStringTag$1=function(e,t,n){(e=e&&!n?e.prototype:e)&&!hasOwn$1(e,TO_STRING_TAG$2)&&defineProperty$1(e,TO_STRING_TAG$2,{configurable:!0,value:t})},makeBuiltIn=makeBuiltIn$3.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$1=function(e,t,n){return n.get&&makeBuiltIn(n.get,t,{getter:!0}),n.set&&makeBuiltIn(n.set,t,{setter:!0}),defineProperty.f(e,t,n)},getBuiltIn$4=getBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$1,wellKnownSymbol$7=wellKnownSymbol$a,DESCRIPTORS=descriptors,SPECIES$2=wellKnownSymbol$a("species"),setSpecies$1=function(e){e=getBuiltIn$4(e);DESCRIPTORS&&e&&!e[SPECIES$2]&&defineBuiltInAccessor(e,SPECIES$2,{configurable:!0,get:function(){return this}})},isPrototypeOf$1=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$1(t,e))return e;throw $TypeError$5("Incorrect invocation")},wellKnownSymbol$6=wellKnownSymbol$a,TO_STRING_TAG$1=wellKnownSymbol$a("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$1]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$5=isCallable$h,classofRaw$1=classofRaw$2,wellKnownSymbol$5=wellKnownSymbol$a,TO_STRING_TAG=wellKnownSymbol$a("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$2=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"==(t=classofRaw$1(e))&&isCallable$5(e.callee)?"Arguments":t},uncurryThis$3=functionUncurryThis,fails$1=fails$a,isCallable$4=isCallable$h,classof$1=classof$2,getBuiltIn$3=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis$3(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$4(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$4(e))return!1;switch(classof$1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$1(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString$2=tryToString$4,$TypeError$4=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw $TypeError$4(tryToString$2(e)+" is not a constructor")},anObject$4=anObject$8,aConstructor=aConstructor$1,isNullOrUndefined$1=isNullOrUndefined$4,wellKnownSymbol$4=wellKnownSymbol$a,SPECIES$1=wellKnownSymbol$a("species"),speciesConstructor$1=function(e,t){var e=anObject$4(e).constructor;return void 0===e||isNullOrUndefined$1(e=anObject$4(e)[SPECIES$1])?t:aConstructor(e)},NATIVE_BIND$1=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$7=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$7.bind(apply$1):function(){return call$7.apply(apply$1,arguments)}),classofRaw=classofRaw$2,uncurryThis$2=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$2(e)},uncurryThis$1=functionUncurryThisClause,aCallable$5=aCallable$8,NATIVE_BIND=functionBindNative,bind$4=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$5(e),void 0===t?e:NATIVE_BIND?bind$4(e,t):function(){return e.apply(t,arguments)}},getBuiltIn$2=getBuiltIn$7,html$1=getBuiltIn$7("document","documentElement"),uncurryThis=functionUncurryThis,arraySlice$1=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$5=global$f,apply=functionApply,bind$3=functionBindContext,isCallable$3=isCallable$h,hasOwn=hasOwnProperty_1,fails=fails$a,html=html$1,arraySlice=arraySlice$1,createElement=documentCreateElement,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$5.setImmediate,clear=global$5.clearImmediate,process$3=global$5.process,Dispatch=global$5.Dispatch,Function$1=global$5.Function,MessageChannel$1=global$5.MessageChannel,String$1=global$5.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails(function(){$location=global$5.location}),function(e){var t;hasOwn(queue$2,e)&&(t=queue$2[e],delete queue$2[e],t())}),runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$5.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$3(e)?e:Function$1(e),n=arraySlice(arguments,1);return queue$2[++counter]=function(){apply(t,void 0,n)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$3?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel$1&&!IS_IOS$1?(port=(channel=new MessageChannel$1).port2,channel.port1.onmessage=eventListener,defer=bind$3(port.postMessage,port)):global$5.addEventListener&&isCallable$3(global$5.postMessage)&&!global$5.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$5.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in createElement("script")?function(e){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)}),{set:set,clear:clear}),Queue$2=function(){this.head=null,this.tail=null},queue$1=(Queue$2.prototype={add:function(e){var e={item:e,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},Queue$2),userAgent$1=engineUserAgent,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$1)&&"undefined"!=typeof Pebble,userAgent=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent),global$4=global$f,bind$2=functionBindContext,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$4.MutationObserver||global$4.WebKitMutationObserver,document$2=global$4.document,process$2=global$4.process,Promise$1=global$4.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global$4,"queueMicrotask"),microtask$1=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value,microtask_1=(microtask$1||(queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$2&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&&notify$1(),e}e&&e.enter()},notify$1=IS_IOS||IS_NODE$2||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$2(promise.then,promise),function(){then(flush)}):IS_NODE$2?function(){process$2.nextTick(flush)}:(macrotask=bind$2(macrotask,global$4),function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),function(){node.data=toggle=!toggle}),microtask$1=function(e){queue.head||notify$1(),queue.add(e)}),microtask$1),hostReportErrors$1=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform$3=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},global$3=global$f,promiseNativeConstructor=global$f.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$1=engineIsNode,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document,global$2=global$f,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$2=isCallable$h,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$3=wellKnownSymbol$a,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES=(NativePromiseConstructor$3&&NativePromiseConstructor$3.prototype,wellKnownSymbol$3("species")),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$2(global$2.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced("Promise",function(){var e=inspectSource(NativePromiseConstructor$3),t=e!==String(NativePromiseConstructor$3);if(!t&&66===V8_VERSION)return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(e)){function n(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES]=n,!(SUBCLASSING=e.then(function(){})instanceof n))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1}),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$4=aCallable$8,$TypeError$2=TypeError,PromiseCapability=function(e){var n,i;this.promise=new e(function(e,t){if(void 0!==n||void 0!==i)throw $TypeError$2("Bad Promise constructor");n=e,i=t}),this.resolve=aCallable$4(n),this.reject=aCallable$4(i)},$$5=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE=engineIsNode,global$1=global$f,call$6=functionCall,defineBuiltIn$1=defineBuiltIn$3,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$1,setSpecies=setSpecies$1,aCallable$3=aCallable$8,isCallable$1=isCallable$h,isObject$1=isObject$7,anInstance=anInstance$1,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule=internalState,NativePromiseConstructor$2=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$3=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$1=global$1.TypeError,document$1=global$1.document,process$1=global$1.process,newPromiseCapability$1=newPromiseCapabilityModule$3.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$1.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$1(e)||!isCallable$1(t=e.then))&&t},callReaction=function(e,t){var n,i,a,r=t.value,o=t.state==FULFILLED,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===e.promise?c(TypeError$1("Promise-chain cycle")):(i=isThenable(n))?call$6(i,n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}},notify=function(n,i){n.notified||(n.notified=!0,microtask(function(){for(var e,t=n.reactions;e=t.get();)callReaction(e,n);n.notified=!1,i&&!n.rejection&&onUnhandled(n)}))},dispatchEvent=function(e,t,n){var i;DISPATCH_EVENT?((i=document$1.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),global$1.dispatchEvent(i)):i={promise:t,reason:n},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$1["on"+e])?t(i):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",n)},onUnhandled=function(i){call$6(task,global$1,function(){var e=i.facade,t=i.value,n=isUnhandled(i);if(n&&(n=perform$2(function(){IS_NODE?process$1.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),i.rejection=IS_NODE||isUnhandled(i)?UNHANDLED:HANDLED,n.error))throw n.value})},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(t){call$6(task,global$1,function(){var e=t.facade;IS_NODE?process$1.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$1=function(t,n,i){return function(e){t(n,e,i)}},internalReject=function(e,t,n){e.done||(e.done=!0,(e=n?n:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(n.facade===e)throw TypeError$1("Promise can't be resolved itself");var i=isThenable(e);i?microtask(function(){var t={done:!1};try{call$6(i,e,bind$1(internalResolve,t,n),bind$1(internalReject,t,n))}catch(e){internalReject(t,e,n)}}):(n.value=e,n.state=FULFILLED,notify(n,!1))}catch(e){internalReject({done:!1},e,n)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$3(e),call$6(Internal,this);var t=getInternalPromiseState(this);try{e(bind$1(internalResolve,t),bind$1(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$1(PromisePrototype,"then",function(e,t){var n=getInternalPromiseState(this),i=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return n.parent=!0,i.ok=!isCallable$1(e)||e,i.fail=isCallable$1(t)&&t,i.domain=IS_NODE?process$1.domain:void 0,n.state==PENDING?n.reactions.add(i):microtask(function(){callReaction(i,n)}),i.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$1(internalResolve,t),this.reject=bind$1(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$1(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$1(NativePromisePrototype$1,"then",function(e,t){var n=this;return new PromiseConstructor(function(e,t){call$6(nativeThen,n,e,t)}).then(e,t)},{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype$1,PromisePrototype)}$$5({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var iterators={},wellKnownSymbol$2=wellKnownSymbol$a,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$a("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$2]===e)},classof=classof$2,getMethod$1=getMethod$3,isNullOrUndefined=isNullOrUndefined$4,Iterators=iterators,wellKnownSymbol$1=wellKnownSymbol$a,ITERATOR$1=wellKnownSymbol$a("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined(e))return getMethod$1(e,ITERATOR$1)||getMethod$1(e,"@@iterator")||Iterators[classof(e)]},call$5=functionCall,aCallable$2=aCallable$8,anObject$3=anObject$8,tryToString$1=tryToString$4,getIteratorMethod$1=getIteratorMethod$2,$TypeError$1=TypeError,getIterator$1=function(e,t){var n=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$2(n))return anObject$3(call$5(n,e));throw $TypeError$1(tryToString$1(e)+" is not iterable")},call$4=functionCall,anObject$2=anObject$8,getMethod=getMethod$3,iteratorClose$1=function(e,t,n){var i,a;anObject$2(e);try{if(!(i=getMethod(e,"return"))){if("throw"===t)throw n;return n}i=call$4(i,e)}catch(e){a=!0,i=e}if("throw"===t)throw n;if(a)throw i;return anObject$2(i),n},bind=functionBindContext,call$3=functionCall,anObject$1=anObject$8,tryToString=tryToString$4,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike=lengthOfArrayLike$2,isPrototypeOf=objectIsPrototypeOf,getIterator=getIterator$1,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,n){function i(e){return r&&iteratorClose(r,"normal",e),new Result(!0,e)}function a(e){return p?(anObject$1(e),f?h(e[0],e[1],i):h(e[0],e[1])):f?h(e,i):h(e)}var r,o,s,l,c,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_RECORD),g=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),h=bind(t,d);if(m)r=e.iterator;else if(g)r=e;else{if(!(n=getIteratorMethod(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(n)){for(o=0,s=lengthOfArrayLike(e);o<s;o++)if((l=a(e[o]))&&isPrototypeOf(ResultPrototype,l))return l;return new Result(!1)}r=getIterator(e,n)}for(c=(m?e:r).next;!(u=call$3(c,r)).done;){try{l=a(u.value)}catch(e){iteratorClose(r,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol=wellKnownSymbol$a,ITERATOR=wellKnownSymbol$a("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var n=!1;try{var i={};i[ITERATOR]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},NativePromiseConstructor$1=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration(function(e){NativePromiseConstructor$1.all(e).then(void 0,function(){})}),$$4=_export,call$2=functionCall,aCallable$1=aCallable$8,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$1=perform$3,iterate$1=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration,$$3=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var s=this,t=newPromiseCapabilityModule$2.f(s),l=t.resolve,c=t.reject,n=perform$1(function(){var i=aCallable$1(s.resolve),a=[],r=0,o=1;iterate$1(e,function(e){var t=r++,n=!1;o++,call$2(i,s,e).then(function(e){n||(n=!0,a[t]=e,--o)||l(a)},c)}),--o||l(a)});return n.error&&c(n.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable=isCallable$h,defineBuiltIn=defineBuiltIn$3,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,$$2=($$3({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable(NativePromiseConstructor)&&(method=getBuiltIn$1("Promise").prototype.catch,NativePromisePrototype.catch!==method)&&defineBuiltIn(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$1=functionCall,aCallable=aCallable$8,newPromiseCapabilityModule$1=newPromiseCapability$2,perform=perform$3,iterate=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,$$1=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var n=this,i=newPromiseCapabilityModule$1.f(n),a=i.reject,t=perform(function(){var t=aCallable(n.resolve);iterate(e,function(e){call$1(t,n,e).then(i.resolve,a)})});return t.error&&a(t.value),i.promise}}),_export),call=functionCall,newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject=($$1({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return call(t.reject,void 0,e),t.promise}}),anObject$8),isObject=isObject$7,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject(e),isObject(t)&&t.constructor===e?t:((0,(e=newPromiseCapability.f(e)).resolve)(t),e.promise)},$=_export,getBuiltIn=getBuiltIn$7,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve=promiseResolve$1;function __awaiter(e,o,s,l){return new(s=s||Promise)(function(n,t){function i(e){try{r(l.next(e))}catch(e){t(e)}}function a(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(i,a)}r((l=l.apply(e,o||[])).next())})}getBuiltIn("Promise"),$({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});const registry={[AvailableWidgets.APP_BAR]:App,[AvailableComponents.APP_BAR_PANEL]:SettingPanelComponent,[AvailablePanels.APP_BAR_PANEL_TEMPLATE]:AppbarPanel,[AvailablePanels.TAB_TEMPLATE]:Tab,[AvailablePanels.SIMPLE_PANEL]:Panel},registryLookup=t=>__awaiter(void 0,void 0,void 0,function*(){if(registry[t])return yield registry[t];let e=Promise.resolve(null);switch(t){case AvailableWidgets.SAMPLE_APP_BAR:e=import("./js-core.esm21.js").then(e=>e.SampleAppBar);break;case AvailableWidgets.RESET_PASSWORD:e=import("./js-core.esm23.js").then(e=>e.ResetPassword);break;case AvailableWidgets.FLOW_CENTER:e=import("./js-core.esm30.js").then(e=>e.App);break;case AvailableWidgets.FLOW_WIDGET:e=import("./js-core.esm32.js").then(function(e){return e.i}).then(e=>e.App);break;case AvailableWidgets.ENGINE_CENTER_BROWSE:e=import("./js-core.esm38.js").then(e=>e.EngineCenterBrowse);break;case AvailableWidgets.MACHINE_BOX_BROWSE:e=import("./js-core.esm48.js").then(e=>e.MachineBoxBrowse);break;case AvailableWidgets.DEVELOPER_OVERVIEW:e=import("./js-core.esm41.js").then(e=>e.DeveloperOverview);break;case AvailablePanels.APP_BAR_TAB_PANEL_TEMPLATE:e=Promise.resolve().then(function(){return index_esm$2}).then(e=>e.AppbarTabPanel);break;case AvailableComponents.NOTIFICATION_PANEL:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationPanel);break;case AvailableComponents.NOTIFICATION_DETAIL:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationDetailPanel);break;case AvailableComponents.NOTIFICATION_SETTING:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationSetting);break;case AvailableComponents.NOTIFICATION_UTILITY:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationUtilityPanel);break;case AvailableComponents.NOTIFICATION_APPLICATION:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationApplication);break;case AvailableComponents.HELP_PANEL:e=import("./js-core.esm20.js").then(e=>e.HelpCenterPanel);break;case AvailableComponents.EDIT_PROFILE_PICTURE:e=import("./js-core.esm3.js").then(function(e){return e.n}).then(e=>e.EditProFilePicture);break;case AvailableComponents.TEST_COMPONENT:e=Promise.resolve().then(function(){return index_esm$1}).then(e=>e.SamplePanel1);break;case AvailableComponents.TEST_COMPONENT2:e=Promise.resolve().then(function(){return index_esm$1}).then(e=>e.SamplePanel2);break;case AvailableComponents.TEST_COMPONENT3:e=Promise.resolve().then(function(){return index_esm$1}).then(e=>e.SamplePanel3);break;case AvailableComponents.SETTING_PREFERENCE:e=import("./js-core.esm49.js").then(e=>e.SettingsPreferencesPanel);break;case AvailableComponents.ORGANIZATION_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.OrganizationPanel);break;case AvailableComponents.INVITE_USERS_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.InviteUsersPanel);break;case AvailableComponents.INVITE_REQUESTS_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.InviteRequestsPanel);break;case AvailableComponents.REVIEW_ORG_INVITE_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.ReviewRequestPanel);break;case AvailableComponents.ADD_APPLICATIONS:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.AddApplicationsPanel);break;case AvailableComponents.DATA_CENTER:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.DataCenterBrowse);break;case AvailableComponents.DATA_CENTER_FOLDERS_AND_FILES:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.FoldersAndFilesPanel);break;case AvailableComponents.DATA_CENTER_FILE_INFO_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.FileInfoPanel);break;case AvailableComponents.DATA_CENTER_EDIT_METADATA_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.EditMetadataPanel);break;case AvailableComponents.DATA_CENTER_IMPORTER:e=import("./js-core.esm60.js").then(e=>e.DataCenterImporter);break;case AvailableComponents.DATA_LABELER:e=import("./js-core.esm62.js").then(e=>e.DataLabelerPanel);break;case AvailableComponents.ADMIN_CENTER_OPEN_ID:e=import("./js-core.esm63.js").then(e=>e.AdminCenterOpenId);break;case AvailableComponents.ADMIN_CENTER:e=import("./js-core.esm65.js").then(e=>e.AdminCenterBrowse);break;case AvailableComponents.DATA_CENTER_PROCESS_AI:e=import("./js-core.esm73.js").then(e=>e.DataCenterProcessAI);break;case AvailableComponents.ENGINE_CENTER_NEW:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.EngineCenterNew);break;case AvailableComponents.ENGINE_CENTER_FILTER:e=import("./js-core.esm38.js").then(e=>e.EngineCenterFilter);break;case AvailableComponents.APP_CENTER_FILTER:e=import("./js-core.esm71.js").then(e=>e.AppCenterFilter);break;case AvailableComponents.ENGINE_CENTER_DETAILS:e=import("./js-core.esm38.js").then(e=>e.EngineDetails);break;case AvailableComponents.ENGINE_CENTER_NEW_BUILD:e=import("./js-core.esm38.js").then(e=>e.CreateNewBuildPanel);break;case AvailableComponents.ENGINE_CENTER_CUSTOM_FIELDS_FORM:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.EngineCenterCustomFieldsForm);break;case AvailableComponents.ENGINE_CENTER_SCHEMAS_FORM_PANEL:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.SchemasFormPanel);break;case AvailableComponents.ENGINE_CENTER_INPUT_TYPE_FLYOUT:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.InputTypeFlyout);break;case AvailableComponents.ENGINE_CENTER_EDIT_RELEASE_NOTES:e=import("./js-core.esm38.js").then(e=>e.EditReleaseNotes);break;case AvailableComponents.ENGINE_CENTER_VERSION_HISTORY_PANEL:e=import("./js-core.esm38.js").then(e=>e.VersionHistoryPanel);break;case AvailableComponents.SUPPORTED_FILE_TYPES:e=import("./js-core.esm60.js").then(e=>e.SupportedFileTypes);break;case AvailableComponents.EDIT_FILE_METADATA:e=import("./js-core.esm60.js").then(e=>e.EditFileMetadata);break;case AvailableWidgets.APP_CENTER_BROWSE:e=import("./js-core.esm71.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_NEW:e=import("./js-core.esm74.js").then(e=>e.AppCenterNew);break;case AvailableComponents.APP_CENTER_CONFIG_FIELDS_FORM:e=import("./js-core.esm74.js").then(e=>e.AppCenterConfigFieldsForm);break;case AvailableComponents.APP_CENTER_CONTEXT_MENU_EXTENSIONS:e=import("./js-core.esm74.js").then(e=>e.AppCenterContextMenuExtensionPanel);break;case AvailableComponents.APP_CENTER_APP_ROLES:e=import("./js-core.esm74.js").then(e=>e.AppCenterAppRolesPanel);break;case AvailableComponents.APP_CENTER_EVENTS:e=import("./js-core.esm74.js").then(e=>e.AppCenterEventsPanel);break;case AvailableComponents.APP_CENTER_BROWSE:e=import("./js-core.esm71.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_DETAILS:e=import("./js-core.esm71.js").then(e=>e.AppCenterDetails);break;case AvailableComponents.EVENT_CENTER_SUBSCRIPTIONS:e=import("./js-core.esm74.js").then(e=>e.SubscriptionPanel);break;case AvailableComponents.DATA_CENTER_ENGINE_SELECTION:e=import("./js-core.esm73.js").then(e=>e.DataCenterEngineSelection);break;case AvailableComponents.ADMIN_CENTER_NEW_GROUP_PANEL:e=import("./js-core.esm58.js").then(e=>e.NewGroupPanel);break;case AvailableComponents.PERMISSIONS_PANEL:e=import("./js-core.esm51.js").then(e=>e.PermissionsPanel);break;case AvailableComponents.GROUP_INFO_PANEL:e=import("./js-core.esm51.js").then(e=>e.GroupInfoPanel);break;case AvailableComponents.NEW_PERMISSION_SET_PANEL:e=import("./js-core.esm51.js").then(e=>e.NewPermissionSetPanel);break;case AvailableComponents.PERMISSION_SET_DETAILS_PANEL:e=import("./js-core.esm51.js").then(e=>e.PermissionSetDetailsPanel);break;case AvailableComponents.DATA_CENTER_MDP_IFRAME_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.MediaDetailsPanelIframe);break;case AvailableComponents.DATA_CENTER_INGESTION_CREATION_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.IngestionCreationPanel);break;case AvailableComponents.DATA_CENTER_SELECT_IMPORT_SOURCE:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.SelectImportSource);break;case AvailableComponents.DATA_CENTER_SOURCE_CREATION_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.SourceCreationPanel);break;case AvailableComponents.ADMIN_CENTER_GROUP_DETAILS_PANEL:e=import("./js-core.esm58.js").then(e=>e.GroupDetailsPanel);break;case AvailableComponents.ADMIN_CENTER_ADD_MEMBER_PANEL:e=import("./js-core.esm58.js").then(e=>e.AddMemberPanel);break;case AvailableComponents.APPLICATION_DETAILS_PANEL:e=import("./js-core.esm66.js").then(e=>e.ApplicationDetailsPanel);break;case AvailableComponents.PROCESSING_CENTER_SOURCES:e=import("./js-core.esm75.js").then(e=>e.ProcessingCenterSources);break;case AvailableComponents.PROCESSING_CENTER_ERROR_DETAIL:e=import("./js-core.esm75.js").then(e=>e.ErrorDetailPanel);break;case AvailableComponents.USER_APPLICATION_SETTINGS_PANEL:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.UserApplicationSettingsPanel);break;case AvailableComponents.ADD_APPLICATION_USERS_PANEL:e=import("./js-core.esm66.js").then(e=>e.AddUsersPanel);break;case AvailableComponents.PROCESSING_CENTER:e=import("./js-core.esm77.js").then(e=>e.ProcessingCenterBrowse);break;case AvailableComponents.JOBS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm78.js").then(e=>e.JobsTableSettingsPanel);break;case AvailableComponents.VERSION_PANEL:e=Promise.resolve().then(function(){return index_esm$2}).then(e=>e.VersionPanel);break;case AvailableComponents.CHANGELOG_PANEL:e=Promise.resolve().then(function(){return index_esm$2}).then(e=>e.ChangelogPanel);break;case AvailableComponents.PROCESSING_CENTER_DAG_BUILDER:e=import("./js-core.esm80.js").then(e=>e.DagBuilder);break;case AvailableComponents.PROCESSING_CENTER_INGESTION:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.ProcessingCenterIngestion);break;case AvailableComponents.PROCESSING_CENTER_ADVANCED_SETTINGS:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.ProcessingCenterAdvancedSettings);break;case AvailableComponents.PROCESSING_CENTER_AFFILIATE_PANEL:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.ProcessingCenterAffiliatePanel);break;case AvailableComponents.PROCESSING_CENTER_BULK_PROVISIONING_PANEL:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.BulkProvisioningPanel);break;case AvailableComponents.JOBS_DETAILS_PANEL:e=import("./js-core.esm78.js").then(e=>e.JobsDetailsPanel);break;case AvailableComponents.TASKS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm79.js").then(e=>e.TasksTableSettingsPanel);break;case AvailableComponents.TASK_DETAILS_PANEL:e=import("./js-core.esm79.js").then(e=>e.TaskDetailsPanel);break;case AvailableComponents.RESOURCE_CENTER:e=import("./js-core.esm83.js").then(e=>e.ResourceCenterBrowse);break;case AvailableComponents.PACKAGE_DETAILS_PANEL:e=import("./js-core.esm85.js").then(e=>e.PackageDetails);break;case AvailableComponents.PACKAGE_SETUP_PANEL:e=import("./js-core.esm85.js").then(e=>e.PackageSetupPanel);break;case AvailableComponents.PACKAGE_MANAGER_PANEL:e=import("./js-core.esm86.js").then(function(e){return e.ad}).then(e=>e.PackageManager);break;case AvailableComponents.INSTANCE_ADMIN_CENTER_BROWSE:e=import("./js-core.esm87.js").then(e=>e.InstanceAdminCenterBrowse);break;case AvailableComponents.MANAGE_GRANTS:e=import("./js-core.esm85.js").then(e=>e.ManageGrantsPanel);break;case AvailableComponents.SCHEMA_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.SchemaDetailsPanel);break;case AvailableComponents.FLOW_TEMPLATE_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.TemplateDetailsPanel);break;case AvailableComponents.USER_DETAILS_PANEL:e=import("./js-core.esm67.js").then(e=>e.UserDetailsPanel);break;case AvailableComponents.CREATE_OR_UPDATE_TOKEN_PANEL:e=import("./js-core.esm68.js").then(e=>e.CreateOrUpdateApiTokenPanel);break;case AvailableComponents.FLOW_DETAILS_PANEL:e=import("./js-core.esm32.js").then(function(e){return e.i}).then(e=>e.App);break;case AvailableComponents.NODE_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.NodeDetailsPanel);break;case AvailableComponents.PALETTE_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.PaletteDetailsPanel);break;case AvailableComponents.CREATE_ORGANIZATION_PANEL:e=import("./js-core.esm90.js").then(e=>e.CreateOrgPanel);break;case AvailableComponents.CREATE_SCHEMA_PANEL:e=import("./js-core.esm89.js").then(e=>e.CreateSchemaPanel);break;case AvailableComponents.MARKETPLACE:e=import("./js-core.esm91.js").then(e=>e.Marketplace);break;case AvailableComponents.MARKETPLACE_CART:e=import("./js-core.esm91.js").then(e=>e.CartPanel);break;case AvailableComponents.MARKETPLACE_ITEM_DETAILS:e=import("./js-core.esm91.js").then(e=>e.ItemDetails);break;case AvailableComponents.DATA_CENTER_DATA_DETAILS_PANEL:e=import("./js-core.esm92.js").then(e=>e.DataCenterDataDetails);break;case AvailableComponents.DATA_CENTER_EXPORT_TDO_PANEL:e=import("./js-core.esm92.js").then(e=>e.DataCenterExportTdo);break;case AvailableComponents.DATA_CENTER_SDO_VIEWER:e=import("./js-core.esm52.js").then(e=>e.StructuredDataViewer);break;case AvailableComponents.DATA_CENTER_DATA_REGISTRY_INFO:e=import("./js-core.esm52.js").then(e=>e.DataRegistryInfo);break;case AvailableComponents.EDIT_DATA_REGISTRY_PANEL:e=import("./js-core.esm52.js").then(e=>e.EditDataRegistryPanel);break;case AvailableComponents.ADMIN_CENTER_APPROVAL_REQUESTS_PANEL:e=import("./js-core.esm69.js").then(e=>e.ApprovalRequestsPanel);break;case AvailableComponents.PACKAGE_SETTINGS_PANEL:e=import("./js-core.esm85.js").then(e=>e.PackageSettingsPanel);break;case AvailableComponents.INSTANCE_ADMIN_CENTER_INSTANCE_LOGIN:e=import("./js-core.esm93.js").then(e=>e.InstanceAdminCenterInstanceLogin);break;case AvailableComponents.ADMIN_CENTER_CUSTOM_LOGIN_PANEL:e=import("./js-core.esm94.js").then(e=>e.CustomLoginPanel);break;case AvailableWidgets.VIEWER_CENTER_BROWSE:e=import("./js-core.esm95.js").then(e=>e.ViewerCenterBrowse);break;case AvailableComponents.VIEWER_CENTER_NEW:e=import("./js-core.esm96.js").then(e=>e.ViewerCenterNew);break;case AvailableComponents.DATA_CENTER_SOURCE_INFO_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.SourceInfoPanel);break;case AvailableComponents.DATA_CENTER_SCHEDULE_INFO_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.ScheduleInfoPanel)}return yield registry[t]=e}),registerComponent=(e,t)=>{registry[e]=t};var index_esm=Object.freeze({__proto__:null,registerComponent:registerComponent,registry:registry,registryLookup:registryLookup});export{AvatarGroup$1 as A,CardContent$1 as C,EMessageTypes as E,FormattedRelativeTime$1 as F,LinearProgress$1 as L,RadioGroup$1 as R,Switch$1 as S,ListItemIcon$1 as a,CardActions$1 as b,default_1$8 as c,default_1 as d,default_1$6 as e,Radio$1 as f,errors as g,contextMenuStyles as h,getOrganizationPanelModule as i,EApplicationConfigLevel as j,EApplicationConfigType as k,actions$5 as l,Slider$1 as m,navSectionStyles as n,organizations_selector as o,ListItemButton$1 as p,index_esm as q,safeFormatMessage as s,tableStyles as t};
288
+ `),useStyles$3=makeStyles()(()=>({fullScreen:{position:"fixed",width:"100%",height:"100vh",top:"0",left:"0",backgroundColor:"#ffffff",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",textAlign:"center",fontSize:"14px",animation:fadeInOut+" 5s linear forwards"},loaderBox:{height:"200px",width:"200px"},veritoneDarkLogo:{height:"200px",width:"200px"}})),useStyles$2=makeStyles()(e=>({flexContainer:{display:"flex",alignItems:"center"},header:{alignItems:"center",display:"flex",justifyContent:"space-between",height:"55px",padding:e.spacing(6,0,6,6),borderBottom:"1px solid rgb(219, 226, 234)"},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end",paddingRight:"10px"},title:{color:"#2A323C"},panelRoot:{padding:"15px",height:"calc(100% - 70px);",overflowY:"scroll"},row:{display:"flex","& svg":{marginRight:"12px",marginBottom:"24px"}},widgets:{"& svg":{fill:"#555F7C"}},veriLogo:{transform:"translate(3px, 2px)"},versionText:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",marginBottom:"5px"},wrapperBox:{padding:"15px 0 15px 0px",marginBottom:"14px"},aiwareLogo:{marginBottom:"10px",marginTop:"10px",width:"151px"},boldTitle:{fontWeight:700},labelGrid:{padding:"2px",flexShrink:1},valueGrid:{padding:"2px",flexGrow:1},gridBox:{background:"#F7F7F7",height:"100%",padding:"10px",color:"#2A323C"},valueBox:{background:"#F7F7F7",height:"100%",padding:"10px",color:"#2A323C",textTransform:"capitalize"},imageContainer:{textAlign:"center"},falconLogo:{width:"148px"},osInfo:{display:"flex",justifyContent:"center","& *":{textAlign:"center"}},osName:{margin:"2px 0 6px","& p":{display:"inline-block",minWidth:"80px",padding:"5px 8px",background:"#465364",color:"white",textTransform:"uppercase",fontSize:"12px",fontWeight:"700",borderRadius:"4px"}},osVersion:{color:"#5C6269"}})),versionPanelLabels=e=>({closePanelTooltip:e.formatMessage({id:"version-panel.header.close-btn-tooltip",defaultMessage:[{type:0,value:"Close panel"}]}),versionInformationLabel:e.formatMessage({id:"version-panel.version-information-title",defaultMessage:[{type:0,value:"Version Information"}]}),versionLabel:e.formatMessage({id:"version-panel.version-title",defaultMessage:[{type:0,value:"Version"}]}),sdkVersionLabel:e.formatMessage({id:"version-panel.sdk-version-title",defaultMessage:[{type:0,value:"Sdk Version"}]}),viewReleaseNotes:e.formatMessage({id:"version-panel.view-release-notes",defaultMessage:[{type:0,value:"View Release Notes"}]}),noVersionInfo:e.formatMessage({id:"version-panel.no-info-label",defaultMessage:[{type:0,value:"Cannot get version information"}]}),clusterSizeLabel:e.formatMessage({id:"version-panel.cluster-size-label",defaultMessage:[{type:0,value:"Size"}]}),environmentLabel:e.formatMessage({id:"version-panel.environment-label",defaultMessage:[{type:0,value:"Environment"}]}),hostingTypeLabel:e.formatMessage({id:"version-panel.hosting-type-label",defaultMessage:[{type:0,value:"Hosting Type"}]}),infrastructureLabel:e.formatMessage({id:"version-panel.infrastructure-label",defaultMessage:[{type:0,value:"Infrastructure"}]})}),Header$1=()=>{const e=useDispatch();var t=useStyles$2()["classes"],n=useIntl(),{versionInformationLabel:n,closePanelTooltip:i}=versionPanelLabels(n);return jsxRuntime.exports.jsxs("header",Object.assign({className:t.header,"data-testid":"create-or-update-token-panel.header"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1","data-testid":"version-panel-header-title",className:t.title},{children:n})),jsxRuntime.exports.jsx("div",Object.assign({className:t.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>e(hidePanel(VERSION_PANEL)),"aria-labelledby":"version-panel.close-button","data-testid":"version-panel.close-button",size:"large"},{children:jsxRuntime.exports.jsx(Close$1,{})}))}))}))]}))},selectLoadingStatus=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.status},selectCurrentVersion=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.currentVersion},selectPreviousVersion=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.previousVersion},selectPlatformProperties=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.platformProperties},selectSelectedVersion=e=>{return null==(e=null==(e=null==e?void 0:e[PANEL_SLICE])?void 0:e[VERSION_PANEL_NAMESPACE])?void 0:e.selectedVersion},VERSION_PANEL="VERSION_PANEL",VersionChangelogNullState=({label:e})=>{var t=useStyles$2()["classes"];return jsxRuntime.exports.jsx(Box,Object.assign({className:t.gridBox,sx:{fontWeight:700,textAlign:"center",mb:"5px"},"data-test":"version-changelog-null-state"},{children:e}))},VersionPanelComponent=({sdk:e,edge:t,core:n})=>{const i=useStyles$2()["classes"];var a=useIntl();const r=useDispatch();var{versionLabel:a,viewReleaseNotes:o,noVersionInfo:s,clusterSizeLabel:l,environmentLabel:c,hostingTypeLabel:u,infrastructureLabel:d,sdkVersionLabel:p}=versionPanelLabels(a),m=useSelector(selectCurrentVersion),g=useSelector(selectPlatformProperties);const f=useSelector(selectLoadingStatus);var h={sdk:e,core:n,edge:null!=t&&t.includes("<Error>")?void 0:t},a=(react$1.exports.useEffect(()=>{["idle","failure"].includes(f)&&r(actions$2.fetchVersionInfoStart())},[r,f]),jsxRuntime.exports.jsx(Box,Object.assign({className:i.osInfo},{children:jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Box,Object.assign({className:i.osName},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{fontWeight:700}},{children:"Falcon"}))})),jsxRuntime.exports.jsx(Box,Object.assign({className:i.osVersion},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption","data-testid":"version-panel-version-info"},{children:[(null==m?void 0:m.version)&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[a," ",null==m?void 0:m.version]}),!(null!=m&&m.version)&&(null===h?void 0:h.sdk)&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[p," ",null===h?void 0:h.sdk]})]}))}))]})})));const $={Size:l,Environment:c,HostingType:u,Infrastructure:d};p=!!(e||t||n||g||m)&&["success","failure"].includes(f);return jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Header$1,{}),jsxRuntime.exports.jsxs("div",Object.assign({className:i.panelRoot},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({className:i.wrapperBox},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({sx:{p:"20px"}},{children:[p&&jsxRuntime.exports.jsx(Box,Object.assign({className:i.imageContainer},{children:jsxRuntime.exports.jsx("img",{src:img$6,className:i.falconLogo,alt:"system-logo"})})),jsxRuntime.exports.jsx(Box,Object.assign({className:i.imageContainer},{children:jsxRuntime.exports.jsx("img",{src:img$7,className:i.aiwareLogo,alt:"aiware-logo"})})),p&&a]})),p?jsxRuntime.exports.jsx(Grid,Object.assign({container:!0,sx:{mt:"10px"}},{children:g&&Object.entries(g).map(([e,t])=>$[e]&&jsxRuntime.exports.jsxs(react$1.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({item:!0,xs:6,className:i.labelGrid},{children:jsxRuntime.exports.jsxs(Box,Object.assign({className:i.gridBox,sx:{fontWeight:700}},{children:[$[e],":"]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({item:!0,xs:6,className:i.valueGrid},{children:jsxRuntime.exports.jsx(Box,Object.assign({className:i.valueBox},{children:t}))}))]},e))})):jsxRuntime.exports.jsx(VersionChangelogNullState,{label:s})]})),jsxRuntime.exports.jsx(Button,Object.assign({sx:{width:"100%",cursor:"pointer"},variant:"outlined",onClick:()=>{r(mountPanel({panelId:"CHANGELOG_PANEL",microFrontend:{name:"CHANGELOG_PANEL",config:{}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",parentPanelId:VERSION_PANEL,dimmed:0,dimmedStatus:"dimParent",borderBottom:!0}}))},"data-test":"version-panel-release-notes-btn"},{children:o}))]}))]})},VersionPanel=e=>jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getPanelModule()]},{children:jsxRuntime.exports.jsx(VersionPanelComponent,Object.assign({},e))})),dateFormatter=e=>{e=new Date(e||"");return(8<e.getMonth()?e.getMonth()+1:"0"+(e.getMonth()+1))+"/"+(9<e.getDate()?e.getDate():"0"+e.getDate())+"/"+e.getFullYear()};let lottieScript,audio;const theme=createTheme({palette:{secondary:{main:"#1871E8"}}}),Logo_=()=>{const n=useDispatch();var e=useStyles$3()["classes"];const[t,i]=react$1.exports.useState(0),a=useSelector(e=>{return null==(e=null==(e=null==e?void 0:e.configs)?void 0:e.initConfig)?void 0:e.betaFeatures}),[r,o]=react$1.exports.useState(""),[s,l]=react$1.exports.useState(""),[c,u]=react$1.exports.useState(""),[d,p]=react$1.exports.useState(!1),m=useSelector(selectLoadingStatus);var g=useSelector(selectCurrentVersion);const f=useSelector(messageScriptAddedSelector),h=useSelector(messageScriptAvailableSelector),$=useSelector(globalMessageSelector);react$1.exports.useEffect(()=>{["idle","failure"].includes(m)&&n(actions$2.fetchVersionInfoStart())},[n,m]),react$1.exports.useEffect(()=>{f||(n(setMessageScriptAdded()),(lottieScript=document.createElement("script")).setAttribute("src","https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.8/lottie.min.js"),lottieScript.onload=()=>{n(setMessageScriptAvailable())},(audio=document.createElement("audio")).id="global-message-audio-player",audio.src="https://static.veritone.com/aiware-js-animation/sound-effects/chime.wav",document.head.appendChild(lottieScript),document.body.appendChild(audio)),has_1(window,"aiware.version")&&((t=null==(t=window.aiware)?void 0:t.version)&&"sdk_release_version"!==t&&o(t),t=null==(t=window.aiware)?void 0:t.releaseDate,l(dateFormatter(t)));var t=document.getElementsByTagName("script");if(t.length){let e=Array.from(t).find(e=>e.src.includes("get.aiware.com"));(e=e||Array.from(t).find(e=>e.src.includes("https://cdn.jsdelivr.net/npm/aiware-js")))&&fetch(e.getAttribute("src")).then(e=>{o(e.url.split("@")[1].split("/")[0])})}fetch("https://get.aiware.com/aiware-versions/aiware-latest.txt",{headers:{"Content-Type":"text/plain"}}).then(e=>e.text()).then(e=>u(e))},[n,f]),react$1.exports.useEffect(()=>{a||10===t&&(n(showGlobalMessage({message:jsxRuntime.exports.jsx("p",Object.assign({style:{pointerEvents:"none"}},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-organization-panel.beta-features-enabling-message",defaultMessage:"Loading Beta Features",description:"enabling beta features message"})})),followUpActionType:enableBetaFeatures.type})),i(0))},[n,t,a]),react$1.exports.useEffect(()=>{if($&&h){const e=window.bodymovin.loadAnimation({container:document.getElementById("loaderAnimation"),path:"https://static.veritone.com/aiware-js-animation/particle-explosion.json",renderer:"svg",loop:!1,autoplay:!0,name:"unicorn"});e.onComplete=()=>{n(hideGlobalMessage()),e.destroy()},null!==audio&&void 0!==audio&&audio.play()}},[$,h,n]);return jsxRuntime.exports.jsxs(react$1.exports.Fragment,{children:[$&&jsxRuntime.exports.jsxs("div",Object.assign({className:e.fullScreen},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.loaderBox,id:"loaderAnimation"},{children:!h&&jsxRuntime.exports.jsx("img",{src:img$b,alt:"veritone-logo",className:e.veritoneDarkLogo})})),jsxRuntime.exports.jsxs("div",Object.assign({className:e.loaderBox},{children:[jsxRuntime.exports.jsx(StyledEngineProvider,Object.assign({injectFirst:!0},{children:jsxRuntime.exports.jsx(ThemeProvider,Object.assign({theme:theme},{children:jsxRuntime.exports.jsx(LinearProgress$1,{color:"secondary"})}))})),$]}))]})),jsxRuntime.exports.jsxs("div",{children:[g?jsxRuntime.exports.jsxs(Typography,Object.assign({"data-test":"veritone-panel.logo.version",sx:{color:"#9CA8B4",fontSize:"10px",textAlign:"center",cursor:"pointer",width:"60px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},onClick:()=>{var e,t;d?(p(!1),n(hidePanel(VERSION_PANEL))):(p(!0),e={name:VERSION_PANEL,config:{name:"Version Information",sdk:r,sdkRelease:s,edge:c}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",dimmed:0,borderBottom:!0},n(mountPanel({panelId:VERSION_PANEL,microFrontend:e,panelConfig:t})))}},{children:["V. ",g.version]})):null,jsxRuntime.exports.jsx("img",{onClick:()=>i(t+1),src:img$K,alt:"footer-icon",draggable:"false"})]})]})},Logo=injectIntl(Logo_),selectProcessingCenterJobCount=e=>e.panel.menuBarIcons.processingCenter.count,ProcessJobCount=()=>{const e=useDispatch();var t=useSelector(selectProcessingCenterJobCount);return react$1.exports.useEffect(()=>{e(actions$1.setProcessingCenterCountInit())},[]),jsxRuntime.exports.jsx(Badge,Object.assign({badgeContent:t,color:"default",sx:{zIndex:0,"& > span":{backgroundColor:"#e91e63",color:"#fff"}}},{children:jsxRuntime.exports.jsx(Process,{})}))},useStyles$1=makeStyles()((e,{zIndex:t,marginTop:n,fullScreen:i,marginStart:a,minWidth:r,width:o,getWidth:s,borderBottom:l,customBorderBottomStyle:c,padding:u,microFrontend:d,getHeight:p,withTab:m})=>({container:{position:"fixed",top:n,right:i?0:a,height:`calc(100vh - ${n}px)`,minWidth:r,width:o||(i?"100%":s()),borderBottom:l?"solid 5px #4D81B7":c,zIndex:t,transitionTimingFunction:"ease-in-out !important"},padding:{padding:e.spacing(u),paddingTop:e.spacing(u/2)},margin:{margin:e.spacing()},headerContainer:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},headerTitle:{margin:e.spacing(),marginTop:e.spacing(2)},actionButton:{margin:e.spacing()},footer:{},actionContainer:{"&:last-child":{marginRight:e.spacing(2)}},content:{overflow:"overlay",overflowY:"FLOW_CENTER"===(null==d?void 0:d.name)?"hidden":"auto",overflowX:"hidden",height:p()},paperContainer:{top:56,backgroundColor:"unset !important",boxShadow:"none"},tabContainer:{overflow:"hidden",width:"100%"},tabSelect:{paddingTop:e.spacing(6),width:80,display:"flex",flexDirection:"column"},drawerContainer:{display:"flex",background:e.palette.background.default},tabName:{display:"flex",justifyContent:"space-between",alignItems:"center",height:"61px",padding:e.spacing(0,4,0,6)},actionIcons:{margin:e.spacing(-2.4)},title:{userSelect:"none",fontStyle:"normal",fontSize:"18px",lineHeight:e.spacing(5),letterSpacing:"0.25px",textTransform:"uppercase",color:e.palette.text.secondary},tabContent:{borderRight:m?"0.5px solid "+e.palette.divider:"none",overflowY:"FLOW_CENTER"===(null==d?void 0:d.name)?"hidden":"auto",overflowX:"hidden",width:"100%"},buttonAction:{textTransform:"unset"},aiWareIcon:{padding:e.spacing(2.4,0),display:"flex",justifyContent:"center",position:"fixed",bottom:"0",right:"10px"},noShadow:{boxShadow:"none",borderLeft:"0.5px solid "+e.palette.divider},panelMask:{position:"absolute",width:"100%",height:"100%",backgroundColor:e.palette.grey[50],opacity:.5}}));function getTabAction(e,t,n,i="APP_BAR_PANEL"){return{type:mountPanel({}).type,payload:{panelId:e,microFrontend:{name:i,config:{name:"Veritone",tabId:e,dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE"}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,fullScreen:!1,width:n,header:{divider:!0,title:t}}}}}const tabsListDefault=[{id:TabId.PERSONAL_PANEL,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.personalProfile",defaultMessage:"Personal Profile",description:"Tooltip pops on the sidebar for personal profile"}),iconComponent:jsxRuntime.exports.jsx(PersonalProfile,{}),role:"",action:getTabAction(TabId.PERSONAL_PANEL,jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.panelTitle.personalProfile",defaultMessage:"Personal Profile",description:"Header title for personal profile"}),410)},{id:TabId.ORGANIZATION_PANEL,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.organizations",defaultMessage:"Organizations",description:"Tooltip pops on the sidebar for organizations"}),iconComponent:jsxRuntime.exports.jsx(Organizations,{}),role:"",action:{type:mountPanel({}).type,payload:{panelId:TabId.ORGANIZATION_PANEL,microFrontend:{name:"ORGANIZATION_PANEL"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,width:560}}}},{id:TabId.CMS_SHORTCUT,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.dataCenter",defaultMessage:"Data Center",description:"Tooltip pops on the sidebar for data center"}),iconComponent:jsxRuntime.exports.jsx(DataCenter,{}),role:"cms",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"cms"}},{id:TabId.DATA_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.dataCenter",defaultMessage:"Data Center",description:"Tooltip pops on the sidebar for data center"}),iconComponent:jsxRuntime.exports.jsx(DataCenter,{}),role:"cms",action:{type:mountPanel({}).type,payload:{panelId:TabId.DATA_CENTER,microFrontend:{name:"DATA_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge"}}}},{id:TabId.PROCESSING_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.processingCenter",defaultMessage:"Processing Center",description:"Tooltip pops on the sidebar for processing center"}),iconComponent:jsxRuntime.exports.jsx(ProcessJobCount,{}),role:"cms",action:{type:mountPanel({}).type,payload:{panelId:TabId.PROCESSING_CENTER,microFrontend:{name:"PROCESSING_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}},{id:TabId.FLOW_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.flowCenter",defaultMessage:"Flow Center",description:"Tooltip pops on the sidebar for flow center"}),iconComponent:jsxRuntime.exports.jsx(FlowCenter2,{}),role:"automate",action:{type:mountPanel({}).type,payload:{panelId:TabId.FLOW_CENTER,microFrontend:{name:"FLOW_CENTER",config:{name:"Veritone",tabId:TabId.FLOW_CENTER,dataId:"dataId",type:"APP_BAR_PANEL_TEMPLATE",zIndex:1200}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}},{id:TabId.ENGINE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.developerCenter",defaultMessage:"Developer Center",description:"Tooltip pops on the sidebar for developer center"}),iconComponent:jsxRuntime.exports.jsx(DeveloperCenter,{}),role:"cms",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"developer"}},{id:TabId.MARKETPLACE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.marketplaceCenter",defaultMessage:"Marketplace",description:"Tooltip pops on the sidebar for marketplace center"}),iconComponent:jsxRuntime.exports.jsx(Marketplace$1,{}),role:"",action:{type:mountPanel({}).type,payload:{panelId:TabId.MARKETPLACE_CENTER,microFrontend:{name:"MARKETPLACE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}},{id:TabId.LIBRARY_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.libraryCenter",defaultMessage:"Library Center",description:"Tooltip pops on the sidebar for library center"}),iconComponent:jsxRuntime.exports.jsx(LibraryCenter,{}),role:"",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"libray"}},{id:TabId.ADMIN_SHORTCUT,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.adminCenter",defaultMessage:"Admin Center",description:"Tooltip pops on the sidebar for admin center"}),iconComponent:jsxRuntime.exports.jsx(AdminCenter,{}),role:"admin",action:{type:mountPanel({}).type,payload:{panelId:TabId.ADMIN_SHORTCUT,microFrontend:{name:"ADMIN_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge"}}}},{id:TabId.INSTANCE_ADMIN_CENTER_BROWSE,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.instanceAdminCenter",defaultMessage:"Instance Admin Center",description:"Tooltip pops on the sidebar for instance admin center"}),iconComponent:jsxRuntime.exports.jsx(AdminTabIcon,{}),role:"admin",action:{type:mountPanel({}).type,payload:{panelId:TabId.INSTANCE_ADMIN_CENTER_BROWSE,microFrontend:{name:"INSTANCE_ADMIN_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge"}}}},{id:TabId.RESOURCE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-panel.tabItems.resourceCenter",defaultMessage:"Resource Center",description:"Tooltip pops on the sidebar for resource center"}),iconComponent:jsxRuntime.exports.jsx(Resources,{}),role:"",action:{type:mountPanel({}).type,payload:{panelId:TabId.RESOURCE_CENTER,microFrontend:{name:"RESOURCE_CENTER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge"}}}}];function AppbarTabPanel({panelId:t,children:e,withTab:n=!0,withChild:i=!0}){const a=useDispatch(),[r,o]=react$1.exports.useState(),[s,l]=react$1.exports.useState([]),[c,u]=react$1.exports.useState(!1);var d=useSelector(e=>e.panels.find(e=>e.panelId===t))||{};const p=useSelector(e=>e.panels);const{microFrontend:m,panelConfig:g}=d,{minWidth:f,padding:h=0,header:$,footer:x,marginTop:y=0,marginStart:b=0,show:v,tabs:S=[],zIndex:I,autoZIndex:T,userRoles:j=[],panelId:O,size:E,fullScreen:R,width:C,dimmed:A=0,parentPanelId:N,borderBottom:_}=g||{};var d=N?("ORGANIZATION_PANEL"!==N?"":"solid 5px #4D81B7")||("DATA_CENTER"!==N?"":"solid 5px #4D81B7"):"solid 5px #4D81B7";react$1.exports.useEffect(()=>{0<S.length?l([...tabsListDefault,...S]):l(tabsListDefault)},[S]),react$1.exports.useEffect(()=>{var e;null!==m&&void 0!==m&&m.config&&null!=(e=m.config)&&e.tabId&&o(m.config.tabId)},[m]),react$1.exports.useEffect(()=>{0<p.length&&r&&n&&(p.find(e=>e.panelId===r)||o(void 0))},[p,r,n]);const P=useStyles$1({zIndex:I||T||1001,marginTop:y,fullScreen:R,marginStart:b,minWidth:f,width:C,getWidth:function(){return getTabPanelWidthBySize(E)||560},borderBottom:_,customBorderBottomStyle:d,padding:h,microFrontend:m,getHeight:function(){var e=$?64:0,t=x?64:0;return`calc(100vh - ${y}px - ${e}px - ${t}px - 5px)`},withTab:n})["classes"];i=jsxRuntime.exports.jsxs(Paper,Object.assign({className:`${P.container} ${i?"":P.noShadow} `,elevation:3,id:t,square:!0,"data-test":"panel-"+(O||"unknown")},{children:[0<A&&jsxRuntime.exports.jsx("div",{className:P.panelMask}),jsxRuntime.exports.jsxs("div",Object.assign({className:P.drawerContainer},{children:[i&&jsxRuntime.exports.jsxs("div",Object.assign({className:P.tabContent},{children:[$&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:P.tabName},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:P.title},{children:$.title||(null==(d=s.find(e=>e.id===r))?void 0:d.label)})),jsxRuntime.exports.jsxs("div",Object.assign({className:P.actionIcons},{children:[null==(i=$.actions)?void 0:i.map(e=>e.label?jsxRuntime.exports.jsx(Button,Object.assign({size:e.size,variant:e.variant,onClick:()=>a(e.action)},{children:e.label}),e.action.type):jsxRuntime.exports.jsxs(IconButton,Object.assign({onClick:()=>a(e.action),size:"large"},{children:[e.iconUrl&&jsxRuntime.exports.jsx("img",{src:e.iconUrl,alt:"icon",draggable:"false"}),e.icon&&jsxRuntime.exports.jsx("div",{children:e.icon})]}),e.action.type)),jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>a(hidePanel(t)),"data-test":"close-button-"+t,size:"large"},{children:jsxRuntime.exports.jsx("img",{src:N?img$11:img$12,alt:"icon",draggable:"false"})}))]}))]})),$.divider&&jsxRuntime.exports.jsx(Divider,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:P.content},{children:e?react$1.exports.cloneElement(e,Object.assign(Object.assign({},(null===m||void 0===m?void 0:m.config)||{}),{dataId:t,hidePanel:()=>a(hidePanel(t)),tabId:r,panelRendered:c})):jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"No micro frontend passed!"})})})),x&&jsxRuntime.exports.jsxs("div",Object.assign({className:P.footer},{children:[x.divider&&jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx("div",Object.assign({className:P.headerContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:P.actionContainer},{children:null==(d=x.actions)?void 0:d.map(e=>{var t;if(e.iconUrl)return jsxRuntime.exports.jsxs(IconButton,Object.assign({className:P.actionButton,onClick:(t=e.action,()=>{a(t)}),size:"large"},{children:[e.iconUrl&&jsxRuntime.exports.jsx("img",{src:e.iconUrl,alt:"icon",draggable:"false"}),e.icon&&jsxRuntime.exports.jsx("div",{children:e.icon})]}),e.action.type);const n=e;return jsxRuntime.exports.jsx(Button,Object.assign({className:P.actionButton,size:n.size,variant:n.variant,onClick:()=>a(n.action)},{children:n.label}),e.action.type)})}))}))]}))]})),n&&jsxRuntime.exports.jsxs("div",Object.assign({id:"tabs-content",className:P.tabSelect},{children:[jsxRuntime.exports.jsx(Tabs,{selectedId:r,tabsList:s,onChangeTab:function(t){0<=p.map(e=>e.panelId).indexOf(VERSION_PANEL)&&a(hidePanel(VERSION_PANEL)),r&&a(hidePanel(r)),o(t);var e,n=s.find(e=>e.id===t);null!=(e=null==n?void 0:n.onClick)&&e.call(n,t),null!=n&&n.action&&a(n.action)},roles:j}),(null===x||void 0===x?void 0:x.logo)&&jsxRuntime.exports.jsx("div",Object.assign({className:P.aiWareIcon},{children:jsxRuntime.exports.jsx(Logo,{})}))]}))]}))]}));return jsxRuntime.exports.jsx(AIWareThemeProvider$1,{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getPanelModule()]},{children:jsxRuntime.exports.jsx(Slide,Object.assign({"data-id":"123456",in:v,direction:"left",onEntered:()=>u(!0),onExited:()=>a(unmountPanel(t))},{children:i}))}))})})}const AppbarPanel=e=>jsxRuntime.exports.jsx(AppbarTabPanel,Object.assign({},e,{withChild:!0,withTab:!1})),Tab=e=>jsxRuntime.exports.jsx(AppbarTabPanel,Object.assign({},e,{withChild:!1,withTab:!0})),changelogPanelLabels=e=>({changelog:e.formatMessage({id:"changelog-panel.header.title",defaultMessage:[{type:0,value:"Release Notes"}]}),closePanelTooltip:e.formatMessage({id:"changelog-panel.header.close-btn-tooltip",defaultMessage:[{type:0,value:"Close panel"}]}),versionLabel:e.formatMessage({id:"changelog-panel.version-title",defaultMessage:[{type:0,value:"Version"}]}),updateRequiredLabel:e.formatMessage({id:"changelog-panel.update-required",defaultMessage:[{type:0,value:"Update required"}]}),deploymentLabel:e.formatMessage({id:"changelog-panel.deployment",defaultMessage:[{type:0,value:"Deployment"}]}),apiUnavailable:e.formatMessage({id:"changelog-panel.no-api",defaultMessage:[{type:0,value:"Cannot retrieve platform information"}]}),current:e.formatMessage({id:"changelog-panel.current",defaultMessage:[{type:0,value:"Current"}]}),previous:e.formatMessage({id:"changelog-panel.previous",defaultMessage:[{type:0,value:"Previous"}]}),noHighlights:e.formatMessage({id:"changelog-panel.no-highlights",defaultMessage:[{type:0,value:"Cannot retrieve version highlights"}]}),unknown:e.formatMessage({id:"changelog-panel.unknown",defaultMessage:[{type:0,value:"unknown"}]}),viewReleaseNotes:e.formatMessage({id:"version-panel.view-release-notes",defaultMessage:[{type:0,value:"View Version History"}]}),error:e.formatMessage({id:"version-panel.error-state",defaultMessage:[{type:0,value:"Error while fetching release notes"}]}),errorHelperText:e.formatMessage({id:"version-panel.error-state-helper-text",defaultMessage:[{type:0,value:"Please try again later"}]}),"current-version":{label:e.formatMessage({id:"changelog-panel.current-version",defaultMessage:[{type:0,value:"Current Version"}]}),noVersionHighlights:e.formatMessage({id:"changelog-panel.no-current-version-highlights",defaultMessage:[{type:0,value:"No Release Notes for Current Version"}]})},"previous-version":{label:e.formatMessage({id:"changelog-panel.previous-version",defaultMessage:[{type:0,value:"Previous Version"}]}),noVersionHighlights:e.formatMessage({id:"changelog-panel.no-prev-version-highlights",defaultMessage:[{type:0,value:"No Release Notes for Previous Version"}]})},"selected-version":{label:null,noVersionHighlights:e.formatMessage({id:"changelog-panel.no-selected-version-highlights",defaultMessage:[{type:0,value:"No Release Notes for Selected Version"}]})}}),useStyles$6=makeStyles()(e=>({flexContainer:{display:"flex",alignItems:"center"},header:{alignItems:"center",display:"flex",justifyContent:"space-between",height:"55px",padding:e.spacing(6,0,6,6),borderBottom:"1px solid rgb(219, 226, 234)"},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end",paddingRight:"10px"},title:{color:"#2A323C"},panelRoot:{padding:"15px",height:"calc(100% - 70px);",overflowY:"scroll"},row:{display:"flex","& svg":{marginRight:"12px",marginBottom:"24px"}},widgets:{"& svg":{fill:"#555F7C"}},veriLogo:{transform:"translate(3px, 2px)"},versionText:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",marginBottom:"5px"},wrapperBox:{padding:"15px 0 15px 15px",border:".5px solid #D5DFE9",borderRadius:"4px",marginBottom:"14px","& iframe":{width:"100%",border:"none"}},aiwareLogo:{marginBottom:"10px"},boldTitle:{fontWeight:700},releaseNotesBtn:{width:"100%",cursor:"pointer",height:"36px",border:"1px solid #5C6269",color:"#5C6269",marginTop:"15px","&:hover":{border:"1px solid #5C6269"}},errorStateContainer:{padding:"40px",textAlign:"center","& img":{width:"40%",marginBottom:"20px"}}})),Header=()=>{const e=useDispatch();var t=useStyles$6()["classes"],n=useIntl(),{changelog:n,closePanelTooltip:i}=changelogPanelLabels(n);return jsxRuntime.exports.jsxs("header",Object.assign({className:t.header,"data-testid":"changelog-panel.header"},{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h1","data-testid":"changelog-panel-title",className:t.title},{children:["AIWARE ",n]})),jsxRuntime.exports.jsx("div",Object.assign({className:t.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>e(hidePanel(CHANGELOG_PANEL)),"aria-labelledby":"changelog-panel.close-button","data-testid":"changelog-panel-close-button",size:"large"},{children:jsxRuntime.exports.jsx(Close$1,{})}))}))}))]}))},VersionHeader=({version:e,updateIsRequired:t})=>{var n=useStyles$6()["classes"],i=useIntl(),{versionLabel:i,updateRequiredLabel:a,deploymentLabel:r,unknown:o}=changelogPanelLabels(i);return jsxRuntime.exports.jsxs(Box,Object.assign({className:n.wrapperBox},{children:[jsxRuntime.exports.jsxs(Box,Object.assign({className:n.flexContainer},{children:[jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h1","data-test":"changelog-panel-header-title"},{children:[i," ",null!=e&&e.version?null==e?void 0:e.version:o]})),t?jsxRuntime.exports.jsxs(Typography,Object.assign({sx:{ml:"10px"},variant:"caption"},{children:["(",a,")"]})):null]})),jsxRuntime.exports.jsx(Box,Object.assign({sx:{mt:"5px"}},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"body2"},{children:[r," -"," ",e&&e.createdAt?dateFormatter((null==e?void 0:e.createdAt)||null):o]}))}))]}))},isValidHttpUrl=(e="")=>{let t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol},VersionContent=({id:e,version:t,height:n})=>{var i=useStyles$6()["classes"],a=useIntl(),{[e]:{label:a,noVersionHighlights:r}}=changelogPanelLabels(a);return isValidHttpUrl(null==t?void 0:t.highlightsUrl)?jsxRuntime.exports.jsxs(Box,Object.assign({className:i.wrapperBox},{children:[t&&a&&jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",sx:{mb:"10px"}},{children:a})),jsxRuntime.exports.jsx("iframe",{id:e,title:e,src:null==t?void 0:t.highlightsUrl,height:n,onLoad:e=>{e.currentTarget.onerror=e=>console.log("ev",e)}})]})):jsxRuntime.exports.jsx(VersionChangelogNullState,{label:r})},CHANGELOG_PANEL="CHANGELOG_PANEL",RELEASE_NOTES_URL="https://docs.veritone.com/#/versions/readme",ChangelogPanelComponent=({id:t})=>{var e=useStyles$6()["classes"],n=useIntl(),{apiUnavailable:n,noHighlights:i,viewReleaseNotes:a,error:r,errorHelperText:o}=changelogPanelLabels(n);const s=useDispatch(),[l,c]=react$1.exports.useState(!1);var u=useSelector(selectLoadingStatus);const[d,p]=react$1.exports.useState({}),m=e=>{if("https://get.aiware.com"===e.origin){const{height:t,source:n}=e.data;p(e=>Object.assign(Object.assign({},e),{[n]:t+1}))}};react$1.exports.useEffect(()=>{var e=gqlIntrospection.getQueries().find(e=>"platformInfo"===e.name);return c(!!e),e&&s(actions.versionPanel.fetchVersionInfoStart(t)),window.addEventListener("message",m),()=>window.removeEventListener("message",m)},[s,t]);var g=useSelector(selectCurrentVersion),f=useSelector(selectPreviousVersion),h=useSelector(selectSelectedVersion),[$,,]=react$1.exports.useState(!1),x=jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsxs(Box,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%"}},{children:[g&&!t?jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(VersionHeader,{version:g,updateIsRequired:$}),jsxRuntime.exports.jsx(VersionContent,{id:"current-version",version:g,height:d[(null==(x=null==g?void 0:g.highlightsUrl)?void 0:x.toString())||""]})]}):null,h&&t?jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(VersionHeader,{version:h,updateIsRequired:$}),jsxRuntime.exports.jsx(VersionContent,{id:"selected-version",version:h,height:d[(null==(x=null==h?void 0:h.highlightsUrl)?void 0:x.toString())||""]})]}):null]})),f&&!t?jsxRuntime.exports.jsx(VersionContent,{id:"previous-version",version:f,height:d[(null==($=null==f?void 0:f.highlightsUrl)?void 0:$.toString())||""]}):null,!t&&!g&&!f&&jsxRuntime.exports.jsx(VersionChangelogNullState,{label:i}),t&&!h&&jsxRuntime.exports.jsx(VersionChangelogNullState,{label:i}),jsxRuntime.exports.jsxs(Button,Object.assign({className:e.releaseNotesBtn,variant:"outlined",onClick:()=>{window.open(RELEASE_NOTES_URL,"_blank")}},{children:[jsxRuntime.exports.jsx(Launch,{sx:{mr:"5px",width:"18px"}})," ",a]}))]}),$=jsxRuntime.exports.jsxs(Box,Object.assign({className:e.errorStateContainer},{children:[jsxRuntime.exports.jsx("img",{src:img$g,alt:"error"}),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1",sx:{fontWeight:700}},{children:r}))}),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2"},{children:o}))})]}));return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{height:"calc(100vh - 60px)",overflow:"hidden"}},{children:[jsxRuntime.exports.jsx(Header,{}),"pending"===u&&jsxRuntime.exports.jsx(Box,Object.assign({sx:{p:"15px",display:"flex",justifyContent:"center"}},{children:jsxRuntime.exports.jsx(CircularProgress,{})})),"success"===u&&jsxRuntime.exports.jsx("div",Object.assign({className:e.panelRoot},{children:l?x:jsxRuntime.exports.jsx(VersionChangelogNullState,{label:n})})),"failure"===u&&$]}))},ChangelogPanel=({id:e})=>jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getPanelModule()]},{children:jsxRuntime.exports.jsx(ChangelogPanelComponent,{id:e})}));var index_esm$2=Object.freeze({__proto__:null,AppbarPanel:AppbarPanel,AppbarTabPanel:AppbarTabPanel,ChangelogPanel:ChangelogPanel,TabPanel:Tab,VersionPanel:VersionPanel});const Panel=({panelId:t,children:e})=>{var n;const i=useDispatch(),{microFrontend:a,panelConfig:{minWidth:r,padding:o=0,header:s,footer:l,marginTop:c=0,marginStart:u=0,show:d,width:p=500}}=useSelector(e=>e.panels.find(e=>e.panelId===t)),m=makeStyles()(e=>({container:{position:"fixed",top:c,right:u,height:"100%",minWidth:r,width:p},padding:{padding:e.spacing(o),paddingTop:e.spacing(o/2)},margin:{margin:e.spacing()},headerContainer:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center"},headerTitle:{margin:e.spacing()},actionButton:{margin:e.spacing()},actionContainer:{"&:last-child":{marginRight:e.spacing(2)}},footer:{}}))()["classes"],g=e=>{var t;return e.icon?jsxRuntime.exports.jsx(IconButton,Object.assign({className:m.actionButton,onClick:()=>i(e.action),size:"large"},{children:e.icon})):(t=e,jsxRuntime.exports.jsx(Button,Object.assign({className:m.actionButton,size:t.size,variant:t.variant,onClick:()=>i(e.action)},{children:t.label})))};return jsxRuntime.exports.jsx(Slide,Object.assign({in:d,direction:"left",onExited:()=>i(unmountPanel(t))},{children:jsxRuntime.exports.jsxs(Paper,Object.assign({elevation:3,id:t,"data-test":"panel-"+(t||"unknown"),className:m.container},{children:[s&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:m.headerContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({gutterBottom:!0,className:m.headerTitle,variant:"h4"},{children:s.title})),jsxRuntime.exports.jsxs("div",Object.assign({className:m.actionContainer},{children:[null==(n=s.actions)?void 0:n.map(e=>g(e)),jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"close-button-"+t,className:m.actionButton,onClick:()=>i(hidePanel(t)),size:"large"},{children:jsxRuntime.exports.jsx(default_1$6,{})}))]}))]})),s.divider&&jsxRuntime.exports.jsx(Divider,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:m.padding},{children:e?react$1.exports.cloneElement(e,Object.assign(Object.assign({},a.config||{}),{dataId:t,hidePanel:()=>i(hidePanel(t))})):jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"No micro frontend passed!"})})})),l&&jsxRuntime.exports.jsxs("div",Object.assign({className:m.footer},{children:[l.divider&&jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsxs("div",Object.assign({className:m.headerContainer},{children:[jsxRuntime.exports.jsx("div",{}),jsxRuntime.exports.jsx("div",Object.assign({className:m.actionContainer},{children:null==(n=l.actions)?void 0:n.map(e=>g(e))}))]}))]}))]}))}))},SamplePanel5=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel5!"})}),SamplePanel4=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel4!"})}),SamplePanel3=n=>{const i=useDispatch();return jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx("h1",{children:"Welcome to picker!"}),jsxRuntime.exports.jsx(Typography,Object.assign({id:"discrete-slider",gutterBottom:!0},{children:"Temperature"})),jsxRuntime.exports.jsx(Slider$1,{"data-test":"slider",defaultValue:n.value,value:n.value,"aria-labelledby":"discrete-slider",valueLabelDisplay:"auto",step:10,marks:!0,min:0,max:110,onChange:(e,t)=>{i(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})}))},onChangeCommitted:(e,t)=>{i(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})})),i(setData({id:n.dataId,data:t}))}})]})},SamplePanel2=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel2!"})}),useStyles=makeStyles()(e=>({container:{},root:{minWidth:50},bullet:{display:"inline-block",margin:"0 2px",transform:"scale(0.8)"},title:{fontSize:14},pos:{marginBottom:12}})),SamplePanel1=e=>{var t=useStyles()["classes"],n=jsxRuntime.exports.jsx("span",Object.assign({className:t.bullet},{children:"•"}));return jsxRuntime.exports.jsxs("div",Object.assign({className:t.container},{children:[jsxRuntime.exports.jsxs("h1",{children:["Welcome to SamplePanel1 ",e.name||"Unknown Person","!"]}),jsxRuntime.exports.jsxs(Card,Object.assign({className:t.root},{children:[jsxRuntime.exports.jsxs(CardContent$1,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({className:t.title,color:"textSecondary",gutterBottom:!0},{children:"Word of the Day"})),jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"h5",component:"h2"},{children:["be",n,"nev",n,"o",n,"lent"]})),jsxRuntime.exports.jsx(Typography,Object.assign({className:t.pos,color:"textSecondary"},{children:"adjective"})),jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"body2",component:"p"},{children:["well meaning and kindly.",jsxRuntime.exports.jsx("br",{}),'"a benevolent smile"']}))]}),jsxRuntime.exports.jsx(CardActions$1,{children:jsxRuntime.exports.jsx(Button,Object.assign({size:"small"},{children:"Learn More"}))})]}))]}))};var match,version,set$1,get,store,STATE,$location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,index_esm$1=Object.freeze({__proto__:null,Panel:Panel,SamplePanel1:SamplePanel1,SamplePanel2:SamplePanel2,SamplePanel3:SamplePanel3,SamplePanel4:SamplePanel4,SamplePanel5:SamplePanel5}),commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$f=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$a=function(e){try{return!!e()}catch(e){return!0}},fails$9=fails$a,descriptors=!fails$a(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$8=fails$a,functionBindNative=!fails$a(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$3=functionBindNative,call$c=Function.prototype.call,functionCall=NATIVE_BIND$3?call$c.bind(call$c):function(){return call$c.apply(call$c,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$2=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative,FunctionPrototype$2=Function.prototype,call$b=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$b,call$b),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$b.apply(e,arguments)}},uncurryThis$d=functionUncurryThis,toString$1=uncurryThis$d({}.toString),stringSlice$1=uncurryThis$d("".slice),classofRaw$2=function(e){return stringSlice$1(toString$1(e),8,-1)},uncurryThis$c=functionUncurryThis,fails$7=fails$a,classof$4=classofRaw$2,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$7(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$4(e)?split(e,""):$Object$3(e)}:$Object$3,isNullOrUndefined$4=function(e){return null==e},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$c=TypeError,requireObjectCoercible$2=function(e){if(isNullOrUndefined$3(e))throw $TypeError$c("Can't call method on "+e);return e},IndexedObject=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$3=function(e){return IndexedObject(requireObjectCoercible$1(e))},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$h=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},isCallable$g=isCallable$h,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$7=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$g(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$g(e)},global$e=global$f,isCallable$f=isCallable$h,aFunction=function(e){return isCallable$f(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$e[e]):global$e[e]&&global$e[e][t]},uncurryThis$b=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$d=global$f,userAgent$3=engineUserAgent,process$4=global$d.process,Deno$1=global$d.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent$3&&(!(match=userAgent$3.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent$3.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION$1=engineV8Version,fails$6=fails$a,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$6(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$1&&V8_VERSION$1<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=symbolConstructorDetection&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$6=getBuiltIn$7,isCallable$e=isCallable$h,isPrototypeOf$2=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$6("Symbol");return isCallable$e(t)&&isPrototypeOf$2(t.prototype,$Object$2(e))},$String$3=String,tryToString$4=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$d=isCallable$h,tryToString$3=tryToString$4,$TypeError$b=TypeError,aCallable$8=function(e){if(isCallable$d(e))return e;throw $TypeError$b(tryToString$3(e)+" is not a function")},aCallable$7=aCallable$8,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$3=function(e,t){e=e[t];return isNullOrUndefined$2(e)?void 0:aCallable$7(e)},call$a=functionCall,isCallable$c=isCallable$h,isObject$6=isObject$7,$TypeError$a=TypeError,ordinaryToPrimitive$1=function(e,t){var n,i;if("string"===t&&isCallable$c(n=e.toString)&&!isObject$6(i=call$a(n,e)))return i;if(isCallable$c(n=e.valueOf)&&!isObject$6(i=call$a(n,e)))return i;if("string"!==t&&isCallable$c(n=e.toString)&&!isObject$6(i=call$a(n,e)))return i;throw $TypeError$a("Can't convert object to primitive value")},shared$3={exports:{}},global$c=global$f,defineProperty$3=Object.defineProperty,defineGlobalProperty$3=function(t,n){try{defineProperty$3(global$c,t,{value:n,configurable:!0,writable:!0})}catch(e){global$c[t]=n}return n},global$b=global$f,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$f[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$3.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$1=Object,toObject$1=function(e){return $Object$1(requireObjectCoercible(e))},uncurryThis$a=functionUncurryThis,toObject=toObject$1,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject(e),t)},uncurryThis$9=functionUncurryThis,id=0,postfix=Math.random(),toString=uncurryThis$9(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString(++id+postfix,36)},global$a=global$f,shared$2=shared$3.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$a.Symbol,WellKnownSymbolsStore=shared$2("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$a=function(e){return hasOwn$8(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL&&hasOwn$8(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$9=functionCall,isObject$5=isObject$7,isSymbol$1=isSymbol$2,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$9=wellKnownSymbol$a,$TypeError$9=TypeError,TO_PRIMITIVE=wellKnownSymbol$a("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$5(e)||isSymbol$1(e))return e;var n=getMethod$2(e,TO_PRIMITIVE);if(n){if(n=call$9(n,e,t=void 0===t?"default":t),!isObject$5(n)||isSymbol$1(n))return n;throw $TypeError$9("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$9=global$f,isObject$4=isObject$7,document$3=global$f.document,EXISTS$1=isObject$4(document$3)&&isObject$4(document$3.createElement),documentCreateElement=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$7=descriptors,fails$5=fails$a,createElement$1=documentCreateElement,ie8DomDefine=!descriptors&&!fails$a(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$6=descriptors,call$8=functionCall,propertyIsEnumerableModule=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$2=toIndexedObject$3,toPropertyKey$1=toPropertyKey$2,hasOwn$7=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$2(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$7(e,t))return createPropertyDescriptor$1(!call$8(propertyIsEnumerableModule.f,e,t),e[t])},{}),DESCRIPTORS$5=descriptors,fails$4=fails$a,v8PrototypeDefineBug=descriptors&&fails$a(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$3=isObject$7,$String$2=String,$TypeError$8=TypeError,anObject$8=function(e){if(isObject$3(e))return e;throw $TypeError$8($String$2(e)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,anObject$7=anObject$8,toPropertyKey=toPropertyKey$2,$TypeError$7=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$3=(objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG?function(e,t,n){var i;return anObject$7(e),t=toPropertyKey(t),anObject$7(n),"function"==typeof e&&"prototype"===t&&"value"in n&&WRITABLE in n&&!n[WRITABLE]&&(i=$getOwnPropertyDescriptor(e,t))&&i[WRITABLE]&&(e[t]=n.value,n={configurable:(CONFIGURABLE$1 in n?n:i)[CONFIGURABLE$1],enumerable:(ENUMERABLE in n?n:i)[ENUMERABLE],writable:!1}),$defineProperty(e,t,n)}:$defineProperty:function(e,t,n){if(anObject$7(e),t=toPropertyKey(t),anObject$7(n),IE8_DOM_DEFINE)try{return $defineProperty(e,t,n)}catch(e){}if("get"in n||"set"in n)throw $TypeError$7("Accessors not supported");return"value"in n&&(e[t]=n.value),e},descriptors),definePropertyModule$2=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$2=DESCRIPTORS$3?function(e,t,n){return definePropertyModule$2.f(e,t,createPropertyDescriptor(1,n))}:function(e,t,n){return e[t]=n,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$6=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$6(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$8=functionUncurryThis,isCallable$b=isCallable$h,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$b(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$8=global$f,isCallable$a=isCallable$h,WeakMap$1=global$f.WeakMap,weakMapBasicDetection=isCallable$a(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$1=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$3={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$7=global$f,isObject$2=isObject$7,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$5=hasOwnProperty_1,shared=sharedStore,sharedKey=sharedKey$1,hiddenKeys$2=hiddenKeys$3,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global$7.TypeError,WeakMap$2=global$7.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(t){return function(e){if(isObject$2(e)&&(e=get(e)).type===t)return e;throw TypeError$2("Incompatible receiver, "+t+" required")}},has=NATIVE_WEAK_MAP||shared.state?((store=shared.state||(shared.state=new WeakMap$2)).get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},function(e){return store.has(e)}):(STATE=sharedKey("state"),hiddenKeys$2[STATE]=!0,set$1=function(e,t){if(hasOwn$5(e,STATE))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$1(e,STATE,t),t},get=function(e){return hasOwn$5(e,STATE)?e[STATE]:{}},function(e){return hasOwn$5(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$7=functionUncurryThis,fails$3=fails$a,isCallable$9=isCallable$h,hasOwn$4=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState=InternalStateModule$1.get,$String$1=String,defineProperty$2=Object.defineProperty,stringSlice=uncurryThis$7("".slice),replace=uncurryThis$7("".replace),join=uncurryThis$7([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$3(function(){return 8!==defineProperty$2(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,n){"Symbol("===stringSlice($String$1(t),0,7)&&(t="["+replace($String$1(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!hasOwn$4(e,"name")||CONFIGURABLE_FUNCTION_NAME&&e.name!==t)&&(DESCRIPTORS$1?defineProperty$2(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&n&&hasOwn$4(n,"arity")&&e.length!==n.arity&&defineProperty$2(e,"length",{value:n.arity});try{n&&hasOwn$4(n,"constructor")&&n.constructor?DESCRIPTORS$1&&defineProperty$2(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=enforceInternalState(e);return hasOwn$4(n,"source")||(n.source=join(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$8=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$9(this)&&getInternalState(this).source||inspectSource$2(this)},"toString"),isCallable$h),definePropertyModule$1=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,n,i){var a=(i=i||{}).enumerable,r=void 0!==i.name?i.name:t;if(isCallable$8(n)&&makeBuiltIn$1(n,r,i),i.global)a?e[t]=n:defineGlobalProperty$1(t,n);else{try{i.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=n:definePropertyModule$1.f(e,t,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$2=function(e){return toLength(e.length)},toIndexedObject$1=toIndexedObject$3,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$2,createMethod=function(s){return function(e,t,n){var i,a=toIndexedObject$1(e),r=lengthOfArrayLike$1(a),o=toAbsoluteIndex(n,r);if(s&&t!=t){for(;o<r;)if((i=a[o++])!=i)return!0}else for(;o<r;o++)if((s||o in a)&&a[o]===t)return s||o||0;return!s&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$6=functionUncurryThis,hasOwn$3=hasOwnProperty_1,toIndexedObject=toIndexedObject$3,indexOf=arrayIncludes.indexOf,hiddenKeys$1=hiddenKeys$3,push=uncurryThis$6([].push),objectKeysInternal=function(e,t){var n,i=toIndexedObject(e),a=0,r=[];for(n in i)!hasOwn$3(hiddenKeys$1,n)&&hasOwn$3(i,n)&&push(r,n);for(;t.length>a;)!hasOwn$3(i,n=t[a++])||~indexOf(r,n)||push(r,n);return r},enumBugKeys$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$1,hiddenKeys=enumBugKeys$1.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys(e,hiddenKeys)},{}),getBuiltIn$5=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$7),uncurryThis$5=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,anObject$6=anObject$8,concat=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$6(e)),n=getOwnPropertySymbolsModule.f;return n?concat(t,n(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$1=function(e,t,n){for(var i=ownKeys(t),a=definePropertyModule.f,r=getOwnPropertyDescriptorModule.f,o=0;o<i.length;o++){var s=i[o];hasOwn$2(e,s)||n&&hasOwn$2(n,s)||a(e,s,r(t,s))}},fails$2=fails$a,isCallable$7=isCallable$h,replacement=/#|\.prototype\./,isForced$2=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$7(t)?fails$2(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,global$6=global$f,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty=createNonEnumerableProperty$2,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced$1=isForced_1,_export=function(e,t){var n,i,a,r=e.target,o=e.global,s=e.stat,l=o?global$6:s?global$6[r]||defineGlobalProperty(r,{}):(global$6[r]||{}).prototype;if(l)for(n in t){if(i=t[n],a=e.dontCallGetSet?(a=getOwnPropertyDescriptor$1(l,n))&&a.value:l[n],!isForced$1(o?n:r+(s?".":"#")+n,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;copyConstructorProperties(i,a)}(e.sham||a&&a.sham)&&createNonEnumerableProperty(i,"sham",!0),defineBuiltIn$2(l,n,i,e)}},classof$3=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classofRaw$2(process),uncurryThis$4=functionUncurryThis,aCallable$6=aCallable$8,functionUncurryThisAccessor=function(e,t,n){try{return uncurryThis$4(aCallable$6(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},isCallable$6=isCallable$h,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$6(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$5=anObject$8,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),i=e instanceof Array}catch(e){}return function(e,t){return anObject$5(e),aPossiblePrototype(t),i?n(e,t):e.__proto__=t,e}}():void 0),defineProperty$1=objectDefineProperty.f,hasOwn$1=hasOwnProperty_1,wellKnownSymbol$8=wellKnownSymbol$a,TO_STRING_TAG$2=wellKnownSymbol$a("toStringTag"),setToStringTag$1=function(e,t,n){(e=e&&!n?e.prototype:e)&&!hasOwn$1(e,TO_STRING_TAG$2)&&defineProperty$1(e,TO_STRING_TAG$2,{configurable:!0,value:t})},makeBuiltIn=makeBuiltIn$3.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$1=function(e,t,n){return n.get&&makeBuiltIn(n.get,t,{getter:!0}),n.set&&makeBuiltIn(n.set,t,{setter:!0}),defineProperty.f(e,t,n)},getBuiltIn$4=getBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$1,wellKnownSymbol$7=wellKnownSymbol$a,DESCRIPTORS=descriptors,SPECIES$2=wellKnownSymbol$a("species"),setSpecies$1=function(e){e=getBuiltIn$4(e);DESCRIPTORS&&e&&!e[SPECIES$2]&&defineBuiltInAccessor(e,SPECIES$2,{configurable:!0,get:function(){return this}})},isPrototypeOf$1=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$1(t,e))return e;throw $TypeError$5("Incorrect invocation")},wellKnownSymbol$6=wellKnownSymbol$a,TO_STRING_TAG$1=wellKnownSymbol$a("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$1]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$5=isCallable$h,classofRaw$1=classofRaw$2,wellKnownSymbol$5=wellKnownSymbol$a,TO_STRING_TAG=wellKnownSymbol$a("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$2=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"==(t=classofRaw$1(e))&&isCallable$5(e.callee)?"Arguments":t},uncurryThis$3=functionUncurryThis,fails$1=fails$a,isCallable$4=isCallable$h,classof$1=classof$2,getBuiltIn$3=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis$3(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$4(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$4(e))return!1;switch(classof$1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$1(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString$2=tryToString$4,$TypeError$4=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw $TypeError$4(tryToString$2(e)+" is not a constructor")},anObject$4=anObject$8,aConstructor=aConstructor$1,isNullOrUndefined$1=isNullOrUndefined$4,wellKnownSymbol$4=wellKnownSymbol$a,SPECIES$1=wellKnownSymbol$a("species"),speciesConstructor$1=function(e,t){var e=anObject$4(e).constructor;return void 0===e||isNullOrUndefined$1(e=anObject$4(e)[SPECIES$1])?t:aConstructor(e)},NATIVE_BIND$1=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$7=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$7.bind(apply$1):function(){return call$7.apply(apply$1,arguments)}),classofRaw=classofRaw$2,uncurryThis$2=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$2(e)},uncurryThis$1=functionUncurryThisClause,aCallable$5=aCallable$8,NATIVE_BIND=functionBindNative,bind$4=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$5(e),void 0===t?e:NATIVE_BIND?bind$4(e,t):function(){return e.apply(t,arguments)}},getBuiltIn$2=getBuiltIn$7,html$1=getBuiltIn$7("document","documentElement"),uncurryThis=functionUncurryThis,arraySlice$1=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$5=global$f,apply=functionApply,bind$3=functionBindContext,isCallable$3=isCallable$h,hasOwn=hasOwnProperty_1,fails=fails$a,html=html$1,arraySlice=arraySlice$1,createElement=documentCreateElement,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$5.setImmediate,clear=global$5.clearImmediate,process$3=global$5.process,Dispatch=global$5.Dispatch,Function$1=global$5.Function,MessageChannel$1=global$5.MessageChannel,String$1=global$5.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails(function(){$location=global$5.location}),function(e){var t;hasOwn(queue$2,e)&&(t=queue$2[e],delete queue$2[e],t())}),runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$5.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$3(e)?e:Function$1(e),n=arraySlice(arguments,1);return queue$2[++counter]=function(){apply(t,void 0,n)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$3?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel$1&&!IS_IOS$1?(port=(channel=new MessageChannel$1).port2,channel.port1.onmessage=eventListener,defer=bind$3(port.postMessage,port)):global$5.addEventListener&&isCallable$3(global$5.postMessage)&&!global$5.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$5.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in createElement("script")?function(e){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)}),{set:set,clear:clear}),Queue$2=function(){this.head=null,this.tail=null},queue$1=(Queue$2.prototype={add:function(e){var e={item:e,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},Queue$2),userAgent$1=engineUserAgent,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$1)&&"undefined"!=typeof Pebble,userAgent=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent),global$4=global$f,bind$2=functionBindContext,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$4.MutationObserver||global$4.WebKitMutationObserver,document$2=global$4.document,process$2=global$4.process,Promise$1=global$4.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global$4,"queueMicrotask"),microtask$1=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value,microtask_1=(microtask$1||(queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$2&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&&notify$1(),e}e&&e.enter()},notify$1=IS_IOS||IS_NODE$2||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$2(promise.then,promise),function(){then(flush)}):IS_NODE$2?function(){process$2.nextTick(flush)}:(macrotask=bind$2(macrotask,global$4),function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),function(){node.data=toggle=!toggle}),microtask$1=function(e){queue.head||notify$1(),queue.add(e)}),microtask$1),hostReportErrors$1=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform$3=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},global$3=global$f,promiseNativeConstructor=global$f.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$1=engineIsNode,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document,global$2=global$f,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$2=isCallable$h,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$3=wellKnownSymbol$a,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES=(NativePromiseConstructor$3&&NativePromiseConstructor$3.prototype,wellKnownSymbol$3("species")),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$2(global$2.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced("Promise",function(){var e=inspectSource(NativePromiseConstructor$3),t=e!==String(NativePromiseConstructor$3);if(!t&&66===V8_VERSION)return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(e)){function n(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES]=n,!(SUBCLASSING=e.then(function(){})instanceof n))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1}),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$4=aCallable$8,$TypeError$2=TypeError,PromiseCapability=function(e){var n,i;this.promise=new e(function(e,t){if(void 0!==n||void 0!==i)throw $TypeError$2("Bad Promise constructor");n=e,i=t}),this.resolve=aCallable$4(n),this.reject=aCallable$4(i)},$$5=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE=engineIsNode,global$1=global$f,call$6=functionCall,defineBuiltIn$1=defineBuiltIn$3,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$1,setSpecies=setSpecies$1,aCallable$3=aCallable$8,isCallable$1=isCallable$h,isObject$1=isObject$7,anInstance=anInstance$1,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule=internalState,NativePromiseConstructor$2=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$3=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$1=global$1.TypeError,document$1=global$1.document,process$1=global$1.process,newPromiseCapability$1=newPromiseCapabilityModule$3.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$1.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$1(e)||!isCallable$1(t=e.then))&&t},callReaction=function(e,t){var n,i,a,r=t.value,o=t.state==FULFILLED,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===e.promise?c(TypeError$1("Promise-chain cycle")):(i=isThenable(n))?call$6(i,n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}},notify=function(n,i){n.notified||(n.notified=!0,microtask(function(){for(var e,t=n.reactions;e=t.get();)callReaction(e,n);n.notified=!1,i&&!n.rejection&&onUnhandled(n)}))},dispatchEvent=function(e,t,n){var i;DISPATCH_EVENT?((i=document$1.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),global$1.dispatchEvent(i)):i={promise:t,reason:n},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$1["on"+e])?t(i):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",n)},onUnhandled=function(i){call$6(task,global$1,function(){var e=i.facade,t=i.value,n=isUnhandled(i);if(n&&(n=perform$2(function(){IS_NODE?process$1.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),i.rejection=IS_NODE||isUnhandled(i)?UNHANDLED:HANDLED,n.error))throw n.value})},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(t){call$6(task,global$1,function(){var e=t.facade;IS_NODE?process$1.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$1=function(t,n,i){return function(e){t(n,e,i)}},internalReject=function(e,t,n){e.done||(e.done=!0,(e=n?n:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(n.facade===e)throw TypeError$1("Promise can't be resolved itself");var i=isThenable(e);i?microtask(function(){var t={done:!1};try{call$6(i,e,bind$1(internalResolve,t,n),bind$1(internalReject,t,n))}catch(e){internalReject(t,e,n)}}):(n.value=e,n.state=FULFILLED,notify(n,!1))}catch(e){internalReject({done:!1},e,n)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$3(e),call$6(Internal,this);var t=getInternalPromiseState(this);try{e(bind$1(internalResolve,t),bind$1(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$1(PromisePrototype,"then",function(e,t){var n=getInternalPromiseState(this),i=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return n.parent=!0,i.ok=!isCallable$1(e)||e,i.fail=isCallable$1(t)&&t,i.domain=IS_NODE?process$1.domain:void 0,n.state==PENDING?n.reactions.add(i):microtask(function(){callReaction(i,n)}),i.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$1(internalResolve,t),this.reject=bind$1(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$1(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$1(NativePromisePrototype$1,"then",function(e,t){var n=this;return new PromiseConstructor(function(e,t){call$6(nativeThen,n,e,t)}).then(e,t)},{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype$1,PromisePrototype)}$$5({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var iterators={},wellKnownSymbol$2=wellKnownSymbol$a,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$a("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$2]===e)},classof=classof$2,getMethod$1=getMethod$3,isNullOrUndefined=isNullOrUndefined$4,Iterators=iterators,wellKnownSymbol$1=wellKnownSymbol$a,ITERATOR$1=wellKnownSymbol$a("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined(e))return getMethod$1(e,ITERATOR$1)||getMethod$1(e,"@@iterator")||Iterators[classof(e)]},call$5=functionCall,aCallable$2=aCallable$8,anObject$3=anObject$8,tryToString$1=tryToString$4,getIteratorMethod$1=getIteratorMethod$2,$TypeError$1=TypeError,getIterator$1=function(e,t){var n=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$2(n))return anObject$3(call$5(n,e));throw $TypeError$1(tryToString$1(e)+" is not iterable")},call$4=functionCall,anObject$2=anObject$8,getMethod=getMethod$3,iteratorClose$1=function(e,t,n){var i,a;anObject$2(e);try{if(!(i=getMethod(e,"return"))){if("throw"===t)throw n;return n}i=call$4(i,e)}catch(e){a=!0,i=e}if("throw"===t)throw n;if(a)throw i;return anObject$2(i),n},bind=functionBindContext,call$3=functionCall,anObject$1=anObject$8,tryToString=tryToString$4,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike=lengthOfArrayLike$2,isPrototypeOf=objectIsPrototypeOf,getIterator=getIterator$1,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,n){function i(e){return r&&iteratorClose(r,"normal",e),new Result(!0,e)}function a(e){return p?(anObject$1(e),f?h(e[0],e[1],i):h(e[0],e[1])):f?h(e,i):h(e)}var r,o,s,l,c,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_RECORD),g=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),h=bind(t,d);if(m)r=e.iterator;else if(g)r=e;else{if(!(n=getIteratorMethod(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(n)){for(o=0,s=lengthOfArrayLike(e);o<s;o++)if((l=a(e[o]))&&isPrototypeOf(ResultPrototype,l))return l;return new Result(!1)}r=getIterator(e,n)}for(c=(m?e:r).next;!(u=call$3(c,r)).done;){try{l=a(u.value)}catch(e){iteratorClose(r,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol=wellKnownSymbol$a,ITERATOR=wellKnownSymbol$a("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var n=!1;try{var i={};i[ITERATOR]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},NativePromiseConstructor$1=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration(function(e){NativePromiseConstructor$1.all(e).then(void 0,function(){})}),$$4=_export,call$2=functionCall,aCallable$1=aCallable$8,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$1=perform$3,iterate$1=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration,$$3=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var s=this,t=newPromiseCapabilityModule$2.f(s),l=t.resolve,c=t.reject,n=perform$1(function(){var i=aCallable$1(s.resolve),a=[],r=0,o=1;iterate$1(e,function(e){var t=r++,n=!1;o++,call$2(i,s,e).then(function(e){n||(n=!0,a[t]=e,--o)||l(a)},c)}),--o||l(a)});return n.error&&c(n.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable=isCallable$h,defineBuiltIn=defineBuiltIn$3,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,$$2=($$3({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable(NativePromiseConstructor)&&(method=getBuiltIn$1("Promise").prototype.catch,NativePromisePrototype.catch!==method)&&defineBuiltIn(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$1=functionCall,aCallable=aCallable$8,newPromiseCapabilityModule$1=newPromiseCapability$2,perform=perform$3,iterate=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,$$1=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var n=this,i=newPromiseCapabilityModule$1.f(n),a=i.reject,t=perform(function(){var t=aCallable(n.resolve);iterate(e,function(e){call$1(t,n,e).then(i.resolve,a)})});return t.error&&a(t.value),i.promise}}),_export),call=functionCall,newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject=($$1({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return call(t.reject,void 0,e),t.promise}}),anObject$8),isObject=isObject$7,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject(e),isObject(t)&&t.constructor===e?t:((0,(e=newPromiseCapability.f(e)).resolve)(t),e.promise)},$=_export,getBuiltIn=getBuiltIn$7,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve=promiseResolve$1;function __awaiter(e,o,s,l){return new(s=s||Promise)(function(n,t){function i(e){try{r(l.next(e))}catch(e){t(e)}}function a(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(i,a)}r((l=l.apply(e,o||[])).next())})}getBuiltIn("Promise"),$({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});const registry={[AvailableWidgets.APP_BAR]:App,[AvailableComponents.APP_BAR_PANEL]:SettingPanelComponent,[AvailablePanels.APP_BAR_PANEL_TEMPLATE]:AppbarPanel,[AvailablePanels.TAB_TEMPLATE]:Tab,[AvailablePanels.SIMPLE_PANEL]:Panel},registryLookup=t=>__awaiter(void 0,void 0,void 0,function*(){if(registry[t])return yield registry[t];let e=Promise.resolve(null);switch(t){case AvailableWidgets.SAMPLE_APP_BAR:e=import("./js-core.esm21.js").then(e=>e.SampleAppBar);break;case AvailableWidgets.RESET_PASSWORD:e=import("./js-core.esm23.js").then(e=>e.ResetPassword);break;case AvailableWidgets.FLOW_CENTER:e=import("./js-core.esm30.js").then(e=>e.App);break;case AvailableWidgets.FLOW_WIDGET:e=import("./js-core.esm32.js").then(function(e){return e.i}).then(e=>e.App);break;case AvailableWidgets.ENGINE_CENTER_BROWSE:e=import("./js-core.esm38.js").then(e=>e.EngineCenterBrowse);break;case AvailableWidgets.MACHINE_BOX_BROWSE:e=import("./js-core.esm48.js").then(e=>e.MachineBoxBrowse);break;case AvailableWidgets.DEVELOPER_OVERVIEW:e=import("./js-core.esm41.js").then(e=>e.DeveloperOverview);break;case AvailablePanels.APP_BAR_TAB_PANEL_TEMPLATE:e=Promise.resolve().then(function(){return index_esm$2}).then(e=>e.AppbarTabPanel);break;case AvailableComponents.NOTIFICATION_PANEL:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationPanel);break;case AvailableComponents.NOTIFICATION_DETAIL:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationDetailPanel);break;case AvailableComponents.NOTIFICATION_SETTING:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationSetting);break;case AvailableComponents.NOTIFICATION_UTILITY:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationUtilityPanel);break;case AvailableComponents.NOTIFICATION_APPLICATION:e=Promise.resolve().then(function(){return index_esm$4}).then(e=>e.NotificationApplication);break;case AvailableComponents.HELP_PANEL:e=import("./js-core.esm20.js").then(e=>e.HelpCenterPanel);break;case AvailableComponents.EDIT_PROFILE_PICTURE:e=import("./js-core.esm3.js").then(function(e){return e.n}).then(e=>e.EditProFilePicture);break;case AvailableComponents.TEST_COMPONENT:e=Promise.resolve().then(function(){return index_esm$1}).then(e=>e.SamplePanel1);break;case AvailableComponents.TEST_COMPONENT2:e=Promise.resolve().then(function(){return index_esm$1}).then(e=>e.SamplePanel2);break;case AvailableComponents.TEST_COMPONENT3:e=Promise.resolve().then(function(){return index_esm$1}).then(e=>e.SamplePanel3);break;case AvailableComponents.SETTING_PREFERENCE:e=import("./js-core.esm49.js").then(e=>e.SettingsPreferencesPanel);break;case AvailableComponents.ORGANIZATION_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.OrganizationPanel);break;case AvailableComponents.INVITE_USERS_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.InviteUsersPanel);break;case AvailableComponents.INVITE_REQUESTS_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.InviteRequestsPanel);break;case AvailableComponents.REVIEW_ORG_INVITE_PANEL:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.ReviewRequestPanel);break;case AvailableComponents.ADD_APPLICATIONS:e=Promise.resolve().then(function(){return index_esm$3}).then(e=>e.AddApplicationsPanel);break;case AvailableComponents.DATA_CENTER:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.DataCenterBrowse);break;case AvailableComponents.DATA_CENTER_FOLDERS_AND_FILES:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.FoldersAndFilesPanel);break;case AvailableComponents.DATA_CENTER_FILE_INFO_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.FileInfoPanel);break;case AvailableComponents.DATA_CENTER_EDIT_METADATA_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.EditMetadataPanel);break;case AvailableComponents.DATA_CENTER_IMPORTER:e=import("./js-core.esm60.js").then(e=>e.DataCenterImporter);break;case AvailableComponents.DATA_LABELER:e=import("./js-core.esm62.js").then(e=>e.DataLabelerPanel);break;case AvailableComponents.ADMIN_CENTER_OPEN_ID:e=import("./js-core.esm63.js").then(e=>e.AdminCenterOpenId);break;case AvailableComponents.ADMIN_CENTER:e=import("./js-core.esm65.js").then(e=>e.AdminCenterBrowse);break;case AvailableComponents.DATA_CENTER_PROCESS_AI:e=import("./js-core.esm73.js").then(e=>e.DataCenterProcessAI);break;case AvailableComponents.ENGINE_CENTER_NEW:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.EngineCenterNew);break;case AvailableComponents.ENGINE_CENTER_FILTER:e=import("./js-core.esm38.js").then(e=>e.EngineCenterFilter);break;case AvailableComponents.APP_CENTER_FILTER:e=import("./js-core.esm71.js").then(e=>e.AppCenterFilter);break;case AvailableComponents.ENGINE_CENTER_DETAILS:e=import("./js-core.esm38.js").then(e=>e.EngineDetails);break;case AvailableComponents.ENGINE_CENTER_NEW_BUILD:e=import("./js-core.esm38.js").then(e=>e.CreateNewBuildPanel);break;case AvailableComponents.ENGINE_CENTER_CUSTOM_FIELDS_FORM:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.EngineCenterCustomFieldsForm);break;case AvailableComponents.ENGINE_CENTER_SCHEMAS_FORM_PANEL:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.SchemasFormPanel);break;case AvailableComponents.ENGINE_CENTER_INPUT_TYPE_FLYOUT:e=import("./js-core.esm39.js").then(function(e){return e.h}).then(e=>e.InputTypeFlyout);break;case AvailableComponents.ENGINE_CENTER_EDIT_RELEASE_NOTES:e=import("./js-core.esm38.js").then(e=>e.EditReleaseNotes);break;case AvailableComponents.ENGINE_CENTER_VERSION_HISTORY_PANEL:e=import("./js-core.esm38.js").then(e=>e.VersionHistoryPanel);break;case AvailableComponents.SUPPORTED_FILE_TYPES:e=import("./js-core.esm60.js").then(e=>e.SupportedFileTypes);break;case AvailableComponents.EDIT_FILE_METADATA:e=import("./js-core.esm60.js").then(e=>e.EditFileMetadata);break;case AvailableWidgets.APP_CENTER_BROWSE:e=import("./js-core.esm71.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_NEW:e=import("./js-core.esm74.js").then(e=>e.AppCenterNew);break;case AvailableComponents.APP_CENTER_CONFIG_FIELDS_FORM:e=import("./js-core.esm74.js").then(e=>e.AppCenterConfigFieldsForm);break;case AvailableComponents.APP_CENTER_CONTEXT_MENU_EXTENSIONS:e=import("./js-core.esm74.js").then(e=>e.AppCenterContextMenuExtensionPanel);break;case AvailableComponents.APP_CENTER_APP_ROLES:e=import("./js-core.esm74.js").then(e=>e.AppCenterAppRolesPanel);break;case AvailableComponents.APP_CENTER_EVENTS:e=import("./js-core.esm74.js").then(e=>e.AppCenterEventsPanel);break;case AvailableComponents.APP_CENTER_BROWSE:e=import("./js-core.esm71.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_DETAILS:e=import("./js-core.esm71.js").then(e=>e.AppCenterDetails);break;case AvailableComponents.EVENT_CENTER_SUBSCRIPTIONS:e=import("./js-core.esm74.js").then(e=>e.SubscriptionPanel);break;case AvailableComponents.DATA_CENTER_ENGINE_SELECTION:e=import("./js-core.esm73.js").then(e=>e.DataCenterEngineSelection);break;case AvailableComponents.ADMIN_CENTER_NEW_GROUP_PANEL:e=import("./js-core.esm58.js").then(e=>e.NewGroupPanel);break;case AvailableComponents.PERMISSIONS_PANEL:e=import("./js-core.esm51.js").then(e=>e.PermissionsPanel);break;case AvailableComponents.GROUP_INFO_PANEL:e=import("./js-core.esm51.js").then(e=>e.GroupInfoPanel);break;case AvailableComponents.NEW_PERMISSION_SET_PANEL:e=import("./js-core.esm51.js").then(e=>e.NewPermissionSetPanel);break;case AvailableComponents.PERMISSION_SET_DETAILS_PANEL:e=import("./js-core.esm51.js").then(e=>e.PermissionSetDetailsPanel);break;case AvailableComponents.DATA_CENTER_MDP_IFRAME_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.MediaDetailsPanelIframe);break;case AvailableComponents.DATA_CENTER_INGESTION_CREATION_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.IngestionCreationPanel);break;case AvailableComponents.DATA_CENTER_SELECT_IMPORT_SOURCE:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.SelectImportSource);break;case AvailableComponents.DATA_CENTER_SOURCE_CREATION_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.SourceCreationPanel);break;case AvailableComponents.ADMIN_CENTER_GROUP_DETAILS_PANEL:e=import("./js-core.esm58.js").then(e=>e.GroupDetailsPanel);break;case AvailableComponents.ADMIN_CENTER_ADD_MEMBER_PANEL:e=import("./js-core.esm58.js").then(e=>e.AddMemberPanel);break;case AvailableComponents.APPLICATION_DETAILS_PANEL:e=import("./js-core.esm66.js").then(e=>e.ApplicationDetailsPanel);break;case AvailableComponents.PROCESSING_CENTER_SOURCES:e=import("./js-core.esm75.js").then(e=>e.ProcessingCenterSources);break;case AvailableComponents.PROCESSING_CENTER_ERROR_DETAIL:e=import("./js-core.esm75.js").then(e=>e.ErrorDetailPanel);break;case AvailableComponents.USER_APPLICATION_SETTINGS_PANEL:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.UserApplicationSettingsPanel);break;case AvailableComponents.ADD_APPLICATION_USERS_PANEL:e=import("./js-core.esm66.js").then(e=>e.AddUsersPanel);break;case AvailableComponents.PROCESSING_CENTER:e=import("./js-core.esm77.js").then(e=>e.ProcessingCenterBrowse);break;case AvailableComponents.JOBS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm78.js").then(e=>e.JobsTableSettingsPanel);break;case AvailableComponents.VERSION_PANEL:e=Promise.resolve().then(function(){return index_esm$2}).then(e=>e.VersionPanel);break;case AvailableComponents.CHANGELOG_PANEL:e=Promise.resolve().then(function(){return index_esm$2}).then(e=>e.ChangelogPanel);break;case AvailableComponents.PROCESSING_CENTER_DAG_BUILDER:e=import("./js-core.esm80.js").then(e=>e.DagBuilder);break;case AvailableComponents.PROCESSING_CENTER_INGESTION:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.ProcessingCenterIngestion);break;case AvailableComponents.PROCESSING_CENTER_ADVANCED_SETTINGS:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.ProcessingCenterAdvancedSettings);break;case AvailableComponents.PROCESSING_CENTER_AFFILIATE_PANEL:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.ProcessingCenterAffiliatePanel);break;case AvailableComponents.PROCESSING_CENTER_BULK_PROVISIONING_PANEL:e=import("./js-core.esm81.js").then(function(e){return e.a0}).then(e=>e.BulkProvisioningPanel);break;case AvailableComponents.JOBS_DETAILS_PANEL:e=import("./js-core.esm78.js").then(e=>e.JobsDetailsPanel);break;case AvailableComponents.TASKS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm79.js").then(e=>e.TasksTableSettingsPanel);break;case AvailableComponents.TASK_DETAILS_PANEL:e=import("./js-core.esm79.js").then(e=>e.TaskDetailsPanel);break;case AvailableComponents.RESOURCE_CENTER:e=import("./js-core.esm83.js").then(e=>e.ResourceCenterBrowse);break;case AvailableComponents.PACKAGE_DETAILS_PANEL:e=import("./js-core.esm85.js").then(e=>e.PackageDetails);break;case AvailableComponents.PACKAGE_SETUP_PANEL:e=import("./js-core.esm85.js").then(e=>e.PackageSetupPanel);break;case AvailableComponents.PACKAGE_MANAGER_PANEL:e=import("./js-core.esm86.js").then(function(e){return e.ad}).then(e=>e.PackageManager);break;case AvailableComponents.INSTANCE_ADMIN_CENTER_BROWSE:e=import("./js-core.esm87.js").then(e=>e.InstanceAdminCenterBrowse);break;case AvailableComponents.MANAGE_GRANTS:e=import("./js-core.esm85.js").then(e=>e.ManageGrantsPanel);break;case AvailableComponents.SCHEMA_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.SchemaDetailsPanel);break;case AvailableComponents.FLOW_TEMPLATE_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.TemplateDetailsPanel);break;case AvailableComponents.USER_DETAILS_PANEL:e=import("./js-core.esm67.js").then(e=>e.UserDetailsPanel);break;case AvailableComponents.CREATE_OR_UPDATE_TOKEN_PANEL:e=import("./js-core.esm68.js").then(e=>e.CreateOrUpdateApiTokenPanel);break;case AvailableComponents.FLOW_DETAILS_PANEL:e=import("./js-core.esm32.js").then(function(e){return e.i}).then(e=>e.App);break;case AvailableComponents.NODE_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.NodeDetailsPanel);break;case AvailableComponents.PALETTE_DETAILS_PANEL:e=import("./js-core.esm89.js").then(e=>e.PaletteDetailsPanel);break;case AvailableComponents.CREATE_ORGANIZATION_PANEL:e=import("./js-core.esm90.js").then(e=>e.CreateOrgPanel);break;case AvailableComponents.CREATE_SCHEMA_PANEL:e=import("./js-core.esm89.js").then(e=>e.CreateSchemaPanel);break;case AvailableComponents.MARKETPLACE:e=import("./js-core.esm91.js").then(e=>e.Marketplace);break;case AvailableComponents.MARKETPLACE_CART:e=import("./js-core.esm91.js").then(e=>e.CartPanel);break;case AvailableComponents.MARKETPLACE_ITEM_DETAILS:e=import("./js-core.esm91.js").then(e=>e.ItemDetails);break;case AvailableComponents.DATA_CENTER_DATA_DETAILS_PANEL:e=import("./js-core.esm92.js").then(e=>e.DataCenterDataDetails);break;case AvailableComponents.DATA_CENTER_EXPORT_TDO_PANEL:e=import("./js-core.esm92.js").then(e=>e.DataCenterExportTdo);break;case AvailableComponents.DATA_CENTER_SDO_VIEWER:e=import("./js-core.esm52.js").then(e=>e.StructuredDataViewer);break;case AvailableComponents.DATA_CENTER_DATA_REGISTRY_INFO:e=import("./js-core.esm52.js").then(e=>e.DataRegistryInfo);break;case AvailableComponents.EDIT_DATA_REGISTRY_PANEL:e=import("./js-core.esm52.js").then(e=>e.EditDataRegistryPanel);break;case AvailableComponents.ADMIN_CENTER_APPROVAL_REQUESTS_PANEL:e=import("./js-core.esm69.js").then(e=>e.ApprovalRequestsPanel);break;case AvailableComponents.PACKAGE_SETTINGS_PANEL:e=import("./js-core.esm85.js").then(e=>e.PackageSettingsPanel);break;case AvailableComponents.INSTANCE_ADMIN_CENTER_INSTANCE_LOGIN:e=import("./js-core.esm93.js").then(e=>e.InstanceAdminCenterInstanceLogin);break;case AvailableComponents.ADMIN_CENTER_CUSTOM_LOGIN_PANEL:e=import("./js-core.esm94.js").then(e=>e.CustomLoginPanel);break;case AvailableWidgets.VIEWER_CENTER_BROWSE:e=import("./js-core.esm95.js").then(e=>e.ViewerCenterBrowse);break;case AvailableComponents.VIEWER_CENTER_NEW:e=import("./js-core.esm96.js").then(e=>e.ViewerCenterNew);break;case AvailableComponents.DATA_CENTER_SOURCE_INFO_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.SourceInfoPanel);break;case AvailableComponents.DATA_CENTER_SCHEDULE_INFO_PANEL:e=import("./js-core.esm50.js").then(function(e){return e.b}).then(e=>e.ScheduleInfoPanel)}return yield registry[t]=e}),registerComponent=(e,t)=>{registry[e]=t};var index_esm=Object.freeze({__proto__:null,registerComponent:registerComponent,registry:registry,registryLookup:registryLookup});export{AvatarGroup$1 as A,CardContent$1 as C,EMessageTypes as E,FormattedRelativeTime$1 as F,LinearProgress$1 as L,RadioGroup$1 as R,Switch$1 as S,ListItemIcon$1 as a,CardActions$1 as b,default_1$8 as c,default_1 as d,default_1$6 as e,Radio$1 as f,errors as g,contextMenuStyles as h,getOrganizationPanelModule as i,EApplicationConfigLevel as j,EApplicationConfigType as k,actions$5 as l,Slider$1 as m,navSectionStyles as n,organizations_selector as o,ListItemButton$1 as p,index_esm as q,safeFormatMessage as s,tableStyles as t};
Binary file