"use strict";(self.webpackChunkreally_simple_ssl=self.webpackChunkreally_simple_ssl||[]).push([[393],{3393:(e,t,r)=>{r.r(t),r.d(t,{MuiThemeProvider:()=>G,ServerStyleSheets:()=>j,StylesProvider:()=>_.Ay,ThemeProvider:()=>G,alpha:()=>n.X4,createGenerateClassName:()=>H.A,createMuiTheme:()=>o.D,createStyles:()=>s,createTheme:()=>o.A,darken:()=>n.e$,decomposeColor:()=>n.rP,duration:()=>w.p0,easing:()=>w.cz,emphasize:()=>n.tL,fade:()=>n.Rv,getContrastRatio:()=>n.eM,getLuminance:()=>n.J1,hexToRgb:()=>n.E2,hslToRgb:()=>n.YL,jssPreset:()=>X.A,lighten:()=>n.a,makeStyles:()=>f,recomposeColor:()=>n.X0,responsiveFontSizes:()=>A,rgbToHex:()=>n.Ob,styled:()=>R,unstable_createMuiStrictModeTheme:()=>a,useTheme:()=>x.A,withStyles:()=>E.A,withTheme:()=>z});var n=r(9773),o=r(6440),i=r(2851);function a(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return o.A.apply(void 0,[(0,i.A)({unstable_strictMode:!0},e)].concat(r))}function s(e){return e}var l=r(8168),u=r(9815),c=r(7114);const f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,u.A)(e,(0,l.A)({defaultTheme:c.A},t))};var h=r(7860),m=r(4467);function v(e){return String(parseFloat(e)).length===String(e).length}function p(e){return parseFloat(e)}function d(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.breakpoints,n=void 0===r?["sm","md","lg"]:r,o=t.disableAlign,i=void 0!==o&&o,a=t.factor,s=void 0===a?2:a,u=t.variants,c=void 0===u?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:u,f=(0,l.A)({},e);f.typography=(0,l.A)({},f.typography);var A,y=f.typography,g=(A=y.htmlFontSize,function(e,t){var r=String(e).match(/[\d.\-+]*\s*(.*)/)[1]||"";if(r===t)return e;var n=p(e);if("px"!==r)if("em"===r)n=p(e)*p(A);else if("rem"===r)return n=p(e)*p(A),e;var o=n;if("px"!==t)if("em"===t)o=n/p(A);else{if("rem"!==t)return e;o=n/p(A)}return parseFloat(o.toFixed(5))+t}),S=n.map((function(e){return f.breakpoints.values[e]}));return c.forEach((function(e){var t=y[e],r=parseFloat(g(t.fontSize,"rem"));if(!(r<=1)){var n=r,o=1+(n-1)/s,a=t.lineHeight;if(!v(a)&&!i)throw new Error((0,h.A)(6));v(a)||(a=parseFloat(g(a,"rem"))/parseFloat(r));var u=null;i||(u=function(e){return(r=(t={size:e,grid:d({pixels:4,lineHeight:a,htmlFontSize:y.htmlFontSize})}).size)-(o=r-r%(n=t.grid))<(i=o+n)-r?o:i;var t,r,n,o,i}),y[e]=(0,l.A)({},t,function(e){var t=e.cssProperty,r=e.min,n=e.max,o=e.unit,i=void 0===o?"rem":o,a=e.breakpoints,s=void 0===a?[600,960,1280]:a,l=e.transform,u=void 0===l?null:l,c=(0,m.A)({},t,"".concat(r).concat(i)),f=(n-r)/s[s.length-1];return s.forEach((function(e){var n=r+f*e;null!==u&&(n=u(n)),c["@media (min-width:".concat(e,"px)")]=(0,m.A)({},t,"".concat(Math.round(1e4*n)/1e4).concat(i))})),c}({cssProperty:"fontSize",min:o,max:n,unit:"rem",breakpoints:S,transform:u}))}})),f}var y=r(45),g=r(1609),S=r.n(g),b=r(53),T=r(4146),k=r.n(T);const R=function(e){var t=function(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.name,i=(0,y.A)(n,["name"]),a=o,s="function"==typeof t?function(e){return{root:function(r){return t((0,l.A)({theme:e},r))}}}:{root:t},c=(0,u.A)(s,(0,l.A)({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(r=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var f=S().forwardRef((function(t,n){var o,i,a,s=t.children,u=t.className,f=t.clone,h=t.component,m=(0,y.A)(t,["children","className","clone","component"]),v=c(t),p=(0,b.A)(v.root,u),d=m;if(r&&(o=d,i=r,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),d=a),f)return S().cloneElement(s,(0,l.A)({className:(0,b.A)(s.props.className,p)},d));if("function"==typeof s)return s((0,l.A)({className:p},d));var A=h||e;return S().createElement(A,(0,l.A)({ref:n,className:p},d),s)}));return k()(f,e),f}}(e);return function(e,r){return t(e,(0,l.A)({defaultTheme:c.A},r))}};var w=r(3870),x=r(6232),E=r(5192),F=r(2143);function P(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var r=S().forwardRef((function(r,n){var o=r.innerRef,i=(0,y.A)(r,["innerRef"]),a=(0,F.A)()||e;return S().createElement(t,(0,l.A)({theme:a,ref:o||n},i))}));return k()(r,t),r}}P();const z=P({defaultTheme:c.A});var M=r(3029),N=r(2901),C=r(3317),_=r(9117),H=r(1233),j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,M.A)(this,e),this.options=t}return(0,N.A)(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new C.SN;var r=(0,H.A)();return S().createElement(_.Ay,(0,l.A)({sheetsManager:t,serverGenerateClassName:r,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return S().createElement("style",(0,l.A)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}(),L=r(6895),O=r(4910);const G=function(e){var t=e.children,r=e.theme,n=(0,F.A)(),o=S().useMemo((function(){var e=null===n?r:function(e,t){return"function"==typeof t?t(e):(0,l.A)({},e,t)}(n,r);return null!=e&&(e[O.A]=null!==n),e}),[r,n]);return S().createElement(L.A.Provider,{value:o},t)};var X=r(9350)}}]);