@snokam/auth 1.0.2 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.3](https://github.com/snokam/components/compare/@snokam/auth@1.0.2...@snokam/auth@1.0.3) (2024-08-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * configg ([d04c85f](https://github.com/snokam/components/commit/d04c85f0865e51632cf08c63d2d1d77aebed73d2))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.0.2](https://github.com/snokam/components/compare/@snokam/auth@1.0.1...@snokam/auth@1.0.2) (2024-08-28)
7
18
 
8
19
 
package/lib/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const getConfig: () => {
1
+ export declare const config: {
2
2
  auth: {
3
3
  clientId: string;
4
4
  authority: string;
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.snokam=t():e.snokam=t()}(this,(()=>(()=>{var e={232:(e,t,r)=>{"use strict";var n=r(110);t.X4=function(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,c(e)},t.e$=u,t.eM=function(e,t){const r=l(e),n=l(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=p;var o=n(r(431)),i=n(r(234));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,o.default)(9,e));let n,i=e.substring(t+1,e.length-1);if("color"===r){if(i=i.split(" "),n=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,o.default)(10,n))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:r,values:i,colorSpace:n}}function c(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function l(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",u.push(t[3])),c({type:l,values:u})}(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 u(e,t){if(e=s(e),t=a(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 r=0;r<3;r+=1)e.values[r]*=1-t;return c(e)}function p(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return c(e)}},906:(e,t,r)=>{"use strict";var n=r(110);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:c=h}=e,u=e=>(0,l.default)((0,o.default)({},e,{theme:g((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,l={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:f,skipVariantsResolver:m,skipSx:x,overridesResolver:A=b(y(f))}=l,k=(0,i.default)(l,d),w=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,S=x||!1;let $=h;"Root"===f||"root"===f?$=n:f?$=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&($=void 0);const R=(0,a.default)(e,(0,o.default)({shouldForwardProp:$,label:void 0},k)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:g({theme:n.theme,defaultTheme:r,themeId:t})})):e,O=(n,...i)=>{let a=C(n);const s=i?i.map(C):[];p&&A&&s.push((e=>{const n=g((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;const i=n.components[p].styleOverrides,a={};return Object.entries(i).forEach((([t,r])=>{a[t]=v(r,(0,o.default)({},e,{theme:n}))})),A(e,a)})),p&&!w&&s.push((e=>{var n;const i=g((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.default)({},e,{theme:i}))})),S||s.push(u);const c=s.length-i.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const l=R(a,...s);return e.muiName&&(l.muiName=e.muiName),l};return R.withConfig&&(O.withConfig=R.withConfig),O}};var o=n(r(414)),i=n(r(817)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(850)),s=r(776),c=(n(r(792)),n(r(543)),n(r(579))),l=n(r(395));const u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,c.default)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function b(e){return e?(t,r)=>r[e]:null}function v(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,(0,o.default)({ownerState:r},n))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,p);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))})),t}return a}},477:(e,t,r)=>{"use strict";r.d(t,{EU:()=>a,NI:()=>i,vf:()=>s,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o}),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}},65:(e,t,r)=>{"use strict";function n(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},903:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(927),o=r(940);const i=["values","unit","step"],a=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)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,c=(0,n.A)(e,i),l=a(t),u=Object.keys(l);function p(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${r})`}function f(e,n){const o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-s/100}${r})`}return(0,o.A)({keys:u,values:l,up:p,down:d,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):p(e)},not:function(e){const t=u.indexOf(e);return 0===t?p(u[1]):t===u.length-1?d(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},c)}},525:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(940),o=r(927),i=r(558),a=r(903);const s={borderRadius:4};var c=r(723),l=r(310),u=r(271),p=r(65);const d=["breakpoints","palette","spacing","shape"],f=function(e={},...t){const{breakpoints:r={},palette:f={},spacing:h,shape:m={}}=e,y=(0,o.A)(e,d),g=(0,a.A)(r),b=function(e=8){if(e.mui)return e;const t=(0,c.LX)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(h);let v=(0,i.A)({breakpoints:g,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},f),spacing:b,shape:(0,n.A)({},s,m)},y);return v.applyStyles=p.A,v=t.reduce(((e,t)=>(0,i.A)(e,t)),v),v.unstable_sxConfig=(0,n.A)({},u.A,null==y?void 0:y.unstable_sxConfig),v.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},v}},579:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var n=r(525),o=r(903),i=r(65)},909:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(558);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},723:(e,t,r)=>{"use strict";r.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>g,Ms:()=>b});var n=r(477),o=r(740),i=r(909);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...p];function f(e,t,r,n){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function y(e,t){const r=h(e.theme);return Object.keys(e).map((o=>function(e,t,r,o){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=m(t,r),e)),{})}(l(r),o),a=e[r];return(0,n.NI)(e,a,i)}(e,t,o,r))).reduce(i.A,{})}function g(e){return y(e,u)}function b(e){return y(e,p)}function v(e){return y(e,d)}g.propTypes={},g.filterProps=u,b.propTypes={},b.filterProps=p,v.propTypes={},v.filterProps=d},740:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var n=r(680),o=r(477);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:c}=e,l=e=>{if(null==e[t])return null;const l=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,l,(e=>{let o=a(u,c,e);return e===o&&"string"==typeof e&&(o=a(u,c,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}}))};return l.propTypes={},l.filterProps=[t],l}},271:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(723),o=r(740),i=r(909);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};var s=r(477);function c(e){return"number"!=typeof e?e:`${e}px solid`}function l(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=l("border",c),p=l("borderTop",c),d=l("borderRight",c),f=l("borderBottom",c),h=l("borderLeft",c),m=l("borderColor"),y=l("borderTopColor"),g=l("borderRightColor"),b=l("borderBottomColor"),v=l("borderLeftColor"),x=l("outline",c),A=l("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};k.propTypes={},k.filterProps=["borderRadius"],a(u,p,d,f,h,m,y,g,b,v,k,x,A);const w=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};w.propTypes={},w.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};S.propTypes={},S.filterProps=["columnGap"];const $=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};function R(e,t){return"grey"===t?t:e}function C(e){return e<=1&&0!==e?100*e+"%":e}$.propTypes={},$.filterProps=["rowGap"],a(w,S,$,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:R}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:R}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:R}));const O=(0,o.Ay)({prop:"width",transform:C}),E=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:C(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};E.filterProps=["maxWidth"];const M=(0,o.Ay)({prop:"minWidth",transform:C}),T=(0,o.Ay)({prop:"height",transform:C}),j=(0,o.Ay)({prop:"maxHeight",transform:C}),I=(0,o.Ay)({prop:"minHeight",transform:C}),P=((0,o.Ay)({prop:"size",cssProperty:"width",transform:C}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:C}),a(O,E,M,T,j,I,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:c},borderTop:{themeKey:"borders",transform:c},borderRight:{themeKey:"borders",transform:c},borderBottom:{themeKey:"borders",transform:c},borderLeft:{themeKey:"borders",transform:c},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:c},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:R},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:R},backgroundColor:{themeKey:"palette",transform:R},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},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:w},rowGap:{style:$},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:C},maxWidth:{style:E},minWidth:{transform:C},height:{transform:C},maxHeight:{transform:C},minHeight:{transform:C},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},395:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>u,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>s.A});var n=r(310),o=r(940),i=r(927),a=r(558),s=r(271);const c=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:s.A;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function u(e){const{sx:t}=e,r=(0,i.A)(e,c),{systemProps:n,otherProps:s}=l(r);let u;return u=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,a.Q)(r)?(0,o.A)({},n,r):n}:(0,o.A)({},n,t),(0,o.A)({},s,{sx:u})}},310:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>c});var n=r(680),o=r(909),i=r(740),a=r(477),s=r(271);function c(){function e(e,t,r,o){const s={[e]:t,theme:r},c=o[e];if(!c)return{[e]:t};const{cssProperty:l=e,themeKey:u,transform:p,style:d}=c;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.Yn)(r,u)||{};return d?d(s):(0,a.NI)(s,t,(t=>{let r=(0,i.BO)(f,p,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(f,p,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===l?r:{[l]:r}}))}return function t(r){var n;const{sx:i,theme:c={}}=r||{};if(!i)return null;const l=null!=(n=c.unstable_sxConfig)?n:s.A;function u(r){let n=r;if("function"==typeof r)n=r(c);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,a.EU)(c.breakpoints),s=Object.keys(i);let u=i;return Object.keys(n).forEach((r=>{const i="function"==typeof(s=n[r])?s(c):s;var s;if(null!=i)if("object"==typeof i)if(l[r])u=(0,o.A)(u,e(r,i,c,l));else{const e=(0,a.NI)({theme:c},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[r]=t({sx:i,theme:c})}else u=(0,o.A)(u,e(r,i,c,l))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const l=c();l.filterProps=["sx"];const u=l},680:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(718);function o(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},792:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(680)},234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},558:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,Q:()=>o});var n=r(940);function o(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=i(e[r])})),t}function a(e,t,r={clone:!0}){const s=r.clone?(0,n.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((n=>{o(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&o(e[n])?s[n]=a(e[n],t[n],r):r.clone?s[n]=o(t[n])?i(t[n]):t[n]:s[n]=t[n]})),s}},776:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(558)},718:(e,t,r)=>{"use strict";function n(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."}r.d(t,{A:()=>n})},431:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(718)},543:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,getFunctionName:()=>i});var n=r(261);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function c(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return s(e,e.render,"ForwardRef");case n.Memo:return s(e,e.type,"memo");default:return}}}},850:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>le,StyledEngineProvider:()=>ce,ThemeContext:()=>i.ThemeContext,css:()=>i.css,default:()=>ue,internal_processStyles:()=>pe,keyframes:()=>i.keyframes});var n=r(349),o=r.n(n),i=r(537);r(15);var a=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),s=Math.abs,c=String.fromCharCode,l=Object.assign;function u(e){return e.trim()}function p(e,t,r){return e.replace(t,r)}function d(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function m(e){return e.length}function y(e){return e.length}function g(e,t){return t.push(e),e}var b=1,v=1,x=0,A=0,k=0,w="";function S(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:b,column:v,length:a,return:""}}function $(e,t){return l(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function R(){return k=A>0?f(w,--A):0,v--,10===k&&(v=1,b--),k}function C(){return k=A<x?f(w,A++):0,v++,10===k&&(v=1,b++),k}function O(){return f(w,A)}function E(){return A}function M(e,t){return h(w,e,t)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(e){return b=v=1,x=m(w=e),A=0,[]}function I(e){return w="",e}function P(e){return u(M(A-1,L(91===e?e+2:40===e?e+1:e)))}function _(e){for(;(k=O())&&k<33;)C();return T(e)>2||T(k)>3?"":" "}function z(e,t){for(;--t&&C()&&!(k<48||k>102||k>57&&k<65||k>70&&k<97););return M(e,E()+(t<6&&32==O()&&32==C()))}function L(e){for(;C();)switch(k){case e:return A;case 34:case 39:34!==e&&39!==e&&L(k);break;case 40:41===e&&L(e);break;case 92:C()}return A}function B(e,t){for(;C()&&e+k!==57&&(e+k!==84||47!==O()););return"/*"+M(t,A-1)+"*"+c(47===e?e:C())}function N(e){for(;!T(O());)C();return M(e,A)}var W="-ms-",F="-moz-",K="-webkit-",V="comm",D="rule",U="decl",X="@keyframes";function q(e,t){for(var r="",n=y(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function G(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case V:return"";case X:return e.return=e.value+"{"+q(e.children,n)+"}";case D:e.value=e.props.join(",")}return m(r=q(e.children,n))?e.return=e.value+"{"+r+"}":""}function H(e){return I(Y("",null,null,null,[""],e=j(e),0,[0],e))}function Y(e,t,r,n,o,i,a,s,l){for(var u=0,h=0,y=a,b=0,v=0,x=0,A=1,k=1,w=1,S=0,$="",M=o,T=i,j=n,I=$;k;)switch(x=S,S=C()){case 40:if(108!=x&&58==f(I,y-1)){-1!=d(I+=p(P(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:I+=P(S);break;case 9:case 10:case 13:case 32:I+=_(x);break;case 92:I+=z(E()-1,7);continue;case 47:switch(O()){case 42:case 47:g(Q(B(C(),E()),t,r),l);break;default:I+="/"}break;case 123*A:s[u++]=m(I)*w;case 125*A:case 59:case 0:switch(S){case 0:case 125:k=0;case 59+h:-1==w&&(I=p(I,/\f/g,"")),v>0&&m(I)-y&&g(v>32?J(I+";",n,r,y-1):J(p(I," ","")+";",n,r,y-2),l);break;case 59:I+=";";default:if(g(j=Z(I,t,r,u,h,o,s,$,M=[],T=[],y),i),123===S)if(0===h)Y(I,t,j,j,M,i,y,s,T);else switch(99===b&&110===f(I,3)?100:b){case 100:case 108:case 109:case 115:Y(e,j,j,n&&g(Z(e,j,j,0,0,o,s,$,o,M=[],y),T),o,T,y,s,n?M:T);break;default:Y(I,j,j,j,[""],T,0,s,T)}}u=h=v=0,A=w=1,$=I="",y=a;break;case 58:y=1+m(I),v=x;default:if(A<1)if(123==S)--A;else if(125==S&&0==A++&&125==R())continue;switch(I+=c(S),S*A){case 38:w=h>0?1:(I+="\f",-1);break;case 44:s[u++]=(m(I)-1)*w,w=1;break;case 64:45===O()&&(I+=P(C())),b=O(),h=y=m($=I+=N(E())),S++;break;case 45:45===x&&2==m(I)&&(A=0)}}return i}function Z(e,t,r,n,o,i,a,c,l,d,f){for(var m=o-1,g=0===o?i:[""],b=y(g),v=0,x=0,A=0;v<n;++v)for(var k=0,w=h(e,m+1,m=s(x=a[v])),$=e;k<b;++k)($=u(x>0?g[k]+" "+w:p(w,/&\f/g,g[k])))&&(l[A++]=$);return S(e,t,r,0===o?D:c,l,d,f)}function Q(e,t,r){return S(e,t,r,V,c(k),h(e,2,-2),0)}function J(e,t,r,n){return S(e,t,r,U,h(e,0,n),h(e,n+1,-1),n)}var ee=function(e,t,r){for(var n=0,o=0;n=o,o=O(),38===n&&12===o&&(t[r]=1),!T(o);)C();return M(e,A)},te=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(r))&&!n){te.set(e,!0);for(var o=[],i=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(T(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=ee(A-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=c(n)}}while(n=C());return e}(j(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function oe(e,t){switch(function(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+F+e+W+e+e;case 6828:case 4268:return K+e+W+e+e;case 6165:return K+e+W+"flex-"+e+e;case 5187:return K+e+p(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return K+e+W+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return K+e+W+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+W+p(e,"shrink","negative")+e;case 5292:return K+e+W+p(e,"basis","preferred-size")+e;case 6060:return K+"box-"+p(e,"-grow","")+K+e+W+p(e,"grow","positive")+e;case 4554:return K+p(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+F+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?oe(p(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,m(e)-3-(~d(e,"!important")&&10))){case 107:return p(e,":",":"+K)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===f(e,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+W+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return K+e+W+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+W+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+W+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+W+e+e}return e}var ie=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=oe(e.value,e.length);break;case X:return q([$(e,{value:p(e.value,"@","@"+K)})],n);case D:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return q([$(e,{props:[p(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([$(e,{props:[p(t,/:(plac\w+)/,":"+K+"input-$1")]}),$(e,{props:[p(t,/:(plac\w+)/,":-moz-$1")]}),$(e,{props:[p(t,/:(plac\w+)/,W+"input-$1")]})],n)}return""}))}}],ae=r(732);let se;function ce(e){const{injectFirst:t,children:r}=e;return t&&se?(0,ae.jsx)(i.CacheProvider,{value:se,children:r}):r}function le(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,ae.jsx)(i.Global,{styles:n})}function ue(e,t){return o()(e,t)}"object"==typeof document&&(se=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||ie,s={},c=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;c.push(e)}));var l,u,p,d,f=[G,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(u=[re,ne].concat(i,f),p=y(u),function(e,t,r,n){for(var o="",i=0;i<p;i++)o+=u[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,q(H(e?e+"{"+t.styles+"}":t.styles),h),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new a({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return m.sheet.hydrate(c),m}({key:"css",prepend:!0}));const pe=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},505:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context");var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=r,t.Memo=n},261:(e,t,r)=>{"use strict";e.exports=r(505)},537:e=>{"use strict";e.exports=require("@emotion/react")},349:e=>{"use strict";e.exports=require("@emotion/styled")},15:e=>{"use strict";e.exports=require("react")},732:e=>{"use strict";e.exports=require("react/jsx-runtime")},414:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},110:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},817:e=>{e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},940:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},927:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{default:()=>ft,useAuth:()=>it});var e=r(732);const t=require("@azure/msal-react"),o=require("@azure/msal-browser"),i=require("next/router");var a=r(15),s=r.n(a);const c={scopes:["openid"]},l=()=>{window.sessionStorage.setItem("redirect",window.location.pathname)},u=require("@snokam/core");var p=r(927),d=r(940);function f(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=f(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const h=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=f(e))&&(n&&(n+=" "),n+=t);return n};function m(e,t){const r=(0,d.A)({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,d.A)({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=(0,d.A)({},i),Object.keys(o).forEach((e=>{r[n][e]=m(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}function y(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}var g=r(232),b=r(906),v=r(718),x=r(558),A=r(271),k=r(310),w=r(525);const S={black:"#000",white:"#fff"},$={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"},R={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"},C={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"},O={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"},E={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"},M={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"},T={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"},j=["mode","contrastThreshold","tonalOffset"],I={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:S.white,default:S.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}},P={text:{primary:S.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:S.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 _(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,g.a)(e.main,o):"dark"===t&&(e.dark=(0,g.e$)(e.main,i)))}const z=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],L={textTransform:"uppercase"},B='"Roboto", "Helvetica", "Arial", sans-serif';function N(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=B,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:u,pxToRem:f}=r,h=(0,p.A)(r,z),m=o/14,y=f||(e=>e/l*m+"rem"),g=(e,t,r,o,i)=>{return(0,d.A)({fontFamily:n,fontWeight:e,fontSize:y(t),lineHeight:r},n===B?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},i,u);var a},b={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(s,14,1.75,.4,L),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,L),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,x.A)((0,d.A)({htmlFontSize:l,pxToRem:y,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},b),h,{clone:!1})}function W(...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 F=["none",W(0,2,1,-1,0,1,1,0,0,1,3,0),W(0,3,1,-2,0,2,2,0,0,1,5,0),W(0,3,3,-2,0,3,4,0,0,1,8,0),W(0,2,4,-1,0,4,5,0,0,1,10,0),W(0,3,5,-1,0,5,8,0,0,1,14,0),W(0,3,5,-1,0,6,10,0,0,1,18,0),W(0,4,5,-2,0,7,10,1,0,2,16,1),W(0,5,5,-3,0,8,10,1,0,3,14,2),W(0,5,6,-3,0,9,12,1,0,3,16,2),W(0,6,6,-3,0,10,14,1,0,4,18,3),W(0,6,7,-4,0,11,15,1,0,4,20,3),W(0,7,8,-4,0,12,17,2,0,5,22,4),W(0,7,8,-4,0,13,19,2,0,5,24,4),W(0,7,9,-4,0,14,21,2,0,5,26,4),W(0,8,9,-5,0,15,22,2,0,6,28,5),W(0,8,10,-5,0,16,24,2,0,6,30,5),W(0,8,11,-5,0,17,26,2,0,6,32,5),W(0,9,11,-5,0,18,28,2,0,7,34,6),W(0,9,12,-6,0,19,29,2,0,7,36,6),W(0,10,13,-6,0,20,31,3,0,8,38,7),W(0,10,13,-6,0,21,33,3,0,8,40,7),W(0,10,14,-6,0,22,35,3,0,8,42,7),W(0,11,14,-7,0,23,36,3,0,9,44,8),W(0,11,15,-7,0,24,38,3,0,9,46,8)],K=["duration","easing","delay"],V={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)"},D={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function U(e){return`${Math.round(e)}ms`}function X(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function q(e){const t=(0,d.A)({},V,e.easing),r=(0,d.A)({},D,e.duration);return(0,d.A)({getAutoHeightDuration:X,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return(0,p.A)(n,K),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:U(o)} ${i} ${"string"==typeof a?a:U(a)}`)).join(",")}},e,{easing:t,duration:r})}const G={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},H=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Y=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=(0,p.A)(e,H);if(e.vars)throw new Error((0,v.A)(18));const s=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=(0,p.A)(e,j),i=e.primary||function(e="light"){return"dark"===e?{main:E[200],light:E[50],dark:E[400]}:{main:E[700],light:E[400],dark:E[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:R[200],light:R[50],dark:R[400]}:{main:R[500],light:R[300],dark:R[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:C[500],light:C[300],dark:C[700]}:{main:C[700],light:C[400],dark:C[800]}}(t),c=e.info||function(e="light"){return"dark"===e?{main:M[400],light:M[300],dark:M[700]}:{main:M[700],light:M[500],dark:M[900]}}(t),l=e.success||function(e="light"){return"dark"===e?{main:T[400],light:T[300],dark:T[700]}:{main:T[800],light:T[500],dark:T[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:O[400],light:O[300],dark:O[700]}:{main:"#ed6c02",light:O[500],dark:O[900]}}(t);function f(e){return(0,g.eM)(e,P.text.primary)>=r?P.text.primary:I.text.primary}const h=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,d.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,v.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,v.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return _(e,"light",o,n),_(e,"dark",i,n),e.contrastText||(e.contrastText=f(e.main)),e},m={dark:P,light:I};return(0,x.A)((0,d.A)({common:(0,d.A)({},S),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:u,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:l,name:"success"}),grey:$,contrastThreshold:r,getContrastText:f,augmentColor:h,tonalOffset:n},m[t]),o)}(n),c=(0,w.A)(e);let l=(0,x.A)(c,{mixins:(u=c.breakpoints,f=r,(0,d.A)({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},f)),palette:s,shadows:F.slice(),typography:N(s,i),transitions:q(o),zIndex:(0,d.A)({},G)});var u,f;return l=(0,x.A)(l,a),l=t.reduce(((e,t)=>(0,x.A)(e,t)),l),l.unstable_sxConfig=(0,d.A)({},A.A,null==a?void 0:a.unstable_sxConfig),l.unstable_sx=function(e){return(0,k.A)({sx:e,theme:this})},l}(),Z=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,Q=(0,b.Ay)({themeId:"$$material",defaultTheme:Y,rootShouldForwardProp:Z}),J=a.createContext(void 0);function ee(e){return function({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?m(o.defaultProps,n):o.styleOverrides||o.variants?n:m(o,n)}({props:e,name:t,theme:{components:a.useContext(J)}})}(e)}const te=function(...e){return a.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)},re="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,ne=function(e){const t=a.useRef(e);return re((()=>{t.current=e})),a.useRef(((...e)=>(0,t.current)(...e))).current},oe={},ie=[];class ae{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ae}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let se=!0,ce=!1;const le=new ae,ue={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function pe(e){e.metaKey||e.altKey||e.ctrlKey||(se=!0)}function de(){se=!1}function fe(){"hidden"===this.visibilityState&&ce&&(se=!0)}const he=function(){const e=a.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",pe,!0),t.addEventListener("mousedown",de,!0),t.addEventListener("pointerdown",de,!0),t.addEventListener("touchstart",de,!0),t.addEventListener("visibilitychange",fe,!0))}),[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return se||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!ue[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ce=!0,le.start(100,(()=>{ce=!1})),t.current=!1,!0)},ref:e}};function me(e,t){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},me(e,t)}const ye=s().createContext(null);function ge(e,t){var r=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),r}function be(e,t,r){return null!=r[t]?r[t]:e.props[t]}function ve(e,t,r){var n=ge(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var c in t){if(o[c])for(n=0;n<o[c].length;n++){var l=o[c][n];s[o[c][n]]=r(l)}s[c]=r(c)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var s=o[i];if((0,a.isValidElement)(s)){var c=i in t,l=i in n,u=t[i],p=(0,a.isValidElement)(u)&&!u.props.in;!l||c&&!p?l||!c||p?l&&c&&(0,a.isValidElement)(u)&&(o[i]=(0,a.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:be(s,"exit",e),enter:be(s,"enter",e)})):o[i]=(0,a.cloneElement)(s,{in:!1}):o[i]=(0,a.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:be(s,"exit",e),enter:be(s,"enter",e)})}})),o}var xe=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ae=function(e){var t,r;function n(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,me(t,r);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,ge(r.children,(function(e){return(0,a.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:be(e,"appear",r),enter:be(e,"enter",r),exit:be(e,"exit",r)})}))):ve(e,o,i),firstRender:!1}},o.handleExited=function(e,t){var r=ge(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,d.A)({},t.children);return delete r[e.key],{children:r}})))},o.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=(0,p.A)(e,["component","childFactory"]),o=this.state.contextValue,i=xe(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?s().createElement(ye.Provider,{value:o},i):s().createElement(ye.Provider,{value:o},s().createElement(t,n,i))},n}(s().Component);Ae.propTypes={},Ae.defaultProps={component:"div",childFactory:function(e){return e}};const ke=Ae;var we=r(537);const Se=e=>e,$e=(()=>{let e=Se;return{configure(t){e=t},generate:t=>e(t),reset(){e=Se}}})(),Re={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ce(e,t,r="Mui"){const n=Re[t];return n?`${r}-${n}`:`${$e.generate(e)}-${t}`}function Oe(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Ce(e,t,r)})),n}const Ee=Oe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Me=["center","classes","className"];let Te,je,Ie,Pe,_e=e=>e;const ze=(0,we.keyframes)(Te||(Te=_e`
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.snokam=t():e.snokam=t()}(this,(()=>(()=>{var e={232:(e,t,r)=>{"use strict";var n=r(110);t.X4=function(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,c(e)},t.e$=u,t.eM=function(e,t){const r=l(e),n=l(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=p;var o=n(r(431)),i=n(r(234));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,o.default)(9,e));let n,i=e.substring(t+1,e.length-1);if("color"===r){if(i=i.split(" "),n=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,o.default)(10,n))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:r,values:i,colorSpace:n}}function c(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function l(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",u.push(t[3])),c({type:l,values:u})}(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 u(e,t){if(e=s(e),t=a(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 r=0;r<3;r+=1)e.values[r]*=1-t;return c(e)}function p(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return c(e)}},906:(e,t,r)=>{"use strict";var n=r(110);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:c=h}=e,u=e=>(0,l.default)((0,o.default)({},e,{theme:g((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,l={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:f,skipVariantsResolver:m,skipSx:x,overridesResolver:A=b(y(f))}=l,k=(0,i.default)(l,d),w=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,S=x||!1;let $=h;"Root"===f||"root"===f?$=n:f?$=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&($=void 0);const R=(0,a.default)(e,(0,o.default)({shouldForwardProp:$,label:void 0},k)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:g({theme:n.theme,defaultTheme:r,themeId:t})})):e,O=(n,...i)=>{let a=C(n);const s=i?i.map(C):[];p&&A&&s.push((e=>{const n=g((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;const i=n.components[p].styleOverrides,a={};return Object.entries(i).forEach((([t,r])=>{a[t]=v(r,(0,o.default)({},e,{theme:n}))})),A(e,a)})),p&&!w&&s.push((e=>{var n;const i=g((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.default)({},e,{theme:i}))})),S||s.push(u);const c=s.length-i.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const l=R(a,...s);return e.muiName&&(l.muiName=e.muiName),l};return R.withConfig&&(O.withConfig=R.withConfig),O}};var o=n(r(414)),i=n(r(817)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(850)),s=r(776),c=(n(r(792)),n(r(543)),n(r(579))),l=n(r(395));const u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,c.default)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function b(e){return e?(t,r)=>r[e]:null}function v(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,(0,o.default)({ownerState:r},n))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,p);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))})),t}return a}},477:(e,t,r)=>{"use strict";r.d(t,{EU:()=>a,NI:()=>i,vf:()=>s,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o}),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}},65:(e,t,r)=>{"use strict";function n(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},903:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(927),o=r(940);const i=["values","unit","step"],a=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)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,c=(0,n.A)(e,i),l=a(t),u=Object.keys(l);function p(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${r})`}function f(e,n){const o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-s/100}${r})`}return(0,o.A)({keys:u,values:l,up:p,down:d,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):p(e)},not:function(e){const t=u.indexOf(e);return 0===t?p(u[1]):t===u.length-1?d(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},c)}},525:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(940),o=r(927),i=r(558),a=r(903);const s={borderRadius:4};var c=r(723),l=r(310),u=r(271),p=r(65);const d=["breakpoints","palette","spacing","shape"],f=function(e={},...t){const{breakpoints:r={},palette:f={},spacing:h,shape:m={}}=e,y=(0,o.A)(e,d),g=(0,a.A)(r),b=function(e=8){if(e.mui)return e;const t=(0,c.LX)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(h);let v=(0,i.A)({breakpoints:g,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},f),spacing:b,shape:(0,n.A)({},s,m)},y);return v.applyStyles=p.A,v=t.reduce(((e,t)=>(0,i.A)(e,t)),v),v.unstable_sxConfig=(0,n.A)({},u.A,null==y?void 0:y.unstable_sxConfig),v.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},v}},579:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var n=r(525),o=r(903),i=r(65)},909:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(558);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},723:(e,t,r)=>{"use strict";r.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>g,Ms:()=>b});var n=r(477),o=r(740),i=r(909);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...p];function f(e,t,r,n){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function y(e,t){const r=h(e.theme);return Object.keys(e).map((o=>function(e,t,r,o){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=m(t,r),e)),{})}(l(r),o),a=e[r];return(0,n.NI)(e,a,i)}(e,t,o,r))).reduce(i.A,{})}function g(e){return y(e,u)}function b(e){return y(e,p)}function v(e){return y(e,d)}g.propTypes={},g.filterProps=u,b.propTypes={},b.filterProps=p,v.propTypes={},v.filterProps=d},740:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var n=r(680),o=r(477);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:c}=e,l=e=>{if(null==e[t])return null;const l=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,l,(e=>{let o=a(u,c,e);return e===o&&"string"==typeof e&&(o=a(u,c,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}}))};return l.propTypes={},l.filterProps=[t],l}},271:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(723),o=r(740),i=r(909);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};var s=r(477);function c(e){return"number"!=typeof e?e:`${e}px solid`}function l(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=l("border",c),p=l("borderTop",c),d=l("borderRight",c),f=l("borderBottom",c),h=l("borderLeft",c),m=l("borderColor"),y=l("borderTopColor"),g=l("borderRightColor"),b=l("borderBottomColor"),v=l("borderLeftColor"),x=l("outline",c),A=l("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};k.propTypes={},k.filterProps=["borderRadius"],a(u,p,d,f,h,m,y,g,b,v,k,x,A);const w=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};w.propTypes={},w.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};S.propTypes={},S.filterProps=["columnGap"];const $=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};function R(e,t){return"grey"===t?t:e}function C(e){return e<=1&&0!==e?100*e+"%":e}$.propTypes={},$.filterProps=["rowGap"],a(w,S,$,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:R}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:R}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:R}));const O=(0,o.Ay)({prop:"width",transform:C}),E=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:C(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};E.filterProps=["maxWidth"];const M=(0,o.Ay)({prop:"minWidth",transform:C}),T=(0,o.Ay)({prop:"height",transform:C}),j=(0,o.Ay)({prop:"maxHeight",transform:C}),I=(0,o.Ay)({prop:"minHeight",transform:C}),P=((0,o.Ay)({prop:"size",cssProperty:"width",transform:C}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:C}),a(O,E,M,T,j,I,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:c},borderTop:{themeKey:"borders",transform:c},borderRight:{themeKey:"borders",transform:c},borderBottom:{themeKey:"borders",transform:c},borderLeft:{themeKey:"borders",transform:c},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:c},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:R},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:R},backgroundColor:{themeKey:"palette",transform:R},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},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:w},rowGap:{style:$},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:C},maxWidth:{style:E},minWidth:{transform:C},height:{transform:C},maxHeight:{transform:C},minHeight:{transform:C},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},395:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>u,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>s.A});var n=r(310),o=r(940),i=r(927),a=r(558),s=r(271);const c=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:s.A;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function u(e){const{sx:t}=e,r=(0,i.A)(e,c),{systemProps:n,otherProps:s}=l(r);let u;return u=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,a.Q)(r)?(0,o.A)({},n,r):n}:(0,o.A)({},n,t),(0,o.A)({},s,{sx:u})}},310:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>c});var n=r(680),o=r(909),i=r(740),a=r(477),s=r(271);function c(){function e(e,t,r,o){const s={[e]:t,theme:r},c=o[e];if(!c)return{[e]:t};const{cssProperty:l=e,themeKey:u,transform:p,style:d}=c;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.Yn)(r,u)||{};return d?d(s):(0,a.NI)(s,t,(t=>{let r=(0,i.BO)(f,p,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(f,p,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===l?r:{[l]:r}}))}return function t(r){var n;const{sx:i,theme:c={}}=r||{};if(!i)return null;const l=null!=(n=c.unstable_sxConfig)?n:s.A;function u(r){let n=r;if("function"==typeof r)n=r(c);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,a.EU)(c.breakpoints),s=Object.keys(i);let u=i;return Object.keys(n).forEach((r=>{const i="function"==typeof(s=n[r])?s(c):s;var s;if(null!=i)if("object"==typeof i)if(l[r])u=(0,o.A)(u,e(r,i,c,l));else{const e=(0,a.NI)({theme:c},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[r]=t({sx:i,theme:c})}else u=(0,o.A)(u,e(r,i,c,l))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const l=c();l.filterProps=["sx"];const u=l},680:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(718);function o(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},792:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(680)},234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},558:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,Q:()=>o});var n=r(940);function o(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=i(e[r])})),t}function a(e,t,r={clone:!0}){const s=r.clone?(0,n.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((n=>{o(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&o(e[n])?s[n]=a(e[n],t[n],r):r.clone?s[n]=o(t[n])?i(t[n]):t[n]:s[n]=t[n]})),s}},776:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(558)},718:(e,t,r)=>{"use strict";function n(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."}r.d(t,{A:()=>n})},431:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(718)},543:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,getFunctionName:()=>i});var n=r(261);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function c(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return s(e,e.render,"ForwardRef");case n.Memo:return s(e,e.type,"memo");default:return}}}},850:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>le,StyledEngineProvider:()=>ce,ThemeContext:()=>i.ThemeContext,css:()=>i.css,default:()=>ue,internal_processStyles:()=>pe,keyframes:()=>i.keyframes});var n=r(349),o=r.n(n),i=r(537);r(15);var a=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),s=Math.abs,c=String.fromCharCode,l=Object.assign;function u(e){return e.trim()}function p(e,t,r){return e.replace(t,r)}function d(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function m(e){return e.length}function y(e){return e.length}function g(e,t){return t.push(e),e}var b=1,v=1,x=0,A=0,k=0,w="";function S(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:b,column:v,length:a,return:""}}function $(e,t){return l(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function R(){return k=A>0?f(w,--A):0,v--,10===k&&(v=1,b--),k}function C(){return k=A<x?f(w,A++):0,v++,10===k&&(v=1,b++),k}function O(){return f(w,A)}function E(){return A}function M(e,t){return h(w,e,t)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(e){return b=v=1,x=m(w=e),A=0,[]}function I(e){return w="",e}function P(e){return u(M(A-1,L(91===e?e+2:40===e?e+1:e)))}function _(e){for(;(k=O())&&k<33;)C();return T(e)>2||T(k)>3?"":" "}function z(e,t){for(;--t&&C()&&!(k<48||k>102||k>57&&k<65||k>70&&k<97););return M(e,E()+(t<6&&32==O()&&32==C()))}function L(e){for(;C();)switch(k){case e:return A;case 34:case 39:34!==e&&39!==e&&L(k);break;case 40:41===e&&L(e);break;case 92:C()}return A}function B(e,t){for(;C()&&e+k!==57&&(e+k!==84||47!==O()););return"/*"+M(t,A-1)+"*"+c(47===e?e:C())}function N(e){for(;!T(O());)C();return M(e,A)}var W="-ms-",F="-moz-",K="-webkit-",V="comm",D="rule",U="decl",X="@keyframes";function q(e,t){for(var r="",n=y(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function G(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case V:return"";case X:return e.return=e.value+"{"+q(e.children,n)+"}";case D:e.value=e.props.join(",")}return m(r=q(e.children,n))?e.return=e.value+"{"+r+"}":""}function H(e){return I(Y("",null,null,null,[""],e=j(e),0,[0],e))}function Y(e,t,r,n,o,i,a,s,l){for(var u=0,h=0,y=a,b=0,v=0,x=0,A=1,k=1,w=1,S=0,$="",M=o,T=i,j=n,I=$;k;)switch(x=S,S=C()){case 40:if(108!=x&&58==f(I,y-1)){-1!=d(I+=p(P(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:I+=P(S);break;case 9:case 10:case 13:case 32:I+=_(x);break;case 92:I+=z(E()-1,7);continue;case 47:switch(O()){case 42:case 47:g(Q(B(C(),E()),t,r),l);break;default:I+="/"}break;case 123*A:s[u++]=m(I)*w;case 125*A:case 59:case 0:switch(S){case 0:case 125:k=0;case 59+h:-1==w&&(I=p(I,/\f/g,"")),v>0&&m(I)-y&&g(v>32?J(I+";",n,r,y-1):J(p(I," ","")+";",n,r,y-2),l);break;case 59:I+=";";default:if(g(j=Z(I,t,r,u,h,o,s,$,M=[],T=[],y),i),123===S)if(0===h)Y(I,t,j,j,M,i,y,s,T);else switch(99===b&&110===f(I,3)?100:b){case 100:case 108:case 109:case 115:Y(e,j,j,n&&g(Z(e,j,j,0,0,o,s,$,o,M=[],y),T),o,T,y,s,n?M:T);break;default:Y(I,j,j,j,[""],T,0,s,T)}}u=h=v=0,A=w=1,$=I="",y=a;break;case 58:y=1+m(I),v=x;default:if(A<1)if(123==S)--A;else if(125==S&&0==A++&&125==R())continue;switch(I+=c(S),S*A){case 38:w=h>0?1:(I+="\f",-1);break;case 44:s[u++]=(m(I)-1)*w,w=1;break;case 64:45===O()&&(I+=P(C())),b=O(),h=y=m($=I+=N(E())),S++;break;case 45:45===x&&2==m(I)&&(A=0)}}return i}function Z(e,t,r,n,o,i,a,c,l,d,f){for(var m=o-1,g=0===o?i:[""],b=y(g),v=0,x=0,A=0;v<n;++v)for(var k=0,w=h(e,m+1,m=s(x=a[v])),$=e;k<b;++k)($=u(x>0?g[k]+" "+w:p(w,/&\f/g,g[k])))&&(l[A++]=$);return S(e,t,r,0===o?D:c,l,d,f)}function Q(e,t,r){return S(e,t,r,V,c(k),h(e,2,-2),0)}function J(e,t,r,n){return S(e,t,r,U,h(e,0,n),h(e,n+1,-1),n)}var ee=function(e,t,r){for(var n=0,o=0;n=o,o=O(),38===n&&12===o&&(t[r]=1),!T(o);)C();return M(e,A)},te=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(r))&&!n){te.set(e,!0);for(var o=[],i=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(T(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=ee(A-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=c(n)}}while(n=C());return e}(j(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function oe(e,t){switch(function(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+F+e+W+e+e;case 6828:case 4268:return K+e+W+e+e;case 6165:return K+e+W+"flex-"+e+e;case 5187:return K+e+p(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return K+e+W+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return K+e+W+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+W+p(e,"shrink","negative")+e;case 5292:return K+e+W+p(e,"basis","preferred-size")+e;case 6060:return K+"box-"+p(e,"-grow","")+K+e+W+p(e,"grow","positive")+e;case 4554:return K+p(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+F+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?oe(p(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,m(e)-3-(~d(e,"!important")&&10))){case 107:return p(e,":",":"+K)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===f(e,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+W+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return K+e+W+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+W+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+W+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+W+e+e}return e}var ie=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=oe(e.value,e.length);break;case X:return q([$(e,{value:p(e.value,"@","@"+K)})],n);case D:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return q([$(e,{props:[p(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([$(e,{props:[p(t,/:(plac\w+)/,":"+K+"input-$1")]}),$(e,{props:[p(t,/:(plac\w+)/,":-moz-$1")]}),$(e,{props:[p(t,/:(plac\w+)/,W+"input-$1")]})],n)}return""}))}}],ae=r(732);let se;function ce(e){const{injectFirst:t,children:r}=e;return t&&se?(0,ae.jsx)(i.CacheProvider,{value:se,children:r}):r}function le(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,ae.jsx)(i.Global,{styles:n})}function ue(e,t){return o()(e,t)}"object"==typeof document&&(se=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||ie,s={},c=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;c.push(e)}));var l,u,p,d,f=[G,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(u=[re,ne].concat(i,f),p=y(u),function(e,t,r,n){for(var o="",i=0;i<p;i++)o+=u[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,q(H(e?e+"{"+t.styles+"}":t.styles),h),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new a({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return m.sheet.hydrate(c),m}({key:"css",prepend:!0}));const pe=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},505:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context");var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=r,t.Memo=n},261:(e,t,r)=>{"use strict";e.exports=r(505)},537:e=>{"use strict";e.exports=require("@emotion/react")},349:e=>{"use strict";e.exports=require("@emotion/styled")},15:e=>{"use strict";e.exports=require("react")},732:e=>{"use strict";e.exports=require("react/jsx-runtime")},414:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},110:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},817:e=>{e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},940:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},927:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{default:()=>ft,useAuth:()=>at});var e=r(732);const t=require("@azure/msal-react"),o=require("@azure/msal-browser"),i=require("next/router");var a=r(15),s=r.n(a);const c={auth:{clientId:`${process.env.NEXT_PUBLIC_AZURE_AD_CLIENT_ID}`,authority:`https://login.microsoftonline.com/${process.env.NEXT_PUBLIC_AZURE_AD_TENANT_ID}/`,postLogoutRedirectUri:"/",redirectUri:"/callback",navigateToLoginRequestUrl:!1},system:{allowRedirectInIframe:!0},cache:{storeAuthStateInCookie:!0,cacheLocation:"localStorage"}},l={scopes:["openid"]},u=()=>{window.sessionStorage.setItem("redirect",window.location.pathname)},p=require("@snokam/core");var d=r(927),f=r(940);function h(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=h(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const m=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=h(e))&&(n&&(n+=" "),n+=t);return n};function y(e,t){const r=(0,f.A)({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,f.A)({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=(0,f.A)({},i),Object.keys(o).forEach((e=>{r[n][e]=y(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}function g(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}var b=r(232),v=r(906),x=r(718),A=r(558),k=r(271),w=r(310),S=r(525);const $={black:"#000",white:"#fff"},R={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"},C={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"},O={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"},E={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"},M={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"},T={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"},j={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"},I=["mode","contrastThreshold","tonalOffset"],P={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:$.white,default:$.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}},_={text:{primary:$.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:$.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 z(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,b.a)(e.main,o):"dark"===t&&(e.dark=(0,b.e$)(e.main,i)))}const L=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],B={textTransform:"uppercase"},N='"Roboto", "Helvetica", "Arial", sans-serif';function W(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=N,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:u,pxToRem:p}=r,h=(0,d.A)(r,L),m=o/14,y=p||(e=>e/l*m+"rem"),g=(e,t,r,o,i)=>{return(0,f.A)({fontFamily:n,fontWeight:e,fontSize:y(t),lineHeight:r},n===N?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},i,u);var a},b={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(s,14,1.75,.4,B),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,B),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,A.A)((0,f.A)({htmlFontSize:l,pxToRem:y,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},b),h,{clone:!1})}function F(...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 K=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],V=["duration","easing","delay"],D={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)"},U={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function X(e){return`${Math.round(e)}ms`}function q(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function G(e){const t=(0,f.A)({},D,e.easing),r=(0,f.A)({},U,e.duration);return(0,f.A)({getAutoHeightDuration:q,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return(0,d.A)(n,V),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:X(o)} ${i} ${"string"==typeof a?a:X(a)}`)).join(",")}},e,{easing:t,duration:r})}const H={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Y=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Z=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=(0,d.A)(e,Y);if(e.vars)throw new Error((0,x.A)(18));const s=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=(0,d.A)(e,I),i=e.primary||function(e="light"){return"dark"===e?{main:M[200],light:M[50],dark:M[400]}:{main:M[700],light:M[400],dark:M[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:C[200],light:C[50],dark:C[400]}:{main:C[500],light:C[300],dark:C[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:O[500],light:O[300],dark:O[700]}:{main:O[700],light:O[400],dark:O[800]}}(t),c=e.info||function(e="light"){return"dark"===e?{main:T[400],light:T[300],dark:T[700]}:{main:T[700],light:T[500],dark:T[900]}}(t),l=e.success||function(e="light"){return"dark"===e?{main:j[400],light:j[300],dark:j[700]}:{main:j[800],light:j[500],dark:j[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:E[400],light:E[300],dark:E[700]}:{main:"#ed6c02",light:E[500],dark:E[900]}}(t);function p(e){return(0,b.eM)(e,_.text.primary)>=r?_.text.primary:P.text.primary}const h=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,f.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,x.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,x.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return z(e,"light",o,n),z(e,"dark",i,n),e.contrastText||(e.contrastText=p(e.main)),e},m={dark:_,light:P};return(0,A.A)((0,f.A)({common:(0,f.A)({},$),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:u,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:l,name:"success"}),grey:R,contrastThreshold:r,getContrastText:p,augmentColor:h,tonalOffset:n},m[t]),o)}(n),c=(0,S.A)(e);let l=(0,A.A)(c,{mixins:(u=c.breakpoints,p=r,(0,f.A)({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},p)),palette:s,shadows:K.slice(),typography:W(s,i),transitions:G(o),zIndex:(0,f.A)({},H)});var u,p;return l=(0,A.A)(l,a),l=t.reduce(((e,t)=>(0,A.A)(e,t)),l),l.unstable_sxConfig=(0,f.A)({},k.A,null==a?void 0:a.unstable_sxConfig),l.unstable_sx=function(e){return(0,w.A)({sx:e,theme:this})},l}(),Q=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,J=(0,v.Ay)({themeId:"$$material",defaultTheme:Z,rootShouldForwardProp:Q}),ee=a.createContext(void 0);function te(e){return function({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?y(o.defaultProps,n):o.styleOverrides||o.variants?n:y(o,n)}({props:e,name:t,theme:{components:a.useContext(ee)}})}(e)}const re=function(...e){return a.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)},ne="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,oe=function(e){const t=a.useRef(e);return ne((()=>{t.current=e})),a.useRef(((...e)=>(0,t.current)(...e))).current},ie={},ae=[];class se{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new se}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let ce=!0,le=!1;const ue=new se,pe={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function de(e){e.metaKey||e.altKey||e.ctrlKey||(ce=!0)}function fe(){ce=!1}function he(){"hidden"===this.visibilityState&&le&&(ce=!0)}const me=function(){const e=a.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",de,!0),t.addEventListener("mousedown",fe,!0),t.addEventListener("pointerdown",fe,!0),t.addEventListener("touchstart",fe,!0),t.addEventListener("visibilitychange",he,!0))}),[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return ce||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!pe[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(le=!0,ue.start(100,(()=>{le=!1})),t.current=!1,!0)},ref:e}};function ye(e,t){return ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ye(e,t)}const ge=s().createContext(null);function be(e,t){var r=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),r}function ve(e,t,r){return null!=r[t]?r[t]:e.props[t]}function xe(e,t,r){var n=be(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var c in t){if(o[c])for(n=0;n<o[c].length;n++){var l=o[c][n];s[o[c][n]]=r(l)}s[c]=r(c)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var s=o[i];if((0,a.isValidElement)(s)){var c=i in t,l=i in n,u=t[i],p=(0,a.isValidElement)(u)&&!u.props.in;!l||c&&!p?l||!c||p?l&&c&&(0,a.isValidElement)(u)&&(o[i]=(0,a.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:ve(s,"exit",e),enter:ve(s,"enter",e)})):o[i]=(0,a.cloneElement)(s,{in:!1}):o[i]=(0,a.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:ve(s,"exit",e),enter:ve(s,"enter",e)})}})),o}var Ae=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ke=function(e){var t,r;function n(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,ye(t,r);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,be(r.children,(function(e){return(0,a.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:ve(e,"appear",r),enter:ve(e,"enter",r),exit:ve(e,"exit",r)})}))):xe(e,o,i),firstRender:!1}},o.handleExited=function(e,t){var r=be(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,f.A)({},t.children);return delete r[e.key],{children:r}})))},o.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=(0,d.A)(e,["component","childFactory"]),o=this.state.contextValue,i=Ae(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?s().createElement(ge.Provider,{value:o},i):s().createElement(ge.Provider,{value:o},s().createElement(t,n,i))},n}(s().Component);ke.propTypes={},ke.defaultProps={component:"div",childFactory:function(e){return e}};const we=ke;var Se=r(537);const $e=e=>e,Re=(()=>{let e=$e;return{configure(t){e=t},generate:t=>e(t),reset(){e=$e}}})(),Ce={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Oe(e,t,r="Mui"){const n=Ce[t];return n?`${r}-${n}`:`${Re.generate(e)}-${t}`}function Ee(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Oe(e,t,r)})),n}const Me=Ee("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Te=["center","classes","className"];let je,Ie,Pe,_e,ze=e=>e;const Le=(0,Se.keyframes)(je||(je=ze`
3
3
  0% {
4
4
  transform: scale(0);
5
5
  opacity: 0.1;
@@ -9,7 +9,7 @@
9
9
  transform: scale(1);
10
10
  opacity: 0.3;
11
11
  }
12
- `)),Le=(0,we.keyframes)(je||(je=_e`
12
+ `)),Be=(0,Se.keyframes)(Ie||(Ie=ze`
13
13
  0% {
14
14
  opacity: 1;
15
15
  }
@@ -17,7 +17,7 @@
17
17
  100% {
18
18
  opacity: 0;
19
19
  }
20
- `)),Be=(0,we.keyframes)(Ie||(Ie=_e`
20
+ `)),Ne=(0,Se.keyframes)(Pe||(Pe=ze`
21
21
  0% {
22
22
  transform: scale(1);
23
23
  }
@@ -29,7 +29,7 @@
29
29
  100% {
30
30
  transform: scale(1);
31
31
  }
32
- `)),Ne=Q("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),We=Q((function(t){const{className:r,classes:n,pulsate:o=!1,rippleX:i,rippleY:s,rippleSize:c,in:l,onExited:u,timeout:p}=t,[d,f]=a.useState(!1),m=h(r,n.ripple,n.rippleVisible,o&&n.ripplePulsate),y={width:c,height:c,top:-c/2+s,left:-c/2+i},g=h(n.child,d&&n.childLeaving,o&&n.childPulsate);return l||d||f(!0),a.useEffect((()=>{if(!l&&null!=u){const e=setTimeout(u,p);return()=>{clearTimeout(e)}}}),[u,l,p]),(0,e.jsx)("span",{className:m,style:y,children:(0,e.jsx)("span",{className:g})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Pe||(Pe=_e`
32
+ `)),We=J("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Fe=J((function(t){const{className:r,classes:n,pulsate:o=!1,rippleX:i,rippleY:s,rippleSize:c,in:l,onExited:u,timeout:p}=t,[d,f]=a.useState(!1),h=m(r,n.ripple,n.rippleVisible,o&&n.ripplePulsate),y={width:c,height:c,top:-c/2+s,left:-c/2+i},g=m(n.child,d&&n.childLeaving,o&&n.childPulsate);return l||d||f(!0),a.useEffect((()=>{if(!l&&null!=u){const e=setTimeout(u,p);return()=>{clearTimeout(e)}}}),[u,l,p]),(0,e.jsx)("span",{className:h,style:y,children:(0,e.jsx)("span",{className:g})})}),{name:"MuiTouchRipple",slot:"Ripple"})(_e||(_e=ze`
33
33
  opacity: 0;
34
34
  position: absolute;
35
35
 
@@ -72,13 +72,13 @@
72
72
  animation-iteration-count: infinite;
73
73
  animation-delay: 200ms;
74
74
  }
75
- `),Ee.rippleVisible,ze,550,(({theme:e})=>e.transitions.easing.easeInOut),Ee.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Ee.child,Ee.childLeaving,Le,550,(({theme:e})=>e.transitions.easing.easeInOut),Ee.childPulsate,Be,(({theme:e})=>e.transitions.easing.easeInOut)),Fe=a.forwardRef((function(t,r){const n=ee({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=n,c=(0,p.A)(n,Me),[l,u]=a.useState([]),f=a.useRef(0),m=a.useRef(null);a.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[l]);const y=a.useRef(!1),g=function(){const e=function(e){const t=a.useRef(oe);return t.current===oe&&(t.current=e(void 0)),t}(ae.create).current;var t;return t=e.disposeEffect,a.useEffect(t,ie),e}(),b=a.useRef(null),v=a.useRef(null),x=a.useCallback((t=>{const{pulsate:r,rippleX:n,rippleY:o,rippleSize:a,cb:s}=t;u((t=>[...t,(0,e.jsx)(We,{classes:{ripple:h(i.ripple,Ee.ripple),rippleVisible:h(i.rippleVisible,Ee.rippleVisible),ripplePulsate:h(i.ripplePulsate,Ee.ripplePulsate),child:h(i.child,Ee.child),childLeaving:h(i.childLeaving,Ee.childLeaving),childPulsate:h(i.childPulsate,Ee.childPulsate)},timeout:550,pulsate:r,rippleX:n,rippleY:o,rippleSize:a},f.current)])),f.current+=1,m.current=s}),[i]),A=a.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&y.current)return void(y.current=!1);"touchstart"===(null==e?void 0:e.type)&&(y.current=!0);const s=a?null:v.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,u,p;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(r-c.top)}if(i)p=Math.sqrt((2*c.width**2+c.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-l),l)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===b.current&&(b.current=()=>{x({pulsate:n,rippleX:l,rippleY:u,rippleSize:p,cb:r})},g.start(80,(()=>{b.current&&(b.current(),b.current=null)}))):x({pulsate:n,rippleX:l,rippleY:u,rippleSize:p,cb:r})}),[o,x,g]),k=a.useCallback((()=>{A({},{pulsate:!0})}),[A]),w=a.useCallback(((e,t)=>{if(g.clear(),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void g.start(0,(()=>{w(e,t)}));b.current=null,u((e=>e.length>0?e.slice(1):e)),m.current=t}),[g]);return a.useImperativeHandle(r,(()=>({pulsate:k,start:A,stop:w})),[k,A,w]),(0,e.jsx)(Ne,(0,d.A)({className:h(Ee.root,i.root,s),ref:v},c,{children:(0,e.jsx)(ke,{component:null,exit:!0,children:l})}))}));function Ke(e){return Ce("MuiButtonBase",e)}const Ve=Oe("MuiButtonBase",["root","disabled","focusVisible"]),De=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Ue=Q("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ve.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Xe=a.forwardRef((function(t,r){const n=ee({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:c,component:l="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:m=!1,focusRipple:g=!1,LinkComponent:b="a",onBlur:v,onClick:x,onContextMenu:A,onDragLeave:k,onFocus:w,onFocusVisible:S,onKeyDown:$,onKeyUp:R,onMouseDown:C,onMouseLeave:O,onMouseUp:E,onTouchEnd:M,onTouchMove:T,onTouchStart:j,tabIndex:I=0,TouchRippleProps:P,touchRippleRef:_,type:z}=n,L=(0,p.A)(n,De),B=a.useRef(null),N=a.useRef(null),W=te(N,_),{isFocusVisibleRef:F,onFocus:K,onBlur:V,ref:D}=he(),[U,X]=a.useState(!1);u&&U&&X(!1),a.useImperativeHandle(o,(()=>({focusVisible:()=>{X(!0),B.current.focus()}})),[]);const[q,G]=a.useState(!1);a.useEffect((()=>{G(!0)}),[]);const H=q&&!f&&!u;function Y(e,t,r=m){return ne((n=>(t&&t(n),!r&&N.current&&N.current[e](n),!0)))}a.useEffect((()=>{U&&g&&!f&&q&&N.current.pulsate()}),[f,g,U,q]);const Z=Y("start",C),Q=Y("stop",A),J=Y("stop",k),re=Y("stop",E),oe=Y("stop",(e=>{U&&e.preventDefault(),O&&O(e)})),ie=Y("start",j),ae=Y("stop",M),se=Y("stop",T),ce=Y("stop",(e=>{V(e),!1===F.current&&X(!1),v&&v(e)}),!1),le=ne((e=>{B.current||(B.current=e.currentTarget),K(e),!0===F.current&&(X(!0),S&&S(e)),w&&w(e)})),ue=()=>{const e=B.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},pe=a.useRef(!1),de=ne((e=>{g&&!pe.current&&U&&N.current&&" "===e.key&&(pe.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&ue()&&" "===e.key&&e.preventDefault(),$&&$(e),e.target===e.currentTarget&&ue()&&"Enter"===e.key&&!u&&(e.preventDefault(),x&&x(e))})),fe=ne((e=>{g&&" "===e.key&&N.current&&U&&!e.defaultPrevented&&(pe.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),R&&R(e),x&&e.target===e.currentTarget&&ue()&&" "===e.key&&!e.defaultPrevented&&x(e)}));let me=l;"button"===me&&(L.href||L.to)&&(me=b);const ye={};"button"===me?(ye.type=void 0===z?"button":z,ye.disabled=u):(L.href||L.to||(ye.role="button"),u&&(ye["aria-disabled"]=u));const ge=te(r,D,B),be=(0,d.A)({},n,{centerRipple:i,component:l,disabled:u,disableRipple:f,disableTouchRipple:m,focusRipple:g,tabIndex:I,focusVisible:U}),ve=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=y({root:["root",t&&"disabled",r&&"focusVisible"]},Ke,o);return r&&n&&(i.root+=` ${n}`),i})(be);return(0,e.jsxs)(Ue,(0,d.A)({as:me,className:h(ve.root,c),ownerState:be,onBlur:ce,onClick:x,onContextMenu:Q,onFocus:le,onKeyDown:de,onKeyUp:fe,onMouseDown:Z,onMouseLeave:oe,onMouseUp:re,onDragLeave:J,onTouchEnd:ae,onTouchMove:se,onTouchStart:ie,ref:ge,tabIndex:u?-1:I,type:z},ye,L,{children:[s,H?(0,e.jsx)(Fe,(0,d.A)({ref:W,center:i},P)):null]}))})),qe=Xe,Ge=r(680).A;function He(e){return Ce("MuiButton",e)}const Ye=Oe("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Ze=a.createContext({}),Qe=a.createContext(void 0),Je=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],et=e=>(0,d.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),tt=Q(qe,{shouldForwardProp:e=>Z(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Ge(r.color)}`],t[`size${Ge(r.size)}`],t[`${r.variant}Size${Ge(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,d.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,d.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,g.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,g.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,g.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,d.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ye.focusVisible}`]:(0,d.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ye.disabled}`]:(0,d.A)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,g.X4)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ye.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ye.disabled}`]:{boxShadow:"none"}})),rt=Q("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Ge(r.size)}`]]}})((({ownerState:e})=>(0,d.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},et(e)))),nt=Q("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Ge(r.size)}`]]}})((({ownerState:e})=>(0,d.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},et(e)))),ot=a.forwardRef((function(t,r){const n=a.useContext(Ze),o=a.useContext(Qe),i=ee({props:m(n,t),name:"MuiButton"}),{children:s,color:c="primary",component:l="button",className:u,disabled:f=!1,disableElevation:g=!1,disableFocusRipple:b=!1,endIcon:v,focusVisibleClassName:x,fullWidth:A=!1,size:k="medium",startIcon:w,type:S,variant:$="text"}=i,R=(0,p.A)(i,Je),C=(0,d.A)({},i,{color:c,component:l,disabled:f,disableElevation:g,disableFocusRipple:b,fullWidth:A,size:k,type:S,variant:$}),O=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s=y({root:["root",i,`${i}${Ge(t)}`,`size${Ge(o)}`,`${i}Size${Ge(o)}`,`color${Ge(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Ge(o)}`],endIcon:["icon","endIcon",`iconSize${Ge(o)}`]},He,a);return(0,d.A)({},a,s)})(C),E=w&&(0,e.jsx)(rt,{className:O.startIcon,ownerState:C,children:w}),M=v&&(0,e.jsx)(nt,{className:O.endIcon,ownerState:C,children:v}),T=o||"";return(0,e.jsxs)(tt,(0,d.A)({ownerState:C,className:h(n.className,O.root,u,T),component:l,disabled:f,focusRipple:!b,focusVisibleClassName:h(O.focusVisible,x),ref:r,type:S},R,{classes:O,children:[E,s,M]}))})),it=()=>{const{instance:e,inProgress:r}=(0,t.useMsal)(),n=e.getAllAccounts()[0];return{getToken:t=>e.acquireTokenSilent({scopes:t||[],account:n}).then((({accessToken:e})=>`Bearer ${e}`)),isAuthenticated:(0,t.useIsAuthenticated)(),inProgress:"startup"===r||"login"===r,instance:e,account:n}};var at=r(349),st=r.n(at);const ct={Container:st().div`
75
+ `),Me.rippleVisible,Le,550,(({theme:e})=>e.transitions.easing.easeInOut),Me.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Me.child,Me.childLeaving,Be,550,(({theme:e})=>e.transitions.easing.easeInOut),Me.childPulsate,Ne,(({theme:e})=>e.transitions.easing.easeInOut)),Ke=a.forwardRef((function(t,r){const n=te({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=n,c=(0,d.A)(n,Te),[l,u]=a.useState([]),p=a.useRef(0),h=a.useRef(null);a.useEffect((()=>{h.current&&(h.current(),h.current=null)}),[l]);const y=a.useRef(!1),g=function(){const e=function(e){const t=a.useRef(ie);return t.current===ie&&(t.current=e(void 0)),t}(se.create).current;var t;return t=e.disposeEffect,a.useEffect(t,ae),e}(),b=a.useRef(null),v=a.useRef(null),x=a.useCallback((t=>{const{pulsate:r,rippleX:n,rippleY:o,rippleSize:a,cb:s}=t;u((t=>[...t,(0,e.jsx)(Fe,{classes:{ripple:m(i.ripple,Me.ripple),rippleVisible:m(i.rippleVisible,Me.rippleVisible),ripplePulsate:m(i.ripplePulsate,Me.ripplePulsate),child:m(i.child,Me.child),childLeaving:m(i.childLeaving,Me.childLeaving),childPulsate:m(i.childPulsate,Me.childPulsate)},timeout:550,pulsate:r,rippleX:n,rippleY:o,rippleSize:a},p.current)])),p.current+=1,h.current=s}),[i]),A=a.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&y.current)return void(y.current=!1);"touchstart"===(null==e?void 0:e.type)&&(y.current=!0);const s=a?null:v.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,u,p;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(r-c.top)}if(i)p=Math.sqrt((2*c.width**2+c.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-l),l)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===b.current&&(b.current=()=>{x({pulsate:n,rippleX:l,rippleY:u,rippleSize:p,cb:r})},g.start(80,(()=>{b.current&&(b.current(),b.current=null)}))):x({pulsate:n,rippleX:l,rippleY:u,rippleSize:p,cb:r})}),[o,x,g]),k=a.useCallback((()=>{A({},{pulsate:!0})}),[A]),w=a.useCallback(((e,t)=>{if(g.clear(),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void g.start(0,(()=>{w(e,t)}));b.current=null,u((e=>e.length>0?e.slice(1):e)),h.current=t}),[g]);return a.useImperativeHandle(r,(()=>({pulsate:k,start:A,stop:w})),[k,A,w]),(0,e.jsx)(We,(0,f.A)({className:m(Me.root,i.root,s),ref:v},c,{children:(0,e.jsx)(we,{component:null,exit:!0,children:l})}))}));function Ve(e){return Oe("MuiButtonBase",e)}const De=Ee("MuiButtonBase",["root","disabled","focusVisible"]),Ue=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Xe=J("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${De.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qe=a.forwardRef((function(t,r){const n=te({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:c,component:l="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:y=!1,LinkComponent:b="a",onBlur:v,onClick:x,onContextMenu:A,onDragLeave:k,onFocus:w,onFocusVisible:S,onKeyDown:$,onKeyUp:R,onMouseDown:C,onMouseLeave:O,onMouseUp:E,onTouchEnd:M,onTouchMove:T,onTouchStart:j,tabIndex:I=0,TouchRippleProps:P,touchRippleRef:_,type:z}=n,L=(0,d.A)(n,Ue),B=a.useRef(null),N=a.useRef(null),W=re(N,_),{isFocusVisibleRef:F,onFocus:K,onBlur:V,ref:D}=me(),[U,X]=a.useState(!1);u&&U&&X(!1),a.useImperativeHandle(o,(()=>({focusVisible:()=>{X(!0),B.current.focus()}})),[]);const[q,G]=a.useState(!1);a.useEffect((()=>{G(!0)}),[]);const H=q&&!p&&!u;function Y(e,t,r=h){return oe((n=>(t&&t(n),!r&&N.current&&N.current[e](n),!0)))}a.useEffect((()=>{U&&y&&!p&&q&&N.current.pulsate()}),[p,y,U,q]);const Z=Y("start",C),Q=Y("stop",A),J=Y("stop",k),ee=Y("stop",E),ne=Y("stop",(e=>{U&&e.preventDefault(),O&&O(e)})),ie=Y("start",j),ae=Y("stop",M),se=Y("stop",T),ce=Y("stop",(e=>{V(e),!1===F.current&&X(!1),v&&v(e)}),!1),le=oe((e=>{B.current||(B.current=e.currentTarget),K(e),!0===F.current&&(X(!0),S&&S(e)),w&&w(e)})),ue=()=>{const e=B.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},pe=a.useRef(!1),de=oe((e=>{y&&!pe.current&&U&&N.current&&" "===e.key&&(pe.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&ue()&&" "===e.key&&e.preventDefault(),$&&$(e),e.target===e.currentTarget&&ue()&&"Enter"===e.key&&!u&&(e.preventDefault(),x&&x(e))})),fe=oe((e=>{y&&" "===e.key&&N.current&&U&&!e.defaultPrevented&&(pe.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),R&&R(e),x&&e.target===e.currentTarget&&ue()&&" "===e.key&&!e.defaultPrevented&&x(e)}));let he=l;"button"===he&&(L.href||L.to)&&(he=b);const ye={};"button"===he?(ye.type=void 0===z?"button":z,ye.disabled=u):(L.href||L.to||(ye.role="button"),u&&(ye["aria-disabled"]=u));const ge=re(r,D,B),be=(0,f.A)({},n,{centerRipple:i,component:l,disabled:u,disableRipple:p,disableTouchRipple:h,focusRipple:y,tabIndex:I,focusVisible:U}),ve=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=g({root:["root",t&&"disabled",r&&"focusVisible"]},Ve,o);return r&&n&&(i.root+=` ${n}`),i})(be);return(0,e.jsxs)(Xe,(0,f.A)({as:he,className:m(ve.root,c),ownerState:be,onBlur:ce,onClick:x,onContextMenu:Q,onFocus:le,onKeyDown:de,onKeyUp:fe,onMouseDown:Z,onMouseLeave:ne,onMouseUp:ee,onDragLeave:J,onTouchEnd:ae,onTouchMove:se,onTouchStart:ie,ref:ge,tabIndex:u?-1:I,type:z},ye,L,{children:[s,H?(0,e.jsx)(Ke,(0,f.A)({ref:W,center:i},P)):null]}))})),Ge=qe,He=r(680).A;function Ye(e){return Oe("MuiButton",e)}const Ze=Ee("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Qe=a.createContext({}),Je=a.createContext(void 0),et=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],tt=e=>(0,f.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),rt=J(Ge,{shouldForwardProp:e=>Q(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${He(r.color)}`],t[`size${He(r.size)}`],t[`${r.variant}Size${He(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,f.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,f.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,b.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,b.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,b.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,f.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Ze.focusVisible}`]:(0,f.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Ze.disabled}`]:(0,f.A)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,b.X4)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ze.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ze.disabled}`]:{boxShadow:"none"}})),nt=J("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${He(r.size)}`]]}})((({ownerState:e})=>(0,f.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},tt(e)))),ot=J("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${He(r.size)}`]]}})((({ownerState:e})=>(0,f.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},tt(e)))),it=a.forwardRef((function(t,r){const n=a.useContext(Qe),o=a.useContext(Je),i=te({props:y(n,t),name:"MuiButton"}),{children:s,color:c="primary",component:l="button",className:u,disabled:p=!1,disableElevation:h=!1,disableFocusRipple:b=!1,endIcon:v,focusVisibleClassName:x,fullWidth:A=!1,size:k="medium",startIcon:w,type:S,variant:$="text"}=i,R=(0,d.A)(i,et),C=(0,f.A)({},i,{color:c,component:l,disabled:p,disableElevation:h,disableFocusRipple:b,fullWidth:A,size:k,type:S,variant:$}),O=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s=g({root:["root",i,`${i}${He(t)}`,`size${He(o)}`,`${i}Size${He(o)}`,`color${He(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${He(o)}`],endIcon:["icon","endIcon",`iconSize${He(o)}`]},Ye,a);return(0,f.A)({},a,s)})(C),E=w&&(0,e.jsx)(nt,{className:O.startIcon,ownerState:C,children:w}),M=v&&(0,e.jsx)(ot,{className:O.endIcon,ownerState:C,children:v}),T=o||"";return(0,e.jsxs)(rt,(0,f.A)({ownerState:C,className:m(n.className,O.root,u,T),component:l,disabled:p,focusRipple:!b,focusVisibleClassName:m(O.focusVisible,x),ref:r,type:S},R,{classes:O,children:[E,s,M]}))})),at=()=>{const{instance:e,inProgress:r}=(0,t.useMsal)(),n=e.getAllAccounts()[0];return{getToken:t=>e.acquireTokenSilent({scopes:t||[],account:n}).then((({accessToken:e})=>`Bearer ${e}`)),isAuthenticated:(0,t.useIsAuthenticated)(),inProgress:"startup"===r||"login"===r,instance:e,account:n}};var st=r(349),ct=r.n(st);const lt={Container:ct().div`
76
76
  display: flex;
77
77
  flex-direction: column;
78
78
  justify-content: center;
79
79
  align-items: center;
80
80
  flex: 1;
81
- `,Link:st().a`
81
+ `,Link:ct().a`
82
82
  text-decoration: "underline";
83
- `},lt=()=>{const{instance:r}=(0,t.useMsal)(),{account:n}=it(),[o,i]=(0,a.useState)();return o?(0,e.jsxs)(ct.Container,{children:[(0,e.jsxs)("p",{children:["En feil oppstod: ",o.errorCode]}),(0,e.jsxs)("span",{children:["Prøv å gå direkte til ",(0,e.jsx)(ct.Link,{target:"_blank",href:"https://skjer.snokam.no/?enforceLogin=true",rel:"noopener noreferrer",children:"skjer.snokam.no"}),"."]})]}):(0,e.jsxs)(ct.Container,{children:["Du må logge inn på nytt for å vise siden",(0,e.jsx)(ot,{sx:{marginTop:"1rem"},onClick:()=>{l(),r.loginPopup(Object.assign(Object.assign(Object.assign({},c),n&&{account:n}),{redirectUri:"/blank.html"})).then((()=>i(void 0))).catch((e=>i(e)))},children:"Fortsett"})]})},ut=r=>{const{children:n}=r,{query:a}=(0,i.useRouter)(),s=a.username,p=(null==a?void 0:a.enforceLogin)&&(null==a?void 0:a.username)?o.InteractionType.Silent:o.InteractionType.Redirect,d=Object.assign(Object.assign(Object.assign({},c),s&&{loginHint:s}),{onRedirectNavigate:e=>{l()}});return(0,e.jsx)(t.MsalAuthenticationTemplate,{interactionType:p,authenticationRequest:d,errorComponent:lt,loadingComponent:()=>(0,e.jsx)(u.PageLoader,{color:"inherit"}),children:n})},pt=(()=>{const e=process.env.NEXT_PUBLIC_AZURE_AD_CLIENT_ID,t=process.env.NEXT_PUBLIC_AZURE_AD_TENANT_ID;if(!e)throw new Error("NEXT_PUBLIC_AZURE_AD_CLIENT_ID must be set in the environment variables");if(!t)throw new Error("NEXT_PUBLIC_AZURE_AD_TENANT_ID must be set in the environment variables");return{auth:{clientId:`${process.env.NEXT_PUBLIC_AZURE_AD_CLIENT_ID}`,authority:`https://login.microsoftonline.com/${process.env.NEXT_PUBLIC_AZURE_AD_TENANT_ID}/`,postLogoutRedirectUri:"/",redirectUri:"/callback",navigateToLoginRequestUrl:!1},system:{allowRedirectInIframe:!0},cache:{storeAuthStateInCookie:!0,cacheLocation:"localStorage"}}})(),dt=(0,a.useMemo)((()=>new o.PublicClientApplication(pt)),[pt]);dt.initialize();const ft={Provider:function(r){const{children:n,enforceLogin:o}=r,{query:a}=(0,i.useRouter)();return a.enforceLogin||o?(0,e.jsx)(t.MsalProvider,{instance:dt,children:(0,e.jsx)(ut,Object.assign({},r,{children:n}))}):(0,e.jsx)(t.MsalProvider,{instance:dt,children:n})}}})(),n})()));
83
+ `},ut=()=>{const{instance:r}=(0,t.useMsal)(),{account:n}=at(),[o,i]=(0,a.useState)();return o?(0,e.jsxs)(lt.Container,{children:[(0,e.jsxs)("p",{children:["En feil oppstod: ",o.errorCode]}),(0,e.jsxs)("span",{children:["Prøv å gå direkte til ",(0,e.jsx)(lt.Link,{target:"_blank",href:"https://skjer.snokam.no/?enforceLogin=true",rel:"noopener noreferrer",children:"skjer.snokam.no"}),"."]})]}):(0,e.jsxs)(lt.Container,{children:["Du må logge inn på nytt for å vise siden",(0,e.jsx)(it,{sx:{marginTop:"1rem"},onClick:()=>{u(),r.loginPopup(Object.assign(Object.assign(Object.assign({},l),n&&{account:n}),{redirectUri:"/blank.html"})).then((()=>i(void 0))).catch((e=>i(e)))},children:"Fortsett"})]})},pt=r=>{const{children:n}=r,{query:a}=(0,i.useRouter)(),s=a.username,c=(null==a?void 0:a.enforceLogin)&&(null==a?void 0:a.username)?o.InteractionType.Silent:o.InteractionType.Redirect,d=Object.assign(Object.assign(Object.assign({},l),s&&{loginHint:s}),{onRedirectNavigate:e=>{u()}});return(0,e.jsx)(t.MsalAuthenticationTemplate,{interactionType:c,authenticationRequest:d,errorComponent:ut,loadingComponent:()=>(0,e.jsx)(p.PageLoader,{color:"inherit"}),children:n})},dt=(0,a.useMemo)((()=>new o.PublicClientApplication(c)),[c]);dt.initialize();const ft={Provider:function(r){const{children:n,enforceLogin:o}=r,{query:a}=(0,i.useRouter)();if(!process.env.NEXT_PUBLIC_AZURE_AD_CLIENT_ID)throw new Error("NEXT_PUBLIC_AZURE_AD_CLIENT_ID must be set in the environment variables");if(!process.env.NEXT_PUBLIC_AZURE_AD_TENANT_ID)throw new Error("NEXT_PUBLIC_AZURE_AD_TENANT_ID must be set in the environment variables");return a.enforceLogin||o?(0,e.jsx)(t.MsalProvider,{instance:dt,children:(0,e.jsx)(pt,Object.assign({},r,{children:n}))}):(0,e.jsx)(t.MsalProvider,{instance:dt,children:n})}}})(),n})()));
84
84
  //# sourceMappingURL=index.js.map