UNPKG

@fyne/pdf

Version:

8 lines 484 kB
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s="0Vv8")}({0:function(e,t){},"0Vv8":function(e,t,n){"use strict";n.r(t);var r=n("lSNA"),i=n.n(r),o=n("QILm"),a=n.n(o),s=n("pVnL"),l=n.n(s),c=n("cDcd"),u=n.n(c),d=n("faye"),h=n.n(d);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){return String(parseFloat(e)).length===String(e).length}function v(e){return parseFloat(e)}function y(e){return function(t,n){var r=String(t).match(/[\d.\-+]*\s*(.*)/)[1]||"";if(r===n)return t;var i=v(t);if("px"!==r)if("em"===r)i=v(t)*v(e);else if("rem"===r)return i=v(t)*v(e),t;var o=i;if("px"!==n)if("em"===n)o=i/v(e);else{if("rem"!==n)return t;o=i/v(e)}return parseFloat(o.toFixed(5))+n}}function b(e){var t=e.size,n=e.grid,r=t-t%n,i=r+n;return t-r<i-t?r:i}function x(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)}function A(e){var t=e.cssProperty,n=e.min,r=e.max,i=e.unit,o=void 0===i?"rem":i,a=e.breakpoints,s=void 0===a?[600,960,1280]:a,l=e.transform,c=void 0===l?null:l,u=m({},t,"".concat(n).concat(o)),d=(r-n)/s[s.length-1];return s.forEach((function(e){var r=n+d*e;null!==c&&(r=c(r)),u["@media (min-width:".concat(e,"px)")]=m({},t,"".concat(Math.round(1e4*r)/1e4).concat(o))})),u}function C(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function E(e,t){if(null==e)return{};var n,r,i=C(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e){return e&&"object"===S(e)&&e.constructor===Object}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?p({},e):e;return w(e)&&w(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(w(t[i])&&i in e?r[i]=k(e[i],t[i],n):r[i]=t[i])})),r}var _=["xs","sm","md","lg","xl"];function P(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,a=void 0===o?5:o,s=E(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function c(e,t){var r=_.indexOf(t);return r===_.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[_[r+1]]?n[_[r+1]]:t)-a/100).concat(i,")")}return p({keys:_,values:n,up:l,down:function(e){var t=_.indexOf(e)+1,r=n[_[t]];return t===_.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(i,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)}function R(e,t,n){var r;return p({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p({paddingLeft:t(2),paddingRight:t(2)},n,m({},e.up("sm"),p({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},m(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),m(r,e.up("sm"),{minHeight:64}),r)},n)}var T={black:"#000",white:"#fff"},O={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},M={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},L={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},F={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"},N={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"},I={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"},D={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"};function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function B(e){if(e.type)return e;if("#"===e.charAt(0))return B(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(f(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function z(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function U(e){var t="hsl"===(e=B(e)).type?B(function(e){var t=(e=B(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-o*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),z({type:s,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function W(e,t){if(e=B(e),t=j(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return z(e)}function H(e,t){if(e=B(e),t=j(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return z(e)}var q={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:T.white,default:O[50]},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}},G={text:{primary:T.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:O[800],default:"#303030"},action:{active:T.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 V(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=H(e.main,i):"dark"===t&&(e.dark=W(e.main,o)))}function Y(e){var t=e.primary,n=void 0===t?{light:M[300],main:M[500],dark:M[700]}:t,r=e.secondary,i=void 0===r?{light:L.A200,main:L.A400,dark:L.A700}:r,o=e.error,a=void 0===o?{light:F[300],main:F[500],dark:F[700]}:o,s=e.warning,l=void 0===s?{light:N[300],main:N[500],dark:N[700]}:s,c=e.info,u=void 0===c?{light:I[300],main:I[500],dark:I[700]}:c,d=e.success,h=void 0===d?{light:D[300],main:D[500],dark:D[700]}:d,m=e.type,g=void 0===m?"light":m,v=e.contrastThreshold,y=void 0===v?3:v,b=e.tonalOffset,x=void 0===b?.2:b,A=E(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function C(e){return function(e,t){var n=U(e),r=U(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,G.text.primary)>=y?G.text.primary:q.text.primary}var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=p({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(f(4,t));if("string"!=typeof e.main)throw new Error(f(5,JSON.stringify(e.main)));return V(e,"light",n,x),V(e,"dark",r,x),e.contrastText||(e.contrastText=C(e.main)),e},w={dark:G,light:q};return k(p({common:T,type:g,primary:S(n),secondary:S(i,"A400","A200","A700"),error:S(a),warning:S(l),info:S(u),success:S(h),grey:O,contrastThreshold:y,getContrastText:C,augmentColor:S,tonalOffset:x},w[g]),A)}function X(e){return Math.round(1e5*e)/1e5}var $={textTransform:"uppercase"};function J(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?'"Roboto", "Helvetica", "Arial", sans-serif':r,o=n.fontSize,a=void 0===o?14:o,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,h=void 0===d?500:d,f=n.fontWeightBold,m=void 0===f?700:f,g=n.htmlFontSize,v=void 0===g?16:g,y=n.allVariants,b=n.pxToRem,x=E(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var A=a/14,C=b||function(e){return"".concat(e/v*A,"rem")},S=function(e,t,n,r,o){return p({fontFamily:i,fontWeight:e,fontSize:C(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===i?{letterSpacing:"".concat(X(r/t),"em")}:{},o,y)},w={h1:S(l,96,1.167,-1.5),h2:S(l,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(h,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(h,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(h,14,1.75,.4,$),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,$)};return k(p({htmlFontSize:v,pxToRem:C,round:X,fontFamily:i,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:h,fontWeightBold:m},w),x,{clone:!1})}function K(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Q=["none",K(0,2,1,-1,0,1,1,0,0,1,3,0),K(0,3,1,-2,0,2,2,0,0,1,5,0),K(0,3,3,-2,0,3,4,0,0,1,8,0),K(0,2,4,-1,0,4,5,0,0,1,10,0),K(0,3,5,-1,0,5,8,0,0,1,14,0),K(0,3,5,-1,0,6,10,0,0,1,18,0),K(0,4,5,-2,0,7,10,1,0,2,16,1),K(0,5,5,-3,0,8,10,1,0,3,14,2),K(0,5,6,-3,0,9,12,1,0,3,16,2),K(0,6,6,-3,0,10,14,1,0,4,18,3),K(0,6,7,-4,0,11,15,1,0,4,20,3),K(0,7,8,-4,0,12,17,2,0,5,22,4),K(0,7,8,-4,0,13,19,2,0,5,24,4),K(0,7,9,-4,0,14,21,2,0,5,26,4),K(0,8,9,-5,0,15,22,2,0,6,28,5),K(0,8,10,-5,0,16,24,2,0,6,30,5),K(0,8,11,-5,0,17,26,2,0,6,32,5),K(0,9,11,-5,0,18,28,2,0,7,34,6),K(0,9,12,-6,0,19,29,2,0,7,36,6),K(0,10,13,-6,0,20,31,3,0,8,38,7),K(0,10,13,-6,0,21,33,3,0,8,40,7),K(0,10,14,-6,0,22,35,3,0,8,42,7),K(0,11,14,-7,0,23,36,3,0,9,44,8),K(0,11,15,-7,0,24,38,3,0,9,46,8)],Z={borderRadius:4};function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e,t){if(e){if("string"==typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ee(e,t):void 0}}function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n("17x9");var ie=function(e,t){return t?k(e,t,{clone:!1}):e},oe={xs:0,sm:600,md:960,lg:1280,xl:1920},ae={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(oe[e],"px)")}};var se={m:"margin",p:"padding"},le={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ce={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ue=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!ce[e])return[e];e=ce[e]}var t=ne(e.split(""),2),n=t[0],r=t[1],i=se[n],o=le[r]||"";return Array.isArray(o)?o.map((function(e){return i+e})):[i+o]})),de=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function he(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function pe(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function fe(e){var t=he(e.theme);return Object.keys(e).map((function(n){if(-1===de.indexOf(n))return null;var r=pe(ue(n),t),i=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||ae;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===S(t)){var i=e.theme.breakpoints||ae;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}(e,i,r)})).reduce(ie,{})}fe.propTypes={},fe.filterProps=de;function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=he({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var ge={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)"},ve={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ye(e){return"".concat(Math.round(e),"ms")}var be={easing:ge,duration:ve,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?ve.standard:n,i=t.easing,o=void 0===i?ge.easeInOut:i,a=t.delay,s=void 0===a?0:a;E(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:ye(r)," ").concat(o," ").concat("string"==typeof s?s:ye(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},xe={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var Ae=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,a=void 0===o?{}:o,s=e.spacing,l=e.typography,c=void 0===l?{}:l,u=E(e,["breakpoints","mixins","palette","spacing","typography"]),d=Y(a),h=P(n),p=me(s),f=k({breakpoints:h,direction:"ltr",mixins:R(h,p,i),overrides:{},palette:d,props:{},shadows:Q,typography:J(d,c),spacing:p,shape:Z,transitions:be,zIndex:xe},u),m=arguments.length,g=new Array(m>1?m-1:0),v=1;v<m;v++)g[v-1]=arguments[v];return f=g.reduce((function(e,t){return k(e,t)}),f)};var Ce=u.a.createContext(null);var Ee="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var Se=function(e){var t=e.children,n=e.theme,r=u.a.useContext(Ce),i=u.a.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):p(p({},e),t)}(r,n);return null!=e&&(e[Ee]=null!==r),e}),[n,r]);return u.a.createElement(Ce.Provider,{value:i},t)},we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ke="object"===("undefined"==typeof window?"undefined":we(window))&&"object"===("undefined"==typeof document?"undefined":we(document))&&9===document.nodeType;function _e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e,t,n){return t&&_e(e.prototype,t),n&&_e(e,n),e}function Re(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Oe={}.constructor;function Me(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Me);if(e.constructor!==Oe)return e;var t={};for(var n in e)t[n]=Me(e[n]);return t}function Le(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=Me(t),o=r.plugins.onCreateRule(e,i,n);return o||(e[0],null)}var Fe=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n};function Ne(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Fe(e[r]," ");else n=Fe(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}function Ie(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function De(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,a=t.fallbacks;if(e&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var l=a[s];for(var c in l){var u=l[c];null!=u&&(r&&(r+="\n"),r+=""+Ie(c+": "+Ne(u)+";",o))}}else for(var d in a){var h=a[d];null!=h&&(r&&(r+="\n"),r+=""+Ie(d+": "+Ne(h)+";",o))}for(var p in t){var f=t[p];null!=f&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+Ie(p+": "+Ne(f)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),Ie(e+" {"+r,--o)+Ie("}",o)):r}var je=/([[\].#*$><+~=|^:(),"'`\s])/g,Be="undefined"!=typeof CSS&&CSS.escape,ze=function(e){return Be?Be(e):e.replace(je,"\\$1")},Ue=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),We=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(Te(Te(i)),s),i.selectorText="."+ze(i.id)),i}Re(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Ne(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?p({},e,{allowEmpty:!0}):e;return De(this.selectorText,this.style,n)},Pe(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Ue),He={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new We(e,t,n)}},qe={indent:1,children:!0},Ge=/@([\w-]+)/,Ve=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.query=n.name;var r=e.match(Ge);for(var i in this.at=r?r[1]:"unknown",this.options=n,this.rules=new mt(p({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=qe),null==e.indent&&(e.indent=qe.indent),null==e.children&&(e.children=qe.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Ye=/@media|@supports\s+/,Xe={onCreateRule:function(e,t,n){return Ye.test(e)?new Ve(e,t,n):null}},$e={indent:1,children:!0},Je=/@keyframes\s+([\w-]+)/,Ke=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Je);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,a=n.generateId;for(var s in this.id=!1===i?this.name:ze(a(this,o)),this.rules=new mt(p({},n,{parent:this})),t)this.rules.add(s,t[s],p({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=$e),null==e.indent&&(e.indent=$e.indent),null==e.children&&(e.children=$e.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),Qe=/@keyframes\s+/,Ze=/\$([\w-]+)/g,et=function(e,t){return"string"==typeof e?e.replace(Ze,(function(e,n){return n in t?t[n]:e})):e},tt=function(e,t,n){var r=e[t],i=et(r,n);i!==r&&(e[t]=i)},nt={onCreateRule:function(e,t,n){return"string"==typeof e&&Qe.test(e)?new Ke(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&tt(e,"animation-name",n.keyframes),"animation"in e&&tt(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return et(e,r.keyframes);default:return e}}},rt=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Re(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?p({},e,{allowEmpty:!0}):e;return De(this.key,this.style,n)},t}(Ue),it={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new rt(e,t,n):null}},ot=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=De(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return De(this.at,this.style,e)},e}(),at=/@font-face/,st={onCreateRule:function(e,t,n){return at.test(e)?new ot(e,t,n):null}},lt=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return De(this.key,this.style,e)},e}(),ct={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new lt(e,t,n):null}},ut=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),dt={"@charset":!0,"@import":!0,"@namespace":!0},ht=[He,Xe,nt,it,st,ct,{onCreateRule:function(e,t,n){return e in dt?new ut(e,t,n):null}}],pt={process:!0},ft={force:!0,process:!0},mt=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,i=r.parent,o=r.sheet,a=r.jss,s=r.Renderer,l=r.generateId,c=r.scoped,u=p({classes:this.classes,parent:i,sheet:o,jss:a,Renderer:s,generateId:l,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(u.selector="."+ze(this.classes[d]));var h=Le(d,t,u);if(!h)return null;this.register(h);var f=void 0===u.index?this.index.length:u.index;return this.index.splice(f,0,h),h},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof We?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Ke&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof We?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Ke&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=pt);var i=this.options,o=i.jss.plugins,a=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t,l=s.style;if(o.onUpdate(n,t,a,r),r.process&&l&&l!==s.style){for(var c in o.onProcessStyle(s.style,s,a),s.style){var u=s.style[c];u!==l[c]&&s.prop(c,u,ft)}for(var d in l){var h=s.style[d],p=l[d];null==h&&h!==p&&s.prop(d,null,ft)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t},e}(),gt=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=p({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new mt(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),vt=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](e,t,n);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),yt=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=C(t,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},Pe(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),bt="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),xt="2f1acc6c3a606b082e5eef5e54414ffb";null==bt[xt]&&(bt[xt]=0);var At=bt[xt]++,Ct=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+At+i+t:o+n.key+"-"+At+(i?"-"+i:"")+"-"+t}},Et=function(e){var t;return function(){return t||(t=e()),t}};function St(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function wt(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Ne(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0}function kt(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function _t(e,t){return e.selectorText=t,e.selectorText===t}var Pt=Et((function(){return document.querySelector("head")}));function Rt(e){var t=yt.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=Pt(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var Tt=Et((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Ot=function(e,t,n){var r=e.cssRules.length;(void 0===n||n>r)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},Mt=function(){function e(e){this.getPropertyValue=St,this.setProperty=wt,this.removeProperty=kt,this.setSelector=_t,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&yt.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=Tt();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Rt(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else Pt().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,i=n;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(i=Ot(n,r.toString({children:!1}),t)))&&(this.insertRules(r.rules,i),i)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var o=e.toString();if(!o)return!1;var a=Ot(n,o,t);return!1!==a&&(this.hasInsertedRules=!0,e.renderable=a,a)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Lt=0,Ft=function(){function e(e){this.id=Lt++,this.version="10.4.0",this.plugins=new vt,this.options={id:{minify:!1},createGenerateId:Ct,Renderer:ke?Mt:null,plugins:[]},this.generateId=Ct({minify:!1});for(var t=0;t<ht.length;t++)this.plugins.use(ht[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=p({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===yt.index?0:yt.index+1);var r=new gt(e,p({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),yt.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=p({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=Le(e,t,r);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();var Nt="undefined"!=typeof CSS&&CSS&&"number"in CSS,It=function(e){return new Ft(e)},Dt=(It(),Date.now()),jt="fnValues"+Dt,Bt="fnStyle"+ ++Dt; /** * A better abstraction over CSS. * * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present * @website https://github.com/cssinjs/jss * @license MIT */var zt=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=Le(e,{},n);return r[Bt]=t,r},onProcessStyle:function(e,t){if(jt in t||Bt in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[jt]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[Bt];o&&(i.style=o(e)||{});var a=i[jt];if(a)for(var s in a)i.prop(s,a[s](e),r)}}},Ut="@global",Wt=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ut,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new mt(p({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Ht=function(){function e(e,t,n){this.type="global",this.at=Ut,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr("@global ".length);this.rule=n.jss.createRule(r,t,p({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),qt=/\s*,\s*/g;function Gt(e,t){for(var n=e.split(qt),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var Vt=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Ut)return new Wt(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new Ht(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,r=n?n[Ut]:null;if(r){for(var i in r)t.sheet.addRule(i,r[i],p({},t,{selector:Gt(i,e.selector)}));delete n[Ut]}}(e),function(e){var t=e.options,n=e.style;for(var r in n)if("@"===r[0]&&r.substr(0,Ut.length)===Ut){var i=Gt(r.substr(Ut.length),e.selector);t.sheet.addRule(i,n[r],p({},t,{selector:i})),delete n[r]}}(e))}}},Yt=/\s*,\s*/g,Xt=/&/g,$t=/\$([\w-]+)/g;var Jt=function(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(Yt),r=e.split(Yt),i="",o=0;o<n.length;o++)for(var a=n[o],s=0;s<r.length;s++){var l=r[s];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(Xt,a):a+" "+l}return i}function n(e,t,n){if(n)return p({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var i=p({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var a,s,l=i,c=l.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),h="@"===u[0];if(d||h){if(a=n(l,c,a),d){var f=t(u,l.selector);s||(s=e(c,o)),f=f.replace($t,s),c.addRule(f,r[u],p({},a,{selector:f}))}else h&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}},Kt=/[A-Z]/g,Qt=/^ms-/,Zt={};function en(e){return"-"+e.toLowerCase()}var tn=function(e){if(Zt.hasOwnProperty(e))return Zt[e];var t=e.replace(Kt,en);return Zt[e]=Qt.test(t)?"-"+t:t};function nn(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:tn(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(nn):t.fallbacks=nn(e.fallbacks)),t}var rn=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=nn(e[t]);return e}return nn(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=tn(t);return t===r?e:(n.prop(r,e),null)}}},on=Nt&&CSS?CSS.px:"px",an=Nt&&CSS?CSS.ms:"ms",sn=Nt&&CSS?CSS.percent:"%";function ln(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var cn=ln({"animation-delay":an,"animation-duration":an,"background-position":on,"background-position-x":on,"background-position-y":on,"background-size":on,border:on,"border-bottom":on,"border-bottom-left-radius":on,"border-bottom-right-radius":on,"border-bottom-width":on,"border-left":on,"border-left-width":on,"border-radius":on,"border-right":on,"border-right-width":on,"border-top":on,"border-top-left-radius":on,"border-top-right-radius":on,"border-top-width":on,"border-width":on,margin:on,"margin-bottom":on,"margin-left":on,"margin-right":on,"margin-top":on,padding:on,"padding-bottom":on,"padding-left":on,"padding-right":on,"padding-top":on,"mask-position-x":on,"mask-position-y":on,"mask-size":on,height:on,width:on,"min-height":on,"max-height":on,"min-width":on,"max-width":on,bottom:on,left:on,top:on,right:on,"box-shadow":on,"text-shadow":on,"column-gap":on,"column-rule":on,"column-rule-width":on,"column-width":on,"font-size":on,"font-size-delta":on,"letter-spacing":on,"text-indent":on,"text-stroke":on,"text-stroke-width":on,"word-spacing":on,motion:on,"motion-offset":on,outline:on,"outline-offset":on,"outline-width":on,perspective:on,"perspective-origin-x":sn,"perspective-origin-y":sn,"transform-origin":sn,"transform-origin-x":sn,"transform-origin-y":sn,"transform-origin-z":sn,"transition-delay":an,"transition-duration":an,"vertical-align":on,"flex-basis":on,"shape-margin":on,size:on,grid:on,"grid-gap":on,"grid-row-gap":on,"grid-column-gap":on,"grid-template-rows":on,"grid-template-columns":on,"grid-auto-rows":on,"grid-auto-columns":on,"box-shadow-x":on,"box-shadow-y":on,"box-shadow-blur":on,"box-shadow-spread":on,"font-line-height":on,"text-shadow-x":on,"text-shadow-y":on,"text-shadow-blur":on});function un(e,t,n){if(!t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=un(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=un(i,t[i],n);else for(var o in t)t[o]=un(e+"-"+o,t[o],n);else if("number"==typeof t){var a=n[e]||cn[e];return a?"function"==typeof a?a(t).toString():""+t+a:t.toString()}return t}var dn=function(e){void 0===e&&(e={});var t=ln(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=un(r,e[r],t);return e},onChangeValue:function(e,n){return un(n,e,t)}}},hn="",pn="",fn="",mn="",gn=ke&&"ontouchstart"in document.documentElement;if(ke){var vn={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},yn=document.createElement("p").style;for(var bn in vn)if(bn+"Transform"in yn){hn=bn,pn=vn[bn];break}"Webkit"===hn&&"msHyphens"in yn&&(hn="ms",pn=vn.ms,mn="edge"),"Webkit"===hn&&"-apple-trailing-word"in yn&&(fn="apple")}var xn=hn,An=pn,Cn=fn,En=mn,Sn=gn;var wn={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===xn?"-webkit-"+e:An+e)}},kn={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===xn?An+"print-"+e:e)}},_n=/[-\s]+(.)?/g;function Pn(e,t){return t?t.toUpperCase():""}function Rn(e){return e.replace(_n,Pn)}function Tn(e){return Rn("-"+e)}var On,Mn={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===xn){if(Rn("mask-image")in t)return e;if(xn+Tn("mask-image")in t)return An+e}return e}},Ln={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Cn||Sn?e:An+e)}},Fn={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:An+e)}},Nn={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:An+e)}},In={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===xn||"ms"===xn&&"edge"!==En?An+e:e)}},Dn={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===xn||"ms"===xn||"apple"===Cn?An+e:e)}},jn={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===xn?"WebkitColumn"+Tn(e)in t&&An+"column-"+e:"Moz"===xn&&("page"+Tn(e)in t&&"page-"+e))}},Bn={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===xn)return e;var n=e.replace("-inline","");return xn+Tn(n)in t&&An+n}},zn={supportedProperty:function(e,t){return Rn(e)in t&&e}},Un={supportedProperty:function(e,t){var n=Tn(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:xn+n in t?An+e:"Webkit"!==xn&&"Webkit"+n in t&&"-webkit-"+e}},Wn={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===xn?""+An+e:e)}},Hn={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===xn?An+"scroll-chaining":e)}},qn={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Gn={supportedProperty:function(e,t){var n=qn[e];return!!n&&(xn+Tn(n)in t&&An+n)}},Vn={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Yn=Object.keys(Vn),Xn=function(e){return An+e},$n=[wn,kn,Mn,Ln,Fn,Nn,In,Dn,jn,Bn,zn,Un,Wn,Hn,Gn,{supportedProperty:function(e,t,n){var r=n.multiple;if(Yn.indexOf(e)>-1){var i=Vn[e];if(!Array.isArray(i))return xn+Tn(i)in t&&An+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(xn+Tn(i[0])in t))return!1;return i.map(Xn)}return!1}}],Jn=$n.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Kn=$n.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,re(t.noPrefill)),e}),[]),Qn={};if(ke){On=document.createElement("p");var Zn=window.getComputedStyle(document.documentElement,"");for(var er in Zn)isNaN(er)||(Qn[Zn[er]]=Zn[er]);Kn.forEach((function(e){return delete Qn[e]}))}function tr(e,t){if(void 0===t&&(t={}),!On)return e;if(null!=Qn[e])return Qn[e];"transition"!==e&&"transform"!==e||(t[e]=e in On.style);for(var n=0;n<Jn.length&&(Qn[e]=Jn[n](e,On.style,t),!Qn[e]);n++);try{On.style[e]=""}catch(e){return!1}return Qn[e]}var nr,rr={},ir={transition:1,"transition