asma-core-ui 3.1.5 → 3.1.7

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.
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{forwardRef as n,createElement as o,useState as r,useEffect as i,useLayoutEffect as a,useRef as s,useCallback as l}from"react";import{jsx as c,jsxs as d,Fragment as u}from"react/jsx-runtime";import{Badge as p,Chip as h,Tooltip as f,Typography as m,Dialog as g,DialogActions as y,DialogContent as b,DialogTitle as v,Checkbox as w,TextField as x,Select as k,MenuItem as C,Autocomplete as N,Paper as S,Slider as _,Switch as T,Radio as O,RadioGroup as E,FormControl as M,FormControlLabel as I,FormHelperText as j,InputLabel as D,FormGroup as P,Drawer as z,Menu as L,MenuList as R,Tab as A,Tabs as $,Accordion as F,AccordionSummary as B,AccordionDetails as V,Popover as q}from"@mui/material";import{Avatar as H,ClickAwayListener as W,Container as U,Fade as Y,FormLabel as G,Paper as K,Popper as X,Skeleton as J,Stack as Z}from"@mui/material";import{twMerge as Q}from"tailwind-merge";import ee from"prop-types";import te from"react-dom";import{ThemeContext as ne}from"@emotion/react";const oe=(e,t)=>Object.fromEntries(Object.entries(e).filter((([e])=>!t.includes(e))));function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ae(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function se(e){ae(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===re(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function le(e,t){return(le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ce(e,t){ae(2,arguments);var n=se(e),o=ie(t),r=n.getFullYear(),i=n.getDate(),a=new Date(0);a.setFullYear(r,o,15),a.setHours(0,0,0,0);var s=function(e){ae(1,arguments);var t=se(e),n=t.getFullYear(),o=t.getMonth(),r=new Date(0);return r.setFullYear(n,o+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return n.setMonth(o,Math.min(i,s)),n}function de(e,t){if(ae(2,arguments),"object"!==re(t)||null===t)throw new RangeError("values parameter must be an object");var n=se(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=ce(n,t.month)),null!=t.date&&n.setDate(ie(t.date)),null!=t.hours&&n.setHours(ie(t.hours)),null!=t.minutes&&n.setMinutes(ie(t.minutes)),null!=t.seconds&&n.setSeconds(ie(t.seconds)),null!=t.milliseconds&&n.setMilliseconds(ie(t.milliseconds)),n)}const ue=e=>de(e,{hours:23,minutes:59,seconds:59,milliseconds:59}),pe=e=>de(e,{hours:0,minutes:0,seconds:0,milliseconds:0});function he(e){return n((function(t,n){const{ownerState:r,...i}=t;return o(e,{...i,ref:n})}))}const fe=({color:e="primary",dataTest:t,...n})=>c(p,{color:e,"data-test":t,...n,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...n.sx}}),me=/^[a-z0-9]+(-[a-z0-9]+)*$/,ge=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!ye(i)?null:i}const i=r[0],a=i.split("-");if(a.length>1){const e={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!ye(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:i};return t&&!ye(e,n)?null:e}return null},ye=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(me)||!(t&&""===e.prefix||e.prefix.match(me))||!e.name.match(me)),be=Object.freeze({left:0,top:0,width:16,height:16}),ve=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),we=Object.freeze({...be,...ve}),xe=Object.freeze({...we,body:"",hidden:!1});function ke(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in xe)o in ve?o in e&&!(o in n)&&(n[o]=ve[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Ce(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(e){i=ke(o[e]||r[e],i)}return a(t),n.forEach(a),ke(e,i)}function Ne(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const o=function(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(n).concat(Object.keys(o))).forEach((function e(t){if(n[t])return r[t]=[];if(!(t in r)){r[t]=null;const n=o[t]&&o[t].parent,i=n&&e(n);i&&(r[t]=[n].concat(i))}return r[t]})),r}(e);for(const r in o){const i=o[r];i&&(t(r,Ce(e,r,i)),n.push(r))}return n}const Se={provider:"",aliases:{},not_found:{},...be};function _e(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Te(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!_e(e,Se))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(me)||"string"!=typeof t.body||!_e(t,xe))return null}const o=t.aliases||Object.create(null);for(const e in o){const t=o[e],r=t.parent;if(!e.match(me)||"string"!=typeof r||!n[r]&&!o[r]||!_e(t,xe))return null}return t}const Oe=Object.create(null);function Ee(e,t){const n=Oe[e]||(Oe[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Me(e,t){return Te(t)?Ne(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let Ie=!1;function je(e){return"boolean"==typeof e&&(Ie=e),Ie}function De(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Ie&&!t&&!e.prefix){let t=!1;return Te(e)&&(e.prefix="",Ne(e,((e,n)=>{n&&function(e,t){const n=ge(e,!0,Ie);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(Ee(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!ye({provider:t,prefix:n,name:"a"}))return!1;return!!Me(Ee(t,n),e)}const Pe=Object.freeze({width:null,height:null}),ze=Object.freeze({...Pe,...ve}),Le=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Re=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ae(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(Le);if(null===o||!o.length)return e;const r=[];let i=o.shift(),a=Re.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");a=!a}}const $e=/\sid="(\S+)"/g,Fe="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Be=0;function Ve(e,t=Fe){const n=[];let o;for(;o=$e.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const o="function"==typeof t?t(n):t+(Be++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")})),e=e.replace(new RegExp(r,"g"),"")}const qe=Object.create(null);function He(e){return qe[e]||qe[""]}function We(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Ue=Object.create(null),Ye=["https://api.simplesvg.com","https://api.unisvg.com"],Ge=[];for(;Ye.length>0;)1===Ye.length||Math.random()>.5?Ge.push(Ye.shift()):Ge.push(Ye.pop());function Ke(e,t){const n=We(t);return null!==n&&(Ue[e]=n,!0)}function Xe(e){return Ue[e]}Ue[""]=We({resources:["https://api.iconify.design"].concat(Ge)});let Je=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const Ze={prepare:(e,t,n)=>{const o=[],r=function(e,t){const n=Xe(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach((t=>{e=Math.max(e,t.length)}));const r=t+".json?icons=";o=n.maxURL-e-n.path.length-r.length}else o=0;return o}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach(((n,l)=>{s+=n.length+1,s>=r&&l>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=n.length),a.icons.push(n)})),o.push(a),o},send:(e,t,n)=>{if(!Je)return void n("abort",424);let o=function(e){if("string"==typeof e){const t=Xe(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;Je(e+o).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",r)}))})).catch((()=>{n("next",r)}))}};function Qe(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let et=0;var tt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function nt(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l,c="pending",d=0,u=null,p=[],h=[];function f(){u&&(clearTimeout(u),u=null)}function m(){"pending"===c&&(c="aborted"),f(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function y(){c="failed",h.forEach((e=>{e(void 0,l)}))}function b(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function v(){if("pending"!==c)return;f();const o=a.shift();if(void 0===o)return p.length?void(u=setTimeout((()=>{f(),"pending"===c&&(b(),y())}),e.timeout)):void y();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return l=o,void y();if(r)return l=o,void(p.length||(a.length?v():y()));if(f(),b(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}c="completed",h.forEach((e=>{e(o)}))}(r,t,n)}};p.push(r),d++,u=setTimeout(v,e.rotate),n(o,t,r.callback)}return"function"==typeof o&&h.push(o),setTimeout(v),function(){return{startTime:s,payload:t,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:m}}}function ot(e){const t={...tt,...e};let n=[];function o(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,r,i){const a=nt(t,e,r,((e,t)=>{o(),i&&i(e,t)}));return n.push(a),a},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function rt(){}const it=Object.create(null);function at(e,t,n){let o,r;if("string"==typeof e){const t=He(e);if(!t)return n(void 0,424),rt;r=t.send;const i=function(e){if(!it[e]){const t=Xe(e);if(!t)return;const n={config:t,redundancy:ot(t)};it[e]=n}return it[e]}(e);i&&(o=i.redundancy)}else{const t=We(e);if(t){o=ot(t);const n=He(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),rt)}const st="iconify2",lt="iconify",ct=lt+"-count",dt=lt+"-version",ut=36e5,pt=168;function ht(e,t){try{return e.getItem(t)}catch{}}function ft(e,t,n){try{return e.setItem(t,n),!0}catch{}}function mt(e,t){try{e.removeItem(t)}catch{}}function gt(e,t){return ft(e,ct,t.toString())}function yt(e){return parseInt(ht(e,ct))||0}const bt={local:!0,session:!0},vt={local:new Set,session:new Set};let wt=!1;let xt=typeof window>"u"?{}:window;function kt(e){const t=e+"Storage";try{if(xt&&xt[t]&&"number"==typeof xt[t].length)return xt[t]}catch{}bt[e]=!1}function Ct(e,t){const n=kt(e);if(!n)return;const o=ht(n,dt);if(o!==st){if(o){const e=yt(n);for(let t=0;t<e;t++)mt(n,lt+t.toString())}return ft(n,dt,st),void gt(n,0)}const r=Math.floor(Date.now()/ut)-pt,i=e=>{const o=lt+e.toString(),i=ht(n,o);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>r&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch{}mt(n,o)}};let a=yt(n);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,gt(n,a)):vt[e].add(t))}function Nt(){if(!wt){wt=!0;for(const e in bt)Ct(e,(e=>{const t=e.data,n=Ee(e.provider,t.prefix);if(!Me(n,t).length)return!1;const o=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,o):o,!0}))}}function St(e,t){function n(n){let o;if(!bt[n]||!(o=kt(n)))return;const r=vt[n];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=yt(o),!gt(o,i+1))return;const a={cached:Math.floor(Date.now()/ut),provider:e.provider,data:t};return ft(o,lt+i.toString(),JSON.stringify(a))}wt||Nt(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in bt)Ct(n,(n=>{const o=n.data;return n.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function _t(){}function Tt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==r)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:o,prefix:r,name:a});else{if(!e.missing.has(a))return n=!0,!0;i.missing.push({provider:o,prefix:r,name:a})}return!1})),i.pending.length!==a&&(n||Qe([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const Ot=(e,t)=>{const n=function(e,t=!0,n=!1){const o=[];return e.forEach((e=>{const r="string"==typeof e?ge(e,t,n):e;r&&o.push(r)})),o}(e,!0,je()),o=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let o={provider:"",prefix:"",name:""};return e.forEach((e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,i=e.prefix,a=e.name,s=n[r]||(n[r]=Object.create(null)),l=s[i]||(s[i]=Ee(r,i));let c;c=a in l.icons?t.loaded:""===i||l.missing.has(a)?t.missing:t.pending;const d={provider:r,prefix:i,name:a};c.push(d)})),t}(n);if(!o.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(o.loaded,o.missing,o.pending,_t)})),()=>{e=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===s&&t===a)return;a=t,s=n,i.push(Ee(t,n));const o=r[t]||(r[t]=Object.create(null));o[n]||(o[n]=[])})),o.pending.forEach((e=>{const{provider:t,prefix:n,name:o}=e,i=Ee(t,n),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(o)||(a.add(o),r[t][n].push(o))})),i.forEach((e=>{const{provider:t,prefix:n}=e;r[t][n].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,o=e.iconsToLoad;let r;delete e.iconsToLoad,o&&(r=He(t))&&r.prepare(t,n,o).forEach((n=>{at(t,n,(t=>{if("object"!=typeof t)n.icons.forEach((t=>{e.missing.add(t)}));else try{const n=Me(e,t);if(!n.length)return;const o=e.pendingIcons;o&&n.forEach((e=>{o.delete(e)})),St(e,t)}catch(e){console.error(e)}Tt(e)}))}))})))}(e,r[t][n])})),t?function(e,t,n){const o=et++,r=Qe.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),r}(t,o,i):_t};const Et=/[\s,]+/;function Mt(e,t){t.split(Et).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function It(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1==0?o(r):0)}}return t}function jt(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let Dt;function Pt(e){return void 0===Dt&&function(){try{Dt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{Dt=null}}(),Dt?Dt.createHTML(e):e}const zt={...ze,inline:!1},Lt={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rt={display:"inline-block"},At={backgroundColor:"currentColor"},$t={backgroundColor:"transparent"},Ft={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Bt={WebkitMask:At,mask:At,background:$t};for(const e in Bt){const t=Bt[e];for(const n in Ft)t[e+n]=Ft[n]}const Vt={...zt,inline:!0};function qt(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ht=(e,n,o,r)=>{const i=o?Vt:zt,a=function(e,t){const n={...e};for(const e in t){const o=t[e],r=typeof o;e in Pe?(null===o||o&&("string"===r||"number"===r))&&(n[e]=o):r===typeof n[e]&&(n[e]="rotate"===e?o%4:o)}return n}(i,n),s=n.mode||"svg",l={},c=n.style||{},d={..."svg"===s?Lt:{},ref:r};for(let e in n){const t=n[e];if(void 0!==t)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":a[e]=!0===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&Mt(a,t);break;case"color":l.color=t;break;case"rotate":"string"==typeof t?a[e]=It(t):"number"==typeof t&&(a[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete d["aria-hidden"];break;default:void 0===i[e]&&(d[e]=t)}}const u=function(e,t){const n={...we,...e},o={...ze,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach((e=>{const t=[],n=e.hFlip,o=e.vFlip;let a,s=e.rotate;switch(n?o?s+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):o&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=r.height/2+r.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:a=r.width/2+r.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(r.left!==r.top&&(a=r.left,r.left=r.top,r.top=a),r.width!==r.height&&(a=r.width,r.width=r.height,r.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=o.width,s=o.height,l=r.width,c=r.height;let d,u;null===a?(u=null===s?"1em":"auto"===s?c:s,d=Ae(u,l/c)):(d="auto"===a?l:a,u=null===s?Ae(d,c/l):"auto"===s?c:s);const p={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return h("width",d),h("height",u),p.viewBox=r.left.toString()+" "+r.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=u.attributes;if(a.inline&&(l.verticalAlign="-0.125em"),"svg"===s){d.style={...l,...c},Object.assign(d,p);let e=0,o=n.id;return"string"==typeof o&&(o=o.replace(/-/g,"_")),d.dangerouslySetInnerHTML={__html:Pt(Ve(u.body,o?()=>o+"ID"+e++:"iconifyReact"))},t.createElement("svg",d)}const{body:h,width:f,height:m}=e,g="mask"===s||"bg"!==s&&-1!==h.indexOf("currentColor"),y=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(h,{...p,width:f+"",height:m+""});return d.style={...l,"--svg":jt(y),width:qt(p.width),height:qt(p.height),...Rt,...g?At:$t,...c},t.createElement("span",d)};var Wt;if(je(!0),Wt=Ze,qe[""]=Wt,typeof document<"u"&&typeof window<"u"){Nt();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!De(e))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;Ke(e,o)||console.error(n)}catch{console.error(n)}}}}class Ut extends t.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,n=this.props.icon;if("object"==typeof n&&null!==n&&"string"==typeof n.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:n}));let o;if("string"!=typeof n||null===(o=ge(n,!1,!0)))return this._abortLoading(),void this._setData(null);const r=function(e){const t="string"==typeof e?ge(e,!0,Ie):e;if(t){const e=Ee(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(o);if(r){if(this._icon!==n||null===t.icon){this._abortLoading(),this._icon=n;const e=["iconify"];""!==o.prefix&&e.push("iconify--"+o.prefix),""!==o.provider&&e.push("iconify--"+o.provider),this._setData({data:r,classes:e}),this.props.onLoad&&this.props.onLoad(n)}}else(!this._loading||this._loading.name!==n)&&(this._abortLoading(),this._icon="",this._setData(null),null!==r&&(this._loading={name:n,abort:Ot([o],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,n=this.state.icon;if(null===n)return e.children?e.children:t.createElement("span",{});let o=e;return n.classes&&(o={...e,className:("string"==typeof e.className?e.className+" ":"")+n.classes.join(" ")}),Ht({...we,...n.data},o,e._inline,e._ref)}}const Yt=t.forwardRef((function(e,n){const o={...e,_ref:n,_inline:!1};return t.createElement(Ut,o)}));t.forwardRef((function(e,n){const o={...e,_ref:n,_inline:!0};return t.createElement(Ut,o)}));const Gt="_icon_1czju_5",Kt=({width:e=20,height:t=20,className:n="",icon:o,onClick:r,color:i,vFlip:a=!1})=>c(Yt,{onClick:r,icon:o,width:e,height:t,className:`${Gt} ${n}`,color:i,vFlip:a}),Xt=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:bell-outline",width:e,height:t,className:n,onClick:o,color:r}),Jt=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:bell",width:e,height:t,className:n,onClick:o,color:r}),Zt=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"charm:menu-hamburger",width:e,height:t,className:n,onClick:o,color:r}),Qt=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:chevron-right",width:e,height:t,className:n,onClick:o,color:r}),en=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:chevron-left",width:e,height:t,className:n,onClick:o,color:r}),tn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:chevron-double-left",width:e,height:t,className:n,onClick:o,color:r}),nn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:chevron-double-right",width:e,height:t,className:n,onClick:o,color:r}),on=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:n,onClick:o,color:r}),rn=({width:e=20,height:t=20,className:n="",onClick:o,color:r=""})=>c(Kt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:n,onClick:o,color:r}),an=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:view-dashboard",width:e,height:t,className:n,onClick:o,color:r}),sn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:n,onClick:o,color:r}),ln=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:outline-people-alt",width:e,height:t,className:n,onClick:o,color:r}),cn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:sharp-people",width:e,height:t,className:n,onClick:o,color:r});function dn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4zM12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8"})})}function un(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm0-2h16V5H4zm5-2q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9zM4 19V5z"})})}function pn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm5-4q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9z"})})}const hn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:calendar-blank",width:e,height:t,className:n,onClick:o,color:r}),fn=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),mn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:calendar-range",width:e,height:t,className:n,onClick:o,color:r}),gn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-assignment",width:e,height:t,className:n,onClick:o,color:r}),yn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:n,onClick:o,color:r}),bn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:n,onClick:o,color:r}),vn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:message-processing",width:e,height:t,className:n,onClick:o,color:r}),wn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:message-processing-outline",width:e,height:t,className:n,onClick:o,color:r}),xn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:report-box",width:e,height:t,className:n,onClick:o,color:r}),kn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:report-box-outline",width:e,height:t,className:n,onClick:o,color:r}),Cn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:settings",width:e,height:t,className:n,onClick:o,color:r}),Nn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:settings-outline",width:e,height:t,className:n,onClick:o,color:r}),Sn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-sync",width:e,height:t,className:n,onClick:o,color:r,vFlip:!0}),_n=({color:e="black",size:t="20",className:n=""})=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:n,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[c("path",{d:"M14.9875 14.1667C16.1366 14.1667 17.0691 13.2334 17.0691 12.0834C17.0691 10.9334 16.1366 10.0001 14.9875 10.0001C13.8385 10.0001 12.9059 10.9334 12.9059 12.0834C12.9059 13.2334 13.8385 14.1667 14.9875 14.1667ZM14.9875 15.2084C13.597 15.2084 10.8243 15.9084 10.8243 17.2917V17.8167C10.8243 18.1001 11.0575 18.3417 11.3489 18.3417H18.6345C18.9176 18.3417 19.159 18.1084 19.159 17.8167V17.2917C19.159 15.9084 16.3863 15.2084 14.9958 15.2084H14.9875Z",fill:e}),c("path",{d:"M4.99584 5.83342C6.14488 5.83342 7.07744 4.90008 7.07744 3.75008C7.07744 2.60008 6.14488 1.66675 4.99584 1.66675C3.8468 1.66675 2.91424 2.60008 2.91424 3.75008C2.91424 4.90008 3.8468 5.83342 4.99584 5.83342ZM4.99584 6.87508C3.60533 6.87508 0.832642 7.57508 0.832642 8.95842V9.48342C0.832642 9.76675 1.06578 10.0084 1.3572 10.0084H8.6428C8.9259 10.0084 9.16736 9.77508 9.16736 9.48342V8.95842C9.16736 7.57508 6.39467 6.87508 5.00417 6.87508H4.99584Z",fill:e}),c("path",{d:"M9.15156 16.4036V16.2574H6.61874C6.14757 16.2574 5.75868 15.8773 5.75868 15.4167V12.8729L7.04503 14.101L7.77047 13.3773L5.10802 10.8334L2.49792 13.4431L3.23832 14.1521L4.4798 12.9094H4.49476V15.4167C4.49476 16.5644 5.45204 17.5001 6.62622 17.5001H9.15904V16.4036H9.15156Z",fill:e}),c("path",{d:"M9.99915 3.59657V3.74277H13.3646C13.8358 3.74277 14.2247 4.12289 14.2247 4.58341V7.12727L12.9383 5.8992L12.2129 6.62289L14.8753 9.16675L17.4854 6.5571L16.745 5.84803L15.5035 7.09072H15.4886V4.58341C15.4886 3.43575 14.5313 2.50008 13.3571 2.50008H9.99168V3.59657H9.99915Z",fill:e})]}),Tn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:round-person",width:e,height:t,className:n,onClick:o,color:r}),On=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:round-person-outline",width:e,height:t,className:n,onClick:o,color:r}),En=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:dots-vertical",width:e,height:t,className:n,onClick:o,color:r}),Mn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:outline-search",width:e,height:t,className:n,onClick:o,color:r}),In=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:n,onClick:o,color:r}),jn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:n,onClick:o,color:r}),Dn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:n,onClick:o,color:r}),Pn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"eva:archive-fill",width:e,height:t,className:n,onClick:o,color:r}),zn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-download",width:e,height:t,className:n,onClick:o,color:r}),Ln=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:n,onClick:o,color:r}),Rn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:chevron-down",width:e,height:t,className:n,onClick:o,color:r}),An=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:chevron-up",width:e,height:t,className:n,onClick:o,color:r}),$n=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-close",width:e,height:t,className:n,onClick:o,color:r}),Fn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-check",width:e,height:t,className:n,onClick:o,color:r}),Bn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:perm-media",width:e,height:t,className:n,onClick:o,color:r}),Vn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:n,onClick:o,color:r}),qn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:inbox",width:e,height:t,className:n,onClick:o,color:r}),Hn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:inbox-outline",width:e,height:t,className:n,onClick:o,color:r}),Wn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:sharp-topic",width:e,height:t,className:n,onClick:o,color:r}),Un=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:n,onClick:o,color:r}),Yn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:n,onClick:o,color:r}),Gn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:delete-outline",width:e,height:t,className:n,onClick:o,color:r}),Kn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:filter-variant",width:e,height:t,className:n,onClick:o,color:r}),Xn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:lock-outline",width:e,height:t,className:n,onClick:o,color:r}),Jn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:baseline-dvr",width:e,height:t,className:n,onClick:o,color:r}),Zn=({width:e=20,height:t=20,className:n="",onClick:o,color:r="var(--colors-error-500)"})=>c(Kt,{icon:"mdi:error-outline",width:e,height:t,className:n,onClick:o,color:r}),Qn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:replay",width:e,height:t,className:n,onClick:o,color:r}),eo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:n,onClick:o,color:r}),to=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:outline-link",width:e,height:t,className:n,onClick:o,color:r}),no=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:n,onClick:o,color:r}),oo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:n,onClick:o,color:r}),ro=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:list-status",width:e,height:t,className:n,onClick:o,color:r}),io=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:n,onClick:o,color:r}),ao=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ri:list-settings-line",width:e,height:t,className:n,onClick:o,color:r}),so=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"pajamas:earth",width:e,height:t,className:n,onClick:o,color:r}),lo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:n,onClick:o,color:r}),co=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"mdi:pencil-outline",width:e,height:t,className:n,onClick:o,color:r});function uo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const po=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>c(Kt,{icon:"ic:outline-calendar-month",width:e,height:t,className:n,onClick:o,color:r});function ho(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.86 10.31C16.23 21.22 14.28 22.45 12 23c-2.56-.61-4.7-2.07-6.42-4.37C3.86 16.34 3 13.8 3 11V5l9-4l9 4v6c0 2.39-.64 4.61-1.92 6.67l-2.91-2.91c.52-.79.83-1.76.83-2.76a5 5 0 0 0-5-5a5 5 0 0 0-5 5a5 5 0 0 0 5 5c1 0 1.97-.31 2.76-.83z"})})}const fo=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),mo=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function go(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18 8H6V6h12zm0 3H6V9h12zm0 3H6v-2h12zm4-10a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14l4 4z"})})}function yo(e){return d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[c("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),c("path",{fill:"currentColor",d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"}),c("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),c("path",{fill:"currentColor",d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"})]})}function bo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4q0 .375-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"})})}function vo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18 12.998h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5v-5a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2"})})}function wo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"})})}function xo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062m0-2.375l.725-.725L15.9 15.2l-.725.725zM5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22m0-2.4l4.25-4.25v-.725H8.65l-4.25 4.25zm0 0l-.725-.725l.375.35zm13.725 0l.725-.725z"})})}function ko(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062M5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22"})})}function Co(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"})})}function No(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M20 6c.58 0 1.05.2 1.42.59c.38.41.58.86.58 1.41v11c0 .55-.2 1-.58 1.41c-.37.39-.84.59-1.42.59H4c-.58 0-1.05-.2-1.42-.59C2.2 20 2 19.55 2 19V8c0-.55.2-1 .58-1.41C2.95 6.2 3.42 6 4 6h4V4c0-.58.2-1.05.58-1.42C8.95 2.2 9.42 2 10 2h4c.58 0 1.05.2 1.42.58c.38.37.58.84.58 1.42v2zM4 8v11h16V8zm10-2V4h-4v2z"})})}const So=({dataTest:e,readOnly:t,...n})=>c(h,{...n,"data-test":e,deleteIcon:c($n,{height:18,width:18}),sx:{border:"1px solid",backgroundColor:"white",borderColor:"var(--colors-delta-200)",color:"var(--colors-delta-800)",...t?{pointerEvents:"none","&:hover":{borderColor:"var(--colors-delta-200)",backgroundColor:"white"}}:{"&:hover":{borderColor:"var(--colors-gama-200)",backgroundColor:"var(--colors-gama-50)"},"&:focus":{outline:"none",borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)"},"&:active":{borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 2px inset var(--colors-gama-400)"},"& .MuiChip-deleteIcon":{border:"1px solid",borderColor:"var(--colors-delta-100)",color:"var(--colors-delta-700)",backgroundColor:"var(--colors-delta-50)",borderRadius:"50%","&:hover":{borderColor:"var(--colors-delta-100)",backgroundColor:"var(--colors-delta-50)",color:"var(--colors-delta-700)"}}},...n.sx}}),_o=({type:e="checkbox",checked:t,...n})=>{const o="checkbox"===e,r=o?Ta:$a,i=!n.readOnly&&!o&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return c(So,{avatar:c(r,{dataTest:n.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...n,sx:{...i&&{outline:"none",borderColor:"var(--colors-gama-400)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)","&:hover":a},...n.readOnly&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-delta-300)"},"& .MuiCheckbox-root, & .MuiRadio-root":{color:"var(--colors-delta-300)"},"& .Mui-checked":{color:"var(--colors-delta-300)"}}},...t&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-gama-500)"}}},"&:focus:hover":a,...n.sx}})};function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},To.apply(this,arguments)}function Oo(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}const Eo=!1;var Mo="production"!==process.env.NODE_ENV?ee.oneOfType([ee.number,ee.shape({enter:ee.number,exit:ee.number,appear:ee.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&ee.oneOfType([ee.string,ee.shape({enter:ee.string,exit:ee.string,active:ee.string}),ee.shape({enter:ee.string,enterDone:ee.string,enterActive:ee.string,exit:ee.string,exitDone:ee.string,exitActive:ee.string})]);const Io=t.createContext(null);var jo="unmounted",Do="exited",Po="entering",zo="entered",Lo="exiting",Ro=function(e){function n(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Do,o.appearStatus=Po):r=zo:r=t.unmountOnExit||t.mountOnEnter?jo:Do,o.state={status:r},o.nextCallback=null,o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,le(e,t)}(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===jo?{status:Do}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Po&&n!==zo&&(t=Po):(n===Po||n===zo)&&(t=Lo)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Po){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:te.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Do&&this.setState({status:jo})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[te.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||Eo?this.safeSetState({status:zo},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Po},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:zo},(function(){t.props.onEntered(i,a)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:te.findDOMNode(this);t&&!Eo?(this.props.onExit(o),this.safeSetState({status:Lo},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Do},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:Do},(function(){e.props.onExited(o)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:te.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===jo)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=Oo(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Io.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function Ao(){}Ro.contextType=Io,Ro.propTypes="production"!==process.env.NODE_ENV?{nodeRef:ee.shape({current:typeof Element>"u"?ee.any:function(e,t,n,o,r,i){var a=e[t];return ee.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:ee.oneOfType([ee.func.isRequired,ee.element.isRequired]).isRequired,in:ee.bool,mountOnEnter:ee.bool,unmountOnExit:ee.bool,appear:ee.bool,enter:ee.bool,exit:ee.bool,timeout:function(e){var t=Mo;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:ee.func,onEnter:ee.func,onEntering:ee.func,onEntered:ee.func,onExit:ee.func,onExiting:ee.func,onExited:ee.func}:{},Ro.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ao,onEntering:Ao,onEntered:Ao,onExit:Ao,onExiting:Ao,onExited:Ao},Ro.UNMOUNTED=jo,Ro.EXITED=Do,Ro.ENTERING=Po,Ro.ENTERED=zo,Ro.EXITING=Lo;const $o=Ro;function Fo(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Bo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Vo(e){if(!Bo(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Vo(e[n])})),t}function qo(e,t,n={clone:!0}){const o=n.clone?To({},e):e;return Bo(e)&&Bo(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(Bo(t[r])&&r in e&&Bo(e[r])?o[r]=qo(e[r],t[r],n):n.clone?o[r]=Bo(t[r])?Vo(t[r]):t[r]:o[r]=t[r])})),o}function Ho(e,t,n,o,r){const i=e[t],a=r||t;if(null==i||typeof window>"u")return null;let s;const l=i.type;return"function"==typeof l&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(l)&&(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${o} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Wo=Fo(ee.element,Ho);Wo.isRequired=Fo(ee.element.isRequired,Ho);const Uo=Wo;function Yo(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Go(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ko(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}function Xo(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Yo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Jo=e=>e,Zo=(()=>{let e=Jo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Jo}}})(),Qo=Zo,er={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function tr(e,t,n="Mui"){const o=er[t];return o?`${n}-${o}`:`${Qo.generate(e)}-${t}`}const nr=["values","unit","step"],or=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>To({},e,{[t.key]:t.val})),{})};const rr={borderRadius:4},ir="production"!==process.env.NODE_ENV?ee.oneOfType([ee.number,ee.string,ee.object,ee.array]):{};function ar(e,t){return t?qo(e,t,{clone:!1}):e}const sr={xs:0,sm:600,md:900,lg:1200,xl:1536},lr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${sr[e]}px)`};function cr(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||lr;return t.reduce(((o,r,i)=>(o[e.up(e.keys[i])]=n(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||lr;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||sr).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function dr(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function ur(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:dr(e,n)||o,t&&(r=t(r,o,e)),r}function pr(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=dr(e.theme,o)||{};return cr(e,i,(e=>{let o=ur(a,r,e);return e===o&&"string"==typeof e&&(o=ur(a,r,`${t}${"default"===e?"":Xo(e)}`,e)),!1===n?o:{[n]:o}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:ir}:{},i.filterProps=[t],i}const hr={m:"margin",p:"padding"},fr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gr=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!mr[e])return[e];e=mr[e]}const[t,n]=e.split(""),o=hr[t],r=fr[n]||"";return Array.isArray(r)?r.map((e=>o+e)):[o+r]})),yr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],br=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vr=[...yr,...br];function wr(e,t,n,o){var r;const i=null!=(r=dr(e,t,!1))?r:n;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function xr(e){return wr(e,"spacing",8,"spacing")}function kr(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Cr(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=kr(t,n),e)),{})}(gr(n),o);return cr(e,e[n],r)}function Nr(e,t){const n=xr(e.theme);return Object.keys(e).map((o=>Cr(e,t,o,n))).reduce(ar,{})}function Sr(e){return Nr(e,yr)}function _r(e){return Nr(e,br)}function Tr(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,o)=>t[o]?ar(n,t[o](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Or(e){return"number"!=typeof e?e:`${e}px solid`}Sr.propTypes="production"!==process.env.NODE_ENV?yr.reduce(((e,t)=>(e[t]=ir,e)),{}):{},Sr.filterProps=yr,_r.propTypes="production"!==process.env.NODE_ENV?br.reduce(((e,t)=>(e[t]=ir,e)),{}):{},_r.filterProps=br,"production"!==process.env.NODE_ENV&&vr.reduce(((e,t)=>(e[t]=ir,e)),{});const Er=pr({prop:"border",themeKey:"borders",transform:Or}),Mr=pr({prop:"borderTop",themeKey:"borders",transform:Or}),Ir=pr({prop:"borderRight",themeKey:"borders",transform:Or}),jr=pr({prop:"borderBottom",themeKey:"borders",transform:Or}),Dr=pr({prop:"borderLeft",themeKey:"borders",transform:Or}),Pr=pr({prop:"borderColor",themeKey:"palette"}),zr=pr({prop:"borderTopColor",themeKey:"palette"}),Lr=pr({prop:"borderRightColor",themeKey:"palette"}),Rr=pr({prop:"borderBottomColor",themeKey:"palette"}),Ar=pr({prop:"borderLeftColor",themeKey:"palette"}),$r=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=wr(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:kr(t,e)});return cr(e,e.borderRadius,n)}return null};$r.propTypes="production"!==process.env.NODE_ENV?{borderRadius:ir}:{},$r.filterProps=["borderRadius"],Tr(Er,Mr,Ir,jr,Dr,Pr,zr,Lr,Rr,Ar,$r);const Fr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=wr(e.theme,"spacing",8,"gap"),n=e=>({gap:kr(t,e)});return cr(e,e.gap,n)}return null};Fr.propTypes="production"!==process.env.NODE_ENV?{gap:ir}:{},Fr.filterProps=["gap"];const Br=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=wr(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:kr(t,e)});return cr(e,e.columnGap,n)}return null};Br.propTypes="production"!==process.env.NODE_ENV?{columnGap:ir}:{},Br.filterProps=["columnGap"];const Vr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=wr(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:kr(t,e)});return cr(e,e.rowGap,n)}return null};Vr.propTypes="production"!==process.env.NODE_ENV?{rowGap:ir}:{},Vr.filterProps=["rowGap"];function qr(e,t){return"grey"===t?t:e}Tr(Fr,Br,Vr,pr({prop:"gridColumn"}),pr({prop:"gridRow"}),pr({prop:"gridAutoFlow"}),pr({prop:"gridAutoColumns"}),pr({prop:"gridAutoRows"}),pr({prop:"gridTemplateColumns"}),pr({prop:"gridTemplateRows"}),pr({prop:"gridTemplateAreas"}),pr({prop:"gridArea"}));function Hr(e){return e<=1&&0!==e?100*e+"%":e}Tr(pr({prop:"color",themeKey:"palette",transform:qr}),pr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qr}),pr({prop:"backgroundColor",themeKey:"palette",transform:qr}));const Wr=pr({prop:"width",transform:Hr}),Ur=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,o,r;return{maxWidth:(null==(n=e.theme)||null==(o=n.breakpoints)||null==(r=o.values)?void 0:r[t])||sr[t]||Hr(t)}};return cr(e,e.maxWidth,t)}return null};Ur.filterProps=["maxWidth"];const Yr=pr({prop:"minWidth",transform:Hr}),Gr=pr({prop:"height",transform:Hr}),Kr=pr({prop:"maxHeight",transform:Hr}),Xr=pr({prop:"minHeight",transform:Hr});pr({prop:"size",cssProperty:"width",transform:Hr}),pr({prop:"size",cssProperty:"height",transform:Hr});Tr(Wr,Ur,Yr,Gr,Kr,Xr,pr({prop:"boxSizing"}));const Jr={border:{themeKey:"borders",transform:Or},borderTop:{themeKey:"borders",transform:Or},borderRight:{themeKey:"borders",transform:Or},borderBottom:{themeKey:"borders",transform:Or},borderLeft:{themeKey:"borders",transform:Or},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:$r},color:{themeKey:"palette",transform:qr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qr},backgroundColor:{themeKey:"palette",transform:qr},p:{style:_r},pt:{style:_r},pr:{style:_r},pb:{style:_r},pl:{style:_r},px:{style:_r},py:{style:_r},padding:{style:_r},paddingTop:{style:_r},paddingRight:{style:_r},paddingBottom:{style:_r},paddingLeft:{style:_r},paddingX:{style:_r},paddingY:{style:_r},paddingInline:{style:_r},paddingInlineStart:{style:_r},paddingInlineEnd:{style:_r},paddingBlock:{style:_r},paddingBlockStart:{style:_r},paddingBlockEnd:{style:_r},m:{style:Sr},mt:{style:Sr},mr:{style:Sr},mb:{style:Sr},ml:{style:Sr},mx:{style:Sr},my:{style:Sr},margin:{style:Sr},marginTop:{style:Sr},marginRight:{style:Sr},marginBottom:{style:Sr},marginLeft:{style:Sr},marginX:{style:Sr},marginY:{style:Sr},marginInline:{style:Sr},marginInlineStart:{style:Sr},marginInlineEnd:{style:Sr},marginBlock:{style:Sr},marginBlockStart:{style:Sr},marginBlockEnd:{style:Sr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Fr},rowGap:{style:Vr},columnGap:{style:Br},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Hr},maxWidth:{style:Ur},minWidth:{transform:Hr},height:{transform:Hr},maxHeight:{transform:Hr},minHeight:{transform:Hr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Zr=Jr;const Qr=function(){function e(e,t,n,o){const r={[e]:t,theme:n},i=o[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const d=dr(n,s)||{};return c?c(r):cr(r,t,(t=>{let n=ur(d,l,t);return t===n&&"string"==typeof t&&(n=ur(d,l,`${e}${"default"===t?"":Xo(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var o;const{sx:r,theme:i={}}=n||{};if(!r)return null;const a=null!=(o=i.unstable_sxConfig)?o:Zr;function s(n){let o=n;if("function"==typeof n)o=n(i);else if("object"!=typeof n)return n;if(!o)return null;const r=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(r);let l=r;return Object.keys(o).forEach((n=>{const r=function(e,t){return"function"==typeof e?e(t):e}(o[n],i);if(null!=r)if("object"==typeof r)if(a[n])l=ar(l,e(n,r,i,a));else{const e=cr({theme:i},r,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,r)?l=ar(l,e):l[n]=t({sx:r,theme:i})}else l=ar(l,e(n,r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(r)?r.map(s):s(r)}}();Qr.filterProps=["sx"];const ei=Qr,ti=["breakpoints","palette","spacing","shape"];function ni(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:i={}}=e,a=Oo(e,ti),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,r=Oo(e,nr),i=or(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${n})`}function c(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-o/100}${n})`}return To({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},r)}(n),l=function(e=8){if(e.mui)return e;const t=xr({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(r);let c=qo({breakpoints:s,direction:"ltr",components:{},palette:To({mode:"light"},o),spacing:l,shape:To({},rr,i)},a);return c=t.reduce(((e,t)=>qo(e,t)),c),c.unstable_sxConfig=To({},Zr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ei({sx:e,theme:this})},c}function oi(t=null){const n=e.useContext(ne);return!n||function(e){return 0===Object.keys(e).length}(n)?t:n}const ri=ni();function ii(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ii(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ai(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=ii(e))&&(o&&(o+=" "),o+=t);return o}const si=Object.freeze(Object.defineProperty({__proto__:null,clsx:ai,default:ai},Symbol.toStringTag,{value:"Module"}));function li(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Math.min(Math.max(t,e),n)}function ci(e){if(e.type)return e;if("#"===e.charAt(0))return ci(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Yo(9,e));let o,r=e.substring(t+1,e.length-1);if("color"===n){if(r=r.split(" "),o=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${o}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Yo(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}function di(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return-1!==t.indexOf("rgb")?o=o.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),o=-1!==t.indexOf("color")?`${n} ${o.join(" ")}`:`${o.join(", ")}`,`${t}(${o})`}function ui(e){let t="hsl"===(e=ci(e)).type||"hsla"===e.type?ci(function(e){e=ci(e);const{values:t}=e,n=t[0],o=t[1]/100,r=t[2]/100,i=o*Math.min(r,1-r),a=(e,t=(e+n/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),di({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function pi(e,t){const n=ui(e),o=ui(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function hi(e,t){return To({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fi={black:"#000",white:"#fff"},mi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},yi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},bi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},wi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},xi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ki=["mode","contrastThreshold","tonalOffset"],Ci={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fi.white,default:fi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ni={text:{primary:fi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Si(e,t,n,o){const r=o.light||o,i=o.dark||1.5*o;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return di(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return di(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=Oo(e,ki),i=e.primary||function(e="light"){return"dark"===e?{main:vi[200],light:vi[50],dark:vi[400]}:{main:vi[700],light:vi[400],dark:vi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[500],light:gi[300],dark:gi[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:yi[500],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[400],dark:yi[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:wi[400],light:wi[300],dark:wi[700]}:{main:wi[700],light:wi[500],dark:wi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:xi[400],light:xi[300],dark:xi[700]}:{main:xi[800],light:xi[500],dark:xi[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:bi[400],light:bi[300],dark:bi[700]}:{main:"#ed6c02",light:bi[500],dark:bi[900]}}(t);function u(e){const t=pi(e,Ni.text.primary)>=n?Ni.text.primary:Ci.text.primary;if("production"!==process.env.NODE_ENV){const n=pi(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:n=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=To({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:Yo(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Yo(12,t?` (${t})`:"",JSON.stringify(e.main)));return Si(e,"light",r,o),Si(e,"dark",i,o),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:Ni,light:Ci};return"production"!==process.env.NODE_ENV&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),qo(To({common:To({},fi),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:mi,contrastThreshold:n,getContrastText:u,augmentColor:p,tonalOffset:o},h[t]),r)}const Ti=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Oi(e){return Math.round(1e5*e)/1e5}const Ei={textTransform:"uppercase"},Mi='"Roboto", "Helvetica", "Arial", sans-serif';function Ii(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=Mi,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=n,p=Oo(n,Ti);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,r,i)=>To({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n},o===Mi?{letterSpacing:`${Oi(r/t)}em`}:{},i,d),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Ei),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ei),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qo(To({htmlFontSize:c,pxToRem:f,fontFamily:o,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function ji(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Di=["none",ji(0,2,1,-1,0,1,1,0,0,1,3,0),ji(0,3,1,-2,0,2,2,0,0,1,5,0),ji(0,3,3,-2,0,3,4,0,0,1,8,0),ji(0,2,4,-1,0,4,5,0,0,1,10,0),ji(0,3,5,-1,0,5,8,0,0,1,14,0),ji(0,3,5,-1,0,6,10,0,0,1,18,0),ji(0,4,5,-2,0,7,10,1,0,2,16,1),ji(0,5,5,-3,0,8,10,1,0,3,14,2),ji(0,5,6,-3,0,9,12,1,0,3,16,2),ji(0,6,6,-3,0,10,14,1,0,4,18,3),ji(0,6,7,-4,0,11,15,1,0,4,20,3),ji(0,7,8,-4,0,12,17,2,0,5,22,4),ji(0,7,8,-4,0,13,19,2,0,5,24,4),ji(0,7,9,-4,0,14,21,2,0,5,26,4),ji(0,8,9,-5,0,15,22,2,0,6,28,5),ji(0,8,10,-5,0,16,24,2,0,6,30,5),ji(0,8,11,-5,0,17,26,2,0,6,32,5),ji(0,9,11,-5,0,18,28,2,0,7,34,6),ji(0,9,12,-6,0,19,29,2,0,7,36,6),ji(0,10,13,-6,0,20,31,3,0,8,38,7),ji(0,10,13,-6,0,21,33,3,0,8,40,7),ji(0,10,14,-6,0,22,35,3,0,8,42,7),ji(0,11,14,-7,0,23,36,3,0,9,44,8),ji(0,11,15,-7,0,24,38,3,0,9,46,8)],Pi=["duration","easing","delay"],zi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Li={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ri(e){return`${Math.round(e)}ms`}function Ai(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function $i(e){const t=To({},zi,e.easing),n=To({},Li,e.duration);return To({getAutoHeightDuration:Ai,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:a=0}=o,s=Oo(o,Pi);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!n(r)&&!t(r)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${r}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!n(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Ri(r)} ${i} ${"string"==typeof a?a:Ri(a)}`)).join(",")}},e,{easing:t,duration:n})}const Fi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Bi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Vi=function(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:i={}}=e,a=Oo(e,Bi);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Yo(18));const s=_i(o),l=ni(e);let c=qo(l,{mixins:hi(l.breakpoints,n),palette:s,shadows:Di.slice(),typography:Ii(s,i),transitions:$i(r),zIndex:To({},Fi)});if(c=qo(c,a),c=t.reduce(((e,t)=>qo(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let o;for(o in t){const r=t[o];if(-1!==e.indexOf(o)&&Object.keys(r).length>0){if("production"!==process.env.NODE_ENV){const e=tr("",o);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${o}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:r}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[o]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=To({},Zr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ei({sx:e,theme:this})},c}(),qi=Vi;function Hi(){const t=function(e=ri){return oi(e)}(qi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function Wi(e,t){var n,o;const{timeout:r,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=a.transitionTimingFunction)?o:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Ui=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Yi={entering:{opacity:1},entered:{opacity:1}},Gi=e.forwardRef((function(t,n){const o=Hi(),r={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:d,onEnter:u,onEntered:p,onEntering:h,onExit:f,onExited:m,onExiting:g,style:y,timeout:b=r,TransitionComponent:v=$o}=t,w=Oo(t,Ui),x=e.useRef(null),k=function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)}))}),t)}(x,s.ref,n),C=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},N=C(h),S=C(((e,t)=>{(e=>{e.scrollTop})(e);const n=Wi({style:y,timeout:b,easing:l},{mode:"enter"});e.style.webkitTransition=o.transitions.create("opacity",n),e.style.transition=o.transitions.create("opacity",n),u&&u(e,t)})),_=C(p),T=C(g),O=C((e=>{const t=Wi({style:y,timeout:b,easing:l},{mode:"exit"});e.style.webkitTransition=o.transitions.create("opacity",t),e.style.transition=o.transitions.create("opacity",t),f&&f(e)})),E=C(m);return c(v,To({appear:a,in:d,nodeRef:x,onEnter:S,onEntered:_,onEntering:N,onExit:O,onExited:E,onExiting:T,addEndListener:e=>{i&&i(x.current,e)},timeout:b},w,{children:(t,n)=>e.cloneElement(s,To({style:To({opacity:0,visibility:"exited"!==t||d?void 0:"hidden"},Yi[t],y,s.props.style),ref:k},n))}))}));"production"!==process.env.NODE_ENV&&(Gi.propTypes={addEndListener:ee.func,appear:ee.bool,children:Uo.isRequired,easing:ee.oneOfType([ee.shape({enter:ee.string,exit:ee.string}),ee.string]),in:ee.bool,onEnter:ee.func,onEntered:ee.func,onEntering:ee.func,onExit:ee.func,onExited:ee.func,onExiting:ee.func,style:ee.object,timeout:ee.oneOfType([ee.number,ee.shape({appear:ee.number,enter:ee.number,exit:ee.number})])});const Ki=Gi,Xi=e=>c(f,{TransitionComponent:Ki,TransitionProps:{timeout:300},arrow:!0,placement:"top",componentsProps:{tooltip:{sx:{borderRadius:"3px !important","& .MuiTooltip-arrow":{color:"#363E4A !important"},color:"white !important",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",display:"flex !important",padding:"4px 8px !important",alignItems:"center !important",fontSize:"12px !important",lineHeight:"16px !important",letterSpacing:" 0.24px !important",bgcolor:"#363E4A !important",wordBreak:"break-word !important"}}},...e}),Ji=e=>c(m,{...e}),Zi="_styled-label-md_jbn3o_1",Qi="_styled-label-base_jbn3o_10",ea="_styled-label-lg_jbn3o_19",ta="_styled-label-xl_jbn3o_27",na=({title:e,onClick:t,className:n,dataTest:o,size:r="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Zi;case"lg":return ea;case"xl":return ta;default:return Qi}})({size:r});return c("div",{className:ai(i,n),onClick:t,"data-test":o,children:e})},oa="_asma-core-ui-button_1r2np_1",ra={contained:"_contained_1r2np_27",outlined:"_outlined_1r2np_141",text:"_text_1r2np_255",textGray:"_textGray_1r2np_369",textWhite:"_textWhite_1r2np_426",large:"_large_1r2np_79",small:"_small_1r2np_74",medium:"_medium_1r2np_69",error:"_error_1r2np_84",common:"_common_1r2np_27"},ia=({variant:e="contained",className:t="",size:n="medium",children:o,refLink:r,startIcon:i,endIcon:a,dataTest:s,error:l,...u})=>{const p="large"===n||"medium"===n;return d("button",{...u,className:ai(oa,ra[e],ra[l?"error":"common"],ra[n],t),ref:r,"data-test":s,children:[i,o&&c("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:p?"8px":"4px",paddingLeft:p?"8px":"4px",paddingRight:p?"8px":"4px"},children:o}),a]})},aa="_styled-dialog-root_1st3i_1",sa="_styled-top-header_1st3i_6",la="_styled-dialog-close_1st3i_13",ca="_styled-dialog-info_1st3i_20",da="_styled-dialog-label_1st3i_27",ua="_styled-dialog-title_1st3i_37";function pa(){const e=function(){const[e,t]=r(window.innerWidth),n=()=>{t(window.innerWidth)};return i((()=>(n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const ha=({onCloseText:e,children:t,dataTest:n,showCloseIcon:o=!0,dialogLabel:r,dialogTitle:i,dialogHeaderNode:a,...s})=>{const l=pa();return d(g,{...s,"data-test":n,style:{zIndex:999,...s.style},fullScreen:!!l||s.fullScreen,children:[c("div",{className:aa,children:d("div",{className:sa,children:[d("div",{className:ca,children:[r&&c("div",{className:da,children:r}),i&&c("div",{className:ua,children:i})]}),o&&d("div",{className:la,children:[a,c(ia,{dataTest:`close-button-${n}`,variant:"textGray",size:"small",endIcon:c($n,{width:24,height:24}),onClick:e=>{s.onClose&&s.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]})}),t]})},fa="_styled-dialog-actions-root_1yp8r_1",ma="_styled-dialog-actions_1yp8r_1",ga="_action-button-wrapper_1yp8r_17";function ya(...e){return Q(ai(e))}const ba=e=>c(y,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:fa},children:c("div",{className:ya(ma,e.className),children:t.Children.map(e.children,(e=>c("div",{className:ga,children:e})))})}),va="_styled-dialog-content_d2vki_1",wa=({children:e,classes:t,className:n,...o})=>c(b,{...o,"data-test":"styled-dialog-content",classes:{...t,root:va},className:n,children:e}),xa="_styled-dialog-title-root_mcspk_1",ka=({children:e,...t})=>e?c(v,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:xa},children:e}):null;function Ca(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7 9H2V7h5zm0 3H2v2h5zm13.59 7l-3.83-3.83c-.8.52-1.74.83-2.76.83c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3M2 19h10v-2H2z"})})}const Na=({emptyText:e,isEmpty:t=!0,className:n=""})=>t?d("div",{"data-test":"empty-page-container",className:`flex animate-opacity-in items-center w-full h-full justify-center gap-2 duration-300 text-gray-600 text-sm ${n}`,children:[c(Ca,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),c("p",{className:"font-normal",children:e})]}):null,Sa={small:16,medium:24,large:32},_a=({isLoading:e,className:t="",size:n="medium"})=>{if(!e)return null;const o=Sa[n];return c("div",{className:ai("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:c(In,{width:o,height:o})})},Ta=({dataTest:e,...t})=>c(w,{...t,"data-test":e,sx:{...t.sx,"&.MuiCheckbox-root":{color:"var(--colors-delta-500) !important"},"&.MuiCheckbox-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.MuiCheckbox-indeterminate":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.Mui-disabled":{color:"var(--colors-delta-200) !important"},"&.MuiCheckbox-root .PrivateSwitchBase-input":{height:"100% !important",width:"100% !important"}}}),Oa=({allowClear:e,onClear:t,readOnly:n,disabled:o,dataTest:r,...i})=>c(x,{...i,"data-test":r,disabled:o||n,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:c("div",{className:"z-40 hover:bg-gama-100 duration-300 absolute right-4 p-[2px] rounded-full flex items-center justify-center",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==t||t()},children:c($n,{width:18,height:18})})}:i.InputProps,sx:{"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)":{backgroundColor:"#e8f0fe !important"},"& input":{backgroundColor:"transparent"},"& .MuiInputBase-root":{backgroundColor:"transparent"},"& .MuiInputBase-colorPrimary fieldset":{borderColor:"var(--colors-delta-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary:hover fieldset":{borderColor:"var(--colors-gama-300) !important",borderWidth:"2px !important"},"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset":{borderWidth:"1px !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused.Mui-error fieldset":{borderColor:"#d3302f !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-300) !important"},"& label.Mui-focused":{color:"var(--colors-gama-500) !important"},"& label":{color:"var(--colors-delta-500) !important"},"& label.Mui-focused.Mui-error":{color:"#d3302f !important"},"& label.Mui-disabled":{color:"var(--colors-gray-300) !important"},"& .MuiOutlinedInput-input::placeholder":{color:"var(--colors-delta-500) !important",opacity:"1 !important"},"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-300) !important"},...n&&{"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-800) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled":{backgroundColor:"var(--colors-delta-10) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-200) !important"},"& label.Mui-disabled":{color:"var(--colors-gray-800) !important"}},...i.sx}}),Ea=({value:e,onClear:t,...n})=>{const[o,i]=r(!1),a=o||e;return d("div",{className:"relative w-fit",children:[c(Oa,{size:"small",variant:"outlined",value:e,onFocus:()=>i(!0),onBlur:()=>i(!1),InputProps:{className:ya("transition-[padding] duration-300",a?"pl-0":"pl-5",e?"pr-5":"pr-0"),sx:{"& input":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},InputLabelProps:{sx:{transform:"translate(34px, 9px) scale(1)",width:a?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...n,sx:{width:160,...n.sx}}),c(Mn,{width:24,height:24,className:ya("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",a?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),c("div",{className:ya("absolute w-6 h-6 right-2 top-2 cursor-pointer bg-delta-50 rounded-full","flex items-center justify-center","transform-gpu transition-all duration-300 ease-in-out",e?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"),onMouseDown:t,children:c($n,{width:20,height:20,color:"var(--colors-delta-700)"})})]})},Ma={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Ia=({id:e,variant:t="active",label:n="",labelClassName:o="",description:l="",value:u="",minRows:p=3,maxRows:h=1/0,disabled:f,error:m,errorMessage:g,containerClassName:y="",className:b="",maxLength:v=1/0,counter:w,refLink:x,dataTest:k,counterLimit:C,...N})=>{const S=s(null),_=x||S,T=!(!w||!C),[O,E]=r(!1);i((()=>{E(!0)}),[]),((e,t,n,o,r,i)=>{a((()=>{if(e){const t=i?32:0;e.style.height="auto";const n=20,r=e.scrollHeight-24;Math.ceil(r/n)>o?e.style.height=`${n*o+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,n,o,r,i])})(_.current,u,p,h,O,T),h<p&&(p=h);const[M,I]=r(u.length);i((()=>{I(u.length)}),[u]);const j=m?"error":"active",D=m?"error":f?"disabled":"active";return d("div",{className:`flex flex-col gap-1 relative ${y}`,"data-test":k,children:[c("label",{htmlFor:e,className:`${Ma.label} ${Ma[D]} ${o}`,children:n}),c("span",{className:`${Ma.description} ${Ma[D]}`,children:m?g:l}),"view_only"===t?c("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:u}):"not_editable"===t?c("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:u}):c("textarea",{...N,id:e,ref:_,className:`${Ma.textarea} ${Ma[j]} ${b} ${T?"pb-[32px]":""}`,wrap:"soft",value:u,disabled:f,maxLength:v}),T&&d("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[M,"/",C]})]})},ja=({dataTest:e,allowClear:t,...n})=>c(k,{...n,"data-test":e,value:n.value,IconComponent:e=>c(Yt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ai(e.className,"select-custom-icon")}),endAdornment:t&&n.value?c("div",{className:"hover:bg-gama-100 duration-300 absolute right-8 p-[2px] rounded-full flex items-center justify-center",onClick:()=>{var e;null==(e=n.onChange)||e.call(n,{target:{value:""}},null)},children:c($n,{width:18,height:18})}):null,sx:{".MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-delta-500) !important"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"&.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"2px solid var(--colors-gama-300) !important"},"& .select-custom-icon":{marginTop:"-3.5px !important"},...n.sx}}),Da=e=>d(C,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[c("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&c(Yt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),c("span",{children:e.children})]}),Pa="_styledSelectAutocompleteWrapper_lfbvb_1",za="_select-custom-icon_lfbvb_5";function La({dataTest:e,autoHeight:t,getOptionLabel:n,wrapperClassName:o,...a}){const[l,u]=r("auto"),p=s(null);i((()=>{var e,n;const o=(null==(e=p.current)?void 0:e.getBoundingClientRect().height)??0,r=(null==(n=p.current)?void 0:n.getBoundingClientRect().top)??0,i=window.innerHeight-r-o-40;t&&u(i>0?i:"auto")}),[t]);const h=t?{style:{maxHeight:"auto"===l?"auto":`${l}px`}}:{},f=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return c("div",{className:ya(Pa,o),ref:p,children:c(N,{...a,getOptionLabel:n,ListboxProps:{...h,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:ai("!text-sm",a.className),popupIcon:a.popupIcon||c(Yt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ai(za)}),"data-test":e,PaperComponent:({children:t})=>c(S,{"data-test":`paper-${e}`,sx:{padding:"0 !important",marginTop:"0px !important","& .MuiAutocomplete-option.Mui-focused":{background:"var(--colors-delta-50) !important"},"& li[aria-selected=true]":{background:"var(--colors-gama-50) !important"},"& li[aria-selected=true].MuiAutocomplete-option.Mui-focused":{background:"var(--colors-gama-50) !important"}},children:t}),renderOption:(null==a?void 0:a.renderOption)||((e,t,{selected:o})=>d("li",{...e,children:[c("span",{style:{width:"26px",height:"24px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:o&&c(Yt,{icon:"mdi:tick",width:24,height:24,style:{color:"var(--colors-gama-500)"}})}),c("span",{className:"flex-1",children:(null==n?void 0:n(t))||f(t)})]})),sx:{...a.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const Ra=({dataTest:e,...t})=>{var n,o,r;return c(_,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:ai("w-4 h-4","before:shadow-none","vertical"===t.orientation?"ml-0 mb-1":"ml-1",t.disabled||!t.value?"bg-delta-200":"bg-gama-600"),...null==(n=t.slotProps)?void 0:n.thumb},rail:{className:"bg-delta-200",...null==(o=t.slotProps)?void 0:o.rail},markLabel:{className:ai("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(r=t.slotProps)?void 0:r.markLabel}},sx:{...t.sx,"& .MuiSlider-track":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)"},"& .MuiSlider-mark":{backgroundColor:"white",border:"1px solid var(--colors-gray-200)",borderRadius:"50%",height:"8px",width:"8px","&.MuiSlider-markActive":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",border:"1px solid",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",opacity:1}}}})},Aa=({dataTest:e,...t})=>c(T,{...t,"data-test":e,sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-200) !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"}}}),$a=({dataTest:e,...t})=>c(O,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),Fa=({dataTest:e,...t})=>c(E,{"data-test":e,...t}),Ba=({children:e,onClick:t,className:n,dataTest:o,style:r})=>c("div",{className:ai("_styled-label_1fp95_1",n),style:r,onClick:t,"data-test":o,children:e}),Va=e=>c(M,{...e,sx:{...e.sx,"& label.MuiInputLabel-shrink":{background:"white !important",color:"var(--colors-delta-500) !important"},"& label.MuiInputLabel-shrink.Mui-focused":{background:"white !important",color:"var(--colors-gama-500) !important"},"& label.MuiInputLabel-shrink.Mui-error.Mui-focused":{background:"white !important",color:"var(--colors-red-500) !important"}}}),qa=e=>c(I,{...e}),Ha=e=>c(j,{...e}),Wa=e=>c(D,{...e}),Ua=e=>c(P,{...e}),Ya=e=>c(z,{...e}),Ga=e=>{var t,n;return c(L,{...e,classes:{paper:ai("border border-solid border-delta-300 shadow-[0px_2px_4px_0px_rgba(34,_33,_51,_0.15)]",null==(t=e.classes)?void 0:t.paper),list:ai("py-1",null==(n=e.classes)?void 0:n.list),...e.classes}})},Ka=e=>{var t;return c(C,{...e,classes:{root:ai("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Xa=e=>c(R,{...e}),Ja="_styled-link_hyb3l_1",Za="_styled-link-disabled_hyb3l_16",Qa="_styled-link-xs_hyb3l_32",es="_styled-link-small_hyb3l_37",ts="_styled-link-large_hyb3l_42",ns=({href:e,disabled:t,size:n="large",dataTest:o,reflink:r,className:i,content:a,contentNode:s,...l})=>{let c=ts;switch(n){case"small":c=es;break;case"xs":c=Qa;break;default:c=ts}return t?d("span",{className:ai(Ja,Za,c,i),children:[a,s]}):d("a",{...l,"data-test":o,ref:r,href:e,className:ai(Ja,c,i),children:[a,s]})},os=e=>c(A,{...e,sx:{letterSpacing:"normal","&.MuiTab-textColorPrimary.Mui-selected":{color:"var(--colors-gama-500)"},"&.MuiTab-textColorPrimary":{color:"var(--colors-gray-500)"},"&.MuiTab-textColorPrimary.Mui-disabled":{color:"var(--colors-gray-300)"}}}),rs=e=>c($,{...e,TabIndicatorProps:{style:{background:"var(--colors-gama-500)",color:"var(--colors-gama-500)"}},sx:{"& .MuiTabs-scrollButtons":{border:"1px solid var(--colors-delta-500)",width:40,height:40,borderRadius:"10%",display:"none",justifyContent:"center",alignItems:"center",position:"relative",top:2,"& svg":{fontSize:24,color:"var(--colors-delta-700)"},"&:hover":{backgroundColor:"var(--colors-gama-50)"},"&:first-of-type":{marginRight:"8px"},"&:last-of-type":{marginLeft:"8px"},transition:"opacity 0.3s ease, transform 0.3s ease",opacity:0,transform:"scale(0)"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiTabs-scrollButtons:not(.Mui-disabled)":{display:"flex",opacity:1,transform:"scale(1)"}}}),is=e=>c(F,{...e}),as=e=>c(B,{...e,className:ai("flex-row-reverse gap-2.5",e.className),expandIcon:c(Rn,{width:24,height:24}),sx:{...e.sx,backgroundColor:"transparent !important","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-expandIconWrapper:not(.Mui-expanded)":{transform:"rotate(0deg)"}}}),ss=e=>c(V,{...e}),ls=e=>c(q,{...e}),cs=({filterIsActive:e,label:t,size:n="large",variant:o="outlined",...r})=>c(u,{children:d("div",{className:"w-fit h-fit relative",children:[c(ia,{...r,type:"button",startIcon:c(Kn,{width:"large"===n?24:20,height:"large"===n?24:20}),variant:o,size:n,children:t||"Filter"}),e&&c("div",{className:ai("h-2 w-2 bg-gama-400 rounded-full absolute","large"===n?"top-2 right-2":"top-1 right-1")})]})}),ds=()=>{const[e,t]=r(null),n=()=>{t((()=>null))};return{anchorEl:e,onClose:n,onAnchorClick:o=>{e?n():(e=>{t((()=>e.currentTarget))})(o)}}},us=e=>t.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),ps=({filterIsActive:e,popoverContent:n,dataTest:o,disabled:r,size:i="large",variant:a="outlined",popoverProps:s,anchorNode:l,label:p})=>{const{onAnchorClick:h,onClose:f,anchorEl:m}=ds();return d(u,{children:[d("div",{className:"w-fit h-fit relative",children:[l?t.cloneElement(l({isOpen:!!m,onClose:f}),{onClick:h}):c(ia,{type:"button",disabled:r,variant:a,startIcon:c(Kn,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:h,size:i,dataTest:o,children:p||"Filter"}),e&&c("div",{className:ai("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),c(ls,{...s,open:!!m,anchorEl:m,onClose:f,anchorOrigin:(null==s?void 0:s.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==s?void 0:s.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==s?void 0:s.className)||"my-1",children:us(n)?n:n({isOpen:!!m,onClose:f})})]})};var hs,fs,ms={exports:{}},gs={},ys={};
1
+ import*as e from"react";import t,{forwardRef as o,createElement as n,useState as r,useEffect as i,useLayoutEffect as a,useRef as l,useCallback as s}from"react";import{jsx as c,jsxs as d,Fragment as u}from"react/jsx-runtime";import{Badge as p,Chip as h,Tooltip as f,Typography as m,Dialog as g,DialogActions as y,DialogContent as b,DialogTitle as v,Checkbox as x,TextField as w,Select as k,MenuItem as C,Autocomplete as N,Paper as _,Slider as T,Switch as E,Radio as S,RadioGroup as O,FormControl as M,FormControlLabel as I,FormHelperText as j,InputLabel as z,FormGroup as L,Drawer as R,Menu as $,MenuList as P,Tab as A,Tabs as D,Accordion as F,AccordionSummary as B,AccordionDetails as q,Popover as V}from"@mui/material";import{Avatar as H,ClickAwayListener as W,Container as U,Fade as K,FormLabel as G,Paper as Y,Popper as X,Skeleton as J,Stack as Z}from"@mui/material";import{twMerge as Q}from"tailwind-merge";import ee from"prop-types";import{ThemeContext as te}from"@emotion/react";import oe from"react-dom";const ne=(e,t)=>Object.fromEntries(Object.entries(e).filter((([e])=>!t.includes(e))));function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ae(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function le(e){ae(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===re(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function se(e,t){return(se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ce(e,t){ae(2,arguments);var o=le(e),n=ie(t),r=o.getFullYear(),i=o.getDate(),a=new Date(0);a.setFullYear(r,n,15),a.setHours(0,0,0,0);var l=function(e){ae(1,arguments);var t=le(e),o=t.getFullYear(),n=t.getMonth(),r=new Date(0);return r.setFullYear(o,n+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return o.setMonth(n,Math.min(i,l)),o}function de(e,t){if(ae(2,arguments),"object"!==re(t)||null===t)throw new RangeError("values parameter must be an object");var o=le(e);return isNaN(o.getTime())?new Date(NaN):(null!=t.year&&o.setFullYear(t.year),null!=t.month&&(o=ce(o,t.month)),null!=t.date&&o.setDate(ie(t.date)),null!=t.hours&&o.setHours(ie(t.hours)),null!=t.minutes&&o.setMinutes(ie(t.minutes)),null!=t.seconds&&o.setSeconds(ie(t.seconds)),null!=t.milliseconds&&o.setMilliseconds(ie(t.milliseconds)),o)}const ue=e=>de(e,{hours:23,minutes:59,seconds:59,milliseconds:59}),pe=e=>de(e,{hours:0,minutes:0,seconds:0,milliseconds:0});function he(e){return o((function(t,o){const{ownerState:r,...i}=t;return n(e,{...i,ref:o})}))}const fe=({color:e="primary",dataTest:t,...o})=>c(p,{color:e,"data-test":t,...o,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...o.sx}}),me=/^[a-z0-9]+(-[a-z0-9]+)*$/,ge=(e,t,o,n="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),o=r.pop(),i={provider:r.length>0?r[0]:n,prefix:o,name:e};return t&&!ye(i)?null:i}const i=r[0],a=i.split("-");if(a.length>1){const e={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!ye(e)?null:e}if(o&&""===n){const e={provider:n,prefix:"",name:i};return t&&!ye(e,o)?null:e}return null},ye=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(me)||!(t&&""===e.prefix||e.prefix.match(me))||!e.name.match(me)),be=Object.freeze({left:0,top:0,width:16,height:16}),ve=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),xe=Object.freeze({...be,...ve}),we=Object.freeze({...xe,body:"",hidden:!1});function ke(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}(e,t);for(const n in we)n in ve?n in e&&!(n in o)&&(o[n]=ve[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Ce(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let i={};function a(e){i=ke(n[e]||r[e],i)}return a(t),o.forEach(a),ke(e,i)}function Ne(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),o.push(e)}));const n=function(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(o).concat(Object.keys(n))).forEach((function e(t){if(o[t])return r[t]=[];if(!(t in r)){r[t]=null;const o=n[t]&&n[t].parent,i=o&&e(o);i&&(r[t]=[o].concat(i))}return r[t]})),r}(e);for(const r in n){const i=n[r];i&&(t(r,Ce(e,r,i)),o.push(r))}return o}const _e={provider:"",aliases:{},not_found:{},...be};function Te(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function Ee(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Te(e,_e))return null;const o=t.icons;for(const e in o){const t=o[e];if(!e.match(me)||"string"!=typeof t.body||!Te(t,we))return null}const n=t.aliases||Object.create(null);for(const e in n){const t=n[e],r=t.parent;if(!e.match(me)||"string"!=typeof r||!o[r]&&!n[r]||!Te(t,we))return null}return t}const Se=Object.create(null);function Oe(e,t){const o=Se[e]||(Se[e]=Object.create(null));return o[t]||(o[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Me(e,t){return Ee(t)?Ne(t,((t,o)=>{o?e.icons[t]=o:e.missing.add(t)})):[]}let Ie=!1;function je(e){return"boolean"==typeof e&&(Ie=e),Ie}function ze(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Ie&&!t&&!e.prefix){let t=!1;return Ee(e)&&(e.prefix="",Ne(e,((e,o)=>{o&&function(e,t){const o=ge(e,!0,Ie);return!!o&&function(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch{}return!1}(Oe(o.provider,o.prefix),o.name,t)}(e,o)&&(t=!0)}))),t}const o=e.prefix;if(!ye({provider:t,prefix:o,name:"a"}))return!1;return!!Me(Oe(t,o),e)}const Le=Object.freeze({width:null,height:null}),Re=Object.freeze({...Le,...ve}),$e=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Pe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ae(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split($e);if(null===n||!n.length)return e;const r=[];let i=n.shift(),a=Pe.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*o)/o)}else r.push(i);if(i=n.shift(),void 0===i)return r.join("");a=!a}}const De=/\sid="(\S+)"/g,Fe="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Be=0;function qe(e,t=Fe){const o=[];let n;for(;n=De.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach((o=>{const n="function"==typeof t?t(o):t+(Be++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+n+r+"$3")})),e=e.replace(new RegExp(r,"g"),"")}const Ve=Object.create(null);function He(e){return Ve[e]||Ve[""]}function We(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Ue=Object.create(null),Ke=["https://api.simplesvg.com","https://api.unisvg.com"],Ge=[];for(;Ke.length>0;)1===Ke.length||Math.random()>.5?Ge.push(Ke.shift()):Ge.push(Ke.pop());function Ye(e,t){const o=We(t);return null!==o&&(Ue[e]=o,!0)}function Xe(e){return Ue[e]}Ue[""]=We({resources:["https://api.iconify.design"].concat(Ge)});let Je=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const Ze={prepare:(e,t,o)=>{const n=[],r=function(e,t){const o=Xe(e);if(!o)return 0;let n;if(o.maxURL){let e=0;o.resources.forEach((t=>{e=Math.max(e,t.length)}));const r=t+".json?icons=";n=o.maxURL-e-o.path.length-r.length}else n=0;return n}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},l=0;return o.forEach(((o,s)=>{l+=o.length+1,l>=r&&s>0&&(n.push(a),a={type:i,provider:e,prefix:t,icons:[]},l=o.length),a.icons.push(o)})),n.push(a),n},send:(e,t,o)=>{if(!Je)return void o("abort",424);let n=function(e){if("string"==typeof e){const t=Xe(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");n+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;n+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let r=503;Je(e+n).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{o(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{o("success",e)})):setTimeout((()=>{404===e?o("abort",e):o("next",r)}))})).catch((()=>{o("next",r)}))}};function Qe(e,t){e.forEach((e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter((e=>e.id!==t)))}))}let et=0;var tt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ot(e,t,o,n){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let s,c="pending",d=0,u=null,p=[],h=[];function f(){u&&(clearTimeout(u),u=null)}function m(){"pending"===c&&(c="aborted"),f(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function y(){c="failed",h.forEach((e=>{e(void 0,s)}))}function b(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function v(){if("pending"!==c)return;f();const n=a.shift();if(void 0===n)return p.length?void(u=setTimeout((()=>{f(),"pending"===c&&(b(),y())}),e.timeout)):void y();const r={status:"pending",resource:n,callback:(t,o)=>{!function(t,o,n){const r="success"!==o;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return s=n,void y();if(r)return s=n,void(p.length||(a.length?v():y()));if(f(),b(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}c="completed",h.forEach((e=>{e(n)}))}(r,t,o)}};p.push(r),d++,u=setTimeout(v,e.rotate),o(n,t,r.callback)}return"function"==typeof n&&h.push(n),setTimeout(v),function(){return{startTime:l,payload:t,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:m}}}function nt(e){const t={...tt,...e};let o=[];function n(){o=o.filter((e=>"pending"===e().status))}return{query:function(e,r,i){const a=ot(t,e,r,((e,t)=>{n(),i&&i(e,t)}));return o.push(a),a},find:function(e){return o.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:n}}function rt(){}const it=Object.create(null);function at(e,t,o){let n,r;if("string"==typeof e){const t=He(e);if(!t)return o(void 0,424),rt;r=t.send;const i=function(e){if(!it[e]){const t=Xe(e);if(!t)return;const o={config:t,redundancy:nt(t)};it[e]=o}return it[e]}(e);i&&(n=i.redundancy)}else{const t=We(e);if(t){n=nt(t);const o=He(e.resources?e.resources[0]:"");o&&(r=o.send)}}return n&&r?n.query(t,r,o)().abort:(o(void 0,424),rt)}const lt="iconify2",st="iconify",ct=st+"-count",dt=st+"-version",ut=36e5,pt=168;function ht(e,t){try{return e.getItem(t)}catch{}}function ft(e,t,o){try{return e.setItem(t,o),!0}catch{}}function mt(e,t){try{e.removeItem(t)}catch{}}function gt(e,t){return ft(e,ct,t.toString())}function yt(e){return parseInt(ht(e,ct))||0}const bt={local:!0,session:!0},vt={local:new Set,session:new Set};let xt=!1;let wt=typeof window>"u"?{}:window;function kt(e){const t=e+"Storage";try{if(wt&&wt[t]&&"number"==typeof wt[t].length)return wt[t]}catch{}bt[e]=!1}function Ct(e,t){const o=kt(e);if(!o)return;const n=ht(o,dt);if(n!==lt){if(n){const e=yt(o);for(let t=0;t<e;t++)mt(o,st+t.toString())}return ft(o,dt,lt),void gt(o,0)}const r=Math.floor(Date.now()/ut)-pt,i=e=>{const n=st+e.toString(),i=ht(o,n);if("string"==typeof i){try{const o=JSON.parse(i);if("object"==typeof o&&"number"==typeof o.cached&&o.cached>r&&"string"==typeof o.provider&&"object"==typeof o.data&&"string"==typeof o.data.prefix&&t(o,e))return!0}catch{}mt(o,n)}};let a=yt(o);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,gt(o,a)):vt[e].add(t))}function Nt(){if(!xt){xt=!0;for(const e in bt)Ct(e,(e=>{const t=e.data,o=Oe(e.provider,t.prefix);if(!Me(o,t).length)return!1;const n=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,n):n,!0}))}}function _t(e,t){function o(o){let n;if(!bt[o]||!(n=kt(o)))return;const r=vt[o];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=yt(n),!gt(n,i+1))return;const a={cached:Math.floor(Date.now()/ut),provider:e.provider,data:t};return ft(n,st+i.toString(),JSON.stringify(a))}xt||Nt(),t.lastModified&&!function(e,t){const o=e.lastModifiedCached;if(o&&o>=t)return o===t;if(e.lastModifiedCached=t,o)for(const o in bt)Ct(o,(o=>{const n=o.data;return o.provider!==e.provider||n.prefix!==e.prefix||n.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,o("local")||o("session"))}function Tt(){}function Et(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const n=e.provider,r=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==r)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:n,prefix:r,name:a});else{if(!e.missing.has(a))return o=!0,!0;i.missing.push({provider:n,prefix:r,name:a})}return!1})),i.pending.length!==a&&(o||Qe([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const St=(e,t)=>{const o=function(e,t=!0,o=!1){const n=[];return e.forEach((e=>{const r="string"==typeof e?ge(e,t,o):e;r&&n.push(r)})),n}(e,!0,je()),n=function(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let n={provider:"",prefix:"",name:""};return e.forEach((e=>{if(n.name===e.name&&n.prefix===e.prefix&&n.provider===e.provider)return;n=e;const r=e.provider,i=e.prefix,a=e.name,l=o[r]||(o[r]=Object.create(null)),s=l[i]||(l[i]=Oe(r,i));let c;c=a in s.icons?t.loaded:""===i||s.missing.has(a)?t.missing:t.pending;const d={provider:r,prefix:i,name:a};c.push(d)})),t}(o);if(!n.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(n.loaded,n.missing,n.pending,Tt)})),()=>{e=!1}}const r=Object.create(null),i=[];let a,l;return n.pending.forEach((e=>{const{provider:t,prefix:o}=e;if(o===l&&t===a)return;a=t,l=o,i.push(Oe(t,o));const n=r[t]||(r[t]=Object.create(null));n[o]||(n[o]=[])})),n.pending.forEach((e=>{const{provider:t,prefix:o,name:n}=e,i=Oe(t,o),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(n)||(a.add(n),r[t][o].push(n))})),i.forEach((e=>{const{provider:t,prefix:o}=e;r[t][o].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:o}=e,n=e.iconsToLoad;let r;delete e.iconsToLoad,n&&(r=He(t))&&r.prepare(t,o,n).forEach((o=>{at(t,o,(t=>{if("object"!=typeof t)o.icons.forEach((t=>{e.missing.add(t)}));else try{const o=Me(e,t);if(!o.length)return;const n=e.pendingIcons;n&&o.forEach((e=>{n.delete(e)})),_t(e,t)}catch(e){console.error(e)}Et(e)}))}))})))}(e,r[t][o])})),t?function(e,t,o){const n=et++,r=Qe.bind(null,o,n);if(!t.pending.length)return r;const i={id:n,icons:t,callback:e,abort:r};return o.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),r}(t,n,i):Tt};const Ot=/[\s,]+/;function Mt(e,t){t.split(Ot).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function It(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:n(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-o.length));return isNaN(r)?0:(r/=t,r%1==0?n(r):0)}}return t}function jt(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let zt;function Lt(e){return void 0===zt&&function(){try{zt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{zt=null}}(),zt?zt.createHTML(e):e}const Rt={...Re,inline:!1},$t={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Pt={display:"inline-block"},At={backgroundColor:"currentColor"},Dt={backgroundColor:"transparent"},Ft={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Bt={WebkitMask:At,mask:At,background:Dt};for(const e in Bt){const t=Bt[e];for(const o in Ft)t[e+o]=Ft[o]}const qt={...Rt,inline:!0};function Vt(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ht=(e,o,n,r)=>{const i=n?qt:Rt,a=function(e,t){const o={...e};for(const e in t){const n=t[e],r=typeof n;e in Le?(null===n||n&&("string"===r||"number"===r))&&(o[e]=n):r===typeof o[e]&&(o[e]="rotate"===e?n%4:n)}return o}(i,o),l=o.mode||"svg",s={},c=o.style||{},d={..."svg"===l?$t:{},ref:r};for(let e in o){const t=o[e];if(void 0!==t)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":a[e]=!0===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&Mt(a,t);break;case"color":s.color=t;break;case"rotate":"string"==typeof t?a[e]=It(t):"number"==typeof t&&(a[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete d["aria-hidden"];break;default:void 0===i[e]&&(d[e]=t)}}const u=function(e,t){const o={...xe,...e},n={...Re,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,n].forEach((e=>{const t=[],o=e.hFlip,n=e.vFlip;let a,l=e.rotate;switch(o?n?l+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),l<0&&(l-=4*Math.floor(l/4)),l%=4,l){case 1:a=r.height/2+r.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:a=r.width/2+r.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}l%2==1&&(r.left!==r.top&&(a=r.left,r.left=r.top,r.top=a),r.width!==r.height&&(a=r.width,r.width=r.height,r.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=n.width,l=n.height,s=r.width,c=r.height;let d,u;null===a?(u=null===l?"1em":"auto"===l?c:l,d=Ae(u,s/c)):(d="auto"===a?s:a,u=null===l?Ae(d,c/s):"auto"===l?c:l);const p={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return h("width",d),h("height",u),p.viewBox=r.left.toString()+" "+r.top.toString()+" "+s.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=u.attributes;if(a.inline&&(s.verticalAlign="-0.125em"),"svg"===l){d.style={...s,...c},Object.assign(d,p);let e=0,n=o.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),d.dangerouslySetInnerHTML={__html:Lt(qe(u.body,n?()=>n+"ID"+e++:"iconifyReact"))},t.createElement("svg",d)}const{body:h,width:f,height:m}=e,g="mask"===l||"bg"!==l&&-1!==h.indexOf("currentColor"),y=function(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)o+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}(h,{...p,width:f+"",height:m+""});return d.style={...s,"--svg":jt(y),width:Vt(p.width),height:Vt(p.height),...Pt,...g?At:Dt,...c},t.createElement("span",d)};var Wt;if(je(!0),Wt=Ze,Ve[""]=Wt,typeof document<"u"&&typeof window<"u"){Nt();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!ze(e))&&console.error(o)}catch{console.error(o)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;Ye(e,n)||console.error(o)}catch{console.error(o)}}}}class Ut extends t.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,o=this.props.icon;if("object"==typeof o&&null!==o&&"string"==typeof o.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:o}));let n;if("string"!=typeof o||null===(n=ge(o,!1,!0)))return this._abortLoading(),void this._setData(null);const r=function(e){const t="string"==typeof e?ge(e,!0,Ie):e;if(t){const e=Oe(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}(n);if(r){if(this._icon!==o||null===t.icon){this._abortLoading(),this._icon=o;const e=["iconify"];""!==n.prefix&&e.push("iconify--"+n.prefix),""!==n.provider&&e.push("iconify--"+n.provider),this._setData({data:r,classes:e}),this.props.onLoad&&this.props.onLoad(o)}}else(!this._loading||this._loading.name!==o)&&(this._abortLoading(),this._icon="",this._setData(null),null!==r&&(this._loading={name:o,abort:St([n],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,o=this.state.icon;if(null===o)return e.children?e.children:t.createElement("span",{});let n=e;return o.classes&&(n={...e,className:("string"==typeof e.className?e.className+" ":"")+o.classes.join(" ")}),Ht({...xe,...o.data},n,e._inline,e._ref)}}const Kt=t.forwardRef((function(e,o){const n={...e,_ref:o,_inline:!1};return t.createElement(Ut,n)}));t.forwardRef((function(e,o){const n={...e,_ref:o,_inline:!0};return t.createElement(Ut,n)}));const Gt="_icon_1czju_5",Yt=({width:e=20,height:t=20,className:o="",icon:n,onClick:r,color:i,vFlip:a=!1})=>c(Kt,{onClick:r,icon:n,width:e,height:t,className:`${Gt} ${o}`,color:i,vFlip:a}),Xt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:bell-outline",width:e,height:t,className:o,onClick:n,color:r}),Jt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:bell",width:e,height:t,className:o,onClick:n,color:r}),Zt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"charm:menu-hamburger",width:e,height:t,className:o,onClick:n,color:r}),Qt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-right",width:e,height:t,className:o,onClick:n,color:r}),eo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-left",width:e,height:t,className:o,onClick:n,color:r}),to=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-double-left",width:e,height:t,className:o,onClick:n,color:r}),oo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-double-right",width:e,height:t,className:o,onClick:n,color:r}),no=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:o,onClick:n,color:r}),ro=({width:e=20,height:t=20,className:o="",onClick:n,color:r=""})=>c(Yt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:o,onClick:n,color:r}),io=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:view-dashboard",width:e,height:t,className:o,onClick:n,color:r}),ao=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:o,onClick:n,color:r}),lo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-people-alt",width:e,height:t,className:o,onClick:n,color:r}),so=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:sharp-people",width:e,height:t,className:o,onClick:n,color:r});function co(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4zM12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8"})})}function uo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm0-2h16V5H4zm5-2q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9zM4 19V5z"})})}function po(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm5-4q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9z"})})}const ho=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:calendar-blank",width:e,height:t,className:o,onClick:n,color:r}),fo=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),mo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:calendar-range",width:e,height:t,className:o,onClick:n,color:r}),go=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-assignment",width:e,height:t,className:o,onClick:n,color:r}),yo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:o,onClick:n,color:r}),bo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:o,onClick:n,color:r}),vo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:message-processing",width:e,height:t,className:o,onClick:n,color:r}),xo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:message-processing-outline",width:e,height:t,className:o,onClick:n,color:r}),wo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:report-box",width:e,height:t,className:o,onClick:n,color:r}),ko=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:report-box-outline",width:e,height:t,className:o,onClick:n,color:r}),Co=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:settings",width:e,height:t,className:o,onClick:n,color:r}),No=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:settings-outline",width:e,height:t,className:o,onClick:n,color:r}),_o=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-sync",width:e,height:t,className:o,onClick:n,color:r,vFlip:!0}),To=({color:e="black",size:t="20",className:o=""})=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:o,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[c("path",{d:"M14.9875 14.1667C16.1366 14.1667 17.0691 13.2334 17.0691 12.0834C17.0691 10.9334 16.1366 10.0001 14.9875 10.0001C13.8385 10.0001 12.9059 10.9334 12.9059 12.0834C12.9059 13.2334 13.8385 14.1667 14.9875 14.1667ZM14.9875 15.2084C13.597 15.2084 10.8243 15.9084 10.8243 17.2917V17.8167C10.8243 18.1001 11.0575 18.3417 11.3489 18.3417H18.6345C18.9176 18.3417 19.159 18.1084 19.159 17.8167V17.2917C19.159 15.9084 16.3863 15.2084 14.9958 15.2084H14.9875Z",fill:e}),c("path",{d:"M4.99584 5.83342C6.14488 5.83342 7.07744 4.90008 7.07744 3.75008C7.07744 2.60008 6.14488 1.66675 4.99584 1.66675C3.8468 1.66675 2.91424 2.60008 2.91424 3.75008C2.91424 4.90008 3.8468 5.83342 4.99584 5.83342ZM4.99584 6.87508C3.60533 6.87508 0.832642 7.57508 0.832642 8.95842V9.48342C0.832642 9.76675 1.06578 10.0084 1.3572 10.0084H8.6428C8.9259 10.0084 9.16736 9.77508 9.16736 9.48342V8.95842C9.16736 7.57508 6.39467 6.87508 5.00417 6.87508H4.99584Z",fill:e}),c("path",{d:"M9.15156 16.4036V16.2574H6.61874C6.14757 16.2574 5.75868 15.8773 5.75868 15.4167V12.8729L7.04503 14.101L7.77047 13.3773L5.10802 10.8334L2.49792 13.4431L3.23832 14.1521L4.4798 12.9094H4.49476V15.4167C4.49476 16.5644 5.45204 17.5001 6.62622 17.5001H9.15904V16.4036H9.15156Z",fill:e}),c("path",{d:"M9.99915 3.59657V3.74277H13.3646C13.8358 3.74277 14.2247 4.12289 14.2247 4.58341V7.12727L12.9383 5.8992L12.2129 6.62289L14.8753 9.16675L17.4854 6.5571L16.745 5.84803L15.5035 7.09072H15.4886V4.58341C15.4886 3.43575 14.5313 2.50008 13.3571 2.50008H9.99168V3.59657H9.99915Z",fill:e})]}),Eo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:round-person",width:e,height:t,className:o,onClick:n,color:r}),So=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:round-person-outline",width:e,height:t,className:o,onClick:n,color:r}),Oo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:dots-vertical",width:e,height:t,className:o,onClick:n,color:r}),Mo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-search",width:e,height:t,className:o,onClick:n,color:r}),Io=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:o,onClick:n,color:r}),jo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:o,onClick:n,color:r}),zo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:o,onClick:n,color:r}),Lo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"eva:archive-fill",width:e,height:t,className:o,onClick:n,color:r}),Ro=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-download",width:e,height:t,className:o,onClick:n,color:r}),$o=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:o,onClick:n,color:r}),Po=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-down",width:e,height:t,className:o,onClick:n,color:r}),Ao=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-up",width:e,height:t,className:o,onClick:n,color:r}),Do=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-close",width:e,height:t,className:o,onClick:n,color:r}),Fo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-check",width:e,height:t,className:o,onClick:n,color:r}),Bo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:perm-media",width:e,height:t,className:o,onClick:n,color:r}),qo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:o,onClick:n,color:r}),Vo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:inbox",width:e,height:t,className:o,onClick:n,color:r}),Ho=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:inbox-outline",width:e,height:t,className:o,onClick:n,color:r}),Wo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:sharp-topic",width:e,height:t,className:o,onClick:n,color:r}),Uo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:o,onClick:n,color:r}),Ko=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:o,onClick:n,color:r}),Go=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:delete-outline",width:e,height:t,className:o,onClick:n,color:r}),Yo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:filter-variant",width:e,height:t,className:o,onClick:n,color:r}),Xo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:lock-outline",width:e,height:t,className:o,onClick:n,color:r}),Jo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-dvr",width:e,height:t,className:o,onClick:n,color:r}),Zo=({width:e=20,height:t=20,className:o="",onClick:n,color:r="var(--colors-error-500)"})=>c(Yt,{icon:"mdi:error-outline",width:e,height:t,className:o,onClick:n,color:r}),Qo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:replay",width:e,height:t,className:o,onClick:n,color:r}),en=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:o,onClick:n,color:r}),tn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-link",width:e,height:t,className:o,onClick:n,color:r}),on=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:o,onClick:n,color:r}),nn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:o,onClick:n,color:r}),rn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:list-status",width:e,height:t,className:o,onClick:n,color:r}),an=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:o,onClick:n,color:r}),ln=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ri:list-settings-line",width:e,height:t,className:o,onClick:n,color:r}),sn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"pajamas:earth",width:e,height:t,className:o,onClick:n,color:r}),cn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:o,onClick:n,color:r}),dn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:pencil-outline",width:e,height:t,className:o,onClick:n,color:r});function un(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const pn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-calendar-month",width:e,height:t,className:o,onClick:n,color:r});function hn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.86 10.31C16.23 21.22 14.28 22.45 12 23c-2.56-.61-4.7-2.07-6.42-4.37C3.86 16.34 3 13.8 3 11V5l9-4l9 4v6c0 2.39-.64 4.61-1.92 6.67l-2.91-2.91c.52-.79.83-1.76.83-2.76a5 5 0 0 0-5-5a5 5 0 0 0-5 5a5 5 0 0 0 5 5c1 0 1.97-.31 2.76-.83z"})})}const fn=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),mn=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function gn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18 8H6V6h12zm0 3H6V9h12zm0 3H6v-2h12zm4-10a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14l4 4z"})})}function yn(e){return d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[c("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),c("path",{fill:"currentColor",d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"}),c("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),c("path",{fill:"currentColor",d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"})]})}function bn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4q0 .375-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"})})}function vn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18 12.998h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5v-5a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2"})})}function xn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"})})}function wn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062m0-2.375l.725-.725L15.9 15.2l-.725.725zM5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22m0-2.4l4.25-4.25v-.725H8.65l-4.25 4.25zm0 0l-.725-.725l.375.35zm13.725 0l.725-.725z"})})}function kn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062M5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22"})})}function Cn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"})})}function Nn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M20 6c.58 0 1.05.2 1.42.59c.38.41.58.86.58 1.41v11c0 .55-.2 1-.58 1.41c-.37.39-.84.59-1.42.59H4c-.58 0-1.05-.2-1.42-.59C2.2 20 2 19.55 2 19V8c0-.55.2-1 .58-1.41C2.95 6.2 3.42 6 4 6h4V4c0-.58.2-1.05.58-1.42C8.95 2.2 9.42 2 10 2h4c.58 0 1.05.2 1.42.58c.38.37.58.84.58 1.42v2zM4 8v11h16V8zm10-2V4h-4v2z"})})}const _n=({dataTest:e,readOnly:t,...o})=>c(h,{...o,"data-test":e,deleteIcon:c(Do,{height:18,width:18}),sx:{border:"1px solid",backgroundColor:"white",borderColor:"var(--colors-delta-200)",color:"var(--colors-delta-800)",...t?{pointerEvents:"none","&:hover":{borderColor:"var(--colors-delta-200)",backgroundColor:"white"}}:{"&:hover":{borderColor:"var(--colors-gama-200)",backgroundColor:"var(--colors-gama-50)"},"&:focus":{outline:"none",borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)"},"&:active":{borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 2px inset var(--colors-gama-400)"},"& .MuiChip-deleteIcon":{border:"1px solid",borderColor:"var(--colors-delta-100)",color:"var(--colors-delta-700)",backgroundColor:"var(--colors-delta-50)",borderRadius:"50%","&:hover":{borderColor:"var(--colors-delta-100)",backgroundColor:"var(--colors-delta-50)",color:"var(--colors-delta-700)"}}},...o.sx}}),Tn=({type:e="checkbox",checked:t,...o})=>{const n="checkbox"===e,r=n?Na:$a,i=!o.readOnly&&!n&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return c(_n,{avatar:c(r,{dataTest:o.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...o,sx:{...i&&{outline:"none",borderColor:"var(--colors-gama-400)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)","&:hover":a},...o.readOnly&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-delta-300)"},"& .MuiCheckbox-root, & .MuiRadio-root":{color:"var(--colors-delta-300)"},"& .Mui-checked":{color:"var(--colors-delta-300)"}}},...t&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-gama-500)"}}},"&:focus:hover":a,...o.sx}})};function En(){return En=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},En.apply(this,arguments)}function Sn(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const On=!1;var Mn="production"!==process.env.NODE_ENV?ee.oneOfType([ee.number,ee.shape({enter:ee.number,exit:ee.number,appear:ee.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&ee.oneOfType([ee.string,ee.shape({enter:ee.string,exit:ee.string,active:ee.string}),ee.shape({enter:ee.string,enterDone:ee.string,enterActive:ee.string,exit:ee.string,exitDone:ee.string,exitActive:ee.string})]);const In=t.createContext(null);var jn="unmounted",zn="exited",Ln="entering",Rn="entered",$n="exiting",Pn=function(e){function o(t,o){var n;n=e.call(this,t,o)||this;var r,i=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(r=zn,n.appearStatus=Ln):r=Rn:r=t.unmountOnExit||t.mountOnEnter?jn:zn,n.state={status:r},n.nextCallback=null,n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,se(e,t)}(o,e),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===jn?{status:zn}:null};var n=o.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==Ln&&o!==Rn&&(t=Ln):(o===Ln||o===Rn)&&(t=$n)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ln){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:oe.findDOMNode(this);o&&function(e){e.scrollTop}(o)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zn&&this.setState({status:jn})},n.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[oe.findDOMNode(this),n],i=r[0],a=r[1],l=this.getTimeouts(),s=n?l.appear:l.enter;!e&&!o||On?this.safeSetState({status:Rn},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ln},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Rn},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:oe.findDOMNode(this);t&&!On?(this.props.onExit(n),this.safeSetState({status:$n},(function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:zn},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:zn},(function(){e.props.onExited(n)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:oe.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===jn)return null;var o=this.props,n=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var r=Sn(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(In.Provider,{value:null},"function"==typeof n?n(e,r):t.cloneElement(t.Children.only(n),r))},o}(t.Component);function An(){}Pn.contextType=In,Pn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:ee.shape({current:typeof Element>"u"?ee.any:function(e,t,o,n,r,i){var a=e[t];return ee.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,o,n,r,i)}}),children:ee.oneOfType([ee.func.isRequired,ee.element.isRequired]).isRequired,in:ee.bool,mountOnEnter:ee.bool,unmountOnExit:ee.bool,appear:ee.bool,enter:ee.bool,exit:ee.bool,timeout:function(e){var t=Mn;e.addEndListener||(t=t.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return t.apply(void 0,[e].concat(n))},addEndListener:ee.func,onEnter:ee.func,onEntering:ee.func,onEntered:ee.func,onExit:ee.func,onExiting:ee.func,onExited:ee.func}:{},Pn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:An,onEntering:An,onEntered:An,onExit:An,onExiting:An,onExited:An},Pn.UNMOUNTED=jn,Pn.EXITED=zn,Pn.ENTERING=Ln,Pn.ENTERED=Rn,Pn.EXITING=$n;const Dn=Pn;function Fn(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function Bn(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function qn(e){if(!Bn(e))return e;const t={};return Object.keys(e).forEach((o=>{t[o]=qn(e[o])})),t}function Vn(e,t,o={clone:!0}){const n=o.clone?En({},e):e;return Bn(e)&&Bn(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(Bn(t[r])&&r in e&&Bn(e[r])?n[r]=Vn(e[r],t[r],o):o.clone?n[r]=Bn(t[r])?qn(t[r]):t[r]:n[r]=t[r])})),n}function Hn(e,t,o,n,r){const i=e[t],a=r||t;if(null==i||typeof window>"u")return null;let l;const s=i.type;return"function"==typeof s&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(s)&&(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Wn=Fn(ee.element,Hn);Wn.isRequired=Fn(ee.element.isRequired,Hn);const Un=Wn;function Kn(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Gn(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Kn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Yn=e=>e,Xn=(()=>{let e=Yn;return{configure(t){e=t},generate:t=>e(t),reset(){e=Yn}}})(),Jn=Xn,Zn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Qn(e,t,o="Mui"){const n=Zn[t];return n?`${o}-${n}`:`${Jn.generate(e)}-${t}`}const er=["values","unit","step"],tr=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>En({},e,{[t.key]:t.val})),{})};const or={borderRadius:4},nr="production"!==process.env.NODE_ENV?ee.oneOfType([ee.number,ee.string,ee.object,ee.array]):{};function rr(e,t){return t?Vn(e,t,{clone:!1}):e}const ir={xs:0,sm:600,md:900,lg:1200,xl:1536},ar={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ir[e]}px)`};function lr(e,t,o){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||ar;return t.reduce(((n,r,i)=>(n[e.up(e.keys[i])]=o(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||ar;return Object.keys(t).reduce(((n,r)=>{if(-1!==Object.keys(e.values||ir).indexOf(r)){n[e.up(r)]=o(t[r],r)}else{const e=r;n[e]=t[e]}return n}),{})}return o(t)}function sr(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=o)return o}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function cr(e,t,o,n=o){let r;return r="function"==typeof e?e(o):Array.isArray(e)?e[o]||n:sr(e,o)||n,t&&(r=t(r,n,e)),r}function dr(e){const{prop:t,cssProperty:o=e.prop,themeKey:n,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=sr(e.theme,n)||{};return lr(e,i,(e=>{let n=cr(a,r,e);return e===n&&"string"==typeof e&&(n=cr(a,r,`${t}${"default"===e?"":Gn(e)}`,e)),!1===o?n:{[o]:n}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:nr}:{},i.filterProps=[t],i}const ur={m:"margin",p:"padding"},pr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},fr=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!hr[e])return[e];e=hr[e]}const[t,o]=e.split(""),n=ur[t],r=pr[o]||"";return Array.isArray(r)?r.map((e=>n+e)):[n+r]})),mr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yr=[...mr,...gr];function br(e,t,o,n){var r;const i=null!=(r=sr(e,t,!1))?r:o;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function vr(e){return br(e,"spacing",8,"spacing")}function xr(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function wr(e,t,o,n){if(-1===t.indexOf(o))return null;const r=function(e,t){return o=>e.reduce(((e,n)=>(e[n]=xr(t,o),e)),{})}(fr(o),n);return lr(e,e[o],r)}function kr(e,t){const o=vr(e.theme);return Object.keys(e).map((n=>wr(e,t,n,o))).reduce(rr,{})}function Cr(e){return kr(e,mr)}function Nr(e){return kr(e,gr)}function _r(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,n)=>t[n]?rr(o,t[n](e)):o),{});return o.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function Tr(e){return"number"!=typeof e?e:`${e}px solid`}Cr.propTypes="production"!==process.env.NODE_ENV?mr.reduce(((e,t)=>(e[t]=nr,e)),{}):{},Cr.filterProps=mr,Nr.propTypes="production"!==process.env.NODE_ENV?gr.reduce(((e,t)=>(e[t]=nr,e)),{}):{},Nr.filterProps=gr,"production"!==process.env.NODE_ENV&&yr.reduce(((e,t)=>(e[t]=nr,e)),{});const Er=dr({prop:"border",themeKey:"borders",transform:Tr}),Sr=dr({prop:"borderTop",themeKey:"borders",transform:Tr}),Or=dr({prop:"borderRight",themeKey:"borders",transform:Tr}),Mr=dr({prop:"borderBottom",themeKey:"borders",transform:Tr}),Ir=dr({prop:"borderLeft",themeKey:"borders",transform:Tr}),jr=dr({prop:"borderColor",themeKey:"palette"}),zr=dr({prop:"borderTopColor",themeKey:"palette"}),Lr=dr({prop:"borderRightColor",themeKey:"palette"}),Rr=dr({prop:"borderBottomColor",themeKey:"palette"}),$r=dr({prop:"borderLeftColor",themeKey:"palette"}),Pr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=br(e.theme,"shape.borderRadius",4,"borderRadius"),o=e=>({borderRadius:xr(t,e)});return lr(e,e.borderRadius,o)}return null};Pr.propTypes="production"!==process.env.NODE_ENV?{borderRadius:nr}:{},Pr.filterProps=["borderRadius"],_r(Er,Sr,Or,Mr,Ir,jr,zr,Lr,Rr,$r,Pr);const Ar=e=>{if(void 0!==e.gap&&null!==e.gap){const t=br(e.theme,"spacing",8,"gap"),o=e=>({gap:xr(t,e)});return lr(e,e.gap,o)}return null};Ar.propTypes="production"!==process.env.NODE_ENV?{gap:nr}:{},Ar.filterProps=["gap"];const Dr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=br(e.theme,"spacing",8,"columnGap"),o=e=>({columnGap:xr(t,e)});return lr(e,e.columnGap,o)}return null};Dr.propTypes="production"!==process.env.NODE_ENV?{columnGap:nr}:{},Dr.filterProps=["columnGap"];const Fr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=br(e.theme,"spacing",8,"rowGap"),o=e=>({rowGap:xr(t,e)});return lr(e,e.rowGap,o)}return null};Fr.propTypes="production"!==process.env.NODE_ENV?{rowGap:nr}:{},Fr.filterProps=["rowGap"];function Br(e,t){return"grey"===t?t:e}_r(Ar,Dr,Fr,dr({prop:"gridColumn"}),dr({prop:"gridRow"}),dr({prop:"gridAutoFlow"}),dr({prop:"gridAutoColumns"}),dr({prop:"gridAutoRows"}),dr({prop:"gridTemplateColumns"}),dr({prop:"gridTemplateRows"}),dr({prop:"gridTemplateAreas"}),dr({prop:"gridArea"}));function qr(e){return e<=1&&0!==e?100*e+"%":e}_r(dr({prop:"color",themeKey:"palette",transform:Br}),dr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Br}),dr({prop:"backgroundColor",themeKey:"palette",transform:Br}));const Vr=dr({prop:"width",transform:qr}),Hr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,n,r;return{maxWidth:(null==(o=e.theme)||null==(n=o.breakpoints)||null==(r=n.values)?void 0:r[t])||ir[t]||qr(t)}};return lr(e,e.maxWidth,t)}return null};Hr.filterProps=["maxWidth"];const Wr=dr({prop:"minWidth",transform:qr}),Ur=dr({prop:"height",transform:qr}),Kr=dr({prop:"maxHeight",transform:qr}),Gr=dr({prop:"minHeight",transform:qr});dr({prop:"size",cssProperty:"width",transform:qr}),dr({prop:"size",cssProperty:"height",transform:qr});_r(Vr,Hr,Wr,Ur,Kr,Gr,dr({prop:"boxSizing"}));const Yr={border:{themeKey:"borders",transform:Tr},borderTop:{themeKey:"borders",transform:Tr},borderRight:{themeKey:"borders",transform:Tr},borderBottom:{themeKey:"borders",transform:Tr},borderLeft:{themeKey:"borders",transform:Tr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Pr},color:{themeKey:"palette",transform:Br},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Br},backgroundColor:{themeKey:"palette",transform:Br},p:{style:Nr},pt:{style:Nr},pr:{style:Nr},pb:{style:Nr},pl:{style:Nr},px:{style:Nr},py:{style:Nr},padding:{style:Nr},paddingTop:{style:Nr},paddingRight:{style:Nr},paddingBottom:{style:Nr},paddingLeft:{style:Nr},paddingX:{style:Nr},paddingY:{style:Nr},paddingInline:{style:Nr},paddingInlineStart:{style:Nr},paddingInlineEnd:{style:Nr},paddingBlock:{style:Nr},paddingBlockStart:{style:Nr},paddingBlockEnd:{style:Nr},m:{style:Cr},mt:{style:Cr},mr:{style:Cr},mb:{style:Cr},ml:{style:Cr},mx:{style:Cr},my:{style:Cr},margin:{style:Cr},marginTop:{style:Cr},marginRight:{style:Cr},marginBottom:{style:Cr},marginLeft:{style:Cr},marginX:{style:Cr},marginY:{style:Cr},marginInline:{style:Cr},marginInlineStart:{style:Cr},marginInlineEnd:{style:Cr},marginBlock:{style:Cr},marginBlockStart:{style:Cr},marginBlockEnd:{style:Cr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ar},rowGap:{style:Fr},columnGap:{style:Dr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:qr},maxWidth:{style:Hr},minWidth:{transform:qr},height:{transform:qr},maxHeight:{transform:qr},minHeight:{transform:qr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Xr=Yr;const Jr=function(){function e(e,t,o,n){const r={[e]:t,theme:o},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:c}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const d=sr(o,l)||{};return c?c(r):lr(r,t,(t=>{let o=cr(d,s,t);return t===o&&"string"==typeof t&&(o=cr(d,s,`${e}${"default"===t?"":Gn(t)}`,t)),!1===a?o:{[a]:o}}))}return function t(o){var n;const{sx:r,theme:i={}}=o||{};if(!r)return null;const a=null!=(n=i.unstable_sxConfig)?n:Xr;function l(o){let n=o;if("function"==typeof o)n=o(i);else if("object"!=typeof o)return o;if(!n)return null;const r=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(i.breakpoints),l=Object.keys(r);let s=r;return Object.keys(n).forEach((o=>{const r=function(e,t){return"function"==typeof e?e(t):e}(n[o],i);if(null!=r)if("object"==typeof r)if(a[o])s=rr(s,e(o,r,i,a));else{const e=lr({theme:i},r,(e=>({[o]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(e,r)?s=rr(s,e):s[o]=t({sx:r,theme:i})}else s=rr(s,e(o,r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(r)?r.map(l):l(r)}}();Jr.filterProps=["sx"];const Zr=Jr,Qr=["breakpoints","palette","spacing","shape"];function ei(e={},...t){const{breakpoints:o={},palette:n={},spacing:r,shape:i={}}=e,a=Sn(e,Qr),l=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:n=5}=e,r=Sn(e,er),i=tr(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${o})`}function c(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-n/100}${o})`}return En({keys:a,values:i,up:l,down:s,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},r)}(o),s=function(e=8){if(e.mui)return e;const t=vr({spacing:e}),o=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" "));return o.mui=!0,o}(r);let c=Vn({breakpoints:l,direction:"ltr",components:{},palette:En({mode:"light"},n),spacing:s,shape:En({},or,i)},a);return c=t.reduce(((e,t)=>Vn(e,t)),c),c.unstable_sxConfig=En({},Xr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Zr({sx:e,theme:this})},c}function ti(t=null){const o=e.useContext(te);return!o||function(e){return 0===Object.keys(e).length}(o)?t:o}const oi=ei();function ni(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=ni(e[t]))&&(n&&(n+=" "),n+=o);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ri(){for(var e,t,o=0,n="";o<arguments.length;)(e=arguments[o++])&&(t=ni(e))&&(n&&(n+=" "),n+=t);return n}function ii(e,t=0,o=1){return"production"!==process.env.NODE_ENV&&(e<t||e>o)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${o}].`),Math.min(Math.max(t,e),o)}function ai(e){if(e.type)return e;if("#"===e.charAt(0))return ai(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Kn(9,e));let n,r=e.substring(t+1,e.length-1);if("color"===o){if(r=r.split(" "),n=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Kn(10,n))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:o,values:r,colorSpace:n}}function li(e){const{type:t,colorSpace:o}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${o} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function si(e){let t="hsl"===(e=ai(e)).type||"hsla"===e.type?ai(function(e){e=ai(e);const{values:t}=e,o=t[0],n=t[1]/100,r=t[2]/100,i=n*Math.min(r,1-r),a=(e,t=(e+o/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),li({type:l,values:s})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ci(e,t){const o=si(e),n=si(t);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)}function di(e,t){return En({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ui={black:"#000",white:"#fff"},pi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},hi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},fi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},mi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},gi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},yi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},bi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},vi=["mode","contrastThreshold","tonalOffset"],xi={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ui.white,default:ui.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},wi={text:{primary:ui.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ui.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ki(e,t,o,n){const r=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=function(e,t){if(e=ai(e),t=ii(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return li(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=ai(e),t=ii(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return li(e)}(e.main,i)))}function Ci(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2}=e,r=Sn(e,vi),i=e.primary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[700],light:gi[400],dark:gi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:hi[200],light:hi[50],dark:hi[400]}:{main:hi[500],light:hi[300],dark:hi[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:fi[500],light:fi[300],dark:fi[700]}:{main:fi[700],light:fi[400],dark:fi[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:yi[400],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[500],dark:yi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:bi[400],light:bi[300],dark:bi[700]}:{main:bi[800],light:bi[500],dark:bi[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:mi[400],light:mi[300],dark:mi[700]}:{main:"#ed6c02",light:mi[500],dark:mi[900]}}(t);function u(e){const t=ci(e,wi.text.primary)>=o?wi.text.primary:xi.text.primary;if("production"!==process.env.NODE_ENV){const o=ci(e,t);o<3&&console.error([`MUI: The contrast ratio of ${o}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:o=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=En({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${o}\` property.`:Kn(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Kn(12,t?` (${t})`:"",JSON.stringify(e.main)));return ki(e,"light",r,n),ki(e,"dark",i,n),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:wi,light:xi};return"production"!==process.env.NODE_ENV&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Vn(En({common:En({},ui),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:pi,contrastThreshold:o,getContrastText:u,augmentColor:p,tonalOffset:n},h[t]),r)}const Ni=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function _i(e){return Math.round(1e5*e)/1e5}const Ti={textTransform:"uppercase"},Ei='"Roboto", "Helvetica", "Arial", sans-serif';function Si(e,t){const o="function"==typeof t?t(e):t,{fontFamily:n=Ei,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=Sn(o,Ni);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,o,r,i)=>En({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:o},n===Ei?{letterSpacing:`${_i(r/t)}em`}:{},i,d),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,Ti),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ti),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vn(En({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function Oi(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Mi=["none",Oi(0,2,1,-1,0,1,1,0,0,1,3,0),Oi(0,3,1,-2,0,2,2,0,0,1,5,0),Oi(0,3,3,-2,0,3,4,0,0,1,8,0),Oi(0,2,4,-1,0,4,5,0,0,1,10,0),Oi(0,3,5,-1,0,5,8,0,0,1,14,0),Oi(0,3,5,-1,0,6,10,0,0,1,18,0),Oi(0,4,5,-2,0,7,10,1,0,2,16,1),Oi(0,5,5,-3,0,8,10,1,0,3,14,2),Oi(0,5,6,-3,0,9,12,1,0,3,16,2),Oi(0,6,6,-3,0,10,14,1,0,4,18,3),Oi(0,6,7,-4,0,11,15,1,0,4,20,3),Oi(0,7,8,-4,0,12,17,2,0,5,22,4),Oi(0,7,8,-4,0,13,19,2,0,5,24,4),Oi(0,7,9,-4,0,14,21,2,0,5,26,4),Oi(0,8,9,-5,0,15,22,2,0,6,28,5),Oi(0,8,10,-5,0,16,24,2,0,6,30,5),Oi(0,8,11,-5,0,17,26,2,0,6,32,5),Oi(0,9,11,-5,0,18,28,2,0,7,34,6),Oi(0,9,12,-6,0,19,29,2,0,7,36,6),Oi(0,10,13,-6,0,20,31,3,0,8,38,7),Oi(0,10,13,-6,0,21,33,3,0,8,40,7),Oi(0,10,14,-6,0,22,35,3,0,8,42,7),Oi(0,11,14,-7,0,23,36,3,0,9,44,8),Oi(0,11,15,-7,0,24,38,3,0,9,46,8)],Ii=["duration","easing","delay"],ji={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},zi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Li(e){return`${Math.round(e)}ms`}function Ri(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function $i(e){const t=En({},ji,e.easing),o=En({},zi,e.duration);return En({getAutoHeightDuration:Ri,create:(e=["all"],n={})=>{const{duration:r=o.standard,easing:i=t.easeInOut,delay:a=0}=n,l=Sn(n,Ii);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,o=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!o(r)&&!t(r)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${r}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!o(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(l).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Li(r)} ${i} ${"string"==typeof a?a:Li(a)}`)).join(",")}},e,{easing:t,duration:o})}const Pi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ai=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Di=function(e={},...t){const{mixins:o={},palette:n={},transitions:r={},typography:i={}}=e,a=Sn(e,Ai);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Kn(18));const l=Ci(n),s=ei(e);let c=Vn(s,{mixins:di(s.breakpoints,o),palette:l,shadows:Mi.slice(),typography:Si(l,i),transitions:$i(r),zIndex:En({},Pi)});if(c=Vn(c,a),c=t.reduce(((e,t)=>Vn(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,o)=>{let n;for(n in t){const r=t[n];if(-1!==e.indexOf(n)&&Object.keys(r).length>0){if("production"!==process.env.NODE_ENV){const e=Qn("",n);console.error([`MUI: The \`${o}\` component increases the CSS specificity of the \`${n}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:r}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[n]={}}}};Object.keys(c.components).forEach((e=>{const o=c.components[e].styleOverrides;o&&0===e.indexOf("Mui")&&t(o,e)}))}return c.unstable_sxConfig=En({},Xr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Zr({sx:e,theme:this})},c}(),Fi=Di;function Bi(){const t=function(e=oi){return ti(e)}(Fi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function qi(e,t){var o,n;const{timeout:r,easing:i,style:a={}}=e;return{duration:null!=(o=a.transitionDuration)?o:"number"==typeof r?r:r[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Vi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Hi={entering:{opacity:1},entered:{opacity:1}},Wi=e.forwardRef((function(t,o){const n=Bi(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:l,easing:s,in:d,onEnter:u,onEntered:p,onEntering:h,onExit:f,onExited:m,onExiting:g,style:y,timeout:b=r,TransitionComponent:v=Dn}=t,x=Sn(t,Vi),w=e.useRef(null),k=function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)}))}),t)}(w,l.ref,o),C=e=>t=>{if(e){const o=w.current;void 0===t?e(o):e(o,t)}},N=C(h),_=C(((e,t)=>{(e=>{e.scrollTop})(e);const o=qi({style:y,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),u&&u(e,t)})),T=C(p),E=C(g),S=C((e=>{const t=qi({style:y,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)})),O=C(m);return c(v,En({appear:a,in:d,nodeRef:w,onEnter:_,onEntered:T,onEntering:N,onExit:S,onExited:O,onExiting:E,addEndListener:e=>{i&&i(w.current,e)},timeout:b},x,{children:(t,o)=>e.cloneElement(l,En({style:En({opacity:0,visibility:"exited"!==t||d?void 0:"hidden"},Hi[t],y,l.props.style),ref:k},o))}))}));"production"!==process.env.NODE_ENV&&(Wi.propTypes={addEndListener:ee.func,appear:ee.bool,children:Un.isRequired,easing:ee.oneOfType([ee.shape({enter:ee.string,exit:ee.string}),ee.string]),in:ee.bool,onEnter:ee.func,onEntered:ee.func,onEntering:ee.func,onExit:ee.func,onExited:ee.func,onExiting:ee.func,style:ee.object,timeout:ee.oneOfType([ee.number,ee.shape({appear:ee.number,enter:ee.number,exit:ee.number})])});const Ui=Wi,Ki=e=>c(f,{TransitionComponent:Ui,TransitionProps:{timeout:300},arrow:!0,placement:"top",componentsProps:{tooltip:{sx:{borderRadius:"3px !important","& .MuiTooltip-arrow":{color:"#363E4A !important"},color:"white !important",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",display:"flex !important",padding:"4px 8px !important",alignItems:"center !important",fontSize:"12px !important",lineHeight:"16px !important",letterSpacing:" 0.24px !important",bgcolor:"#363E4A !important",wordBreak:"break-word !important"}}},...e}),Gi=e=>c(m,{...e}),Yi="_styled-label-md_jbn3o_1",Xi="_styled-label-base_jbn3o_10",Ji="_styled-label-lg_jbn3o_19",Zi="_styled-label-xl_jbn3o_27",Qi=({title:e,onClick:t,className:o,dataTest:n,size:r="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Yi;case"lg":return Ji;case"xl":return Zi;default:return Xi}})({size:r});return c("div",{className:ri(i,o),onClick:t,"data-test":n,children:e})},ea="_asma-core-ui-button_1r2np_1",ta={contained:"_contained_1r2np_27",outlined:"_outlined_1r2np_141",text:"_text_1r2np_255",textGray:"_textGray_1r2np_369",textWhite:"_textWhite_1r2np_426",large:"_large_1r2np_79",small:"_small_1r2np_74",medium:"_medium_1r2np_69",error:"_error_1r2np_84",common:"_common_1r2np_27"},oa=({variant:e="contained",className:t="",size:o="medium",children:n,refLink:r,startIcon:i,endIcon:a,dataTest:l,error:s,...u})=>{const p="large"===o||"medium"===o;return d("button",{...u,className:ri(ea,ta[e],ta[s?"error":"common"],ta[o],t),ref:r,"data-test":l,children:[i,n&&c("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:p?"8px":"4px",paddingLeft:p?"8px":"4px",paddingRight:p?"8px":"4px"},children:n}),a]})},na="_styled-dialog-root_1st3i_1",ra="_styled-top-header_1st3i_6",ia="_styled-dialog-close_1st3i_13",aa="_styled-dialog-info_1st3i_20",la="_styled-dialog-label_1st3i_27",sa="_styled-dialog-title_1st3i_37";function ca(){const e=function(){const[e,t]=r(window.innerWidth),o=()=>{t(window.innerWidth)};return i((()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const da=({onCloseText:e,children:t,dataTest:o,showCloseIcon:n=!0,dialogLabel:r,dialogTitle:i,dialogHeaderNode:a,...l})=>{const s=ca();return d(g,{...l,"data-test":o,style:{zIndex:999,...l.style},fullScreen:!!s||l.fullScreen,children:[c("div",{className:na,children:d("div",{className:ra,children:[d("div",{className:aa,children:[r&&c("div",{className:la,children:r}),i&&c("div",{className:sa,children:i})]}),n&&d("div",{className:ia,children:[a,c(oa,{dataTest:`close-button-${o}`,variant:"textGray",size:"small",endIcon:c(Do,{width:24,height:24}),onClick:e=>{l.onClose&&l.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]})}),t]})},ua="_styled-dialog-actions-root_1yp8r_1",pa="_styled-dialog-actions_1yp8r_1",ha="_action-button-wrapper_1yp8r_17";function fa(...e){return Q(ri(e))}const ma=e=>c(y,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:ua},children:c("div",{className:fa(pa,e.className),children:t.Children.map(e.children,(e=>c("div",{className:ha,children:e})))})}),ga="_styled-dialog-content_d2vki_1",ya=({children:e,classes:t,className:o,...n})=>c(b,{...n,"data-test":"styled-dialog-content",classes:{...t,root:ga},className:o,children:e}),ba="_styled-dialog-title-root_mcspk_1",va=({children:e,...t})=>e?c(v,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:ba},children:e}):null;function xa(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7 9H2V7h5zm0 3H2v2h5zm13.59 7l-3.83-3.83c-.8.52-1.74.83-2.76.83c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3M2 19h10v-2H2z"})})}const wa=({emptyText:e,isEmpty:t=!0,className:o=""})=>t?d("div",{"data-test":"empty-page-container",className:`flex animate-opacity-in items-center w-full h-full justify-center gap-2 duration-300 text-gray-600 text-sm ${o}`,children:[c(xa,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),c("p",{className:"font-normal",children:e})]}):null,ka={small:16,medium:24,large:32},Ca=({isLoading:e,className:t="",size:o="medium"})=>{if(!e)return null;const n=ka[o];return c("div",{className:ri("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:c(Io,{width:n,height:n})})},Na=({dataTest:e,...t})=>c(x,{...t,"data-test":e,sx:{...t.sx,"&.MuiCheckbox-root":{color:"var(--colors-delta-500) !important"},"&.MuiCheckbox-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.MuiCheckbox-indeterminate":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.Mui-disabled":{color:"var(--colors-delta-200) !important"},"&.MuiCheckbox-root .PrivateSwitchBase-input":{height:"100% !important",width:"100% !important"}}}),_a=({allowClear:e,onClear:t,readOnly:o,disabled:n,dataTest:r,...i})=>c(w,{...i,"data-test":r,disabled:n||o,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:c("div",{className:"z-40 hover:bg-gama-100 duration-300 absolute right-4 p-[2px] rounded-full flex items-center justify-center",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==t||t()},children:c(Do,{width:18,height:18})})}:i.InputProps,sx:{"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)":{backgroundColor:"#e8f0fe !important"},"& input":{backgroundColor:"transparent"},"& .MuiInputBase-root":{backgroundColor:"transparent"},"& .MuiInputBase-colorPrimary fieldset":{borderColor:"var(--colors-delta-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary:hover fieldset":{borderColor:"var(--colors-gama-300) !important",borderWidth:"2px !important"},"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset":{borderWidth:"1px !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused.Mui-error fieldset":{borderColor:"#d3302f !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-300) !important"},"& label.Mui-focused":{color:"var(--colors-gama-500) !important"},"& label":{color:"var(--colors-delta-500) !important"},"& label.Mui-focused.Mui-error":{color:"#d3302f !important"},"& label.Mui-disabled":{color:"var(--colors-gray-300) !important"},"& .MuiOutlinedInput-input::placeholder":{color:"var(--colors-delta-500) !important",opacity:"1 !important"},"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-300) !important"},...o&&{"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-800) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled":{backgroundColor:"var(--colors-delta-10) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-200) !important"},"& label.Mui-disabled":{color:"var(--colors-gray-800) !important"}},...i.sx}}),Ta=({value:e,onClear:t,...o})=>{const[n,i]=r(!1),a=n||e;return d("div",{className:"relative w-fit",children:[c(_a,{size:"small",variant:"outlined",value:e,onFocus:()=>i(!0),onBlur:()=>i(!1),InputProps:{className:fa("transition-[padding] duration-300",a?"pl-0":"pl-5",e?"pr-5":"pr-0"),sx:{"& input":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},InputLabelProps:{sx:{transform:"translate(34px, 9px) scale(1)",width:a?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...o,sx:{width:160,...o.sx}}),c(Mo,{width:24,height:24,className:fa("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",a?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),c("div",{className:fa("absolute w-6 h-6 right-2 top-2 cursor-pointer bg-delta-50 rounded-full","flex items-center justify-center","transform-gpu transition-all duration-300 ease-in-out",e?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"),onMouseDown:t,children:c(Do,{width:20,height:20,color:"var(--colors-delta-700)"})})]})},Ea={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Sa=({id:e,variant:t="active",label:o="",labelClassName:n="",description:s="",value:u="",minRows:p=3,maxRows:h=1/0,disabled:f,error:m,errorMessage:g,containerClassName:y="",className:b="",maxLength:v=1/0,counter:x,refLink:w,dataTest:k,counterLimit:C,...N})=>{const _=l(null),T=w||_,E=!(!x||!C),[S,O]=r(!1);i((()=>{O(!0)}),[]),((e,t,o,n,r,i)=>{a((()=>{if(e){const t=i?32:0;e.style.height="auto";const o=20,r=e.scrollHeight-24;Math.ceil(r/o)>n?e.style.height=`${o*n+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,o,n,r,i])})(T.current,u,p,h,S,E),h<p&&(p=h);const[M,I]=r(u.length);i((()=>{I(u.length)}),[u]);const j=m?"error":"active",z=m?"error":f?"disabled":"active";return d("div",{className:`flex flex-col gap-1 relative ${y}`,"data-test":k,children:[c("label",{htmlFor:e,className:`${Ea.label} ${Ea[z]} ${n}`,children:o}),c("span",{className:`${Ea.description} ${Ea[z]}`,children:m?g:s}),"view_only"===t?c("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:u}):"not_editable"===t?c("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:u}):c("textarea",{...N,id:e,ref:T,className:`${Ea.textarea} ${Ea[j]} ${b} ${E?"pb-[32px]":""}`,wrap:"soft",value:u,disabled:f,maxLength:v}),E&&d("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[M,"/",C]})]})},Oa=({dataTest:e,allowClear:t,...o})=>c(k,{...o,"data-test":e,value:o.value,IconComponent:e=>c(Kt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ri(e.className,"select-custom-icon")}),endAdornment:t&&o.value?c("div",{className:"hover:bg-gama-100 duration-300 absolute right-8 p-[2px] rounded-full flex items-center justify-center",onClick:()=>{var e;null==(e=o.onChange)||e.call(o,{target:{value:""}},null)},children:c(Do,{width:18,height:18})}):null,sx:{".MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-delta-500) !important"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"&.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"2px solid var(--colors-gama-300) !important"},"& .select-custom-icon":{marginTop:"-3.5px !important"},...o.sx}}),Ma=e=>d(C,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[c("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&c(Kt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),c("span",{children:e.children})]}),Ia="_styledSelectAutocompleteWrapper_lfbvb_1",ja="_select-custom-icon_lfbvb_5";function za({dataTest:e,autoHeight:t,getOptionLabel:o,wrapperClassName:n,...a}){const[s,u]=r("auto"),p=l(null);i((()=>{var e,o;const n=(null==(e=p.current)?void 0:e.getBoundingClientRect().height)??0,r=(null==(o=p.current)?void 0:o.getBoundingClientRect().top)??0,i=window.innerHeight-r-n-40;t&&u(i>0?i:"auto")}),[t]);const h=t?{style:{maxHeight:"auto"===s?"auto":`${s}px`}}:{},f=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return c("div",{className:fa(Ia,n),ref:p,children:c(N,{...a,getOptionLabel:o,ListboxProps:{...h,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:ri("!text-sm",a.className),popupIcon:a.popupIcon||c(Kt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ri(ja)}),"data-test":e,PaperComponent:({children:t})=>c(_,{"data-test":`paper-${e}`,sx:{padding:"0 !important",marginTop:"0px !important","& .MuiAutocomplete-option.Mui-focused":{background:"var(--colors-delta-50) !important"},"& li[aria-selected=true]":{background:"var(--colors-gama-50) !important"},"& li[aria-selected=true].MuiAutocomplete-option.Mui-focused":{background:"var(--colors-gama-50) !important"}},children:t}),renderOption:(null==a?void 0:a.renderOption)||((e,t,{selected:n})=>d("li",{...e,children:[c("span",{style:{width:"26px",height:"24px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:n&&c(Kt,{icon:"mdi:tick",width:24,height:24,style:{color:"var(--colors-gama-500)"}})}),c("span",{className:"flex-1",children:(null==o?void 0:o(t))||f(t)})]})),sx:{...a.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const La=({dataTest:e,...t})=>{var o,n,r;return c(T,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:ri("w-4 h-4","before:shadow-none","vertical"===t.orientation?"ml-0 mb-1":"ml-1",t.disabled||!t.value?"bg-delta-200":"bg-gama-600"),...null==(o=t.slotProps)?void 0:o.thumb},rail:{className:"bg-delta-200",...null==(n=t.slotProps)?void 0:n.rail},markLabel:{className:ri("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(r=t.slotProps)?void 0:r.markLabel}},sx:{...t.sx,"& .MuiSlider-track":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)"},"& .MuiSlider-mark":{backgroundColor:"white",border:"1px solid var(--colors-gray-200)",borderRadius:"50%",height:"8px",width:"8px","&.MuiSlider-markActive":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",border:"1px solid",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",opacity:1}}}})},Ra=({dataTest:e,...t})=>c(E,{...t,"data-test":e,sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-200) !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"}}}),$a=({dataTest:e,...t})=>c(S,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),Pa=({dataTest:e,...t})=>c(O,{"data-test":e,...t}),Aa=({children:e,onClick:t,className:o,dataTest:n,style:r})=>c("div",{className:ri("_styled-label_1fp95_1",o),style:r,onClick:t,"data-test":n,children:e}),Da=e=>c(M,{...e,sx:{...e.sx,"& label.MuiInputLabel-shrink":{background:"white !important",color:"var(--colors-delta-500) !important"},"& label.MuiInputLabel-shrink.Mui-focused":{background:"white !important",color:"var(--colors-gama-500) !important"},"& label.MuiInputLabel-shrink.Mui-error.Mui-focused":{background:"white !important",color:"var(--colors-red-500) !important"}}}),Fa=e=>c(I,{...e}),Ba=e=>c(j,{...e}),qa=e=>c(z,{...e}),Va=e=>c(L,{...e}),Ha=e=>c(R,{...e}),Wa=e=>{var t,o;return c($,{...e,classes:{paper:ri("border border-solid border-delta-300 shadow-[0px_2px_4px_0px_rgba(34,_33,_51,_0.15)]",null==(t=e.classes)?void 0:t.paper),list:ri("py-1",null==(o=e.classes)?void 0:o.list),...e.classes}})},Ua=e=>{var t;return c(C,{...e,classes:{root:ri("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Ka=e=>c(P,{...e}),Ga="_styled-link_hyb3l_1",Ya="_styled-link-disabled_hyb3l_16",Xa="_styled-link-xs_hyb3l_32",Ja="_styled-link-small_hyb3l_37",Za="_styled-link-large_hyb3l_42",Qa=({href:e,disabled:t,size:o="large",dataTest:n,reflink:r,className:i,content:a,contentNode:l,...s})=>{let c=Za;switch(o){case"small":c=Ja;break;case"xs":c=Xa;break;default:c=Za}return t?d("span",{className:ri(Ga,Ya,c,i),children:[a,l]}):d("a",{...s,"data-test":n,ref:r,href:e,className:ri(Ga,c,i),children:[a,l]})},el=e=>c(A,{...e,sx:{letterSpacing:"normal","&.MuiTab-textColorPrimary.Mui-selected":{color:"var(--colors-gama-500)"},"&.MuiTab-textColorPrimary":{color:"var(--colors-gray-500)"},"&.MuiTab-textColorPrimary.Mui-disabled":{color:"var(--colors-gray-300)"}}}),tl=e=>c(D,{...e,TabIndicatorProps:{style:{background:"var(--colors-gama-500)",color:"var(--colors-gama-500)"}},sx:{"& .MuiTabs-scrollButtons":{border:"1px solid var(--colors-delta-500)",width:40,height:40,borderRadius:"10%",display:"none",justifyContent:"center",alignItems:"center",position:"relative",top:2,"& svg":{fontSize:24,color:"var(--colors-delta-700)"},"&:hover":{backgroundColor:"var(--colors-gama-50)"},"&:first-of-type":{marginRight:"8px"},"&:last-of-type":{marginLeft:"8px"},transition:"opacity 0.3s ease, transform 0.3s ease",opacity:0,transform:"scale(0)"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiTabs-scrollButtons:not(.Mui-disabled)":{display:"flex",opacity:1,transform:"scale(1)"}}}),ol=e=>c(F,{...e}),nl=e=>c(B,{...e,className:ri("flex-row-reverse gap-2.5",e.className),expandIcon:c(Po,{width:24,height:24}),sx:{...e.sx,backgroundColor:"transparent !important","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-expandIconWrapper:not(.Mui-expanded)":{transform:"rotate(0deg)"}}}),rl=e=>c(q,{...e}),il=e=>c(V,{...e}),al=({filterIsActive:e,label:t,size:o="large",variant:n="outlined",...r})=>c(u,{children:d("div",{className:"w-fit h-fit relative",children:[c(oa,{...r,type:"button",startIcon:c(Yo,{width:"large"===o?24:20,height:"large"===o?24:20}),variant:n,size:o,children:t||"Filter"}),e&&c("div",{className:ri("h-2 w-2 bg-gama-400 rounded-full absolute","large"===o?"top-2 right-2":"top-1 right-1")})]})}),ll=()=>{const[e,t]=r(null),o=()=>{t((()=>null))};return{anchorEl:e,onClose:o,onAnchorClick:n=>{e?o():(e=>{t((()=>e.currentTarget))})(n)}}},sl=e=>t.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),cl=({filterIsActive:e,popoverContent:o,dataTest:n,disabled:r,size:i="large",variant:a="outlined",popoverProps:l,anchorNode:s,label:p})=>{const{onAnchorClick:h,onClose:f,anchorEl:m}=ll();return d(u,{children:[d("div",{className:"w-fit h-fit relative",children:[s?t.cloneElement(s({isOpen:!!m,onClose:f}),{onClick:h}):c(oa,{type:"button",disabled:r,variant:a,startIcon:c(Yo,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:h,size:i,dataTest:n,children:p||"Filter"}),e&&c("div",{className:ri("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),c(il,{...l,open:!!m,anchorEl:m,onClose:f,anchorOrigin:(null==l?void 0:l.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==l?void 0:l.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==l?void 0:l.className)||"my-1",children:sl(o)?o:o({isOpen:!!m,onClose:f})})]})};var dl,ul,pl={exports:{}},hl={},fl={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -17,4 +17,4 @@ import*as e from"react";import t,{forwardRef as n,createElement as o,useState as
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
19
  */
20
- "production"===process.env.NODE_ENV?ms.exports=function(){if(hs)return gs;hs=1;var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,o){var s,l={},c=null,d=null;for(s in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:n,type:e,key:c,ref:d,props:l,_owner:i.current}}return gs.Fragment=o,gs.jsx=s,gs.jsxs=s,gs}():ms.exports=(fs||(fs=1,"production"!==process.env.NODE_ENV&&function(){var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=y.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var r=n.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,r)}(0,e,n)}var v;function w(e){return e.displayName||"Context"}function x(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return w(e)+".Consumer";case s:return w(e._context)+".Provider";case c:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:x(e.type)||"Memo";case h:var n=e,f=n._payload,m=n._init;try{return x(m(f))}catch{return null}}return null}v=Symbol.for("react.module.reference");var k,C,N,S,_,T,O,E=Object.assign,M=0;function I(){}I.__reactDisabledLog=!0;var j,D=y.ReactCurrentDispatcher;function P(e,t,n){if(void 0===j)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);j=o&&o[1]||""}return"\n"+j+e}var z,L=!1,R="function"==typeof WeakMap?WeakMap:Map;function A(e,t){if(!e||L)return"";var n,o=z.get(e);if(void 0!==o)return o;L=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=D.current,D.current=null,function(){if(0===M){k=console.log,C=console.info,N=console.warn,S=console.error,_=console.group,T=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),c=s.length-1,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&z.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{L=!1,D.current=r,function(){if(0==--M){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:k}),info:E({},e,{value:C}),warn:E({},e,{value:N}),error:E({},e,{value:S}),group:E({},e,{value:_}),groupCollapsed:E({},e,{value:T}),groupEnd:E({},e,{value:O})})}M<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?P(p):"";return"function"==typeof e&&z.set(e,h),h}function $(e,t,n){if(null==e)return"";if("function"==typeof e)return A(e,!(!(o=e.prototype)||!o.isReactComponent));var o;if("string"==typeof e)return P(e);switch(e){case d:return P("Suspense");case u:return P("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return A(e,!1)}(e.render);case p:return $(e.type,t,n);case h:var r=e,i=r._payload,a=r._init;try{return $(a(i),t,n)}catch{}}return""}z=new R;var F=Object.prototype.hasOwnProperty,B={},V=y.ReactDebugCurrentFrame;function q(e){if(e){var t=e._owner,n=$(e.type,e._source,t?t.type:null);V.setExtraStackFrame(n)}else V.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function Y(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var G,K,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,o,r,i,a,s){var l={$$typeof:n,type:e,key:t,ref:o,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};var ee,te=y.ReactCurrentOwner,ne=y.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,n=$(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(n)}else ne.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ie(){if(te.current){var e=x(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ie();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ae[n]){ae[n]=!0;var o="";e&&e._owner&&e._owner!==te.current&&(o=" It was passed a child from "+x(e._owner.type)+"."),oe(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),oe(null)}}}function le(e,t){if("object"==typeof e)if(W(e))for(var n=0;n<e.length;n++){var o=e[n];re(o)&&se(o,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)re(i.value)&&se(i.value,t)}}function ce(e,t,o,m,g,y){var w,k=!("string"!=typeof(w=e)&&"function"!=typeof w&&w!==r&&w!==a&&w!==i&&w!==d&&w!==u&&w!==f&&("object"!=typeof w||null===w||w.$$typeof!==h&&w.$$typeof!==p&&w.$$typeof!==s&&w.$$typeof!==l&&w.$$typeof!==c&&w.$$typeof!==v&&void 0===w.getModuleId));if(!k){var C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var N,S=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=S||ie(),null===e?N="null":W(e)?N="array":void 0!==e&&e.$$typeof===n?(N="<"+(x(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):N=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,C)}var _=function(e,t,n,o,r){var i,a,s,l,c={},d=null,u=null;for(i in void 0!==n&&(Y(n),d=""+n),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Y(t.key),d=""+t.key),function(e){if(F.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var n=x(J.current.type);X[n]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(J.current.type),e.ref),X[n]=!0)}}(t,r)),t)F.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,s=h,(l=function(){G||(G=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",s))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:l,configurable:!0})),u&&function(e,t){var n=function(){K||(K=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(c,h)}return Q(e,d,u,r,o,J.current,c)}(e,t,o,g,y);if(null==_)return _;if(k){var T=t.children;if(void 0!==T)if(m)if(W(T)){for(var O=0;O<T.length;O++)le(T[O],e);Object.freeze&&Object.freeze(T)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else le(T,e)}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){oe(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),oe(null);break}}null!==e.ref&&(oe(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}(_):function(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==c&&n.$$typeof!==p)return;t=n.propTypes}if(t){var o=x(n);!function(e,t,n,o,r){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((o||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(q(r),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,a,typeof s),q(null)),s instanceof Error&&!(s.message in B)&&(B[s.message]=!0,q(r),b("Failed %s type: %s",n,s.message),q(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(_),_}ys.Fragment=r,ys.jsx=function(e,t,n){return ce(e,t,n,!1)},ys.jsxs=function(e,t,n){return ce(e,t,n,!0)}}()),ys);var bs=ms.exports;function vs(e){return bs.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:bs.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}const ws=({className:e,contentToCopy:t,locale:n,messageInfo:o,text:r})=>{const i="en"===n?"Copy":"Kopier",a=pa();return c(Xi,{title:i,children:c("div",{children:c(ia,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:c(vs,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{o("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(r||i)})})})},xs="_copy-wrapper_1gjzc_1",ks="_hidden-copy_1gjzc_1",Cs=({className:e,contentToCopy:t,locale:n,messageInfo:o,children:r})=>d("div",{className:ya("flex items-center gap-2 hover:text-gama-500",xs,e),children:[r,c(Xi,{title:"no"===n?"Kopier":"Copy",className:ks,children:c("div",{children:c(ia,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:c(vs,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{o("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),Ns="_styled-widget-title_1gze6_1",Ss=function(e){return c("div",{className:Ns,children:e.children})},_s="_styled-widget-header_1qk88_1",Ts=({actions:e,title:t,containerClassname:n,actionsClassname:o})=>d("div",{className:ya(_s,n),children:[c(Ss,{children:t}),c("div",{className:o,children:e})]}),Os="_asma-core-ui-styled-widget_cb7kt_1",Es="_widget-header_cb7kt_13",Ms="_widget-content_cb7kt_19",Is="_widget-footer_cb7kt_29",js="_widget-link_cb7kt_34";function Ds(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Ps(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const zs=({children:e,title:t,icon:n,link:o,viewMore:a,persistKey:s,isLoading:l,isEmpty:p,emptyText:h})=>{const[f,m]=r(!1);return i((()=>{if(s){const e=localStorage.getItem(s);m("true"===e)}}),[s]),i((()=>{s&&localStorage.setItem(s,String(f))}),[f,s]),d("div",{className:Os,children:[d("div",{className:Es,children:[n,c(Ss,{children:t})]}),c("div",{className:Ms,children:d(u,{children:[e,c(_a,{isLoading:l}),c(Na,{isEmpty:p,emptyText:h})]})}),d("div",{className:Is,children:[!a||null!=a&&a.hide?c("div",{}):c(ia,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:c(f?Ds:Ps,{width:20,height:20}),onClick:()=>{var e;m(!f),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:f?a.viewLessText:a.viewMoreText}),o&&!o.hide?c(ns,{dataTest:"go-to-button",className:js,size:"small",href:o.href,onClick:o.onClick,content:o.content}):c("div",{})]})]})},Ls="_styled-module-title_174mo_1",Rs=function(e){return c("h1",{"data-test":e.dataTest,className:Ls,children:e.children})},As="_dialog_erjok_1",$s="_hidden_erjok_9";function Fs(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}var Bs={exports:{}},Vs={};const qs=Ko(si);var Hs={},Ws={};Object.defineProperty(Ws,"__esModule",{value:!0}),Ws.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},Ws.findInArray=function(e,t){for(let n=0,o=e.length;n<o;n++)if(t.apply(t,[e[n],n,e]))return e[n]},Ws.int=function(e){return parseInt(e,10)},Ws.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},Ws.isNum=function(e){return"number"==typeof e&&!isNaN(e)};var Us={};Object.defineProperty(Us,"__esModule",{value:!0}),Us.browserPrefixToKey=Ks,Us.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},Us.default=void 0,Us.getPrefix=Gs;const Ys=["Moz","Webkit","O","ms"];function Gs(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if(typeof window>"u")return"";const n=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!n||t in n)return"";for(let e=0;e<Ys.length;e++)if(Ks(t,Ys[e])in n)return Ys[e];return""}function Ks(e,t){return t?"".concat(t).concat(function(e){let t="",n=!0;for(let o=0;o<e.length;o++)n?(t+=e[o].toUpperCase(),n=!1):"-"===e[o]?n=!0:t+=e[o];return t}(e)):e}Us.default=Gs(),Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.addClassName=nl,Hs.addEvent=function(e,t,n,o){if(!e)return;const r={capture:!0,...o};e.addEventListener?e.addEventListener(t,n,r):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},Hs.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&nl(e.body,"react-draggable-transparent-selection")},Hs.createCSSTransform=function(e,t){const n=tl(e,t,"px");return{[(0,Js.browserPrefixToKey)("transform",Js.default)]:n}},Hs.createSVGTransform=function(e,t){return tl(e,t,"")},Hs.getTouch=function(e,t){return e.targetTouches&&(0,Xs.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,Xs.findInArray)(e.changedTouches,(e=>t===e.identifier))},Hs.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},Hs.getTranslation=tl,Hs.innerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,Xs.int)(n.paddingTop),t-=(0,Xs.int)(n.paddingBottom),t},Hs.innerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,Xs.int)(n.paddingLeft),t-=(0,Xs.int)(n.paddingRight),t},Hs.matchesSelector=el,Hs.matchesSelectorAndParentsTo=function(e,t,n){let o=e;do{if(el(o,t))return!0;if(o===n)return!1;o=o.parentNode}while(o);return!1},Hs.offsetXYFromParent=function(e,t,n){const o=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),r=(e.clientX+t.scrollLeft-o.left)/n,i=(e.clientY+t.scrollTop-o.top)/n;return{x:r,y:i}},Hs.outerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,Xs.int)(n.borderTopWidth),t+=(0,Xs.int)(n.borderBottomWidth),t},Hs.outerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,Xs.int)(n.borderLeftWidth),t+=(0,Xs.int)(n.borderRightWidth),t},Hs.removeClassName=ol,Hs.removeEvent=function(e,t,n,o){if(!e)return;const r={capture:!0,...o};e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},Hs.removeUserSelectStyles=function(e){if(e)try{if(e.body&&ol(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch{}};var Xs=Ws,Js=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=Zs(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}(Us);function Zs(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Zs=function(e){return e?n:t})(e)}let Qs="";function el(e,t){return Qs||(Qs=(0,Xs.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,Xs.isFunction)(e[t])}))),!!(0,Xs.isFunction)(e[Qs])&&e[Qs](t)}function tl(e,t,n){let{x:o,y:r}=e,i="translate(".concat(o).concat(n,",").concat(r).concat(n,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+n),o="".concat("string"==typeof t.y?t.y:t.y+n);i="translate(".concat(e,", ").concat(o,")")+i}return i}function nl(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function ol(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}var rl={};Object.defineProperty(rl,"__esModule",{value:!0}),rl.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},rl.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},rl.createCoreData=function(e,t,n){const o=!(0,il.isNum)(e.lastX),r=sl(e);return o?{node:r,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:r,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}},rl.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},rl.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:o}=e.props;o="string"==typeof o?o:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(o);const r=sl(e);if("string"==typeof o){const{ownerDocument:e}=r,t=e.defaultView;let n;if(n="parent"===o?r.parentNode:e.querySelector(o),!(n instanceof t.HTMLElement))throw new Error('Bounds selector "'+o+'" could not find an element.');const i=n,a=t.getComputedStyle(r),s=t.getComputedStyle(i);o={left:-r.offsetLeft+(0,il.int)(s.paddingLeft)+(0,il.int)(a.marginLeft),top:-r.offsetTop+(0,il.int)(s.paddingTop)+(0,il.int)(a.marginTop),right:(0,al.innerWidth)(i)-(0,al.outerWidth)(r)-r.offsetLeft+(0,il.int)(s.paddingRight)-(0,il.int)(a.marginRight),bottom:(0,al.innerHeight)(i)-(0,al.outerHeight)(r)-r.offsetTop+(0,il.int)(s.paddingBottom)-(0,il.int)(a.marginBottom)}}return(0,il.isNum)(o.right)&&(t=Math.min(t,o.right)),(0,il.isNum)(o.bottom)&&(n=Math.min(n,o.bottom)),(0,il.isNum)(o.left)&&(t=Math.max(t,o.left)),(0,il.isNum)(o.top)&&(n=Math.max(n,o.top)),[t,n]},rl.getControlPosition=function(e,t,n){const o="number"==typeof t?(0,al.getTouch)(e,t):null;if("number"==typeof t&&!o)return null;const r=sl(n),i=n.props.offsetParent||r.offsetParent||r.ownerDocument.body;return(0,al.offsetXYFromParent)(o||e,i,n.props.scale)},rl.snapToGrid=function(e,t,n){const o=Math.round(t/e[0])*e[0],r=Math.round(n/e[1])*e[1];return[o,r]};var il=Ws,al=Hs;function sl(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}var ll={},cl={};Object.defineProperty(cl,"__esModule",{value:!0}),cl.default=function(){},Object.defineProperty(ll,"__esModule",{value:!0}),ll.default=void 0;var dl=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=bl(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}(t),ul=yl(ee),pl=yl(te),hl=Hs,fl=rl,ml=Ws,gl=yl(cl);function yl(e){return e&&e.__esModule?e:{default:e}}function bl(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(bl=function(e){return e?n:t})(e)}function vl(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wl={start:"touchstart",move:"touchmove",stop:"touchend"},xl={start:"mousedown",move:"mousemove",stop:"mouseup"};let kl=xl,Cl=class extends dl.Component{constructor(){super(...arguments),vl(this,"dragging",!1),vl(this,"lastX",NaN),vl(this,"lastY",NaN),vl(this,"touchIdentifier",null),vl(this,"mounted",!1),vl(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,hl.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,hl.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const o=(0,hl.getTouchIdentifier)(e);this.touchIdentifier=o;const r=(0,fl.getControlPosition)(e,o,this);if(null==r)return;const{x:i,y:a}=r,s=(0,fl.createCoreData)(this,i,a);(0,gl.default)("DraggableCore: handleDragStart: %j",s),(0,gl.default)("calling",this.props.onStart),!1!==this.props.onStart(e,s)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,hl.addUserSelectStyles)(n),this.dragging=!0,this.lastX=i,this.lastY=a,(0,hl.addEvent)(n,kl.move,this.handleDrag),(0,hl.addEvent)(n,kl.stop,this.handleDragStop))})),vl(this,"handleDrag",(e=>{const t=(0,fl.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:o}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=o-this.lastY;if([e,t]=(0,fl.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,o=this.lastY+t}const r=(0,fl.createCoreData)(this,n,o);if((0,gl.default)("DraggableCore: handleDrag: %j",r),!1!==this.props.onDrag(e,r)&&!1!==this.mounted)this.lastX=n,this.lastY=o;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const e=document.createEvent("MouseEvents");e.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(e)}})),vl(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,fl.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:o}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=o-this.lastY||0;[e,t]=(0,fl.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,o=this.lastY+t}const r=(0,fl.createCoreData)(this,n,o);if(!1===this.props.onStop(e,r)||!1===this.mounted)return!1;const i=this.findDOMNode();i&&this.props.enableUserSelectHack&&(0,hl.removeUserSelectStyles)(i.ownerDocument),(0,gl.default)("DraggableCore: handleDragStop: %j",r),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,i&&((0,gl.default)("DraggableCore: Removing handlers"),(0,hl.removeEvent)(i.ownerDocument,kl.move,this.handleDrag),(0,hl.removeEvent)(i.ownerDocument,kl.stop,this.handleDragStop))})),vl(this,"onMouseDown",(e=>(kl=xl,this.handleDragStart(e)))),vl(this,"onMouseUp",(e=>(kl=xl,this.handleDragStop(e)))),vl(this,"onTouchStart",(e=>(kl=wl,this.handleDragStart(e)))),vl(this,"onTouchEnd",(e=>(kl=wl,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,hl.addEvent)(e,wl.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,hl.removeEvent)(t,xl.move,this.handleDrag),(0,hl.removeEvent)(t,wl.move,this.handleDrag),(0,hl.removeEvent)(t,xl.stop,this.handleDragStop),(0,hl.removeEvent)(t,wl.stop,this.handleDragStop),(0,hl.removeEvent)(e,wl.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,hl.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:pl.default.findDOMNode(this)}render(){return dl.cloneElement(dl.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};ll.default=Cl,vl(Cl,"displayName","DraggableCore"),vl(Cl,"propTypes",{allowAnyClick:ul.default.bool,children:ul.default.node.isRequired,disabled:ul.default.bool,enableUserSelectHack:ul.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:ul.default.arrayOf(ul.default.number),handle:ul.default.string,cancel:ul.default.string,nodeRef:ul.default.object,onStart:ul.default.func,onDrag:ul.default.func,onStop:ul.default.func,onMouseDown:ul.default.func,scale:ul.default.number,className:ml.dontSetMe,style:ml.dontSetMe,transform:ml.dontSetMe}),vl(Cl,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),e.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}(t),o=u(ee),r=u(te),i=u(qs),a=Hs,s=rl,l=Ws,c=u(ll),d=u(cl);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h.apply(this,arguments)}function f(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m extends n.Component{static getDerivedStateFromProps(e,t){let{position:n}=e,{prevPropsPosition:o}=t;return!n||o&&n.x===o.x&&n.y===o.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:o}),{x:n.x,y:n.y,prevPropsPosition:{...n}})}constructor(e){super(e),f(this,"onDragStart",((e,t)=>{if((0,d.default)("Draggable: onDragStart: %j",t),!1===this.props.onStart(e,(0,s.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),f(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const n=(0,s.createDraggableData)(this,t),o={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=o;o.x+=this.state.slackX,o.y+=this.state.slackY;const[r,i]=(0,s.getBoundPosition)(this,o.x,o.y);o.x=r,o.y=i,o.slackX=this.state.slackX+(e-o.x),o.slackY=this.state.slackY+(t-o.y),n.x=o.x,n.y=o.y,n.deltaX=o.x-this.state.x,n.deltaY=o.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(o)})),f(this,"onDragStop",((e,t)=>{if(!this.state.dragging||!1===this.props.onStop(e,(0,s.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(this.props.position){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},e.position&&!e.onDrag&&!e.onStop&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:r.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:o,defaultPosition:r,defaultClassName:l,defaultClassNameDragging:d,defaultClassNameDragged:u,position:p,positionOffset:f,scale:m,...g}=this.props;let y={},b=null;const v=!p||this.state.dragging,w=p||r,x={x:(0,s.canDragX)(this)&&v?this.state.x:w.x,y:(0,s.canDragY)(this)&&v?this.state.y:w.y};this.state.isElementSVG?b=(0,a.createSVGTransform)(x,f):y=(0,a.createCSSTransform)(x,f);const k=(0,i.default)(o.props.className||"",l,{[d]:this.state.dragging,[u]:this.state.dragged});return n.createElement(c.default,h({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(o),{className:k,style:{...o.props.style,...y},transform:b}))}}e.default=m,f(m,"displayName","Draggable"),f(m,"propTypes",{...c.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),f(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(Vs);const{default:Nl,DraggableCore:Sl}=Vs;Bs.exports=Nl,Bs.exports.default=Nl,Bs.exports.DraggableCore=Sl;const _l=Go(Bs.exports);function Tl(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Ol="object"==typeof global&&global&&global.Object===Object&&global;var El="object"==typeof self&&self&&self.Object===Object&&self;const Ml=(Ol||El||Function("return this")()).Symbol;var Il=Object.prototype,jl=Il.hasOwnProperty,Dl=Il.toString,Pl=Ml?Ml.toStringTag:void 0;var zl=Object.prototype.toString;var Ll="[object Null]",Rl="[object Undefined]",Al=Ml?Ml.toStringTag:void 0;function $l(e){return null==e?void 0===e?Rl:Ll:Al&&Al in Object(e)?function(e){var t=jl.call(e,Pl),n=e[Pl];try{e[Pl]=void 0;var o=!0}catch{}var r=Dl.call(e);return o&&(t?e[Pl]=n:delete e[Pl]),r}(e):function(e){return zl.call(e)}(e)}const Fl=Array.isArray;function Bl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=$l(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const Vl=({dataTest:e,className:t,draggable:n,fullScreen:o,minimized:r,children:i})=>c(u,{children:n?c(_l,{children:c("div",{className:ya("fixed bottom-4 right-4 rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)]",n&&"cursor-grab z-[9999]",t,r&&"hidden",o&&"w-[95%] h-[95%] max-w-[95%] max-h-[95%]"),children:"function"==typeof i?i({fullScreen:o}):i})}):c("div",{className:ya("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",t&&!r?t:"",r&&"!h-0 !w-0 opacity-0 duration-0",o&&!r&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[95%] h-[95%] max-w-[95%] max-h-[95%] duration-0"),"data-test":e,children:"function"==typeof i?i({fullScreen:o}):i})}),ql=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:o="",showCloseIcon:a=!0,showMinimizeIcon:s=!0,showExpandIcon:p=!0,showFullScreenIcon:h=!0,title:f,label:m,children:g,open:y,onClose:b,className:v="",primaryButtonText:w,secondaryButtonText:x,onPrimaryButtonClick:k,onSecondaryButtonClick:C,dataTest:N,actionNode:S,extraActions:_,extraActionsText:T,btnContainerClassName:O,footerClassName:E,footerInfo:M,enableFullscreen:I=!1})=>{const[j,D]=r(!1),[P,z]=r(!1),[L,R]=r(!1),[A,$]=r(!1),{open:F,anchorEl:B,handleOpen:V,handleClose:q}=(()=>{const[e,t]=r(null),n=!!e,o=l((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:l((()=>{t(null)}),[]),handleOpen:o,anchorEl:e}})();i((()=>{if(!I)return;const e=e=>{"Shift"===e.key&&R(!0)},t=e=>{"Shift"===e.key&&R(!1)};return addEventListener("keydown",(t=>e(t))),addEventListener("keyup",(e=>t(e))),()=>{removeEventListener("keydown",(t=>e(t))),removeEventListener("keyup",(e=>t(e)))}}),[I]);const H=()=>{z(!P)};return y?d(u,{children:[c("div",{style:{zIndex:51},className:ya(As,!P&&$s),children:d("div",{className:ai("flex items-center justify-between",!P&&"hidden"),"data-test":N,children:[c("div",{className:"truncate text-lg font-semibold text-delta-800",children:f}),d("div",{className:"flex items-center gap-x-1",children:[p&&c(ia,{dataTest:"minimize-button",variant:"text",size:"small",onClick:H,endIcon:p&&c(mo,{height:20,width:20,color:"text-gama-500"}),children:n}),a&&c(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:b,endIcon:a&&c($n,{height:20,width:20,color:"text-delta-700"}),children:e})]})]})}),d(Vl,{dataTest:N,className:v,fullScreen:A,draggable:j,minimized:P,children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",m?{className:"text-sm text-delta-700",children:m}:{className:"text-2xl font-semibold text-delta-800",children:f}),d("div",{className:"flex items-center gap-x-1",children:[S,s&&c(ia,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:H,endIcon:s&&c(fo,{height:20,width:20,color:"text-delta-700"}),children:t}),I&&h&&c(Xi,{title:"Full screen (Shift for draggable)",children:c("div",{children:c(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{L?D((e=>!e)):$(!A)},endIcon:c(L?Un:A?Tl:Fs,{width:20,height:20,color:"text-delta-700"}),children:o})})}),a&&c(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:b,endIcon:c($n,{height:20,width:20,color:"text-delta-700"}),children:e})]})]}),m&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:f})]}),d("div",{className:"h-full",children:[" ","function"==typeof g?g({fullScreen:A}):g]}),(Fl(_)&&null!=_&&_.length||Bl(_))&&T||M?d("div",{className:ya("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",E),children:[Fl(_)&&null!=_&&_.length&&T?d(u,{children:[c(ia,{dataTest:"extra-actions-button",variant:"textGray",startIcon:c(En,{width:24,height:24}),onClick:V,children:T}),c(Ga,{open:F,anchorEl:B,onClose:q,children:_.map((e=>c(Ka,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):T&&Bl(_)&&c(ia,{dataTest:"extra-action-button",variant:"text",onClick:_,children:T})," ",M,x||w?d("div",{className:ya("flex justify-end gap-x-4",O),children:[x&&C&&c(ia,{dataTest:"cancel-button",variant:"outlined",onClick:C,children:x}),w&&k&&c(ia,{dataTest:"save-button",onClick:k,children:w})]}):null]}):c(u,{children:x||w?d("div",{className:ya("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",O),children:[x&&C&&c(ia,{dataTest:"cancel-button",variant:"outlined",onClick:C,children:x}),w&&k&&c(ia,{dataTest:"save-button",onClick:k,children:w})]}):null})]})]}):null},Hl=({showCloseIcon:e,tooltipTitle:t,onClick:n,title:o})=>e?c("div",{children:c(Xi,{title:t,placement:"top",children:c("div",{children:c(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:n,endIcon:c($n,{height:20,width:20,color:"text-delta-700"}),children:o})})})}):null,Wl=({visibility:e,tooltipTitle:t,onClick:n,title:o,type:r})=>{if(!e)return null;const i="minimize"===r;return"expand"===r?c("div",{children:c(Xi,{title:t,placement:"top",children:c("div",{children:c(ia,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:n,endIcon:c(mo,{height:20,width:20,color:"text-gama-500"}),children:o})})})}):i?c("div",{children:c(Xi,{title:t,placement:"top",children:c("div",{children:c(ia,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:n,endIcon:c(fo,{height:20,width:20,color:"text-delta-700"}),children:o})})})}):null},Ul="_minimized-dialog_1tnc1_5",Yl="_dialog_1tnc1_1",Gl="_hidden_1tnc1_25",Kl=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",showCloseIcon:o=!0,showMinimizeIcon:i=!0,showExpandIcon:a=!0,title:s,label:l,children:p,open:h,onClose:f,classNameOverrides:m={maximized:"",minimized:""},dataTest:g,actionNode:y,tooltipOverrides:b={maximized:"",minimized:"",close:""}})=>{const[v,w]=r(!1),x=()=>{w(!v)};return h?d(u,{children:[c("div",{style:{zIndex:51},className:ya(Ul,!v&&Gl,m.minimized),children:d("div",{className:ai("flex items-center justify-between",!v&&"hidden"),"data-test":g,children:[c("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:c(Xi,{title:s,placement:"top",children:c("div",{className:"truncate",children:s})})}),d("div",{className:"flex items-center gap-x-1",children:[c(Wl,{type:"expand",visibility:a,onClick:x,title:n,tooltipTitle:b.maximized||"Expand"}),c(Hl,{showCloseIcon:o,onClick:f,title:e,tooltipTitle:b.close||"Close"})]})]})}),d("div",{style:{zIndex:51},className:ya(Yl,v&&Gl,m.maximized),children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",l?{className:"text-sm text-delta-700",children:l}:{className:"text-2xl font-semibold text-delta-800",children:s}),d("div",{className:"flex items-center gap-x-1",children:[y,c(Wl,{visibility:i,type:"minimize",onClick:x,title:t,tooltipTitle:b.minimized||"Minimize"}),c(Hl,{showCloseIcon:o,onClick:f,title:e,tooltipTitle:b.close||"Close"})]})]}),l&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:s})]}),c("div",{className:ya(v&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:p})]})]}):null};export{Pn as ArchiveIcon,gn as AssignmentIcon,yn as AssignmentOutlineIcon,H as Avatar,yo as BadgeIcon,Jt as BellIcon,Xt as BellOutlineIcon,eo as CalendarBlankOutlineIcon,hn as CalendarIcon,mn as CalendarRangeIcon,Ln as CheckBoxCheckedIcon,pn as CheckFactIcon,un as CheckFactOutlineIcon,Fn as CheckIcon,dn as CheckOutlineIcon,tn as ChevronDoubleLeftIcon,nn as ChevronDoubleRightIcon,Rn as ChevronDownIcon,en as ChevronLeftIcon,Qt as ChevronRightIcon,An as ChevronUpIcon,W as ClickAwayListener,$n as CloseIcon,ho as ConsentsIcon,U as Container,ws as CopyButton,Cs as CopyWrapper,an as DashboardViewIcon,sn as DashboardViewOutlineIcon,Gn as DeleteOutlineIcon,En as DotsVerticalIcon,zn as DownloadIcon,Un as DragHorizontalIcon,Dn as DropDownIcon,jn as DropUpIcon,Jn as DvrIcon,so as EarthIcon,bo as EditSquareIcon,Zn as ErrorOutlineIcon,Y as Fade,no as FastCheckOutlineIcon,Yn as FilePdfIcon,Kn as FilterIcon,Sn as FindReplaceIcon,_n as FindReplacePeopleIcon,G as FormLabel,Zt as HamburgerIcon,ko as HandymanIcon,xo as HandymanOutlineIcon,qn as InboxOutboxIcon,Hn as InboxOutboxOutlineIcon,mo as KeyboardCapslockIcon,to as LinkOutlineIcon,bn as ListNumberedIcon,ao as ListSettingsLineIcon,ro as ListStatusIcon,In as LoadingIcon,Xn as LockIcon,vn as MessageProcessingIcon,wn as MessageProcessingOutlineIcon,go as MessageReplyIcon,ql as MinimizableDialog,Kl as MinimizableDialogV2,fo as MinimizeIcon,fn as NewCalendarIcon,po as OutlineCalendarMonth,K as Paper,rn as PdfIcon,co as PencilOutlineIcon,cn as PeopleIcon,ln as PeopleOutlineIcon,Bn as PermMediaIcon,Vn as PermMediaOutline,Tn as PersonIcon,On as PersonOutlineIcon,Co as PinIcon,vo as PlusIcon,wo as PlusIconCircle,X as Popper,on as QnrIcon,Qn as ReplayIcon,xn as ReportBoxIcon,kn as ReportBoxOutlineIcon,Mn as SearchIcon,Cn as SettingsIcon,lo as SettingsMenuHorizontalIcon,Nn as SettingsOutlineIcon,J as Skeleton,Z as Stack,is as StyledAccordion,ss as StyledAccordionDetails,as as StyledAccordionSummary,fe as StyledBadge,ia as StyledButton,Ta as StyledCheckbox,So as StyledChip,ha as StyledDialog,ba as StyledDialogActions,wa as StyledDialogContent,ka as StyledDialogTitle,Ya as StyledDrawer,Na as StyledEmptyPage,cs as StyledFilterButton,ps as StyledFilterMenu,Va as StyledFormControl,qa as StyledFormControlLabel,Ua as StyledFormGroup,Ha as StyledFormHelperText,na as StyledFormLabel,Oa as StyledInputField,Wa as StyledInputLabel,_o as StyledInteractiveChip,Ba as StyledLabel,ns as StyledLink,_a as StyledLoading,Ga as StyledMenu,Ka as StyledMenuItem,Xa as StyledMenuList,Rs as StyledModuleTitle,ls as StyledPopover,$a as StyledRadio,Fa as StyledRadioGroup,Ea as StyledSearchField,ja as StyledSelect,La as StyledSelectAutocomplete,Da as StyledSelectItem,Ra as StyledSlider,Aa as StyledSwitch,os as StyledTab,rs as StyledTabs,Ia as StyledTextarea,Xi as StyledTooltip,Ji as StyledTypography,zs as StyledWidget,Ts as StyledWidgetHeader,Ss as StyledWidgetTitle,io as TextBoxCheckOutlineIcon,Wn as TopicIcon,oo as UnknownDocumentOutlineRoundedIcon,uo as WarningAmberOutlineIcon,No as WorkIcon,oe as omit,he as prepareForSlot,ue as setMidnightTime,pe as setZeroTime};
20
+ "production"===process.env.NODE_ENV?pl.exports=function(){if(dl)return hl;dl=1;var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var l,s={},c=null,d=null;for(l in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,l)&&!a.hasOwnProperty(l)&&(s[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===s[l]&&(s[l]=t[l]);return{$$typeof:o,type:e,key:c,ref:d,props:s,_owner:i.current}}return hl.Fragment=n,hl.jsx=l,hl.jsxs=l,hl}():pl.exports=(ul||(ul=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];!function(e,t,o){var n=y.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var r=o.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,r)}(0,e,o)}var v;function x(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return x(e)+".Consumer";case l:return x(e._context)+".Provider";case c:return function(e,t,o){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?o+"("+r+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return w(m(f))}catch{return null}}return null}v=Symbol.for("react.module.reference");var k,C,N,_,T,E,S,O=Object.assign,M=0;function I(){}I.__reactDisabledLog=!0;var j,z=y.ReactCurrentDispatcher;function L(e,t,o){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var R,$=!1,P="function"==typeof WeakMap?WeakMap:Map;function A(e,t){if(!e||$)return"";var o,n=R.get(e);if(void 0!==n)return n;$=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=z.current,z.current=null,function(){if(0===M){k=console.log,C=console.info,N=console.warn,_=console.error,T=console.group,E=console.groupCollapsed,S=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=o.stack.split("\n"),c=l.length-1,d=s.length-1;c>=1&&d>=0&&l[c]!==s[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==s[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==s[d]){var u="\n"+l[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&R.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{$=!1,z.current=r,function(){if(0==--M){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:k}),info:O({},e,{value:C}),warn:O({},e,{value:N}),error:O({},e,{value:_}),group:O({},e,{value:T}),groupCollapsed:O({},e,{value:E}),groupEnd:O({},e,{value:S})})}M<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?L(p):"";return"function"==typeof e&&R.set(e,h),h}function D(e,t,o){if(null==e)return"";if("function"==typeof e)return A(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return L(e);switch(e){case d:return L("Suspense");case u:return L("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return A(e,!1)}(e.render);case p:return D(e.type,t,o);case h:var r=e,i=r._payload,a=r._init;try{return D(a(i),t,o)}catch{}}return""}R=new P;var F=Object.prototype.hasOwnProperty,B={},q=y.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);q.setExtraStackFrame(o)}else q.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,n,r,i,a,l){var s={$$typeof:o,type:e,key:t,ref:n,props:l,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};var ee,te=y.ReactCurrentOwner,oe=y.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(o)}else oe.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ie();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ae[o]){ae[o]=!0;var n="";e&&e._owner&&e._owner!==te.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),ne(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,n),ne(null)}}}function se(e,t){if("object"==typeof e)if(W(e))for(var o=0;o<e.length;o++){var n=e[o];re(n)&&le(n,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)re(i.value)&&le(i.value,t)}}function ce(e,t,n,m,g,y){var x,k=!("string"!=typeof(x=e)&&"function"!=typeof x&&x!==r&&x!==a&&x!==i&&x!==d&&x!==u&&x!==f&&("object"!=typeof x||null===x||x.$$typeof!==h&&x.$$typeof!==p&&x.$$typeof!==l&&x.$$typeof!==s&&x.$$typeof!==c&&x.$$typeof!==v&&void 0===x.getModuleId));if(!k){var C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var N,_=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=_||ie(),null===e?N="null":W(e)?N="array":void 0!==e&&e.$$typeof===o?(N="<"+(w(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):N=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,C)}var T=function(e,t,o,n,r){var i,a,l,s,c={},d=null,u=null;for(i in void 0!==o&&(K(o),d=""+o),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),d=""+t.key),function(e){if(F.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var o=w(J.current.type);X[o]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(J.current.type),e.ref),X[o]=!0)}}(t,r)),t)F.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,l=h,(s=function(){G||(G=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",l))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:s,configurable:!0})),u&&function(e,t){var o=function(){Y||(Y=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(c,h)}return Q(e,d,u,r,n,J.current,c)}(e,t,n,g,y);if(null==T)return T;if(k){var E=t.children;if(void 0!==E)if(m)if(W(E)){for(var S=0;S<E.length;S++)se(E[S],e);Object.freeze&&Object.freeze(E)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(E,e)}return e===r?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var n=t[o];if("children"!==n&&"key"!==n){ne(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ne(null);break}}null!==e.ref&&(ne(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(T):function(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var n=w(o);!function(e,t,o,n,r){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((n||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](t,a,n,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}l&&!(l instanceof Error)&&(V(r),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",o,a,typeof l),V(null)),l instanceof Error&&!(l.message in B)&&(B[l.message]=!0,V(r),b("Failed %s type: %s",o,l.message),V(null))}}(t,e.props,"prop",n,e)}else void 0===o.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(T),T}fl.Fragment=r,fl.jsx=function(e,t,o){return ce(e,t,o,!1)},fl.jsxs=function(e,t,o){return ce(e,t,o,!0)}}()),fl);var ml=pl.exports;function gl(e){return ml.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ml.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}const yl=({className:e,contentToCopy:t,locale:o,messageInfo:n,text:r})=>{const i="en"===o?"Copy":"Kopier",a=ca();return c(Ki,{title:i,children:c("div",{children:c(oa,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:c(gl,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(r||i)})})})},bl="_copy-wrapper_1gjzc_1",vl="_hidden-copy_1gjzc_1",xl=({className:e,contentToCopy:t,locale:o,messageInfo:n,children:r})=>d("div",{className:fa("flex items-center gap-2 hover:text-gama-500",bl,e),children:[r,c(Ki,{title:"no"===o?"Kopier":"Copy",className:vl,children:c("div",{children:c(oa,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:c(gl,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),wl="_styled-widget-title_1gze6_1",kl=function(e){return c("div",{className:wl,children:e.children})},Cl="_styled-widget-header_1qk88_1",Nl=({actions:e,title:t,containerClassname:o,actionsClassname:n})=>d("div",{className:fa(Cl,o),children:[c(kl,{children:t}),c("div",{className:n,children:e})]}),_l="_asma-core-ui-styled-widget_cb7kt_1",Tl="_widget-header_cb7kt_13",El="_widget-content_cb7kt_19",Sl="_widget-footer_cb7kt_29",Ol="_widget-link_cb7kt_34";function Ml(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Il(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const jl=({children:e,title:t,icon:o,link:n,viewMore:a,persistKey:l,isLoading:s,isEmpty:p,emptyText:h})=>{const[f,m]=r(!1);return i((()=>{if(l){const e=localStorage.getItem(l);m("true"===e)}}),[l]),i((()=>{l&&localStorage.setItem(l,String(f))}),[f,l]),d("div",{className:_l,children:[d("div",{className:Tl,children:[o,c(kl,{children:t})]}),c("div",{className:El,children:d(u,{children:[e,c(Ca,{isLoading:s}),c(wa,{isEmpty:p,emptyText:h})]})}),d("div",{className:Sl,children:[!a||null!=a&&a.hide?c("div",{}):c(oa,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:c(f?Ml:Il,{width:20,height:20}),onClick:()=>{var e;m(!f),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:f?a.viewLessText:a.viewMoreText}),n&&!n.hide?c(Qa,{dataTest:"go-to-button",className:Ol,size:"small",href:n.href,onClick:n.onClick,content:n.content}):c("div",{})]})]})},zl="_styled-module-title_174mo_1",Ll=function(e){return c("h1",{"data-test":e.dataTest,className:zl,children:e.children})},Rl="_dialog_erjok_1",$l="_hidden_erjok_9";function Pl(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function Al(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Dl="object"==typeof global&&global&&global.Object===Object&&global;var Fl="object"==typeof self&&self&&self.Object===Object&&self;const Bl=(Dl||Fl||Function("return this")()).Symbol;var ql=Object.prototype,Vl=ql.hasOwnProperty,Hl=ql.toString,Wl=Bl?Bl.toStringTag:void 0;var Ul=Object.prototype.toString;var Kl="[object Null]",Gl="[object Undefined]",Yl=Bl?Bl.toStringTag:void 0;function Xl(e){return null==e?void 0===e?Gl:Kl:Yl&&Yl in Object(e)?function(e){var t=Vl.call(e,Wl),o=e[Wl];try{e[Wl]=void 0;var n=!0}catch{}var r=Hl.call(e);return n&&(t?e[Wl]=o:delete e[Wl]),r}(e):function(e){return Ul.call(e)}(e)}const Jl=Array.isArray;function Zl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=Xl(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const Ql=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,showFullScreenIcon:p=!0,title:h,label:f,children:m,open:g,onClose:y,className:b="",primaryButtonText:v,secondaryButtonText:x,onPrimaryButtonClick:w,onSecondaryButtonClick:k,dataTest:C,actionNode:N,extraActions:_,extraActionsText:T,btnContainerClassName:E,footerClassName:S,footerInfo:O,locale:M="en",enableFullscreen:I=!0})=>{const[j,z]=r(!1),[L,R]=r(!1),{open:$,anchorEl:P,handleOpen:A,handleClose:D}=(()=>{const[e,t]=r(null),o=!!e,n=s((e=>{t(e.currentTarget)}),[]);return{open:o,handleClose:s((()=>{t(null)}),[]),handleOpen:n,anchorEl:e}})(),F=()=>{z(!j)};return g?d(u,{children:[c("div",{style:{zIndex:51},className:fa(Rl,!j&&$l),children:d("div",{className:ri("flex items-center justify-between",!j&&"hidden"),"data-test":C,children:[c("div",{className:"truncate text-lg font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[l&&c(Ki,{title:"en"===M?"Expand":"Utvid",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"text",size:"small",onClick:F,endIcon:l&&c(mn,{height:20,width:20,color:"text-gama-500"}),children:o})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:i&&c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),d("div",{className:fa("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",b&&!j?b:"",j&&"!h-0 !w-0 opacity-0 duration-0",L&&!j&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-screen duration-0"),"data-test":C,children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",f?{className:"text-sm text-delta-700",children:f}:{className:"text-2xl font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[N,a&&c(Ki,{title:"en"===M?"Minimize":"Minimer",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:F,endIcon:a&&c(fn,{height:20,width:20,color:"text-delta-700"}),children:t})})}),I&&p&&c(Ki,{title:L?"en"===M?"Exit full screen":"Avslutt fullskjerm":"en"===M?"Full screen":"Fullskjerm",children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{R(!L)},endIcon:c(L?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:n})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),f&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:h})]}),d("div",{className:"h-max",children:[" ","function"==typeof m?m({fullScreen:L}):m]}),(Jl(_)&&null!=_&&_.length||Zl(_))&&T||O?d("div",{className:fa("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",S),children:[Jl(_)&&null!=_&&_.length&&T?d(u,{children:[c(oa,{dataTest:"extra-actions-button",variant:"textGray",startIcon:c(Oo,{width:24,height:24}),onClick:A,children:T}),c(Wa,{open:$,anchorEl:P,onClose:D,children:_.map((e=>c(Ua,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):T&&Zl(_)&&c(oa,{dataTest:"extra-action-button",variant:"text",onClick:_,children:T})," ",O,x||v?d("div",{className:fa("flex justify-end gap-x-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null]}):c(u,{children:x||v?d("div",{className:fa("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null})]})]}):null},es=({showCloseIcon:e,tooltipTitle:t,onClick:o,title:n})=>e?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:o,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null,ts=({visibility:e,tooltipTitle:t,onClick:o,title:n,type:r})=>{if(!e)return null;const i="minimize"===r;return"expand"===r?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:o,endIcon:c(mn,{height:20,width:20,color:"text-gama-500"}),children:n})})})}):i?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:o,endIcon:c(fn,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null},os="_minimized-dialog_1tnc1_5",ns="_dialog_1tnc1_1",rs="_hidden_1tnc1_25",is=({fullScreen:e,showFullScreenIcon:t,title:o,tooltipTitle:n,onClick:r})=>t?c(u,{children:t&&c(Ki,{title:n,children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:r,endIcon:c(e?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:o})})})}):null,as=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,enableFullscreen:s=!0,title:p,label:h,children:f,open:m,onClose:g,classNameOverrides:y={maximized:"",minimized:"",fullscreen:""},dataTest:b,actionNode:v,tooltipOverrides:x={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[w,k]=r(!1),[C,N]=r(!1),_=()=>{k(!w)};return m?d(u,{children:[c("div",{style:{zIndex:51},className:fa(os,!w&&rs,y.minimized),children:d("div",{className:ri("flex items-center justify-between",!w&&"hidden"),"data-test":b,children:[c("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:c(Ki,{title:p,placement:"top",children:c("div",{className:"truncate",children:p})})}),d("div",{className:"flex items-center gap-x-1",children:[c(ts,{type:"expand",visibility:l,onClick:_,title:o,tooltipTitle:x.maximized||"Expand"}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]})}),d("div",{style:{zIndex:51},className:fa(ns,w&&rs,C&&!w&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] duration-0",y.maximized,C&&y.fullscreen),children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",h?{className:"text-sm text-delta-700",children:h}:{className:"text-2xl font-semibold text-delta-800",children:p}),d("div",{className:"flex items-center gap-x-1",children:[v,c(ts,{visibility:a,type:"minimize",onClick:_,title:t,tooltipTitle:x.minimized||"Minimize"}),c(is,{showFullScreenIcon:s,fullScreen:C,onClick:()=>N(!C),title:n,tooltipTitle:x.fullscreen||(C?"Exit full screen":"Full screen")}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]}),h&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:p})]}),c("div",{className:fa(w&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:f})]})]}):null};export{Lo as ArchiveIcon,go as AssignmentIcon,yo as AssignmentOutlineIcon,H as Avatar,yn as BadgeIcon,Jt as BellIcon,Xt as BellOutlineIcon,en as CalendarBlankOutlineIcon,ho as CalendarIcon,mo as CalendarRangeIcon,$o as CheckBoxCheckedIcon,po as CheckFactIcon,uo as CheckFactOutlineIcon,Fo as CheckIcon,co as CheckOutlineIcon,to as ChevronDoubleLeftIcon,oo as ChevronDoubleRightIcon,Po as ChevronDownIcon,eo as ChevronLeftIcon,Qt as ChevronRightIcon,Ao as ChevronUpIcon,W as ClickAwayListener,Do as CloseIcon,hn as ConsentsIcon,U as Container,yl as CopyButton,xl as CopyWrapper,io as DashboardViewIcon,ao as DashboardViewOutlineIcon,Go as DeleteOutlineIcon,Oo as DotsVerticalIcon,Ro as DownloadIcon,Uo as DragHorizontalIcon,zo as DropDownIcon,jo as DropUpIcon,Jo as DvrIcon,sn as EarthIcon,bn as EditSquareIcon,Zo as ErrorOutlineIcon,K as Fade,on as FastCheckOutlineIcon,Ko as FilePdfIcon,Yo as FilterIcon,_o as FindReplaceIcon,To as FindReplacePeopleIcon,G as FormLabel,Zt as HamburgerIcon,kn as HandymanIcon,wn as HandymanOutlineIcon,Vo as InboxOutboxIcon,Ho as InboxOutboxOutlineIcon,mn as KeyboardCapslockIcon,tn as LinkOutlineIcon,bo as ListNumberedIcon,ln as ListSettingsLineIcon,rn as ListStatusIcon,Io as LoadingIcon,Xo as LockIcon,vo as MessageProcessingIcon,xo as MessageProcessingOutlineIcon,gn as MessageReplyIcon,Ql as MinimizableDialog,as as MinimizableDialogV2,fn as MinimizeIcon,fo as NewCalendarIcon,pn as OutlineCalendarMonth,Y as Paper,ro as PdfIcon,dn as PencilOutlineIcon,so as PeopleIcon,lo as PeopleOutlineIcon,Bo as PermMediaIcon,qo as PermMediaOutline,Eo as PersonIcon,So as PersonOutlineIcon,Cn as PinIcon,vn as PlusIcon,xn as PlusIconCircle,X as Popper,no as QnrIcon,Qo as ReplayIcon,wo as ReportBoxIcon,ko as ReportBoxOutlineIcon,Mo as SearchIcon,Co as SettingsIcon,cn as SettingsMenuHorizontalIcon,No as SettingsOutlineIcon,J as Skeleton,Z as Stack,ol as StyledAccordion,rl as StyledAccordionDetails,nl as StyledAccordionSummary,fe as StyledBadge,oa as StyledButton,Na as StyledCheckbox,_n as StyledChip,da as StyledDialog,ma as StyledDialogActions,ya as StyledDialogContent,va as StyledDialogTitle,Ha as StyledDrawer,wa as StyledEmptyPage,al as StyledFilterButton,cl as StyledFilterMenu,Da as StyledFormControl,Fa as StyledFormControlLabel,Va as StyledFormGroup,Ba as StyledFormHelperText,Qi as StyledFormLabel,_a as StyledInputField,qa as StyledInputLabel,Tn as StyledInteractiveChip,Aa as StyledLabel,Qa as StyledLink,Ca as StyledLoading,Wa as StyledMenu,Ua as StyledMenuItem,Ka as StyledMenuList,Ll as StyledModuleTitle,il as StyledPopover,$a as StyledRadio,Pa as StyledRadioGroup,Ta as StyledSearchField,Oa as StyledSelect,za as StyledSelectAutocomplete,Ma as StyledSelectItem,La as StyledSlider,Ra as StyledSwitch,el as StyledTab,tl as StyledTabs,Sa as StyledTextarea,Ki as StyledTooltip,Gi as StyledTypography,jl as StyledWidget,Nl as StyledWidgetHeader,kl as StyledWidgetTitle,an as TextBoxCheckOutlineIcon,Wo as TopicIcon,nn as UnknownDocumentOutlineRoundedIcon,un as WarningAmberOutlineIcon,Nn as WorkIcon,ne as omit,he as prepareForSlot,ue as setMidnightTime,pe as setZeroTime};