aiware-js 1.0.0-master.1237 → 1.0.0-master.1239

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.esm71.js CHANGED
@@ -1,4 +1,4 @@
1
- import{X as createSlice,Y as combineReducers,U as createSelector,K as userSelector,j as jsxRuntime,V as Box,Z as useSelector,r as react,bW as AIWareCacheProvider,aJ as AIWareThemeProvider,z as all,fJ as selectIsUserAdmin,w as useIntl,bR as ReactExports,aE as betaFeaturesSelector,bX as selectIsFullscreenEnabled,fy as selectPanelByPanelName,B as takeEvery$1,A as takeLatest$1,f9 as useBackupImg,ax as img$1P,a1 as hidePanel,W as isEqual_1,ap as mountPanel,a2 as lodash,fW as green,C as select,a0 as selectApiConfigs,G as put,a4 as preferredLanguageSelector,F as call$j,a5 as showMessage,a6 as MessageSeverity,d_ as selectOrgId,am as CircularProgress,a7 as AIWareFormatMessage,T as gqlIntrospection,a3 as baseGraphQLApiWithError,e5 as introspection}from"./js-core.esm.js";import{F as FormattedMessage,m as makeStyles,T as Typography,ap as ErrorState,o as DynamicModuleLoader,A as AIWareIntlProvider,X as CustomTabs,Y as TabPanel,g as Button,D as Divider,ah as Grid,ar as NoApps,ao as NullState,bf as isNil_1,cS as ConfirmationModal,q as List,cQ as Lock,U as Select,V as MenuItem}from"./js-core.esm4.js";import{m as EApplicationConfigLevel,c as default_1$2,o as EApplicationConfigType,S as Switch,j as selectAdminCenterOrgIdString,i as safeFormatMessage}from"./js-core.esm2.js";import{b as EResourceTypeValue,c as EApplicationStatus}from"./js-core.esm13.js";import{j as Skeleton,T as TextField,u as InputAdornment,v as default_1,b as Stack,af as ReactMarkdown,g as Tooltip,I as IconButton,M as CopyText,as as AutoSizer,at as InfiniteLoader,ak as VariableSizeList,A as Avatar,k as Chip,m as devErrorLogger}from"./js-core.esm5.js";import{EventsInfo as EventsInfoDetails,actions as index,getAppCenterBrowseModule,AppDetailsPanelHeader as PanelHeader}from"./js-core.esm77.js";import{R as ResourceCardStatus}from"./js-core.esm78.js";import{d as default_1$1}from"./js-core.esm41.js";import{C as Container}from"./js-core.esm28.js";import{A as Accordion,a as AccordionSummary,b as AccordionDetails}from"./js-core.esm44.js";import{A as Add}from"./js-core.esm79.js";import{A as Autocomplete$1}from"./js-core.esm29.js";import{L as ListItem,b as ListItemAvatar,a as ListItemText,e as ListItemSecondaryAction}from"./js-core.esm3.js";import{u as useDispatch}from"./js-core.esm6.js";import"./js-core.esm42.js";import"./js-core.esm49.js";import"./js-core.esm16.js";import"./js-core.esm45.js";import"./js-core.esm37.js";import"./js-core.esm48.js";import"./js-core.esm36.js";import"./js-core.esm63.js";var match$1,version,set$1,get,store,STATE,activeXDocument,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,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$m=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||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$i=Function.prototype.call,functionCall=NATIVE_BIND$3?call$i.bind(call$i):function(){return call$i.apply(call$i,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$3=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative,FunctionPrototype$2=Function.prototype,call$h=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$h,call$h),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$h.apply(e,arguments)}},uncurryThis$m=functionUncurryThis,toString$9=uncurryThis$m({}.toString),stringSlice$6=uncurryThis$m("".slice),classofRaw$2=function(e){return stringSlice$6(toString$9(e),8,-1)},uncurryThis$l=functionUncurryThis,fails$k=fails$n,classof$7=classofRaw$2,$Object$4=Object,split=functionUncurryThis("".split),indexedObject=fails$k(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"===classof$7(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$5=function(e){return null==e},isNullOrUndefined$4=isNullOrUndefined$5,$TypeError$g=TypeError,requireObjectCoercible$7=function(e){if(isNullOrUndefined$4(e))throw new $TypeError$g("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$6=requireObjectCoercible$7,toIndexedObject$5=function(e){return IndexedObject$2(requireObjectCoercible$6(e))},documentAll="object"==typeof document&&document.all,isCallable$m=void 0===documentAll&&void 0!==documentAll?function(e){return"function"==typeof e||e===documentAll}:function(e){return"function"==typeof e},isCallable$l=isCallable$m,isObject$b=function(e){return"object"==typeof e?null!==e:isCallable$l(e)},global$l=global$m,isCallable$k=isCallable$m,aFunction=function(e){return isCallable$k(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$l[e]):global$l[e]&&global$l[e][t]},uncurryThis$k=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$k=global$m,userAgent$5=engineUserAgent,process$3=global$k.process,Deno$1=global$k.Deno,versions=process$3&&process$3.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match$1=v8.split("."))[0]&&match$1[0]<4?1:+(match$1[0]+match$1[1]):version)&&userAgent$5&&(!(match$1=userAgent$5.match(/Edge\/(\d+)/))||74<=match$1[1])&&(match$1=userAgent$5.match(/Chrome\/(\d+)/))?+match$1[1]:version,V8_VERSION$1=engineV8Version,fails$j=fails$n,global$j=global$m,$String$5=global$m.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$j(function(){var e=Symbol("symbol detection");return!$String$5(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$j=isCallable$m,isPrototypeOf$4=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$j(t)&&isPrototypeOf$4(t.prototype,$Object$3(e))},$String$4=String,tryToString$5=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$i=isCallable$m,tryToString$4=tryToString$5,$TypeError$f=TypeError,aCallable$a=function(e){if(isCallable$i(e))return e;throw new $TypeError$f(tryToString$4(e)+" is not a function")},aCallable$9=aCallable$a,isNullOrUndefined$3=isNullOrUndefined$5,getMethod$4=function(e,t){e=e[t];return isNullOrUndefined$3(e)?void 0:aCallable$9(e)},call$g=functionCall,isCallable$h=isCallable$m,isObject$a=isObject$b,$TypeError$e=TypeError,ordinaryToPrimitive$1=function(e,t){var n,i;if("string"===t&&isCallable$h(n=e.toString)&&!isObject$a(i=call$g(n,e)))return i;if(isCallable$h(n=e.valueOf)&&!isObject$a(i=call$g(n,e)))return i;if("string"!==t&&isCallable$h(n=e.toString)&&!isObject$a(i=call$g(n,e)))return i;throw new $TypeError$e("Can't convert object to primitive value")},sharedStore={exports:{}},global$i=global$m,defineProperty$6=Object.defineProperty,defineGlobalProperty$3=function(t,n){try{defineProperty$6(global$i,t,{value:n,configurable:!0,writable:!0})}catch(e){global$i[t]=n}return n},globalThis$1=global$m,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=sharedStore.exports=globalThis$1[SHARED]||defineGlobalProperty$2(SHARED,{}),store$2=((store$3.versions||(store$3.versions=[])).push({version:"3.37.0",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"}),sharedStore.exports),shared$4=function(e,t){return store$2[e]||(store$2[e]=t||{})},requireObjectCoercible$5=requireObjectCoercible$7,$Object$2=Object,toObject$6=function(e){return $Object$2(requireObjectCoercible$5(e))},uncurryThis$j=functionUncurryThis,toObject$5=toObject$6,hasOwnProperty$1=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty$1(toObject$5(e),t)},uncurryThis$i=functionUncurryThis,id=0,postfix=Math.random(),toString$8=uncurryThis$i(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$8(++id+postfix,36)},global$h=global$m,shared$3=shared$4,hasOwn$b=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL$1=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$m.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$i=function(e){return hasOwn$b(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL$1&&hasOwn$b(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$f=functionCall,isObject$9=isObject$b,isSymbol$1=isSymbol$2,getMethod$3=getMethod$4,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$h=wellKnownSymbol$i,$TypeError$d=TypeError,TO_PRIMITIVE=wellKnownSymbol$i("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$9(e)||isSymbol$1(e))return e;var n=getMethod$3(e,TO_PRIMITIVE);if(n){if(n=call$f(n,e,t=void 0===t?"default":t),!isObject$9(n)||isSymbol$1(n))return n;throw new $TypeError$d("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$g=global$m,isObject$8=isObject$b,document$3=global$m.document,EXISTS$1=isObject$8(document$3)&&isObject$8(document$3.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$c=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$b=descriptors,call$e=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$4=toIndexedObject$5,toPropertyKey$1=toPropertyKey$2,hasOwn$a=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$b?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$a(e,t))return createPropertyDescriptor$2(!call$e(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$a=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$c=TypeError,anObject$d=function(e){if(isObject$7(e))return e;throw new $TypeError$c($String$3(e)+" is not an object")},DESCRIPTORS$9=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$c=anObject$d,toPropertyKey=toPropertyKey$2,$TypeError$b=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$8=(objectDefineProperty.f=DESCRIPTORS$9?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,n){var i;return anObject$c(e),t=toPropertyKey(t),anObject$c(n),"function"==typeof e&&"prototype"===t&&"value"in n&&WRITABLE in n&&!n[WRITABLE]&&(i=$getOwnPropertyDescriptor(e,t))&&i[WRITABLE]&&(e[t]=n.value,n={configurable:(CONFIGURABLE$1 in n?n:i)[CONFIGURABLE$1],enumerable:(ENUMERABLE in n?n:i)[ENUMERABLE],writable:!1}),$defineProperty(e,t,n)}:$defineProperty:function(e,t,n){if(anObject$c(e),t=toPropertyKey(t),anObject$c(n),IE8_DOM_DEFINE)try{return $defineProperty(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new $TypeError$b("Accessors not supported");return"value"in n&&(e[t]=n.value),e},descriptors),definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$5=DESCRIPTORS$8?function(e,t,n){return definePropertyModule$3.f(e,t,createPropertyDescriptor$1(1,n))}:function(e,t,n){return e[t]=n,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$7=descriptors,hasOwn$9=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$7&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$9(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$7||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$h=functionUncurryThis,isCallable$g=isCallable$m,store$1=sharedStore.exports,functionToString=uncurryThis$h(Function.toString),inspectSource$3=(isCallable$g(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$f=global$m,isCallable$f=isCallable$m,WeakMap$1=global$m.WeakMap,weakMapBasicDetection=isCallable$f(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$2=shared$4,uid=uid$2,keys=shared$4("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$e=global$m,isObject$6=isObject$b,createNonEnumerableProperty$4=createNonEnumerableProperty$5,hasOwn$8=hasOwnProperty_1,shared$1=sharedStore.exports,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global$e.TypeError,WeakMap=global$e.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 new TypeError$2("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 new TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},function(e){return store.has(e)}):(STATE=sharedKey$2("state"),hiddenKeys$3[STATE]=!0,set$1=function(e,t){if(hasOwn$8(e,STATE))throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$4(e,STATE,t),t},get=function(e){return hasOwn$8(e,STATE)?e[STATE]:{}},function(e){return hasOwn$8(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$g=functionUncurryThis,fails$g=fails$n,isCallable$e=isCallable$m,hasOwn$7=hasOwnProperty_1,DESCRIPTORS$6=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$2=internalState,enforceInternalState=InternalStateModule$2.enforce,getInternalState$2=InternalStateModule$2.get,$String$2=String,defineProperty$5=Object.defineProperty,stringSlice$5=uncurryThis$g("".slice),replace$4=uncurryThis$g("".replace),join=uncurryThis$g([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$6&&!fails$g(function(){return 8!==defineProperty$5(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,n){"Symbol("===stringSlice$5($String$2(t),0,7)&&(t="["+replace$4($String$2(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!hasOwn$7(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$6?defineProperty$5(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&n&&hasOwn$7(n,"arity")&&e.length!==n.arity&&defineProperty$5(e,"length",{value:n.arity});try{n&&hasOwn$7(n,"constructor")&&n.constructor?DESCRIPTORS$6&&defineProperty$5(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=enforceInternalState(e);return hasOwn$7(n,"source")||(n.source=join(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$d=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$e(this)&&getInternalState$2(this).source||inspectSource$2(this)},"toString"),isCallable$m),definePropertyModule$2=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$7=function(e,t,n,i){var r=(i=i||{}).enumerable,a=void 0!==i.name?i.name:t;if(isCallable$d(n)&&makeBuiltIn$1(n,a,i),i.global)r?e[t]=n:defineGlobalProperty$1(t,n);else{try{i.unsafe?e[t]&&(r=!0):delete e[t]}catch(e){}r?e[t]=n:definePropertyModule$2.f(e,t,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor$2=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor$2:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$4=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$3=toIntegerOrInfinity$4,max$1=Math.max,min$2=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$3(e);return e<0?max$1(e+t,0):min$2(e,t)},toIntegerOrInfinity$2=toIntegerOrInfinity$4,min$1=Math.min,toLength$2=function(e){e=toIntegerOrInfinity$2(e);return 0<e?min$1(e,9007199254740991):0},toLength$1=toLength$2,lengthOfArrayLike$4=function(e){return toLength$1(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$3=lengthOfArrayLike$4,createMethod$3=function(o){return function(e,t,n){var i=toIndexedObject$3(e),r=lengthOfArrayLike$3(i);if(0!==r){var a,s=toAbsoluteIndex(n,r);if(o&&t!=t){for(;s<r;)if((a=i[s++])!=a)return!0}else for(;s<r;s++)if((o||s in i)&&i[s]===t)return o||s||0}return!o&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},uncurryThis$f=functionUncurryThis,hasOwn$6=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$2=uncurryThis$f([].push),objectKeysInternal=function(e,t){var n,i=toIndexedObject$2(e),r=0,a=[];for(n in i)!hasOwn$6(hiddenKeys$2,n)&&hasOwn$6(i,n)&&push$2(a,n);for(;t.length>r;)!hasOwn$6(i,n=t[r++])||~indexOf$1(a,n)||push$2(a,n);return a},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$e=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$b=anObject$d,concat$2=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$b(e)),n=getOwnPropertySymbolsModule$1.f;return n?concat$2(t,n(e)):t},hasOwn$5=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$2=function(e,t,n){for(var i=ownKeys(t),r=definePropertyModule$1.f,a=getOwnPropertyDescriptorModule.f,s=0;s<i.length;s++){var o=i[s];hasOwn$5(e,o)||n&&hasOwn$5(n,o)||r(e,o,a(t,o))}},fails$f=fails$n,isCallable$c=isCallable$m,replacement=/#|\.prototype\./,isForced$2=function(e,t){e=data[normalize(e)];return e===POLYFILL||e!==NATIVE&&(isCallable$c(t)?fails$f(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,global$d=global$m,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$3=createNonEnumerableProperty$5,defineBuiltIn$6=defineBuiltIn$7,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties$1=copyConstructorProperties$2,isForced$1=isForced_1,_export=function(e,t){var n,i,r,a=e.target,s=e.global,o=e.stat,l=s?global$d:o?global$d[a]||defineGlobalProperty(a,{}):global$d[a]&&global$d[a].prototype;if(l)for(n in t){if(i=t[n],r=e.dontCallGetSet?(r=getOwnPropertyDescriptor$1(l,n))&&r.value:l[n],!isForced$1(s?n:a+(o?".":"#")+n,e.forced)&&void 0!==r){if(typeof i==typeof r)continue;copyConstructorProperties$1(i,r)}(e.sham||r&&r.sham)&&createNonEnumerableProperty$3(i,"sham",!0),defineBuiltIn$6(l,n,i,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$5=descriptors,uncurryThis$d=functionUncurryThis,call$d=functionCall,fails$e=fails$n,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$4=toObject$6,IndexedObject$1=indexedObject,$assign=Object.assign,defineProperty$4=Object.defineProperty,concat$1=uncurryThis$d([].concat),objectAssign=!$assign||fails$e(function(){var e,t,n,i;return!(!DESCRIPTORS$5||1===$assign({b:1},$assign(defineProperty$4({},"a",{enumerable:!0,get:function(){defineProperty$4(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},i="abcdefghijklmnopqrst",(e={})[n=Symbol("assign detection")]=7,i.split("").forEach(function(e){t[e]=e}),7!==$assign({},e)[n])||objectKeys$1($assign({},t)).join("")!==i})?function(e,t){for(var n=toObject$4(e),i=arguments.length,r=1,a=getOwnPropertySymbolsModule.f,s=propertyIsEnumerableModule.f;r<i;)for(var o,l=IndexedObject$1(arguments[r++]),c=a?concat$1(objectKeys$1(l),a(l)):objectKeys$1(l),u=c.length,d=0;d<u;)o=c[d++],DESCRIPTORS$5&&!call$d(s,l,o)||(n[o]=l[o]);return n}:$assign,$$e=_export,assign=objectAssign,objectDefineProperties=(_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign}),{}),DESCRIPTORS$4=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule=objectDefineProperty,anObject$a=anObject$d,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn$4=(objectDefineProperties.f=DESCRIPTORS$4&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$a(e);for(var n,i=toIndexedObject$1(t),r=objectKeys(t),a=r.length,s=0;s<a;)definePropertyModule.f(e,n=r[s++],i[n]);return e},getBuiltIn$7),html$2=getBuiltIn$7("document","documentElement"),anObject$9=anObject$d,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 n;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$9(e),n=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,n[IE_PROTO$1]=e):n=NullProtoObject(),void 0===t?n:definePropertiesModule.f(n,t)}),wellKnownSymbol$g=wellKnownSymbol$i,create$2=objectCreate,defineProperty$3=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$g("unscopables"),ArrayPrototype$1=Array.prototype,addToUnscopables$2=(void 0===ArrayPrototype$1[UNSCOPABLES]&&defineProperty$3(ArrayPrototype$1,UNSCOPABLES,{configurable:!0,value:create$2(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()}),iterators=($$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"),{}),fails$c=fails$n,correctPrototypeGetter=!fails$n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$4=hasOwnProperty_1,isCallable$b=isCallable$m,toObject$3=toObject$6,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object$1=Object,ObjectPrototype=$Object$1.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object$1.getPrototypeOf:function(e){var t,e=toObject$3(e);return hasOwn$4(e,IE_PROTO)?e[IE_PROTO]:(t=e.constructor,isCallable$b(t)&&e instanceof t?t.prototype:e instanceof $Object$1?ObjectPrototype:null)},fails$b=fails$n,isCallable$a=isCallable$m,isObject$5=isObject$b,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$5=defineBuiltIn$7,wellKnownSymbol$f=wellKnownSymbol$i,ITERATOR$5=wellKnownSymbol$i("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$5(IteratorPrototype$2)||fails$b(function(){var e={};return IteratorPrototype$2[ITERATOR$5].call(e)!==e})),iteratorsCore=(isCallable$a((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$5])||defineBuiltIn$5(IteratorPrototype$2,ITERATOR$5,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$2=objectDefineProperty.f,hasOwn$3=hasOwnProperty_1,wellKnownSymbol$e=wellKnownSymbol$i,TO_STRING_TAG$2=wellKnownSymbol$i("toStringTag"),setToStringTag$4=function(e,t,n){(e=e&&!n?e.prototype:e)&&!hasOwn$3(e,TO_STRING_TAG$2)&&defineProperty$2(e,TO_STRING_TAG$2,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create$1=objectCreate,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag$3=setToStringTag$4,Iterators$4=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,n,i){t+=" Iterator";return e.prototype=create$1(IteratorPrototype$1,{next:createPropertyDescriptor(+!i,n)}),setToStringTag$3(e,t,!1),Iterators$4[t]=returnThis$1,e},uncurryThis$c=functionUncurryThis,aCallable$8=aCallable$a,functionUncurryThisAccessor=function(e,t,n){try{return uncurryThis$c(aCallable$8(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},isObject$4=isObject$b,isPossiblePrototype$1=function(e){return isObject$4(e)||null===e},isPossiblePrototype=isPossiblePrototype$1,$String$1=String,$TypeError$a=TypeError,aPossiblePrototype$1=function(e){if(isPossiblePrototype(e))return e;throw new $TypeError$a("Can't set "+$String$1(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,isObject$3=isObject$b,requireObjectCoercible$4=requireObjectCoercible$7,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),i=e instanceof Array}catch(e){}return function(e,t){return requireObjectCoercible$4(e),aPossiblePrototype(t),isObject$3(e)&&(i?n(e,t):e.__proto__=t),e}}():void 0),$$c=_export,call$c=functionCall,FunctionName=functionName,isCallable$9=isCallable$m,createIteratorConstructor=iteratorCreateConstructor,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf$1=objectSetPrototypeOf,setToStringTag$2=setToStringTag$4,createNonEnumerableProperty$2=createNonEnumerableProperty$5,defineBuiltIn$4=defineBuiltIn$7,wellKnownSymbol$d=wellKnownSymbol$i,Iterators$3=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME$2=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$4=wellKnownSymbol$d("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,n,i,r,a,s){createIteratorConstructor(n,t,i);function o(e){if(e===r&&f)return f;if(!BUGGY_SAFARI_ITERATORS&&e&&e in d)return d[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new n(this,e)}}return function(){return new n(this)}}var l,c,i=t+" Iterator",u=!1,d=e.prototype,p=d[ITERATOR$4]||d["@@iterator"]||r&&d[r],f=!BUGGY_SAFARI_ITERATORS&&p||o(r),m="Array"===t&&d.entries||p;if(m&&(m=getPrototypeOf(m.call(new e)))!==Object.prototype&&m.next&&(getPrototypeOf(m)!==IteratorPrototype&&(setPrototypeOf$1?setPrototypeOf$1(m,IteratorPrototype):isCallable$9(m[ITERATOR$4])||defineBuiltIn$4(m,ITERATOR$4,returnThis)),setToStringTag$2(m,i,!0)),PROPER_FUNCTION_NAME$2&&r===VALUES&&p&&p.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$2(d,"name",VALUES):(u=!0,f=function(){return call$c(p,this)})),r)if(l={values:o(VALUES),keys:a?f:o(KEYS),entries:o(ENTRIES)},s)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in d||defineBuiltIn$4(d,c,l[c]);else $$c({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return d[ITERATOR$4]!==f&&defineBuiltIn$4(d,ITERATOR$4,f,{name:r}),Iterators$3[t]=f,l},createIterResultObject$1=function(e,t){return{value:e,done:t}},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$2,Iterators$2=iterators,InternalStateModule$1=internalState,defineProperty$1=objectDefineProperty.f,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$1,DESCRIPTORS$3=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState$1=InternalStateModule$1.set,getInternalState$1=InternalStateModule$1.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",function(e,t){setInternalState$1(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState$1(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,createIterResultObject(void 0,!0);switch(e.kind){case"keys":return createIterResultObject(n,!1);case"values":return createIterResultObject(t[n],!1)}return createIterResultObject([n,t[n]],!1)},"values"),values=Iterators$2.Arguments=Iterators$2.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS$3&&"values"!==values.name)try{defineProperty$1(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,isObject$2=isObject$b,classof$6=classofRaw$2,wellKnownSymbol$c=wellKnownSymbol$i,MATCH$1=wellKnownSymbol$i("match"),isRegexp=function(e){var t;return isObject$2(e)&&(void 0!==(t=e[MATCH$1])?!!t:"RegExp"===classof$6(e))},isRegExp=isRegexp,$TypeError$9=TypeError,notARegexp=function(e){if(isRegExp(e))throw new $TypeError$9("The method doesn't accept regular expressions");return e},wellKnownSymbol$b=wellKnownSymbol$i,TO_STRING_TAG$1=wellKnownSymbol$i("toStringTag"),test$1={},toStringTagSupport=(test$1[TO_STRING_TAG$1]="z","[object z]"===String(test$1)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$8=isCallable$m,classofRaw$1=classofRaw$2,wellKnownSymbol$a=wellKnownSymbol$i,TO_STRING_TAG=wellKnownSymbol$i("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$5=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"===(t=classofRaw$1(e))&&isCallable$8(e.callee)?"Arguments":t},classof$4=classof$5,$String=String,toString$7=function(e){if("Symbol"===classof$4(e))throw new TypeError("Cannot convert a Symbol value to a string");return $String(e)},wellKnownSymbol$9=wellKnownSymbol$i,MATCH=wellKnownSymbol$i("match"),correctIsRegexpLogic=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[MATCH]=!1,"/./"[t](n)}catch(e){}}return!1},$$b=_export,uncurryThis$b=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible$3=requireObjectCoercible$7,toString$6=toString$7,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf$1=functionUncurryThis("".indexOf),domIterables=($$b({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf$1(toString$6(requireObjectCoercible$3(this)),toString$6(notARegExp(e)),1<arguments.length?arguments[1]:void 0)}}),{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$c=global$m,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty$1=createNonEnumerableProperty$5,setToStringTag$1=setToStringTag$4,wellKnownSymbol$8=wellKnownSymbol$i,ITERATOR$3=wellKnownSymbol$i("iterator"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR$3]!==ArrayValues)try{createNonEnumerableProperty$1(t,ITERATOR$3,ArrayValues)}catch(e){t[ITERATOR$3]=ArrayValues}if(setToStringTag$1(t,e,!0),DOMIterables[e])for(var n in ArrayIteratorMethods)if(t[n]!==ArrayIteratorMethods[n])try{createNonEnumerableProperty$1(t,n,ArrayIteratorMethods[n])}catch(e){t[n]=ArrayIteratorMethods[n]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$c[COLLECTION_NAME]&&global$c[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");var EmptyStringDescriptionStore,SymbolWrapper,NATIVE_SYMBOL,thisSymbolValue,symbolDescriptiveString,regexp,replace$3,stringSlice$4,makeBuiltIn=makeBuiltIn$3.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$2=function(e,t,n){return n.get&&makeBuiltIn(n.get,t,{getter:!0}),n.set&&makeBuiltIn(n.set,t,{setter:!0}),defineProperty.f(e,t,n)},$$a=_export,DESCRIPTORS$2=descriptors,global$b=global$m,uncurryThis$a=functionUncurryThis,hasOwn$2=hasOwnProperty_1,isCallable$7=isCallable$m,isPrototypeOf$3=objectIsPrototypeOf,toString$5=toString$7,defineBuiltInAccessor$1=defineBuiltInAccessor$2,copyConstructorProperties=copyConstructorProperties$2,NativeSymbol=global$m.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype,anObject$8=(!DESCRIPTORS$2||!isCallable$7(NativeSymbol)||"description"in SymbolPrototype&&void 0===NativeSymbol().description||(EmptyStringDescriptionStore={},copyConstructorProperties(SymbolWrapper=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:toString$5(arguments[0]),t=isPrototypeOf$3(SymbolPrototype,this)?new NativeSymbol(e):void 0===e?NativeSymbol():NativeSymbol(e);return""===e&&(EmptyStringDescriptionStore[t]=!0),t},NativeSymbol),(SymbolWrapper.prototype=SymbolPrototype).constructor=SymbolWrapper,NATIVE_SYMBOL="Symbol(description detection)"===String(NativeSymbol("description detection")),thisSymbolValue=uncurryThis$a(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis$a(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace$3=uncurryThis$a("".replace),stringSlice$4=uncurryThis$a("".slice),defineBuiltInAccessor$1(SymbolPrototype,"description",{configurable:!0,get:function(){var e=thisSymbolValue(this);return hasOwn$2(EmptyStringDescriptionStore,e)?"":(e=symbolDescriptiveString(e),""===(e=NATIVE_SYMBOL?stringSlice$4(e,7,-1):replace$3(e,regexp,"$1"))?void 0:e)}}),$$a({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper})),anObject$d),regexpFlags$1=function(){var e=anObject$8(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},call$b=functionCall,hasOwn$1=hasOwnProperty_1,isPrototypeOf$2=objectIsPrototypeOf,regExpFlags=regexpFlags$1,RegExpPrototype$2=RegExp.prototype,regexpGetFlags=function(e){var t=e.flags;return void 0!==t||"flags"in RegExpPrototype$2||hasOwn$1(e,"flags")||!isPrototypeOf$2(RegExpPrototype$2,e)?t:call$b(regExpFlags,e)},PROPER_FUNCTION_NAME$1=functionName.PROPER,defineBuiltIn$3=defineBuiltIn$7,anObject$7=anObject$d,$toString=toString$7,fails$a=fails$n,getRegExpFlags=regexpGetFlags,TO_STRING="toString",RegExpPrototype$1=RegExp.prototype,nativeToString=RegExpPrototype$1[TO_STRING],NOT_GENERIC=fails$a(function(){return"/a/b"!==nativeToString.call({source:"a",flags:"b"})}),INCORRECT_NAME=PROPER_FUNCTION_NAME$1&&nativeToString.name!==TO_STRING;(NOT_GENERIC||INCORRECT_NAME)&&defineBuiltIn$3(RegExpPrototype$1,TO_STRING,function(){var e=anObject$7(this);return"/"+$toString(e.source)+"/"+$toString(getRegExpFlags(e))},{unsafe:!0});const ApplicationListItem=({app:e,onOpenApplicationDetailPanel:t,showInstalledChip:n=!1,isAppInstalled:i})=>{var{name:e,description:r,iconUrl:a,id:s,ownerOrganizationId:o}=e,l=useSelector(selectAdminCenterOrgIdString),o=l&&o&&o.toString()===l,l={height:"18px",borderRadius:"30px",mb:1},c={fontWeight:"800",fontSize:"9px",lineHeight:"12px",textTransform:"uppercase"};return jsxRuntime.exports.jsxs(react.exports.Fragment,Object.assign({"data-test":"os-admin-center-applications-list-item"},{children:[jsxRuntime.exports.jsxs(ListItem,Object.assign({alignItems:"center",sx:{minHeight:"134px",p:4}},{children:[jsxRuntime.exports.jsx(ListItemAvatar,Object.assign({sx:{alignSelf:"flex-start"},"data-test":"os-admin-center-applications-list-item-avatar"},{children:jsxRuntime.exports.jsx(Avatar,Object.assign({src:a,alt:e},{children:jsxRuntime.exports.jsx(Avatar,{children:e[0]})}))})),jsxRuntime.exports.jsx(ListItemText,{sx:{display:"inline",maxWidth:"390px",alignSelf:"flex-start",m:0},primary:jsxRuntime.exports.jsxs(react.exports.Fragment,Object.assign({"data-test":"os-admin-center-applications-list-item-name"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{color:"#2A323C",fontWeight:"400"}},{children:e})),jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",spacing:1},{children:[n&&i&&i(s)&&jsxRuntime.exports.jsx(Chip,{label:jsxRuntime.exports.jsx(Typography,Object.assign({sx:Object.assign({color:green[700]},c)},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications-installed-badge-123132",defaultMessage:"Installed",description:"installed application badge"})})),color:"success",size:"small",sx:Object.assign({background:"rgba(27, 94, 32, 0.2)",width:"70px"},l)}),o&&jsxRuntime.exports.jsx(Chip,{"data-test":"os-admin-center-applications-list-item-current-org-owner",icon:jsxRuntime.exports.jsx(Lock,{style:{height:"12px",width:"12px"}}),label:jsxRuntime.exports.jsx(Typography,Object.assign({sx:Object.assign({color:"#4F5863"},c)},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications-org-owned-badge-123112",defaultMessage:"org owned",description:"org owned application badge"})})),variant:"outlined",size:"small",sx:Object.assign({width:"90px"},l)})]}))]})),secondary:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{mt:1},"data-test":"os-admin-center-applications-list-item-description"},{children:r}))}),jsxRuntime.exports.jsx(ListItemSecondaryAction,{children:jsxRuntime.exports.jsx(Button,Object.assign({onClick:t,variant:"outlined",color:"primary","data-testid":"admin-center-application-details-panel-open-button","data-test":"admin-center-application-details-panel-open-button","data-appid":s},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications-org-owned-view-details-button-123112",defaultMessage:"View Details",description:"org owned application view details button"})}))})]})),jsxRuntime.exports.jsx(Divider,{})]}))},LoaderSkeletonItem=()=>jsxRuntime.exports.jsxs(ListItem,Object.assign({alignItems:"center",sx:{height:"134px"}},{children:[jsxRuntime.exports.jsx(ListItemAvatar,{children:jsxRuntime.exports.jsx(Skeleton,{variant:"circular",width:40,height:40})}),jsxRuntime.exports.jsx(ListItemText,{children:jsxRuntime.exports.jsx(Skeleton,{variant:"text",width:150,height:30})}),jsxRuntime.exports.jsx(ListItemSecondaryAction,{children:jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:87,height:35})})]})),LoaderSkeleton=()=>jsxRuntime.exports.jsxs(List,{children:[jsxRuntime.exports.jsx(LoaderSkeletonItem,{}),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx(LoaderSkeletonItem,{}),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx(LoaderSkeletonItem,{}),jsxRuntime.exports.jsx(Divider,{})]}),ApplicationList=({apps:e,uiStatus:t,onRetry:n,showInstalledChip:i=!1,isAppInstalled:r})=>{const a=useDispatch();return"loading"===t?jsxRuntime.exports.jsx(LoaderSkeleton,{}):"failure"===t?jsxRuntime.exports.jsx(ErrorState,{onRetry:n,errorMessage:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.error-message",defaultMessage:"Something went wrong while loading applications.",description:"admin center applications error state"})}):jsxRuntime.exports.jsx(List,Object.assign({sx:{maxHeight:"95%",overflowY:"auto"},"data-test":"os-admin-center-applications-list"},{children:e.map(e=>{return jsxRuntime.exports.jsx(ApplicationListItem,{app:e,onOpenApplicationDetailPanel:(t=e,()=>{a(mountPanel({panelId:"APPLICATION_DETAILS_PANEL-"+t.id,microFrontend:{name:"APPLICATION_DETAILS_PANEL",config:{applicationId:t.id,initValue:t}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"large",parentPanelId:"ADMIN_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0,disableHide:!0}}))}),showInstalledChip:i,isAppInstalled:r});var t})}))},SLICE_NAME$1="adminCenterApplication",namespace$2="adminCenterApplications",initialState$2={allApplications:[],installedApplications:[],allAppStatus:"idle",installedAppStatus:"idle"},adminCenterApplicationSlice=createSlice({name:SLICE_NAME$1+"/"+namespace$2,initialState:initialState$2,reducers:{fetchAllApplicationsStart(e){e.allAppStatus="loading"},fetchAllApplicationsSuccess(e,t){e.allAppStatus="success",e.allApplications=t.payload},fetchAllApplicationsFailure(e){e.allAppStatus="failure"},fetchInstalledApplicationsStart(e){e.installedAppStatus="loading"},fetchInstalledApplicationsSuccess(e,t){e.installedAppStatus="success",e.installedApplications=t.payload},fetchInstalledApplicationsFailure(e){e.installedAppStatus="failure"}}}),actions$2=adminCenterApplicationSlice.actions;var Status,adminCenterApplications_state=adminCenterApplicationSlice.reducer;const selectInstalledApps=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.installedApplications},selectAllApps=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.allApplications},selectAllAppsUiStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.allAppStatus},selectInstalledAppsUiStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.installedAppStatus};function __rest(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function __awaiter(e,s,o,l){return new(o=o||Promise)(function(n,t){function i(e){try{a(l.next(e))}catch(e){t(e)}}function r(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(i,r)}a((l=l.apply(e,s||[])).next())})}const SLICE_NAME="applications",NO_ROLE=(!function(e){e.idle="idle",e.loading="loading",e.success="success",e.failure="failure"}(Status=Status||{}),"NO_ROLE"),AVATAR_COLORS=["#f94144ff","#f3722cff","#f8961eff","#f9844aff","#f9c74fff","#90be6dff","#43aa8bff","#4d908eff","#577590ff","#277da1ff"],APPLICATION_DETAILS_TABS={BASIC_INFO:"application-details-tab-label-basic-info",APP_SETTINGS:"application-details-tab-label-app-settings",APP_USERS:"application-details-tab-label-app-users",USER_SETTINGS:"application-details-tab-label-user-settings"},formattedName$1=e=>{var t;return""+(null==(t=null==(t=e.firstName)?void 0:t.charAt(0))?void 0:t.toUpperCase())+(null==(e=null==(t=e.lastName)?void 0:t.charAt(0))?void 0:e.toUpperCase())},getApplicationRole=(t="",e)=>{e=e.find(e=>e.appName===t);return(null==e?void 0:e.id)||NO_ROLE};let usedColors=[];const getAvatarColor=()=>{var e=Math.floor(Math.random()*AVATAR_COLORS.length);return usedColors.includes(e)?getAvatarColor():((usedColors=usedColors.length>=AVATAR_COLORS.length/2?[]:usedColors).push(e),AVATAR_COLORS[e])},createUpdateUser=e=>{return{id:e.id,roleIds:e.roles.map(e=>e.id),organizationId:null==(e=e.organization)?void 0:e.id}},deepCopyUsers=e=>e.map(e=>Object.assign(Object.assign({},e),{roles:[...e.roles]})),roleIsInList=(e,t)=>!!e.find(e=>e.id===t.id),isAdminRole=e=>e.name.toLowerCase().includes("admin"),namespace$1="applicationDetail",initialState$1={status:"idle",application:{},ownerOrganization:{name:""},offset:0,hasMore:!0,allRoles:[],appRoles:[],appIsOwned:!1,initApplicationUsers:[],applicationUsers:[],modifiedUsers:[],userSearchResults:[],usersStatus:"idle",userSearchTerm:"",saveUsersEnabled:!1,rolesStatus:"idle",applicationConfigDefinitions:null,userConfigDefinitions:null,unsavedConfigChanges:null,selectedTab:"application-details-tab-label-basic-info",usersTabAvailable:null,mutateApplicationWorkflowStatus:"idle"},applicationDetailSlice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState$1,reducers:{setInitialApplicationValue(e,t){var n=t.payload,i=n.application,r=i["ownerOrganization"],i=__rest(i,["ownerOrganization"]),n=n["appIsOwned"];e.initValue=t.payload.application,e.application=i,e.ownerOrganization=r||{id:i.ownerOrganizationId},e.appIsOwned=void 0!==n?n:e.appIsOwned,e.status=Status.success},fetchOwnerOrganizationSuccess(e,t){e.ownerOrganization=t.payload},fetchApplicationStart(e,t){var{applicationId:t,initValue:n,appIsOwned:i}=t.payload;e.applicationId=t,e.appIsOwned=void 0!==i?i:e.appIsOwned,n?(t=n["ownerOrganization"],i=__rest(n,["ownerOrganization"]),e.initValue=n,e.application=i,e.ownerOrganization=t,e.status=Status.success):e.status=Status.loading},fetchApplicationSuccess(e,t){var{application:t,organization:n,appConfigDefinition:i}=t.payload;e.application=t,e.ownerOrganization=n,e.applicationConfigDefinitions=i.filter(e=>e.configLevel===EApplicationConfigLevel.Organization),e.userConfigDefinitions=i.filter(e=>e.configLevel===EApplicationConfigLevel.User),e.status=Status.success},fetchApplicationError(e){e.status=Status.failure},fetchApplicationConfigDefinitionStart(e,t){e.status=Status.loading},fetchApplicationConfigDefinitionSuccess(e,t){e.status=Status.success,e.applicationConfigDefinitions=t.payload.filter(e=>e.configLevel===EApplicationConfigLevel.Organization),e.userConfigDefinitions=t.payload.filter(e=>e.configLevel===EApplicationConfigLevel.User)},fetchApplicationConfigDefinitionFailure(e){e.status=Status.failure},changeApplicationConfig(e,t){e.unsavedConfigChanges=t.payload},saveApplicationConfigStart(e,t){e.unsavedConfigChanges=t.payload.configValues},saveApplicationConfigSuccess(e){e.unsavedConfigChanges=null},saveApplicationConfigFailure(){},setStatus(e,t){e.status=t.payload},installAppStart(e,t){e.status=Status.loading},installAppSuccess(e,t){e.status=Status.success,e.application=t.payload,e.unsavedConfigChanges=null},installAppFailure(e){e.status=Status.failure},initApplicationUsers(e,t){e.usersStatus=Status.loading},initApplicationUsersSuccess(e,t){e.applicationId=t.payload.applicationId,e.applicationKey=t.payload.applicationKey,t.payload.skipLoad&&(e.usersStatus=Status.success)},initApplicationUsersFailure(e){e.usersStatus=Status.failure},fetchApplicationUsersStart(e){e.usersStatus=Status.loading},refreshApplicationUsersStart(e){e.usersStatus=Status.loading,e.hasMore=!0,e.offset=0,e.initApplicationUsers=[],e.applicationUsers=[]},fetchApplicationUsersSuccess(e,t){e.usersStatus=Status.success,e.initApplicationUsers=t.payload.records.map(e=>Object.assign(Object.assign({},e),{avatarColor:getAvatarColor()}));var n=[...e.applicationUsers,...e.initApplicationUsers];e.applicationUsers=deepCopyUsers(n),e.hasMore=t.payload.hasMore,e.offset=t.payload.nextOffset},fetchApplicationUsersFailure(e){e.usersStatus=Status.failure},fetchApplicationRolesStart(e){e.usersStatus=Status.loading},fetchApplicationRolesSuccess(t,e){t.allRoles=e.payload,t.appRoles=t.allRoles.filter(e=>e.appName===t.applicationKey),t.rolesStatus=Status.success},fetchApplicationRolesFailure(e){e.usersStatus=Status.failure},searchApplicationUsersStart(e,t){e.usersStatus=Status.loading,e.userSearchTerm=t.payload},searchApplicationUsersSuccess(e,t){e.usersStatus=Status.success,e.userSearchResults=t.payload},searchApplicationUsersFailure(e){e.usersStatus=Status.failure},selectUser(e,t){e.applicationUsers=[...e.applicationUsers,t.payload],e.userSearchResults=[]},updateApplicationUserRole(t,e){const{userId:n,roleId:i}=e.payload;var e=t.applicationUsers.findIndex(e=>e.id===n),r=t.modifiedUsers.findIndex(e=>e.id===n),a=t.appRoles.find(e=>e.id===i),s=t.applicationUsers[e].roles.filter(e=>e.appName!==t.applicationKey);a&&s.push(a),t.applicationUsers[e]=Object.assign(Object.assign({},t.applicationUsers[e]),{roles:s}),-1===r?t.modifiedUsers=[...t.modifiedUsers,createUpdateUser(t.applicationUsers[e])]:t.modifiedUsers[r]=createUpdateUser(t.applicationUsers[e])},removeApplicationUserRoleStart(e,t){},removeApplicationUserRoleSuccess(t,n){var e=t.applicationUsers.findIndex(e=>e.id===n.payload),i=t.modifiedUsers.findIndex(e=>e.id===n.payload),r=t.applicationUsers[e].roles.filter(e=>e.appName!==t.applicationKey);t.applicationUsers[e]=Object.assign(Object.assign({},t.applicationUsers[e]),{roles:r}),-1===i?t.modifiedUsers=[...t.modifiedUsers,createUpdateUser(t.applicationUsers[e])]:t.modifiedUsers[i]=createUpdateUser(t.applicationUsers[e])},saveApplicationUsersStart(e){e.usersStatus=Status.loading},saveApplicationUsersSuccess(e){e.usersStatus=Status.success,e.modifiedUsers=[]},saveApplicationUsersFailure(e){e.usersStatus=Status.failure},cancelApplicationUserChanges(e){e.applicationUsers=deepCopyUsers(e.initApplicationUsers),e.modifiedUsers=[]},changeSelectedTab(e,t){e.selectedTab=t.payload},checkIsUsersTabAvailableStart(e){e.usersTabAvailable=null},checkIsUsersTabAvailableSuccess(e,t){e.usersTabAvailable=t.payload},checkIsUsersTabAvailableFailure(e){e.usersTabAvailable=!1},mutateApplicationWorkflowStart(e,t){e.mutateApplicationWorkflowStatus=Status.loading},mutateApplicationWorkflowSuccess(e,t){e.application.status=t.payload.status,e.application.validStateActions=t.payload.validStateActions,e.mutateApplicationWorkflowStatus=Status.success},mutateApplicationWorkflowFailure(e){e.mutateApplicationWorkflowStatus=Status.failure}}}),actions$1=applicationDetailSlice.actions;var applicationDetailsPanelReducer=applicationDetailSlice.reducer;const namespace=SLICE_NAME$1,initialState={[namespace$2]:initialState$2,[namespace$1]:initialState$1},actions={[namespace$2]:actions$2,[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$2]:adminCenterApplications_state,[namespace$1]:applicationDetailsPanelReducer});var $location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,tryToString$3=tryToString$5,$TypeError$8=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw new $TypeError$8("Cannot delete property "+tryToString$3(t)+" of "+tryToString$3(e))},uncurryThis$9=functionUncurryThis,arraySlice$2=functionUncurryThis([].slice),arraySlice$1=arraySlice$2,floor$1=Math.floor,sort=function(e,t){var n=e.length;if(n<8)for(var i,r,a=1;a<n;){for(i=e[r=a];r&&0<t(e[r-1],i);)e[r]=e[--r];r!==a++&&(e[r]=i)}else for(var s=floor$1(n/2),o=sort(arraySlice$1(e,0,s),t),l=sort(arraySlice$1(e,s),t),c=o.length,u=l.length,d=0,p=0;d<c||p<u;)e[d+p]=d<c&&p<u?t(o[d],l[p])<=0?o[d++]:l[p++]:d<c?o[d++]:l[p++];return e},arraySort=sort,fails$9=fails$n,arrayMethodIsStrict$2=function(e,t){var n=[][e];return!!n&&fails$9(function(){n.call(null,t||function(){return 1},1)})},userAgent$4=engineUserAgent,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent$3=engineUserAgent,webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$$9=_export,uncurryThis$8=functionUncurryThis,aCallable$7=aCallable$a,toObject$2=toObject$6,lengthOfArrayLike$2=lengthOfArrayLike$4,deletePropertyOrThrow=deletePropertyOrThrow$1,toString$4=toString$7,fails$8=fails$n,internalSort=arraySort,arrayMethodIsStrict$1=arrayMethodIsStrict$2,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis$8(test.sort),push$1=uncurryThis$8(test.push),FAILS_ON_UNDEFINED=fails$8(function(){test.sort(void 0)}),FAILS_ON_NULL=fails$8(function(){test.sort(null)}),STRICT_METHOD=arrayMethodIsStrict$1("sort"),STABLE_SORT=!fails$8(function(){if(V8)return V8<70;if(!(FF&&3<FF)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;for(var e,t,n,i="",r=65;r<76;r++){switch(e=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(n=0;n<47;n++)test.push({k:e+n,v:t})}for(test.sort(function(e,t){return t.v-e.v}),n=0;n<test.length;n++)e=test[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}),FORCED$1=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT,getSortCompare=function(n){return function(e,t){return void 0===t?-1:void 0===e?1:void 0!==n?+n(e,t)||0:toString$4(e)>toString$4(t)?1:-1}},global$a=($$9({target:"Array",proto:!0,forced:FORCED$1},{sort:function(e){void 0!==e&&aCallable$7(e);var t=toObject$2(this);if(STABLE_SORT)return void 0===e?nativeSort(t):nativeSort(t,e);for(var n,i=[],r=lengthOfArrayLike$2(t),a=0;a<r;a++)a in t&&push$1(i,t[a]);for(internalSort(i,getSortCompare(e)),n=lengthOfArrayLike$2(i),a=0;a<n;)t[a]=i[a++];for(;a<r;)deletePropertyOrThrow(t,a++);return t}}),global$m),classof$3=classofRaw$2,engineIsNode="process"===classofRaw$2(global$m.process),getBuiltIn$3=getBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$2,wellKnownSymbol$7=wellKnownSymbol$i,DESCRIPTORS$1=descriptors,SPECIES$3=wellKnownSymbol$i("species"),setSpecies$1=function(e){e=getBuiltIn$3(e);DESCRIPTORS$1&&e&&!e[SPECIES$3]&&defineBuiltInAccessor(e,SPECIES$3,{configurable:!0,get:function(){return this}})},isPrototypeOf$1=objectIsPrototypeOf,$TypeError$7=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$1(t,e))return e;throw new $TypeError$7("Incorrect invocation")},uncurryThis$7=functionUncurryThis,fails$7=fails$n,isCallable$6=isCallable$m,classof$2=classof$5,getBuiltIn$2=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$1=uncurryThis$7(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop),isConstructorModern=function(e){if(!isCallable$6(e))return!1;try{return construct(noop,[],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$1(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$7(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString$2=tryToString$5,$TypeError$6=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw new $TypeError$6(tryToString$2(e)+" is not a constructor")},anObject$6=anObject$d,aConstructor=aConstructor$1,isNullOrUndefined$2=isNullOrUndefined$5,wellKnownSymbol$6=wellKnownSymbol$i,SPECIES$2=wellKnownSymbol$i("species"),speciesConstructor$1=function(e,t){var e=anObject$6(e).constructor;return void 0===e||isNullOrUndefined$2(e=anObject$6(e)[SPECIES$2])?t:aConstructor(e)},NATIVE_BIND$1=functionBindNative,FunctionPrototype=Function.prototype,apply$2=FunctionPrototype.apply,call$a=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$a.bind(apply$2):function(){return call$a.apply(apply$2,arguments)}),classofRaw=classofRaw$2,uncurryThis$6=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$6(e)},uncurryThis$5=functionUncurryThisClause,aCallable$6=aCallable$a,NATIVE_BIND=functionBindNative,bind$4=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$6(e),void 0===t?e:NATIVE_BIND?bind$4(e,t):function(){return e.apply(t,arguments)}},$TypeError$5=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw new $TypeError$5("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$9=global$m,apply$1=functionApply,bind$3=functionBindContext,isCallable$5=isCallable$m,hasOwn=hasOwnProperty_1,fails$6=fails$n,html=html$2,arraySlice=arraySlice$2,createElement=documentCreateElement$2,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$4=engineIsNode,set=global$9.setImmediate,clear=global$9.clearImmediate,process$2=global$9.process,Dispatch=global$9.Dispatch,Function$1=global$9.Function,MessageChannel=global$9.MessageChannel,String$1=global$9.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails$6(function(){$location=global$9.location}),function(e){var t;hasOwn(queue$2,e)&&(t=queue$2[e],delete queue$2[e],t())}),runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$9.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$5(e)?e:Function$1(e),n=arraySlice(arguments,1);return queue$2[++counter]=function(){apply$1(t,void 0,n)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$4?defer=function(e){process$2.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!IS_IOS$1?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind$3(port.postMessage,port)):global$9.addEventListener&&isCallable$5(global$9.postMessage)&&!global$9.importScripts&&$location&&"file:"!==$location.protocol&&!fails$6(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$9.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}),global$8=global$m,DESCRIPTORS=descriptors,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,safeGetBuiltIn$1=function(e){var t;return DESCRIPTORS?(t=getOwnPropertyDescriptor(global$8,e))&&t.value:global$8[e]},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$m,safeGetBuiltIn=safeGetBuiltIn$1,bind$2=functionBindContext,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$3=engineIsNode,MutationObserver=global$7.MutationObserver||global$7.WebKitMutationObserver,document$2=global$7.document,process$1=global$7.process,Promise$1=global$7.Promise,microtask$1=safeGetBuiltIn("queueMicrotask"),microtask_1=(microtask$1||(queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$3&&(e=process$1.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&&notify$1(),e}e&&e.enter()},notify$1=IS_IOS||IS_NODE$3||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$2(promise.then,promise),function(){then(flush)}):IS_NODE$3?function(){process$1.nextTick(flush)}:(macrotask=bind$2(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$m,promiseNativeConstructor=global$m.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$2=engineIsNode,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document,global$5=global$m,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$4=isCallable$m,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$5=wellKnownSymbol$i,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES$1=(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 n(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES$1]=n,!(SUBCLASSING=e.then(function(){})instanceof n))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1}),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$5=aCallable$a,$TypeError$4=TypeError,PromiseCapability=function(e){var n,i;this.promise=new e(function(e,t){if(void 0!==n||void 0!==i)throw new $TypeError$4("Bad Promise constructor");n=e,i=t}),this.resolve=aCallable$5(n),this.reject=aCallable$5(i)},$$8=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE$1=engineIsNode,global$4=global$m,call$9=functionCall,defineBuiltIn$2=defineBuiltIn$7,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$4,setSpecies=setSpecies$1,aCallable$4=aCallable$a,isCallable$3=isCallable$m,isObject$1=isObject$b,anInstance=anInstance$1,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule=internalState,NativePromiseConstructor$2=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$3=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$1=global$4.TypeError,document$1=global$4.document,process=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$1(e)||!isCallable$3(t=e.then))&&t},callReaction=function(e,t){var n,i,r,a=t.value,s=t.state===FULFILLED,o=s?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{o?(s||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===o?n=a:(u&&u.enter(),n=o(a),u&&(u.exit(),r=!0)),n===e.promise?c(new TypeError$1("Promise-chain cycle")):(i=isThenable(n))?call$9(i,n,l,c):l(n)):c(a)}catch(e){u&&!r&&u.exit(),c(e)}},notify=function(n,i){n.notified||(n.notified=!0,microtask(function(){for(var e,t=n.reactions;e=t.get();)callReaction(e,n);n.notified=!1,i&&!n.rejection&&onUnhandled(n)}))},dispatchEvent=function(e,t,n){var i;DISPATCH_EVENT?((i=document$1.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),global$4.dispatchEvent(i)):i={promise:t,reason:n},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$4["on"+e])?t(i):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",n)},onUnhandled=function(i){call$9(task,global$4,function(){var e=i.facade,t=i.value,n=isUnhandled(i);if(n&&(n=perform$2(function(){IS_NODE$1?process.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),i.rejection=IS_NODE$1||isUnhandled(i)?UNHANDLED:HANDLED,n.error))throw n.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$1?process.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$1=function(t,n,i){return function(e){t(n,e,i)}},internalReject=function(e,t,n){e.done||(e.done=!0,(e=n?n:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(n.facade===e)throw new TypeError$1("Promise can't be resolved itself");var i=isThenable(e);i?microtask(function(){var t={done:!1};try{call$9(i,e,bind$1(internalResolve,t,n),bind$1(internalReject,t,n))}catch(e){internalReject(t,e,n)}}):(n.value=e,n.state=FULFILLED,notify(n,!1))}catch(e){internalReject({done:!1},e,n)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$4(e),call$9(Internal,this);var t=getInternalPromiseState(this);try{e(bind$1(internalResolve,t),bind$1(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$2(PromisePrototype,"then",function(e,t){var n=getInternalPromiseState(this),i=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return n.parent=!0,i.ok=!isCallable$3(e)||e,i.fail=isCallable$3(t)&&t,i.domain=IS_NODE$1?process.domain:void 0,n.state===PENDING?n.reactions.add(i):microtask(function(){callReaction(i,n)}),i.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$1(internalResolve,t),this.reject=bind$1(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$3(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$2(NativePromisePrototype$1,"then",function(e,t){var n=this;return new PromiseConstructor(function(e,t){call$9(nativeThen,n,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(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var wellKnownSymbol$4=wellKnownSymbol$i,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$i("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$2]===e)},classof$1=classof$5,getMethod$2=getMethod$4,isNullOrUndefined$1=isNullOrUndefined$5,Iterators=iterators,wellKnownSymbol$3=wellKnownSymbol$i,ITERATOR$1=wellKnownSymbol$i("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined$1(e))return getMethod$2(e,ITERATOR$1)||getMethod$2(e,"@@iterator")||Iterators[classof$1(e)]},call$8=functionCall,aCallable$3=aCallable$a,anObject$5=anObject$d,tryToString$1=tryToString$5,getIteratorMethod$1=getIteratorMethod$2,$TypeError$3=TypeError,getIterator$1=function(e,t){var n=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$3(n))return anObject$5(call$8(n,e));throw new $TypeError$3(tryToString$1(e)+" is not iterable")},call$7=functionCall,anObject$4=anObject$d,getMethod$1=getMethod$4,iteratorClose$1=function(e,t,n){var i,r;anObject$4(e);try{if(!(i=getMethod$1(e,"return"))){if("throw"===t)throw n;return n}i=call$7(i,e)}catch(e){r=!0,i=e}if("throw"===t)throw n;if(r)throw i;return anObject$4(i),n},bind=functionBindContext,call$6=functionCall,anObject$3=anObject$d,tryToString=tryToString$5,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike$1=lengthOfArrayLike$4,isPrototypeOf=objectIsPrototypeOf,getIterator=getIterator$1,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError$2=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,n){function i(e){return a&&iteratorClose(a,"normal",e),new Result(!0,e)}function r(e){return p?(anObject$3(e),g?h(e[0],e[1],i):h(e[0],e[1])):g?h(e,i):h(e)}var a,s,o,l,c,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),m=!(!n||!n.IS_ITERATOR),g=!(!n||!n.INTERRUPTED),h=bind(t,d);if(f)a=e.iterator;else if(m)a=e;else{if(!(n=getIteratorMethod(e)))throw new $TypeError$2(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(n)){for(s=0,o=lengthOfArrayLike$1(e);s<o;s++)if((l=r(e[s]))&&isPrototypeOf(ResultPrototype,l))return l;return new Result(!1)}a=getIterator(e,n)}for(c=(f?e:a).next;!(u=call$6(c,a)).done;){try{l=r(u.value)}catch(e){iteratorClose(a,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol$2=wellKnownSymbol$i,ITERATOR=wellKnownSymbol$i("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,checkCorrectnessOfIteration$1=function(e,t){try{if(!t&&!SAFE_CLOSING)return!1}catch(e){return!1}var n=!1;try{var i={};i[ITERATOR]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},NativePromiseConstructor$1=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration(function(e){NativePromiseConstructor$1.all(e).then(void 0,function(){})}),$$7=_export,call$5=functionCall,aCallable$2=aCallable$a,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 o=this,t=newPromiseCapabilityModule$2.f(o),l=t.resolve,c=t.reject,n=perform$1(function(){var i=aCallable$2(o.resolve),r=[],a=0,s=1;iterate$1(e,function(e){var t=a++,n=!1;s++,call$5(i,o,e).then(function(e){n||(n=!0,r[t]=e,--s)||l(r)},c)}),--s||l(r)});return n.error&&c(n.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable$2=isCallable$m,defineBuiltIn$1=defineBuiltIn$7,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$1(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$4=functionCall,aCallable$1=aCallable$a,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 n=this,i=newPromiseCapabilityModule$1.f(n),r=i.reject,t=perform(function(){var t=aCallable$1(n.resolve);iterate(e,function(e){call$4(t,n,e).then(i.resolve,r)})});return t.error&&r(t.value),i.promise}}),_export),newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject$2=($$4({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return(0,t.reject)(e),t.promise}}),anObject$d),isObject=isObject$b,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject$2(e),isObject(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 fetchOrgsApplications(o,l){return __awaiter(this,void 0,void 0,function*(){var e="fetchOrgsApplications",t="applications",n={accessScope:["granted"],limit:100,status:o||void 0},i=`
1
+ import{X as createSlice,Y as combineReducers,U as createSelector,K as userSelector,j as jsxRuntime,V as Box,Z as useSelector,r as react,bW as AIWareCacheProvider,aJ as AIWareThemeProvider,z as all,fJ as selectIsUserAdmin,w as useIntl,bR as ReactExports,aE as betaFeaturesSelector,bX as selectIsFullscreenEnabled,fy as selectPanelByPanelName,B as takeEvery$1,A as takeLatest$1,f9 as useBackupImg,ax as img$1P,a1 as hidePanel,W as isEqual_1,ap as mountPanel,a2 as lodash,fW as green,C as select,a0 as selectApiConfigs,G as put,a4 as preferredLanguageSelector,F as call$j,a5 as showMessage,a6 as MessageSeverity,d_ as selectOrgId,am as CircularProgress,a7 as AIWareFormatMessage,T as gqlIntrospection,a3 as baseGraphQLApiWithError,e5 as introspection}from"./js-core.esm.js";import{F as FormattedMessage,m as makeStyles,T as Typography,ap as ErrorState,o as DynamicModuleLoader,A as AIWareIntlProvider,X as CustomTabs,Y as TabPanel,g as Button,D as Divider,ah as Grid,ar as NoApps,ao as NullState,bf as isNil_1,cS as ConfirmationModal,q as List,cQ as Lock,U as Select,V as MenuItem}from"./js-core.esm4.js";import{p as EApplicationConfigLevel,c as default_1$2,q as EApplicationConfigType,S as Switch,l as selectAdminCenterOrgIdString,k as safeFormatMessage}from"./js-core.esm2.js";import{b as EResourceTypeValue,c as EApplicationStatus}from"./js-core.esm13.js";import{j as Skeleton,T as TextField,u as InputAdornment,v as default_1,b as Stack,af as ReactMarkdown,g as Tooltip,I as IconButton,M as CopyText,as as AutoSizer,at as InfiniteLoader,ak as VariableSizeList,A as Avatar,k as Chip,m as devErrorLogger}from"./js-core.esm5.js";import{EventsInfo as EventsInfoDetails,actions as index,getAppCenterBrowseModule,AppDetailsPanelHeader as PanelHeader}from"./js-core.esm77.js";import{R as ResourceCardStatus}from"./js-core.esm78.js";import{d as default_1$1}from"./js-core.esm41.js";import{C as Container}from"./js-core.esm28.js";import{A as Accordion,a as AccordionSummary,b as AccordionDetails}from"./js-core.esm44.js";import{A as Add}from"./js-core.esm79.js";import{A as Autocomplete$1}from"./js-core.esm29.js";import{L as ListItem,b as ListItemAvatar,a as ListItemText,e as ListItemSecondaryAction}from"./js-core.esm3.js";import{u as useDispatch}from"./js-core.esm6.js";import"./js-core.esm42.js";import"./js-core.esm49.js";import"./js-core.esm16.js";import"./js-core.esm45.js";import"./js-core.esm37.js";import"./js-core.esm48.js";import"./js-core.esm36.js";import"./js-core.esm63.js";var match$1,version,set$1,get,store,STATE,activeXDocument,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,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$m=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||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$i=Function.prototype.call,functionCall=NATIVE_BIND$3?call$i.bind(call$i):function(){return call$i.apply(call$i,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$3=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$2(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$2=functionBindNative,FunctionPrototype$2=Function.prototype,call$h=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$2&&FunctionPrototype$2.bind.bind(call$h,call$h),functionUncurryThis=NATIVE_BIND$2?uncurryThisWithBind:function(e){return function(){return call$h.apply(e,arguments)}},uncurryThis$m=functionUncurryThis,toString$9=uncurryThis$m({}.toString),stringSlice$6=uncurryThis$m("".slice),classofRaw$2=function(e){return stringSlice$6(toString$9(e),8,-1)},uncurryThis$l=functionUncurryThis,fails$k=fails$n,classof$7=classofRaw$2,$Object$4=Object,split=functionUncurryThis("".split),indexedObject=fails$k(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"===classof$7(e)?split(e,""):$Object$4(e)}:$Object$4,isNullOrUndefined$5=function(e){return null==e},isNullOrUndefined$4=isNullOrUndefined$5,$TypeError$g=TypeError,requireObjectCoercible$7=function(e){if(isNullOrUndefined$4(e))throw new $TypeError$g("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$6=requireObjectCoercible$7,toIndexedObject$5=function(e){return IndexedObject$2(requireObjectCoercible$6(e))},documentAll="object"==typeof document&&document.all,isCallable$m=void 0===documentAll&&void 0!==documentAll?function(e){return"function"==typeof e||e===documentAll}:function(e){return"function"==typeof e},isCallable$l=isCallable$m,isObject$b=function(e){return"object"==typeof e?null!==e:isCallable$l(e)},global$l=global$m,isCallable$k=isCallable$m,aFunction=function(e){return isCallable$k(e)?e:void 0},getBuiltIn$7=function(e,t){return arguments.length<2?aFunction(global$l[e]):global$l[e]&&global$l[e][t]},uncurryThis$k=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),engineUserAgent="undefined"!=typeof navigator&&String(navigator.userAgent)||"",global$k=global$m,userAgent$5=engineUserAgent,process$3=global$k.process,Deno$1=global$k.Deno,versions=process$3&&process$3.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match$1=v8.split("."))[0]&&match$1[0]<4?1:+(match$1[0]+match$1[1]):version)&&userAgent$5&&(!(match$1=userAgent$5.match(/Edge\/(\d+)/))||74<=match$1[1])&&(match$1=userAgent$5.match(/Chrome\/(\d+)/))?+match$1[1]:version,V8_VERSION$1=engineV8Version,fails$j=fails$n,global$j=global$m,$String$5=global$m.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$j(function(){var e=Symbol("symbol detection");return!$String$5(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$j=isCallable$m,isPrototypeOf$4=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$j(t)&&isPrototypeOf$4(t.prototype,$Object$3(e))},$String$4=String,tryToString$5=function(e){try{return $String$4(e)}catch(e){return"Object"}},isCallable$i=isCallable$m,tryToString$4=tryToString$5,$TypeError$f=TypeError,aCallable$a=function(e){if(isCallable$i(e))return e;throw new $TypeError$f(tryToString$4(e)+" is not a function")},aCallable$9=aCallable$a,isNullOrUndefined$3=isNullOrUndefined$5,getMethod$4=function(e,t){e=e[t];return isNullOrUndefined$3(e)?void 0:aCallable$9(e)},call$g=functionCall,isCallable$h=isCallable$m,isObject$a=isObject$b,$TypeError$e=TypeError,ordinaryToPrimitive$1=function(e,t){var n,i;if("string"===t&&isCallable$h(n=e.toString)&&!isObject$a(i=call$g(n,e)))return i;if(isCallable$h(n=e.valueOf)&&!isObject$a(i=call$g(n,e)))return i;if("string"!==t&&isCallable$h(n=e.toString)&&!isObject$a(i=call$g(n,e)))return i;throw new $TypeError$e("Can't convert object to primitive value")},sharedStore={exports:{}},global$i=global$m,defineProperty$6=Object.defineProperty,defineGlobalProperty$3=function(t,n){try{defineProperty$6(global$i,t,{value:n,configurable:!0,writable:!0})}catch(e){global$i[t]=n}return n},globalThis$1=global$m,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=sharedStore.exports=globalThis$1[SHARED]||defineGlobalProperty$2(SHARED,{}),store$2=((store$3.versions||(store$3.versions=[])).push({version:"3.37.0",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"}),sharedStore.exports),shared$4=function(e,t){return store$2[e]||(store$2[e]=t||{})},requireObjectCoercible$5=requireObjectCoercible$7,$Object$2=Object,toObject$6=function(e){return $Object$2(requireObjectCoercible$5(e))},uncurryThis$j=functionUncurryThis,toObject$5=toObject$6,hasOwnProperty$1=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty$1(toObject$5(e),t)},uncurryThis$i=functionUncurryThis,id=0,postfix=Math.random(),toString$8=uncurryThis$i(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$8(++id+postfix,36)},global$h=global$m,shared$3=shared$4,hasOwn$b=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL$1=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=global$m.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$i=function(e){return hasOwn$b(WellKnownSymbolsStore,e)||(WellKnownSymbolsStore[e]=NATIVE_SYMBOL$1&&hasOwn$b(Symbol$1,e)?Symbol$1[e]:createWellKnownSymbol("Symbol."+e)),WellKnownSymbolsStore[e]},call$f=functionCall,isObject$9=isObject$b,isSymbol$1=isSymbol$2,getMethod$3=getMethod$4,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$h=wellKnownSymbol$i,$TypeError$d=TypeError,TO_PRIMITIVE=wellKnownSymbol$i("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$9(e)||isSymbol$1(e))return e;var n=getMethod$3(e,TO_PRIMITIVE);if(n){if(n=call$f(n,e,t=void 0===t?"default":t),!isObject$9(n)||isSymbol$1(n))return n;throw new $TypeError$d("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$g=global$m,isObject$8=isObject$b,document$3=global$m.document,EXISTS$1=isObject$8(document$3)&&isObject$8(document$3.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$3.createElement(e):{}},DESCRIPTORS$c=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$b=descriptors,call$e=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$4=toIndexedObject$5,toPropertyKey$1=toPropertyKey$2,hasOwn$a=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$b?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$a(e,t))return createPropertyDescriptor$2(!call$e(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$a=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$c=TypeError,anObject$d=function(e){if(isObject$7(e))return e;throw new $TypeError$c($String$3(e)+" is not an object")},DESCRIPTORS$9=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$c=anObject$d,toPropertyKey=toPropertyKey$2,$TypeError$b=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$8=(objectDefineProperty.f=DESCRIPTORS$9?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,n){var i;return anObject$c(e),t=toPropertyKey(t),anObject$c(n),"function"==typeof e&&"prototype"===t&&"value"in n&&WRITABLE in n&&!n[WRITABLE]&&(i=$getOwnPropertyDescriptor(e,t))&&i[WRITABLE]&&(e[t]=n.value,n={configurable:(CONFIGURABLE$1 in n?n:i)[CONFIGURABLE$1],enumerable:(ENUMERABLE in n?n:i)[ENUMERABLE],writable:!1}),$defineProperty(e,t,n)}:$defineProperty:function(e,t,n){if(anObject$c(e),t=toPropertyKey(t),anObject$c(n),IE8_DOM_DEFINE)try{return $defineProperty(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new $TypeError$b("Accessors not supported");return"value"in n&&(e[t]=n.value),e},descriptors),definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$5=DESCRIPTORS$8?function(e,t,n){return definePropertyModule$3.f(e,t,createPropertyDescriptor$1(1,n))}:function(e,t,n){return e[t]=n,e},makeBuiltIn$3={exports:{}},DESCRIPTORS$7=descriptors,hasOwn$9=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$7&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$9(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$7||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$h=functionUncurryThis,isCallable$g=isCallable$m,store$1=sharedStore.exports,functionToString=uncurryThis$h(Function.toString),inspectSource$3=(isCallable$g(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$f=global$m,isCallable$f=isCallable$m,WeakMap$1=global$m.WeakMap,weakMapBasicDetection=isCallable$f(WeakMap$1)&&/native code/.test(String(WeakMap$1)),shared$2=shared$4,uid=uid$2,keys=shared$4("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,global$e=global$m,isObject$6=isObject$b,createNonEnumerableProperty$4=createNonEnumerableProperty$5,hasOwn$8=hasOwnProperty_1,shared$1=sharedStore.exports,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$2=global$e.TypeError,WeakMap=global$e.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 new TypeError$2("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 new TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,store.set(e,t),t},get=function(e){return store.get(e)||{}},function(e){return store.has(e)}):(STATE=sharedKey$2("state"),hiddenKeys$3[STATE]=!0,set$1=function(e,t){if(hasOwn$8(e,STATE))throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$4(e,STATE,t),t},get=function(e){return hasOwn$8(e,STATE)?e[STATE]:{}},function(e){return hasOwn$8(e,STATE)}),internalState={set:set$1,get:get,has:has,enforce:enforce,getterFor:getterFor},uncurryThis$g=functionUncurryThis,fails$g=fails$n,isCallable$e=isCallable$m,hasOwn$7=hasOwnProperty_1,DESCRIPTORS$6=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource$2=inspectSource$3,InternalStateModule$2=internalState,enforceInternalState=InternalStateModule$2.enforce,getInternalState$2=InternalStateModule$2.get,$String$2=String,defineProperty$5=Object.defineProperty,stringSlice$5=uncurryThis$g("".slice),replace$4=uncurryThis$g("".replace),join=uncurryThis$g([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$6&&!fails$g(function(){return 8!==defineProperty$5(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$2=makeBuiltIn$3.exports=function(e,t,n){"Symbol("===stringSlice$5($String$2(t),0,7)&&(t="["+replace$4($String$2(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!hasOwn$7(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$6?defineProperty$5(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&n&&hasOwn$7(n,"arity")&&e.length!==n.arity&&defineProperty$5(e,"length",{value:n.arity});try{n&&hasOwn$7(n,"constructor")&&n.constructor?DESCRIPTORS$6&&defineProperty$5(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=enforceInternalState(e);return hasOwn$7(n,"source")||(n.source=join(TEMPLATE,"string"==typeof t?t:"")),e},isCallable$d=(Function.prototype.toString=makeBuiltIn$2(function(){return isCallable$e(this)&&getInternalState$2(this).source||inspectSource$2(this)},"toString"),isCallable$m),definePropertyModule$2=objectDefineProperty,makeBuiltIn$1=makeBuiltIn$3.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$7=function(e,t,n,i){var r=(i=i||{}).enumerable,a=void 0!==i.name?i.name:t;if(isCallable$d(n)&&makeBuiltIn$1(n,a,i),i.global)r?e[t]=n:defineGlobalProperty$1(t,n);else{try{i.unsafe?e[t]&&(r=!0):delete e[t]}catch(e){}r?e[t]=n:definePropertyModule$2.f(e,t,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor$2=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor$2:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$4=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$3=toIntegerOrInfinity$4,max$1=Math.max,min$2=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$3(e);return e<0?max$1(e+t,0):min$2(e,t)},toIntegerOrInfinity$2=toIntegerOrInfinity$4,min$1=Math.min,toLength$2=function(e){e=toIntegerOrInfinity$2(e);return 0<e?min$1(e,9007199254740991):0},toLength$1=toLength$2,lengthOfArrayLike$4=function(e){return toLength$1(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$3=lengthOfArrayLike$4,createMethod$3=function(o){return function(e,t,n){var i=toIndexedObject$3(e),r=lengthOfArrayLike$3(i);if(0!==r){var a,s=toAbsoluteIndex(n,r);if(o&&t!=t){for(;s<r;)if((a=i[s++])!=a)return!0}else for(;s<r;s++)if((o||s in i)&&i[s]===t)return o||s||0}return!o&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},uncurryThis$f=functionUncurryThis,hasOwn$6=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$2=uncurryThis$f([].push),objectKeysInternal=function(e,t){var n,i=toIndexedObject$2(e),r=0,a=[];for(n in i)!hasOwn$6(hiddenKeys$2,n)&&hasOwn$6(i,n)&&push$2(a,n);for(;t.length>r;)!hasOwn$6(i,n=t[r++])||~indexOf$1(a,n)||push$2(a,n);return a},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$e=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$b=anObject$d,concat$2=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$5("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$b(e)),n=getOwnPropertySymbolsModule$1.f;return n?concat$2(t,n(e)):t},hasOwn$5=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$2=function(e,t,n){for(var i=ownKeys(t),r=definePropertyModule$1.f,a=getOwnPropertyDescriptorModule.f,s=0;s<i.length;s++){var o=i[s];hasOwn$5(e,o)||n&&hasOwn$5(n,o)||r(e,o,a(t,o))}},fails$f=fails$n,isCallable$c=isCallable$m,replacement=/#|\.prototype\./,isForced$2=function(e,t){e=data[normalize(e)];return e===POLYFILL||e!==NATIVE&&(isCallable$c(t)?fails$f(t):!!t)},normalize=isForced$2.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$2.data={},NATIVE=isForced$2.NATIVE="N",POLYFILL=isForced$2.POLYFILL="P",isForced_1=isForced$2,global$d=global$m,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$3=createNonEnumerableProperty$5,defineBuiltIn$6=defineBuiltIn$7,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties$1=copyConstructorProperties$2,isForced$1=isForced_1,_export=function(e,t){var n,i,r,a=e.target,s=e.global,o=e.stat,l=s?global$d:o?global$d[a]||defineGlobalProperty(a,{}):global$d[a]&&global$d[a].prototype;if(l)for(n in t){if(i=t[n],r=e.dontCallGetSet?(r=getOwnPropertyDescriptor$1(l,n))&&r.value:l[n],!isForced$1(s?n:a+(o?".":"#")+n,e.forced)&&void 0!==r){if(typeof i==typeof r)continue;copyConstructorProperties$1(i,r)}(e.sham||r&&r.sham)&&createNonEnumerableProperty$3(i,"sham",!0),defineBuiltIn$6(l,n,i,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$5=descriptors,uncurryThis$d=functionUncurryThis,call$d=functionCall,fails$e=fails$n,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$4=toObject$6,IndexedObject$1=indexedObject,$assign=Object.assign,defineProperty$4=Object.defineProperty,concat$1=uncurryThis$d([].concat),objectAssign=!$assign||fails$e(function(){var e,t,n,i;return!(!DESCRIPTORS$5||1===$assign({b:1},$assign(defineProperty$4({},"a",{enumerable:!0,get:function(){defineProperty$4(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)||(t={},i="abcdefghijklmnopqrst",(e={})[n=Symbol("assign detection")]=7,i.split("").forEach(function(e){t[e]=e}),7!==$assign({},e)[n])||objectKeys$1($assign({},t)).join("")!==i})?function(e,t){for(var n=toObject$4(e),i=arguments.length,r=1,a=getOwnPropertySymbolsModule.f,s=propertyIsEnumerableModule.f;r<i;)for(var o,l=IndexedObject$1(arguments[r++]),c=a?concat$1(objectKeys$1(l),a(l)):objectKeys$1(l),u=c.length,d=0;d<u;)o=c[d++],DESCRIPTORS$5&&!call$d(s,l,o)||(n[o]=l[o]);return n}:$assign,$$e=_export,assign=objectAssign,objectDefineProperties=(_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign}),{}),DESCRIPTORS$4=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule=objectDefineProperty,anObject$a=anObject$d,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn$4=(objectDefineProperties.f=DESCRIPTORS$4&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$a(e);for(var n,i=toIndexedObject$1(t),r=objectKeys(t),a=r.length,s=0;s<a;)definePropertyModule.f(e,n=r[s++],i[n]);return e},getBuiltIn$7),html$2=getBuiltIn$7("document","documentElement"),anObject$9=anObject$d,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 n;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$9(e),n=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,n[IE_PROTO$1]=e):n=NullProtoObject(),void 0===t?n:definePropertiesModule.f(n,t)}),wellKnownSymbol$g=wellKnownSymbol$i,create$2=objectCreate,defineProperty$3=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$g("unscopables"),ArrayPrototype$1=Array.prototype,addToUnscopables$2=(void 0===ArrayPrototype$1[UNSCOPABLES]&&defineProperty$3(ArrayPrototype$1,UNSCOPABLES,{configurable:!0,value:create$2(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()}),iterators=($$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"),{}),fails$c=fails$n,correctPrototypeGetter=!fails$n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$4=hasOwnProperty_1,isCallable$b=isCallable$m,toObject$3=toObject$6,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object$1=Object,ObjectPrototype=$Object$1.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object$1.getPrototypeOf:function(e){var t,e=toObject$3(e);return hasOwn$4(e,IE_PROTO)?e[IE_PROTO]:(t=e.constructor,isCallable$b(t)&&e instanceof t?t.prototype:e instanceof $Object$1?ObjectPrototype:null)},fails$b=fails$n,isCallable$a=isCallable$m,isObject$5=isObject$b,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$5=defineBuiltIn$7,wellKnownSymbol$f=wellKnownSymbol$i,ITERATOR$5=wellKnownSymbol$i("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$5(IteratorPrototype$2)||fails$b(function(){var e={};return IteratorPrototype$2[ITERATOR$5].call(e)!==e})),iteratorsCore=(isCallable$a((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$5])||defineBuiltIn$5(IteratorPrototype$2,ITERATOR$5,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$2=objectDefineProperty.f,hasOwn$3=hasOwnProperty_1,wellKnownSymbol$e=wellKnownSymbol$i,TO_STRING_TAG$2=wellKnownSymbol$i("toStringTag"),setToStringTag$4=function(e,t,n){(e=e&&!n?e.prototype:e)&&!hasOwn$3(e,TO_STRING_TAG$2)&&defineProperty$2(e,TO_STRING_TAG$2,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create$1=objectCreate,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag$3=setToStringTag$4,Iterators$4=iterators,returnThis$1=function(){return this},iteratorCreateConstructor=function(e,t,n,i){t+=" Iterator";return e.prototype=create$1(IteratorPrototype$1,{next:createPropertyDescriptor(+!i,n)}),setToStringTag$3(e,t,!1),Iterators$4[t]=returnThis$1,e},uncurryThis$c=functionUncurryThis,aCallable$8=aCallable$a,functionUncurryThisAccessor=function(e,t,n){try{return uncurryThis$c(aCallable$8(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},isObject$4=isObject$b,isPossiblePrototype$1=function(e){return isObject$4(e)||null===e},isPossiblePrototype=isPossiblePrototype$1,$String$1=String,$TypeError$a=TypeError,aPossiblePrototype$1=function(e){if(isPossiblePrototype(e))return e;throw new $TypeError$a("Can't set "+$String$1(e)+" as a prototype")},uncurryThisAccessor=functionUncurryThisAccessor,isObject$3=isObject$b,requireObjectCoercible$4=requireObjectCoercible$7,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=uncurryThisAccessor(Object.prototype,"__proto__","set"))(e,[]),i=e instanceof Array}catch(e){}return function(e,t){return requireObjectCoercible$4(e),aPossiblePrototype(t),isObject$3(e)&&(i?n(e,t):e.__proto__=t),e}}():void 0),$$c=_export,call$c=functionCall,FunctionName=functionName,isCallable$9=isCallable$m,createIteratorConstructor=iteratorCreateConstructor,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf$1=objectSetPrototypeOf,setToStringTag$2=setToStringTag$4,createNonEnumerableProperty$2=createNonEnumerableProperty$5,defineBuiltIn$4=defineBuiltIn$7,wellKnownSymbol$d=wellKnownSymbol$i,Iterators$3=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME$2=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$4=wellKnownSymbol$d("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},iteratorDefine=function(e,t,n,i,r,a,s){createIteratorConstructor(n,t,i);function o(e){if(e===r&&f)return f;if(!BUGGY_SAFARI_ITERATORS&&e&&e in d)return d[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new n(this,e)}}return function(){return new n(this)}}var l,c,i=t+" Iterator",u=!1,d=e.prototype,p=d[ITERATOR$4]||d["@@iterator"]||r&&d[r],f=!BUGGY_SAFARI_ITERATORS&&p||o(r),m="Array"===t&&d.entries||p;if(m&&(m=getPrototypeOf(m.call(new e)))!==Object.prototype&&m.next&&(getPrototypeOf(m)!==IteratorPrototype&&(setPrototypeOf$1?setPrototypeOf$1(m,IteratorPrototype):isCallable$9(m[ITERATOR$4])||defineBuiltIn$4(m,ITERATOR$4,returnThis)),setToStringTag$2(m,i,!0)),PROPER_FUNCTION_NAME$2&&r===VALUES&&p&&p.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$2(d,"name",VALUES):(u=!0,f=function(){return call$c(p,this)})),r)if(l={values:o(VALUES),keys:a?f:o(KEYS),entries:o(ENTRIES)},s)for(c in l)!BUGGY_SAFARI_ITERATORS&&!u&&c in d||defineBuiltIn$4(d,c,l[c]);else $$c({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},l);return d[ITERATOR$4]!==f&&defineBuiltIn$4(d,ITERATOR$4,f,{name:r}),Iterators$3[t]=f,l},createIterResultObject$1=function(e,t){return{value:e,done:t}},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$2,Iterators$2=iterators,InternalStateModule$1=internalState,defineProperty$1=objectDefineProperty.f,defineIterator=iteratorDefine,createIterResultObject=createIterResultObject$1,DESCRIPTORS$3=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState$1=InternalStateModule$1.set,getInternalState$1=InternalStateModule$1.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",function(e,t){setInternalState$1(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState$1(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,createIterResultObject(void 0,!0);switch(e.kind){case"keys":return createIterResultObject(n,!1);case"values":return createIterResultObject(t[n],!1)}return createIterResultObject([n,t[n]],!1)},"values"),values=Iterators$2.Arguments=Iterators$2.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS$3&&"values"!==values.name)try{defineProperty$1(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,isObject$2=isObject$b,classof$6=classofRaw$2,wellKnownSymbol$c=wellKnownSymbol$i,MATCH$1=wellKnownSymbol$i("match"),isRegexp=function(e){var t;return isObject$2(e)&&(void 0!==(t=e[MATCH$1])?!!t:"RegExp"===classof$6(e))},isRegExp=isRegexp,$TypeError$9=TypeError,notARegexp=function(e){if(isRegExp(e))throw new $TypeError$9("The method doesn't accept regular expressions");return e},wellKnownSymbol$b=wellKnownSymbol$i,TO_STRING_TAG$1=wellKnownSymbol$i("toStringTag"),test$1={},toStringTagSupport=(test$1[TO_STRING_TAG$1]="z","[object z]"===String(test$1)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$8=isCallable$m,classofRaw$1=classofRaw$2,wellKnownSymbol$a=wellKnownSymbol$i,TO_STRING_TAG=wellKnownSymbol$i("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw$1(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$5=TO_STRING_TAG_SUPPORT?classofRaw$1:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=tryGet(e=$Object(e),TO_STRING_TAG))?t:CORRECT_ARGUMENTS?classofRaw$1(e):"Object"===(t=classofRaw$1(e))&&isCallable$8(e.callee)?"Arguments":t},classof$4=classof$5,$String=String,toString$7=function(e){if("Symbol"===classof$4(e))throw new TypeError("Cannot convert a Symbol value to a string");return $String(e)},wellKnownSymbol$9=wellKnownSymbol$i,MATCH=wellKnownSymbol$i("match"),correctIsRegexpLogic=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[MATCH]=!1,"/./"[t](n)}catch(e){}}return!1},$$b=_export,uncurryThis$b=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible$3=requireObjectCoercible$7,toString$6=toString$7,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf$1=functionUncurryThis("".indexOf),domIterables=($$b({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf$1(toString$6(requireObjectCoercible$3(this)),toString$6(notARegExp(e)),1<arguments.length?arguments[1]:void 0)}}),{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$c=global$m,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty$1=createNonEnumerableProperty$5,setToStringTag$1=setToStringTag$4,wellKnownSymbol$8=wellKnownSymbol$i,ITERATOR$3=wellKnownSymbol$i("iterator"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR$3]!==ArrayValues)try{createNonEnumerableProperty$1(t,ITERATOR$3,ArrayValues)}catch(e){t[ITERATOR$3]=ArrayValues}if(setToStringTag$1(t,e,!0),DOMIterables[e])for(var n in ArrayIteratorMethods)if(t[n]!==ArrayIteratorMethods[n])try{createNonEnumerableProperty$1(t,n,ArrayIteratorMethods[n])}catch(e){t[n]=ArrayIteratorMethods[n]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$c[COLLECTION_NAME]&&global$c[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");var EmptyStringDescriptionStore,SymbolWrapper,NATIVE_SYMBOL,thisSymbolValue,symbolDescriptiveString,regexp,replace$3,stringSlice$4,makeBuiltIn=makeBuiltIn$3.exports,defineProperty=objectDefineProperty,defineBuiltInAccessor$2=function(e,t,n){return n.get&&makeBuiltIn(n.get,t,{getter:!0}),n.set&&makeBuiltIn(n.set,t,{setter:!0}),defineProperty.f(e,t,n)},$$a=_export,DESCRIPTORS$2=descriptors,global$b=global$m,uncurryThis$a=functionUncurryThis,hasOwn$2=hasOwnProperty_1,isCallable$7=isCallable$m,isPrototypeOf$3=objectIsPrototypeOf,toString$5=toString$7,defineBuiltInAccessor$1=defineBuiltInAccessor$2,copyConstructorProperties=copyConstructorProperties$2,NativeSymbol=global$m.Symbol,SymbolPrototype=NativeSymbol&&NativeSymbol.prototype,anObject$8=(!DESCRIPTORS$2||!isCallable$7(NativeSymbol)||"description"in SymbolPrototype&&void 0===NativeSymbol().description||(EmptyStringDescriptionStore={},copyConstructorProperties(SymbolWrapper=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:toString$5(arguments[0]),t=isPrototypeOf$3(SymbolPrototype,this)?new NativeSymbol(e):void 0===e?NativeSymbol():NativeSymbol(e);return""===e&&(EmptyStringDescriptionStore[t]=!0),t},NativeSymbol),(SymbolWrapper.prototype=SymbolPrototype).constructor=SymbolWrapper,NATIVE_SYMBOL="Symbol(description detection)"===String(NativeSymbol("description detection")),thisSymbolValue=uncurryThis$a(SymbolPrototype.valueOf),symbolDescriptiveString=uncurryThis$a(SymbolPrototype.toString),regexp=/^Symbol\((.*)\)[^)]+$/,replace$3=uncurryThis$a("".replace),stringSlice$4=uncurryThis$a("".slice),defineBuiltInAccessor$1(SymbolPrototype,"description",{configurable:!0,get:function(){var e=thisSymbolValue(this);return hasOwn$2(EmptyStringDescriptionStore,e)?"":(e=symbolDescriptiveString(e),""===(e=NATIVE_SYMBOL?stringSlice$4(e,7,-1):replace$3(e,regexp,"$1"))?void 0:e)}}),$$a({global:!0,constructor:!0,forced:!0},{Symbol:SymbolWrapper})),anObject$d),regexpFlags$1=function(){var e=anObject$8(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},call$b=functionCall,hasOwn$1=hasOwnProperty_1,isPrototypeOf$2=objectIsPrototypeOf,regExpFlags=regexpFlags$1,RegExpPrototype$2=RegExp.prototype,regexpGetFlags=function(e){var t=e.flags;return void 0!==t||"flags"in RegExpPrototype$2||hasOwn$1(e,"flags")||!isPrototypeOf$2(RegExpPrototype$2,e)?t:call$b(regExpFlags,e)},PROPER_FUNCTION_NAME$1=functionName.PROPER,defineBuiltIn$3=defineBuiltIn$7,anObject$7=anObject$d,$toString=toString$7,fails$a=fails$n,getRegExpFlags=regexpGetFlags,TO_STRING="toString",RegExpPrototype$1=RegExp.prototype,nativeToString=RegExpPrototype$1[TO_STRING],NOT_GENERIC=fails$a(function(){return"/a/b"!==nativeToString.call({source:"a",flags:"b"})}),INCORRECT_NAME=PROPER_FUNCTION_NAME$1&&nativeToString.name!==TO_STRING;(NOT_GENERIC||INCORRECT_NAME)&&defineBuiltIn$3(RegExpPrototype$1,TO_STRING,function(){var e=anObject$7(this);return"/"+$toString(e.source)+"/"+$toString(getRegExpFlags(e))},{unsafe:!0});const ApplicationListItem=({app:e,onOpenApplicationDetailPanel:t,showInstalledChip:n=!1,isAppInstalled:i})=>{var{name:e,description:r,iconUrl:a,id:s,ownerOrganizationId:o}=e,l=useSelector(selectAdminCenterOrgIdString),o=l&&o&&o.toString()===l,l={height:"18px",borderRadius:"30px",mb:1},c={fontWeight:"800",fontSize:"9px",lineHeight:"12px",textTransform:"uppercase"};return jsxRuntime.exports.jsxs(react.exports.Fragment,Object.assign({"data-test":"os-admin-center-applications-list-item"},{children:[jsxRuntime.exports.jsxs(ListItem,Object.assign({alignItems:"center",sx:{minHeight:"134px",p:4}},{children:[jsxRuntime.exports.jsx(ListItemAvatar,Object.assign({sx:{alignSelf:"flex-start"},"data-test":"os-admin-center-applications-list-item-avatar"},{children:jsxRuntime.exports.jsx(Avatar,Object.assign({src:a,alt:e},{children:jsxRuntime.exports.jsx(Avatar,{children:e[0]})}))})),jsxRuntime.exports.jsx(ListItemText,{sx:{display:"inline",maxWidth:"390px",alignSelf:"flex-start",m:0},primary:jsxRuntime.exports.jsxs(react.exports.Fragment,Object.assign({"data-test":"os-admin-center-applications-list-item-name"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{color:"#2A323C",fontWeight:"400"}},{children:e})),jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",spacing:1},{children:[n&&i&&i(s)&&jsxRuntime.exports.jsx(Chip,{label:jsxRuntime.exports.jsx(Typography,Object.assign({sx:Object.assign({color:green[700]},c)},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications-installed-badge-123132",defaultMessage:"Installed",description:"installed application badge"})})),color:"success",size:"small",sx:Object.assign({background:"rgba(27, 94, 32, 0.2)",width:"70px"},l)}),o&&jsxRuntime.exports.jsx(Chip,{"data-test":"os-admin-center-applications-list-item-current-org-owner",icon:jsxRuntime.exports.jsx(Lock,{style:{height:"12px",width:"12px"}}),label:jsxRuntime.exports.jsx(Typography,Object.assign({sx:Object.assign({color:"#4F5863"},c)},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications-org-owned-badge-123112",defaultMessage:"org owned",description:"org owned application badge"})})),variant:"outlined",size:"small",sx:Object.assign({width:"90px"},l)})]}))]})),secondary:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",sx:{mt:1},"data-test":"os-admin-center-applications-list-item-description"},{children:r}))}),jsxRuntime.exports.jsx(ListItemSecondaryAction,{children:jsxRuntime.exports.jsx(Button,Object.assign({onClick:t,variant:"outlined",color:"primary","data-testid":"admin-center-application-details-panel-open-button","data-test":"admin-center-application-details-panel-open-button","data-appid":s},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"admin-center-applications-org-owned-view-details-button-123112",defaultMessage:"View Details",description:"org owned application view details button"})}))})]})),jsxRuntime.exports.jsx(Divider,{})]}))},LoaderSkeletonItem=()=>jsxRuntime.exports.jsxs(ListItem,Object.assign({alignItems:"center",sx:{height:"134px"}},{children:[jsxRuntime.exports.jsx(ListItemAvatar,{children:jsxRuntime.exports.jsx(Skeleton,{variant:"circular",width:40,height:40})}),jsxRuntime.exports.jsx(ListItemText,{children:jsxRuntime.exports.jsx(Skeleton,{variant:"text",width:150,height:30})}),jsxRuntime.exports.jsx(ListItemSecondaryAction,{children:jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",width:87,height:35})})]})),LoaderSkeleton=()=>jsxRuntime.exports.jsxs(List,{children:[jsxRuntime.exports.jsx(LoaderSkeletonItem,{}),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx(LoaderSkeletonItem,{}),jsxRuntime.exports.jsx(Divider,{}),jsxRuntime.exports.jsx(LoaderSkeletonItem,{}),jsxRuntime.exports.jsx(Divider,{})]}),ApplicationList=({apps:e,uiStatus:t,onRetry:n,showInstalledChip:i=!1,isAppInstalled:r})=>{const a=useDispatch();return"loading"===t?jsxRuntime.exports.jsx(LoaderSkeleton,{}):"failure"===t?jsxRuntime.exports.jsx(ErrorState,{onRetry:n,errorMessage:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-admin-center-applications.error-message",defaultMessage:"Something went wrong while loading applications.",description:"admin center applications error state"})}):jsxRuntime.exports.jsx(List,Object.assign({sx:{maxHeight:"95%",overflowY:"auto"},"data-test":"os-admin-center-applications-list"},{children:e.map(e=>{return jsxRuntime.exports.jsx(ApplicationListItem,{app:e,onOpenApplicationDetailPanel:(t=e,()=>{a(mountPanel({panelId:"APPLICATION_DETAILS_PANEL-"+t.id,microFrontend:{name:"APPLICATION_DETAILS_PANEL",config:{applicationId:t.id,initValue:t}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"large",parentPanelId:"ADMIN_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0,disableHide:!0}}))}),showInstalledChip:i,isAppInstalled:r});var t})}))},SLICE_NAME$1="adminCenterApplication",namespace$2="adminCenterApplications",initialState$2={allApplications:[],installedApplications:[],allAppStatus:"idle",installedAppStatus:"idle"},adminCenterApplicationSlice=createSlice({name:SLICE_NAME$1+"/"+namespace$2,initialState:initialState$2,reducers:{fetchAllApplicationsStart(e){e.allAppStatus="loading"},fetchAllApplicationsSuccess(e,t){e.allAppStatus="success",e.allApplications=t.payload},fetchAllApplicationsFailure(e){e.allAppStatus="failure"},fetchInstalledApplicationsStart(e){e.installedAppStatus="loading"},fetchInstalledApplicationsSuccess(e,t){e.installedAppStatus="success",e.installedApplications=t.payload},fetchInstalledApplicationsFailure(e){e.installedAppStatus="failure"}}}),actions$2=adminCenterApplicationSlice.actions;var Status,adminCenterApplications_state=adminCenterApplicationSlice.reducer;const selectInstalledApps=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.installedApplications},selectAllApps=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.allApplications},selectAllAppsUiStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.allAppStatus},selectInstalledAppsUiStatus=e=>{return null==(e=null==(e=null==e?void 0:e[SLICE_NAME$1])?void 0:e[namespace$2])?void 0:e.installedAppStatus};function __rest(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function __awaiter(e,s,o,l){return new(o=o||Promise)(function(n,t){function i(e){try{a(l.next(e))}catch(e){t(e)}}function r(e){try{a(l.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?n(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(i,r)}a((l=l.apply(e,s||[])).next())})}const SLICE_NAME="applications",NO_ROLE=(!function(e){e.idle="idle",e.loading="loading",e.success="success",e.failure="failure"}(Status=Status||{}),"NO_ROLE"),AVATAR_COLORS=["#f94144ff","#f3722cff","#f8961eff","#f9844aff","#f9c74fff","#90be6dff","#43aa8bff","#4d908eff","#577590ff","#277da1ff"],APPLICATION_DETAILS_TABS={BASIC_INFO:"application-details-tab-label-basic-info",APP_SETTINGS:"application-details-tab-label-app-settings",APP_USERS:"application-details-tab-label-app-users",USER_SETTINGS:"application-details-tab-label-user-settings"},formattedName$1=e=>{var t;return""+(null==(t=null==(t=e.firstName)?void 0:t.charAt(0))?void 0:t.toUpperCase())+(null==(e=null==(t=e.lastName)?void 0:t.charAt(0))?void 0:e.toUpperCase())},getApplicationRole=(t="",e)=>{e=e.find(e=>e.appName===t);return(null==e?void 0:e.id)||NO_ROLE};let usedColors=[];const getAvatarColor=()=>{var e=Math.floor(Math.random()*AVATAR_COLORS.length);return usedColors.includes(e)?getAvatarColor():((usedColors=usedColors.length>=AVATAR_COLORS.length/2?[]:usedColors).push(e),AVATAR_COLORS[e])},createUpdateUser=e=>{return{id:e.id,roleIds:e.roles.map(e=>e.id),organizationId:null==(e=e.organization)?void 0:e.id}},deepCopyUsers=e=>e.map(e=>Object.assign(Object.assign({},e),{roles:[...e.roles]})),roleIsInList=(e,t)=>!!e.find(e=>e.id===t.id),isAdminRole=e=>e.name.toLowerCase().includes("admin"),namespace$1="applicationDetail",initialState$1={status:"idle",application:{},ownerOrganization:{name:""},offset:0,hasMore:!0,allRoles:[],appRoles:[],appIsOwned:!1,initApplicationUsers:[],applicationUsers:[],modifiedUsers:[],userSearchResults:[],usersStatus:"idle",userSearchTerm:"",saveUsersEnabled:!1,rolesStatus:"idle",applicationConfigDefinitions:null,userConfigDefinitions:null,unsavedConfigChanges:null,selectedTab:"application-details-tab-label-basic-info",usersTabAvailable:null,mutateApplicationWorkflowStatus:"idle"},applicationDetailSlice=createSlice({name:SLICE_NAME+"/"+namespace$1,initialState:initialState$1,reducers:{setInitialApplicationValue(e,t){var n=t.payload,i=n.application,r=i["ownerOrganization"],i=__rest(i,["ownerOrganization"]),n=n["appIsOwned"];e.initValue=t.payload.application,e.application=i,e.ownerOrganization=r||{id:i.ownerOrganizationId},e.appIsOwned=void 0!==n?n:e.appIsOwned,e.status=Status.success},fetchOwnerOrganizationSuccess(e,t){e.ownerOrganization=t.payload},fetchApplicationStart(e,t){var{applicationId:t,initValue:n,appIsOwned:i}=t.payload;e.applicationId=t,e.appIsOwned=void 0!==i?i:e.appIsOwned,n?(t=n["ownerOrganization"],i=__rest(n,["ownerOrganization"]),e.initValue=n,e.application=i,e.ownerOrganization=t,e.status=Status.success):e.status=Status.loading},fetchApplicationSuccess(e,t){var{application:t,organization:n,appConfigDefinition:i}=t.payload;e.application=t,e.ownerOrganization=n,e.applicationConfigDefinitions=i.filter(e=>e.configLevel===EApplicationConfigLevel.Organization),e.userConfigDefinitions=i.filter(e=>e.configLevel===EApplicationConfigLevel.User),e.status=Status.success},fetchApplicationError(e){e.status=Status.failure},fetchApplicationConfigDefinitionStart(e,t){e.status=Status.loading},fetchApplicationConfigDefinitionSuccess(e,t){e.status=Status.success,e.applicationConfigDefinitions=t.payload.filter(e=>e.configLevel===EApplicationConfigLevel.Organization),e.userConfigDefinitions=t.payload.filter(e=>e.configLevel===EApplicationConfigLevel.User)},fetchApplicationConfigDefinitionFailure(e){e.status=Status.failure},changeApplicationConfig(e,t){e.unsavedConfigChanges=t.payload},saveApplicationConfigStart(e,t){e.unsavedConfigChanges=t.payload.configValues},saveApplicationConfigSuccess(e){e.unsavedConfigChanges=null},saveApplicationConfigFailure(){},setStatus(e,t){e.status=t.payload},installAppStart(e,t){e.status=Status.loading},installAppSuccess(e,t){e.status=Status.success,e.application=t.payload,e.unsavedConfigChanges=null},installAppFailure(e){e.status=Status.failure},initApplicationUsers(e,t){e.usersStatus=Status.loading},initApplicationUsersSuccess(e,t){e.applicationId=t.payload.applicationId,e.applicationKey=t.payload.applicationKey,t.payload.skipLoad&&(e.usersStatus=Status.success)},initApplicationUsersFailure(e){e.usersStatus=Status.failure},fetchApplicationUsersStart(e){e.usersStatus=Status.loading},refreshApplicationUsersStart(e){e.usersStatus=Status.loading,e.hasMore=!0,e.offset=0,e.initApplicationUsers=[],e.applicationUsers=[]},fetchApplicationUsersSuccess(e,t){e.usersStatus=Status.success,e.initApplicationUsers=t.payload.records.map(e=>Object.assign(Object.assign({},e),{avatarColor:getAvatarColor()}));var n=[...e.applicationUsers,...e.initApplicationUsers];e.applicationUsers=deepCopyUsers(n),e.hasMore=t.payload.hasMore,e.offset=t.payload.nextOffset},fetchApplicationUsersFailure(e){e.usersStatus=Status.failure},fetchApplicationRolesStart(e){e.usersStatus=Status.loading},fetchApplicationRolesSuccess(t,e){t.allRoles=e.payload,t.appRoles=t.allRoles.filter(e=>e.appName===t.applicationKey),t.rolesStatus=Status.success},fetchApplicationRolesFailure(e){e.usersStatus=Status.failure},searchApplicationUsersStart(e,t){e.usersStatus=Status.loading,e.userSearchTerm=t.payload},searchApplicationUsersSuccess(e,t){e.usersStatus=Status.success,e.userSearchResults=t.payload},searchApplicationUsersFailure(e){e.usersStatus=Status.failure},selectUser(e,t){e.applicationUsers=[...e.applicationUsers,t.payload],e.userSearchResults=[]},updateApplicationUserRole(t,e){const{userId:n,roleId:i}=e.payload;var e=t.applicationUsers.findIndex(e=>e.id===n),r=t.modifiedUsers.findIndex(e=>e.id===n),a=t.appRoles.find(e=>e.id===i),s=t.applicationUsers[e].roles.filter(e=>e.appName!==t.applicationKey);a&&s.push(a),t.applicationUsers[e]=Object.assign(Object.assign({},t.applicationUsers[e]),{roles:s}),-1===r?t.modifiedUsers=[...t.modifiedUsers,createUpdateUser(t.applicationUsers[e])]:t.modifiedUsers[r]=createUpdateUser(t.applicationUsers[e])},removeApplicationUserRoleStart(e,t){},removeApplicationUserRoleSuccess(t,n){var e=t.applicationUsers.findIndex(e=>e.id===n.payload),i=t.modifiedUsers.findIndex(e=>e.id===n.payload),r=t.applicationUsers[e].roles.filter(e=>e.appName!==t.applicationKey);t.applicationUsers[e]=Object.assign(Object.assign({},t.applicationUsers[e]),{roles:r}),-1===i?t.modifiedUsers=[...t.modifiedUsers,createUpdateUser(t.applicationUsers[e])]:t.modifiedUsers[i]=createUpdateUser(t.applicationUsers[e])},saveApplicationUsersStart(e){e.usersStatus=Status.loading},saveApplicationUsersSuccess(e){e.usersStatus=Status.success,e.modifiedUsers=[]},saveApplicationUsersFailure(e){e.usersStatus=Status.failure},cancelApplicationUserChanges(e){e.applicationUsers=deepCopyUsers(e.initApplicationUsers),e.modifiedUsers=[]},changeSelectedTab(e,t){e.selectedTab=t.payload},checkIsUsersTabAvailableStart(e){e.usersTabAvailable=null},checkIsUsersTabAvailableSuccess(e,t){e.usersTabAvailable=t.payload},checkIsUsersTabAvailableFailure(e){e.usersTabAvailable=!1},mutateApplicationWorkflowStart(e,t){e.mutateApplicationWorkflowStatus=Status.loading},mutateApplicationWorkflowSuccess(e,t){e.application.status=t.payload.status,e.application.validStateActions=t.payload.validStateActions,e.mutateApplicationWorkflowStatus=Status.success},mutateApplicationWorkflowFailure(e){e.mutateApplicationWorkflowStatus=Status.failure}}}),actions$1=applicationDetailSlice.actions;var applicationDetailsPanelReducer=applicationDetailSlice.reducer;const namespace=SLICE_NAME$1,initialState={[namespace$2]:initialState$2,[namespace$1]:initialState$1},actions={[namespace$2]:actions$2,[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$2]:adminCenterApplications_state,[namespace$1]:applicationDetailsPanelReducer});var $location,defer,channel,port,toggle,node,promise,then,queue,flush,notify$1,Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,tryToString$3=tryToString$5,$TypeError$8=TypeError,deletePropertyOrThrow$1=function(e,t){if(!delete e[t])throw new $TypeError$8("Cannot delete property "+tryToString$3(t)+" of "+tryToString$3(e))},uncurryThis$9=functionUncurryThis,arraySlice$2=functionUncurryThis([].slice),arraySlice$1=arraySlice$2,floor$1=Math.floor,sort=function(e,t){var n=e.length;if(n<8)for(var i,r,a=1;a<n;){for(i=e[r=a];r&&0<t(e[r-1],i);)e[r]=e[--r];r!==a++&&(e[r]=i)}else for(var s=floor$1(n/2),o=sort(arraySlice$1(e,0,s),t),l=sort(arraySlice$1(e,s),t),c=o.length,u=l.length,d=0,p=0;d<c||p<u;)e[d+p]=d<c&&p<u?t(o[d],l[p])<=0?o[d++]:l[p++]:d<c?o[d++]:l[p++];return e},arraySort=sort,fails$9=fails$n,arrayMethodIsStrict$2=function(e,t){var n=[][e];return!!n&&fails$9(function(){n.call(null,t||function(){return 1},1)})},userAgent$4=engineUserAgent,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent$3=engineUserAgent,webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$$9=_export,uncurryThis$8=functionUncurryThis,aCallable$7=aCallable$a,toObject$2=toObject$6,lengthOfArrayLike$2=lengthOfArrayLike$4,deletePropertyOrThrow=deletePropertyOrThrow$1,toString$4=toString$7,fails$8=fails$n,internalSort=arraySort,arrayMethodIsStrict$1=arrayMethodIsStrict$2,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis$8(test.sort),push$1=uncurryThis$8(test.push),FAILS_ON_UNDEFINED=fails$8(function(){test.sort(void 0)}),FAILS_ON_NULL=fails$8(function(){test.sort(null)}),STRICT_METHOD=arrayMethodIsStrict$1("sort"),STABLE_SORT=!fails$8(function(){if(V8)return V8<70;if(!(FF&&3<FF)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;for(var e,t,n,i="",r=65;r<76;r++){switch(e=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(n=0;n<47;n++)test.push({k:e+n,v:t})}for(test.sort(function(e,t){return t.v-e.v}),n=0;n<test.length;n++)e=test[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}),FORCED$1=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT,getSortCompare=function(n){return function(e,t){return void 0===t?-1:void 0===e?1:void 0!==n?+n(e,t)||0:toString$4(e)>toString$4(t)?1:-1}},global$a=($$9({target:"Array",proto:!0,forced:FORCED$1},{sort:function(e){void 0!==e&&aCallable$7(e);var t=toObject$2(this);if(STABLE_SORT)return void 0===e?nativeSort(t):nativeSort(t,e);for(var n,i=[],r=lengthOfArrayLike$2(t),a=0;a<r;a++)a in t&&push$1(i,t[a]);for(internalSort(i,getSortCompare(e)),n=lengthOfArrayLike$2(i),a=0;a<n;)t[a]=i[a++];for(;a<r;)deletePropertyOrThrow(t,a++);return t}}),global$m),classof$3=classofRaw$2,engineIsNode="process"===classofRaw$2(global$m.process),getBuiltIn$3=getBuiltIn$7,defineBuiltInAccessor=defineBuiltInAccessor$2,wellKnownSymbol$7=wellKnownSymbol$i,DESCRIPTORS$1=descriptors,SPECIES$3=wellKnownSymbol$i("species"),setSpecies$1=function(e){e=getBuiltIn$3(e);DESCRIPTORS$1&&e&&!e[SPECIES$3]&&defineBuiltInAccessor(e,SPECIES$3,{configurable:!0,get:function(){return this}})},isPrototypeOf$1=objectIsPrototypeOf,$TypeError$7=TypeError,anInstance$1=function(e,t){if(isPrototypeOf$1(t,e))return e;throw new $TypeError$7("Incorrect invocation")},uncurryThis$7=functionUncurryThis,fails$7=fails$n,isCallable$6=isCallable$m,classof$2=classof$5,getBuiltIn$2=getBuiltIn$7,inspectSource$1=inspectSource$3,noop=function(){},construct=getBuiltIn$7("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$1=uncurryThis$7(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop),isConstructorModern=function(e){if(!isCallable$6(e))return!1;try{return construct(noop,[],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$1(constructorRegExp,inspectSource$1(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$7(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString$2=tryToString$5,$TypeError$6=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw new $TypeError$6(tryToString$2(e)+" is not a constructor")},anObject$6=anObject$d,aConstructor=aConstructor$1,isNullOrUndefined$2=isNullOrUndefined$5,wellKnownSymbol$6=wellKnownSymbol$i,SPECIES$2=wellKnownSymbol$i("species"),speciesConstructor$1=function(e,t){var e=anObject$6(e).constructor;return void 0===e||isNullOrUndefined$2(e=anObject$6(e)[SPECIES$2])?t:aConstructor(e)},NATIVE_BIND$1=functionBindNative,FunctionPrototype=Function.prototype,apply$2=FunctionPrototype.apply,call$a=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND$1?call$a.bind(apply$2):function(){return call$a.apply(apply$2,arguments)}),classofRaw=classofRaw$2,uncurryThis$6=functionUncurryThis,functionUncurryThisClause=function(e){if("Function"===classofRaw(e))return uncurryThis$6(e)},uncurryThis$5=functionUncurryThisClause,aCallable$6=aCallable$a,NATIVE_BIND=functionBindNative,bind$4=functionUncurryThisClause(functionUncurryThisClause.bind),functionBindContext=function(e,t){return aCallable$6(e),void 0===t?e:NATIVE_BIND?bind$4(e,t):function(){return e.apply(t,arguments)}},$TypeError$5=TypeError,validateArgumentsLength$1=function(e,t){if(e<t)throw new $TypeError$5("Not enough arguments");return e},userAgent$2=engineUserAgent,engineIsIos=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2),global$9=global$m,apply$1=functionApply,bind$3=functionBindContext,isCallable$5=isCallable$m,hasOwn=hasOwnProperty_1,fails$6=fails$n,html=html$2,arraySlice=arraySlice$2,createElement=documentCreateElement$2,validateArgumentsLength=validateArgumentsLength$1,IS_IOS$1=engineIsIos,IS_NODE$4=engineIsNode,set=global$9.setImmediate,clear=global$9.clearImmediate,process$2=global$9.process,Dispatch=global$9.Dispatch,Function$1=global$9.Function,MessageChannel=global$9.MessageChannel,String$1=global$9.String,counter=0,queue$2={},ONREADYSTATECHANGE="onreadystatechange",run=(fails$6(function(){$location=global$9.location}),function(e){var t;hasOwn(queue$2,e)&&(t=queue$2[e],delete queue$2[e],t())}),runner=function(e){return function(){run(e)}},eventListener=function(e){run(e.data)},globalPostMessageDefer=function(e){global$9.postMessage(String$1(e),$location.protocol+"//"+$location.host)},task$1=(set&&clear||(set=function(e){validateArgumentsLength(arguments.length,1);var t=isCallable$5(e)?e:Function$1(e),n=arraySlice(arguments,1);return queue$2[++counter]=function(){apply$1(t,void 0,n)},defer(counter),counter},clear=function(e){delete queue$2[e]},IS_NODE$4?defer=function(e){process$2.nextTick(runner(e))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(runner(e))}:MessageChannel&&!IS_IOS$1?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind$3(port.postMessage,port)):global$9.addEventListener&&isCallable$5(global$9.postMessage)&&!global$9.importScripts&&$location&&"file:"!==$location.protocol&&!fails$6(globalPostMessageDefer)?(defer=globalPostMessageDefer,global$9.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}),global$8=global$m,DESCRIPTORS=descriptors,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,safeGetBuiltIn$1=function(e){var t;return DESCRIPTORS?(t=getOwnPropertyDescriptor(global$8,e))&&t.value:global$8[e]},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$m,safeGetBuiltIn=safeGetBuiltIn$1,bind$2=functionBindContext,macrotask=task$1.set,Queue$1=queue$1,IS_IOS=engineIsIos,IS_IOS_PEBBLE=engineIsIosPebble,IS_WEBOS_WEBKIT=engineIsWebosWebkit,IS_NODE$3=engineIsNode,MutationObserver=global$7.MutationObserver||global$7.WebKitMutationObserver,document$2=global$7.document,process$1=global$7.process,Promise$1=global$7.Promise,microtask$1=safeGetBuiltIn("queueMicrotask"),microtask_1=(microtask$1||(queue=new Queue$1,flush=function(){var e,t;for(IS_NODE$3&&(e=process$1.domain)&&e.exit();t=queue.get();)try{t()}catch(e){throw queue.head&&notify$1(),e}e&&e.enter()},notify$1=IS_IOS||IS_NODE$3||IS_WEBOS_WEBKIT||!MutationObserver||!document$2?!IS_IOS_PEBBLE&&Promise$1&&Promise$1.resolve?((promise=Promise$1.resolve(void 0)).constructor=Promise$1,then=bind$2(promise.then,promise),function(){then(flush)}):IS_NODE$3?function(){process$1.nextTick(flush)}:(macrotask=bind$2(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$m,promiseNativeConstructor=global$m.Promise,engineIsDeno="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,IS_DENO$1=engineIsDeno,IS_NODE$2=engineIsNode,engineIsBrowser=!engineIsDeno&&!engineIsNode&&"object"==typeof window&&"object"==typeof document,global$5=global$m,NativePromiseConstructor$3=promiseNativeConstructor,isCallable$4=isCallable$m,isForced=isForced_1,inspectSource=inspectSource$3,wellKnownSymbol$5=wellKnownSymbol$i,IS_BROWSER=engineIsBrowser,IS_DENO=engineIsDeno,V8_VERSION=engineV8Version,SPECIES$1=(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 n(e){e(function(){},function(){})}e=new NativePromiseConstructor$3(function(e){e(1)});if((e.constructor={})[SPECIES$1]=n,!(SUBCLASSING=e.then(function(){})instanceof n))return!0}return!t&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT$1}),promiseConstructorDetection={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR$5,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT$1,SUBCLASSING:SUBCLASSING},newPromiseCapability$2={},aCallable$5=aCallable$a,$TypeError$4=TypeError,PromiseCapability=function(e){var n,i;this.promise=new e(function(e,t){if(void 0!==n||void 0!==i)throw new $TypeError$4("Bad Promise constructor");n=e,i=t}),this.resolve=aCallable$5(n),this.reject=aCallable$5(i)},$$8=(newPromiseCapability$2.f=function(e){return new PromiseCapability(e)},_export),IS_NODE$1=engineIsNode,global$4=global$m,call$9=functionCall,defineBuiltIn$2=defineBuiltIn$7,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$4,setSpecies=setSpecies$1,aCallable$4=aCallable$a,isCallable$3=isCallable$m,isObject$1=isObject$b,anInstance=anInstance$1,speciesConstructor=speciesConstructor$1,task=task$1.set,microtask=microtask_1,hostReportErrors=hostReportErrors$1,perform$2=perform$3,Queue=queue$1,InternalStateModule=internalState,NativePromiseConstructor$2=promiseNativeConstructor,PromiseConstructorDetection=promiseConstructorDetection,newPromiseCapabilityModule$3=newPromiseCapability$2,PROMISE="Promise",FORCED_PROMISE_CONSTRUCTOR$4=PromiseConstructorDetection.CONSTRUCTOR,NATIVE_PROMISE_REJECTION_EVENT=PromiseConstructorDetection.REJECTION_EVENT,NATIVE_PROMISE_SUBCLASSING=PromiseConstructorDetection.SUBCLASSING,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),setInternalState=InternalStateModule.set,NativePromisePrototype$1=NativePromiseConstructor$2&&NativePromiseConstructor$2.prototype,PromiseConstructor=NativePromiseConstructor$2,PromisePrototype=NativePromisePrototype$1,TypeError$1=global$4.TypeError,document$1=global$4.document,process=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$1(e)||!isCallable$3(t=e.then))&&t},callReaction=function(e,t){var n,i,r,a=t.value,s=t.state===FULFILLED,o=s?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{o?(s||(t.rejection===UNHANDLED&&onHandleUnhandled(t),t.rejection=HANDLED),!0===o?n=a:(u&&u.enter(),n=o(a),u&&(u.exit(),r=!0)),n===e.promise?c(new TypeError$1("Promise-chain cycle")):(i=isThenable(n))?call$9(i,n,l,c):l(n)):c(a)}catch(e){u&&!r&&u.exit(),c(e)}},notify=function(n,i){n.notified||(n.notified=!0,microtask(function(){for(var e,t=n.reactions;e=t.get();)callReaction(e,n);n.notified=!1,i&&!n.rejection&&onUnhandled(n)}))},dispatchEvent=function(e,t,n){var i;DISPATCH_EVENT?((i=document$1.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),global$4.dispatchEvent(i)):i={promise:t,reason:n},!NATIVE_PROMISE_REJECTION_EVENT&&(t=global$4["on"+e])?t(i):e===UNHANDLED_REJECTION&&hostReportErrors("Unhandled promise rejection",n)},onUnhandled=function(i){call$9(task,global$4,function(){var e=i.facade,t=i.value,n=isUnhandled(i);if(n&&(n=perform$2(function(){IS_NODE$1?process.emit("unhandledRejection",t,e):dispatchEvent(UNHANDLED_REJECTION,e,t)}),i.rejection=IS_NODE$1||isUnhandled(i)?UNHANDLED:HANDLED,n.error))throw n.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$1?process.emit("rejectionHandled",e):dispatchEvent(REJECTION_HANDLED,e,t.value)})},bind$1=function(t,n,i){return function(e){t(n,e,i)}},internalReject=function(e,t,n){e.done||(e.done=!0,(e=n?n:e).value=t,e.state=REJECTED,notify(e,!0))},internalResolve=function(n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(n.facade===e)throw new TypeError$1("Promise can't be resolved itself");var i=isThenable(e);i?microtask(function(){var t={done:!1};try{call$9(i,e,bind$1(internalResolve,t,n),bind$1(internalReject,t,n))}catch(e){internalReject(t,e,n)}}):(n.value=e,n.state=FULFILLED,notify(n,!1))}catch(e){internalReject({done:!1},e,n)}}};if(FORCED_PROMISE_CONSTRUCTOR$4&&(PromisePrototype=(PromiseConstructor=function(e){anInstance(this,PromisePrototype),aCallable$4(e),call$9(Internal,this);var t=getInternalPromiseState(this);try{e(bind$1(internalResolve,t),bind$1(internalReject,t))}catch(e){internalReject(t,e)}}).prototype,(Internal=function(e){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:new Queue,rejection:!1,state:PENDING,value:void 0})}).prototype=defineBuiltIn$2(PromisePrototype,"then",function(e,t){var n=getInternalPromiseState(this),i=newPromiseCapability$1(speciesConstructor(this,PromiseConstructor));return n.parent=!0,i.ok=!isCallable$3(e)||e,i.fail=isCallable$3(t)&&t,i.domain=IS_NODE$1?process.domain:void 0,n.state===PENDING?n.reactions.add(i):microtask(function(){callReaction(i,n)}),i.promise}),OwnPromiseCapability=function(){var e=new Internal,t=getInternalPromiseState(e);this.promise=e,this.resolve=bind$1(internalResolve,t),this.reject=bind$1(internalReject,t)},newPromiseCapabilityModule$3.f=newPromiseCapability$1=function(e){return e===PromiseConstructor||e===PromiseWrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)},isCallable$3(NativePromiseConstructor$2))&&NativePromisePrototype$1!==Object.prototype){nativeThen=NativePromisePrototype$1.then,NATIVE_PROMISE_SUBCLASSING||defineBuiltIn$2(NativePromisePrototype$1,"then",function(e,t){var n=this;return new PromiseConstructor(function(e,t){call$9(nativeThen,n,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(PromiseConstructor,PROMISE,!1),setSpecies(PROMISE);var wellKnownSymbol$4=wellKnownSymbol$i,Iterators$1=iterators,ITERATOR$2=wellKnownSymbol$i("iterator"),ArrayPrototype=Array.prototype,isArrayIteratorMethod$1=function(e){return void 0!==e&&(Iterators$1.Array===e||ArrayPrototype[ITERATOR$2]===e)},classof$1=classof$5,getMethod$2=getMethod$4,isNullOrUndefined$1=isNullOrUndefined$5,Iterators=iterators,wellKnownSymbol$3=wellKnownSymbol$i,ITERATOR$1=wellKnownSymbol$i("iterator"),getIteratorMethod$2=function(e){if(!isNullOrUndefined$1(e))return getMethod$2(e,ITERATOR$1)||getMethod$2(e,"@@iterator")||Iterators[classof$1(e)]},call$8=functionCall,aCallable$3=aCallable$a,anObject$5=anObject$d,tryToString$1=tryToString$5,getIteratorMethod$1=getIteratorMethod$2,$TypeError$3=TypeError,getIterator$1=function(e,t){var n=arguments.length<2?getIteratorMethod$1(e):t;if(aCallable$3(n))return anObject$5(call$8(n,e));throw new $TypeError$3(tryToString$1(e)+" is not iterable")},call$7=functionCall,anObject$4=anObject$d,getMethod$1=getMethod$4,iteratorClose$1=function(e,t,n){var i,r;anObject$4(e);try{if(!(i=getMethod$1(e,"return"))){if("throw"===t)throw n;return n}i=call$7(i,e)}catch(e){r=!0,i=e}if("throw"===t)throw n;if(r)throw i;return anObject$4(i),n},bind=functionBindContext,call$6=functionCall,anObject$3=anObject$d,tryToString=tryToString$5,isArrayIteratorMethod=isArrayIteratorMethod$1,lengthOfArrayLike$1=lengthOfArrayLike$4,isPrototypeOf=objectIsPrototypeOf,getIterator=getIterator$1,getIteratorMethod=getIteratorMethod$2,iteratorClose=iteratorClose$1,$TypeError$2=TypeError,Result=function(e,t){this.stopped=e,this.result=t},ResultPrototype=Result.prototype,iterate$2=function(e,t,n){function i(e){return a&&iteratorClose(a,"normal",e),new Result(!0,e)}function r(e){return p?(anObject$3(e),g?h(e[0],e[1],i):h(e[0],e[1])):g?h(e,i):h(e)}var a,s,o,l,c,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),m=!(!n||!n.IS_ITERATOR),g=!(!n||!n.INTERRUPTED),h=bind(t,d);if(f)a=e.iterator;else if(m)a=e;else{if(!(n=getIteratorMethod(e)))throw new $TypeError$2(tryToString(e)+" is not iterable");if(isArrayIteratorMethod(n)){for(s=0,o=lengthOfArrayLike$1(e);s<o;s++)if((l=r(e[s]))&&isPrototypeOf(ResultPrototype,l))return l;return new Result(!1)}a=getIterator(e,n)}for(c=(f?e:a).next;!(u=call$6(c,a)).done;){try{l=r(u.value)}catch(e){iteratorClose(a,"throw",e)}if("object"==typeof l&&l&&isPrototypeOf(ResultPrototype,l))return l}return new Result(!1)},wellKnownSymbol$2=wellKnownSymbol$i,ITERATOR=wellKnownSymbol$i("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,function(){throw 2})}catch(e){}var method,checkCorrectnessOfIteration$1=function(e,t){try{if(!t&&!SAFE_CLOSING)return!1}catch(e){return!1}var n=!1;try{var i={};i[ITERATOR]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},NativePromiseConstructor$1=promiseNativeConstructor,checkCorrectnessOfIteration=checkCorrectnessOfIteration$1,FORCED_PROMISE_CONSTRUCTOR$3=promiseConstructorDetection.CONSTRUCTOR,promiseStaticsIncorrectIteration=FORCED_PROMISE_CONSTRUCTOR$3||!checkCorrectnessOfIteration(function(e){NativePromiseConstructor$1.all(e).then(void 0,function(){})}),$$7=_export,call$5=functionCall,aCallable$2=aCallable$a,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 o=this,t=newPromiseCapabilityModule$2.f(o),l=t.resolve,c=t.reject,n=perform$1(function(){var i=aCallable$2(o.resolve),r=[],a=0,s=1;iterate$1(e,function(e){var t=a++,n=!1;s++,call$5(i,o,e).then(function(e){n||(n=!0,r[t]=e,--s)||l(r)},c)}),--s||l(r)});return n.error&&c(n.value),t.promise}}),_export),FORCED_PROMISE_CONSTRUCTOR$2=promiseConstructorDetection.CONSTRUCTOR,NativePromiseConstructor=promiseNativeConstructor,getBuiltIn$1=getBuiltIn$7,isCallable$2=isCallable$m,defineBuiltIn$1=defineBuiltIn$7,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$1(NativePromisePrototype,"catch",method,{unsafe:!0}),_export),call$4=functionCall,aCallable$1=aCallable$a,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 n=this,i=newPromiseCapabilityModule$1.f(n),r=i.reject,t=perform(function(){var t=aCallable$1(n.resolve);iterate(e,function(e){call$4(t,n,e).then(i.resolve,r)})});return t.error&&r(t.value),i.promise}}),_export),newPromiseCapabilityModule=newPromiseCapability$2,FORCED_PROMISE_CONSTRUCTOR$1=promiseConstructorDetection.CONSTRUCTOR,anObject$2=($$4({target:"Promise",stat:!0,forced:FORCED_PROMISE_CONSTRUCTOR$1},{reject:function(e){var t=newPromiseCapabilityModule.f(this);return(0,t.reject)(e),t.promise}}),anObject$d),isObject=isObject$b,newPromiseCapability=newPromiseCapability$2,promiseResolve$1=function(e,t){return anObject$2(e),isObject(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 fetchOrgsApplications(o,l){return __awaiter(this,void 0,void 0,function*(){var e="fetchOrgsApplications",t="applications",n={accessScope:["granted"],limit:100,status:o||void 0},i=`
2
2
  query ${e} ${`($accessScope: [AccessScope!] $limit: Int${o?" $status: ApplicationStatus":""})`}{
3
3
  ${t} ${`(accessScope: $accessScope limit: $limit${o?" status: $status":""})`} {
4
4
  records {
Binary file