aiware-js 2.27.0 → 2.28.0
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/index.esm.js +1 -1
- package/js-core.esm.js +9 -9
- package/js-core.esm21.js +18 -2
- package/js-core.esm22.js +3 -3
- package/js-core.esm23.js +1 -1
- package/js-core.esm24.js +1 -1
- package/js-core.esm26.js +1 -1
- package/js-core.esm27.js +1 -1
- package/js-core.esm28.js +1 -1
- package/js-core.esm29.js +1 -1
- package/js-core.esm30.js +1 -1
- package/js-core.esm31.js +1 -1
- package/js-core.esm32.js +1 -1
- package/js-core.esm33.js +1 -1
- package/js-core.esm34.js +1 -1
- package/js-core.esm35.js +1 -1
- package/js-core.esm36.js +1 -1
- package/js-core.esm37.js +1 -1
- package/js-core.esm38.js +1 -14
- package/js-core.esm39.js +14 -12
- package/js-core.esm40.js +12 -54
- package/js-core.esm41.js +54 -1
- package/js-core.esm42.js +1 -1
- package/js-core.esm43.js +1 -108
- package/js-core.esm44.js +108 -1
- package/js-core.esm45.js +1 -214
- package/js-core.esm46.js +214 -1
- package/js-core.esm47.js +1 -37
- package/js-core.esm48.js +37 -1
- package/js-core.esm49.js +1 -1
- package/js-core.esm5.js +3 -3
- package/js-core.esm50.js +1 -1
- package/js-core.esm51.js +1 -1
- package/js-core.esm52.js +1 -1
- package/js-core.esm53.js +1 -1
- package/js-core.esm54.js +1 -1
- package/js-core.esm55.js +1 -31
- package/js-core.esm56.js +31 -32
- package/js-core.esm57.js +27 -80
- package/js-core.esm58.js +85 -1
- package/js-core.esm59.js +1 -55
- package/js-core.esm60.js +51 -129
- package/js-core.esm61.js +116 -70
- package/js-core.esm62.js +75 -1
- package/js-core.esm63.js +13 -1
- package/js-core.esm64.js +1 -90
- package/js-core.esm65.js +1 -20
- package/js-core.esm66.js +102 -1
- package/js-core.esm67.js +20 -0
- package/js-core.esm68.js +1 -0
- package/js-core.esm7.js +3 -3
- package/js-core.umd.css +92 -92
- package/js-core.umd.js +182 -154
- package/locales/en.json +1 -1
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +6 -1
package/js-core.esm68.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as generateUtilityClasses,g as generateUtilityClass,b as styled,T as Typography$2,d as capitalize,gJ as getPath,_ as _extends,c6 as alpha,r as react,b6 as useTheme,u as useThemeProps,e as _objectWithoutPropertiesLoose,ei as useIsFocusVisible,dB as useForkRef,j as jsxRuntime,f as clsx,h as composeClasses,bZ as createSvgIcon,z as createSvgIcon$1,C as interopRequireDefault,H as createSlice,c8 as combineReducers,c9 as createSelector,O as rootApiSelector,R as graphEndpointSelector,Q as sessionTokenSelector,m as makeStyles,F as FormattedMessage,i as useDispatch,bv as CacheProvider,bw as muiCache,cb as AIWareThemeProvider,K as lib,A as AIWareIntlProvider,k as useSelector,B as Box,v as FormControl$1,w as TextField$1,eN as InputLabel,aV as Select$2,at as Button,aW as MenuItem$2,a2 as all,a8 as Tooltip$1,a9 as IconButton$1,bT as Hide,cm as hidePanel,af as takeLatest$1,a7 as Divider$1,p as lodash,ai as select,ak as call$b,ah as put,cn as mountPanel,bK as RadioGroup,aq as FormControlLabel,bX as Radio,ar as Checkbox,fa as Information,cA as baseGraphQLApiWithError,bC as CircularProgress,fF as CheckCircle}from"./js-core.esm.js";import{f as find_1}from"./js-core.esm16.js";import{g as getProcessingCenterContentTemplatesModule,s as selectContentTemplatesToSave,C as ContentTemplates,D as Delete}from"./js-core.esm63.js";import{F as FixedSizeList}from"./js-core.esm31.js";import{I as InfiniteLoader}from"./js-core.esm47.js";import{d as default_1$1}from"./js-core.esm8.js";import{v as v4}from"./js-core.esm45.js";import{A as Autocomplete}from"./js-core.esm24.js";import{S as Stepper,a as Step,b as StepLabel}from"./js-core.esm51.js";import{S as Search}from"./js-core.esm12.js";import{C as ContentCopy}from"./js-core.esm50.js";import"./js-core.esm20.js";import"./js-core.esm64.js";import"./js-core.esm29.js";import"./js-core.esm34.js";import"./js-core.esm35.js";import"./js-core.esm30.js";import"./js-core.esm38.js";import"./js-core.esm26.js";import"./js-core.esm33.js";function getLinkUtilityClass(e){return generateUtilityClass("MuiLink",e)}const linkClasses=generateUtilityClasses("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var linkClasses$1=linkClasses;const _excluded=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],colorTransformations={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},transformDeprecatedColors=e=>colorTransformations[e]||e,useUtilityClasses=e=>{var{classes:e,component:t,focusVisible:s,underline:o}=e,o={root:["root","underline"+capitalize(o),"button"===t&&"button",s&&"focusVisible"]};return composeClasses(o,getLinkUtilityClass,e)},LinkRoot=styled(Typography$2,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["underline"+capitalize(e.underline)],"button"===e.component&&t.button]}})(({theme:e,ownerState:t})=>{e=getPath(e,"palette."+transformDeprecatedColors(t.color))||t.color;return _extends({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==e?alpha(e,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&."+linkClasses$1.focusVisible]:{outline:"auto"}})}),Link=react.exports.forwardRef(function(e,t){var s=useTheme(),o=useThemeProps({props:e,name:"MuiLink"});const{className:r,color:n="primary",component:i="a",onBlur:a,onFocus:c,TypographyClasses:l,underline:f="always",variant:u="inherit",sx:d}=o,p=_objectWithoutPropertiesLoose(o,_excluded),S="function"==typeof d?d(s).color:null==d?void 0:d.color,{isFocusVisibleRef:m,onBlur:g,onFocus:y,ref:x}=useIsFocusVisible(),[T,h]=react.exports.useState(!1);t=useForkRef(t,x),o=_extends({},o,{color:("function"==typeof S?S(s):S)||n,component:i,focusVisible:T,underline:f,variant:u}),s=useUtilityClasses(o);return jsxRuntime.exports.jsx(LinkRoot,_extends({color:n,className:clsx(s.root,r),classes:l,component:i,onBlur:e=>{g(e),!1===m.current&&h(!1),a&&a(e)},onFocus:e=>{y(e),!0===m.current&&h(!0),c&&c(e)},ref:t,ownerState:o,variant:u,sx:[...e.color?[{color:colorTransformations[n]||n}]:[],...Array.isArray(d)?d:[d]]},p))});var match,version,store,wmget,wmhas,wmset,set,get,has,STATE,LoadingStatus,Link$1=Link,AccessTime=createSvgIcon([jsxRuntime.exports.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},"0"),jsxRuntime.exports.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),AddCircleOutline=createSvgIcon(jsxRuntime.exports.jsx("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline"),Settings={},_interopRequireDefault=interopRequireDefault.exports,default_1=(Object.defineProperty(Settings,"__esModule",{value:!0}),Settings.default=void 0),_createSvgIcon=_interopRequireDefault(createSvgIcon$1),_jsxRuntime=jsxRuntime.exports,_default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings"),default_1=Settings.default=_default,commonjsGlobal=(!function(){var e={};try{if(process)return process.env=Object.assign({},process.env),Object.assign(process.env,e)}catch(e){}globalThis.process={env:e}}(),"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}),check=function(e){return e&&e.Math==Math&&e},global$f=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$i=function(e){try{return!!e()}catch(e){return!0}},fails$h=fails$i,descriptors=!fails$i(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$g=fails$i,functionBindNative=!fails$i(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$2=functionBindNative,call$a=Function.prototype.call,functionCall=NATIVE_BIND$2?call$a.bind(call$a):function(){return call$a.apply(call$a,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$4=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$1(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND$1=functionBindNative,FunctionPrototype$2=Function.prototype,bind=FunctionPrototype$2.bind,call$9=FunctionPrototype$2.call,uncurryThis$j=NATIVE_BIND$1&&bind.bind(call$9,call$9),functionUncurryThis=NATIVE_BIND$1?function(e){return e&&uncurryThis$j(e)}:function(e){return e&&function(){return call$9.apply(e,arguments)}},uncurryThis$i=functionUncurryThis,toString$8=uncurryThis$i({}.toString),stringSlice$3=uncurryThis$i("".slice),classofRaw$1=function(e){return stringSlice$3(toString$8(e),8,-1)},uncurryThis$h=functionUncurryThis,fails$f=fails$i,classof$5=classofRaw$1,$Object$4=Object,split=functionUncurryThis("".split),indexedObject=fails$f(function(){return!$Object$4("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$5(e)?split(e,""):$Object$4(e)}:$Object$4,$TypeError$9=TypeError,requireObjectCoercible$6=function(e){if(null==e)throw $TypeError$9("Can't call method on "+e);return e},IndexedObject$1=indexedObject,requireObjectCoercible$5=requireObjectCoercible$6,toIndexedObject$5=function(e){return IndexedObject$1(requireObjectCoercible$5(e))},isCallable$h=function(e){return"function"==typeof e},isCallable$g=isCallable$h,isObject$6=function(e){return"object"==typeof e?null!==e:isCallable$g(e)},global$e=global$f,isCallable$f=isCallable$h,aFunction=function(e){return isCallable$f(e)?e:void 0},getBuiltIn$5=function(e,t){return arguments.length<2?aFunction(global$e[e]):global$e[e]&&global$e[e][t]},uncurryThis$g=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),getBuiltIn$4=getBuiltIn$5,engineUserAgent=getBuiltIn$5("navigator","userAgent")||"",global$d=global$f,userAgent=engineUserAgent,process$1=global$d.process,Deno=global$d.Deno,versions=process$1&&process$1.versions||Deno&&Deno.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION=version,fails$e=fails$i,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails$e(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=nativeSymbol,useSymbolAsUid=nativeSymbol&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$3=getBuiltIn$5,isCallable$e=isCallable$h,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$3=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$3("Symbol");return isCallable$e(t)&&isPrototypeOf(t.prototype,$Object$3(e))},$String$3=String,tryToString$2=function(e){try{return $String$3(e)}catch(e){return"Object"}},isCallable$d=isCallable$h,tryToString$1=tryToString$2,$TypeError$8=TypeError,aCallable$1=function(e){if(isCallable$d(e))return e;throw $TypeError$8(tryToString$1(e)+" is not a function")},aCallable=aCallable$1,getMethod$2=function(e,t){e=e[t];return null==e?void 0:aCallable(e)},call$8=functionCall,isCallable$c=isCallable$h,isObject$5=isObject$6,$TypeError$7=TypeError,ordinaryToPrimitive$1=function(e,t){var s,o;if("string"===t&&isCallable$c(s=e.toString)&&!isObject$5(o=call$8(s,e)))return o;if(isCallable$c(s=e.valueOf)&&!isObject$5(o=call$8(s,e)))return o;if("string"!==t&&isCallable$c(s=e.toString)&&!isObject$5(o=call$8(s,e)))return o;throw $TypeError$7("Can't convert object to primitive value")},shared$4={exports:{}},global$c=global$f,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,s){try{defineProperty$5(global$c,t,{value:s,configurable:!0,writable:!0})}catch(e){global$c[t]=s}return s},global$b=global$f,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$f[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible$4=((shared$4.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$6),$Object$2=Object,toObject$3=function(e){return $Object$2(requireObjectCoercible$4(e))},uncurryThis$f=functionUncurryThis,toObject$2=toObject$3,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$2(e),t)},uncurryThis$e=functionUncurryThis,id=0,postfix=Math.random(),toString$7=uncurryThis$e(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString$7(++id+postfix,36)},global$a=global$f,shared$3=shared$4.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=nativeSymbol,USE_SYMBOL_AS_UID=useSymbolAsUid,WellKnownSymbolsStore=shared$3("wks"),Symbol$2=global$a.Symbol,symbolFor=Symbol$2&&Symbol$2.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$2:Symbol$2&&Symbol$2.withoutSetter||uid$1,wellKnownSymbol$c=function(e){var t;return hasOwn$8(WellKnownSymbolsStore,e)&&(NATIVE_SYMBOL||"string"==typeof WellKnownSymbolsStore[e])||(t="Symbol."+e,NATIVE_SYMBOL&&hasOwn$8(Symbol$2,e)?WellKnownSymbolsStore[e]=Symbol$2[e]:WellKnownSymbolsStore[e]=(USE_SYMBOL_AS_UID&&symbolFor?symbolFor:createWellKnownSymbol)(t)),WellKnownSymbolsStore[e]},call$7=functionCall,isObject$4=isObject$6,isSymbol$1=isSymbol$2,getMethod$1=getMethod$2,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$b=wellKnownSymbol$c,$TypeError$6=TypeError,TO_PRIMITIVE=wellKnownSymbol$c("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$4(e)||isSymbol$1(e))return e;var s=getMethod$1(e,TO_PRIMITIVE);if(s){if(s=call$7(s,e,t=void 0===t?"default":t),!isObject$4(s)||isSymbol$1(s))return s;throw $TypeError$6("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$3=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$9=global$f,isObject$3=isObject$6,document$1=global$f.document,EXISTS$1=isObject$3(document$1)&&isObject$3(document$1.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$9=descriptors,fails$d=fails$i,createElement=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$i(function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8=descriptors,call$6=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$3=createPropertyDescriptor$4,toIndexedObject$4=toIndexedObject$5,toPropertyKey$2=toPropertyKey$3,hasOwn$7=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$8?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$2(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$7(e,t))return createPropertyDescriptor$3(!call$6(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$7=descriptors,fails$c=fails$i,v8PrototypeDefineBug=descriptors&&fails$i(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$2=isObject$6,$String$2=String,$TypeError$5=TypeError,anObject$9=function(e){if(isObject$2(e))return e;throw $TypeError$5($String$2(e)+" is not an object")},DESCRIPTORS$6=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$8=anObject$9,toPropertyKey$1=toPropertyKey$3,$TypeError$4=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$5=(objectDefineProperty.f=DESCRIPTORS$6?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,s){var o;return anObject$8(e),t=toPropertyKey$1(t),anObject$8(s),"function"==typeof e&&"prototype"===t&&"value"in s&&WRITABLE in s&&!s[WRITABLE]&&((o=$getOwnPropertyDescriptor(e,t))&&o[WRITABLE]&&(e[t]=s.value,s={configurable:(CONFIGURABLE$1 in s?s:o)[CONFIGURABLE$1],enumerable:(ENUMERABLE in s?s:o)[ENUMERABLE],writable:!1})),$defineProperty(e,t,s)}:$defineProperty:function(e,t,s){if(anObject$8(e),t=toPropertyKey$1(t),anObject$8(s),IE8_DOM_DEFINE)try{return $defineProperty(e,t,s)}catch(e){}if("get"in s||"set"in s)throw $TypeError$4("Accessors not supported");return"value"in s&&(e[t]=s.value),e},descriptors),definePropertyModule$4=objectDefineProperty,createPropertyDescriptor$2=createPropertyDescriptor$4,createNonEnumerableProperty$5=DESCRIPTORS$5?function(e,t,s){return definePropertyModule$4.f(e,t,createPropertyDescriptor$2(1,s))}:function(e,t,s){return e[t]=s,e},makeBuiltIn$2={exports:{}},DESCRIPTORS$4=descriptors,hasOwn$6=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$4&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$6(FunctionPrototype$1,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$4||getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$d=functionUncurryThis,isCallable$b=isCallable$h,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$3=(isCallable$b(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$8=global$f,isCallable$a=isCallable$h,inspectSource$2=inspectSource$3,WeakMap$1=global$f.WeakMap,nativeWeakMap=isCallable$a(WeakMap$1)&&/native code/.test(inspectSource$2(WeakMap$1)),shared$2=shared$4.exports,uid=uid$2,keys=shared$2("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=nativeWeakMap,global$7=global$f,uncurryThis$c=functionUncurryThis,isObject$1=isObject$6,createNonEnumerableProperty$4=createNonEnumerableProperty$5,hasOwn$5=hasOwnProperty_1,shared$1=sharedStore,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=global$7.TypeError,WeakMap=global$7.WeakMap,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(t){return function(e){if(isObject$1(e)&&(e=get(e)).type===t)return e;throw TypeError$1("Incompatible receiver, "+t+" required")}},internalState=(has=NATIVE_WEAK_MAP||shared$1.state?(store=shared$1.state||(shared$1.state=new WeakMap),wmget=uncurryThis$c(store.get),wmhas=uncurryThis$c(store.has),wmset=uncurryThis$c(store.set),set=function(e,t){if(wmhas(store,e))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,wmset(store,e,t),t},get=function(e){return wmget(store,e)||{}},function(e){return wmhas(store,e)}):(STATE=sharedKey$2("state"),hiddenKeys$3[STATE]=!0,set=function(e,t){if(hasOwn$5(e,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$4(e,STATE,t),t},get=function(e){return hasOwn$5(e,STATE)?e[STATE]:{}},function(e){return hasOwn$5(e,STATE)}),{set:set,get:get,has:has,enforce:enforce,getterFor:getterFor}),fails$b=fails$i,isCallable$9=isCallable$h,hasOwn$4=hasOwnProperty_1,DESCRIPTORS$3=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource$1=inspectSource$3,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$2=InternalStateModule$1.get,defineProperty$4=Object.defineProperty,CONFIGURABLE_LENGTH=DESCRIPTORS$3&&!fails$b(function(){return 8!==defineProperty$4(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(e,t,s){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(t="get "+t),s&&s.setter&&(t="set "+t),(!hasOwn$4(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$3?defineProperty$4(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&s&&hasOwn$4(s,"arity")&&e.length!==s.arity&&defineProperty$4(e,"length",{value:s.arity});try{s&&hasOwn$4(s,"constructor")&&s.constructor?DESCRIPTORS$3&&defineProperty$4(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}s=enforceInternalState(e);return hasOwn$4(s,"source")||(s.source=TEMPLATE.join("string"==typeof t?t:"")),e},isCallable$8=(Function.prototype.toString=makeBuiltIn$1(function(){return isCallable$9(this)&&getInternalState$2(this).source||inspectSource$1(this)},"toString"),isCallable$h),definePropertyModule$3=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$4=function(e,t,s,o){var r=(o=o||{}).enumerable,n=void 0!==o.name?o.name:t;if(isCallable$8(s)&&makeBuiltIn(s,n,o),o.global)r?e[t]=s:defineGlobalProperty$1(t,s);else{try{o.unsafe?e[t]&&(r=!0):delete e[t]}catch(e){}r?e[t]=s:definePropertyModule$3.f(e,t,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$3=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$2=toIntegerOrInfinity$3,max$1=Math.max,min$2=Math.min,toAbsoluteIndex$2=function(e,t){e=toIntegerOrInfinity$2(e);return e<0?max$1(e+t,0):min$2(e,t)},toIntegerOrInfinity$1=toIntegerOrInfinity$3,min$1=Math.min,toLength$2=function(e){return 0<e?min$1(toIntegerOrInfinity$1(e),9007199254740991):0},toLength$1=toLength$2,lengthOfArrayLike$2=function(e){return toLength$1(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex$1=toAbsoluteIndex$2,lengthOfArrayLike$1=lengthOfArrayLike$2,createMethod$2=function(a){return function(e,t,s){var o,r=toIndexedObject$3(e),n=lengthOfArrayLike$1(r),i=toAbsoluteIndex$1(s,n);if(a&&t!=t){for(;i<n;)if((o=r[i++])!=o)return!0}else for(;i<n;i++)if((a||i in r)&&r[i]===t)return a||i||0;return!a&&-1}},arrayIncludes={includes:createMethod$2(!0),indexOf:createMethod$2(!1)},uncurryThis$b=functionUncurryThis,hasOwn$3=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$1=uncurryThis$b([].push),objectKeysInternal=function(e,t){var s,o=toIndexedObject$2(e),r=0,n=[];for(s in o)!hasOwn$3(hiddenKeys$2,s)&&hasOwn$3(o,s)&&push$1(n,s);for(;t.length>r;)!hasOwn$3(o,s=t[r++])||~indexOf$1(n,s)||push$1(n,s);return n},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$2=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$5),uncurryThis$a=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$7=anObject$9,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$2("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$7(e)),s=getOwnPropertySymbolsModule$1.f;return s?concat$1(t,s(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$2=objectDefineProperty,copyConstructorProperties$1=function(e,t,s){for(var o=ownKeys(t),r=definePropertyModule$2.f,n=getOwnPropertyDescriptorModule.f,i=0;i<o.length;i++){var a=o[i];hasOwn$2(e,a)||s&&hasOwn$2(s,a)||r(e,a,n(t,a))}},fails$a=fails$i,isCallable$7=isCallable$h,replacement=/#|\.prototype\./,isForced$1=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$7(t)?fails$a(t):!!t)},normalize=isForced$1.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,global$6=global$f,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$3=createNonEnumerableProperty$5,defineBuiltIn$3=defineBuiltIn$4,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced=isForced_1,_export=function(e,t){var s,o,r,n=e.target,i=e.global,a=e.stat,c=i?global$6:a?global$6[n]||defineGlobalProperty(n,{}):(global$6[n]||{}).prototype;if(c)for(s in t){if(o=t[s],r=e.dontCallGetSet?(r=getOwnPropertyDescriptor(c,s))&&r.value:c[s],!isForced(i?s:n+(a?".":"#")+s,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;copyConstructorProperties(o,r)}(e.sham||r&&r.sham)&&createNonEnumerableProperty$3(o,"sham",!0),defineBuiltIn$3(c,s,o,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$2=descriptors,uncurryThis$9=functionUncurryThis,call$5=functionCall,fails$9=fails$i,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$1=toObject$3,IndexedObject=indexedObject,$assign=Object.assign,defineProperty$3=Object.defineProperty,concat=uncurryThis$9([].concat),objectAssign=!$assign||fails$9(function(){if(DESCRIPTORS$2&&1!==$assign({b:1},$assign(defineProperty$3({},"a",{enumerable:!0,get:function(){defineProperty$3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},s=Symbol(),o="abcdefghijklmnopqrst";return e[s]=7,o.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[s]||objectKeys$1($assign({},t)).join("")!=o})?function(e,t){for(var s=toObject$1(e),o=arguments.length,r=1,n=getOwnPropertySymbolsModule.f,i=propertyIsEnumerableModule.f;r<o;)for(var a,c=IndexedObject(arguments[r++]),l=n?concat(objectKeys$1(c),n(c)):objectKeys$1(c),f=l.length,u=0;u<f;)a=l[u++],DESCRIPTORS$2&&!call$5(i,c,a)||(s[a]=c[a]);return s}:$assign,$$4=_export,assign=objectAssign;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign});const SLICE_NAME="processingCenterIngestion",namespace$6=(!function(e){e.Failed="failed",e.Idle="idle",e.Pending="pending",e.Complete="complete"}(LoadingStatus=LoadingStatus||{}),"uiState"),initialState$5={status:LoadingStatus.Idle},slice=createSlice({name:SLICE_NAME+"/"+namespace$6,initialState:initialState$5,reducers:{init(e){e.status=LoadingStatus.Pending},initDone(e){e.status=LoadingStatus.Idle},initFailed(e){e.status=LoadingStatus.Failed}}}),actions$6=slice.actions;var uiState=slice.reducer;const namespace$5="ingestionJobsWizard",initialState$4={activeStep:0,stepperState:[{stepNumber:0,completed:!1},{stepNumber:1,completed:!1},{stepNumber:2,completed:!1},{stepNumber:3,completed:!1},{stepNumber:4,completed:!1},{stepNumber:5,completed:!1}],activeEngine:{}},ingestionJobsWizardSlice=createSlice({name:"ingestionJobsWizard",initialState:initialState$4,reducers:{nextStep:e=>{var t=e["activeStep"];t!==e.stepperState.length-1&&(e.activeStep=t+1)},backStep:e=>{var t=e["activeStep"];0!==t&&(e.activeStep=t-1)},setActiveEngine:(e,t)=>{e.activeEngine=t.payload}}}),actions$5=ingestionJobsWizardSlice.actions;var activeXDocument,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,ingestionJobsWizard_slice=ingestionJobsWizardSlice.reducer,objectDefineProperties={},DESCRIPTORS$1=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule$1=objectDefineProperty,anObject$6=anObject$9,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn$1=(objectDefineProperties.f=DESCRIPTORS$1&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$6(e);for(var s,o=toIndexedObject$1(t),r=objectKeys(t),n=r.length,i=0;i<n;)definePropertyModule$1.f(e,s=r[i++],o[s]);return e},getBuiltIn$5),html$1=getBuiltIn$5("document","documentElement"),anObject$5=anObject$9,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html=html$1,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.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 s;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$5(e),s=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,s[IE_PROTO$1]=e):s=NullProtoObject(),void 0===t?s:definePropertiesModule.f(s,t)}),wellKnownSymbol$a=wellKnownSymbol$c,create$2=objectCreate,defineProperty$2=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$a("unscopables"),ArrayPrototype=Array.prototype,addToUnscopables$1=(null==ArrayPrototype[UNSCOPABLES]&&defineProperty$2(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create$2(null)}),function(e){ArrayPrototype[UNSCOPABLES][e]=!0}),iterators={},fails$8=fails$i,correctPrototypeGetter=!fails$i(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$1=hasOwnProperty_1,isCallable$6=isCallable$h,toObject=toObject$3,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){e=toObject(e);if(hasOwn$1(e,IE_PROTO))return e[IE_PROTO];var t=e.constructor;return isCallable$6(t)&&e instanceof t?t.prototype:e instanceof $Object$1?ObjectPrototype:null},fails$7=fails$i,isCallable$5=isCallable$h,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$2=defineBuiltIn$4,wellKnownSymbol$9=wellKnownSymbol$c,ITERATOR$3=wellKnownSymbol$c("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),null==IteratorPrototype$2||fails$7(function(){var e={};return IteratorPrototype$2[ITERATOR$3].call(e)!==e})),iteratorsCore=(isCallable$5((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$3])||defineBuiltIn$2(IteratorPrototype$2,ITERATOR$3,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$1=objectDefineProperty.f,hasOwn=hasOwnProperty_1,wellKnownSymbol$8=wellKnownSymbol$c,TO_STRING_TAG$3=wellKnownSymbol$c("toStringTag"),setToStringTag$2=function(e,t,s){(e=e&&!s?e.prototype:e)&&!hasOwn(e,TO_STRING_TAG$3)&&defineProperty$1(e,TO_STRING_TAG$3,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create$1=objectCreate,createPropertyDescriptor$1=createPropertyDescriptor$4,setToStringTag$1=setToStringTag$2,Iterators$2=iterators,returnThis$1=function(){return this},createIteratorConstructor$1=function(e,t,s,o){t+=" Iterator";return e.prototype=create$1(IteratorPrototype$1,{next:createPropertyDescriptor$1(+!o,s)}),setToStringTag$1(e,t,!1),Iterators$2[t]=returnThis$1,e},isCallable$4=isCallable$h,$String$1=String,$TypeError$3=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$4(e))return e;throw $TypeError$3("Can't set "+$String$1(e)+" as a prototype")},uncurryThis$8=functionUncurryThis,anObject$4=anObject$9,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var s,o=!1,e={};try{(s=uncurryThis$8(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),o=e instanceof Array}catch(e){}return function(e,t){return anObject$4(e),aPossiblePrototype(t),o?s(e,t):e.__proto__=t,e}}():void 0),$$3=_export,call$4=functionCall,FunctionName=functionName,isCallable$3=isCallable$h,createIteratorConstructor=createIteratorConstructor$1,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$2,createNonEnumerableProperty$2=createNonEnumerableProperty$5,defineBuiltIn$1=defineBuiltIn$4,wellKnownSymbol$7=wellKnownSymbol$c,Iterators$1=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$2=wellKnownSymbol$7("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},defineIterator$1=function(e,t,s,o,r,n,i){createIteratorConstructor(s,t,o);function a(e){if(e===r&&p)return p;if(!BUGGY_SAFARI_ITERATORS&&e in u)return u[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new s(this,e)}}return function(){return new s(this)}}var c,l,o=t+" Iterator",f=!1,u=e.prototype,d=u[ITERATOR$2]||u["@@iterator"]||r&&u[r],p=!BUGGY_SAFARI_ITERATORS&&d||a(r),S="Array"==t&&u.entries||d;if(S&&(S=getPrototypeOf(S.call(new e)))!==Object.prototype&&S.next&&(getPrototypeOf(S)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(S,IteratorPrototype):isCallable$3(S[ITERATOR$2])||defineBuiltIn$1(S,ITERATOR$2,returnThis)),setToStringTag(S,o,!0)),PROPER_FUNCTION_NAME&&r==VALUES&&d&&d.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$2(u,"name",VALUES):(f=!0,p=function(){return call$4(d,this)})),r)if(c={values:a(VALUES),keys:n?p:a(KEYS),entries:a(ENTRIES)},i)for(l in c)!BUGGY_SAFARI_ITERATORS&&!f&&l in u||defineBuiltIn$1(u,l,c[l]);else $$3({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||f},c);return u[ITERATOR$2]!==p&&defineBuiltIn$1(u,ITERATOR$2,p,{name:r}),Iterators$1[t]=p,c},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$1,Iterators=iterators,InternalStateModule=internalState,defineProperty=objectDefineProperty.f,defineIterator=defineIterator$1,DESCRIPTORS=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState$1=InternalStateModule.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",function(e,t){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState$1(this),t=e.target,s=e.kind,o=e.index++;return!t||o>=t.length?{value:e.target=void 0,done:!0}:"keys"==s?{value:o,done:!1}:"values"==s?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}},"values"),values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},documentCreateElement=documentCreateElement$2,classList=documentCreateElement$2("span").classList,DOMTokenListPrototype$1=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype$1===Object.prototype?void 0:DOMTokenListPrototype$1,global$5=global$f,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty$1=createNonEnumerableProperty$5,wellKnownSymbol$6=wellKnownSymbol$c,ITERATOR$1=wellKnownSymbol$6("iterator"),TO_STRING_TAG$2=wellKnownSymbol$6("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR$1]!==ArrayValues)try{createNonEnumerableProperty$1(t,ITERATOR$1,ArrayValues)}catch(e){t[ITERATOR$1]=ArrayValues}if(t[TO_STRING_TAG$2]||createNonEnumerableProperty$1(t,TO_STRING_TAG$2,e),DOMIterables[e])for(var s in ArrayIteratorMethods)if(t[s]!==ArrayIteratorMethods[s])try{createNonEnumerableProperty$1(t,s,ArrayIteratorMethods[s])}catch(e){t[s]=ArrayIteratorMethods[s]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$5[COLLECTION_NAME]&&global$5[COLLECTION_NAME].prototype,COLLECTION_NAME);handlePrototype(DOMTokenListPrototype,"DOMTokenList");const namespace$4="sourceStep",initialState$3={sourceSearchTerm:"",sourceTypeId:[],searchedSources:[],sourceSelected:null,isLoading:!1,error:null,hasMore:!1,offset:0,clusterSection:{clusterSelected:null,clusters:[],isLoading:!0,error:null,hasMore:!1,offset:0},mediaChunkLength:"15"},sourceStepSlice=createSlice({name:"sourceStep",initialState:initialState$3,reducers:{sourcesSearchStart:e=>{0===e.offset&&(e.isLoading=!0)},sourcesSearchSucceeded:(e,{payload:t})=>{e.searchedSources=[...e.searchedSources,...t],e.error=null,e.isLoading=!1},resetSourcesSearch:e=>{e.searchedSources=[],e.isLoading=!1,e.offset=0,e.hasMore=!1,e.error=null},setSourceTypeId:(e,{payload:t})=>{e.sourceTypeId=t},setSourceSelected:(e,{payload:t})=>{e.sourceSelected=t},setOffset:(e,{payload:t})=>{e.offset=t},setHasMore:(e,{payload:t})=>{e.hasMore=t},setError:(e,{payload:t})=>{e.error=t},setLoading:(e,{payload:t})=>{e.isLoading=t},setSourceSearchTerm:(e,{payload:t})=>{e.sourceSearchTerm=t},setMediaChunkLength:(e,{payload:t})=>{e.mediaChunkLength=t},setSelectedCluster:(e,{payload:t})=>{e.clusterSection.clusterSelected=t},clustersSearchStart:e=>{0===e.clusterSection.offset&&(e.clusterSection.isLoading=!0)},clustersSearchSucceeded:(e,{payload:t})=>{e.clusterSection.clusters=[...e.clusterSection.clusters,...t],e.clusterSection.error=null,e.clusterSection.isLoading=!1},clustersSetOffset:(e,{payload:t})=>{e.clusterSection.offset=t},clustersSetHasMore:(e,{payload:t})=>{e.clusterSection.hasMore=t},clusterSetError:(e,{payload:t})=>{e.clusterSection.error=t,e.clusterSection.isLoading=!1},clusterSetLoading:(e,{payload:t})=>{e.clusterSection.isLoading=t}}}),actions$4=sourceStepSlice.actions;var selectSourceStep_slice=sourceStepSlice.reducer;const namespace$3="scheduleStep",initialState$2={weeklyScheduleParts:[]},scheduleStepSlice=createSlice({name:"scheduleStep",initialState:initialState$2,reducers:{setWeeklyScheduleParts:(e,t)=>{t=t.payload;e.weeklyScheduleParts=t},clearWeeklyScheduleParts:e=>{e.weeklyScheduleParts=[]}}}),actions$3=scheduleStepSlice.actions;var scheduleStep_slice=scheduleStepSlice.reducer;const namespace$2="sourceSchedular",initialState$1={frequencySchedular:{scheduleType:"",startDate:null,endDate:null,dayOfMonth:"1",frequency:"Weekly",noEndDate:!1},weeklySchedular:{}},sourceSchedularSlice=createSlice({name:"sourceSchedular",initialState:initialState$1,reducers:{resetFrequencyState:e=>{e.frequencySchedular=initialState$1.frequencySchedular},setScheduleType:(e,{payload:t})=>{e.frequencySchedular.scheduleType=t},setStartDate:(e,{payload:t})=>{e.frequencySchedular.startDate=t},setEndDate:(e,{payload:t})=>{e.frequencySchedular.endDate=t},setDayOfMonth:(e,{payload:t})=>{e.frequencySchedular.dayOfMonth=t},setFrequency:(e,{payload:t})=>{e.frequencySchedular.frequency=t},setNoEndDate:(e,{payload:t})=>{e.frequencySchedular.noEndDate=t}}}),actions$2=sourceSchedularSlice.actions;var sourceSchedular_slice=sourceSchedularSlice.reducer;const namespace$1="basicInfoStep",initialState={scheduleName:"",sourceTypesConfig:{},sourceDetails:{}},basicInfoSlice=createSlice({name:"basicInfoStep",initialState:initialState,reducers:{setScheduleName:(e,t)=>{t=t.payload;e.scheduleName=t},setSourceDetails:(e,t)=>{t=t.payload;e.sourceDetails=t},mapSourceTypesConfig:(e,t)=>{var s,{sourceType:t,name:o}=t.payload;const r=(null==(s=null==(s=null==t?void 0:t.sourceSchema)?void 0:s.definition)?void 0:s.properties)||{},n=(null==(t=null==(s=null==t?void 0:t.sourceSchema)?void 0:s.definition)?void 0:t.required)||[],i={};Object.keys(r).forEach(e=>{var t=r[e];i[e]=Object.assign(Object.assign({},t),{id:e,title:t.title,type:getFieldType(t),allowMultiple:"array"===t.type,isValid:!0,isRequired:0<=n.indexOf(e)}),i[e].query=getQuery(t)}),null!=(s=Object.keys(i))&&s.forEach(t=>{var e;i[t].hasOwnProperty("peerEnumKey")&&(e=find_1(i,e=>e.id===i[t].peerEnumKey))&&0<Object.keys(e).length&&(i[t].parentId=e.id,i[t].type="childSelect",i[t].options=[],i[t].parentValue=e.value)});t={id:o,name:o,fields:i};e.sourceTypesConfig=t}}});function getFieldType(e){return e?"string"===e.type&&e.query||"array"===e.type?"select":e.type:""}function getQuery(e){var t;return e?e.query||(null!=(t=e.items)&&t.query?e.items.query:null):""}const actions$1=basicInfoSlice.actions;var ENextButtonType,basicInfoStep_slice=basicInfoSlice.reducer;const namespace=SLICE_NAME,actions={[namespace$6]:actions$6,[namespace$5]:actions$5,[namespace$4]:actions$4,[namespace$3]:actions$3,[namespace$2]:actions$2,[namespace$1]:actions$1},rootReducer=combineReducers({[namespace$6]:uiState,[namespace$5]:ingestionJobsWizard_slice,[namespace$4]:selectSourceStep_slice,[namespace$3]:scheduleStep_slice,[namespace$2]:sourceSchedular_slice,[namespace$1]:basicInfoStep_slice}),selectUIStateStatus=e=>e[namespace].uiState.status,selectApiConfigs=createSelector([rootApiSelector,graphEndpointSelector,sessionTokenSelector],(e,t,s)=>({apiRoot:e,graphQLEndpoint:t,token:s}));function __awaiter(e,i,a,c){return new(a=a||Promise)(function(s,t){function o(e){try{n(c.next(e))}catch(e){t(e)}}function r(e){try{n(c.throw(e))}catch(e){t(e)}}function n(e){var t;e.done?s(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(o,r)}n((c=c.apply(e,i||[])).next())})}function getSourcesBySearchTerm(t,s=0,o,r,n){return __awaiter(this,void 0,void 0,function*(){var e="getSourcesSearch";return(yield baseGraphQLApiWithError(Object.assign({query:"\n query getSourcesSearch($sourceTypeIds: [ID!], $offset: Int, $name: String, $limit: Int ){\n sources(\n sourceTypeIds: $sourceTypeIds,\n offset: $offset,\n limit: $limit,\n name: $name,\n includePublic: false,\n permission: owner,\n nameMatch: contains,\n orderBy:{\n direction: asc\n field: name\n }\n ) {\n count\n records {\n id\n name\n sourceTypeId\n thumbnailUrl\n createdDateTime\n modifiedDateTime\n permission,\n details,\n sourceType {\n name,\n sourceSchema {\n definition\n }\n } \n }\n }\n }\n ",operationName:e,variables:{sourceTypeIds:r,name:o,offset:s,limit:n}},t))).sources})}function getClusters(t,s=0,o){return __awaiter(this,void 0,void 0,function*(){var e="getClusters";return(yield baseGraphQLApiWithError(Object.assign({query:"\n query getClusters($offset: Int, $limit: Int ){\n clusters(\n offset: $offset,\n limit: $limit,\n edgeVersion: 3\n orderBy:{\n direction: asc\n field: name\n }\n ) {\n count\n records {\n id\n name\n type\n controllerUrl\n allowedEngines\n edgeVersion\n paused\n default\n bypassAllowedEngines\n }\n }\n }\n ",operationName:e,variables:{offset:s,limit:o}},t))).clusters})}const selectSearchTerm=e=>e.processingCenterIngestion.sourceStep.sourceSearchTerm||"",selectSourceTypeId=e=>e.processingCenterIngestion.sourceStep.sourceTypeId||"",selectSourceSelected=e=>e.processingCenterIngestion.sourceStep.sourceSelected||null,selectOffset=e=>e.processingCenterIngestion.sourceStep.offset,selectError=e=>e.processingCenterIngestion.sourceStep.error,selectIsLoading=e=>e.processingCenterIngestion.sourceStep.isLoading,selectHasMore=e=>e.processingCenterIngestion.sourceStep.hasMore,selectSearchedSources=e=>e.processingCenterIngestion.sourceStep.searchedSources||[],selectMediaChunkLength=e=>e.processingCenterIngestion.sourceStep.mediaChunkLength,selectClusterSelected=e=>e.processingCenterIngestion.sourceStep.clusterSection.clusterSelected,selectClustersError=e=>e.processingCenterIngestion.sourceStep.clusterSection.error,selectClustersIsLoading=e=>e.processingCenterIngestion.sourceStep.clusterSection.isLoading,selectClustersOffset=e=>e.processingCenterIngestion.sourceStep.clusterSection.offset,selectClusters=e=>e.processingCenterIngestion.sourceStep.clusterSection.clusters||[];function*sourcesSearchTermSaga(){try{var e=yield select(selectApiConfigs),t=yield select(selectOffset),s=yield select(selectSourceTypeId),o=yield select(selectSearchTerm),r=yield call$b(getSourcesBySearchTerm,e,t,o,s,30);yield put(actions$4.sourcesSearchSucceeded(r.records)),30===r.count?yield put(actions$4.setHasMore(!0)):yield put(actions$4.setHasMore(!1)),yield put(actions$4.setOffset(t+30))}catch(e){yield put(actions$4.setError(e))}}function*clusterSearchSaga(){try{var e=yield select(selectApiConfigs),t=yield select(selectClustersOffset),s=yield call$b(getClusters,e,t,30);if(yield put(actions$4.clustersSearchSucceeded(s.records)),30===s.count)yield put(actions$4.clustersSetHasMore(!0)),yield put(actions$4.clustersSetOffset(t+30)),yield put(actions$4.clustersSearchStart());else{const r=yield select(selectClusters);var o=r.map(e=>e.default).indexOf(!0);(yield select(selectClusterSelected))||(yield put(actions$4.setSelectedCluster(r[o]||null))),yield put(actions$4.clustersSetOffset(t+30)),yield put(actions$4.clustersSetHasMore(!1))}}catch(e){yield put(actions$4.clusterSetError(e))}}function*getSourcesSearchTermWatcher(){yield takeLatest$1(actions$4.sourcesSearchStart.type,sourcesSearchTermSaga)}function*getClusterSearchWatcher(){yield takeLatest$1(actions$4.clustersSearchStart.type,clusterSearchSaga)}function*initProcessingCenterIngestion(){(yield select(selectUIStateStatus))===LoadingStatus.Pending&&(yield put(actions.uiState.initDone()))}function*watchProcessingCenterIngestionInit(){yield takeLatest$1(actions.uiState.init.type,initProcessingCenterIngestion)}function*rootSaga(){yield all([watchProcessingCenterIngestionInit(),getSourcesSearchTermWatcher(),getClusterSearchWatcher()])}function getProcessingCenterIngestionModule(){return{id:SLICE_NAME,reducerMap:{[SLICE_NAME]:rootReducer},sagas:[rootSaga],initialActions:[]}}const useStyles$8=makeStyles()(e=>({basicInfoContainer:{display:"flex",flexDirection:"column",gap:"20px"}})),selectScheduleName=e=>e.processingCenterIngestion.basicInfoStep.scheduleName||"",selectSourceTypesConfig=e=>{return null==(e=null==(e=e.processingCenterIngestion)?void 0:e.basicInfoStep)?void 0:e.sourceTypesConfig},selectSourceDetails=e=>{return null==(e=null==(e=e.processingCenterIngestion)?void 0:e.basicInfoStep)?void 0:e.sourceDetails},useStyles$7=makeStyles()(e=>({buttonRow:{position:"fixed",bottom:"30px",right:"110px",display:"flex",gap:"10px",flexDirection:"row"}})),SHARED_TEXT={ingestionJobsWizard:{panelHeader:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.title",defaultMessage:"Create Schedule",description:"Panel header for the Processing Center Wizard Create Schedule Panel"}),closePanel:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.close",defaultMessage:"Close",description:"Panel close button for the Processing Center Wizard Create Schedule Panel"}),incompleteFieldsMessage:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.incomplete-warning-message",defaultMessage:"Please complete all required fields",description:"Incomplete fields message for the Processing Center Wizard Next Button"}),someFieldsInvalidMessage:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.invalid-fields-warning-message",defaultMessage:"Some fields are not valid",description:"Invalid fields message for the Processing Center Wizard Next Button"}),stepLabels:{selectSource:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.step-label.select-source",defaultMessage:"Select Source",description:"Stepper Title for the Processing Center Wizard Stepper Select Source"}),basicInfo:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.step-label.basic-info",defaultMessage:"Basic Info",description:"Stepper Title for the Processing Center Wizard Stepper Basic Info"}),schedule:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.step-label.schedule",defaultMessage:"Schedule",description:"Stepper Title for the Processing Center Wizard Stepper Schedule"}),processing:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.step-label.processing",defaultMessage:"Processing",description:"Stepper Title for the Processing Center Wizard Stepper Processing"}),contentTemplates:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.step-label.content-templates",defaultMessage:"Content Templates",description:"Stepper Title for the Processing Center Wizard Stepper Content Templates"}),location:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.wizard-panel.step-label.location",defaultMessage:"Location",description:"Stepper Title for the Processing Center Wizard Stepper Location"})}},timezonePicker:{editableCaption:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.schedule-step.timezone-picker.caption.editable",defaultMessage:"The schedule will run in this timezone",description:"Caption displayed when the user is able to edit the time zone"}),sourceBasedCaption:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.schedule-step.timezone-picker.caption.source-based",defaultMessage:"The timezone is set on the Source and can not be modified",description:"Caption displayed when the time zone is pinned to the source time zone"}),changeButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.schedule-step.timezone-picker.button.change",defaultMessage:"Change",description:"Text on the button used to change the time zone"}),saveButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.schedule-step.timezone-picker.button.save",defaultMessage:"Save",description:"Text on the button used to save time zone changes"})},sourceSelectDefaultMessage:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-default-select",defaultMessage:"Choose a Source",description:"default select text"}),sourceSelectTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-title",defaultMessage:"Select a Source",description:"title text"}),sourceSelectSubTitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-subtitle",defaultMessage:"Select the data source for this scheduled job",description:"subtitle text"}),loadingSources:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-loading-sources",defaultMessage:"Loading Sources",description:"Search Filter by Source Schedule, loader message Loading Sources"}),retryButtonText:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-retry-button",defaultMessage:"Retry",description:"text for button to allow retry of failed api call"}),sourcesErrorMessageText:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-error",defaultMessage:"There was an error loading the sources",description:"text for error with source fetching"}),sourcesNotFoundText:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-not-found",defaultMessage:"No sources match your search name or source type.",description:"text for no sources found"}),createSourceButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-create-source",defaultMessage:"Create New Source",description:"button for create new source"}),advancedSettingsButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-advanced-settings",defaultMessage:"Advanced Settings",description:"button for advanced settings for source"}),nextButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-next-button",defaultMessage:"Next",description:"button for next step"}),cancelButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-cancel-button",defaultMessage:"Cancel",description:"button for cancel"}),backButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-back-button",defaultMessage:"Back",description:"button for back"}),skipButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-skip-button",defaultMessage:"Skip",description:"button for skip"}),createScheduledJobButton:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-source-step-sources-create-job-button",defaultMessage:"Create Scheduled Job",description:"button for create job"}),frequencySchedular:{title:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-title",defaultMessage:"Schedule",description:"title"}),subtitle:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-subtitle",defaultMessage:"How often would you like to import new data from this source?",description:"subtitle"}),radioRecurring:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-radio-recurring",defaultMessage:"Recurring",description:"radio label recurring"}),radioContinuous:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-radio-continuous",defaultMessage:"Continuous",description:"radio label continuous"}),radioOnDemand:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-radio-ondemand",defaultMessage:"On Demand",description:"radio label for on demand"}),errorNoSupportedTypes:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-error-not-supported-schedule",defaultMessage:"This adapter does not have any supported schedule types.",description:"error message no supported schedule types"}),messageDaily:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-message-daily",defaultMessage:"We check for content at 1:00 AM Pacific Time.",description:"message for daily selected"}),messageTwiceDaily:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-message-twice-daily",defaultMessage:"We check for content at 1:00 AM and 5:00 PM Pacific Time.",description:"message for twice daily selected"}),messageMonthly:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-message-monthly",defaultMessage:"We check for content at 1:00 AM Pacific Time.",description:"message for monthly selected"}),textBetweenDates:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-text-between-dates",defaultMessage:"to",description:"text between date selectors"}),startDate:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-start-date",defaultMessage:"Start Date",description:"label for start date"}),endDate:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-end-date",defaultMessage:"End Date",description:"label for end date"}),labelDaily:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-daily",defaultMessage:"Daily",description:"label for daily"}),labelTwiceDaily:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-twice-daily",defaultMessage:"Twice Daily",description:"label for twice daily"}),labelWeekly:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-weekly",defaultMessage:"Weekly",description:"label for weekly"}),labelMonthly:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-monthly",defaultMessage:"Monthly",description:"label for monthly"}),labelNoEndDate:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-label-no-end",defaultMessage:"No End Date",description:"label for no end date"}),inputLabelFrequency:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-input-label-frequency",defaultMessage:"Frequency",description:"label for frequency input"}),inputLabelDayOfMonth:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-input-label-day-month",defaultMessage:"Day of Month",description:"label for day of month input"}),labelFirstDay:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-input-label-day-month-first",defaultMessage:"1",description:"label for first day of month "}),labelFifteenthDay:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-input-label-day-month-fifteenth",defaultMessage:"15",description:"label for fifteenth day of month "}),onDemandMessage:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-ondemand-message",defaultMessage:"Data import will begin once an external event is triggered",description:"message for on demand"}),learnMore:()=>jsxRuntime.exports.jsx(FormattedMessage,{id:"processing-panel-ingestion-schedule-step-freq-ondemand-learn-more",defaultMessage:"Learn More",description:"learn more link"})}},selectActiveStep=e=>e.processingCenterIngestion.ingestionJobsWizard.activeStep,PanelControls=(!function(e){e.SKIP="SKIP",e.NEXT="NEXT",e.CREATE_SCHEDULED_JOB="CREATE_SCHEDULEED_JOB"}(ENextButtonType=ENextButtonType||{}),({disableNext:e,disableBack:t,onClickNext:s,onClickBack:o,nextButtonType:r,invalidFields:n=!1})=>{var i=useStyles$7()["classes"];const a=useSelector(selectActiveStep),c=useDispatch();return jsxRuntime.exports.jsxs("div",Object.assign({className:i.buttonRow},{children:[jsxRuntime.exports.jsx(Button,Object.assign({sx:{color:"#2A323C"},onClick:()=>{0===a&&c(hidePanel("PROCESSING_CENTER_INGESTION")),c(actions$5.backStep()),o&&o()},disabled:t},{children:0!==a?SHARED_TEXT.backButton():SHARED_TEXT.cancelButton()})),jsxRuntime.exports.jsx(Tooltip$1,Object.assign({placement:"top",title:e&&n?SHARED_TEXT.ingestionJobsWizard.someFieldsInvalidMessage():e?SHARED_TEXT.ingestionJobsWizard.incompleteFieldsMessage():""},{children:jsxRuntime.exports.jsx("span",{children:jsxRuntime.exports.jsx(Button,Object.assign({onClick:()=>{c(actions$5.nextStep()),s&&s()},variant:"contained",disabled:e},{children:(()=>{switch(r){case ENextButtonType.NEXT:return SHARED_TEXT.nextButton();case ENextButtonType.SKIP:return SHARED_TEXT.skipButton();case ENextButtonType.CREATE_SCHEDULED_JOB:return SHARED_TEXT.createScheduledJobButton}switch(a){case 4:return SHARED_TEXT.skipButton();case 5:return SHARED_TEXT.createScheduledJobButton();default:return SHARED_TEXT.nextButton()}})()}))})}))]}))}),BasicInfoStep=({activeEngine:e})=>{console.log(e);e=useStyles$8().classes;const t=useDispatch(),s=useSelector(selectSourceTypesConfig),[,o]=(useSelector(selectSourceDetails),react.exports.useState({}));var r=useSelector(selectScheduleName);react.exports.useEffect(()=>{o(null===s||void 0===s?void 0:s.fields)},[s]);return jsxRuntime.exports.jsxs("div",Object.assign({className:e.basicInfoContainer},{children:[jsxRuntime.exports.jsx(Typography$2,{children:"Basic Info"}),jsxRuntime.exports.jsx(TextField$1,{onChange:({target:e})=>{e=e.value;t(actions$1.setScheduleName(e))},placeholder:"Schedule Name",variant:"outlined",value:r,fullWidth:!0,required:!0}),jsxRuntime.exports.jsx(PanelControls,{disableNext:!r,disableBack:!1})]}))},useStyles$6=makeStyles()(e=>({selectSourceContainer:{height:"100%vh - 200px"},title:{marginBottom:"4px"},subtitle:{marginBottom:"8px"},removePadding:{padding:0},dropdownContainer:{padding:"5px",display:"flex",alignItems:"flex-start",justifyContent:"center"},searchContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",border:"2px solid #E1E6ED",borderRadius:"7px",margin:"9px",padding:"8px",minWidth:"240px"},searchInput:{border:"0",outline:"none",width:"700px",fontFamily:"'Nunito'",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"left"},divLoader:{width:"300px",height:"350px",display:"flex",alignItems:"center",justifyContent:"center"},rowLoader:{height:"50px",display:"flex",justifyContent:"center",alignItems:"center"},source:{display:"flex",justifyContent:"space-between",alignItems:"center",margin:"5px"},sourceItem:{cursor:"pointer",width:"100%",marginRight:"auto","&:hover":{color:"#1871E8"}},sourceList:{height:"400px",display:"flex",flexDirection:"column",position:"relative"},sourceScrollContainer:{maxHeight:"360px",overflow:"hidden",overflowY:"scroll"},overlay:{position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"all",background:"rgba(255,255,255,0.5)",zIndex:1},newSourceButton:{marginTop:"10px",marginBottom:"10px",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},advancedSettings:{marginTop:"10px",marginBottom:"10px",width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center"}})),sharedStyles=makeStyles()(e=>({formControl:{marginRight:"15px"},label:{fontFamily:"Nunito",fontWeight:700,fontSize:14,color:"#2A323C",marginBottom:0,display:"flex",justifyContent:"space-between"},field:{width:660,paddingTop:20,paddingBottom:20},clearBtn:{color:"#0C53B0",cursor:"pointer",fontWeight:400}})),muiSelectStyleOverrides={height:"28px",fontSize:"0.8em","& fieldset":{borderColor:"#D5DFE9",borderWidth:"2px",borderRadius:"6px"},"&:hover":{"&& fieldset":{borderColor:"rgba(42,50,60,0.5)"}}},SelectSourceSearchInput=({onChange:e,value:t})=>{var s=useStyles$6()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:s.searchContainer},{children:[jsxRuntime.exports.jsx(Search,{}),jsxRuntime.exports.jsx("input",{"data-test":"ingestion-sources-search-input",onClick:e=>e.stopPropagation(),className:s.searchInput,onChange:e,value:t,placeholder:"Search Source name.."})]}))},SelectSourceItem=({source:t})=>{var e=useStyles$6()["classes"],{id:s,name:o}=t;const r=useDispatch();return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.source},{children:jsxRuntime.exports.jsx(Typography$2,Object.assign({"data-test":"ingestion-source-"+s,onClick:()=>{var e=t;r(actions$4.setSourceSelected(e)),r(actions$1.mapSourceTypesConfig(e))},className:e.sourceItem,noWrap:!0},{children:o||s}))}),s),jsxRuntime.exports.jsx(Divider$1,{})]})},LoadingStateRow=()=>{var e=useStyles$6()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:e.rowLoader},{children:jsxRuntime.exports.jsx(CircularProgress,{})}))},SelectSourceInfiniteList=({hasNextPage:t,isNextPageLoading:e,items:r,loadNextPage:s})=>{const o=t?r.length+1:r.length;const n=e=>!t||e<r.length,i=({index:e,style:t})=>{let s;var o;return s=n(e)?(o=r[e],jsxRuntime.exports.jsx(SelectSourceItem,{source:o},e)):jsxRuntime.exports.jsx(LoadingStateRow,{}),jsxRuntime.exports.jsx("div",Object.assign({style:t},{children:s}))};return jsxRuntime.exports.jsx(InfiniteLoader,Object.assign({isItemLoaded:n,itemCount:o,loadMoreItems:e?()=>{}:s},{children:({onItemsRendered:e,ref:t})=>jsxRuntime.exports.jsx(FixedSizeList,Object.assign({height:300,itemCount:o,itemSize:40,onItemsRendered:e,ref:t,width:"100%"},{children:i}))}))},SelectSourceStep=({sourceTypeIds:e})=>{const t=useDispatch();var s=useStyles$6()["classes"],o=sharedStyles()["classes"],r=react.exports.useRef(null);const[n,i]=react.exports.useState(!1),a=useSelector(selectSourceSelected);var c=useSelector(selectSearchTerm),l=useSelector(selectSearchedSources),f=useSelector(selectHasMore),u=useSelector(selectError);const d=useSelector(selectIsLoading);react.exports.useEffect(()=>{i(!1)},[a]),react.exports.useEffect(()=>{t(actions$4.setSourceTypeId(e)),t(actions$4.sourcesSearchStart())},[]);return jsxRuntime.exports.jsxs("div",Object.assign({className:s.selectSourceContainer},{children:[jsxRuntime.exports.jsxs(FormControl$1,Object.assign({id:"selectSourceStep",size:"small",className:o.formControl},{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"h5",className:s.title},{children:SHARED_TEXT.sourceSelectTitle()})),jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"caption",className:s.subtitle},{children:SHARED_TEXT.sourceSelectSubTitle()})),jsxRuntime.exports.jsxs(Select$2,Object.assign({id:"sources",sx:muiSelectStyleOverrides,variant:"outlined",multiple:!1,displayEmpty:!0,onClick:()=>{i(!n),t(actions$4.setSourceSearchTerm(""))},className:o.field,open:n,onOpen:()=>d,renderValue:()=>a?a.name:SHARED_TEXT.sourceSelectDefaultMessage(),MenuProps:{sx:{padding:0},anchorOrigin:{vertical:"bottom",horizontal:"center"},classes:{list:s.removePadding,paper:s.removePadding}}},{children:[[jsxRuntime.exports.jsx("div",Object.assign({id:"sourceMenu",className:s.dropdownContainer,ref:r},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:s.sourceList},{children:[jsxRuntime.exports.jsx(MenuItem$2,Object.assign({disableRipple:!0,focusRipple:!1,sx:{width:"600px",backgroundColor:"transparent !important","&:hover":{backgroundColor:"transparent !important"}},dense:!0,onKeyDown:e=>e.stopPropagation()},{children:jsxRuntime.exports.jsx(SelectSourceSearchInput,{onChange:e=>{e=e.target.value;t(actions$4.resetSourcesSearch()),t(actions$4.setSourceSearchTerm(e)),t(actions$4.sourcesSearchStart())},value:c})})),jsxRuntime.exports.jsx(Divider$1,{}),!u&&!d&&0===l.length&&jsxRuntime.exports.jsx("div",Object.assign({style:{width:"100%",display:"flex",alignItems:"center",flexDirection:"column"}},{children:jsxRuntime.exports.jsx(Typography$2,Object.assign({"data-test":"ingestion-sources-not-found",align:"center",variant:"caption",sx:{marginTop:"15px"}},{children:SHARED_TEXT.sourcesNotFoundText()}))})),u&&jsxRuntime.exports.jsxs("div",Object.assign({style:{width:"100%",display:"flex",alignItems:"center",flexDirection:"column"}},{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({"data-test":"ingestion-sources-has-error-message",align:"center",variant:"caption",sx:{marginTop:"15px"}},{children:SHARED_TEXT.sourcesErrorMessageText()})),jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"ingestion-sources-has-error-retry-button",onClick:()=>{t(actions$4.sourcesSearchStart())},sx:{marginTop:"20px"},variant:"contained"},{children:SHARED_TEXT.retryButtonText()}))]})),!u&&0<l.length&&jsxRuntime.exports.jsx("div",Object.assign({id:"sourcesInfiniteList",className:"aiware-el "},{children:jsxRuntime.exports.jsx(SelectSourceInfiniteList,{hasNextPage:f,isNextPageLoading:d,items:l,loadNextPage:()=>{t(actions$4.sourcesSearchStart())}})}))]}))}))],[!u&&jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Divider$1,{sx:{marginLeft:"30px",width:"595px"}}),jsxRuntime.exports.jsx("div",Object.assign({className:s.newSourceButton},{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"processing-center-ingestion-create-source-button",onClick:()=>{t(mountPanel({panelId:"PROCESSING_CENTER_SOURCES",microFrontend:{name:"PROCESSING_CENTER_SOURCES",config:{}},panelConfig:{type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"large",zIndex:1001,parentPanelId:"DATA_CENTER",dimmed:0,dimmedStatus:"dimParent"}}))},variant:"text",startIcon:jsxRuntime.exports.jsx(default_1$1,{})},{children:SHARED_TEXT.createSourceButton()}))}))]})]]})),jsxRuntime.exports.jsx("div",Object.assign({className:s.advancedSettings},{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"processing-center-ingestion-advanced-settings-button",onClick:()=>{t(mountPanel({panelId:"PROCESSING_CENTER_ADVANCED_SETTINGS",microFrontend:{name:"PROCESSING_CENTER_ADVANCED_SETTINGS",config:{}},panelConfig:{header:{title:"Advanced Settings"},divider:!1,type:"APP_BAR_PANEL_TEMPLATE",marginTop:55,marginStart:80,size:"small",zIndex:1001,parentPanelId:"PROCESSING_CENTER_INGESTION",dimmed:0,dimmedStatus:"dimParent"}}))},variant:"outlined",startIcon:jsxRuntime.exports.jsx(default_1,{}),disabled:!a},{children:SHARED_TEXT.advancedSettingsButton()}))}))]})),jsxRuntime.exports.jsx(PanelControls,{disableNext:!a,disableBack:!1})]}))},useStyles$5=makeStyles()(e=>({outerContainer:{display:"flex",justifyContent:"space-between",border:"1px solid",borderColor:e.palette.grey[200],borderRadius:"6px",padding:"12px"},flexGrow:{flexGrow:1},displayContainer:{display:"flex",flexDirection:"row",color:e.palette.text.secondary,width:"100%"},clock:{width:"24px",marginRight:"8px",color:e.palette.text.secondary},timezone:{fontWeight:"bold"},caption:{color:e.palette.text.secondary,marginLeft:"32px"}})),allTimezones=Intl&&Intl.supportedValuesOf?Intl.supportedValuesOf("timeZone"):["UTC"],TimezonePicker=e=>{const{timezone:t,allowEdit:s,onChange:o}=e,[r,n]=react.exports.useState(!1);var e=useStyles$5()["classes"],i=react.exports.useCallback(()=>{n(!r)},[r]),a=react.exports.useCallback(e=>{o&&o(e.target.value)},[t]),c=jsxRuntime.exports.jsx(Typography$2,Object.assign({className:e.timezone,variant:"h2"},{children:t})),a=jsxRuntime.exports.jsx(Select$2,Object.assign({className:e.flexGrow,value:t,onChange:a},{children:allTimezones.map((e,t)=>jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:e},{children:e}),"timezone-"+t))}));const l=s?SHARED_TEXT.timezonePicker.editableCaption:SHARED_TEXT.timezonePicker.sourceBasedCaption;return jsxRuntime.exports.jsxs("div",Object.assign({className:e.outerContainer},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:e.flexGrow},{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:e.displayContainer},{children:[jsxRuntime.exports.jsx(AccessTime,{className:e.clock}),r?a:c]})),!r&&jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"body1",className:e.caption},{children:l()}))]})),s&&jsxRuntime.exports.jsx(Button,Object.assign({variant:"text",onClick:i},{children:r?SHARED_TEXT.timezonePicker.saveButton():SHARED_TEXT.timezonePicker.changeButton()}))]}))},selectScheduleType=e=>e.processingCenterIngestion.sourceSchedular.frequencySchedular.scheduleType,selectStartDate=e=>e.processingCenterIngestion.sourceSchedular.frequencySchedular.startDate,selectEndDate=e=>e.processingCenterIngestion.sourceSchedular.frequencySchedular.endDate,selectDayOfMonth=e=>e.processingCenterIngestion.sourceSchedular.frequencySchedular.dayOfMonth,selectFrequency=e=>e.processingCenterIngestion.sourceSchedular.frequencySchedular.frequency,selectNoEndDate=e=>e.processingCenterIngestion.sourceSchedular.frequencySchedular.noEndDate,useStyles$4=makeStyles()(e=>({onDemandContainer:{background:"#FAFAFA",display:"flex",borderRadius:"4px",flexDirection:"row",justifyContent:"space-around",alignItems:"center",width:"464px",height:"60px",marginTop:"20px"},spaceAbove:{marginTop:"20px"},textBetweenDateContainer:{maxWidth:"10px",marginLeft:"15px",marginRight:"15px"},textBetweenDate:{marginTop:"17px"},startDate:{minWidth:"120px"},endDate:{marginLeft:"10px",minWidth:"120px"},frequencyMessageContainer:{marginLeft:"15px",marginRight:"15px"},frequencyMessage:{marginTop:"17px"},monthlySelectContainer:{marginLeft:"10px",minWidth:"120px"},frequencySelectContainer:{minWidth:"120px"},noEndContainer:{marginLeft:"15px",marginTop:"7px"},radioGroupContainer:{width:"100%"}})),RunMode={Continuous:"Continuous",Recurring:"Recurring",Once:"Once",Now:"Now"},Frequency={Daily:"Daily",TwiceDaily:"TwiceDaily",Weekly:"Weekly",Monthly:"Monthly"},FrequencySchedular=({activeEngine:e})=>{const t=useStyles$4()["classes"],s=useDispatch(),o=useSelector(selectScheduleType);var r=useSelector(selectStartDate),n=useSelector(selectEndDate),i=useSelector(selectDayOfMonth);const a=useSelector(selectFrequency);var c=useSelector(selectNoEndDate);const l=e.supportedScheduleTypes;react.exports.useEffect(()=>{!o&&l&&s(actions$2.setScheduleType(l[0]))},[]);var e=e=>{e=e.target.value;s(actions$2.setStartDate(e))},f=e=>{e=e.target.value;s(actions$2.setEndDate(e))},u=e=>!l||l.indexOf(e)<0;return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx("div",{children:jsxRuntime.exports.jsxs(FormControl$1,{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"h2"},{children:SHARED_TEXT.frequencySchedular.title()})),jsxRuntime.exports.jsx(Typography$2,{children:SHARED_TEXT.frequencySchedular.subtitle()}),jsxRuntime.exports.jsxs(RadioGroup,Object.assign({className:t.radioGroupContainer,row:!0,name:"schedule-type-radio-buttons-group",value:o,onChange:e=>{e=e.target.value;s(actions$2.resetFrequencyState()),s(actions$2.setScheduleType(e))}},{children:[jsxRuntime.exports.jsx(FormControlLabel,{value:RunMode.Recurring,disabled:u(RunMode.Recurring),control:jsxRuntime.exports.jsx(Radio,{}),label:SHARED_TEXT.frequencySchedular.radioRecurring()}),jsxRuntime.exports.jsx(FormControlLabel,{value:RunMode.Continuous,disabled:u(RunMode.Continuous),control:jsxRuntime.exports.jsx(Radio,{}),label:SHARED_TEXT.frequencySchedular.radioContinuous()}),jsxRuntime.exports.jsx(FormControlLabel,{value:RunMode.Once,disabled:u(RunMode.Once),control:jsxRuntime.exports.jsx(Radio,{}),label:SHARED_TEXT.frequencySchedular.radioOnDemand()})]}))]})}),!l&&jsxRuntime.exports.jsx(Typography$2,{children:SHARED_TEXT.frequencySchedular.errorNoSupportedTypes()}),o===RunMode.Recurring&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:t.spaceAbove},{children:[jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.startDate},{children:jsxRuntime.exports.jsx(TextField$1,{id:"date",required:!0,label:SHARED_TEXT.frequencySchedular.startDate(),type:"date",value:r,onChange:e,InputLabelProps:{shrink:!0}})})),jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.textBetweenDateContainer},{children:jsxRuntime.exports.jsx(Typography$2,Object.assign({className:t.textBetweenDate},{children:SHARED_TEXT.frequencySchedular.textBetweenDates()}))})),jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.endDate},{children:jsxRuntime.exports.jsx(TextField$1,{id:"date",label:SHARED_TEXT.frequencySchedular.endDate(),type:"date",disabled:c,value:n,onChange:f,InputLabelProps:{shrink:!0}})})),jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.noEndContainer},{children:jsxRuntime.exports.jsx(FormControlLabel,{control:jsxRuntime.exports.jsx(Checkbox,{checked:c,onChange:e=>{e=e.target.checked;s(actions$2.setNoEndDate(e))}}),label:SHARED_TEXT.frequencySchedular.labelNoEndDate()})}))]})),jsxRuntime.exports.jsxs("div",Object.assign({className:t.spaceAbove},{children:[jsxRuntime.exports.jsxs(FormControl$1,Object.assign({className:t.frequencySelectContainer},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({required:!0,shrink:!0,id:"frequency-label"},{children:SHARED_TEXT.frequencySchedular.inputLabelFrequency()})),jsxRuntime.exports.jsxs(Select$2,Object.assign({required:!0,labelId:"frequency-label",id:"frequency",value:a,label:SHARED_TEXT.frequencySchedular.inputLabelFrequency(),displayEmpty:!0,onChange:e=>{e=e.target.value;s(actions$2.setFrequency(e))}},{children:[jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:Frequency.Daily},{children:SHARED_TEXT.frequencySchedular.labelDaily()})),jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:Frequency.TwiceDaily},{children:SHARED_TEXT.frequencySchedular.labelTwiceDaily()})),jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:Frequency.Weekly},{children:SHARED_TEXT.frequencySchedular.labelWeekly()})),jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:Frequency.Monthly},{children:SHARED_TEXT.frequencySchedular.labelMonthly()}))]}))]})),a===Frequency.Monthly&&jsxRuntime.exports.jsxs(FormControl$1,Object.assign({className:t.monthlySelectContainer},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({shrink:!0,id:"day-of-month-label"},{children:SHARED_TEXT.frequencySchedular.inputLabelDayOfMonth()})),jsxRuntime.exports.jsxs(Select$2,Object.assign({required:!0,labelId:"day-of-month-label",id:"day-of-month",value:i,label:SHARED_TEXT.frequencySchedular.inputLabelDayOfMonth(),displayEmpty:!0,onChange:e=>{e=e.target.value;s(actions$2.setDayOfMonth(e))}},{children:[jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:"1"},{children:SHARED_TEXT.frequencySchedular.labelFirstDay()})),jsxRuntime.exports.jsx(MenuItem$2,Object.assign({value:"15"},{children:SHARED_TEXT.frequencySchedular.labelFifteenthDay()}))]}))]})),jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.frequencyMessageContainer},{children:a===Frequency.Daily?jsxRuntime.exports.jsx(Typography$2,Object.assign({className:t.frequencyMessage},{children:SHARED_TEXT.frequencySchedular.messageDaily()})):a===Frequency.TwiceDaily?jsxRuntime.exports.jsx(Typography$2,Object.assign({className:t.frequencyMessage},{children:SHARED_TEXT.frequencySchedular.messageTwiceDaily()})):a===Frequency.Monthly?jsxRuntime.exports.jsx(Typography$2,Object.assign({className:t.frequencyMessage},{children:SHARED_TEXT.frequencySchedular.messageMonthly()})):null}))]}))]}),o===RunMode.Continuous&&jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsxs("div",Object.assign({className:t.spaceAbove},{children:[jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.startDate},{children:jsxRuntime.exports.jsx(TextField$1,{required:!0,id:"date",label:SHARED_TEXT.frequencySchedular.startDate(),type:"datetime-local",value:r,onChange:e,InputLabelProps:{shrink:!0}})})),jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.textBetweenDateContainer},{children:jsxRuntime.exports.jsx(Typography$2,Object.assign({className:t.textBetweenDate},{children:SHARED_TEXT.frequencySchedular.textBetweenDates()}))})),jsxRuntime.exports.jsx(FormControl$1,Object.assign({className:t.endDate},{children:jsxRuntime.exports.jsx(TextField$1,{required:!0,id:"date",label:SHARED_TEXT.frequencySchedular.startDate(),type:"datetime-local",value:n,onChange:f,InputLabelProps:{shrink:!0}})}))]}))}),o===RunMode.Once&&jsxRuntime.exports.jsxs("div",Object.assign({className:t.onDemandContainer},{children:[jsxRuntime.exports.jsx(Information,{}),jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"body1"},{children:SHARED_TEXT.frequencySchedular.onDemandMessage()})),jsxRuntime.exports.jsx(Link$1,Object.assign({href:"#",variant:"body2"},{children:SHARED_TEXT.frequencySchedular.learnMore()}))]})]}))]})};var isObject=isObject$6,classof$4=classofRaw$1,wellKnownSymbol$5=wellKnownSymbol$c,MATCH$1=wellKnownSymbol$c("match"),isRegexp=function(e){var t;return isObject(e)&&(void 0!==(t=e[MATCH$1])?!!t:"RegExp"==classof$4(e))},isRegExp$1=isRegexp,$TypeError$2=TypeError,notARegexp=function(e){if(isRegExp$1(e))throw $TypeError$2("The method doesn't accept regular expressions");return e},wellKnownSymbol$4=wellKnownSymbol$c,TO_STRING_TAG$1=wellKnownSymbol$c("toStringTag"),test={},toStringTagSupport=(test[TO_STRING_TAG$1]="z","[object z]"===String(test)),TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$2=isCallable$h,classofRaw=classofRaw$1,wellKnownSymbol$3=wellKnownSymbol$c,TO_STRING_TAG=wellKnownSymbol$c("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},classof$3=TO_STRING_TAG_SUPPORT?classofRaw: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(e):"Object"==(t=classofRaw(e))&&isCallable$2(e.callee)?"Arguments":t},classof$2=classof$3,$String=String,toString$6=function(e){if("Symbol"===classof$2(e))throw TypeError("Cannot convert a Symbol value to a string");return $String(e)},wellKnownSymbol$2=wellKnownSymbol$c,MATCH=wellKnownSymbol$c("match"),correctIsRegexpLogic=function(t){var s=/./;try{"/./"[t](s)}catch(e){try{return s[MATCH]=!1,"/./"[t](s)}catch(e){}}return!1},$$2=_export,uncurryThis$7=functionUncurryThis,notARegExp=notARegexp,requireObjectCoercible$3=requireObjectCoercible$6,toString$5=toString$6,correctIsRegExpLogic=correctIsRegexpLogic,stringIndexOf=functionUncurryThis("".indexOf);$$2({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function(e){return!!~stringIndexOf(toString$5(requireObjectCoercible$3(this)),toString$5(notARegExp(e)),1<arguments.length?arguments[1]:void 0)}});const useStyles$3=makeStyles()(e=>({container:{display:"flex",flexDirection:"column",gap:"20px"},dayBubblesContainer:{display:"flex",gap:"10px"},dayBubble:{height:"40px",width:"40px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"14px",fontWeight:"bold",cursor:"pointer",userSelect:"none",transition:"all 0.25s ease-in-out","&.disabled:active":{opacity:.5},"&.enabled:active":{opacity:.5},"&.disabled:hover":{backgroundColor:"rgba(24,113,232,0.2)"},"&.enabled:hover":{backgroundColor:"rgba(24,113,232,0.8)"},"&.enabled":{backgroundColor:"#1871E8",color:"#fff"},"&.disabled":{backgroundColor:"#F2F3F4",color:"#555F7C"}},timeslotsWidgetContainer:{display:"flex",gap:"15px",flexDirection:"column",width:"100%",height:"25vh",overflowY:"scroll"},timeslotRow:{display:"flex",alignItems:"flex-start",gap:"10px"},timeslotDayLabel:{width:"15%",paddingTop:"5px"},timeslotList:{display:"flex",flexDirection:"column",gap:"15px"},timeslotMenu:{display:"flex",position:"relative",background:"#F6F7FA",boxSizing:"border-box",gap:"10px",padding:"0px 12px",borderRadius:"5px",alignItems:"center",userSelect:"none",'&:hover input[type="time"]':{color:"#1871e8"},"&.is-invalid":{backgroundColor:"rgba(255,0,0,0.05)"},'&.is-invalid input[type="time"]':{color:"rgba(255,0,0,0.6)"}},timeslotDelete:{position:"absolute",top:0,right:"-60px",opacity:0,transition:"all 0.25s ease-in-out","&:hover":{opacity:1}},inputTime:{background:"transparent",border:"none",fontFamily:"sans-serif",padding:"8px 0px",outline:"none!important",color:"#2A323C",fontSize:"15px"},rowActions:{display:"flex",alignItems:"center",gap:"15px",opacity:0,paddingLeft:"10px",transition:"all 0.25s ease-in-out","&:hover":{opacity:1}},rowDivider:{width:"1px",display:"flex",backgroundColor:"#979797",height:"30px"},rowCopyToAll:{display:"flex",alignItems:"center",gap:"10px"}}));var anObject$3=anObject$9,regexpFlags$1=function(){var e=anObject$3(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fails$6=fails$i,global$4=global$f,$RegExp$2=global$f.RegExp,UNSUPPORTED_Y$2=fails$6(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),MISSED_STICKY=UNSUPPORTED_Y$2||fails$6(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$2||fails$6(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$2},fails$5=fails$i,global$3=global$f,$RegExp$1=global$f.RegExp,regexpUnsupportedDotAll=fails$5(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),fails$4=fails$i,global$2=global$f,$RegExp=global$f.RegExp,regexpUnsupportedNcg=fails$4(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call$3=functionCall,uncurryThis$6=functionUncurryThis,toString$4=toString$6,regexpFlags=regexpFlags$1,stickyHelpers$1=regexpStickyHelpers,shared=shared$4.exports,create=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$2=uncurryThis$6("".charAt),indexOf=uncurryThis$6("".indexOf),replace$1=uncurryThis$6("".replace),stringSlice$2=uncurryThis$6("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return call$3(nativeExec,e,"a"),call$3(nativeExec,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),UNSUPPORTED_Y$1=stickyHelpers$1.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y$1||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG,regexpExec$3=patchedExec=PATCH?function(e){var t,s,o,r,n,i,a=this,c=getInternalState(a),e=toString$4(e),l=c.raw;if(l)return l.lastIndex=a.lastIndex,u=call$3(patchedExec,l,e),a.lastIndex=l.lastIndex,u;var f=c.groups,l=UNSUPPORTED_Y$1&&a.sticky,u=call$3(regexpFlags,a),c=a.source,d=0,p=e;if(l&&(u=replace$1(u,"y",""),-1===indexOf(u,"g")&&(u+="g"),p=stringSlice$2(e,a.lastIndex),0<a.lastIndex&&(!a.multiline||a.multiline&&"\n"!==charAt$2(e,a.lastIndex-1))&&(c="(?: "+c+")",p=" "+p,d++),t=new RegExp("^(?:"+c+")",u)),NPCG_INCLUDED&&(t=new RegExp("^"+c+"$(?!\\s)",u)),UPDATES_LAST_INDEX_WRONG&&(s=a.lastIndex),o=call$3(nativeExec,l?t:a,p),l?o?(o.input=stringSlice$2(o.input,d),o[0]=stringSlice$2(o[0],d),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&o&&(a.lastIndex=a.global?o.index+o[0].length:s),NPCG_INCLUDED&&o&&1<o.length&&call$3(nativeReplace,o[0],t,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(o[r]=void 0)}),o&&f)for(o.groups=n=create(null),r=0;r<f.length;r++)n[(i=f[r])[0]]=o[i[1]];return o}:patchedExec,$$1=_export,exec$3=regexpExec$3,NATIVE_BIND=(_export({target:"RegExp",proto:!0,forced:/./.exec!==exec$3},{exec:exec$3}),functionBindNative),FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$2=FunctionPrototype.call,functionApply="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call$2.bind(apply$1):function(){return call$2.apply(apply$1,arguments)}),uncurryThis$5=functionUncurryThis,defineBuiltIn=defineBuiltIn$4,regexpExec$2=regexpExec$3,fails$3=fails$i,wellKnownSymbol$1=wellKnownSymbol$c,createNonEnumerableProperty=createNonEnumerableProperty$5,SPECIES$1=wellKnownSymbol$1("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(s,e,t,o){var i,r=wellKnownSymbol$1(s),a=!fails$3(function(){var e={};return e[r]=function(){return 7},7!=""[s](e)}),n=a&&!fails$3(function(){var e=!1,t=/a/;return"split"===s&&((t={constructor:{}}).constructor[SPECIES$1]=function(){return t},t.flags="",t[r]=/./[r]),t.exec=function(){return e=!0,null},t[r](""),!e});a&&n&&!t||(i=uncurryThis$5(/./[r]),n=e(r,""[s],function(e,t,s,o,r){var e=uncurryThis$5(e),n=t.exec;return n===regexpExec$2||n===RegExpPrototype.exec?a&&!r?{done:!0,value:i(t,s,o)}:{done:!0,value:e(s,t,o)}:{done:!1}}),defineBuiltIn(String.prototype,s,n[0]),defineBuiltIn(RegExpPrototype,r,n[1])),o&&createNonEnumerableProperty(RegExpPrototype[r],"sham",!0)},uncurryThis$4=functionUncurryThis,fails$2=fails$i,isCallable$1=isCallable$h,classof$1=classof$3,getBuiltIn=getBuiltIn$5,inspectSource=inspectSource$3,noop=function(){},empty=[],construct=getBuiltIn$5("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec$2=uncurryThis$4(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.exec(noop),isConstructorModern=function(e){if(!isCallable$1(e))return!1;try{return construct(noop,empty,e),!0}catch(e){return!1}},isConstructorLegacy=function(e){if(!isCallable$1(e))return!1;switch(classof$1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec$2(constructorRegExp,inspectSource(e))}catch(e){return!0}},isConstructor$1=(isConstructorLegacy.sham=!0,!construct||fails$2(function(){var e;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern(function(){e=!0})||e})?isConstructorLegacy:isConstructorModern),isConstructor=isConstructor$1,tryToString=tryToString$2,$TypeError$1=TypeError,aConstructor$1=function(e){if(isConstructor(e))return e;throw $TypeError$1(tryToString(e)+" is not a constructor")},anObject$2=anObject$9,aConstructor=aConstructor$1,wellKnownSymbol=wellKnownSymbol$c,SPECIES=wellKnownSymbol$c("species"),speciesConstructor$1=function(e,t){var e=anObject$2(e).constructor;return void 0===e||null==(e=anObject$2(e)[SPECIES])?t:aConstructor(e)},uncurryThis$3=functionUncurryThis,toIntegerOrInfinity=toIntegerOrInfinity$3,toString$3=toString$6,requireObjectCoercible$2=requireObjectCoercible$6,charAt$1=uncurryThis$3("".charAt),charCodeAt=uncurryThis$3("".charCodeAt),stringSlice$1=uncurryThis$3("".slice),createMethod$1=function(r){return function(e,t){var s,e=toString$3(requireObjectCoercible$2(e)),t=toIntegerOrInfinity(t),o=e.length;return t<0||o<=t?r?"":void 0:(s=charCodeAt(e,t))<55296||56319<s||t+1===o||(o=charCodeAt(e,t+1))<56320||57343<o?r?charAt$1(e,t):s:r?stringSlice$1(e,t,t+2):o-56320+(s-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$1(!1),charAt:createMethod$1(!0)},charAt=stringMultibyte.charAt,advanceStringIndex$1=function(e,t,s){return t+(s?charAt(e,t).length:1)},toPropertyKey=toPropertyKey$3,definePropertyModule=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$4,createProperty$1=function(e,t,s){t=toPropertyKey(t);t in e?definePropertyModule.f(e,t,createPropertyDescriptor(0,s)):e[t]=s},toAbsoluteIndex=toAbsoluteIndex$2,lengthOfArrayLike=lengthOfArrayLike$2,createProperty=createProperty$1,$Array=Array,max=Math.max,arraySliceSimple=function(e,t,s){for(var o=lengthOfArrayLike(e),r=toAbsoluteIndex(t,o),n=toAbsoluteIndex(void 0===s?o:s,o),i=$Array(max(n-r,0)),a=0;r<n;r++,a++)createProperty(i,a,e[r]);return i.length=a,i},call$1=functionCall,anObject$1=anObject$9,isCallable=isCallable$h,classof=classofRaw$1,regexpExec$1=regexpExec$3,$TypeError=TypeError,regexpExecAbstract=function(e,t){var s=e.exec;if(isCallable(s))return null!==(s=call$1(s,e,t))&&anObject$1(s),s;if("RegExp"===classof(e))return call$1(regexpExec$1,e,t);throw $TypeError("RegExp#exec called on incompatible receiver")},apply=functionApply,call=functionCall,uncurryThis$2=functionUncurryThis,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,isRegExp=isRegexp,anObject=anObject$9,requireObjectCoercible$1=requireObjectCoercible$6,speciesConstructor=speciesConstructor$1,advanceStringIndex=advanceStringIndex$1,toLength=toLength$2,toString$2=toString$6,getMethod=getMethod$2,arraySlice=arraySliceSimple,callRegExpExec=regexpExecAbstract,regexpExec=regexpExec$3,stickyHelpers=regexpStickyHelpers,fails$1=fails$i,UNSUPPORTED_Y=regexpStickyHelpers.UNSUPPORTED_Y,MAX_UINT32=4294967295,min=Math.min,$push=[].push,exec$1=uncurryThis$2(/./.exec),push=uncurryThis$2($push),stringSlice=uncurryThis$2("".slice),SPLIT_WORKS_WITH_OVERWRITTEN_EXEC=!fails$1(function(){var e=/(?:)/,t=e.exec,e=(e.exec=function(){return t.apply(this,arguments)},"ab".split(e));return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),whitespaces$2=(fixRegExpWellKnownSymbolLogic("split",function(r,S,m){var g="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,t){var s=toString$2(requireObjectCoercible$1(this)),o=void 0===t?MAX_UINT32:t>>>0;if(0===o)return[];if(void 0===e)return[s];if(!isRegExp(e))return call(S,s,e,o);for(var r,n,i,a=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,l=new RegExp(e.source,t+"g");(r=call(regexpExec,l,s))&&!(c<(n=l.lastIndex)&&(push(a,stringSlice(s,c,r.index)),1<r.length&&r.index<s.length&&apply($push,a,arraySlice(r,1)),i=r[0].length,c=n,o<=a.length));)l.lastIndex===r.index&&l.lastIndex++;return c===s.length?!i&&exec$1(l,"")||push(a,""):push(a,stringSlice(s,c)),o<a.length?arraySlice(a,0,o):a}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:call(S,this,e,t)}:S;return[function(e,t){var s=requireObjectCoercible$1(this),o=null==e?void 0:getMethod(e,r);return o?call(o,e,s,t):call(g,toString$2(s),e,t)},function(e,t){var s=anObject(this),o=toString$2(e),e=m(g,s,o,t,g!==S);if(e.done)return e.value;var e=speciesConstructor(s,RegExp),r=s.unicode,n=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(UNSUPPORTED_Y?"g":"y"),i=new e(UNSUPPORTED_Y?"^(?:"+s.source+")":s,n),a=void 0===t?MAX_UINT32:t>>>0;if(0===a)return[];if(0===o.length)return null===callRegExpExec(i,o)?[o]:[];for(var c=0,l=0,f=[];l<o.length;){i.lastIndex=UNSUPPORTED_Y?0:l;var u,d=callRegExpExec(i,UNSUPPORTED_Y?stringSlice(o,l):o);if(null===d||(u=min(toLength(i.lastIndex+(UNSUPPORTED_Y?l:0)),o.length))===c)l=advanceStringIndex(o,l,r);else{if(push(f,stringSlice(o,c,l)),f.length===a)return f;for(var p=1;p<=d.length-1;p++)if(push(f,d[p]),f.length===a)return f;l=c=u}}return push(f,stringSlice(o,c)),f}]},!SPLIT_WORKS_WITH_OVERWRITTEN_EXEC,UNSUPPORTED_Y),"\t\n\v\f\r \u2028\u2029\ufeff"),uncurryThis$1=functionUncurryThis,requireObjectCoercible=requireObjectCoercible$6,toString$1=toString$6,whitespaces$1=whitespaces$2,replace=functionUncurryThis("".replace),whitespace="["+whitespaces$1+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(t){return function(e){e=toString$1(requireObjectCoercible(e));return 1&t&&(e=replace(e,ltrim,"")),e=2&t?replace(e,rtrim,""):e}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},global$1=global$f,fails=fails$i,uncurryThis=functionUncurryThis,toString=toString$6,trim=stringTrim.trim,whitespaces=whitespaces$2,$parseInt$1=global$1.parseInt,Symbol$1=global$1.Symbol,ITERATOR=Symbol$1&&Symbol$1.iterator,hex=/^[+-]?0x/i,exec=uncurryThis(hex.exec),FORCED=8!==$parseInt$1(whitespaces+"08")||22!==$parseInt$1(whitespaces+"0x16")||ITERATOR&&!fails(function(){$parseInt$1(Object(ITERATOR))}),numberParseInt=FORCED?function(e,t){e=trim(toString(e));return $parseInt$1(e,t>>>0||(exec(hex,e)?16:10))}:$parseInt$1,$=_export,$parseInt=numberParseInt;_export({global:!0,forced:parseInt!=numberParseInt},{parseInt:numberParseInt});const TIMEZONE_OFFSETS={"Etc/GMT+12":{offset:"-12:00",offsetDST:""},"Etc/GMT+11":{offset:"-11:00",offsetDST:""},"Pacific/Midway":{offset:"-11:00",offsetDST:""},"Pacific/Niue":{offset:"-11:00",offsetDST:""},"Pacific/Pago_Pago":{offset:"-11:00",offsetDST:""},"Etc/GMT+10":{offset:"-10:00",offsetDST:""},"Pacific/Honolulu":{offset:"-10:00",offsetDST:""},"Pacific/Johnston":{offset:"-10:00",offsetDST:""},"Pacific/Rarotonga":{offset:"-10:00",offsetDST:""},"Pacific/Tahiti":{offset:"-10:00",offsetDST:""},"America/Anchorage":{offset:"",offsetDST:"-08:00"},"America/Juneau":{offset:"",offsetDST:"-08:00"},"America/Nome":{offset:"",offsetDST:"-08:00"},"America/Sitka":{offset:"",offsetDST:"-08:00"},"America/Yakutat":{offset:"",offsetDST:"-08:00"},"America/Santa_Isabel":{offset:"",offsetDST:"-07:00"},"America/Los_Angeles":{offset:"-08:00",offsetDST:"-07:00"},"America/Tijuana":{offset:"-08:00",offsetDST:"-07:00"},"America/Vancouver":{offset:"-08:00",offsetDST:"-07:00"},PST8PDT:{offset:"-08:00",offsetDST:""},"America/Creston":{offset:"-07:00",offsetDST:""},"America/Dawson":{offset:"-07:00",offsetDST:""},"America/Dawson_Creek":{offset:"-07:00",offsetDST:""},"America/Hermosillo":{offset:"-07:00",offsetDST:""},"America/Phoenix":{offset:"-07:00",offsetDST:""},"America/Whitehorse":{offset:"-07:00",offsetDST:""},"Etc/GMT+7":{offset:"-07:00",offsetDST:""},"America/Chihuahua":{offset:"",offsetDST:"-06:00"},"America/Mazatlan":{offset:"",offsetDST:"-06:00"},"America/Boise":{offset:"",offsetDST:"-06:00"},"America/Cambridge_Bay":{offset:"",offsetDST:"-06:00"},"America/Denver":{offset:"",offsetDST:"-06:00"},"America/Edmonton":{offset:"",offsetDST:"-06:00"},"America/Inuvik":{offset:"",offsetDST:"-06:00"},"America/Ojinaga":{offset:"",offsetDST:"-06:00"},"America/Yellowknife":{offset:"",offsetDST:"-06:00"},MST7MDT:{offset:"",offsetDST:"-06:00"},"America/Belize":{offset:"-06:00",offsetDST:""},"America/Costa_Rica":{offset:"-06:00",offsetDST:""},"America/El_Salvador":{offset:"-06:00",offsetDST:""},"America/Guatemala":{offset:"-06:00",offsetDST:""},"America/Managua":{offset:"-06:00",offsetDST:""},"America/Tegucigalpa":{offset:"-06:00",offsetDST:""},"Etc/GMT+6":{offset:"-06:00",offsetDST:""},"Pacific/Galapagos":{offset:"-06:00",offsetDST:""},"America/Chicago":{offset:"",offsetDST:"-05:00"},"America/Indiana/Knox":{offset:"",offsetDST:"-05:00"},"America/Indiana/Tell_City":{offset:"",offsetDST:"-05:00"},"America/Matamoros":{offset:"",offsetDST:"-05:00"},"America/Menominee":{offset:"",offsetDST:"-05:00"},"America/North_Dakota/Beulah":{offset:"",offsetDST:"-05:00"},"America/North_Dakota/Center":{offset:"",offsetDST:"-05:00"},"America/North_Dakota/New_Salem":{offset:"",offsetDST:"-05:00"},"America/Rainy_River":{offset:"",offsetDST:"-05:00"},"America/Rankin_Inlet":{offset:"",offsetDST:"-05:00"},"America/Resolute":{offset:"",offsetDST:"-05:00"},"America/Winnipeg":{offset:"",offsetDST:"-05:00"},CST6CDT:{offset:"",offsetDST:"-05:00"},"America/Bahia_Banderas":{offset:"",offsetDST:"-05:00"},"America/Cancun":{offset:"",offsetDST:"-05:00"},"America/Merida":{offset:"",offsetDST:"-05:00"},"America/Mexico_City":{offset:"",offsetDST:"-05:00"},"America/Monterrey":{offset:"",offsetDST:"-05:00"},"America/Regina":{offset:"-06:00",offsetDST:""},"America/Swift_Current":{offset:"-06:00",offsetDST:""},"America/Bogota":{offset:"-05:00",offsetDST:""},"America/Cayman":{offset:"-05:00",offsetDST:""},"America/Coral_Harbour":{offset:"-05:00",offsetDST:""},"America/Eirunepe":{offset:"-05:00",offsetDST:""},"America/Guayaquil":{offset:"-05:00",offsetDST:""},"America/Jamaica":{offset:"-05:00",offsetDST:""},"America/Lima":{offset:"-05:00",offsetDST:""},"America/Panama":{offset:"-05:00",offsetDST:""},"America/Rio_Branco":{offset:"-05:00",offsetDST:""},"Etc/GMT+5":{offset:"-05:00",offsetDST:""},"America/Detroit":{offset:"-05:00",offsetDST:"-04:00"},"America/Havana":{offset:"-05:00",offsetDST:"-04:00"},"America/Indiana/Petersburg":{offset:"-05:00",offsetDST:"-04:00"},"America/Indiana/Vincennes":{offset:"-05:00",offsetDST:"-04:00"},"America/Indiana/Winamac":{offset:"-05:00",offsetDST:"-04:00"},"America/Iqaluit":{offset:"-05:00",offsetDST:"-04:00"},"America/Kentucky/Monticello":{offset:"-05:00",offsetDST:"-04:00"},"America/Louisville":{offset:"-05:00",offsetDST:"-04:00"},"America/Montreal":{offset:"-05:00",offsetDST:"-04:00"},"America/Nassau":{offset:"-05:00",offsetDST:"-04:00"},"America/New_York":{offset:"-05:00",offsetDST:"-04:00"},"America/Nipigon":{offset:"-05:00",offsetDST:"-04:00"},"America/Pangnirtung":{offset:"-05:00",offsetDST:"-04:00"},"America/Port-au-Prince":{offset:"-05:00",offsetDST:"-04:00"},"America/Thunder_Bay":{offset:"-05:00",offsetDST:"-04:00"},"America/Toronto":{offset:"-05:00",offsetDST:"-04:00"},"America/Indiana/Marengo":{offset:"-05:00",offsetDST:""},"America/Indiana/Vevay":{offset:"-05:00",offsetDST:""},"America/Indianapolis":{offset:"-05:00",offsetDST:""},"America/Caracas":{offset:"-04:30",offsetDST:""},"America/Asuncion":{offset:"-04:00",offsetDST:""},"America/Glace_Bay":{offset:"",offsetDST:"-03:00"},"America/Goose_Bay":{offset:"",offsetDST:"-03:00"},"America/Halifax":{offset:"",offsetDST:"-03:00"},"America/Moncton":{offset:"",offsetDST:"-03:00"},"America/Thule":{offset:"",offsetDST:"-03:00"},"Atlantic/Bermuda":{offset:"",offsetDST:"-03:00"},"America/Campo_Grande":{offset:"-04:00",offsetDST:""},"America/Cuiaba":{offset:"-04:00",offsetDST:""},"America/Anguilla":{offset:"-04:00",offsetDST:""},"America/Antigua":{offset:"-04:00",offsetDST:""},"America/Aruba":{offset:"-04:00",offsetDST:""},"America/Barbados":{offset:"-04:00",offsetDST:""},"America/Blanc-Sablon":{offset:"-04:00",offsetDST:""},"America/Boa_Vista":{offset:"-04:00",offsetDST:""},"America/Curacao":{offset:"-04:00",offsetDST:""},"America/Dominica":{offset:"-04:00",offsetDST:""},"America/Grand_Turk":{offset:"-04:00",offsetDST:""},"America/Grenada":{offset:"-04:00",offsetDST:""},"America/Guadeloupe":{offset:"-04:00",offsetDST:""},"America/Guyana":{offset:"-04:00",offsetDST:""},"America/Kralendijk":{offset:"-04:00",offsetDST:""},"America/La_Paz":{offset:"-04:00",offsetDST:""},"America/Lower_Princes":{offset:"-04:00",offsetDST:""},"America/Manaus":{offset:"-04:00",offsetDST:""},"America/Marigot":{offset:"-04:00",offsetDST:""},"America/Martinique":{offset:"-04:00",offsetDST:""},"America/Montserrat":{offset:"-04:00",offsetDST:""},"America/Port_of_Spain":{offset:"-04:00",offsetDST:""},"America/Porto_Velho":{offset:"-04:00",offsetDST:""},"America/Puerto_Rico":{offset:"-04:00",offsetDST:""},"America/Santo_Domingo":{offset:"-04:00",offsetDST:""},"America/St_Barthelemy":{offset:"-04:00",offsetDST:""},"America/St_Kitts":{offset:"-04:00",offsetDST:""},"America/St_Lucia":{offset:"-04:00",offsetDST:""},"America/St_Thomas":{offset:"-04:00",offsetDST:""},"America/St_Vincent":{offset:"-04:00",offsetDST:""},"America/Tortola":{offset:"-04:00",offsetDST:""},"Etc/GMT+4":{offset:"-04:00",offsetDST:""},"America/Santiago":{offset:"-04:00",offsetDST:""},"Antarctica/Palmer":{offset:"-04:00",offsetDST:""},"America/St_Johns":{offset:"",offsetDST:"-02:30"},"America/Sao_Paulo":{offset:"-03:00",offsetDST:""},"America/Argentina/La_Rioja":{offset:"-03:00",offsetDST:""},"America/Argentina/Rio_Gallegos":{offset:"-03:00",offsetDST:""},"America/Argentina/Salta":{offset:"-03:00",offsetDST:""},"America/Argentina/San_Juan":{offset:"-03:00",offsetDST:""},"America/Argentina/San_Luis":{offset:"-03:00",offsetDST:""},"America/Argentina/Tucuman":{offset:"-03:00",offsetDST:""},"America/Argentina/Ushuaia":{offset:"-03:00",offsetDST:""},"America/Buenos_Aires":{offset:"-03:00",offsetDST:""},"America/Catamarca":{offset:"-03:00",offsetDST:""},"America/Cordoba":{offset:"-03:00",offsetDST:""},"America/Jujuy":{offset:"-03:00",offsetDST:""},"America/Mendoza":{offset:"-03:00",offsetDST:""},"America/Araguaina":{offset:"-03:00",offsetDST:""},"America/Belem":{offset:"-03:00",offsetDST:""},"America/Cayenne":{offset:"-03:00",offsetDST:""},"America/Fortaleza":{offset:"-03:00",offsetDST:""},"America/Maceio":{offset:"-03:00",offsetDST:""},"America/Paramaribo":{offset:"-03:00",offsetDST:""},"America/Recife":{offset:"-03:00",offsetDST:""},"America/Santarem":{offset:"-03:00",offsetDST:""},"Antarctica/Rothera":{offset:"-03:00",offsetDST:""},"Atlantic/Stanley":{offset:"-03:00",offsetDST:""},"Etc/GMT+3":{offset:"-03:00",offsetDST:""},"America/Godthab":{offset:"",offsetDST:"-03:00"},"America/Montevideo":{offset:"-03:00",offsetDST:""},"America/Bahia":{offset:"-03:00",offsetDST:""},"America/Noronha":{offset:"-02:00",offsetDST:""},"Atlantic/South_Georgia":{offset:"-02:00",offsetDST:""},"Etc/GMT+2":{offset:"-02:00",offsetDST:""},"America/Scoresbysund":{offset:"",offsetDST:"+00:00"},"Atlantic/Azores":{offset:"",offsetDST:"+00:00"},"Atlantic/Cape_Verde":{offset:"-01:00",offsetDST:""},"Etc/GMT+1":{offset:"-01:00",offsetDST:""},"Africa/Casablanca":{offset:"",offsetDST:"+01:00"},"Africa/El_Aaiun":{offset:"",offsetDST:"+01:00"},"America/Danmarkshavn":{offset:"+00:00",offsetDST:""},"Etc/GMT":{offset:"+00:00",offsetDST:""},"Europe/Isle_of_Man":{offset:"+01:00",offsetDST:""},"Europe/Guernsey":{offset:"+01:00",offsetDST:""},"Europe/Jersey":{offset:"+01:00",offsetDST:""},"Europe/London":{offset:"+01:00",offsetDST:""},"Atlantic/Canary":{offset:"",offsetDST:"+01:00"},"Atlantic/Faeroe":{offset:"",offsetDST:"+01:00"},"Atlantic/Madeira":{offset:"",offsetDST:"+01:00"},"Europe/Dublin":{offset:"",offsetDST:"+01:00"},"Europe/Lisbon":{offset:"",offsetDST:"+01:00"},"Africa/Abidjan":{offset:"+00:00",offsetDST:""},"Africa/Accra":{offset:"+00:00",offsetDST:""},"Africa/Bamako":{offset:"+00:00",offsetDST:""},"Africa/Banjul":{offset:"+00:00",offsetDST:""},"Africa/Bissau":{offset:"+00:00",offsetDST:""},"Africa/Conakry":{offset:"+00:00",offsetDST:""},"Africa/Dakar":{offset:"+00:00",offsetDST:""},"Africa/Freetown":{offset:"+00:00",offsetDST:""},"Africa/Lome":{offset:"+00:00",offsetDST:""},"Africa/Monrovia":{offset:"+00:00",offsetDST:""},"Africa/Nouakchott":{offset:"+00:00",offsetDST:""},"Africa/Ouagadougou":{offset:"+00:00",offsetDST:""},"Africa/Sao_Tome":{offset:"+00:00",offsetDST:""},"Atlantic/Reykjavik":{offset:"+00:00",offsetDST:""},"Atlantic/St_Helena":{offset:"+00:00",offsetDST:""},"Arctic/Longyearbyen":{offset:"",offsetDST:"+02:00"},"Europe/Amsterdam":{offset:"",offsetDST:"+02:00"},"Europe/Andorra":{offset:"",offsetDST:"+02:00"},"Europe/Berlin":{offset:"",offsetDST:"+02:00"},"Europe/Busingen":{offset:"",offsetDST:"+02:00"},"Europe/Gibraltar":{offset:"",offsetDST:"+02:00"},"Europe/Luxembourg":{offset:"",offsetDST:"+02:00"},"Europe/Malta":{offset:"",offsetDST:"+02:00"},"Europe/Monaco":{offset:"",offsetDST:"+02:00"},"Europe/Oslo":{offset:"",offsetDST:"+02:00"},"Europe/Rome":{offset:"",offsetDST:"+02:00"},"Europe/San_Marino":{offset:"",offsetDST:"+02:00"},"Europe/Stockholm":{offset:"",offsetDST:"+02:00"},"Europe/Vaduz":{offset:"",offsetDST:"+02:00"},"Europe/Vatican":{offset:"",offsetDST:"+02:00"},"Europe/Vienna":{offset:"",offsetDST:"+02:00"},"Europe/Zurich":{offset:"",offsetDST:"+02:00"},"Europe/Belgrade":{offset:"",offsetDST:"+02:00"},"Europe/Bratislava":{offset:"",offsetDST:"+02:00"},"Europe/Budapest":{offset:"",offsetDST:"+02:00"},"Europe/Ljubljana":{offset:"",offsetDST:"+02:00"},"Europe/Podgorica":{offset:"",offsetDST:"+02:00"},"Europe/Prague":{offset:"",offsetDST:"+02:00"},"Europe/Tirane":{offset:"",offsetDST:"+02:00"},"Africa/Ceuta":{offset:"",offsetDST:"+02:00"},"Europe/Brussels":{offset:"",offsetDST:"+02:00"},"Europe/Copenhagen":{offset:"",offsetDST:"+02:00"},"Europe/Madrid":{offset:"",offsetDST:"+02:00"},"Europe/Paris":{offset:"",offsetDST:"+02:00"},"Europe/Sarajevo":{offset:"",offsetDST:"+02:00"},"Europe/Skopje":{offset:"",offsetDST:"+02:00"},"Europe/Warsaw":{offset:"",offsetDST:"+02:00"},"Europe/Zagreb":{offset:"",offsetDST:"+02:00"},"Africa/Algiers":{offset:"+01:00",offsetDST:""},"Africa/Bangui":{offset:"+01:00",offsetDST:""},"Africa/Brazzaville":{offset:"+01:00",offsetDST:""},"Africa/Douala":{offset:"+01:00",offsetDST:""},"Africa/Kinshasa":{offset:"+01:00",offsetDST:""},"Africa/Lagos":{offset:"+01:00",offsetDST:""},"Africa/Libreville":{offset:"+01:00",offsetDST:""},"Africa/Luanda":{offset:"+01:00",offsetDST:""},"Africa/Malabo":{offset:"+01:00",offsetDST:""},"Africa/Ndjamena":{offset:"+01:00",offsetDST:""},"Africa/Niamey":{offset:"+01:00",offsetDST:""},"Africa/Porto-Novo":{offset:"+01:00",offsetDST:""},"Africa/Tunis":{offset:"+01:00",offsetDST:""},"Etc/GMT-1":{offset:"+01:00",offsetDST:""},"Africa/Windhoek":{offset:"+01:00",offsetDST:""},"Asia/Nicosia":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Athens":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Bucharest":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Chisinau":{offset:"+03:00",offsetDST:"+03:00"},"Asia/Beirut":{offset:"",offsetDST:"+03:00"},"Africa/Cairo":{offset:"+02:00",offsetDST:""},"Asia/Damascus":{offset:"",offsetDST:"+03:00"},"Europe/Helsinki":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Kiev":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Mariehamn":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Nicosia":{offset:"",offsetDST:"+03:00"},"Europe/Riga":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Sofia":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Tallinn":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Uzhgorod":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Vilnius":{offset:"+03:00",offsetDST:"+03:00"},"Europe/Zaporozhye":{offset:"+03:00",offsetDST:"+03:00"},"Africa/Blantyre":{offset:"+02:00",offsetDST:""},"Africa/Bujumbura":{offset:"+02:00",offsetDST:""},"Africa/Gaborone":{offset:"+02:00",offsetDST:""},"Africa/Harare":{offset:"+02:00",offsetDST:""},"Africa/Johannesburg":{offset:"+02:00",offsetDST:""},"Africa/Kigali":{offset:"+02:00",offsetDST:""},"Africa/Lubumbashi":{offset:"+02:00",offsetDST:""},"Africa/Lusaka":{offset:"+02:00",offsetDST:""},"Africa/Maputo":{offset:"+02:00",offsetDST:""},"Africa/Maseru":{offset:"+02:00",offsetDST:""},"Africa/Mbabane":{offset:"+02:00",offsetDST:""},"Etc/GMT-2":{offset:"+02:00",offsetDST:""},"Europe/Istanbul":{offset:"+03:00",offsetDST:""},"Asia/Jerusalem":{offset:"",offsetDST:"+03:00"},"Africa/Tripoli":{offset:"+02:00",offsetDST:""},"Asia/Amman":{offset:"+03:00",offsetDST:""},"Asia/Baghdad":{offset:"+03:00",offsetDST:""},"Europe/Kaliningrad":{offset:"+03:00",offsetDST:""},"Asia/Aden":{offset:"+03:00",offsetDST:""},"Asia/Bahrain":{offset:"+03:00",offsetDST:""},"Asia/Kuwait":{offset:"+03:00",offsetDST:""},"Asia/Qatar":{offset:"+03:00",offsetDST:""},"Asia/Riyadh":{offset:"+03:00",offsetDST:""},"Africa/Addis_Ababa":{offset:"+03:00",offsetDST:""},"Africa/Asmera":{offset:"+03:00",offsetDST:""},"Africa/Dar_es_Salaam":{offset:"+03:00",offsetDST:""},"Africa/Djibouti":{offset:"+03:00",offsetDST:""},"Africa/Juba":{offset:"+03:00",offsetDST:""},"Africa/Kampala":{offset:"+03:00",offsetDST:""},"Africa/Khartoum":{offset:"+03:00",offsetDST:""},"Africa/Mogadishu":{offset:"+03:00",offsetDST:""},"Africa/Nairobi":{offset:"+03:00",offsetDST:""},"Antarctica/Syowa":{offset:"+03:00",offsetDST:""},"Etc/GMT-3":{offset:"+03:00",offsetDST:""},"Indian/Antananarivo":{offset:"+03:00",offsetDST:""},"Indian/Comoro":{offset:"+03:00",offsetDST:""},"Indian/Mayotte":{offset:"+03:00",offsetDST:""},"Europe/Kirov":{offset:"+03:00",offsetDST:""},"Europe/Moscow":{offset:"+03:00",offsetDST:""},"Europe/Simferopol":{offset:"+03:00",offsetDST:""},"Europe/Volgograd":{offset:"+03:00",offsetDST:""},"Europe/Minsk":{offset:"+03:00",offsetDST:""},"Europe/Astrakhan":{offset:"+04:00",offsetDST:""},"Europe/Samara":{offset:"+04:00",offsetDST:""},"Europe/Ulyanovsk":{offset:"+04:00",offsetDST:""},"Asia/Tehran":{offset:"",offsetDST:"+04:30"},"Asia/Dubai":{offset:"+04:00",offsetDST:""},"Asia/Muscat":{offset:"+04:00",offsetDST:""},"Etc/GMT-4":{offset:"+04:00",offsetDST:""},"Asia/Baku":{offset:"",offsetDST:"+05:00"},"Indian/Mahe":{offset:"+04:00",offsetDST:""},"Indian/Mauritius":{offset:"+04:00",offsetDST:""},"Indian/Reunion":{offset:"+04:00",offsetDST:""},"Asia/Tbilisi":{offset:"+04:00",offsetDST:""},"Asia/Yerevan":{offset:"+04:00",offsetDST:""},"Asia/Kabul":{offset:"+04:30",offsetDST:""},"Antarctica/Mawson":{offset:"+05:00",offsetDST:""},"Asia/Aqtau":{offset:"+05:00",offsetDST:""},"Asia/Aqtobe":{offset:"+05:00",offsetDST:""},"Asia/Ashgabat":{offset:"+05:00",offsetDST:""},"Asia/Dushanbe":{offset:"+05:00",offsetDST:""},"Asia/Oral":{offset:"+05:00",offsetDST:""},"Asia/Samarkand":{offset:"+05:00",offsetDST:""},"Asia/Tashkent":{offset:"+05:00",offsetDST:""},"Etc/GMT-5":{offset:"+05:00",offsetDST:""},"Indian/Kerguelen":{offset:"+05:00",offsetDST:""},"Indian/Maldives":{offset:"+05:00",offsetDST:""},"Asia/Yekaterinburg":{offset:"+05:00",offsetDST:""},"Asia/Karachi":{offset:"+05:00",offsetDST:""},"Asia/Kolkata":{offset:"+05:30",offsetDST:""},"Asia/Calcutta":{offset:"+05:30",offsetDST:""},"Asia/Colombo":{offset:"+05:30",offsetDST:""},"Asia/Kathmandu":{offset:"+05:45",offsetDST:""},"Antarctica/Vostok":{offset:"+06:00",offsetDST:""},"Asia/Almaty":{offset:"+06:00",offsetDST:""},"Asia/Bishkek":{offset:"+06:00",offsetDST:""},"Asia/Qyzylorda":{offset:"+06:00",offsetDST:""},"Asia/Urumqi":{offset:"+06:00",offsetDST:""},"Etc/GMT-6":{offset:"+06:00",offsetDST:""},"Indian/Chagos":{offset:"+06:00",offsetDST:""},"Asia/Dhaka":{offset:"+06:00",offsetDST:""},"Asia/Thimphu":{offset:"+06:00",offsetDST:""},"Asia/Rangoon":{offset:"+06:30",offsetDST:""},"Indian/Cocos":{offset:"+06:30",offsetDST:""},"Antarctica/Davis":{offset:"+07:00",offsetDST:""},"Asia/Bangkok":{offset:"+07:00",offsetDST:""},"Asia/Hovd":{offset:"+07:00",offsetDST:""},"Asia/Jakarta":{offset:"+07:00",offsetDST:""},"Asia/Phnom_Penh":{offset:"+07:00",offsetDST:""},"Asia/Pontianak":{offset:"+07:00",offsetDST:""},"Asia/Saigon":{offset:"+07:00",offsetDST:""},"Asia/Vientiane":{offset:"+07:00",offsetDST:""},"Etc/GMT-7":{offset:"+07:00",offsetDST:""},"Indian/Christmas":{offset:"+07:00",offsetDST:""},"Asia/Novokuznetsk":{offset:"+07:00",offsetDST:""},"Asia/Novosibirsk":{offset:"+07:00",offsetDST:""},"Asia/Omsk":{offset:"+07:00",offsetDST:""},"Asia/Hong_Kong":{offset:"+08:00",offsetDST:""},"Asia/Macau":{offset:"+08:00",offsetDST:""},"Asia/Shanghai":{offset:"+08:00",offsetDST:""},"Asia/Krasnoyarsk":{offset:"+08:00",offsetDST:""},"Asia/Brunei":{offset:"+08:00",offsetDST:""},"Asia/Kuala_Lumpur":{offset:"+08:00",offsetDST:""},"Asia/Kuching":{offset:"+08:00",offsetDST:""},"Asia/Makassar":{offset:"+08:00",offsetDST:""},"Asia/Manila":{offset:"+08:00",offsetDST:""},"Asia/Singapore":{offset:"+08:00",offsetDST:""},"Etc/GMT-8":{offset:"+08:00",offsetDST:""},"Antarctica/Casey":{offset:"+08:00",offsetDST:""},"Australia/Perth":{offset:"+08:00",offsetDST:""},"Asia/Taipei":{offset:"+08:00",offsetDST:""},"Asia/Choibalsan":{offset:"+08:00",offsetDST:""},"Asia/Ulaanbaatar":{offset:"+08:00",offsetDST:""},"Asia/Irkutsk":{offset:"+08:00",offsetDST:""},"Asia/Dili":{offset:"+09:00",offsetDST:""},"Asia/Jayapura":{offset:"+09:00",offsetDST:""},"Asia/Tokyo":{offset:"+09:00",offsetDST:""},"Etc/GMT-9":{offset:"+09:00",offsetDST:""},"Pacific/Palau":{offset:"+09:00",offsetDST:""},"Asia/Pyongyang":{offset:"+09:00",offsetDST:""},"Asia/Seoul":{offset:"+09:00",offsetDST:""},"Australia/Adelaide":{offset:"+09:30",offsetDST:""},"Australia/Broken_Hill":{offset:"+09:30",offsetDST:""},"Australia/Darwin":{offset:"+09:30",offsetDST:""},"Australia/Brisbane":{offset:"+10:00",offsetDST:""},"Australia/Lindeman":{offset:"+10:00",offsetDST:""},"Australia/Melbourne":{offset:"+10:00",offsetDST:""},"Australia/Sydney":{offset:"+10:00",offsetDST:""},"Antarctica/DumontDUrville":{offset:"+10:00",offsetDST:""},"Etc/GMT-10":{offset:"+10:00",offsetDST:""},"Pacific/Guam":{offset:"+10:00",offsetDST:""},"Pacific/Port_Moresby":{offset:"+10:00",offsetDST:""},"Pacific/Saipan":{offset:"+10:00",offsetDST:""},"Pacific/Truk":{offset:"+10:00",offsetDST:""},"Australia/Currie":{offset:"+10:00",offsetDST:""},"Australia/Hobart":{offset:"+10:00",offsetDST:""},"Asia/Chita":{offset:"+09:00",offsetDST:""},"Asia/Khandyga":{offset:"+09:00",offsetDST:""},"Asia/Yakutsk":{offset:"+09:00",offsetDST:""},"Antarctica/Macquarie":{offset:"+11:00",offsetDST:""},"Etc/GMT-11":{offset:"+11:00",offsetDST:""},"Pacific/Efate":{offset:"+11:00",offsetDST:""},"Pacific/Guadalcanal":{offset:"+11:00",offsetDST:""},"Pacific/Kosrae":{offset:"+11:00",offsetDST:""},"Pacific/Noumea":{offset:"+11:00",offsetDST:""},"Pacific/Ponape":{offset:"+11:00",offsetDST:""},"Asia/Sakhalin":{offset:"+11:00",offsetDST:""},"Asia/Ust-Nera":{offset:"+11:00",offsetDST:""},"Asia/Vladivostok":{offset:"+11:00",offsetDST:""},"Antarctica/McMurdo":{offset:"+12:00",offsetDST:""},"Pacific/Auckland":{offset:"+12:00",offsetDST:""},"Etc/GMT-12":{offset:"+12:00",offsetDST:""},"Pacific/Funafuti":{offset:"+12:00",offsetDST:""},"Pacific/Kwajalein":{offset:"+12:00",offsetDST:""},"Pacific/Majuro":{offset:"+12:00",offsetDST:""},"Pacific/Nauru":{offset:"+12:00",offsetDST:""},"Pacific/Tarawa":{offset:"+12:00",offsetDST:""},"Pacific/Wake":{offset:"+12:00",offsetDST:""},"Pacific/Wallis":{offset:"+12:00",offsetDST:""},"Pacific/Fiji":{offset:"+12:00",offsetDST:""},"Asia/Anadyr":{offset:"+12:00",offsetDST:""},"Asia/Kamchatka":{offset:"+12:00",offsetDST:"+13:00"},"Asia/Magadan":{offset:"+12:00",offsetDST:""},"Asia/Srednekolymsk":{offset:"+12:00",offsetDST:""},"Etc/GMT-13":{offset:"+13:00",offsetDST:""},"Pacific/Enderbury":{offset:"+13:00",offsetDST:""},"Pacific/Fakaofo":{offset:"+13:00",offsetDST:""},"Pacific/Tongatapu":{offset:"+13:00",offsetDST:""},"Pacific/Apia":{offset:"+13:00",offsetDST:""}},getNumericalTime=e=>{var[e,t]=e.split(":");return{hour:parseInt(e,10),min:parseInt(t,10)}},validateTimeWindow=(e,t)=>{e=getNumericalTime(e),t=getNumericalTime(t);return!(e.hour>t.hour)&&!(e.hour===t.hour&&e.min>=t.min)},validateAllTimeslots=e=>{for(const t of Object.keys(e))for(const s of e[t])if(!s.isValid)return!1;return!0},DEFAULT_TIMESLOT_TIMES={start:"09:00",end:"17:00"},createTimeslot=(e,t,s,o,r)=>({start:e,end:t,id:s,isValid:o,isConflict:r}),DAYS={labels:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ids:["Su","M","Tu","W","Th","F","Sa"]},getEnabledDays=e=>{const t=[];for(const s of Object.keys(e))e[s].length&&t.push(s);return t},initialTimeslots={Su:[],M:[createTimeslot(DEFAULT_TIMESLOT_TIMES.start,DEFAULT_TIMESLOT_TIMES.end,v4(),!0,!1)],Tu:[],W:[],Th:[],F:[],Sa:[]},isCurrentTimeDST=()=>{const e=new Date;var t=new Date(e.getFullYear(),0,1).getTimezoneOffset(),s=new Date(e.getFullYear(),6,1).getTimezoneOffset();return Math.max(t,s)!==e.getTimezoneOffset()},getTimezoneOffset=e=>{return TIMEZONE_OFFSETS[e]||{offset:"+00:00",offsetDST:"+00:00"}},formatWeeklyPayload=(e,t)=>{const s=[],o=isCurrentTimeDST();var r=e=>{var{offset:e,offsetDST:t}=e;return!e||t&&o?t:e},n=getTimezoneOffset(t);for(const f of Object.keys(e)){var i=DAYS.labels[DAYS.ids.indexOf(f)];for(const u of e[f]){var{start:a,end:c,isValid:l}=u,a={scheduledDay:i,startTime:a+r(n),stopTime:c+r(n)};l&&s.push(a)}}return s},WEEKLY_SCHEDULER_SHARED_TEXT={ui:{invalidTimeslot:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.tooltip.invalid-time-slot",defaultMessage:"This time window is not valid",description:"Processing Center Wizard Schedule Step, UI tooltip for invalid time slot"}),deleteTimeslot:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.tooltip.delete-time-slot",defaultMessage:"Delete time",description:"Processing Center Wizard Schedule Step, UI tooltip for delete time"}),addTimeWindow:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.tooltip.add-time-window",defaultMessage:"Add time window",description:"Processing Center Wizard Schedule Step, UI tooltip for add time window"}),copyTimeToAll:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.text.copy-time-to-all",defaultMessage:"Copy time to all",description:"Processing Center Wizard Schedule Step, UI text for copy time to all"}),copiedTimeToAll:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.text.copied-time-to-all",defaultMessage:"Copied times",description:"Processing Center Wizard Schedule Step, UI text for copied times to all"}),replaceAllDayTimes:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.tooltip.replace-all-day-times",defaultMessage:"This will replace all days selected time",description:"Processing Center Wizard Schedule Step, UI tooltip for replace all days times"}),changeTime:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.text.change-time",defaultMessage:"Change Time",description:"Processing Center Wizard Schedule Step, UI Text for change time"}),chooseLaterTime:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.tooltip.choose-later-time",defaultMessage:"Please select a later time",description:"Processing Center Wizard Schedule Step, UI Text for tooltip - choose later time"}),chooseEarlierTime:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.ui.tooltip.choose-earlier-time",defaultMessage:"Please select an earlier time",description:"Processing Center Wizard Schedule Step, UI Text for tooltip - choose earlier time"})},days:{Su:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.sunday",defaultMessage:"Sunday",description:"Processing Center Wizard Schedule Step, day label for Sunday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.sunday",defaultMessage:"Add Sunday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable Sunday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.sunday",defaultMessage:"Remove all Sunday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable Sunday"})},M:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.monday",defaultMessage:"Monday",description:"Processing Center Wizard Schedule Step, day label for Monday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.monday",defaultMessage:"Add Monday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable monday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.monday",defaultMessage:"Remove all Monday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable monday"})},Tu:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.tuesday",defaultMessage:"Tuesday",description:"Processing Center Wizard Schedule Step, day label for Tuesday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.tuesday",defaultMessage:"Add Tuesday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable tuesday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.tuesday",defaultMessage:"Remove all Tuesday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable tuesday"})},W:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.wednesday",defaultMessage:"Wednesday",description:"Processing Center Wizard Schedule Step, day label for wednesday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.wednesday",defaultMessage:"Add Wednesday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable wednesday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.wednesday",defaultMessage:"Remove all Wednesday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable wednesday"})},Th:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.thursday",defaultMessage:"Thursday",description:"Processing Center Wizard Schedule Step, day label for Thursday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.thursday",defaultMessage:"Add Thursday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable thursday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.thursday",defaultMessage:"Remove all Thursday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable thursday"})},F:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.friday",defaultMessage:"Friday",description:"Processing Center Wizard Schedule Step, day label for Friday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.friday",defaultMessage:"Add Friday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable friday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.friday",defaultMessage:"Remove all Friday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable friday"})},Sa:{label:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.day.label.saturday",defaultMessage:"Saturday",description:"Processing Center Wizard Schedule Step, day label for Saturday"}),enable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.enable.saturday",defaultMessage:"Add Saturday time",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, enable saturday"}),disable:jsxRuntime.exports.jsx(FormattedMessage,{id:"pc-ingestion-wizard-schedule.weekly-day-bubble.tooltip.disable.saturday",defaultMessage:"Remove all Saturday times",description:"Processing Center Wizard Schedule Step, weekly bubbles tooltip, disable saturday"})}}},DayBubble=({day:e,enabled:t,onClick:s})=>{var o=useStyles$3()["classes"],o=o.dayBubble+" "+(t?"enabled":"disabled"),t=t?WEEKLY_SCHEDULER_SHARED_TEXT.days[e].disable:WEEKLY_SCHEDULER_SHARED_TEXT.days[e].enable;return jsxRuntime.exports.jsx(Tooltip$1,Object.assign({title:t},{children:jsxRuntime.exports.jsx("div",Object.assign({onClick:s,className:o},{children:e}))}))},TimeDropdown=({time:e,onChange:s,min:t,max:o,showTooltip:r})=>{var n=useStyles$3()["classes"];return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Tooltip$1,Object.assign({title:r?WEEKLY_SCHEDULER_SHARED_TEXT.ui.changeTime:""},{children:jsxRuntime.exports.jsx("input",{"data-testid":"pc-wizard-schedule-weekly-timeslot",value:e,name:o?"start":"end",min:t||void 0,max:o||void 0,className:n.inputTime,type:"time",onChange:e=>{var{value:e,name:t}=e.target;s(e,t)}})}))})},TimeStartEndField=({timeslot:e,showDelete:t,day:o,onDelete:s,onChangeTime:r})=>{var n=useStyles$3()["classes"];const{id:i,start:a,end:c,isValid:l}=e;var e=n.timeslotMenu+" "+(l?"":"is-invalid"),f=(e,t)=>{let s;s="start"===t?createTimeslot(e,c,i,validateTimeWindow(e,c),!1):createTimeslot(a,e,i,validateTimeWindow(a,e),!1),r(o,i,s)};return jsxRuntime.exports.jsx(Tooltip$1,Object.assign({title:l?"":WEEKLY_SCHEDULER_SHARED_TEXT.ui.invalidTimeslot},{children:jsxRuntime.exports.jsxs("div",Object.assign({className:e},{children:[jsxRuntime.exports.jsx(TimeDropdown,{time:a,onChange:f,max:c,showTooltip:l}),jsxRuntime.exports.jsx("span",{children:"to"}),jsxRuntime.exports.jsx(TimeDropdown,{time:c,onChange:f,min:a,showTooltip:l}),t&&jsxRuntime.exports.jsx("div",Object.assign({className:n.timeslotDelete},{children:jsxRuntime.exports.jsx(Tooltip$1,Object.assign({enterDelay:0,title:WEEKLY_SCHEDULER_SHARED_TEXT.ui.deleteTimeslot},{children:jsxRuntime.exports.jsx(IconButton$1,Object.assign({onClick:()=>{s(o,i)},"data-testid":"pc-wizard-schedule-weekly-timeslot-button-delete"},{children:jsxRuntime.exports.jsx(Delete,{})}))}))}))]}))}))},TimeRowHoverActions=({onAdd:e,onCopyToAll:t,day:s})=>{var o=useStyles$3()["classes"];const[r,n]=react.exports.useState(!1);return react.exports.useEffect(()=>{r&&(t(s),setTimeout(()=>{n(!1)},1e3))},[r]),jsxRuntime.exports.jsxs("div",Object.assign({className:o.rowActions},{children:[jsxRuntime.exports.jsx(Tooltip$1,Object.assign({enterDelay:0,title:WEEKLY_SCHEDULER_SHARED_TEXT.ui.addTimeWindow},{children:jsxRuntime.exports.jsx(IconButton$1,Object.assign({onClick:()=>e(s),"data-testid":"pc-wizard-schedule-weekly-timeslot-add-new"},{children:jsxRuntime.exports.jsx(AddCircleOutline,{sx:{color:"#1871E8"}})}))})),jsxRuntime.exports.jsx("div",{className:o.rowDivider}),jsxRuntime.exports.jsxs("div",Object.assign({className:o.rowCopyToAll},{children:[jsxRuntime.exports.jsx(Tooltip$1,Object.assign({enterDelay:0,title:WEEKLY_SCHEDULER_SHARED_TEXT.ui.replaceAllDayTimes},{children:jsxRuntime.exports.jsxs(IconButton$1,Object.assign({onClick:()=>n(!0),"data-testid":"pc-wizard-schedule-weekly-timeslot-copy-to-all"},{children:[!r&&jsxRuntime.exports.jsx(ContentCopy,{sx:{color:"#1871E8"}}),r&&jsxRuntime.exports.jsx(CheckCircle,{sx:{color:"#40c057"}})]}))})),jsxRuntime.exports.jsxs(Typography$2,Object.assign({sx:{color:r?"#40c057":"#1871E8"}},{children:[!r&&WEEKLY_SCHEDULER_SHARED_TEXT.ui.copyTimeToAll,r&&WEEKLY_SCHEDULER_SHARED_TEXT.ui.copiedTimeToAll]}))]}))]}))},DayTimeslotsRow=({day:s,enabled:e,timeslots:t,onAdd:o,onDelete:r,onChangeTime:n,onCopyToAll:i})=>{const a=useStyles$3()["classes"];var c=WEEKLY_SCHEDULER_SHARED_TEXT.days[s].label;if(!e)return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{});return jsxRuntime.exports.jsxs("div",Object.assign({className:a.timeslotRow},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:a.timeslotDayLabel},{children:jsxRuntime.exports.jsx(Typography$2,{children:c})})),jsxRuntime.exports.jsx(()=>jsxRuntime.exports.jsx("div",Object.assign({className:a.timeslotList},{children:t.map((e,t)=>jsxRuntime.exports.jsx(TimeStartEndField,{day:s,timeslot:e,showDelete:0!==t,onDelete:r,onChangeTime:n},t))})),{}),jsxRuntime.exports.jsx(TimeRowHoverActions,{onAdd:o,onCopyToAll:i,day:s})]}))},DayTimeslotsContainer=({enabledDays:s,timeslots:o,onAdd:r,onDelete:n,onChangeTime:i,onCopyToAll:a})=>{var e=useStyles$3()["classes"];return jsxRuntime.exports.jsx("div",Object.assign({className:e.timeslotsWidgetContainer},{children:DAYS.ids.map((e,t)=>jsxRuntime.exports.jsx(DayTimeslotsRow,{day:e,timeslots:o[e],enabled:s.includes(e),onAdd:r,onDelete:n,onChangeTime:i,onCopyToAll:a},t))}))},WeeklyScheduler=({onValidateInputs:e,onChange:t,isEnabled:s})=>{var o=useStyles$3()["classes"];const[r,n]=react.exports.useState(lodash.exports.cloneDeep(initialTimeslots));return react.exports.useEffect(()=>{e(validateAllTimeslots(r)),t(r)},[r]),s?jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsxs("div",Object.assign({className:o.container},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:o.dayBubblesContainer},{children:DAYS.ids.map((e,t)=>jsxRuntime.exports.jsx(DayBubble,{day:e,enabled:getEnabledDays(r).includes(e),onClick:()=>{var s=e;getEnabledDays(r).includes(s)?1!==getEnabledDays(r).length&&n(e=>{const t=lodash.exports.cloneDeep(e);return t[s]=[],t}):n(e=>{const t=lodash.exports.cloneDeep(e);return t[s]=[createTimeslot(DEFAULT_TIMESLOT_TIMES.start,DEFAULT_TIMESLOT_TIMES.end,v4(),!0,!1)],t})}},t))})),jsxRuntime.exports.jsx(DayTimeslotsContainer,{enabledDays:getEnabledDays(r),timeslots:r,onAdd:s=>{n(e=>{const t=lodash.exports.cloneDeep(e);return t[s]=lodash.exports.cloneDeep(t[s]),t[s].push(createTimeslot(DEFAULT_TIMESLOT_TIMES.start,DEFAULT_TIMESLOT_TIMES.end,v4(),!0,!1)),t})},onDelete:(s,o)=>{n(e=>{const t=lodash.exports.cloneDeep(e);return t[s]=t[s].filter(e=>{e=e.id;return!(o===e)}),t})},onChangeTime:(s,o,r)=>{n(e=>{const t=lodash.exports.cloneDeep(e);return t[s]=t[s].map(e=>{var t=e["id"];return o===t?Object.assign(Object.assign(Object.assign({},e),r),{id:o}):e}),t})},onCopyToAll:o=>{n(e=>{const t=lodash.exports.cloneDeep(e);for(const s of Object.keys(t))t[s].length&&(t[s]=lodash.exports.cloneDeep(t[o]));return t})}})]}))}):null},ScheduleStep=({activeEngine:e})=>{var t=makeStyles()(e=>({container:{display:"flex",flexDirection:"column",gap:"25px"}}))()["classes"];const s=useDispatch();var o=useSelector(selectSourceSelected),o=null==(o=null==o?void 0:o.details)?void 0:o.liveTimezone,r=o||Intl.DateTimeFormat().resolvedOptions().timeZone;const[n,i]=react.exports.useState(r),a="Weekly"===useSelector(selectFrequency),[c,l]=react.exports.useState(),[f,u]=react.exports.useState(!0);var r=!a||f,d=react.exports.useCallback(e=>{e!==n&&i(e)},[n]),p=react.exports.useCallback(e=>{l(e)},[n]);return react.exports.useEffect(()=>{var e;c&&a?(e=lodash.exports.cloneDeep(formatWeeklyPayload(c,n)),s(actions$3.setWeeklyScheduleParts(e))):s(actions$3.clearWeeklyScheduleParts())},[c,n,a]),jsxRuntime.exports.jsxs("div",Object.assign({className:t.container},{children:[jsxRuntime.exports.jsx(FrequencySchedular,{activeEngine:e}),jsxRuntime.exports.jsx(WeeklyScheduler,{isEnabled:a,onChange:p,onValidateInputs:e=>u(e)}),jsxRuntime.exports.jsx(TimezonePicker,{timezone:n,allowEdit:!o,onChange:d}),jsxRuntime.exports.jsx(PanelControls,{disableNext:!r,invalidFields:!r,disableBack:!1})]}))},useStyles$2=makeStyles()(e=>({contentTemplatesWrapper:{height:"calc(100vh - 300px)",overflow:"hidden"},contentTemplatesWidget:{height:"calc(100% - 24px)"}})),ContentTemplatesStep=()=>{var e=useStyles$2()["classes"];const t=useSelector(selectContentTemplatesToSave),s=Object.keys(t||{}).map(e=>t[e]);var o=0===s.length,r=s.every(e=>!e.touched||e.submitted&&!e.errors),n=o?ENextButtonType.SKIP:ENextButtonType.NEXT,o=o||r;return jsxRuntime.exports.jsxs("div",Object.assign({className:e.contentTemplatesWrapper},{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"body1"},{children:SHARED_TEXT.ingestionJobsWizard.stepLabels.contentTemplates()})),jsxRuntime.exports.jsx("div",Object.assign({className:e.contentTemplatesWidget},{children:jsxRuntime.exports.jsx(ContentTemplates,{existingTemplates:[]})})),jsxRuntime.exports.jsx(PanelControls,{disableNext:!o,disableBack:!1,nextButtonType:n})]}))},visuallyHidden={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var visuallyHidden$1=visuallyHidden;const useStyles$1=makeStyles()((e,{height:t})=>({header:{alignItems:"center",borderBottom:"0.5px solid "+e.palette.divider,display:"flex",justifyContent:"space-between",height:t,padding:e.spacing(2,2,2,6)},headerNoBorder:{alignItems:"center",borderBottom:"0.5px solid transparent",display:"flex",justifyContent:"space-between",height:t,padding:e.spacing(0,0,0,6)},marginRight:{marginRight:e.spacing(2)},navigationToggle:{marginRight:e.spacing(1)},headerActionContainer:{alignItems:"center",display:"flex",flexGrow:1,height:"100%",justifyContent:"flex-end"},verticalDivider:{borderRight:".5px solid "+e.palette.divider,height:"70%",margin:"0 "+e.spacing(1)},title:{userSelect:"none",fontStyle:"normal",fontSize:"18px",lineHeight:e.spacing(5),letterSpacing:"0.25px",textTransform:"uppercase",color:e.palette.text.secondary}})),stepperStyles=makeStyles()(e=>({container:{padding:"20px",borderBottom:"1px solid #D5DFE9"},step:{"& svg":{fontSize:"37px",fill:"#465364"},"& text":{fontSize:"10px",translate:"0px -1px"}},previousStep:{"&+.MuiStepConnector-horizontal":{display:"none"},"& svg":{border:"2px solid white",borderRadius:"50%"},"&:not(.is-first-step)":{}},futureStep:{"& svg":{fill:"transparent!important",border:"1px solid",borderRadius:"50%"},"& text":{fill:"#5C6269"},"&:not(.is-last-step)":{}},hiddenStep:{paddingRight:"0","& svg":{fill:"#F2F5F9!important",border:"2px solid white",color:"#5C6269",fontSize:"32px"},"& text":{fill:"#5C6269"},"&+.MuiStepConnector-horizontal":{display:"none"}}})),PanelHeader=({height:e,onPanelClose:t,activeStep:c,steps:l})=>{e=useStyles$1({height:e}).classes;const f=stepperStyles()["classes"];return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs("header",Object.assign({className:e.header,"data-testid":"os-pc-ingestion-wizard-close-panel-header"},{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({variant:"h1","data-testid":"os-pc-ingestion-wizard-close-panel-title",className:e.title},{children:SHARED_TEXT.ingestionJobsWizard.panelHeader()})),jsxRuntime.exports.jsxs("div",Object.assign({className:e.headerActionContainer},{children:[jsxRuntime.exports.jsx(Typography$2,Object.assign({style:visuallyHidden$1,id:"os-pc-ingestion-wizard-close-panel"},{children:SHARED_TEXT.ingestionJobsWizard.closePanel()})),jsxRuntime.exports.jsx(Tooltip$1,Object.assign({title:SHARED_TEXT.ingestionJobsWizard.closePanel()},{children:jsxRuntime.exports.jsx(IconButton$1,Object.assign({onClick:t,"aria-labelledby":"os-pc-ingestion-wizard-close-panel","data-testid":"os-pc-ingestion-wizard-close-panel",size:"large"},{children:jsxRuntime.exports.jsx(Hide,{})}))}))]}))]})),jsxRuntime.exports.jsx("div",Object.assign({className:f.container},{children:jsxRuntime.exports.jsx(Stepper,Object.assign({activeStep:c},{children:l.map((e,t)=>{var{stepNumber:e,label:s,completed:o}=e,r=Math.abs(e-c)<2,n=0===e,i=e===l.length-1,a=e<c,e=c<e,e=`${f.step} ${e?f.futureStep:""} ${a?f.previousStep:""} ${r||a?"":f.hiddenStep} ${n?"is-first-step":""} `+(i?"is-last-step":"");return jsxRuntime.exports.jsx(Step,Object.assign({className:e,completed:o},{children:jsxRuntime.exports.jsx(StepLabel,{children:r&&s})}),t)})}))}))]})},useStyles=makeStyles()(e=>({panelContainer:{padding:"30px",maxHeight:"80vh",overflowY:"scroll"}})),IngestionJobsWizard=t=>{var e=useStyles()["classes"];const s=useDispatch();react.exports.useEffect(()=>{s(actions$5.setActiveEngine(t.activeEngine))},[t.activeEngine]);var o=[{stepNumber:0,completed:!1,label:SHARED_TEXT.ingestionJobsWizard.stepLabels.selectSource()},{stepNumber:1,completed:!1,label:SHARED_TEXT.ingestionJobsWizard.stepLabels.basicInfo()},{stepNumber:2,completed:!1,label:SHARED_TEXT.ingestionJobsWizard.stepLabels.schedule()},{stepNumber:3,completed:!1,label:SHARED_TEXT.ingestionJobsWizard.stepLabels.processing()},{stepNumber:4,completed:!1,label:SHARED_TEXT.ingestionJobsWizard.stepLabels.contentTemplates()},{stepNumber:5,completed:!1,label:SHARED_TEXT.ingestionJobsWizard.stepLabels.location()}];const r=useSelector(selectActiveStep),n=({label:e})=>jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx("h3",{children:e}),jsxRuntime.exports.jsx(PanelControls,{disableNext:!1,disableBack:!1})]});return jsxRuntime.exports.jsxs("div",Object.assign({style:{height:"700px"}},{children:[jsxRuntime.exports.jsx(PanelHeader,{steps:o,activeStep:r,height:64,onPanelClose:()=>s(hidePanel("PROCESSING_CENTER_INGESTION"))}),jsxRuntime.exports.jsx("div",Object.assign({className:e.panelContainer},{children:(()=>{var e;switch(r){case 0:return jsxRuntime.exports.jsx(SelectSourceStep,{sourceTypeIds:null==(e=null==t?void 0:t.activeEngine)?void 0:e.supportedSourceTypes});case 1:return jsxRuntime.exports.jsx(BasicInfoStep,{activeEngine:null==t?void 0:t.activeEngine});case 2:return jsxRuntime.exports.jsx(ScheduleStep,{activeEngine:null==t?void 0:t.activeEngine});case 3:return jsxRuntime.exports.jsx(n,{label:"Processing"});case 4:return jsxRuntime.exports.jsx(ContentTemplatesStep,{});case 5:return jsxRuntime.exports.jsx(n,{label:"Location"})}return null})()}))]}))},ProcessingCenterIngestion=e=>(useDispatch(),jsxRuntime.exports.jsx(CacheProvider,Object.assign({value:muiCache},{children:jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(lib.DynamicModuleLoader,Object.assign({modules:[getProcessingCenterIngestionModule(),getProcessingCenterContentTemplatesModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(IngestionJobsWizard,Object.assign({},e))})}))})}))),ProcessingCenterAdvancedSettings=e=>{const t=e["hidePanel"],s=useDispatch(),o=["1","5","15","30","45","60"];var e=useSelector(selectMediaChunkLength)||"15",r=useSelector(selectClusters);const n=useSelector(selectClusterSelected),[i,a]=react.exports.useState(null),[c,l]=react.exports.useState(e);e=useSelector(selectClustersError);const f=useSelector(selectClustersIsLoading);react.exports.useEffect(()=>{s(actions$4.clustersSearchStart())},[]),react.exports.useEffect(()=>{f||a(n||null)},[f,n]);return jsxRuntime.exports.jsxs(Box,Object.assign({sx:{marginLeft:"30px"}},{children:[jsxRuntime.exports.jsx(FormControl$1,Object.assign({sx:{marginTop:"30px"},fullWidth:!0},{children:!f&&!e&&jsxRuntime.exports.jsx(Autocomplete,{value:i,onChange:(e,t)=>{a(t)},sx:{width:"320px"},options:r,getOptionLabel:e=>e?e.name:"",renderInput:e=>jsxRuntime.exports.jsx(TextField$1,Object.assign({},e,{InputLabelProps:{shrink:!0},label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.advanced.clusterLabel",defaultMessage:"Cluster",description:"text for cluster label"})})),renderOption:(e,t)=>react.exports.createElement("div",Object.assign({},e,{key:t.id,"data-test":"processing-center-ingestion-cluster-item-"+t.id}),jsxRuntime.exports.jsx(Typography$2,Object.assign({noWrap:!0},{children:t.name})))})})),jsxRuntime.exports.jsxs(FormControl$1,Object.assign({sx:{marginTop:"30px"},fullWidth:!0},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({id:"ingestion-media-chunk-length-label"},{children:"Media Chunk Length"})),jsxRuntime.exports.jsx(Select$2,Object.assign({sx:{width:"320px"},labelId:"ingestion-media-chunk-length-label",id:"ingestion-media-chunk-length","data-test":"ingestion-media-chunk-length-select",value:c,label:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.advanced.mediaChunkLabel",defaultMessage:"Media Chunk Length",description:"text for media chunk label"}),onChange:e=>{e=e.target.value;l(e)}},{children:[o.map(e=>jsxRuntime.exports.jsxs(MenuItem$2,Object.assign({value:e},{children:[e," ",jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.advanced.minutes",defaultMessage:"Minutes",description:"text for minutes"})]}),e))]}))]})),jsxRuntime.exports.jsxs("div",Object.assign({style:{position:"fixed",bottom:"30px",right:"110px",display:"flex",flexDirection:"row"}},{children:[jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"os-processing-center-ingestion-advanced-cancelbutton",sx:{color:"#2A323C"},onClick:()=>s(t())},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.advanced.cancelbutton",defaultMessage:"Cancel",description:"cancel button text"})})),jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"os-processing-center-ingestion-advanced-savebutton",onClick:()=>{i&&s(actions$4.setSelectedCluster(i)),s(actions$4.setMediaChunkLength(c)),s(t())},variant:"contained",disabled:!i},{children:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-processing-center-ingestion.advanced.savebutton",defaultMessage:"Save",description:"Save button text"})}))]}))]}))};export{ProcessingCenterAdvancedSettings,ProcessingCenterIngestion};
|