asma-ui-table 1.0.91 → 1.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asma-ui-table.es.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/asma-ui-table.es.js
CHANGED
|
@@ -37,4 +37,4 @@ import*as e from"react";import t,{useMemo as n,useLayoutEffect as o,useEffect as
|
|
|
37
37
|
*
|
|
38
38
|
* @license MIT
|
|
39
39
|
*/
|
|
40
|
-
function wo(t,n){return t?function(e){return function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(e)||"function"==typeof e||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(e)}(t)?e.createElement(t,n):t:null}const yo={getInitialState:e=>({expandedRows:new Set,...e}),getDefaultOptions:e=>({onChangeExpandedRows:wn("expandedRows",e)}),createTable:e=>{e.setExpandedRows=t=>{var n,o;return null==(o=(n=e.options).onChangeExpandedRows)?void 0:o.call(n,(e=>vn(t,e)))}},createRow:(e,t)=>{e.onChangeExpanded=n=>t.setExpandedRows((t=>{const o=new Set(t),r=e.id;return n?o.add(r):o.delete(r),vn((()=>o),t)})),e.isExpanded=()=>t.getState().expandedRows.has(e.id),e.toggleExpand=()=>{const t=e.isExpanded();e.onChangeExpanded(!t)}}},xo={getInitialState:e=>({focusedRow:null,...e}),getDefaultOptions:e=>({onChangeFocusedRow:wn("focusedRow",e)}),createTable:e=>{e.setFocusedRow=t=>{var n,o;return null==(o=(n=e.options).onChangeFocusedRow)?void 0:o.call(n,(e=>vn(t,e)))},e.focusRowById=async t=>{var n;if(-1===e.getRowModel().rows.findIndex((e=>e.id===t))&&e.getState().pagination){const o=e.getState().pagination.pageSize,r=e.getCoreRowModel().rows.findIndex((e=>e.id===t));if(-1!==r){const t=Math.floor(r/o);null==(n=e.setPageIndex)||n.call(e,t)}}if(await new Promise(requestAnimationFrame),!e.getRowModel().rows.find((e=>e.id===t)))return;e.setFocusedRow((()=>t));const o=document.getElementById(t);o&&(o.focus({preventScroll:!1}),o.scrollIntoView({behavior:"smooth",block:"center"}))}},createRow:(e,t)=>{e.isFocused=()=>t.getState().focusedRow===e.id,e.onChangeFocused=(n,o)=>{const r=o??e.id;if(t.setFocusedRow((()=>n?r:null)),n){const e=document.getElementById(r);e&&e.scrollIntoView({behavior:"smooth",block:"center"})}},e.toggleFocused=()=>e.onChangeFocused(!e.isFocused()),e.focusNextRow=()=>{var e;const n=t.getRowModel().rows,o=n.findIndex((e=>e.id===t.getState().focusedRow)),r=n[o+1];r&&(r.onChangeFocused(!0,r.id),null==(e=document.getElementById(r.id))||e.focus())},e.focusPrevRow=()=>{var e;const n=t.getRowModel().rows,o=n.findIndex((e=>e.id===t.getState().focusedRow)),r=n[o-1];r&&(r.onChangeFocused(!0,r.id),null==(e=document.getElementById(r.id))||e.focus())}}},Co=t=>{const{columns:n,data:o,initialState:r,pageSize:i,enableRowSelection:l,tableInstanceRef:a,locale:s,...u}=t,c=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=e.useState((()=>({current:mo(n)}))),[r,i]=e.useState((()=>o.current.initialState));return o.current.setOptions((e=>({...e,...t,state:{...r,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),o.current}({_features:[yo,xo],columns:n,data:o,meta:{locale:s??"en"},initialState:{pagination:{pageIndex:0,pageSize:i||50},columnVisibility:{...null==r?void 0:r.columnVisibility,[E]:!1},...r},enableRowSelection:l,getCoreRowModel:e=>xn((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const l=[];for(let s=0;s<t.length;s++){const u=In(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var a;n.flatRows.push(u),n.rowsById[u.id]=u,l.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[s],s),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=o(u.originalSubRows,r+1,u)))}return l};return n.rows=o(t),n}),Cn(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),getExpandedRowModel:e=>xn((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>t.rows.length&&(!0===e||Object.keys(e??{}).length)&&n?bo(t):t),Cn(e.options,"debugTable","getExpandedRowModel")),getFilteredRowModel:e=>xn((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,n,o)=>{if(!t.rows.length||(null==n||!n.length)&&!o){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const r=[],i=[];(n??[]).forEach((t=>{var n;const o=e.getColumn(t.id);if(!o)return;const i=o.getFilterFn();i?r.push({id:t.id,filterFn:i,resolvedValue:null!=(n=null==i.resolveFilterValue?void 0:i.resolveFilterValue(t.value))?n:t.value}):"production"!==process.env.NODE_ENV&&console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${o.id}.`)}));const l=(n??[]).map((e=>e.id)),a=e.getGlobalFilterFn(),s=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let u,c;o&&a&&s.length&&(l.push("__global__"),s.forEach((e=>{var t;i.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(o))?t:o})})));for(let e=0;e<t.flatRows.length;e++){const n=t.flatRows[e];if(n.columnFilters={},r.length)for(let e=0;e<r.length;e++){u=r[e];const t=u.id;n.columnFilters[t]=u.filterFn(n,t,u.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))}if(i.length){for(let e=0;e<i.length;e++){c=i[e];const t=c.id;if(c.filterFn(n,t,c.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return vo(t.rows,(e=>{for(let t=0;t<l.length;t++)if(!1===e.columnFilters[l[t]])return!1;return!0}),e)}),Cn(e.options,"debugTable","getFilteredRowModel",(()=>e._autoResetPageIndex()))),getSortedRowModel:e=>xn((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const o=e.getState().sorting,r=[],i=o.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),l={};i.forEach((t=>{const n=e.getColumn(t.id);n&&(l[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const a=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let o=0;o<i.length;o+=1){var n;const r=i[o],a=l[r.id],s=a.sortUndefined,u=null!=(n=null==r?void 0:r.desc)&&n;let c=0;if(s){const n=void 0===e.getValue(r.id),o=void 0===t.getValue(r.id);if(n||o){if("first"===s)return n?-1:1;if("last"===s)return n?1:-1;c=n&&o?0:n?s:-s}}if(0===c&&(c=a.sortingFn(e,t,r.id)),0!==c)return u&&(c*=-1),a.invertSorting&&(c*=-1),c}return e.index-t.index})),t.forEach((e=>{var t;r.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(n.rows),flatRows:r,rowsById:n.rowsById}}),Cn(e.options,"debugTable","getSortedRowModel",(()=>e._autoResetPageIndex()))),getPaginationRowModel:e=>xn((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:o,pageIndex:r}=t;let{rows:i,flatRows:l,rowsById:a}=n;const s=o*r,u=s+o;let c;i=i.slice(s,u),c=e.options.paginateExpandedRows?{rows:i,flatRows:l,rowsById:a}:bo({rows:i,flatRows:l,rowsById:a}),c.flatRows=[];const d=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(d)};return c.rows.forEach(d),c}),Cn(e.options,"debugTable","getPaginationRowModel")),getRowId:u.getRowId||((e,t,n)=>n?[n.id,e.id].join("."):e.id.toString()),defaultColumn:t.enableResizing?{size:void 0}:void 0,...u});return a&&(a.current=c),{table:c}},So=({dataTest:e,...t})=>T.jsx(b,{...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"}}});function Ro(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const Eo=()=>{const[e,t]=a(null),[n,o]=a(!1),r=l((e=>{t(e.currentTarget),o(!0)}),[]);return{open:n,handleClose:l((()=>{o(!1)}),[]),handleOpen:r,anchorEl:e}};function _o(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M12 16a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2"})})}const Io=e=>{var t;return T.jsx(v,{...e,classes:{root:cn("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Do="_asma-core-ui-button_gteum_1",Mo={contained:"_contained_gteum_27",outlined:"_outlined_gteum_141",text:"_text_gteum_255",textGray:"_textGray_gteum_369",textWhite:"_textWhite_gteum_426",large:"_large_gteum_79",small:"_small_gteum_74",medium:"_medium_gteum_69",error:"_error_gteum_84",common:"_common_gteum_27"},Fo=({variant:e="contained",className:t="",size:n="medium",children:o,refLink:r,startIcon:i,endIcon:l,dataTest:a,error:s,...u})=>{const c="large"===n||"medium"===n,d=s?"error":"common";return T.jsxs("button",{...u,className:cn(Do,Mo[e],Mo[d],Mo[n],t),ref:r,"data-test":a,children:[i,o&&T.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:c?"8px":"4px",paddingLeft:c?"8px":"4px",paddingRight:c?"8px":"4px"},children:o}),l]})};function Oo(){return Oo=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},Oo.apply(this,arguments)}function Po(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}function No(e,t){return(No=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}const ko=!1;var jo="production"!==process.env.NODE_ENV?C.oneOfType([C.number,C.shape({enter:C.number,exit:C.number,appear:C.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&C.oneOfType([C.string,C.shape({enter:C.string,exit:C.string,active:C.string}),C.shape({enter:C.string,enterDone:C.string,enterActive:C.string,exit:C.string,exitDone:C.string,exitActive:C.string})]);const To=t.createContext(null);var Ao="unmounted",Vo="exited",zo="entering",Lo="entered",Ho="exiting",Go=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=Vo,o.appearStatus=zo):r=Lo:r=t.unmountOnExit||t.mountOnEnter?Ao:Vo,o.state={status:r},o.nextCallback=null,o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,No(e,t)}(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ao?{status:Vo}: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!==zo&&n!==Lo&&(t=zo):(n===zo||n===Lo)&&(t=Ho)}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===zo){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Vo&&this.setState({status:Ao})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[p.findDOMNode(this),o],i=r[0],l=r[1],a=this.getTimeouts(),s=o?a.appear:a.enter;!e&&!n||ko?this.safeSetState({status:Lo},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:zo},(function(){t.props.onEntering(i,l),t.onTransitionEnd(s,(function(){t.safeSetState({status:Lo},(function(){t.props.onEntered(i,l)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:p.findDOMNode(this);t&&!ko?(this.props.onExit(o),this.safeSetState({status:Ho},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Vo},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:Vo},(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:p.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],l=r[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Ao)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=Po(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(To.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function $o(){}Go.contextType=To,Go.propTypes="production"!==process.env.NODE_ENV?{nodeRef:C.shape({current:typeof Element>"u"?C.any:function(e,t,n,o,r,i){var l=e[t];return C.instanceOf(l&&"ownerDocument"in l?l.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:C.oneOfType([C.func.isRequired,C.element.isRequired]).isRequired,in:C.bool,mountOnEnter:C.bool,unmountOnExit:C.bool,appear:C.bool,enter:C.bool,exit:C.bool,timeout:function(e){var t=jo;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:C.func,onEnter:C.func,onEntering:C.func,onEntered:C.func,onExit:C.func,onExiting:C.func,onExited:C.func}:{},Go.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$o,onEntering:$o,onEntered:$o,onExit:$o,onExiting:$o,onExited:$o},Go.UNMOUNTED=Ao,Go.EXITED=Vo,Go.ENTERING=zo,Go.ENTERED=Lo,Go.EXITING=Ho;const Bo=Go;function Uo(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Wo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function qo(e){if(!Wo(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=qo(e[n])})),t}function Ko(e,t,n={clone:!0}){const o=n.clone?Oo({},e):e;return Wo(e)&&Wo(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(Wo(t[r])&&r in e&&Wo(e[r])?o[r]=Ko(e[r],t[r],n):n.clone?o[r]=Wo(t[r])?qo(t[r]):t[r]:o[r]=t[r])})),o}function Xo(e,t,n,o,r){const i=e[t],l=r||t;if(null==i||typeof window>"u")return null;let a;const s=i.type;return"function"==typeof s&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(s)&&(a="Did you accidentally use a plain function component for an element instead?"),void 0!==a?new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Yo=Uo(C.element,Xo);Yo.isRequired=Uo(C.element.isRequired,Xo);const Jo=Yo;function Zo(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 Qo(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Zo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const er=e=>e,tr=(()=>{let e=er;return{configure(t){e=t},generate:t=>e(t),reset(){e=er}}})(),nr=tr,or={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function rr(e,t,n="Mui"){const o=or[t];return o?`${n}-${o}`:`${nr.generate(e)}-${t}`}const ir=["values","unit","step"],lr=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)=>Oo({},e,{[t.key]:t.val})),{})};const ar={borderRadius:4},sr="production"!==process.env.NODE_ENV?C.oneOfType([C.number,C.string,C.object,C.array]):{};function ur(e,t){return t?Ko(e,t,{clone:!1}):e}const cr={xs:0,sm:600,md:900,lg:1200,xl:1536},dr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${cr[e]}px)`};function gr(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||dr;return t.reduce(((o,r,i)=>(o[e.up(e.keys[i])]=n(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||dr;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||cr).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function pr(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 fr(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:pr(e,n)||o,t&&(r=t(r,o,e)),r}function hr(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],l=pr(e.theme,o)||{};return gr(e,i,(e=>{let o=fr(l,r,e);return e===o&&"string"==typeof e&&(o=fr(l,r,`${t}${"default"===e?"":Qo(e)}`,e)),!1===n?o:{[n]:o}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:sr}:{},i.filterProps=[t],i}const mr={m:"margin",p:"padding"},br={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wr=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!vr[e])return[e];e=vr[e]}const[t,n]=e.split(""),o=mr[t],r=br[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"],xr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Cr=[...yr,...xr];function Sr(e,t,n,o){var r;const i=null!=(r=pr(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 Rr(e){return Sr(e,"spacing",8,"spacing")}function Er(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 _r(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=Er(t,n),e)),{})}(wr(n),o);return gr(e,e[n],r)}function Ir(e,t){const n=Rr(e.theme);return Object.keys(e).map((o=>_r(e,t,o,n))).reduce(ur,{})}function Dr(e){return Ir(e,yr)}function Mr(e){return Ir(e,xr)}function Fr(...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]?ur(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`}Dr.propTypes="production"!==process.env.NODE_ENV?yr.reduce(((e,t)=>(e[t]=sr,e)),{}):{},Dr.filterProps=yr,Mr.propTypes="production"!==process.env.NODE_ENV?xr.reduce(((e,t)=>(e[t]=sr,e)),{}):{},Mr.filterProps=xr,"production"!==process.env.NODE_ENV&&Cr.reduce(((e,t)=>(e[t]=sr,e)),{});const Pr=hr({prop:"border",themeKey:"borders",transform:Or}),Nr=hr({prop:"borderTop",themeKey:"borders",transform:Or}),kr=hr({prop:"borderRight",themeKey:"borders",transform:Or}),jr=hr({prop:"borderBottom",themeKey:"borders",transform:Or}),Tr=hr({prop:"borderLeft",themeKey:"borders",transform:Or}),Ar=hr({prop:"borderColor",themeKey:"palette"}),Vr=hr({prop:"borderTopColor",themeKey:"palette"}),zr=hr({prop:"borderRightColor",themeKey:"palette"}),Lr=hr({prop:"borderBottomColor",themeKey:"palette"}),Hr=hr({prop:"borderLeftColor",themeKey:"palette"}),Gr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Sr(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Er(t,e)});return gr(e,e.borderRadius,n)}return null};Gr.propTypes="production"!==process.env.NODE_ENV?{borderRadius:sr}:{},Gr.filterProps=["borderRadius"],Fr(Pr,Nr,kr,jr,Tr,Ar,Vr,zr,Lr,Hr,Gr);const $r=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Sr(e.theme,"spacing",8,"gap"),n=e=>({gap:Er(t,e)});return gr(e,e.gap,n)}return null};$r.propTypes="production"!==process.env.NODE_ENV?{gap:sr}:{},$r.filterProps=["gap"];const Br=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Sr(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Er(t,e)});return gr(e,e.columnGap,n)}return null};Br.propTypes="production"!==process.env.NODE_ENV?{columnGap:sr}:{},Br.filterProps=["columnGap"];const Ur=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Sr(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Er(t,e)});return gr(e,e.rowGap,n)}return null};Ur.propTypes="production"!==process.env.NODE_ENV?{rowGap:sr}:{},Ur.filterProps=["rowGap"];function Wr(e,t){return"grey"===t?t:e}Fr($r,Br,Ur,hr({prop:"gridColumn"}),hr({prop:"gridRow"}),hr({prop:"gridAutoFlow"}),hr({prop:"gridAutoColumns"}),hr({prop:"gridAutoRows"}),hr({prop:"gridTemplateColumns"}),hr({prop:"gridTemplateRows"}),hr({prop:"gridTemplateAreas"}),hr({prop:"gridArea"}));function qr(e){return e<=1&&0!==e?100*e+"%":e}Fr(hr({prop:"color",themeKey:"palette",transform:Wr}),hr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Wr}),hr({prop:"backgroundColor",themeKey:"palette",transform:Wr}));const Kr=hr({prop:"width",transform:qr}),Xr=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])||cr[t]||qr(t)}};return gr(e,e.maxWidth,t)}return null};Xr.filterProps=["maxWidth"];const Yr=hr({prop:"minWidth",transform:qr}),Jr=hr({prop:"height",transform:qr}),Zr=hr({prop:"maxHeight",transform:qr}),Qr=hr({prop:"minHeight",transform:qr});hr({prop:"size",cssProperty:"width",transform:qr}),hr({prop:"size",cssProperty:"height",transform:qr});Fr(Kr,Xr,Yr,Jr,Zr,Qr,hr({prop:"boxSizing"}));const ei={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:Gr},color:{themeKey:"palette",transform:Wr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Wr},backgroundColor:{themeKey:"palette",transform:Wr},p:{style:Mr},pt:{style:Mr},pr:{style:Mr},pb:{style:Mr},pl:{style:Mr},px:{style:Mr},py:{style:Mr},padding:{style:Mr},paddingTop:{style:Mr},paddingRight:{style:Mr},paddingBottom:{style:Mr},paddingLeft:{style:Mr},paddingX:{style:Mr},paddingY:{style:Mr},paddingInline:{style:Mr},paddingInlineStart:{style:Mr},paddingInlineEnd:{style:Mr},paddingBlock:{style:Mr},paddingBlockStart:{style:Mr},paddingBlockEnd:{style:Mr},m:{style:Dr},mt:{style:Dr},mr:{style:Dr},mb:{style:Dr},ml:{style:Dr},mx:{style:Dr},my:{style:Dr},margin:{style:Dr},marginTop:{style:Dr},marginRight:{style:Dr},marginBottom:{style:Dr},marginLeft:{style:Dr},marginX:{style:Dr},marginY:{style:Dr},marginInline:{style:Dr},marginInlineStart:{style:Dr},marginInlineEnd:{style:Dr},marginBlock:{style:Dr},marginBlockStart:{style:Dr},marginBlockEnd:{style:Dr},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:$r},rowGap:{style:Ur},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:qr},maxWidth:{style:Xr},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"}},ti=ei;const ni=function(){function e(e,t,n,o){const r={[e]:t,theme:n},i=o[e];if(!i)return{[e]:t};const{cssProperty:l=e,themeKey:a,transform:s,style:u}=i;if(null==t)return null;if("typography"===a&&"inherit"===t)return{[e]:t};const c=pr(n,a)||{};return u?u(r):gr(r,t,(t=>{let n=fr(c,s,t);return t===n&&"string"==typeof t&&(n=fr(c,s,`${e}${"default"===t?"":Qo(t)}`,t)),!1===l?n:{[l]:n}}))}return function t(n){var o;const{sx:r,theme:i={}}=n||{};if(!r)return null;const l=null!=(o=i.unstable_sxConfig)?o:ti;function a(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),a=Object.keys(r);let s=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(l[n])s=ur(s,e(n,r,i,l));else{const e=gr({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)?s=ur(s,e):s[n]=t({sx:r,theme:i})}else s=ur(s,e(n,r,i,l))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(a,s)}return Array.isArray(r)?r.map(a):a(r)}}();ni.filterProps=["sx"];const oi=ni,ri=["breakpoints","palette","spacing","shape"];function ii(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:i={}}=e,l=Po(e,ri),a=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,r=Po(e,ir),i=lr(t),l=Object.keys(i);function a(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${n})`}function u(e,r){const i=l.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[l[i]]?t[l[i]]:r)-o/100}${n})`}return Oo({keys:l,values:i,up:a,down:s,between:u,only:function(e){return l.indexOf(e)+1<l.length?u(e,l[l.indexOf(e)+1]):a(e)},not:function(e){const t=l.indexOf(e);return 0===t?a(l[1]):t===l.length-1?s(l[t]):u(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},r)}(n),s=function(e=8){if(e.mui)return e;const t=Rr({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 u=Ko({breakpoints:a,direction:"ltr",components:{},palette:Oo({mode:"light"},o),spacing:s,shape:Oo({},ar,i)},l);return u=t.reduce(((e,t)=>Ko(e,t)),u),u.unstable_sxConfig=Oo({},ti,null==l?void 0:l.unstable_sxConfig),u.unstable_sx=function(e){return oi({sx:e,theme:this})},u}function li(t=null){const n=e.useContext(S);return!n||function(e){return 0===Object.keys(e).length}(n)?t:n}const ai=ii();function si(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 ui(e){if(e.type)return e;if("#"===e.charAt(0))return ui(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().`:Zo(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.`:Zo(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}function ci(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 di(e){let t="hsl"===(e=ui(e)).type||"hsla"===e.type?ui(function(e){e=ui(e);const{values:t}=e,n=t[0],o=t[1]/100,r=t[2]/100,i=o*Math.min(r,1-r),l=(e,t=(e+n/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let a="rgb";const s=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(a+="a",s.push(t[3])),ci({type:a,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 gi(e,t){const n=di(e),o=di(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function pi(e,t){return Oo({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fi={black:"#000",white:"#fff"},hi={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"},mi={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"},bi={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"},vi={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"},wi={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"},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"},Ci=["mode","contrastThreshold","tonalOffset"],Si={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}},Ri={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 Ei(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=ui(e),t=si(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 ci(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=ui(e),t=si(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 ci(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=Po(e,Ci),i=e.primary||function(e="light"){return"dark"===e?{main:wi[200],light:wi[50],dark:wi[400]}:{main:wi[700],light:wi[400],dark:wi[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:mi[200],light:mi[50],dark:mi[400]}:{main:mi[500],light:mi[300],dark:mi[700]}}(t),a=e.error||function(e="light"){return"dark"===e?{main:bi[500],light:bi[300],dark:bi[700]}:{main:bi[700],light:bi[400],dark:bi[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),u=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),c=e.warning||function(e="light"){return"dark"===e?{main:vi[400],light:vi[300],dark:vi[700]}:{main:"#ed6c02",light:vi[500],dark:vi[900]}}(t);function d(e){const t=gi(e,Ri.text.primary)>=n?Ri.text.primary:Si.text.primary;if("production"!==process.env.NODE_ENV){const n=gi(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 g=({color:e,name:t,mainShade:n=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=Oo({},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.`:Zo(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} });`:Zo(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ei(e,"light",r,o),Ei(e,"dark",i,o),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:Ri,light:Si};return"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ko(Oo({common:Oo({},fi),mode:t,primary:g({color:i,name:"primary"}),secondary:g({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:a,name:"error"}),warning:g({color:c,name:"warning"}),info:g({color:s,name:"info"}),success:g({color:u,name:"success"}),grey:hi,contrastThreshold:n,getContrastText:d,augmentColor:g,tonalOffset:o},p[t]),r)}const Ii=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Di(e){return Math.round(1e5*e)/1e5}const Mi={textTransform:"uppercase"},Fi='"Roboto", "Helvetica", "Arial", sans-serif';function Oi(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=Fi,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,g=Po(n,Ii);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof u&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=r/14,f=d||(e=>e/u*p+"rem"),h=(e,t,n,r,i)=>Oo({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n},o===Fi?{letterSpacing:`${Di(r/t)}em`}:{},i,c),m={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(l,48,1.167,0),h4:h(l,34,1.235,.25),h5:h(l,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(l,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(l,16,1.5,.15),body2:h(l,14,1.43,.15),button:h(a,14,1.75,.4,Mi),caption:h(l,12,1.66,.4),overline:h(l,12,2.66,1,Mi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ko(Oo({htmlFontSize:u,pxToRem:f,fontFamily:o,fontSize:r,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:a,fontWeightBold:s},m),g,{clone:!1})}function Pi(...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 Ni=["none",Pi(0,2,1,-1,0,1,1,0,0,1,3,0),Pi(0,3,1,-2,0,2,2,0,0,1,5,0),Pi(0,3,3,-2,0,3,4,0,0,1,8,0),Pi(0,2,4,-1,0,4,5,0,0,1,10,0),Pi(0,3,5,-1,0,5,8,0,0,1,14,0),Pi(0,3,5,-1,0,6,10,0,0,1,18,0),Pi(0,4,5,-2,0,7,10,1,0,2,16,1),Pi(0,5,5,-3,0,8,10,1,0,3,14,2),Pi(0,5,6,-3,0,9,12,1,0,3,16,2),Pi(0,6,6,-3,0,10,14,1,0,4,18,3),Pi(0,6,7,-4,0,11,15,1,0,4,20,3),Pi(0,7,8,-4,0,12,17,2,0,5,22,4),Pi(0,7,8,-4,0,13,19,2,0,5,24,4),Pi(0,7,9,-4,0,14,21,2,0,5,26,4),Pi(0,8,9,-5,0,15,22,2,0,6,28,5),Pi(0,8,10,-5,0,16,24,2,0,6,30,5),Pi(0,8,11,-5,0,17,26,2,0,6,32,5),Pi(0,9,11,-5,0,18,28,2,0,7,34,6),Pi(0,9,12,-6,0,19,29,2,0,7,36,6),Pi(0,10,13,-6,0,20,31,3,0,8,38,7),Pi(0,10,13,-6,0,21,33,3,0,8,40,7),Pi(0,10,14,-6,0,22,35,3,0,8,42,7),Pi(0,11,14,-7,0,23,36,3,0,9,44,8),Pi(0,11,15,-7,0,24,38,3,0,9,46,8)],ki=["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)"},Ti={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ai(e){return`${Math.round(e)}ms`}function Vi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function zi(e){const t=Oo({},ji,e.easing),n=Oo({},Ti,e.duration);return Oo({getAutoHeightDuration:Vi,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:l=0}=o,a=Po(o,ki);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(l)&&!t(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(a).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(a).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Ai(r)} ${i} ${"string"==typeof l?l:Ai(l)}`)).join(",")}},e,{easing:t,duration:n})}const Li={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Hi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Gi=function(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:i={}}=e,l=Po(e,Hi);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.":Zo(18));const a=_i(o),s=ii(e);let u=Ko(s,{mixins:pi(s.breakpoints,n),palette:a,shadows:Ni.slice(),typography:Oi(a,i),transitions:zi(r),zIndex:Oo({},Li)});if(u=Ko(u,l),u=t.reduce(((e,t)=>Ko(e,t)),u),"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=rr("",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(u.components).forEach((e=>{const n=u.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return u.unstable_sxConfig=Oo({},ti,null==l?void 0:l.unstable_sxConfig),u.unstable_sx=function(e){return oi({sx:e,theme:this})},u}(),$i=Gi;function Bi(){const t=function(e=ai){return li(e)}($i);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function Ui(e,t){var n,o;const{timeout:r,easing:i,style:l={}}=e;return{duration:null!=(n=l.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=l.transitionTimingFunction)?o:"object"==typeof i?i[t.mode]:i,delay:l.transitionDelay}}const Wi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],qi={entering:{opacity:1},entered:{opacity:1}},Ki=e.forwardRef((function(t,n){const o=Bi(),r={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:i,appear:l=!0,children:a,easing:s,in:u,onEnter:c,onEntered:d,onEntering:g,onExit:p,onExited:f,onExiting:h,style:m,timeout:b=r,TransitionComponent:v=Bo}=t,w=Po(t,Wi),y=e.useRef(null),x=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)}(y,a.ref,n),C=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},S=C(g),R=C(((e,t)=>{(e=>{e.scrollTop})(e);const n=Ui({style:m,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=o.transitions.create("opacity",n),e.style.transition=o.transitions.create("opacity",n),c&&c(e,t)})),E=C(d),_=C(h),I=C((e=>{const t=Ui({style:m,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=o.transitions.create("opacity",t),e.style.transition=o.transitions.create("opacity",t),p&&p(e)})),D=C(f);return T.jsx(v,Oo({appear:l,in:u,nodeRef:y,onEnter:R,onEntered:E,onEntering:S,onExit:I,onExited:D,onExiting:_,addEndListener:e=>{i&&i(y.current,e)},timeout:b},w,{children:(t,n)=>e.cloneElement(a,Oo({style:Oo({opacity:0,visibility:"exited"!==t||u?void 0:"hidden"},qi[t],m,a.props.style),ref:x},n))}))}));"production"!==process.env.NODE_ENV&&(Ki.propTypes={addEndListener:C.func,appear:C.bool,children:Jo.isRequired,easing:C.oneOfType([C.shape({enter:C.string,exit:C.string}),C.string]),in:C.bool,onEnter:C.func,onEntered:C.func,onEntering:C.func,onExit:C.func,onExited:C.func,onExiting:C.func,style:C.object,timeout:C.oneOfType([C.number,C.shape({appear:C.number,enter:C.number,exit:C.number})])});const Xi=Ki,Yi=e=>T.jsx(w,{TransitionComponent:Xi,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});function Ji(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16 ",...e,children:T.jsxs("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",children:[T.jsx("circle",{cx:"8",cy:"8",r:"6.25"}),T.jsx("path",{d:"m8 10.75v0m0-6v3.5"})]})})}function Zi({tableData:e,actions:o,rowActionsState:i}){var l;const{anchorEl:s,open:u,handleClose:c,handleOpen:d}=Eo(),g=o(e.row),p=(null==i?void 0:i(e.row))??{state:"enabled"},f="no"===(null==(l=e.table.options.meta)?void 0:l.locale)?"Ingen handlinger tilgjengelig":"No actions available",h=n((()=>g.every((e=>!("component"in e)&&e.hide))),[g]),m=g.length>0&&!h,b="enabled"===p.state&&!m,v="hidden"!==p.state&&(m||b||"disabled"===p.state),[w,x]=a(!1);if(r((()=>{if(!w)return;const e=window.setTimeout((()=>x(!1)),1600);return()=>window.clearTimeout(e)}),[w]),!v)return T.jsx("div",{className:"flex justify-center items-center w-[40px]"});const C="disabled"===p.state,S=T.jsx(Fo,{dataTest:"",variant:"text",size:"small",disabled:C,onClick:t=>{t.stopPropagation(),t.preventDefault(),!C&&(d(t),e.row.onChangeFocused(!0))},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:T.jsx(_o,{className:C?"text-delta-300":"text-delta-700",width:20,height:20})});return T.jsx("div",{className:"flex justify-center items-center w-[40px]",children:T.jsxs("div",{className:"flex items-center justify-center",children:["disabled"===p.state?T.jsx(Yi,{title:p.tooltipTitle,arrow:!0,placement:p.tooltipPlacement||"top",open:w,onOpen:()=>x(!0),onClose:()=>x(!1),children:T.jsx("span",{className:"cursor-not-allowed",onTouchStart:e=>{e.stopPropagation(),e.preventDefault(),x(!0)},onClick:e=>{e.stopPropagation(),e.preventDefault()},children:S})}):S,"enabled"===p.state&&T.jsx(y,{open:u,anchorEl:s,onClose:()=>{c(),e.row.onChangeFocused(!1)},onClick:()=>{c(),e.row.onChangeFocused(!1)},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:b?T.jsxs("div",{className:"flex items-center gap-2 p-3 text-delta-700",children:[T.jsx(Ji,{width:20,height:20}),T.jsx("span",{children:f})]}):g.map(((n,o)=>{if(R(n)){const r=n.component(e.row,c);return t.isValidElement(r)?T.jsx(t.Fragment,{children:r},o):null}return n.hide?null:T.jsx(Yi,{title:null==n?void 0:n.tooltipTitle,arrow:!0,placement:(null==n?void 0:n.tooltipPlacement)||"left",children:T.jsx("span",{children:T.jsx(Io,{className:n.className,disabled:n.disabled,onClick:()=>{var t;null==(t=n.onClick)||t.call(n,e.row)},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:n.label})})},o)}))})]})})}function Qi(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("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"})})}const el={"actions-header":"_actions-header_1bxzk_1","pin-indicator":"_pin-indicator_1bxzk_11","pin-icon":"_pin-icon_1bxzk_21"};function tl({headerData:e}){const{anchorEl:t,open:n,handleClose:o,handleOpen:r}=Eo(),i=e.table.getAllLeafColumns().some((e=>e.getCanHide()&&!e.getIsVisible()&&!F.includes(e.id)));return T.jsxs("div",{className:"flex absolute-center items-center justify-end w-full",children:[T.jsxs("div",{className:el["actions-header"],onClick:r,children:[T.jsx(Qi,{className:el["pin-icon"]}),i&&T.jsx("div",{className:el["pin-indicator"]})]}),T.jsx(y,{anchorEl:t,anchorOrigin:{horizontal:"left",vertical:"bottom"},open:n,onClose:o,sx:{"& .MuiPaper-root":{maxHeight:"calc(7 * 44px)",overflowY:"auto",scrollbarWidth:"thin"}},children:e.table.getAllLeafColumns().filter((e=>e.getCanHide()&&e.id!==E)).map((e=>e.columnDef.header?T.jsxs(Io,{onClick:()=>e.toggleVisibility(!e.getIsVisible()),className:"h-[44px]",children:[T.jsx(So,{size:"small",dataTest:"test",disableRipple:!0,className:"p-0 pr-2",checked:e.getIsVisible()}),e.columnDef.pinnedHeaderText?e.columnDef.pinnedHeaderText:"string"==typeof e.columnDef.header?e.columnDef.header:e.id]},e.id):null))})]})}function nl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 20",...e,children:T.jsx("path",{fill:"currentColor",d:"M14 6.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0m-5 0a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0M5.5 8a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m8.5 5.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0M10.5 15a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3M4 13.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0"})})}const ol=({rowId:e,rowHeight:t,...n})=>{const{attributes:o,listeners:r}=sn({id:e,...n});return T.jsx("div",{...o,...r,style:{height:t||"auto"},children:T.jsx(nl,{width:24,height:24,className:cn(n.disabled?"text-delta-300 cursor-not-allowed":"text-delta-800 cursor-grab")})})};function rl({info:e,rowHeight:t}){const n=e.row.getCanExpand();return T.jsx("div",{className:"flex w-full items-center justify-center",style:{height:t||"auto"},children:T.jsx(Fo,{dataTest:"expand-text-button",size:"small",variant:"textGray",onClick:()=>{n&&e.row.getToggleExpandedHandler()(),e.row.toggleExpand()},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onMouseUp:e=>{e.preventDefault(),e.stopPropagation()},startIcon:T.jsx(Ro,{width:20,height:20,style:{rotate:e.row.isExpanded()?"180deg":"0deg",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",cursor:"pointer"}})})})}const il=e=>{const{columns:t,actions:n,customActionsNode:o,headerPin:r=!0,enableRowSelection:i,expandArrow:l,enableDnd:a,customDndColumnProps:s,rowHeight:u,textExpandArrow:c,customActionsColumnProps:d,rowActionsState:g}=e,p=t.some((e=>!0===e.fixedLeft));!t.find((e=>"actions"===e.id))&&(n||o||r)&&t.push(function(e){const{headerPin:t,actions:n,customActionsNode:o,rowHeight:r,customActionsColumnProps:i,rowActionsState:l}=e;return{id:"actions",enableHiding:!1,enableSorting:!1,accessorFn:e=>e,header:e=>t?T.jsx(tl,{headerData:e}):null,cell:e=>n||o?T.jsxs("div",{className:"flex items-center justify-end gap-x-1",style:{height:r||"auto"},children:[o&&T.jsx("div",{children:null==o?void 0:o(e)}),n&&T.jsx(Zi,{tableData:e,actions:n,rowActionsState:l})]}):null,size:50,...i}}({headerPin:r,actions:n,customActionsNode:o,rowHeight:u,customActionsColumnProps:d,rowActionsState:g})),c&&!t.find((e=>e.id===M))&&t.unshift(function(e,t){return{id:M,minSize:38,maxSize:38,size:38,enableHiding:!1,enableSorting:!1,header:()=>null,cell:e=>T.jsx(rl,{info:e,rowHeight:t}),fixedLeft:e}}(p,u)),l&&!c&&!t.find((e=>e.id===_))&&t.unshift(function(e,t){return{id:_,minSize:50,maxSize:50,size:50,enableHiding:!1,enableSorting:!1,header:()=>null,cell:({cell:e})=>{const n=e.row.getIsExpanded();return e.row.getCanExpand()?T.jsx("span",{className:"flex w-full outline-none focus:outline-none items-center justify-center",onClick:()=>e.row.getToggleExpandedHandler()(),style:{height:t||"auto"},children:T.jsx(Ro,{width:24,height:24,style:{rotate:n?"180deg":"0deg",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms"}})}):null},fixedLeft:e}}(p,u)),a&&!t.find((e=>e.id===D))&&t.unshift(function(e,t){return{enableHiding:!1,enableSorting:!1,header:()=>null,cell:({row:e})=>T.jsx(ol,{rowId:e.id,rowHeight:t}),...e,id:D}}(s,u)),i&&!t.find((e=>e.id===E))&&t.unshift(function(e,t){return{id:E,minSize:38,maxSize:38,size:38,header:({table:e})=>T.jsx(So,{size:"small",dataTest:"cell-select-all",checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler(),classes:{root:"w-8 h-8"}}),cell:({cell:e})=>T.jsx("div",{style:{height:t||"auto"},className:"flex items-center w-full",children:T.jsx(So,{size:"small",dataTest:"cell-select",checked:e.row.getIsSelected(),disabled:!e.row.getCanSelect(),onClick:e=>e.stopPropagation(),onChange:e.row.getToggleSelectedHandler(),classes:{root:"w-8 h-8"}})}),fixedLeft:e}}(p,u))},ll={"asma-ui-table-styled-table":"_asma-ui-table-styled-table_18w5d_2","table-wrapper":"_table-wrapper_18w5d_17","table-shell":"_table-shell_18w5d_24","table-wrapper--proxy":"_table-wrapper--proxy_18w5d_30","table-wrapper--proxy-bottom":"_table-wrapper--proxy-bottom_18w5d_31","table-wrapper-fetching":"_table-wrapper-fetching_18w5d_40","table-scroll":"_table-scroll_18w5d_43","table-x--fill-height":"_table-x--fill-height_18w5d_52","table-x":"_table-x_18w5d_52","table-header--sticky":"_table-header--sticky_18w5d_67","table-hscroll":"_table-hscroll_18w5d_72","table-hscroll__content":"_table-hscroll__content_18w5d_82","no-rows-overlay-container":"_no-rows-overlay-container_18w5d_85","styled-table":"_styled-table_18w5d_94",tbody:"_tbody_18w5d_103","loading-icon":"_loading-icon_18w5d_108","t-row":"_t-row_18w5d_115","t-cell":"_t-cell_18w5d_115","action-cell":"_action-cell_18w5d_125","fixed-cell":"_fixed-cell_18w5d_128",expanded_row:"_expanded_row_18w5d_156",selected:"_selected_18w5d_174","single-selection":"_single-selection_18w5d_177",shadowed:"_shadowed_18w5d_193","is-loading":"_is-loading_18w5d_214","action-cell-default-background":"_action-cell-default-background_18w5d_217","fixed-cell-default-background":"_fixed-cell-default-background_18w5d_220","sortable-column":"_sortable-column_18w5d_223",resizer:"_resizer_18w5d_227",isResizing:"_isResizing_18w5d_239","hide-table-header":"_hide-table-header_18w5d_251","show-table-header":"_show-table-header_18w5d_255","table-header":"_table-header_18w5d_67","hide-header":"_hide-header_18w5d_280","t-cell__actions":"_t-cell__actions_18w5d_283","t-cell__fixed":"_t-cell__fixed_18w5d_293","sort-icon":"_sort-icon_18w5d_300","table-footer--sticky":"_table-footer--sticky_18w5d_303","table-footer--inline":"_table-footer--inline_18w5d_314","table-bottom":"_table-bottom_18w5d_325","table-bottom--sticky":"_table-bottom--sticky_18w5d_338"};function al(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"m7 14l5-5l5 5z"})})}function sl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"m7 10l5 5l5-5z"})})}const ul=e=>{const{header:t,enableResizing:n,tableWidth:o}=e;let r=t.getSize();const i=t.headerGroup.headers.reduce(((e,t)=>e+t.getSize()),0),l=t.headerGroup.headers.some((e=>e.id===I)),a=t.headerGroup.headers[t.headerGroup.headers.length-(l?2:1)],s=Number(null==a?void 0:a.getSize());if(!n){if(r&&(r=`${r}px`),a&&a.id===t.id){let e;e=o?Math.floor(o)-i+s:"100%";const n=t.column.columnDef.minSize||0;r="string"==typeof e?e:e>n?`${e}px`:`${n}px`}return{width:r||t.column.columnDef.size,maxWidth:r||t.column.columnDef.maxSize,minWidth:r||t.column.columnDef.minSize}}return{width:r||t.column.columnDef.size,maxWidth:t.column.columnDef.maxSize||r,minWidth:t.column.columnDef.minSize||r}};function cl({styledTableProps:e,header:t,tableCanResize:o=!1,left:r,hasFixedLeftColumn:l,tableWidth:a}){const{actions:s,hideHeader:u=!1,enableResizing:c=!1}=e,d=i(null),{isResizing:g,enableResizingFlag:p,disableResizingFlag:f}=fn(),h=!mn()&&t.column.columnDef.fixedLeft,m=n((()=>t.headerGroup.headers.some((e=>e.id===I))),[t.headerGroup.headers]),b=n((()=>t.headerGroup.headers[t.headerGroup.headers.length-(m?2:1)]),[t.headerGroup.headers,m]);return T.jsx("th",{ref:d,colSpan:t.colSpan,className:cn(ll["t-cell"],u&&ll["hide-header"],t.column.id===I&&ll["t-cell__actions"],l&&!!s&&t.column.id===I&&ll.shadowed,h&&ll["t-cell__fixed"]),style:{...ul({enableResizing:c,header:t,element:d.current,tableWidth:a}),...h&&{left:r}},children:T.jsxs("div",{className:cn("flex items-center justify-left",u?ll["hide-table-header"]:ll["show-table-header"],t.column.getCanSort()&&ll["sortable-column"],t.column.columnDef.className),onClick:e=>{const n=t.column.getToggleSortingHandler();!g&&n&&n(e),f()},children:[wo(t.column.columnDef.header,t.getContext()),{asc:T.jsx(al,{className:ll["sort-icon"]}),desc:T.jsx(sl,{className:ll["sort-icon"]})}[t.column.getIsSorted()]??null,o&&(!!c||t.id!==(null==b?void 0:b.id))&&t.column.getCanResize()&&!F.includes(t.column.id)&&T.jsx("div",{onDoubleClick:()=>t.column.resetSize(),onMouseDown:n=>{n.stopPropagation(),p(),t.getResizeHandler()(n),window.addEventListener("mouseup",(()=>dl({styledTableProps:e,header:t})))},onTouchStart:n=>{n.stopPropagation(),p(),t.getResizeHandler()(n),window.addEventListener("mouseup",(()=>dl({styledTableProps:e,header:t})))},className:`${ll.resizer} ${t.column.getIsResizing()?ll.isResizing:""}`})]})},t.id)}function dl({styledTableProps:e,header:t}){if(e.uniqueKey){const n=e.uniqueKey,o=localStorage.getItem(n);let r={};if(o)try{r=JSON.parse(o)}catch{console.warn("Failed to parse stored dimensions. Resetting."),r={}}r[t.column.id]=t.column.getSize(),localStorage.setItem(n,JSON.stringify(r))}}function gl({table:e,styledTableProps:t,tableCanResize:n,tableWidth:o}){const{stickyHeader:r=!1,tableHeaderRef:i,tableHeaderStyle:l={}}=t,a=mn(),s=e.getHeaderGroups().some((e=>e.headers.some((e=>!0===e.column.columnDef.fixedLeft)))),u={...l};return T.jsx("thead",{className:dn(ll["table-header"],r&&ll["table-header--sticky"],t.tableHeaderClassName),style:u,ref:i,children:e.getHeaderGroups().map((e=>T.jsx("tr",{children:e.headers.map(((r,i)=>{const l=!a&&r.column.columnDef.fixedLeft,u=e.headers.slice(0,i).reduce(((e,t)=>e+(t.column.getSize()||0)),0);return T.jsx(cl,{styledTableProps:t,header:r,tableCanResize:n,left:l?u:0,hasFixedLeftColumn:s,tableWidth:o},r.column.id)}))},e.id)))})}const pl="_skeleton-row_5gbhw_1",fl=({colSpan:e,rowHeight:t=48})=>T.jsx(g,{children:Array.from({length:10}).map(((n,o)=>T.jsx("tr",{children:T.jsx("td",{colSpan:e,height:t,className:pl,children:T.jsx(x,{variant:"rectangular",width:"100%",height:40,sx:{backgroundColor:"var(--colors-delta-50)",borderRadius:"8px"}},o)})},o)))});function hl({styledTableProps:e,row:t,index:o}){const{loading:i,getRowClassName:l,rowHeight:a,onRowClick:s,expandArrow:u,enableDnd:c,disableDndForRow:d,tdClassName:p,customSubRowData:f,renderSubRows:h,defaultExpanded:m,actions:b,textExpandArrow:v,enableMultiRowSelection:w,enableRowSelection:y,singleSelectionRow:x}=e,C=null==d?void 0:d(t),{transform:S,transition:R,setNodeRef:E,isDragging:_}=sn({id:t.original.id,disabled:!c||C}),D={transform:re.Transform.toString(S),transition:R,opacity:_?.8:1,zIndex:_?1:0,position:"relative"},{isResizing:M,disableResizingFlag:F}=fn(),O=mn();r((()=>{m&&t.getCanExpand()&&!t.getIsExpanded()&&t.toggleExpand()}),[]);const P=e=>{var n,o;t.getCanExpand()&&!u&&t.getToggleExpandedHandler()(),null==(n=document.getElementById(t.id))||n.focus();const r=!("Range"===(null==(o=window.getSelection())?void 0:o.type)||M),i=s instanceof Function;!i&&v&&r?t.toggleExpand():i&&r&&(s(e,t),t.onChangeFocused(!0)),F()},N=t.getVisibleCells().map(((e,t,n)=>({...e,left:n.slice(0,t).reduce(((e,t)=>e+(t.column.getSize()||0)),0)}))),k=n((()=>N.filter((({column:e})=>e.columnDef.fixedLeft))),[N]),j=!w&&!y&&x,A=t.getIsSelected()&&j,V=s instanceof Function;return T.jsxs(g,{children:[T.jsx("tr",{role:"row","aria-selected":t.getIsSelected()||t.isFocused()?"true":"false",tabIndex:t.isFocused()?0:-1,"data-index":o,"data-test":t.id,id:t.id,className:cn(ll["t-row"],i&&ll["is-loading"],null==l?void 0:l(t)),style:{height:a?`${a}px`:"inherit",...c&&D},ref:C?void 0:E,onMouseUp:e=>{e.target.classList.contains("MuiModal-backdrop")||"INPUT"===e.target.nodeName||"BUTTON"===e.target.nodeName||"LI"===e.target.nodeName||e.target.closest("li")||P(e)},onMouseDown:e=>{e.detail>1&&!V&&v&&e.preventDefault()},onKeyDown:e=>{switch(e.key){case"Tab":case"ArrowDown":t.focusNextRow(),e.preventDefault();break;case"ArrowUp":t.focusPrevRow(),e.preventDefault();break;case"Enter":P(e)}},children:N.map(((e,n)=>{var o;const r=e.column.id===I,i=!O&&e.column.columnDef.fixedLeft,a=e.id===(null==(o=k.at(-1))?void 0:o.id),s=t.isExpanded(),u=0===n;return T.jsx("td",{className:cn(ll["t-cell"],V&&"cursor-pointer",p,r&&ll["action-cell"],r&&!!b&&k.length&&ll.shadowed,r&&(null!=l&&l(t)?null==l?void 0:l(t):ll["action-cell-default-background"]),i&&ll["fixed-cell"],a&&ll.shadowed,t.getIsSelected()&&ll.selected,i&&(null!=l&&l(t)?null==l?void 0:l(t):ll["fixed-cell-default-background"]),s&&ll.expanded_row,(A||t.isFocused())&&ll["single-selection"]),style:{left:i?e.left:void 0},children:T.jsxs("div",{style:{display:"flex",alignItems:"center",minWidth:u?32:void 0,position:"relative"},children:[u&&A&&T.jsx("span",{style:{display:"inline-flex",alignItems:"center",position:"absolute",left:0,top:"50%",transform:"translateY(-50%)"},children:T.jsx(ml,{})}),T.jsx("span",{style:{marginLeft:u&&j?30:0,width:"100%"},children:wo(e.column.columnDef.cell,e.getContext())})]})},e.id)}))}),t.getIsExpanded()&&T.jsx(T.Fragment,{children:f&&h&&h({rows:f.get(t.original.id.toString())??[],row:t.original})})]},t.id)}const ml=()=>T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 2 22 22",style:{color:"var(--colors-gama-500)"},children:T.jsx("path",{fill:"currentColor",d:"M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z"})});function bl({styledTableProps:e,table:t}){const n=e.hideFooter?t.getExpandedRowModel().rows:t.getRowModel().rows;return T.jsx(T.Fragment,{children:n.map(((t,n)=>T.jsx(hl,{styledTableProps:e,row:t,index:n},t.id)))})}function vl({table:e,styledTableProps:t}){const{columns:n,data:o,loading:r,enableDnd:i,rowHeight:l}=t,a=e.getAllLeafColumns().length||n.length||1;return r&&0===o.length?T.jsx("tbody",{className:ll.tbody,children:T.jsx(fl,{colSpan:a,rowHeight:l})}):0===o.length?null:T.jsx("tbody",{className:ll.tbody,children:i?T.jsx(en,{items:o,strategy:Jt,children:T.jsx(bl,{table:e,styledTableProps:t})}):T.jsx(bl,{table:e,styledTableProps:t})})}function wl(e){return T.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[T.jsx("path",{fill:"currentColor",d:"M12 2A10 10 0 1 0 22 12A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8A8 8 0 0 1 12 20Z",opacity:.5}),T.jsx("path",{fill:"currentColor",d:"M20 12h2A10 10 0 0 0 12 2V4A8 8 0 0 1 20 12Z",children:T.jsx("animateTransform",{attributeName:"transform",dur:"1s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"})})]})}const yl=({fetching:e=!1})=>e?T.jsx("div",{className:"absolute z-10 bg-white/40 left-0 top-0 right-0 bottom-0 flex items-center justify-center ",children:T.jsx(wl,{className:ll["loading-icon"],width:50,height:50})}):null;function xl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"})})}const Cl={"table-pagination":"_table-pagination_pu6mb_1","table-pagination__pages-list":"_table-pagination__pages-list_pu6mb_11","table-pagination__pages-list__page":"_table-pagination__pages-list__page_pu6mb_16","page-selected":"_page-selected_pu6mb_27","check-icon":"_check-icon_pu6mb_30"};function Sl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M15.41 16.58L10.83 12l4.58-4.59L14 6l-6 6l6 6z"})})}function Rl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"})})}const El=e=>T.jsxs(v,{classes:{root:"flex gap-x-1"},sx:{padding:"8px","&.Mui-selected":{backgroundColor:"var(--colors-gama-50)","&:hover":{backgroundColor:"var(--colors-gama-50)"}}},...e,children:[T.jsx(Rl,{width:24,height:24,color:e.selected?"var(--colors-gama-500)":"transparent",style:{transition:"color 0.2s ease"}}),e.children]}),_l=[10,20,50];function Il({table:e,showRowSelect:t,locale:o}){const{anchorEl:r,open:a,handleClose:s,handleOpen:u}=Eo(),{anchorEl:c,open:d,handleClose:g,handleOpen:p}=Eo(),f=i(null),h="no"===o,m=n((()=>({anchorOrigin:{vertical:-5,horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}})),[]),b=l((()=>{var e,t,n;const o=ll["asma-ui-table-styled-table"];null==(n=null==(t=null==(e=f.current)?void 0:e.closest(`.${o}`))?void 0:t.querySelector('[data-index="0"]'))||n.scrollIntoView({block:"center",inline:"start"})}),[]),v=e.getPageCount()||1,w=e.getState().pagination.pageIndex+1,x=n((()=>Array.from({length:v},((e,t)=>t+1))),[v]),C=e.getState().pagination.pageSize,S=n((()=>{const e=new Set([..._l,C]);return Array.from(e).sort(((e,t)=>e-t))}),[]),R=l((t=>{e.setPageIndex(t-1),s(),b()}),[e,s,b]),E=l((t=>{e.setPageSize(t),g()}),[e,g]);return T.jsxs("div",{ref:f,className:Cl["table-pagination"],children:[t&&T.jsxs(T.Fragment,{children:[T.jsxs(Fo,{dataTest:"table-rows-count-button",variant:"outlined",size:"large",onClick:p,endIcon:T.jsx(Ro,{className:(d?"rotate-180":"rotate-0")+" transition-transform duration-300",height:24,width:24}),children:[C," ",h?"rader":"rows"]}),T.jsx(y,{open:d,anchorEl:c,slotProps:{paper:{sx:{width:c?c.clientWidth:void 0,maxHeight:288,overflowY:"auto"}}},onClose:g,anchorOrigin:m.anchorOrigin,transformOrigin:m.transformOrigin,classes:{paper:"border border-solid border-delta-200 py-2"},children:S.map((e=>T.jsx(El,{onClick:t=>{t.stopPropagation(),t.preventDefault(),E(e)},selected:C===e,children:T.jsxs("span",{className:"text-delta-700 text-sm font-normal",children:[e," ",h?"rader":"rows"]})},e)))})]}),T.jsx(Yi,{title:h?"Nåværende side":"Current Page",children:T.jsx("div",{children:T.jsxs(Fo,{dataTest:"current-page-button",variant:"outlined",size:"large",onClick:u,endIcon:T.jsx(Ro,{className:(a?"rotate-180":"rotate-0")+" transition-transform duration-300",height:24,width:24}),children:[h?"Side":"Page"," ",w," ",h?"av":"of"," ",v]})})}),T.jsx(y,{open:a,anchorEl:r,slotProps:{paper:{sx:{width:r?r.clientWidth:void 0,maxHeight:288,overflowY:"auto"}}},onClose:s,anchorOrigin:m.anchorOrigin,transformOrigin:m.transformOrigin,classes:{paper:"border border-solid border-delta-200 py-2"},children:x.map((e=>T.jsx(El,{onClick:t=>{t.stopPropagation(),t.preventDefault(),R(e)},selected:e===w,children:T.jsxs("span",{className:"text-delta-700 text-sm font-normal",children:[h?"Side":"Page"," ",e]})},e)))}),T.jsx(Yi,{title:1===w?"":h?"Forrige side":"Previous Page",children:T.jsx("div",{children:T.jsx(Fo,{dataTest:"prev-page-button",variant:"outlined",onClick:()=>{e.previousPage(),b()},size:"large",disabled:!e.getCanPreviousPage(),startIcon:T.jsx(Sl,{height:24,width:24})})})}),T.jsx(Yi,{title:w===v?"":h?"Neste side":"Next Page",children:T.jsx("div",{children:T.jsx(Fo,{dataTest:"next-page-button",variant:"outlined",onClick:()=>{e.nextPage(),b()},size:"large",disabled:!e.getCanNextPage(),startIcon:T.jsx(xl,{height:24,width:24})})})})]})}function Dl({table:e,styledTableProps:t,canShowStickyFooter:n}){var o,r,i;if(t.hideFooter||0===t.data.length)return null;const l=t.paginationAlignLeft,a=e.getState().pagination.pageSize,s=e.getFilteredRowModel().rows.length>a,u=null==(o=t.footer)?void 0:o.call(t,e);return null!=u&&!1!==u||s?T.jsxs("div",{className:n?ll["table-footer--sticky"]:ll["table-footer--inline"],style:l&&{justifyContent:"flex-start"}||{},children:[!l&&(null==(r=t.footer)?void 0:r.call(t,e)),s&&T.jsx(Il,{table:e,showRowSelect:!!t.showRowCountSelect,locale:t.locale||"en"}),l&&(null==(i=t.footer)?void 0:i.call(t,e))]}):null}function Ml({enabled:e,data:t,setData:o,children:r}){const i=n((()=>t.map((e=>e.id))),[t]);return e?T.jsx(At,{collisionDetection:Ce,modifiers:[Ut,Bt],onDragEnd:t=>{if(!e||!o)return;const{active:n,over:r}=t;!n||!r||n.id===r.id||o((e=>Wt(e,i.indexOf(n.id),i.indexOf(r.id))))},children:r}):T.jsx(T.Fragment,{children:r})}function Fl({enabled:e,className:t,children:n}){return e?T.jsx("div",{className:t,children:n}):T.jsx(T.Fragment,{children:n})}const Ol=e=>{const t=n((()=>({...e,rowHeight:e.rowHeight||48})),[e]),{className:r,tableClassName:l,height:s,noRowsOverlay:u,data:c,enableDnd:d,setData:g,loading:p}=t;il(t);const{table:f}=Co(t),h=c.length>0,m=h&&!!p,b=!h&&!p,v=mn(),w=!!t.stickyFooter&&!v,y=!w,{tableScrollRef:x,tableXRef:C,hScrollRef:S,hScrollContentRef:R}=function(e){const t=i(null),n=i(null),r=i(null),l=i(null);return o((()=>{if(!e)return;const o=t.current,i=n.current,a=r.current,s=l.current;if(!(o&&i&&a&&s))return;let u=!1;const c=()=>{s.style.width=`${i.scrollWidth}px`},d=()=>{u||(u=!0,a.scrollLeft=i.scrollLeft,u=!1)},g=()=>{u||(u=!0,i.scrollLeft=a.scrollLeft,u=!1)};c(),d(),i.addEventListener("scroll",d,{passive:!0}),a.addEventListener("scroll",g,{passive:!0});const p=new ResizeObserver(c);return p.observe(i),()=>{i.removeEventListener("scroll",d),a.removeEventListener("scroll",g),p.disconnect()}}),[e]),{tableScrollRef:t,tableXRef:n,hScrollRef:r,hScrollContentRef:l}}(y),{ref:E,heightPx:_}=function(){const e=i(null),[t,n]=a(0);return o((()=>{const t=e.current;if(!t)return;let o=0;const r=()=>{const e=Math.round(t.getBoundingClientRect().height);n((t=>t===e?t:e))},i=()=>{cancelAnimationFrame(o),o=requestAnimationFrame(r)};i();const l=new ResizeObserver(i);return l.observe(t),()=>{cancelAnimationFrame(o),l.disconnect()}}),[]),{ref:e,heightPx:t}}(),I=t.rowHeight??48,D=f.getRowModel().rows.length,M=n((()=>I<=0?0:Math.floor(_/I)),[_,I]),F=!w&&D>0&&D<=M,O=dn(w?ll["table-wrapper"]:F||!w&&b?ll["table-wrapper--proxy-bottom"]:ll["table-wrapper--proxy"],m&&ll["table-wrapper-fetching"],r),P=T.jsxs("table",{className:ll["styled-table"],children:[T.jsx(gl,{table:f,styledTableProps:t,tableCanResize:!!t.enableColumnResizing,tableWidth:null}),T.jsx(yl,{fetching:!!m}),T.jsx(vl,{table:f,styledTableProps:t})]});return T.jsx(pn,{children:T.jsx(Ml,{enabled:!!d,data:c,setData:g,children:T.jsxs("div",{ref:E,className:dn(ll["asma-ui-table-styled-table"],l),style:{height:s},children:[T.jsx(Fl,{enabled:w,className:ll["table-shell"],children:T.jsxs("div",{className:O,children:[w?P:T.jsxs("div",{ref:x,className:dn(ll["table-scroll"]),children:[T.jsx("div",{ref:C,className:dn(ll["table-x"],!F&&ll["table-x--fill-height"]),children:P}),T.jsx("div",{ref:S,className:ll["table-hscroll"],children:T.jsx("div",{ref:R,className:ll["table-hscroll__content"]})}),T.jsx("div",{className:dn(ll["table-bottom"],F&&ll["table-bottom--sticky"]),children:T.jsx(Dl,{table:f,styledTableProps:t,canShowStickyFooter:!1})})]}),b&&T.jsx("div",{className:ll["no-rows-overlay-container"],children:u})]})}),w&&T.jsx(Dl,{table:f,styledTableProps:t,canShowStickyFooter:!0})]})})})};export{I as ACTIONS_COLUMN_ID,D as DND_HANDLE_COLUMN_ID,_ as EXPAND_COLUMN_ID,F as INTERNAL_COLUMN_IDS,ol as RowDragHandleCell,E as SELECT_COLUMN_ID,M as SHOW_FULL_TEXT_ID,Ol as StyledTable,bn as createColumnHelper,R as isCustomAction};
|
|
40
|
+
function wo(t,n){return t?function(e){return function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(e)||"function"==typeof e||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(e)}(t)?e.createElement(t,n):t:null}const yo={getInitialState:e=>({expandedRows:new Set,...e}),getDefaultOptions:e=>({onChangeExpandedRows:wn("expandedRows",e)}),createTable:e=>{e.setExpandedRows=t=>{var n,o;return null==(o=(n=e.options).onChangeExpandedRows)?void 0:o.call(n,(e=>vn(t,e)))}},createRow:(e,t)=>{e.onChangeExpanded=n=>t.setExpandedRows((t=>{const o=new Set(t),r=e.id;return n?o.add(r):o.delete(r),vn((()=>o),t)})),e.isExpanded=()=>t.getState().expandedRows.has(e.id),e.toggleExpand=()=>{const t=e.isExpanded();e.onChangeExpanded(!t)}}},xo={getInitialState:e=>({focusedRow:null,...e}),getDefaultOptions:e=>({onChangeFocusedRow:wn("focusedRow",e)}),createTable:e=>{e.setFocusedRow=t=>{var n,o;return null==(o=(n=e.options).onChangeFocusedRow)?void 0:o.call(n,(e=>vn(t,e)))},e.focusRowById=async t=>{var n;if(-1===e.getRowModel().rows.findIndex((e=>e.id===t))&&e.getState().pagination){const o=e.getState().pagination.pageSize,r=e.getCoreRowModel().rows.findIndex((e=>e.id===t));if(-1!==r){const t=Math.floor(r/o);null==(n=e.setPageIndex)||n.call(e,t)}}if(await new Promise(requestAnimationFrame),!e.getRowModel().rows.find((e=>e.id===t)))return;e.setFocusedRow((()=>t));const o=document.getElementById(t);o&&(o.focus({preventScroll:!1}),o.scrollIntoView({behavior:"smooth",block:"center"}))}},createRow:(e,t)=>{e.isFocused=()=>t.getState().focusedRow===e.id,e.onChangeFocused=(n,o)=>{const r=o??e.id;if(t.setFocusedRow((()=>n?r:null)),n){const e=document.getElementById(r);e&&e.scrollIntoView({behavior:"smooth",block:"center"})}},e.toggleFocused=()=>e.onChangeFocused(!e.isFocused()),e.focusNextRow=()=>{var e;const n=t.getRowModel().rows,o=n.findIndex((e=>e.id===t.getState().focusedRow)),r=n[o+1];r&&(r.onChangeFocused(!0,r.id),null==(e=document.getElementById(r.id))||e.focus())},e.focusPrevRow=()=>{var e;const n=t.getRowModel().rows,o=n.findIndex((e=>e.id===t.getState().focusedRow)),r=n[o-1];r&&(r.onChangeFocused(!0,r.id),null==(e=document.getElementById(r.id))||e.focus())}}},Co=t=>{const{columns:n,data:o,initialState:r,pageSize:i,enableRowSelection:l,tableInstanceRef:a,locale:s,...u}=t,c=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=e.useState((()=>({current:mo(n)}))),[r,i]=e.useState((()=>o.current.initialState));return o.current.setOptions((e=>({...e,...t,state:{...r,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),o.current}({_features:[yo,xo],columns:n,data:o,meta:{locale:s??"en"},initialState:{pagination:{pageIndex:0,pageSize:i||50},columnVisibility:{...null==r?void 0:r.columnVisibility,[E]:!1},...r},enableRowSelection:l,getCoreRowModel:e=>xn((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const l=[];for(let s=0;s<t.length;s++){const u=In(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var a;n.flatRows.push(u),n.rowsById[u.id]=u,l.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[s],s),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=o(u.originalSubRows,r+1,u)))}return l};return n.rows=o(t),n}),Cn(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),getExpandedRowModel:e=>xn((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>t.rows.length&&(!0===e||Object.keys(e??{}).length)&&n?bo(t):t),Cn(e.options,"debugTable","getExpandedRowModel")),getFilteredRowModel:e=>xn((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,n,o)=>{if(!t.rows.length||(null==n||!n.length)&&!o){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const r=[],i=[];(n??[]).forEach((t=>{var n;const o=e.getColumn(t.id);if(!o)return;const i=o.getFilterFn();i?r.push({id:t.id,filterFn:i,resolvedValue:null!=(n=null==i.resolveFilterValue?void 0:i.resolveFilterValue(t.value))?n:t.value}):"production"!==process.env.NODE_ENV&&console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${o.id}.`)}));const l=(n??[]).map((e=>e.id)),a=e.getGlobalFilterFn(),s=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let u,c;o&&a&&s.length&&(l.push("__global__"),s.forEach((e=>{var t;i.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(o))?t:o})})));for(let e=0;e<t.flatRows.length;e++){const n=t.flatRows[e];if(n.columnFilters={},r.length)for(let e=0;e<r.length;e++){u=r[e];const t=u.id;n.columnFilters[t]=u.filterFn(n,t,u.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))}if(i.length){for(let e=0;e<i.length;e++){c=i[e];const t=c.id;if(c.filterFn(n,t,c.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return vo(t.rows,(e=>{for(let t=0;t<l.length;t++)if(!1===e.columnFilters[l[t]])return!1;return!0}),e)}),Cn(e.options,"debugTable","getFilteredRowModel",(()=>e._autoResetPageIndex()))),getSortedRowModel:e=>xn((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const o=e.getState().sorting,r=[],i=o.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),l={};i.forEach((t=>{const n=e.getColumn(t.id);n&&(l[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const a=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let o=0;o<i.length;o+=1){var n;const r=i[o],a=l[r.id],s=a.sortUndefined,u=null!=(n=null==r?void 0:r.desc)&&n;let c=0;if(s){const n=void 0===e.getValue(r.id),o=void 0===t.getValue(r.id);if(n||o){if("first"===s)return n?-1:1;if("last"===s)return n?1:-1;c=n&&o?0:n?s:-s}}if(0===c&&(c=a.sortingFn(e,t,r.id)),0!==c)return u&&(c*=-1),a.invertSorting&&(c*=-1),c}return e.index-t.index})),t.forEach((e=>{var t;r.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(n.rows),flatRows:r,rowsById:n.rowsById}}),Cn(e.options,"debugTable","getSortedRowModel",(()=>e._autoResetPageIndex()))),getPaginationRowModel:e=>xn((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:o,pageIndex:r}=t;let{rows:i,flatRows:l,rowsById:a}=n;const s=o*r,u=s+o;let c;i=i.slice(s,u),c=e.options.paginateExpandedRows?{rows:i,flatRows:l,rowsById:a}:bo({rows:i,flatRows:l,rowsById:a}),c.flatRows=[];const d=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(d)};return c.rows.forEach(d),c}),Cn(e.options,"debugTable","getPaginationRowModel")),getRowId:u.getRowId||((e,t,n)=>n?[n.id,e.id].join("."):e.id.toString()),defaultColumn:t.enableResizing?{size:void 0}:void 0,...u});return a&&(a.current=c),{table:c}},So=({dataTest:e,...t})=>T.jsx(b,{...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"}}});function Ro(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const Eo=()=>{const[e,t]=a(null),[n,o]=a(!1),r=l((e=>{t(e.currentTarget),o(!0)}),[]);return{open:n,handleClose:l((()=>{o(!1)}),[]),handleOpen:r,anchorEl:e}};function _o(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M12 16a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2"})})}const Io=e=>{var t;return T.jsx(v,{...e,classes:{root:cn("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Do="_asma-core-ui-button_gteum_1",Mo={contained:"_contained_gteum_27",outlined:"_outlined_gteum_141",text:"_text_gteum_255",textGray:"_textGray_gteum_369",textWhite:"_textWhite_gteum_426",large:"_large_gteum_79",small:"_small_gteum_74",medium:"_medium_gteum_69",error:"_error_gteum_84",common:"_common_gteum_27"},Fo=({variant:e="contained",className:t="",size:n="medium",children:o,refLink:r,startIcon:i,endIcon:l,dataTest:a,error:s,...u})=>{const c="large"===n||"medium"===n,d=s?"error":"common";return T.jsxs("button",{...u,className:cn(Do,Mo[e],Mo[d],Mo[n],t),ref:r,"data-test":a,children:[i,o&&T.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:c?"8px":"4px",paddingLeft:c?"8px":"4px",paddingRight:c?"8px":"4px"},children:o}),l]})};function Oo(){return Oo=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},Oo.apply(this,arguments)}function Po(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}function No(e,t){return(No=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}const ko=!1;var jo="production"!==process.env.NODE_ENV?C.oneOfType([C.number,C.shape({enter:C.number,exit:C.number,appear:C.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&C.oneOfType([C.string,C.shape({enter:C.string,exit:C.string,active:C.string}),C.shape({enter:C.string,enterDone:C.string,enterActive:C.string,exit:C.string,exitDone:C.string,exitActive:C.string})]);const To=t.createContext(null);var Ao="unmounted",Vo="exited",zo="entering",Lo="entered",Ho="exiting",Go=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=Vo,o.appearStatus=zo):r=Lo:r=t.unmountOnExit||t.mountOnEnter?Ao:Vo,o.state={status:r},o.nextCallback=null,o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,No(e,t)}(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ao?{status:Vo}: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!==zo&&n!==Lo&&(t=zo):(n===zo||n===Lo)&&(t=Ho)}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===zo){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Vo&&this.setState({status:Ao})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[p.findDOMNode(this),o],i=r[0],l=r[1],a=this.getTimeouts(),s=o?a.appear:a.enter;!e&&!n||ko?this.safeSetState({status:Lo},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:zo},(function(){t.props.onEntering(i,l),t.onTransitionEnd(s,(function(){t.safeSetState({status:Lo},(function(){t.props.onEntered(i,l)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:p.findDOMNode(this);t&&!ko?(this.props.onExit(o),this.safeSetState({status:Ho},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Vo},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:Vo},(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:p.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],l=r[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Ao)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=Po(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(To.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function $o(){}Go.contextType=To,Go.propTypes="production"!==process.env.NODE_ENV?{nodeRef:C.shape({current:typeof Element>"u"?C.any:function(e,t,n,o,r,i){var l=e[t];return C.instanceOf(l&&"ownerDocument"in l?l.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:C.oneOfType([C.func.isRequired,C.element.isRequired]).isRequired,in:C.bool,mountOnEnter:C.bool,unmountOnExit:C.bool,appear:C.bool,enter:C.bool,exit:C.bool,timeout:function(e){var t=jo;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:C.func,onEnter:C.func,onEntering:C.func,onEntered:C.func,onExit:C.func,onExiting:C.func,onExited:C.func}:{},Go.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$o,onEntering:$o,onEntered:$o,onExit:$o,onExiting:$o,onExited:$o},Go.UNMOUNTED=Ao,Go.EXITED=Vo,Go.ENTERING=zo,Go.ENTERED=Lo,Go.EXITING=Ho;const Bo=Go;function Uo(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Wo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function qo(e){if(!Wo(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=qo(e[n])})),t}function Ko(e,t,n={clone:!0}){const o=n.clone?Oo({},e):e;return Wo(e)&&Wo(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(Wo(t[r])&&r in e&&Wo(e[r])?o[r]=Ko(e[r],t[r],n):n.clone?o[r]=Wo(t[r])?qo(t[r]):t[r]:o[r]=t[r])})),o}function Xo(e,t,n,o,r){const i=e[t],l=r||t;if(null==i||typeof window>"u")return null;let a;const s=i.type;return"function"==typeof s&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(s)&&(a="Did you accidentally use a plain function component for an element instead?"),void 0!==a?new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Yo=Uo(C.element,Xo);Yo.isRequired=Uo(C.element.isRequired,Xo);const Jo=Yo;function Zo(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 Qo(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Zo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const er=e=>e,tr=(()=>{let e=er;return{configure(t){e=t},generate:t=>e(t),reset(){e=er}}})(),nr=tr,or={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function rr(e,t,n="Mui"){const o=or[t];return o?`${n}-${o}`:`${nr.generate(e)}-${t}`}const ir=["values","unit","step"],lr=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)=>Oo({},e,{[t.key]:t.val})),{})};const ar={borderRadius:4},sr="production"!==process.env.NODE_ENV?C.oneOfType([C.number,C.string,C.object,C.array]):{};function ur(e,t){return t?Ko(e,t,{clone:!1}):e}const cr={xs:0,sm:600,md:900,lg:1200,xl:1536},dr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${cr[e]}px)`};function gr(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||dr;return t.reduce(((o,r,i)=>(o[e.up(e.keys[i])]=n(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||dr;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||cr).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function pr(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 fr(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:pr(e,n)||o,t&&(r=t(r,o,e)),r}function hr(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],l=pr(e.theme,o)||{};return gr(e,i,(e=>{let o=fr(l,r,e);return e===o&&"string"==typeof e&&(o=fr(l,r,`${t}${"default"===e?"":Qo(e)}`,e)),!1===n?o:{[n]:o}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:sr}:{},i.filterProps=[t],i}const mr={m:"margin",p:"padding"},br={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wr=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!vr[e])return[e];e=vr[e]}const[t,n]=e.split(""),o=mr[t],r=br[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"],xr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Cr=[...yr,...xr];function Sr(e,t,n,o){var r;const i=null!=(r=pr(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 Rr(e){return Sr(e,"spacing",8,"spacing")}function Er(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 _r(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=Er(t,n),e)),{})}(wr(n),o);return gr(e,e[n],r)}function Ir(e,t){const n=Rr(e.theme);return Object.keys(e).map((o=>_r(e,t,o,n))).reduce(ur,{})}function Dr(e){return Ir(e,yr)}function Mr(e){return Ir(e,xr)}function Fr(...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]?ur(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`}Dr.propTypes="production"!==process.env.NODE_ENV?yr.reduce(((e,t)=>(e[t]=sr,e)),{}):{},Dr.filterProps=yr,Mr.propTypes="production"!==process.env.NODE_ENV?xr.reduce(((e,t)=>(e[t]=sr,e)),{}):{},Mr.filterProps=xr,"production"!==process.env.NODE_ENV&&Cr.reduce(((e,t)=>(e[t]=sr,e)),{});const Pr=hr({prop:"border",themeKey:"borders",transform:Or}),Nr=hr({prop:"borderTop",themeKey:"borders",transform:Or}),kr=hr({prop:"borderRight",themeKey:"borders",transform:Or}),jr=hr({prop:"borderBottom",themeKey:"borders",transform:Or}),Tr=hr({prop:"borderLeft",themeKey:"borders",transform:Or}),Ar=hr({prop:"borderColor",themeKey:"palette"}),Vr=hr({prop:"borderTopColor",themeKey:"palette"}),zr=hr({prop:"borderRightColor",themeKey:"palette"}),Lr=hr({prop:"borderBottomColor",themeKey:"palette"}),Hr=hr({prop:"borderLeftColor",themeKey:"palette"}),Gr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Sr(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Er(t,e)});return gr(e,e.borderRadius,n)}return null};Gr.propTypes="production"!==process.env.NODE_ENV?{borderRadius:sr}:{},Gr.filterProps=["borderRadius"],Fr(Pr,Nr,kr,jr,Tr,Ar,Vr,zr,Lr,Hr,Gr);const $r=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Sr(e.theme,"spacing",8,"gap"),n=e=>({gap:Er(t,e)});return gr(e,e.gap,n)}return null};$r.propTypes="production"!==process.env.NODE_ENV?{gap:sr}:{},$r.filterProps=["gap"];const Br=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Sr(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Er(t,e)});return gr(e,e.columnGap,n)}return null};Br.propTypes="production"!==process.env.NODE_ENV?{columnGap:sr}:{},Br.filterProps=["columnGap"];const Ur=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Sr(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Er(t,e)});return gr(e,e.rowGap,n)}return null};Ur.propTypes="production"!==process.env.NODE_ENV?{rowGap:sr}:{},Ur.filterProps=["rowGap"];function Wr(e,t){return"grey"===t?t:e}Fr($r,Br,Ur,hr({prop:"gridColumn"}),hr({prop:"gridRow"}),hr({prop:"gridAutoFlow"}),hr({prop:"gridAutoColumns"}),hr({prop:"gridAutoRows"}),hr({prop:"gridTemplateColumns"}),hr({prop:"gridTemplateRows"}),hr({prop:"gridTemplateAreas"}),hr({prop:"gridArea"}));function qr(e){return e<=1&&0!==e?100*e+"%":e}Fr(hr({prop:"color",themeKey:"palette",transform:Wr}),hr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Wr}),hr({prop:"backgroundColor",themeKey:"palette",transform:Wr}));const Kr=hr({prop:"width",transform:qr}),Xr=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])||cr[t]||qr(t)}};return gr(e,e.maxWidth,t)}return null};Xr.filterProps=["maxWidth"];const Yr=hr({prop:"minWidth",transform:qr}),Jr=hr({prop:"height",transform:qr}),Zr=hr({prop:"maxHeight",transform:qr}),Qr=hr({prop:"minHeight",transform:qr});hr({prop:"size",cssProperty:"width",transform:qr}),hr({prop:"size",cssProperty:"height",transform:qr});Fr(Kr,Xr,Yr,Jr,Zr,Qr,hr({prop:"boxSizing"}));const ei={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:Gr},color:{themeKey:"palette",transform:Wr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Wr},backgroundColor:{themeKey:"palette",transform:Wr},p:{style:Mr},pt:{style:Mr},pr:{style:Mr},pb:{style:Mr},pl:{style:Mr},px:{style:Mr},py:{style:Mr},padding:{style:Mr},paddingTop:{style:Mr},paddingRight:{style:Mr},paddingBottom:{style:Mr},paddingLeft:{style:Mr},paddingX:{style:Mr},paddingY:{style:Mr},paddingInline:{style:Mr},paddingInlineStart:{style:Mr},paddingInlineEnd:{style:Mr},paddingBlock:{style:Mr},paddingBlockStart:{style:Mr},paddingBlockEnd:{style:Mr},m:{style:Dr},mt:{style:Dr},mr:{style:Dr},mb:{style:Dr},ml:{style:Dr},mx:{style:Dr},my:{style:Dr},margin:{style:Dr},marginTop:{style:Dr},marginRight:{style:Dr},marginBottom:{style:Dr},marginLeft:{style:Dr},marginX:{style:Dr},marginY:{style:Dr},marginInline:{style:Dr},marginInlineStart:{style:Dr},marginInlineEnd:{style:Dr},marginBlock:{style:Dr},marginBlockStart:{style:Dr},marginBlockEnd:{style:Dr},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:$r},rowGap:{style:Ur},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:qr},maxWidth:{style:Xr},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"}},ti=ei;const ni=function(){function e(e,t,n,o){const r={[e]:t,theme:n},i=o[e];if(!i)return{[e]:t};const{cssProperty:l=e,themeKey:a,transform:s,style:u}=i;if(null==t)return null;if("typography"===a&&"inherit"===t)return{[e]:t};const c=pr(n,a)||{};return u?u(r):gr(r,t,(t=>{let n=fr(c,s,t);return t===n&&"string"==typeof t&&(n=fr(c,s,`${e}${"default"===t?"":Qo(t)}`,t)),!1===l?n:{[l]:n}}))}return function t(n){var o;const{sx:r,theme:i={}}=n||{};if(!r)return null;const l=null!=(o=i.unstable_sxConfig)?o:ti;function a(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),a=Object.keys(r);let s=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(l[n])s=ur(s,e(n,r,i,l));else{const e=gr({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)?s=ur(s,e):s[n]=t({sx:r,theme:i})}else s=ur(s,e(n,r,i,l))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(a,s)}return Array.isArray(r)?r.map(a):a(r)}}();ni.filterProps=["sx"];const oi=ni,ri=["breakpoints","palette","spacing","shape"];function ii(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:i={}}=e,l=Po(e,ri),a=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,r=Po(e,ir),i=lr(t),l=Object.keys(i);function a(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${n})`}function u(e,r){const i=l.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[l[i]]?t[l[i]]:r)-o/100}${n})`}return Oo({keys:l,values:i,up:a,down:s,between:u,only:function(e){return l.indexOf(e)+1<l.length?u(e,l[l.indexOf(e)+1]):a(e)},not:function(e){const t=l.indexOf(e);return 0===t?a(l[1]):t===l.length-1?s(l[t]):u(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},r)}(n),s=function(e=8){if(e.mui)return e;const t=Rr({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 u=Ko({breakpoints:a,direction:"ltr",components:{},palette:Oo({mode:"light"},o),spacing:s,shape:Oo({},ar,i)},l);return u=t.reduce(((e,t)=>Ko(e,t)),u),u.unstable_sxConfig=Oo({},ti,null==l?void 0:l.unstable_sxConfig),u.unstable_sx=function(e){return oi({sx:e,theme:this})},u}function li(t=null){const n=e.useContext(S);return!n||function(e){return 0===Object.keys(e).length}(n)?t:n}const ai=ii();function si(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 ui(e){if(e.type)return e;if("#"===e.charAt(0))return ui(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().`:Zo(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.`:Zo(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}function ci(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 di(e){let t="hsl"===(e=ui(e)).type||"hsla"===e.type?ui(function(e){e=ui(e);const{values:t}=e,n=t[0],o=t[1]/100,r=t[2]/100,i=o*Math.min(r,1-r),l=(e,t=(e+n/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let a="rgb";const s=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(a+="a",s.push(t[3])),ci({type:a,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 gi(e,t){const n=di(e),o=di(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function pi(e,t){return Oo({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fi={black:"#000",white:"#fff"},hi={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"},mi={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"},bi={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"},vi={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"},wi={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"},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"},Ci=["mode","contrastThreshold","tonalOffset"],Si={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}},Ri={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 Ei(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=ui(e),t=si(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 ci(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=ui(e),t=si(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 ci(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=Po(e,Ci),i=e.primary||function(e="light"){return"dark"===e?{main:wi[200],light:wi[50],dark:wi[400]}:{main:wi[700],light:wi[400],dark:wi[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:mi[200],light:mi[50],dark:mi[400]}:{main:mi[500],light:mi[300],dark:mi[700]}}(t),a=e.error||function(e="light"){return"dark"===e?{main:bi[500],light:bi[300],dark:bi[700]}:{main:bi[700],light:bi[400],dark:bi[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),u=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),c=e.warning||function(e="light"){return"dark"===e?{main:vi[400],light:vi[300],dark:vi[700]}:{main:"#ed6c02",light:vi[500],dark:vi[900]}}(t);function d(e){const t=gi(e,Ri.text.primary)>=n?Ri.text.primary:Si.text.primary;if("production"!==process.env.NODE_ENV){const n=gi(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 g=({color:e,name:t,mainShade:n=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=Oo({},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.`:Zo(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} });`:Zo(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ei(e,"light",r,o),Ei(e,"dark",i,o),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:Ri,light:Si};return"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ko(Oo({common:Oo({},fi),mode:t,primary:g({color:i,name:"primary"}),secondary:g({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:a,name:"error"}),warning:g({color:c,name:"warning"}),info:g({color:s,name:"info"}),success:g({color:u,name:"success"}),grey:hi,contrastThreshold:n,getContrastText:d,augmentColor:g,tonalOffset:o},p[t]),r)}const Ii=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Di(e){return Math.round(1e5*e)/1e5}const Mi={textTransform:"uppercase"},Fi='"Roboto", "Helvetica", "Arial", sans-serif';function Oi(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=Fi,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,g=Po(n,Ii);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof u&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=r/14,f=d||(e=>e/u*p+"rem"),h=(e,t,n,r,i)=>Oo({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n},o===Fi?{letterSpacing:`${Di(r/t)}em`}:{},i,c),m={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(l,48,1.167,0),h4:h(l,34,1.235,.25),h5:h(l,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(l,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(l,16,1.5,.15),body2:h(l,14,1.43,.15),button:h(a,14,1.75,.4,Mi),caption:h(l,12,1.66,.4),overline:h(l,12,2.66,1,Mi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ko(Oo({htmlFontSize:u,pxToRem:f,fontFamily:o,fontSize:r,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:a,fontWeightBold:s},m),g,{clone:!1})}function Pi(...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 Ni=["none",Pi(0,2,1,-1,0,1,1,0,0,1,3,0),Pi(0,3,1,-2,0,2,2,0,0,1,5,0),Pi(0,3,3,-2,0,3,4,0,0,1,8,0),Pi(0,2,4,-1,0,4,5,0,0,1,10,0),Pi(0,3,5,-1,0,5,8,0,0,1,14,0),Pi(0,3,5,-1,0,6,10,0,0,1,18,0),Pi(0,4,5,-2,0,7,10,1,0,2,16,1),Pi(0,5,5,-3,0,8,10,1,0,3,14,2),Pi(0,5,6,-3,0,9,12,1,0,3,16,2),Pi(0,6,6,-3,0,10,14,1,0,4,18,3),Pi(0,6,7,-4,0,11,15,1,0,4,20,3),Pi(0,7,8,-4,0,12,17,2,0,5,22,4),Pi(0,7,8,-4,0,13,19,2,0,5,24,4),Pi(0,7,9,-4,0,14,21,2,0,5,26,4),Pi(0,8,9,-5,0,15,22,2,0,6,28,5),Pi(0,8,10,-5,0,16,24,2,0,6,30,5),Pi(0,8,11,-5,0,17,26,2,0,6,32,5),Pi(0,9,11,-5,0,18,28,2,0,7,34,6),Pi(0,9,12,-6,0,19,29,2,0,7,36,6),Pi(0,10,13,-6,0,20,31,3,0,8,38,7),Pi(0,10,13,-6,0,21,33,3,0,8,40,7),Pi(0,10,14,-6,0,22,35,3,0,8,42,7),Pi(0,11,14,-7,0,23,36,3,0,9,44,8),Pi(0,11,15,-7,0,24,38,3,0,9,46,8)],ki=["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)"},Ti={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ai(e){return`${Math.round(e)}ms`}function Vi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function zi(e){const t=Oo({},ji,e.easing),n=Oo({},Ti,e.duration);return Oo({getAutoHeightDuration:Vi,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:l=0}=o,a=Po(o,ki);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(l)&&!t(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(a).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(a).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Ai(r)} ${i} ${"string"==typeof l?l:Ai(l)}`)).join(",")}},e,{easing:t,duration:n})}const Li={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Hi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Gi=function(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:i={}}=e,l=Po(e,Hi);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.":Zo(18));const a=_i(o),s=ii(e);let u=Ko(s,{mixins:pi(s.breakpoints,n),palette:a,shadows:Ni.slice(),typography:Oi(a,i),transitions:zi(r),zIndex:Oo({},Li)});if(u=Ko(u,l),u=t.reduce(((e,t)=>Ko(e,t)),u),"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=rr("",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(u.components).forEach((e=>{const n=u.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return u.unstable_sxConfig=Oo({},ti,null==l?void 0:l.unstable_sxConfig),u.unstable_sx=function(e){return oi({sx:e,theme:this})},u}(),$i=Gi;function Bi(){const t=function(e=ai){return li(e)}($i);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function Ui(e,t){var n,o;const{timeout:r,easing:i,style:l={}}=e;return{duration:null!=(n=l.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=l.transitionTimingFunction)?o:"object"==typeof i?i[t.mode]:i,delay:l.transitionDelay}}const Wi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],qi={entering:{opacity:1},entered:{opacity:1}},Ki=e.forwardRef((function(t,n){const o=Bi(),r={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:i,appear:l=!0,children:a,easing:s,in:u,onEnter:c,onEntered:d,onEntering:g,onExit:p,onExited:f,onExiting:h,style:m,timeout:b=r,TransitionComponent:v=Bo}=t,w=Po(t,Wi),y=e.useRef(null),x=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)}(y,a.ref,n),C=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},S=C(g),R=C(((e,t)=>{(e=>{e.scrollTop})(e);const n=Ui({style:m,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=o.transitions.create("opacity",n),e.style.transition=o.transitions.create("opacity",n),c&&c(e,t)})),E=C(d),_=C(h),I=C((e=>{const t=Ui({style:m,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=o.transitions.create("opacity",t),e.style.transition=o.transitions.create("opacity",t),p&&p(e)})),D=C(f);return T.jsx(v,Oo({appear:l,in:u,nodeRef:y,onEnter:R,onEntered:E,onEntering:S,onExit:I,onExited:D,onExiting:_,addEndListener:e=>{i&&i(y.current,e)},timeout:b},w,{children:(t,n)=>e.cloneElement(a,Oo({style:Oo({opacity:0,visibility:"exited"!==t||u?void 0:"hidden"},qi[t],m,a.props.style),ref:x},n))}))}));"production"!==process.env.NODE_ENV&&(Ki.propTypes={addEndListener:C.func,appear:C.bool,children:Jo.isRequired,easing:C.oneOfType([C.shape({enter:C.string,exit:C.string}),C.string]),in:C.bool,onEnter:C.func,onEntered:C.func,onEntering:C.func,onExit:C.func,onExited:C.func,onExiting:C.func,style:C.object,timeout:C.oneOfType([C.number,C.shape({appear:C.number,enter:C.number,exit:C.number})])});const Xi=Ki,Yi=e=>T.jsx(w,{TransitionComponent:Xi,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});function Ji(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16 ",...e,children:T.jsxs("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",children:[T.jsx("circle",{cx:"8",cy:"8",r:"6.25"}),T.jsx("path",{d:"m8 10.75v0m0-6v3.5"})]})})}function Zi({tableData:e,actions:o,rowActionsState:i}){var l;const{anchorEl:s,open:u,handleClose:c,handleOpen:d}=Eo(),g=o(e.row),p=(null==i?void 0:i(e.row))??{state:"enabled"},f="no"===(null==(l=e.table.options.meta)?void 0:l.locale)?"Ingen handlinger tilgjengelig":"No actions available",h=n((()=>g.every((e=>!("component"in e)&&e.hide))),[g]),m=g.length>0&&!h,b="enabled"===p.state&&!m,v="hidden"!==p.state&&(m||b||"disabled"===p.state),[w,x]=a(!1);if(r((()=>{if(!w)return;const e=window.setTimeout((()=>x(!1)),1600);return()=>window.clearTimeout(e)}),[w]),!v)return T.jsx("div",{className:"flex justify-center items-center w-[40px]"});const C="disabled"===p.state,S=T.jsx(Fo,{dataTest:"",variant:"text",size:"small",disabled:C,onClick:t=>{t.stopPropagation(),t.preventDefault(),!C&&(d(t),e.row.onChangeFocused(!0))},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:T.jsx(_o,{className:C?"text-delta-300":"text-delta-700",width:20,height:20})});return T.jsx("div",{className:"flex justify-center items-center w-[40px]",children:T.jsxs("div",{className:"flex items-center justify-center",children:["disabled"===p.state?T.jsx(Yi,{title:p.tooltipTitle,arrow:!0,placement:p.tooltipPlacement||"top",open:w,onOpen:()=>x(!0),onClose:()=>x(!1),children:T.jsx("span",{className:"cursor-not-allowed",onTouchStart:e=>{e.stopPropagation(),e.preventDefault(),x(!0)},onClick:e=>{e.stopPropagation(),e.preventDefault()},children:S})}):S,"enabled"===p.state&&T.jsx(y,{open:u,anchorEl:s,onClose:()=>{c(),e.row.onChangeFocused(!1)},onClick:()=>{c(),e.row.onChangeFocused(!1)},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:b?T.jsxs("div",{className:"flex items-center gap-2 p-3 text-delta-700",children:[T.jsx(Ji,{width:20,height:20}),T.jsx("span",{children:f})]}):g.map(((n,o)=>{if(R(n)){const r=n.component(e.row,c);return t.isValidElement(r)?T.jsx(t.Fragment,{children:r},o):null}return n.hide?null:T.jsx(Yi,{title:null==n?void 0:n.tooltipTitle,arrow:!0,placement:(null==n?void 0:n.tooltipPlacement)||"left",children:T.jsx("span",{children:T.jsx(Io,{className:n.className,disabled:n.disabled,onClick:()=>{var t;null==(t=n.onClick)||t.call(n,e.row)},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:n.label})})},o)}))})]})})}function Qi(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("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"})})}const el={"actions-header":"_actions-header_1bxzk_1","pin-indicator":"_pin-indicator_1bxzk_11","pin-icon":"_pin-icon_1bxzk_21"};function tl({headerData:e}){const{anchorEl:t,open:n,handleClose:o,handleOpen:r}=Eo(),i=e.table.getAllLeafColumns().some((e=>e.getCanHide()&&!e.getIsVisible()&&!F.includes(e.id)));return T.jsxs("div",{className:"flex absolute-center items-center justify-end w-full",children:[T.jsxs("div",{className:el["actions-header"],onClick:r,children:[T.jsx(Qi,{className:el["pin-icon"]}),i&&T.jsx("div",{className:el["pin-indicator"]})]}),T.jsx(y,{anchorEl:t,anchorOrigin:{horizontal:"left",vertical:"bottom"},open:n,onClose:o,sx:{"& .MuiPaper-root":{maxHeight:"calc(7 * 44px)",overflowY:"auto",scrollbarWidth:"thin"}},children:e.table.getAllLeafColumns().filter((e=>e.getCanHide()&&e.id!==E)).map((e=>e.columnDef.header?T.jsxs(Io,{onClick:()=>e.toggleVisibility(!e.getIsVisible()),className:"h-[44px]",children:[T.jsx(So,{size:"small",dataTest:"test",disableRipple:!0,className:"p-0 pr-2",checked:e.getIsVisible()}),e.columnDef.pinnedHeaderText?e.columnDef.pinnedHeaderText:"string"==typeof e.columnDef.header?e.columnDef.header:e.id]},e.id):null))})]})}function nl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 20",...e,children:T.jsx("path",{fill:"currentColor",d:"M14 6.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0m-5 0a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0M5.5 8a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m8.5 5.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0M10.5 15a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3M4 13.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 0 0-3 0"})})}const ol=({rowId:e,rowHeight:t,...n})=>{const{attributes:o,listeners:r}=sn({id:e,...n});return T.jsx("div",{...o,...r,style:{height:t||"auto"},children:T.jsx(nl,{width:24,height:24,className:cn(n.disabled?"text-delta-300 cursor-not-allowed":"text-delta-800 cursor-grab")})})};function rl({info:e,rowHeight:t}){const n=e.row.getCanExpand();return T.jsx("div",{className:"flex w-full items-center justify-center",style:{height:t||"auto"},children:T.jsx(Fo,{dataTest:"expand-text-button",size:"small",variant:"textGray",onClick:()=>{n&&e.row.getToggleExpandedHandler()(),e.row.toggleExpand()},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onMouseUp:e=>{e.preventDefault(),e.stopPropagation()},startIcon:T.jsx(Ro,{width:20,height:20,style:{rotate:e.row.isExpanded()?"180deg":"0deg",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms",cursor:"pointer"}})})})}const il=e=>{const{columns:t,actions:n,customActionsNode:o,headerPin:r=!0,enableRowSelection:i,expandArrow:l,enableDnd:a,customDndColumnProps:s,rowHeight:u,textExpandArrow:c,customActionsColumnProps:d,rowActionsState:g}=e,p=t.some((e=>!0===e.fixedLeft));!t.find((e=>"actions"===e.id))&&(n||o||r)&&t.push(function(e){const{headerPin:t,actions:n,customActionsNode:o,rowHeight:r,customActionsColumnProps:i,rowActionsState:l}=e;return{id:"actions",enableHiding:!1,enableSorting:!1,accessorFn:e=>e,header:e=>t?T.jsx(tl,{headerData:e}):null,cell:e=>n||o?T.jsxs("div",{className:"flex items-center justify-end gap-x-1",style:{height:r||"auto"},children:[o&&T.jsx("div",{children:null==o?void 0:o(e)}),n&&T.jsx(Zi,{tableData:e,actions:n,rowActionsState:l})]}):null,size:50,...i}}({headerPin:r,actions:n,customActionsNode:o,rowHeight:u,customActionsColumnProps:d,rowActionsState:g})),c&&!t.find((e=>e.id===M))&&t.unshift(function(e,t){return{id:M,minSize:38,maxSize:38,size:38,enableHiding:!1,enableSorting:!1,header:()=>null,cell:e=>T.jsx(rl,{info:e,rowHeight:t}),fixedLeft:e}}(p,u)),l&&!c&&!t.find((e=>e.id===_))&&t.unshift(function(e,t){return{id:_,minSize:50,maxSize:50,size:50,enableHiding:!1,enableSorting:!1,header:()=>null,cell:({cell:e})=>{const n=e.row.getIsExpanded();return e.row.getCanExpand()?T.jsx("span",{className:"flex w-full outline-none focus:outline-none items-center justify-center",onClick:()=>e.row.getToggleExpandedHandler()(),style:{height:t||"auto"},children:T.jsx(Ro,{width:24,height:24,style:{rotate:n?"180deg":"0deg",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"500ms"}})}):null},fixedLeft:e}}(p,u)),a&&!t.find((e=>e.id===D))&&t.unshift(function(e,t){return{enableHiding:!1,enableSorting:!1,header:()=>null,cell:({row:e})=>T.jsx(ol,{rowId:e.id,rowHeight:t}),...e,id:D}}(s,u)),i&&!t.find((e=>e.id===E))&&t.unshift(function(e,t){return{id:E,minSize:38,maxSize:38,size:38,header:({table:e})=>T.jsx(So,{size:"small",dataTest:"cell-select-all",checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler(),classes:{root:"w-8 h-8"}}),cell:({cell:e})=>T.jsx("div",{style:{height:t||"auto"},className:"flex items-center w-full",children:T.jsx(So,{size:"small",dataTest:"cell-select",checked:e.row.getIsSelected(),disabled:!e.row.getCanSelect(),onClick:e=>e.stopPropagation(),onChange:e.row.getToggleSelectedHandler(),classes:{root:"w-8 h-8"}})}),fixedLeft:e}}(p,u))},ll={"asma-ui-table-styled-table":"_asma-ui-table-styled-table_1d9l1_1","table-wrapper":"_table-wrapper_1d9l1_16","table-shell":"_table-shell_1d9l1_23","table-wrapper--proxy":"_table-wrapper--proxy_1d9l1_29","table-wrapper--proxy-bottom":"_table-wrapper--proxy-bottom_1d9l1_30","table-wrapper-fetching":"_table-wrapper-fetching_1d9l1_40","table-scroll":"_table-scroll_1d9l1_43","table-x--fill-height":"_table-x--fill-height_1d9l1_52","table-x":"_table-x_1d9l1_52","table-header--sticky":"_table-header--sticky_1d9l1_67","table-hscroll":"_table-hscroll_1d9l1_72","table-hscroll__content":"_table-hscroll__content_1d9l1_82","no-rows-overlay-container":"_no-rows-overlay-container_1d9l1_85","styled-table":"_styled-table_1d9l1_94",tbody:"_tbody_1d9l1_103","loading-icon":"_loading-icon_1d9l1_108","t-row":"_t-row_1d9l1_115","t-cell":"_t-cell_1d9l1_115","action-cell":"_action-cell_1d9l1_125","fixed-cell":"_fixed-cell_1d9l1_128",expanded_row:"_expanded_row_1d9l1_156",selected:"_selected_1d9l1_174","single-selection":"_single-selection_1d9l1_177",shadowed:"_shadowed_1d9l1_193","is-loading":"_is-loading_1d9l1_214","action-cell-default-background":"_action-cell-default-background_1d9l1_217","fixed-cell-default-background":"_fixed-cell-default-background_1d9l1_220","sortable-column":"_sortable-column_1d9l1_223",resizer:"_resizer_1d9l1_227",isResizing:"_isResizing_1d9l1_239","hide-table-header":"_hide-table-header_1d9l1_251","show-table-header":"_show-table-header_1d9l1_255","table-header":"_table-header_1d9l1_67","hide-header":"_hide-header_1d9l1_280","t-cell__actions":"_t-cell__actions_1d9l1_283","t-cell__fixed":"_t-cell__fixed_1d9l1_293","sort-icon":"_sort-icon_1d9l1_300","table-footer--sticky":"_table-footer--sticky_1d9l1_303","table-footer--inline":"_table-footer--inline_1d9l1_314","table-bottom":"_table-bottom_1d9l1_325","table-bottom--sticky":"_table-bottom--sticky_1d9l1_338"};function al(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"m7 14l5-5l5 5z"})})}function sl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"m7 10l5 5l5-5z"})})}const ul=e=>{const{header:t,enableResizing:n,tableWidth:o}=e;let r=t.getSize();const i=t.headerGroup.headers.reduce(((e,t)=>e+t.getSize()),0),l=t.headerGroup.headers.some((e=>e.id===I)),a=t.headerGroup.headers[t.headerGroup.headers.length-(l?2:1)],s=Number(null==a?void 0:a.getSize());if(!n){if(r&&(r=`${r}px`),a&&a.id===t.id){let e;e=o?Math.floor(o)-i+s:"100%";const n=t.column.columnDef.minSize||0;r="string"==typeof e?e:e>n?`${e}px`:`${n}px`}return{width:r||t.column.columnDef.size,maxWidth:r||t.column.columnDef.maxSize,minWidth:r||t.column.columnDef.minSize}}return{width:r||t.column.columnDef.size,maxWidth:t.column.columnDef.maxSize||r,minWidth:t.column.columnDef.minSize||r}};function cl({styledTableProps:e,header:t,tableCanResize:o=!1,left:r,hasFixedLeftColumn:l,tableWidth:a}){const{actions:s,hideHeader:u=!1,enableResizing:c=!1}=e,d=i(null),{isResizing:g,enableResizingFlag:p,disableResizingFlag:f}=fn(),h=!mn()&&t.column.columnDef.fixedLeft,m=n((()=>t.headerGroup.headers.some((e=>e.id===I))),[t.headerGroup.headers]),b=n((()=>t.headerGroup.headers[t.headerGroup.headers.length-(m?2:1)]),[t.headerGroup.headers,m]);return T.jsx("th",{ref:d,colSpan:t.colSpan,className:cn(ll["t-cell"],u&&ll["hide-header"],t.column.id===I&&ll["t-cell__actions"],l&&!!s&&t.column.id===I&&ll.shadowed,h&&ll["t-cell__fixed"]),style:{...ul({enableResizing:c,header:t,element:d.current,tableWidth:a}),...h&&{left:r}},children:T.jsxs("div",{className:cn("flex items-center justify-left",u?ll["hide-table-header"]:ll["show-table-header"],t.column.getCanSort()&&ll["sortable-column"],t.column.columnDef.className),onClick:e=>{const n=t.column.getToggleSortingHandler();!g&&n&&n(e),f()},children:[wo(t.column.columnDef.header,t.getContext()),{asc:T.jsx(al,{className:ll["sort-icon"]}),desc:T.jsx(sl,{className:ll["sort-icon"]})}[t.column.getIsSorted()]??null,o&&(!!c||t.id!==(null==b?void 0:b.id))&&t.column.getCanResize()&&!F.includes(t.column.id)&&T.jsx("div",{onDoubleClick:()=>t.column.resetSize(),onMouseDown:n=>{n.stopPropagation(),p(),t.getResizeHandler()(n),window.addEventListener("mouseup",(()=>dl({styledTableProps:e,header:t})))},onTouchStart:n=>{n.stopPropagation(),p(),t.getResizeHandler()(n),window.addEventListener("mouseup",(()=>dl({styledTableProps:e,header:t})))},className:`${ll.resizer} ${t.column.getIsResizing()?ll.isResizing:""}`})]})},t.id)}function dl({styledTableProps:e,header:t}){if(e.uniqueKey){const n=e.uniqueKey,o=localStorage.getItem(n);let r={};if(o)try{r=JSON.parse(o)}catch{console.warn("Failed to parse stored dimensions. Resetting."),r={}}r[t.column.id]=t.column.getSize(),localStorage.setItem(n,JSON.stringify(r))}}function gl({table:e,styledTableProps:t,tableCanResize:n,tableWidth:o}){const{stickyHeader:r=!1,tableHeaderRef:i,tableHeaderStyle:l={}}=t,a=mn(),s=e.getHeaderGroups().some((e=>e.headers.some((e=>!0===e.column.columnDef.fixedLeft)))),u={...l};return T.jsx("thead",{className:dn(ll["table-header"],r&&ll["table-header--sticky"],t.tableHeaderClassName),style:u,ref:i,children:e.getHeaderGroups().map((e=>T.jsx("tr",{children:e.headers.map(((r,i)=>{const l=!a&&r.column.columnDef.fixedLeft,u=e.headers.slice(0,i).reduce(((e,t)=>e+(t.column.getSize()||0)),0);return T.jsx(cl,{styledTableProps:t,header:r,tableCanResize:n,left:l?u:0,hasFixedLeftColumn:s,tableWidth:o},r.column.id)}))},e.id)))})}const pl="_skeleton-row_5gbhw_1",fl=({colSpan:e,rowHeight:t=48})=>T.jsx(g,{children:Array.from({length:10}).map(((n,o)=>T.jsx("tr",{children:T.jsx("td",{colSpan:e,height:t,className:pl,children:T.jsx(x,{variant:"rectangular",width:"100%",height:40,sx:{backgroundColor:"var(--colors-delta-50)",borderRadius:"8px"}},o)})},o)))});function hl({styledTableProps:e,row:t,index:o}){const{loading:i,getRowClassName:l,rowHeight:a,onRowClick:s,expandArrow:u,enableDnd:c,disableDndForRow:d,tdClassName:p,customSubRowData:f,renderSubRows:h,defaultExpanded:m,actions:b,textExpandArrow:v,enableMultiRowSelection:w,enableRowSelection:y,singleSelectionRow:x}=e,C=null==d?void 0:d(t),{transform:S,transition:R,setNodeRef:E,isDragging:_}=sn({id:t.original.id,disabled:!c||C}),D={transform:re.Transform.toString(S),transition:R,opacity:_?.8:1,zIndex:_?1:0,position:"relative"},{isResizing:M,disableResizingFlag:F}=fn(),O=mn();r((()=>{m&&t.getCanExpand()&&!t.getIsExpanded()&&t.toggleExpand()}),[]);const P=e=>{var n,o;t.getCanExpand()&&!u&&t.getToggleExpandedHandler()(),null==(n=document.getElementById(t.id))||n.focus();const r=!("Range"===(null==(o=window.getSelection())?void 0:o.type)||M),i=s instanceof Function;!i&&v&&r?t.toggleExpand():i&&r&&(s(e,t),t.onChangeFocused(!0)),F()},N=t.getVisibleCells().map(((e,t,n)=>({...e,left:n.slice(0,t).reduce(((e,t)=>e+(t.column.getSize()||0)),0)}))),k=n((()=>N.filter((({column:e})=>e.columnDef.fixedLeft))),[N]),j=!w&&!y&&x,A=t.getIsSelected()&&j,V=s instanceof Function;return T.jsxs(g,{children:[T.jsx("tr",{role:"row","aria-selected":t.getIsSelected()||t.isFocused()?"true":"false",tabIndex:t.isFocused()?0:-1,"data-index":o,"data-test":t.id,id:t.id,className:cn(ll["t-row"],i&&ll["is-loading"],null==l?void 0:l(t)),style:{height:a?`${a}px`:"inherit",...c&&D},ref:C?void 0:E,onMouseUp:e=>{e.target.classList.contains("MuiModal-backdrop")||"INPUT"===e.target.nodeName||"BUTTON"===e.target.nodeName||"LI"===e.target.nodeName||e.target.closest("li")||P(e)},onMouseDown:e=>{e.detail>1&&!V&&v&&e.preventDefault()},onKeyDown:e=>{switch(e.key){case"Tab":case"ArrowDown":t.focusNextRow(),e.preventDefault();break;case"ArrowUp":t.focusPrevRow(),e.preventDefault();break;case"Enter":P(e)}},children:N.map(((e,n)=>{var o;const r=e.column.id===I,i=!O&&e.column.columnDef.fixedLeft,a=e.id===(null==(o=k.at(-1))?void 0:o.id),s=t.isExpanded(),u=0===n;return T.jsx("td",{className:cn(ll["t-cell"],V&&"cursor-pointer",p,r&&ll["action-cell"],r&&!!b&&k.length&&ll.shadowed,r&&(null!=l&&l(t)?null==l?void 0:l(t):ll["action-cell-default-background"]),i&&ll["fixed-cell"],a&&ll.shadowed,t.getIsSelected()&&ll.selected,i&&(null!=l&&l(t)?null==l?void 0:l(t):ll["fixed-cell-default-background"]),s&&ll.expanded_row,(A||t.isFocused())&&ll["single-selection"]),style:{left:i?e.left:void 0},children:T.jsxs("div",{style:{display:"flex",alignItems:"center",minWidth:u?32:void 0,position:"relative"},children:[u&&A&&T.jsx("span",{style:{display:"inline-flex",alignItems:"center",position:"absolute",left:0,top:"50%",transform:"translateY(-50%)"},children:T.jsx(ml,{})}),T.jsx("span",{style:{marginLeft:u&&j?30:0,width:"100%"},children:wo(e.column.columnDef.cell,e.getContext())})]})},e.id)}))}),t.getIsExpanded()&&T.jsx(T.Fragment,{children:f&&h&&h({rows:f.get(t.original.id.toString())??[],row:t.original})})]},t.id)}const ml=()=>T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 2 22 22",style:{color:"var(--colors-gama-500)"},children:T.jsx("path",{fill:"currentColor",d:"M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z"})});function bl({styledTableProps:e,table:t}){const n=e.hideFooter?t.getExpandedRowModel().rows:t.getRowModel().rows;return T.jsx(T.Fragment,{children:n.map(((t,n)=>T.jsx(hl,{styledTableProps:e,row:t,index:n},t.id)))})}function vl({table:e,styledTableProps:t}){const{columns:n,data:o,loading:r,enableDnd:i,rowHeight:l}=t,a=e.getAllLeafColumns().length||n.length||1;return r&&0===o.length?T.jsx("tbody",{className:ll.tbody,children:T.jsx(fl,{colSpan:a,rowHeight:l})}):0===o.length?null:T.jsx("tbody",{className:ll.tbody,children:i?T.jsx(en,{items:o,strategy:Jt,children:T.jsx(bl,{table:e,styledTableProps:t})}):T.jsx(bl,{table:e,styledTableProps:t})})}function wl(e){return T.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[T.jsx("path",{fill:"currentColor",d:"M12 2A10 10 0 1 0 22 12A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8A8 8 0 0 1 12 20Z",opacity:.5}),T.jsx("path",{fill:"currentColor",d:"M20 12h2A10 10 0 0 0 12 2V4A8 8 0 0 1 20 12Z",children:T.jsx("animateTransform",{attributeName:"transform",dur:"1s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"})})]})}const yl=({fetching:e=!1})=>e?T.jsx("div",{className:"absolute z-10 bg-white/40 left-0 top-0 right-0 bottom-0 flex items-center justify-center ",children:T.jsx(wl,{className:ll["loading-icon"],width:50,height:50})}):null;function xl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"})})}const Cl={"table-pagination":"_table-pagination_pu6mb_1","table-pagination__pages-list":"_table-pagination__pages-list_pu6mb_11","table-pagination__pages-list__page":"_table-pagination__pages-list__page_pu6mb_16","page-selected":"_page-selected_pu6mb_27","check-icon":"_check-icon_pu6mb_30"};function Sl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M15.41 16.58L10.83 12l4.58-4.59L14 6l-6 6l6 6z"})})}function Rl(e){return T.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:T.jsx("path",{fill:"currentColor",d:"M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"})})}const El=e=>T.jsxs(v,{classes:{root:"flex gap-x-1"},sx:{padding:"8px","&.Mui-selected":{backgroundColor:"var(--colors-gama-50)","&:hover":{backgroundColor:"var(--colors-gama-50)"}}},...e,children:[T.jsx(Rl,{width:24,height:24,color:e.selected?"var(--colors-gama-500)":"transparent",style:{transition:"color 0.2s ease"}}),e.children]}),_l=[10,20,50];function Il({table:e,showRowSelect:t,locale:o}){const{anchorEl:r,open:a,handleClose:s,handleOpen:u}=Eo(),{anchorEl:c,open:d,handleClose:g,handleOpen:p}=Eo(),f=i(null),h="no"===o,m=n((()=>({anchorOrigin:{vertical:-5,horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}})),[]),b=l((()=>{var e,t,n;const o=ll["asma-ui-table-styled-table"];null==(n=null==(t=null==(e=f.current)?void 0:e.closest(`.${o}`))?void 0:t.querySelector('[data-index="0"]'))||n.scrollIntoView({block:"center",inline:"start"})}),[]),v=e.getPageCount()||1,w=e.getState().pagination.pageIndex+1,x=n((()=>Array.from({length:v},((e,t)=>t+1))),[v]),C=e.getState().pagination.pageSize,S=n((()=>{const e=new Set([..._l,C]);return Array.from(e).sort(((e,t)=>e-t))}),[]),R=l((t=>{e.setPageIndex(t-1),s(),b()}),[e,s,b]),E=l((t=>{e.setPageSize(t),g()}),[e,g]);return T.jsxs("div",{ref:f,className:Cl["table-pagination"],children:[t&&T.jsxs(T.Fragment,{children:[T.jsxs(Fo,{dataTest:"table-rows-count-button",variant:"outlined",size:"large",onClick:p,endIcon:T.jsx(Ro,{className:(d?"rotate-180":"rotate-0")+" transition-transform duration-300",height:24,width:24}),children:[C," ",h?"rader":"rows"]}),T.jsx(y,{open:d,anchorEl:c,slotProps:{paper:{sx:{width:c?c.clientWidth:void 0,maxHeight:288,overflowY:"auto"}}},onClose:g,anchorOrigin:m.anchorOrigin,transformOrigin:m.transformOrigin,classes:{paper:"border border-solid border-delta-200 py-2"},children:S.map((e=>T.jsx(El,{onClick:t=>{t.stopPropagation(),t.preventDefault(),E(e)},selected:C===e,children:T.jsxs("span",{className:"text-delta-700 text-sm font-normal",children:[e," ",h?"rader":"rows"]})},e)))})]}),T.jsx(Yi,{title:h?"Nåværende side":"Current Page",children:T.jsx("div",{children:T.jsxs(Fo,{dataTest:"current-page-button",variant:"outlined",size:"large",onClick:u,endIcon:T.jsx(Ro,{className:(a?"rotate-180":"rotate-0")+" transition-transform duration-300",height:24,width:24}),children:[h?"Side":"Page"," ",w," ",h?"av":"of"," ",v]})})}),T.jsx(y,{open:a,anchorEl:r,slotProps:{paper:{sx:{width:r?r.clientWidth:void 0,maxHeight:288,overflowY:"auto"}}},onClose:s,anchorOrigin:m.anchorOrigin,transformOrigin:m.transformOrigin,classes:{paper:"border border-solid border-delta-200 py-2"},children:x.map((e=>T.jsx(El,{onClick:t=>{t.stopPropagation(),t.preventDefault(),R(e)},selected:e===w,children:T.jsxs("span",{className:"text-delta-700 text-sm font-normal",children:[h?"Side":"Page"," ",e]})},e)))}),T.jsx(Yi,{title:1===w?"":h?"Forrige side":"Previous Page",children:T.jsx("div",{children:T.jsx(Fo,{dataTest:"prev-page-button",variant:"outlined",onClick:()=>{e.previousPage(),b()},size:"large",disabled:!e.getCanPreviousPage(),startIcon:T.jsx(Sl,{height:24,width:24})})})}),T.jsx(Yi,{title:w===v?"":h?"Neste side":"Next Page",children:T.jsx("div",{children:T.jsx(Fo,{dataTest:"next-page-button",variant:"outlined",onClick:()=>{e.nextPage(),b()},size:"large",disabled:!e.getCanNextPage(),startIcon:T.jsx(xl,{height:24,width:24})})})})]})}function Dl({table:e,styledTableProps:t,canShowStickyFooter:n}){var o,r,i;if(t.hideFooter||0===t.data.length)return null;const l=t.paginationAlignLeft,a=e.getState().pagination.pageSize,s=e.getFilteredRowModel().rows.length>a,u=null==(o=t.footer)?void 0:o.call(t,e);return null!=u&&!1!==u||s?T.jsxs("div",{className:n?ll["table-footer--sticky"]:ll["table-footer--inline"],style:l&&{justifyContent:"flex-start"}||{},children:[!l&&(null==(r=t.footer)?void 0:r.call(t,e)),s&&T.jsx(Il,{table:e,showRowSelect:!!t.showRowCountSelect,locale:t.locale||"en"}),l&&(null==(i=t.footer)?void 0:i.call(t,e))]}):null}function Ml({enabled:e,data:t,setData:o,children:r}){const i=n((()=>t.map((e=>e.id))),[t]);return e?T.jsx(At,{collisionDetection:Ce,modifiers:[Ut,Bt],onDragEnd:t=>{if(!e||!o)return;const{active:n,over:r}=t;!n||!r||n.id===r.id||o((e=>Wt(e,i.indexOf(n.id),i.indexOf(r.id))))},children:r}):T.jsx(T.Fragment,{children:r})}function Fl({enabled:e,className:t,children:n}){return e?T.jsx("div",{className:t,children:n}):T.jsx(T.Fragment,{children:n})}const Ol=e=>{const t=n((()=>({...e,rowHeight:e.rowHeight||48})),[e]),{className:r,tableClassName:l,height:s,noRowsOverlay:u,data:c,enableDnd:d,setData:g,loading:p}=t;il(t);const{table:f}=Co(t),h=c.length>0,m=h&&!!p,b=!h&&!p,v=mn(),w=!!t.stickyFooter&&!v,y=!w,{tableScrollRef:x,tableXRef:C,hScrollRef:S,hScrollContentRef:R}=function(e){const t=i(null),n=i(null),r=i(null),l=i(null);return o((()=>{if(!e)return;const o=t.current,i=n.current,a=r.current,s=l.current;if(!(o&&i&&a&&s))return;let u=!1;const c=()=>{s.style.width=`${i.scrollWidth}px`},d=()=>{u||(u=!0,a.scrollLeft=i.scrollLeft,u=!1)},g=()=>{u||(u=!0,i.scrollLeft=a.scrollLeft,u=!1)};c(),d(),i.addEventListener("scroll",d,{passive:!0}),a.addEventListener("scroll",g,{passive:!0});const p=new ResizeObserver(c);return p.observe(i),()=>{i.removeEventListener("scroll",d),a.removeEventListener("scroll",g),p.disconnect()}}),[e]),{tableScrollRef:t,tableXRef:n,hScrollRef:r,hScrollContentRef:l}}(y),{ref:E,heightPx:_}=function(){const e=i(null),[t,n]=a(0);return o((()=>{const t=e.current;if(!t)return;let o=0;const r=()=>{const e=Math.round(t.getBoundingClientRect().height);n((t=>t===e?t:e))},i=()=>{cancelAnimationFrame(o),o=requestAnimationFrame(r)};i();const l=new ResizeObserver(i);return l.observe(t),()=>{cancelAnimationFrame(o),l.disconnect()}}),[]),{ref:e,heightPx:t}}(),I=t.rowHeight??48,D=f.getRowModel().rows.length,M=n((()=>I<=0?0:Math.floor(_/I)),[_,I]),F=!w&&D>0&&D<=M,O=dn(w?ll["table-wrapper"]:F||!w&&b?ll["table-wrapper--proxy-bottom"]:ll["table-wrapper--proxy"],m&&ll["table-wrapper-fetching"],r),P=T.jsxs("table",{className:ll["styled-table"],children:[T.jsx(gl,{table:f,styledTableProps:t,tableCanResize:!!t.enableColumnResizing,tableWidth:null}),T.jsx(yl,{fetching:!!m}),T.jsx(vl,{table:f,styledTableProps:t})]});return T.jsx(pn,{children:T.jsx(Ml,{enabled:!!d,data:c,setData:g,children:T.jsxs("div",{ref:E,className:dn(ll["asma-ui-table-styled-table"],l),style:{height:s},children:[T.jsx(Fl,{enabled:w,className:ll["table-shell"],children:T.jsxs("div",{className:O,children:[w?P:T.jsxs("div",{ref:x,className:dn(ll["table-scroll"]),children:[T.jsx("div",{ref:C,className:dn(ll["table-x"],!F&&ll["table-x--fill-height"]),children:P}),T.jsx("div",{ref:S,className:ll["table-hscroll"],children:T.jsx("div",{ref:R,className:ll["table-hscroll__content"]})}),T.jsx("div",{className:dn(ll["table-bottom"],F&&ll["table-bottom--sticky"]),children:T.jsx(Dl,{table:f,styledTableProps:t,canShowStickyFooter:!1})})]}),b&&T.jsx("div",{className:ll["no-rows-overlay-container"],children:u})]})}),w&&T.jsx(Dl,{table:f,styledTableProps:t,canShowStickyFooter:!0})]})})})};export{I as ACTIONS_COLUMN_ID,D as DND_HANDLE_COLUMN_ID,_ as EXPAND_COLUMN_ID,F as INTERNAL_COLUMN_IDS,ol as RowDragHandleCell,E as SELECT_COLUMN_ID,M as SHOW_FULL_TEXT_ID,Ol as StyledTable,bn as createColumnHelper,R as isCustomAction};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";._asma-core-ui-button_gteum_1{border-color:transparent;border-width:1px;border-style:solid}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-contained-common-text-color)!important;background-color:var(--colors-button-contained-common-bg-color)!important;border-color:var(--colors-button-contained-common-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:active{color:var(--colors-button-contained-common-active-text-color)!important;background-color:var(--colors-button-contained-common-active-bg-color)!important;border-color:var(--colors-button-contained-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:hover{color:var(--colors-button-contained-common-hover-text-color)!important;background-color:var(--colors-button-contained-common-hover-bg-color)!important;border-color:var(--colors-button-contained-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-contained-common-focused-text-color)!important;background-color:var(--colors-button-contained-common-focused-bg-color)!important;outline:2px solid var(--colors-button-contained-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-contained-common-disabled-text-color)!important;background-color:var(--colors-button-contained-common-disabled-bg-color)!important;border-color:var(--colors-button-contained-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-contained-error-text-color)!important;background-color:var(--colors-button-contained-error-bg-color)!important;border-color:var(--colors-button-contained-error-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:active{color:var(--colors-button-contained-error-active-text-color)!important;background-color:var(--colors-button-contained-error-active-bg-color)!important;border-color:var(--colors-button-contained-error-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:hover{color:var(--colors-button-contained-error-hover-text-color)!important;background-color:var(--colors-button-contained-error-hover-bg-color)!important;border-color:var(--colors-button-contained-error-hover-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:focus{outline-offset:-2px!important;color:var(--colors-button-contained-error-focused-text-color)!important;background-color:var(--colors-button-contained-error-focused-bg-color)!important;outline:2px solid var(--colors-button-contained-error-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:disabled{cursor:not-allowed;color:var(--colors-button-contained-error-disabled-text-color)!important;background-color:var(--colors-button-contained-error-disabled-bg-color)!important;border-color:var(--colors-button-contained-error-disabled-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-outlined-common-text-color)!important;background-color:var(--colors-button-outlined-common-bg-color)!important;border-color:var(--colors-button-outlined-common-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:active{color:var(--colors-button-outlined-common-active-text-color)!important;background-color:var(--colors-button-outlined-common-active-bg-color)!important;border-color:var(--colors-button-outlined-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:hover{color:var(--colors-button-outlined-common-hover-text-color)!important;background-color:var(--colors-button-outlined-common-hover-bg-color)!important;border-color:var(--colors-button-outlined-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-outlined-common-focused-text-color)!important;background-color:var(--colors-button-outlined-common-focused-bg-color)!important;outline:2px solid var(--colors-button-outlined-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-outlined-common-disabled-text-color)!important;background-color:var(--colors-button-outlined-common-disabled-bg-color)!important;border-color:var(--colors-button-outlined-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-outlined-error-text-color)!important;background-color:var(--colors-button-outlined-error-bg-color)!important;border-color:var(--colors-button-outlined-error-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:active{color:var(--colors-button-outlined-error-active-text-color)!important;background-color:var(--colors-button-outlined-error-active-bg-color)!important;border-color:var(--colors-button-outlined-error-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:hover{color:var(--colors-button-outlined-error-hover-text-color)!important;background-color:var(--colors-button-outlined-error-hover-bg-color)!important;border-color:var(--colors-button-outlined-error-hover-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:focus{outline-offset:-2px!important;color:var(--colors-button-outlined-error-focused-text-color)!important;background-color:var(--colors-button-outlined-error-focused-bg-color)!important;outline:2px solid var(--colors-button-outlined-error-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:disabled{cursor:not-allowed;color:var(--colors-button-outlined-error-disabled-text-color)!important;background-color:var(--colors-button-outlined-error-disabled-bg-color)!important;border-color:var(--colors-button-outlined-error-disabled-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-text-common-text-color)!important;background-color:var(--colors-button-text-common-bg-color)!important;border-color:var(--colors-button-text-common-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:active{color:var(--colors-button-text-common-active-text-color)!important;background-color:var(--colors-button-text-common-active-bg-color)!important;border-color:var(--colors-button-text-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:hover{color:var(--colors-button-text-common-hover-text-color)!important;background-color:var(--colors-button-text-common-hover-bg-color)!important;border-color:var(--colors-button-text-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-text-common-focused-text-color)!important;background-color:var(--colors-button-text-common-focused-bg-color)!important;outline:2px solid var(--colors-button-text-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-text-common-disabled-text-color)!important;background-color:var(--colors-button-text-common-disabled-bg-color)!important;border-color:var(--colors-button-text-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-text-error-text-color)!important;background-color:var(--colors-button-text-error-bg-color)!important;border-color:var(--colors-button-text-error-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:active{color:var(--colors-button-text-error-active-text-color)!important;background-color:var(--colors-button-text-error-active-bg-color)!important;border-color:var(--colors-button-text-error-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:hover{color:var(--colors-button-text-error-hover-text-color)!important;background-color:var(--colors-button-text-error-hover-bg-color)!important;border-color:var(--colors-button-text-error-hover-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:focus{outline-offset:-2px!important;color:var(--colors-button-text-error-focused-text-color)!important;background-color:var(--colors-button-text-error-focused-bg-color)!important;outline:2px solid var(--colors-button-text-error-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:disabled{cursor:not-allowed;color:var(--colors-button-text-error-disabled-text-color)!important;background-color:var(--colors-button-text-error-disabled-bg-color)!important;border-color:var(--colors-button-text-error-disabled-border-color)!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-textGray-common-text-color)!important;background-color:var(--colors-button-textGray-common-bg-color)!important;border-color:var(--colors-button-textGray-common-border-color)!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:active{color:var(--colors-button-textGray-common-active-text-color)!important;background-color:var(--colors-button-textGray-common-active-bg-color)!important;border-color:var(--colors-button-textGray-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:hover{color:var(--colors-button-textGray-common-hover-text-color)!important;background-color:var(--colors-button-textGray-common-hover-bg-color)!important;border-color:var(--colors-button-textGray-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-textGray-common-focused-text-color)!important;background-color:var(--colors-button-textGray-common-focused-bg-color)!important;outline:2px solid var(--colors-button-textGray-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-textGray-common-disabled-text-color)!important;background-color:var(--colors-button-textGray-common-disabled-bg-color)!important;border-color:var(--colors-button-textGray-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-textWhite-common-text-color)!important;background-color:var(--colors-button-textWhite-common-bg-color)!important;border-color:var(--colors-button-textWhite-common-border-color)!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:active{color:var(--colors-button-textWhite-common-active-text-color)!important;background-color:var(--colors-button-textWhite-common-active-bg-color)!important;border-color:var(--colors-button-textWhite-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:hover{color:var(--colors-button-textWhite-common-hover-text-color)!important;background-color:var(--colors-button-textWhite-common-hover-bg-color)!important;border-color:var(--colors-button-textWhite-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-textWhite-common-focused-text-color)!important;background-color:var(--colors-button-textWhite-common-focused-bg-color)!important;outline:2px solid var(--colors-button-textWhite-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-textWhite-common-disabled-text-color)!important;background-color:var(--colors-button-textWhite-common-disabled-bg-color)!important;border-color:var(--colors-button-textWhite-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._medium_gteum_69{height:38px;padding-left:4px;padding-right:4px}._asma-core-ui-button_gteum_1._small_gteum_74{height:32px;padding-left:4px;padding-right:4px}._asma-core-ui-button_gteum_1._large_gteum_79{height:40px;padding-left:8px;padding-right:8px}._actions-header_1bxzk_1{width:40px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}._pin-indicator_1bxzk_11{position:absolute;height:8px;width:8px;background-color:var(--colors-gama-400);border-radius:50%;top:2px;right:6px}._pin-icon_1bxzk_21{color:var(--colors-delta-500);min-width:20px;min-height:20px}._pin-icon_1bxzk_21:hover{color:var(--colors-delta-500)}._asma-ui-table-styled-table_18w5d_2{isolation:isolate;width:100%;display:flex;flex-direction:column}._asma-ui-table-styled-table_18w5d_2 *,._asma-ui-table-styled-table_18w5d_2 *:after,._asma-ui-table-styled-table_18w5d_2 *:before{box-sizing:border-box;-webkit-box-sizing:border-box}._asma-ui-table-styled-table_18w5d_2 :root{--table-hscroll-h: 12px}._asma-ui-table-styled-table_18w5d_2 ._table-wrapper_18w5d_17{height:100%;overflow:auto;width:100%;flex-grow:1;min-height:100px}._asma-ui-table-styled-table_18w5d_2 ._table-shell_18w5d_24{position:relative;flex:1 1 auto;min-height:0;overflow:hidden}._asma-ui-table-styled-table_18w5d_2 ._table-wrapper--proxy_18w5d_30,._asma-ui-table-styled-table_18w5d_2 ._table-wrapper--proxy-bottom_18w5d_31{position:relative;width:100%;flex-grow:1;overflow:hidden;min-height:0;display:flex;flex-direction:column}._asma-ui-table-styled-table_18w5d_2 ._table-wrapper-fetching_18w5d_40{overflow:hidden}._asma-ui-table-styled-table_18w5d_2 ._table-scroll_18w5d_43{overflow-x:auto;overflow-y:auto;flex:1 1 auto;min-height:0;position:relative;display:flex;flex-direction:column}._asma-ui-table-styled-table_18w5d_2 ._table-x--fill-height_18w5d_52{min-height:calc(100% - 12px)}._asma-ui-table-styled-table_18w5d_2 ._table-x_18w5d_52{width:inherit;min-width:100%;overflow-x:visible;overflow-y:visible;flex-shrink:0;scrollbar-width:none;-ms-overflow-style:none}._asma-ui-table-styled-table_18w5d_2 ._table-x_18w5d_52::-webkit-scrollbar{display:none}._asma-ui-table-styled-table_18w5d_2 ._table-header--sticky_18w5d_67{position:sticky;top:0;background-color:var(--colors-gray-10)}._asma-ui-table-styled-table_18w5d_2 ._table-hscroll_18w5d_72{position:sticky;bottom:0;height:var(--table-hscroll-h);overflow-x:auto;overflow-y:hidden;background:white;z-index:2;flex-shrink:0}._asma-ui-table-styled-table_18w5d_2 ._table-hscroll__content_18w5d_82{height:1px}._asma-ui-table-styled-table_18w5d_2 ._no-rows-overlay-container_18w5d_85{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:5;top:30px}._asma-ui-table-styled-table_18w5d_2 ._styled-table_18w5d_94{display:table;margin:0;border-collapse:separate;border-spacing:0 .5px;max-width:inherit;width:100%;table-layout:fixed}._asma-ui-table-styled-table_18w5d_2 ._styled-table_18w5d_94 ._tbody_18w5d_103{display:table-row-group;vertical-align:middle;max-width:inherit}._asma-ui-table-styled-table_18w5d_2 ._loading-icon_18w5d_108{position:absolute;top:50%;left:50%;z-index:10;color:var(--colors-gama-500)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115+._t-row_18w5d_115 ._t-cell_18w5d_115{border-top:.5px solid var(--colors-delta-200)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115{margin-top:1px;display:table-row}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:hover,._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:hover ._action-cell_18w5d_125,._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:hover ._fixed-cell_18w5d_128{background-color:var(--colors-gray-50)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:focus{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:focus ._action-cell_18w5d_125{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:focus ._fixed-cell_18w5d_128{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115:focus-visible{outline:none}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115{overflow:hidden;vertical-align:top;font-size:14px;line-height:20px;color:var(--colors-gray-700);display:table-cell;white-space:pre-wrap;padding:0 5px}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115:not(._expanded_row_18w5d_156){vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115:not(._expanded_row_18w5d_156) div{vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115:first-child{border-left:.5px solid transparent}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115:last-child{border-right:.5px solid transparent}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115._selected_18w5d_174{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115._single-selection_18w5d_177{background-color:var(--colors-gama-25);box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115._single-selection_18w5d_177:last-child{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400),inset -2px 0 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._t-cell_18w5d_115._single-selection_18w5d_177:first-child{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400),inset 2px 0 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._action-cell_18w5d_125{height:100%;position:sticky;right:-1px;z-index:1}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._action-cell_18w5d_125._shadowed_18w5d_193{box-shadow:-15px 0 15px #0000001a}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._action-cell_18w5d_125._shadowed_18w5d_193._single-selection_18w5d_177{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._action-cell_18w5d_125._shadowed_18w5d_193._single-selection_18w5d_177:last-child{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400),inset -2px 0 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._fixed-cell_18w5d_128{height:100%;position:sticky;left:0;z-index:1}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._fixed-cell_18w5d_128._shadowed_18w5d_193{box-shadow:15px 0 15px #0000001a}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115 ._fixed-cell_18w5d_128._shadowed_18w5d_193._single-selection_18w5d_177{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_18w5d_2 ._t-row_18w5d_115._is-loading_18w5d_214{opacity:.5}._asma-ui-table-styled-table_18w5d_2 ._action-cell-default-background_18w5d_217,._asma-ui-table-styled-table_18w5d_2 ._fixed-cell-default-background_18w5d_220{background-color:#fff}._asma-ui-table-styled-table_18w5d_2 ._sortable-column_18w5d_223{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}._asma-ui-table-styled-table_18w5d_2 ._resizer_18w5d_227{position:absolute;top:0;height:100%;right:0;width:4px;background:var(--colors-delta-300);cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;border-radius:5px}._asma-ui-table-styled-table_18w5d_2 ._resizer_18w5d_227._isResizing_18w5d_239{background:var(--colors-gama-500);opacity:1}@media (hover: hover){._asma-ui-table-styled-table_18w5d_2 ._resizer_18w5d_227{opacity:0}._asma-ui-table-styled-table_18w5d_2 *:hover>._resizer_18w5d_227{opacity:1}}._asma-ui-table-styled-table_18w5d_2 ._hide-table-header_18w5d_251{height:0px;opacity:0}._asma-ui-table-styled-table_18w5d_2 ._show-table-header_18w5d_255{position:relative;height:32px;opacity:1}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67{display:table-header-group;z-index:60;background-color:var(--colors-gray-10);cursor:default}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67 ._t-cell_18w5d_115{text-transform:uppercase;font-size:10px;font-weight:600;text-align:start;color:var(--colors-delta-500);display:table-cell;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px;border-top:.5px solid var(--colors-delta-200);border-bottom:.5px solid var(--colors-delta-200)}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67 ._t-cell_18w5d_115._hide-header_18w5d_280{border:none}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67 ._t-cell_18w5d_115._t-cell__actions_18w5d_283{height:100%;position:sticky;right:-1px;z-index:1;background-color:var(--colors-gray-10)}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67 ._t-cell_18w5d_115._t-cell__actions_18w5d_283._shadowed_18w5d_193{box-shadow:-15px 0 15px #0000001a}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67 ._t-cell_18w5d_115._t-cell__fixed_18w5d_293{position:sticky;left:0;background-color:var(--colors-gray-10);z-index:160;box-shadow:15px 0 15px #0000001a}._asma-ui-table-styled-table_18w5d_2 ._table-header_18w5d_67 ._sort-icon_18w5d_300{color:var(--colors-delta-800)}._asma-ui-table-styled-table_18w5d_2 ._table-footer--sticky_18w5d_303{display:flex;width:100%;gap:8px;background-color:transparent;flex-direction:row;padding-top:16px;align-items:center;justify-content:flex-end;flex-shrink:0}._asma-ui-table-styled-table_18w5d_2 ._table-footer--inline_18w5d_314{position:sticky;left:0;width:100%;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0;background:white}._asma-ui-table-styled-table_18w5d_2 ._table-bottom_18w5d_325{margin-top:auto;background:white;width:100%;position:sticky;left:0;bottom:var(--table-hscroll-h);z-index:1}._asma-ui-table-styled-table_18w5d_2 ._table-wrapper--proxy_18w5d_30 ._table-bottom_18w5d_325,._asma-ui-table-styled-table_18w5d_2 ._table-wrapper--proxy-bottom_18w5d_31 ._table-bottom_18w5d_325{bottom:var(--table-hscroll-h)}._asma-ui-table-styled-table_18w5d_2 ._table-bottom--sticky_18w5d_338{bottom:0}._skeleton-row_5gbhw_1{padding-bottom:.5rem;padding-top:0}._skeleton-row_5gbhw_1:first-child{padding-top:.5rem}._skeleton-row_5gbhw_1:last-child{padding-bottom:0}._table-pagination_pu6mb_1{display:flex;width:-moz-fit-content;width:fit-content;gap:8px;background-color:transparent;flex-direction:row;align-items:center;justify-content:flex-end}._table-pagination__pages-list_pu6mb_11{overflow:auto;width:160px;max-height:200px}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16{height:36px;position:relative;display:flex;align-items:center;padding-left:40px;cursor:pointer}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16:hover{background-color:var(--colors-delta-30)}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16._page-selected_pu6mb_27{background-color:var(--colors-gama-50)}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16 ._check-icon_pu6mb_30{position:absolute;left:8px;top:4px;color:var(--colors-gama-500)}
|
|
1
|
+
._asma-core-ui-button_gteum_1{border-color:transparent;border-width:1px;border-style:solid}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-contained-common-text-color)!important;background-color:var(--colors-button-contained-common-bg-color)!important;border-color:var(--colors-button-contained-common-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:active{color:var(--colors-button-contained-common-active-text-color)!important;background-color:var(--colors-button-contained-common-active-bg-color)!important;border-color:var(--colors-button-contained-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:hover{color:var(--colors-button-contained-common-hover-text-color)!important;background-color:var(--colors-button-contained-common-hover-bg-color)!important;border-color:var(--colors-button-contained-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-contained-common-focused-text-color)!important;background-color:var(--colors-button-contained-common-focused-bg-color)!important;outline:2px solid var(--colors-button-contained-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._contained_gteum_27._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-contained-common-disabled-text-color)!important;background-color:var(--colors-button-contained-common-disabled-bg-color)!important;border-color:var(--colors-button-contained-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-contained-error-text-color)!important;background-color:var(--colors-button-contained-error-bg-color)!important;border-color:var(--colors-button-contained-error-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:active{color:var(--colors-button-contained-error-active-text-color)!important;background-color:var(--colors-button-contained-error-active-bg-color)!important;border-color:var(--colors-button-contained-error-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:hover{color:var(--colors-button-contained-error-hover-text-color)!important;background-color:var(--colors-button-contained-error-hover-bg-color)!important;border-color:var(--colors-button-contained-error-hover-border-color)!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:focus{outline-offset:-2px!important;color:var(--colors-button-contained-error-focused-text-color)!important;background-color:var(--colors-button-contained-error-focused-bg-color)!important;outline:2px solid var(--colors-button-contained-error-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._contained_gteum_27._error_gteum_84:disabled{cursor:not-allowed;color:var(--colors-button-contained-error-disabled-text-color)!important;background-color:var(--colors-button-contained-error-disabled-bg-color)!important;border-color:var(--colors-button-contained-error-disabled-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-outlined-common-text-color)!important;background-color:var(--colors-button-outlined-common-bg-color)!important;border-color:var(--colors-button-outlined-common-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:active{color:var(--colors-button-outlined-common-active-text-color)!important;background-color:var(--colors-button-outlined-common-active-bg-color)!important;border-color:var(--colors-button-outlined-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:hover{color:var(--colors-button-outlined-common-hover-text-color)!important;background-color:var(--colors-button-outlined-common-hover-bg-color)!important;border-color:var(--colors-button-outlined-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-outlined-common-focused-text-color)!important;background-color:var(--colors-button-outlined-common-focused-bg-color)!important;outline:2px solid var(--colors-button-outlined-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._outlined_gteum_141._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-outlined-common-disabled-text-color)!important;background-color:var(--colors-button-outlined-common-disabled-bg-color)!important;border-color:var(--colors-button-outlined-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-outlined-error-text-color)!important;background-color:var(--colors-button-outlined-error-bg-color)!important;border-color:var(--colors-button-outlined-error-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:active{color:var(--colors-button-outlined-error-active-text-color)!important;background-color:var(--colors-button-outlined-error-active-bg-color)!important;border-color:var(--colors-button-outlined-error-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:hover{color:var(--colors-button-outlined-error-hover-text-color)!important;background-color:var(--colors-button-outlined-error-hover-bg-color)!important;border-color:var(--colors-button-outlined-error-hover-border-color)!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:focus{outline-offset:-2px!important;color:var(--colors-button-outlined-error-focused-text-color)!important;background-color:var(--colors-button-outlined-error-focused-bg-color)!important;outline:2px solid var(--colors-button-outlined-error-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._outlined_gteum_141._error_gteum_84:disabled{cursor:not-allowed;color:var(--colors-button-outlined-error-disabled-text-color)!important;background-color:var(--colors-button-outlined-error-disabled-bg-color)!important;border-color:var(--colors-button-outlined-error-disabled-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-text-common-text-color)!important;background-color:var(--colors-button-text-common-bg-color)!important;border-color:var(--colors-button-text-common-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:active{color:var(--colors-button-text-common-active-text-color)!important;background-color:var(--colors-button-text-common-active-bg-color)!important;border-color:var(--colors-button-text-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:hover{color:var(--colors-button-text-common-hover-text-color)!important;background-color:var(--colors-button-text-common-hover-bg-color)!important;border-color:var(--colors-button-text-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-text-common-focused-text-color)!important;background-color:var(--colors-button-text-common-focused-bg-color)!important;outline:2px solid var(--colors-button-text-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._text_gteum_255._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-text-common-disabled-text-color)!important;background-color:var(--colors-button-text-common-disabled-bg-color)!important;border-color:var(--colors-button-text-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-text-error-text-color)!important;background-color:var(--colors-button-text-error-bg-color)!important;border-color:var(--colors-button-text-error-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:active{color:var(--colors-button-text-error-active-text-color)!important;background-color:var(--colors-button-text-error-active-bg-color)!important;border-color:var(--colors-button-text-error-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:hover{color:var(--colors-button-text-error-hover-text-color)!important;background-color:var(--colors-button-text-error-hover-bg-color)!important;border-color:var(--colors-button-text-error-hover-border-color)!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:focus{outline-offset:-2px!important;color:var(--colors-button-text-error-focused-text-color)!important;background-color:var(--colors-button-text-error-focused-bg-color)!important;outline:2px solid var(--colors-button-text-error-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._text_gteum_255._error_gteum_84:disabled{cursor:not-allowed;color:var(--colors-button-text-error-disabled-text-color)!important;background-color:var(--colors-button-text-error-disabled-bg-color)!important;border-color:var(--colors-button-text-error-disabled-border-color)!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-textGray-common-text-color)!important;background-color:var(--colors-button-textGray-common-bg-color)!important;border-color:var(--colors-button-textGray-common-border-color)!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:active{color:var(--colors-button-textGray-common-active-text-color)!important;background-color:var(--colors-button-textGray-common-active-bg-color)!important;border-color:var(--colors-button-textGray-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:hover{color:var(--colors-button-textGray-common-hover-text-color)!important;background-color:var(--colors-button-textGray-common-hover-bg-color)!important;border-color:var(--colors-button-textGray-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-textGray-common-focused-text-color)!important;background-color:var(--colors-button-textGray-common-focused-bg-color)!important;outline:2px solid var(--colors-button-textGray-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._textGray_gteum_369._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-textGray-common-disabled-text-color)!important;background-color:var(--colors-button-textGray-common-disabled-bg-color)!important;border-color:var(--colors-button-textGray-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27{cursor:pointer;border-radius:4px;border-width:1px;border-style:solid;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;transition:all .3s ease-in-out;color:var(--colors-button-textWhite-common-text-color)!important;background-color:var(--colors-button-textWhite-common-bg-color)!important;border-color:var(--colors-button-textWhite-common-border-color)!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:active{color:var(--colors-button-textWhite-common-active-text-color)!important;background-color:var(--colors-button-textWhite-common-active-bg-color)!important;border-color:var(--colors-button-textWhite-common-active-border-color)!important;outline:none!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:hover{color:var(--colors-button-textWhite-common-hover-text-color)!important;background-color:var(--colors-button-textWhite-common-hover-bg-color)!important;border-color:var(--colors-button-textWhite-common-hover-border-color)!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:focus{outline-offset:-2px!important;color:var(--colors-button-textWhite-common-focused-text-color)!important;background-color:var(--colors-button-textWhite-common-focused-bg-color)!important;outline:2px solid var(--colors-button-textWhite-common-focused-border-color)!important;transition:none!important}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:focus._asma-core-ui-button_gteum_1._contained_gteum_27{box-shadow:inset 0 0 0 2px #fff}._asma-core-ui-button_gteum_1._textWhite_gteum_426._common_gteum_27:disabled{cursor:not-allowed;color:var(--colors-button-textWhite-common-disabled-text-color)!important;background-color:var(--colors-button-textWhite-common-disabled-bg-color)!important;border-color:var(--colors-button-textWhite-common-disabled-border-color)!important}._asma-core-ui-button_gteum_1._medium_gteum_69{height:38px;padding-left:4px;padding-right:4px}._asma-core-ui-button_gteum_1._small_gteum_74{height:32px;padding-left:4px;padding-right:4px}._asma-core-ui-button_gteum_1._large_gteum_79{height:40px;padding-left:8px;padding-right:8px}._actions-header_1bxzk_1{width:40px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}._pin-indicator_1bxzk_11{position:absolute;height:8px;width:8px;background-color:var(--colors-gama-400);border-radius:50%;top:2px;right:6px}._pin-icon_1bxzk_21{color:var(--colors-delta-500);min-width:20px;min-height:20px}._pin-icon_1bxzk_21:hover{color:var(--colors-delta-500)}._asma-ui-table-styled-table_1d9l1_1{isolation:isolate;width:100%;display:flex;flex-direction:column}._asma-ui-table-styled-table_1d9l1_1 *,._asma-ui-table-styled-table_1d9l1_1 *:after,._asma-ui-table-styled-table_1d9l1_1 *:before{box-sizing:border-box;-webkit-box-sizing:border-box}._asma-ui-table-styled-table_1d9l1_1 :root{--table-hscroll-h: 12px}._asma-ui-table-styled-table_1d9l1_1 ._table-wrapper_1d9l1_16{height:100%;overflow:auto;width:100%;flex-grow:1;min-height:130px}._asma-ui-table-styled-table_1d9l1_1 ._table-shell_1d9l1_23{position:relative;flex:1 1 auto;min-height:0;overflow:hidden}._asma-ui-table-styled-table_1d9l1_1 ._table-wrapper--proxy_1d9l1_29,._asma-ui-table-styled-table_1d9l1_1 ._table-wrapper--proxy-bottom_1d9l1_30{position:relative;width:100%;flex-grow:1;overflow:hidden;min-height:0;display:flex;flex-direction:column;min-height:130px}._asma-ui-table-styled-table_1d9l1_1 ._table-wrapper-fetching_1d9l1_40{overflow:hidden}._asma-ui-table-styled-table_1d9l1_1 ._table-scroll_1d9l1_43{overflow-x:auto;overflow-y:auto;flex:1 1 auto;min-height:0;position:relative;display:flex;flex-direction:column}._asma-ui-table-styled-table_1d9l1_1 ._table-x--fill-height_1d9l1_52{min-height:calc(100% - 12px)}._asma-ui-table-styled-table_1d9l1_1 ._table-x_1d9l1_52{width:inherit;min-width:100%;overflow-x:visible;overflow-y:visible;flex-shrink:0;scrollbar-width:none;-ms-overflow-style:none}._asma-ui-table-styled-table_1d9l1_1 ._table-x_1d9l1_52::-webkit-scrollbar{display:none}._asma-ui-table-styled-table_1d9l1_1 ._table-header--sticky_1d9l1_67{position:sticky;top:0;background-color:var(--colors-gray-10)}._asma-ui-table-styled-table_1d9l1_1 ._table-hscroll_1d9l1_72{position:sticky;bottom:0;height:var(--table-hscroll-h);overflow-x:hidden;overflow-y:hidden;background:white;z-index:2;flex-shrink:0}._asma-ui-table-styled-table_1d9l1_1 ._table-hscroll__content_1d9l1_82{height:1px}._asma-ui-table-styled-table_1d9l1_1 ._no-rows-overlay-container_1d9l1_85{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:5;top:32px}._asma-ui-table-styled-table_1d9l1_1 ._styled-table_1d9l1_94{display:table;margin:0;border-collapse:separate;border-spacing:0 .5px;max-width:inherit;width:100%;table-layout:fixed}._asma-ui-table-styled-table_1d9l1_1 ._styled-table_1d9l1_94 ._tbody_1d9l1_103{display:table-row-group;vertical-align:middle;max-width:inherit}._asma-ui-table-styled-table_1d9l1_1 ._loading-icon_1d9l1_108{position:absolute;top:50%;left:50%;z-index:10;color:var(--colors-gama-500)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115+._t-row_1d9l1_115 ._t-cell_1d9l1_115{border-top:.5px solid var(--colors-delta-200)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115{margin-top:1px;display:table-row}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:hover,._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:hover ._action-cell_1d9l1_125,._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:hover ._fixed-cell_1d9l1_128{background-color:var(--colors-gray-50)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:focus{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:focus ._action-cell_1d9l1_125{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:focus ._fixed-cell_1d9l1_128{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115:focus-visible{outline:none}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115{overflow:hidden;vertical-align:top;font-size:14px;line-height:20px;color:var(--colors-gray-700);display:table-cell;white-space:pre-wrap;padding:0 5px}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115:not(._expanded_row_1d9l1_156){vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115:not(._expanded_row_1d9l1_156) div{vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115:first-child{border-left:.5px solid transparent}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115:last-child{border-right:.5px solid transparent}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115._selected_1d9l1_174{background-color:var(--colors-gama-25)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115._single-selection_1d9l1_177{background-color:var(--colors-gama-25);box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115._single-selection_1d9l1_177:last-child{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400),inset -2px 0 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._t-cell_1d9l1_115._single-selection_1d9l1_177:first-child{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400),inset 2px 0 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._action-cell_1d9l1_125{height:100%;position:sticky;right:-1px;z-index:1}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._action-cell_1d9l1_125._shadowed_1d9l1_193{box-shadow:-15px 0 15px #0000001a}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._action-cell_1d9l1_125._shadowed_1d9l1_193._single-selection_1d9l1_177{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._action-cell_1d9l1_125._shadowed_1d9l1_193._single-selection_1d9l1_177:last-child{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400),inset -2px 0 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._fixed-cell_1d9l1_128{height:100%;position:sticky;left:0;z-index:1}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._fixed-cell_1d9l1_128._shadowed_1d9l1_193{box-shadow:15px 0 15px #0000001a}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115 ._fixed-cell_1d9l1_128._shadowed_1d9l1_193._single-selection_1d9l1_177{box-shadow:inset 0 2px 0 0 var(--colors-gama-400),inset 0 -2px 0 0 var(--colors-gama-400)}._asma-ui-table-styled-table_1d9l1_1 ._t-row_1d9l1_115._is-loading_1d9l1_214{opacity:.5}._asma-ui-table-styled-table_1d9l1_1 ._action-cell-default-background_1d9l1_217,._asma-ui-table-styled-table_1d9l1_1 ._fixed-cell-default-background_1d9l1_220{background-color:#fff}._asma-ui-table-styled-table_1d9l1_1 ._sortable-column_1d9l1_223{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}._asma-ui-table-styled-table_1d9l1_1 ._resizer_1d9l1_227{position:absolute;top:0;height:100%;right:0;width:4px;background:var(--colors-delta-300);cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;border-radius:5px}._asma-ui-table-styled-table_1d9l1_1 ._resizer_1d9l1_227._isResizing_1d9l1_239{background:var(--colors-gama-500);opacity:1}@media (hover: hover){._asma-ui-table-styled-table_1d9l1_1 ._resizer_1d9l1_227{opacity:0}._asma-ui-table-styled-table_1d9l1_1 *:hover>._resizer_1d9l1_227{opacity:1}}._asma-ui-table-styled-table_1d9l1_1 ._hide-table-header_1d9l1_251{height:0px;opacity:0}._asma-ui-table-styled-table_1d9l1_1 ._show-table-header_1d9l1_255{position:relative;height:32px;opacity:1}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67{display:table-header-group;z-index:60;background-color:var(--colors-gray-10);cursor:default}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67 ._t-cell_1d9l1_115{text-transform:uppercase;font-size:10px;font-weight:600;text-align:start;color:var(--colors-delta-500);display:table-cell;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px;border-top:.5px solid var(--colors-delta-200);border-bottom:.5px solid var(--colors-delta-200)}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67 ._t-cell_1d9l1_115._hide-header_1d9l1_280{border:none}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67 ._t-cell_1d9l1_115._t-cell__actions_1d9l1_283{height:100%;position:sticky;right:-1px;z-index:1;background-color:var(--colors-gray-10)}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67 ._t-cell_1d9l1_115._t-cell__actions_1d9l1_283._shadowed_1d9l1_193{box-shadow:-15px 0 15px #0000001a}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67 ._t-cell_1d9l1_115._t-cell__fixed_1d9l1_293{position:sticky;left:0;background-color:var(--colors-gray-10);z-index:160;box-shadow:15px 0 15px #0000001a}._asma-ui-table-styled-table_1d9l1_1 ._table-header_1d9l1_67 ._sort-icon_1d9l1_300{color:var(--colors-delta-800)}._asma-ui-table-styled-table_1d9l1_1 ._table-footer--sticky_1d9l1_303{display:flex;width:100%;gap:8px;background-color:transparent;flex-direction:row;padding-top:16px;align-items:center;justify-content:flex-end;flex-shrink:0}._asma-ui-table-styled-table_1d9l1_1 ._table-footer--inline_1d9l1_314{position:sticky;left:0;width:100%;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0;background:white}._asma-ui-table-styled-table_1d9l1_1 ._table-bottom_1d9l1_325{margin-top:auto;background:white;width:100%;position:sticky;left:0;bottom:var(--table-hscroll-h);z-index:1}._asma-ui-table-styled-table_1d9l1_1 ._table-wrapper--proxy_1d9l1_29 ._table-bottom_1d9l1_325,._asma-ui-table-styled-table_1d9l1_1 ._table-wrapper--proxy-bottom_1d9l1_30 ._table-bottom_1d9l1_325{bottom:var(--table-hscroll-h)}._asma-ui-table-styled-table_1d9l1_1 ._table-bottom--sticky_1d9l1_338{bottom:0}._skeleton-row_5gbhw_1{padding-bottom:.5rem;padding-top:0}._skeleton-row_5gbhw_1:first-child{padding-top:.5rem}._skeleton-row_5gbhw_1:last-child{padding-bottom:0}._table-pagination_pu6mb_1{display:flex;width:-moz-fit-content;width:fit-content;gap:8px;background-color:transparent;flex-direction:row;align-items:center;justify-content:flex-end}._table-pagination__pages-list_pu6mb_11{overflow:auto;width:160px;max-height:200px}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16{height:36px;position:relative;display:flex;align-items:center;padding-left:40px;cursor:pointer}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16:hover{background-color:var(--colors-delta-30)}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16._page-selected_pu6mb_27{background-color:var(--colors-gama-50)}._table-pagination__pages-list_pu6mb_11 ._table-pagination__pages-list__page_pu6mb_16 ._check-icon_pu6mb_30{position:absolute;left:8px;top:4px;color:var(--colors-gama-500)}
|