UNPKG

@techdocs/cli

Version:

Utility CLI for managing TechDocs sites in Backstage.

3 lines (2 loc) • 31 kB
"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[1678],{87271:(te,k,b)=>{b.d(k,{A:()=>F});var m=b(89575),j=b(17502),P=b(14041);const $=P.createContext(null);function E(){return P.useContext($)}const I=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var w=b(31085);function N(x,g){return typeof g=="function"?g(x):(0,m.A)({},x,g)}function V(x){const{children:g,theme:M}=x,W=E(),U=P.useMemo(()=>{const O=W===null?M:N(W,M);return O!=null&&(O[I]=W!==null),O},[M,W]);return(0,w.jsx)($.Provider,{value:U,children:g})}const ee=V;var ne=b(65502);function re(x){return Object.keys(x).length===0}function ue(x=null){const g=P.useContext(ne.T);return!g||re(g)?x:g}const se=ue,ge=["value"],X=P.createContext();function oe(x){let{value:g}=x,M=(0,j.A)(x,ge);return(0,w.jsx)(X.Provider,(0,m.A)({value:g??!0},M))}const q=()=>{const x=React.useContext(X);return x??!1},le=oe,C=P.createContext(void 0);function a({value:x,children:g}){return(0,w.jsx)(C.Provider,{value:x,children:g})}function c(x){const{theme:g,name:M,props:W}=x;if(!g||!g.components||!g.components[M])return W;const U=g.components[M];return U.defaultProps?resolveProps(U.defaultProps,W):!U.styleOverrides&&!U.variants?resolveProps(U,W):W}function t({props:x,name:g}){const M=React.useContext(C);return c({props:x,name:g,theme:{components:M}})}const o=a,u={};function d(x,g,M,W=!1){return P.useMemo(()=>{const U=x&&g[x]||g;if(typeof M=="function"){const O=M(U),T=x?(0,m.A)({},g,{[x]:O}):O;return W?()=>T:T}return x?(0,m.A)({},g,{[x]:M}):(0,m.A)({},g,M)},[x,g,M,W])}function _(x){const{children:g,theme:M,themeId:W}=x,U=se(u),O=E()||u,T=d(W,U,M),xe=d(W,O,M,!0),Me=T.direction==="rtl";return(0,w.jsx)(ee,{theme:xe,children:(0,w.jsx)(ne.T.Provider,{value:T,children:(0,w.jsx)(le,{value:Me,children:(0,w.jsx)(o,{value:T?.components,children:g})})})})}const K=_,L="$$material",Y=["theme"];function F(x){let{theme:g}=x,M=(0,j.A)(x,Y);const W=g[L];return(0,w.jsx)(K,(0,m.A)({},M,{themeId:W?L:void 0,theme:W||g}))}},17161:(te,k,b)=>{b.d(k,{A:()=>qt});var m=b(89575),j=b(17502),P=b(62886),G=b(14041);function $(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function E(e){if(G.isValidElement(e)||!$(e))return e;const n={};return Object.keys(e).forEach(r=>{n[r]=E(e[r])}),n}function H(e,n,r={clone:!0}){const s=r.clone?(0,m.A)({},e):e;return $(e)&&$(n)&&Object.keys(n).forEach(i=>{G.isValidElement(n[i])?s[i]=n[i]:$(n[i])&&Object.prototype.hasOwnProperty.call(e,i)&&$(e[i])?s[i]=H(e[i],n[i],r):r.clone?s[i]=$(n[i])?E(n[i]):n[i]:s[i]=n[i]}),s}const I={xs:0,sm:600,md:900,lg:1200,xl:1536},w={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${I[e]}px)`};function N(e,n,r){const s=e.theme||{};if(Array.isArray(n)){const l=s.breakpoints||w;return n.reduce((f,h,y)=>(f[l.up(l.keys[y])]=r(n[y]),f),{})}if(typeof n=="object"){const l=s.breakpoints||w;return Object.keys(n).reduce((f,h)=>{if(Object.keys(l.values||I).indexOf(h)!==-1){const y=l.up(h);f[y]=r(n[h],h)}else{const y=h;f[y]=n[y]}return f},{})}return r(n)}function V(e){const n=r=>{const s=r.theme||{},i=e(r),l=s.breakpoints||w,f=l.keys.reduce((h,y)=>(r[y]&&(h=h||{},h[l.up(y)]=e(_extends({theme:s},r[y]))),h),null);return merge(i,f)};return n.propTypes={},n.filterProps=["xs","sm","md","lg","xl",...e.filterProps],n}function ee(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((s,i)=>{const l=e.up(i);return s[l]={},s},{}))||{}}function ne(e,n){return e.reduce((r,s)=>{const i=r[s];return(!i||Object.keys(i).length===0)&&delete r[s],r},n)}function re(e,...n){const r=ee(e),s=[r,...n].reduce((i,l)=>deepmerge(i,l),{});return ne(Object.keys(r),s)}function ue(e,n){if(typeof e!="object")return{};const r={},s=Object.keys(n);return Array.isArray(e)?s.forEach((i,l)=>{l<e.length&&(r[i]=!0)}):s.forEach(i=>{e[i]!=null&&(r[i]=!0)}),r}function se({values:e,breakpoints:n,base:r}){const s=r||ue(e,n),i=Object.keys(s);if(i.length===0)return e;let l;return i.reduce((f,h,y)=>(Array.isArray(e)?(f[h]=e[y]!=null?e[y]:e[l],l=y):typeof e=="object"?(f[h]=e[h]!=null?e[h]:e[l],l=h):f[h]=e,f),{})}const ge=null;function X(e){if(typeof e!="string")throw new Error((0,P.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}function oe(e,n,r=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&r){const s=`vars.${n}`.split(".").reduce((i,l)=>i&&i[l]?i[l]:null,e);if(s!=null)return s}return n.split(".").reduce((s,i)=>s&&s[i]!=null?s[i]:null,e)}function q(e,n,r,s=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||s:i=oe(e,r)||s,n&&(i=n(i,s,e)),i}function le(e){const{prop:n,cssProperty:r=e.prop,themeKey:s,transform:i}=e,l=f=>{if(f[n]==null)return null;const h=f[n],y=f.theme,A=oe(y,s)||{};return N(f,h,S=>{let p=q(A,i,S);return S===p&&typeof S=="string"&&(p=q(A,i,`${n}${S==="default"?"":X(S)}`,S)),r===!1?p:{[r]:p}})};return l.propTypes={},l.filterProps=[n],l}const C=le;function a(e,n){return n?H(e,n,{clone:!1}):e}const c=a;function t(e){const n={};return r=>(n[r]===void 0&&(n[r]=e(r)),n[r])}const o={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},d={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_=t(e=>{if(e.length>2)if(d[e])e=d[e];else return[e];const[n,r]=e.split(""),s=o[n],i=u[r]||"";return Array.isArray(i)?i.map(l=>s+l):[s+i]}),K=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],L=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Y=[...K,...L];function F(e,n,r,s){var i;const l=(i=oe(e,n,!1))!=null?i:r;return typeof l=="number"?f=>typeof f=="string"?f:l*f:Array.isArray(l)?f=>typeof f=="string"?f:l[f]:typeof l=="function"?l:()=>{}}function x(e){return F(e,"spacing",8,"spacing")}function g(e,n){if(typeof n=="string"||n==null)return n;const r=Math.abs(n),s=e(r);return n>=0?s:typeof s=="number"?-s:`-${s}`}function M(e,n){return r=>e.reduce((s,i)=>(s[i]=g(n,r),s),{})}function W(e,n,r,s){if(n.indexOf(r)===-1)return null;const i=_(r),l=M(i,s),f=e[r];return N(e,f,l)}function U(e,n){const r=x(e.theme);return Object.keys(e).map(s=>W(e,n,s,r)).reduce(c,{})}function O(e){return U(e,K)}O.propTypes={},O.filterProps=K;function T(e){return U(e,L)}T.propTypes={},T.filterProps=L;function xe(e){return U(e,Y)}xe.propTypes={},xe.filterProps=Y;const Me=null;function ze(...e){const n=e.reduce((s,i)=>(i.filterProps.forEach(l=>{s[l]=i}),s),{}),r=s=>Object.keys(s).reduce((i,l)=>n[l]?c(i,n[l](s)):i,{});return r.propTypes={},r.filterProps=e.reduce((s,i)=>s.concat(i.filterProps),[]),r}const ve=ze;function Q(e){return typeof e!="number"?e:`${e}px solid`}function Z(e,n){return C({prop:e,themeKey:"borders",transform:n})}const Le=Z("border",Q),Ge=Z("borderTop",Q),He=Z("borderRight",Q),Fe=Z("borderBottom",Q),Ue=Z("borderLeft",Q),Ne=Z("borderColor"),Xe=Z("borderTopColor"),Ye=Z("borderRightColor"),Je=Z("borderBottomColor"),Qe=Z("borderLeftColor"),Ze=Z("outline",Q),Ve=Z("outlineColor"),Ae=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=F(e.theme,"shape.borderRadius",4,"borderRadius"),r=s=>({borderRadius:g(n,s)});return N(e,e.borderRadius,r)}return null};Ae.propTypes={},Ae.filterProps=["borderRadius"];const nn=ve(Le,Ge,He,Fe,Ue,Ne,Xe,Ye,Je,Qe,Ae,Ze,Ve),rn=null,Oe=e=>{if(e.gap!==void 0&&e.gap!==null){const n=F(e.theme,"spacing",8,"gap"),r=s=>({gap:g(n,s)});return N(e,e.gap,r)}return null};Oe.propTypes={},Oe.filterProps=["gap"];const Te=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=F(e.theme,"spacing",8,"columnGap"),r=s=>({columnGap:g(n,s)});return N(e,e.columnGap,r)}return null};Te.propTypes={},Te.filterProps=["columnGap"];const _e=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=F(e.theme,"spacing",8,"rowGap"),r=s=>({rowGap:g(n,s)});return N(e,e.rowGap,r)}return null};_e.propTypes={},_e.filterProps=["rowGap"];const qe=C({prop:"gridColumn"}),et=C({prop:"gridRow"}),tt=C({prop:"gridAutoFlow"}),nt=C({prop:"gridAutoColumns"}),rt=C({prop:"gridAutoRows"}),st=C({prop:"gridTemplateColumns"}),ot=C({prop:"gridTemplateRows"}),it=C({prop:"gridTemplateAreas"}),at=C({prop:"gridArea"}),sn=ve(Oe,Te,_e,qe,et,tt,nt,rt,st,ot,it,at),on=null;function fe(e,n){return n==="grey"?n:e}const ut=C({prop:"color",themeKey:"palette",transform:fe}),lt=C({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fe}),ft=C({prop:"backgroundColor",themeKey:"palette",transform:fe}),an=ve(ut,lt,ft),un=null;function J(e){return e<=1&&e!==0?`${e*100}%`:e}const ct=C({prop:"width",transform:J}),Pe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=r=>{var s,i;const l=((s=e.theme)==null||(s=s.breakpoints)==null||(s=s.values)==null?void 0:s[r])||I[r];return l?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${l}${e.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:J(r)}};return N(e,e.maxWidth,n)}return null};Pe.filterProps=["maxWidth"];const dt=C({prop:"minWidth",transform:J}),mt=C({prop:"height",transform:J}),pt=C({prop:"maxHeight",transform:J}),ht=C({prop:"minHeight",transform:J}),ln=C({prop:"size",cssProperty:"width",transform:J}),fn=C({prop:"size",cssProperty:"height",transform:J}),gt=C({prop:"boxSizing"}),cn=ve(ct,Pe,dt,mt,pt,ht,gt),dn=null,$e={border:{themeKey:"borders",transform:Q},borderTop:{themeKey:"borders",transform:Q},borderRight:{themeKey:"borders",transform:Q},borderBottom:{themeKey:"borders",transform:Q},borderLeft:{themeKey:"borders",transform:Q},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Q},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ae},color:{themeKey:"palette",transform:fe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fe},backgroundColor:{themeKey:"palette",transform:fe},p:{style:T},pt:{style:T},pr:{style:T},pb:{style:T},pl:{style:T},px:{style:T},py:{style:T},padding:{style:T},paddingTop:{style:T},paddingRight:{style:T},paddingBottom:{style:T},paddingLeft:{style:T},paddingX:{style:T},paddingY:{style:T},paddingInline:{style:T},paddingInlineStart:{style:T},paddingInlineEnd:{style:T},paddingBlock:{style:T},paddingBlockStart:{style:T},paddingBlockEnd:{style:T},m:{style:O},mt:{style:O},mr:{style:O},mb:{style:O},ml:{style:O},mx:{style:O},my:{style:O},margin:{style:O},marginTop:{style:O},marginRight:{style:O},marginBottom:{style:O},marginLeft:{style:O},marginX:{style:O},marginY:{style:O},marginInline:{style:O},marginInlineStart:{style:O},marginInlineEnd:{style:O},marginBlock:{style:O},marginBlockStart:{style:O},marginBlockEnd:{style:O},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:Oe},rowGap:{style:_e},columnGap:{style:Te},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:J},maxWidth:{style:Pe},minWidth:{transform:J},height:{transform:J},maxHeight:{transform:J},minHeight:{transform:J},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function yt(...e){const n=e.reduce((s,i)=>s.concat(Object.keys(i)),[]),r=new Set(n);return e.every(s=>r.size===Object.keys(s).length)}function bt(e,n){return typeof e=="function"?e(n):e}function xt(){function e(r,s,i,l){const f={[r]:s,theme:i},h=l[r];if(!h)return{[r]:s};const{cssProperty:y=r,themeKey:A,transform:D,style:S}=h;if(s==null)return null;if(A==="typography"&&s==="inherit")return{[r]:s};const p=oe(i,A)||{};return S?S(f):N(f,s,B=>{let v=q(p,D,B);return B===v&&typeof B=="string"&&(v=q(p,D,`${r}${B==="default"?"":X(B)}`,B)),y===!1?v:{[y]:v}})}function n(r){var s;const{sx:i,theme:l={}}=r||{};if(!i)return null;const f=(s=l.unstable_sxConfig)!=null?s:$e;function h(y){let A=y;if(typeof y=="function")A=y(l);else if(typeof y!="object")return y;if(!A)return null;const D=ee(l.breakpoints),S=Object.keys(D);let p=D;return Object.keys(A).forEach(z=>{const B=bt(A[z],l);if(B!=null)if(typeof B=="object")if(f[z])p=c(p,e(z,B,l,f));else{const v=N({theme:l},B,ie=>({[z]:ie}));yt(v,B)?p[z]=n({sx:B,theme:l}):p=c(p,v)}else p=c(p,e(z,B,l,f))}),ne(S,p)}return Array.isArray(i)?i.map(h):h(i)}return n}const Re=xt();Re.filterProps=["sx"];const ke=Re,vt=["values","unit","step"],pn=null,At=e=>{const n=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return n.sort((r,s)=>r.val-s.val),n.reduce((r,s)=>(0,m.A)({},r,{[s.key]:s.val}),{})};function Ot(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,i=(0,j.A)(e,vt),l=At(n),f=Object.keys(l);function h(p){return`@media (min-width:${typeof n[p]=="number"?n[p]:p}${r})`}function y(p){return`@media (max-width:${(typeof n[p]=="number"?n[p]:p)-s/100}${r})`}function A(p,z){const B=f.indexOf(z);return`@media (min-width:${typeof n[p]=="number"?n[p]:p}${r}) and (max-width:${(B!==-1&&typeof n[f[B]]=="number"?n[f[B]]:z)-s/100}${r})`}function D(p){return f.indexOf(p)+1<f.length?A(p,f[f.indexOf(p)+1]):h(p)}function S(p){const z=f.indexOf(p);return z===0?h(f[1]):z===f.length-1?y(f[z]):A(p,f[f.indexOf(p)+1]).replace("@media","@media not all and")}return(0,m.A)({keys:f,values:l,up:h,down:y,between:A,only:D,not:S,unit:r},i)}const Tt={borderRadius:4};function _t(e=8){if(e.mui)return e;const n=x({spacing:e}),r=(...s)=>(s.length===0?[1]:s).map(l=>{const f=n(l);return typeof f=="number"?`${f}px`:f}).join(" ");return r.mui=!0,r}function Ct(e,n){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:n}:r.palette.mode===e?n:{}}const Pt=["breakpoints","palette","spacing","shape"];function $t(e={},...n){const{breakpoints:r={},palette:s={},spacing:i,shape:l={}}=e,f=(0,j.A)(e,Pt),h=Ot(r),y=_t(i);let A=H({breakpoints:h,direction:"ltr",components:{},palette:(0,m.A)({mode:"light"},s),spacing:y,shape:(0,m.A)({},Tt,l)},f);return A.applyStyles=Ct,A=n.reduce((D,S)=>H(D,S),A),A.unstable_sxConfig=(0,m.A)({},$e,f?.unstable_sxConfig),A.unstable_sx=function(S){return ke({sx:S,theme:this})},A}const Et=$t;function St(e,n){return(0,m.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},n)}var Ee=b(10984);const ye={black:"#000",white:"#fff"},wt={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"},ce={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"},de={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"},be={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"},me={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"},pe={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"},he={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"},Mt=["mode","contrastThreshold","tonalOffset"],Be={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:ye.white,default:ye.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}},Se={text:{primary:ye.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:ye.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 je(e,n,r,s){const i=s.light||s,l=s.dark||s*1.5;e[n]||(e.hasOwnProperty(r)?e[n]=e[r]:n==="light"?e.light=(0,Ee.a)(e.main,i):n==="dark"&&(e.dark=(0,Ee.e$)(e.main,l)))}function Rt(e="light"){return e==="dark"?{main:me[200],light:me[50],dark:me[400]}:{main:me[700],light:me[400],dark:me[800]}}function kt(e="light"){return e==="dark"?{main:ce[200],light:ce[50],dark:ce[400]}:{main:ce[500],light:ce[300],dark:ce[700]}}function Bt(e="light"){return e==="dark"?{main:de[500],light:de[300],dark:de[700]}:{main:de[700],light:de[400],dark:de[800]}}function jt(e="light"){return e==="dark"?{main:pe[400],light:pe[300],dark:pe[700]}:{main:pe[700],light:pe[500],dark:pe[900]}}function It(e="light"){return e==="dark"?{main:he[400],light:he[300],dark:he[700]}:{main:he[800],light:he[500],dark:he[900]}}function Kt(e="light"){return e==="dark"?{main:be[400],light:be[300],dark:be[700]}:{main:"#ed6c02",light:be[500],dark:be[900]}}function Wt(e){const{mode:n="light",contrastThreshold:r=3,tonalOffset:s=.2}=e,i=(0,j.A)(e,Mt),l=e.primary||Rt(n),f=e.secondary||kt(n),h=e.error||Bt(n),y=e.info||jt(n),A=e.success||It(n),D=e.warning||Kt(n);function S(v){return(0,Ee.eM)(v,Se.text.primary)>=r?Se.text.primary:Be.text.primary}const p=({color:v,name:ie,mainShade:ae=500,lightShade:Ce=300,darkShade:we=700})=>{if(v=(0,m.A)({},v),!v.main&&v[ae]&&(v.main=v[ae]),!v.hasOwnProperty("main"))throw new Error((0,P.A)(11,ie?` (${ie})`:"",ae));if(typeof v.main!="string")throw new Error((0,P.A)(12,ie?` (${ie})`:"",JSON.stringify(v.main)));return je(v,"light",Ce,s),je(v,"dark",we,s),v.contrastText||(v.contrastText=S(v.main)),v},z={dark:Se,light:Be};return H((0,m.A)({common:(0,m.A)({},ye),mode:n,primary:p({color:l,name:"primary"}),secondary:p({color:f,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:h,name:"error"}),warning:p({color:D,name:"warning"}),info:p({color:y,name:"info"}),success:p({color:A,name:"success"}),grey:wt,contrastThreshold:r,getContrastText:S,augmentColor:p,tonalOffset:s},z[n]),i)}const Dt=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function zt(e){return Math.round(e*1e5)/1e5}const Ie={textTransform:"uppercase"},Ke='"Roboto", "Helvetica", "Arial", sans-serif';function Lt(e,n){const r=typeof n=="function"?n(e):n,{fontFamily:s=Ke,fontSize:i=14,fontWeightLight:l=300,fontWeightRegular:f=400,fontWeightMedium:h=500,fontWeightBold:y=700,htmlFontSize:A=16,allVariants:D,pxToRem:S}=r,p=(0,j.A)(r,Dt),z=i/14,B=S||(ae=>`${ae/A*z}rem`),v=(ae,Ce,we,en,tn)=>(0,m.A)({fontFamily:s,fontWeight:ae,fontSize:B(Ce),lineHeight:we},s===Ke?{letterSpacing:`${zt(en/Ce)}em`}:{},tn,D),ie={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(f,48,1.167,0),h4:v(f,34,1.235,.25),h5:v(f,24,1.334,0),h6:v(h,20,1.6,.15),subtitle1:v(f,16,1.75,.15),subtitle2:v(h,14,1.57,.1),body1:v(f,16,1.5,.15),body2:v(f,14,1.43,.15),button:v(h,14,1.75,.4,Ie),caption:v(f,12,1.66,.4),overline:v(f,12,2.66,1,Ie),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return H((0,m.A)({htmlFontSize:A,pxToRem:B,fontFamily:s,fontSize:i,fontWeightLight:l,fontWeightRegular:f,fontWeightMedium:h,fontWeightBold:y},ie),p,{clone:!1})}const Gt=.2,Ht=.14,Ft=.12;function R(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Gt})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ht})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ft})`].join(",")}const Ut=["none",R(0,2,1,-1,0,1,1,0,0,1,3,0),R(0,3,1,-2,0,2,2,0,0,1,5,0),R(0,3,3,-2,0,3,4,0,0,1,8,0),R(0,2,4,-1,0,4,5,0,0,1,10,0),R(0,3,5,-1,0,5,8,0,0,1,14,0),R(0,3,5,-1,0,6,10,0,0,1,18,0),R(0,4,5,-2,0,7,10,1,0,2,16,1),R(0,5,5,-3,0,8,10,1,0,3,14,2),R(0,5,6,-3,0,9,12,1,0,3,16,2),R(0,6,6,-3,0,10,14,1,0,4,18,3),R(0,6,7,-4,0,11,15,1,0,4,20,3),R(0,7,8,-4,0,12,17,2,0,5,22,4),R(0,7,8,-4,0,13,19,2,0,5,24,4),R(0,7,9,-4,0,14,21,2,0,5,26,4),R(0,8,9,-5,0,15,22,2,0,6,28,5),R(0,8,10,-5,0,16,24,2,0,6,30,5),R(0,8,11,-5,0,17,26,2,0,6,32,5),R(0,9,11,-5,0,18,28,2,0,7,34,6),R(0,9,12,-6,0,19,29,2,0,7,36,6),R(0,10,13,-6,0,20,31,3,0,8,38,7),R(0,10,13,-6,0,21,33,3,0,8,40,7),R(0,10,14,-6,0,22,35,3,0,8,42,7),R(0,11,14,-7,0,23,36,3,0,9,44,8),R(0,11,15,-7,0,24,38,3,0,9,46,8)],Nt=["duration","easing","delay"],Xt={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)"},Yt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function We(e){return`${Math.round(e)}ms`}function Jt(e){if(!e)return 0;const n=e/36;return Math.round((4+15*n**.25+n/5)*10)}function Qt(e){const n=(0,m.A)({},Xt,e.easing),r=(0,m.A)({},Yt,e.duration),s=(i=["all"],l={})=>{const{duration:f=r.standard,easing:h=n.easeInOut,delay:y=0}=l,A=(0,j.A)(l,Nt);return(Array.isArray(i)?i:[i]).map(D=>`${D} ${typeof f=="string"?f:We(f)} ${h} ${typeof y=="string"?y:We(y)}`).join(",")};return(0,m.A)({getAutoHeightDuration:Jt,create:s},e,{easing:n,duration:r})}const Zt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Vt=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function De(e={},...n){const{mixins:r={},palette:s={},transitions:i={},typography:l={}}=e,f=(0,j.A)(e,Vt);if(e.vars)throw new Error((0,P.A)(18));const h=Wt(s),y=Et(e);let A=H(y,{mixins:St(y.breakpoints,r),palette:h,shadows:Ut.slice(),typography:Lt(h,l),transitions:Qt(i),zIndex:(0,m.A)({},Zt)});return A=H(A,f),A=n.reduce((D,S)=>H(D,S),A),A.unstable_sxConfig=(0,m.A)({},$e,f?.unstable_sxConfig),A.unstable_sx=function(S){return ke({sx:S,theme:this})},A}let Pn=!1;function $n(...e){return De(...e)}const qt=De},12285:(te,k,b)=>{b.d(k,{A:()=>E});var m=b(14041),j=b(65502),P=b(67164),G=b(31085);let $;typeof document=="object"&&($=(0,P.A)({key:"css",prepend:!0}));function E(H){const{injectFirst:I,children:w}=H;return I&&$?(0,G.jsx)(j.C,{value:$,children:w}):w}},10984:(te,k,b)=>{var m,j=b(4293);m={value:!0},m=se,m=c,m=void 0,k.e$=X,m=I,m=C,k.eM=ue,m=re,m=E,m=ne,k.a=q,m=ge,m=void 0,m=oe,m=a,m=le,m=V,m=ee;var P=j(b(91471)),G=j(b(87717));function $(t,o=0,u=1){return(0,G.default)(t,o,u)}function E(t){t=t.slice(1);const o=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let u=t.match(o);return u&&u[0].length===1&&(u=u.map(d=>d+d)),u?`rgb${u.length===4?"a":""}(${u.map((d,_)=>_<3?parseInt(d,16):Math.round(parseInt(d,16)/255*1e3)/1e3).join(", ")})`:""}function H(t){const o=t.toString(16);return o.length===1?`0${o}`:o}function I(t){if(t.type)return t;if(t.charAt(0)==="#")return I(E(t));const o=t.indexOf("("),u=t.substring(0,o);if(["rgb","rgba","hsl","hsla","color"].indexOf(u)===-1)throw new Error((0,P.default)(9,t));let d=t.substring(o+1,t.length-1),_;if(u==="color"){if(d=d.split(" "),_=d.shift(),d.length===4&&d[3].charAt(0)==="/"&&(d[3]=d[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(_)===-1)throw new Error((0,P.default)(10,_))}else d=d.split(",");return d=d.map(K=>parseFloat(K)),{type:u,values:d,colorSpace:_}}const w=t=>{const o=I(t);return o.values.slice(0,3).map((u,d)=>o.type.indexOf("hsl")!==-1&&d!==0?`${u}%`:u).join(" ")};m=w,m=(t,o)=>{try{return w(t)}catch{return t}};function V(t){const{type:o,colorSpace:u}=t;let{values:d}=t;return o.indexOf("rgb")!==-1?d=d.map((_,K)=>K<3?parseInt(_,10):_):o.indexOf("hsl")!==-1&&(d[1]=`${d[1]}%`,d[2]=`${d[2]}%`),o.indexOf("color")!==-1?d=`${u} ${d.join(" ")}`:d=`${d.join(", ")}`,`${o}(${d})`}function ee(t){if(t.indexOf("#")===0)return t;const{values:o}=I(t);return`#${o.map((u,d)=>H(d===3?Math.round(255*u):u)).join("")}`}function ne(t){t=I(t);const{values:o}=t,u=o[0],d=o[1]/100,_=o[2]/100,K=d*Math.min(_,1-_),L=(x,g=(x+u/30)%12)=>_-K*Math.max(Math.min(g-3,9-g,1),-1);let Y="rgb";const F=[Math.round(L(0)*255),Math.round(L(8)*255),Math.round(L(4)*255)];return t.type==="hsla"&&(Y+="a",F.push(o[3])),V({type:Y,values:F})}function re(t){t=I(t);let o=t.type==="hsl"||t.type==="hsla"?I(ne(t)).values:t.values;return o=o.map(u=>(t.type!=="color"&&(u/=255),u<=.03928?u/12.92:((u+.055)/1.055)**2.4)),Number((.2126*o[0]+.7152*o[1]+.0722*o[2]).toFixed(3))}function ue(t,o){const u=re(t),d=re(o);return(Math.max(u,d)+.05)/(Math.min(u,d)+.05)}function se(t,o){return t=I(t),o=$(o),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${o}`:t.values[3]=o,V(t)}function ge(t,o,u){try{return se(t,o)}catch{return t}}function X(t,o){if(t=I(t),o=$(o),t.type.indexOf("hsl")!==-1)t.values[2]*=1-o;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let u=0;u<3;u+=1)t.values[u]*=1-o;return V(t)}function oe(t,o,u){try{return X(t,o)}catch{return t}}function q(t,o){if(t=I(t),o=$(o),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*o;else if(t.type.indexOf("rgb")!==-1)for(let u=0;u<3;u+=1)t.values[u]+=(255-t.values[u])*o;else if(t.type.indexOf("color")!==-1)for(let u=0;u<3;u+=1)t.values[u]+=(1-t.values[u])*o;return V(t)}function le(t,o,u){try{return q(t,o)}catch{return t}}function C(t,o=.15){return re(t)>.5?X(t,o):q(t,o)}function a(t,o,u){try{return C(t,o)}catch{return t}}function c(t,o,u,d=1){const _=(F,x)=>Math.round((F**(1/d)*(1-u)+x**(1/d)*u)**d),K=I(t),L=I(o),Y=[_(K.values[0],L.values[0]),_(K.values[1],L.values[1]),_(K.values[2],L.values[2])];return V({type:"rgb",values:Y})}},80012:(te,k,b)=>{b.d(k,{a:()=>X,e$:()=>se});var m=b(62886),j=b(51438);function P(a,c=0,t=1){return(0,j.A)(a,c,t)}function G(a){a=a.slice(1);const c=new RegExp(`.{1,${a.length>=6?2:1}}`,"g");let t=a.match(c);return t&&t[0].length===1&&(t=t.map(o=>o+o)),t?`rgb${t.length===4?"a":""}(${t.map((o,u)=>u<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function $(a){const c=a.toString(16);return c.length===1?`0${c}`:c}function E(a){if(a.type)return a;if(a.charAt(0)==="#")return E(G(a));const c=a.indexOf("("),t=a.substring(0,c);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error((0,m.A)(9,a));let o=a.substring(c+1,a.length-1),u;if(t==="color"){if(o=o.split(" "),u=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(u)===-1)throw new Error((0,m.A)(10,u))}else o=o.split(",");return o=o.map(d=>parseFloat(d)),{type:t,values:o,colorSpace:u}}const H=a=>{const c=E(a);return c.values.slice(0,3).map((t,o)=>c.type.indexOf("hsl")!==-1&&o!==0?`${t}%`:t).join(" ")},I=(a,c)=>{try{return H(a)}catch{return a}};function w(a){const{type:c,colorSpace:t}=a;let{values:o}=a;return c.indexOf("rgb")!==-1?o=o.map((u,d)=>d<3?parseInt(u,10):u):c.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),c.indexOf("color")!==-1?o=`${t} ${o.join(" ")}`:o=`${o.join(", ")}`,`${c}(${o})`}function N(a){if(a.indexOf("#")===0)return a;const{values:c}=E(a);return`#${c.map((t,o)=>$(o===3?Math.round(255*t):t)).join("")}`}function V(a){a=E(a);const{values:c}=a,t=c[0],o=c[1]/100,u=c[2]/100,d=o*Math.min(u,1-u),_=(Y,F=(Y+t/30)%12)=>u-d*Math.max(Math.min(F-3,9-F,1),-1);let K="rgb";const L=[Math.round(_(0)*255),Math.round(_(8)*255),Math.round(_(4)*255)];return a.type==="hsla"&&(K+="a",L.push(c[3])),w({type:K,values:L})}function ee(a){a=E(a);let c=a.type==="hsl"||a.type==="hsla"?E(V(a)).values:a.values;return c=c.map(t=>(a.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*c[0]+.7152*c[1]+.0722*c[2]).toFixed(3))}function ne(a,c){const t=ee(a),o=ee(c);return(Math.max(t,o)+.05)/(Math.min(t,o)+.05)}function re(a,c){return a=E(a),c=P(c),(a.type==="rgb"||a.type==="hsl")&&(a.type+="a"),a.type==="color"?a.values[3]=`/${c}`:a.values[3]=c,w(a)}function ue(a,c,t){try{return re(a,c)}catch{return a}}function se(a,c){if(a=E(a),c=P(c),a.type.indexOf("hsl")!==-1)a.values[2]*=1-c;else if(a.type.indexOf("rgb")!==-1||a.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)a.values[t]*=1-c;return w(a)}function ge(a,c,t){try{return se(a,c)}catch{return a}}function X(a,c){if(a=E(a),c=P(c),a.type.indexOf("hsl")!==-1)a.values[2]+=(100-a.values[2])*c;else if(a.type.indexOf("rgb")!==-1)for(let t=0;t<3;t+=1)a.values[t]+=(255-a.values[t])*c;else if(a.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)a.values[t]+=(1-a.values[t])*c;return w(a)}function oe(a,c,t){try{return X(a,c)}catch{return a}}function q(a,c=.15){return ee(a)>.5?se(a,c):X(a,c)}function le(a,c,t){try{return q(a,c)}catch{return a}}function C(a,c,t,o=1){const u=(L,Y)=>Math.round((L**(1/o)*(1-t)+Y**(1/o)*t)**o),d=E(a),_=E(c),K=[u(d.values[0],_.values[0]),u(d.values[1],_.values[1]),u(d.values[2],_.values[2])];return w({type:"rgb",values:K})}},64636:(te,k,b)=>{b.d(k,{A:()=>G});const m=$=>$,G=(()=>{let $=m;return{configure(E){$=E},generate(E){return $(E)},reset(){$=m}}})()},51438:(te,k,b)=>{b.d(k,{A:()=>j});function m(P,G=Number.MIN_SAFE_INTEGER,$=Number.MAX_SAFE_INTEGER){return Math.max(G,Math.min(P,$))}const j=m},87717:(te,k,b)=>{b.r(k),b.d(k,{default:()=>m.A});var m=b(51438)},62886:(te,k,b)=>{b.d(k,{A:()=>m});function m(j){let P="https://mui.com/production-error/?code="+j;for(let G=1;G<arguments.length;G+=1)P+="&args[]="+encodeURIComponent(arguments[G]);return"Minified MUI error #"+j+"; visit "+P+" for the full message."}},91471:(te,k,b)=>{b.r(k),b.d(k,{default:()=>m.A});var m=b(62886)}}]);})(); //# sourceMappingURL=module-mui.f702282a.js.map