aiware-js 2.55.0 → 2.55.2
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.esm11.js +1 -1
- package/js-core.esm11.js.gz +0 -0
- package/js-core.esm12.js +1 -1
- package/js-core.esm12.js.gz +0 -0
- package/js-core.esm13.js +2 -2
- package/js-core.esm13.js.gz +0 -0
- package/js-core.esm15.js +1 -1
- package/js-core.esm15.js.gz +0 -0
- package/js-core.esm18.js +1 -1
- package/js-core.esm18.js.gz +0 -0
- package/js-core.esm19.js +1 -1
- package/js-core.esm19.js.gz +0 -0
- package/js-core.esm2.js +2 -2
- package/js-core.esm2.js.gz +0 -0
- package/js-core.esm20.js +1 -1
- package/js-core.esm20.js.gz +0 -0
- package/js-core.esm21.js +1 -1
- package/js-core.esm21.js.gz +0 -0
- package/js-core.esm23.js +1 -1
- package/js-core.esm23.js.gz +0 -0
- package/js-core.esm28.js +1 -1
- package/js-core.esm28.js.gz +0 -0
- package/js-core.esm29.js +1 -1
- package/js-core.esm29.js.gz +0 -0
- package/js-core.esm3.js +1 -1
- package/js-core.esm3.js.gz +0 -0
- package/js-core.esm30.js +1 -1
- package/js-core.esm30.js.gz +0 -0
- package/js-core.esm32.js +1 -1
- package/js-core.esm32.js.gz +0 -0
- package/js-core.esm36.js +1 -1
- package/js-core.esm36.js.gz +0 -0
- package/js-core.esm38.js +1 -1
- package/js-core.esm38.js.gz +0 -0
- package/js-core.esm39.js +1 -1
- package/js-core.esm39.js.gz +0 -0
- package/js-core.esm41.js +1 -1
- package/js-core.esm41.js.gz +0 -0
- package/js-core.esm45.js +1 -1
- package/js-core.esm45.js.gz +0 -0
- package/js-core.esm46.js +1 -1
- package/js-core.esm46.js.gz +0 -0
- package/js-core.esm48.js +1 -1
- package/js-core.esm48.js.gz +0 -0
- package/js-core.esm49.js +1 -1
- package/js-core.esm49.js.gz +0 -0
- package/js-core.esm5.js +1 -1
- package/js-core.esm5.js.gz +0 -0
- package/js-core.esm50.js +1 -1
- package/js-core.esm50.js.gz +0 -0
- package/js-core.esm52.js +1 -1
- package/js-core.esm52.js.gz +0 -0
- package/js-core.esm6.js +1 -1
- package/js-core.esm6.js.gz +0 -0
- package/js-core.esm60.js +1 -1
- package/js-core.esm60.js.gz +0 -0
- package/js-core.esm63.js +1 -1
- package/js-core.esm63.js.gz +0 -0
- package/js-core.esm65.js +1 -1
- package/js-core.esm65.js.gz +0 -0
- package/js-core.esm66.js +1 -1
- package/js-core.esm66.js.gz +0 -0
- package/js-core.esm67.js +1 -1
- package/js-core.esm67.js.gz +0 -0
- package/js-core.esm69.js +1 -1
- package/js-core.esm69.js.gz +0 -0
- package/js-core.esm7.js +1 -1
- package/js-core.esm7.js.gz +0 -0
- package/js-core.esm70.js +1 -1
- package/js-core.esm70.js.gz +0 -0
- package/js-core.esm71.js +1 -1
- package/js-core.esm71.js.gz +0 -0
- package/js-core.esm73.js +1 -1
- package/js-core.esm73.js.gz +0 -0
- package/js-core.esm74.js +1 -1
- package/js-core.esm74.js.gz +0 -0
- package/js-core.esm75.js +1 -1
- package/js-core.esm75.js.gz +0 -0
- package/js-core.esm76.js +1 -1
- package/js-core.esm76.js.gz +0 -0
- package/js-core.esm78.js +1 -1
- package/js-core.esm78.js.gz +0 -0
- package/js-core.esm81.js +1 -1
- package/js-core.esm81.js.gz +0 -0
- package/js-core.esm84.js +1 -1
- package/js-core.esm84.js.gz +0 -0
- package/js-core.esm9.js +1 -1
- package/js-core.esm9.js.gz +0 -0
- package/js-core.esm91.js +1 -1
- package/js-core.esm91.js.gz +0 -0
- package/js-core.esm92.js +1 -1
- package/js-core.esm92.js.gz +0 -0
- package/js-core.esm93.js +1 -1
- package/js-core.esm93.js.gz +0 -0
- package/js-core.esm95.js +1 -1
- package/js-core.esm95.js.gz +0 -0
- package/js-core.esm96.js +1 -1
- package/js-core.esm96.js.gz +0 -0
- package/js-core.umd.js +4 -4
- 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.esm70.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{X as createSlice,Y as combineReducers,j as jsxRuntime,bV as AIWareCacheProvider,aK as AIWareThemeProvider,Z as useSelector,r as react,B as all,a1 as hidePanel,C as takeLatest$1,E as select,I as put,a5 as showMessage,a6 as MessageSeverity,ar as mountPanel,ao as Box}from"./js-core.esm.js";import{p as DynamicModuleLoader,A as AIWareIntlProvider,k as FormattedMessage,T as Typography,h as Button}from"./js-core.esm5.js";import{f as Skeleton,aj as centerComponents,z as panelComponents,n as Stack,t as tableInfiniteScroll}from"./js-core.esm6.js";import{u as useDispatch}from"./js-core.esm7.js";var match,version,set$1,get,store,STATE,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$g=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$b=function(e){try{return!!e()}catch(e){return!0}},fails$a=fails$b,descriptors=!fails$b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$9=fails$b,functionBindNative=!fails$b(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$3=functionBindNative,call$d=Function.prototype.call,functionCall=NATIVE_BIND$3?call$d.bind(call$d):function(){return call$d.apply(call$d,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$2=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative,FunctionPrototype$2=Function.prototype,call$c=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$c,call$c),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$c.apply(e,arguments)}},uncurryThis$f=functionUncurryThis,toString$3=uncurryThis$f({}.toString),stringSlice$2=uncurryThis$f("".slice),classofRaw$2=function(e){return stringSlice$2(toString$3(e),8,-1)},uncurryThis$e=functionUncurryThis,fails$8=fails$b,classof$5=classofRaw$2,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$8(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$5(e)?split(e,""):$Object$3(e)}:$Object$3,isNullOrUndefined$4=function(e){return null==e},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$c=TypeError,requireObjectCoercible$2=function(e){if(isNullOrUndefined$3(e))throw $TypeError$c("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$3=function(e){return IndexedObject$1(requireObjectCoercible$1(e))},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$i=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},isCallable$h=isCallable$i,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$7=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$h(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$h(e)},global$f=global$g,isCallable$g=isCallable$i,aFunction=function(e){return isCallable$g(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$f[e]):global$f[e]&&global$f[e][t]},uncurryThis$d=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$e=global$g,userAgent$3=engineUserAgent,process$4=global$e.process,Deno$1=global$e.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent$3&&(!(match=userAgent$3.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent$3.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION$1=engineV8Version,fails$7=fails$b,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$7(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$1&&V8_VERSION$1<41}),NATIVE_SYMBOL$2=symbolConstructorDetection,useSymbolAsUid=symbolConstructorDetection&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$6=getBuiltIn$7,isCallable$f=isCallable$i,isPrototypeOf$3=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$6("Symbol");return isCallable$f(t)&&isPrototypeOf$3(t.prototype,$Object$2(e))},$String$4=String,tryToString$4=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$e=isCallable$i,tryToString$3=tryToString$4,$TypeError$b=TypeError,aCallable$8=function(e){if(isCallable$e(e))return e;throw $TypeError$b(tryToString$3(e)+" is not a function")},aCallable$7=aCallable$8,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$3=function(e,t){e=e[t];return isNullOrUndefined$2(e)?void 0:aCallable$7(e)},call$b=functionCall,isCallable$d=isCallable$i,isObject$6=isObject$7,$TypeError$a=TypeError,ordinaryToPrimitive$1=function(e,t){var o,r;if("string"===t&&isCallable$d(o=e.toString)&&!isObject$6(r=call$b(o,e)))return r;if(isCallable$d(o=e.valueOf)&&!isObject$6(r=call$b(o,e)))return r;if("string"!==t&&isCallable$d(o=e.toString)&&!isObject$6(r=call$b(o,e)))return r;throw $TypeError$a("Can't convert object to primitive value")},shared$3={exports:{}},global$d=global$g,defineProperty$4=Object.defineProperty,defineGlobalProperty$3=function(t,o){try{defineProperty$4(global$d,t,{value:o,configurable:!0,writable:!0})}catch(e){global$d[t]=o}return o},global$c=global$g,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$g[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$3.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$1=Object,toObject$2=function(e){return $Object$1(requireObjectCoercible(e))},uncurryThis$c=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$1(e),t)},uncurryThis$b=functionUncurryThis,id=0,postfix=Math.random(),toString$2=uncurryThis$b(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$2(++id+postfix,36)},global$b=global$g,shared$2=shared$3.exports,hasOwn$9=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL$1=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$b.Symbol,WellKnownSymbolsStore=shared$2("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$a=function(e){return hasOwn$9(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL$1&&hasOwn$9(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$a=functionCall,isObject$5=isObject$7,isSymbol$1=isSymbol$2,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$9=wellKnownSymbol$a,$TypeError$9=TypeError,TO_PRIMITIVE=wellKnownSymbol$a("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$5(e)||isSymbol$1(e))return e;var o=getMethod$2(e,TO_PRIMITIVE);if(o){if(o=call$a(o,e,t=void 0===t?"default":t),!isObject$5(o)||isSymbol$1(o))return o;throw $TypeError$9("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$a=global$g,isObject$4=isObject$7,document$3=global$g.document,EXISTS$1=isObject$4(document$3)&&isObject$4(document$3.createElement),documentCreateElement=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$9=descriptors,fails$6=fails$b,createElement$1=documentCreateElement,ie8DomDefine=!descriptors&&!fails$b(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8=descriptors,call$9=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$2=toIndexedObject$3,toPropertyKey$1=toPropertyKey$2,hasOwn$8=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$8?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$2(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$8(e,t))return createPropertyDescriptor$1(!call$9(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$7=descriptors,fails$5=fails$b,v8PrototypeDefineBug=descriptors&&fails$b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$3=isObject$7,$String$3=String,$TypeError$8=TypeError,anObject$8=function(e){if(isObject$3(e))return e;throw $TypeError$8($String$3(e)+" is not an object")},DESCRIPTORS$6=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,anObject$7=anObject$8,toPropertyKey=toPropertyKey$2,$TypeError$7=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$5=(objectDefineProperty.f=DESCRIPTORS$6?V8_PROTOTYPE_DEFINE_BUG?function(e,t,o){var r;return anObject$7(e),t=toPropertyKey(t),anObject$7(o),"function"==typeof e&&"prototype"===t&&"value"in o&&WRITABLE in o&&!o[WRITABLE]&&(r=$getOwnPropertyDescriptor(e,t))&&r[WRITABLE]&&(e[t]=o.value,o={configurable:(CONFIGURABLE$1 in o?o:r)[CONFIGURABLE$1],enumerable:(ENUMERABLE in o?o:r)[ENUMERABLE],writable:!1}),$defineProperty(e,t,o)}:$defineProperty:function(e,t,o){if(anObject$7(e),t=toPropertyKey(t),anObject$7(o),IE8_DOM_DEFINE)try{return $defineProperty(e,t,o)}catch(e){}if("get"in o||"set"in o)throw $TypeError$7("Accessors not supported");return"value"in o&&(e[t]=o.value),e},descriptors),definePropertyModule$2=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$2=DESCRIPTORS$5?function(e,t,o){return definePropertyModule$2.f(e,t,createPropertyDescriptor(1,o))}:function(e,t,o){return e[t]=o,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$4=descriptors,hasOwn$7=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$4&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$7(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$4||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$a=functionUncurryThis,isCallable$c=isCallable$i,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$c(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$9=global$g,isCallable$b=isCallable$i,WeakMap$1=global$g.WeakMap,weakMapBasicDetection=isCallable$b(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$1=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$3={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$8=global$g,isObject$2=isObject$7,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$6=hasOwnProperty_1,shared=sharedStore,sharedKey=sharedKey$1,hiddenKeys$2=hiddenKeys$3,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global$8.TypeError,WeakMap=global$8.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(t){return function(e){if(isObject$2(e)&&(e=get(e)).type===t)return e;throw TypeError$2("Incompatible receiver, "+t+" required")}},has=NATIVE_WEAK_MAP||shared.state?((store=shared.state||(shared.state=new WeakMap)).get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},function(e){return store.has(e)}):(STATE=sharedKey("state"),hiddenKeys$2[STATE]=!0,set$1=function(e,t){if(hasOwn$6(e,STATE))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$1(e,STATE,t),t},get=function(e){return hasOwn$6(e,STATE)?e[STATE]:{}},function(e){return hasOwn$6(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$9=functionUncurryThis,fails$4=fails$b,isCallable$a=isCallable$i,hasOwn$5=hasOwnProperty_1,DESCRIPTORS$3=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState=InternalStateModule$1.get,$String$2=String,defineProperty$3=Object.defineProperty,stringSlice$1=uncurryThis$9("".slice),replace$1=uncurryThis$9("".replace),join=uncurryThis$9([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$3&&!fails$4(function(){return 8!==defineProperty$3(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,o){"Symbol("===stringSlice$1($String$2(t),0,7)&&(t="["+replace$1($String$2(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!hasOwn$5(e,"name")||CONFIGURABLE_FUNCTION_NAME&&e.name!==t)&&(DESCRIPTORS$3?defineProperty$3(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&o&&hasOwn$5(o,"arity")&&e.length!==o.arity&&defineProperty$3(e,"length",{value:o.arity});try{o&&hasOwn$5(o,"constructor")&&o.constructor?DESCRIPTORS$3&&defineProperty$3(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}o=enforceInternalState(e);return hasOwn$5(o,"source")||(o.source=join(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$9=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$a(this)&&getInternalState(this).source||inspectSource$2(this)},"toString"),isCallable$i),definePropertyModule$1=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,o,r){var n=(r=r||{}).enumerable,i=void 0!==r.name?r.name:t;if(isCallable$9(o)&&makeBuiltIn$1(o,i,r),r.global)n?e[t]=o:defineGlobalProperty$1(t,o);else{try{r.unsafe?e[t]&&(n=!0):delete e[t]}catch(e){}n?e[t]=o:definePropertyModule$1.f(e,t,{value:o,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$2=function(e){return toLength(e.length)},toIndexedObject$1=toIndexedObject$3,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$2,createMethod=function(a){return function(e,t,o){var r,n=toIndexedObject$1(e),i=lengthOfArrayLike$1(n),s=toAbsoluteIndex(o,i);if(a&&t!=t){for(;s<i;)if((r=n[s++])!=r)return!0}else for(;s<i;s++)if((a||s in n)&&n[s]===t)return a||s||0;return!a&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$8=functionUncurryThis,hasOwn$4=hasOwnProperty_1,toIndexedObject=toIndexedObject$3,indexOf=arrayIncludes.indexOf,hiddenKeys$1=hiddenKeys$3,push=uncurryThis$8([].push),objectKeysInternal=function(e,t){var o,r=toIndexedObject(e),n=0,i=[];for(o in r)!hasOwn$4(hiddenKeys$1,o)&&hasOwn$4(r,o)&&push(i,o);for(;t.length>n;)!hasOwn$4(r,o=t[n++])||~indexOf(i,o)||push(i,o);return i},enumBugKeys$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$1=enumBugKeys$2,hiddenKeys=enumBugKeys$2.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys)},{}),getBuiltIn$5=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$7),uncurryThis$7=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$6=anObject$8,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$6(e)),o=getOwnPropertySymbolsModule$1.f;return o?concat$1(t,o(e)):t},hasOwn$3=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$2=function(e,t,o){for(var r=ownKeys(t),n=definePropertyModule.f,i=getOwnPropertyDescriptorModule.f,s=0;s<r.length;s++){var a=r[s];hasOwn$3(e,a)||o&&hasOwn$3(o,a)||n(e,a,i(t,a))}},fails$3=fails$b,isCallable$8=isCallable$i,replacement=/#|\.prototype\./,isForced$2=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$8(t)?fails$3(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,global$7=global$g,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty=createNonEnumerableProperty$2,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties$1=copyConstructorProperties$2,isForced$1=isForced_1,_export=function(e,t){var o,r,n,i=e.target,s=e.global,a=e.stat,l=s?global$7:a?global$7[i]||defineGlobalProperty(i,{}):(global$7[i]||{}).prototype;if(l)for(o in t){if(r=t[o],n=e.dontCallGetSet?(n=getOwnPropertyDescriptor$1(l,o))&&n.value:l[o],!isForced$1(s?o:i+(a?".":"#")+o,e.forced)&&void 0!==n){if(typeof r==typeof n)continue;copyConstructorProperties$1(r,n)}(e.sham||n&&n.sham)&&createNonEnumerableProperty(r,"sham",!0),defineBuiltIn$2(l,o,r,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$2,objectKeys$1=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys)},DESCRIPTORS$2=descriptors,uncurryThis$6=functionUncurryThis,call$8=functionCall,fails$2=fails$b,objectKeys=objectKeys$1,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject=toObject$2,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$2=Object.defineProperty,concat=uncurryThis$6([].concat),objectAssign=!$assign||fails$2(function(){var e,t,o,r;return!(!DESCRIPTORS$2||1===$assign({b:1},$assign(defineProperty$2({},"a",{enumerable:!0,get:function(){defineProperty$2(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},r="abcdefghijklmnopqrst",(e={})[o=Symbol()]=7,r.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[o])||objectKeys($assign({},t)).join("")!=r})?function(e,t){for(var o=toObject(e),r=arguments.length,n=1,i=getOwnPropertySymbolsModule.f,s=propertyIsEnumerableModule.f;n<r;)for(var a,l=IndexedObject(arguments[n++]),c=i?concat(objectKeys(l),i(l)):objectKeys(l),u=c.length,p=0;p<u;)a=c[p++],DESCRIPTORS$2&&!call$8(s,l,a)||(o[a]=l[a]);return o}:$assign,$$7=_export,assign=objectAssign;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign});const SLICE_NAME="adminCenterCustomLogin",TEST_ID="os-admin-center.custom-login",TEST_ID_PANEL="os-admin-center.custom-login-panel",CUSTOM_LOGIN_PANEL_ID="ADMIN_CENTER_CUSTOM_LOGIN_PANEL",namespace$2="customLoginWizard",initialState$2={activeStep:1,steps:[{stepNumber:1,completed:!1,disabled:!1,error:!1},{stepNumber:2,completed:!1,disabled:!1,error:!1}],saveStatus:"idle"},customLoginWizardSlice=createSlice({name:namespace$2,initialState:initialState$2,reducers:{setActiveStep:(e,t)=>{e.activeStep=t.payload},setStepCompleted:(e,t)=>{e.steps[t.payload-1].completed=!0},setStepUncompleted:(e,t)=>{e.steps[t.payload-1].completed=!1},setSaveStatus:(e,t)=>{e.saveStatus=t.payload},saveCustomLoginInit:e=>{e.saveStatus="pending"},saveCustomLoginSuccess:e=>{e.saveStatus="success"},saveCustomLoginFailed:e=>{e.saveStatus="failure"}}}),actions$2=customLoginWizardSlice.actions;var customLoginWizard_slice=customLoginWizardSlice.reducer;const namespace$1="basicInfoStep",initialState$1={customLoginId:null,loginName:"",urlSlug:"",logoUrl:"",isPreviewModalOpen:!1},customLoginBasicInfoStepSlice=createSlice({name:namespace$1,initialState:initialState$1,reducers:{setCustomLoginId:(e,t)=>{e.customLoginId=t.payload},setLoginName:(e,t)=>{e.loginName=t.payload},setUrlSlug:(e,t)=>{e.urlSlug=t.payload},setLogoUrl:(e,t)=>{e.logoUrl=t.payload},setIsPreviewModalOpen:(e,t)=>{e.isPreviewModalOpen=t.payload},resetBasicInfo:e=>{e.loginName=initialState$1.loginName,e.urlSlug=initialState$1.urlSlug,e.logoUrl=initialState$1.logoUrl}}}),actions$1=customLoginBasicInfoStepSlice.actions;var customLoginBasicInfoStep_slice=customLoginBasicInfoStepSlice.reducer;const namespace="configurationStep",initialState={buttonColor:"",buttonTextColor:""},customLoginConfigurationStepSlice=createSlice({name:namespace,initialState:initialState,reducers:{setButtonColor:(e,t)=>{e.buttonColor=t.payload},setButtonTextColor:(e,t)=>{e.buttonTextColor=t.payload},resetButton:e=>{e.buttonColor=initialState.buttonColor,e.buttonTextColor=initialState.buttonTextColor}}}),actions=customLoginConfigurationStepSlice.actions;var customLoginConfigurationStep_slice=customLoginConfigurationStepSlice.reducer;const rootReducer=combineReducers({[namespace$2]:customLoginWizard_slice,[namespace$1]:customLoginBasicInfoStep_slice,[namespace]:customLoginConfigurationStep_slice}),selectLoginName=e=>e.adminCenterCustomLogin.basicInfoStep.loginName,selectUrlSlug=e=>e.adminCenterCustomLogin.basicInfoStep.urlSlug,selectLogoUrl=e=>e.adminCenterCustomLogin.basicInfoStep.logoUrl,selectBasicInfoStep=e=>e.adminCenterCustomLogin.basicInfoStep,selectIsPreviewModalOpen=e=>e.adminCenterCustomLogin.basicInfoStep.isPreviewModalOpen,selectButtonColor=e=>e.adminCenterCustomLogin.configurationStep.buttonColor,selectButtonTextColor=e=>e.adminCenterCustomLogin.configurationStep.buttonTextColor,selectConfigurationStep=e=>e.adminCenterCustomLogin.configurationStep;function*saveCustomLoginSaga(e){try{var t=yield select(selectBasicInfoStep),o=yield select(selectConfigurationStep),r={organizationInfo:{id:"",guid:"",name:""},name:t.loginName||"",slug:t.urlSlug,logo:t.logoUrl||"",buttonColor:o.buttonColor,buttonTextColor:o.buttonTextColor};console.log("brandedLogin:",r)}catch(e){console.error("error:",e),yield put(actions$2.saveCustomLoginFailed()),yield put(showMessage({content:"Failed to save custom login.",severity:MessageSeverity.Error}))}}function*saveCustomLoginWatcher(){yield takeLatest$1(actions$2.saveCustomLoginInit.type,saveCustomLoginSaga)}function*rootSaga(){yield all([saveCustomLoginWatcher()])}function getAdminCenterCustomLoginModule(){return{id:SLICE_NAME,reducerMap:{[SLICE_NAME]:rootReducer},sagas:[rootSaga],initialActions:[]}}const SHARED_TEXT={title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.title",defaultMessage:"Custom Login",description:"Admin Center Custom Login Title"}),subTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.sub-title",defaultMessage:"Create a custom branded login for users of this Organization.",description:"Admin Center Custom Login Subtitle"}),panel:{createTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.panel.create-title",defaultMessage:"New Login",description:"Admin Center Custom Login Panel Create Title"}),editTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.panel.edit-title",defaultMessage:"Edit Login",description:"Admin Center Custom Login Panel Edit Title"})},emptyState:{title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.empty-state.title",defaultMessage:"No Custom Login Found",description:"Admin Center custom login table empty state"}),description:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.empty-state.description",defaultMessage:"You haven’t created a custom login for this Organization",description:"Admin Center custom login table empty state"}),createButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.empty-state.create-button",defaultMessage:"Create Custom Login",description:"Admin Center custom login table empty state"})},basicInfoStep:{description:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.description",defaultMessage:"Create a custom branded login page for this organization, with a didicated domain for users to access their aiWARE account.",description:"Admin Center Custom Login Basic Info Step Description"}),customUrlSlugTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-title",defaultMessage:"Custom Login URL Slug",description:"Admin Center Custom Login Basic Info Step Custom URL Slug Title"}),customUrlSlugDescription:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-description",defaultMessage:"Type in the slug name that will be added to your login url. (Field is required)",description:"Admin Center Custom Login Basic Info Step Custom URL Slug Description"}),brandLogoTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.brand-logo-title",defaultMessage:"Brand Logo",description:"Admin Center Custom Login Basic Info Step Brand Logo Title"}),brandLogoDescription:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.brand-logo-description",defaultMessage:"This logo will be used on your login page. ",description:"Admin Center Custom Login Basic Info Step Brand Logo Description"}),loginNameInputPlaceholder:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.login-name-input-placeholder",defaultMessage:"Login Name",description:"Admin Center Custom Login Basic Info Step Login Name Input Placeholder"}),cancelBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.cancel-btn",defaultMessage:"Cancel",description:"Admin Center Custom Login Basic Info Step Cancel Button"}),saveBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.save-btn",defaultMessage:"Save",description:"Admin Center Custom Login Basic Info Step Save Button"}),nextBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.next-btn",defaultMessage:"Next",description:"Admin Center Custom Login Basic Info Step Next Button"}),customUrlSlugError:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-error",defaultMessage:"Please enter a valid URL slug",description:"Admin Center Custom Login Basic Info Step Custom URL Slug Error"}),showMeLink:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.show-me-link",defaultMessage:"Show me",description:"Admin Center Custom Login Basic Info Step Show Me Link"})},configurationStep:{title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.title",defaultMessage:"Customize Colors",description:"Admin Center Custom Login Configuration Step Title"}),description:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.description",defaultMessage:"Change the primary and secondary colors of the login and sign up pages to match your brand.",description:"Admin Center Custom Login Configuration Step Description"}),backBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.back-btn",defaultMessage:"Back",description:"Admin Center Custom Login Configuration Step Back Button"}),createBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.create-btn",defaultMessage:"Create",description:"Admin Center Custom Login Configuration Step Create Button"})}},formattedMessages=e=>({loginNamePlaceholder:e.formatMessage({id:"os-admin-center-custom-login.basic-info-step.login-name-input-placeholder",defaultMessage:[{type:0,value:"Login Name"}]}),customLoginUrlSlugPlaceholder:e.formatMessage({id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-placeholder",defaultMessage:[{type:0,value:"login.veritone.com/"}]})});var EmptyStringDescriptionStore,SymbolWrapper,NATIVE_SYMBOL,thisSymbolValue,symbolDescriptiveString,regexp,replace,stringSlice,wellKnownSymbol$8=wellKnownSymbol$a,TO_STRING_TAG$2=wellKnownSymbol$a("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$2]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$7=isCallable$i,classofRaw$1=classofRaw$2,wellKnownSymbol$7=wellKnownSymbol$a,TO_STRING_TAG$1=wellKnownSymbol$a("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$4=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG$1))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"==(t=classofRaw$1(e))&&isCallable$7(e.callee)?"Arguments":t},classof$3=classof$4,$String$1=String,toString$1=function(e){if("Symbol"===classof$3(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$1(e)},makeBuiltIn=makeBuiltIn$3.exports,defineProperty$1=objectDefineProperty,defineBuiltInAccessor$2=function(e,t,o){return o.get&&makeBuiltIn(o.get,t,{getter:!0}),o.set&&makeBuiltIn(o.set,t,{setter:!0}),defineProperty$1.f(e,t,o)},$$6=_export,DESCRIPTORS$1=descriptors,global$6=global$g,uncurryThis$5=functionUncurryThis,hasOwn$2=hasOwnProperty_1,isCallable$6=isCallable$i,isPrototypeOf$2=objectIsPrototypeOf,toString=toString$1,defineBuiltInAccessor$1=defineBuiltInAccessor$2,copyConstructorProperties=copyConstructorProperties$2,NativeSymbol=global$g.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;!DESCRIPTORS$1||!isCallable$6(NativeSymbol)||"description"in SymbolPrototype&&void 0===NativeSymbol().description||(EmptyStringDescriptionStore={},copyConstructorProperties(SymbolWrapper=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:toString(arguments[0]),t=isPrototypeOf$2(SymbolPrototype,this)?new NativeSymbol(e):void 0===e?NativeSymbol():NativeSymbol(e);return""===e&&(EmptyStringDescriptionStore[t]=!0),t},NativeSymbol),(SymbolWrapper.prototype=SymbolPrototype).constructor=SymbolWrapper,NATIVE_SYMBOL="Symbol(test)"==String(NativeSymbol("test")),thisSymbolValue=uncurryThis$5(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis$5(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis$5("".replace),stringSlice=uncurryThis$5("".slice),defineBuiltInAccessor$1(SymbolPrototype,"description",{configurable:!0,get:function(){var e=thisSymbolValue(this);return hasOwn$2(EmptyStringDescriptionStore,e)?"":(e=symbolDescriptiveString(e),""===(e=NATIVE_SYMBOL?stringSlice(e,7,-1):replace(e,regexp,"$1"))?void 0:e)}}),$$6({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper}));const EmptyState=()=>{const e=useDispatch();return jsxRuntime.exports.jsxs(Stack,Object.assign({sx:{marginTop:"50px",alignItems:"center",justifyContent:"center",gap:"10px"},alignItems:"center"},{children:[jsxRuntime.exports.jsx(EmptyStateImage,{}),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h4",fontWeight:"bold"},{children:SHARED_TEXT.emptyState.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1"},{children:SHARED_TEXT.emptyState.description()})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>{console.log("Open Create Custom Login"),e(mountPanel({panelId:CUSTOM_LOGIN_PANEL_ID,microFrontend:{name:CUSTOM_LOGIN_PANEL_ID,config:{customLoginId:null,isFullScreen:!1}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"medium",zIndex:1002,parentPanelId:"ADMIN_CENTER",dimmed:0,dimmedStatus:"dimParent"}}))}},{children:SHARED_TEXT.emptyState.createButton()}))]}))};function EmptyStateImage(){return jsxRuntime.exports.jsxs("svg",Object.assign({width:"164",height:"144",viewBox:"0 0 164 144",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[jsxRuntime.exports.jsx("path",{d:"M81.9533 128.571C117.531 128.571 146.372 99.7897 146.372 64.2857C146.372 28.7817 117.531 0 81.9533 0C46.3756 0 17.5342 28.7817 17.5342 64.2857C17.5342 99.7897 46.3756 128.571 81.9533 128.571Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("g",Object.assign({filter:"url(#filter0_d_62587_13624)"},{children:jsxRuntime.exports.jsx("path",{d:"M141.051 26.3796V104.557C141.051 107.313 138.776 109.583 136.014 109.583H28.5639C25.8019 109.583 23.5273 107.313 23.5273 104.557V26.3796C23.5273 23.6234 25.8019 21.3535 28.5639 21.3535H136.014C138.776 21.3535 141.051 23.6234 141.051 26.3796Z",fill:"url(#paint0_linear_62587_13624)"})})),jsxRuntime.exports.jsx("path",{d:"M141.051 26.3796V30.0277H23.5273V26.3796C23.5273 23.6234 25.8019 21.3535 28.5639 21.3535H136.014C138.776 21.3535 141.051 23.6234 141.051 26.3796Z",fill:"url(#paint1_linear_62587_13624)"}),jsxRuntime.exports.jsx("path",{d:"M28.4722 27.2719C29.3247 27.2719 30.0156 26.5823 30.0156 25.7316C30.0156 24.881 29.3247 24.1914 28.4722 24.1914C27.6198 24.1914 26.9287 24.881 26.9287 25.7316C26.9287 26.5823 27.6198 27.2719 28.4722 27.2719Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{opacity:"0.6",d:"M33.2642 27.2719C34.1165 27.2719 34.8076 26.5823 34.8076 25.7316C34.8076 24.881 34.1165 24.1914 33.2642 24.1914C32.4118 24.1914 31.7207 24.881 31.7207 25.7316C31.7207 26.5823 32.4118 27.2719 33.2642 27.2719Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{opacity:"0.4",d:"M38.1382 27.2719C38.9906 27.2719 39.6816 26.5823 39.6816 25.7316C39.6816 24.881 38.9906 24.1914 38.1382 24.1914C37.2858 24.1914 36.5947 24.881 36.5947 25.7316C36.5947 26.5823 37.2858 27.2719 38.1382 27.2719Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{d:"M54.093 37.874H35.1672C34.5975 37.874 34.1357 38.3345 34.1357 38.9026V41.8288C34.1357 42.3969 34.5975 42.8574 35.1672 42.8574H54.093C54.6626 42.8574 55.1244 42.3969 55.1244 41.8288V38.9026C55.1244 38.3345 54.6626 37.874 54.093 37.874Z",fill:"#C2C8D6"}),jsxRuntime.exports.jsx("path",{d:"M114.061 37.874H104.13C103.56 37.874 103.099 38.3345 103.099 38.9026V39.8355C103.099 40.4036 103.56 40.8641 104.13 40.8641H114.061C114.63 40.8641 115.092 40.4036 115.092 39.8355V38.9026C115.092 38.3345 114.63 37.874 114.061 37.874Z",fill:"#C2C8D6"}),jsxRuntime.exports.jsx("path",{d:"M130.052 37.874H120.121C119.552 37.874 119.09 38.3345 119.09 38.9026V39.8355C119.09 40.4036 119.552 40.8641 120.121 40.8641H130.052C130.622 40.8641 131.083 40.4036 131.083 39.8355V38.9026C131.083 38.3345 130.622 37.874 130.052 37.874Z",fill:"#C2C8D6"}),jsxRuntime.exports.jsx("path",{d:"M129.021 49.834H36.1986C35.0593 49.834 34.1357 50.755 34.1357 51.8911V73.6905C34.1357 74.8266 35.0593 75.7476 36.1986 75.7476H129.021C130.16 75.7476 131.084 74.8266 131.084 73.6905V51.8911C131.084 50.755 130.16 49.834 129.021 49.834Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M85.0005 59.8456C85.5891 59.8456 86.0664 59.3428 86.0664 58.7226C86.0664 58.1024 85.5891 57.5996 85.0005 57.5996C84.4117 57.5996 83.9346 58.1024 83.9346 58.7226C83.9346 59.3428 84.4117 59.8456 85.0005 59.8456Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M85.0636 67.1376H76.9315C76.407 67.1376 76.1009 66.4961 76.407 66.0837L80.4729 60.1275C80.7352 59.7609 81.2599 59.7609 81.5222 60.1275L85.5883 66.0837C85.8943 66.542 85.5883 67.1376 85.0636 67.1376Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{opacity:"0.7",d:"M87.8944 67.0156H83.8922C83.2843 67.0156 82.9803 66.3496 83.2843 65.8886L85.2601 63.071C85.5641 62.6612 86.1214 62.6612 86.4253 63.071L88.4011 65.8886C88.8571 66.3496 88.5024 67.0156 87.8944 67.0156Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M62.0568 80.7305H36.1986C35.0593 80.7305 34.1357 81.6515 34.1357 82.7876V97.6102C34.1357 98.7464 35.0593 99.6674 36.1986 99.6674H62.0568C63.1961 99.6674 64.1197 98.7464 64.1197 97.6102V82.7876C64.1197 81.6515 63.1961 80.7305 62.0568 80.7305Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M95.0388 80.7305H70.1801C69.0408 80.7305 68.1172 81.6515 68.1172 82.7876V97.6102C68.1172 98.7464 69.0408 99.6674 70.1801 99.6674H95.0388C96.1781 99.6674 97.1017 98.7464 97.1017 97.6102V82.7876C97.1017 81.6515 96.1781 80.7305 95.0388 80.7305Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M129.021 80.7305H103.163C102.023 80.7305 101.1 81.6515 101.1 82.7876V97.6102C101.1 98.7464 102.023 99.6674 103.163 99.6674H129.021C130.16 99.6674 131.084 98.7464 131.084 97.6102V82.7876C131.084 81.6515 130.16 80.7305 129.021 80.7305Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M117.027 22.9238H48.1918C47.0525 22.9238 46.1289 23.8448 46.1289 24.981V25.8501C46.1289 26.9862 47.0525 27.9072 48.1918 27.9072H117.027C118.166 27.9072 119.09 26.9862 119.09 25.8501V24.981C119.09 23.8448 118.166 22.9238 117.027 22.9238Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{d:"M143.296 105.089C143.098 105.385 142.999 105.581 142.604 105.777L138.06 107.646C137.369 107.941 136.678 108.334 136.183 108.826C135.689 109.318 135.294 109.809 135.195 110.498L133.318 115.021C133.121 115.709 132.33 116.005 131.837 115.709C131.639 115.513 131.343 115.414 131.343 115.218L122.551 95.9438C122.353 95.6488 122.353 95.2555 122.551 95.0587C122.748 94.7637 123.242 94.5671 123.736 94.7637L143.098 103.516C143.296 103.91 143.493 104.598 143.296 105.089Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M146.655 116.889C146.458 116.889 146.359 116.889 146.162 116.693L139.839 110.301C139.543 110.006 139.543 109.416 139.839 109.318C140.135 109.023 140.728 109.023 140.827 109.318L147.149 115.612C147.446 115.906 147.446 116.496 147.149 116.595C147.149 116.889 146.853 116.889 146.655 116.889Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M140.235 116.889C140.037 116.889 139.938 116.889 139.741 116.693L136.875 113.841C136.579 113.546 136.579 112.956 136.875 112.858C137.172 112.563 137.764 112.563 137.863 112.858L140.729 115.709C141.025 116.005 141.025 116.595 140.729 116.693C140.729 116.889 140.63 116.889 140.235 116.889Z",fill:"#989FB0"}),jsxRuntime.exports.jsxs("defs",{children:[jsxRuntime.exports.jsxs("filter",Object.assign({id:"filter0_d_62587_13624",x:"1.52734",y:"10.3535",width:"161.523",height:"132.229",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},{children:[jsxRuntime.exports.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),jsxRuntime.exports.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),jsxRuntime.exports.jsx("feOffset",{dy:"11"}),jsxRuntime.exports.jsx("feGaussianBlur",{stdDeviation:"11"}),jsxRuntime.exports.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0"}),jsxRuntime.exports.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_62587_13624"}),jsxRuntime.exports.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_62587_13624",result:"shape"})]})),jsxRuntime.exports.jsxs("linearGradient",Object.assign({id:"paint0_linear_62587_13624",x1:"82.2506",y1:"19.3127",x2:"82.2506",y2:"110.534",gradientUnits:"userSpaceOnUse"},{children:[jsxRuntime.exports.jsx("stop",{stopColor:"#FDFEFF"}),jsxRuntime.exports.jsx("stop",{offset:"0.9964",stopColor:"#ECF0F5"})]})),jsxRuntime.exports.jsxs("linearGradient",Object.assign({id:"paint1_linear_62587_13624",x1:"136.389",y1:"21.3535",x2:"27.3523",y2:"26.497",gradientUnits:"userSpaceOnUse"},{children:[jsxRuntime.exports.jsx("stop",{stopColor:"#B0BACC"}),jsxRuntime.exports.jsx("stop",{offset:"1",stopColor:"#969EAE"})]}))]})]}))}const{TableInfiniteScroll}=tableInfiniteScroll["jsx"],itemHeight=60,TableRow=({item:e,index:t,onClick:o})=>{var r=itemHeight-1+"px";return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:r,borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}},onClick:o,"data-testid":TEST_ID+"-row-"+t},{children:JSON.stringify(e)}))},LoginTable=()=>{useDispatch();var e=[];return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:!1,fetchMore:()=>{},fetchOnMount:0===e.length,offset:0,items:e,itemHeight:itemHeight,isLoading:!1,error:!1,TableRowComponent:({item:e,index:t})=>jsxRuntime.exports.jsx(TableRow,{item:e,index:t,onClick:()=>{console.log("Clicked item: ",e)}}),TableEmptyStateComponent:jsxRuntime.exports.jsx(EmptyState,{}),testId:TEST_ID})},{CenterTabHeading,CenterTabContainer,CenterTabContent}=centerComponents,MainLayout=()=>jsxRuntime.exports.jsxs(CenterTabContainer,Object.assign({testId:TEST_ID},{children:[jsxRuntime.exports.jsx(CenterTabHeading,{title:SHARED_TEXT.title(),subtitle:SHARED_TEXT.subTitle(),testId:TEST_ID}),jsxRuntime.exports.jsx(CenterTabContent,Object.assign({testId:TEST_ID},{children:jsxRuntime.exports.jsx(LoginTable,{})}))]})),CustomLoginTab=()=>jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getAdminCenterCustomLoginModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(MainLayout,{})})}))})});var $location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,classof$2=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classofRaw$2(process),uncurryThis$4=functionUncurryThis,aCallable$6=aCallable$8,functionUncurryThisAccessor=function(e,t,o){try{return uncurryThis$4(aCallable$6(Object.getOwnPropertyDescriptor(e,t)[o]))}catch(e){}},isCallable$5=isCallable$i,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$5(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$5=anObject$8,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var o,r=!1,e={};try{(o=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return anObject$5(e),aPossiblePrototype(t),r?o(e,t):e.__proto__=t,e}}():void 0),defineProperty=objectDefineProperty.f,hasOwn$1=hasOwnProperty_1,wellKnownSymbol$6=wellKnownSymbol$a,TO_STRING_TAG=wellKnownSymbol$a("toStringTag"),setToStringTag$1=function(e,t,o){(e=e&&!o?e.prototype:e)&&!hasOwn$1(e,TO_STRING_TAG)&&defineProperty(e,TO_STRING_TAG,{configurable:!0,value:t})},getBuiltIn$4=getBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$2,wellKnownSymbol$5=wellKnownSymbol$a,DESCRIPTORS=descriptors,SPECIES$2=wellKnownSymbol$a("species"),setSpecies$1=function(e){e=getBuiltIn$4(e);DESCRIPTORS&&e&&!e[SPECIES$2]&&defineBuiltInAccessor(e,SPECIES$2,{configurable:!0,get:function(){return this}})},isPrototypeOf$1=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$1(t,e))return e;throw $TypeError$5("Incorrect invocation")},uncurryThis$3=functionUncurryThis,fails$1=fails$b,isCallable$4=isCallable$i,classof$1=classof$4,getBuiltIn$3=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis$3(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$4(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$4(e))return!1;switch(classof$1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$1(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString$2=tryToString$4,$TypeError$4=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw $TypeError$4(tryToString$2(e)+" is not a constructor")},anObject$4=anObject$8,aConstructor=aConstructor$1,isNullOrUndefined$1=isNullOrUndefined$4,wellKnownSymbol$4=wellKnownSymbol$a,SPECIES$1=wellKnownSymbol$a("species"),speciesConstructor$1=function(e,t){var e=anObject$4(e).constructor;return void 0===e||isNullOrUndefined$1(e=anObject$4(e)[SPECIES$1])?t:aConstructor(e)},NATIVE_BIND$1=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$7=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$7.bind(apply$1):function(){return call$7.apply(apply$1,arguments)}),classofRaw=classofRaw$2,uncurryThis$2=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$2(e)},uncurryThis$1=functionUncurryThisClause,aCallable$5=aCallable$8,NATIVE_BIND=functionBindNative,bind$4=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$5(e),void 0===t?e:NATIVE_BIND?bind$4(e,t):function(){return e.apply(t,arguments)}},getBuiltIn$2=getBuiltIn$7,html$1=getBuiltIn$7("document","documentElement"),uncurryThis=functionUncurryThis,arraySlice$1=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$5=global$g,apply=functionApply,bind$3=functionBindContext,isCallable$3=isCallable$i,hasOwn=hasOwnProperty_1,fails=fails$b,html=html$1,arraySlice=arraySlice$1,createElement=documentCreateElement,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$5.setImmediate,clear=global$5.clearImmediate,process$3=global$5.process,Dispatch=global$5.Dispatch,Function$1=global$5.Function,MessageChannel=global$5.MessageChannel,String$1=global$5.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails(function(){$location=global$5.location}),function(e){var t;hasOwn(queue$2,e)&&(t=queue$2[e],delete queue$2[e],t())}),runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$5.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$3(e)?e:Function$1(e),o=arraySlice(arguments,1);return queue$2[++counter]=function(){apply(t,void 0,o)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$3?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!IS_IOS$1?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind$3(port.postMessage,port)):global$5.addEventListener&&isCallable$3(global$5.postMessage)&&!global$5.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$5.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in createElement("script")?function(e){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)}),{set:set,clear:clear}),Queue$2=function(){this.head=null,this.tail=null},queue$1=(Queue$2.prototype={add:function(e){var e={item:e,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},Queue$2),userAgent$1=engineUserAgent,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$1)&&"undefined"!=typeof Pebble,userAgent=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent),global$4=global$g,bind$2=functionBindContext,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$4.MutationObserver||global$4.WebKitMutationObserver,document$2=global$4.document,process$2=global$4.process,Promise$1=global$4.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global$4,"queueMicrotask"),microtask$1=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value,microtask_1=(microtask$1||(queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$2&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&¬ify$1(),e}e&&e.enter()},notify$1=IS_IOS||IS_NODE$2||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$2(promise.then,promise),function(){then(flush)}):IS_NODE$2?function(){process$2.nextTick(flush)}:(macrotask=bind$2(macrotask,global$4),function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),function(){node.data=toggle=!toggle}),microtask$1=function(e){queue.head||notify$1(),queue.add(e)}),microtask$1),hostReportErrors$1=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform$3=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},global$3=global$g,promiseNativeConstructor=global$g.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$1=engineIsNode,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document,global$2=global$g,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$2=isCallable$i,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$3=wellKnownSymbol$a,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES=(NativePromiseConstructor$3&&NativePromiseConstructor$3.prototype,wellKnownSymbol$3("species")),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$2(global$2.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced("Promise",function(){var e=inspectSource(NativePromiseConstructor$3),t=e!==String(NativePromiseConstructor$3);if(!t&&66===V8_VERSION)return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(e)){function o(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES]=o,!(SUBCLASSING=e.then(function(){})instanceof o))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1}),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$4=aCallable$8,$TypeError$2=TypeError,PromiseCapability=function(e){var o,r;this.promise=new e(function(e,t){if(void 0!==o||void 0!==r)throw $TypeError$2("Bad Promise constructor");o=e,r=t}),this.resolve=aCallable$4(o),this.reject=aCallable$4(r)},$$5=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE=engineIsNode,global$1=global$g,call$6=functionCall,defineBuiltIn$1=defineBuiltIn$3,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$1,setSpecies=setSpecies$1,aCallable$3=aCallable$8,isCallable$1=isCallable$i,isObject$1=isObject$7,anInstance=anInstance$1,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule=internalState,NativePromiseConstructor$2=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$3=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$1=global$1.TypeError,document$1=global$1.document,process$1=global$1.process,newPromiseCapability$1=newPromiseCapabilityModule$3.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$1.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$1(e)||!isCallable$1(t=e.then))&&t},callReaction=function(e,t){var o,r,n,i=t.value,s=t.state==FULFILLED,a=s?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{a?(s||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===a?o=i:(u&&u.enter(),o=a(i),u&&(u.exit(),n=!0)),o===e.promise?c(TypeError$1("Promise-chain cycle")):(r=isThenable(o))?call$6(r,o,l,c):l(o)):c(i)}catch(e){u&&!n&&u.exit(),c(e)}},notify=function(o,r){o.notified||(o.notified=!0,microtask(function(){for(var e,t=o.reactions;e=t.get();)callReaction(e,o);o.notified=!1,r&&!o.rejection&&onUnhandled(o)}))},dispatchEvent=function(e,t,o){var r;DISPATCH_EVENT?((r=document$1.createEvent("Event")).promise=t,r.reason=o,r.initEvent(e,!1,!0),global$1.dispatchEvent(r)):r={promise:t,reason:o},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$1["on"+e])?t(r):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",o)},onUnhandled=function(r){call$6(task,global$1,function(){var e=r.facade,t=r.value,o=isUnhandled(r);if(o&&(o=perform$2(function(){IS_NODE?process$1.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),r.rejection=IS_NODE||isUnhandled(r)?UNHANDLED:HANDLED,o.error))throw o.value})},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(t){call$6(task,global$1,function(){var e=t.facade;IS_NODE?process$1.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$1=function(t,o,r){return function(e){t(o,e,r)}},internalReject=function(e,t,o){e.done||(e.done=!0,(e=o?o:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(o,e,t){if(!o.done){o.done=!0,t&&(o=t);try{if(o.facade===e)throw TypeError$1("Promise can't be resolved itself");var r=isThenable(e);r?microtask(function(){var t={done:!1};try{call$6(r,e,bind$1(internalResolve,t,o),bind$1(internalReject,t,o))}catch(e){internalReject(t,e,o)}}):(o.value=e,o.state=FULFILLED,notify(o,!1))}catch(e){internalReject({done:!1},e,o)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$3(e),call$6(Internal,this);var t=getInternalPromiseState(this);try{e(bind$1(internalResolve,t),bind$1(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$1(PromisePrototype,"then",function(e,t){var o=getInternalPromiseState(this),r=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return o.parent=!0,r.ok=!isCallable$1(e)||e,r.fail=isCallable$1(t)&&t,r.domain=IS_NODE?process$1.domain:void 0,o.state==PENDING?o.reactions.add(r):microtask(function(){callReaction(r,o)}),r.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$1(internalResolve,t),this.reject=bind$1(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$1(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$1(NativePromisePrototype$1,"then",function(e,t){var o=this;return new PromiseConstructor(function(e,t){call$6(nativeThen,o,e,t)}).then(e,t)},{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype$1,PromisePrototype)}$$5({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var iterators={},wellKnownSymbol$2=wellKnownSymbol$a,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$a("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$2]===e)},classof=classof$4,getMethod$1=getMethod$3,isNullOrUndefined=isNullOrUndefined$4,Iterators=iterators,wellKnownSymbol$1=wellKnownSymbol$a,ITERATOR$1=wellKnownSymbol$a("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined(e))return getMethod$1(e,ITERATOR$1)||getMethod$1(e,"@@iterator")||Iterators[classof(e)]},call$5=functionCall,aCallable$2=aCallable$8,anObject$3=anObject$8,tryToString$1=tryToString$4,getIteratorMethod$1=getIteratorMethod$2,$TypeError$1=TypeError,getIterator$1=function(e,t){var o=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$2(o))return anObject$3(call$5(o,e));throw $TypeError$1(tryToString$1(e)+" is not iterable")},call$4=functionCall,anObject$2=anObject$8,getMethod=getMethod$3,iteratorClose$1=function(e,t,o){var r,n;anObject$2(e);try{if(!(r=getMethod(e,"return"))){if("throw"===t)throw o;return o}r=call$4(r,e)}catch(e){n=!0,r=e}if("throw"===t)throw o;if(n)throw r;return anObject$2(r),o},bind=functionBindContext,call$3=functionCall,anObject$1=anObject$8,tryToString=tryToString$4,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike=lengthOfArrayLike$2,isPrototypeOf=objectIsPrototypeOf,getIterator=getIterator$1,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,o){function r(e){return i&&iteratorClose(i,"normal",e),new Result(!0,e)}function n(e){return $?(anObject$1(e),f?g(e[0],e[1],r):g(e[0],e[1])):f?g(e,r):g(e)}var i,s,a,l,c,u,p=o&&o.that,$=!(!o||!o.AS_ENTRIES),d=!(!o||!o.IS_RECORD),m=!(!o||!o.IS_ITERATOR),f=!(!o||!o.INTERRUPTED),g=bind(t,p);if(d)i=e.iterator;else if(m)i=e;else{if(!(o=getIteratorMethod(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(o)){for(s=0,a=lengthOfArrayLike(e);s<a;s++)if((l=n(e[s]))&&isPrototypeOf(ResultPrototype,l))return l;return new Result(!1)}i=getIterator(e,o)}for(c=(d?e:i).next;!(u=call$3(c,i)).done;){try{l=n(u.value)}catch(e){iteratorClose(i,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol=wellKnownSymbol$a,ITERATOR=wellKnownSymbol$a("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,STEP_ID,checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var o=!1;try{var r={};r[ITERATOR]=function(){return{next:function(){return{done:o=!0}}}},e(r)}catch(e){}return o},NativePromiseConstructor$1=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration(function(e){NativePromiseConstructor$1.all(e).then(void 0,function(){})}),$$4=_export,call$2=functionCall,aCallable$1=aCallable$8,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$1=perform$3,iterate$1=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration,$$3=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var a=this,t=newPromiseCapabilityModule$2.f(a),l=t.resolve,c=t.reject,o=perform$1(function(){var r=aCallable$1(a.resolve),n=[],i=0,s=1;iterate$1(e,function(e){var t=i++,o=!1;s++,call$2(r,a,e).then(function(e){o||(o=!0,n[t]=e,--s)||l(n)},c)}),--s||l(n)});return o.error&&c(o.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable=isCallable$i,defineBuiltIn=defineBuiltIn$3,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,$$2=($$3({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable(NativePromiseConstructor)&&(method=getBuiltIn$1("Promise").prototype.catch,NativePromisePrototype.catch!==method)&&defineBuiltIn(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$1=functionCall,aCallable=aCallable$8,newPromiseCapabilityModule$1=newPromiseCapability$2,perform=perform$3,iterate=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,$$1=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var o=this,r=newPromiseCapabilityModule$1.f(o),n=r.reject,t=perform(function(){var t=aCallable(o.resolve);iterate(e,function(e){call$1(t,o,e).then(r.resolve,n)})});return t.error&&n(t.value),r.promise}}),_export),call=functionCall,newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject=($$1({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return call(t.reject,void 0,e),t.promise}}),anObject$8),isObject=isObject$7,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject(e),isObject(t)&&t.constructor===e?t:((0,(e=newPromiseCapability.f(e)).resolve)(t),e.promise)},$=_export,getBuiltIn=getBuiltIn$7,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve=promiseResolve$1;getBuiltIn("Promise"),$({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});const selectActiveStep=e=>e.adminCenterCustomLogin.customLoginWizard.activeStep,selectSteps=e=>e.adminCenterCustomLogin.customLoginWizard.steps,{header:PanelHeader,container:PanelContainer,content:PanelContent,stepper:PanelStepper}=(!function(e){e[e.BASIC_INFO=1]="BASIC_INFO",e[e.CONFIGURATION=2]="CONFIGURATION"}(STEP_ID=STEP_ID||{}),panelComponents),stepLabels=[{stepNumber:STEP_ID.BASIC_INFO,stepLabel:"Basic Info"},{stepNumber:STEP_ID.CONFIGURATION,stepLabel:"Configuration"}],BasicInfoStep=react.exports.lazy(()=>import("./js-core.esm101.js")),ConfigurationStep=react.exports.lazy(()=>import("./js-core.esm102.js")),CustomLoginPanelWizard=({customLoginId:e,isFullScreen:t})=>{const o=useDispatch();var r=useSelector(selectSteps),n=useSelector(selectActiveStep),i=!!e;return react.exports.useEffect(()=>{},[e,i]),jsxRuntime.exports.jsxs(PanelContainer,Object.assign({testId:TEST_ID_PANEL+"-panel-container",panelId:CUSTOM_LOGIN_PANEL_ID,isFullScreen:t},{children:[jsxRuntime.exports.jsx(PanelHeader,{title:i?SHARED_TEXT.panel.editTitle():SHARED_TEXT.panel.createTitle(),testId:TEST_ID_PANEL+"-panel-header",onPanelClose:function(){o(actions$1.resetBasicInfo()),o(actions.resetButton()),o(actions$2.setActiveStep(1)),o(hidePanel(CUSTOM_LOGIN_PANEL_ID))}}),jsxRuntime.exports.jsx(PanelStepper,{enableTabs:i,steps:r,stepLabels:stepLabels,activeStep:n,TabsProps:{scrollButtons:!1},onClickTab:e=>{},testId:"custom-login-stepper"}),jsxRuntime.exports.jsx(PanelContent,Object.assign({isLoading:!1,isErrored:!1,onRetry:function(){},style:{padding:"0 30px",height:"100vh"},testId:TEST_ID_PANEL+"-panel-content"},{children:jsxRuntime.exports.jsxs(react.exports.Suspense,Object.assign({fallback:jsxRuntime.exports.jsx(Loader,{})},{children:[n===STEP_ID.BASIC_INFO&&jsxRuntime.exports.jsx(BasicInfoStep,{}),n===STEP_ID.CONFIGURATION&&jsxRuntime.exports.jsx(ConfigurationStep,{})]}))}))]}))},Loader=()=>jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"30%",height:40,sx:{marginBottom:"10px"}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"100%",height:40,sx:{marginBottom:"10px"}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"100%",height:40,sx:{marginBottom:"10px"}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"100%",height:150,sx:{marginBottom:"10px"}})]}),CustomLoginPanel=e=>jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getAdminCenterCustomLoginModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(CustomLoginPanelWizard,Object.assign({},e))})}))})});export{hiddenKeys$3 as A,iterators as B,CustomLoginTab as C,createNonEnumerableProperty$2 as D,anObject$8 as E,hasOwnProperty_1 as F,toObject$2 as G,objectSetPrototypeOf as H,setToStringTag$1 as I,toIndexedObject$3 as J,v8PrototypeDefineBug as K,objectKeys$1 as L,enumBugKeys$2 as M,functionName as N,internalState as O,toString$1 as P,html$1 as Q,createPropertyDescriptor$2 as R,SHARED_TEXT as S,_export as _,CustomLoginPanel as a,selectUrlSlug as b,selectLogoUrl as c,selectButtonColor as d,selectButtonTextColor as e,formattedMessages as f,selectIsPreviewModalOpen as g,actions$1 as h,sharedKey$1 as i,fails$b as j,isCallable$i as k,isObject$7 as l,defineBuiltIn$3 as m,descriptors as n,objectDefineProperty as o,documentCreateElement as p,global$g as q,functionCall as r,selectLoginName as s,functionUncurryThis as t,shared$3 as u,arrayIncludes as v,wellKnownSymbol$a as w,actions as x,CUSTOM_LOGIN_PANEL_ID as y,actions$2 as z};
|
|
1
|
+
import{X as createSlice,Y as combineReducers,j as jsxRuntime,bW as AIWareCacheProvider,aK as AIWareThemeProvider,Z as useSelector,r as react,B as all,a1 as hidePanel,C as takeLatest$1,E as select,I as put,a5 as showMessage,a6 as MessageSeverity,ar as mountPanel,ao as Box}from"./js-core.esm.js";import{p as DynamicModuleLoader,A as AIWareIntlProvider,k as FormattedMessage,T as Typography,h as Button}from"./js-core.esm5.js";import{f as Skeleton,aj as centerComponents,z as panelComponents,n as Stack,t as tableInfiniteScroll}from"./js-core.esm6.js";import{u as useDispatch}from"./js-core.esm7.js";var match,version,set$1,get,store,STATE,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$g=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$b=function(e){try{return!!e()}catch(e){return!0}},fails$a=fails$b,descriptors=!fails$b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$9=fails$b,functionBindNative=!fails$b(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$3=functionBindNative,call$d=Function.prototype.call,functionCall=NATIVE_BIND$3?call$d.bind(call$d):function(){return call$d.apply(call$d,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$2=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative,FunctionPrototype$2=Function.prototype,call$c=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$c,call$c),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$c.apply(e,arguments)}},uncurryThis$f=functionUncurryThis,toString$3=uncurryThis$f({}.toString),stringSlice$2=uncurryThis$f("".slice),classofRaw$2=function(e){return stringSlice$2(toString$3(e),8,-1)},uncurryThis$e=functionUncurryThis,fails$8=fails$b,classof$5=classofRaw$2,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$8(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$5(e)?split(e,""):$Object$3(e)}:$Object$3,isNullOrUndefined$4=function(e){return null==e},isNullOrUndefined$3=isNullOrUndefined$4,$TypeError$c=TypeError,requireObjectCoercible$2=function(e){if(isNullOrUndefined$3(e))throw $TypeError$c("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$3=function(e){return IndexedObject$1(requireObjectCoercible$1(e))},documentAll$2="object"==typeof document&&document.all,IS_HTMLDDA=void 0===documentAll$2&&void 0!==documentAll$2,documentAll_1={all:documentAll$2,IS_HTMLDDA:IS_HTMLDDA},$documentAll$1=documentAll_1,documentAll$1=$documentAll$1.all,isCallable$i=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},isCallable$h=isCallable$i,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$7=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$h(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$h(e)},global$f=global$g,isCallable$g=isCallable$i,aFunction=function(e){return isCallable$g(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$f[e]):global$f[e]&&global$f[e][t]},uncurryThis$d=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$e=global$g,userAgent$3=engineUserAgent,process$4=global$e.process,Deno$1=global$e.Deno,versions=process$4&&process$4.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent$3&&(!(match=userAgent$3.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent$3.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION$1=engineV8Version,fails$7=fails$b,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$7(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION$1&&V8_VERSION$1<41}),NATIVE_SYMBOL$2=symbolConstructorDetection,useSymbolAsUid=symbolConstructorDetection&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$6=getBuiltIn$7,isCallable$f=isCallable$i,isPrototypeOf$3=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$6("Symbol");return isCallable$f(t)&&isPrototypeOf$3(t.prototype,$Object$2(e))},$String$4=String,tryToString$4=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$e=isCallable$i,tryToString$3=tryToString$4,$TypeError$b=TypeError,aCallable$8=function(e){if(isCallable$e(e))return e;throw $TypeError$b(tryToString$3(e)+" is not a function")},aCallable$7=aCallable$8,isNullOrUndefined$2=isNullOrUndefined$4,getMethod$3=function(e,t){e=e[t];return isNullOrUndefined$2(e)?void 0:aCallable$7(e)},call$b=functionCall,isCallable$d=isCallable$i,isObject$6=isObject$7,$TypeError$a=TypeError,ordinaryToPrimitive$1=function(e,t){var o,r;if("string"===t&&isCallable$d(o=e.toString)&&!isObject$6(r=call$b(o,e)))return r;if(isCallable$d(o=e.valueOf)&&!isObject$6(r=call$b(o,e)))return r;if("string"!==t&&isCallable$d(o=e.toString)&&!isObject$6(r=call$b(o,e)))return r;throw $TypeError$a("Can't convert object to primitive value")},shared$3={exports:{}},global$d=global$g,defineProperty$4=Object.defineProperty,defineGlobalProperty$3=function(t,o){try{defineProperty$4(global$d,t,{value:o,configurable:!0,writable:!0})}catch(e){global$d[t]=o}return o},global$c=global$g,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$g[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$3.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$1=Object,toObject$2=function(e){return $Object$1(requireObjectCoercible(e))},uncurryThis$c=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$1(e),t)},uncurryThis$b=functionUncurryThis,id=0,postfix=Math.random(),toString$2=uncurryThis$b(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$2(++id+postfix,36)},global$b=global$g,shared$2=shared$3.exports,hasOwn$9=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL$1=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$b.Symbol,WellKnownSymbolsStore=shared$2("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$a=function(e){return hasOwn$9(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL$1&&hasOwn$9(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$a=functionCall,isObject$5=isObject$7,isSymbol$1=isSymbol$2,getMethod$2=getMethod$3,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$9=wellKnownSymbol$a,$TypeError$9=TypeError,TO_PRIMITIVE=wellKnownSymbol$a("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$5(e)||isSymbol$1(e))return e;var o=getMethod$2(e,TO_PRIMITIVE);if(o){if(o=call$a(o,e,t=void 0===t?"default":t),!isObject$5(o)||isSymbol$1(o))return o;throw $TypeError$9("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$a=global$g,isObject$4=isObject$7,document$3=global$g.document,EXISTS$1=isObject$4(document$3)&&isObject$4(document$3.createElement),documentCreateElement=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$9=descriptors,fails$6=fails$b,createElement$1=documentCreateElement,ie8DomDefine=!descriptors&&!fails$b(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8=descriptors,call$9=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$2=toIndexedObject$3,toPropertyKey$1=toPropertyKey$2,hasOwn$8=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$8?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$2(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$8(e,t))return createPropertyDescriptor$1(!call$9(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$7=descriptors,fails$5=fails$b,v8PrototypeDefineBug=descriptors&&fails$b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$3=isObject$7,$String$3=String,$TypeError$8=TypeError,anObject$8=function(e){if(isObject$3(e))return e;throw $TypeError$8($String$3(e)+" is not an object")},DESCRIPTORS$6=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,anObject$7=anObject$8,toPropertyKey=toPropertyKey$2,$TypeError$7=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$5=(objectDefineProperty.f=DESCRIPTORS$6?V8_PROTOTYPE_DEFINE_BUG?function(e,t,o){var r;return anObject$7(e),t=toPropertyKey(t),anObject$7(o),"function"==typeof e&&"prototype"===t&&"value"in o&&WRITABLE in o&&!o[WRITABLE]&&(r=$getOwnPropertyDescriptor(e,t))&&r[WRITABLE]&&(e[t]=o.value,o={configurable:(CONFIGURABLE$1 in o?o:r)[CONFIGURABLE$1],enumerable:(ENUMERABLE in o?o:r)[ENUMERABLE],writable:!1}),$defineProperty(e,t,o)}:$defineProperty:function(e,t,o){if(anObject$7(e),t=toPropertyKey(t),anObject$7(o),IE8_DOM_DEFINE)try{return $defineProperty(e,t,o)}catch(e){}if("get"in o||"set"in o)throw $TypeError$7("Accessors not supported");return"value"in o&&(e[t]=o.value),e},descriptors),definePropertyModule$2=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$2=DESCRIPTORS$5?function(e,t,o){return definePropertyModule$2.f(e,t,createPropertyDescriptor(1,o))}:function(e,t,o){return e[t]=o,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$4=descriptors,hasOwn$7=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$4&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$7(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$4||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$a=functionUncurryThis,isCallable$c=isCallable$i,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$c(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$9=global$g,isCallable$b=isCallable$i,WeakMap$1=global$g.WeakMap,weakMapBasicDetection=isCallable$b(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$1=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$3={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$8=global$g,isObject$2=isObject$7,createNonEnumerableProperty$1=createNonEnumerableProperty$2,hasOwn$6=hasOwnProperty_1,shared=sharedStore,sharedKey=sharedKey$1,hiddenKeys$2=hiddenKeys$3,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global$8.TypeError,WeakMap=global$8.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(t){return function(e){if(isObject$2(e)&&(e=get(e)).type===t)return e;throw TypeError$2("Incompatible receiver, "+t+" required")}},has=NATIVE_WEAK_MAP||shared.state?((store=shared.state||(shared.state=new WeakMap)).get=store.get,store.has=store.has,store.set=store.set,set$1=function(e,t){if(store.has(e))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},function(e){return store.has(e)}):(STATE=sharedKey("state"),hiddenKeys$2[STATE]=!0,set$1=function(e,t){if(hasOwn$6(e,STATE))throw TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$1(e,STATE,t),t},get=function(e){return hasOwn$6(e,STATE)?e[STATE]:{}},function(e){return hasOwn$6(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$9=functionUncurryThis,fails$4=fails$b,isCallable$a=isCallable$i,hasOwn$5=hasOwnProperty_1,DESCRIPTORS$3=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState=InternalStateModule$1.get,$String$2=String,defineProperty$3=Object.defineProperty,stringSlice$1=uncurryThis$9("".slice),replace$1=uncurryThis$9("".replace),join=uncurryThis$9([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$3&&!fails$4(function(){return 8!==defineProperty$3(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,o){"Symbol("===stringSlice$1($String$2(t),0,7)&&(t="["+replace$1($String$2(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!hasOwn$5(e,"name")||CONFIGURABLE_FUNCTION_NAME&&e.name!==t)&&(DESCRIPTORS$3?defineProperty$3(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&o&&hasOwn$5(o,"arity")&&e.length!==o.arity&&defineProperty$3(e,"length",{value:o.arity});try{o&&hasOwn$5(o,"constructor")&&o.constructor?DESCRIPTORS$3&&defineProperty$3(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}o=enforceInternalState(e);return hasOwn$5(o,"source")||(o.source=join(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$9=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$a(this)&&getInternalState(this).source||inspectSource$2(this)},"toString"),isCallable$i),definePropertyModule$1=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,o,r){var n=(r=r||{}).enumerable,i=void 0!==r.name?r.name:t;if(isCallable$9(o)&&makeBuiltIn$1(o,i,r),r.global)n?e[t]=o:defineGlobalProperty$1(t,o);else{try{r.unsafe?e[t]&&(n=!0):delete e[t]}catch(e){}n?e[t]=o:definePropertyModule$1.f(e,t,{value:o,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$2=function(e){return toLength(e.length)},toIndexedObject$1=toIndexedObject$3,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$2,createMethod=function(a){return function(e,t,o){var r,n=toIndexedObject$1(e),i=lengthOfArrayLike$1(n),s=toAbsoluteIndex(o,i);if(a&&t!=t){for(;s<i;)if((r=n[s++])!=r)return!0}else for(;s<i;s++)if((a||s in n)&&n[s]===t)return a||s||0;return!a&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},uncurryThis$8=functionUncurryThis,hasOwn$4=hasOwnProperty_1,toIndexedObject=toIndexedObject$3,indexOf=arrayIncludes.indexOf,hiddenKeys$1=hiddenKeys$3,push=uncurryThis$8([].push),objectKeysInternal=function(e,t){var o,r=toIndexedObject(e),n=0,i=[];for(o in r)!hasOwn$4(hiddenKeys$1,o)&&hasOwn$4(r,o)&&push(i,o);for(;t.length>n;)!hasOwn$4(r,o=t[n++])||~indexOf(i,o)||push(i,o);return i},enumBugKeys$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$1=enumBugKeys$2,hiddenKeys=enumBugKeys$2.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys)},{}),getBuiltIn$5=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$7),uncurryThis$7=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$6=anObject$8,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$6(e)),o=getOwnPropertySymbolsModule$1.f;return o?concat$1(t,o(e)):t},hasOwn$3=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule=objectDefineProperty,copyConstructorProperties$2=function(e,t,o){for(var r=ownKeys(t),n=definePropertyModule.f,i=getOwnPropertyDescriptorModule.f,s=0;s<r.length;s++){var a=r[s];hasOwn$3(e,a)||o&&hasOwn$3(o,a)||n(e,a,i(t,a))}},fails$3=fails$b,isCallable$8=isCallable$i,replacement=/#|\.prototype\./,isForced$2=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$8(t)?fails$3(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,global$7=global$g,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty=createNonEnumerableProperty$2,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties$1=copyConstructorProperties$2,isForced$1=isForced_1,_export=function(e,t){var o,r,n,i=e.target,s=e.global,a=e.stat,l=s?global$7:a?global$7[i]||defineGlobalProperty(i,{}):(global$7[i]||{}).prototype;if(l)for(o in t){if(r=t[o],n=e.dontCallGetSet?(n=getOwnPropertyDescriptor$1(l,o))&&n.value:l[o],!isForced$1(s?o:i+(a?".":"#")+o,e.forced)&&void 0!==n){if(typeof r==typeof n)continue;copyConstructorProperties$1(r,n)}(e.sham||n&&n.sham)&&createNonEnumerableProperty(r,"sham",!0),defineBuiltIn$2(l,o,r,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys=enumBugKeys$2,objectKeys$1=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys)},DESCRIPTORS$2=descriptors,uncurryThis$6=functionUncurryThis,call$8=functionCall,fails$2=fails$b,objectKeys=objectKeys$1,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject=toObject$2,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$2=Object.defineProperty,concat=uncurryThis$6([].concat),objectAssign=!$assign||fails$2(function(){var e,t,o,r;return!(!DESCRIPTORS$2||1===$assign({b:1},$assign(defineProperty$2({},"a",{enumerable:!0,get:function(){defineProperty$2(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},r="abcdefghijklmnopqrst",(e={})[o=Symbol()]=7,r.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[o])||objectKeys($assign({},t)).join("")!=r})?function(e,t){for(var o=toObject(e),r=arguments.length,n=1,i=getOwnPropertySymbolsModule.f,s=propertyIsEnumerableModule.f;n<r;)for(var a,l=IndexedObject(arguments[n++]),c=i?concat(objectKeys(l),i(l)):objectKeys(l),u=c.length,p=0;p<u;)a=c[p++],DESCRIPTORS$2&&!call$8(s,l,a)||(o[a]=l[a]);return o}:$assign,$$7=_export,assign=objectAssign;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign});const SLICE_NAME="adminCenterCustomLogin",TEST_ID="os-admin-center.custom-login",TEST_ID_PANEL="os-admin-center.custom-login-panel",CUSTOM_LOGIN_PANEL_ID="ADMIN_CENTER_CUSTOM_LOGIN_PANEL",namespace$2="customLoginWizard",initialState$2={activeStep:1,steps:[{stepNumber:1,completed:!1,disabled:!1,error:!1},{stepNumber:2,completed:!1,disabled:!1,error:!1}],saveStatus:"idle"},customLoginWizardSlice=createSlice({name:namespace$2,initialState:initialState$2,reducers:{setActiveStep:(e,t)=>{e.activeStep=t.payload},setStepCompleted:(e,t)=>{e.steps[t.payload-1].completed=!0},setStepUncompleted:(e,t)=>{e.steps[t.payload-1].completed=!1},setSaveStatus:(e,t)=>{e.saveStatus=t.payload},saveCustomLoginInit:e=>{e.saveStatus="pending"},saveCustomLoginSuccess:e=>{e.saveStatus="success"},saveCustomLoginFailed:e=>{e.saveStatus="failure"}}}),actions$2=customLoginWizardSlice.actions;var customLoginWizard_slice=customLoginWizardSlice.reducer;const namespace$1="basicInfoStep",initialState$1={customLoginId:null,loginName:"",urlSlug:"",logoUrl:"",isPreviewModalOpen:!1},customLoginBasicInfoStepSlice=createSlice({name:namespace$1,initialState:initialState$1,reducers:{setCustomLoginId:(e,t)=>{e.customLoginId=t.payload},setLoginName:(e,t)=>{e.loginName=t.payload},setUrlSlug:(e,t)=>{e.urlSlug=t.payload},setLogoUrl:(e,t)=>{e.logoUrl=t.payload},setIsPreviewModalOpen:(e,t)=>{e.isPreviewModalOpen=t.payload},resetBasicInfo:e=>{e.loginName=initialState$1.loginName,e.urlSlug=initialState$1.urlSlug,e.logoUrl=initialState$1.logoUrl}}}),actions$1=customLoginBasicInfoStepSlice.actions;var customLoginBasicInfoStep_slice=customLoginBasicInfoStepSlice.reducer;const namespace="configurationStep",initialState={buttonColor:"",buttonTextColor:""},customLoginConfigurationStepSlice=createSlice({name:namespace,initialState:initialState,reducers:{setButtonColor:(e,t)=>{e.buttonColor=t.payload},setButtonTextColor:(e,t)=>{e.buttonTextColor=t.payload},resetButton:e=>{e.buttonColor=initialState.buttonColor,e.buttonTextColor=initialState.buttonTextColor}}}),actions=customLoginConfigurationStepSlice.actions;var customLoginConfigurationStep_slice=customLoginConfigurationStepSlice.reducer;const rootReducer=combineReducers({[namespace$2]:customLoginWizard_slice,[namespace$1]:customLoginBasicInfoStep_slice,[namespace]:customLoginConfigurationStep_slice}),selectLoginName=e=>e.adminCenterCustomLogin.basicInfoStep.loginName,selectUrlSlug=e=>e.adminCenterCustomLogin.basicInfoStep.urlSlug,selectLogoUrl=e=>e.adminCenterCustomLogin.basicInfoStep.logoUrl,selectBasicInfoStep=e=>e.adminCenterCustomLogin.basicInfoStep,selectIsPreviewModalOpen=e=>e.adminCenterCustomLogin.basicInfoStep.isPreviewModalOpen,selectButtonColor=e=>e.adminCenterCustomLogin.configurationStep.buttonColor,selectButtonTextColor=e=>e.adminCenterCustomLogin.configurationStep.buttonTextColor,selectConfigurationStep=e=>e.adminCenterCustomLogin.configurationStep;function*saveCustomLoginSaga(e){try{var t=yield select(selectBasicInfoStep),o=yield select(selectConfigurationStep),r={organizationInfo:{id:"",guid:"",name:""},name:t.loginName||"",slug:t.urlSlug,logo:t.logoUrl||"",buttonColor:o.buttonColor,buttonTextColor:o.buttonTextColor};console.log("brandedLogin:",r)}catch(e){console.error("error:",e),yield put(actions$2.saveCustomLoginFailed()),yield put(showMessage({content:"Failed to save custom login.",severity:MessageSeverity.Error}))}}function*saveCustomLoginWatcher(){yield takeLatest$1(actions$2.saveCustomLoginInit.type,saveCustomLoginSaga)}function*rootSaga(){yield all([saveCustomLoginWatcher()])}function getAdminCenterCustomLoginModule(){return{id:SLICE_NAME,reducerMap:{[SLICE_NAME]:rootReducer},sagas:[rootSaga],initialActions:[]}}const SHARED_TEXT={title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.title",defaultMessage:"Custom Login",description:"Admin Center Custom Login Title"}),subTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.sub-title",defaultMessage:"Create a custom branded login for users of this Organization.",description:"Admin Center Custom Login Subtitle"}),panel:{createTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.panel.create-title",defaultMessage:"New Login",description:"Admin Center Custom Login Panel Create Title"}),editTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.panel.edit-title",defaultMessage:"Edit Login",description:"Admin Center Custom Login Panel Edit Title"})},emptyState:{title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.empty-state.title",defaultMessage:"No Custom Login Found",description:"Admin Center custom login table empty state"}),description:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.empty-state.description",defaultMessage:"You haven’t created a custom login for this Organization",description:"Admin Center custom login table empty state"}),createButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.empty-state.create-button",defaultMessage:"Create Custom Login",description:"Admin Center custom login table empty state"})},basicInfoStep:{description:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.description",defaultMessage:"Create a custom branded login page for this organization, with a didicated domain for users to access their aiWARE account.",description:"Admin Center Custom Login Basic Info Step Description"}),customUrlSlugTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-title",defaultMessage:"Custom Login URL Slug",description:"Admin Center Custom Login Basic Info Step Custom URL Slug Title"}),customUrlSlugDescription:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-description",defaultMessage:"Type in the slug name that will be added to your login url. (Field is required)",description:"Admin Center Custom Login Basic Info Step Custom URL Slug Description"}),brandLogoTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.brand-logo-title",defaultMessage:"Brand Logo",description:"Admin Center Custom Login Basic Info Step Brand Logo Title"}),brandLogoDescription:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.brand-logo-description",defaultMessage:"This logo will be used on your login page. ",description:"Admin Center Custom Login Basic Info Step Brand Logo Description"}),loginNameInputPlaceholder:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.login-name-input-placeholder",defaultMessage:"Login Name",description:"Admin Center Custom Login Basic Info Step Login Name Input Placeholder"}),cancelBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.cancel-btn",defaultMessage:"Cancel",description:"Admin Center Custom Login Basic Info Step Cancel Button"}),saveBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.save-btn",defaultMessage:"Save",description:"Admin Center Custom Login Basic Info Step Save Button"}),nextBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.next-btn",defaultMessage:"Next",description:"Admin Center Custom Login Basic Info Step Next Button"}),customUrlSlugError:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-error",defaultMessage:"Please enter a valid URL slug",description:"Admin Center Custom Login Basic Info Step Custom URL Slug Error"}),showMeLink:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.basic-info-step.show-me-link",defaultMessage:"Show me",description:"Admin Center Custom Login Basic Info Step Show Me Link"})},configurationStep:{title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.title",defaultMessage:"Customize Colors",description:"Admin Center Custom Login Configuration Step Title"}),description:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.description",defaultMessage:"Change the primary and secondary colors of the login and sign up pages to match your brand.",description:"Admin Center Custom Login Configuration Step Description"}),backBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.back-btn",defaultMessage:"Back",description:"Admin Center Custom Login Configuration Step Back Button"}),createBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-custom-login.configuration-step.create-btn",defaultMessage:"Create",description:"Admin Center Custom Login Configuration Step Create Button"})}},formattedMessages=e=>({loginNamePlaceholder:e.formatMessage({id:"os-admin-center-custom-login.basic-info-step.login-name-input-placeholder",defaultMessage:[{type:0,value:"Login Name"}]}),customLoginUrlSlugPlaceholder:e.formatMessage({id:"os-admin-center-custom-login.basic-info-step.custom-url-slug-placeholder",defaultMessage:[{type:0,value:"login.veritone.com/"}]})});var EmptyStringDescriptionStore,SymbolWrapper,NATIVE_SYMBOL,thisSymbolValue,symbolDescriptiveString,regexp,replace,stringSlice,wellKnownSymbol$8=wellKnownSymbol$a,TO_STRING_TAG$2=wellKnownSymbol$a("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$2]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$7=isCallable$i,classofRaw$1=classofRaw$2,wellKnownSymbol$7=wellKnownSymbol$a,TO_STRING_TAG$1=wellKnownSymbol$a("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$4=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG$1))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"==(t=classofRaw$1(e))&&isCallable$7(e.callee)?"Arguments":t},classof$3=classof$4,$String$1=String,toString$1=function(e){if("Symbol"===classof$3(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$1(e)},makeBuiltIn=makeBuiltIn$3.exports,defineProperty$1=objectDefineProperty,defineBuiltInAccessor$2=function(e,t,o){return o.get&&makeBuiltIn(o.get,t,{getter:!0}),o.set&&makeBuiltIn(o.set,t,{setter:!0}),defineProperty$1.f(e,t,o)},$$6=_export,DESCRIPTORS$1=descriptors,global$6=global$g,uncurryThis$5=functionUncurryThis,hasOwn$2=hasOwnProperty_1,isCallable$6=isCallable$i,isPrototypeOf$2=objectIsPrototypeOf,toString=toString$1,defineBuiltInAccessor$1=defineBuiltInAccessor$2,copyConstructorProperties=copyConstructorProperties$2,NativeSymbol=global$g.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype;!DESCRIPTORS$1||!isCallable$6(NativeSymbol)||"description"in SymbolPrototype&&void 0===NativeSymbol().description||(EmptyStringDescriptionStore={},copyConstructorProperties(SymbolWrapper=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:toString(arguments[0]),t=isPrototypeOf$2(SymbolPrototype,this)?new NativeSymbol(e):void 0===e?NativeSymbol():NativeSymbol(e);return""===e&&(EmptyStringDescriptionStore[t]=!0),t},NativeSymbol),(SymbolWrapper.prototype=SymbolPrototype).constructor=SymbolWrapper,NATIVE_SYMBOL="Symbol(test)"==String(NativeSymbol("test")),thisSymbolValue=uncurryThis$5(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis$5(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace=uncurryThis$5("".replace),stringSlice=uncurryThis$5("".slice),defineBuiltInAccessor$1(SymbolPrototype,"description",{configurable:!0,get:function(){var e=thisSymbolValue(this);return hasOwn$2(EmptyStringDescriptionStore,e)?"":(e=symbolDescriptiveString(e),""===(e=NATIVE_SYMBOL?stringSlice(e,7,-1):replace(e,regexp,"$1"))?void 0:e)}}),$$6({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper}));const EmptyState=()=>{const e=useDispatch();return jsxRuntime.exports.jsxs(Stack,Object.assign({sx:{marginTop:"50px",alignItems:"center",justifyContent:"center",gap:"10px"},alignItems:"center"},{children:[jsxRuntime.exports.jsx(EmptyStateImage,{}),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h4",fontWeight:"bold"},{children:SHARED_TEXT.emptyState.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1"},{children:SHARED_TEXT.emptyState.description()})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>{console.log("Open Create Custom Login"),e(mountPanel({panelId:CUSTOM_LOGIN_PANEL_ID,microFrontend:{name:CUSTOM_LOGIN_PANEL_ID,config:{customLoginId:null,isFullScreen:!1}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"medium",zIndex:1002,parentPanelId:"ADMIN_CENTER",dimmed:0,dimmedStatus:"dimParent"}}))}},{children:SHARED_TEXT.emptyState.createButton()}))]}))};function EmptyStateImage(){return jsxRuntime.exports.jsxs("svg",Object.assign({width:"164",height:"144",viewBox:"0 0 164 144",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[jsxRuntime.exports.jsx("path",{d:"M81.9533 128.571C117.531 128.571 146.372 99.7897 146.372 64.2857C146.372 28.7817 117.531 0 81.9533 0C46.3756 0 17.5342 28.7817 17.5342 64.2857C17.5342 99.7897 46.3756 128.571 81.9533 128.571Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("g",Object.assign({filter:"url(#filter0_d_62587_13624)"},{children:jsxRuntime.exports.jsx("path",{d:"M141.051 26.3796V104.557C141.051 107.313 138.776 109.583 136.014 109.583H28.5639C25.8019 109.583 23.5273 107.313 23.5273 104.557V26.3796C23.5273 23.6234 25.8019 21.3535 28.5639 21.3535H136.014C138.776 21.3535 141.051 23.6234 141.051 26.3796Z",fill:"url(#paint0_linear_62587_13624)"})})),jsxRuntime.exports.jsx("path",{d:"M141.051 26.3796V30.0277H23.5273V26.3796C23.5273 23.6234 25.8019 21.3535 28.5639 21.3535H136.014C138.776 21.3535 141.051 23.6234 141.051 26.3796Z",fill:"url(#paint1_linear_62587_13624)"}),jsxRuntime.exports.jsx("path",{d:"M28.4722 27.2719C29.3247 27.2719 30.0156 26.5823 30.0156 25.7316C30.0156 24.881 29.3247 24.1914 28.4722 24.1914C27.6198 24.1914 26.9287 24.881 26.9287 25.7316C26.9287 26.5823 27.6198 27.2719 28.4722 27.2719Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{opacity:"0.6",d:"M33.2642 27.2719C34.1165 27.2719 34.8076 26.5823 34.8076 25.7316C34.8076 24.881 34.1165 24.1914 33.2642 24.1914C32.4118 24.1914 31.7207 24.881 31.7207 25.7316C31.7207 26.5823 32.4118 27.2719 33.2642 27.2719Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{opacity:"0.4",d:"M38.1382 27.2719C38.9906 27.2719 39.6816 26.5823 39.6816 25.7316C39.6816 24.881 38.9906 24.1914 38.1382 24.1914C37.2858 24.1914 36.5947 24.881 36.5947 25.7316C36.5947 26.5823 37.2858 27.2719 38.1382 27.2719Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{d:"M54.093 37.874H35.1672C34.5975 37.874 34.1357 38.3345 34.1357 38.9026V41.8288C34.1357 42.3969 34.5975 42.8574 35.1672 42.8574H54.093C54.6626 42.8574 55.1244 42.3969 55.1244 41.8288V38.9026C55.1244 38.3345 54.6626 37.874 54.093 37.874Z",fill:"#C2C8D6"}),jsxRuntime.exports.jsx("path",{d:"M114.061 37.874H104.13C103.56 37.874 103.099 38.3345 103.099 38.9026V39.8355C103.099 40.4036 103.56 40.8641 104.13 40.8641H114.061C114.63 40.8641 115.092 40.4036 115.092 39.8355V38.9026C115.092 38.3345 114.63 37.874 114.061 37.874Z",fill:"#C2C8D6"}),jsxRuntime.exports.jsx("path",{d:"M130.052 37.874H120.121C119.552 37.874 119.09 38.3345 119.09 38.9026V39.8355C119.09 40.4036 119.552 40.8641 120.121 40.8641H130.052C130.622 40.8641 131.083 40.4036 131.083 39.8355V38.9026C131.083 38.3345 130.622 37.874 130.052 37.874Z",fill:"#C2C8D6"}),jsxRuntime.exports.jsx("path",{d:"M129.021 49.834H36.1986C35.0593 49.834 34.1357 50.755 34.1357 51.8911V73.6905C34.1357 74.8266 35.0593 75.7476 36.1986 75.7476H129.021C130.16 75.7476 131.084 74.8266 131.084 73.6905V51.8911C131.084 50.755 130.16 49.834 129.021 49.834Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M85.0005 59.8456C85.5891 59.8456 86.0664 59.3428 86.0664 58.7226C86.0664 58.1024 85.5891 57.5996 85.0005 57.5996C84.4117 57.5996 83.9346 58.1024 83.9346 58.7226C83.9346 59.3428 84.4117 59.8456 85.0005 59.8456Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M85.0636 67.1376H76.9315C76.407 67.1376 76.1009 66.4961 76.407 66.0837L80.4729 60.1275C80.7352 59.7609 81.2599 59.7609 81.5222 60.1275L85.5883 66.0837C85.8943 66.542 85.5883 67.1376 85.0636 67.1376Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{opacity:"0.7",d:"M87.8944 67.0156H83.8922C83.2843 67.0156 82.9803 66.3496 83.2843 65.8886L85.2601 63.071C85.5641 62.6612 86.1214 62.6612 86.4253 63.071L88.4011 65.8886C88.8571 66.3496 88.5024 67.0156 87.8944 67.0156Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M62.0568 80.7305H36.1986C35.0593 80.7305 34.1357 81.6515 34.1357 82.7876V97.6102C34.1357 98.7464 35.0593 99.6674 36.1986 99.6674H62.0568C63.1961 99.6674 64.1197 98.7464 64.1197 97.6102V82.7876C64.1197 81.6515 63.1961 80.7305 62.0568 80.7305Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M95.0388 80.7305H70.1801C69.0408 80.7305 68.1172 81.6515 68.1172 82.7876V97.6102C68.1172 98.7464 69.0408 99.6674 70.1801 99.6674H95.0388C96.1781 99.6674 97.1017 98.7464 97.1017 97.6102V82.7876C97.1017 81.6515 96.1781 80.7305 95.0388 80.7305Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M129.021 80.7305H103.163C102.023 80.7305 101.1 81.6515 101.1 82.7876V97.6102C101.1 98.7464 102.023 99.6674 103.163 99.6674H129.021C130.16 99.6674 131.084 98.7464 131.084 97.6102V82.7876C131.084 81.6515 130.16 80.7305 129.021 80.7305Z",fill:"#D5DDEA"}),jsxRuntime.exports.jsx("path",{d:"M117.027 22.9238H48.1918C47.0525 22.9238 46.1289 23.8448 46.1289 24.981V25.8501C46.1289 26.9862 47.0525 27.9072 48.1918 27.9072H117.027C118.166 27.9072 119.09 26.9862 119.09 25.8501V24.981C119.09 23.8448 118.166 22.9238 117.027 22.9238Z",fill:"#EAEEF9"}),jsxRuntime.exports.jsx("path",{d:"M143.296 105.089C143.098 105.385 142.999 105.581 142.604 105.777L138.06 107.646C137.369 107.941 136.678 108.334 136.183 108.826C135.689 109.318 135.294 109.809 135.195 110.498L133.318 115.021C133.121 115.709 132.33 116.005 131.837 115.709C131.639 115.513 131.343 115.414 131.343 115.218L122.551 95.9438C122.353 95.6488 122.353 95.2555 122.551 95.0587C122.748 94.7637 123.242 94.5671 123.736 94.7637L143.098 103.516C143.296 103.91 143.493 104.598 143.296 105.089Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M146.655 116.889C146.458 116.889 146.359 116.889 146.162 116.693L139.839 110.301C139.543 110.006 139.543 109.416 139.839 109.318C140.135 109.023 140.728 109.023 140.827 109.318L147.149 115.612C147.446 115.906 147.446 116.496 147.149 116.595C147.149 116.889 146.853 116.889 146.655 116.889Z",fill:"#989FB0"}),jsxRuntime.exports.jsx("path",{d:"M140.235 116.889C140.037 116.889 139.938 116.889 139.741 116.693L136.875 113.841C136.579 113.546 136.579 112.956 136.875 112.858C137.172 112.563 137.764 112.563 137.863 112.858L140.729 115.709C141.025 116.005 141.025 116.595 140.729 116.693C140.729 116.889 140.63 116.889 140.235 116.889Z",fill:"#989FB0"}),jsxRuntime.exports.jsxs("defs",{children:[jsxRuntime.exports.jsxs("filter",Object.assign({id:"filter0_d_62587_13624",x:"1.52734",y:"10.3535",width:"161.523",height:"132.229",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},{children:[jsxRuntime.exports.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),jsxRuntime.exports.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),jsxRuntime.exports.jsx("feOffset",{dy:"11"}),jsxRuntime.exports.jsx("feGaussianBlur",{stdDeviation:"11"}),jsxRuntime.exports.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0"}),jsxRuntime.exports.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_62587_13624"}),jsxRuntime.exports.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_62587_13624",result:"shape"})]})),jsxRuntime.exports.jsxs("linearGradient",Object.assign({id:"paint0_linear_62587_13624",x1:"82.2506",y1:"19.3127",x2:"82.2506",y2:"110.534",gradientUnits:"userSpaceOnUse"},{children:[jsxRuntime.exports.jsx("stop",{stopColor:"#FDFEFF"}),jsxRuntime.exports.jsx("stop",{offset:"0.9964",stopColor:"#ECF0F5"})]})),jsxRuntime.exports.jsxs("linearGradient",Object.assign({id:"paint1_linear_62587_13624",x1:"136.389",y1:"21.3535",x2:"27.3523",y2:"26.497",gradientUnits:"userSpaceOnUse"},{children:[jsxRuntime.exports.jsx("stop",{stopColor:"#B0BACC"}),jsxRuntime.exports.jsx("stop",{offset:"1",stopColor:"#969EAE"})]}))]})]}))}const{TableInfiniteScroll}=tableInfiniteScroll["jsx"],itemHeight=60,TableRow=({item:e,index:t,onClick:o})=>{var r=itemHeight-1+"px";return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:r,borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}},onClick:o,"data-testid":TEST_ID+"-row-"+t},{children:JSON.stringify(e)}))},LoginTable=()=>{useDispatch();var e=[];return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:!1,fetchMore:()=>{},fetchOnMount:0===e.length,offset:0,items:e,itemHeight:itemHeight,isLoading:!1,error:!1,TableRowComponent:({item:e,index:t})=>jsxRuntime.exports.jsx(TableRow,{item:e,index:t,onClick:()=>{console.log("Clicked item: ",e)}}),TableEmptyStateComponent:jsxRuntime.exports.jsx(EmptyState,{}),testId:TEST_ID})},{CenterTabHeading,CenterTabContainer,CenterTabContent}=centerComponents,MainLayout=()=>jsxRuntime.exports.jsxs(CenterTabContainer,Object.assign({testId:TEST_ID},{children:[jsxRuntime.exports.jsx(CenterTabHeading,{title:SHARED_TEXT.title(),subtitle:SHARED_TEXT.subTitle(),testId:TEST_ID}),jsxRuntime.exports.jsx(CenterTabContent,Object.assign({testId:TEST_ID},{children:jsxRuntime.exports.jsx(LoginTable,{})}))]})),CustomLoginTab=()=>jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getAdminCenterCustomLoginModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(MainLayout,{})})}))})});var $location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,classof$2=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classofRaw$2(process),uncurryThis$4=functionUncurryThis,aCallable$6=aCallable$8,functionUncurryThisAccessor=function(e,t,o){try{return uncurryThis$4(aCallable$6(Object.getOwnPropertyDescriptor(e,t)[o]))}catch(e){}},isCallable$5=isCallable$i,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$5(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$5=anObject$8,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var o,r=!1,e={};try{(o=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return anObject$5(e),aPossiblePrototype(t),r?o(e,t):e.__proto__=t,e}}():void 0),defineProperty=objectDefineProperty.f,hasOwn$1=hasOwnProperty_1,wellKnownSymbol$6=wellKnownSymbol$a,TO_STRING_TAG=wellKnownSymbol$a("toStringTag"),setToStringTag$1=function(e,t,o){(e=e&&!o?e.prototype:e)&&!hasOwn$1(e,TO_STRING_TAG)&&defineProperty(e,TO_STRING_TAG,{configurable:!0,value:t})},getBuiltIn$4=getBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$2,wellKnownSymbol$5=wellKnownSymbol$a,DESCRIPTORS=descriptors,SPECIES$2=wellKnownSymbol$a("species"),setSpecies$1=function(e){e=getBuiltIn$4(e);DESCRIPTORS&&e&&!e[SPECIES$2]&&defineBuiltInAccessor(e,SPECIES$2,{configurable:!0,get:function(){return this}})},isPrototypeOf$1=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$1(t,e))return e;throw $TypeError$5("Incorrect invocation")},uncurryThis$3=functionUncurryThis,fails$1=fails$b,isCallable$4=isCallable$i,classof$1=classof$4,getBuiltIn$3=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis$3(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$4(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$4(e))return!1;switch(classof$1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$1(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString$2=tryToString$4,$TypeError$4=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw $TypeError$4(tryToString$2(e)+" is not a constructor")},anObject$4=anObject$8,aConstructor=aConstructor$1,isNullOrUndefined$1=isNullOrUndefined$4,wellKnownSymbol$4=wellKnownSymbol$a,SPECIES$1=wellKnownSymbol$a("species"),speciesConstructor$1=function(e,t){var e=anObject$4(e).constructor;return void 0===e||isNullOrUndefined$1(e=anObject$4(e)[SPECIES$1])?t:aConstructor(e)},NATIVE_BIND$1=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$7=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$7.bind(apply$1):function(){return call$7.apply(apply$1,arguments)}),classofRaw=classofRaw$2,uncurryThis$2=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$2(e)},uncurryThis$1=functionUncurryThisClause,aCallable$5=aCallable$8,NATIVE_BIND=functionBindNative,bind$4=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$5(e),void 0===t?e:NATIVE_BIND?bind$4(e,t):function(){return e.apply(t,arguments)}},getBuiltIn$2=getBuiltIn$7,html$1=getBuiltIn$7("document","documentElement"),uncurryThis=functionUncurryThis,arraySlice$1=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw $TypeError$3("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$5=global$g,apply=functionApply,bind$3=functionBindContext,isCallable$3=isCallable$i,hasOwn=hasOwnProperty_1,fails=fails$b,html=html$1,arraySlice=arraySlice$1,createElement=documentCreateElement,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$5.setImmediate,clear=global$5.clearImmediate,process$3=global$5.process,Dispatch=global$5.Dispatch,Function$1=global$5.Function,MessageChannel=global$5.MessageChannel,String$1=global$5.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails(function(){$location=global$5.location}),function(e){var t;hasOwn(queue$2,e)&&(t=queue$2[e],delete queue$2[e],t())}),runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$5.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$3(e)?e:Function$1(e),o=arraySlice(arguments,1);return queue$2[++counter]=function(){apply(t,void 0,o)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$3?defer=function(e){process$3.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!IS_IOS$1?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind$3(port.postMessage,port)):global$5.addEventListener&&isCallable$3(global$5.postMessage)&&!global$5.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$5.addEventListener("message",eventListener,!1)):defer=ONREADYSTATECHANGE in createElement("script")?function(e){html.appendChild(createElement("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this),run(e)}}:function(e){setTimeout(runner(e),0)}),{set:set,clear:clear}),Queue$2=function(){this.head=null,this.tail=null},queue$1=(Queue$2.prototype={add:function(e){var e={item:e,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},Queue$2),userAgent$1=engineUserAgent,engineIsIosPebble=/ipad|iphone|ipod/i.test(userAgent$1)&&"undefined"!=typeof Pebble,userAgent=engineUserAgent,engineIsWebosWebkit=/web0s(?!.*chrome)/i.test(userAgent),global$4=global$g,bind$2=functionBindContext,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$2=engineIsNode,MutationObserver=global$4.MutationObserver||global$4.WebKitMutationObserver,document$2=global$4.document,process$2=global$4.process,Promise$1=global$4.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global$4,"queueMicrotask"),microtask$1=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value,microtask_1=(microtask$1||(queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$2&&(e=process$2.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&¬ify$1(),e}e&&e.enter()},notify$1=IS_IOS||IS_NODE$2||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$2(promise.then,promise),function(){then(flush)}):IS_NODE$2?function(){process$2.nextTick(flush)}:(macrotask=bind$2(macrotask,global$4),function(){macrotask(flush)}):(toggle=!0,node=document$2.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),function(){node.data=toggle=!toggle}),microtask$1=function(e){queue.head||notify$1(),queue.add(e)}),microtask$1),hostReportErrors$1=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},perform$3=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},global$3=global$g,promiseNativeConstructor=global$g.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$1=engineIsNode,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document,global$2=global$g,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$2=isCallable$i,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$3=wellKnownSymbol$a,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES=(NativePromiseConstructor$3&&NativePromiseConstructor$3.prototype,wellKnownSymbol$3("species")),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$2(global$2.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR$5=isForced("Promise",function(){var e=inspectSource(NativePromiseConstructor$3),t=e!==String(NativePromiseConstructor$3);if(!t&&66===V8_VERSION)return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(e)){function o(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES]=o,!(SUBCLASSING=e.then(function(){})instanceof o))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1}),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$4=aCallable$8,$TypeError$2=TypeError,PromiseCapability=function(e){var o,r;this.promise=new e(function(e,t){if(void 0!==o||void 0!==r)throw $TypeError$2("Bad Promise constructor");o=e,r=t}),this.resolve=aCallable$4(o),this.reject=aCallable$4(r)},$$5=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE=engineIsNode,global$1=global$g,call$6=functionCall,defineBuiltIn$1=defineBuiltIn$3,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$1,setSpecies=setSpecies$1,aCallable$3=aCallable$8,isCallable$1=isCallable$i,isObject$1=isObject$7,anInstance=anInstance$1,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule=internalState,NativePromiseConstructor$2=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$3=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$1=global$1.TypeError,document$1=global$1.document,process$1=global$1.process,newPromiseCapability$1=newPromiseCapabilityModule$3.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$1.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$1(e)||!isCallable$1(t=e.then))&&t},callReaction=function(e,t){var o,r,n,i=t.value,s=t.state==FULFILLED,a=s?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{a?(s||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===a?o=i:(u&&u.enter(),o=a(i),u&&(u.exit(),n=!0)),o===e.promise?c(TypeError$1("Promise-chain cycle")):(r=isThenable(o))?call$6(r,o,l,c):l(o)):c(i)}catch(e){u&&!n&&u.exit(),c(e)}},notify=function(o,r){o.notified||(o.notified=!0,microtask(function(){for(var e,t=o.reactions;e=t.get();)callReaction(e,o);o.notified=!1,r&&!o.rejection&&onUnhandled(o)}))},dispatchEvent=function(e,t,o){var r;DISPATCH_EVENT?((r=document$1.createEvent("Event")).promise=t,r.reason=o,r.initEvent(e,!1,!0),global$1.dispatchEvent(r)):r={promise:t,reason:o},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$1["on"+e])?t(r):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",o)},onUnhandled=function(r){call$6(task,global$1,function(){var e=r.facade,t=r.value,o=isUnhandled(r);if(o&&(o=perform$2(function(){IS_NODE?process$1.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),r.rejection=IS_NODE||isUnhandled(r)?UNHANDLED:HANDLED,o.error))throw o.value})},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(t){call$6(task,global$1,function(){var e=t.facade;IS_NODE?process$1.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$1=function(t,o,r){return function(e){t(o,e,r)}},internalReject=function(e,t,o){e.done||(e.done=!0,(e=o?o:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(o,e,t){if(!o.done){o.done=!0,t&&(o=t);try{if(o.facade===e)throw TypeError$1("Promise can't be resolved itself");var r=isThenable(e);r?microtask(function(){var t={done:!1};try{call$6(r,e,bind$1(internalResolve,t,o),bind$1(internalReject,t,o))}catch(e){internalReject(t,e,o)}}):(o.value=e,o.state=FULFILLED,notify(o,!1))}catch(e){internalReject({done:!1},e,o)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$3(e),call$6(Internal,this);var t=getInternalPromiseState(this);try{e(bind$1(internalResolve,t),bind$1(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$1(PromisePrototype,"then",function(e,t){var o=getInternalPromiseState(this),r=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return o.parent=!0,r.ok=!isCallable$1(e)||e,r.fail=isCallable$1(t)&&t,r.domain=IS_NODE?process$1.domain:void 0,o.state==PENDING?o.reactions.add(r):microtask(function(){callReaction(r,o)}),r.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$1(internalResolve,t),this.reject=bind$1(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$1(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$1(NativePromisePrototype$1,"then",function(e,t){var o=this;return new PromiseConstructor(function(e,t){call$6(nativeThen,o,e,t)}).then(e,t)},{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype$1,PromisePrototype)}$$5({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var iterators={},wellKnownSymbol$2=wellKnownSymbol$a,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$a("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$2]===e)},classof=classof$4,getMethod$1=getMethod$3,isNullOrUndefined=isNullOrUndefined$4,Iterators=iterators,wellKnownSymbol$1=wellKnownSymbol$a,ITERATOR$1=wellKnownSymbol$a("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined(e))return getMethod$1(e,ITERATOR$1)||getMethod$1(e,"@@iterator")||Iterators[classof(e)]},call$5=functionCall,aCallable$2=aCallable$8,anObject$3=anObject$8,tryToString$1=tryToString$4,getIteratorMethod$1=getIteratorMethod$2,$TypeError$1=TypeError,getIterator$1=function(e,t){var o=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$2(o))return anObject$3(call$5(o,e));throw $TypeError$1(tryToString$1(e)+" is not iterable")},call$4=functionCall,anObject$2=anObject$8,getMethod=getMethod$3,iteratorClose$1=function(e,t,o){var r,n;anObject$2(e);try{if(!(r=getMethod(e,"return"))){if("throw"===t)throw o;return o}r=call$4(r,e)}catch(e){n=!0,r=e}if("throw"===t)throw o;if(n)throw r;return anObject$2(r),o},bind=functionBindContext,call$3=functionCall,anObject$1=anObject$8,tryToString=tryToString$4,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike=lengthOfArrayLike$2,isPrototypeOf=objectIsPrototypeOf,getIterator=getIterator$1,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,o){function r(e){return i&&iteratorClose(i,"normal",e),new Result(!0,e)}function n(e){return $?(anObject$1(e),f?g(e[0],e[1],r):g(e[0],e[1])):f?g(e,r):g(e)}var i,s,a,l,c,u,p=o&&o.that,$=!(!o||!o.AS_ENTRIES),d=!(!o||!o.IS_RECORD),m=!(!o||!o.IS_ITERATOR),f=!(!o||!o.INTERRUPTED),g=bind(t,p);if(d)i=e.iterator;else if(m)i=e;else{if(!(o=getIteratorMethod(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(o)){for(s=0,a=lengthOfArrayLike(e);s<a;s++)if((l=n(e[s]))&&isPrototypeOf(ResultPrototype,l))return l;return new Result(!1)}i=getIterator(e,o)}for(c=(d?e:i).next;!(u=call$3(c,i)).done;){try{l=n(u.value)}catch(e){iteratorClose(i,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol=wellKnownSymbol$a,ITERATOR=wellKnownSymbol$a("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,STEP_ID,checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var o=!1;try{var r={};r[ITERATOR]=function(){return{next:function(){return{done:o=!0}}}},e(r)}catch(e){}return o},NativePromiseConstructor$1=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration(function(e){NativePromiseConstructor$1.all(e).then(void 0,function(){})}),$$4=_export,call$2=functionCall,aCallable$1=aCallable$8,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$1=perform$3,iterate$1=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration,$$3=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var a=this,t=newPromiseCapabilityModule$2.f(a),l=t.resolve,c=t.reject,o=perform$1(function(){var r=aCallable$1(a.resolve),n=[],i=0,s=1;iterate$1(e,function(e){var t=i++,o=!1;s++,call$2(r,a,e).then(function(e){o||(o=!0,n[t]=e,--s)||l(n)},c)}),--s||l(n)});return o.error&&c(o.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable=isCallable$i,defineBuiltIn=defineBuiltIn$3,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,$$2=($$3({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable(NativePromiseConstructor)&&(method=getBuiltIn$1("Promise").prototype.catch,NativePromisePrototype.catch!==method)&&defineBuiltIn(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$1=functionCall,aCallable=aCallable$8,newPromiseCapabilityModule$1=newPromiseCapability$2,perform=perform$3,iterate=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,$$1=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var o=this,r=newPromiseCapabilityModule$1.f(o),n=r.reject,t=perform(function(){var t=aCallable(o.resolve);iterate(e,function(e){call$1(t,o,e).then(r.resolve,n)})});return t.error&&n(t.value),r.promise}}),_export),call=functionCall,newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject=($$1({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return call(t.reject,void 0,e),t.promise}}),anObject$8),isObject=isObject$7,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject(e),isObject(t)&&t.constructor===e?t:((0,(e=newPromiseCapability.f(e)).resolve)(t),e.promise)},$=_export,getBuiltIn=getBuiltIn$7,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve=promiseResolve$1;getBuiltIn("Promise"),$({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});const selectActiveStep=e=>e.adminCenterCustomLogin.customLoginWizard.activeStep,selectSteps=e=>e.adminCenterCustomLogin.customLoginWizard.steps,{header:PanelHeader,container:PanelContainer,content:PanelContent,stepper:PanelStepper}=(!function(e){e[e.BASIC_INFO=1]="BASIC_INFO",e[e.CONFIGURATION=2]="CONFIGURATION"}(STEP_ID=STEP_ID||{}),panelComponents),stepLabels=[{stepNumber:STEP_ID.BASIC_INFO,stepLabel:"Basic Info"},{stepNumber:STEP_ID.CONFIGURATION,stepLabel:"Configuration"}],BasicInfoStep=react.exports.lazy(()=>import("./js-core.esm101.js")),ConfigurationStep=react.exports.lazy(()=>import("./js-core.esm102.js")),CustomLoginPanelWizard=({customLoginId:e,isFullScreen:t})=>{const o=useDispatch();var r=useSelector(selectSteps),n=useSelector(selectActiveStep),i=!!e;return react.exports.useEffect(()=>{},[e,i]),jsxRuntime.exports.jsxs(PanelContainer,Object.assign({testId:TEST_ID_PANEL+"-panel-container",panelId:CUSTOM_LOGIN_PANEL_ID,isFullScreen:t},{children:[jsxRuntime.exports.jsx(PanelHeader,{title:i?SHARED_TEXT.panel.editTitle():SHARED_TEXT.panel.createTitle(),testId:TEST_ID_PANEL+"-panel-header",onPanelClose:function(){o(actions$1.resetBasicInfo()),o(actions.resetButton()),o(actions$2.setActiveStep(1)),o(hidePanel(CUSTOM_LOGIN_PANEL_ID))}}),jsxRuntime.exports.jsx(PanelStepper,{enableTabs:i,steps:r,stepLabels:stepLabels,activeStep:n,TabsProps:{scrollButtons:!1},onClickTab:e=>{},testId:"custom-login-stepper"}),jsxRuntime.exports.jsx(PanelContent,Object.assign({isLoading:!1,isErrored:!1,onRetry:function(){},style:{padding:"0 30px",height:"100vh"},testId:TEST_ID_PANEL+"-panel-content"},{children:jsxRuntime.exports.jsxs(react.exports.Suspense,Object.assign({fallback:jsxRuntime.exports.jsx(Loader,{})},{children:[n===STEP_ID.BASIC_INFO&&jsxRuntime.exports.jsx(BasicInfoStep,{}),n===STEP_ID.CONFIGURATION&&jsxRuntime.exports.jsx(ConfigurationStep,{})]}))}))]}))},Loader=()=>jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"30%",height:40,sx:{marginBottom:"10px"}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"100%",height:40,sx:{marginBottom:"10px"}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"100%",height:40,sx:{marginBottom:"10px"}}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:"100%",height:150,sx:{marginBottom:"10px"}})]}),CustomLoginPanel=e=>jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getAdminCenterCustomLoginModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(CustomLoginPanelWizard,Object.assign({},e))})}))})});export{hiddenKeys$3 as A,iterators as B,CustomLoginTab as C,createNonEnumerableProperty$2 as D,anObject$8 as E,hasOwnProperty_1 as F,toObject$2 as G,objectSetPrototypeOf as H,setToStringTag$1 as I,toIndexedObject$3 as J,v8PrototypeDefineBug as K,objectKeys$1 as L,enumBugKeys$2 as M,functionName as N,internalState as O,toString$1 as P,html$1 as Q,createPropertyDescriptor$2 as R,SHARED_TEXT as S,_export as _,CustomLoginPanel as a,selectUrlSlug as b,selectLogoUrl as c,selectButtonColor as d,selectButtonTextColor as e,formattedMessages as f,selectIsPreviewModalOpen as g,actions$1 as h,sharedKey$1 as i,fails$b as j,isCallable$i as k,isObject$7 as l,defineBuiltIn$3 as m,descriptors as n,objectDefineProperty as o,documentCreateElement as p,global$g as q,functionCall as r,selectLoginName as s,functionUncurryThis as t,shared$3 as u,arrayIncludes as v,wellKnownSymbol$a as w,actions as x,CUSTOM_LOGIN_PANEL_ID as y,actions$2 as z};
|
package/js-core.esm70.js.gz
CHANGED
|
Binary file
|
package/js-core.esm71.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as createSlice,a2 as lodash,Y as combineReducers,a8 as createSelector,bc as rootApiSelector,F as graphEndpointSelector,G as sessionTokenSelector,r as react,Z as useSelector,j as jsxRuntime,K as fork,aK as AIWareThemeProvider,
|
|
1
|
+
import{X as createSlice,a2 as lodash,Y as combineReducers,a8 as createSelector,bc as rootApiSelector,F as graphEndpointSelector,G as sessionTokenSelector,r as react,Z as useSelector,j as jsxRuntime,K as fork,aK as AIWareThemeProvider,bW as AIWareCacheProvider,a1 as hidePanel,B as all,ar as mountPanel,C as takeLatest$1,ao as Box,E as select,a4 as preferredLanguageSelector,I as put,H as call,a5 as showMessage,a6 as MessageSeverity,L as delay,fw as getElement,fx as client,dq as Provider,bj as store,V as gqlIntrospection,a3 as baseGraphQLApiWithError,a7 as AIWareFormatMessage,az as img$1J,eR as useBackupImg}from"./js-core.esm.js";import{m as makeStyles,s as classNames,T as Typography,bh as MoreVert,Y as Hide,_ as Menu,U as MenuItem,bb as Edit,D as Divider,bE as Delete,p as DynamicModuleLoader,A as AIWareIntlProvider,k as FormattedMessage,ae as Grid,ac as Paper,aJ as Input,t as TableContainer,v as Table,z as TableBody,S as Select,w as TableHead,x as TableRow,y as TableCell,K as Dialog,M as DialogTitle,O as DialogContent,Q as DialogContentText,R as DialogActions,h as Button,bw as TableSortLabel,bF as Add,be as Filter}from"./js-core.esm5.js";import{I as IconButton,d as Tooltip,v as validate,T as TextField,f as Skeleton,s as statusPill}from"./js-core.esm6.js";import{a as ListItemIcon,e as default_1}from"./js-core.esm2.js";import{EntityTags}from"./js-core.esm41.js";import{d as default_1$1}from"./js-core.esm40.js";import{C as Container}from"./js-core.esm28.js";import{A as Autocomplete}from"./js-core.esm29.js";import{A as Accordion,a as AccordionSummary,b as AccordionDetails}from"./js-core.esm43.js";import{P as Pagination$1}from"./js-core.esm44.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm3.js";import"./js-core.esm17.js";import"./js-core.esm37.js";const SLICE_NAME="appCenterBrowse";var AppType,AppConfigType,ModuleRepo,ModuleStatus;!function(e){e.Apps="apps",e.QueryOptions="queryOptions",e.TotalAppsInQuery="totalAppsInQuery"}(AppType=AppType||{}),function(e){e.String="String",e.Boolean="Boolean",e.Date="Date",e.Integer="Integer",e.JSON="JSON",e.Float="Float"}(AppConfigType=AppConfigType||{}),function(e){e.NPM="npm",e.Github="github"}(ModuleRepo=ModuleRepo||{}),function(e){e.ACTIVE="active",e.DELETED="deleted"}(ModuleStatus=ModuleStatus||{});const initialAppDetails={appId:null},namespace$4="uiState",initialState$4={status:"idle",appDetails:initialAppDetails,isEditing:!1},slice$3=createSlice({name:SLICE_NAME+"/"+namespace$4,initialState:initialState$4,reducers:{initApps(e){e.status="pending"},fetchingApps(e){e.status="pending"},fetchingDone(e){e.status="idle"},fetchingFailed(e){e.status="failure"},toggleAppDetails(e,{payload:t}){t.id?(e.appDetails.appId=t.id,e.appDetails.status=t.status):delete e.appDetails.appId},toggleEditApp(e,{payload:t}){t?(e.appDetails.appId=t,e.isEditing=!0):(delete e.appDetails.appId,e.isEditing=!1)},confirmDeleteApp(e,{}){e.status="idle"}}}),actions$4=slice$3.actions;var uiState=slice$3.reducer;const namespace$3="apps",initialState$3={apps:{},queryOptions:{limit:10,page:1,orderBy:[{field:"createdDateTime",direction:"desc"}]},totalAppsInQuery:0},slice$2=createSlice({name:SLICE_NAME+"/"+namespace$3,initialState:initialState$3,reducers:{appsFetchSucceeded(e,t){var s=null==(s=null==(s=t.payload)?void 0:s.results)?void 0:s.records,s=lodash.exports.keyBy(s,"id");e[AppType.Apps]=s,t.payload.totalResults&&(e[AppType.TotalAppsInQuery]=null==(e=null==(s=t.payload)?void 0:s.totalResults)?void 0:e.count)},mutateApplicationWorkflow(e,t){t=t.payload;e[AppType.Apps][t.id].status="updating"},mutateApplicationWorkflowSuccess(e,t){var{id:t,status:s,validStateActions:a}=t.payload;e[AppType.Apps][t].status=s,e[AppType.Apps][t].validStateActions=a},refreshAppStateSuccess(e,t){var s=t.payload["id"];e[AppType.Apps][s]=t.payload},deleteApp(e,t){t=t.payload.id;e[AppType.Apps][t].status="deleting"},deleteAppSuccess(e,t){t=t.payload.id;e[AppType.Apps][t].status="deleted"},deleteAppFailed(e,t){var s=t.payload["id"];e[AppType.Apps][s]=t.payload},setQueryOptions(e,t){t=t.payload;e[AppType.QueryOptions]=Object.assign(Object.assign({},e[AppType.QueryOptions]),t)}}}),actions$3=slice$2.actions;var appsState=slice$2.reducer;const namespace$2="filterState",initialState$2={filter:{name:"",entityTags:[],status:"",created:{startDate:"",endDate:"",isSearch:!1},lastUpdated:{startDate:"",endDate:"",isSearch:!1}}},slice$1=createSlice({name:SLICE_NAME+"/"+namespace$2,initialState:initialState$2,reducers:{setFilters(e,{payload:t}){e.filter=t.filter}}}),actions$2=slice$1.actions;var filterState=slice$1.reducer;const namespace$1="events",initialState$1={appId:"",appEvents:[],systemEvents:[],queryOptions:{application:"",limit:50,page:1},querySystemOptions:{application:"system",limit:50,page:1},totalAppEventsInQuery:0,totalSystemEventsInQuery:0},slice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState$1,reducers:{setAppId(e,t){e.appId=t.payload},setQueryAppEventsOptions(e,t){t=t.payload;e.queryOptions=Object.assign(Object.assign({},e.queryOptions),t)},setQuerySystemEventsOptions(e,t){t=t.payload;e.querySystemOptions=Object.assign(Object.assign({},e.querySystemOptions),t)},appEventsFetchSucceeded(e,t){var s=null==(s=null==(s=t.payload)?void 0:s.results)?void 0:s.records;e.appEvents=s,t.payload.totalResults&&(e.totalAppEventsInQuery=null==(e=null==(s=t.payload)?void 0:s.totalResults)?void 0:e.count)},systemEventsFetchSucceeded(e,t){var s=null==(s=null==(s=t.payload)?void 0:s.results)?void 0:s.records;e.systemEvents=s,t.payload.totalResults&&(e.totalSystemEventsInQuery=null==(e=null==(s=t.payload)?void 0:s.totalResults)?void 0:e.count)}}}),actions$1=slice.actions;var eventsState=slice.reducer;const namespace=SLICE_NAME,initialState={[namespace$4]:initialState$4,[namespace$1]:initialState$1,[namespace$3]:initialState$3,[namespace$2]:initialState$2},actions={[namespace$4]:actions$4,[namespace$3]:actions$3,[namespace$1]:actions$1,[namespace$2]:actions$2},rootReducer=combineReducers({[namespace$4]:uiState,[namespace$3]:appsState,[namespace$1]:eventsState,[namespace$2]:filterState});var index=Object.freeze({__proto__:null,namespace:namespace,initialState:initialState,actions:actions,rootReducer:rootReducer});function __awaiter(e,o,l,r){return new(l=l||Promise)(function(s,t){function a(e){try{n(r.next(e))}catch(e){t(e)}}function i(e){try{n(r.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?s(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(a,i)}n((r=r.apply(e,o||[])).next())})}const applicationFieldsFragment=`fragment applicationFields on Application {
|
|
2
2
|
id
|
|
3
3
|
name
|
|
4
4
|
description
|
package/js-core.esm71.js.gz
CHANGED
|
Binary file
|
package/js-core.esm73.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as jsxRuntime,X as createSlice,Y as combineReducers,a8 as createSelector,bc as rootApiSelector,F as graphEndpointSelector,G as sessionTokenSelector,ao as Box,aK as AIWareThemeProvider,bV as AIWareCacheProvider,Z as useSelector,r as react,fk as img$H,an as CircularProgress,B as all,a2 as lodash,dH as selectIsFullscreenEnabled,C as takeLatest$1,ar as mountPanel,E as select,a4 as preferredLanguageSelector,a7 as AIWareFormatMessage,I as put,a5 as showMessage,a6 as MessageSeverity,H as call,b3 as sdkEventManager,b4 as SdkEvents,dD as SdkError,a3 as baseGraphQLApiWithError,W as isEqual_1,U as baseGraphQLApi}from"./js-core.esm.js";import{l as createSvgIcon,n as interopRequireDefault,m as makeStyles,I as Icon,aX as EngineCategoryIcons,T as Typography,p as DynamicModuleLoader,ck as getLibraryModule,A as AIWareIntlProvider,cV as selectors,k as FormattedMessage,cW as LibraryDropdown,j as FormHelperText$2,h as Button,cU as Remove,cX as Save,bF as Add,bE as Delete,bb as Edit,Z as Close,as as Portal,F as FormControl,cJ as ConfirmationModal,S as Select,U as MenuItem,aJ as Input,s as classNames,cd as Information}from"./js-core.esm5.js";import{e as default_1$3}from"./js-core.esm2.js";import{B as Badge,d as Tooltip,I as IconButton,f as Skeleton,l as default_1$2,T as TextField,g as Chip}from"./js-core.esm6.js";import{A as Alert}from"./js-core.esm16.js";import{S as Snackbar}from"./js-core.esm15.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm3.js";import"./js-core.esm17.js";var ProcessAIView,CheckCircle={},_interopRequireDefault$1=interopRequireDefault.exports,default_1$1=(Object.defineProperty(CheckCircle,"__esModule",{value:!0}),CheckCircle.default=void 0),_createSvgIcon$1=_interopRequireDefault$1(createSvgIcon),_jsxRuntime$1=jsxRuntime.exports,_default$1=(0,_createSvgIcon$1.default)((0,_jsxRuntime$1.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle"),default_1$1=CheckCircle.default=_default$1,Info={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Info,"__esModule",{value:!0}),Info.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info"),default_1=Info.default=_default;const SHARED_TEXT={processAiHeaderTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.eA9TAY",defaultMessage:"AI PROCESSING",description:"Title of AI categories list"}),closePanel:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.kOsSpC",defaultMessage:"Close Panel",description:"Close Panel"}),processAiHeaderDescription:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.p3BcDi",defaultMessage:"Select from a list of AI capabilities to apply available AI processing to your selected files.",description:"Detailed text below the process AI header title"}),processAiEngineUnavailable:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.PwcA3J",defaultMessage:"This engine does not specify a default single job template.",description:"Detailed text if an engine is not available to use"}),processAiFailedStatus:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.UBu61T",defaultMessage:"An error happened while fetching the engine capabilities.",description:"Error message for process ai failures"}),processAiNoEngineCapability:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.IC5L+j",defaultMessage:"No available engine found for this file.",description:"Warning message when no engine found"}),processAiRetryBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.8U+Kek",defaultMessage:"Retry",description:"Retry button text"}),cancel:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.6PdOcy",defaultMessage:"Cancel",description:"Cancel"}),processAiAddEngines:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.e5+f7H",defaultMessage:"Save Changes",description:"Add engines button text"}),engineSettings:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.3Phobj",defaultMessage:"Engine Settings",description:"The label for the engine settings component"}),saveSettings:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.UOkssC",defaultMessage:"Save Settings",description:"The label for the engine settings savings"}),engineSelected:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.Ki+AeV",defaultMessage:"Selected & Configured",description:"The label for the selected engine"}),removeEngine:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.eZW4Lt",defaultMessage:"Remove Engine",description:"The button to deselected a selected engine"}),editConfigurations:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.GSlIPA",defaultMessage:"Edit Configurations",description:"The button to edit the engine configurations"}),useThisEngine:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai-use-engine",defaultMessage:"Use this Engine",description:"The label for the use engine button when no engine has not been selected yet"})},useStyles$5=makeStyles()(e=>({aiProcessingWrapper:{padding:"8px 20px 20px 20px",display:"flex",flexDirection:"column",height:"100%",position:"absolute",top:"0",bottom:"0"},processAiHeader:{display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"space-between",marginBottom:10},loaderIcon:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:20}})),SLICE_NAME="dataCenterProcessAI",namespace$3=(!function(e){e.aiCapabilities="aiCapabilities",e.engineSelection="engineSelection",e.engineConfiguration="engineConfiguration"}(ProcessAIView=ProcessAIView||{}),"capabilitiesState"),initialState$3={status:"idle",capabilities:[],engines:{}},capabilitiesSlice=createSlice({name:SLICE_NAME+"/"+namespace$3,initialState:initialState$3,reducers:{capabilitiesFetchStart(e,t){e.status="pending"},capabilitiesFetchSucceed(e){e.status="idle"},capabilitiesFetchFailed(e){e.status="failure"},setCapabilities:(e,t)=>{e.capabilities=t.payload},setEngines:(e,t)=>{e.engines=t.payload}}}),actions$4=capabilitiesSlice.actions;var capabilities_state=capabilitiesSlice.reducer;const namespace$2="processAiConfig",initialState$2={status:"idle",selectedEngines:{}},configurationSlice=createSlice({name:SLICE_NAME+"/"+namespace$2,initialState:initialState$2,reducers:{setConfigurations(e,t){var{capabilityId:t,selectedEngines:n}=t.payload;e.selectedEngines[t]=n},updateSingleJobStatus(e,t){const{engineId:n,status:s}=t.payload;for(const a in e.selectedEngines){var i=e.selectedEngines[a].findIndex(e=>e.id===n);if(-1!==i){e.selectedEngines[a][i].status=s,e.selectedEngines[a][i].errorMessage=t.payload.errorMessage;break}}}}}),actions$3=configurationSlice.actions;var configuration_state=configurationSlice.reducer;const namespace$1="uiState",initialState$1={status:"idle",currentView:ProcessAIView.aiCapabilities},uiSlice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState$1,reducers:{setCurrentView:(e,t)=>{e.currentView=t.payload},setStatus:(e,t)=>{e.status=t.payload}}}),actions$2=uiSlice.actions;var ui_state=uiSlice.reducer;const namespace="job",initialState={status:"idle"},jobSlice=createSlice({name:SLICE_NAME+"/"+namespace,initialState:initialState,reducers:{launchJobStart(e,t){e.status="pending"},launchJobSucceed(e){e.status="success"},launchJobFailed(e){e.status="failure"}}}),actions$1=jobSlice.actions;var EngineFieldType,job_state=jobSlice.reducer;const actions={[namespace$1]:actions$2,[namespace$3]:actions$4,[namespace$2]:actions$3,[namespace]:actions$1},rootReducer=combineReducers({[namespace$1]:ui_state,[namespace$3]:capabilities_state,[namespace$2]:configuration_state,[namespace]:job_state}),selectCapabilitiesStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.status},selectCapabilities=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.capabilities},selectEnginesByCapabilityId=t=>e=>{return null==(e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.engines)?void 0:e[t]},selectAllEngines=e=>{e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.engines;return e&&0<Object.values(e).length?Object.values(e).reduce((e,t)=>lodash.exports.concat(e,t)):[]},selectSelectedEnginesByCapabilityId=t=>e=>{return null==(e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$2])?void 0:e.selectedEngines)?void 0:e[t]},selectSelectedEngines=e=>{e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$2])?void 0:e.selectedEngines;return Object.values(e).reduce((e,t)=>e.concat(t),[])},selectSelectedEnginesObj=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$2])?void 0:e.selectedEngines},selectJobStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace])?void 0:e.status},selectApiConfigs=createSelector([rootApiSelector,graphEndpointSelector,sessionTokenSelector],(e,t,n)=>({apiRoot:e,graphQLEndpoint:t,token:n})),useStyles$4=makeStyles()(e=>({processingContainer:{marginTop:25,flex:1,overflowY:"scroll"},instructions:{marginBottom:"30px"},name:{fontSize:"14px",fontWeight:400,lineHeight:"19.1px"},description:{fontSize:"14px",fontWeight:400,maxWidth:"276px",lineHeight:"16.37px",overflow:"hidden",textOverflow:"ellipsis"},iconBackground:{display:"flex",justifyContent:"center",alignItems:"center",height:"40px",borderRadius:"25px",width:"40px",minHeight:"40px",minWidth:"40px",background:"#F2F5F9",marginRight:"15px"},processingRow:{padding:"20px 0",display:"flex",flexDirection:"row",height:"auto",borderBottom:"0.5px solid #D5DFE9",cursor:"pointer"},processingColumn:{display:"flex",flexDirection:"column",maxHeight:"auto"},engineIcons:{verticalAlign:"middle"},badge:{backgroundColor:"#D43060",left:e.spacing(1),top:e.spacing(1)},badgeContent:{fontSize:"11px",fontWeight:600,lineHeight:0}})),AICategories=({categories:e,closeSnackbar:i,enableNonSingleEngineJobEngines:a,aobSelectedEngines:o,marginStart:r,marginTop:l})=>{const n=useStyles$4()["classes"],c=useDispatch(),d=useSelector(selectSelectedEnginesObj),u=useSelector(selectIsFullscreenEnabled);return jsxRuntime.exports.jsx("div",Object.assign({className:n.processingContainer},{children:e.map((s,e)=>{var t;return jsxRuntime.exports.jsx(EngineCategoryCard,{category:s,onClick:()=>{var e,t,n;e=s,i(),e={name:"DATA_CENTER_ENGINE_SELECTION",config:{name:"DATA CENTER ENGINE SELECTION",capability:e,enableNonSingleEngineJobEngines:a,aobSelectedEngines:o}},t=r||0,n=l||0,n={type:"APP_BAR_PANEL_TEMPLATE",marginTop:(u?0:55)+n,marginStart:(u?380:460)+t,size:"small",siblingPanelId:"DATA_CENTER_PROCESS_AI",parentPanelId:"DATA_CENTER_PROCESS_AI",dimmed:0,dimmedStatus:"dimParent"},c(mountPanel({panelId:"DATA_CENTER_ENGINE_SELECTION",microFrontend:e,panelConfig:n}))},badgeContent:null!=(t=d[s.id])&&t.length?jsxRuntime.exports.jsx(Typography,Object.assign({variant:"overline",className:n.badgeContent,"data-testid":"engine-category-badge-quantity"},{children:d[s.id].length})):0},e)})}))},EngineCategoryCard=({category:e,onClick:t,badgeContent:n})=>{var s=useStyles$4()["classes"],i=e.name.replace(/[^a-zA-Z]/g,"");return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{"&:hover .category-card-engine-icon":{color:"#FFF",transition:"color 0.2s ease-in-out"},"&:hover .category-card-engine-icon-background":{backgroundColor:"#4b5471",transition:"background-color 0.2s ease-in-out"},"&:hover .engine-category-name":{color:"#4b5471"}},"data-test":"engine-category-row",className:s.processingRow+" engine-category-card",onClick:t},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:s.iconBackground+" category-card-engine-icon-background"},{children:jsxRuntime.exports.jsx(Badge,Object.assign({"data-testid":"engine-category-badge-"+i,badgeContent:n||0,color:"secondary",classes:{badge:s.badge},anchorOrigin:{vertical:"bottom",horizontal:"right"}},{children:jsxRuntime.exports.jsx(Icon,{"data-test":"engine-category-icon-"+i,className:s.engineIcons+" category-card-engine-icon",component:EngineCategoryIcons[i],color:"secondary",fontSize:"small"})}))})),jsxRuntime.exports.jsxs("div",Object.assign({className:s.processingColumn},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({"data-test":`engine-category-name-${e.name} engine-category-name`,variant:"h6",color:"textPrimary",className:s.name,sx:{pointerEvents:"none"}},{children:e.name})),jsxRuntime.exports.jsx(Typography,Object.assign({"data-test":"engine-category-description-"+e.name,variant:"body2",color:"textSecondary",className:s.description},{children:e.description}))]}))]}),i)},useStyles$3=makeStyles()(e=>({jobLaunchSnackbarContainer:{backgroundColor:e.palette.common.white,padding:"6px 16px",borderRadius:"4px",width:"440px",boxShadow:"rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px"},jobLaunchSnackbarTitle:{display:"flex",justifyContent:"space-between",padding:"10px 4px"},jobLaunchItemList:{maxHeight:"80vh",overflowY:"scroll",width:"102%"},jobLaunchItem:{transition:"all 0.5s ease-in-out",display:"flex",flexDirection:"row",padding:"6px 0px 5px 16px",borderRadius:"4px",marginBottom:"10px",marginTop:"5px"},jobLaunchItemMessage:{display:"flex",flexDirection:"column",width:"70%"},jobLaunchItemFeedback:{display:"flex",justifyContent:"center",alignItems:"center",width:"30%"},jobLaunchItemLoading:{color:"rgb(13, 60, 97)",backgroundColor:"rgb(232, 244, 253)"},jobLaunchItemSuccess:{backgroundColor:"rgb(237, 247, 237)",color:"rgb(30, 70, 32)"},jobLaunchItemFail:{backgroundColor:"rgb(253, 236, 234)",color:"rgb(97, 26, 21)"}})),JobLaunchItem=({name:e,status:t,onRetry:n,limitAnimation:s=!1,errorMessage:i=""})=>{const[a,o]=react.exports.useState(!0);react.exports.useEffect(()=>{setTimeout(()=>{o(!1)},500*Math.random()+700)});var r=useStyles$3()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:classNames(r.jobLaunchItem,{[r.jobLaunchItemLoading]:"pending"===t||a,[r.jobLaunchItemSuccess]:"success"===t,[r.jobLaunchItemFail]:"failure"===t})},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:r.jobLaunchItemMessage},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({style:{width:"90%"},variant:"h4",noWrap:!0},{children:e})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:"pending"===t||a?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.dSA4RS",defaultMessage:"Launching AI Processing...",description:"Job Launch item description loading job"}):"success"===t?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.b+iNpN",defaultMessage:"This processing job started successfully.",description:"Job Launch item description success"}):"failure"===t?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.50UABM",defaultMessage:"Unable to start processing job.",description:"Job Launch item description failed"}):void 0}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:r.jobLaunchItemFeedback},{children:"pending"===t||a?jsxRuntime.exports.jsx(CircularProgress,{size:20,disableShrink:s}):"success"===t?jsxRuntime.exports.jsx(default_1$1,{style:{color:"#4caf50"}}):"failure"===t?jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[i&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i,placement:"top"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{color:"rgb(97, 26, 21)"}},{children:jsxRuntime.exports.jsx(Information,{})}))})),jsxRuntime.exports.jsx(Button,Object.assign({color:"inherit",onClick:n},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.BnINsu",defaultMessage:"RETRY",description:"Button label to retry the failed job"})}))]}):void 0}))]}))},JobLaunchSnackbar=({open:e,onClose:n,jobLaunchItems:t,onRetry:s,hidePanel:i})=>{var a=(e,t)=>{"clickaway"!==t&&n()},o=useStyles$3()["classes"];const r=10<t.length;var l=()=>{for(const e of t)if("failure"===e.status||"pending"===e.status)return null;return 2500};return jsxRuntime.exports.jsx(Snackbar,Object.assign({anchorOrigin:{vertical:"bottom",horizontal:"right"},open:e,autoHideDuration:l(),onClose:a,TransitionProps:{onExited:l()&&i}},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:"aiware-el "+o.jobLaunchSnackbarContainer},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:o.jobLaunchSnackbarTitle},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h3"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.HJnKOv",defaultMessage:"AI Processing",description:"AI Processing snackbar title"})})),jsxRuntime.exports.jsx(IconButton,Object.assign({"aria-label":"close",color:"inherit",size:"small",onClick:a},{children:jsxRuntime.exports.jsx(default_1$3,{fontSize:"inherit"})}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:o.jobLaunchItemList},{children:t.map((e,t)=>jsxRuntime.exports.jsx(JobLaunchItem,{name:e.name,errorMessage:null==e?void 0:e.errorMessage,status:e.status,onRetry:()=>s(e),limitAnimation:r},t))}))]}))}))},useStyles$2=makeStyles()(e=>({root:{display:"flex",justifyContent:"end",marginTop:"25px"},cancelButton:{marginRight:e.spacing(2),textTransform:"none",color:e.palette.text.primary},actionButton:{textTransform:"none"}})),ActionsFooter=({title:e,actionButton:t,cancelButton:n,confirmationOnCancel:s=!1,children:i=null})=>{const[a,o]=react.exports.useState(!1);var r=useStyles$2()["classes"];const l=e=>{o(!1),e&&e()};return jsxRuntime.exports.jsxs("div",Object.assign({className:r.root,"data-test":"data-center-action-footer"},{children:[e,i,jsxRuntime.exports.jsx(ConfirmationModal,{showConfirmationModal:a,closeConfirmationModal:l,onClosePanel:()=>l(n.action)}),jsxRuntime.exports.jsx(Button,Object.assign({onClick:()=>{s&&!t.disabled?o(!0):n.action()},disabled:n.disabled,"data-test":n.dataTest,className:r.cancelButton},{children:n.label})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",color:"primary",onClick:t.action,disabled:t.disabled,"data-test":t.dataTest,className:r.actionButton},{children:t.label}))]}))},ProcessAIManager=t=>{var e,n=useStyles$5()["classes"];const{apiRoot:s,graphQLEndpoint:i,token:a}=useSelector(selectApiConfigs),o=useSelector(selectJobStatus),[r,l]=react.exports.useState(!1);var c=useSelector(selectCapabilitiesStatus);const d=useSelector(selectSelectedEngines),u=useSelector(selectAllEngines),{onSaveEngineSelection:p,enableNonSingleEngineJobEngines:g,aobSelectedEngines:x}=t;var m=useSelector(selectCapabilities);const j=useDispatch(),b=()=>{j(actions.capabilitiesState.capabilitiesFetchStart(t.tdoId))};if(react.exports.useEffect(()=>{["pending","success","failure"].includes(o)&&l(!0)},[o]),react.exports.useEffect(()=>{s&&i&&a&&b()},[s,i,a,j,t.tdoId]),!(s&&i&&a&&t.panelRendered))return null;var h={label:null!=(h=t.submitButtonLabel)?h:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.J0sEvH",defaultMessage:"Process with AI",description:"action button label"}),action:()=>{var e;p?(e=d.map(t=>{var e=u.find(e=>e.id===t.id);return Object.assign(Object.assign({},e),t)}),p(e),null!=t&&t.hidePanel()):j(actions.job.launchJobStart({tdoId:t.tdoId,selectedEngines:d}))},disabled:!d.length,dataTest:"data-center-process-ai-action-btn"},f={label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.uT5L4h",defaultMessage:"Cancel",description:"cancel button label"}),action:()=>null==t?void 0:t.hidePanel(),disabled:!1,dataTest:"data-center-process-ai-cancel-btn"};return jsxRuntime.exports.jsxs("div",Object.assign({className:n.aiProcessingWrapper},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:n.processAiHeader},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",color:"secondary","data-test":"data-center-process-ai-panel-header-title"},{children:null!=(e=t.panelTitle)?e:SHARED_TEXT.processAiHeaderTitle()})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:SHARED_TEXT.closePanel()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:null==t?void 0:t.hidePanel,"aria-labelledby":"data-center-process-ai-close-panel","data-test":"data-center-process-ai-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Close,{})}))}))]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",color:"textSecondary","data-test":"data-center-process-ai-supported-files-title"},{children:null!=(e=t.panelDescription)?e:SHARED_TEXT.processAiHeaderDescription()})),"failure"===c&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx("br",{}),jsxRuntime.exports.jsx(Box,Object.assign({mt:4},{children:jsxRuntime.exports.jsxs(Alert,Object.assign({variant:"outlined",severity:"error"},{children:[jsxRuntime.exports.jsx("span",Object.assign({"data-test":"data-center-process-ai-failed-text"},{children:SHARED_TEXT.processAiFailedStatus()})),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"data-center-process-ai-failed-retry-button",onClick:b},{children:SHARED_TEXT.processAiRetryBtn()}))})]}))}))]}),"idle"===c&&!(null!=m&&m.length)&&jsxRuntime.exports.jsx(Box,Object.assign({mt:4},{children:jsxRuntime.exports.jsx(Alert,Object.assign({variant:"outlined",severity:"info"},{children:SHARED_TEXT.processAiNoEngineCapability()}))})),"pending"===c&&jsxRuntime.exports.jsx("div",Object.assign({className:n.loaderIcon},{children:jsxRuntime.exports.jsx(CircularProgress,{})})),"idle"===c&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(AICategories,{categories:m,closeSnackbar:()=>l(!1),enableNonSingleEngineJobEngines:!!g,aobSelectedEngines:x,marginStart:null==t?void 0:t.marginStart,marginTop:null==t?void 0:t.marginTop}),jsxRuntime.exports.jsx(ActionsFooter,{confirmationOnCancel:!0,actionButton:h,cancelButton:f})]}),jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsx(JobLaunchSnackbar,{open:r,onClose:()=>l(!1),jobLaunchItems:d,onRetry:e=>{j(actions.job.launchJobStart({tdoId:t.tdoId,selectedEngines:[e]}))},hidePanel:null==t?void 0:t.hidePanel})})]}))};function __awaiter(e,o,r,l){return new(r=r||Promise)(function(n,t){function s(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,i)}a((l=l.apply(e,o||[])).next())})}function fetchEngineCapabilities(n,s,i){return __awaiter(this,void 0,void 0,function*(){var e="fetchEngineCapabilities",t="engineCategories";return(yield baseGraphQLApiWithError(Object.assign({query:`
|
|
1
|
+
import{j as jsxRuntime,X as createSlice,Y as combineReducers,a8 as createSelector,bc as rootApiSelector,F as graphEndpointSelector,G as sessionTokenSelector,ao as Box,aK as AIWareThemeProvider,bW as AIWareCacheProvider,Z as useSelector,r as react,fk as img$H,an as CircularProgress,B as all,a2 as lodash,dH as selectIsFullscreenEnabled,C as takeLatest$1,ar as mountPanel,E as select,a4 as preferredLanguageSelector,a7 as AIWareFormatMessage,I as put,a5 as showMessage,a6 as MessageSeverity,H as call,b3 as sdkEventManager,b4 as SdkEvents,dE as SdkError,a3 as baseGraphQLApiWithError,W as isEqual_1,U as baseGraphQLApi}from"./js-core.esm.js";import{l as createSvgIcon,n as interopRequireDefault,m as makeStyles,I as Icon,aX as EngineCategoryIcons,T as Typography,p as DynamicModuleLoader,ck as getLibraryModule,A as AIWareIntlProvider,cV as selectors,k as FormattedMessage,cW as LibraryDropdown,j as FormHelperText$2,h as Button,cU as Remove,cX as Save,bF as Add,bE as Delete,bb as Edit,Z as Close,as as Portal,F as FormControl,cJ as ConfirmationModal,S as Select,U as MenuItem,aJ as Input,s as classNames,cd as Information}from"./js-core.esm5.js";import{e as default_1$3}from"./js-core.esm2.js";import{B as Badge,d as Tooltip,I as IconButton,f as Skeleton,l as default_1$2,T as TextField,g as Chip}from"./js-core.esm6.js";import{A as Alert}from"./js-core.esm16.js";import{S as Snackbar}from"./js-core.esm15.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm3.js";import"./js-core.esm17.js";var ProcessAIView,CheckCircle={},_interopRequireDefault$1=interopRequireDefault.exports,default_1$1=(Object.defineProperty(CheckCircle,"__esModule",{value:!0}),CheckCircle.default=void 0),_createSvgIcon$1=_interopRequireDefault$1(createSvgIcon),_jsxRuntime$1=jsxRuntime.exports,_default$1=(0,_createSvgIcon$1.default)((0,_jsxRuntime$1.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle"),default_1$1=CheckCircle.default=_default$1,Info={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Info,"__esModule",{value:!0}),Info.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info"),default_1=Info.default=_default;const SHARED_TEXT={processAiHeaderTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.eA9TAY",defaultMessage:"AI PROCESSING",description:"Title of AI categories list"}),closePanel:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.kOsSpC",defaultMessage:"Close Panel",description:"Close Panel"}),processAiHeaderDescription:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.p3BcDi",defaultMessage:"Select from a list of AI capabilities to apply available AI processing to your selected files.",description:"Detailed text below the process AI header title"}),processAiEngineUnavailable:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.PwcA3J",defaultMessage:"This engine does not specify a default single job template.",description:"Detailed text if an engine is not available to use"}),processAiFailedStatus:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.UBu61T",defaultMessage:"An error happened while fetching the engine capabilities.",description:"Error message for process ai failures"}),processAiNoEngineCapability:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.IC5L+j",defaultMessage:"No available engine found for this file.",description:"Warning message when no engine found"}),processAiRetryBtn:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.8U+Kek",defaultMessage:"Retry",description:"Retry button text"}),cancel:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.6PdOcy",defaultMessage:"Cancel",description:"Cancel"}),processAiAddEngines:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.e5+f7H",defaultMessage:"Save Changes",description:"Add engines button text"}),engineSettings:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.3Phobj",defaultMessage:"Engine Settings",description:"The label for the engine settings component"}),saveSettings:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.UOkssC",defaultMessage:"Save Settings",description:"The label for the engine settings savings"}),engineSelected:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.Ki+AeV",defaultMessage:"Selected & Configured",description:"The label for the selected engine"}),removeEngine:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.eZW4Lt",defaultMessage:"Remove Engine",description:"The button to deselected a selected engine"}),editConfigurations:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.GSlIPA",defaultMessage:"Edit Configurations",description:"The button to edit the engine configurations"}),useThisEngine:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai-use-engine",defaultMessage:"Use this Engine",description:"The label for the use engine button when no engine has not been selected yet"})},useStyles$5=makeStyles()(e=>({aiProcessingWrapper:{padding:"8px 20px 20px 20px",display:"flex",flexDirection:"column",height:"100%",position:"absolute",top:"0",bottom:"0"},processAiHeader:{display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"space-between",marginBottom:10},loaderIcon:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:20}})),SLICE_NAME="dataCenterProcessAI",namespace$3=(!function(e){e.aiCapabilities="aiCapabilities",e.engineSelection="engineSelection",e.engineConfiguration="engineConfiguration"}(ProcessAIView=ProcessAIView||{}),"capabilitiesState"),initialState$3={status:"idle",capabilities:[],engines:{}},capabilitiesSlice=createSlice({name:SLICE_NAME+"/"+namespace$3,initialState:initialState$3,reducers:{capabilitiesFetchStart(e,t){e.status="pending"},capabilitiesFetchSucceed(e){e.status="idle"},capabilitiesFetchFailed(e){e.status="failure"},setCapabilities:(e,t)=>{e.capabilities=t.payload},setEngines:(e,t)=>{e.engines=t.payload}}}),actions$4=capabilitiesSlice.actions;var capabilities_state=capabilitiesSlice.reducer;const namespace$2="processAiConfig",initialState$2={status:"idle",selectedEngines:{}},configurationSlice=createSlice({name:SLICE_NAME+"/"+namespace$2,initialState:initialState$2,reducers:{setConfigurations(e,t){var{capabilityId:t,selectedEngines:n}=t.payload;e.selectedEngines[t]=n},updateSingleJobStatus(e,t){const{engineId:n,status:s}=t.payload;for(const a in e.selectedEngines){var i=e.selectedEngines[a].findIndex(e=>e.id===n);if(-1!==i){e.selectedEngines[a][i].status=s,e.selectedEngines[a][i].errorMessage=t.payload.errorMessage;break}}}}}),actions$3=configurationSlice.actions;var configuration_state=configurationSlice.reducer;const namespace$1="uiState",initialState$1={status:"idle",currentView:ProcessAIView.aiCapabilities},uiSlice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState$1,reducers:{setCurrentView:(e,t)=>{e.currentView=t.payload},setStatus:(e,t)=>{e.status=t.payload}}}),actions$2=uiSlice.actions;var ui_state=uiSlice.reducer;const namespace="job",initialState={status:"idle"},jobSlice=createSlice({name:SLICE_NAME+"/"+namespace,initialState:initialState,reducers:{launchJobStart(e,t){e.status="pending"},launchJobSucceed(e){e.status="success"},launchJobFailed(e){e.status="failure"}}}),actions$1=jobSlice.actions;var EngineFieldType,job_state=jobSlice.reducer;const actions={[namespace$1]:actions$2,[namespace$3]:actions$4,[namespace$2]:actions$3,[namespace]:actions$1},rootReducer=combineReducers({[namespace$1]:ui_state,[namespace$3]:capabilities_state,[namespace$2]:configuration_state,[namespace]:job_state}),selectCapabilitiesStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.status},selectCapabilities=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.capabilities},selectEnginesByCapabilityId=t=>e=>{return null==(e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.engines)?void 0:e[t]},selectAllEngines=e=>{e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$3])?void 0:e.engines;return e&&0<Object.values(e).length?Object.values(e).reduce((e,t)=>lodash.exports.concat(e,t)):[]},selectSelectedEnginesByCapabilityId=t=>e=>{return null==(e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$2])?void 0:e.selectedEngines)?void 0:e[t]},selectSelectedEngines=e=>{e=null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$2])?void 0:e.selectedEngines;return Object.values(e).reduce((e,t)=>e.concat(t),[])},selectSelectedEnginesObj=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace$2])?void 0:e.selectedEngines},selectJobStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace])?void 0:e.status},selectApiConfigs=createSelector([rootApiSelector,graphEndpointSelector,sessionTokenSelector],(e,t,n)=>({apiRoot:e,graphQLEndpoint:t,token:n})),useStyles$4=makeStyles()(e=>({processingContainer:{marginTop:25,flex:1,overflowY:"scroll"},instructions:{marginBottom:"30px"},name:{fontSize:"14px",fontWeight:400,lineHeight:"19.1px"},description:{fontSize:"14px",fontWeight:400,maxWidth:"276px",lineHeight:"16.37px",overflow:"hidden",textOverflow:"ellipsis"},iconBackground:{display:"flex",justifyContent:"center",alignItems:"center",height:"40px",borderRadius:"25px",width:"40px",minHeight:"40px",minWidth:"40px",background:"#F2F5F9",marginRight:"15px"},processingRow:{padding:"20px 0",display:"flex",flexDirection:"row",height:"auto",borderBottom:"0.5px solid #D5DFE9",cursor:"pointer"},processingColumn:{display:"flex",flexDirection:"column",maxHeight:"auto"},engineIcons:{verticalAlign:"middle"},badge:{backgroundColor:"#D43060",left:e.spacing(1),top:e.spacing(1)},badgeContent:{fontSize:"11px",fontWeight:600,lineHeight:0}})),AICategories=({categories:e,closeSnackbar:i,enableNonSingleEngineJobEngines:a,aobSelectedEngines:o,marginStart:r,marginTop:l})=>{const n=useStyles$4()["classes"],c=useDispatch(),d=useSelector(selectSelectedEnginesObj),u=useSelector(selectIsFullscreenEnabled);return jsxRuntime.exports.jsx("div",Object.assign({className:n.processingContainer},{children:e.map((s,e)=>{var t;return jsxRuntime.exports.jsx(EngineCategoryCard,{category:s,onClick:()=>{var e,t,n;e=s,i(),e={name:"DATA_CENTER_ENGINE_SELECTION",config:{name:"DATA CENTER ENGINE SELECTION",capability:e,enableNonSingleEngineJobEngines:a,aobSelectedEngines:o}},t=r||0,n=l||0,n={type:"APP_BAR_PANEL_TEMPLATE",marginTop:(u?0:55)+n,marginStart:(u?380:460)+t,size:"small",siblingPanelId:"DATA_CENTER_PROCESS_AI",parentPanelId:"DATA_CENTER_PROCESS_AI",dimmed:0,dimmedStatus:"dimParent"},c(mountPanel({panelId:"DATA_CENTER_ENGINE_SELECTION",microFrontend:e,panelConfig:n}))},badgeContent:null!=(t=d[s.id])&&t.length?jsxRuntime.exports.jsx(Typography,Object.assign({variant:"overline",className:n.badgeContent,"data-testid":"engine-category-badge-quantity"},{children:d[s.id].length})):0},e)})}))},EngineCategoryCard=({category:e,onClick:t,badgeContent:n})=>{var s=useStyles$4()["classes"],i=e.name.replace(/[^a-zA-Z]/g,"");return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{"&:hover .category-card-engine-icon":{color:"#FFF",transition:"color 0.2s ease-in-out"},"&:hover .category-card-engine-icon-background":{backgroundColor:"#4b5471",transition:"background-color 0.2s ease-in-out"},"&:hover .engine-category-name":{color:"#4b5471"}},"data-test":"engine-category-row",className:s.processingRow+" engine-category-card",onClick:t},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:s.iconBackground+" category-card-engine-icon-background"},{children:jsxRuntime.exports.jsx(Badge,Object.assign({"data-testid":"engine-category-badge-"+i,badgeContent:n||0,color:"secondary",classes:{badge:s.badge},anchorOrigin:{vertical:"bottom",horizontal:"right"}},{children:jsxRuntime.exports.jsx(Icon,{"data-test":"engine-category-icon-"+i,className:s.engineIcons+" category-card-engine-icon",component:EngineCategoryIcons[i],color:"secondary",fontSize:"small"})}))})),jsxRuntime.exports.jsxs("div",Object.assign({className:s.processingColumn},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({"data-test":`engine-category-name-${e.name} engine-category-name`,variant:"h6",color:"textPrimary",className:s.name,sx:{pointerEvents:"none"}},{children:e.name})),jsxRuntime.exports.jsx(Typography,Object.assign({"data-test":"engine-category-description-"+e.name,variant:"body2",color:"textSecondary",className:s.description},{children:e.description}))]}))]}),i)},useStyles$3=makeStyles()(e=>({jobLaunchSnackbarContainer:{backgroundColor:e.palette.common.white,padding:"6px 16px",borderRadius:"4px",width:"440px",boxShadow:"rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px"},jobLaunchSnackbarTitle:{display:"flex",justifyContent:"space-between",padding:"10px 4px"},jobLaunchItemList:{maxHeight:"80vh",overflowY:"scroll",width:"102%"},jobLaunchItem:{transition:"all 0.5s ease-in-out",display:"flex",flexDirection:"row",padding:"6px 0px 5px 16px",borderRadius:"4px",marginBottom:"10px",marginTop:"5px"},jobLaunchItemMessage:{display:"flex",flexDirection:"column",width:"70%"},jobLaunchItemFeedback:{display:"flex",justifyContent:"center",alignItems:"center",width:"30%"},jobLaunchItemLoading:{color:"rgb(13, 60, 97)",backgroundColor:"rgb(232, 244, 253)"},jobLaunchItemSuccess:{backgroundColor:"rgb(237, 247, 237)",color:"rgb(30, 70, 32)"},jobLaunchItemFail:{backgroundColor:"rgb(253, 236, 234)",color:"rgb(97, 26, 21)"}})),JobLaunchItem=({name:e,status:t,onRetry:n,limitAnimation:s=!1,errorMessage:i=""})=>{const[a,o]=react.exports.useState(!0);react.exports.useEffect(()=>{setTimeout(()=>{o(!1)},500*Math.random()+700)});var r=useStyles$3()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:classNames(r.jobLaunchItem,{[r.jobLaunchItemLoading]:"pending"===t||a,[r.jobLaunchItemSuccess]:"success"===t,[r.jobLaunchItemFail]:"failure"===t})},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:r.jobLaunchItemMessage},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({style:{width:"90%"},variant:"h4",noWrap:!0},{children:e})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:"pending"===t||a?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.dSA4RS",defaultMessage:"Launching AI Processing...",description:"Job Launch item description loading job"}):"success"===t?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.b+iNpN",defaultMessage:"This processing job started successfully.",description:"Job Launch item description success"}):"failure"===t?jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.50UABM",defaultMessage:"Unable to start processing job.",description:"Job Launch item description failed"}):void 0}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:r.jobLaunchItemFeedback},{children:"pending"===t||a?jsxRuntime.exports.jsx(CircularProgress,{size:20,disableShrink:s}):"success"===t?jsxRuntime.exports.jsx(default_1$1,{style:{color:"#4caf50"}}):"failure"===t?jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[i&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:i,placement:"top"},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({sx:{color:"rgb(97, 26, 21)"}},{children:jsxRuntime.exports.jsx(Information,{})}))})),jsxRuntime.exports.jsx(Button,Object.assign({color:"inherit",onClick:n},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.BnINsu",defaultMessage:"RETRY",description:"Button label to retry the failed job"})}))]}):void 0}))]}))},JobLaunchSnackbar=({open:e,onClose:n,jobLaunchItems:t,onRetry:s,hidePanel:i})=>{var a=(e,t)=>{"clickaway"!==t&&n()},o=useStyles$3()["classes"];const r=10<t.length;var l=()=>{for(const e of t)if("failure"===e.status||"pending"===e.status)return null;return 2500};return jsxRuntime.exports.jsx(Snackbar,Object.assign({anchorOrigin:{vertical:"bottom",horizontal:"right"},open:e,autoHideDuration:l(),onClose:a,TransitionProps:{onExited:l()&&i}},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:"aiware-el "+o.jobLaunchSnackbarContainer},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:o.jobLaunchSnackbarTitle},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h3"},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.HJnKOv",defaultMessage:"AI Processing",description:"AI Processing snackbar title"})})),jsxRuntime.exports.jsx(IconButton,Object.assign({"aria-label":"close",color:"inherit",size:"small",onClick:a},{children:jsxRuntime.exports.jsx(default_1$3,{fontSize:"inherit"})}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:o.jobLaunchItemList},{children:t.map((e,t)=>jsxRuntime.exports.jsx(JobLaunchItem,{name:e.name,errorMessage:null==e?void 0:e.errorMessage,status:e.status,onRetry:()=>s(e),limitAnimation:r},t))}))]}))}))},useStyles$2=makeStyles()(e=>({root:{display:"flex",justifyContent:"end",marginTop:"25px"},cancelButton:{marginRight:e.spacing(2),textTransform:"none",color:e.palette.text.primary},actionButton:{textTransform:"none"}})),ActionsFooter=({title:e,actionButton:t,cancelButton:n,confirmationOnCancel:s=!1,children:i=null})=>{const[a,o]=react.exports.useState(!1);var r=useStyles$2()["classes"];const l=e=>{o(!1),e&&e()};return jsxRuntime.exports.jsxs("div",Object.assign({className:r.root,"data-test":"data-center-action-footer"},{children:[e,i,jsxRuntime.exports.jsx(ConfirmationModal,{showConfirmationModal:a,closeConfirmationModal:l,onClosePanel:()=>l(n.action)}),jsxRuntime.exports.jsx(Button,Object.assign({onClick:()=>{s&&!t.disabled?o(!0):n.action()},disabled:n.disabled,"data-test":n.dataTest,className:r.cancelButton},{children:n.label})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",color:"primary",onClick:t.action,disabled:t.disabled,"data-test":t.dataTest,className:r.actionButton},{children:t.label}))]}))},ProcessAIManager=t=>{var e,n=useStyles$5()["classes"];const{apiRoot:s,graphQLEndpoint:i,token:a}=useSelector(selectApiConfigs),o=useSelector(selectJobStatus),[r,l]=react.exports.useState(!1);var c=useSelector(selectCapabilitiesStatus);const d=useSelector(selectSelectedEngines),u=useSelector(selectAllEngines),{onSaveEngineSelection:p,enableNonSingleEngineJobEngines:g,aobSelectedEngines:x}=t;var m=useSelector(selectCapabilities);const j=useDispatch(),b=()=>{j(actions.capabilitiesState.capabilitiesFetchStart(t.tdoId))};if(react.exports.useEffect(()=>{["pending","success","failure"].includes(o)&&l(!0)},[o]),react.exports.useEffect(()=>{s&&i&&a&&b()},[s,i,a,j,t.tdoId]),!(s&&i&&a&&t.panelRendered))return null;var h={label:null!=(h=t.submitButtonLabel)?h:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.J0sEvH",defaultMessage:"Process with AI",description:"action button label"}),action:()=>{var e;p?(e=d.map(t=>{var e=u.find(e=>e.id===t.id);return Object.assign(Object.assign({},e),t)}),p(e),null!=t&&t.hidePanel()):j(actions.job.launchJobStart({tdoId:t.tdoId,selectedEngines:d}))},disabled:!d.length,dataTest:"data-center-process-ai-action-btn"},f={label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-data-center-process-ai.uT5L4h",defaultMessage:"Cancel",description:"cancel button label"}),action:()=>null==t?void 0:t.hidePanel(),disabled:!1,dataTest:"data-center-process-ai-cancel-btn"};return jsxRuntime.exports.jsxs("div",Object.assign({className:n.aiProcessingWrapper},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:n.processAiHeader},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h1",color:"secondary","data-test":"data-center-process-ai-panel-header-title"},{children:null!=(e=t.panelTitle)?e:SHARED_TEXT.processAiHeaderTitle()})),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:SHARED_TEXT.closePanel()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:null==t?void 0:t.hidePanel,"aria-labelledby":"data-center-process-ai-close-panel","data-test":"data-center-process-ai-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Close,{})}))}))]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",color:"textSecondary","data-test":"data-center-process-ai-supported-files-title"},{children:null!=(e=t.panelDescription)?e:SHARED_TEXT.processAiHeaderDescription()})),"failure"===c&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx("br",{}),jsxRuntime.exports.jsx(Box,Object.assign({mt:4},{children:jsxRuntime.exports.jsxs(Alert,Object.assign({variant:"outlined",severity:"error"},{children:[jsxRuntime.exports.jsx("span",Object.assign({"data-test":"data-center-process-ai-failed-text"},{children:SHARED_TEXT.processAiFailedStatus()})),jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"data-center-process-ai-failed-retry-button",onClick:b},{children:SHARED_TEXT.processAiRetryBtn()}))})]}))}))]}),"idle"===c&&!(null!=m&&m.length)&&jsxRuntime.exports.jsx(Box,Object.assign({mt:4},{children:jsxRuntime.exports.jsx(Alert,Object.assign({variant:"outlined",severity:"info"},{children:SHARED_TEXT.processAiNoEngineCapability()}))})),"pending"===c&&jsxRuntime.exports.jsx("div",Object.assign({className:n.loaderIcon},{children:jsxRuntime.exports.jsx(CircularProgress,{})})),"idle"===c&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(AICategories,{categories:m,closeSnackbar:()=>l(!1),enableNonSingleEngineJobEngines:!!g,aobSelectedEngines:x,marginStart:null==t?void 0:t.marginStart,marginTop:null==t?void 0:t.marginTop}),jsxRuntime.exports.jsx(ActionsFooter,{confirmationOnCancel:!0,actionButton:h,cancelButton:f})]}),jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsx(JobLaunchSnackbar,{open:r,onClose:()=>l(!1),jobLaunchItems:d,onRetry:e=>{j(actions.job.launchJobStart({tdoId:t.tdoId,selectedEngines:[e]}))},hidePanel:null==t?void 0:t.hidePanel})})]}))};function __awaiter(e,o,r,l){return new(r=r||Promise)(function(n,t){function s(e){try{a(l.next(e))}catch(e){t(e)}}function i(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,i)}a((l=l.apply(e,o||[])).next())})}function fetchEngineCapabilities(n,s,i){return __awaiter(this,void 0,void 0,function*(){var e="fetchEngineCapabilities",t="engineCategories";return(yield baseGraphQLApiWithError(Object.assign({query:`
|
|
2
2
|
query ${e}($limit: Int${s?", $format: String!":""}) {
|
|
3
3
|
${t}(limit: $limit) {
|
|
4
4
|
count
|
package/js-core.esm73.js.gz
CHANGED
|
Binary file
|