aiware-js 1.0.0-master.644 → 1.0.0-master.645
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.esm.js +1 -1
- package/js-core.esm.js.gz +0 -0
- package/js-core.esm49.js +1 -1
- package/js-core.esm49.js.gz +0 -0
- package/js-core.umd.js +151 -151
- package/js-core.umd.js.gz +0 -0
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +1 -1
package/js-core.esm.js
CHANGED
|
@@ -1472,4 +1472,4 @@ createScheduledJob(input:{
|
|
|
1472
1472
|
100% {
|
|
1473
1473
|
opacity: 0;
|
|
1474
1474
|
}
|
|
1475
|
-
`),useStyles$1$1=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",zIndex:99999,animation:fadeInOut+" 5s linear forwards"},loaderBox:{height:"200px",width:"200px"},veritoneDarkLogo:{height:"200px",width:"200px"}})),versionPanelLabels=e=>({changelog:e.formatMessage({id:"version-panel.header.title",defaultMessage:[{type:0,value:"Changelog"}]}),closePanelTooltip:e.formatMessage({id:"version-panel.header.close-btn-tooltip",defaultMessage:[{type:0,value:"Close panel"}]}),versionLabel:e.formatMessage({id:"version-panel.version-title",defaultMessage:[{type:0,value:"Version"}]}),updateRequiredLabel:e.formatMessage({id:"version-panel.update-required",defaultMessage:[{type:0,value:"Update required"}]}),deploymentLabel:e.formatMessage({id:"version-panel.deployment",defaultMessage:[{type:0,value:"Deployment"}]}),currentVersionLabel:e.formatMessage({id:"version-panel.current-version",defaultMessage:[{type:0,value:"Current Version"}]}),previousVersionLabel:e.formatMessage({id:"version-panel.previous-version",defaultMessage:[{type:0,value:"Previous Version"}]})}),useStyles$4=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);"},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%",height:"calc(100% - 32px)",border:"none"}},aiwareLogo:{marginBottom:"10px"},boldTitle:{fontWeight:700}})),Header=()=>{const e=useDispatch();var t=useStyles$4()["classes"],n=useIntl(),{changelog:n,closePanelTooltip:r}=versionPanelLabels(n);return jsxRuntime.exports.jsxs("header",Object.assign({className:t.header,"data-testid":"create-or-update-token-panel.header"},{children:[jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"h1","data-testid":"permissions-panel-header-title",className:t.title},{children:["AIWARE ",n]})),jsxRuntime.exports.jsx("div",Object.assign({className:t.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip$1,Object.assign({title:r},{children:jsxRuntime.exports.jsx(IconButton$1,Object.assign({onClick:()=>e(hidePanel$1(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},VERSION_PANEL="VERSION_PANEL",VersionPanelComponent=({sdk:e,edge:t})=>{var n=useStyles$4()["classes"],r=useIntl(),{versionLabel:r,updateRequiredLabel:i,deploymentLabel:o,previousVersionLabel:a,currentVersionLabel:s}=versionPanelLabels(r);const l=useDispatch(),[c,u]=react.exports.useState(!1);var d=useSelector(selectLoadingStatus),p=useSelector(betaFeaturesSelector),f=(react.exports.useEffect(()=>{var e=gqlIntrospection.getQueries().find(e=>"platformVersionInfo"===e.name);u(!!e),e&&l(actions.versionPanel.fetchVersionInfoStart())},[]),useSelector(selectCurrentVersion)),m=useSelector(selectPreviousVersion),[h,,]=react.exports.useState(!1),r=jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{height:"100%"}},{children:[jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%"}},{children:[jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox},{children:[jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.flexContainer},{children:[jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"h1"},{children:[r," ",null==f?void 0:f.version]})),h?jsxRuntime.exports.jsxs(Typography$1,Object.assign({sx:{ml:"10px"},variant:"caption"},{children:["(",i,")"]})):null]})),jsxRuntime.exports.jsx(Box$1,Object.assign({sx:{mt:"5px"}},{children:jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body2"},{children:[o," - ",dateFormatter((null==f?void 0:f.createdAt)||null)]}))}))]})),f&&jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox,sx:{height:"100%"}},{children:[f&&jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"h1",sx:{mb:"10px"}},{children:s})),jsxRuntime.exports.jsx("iframe",{id:"current-version",src:null==f?void 0:f.highlightsUrl})]}))]})),m&&jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox,sx:{height:"100%"}},{children:[f&&jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"h1",sx:{mb:"10px"}},{children:a})),jsxRuntime.exports.jsx("iframe",{id:"previous-version",src:null==m?void 0:m.highlightsUrl})]}))]}));return p?jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{height:"100%"}},{children:[jsxRuntime.exports.jsx(Header,{}),"pending"===d&&jsxRuntime.exports.jsx(Box$1,Object.assign({sx:{p:"15px",display:"flex",justifyContent:"center"}},{children:jsxRuntime.exports.jsx(CircularProgress$1,{})})),"success"===d&&jsxRuntime.exports.jsx("div",Object.assign({className:n.panelRoot},{children:c?r:null})),"failure"===d&&null]})):jsxRuntime.exports.jsx("div",Object.assign({className:n.panelRoot},{children:jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox},{children:[jsxRuntime.exports.jsx("img",{src:img$1v,className:n.aiwareLogo}),e&&jsxRuntime.exports.jsx(Box$1,Object.assign({className:n.row,"data-testid":"sdk-version"},{children:jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body1",className:n.versionText},{children:[jsxRuntime.exports.jsxs("span",Object.assign({className:n.boldTitle},{children:["SDK"," ",jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.version-panel.version-label",defaultMessage:"Version",description:"Version"})]})),": ",e]}))})),t&&jsxRuntime.exports.jsx(Box$1,Object.assign({className:n.row,"data-testid":"edge-version"},{children:jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body1",className:n.versionText},{children:[jsxRuntime.exports.jsxs("span",Object.assign({className:n.boldTitle},{children:["Edge"," ",jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.version-panel.version-label",defaultMessage:"Version",description:"Version"})]})),": ",t]}))}))]}))}))},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_=({intl:n})=>{const r=useDispatch();var e=useStyles$1$1()["classes"];const[i,o]=react.exports.useState(0),[t,a]=react.exports.useState(!1),[s,l]=react.exports.useState(!1),c=jsxRuntime.exports.jsx("p",Object.assign({style:{pointerEvents:"none"}},{children:"Loading Beta Features"})),[u,d]=react.exports.useState(c),p=useSelector(organizations_selector.selectOrgSwitchInitiated),f=useSelector(e=>{return null==(e=null==(e=null==e?void 0:e.configs)?void 0:e.initConfig)?void 0:e.betaFeatures}),[m,h]=react.exports.useState(!1),[g,v]=react.exports.useState(""),[x,y]=react.exports.useState(""),[b,C]=react.exports.useState(""),[$,S]=react.exports.useState(!1);react.exports.useEffect(()=>{m||(h(!0),(lottieScript=document.createElement("script")).setAttribute("src","https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.8/lottie.min.js"),lottieScript.onload=()=>l(!0),(audio=document.createElement("audio")).id="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)&&"undefined"!==t&&v(t),t=null==(t=window.aiware)?void 0:t.releaseDate,y(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=>{v(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=>C(e))},[]),react.exports.useEffect(()=>{if(f&&!p)return;p&&d(jsxRuntime.exports.jsx("p",{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-organization-panel.organizations-switching-loader-message",defaultMessage:"Changing your Organization",description:"organizations switching loader message"})}));const e=10===i;if((e||p)&&(a(!0),s)){const t=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"});t.onComplete=()=>{e?(r(enableBetaFeatures()),o(0)):p&&d(c),a(!1),t.destroy()},null!==audio&&void 0!==audio&&audio.play()}},[i,f,r,t,p]);return jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[t&&jsxRuntime.exports.jsxs("div",Object.assign({className:e.fullScreen},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.loaderBox,id:"loaderAnimation"},{children:!s&&jsxRuntime.exports.jsx("img",{src:img$4,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"})}))})),u]}))]})),jsxRuntime.exports.jsxs("div",{children:[g?jsxRuntime.exports.jsxs(Typography$1,Object.assign({sx:{color:"#9CA8B4",fontSize:"10px",textAlign:"center",cursor:"pointer",width:"60px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},onClick:()=>{var e,t;$?(S(!1),r(hidePanel$1(VERSION_PANEL))):(S(!0),e={name:VERSION_PANEL,config:{name:"Version Information",sdk:g,sdkRelease:x,edge:b}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",zIndex:1001,dimmed:0,borderBottom:!0,header:{title:n.formatMessage({id:"os-panel.version-information.panel-header",defaultMessage:[{type:0,value:"Version Information"}]})}},r(mountPanel$1({panelId:VERSION_PANEL,microFrontend:e,panelConfig:t})))}},{children:["V. ",g]})):null,jsxRuntime.exports.jsx("img",{onClick:()=>o(i+1),src:img$z,alt:"footer-icon",draggable:"false"})]})]})},Logo=injectIntl(Logo_);function getTabAction(e,t,n,r="APP_BAR_PANEL"){return{type:mountPanel$1({}).type,payload:{panelId:e,microFrontend:{name:r,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$1,{id:"os-panel.tabItems.personalProfile",defaultMessage:"Personal Profile",description:"Tooltip pops on the sidebar for personal profile"}),iconComponent:jsxRuntime.exports.jsx(PersonalProfile$1,{}),role:"",action:getTabAction(TabId.PERSONAL_PANEL,jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.panelTitle.personalProfile",defaultMessage:"Personal Profile",description:"Header title for personal profile"}),410)},{id:TabId.ORGANIZATION_PANEL,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.organizations",defaultMessage:"Organizations",description:"Tooltip pops on the sidebar for organizations"}),iconComponent:jsxRuntime.exports.jsx(Organizations,{}),role:"",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.ORGANIZATION_PANEL,microFrontend:{name:"ORGANIZATION_PANEL"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,width:560,zIndex:1e3}}}},{id:TabId.CMS_SHORTCUT,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1,{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$1({}).type,payload:{panelId:TabId.DATA_CENTER,microFrontend:{name:"DATA_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge",zIndex:1e3}}}},{id:TabId.PROCESSING_CENTER_BROWSE,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.processingCenter",defaultMessage:"Processing Center",description:"Tooltip pops on the sidebar for processing center"}),iconComponent:jsxRuntime.exports.jsx(Process,{}),role:"cms",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.PROCESSING_CENTER_BROWSE,microFrontend:{name:"PROCESSING_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge",zIndex:1e3}}}},{id:TabId.FLOW_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1({}).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$1,{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$1,{id:"os-panel.tabItems.marketplaceCenter",defaultMessage:"Marketplace",description:"Tooltip pops on the sidebar for marketplace center"}),iconComponent:jsxRuntime.exports.jsx(Marketplace$1,{}),role:"cms",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"marketplace"}},{id:TabId.LIBRARY_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1,{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$1({}).type,payload:{panelId:TabId.ADMIN_SHORTCUT,microFrontend:{name:"ADMIN_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge",zIndex:1e3}}}},{id:TabId.INSTANCE_ADMIN_CENTER_BROWSE,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1({}).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",zIndex:1e3}}}},{id:TabId.RESOURCE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.resourceCenter",defaultMessage:"Resource Center",description:"Tooltip pops on the sidebar for resource center"}),iconComponent:jsxRuntime.exports.jsx(Resources$1,{}),role:"",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.RESOURCE_CENTER,microFrontend:{name:"RESOURCE_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge",zIndex:1e3}}}},{id:TabId.PROCESSING_CENTER_DAG_BUILDER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.dagBuilder",defaultMessage:"DAG Builder (Beta)",description:"Tooltip pops on the sidebar for dag builder"}),iconComponent:jsxRuntime.exports.jsx(DagBuilder,{}),role:"cms",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.PROCESSING_CENTER_DAG_BUILDER,microFrontend:{name:"PROCESSING_CENTER_DAG_BUILDER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge",zIndex:1e3}}}}];function AppbarTabPanel({panelId:t,children:e,withTab:r=!0,withChild:n=!0}){const i=useDispatch(),[o,a]=react.exports.useState(),[s,l]=react.exports.useState([]),[c,u]=react.exports.useState(!1);var d=useSelector(e=>e.panels.find(e=>e.panelId===t))||{};const p=useSelector(e=>e.panels);const{microFrontend:f,panelConfig:m}=d,{minWidth:h,padding:g=0,header:v,footer:x,marginTop:y=0,marginStart:b=0,show:C,tabs:$=[],zIndex:S=1e3,userRoles:w=[],panelId:E,size:j,fullScreen:T,width:_,dimmed:I=0,parentPanelId:R,borderBottom:O}=m||{};const A=R?("ORGANIZATION_PANEL"!==R?"":"solid 5px #4D81B7")||("DATA_CENTER"!==R?"":"solid 5px #4D81B7"):"solid 5px #4D81B7",L=makeStyles()(e=>{return{container:{position:"fixed",top:y,right:T?0:b,height:`calc(100vh - ${y}px)`,minWidth:h,width:_||(T?"100%":function(){switch(j){case"xxlarge":return 1280;case"xlarge":return 1020;case"large":return 720;case"medium":return 560;case"small":return 380;default:return 560}}()),borderBottom:O?"solid 5px #4D81B7":A,zIndex:T?1500:S,transitionTimingFunction:"ease-in-out !important"},padding:{padding:e.spacing(g),paddingTop:e.spacing(g/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",overflowX:"hidden",height:(t=v?64:0,n=x?64:0,`calc(100vh - ${y}px - ${t}px - ${n}px - 5px)`)},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:r?"0.5px solid "+e.palette.divider:"none",overflowY:"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",zIndex:1150,width:"100%",height:"100%",backgroundColor:e.palette.grey[50],opacity:.5}};var t,n})()["classes"];react.exports.useEffect(()=>{0<$.length?l([...tabsListDefault,...$]):l(tabsListDefault)},[$]),react.exports.useEffect(()=>{var e;null!==f&&void 0!==f&&f.config&&null!=(e=f.config)&&e.tabId&&a(f.config.tabId)},[f]),react.exports.useEffect(()=>{0<p.length&&o&&r&&(p.find(e=>e.panelId===o)||a(void 0))},[p,o,r]);n=jsxRuntime.exports.jsxs(Paper$1,Object.assign({className:`${L.container} ${n?"":L.noShadow} `,elevation:3,id:t,square:!0,"data-test":"panel-"+(E||"unknown")},{children:[0<I&&jsxRuntime.exports.jsx("div",{className:L.panelMask}),jsxRuntime.exports.jsxs("div",Object.assign({className:L.drawerContainer},{children:[n&&jsxRuntime.exports.jsxs("div",Object.assign({className:L.tabContent},{children:[v&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:L.tabName},{children:[jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"h1",className:L.title},{children:v.title||(null==(d=s.find(e=>e.id===o))?void 0:d.label)})),jsxRuntime.exports.jsxs("div",Object.assign({className:L.actionIcons},{children:[null==(n=v.actions)?void 0:n.map(e=>e.label?jsxRuntime.exports.jsx(Button$1,Object.assign({size:e.size,variant:e.variant,onClick:()=>i(e.action)},{children:e.label}),e.action.type):jsxRuntime.exports.jsxs(IconButton$1,Object.assign({onClick:()=>i(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$1,Object.assign({onClick:()=>i(hidePanel$1(t)),"data-test":"close-button-"+t,size:"large"},{children:jsxRuntime.exports.jsx("img",{src:R?img$S:img$T,alt:"icon",draggable:"false"})}))]}))]})),v.divider&&jsxRuntime.exports.jsx(Divider$1,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:L.content},{children:e?react.exports.cloneElement(e,Object.assign(Object.assign({},(null===f||void 0===f?void 0:f.config)||{}),{dataId:t,hidePanel:()=>i(hidePanel$1(t)),tabId:o,panelRendered:c})):jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"No micro frontend passed!"})})})),x&&jsxRuntime.exports.jsxs("div",Object.assign({className:L.footer},{children:[x.divider&&jsxRuntime.exports.jsx(Divider$1,{}),jsxRuntime.exports.jsx("div",Object.assign({className:L.headerContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:L.actionContainer},{children:null==(d=x.actions)?void 0:d.map(e=>{var t;if(e.iconUrl)return jsxRuntime.exports.jsxs(IconButton$1,Object.assign({className:L.actionButton,onClick:(t=e.action,()=>{i(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$1,Object.assign({className:L.actionButton,size:n.size,variant:n.variant,onClick:()=>i(n.action)},{children:n.label}),e.action.type)})}))}))]}))]})),r&&jsxRuntime.exports.jsxs("div",Object.assign({id:"tabs-content",className:L.tabSelect},{children:[jsxRuntime.exports.jsx(Tabs,{selectedId:o,tabsList:s,onChangeTab:function(t){0<=p.map(e=>e.panelId).indexOf(VERSION_PANEL)&&i(hidePanel$1(VERSION_PANEL)),o&&i(hidePanel$1(o)),a(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&&i(n.action)},roles:w}),(null===x||void 0===x?void 0:x.logo)&&jsxRuntime.exports.jsx("div",Object.assign({className:L.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$1,Object.assign({"data-id":"123456",in:C,direction:"left",onEntered:()=>u(!0),onExited:()=>i(unmountPanel$1(t))},{children:n}))}))})})}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}));var index_esm$2=Object.freeze({__proto__:null,AppbarPanel:AppbarPanel,AppbarTabPanel:AppbarTabPanel,TabPanel:Tab,VersionPanel:VersionPanel});const Panel=({panelId:t,children:e})=>{var n;const r=useDispatch(),{microFrontend:i,panelConfig:{minWidth:o,padding:a=0,header:s,footer:l,marginTop:c=0,marginStart:u=0,show:d,width:p=500,zIndex:f=1}}=useSelector(e=>e.panels.find(e=>e.panelId===t)),m=makeStyles()(e=>({container:{position:"fixed",top:c,right:u,height:"100%",minWidth:o,width:p,zIndex:f},padding:{padding:e.spacing(a),paddingTop:e.spacing(a/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"],h=e=>{var t;return e.icon?jsxRuntime.exports.jsx(IconButton$1,Object.assign({className:m.actionButton,onClick:()=>r(e.action),size:"large"},{children:e.icon})):(t=e,jsxRuntime.exports.jsx(Button$1,Object.assign({className:m.actionButton,size:t.size,variant:t.variant,onClick:()=>r(e.action)},{children:t.label})))};return jsxRuntime.exports.jsx(Slide$1,Object.assign({in:d,direction:"left",onExited:()=>r(unmountPanel$1(t))},{children:jsxRuntime.exports.jsxs(Paper$1,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$1,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=>h(e)),jsxRuntime.exports.jsx(IconButton$1,Object.assign({"data-test":"close-button-"+t,className:m.actionButton,onClick:()=>r(hidePanel$1(t)),size:"large"},{children:jsxRuntime.exports.jsx(default_1$6,{})}))]}))]})),s.divider&&jsxRuntime.exports.jsx(Divider$1,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:m.padding},{children:e?react.exports.cloneElement(e,Object.assign(Object.assign({},i.config||{}),{dataId:t,hidePanel:()=>r(hidePanel$1(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$1,{}),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=>h(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 r=useDispatch();return jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx("h1",{children:"Welcome to picker!"}),jsxRuntime.exports.jsx(Typography$1,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)=>{r(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})}))},onChangeCommitted:(e,t)=>{r(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})})),r(setData({id:n.dataId,data:t}))}})]})},SamplePanel2=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel2!"})}),useStyles$3=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$3()["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$1,Object.assign({className:t.root},{children:[jsxRuntime.exports.jsxs(CardContent$1,{children:[jsxRuntime.exports.jsx(Typography$1,Object.assign({className:t.title,color:"textSecondary",gutterBottom:!0},{children:"Word of the Day"})),jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"h5",component:"h2"},{children:["be",n,"nev",n,"o",n,"lent"]})),jsxRuntime.exports.jsx(Typography$1,Object.assign({className:t.pos,color:"textSecondary"},{children:"adjective"})),jsxRuntime.exports.jsxs(Typography$1,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$1,Object.assign({size:"small"},{children:"Learn More"}))})]}))]}))};var WidgetsStatus,index_esm$1=Object.freeze({__proto__:null,Panel:Panel,SamplePanel1:SamplePanel1,SamplePanel2:SamplePanel2,SamplePanel3:SamplePanel3,SamplePanel4:SamplePanel4,SamplePanel5:SamplePanel5});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$c(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.esm2.js").then(e=>e.SampleAppBar);break;case AvailableWidgets.RESET_PASSWORD:e=import("./js-core.esm4.js").then(e=>e.ResetPassword);break;case AvailableWidgets.FLOW_CENTER:e=import("./js-core.esm7.js").then(e=>e.App);break;case AvailableWidgets.FLOW_WIDGET:e=import("./js-core.esm8.js").then(function(e){return e.i}).then(e=>e.App);break;case AvailableWidgets.ENGINE_CENTER_BROWSE:e=import("./js-core.esm18.js").then(e=>e.EngineCenterBrowse);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$5}).then(e=>e.NotificationPanel);break;case AvailableComponents.NOTIFICATION_DETAIL:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationDetailPanel);break;case AvailableComponents.NOTIFICATION_SETTING:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationSetting);break;case AvailableComponents.NOTIFICATION_UTILITY:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationUtilityPanel);break;case AvailableComponents.NOTIFICATION_APPLICATION:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationApplication);break;case AvailableComponents.HELP_PANEL:e=Promise.resolve().then(function(){return index_esm}).then(e=>e.HelpCenterPanel);break;case AvailableComponents.EDIT_PROFILE_PICTURE:e=Promise.resolve().then(function(){return index_esm$4}).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.esm37.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_BROWSE:e=import("./js-core.esm38.js").then(e=>e.DataCenterBrowse);break;case AvailableComponents.DATA_CENTER_FOLDERS_AND_FILES:e=import("./js-core.esm38.js").then(e=>e.FoldersAndFilesPanel);break;case AvailableComponents.DATA_CENTER_FILE_INFO_PANEL:e=import("./js-core.esm38.js").then(e=>e.FileInfoPanel);break;case AvailableComponents.DATA_CENTER_IMPORTER:e=import("./js-core.esm45.js").then(e=>e.DataCenterImporter);break;case AvailableComponents.DATA_LABELER:e=import("./js-core.esm46.js").then(e=>e.DataLabelerPanel);break;case AvailableComponents.ADMIN_CENTER_OPEN_ID:e=import("./js-core.esm47.js").then(e=>e.AdminCenterOpenId);break;case AvailableComponents.ADMIN_CENTER_BROWSE:e=import("./js-core.esm48.js").then(e=>e.AdminCenterBrowse);break;case AvailableComponents.DATA_CENTER_PROCESS_AI:e=import("./js-core.esm54.js").then(e=>e.DataCenterProcessAI);break;case AvailableComponents.ENGINE_CENTER_NEW:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.EngineCenterNew);break;case AvailableComponents.ENGINE_CENTER_FILTER:e=import("./js-core.esm18.js").then(e=>e.EngineCenterFilter);break;case AvailableComponents.APP_CENTER_FILTER:e=import("./js-core.esm55.js").then(e=>e.AppCenterFilter);break;case AvailableComponents.ENGINE_CENTER_DETAILS:e=import("./js-core.esm18.js").then(e=>e.EngineDetails);break;case AvailableComponents.ENGINE_CENTER_NEW_BUILD:e=import("./js-core.esm18.js").then(e=>e.CreateNewBuildPanel);break;case AvailableComponents.ENGINE_CENTER_CUSTOM_FIELDS_FORM:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.EngineCenterCustomFieldsForm);break;case AvailableComponents.ENGINE_CENTER_SCHEMAS_FORM_PANEL:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.SchemasFormPanel);break;case AvailableComponents.ENGINE_CENTER_INPUT_TYPE_FLYOUT:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.InputTypeFlyout);break;case AvailableComponents.ENGINE_CENTER_EDIT_RELEASE_NOTES:e=import("./js-core.esm18.js").then(e=>e.EditReleaseNotes);break;case AvailableComponents.ENGINE_CENTER_VERSION_HISTORY_PANEL:e=import("./js-core.esm18.js").then(e=>e.VersionHistoryPanel);break;case AvailableComponents.SUPPORTED_FILE_TYPES:e=import("./js-core.esm45.js").then(e=>e.SupportedFileTypes);break;case AvailableComponents.EDIT_FILE_METADATA:e=import("./js-core.esm45.js").then(e=>e.EditFileMetadata);break;case AvailableWidgets.APP_CENTER_BROWSE:e=import("./js-core.esm55.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_NEW:e=import("./js-core.esm56.js").then(e=>e.AppCenterNew);break;case AvailableComponents.APP_CENTER_ADD_FLOW_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterAddFlowPanel);break;case AvailableComponents.APP_CENTER_ADD_SCHEMA_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterAddSchemaPanel);break;case AvailableComponents.APP_CENTER_CONFIG_FIELDS_FORM:e=import("./js-core.esm56.js").then(e=>e.AppCenterConfigFieldsForm);break;case AvailableComponents.APP_CENTER_CONTEXT_MENU_EXTENSIONS:e=import("./js-core.esm56.js").then(e=>e.AppCenterContextMenuExtensionPanel);break;case AvailableComponents.APP_CENTER_EVENT_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterEventPanel);break;case AvailableComponents.APP_CENTER_AUTOMATE_PALETTE_INTEGRATION_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterPaletteIntegrationPanel);break;case AvailableComponents.APP_CENTER_BROWSE:e=import("./js-core.esm55.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_DETAILS:e=import("./js-core.esm55.js").then(e=>e.AppCenterDetails);break;case AvailableComponents.DATA_CENTER_ENGINE_SELECTION:e=import("./js-core.esm54.js").then(e=>e.DataCenterEngineSelection);break;case AvailableComponents.ADMIN_CENTER_NEW_GROUP_PANEL:e=import("./js-core.esm44.js").then(e=>e.NewGroupPanel);break;case AvailableComponents.PERMISSIONS_PANEL:e=import("./js-core.esm40.js").then(e=>e.PermissionsPanel);break;case AvailableComponents.GROUP_INFO_PANEL:e=import("./js-core.esm40.js").then(e=>e.GroupInfoPanel);break;case AvailableComponents.NEW_PERMISSION_SET_PANEL:e=import("./js-core.esm40.js").then(e=>e.NewPermissionSetPanel);break;case AvailableComponents.PERMISSION_SET_DETAILS_PANEL:e=import("./js-core.esm40.js").then(e=>e.PermissionSetDetailsPanel);break;case AvailableComponents.DATA_CENTER_MDP_IFRAME_PANEL:e=import("./js-core.esm38.js").then(e=>e.MediaDetailsPanelIframe);break;case AvailableComponents.DATA_CENTER_INGESTION_CREATION_PANEL:e=import("./js-core.esm38.js").then(e=>e.IngestionCreationPanel);break;case AvailableComponents.DATA_CENTER_SELECT_IMPORT_SOURCE:e=import("./js-core.esm38.js").then(e=>e.SelectImportSource);break;case AvailableComponents.DATA_CENTER_SOURCE_CREATION_PANEL:e=import("./js-core.esm38.js").then(e=>e.SourceCreationPanel);break;case AvailableComponents.ADMIN_CENTER_GROUP_DETAILS_PANEL:e=import("./js-core.esm44.js").then(e=>e.GroupDetailsPanel);break;case AvailableComponents.ADMIN_CENTER_ADD_MEMBER_PANEL:e=import("./js-core.esm44.js").then(e=>e.AddMemberPanel);break;case AvailableComponents.APPLICATION_DETAILS_PANEL:e=import("./js-core.esm49.js").then(e=>e.ApplicationDetailsPanel);break;case AvailableComponents.PROCESSING_CENTER_SOURCES:e=import("./js-core.esm57.js").then(e=>e.ProcessingCenterSources);break;case AvailableComponents.PROCESSING_CENTER_ERROR_DETAIL:e=import("./js-core.esm57.js").then(e=>e.ErrorDetailPanel);break;case AvailableComponents.USER_APPLICATION_SETTINGS_PANEL:e=Promise.resolve().then(function(){return index_esm$6}).then(e=>e.UserApplicationSettingsPanel);break;case AvailableComponents.ADD_APPLICATION_USERS_PANEL:e=import("./js-core.esm49.js").then(e=>e.AddUsersPanel);break;case AvailableComponents.PROCESSING_CENTER_BROWSE:e=import("./js-core.esm60.js").then(e=>e.ProcessingCenterBrowse);break;case AvailableComponents.JOBS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm61.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.PROCESSING_CENTER_DAG_BUILDER:e=import("./js-core.esm63.js").then(e=>e.DagBuilder);break;case AvailableComponents.PROCESSING_CENTER_INGESTION:e=import("./js-core.esm64.js").then(function(e){return e.at}).then(e=>e.ProcessingCenterIngestion);break;case AvailableComponents.PROCESSING_CENTER_ADVANCED_SETTINGS:e=import("./js-core.esm64.js").then(function(e){return e.at}).then(e=>e.ProcessingCenterAdvancedSettings);break;case AvailableComponents.PROCESSING_CENTER_AFFILIATE_PANEL:e=import("./js-core.esm64.js").then(function(e){return e.at}).then(e=>e.ProcessingCenterAffiliatePanel);break;case AvailableComponents.JOBS_DETAILS_PANEL:e=import("./js-core.esm61.js").then(e=>e.JobsDetailsPanel);break;case AvailableComponents.TASKS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm62.js").then(e=>e.TasksTableSettingsPanel);break;case AvailableComponents.RESOURCE_CENTER_BROWSE:e=import("./js-core.esm66.js").then(e=>e.ResourceCenterBrowse);break;case AvailableComponents.PACKAGE_DETAILS_PANEL:e=import("./js-core.esm70.js").then(e=>e.PackageDetails);break;case AvailableComponents.PACKAGE_MANAGER_PANEL:e=import("./js-core.esm71.js").then(function(e){return e.a6}).then(e=>e.PackageManager);break;case AvailableComponents.INSTANCE_ADMIN_CENTER_BROWSE:e=import("./js-core.esm72.js").then(e=>e.InstanceAdminCenterBrowse);break;case AvailableComponents.MANAGE_GRANTS:e=import("./js-core.esm70.js").then(e=>e.ManageGrantsPanel);break;case AvailableComponents.SCHEMA_DETAILS_PANEL:e=import("./js-core.esm73.js").then(e=>e.SchemaDetailsPanel);break;case AvailableComponents.USER_DETAILS_PANEL:e=import("./js-core.esm50.js").then(e=>e.UserDetailsPanel);break;case AvailableComponents.CREATE_OR_UPDATE_TOKEN_PANEL:e=import("./js-core.esm51.js").then(e=>e.CreateOrUpdateApiTokenPanel)}return yield registry[t]=e}),registerComponent=(e,t)=>{registry[e]=t},WIDGETS_FEATURE_KEY="widgets",initialState$1=(!function(e){e.idle="idle",e.mounting="mounting",e.unmounting="unmounting",e.error="error",e.eventing="eventing"}(WidgetsStatus=WidgetsStatus||{}),{value:[],status:WidgetsStatus.idle}),widgetsSelector=e=>e[name].value,callWidgetOnComplete=(e,t)=>{e=e.find(e=>e.widgetName===t);null!=e&&e.onComplete&&e.onComplete()},{name,reducer,actions:{mountWidget:mountWidget$1,mountWidgetSuccess,mountWidgetError,unmountWidget:unmountWidget$1,unmountWidgetSuccess,unmountWidgetFailure,triggerWidgetCallback,triggerWidgetCallbackSuccess}}=createSlice({name:WIDGETS_FEATURE_KEY,initialState:initialState$1,reducers:{mountWidget:(e,t)=>{e.value.push(t.payload),e.status=WidgetsStatus.mounting},mountWidgetSuccess:e=>{e.status=WidgetsStatus.idle},mountWidgetError:e=>{e.status=WidgetsStatus.error},triggerWidgetCallback:(e,t)=>{e.status=WidgetsStatus.eventing},triggerWidgetCallbackSuccess:e=>{e.status=WidgetsStatus.idle},unmountWidget:(e,t)=>{e.status=WidgetsStatus.unmounting},unmountWidgetSuccess:(e,t)=>{e.value=e.value.filter(e=>e.widgetId!==t.payload),e.status=WidgetsStatus.idle},unmountWidgetFailure:e=>{e.status=WidgetsStatus.error}}});function*mountWidgetListenerSaga(){let a;const s={};yield takeEvery$1(mountWidget$1({}).type,function*(e){try{var{widgetConfig:t={},widgetName:n,elementId:r}=null==e?void 0:e.payload,i=(yield call$f(registryLookup,n))||(()=>jsxRuntime.exports.jsx("div",{children:"Component Not Found."})),o=getElement(r,n);o.classList.add("aiware-el"),s[r]?a=s[r]:(a=client$1.createRoot(o),s[r]=a),a.render(jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider$1,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(i,Object.assign({},t))}))})})),yield put(mountWidgetSuccess())}catch(e){yield put(mountWidgetError())}}),yield takeEvery$1(e=>/\/booted$/.test(e.type),function*(e){var[e]=e.type.split("/");yield put(triggerWidgetCallback(e))}),yield takeEvery$1(unmountWidget$1("").type,function*(t){try{const e=yield select(e=>{return(null==(e=widgetsSelector(e).find(e=>e.widgetId===t.payload))?void 0:e.elementId)||""});setTimeout(()=>{s[e]&&s[e].unmount(),delete s[e]}),yield put(unmountWidgetSuccess(t.payload))}catch(e){yield put(unmountWidgetFailure())}}),yield takeEvery$1(triggerWidgetCallback("").type,function*(e){var t=yield select(widgetsSelector);callWidgetOnComplete(t,e.payload),yield put(triggerWidgetCallbackSuccess())})}function getWidgetsModule(){return{id:name,reducerMap:{[name]:reducer},sagas:[mountWidgetListenerSaga],initialActions:[]}}function getDataModule(){return{id:"data",reducerMap:{data:(e,{type:t,payload:n})=>{return t===setData({}).type?[...e.filter(e=>e.id!==n.id),n]:e||[]}},sagas:[],initialActions:[]}}const useStyles$2=makeStyles()(e=>({sdkSnackbarContainer:{"& svg":{fill:"white"}}}));function CustomSnackbar(){const n=useDispatch(),[e,t]=react.exports.useState([]),[r,i]=react.exports.useState(!1),[o,a]=react.exports.useState(void 0),{message:s,duration:l}=useSelector(snackbarSelector);var c=useStyles$2()["classes"],u=(react.exports.useEffect(()=>{null!==s&&void 0!==s&&s.content&&t(e=>[...e,s])},[s]),react.exports.useEffect(()=>{e.length&&!o?(a(Object.assign({},e[0])),t(e=>e.slice(1)),i(!0)):e.length&&o&&r&&(n(clearMessage()),i(!1))},[e,o,r,n]),(e,t)=>{"clickaway"!==t&&(i(!1),n(clearMessage()))});return jsxRuntime.exports.jsx(Snackbar$1,Object.assign({anchorOrigin:{vertical:"bottom",horizontal:"right"},open:r,autoHideDuration:l||3e3,onClose:u,TransitionProps:{onExited:()=>{a(void 0),n(clearMessage())}},className:c.sdkSnackbarContainer,"data-snackbarid":(null===o||void 0===o?void 0:o.key)||"na","data-testid":"snackbar.message."+((null===o||void 0===o?void 0:o.severity)||"na")},{children:jsxRuntime.exports.jsx(Alert$1,Object.assign({onClose:u,severity:null===o||void 0===o?void 0:o.severity,elevation:6,variant:"filled"},{children:null===o||void 0===o?void 0:o.content}))}),o?o.key:void 0)}function validateConfig(e){return e.applicationId||console.info("@aiware/js: applicationId is required. Go to developer app to find your application id."),e.baseUrl||console.info("@aiware/js: baseUrl is required. It defaults to the US Commercial environment which is https://api.us-1.veritone.com/v3/graphql"),!0}const ID="openSupportChatButton",DATA_ATTR="open-support-chat-button";var SupportCenterPixel=()=>jsxRuntime.exports.jsx(Portal$1,{children:jsxRuntime.exports.jsx("div",{id:ID,"data-veritone-element":DATA_ATTR,style:{width:1,height:1,position:"fixed",right:55,bottom:20}})});const nameSpace="@helpPanel",updateSelectedTab=createAction(nameSpace+"/UPDATE_SELECTED_TAB",function(e,t){return{payload:{selectedTabId:e,tabLink:t}}}),setCustomKnowledgeBaseUrl=createAction(nameSpace+"/SET_CUSTOM_KNOWLEDGE_BASE_URL",function(e){return{payload:{url:e}}}),setCustomDocsUrl=createAction(nameSpace+"/SET_CUSTOM_DOCS_URL",function(e){return{payload:{url:e}}}),initialState={selectedTabId:0,tabLink:"https://support.veritone.com/",customKnowledgeBaseUrl:"",customDocsUrl:""},getTabLinkReducer=createReducer(initialState,e=>{e.addCase(updateSelectedTab,(e,t)=>Object.assign(Object.assign({},e),{tabLink:t.payload.tabLink,selectedTabId:t.payload.selectedTabId})),e.addCase(setCustomKnowledgeBaseUrl,(e,t)=>Object.assign(Object.assign({},e),{customKnowledgeBaseUrl:t.payload.url})),e.addCase(setCustomDocsUrl,(e,t)=>Object.assign(Object.assign({},e),{customDocsUrl:t.payload.url}))});function*helpSaga(){yield takeEvery$1("OPEN_HELP_LINK",function*(){var e=yield select(e=>e.helpPanel.tabLink);yield put(openLinkOnNewTab({url:e}))})}const namespace="helpPanel",helpCenterSelectedTabIdSelector=e=>null!=e&&e[namespace]?e[namespace].selectedTabId:0,customDocsUrlSelector=e=>null!=e&&e[namespace]?e[namespace].customDocsUrl:"",customKnowledgeBaseUrlSelector=e=>null!=e&&e[namespace]?e[namespace].customKnowledgeBaseUrl:"";function getHelpPanelModule(){return{id:"help",reducerMap:{[namespace]:getTabLinkReducer},sagas:[helpSaga],initialActions:[]}}var knowledgeBaseUrl$1="https://docs.veritone.com/help/index.html",documentUrl$1="https://docs.veritone.com",config={knowledgeBaseUrl:knowledgeBaseUrl$1,documentUrl:documentUrl$1};const useStyles$1=makeStyles()(e=>({root:{height:"calc(100% - 110px)",textAlign:"left","& .Sdk-MuiTab-root.Mui-selected":{color:e.palette.text.primary,fontWeight:600}},tabs:{padding:e.spacing(2.4,6,0,6)},tabPanels:{width:"100%",height:"100%"},aiWareIcon:{position:"relative",maxHeight:50,opacity:"inherit",padding:e.spacing(4,3.2,0,3.2),display:"flex",justifyContent:"flex-end"},customTabs:{margin:e.spacing(0,4)},kbRoot:{height:"100%",textAlign:"left"},loadingContainer:{position:"absolute",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"white"},kbToolBarBox:{padding:e.spacing(6,6,1.6,6)},kbTabContent:{height:"calc(100% - 92px)"},kbTabPanel:{padding:e.spacing(6)},dRoot:{height:"100%",width:"100%"},dNavBar:{height:"100%",overflow:"hidden",background:"#F4F4F4"},dTitle:{color:"#2A323C",fontWeight:600,fontSize:"18px",lineHeight:"24px",padding:e.spacing(3.2)},dContent:{height:"100%",width:"100%",position:"relative"},dMenu:{overflowY:"auto",height:"calc(100% - 52px)"},drawerContainer:{display:"flex",height:"100%",background:e.palette.background.default},tabContainer:{borderRight:"0.5px solid #D5DFE9",overflow:"hidden",height:"100%",width:"100%"},tabName:{borderBottom:"0.5px solid #D5DFE9",display:"flex",justifyContent:"space-between",alignItems:"center",height:"64px",padding:e.spacing(0,6)},actionIcons:{margin:e.spacing(-2.4)},tabContent:{height:"calc(100vh - 57px - 60px)",overflowY:"auto",overflowX:"hidden"}})),documentUrl=config.documentUrl,Documentation=({path:e=documentUrl})=>{var t=useStyles$1()["classes"];const[n,r]=react.exports.useState(!0);return jsxRuntime.exports.jsxs("div",Object.assign({className:classNames(t.dRoot,"hide-in-percy")},{children:[n&&jsxRuntime.exports.jsx("div",Object.assign({className:t.loadingContainer},{children:jsxRuntime.exports.jsx(CircularProgress$1,{})})),jsxRuntime.exports.jsx("iframe",{"data-cy":"docs-iframe",title:"Document Iframe",style:{width:"100%",height:"100%"},src:e,frameBorder:"0",onLoad:function(){setTimeout(()=>{r(!1)},1e3)}})]}))},knowledgeBaseUrl=config["knowledgeBaseUrl"];function Knowledgebase({path:e=knowledgeBaseUrl}){var t=useStyles$1()["classes"];const[n,r]=react.exports.useState(!0);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.kbRoot},{children:[n&&jsxRuntime.exports.jsx("div",Object.assign({className:t.loadingContainer},{children:jsxRuntime.exports.jsx(CircularProgress$1,{})})),jsxRuntime.exports.jsx("iframe",{"data-cy":"knowledgebase-iframe",title:"Knowledgebase Iframe",style:{width:"100%",height:"100%"},src:e,frameBorder:"0",onLoad:function(){r(!1)}})]}))}const defaultLocale="en-us",tabsList=[{label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-help-panel.au1+VZ",defaultMessage:"Knowledgebase",description:"Help Panel: Knowledgebase tab label"}),disabled:!1,url:"https://support.veritone.com/"},{label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-help-panel.8bnkm8",defaultMessage:"Documentation",description:"Help Panel: Documentation tab label"}),disabled:!1,url:"https://docs.veritone.com/#/aiware/"}];function HelpCenter(){var e=useSelector(initialConfigSelector),t=useSelector(customKnowledgeBaseUrlSelector),n=useSelector(customDocsUrlSelector),r=useSelector(helpCenterSelectedTabIdSelector),i=useSelector(e=>null==e?void 0:e.panels),o=useStyles$1()["classes"],[a]=react.exports.useState(defaultLocale);const s=useDispatch();i=null==i?void 0:i.find(e=>"CUSTOM_HELP_PANEL_ID"===e.panelId),t=i&&t?t:e.knowledgeBaseURL,i=i&&n?n:e.docsURL;return jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getHelpPanelModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,Object.assign({locale:a},{children:jsxRuntime.exports.jsx("div",Object.assign({className:o.drawerContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({id:"setting-content",className:o.tabContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:o.tabContent},{children:jsxRuntime.exports.jsx("div",Object.assign({className:o.root},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.tabPanels},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:o.customTabs},{children:jsxRuntime.exports.jsx(CustomTabs,{selectedId:r,onChangeTab:e=>{s(updateSelectedTab(e,tabsList[e].url))},tabsList:tabsList})})),jsxRuntime.exports.jsxs(Box$1,Object.assign({className:o.tabPanels},{children:[jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:0},{children:jsxRuntime.exports.jsx(Knowledgebase,{path:t})})),jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:1},{children:jsxRuntime.exports.jsx(Documentation,{path:i})}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:o.aiWareIcon},{children:jsxRuntime.exports.jsx("img",{src:img$z,alt:"icon",draggable:"false"})}))]}))}))}))}))}))}))}))}var index_esm=Object.freeze({__proto__:null,HelpCenterPanel:HelpCenter,customDocsUrlSelector:customDocsUrlSelector,customKnowledgeBaseUrlSelector:customKnowledgeBaseUrlSelector,helpCenterSelectedTabIdSelector:helpCenterSelectedTabIdSelector,setCustomDocsUrl:setCustomDocsUrl,setCustomKnowledgeBaseUrl:setCustomKnowledgeBaseUrl,updateSelectedTab:updateSelectedTab});const useStyles=makeStyles()(()=>({dialog:{top:"125px",overflowX:"hidden",overflowY:"hidden",display:"flex",alignItems:"center",flexDirection:"column"},container:{borderRadius:"4px",backgroundColor:"#fff",width:"430px",overflow:"hidden",outline:0,boxShadow:"0px 0px 7px rgba(0, 0, 0, .25)"},header:{textTransform:"capitalize"},appListContainer:{width:"100%"},orgName:{fontWeight:"bold"}})),ApplicationDialog=()=>{const[e,t]=react.exports.useState(null),[n,r]=react.exports.useState(0);var i=useSelector(userSelector$2),o=useStyles()["classes"];const a=useSelector(initialConfigSelector),s=a.applicationId,l=useSelector(applicationSelector),c=useSelector(switchApiSelector);var u=(null===l||void 0===l?void 0:l.application)||[],d=null===l||void 0===l?void 0:l.status;var p=[...u].sort(function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}),f=u.findIndex(e=>e.id===s);useInterval(()=>{t(e=>e&&e-1)},e&&n<3?1e3:null),react.exports.useEffect(()=>{"success"!==(null===l||void 0===l?void 0:l.status)||1!==(null===l||void 0===l?void 0:l.application.length)||(null===l||void 0===l?void 0:l.application[0].id)===a.applicationId||e||(0===e?window.open(c+"/"+(null===l||void 0===l?void 0:l.application[0].id),"_self"):t(10))},[a,l,c,e]);return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(s)&&f<0&&"success"===d?jsxRuntime.exports.jsx(Modal$1,Object.assign({className:o.dialog,open:!0},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.container},{children:[jsxRuntime.exports.jsx(Typography$1,Object.assign({"data-test":"application-dialog-title",className:o.header,variant:"h1",sx:{px:"30px",pt:"30px"}},{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-title",defaultMessage:"Application Not Available",description:"Title for modal"})})),jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body2",sx:{px:"30px",pt:"10px"}},{children:[jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-message1",defaultMessage:"Looks like you switched organizations, your current application is not available in the current",description:"Description current application not available"})," ",jsxRuntime.exports.jsx("span",Object.assign({className:o.orgName},{children:null!=(f=null==i?void 0:i.organization)&&f.organizationName?i.organization.organizationName:""}))," ",jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-message2",defaultMessage:"organization you are viewing.",description:"Description current application not available"})]})),jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"body2",sx:{px:"30px",pt:"20px"}},{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-message3",defaultMessage:"Please select from the available applications below to be redirected.",description:"Instructions for current application not available"})})),e&&jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"body2",sx:{px:"30px",pt:"20px"},onClick:()=>{r(e=>e+1)}},{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-countdown-message",defaultMessage:"You will be automatically forwarded to {appName} in {timeRemaining} seconds.",description:"Instructions for current application not available",values:{timeRemaining:e,appName:u[0].name}})})),jsxRuntime.exports.jsx("div",Object.assign({className:o.appListContainer},{children:jsxRuntime.exports.jsx(AppList,{title:"",selectedAppId:null,onSelectApplication:e=>{window.open(c+"/"+e,"_self")},applications:p,useGrid:!1,row:3})}))]}))})):null};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,checkAndDecodeBase64String=t=>{if(null==t||!t.trim())return t;try{return window.btoa(window.atob(t))==t?window.atob(t):t}catch(e){return t}};function SnackbarRenderer(){return jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getSnackbarModule()]},{children:jsxRuntime.exports.jsx(CustomSnackbar,{})}))}))}store$4.addModules([getWidgetsModule(),getPanelsModule(registry,registryLookup),getDataModule(),getConfigModule(),getAuthModule()]);let hasLoaded=!1;const AppBarPreLoader=()=>{var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&!hasLoaded&&(hasLoaded=!0,setTimeout(()=>{store$4.addModules([getAppbarPanelModule()])},0)),null};function ApplicationDialogPreLoader(){var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&hasLoaded?jsxRuntime.exports.jsx(ApplicationDialog,{}):null}const authHelpers={updateToken(e){e?store$4.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{store$4.dispatch(logout())},1e3)):store$4.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&store$4.dispatch(updateActivityStatus$1())}};function PortalRenderer(){return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(SupportCenterPixel,{}),jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AppBarPreLoader,{})}))]})}function ApplicationDialogRenderer(){return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(ApplicationDialogPreLoader,{})})}))})}const ThemeInitializer=()=>(useTheme(),null),root=getElement("aiWARE"),reactDOMroot=(root.classList.add("aiware-el"),client$1.createRoot(root)),mountWidget=("_auth"===window.name?handleImplicitRedirect(window.location.hash,window.opener):reactDOMroot.render(jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsxs(AIWareThemeProvider$1,{children:[jsxRuntime.exports.jsx(PortalRenderer,{}),jsxRuntime.exports.jsx(SnackbarRenderer,{}),jsxRuntime.exports.jsx(ApplicationDialogRenderer,{}),jsxRuntime.exports.jsx(ThemeInitializer,{})]})})),(e,t)=>{var n=getUniqueID(),{name:e,elementId:r,config:i}=e;return e&&r&&i||console.error("[aiwarejs-error]: `mountWidget` function should include all the following params: name, elementId, config"),store$4.dispatch(mountWidget$1({elementId:r,widgetName:e,widgetConfig:i,widgetId:n,onComplete:t})),n}),unmountWidget=e=>(store$4.dispatch(unmountWidget$1(e)),!0),mountPanel=(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:r}=e;store$4.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:r}));const i=[...(null==(e=null==r?void 0:r.header)?void 0:e.actions)||[],...(null==(e=null==r?void 0:r.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);r={id:n,sagas:[function*(){yield takeEvery$1(i.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return store$4.addModule(r),n},unmountPanel=e=>(store$4.dispatch(unmountPanel$1(e)),!0),hidePanel=e=>(store$4.dispatch(hidePanel$1(e)),!0),unmountAllPanel=()=>{store$4.dispatch(unmountAllPanel$1(""))};function init(e,t){var n;validateConfig(e)&&(n=e["authToken"],n=checkAndDecodeBase64String(n||""),store$4.dispatch(getInitConfig(Object.assign(Object.assign({},e),{authToken:n,onComplete:t}))))}function helpCenter(){var e=new HelpCenter$2({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}}function dataCenter(){var e=new DataCenter$1;return{openImporterPanel:e.openImporterPanel.bind(e)}}function handleEvents(){function n(e){if(!e||"string"!=typeof e)throw new SdkError("Please provide a valid event name!");if(!SdkEvents[e])throw new SdkError("Unknown event: "+e)}return{on:function(e,t){n(e),sdkEventManager.on.call(sdkEventManager,e,t)},off:function(e){n(e),sdkEventManager.off.call(sdkEventManager,e)}}}const mountPanelForResponse=e=>mountPanelForResponse$1(e,store$4),aiwareEvents=handleEvents();window&&(window.aiWare_initTesting=()=>{window.aiWare_store=store$4,window.aiWare_theme={darkTheme:darkTheme$1,lightTheme:lightTheme$1}},window.aiware={init:init,auth:authHelpers,helpCenter:helpCenter(),dataCenter:dataCenter(),on:aiwareEvents.on,off:aiwareEvents.off,hidePanel:hidePanel,unmountPanel:unmountPanel,store:store$4,registry:registry,registerComponent:registerComponent,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,mountPanel:mountPanel,mountPanelForResponse:mountPanelForResponse,unmountWidget:unmountWidget,version:"sdk_release_version",commit:"7fe2b72c2",releaseDate:"2023-06-12T17:13:48.175Z"});export{DynamicModuleLoader as $,AIWareIntlProvider as A,Box$1 as B,resetPasswordRequest as C,InputAdornment$1 as D,IconButton$1 as E,FormattedMessage$1 as F,Grid$1 as G,Select$1 as H,InputLabel$1 as I,Location as J,Button$1 as K,LoadingButton$1 as L,MenuItem$1 as M,Divider$1 as N,OutlinedInput$1 as O,Provider$2 as P,createTheme$1 as Q,systemStyled as R,Switch$1 as S,Typography$1 as T,useThemeProps$1 as U,createAction as V,createReducer as W,createSlice as X,ENGINE_OWNER_TYPES as Y,ENGINE_FILTER_TYPES as Z,_extends as _,generateUtilityClasses as a,img$p as a$,preferredLanguageSelector as a0,baseUrlSelector as a1,rootApiSelector as a2,sessionTokenSelector as a3,graphEndpointSelector as a4,controllerNodeRedImageSelector as a5,controllerUrlSelector as a6,automateControllerUrlSelector as a7,flowCenterDialogSelector as a8,automateUrlSelector as a9,FormGroup$1 as aA,FormControlLabel$1 as aB,Checkbox$1 as aC,fetchTemplateGalleryFallback as aD,Card$1 as aE,CardContent$1 as aF,img$l as aG,CardActions$1 as aH,flowStyles as aI,NoResults as aJ,CircularProgress$1 as aK,img$b as aL,Dialog$1 as aM,setApiEndpoint as aN,TableContainer$1 as aO,Table$1 as aP,TableHead$1 as aQ,TableRow$1 as aR,TableCell$1 as aS,TableSortLabel$1 as aT,TableBody$1 as aU,img$g as aV,default_1 as aW,Popper$1 as aX,ClickAwayListener as aY,Fade$1 as aZ,img$s as a_,Portal$1 as aa,flowCenterDialogReducer as ab,List$2 as ac,ListItem$1 as ad,ListItemIcon$1 as ae,ListItemText$1 as af,flowCenterDialogAction as ag,all as ah,img$n as ai,img$o as aj,img$q as ak,img$r as al,Tooltip$1 as am,img$h as an,img$F as ao,Skeleton$1 as ap,takeLatest$1 as aq,fetchAllTags as ar,put as as,select as at,fetchFlows as au,call$f as av,fetchTemplateGallery as aw,isRevisionsExistOnServerRequest as ax,FormLabel$1 as ay,default_1$b as az,styled$1 as b,FormHelperText$2 as b$,img$P as b0,img$B as b1,DialogTitle$1 as b2,DialogContent$1 as b3,DialogActions$1 as b4,Snackbar$1 as b5,default_1$6 as b6,img$i as b7,img$k as b8,img$T as b9,__spread as bA,TransitionGroup$1 as bB,connect$1 as bC,Bookmark as bD,EngineFlagIcons as bE,createAsyncThunk as bF,withStyles as bG,getConfigModule as bH,getAuthModule as bI,getSnackbarModule as bJ,AIWareCacheProvider as bK,img$Q as bL,img$d as bM,img$c as bN,isEmpty_1 as bO,Backdrop$1 as bP,getDefaultMiddleware as bQ,isNil_1 as bR,UpDown as bS,Icon$1 as bT,get_1 as bU,map_1 as bV,keys_1 as bW,RadioGroup$1 as bX,Avatar$1 as bY,img$v as bZ,baseGraphQLApi as b_,Tabs$2 as ba,Tab$2 as bb,deleteEngine as bc,fetchEngine as bd,img$j as be,AIWareFormatMessage as bf,FormattedDate as bg,fetchVeritoneGraphQLApi as bh,useTheme as bi,KeyboardArrowRight as bj,KeyboardArrowLeft as bk,useId as bl,InputUnstyled as bm,isHostComponent as bn,getDefaultExportFromNamespaceIfNotNamed as bo,commonjsRequire as bp,_typeof$4 as bq,_inheritsLoose$2 as br,_assertThisInitialized$1 as bs,React as bt,hoistNonReactStatics_cjs as bu,_defineProperty$1 as bv,reactDom as bw,Transition$1 as bx,__awaiter$c as by,__generator$2 as bz,Paper$1 as c,_stringToArray as c$,img$f as c0,StyledEngineProvider as c1,ThemeProvider as c2,lightTheme$1 as c3,CssBaseline as c4,Hide as c5,has_1 as c6,showMessage as c7,MessageSeverity as c8,Radio$2 as c9,Menu$1 as cA,Edit as cB,Upload as cC,Delete as cD,CustomTabs as cE,useBackupImg as cF,img$1y as cG,validate as cH,configSelector as cI,baseGraphQLApiWithError as cJ,VerifiedFilled as cK,Add as cL,ExpandLess as cM,ExpandMore as cN,Collapse$1 as cO,img$15 as cP,Filter$1 as cQ,DynamicTable as cR,useTheme$3 as cS,getThemeProps as cT,useEnhancedEffect$1 as cU,React$1 as cV,_arrayPush as cW,isArray_1 as cX,_baseToString as cY,_baseTrim as cZ,_castSlice as c_,createSvgIcon$2 as ca,_createCompounder as cb,_baseIteratee as cc,isArrayLike_1 as cd,toInteger_1 as ce,_toPropertyKey as cf,_setPrototypeOf$3 as cg,commonjsGlobal$1 as ch,combineReducers as ci,createSelector$1 as cj,fork as ck,AIWareThemeProvider$1 as cl,Stack$4 as cm,Close$1 as cn,FullscreenExit as co,Fullscreen as cp,TabPanel as cq,default_1$8 as cr,unmountPanel$1 as cs,AvailableComponents as ct,delay$1 as cu,hidePanel$1 as cv,mountPanel$1 as cw,DialogContentText$1 as cx,userSelector$2 as cy,MoreVert$1 as cz,capitalize$2 as d,_overArg as d$,toString_1 as d0,ReactIs as d1,upperFirst_1 as d2,isString_1 as d3,_baseGet as d4,_baseSlice as d5,_castPath as d6,_toKey as d7,_isIndex as d8,channel$1 as d9,useForkRef as dA,getDefaultExportFromCjs as dB,isObject_1 as dC,MoreHor as dD,takeEvery$1 as dE,EngineCategoryIcons as dF,selectApiConfigs$2 as dG,panelsSelector as dH,tabsClasses$1 as dI,AlarmTwo as dJ,EditList as dK,Chip$1 as dL,usePreviousProps$1 as dM,setRef as dN,inputClasses$1 as dO,inputBaseClasses$1 as dP,outlinedInputClasses$1 as dQ,filledInputClasses$1 as dR,ClearIcon as dS,ArrowDropDownIcon as dT,_arrayMap as dU,_baseEach as dV,_arrayFilter as dW,_getNative as dX,eq_1 as dY,_root as dZ,_Uint8Array as d_,useIntl as da,VideoCamera as db,Image$1 as dc,Sound as dd,Description as de,toNumber_1 as df,ProgressStepper as dg,size_1 as dh,take as di,CurlyBraces as dj,UnknownDocument as dk,sdkEventManager as dl,SdkEvents as dm,SdkError as dn,EngineClassIcons as dp,Mode2 as dq,EngineModeIcons as dr,DeploymentModelIcons as ds,guid as dt,forceReflow as du,alpha as dv,useTheme$2 as dw,useControlled as dx,useEventCallback as dy,ButtonBase$1 as dz,_objectWithoutPropertiesLoose$2 as e,Settings$2 as e$,_isPrototype as e0,isObjectLike_1 as e1,_baseGetTag as e2,_arrayLikeKeys as e3,isArguments_1 as e4,isBuffer$3 as e5,isFunction_1 as e6,isTypedArray_1 as e7,_Stack as e8,_baseFor as e9,emphasize as eA,useSlotProps as eB,_arraySome as eC,injectIntl as eD,ErrorBoundary$1 as eE,Process as eF,Information as eG,NewFolder as eH,SpecialFolder as eI,User as eJ,Source as eK,Search$1 as eL,selectIsOLPEnabled as eM,ListItemSecondaryAction$1 as eN,getLibraryModule as eO,cmsUrlSelector as eP,betaFeaturesSelector as eQ,SearchStructuredData as eR,Grow$1 as eS,UserAddFilled as eT,Popover$1 as eU,MenuList$1 as eV,MoveFolder as eW,Slide$1 as eX,img$9 as eY,selectPanelByPanelName as eZ,FullScreenContainer as e_,identity_1 as ea,_isIterateeCall as eb,isSymbol_1 as ec,_baseMap as ed,_baseUnary as ee,memoizeOne as ef,createBox$1 as eg,StepperContext$1 as eh,StepContext$1 as ei,SvgIcon$1 as ej,StepConnector$1 as ek,_Symbol as el,_Set as em,_setToArray as en,_SetCache as eo,_cacheHas as ep,img$M as eq,img$L as er,img$1u as es,img$1t as et,img$1s as eu,img$J as ev,img$1w as ew,img$I as ex,authSelector as ey,ListItemAvatar$1 as ez,clsx as f,Slider$1 as f$,Hamburger as f0,List as f1,Download as f2,Badge$1 as f3,selectUserOrgEdgeVersion as f4,EditAttributes as f5,gqlIntrospection as f6,ProcessingDetail as f7,img$u as f8,img$w as f9,formatBytes as fA,LinearProgress$1 as fB,NotInterested as fC,mountPanelForResponse$1 as fD,Users as fE,ApplicationTabIcon as fF,SecurityGroup as fG,getOrganizationPanelModule as fH,Lock2 as fI,NoApps as fJ,green$1 as fK,md5 as fL,selectIsSuperAdmin as fM,organizations_selector as fN,actions$5 as fO,AddUser as fP,ArrowUp as fQ,ArrowDown as fR,selectors as fS,LibraryDropdown as fT,Remove as fU,Save as fV,Input$3 as fW,Copy as fX,ArrowForward as fY,Modal$1 as fZ,_baseIsEqual as f_,img$3 as fa,FilterRemove as fb,CheckCircle as fc,FolderOpen as fd,Voice as fe,useDoubleClick as ff,FolderFilled as fg,Time as fh,img$x as fi,Undefined as fj,PodcastSource as fk,YoutubeSource as fl,TVSource as fm,RadioSource as fn,selectOrgId as fo,selectIsUserAdmin as fp,AvatarGroup$1 as fq,ErrorState$2 as fr,NullState$2 as fs,Group as ft,PermissionChangedAction as fu,Lock as fv,AddGroup as fw,initialConfigSelector as fx,ConfirmationModal as fy,EnumHelpers as fz,generateUtilityClass as g,_getSymbols as g0,stubArray_1 as g1,_baseGetAllKeys as g2,_getTag as g3,_nodeUtil as g4,_getAllKeys as g5,_castFunction as g6,Article as g7,Task as g8,View as g9,FlowCenter2 as gA,registry as gB,registerComponent as gC,AvailableWidgets as gD,updatePanelMicroFrontendProps as gE,setData as gF,root as gG,mountWidget as gH,unmountWidget as gI,mountPanel as gJ,unmountPanel as gK,hidePanel as gL,unmountAllPanel as gM,init as gN,aiwareEvents as gO,_objectSpread2 as ga,serialize as gb,stringify$2 as gc,compile as gd,Check as ge,FormattedRelativeTime$1 as gf,BottomQueue as gg,TopQueue as gh,Pause as gi,Cancel as gj,Folder as gk,Hidden as gl,toFinite_1 as gm,_baseForOwn as gn,_arrayReduce as go,hasIn_1 as gp,useSyncExternalStoreExports as gq,Packages as gr,Resources$1 as gs,selectUserCanCreatePackage as gt,Engines as gu,PackagesAvatar as gv,actionChannel as gw,cancelled as gx,flush$3 as gy,cancel as gz,composeClasses as h,createSvgIcon$1 as i,jsxRuntime as j,interopRequireDefault as k,useDispatch as l,makeStyles as m,useSelector as n,authStatusSelector as o,authContextSelector as p,AuthContext as q,react as r,store$4 as s,lodash as t,useThemeProps as u,Alert$1 as v,authErrorMessage as w,FormControl$1 as x,TextField$1 as y,classNames as z};
|
|
1475
|
+
`),useStyles$1$1=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",zIndex:99999,animation:fadeInOut+" 5s linear forwards"},loaderBox:{height:"200px",width:"200px"},veritoneDarkLogo:{height:"200px",width:"200px"}})),versionPanelLabels=e=>({changelog:e.formatMessage({id:"version-panel.header.title",defaultMessage:[{type:0,value:"Changelog"}]}),closePanelTooltip:e.formatMessage({id:"version-panel.header.close-btn-tooltip",defaultMessage:[{type:0,value:"Close panel"}]}),versionLabel:e.formatMessage({id:"version-panel.version-title",defaultMessage:[{type:0,value:"Version"}]}),updateRequiredLabel:e.formatMessage({id:"version-panel.update-required",defaultMessage:[{type:0,value:"Update required"}]}),deploymentLabel:e.formatMessage({id:"version-panel.deployment",defaultMessage:[{type:0,value:"Deployment"}]}),currentVersionLabel:e.formatMessage({id:"version-panel.current-version",defaultMessage:[{type:0,value:"Current Version"}]}),previousVersionLabel:e.formatMessage({id:"version-panel.previous-version",defaultMessage:[{type:0,value:"Previous Version"}]})}),useStyles$4=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);"},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%",height:"calc(100% - 32px)",border:"none"}},aiwareLogo:{marginBottom:"10px"},boldTitle:{fontWeight:700}})),Header=()=>{const e=useDispatch();var t=useStyles$4()["classes"],n=useIntl(),{changelog:n,closePanelTooltip:r}=versionPanelLabels(n);return jsxRuntime.exports.jsxs("header",Object.assign({className:t.header,"data-testid":"create-or-update-token-panel.header"},{children:[jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"h1","data-testid":"permissions-panel-header-title",className:t.title},{children:["AIWARE ",n]})),jsxRuntime.exports.jsx("div",Object.assign({className:t.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip$1,Object.assign({title:r},{children:jsxRuntime.exports.jsx(IconButton$1,Object.assign({onClick:()=>e(hidePanel$1(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},VERSION_PANEL="VERSION_PANEL",VersionPanelComponent=({sdk:e,edge:t})=>{var n=useStyles$4()["classes"],r=useIntl(),{versionLabel:r,updateRequiredLabel:i,deploymentLabel:o,previousVersionLabel:a,currentVersionLabel:s}=versionPanelLabels(r);const l=useDispatch(),[c,u]=react.exports.useState(!1);var d=useSelector(selectLoadingStatus),p=useSelector(betaFeaturesSelector),f=(react.exports.useEffect(()=>{var e=gqlIntrospection.getQueries().find(e=>"platformVersionInfo"===e.name);u(!!e),e&&l(actions.versionPanel.fetchVersionInfoStart())},[]),useSelector(selectCurrentVersion)),m=useSelector(selectPreviousVersion),[h,,]=react.exports.useState(!1),r=jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{height:"100%"}},{children:[jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{display:"flex",flexDirection:"column",height:"100%"}},{children:[jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox},{children:[jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.flexContainer},{children:[jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"h1"},{children:[r," ",null==f?void 0:f.version]})),h?jsxRuntime.exports.jsxs(Typography$1,Object.assign({sx:{ml:"10px"},variant:"caption"},{children:["(",i,")"]})):null]})),jsxRuntime.exports.jsx(Box$1,Object.assign({sx:{mt:"5px"}},{children:jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body2"},{children:[o," - ",dateFormatter((null==f?void 0:f.createdAt)||null)]}))}))]})),f&&jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox,sx:{height:"100%"}},{children:[f&&jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"h1",sx:{mb:"10px"}},{children:s})),jsxRuntime.exports.jsx("iframe",{id:"current-version",src:null==f?void 0:f.highlightsUrl})]}))]})),m&&jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox,sx:{height:"100%"}},{children:[f&&jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"h1",sx:{mb:"10px"}},{children:a})),jsxRuntime.exports.jsx("iframe",{id:"previous-version",src:null==m?void 0:m.highlightsUrl})]}))]}));return p?jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{height:"100%"}},{children:[jsxRuntime.exports.jsx(Header,{}),"pending"===d&&jsxRuntime.exports.jsx(Box$1,Object.assign({sx:{p:"15px",display:"flex",justifyContent:"center"}},{children:jsxRuntime.exports.jsx(CircularProgress$1,{})})),"success"===d&&jsxRuntime.exports.jsx("div",Object.assign({className:n.panelRoot},{children:c?r:null})),"failure"===d&&null]})):jsxRuntime.exports.jsx("div",Object.assign({className:n.panelRoot},{children:jsxRuntime.exports.jsxs(Box$1,Object.assign({className:n.wrapperBox},{children:[jsxRuntime.exports.jsx("img",{src:img$1v,className:n.aiwareLogo}),e&&jsxRuntime.exports.jsx(Box$1,Object.assign({className:n.row,"data-testid":"sdk-version"},{children:jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body1",className:n.versionText},{children:[jsxRuntime.exports.jsxs("span",Object.assign({className:n.boldTitle},{children:["SDK"," ",jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.version-panel.version-label",defaultMessage:"Version",description:"Version"})]})),": ",e]}))})),t&&jsxRuntime.exports.jsx(Box$1,Object.assign({className:n.row,"data-testid":"edge-version"},{children:jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body1",className:n.versionText},{children:[jsxRuntime.exports.jsxs("span",Object.assign({className:n.boldTitle},{children:["Edge"," ",jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.version-panel.version-label",defaultMessage:"Version",description:"Version"})]})),": ",t]}))}))]}))}))},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_=({intl:n})=>{const r=useDispatch();var e=useStyles$1$1()["classes"];const[i,o]=react.exports.useState(0),[t,a]=react.exports.useState(!1),[s,l]=react.exports.useState(!1),c=jsxRuntime.exports.jsx("p",Object.assign({style:{pointerEvents:"none"}},{children:"Loading Beta Features"})),[u,d]=react.exports.useState(c),p=useSelector(organizations_selector.selectOrgSwitchInitiated),f=useSelector(e=>{return null==(e=null==(e=null==e?void 0:e.configs)?void 0:e.initConfig)?void 0:e.betaFeatures}),[m,h]=react.exports.useState(!1),[g,v]=react.exports.useState(""),[x,y]=react.exports.useState(""),[b,C]=react.exports.useState(""),[$,S]=react.exports.useState(!1);react.exports.useEffect(()=>{m||(h(!0),(lottieScript=document.createElement("script")).setAttribute("src","https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.8/lottie.min.js"),lottieScript.onload=()=>l(!0),(audio=document.createElement("audio")).id="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)&&"undefined"!==t&&v(t),t=null==(t=window.aiware)?void 0:t.releaseDate,y(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=>{v(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=>C(e))},[]),react.exports.useEffect(()=>{if(f&&!p)return;p&&d(jsxRuntime.exports.jsx("p",{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-organization-panel.organizations-switching-loader-message",defaultMessage:"Changing your Organization",description:"organizations switching loader message"})}));const e=10===i;if((e||p)&&(a(!0),s)){const t=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"});t.onComplete=()=>{e?(r(enableBetaFeatures()),o(0)):p&&d(c),a(!1),t.destroy()},null!==audio&&void 0!==audio&&audio.play()}},[i,f,r,t,p]);return jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[t&&jsxRuntime.exports.jsxs("div",Object.assign({className:e.fullScreen},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.loaderBox,id:"loaderAnimation"},{children:!s&&jsxRuntime.exports.jsx("img",{src:img$4,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"})}))})),u]}))]})),jsxRuntime.exports.jsxs("div",{children:[g?jsxRuntime.exports.jsxs(Typography$1,Object.assign({sx:{color:"#9CA8B4",fontSize:"10px",textAlign:"center",cursor:"pointer",width:"60px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},onClick:()=>{var e,t;$?(S(!1),r(hidePanel$1(VERSION_PANEL))):(S(!0),e={name:VERSION_PANEL,config:{name:"Version Information",sdk:g,sdkRelease:x,edge:b}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",zIndex:1001,dimmed:0,borderBottom:!0,header:{title:n.formatMessage({id:"os-panel.version-information.panel-header",defaultMessage:[{type:0,value:"Version Information"}]})}},r(mountPanel$1({panelId:VERSION_PANEL,microFrontend:e,panelConfig:t})))}},{children:["V. ",g]})):null,jsxRuntime.exports.jsx("img",{onClick:()=>o(i+1),src:img$z,alt:"footer-icon",draggable:"false"})]})]})},Logo=injectIntl(Logo_);function getTabAction(e,t,n,r="APP_BAR_PANEL"){return{type:mountPanel$1({}).type,payload:{panelId:e,microFrontend:{name:r,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$1,{id:"os-panel.tabItems.personalProfile",defaultMessage:"Personal Profile",description:"Tooltip pops on the sidebar for personal profile"}),iconComponent:jsxRuntime.exports.jsx(PersonalProfile$1,{}),role:"",action:getTabAction(TabId.PERSONAL_PANEL,jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.panelTitle.personalProfile",defaultMessage:"Personal Profile",description:"Header title for personal profile"}),410)},{id:TabId.ORGANIZATION_PANEL,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.organizations",defaultMessage:"Organizations",description:"Tooltip pops on the sidebar for organizations"}),iconComponent:jsxRuntime.exports.jsx(Organizations,{}),role:"",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.ORGANIZATION_PANEL,microFrontend:{name:"ORGANIZATION_PANEL"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,width:560,zIndex:1e3}}}},{id:TabId.CMS_SHORTCUT,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1,{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$1({}).type,payload:{panelId:TabId.DATA_CENTER,microFrontend:{name:"DATA_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge",zIndex:1e3}}}},{id:TabId.PROCESSING_CENTER_BROWSE,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.processingCenter",defaultMessage:"Processing Center",description:"Tooltip pops on the sidebar for processing center"}),iconComponent:jsxRuntime.exports.jsx(Process,{}),role:"cms",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.PROCESSING_CENTER_BROWSE,microFrontend:{name:"PROCESSING_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge",zIndex:1e3}}}},{id:TabId.FLOW_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1({}).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$1,{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$1,{id:"os-panel.tabItems.marketplaceCenter",defaultMessage:"Marketplace",description:"Tooltip pops on the sidebar for marketplace center"}),iconComponent:jsxRuntime.exports.jsx(Marketplace$1,{}),role:"cms",action:{type:"panels/OPEN_APP_SHORTCUT",payload:"marketplace"}},{id:TabId.LIBRARY_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1,{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$1({}).type,payload:{panelId:TabId.ADMIN_SHORTCUT,microFrontend:{name:"ADMIN_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge",zIndex:1e3}}}},{id:TabId.INSTANCE_ADMIN_CENTER_BROWSE,label:jsxRuntime.exports.jsx(FormattedMessage$1,{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$1({}).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",zIndex:1e3}}}},{id:TabId.RESOURCE_CENTER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.resourceCenter",defaultMessage:"Resource Center",description:"Tooltip pops on the sidebar for resource center"}),iconComponent:jsxRuntime.exports.jsx(Resources$1,{}),role:"",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.RESOURCE_CENTER,microFrontend:{name:"RESOURCE_CENTER_BROWSE"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xxlarge",zIndex:1e3}}}},{id:TabId.PROCESSING_CENTER_DAG_BUILDER,label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-panel.tabItems.dagBuilder",defaultMessage:"DAG Builder (Beta)",description:"Tooltip pops on the sidebar for dag builder"}),iconComponent:jsxRuntime.exports.jsx(DagBuilder,{}),role:"cms",action:{type:mountPanel$1({}).type,payload:{panelId:TabId.PROCESSING_CENTER_DAG_BUILDER,microFrontend:{name:"PROCESSING_CENTER_DAG_BUILDER"},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"xlarge",zIndex:1e3}}}}];function AppbarTabPanel({panelId:t,children:e,withTab:r=!0,withChild:n=!0}){const i=useDispatch(),[o,a]=react.exports.useState(),[s,l]=react.exports.useState([]),[c,u]=react.exports.useState(!1);var d=useSelector(e=>e.panels.find(e=>e.panelId===t))||{};const p=useSelector(e=>e.panels);const{microFrontend:f,panelConfig:m}=d,{minWidth:h,padding:g=0,header:v,footer:x,marginTop:y=0,marginStart:b=0,show:C,tabs:$=[],zIndex:S=1e3,userRoles:w=[],panelId:E,size:j,fullScreen:T,width:_,dimmed:I=0,parentPanelId:R,borderBottom:O}=m||{};const A=R?("ORGANIZATION_PANEL"!==R?"":"solid 5px #4D81B7")||("DATA_CENTER"!==R?"":"solid 5px #4D81B7"):"solid 5px #4D81B7",L=makeStyles()(e=>{return{container:{position:"fixed",top:y,right:T?0:b,height:`calc(100vh - ${y}px)`,minWidth:h,width:_||(T?"100%":function(){switch(j){case"xxlarge":return 1280;case"xlarge":return 1020;case"large":return 720;case"medium":return 560;case"small":return 380;default:return 560}}()),borderBottom:O?"solid 5px #4D81B7":A,zIndex:T?1500:S,transitionTimingFunction:"ease-in-out !important"},padding:{padding:e.spacing(g),paddingTop:e.spacing(g/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",overflowX:"hidden",height:(t=v?64:0,n=x?64:0,`calc(100vh - ${y}px - ${t}px - ${n}px - 5px)`)},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:r?"0.5px solid "+e.palette.divider:"none",overflowY:"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",zIndex:1150,width:"100%",height:"100%",backgroundColor:e.palette.grey[50],opacity:.5}};var t,n})()["classes"];react.exports.useEffect(()=>{0<$.length?l([...tabsListDefault,...$]):l(tabsListDefault)},[$]),react.exports.useEffect(()=>{var e;null!==f&&void 0!==f&&f.config&&null!=(e=f.config)&&e.tabId&&a(f.config.tabId)},[f]),react.exports.useEffect(()=>{0<p.length&&o&&r&&(p.find(e=>e.panelId===o)||a(void 0))},[p,o,r]);n=jsxRuntime.exports.jsxs(Paper$1,Object.assign({className:`${L.container} ${n?"":L.noShadow} `,elevation:3,id:t,square:!0,"data-test":"panel-"+(E||"unknown")},{children:[0<I&&jsxRuntime.exports.jsx("div",{className:L.panelMask}),jsxRuntime.exports.jsxs("div",Object.assign({className:L.drawerContainer},{children:[n&&jsxRuntime.exports.jsxs("div",Object.assign({className:L.tabContent},{children:[v&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:L.tabName},{children:[jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"h1",className:L.title},{children:v.title||(null==(d=s.find(e=>e.id===o))?void 0:d.label)})),jsxRuntime.exports.jsxs("div",Object.assign({className:L.actionIcons},{children:[null==(n=v.actions)?void 0:n.map(e=>e.label?jsxRuntime.exports.jsx(Button$1,Object.assign({size:e.size,variant:e.variant,onClick:()=>i(e.action)},{children:e.label}),e.action.type):jsxRuntime.exports.jsxs(IconButton$1,Object.assign({onClick:()=>i(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$1,Object.assign({onClick:()=>i(hidePanel$1(t)),"data-test":"close-button-"+t,size:"large"},{children:jsxRuntime.exports.jsx("img",{src:R?img$S:img$T,alt:"icon",draggable:"false"})}))]}))]})),v.divider&&jsxRuntime.exports.jsx(Divider$1,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:L.content},{children:e?react.exports.cloneElement(e,Object.assign(Object.assign({},(null===f||void 0===f?void 0:f.config)||{}),{dataId:t,hidePanel:()=>i(hidePanel$1(t)),tabId:o,panelRendered:c})):jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"No micro frontend passed!"})})})),x&&jsxRuntime.exports.jsxs("div",Object.assign({className:L.footer},{children:[x.divider&&jsxRuntime.exports.jsx(Divider$1,{}),jsxRuntime.exports.jsx("div",Object.assign({className:L.headerContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:L.actionContainer},{children:null==(d=x.actions)?void 0:d.map(e=>{var t;if(e.iconUrl)return jsxRuntime.exports.jsxs(IconButton$1,Object.assign({className:L.actionButton,onClick:(t=e.action,()=>{i(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$1,Object.assign({className:L.actionButton,size:n.size,variant:n.variant,onClick:()=>i(n.action)},{children:n.label}),e.action.type)})}))}))]}))]})),r&&jsxRuntime.exports.jsxs("div",Object.assign({id:"tabs-content",className:L.tabSelect},{children:[jsxRuntime.exports.jsx(Tabs,{selectedId:o,tabsList:s,onChangeTab:function(t){0<=p.map(e=>e.panelId).indexOf(VERSION_PANEL)&&i(hidePanel$1(VERSION_PANEL)),o&&i(hidePanel$1(o)),a(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&&i(n.action)},roles:w}),(null===x||void 0===x?void 0:x.logo)&&jsxRuntime.exports.jsx("div",Object.assign({className:L.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$1,Object.assign({"data-id":"123456",in:C,direction:"left",onEntered:()=>u(!0),onExited:()=>i(unmountPanel$1(t))},{children:n}))}))})})}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}));var index_esm$2=Object.freeze({__proto__:null,AppbarPanel:AppbarPanel,AppbarTabPanel:AppbarTabPanel,TabPanel:Tab,VersionPanel:VersionPanel});const Panel=({panelId:t,children:e})=>{var n;const r=useDispatch(),{microFrontend:i,panelConfig:{minWidth:o,padding:a=0,header:s,footer:l,marginTop:c=0,marginStart:u=0,show:d,width:p=500,zIndex:f=1}}=useSelector(e=>e.panels.find(e=>e.panelId===t)),m=makeStyles()(e=>({container:{position:"fixed",top:c,right:u,height:"100%",minWidth:o,width:p,zIndex:f},padding:{padding:e.spacing(a),paddingTop:e.spacing(a/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"],h=e=>{var t;return e.icon?jsxRuntime.exports.jsx(IconButton$1,Object.assign({className:m.actionButton,onClick:()=>r(e.action),size:"large"},{children:e.icon})):(t=e,jsxRuntime.exports.jsx(Button$1,Object.assign({className:m.actionButton,size:t.size,variant:t.variant,onClick:()=>r(e.action)},{children:t.label})))};return jsxRuntime.exports.jsx(Slide$1,Object.assign({in:d,direction:"left",onExited:()=>r(unmountPanel$1(t))},{children:jsxRuntime.exports.jsxs(Paper$1,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$1,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=>h(e)),jsxRuntime.exports.jsx(IconButton$1,Object.assign({"data-test":"close-button-"+t,className:m.actionButton,onClick:()=>r(hidePanel$1(t)),size:"large"},{children:jsxRuntime.exports.jsx(default_1$6,{})}))]}))]})),s.divider&&jsxRuntime.exports.jsx(Divider$1,{})]}),jsxRuntime.exports.jsx("div",Object.assign({className:m.padding},{children:e?react.exports.cloneElement(e,Object.assign(Object.assign({},i.config||{}),{dataId:t,hidePanel:()=>r(hidePanel$1(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$1,{}),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=>h(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 r=useDispatch();return jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx("h1",{children:"Welcome to picker!"}),jsxRuntime.exports.jsx(Typography$1,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)=>{r(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})}))},onChangeCommitted:(e,t)=>{r(updatePanelMicroFrontendProps({id:n.dataId,props:Object.assign(Object.assign({},n),{value:t})})),r(setData({id:n.dataId,data:t}))}})]})},SamplePanel2=e=>jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsx("h1",{children:"Welcome to SamplePanel2!"})}),useStyles$3=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$3()["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$1,Object.assign({className:t.root},{children:[jsxRuntime.exports.jsxs(CardContent$1,{children:[jsxRuntime.exports.jsx(Typography$1,Object.assign({className:t.title,color:"textSecondary",gutterBottom:!0},{children:"Word of the Day"})),jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"h5",component:"h2"},{children:["be",n,"nev",n,"o",n,"lent"]})),jsxRuntime.exports.jsx(Typography$1,Object.assign({className:t.pos,color:"textSecondary"},{children:"adjective"})),jsxRuntime.exports.jsxs(Typography$1,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$1,Object.assign({size:"small"},{children:"Learn More"}))})]}))]}))};var WidgetsStatus,index_esm$1=Object.freeze({__proto__:null,Panel:Panel,SamplePanel1:SamplePanel1,SamplePanel2:SamplePanel2,SamplePanel3:SamplePanel3,SamplePanel4:SamplePanel4,SamplePanel5:SamplePanel5});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$c(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.esm2.js").then(e=>e.SampleAppBar);break;case AvailableWidgets.RESET_PASSWORD:e=import("./js-core.esm4.js").then(e=>e.ResetPassword);break;case AvailableWidgets.FLOW_CENTER:e=import("./js-core.esm7.js").then(e=>e.App);break;case AvailableWidgets.FLOW_WIDGET:e=import("./js-core.esm8.js").then(function(e){return e.i}).then(e=>e.App);break;case AvailableWidgets.ENGINE_CENTER_BROWSE:e=import("./js-core.esm18.js").then(e=>e.EngineCenterBrowse);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$5}).then(e=>e.NotificationPanel);break;case AvailableComponents.NOTIFICATION_DETAIL:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationDetailPanel);break;case AvailableComponents.NOTIFICATION_SETTING:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationSetting);break;case AvailableComponents.NOTIFICATION_UTILITY:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationUtilityPanel);break;case AvailableComponents.NOTIFICATION_APPLICATION:e=Promise.resolve().then(function(){return index_esm$5}).then(e=>e.NotificationApplication);break;case AvailableComponents.HELP_PANEL:e=Promise.resolve().then(function(){return index_esm}).then(e=>e.HelpCenterPanel);break;case AvailableComponents.EDIT_PROFILE_PICTURE:e=Promise.resolve().then(function(){return index_esm$4}).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.esm37.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_BROWSE:e=import("./js-core.esm38.js").then(e=>e.DataCenterBrowse);break;case AvailableComponents.DATA_CENTER_FOLDERS_AND_FILES:e=import("./js-core.esm38.js").then(e=>e.FoldersAndFilesPanel);break;case AvailableComponents.DATA_CENTER_FILE_INFO_PANEL:e=import("./js-core.esm38.js").then(e=>e.FileInfoPanel);break;case AvailableComponents.DATA_CENTER_IMPORTER:e=import("./js-core.esm45.js").then(e=>e.DataCenterImporter);break;case AvailableComponents.DATA_LABELER:e=import("./js-core.esm46.js").then(e=>e.DataLabelerPanel);break;case AvailableComponents.ADMIN_CENTER_OPEN_ID:e=import("./js-core.esm47.js").then(e=>e.AdminCenterOpenId);break;case AvailableComponents.ADMIN_CENTER_BROWSE:e=import("./js-core.esm48.js").then(e=>e.AdminCenterBrowse);break;case AvailableComponents.DATA_CENTER_PROCESS_AI:e=import("./js-core.esm54.js").then(e=>e.DataCenterProcessAI);break;case AvailableComponents.ENGINE_CENTER_NEW:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.EngineCenterNew);break;case AvailableComponents.ENGINE_CENTER_FILTER:e=import("./js-core.esm18.js").then(e=>e.EngineCenterFilter);break;case AvailableComponents.APP_CENTER_FILTER:e=import("./js-core.esm55.js").then(e=>e.AppCenterFilter);break;case AvailableComponents.ENGINE_CENTER_DETAILS:e=import("./js-core.esm18.js").then(e=>e.EngineDetails);break;case AvailableComponents.ENGINE_CENTER_NEW_BUILD:e=import("./js-core.esm18.js").then(e=>e.CreateNewBuildPanel);break;case AvailableComponents.ENGINE_CENTER_CUSTOM_FIELDS_FORM:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.EngineCenterCustomFieldsForm);break;case AvailableComponents.ENGINE_CENTER_SCHEMAS_FORM_PANEL:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.SchemasFormPanel);break;case AvailableComponents.ENGINE_CENTER_INPUT_TYPE_FLYOUT:e=import("./js-core.esm19.js").then(function(e){return e.h}).then(e=>e.InputTypeFlyout);break;case AvailableComponents.ENGINE_CENTER_EDIT_RELEASE_NOTES:e=import("./js-core.esm18.js").then(e=>e.EditReleaseNotes);break;case AvailableComponents.ENGINE_CENTER_VERSION_HISTORY_PANEL:e=import("./js-core.esm18.js").then(e=>e.VersionHistoryPanel);break;case AvailableComponents.SUPPORTED_FILE_TYPES:e=import("./js-core.esm45.js").then(e=>e.SupportedFileTypes);break;case AvailableComponents.EDIT_FILE_METADATA:e=import("./js-core.esm45.js").then(e=>e.EditFileMetadata);break;case AvailableWidgets.APP_CENTER_BROWSE:e=import("./js-core.esm55.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_NEW:e=import("./js-core.esm56.js").then(e=>e.AppCenterNew);break;case AvailableComponents.APP_CENTER_ADD_FLOW_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterAddFlowPanel);break;case AvailableComponents.APP_CENTER_ADD_SCHEMA_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterAddSchemaPanel);break;case AvailableComponents.APP_CENTER_CONFIG_FIELDS_FORM:e=import("./js-core.esm56.js").then(e=>e.AppCenterConfigFieldsForm);break;case AvailableComponents.APP_CENTER_CONTEXT_MENU_EXTENSIONS:e=import("./js-core.esm56.js").then(e=>e.AppCenterContextMenuExtensionPanel);break;case AvailableComponents.APP_CENTER_EVENT_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterEventPanel);break;case AvailableComponents.APP_CENTER_AUTOMATE_PALETTE_INTEGRATION_PANEL:e=import("./js-core.esm56.js").then(e=>e.AppCenterPaletteIntegrationPanel);break;case AvailableComponents.APP_CENTER_BROWSE:e=import("./js-core.esm55.js").then(e=>e.AppCenterBrowse);break;case AvailableComponents.APP_CENTER_DETAILS:e=import("./js-core.esm55.js").then(e=>e.AppCenterDetails);break;case AvailableComponents.DATA_CENTER_ENGINE_SELECTION:e=import("./js-core.esm54.js").then(e=>e.DataCenterEngineSelection);break;case AvailableComponents.ADMIN_CENTER_NEW_GROUP_PANEL:e=import("./js-core.esm44.js").then(e=>e.NewGroupPanel);break;case AvailableComponents.PERMISSIONS_PANEL:e=import("./js-core.esm40.js").then(e=>e.PermissionsPanel);break;case AvailableComponents.GROUP_INFO_PANEL:e=import("./js-core.esm40.js").then(e=>e.GroupInfoPanel);break;case AvailableComponents.NEW_PERMISSION_SET_PANEL:e=import("./js-core.esm40.js").then(e=>e.NewPermissionSetPanel);break;case AvailableComponents.PERMISSION_SET_DETAILS_PANEL:e=import("./js-core.esm40.js").then(e=>e.PermissionSetDetailsPanel);break;case AvailableComponents.DATA_CENTER_MDP_IFRAME_PANEL:e=import("./js-core.esm38.js").then(e=>e.MediaDetailsPanelIframe);break;case AvailableComponents.DATA_CENTER_INGESTION_CREATION_PANEL:e=import("./js-core.esm38.js").then(e=>e.IngestionCreationPanel);break;case AvailableComponents.DATA_CENTER_SELECT_IMPORT_SOURCE:e=import("./js-core.esm38.js").then(e=>e.SelectImportSource);break;case AvailableComponents.DATA_CENTER_SOURCE_CREATION_PANEL:e=import("./js-core.esm38.js").then(e=>e.SourceCreationPanel);break;case AvailableComponents.ADMIN_CENTER_GROUP_DETAILS_PANEL:e=import("./js-core.esm44.js").then(e=>e.GroupDetailsPanel);break;case AvailableComponents.ADMIN_CENTER_ADD_MEMBER_PANEL:e=import("./js-core.esm44.js").then(e=>e.AddMemberPanel);break;case AvailableComponents.APPLICATION_DETAILS_PANEL:e=import("./js-core.esm49.js").then(e=>e.ApplicationDetailsPanel);break;case AvailableComponents.PROCESSING_CENTER_SOURCES:e=import("./js-core.esm57.js").then(e=>e.ProcessingCenterSources);break;case AvailableComponents.PROCESSING_CENTER_ERROR_DETAIL:e=import("./js-core.esm57.js").then(e=>e.ErrorDetailPanel);break;case AvailableComponents.USER_APPLICATION_SETTINGS_PANEL:e=Promise.resolve().then(function(){return index_esm$6}).then(e=>e.UserApplicationSettingsPanel);break;case AvailableComponents.ADD_APPLICATION_USERS_PANEL:e=import("./js-core.esm49.js").then(e=>e.AddUsersPanel);break;case AvailableComponents.PROCESSING_CENTER_BROWSE:e=import("./js-core.esm60.js").then(e=>e.ProcessingCenterBrowse);break;case AvailableComponents.JOBS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm61.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.PROCESSING_CENTER_DAG_BUILDER:e=import("./js-core.esm63.js").then(e=>e.DagBuilder);break;case AvailableComponents.PROCESSING_CENTER_INGESTION:e=import("./js-core.esm64.js").then(function(e){return e.at}).then(e=>e.ProcessingCenterIngestion);break;case AvailableComponents.PROCESSING_CENTER_ADVANCED_SETTINGS:e=import("./js-core.esm64.js").then(function(e){return e.at}).then(e=>e.ProcessingCenterAdvancedSettings);break;case AvailableComponents.PROCESSING_CENTER_AFFILIATE_PANEL:e=import("./js-core.esm64.js").then(function(e){return e.at}).then(e=>e.ProcessingCenterAffiliatePanel);break;case AvailableComponents.JOBS_DETAILS_PANEL:e=import("./js-core.esm61.js").then(e=>e.JobsDetailsPanel);break;case AvailableComponents.TASKS_TABLE_SETTINGS_PANEL:e=import("./js-core.esm62.js").then(e=>e.TasksTableSettingsPanel);break;case AvailableComponents.RESOURCE_CENTER_BROWSE:e=import("./js-core.esm66.js").then(e=>e.ResourceCenterBrowse);break;case AvailableComponents.PACKAGE_DETAILS_PANEL:e=import("./js-core.esm70.js").then(e=>e.PackageDetails);break;case AvailableComponents.PACKAGE_MANAGER_PANEL:e=import("./js-core.esm71.js").then(function(e){return e.a6}).then(e=>e.PackageManager);break;case AvailableComponents.INSTANCE_ADMIN_CENTER_BROWSE:e=import("./js-core.esm72.js").then(e=>e.InstanceAdminCenterBrowse);break;case AvailableComponents.MANAGE_GRANTS:e=import("./js-core.esm70.js").then(e=>e.ManageGrantsPanel);break;case AvailableComponents.SCHEMA_DETAILS_PANEL:e=import("./js-core.esm73.js").then(e=>e.SchemaDetailsPanel);break;case AvailableComponents.USER_DETAILS_PANEL:e=import("./js-core.esm50.js").then(e=>e.UserDetailsPanel);break;case AvailableComponents.CREATE_OR_UPDATE_TOKEN_PANEL:e=import("./js-core.esm51.js").then(e=>e.CreateOrUpdateApiTokenPanel)}return yield registry[t]=e}),registerComponent=(e,t)=>{registry[e]=t},WIDGETS_FEATURE_KEY="widgets",initialState$1=(!function(e){e.idle="idle",e.mounting="mounting",e.unmounting="unmounting",e.error="error",e.eventing="eventing"}(WidgetsStatus=WidgetsStatus||{}),{value:[],status:WidgetsStatus.idle}),widgetsSelector=e=>e[name].value,callWidgetOnComplete=(e,t)=>{e=e.find(e=>e.widgetName===t);null!=e&&e.onComplete&&e.onComplete()},{name,reducer,actions:{mountWidget:mountWidget$1,mountWidgetSuccess,mountWidgetError,unmountWidget:unmountWidget$1,unmountWidgetSuccess,unmountWidgetFailure,triggerWidgetCallback,triggerWidgetCallbackSuccess}}=createSlice({name:WIDGETS_FEATURE_KEY,initialState:initialState$1,reducers:{mountWidget:(e,t)=>{e.value.push(t.payload),e.status=WidgetsStatus.mounting},mountWidgetSuccess:e=>{e.status=WidgetsStatus.idle},mountWidgetError:e=>{e.status=WidgetsStatus.error},triggerWidgetCallback:(e,t)=>{e.status=WidgetsStatus.eventing},triggerWidgetCallbackSuccess:e=>{e.status=WidgetsStatus.idle},unmountWidget:(e,t)=>{e.status=WidgetsStatus.unmounting},unmountWidgetSuccess:(e,t)=>{e.value=e.value.filter(e=>e.widgetId!==t.payload),e.status=WidgetsStatus.idle},unmountWidgetFailure:e=>{e.status=WidgetsStatus.error}}});function*mountWidgetListenerSaga(){let a;const s={};yield takeEvery$1(mountWidget$1({}).type,function*(e){try{var{widgetConfig:t={},widgetName:n,elementId:r}=null==e?void 0:e.payload,i=(yield call$f(registryLookup,n))||(()=>jsxRuntime.exports.jsx("div",{children:"Component Not Found."})),o=getElement(r,n);o.classList.add("aiware-el"),s[r]?a=s[r]:(a=client$1.createRoot(o),s[r]=a),a.render(jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider$1,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(i,Object.assign({},t))}))})})),yield put(mountWidgetSuccess())}catch(e){yield put(mountWidgetError())}}),yield takeEvery$1(e=>/\/booted$/.test(e.type),function*(e){var[e]=e.type.split("/");yield put(triggerWidgetCallback(e))}),yield takeEvery$1(unmountWidget$1("").type,function*(t){try{const e=yield select(e=>{return(null==(e=widgetsSelector(e).find(e=>e.widgetId===t.payload))?void 0:e.elementId)||""});setTimeout(()=>{s[e]&&s[e].unmount(),delete s[e]}),yield put(unmountWidgetSuccess(t.payload))}catch(e){yield put(unmountWidgetFailure())}}),yield takeEvery$1(triggerWidgetCallback("").type,function*(e){var t=yield select(widgetsSelector);callWidgetOnComplete(t,e.payload),yield put(triggerWidgetCallbackSuccess())})}function getWidgetsModule(){return{id:name,reducerMap:{[name]:reducer},sagas:[mountWidgetListenerSaga],initialActions:[]}}function getDataModule(){return{id:"data",reducerMap:{data:(e,{type:t,payload:n})=>{return t===setData({}).type?[...e.filter(e=>e.id!==n.id),n]:e||[]}},sagas:[],initialActions:[]}}const useStyles$2=makeStyles()(e=>({sdkSnackbarContainer:{"& svg":{fill:"white"}}}));function CustomSnackbar(){const n=useDispatch(),[e,t]=react.exports.useState([]),[r,i]=react.exports.useState(!1),[o,a]=react.exports.useState(void 0),{message:s,duration:l}=useSelector(snackbarSelector);var c=useStyles$2()["classes"],u=(react.exports.useEffect(()=>{null!==s&&void 0!==s&&s.content&&t(e=>[...e,s])},[s]),react.exports.useEffect(()=>{e.length&&!o?(a(Object.assign({},e[0])),t(e=>e.slice(1)),i(!0)):e.length&&o&&r&&(n(clearMessage()),i(!1))},[e,o,r,n]),(e,t)=>{"clickaway"!==t&&(i(!1),n(clearMessage()))});return jsxRuntime.exports.jsx(Snackbar$1,Object.assign({anchorOrigin:{vertical:"bottom",horizontal:"right"},open:r,autoHideDuration:l||3e3,onClose:u,TransitionProps:{onExited:()=>{a(void 0),n(clearMessage())}},className:c.sdkSnackbarContainer,"data-snackbarid":(null===o||void 0===o?void 0:o.key)||"na","data-testid":"snackbar.message."+((null===o||void 0===o?void 0:o.severity)||"na")},{children:jsxRuntime.exports.jsx(Alert$1,Object.assign({onClose:u,severity:null===o||void 0===o?void 0:o.severity,elevation:6,variant:"filled"},{children:null===o||void 0===o?void 0:o.content}))}),o?o.key:void 0)}function validateConfig(e){return e.applicationId||console.info("@aiware/js: applicationId is required. Go to developer app to find your application id."),e.baseUrl||console.info("@aiware/js: baseUrl is required. It defaults to the US Commercial environment which is https://api.us-1.veritone.com/v3/graphql"),!0}const ID="openSupportChatButton",DATA_ATTR="open-support-chat-button";var SupportCenterPixel=()=>jsxRuntime.exports.jsx(Portal$1,{children:jsxRuntime.exports.jsx("div",{id:ID,"data-veritone-element":DATA_ATTR,style:{width:1,height:1,position:"fixed",right:55,bottom:20}})});const nameSpace="@helpPanel",updateSelectedTab=createAction(nameSpace+"/UPDATE_SELECTED_TAB",function(e,t){return{payload:{selectedTabId:e,tabLink:t}}}),setCustomKnowledgeBaseUrl=createAction(nameSpace+"/SET_CUSTOM_KNOWLEDGE_BASE_URL",function(e){return{payload:{url:e}}}),setCustomDocsUrl=createAction(nameSpace+"/SET_CUSTOM_DOCS_URL",function(e){return{payload:{url:e}}}),initialState={selectedTabId:0,tabLink:"https://support.veritone.com/",customKnowledgeBaseUrl:"",customDocsUrl:""},getTabLinkReducer=createReducer(initialState,e=>{e.addCase(updateSelectedTab,(e,t)=>Object.assign(Object.assign({},e),{tabLink:t.payload.tabLink,selectedTabId:t.payload.selectedTabId})),e.addCase(setCustomKnowledgeBaseUrl,(e,t)=>Object.assign(Object.assign({},e),{customKnowledgeBaseUrl:t.payload.url})),e.addCase(setCustomDocsUrl,(e,t)=>Object.assign(Object.assign({},e),{customDocsUrl:t.payload.url}))});function*helpSaga(){yield takeEvery$1("OPEN_HELP_LINK",function*(){var e=yield select(e=>e.helpPanel.tabLink);yield put(openLinkOnNewTab({url:e}))})}const namespace="helpPanel",helpCenterSelectedTabIdSelector=e=>null!=e&&e[namespace]?e[namespace].selectedTabId:0,customDocsUrlSelector=e=>null!=e&&e[namespace]?e[namespace].customDocsUrl:"",customKnowledgeBaseUrlSelector=e=>null!=e&&e[namespace]?e[namespace].customKnowledgeBaseUrl:"";function getHelpPanelModule(){return{id:"help",reducerMap:{[namespace]:getTabLinkReducer},sagas:[helpSaga],initialActions:[]}}var knowledgeBaseUrl$1="https://docs.veritone.com/help/index.html",documentUrl$1="https://docs.veritone.com",config={knowledgeBaseUrl:knowledgeBaseUrl$1,documentUrl:documentUrl$1};const useStyles$1=makeStyles()(e=>({root:{height:"calc(100% - 110px)",textAlign:"left","& .Sdk-MuiTab-root.Mui-selected":{color:e.palette.text.primary,fontWeight:600}},tabs:{padding:e.spacing(2.4,6,0,6)},tabPanels:{width:"100%",height:"100%"},aiWareIcon:{position:"relative",maxHeight:50,opacity:"inherit",padding:e.spacing(4,3.2,0,3.2),display:"flex",justifyContent:"flex-end"},customTabs:{margin:e.spacing(0,4)},kbRoot:{height:"100%",textAlign:"left"},loadingContainer:{position:"absolute",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"white"},kbToolBarBox:{padding:e.spacing(6,6,1.6,6)},kbTabContent:{height:"calc(100% - 92px)"},kbTabPanel:{padding:e.spacing(6)},dRoot:{height:"100%",width:"100%"},dNavBar:{height:"100%",overflow:"hidden",background:"#F4F4F4"},dTitle:{color:"#2A323C",fontWeight:600,fontSize:"18px",lineHeight:"24px",padding:e.spacing(3.2)},dContent:{height:"100%",width:"100%",position:"relative"},dMenu:{overflowY:"auto",height:"calc(100% - 52px)"},drawerContainer:{display:"flex",height:"100%",background:e.palette.background.default},tabContainer:{borderRight:"0.5px solid #D5DFE9",overflow:"hidden",height:"100%",width:"100%"},tabName:{borderBottom:"0.5px solid #D5DFE9",display:"flex",justifyContent:"space-between",alignItems:"center",height:"64px",padding:e.spacing(0,6)},actionIcons:{margin:e.spacing(-2.4)},tabContent:{height:"calc(100vh - 57px - 60px)",overflowY:"auto",overflowX:"hidden"}})),documentUrl=config.documentUrl,Documentation=({path:e=documentUrl})=>{var t=useStyles$1()["classes"];const[n,r]=react.exports.useState(!0);return jsxRuntime.exports.jsxs("div",Object.assign({className:classNames(t.dRoot,"hide-in-percy")},{children:[n&&jsxRuntime.exports.jsx("div",Object.assign({className:t.loadingContainer},{children:jsxRuntime.exports.jsx(CircularProgress$1,{})})),jsxRuntime.exports.jsx("iframe",{"data-cy":"docs-iframe",title:"Document Iframe",style:{width:"100%",height:"100%"},src:e,frameBorder:"0",onLoad:function(){setTimeout(()=>{r(!1)},1e3)}})]}))},knowledgeBaseUrl=config["knowledgeBaseUrl"];function Knowledgebase({path:e=knowledgeBaseUrl}){var t=useStyles$1()["classes"];const[n,r]=react.exports.useState(!0);return jsxRuntime.exports.jsxs("div",Object.assign({className:t.kbRoot},{children:[n&&jsxRuntime.exports.jsx("div",Object.assign({className:t.loadingContainer},{children:jsxRuntime.exports.jsx(CircularProgress$1,{})})),jsxRuntime.exports.jsx("iframe",{"data-cy":"knowledgebase-iframe",title:"Knowledgebase Iframe",style:{width:"100%",height:"100%"},src:e,frameBorder:"0",onLoad:function(){r(!1)}})]}))}const defaultLocale="en-us",tabsList=[{label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-help-panel.au1+VZ",defaultMessage:"Knowledgebase",description:"Help Panel: Knowledgebase tab label"}),disabled:!1,url:"https://support.veritone.com/"},{label:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"os-help-panel.8bnkm8",defaultMessage:"Documentation",description:"Help Panel: Documentation tab label"}),disabled:!1,url:"https://docs.veritone.com/#/aiware/"}];function HelpCenter(){var e=useSelector(initialConfigSelector),t=useSelector(customKnowledgeBaseUrlSelector),n=useSelector(customDocsUrlSelector),r=useSelector(helpCenterSelectedTabIdSelector),i=useSelector(e=>null==e?void 0:e.panels),o=useStyles$1()["classes"],[a]=react.exports.useState(defaultLocale);const s=useDispatch();i=null==i?void 0:i.find(e=>"CUSTOM_HELP_PANEL_ID"===e.panelId),t=i&&t?t:e.knowledgeBaseURL,i=i&&n?n:e.docsURL;return jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getHelpPanelModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,Object.assign({locale:a},{children:jsxRuntime.exports.jsx("div",Object.assign({className:o.drawerContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({id:"setting-content",className:o.tabContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:o.tabContent},{children:jsxRuntime.exports.jsx("div",Object.assign({className:o.root},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.tabPanels},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:o.customTabs},{children:jsxRuntime.exports.jsx(CustomTabs,{selectedId:r,onChangeTab:e=>{s(updateSelectedTab(e,tabsList[e].url))},tabsList:tabsList})})),jsxRuntime.exports.jsxs(Box$1,Object.assign({className:o.tabPanels},{children:[jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:0},{children:jsxRuntime.exports.jsx(Knowledgebase,{path:t})})),jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:1},{children:jsxRuntime.exports.jsx(Documentation,{path:i})}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:o.aiWareIcon},{children:jsxRuntime.exports.jsx("img",{src:img$z,alt:"icon",draggable:"false"})}))]}))}))}))}))}))}))}))}var index_esm=Object.freeze({__proto__:null,HelpCenterPanel:HelpCenter,customDocsUrlSelector:customDocsUrlSelector,customKnowledgeBaseUrlSelector:customKnowledgeBaseUrlSelector,helpCenterSelectedTabIdSelector:helpCenterSelectedTabIdSelector,setCustomDocsUrl:setCustomDocsUrl,setCustomKnowledgeBaseUrl:setCustomKnowledgeBaseUrl,updateSelectedTab:updateSelectedTab});const useStyles=makeStyles()(()=>({dialog:{top:"125px",overflowX:"hidden",overflowY:"hidden",display:"flex",alignItems:"center",flexDirection:"column"},container:{borderRadius:"4px",backgroundColor:"#fff",width:"430px",overflow:"hidden",outline:0,boxShadow:"0px 0px 7px rgba(0, 0, 0, .25)"},header:{textTransform:"capitalize"},appListContainer:{width:"100%"},orgName:{fontWeight:"bold"}})),ApplicationDialog=()=>{const[e,t]=react.exports.useState(null),[n,r]=react.exports.useState(0);var i=useSelector(userSelector$2),o=useStyles()["classes"];const a=useSelector(initialConfigSelector),s=a.applicationId,l=useSelector(applicationSelector),c=useSelector(switchApiSelector);var u=(null===l||void 0===l?void 0:l.application)||[],d=null===l||void 0===l?void 0:l.status;var p=[...u].sort(function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}),f=u.findIndex(e=>e.id===s);useInterval(()=>{t(e=>e&&e-1)},e&&n<3?1e3:null),react.exports.useEffect(()=>{"success"!==(null===l||void 0===l?void 0:l.status)||1!==(null===l||void 0===l?void 0:l.application.length)||(null===l||void 0===l?void 0:l.application[0].id)===a.applicationId||e||(0===e?window.open(c+"/"+(null===l||void 0===l?void 0:l.application[0].id),"_self"):t(10))},[a,l,c,e]);return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(s)&&f<0&&"success"===d?jsxRuntime.exports.jsx(Modal$1,Object.assign({className:o.dialog,open:!0},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.container},{children:[jsxRuntime.exports.jsx(Typography$1,Object.assign({"data-test":"application-dialog-title",className:o.header,variant:"h1",sx:{px:"30px",pt:"30px"}},{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-title",defaultMessage:"Application Not Available",description:"Title for modal"})})),jsxRuntime.exports.jsxs(Typography$1,Object.assign({variant:"body2",sx:{px:"30px",pt:"10px"}},{children:[jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-message1",defaultMessage:"Looks like you switched organizations, your current application is not available in the current",description:"Description current application not available"})," ",jsxRuntime.exports.jsx("span",Object.assign({className:o.orgName},{children:null!=(f=null==i?void 0:i.organization)&&f.organizationName?i.organization.organizationName:""}))," ",jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-message2",defaultMessage:"organization you are viewing.",description:"Description current application not available"})]})),jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"body2",sx:{px:"30px",pt:"20px"}},{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-message3",defaultMessage:"Please select from the available applications below to be redirected.",description:"Instructions for current application not available"})})),e&&jsxRuntime.exports.jsx(Typography$1,Object.assign({variant:"body2",sx:{px:"30px",pt:"20px"},onClick:()=>{r(e=>e+1)}},{children:jsxRuntime.exports.jsx(FormattedMessage$1,{id:"js-core-app-dialog-countdown-message",defaultMessage:"You will be automatically forwarded to {appName} in {timeRemaining} seconds.",description:"Instructions for current application not available",values:{timeRemaining:e,appName:u[0].name}})})),jsxRuntime.exports.jsx("div",Object.assign({className:o.appListContainer},{children:jsxRuntime.exports.jsx(AppList,{title:"",selectedAppId:null,onSelectApplication:e=>{window.open(c+"/"+e,"_self")},applications:p,useGrid:!1,row:3})}))]}))})):null};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,checkAndDecodeBase64String=t=>{if(null==t||!t.trim())return t;try{return window.btoa(window.atob(t))==t?window.atob(t):t}catch(e){return t}};function SnackbarRenderer(){return jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getSnackbarModule()]},{children:jsxRuntime.exports.jsx(CustomSnackbar,{})}))}))}store$4.addModules([getWidgetsModule(),getPanelsModule(registry,registryLookup),getDataModule(),getConfigModule(),getAuthModule()]);let hasLoaded=!1;const AppBarPreLoader=()=>{var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&!hasLoaded&&(hasLoaded=!0,setTimeout(()=>{store$4.addModules([getAppbarPanelModule()])},0)),null};function ApplicationDialogPreLoader(){var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&hasLoaded?jsxRuntime.exports.jsx(ApplicationDialog,{}):null}const authHelpers={updateToken(e){e?store$4.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{store$4.dispatch(logout())},1e3)):store$4.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&store$4.dispatch(updateActivityStatus$1())}};function PortalRenderer(){return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(SupportCenterPixel,{}),jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AppBarPreLoader,{})}))]})}function ApplicationDialogRenderer(){return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(ApplicationDialogPreLoader,{})})}))})}const ThemeInitializer=()=>(useTheme(),null),root=getElement("aiWARE"),reactDOMroot=(root.classList.add("aiware-el"),client$1.createRoot(root)),mountWidget=("_auth"===window.name?handleImplicitRedirect(window.location.hash,window.opener):reactDOMroot.render(jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsxs(AIWareThemeProvider$1,{children:[jsxRuntime.exports.jsx(PortalRenderer,{}),jsxRuntime.exports.jsx(SnackbarRenderer,{}),jsxRuntime.exports.jsx(ApplicationDialogRenderer,{}),jsxRuntime.exports.jsx(ThemeInitializer,{})]})})),(e,t)=>{var n=getUniqueID(),{name:e,elementId:r,config:i}=e;return e&&r&&i||console.error("[aiwarejs-error]: `mountWidget` function should include all the following params: name, elementId, config"),store$4.dispatch(mountWidget$1({elementId:r,widgetName:e,widgetConfig:i,widgetId:n,onComplete:t})),n}),unmountWidget=e=>(store$4.dispatch(unmountWidget$1(e)),!0),mountPanel=(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:r}=e;store$4.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:r}));const i=[...(null==(e=null==r?void 0:r.header)?void 0:e.actions)||[],...(null==(e=null==r?void 0:r.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);r={id:n,sagas:[function*(){yield takeEvery$1(i.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return store$4.addModule(r),n},unmountPanel=e=>(store$4.dispatch(unmountPanel$1(e)),!0),hidePanel=e=>(store$4.dispatch(hidePanel$1(e)),!0),unmountAllPanel=()=>{store$4.dispatch(unmountAllPanel$1(""))};function init(e,t){var n;validateConfig(e)&&(n=e["authToken"],n=checkAndDecodeBase64String(n||""),store$4.dispatch(getInitConfig(Object.assign(Object.assign({},e),{authToken:n,onComplete:t}))))}function helpCenter(){var e=new HelpCenter$2({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}}function dataCenter(){var e=new DataCenter$1;return{openImporterPanel:e.openImporterPanel.bind(e)}}function handleEvents(){function n(e){if(!e||"string"!=typeof e)throw new SdkError("Please provide a valid event name!");if(!SdkEvents[e])throw new SdkError("Unknown event: "+e)}return{on:function(e,t){n(e),sdkEventManager.on.call(sdkEventManager,e,t)},off:function(e){n(e),sdkEventManager.off.call(sdkEventManager,e)}}}const mountPanelForResponse=e=>mountPanelForResponse$1(e,store$4),aiwareEvents=handleEvents();window&&(window.aiWare_initTesting=()=>{window.aiWare_store=store$4,window.aiWare_theme={darkTheme:darkTheme$1,lightTheme:lightTheme$1}},window.aiware={init:init,auth:authHelpers,helpCenter:helpCenter(),dataCenter:dataCenter(),on:aiwareEvents.on,off:aiwareEvents.off,hidePanel:hidePanel,unmountPanel:unmountPanel,store:store$4,registry:registry,registerComponent:registerComponent,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,mountPanel:mountPanel,mountPanelForResponse:mountPanelForResponse,unmountWidget:unmountWidget,version:"sdk_release_version",commit:"b08c6da94",releaseDate:"2023-06-12T19:53:43.386Z"});export{DynamicModuleLoader as $,AIWareIntlProvider as A,Box$1 as B,resetPasswordRequest as C,InputAdornment$1 as D,IconButton$1 as E,FormattedMessage$1 as F,Grid$1 as G,Select$1 as H,InputLabel$1 as I,Location as J,Button$1 as K,LoadingButton$1 as L,MenuItem$1 as M,Divider$1 as N,OutlinedInput$1 as O,Provider$2 as P,createTheme$1 as Q,systemStyled as R,Switch$1 as S,Typography$1 as T,useThemeProps$1 as U,createAction as V,createReducer as W,createSlice as X,ENGINE_OWNER_TYPES as Y,ENGINE_FILTER_TYPES as Z,_extends as _,generateUtilityClasses as a,img$p as a$,preferredLanguageSelector as a0,baseUrlSelector as a1,rootApiSelector as a2,sessionTokenSelector as a3,graphEndpointSelector as a4,controllerNodeRedImageSelector as a5,controllerUrlSelector as a6,automateControllerUrlSelector as a7,flowCenterDialogSelector as a8,automateUrlSelector as a9,FormGroup$1 as aA,FormControlLabel$1 as aB,Checkbox$1 as aC,fetchTemplateGalleryFallback as aD,Card$1 as aE,CardContent$1 as aF,img$l as aG,CardActions$1 as aH,flowStyles as aI,NoResults as aJ,CircularProgress$1 as aK,img$b as aL,Dialog$1 as aM,setApiEndpoint as aN,TableContainer$1 as aO,Table$1 as aP,TableHead$1 as aQ,TableRow$1 as aR,TableCell$1 as aS,TableSortLabel$1 as aT,TableBody$1 as aU,img$g as aV,default_1 as aW,Popper$1 as aX,ClickAwayListener as aY,Fade$1 as aZ,img$s as a_,Portal$1 as aa,flowCenterDialogReducer as ab,List$2 as ac,ListItem$1 as ad,ListItemIcon$1 as ae,ListItemText$1 as af,flowCenterDialogAction as ag,all as ah,img$n as ai,img$o as aj,img$q as ak,img$r as al,Tooltip$1 as am,img$h as an,img$F as ao,Skeleton$1 as ap,takeLatest$1 as aq,fetchAllTags as ar,put as as,select as at,fetchFlows as au,call$f as av,fetchTemplateGallery as aw,isRevisionsExistOnServerRequest as ax,FormLabel$1 as ay,default_1$b as az,styled$1 as b,FormHelperText$2 as b$,img$P as b0,img$B as b1,DialogTitle$1 as b2,DialogContent$1 as b3,DialogActions$1 as b4,Snackbar$1 as b5,default_1$6 as b6,img$i as b7,img$k as b8,img$T as b9,__spread as bA,TransitionGroup$1 as bB,connect$1 as bC,Bookmark as bD,EngineFlagIcons as bE,createAsyncThunk as bF,withStyles as bG,getConfigModule as bH,getAuthModule as bI,getSnackbarModule as bJ,AIWareCacheProvider as bK,img$Q as bL,img$d as bM,img$c as bN,isEmpty_1 as bO,Backdrop$1 as bP,getDefaultMiddleware as bQ,isNil_1 as bR,UpDown as bS,Icon$1 as bT,get_1 as bU,map_1 as bV,keys_1 as bW,RadioGroup$1 as bX,Avatar$1 as bY,img$v as bZ,baseGraphQLApi as b_,Tabs$2 as ba,Tab$2 as bb,deleteEngine as bc,fetchEngine as bd,img$j as be,AIWareFormatMessage as bf,FormattedDate as bg,fetchVeritoneGraphQLApi as bh,useTheme as bi,KeyboardArrowRight as bj,KeyboardArrowLeft as bk,useId as bl,InputUnstyled as bm,isHostComponent as bn,getDefaultExportFromNamespaceIfNotNamed as bo,commonjsRequire as bp,_typeof$4 as bq,_inheritsLoose$2 as br,_assertThisInitialized$1 as bs,React as bt,hoistNonReactStatics_cjs as bu,_defineProperty$1 as bv,reactDom as bw,Transition$1 as bx,__awaiter$c as by,__generator$2 as bz,Paper$1 as c,_stringToArray as c$,img$f as c0,StyledEngineProvider as c1,ThemeProvider as c2,lightTheme$1 as c3,CssBaseline as c4,Hide as c5,has_1 as c6,showMessage as c7,MessageSeverity as c8,Radio$2 as c9,Menu$1 as cA,Edit as cB,Upload as cC,Delete as cD,CustomTabs as cE,useBackupImg as cF,img$1y as cG,validate as cH,configSelector as cI,baseGraphQLApiWithError as cJ,VerifiedFilled as cK,Add as cL,ExpandLess as cM,ExpandMore as cN,Collapse$1 as cO,img$15 as cP,Filter$1 as cQ,DynamicTable as cR,useTheme$3 as cS,getThemeProps as cT,useEnhancedEffect$1 as cU,React$1 as cV,_arrayPush as cW,isArray_1 as cX,_baseToString as cY,_baseTrim as cZ,_castSlice as c_,createSvgIcon$2 as ca,_createCompounder as cb,_baseIteratee as cc,isArrayLike_1 as cd,toInteger_1 as ce,_toPropertyKey as cf,_setPrototypeOf$3 as cg,commonjsGlobal$1 as ch,combineReducers as ci,createSelector$1 as cj,fork as ck,AIWareThemeProvider$1 as cl,Stack$4 as cm,Close$1 as cn,FullscreenExit as co,Fullscreen as cp,TabPanel as cq,default_1$8 as cr,unmountPanel$1 as cs,AvailableComponents as ct,delay$1 as cu,hidePanel$1 as cv,mountPanel$1 as cw,DialogContentText$1 as cx,userSelector$2 as cy,MoreVert$1 as cz,capitalize$2 as d,_overArg as d$,toString_1 as d0,ReactIs as d1,upperFirst_1 as d2,isString_1 as d3,_baseGet as d4,_baseSlice as d5,_castPath as d6,_toKey as d7,_isIndex as d8,channel$1 as d9,useForkRef as dA,getDefaultExportFromCjs as dB,isObject_1 as dC,MoreHor as dD,takeEvery$1 as dE,EngineCategoryIcons as dF,selectApiConfigs$2 as dG,panelsSelector as dH,tabsClasses$1 as dI,AlarmTwo as dJ,EditList as dK,Chip$1 as dL,usePreviousProps$1 as dM,setRef as dN,inputClasses$1 as dO,inputBaseClasses$1 as dP,outlinedInputClasses$1 as dQ,filledInputClasses$1 as dR,ClearIcon as dS,ArrowDropDownIcon as dT,_arrayMap as dU,_baseEach as dV,_arrayFilter as dW,_getNative as dX,eq_1 as dY,_root as dZ,_Uint8Array as d_,useIntl as da,VideoCamera as db,Image$1 as dc,Sound as dd,Description as de,toNumber_1 as df,ProgressStepper as dg,size_1 as dh,take as di,CurlyBraces as dj,UnknownDocument as dk,sdkEventManager as dl,SdkEvents as dm,SdkError as dn,EngineClassIcons as dp,Mode2 as dq,EngineModeIcons as dr,DeploymentModelIcons as ds,guid as dt,forceReflow as du,alpha as dv,useTheme$2 as dw,useControlled as dx,useEventCallback as dy,ButtonBase$1 as dz,_objectWithoutPropertiesLoose$2 as e,Settings$2 as e$,_isPrototype as e0,isObjectLike_1 as e1,_baseGetTag as e2,_arrayLikeKeys as e3,isArguments_1 as e4,isBuffer$3 as e5,isFunction_1 as e6,isTypedArray_1 as e7,_Stack as e8,_baseFor as e9,emphasize as eA,useSlotProps as eB,_arraySome as eC,injectIntl as eD,ErrorBoundary$1 as eE,Process as eF,Information as eG,NewFolder as eH,SpecialFolder as eI,User as eJ,Source as eK,Search$1 as eL,selectIsOLPEnabled as eM,ListItemSecondaryAction$1 as eN,getLibraryModule as eO,cmsUrlSelector as eP,betaFeaturesSelector as eQ,SearchStructuredData as eR,Grow$1 as eS,UserAddFilled as eT,Popover$1 as eU,MenuList$1 as eV,MoveFolder as eW,Slide$1 as eX,img$9 as eY,selectPanelByPanelName as eZ,FullScreenContainer as e_,identity_1 as ea,_isIterateeCall as eb,isSymbol_1 as ec,_baseMap as ed,_baseUnary as ee,memoizeOne as ef,createBox$1 as eg,StepperContext$1 as eh,StepContext$1 as ei,SvgIcon$1 as ej,StepConnector$1 as ek,_Symbol as el,_Set as em,_setToArray as en,_SetCache as eo,_cacheHas as ep,img$M as eq,img$L as er,img$1u as es,img$1t as et,img$1s as eu,img$J as ev,img$1w as ew,img$I as ex,authSelector as ey,ListItemAvatar$1 as ez,clsx as f,Slider$1 as f$,Hamburger as f0,List as f1,Download as f2,Badge$1 as f3,selectUserOrgEdgeVersion as f4,EditAttributes as f5,gqlIntrospection as f6,ProcessingDetail as f7,img$u as f8,img$w as f9,formatBytes as fA,LinearProgress$1 as fB,NotInterested as fC,mountPanelForResponse$1 as fD,Users as fE,ApplicationTabIcon as fF,SecurityGroup as fG,getOrganizationPanelModule as fH,Lock2 as fI,NoApps as fJ,green$1 as fK,md5 as fL,selectIsSuperAdmin as fM,organizations_selector as fN,actions$5 as fO,AddUser as fP,ArrowUp as fQ,ArrowDown as fR,selectors as fS,LibraryDropdown as fT,Remove as fU,Save as fV,Input$3 as fW,Copy as fX,ArrowForward as fY,Modal$1 as fZ,_baseIsEqual as f_,img$3 as fa,FilterRemove as fb,CheckCircle as fc,FolderOpen as fd,Voice as fe,useDoubleClick as ff,FolderFilled as fg,Time as fh,img$x as fi,Undefined as fj,PodcastSource as fk,YoutubeSource as fl,TVSource as fm,RadioSource as fn,selectOrgId as fo,selectIsUserAdmin as fp,AvatarGroup$1 as fq,ErrorState$2 as fr,NullState$2 as fs,Group as ft,PermissionChangedAction as fu,Lock as fv,AddGroup as fw,initialConfigSelector as fx,ConfirmationModal as fy,EnumHelpers as fz,generateUtilityClass as g,_getSymbols as g0,stubArray_1 as g1,_baseGetAllKeys as g2,_getTag as g3,_nodeUtil as g4,_getAllKeys as g5,_castFunction as g6,Article as g7,Task as g8,View as g9,FlowCenter2 as gA,registry as gB,registerComponent as gC,AvailableWidgets as gD,updatePanelMicroFrontendProps as gE,setData as gF,root as gG,mountWidget as gH,unmountWidget as gI,mountPanel as gJ,unmountPanel as gK,hidePanel as gL,unmountAllPanel as gM,init as gN,aiwareEvents as gO,_objectSpread2 as ga,serialize as gb,stringify$2 as gc,compile as gd,Check as ge,FormattedRelativeTime$1 as gf,BottomQueue as gg,TopQueue as gh,Pause as gi,Cancel as gj,Folder as gk,Hidden as gl,toFinite_1 as gm,_baseForOwn as gn,_arrayReduce as go,hasIn_1 as gp,useSyncExternalStoreExports as gq,Packages as gr,Resources$1 as gs,selectUserCanCreatePackage as gt,Engines as gu,PackagesAvatar as gv,actionChannel as gw,cancelled as gx,flush$3 as gy,cancel as gz,composeClasses as h,createSvgIcon$1 as i,jsxRuntime as j,interopRequireDefault as k,useDispatch as l,makeStyles as m,useSelector as n,authStatusSelector as o,authContextSelector as p,AuthContext as q,react as r,store$4 as s,lodash as t,useThemeProps as u,Alert$1 as v,authErrorMessage as w,FormControl$1 as x,TextField$1 as y,classNames as z};
|
package/js-core.esm.js.gz
CHANGED
|
Binary file
|
package/js-core.esm49.js
CHANGED
|
@@ -82,4 +82,4 @@ import{X as createSlice,cj as createSelector,a2 as rootApiSelector,a4 as graphEn
|
|
|
82
82
|
createdDateTime
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
}`);return 0===(null==(e=null==e?void 0:e.unsupportedArgs)?void 0:e.length)});d()||l||(c(!0),e&&n?s([...o,appUsersTab,settingsTab]):s([...o,settingsTab]))})},[t]),jsxRuntime.exports.jsxs(Box,Object.assign({className:a.mainLayout},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:a.tabsContainer,"data-testid":"application-details-panel-tabs-list"},{children:jsxRuntime.exports.jsx("div",Object.assign({className:a.tabsParent},{children:jsxRuntime.exports.jsx(CustomTabs,{selectedId:r,onChangeTab:e=>{i(e)},tabsList:o})}))})),jsxRuntime.exports.jsx(Divider,{className:a.divider}),jsxRuntime.exports.jsxs(Box,Object.assign({className:a.tabPanels},{children:[jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:0},{children:jsxRuntime.exports.jsx(BasicInfo,{})})),n&&jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:1},{children:jsxRuntime.exports.jsx(AppUsers,{})})),!d()&&jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:n?2:1},{children:jsxRuntime.exports.jsx(AppSettings,{setInstallationConfig:e})}))]}))]}))},Content=({applicationId:e,initValue:t})=>{var n=useSelector(selectStatus);const r=useDispatch();var i=useStyles$1({})["classes"],[a,o]=(react.exports.useEffect(()=>{e?r(actions$1.fetchApplicationStart({applicationId:e,initValue:t})):t&&r(actions$1.setInitialApplicationValue(t))},[r,e,t]),react.exports.useState([]));return n===Status.loading&&jsxRuntime.exports.jsxs(Container,Object.assign({className:i.panelLoading},{children:[jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",animation:"wave",width:400,height:200}),jsxRuntime.exports.jsx(Divider,{sx:{my:2}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",animation:"wave",width:960,height:300})]}))||n===Status.success&&jsxRuntime.exports.jsxs(Container,Object.assign({className:i.panelContent},{children:[jsxRuntime.exports.jsx(DetailHeader,{installationConfig:a}),jsxRuntime.exports.jsx(MainLayout,{setInstallationConfig:o})]}))||n===Status.failure&&jsxRuntime.exports.jsx(Container,{children:jsxRuntime.exports.jsx(ErrorState,{onRetry:()=>{r(actions$1.fetchApplicationStart({applicationId:e,initValue:t}))},errorMessage:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.application-details-panel-error-message",defaultMessage:"Something went wrong while loading your application details.",description:"error message shown when the application details panel encounters a load error"})})})||jsxRuntime.exports.jsx(Container,{children:"Please wait..."})},PanelContainer$1=({children:e})=>{const t="APPLICATION_DETAILS_PANEL",n=useSelector(selectModifiedUsers),[r,i]=react.exports.useState(!1),a=useDispatch();var o=useStyles$1({})["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:o.panelRoot,"data-testid":"application-details-panel"},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.panelContainer},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:o.panelHeader},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({"data-testid":"application-details-panel-title",variant:"h1"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.detail-panel-title",defaultMessage:"Application Details",description:"The title of the Application Details panel"})})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.detail-panel-close",defaultMessage:"Close Panel",description:"The title of the Application Details panel close button"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>{0<n.length?i(!0):(a(actions$1.cancelApplicationUserChanges()),a(hidePanel(t)))},"aria-labelledby":"group-details-close-panel","data-testid":"group-details-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:o.panelBody},{children:e})),jsxRuntime.exports.jsx(ConfirmationModal,{showConfirmationModal:r,closeConfirmationModal:()=>{i(!1)},onClosePanel:()=>{a(actions$1.cancelApplicationUserChanges()),a(hidePanel(t)),i(!1)}})]}))}))},ApplicationDetailsPanel=({applicationId:e,initValue:t})=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getApplicationDetailsPanelModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(PanelContainer$1,{children:jsxRuntime.exports.jsx(Content,{applicationId:e,initValue:t})})})})}))}),styles$1=makeStyles()(e=>({root:{display:"flex",flexDirection:"column",height:"calc(100vh - 55px - 10px)",alignItems:"stretch"},addUsers:{padding:e.spacing(0,6)},titleDescription:{color:"#5C6269",fontWeight:400,maxWidth:"463px",marginTop:e.spacing(1)},usersTitle:{fontWeight:400,color:"#2A323C",padding:e.spacing(4,0,1)},addUsersSubTitle:{color:"#5C6269",fontWeight:400},panelContent:{display:"flex",flexDirection:"column",flexGrow:1,padding:e.spacing(0,3,0,3),overflowY:"auto"},btnContainer:{alignItems:"end",display:"flex",justifyContent:"flex-end",marginTop:"12px",marginBottom:"30px",marginRight:"20px"},buttons:{marginRight:"10px"},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},header:{alignItems:"center",display:"flex",justifyContent:"space-between",padding:e.spacing(0,0,0,6)},headerTitle:{color:"#2A323C"},autocomplete:{"& .Sdk-MuiAutocomplete-tag":{fontWeight:500,background:"#FFFFFF",boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.15)",height:"30px",border:"none"},"& .Sdk-MuiChip-deleteIcon":{fill:"#555F7C",width:"15px",height:"15px"}},renderMember:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px"},renderAvatar:{height:"20px",width:"20px",marginRight:"5px",fontSize:"10px"},memberInfoContainer:{display:"flex",justifyContent:"space-between",padding:"10px",marginBottom:"13px",height:"30px !important"},member:{display:"flex"},memberAvatar:{border:"2px solid #FFFFFF",height:"35px",width:"35px",marginRight:"14px"},groupMembersName:{width:"100%",height:"52px",margin:"20px auto"},currentMember:{display:"flex",alignItems:"center",color:e.palette.text.disabled,paddingRight:e.spacing(2),lineHeight:"20px"},listContainer:{display:"flex",flexDirection:"column"}}));var whitespaces$2="\t\n\v\f\r \u2028\u2029\ufeff",uncurryThis=functionUncurryThis,requireObjectCoercible=requireObjectCoercible$4,toString=toString$4,whitespaces$1=whitespaces$2,replace=functionUncurryThis("".replace),whitespace="["+whitespaces$1+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(t){return function(e){e=toString(requireObjectCoercible(e));return 1&t&&(e=replace(e,ltrim,"")),e=2&t?replace(e,rtrim,""):e}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},PROPER_FUNCTION_NAME=functionName.PROPER,fails=fails$i,whitespaces=whitespaces$2,non="
",stringTrimForced=function(e){return fails(function(){return!!whitespaces[e]()||non[e]()!==non||PROPER_FUNCTION_NAME&&whitespaces[e].name!==e})},$=_export,$trim=stringTrim.trim,forcedStringTrimMethod=stringTrimForced;$({target:"String",proto:!0,forced:stringTrimForced("trim")},{trim:function(){return $trim(this)}});const isSelectReason=(e,t)=>"selectOption"===e,formattedName=e=>{var t;return""+(null==(t=null==(t=e.firstName)?void 0:t.charAt(0))?void 0:t.toUpperCase())+(null==(e=null==(t=e.lastName)?void 0:t.charAt(0))?void 0:e.toUpperCase())},UserSearch=()=>{var[e,,]=react.exports.useState(null);const[t,n]=react.exports.useState(!1),r=styles$1()["classes"];var i=useIntl();const a=useDispatch(),o=useSelector(selectAllUsers);var s=useSelector(selectUserSearchResults),l=useSelector(selectUsersStatus);const c=t=>!!o.find(e=>e.id===t),u=formattedMessages(i)["addNamesMessage"];const d=lodash.exports.debounce(e=>{e=e.target.value.trim();3<=e.length&&a(actions$1.searchApplicationUsersStart(e))},300);return jsxRuntime.exports.jsx(Autocomplete,{value:e,freeSolo:!0,clearOnBlur:!0,open:t,onOpen:()=>{n(!0)},onClose:()=>{n(!1)},openOnFocus:!0,loading:"loading"===l,loadingText:"success"===l?jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",height:35,"data-testid":"applications-add-user-autocomplete-skeleton-loading"}):jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2","data-testid":"applications-add-user-autocomplete-no-records-were-found"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.add-user.autocomplete-no-records-were-found-message",defaultMessage:"No records were found",description:"No records were found message"})})),id:"tags-outlined",options:s,getOptionLabel:e=>e.firstName+" "+e.lastName,onChange:(e,t,n)=>{isSelectReason(n)&&a(actions$1.selectUser(t))},limitTags:0,renderTags:e=>e.map(()=>null),renderOption:(e,t)=>null!=t&&t.email?react.exports.createElement("li",Object.assign({},e,{onClick:c(t.id)?()=>{}:e.onClick,key:t.email,className:r.memberInfoContainer,style:{cursor:c(t.id)?"default":"pointer"},"data-testid":"applications-add-user-lookup-option."+t.id}),jsxRuntime.exports.jsxs(Box,Object.assign({className:r.member},{children:[t.imageUrl?jsxRuntime.exports.jsx(Avatar,{alt:t.firstName,src:t.imageUrl,className:r.memberAvatar,sx:{cursor:"pointer"}}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:r.memberAvatar},{children:formattedName(t)})),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({sx:{cursor:c(t.id)?"default":"pointer"},variant:"h3","data-testid":"applications-add-user-suggestion-name"},{children:t.firstName+" "+t.lastName})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2","data-testid":"applications-add-user-suggestion-email"},{children:t.email}))]})]})),c(null==t?void 0:t.id)&&jsxRuntime.exports.jsx(Typography,Object.assign({className:r.currentMember,variant:"subtitle2","data-testid":"applications-add-user-lookup-current-user"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.add-user.current-user-label",defaultMessage:"Current User",description:"current user label for application"})}))):jsxRuntime.exports.jsx("li",{children:"No users found"}),renderInput:e=>jsxRuntime.exports.jsx(TextField,Object.assign({},e,{id:"application-users-description","data-testid":"admin-center-applications-add-user-description",InputLabelProps:{shrink:!0},inputProps:Object.assign(Object.assign({},e.inputProps),{value:t?e.inputProps.value:"",onKeyDown:e=>{"Enter"===e.key&&e.stopPropagation()}}),placeholder:u,className:r.groupMembersName,onChange:d})),className:r.autocomplete})},styles=makeStyles()(e=>({container:{},listContainer:{display:"flex",flexDirection:"column"},divider:{width:"100%"},userContainer:{display:"flex",cursor:"pointer"},clickDisabled:{cursor:"not-allowed"},defaultOrgBadge:{borderRadius:"2px",height:"16px",backgroundColor:"#F4F4F4",border:"0.5px solid #9CA8B4",color:"#5C6269",marginLeft:e.spacing(2.8),padding:e.spacing(.2,2),"& >span":{padding:0}},userName:{display:"inline-block",fontSize:"16px!important",fontWeight:"600!important",lineHeight:"20px"},userSubtitle:{fontSize:"14px!important",fontWeight:400,lineHeight:"20px"},textContainer:{display:"flex","& > .Sdk-MuiListItemText-root":{display:"flex",flexDirection:"column",justifyContent:"center"}},actionContainer:{display:"flex",flexDirection:"column"},userAvatar:{border:"2px solid #FFFFFF",height:"35px",width:"35px",marginRight:"14px"},roleSelect:{color:"black",fontWeight:400,fontSize:"12px",width:"140px",maxHeight:"36px",paddingTop:"1px",transform:"translateY(1px)",marginRight:"14px","& fieldset":{border:"1px solid #D5DFE9"}}})),UserListItem=({id:t,lastItem:e})=>{var n=useSelector(selectUser(t)),r=useSelector(selectApplicationRoles),i=useSelector(selectApplicationKey),a=react.exports.useRef(getApplicationRole(i,n.roles));const o=react.exports.useRef(),[s,l]=react.exports.useState(getApplicationRole(i,n.roles)),c=useDispatch();i=styles().classes;react.exports.useEffect(()=>{var e;s===NO_ROLE&&null!=(e=o.current)&&e.scrollIntoView()},[s]);return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs(ListItem,Object.assign({className:i.container,disableGutters:!0,"data-testid":"os-admin-center-application-add-users-list-item","data-userid":t},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:i.userContainer,ref:e=>{e&&(o.current=e)}},{children:[jsxRuntime.exports.jsx(ListItemAvatar,Object.assign({sx:{pt:1.5}},{children:n.imageUrl?jsxRuntime.exports.jsx(Avatar,{alt:n.firstName,src:n.imageUrl,className:i.userAvatar,sx:{cursor:"pointer"}}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:i.userAvatar,sx:{cursor:"pointer",backgroundColor:n.avatarColor}},{children:formattedName$1(n)}))})),jsxRuntime.exports.jsx("span",Object.assign({className:i.textContainer},{children:jsxRuntime.exports.jsx(ListItemText,{primary:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"body1",className:i.userName,"data-testid":"os-admin-center-application-add-users-list-item-name."+t},{children:[n.firstName," ",n.lastName]})),secondary:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle2",className:i.userSubtitle},{children:n.email}))})}))]})),jsxRuntime.exports.jsx(ListItemSecondaryAction,{children:jsxRuntime.exports.jsx("div",Object.assign({className:i.actionContainer},{children:jsxRuntime.exports.jsxs(Select,Object.assign({value:s,onChange:e=>{e=e.target.value;l(e),c(actions$1.updateApplicationUserRole({userId:t,roleId:e}))},className:i.roleSelect,"data-testid":"os-admin-center-application-add-users-role-input."+t},{children:[a.current===NO_ROLE&&jsxRuntime.exports.jsx(MenuItem,Object.assign({value:NO_ROLE,"data-testid":`os-admin-center-application-add-users-role-item.${t}.NO_ROLE`},{children:"No Role"}),NO_ROLE),r.map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({value:e.id,"data-testid":`os-admin-center-application-add-users-role-item.${t}.`+e.id},{children:e.name}),e.id))]}))}))})]})),!e&&jsxRuntime.exports.jsx(Divider,{className:i.divider})]})},UserList=()=>{const n=useSelector(selectUserIds);var e=styles$1()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:e.listContainer,"data-testid":"os-admin-center-applications-add-user-list"},{children:jsxRuntime.exports.jsx(List,{children:n.map((e,t)=>jsxRuntime.exports.jsx(UserListItem,{id:e,lastItem:t===n.length-1},e))})}))},PANEL_ID="ADD_APPLICATION_USERS_PANEL",PanelContent=({applicationId:e,applicationKey:t})=>{const n=useDispatch();return react.exports.useEffect(()=>{n(actions$1.initApplicationUsers({applicationId:e,applicationKey:t}))},[n,e,t]),jsxRuntime.exports.jsxs(Container,{children:[jsxRuntime.exports.jsx(UserSearch,{}),jsxRuntime.exports.jsx(UserList,{})]})},PanelContainer=({children:e})=>{const[t,n]=react.exports.useState(!1);var r=styles$1()["classes"];const i=useSelector(selectModifiedUsers),a=useDispatch();const o=()=>{a(actions$1.cancelApplicationUserChanges()),a(hidePanel(PANEL_ID))};return jsxRuntime.exports.jsxs(Container,Object.assign({className:r.root,"data-testid":"os-admin-center-applications-add-user-panel"},{children:[jsxRuntime.exports.jsxs("header",Object.assign({className:r.header},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:r.headerTitle},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user-panel.title",defaultMessage:"Add Users",description:"title of the Add Users panel"})})),jsxRuntime.exports.jsx("div",Object.assign({className:r.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user-panel.close",defaultMessage:"Close Panel",description:"tooltip message on the add user panel for the close panel button"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({size:"large",onClick:o},{children:jsxRuntime.exports.jsx(default_1$1,{})}))}))}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:r.addUsers},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",className:r.titleDescription},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user-panel.subtitle",defaultMessage:"Add Users to this Application by giving them an application role.",description:"the subtitle of the add users panel"})}))})),jsxRuntime.exports.jsx("div",Object.assign({className:r.panelContent},{children:e})),jsxRuntime.exports.jsxs("div",Object.assign({className:r.btnContainer},{children:[jsxRuntime.exports.jsx(Button,Object.assign({color:"inherit",onClick:()=>{i.length?n(!0):o()},className:r.buttons,"data-testid":"os-admin-center-application-add-users-cancel-btn"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user.cancel-button",defaultMessage:"Cancel",description:"the cancel button on the admin center applications add users panel"})})),jsxRuntime.exports.jsx(Button,Object.assign({color:"primary",variant:"contained",disabled:0===i.length,onClick:()=>{a(actions$1.saveApplicationUsersStart()),a(hidePanel(PANEL_ID))},"data-testid":"os-admin-center-application-add-users-save-btn"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user.save-button",defaultMessage:"Save",description:"the save button on the admin center applications add users panel"})})),jsxRuntime.exports.jsx(ConfirmationModal,{showConfirmationModal:t,closeConfirmationModal:()=>{n(!1)},onClosePanel:()=>{n(!1),o()}})]}))]}))},AddUsersPanel=({applicationId:e,applicationKey:t})=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getApplicationDetailsPanelModule()]},{children:jsxRuntime.exports.jsx(PanelContainer,{children:jsxRuntime.exports.jsx(PanelContent,{applicationId:e,applicationKey:t})})}))})});export{AddUsersPanel,ApplicationDetailsPanel,ApplicationsTab,Content,actions,getAdminCenterApplicationsModule,getApplicationDetailsPanelModule,initialState,namespace,rootReducer};
|
|
85
|
+
}`);return 0===(null==(e=null==e?void 0:e.unsupportedArgs)?void 0:e.length)});d()||l||(c(!0),e&&n?s([...o,appUsersTab,settingsTab]):s([...o,settingsTab]))})},[t]),jsxRuntime.exports.jsxs(Box,Object.assign({className:a.mainLayout},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:a.tabsContainer,"data-testid":"application-details-panel-tabs-list"},{children:jsxRuntime.exports.jsx("div",Object.assign({className:a.tabsParent},{children:jsxRuntime.exports.jsx(CustomTabs,{selectedId:r,onChangeTab:e=>{i(e)},tabsList:o})}))})),jsxRuntime.exports.jsx(Divider,{className:a.divider}),jsxRuntime.exports.jsxs(Box,Object.assign({className:a.tabPanels},{children:[jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:0},{children:jsxRuntime.exports.jsx(BasicInfo,{})})),n&&jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:1},{children:jsxRuntime.exports.jsx(AppUsers,{})})),!d()&&jsxRuntime.exports.jsx(TabPanel,Object.assign({value:r,index:n?2:1},{children:jsxRuntime.exports.jsx(AppSettings,{setInstallationConfig:e})}))]}))]}))},Content=({applicationId:e,initValue:t})=>{var n=useSelector(selectStatus);const r=useDispatch();var i=useStyles$1({})["classes"],[a,o]=(react.exports.useEffect(()=>{e?r(actions$1.fetchApplicationStart({applicationId:e,initValue:t})):t&&r(actions$1.setInitialApplicationValue(t))},[r,e,t]),react.exports.useState([]));return n===Status.loading&&jsxRuntime.exports.jsxs(Container,Object.assign({className:i.panelLoading},{children:[jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",animation:"wave",width:400,height:200}),jsxRuntime.exports.jsx(Divider,{sx:{my:2}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",animation:"wave",width:960,height:300})]}))||n===Status.success&&jsxRuntime.exports.jsxs(Container,Object.assign({className:i.panelContent},{children:[jsxRuntime.exports.jsx(DetailHeader,{installationConfig:a}),jsxRuntime.exports.jsx(MainLayout,{setInstallationConfig:o})]}))||n===Status.failure&&jsxRuntime.exports.jsx(Container,{children:jsxRuntime.exports.jsx(ErrorState,{onRetry:()=>{r(actions$1.fetchApplicationStart({applicationId:e,initValue:t}))},errorMessage:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.application-details-panel-error-message",defaultMessage:"Something went wrong while loading your application details.",description:"error message shown when the application details panel encounters a load error"})})})||jsxRuntime.exports.jsx(Container,{children:"Please wait..."})},PanelContainer$1=({children:e})=>{const t="APPLICATION_DETAILS_PANEL",n=useSelector(selectModifiedUsers),[r,i]=react.exports.useState(!1),a=useDispatch();var o=useStyles$1({})["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:o.panelRoot,"data-testid":"application-details-panel"},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.panelContainer},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:o.panelHeader},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({"data-testid":"application-details-panel-title",variant:"h1"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.detail-panel-title",defaultMessage:"Application Details",description:"The title of the Application Details panel"})})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.detail-panel-close",defaultMessage:"Close Panel",description:"The title of the Application Details panel close button"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>{0<n.length?i(!0):(a(actions$1.cancelApplicationUserChanges()),a(hidePanel(t)))},"aria-labelledby":"group-details-close-panel","data-testid":"group-details-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:o.panelBody},{children:e})),jsxRuntime.exports.jsx(ConfirmationModal,{showConfirmationModal:r,closeConfirmationModal:()=>{i(!1)},onClosePanel:()=>{a(actions$1.cancelApplicationUserChanges()),a(hidePanel(t)),i(!1)}})]}))}))},ApplicationDetailsPanel=({applicationId:e,initValue:t})=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getApplicationDetailsPanelModule(),getAdminCenterApplicationsModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(PanelContainer$1,{children:jsxRuntime.exports.jsx(Content,{applicationId:e,initValue:t})})})})}))}),styles$1=makeStyles()(e=>({root:{display:"flex",flexDirection:"column",height:"calc(100vh - 55px - 10px)",alignItems:"stretch"},addUsers:{padding:e.spacing(0,6)},titleDescription:{color:"#5C6269",fontWeight:400,maxWidth:"463px",marginTop:e.spacing(1)},usersTitle:{fontWeight:400,color:"#2A323C",padding:e.spacing(4,0,1)},addUsersSubTitle:{color:"#5C6269",fontWeight:400},panelContent:{display:"flex",flexDirection:"column",flexGrow:1,padding:e.spacing(0,3,0,3),overflowY:"auto"},btnContainer:{alignItems:"end",display:"flex",justifyContent:"flex-end",marginTop:"12px",marginBottom:"30px",marginRight:"20px"},buttons:{marginRight:"10px"},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},header:{alignItems:"center",display:"flex",justifyContent:"space-between",padding:e.spacing(0,0,0,6)},headerTitle:{color:"#2A323C"},autocomplete:{"& .Sdk-MuiAutocomplete-tag":{fontWeight:500,background:"#FFFFFF",boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.15)",height:"30px",border:"none"},"& .Sdk-MuiChip-deleteIcon":{fill:"#555F7C",width:"15px",height:"15px"}},renderMember:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"12px"},renderAvatar:{height:"20px",width:"20px",marginRight:"5px",fontSize:"10px"},memberInfoContainer:{display:"flex",justifyContent:"space-between",padding:"10px",marginBottom:"13px",height:"30px !important"},member:{display:"flex"},memberAvatar:{border:"2px solid #FFFFFF",height:"35px",width:"35px",marginRight:"14px"},groupMembersName:{width:"100%",height:"52px",margin:"20px auto"},currentMember:{display:"flex",alignItems:"center",color:e.palette.text.disabled,paddingRight:e.spacing(2),lineHeight:"20px"},listContainer:{display:"flex",flexDirection:"column"}}));var whitespaces$2="\t\n\v\f\r \u2028\u2029\ufeff",uncurryThis=functionUncurryThis,requireObjectCoercible=requireObjectCoercible$4,toString=toString$4,whitespaces$1=whitespaces$2,replace=functionUncurryThis("".replace),whitespace="["+whitespaces$1+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(t){return function(e){e=toString(requireObjectCoercible(e));return 1&t&&(e=replace(e,ltrim,"")),e=2&t?replace(e,rtrim,""):e}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},PROPER_FUNCTION_NAME=functionName.PROPER,fails=fails$i,whitespaces=whitespaces$2,non="
",stringTrimForced=function(e){return fails(function(){return!!whitespaces[e]()||non[e]()!==non||PROPER_FUNCTION_NAME&&whitespaces[e].name!==e})},$=_export,$trim=stringTrim.trim,forcedStringTrimMethod=stringTrimForced;$({target:"String",proto:!0,forced:stringTrimForced("trim")},{trim:function(){return $trim(this)}});const isSelectReason=(e,t)=>"selectOption"===e,formattedName=e=>{var t;return""+(null==(t=null==(t=e.firstName)?void 0:t.charAt(0))?void 0:t.toUpperCase())+(null==(e=null==(t=e.lastName)?void 0:t.charAt(0))?void 0:e.toUpperCase())},UserSearch=()=>{var[e,,]=react.exports.useState(null);const[t,n]=react.exports.useState(!1),r=styles$1()["classes"];var i=useIntl();const a=useDispatch(),o=useSelector(selectAllUsers);var s=useSelector(selectUserSearchResults),l=useSelector(selectUsersStatus);const c=t=>!!o.find(e=>e.id===t),u=formattedMessages(i)["addNamesMessage"];const d=lodash.exports.debounce(e=>{e=e.target.value.trim();3<=e.length&&a(actions$1.searchApplicationUsersStart(e))},300);return jsxRuntime.exports.jsx(Autocomplete,{value:e,freeSolo:!0,clearOnBlur:!0,open:t,onOpen:()=>{n(!0)},onClose:()=>{n(!1)},openOnFocus:!0,loading:"loading"===l,loadingText:"success"===l?jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",height:35,"data-testid":"applications-add-user-autocomplete-skeleton-loading"}):jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2","data-testid":"applications-add-user-autocomplete-no-records-were-found"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.add-user.autocomplete-no-records-were-found-message",defaultMessage:"No records were found",description:"No records were found message"})})),id:"tags-outlined",options:s,getOptionLabel:e=>e.firstName+" "+e.lastName,onChange:(e,t,n)=>{isSelectReason(n)&&a(actions$1.selectUser(t))},limitTags:0,renderTags:e=>e.map(()=>null),renderOption:(e,t)=>null!=t&&t.email?react.exports.createElement("li",Object.assign({},e,{onClick:c(t.id)?()=>{}:e.onClick,key:t.email,className:r.memberInfoContainer,style:{cursor:c(t.id)?"default":"pointer"},"data-testid":"applications-add-user-lookup-option."+t.id}),jsxRuntime.exports.jsxs(Box,Object.assign({className:r.member},{children:[t.imageUrl?jsxRuntime.exports.jsx(Avatar,{alt:t.firstName,src:t.imageUrl,className:r.memberAvatar,sx:{cursor:"pointer"}}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:r.memberAvatar},{children:formattedName(t)})),jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({sx:{cursor:c(t.id)?"default":"pointer"},variant:"h3","data-testid":"applications-add-user-suggestion-name"},{children:t.firstName+" "+t.lastName})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2","data-testid":"applications-add-user-suggestion-email"},{children:t.email}))]})]})),c(null==t?void 0:t.id)&&jsxRuntime.exports.jsx(Typography,Object.assign({className:r.currentMember,variant:"subtitle2","data-testid":"applications-add-user-lookup-current-user"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.add-user.current-user-label",defaultMessage:"Current User",description:"current user label for application"})}))):jsxRuntime.exports.jsx("li",{children:"No users found"}),renderInput:e=>jsxRuntime.exports.jsx(TextField,Object.assign({},e,{id:"application-users-description","data-testid":"admin-center-applications-add-user-description",InputLabelProps:{shrink:!0},inputProps:Object.assign(Object.assign({},e.inputProps),{value:t?e.inputProps.value:"",onKeyDown:e=>{"Enter"===e.key&&e.stopPropagation()}}),placeholder:u,className:r.groupMembersName,onChange:d})),className:r.autocomplete})},styles=makeStyles()(e=>({container:{},listContainer:{display:"flex",flexDirection:"column"},divider:{width:"100%"},userContainer:{display:"flex",cursor:"pointer"},clickDisabled:{cursor:"not-allowed"},defaultOrgBadge:{borderRadius:"2px",height:"16px",backgroundColor:"#F4F4F4",border:"0.5px solid #9CA8B4",color:"#5C6269",marginLeft:e.spacing(2.8),padding:e.spacing(.2,2),"& >span":{padding:0}},userName:{display:"inline-block",fontSize:"16px!important",fontWeight:"600!important",lineHeight:"20px"},userSubtitle:{fontSize:"14px!important",fontWeight:400,lineHeight:"20px"},textContainer:{display:"flex","& > .Sdk-MuiListItemText-root":{display:"flex",flexDirection:"column",justifyContent:"center"}},actionContainer:{display:"flex",flexDirection:"column"},userAvatar:{border:"2px solid #FFFFFF",height:"35px",width:"35px",marginRight:"14px"},roleSelect:{color:"black",fontWeight:400,fontSize:"12px",width:"140px",maxHeight:"36px",paddingTop:"1px",transform:"translateY(1px)",marginRight:"14px","& fieldset":{border:"1px solid #D5DFE9"}}})),UserListItem=({id:t,lastItem:e})=>{var n=useSelector(selectUser(t)),r=useSelector(selectApplicationRoles),i=useSelector(selectApplicationKey),a=react.exports.useRef(getApplicationRole(i,n.roles));const o=react.exports.useRef(),[s,l]=react.exports.useState(getApplicationRole(i,n.roles)),c=useDispatch();i=styles().classes;react.exports.useEffect(()=>{var e;s===NO_ROLE&&null!=(e=o.current)&&e.scrollIntoView()},[s]);return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs(ListItem,Object.assign({className:i.container,disableGutters:!0,"data-testid":"os-admin-center-application-add-users-list-item","data-userid":t},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:i.userContainer,ref:e=>{e&&(o.current=e)}},{children:[jsxRuntime.exports.jsx(ListItemAvatar,Object.assign({sx:{pt:1.5}},{children:n.imageUrl?jsxRuntime.exports.jsx(Avatar,{alt:n.firstName,src:n.imageUrl,className:i.userAvatar,sx:{cursor:"pointer"}}):jsxRuntime.exports.jsx(Avatar,Object.assign({className:i.userAvatar,sx:{cursor:"pointer",backgroundColor:n.avatarColor}},{children:formattedName$1(n)}))})),jsxRuntime.exports.jsx("span",Object.assign({className:i.textContainer},{children:jsxRuntime.exports.jsx(ListItemText,{primary:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"body1",className:i.userName,"data-testid":"os-admin-center-application-add-users-list-item-name."+t},{children:[n.firstName," ",n.lastName]})),secondary:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle2",className:i.userSubtitle},{children:n.email}))})}))]})),jsxRuntime.exports.jsx(ListItemSecondaryAction,{children:jsxRuntime.exports.jsx("div",Object.assign({className:i.actionContainer},{children:jsxRuntime.exports.jsxs(Select,Object.assign({value:s,onChange:e=>{e=e.target.value;l(e),c(actions$1.updateApplicationUserRole({userId:t,roleId:e}))},className:i.roleSelect,"data-testid":"os-admin-center-application-add-users-role-input."+t},{children:[a.current===NO_ROLE&&jsxRuntime.exports.jsx(MenuItem,Object.assign({value:NO_ROLE,"data-testid":`os-admin-center-application-add-users-role-item.${t}.NO_ROLE`},{children:"No Role"}),NO_ROLE),r.map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({value:e.id,"data-testid":`os-admin-center-application-add-users-role-item.${t}.`+e.id},{children:e.name}),e.id))]}))}))})]})),!e&&jsxRuntime.exports.jsx(Divider,{className:i.divider})]})},UserList=()=>{const n=useSelector(selectUserIds);var e=styles$1()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:e.listContainer,"data-testid":"os-admin-center-applications-add-user-list"},{children:jsxRuntime.exports.jsx(List,{children:n.map((e,t)=>jsxRuntime.exports.jsx(UserListItem,{id:e,lastItem:t===n.length-1},e))})}))},PANEL_ID="ADD_APPLICATION_USERS_PANEL",PanelContent=({applicationId:e,applicationKey:t})=>{const n=useDispatch();return react.exports.useEffect(()=>{n(actions$1.initApplicationUsers({applicationId:e,applicationKey:t}))},[n,e,t]),jsxRuntime.exports.jsxs(Container,{children:[jsxRuntime.exports.jsx(UserSearch,{}),jsxRuntime.exports.jsx(UserList,{})]})},PanelContainer=({children:e})=>{const[t,n]=react.exports.useState(!1);var r=styles$1()["classes"];const i=useSelector(selectModifiedUsers),a=useDispatch();const o=()=>{a(actions$1.cancelApplicationUserChanges()),a(hidePanel(PANEL_ID))};return jsxRuntime.exports.jsxs(Container,Object.assign({className:r.root,"data-testid":"os-admin-center-applications-add-user-panel"},{children:[jsxRuntime.exports.jsxs("header",Object.assign({className:r.header},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",className:r.headerTitle},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user-panel.title",defaultMessage:"Add Users",description:"title of the Add Users panel"})})),jsxRuntime.exports.jsx("div",Object.assign({className:r.headerActionContainer},{children:jsxRuntime.exports.jsx(Tooltip,Object.assign({title:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user-panel.close",defaultMessage:"Close Panel",description:"tooltip message on the add user panel for the close panel button"})},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({size:"large",onClick:o},{children:jsxRuntime.exports.jsx(default_1$1,{})}))}))}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:r.addUsers},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",className:r.titleDescription},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user-panel.subtitle",defaultMessage:"Add Users to this Application by giving them an application role.",description:"the subtitle of the add users panel"})}))})),jsxRuntime.exports.jsx("div",Object.assign({className:r.panelContent},{children:e})),jsxRuntime.exports.jsxs("div",Object.assign({className:r.btnContainer},{children:[jsxRuntime.exports.jsx(Button,Object.assign({color:"inherit",onClick:()=>{i.length?n(!0):o()},className:r.buttons,"data-testid":"os-admin-center-application-add-users-cancel-btn"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user.cancel-button",defaultMessage:"Cancel",description:"the cancel button on the admin center applications add users panel"})})),jsxRuntime.exports.jsx(Button,Object.assign({color:"primary",variant:"contained",disabled:0===i.length,onClick:()=>{a(actions$1.saveApplicationUsersStart()),a(hidePanel(PANEL_ID))},"data-testid":"os-admin-center-application-add-users-save-btn"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications.add-user.save-button",defaultMessage:"Save",description:"the save button on the admin center applications add users panel"})})),jsxRuntime.exports.jsx(ConfirmationModal,{showConfirmationModal:t,closeConfirmationModal:()=>{n(!1)},onClosePanel:()=>{n(!1),o()}})]}))]}))},AddUsersPanel=({applicationId:e,applicationKey:t})=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getApplicationDetailsPanelModule()]},{children:jsxRuntime.exports.jsx(PanelContainer,{children:jsxRuntime.exports.jsx(PanelContent,{applicationId:e,applicationKey:t})})}))})});export{AddUsersPanel,ApplicationDetailsPanel,ApplicationsTab,Content,actions,getAdminCenterApplicationsModule,getApplicationDetailsPanelModule,initialState,namespace,rootReducer};
|
package/js-core.esm49.js.gz
CHANGED
|
Binary file
|