@3sc/common-component 0.0.41 → 0.0.42

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/dist/index.umd.js CHANGED
@@ -245,7 +245,7 @@ const theme2 = createTheme({ palette: {
245
245
  `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&Zx[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Id=Symbol("internals");function cr(e){return e&&String(e).trim().toLowerCase()}function No(e){return e===!1||e==null?e:$.isArray(e)?e.map(No):String(e)}function Yx(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Jx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function As(e,t,n,r,o){if($.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function qx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Qx(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}class wo{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(l,c,u){const d=cr(c);if(!d)throw new Error("header name must be a non-empty string");const p=$.findKey(o,d);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=No(l))}const a=(l,c)=>$.forEach(l,(u,d)=>s(u,d,c));return $.isPlainObject(t)||t instanceof this.constructor?a(t,n):$.isString(t)&&(t=t.trim())&&!Jx(t)?a(Ux(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=cr(t),t){const r=$.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Yx(o);if($.isFunction(n))return n.call(this,o,r);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=cr(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||As(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=cr(a),a){const l=$.findKey(r,a);l&&(!n||As(r,r[l],l,n))&&(delete r[l],o=!0)}}return $.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||As(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return $.forEach(this,(o,s)=>{const a=$.findKey(r,s);if(a){n[a]=No(o),delete n[s];return}const l=t?qx(s):String(s).trim();l!==s&&delete n[s],n[l]=No(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
246
246
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Id]=this[Id]={accessors:{}}).accessors,o=this.prototype;function s(a){const l=cr(a);r[l]||(Qx(o,a),r[l]=!0)}return $.isArray(t)?t.forEach(s):s(t),this}}wo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(wo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),$.freezeMethods(wo);const jt=wo;function Ns(e,t){const n=this||Os,r=t||n,o=jt.from(r.headers);let s=r.data;return $.forEach(e,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Ed(e){return!!(e&&e.__CANCEL__)}function ur(e,t,n){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(ur,Ce,{__CANCEL__:!0});function Kx(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const e1=Dt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const a=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$.isString(r)&&a.push("path="+r),$.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function t1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function n1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Td(e,t){return e&&!t1(t)?n1(e,t):t}const r1=Dt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const l=$.isString(a)?o(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function o1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function i1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[s];a||(a=u),n[o]=c,r[o]=u;let p=s,m=0;for(;p!==o;)m+=n[p++],p=p%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a<t)return;const h=d&&u-d;return h?Math.round(m*1e3/h):void 0}}function Sd(e,t){let n=0;const r=i1(50,250);return o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-n,c=r(l),u=s<=a;n=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const ws={http:Mx,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){let o=e.data;const s=jt.from(e.headers).normalize();let{responseType:a,withXSRFToken:l}=e,c;function u(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if($.isFormData(o)){if(Dt.hasStandardBrowserEnv||Dt.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[g,...f]=d?d.split(";").map(y=>y.trim()).filter(Boolean):[];s.setContentType([g||"multipart/form-data",...f].join("; "))}}let p=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(g+":"+f))}const m=Td(e.baseURL,e.url);p.open(e.method.toUpperCase(),hd(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout;function h(){if(!p)return;const g=jt.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:g,config:e,request:p};Kx(function(T){n(T),u()},function(T){r(T),u()},y),p=null}if("onloadend"in p?p.onloadend=h:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(h)},p.onabort=function(){p&&(r(new Ce("Request aborted",Ce.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new Ce("Network Error",Ce.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let f=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const y=e.transitional||yd;e.timeoutErrorMessage&&(f=e.timeoutErrorMessage),r(new Ce(f,y.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,p)),p=null},Dt.hasStandardBrowserEnv&&(l&&$.isFunction(l)&&(l=l(e)),l||l!==!1&&r1(m))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&e1.read(e.xsrfCookieName);g&&s.set(e.xsrfHeaderName,g)}o===void 0&&s.setContentType(null),"setRequestHeader"in p&&$.forEach(s.toJSON(),function(f,y){p.setRequestHeader(y,f)}),$.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),a&&a!=="json"&&(p.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&p.addEventListener("progress",Sd(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",Sd(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=g=>{p&&(r(!g||g.type?new ur(null,e,p):g),p.abort(),p=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const b=o1(m);if(b&&Dt.protocols.indexOf(b)===-1){r(new Ce("Unsupported protocol "+b+":",Ce.ERR_BAD_REQUEST,e));return}p.send(o||null)})}};$.forEach(ws,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Rd=e=>`- ${e}`,s1=e=>$.isFunction(e)||e===null||e===!1,Od={getAdapter:e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!s1(n)&&(r=ws[(a=String(n)).toLowerCase()],r===void 0))throw new Ce(`Unknown adapter '${a}'`);if(r)break;o[a||"#"+s]=r}if(!r){const s=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
247
247
  `+s.map(Rd).join(`
248
- `):" "+Rd(s[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ws};function Ps(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ur(null,e)}function Ad(e){return Ps(e),e.headers=jt.from(e.headers),e.data=Ns.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Od.getAdapter(e.adapter||Os.adapter)(e).then(function(r){return Ps(e),r.data=Ns.call(e,e.transformResponse,r),r.headers=jt.from(r.headers),r},function(r){return Ed(r)||(Ps(e),r&&r.response&&(r.response.data=Ns.call(e,e.transformResponse,r.response),r.response.headers=jt.from(r.response.headers))),Promise.reject(r)})}const Nd=e=>e instanceof jt?e.toJSON():e;function Dn(e,t){t=t||{};const n={};function r(u,d,p){return $.isPlainObject(u)&&$.isPlainObject(d)?$.merge.call({caseless:p},u,d):$.isPlainObject(d)?$.merge({},d):$.isArray(d)?d.slice():d}function o(u,d,p){if($.isUndefined(d)){if(!$.isUndefined(u))return r(void 0,u,p)}else return r(u,d,p)}function s(u,d){if(!$.isUndefined(d))return r(void 0,d)}function a(u,d){if($.isUndefined(d)){if(!$.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,p){if(p in t)return r(u,d);if(p in e)return r(void 0,u)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,d)=>o(Nd(u),Nd(d),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=c[d]||o,m=p(e[d],t[d],d);$.isUndefined(m)&&p!==l||(n[d]=m)}),n}const wd="1.6.5",Fs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pd={};Fs.transitional=function(t,n,r){function o(s,a){return"[Axios v"+wd+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,l)=>{if(t===!1)throw new Ce(o(a," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!Pd[a]&&(Pd[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};function a1(e,t,n){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=t[s];if(a){const l=e[s],c=l===void 0||a(l,s,e);if(c!==!0)throw new Ce("option "+s+" must be "+c,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+s,Ce.ERR_BAD_OPTION)}}const Ds={assertOptions:a1,validators:Fs},Qt=Ds.validators;class Po{constructor(t){this.defaults=t,this.interceptors={request:new vd,response:new vd}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ds.assertOptions(r,{silentJSONParsing:Qt.transitional(Qt.boolean),forcedJSONParsing:Qt.transitional(Qt.boolean),clarifyTimeoutError:Qt.transitional(Qt.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:Ds.assertOptions(o,{encode:Qt.function,serialize:Qt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&$.merge(s.common,s[n.method]);s&&$.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),n.headers=jt.concat(a,s);const l=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,p=0,m;if(!c){const b=[Ad.bind(this),void 0];for(b.unshift.apply(b,l),b.push.apply(b,u),m=b.length,d=Promise.resolve(n);p<m;)d=d.then(b[p++],b[p++]);return d}m=l.length;let h=n;for(p=0;p<m;){const b=l[p++],g=l[p++];try{h=b(h)}catch(f){g.call(this,f);break}}try{d=Ad.call(this,h)}catch(b){return Promise.reject(b)}for(p=0,m=u.length;p<m;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=Dn(this.defaults,t);const n=Td(t.baseURL,t.url);return hd(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){Po.prototype[t]=function(n,r){return this.request(Dn(r||{},{method:t,url:n,data:(r||{}).data}))}}),$.forEach(["post","put","patch"],function(t){function n(r){return function(s,a,l){return this.request(Dn(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}Po.prototype[t]=n(),Po.prototype[t+"Form"]=n(!0)});const Fo=Po;class ks{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,l){r.reason||(r.reason=new ur(s,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ks(function(o){t=o}),cancel:t}}}const l1=ks;function c1(e){return function(n){return e.apply(null,n)}}function u1(e){return $.isObject(e)&&e.isAxiosError===!0}const Bs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bs).forEach(([e,t])=>{Bs[t]=e});const d1=Bs;function Fd(e){const t=new Fo(e),n=td(Fo.prototype.request,t);return $.extend(n,Fo.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Fd(Dn(e,o))},n}const We=Fd(Os);We.Axios=Fo,We.CanceledError=ur,We.CancelToken=l1,We.isCancel=Ed,We.VERSION=wd,We.toFormData=Ao,We.AxiosError=Ce,We.Cancel=We.CanceledError,We.all=function(t){return Promise.all(t)},We.spread=c1,We.isAxiosError=u1,We.mergeConfig=Dn,We.AxiosHeaders=jt,We.formToJSON=e=>xd($.isHTMLForm(e)?new FormData(e):e),We.getAdapter=Od.getAdapter,We.HttpStatusCode=d1,We.default=We;const Ms={NOTIFICATION:"/notifications"},js={BASE_URL:"https://scai-qa-api.3sc.ai",VERSION:"/v1"},Vs=e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):""},Dd=e=>{const t=new Date(e),n={year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0};return t.toLocaleString("en-US",n)},$s=e=>e.sort((n,r)=>{let o=new Date(n.createdAt),s=new Date(r.createdAt);return o===s?0:o>s?-1:1}).sort((n,r)=>n.isRead===r.isRead?0:r.isRead?-1:1),p1=e=>{let t=0;for(let n=0;n<e.length;n++)e[n].isRead||t++;return t},f1=e=>{const t=[];return e.forEach(n=>{n.isRead||t.push(n.id)}),t},kd=(e,t,n)=>e.filter(o=>t.some(s=>{var a,l,c;return(c=(a=o[s])==null?void 0:a.toLowerCase())==null?void 0:c.includes((l=n==null?void 0:n.trim())==null?void 0:l.toLowerCase())})),m1=(e,t,n)=>e.sort((o,s)=>n==="asc"?o[t].toLowerCase().localeCompare(s[t].toLowerCase()):s[t].toLowerCase().localeCompare(o[t].toLowerCase())),dr=(e,t,n)=>e.slice((t-1)*n,t*n),Ls=e=>e.split("_").map(t=>t[0].toUpperCase()+t.substring(1)).join(" "),kn=Vs(ys.USER),Ws=Vs(ys.SNOP),Bd={TOKEN:Vs(ys.TOKEN),BU_IDS:kn==null?void 0:kn.business_unit_id,TENANT_IDS:kn==null?void 0:kn.tenant_id,SNOP_IDS:Ws==null?void 0:Ws.snop_id},Do={headers:{"Content-Type":"application/json",Authorization:`${Qu.BEARER} ${Bd.TOKEN}`}},Md=We.create({baseURL:js.BASE_URL,axiosConfig:Do});Md.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),Md.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)});const{TENANT_ID:_s,BU_ID:Gs,SNOP_ID:zs}=Qu,{TENANT_IDS:Hs,BU_IDS:Xs,SNOP_IDS:Zs}=Bd,g1=async e=>{try{const t=`${e}${Ms.NOTIFICATION}/v1?${_s}=${Hs}&${Gs}=${Xs}&${zs}=${Zs}`;return await We.get(t,Do)}catch(t){return t}},jd=async(e,t)=>{try{const n=`${e}${Ms.NOTIFICATION}${js.VERSION}?${_s}=${Hs}&${Gs}=${Xs}&${zs}=${Zs}`;return await We.put(n,t,Do)}catch(n){return n}},b1=async({baseUrl:e,id:t})=>{try{const n=`${e}${Ms.NOTIFICATION}${js.VERSION}?${_s}=${Hs}&${Gs}=${Xs}&${zs}=${Zs}&id=${t}`;return await We.get(n,Do)}catch(n){return n}},ko={OK:200,CREATED:201,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,INTERNAL_SERVER_ERROR:500},Us=({type:e,title:t,subTitle:n,subType:r,isRead:o,handleShowDetails:s,handleRead:a,isCheckBox:l,isSubType:c,selectedAlert:u,id:d,handleCheckboxChange:p,clickId:m})=>x.jsxs(it,{className:"cards",children:[x.jsxs(Io,{display:"flex",flexDirection:"row",alignItems:"start",gap:1,children:[e&&x.jsx(Gc,{color:e,variant:"dot",className:"badge"}),l&&x.jsx(ry,{checked:!!u.includes(d),onChange:h=>p(h,d),disabled:o,sx:{padding:"4px 7px 0 7px"}}),x.jsx(Ct,{component:"p",className:["title-card",o&&"read"].join(" "),children:t})]}),x.jsxs(Io,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"start",gap:1,sx:{pt:1},children:[c&&x.jsx(Ui,{label:r,variant:"filled",size:"small",sx:{fontFamily:"Montserrat, sans-serif",fontWeight:"500",color:"primary.main",ml:5}}),x.jsx(Ct,{variant:"body2",component:"div",className:["sub-title",o&&"read"].join(" "),sx:{ml:"0.8rem !important"},children:n})]}),x.jsxs(Io,{display:"flex",flexDirection:"row",justifyContent:"end",gap:1,children:[x.jsx(Ui,{disabled:m,onClick:s,label:m===d?x.jsx(xo,{color:"primary",size:13}):"Show Details",component:"button",variant:"filled",clickable:!0,size:"small",sx:{fontFamily:"Montserrat, sans-serif",fontWeight:"500",fontSize:"0.875rem",color:"chipColor",background:"chipBGColor",borderRadius:"1.25rem",padding:"0.188rem !important",minWidth:"6.625rem"}}),!o&&x.jsx(Ui,{disabled:m,onClick:a,label:"Mark as Read",component:"button",variant:"filled",clickable:!0,size:"small",sx:{fontFamily:"Montserrat, sans-serif",fontWeight:"medium",color:"chipColor"}})]})]});Us.propTypes={type:i.string,title:i.string,subTitle:i.string,isRead:i.bool,handleShowDetails:i.func,handleRead:i.func};const Vd=({data:e,handleRead:t,handleShowDetails:n,clickId:r})=>x.jsx(it,{children:e.map((o,s)=>x.jsx(Us,{type:"success",title:o.message,subTitle:Dd(o.createdAt),isRead:o.isRead,handleShowDetails:()=>n(o.id),handleRead:()=>t([o.id]),clickId:r,id:o.id},s))});Vd.propTypes={data:i.array,handleRead:i.func,handleShowDetails:i.func};var Ys={},h1=ms;Object.defineProperty(Ys,"__esModule",{value:!0});var Js=Ys.default=void 0,v1=h1(bs()),y1=x;Js=Ys.default=(0,v1.default)((0,y1.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search");const C1=re($C)(({theme:e})=>({"& .MuiInputBase-root":{height:"3.52rem"},"& .MuiFormLabel-root":{color:`${e.palette.input.border} !important`,fontSize:"1rem",marginTop:"0.4rem"},"& label.Mui-focused":{color:e.palette.input.color},"& .MuiInput-underline:after":{borderBottomColor:e.palette.input.border,borderBottomWidth:"0.1rem"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.palette.input.border,borderWidth:"0.1rem"},"&:hover fieldset":{borderColor:e.palette.input.border,borderWidth:"0.1rem"},"&.Mui-focused fieldset":{borderColor:e.palette.input.border,borderWidth:"0.1rem"}}})),$d=({adornmentIcon:e,...t})=>x.jsx(C1,{...t,InputProps:{...e||{}}}),Ld=({start:e,end:t,total:n,title:r})=>x.jsxs(it,{component:"h1",sx:{fontSize:"1.5rem",fontWeight:500},children:[e," - ",t," of ",n," ",r]}),Wd=({page:e,rowPerPage:t,total:n,handleChangePage:r,isLogo:o,isMarkAllRead:s,selectedAlert:a,handleAllRead:l})=>x.jsxs(x.Fragment,{children:[x.jsx(vC,{count:Math.ceil(n/t),page:e,onChange:(c,u)=>{r(u)},sx:{padding:"0.5rem 0.75rem 0.75rem 0.75rem","& .MuiPaginationItem-root":{fontSize:"1.16rem",borderRadius:"0.5rem",color:"primary.main","& .MuiSvgIcon-root":{fontSize:"2.2rem",color:"primary.main"},"& .Mui-selected":{color:"white"}}},color:"primary",shape:"rounded",showFirstButton:!0,showLastButton:!0,className:"notification-pagination"}),o&&x.jsx(Ld,{start:e*t-t+1,end:e*t>n?n:e*t,total:n,title:"items"}),s&&x.jsx(Qi,{variant:"contained",className:"view-all",disabled:a.length===0,onClick:l,children:"Mark Read"})]});function fn(e){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(e)}function x1(e,t){if(fn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(fn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _d(e){var t=x1(e,"string");return fn(t)=="symbol"?t:String(t)}function pr(e,t,n){return t=_d(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gd(Object(n),!0).forEach(function(r){pr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function I1(e){if(Array.isArray(e))return e}function E1(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,s,a,l=[],c=!0,u=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(d){u=!0,o=d}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}function qs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zd(e,t){if(e){if(typeof e=="string")return qs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qs(e,t)}}function T1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
248
+ `):" "+Rd(s[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ws};function Ps(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ur(null,e)}function Ad(e){return Ps(e),e.headers=jt.from(e.headers),e.data=Ns.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Od.getAdapter(e.adapter||Os.adapter)(e).then(function(r){return Ps(e),r.data=Ns.call(e,e.transformResponse,r),r.headers=jt.from(r.headers),r},function(r){return Ed(r)||(Ps(e),r&&r.response&&(r.response.data=Ns.call(e,e.transformResponse,r.response),r.response.headers=jt.from(r.response.headers))),Promise.reject(r)})}const Nd=e=>e instanceof jt?e.toJSON():e;function Dn(e,t){t=t||{};const n={};function r(u,d,p){return $.isPlainObject(u)&&$.isPlainObject(d)?$.merge.call({caseless:p},u,d):$.isPlainObject(d)?$.merge({},d):$.isArray(d)?d.slice():d}function o(u,d,p){if($.isUndefined(d)){if(!$.isUndefined(u))return r(void 0,u,p)}else return r(u,d,p)}function s(u,d){if(!$.isUndefined(d))return r(void 0,d)}function a(u,d){if($.isUndefined(d)){if(!$.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,p){if(p in t)return r(u,d);if(p in e)return r(void 0,u)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,d)=>o(Nd(u),Nd(d),!0)};return $.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=c[d]||o,m=p(e[d],t[d],d);$.isUndefined(m)&&p!==l||(n[d]=m)}),n}const wd="1.6.5",Fs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pd={};Fs.transitional=function(t,n,r){function o(s,a){return"[Axios v"+wd+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,l)=>{if(t===!1)throw new Ce(o(a," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!Pd[a]&&(Pd[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};function a1(e,t,n){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=t[s];if(a){const l=e[s],c=l===void 0||a(l,s,e);if(c!==!0)throw new Ce("option "+s+" must be "+c,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+s,Ce.ERR_BAD_OPTION)}}const Ds={assertOptions:a1,validators:Fs},Qt=Ds.validators;class Po{constructor(t){this.defaults=t,this.interceptors={request:new vd,response:new vd}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ds.assertOptions(r,{silentJSONParsing:Qt.transitional(Qt.boolean),forcedJSONParsing:Qt.transitional(Qt.boolean),clarifyTimeoutError:Qt.transitional(Qt.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:Ds.assertOptions(o,{encode:Qt.function,serialize:Qt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&$.merge(s.common,s[n.method]);s&&$.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),n.headers=jt.concat(a,s);const l=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,p=0,m;if(!c){const b=[Ad.bind(this),void 0];for(b.unshift.apply(b,l),b.push.apply(b,u),m=b.length,d=Promise.resolve(n);p<m;)d=d.then(b[p++],b[p++]);return d}m=l.length;let h=n;for(p=0;p<m;){const b=l[p++],g=l[p++];try{h=b(h)}catch(f){g.call(this,f);break}}try{d=Ad.call(this,h)}catch(b){return Promise.reject(b)}for(p=0,m=u.length;p<m;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=Dn(this.defaults,t);const n=Td(t.baseURL,t.url);return hd(n,t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){Po.prototype[t]=function(n,r){return this.request(Dn(r||{},{method:t,url:n,data:(r||{}).data}))}}),$.forEach(["post","put","patch"],function(t){function n(r){return function(s,a,l){return this.request(Dn(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}Po.prototype[t]=n(),Po.prototype[t+"Form"]=n(!0)});const Fo=Po;class ks{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,l){r.reason||(r.reason=new ur(s,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ks(function(o){t=o}),cancel:t}}}const l1=ks;function c1(e){return function(n){return e.apply(null,n)}}function u1(e){return $.isObject(e)&&e.isAxiosError===!0}const Bs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bs).forEach(([e,t])=>{Bs[t]=e});const d1=Bs;function Fd(e){const t=new Fo(e),n=td(Fo.prototype.request,t);return $.extend(n,Fo.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Fd(Dn(e,o))},n}const We=Fd(Os);We.Axios=Fo,We.CanceledError=ur,We.CancelToken=l1,We.isCancel=Ed,We.VERSION=wd,We.toFormData=Ao,We.AxiosError=Ce,We.Cancel=We.CanceledError,We.all=function(t){return Promise.all(t)},We.spread=c1,We.isAxiosError=u1,We.mergeConfig=Dn,We.AxiosHeaders=jt,We.formToJSON=e=>xd($.isHTMLForm(e)?new FormData(e):e),We.getAdapter=Od.getAdapter,We.HttpStatusCode=d1,We.default=We;const Ms={NOTIFICATION:"/notifications"},js={BASE_URL:"https://scai-qa-api.3sc.ai",VERSION:"/v1"},Vs=e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):""},Dd=e=>{const t=new Date(e),n={year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0};return t.toLocaleString("en-US",n)},$s=e=>e.sort((n,r)=>{let o=new Date(n.createdAt),s=new Date(r.createdAt);return o===s?0:o>s?-1:1}).sort((n,r)=>n.isRead===r.isRead?0:r.isRead?-1:1),p1=e=>{let t=0;for(let n=0;n<e.length;n++)e[n].isRead||t++;return t},f1=e=>{const t=[];return e.forEach(n=>{n.isRead||t.push(n.id)}),t},kd=(e,t,n)=>e.filter(o=>t.some(s=>{var a,l,c;return(c=(a=o[s])==null?void 0:a.toLowerCase())==null?void 0:c.includes((l=n==null?void 0:n.trim())==null?void 0:l.toLowerCase())})),m1=(e,t,n)=>e.sort((o,s)=>n==="asc"?o[t].toLowerCase().localeCompare(s[t].toLowerCase()):s[t].toLowerCase().localeCompare(o[t].toLowerCase())),dr=(e,t,n)=>e.slice((t-1)*n,t*n),Ls=e=>e.split("_").map(t=>t==="sku"?"SKU":t[0].toUpperCase()+t.substring(1)).join(" "),kn=Vs(ys.USER),Ws=Vs(ys.SNOP),Bd={TOKEN:Vs(ys.TOKEN),BU_IDS:kn==null?void 0:kn.business_unit_id,TENANT_IDS:kn==null?void 0:kn.tenant_id,SNOP_IDS:Ws==null?void 0:Ws.snop_id},Do={headers:{"Content-Type":"application/json",Authorization:`${Qu.BEARER} ${Bd.TOKEN}`}},Md=We.create({baseURL:js.BASE_URL,axiosConfig:Do});Md.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),Md.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)});const{TENANT_ID:_s,BU_ID:Gs,SNOP_ID:zs}=Qu,{TENANT_IDS:Hs,BU_IDS:Xs,SNOP_IDS:Zs}=Bd,g1=async e=>{try{const t=`${e}${Ms.NOTIFICATION}/v1?${_s}=${Hs}&${Gs}=${Xs}&${zs}=${Zs}`;return await We.get(t,Do)}catch(t){return t}},jd=async(e,t)=>{try{const n=`${e}${Ms.NOTIFICATION}${js.VERSION}?${_s}=${Hs}&${Gs}=${Xs}&${zs}=${Zs}`;return await We.put(n,t,Do)}catch(n){return n}},b1=async({baseUrl:e,id:t})=>{try{const n=`${e}${Ms.NOTIFICATION}${js.VERSION}?${_s}=${Hs}&${Gs}=${Xs}&${zs}=${Zs}&id=${t}`;return await We.get(n,Do)}catch(n){return n}},ko={OK:200,CREATED:201,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,INTERNAL_SERVER_ERROR:500},Us=({type:e,title:t,subTitle:n,subType:r,isRead:o,handleShowDetails:s,handleRead:a,isCheckBox:l,isSubType:c,selectedAlert:u,id:d,handleCheckboxChange:p,clickId:m})=>x.jsxs(it,{className:"cards",children:[x.jsxs(Io,{display:"flex",flexDirection:"row",alignItems:"start",gap:1,children:[e&&x.jsx(Gc,{color:e,variant:"dot",className:"badge"}),l&&x.jsx(ry,{checked:!!u.includes(d),onChange:h=>p(h,d),disabled:o,sx:{padding:"4px 7px 0 7px"}}),x.jsx(Ct,{component:"p",className:["title-card",o&&"read"].join(" "),children:t})]}),x.jsxs(Io,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"start",gap:1,sx:{pt:1},children:[c&&x.jsx(Ui,{label:r,variant:"filled",size:"small",sx:{fontFamily:"Montserrat, sans-serif",fontWeight:"500",color:"primary.main",ml:5}}),x.jsx(Ct,{variant:"body2",component:"div",className:["sub-title",o&&"read"].join(" "),sx:{ml:"0.8rem !important"},children:n})]}),x.jsxs(Io,{display:"flex",flexDirection:"row",justifyContent:"end",gap:1,children:[x.jsx(Ui,{disabled:m,onClick:s,label:m===d?x.jsx(xo,{color:"primary",size:13}):"Show Details",component:"button",variant:"filled",clickable:!0,size:"small",sx:{fontFamily:"Montserrat, sans-serif",fontWeight:"500",fontSize:"0.875rem",color:"chipColor",background:"chipBGColor",borderRadius:"1.25rem",padding:"0.188rem !important",minWidth:"6.625rem"}}),!o&&x.jsx(Ui,{disabled:m,onClick:a,label:"Mark as Read",component:"button",variant:"filled",clickable:!0,size:"small",sx:{fontFamily:"Montserrat, sans-serif",fontWeight:"medium",color:"chipColor"}})]})]});Us.propTypes={type:i.string,title:i.string,subTitle:i.string,isRead:i.bool,handleShowDetails:i.func,handleRead:i.func};const Vd=({data:e,handleRead:t,handleShowDetails:n,clickId:r})=>x.jsx(it,{children:e.map((o,s)=>x.jsx(Us,{type:"success",title:o.message,subTitle:Dd(o.createdAt),isRead:o.isRead,handleShowDetails:()=>n(o.id),handleRead:()=>t([o.id]),clickId:r,id:o.id},s))});Vd.propTypes={data:i.array,handleRead:i.func,handleShowDetails:i.func};var Ys={},h1=ms;Object.defineProperty(Ys,"__esModule",{value:!0});var Js=Ys.default=void 0,v1=h1(bs()),y1=x;Js=Ys.default=(0,v1.default)((0,y1.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search");const C1=re($C)(({theme:e})=>({"& .MuiInputBase-root":{height:"3.52rem"},"& .MuiFormLabel-root":{color:`${e.palette.input.border} !important`,fontSize:"1rem",marginTop:"0.4rem"},"& label.Mui-focused":{color:e.palette.input.color},"& .MuiInput-underline:after":{borderBottomColor:e.palette.input.border,borderBottomWidth:"0.1rem"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.palette.input.border,borderWidth:"0.1rem"},"&:hover fieldset":{borderColor:e.palette.input.border,borderWidth:"0.1rem"},"&.Mui-focused fieldset":{borderColor:e.palette.input.border,borderWidth:"0.1rem"}}})),$d=({adornmentIcon:e,...t})=>x.jsx(C1,{...t,InputProps:{...e||{}}}),Ld=({start:e,end:t,total:n,title:r})=>x.jsxs(it,{component:"h1",sx:{fontSize:"1.5rem",fontWeight:500},children:[e," - ",t," of ",n," ",r]}),Wd=({page:e,rowPerPage:t,total:n,handleChangePage:r,isLogo:o,isMarkAllRead:s,selectedAlert:a,handleAllRead:l})=>x.jsxs(x.Fragment,{children:[x.jsx(vC,{count:Math.ceil(n/t),page:e,onChange:(c,u)=>{r(u)},sx:{padding:"0.5rem 0.75rem 0.75rem 0.75rem","& .MuiPaginationItem-root":{fontSize:"1.16rem",borderRadius:"0.5rem",color:"primary.main","& .MuiSvgIcon-root":{fontSize:"2.2rem",color:"primary.main"},"& .Mui-selected":{color:"white"}}},color:"primary",shape:"rounded",showFirstButton:!0,showLastButton:!0,className:"notification-pagination"}),o&&x.jsx(Ld,{start:e*t-t+1,end:e*t>n?n:e*t,total:n,title:"items"}),s&&x.jsx(Qi,{variant:"contained",className:"view-all",disabled:a.length===0,onClick:l,children:"Mark Read"})]});function fn(e){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(e)}function x1(e,t){if(fn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(fn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _d(e){var t=x1(e,"string");return fn(t)=="symbol"?t:String(t)}function pr(e,t,n){return t=_d(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gd(Object(n),!0).forEach(function(r){pr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function I1(e){if(Array.isArray(e))return e}function E1(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,s,a,l=[],c=!0,u=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(d){u=!0,o=d}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}function qs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zd(e,t){if(e){if(typeof e=="string")return qs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qs(e,t)}}function T1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
249
249
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vt(e,t){return I1(e)||E1(e,t)||zd(e,t)||T1()}function $t(e,t){if(e==null)return{};var n=ie(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var S1=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function R1(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,s=e.defaultValue,a=s===void 0?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,b=$t(e,S1),g=G.useState(l!==void 0?l:n),f=Vt(g,2),y=f[0],R=f[1],T=G.useState(c!==void 0?c:o),E=Vt(T,2),I=E[0],A=E[1],O=G.useState(h!==void 0?h:a),N=Vt(O,2),D=N[0],P=N[1],L=G.useCallback(function(H,Y){typeof u=="function"&&u(H,Y),P(H)},[u]),j=G.useCallback(function(H,Y){var F;typeof d=="function"&&(F=d(H,Y)),R(F!==void 0?F:H)},[d]),V=G.useCallback(function(){typeof m=="function"&&m(),A(!0)},[m]),B=G.useCallback(function(){typeof p=="function"&&p(),A(!1)},[p]),k=l!==void 0?l:y,M=c!==void 0?c:I,W=h!==void 0?h:D;return pe(pe({},b),{},{inputValue:k,menuIsOpen:M,onChange:L,onInputChange:j,onMenuClose:B,onMenuOpen:V,value:W})}function O1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_d(r.key),r)}}function A1(e,t,n){return t&&Hd(e.prototype,t),n&&Hd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eo(e,t)}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Bo(e)}function Xd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xd=function(){return!!e})()}function w1(e,t){if(t&&(fn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sc(e)}function P1(e){var t=Xd();return function(){var r=Bo(e),o;if(t){var s=Bo(this).constructor;o=Reflect.construct(r,arguments,s)}else o=r.apply(this,arguments);return w1(this,o)}}function F1(e){if(Array.isArray(e))return qs(e)}function D1(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function k1(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
250
250
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qs(e){return F1(e)||D1(e)||zd(e)||k1()}function B1(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ks=G.useLayoutEffect,M1=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Mo=function(){};function j1(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function V1(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var s=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&s.push("".concat(j1(e,a)));return s.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var Zd=function(t){return Z1(t)?t.filter(Boolean):fn(t)==="object"&&t!==null?[t]:[]},Ud=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=$t(t,M1);return pe({},n)},He=function(t,n,r){var o=t.cx,s=t.getStyles,a=t.getClassNames,l=t.className;return{css:s(n,t),className:o(r??{},a(n,t),l)}};function jo(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function $1(e){return jo(e)?window.innerHeight:e.clientHeight}function Yd(e){return jo(e)?window.pageYOffset:e.scrollTop}function Vo(e,t){if(jo(e)){window.scrollTo(0,t);return}e.scrollTop=t}function L1(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function W1(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function $o(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Mo,o=Yd(e),s=t-o,a=10,l=0;function c(){l+=a;var u=W1(l,o,s,n);Vo(e,u),l<n?window.requestAnimationFrame(c):r(e)}c()}function Jd(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Vo(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Vo(e,Math.max(t.offsetTop-o,0))}function _1(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function qd(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function G1(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Qd=!1,z1={get passive(){return Qd=!0}},Lo=typeof window<"u"?window:{};Lo.addEventListener&&Lo.removeEventListener&&(Lo.addEventListener("p",Mo,z1),Lo.removeEventListener("p",Mo,!1));var H1=Qd;function X1(e){return e!=null}function Z1(e){return Array.isArray(e)}function Wo(e,t,n){return e?t:n}function cS(e){return e}function uS(e){return e}var U1=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var s=Object.entries(t).filter(function(a){var l=Vt(a,1),c=l[0];return!r.includes(c)});return s.reduce(function(a,l){var c=Vt(l,2),u=c[0],d=c[1];return a[u]=d,a},{})},Y1=["children","innerProps"],J1=["children","innerProps"];function q1(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,s=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,c=L1(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var d=c.getBoundingClientRect(),p=d.height,m=n.getBoundingClientRect(),h=m.bottom,b=m.height,g=m.top,f=n.offsetParent.getBoundingClientRect(),y=f.top,R=a?window.innerHeight:$1(c),T=Yd(c),E=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),A=y-I,O=R-g,N=A+T,D=p-T-g,P=h-R+T+E,L=T+g-I,j=160;switch(o){case"auto":case"bottom":if(O>=b)return{placement:"bottom",maxHeight:t};if(D>=b&&!a)return s&&$o(c,P,j),{placement:"bottom",maxHeight:t};if(!a&&D>=r||a&&O>=r){s&&$o(c,P,j);var V=a?O-E:D-E;return{placement:"bottom",maxHeight:V}}if(o==="auto"||a){var B=t,k=a?A:N;return k>=r&&(B=Math.min(k-E-l,t)),{placement:"top",maxHeight:B}}if(o==="bottom")return s&&Vo(c,P),{placement:"bottom",maxHeight:t};break;case"top":if(A>=b)return{placement:"top",maxHeight:t};if(N>=b&&!a)return s&&$o(c,L,j),{placement:"top",maxHeight:t};if(!a&&N>=r||a&&A>=r){var M=t;return(!a&&N>=r||a&&A>=r)&&(M=a?A-I:N-I),s&&$o(c,L,j),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function Q1(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Kd=function(t){return t==="auto"?"bottom":t},K1=function(t,n){var r,o=t.placement,s=t.theme,a=s.borderRadius,l=s.spacing,c=s.colors;return pe((r={label:"menu"},pr(r,Q1(o),"100%"),pr(r,"position","absolute"),pr(r,"width","100%"),pr(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},ep=G.createContext(null),eI=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,s=t.menuPlacement,a=t.menuPosition,l=t.menuShouldScrollIntoView,c=t.theme,u=G.useContext(ep)||{},d=u.setPortalPlacement,p=G.useRef(null),m=G.useState(o),h=Vt(m,2),b=h[0],g=h[1],f=G.useState(null),y=Vt(f,2),R=y[0],T=y[1],E=c.spacing.controlHeight;return Ks(function(){var I=p.current;if(I){var A=a==="fixed",O=l&&!A,N=q1({maxHeight:o,menuEl:I,minHeight:r,placement:s,shouldScroll:O,isFixedPosition:A,controlHeight:E});g(N.maxHeight),T(N.placement),d==null||d(N.placement)}},[o,s,a,l,r,d,E]),n({ref:p,placerProps:pe(pe({},t),{},{placement:R||Kd(s),maxHeight:b})})},tI=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return ue("div",v({},He(t,"menu",{menu:!0}),{ref:r},o),n)},nI=tI,rI=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return pe({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},oI=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,s=t.isMulti;return ue("div",v({},He(t,"menuList",{"menu-list":!0,"menu-list--is-multi":s}),{ref:o},r),n)},tp=function(t,n){var r=t.theme,o=r.spacing.baseUnit,s=r.colors;return pe({textAlign:"center"},n?{}:{color:s.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},iI=tp,sI=tp,aI=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,s=$t(t,Y1);return ue("div",v({},He(pe(pe({},s),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},lI=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,s=$t(t,J1);return ue("div",v({},He(pe(pe({},s),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},cI=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},uI=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,s=t.innerProps,a=t.menuPlacement,l=t.menuPosition,c=G.useRef(null),u=G.useRef(null),d=G.useState(Kd(a)),p=Vt(d,2),m=p[0],h=p[1],b=G.useMemo(function(){return{setPortalPlacement:h}},[]),g=G.useState(null),f=Vt(g,2),y=f[0],R=f[1],T=G.useCallback(function(){if(o){var O=_1(o),N=l==="fixed"?0:window.pageYOffset,D=O[m]+N;(D!==(y==null?void 0:y.offset)||O.left!==(y==null?void 0:y.rect.left)||O.width!==(y==null?void 0:y.rect.width))&&R({offset:D,rect:O})}},[o,l,m,y==null?void 0:y.offset,y==null?void 0:y.rect.left,y==null?void 0:y.rect.width]);Ks(function(){T()},[T]);var E=G.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&c.current&&(u.current=nv(o,c.current,T,{elementResize:"ResizeObserver"in window}))},[o,T]);Ks(function(){E()},[E]);var I=G.useCallback(function(O){c.current=O,E()},[E]);if(!n&&l!=="fixed"||!y)return null;var A=ue("div",v({ref:I},He(pe(pe({},t),{},{offset:y.offset,position:l,rect:y.rect}),"menuPortal",{"menu-portal":!0}),s),r);return ue(ep.Provider,{value:b},n?mn.createPortal(A,n):A)},dI=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},pI=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,s=t.isRtl;return ue("div",v({},He(t,"container",{"--is-disabled":o,"--is-rtl":s}),r),n)},fI=function(t,n){var r=t.theme.spacing,o=t.isMulti,s=t.hasValue,a=t.selectProps.controlShouldRenderValue;return pe({alignItems:"center",display:o&&s&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},mI=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,s=t.hasValue;return ue("div",v({},He(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":s}),r),n)},gI=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},bI=function(t){var n=t.children,r=t.innerProps;return ue("div",v({},He(t,"indicatorsContainer",{indicators:!0}),r),n)},np,hI=["size"],vI=["innerProps","isRtl","size"];function yI(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var CI=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICA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sdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:yI},rp=function(t){var n=t.size,r=$t(t,hI);return ue("svg",v({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:CI},r))},ea=function(t){return ue(rp,v({size:20},t),ue("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},op=function(t){return ue(rp,v({size:20},t),ue("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ip=function(t,n){var r=t.isFocused,o=t.theme,s=o.spacing.baseUnit,a=o.colors;return pe({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?a.neutral60:a.neutral20,padding:s*2,":hover":{color:r?a.neutral80:a.neutral40}})},xI=ip,II=function(t){var n=t.children,r=t.innerProps;return ue("div",v({},He(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||ue(op,null))},EI=ip,TI=function(t){var n=t.children,r=t.innerProps;return ue("div",v({},He(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||ue(ea,null))},SI=function(t,n){var r=t.isDisabled,o=t.theme,s=o.spacing.baseUnit,a=o.colors;return pe({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?a.neutral10:a.neutral20,marginBottom:s*2,marginTop:s*2})},RI=function(t){var n=t.innerProps;return ue("span",v({},n,He(t,"indicatorSeparator",{"indicator-separator":!0})))},OI=Tn(np||(np=B1([`
251
251
  0%, 80%, 100% { opacity: 0; }