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.esm23.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as jsxRuntime,X as createSlice,Z as useSelector,dZ as authStatusSelector,d_ as authContextSelector,r as react,d$ as AuthContext,a2 as lodash,ao as Box,e0 as img$4,bg as StyledEngineProvider,e1 as resetPasswordRequest,bL as React5,e2 as setUser,B as all,D as takeEvery$1,E as select,H as call$n,I as put,a5 as showMessage,a6 as MessageSeverity}from"./js-core.esm.js";import{l as createSvgIcon,n as interopRequireDefault,k as FormattedMessage,m as makeStyles,A as AIWareIntlProvider,T as Typography,S as Select,bl as Location,U as MenuItem,p as DynamicModuleLoader,h as Button,aR as Fade,s as classNames,F as FormControl,aL as Input,P as Popover,D as Divider,ad as Slide,bm as CheckmarkFilled,bn as Bullet}from"./js-core.esm5.js";import{d as default_1$3}from"./js-core.esm24.js";import{d as default_1$2}from"./js-core.esm25.js";import{j as devErrorLogger,n as Stack,L as LoadingButton,e as InputLabel,k as InputAdornment,I as IconButton,T as TextField,f as Skeleton,D as Close$1}from"./js-core.esm6.js";import{R as Routes,f as Route,u as useNavigate,h as useLocation,i as useSearchParams,d as getAppbarPanelModule,c as applicationSelector,j as logoutUser$1}from"./js-core.esm3.js";import{d as default_1$4}from"./js-core.esm26.js";import{A as Alert}from"./js-core.esm16.js";import{L as LinearProgress}from"./js-core.esm2.js";import{B as Box$1}from"./js-core.esm27.js";import{C as Container}from"./js-core.esm28.js";import{S as Snackbar}from"./js-core.esm15.js";import{A as Autocomplete}from"./js-core.esm29.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm17.js";var match,version,set$1,get,store,STATE,activeXDocument,Visibility={},_interopRequireDefault$1=interopRequireDefault.exports,default_1$1=(Object.defineProperty(Visibility,"__esModule",{value:!0}),Visibility.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 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility"),default_1$1=Visibility.default=_default$1,ArrowBack={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(ArrowBack,"__esModule",{value:!0}),ArrowBack.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack"),default_1=ArrowBack.default=_default,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$n=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$n=function(e){try{return!!e()}catch(e){return!0}},fails$m=fails$n,descriptors=!fails$n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$l=fails$n,functionBindNative=!fails$n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$3=functionBindNative,call$m=Function.prototype.call,functionCall=NATIVE_BIND$3?call$m.bind(call$m):function(){return call$m.apply(call$m,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$3=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$3&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$5=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$3(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$l=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$l,call$l),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$l.apply(e,arguments)}},uncurryThis$q=functionUncurryThis,toString$c=uncurryThis$q({}.toString),stringSlice$9=uncurryThis$q("".slice),classofRaw$2=function(e){return stringSlice$9(toString$c(e),8,-1)},uncurryThis$p=functionUncurryThis,fails$k=fails$n,classof$8=classofRaw$2,$Object$4=Object,split$3=functionUncurryThis("".split),indexedObject=fails$k(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$8(e)?split$3(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$7=function(e){return null==e},isNullOrUndefined$6=isNullOrUndefined$7,$TypeError$e=TypeError,requireObjectCoercible$8=function(e){if(isNullOrUndefined$6(e))throw $TypeError$e("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$7=requireObjectCoercible$8,toIndexedObject$5=function(e){return IndexedObject$1(requireObjectCoercible$7(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$p=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},isCallable$o=isCallable$p,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$b=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$o(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$o(e)},global$m=global$n,isCallable$n=isCallable$p,aFunction=function(e){return isCallable$n(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$m[e]):global$m[e]&&global$m[e][t]},uncurryThis$o=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$l=global$n,userAgent$3=engineUserAgent,process$4=global$l.process,Deno$1=global$l.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$j=fails$n,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$j(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$m=isCallable$p,isPrototypeOf$5=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$6("Symbol");return isCallable$m(t)&&isPrototypeOf$5(t.prototype,$Object$3(e))},$String$4=String,tryToString$4=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$l=isCallable$p,tryToString$3=tryToString$4,$TypeError$d=TypeError,aCallable$8=function(e){if(isCallable$l(e))return e;throw $TypeError$d(tryToString$3(e)+" is not a function")},aCallable$7=aCallable$8,isNullOrUndefined$5=isNullOrUndefined$7,getMethod$6=function(e,t){e=e[t];return isNullOrUndefined$5(e)?void 0:aCallable$7(e)},call$k=functionCall,isCallable$k=isCallable$p,isObject$a=isObject$b,$TypeError$c=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$k(r=e.toString)&&!isObject$a(n=call$k(r,e)))return n;if(isCallable$k(r=e.valueOf)&&!isObject$a(n=call$k(r,e)))return n;if("string"!==t&&isCallable$k(r=e.toString)&&!isObject$a(n=call$k(r,e)))return n;throw $TypeError$c("Can't convert object to primitive value")},shared$4={exports:{}},isPure=!1,global$k=global$n,defineProperty$7=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$7(global$k,t,{value:r,configurable:!0,writable:!0})}catch(e){global$k[t]=r}return r},global$j=global$n,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$n[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible$6=((shared$4.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$8),$Object$2=Object,toObject$5=function(e){return $Object$2(requireObjectCoercible$6(e))},uncurryThis$n=functionUncurryThis,toObject$4=toObject$5,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$4(e),t)},uncurryThis$m=functionUncurryThis,id=0,postfix=Math.random(),toString$b=uncurryThis$m(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$b(++id+postfix,36)},global$i=global$n,shared$3=shared$4.exports,hasOwn$e=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL$1=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$i.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$l=function(e){return hasOwn$e(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL$1&&hasOwn$e(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$j=functionCall,isObject$9=isObject$b,isSymbol$1=isSymbol$2,getMethod$5=getMethod$6,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$k=wellKnownSymbol$l,$TypeError$b=TypeError,TO_PRIMITIVE=wellKnownSymbol$l("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$9(e)||isSymbol$1(e))return e;var r=getMethod$5(e,TO_PRIMITIVE);if(r){if(r=call$j(r,e,t=void 0===t?"default":t),!isObject$9(r)||isSymbol$1(r))return r;throw $TypeError$b("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$3=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$h=global$n,isObject$8=isObject$b,document$3=global$n.document,EXISTS$1=isObject$8(document$3)&&isObject$8(document$3.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$f=descriptors,fails$i=fails$n,createElement$1=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$n(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$e=descriptors,call$i=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$4=createPropertyDescriptor$5,toIndexedObject$4=toIndexedObject$5,toPropertyKey$2=toPropertyKey$3,hasOwn$d=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$e?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$2(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$d(e,t))return createPropertyDescriptor$4(!call$i(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$d=descriptors,fails$h=fails$n,v8PrototypeDefineBug=descriptors&&fails$n(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$7=isObject$b,$String$3=String,$TypeError$a=TypeError,anObject$i=function(e){if(isObject$7(e))return e;throw $TypeError$a($String$3(e)+" is not an object")},DESCRIPTORS$c=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$h=anObject$i,toPropertyKey$1=toPropertyKey$3,$TypeError$9=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$b=(objectDefineProperty.f=DESCRIPTORS$c?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){var n;return anObject$h(e),t=toPropertyKey$1(t),anObject$h(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]&&(n=$getOwnPropertyDescriptor(e,t))&&n[WRITABLE]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1 in r?r:n)[CONFIGURABLE$1],enumerable:(ENUMERABLE in r?r:n)[ENUMERABLE],writable:!1}),$defineProperty(e,t,r)}:$defineProperty:function(e,t,r){if(anObject$h(e),t=toPropertyKey$1(t),anObject$h(r),IE8_DOM_DEFINE)try{return $defineProperty(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$9("Accessors not supported");return"value"in r&&(e[t]=r.value),e},descriptors),definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$3=createPropertyDescriptor$5,createNonEnumerableProperty$6=DESCRIPTORS$b?function(e,t,r){return definePropertyModule$4.f(e,t,createPropertyDescriptor$3(1,r))}:function(e,t,r){return e[t]=r,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$a=descriptors,hasOwn$c=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$a&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$c(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$a||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$l=functionUncurryThis,isCallable$j=isCallable$p,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$j(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$g=global$n,isCallable$i=isCallable$p,WeakMap$1=global$n.WeakMap,weakMapBasicDetection=isCallable$i(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$2=shared$4.exports,uid=uid$2,keys$1=shared$2("keys"),sharedKey$3=function(e){return keys$1[e]||(keys$1[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$f=global$n,isObject$6=isObject$b,createNonEnumerableProperty$5=createNonEnumerableProperty$6,hasOwn$b=hasOwnProperty_1,shared$1=sharedStore,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$4=global$f.TypeError,WeakMap=global$f.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(t){return function(e){if(isObject$6(e)&&(e=get(e)).type===t)return e;throw TypeError$4("Incompatible receiver, "+t+" required")}},has=NATIVE_WEAK_MAP||shared$1.state?((store=shared$1.state||(shared$1.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$4(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$2("state"),hiddenKeys$3[STATE]=!0,set$1=function(e,t){if(hasOwn$b(e,STATE))throw TypeError$4(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$5(e,STATE,t),t},get=function(e){return hasOwn$b(e,STATE)?e[STATE]:{}},function(e){return hasOwn$b(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$k=functionUncurryThis,fails$g=fails$n,isCallable$h=isCallable$p,hasOwn$a=hasOwnProperty_1,DESCRIPTORS$9=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$5=internalState,enforceInternalState$1=InternalStateModule$5.enforce,getInternalState$3=InternalStateModule$5.get,$String$2=String,defineProperty$6=Object.defineProperty,stringSlice$8=uncurryThis$k("".slice),replace$8=uncurryThis$k("".replace),join$3=uncurryThis$k([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$9&&!fails$g(function(){return 8!==defineProperty$6(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,r){"Symbol("===stringSlice$8($String$2(t),0,7)&&(t="["+replace$8($String$2(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!hasOwn$a(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$9?defineProperty$6(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&r&&hasOwn$a(r,"arity")&&e.length!==r.arity&&defineProperty$6(e,"length",{value:r.arity});try{r&&hasOwn$a(r,"constructor")&&r.constructor?DESCRIPTORS$9&&defineProperty$6(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState$1(e);return hasOwn$a(r,"source")||(r.source=join$3(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$g=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$h(this)&&getInternalState$3(this).source||inspectSource$2(this)},"toString"),isCallable$p),definePropertyModule$3=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$b=function(e,t,r,n){var o=(n=n||{}).enumerable,i=void 0!==n.name?n.name:t;if(isCallable$g(r)&&makeBuiltIn$1(r,i,n),n.global)o?e[t]=r:defineGlobalProperty$1(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:definePropertyModule$3.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor$4=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor$4:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$4=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$3=toIntegerOrInfinity$4,max$2=Math.max,min$2=Math.min,toAbsoluteIndex$2=function(e,t){e=toIntegerOrInfinity$3(e);return e<0?max$2(e+t,0):min$2(e,t)},toIntegerOrInfinity$2=toIntegerOrInfinity$4,min$1=Math.min,toLength$3=function(e){return 0<e?min$1(toIntegerOrInfinity$2(e),9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$4=function(e){return toLength$2(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex$1=toAbsoluteIndex$2,lengthOfArrayLike$3=lengthOfArrayLike$4,createMethod$2=function(s){return function(e,t,r){var n,o=toIndexedObject$3(e),i=lengthOfArrayLike$3(o),a=toAbsoluteIndex$1(r,i);if(s&&t!=t){for(;a<i;)if((n=o[a++])!=n)return!0}else for(;a<i;a++)if((s||a in o)&&o[a]===t)return s||a||0;return!s&&-1}},arrayIncludes={includes:createMethod$2(!0),indexOf:createMethod$2(!1)},uncurryThis$j=functionUncurryThis,hasOwn$9=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$4=uncurryThis$j([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$2(e),o=0,i=[];for(r in n)!hasOwn$9(hiddenKeys$2,r)&&hasOwn$9(n,r)&&push$4(i,r);for(;t.length>o;)!hasOwn$9(n,r=t[o++])||~indexOf$1(i,r)||push$4(i,r);return i},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$3.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys$1)},{}),getBuiltIn$5=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$7),uncurryThis$i=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$g=anObject$i,concat$2=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$g(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$2(t,r(e)):t},hasOwn$8=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,copyConstructorProperties$2=function(e,t,r){for(var n=ownKeys(t),o=definePropertyModule$2.f,i=getOwnPropertyDescriptorModule.f,a=0;a<n.length;a++){var s=n[a];hasOwn$8(e,s)||r&&hasOwn$8(r,s)||o(e,s,i(t,s))}},fails$f=fails$n,isCallable$f=isCallable$p,replacement=/#|\.prototype\./,isForced$3=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$f(t)?fails$f(t):!!t)},normalize=isForced$3.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$3.data={},NATIVE=isForced$3.NATIVE="N",POLYFILL=isForced$3.POLYFILL="P",isForced_1=isForced$3,global$e=global$n,getOwnPropertyDescriptor$2=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$4=createNonEnumerableProperty$6,defineBuiltIn$a=defineBuiltIn$b,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties$1=copyConstructorProperties$2,isForced$2=isForced_1,_export=function(e,t){var r,n,o,i=e.target,a=e.global,s=e.stat,l=a?global$e:s?global$e[i]||defineGlobalProperty(i,{}):(global$e[i]||{}).prototype;if(l)for(r in t){if(n=t[r],o=e.dontCallGetSet?(o=getOwnPropertyDescriptor$2(l,r))&&o.value:l[r],!isForced$2(a?r:i+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof n==typeof o)continue;copyConstructorProperties$1(n,o)}(e.sham||o&&o.sham)&&createNonEnumerableProperty$4(n,"sham",!0),defineBuiltIn$a(l,r,n,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$8=descriptors,uncurryThis$h=functionUncurryThis,call$h=functionCall,fails$e=fails$n,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$3=toObject$5,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$5=Object.defineProperty,concat$1=uncurryThis$h([].concat),objectAssign=!$assign||fails$e(function(){var e,t,r,n;return!(!DESCRIPTORS$8||1===$assign({b:1},$assign(defineProperty$5({},"a",{enumerable:!0,get:function(){defineProperty$5(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},n="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,n.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[r])||objectKeys$1($assign({},t)).join("")!=n})?function(e,t){for(var r=toObject$3(e),n=arguments.length,o=1,i=getOwnPropertySymbolsModule.f,a=propertyIsEnumerableModule.f;o<n;)for(var s,l=IndexedObject(arguments[o++]),c=i?concat$1(objectKeys$1(l),i(l)):objectKeys$1(l),u=c.length,p=0;p<u;)s=c[p++],DESCRIPTORS$8&&!call$h(a,l,s)||(r[s]=l[s]);return r}:$assign,$$e=_export,assign$1=objectAssign,objectDefineProperties=(_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$1},{assign:assign$1}),{}),DESCRIPTORS$7=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$f=anObject$i,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn$4=(objectDefineProperties.f=DESCRIPTORS$7&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$f(e);for(var r,n=toIndexedObject$1(t),o=objectKeys(t),i=o.length,a=0;a<i;)definePropertyModule$1.f(e,r=o[a++],n[r]);return e},getBuiltIn$7),html$2=getBuiltIn$7("document","documentElement"),anObject$e=anObject$i,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html$1=html$2,documentCreateElement$1=documentCreateElement$2,sharedKey$1=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=documentCreateElement$1("iframe"),t="java"+SCRIPT+":";return e.style.display="none",html$1.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"==typeof document||document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame();for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[e]];return NullProtoObject()},objectCreate=(hiddenKeys[IE_PROTO$1]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$e(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule.f(r,t)}),wellKnownSymbol$j=wellKnownSymbol$l,create$3=objectCreate,defineProperty$4=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$j("unscopables"),ArrayPrototype$1=Array.prototype,addToUnscopables$2=(null==ArrayPrototype$1[UNSCOPABLES]&&defineProperty$4(ArrayPrototype$1,UNSCOPABLES,{configurable:!0,value:create$3(null)}),function(e){ArrayPrototype$1[UNSCOPABLES][e]=!0}),$$d=_export,$includes=arrayIncludes.includes,fails$d=fails$n,addToUnscopables$1=addToUnscopables$2,BROKEN_ON_SPARSE=fails$n(function(){return!Array(1).includes()}),isObject$5=($$d({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(e){return $includes(this,e,1<arguments.length?arguments[1]:void 0)}}),addToUnscopables$1("includes"),isObject$b),classof$7=classofRaw$2,wellKnownSymbol$i=wellKnownSymbol$l,MATCH$2=wellKnownSymbol$l("match"),isRegexp=function(e){var t;return isObject$5(e)&&(void 0!==(t=e[MATCH$2])?!!t:"RegExp"==classof$7(e))},isRegExp$1=isRegexp,$TypeError$8=TypeError,notARegexp=function(e){if(isRegExp$1(e))throw $TypeError$8("The method doesn't accept regular expressions");return e},wellKnownSymbol$h=wellKnownSymbol$l,TO_STRING_TAG$3=wellKnownSymbol$l("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$3]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$e=isCallable$p,classofRaw$1=classofRaw$2,wellKnownSymbol$g=wellKnownSymbol$l,TO_STRING_TAG$2=wellKnownSymbol$l("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$6=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object$1(e),TO_STRING_TAG$2))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"==(t=classofRaw$1(e))&&isCallable$e(e.callee)?"Arguments":t},classof$5=classof$6,$String$1=String,toString$a=function(e){if("Symbol"===classof$5(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$1(e)},wellKnownSymbol$f=wellKnownSymbol$l,MATCH$1=wellKnownSymbol$l("match"),correctIsRegexpLogic=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[MATCH$1]=!1,"/./"[t](r)}catch(e){}}return!1},$$c=_export,uncurryThis$g=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible$5=requireObjectCoercible$8,toString$9=toString$a,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf$2=functionUncurryThis("".indexOf),anObject$d=($$c({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf$2(toString$9(requireObjectCoercible$5(this)),toString$9(notARegExp(e)),1<arguments.length?arguments[1]:void 0)}}),anObject$i),regexpFlags$1=function(){var e=anObject$d(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fails$c=fails$n,global$d=global$n,$RegExp$2=global$n.RegExp,UNSUPPORTED_Y$2=fails$c(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),MISSED_STICKY$1=UNSUPPORTED_Y$2||fails$c(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$2||fails$c(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY$1,UNSUPPORTED_Y:UNSUPPORTED_Y$2},fails$b=fails$n,global$c=global$n,$RegExp$1=global$n.RegExp,regexpUnsupportedDotAll=fails$b(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),fails$a=fails$n,global$b=global$n,$RegExp=global$n.RegExp,regexpUnsupportedNcg=fails$a(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call$g=functionCall,uncurryThis$f=functionUncurryThis,toString$8=toString$a,regexpFlags=regexpFlags$1,stickyHelpers$1=regexpStickyHelpers,shared=shared$4.exports,create$2=objectCreate,getInternalState$2=internalState.get,UNSUPPORTED_DOT_ALL$1=regexpUnsupportedDotAll,UNSUPPORTED_NCG$1=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$7=uncurryThis$f("".charAt),indexOf=uncurryThis$f("".indexOf),replace$7=uncurryThis$f("".replace),stringSlice$7=uncurryThis$f("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return call$g(nativeExec,e,"a"),call$g(nativeExec,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),UNSUPPORTED_Y$1=stickyHelpers$1.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y$1||UNSUPPORTED_DOT_ALL$1||UNSUPPORTED_NCG$1,regexpExec$2=patchedExec=PATCH?function(e){var t,r,n,o,i,a,s=this,l=getInternalState$2(s),e=toString$8(e),c=l.raw;if(c)return c.lastIndex=s.lastIndex,p=call$g(patchedExec,c,e),s.lastIndex=c.lastIndex,p;var u=l.groups,c=UNSUPPORTED_Y$1&&s.sticky,p=call$g(regexpFlags,s),l=s.source,d=0,g=e;if(c&&(p=replace$7(p,"y",""),-1===indexOf(p,"g")&&(p+="g"),g=stringSlice$7(e,s.lastIndex),0<s.lastIndex&&(!s.multiline||s.multiline&&"\n"!==charAt$7(e,s.lastIndex-1))&&(l="(?: "+l+")",g=" "+g,d++),t=new RegExp("^(?:"+l+")",p)),NPCG_INCLUDED&&(t=new RegExp("^"+l+"$(?!\\s)",p)),UPDATES_LAST_INDEX_WRONG&&(r=s.lastIndex),n=call$g(nativeExec,c?t:s,g),c?n?(n.input=stringSlice$7(n.input,d),n[0]=stringSlice$7(n[0],d),n.index=s.lastIndex,s.lastIndex+=n[0].length):s.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&n&&(s.lastIndex=s.global?n.index+n[0].length:r),NPCG_INCLUDED&&n&&1<n.length&&call$g(nativeReplace,n[0],t,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n&&u)for(n.groups=i=create$2(null),o=0;o<u.length;o++)i[(a=u[o])[0]]=n[a[1]];return n}:patchedExec,$$b=_export,exec$4=regexpExec$2,NATIVE_BIND$1=(_export({target:"RegExp",proto:!0,forced:/./.exec!==exec$4},{exec:exec$4}),functionBindNative),FunctionPrototype=Function.prototype,apply$2=FunctionPrototype.apply,call$f=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$f.bind(apply$2):function(){return call$f.apply(apply$2,arguments)}),classofRaw=classofRaw$2,uncurryThis$e=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$e(e)},uncurryThis$d=functionUncurryThisClause,defineBuiltIn$9=defineBuiltIn$b,regexpExec$1=regexpExec$2,fails$9=fails$n,wellKnownSymbol$e=wellKnownSymbol$l,createNonEnumerableProperty$3=createNonEnumerableProperty$6,SPECIES$3=wellKnownSymbol$e("species"),RegExpPrototype$3=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(r,e,t,n){var a,o=wellKnownSymbol$e(r),s=!fails$9(function(){var e={};return e[o]=function(){return 7},7!=""[r](e)}),i=s&&!fails$9(function(){var e=!1,t=/a/;return"split"===r&&((t={constructor:{}}).constructor[SPECIES$3]=function(){return t},t.flags="",t[o]=/./[o]),t.exec=function(){return e=!0,null},t[o](""),!e});s&&i&&!t||(a=uncurryThis$d(/./[o]),i=e(o,""[r],function(e,t,r,n,o){var e=uncurryThis$d(e),i=t.exec;return i===regexpExec$1||i===RegExpPrototype$3.exec?s&&!o?{done:!0,value:a(t,r,n)}:{done:!0,value:e(r,t,n)}:{done:!1}}),defineBuiltIn$9(String.prototype,r,i[0]),defineBuiltIn$9(RegExpPrototype$3,o,i[1])),n&&createNonEnumerableProperty$3(RegExpPrototype$3[o],"sham",!0)},uncurryThis$c=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$7=toString$a,requireObjectCoercible$4=requireObjectCoercible$8,charAt$6=uncurryThis$c("".charAt),charCodeAt$1=uncurryThis$c("".charCodeAt),stringSlice$6=uncurryThis$c("".slice),createMethod$1=function(o){return function(e,t){var r,e=toString$7(requireObjectCoercible$4(e)),t=toIntegerOrInfinity$1(t),n=e.length;return t<0||n<=t?o?"":void 0:(r=charCodeAt$1(e,t))<55296||56319<r||t+1===n||(n=charCodeAt$1(e,t+1))<56320||57343<n?o?charAt$6(e,t):r:o?stringSlice$6(e,t,t+2):n-56320+(r-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$1(!1),charAt:createMethod$1(!0)},charAt$5=stringMultibyte.charAt,advanceStringIndex$2=function(e,t,r){return t+(r?charAt$5(e,t).length:1)},uncurryThis$b=functionUncurryThis,toObject$2=toObject$5,floor$3=Math.floor,charAt$4=uncurryThis$b("".charAt),replace$6=uncurryThis$b("".replace),stringSlice$5=uncurryThis$b("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(i,a,s,l,c,e){var u=s+i.length,p=l.length,t=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==c&&(c=toObject$2(c),t=SUBSTITUTION_SYMBOLS),replace$6(e,t,function(e,t){var r;switch(charAt$4(t,0)){case"$":return"$";case"&":return i;case"`":return stringSlice$5(a,0,s);case"'":return stringSlice$5(a,u);case"<":r=c[stringSlice$5(t,1,-1)];break;default:var n,o=+t;if(0==o)return e;if(p<o)return 0!==(n=floor$3(o/10))&&n<=p?void 0===l[n-1]?charAt$4(t,1):l[n-1]+charAt$4(t,1):e;r=l[o-1]}return void 0===r?"":r})},call$e=functionCall,anObject$c=anObject$i,isCallable$d=isCallable$p,classof$4=classofRaw$2,regexpExec=regexpExec$2,$TypeError$7=TypeError,regexpExecAbstract=function(e,t){var r=e.exec;if(isCallable$d(r))return null!==(r=call$e(r,e,t))&&anObject$c(r),r;if("RegExp"===classof$4(e))return call$e(regexpExec,e,t);throw $TypeError$7("RegExp#exec called on incompatible receiver")},apply$1=functionApply,call$d=functionCall,uncurryThis$a=functionUncurryThis,fixRegExpWellKnownSymbolLogic$2=fixRegexpWellKnownSymbolLogic,fails$8=fails$n,anObject$b=anObject$i,isCallable$c=isCallable$p,isNullOrUndefined$4=isNullOrUndefined$7,toIntegerOrInfinity=toIntegerOrInfinity$4,toLength$1=toLength$3,toString$6=toString$a,requireObjectCoercible$3=requireObjectCoercible$8,advanceStringIndex$1=advanceStringIndex$2,getMethod$4=getMethod$6,getSubstitution=getSubstitution$1,regExpExec$2=regexpExecAbstract,wellKnownSymbol$d=wellKnownSymbol$l,REPLACE=wellKnownSymbol$l("replace"),max$1=Math.max,min=Math.min,concat=uncurryThis$a([].concat),push$3=uncurryThis$a([].push),stringIndexOf$1=uncurryThis$a("".indexOf),stringSlice$4=uncurryThis$a("".slice),maybeToString=function(e){return void 0===e?e:String(e)},REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails$8(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),call$c=(fixRegExpWellKnownSymbolLogic$2("replace",function(e,b,y){var S=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(e,t){var r=requireObjectCoercible$3(this),n=isNullOrUndefined$4(e)?void 0:getMethod$4(e,REPLACE);return n?call$d(n,e,r,t):call$d(b,toString$6(r),e,t)},function(e,t){var r=anObject$b(this),n=toString$6(e);if("string"==typeof t&&-1===stringIndexOf$1(t,S)&&-1===stringIndexOf$1(t,"$<")){e=y(b,r,n,t);if(e.done)return e.value}for(var o,i=isCallable$c(t),a=(i||(t=toString$6(t)),r.global),s=(a&&(o=r.unicode,r.lastIndex=0),[]);null!==(p=regExpExec$2(r,n))&&(push$3(s,p),a);)""===toString$6(p[0])&&(r.lastIndex=advanceStringIndex$1(n,toLength$1(r.lastIndex),o));for(var l="",c=0,u=0;u<s.length;u++){for(var p,d=toString$6((p=s[u])[0]),g=max$1(min(toIntegerOrInfinity(p.index),n.length),0),$=[],h=1;h<p.length;h++)push$3($,maybeToString(p[h]));var m=p.groups,f=i?(f=concat([d],$,g,n),void 0!==m&&push$3(f,m),toString$6(apply$1(t,void 0,f))):getSubstitution(d,n,g,$,m,t);c<=g&&(l+=stringSlice$4(n,c,g)+f,c=g+d.length)}return l+stringSlice$4(n,c)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE),functionCall),hasOwn$7=hasOwnProperty_1,isPrototypeOf$4=objectIsPrototypeOf,regExpFlags=regexpFlags$1,RegExpPrototype$2=RegExp.prototype,regexpGetFlags=function(e){var t=e.flags;return void 0!==t||"flags"in RegExpPrototype$2||hasOwn$7(e,"flags")||!isPrototypeOf$4(RegExpPrototype$2,e)?t:call$c(regExpFlags,e)},PROPER_FUNCTION_NAME$2=functionName.PROPER,defineBuiltIn$8=defineBuiltIn$b,anObject$a=anObject$i,$toString$2=toString$a,fails$7=fails$n,getRegExpFlags$1=regexpGetFlags,TO_STRING="toString",RegExpPrototype$1=RegExp.prototype,nativeToString=RegExpPrototype$1[TO_STRING],NOT_GENERIC=fails$7(function(){return"/a/b"!=nativeToString.call({source:"a",flags:"b"})}),INCORRECT_NAME=PROPER_FUNCTION_NAME$2&&nativeToString.name!=TO_STRING;(NOT_GENERIC||INCORRECT_NAME)&&defineBuiltIn$8(RegExp.prototype,TO_STRING,function(){var e=anObject$a(this);return"/"+$toString$2(e.source)+"/"+$toString$2(getRegExpFlags$1(e))},{unsafe:!0});const SHARED_TEXT={resetPasswordTitle:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.title",defaultMessage:"New password required",description:"Title of the reset password widget"}),inviteResetPasswordTitle:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.inviteTitle",defaultMessage:"Please create a password for your aiWARE account.",description:"Title of the reset password widget when resulting from an invite"}),resetPasswordSubHeader:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.subHeader",defaultMessage:"A strong password contains a mix of numbers, letters and symbols. It is hard to guess, does not resemble a real word and is only used for this account.",description:"Description of the reset password widget"}),passwordRequirements:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordRequirements",defaultMessage:"Password requirements",description:"Heading of password requirements"}),resetPasswordSubmitButton:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.submitButton",defaultMessage:"Change Password",description:"Text of submit button for reset password"}),inviteResetPasswordSubmitButton:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.inviteSubmitButton",defaultMessage:"Set Password",description:"Text of submit button for reset password when resulting from an invite"}),createAccountButton:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.sign-up-password.createAccountButton",defaultMessage:"Create Account",description:"Text of create account button for sign up password"}),lengthCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.lengthCheck",defaultMessage:"8 Character minimum",description:"The error message for the lengthCheck."}),pastPasswordCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.pastPasswordCheck",defaultMessage:"Not identical to last 10 passwords",description:"The error message for the pastPasswordCheck."}),userNameCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.userNameCheck",defaultMessage:"Not the same as account email",description:"The error message for the userNameCheck."}),dictionaryCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.dictionaryCheck",defaultMessage:"No dictionary passwords",description:"The error message for the dictionaryCheck."}),passwordsNotMatching:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordsNotMatching",defaultMessage:"Passwords not matching",description:"The error message for the passwords not matching."}),invalidTokenOrUsername:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.invalidTokenOrUsername",defaultMessage:"Error! Missing token or username.",description:"The error message for the missing token or username."}),passwordComplexityCheckSymbols:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordComplexityCheckSymbols",defaultMessage:"Requires 1 lowercase, 1 uppercase, 1 number, and 1 symbol.",description:"The error message for the check symbols error."}),passwordComplexityCheckDays:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordComplexityCheckDays",defaultMessage:"Cannot be changed twice within 10 days.",description:"The error message for the days error."})};var baseUrl$1="https://api.dev.us-1.veritone.com/v3/graphql",hubUrl$1="https://hub.dev.aiware.com/hub/v1",stripePublishableKey$1="pk_test_51No7B2IyHt9R0gSl5J4qqbZvRVLokabSDFw36G58tO1oxXO4mJzXmV0FvszOAfJcb25d5HgqZSlFIyMbL9bTFTb700vr9Fvgb9",stripePricingPlanId$1="prctbl_1No7MMIyHt9R0gSlZV4mqouD",sentryDSN$1="https://fddcba0905af4851ac01fa9f031df814@o57583.ingest.sentry.io/4505172433043456",showEnvironmentSelector$1=!0,switchAppUrl$1="https://api.dev.us-1.veritone.com/v1/admin/switch-app",signupUrl$1="https://local.veritone.com:4201/ui/auth/sign-up",instanceUrls$2=[{aiwareInstanceName:"aiWARE US",coreAdminApiUrl:"https://api.dev.us-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.dev.us-1.veritone.com/v3/graphql"},{aiwareInstanceName:"aiWARE Kernel",coreAdminApiUrl:"https://data.5f8728.aiware.run:8443/api/admin",coreGraphqlApiUrl:"https://data.5f8728.aiware.run:8443/v3/graphql"}],devConfigs={baseUrl:baseUrl$1,hubUrl:hubUrl$1,stripePublishableKey:stripePublishableKey$1,stripePricingPlanId:stripePricingPlanId$1,sentryDSN:sentryDSN$1,showEnvironmentSelector:showEnvironmentSelector$1,switchAppUrl:switchAppUrl$1,signupUrl:signupUrl$1,instanceUrls:instanceUrls$2},baseUrl="https://api.us-1.veritone.com/v3/graphql",hubUrl="https://hub.aiware.com/hub/v1",stripePublishableKey="pk_live_51NNcicInolL392yPxizaLizsnPFeNfU1QgFBOG7bB44OLhLcQDc7CyH8hlyweN6VDDLr2lB9lLyiUh1KGBaSEjPS00uSQ1sFFP",stripePricingPlanId="prctbl_1Nj36dInolL392yPggkeo88e",sentryDSN="https://fddcba0905af4851ac01fa9f031df814@o57583.ingest.sentry.io/4505172433043456",showEnvironmentSelector=!0,switchAppUrl="https://api.us-1.veritone.com/v1/admin/switch-app",signupUrl="",instanceUrls$1=[{aiwareInstanceName:"aiWARE US",coreAdminApiUrl:"https://api.us-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.us-1.veritone.com/v3/graphql"},{aiwareInstanceName:"aiWARE UK",coreAdminApiUrl:"https://api.uk-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.uk-1.veritone.com/v3/graphql"},{aiwareInstanceName:"aiWARE CA",coreAdminApiUrl:"https://api.ca-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.ca-1.veritone.com/v3/graphql"}],prodConfigs={baseUrl:baseUrl,hubUrl:hubUrl,stripePublishableKey:stripePublishableKey,stripePricingPlanId:stripePricingPlanId,sentryDSN:sentryDSN,showEnvironmentSelector:showEnvironmentSelector,switchAppUrl:switchAppUrl,signupUrl:signupUrl,instanceUrls:instanceUrls$1};function getConfig(){var e;return"development"===process.env.NODE_ENV?devConfigs:(e=window.aiwareConfig)?JSON.parse(JSON.stringify(e)):prodConfigs}function getRestApiUrlFromConfig(){return getConfig().baseUrl.replace("/v3/graphql","")}function parseToken(e=""){try{var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(r)}catch(e){return console.log(e),null}}const envChecker=t=>window.location.href.split("://")[1].split(".").find(e=>e===t),envDetector=()=>{return envChecker("local")||envChecker("dev")||window.location.href.includes("localhost")?"dev":envChecker("stage")?"stage":"prod"},getCookie=t=>{var r=document.cookie.split("; ");for(let e=0;e<r.length;e++){var n=r[e].split("=");if(t===decodeURIComponent(n[0]))return decodeURIComponent(n[1])}return null},setCookie=(e,t,r)=>{var n=new Date,r=(n.setTime(n.getTime()+24*r*60*60*1e3),"expires="+n.toUTCString());document.cookie=`${e}=${encodeURIComponent(t)}; ${r}; path=/`},Header=({text:e,subText:t,type:r,sx:n={}})=>jsxRuntime.exports.jsxs(Box,Object.assign({sx:{marginBottom:"30px",textAlign:"center"}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({sx:Object.assign({fontFamily:"Nunito",fontSize:"22px",lineHeight:"28px",letterSpacing:"-1.30385e-09px",color:"#2A323C"},n),"data-testid":"os-auth-header-text-"+r},{children:e})),t&&jsxRuntime.exports.jsx(Typography,Object.assign({sx:{fontFamily:"Nunito",fontSize:"16px",lineHeight:"22px",textAlign:"center",letterSpacing:"-1.30385e-09px",color:"#5C6269",width:"368px"},"data-testid":"os-auth-subheader-text-"+r},{children:t}))]})),useStyles$7=makeStyles()(e=>({title:{textTransform:"initial",fontSize:22,marginBottom:e.spacing(4)},subHeader:{color:"#9CA8B4"},h6:{color:"#27292B"},requirements:{listStyle:"disc",padding:0,marginLeft:e.spacing(5),"& li":{marginBottom:e.spacing(1),color:"#27292B",fontSize:14,fontWeight:400,"&.requirementError":{color:"#D50000"}}},submitButton:{height:55,background:"#214167",fontSize:18,width:"100%",maxWidth:380,textTransform:"uppercase"},text:{fontFamily:"Nunito",fontWeight:400,fontSize:"22px",lineHeight:"18px",letterSpacing:"-1.30385e-09px",color:"#2A323C"},subText:{fontFamily:"'Nunito Sans'",fontWeight:400,fontSize:"16px",lineHeight:"22px",textAlign:"center",letterSpacing:"-1.30385e-09px",color:"#5C6269"}}));var IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,iterators={},fails$6=fails$n,correctPrototypeGetter=!fails$n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$6=hasOwnProperty_1,isCallable$b=isCallable$p,toObject$1=toObject$5,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(e){var t,e=toObject$1(e);return hasOwn$6(e,IE_PROTO)?e[IE_PROTO]:(t=e.constructor,isCallable$b(t)&&e instanceof t?t.prototype:e instanceof $Object?ObjectPrototype:null)},fails$5=fails$n,isCallable$a=isCallable$p,isObject$4=isObject$b,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$7=defineBuiltIn$b,wellKnownSymbol$c=wellKnownSymbol$l,ITERATOR$7=wellKnownSymbol$l("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,NEW_ITERATOR_PROTOTYPE=([].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$1(getPrototypeOf$1(arrayIterator)))!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0),!isObject$4(IteratorPrototype$2)||fails$5(function(){var e={};return IteratorPrototype$2[ITERATOR$7].call(e)!==e})),iteratorsCore=(isCallable$a((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$7])||defineBuiltIn$7(IteratorPrototype$2,ITERATOR$7,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$3=objectDefineProperty.f,hasOwn$5=hasOwnProperty_1,wellKnownSymbol$b=wellKnownSymbol$l,TO_STRING_TAG$1=wellKnownSymbol$l("toStringTag"),setToStringTag$5=function(e,t,r){(e=e&&!r?e.prototype:e)&&!hasOwn$5(e,TO_STRING_TAG$1)&&defineProperty$3(e,TO_STRING_TAG$1,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create$1=objectCreate,createPropertyDescriptor$2=createPropertyDescriptor$5,setToStringTag$4=setToStringTag$5,Iterators$4=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,r,n){t+=" Iterator";return e.prototype=create$1(IteratorPrototype$1,{next:createPropertyDescriptor$2(+!n,r)}),setToStringTag$4(e,t,!1),Iterators$4[t]=returnThis$1,e},uncurryThis$9=functionUncurryThis,aCallable$6=aCallable$8,functionUncurryThisAccessor=function(e,t,r){try{return uncurryThis$9(aCallable$6(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},isCallable$9=isCallable$p,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$9(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$9=anObject$i,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),n=e instanceof Array}catch(e){}return function(e,t){return anObject$9(e),aPossiblePrototype(t),n?r(e,t):e.__proto__=t,e}}():void 0),$$a=_export,call$b=functionCall,FunctionName=functionName,isCallable$8=isCallable$p,createIteratorConstructor$1=iteratorCreateConstructor,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf$2=objectSetPrototypeOf,setToStringTag$3=setToStringTag$5,createNonEnumerableProperty$2=createNonEnumerableProperty$6,defineBuiltIn$6=defineBuiltIn$b,wellKnownSymbol$a=wellKnownSymbol$l,Iterators$3=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME$1=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$6=wellKnownSymbol$a("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,i,a){createIteratorConstructor$1(r,t,n);function s(e){if(e===o&&g)return g;if(!BUGGY_SAFARI_ITERATORS&&e in p)return p[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}}var l,c,n=t+" Iterator",u=!1,p=e.prototype,d=p[ITERATOR$6]||p["@@iterator"]||o&&p[o],g=!BUGGY_SAFARI_ITERATORS&&d||s(o),$="Array"==t&&p.entries||d;if($&&($=getPrototypeOf($.call(new e)))!==Object.prototype&&$.next&&(getPrototypeOf($)!==IteratorPrototype&&(setPrototypeOf$2?setPrototypeOf$2($,IteratorPrototype):isCallable$8($[ITERATOR$6])||defineBuiltIn$6($,ITERATOR$6,returnThis)),setToStringTag$3($,n,!0)),PROPER_FUNCTION_NAME$1&&o==VALUES&&d&&d.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$2(p,"name",VALUES):(u=!0,g=function(){return call$b(d,this)})),o)if(l={values:s(VALUES),keys:i?g:s(KEYS),entries:s(ENTRIES)},a)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in p||defineBuiltIn$6(p,c,l[c]);else $$a({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return p[ITERATOR$6]!==g&&defineBuiltIn$6(p,ITERATOR$6,g,{name:o}),Iterators$3[t]=g,l},createIterResultObject$2=function(e,t){return{value:e,done:t}},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$2,Iterators$2=iterators,InternalStateModule$4=internalState,defineProperty$2=objectDefineProperty.f,defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$2,DESCRIPTORS$6=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState$4=InternalStateModule$4.set,getInternalState$1=InternalStateModule$4.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator$1(Array,"Array",function(e,t){setInternalState$4(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState$1(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,createIterResultObject$1(void 0,!0)):createIterResultObject$1("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)},"values"),values=Iterators$2.Arguments=Iterators$2.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS$6&&"values"!==values.name)try{defineProperty$2(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},documentCreateElement=documentCreateElement$2,classList=documentCreateElement$2("span").classList,DOMTokenListPrototype$1=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype$1===Object.prototype?void 0:DOMTokenListPrototype$1,global$a=global$n,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty$1=createNonEnumerableProperty$6,wellKnownSymbol$9=wellKnownSymbol$l,ITERATOR$5=wellKnownSymbol$9("iterator"),TO_STRING_TAG=wellKnownSymbol$9("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR$5]!==ArrayValues)try{createNonEnumerableProperty$1(t,ITERATOR$5,ArrayValues)}catch(e){t[ITERATOR$5]=ArrayValues}if(t[TO_STRING_TAG]||createNonEnumerableProperty$1(t,TO_STRING_TAG,e),DOMIterables[e])for(var r in ArrayIteratorMethods)if(t[r]!==ArrayIteratorMethods[r])try{createNonEnumerableProperty$1(t,r,ArrayIteratorMethods[r])}catch(e){t[r]=ArrayIteratorMethods[r]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$a[COLLECTION_NAME]&&global$a[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");const useStyles$6=makeStyles()((e,{error:t,passwordRequirementsMet:r})=>{let n="auto";return t?n="red":r||(n="rgba(0, 0, 0, 0.26)"),{passwordLabel:{background:"white",padding:"0 3px"},passwordFormMarginTop:{marginTop:"20px"},passwordInput:{width:"368px",maxWidth:"85vw"},confirmPasswordLabel:{color:n,"&.Sdk-Mui-focused":{color:n}}}}),usePasswordRequirementStyles=makeStyles()(()=>({container:{width:"368px",maxWidth:"85vw",display:"flex",alignItems:"center",justifyContent:"center"},barContainer:{display:"flex",width:"100%",justifyContent:"space-between",padding:"15px 0px"},bar:{width:"23%",height:"4px",borderRadius:"20px"},metRequirement:{color:"#9CA8B4",textDecorationLine:"line-through"},unmetRequirement:{color:"#5C6269"},requirement:{display:"flex",alignItems:"center"},bullet:{transform:"translateY(8px)",marginLeft:"5px"},checkMark:{fill:"#0E6EEC",marginRight:"8px",marginLeft:"-3px"}})),BlueButton=({onClick:e,text:t,type:r,loading:n,disableButton:o,sx:i={},ref:a,className:s,instanceLoginConfigs:l})=>jsxRuntime.exports.jsx(LoadingButton,Object.assign({color:"primary",variant:"contained",onClick:e,loading:n,ref:a,sx:Object.assign({textTransform:"none",fontSize:"18px",lineHeight:"24px",fontFamily:"Nunito",fontWeight:600,width:"100%",height:"56px",background:`${(null==l?void 0:l.buttonColor)||"#2C78D4"}!important`,backgroundColor:`${(null==l?void 0:l.buttonColor)||"#2C78D4"}!important`,color:`${null==l?void 0:l.buttonTextColor}!important`,"&.MuiButton-root:not(:disabled):not(:hover), .Sdk-MuiButton-root:not(:disabled):not(:hover)":{background:`${null==l?void 0:l.buttonColor}!important`,backgroundColor:`${null==l?void 0:l.buttonColor}!important`,color:`${null==l?void 0:l.buttonTextColor}!important`},border:"1px solid "+(null==l?void 0:l.buttonColor)},i),className:s||void 0,"data-testid":`os-auth--${r}-btn`,disabled:o},{children:t}));var isCallable$7=isCallable$p,isObject$3=isObject$b,setPrototypeOf$1=objectSetPrototypeOf,inheritIfRequired$1=function(e,t,r){return setPrototypeOf$1&&isCallable$7(t=t.constructor)&&t!==r&&isObject$3(t=t.prototype)&&t!==r.prototype&&setPrototypeOf$1(e,t),e},defineProperty$1=objectDefineProperty.f,proxyAccessor$1=function(e,t,r){r in e||defineProperty$1(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})},makeBuiltIn=makeBuiltIn$3.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$4=function(e,t,r){return r.get&&makeBuiltIn(r.get,t,{getter:!0}),r.set&&makeBuiltIn(r.set,t,{setter:!0}),defineProperty.f(e,t,r)},getBuiltIn$3=getBuiltIn$7,defineBuiltInAccessor$3=defineBuiltInAccessor$4,wellKnownSymbol$8=wellKnownSymbol$l,DESCRIPTORS$5=descriptors,SPECIES$2=wellKnownSymbol$l("species"),setSpecies$2=function(e){e=getBuiltIn$3(e);DESCRIPTORS$5&&e&&!e[SPECIES$2]&&defineBuiltInAccessor$3(e,SPECIES$2,{configurable:!0,get:function(){return this}})},DESCRIPTORS$4=descriptors,global$9=global$n,uncurryThis$8=functionUncurryThis,isForced$1=isForced_1,inheritIfRequired=inheritIfRequired$1,createNonEnumerableProperty=createNonEnumerableProperty$6,getOwnPropertyNames=objectGetOwnPropertyNames.f,isPrototypeOf$3=objectIsPrototypeOf,isRegExp=isRegexp,toString$5=toString$a,getRegExpFlags=regexpGetFlags,stickyHelpers=regexpStickyHelpers,proxyAccessor=proxyAccessor$1,defineBuiltIn$5=defineBuiltIn$b,fails$4=fails$n,hasOwn$4=hasOwnProperty_1,enforceInternalState=internalState.enforce,setSpecies$1=setSpecies$2,wellKnownSymbol$7=wellKnownSymbol$l,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,MATCH=wellKnownSymbol$l("match"),NativeRegExp=global$9.RegExp,RegExpPrototype=NativeRegExp.prototype,SyntaxError=global$9.SyntaxError,exec$3=uncurryThis$8(RegExpPrototype.exec),charAt$3=uncurryThis$8("".charAt),replace$5=uncurryThis$8("".replace),stringIndexOf=uncurryThis$8("".indexOf),stringSlice$3=uncurryThis$8("".slice),IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=stickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS$4&&(!CORRECT_NEW||MISSED_STICKY||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails$4(function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})),handleDotAll=function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"===(t=charAt$3(e,n))?o+=t+charAt$3(e,++n):i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]";return o},handleNCG=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,l=!1,c=0,u="";n<=r;n++){if("\\"===(t=charAt$3(e,n)))t+=charAt$3(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:exec$3(IS_NCG,stringSlice$3(e,n+1))&&(n+=2,l=!0),o+=t,c++;continue;case">"===t&&l:if(""===u||hasOwn$4(a,u))throw new SyntaxError("Invalid capture group name");a[u]=!0,l=!(i[i.length]=[u,c]),u="";continue}l?u+=t:o+=t}return[o,i]};if(isForced$1("RegExp",BASE_FORCED)){for(var RegExpWrapper=function(e,t){var r,n,o=isPrototypeOf$3(RegExpPrototype,this),i=isRegExp(e),a=void 0===t,s=[],l=e;if(!o&&i&&a&&e.constructor===RegExpWrapper)return e;if((i||isPrototypeOf$3(RegExpPrototype,e))&&(e=e.source,a)&&(t=getRegExpFlags(l)),e=void 0===e?"":toString$5(e),t=void 0===t?"":toString$5(t),l=e,i=t=UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(r=!!t&&-1<stringIndexOf(t,"s"))?replace$5(t,/s/g,""):t,MISSED_STICKY&&"sticky"in re1&&(n=!!t&&-1<stringIndexOf(t,"y"))&&UNSUPPORTED_Y&&(t=replace$5(t,/y/g,"")),UNSUPPORTED_NCG&&(e=(a=handleNCG(e))[0],s=a[1]),a=inheritIfRequired(NativeRegExp(e,t),o?this:RegExpPrototype,RegExpWrapper),(r||n||s.length)&&(t=enforceInternalState(a),r&&(t.dotAll=!0,t.raw=RegExpWrapper(handleDotAll(e),i)),n&&(t.sticky=!0),s.length)&&(t.groups=s),e!==l)try{createNonEnumerableProperty(a,"source",""===l?"(?:)":l)}catch(e){}return a},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxyAccessor(RegExpWrapper,NativeRegExp,keys[index++]);(RegExpPrototype.constructor=RegExpWrapper).prototype=RegExpPrototype,defineBuiltIn$5(global$9,"RegExp",RegExpWrapper,{constructor:!0})}setSpecies$1("RegExp");const PasswordRequirements=({password:r,setPasswordRequirementsMet:n})=>{var e=window.innerWidth<=850;const o=usePasswordRequirementStyles()["classes"];const i=[{id:"upperLower",label:"Upper & lower case letters",regex:new RegExp("(?=.*[a-z])(?=.*[A-Z])","g"),met:!1},{id:"length",label:"At least 8 characters",regex:new RegExp(".{8}$"),met:!1},{id:"specialCharacter",label:"A symbol (#$&!)",regex:new RegExp("[^a-zA-Z0-9]"),met:!1}],[a,s]=react.exports.useState(i),l={0:"#FF5722",1:"#FFC107",2:"#00BCD4",3:"#4CAF50"};return react.exports.useEffect(()=>{var e=[...i];for(const t of e)t.regex.test(r)&&(t.met=!0);e.find(e=>!e.met)?n(!1):n(!0),s(e)},[r]),jsxRuntime.exports.jsx(Box$1,Object.assign({className:o.container,"data-testid":"sign-up.password-requirements.pop-up"},{children:jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{boxSizing:"border-box",padding:"15px 20px",width:"100%",marginTop:"10px",marginBottom:"10px",borderRadius:"5px",marginRight:e?void 0:"15px",boxShadow:"0px 2px 10px 0px rgba(0, 0, 0, 0.20)",backgroundColor:"rgb(255, 255,255)","&::before":e?{}:{backgroundColor:"white",content:'""',display:"block",position:"absolute",width:12,height:12,top:"calc(50% - 6px)",transform:"rotate(45deg)",left:"calc(100% - 20px)"}}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1","data-testid":"sign-up.password-requirements.pop-up.message"},{children:r?{0:"Weak Password",1:"Average Password",2:"Good Password",3:"Strong Password 💪"}[a.filter(e=>e.met).length]:"Please set a strong password"})),jsxRuntime.exports.jsx(Box$1,Object.assign({className:o.barContainer},{children:Array.from(Array(4).keys()).map(e=>{var t=a.filter(e=>e.met).length;return jsxRuntime.exports.jsx(Box$1,{className:o.bar,sx:{background:e<=t&&r?l[t]:"#9CA8B4"}},e)})})),jsxRuntime.exports.jsx(Stack,Object.assign({sx:{gap:e?void 0:"13px"}},{children:a.map(e=>jsxRuntime.exports.jsxs(Box$1,Object.assign({className:classNames(o.requirement,e.met?o.metRequirement:o.unmetRequirement)},{children:[e.met?jsxRuntime.exports.jsx(CheckmarkFilled,{className:o.checkMark}):jsxRuntime.exports.jsx(Bullet,{className:o.bullet}),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2"},{children:e.label}))]}),e.id))}))]}))}))};var call$a=functionCall,fixRegExpWellKnownSymbolLogic$1=fixRegexpWellKnownSymbolLogic,anObject$8=anObject$i,isNullOrUndefined$3=isNullOrUndefined$7,toLength=toLength$3,toString$4=toString$a,requireObjectCoercible$2=requireObjectCoercible$8,getMethod$3=getMethod$6,advanceStringIndex=advanceStringIndex$2,regExpExec$1=regexpExecAbstract;fixRegexpWellKnownSymbolLogic("match",function(n,s,l){return[function(e){var t=requireObjectCoercible$2(this),r=isNullOrUndefined$3(e)?void 0:getMethod$3(e,n);return r?call$a(r,e,t):new RegExp(e)[n](toString$4(t))},function(e){var t=anObject$8(this),r=toString$4(e),e=l(s,t,r);if(e.done)return e.value;if(!t.global)return regExpExec$1(t,r);for(var n=t.unicode,o=[],i=t.lastIndex=0;null!==(a=regExpExec$1(t,r));){var a=toString$4(a[0]);""===(o[i]=a)&&(t.lastIndex=advanceStringIndex(r,toLength(t.lastIndex),n)),i++}return 0===i?null:o}]});const SLICE_NAME="signUp",namespace="initStep",initialState={env:"",status:"idle",activeStep:1,1:{email:"",firstName:"",lastName:""},2:{orgName:"",teamSize:"",country:"",industry:""},errors:{1:{email:!1,firstName:!1,lastName:!1},2:{orgName:!1,country:!1}},userUUID:"",userEmail:"",organizationUUID:""};function isKeyOfObject(e,t){return e in t}function validateEmail$1(e){return e.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)}const signUpSlice=createSlice({name:SLICE_NAME+"/"+namespace,initialState:initialState,reducers:{setStep(e,t){e.activeStep=t.payload},setValue(e,t){var{key:t,value:r}=t.payload;isKeyOfObject(t,e[e.activeStep])&&(e[e.activeStep][t]=r,isKeyOfObject(t,e.errors[e.activeStep]))&&(e.errors[e.activeStep][t]=!1)},validate(e){for(var[t,r]of Object.entries(e[e.activeStep]))isKeyOfObject(t,e.errors[e.activeStep])&&!r&&(e.errors[e.activeStep][t]=!0);1!==e.activeStep||validateEmail$1(e[1].email)||(e.errors[1].email=!0)},createUserStart(e){e.status="loading"},createUserSuccess(e){e.status="success"},createUserFailure(e){e.status="failure"},setEnv(e,t){t=t.payload;e.env=`https://hub${"prod"===t?"":"."+t}.aiware.com`},resetState:()=>initialState,activateUserStart(e,t){e.status="loading"},activateUserSuccess(e){e.status="success"},activateUserFailure(e){e.status="failure"}}}),actions=signUpSlice.actions;var signUpSlice$1=signUpSlice.reducer,whitespaces$2="\t\n\v\f\r \u2028\u2029\ufeff",uncurryThis$7=functionUncurryThis,requireObjectCoercible$1=requireObjectCoercible$8,toString$3=toString$a,whitespaces$1=whitespaces$2,replace$4=functionUncurryThis("".replace),ltrim=RegExp("^["+whitespaces$1+"]+"),rtrim=RegExp("(^|[^"+whitespaces$1+"])["+whitespaces$1+"]+$"),createMethod=function(t){return function(e){e=toString$3(requireObjectCoercible$1(e));return 1&t&&(e=replace$4(e,ltrim,"")),e=2&t?replace$4(e,rtrim,"$1"):e}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},PROPER_FUNCTION_NAME=functionName.PROPER,fails$3=fails$n,whitespaces=whitespaces$2,non="
",stringTrimForced=function(e){return fails$3(function(){return!!whitespaces[e]()||non[e]()!==non||PROPER_FUNCTION_NAME&&whitespaces[e].name!==e})},$$9=_export,$trim=stringTrim.trim,forcedStringTrimMethod=stringTrimForced;$$9({target:"String",proto:!0,forced:stringTrimForced("trim")},{trim:function(){return $trim(this)}});const selectStatus=e=>{return null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e.status},selectActiveStep=e=>{return null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e.activeStep},selectFormValues=e=>{var t;return null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t[null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t.activeStep]},selectErrors=e=>{var t;return null==(t=null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t.errors)?void 0:t[null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t.activeStep]},selectCreateUserPayload=e=>{var{1:{email:e,firstName:t,lastName:r},2:{orgName:n,teamSize:o,country:i,industry:a}}=(null==e?void 0:e[SLICE_NAME])||{1:{},2:{}};return{userFirstName:t.trim(),userLastName:r.trim(),userEmail:e,userPhoneNumber:"",userOccupation:"",userCompany:"",organizationName:n.trim(),salesforceAttributes:JSON.stringify({teamSize:o,country:i,industry:a})}};var $location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,classof$3=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classofRaw$2(process),isPrototypeOf$2=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$3=function(e,t){if(isPrototypeOf$2(t,e))return e;throw $TypeError$5("Incorrect invocation")},uncurryThis$6=functionUncurryThis,fails$2=fails$n,isCallable$6=isCallable$p,classof$2=classof$6,getBuiltIn$2=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$2=uncurryThis$6(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$6(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$6(e))return!1;switch(classof$2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$2(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$2=(isConstructorLegacy.sham=!0,!construct||fails$2(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor$1=isConstructor$2,tryToString$2=tryToString$4,$TypeError$4=TypeError,aConstructor$1=function(e){if(isConstructor$1(e))return e;throw $TypeError$4(tryToString$2(e)+" is not a constructor")},anObject$7=anObject$i,aConstructor=aConstructor$1,isNullOrUndefined$2=isNullOrUndefined$7,wellKnownSymbol$6=wellKnownSymbol$l,SPECIES$1=wellKnownSymbol$l("species"),speciesConstructor$1=function(e,t){var e=anObject$7(e).constructor;return void 0===e||isNullOrUndefined$2(e=anObject$7(e)[SPECIES$1])?t:aConstructor(e)},uncurryThis$5=functionUncurryThisClause,aCallable$5=aCallable$8,NATIVE_BIND=functionBindNative,bind$7=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$5(e),void 0===t?e:NATIVE_BIND?bind$7(e,t):function(){return e.apply(t,arguments)}},uncurryThis$4=functionUncurryThis,arraySlice$3=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength$3=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$8=global$n,apply=functionApply,bind$6=functionBindContext,isCallable$5=isCallable$p,hasOwn$3=hasOwnProperty_1,fails$1=fails$n,html=html$2,arraySlice$2=arraySlice$3,createElement=documentCreateElement$2,validateArgumentsLength$2=validateArgumentsLength$3,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$8.setImmediate,clear=global$8.clearImmediate,process$3=global$8.process,Dispatch=global$8.Dispatch,Function$1=global$8.Function,MessageChannel=global$8.MessageChannel,String$1=global$8.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails$1(function(){$location=global$8.location}),function(e){var t;hasOwn$3(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$8.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength$2(arguments.length,1);var t=isCallable$5(e)?e:Function$1(e),r=arraySlice$2(arguments,1);return queue$2[++counter]=function(){apply(t,void 0,r)},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$6(port.postMessage,port)):global$8.addEventListener&&isCallable$5(global$8.postMessage)&&!global$8.importScripts&&$location&&"file:"!==$location.protocol&&!fails$1(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$8.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$7=global$n,bind$5=functionBindContext,getOwnPropertyDescriptor$1=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$7.MutationObserver||global$7.WebKitMutationObserver,document$2=global$7.document,process$2=global$7.process,Promise$1=global$7.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$1(global$7,"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$5(promise.then,promise),function(){then(flush)}):IS_NODE$2?function(){process$2.nextTick(flush)}:(macrotask=bind$5(macrotask,global$7),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$6=global$n,promiseNativeConstructor=global$n.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$5=global$n,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$4=isCallable$p,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$5=wellKnownSymbol$l,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES=(NativePromiseConstructor$3&&NativePromiseConstructor$3.prototype,wellKnownSymbol$5("species")),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$4(global$5.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 r(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES]=r,!(SUBCLASSING=e.then(function(){})instanceof r))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 r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw $TypeError$2("Bad Promise constructor");r=e,n=t}),this.resolve=aCallable$4(r),this.reject=aCallable$4(n)},$$8=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE=engineIsNode,global$4=global$n,call$9=functionCall,defineBuiltIn$4=defineBuiltIn$b,setPrototypeOf=objectSetPrototypeOf,setToStringTag$2=setToStringTag$5,setSpecies=setSpecies$2,aCallable$3=aCallable$8,isCallable$3=isCallable$p,isObject$2=isObject$b,anInstance$2=anInstance$3,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule$3=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$3.getterFor(PROMISE),setInternalState$3=InternalStateModule$3.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$3=global$4.TypeError,document$1=global$4.document,process$1=global$4.process,newPromiseCapability$1=newPromiseCapabilityModule$3.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$4.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$2(e)||!isCallable$3(t=e.then))&&t},callReaction=function(e,t){var r,n,o,i=t.value,a=t.state==FULFILLED,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?r=i:(u&&u.enter(),r=s(i),u&&(u.exit(),o=!0)),r===e.promise?c(TypeError$3("Promise-chain cycle")):(n=isThenable(r))?call$9(n,r,l,c):l(r)):c(i)}catch(e){u&&!o&&u.exit(),c(e)}},notify=function(r,n){r.notified||(r.notified=!0,microtask(function(){for(var e,t=r.reactions;e=t.get();)callReaction(e,r);r.notified=!1,n&&!r.rejection&&onUnhandled(r)}))},dispatchEvent=function(e,t,r){var n;DISPATCH_EVENT?((n=document$1.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),global$4.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$4["on"+e])?t(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(n){call$9(task,global$4,function(){var e=n.facade,t=n.value,r=isUnhandled(n);if(r&&(r=perform$2(function(){IS_NODE?process$1.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),n.rejection=IS_NODE||isUnhandled(n)?UNHANDLED:HANDLED,r.error))throw r.value})},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(t){call$9(task,global$4,function(){var e=t.facade;IS_NODE?process$1.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$4=function(t,r,n){return function(e){t(r,e,n)}},internalReject=function(e,t,r){e.done||(e.done=!0,(e=r?r:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(r,e,t){if(!r.done){r.done=!0,t&&(r=t);try{if(r.facade===e)throw TypeError$3("Promise can't be resolved itself");var n=isThenable(e);n?microtask(function(){var t={done:!1};try{call$9(n,e,bind$4(internalResolve,t,r),bind$4(internalReject,t,r))}catch(e){internalReject(t,e,r)}}):(r.value=e,r.state=FULFILLED,notify(r,!1))}catch(e){internalReject({done:!1},e,r)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance$2(this,PromisePrototype),aCallable$3(e),call$9(Internal,this);var t=getInternalPromiseState(this);try{e(bind$4(internalResolve,t),bind$4(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState$3(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$4(PromisePrototype,"then",function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return r.parent=!0,n.ok=!isCallable$3(e)||e,n.fail=isCallable$3(t)&&t,n.domain=IS_NODE?process$1.domain:void 0,r.state==PENDING?r.reactions.add(n):microtask(function(){callReaction(n,r)}),n.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$4(internalResolve,t),this.reject=bind$4(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$3(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$4(NativePromisePrototype$1,"then",function(e,t){var r=this;return new PromiseConstructor(function(e,t){call$9(nativeThen,r,e,t)}).then(e,t)},{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype$1,PromisePrototype)}$$8({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag$2(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var wellKnownSymbol$4=wellKnownSymbol$l,Iterators$1=iterators,ITERATOR$4=wellKnownSymbol$l("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$2=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$4]===e)},classof$1=classof$6,getMethod$2=getMethod$6,isNullOrUndefined$1=isNullOrUndefined$7,Iterators=iterators,wellKnownSymbol$3=wellKnownSymbol$l,ITERATOR$3=wellKnownSymbol$l("iterator"),getIteratorMethod$4=function(e){if(!isNullOrUndefined$1(e))return getMethod$2(e,ITERATOR$3)||getMethod$2(e,"@@iterator")||Iterators[classof$1(e)]},call$8=functionCall,aCallable$2=aCallable$8,anObject$6=anObject$i,tryToString$1=tryToString$4,getIteratorMethod$3=getIteratorMethod$4,$TypeError$1=TypeError,getIterator$3=function(e,t){var r=arguments.length<2?getIteratorMethod$3(e):t;if(aCallable$2(r))return anObject$6(call$8(r,e));throw $TypeError$1(tryToString$1(e)+" is not iterable")},call$7=functionCall,anObject$5=anObject$i,getMethod$1=getMethod$6,iteratorClose$2=function(e,t,r){var n,o;anObject$5(e);try{if(!(n=getMethod$1(e,"return"))){if("throw"===t)throw r;return r}n=call$7(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$5(n),r},bind$3=functionBindContext,call$6=functionCall,anObject$4=anObject$i,tryToString=tryToString$4,isArrayIteratorMethod$1=isArrayIteratorMethod$2,lengthOfArrayLike$2=lengthOfArrayLike$4,isPrototypeOf$1=objectIsPrototypeOf,getIterator$2=getIterator$3,getIteratorMethod$2=getIteratorMethod$4,iteratorClose$1=iteratorClose$2,$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,r){function n(e){return i&&iteratorClose$1(i,"normal",e),new Result(!0,e)}function o(e){return d?(anObject$4(e),h?m(e[0],e[1],n):m(e[0],e[1])):h?m(e,n):m(e)}var i,a,s,l,c,u,p=r&&r.that,d=!(!r||!r.AS_ENTRIES),g=!(!r||!r.IS_RECORD),$=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),m=bind$3(t,p);if(g)i=e.iterator;else if($)i=e;else{if(!(r=getIteratorMethod$2(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod$1(r)){for(a=0,s=lengthOfArrayLike$2(e);a<s;a++)if((l=o(e[a]))&&isPrototypeOf$1(ResultPrototype,l))return l;return new Result(!1)}i=getIterator$2(e,r)}for(c=(g?e:i).next;!(u=call$6(c,i)).done;){try{l=o(u.value)}catch(e){iteratorClose$1(i,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf$1(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol$2=wellKnownSymbol$l,ITERATOR$2=wellKnownSymbol$l("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$2]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$2]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},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(){})}),$$7=_export,call$5=functionCall,aCallable$1=aCallable$8,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$1=perform$3,iterate$1=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration,$$6=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var s=this,t=newPromiseCapabilityModule$2.f(s),l=t.resolve,c=t.reject,r=perform$1(function(){var n=aCallable$1(s.resolve),o=[],i=0,a=1;iterate$1(e,function(e){var t=i++,r=!1;a++,call$5(n,s,e).then(function(e){r||(r=!0,o[t]=e,--a)||l(o)},c)}),--a||l(o)});return r.error&&c(r.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable$2=isCallable$p,defineBuiltIn$3=defineBuiltIn$b,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,$$5=($$6({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable$2(NativePromiseConstructor)&&(method=getBuiltIn$1("Promise").prototype.catch,NativePromisePrototype.catch!==method)&&defineBuiltIn$3(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$4=functionCall,aCallable=aCallable$8,newPromiseCapabilityModule$1=newPromiseCapability$2,perform=perform$3,iterate=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,$$4=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var r=this,n=newPromiseCapabilityModule$1.f(r),o=n.reject,t=perform(function(){var t=aCallable(r.resolve);iterate(e,function(e){call$4(t,r,e).then(n.resolve,o)})});return t.error&&o(t.value),n.promise}}),_export),call$3=functionCall,newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject$3=($$4({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return call$3(t.reject,void 0,e),t.promise}}),anObject$i),isObject$1=isObject$b,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject$3(e),isObject$1(t)&&t.constructor===e?t:((0,(e=newPromiseCapability.f(e)).resolve)(t),e.promise)},$$3=_export,getBuiltIn=getBuiltIn$7,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve=promiseResolve$1;function __awaiter(e,a,s,l){return new(s=s||Promise)(function(r,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((l=l.apply(e,a||[])).next())})}getBuiltIn("Promise"),$$3({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});const getGlobalProviders=()=>__awaiter(void 0,void 0,void 0,function*(){let t=[];try{var e=yield fetch(getRestApiUrlFromConfig()+"/api/admin/openid");t=200===e.status?(yield e.json()).results:(window.DEBUG&&console.error("was not able to retrieve global open id providers",e),[])}catch(e){window.DEBUG&&console.error("was not able to retrieve global open id providers",e),t=[]}return t}),getOrgOpenIdProviders=(r,n)=>__awaiter(void 0,void 0,void 0,function*(){let t=[];try{var e=yield fetch(n||getRestApiUrlFromConfig()+"/api/admin/openid/org/"+r);t=200===e.status?(yield e.json()).results:(window.DEBUG&&console.error("was not able to retrieve global open id providers",e),[])}catch(e){window.DEBUG&&console.error("was not able to retrieve global open id providers",e),t=[]}return t}),linkUserToOidAndLogin=(e,t,r)=>fetch(getRestApiUrlFromConfig()+"/api/admin/openid/linkUserToOid",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({userName:e,password:t,sessionKey:r})}),userLoginMutation=(r,n,o)=>__awaiter(void 0,void 0,void 0,function*(){var e=o||getConfig().baseUrl,t={query:`
|
|
1
|
+
import{j as jsxRuntime,X as createSlice,Z as useSelector,dZ as authStatusSelector,d_ as authContextSelector,r as react,d$ as AuthContext,a2 as lodash,ao as Box,e0 as img$4,bg as StyledEngineProvider,e1 as resetPasswordRequest,bM as React5,e2 as setUser,B as all,D as takeEvery$1,E as select,H as call$n,I as put,a5 as showMessage,a6 as MessageSeverity}from"./js-core.esm.js";import{l as createSvgIcon,n as interopRequireDefault,k as FormattedMessage,m as makeStyles,A as AIWareIntlProvider,T as Typography,S as Select,bl as Location,U as MenuItem,p as DynamicModuleLoader,h as Button,aR as Fade,s as classNames,F as FormControl,aL as Input,P as Popover,D as Divider,ad as Slide,bm as CheckmarkFilled,bn as Bullet}from"./js-core.esm5.js";import{d as default_1$3}from"./js-core.esm24.js";import{d as default_1$2}from"./js-core.esm25.js";import{j as devErrorLogger,n as Stack,L as LoadingButton,e as InputLabel,k as InputAdornment,I as IconButton,T as TextField,f as Skeleton,D as Close$1}from"./js-core.esm6.js";import{R as Routes,f as Route,u as useNavigate,h as useLocation,i as useSearchParams,d as getAppbarPanelModule,c as applicationSelector,j as logoutUser$1}from"./js-core.esm3.js";import{d as default_1$4}from"./js-core.esm26.js";import{A as Alert}from"./js-core.esm16.js";import{L as LinearProgress}from"./js-core.esm2.js";import{B as Box$1}from"./js-core.esm27.js";import{C as Container}from"./js-core.esm28.js";import{S as Snackbar}from"./js-core.esm15.js";import{A as Autocomplete}from"./js-core.esm29.js";import{u as useDispatch}from"./js-core.esm7.js";import"./js-core.esm4.js";import"./js-core.esm17.js";var match,version,set$1,get,store,STATE,activeXDocument,Visibility={},_interopRequireDefault$1=interopRequireDefault.exports,default_1$1=(Object.defineProperty(Visibility,"__esModule",{value:!0}),Visibility.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 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility"),default_1$1=Visibility.default=_default$1,ArrowBack={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(ArrowBack,"__esModule",{value:!0}),ArrowBack.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack"),default_1=ArrowBack.default=_default,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$n=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$n=function(e){try{return!!e()}catch(e){return!0}},fails$m=fails$n,descriptors=!fails$n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$l=fails$n,functionBindNative=!fails$n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$3=functionBindNative,call$m=Function.prototype.call,functionCall=NATIVE_BIND$3?call$m.bind(call$m):function(){return call$m.apply(call$m,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$3=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$3&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$5=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$3(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$l=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$l,call$l),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$l.apply(e,arguments)}},uncurryThis$q=functionUncurryThis,toString$c=uncurryThis$q({}.toString),stringSlice$9=uncurryThis$q("".slice),classofRaw$2=function(e){return stringSlice$9(toString$c(e),8,-1)},uncurryThis$p=functionUncurryThis,fails$k=fails$n,classof$8=classofRaw$2,$Object$4=Object,split$3=functionUncurryThis("".split),indexedObject=fails$k(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$8(e)?split$3(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$7=function(e){return null==e},isNullOrUndefined$6=isNullOrUndefined$7,$TypeError$e=TypeError,requireObjectCoercible$8=function(e){if(isNullOrUndefined$6(e))throw $TypeError$e("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$7=requireObjectCoercible$8,toIndexedObject$5=function(e){return IndexedObject$1(requireObjectCoercible$7(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$p=$documentAll$1.IS_HTMLDDA?function(e){return"function"==typeof e||e===documentAll$1}:function(e){return"function"==typeof e},isCallable$o=isCallable$p,$documentAll=documentAll_1,documentAll=$documentAll.all,isObject$b=$documentAll.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:isCallable$o(e)||e===documentAll}:function(e){return"object"==typeof e?null!==e:isCallable$o(e)},global$m=global$n,isCallable$n=isCallable$p,aFunction=function(e){return isCallable$n(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$m[e]):global$m[e]&&global$m[e][t]},uncurryThis$o=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$l=global$n,userAgent$3=engineUserAgent,process$4=global$l.process,Deno$1=global$l.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$j=fails$n,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$j(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$m=isCallable$p,isPrototypeOf$5=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$6("Symbol");return isCallable$m(t)&&isPrototypeOf$5(t.prototype,$Object$3(e))},$String$4=String,tryToString$4=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$l=isCallable$p,tryToString$3=tryToString$4,$TypeError$d=TypeError,aCallable$8=function(e){if(isCallable$l(e))return e;throw $TypeError$d(tryToString$3(e)+" is not a function")},aCallable$7=aCallable$8,isNullOrUndefined$5=isNullOrUndefined$7,getMethod$6=function(e,t){e=e[t];return isNullOrUndefined$5(e)?void 0:aCallable$7(e)},call$k=functionCall,isCallable$k=isCallable$p,isObject$a=isObject$b,$TypeError$c=TypeError,ordinaryToPrimitive$1=function(e,t){var r,n;if("string"===t&&isCallable$k(r=e.toString)&&!isObject$a(n=call$k(r,e)))return n;if(isCallable$k(r=e.valueOf)&&!isObject$a(n=call$k(r,e)))return n;if("string"!==t&&isCallable$k(r=e.toString)&&!isObject$a(n=call$k(r,e)))return n;throw $TypeError$c("Can't convert object to primitive value")},shared$4={exports:{}},isPure=!1,global$k=global$n,defineProperty$7=Object.defineProperty,defineGlobalProperty$3=function(t,r){try{defineProperty$7(global$k,t,{value:r,configurable:!0,writable:!0})}catch(e){global$k[t]=r}return r},global$j=global$n,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$n[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible$6=((shared$4.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$8),$Object$2=Object,toObject$5=function(e){return $Object$2(requireObjectCoercible$6(e))},uncurryThis$n=functionUncurryThis,toObject$4=toObject$5,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$4(e),t)},uncurryThis$m=functionUncurryThis,id=0,postfix=Math.random(),toString$b=uncurryThis$m(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$b(++id+postfix,36)},global$i=global$n,shared$3=shared$4.exports,hasOwn$e=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL$1=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$i.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$l=function(e){return hasOwn$e(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL$1&&hasOwn$e(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$j=functionCall,isObject$9=isObject$b,isSymbol$1=isSymbol$2,getMethod$5=getMethod$6,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$k=wellKnownSymbol$l,$TypeError$b=TypeError,TO_PRIMITIVE=wellKnownSymbol$l("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$9(e)||isSymbol$1(e))return e;var r=getMethod$5(e,TO_PRIMITIVE);if(r){if(r=call$j(r,e,t=void 0===t?"default":t),!isObject$9(r)||isSymbol$1(r))return r;throw $TypeError$b("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$3=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$h=global$n,isObject$8=isObject$b,document$3=global$n.document,EXISTS$1=isObject$8(document$3)&&isObject$8(document$3.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$f=descriptors,fails$i=fails$n,createElement$1=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$n(function(){return 7!=Object.defineProperty(createElement$1("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$e=descriptors,call$i=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$4=createPropertyDescriptor$5,toIndexedObject$4=toIndexedObject$5,toPropertyKey$2=toPropertyKey$3,hasOwn$d=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$e?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$2(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$d(e,t))return createPropertyDescriptor$4(!call$i(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$d=descriptors,fails$h=fails$n,v8PrototypeDefineBug=descriptors&&fails$n(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$7=isObject$b,$String$3=String,$TypeError$a=TypeError,anObject$i=function(e){if(isObject$7(e))return e;throw $TypeError$a($String$3(e)+" is not an object")},DESCRIPTORS$c=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$h=anObject$i,toPropertyKey$1=toPropertyKey$3,$TypeError$9=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$b=(objectDefineProperty.f=DESCRIPTORS$c?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,r){var n;return anObject$h(e),t=toPropertyKey$1(t),anObject$h(r),"function"==typeof e&&"prototype"===t&&"value"in r&&WRITABLE in r&&!r[WRITABLE]&&(n=$getOwnPropertyDescriptor(e,t))&&n[WRITABLE]&&(e[t]=r.value,r={configurable:(CONFIGURABLE$1 in r?r:n)[CONFIGURABLE$1],enumerable:(ENUMERABLE in r?r:n)[ENUMERABLE],writable:!1}),$defineProperty(e,t,r)}:$defineProperty:function(e,t,r){if(anObject$h(e),t=toPropertyKey$1(t),anObject$h(r),IE8_DOM_DEFINE)try{return $defineProperty(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $TypeError$9("Accessors not supported");return"value"in r&&(e[t]=r.value),e},descriptors),definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$3=createPropertyDescriptor$5,createNonEnumerableProperty$6=DESCRIPTORS$b?function(e,t,r){return definePropertyModule$4.f(e,t,createPropertyDescriptor$3(1,r))}:function(e,t,r){return e[t]=r,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$a=descriptors,hasOwn$c=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$a&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$c(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$a||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$l=functionUncurryThis,isCallable$j=isCallable$p,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$j(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$g=global$n,isCallable$i=isCallable$p,WeakMap$1=global$n.WeakMap,weakMapBasicDetection=isCallable$i(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$2=shared$4.exports,uid=uid$2,keys$1=shared$2("keys"),sharedKey$3=function(e){return keys$1[e]||(keys$1[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$f=global$n,isObject$6=isObject$b,createNonEnumerableProperty$5=createNonEnumerableProperty$6,hasOwn$b=hasOwnProperty_1,shared$1=sharedStore,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$4=global$f.TypeError,WeakMap=global$f.WeakMap,enforce=function(e){return has(e)?get(e):set$1(e,{})},getterFor=function(t){return function(e){if(isObject$6(e)&&(e=get(e)).type===t)return e;throw TypeError$4("Incompatible receiver, "+t+" required")}},has=NATIVE_WEAK_MAP||shared$1.state?((store=shared$1.state||(shared$1.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$4(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$2("state"),hiddenKeys$3[STATE]=!0,set$1=function(e,t){if(hasOwn$b(e,STATE))throw TypeError$4(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$5(e,STATE,t),t},get=function(e){return hasOwn$b(e,STATE)?e[STATE]:{}},function(e){return hasOwn$b(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$k=functionUncurryThis,fails$g=fails$n,isCallable$h=isCallable$p,hasOwn$a=hasOwnProperty_1,DESCRIPTORS$9=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$5=internalState,enforceInternalState$1=InternalStateModule$5.enforce,getInternalState$3=InternalStateModule$5.get,$String$2=String,defineProperty$6=Object.defineProperty,stringSlice$8=uncurryThis$k("".slice),replace$8=uncurryThis$k("".replace),join$3=uncurryThis$k([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$9&&!fails$g(function(){return 8!==defineProperty$6(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,r){"Symbol("===stringSlice$8($String$2(t),0,7)&&(t="["+replace$8($String$2(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!hasOwn$a(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$9?defineProperty$6(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&r&&hasOwn$a(r,"arity")&&e.length!==r.arity&&defineProperty$6(e,"length",{value:r.arity});try{r&&hasOwn$a(r,"constructor")&&r.constructor?DESCRIPTORS$9&&defineProperty$6(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}r=enforceInternalState$1(e);return hasOwn$a(r,"source")||(r.source=join$3(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$g=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$h(this)&&getInternalState$3(this).source||inspectSource$2(this)},"toString"),isCallable$p),definePropertyModule$3=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$b=function(e,t,r,n){var o=(n=n||{}).enumerable,i=void 0!==n.name?n.name:t;if(isCallable$g(r)&&makeBuiltIn$1(r,i,n),n.global)o?e[t]=r:defineGlobalProperty$1(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:definePropertyModule$3.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor$4=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor$4:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$4=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$3=toIntegerOrInfinity$4,max$2=Math.max,min$2=Math.min,toAbsoluteIndex$2=function(e,t){e=toIntegerOrInfinity$3(e);return e<0?max$2(e+t,0):min$2(e,t)},toIntegerOrInfinity$2=toIntegerOrInfinity$4,min$1=Math.min,toLength$3=function(e){return 0<e?min$1(toIntegerOrInfinity$2(e),9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$4=function(e){return toLength$2(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex$1=toAbsoluteIndex$2,lengthOfArrayLike$3=lengthOfArrayLike$4,createMethod$2=function(s){return function(e,t,r){var n,o=toIndexedObject$3(e),i=lengthOfArrayLike$3(o),a=toAbsoluteIndex$1(r,i);if(s&&t!=t){for(;a<i;)if((n=o[a++])!=n)return!0}else for(;a<i;a++)if((s||a in o)&&o[a]===t)return s||a||0;return!s&&-1}},arrayIncludes={includes:createMethod$2(!0),indexOf:createMethod$2(!1)},uncurryThis$j=functionUncurryThis,hasOwn$9=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$4=uncurryThis$j([].push),objectKeysInternal=function(e,t){var r,n=toIndexedObject$2(e),o=0,i=[];for(r in n)!hasOwn$9(hiddenKeys$2,r)&&hasOwn$9(n,r)&&push$4(i,r);for(;t.length>o;)!hasOwn$9(n,r=t[o++])||~indexOf$1(i,r)||push$4(i,r);return i},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$3.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys$1)},{}),getBuiltIn$5=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$7),uncurryThis$i=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$g=anObject$i,concat$2=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$g(e)),r=getOwnPropertySymbolsModule$1.f;return r?concat$2(t,r(e)):t},hasOwn$8=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,copyConstructorProperties$2=function(e,t,r){for(var n=ownKeys(t),o=definePropertyModule$2.f,i=getOwnPropertyDescriptorModule.f,a=0;a<n.length;a++){var s=n[a];hasOwn$8(e,s)||r&&hasOwn$8(r,s)||o(e,s,i(t,s))}},fails$f=fails$n,isCallable$f=isCallable$p,replacement=/#|\.prototype\./,isForced$3=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$f(t)?fails$f(t):!!t)},normalize=isForced$3.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$3.data={},NATIVE=isForced$3.NATIVE="N",POLYFILL=isForced$3.POLYFILL="P",isForced_1=isForced$3,global$e=global$n,getOwnPropertyDescriptor$2=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$4=createNonEnumerableProperty$6,defineBuiltIn$a=defineBuiltIn$b,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties$1=copyConstructorProperties$2,isForced$2=isForced_1,_export=function(e,t){var r,n,o,i=e.target,a=e.global,s=e.stat,l=a?global$e:s?global$e[i]||defineGlobalProperty(i,{}):(global$e[i]||{}).prototype;if(l)for(r in t){if(n=t[r],o=e.dontCallGetSet?(o=getOwnPropertyDescriptor$2(l,r))&&o.value:l[r],!isForced$2(a?r:i+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof n==typeof o)continue;copyConstructorProperties$1(n,o)}(e.sham||o&&o.sham)&&createNonEnumerableProperty$4(n,"sham",!0),defineBuiltIn$a(l,r,n,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$8=descriptors,uncurryThis$h=functionUncurryThis,call$h=functionCall,fails$e=fails$n,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$3=toObject$5,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$5=Object.defineProperty,concat$1=uncurryThis$h([].concat),objectAssign=!$assign||fails$e(function(){var e,t,r,n;return!(!DESCRIPTORS$8||1===$assign({b:1},$assign(defineProperty$5({},"a",{enumerable:!0,get:function(){defineProperty$5(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},n="abcdefghijklmnopqrst",(e={})[r=Symbol()]=7,n.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[r])||objectKeys$1($assign({},t)).join("")!=n})?function(e,t){for(var r=toObject$3(e),n=arguments.length,o=1,i=getOwnPropertySymbolsModule.f,a=propertyIsEnumerableModule.f;o<n;)for(var s,l=IndexedObject(arguments[o++]),c=i?concat$1(objectKeys$1(l),i(l)):objectKeys$1(l),u=c.length,p=0;p<u;)s=c[p++],DESCRIPTORS$8&&!call$h(a,l,s)||(r[s]=l[s]);return r}:$assign,$$e=_export,assign$1=objectAssign,objectDefineProperties=(_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign$1},{assign:assign$1}),{}),DESCRIPTORS$7=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$f=anObject$i,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn$4=(objectDefineProperties.f=DESCRIPTORS$7&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$f(e);for(var r,n=toIndexedObject$1(t),o=objectKeys(t),i=o.length,a=0;a<i;)definePropertyModule$1.f(e,r=o[a++],n[r]);return e},getBuiltIn$7),html$2=getBuiltIn$7("document","documentElement"),anObject$e=anObject$i,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html$1=html$2,documentCreateElement$1=documentCreateElement$2,sharedKey$1=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=documentCreateElement$1("iframe"),t="java"+SCRIPT+":";return e.style.display="none",html$1.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"==typeof document||document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame();for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[e]];return NullProtoObject()},objectCreate=(hiddenKeys[IE_PROTO$1]=!0,Object.create||function(e,t){var r;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$e(e),r=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,r[IE_PROTO$1]=e):r=NullProtoObject(),void 0===t?r:definePropertiesModule.f(r,t)}),wellKnownSymbol$j=wellKnownSymbol$l,create$3=objectCreate,defineProperty$4=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$j("unscopables"),ArrayPrototype$1=Array.prototype,addToUnscopables$2=(null==ArrayPrototype$1[UNSCOPABLES]&&defineProperty$4(ArrayPrototype$1,UNSCOPABLES,{configurable:!0,value:create$3(null)}),function(e){ArrayPrototype$1[UNSCOPABLES][e]=!0}),$$d=_export,$includes=arrayIncludes.includes,fails$d=fails$n,addToUnscopables$1=addToUnscopables$2,BROKEN_ON_SPARSE=fails$n(function(){return!Array(1).includes()}),isObject$5=($$d({target:"Array",proto:!0,forced:BROKEN_ON_SPARSE},{includes:function(e){return $includes(this,e,1<arguments.length?arguments[1]:void 0)}}),addToUnscopables$1("includes"),isObject$b),classof$7=classofRaw$2,wellKnownSymbol$i=wellKnownSymbol$l,MATCH$2=wellKnownSymbol$l("match"),isRegexp=function(e){var t;return isObject$5(e)&&(void 0!==(t=e[MATCH$2])?!!t:"RegExp"==classof$7(e))},isRegExp$1=isRegexp,$TypeError$8=TypeError,notARegexp=function(e){if(isRegExp$1(e))throw $TypeError$8("The method doesn't accept regular expressions");return e},wellKnownSymbol$h=wellKnownSymbol$l,TO_STRING_TAG$3=wellKnownSymbol$l("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$3]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$e=isCallable$p,classofRaw$1=classofRaw$2,wellKnownSymbol$g=wellKnownSymbol$l,TO_STRING_TAG$2=wellKnownSymbol$l("toStringTag"),$Object$1=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$6=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object$1(e),TO_STRING_TAG$2))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"==(t=classofRaw$1(e))&&isCallable$e(e.callee)?"Arguments":t},classof$5=classof$6,$String$1=String,toString$a=function(e){if("Symbol"===classof$5(e))throw TypeError("Cannot convert a Symbol value to a string");return $String$1(e)},wellKnownSymbol$f=wellKnownSymbol$l,MATCH$1=wellKnownSymbol$l("match"),correctIsRegexpLogic=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[MATCH$1]=!1,"/./"[t](r)}catch(e){}}return!1},$$c=_export,uncurryThis$g=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible$5=requireObjectCoercible$8,toString$9=toString$a,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf$2=functionUncurryThis("".indexOf),anObject$d=($$c({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf$2(toString$9(requireObjectCoercible$5(this)),toString$9(notARegExp(e)),1<arguments.length?arguments[1]:void 0)}}),anObject$i),regexpFlags$1=function(){var e=anObject$d(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fails$c=fails$n,global$d=global$n,$RegExp$2=global$n.RegExp,UNSUPPORTED_Y$2=fails$c(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),MISSED_STICKY$1=UNSUPPORTED_Y$2||fails$c(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$2||fails$c(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY$1,UNSUPPORTED_Y:UNSUPPORTED_Y$2},fails$b=fails$n,global$c=global$n,$RegExp$1=global$n.RegExp,regexpUnsupportedDotAll=fails$b(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),fails$a=fails$n,global$b=global$n,$RegExp=global$n.RegExp,regexpUnsupportedNcg=fails$a(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call$g=functionCall,uncurryThis$f=functionUncurryThis,toString$8=toString$a,regexpFlags=regexpFlags$1,stickyHelpers$1=regexpStickyHelpers,shared=shared$4.exports,create$2=objectCreate,getInternalState$2=internalState.get,UNSUPPORTED_DOT_ALL$1=regexpUnsupportedDotAll,UNSUPPORTED_NCG$1=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$7=uncurryThis$f("".charAt),indexOf=uncurryThis$f("".indexOf),replace$7=uncurryThis$f("".replace),stringSlice$7=uncurryThis$f("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return call$g(nativeExec,e,"a"),call$g(nativeExec,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),UNSUPPORTED_Y$1=stickyHelpers$1.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y$1||UNSUPPORTED_DOT_ALL$1||UNSUPPORTED_NCG$1,regexpExec$2=patchedExec=PATCH?function(e){var t,r,n,o,i,a,s=this,l=getInternalState$2(s),e=toString$8(e),c=l.raw;if(c)return c.lastIndex=s.lastIndex,p=call$g(patchedExec,c,e),s.lastIndex=c.lastIndex,p;var u=l.groups,c=UNSUPPORTED_Y$1&&s.sticky,p=call$g(regexpFlags,s),l=s.source,d=0,g=e;if(c&&(p=replace$7(p,"y",""),-1===indexOf(p,"g")&&(p+="g"),g=stringSlice$7(e,s.lastIndex),0<s.lastIndex&&(!s.multiline||s.multiline&&"\n"!==charAt$7(e,s.lastIndex-1))&&(l="(?: "+l+")",g=" "+g,d++),t=new RegExp("^(?:"+l+")",p)),NPCG_INCLUDED&&(t=new RegExp("^"+l+"$(?!\\s)",p)),UPDATES_LAST_INDEX_WRONG&&(r=s.lastIndex),n=call$g(nativeExec,c?t:s,g),c?n?(n.input=stringSlice$7(n.input,d),n[0]=stringSlice$7(n[0],d),n.index=s.lastIndex,s.lastIndex+=n[0].length):s.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&n&&(s.lastIndex=s.global?n.index+n[0].length:r),NPCG_INCLUDED&&n&&1<n.length&&call$g(nativeReplace,n[0],t,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n&&u)for(n.groups=i=create$2(null),o=0;o<u.length;o++)i[(a=u[o])[0]]=n[a[1]];return n}:patchedExec,$$b=_export,exec$4=regexpExec$2,NATIVE_BIND$1=(_export({target:"RegExp",proto:!0,forced:/./.exec!==exec$4},{exec:exec$4}),functionBindNative),FunctionPrototype=Function.prototype,apply$2=FunctionPrototype.apply,call$f=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$f.bind(apply$2):function(){return call$f.apply(apply$2,arguments)}),classofRaw=classofRaw$2,uncurryThis$e=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$e(e)},uncurryThis$d=functionUncurryThisClause,defineBuiltIn$9=defineBuiltIn$b,regexpExec$1=regexpExec$2,fails$9=fails$n,wellKnownSymbol$e=wellKnownSymbol$l,createNonEnumerableProperty$3=createNonEnumerableProperty$6,SPECIES$3=wellKnownSymbol$e("species"),RegExpPrototype$3=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(r,e,t,n){var a,o=wellKnownSymbol$e(r),s=!fails$9(function(){var e={};return e[o]=function(){return 7},7!=""[r](e)}),i=s&&!fails$9(function(){var e=!1,t=/a/;return"split"===r&&((t={constructor:{}}).constructor[SPECIES$3]=function(){return t},t.flags="",t[o]=/./[o]),t.exec=function(){return e=!0,null},t[o](""),!e});s&&i&&!t||(a=uncurryThis$d(/./[o]),i=e(o,""[r],function(e,t,r,n,o){var e=uncurryThis$d(e),i=t.exec;return i===regexpExec$1||i===RegExpPrototype$3.exec?s&&!o?{done:!0,value:a(t,r,n)}:{done:!0,value:e(r,t,n)}:{done:!1}}),defineBuiltIn$9(String.prototype,r,i[0]),defineBuiltIn$9(RegExpPrototype$3,o,i[1])),n&&createNonEnumerableProperty$3(RegExpPrototype$3[o],"sham",!0)},uncurryThis$c=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$7=toString$a,requireObjectCoercible$4=requireObjectCoercible$8,charAt$6=uncurryThis$c("".charAt),charCodeAt$1=uncurryThis$c("".charCodeAt),stringSlice$6=uncurryThis$c("".slice),createMethod$1=function(o){return function(e,t){var r,e=toString$7(requireObjectCoercible$4(e)),t=toIntegerOrInfinity$1(t),n=e.length;return t<0||n<=t?o?"":void 0:(r=charCodeAt$1(e,t))<55296||56319<r||t+1===n||(n=charCodeAt$1(e,t+1))<56320||57343<n?o?charAt$6(e,t):r:o?stringSlice$6(e,t,t+2):n-56320+(r-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$1(!1),charAt:createMethod$1(!0)},charAt$5=stringMultibyte.charAt,advanceStringIndex$2=function(e,t,r){return t+(r?charAt$5(e,t).length:1)},uncurryThis$b=functionUncurryThis,toObject$2=toObject$5,floor$3=Math.floor,charAt$4=uncurryThis$b("".charAt),replace$6=uncurryThis$b("".replace),stringSlice$5=uncurryThis$b("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(i,a,s,l,c,e){var u=s+i.length,p=l.length,t=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==c&&(c=toObject$2(c),t=SUBSTITUTION_SYMBOLS),replace$6(e,t,function(e,t){var r;switch(charAt$4(t,0)){case"$":return"$";case"&":return i;case"`":return stringSlice$5(a,0,s);case"'":return stringSlice$5(a,u);case"<":r=c[stringSlice$5(t,1,-1)];break;default:var n,o=+t;if(0==o)return e;if(p<o)return 0!==(n=floor$3(o/10))&&n<=p?void 0===l[n-1]?charAt$4(t,1):l[n-1]+charAt$4(t,1):e;r=l[o-1]}return void 0===r?"":r})},call$e=functionCall,anObject$c=anObject$i,isCallable$d=isCallable$p,classof$4=classofRaw$2,regexpExec=regexpExec$2,$TypeError$7=TypeError,regexpExecAbstract=function(e,t){var r=e.exec;if(isCallable$d(r))return null!==(r=call$e(r,e,t))&&anObject$c(r),r;if("RegExp"===classof$4(e))return call$e(regexpExec,e,t);throw $TypeError$7("RegExp#exec called on incompatible receiver")},apply$1=functionApply,call$d=functionCall,uncurryThis$a=functionUncurryThis,fixRegExpWellKnownSymbolLogic$2=fixRegexpWellKnownSymbolLogic,fails$8=fails$n,anObject$b=anObject$i,isCallable$c=isCallable$p,isNullOrUndefined$4=isNullOrUndefined$7,toIntegerOrInfinity=toIntegerOrInfinity$4,toLength$1=toLength$3,toString$6=toString$a,requireObjectCoercible$3=requireObjectCoercible$8,advanceStringIndex$1=advanceStringIndex$2,getMethod$4=getMethod$6,getSubstitution=getSubstitution$1,regExpExec$2=regexpExecAbstract,wellKnownSymbol$d=wellKnownSymbol$l,REPLACE=wellKnownSymbol$l("replace"),max$1=Math.max,min=Math.min,concat=uncurryThis$a([].concat),push$3=uncurryThis$a([].push),stringIndexOf$1=uncurryThis$a("".indexOf),stringSlice$4=uncurryThis$a("".slice),maybeToString=function(e){return void 0===e?e:String(e)},REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails$8(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),call$c=(fixRegExpWellKnownSymbolLogic$2("replace",function(e,b,y){var S=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(e,t){var r=requireObjectCoercible$3(this),n=isNullOrUndefined$4(e)?void 0:getMethod$4(e,REPLACE);return n?call$d(n,e,r,t):call$d(b,toString$6(r),e,t)},function(e,t){var r=anObject$b(this),n=toString$6(e);if("string"==typeof t&&-1===stringIndexOf$1(t,S)&&-1===stringIndexOf$1(t,"$<")){e=y(b,r,n,t);if(e.done)return e.value}for(var o,i=isCallable$c(t),a=(i||(t=toString$6(t)),r.global),s=(a&&(o=r.unicode,r.lastIndex=0),[]);null!==(p=regExpExec$2(r,n))&&(push$3(s,p),a);)""===toString$6(p[0])&&(r.lastIndex=advanceStringIndex$1(n,toLength$1(r.lastIndex),o));for(var l="",c=0,u=0;u<s.length;u++){for(var p,d=toString$6((p=s[u])[0]),g=max$1(min(toIntegerOrInfinity(p.index),n.length),0),$=[],h=1;h<p.length;h++)push$3($,maybeToString(p[h]));var m=p.groups,f=i?(f=concat([d],$,g,n),void 0!==m&&push$3(f,m),toString$6(apply$1(t,void 0,f))):getSubstitution(d,n,g,$,m,t);c<=g&&(l+=stringSlice$4(n,c,g)+f,c=g+d.length)}return l+stringSlice$4(n,c)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE),functionCall),hasOwn$7=hasOwnProperty_1,isPrototypeOf$4=objectIsPrototypeOf,regExpFlags=regexpFlags$1,RegExpPrototype$2=RegExp.prototype,regexpGetFlags=function(e){var t=e.flags;return void 0!==t||"flags"in RegExpPrototype$2||hasOwn$7(e,"flags")||!isPrototypeOf$4(RegExpPrototype$2,e)?t:call$c(regExpFlags,e)},PROPER_FUNCTION_NAME$2=functionName.PROPER,defineBuiltIn$8=defineBuiltIn$b,anObject$a=anObject$i,$toString$2=toString$a,fails$7=fails$n,getRegExpFlags$1=regexpGetFlags,TO_STRING="toString",RegExpPrototype$1=RegExp.prototype,nativeToString=RegExpPrototype$1[TO_STRING],NOT_GENERIC=fails$7(function(){return"/a/b"!=nativeToString.call({source:"a",flags:"b"})}),INCORRECT_NAME=PROPER_FUNCTION_NAME$2&&nativeToString.name!=TO_STRING;(NOT_GENERIC||INCORRECT_NAME)&&defineBuiltIn$8(RegExp.prototype,TO_STRING,function(){var e=anObject$a(this);return"/"+$toString$2(e.source)+"/"+$toString$2(getRegExpFlags$1(e))},{unsafe:!0});const SHARED_TEXT={resetPasswordTitle:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.title",defaultMessage:"New password required",description:"Title of the reset password widget"}),inviteResetPasswordTitle:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.inviteTitle",defaultMessage:"Please create a password for your aiWARE account.",description:"Title of the reset password widget when resulting from an invite"}),resetPasswordSubHeader:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.subHeader",defaultMessage:"A strong password contains a mix of numbers, letters and symbols. It is hard to guess, does not resemble a real word and is only used for this account.",description:"Description of the reset password widget"}),passwordRequirements:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordRequirements",defaultMessage:"Password requirements",description:"Heading of password requirements"}),resetPasswordSubmitButton:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.submitButton",defaultMessage:"Change Password",description:"Text of submit button for reset password"}),inviteResetPasswordSubmitButton:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.inviteSubmitButton",defaultMessage:"Set Password",description:"Text of submit button for reset password when resulting from an invite"}),createAccountButton:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.sign-up-password.createAccountButton",defaultMessage:"Create Account",description:"Text of create account button for sign up password"}),lengthCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.lengthCheck",defaultMessage:"8 Character minimum",description:"The error message for the lengthCheck."}),pastPasswordCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.pastPasswordCheck",defaultMessage:"Not identical to last 10 passwords",description:"The error message for the pastPasswordCheck."}),userNameCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.userNameCheck",defaultMessage:"Not the same as account email",description:"The error message for the userNameCheck."}),dictionaryCheck:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.dictionaryCheck",defaultMessage:"No dictionary passwords",description:"The error message for the dictionaryCheck."}),passwordsNotMatching:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordsNotMatching",defaultMessage:"Passwords not matching",description:"The error message for the passwords not matching."}),invalidTokenOrUsername:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.invalidTokenOrUsername",defaultMessage:"Error! Missing token or username.",description:"The error message for the missing token or username."}),passwordComplexityCheckSymbols:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordComplexityCheckSymbols",defaultMessage:"Requires 1 lowercase, 1 uppercase, 1 number, and 1 symbol.",description:"The error message for the check symbols error."}),passwordComplexityCheckDays:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-auth.reset-password.passwordComplexityCheckDays",defaultMessage:"Cannot be changed twice within 10 days.",description:"The error message for the days error."})};var baseUrl$1="https://api.dev.us-1.veritone.com/v3/graphql",hubUrl$1="https://hub.dev.aiware.com/hub/v1",stripePublishableKey$1="pk_test_51No7B2IyHt9R0gSl5J4qqbZvRVLokabSDFw36G58tO1oxXO4mJzXmV0FvszOAfJcb25d5HgqZSlFIyMbL9bTFTb700vr9Fvgb9",stripePricingPlanId$1="prctbl_1No7MMIyHt9R0gSlZV4mqouD",sentryDSN$1="https://fddcba0905af4851ac01fa9f031df814@o57583.ingest.sentry.io/4505172433043456",showEnvironmentSelector$1=!0,switchAppUrl$1="https://api.dev.us-1.veritone.com/v1/admin/switch-app",signupUrl$1="https://local.veritone.com:4201/ui/auth/sign-up",instanceUrls$2=[{aiwareInstanceName:"aiWARE US",coreAdminApiUrl:"https://api.dev.us-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.dev.us-1.veritone.com/v3/graphql"},{aiwareInstanceName:"aiWARE Kernel",coreAdminApiUrl:"https://data.5f8728.aiware.run:8443/api/admin",coreGraphqlApiUrl:"https://data.5f8728.aiware.run:8443/v3/graphql"}],devConfigs={baseUrl:baseUrl$1,hubUrl:hubUrl$1,stripePublishableKey:stripePublishableKey$1,stripePricingPlanId:stripePricingPlanId$1,sentryDSN:sentryDSN$1,showEnvironmentSelector:showEnvironmentSelector$1,switchAppUrl:switchAppUrl$1,signupUrl:signupUrl$1,instanceUrls:instanceUrls$2},baseUrl="https://api.us-1.veritone.com/v3/graphql",hubUrl="https://hub.aiware.com/hub/v1",stripePublishableKey="pk_live_51NNcicInolL392yPxizaLizsnPFeNfU1QgFBOG7bB44OLhLcQDc7CyH8hlyweN6VDDLr2lB9lLyiUh1KGBaSEjPS00uSQ1sFFP",stripePricingPlanId="prctbl_1Nj36dInolL392yPggkeo88e",sentryDSN="https://fddcba0905af4851ac01fa9f031df814@o57583.ingest.sentry.io/4505172433043456",showEnvironmentSelector=!0,switchAppUrl="https://api.us-1.veritone.com/v1/admin/switch-app",signupUrl="",instanceUrls$1=[{aiwareInstanceName:"aiWARE US",coreAdminApiUrl:"https://api.us-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.us-1.veritone.com/v3/graphql"},{aiwareInstanceName:"aiWARE UK",coreAdminApiUrl:"https://api.uk-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.uk-1.veritone.com/v3/graphql"},{aiwareInstanceName:"aiWARE CA",coreAdminApiUrl:"https://api.ca-1.veritone.com/api/admin",coreGraphqlApiUrl:"https://api.ca-1.veritone.com/v3/graphql"}],prodConfigs={baseUrl:baseUrl,hubUrl:hubUrl,stripePublishableKey:stripePublishableKey,stripePricingPlanId:stripePricingPlanId,sentryDSN:sentryDSN,showEnvironmentSelector:showEnvironmentSelector,switchAppUrl:switchAppUrl,signupUrl:signupUrl,instanceUrls:instanceUrls$1};function getConfig(){var e;return"development"===process.env.NODE_ENV?devConfigs:(e=window.aiwareConfig)?JSON.parse(JSON.stringify(e)):prodConfigs}function getRestApiUrlFromConfig(){return getConfig().baseUrl.replace("/v3/graphql","")}function parseToken(e=""){try{var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(r)}catch(e){return console.log(e),null}}const envChecker=t=>window.location.href.split("://")[1].split(".").find(e=>e===t),envDetector=()=>{return envChecker("local")||envChecker("dev")||window.location.href.includes("localhost")?"dev":envChecker("stage")?"stage":"prod"},getCookie=t=>{var r=document.cookie.split("; ");for(let e=0;e<r.length;e++){var n=r[e].split("=");if(t===decodeURIComponent(n[0]))return decodeURIComponent(n[1])}return null},setCookie=(e,t,r)=>{var n=new Date,r=(n.setTime(n.getTime()+24*r*60*60*1e3),"expires="+n.toUTCString());document.cookie=`${e}=${encodeURIComponent(t)}; ${r}; path=/`},Header=({text:e,subText:t,type:r,sx:n={}})=>jsxRuntime.exports.jsxs(Box,Object.assign({sx:{marginBottom:"30px",textAlign:"center"}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({sx:Object.assign({fontFamily:"Nunito",fontSize:"22px",lineHeight:"28px",letterSpacing:"-1.30385e-09px",color:"#2A323C"},n),"data-testid":"os-auth-header-text-"+r},{children:e})),t&&jsxRuntime.exports.jsx(Typography,Object.assign({sx:{fontFamily:"Nunito",fontSize:"16px",lineHeight:"22px",textAlign:"center",letterSpacing:"-1.30385e-09px",color:"#5C6269",width:"368px"},"data-testid":"os-auth-subheader-text-"+r},{children:t}))]})),useStyles$7=makeStyles()(e=>({title:{textTransform:"initial",fontSize:22,marginBottom:e.spacing(4)},subHeader:{color:"#9CA8B4"},h6:{color:"#27292B"},requirements:{listStyle:"disc",padding:0,marginLeft:e.spacing(5),"& li":{marginBottom:e.spacing(1),color:"#27292B",fontSize:14,fontWeight:400,"&.requirementError":{color:"#D50000"}}},submitButton:{height:55,background:"#214167",fontSize:18,width:"100%",maxWidth:380,textTransform:"uppercase"},text:{fontFamily:"Nunito",fontWeight:400,fontSize:"22px",lineHeight:"18px",letterSpacing:"-1.30385e-09px",color:"#2A323C"},subText:{fontFamily:"'Nunito Sans'",fontWeight:400,fontSize:"16px",lineHeight:"22px",textAlign:"center",letterSpacing:"-1.30385e-09px",color:"#5C6269"}}));var IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,iterators={},fails$6=fails$n,correctPrototypeGetter=!fails$n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$6=hasOwnProperty_1,isCallable$b=isCallable$p,toObject$1=toObject$5,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(e){var t,e=toObject$1(e);return hasOwn$6(e,IE_PROTO)?e[IE_PROTO]:(t=e.constructor,isCallable$b(t)&&e instanceof t?t.prototype:e instanceof $Object?ObjectPrototype:null)},fails$5=fails$n,isCallable$a=isCallable$p,isObject$4=isObject$b,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$7=defineBuiltIn$b,wellKnownSymbol$c=wellKnownSymbol$l,ITERATOR$7=wellKnownSymbol$l("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,NEW_ITERATOR_PROTOTYPE=([].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$1(getPrototypeOf$1(arrayIterator)))!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0),!isObject$4(IteratorPrototype$2)||fails$5(function(){var e={};return IteratorPrototype$2[ITERATOR$7].call(e)!==e})),iteratorsCore=(isCallable$a((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$7])||defineBuiltIn$7(IteratorPrototype$2,ITERATOR$7,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$3=objectDefineProperty.f,hasOwn$5=hasOwnProperty_1,wellKnownSymbol$b=wellKnownSymbol$l,TO_STRING_TAG$1=wellKnownSymbol$l("toStringTag"),setToStringTag$5=function(e,t,r){(e=e&&!r?e.prototype:e)&&!hasOwn$5(e,TO_STRING_TAG$1)&&defineProperty$3(e,TO_STRING_TAG$1,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create$1=objectCreate,createPropertyDescriptor$2=createPropertyDescriptor$5,setToStringTag$4=setToStringTag$5,Iterators$4=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,r,n){t+=" Iterator";return e.prototype=create$1(IteratorPrototype$1,{next:createPropertyDescriptor$2(+!n,r)}),setToStringTag$4(e,t,!1),Iterators$4[t]=returnThis$1,e},uncurryThis$9=functionUncurryThis,aCallable$6=aCallable$8,functionUncurryThisAccessor=function(e,t,r){try{return uncurryThis$9(aCallable$6(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},isCallable$9=isCallable$p,$String=String,$TypeError$6=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$9(e))return e;throw $TypeError$6("Can't set "+$String(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,anObject$9=anObject$i,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),n=e instanceof Array}catch(e){}return function(e,t){return anObject$9(e),aPossiblePrototype(t),n?r(e,t):e.__proto__=t,e}}():void 0),$$a=_export,call$b=functionCall,FunctionName=functionName,isCallable$8=isCallable$p,createIteratorConstructor$1=iteratorCreateConstructor,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf$2=objectSetPrototypeOf,setToStringTag$3=setToStringTag$5,createNonEnumerableProperty$2=createNonEnumerableProperty$6,defineBuiltIn$6=defineBuiltIn$b,wellKnownSymbol$a=wellKnownSymbol$l,Iterators$3=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME$1=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$6=wellKnownSymbol$a("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,r,n,o,i,a){createIteratorConstructor$1(r,t,n);function s(e){if(e===o&&g)return g;if(!BUGGY_SAFARI_ITERATORS&&e in p)return p[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new r(this,e)}}return function(){return new r(this)}}var l,c,n=t+" Iterator",u=!1,p=e.prototype,d=p[ITERATOR$6]||p["@@iterator"]||o&&p[o],g=!BUGGY_SAFARI_ITERATORS&&d||s(o),$="Array"==t&&p.entries||d;if($&&($=getPrototypeOf($.call(new e)))!==Object.prototype&&$.next&&(getPrototypeOf($)!==IteratorPrototype&&(setPrototypeOf$2?setPrototypeOf$2($,IteratorPrototype):isCallable$8($[ITERATOR$6])||defineBuiltIn$6($,ITERATOR$6,returnThis)),setToStringTag$3($,n,!0)),PROPER_FUNCTION_NAME$1&&o==VALUES&&d&&d.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$2(p,"name",VALUES):(u=!0,g=function(){return call$b(d,this)})),o)if(l={values:s(VALUES),keys:i?g:s(KEYS),entries:s(ENTRIES)},a)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in p||defineBuiltIn$6(p,c,l[c]);else $$a({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return p[ITERATOR$6]!==g&&defineBuiltIn$6(p,ITERATOR$6,g,{name:o}),Iterators$3[t]=g,l},createIterResultObject$2=function(e,t){return{value:e,done:t}},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$2,Iterators$2=iterators,InternalStateModule$4=internalState,defineProperty$2=objectDefineProperty.f,defineIterator$1=iteratorDefine,createIterResultObject$1=createIterResultObject$2,DESCRIPTORS$6=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState$4=InternalStateModule$4.set,getInternalState$1=InternalStateModule$4.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator$1(Array,"Array",function(e,t){setInternalState$4(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState$1(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,createIterResultObject$1(void 0,!0)):createIterResultObject$1("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)},"values"),values=Iterators$2.Arguments=Iterators$2.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS$6&&"values"!==values.name)try{defineProperty$2(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},documentCreateElement=documentCreateElement$2,classList=documentCreateElement$2("span").classList,DOMTokenListPrototype$1=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype$1===Object.prototype?void 0:DOMTokenListPrototype$1,global$a=global$n,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty$1=createNonEnumerableProperty$6,wellKnownSymbol$9=wellKnownSymbol$l,ITERATOR$5=wellKnownSymbol$9("iterator"),TO_STRING_TAG=wellKnownSymbol$9("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR$5]!==ArrayValues)try{createNonEnumerableProperty$1(t,ITERATOR$5,ArrayValues)}catch(e){t[ITERATOR$5]=ArrayValues}if(t[TO_STRING_TAG]||createNonEnumerableProperty$1(t,TO_STRING_TAG,e),DOMIterables[e])for(var r in ArrayIteratorMethods)if(t[r]!==ArrayIteratorMethods[r])try{createNonEnumerableProperty$1(t,r,ArrayIteratorMethods[r])}catch(e){t[r]=ArrayIteratorMethods[r]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$a[COLLECTION_NAME]&&global$a[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");const useStyles$6=makeStyles()((e,{error:t,passwordRequirementsMet:r})=>{let n="auto";return t?n="red":r||(n="rgba(0, 0, 0, 0.26)"),{passwordLabel:{background:"white",padding:"0 3px"},passwordFormMarginTop:{marginTop:"20px"},passwordInput:{width:"368px",maxWidth:"85vw"},confirmPasswordLabel:{color:n,"&.Sdk-Mui-focused":{color:n}}}}),usePasswordRequirementStyles=makeStyles()(()=>({container:{width:"368px",maxWidth:"85vw",display:"flex",alignItems:"center",justifyContent:"center"},barContainer:{display:"flex",width:"100%",justifyContent:"space-between",padding:"15px 0px"},bar:{width:"23%",height:"4px",borderRadius:"20px"},metRequirement:{color:"#9CA8B4",textDecorationLine:"line-through"},unmetRequirement:{color:"#5C6269"},requirement:{display:"flex",alignItems:"center"},bullet:{transform:"translateY(8px)",marginLeft:"5px"},checkMark:{fill:"#0E6EEC",marginRight:"8px",marginLeft:"-3px"}})),BlueButton=({onClick:e,text:t,type:r,loading:n,disableButton:o,sx:i={},ref:a,className:s,instanceLoginConfigs:l})=>jsxRuntime.exports.jsx(LoadingButton,Object.assign({color:"primary",variant:"contained",onClick:e,loading:n,ref:a,sx:Object.assign({textTransform:"none",fontSize:"18px",lineHeight:"24px",fontFamily:"Nunito",fontWeight:600,width:"100%",height:"56px",background:`${(null==l?void 0:l.buttonColor)||"#2C78D4"}!important`,backgroundColor:`${(null==l?void 0:l.buttonColor)||"#2C78D4"}!important`,color:`${null==l?void 0:l.buttonTextColor}!important`,"&.MuiButton-root:not(:disabled):not(:hover), .Sdk-MuiButton-root:not(:disabled):not(:hover)":{background:`${null==l?void 0:l.buttonColor}!important`,backgroundColor:`${null==l?void 0:l.buttonColor}!important`,color:`${null==l?void 0:l.buttonTextColor}!important`},border:"1px solid "+(null==l?void 0:l.buttonColor)},i),className:s||void 0,"data-testid":`os-auth--${r}-btn`,disabled:o},{children:t}));var isCallable$7=isCallable$p,isObject$3=isObject$b,setPrototypeOf$1=objectSetPrototypeOf,inheritIfRequired$1=function(e,t,r){return setPrototypeOf$1&&isCallable$7(t=t.constructor)&&t!==r&&isObject$3(t=t.prototype)&&t!==r.prototype&&setPrototypeOf$1(e,t),e},defineProperty$1=objectDefineProperty.f,proxyAccessor$1=function(e,t,r){r in e||defineProperty$1(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})},makeBuiltIn=makeBuiltIn$3.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$4=function(e,t,r){return r.get&&makeBuiltIn(r.get,t,{getter:!0}),r.set&&makeBuiltIn(r.set,t,{setter:!0}),defineProperty.f(e,t,r)},getBuiltIn$3=getBuiltIn$7,defineBuiltInAccessor$3=defineBuiltInAccessor$4,wellKnownSymbol$8=wellKnownSymbol$l,DESCRIPTORS$5=descriptors,SPECIES$2=wellKnownSymbol$l("species"),setSpecies$2=function(e){e=getBuiltIn$3(e);DESCRIPTORS$5&&e&&!e[SPECIES$2]&&defineBuiltInAccessor$3(e,SPECIES$2,{configurable:!0,get:function(){return this}})},DESCRIPTORS$4=descriptors,global$9=global$n,uncurryThis$8=functionUncurryThis,isForced$1=isForced_1,inheritIfRequired=inheritIfRequired$1,createNonEnumerableProperty=createNonEnumerableProperty$6,getOwnPropertyNames=objectGetOwnPropertyNames.f,isPrototypeOf$3=objectIsPrototypeOf,isRegExp=isRegexp,toString$5=toString$a,getRegExpFlags=regexpGetFlags,stickyHelpers=regexpStickyHelpers,proxyAccessor=proxyAccessor$1,defineBuiltIn$5=defineBuiltIn$b,fails$4=fails$n,hasOwn$4=hasOwnProperty_1,enforceInternalState=internalState.enforce,setSpecies$1=setSpecies$2,wellKnownSymbol$7=wellKnownSymbol$l,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,MATCH=wellKnownSymbol$l("match"),NativeRegExp=global$9.RegExp,RegExpPrototype=NativeRegExp.prototype,SyntaxError=global$9.SyntaxError,exec$3=uncurryThis$8(RegExpPrototype.exec),charAt$3=uncurryThis$8("".charAt),replace$5=uncurryThis$8("".replace),stringIndexOf=uncurryThis$8("".indexOf),stringSlice$3=uncurryThis$8("".slice),IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,MISSED_STICKY=stickyHelpers.MISSED_STICKY,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS$4&&(!CORRECT_NEW||MISSED_STICKY||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails$4(function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})),handleDotAll=function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"===(t=charAt$3(e,n))?o+=t+charAt$3(e,++n):i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]";return o},handleNCG=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,l=!1,c=0,u="";n<=r;n++){if("\\"===(t=charAt$3(e,n)))t+=charAt$3(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:exec$3(IS_NCG,stringSlice$3(e,n+1))&&(n+=2,l=!0),o+=t,c++;continue;case">"===t&&l:if(""===u||hasOwn$4(a,u))throw new SyntaxError("Invalid capture group name");a[u]=!0,l=!(i[i.length]=[u,c]),u="";continue}l?u+=t:o+=t}return[o,i]};if(isForced$1("RegExp",BASE_FORCED)){for(var RegExpWrapper=function(e,t){var r,n,o=isPrototypeOf$3(RegExpPrototype,this),i=isRegExp(e),a=void 0===t,s=[],l=e;if(!o&&i&&a&&e.constructor===RegExpWrapper)return e;if((i||isPrototypeOf$3(RegExpPrototype,e))&&(e=e.source,a)&&(t=getRegExpFlags(l)),e=void 0===e?"":toString$5(e),t=void 0===t?"":toString$5(t),l=e,i=t=UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(r=!!t&&-1<stringIndexOf(t,"s"))?replace$5(t,/s/g,""):t,MISSED_STICKY&&"sticky"in re1&&(n=!!t&&-1<stringIndexOf(t,"y"))&&UNSUPPORTED_Y&&(t=replace$5(t,/y/g,"")),UNSUPPORTED_NCG&&(e=(a=handleNCG(e))[0],s=a[1]),a=inheritIfRequired(NativeRegExp(e,t),o?this:RegExpPrototype,RegExpWrapper),(r||n||s.length)&&(t=enforceInternalState(a),r&&(t.dotAll=!0,t.raw=RegExpWrapper(handleDotAll(e),i)),n&&(t.sticky=!0),s.length)&&(t.groups=s),e!==l)try{createNonEnumerableProperty(a,"source",""===l?"(?:)":l)}catch(e){}return a},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxyAccessor(RegExpWrapper,NativeRegExp,keys[index++]);(RegExpPrototype.constructor=RegExpWrapper).prototype=RegExpPrototype,defineBuiltIn$5(global$9,"RegExp",RegExpWrapper,{constructor:!0})}setSpecies$1("RegExp");const PasswordRequirements=({password:r,setPasswordRequirementsMet:n})=>{var e=window.innerWidth<=850;const o=usePasswordRequirementStyles()["classes"];const i=[{id:"upperLower",label:"Upper & lower case letters",regex:new RegExp("(?=.*[a-z])(?=.*[A-Z])","g"),met:!1},{id:"length",label:"At least 8 characters",regex:new RegExp(".{8}$"),met:!1},{id:"specialCharacter",label:"A symbol (#$&!)",regex:new RegExp("[^a-zA-Z0-9]"),met:!1}],[a,s]=react.exports.useState(i),l={0:"#FF5722",1:"#FFC107",2:"#00BCD4",3:"#4CAF50"};return react.exports.useEffect(()=>{var e=[...i];for(const t of e)t.regex.test(r)&&(t.met=!0);e.find(e=>!e.met)?n(!1):n(!0),s(e)},[r]),jsxRuntime.exports.jsx(Box$1,Object.assign({className:o.container,"data-testid":"sign-up.password-requirements.pop-up"},{children:jsxRuntime.exports.jsxs(Box$1,Object.assign({sx:{boxSizing:"border-box",padding:"15px 20px",width:"100%",marginTop:"10px",marginBottom:"10px",borderRadius:"5px",marginRight:e?void 0:"15px",boxShadow:"0px 2px 10px 0px rgba(0, 0, 0, 0.20)",backgroundColor:"rgb(255, 255,255)","&::before":e?{}:{backgroundColor:"white",content:'""',display:"block",position:"absolute",width:12,height:12,top:"calc(50% - 6px)",transform:"rotate(45deg)",left:"calc(100% - 20px)"}}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1","data-testid":"sign-up.password-requirements.pop-up.message"},{children:r?{0:"Weak Password",1:"Average Password",2:"Good Password",3:"Strong Password 💪"}[a.filter(e=>e.met).length]:"Please set a strong password"})),jsxRuntime.exports.jsx(Box$1,Object.assign({className:o.barContainer},{children:Array.from(Array(4).keys()).map(e=>{var t=a.filter(e=>e.met).length;return jsxRuntime.exports.jsx(Box$1,{className:o.bar,sx:{background:e<=t&&r?l[t]:"#9CA8B4"}},e)})})),jsxRuntime.exports.jsx(Stack,Object.assign({sx:{gap:e?void 0:"13px"}},{children:a.map(e=>jsxRuntime.exports.jsxs(Box$1,Object.assign({className:classNames(o.requirement,e.met?o.metRequirement:o.unmetRequirement)},{children:[e.met?jsxRuntime.exports.jsx(CheckmarkFilled,{className:o.checkMark}):jsxRuntime.exports.jsx(Bullet,{className:o.bullet}),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2"},{children:e.label}))]}),e.id))}))]}))}))};var call$a=functionCall,fixRegExpWellKnownSymbolLogic$1=fixRegexpWellKnownSymbolLogic,anObject$8=anObject$i,isNullOrUndefined$3=isNullOrUndefined$7,toLength=toLength$3,toString$4=toString$a,requireObjectCoercible$2=requireObjectCoercible$8,getMethod$3=getMethod$6,advanceStringIndex=advanceStringIndex$2,regExpExec$1=regexpExecAbstract;fixRegexpWellKnownSymbolLogic("match",function(n,s,l){return[function(e){var t=requireObjectCoercible$2(this),r=isNullOrUndefined$3(e)?void 0:getMethod$3(e,n);return r?call$a(r,e,t):new RegExp(e)[n](toString$4(t))},function(e){var t=anObject$8(this),r=toString$4(e),e=l(s,t,r);if(e.done)return e.value;if(!t.global)return regExpExec$1(t,r);for(var n=t.unicode,o=[],i=t.lastIndex=0;null!==(a=regExpExec$1(t,r));){var a=toString$4(a[0]);""===(o[i]=a)&&(t.lastIndex=advanceStringIndex(r,toLength(t.lastIndex),n)),i++}return 0===i?null:o}]});const SLICE_NAME="signUp",namespace="initStep",initialState={env:"",status:"idle",activeStep:1,1:{email:"",firstName:"",lastName:""},2:{orgName:"",teamSize:"",country:"",industry:""},errors:{1:{email:!1,firstName:!1,lastName:!1},2:{orgName:!1,country:!1}},userUUID:"",userEmail:"",organizationUUID:""};function isKeyOfObject(e,t){return e in t}function validateEmail$1(e){return e.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)}const signUpSlice=createSlice({name:SLICE_NAME+"/"+namespace,initialState:initialState,reducers:{setStep(e,t){e.activeStep=t.payload},setValue(e,t){var{key:t,value:r}=t.payload;isKeyOfObject(t,e[e.activeStep])&&(e[e.activeStep][t]=r,isKeyOfObject(t,e.errors[e.activeStep]))&&(e.errors[e.activeStep][t]=!1)},validate(e){for(var[t,r]of Object.entries(e[e.activeStep]))isKeyOfObject(t,e.errors[e.activeStep])&&!r&&(e.errors[e.activeStep][t]=!0);1!==e.activeStep||validateEmail$1(e[1].email)||(e.errors[1].email=!0)},createUserStart(e){e.status="loading"},createUserSuccess(e){e.status="success"},createUserFailure(e){e.status="failure"},setEnv(e,t){t=t.payload;e.env=`https://hub${"prod"===t?"":"."+t}.aiware.com`},resetState:()=>initialState,activateUserStart(e,t){e.status="loading"},activateUserSuccess(e){e.status="success"},activateUserFailure(e){e.status="failure"}}}),actions=signUpSlice.actions;var signUpSlice$1=signUpSlice.reducer,whitespaces$2="\t\n\v\f\r \u2028\u2029\ufeff",uncurryThis$7=functionUncurryThis,requireObjectCoercible$1=requireObjectCoercible$8,toString$3=toString$a,whitespaces$1=whitespaces$2,replace$4=functionUncurryThis("".replace),ltrim=RegExp("^["+whitespaces$1+"]+"),rtrim=RegExp("(^|[^"+whitespaces$1+"])["+whitespaces$1+"]+$"),createMethod=function(t){return function(e){e=toString$3(requireObjectCoercible$1(e));return 1&t&&(e=replace$4(e,ltrim,"")),e=2&t?replace$4(e,rtrim,"$1"):e}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},PROPER_FUNCTION_NAME=functionName.PROPER,fails$3=fails$n,whitespaces=whitespaces$2,non="
",stringTrimForced=function(e){return fails$3(function(){return!!whitespaces[e]()||non[e]()!==non||PROPER_FUNCTION_NAME&&whitespaces[e].name!==e})},$$9=_export,$trim=stringTrim.trim,forcedStringTrimMethod=stringTrimForced;$$9({target:"String",proto:!0,forced:stringTrimForced("trim")},{trim:function(){return $trim(this)}});const selectStatus=e=>{return null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e.status},selectActiveStep=e=>{return null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e.activeStep},selectFormValues=e=>{var t;return null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t[null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t.activeStep]},selectErrors=e=>{var t;return null==(t=null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t.errors)?void 0:t[null==(t=null==e?void 0:e[SLICE_NAME])?void 0:t.activeStep]},selectCreateUserPayload=e=>{var{1:{email:e,firstName:t,lastName:r},2:{orgName:n,teamSize:o,country:i,industry:a}}=(null==e?void 0:e[SLICE_NAME])||{1:{},2:{}};return{userFirstName:t.trim(),userLastName:r.trim(),userEmail:e,userPhoneNumber:"",userOccupation:"",userCompany:"",organizationName:n.trim(),salesforceAttributes:JSON.stringify({teamSize:o,country:i,industry:a})}};var $location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,classof$3=classofRaw$2,engineIsNode="undefined"!=typeof process&&"process"==classofRaw$2(process),isPrototypeOf$2=objectIsPrototypeOf,$TypeError$5=TypeError,anInstance$3=function(e,t){if(isPrototypeOf$2(t,e))return e;throw $TypeError$5("Incorrect invocation")},uncurryThis$6=functionUncurryThis,fails$2=fails$n,isCallable$6=isCallable$p,classof$2=classof$6,getBuiltIn$2=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$2=uncurryThis$6(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$6(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$6(e))return!1;switch(classof$2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$2(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$2=(isConstructorLegacy.sham=!0,!construct||fails$2(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor$1=isConstructor$2,tryToString$2=tryToString$4,$TypeError$4=TypeError,aConstructor$1=function(e){if(isConstructor$1(e))return e;throw $TypeError$4(tryToString$2(e)+" is not a constructor")},anObject$7=anObject$i,aConstructor=aConstructor$1,isNullOrUndefined$2=isNullOrUndefined$7,wellKnownSymbol$6=wellKnownSymbol$l,SPECIES$1=wellKnownSymbol$l("species"),speciesConstructor$1=function(e,t){var e=anObject$7(e).constructor;return void 0===e||isNullOrUndefined$2(e=anObject$7(e)[SPECIES$1])?t:aConstructor(e)},uncurryThis$5=functionUncurryThisClause,aCallable$5=aCallable$8,NATIVE_BIND=functionBindNative,bind$7=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$5(e),void 0===t?e:NATIVE_BIND?bind$7(e,t):function(){return e.apply(t,arguments)}},uncurryThis$4=functionUncurryThis,arraySlice$3=functionUncurryThis([].slice),$TypeError$3=TypeError,validateArgumentsLength$3=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$8=global$n,apply=functionApply,bind$6=functionBindContext,isCallable$5=isCallable$p,hasOwn$3=hasOwnProperty_1,fails$1=fails$n,html=html$2,arraySlice$2=arraySlice$3,createElement=documentCreateElement$2,validateArgumentsLength$2=validateArgumentsLength$3,IS_IOS$1=engineIsIos,IS_NODE$3=engineIsNode,set=global$8.setImmediate,clear=global$8.clearImmediate,process$3=global$8.process,Dispatch=global$8.Dispatch,Function$1=global$8.Function,MessageChannel=global$8.MessageChannel,String$1=global$8.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails$1(function(){$location=global$8.location}),function(e){var t;hasOwn$3(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$8.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength$2(arguments.length,1);var t=isCallable$5(e)?e:Function$1(e),r=arraySlice$2(arguments,1);return queue$2[++counter]=function(){apply(t,void 0,r)},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$6(port.postMessage,port)):global$8.addEventListener&&isCallable$5(global$8.postMessage)&&!global$8.importScripts&&$location&&"file:"!==$location.protocol&&!fails$1(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$8.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$7=global$n,bind$5=functionBindContext,getOwnPropertyDescriptor$1=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$7.MutationObserver||global$7.WebKitMutationObserver,document$2=global$7.document,process$2=global$7.process,Promise$1=global$7.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor$1(global$7,"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$5(promise.then,promise),function(){then(flush)}):IS_NODE$2?function(){process$2.nextTick(flush)}:(macrotask=bind$5(macrotask,global$7),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$6=global$n,promiseNativeConstructor=global$n.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$5=global$n,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$4=isCallable$p,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$5=wellKnownSymbol$l,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES=(NativePromiseConstructor$3&&NativePromiseConstructor$3.prototype,wellKnownSymbol$5("species")),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT$1=isCallable$4(global$5.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 r(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES]=r,!(SUBCLASSING=e.then(function(){})instanceof r))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 r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw $TypeError$2("Bad Promise constructor");r=e,n=t}),this.resolve=aCallable$4(r),this.reject=aCallable$4(n)},$$8=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE=engineIsNode,global$4=global$n,call$9=functionCall,defineBuiltIn$4=defineBuiltIn$b,setPrototypeOf=objectSetPrototypeOf,setToStringTag$2=setToStringTag$5,setSpecies=setSpecies$2,aCallable$3=aCallable$8,isCallable$3=isCallable$p,isObject$2=isObject$b,anInstance$2=anInstance$3,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule$3=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$3.getterFor(PROMISE),setInternalState$3=InternalStateModule$3.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$3=global$4.TypeError,document$1=global$4.document,process$1=global$4.process,newPromiseCapability$1=newPromiseCapabilityModule$3.f,newGenericPromiseCapability=newPromiseCapability$1,DISPATCH_EVENT=!!(document$1&&document$1.createEvent&&global$4.dispatchEvent),UNHANDLED_REJECTION="unhandledrejection",REJECTION_HANDLED="rejectionhandled",PENDING=0,FULFILLED=1,REJECTED=2,HANDLED=1,UNHANDLED=2,isThenable=function(e){var t;return!(!isObject$2(e)||!isCallable$3(t=e.then))&&t},callReaction=function(e,t){var r,n,o,i=t.value,a=t.state==FULFILLED,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===s?r=i:(u&&u.enter(),r=s(i),u&&(u.exit(),o=!0)),r===e.promise?c(TypeError$3("Promise-chain cycle")):(n=isThenable(r))?call$9(n,r,l,c):l(r)):c(i)}catch(e){u&&!o&&u.exit(),c(e)}},notify=function(r,n){r.notified||(r.notified=!0,microtask(function(){for(var e,t=r.reactions;e=t.get();)callReaction(e,r);r.notified=!1,n&&!r.rejection&&onUnhandled(r)}))},dispatchEvent=function(e,t,r){var n;DISPATCH_EVENT?((n=document$1.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),global$4.dispatchEvent(n)):n={promise:t,reason:r},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$4["on"+e])?t(n):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",r)},onUnhandled=function(n){call$9(task,global$4,function(){var e=n.facade,t=n.value,r=isUnhandled(n);if(r&&(r=perform$2(function(){IS_NODE?process$1.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),n.rejection=IS_NODE||isUnhandled(n)?UNHANDLED:HANDLED,r.error))throw r.value})},isUnhandled=function(e){return e.rejection!==HANDLED&&!e.parent},onHandleUnhandled=function(t){call$9(task,global$4,function(){var e=t.facade;IS_NODE?process$1.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$4=function(t,r,n){return function(e){t(r,e,n)}},internalReject=function(e,t,r){e.done||(e.done=!0,(e=r?r:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(r,e,t){if(!r.done){r.done=!0,t&&(r=t);try{if(r.facade===e)throw TypeError$3("Promise can't be resolved itself");var n=isThenable(e);n?microtask(function(){var t={done:!1};try{call$9(n,e,bind$4(internalResolve,t,r),bind$4(internalReject,t,r))}catch(e){internalReject(t,e,r)}}):(r.value=e,r.state=FULFILLED,notify(r,!1))}catch(e){internalReject({done:!1},e,r)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance$2(this,PromisePrototype),aCallable$3(e),call$9(Internal,this);var t=getInternalPromiseState(this);try{e(bind$4(internalResolve,t),bind$4(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState$3(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$4(PromisePrototype,"then",function(e,t){var r=getInternalPromiseState(this),n=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return r.parent=!0,n.ok=!isCallable$3(e)||e,n.fail=isCallable$3(t)&&t,n.domain=IS_NODE?process$1.domain:void 0,r.state==PENDING?r.reactions.add(n):microtask(function(){callReaction(n,r)}),n.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$4(internalResolve,t),this.reject=bind$4(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$3(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$4(NativePromisePrototype$1,"then",function(e,t){var r=this;return new PromiseConstructor(function(e,t){call$9(nativeThen,r,e,t)}).then(e,t)},{unsafe:!0});try{delete NativePromisePrototype$1.constructor}catch(e){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype$1,PromisePrototype)}$$8({global:!0,constructor:!0,wrap:!0,forced:FORCED_PROMISE_CONSTRUCTOR$4},{Promise:PromiseConstructor}),setToStringTag$2(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var wellKnownSymbol$4=wellKnownSymbol$l,Iterators$1=iterators,ITERATOR$4=wellKnownSymbol$l("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$2=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$4]===e)},classof$1=classof$6,getMethod$2=getMethod$6,isNullOrUndefined$1=isNullOrUndefined$7,Iterators=iterators,wellKnownSymbol$3=wellKnownSymbol$l,ITERATOR$3=wellKnownSymbol$l("iterator"),getIteratorMethod$4=function(e){if(!isNullOrUndefined$1(e))return getMethod$2(e,ITERATOR$3)||getMethod$2(e,"@@iterator")||Iterators[classof$1(e)]},call$8=functionCall,aCallable$2=aCallable$8,anObject$6=anObject$i,tryToString$1=tryToString$4,getIteratorMethod$3=getIteratorMethod$4,$TypeError$1=TypeError,getIterator$3=function(e,t){var r=arguments.length<2?getIteratorMethod$3(e):t;if(aCallable$2(r))return anObject$6(call$8(r,e));throw $TypeError$1(tryToString$1(e)+" is not iterable")},call$7=functionCall,anObject$5=anObject$i,getMethod$1=getMethod$6,iteratorClose$2=function(e,t,r){var n,o;anObject$5(e);try{if(!(n=getMethod$1(e,"return"))){if("throw"===t)throw r;return r}n=call$7(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return anObject$5(n),r},bind$3=functionBindContext,call$6=functionCall,anObject$4=anObject$i,tryToString=tryToString$4,isArrayIteratorMethod$1=isArrayIteratorMethod$2,lengthOfArrayLike$2=lengthOfArrayLike$4,isPrototypeOf$1=objectIsPrototypeOf,getIterator$2=getIterator$3,getIteratorMethod$2=getIteratorMethod$4,iteratorClose$1=iteratorClose$2,$TypeError=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,r){function n(e){return i&&iteratorClose$1(i,"normal",e),new Result(!0,e)}function o(e){return d?(anObject$4(e),h?m(e[0],e[1],n):m(e[0],e[1])):h?m(e,n):m(e)}var i,a,s,l,c,u,p=r&&r.that,d=!(!r||!r.AS_ENTRIES),g=!(!r||!r.IS_RECORD),$=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),m=bind$3(t,p);if(g)i=e.iterator;else if($)i=e;else{if(!(r=getIteratorMethod$2(e)))throw $TypeError(tryToString(e)+" is not iterable");if(isArrayIteratorMethod$1(r)){for(a=0,s=lengthOfArrayLike$2(e);a<s;a++)if((l=o(e[a]))&&isPrototypeOf$1(ResultPrototype,l))return l;return new Result(!1)}i=getIterator$2(e,r)}for(c=(g?e:i).next;!(u=call$6(c,i)).done;){try{l=o(u.value)}catch(e){iteratorClose$1(i,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf$1(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol$2=wellKnownSymbol$l,ITERATOR$2=wellKnownSymbol$l("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$2]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,checkCorrectnessOfIteration$1=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var r=!1;try{var n={};n[ITERATOR$2]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},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(){})}),$$7=_export,call$5=functionCall,aCallable$1=aCallable$8,newPromiseCapabilityModule$2=newPromiseCapability$2,perform$1=perform$3,iterate$1=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION$1=promiseStaticsIncorrectIteration,$$6=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{all:function(e){var s=this,t=newPromiseCapabilityModule$2.f(s),l=t.resolve,c=t.reject,r=perform$1(function(){var n=aCallable$1(s.resolve),o=[],i=0,a=1;iterate$1(e,function(e){var t=i++,r=!1;a++,call$5(n,s,e).then(function(e){r||(r=!0,o[t]=e,--a)||l(o)},c)}),--a||l(o)});return r.error&&c(r.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable$2=isCallable$p,defineBuiltIn$3=defineBuiltIn$b,NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,$$5=($$6({target:"Promise",proto:!0,forced:FORCED_PROMISE_CONSTRUCTOR$2,real:!0},{catch:function(e){return this.then(void 0,e)}}),isCallable$2(NativePromiseConstructor)&&(method=getBuiltIn$1("Promise").prototype.catch,NativePromisePrototype.catch!==method)&&defineBuiltIn$3(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$4=functionCall,aCallable=aCallable$8,newPromiseCapabilityModule$1=newPromiseCapability$2,perform=perform$3,iterate=iterate$2,PROMISE_STATICS_INCORRECT_ITERATION=promiseStaticsIncorrectIteration,$$4=(_export({target:"Promise",stat:!0,forced:promiseStaticsIncorrectIteration},{race:function(e){var r=this,n=newPromiseCapabilityModule$1.f(r),o=n.reject,t=perform(function(){var t=aCallable(r.resolve);iterate(e,function(e){call$4(t,r,e).then(n.resolve,o)})});return t.error&&o(t.value),n.promise}}),_export),call$3=functionCall,newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject$3=($$4({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return call$3(t.reject,void 0,e),t.promise}}),anObject$i),isObject$1=isObject$b,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject$3(e),isObject$1(t)&&t.constructor===e?t:((0,(e=newPromiseCapability.f(e)).resolve)(t),e.promise)},$$3=_export,getBuiltIn=getBuiltIn$7,FORCED_PROMISE_CONSTRUCTOR=promiseConstructorDetection.CONSTRUCTOR,promiseResolve=promiseResolve$1;function __awaiter(e,a,s,l){return new(s=s||Promise)(function(r,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((l=l.apply(e,a||[])).next())})}getBuiltIn("Promise"),$$3({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR},{resolve:function(e){return promiseResolve(this,e)}});const getGlobalProviders=()=>__awaiter(void 0,void 0,void 0,function*(){let t=[];try{var e=yield fetch(getRestApiUrlFromConfig()+"/api/admin/openid");t=200===e.status?(yield e.json()).results:(window.DEBUG&&console.error("was not able to retrieve global open id providers",e),[])}catch(e){window.DEBUG&&console.error("was not able to retrieve global open id providers",e),t=[]}return t}),getOrgOpenIdProviders=(r,n)=>__awaiter(void 0,void 0,void 0,function*(){let t=[];try{var e=yield fetch(n||getRestApiUrlFromConfig()+"/api/admin/openid/org/"+r);t=200===e.status?(yield e.json()).results:(window.DEBUG&&console.error("was not able to retrieve global open id providers",e),[])}catch(e){window.DEBUG&&console.error("was not able to retrieve global open id providers",e),t=[]}return t}),linkUserToOidAndLogin=(e,t,r)=>fetch(getRestApiUrlFromConfig()+"/api/admin/openid/linkUserToOid",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({userName:e,password:t,sessionKey:r})}),userLoginMutation=(r,n,o)=>__awaiter(void 0,void 0,void 0,function*(){var e=o||getConfig().baseUrl,t={query:`
|
|
2
2
|
mutation UserLogin($input: UserLogin!) {
|
|
3
3
|
userLogin(input: $input) {
|
|
4
4
|
token
|
package/js-core.esm23.js.gz
CHANGED
|
Binary file
|
package/js-core.esm28.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as _extends,
|
|
1
|
+
import{_ as _extends,ds as createTheme,i as capitalize,dt as useThemeProps,r as react,e as _objectWithoutPropertiesLoose,j as jsxRuntime,f as clsx,h as composeClasses,c as generateUtilityClass,s as styled,d as useThemeProps$1}from"./js-core.esm.js";import{G as systemStyled}from"./js-core.esm6.js";const _excluded=["className","component","disableGutters","fixed","maxWidth","classes"],defaultTheme=createTheme(),defaultCreateStyledComponent=systemStyled("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["maxWidth"+capitalize(String(e.maxWidth))],e.fixed&&t.fixed,e.disableGutters&&t.disableGutters]}}),useThemePropsDefault=e=>useThemeProps({props:e,name:"MuiContainer",defaultTheme:defaultTheme}),useUtilityClasses=(e,t)=>{var{classes:e,fixed:s,disableGutters:a,maxWidth:i}=e,i={root:["root",i&&"maxWidth"+capitalize(String(i)),s&&"fixed",a&&"disableGutters"]};return composeClasses(i,e=>generateUtilityClass(t,e),e)};function createContainer(e={}){const{createStyledComponent:t=defaultCreateStyledComponent,useThemeProps:d=useThemePropsDefault,componentName:m="MuiContainer"}=e,l=t(({theme:e,ownerState:t})=>_extends({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:a,ownerState:e})=>e.fixed&&Object.keys(a.breakpoints.values).reduce((e,t)=>{var s=a.breakpoints.values[t];return 0!==s&&(e[a.breakpoints.up(t)]={maxWidth:""+s+a.breakpoints.unit}),e},{}),({theme:e,ownerState:t})=>_extends({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:""+e.breakpoints.values[t.maxWidth]+e.breakpoints.unit}}));return react.exports.forwardRef(function(e,t){var e=d(e),{className:s,component:a="div",disableGutters:i=!1,fixed:r=!1,maxWidth:o="lg"}=e,n=_objectWithoutPropertiesLoose(e,_excluded),e=_extends({},e,{component:a,disableGutters:i,fixed:r,maxWidth:o}),i=useUtilityClasses(e,m);return jsxRuntime.exports.jsx(l,_extends({as:a,ownerState:e,className:clsx(i.root,s),ref:t},n))})}const Container=createContainer({createStyledComponent:styled("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["maxWidth"+capitalize(String(e.maxWidth))],e.fixed&&t.fixed,e.disableGutters&&t.disableGutters]}}),useThemeProps:e=>useThemeProps$1({props:e,name:"MuiContainer"})});var Container$1=Container;export{Container$1 as C};
|
package/js-core.esm28.js.gz
CHANGED
|
Binary file
|