Current File : /home/digitaw/www/wp-content/plugins/pojo-accessibility/assets/build/reviews.js
(()=>{var e,t={41:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>o,sk:()=>i});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},73:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(773),o=r(6446),i=r(7807),s=r(1566),a=r(9222);function l(){function e(e,t,r,o){const a={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:p,style:d}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.Yn)(r,u)||{};return d?d(a):(0,s.NI)(a,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===c?r:{[c]:r}})}return function t(r){var n;const{sx:i,theme:l={}}=r||{};if(!i)return null;const c=null!=(n=l.unstable_sxConfig)?n:a.A;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,s.EU)(l.breakpoints),a=Object.keys(i);let u=i;return Object.keys(n).forEach(r=>{const i="function"==typeof(a=n[r])?a(l):a;var a;if(null!=i)if("object"==typeof i)if(c[r])u=(0,o.A)(u,e(r,i,l,c));else{const e=(0,s.NI)({theme:l},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:l})}else u=(0,o.A)(u,e(r,i,l,c))}),(0,s.vf)(a,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},120:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(766)},211:(e,t)=>{"use strict";Symbol.for("react.transitional.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.consumer"),Symbol.for("react.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.view_transition"),Symbol.for("react.client.reference");t.vM=r,t.lD=n},435:(e,t,r)=>{"use strict";r.d(t,{EU:()=>a,NI:()=>s,iZ:()=>c,kW:()=>u,vf:()=>l,zu:()=>o});var n=r(6032);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function s(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||i;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||i;return Object.keys(t).reduce((n,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i))n[e.up(i)]=r(t[i],i);else{const e=i;n[e]=t[e]}return n},{})}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 l(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function c(e,...t){const r=a(e),o=[r,...t].reduce((e,t)=>(0,n.A)(e,t),{});return l(Object.keys(r),o)}function u({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t),o=Object.keys(n);if(0===o.length)return e;let i;return o.reduce((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[i],i=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[i],i=r):t[r]=e,t),{})}},766:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,Q:()=>i});var n=r(8168),o=r(1609);function i(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 s(e){if(o.isValidElement(e)||!i(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=s(e[r])}),t}function a(e,t,r={clone:!0}){const l=r.clone?(0,n.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(n=>{o.isValidElement(t[n])?l[n]=t[n]:i(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&i(e[n])?l[n]=a(e[n],t[n],r):r.clone?l[n]=i(t[n])?s(t[n]):t[n]:l[n]=t[n]}),l}},773:(e,t,r)=>{"use strict";function n(e){if("string"!=typeof e)throw new Error(function(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."}(7));return e.charAt(0).toUpperCase()+e.slice(1)}r.d(t,{A:()=>n})},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},834:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(3226)},851:(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})},1032:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>d.A,StyledEngineProvider:()=>p,ThemeContext:()=>s.T,css:()=>i.AH,default:()=>f,internal_processStyles:()=>h,internal_serializeStyles:()=>g,keyframes:()=>i.i7});var n=r(1479),o=r(3174),i=r(7437),s=r(4684),a=r(1609),l=r(1568),c=r(790);const u=new Map;function p(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,o=a.useMemo(()=>{const e=`${t}-${r}`;if("object"==typeof document&&u.has(e))return u.get(e);const n=function(e,t){const r=(0,l.A)({key:"css",prepend:e});if(t){const e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}(t,r);return u.set(e,n),n},[t,r]);return t||r?(0,c.jsx)(s.C,{value:o,children:n}):n}var d=r(7601);function f(e,t){return(0,n.A)(e,t)}const h=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},m=[];function g(e){return m[0]=e,(0,o.J)(m)}},1069:(e,t,r)=>{"use strict";r.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>v,Ms:()=>y});var n=r(435),o=r(4734),i=r(9667);const s={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=s[t],o=a[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 s=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof s?e=>"string"==typeof e?e:s*e:Array.isArray(s)?e=>"string"==typeof e?e:s[e]:"function"==typeof s?s:()=>{}}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 g(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),{})}(c(r),o),s=e[r];return(0,n.NI)(e,s,i)}(e,t,o,r)).reduce(i.A,{})}function v(e){return g(e,u)}function y(e){return g(e,p)}function b(e){return g(e,d)}v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=p,b.propTypes={},b.filterProps=d},1242:(e,t)=>{var r;function n(e,t){var r=[],n=0;function o(e){return r.push(e),t}function i(){return r[n++]}return{tokenize:function(t){return t.replace(e,o)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),i)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",i="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",a="['\"]?\\s*",l="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",p="(?:[_a-z0-9-]|"+r+"|"+u+")",d=o+"(?:\\s*"+i+"|-?(?:[_a-z]|"+r+"|"+u+")"+p+"*)?",f="((?:-?"+d+")|(?:inherit|auto))",h="((?:-?"+d+")|(?:inherit|auto)|(?:calc\\((?:(?:(?:\\(|\\)|\\t| )|(?:-?"+o+"(?:\\s*"+i+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",m="(#?"+p+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",g="(?:[!#$%&*-~]|"+r+"|"+u+")*?",v="(?![a-zA-Z])",y="(?!("+p+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",b="(?!"+g+a+"\\))",w="(?="+g+a+"\\))",x="(\\s*(?:!important\\s*)?[;}])",_=/`TMP`/g,S=/`TMPLTR`/g,k=/`TMPRTL`/g,C=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),A=new RegExp("("+c+y+"[^;}]+;?)","gi"),I=new RegExp("("+c+"[^\\}]*?})","gi"),M=new RegExp("("+s+")ltr","gi"),R=new RegExp("("+s+")rtl","gi"),E=new RegExp(l+"(left)"+v+b+y,"gi"),O=new RegExp(l+"(right)"+v+b+y,"gi"),T=new RegExp(l+"(left)"+w,"gi"),P=new RegExp(l+"(right)"+w,"gi"),L=/(:dir\( *)ltr( *\))/g,F=/(:dir\( *)rtl( *\))/g,N=new RegExp(l+"(ltr)"+w,"gi"),j=new RegExp(l+"(rtl)"+w,"gi"),$=new RegExp(l+"([ns]?)e-resize","gi"),z=new RegExp(l+"([ns]?)w-resize","gi"),B=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+h+"(\\s+)"+h+"(\\s+)"+h+"(\\s+)"+h+x,"gi"),D=new RegExp("((?:-color|border-style)\\s*:\\s*)"+m+"(\\s+)"+m+"(\\s+)"+m+"(\\s+)"+m+x,"gi"),W=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),U=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),q=new RegExp("(border-radius\\s*:\\s*)"+f+"(?:(?:\\s+"+f+")(?:\\s+"+f+")?(?:\\s+"+f+")?)?(?:(?:(?:\\s*\\/\\s*)"+f+")(?:\\s+"+f+")?(?:\\s+"+f+")?(?:\\s+"+f+")?)?"+x,"gi"),V=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+f,"gi"),H=new RegExp("(text-shadow\\s*:\\s*)"+f+"(\\s*)"+m,"gi"),G=new RegExp("(text-shadow\\s*:\\s*)"+m+"(\\s*)"+f,"gi"),K=new RegExp("(text-shadow\\s*:\\s*)"+f,"gi"),X=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+f+"(\\s*\\))","gi"),Y=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+f+"((?:\\s*,\\s*"+f+"){0,2}\\s*\\))","gi");function Z(e,t,r){var n,o;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(o=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(o)+"%"):r=100-parseFloat(r)+"%"),t+r}function J(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function Q(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter(function(e){return e}),o=r.slice(6,10).filter(function(e){return e}),i=r[10]||"";return t+(o.length?J(n)+" / "+J(o):J(n))+i}function ee(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function te(e,t,r){return t+ee(r)}function re(e,t,r,n,o){return t+r+ee(n)+o}function ne(e,t,r,n,o){return t+r+n+ee(o)}return{transform:function(r,o){var i=new n(A,"`NOFLIP_SINGLE`"),s=new n(I,"`NOFLIP_CLASS`"),a=new n(C,t);return r=a.tokenize(s.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(L,"$1`TMPLTR`$2").replace(F,"$1`TMPRTL`$2").replace(N,"$1"+e).replace(j,"$1ltr").replace(_,"rtl").replace(S,"ltr").replace(k,"rtl")),o.transformEdgeInUrl&&(r=r.replace(T,"$1"+e).replace(P,"$1left").replace(_,"right")),r=r.replace(M,"$1"+e).replace(R,"$1ltr").replace(_,"rtl").replace(E,"$1"+e).replace(O,"$1left").replace(_,"right").replace($,"$1$2"+e).replace(z,"$1$2e-resize").replace(_,"w-resize").replace(q,Q).replace(V,te).replace(H,ne).replace(G,ne).replace(K,te).replace(X,re).replace(Y,re).replace(B,"$1$2$3$8$5$6$7$4$9").replace(D,"$1$2$3$8$5$6$7$4$9").replace(W,Z).replace(U,Z),i.detokenize(s.detokenize(a.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var o;return"object"==typeof t?o=t:(o={},"boolean"==typeof t&&(o.transformDirInUrl=t),"boolean"==typeof n&&(o.transformEdgeInUrl=n)),r.transform(e,o)}:"undefined"!=typeof window&&(window.cssjanus=r)},1287:(e,t,r)=>{"use strict";r.d(t,{i:()=>s,s:()=>i});var n=r(1609),o=!!n.useInsertionEffect&&n.useInsertionEffect,i=o||function(e){return e()},s=o||n.useLayoutEffect},1479:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(8168),o=r(1609),i=r(6289),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(0,i.A)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),l=r(4684),c=r(41),u=r(3174),p=r(1287),d=a,f=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:f},m=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,p.s)(function(){return(0,c.sk)(t,r,n)}),null},v=function e(t,r){var i,s,a=t.__emotion_real===t,p=a&&t.__emotion_base||t;void 0!==r&&(i=r.label,s=r.target);var d=m(t,r,a),f=d||h(p),v=!f("as");return function(){var y=arguments,b=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var w=y.length,x=1;x<w;x++)b.push(y[x],y[0][x])}var _=(0,l.w)(function(e,t,r){var n=v&&e.as||p,i="",a=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=o.useContext(l.T)}"string"==typeof e.className?i=(0,c.Rk)(t.registered,a,e.className):null!=e.className&&(i=e.className+" ");var w=(0,u.J)(b.concat(a),t.registered,m);i+=t.key+"-"+w.name,void 0!==s&&(i+=" "+s);var x=v&&void 0===d?h(n):f,_={};for(var S in e)v&&"as"===S||x(S)&&(_[S]=e[S]);return _.className=i,r&&(_.ref=r),o.createElement(o.Fragment,null,o.createElement(g,{cache:t,serialized:w,isStringTag:"string"==typeof n}),o.createElement(n,_))});return _.displayName=void 0!==i?i:"Styled("+("string"==typeof p?p:p.displayName||p.name||"Component")+")",_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=p,_.__emotion_styles=b,_.__emotion_forwardProp=d,Object.defineProperty(_,"toString",{value:function(){return"."+s}}),_.withComponent=function(t,o){return e(t,(0,n.A)({},r,o,{shouldForwardProp:m(_,o,!0)})).apply(void 0,b)},_}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){v[e]=v(e)})},1560:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(773)},1566:(e,t,r)=>{"use strict";r.d(t,{EU:()=>s,NI:()=>i,vf:()=>a,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 s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function a(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}},1568:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(5047),o=Math.abs,i=String.fromCharCode,s=Object.assign;function a(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,w="";function x(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:s,return:""}}function _(e,t){return s(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=y>0?u(w,--y):0,g--,10===b&&(g=1,m--),b}function k(){return b=y<v?u(w,y++):0,g++,10===b&&(g=1,m++),b}function C(){return u(w,y)}function A(){return y}function I(e,t){return p(w,e,t)}function M(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 R(e){return m=g=1,v=d(w=e),y=0,[]}function E(e){return w="",e}function O(e){return a(I(y-1,L(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(b=C())&&b<33;)k();return M(e)>2||M(b)>3?"":" "}function P(e,t){for(;--t&&k()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return I(e,A()+(t<6&&32==C()&&32==k()))}function L(e){for(;k();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:k()}return y}function F(e,t){for(;k()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+I(t,y-1)+"*"+i(47===e?e:k())}function N(e){for(;!M(C());)k();return I(e,y)}var j="-ms-",$="-moz-",z="-webkit-",B="comm",D="rule",W="decl",U="@keyframes";function q(e,t){for(var r="",n=f(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function V(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case U:return e.return=e.value+"{"+q(e.children,n)+"}";case D:e.value=e.props.join(",")}return d(r=q(e.children,n))?e.return=e.value+"{"+r+"}":""}function H(e){return E(G("",null,null,null,[""],e=R(e),0,[0],e))}function G(e,t,r,n,o,s,a,p,f){for(var m=0,g=0,v=a,y=0,b=0,w=0,x=1,_=1,I=1,M=0,R="",E=o,L=s,j=n,$=R;_;)switch(w=M,M=k()){case 40:if(108!=w&&58==u($,v-1)){-1!=c($+=l(O(M),"&","&\f"),"&\f")&&(I=-1);break}case 34:case 39:case 91:$+=O(M);break;case 9:case 10:case 13:case 32:$+=T(w);break;case 92:$+=P(A()-1,7);continue;case 47:switch(C()){case 42:case 47:h(X(F(k(),A()),t,r),f);break;default:$+="/"}break;case 123*x:p[m++]=d($)*I;case 125*x:case 59:case 0:switch(M){case 0:case 125:_=0;case 59+g:-1==I&&($=l($,/\f/g,"")),b>0&&d($)-v&&h(b>32?Y($+";",n,r,v-1):Y(l($," ","")+";",n,r,v-2),f);break;case 59:$+=";";default:if(h(j=K($,t,r,m,g,o,p,R,E=[],L=[],v),s),123===M)if(0===g)G($,t,j,j,E,s,v,p,L);else switch(99===y&&110===u($,3)?100:y){case 100:case 108:case 109:case 115:G(e,j,j,n&&h(K(e,j,j,0,0,o,p,R,o,E=[],v),L),o,L,v,p,n?E:L);break;default:G($,j,j,j,[""],L,0,p,L)}}m=g=b=0,x=I=1,R=$="",v=a;break;case 58:v=1+d($),b=w;default:if(x<1)if(123==M)--x;else if(125==M&&0==x++&&125==S())continue;switch($+=i(M),M*x){case 38:I=g>0?1:($+="\f",-1);break;case 44:p[m++]=(d($)-1)*I,I=1;break;case 64:45===C()&&($+=O(k())),y=C(),g=v=d(R=$+=N(A())),M++;break;case 45:45===w&&2==d($)&&(x=0)}}return s}function K(e,t,r,n,i,s,c,u,d,h,m){for(var g=i-1,v=0===i?s:[""],y=f(v),b=0,w=0,_=0;b<n;++b)for(var S=0,k=p(e,g+1,g=o(w=c[b])),C=e;S<y;++S)(C=a(w>0?v[S]+" "+k:l(k,/&\f/g,v[S])))&&(d[_++]=C);return x(e,t,r,0===i?D:u,d,h,m)}function X(e,t,r){return x(e,t,r,B,i(b),p(e,2,-2),0)}function Y(e,t,r,n){return x(e,t,r,W,p(e,0,n),p(e,n+1,-1),n)}var Z=function(e,t,r){for(var n=0,o=0;n=o,o=C(),38===n&&12===o&&(t[r]=1),!M(o);)k();return I(e,y)},J=new WeakMap,Q=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)||J.get(r))&&!n){J.set(e,!0);for(var o=[],s=function(e,t){return E(function(e,t){var r=-1,n=44;do{switch(M(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=Z(y-1,t,r);break;case 2:e[r]+=O(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=k());return e}(R(e),t))}(t,o),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return z+"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 z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+$+e+j+e+e;case 6828:case 4268:return z+e+j+e+e;case 6165:return z+e+j+"flex-"+e+e;case 5187:return z+e+l(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return z+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return z+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+j+l(e,"shrink","negative")+e;case 5292:return z+e+j+l(e,"basis","preferred-size")+e;case 6060:return z+"box-"+l(e,"-grow","")+z+e+j+l(e,"grow","positive")+e;case 4554:return z+l(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,z+"$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(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+$+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+z)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===u(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+j+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=te(e.value,e.length);break;case U:return q([_(e,{value:l(e.value,"@","@"+z)})],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:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([_(e,{props:[l(t,/:(plac\w+)/,":"+z+"input-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],n)}return""})}}],ne=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 o,i,s=e.stylisPlugins||re,a={},l=[];o=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++)a[t[r]]=!0;l.push(e)});var c,u,p,d,h=[V,(d=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(u=[Q,ee].concat(s,h),p=f(u),function(e,t,r,n){for(var o="",i=0;i<p;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,q(H(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n.v({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return g.sheet.hydrate(l),g}},1609:e=>{"use strict";e.exports=window.React},2350:(e,t,r)=>{"use strict";r.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>v,Ms:()=>y});var n=r(1566),o=r(7807),i=r(6446);const s={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=s[t],o=a[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 s=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof s?e=>"string"==typeof e?e:s*e:Array.isArray(s)?e=>"string"==typeof e?e:s[e]:"function"==typeof s?s:()=>{}}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 g(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),{})}(c(r),o),s=e[r];return(0,n.NI)(e,s,i)}(e,t,o,r)).reduce(i.A,{})}function v(e){return g(e,u)}function y(e){return g(e,p)}function b(e){return g(e,d)}v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=p,b.propTypes={},b.filterProps=d},2454:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(6032)},2799:(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"),Symbol.for("react.forward_ref"),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")},2833:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>ge,StyledEngineProvider:()=>me,ThemeContext:()=>i.T,css:()=>u,default:()=>ve,internal_processStyles:()=>ye,internal_serializeStyles:()=>we,keyframes:()=>p});var n=r(1479),o=r(3174),i=r(6632),s=r(1609),a=r(41),l=r(1287),c=(r(6810),r(4146),(0,i.w)(function(e,t){var r=e.styles,n=(0,o.J)([r],void 0,s.useContext(i.T)),c=s.useRef();return(0,l.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),c.current=[r,o],function(){r.flush()}},[t]),(0,l.i)(function(){var e=c.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,a.sk)(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}},[t,n.name]),null}));function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.J)(t)}var p=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},d=r(5047),f=Math.abs,h=String.fromCharCode,m=Object.assign;function g(e){return e.trim()}function v(e,t,r){return e.replace(t,r)}function y(e,t){return e.indexOf(t)}function b(e,t){return 0|e.charCodeAt(t)}function w(e,t,r){return e.slice(t,r)}function x(e){return e.length}function _(e){return e.length}function S(e,t){return t.push(e),e}var k=1,C=1,A=0,I=0,M=0,R="";function E(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:k,column:C,length:s,return:""}}function O(e,t){return m(E("",null,null,"",null,null,0),e,{length:-e.length},t)}function T(){return M=I>0?b(R,--I):0,C--,10===M&&(C=1,k--),M}function P(){return M=I<A?b(R,I++):0,C++,10===M&&(C=1,k++),M}function L(){return b(R,I)}function F(){return I}function N(e,t){return w(R,e,t)}function j(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 $(e){return k=C=1,A=x(R=e),I=0,[]}function z(e){return R="",e}function B(e){return g(N(I-1,U(91===e?e+2:40===e?e+1:e)))}function D(e){for(;(M=L())&&M<33;)P();return j(e)>2||j(M)>3?"":" "}function W(e,t){for(;--t&&P()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return N(e,F()+(t<6&&32==L()&&32==P()))}function U(e){for(;P();)switch(M){case e:return I;case 34:case 39:34!==e&&39!==e&&U(M);break;case 40:41===e&&U(e);break;case 92:P()}return I}function q(e,t){for(;P()&&e+M!==57&&(e+M!==84||47!==L()););return"/*"+N(t,I-1)+"*"+h(47===e?e:P())}function V(e){for(;!j(L());)P();return N(e,I)}var H="-ms-",G="-moz-",K="-webkit-",X="comm",Y="rule",Z="decl",J="@keyframes";function Q(e,t){for(var r="",n=_(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function ee(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Z:return e.return=e.return||e.value;case X:return"";case J:return e.return=e.value+"{"+Q(e.children,n)+"}";case Y:e.value=e.props.join(",")}return x(r=Q(e.children,n))?e.return=e.value+"{"+r+"}":""}function te(e){return z(re("",null,null,null,[""],e=$(e),0,[0],e))}function re(e,t,r,n,o,i,s,a,l){for(var c=0,u=0,p=s,d=0,f=0,m=0,g=1,w=1,_=1,k=0,C="",A=o,I=i,M=n,R=C;w;)switch(m=k,k=P()){case 40:if(108!=m&&58==b(R,p-1)){-1!=y(R+=v(B(k),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:R+=B(k);break;case 9:case 10:case 13:case 32:R+=D(m);break;case 92:R+=W(F()-1,7);continue;case 47:switch(L()){case 42:case 47:S(oe(q(P(),F()),t,r),l);break;default:R+="/"}break;case 123*g:a[c++]=x(R)*_;case 125*g:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+u:-1==_&&(R=v(R,/\f/g,"")),f>0&&x(R)-p&&S(f>32?ie(R+";",n,r,p-1):ie(v(R," ","")+";",n,r,p-2),l);break;case 59:R+=";";default:if(S(M=ne(R,t,r,c,u,o,a,C,A=[],I=[],p),i),123===k)if(0===u)re(R,t,M,M,A,i,p,a,I);else switch(99===d&&110===b(R,3)?100:d){case 100:case 108:case 109:case 115:re(e,M,M,n&&S(ne(e,M,M,0,0,o,a,C,o,A=[],p),I),o,I,p,a,n?A:I);break;default:re(R,M,M,M,[""],I,0,a,I)}}c=u=f=0,g=_=1,C=R="",p=s;break;case 58:p=1+x(R),f=m;default:if(g<1)if(123==k)--g;else if(125==k&&0==g++&&125==T())continue;switch(R+=h(k),k*g){case 38:_=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(x(R)-1)*_,_=1;break;case 64:45===L()&&(R+=B(P())),d=L(),u=p=x(C=R+=V(F())),k++;break;case 45:45===m&&2==x(R)&&(g=0)}}return i}function ne(e,t,r,n,o,i,s,a,l,c,u){for(var p=o-1,d=0===o?i:[""],h=_(d),m=0,y=0,b=0;m<n;++m)for(var x=0,S=w(e,p+1,p=f(y=s[m])),k=e;x<h;++x)(k=g(y>0?d[x]+" "+S:v(S,/&\f/g,d[x])))&&(l[b++]=k);return E(e,t,r,0===o?Y:a,l,c,u)}function oe(e,t,r){return E(e,t,r,X,h(M),w(e,2,-2),0)}function ie(e,t,r,n){return E(e,t,r,Z,w(e,0,n),w(e,n+1,-1),n)}var se=function(e,t,r){for(var n=0,o=0;n=o,o=L(),38===n&&12===o&&(t[r]=1),!j(o);)P();return N(e,I)},ae=new WeakMap,le=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)||ae.get(r))&&!n){ae.set(e,!0);for(var o=[],i=function(e,t){return z(function(e,t){var r=-1,n=44;do{switch(j(n)){case 0:38===n&&12===L()&&(t[r]=1),e[r]+=se(I-1,t,r);break;case 2:e[r]+=B(n);break;case 4:if(44===n){e[++r]=58===L()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=h(n)}}while(n=P());return e}($(e),t))}(t,o),s=r.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},ce=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ue(e,t){switch(function(e,t){return 45^b(e,0)?(((t<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(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+G+e+H+e+e;case 6828:case 4268:return K+e+H+e+e;case 6165:return K+e+H+"flex-"+e+e;case 5187:return K+e+v(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+H+"flex-$1$2")+e;case 5443:return K+e+H+"flex-item-"+v(e,/flex-|-self/,"")+e;case 4675:return K+e+H+"flex-line-pack"+v(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+H+v(e,"shrink","negative")+e;case 5292:return K+e+H+v(e,"basis","preferred-size")+e;case 6060:return K+"box-"+v(e,"-grow","")+K+e+H+v(e,"grow","positive")+e;case 4554:return K+v(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+H+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return v(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(x(e)-1-t>6)switch(b(e,t+1)){case 109:if(45!==b(e,t+4))break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+G+(108==b(e,t+3)?"$3":"$2-$3"))+e;case 115:return~y(e,"stretch")?ue(v(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==b(e,t+1))break;case 6444:switch(b(e,x(e)-3-(~y(e,"!important")&&10))){case 107:return v(e,":",":"+K)+e;case 101:return v(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===b(e,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+H+"$2box$3")+e}break;case 5936:switch(b(e,t+11)){case 114:return K+e+H+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+H+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+H+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+H+e+e}return e}var pe=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Z:e.return=ue(e.value,e.length);break;case J:return Q([O(e,{value:v(e.value,"@","@"+K)})],n);case Y: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([O(e,{props:[v(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Q([O(e,{props:[v(t,/:(plac\w+)/,":"+K+"input-$1")]}),O(e,{props:[v(t,/:(plac\w+)/,":-moz-$1")]}),O(e,{props:[v(t,/:(plac\w+)/,H+"input-$1")]})],n)}return""})}}],de=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||pe,s={},a=[];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;a.push(e)});var l,c,u,p,f=[ee,(p=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],h=(c=[le,ce].concat(i,f),u=_(c),function(e,t,r,n){for(var o="",i=0;i<u;i++)o+=c[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,Q(te(e?e+"{"+t.styles+"}":t.styles),h),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new d.v({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(a),m},fe=r(790);const he=new Map;function me(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,o=s.useMemo(()=>{const e=`${t}-${r}`;if("object"==typeof document&&he.has(e))return he.get(e);const n=function(e,t){const r=de({key:"css",prepend:e});if(t){const e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}(t,r);return he.set(e,n),n},[t,r]);return t||r?(0,fe.jsx)(i.C,{value:o,children:n}):n}function ge(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,fe.jsx)(c,{styles:n})}function ve(e,t){return(0,n.A)(e,t)}const ye=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},be=[];function we(e){return be[0]=e,(0,o.J)(be)}},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case i:case a:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return x(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=a,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||x(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===a||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},3168:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(3226),o=r(9667),i=r(4734),s=r(435),a=r(4229);function l(){function e(e,t,r,o){const a={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:p,style:d}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.Yn)(r,u)||{};return d?d(a):(0,s.NI)(a,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===c?r:{[c]:r}})}return function t(r){var n;const{sx:i,theme:l={},nested:c}=r||{};if(!i)return null;const u=null!=(n=l.unstable_sxConfig)?n:a.A;function p(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,s.EU)(l.breakpoints),a=Object.keys(i);let p=i;return Object.keys(n).forEach(r=>{const i="function"==typeof(a=n[r])?a(l):a;var a;if(null!=i)if("object"==typeof i)if(u[r])p=(0,o.A)(p,e(r,i,l,u));else{const e=(0,s.NI)({theme:l},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)?p=(0,o.A)(p,e):p[r]=t({sx:i,theme:l,nested:!0})}else p=(0,o.A)(p,e(r,i,l,u))}),!c&&l.modularCssLayers?{"@layer sx":(0,s.vf)(a,p)}:(0,s.vf)(a,p)}return Array.isArray(i)?i.map(p):p(i)}}const c=l();c.filterProps=["sx"];const u=c},3174:(e,t,r)=>{"use strict";r.d(t,{J:()=>g});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(6289),i=!1,s=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.A)(function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()}),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,function(e,t,r){return h={name:t,styles:r,next:h},t})}return 1===n[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},d="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function f(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return h={name:o.name,styles:o.styles,next:h},o.name;var s=r;if(void 0!==s.styles){var a=s.next;if(void 0!==a)for(;void 0!==a;)h={name:a.name,styles:a.styles,next:h},a=a.next;return s.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=f(e,t,r[o])+";";else for(var s in r){var a=r[s];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?n+=s+"{"+t[l]+"}":c(l)&&(n+=u(s)+":"+p(s,l)+";")}else{if("NO_COMPONENT_SELECTOR"===s&&i)throw new Error(d);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var h=f(e,t,a);switch(s){case"animation":case"animationName":n+=u(s)+":"+h+";";break;default:n+=s+"{"+h+"}"}}else for(var m=0;m<a.length;m++)c(a[m])&&(n+=u(s)+":"+p(s,a[m])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var l=h,m=r(e);return h=l,f(e,t,m)}}var g=r;if(null==t)return g;var v=t[g];return void 0!==v?v:g}var h,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";h=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=f(r,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=f(r,t,e[s]),n&&(o+=i[s]);m.lastIndex=0;for(var a,l="";null!==(a=m.exec(o));)l+="-"+a[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},3226:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(5048);function o(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},4146:(e,t,r)=>{"use strict";var n=r(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?s:a[e.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=f(r);o&&o!==h&&e(t,o,n)}var s=u(r);p&&(s=s.concat(p(r)));for(var a=l(t),m=l(r),g=0;g<s.length;++g){var v=s[g];if(!(i[v]||n&&n[v]||m&&m[v]||a&&a[v])){var y=d(r,v);try{c(t,v,y)}catch(e){}}}}return t}},4229:(e,t,r)=>{"use strict";r.d(t,{A:()=>L});var n=r(1069),o=r(4734),i=r(9667);const s=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 a=r(435);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),p=c("borderTop",l),d=c("borderRight",l),f=c("borderBottom",l),h=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),v=c("borderRightColor"),y=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),_=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,a.NI)(e,e.borderRadius,r)}return null};_.propTypes={},_.filterProps=["borderRadius"],s(u,p,d,f,h,m,g,v,y,b,_,w,x);const S=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,a.NI)(e,e.gap,r)}return null};S.propTypes={},S.filterProps=["gap"];const k=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,a.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const C=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,a.NI)(e,e.rowGap,r)}return null};function A(e,t){return"grey"===t?t:e}function I(e){return e<=1&&0!==e?100*e+"%":e}C.propTypes={},C.filterProps=["rowGap"],s(S,k,C,(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"})),s((0,o.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));const M=(0,o.Ay)({prop:"width",transform:I}),R=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])||a.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:I(t)}};return(0,a.NI)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const E=(0,o.Ay)({prop:"minWidth",transform:I}),O=(0,o.Ay)({prop:"height",transform:I}),T=(0,o.Ay)({prop:"maxHeight",transform:I}),P=(0,o.Ay)({prop:"minHeight",transform:I}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:I}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:I}),s(M,R,E,O,T,P,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},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:S},rowGap:{style:C},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:I},maxWidth:{style:R},minWidth:{transform:I},height:{transform:I},maxHeight:{transform:I},minHeight:{transform:I},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},4363:(e,t,r)=>{"use strict";r(2799)},4559:(e,t)=>{"use strict";Symbol.for("react.transitional.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.consumer"),Symbol.for("react.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.view_transition"),Symbol.for("react.client.reference");t.vM=r,t.lD=n},4634: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},4684:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,E:()=>g,T:()=>p,c:()=>h,h:()=>d,w:()=>u});var n=r(1609),o=r(1568),i=r(41),s=r(3174),a=r(1287),l=n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),c=l.Provider,u=function(e){return(0,n.forwardRef)(function(t,r){var o=(0,n.useContext)(l);return e(t,o,r)})},p=n.createContext({}),d={}.hasOwnProperty,f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=function(e,t){var r={};for(var n in t)d.call(t,n)&&(r[n]=t[n]);return r[f]=e,r},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,i.SF)(t,r,n),(0,a.s)(function(){return(0,i.sk)(t,r,n)}),null},g=u(function(e,t,r){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[f],l=[o],c="";"string"==typeof e.className?c=(0,i.Rk)(t.registered,l,e.className):null!=e.className&&(c=e.className+" ");var u=(0,s.J)(l,void 0,n.useContext(p));c+=t.key+"-"+u.name;var h={};for(var g in e)d.call(e,g)&&"css"!==g&&g!==f&&(h[g]=e[g]);return h.className=c,r&&(h.ref=r),n.createElement(n.Fragment,null,n.createElement(m,{cache:t,serialized:u,isStringTag:"string"==typeof a}),n.createElement(a,h))})},4734:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>a,BO:()=>s,Yn:()=>i});var n=r(3226),o=r(435);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 s(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 a=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:a,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,a)||{};return(0,o.NI)(e,c,e=>{let o=s(u,l,e);return e===o&&"string"==typeof e&&(o=s(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},4893:e=>{e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5047:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});var n=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}()},5048:(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})},5888:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,private_createBreakpoints:()=>l,unstable_applyStyles:()=>f});var n=r(8168),o=r(8587),i=r(766);const s=["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,n.A)({},e,{[t.key]:t.val}),{})};function l(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5}=e,l=(0,o.A)(e,s),c=a(t),u=Object.keys(c);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)-i/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)-i/100}${r})`}return(0,n.A)({keys:u,values:c,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},l)}const c={borderRadius:4};var u=r(2350),p=r(73),d=r(9222);function f(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:{}}const h=["breakpoints","palette","spacing","shape"],m=function(e={},...t){const{breakpoints:r={},palette:s={},spacing:a,shape:m={}}=e,g=(0,o.A)(e,h),v=l(r),y=function(e=8){if(e.mui)return e;const t=(0,u.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}(a);let b=(0,i.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},s),spacing:y,shape:(0,n.A)({},c,m)},g);return b.applyStyles=f,b=t.reduce((e,t)=>(0,i.A)(e,t),b),b.unstable_sxConfig=(0,n.A)({},d.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,p.A)({sx:e,theme:this})},b}},6032:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,Q:()=>i});var n=r(8168),o=r(1609);function i(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 s(e){if(o.isValidElement(e)||!i(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=s(e[r])}),t}function a(e,t,r={clone:!0}){const l=r.clone?(0,n.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(n=>{o.isValidElement(t[n])?l[n]=t[n]:i(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&i(e[n])?l[n]=a(e[n],t[n],r):r.clone?l[n]=i(t[n])?s(t[n]):t[n]:l[n]=t[n]}),l}},6289:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},6446:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(766);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},6632:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,T:()=>l,w:()=>a});var n=r(1609),o=r(6810),i=(r(3174),r(1287),n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null)),s=i.Provider,a=function(e){return(0,n.forwardRef)(function(t,r){var o=(0,n.useContext)(i);return e(t,o,r)})},l=n.createContext({})},6655:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:v((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,s.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:p,slot:f,skipVariantsResolver:m,skipSx:w,overridesResolver:x=y(g(f))}=c,_=(0,i.default)(c,d),S=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,k=w||!1;let C=h;"Root"===f||"root"===f?C=n:f?C=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(C=void 0);const A=(0,s.default)(e,(0,o.default)({shouldForwardProp:C,label:void 0},_)),I=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.isPlainObject)(e)?n=>b(e,(0,o.default)({},n,{theme:v({theme:n.theme,defaultTheme:r,themeId:t})})):e,M=(n,...i)=>{let s=I(n);const a=i?i.map(I):[];p&&x&&a.push(e=>{const n=v((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,s={};return Object.entries(i).forEach(([t,r])=>{s[t]=b(r,(0,o.default)({},e,{theme:n}))}),x(e,s)}),p&&!S&&a.push(e=>{var n;const i=v((0,o.default)({},e,{defaultTheme:r,themeId:t}));return b({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),k||a.push(u);const l=a.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");s=[...n,...e],s.raw=[...n.raw,...e]}const c=A(s,...a);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(M.withConfig=A.withConfig),M}};var o=n(r(4634)),i=n(r(4893)),s=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 s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(2833)),a=r(120),l=(n(r(1560)),n(r(7503)),n(r(5888))),c=n(r(9569));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,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function v({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function y(e){return e?(t,r)=>r[e]:null}function b(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u);const s="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(s))return s.flatMap(e=>b(e,(0,o.default)({ownerState:r},n)));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,i.default)(s,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 s}},6810:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(5047),o=Math.abs,i=String.fromCharCode,s=Object.assign;function a(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,w="";function x(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:s,return:""}}function _(e,t){return s(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=y>0?u(w,--y):0,g--,10===b&&(g=1,m--),b}function k(){return b=y<v?u(w,y++):0,g++,10===b&&(g=1,m++),b}function C(){return u(w,y)}function A(){return y}function I(e,t){return p(w,e,t)}function M(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 R(e){return m=g=1,v=d(w=e),y=0,[]}function E(e){return w="",e}function O(e){return a(I(y-1,L(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(b=C())&&b<33;)k();return M(e)>2||M(b)>3?"":" "}function P(e,t){for(;--t&&k()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return I(e,A()+(t<6&&32==C()&&32==k()))}function L(e){for(;k();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:k()}return y}function F(e,t){for(;k()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+I(t,y-1)+"*"+i(47===e?e:k())}function N(e){for(;!M(C());)k();return I(e,y)}var j="-ms-",$="-moz-",z="-webkit-",B="comm",D="rule",W="decl",U="@keyframes";function q(e,t){for(var r="",n=f(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function V(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case U:return e.return=e.value+"{"+q(e.children,n)+"}";case D:e.value=e.props.join(",")}return d(r=q(e.children,n))?e.return=e.value+"{"+r+"}":""}function H(e){return E(G("",null,null,null,[""],e=R(e),0,[0],e))}function G(e,t,r,n,o,s,a,p,f){for(var m=0,g=0,v=a,y=0,b=0,w=0,x=1,_=1,I=1,M=0,R="",E=o,L=s,j=n,$=R;_;)switch(w=M,M=k()){case 40:if(108!=w&&58==u($,v-1)){-1!=c($+=l(O(M),"&","&\f"),"&\f")&&(I=-1);break}case 34:case 39:case 91:$+=O(M);break;case 9:case 10:case 13:case 32:$+=T(w);break;case 92:$+=P(A()-1,7);continue;case 47:switch(C()){case 42:case 47:h(X(F(k(),A()),t,r),f);break;default:$+="/"}break;case 123*x:p[m++]=d($)*I;case 125*x:case 59:case 0:switch(M){case 0:case 125:_=0;case 59+g:-1==I&&($=l($,/\f/g,"")),b>0&&d($)-v&&h(b>32?Y($+";",n,r,v-1):Y(l($," ","")+";",n,r,v-2),f);break;case 59:$+=";";default:if(h(j=K($,t,r,m,g,o,p,R,E=[],L=[],v),s),123===M)if(0===g)G($,t,j,j,E,s,v,p,L);else switch(99===y&&110===u($,3)?100:y){case 100:case 108:case 109:case 115:G(e,j,j,n&&h(K(e,j,j,0,0,o,p,R,o,E=[],v),L),o,L,v,p,n?E:L);break;default:G($,j,j,j,[""],L,0,p,L)}}m=g=b=0,x=I=1,R=$="",v=a;break;case 58:v=1+d($),b=w;default:if(x<1)if(123==M)--x;else if(125==M&&0==x++&&125==S())continue;switch($+=i(M),M*x){case 38:I=g>0?1:($+="\f",-1);break;case 44:p[m++]=(d($)-1)*I,I=1;break;case 64:45===C()&&($+=O(k())),y=C(),g=v=d(R=$+=N(A())),M++;break;case 45:45===w&&2==d($)&&(x=0)}}return s}function K(e,t,r,n,i,s,c,u,d,h,m){for(var g=i-1,v=0===i?s:[""],y=f(v),b=0,w=0,_=0;b<n;++b)for(var S=0,k=p(e,g+1,g=o(w=c[b])),C=e;S<y;++S)(C=a(w>0?v[S]+" "+k:l(k,/&\f/g,v[S])))&&(d[_++]=C);return x(e,t,r,0===i?D:u,d,h,m)}function X(e,t,r){return x(e,t,r,B,i(b),p(e,2,-2),0)}function Y(e,t,r,n){return x(e,t,r,W,p(e,0,n),p(e,n+1,-1),n)}var Z=function(e,t,r){for(var n=0,o=0;n=o,o=C(),38===n&&12===o&&(t[r]=1),!M(o);)k();return I(e,y)},J=new WeakMap,Q=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)||J.get(r))&&!n){J.set(e,!0);for(var o=[],s=function(e,t){return E(function(e,t){var r=-1,n=44;do{switch(M(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=Z(y-1,t,r);break;case 2:e[r]+=O(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=k());return e}(R(e),t))}(t,o),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return z+"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 z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+$+e+j+e+e;case 6828:case 4268:return z+e+j+e+e;case 6165:return z+e+j+"flex-"+e+e;case 5187:return z+e+l(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return z+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return z+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+j+l(e,"shrink","negative")+e;case 5292:return z+e+j+l(e,"basis","preferred-size")+e;case 6060:return z+"box-"+l(e,"-grow","")+z+e+j+l(e,"grow","positive")+e;case 4554:return z+l(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,z+"$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(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+$+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+z)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===u(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+j+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=te(e.value,e.length);break;case U:return q([_(e,{value:l(e.value,"@","@"+z)})],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:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([_(e,{props:[l(t,/:(plac\w+)/,":"+z+"input-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],n)}return""})}}],ne=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 o,i,s=e.stylisPlugins||re,a={},l=[];o=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++)a[t[r]]=!0;l.push(e)});var c,u,p,d,h=[V,(d=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(u=[Q,ee].concat(s,h),p=f(u),function(e,t,r,n){for(var o="",i=0;i<p;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,q(H(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n.v({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return g.sheet.hydrate(l),g}},6920:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(8168),o=r(8587),i=r(6032),s=r(7673);const a={borderRadius:4};var l=r(1069),c=r(3168),u=r(4229),p=r(851);const d=["breakpoints","palette","spacing","shape"],f=function(e={},...t){const{breakpoints:r={},palette:f={},spacing:h,shape:m={}}=e,g=(0,o.A)(e,d),v=(0,s.A)(r),y=function(e=8){if(e.mui)return e;const t=(0,l.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 b=(0,i.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},f),spacing:y,shape:(0,n.A)({},a,m)},g);return b.applyStyles=p.A,b=t.reduce((e,t)=>(0,i.A)(e,t),b),b.unstable_sxConfig=(0,n.A)({},u.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},6950:(e,t,r)=>{"use strict";var n=r(4994);t.X4=function(e,t){return e=a(e),t=s(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)},t.e$=u,t.tL=function(e,t=.15){return c(e)>.5?u(e,t):p(e,t)},t.eM=function(e,t){const r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=p;var o=n(r(9517)),i=n(r(7783));function s(e,t=0,r=1){return(0,i.default)(e,t,r)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(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 l(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 c(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){e=a(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,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=a(e),t=s(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 l(e)}function p(e,t){if(e=a(e),t=s(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 l(e)}},7272:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:n=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,s.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:p,slot:f,skipVariantsResolver:m,skipSx:g,overridesResolver:x=b(v(f))}=c,_=(0,i.default)(c,d),S=p&&p.startsWith("Mui")||f?"components":"custom",k=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,C=g||!1;let A=h;"Root"===f||"root"===f?A=n:f?A=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(A=void 0);const I=(0,s.default)(e,(0,o.default)({shouldForwardProp:A,label:void 0},_)),M=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.isPlainObject)(e)?n=>{const i=y({theme:n.theme,defaultTheme:r,themeId:t});return w(e,(0,o.default)({},n,{theme:i}),i.modularCssLayers?S:void 0)}:e,R=(n,...i)=>{let s=M(n);const a=i?i.map(M):[];p&&x&&a.push(e=>{const n=y((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,s={};return Object.entries(i).forEach(([t,r])=>{s[t]=w(r,(0,o.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),x(e,s)}),p&&!k&&a.push(e=>{var n;const i=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return w({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.default)({},e,{theme:i}),i.modularCssLayers?"theme":void 0)}),C||a.push(u);const l=a.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");s=[...n,...e],s.raw=[...n.raw,...e]}const c=I(s,...a);return e.muiName&&(c.muiName=e.muiName),c};return I.withConfig&&(R.withConfig=I.withConfig),R}};var o=n(r(4634)),i=n(r(4893)),s=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 s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(1032)),a=r(2454),l=(n(r(834)),n(r(9469)),n(r(8705))),c=n(r(9558));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}function m(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=(0,l.default)(),v=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({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 w(e,t,r){let{ownerState:n}=t,a=(0,i.default)(t,u);const l="function"==typeof e?e((0,o.default)({ownerState:n},a)):e;if(Array.isArray(l))return l.flatMap(e=>w(e,(0,o.default)({ownerState:n},a),r));if(l&&"object"==typeof l&&Array.isArray(l.variants)){const{variants:e=[]}=l;let t=(0,i.default)(l,p);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},a,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&a[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,o.default)({ownerState:n},a,n)):e.style;t.push(r?m((0,s.internal_serializeStyles)(i),r):i)}}),t}return r?m((0,s.internal_serializeStyles)(l),r):l}},7437:(e,t,r)=>{"use strict";r.d(t,{AH:()=>d,i7:()=>f,mL:()=>p});var n,o,i=r(4684),s=r(1609),a=r(41),l=r(1287),c=r(3174),u=(r(1568),r(4146),function(e,t){var r=arguments;if(null==t||!i.h.call(t,"css"))return s.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=i.E,o[1]=(0,i.c)(e,t);for(var a=2;a<n;a++)o[a]=r[a];return s.createElement.apply(null,o)});n=u||(u={}),o||(o=n.JSX||(n.JSX={}));var p=(0,i.w)(function(e,t){var r=e.styles,n=(0,c.J)([r],void 0,s.useContext(i.T)),o=s.useRef();return(0,l.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,s=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==s&&(i=!0,s.setAttribute("data-emotion",e),r.hydrate([s])),o.current=[r,i],function(){r.flush()}},[t]),(0,l.i)(function(){var e=o.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,a.sk)(t,n.next,!0),r.tags.length){var i=r.tags[r.tags.length-1].nextElementSibling;r.before=i,r.flush()}t.insert("",n,r,!1)}},[t,n.name]),null});function d(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,c.J)(t)}function f(){var e=d.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},7503:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>i});var n=r(4559);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function s(e,t=""){return e.displayName||e.name||i(e)||t}function a(e,t,r){const n=s(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return s(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.vM:return a(e,e.render,"ForwardRef");case n.lD:return a(e,e.type,"memo");default:return}}}},7601:(e,t,r)=>{"use strict";r.d(t,{A:()=>i}),r(1609);var n=r(7437),o=r(790);function i(e){const{styles:t,defaultTheme:r={}}=e,i="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,o.jsx)(n.mL,{styles:i})}},7673:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(8587),o=r(8168);const i=["values","unit","step"],s=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 a(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:a=5}=e,l=(0,n.A)(e,i),c=s(t),u=Object.keys(c);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)-a/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)-a/100}${r})`}return(0,o.A)({keys:u,values:c,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},l)}},7783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(9056)},7807:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>a,BO:()=>s,Yn:()=>i});var n=r(773),o=r(1566);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 s(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 a=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:a,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,a)||{};return(0,o.NI)(e,c,e=>{let o=s(u,l,e);return e===o&&"string"==typeof e&&(o=s(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},8168:(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})},8587:(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(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},8705:(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(6920),o=r(7673),i=r(851)},9056:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},9222:(e,t,r)=>{"use strict";r.d(t,{A:()=>L});var n=r(2350),o=r(7807),i=r(6446);const s=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 a=r(1566);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),p=c("borderTop",l),d=c("borderRight",l),f=c("borderBottom",l),h=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),v=c("borderRightColor"),y=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),_=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,a.NI)(e,e.borderRadius,r)}return null};_.propTypes={},_.filterProps=["borderRadius"],s(u,p,d,f,h,m,g,v,y,b,_,w,x);const S=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,a.NI)(e,e.gap,r)}return null};S.propTypes={},S.filterProps=["gap"];const k=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,a.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const C=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,a.NI)(e,e.rowGap,r)}return null};function A(e,t){return"grey"===t?t:e}function I(e){return e<=1&&0!==e?100*e+"%":e}C.propTypes={},C.filterProps=["rowGap"],s(S,k,C,(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"})),s((0,o.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));const M=(0,o.Ay)({prop:"width",transform:I}),R=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])||a.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:I(t)}};return(0,a.NI)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const E=(0,o.Ay)({prop:"minWidth",transform:I}),O=(0,o.Ay)({prop:"height",transform:I}),T=(0,o.Ay)({prop:"maxHeight",transform:I}),P=(0,o.Ay)({prop:"minHeight",transform:I}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:I}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:I}),s(M,R,E,O,T,P,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},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:S},rowGap:{style:C},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:I},maxWidth:{style:R},minWidth:{transform:I},height:{transform:I},maxHeight:{transform:I},minHeight:{transform:I},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},9469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>i});var n=r(211);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function s(e,t=""){return e.displayName||e.name||i(e)||t}function a(e,t,r){const n=s(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return s(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.vM:return a(e,e.render,"ForwardRef");case n.lD:return a(e,e.type,"memo");default:return}}}},9517:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(5048)},9558:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>i.A});var n=r(3168),o=r(9918),i=r(4229)},9569:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>u,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>a.A});var n=r(73),o=r(8168),i=r(8587),s=r(766),a=r(9222);const l=["sx"],c=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.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,l),{systemProps:n,otherProps:a}=c(r);let u;return u=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,s.Q)(r)?(0,o.A)({},n,r):n}:(0,o.A)({},n,t),(0,o.A)({},a,{sx:u})}},9667:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6032);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},9751:(e,t,r)=>{"use strict";var n=r(1609),o=r.n(n),i=r(1242),s=r.n(i),a="comm",l="rule",c="decl";var u=Math.abs,p=String.fromCharCode;function d(e){return e.trim()}function f(e,t,r){return e.replace(t,r)}function h(e,t,r){return e.indexOf(t,r)}function m(e,t){return 0|e.charCodeAt(t)}function g(e,t,r){return e.slice(t,r)}function v(e){return e.length}function y(e,t){return t.push(e),e}Object.assign;var b=1,w=1,x=0,_=0,S=0,k="";function C(e,t,r,n,o,i,s,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:b,column:w,length:s,return:"",siblings:a}}function A(){return S=_>0?m(k,--_):0,w--,10===S&&(w=1,b--),S}function I(){return S=_<x?m(k,_++):0,w++,10===S&&(w=1,b++),S}function M(){return m(k,_)}function R(){return _}function E(e,t){return g(k,e,t)}function O(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 T(e){return d(E(_-1,F(91===e?e+2:40===e?e+1:e)))}function P(e){for(;(S=M())&&S<33;)I();return O(e)>2||O(S)>3?"":" "}function L(e,t){for(;--t&&I()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return E(e,R()+(t<6&&32==M()&&32==I()))}function F(e){for(;I();)switch(S){case e:return _;case 34:case 39:34!==e&&39!==e&&F(S);break;case 40:41===e&&F(e);break;case 92:I()}return _}function N(e,t){for(;I()&&e+S!==57&&(e+S!==84||47!==M()););return"/*"+E(t,_-1)+"*"+p(47===e?e:I())}function j(e){for(;!O(M());)I();return E(e,_)}function $(e){return function(e){return k="",e}(z("",null,null,null,[""],e=function(e){return b=w=1,x=v(k=e),_=0,[]}(e),0,[0],e))}function z(e,t,r,n,o,i,s,a,l){for(var c=0,d=0,b=s,w=0,x=0,_=0,S=1,k=1,C=1,E=0,F="",$=o,U=i,q=n,V=F;k;)switch(_=E,E=I()){case 40:if(108!=_&&58==m(V,b-1)){-1!=h(V+=f(T(E),"&","&\f"),"&\f",u(c?a[c-1]:0))&&(C=-1);break}case 34:case 39:case 91:V+=T(E);break;case 9:case 10:case 13:case 32:V+=P(_);break;case 92:V+=L(R()-1,7);continue;case 47:switch(M()){case 42:case 47:y(D(N(I(),R()),t,r,l),l),5!=O(_||1)&&5!=O(M()||1)||!v(V)||" "===g(V,-1,void 0)||(V+=" ");break;default:V+="/"}break;case 123*S:a[c++]=v(V)*C;case 125*S:case 59:case 0:switch(E){case 0:case 125:k=0;case 59+d:-1==C&&(V=f(V,/\f/g,"")),x>0&&(v(V)-b||0===S&&47===_)&&y(x>32?W(V+";",n,r,b-1,l):W(f(V," ","")+";",n,r,b-2,l),l);break;case 59:V+=";";default:if(y(q=B(V,t,r,c,d,o,a,F,$=[],U=[],b,i),i),123===E)if(0===d)z(V,t,q,q,$,i,b,a,U);else{switch(w){case 99:if(110===m(V,3))break;case 108:if(97===m(V,2))break;default:d=0;case 100:case 109:case 115:}d?z(e,q,q,n&&y(B(e,q,q,0,0,o,a,F,o,$=[],b,U),U),o,U,b,a,n?$:U):z(V,q,q,q,[""],U,0,a,U)}}c=d=x=0,S=C=1,F=V="",b=s;break;case 58:b=1+v(V),x=_;default:if(S<1)if(123==E)--S;else if(125==E&&0==S++&&125==A())continue;switch(V+=p(E),E*S){case 38:C=d>0?1:(V+="\f",-1);break;case 44:a[c++]=(v(V)-1)*C,C=1;break;case 64:45===M()&&(V+=T(I())),w=M(),d=b=v(F=V+=j(R())),E++;break;case 45:45===_&&2==v(V)&&(S=0)}}return i}function B(e,t,r,n,o,i,s,a,c,p,h,m){for(var v=o-1,y=0===o?i:[""],b=function(e){return e.length}(y),w=0,x=0,_=0;w<n;++w)for(var S=0,k=g(e,v+1,v=u(x=s[w])),A=e;S<b;++S)(A=d(x>0?y[S]+" "+k:f(k,/&\f/g,y[S])))&&(c[_++]=A);return C(e,t,r,0===o?l:a,c,p,h,m)}function D(e,t,r,n){return C(e,t,r,a,p(S),g(e,2,-2),0,n)}function W(e,t,r,n,o){return C(e,t,r,c,g(e,0,n),g(e,n+1,-1),n,o)}function U(e,t,r){switch(e.type){case"@import":case c:case a:return e.return=e.return||e.value;case l:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(e){e.type===a&&(e.children=e.value)})}var n=function(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}(Array.prototype.concat(e.children),U);return v(n)?e.return=e.value+"{"+n+"}":""}function q(e,t,r,n){if("@keyframes"===e.type||"@supports"===e.type||e.type===l&&(!e.parent||"@media"===e.parent.type||e.parent.type===l)){var o=s().transform(U(e));e.children=o?$(o)[0].children:[],e.return=""}}Object.defineProperty(q,"name",{value:"stylisRTLPlugin"});const V=q;var H=r(6632),G=r(6810),K="-ms-",X="-moz-",Y="-webkit-",Z=(Math.abs,String.fromCharCode,Object.assign);function J(e,t){return(e=t.exec(e))?e[0]:e}function Q(e,t,r){return e.replace(t,r)}function ee(e,t){return e.indexOf(t)}function te(e,t){return 0|e.charCodeAt(t)}function re(e,t){return Z({value:"",root:null,parent:null,type:"",props:null,children:null,line:1,column:1,length:0,return:""},e,{length:-e.length},t)}function ne(e,t){for(var r="",n=e.length,o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function oe(e,t,r){switch(function(e,t){return 45^te(e,0)?(((t<<2^te(e,0))<<2^te(e,1))<<2^te(e,2))<<2^te(e,3):0}(e,t)){case 5103:return Y+"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 Y+e+e;case 4789:return X+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+X+e+K+e+e;case 5936:switch(te(e,t+11)){case 114:return Y+e+K+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+K+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+K+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Y+e+K+e+e;case 6165:return Y+e+K+"flex-"+e+e;case 5187:return Y+e+Q(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+K+"flex-$1$2")+e;case 5443:return Y+e+K+"flex-item-"+Q(e,/flex-|-self/g,"")+(J(e,/flex-|baseline/)?"":K+"grid-row-"+Q(e,/flex-|-self/g,""))+e;case 4675:return Y+e+K+"flex-line-pack"+Q(e,/align-content|flex-|-self/g,"")+e;case 5548:return Y+e+K+Q(e,"shrink","negative")+e;case 5292:return Y+e+K+Q(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+Q(e,"-grow","")+Y+e+K+Q(e,"grow","positive")+e;case 4554:return Y+Q(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+K+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4200:if(!J(e,/flex-|baseline/))return K+"grid-column-align"+function(e,t){return e.slice(t,void 0)}(e,t)+e;break;case 2592:case 3360:return K+Q(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,J(e.props,/grid-\w+-end/)})?~ee(e+(r=r[t].value),"span")?e:K+Q(e,"-start","")+e+K+"grid-row-span:"+(~ee(r,"span")?J(r,/\d+/):+J(r,/\d+/)-+J(e,/\d+/))+";":K+Q(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return J(e.props,/grid-\w+-start/)})?e:K+Q(Q(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,Y+"$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(function(e){return e.length}(e)-1-t>6)switch(te(e,t+1)){case 109:if(45!==te(e,t+4))break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+X+(108==te(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ee(e,"stretch")?oe(Q(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Q(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,i,s,a){return K+r+":"+n+a+(o?K+r+"-span:"+(i?s:+s-+n)+a:"")+e});case 4949:if(121===te(e,t+6))return Q(e,":",":"+Y)+e;break;case 6444:switch(te(e,45===te(e,14)?18:11)){case 120:return Q(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Y+(45===te(e,14)?"inline-":"")+"box$3$1"+Y+"$2$3$1"+K+"$2box$3")+e;case 100:return Q(e,":",":"+K)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Q(e,"scroll-","scroll-snap-")+e}return e}const ie="&:hover,&:focus,&:active,&:visited",se="__unstableAccessibleMain",ae="__unstableAccessibleLight",le="0.75rem",ce="1.25em",ue="1.25em",pe="1.25em",de="eui-rtl",fe=[0,1,1,1,1],he=(0,G.A)({key:de,stylisPlugins:[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case"decl":return void(e.return=oe(e.value,e.length,r));case"@keyframes":return ne([re(e,{value:Q(e.value,"@","@"+Y)})],n);case"rule":if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(J(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ne([re(e,{props:[Q(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return ne([re(e,{props:[Q(t,/:(plac\w+)/,":"+Y+"input-$1")]}),re(e,{props:[Q(t,/:(plac\w+)/,":-moz-$1")]}),re(e,{props:[Q(t,/:(plac\w+)/,K+"input-$1")]})],n)}return""})}},V]}),me=(0,G.A)({key:"eui"});var ge=({rtl:e,children:t})=>o().createElement(H.C,{value:e?he:me},t),ve=r(8168),ye=r(8587);const be=n.createContext(null);function we(){return n.useContext(be)}const xe="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var _e=r(790);const Se=function(e){const{children:t,theme:r}=e,o=we(),i=n.useMemo(()=>{const e=null===o?r:function(e,t){return"function"==typeof t?t(e):(0,ve.A)({},e,t)}(o,r);return null!=e&&(e[xe]=null!==o),e},[r,o]);return(0,_e.jsx)(be.Provider,{value:i,children:t})};var ke=r(4684);const Ce=function(e=null){const t=n.useContext(ke.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r},Ae=["value"],Ie=n.createContext(),Me=()=>{const e=n.useContext(Ie);return null!=e&&e},Re=function(e){let{value:t}=e,r=(0,ye.A)(e,Ae);return(0,_e.jsx)(Ie.Provider,(0,ve.A)({value:null==t||t},r))},Ee=n.createContext(void 0),Oe=function({value:e,children:t}){return(0,_e.jsx)(Ee.Provider,{value:e,children:t})},Te="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;let Pe=0;const Le=n["useId".toString()];function Fe(e){if(void 0!==Le){const t=Le();return null!=e?e:t}return function(e){const[t,r]=n.useState(e),o=e||t;return n.useEffect(()=>{null==t&&(Pe+=1,r(`mui-${Pe}`))},[t]),o}(e)}var Ne=r(1032),je=r(7601),$e=r(6920);const ze=(0,$e.A)(),Be=function(e=ze){return Ce(e)};function De(e){const t=(0,Ne.internal_serializeStyles)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const We=function({styles:e,themeId:t,defaultTheme:r={}}){const n=Be(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>De("function"==typeof e?e(o):e)):De(i)),(0,_e.jsx)(je.A,{styles:i})},Ue={};function qe(e,t,r,o=!1){return n.useMemo(()=>{const n=e&&t[e]||t;if("function"==typeof r){const i=r(n),s=e?(0,ve.A)({},t,{[e]:i}):i;return o?()=>s:s}return e?(0,ve.A)({},t,{[e]:r}):(0,ve.A)({},t,r)},[e,t,r,o])}const Ve=function(e){const{children:t,theme:r,themeId:n}=e,o=Ce(Ue),i=we()||Ue,s=qe(n,o,r),a=qe(n,i,r,!0),l="rtl"===s.direction,c=function(e){const t=Ce(),r=Fe()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",Te(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var n;if(t&&null!=(n=t.hasAttribute)&&n.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",r),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${r}"]`))||i.remove()}},[o,r]),o?(0,_e.jsx)(We,{styles:o}):null}(s);return(0,_e.jsx)(Se,{theme:a,children:(0,_e.jsx)(ke.T.Provider,{value:s,children:(0,_e.jsx)(Re,{value:l,children:(0,_e.jsxs)(Oe,{value:null==s?void 0:s.components,children:[c,t]})})})})},He="$$material",Ge=["theme"];function Ke(e){let{theme:t}=e,r=(0,ye.A)(e,Ge);const n=t[He];return(0,_e.jsx)(Ve,(0,ve.A)({},r,{themeId:n?He:void 0,theme:n||t}))}const Xe="#FFFFFF",Ye="#f1f3f3",Ze="#d5d8dc",Je="#babfc5",Qe="#9da5ae",et="#818a96",tt="#69727d",rt="#515962",nt="#3f444b",ot="#1f2124",it="#0c0d0e",st="#f3bafd",at="#f0abfc",lt="#eb8efb",ct="#ef4444",ut="#dc2626",pt="#b91c1c",dt="#b15211",ft="#3b82f6",ht="#2563eb",mt="#1d4ed8",gt="#10b981",vt="#0a875a",yt="#047857",bt="#99f6e4",wt="#5eead4",xt="#2adfcd",_t="#b51243",St="#93003f",kt="#7e013b",Ct={defaultProps:{slotProps:{paper:{elevation:6}}},styleOverrides:{listbox:({theme:e})=>({"&.MuiAutocomplete-listboxSizeTiny":{fontSize:"0.875rem"},'&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]':{"&,&.Mui-Mui-focused":{backgroundColor:e.palette.action.selected}}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiOutlinedInput-root":{padding:"2.5px 0","& .MuiAutocomplete-input":{lineHeight:ue,height:ue,padding:"4px 2px 4px 8px"}},"& .MuiFilledInput-root":{padding:0,"& .MuiAutocomplete-input":{padding:"15px 8px 6px"}},"& .MuiInput-root":{paddingBottom:0,"& .MuiAutocomplete-input":{padding:"2px 0"}},"& .MuiAutocomplete-popupIndicator":{fontSize:"1.5em"},"& .MuiAutocomplete-clearIndicator":{fontSize:"1.2em"},"& .MuiAutocomplete-popupIndicator .MuiSvgIcon-root, & .MuiAutocomplete-clearIndicator .MuiSvgIcon-root":{fontSize:"1em"},"& .MuiInputAdornment-root .MuiIconButton-root":{padding:"2px"},"& .MuiAutocomplete-tagSizeTiny":{fontSize:le},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},At=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative","neutral"],It=["primary","global"],Mt=At.filter(e=>!It.includes(e)),Rt={defaultProps:{disableRipple:!0},styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:At.map(e=>({props:{variant:"contained",color:e},style:({theme:t})=>({"& .MuiButtonGroup-grouped:not(:last-of-type), & .MuiButtonGroup-grouped:not(:last-of-type).Mui-disabled":{borderRight:0},"& .MuiButtonGroup-grouped:not(:last-child), & > *:not(:last-child) .MuiButtonGroup-grouped":{borderRight:`1px solid ${t.palette[e].dark}`},"& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled":{borderRight:`1px solid ${t.palette.action.disabled}`}})}))};var Et=r(5048),Ot=r(9056);function Tt(e,t=0,r=1){return(0,Ot.A)(e,t,r)}function Pt(e){if(e.type)return e;if("#"===e.charAt(0))return Pt(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,Et.A)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,Et.A)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}function Lt(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 Ft(e,t){if(e=Pt(e),t=Tt(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 Lt(e)}function Nt(e,t){if(e=Pt(e),t=Tt(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 Lt(e)}const jt={variants:[{props:{color:"primary",variant:"outlined"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain,borderColor:e.palette.primary.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:e.palette.primary.__unstableAccessibleLight,"&:hover":{color:e.palette.primary.__unstableAccessibleMain}}})},{props:{color:"global",variant:"outlined"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain,borderColor:e.palette.global.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:e.palette.global.__unstableAccessibleLight,"&:hover":{color:e.palette.global.__unstableAccessibleMain}}})},{props:{color:"default",variant:"filled"},style:({theme:e})=>({backgroundColor:"light"===e.palette.mode?"#EBEBEB":"#434547","&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:e.palette.action.focus},"& .MuiChip-icon":{color:"inherit"}})},...$t(["default"],function(e){return{backgroundColor:{light:"#EBEBEB",dark:"#434547"},backgroundColorHover:{light:e.palette.action.focus,dark:e.palette.action.focus},color:{light:e.palette.text.primary,dark:e.palette.text.primary},deleteIconOpacity:.26,deleteIconOpacityHover:.7}}),...$t(["primary","global"],function(e,t){const r=e.palette[t];return{backgroundColor:{light:Nt(r.light,.8),dark:Ft(r.__unstableAccessibleMain,.8)},backgroundColorHover:{light:Nt(r.light,.6),dark:Ft(r.__unstableAccessibleMain,.9)},color:{light:Ft(r.__unstableAccessibleMain,.3),dark:Nt(r.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...$t(Mt,function(e,t){return{backgroundColor:{light:Nt(e.palette[t].light,.9),dark:Ft(e.palette[t].light,.8)},backgroundColorHover:{light:Nt(e.palette[t].light,.8),dark:Ft(e.palette[t].light,.9)},color:{light:Ft(e.palette[t].main,.3),dark:Nt(e.palette[t].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:le,height:"20px",paddingInline:"5px","& .MuiChip-avatar":{width:"1rem",height:"1rem",fontSize:"9px",marginLeft:0,marginRight:"1px"},"& .MuiChip-icon":{fontSize:"1rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"0.875rem",marginLeft:0,marginRight:0}})},{props:{size:"small"},style:()=>({height:"24px",paddingInline:"5px","& .MuiChip-avatar":{width:"1.125rem",height:"1.125rem",fontSize:"9px",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.125rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"1rem",marginLeft:0,marginRight:0}})},{props:{size:"medium"},style:()=>({height:"32px",paddingInline:"6px","& .MuiChip-avatar":{width:"1.25rem",height:"1.25rem",fontSize:"0.75rem",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.25rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"4px",paddingLeft:"4px"},"& .MuiChip-deleteIcon":{fontSize:"1.125rem",marginLeft:0,marginRight:0}})}]};function $t(e,t){return e.map(e=>({props:{color:e,variant:"standard"},style:({theme:r})=>{const n=t(r,e),{mode:o}=r.palette;return{backgroundColor:n.backgroundColor[o],color:n.color[o],"&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:n.backgroundColorHover[o]},"& .MuiChip-icon":{color:"inherit"},"& .MuiChip-deleteIcon":{color:n.color[o],opacity:n.deleteIconOpacity,"&:hover,&:focus":{color:n.color[o],opacity:n.deleteIconOpacityHover}}}}}))}const zt="1rem",Bt="0.75rem";var Dt={MuiAccordion:{styleOverrides:{root:({theme:e})=>({backgroundColor:e.palette.background.default,"&:before":{content:"none"},"&.Mui-expanded":{margin:0},"&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters":{marginTop:e.spacing(1),marginBottom:e.spacing(0)},"&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)":{borderTop:0},"&.Mui-disabled":{backgroundColor:e.palette.background.default}})},variants:[{props:{square:!1},style:({theme:e})=>{const t=e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[3];return{"&:first-of-type":{borderTopLeftRadius:t,borderTopRightRadius:t},"&:last-of-type":{borderBottomLeftRadius:t,borderBottomRightRadius:t}}}}]},MuiAccordionActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2)})}},MuiAccordionSummary:{styleOverrides:{root:()=>({minHeight:"64px"}),content:({theme:e})=>({margin:e.spacing(1,0),"&.MuiAccordionSummary-content.Mui-expanded":{margin:e.spacing(1,0)}})}},MuiAccordionSummaryIcon:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(1,0)})}},MuiAccordionSummaryText:{styleOverrides:{root:({theme:e})=>({marginTop:0,marginBottom:0,padding:e.spacing(1,0)})}},MuiAppBar:{defaultProps:{elevation:0,color:"default"}},MuiAutocomplete:Ct,MuiAvatar:{variants:[{props:{variant:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],boxShadow:"none",whiteSpace:"nowrap","&:hover":{boxShadow:"none"},"& .MuiSvgIcon-root":{fill:"currentColor"}})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain,borderColor:e.palette.primary.__unstableAccessibleMain,"&:hover":{borderColor:e.palette.primary.__unstableAccessibleMain}})},{props:{color:"primary",variant:"text"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain})},{props:{color:"global",variant:"outlined"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain,borderColor:e.palette.global.__unstableAccessibleMain,"&:hover":{borderColor:e.palette.global.__unstableAccessibleMain}})},{props:{color:"global",variant:"text"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain})}]},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:()=>({"&.MuiButtonBase-root.Mui-focusVisible":{boxShadow:"0 0 0 1px inset"},".MuiCircularProgress-root":{fontSize:"inherit"}})}},MuiButtonGroup:Rt,MuiCard:{defaultProps:{},styleOverrides:{root:()=>({position:"relative"})}},MuiCardActions:{styleOverrides:{root:({theme:e})=>({justifyContent:"flex-end",padding:e.spacing(1.5,2)})}},MuiCardGroup:{styleOverrides:{root:()=>({"& .MuiCard-root.MuiPaper-outlined:not(:last-child)":{borderBottom:0},"& .MuiCard-root.MuiPaper-rounded":{"&:first-child:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0},"&:not(:first-child):not(:last-child)":{borderRadius:0},"&:last-child:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0}}})}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"subtitle1"}},styleOverrides:{action:()=>({alignSelf:"center"})},variants:[{props:{disableActionOffset:!0},style:()=>({"& .MuiCardHeader-action":{marginRight:0}})}]},MuiChip:jt,MuiCircularProgress:{defaultProps:{color:"inherit",size:"1em"},styleOverrides:{root:({theme:e})=>({fontSize:e.spacing(5)})}},MuiDialog:{styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[4]})}},MuiDialogActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,3)})}},MuiDialogContent:{styleOverrides:{dividers:()=>({"&:last-child":{borderBottom:"none"}})}},MuiFilledInput:{styleOverrides:{root:({theme:e})=>({borderTopLeftRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],borderTopRightRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny"},style:()=>({fontSize:le,lineHeight:pe,"& .MuiInputBase-input":{fontSize:le,lineHeight:pe,height:pe,padding:"15px 8px 6px"}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})}]},MuiFormHelperText:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.tertiary,margin:e.spacing(.5,0,0)})}},MuiFormLabel:{variants:[{props:{size:"tiny"},style:()=>({fontSize:"0.75rem",lineHeight:"1.6",fontWeight:"400",letterSpacing:"0.19px"})},{props:{size:"small"},style:({theme:e})=>({...e.typography.body2})}]},MuiIconButton:{variants:[{props:{color:"primary"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain})},{props:{color:"global"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain})},{props:{edge:"start",size:"small"},style:({theme:e})=>({marginLeft:e.spacing(-1.5)})},{props:{edge:"end",size:"small"},style:({theme:e})=>({marginRight:e.spacing(-1.5)})},{props:{edge:"start",size:"large"},style:({theme:e})=>({marginLeft:e.spacing(-2)})},{props:{edge:"end",size:"large"},style:({theme:e})=>({marginRight:e.spacing(-2)})},{props:{size:"tiny"},style:({theme:e})=>({padding:e.spacing(.75)})}]},MuiInput:{variants:[{props:{size:"tiny"},style:({theme:e})=>({fontSize:le,lineHeight:ce,"&.MuiInput-root":{marginTop:e.spacing(1.5)},"& .MuiInputBase-input":{fontSize:le,lineHeight:ce,height:ce,padding:"6.5px 0"}})}]},MuiInputAdornment:{styleOverrides:{root:({theme:e})=>({"&.MuiInputAdornment-sizeTiny":{"&.MuiInputAdornment-positionStart":{marginRight:e.spacing(.5)},"&.MuiInputAdornment-positionEnd":{marginLeft:e.spacing(.5)}}})}},MuiInputBase:{styleOverrides:{input:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial"}})}},MuiInputLabel:{variants:[{props:{size:"tiny",shrink:!1},style:()=>({"&.MuiInputLabel-outlined":{transform:"translate(7.5px, 5.5px) scale(1)"},"&.MuiInputLabel-standard":{transform:"translate(0px, 18px) scale(1)"},"&.MuiInputLabel-filled":{transform:"translate(8px, 11px) scale(1)"}})},{props:{size:"tiny",shrink:!0},style:()=>({"&.MuiInputLabel-filled":{transform:"translate(8px, 2px) scale(0.75)"}})}]},MuiListItem:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary,"a&":{[ie]:{color:e.palette.text.primary}}})}},MuiListItemButton:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary,"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.selected},"&:focus":{backgroundColor:e.palette.action.focus}},"a&":{[ie]:{color:e.palette.text.primary}}})}},MuiListItemIcon:{styleOverrides:{root:({theme:e})=>({minWidth:"initial","&:not(:last-child)":{marginRight:e.spacing(1)}})}},MuiListItemText:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary})}},MuiListSubheader:{styleOverrides:{root:({theme:e})=>({backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))",lineHeight:"36px",color:e.palette.text.secondary})}},MuiMenu:{defaultProps:{elevation:6}},MuiMenuItem:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.selected},"&:focus":{backgroundColor:e.palette.action.focus}},"a&":{[ie]:{color:e.palette.text.primary}},"& .MuiListItemIcon-root":{minWidth:"initial"}})}},MuiOutlinedInput:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],"&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===e.palette.mode?"rgba(255, 255, 255, 0.23)":"rgba(0, 0, 0, 0.23)",borderWidth:"1px"}})},variants:[{props:{size:"tiny"},style:({theme:e})=>({fontSize:le,lineHeight:ue,"&.MuiInputBase-adornedStart":{paddingLeft:e.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:e.spacing(1)},"& .MuiInputBase-input":{fontSize:le,lineHeight:ue,height:ue,padding:"6.5px 8px"},"& .MuiInputAdornment-root + .MuiInputBase-input":{paddingLeft:0},"&:has(.MuiInputBase-input + .MuiInputAdornment-root) .MuiInputBase-input":{paddingRight:0}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})},{props:e=>!!e.endAdornment&&"tiny"===e.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{"&.MuiSelect-standard":{paddingTop:0,paddingBottom:0},"&.MuiSelect-outlined,&.MuiSelect-filled":{paddingTop:"4px",paddingBottom:"4px"}}})},{props:e=>!!e.endAdornment&&"small"===e.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"2.5px",paddingBottom:"2.5px"}})},{props:e=>!(!e.endAdornment||"medium"!==e.size&&e.size),style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"8.5px",paddingBottom:"8.5px"}})}]},MuiPagination:{variants:[{props:{shape:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiPaper:{variants:[{props:{square:!1},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[3]})}]},MuiSelect:{styleOverrides:{nativeInput:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial",opacity:0}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiSelect-icon":{fontSize:zt,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:ue},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:ce,minHeight:ce}})}]},MuiSkeleton:{variants:[{props:{variant:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiSnackbarContent:{defaultProps:{},styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})}},MuiStepConnector:{styleOverrides:{root:({theme:e})=>({"& .MuiStepConnector-line":{borderColor:e.palette.divider}})}},MuiStepIcon:{styleOverrides:{root:({theme:e})=>({"&:not(.Mui-active) .MuiStepIcon-text":{fill:e.palette.common.white}})}},MuiStepLabel:{styleOverrides:{root:()=>({alignItems:"flex-start"})}},MuiStepper:{styleOverrides:{root:()=>({"& .MuiStepLabel-root":{alignItems:"center"}})}},MuiSvgIcon:{variants:[{props:{fontSize:"tiny"},style:()=>({fontSize:"1rem"})}]},MuiTab:{styleOverrides:{root:{"&:not(.Mui-selected)":{fontWeight:400},"&.Mui-selected":{fontWeight:700}}},variants:[{props:{size:"small"},style:({theme:e})=>({fontSize:Bt,lineHeight:1.6,padding:e.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}})}]},MuiTableRow:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.selected}}})},variants:[{props:e=>"onClick"in e,style:()=>({cursor:"pointer"})}]},MuiTabPanel:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary})},variants:[{props:e=>"medium"===e.size||!e.size,style:({theme:e})=>({padding:e.spacing(3,0)})},{props:{size:"small"},style:({theme:e})=>({padding:e.spacing(1.5,0)})},{props:{disablePadding:!0},style:()=>({padding:0})}]},MuiTabs:{styleOverrides:{indicator:{height:"3px"}},variants:[{props:{size:"small"},style:({theme:e})=>({minHeight:32,"& .MuiTab-root":{fontSize:Bt,lineHeight:1.6,padding:e.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}}})}]},MuiTextField:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny",select:!0},style:()=>({"& .MuiSelect-icon":{fontSize:zt,right:"9px"},"& .MuiInputBase-root .MuiSelect-select":{minHeight:"auto"}})}]},MuiToggleButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{color:"primary"},style:({theme:e})=>({"&.MuiToggleButton-root.Mui-selected":{color:e.palette.primary.__unstableAccessibleMain}})},{props:{color:"global"},style:({theme:e})=>({"&.MuiToggleButton-root.Mui-selected":{color:e.palette.global.__unstableAccessibleMain}})},{props:{size:"tiny"},style:({theme:e})=>({fontSize:le,lineHeight:1.3334,padding:e.spacing(.625)})}]},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:({theme:e})=>({color:e.palette.grey[700]}),tooltip:({theme:e})=>({backgroundColor:e.palette.grey[700],borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}},MuiTypography:{defaultProps:{variantMapping:{display1:"h1",display2:"h2",display3:"h3",display4:"h4",display5:"h5",display6:"h6"}}}};const Wt={components:Dt,shape:{borderRadius:4,__unstableBorderRadiusMultipliers:fe},typography:{display1:{fontSize:"0rem"},display2:{fontSize:"0rem"},display3:{fontSize:"0rem"},display4:{fontSize:"0rem"},display5:{fontSize:"0rem"},display6:{fontSize:"0rem"},button:{textTransform:"none"},h1:{fontWeight:700},h2:{fontWeight:700},h3:{fontSize:"2.75rem",fontWeight:700},h4:{fontSize:"2rem",fontWeight:700},h5:{fontWeight:700},subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},Ut={...Wt,palette:{mode:"light",primary:{main:at,light:st,dark:lt,contrastText:it,[se]:"#C00BB9",[ae]:"#D355CE"},secondary:{main:rt,light:tt,dark:nt,contrastText:Xe},grey:{50:Ye,100:Ze,200:Je,300:Qe,400:et,500:tt,600:rt,700:nt,800:ot,900:it},text:{primary:it,secondary:nt,tertiary:tt,disabled:Qe},background:{paper:Xe,default:Xe},success:{main:vt,light:gt,dark:yt,contrastText:Xe},error:{main:ut,light:ct,dark:pt,contrastText:Xe},warning:{main:"#bb5b1d",light:"#d97706",dark:dt,contrastText:Xe},info:{main:ht,light:ft,dark:mt,contrastText:Xe},global:{main:wt,light:bt,dark:xt,contrastText:it,[se]:"#17929B",[ae]:"#5DB3B9"},accent:{main:St,light:_t,dark:kt,contrastText:Xe},promotion:{main:St,light:_t,dark:kt,contrastText:Xe},decorative:{main:wt,light:bt,dark:xt,contrastText:it},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},qt={...Wt,palette:{mode:"dark",primary:{main:at,light:st,dark:lt,contrastText:it,[se]:"#C00BB9",[ae]:"#D355CE"},secondary:{main:Qe,light:Je,dark:et,contrastText:it},grey:{50:Ye,100:Ze,200:Je,300:Qe,400:et,500:tt,600:rt,700:nt,800:ot,900:it},text:{primary:Xe,secondary:Je,tertiary:Qe,disabled:rt},background:{paper:it,default:ot},success:{main:vt,light:gt,dark:yt,contrastText:Xe},error:{main:ut,light:ct,dark:pt,contrastText:Xe},warning:{main:"#f59e0b",light:"#fbbf24",dark:dt,contrastText:"#000000"},info:{main:ht,light:ft,dark:mt,contrastText:Xe},global:{main:wt,light:bt,dark:xt,contrastText:it,[se]:"#17929B",[ae]:"#5DB3B9"},accent:{main:St,light:_t,dark:kt,contrastText:Xe},promotion:{main:St,light:_t,dark:kt,contrastText:Xe},decorative:{main:wt,light:bt,dark:xt,contrastText:it},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}};function Vt(e,t){const r=(0,ve.A)({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,ve.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,ve.A)({},i),Object.keys(o).forEach(e=>{r[n][e]=Vt(o[e],i[e])})):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])}),r}function Ht(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?Vt(t.components[r].defaultProps,n):n}function Gt(e,t,r,o,i){const[s,a]=n.useState(()=>i&&r?r(e).matches:o?o(e).matches:t);return Te(()=>{let t=!0;if(!r)return;const n=r(e),o=()=>{t&&a(n.matches)};return o(),n.addListener(o),()=>{t=!1,n.removeListener(o)}},[e,r]),s}const Kt=n.useSyncExternalStore;function Xt(e,t,r,o,i){const s=n.useCallback(()=>t,[t]),a=n.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(null!==o){const{matches:t}=o(e);return()=>t}return s},[s,e,o,i,r]),[l,c]=n.useMemo(()=>{if(null===r)return[s,()=>()=>{}];const t=r(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[s,r,e]);return Kt(c,l,a)}function Yt(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 Zt(e){if(n.isValidElement(e)||!Yt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Zt(e[r])}),t}function Jt(e,t,r={clone:!0}){const o=r.clone?(0,ve.A)({},e):e;return Yt(e)&&Yt(t)&&Object.keys(t).forEach(i=>{n.isValidElement(t[i])?o[i]=t[i]:Yt(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Yt(e[i])?o[i]=Jt(e[i],t[i],r):r.clone?o[i]=Yt(t[i])?Zt(t[i]):t[i]:o[i]=t[i]}),o}var Qt=r(6032),er=r(4229),tr=r(3168);function rr(e,t){return(0,ve.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var nr=r(6950);const or={black:"#000",white:"#fff"},ir={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"},sr="#f3e5f5",ar="#ce93d8",lr="#ba68c8",cr="#ab47bc",ur="#9c27b0",pr="#7b1fa2",dr="#e57373",fr="#ef5350",hr="#f44336",mr="#d32f2f",gr="#c62828",vr="#ffb74d",yr="#ffa726",br="#ff9800",wr="#f57c00",xr="#e65100",_r="#e3f2fd",Sr="#90caf9",kr="#42a5f5",Cr="#1976d2",Ar="#1565c0",Ir="#4fc3f7",Mr="#29b6f6",Rr="#03a9f4",Er="#0288d1",Or="#01579b",Tr="#81c784",Pr="#66bb6a",Lr="#4caf50",Fr="#388e3c",Nr="#2e7d32",jr="#1b5e20",$r=["mode","contrastThreshold","tonalOffset"],zr={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:or.white,default:or.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}},Br={text:{primary:or.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:or.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 Dr(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,nr.a)(e.main,o):"dark"===t&&(e.dark=(0,nr.e$)(e.main,i)))}const Wr=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Ur={textTransform:"uppercase"},qr='"Roboto", "Helvetica", "Arial", sans-serif';function Vr(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=qr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:p}=r,d=(0,ye.A)(r,Wr),f=o/14,h=p||(e=>e/c*f+"rem"),m=(e,t,r,o,i)=>{return(0,ve.A)({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===qr?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5+"em")}:{},i,u);var s},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,Ur),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Ur),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Qt.A)((0,ve.A)({htmlFontSize:c,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},g),d,{clone:!1})}function Hr(...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 Gr=["none",Hr(0,2,1,-1,0,1,1,0,0,1,3,0),Hr(0,3,1,-2,0,2,2,0,0,1,5,0),Hr(0,3,3,-2,0,3,4,0,0,1,8,0),Hr(0,2,4,-1,0,4,5,0,0,1,10,0),Hr(0,3,5,-1,0,5,8,0,0,1,14,0),Hr(0,3,5,-1,0,6,10,0,0,1,18,0),Hr(0,4,5,-2,0,7,10,1,0,2,16,1),Hr(0,5,5,-3,0,8,10,1,0,3,14,2),Hr(0,5,6,-3,0,9,12,1,0,3,16,2),Hr(0,6,6,-3,0,10,14,1,0,4,18,3),Hr(0,6,7,-4,0,11,15,1,0,4,20,3),Hr(0,7,8,-4,0,12,17,2,0,5,22,4),Hr(0,7,8,-4,0,13,19,2,0,5,24,4),Hr(0,7,9,-4,0,14,21,2,0,5,26,4),Hr(0,8,9,-5,0,15,22,2,0,6,28,5),Hr(0,8,10,-5,0,16,24,2,0,6,30,5),Hr(0,8,11,-5,0,17,26,2,0,6,32,5),Hr(0,9,11,-5,0,18,28,2,0,7,34,6),Hr(0,9,12,-6,0,19,29,2,0,7,36,6),Hr(0,10,13,-6,0,20,31,3,0,8,38,7),Hr(0,10,13,-6,0,21,33,3,0,8,40,7),Hr(0,10,14,-6,0,22,35,3,0,8,42,7),Hr(0,11,14,-7,0,23,36,3,0,9,44,8),Hr(0,11,15,-7,0,24,38,3,0,9,46,8)],Kr=["duration","easing","delay"],Xr={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)"},Yr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zr(e){return`${Math.round(e)}ms`}function Jr(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Qr(e){const t=(0,ve.A)({},Xr,e.easing),r=(0,ve.A)({},Yr,e.duration);return(0,ve.A)({getAutoHeightDuration:Jr,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:s=0}=n;return(0,ye.A)(n,Kr),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:Zr(o)} ${i} ${"string"==typeof s?s:Zr(s)}`).join(",")}},e,{easing:t,duration:r})}const en={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},tn=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const rn=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,s=(0,ye.A)(e,tn);if(e.vars)throw new Error((0,Et.A)(18));const a=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=(0,ye.A)(e,$r),i=e.primary||function(e="light"){return"dark"===e?{main:Sr,light:_r,dark:kr}:{main:Cr,light:kr,dark:Ar}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:ar,light:sr,dark:cr}:{main:ur,light:lr,dark:pr}}(t),a=e.error||function(e="light"){return"dark"===e?{main:hr,light:dr,dark:mr}:{main:mr,light:fr,dark:gr}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Mr,light:Ir,dark:Er}:{main:Er,light:Rr,dark:Or}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Pr,light:Tr,dark:Fr}:{main:Nr,light:Lr,dark:jr}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:yr,light:vr,dark:wr}:{main:"#ed6c02",light:br,dark:xr}}(t);function p(e){return(0,nr.eM)(e,Br.text.primary)>=r?Br.text.primary:zr.text.primary}const d=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,ve.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,Et.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,Et.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return Dr(e,"light",o,n),Dr(e,"dark",i,n),e.contrastText||(e.contrastText=p(e.main)),e},f={dark:Br,light:zr};return(0,Qt.A)((0,ve.A)({common:(0,ve.A)({},or),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:ir,contrastThreshold:r,getContrastText:p,augmentColor:d,tonalOffset:n},f[t]),o)}(n),l=(0,$e.A)(e);let c=(0,Qt.A)(l,{mixins:rr(l.breakpoints,r),palette:a,shadows:Gr.slice(),typography:Vr(a,i),transitions:Qr(o),zIndex:(0,ve.A)({},en)});return c=(0,Qt.A)(c,s),c=t.reduce((e,t)=>(0,Qt.A)(e,t),c),c.unstable_sxConfig=(0,ve.A)({},er.A,null==s?void 0:s.unstable_sxConfig),c.unstable_sx=function(e){return(0,tr.A)({sx:e,theme:this})},c},nn=(e,...t)=>{const r={...e};return r.shape={borderRadius:4,__unstableBorderRadiusMultipliers:fe,...r.shape},rn(r,...t)},on="#524CFF";var sn,an,ln={primary:{main:on,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[se]:"#524CFF",[ae]:"#6B65FF"},action:{selected:(sn=on,an=.08,sn=Pt(sn),an=Tt(an),"rgb"!==sn.type&&"hsl"!==sn.type||(sn.type+="a"),"color"===sn.type?sn.values[3]=`/${an}`:sn.values[3]=an,Lt(sn))}};const cn="#006BFF",un="#2C89FF";var pn={primary:{main:cn,light:un,dark:"#005BE0",contrastText:"#FFFFFF",[se]:cn,[ae]:un}};const dn=["none","0px 1px 3px 0px rgba(0, 0, 0, 0.02), 0px 1px 1px 0px rgba(0, 0, 0, 0.04), 0px 2px 1px -1px rgba(0, 0, 0, 0.06)","0px 1px 5px 0px rgba(0, 0, 0, 0.02), 0px 2px 2px 0px rgba(0, 0, 0, 0.04), 0px 3px 1px -2px rgba(0, 0, 0, 0.06)","0px 1px 8px 0px rgba(0, 0, 0, 0.02), 0px 3px 4px 0px rgba(0, 0, 0, 0.04), 0px 3px 3px -2px rgba(0, 0, 0, 0.06)","0px 1px 10px 0px rgba(0, 0, 0, 0.02), 0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px -1px rgba(0, 0, 0, 0.06)","0px 1px 14px 0px rgba(0, 0, 0, 0.02), 0px 5px 8px 0px rgba(0, 0, 0, 0.04), 0px 3px 5px -1px rgba(0, 0, 0, 0.06)","0px 1px 18px 0px rgba(0, 0, 0, 0.02), 0px 6px 10px 0px rgba(0, 0, 0, 0.04), 0px 3px 5px -1px rgba(0, 0, 0, 0.06)","0px 2px 16px 1px rgba(0, 0, 0, 0.02), 0px 7px 10px 1px rgba(0, 0, 0, 0.04), 0px 4px 5px -2px rgba(0, 0, 0, 0.06)","0px 3px 14px 2px rgba(0, 0, 0, 0.02), 0px 8px 10px 1px rgba(0, 0, 0, 0.04), 0px 5px 5px -3px rgba(0, 0, 0, 0.06)","0px 4px 20px 3px rgba(0, 0, 0, 0.02), 0px 11px 15px 1px rgba(0, 0, 0, 0.04), 0px 6px 7px -4px rgba(0, 0, 0, 0.06)","0px 4px 18px 3px rgba(0, 0, 0, 0.02), 0px 10px 14px 1px rgba(0, 0, 0, 0.04), 0px 6px 6px -3px rgba(0, 0, 0, 0.06)","0px 3px 16px 2px rgba(0, 0, 0, 0.02), 0px 9px 12px 1px rgba(0, 0, 0, 0.04), 0px 5px 6px -3px rgba(0, 0, 0, 0.06)","0px 5px 22px 4px rgba(0, 0, 0, 0.02), 0px 12px 17px 2px rgba(0, 0, 0, 0.04), 0px 7px 8px -4px rgba(0, 0, 0, 0.06)","0px 5px 24px 4px rgba(0, 0, 0, 0.02), 0px 13px 19px 2px rgba(0, 0, 0, 0.04), 0px 7px 8px -4px rgba(0, 0, 0, 0.06)","0px 5px 26px 4px rgba(0, 0, 0, 0.02), 0px 14px 21px 2px rgba(0, 0, 0, 0.04), 0px 7px 9px -4px rgba(0, 0, 0, 0.06)","0px 6px 28px 5px rgba(0, 0, 0, 0.02), 0px 15px 22px 2px rgba(0, 0, 0, 0.04), 0px 8px 9px -5px rgba(0, 0, 0, 0.06)","0px 6px 30px 5px rgba(0, 0, 0, 0.02), 0px 16px 24px 2px rgba(0, 0, 0, 0.04), 0px 8px 10px -5px rgba(0, 0, 0, 0.06)","0px 6px 32px 5px rgba(0, 0, 0, 0.02), 0px 17px 26px 2px rgba(0, 0, 0, 0.04), 0px 8px 11px -5px rgba(0, 0, 0, 0.06)","0px 7px 34px 6px rgba(0, 0, 0, 0.02), 0px 18px 28px 2px rgba(0, 0, 0, 0.04), 0px 9px 11px -5px rgba(0, 0, 0, 0.06)","0px 7px 36px 6px rgba(0, 0, 0, 0.02), 0px 19px 29px 2px rgba(0, 0, 0, 0.04), 0px 9px 12px -6px rgba(0, 0, 0, 0.06)","0px 8px 38px 7px rgba(0, 0, 0, 0.02), 0px 20px 31px 3px rgba(0, 0, 0, 0.04), 0px 10px 13px -6px rgba(0, 0, 0, 0.06)","0px 8px 40px 7px rgba(0, 0, 0, 0.02), 0px 21px 33px 3px rgba(0, 0, 0, 0.04), 0px 10px 13px -6px rgba(0, 0, 0, 0.06)","0px 8px 42px 7px rgba(0, 0, 0, 0.02), 0px 22px 35px 3px rgba(0, 0, 0, 0.04), 0px 10px 14px -6px rgba(0, 0, 0, 0.06)","0px 9px 44px 8px rgba(0, 0, 0, 0.02), 0px 23px 36px 3px rgba(0, 0, 0, 0.04), 0px 11px 14px -7px rgba(0, 0, 0, 0.06)","0px 9px 46px 8px rgba(0, 0, 0, 0.02), 0px 24px 38px 3px rgba(0, 0, 0, 0.04), 0px 11px 15px -7px rgba(0, 0, 0, 0.06)"],fn=ot,hn=nt;var mn={primary:{main:fn,light:hn,dark:it,contrastText:"#FFFFFF",[se]:fn,[ae]:hn},accent:{main:at,light:st,dark:lt,contrastText:it}};const gn=Ye,vn="#FFFFFF";var yn={primary:{main:gn,light:vn,dark:Ze,contrastText:it,[se]:gn,[ae]:vn},accent:{main:at,light:st,dark:lt,contrastText:it}};const bn=ot,wn=nt;var xn={primary:{main:bn,light:wn,dark:it,contrastText:"#FFFFFF",[se]:bn,[ae]:wn},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const Sn=Ye,kn="#FFFFFF";var Cn={primary:{main:Sn,light:kn,dark:Ze,contrastText:it,[se]:Sn,[ae]:kn},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const An=(0,n.createContext)(null),In=({value:e,children:t})=>n.createElement(An.Provider,{value:e},t),Mn={zIndex:Wt.zIndex};const Rn=!0;function En(e){return e?On(e,{primary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],secondary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],success:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],info:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],warning:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],error:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],background:["default","paper","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],decorative:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],accent:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],neutral:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],text:["primary","secondary","tertiary","disabled"],action:["active","focus","hover","disabled","disabledBackground","selected","__unstableGradientAngle"],divider:Rn}):{}}function On(e,t){if(!e||!t)return{};const r={};return Object.entries(t).forEach(([t,n])=>{if(e[t])if("boolean"!=typeof n){if(Array.isArray(n)){const o=e[t];n.forEach(e=>{void 0!==o?.[e]&&(r[t]={...r[t],[e]:o[e]})})}}else r[t]=e[t]}),r}const Tn=new Map,Pn=(0,H.w)(({colorScheme:e,palette:t,children:r,overrides:i,unstableThemeV0:s},a)=>{const l=(0,n.useContext)(An),c=a.key===de,u=e||l?.colorScheme||"auto",p=function(e,t={}){const r=Ce(),n="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(n?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:a=!1}=Ht({name:"MuiUseMediaQuery",props:t,theme:r});let l="function"==typeof e?e(r):e;return l=l.replace(/^@media( ?)/m,""),(void 0!==Kt?Xt:Gt)(l,o,i,s,a)}("(prefers-color-scheme: dark)"),d="auto"===u&&p||"dark"===u,f=function(e,t){if(!e)return t;if("function"!=typeof e)return console.error("overrides must be a function"),t;const r=e(structuredClone(t||Mn));return r&&"object"==typeof r?r:(console.error("overrides function must return an object"),t)}(i,l?.overrides),h=s?.name||t||l?.themeName,m=s||l?.customTheme;let g=m?((e,t=!1,r=!1)=>{if(!e.name)throw new Error("Custom theme must have a name");const n=`${e.name}-${t}-${r}`;if(Tn.has(n))return Tn.get(n);const o={typography:{subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}}};r&&(o.direction="rtl");const i=function(e,t){const r={components:Dt};return t&&e.palette?.dark?r.palette={...qt.palette,...En(e.palette.dark),mode:"dark"}:e.palette?.light&&(r.palette={...Ut.palette,...En(e.palette.light)}),e.shadows&&(r.shadows=e.shadows),e.shape&&(r.shape=e.shape),e.typography&&(r.typography=function(e={}){return e?On(e,{fontFamily:Rn,display1:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display2:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display3:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display4:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display5:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display6:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h1:["fontFamily","fontSize","fontWeight"],h2:["fontFamily","fontSize","fontWeight"],h3:["fontFamily","fontSize","fontWeight"],h4:["fontFamily","fontSize","fontWeight"],h5:["fontFamily","fontSize","fontWeight"],h6:["fontFamily","fontSize","fontWeight"],subtitle1:["fontFamily"],subtitle2:["fontFamily"],body1:["fontFamily"],body2:["fontFamily"],caption:["fontFamily"],overline:["fontFamily"],button:["fontFamily","textTransform"]}):{}}(e.typography)),e.zIndex&&(r.zIndex=e.zIndex),r}(e,t),s=nn(i,o);return Tn.set(n,s),s})(m,d,c):(({palette:e="default",rtl:t=!1,isDarkMode:r=!1}={})=>{const n=`${e}-${r}-${t}`;if(Tn.has(n))return Tn.get(n);const o=r?qt:Ut,i={};"marketing-suite"===e&&(i.palette=ln),"hub"===e&&(i.palette=pn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]},i.shadows=dn),"unstable"===e&&(i.palette=r?yn:mn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),"argon-beta"===e&&(i.palette=r?Cn:xn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),t&&(i.direction="rtl");const s=nn(o,i);return Tn.set(n,s),s})({rtl:c,isDarkMode:d,palette:t||l?.themeName});return f&&(g=((e,t)=>{if(!t)return e;const r={};return["zIndex"].forEach(e=>{e in t&&(r[e]=t[e])}),Jt(e,r,{clone:!0})})(g,f)),o().createElement(In,{value:{colorScheme:e,themeName:h,overrides:f,customTheme:m}},o().createElement(Ke,{theme:g},r))}),Ln=window.wp.domReady;var Fn=r.n(Ln);const Nn=window.wp.element;function jn(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=jn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const $n=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=jn(e))&&(n&&(n+=" "),n+=t);return n};function zn(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=zn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const Bn=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=zn(e))&&(n&&(n+=" "),n+=t);return n};function Dn(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 Wn=r(7272);const Un=rn(),qn=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},Vn=e=>qn(e)&&"classes"!==e,Hn=(0,Wn.Ay)({themeId:He,defaultTheme:Un,rootShouldForwardProp:Vn});function Gn({props:e,name:t,defaultTheme:r,themeId:n}){let o=Be(r);return n&&(o=o[n]||o),Ht({theme:o,name:t,props:e})}function Kn({props:e,name:t}){return Gn({props:e,name:t,defaultTheme:Un,themeId:He})}const Xn=function(...e){return n.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)},Yn=function(e){const t=n.useRef(e);return Te(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current},Zn={},Jn=[];class Qn{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Qn}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function eo(){const e=function(e){const t=n.useRef(Zn);return t.current===Zn&&(t.current=e(void 0)),t}(Qn.create).current;var t;return t=e.disposeEffect,n.useEffect(t,Jn),e}let to=!0,ro=!1;const no=new Qn,oo={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 io(e){e.metaKey||e.altKey||e.ctrlKey||(to=!0)}function so(){to=!1}function ao(){"hidden"===this.visibilityState&&ro&&(to=!0)}const lo=function(){const e=n.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",io,!0),t.addEventListener("mousedown",so,!0),t.addEventListener("pointerdown",so,!0),t.addEventListener("touchstart",so,!0),t.addEventListener("visibilitychange",ao,!0))},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return to||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!oo[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ro=!0,no.start(100,()=>{ro=!1}),t.current=!1,!0)},ref:e}};function co(e,t){return co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},co(e,t)}function uo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,co(e,t)}const po=o().createContext(null);function fo(e,t){var r=Object.create(null);return e&&n.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=function(e){return t&&(0,n.isValidElement)(e)?t(e):e}(e)}),r}function ho(e,t,r){return null!=r[t]?r[t]:e.props[t]}function mo(e,t,r){var o=fo(e.children),i=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 s in e)s in t?i.length&&(o[s]=i,i=[]):i.push(s);var a={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];a[o[l][n]]=r(c)}a[l]=r(l)}for(n=0;n<i.length;n++)a[i[n]]=r(i[n]);return a}(t,o);return Object.keys(i).forEach(function(s){var a=i[s];if((0,n.isValidElement)(a)){var l=s in t,c=s in o,u=t[s],p=(0,n.isValidElement)(u)&&!u.props.in;!c||l&&!p?c||!l||p?c&&l&&(0,n.isValidElement)(u)&&(i[s]=(0,n.cloneElement)(a,{onExited:r.bind(null,a),in:u.props.in,exit:ho(a,"exit",e),enter:ho(a,"enter",e)})):i[s]=(0,n.cloneElement)(a,{in:!1}):i[s]=(0,n.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:ho(a,"exit",e),enter:ho(a,"enter",e)})}}),i}var go=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},vo=function(e){function t(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}uo(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,o,i=t.children,s=t.handleExited;return{children:t.firstRender?(r=e,o=s,fo(r.children,function(e){return(0,n.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:ho(e,"appear",r),enter:ho(e,"enter",r),exit:ho(e,"exit",r)})})):mo(e,i,s),firstRender:!1}},r.handleExited=function(e,t){var r=fo(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,ve.A)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=(0,ye.A)(e,["component","childFactory"]),i=this.state.contextValue,s=go(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?o().createElement(po.Provider,{value:i},s):o().createElement(po.Provider,{value:i},o().createElement(t,n,s))},t}(o().Component);vo.propTypes={},vo.defaultProps={component:"div",childFactory:function(e){return e}};const yo=vo;var bo=r(7437);const wo=e=>e,xo=(()=>{let e=wo;return{configure(t){e=t},generate:t=>e(t),reset(){e=wo}}})(),_o={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 So(e,t,r="Mui"){const n=_o[t];return n?`${r}-${n}`:`${xo.generate(e)}-${t}`}function ko(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=So(e,t,r)}),n}const Co=ko("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ao=["center","classes","className"];let Io,Mo,Ro,Eo,Oo=e=>e;const To=(0,bo.i7)(Io||(Io=Oo`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),Po=(0,bo.i7)(Mo||(Mo=Oo`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),Lo=(0,bo.i7)(Ro||(Ro=Oo`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),Fo=Hn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),No=Hn(function(e){const{className:t,classes:r,pulsate:o=!1,rippleX:i,rippleY:s,rippleSize:a,in:l,onExited:c,timeout:u}=e,[p,d]=n.useState(!1),f=Bn(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),h={width:a,height:a,top:-a/2+s,left:-a/2+i},m=Bn(r.child,p&&r.childLeaving,o&&r.childPulsate);return l||p||d(!0),n.useEffect(()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}},[c,l,u]),(0,_e.jsx)("span",{className:f,style:h,children:(0,_e.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(Eo||(Eo=Oo`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),Co.rippleVisible,To,550,({theme:e})=>e.transitions.easing.easeInOut,Co.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Co.child,Co.childLeaving,Po,550,({theme:e})=>e.transitions.easing.easeInOut,Co.childPulsate,Lo,({theme:e})=>e.transitions.easing.easeInOut),jo=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=(0,ye.A)(r,Ao),[l,c]=n.useState([]),u=n.useRef(0),p=n.useRef(null);n.useEffect(()=>{p.current&&(p.current(),p.current=null)},[l]);const d=n.useRef(!1),f=eo(),h=n.useRef(null),m=n.useRef(null),g=n.useCallback(e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:s}=e;c(e=>[...e,(0,_e.jsx)(No,{classes:{ripple:Bn(i.ripple,Co.ripple),rippleVisible:Bn(i.rippleVisible,Co.rippleVisible),ripplePulsate:Bn(i.ripplePulsate,Co.ripplePulsate),child:Bn(i.child,Co.child),childLeaving:Bn(i.childLeaving,Co.childLeaving),childPulsate:Bn(i.childPulsate,Co.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},u.current)]),u.current+=1,p.current=s},[i]),v=n.useCallback((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:i=o||t.pulsate,fakeElement:s=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const a=s?null:m.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,p;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(i)p=Math.sqrt((2*l.width**2+l.height**2)/3),p%2==0&&(p+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;p=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{g({pulsate:n,rippleX:c,rippleY:u,rippleSize:p,cb:r})},f.start(80,()=>{h.current&&(h.current(),h.current=null)})):g({pulsate:n,rippleX:c,rippleY:u,rippleSize:p,cb:r})},[o,g,f]),y=n.useCallback(()=>{v({},{pulsate:!0})},[v]),b=n.useCallback((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void f.start(0,()=>{b(e,t)});h.current=null,c(e=>e.length>0?e.slice(1):e),p.current=t},[f]);return n.useImperativeHandle(t,()=>({pulsate:y,start:v,stop:b}),[y,v,b]),(0,_e.jsx)(Fo,(0,ve.A)({className:Bn(Co.root,i.root,s),ref:m},a,{children:(0,_e.jsx)(yo,{component:null,exit:!0,children:l})}))}),$o=jo;function zo(e){return So("MuiButtonBase",e)}const Bo=ko("MuiButtonBase",["root","disabled","focusVisible"]),Do=["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"],Wo=Hn("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"},[`&.${Bo.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Uo=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:p=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:h,onClick:m,onContextMenu:g,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:w,onKeyUp:x,onMouseDown:_,onMouseLeave:S,onMouseUp:k,onTouchEnd:C,onTouchMove:A,onTouchStart:I,tabIndex:M=0,TouchRippleProps:R,touchRippleRef:E,type:O}=r,T=(0,ye.A)(r,Do),P=n.useRef(null),L=n.useRef(null),F=Xn(L,E),{isFocusVisibleRef:N,onFocus:j,onBlur:$,ref:z}=lo(),[B,D]=n.useState(!1);c&&B&&D(!1),n.useImperativeHandle(o,()=>({focusVisible:()=>{D(!0),P.current.focus()}}),[]);const[W,U]=n.useState(!1);n.useEffect(()=>{U(!0)},[]);const q=W&&!u&&!c;function V(e,t,r=p){return Yn(n=>(t&&t(n),!r&&L.current&&L.current[e](n),!0))}n.useEffect(()=>{B&&d&&!u&&W&&L.current.pulsate()},[u,d,B,W]);const H=V("start",_),G=V("stop",g),K=V("stop",v),X=V("stop",k),Y=V("stop",e=>{B&&e.preventDefault(),S&&S(e)}),Z=V("start",I),J=V("stop",C),Q=V("stop",A),ee=V("stop",e=>{$(e),!1===N.current&&D(!1),h&&h(e)},!1),te=Yn(e=>{P.current||(P.current=e.currentTarget),j(e),!0===N.current&&(D(!0),b&&b(e)),y&&y(e)}),re=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=n.useRef(!1),oe=Yn(e=>{d&&!ne.current&&B&&L.current&&" "===e.key&&(ne.current=!0,L.current.stop(e,()=>{L.current.start(e)})),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))}),ie=Yn(e=>{d&&" "===e.key&&L.current&&B&&!e.defaultPrevented&&(ne.current=!1,L.current.stop(e,()=>{L.current.pulsate(e)})),x&&x(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)});let se=l;"button"===se&&(T.href||T.to)&&(se=f);const ae={};"button"===se?(ae.type=void 0===O?"button":O,ae.disabled=c):(T.href||T.to||(ae.role="button"),c&&(ae["aria-disabled"]=c));const le=Xn(t,z,P),ce=(0,ve.A)({},r,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:p,focusRipple:d,tabIndex:M,focusVisible:B}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=Dn({root:["root",t&&"disabled",r&&"focusVisible"]},zo,o);return r&&n&&(i.root+=` ${n}`),i})(ce);return(0,_e.jsxs)(Wo,(0,ve.A)({as:se,className:Bn(ue.root,a),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:H,onMouseLeave:Y,onMouseUp:X,onDragLeave:K,onTouchEnd:J,onTouchMove:Q,onTouchStart:Z,ref:le,tabIndex:c?-1:M,type:O},ae,T,{children:[s,q?(0,_e.jsx)($o,(0,ve.A)({ref:F,center:i},R)):null]}))}),qo=Uo,Vo=r(3226).A;function Ho(e){return So("MuiIconButton",e)}const Go=ko("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ko=["edge","children","className","color","disabled","disableFocusRipple","size"],Xo=Hn(qo,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${Vo(r.color)}`],r.edge&&t[`edge${Vo(r.edge)}`],t[`size${Vo(r.size)}`]]}})(({theme:e,ownerState:t})=>(0,ve.A)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,nr.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return(0,ve.A)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,ve.A)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,ve.A)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,nr.X4)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Go.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Yo=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:i,color:s="default",disabled:a=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=(0,ye.A)(r,Ko),p=(0,ve.A)({},r,{edge:n,color:s,disabled:a,disableFocusRipple:l,size:c}),d=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e;return Dn({root:["root",r&&"disabled","default"!==n&&`color${Vo(n)}`,o&&`edge${Vo(o)}`,`size${Vo(i)}`]},Ho,t)})(p);return(0,_e.jsx)(Xo,(0,ve.A)({className:Bn(d.root,i),centerRipple:!0,focusRipple:!l,disabled:a,ref:t},u,{ownerState:p,children:o}))}),Zo=(e="default")=>"inherit"===e?"inherit":"default"===e?"action.active":It.includes(e)?`${e}.${se}`:`${e}.main`;var Jo=o().forwardRef((e,t)=>{const{sx:r={},color:n}=e,i=e.href?ie:"&:hover,&:focus,&:active",s={[i]:{color:Zo(n)}};return o().createElement(Yo,{...e,sx:{...s,...r},ref:t})});function Qo(e){return So("MuiSvgIcon",e)}ko("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ei=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ti=Hn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Vo(r.color)}`],t[`fontSize${Vo(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,s,a,l,c,u,p,d,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(s=i.pxToRem)?void 0:s.call(i,20))||"1.25rem",medium:(null==(a=e.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(p=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?p:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}}),ri=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:p,viewBox:d="0 0 24 24"}=r,f=(0,ye.A)(r,ei),h=n.isValidElement(o)&&"svg"===o.type,m=(0,ve.A)({},r,{color:s,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:h}),g={};u||(g.viewBox=d);const v=(e=>{const{color:t,fontSize:r,classes:n}=e;return Dn({root:["root","inherit"!==t&&`color${Vo(t)}`,`fontSize${Vo(r)}`]},Qo,n)})(m);return(0,_e.jsxs)(ti,(0,ve.A)({as:a,className:Bn(v.root,i),focusable:"false",color:c,"aria-hidden":!p||void 0,role:p?"img":void 0,ref:t},g,f,h&&o.props,{ownerState:m,children:[h?o.props.children:o,p?(0,_e.jsx)("title",{children:p}):null]}))});ri.muiName="SvgIcon";const ni=ri;var oi=o().forwardRef((e,t)=>o().createElement(ni,{...e,ref:t})),ii=r(6655);const si=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,ai=nn({}),li=(0,ii.Ay)({themeId:He,defaultTheme:ai,rootShouldForwardProp:si}),ci=(e,t)=>{if(!t?.shouldForwardProp)return li(e,t);const r=t.shouldForwardProp,n={...t};return n.shouldForwardProp=e=>si(e)&&r(e),li(e,n)},ui=o().forwardRef((e,t)=>o().createElement(oi,{viewBox:"0 0 24 24",...e,ref:t},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"}))),{slots:pi,classNames:di}=(e=>{const t={},r={};return["root","icon"].forEach(n=>{r[n]=`Mui${e}-${n}`,t[n]={slot:n,name:`Mui${e}`}}),{slots:t,classNames:r}})("CloseButton"),fi=ci(Jo,pi.root)({}),hi=ci(ui,pi.icon)({}),mi={"aria-label":"close",color:"default"},gi=o().forwardRef((e,t)=>{const r=Kn({props:{...mi,...e},name:pi.root.name}),{slotProps:n={},...i}=r;return o().createElement(fi,{...i,size:"small",ref:t,className:$n([[di.root,i.className]]),ownerState:r},o().createElement(hi,{...n.icon,className:$n([di.icon,n.icon?.className]),ownerState:r}))});gi.defaultProps=mi;var vi=gi;function yi(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function bi(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{yi(e,t)})},e)}function wi(e){return"string"==typeof e}function xi(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}function _i(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t}const Si=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ki(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,s=(0,ye.A)(e,Si),a=i?{}:function(e,t){return"function"==typeof e?e(t,void 0):e}(n,o),{props:l,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=$n(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=(0,ve.A)({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),s=(0,ve.A)({},r,o,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const s=xi((0,ve.A)({},o,n)),a=_i(n),l=_i(o),c=t(s),u=$n(null==c?void 0:c.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),p=(0,ve.A)({},null==c?void 0:c.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),d=(0,ve.A)({},c,r,l,a);return u.length>0&&(d.className=u),Object.keys(p).length>0&&(d.style=p),{props:d,internalRef:c.ref}}((0,ve.A)({},s,{externalSlotProps:a})),u=bi(c,null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref),p=function(e,t,r){return void 0===e||wi(e)?t:(0,ve.A)({},t,{ownerState:(0,ve.A)({},t.ownerState,r)})}(r,(0,ve.A)({},l,{ref:u}),o);return p}const Ci="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,Ai=function(e){const t=n.useRef(e);return Ci(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current};function Ii(e){return e&&e.ownerDocument||document}function Mi(e){return e.substring(2).toLowerCase()}function Ri(e){const{children:t,disableReactTree:r=!1,mouseEvent:o="onClick",onClickAway:i,touchEvent:s="onTouchEnd"}=e,a=n.useRef(!1),l=n.useRef(null),c=n.useRef(!1),u=n.useRef(!1);n.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const p=bi(t.ref,l),d=Ai(e=>{const t=u.current;u.current=!1;const n=Ii(l.current);if(!c.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n))return;if(a.current)return void(a.current=!1);let o;o=e.composedPath?e.composedPath().indexOf(l.current)>-1:!n.documentElement.contains(e.target)||l.current.contains(e.target),o||!r&&t||i(e)}),f=e=>r=>{u.current=!0;const n=t.props[e];n&&n(r)},h={ref:p};return!1!==s&&(h[s]=f(s)),n.useEffect(()=>{if(!1!==s){const e=Mi(s),t=Ii(l.current),r=()=>{a.current=!0};return t.addEventListener(e,d),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,d),t.removeEventListener("touchmove",r)}}},[d,s]),!1!==o&&(h[o]=f(o)),n.useEffect(()=>{if(!1!==o){const e=Mi(o),t=Ii(l.current);return t.addEventListener(e,d),()=>{t.removeEventListener(e,d)}}},[d,o]),(0,_e.jsx)(n.Fragment,{children:n.cloneElement(t,h)})}const Ei={},Oi=[];class Ti{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ti}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function Pi(){const e=Be(Un);return e[He]||e}const Li=window.ReactDOM;var Fi=r.n(Li);var Ni="unmounted",ji="exited",$i="entering",zi="entered",Bi="exiting",Di=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=ji,n.appearStatus=$i):o=zi:o=t.unmountOnExit||t.mountOnEnter?Ni:ji,n.state={status:o},n.nextCallback=null,n}uo(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ni?{status:ji}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==$i&&r!==zi&&(t=$i):r!==$i&&r!==zi||(t=Bi)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===$i){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:Fi().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ji&&this.setState({status:Ni})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[Fi().findDOMNode(this),n],i=o[0],s=o[1],a=this.getTimeouts(),l=n?a.appear:a.enter;e||r?(this.props.onEnter(i,s),this.safeSetState({status:$i},function(){t.props.onEntering(i,s),t.onTransitionEnd(l,function(){t.safeSetState({status:zi},function(){t.props.onEntered(i,s)})})})):this.safeSetState({status:zi},function(){t.props.onEntered(i)})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:Fi().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:Bi},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:ji},function(){e.props.onExited(n)})})})):this.safeSetState({status:ji},function(){e.props.onExited(n)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:Fi().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Ni)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,ye.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o().createElement(po.Provider,{value:null},"function"==typeof r?r(e,n):o().cloneElement(o().Children.only(r),n))},t}(o().Component);function Wi(){}Di.contextType=po,Di.propTypes={},Di.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wi,onEntering:Wi,onEntered:Wi,onExit:Wi,onExiting:Wi,onExited:Wi},Di.UNMOUNTED=Ni,Di.EXITED=ji,Di.ENTERING=$i,Di.ENTERED=zi,Di.EXITING=Bi;const Ui=Di,qi=e=>e.scrollTop;function Vi(e,t){var r,n;const{timeout:o,easing:i,style:s={}}=e;return{duration:null!=(r=s.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=s.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:s.transitionDelay}}const Hi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Gi(e){return`scale(${e}, ${e**2})`}const Ki={entering:{opacity:1,transform:Gi(1)},entered:{opacity:1,transform:"none"}},Xi="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yi=n.forwardRef(function(e,t){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:p,onExited:d,onExiting:f,style:h,timeout:m="auto",TransitionComponent:g=Ui}=e,v=(0,ye.A)(e,Hi),y=eo(),b=n.useRef(),w=Pi(),x=n.useRef(null),_=Xn(x,i.ref,t),S=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},k=S(u),C=S((e,t)=>{qi(e);const{duration:r,delay:n,easing:o}=Vi({style:h,timeout:m,easing:s},{mode:"enter"});let i;"auto"===m?(i=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=i):i=r,e.style.transition=[w.transitions.create("opacity",{duration:i,delay:n}),w.transitions.create("transform",{duration:Xi?i:.666*i,delay:n,easing:o})].join(","),l&&l(e,t)}),A=S(c),I=S(f),M=S(e=>{const{duration:t,delay:r,easing:n}=Vi({style:h,timeout:m,easing:s},{mode:"exit"});let o;"auto"===m?(o=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[w.transitions.create("opacity",{duration:o,delay:r}),w.transitions.create("transform",{duration:Xi?o:.666*o,delay:Xi?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Gi(.75),p&&p(e)}),R=S(d);return(0,_e.jsx)(g,(0,ve.A)({appear:o,in:a,nodeRef:x,onEnter:C,onEntered:A,onEntering:k,onExit:M,onExited:R,onExiting:I,addEndListener:e=>{"auto"===m&&y.start(b.current||0,e),r&&r(x.current,e)},timeout:"auto"===m?null:m},v,{children:(e,t)=>n.cloneElement(i,(0,ve.A)({style:(0,ve.A)({opacity:0,transform:Gi(.75),visibility:"exited"!==e||a?void 0:"hidden"},Ki[e],h,i.props.style),ref:_},t))}))});Yi.muiSupportAuto=!0;const Zi=Yi,Ji=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Qi(e){return So("MuiPaper",e)}ko("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const es=["className","component","elevation","square","variant"],ts=Hn("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return(0,ve.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,ve.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,nr.X4)("#fff",Ji(t.elevation))}, ${(0,nr.X4)("#fff",Ji(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))}),rs=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:s=!1,variant:a="elevation"}=r,l=(0,ye.A)(r,es),c=(0,ve.A)({},r,{component:o,elevation:i,square:s,variant:a}),u=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return Dn({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},Qi,o)})(c);return(0,_e.jsx)(ts,(0,ve.A)({as:o,ownerState:c,className:Bn(u.root,n),ref:t},l))});function ns(e){return So("MuiSnackbarContent",e)}ko("MuiSnackbarContent",["root","message","action"]);const os=["action","className","message","role"],is=Hn(rs,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t="light"===e.palette.mode?.8:.98,r=(0,nr.tL)(e.palette.background.default,t);return(0,ve.A)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),ss=Hn("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),as=Hn("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),ls=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiSnackbarContent"}),{action:n,className:o,message:i,role:s="alert"}=r,a=(0,ye.A)(r,os),l=r,c=(e=>{const{classes:t}=e;return Dn({root:["root"],action:["action"],message:["message"]},ns,t)})(l);return(0,_e.jsxs)(is,(0,ve.A)({role:s,square:!0,elevation:6,className:Bn(c.root,o),ownerState:l,ref:t},a,{children:[(0,_e.jsx)(ss,{className:c.message,ownerState:l,children:i}),n?(0,_e.jsx)(as,{className:c.action,ownerState:l,children:n}):null]}))});function cs(e){return So("MuiSnackbar",e)}ko("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const us=["onEnter","onExited"],ps=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],ds=Hn("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${Vo(r.anchorOrigin.vertical)}${Vo(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>(0,ve.A)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:(0,ve.A)({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})})),fs=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiSnackbar"}),o=Pi(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:a,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:p,ClickAwayListenerProps:d,ContentProps:f,disableWindowBlurListener:h=!1,message:m,open:g,TransitionComponent:v=Zi,transitionDuration:y=i,TransitionProps:{onEnter:b,onExited:w}={}}=r,x=(0,ye.A)(r.TransitionProps,us),_=(0,ye.A)(r,ps),S=(0,ve.A)({},r,{anchorOrigin:{vertical:a,horizontal:l},autoHideDuration:c,disableWindowBlurListener:h,TransitionComponent:v,transitionDuration:y}),k=(e=>{const{classes:t,anchorOrigin:r}=e;return Dn({root:["root",`anchorOrigin${Vo(r.vertical)}${Vo(r.horizontal)}`]},cs,t)})(S),{getRootProps:C,onClickAway:A}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:o,open:i,resumeHideDuration:s}=e,a=function(){const e=function(e){const t=n.useRef(Ei);return t.current===Ei&&(t.current=e(void 0)),t}(Ti.create).current;var t;return t=e.disposeEffect,n.useEffect(t,Oi),e}();n.useEffect(()=>{if(i)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==o||o(e,"escapeKeyDown")}},[i,o]);const l=Ai((e,t)=>{null==o||o(e,t)}),c=Ai(e=>{o&&null!=e&&a.start(e,()=>{l(null,"timeout")})});n.useEffect(()=>(i&&c(t),a.clear),[i,t,c,a]);const u=a.clear,p=n.useCallback(()=>{null!=t&&c(null!=s?s:.5*t)},[t,s,c]),d=e=>t=>{const r=e.onFocus;null==r||r(t),u()},f=e=>t=>{const r=e.onMouseEnter;null==r||r(t),u()},h=e=>t=>{const r=e.onMouseLeave;null==r||r(t),p()};return n.useEffect(()=>{if(!r&&i)return window.addEventListener("focus",p),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",p),window.removeEventListener("blur",u)}},[r,i,p,u]),{getRootProps:(t={})=>{const r=(0,ve.A)({},xi(e),xi(t));return(0,ve.A)({role:"presentation"},t,r,{onBlur:(n=r,e=>{const t=n.onBlur;null==t||t(e),p()}),onFocus:d(r),onMouseEnter:f(r),onMouseLeave:h(r)});var n},onClickAway:e=>{null==o||o(e,"clickaway")}}}((0,ve.A)({},S)),[I,M]=n.useState(!0),R=ki({elementType:ds,getSlotProps:C,externalForwardedProps:_,ownerState:S,additionalProps:{ref:t},className:[k.root,p]});return!g&&I?null:(0,_e.jsx)(Ri,(0,ve.A)({onClickAway:A},d,{children:(0,_e.jsx)(ds,(0,ve.A)({},R,{children:(0,_e.jsx)(v,(0,ve.A)({appear:!0,in:g,timeout:y,direction:"top"===a?"down":"up",onEnter:(e,t)=>{M(!1),b&&b(e,t)},onExited:e=>{M(!0),w&&w(e)}},x,{children:u||(0,_e.jsx)(ls,(0,ve.A)({message:m,action:s},f))}))}))}))}),hs=fs;var ms=o().forwardRef((e,t)=>o().createElement(hs,{...e,ref:t})),gs=o().forwardRef((e,t)=>o().createElement(ls,{...e,ref:t}));(0,Nn.createContext)(void 0);const vs=window.wp.coreData,ys=window.wp.data,bs=()=>({save:async e=>await(0,ys.dispatch)(vs.store).saveEntityRecord("root","site",e),get:(0,ys.useSelect)(e=>({data:e(vs.store).getEntityRecord("root","site"),hasFinishedResolution:e(vs.store).hasFinishedResolution("getEntityRecord",["root","site"])}),[])});var ws;if("undefined"==typeof window){var xs={hostname:""};ws={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:xs,referrer:""},screen:{width:0,height:0},location:xs,addEventListener:function(){},removeEventListener:function(){}}}else ws=window;function _s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ss(e,t,r,n,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,o)}function ks(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function s(e){Ss(i,n,o,s,a,"next",e)}function a(e){Ss(i,n,o,s,a,"throw",e)}s(void 0)})}}function Cs(e,t,r){return Cs=Fs()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&Ts(o,r.prototype),o},Cs.apply(null,arguments)}function As(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function Is(){return Is=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Is.apply(this,arguments)}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ms(e)}function Rs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ts(e,t)}function Es(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Os(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function Ts(e,t){return Ts=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ts(e,t)}function Ps(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ls(e){var t="function"==typeof Map?new Map:void 0;return Ls=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Cs(e,arguments,Ms(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Ts(n,e)},Ls(e)}function Fs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fs=function(){return!!e})()}function Ns(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return _s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_s(e,t):void 0}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function js(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function $s(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var zs,Bs=Object.defineProperty,Ds=function(e,t,r){return function(e,t,r){return t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":Ps(t))?t+"":t,r)},Ws=Object.defineProperty,Us=function(e,t,r){return function(e,t,r){return t in e?Ws(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":Ps(t))?t+"":t,r)},qs=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(qs||{}),Vs={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Hs={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Gs={};function Ks(e){if(Gs[e])return Gs[e];var t=globalThis[e],r=t.prototype,n=e in Vs?Vs[e]:void 0,o=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),i=e in Hs?Hs[e]:void 0,s=Boolean(i&&i.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(o&&s&&!globalThis.Zone)return Gs[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var l=a.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(a),c?Gs[e]=c:r}catch(e){return r}}var Xs={};function Ys(e,t,r){var n,o=e+"."+String(r);if(Xs[o])return Xs[o].call(t);var i=Ks(e),s=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return s?(Xs[o]=s,s.call(t)):t[r]}var Zs=function(e){return Ys("Node",e,"childNodes")},Js=function(e){return Ys("Node",e,"parentNode")},Qs=function(e){return Ys("Node",e,"parentElement")},ea=function(e){return Ys("Node",e,"textContent")},ta=function(e){return e&&"host"in e?Ys("ShadowRoot",e,"host"):null},ra=function(e){return e&&"shadowRoot"in e?Ys("Element",e,"shadowRoot"):null};function na(e){return e.nodeType===e.ELEMENT_NODE}function oa(e){var t=e&&"host"in e&&"mode"in e&&ta(e)||null;return Boolean(t&&"shadowRoot"in t&&ra(t)===e)}function ia(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function sa(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;return!r&&e.ownerNode&&e.ownerNode.ownerDocument&&(r=e.ownerNode.ownerDocument.location.href),(n=Array.from(t,function(e){return aa(e,r)}).join("")).includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),n}catch(e){return null}var n}function aa(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=sa(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}return e.styleSheet.href?ya(r,e.styleSheet.href):r}var n,o=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,o=o.replace(n,"$1\\$2")),t?ya(o,t):o}var la=function(){function e(){Us(this,"idNodeMap",new Map),Us(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e){var t=this,r=this.getId(e);this.idNodeMap.delete(r),e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function ca(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,o=e.type,i=e.value,s=e.maskInputFn,a=i||"",l=o&&ua(o);return(r[n.toLowerCase()]||l&&r[l])&&(a=s?s(a,t):"*".repeat(a.length)),a}function ua(e){return e.toLowerCase()}var pa="__rrweb_original__";function da(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?ua(t):null}function fa(e,t){var r;try{r=new URL(e,null!=t?t:window.location.href)}catch(e){return null}var n,o=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==o?void 0:o[1])?n:null}var ha=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,ma=/^(?:[a-z+]+:)?\/\//i,ga=/^www\..*/i,va=/^(data:)([^,]*),(.*)/i;function ya(e,t){return(e||"").replace(ha,function(e,r,n,o,i,s){var a,l=n||i||s,c=r||o||"";if(!l)return e;if(ma.test(l)||ga.test(l))return"url("+c+l+c+")";if(va.test(l))return"url("+c+l+c+")";if("/"===l[0])return"url("+c+(((a=t).indexOf("//")>-1?a.split("/").slice(0,3).join("/"):a.split("/")[0]).split("?")[0]+l)+c+")";var u=t.split("/"),p=l.split("/");u.pop();for(var d,f=Ns(p);!(d=f()).done;){var h=d.value;"."!==h&&(".."===h?u.pop():u.push(h))}return"url("+c+u.join("/")+c+")"})}function ba(e){return e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"")}var wa,xa,_a=1,Sa=new RegExp("[^a-z0-9-_:]");function ka(){return _a++}var Ca=/^[^ \t\n\r\u000c]+/,Aa=/^[, \t\n\r\u000c]+/,Ia=new WeakMap;function Ma(e,t){return t&&""!==t.trim()?Ra(e,t):t}function Ra(e,t){var r=Ia.get(e);if(r||(r=e.createElement("a"),Ia.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function Ea(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?Ma(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,o=e.exec(t.substring(r));return o?(n=o[0],r+=n.length,n):""}for(var o=[];n(Aa),!(r>=t.length);){var i=n(Ca);if(","===i.slice(-1))i=Ma(e,i.substring(0,i.length-1)),o.push(i);else{var s="";i=Ma(e,i);for(var a=!1;;){var l=t.charAt(r);if(""===l){o.push((i+s).trim());break}if(a)")"===l&&(a=!1);else{if(","===l){r+=1,o.push((i+s).trim());break}"("===l&&(a=!0)}s+=l,r+=1}}}return o.join(", ")}(e,n):"style"===r?ya(n,Ra(e)):"object"===t&&"data"===r?Ma(e,n):n:Ma(e,n):n}function Oa(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function Ta(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&Ta(Js(e),t,r);for(var n=e.classList.length;n--;){var o=e.classList[n];if(t.test(o))return!0}return!!r&&Ta(Js(e),t,r)}function Pa(e,t,r,n){var o;if(na(e)){if(!Zs(o=e).length)return!1}else{if(null===Qs(e))return!1;o=Qs(e)}try{if("string"==typeof t){if(n){if(o.closest("."+t))return!0}else if(o.classList.contains(t))return!0}else if(Ta(o,t,n))return!0;if(r)if(n){if(o.closest(r))return!0}else if(o.matches(r))return!0}catch(e){}return!1}function La(e,t){var r=t.doc,n=t.mirror,o=t.blockClass,i=t.blockSelector,s=t.needsMask,a=t.inlineStylesheet,l=t.maskInputOptions,c=void 0===l?{}:l,u=t.maskTextFn,p=t.maskInputFn,d=t.dataURLOptions,f=void 0===d?{}:d,h=t.inlineImages,m=t.recordCanvas,g=t.keepIframeSrcFn,v=t.newlyAddedElement,y=void 0!==v&&v,b=t.cssCaptured,w=void 0!==b&&b,x=function(e,t){if(t.hasNode(e)){var r=t.getId(e);return 1===r?void 0:r}}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:qs.Document,childNodes:[],compatMode:e.compatMode}:{type:qs.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:qs.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:x};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,o=t.inlineStylesheet,i=t.maskInputOptions,s=void 0===i?{}:i,a=t.maskInputFn,l=t.dataURLOptions,c=void 0===l?{}:l,u=t.inlineImages,p=t.recordCanvas,d=t.keepIframeSrcFn,f=t.newlyAddedElement,h=void 0!==f&&f,m=t.rootId,g=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var o=e.classList[n];if(t.test(o))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,t.blockClass,t.blockSelector),v=function(e){if(Es(e,HTMLFormElement))return"form";var t=ua(e.tagName);return Sa.test(t)?"div":t}(e),y={},b=e.attributes.length,w=0;w<b;w++){var x=e.attributes[w];Oa(v,x.name,x.value)||(y[x.name]=Ea(n,v,ua(x.name),x.value))}if("link"===v&&o){var _=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),S=null;_&&(S=sa(_)),S&&(delete y.rel,delete y.href,y._cssText=S)}if("style"===v&&e.sheet){var k=sa(e.sheet);k&&(e.childNodes.length>1&&(k=function(e,t){return function(e,t){var r=Array.from(t.childNodes),n=[];if(r.length>1&&e&&"string"==typeof e)for(var o=ba(e),i=1;i<r.length;i++)if(r[i].textContent&&"string"==typeof r[i].textContent)for(var s=ba(r[i].textContent),a=3;a<s.length;a++){var l=s.substring(0,a);if(2===o.split(l).length){for(var c=o.indexOf(l),u=c;u<e.length;u++)if(ba(e.substring(0,u)).length===c){n.push(e.substring(0,u)),e=e.substring(u);break}break}}return n.push(e),n}(e,t).join("/* rr_split */")}(k,e)),y._cssText=k)}if("input"===v||"textarea"===v||"select"===v){var C=e.value,A=e.checked;"radio"!==y.type&&"checkbox"!==y.type&&"submit"!==y.type&&"button"!==y.type&&C?y.value=ca({element:e,type:da(e),tagName:v,value:C,maskInputOptions:s,maskInputFn:a}):A&&(y.checked=A)}if("option"===v&&(e.selected&&!s.select?y.selected=!0:delete y.selected),"dialog"===v&&e.open&&(y.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),"canvas"===v&&p)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var o=t.getImageData,i=pa in o?o[pa]:o;if(new Uint32Array(i.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(function(e){return 0!==e}))return!1}return!0})(e)||(y.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){var I=e.toDataURL(c.type,c.quality),M=n.createElement("canvas");M.width=e.width,M.height=e.height,I!==M.toDataURL(c.type,c.quality)&&(y.rr_dataURL=I)}if("img"===v&&u){wa||(wa=n.createElement("canvas"),xa=wa.getContext("2d"));var R=e,E=R.currentSrc||R.getAttribute("src")||"<unknown-src>",O=R.crossOrigin,T=function(){R.removeEventListener("load",T);try{wa.width=R.naturalWidth,wa.height=R.naturalHeight,xa.drawImage(R,0,0),y.rr_dataURL=wa.toDataURL(c.type,c.quality)}catch(e){if("anonymous"!==R.crossOrigin)return R.crossOrigin="anonymous",void(R.complete&&0!==R.naturalWidth?T():R.addEventListener("load",T));console.warn("Cannot inline img src="+E+"! Error: "+e)}"anonymous"===R.crossOrigin&&(O?y.crossOrigin=O:R.removeAttribute("crossorigin"))};R.complete&&0!==R.naturalWidth?T():R.addEventListener("load",T)}if("audio"===v||"video"===v){var P=y;P.rr_mediaState=e.paused?"paused":"played",P.rr_mediaCurrentTime=e.currentTime,P.rr_mediaPlaybackRate=e.playbackRate,P.rr_mediaMuted=e.muted,P.rr_mediaLoop=e.loop,P.rr_mediaVolume=e.volume}if(h||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop)),g){var L=e.getBoundingClientRect(),F=L.width,N=L.height;y={class:y.class,rr_width:F+"px",rr_height:N+"px"}}"iframe"!==v||d(y.src)||(e.contentDocument||(y.rr_src=y.src),delete y.src);try{customElements.get(v)&&(r=!0)}catch(e){}return{type:qs.Element,tagName:v,attributes:y,childNodes:[],isSVG:(j=e,Boolean("svg"===j.tagName||j.ownerSVGElement)||void 0),needBlock:g,rootId:m,isCustom:r};var j}(e,{doc:r,blockClass:o,blockSelector:i,inlineStylesheet:a,maskInputOptions:c,maskInputFn:p,dataURLOptions:f,inlineImages:h,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y,rootId:x});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,o=t.rootId,i=t.cssCaptured,s=Js(e),a=s&&s.tagName,l="",c="STYLE"===a||void 0,u="SCRIPT"===a||void 0;return u?l="SCRIPT_PLACEHOLDER":i||(l=ea(e),c&&l&&(l=ya(l,Ra(t.doc)))),!c&&!u&&l&&r&&(l=n?n(l,Qs(e)):l.replace(/[\S]/g,"*")),{type:qs.Text,textContent:l||"",rootId:o}}(e,{doc:r,needsMask:s,maskTextFn:u,rootId:x,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:qs.CDATA,textContent:"",rootId:x};case e.COMMENT_NODE:return{type:qs.Comment,textContent:ea(e)||"",rootId:x};default:return!1}}function Fa(e){return null==e?"":e.toLowerCase()}function Na(e,t){var r=t.doc,n=t.mirror,o=t.blockClass,i=t.blockSelector,s=t.maskTextClass,a=t.maskTextSelector,l=t.skipChild,c=void 0!==l&&l,u=t.inlineStylesheet,p=void 0===u||u,d=t.maskInputOptions,f=void 0===d?{}:d,h=t.maskTextFn,m=t.maskInputFn,g=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,b=t.inlineImages,w=void 0!==b&&b,x=t.recordCanvas,_=void 0!==x&&x,S=t.onSerialize,k=t.onIframeLoad,C=t.iframeLoadTimeout,A=void 0===C?5e3:C,I=t.onStylesheetLoad,M=t.stylesheetLoadTimeout,R=void 0===M?5e3:M,E=t.keepIframeSrcFn,O=void 0===E?function(){return!1}:E,T=t.newlyAddedElement,P=void 0!==T&&T,L=t.cssCaptured,F=void 0!==L&&L,N=t.needsMask,j=t.preserveWhiteSpace,$=void 0===j||j;N||(N=Pa(e,s,a,void 0===N));var z,B=La(e,{doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:N,inlineStylesheet:p,maskInputOptions:f,maskTextFn:h,maskInputFn:m,dataURLOptions:y,inlineImages:w,recordCanvas:_,keepIframeSrcFn:O,newlyAddedElement:P,cssCaptured:F});if(!B)return console.warn(e,"not serialized"),null;z=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===qs.Comment)return!0;if(e.type===qs.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===fa(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Fa(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Fa(e.attributes.name)||"icon"===Fa(e.attributes.rel)||"apple-touch-icon"===Fa(e.attributes.rel)||"shortcut icon"===Fa(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Fa(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Fa(e.attributes.property).match(/^(og|twitter|fb):/)||Fa(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Fa(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Fa(e.attributes.name)||"googlebot"===Fa(e.attributes.name)||"bingbot"===Fa(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Fa(e.attributes.name)||"generator"===Fa(e.attributes.name)||"framework"===Fa(e.attributes.name)||"publisher"===Fa(e.attributes.name)||"progid"===Fa(e.attributes.name)||Fa(e.attributes.property).match(/^article:/)||Fa(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Fa(e.attributes.name)||"yandex-verification"===Fa(e.attributes.name)||"csrf-token"===Fa(e.attributes.name)||"p:domain_verify"===Fa(e.attributes.name)||"verify-v1"===Fa(e.attributes.name)||"verification"===Fa(e.attributes.name)||"shopify-checkout-api-token"===Fa(e.attributes.name)))return!0}}return!1}(B,g)||!$&&B.type===qs.Text&&!B.textContent.replace(/^\s+|\s+$/gm,"").length?-2:ka();var D=Object.assign(B,{id:z});if(n.add(e,D),-2===z)return null;S&&S(e);var W=!c;if(D.type===qs.Element){W=W&&!D.needBlock,delete D.needBlock;var U=ra(e);U&&ia(U)&&(D.isShadowHost=!0)}if((D.type===qs.Document||D.type===qs.Element)&&W){g.headWhitespace&&D.type===qs.Element&&"head"===D.tagName&&($=!1);var q={doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:p,maskInputOptions:f,maskTextFn:h,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:_,preserveWhiteSpace:$,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:A,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:O,cssCaptured:!1};if(D.type===qs.Element&&"textarea"===D.tagName&&void 0!==D.attributes.value);else{D.type===qs.Element&&void 0!==D.attributes._cssText&&"string"==typeof D.attributes._cssText&&(q.cssCaptured=!0);for(var V,H=Ns(Array.from(Zs(e)));!(V=H()).done;){var G=Na(V.value,q);G&&D.childNodes.push(G)}}var K=null;if(na(e)&&(K=ra(e)))for(var X,Y=Ns(Array.from(Zs(K)));!(X=Y()).done;){var Z=Na(X.value,q);Z&&(ia(K)&&(Z.isShadow=!0),D.childNodes.push(Z))}}var J=Js(e);return J&&oa(J)&&ia(J)&&(D.isShadow=!0),D.type===qs.Element&&"iframe"===D.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var o,i=!1;try{o=n.document.readyState}catch(e){return}if("complete"===o){var s="about:blank";if(n.location.href!==s||e.src===s||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var a=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(a),i=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&k){var r=Na(t,{doc:t,mirror:n,blockClass:o,blockSelector:i,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskTextFn:h,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:_,preserveWhiteSpace:$,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:A,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:O});r&&k(e,r)}},A),D.type===qs.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===fa(D.attributes.href))&&function(e,t,r){var n,o=!1;try{n=e.sheet}catch(e){return}if(!n){var i=setTimeout(function(){o||(t(),o=!0)},r);e.addEventListener("load",function(){clearTimeout(i),o=!0,t()})}}(e,function(){if(I){var t=Na(e,{doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskTextFn:h,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:_,preserveWhiteSpace:$,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:A,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:O});t&&I(e,t)}},R),D}function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $a(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return Es(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var za={exports:{}},Ba=String,Da=function(){return{isColorSupported:!1,reset:Ba,bold:Ba,dim:Ba,italic:Ba,underline:Ba,inverse:Ba,hidden:Ba,strikethrough:Ba,black:Ba,red:Ba,green:Ba,yellow:Ba,blue:Ba,magenta:Ba,cyan:Ba,white:Ba,gray:Ba,bgBlack:Ba,bgRed:Ba,bgGreen:Ba,bgYellow:Ba,bgBlue:Ba,bgMagenta:Ba,bgCyan:Ba,bgWhite:Ba}};za.exports=Da(),za.exports.createColors=Da;var Wa=za.exports,Ua=$a(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),qa=Wa,Va=Ua,Ha=function(e){function t(r,n,o,i,s,a){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,s&&(l.file=s),i&&(l.source=i),a&&(l.plugin=a),void 0!==n&&void 0!==o&&("number"==typeof n?(l.line=n,l.column=o):(l.line=n.line,l.column=n.column,l.endLine=o.line,l.endColumn=o.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Rs(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=qa.isColorSupported),Va&&e&&(r=Va(r));var n,o,i=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,i.length),l=String(a).length;if(e){var c=qa.createColors(!0),u=c.bold,p=c.gray,d=c.red;n=function(e){return u(d(e))},o=function(e){return p(e)}}else n=o=function(e){return e};return i.slice(s,a).map(function(e,r){var i=s+1+r,a=" "+(" "+i).slice(-l)+" | ";if(i===t.line){var c=o(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+o(a)+e+"\n "+c+n("^")}return" "+o(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(Ls(Error)),Ga=Ha;Ha.default=Ha;var Ka={};Ka.isClean=Symbol("isClean"),Ka.my=Symbol("my");var Xa={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1},Ya=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var o=(e.raws.between||"")+(t?";":"");this.builder(r+n+o,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,o=0;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var s=0;s<o;s++)r+=i}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var o=e.nodes[n],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return Xa[r];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](i,e):i.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=Xa[r]),i.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var o=r.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Za=Ya;Ya.default=Ya;var Ja=Za;function Qa(e,t){new Ja(t).stringify(e)}var el=Qa;Qa.default=Qa;var tl=Ka.isClean,rl=Ka.my,nl=Ga,ol=Za,il=el;function sl(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var o=e[n],i=void 0===o?"undefined":Ps(o);"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(function(e){return sl(e,r)}):("object"===i&&null!==o&&(o=sl(o)),r[n]=o)}return r}var al=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[tl]=!1,this[rl]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=Ns(e[t]);!(r=n()).done;){var o=r.value;"function"==typeof o.clone?this.append(o.clone()):this.append(o)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=sl(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,o=r.start;return this.source.input.error(e,{column:o.column,line:o.line},{column:n.column,line:n.line},t)}return new nl(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[tl]){this[tl]=!1;for(var e=this;e=e.parent;)e[tl]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,o=this.source.start.line,i=0;i<e;i++)"\n"===r[i]?(n=1,o+=1):n+=1;return{column:n,line:o}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),o=n.indexOf(e.word);-1!==o&&(t=this.positionInside(o,n),r=this.positionInside(o+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new ol).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,o=this,i=!1,s=Ns(t);!(n=s()).done;){var a=n.value;a===this?i=!0:i?(this.parent.insertAfter(o,a),o=a):this.parent.insertBefore(o,a)}i||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var o=0;for(var i in this)if(Object.prototype.hasOwnProperty.call(this,i)&&"parent"!==i&&"proxyCache"!==i){var s=this[i];if(Array.isArray(s))r[i]=s.map(function(e){return"object"===(void 0===e?"undefined":Ps(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===s?"undefined":Ps(s))&&s.toJSON)r[i]=s.toJSON(null,t);else if("source"===i){var a=t.get(s.input);null==a&&(a=o,t.set(s.input,o),o++),r[i]={end:s.end,inputId:a,start:s.start}}else r[i]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=il),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var o in r)n[o]=r[o];return e.warn(t,n)},As(e,[{key:"proxyOf",get:function(){return this}}]),e}(),ll=al;al.default=al;var cl=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=Is({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return Rs(t,e),As(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(ll),ul=cl;cl.default=cl;var pl=Ua.SourceMapConsumer,dl=Ua.SourceMapGenerator,fl=Ua.existsSync,hl=Ua.readFileSync,ml=Ua.dirname,gl=Ua.join,vl=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=ml(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new pl(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":Ps(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=ml(e),fl(e))return this.mapFile=e,hl(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(Es(t,pl))return dl.fromSourceMap(t).toString();if(Es(t,dl))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var o=this.annotation;return e&&(o=gl(ml(e),o)),this.loadFile(o)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),yl=vl;vl.default=vl;var bl=Ua.SourceMapConsumer,wl=Ua.SourceMapGenerator,xl=Ua.fileURLToPath,_l=Ua.pathToFileURL,Sl=Ua.isAbsolute,kl=Ua.resolve,Cl=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Al=Ua,Il=Ga,Ml=yl,Rl=Symbol("fromOffsetCache"),El=Boolean(bl&&wl),Ol=Boolean(kl&&Sl),Tl=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":Ps(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Ol||/^\w+:\/\//.test(t.from)||Sl(t.from)?this.file=t.from:this.file=kl(t.from)),Ol&&El){var r=new Ml(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+Cl(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var o,i,s;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":Ps(t))){var a=t,l=r;if("number"==typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);i=u.line,s=u.col}else i=l.line,s=l.column}else if(!r){var p=this.fromOffset(t);t=p.line,r=p.col}var d=this.origin(t,r,i,s);return(o=d?new Il(e,void 0===d.endLine?d.line:{column:d.column,line:d.line},void 0===d.endLine?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,n.plugin):new Il(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:s,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:i,line:t,source:this.css},this.file&&(_l&&(o.input.url=_l(this.file).toString()),o.input.file=this.file),o},t.fromOffset=function(e){var t;if(this[Rl])t=this[Rl];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,o=0,i=r.length;o<i;o++)t[o]=n,n+=r[o].length+1;this[Rl]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,l=t.length-2;s<l;)if(e<t[a=s+(l-s>>1)])l=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:kl(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var o,i,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(o=s.originalPositionFor({column:n,line:r})),i=Sl(a.source)?_l(a.source):new URL(a.source,this.map.consumer().sourceRoot||_l(this.map.mapFile));var l={column:a.column,endColumn:o&&o.column,endLine:o&&o.line,line:a.line,url:i.toString()};if("file:"===i.protocol){if(!xl)throw new Error("file: protocol is not available in this PostCSS build");l.file=xl(i)}var c=s.sourceContentFor(a.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=Is({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},As(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Pl=Tl;Tl.default=Tl,Al&&Al.registerInput&&Al.registerInput(Tl);var Ll=Ua.SourceMapConsumer,Fl=Ua.SourceMapGenerator,Nl=Ua.dirname,jl=Ua.relative,$l=Ua.resolve,zl=Ua.sep,Bl=Ua.pathToFileURL,Dl=Pl,Wl=Boolean(Ll&&Fl),Ul=Boolean(Nl&&$l&&jl&&zl),ql=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=Ns(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),o=r.root||Nl(r.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new Ll(r.text)).sourcesContent&&(i.sourcesContent=null):i=r.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(o)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),Ul&&Wl&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Fl.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Fl({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new Fl({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,o=1,i="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,l,c){if(e.css+=a,l&&"end"!==c&&(s.generated.line=n,s.generated.column=o-1,l.source&&l.source.start?(s.source=e.sourcePath(l),s.original.line=l.source.start.line,s.original.column=l.source.start.column-1,e.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),o=a.length-r):o+=a.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(s.source=e.sourcePath(l),s.original.line=l.source.end.line,s.original.column=l.source.end.column-1,s.generated.line=n,s.generated.column=o-2,e.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=o-1,e.map.addMapping(s)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?Nl(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Nl($l(r,this.mapOpts.annotation)));var n=jl(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new Dl(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var o=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(o,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(Bl){var r=Bl(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===zl&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Vl=ql,Hl=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return Rs(t,e),t}(ll),Gl=Hl;Hl.default=Hl;var Kl,Xl,Yl,Zl,Jl=Ka.isClean,Ql=Ka.my,ec=ul,tc=Gl;function rc(e){return e.map(function(e){return e.nodes&&(e.nodes=rc(e.nodes)),delete e.source,e})}function nc(e){if(e[Jl]=!1,e.proxyOf.nodes)for(var t,r=Ns(e.proxyOf.nodes);!(t=r()).done;)nc(t.value)}var oc=function(e){function t(){return e.apply(this,arguments)||this}Rs(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=Ns(t);!(n=o()).done;)for(var i,s=n.value,a=Ns(this.normalize(s,this.last));!(i=a()).done;){var l=i.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=Ns(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i;return(i=e)[t].apply(i,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),o=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var i,s=Ns(o);!(i=s()).done;){var a=i.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+o.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),o=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],o).reverse();n=this.index(e);for(var s,a=Ns(i);!(s=a()).done;){var l=s.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+i.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=rc(Kl(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var o,i=Ns(e=e.slice(0));!(o=i()).done;){var s=o.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,l=Ns(e=e.nodes.slice(0));!(a=l()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new ec(e)]}else if(e.selector)e=[new Xl(e)];else if(e.name)e=[new Yl(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new tc(e)]}var u=e.map(function(e){return e[Ql]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Jl]&&nc(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=Ns(t=t.reverse());!(n=o()).done;){for(var i,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),l=Ns(a);!(i=l()).done;){var c=i.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=Ns(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?Es(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?Es(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?Es(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},As(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(ll);oc.registerParse=function(e){Kl=e},oc.registerRule=function(e){Xl=e},oc.registerAtRule=function(e){Yl=e},oc.registerRoot=function(e){Zl=e};var ic=oc;oc.default=oc,oc.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Yl.prototype):"rule"===e.type?Object.setPrototypeOf(e,Xl.prototype):"decl"===e.type?Object.setPrototypeOf(e,ec.prototype):"comment"===e.type?Object.setPrototypeOf(e,tc.prototype):"root"===e.type&&Object.setPrototypeOf(e,Zl.prototype),e[Ql]=!0,e.nodes&&e.nodes.forEach(function(e){oc.rebuild(e)})};var sc,ac,lc=function(e){function t(t){var r;return(r=e.call(this,Is({type:"document"},t))||this).nodes||(r.nodes=[]),r}return Rs(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new sc(new ac,this,e).stringify()},t}(ic);lc.registerLazyResult=function(e){sc=e},lc.registerProcessor=function(e){ac=e};var cc=lc;lc.default=lc;var uc=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),pc=uc;uc.default=uc;var dc=pc,fc=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new dc(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},As(e,[{key:"content",get:function(){return this.css}}]),e}(),hc=fc;fc.default=fc;var mc="'".charCodeAt(0),gc='"'.charCodeAt(0),vc="\\".charCodeAt(0),yc="/".charCodeAt(0),bc="\n".charCodeAt(0),wc=" ".charCodeAt(0),xc="\f".charCodeAt(0),_c="\t".charCodeAt(0),Sc="\r".charCodeAt(0),kc="[".charCodeAt(0),Cc="]".charCodeAt(0),Ac="(".charCodeAt(0),Ic=")".charCodeAt(0),Mc="{".charCodeAt(0),Rc="}".charCodeAt(0),Ec=";".charCodeAt(0),Oc="*".charCodeAt(0),Tc=":".charCodeAt(0),Pc="@".charCodeAt(0),Lc=/[\t\n\f\r "#'()/;[\\\]{}]/g,Fc=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Nc=/.[\r\n"'(/\\]/,jc=/[\da-f]/i,$c=ic,zc=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}Rs(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.append).call.apply(o,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.prepend).call.apply(o,[].concat([this],r))},t}($c),Bc=zc;zc.default=zc,$c.registerAtRule(zc);var Dc,Wc,Uc=ic,qc=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}Rs(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var o=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var i,s=Ns(o);!(i=s()).done;)i.value.raws.before=r.raws.before;return o},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new Dc(new Wc,this,e).stringify()},t}(Uc);qc.registerLazyResult=function(e){Dc=e},qc.registerProcessor=function(e){Wc=e};var Vc=qc;qc.default=qc,Uc.registerRoot(qc);var Hc={comma:function(e){return Hc.split(e,[","],!0)},space:function(e){return Hc.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,o=[],i="",s=!1,a=0,l=!1,c="",u=!1,p=Ns(e);!(n=p()).done;){var d=n.value;u?u=!1:"\\"===d?u=!0:l?d===c&&(l=!1):'"'===d||"'"===d?(l=!0,c=d):"("===d?a+=1:")"===d?a>0&&(a-=1):0===a&&t.includes(d)&&(s=!0),s?(""!==i&&o.push(i.trim()),i="",s=!1):i+=d}return(r||""!==i)&&o.push(i.trim()),o}},Gc=Hc;Hc.default=Hc;var Kc=ic,Xc=Gc,Yc=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return Rs(t,e),As(t,[{key:"selectors",get:function(){return Xc.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Kc),Zc=Yc;Yc.default=Yc,Kc.registerRule(Yc);var Jc=ul,Qc=Gl,eu=Bc,tu=Vc,ru=Zc,nu={empty:!0,space:!0},ou=function(){function e(e){this.input=e,this.root=new tu,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,o=new eu;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);for(var i=!1,s=!1,a=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(o.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(o,"params",a),i&&(e=a[a.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),s&&(o.nodes=[],this.current=o)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,o,i=0,s=Ns(e.entries());!(o=s()).done;){var a=o.value,l=a[0];if("("===(r=(t=a[1])[0])&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Qc;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=function(e,t){void 0===t&&(t={});var r,n,o,i,s,a,l,c,u,p,d=e.css.valueOf(),f=t.ignoreErrors,h=d.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=h},nextToken:function(e){if(v.length)return v.pop();if(!(m>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=d.charCodeAt(m)){case bc:case wc:case _c:case Sc:case xc:n=m;do{n+=1,r=d.charCodeAt(n)}while(r===wc||r===bc||r===_c||r===Sc||r===xc);p=["space",d.slice(m,n)],m=n-1;break;case kc:case Cc:case Mc:case Rc:case Tc:case Ec:case Ic:var b=String.fromCharCode(r);p=[b,b,m];break;case Ac:if(c=g.length?g.pop()[1]:"",u=d.charCodeAt(m+1),"url"===c&&u!==mc&&u!==gc&&u!==wc&&u!==bc&&u!==_c&&u!==xc&&u!==Sc){n=m;do{if(a=!1,-1===(n=d.indexOf(")",n+1))){if(f||t){n=m;break}y("bracket")}for(l=n;d.charCodeAt(l-1)===vc;)l-=1,a=!a}while(a);p=["brackets",d.slice(m,n+1),m,n],m=n}else n=d.indexOf(")",m+1),i=d.slice(m,n+1),-1===n||Nc.test(i)?p=["(","(",m]:(p=["brackets",i,m,n],m=n);break;case mc:case gc:o=r===mc?"'":'"',n=m;do{if(a=!1,-1===(n=d.indexOf(o,n+1))){if(f||t){n=m+1;break}y("string")}for(l=n;d.charCodeAt(l-1)===vc;)l-=1,a=!a}while(a);p=["string",d.slice(m,n+1),m,n],m=n;break;case Pc:Lc.lastIndex=m+1,Lc.test(d),n=0===Lc.lastIndex?d.length-1:Lc.lastIndex-2,p=["at-word",d.slice(m,n+1),m,n],m=n;break;case vc:for(n=m,s=!0;d.charCodeAt(n+1)===vc;)n+=1,s=!s;if(r=d.charCodeAt(n+1),s&&r!==yc&&r!==wc&&r!==bc&&r!==_c&&r!==Sc&&r!==xc&&(n+=1,jc.test(d.charAt(n)))){for(;jc.test(d.charAt(n+1));)n+=1;d.charCodeAt(n+1)===wc&&(n+=1)}p=["word",d.slice(m,n+1),m,n],m=n;break;default:r===yc&&d.charCodeAt(m+1)===Oc?(0===(n=d.indexOf("*/",m+2)+1)&&(f||t?n=d.length:y("comment")),p=["comment",d.slice(m,n+1),m,n],m=n):(Fc.lastIndex=m+1,Fc.test(d),n=0===Fc.lastIndex?d.length-1:Fc.lastIndex-2,p=["word",d.slice(m,n+1),m,n],g.push(p),m=n)}return m++,p}},position:function(){return m}}}(this.input)},t.decl=function(e,t){var r=new Jc;this.init(r,e[0][2]);var n,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),p="",d=l;d>0;d--){var f=u[d][0];if(0===p.trim().indexOf("!")&&"space"!==f)break;p=u.pop()[1]+p}0===p.trim().indexOf("!")&&(r.important=!0,r.raws.important=p,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new ru;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,o=null,i=[],s=e[1].startsWith("--"),a=[],l=e;l;){if(r=l[0],a.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(s&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&n){if(!s)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var o,i,s,a,l=r.length,c="",u=!0,p=0;p<l;p+=1)"space"!==(i=(o=r[p])[0])||p!==l-1||n?"comment"===i?(a=r[p-1]?r[p-1][0]:"empty",s=r[p+1]?r[p+1][0]:"empty",nu[a]||nu[s]||","===c.slice(-1)?u=!1:c+=o[1]):c+=o[1]:u=!1;if(!u){var d=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:d,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new ru;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),iu=ic,su=ou,au=Pl;function lu(e,t){var r=new au(e,t),n=new su(r);try{n.parse()}catch(e){throw e}return n.root}var cu=lu;lu.default=lu,iu.registerParse(lu);var uu=Ka.isClean,pu=Ka.my,du=Vl,fu=el,hu=ic,mu=cc,gu=hc,vu=cu,yu=Vc,bu={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},wu={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},xu={Once:!0,postcssPlugin:!0,prepare:!0};function _u(e){return"object"===(void 0===e?"undefined":Ps(e))&&"function"==typeof e.then}function Su(e){var t=!1,r=bu[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function ku(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Su(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Cu(e){return e[uu]=!1,e.nodes&&e.nodes.forEach(function(e){return Cu(e)}),e}var Au={},Iu=function(){function e(t,r,n){var o,i=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":Ps(r))||null===r||"root"!==r.type&&"document"!==r.type)if(Es(r,e)||Es(r,gu))o=Cu(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=vu;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{o=s(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[pu]&&hu.rebuild(o)}else o=Cu(r);this.result=new gu(t,o,n),this.helpers=Is({},Au,{postcss:Au,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":Ps(e))&&e.prepare?Is({},e,e.prepare(i.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=Ns(this.plugins);!(t=n()).done;){var o=t.value;if("object"===(void 0===o?"undefined":Ps(o)))for(var i in o){if(!wu[i]&&/^[A-Z]/.test(i))throw new Error("Unknown event "+i+" in "+o.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!xu[i])if("object"===Ps(o[i]))for(var s in o[i])r(o,"*"===s?i:i+"-"+s.toLowerCase(),o[i][s]);else"function"==typeof o[i]&&r(o,i,o[i])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return ks(function(){var t,r,n,o,i,s,a,l,c,u,p,d;return js(this,function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!_u(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw o=f.sent(),e.handleError(o);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];i=e.result.root,f.label=7;case 7:if(i[uu])return[3,14];i[uu]=!0,s=[ku(i)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!_u(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw l=f.sent(),c=s[s.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,o,s;return js(this,function(a){switch(a.label){case 0:t=d.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==i.type?[3,3]:(o=i.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(o)]);case 2:return a.sent(),[3,5];case 3:return[4,n(i,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}})},p=Ns(e.listeners.OnceExit),f.label=15;case 15:return(d=p()).done?[3,18]:[5,$s(u())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":Ps(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return _u(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=fu;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new du(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=Ns(this.plugins);!(e=t()).done;){var r=e.value;if(_u(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[uu];)n[uu]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var o,i=Ns(n.nodes);!(o=i()).done;){var s=o.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=Ns(e);!(r=n()).done;){var o=r.value,i=o[0],s=o[1];this.result.lastPlugin=i;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(_u(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var o=n[t.visitorIndex],i=o[0],s=o[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,l=t.iterator;a=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!a[uu])return a[uu]=!0,void e.push(ku(a));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[uu]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[uu]=!0;for(var r,n=Ns(Su(e));!(r=n()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[uu]||t.walkSync(e)});else{var i=this.listeners[o];if(i&&this.visitSync(i,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},As(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Iu.registerPostcss=function(e){Au=e};var Mu=Iu;Iu.default=Iu,yu.registerLazyResult(Iu),mu.registerLazyResult(Iu);var Ru=Vl,Eu=el,Ou=cu,Tu=hc,Pu=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var o=Eu;this.result=new Tu(this._processor,n,this._opts),this.result.css=t;var i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var s=new Ru(o,n,this._opts,t);if(s.isMap()){var a=s.generate(),l=a[0],c=a[1];l&&(this.result.css=l),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},As(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=Ou;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Lu=Pu;Pu.default=Pu;var Fu=Lu,Nu=Mu,ju=cc,$u=Vc,zu=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=Ns(e);!(t=n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===(void 0===o?"undefined":Ps(o))&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===(void 0===o?"undefined":Ps(o))&&o.postcssPlugin)r.push(o);else if("function"==typeof o)r.push(o);else if("object"!==(void 0===o?"undefined":Ps(o))||!o.parse&&!o.stringify)throw new Error(o+" is not a PostCSS plugin")}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new Nu(this,e,t):new Fu(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Bu=zu;zu.default=zu,$u.registerProcessor(zu),ju.registerProcessor(zu);var Du=ul,Wu=yl,Uu=Gl,qu=Bc,Vu=Pl,Hu=Vc,Gu=Zc;function Ku(e,t){if(Array.isArray(e))return e.map(function(e){return Ku(e)});var r=e.inputs,n=Os(e,["inputs"]);if(r){t=[];for(var o,i=Ns(r);!(o=i()).done;){var s=Is({},o.value,{__proto__:Vu.prototype});s.map&&(s.map=Is({},s.map,{__proto__:Wu.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Ku(e,t)})),n.source){var a=n.source,l=a.inputId,c=Os(a,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new Hu(n);if("decl"===n.type)return new Du(n);if("rule"===n.type)return new Gu(n);if("comment"===n.type)return new Uu(n);if("atrule"===n.type)return new qu(n);throw new Error("Unknown node type: "+e.type)}var Xu=Ku;Ku.default=Ku;var Yu=Ga,Zu=ul,Ju=Mu,Qu=ic,ep=Bu,tp=el,rp=Xu,np=cc,op=pc,ip=Gl,sp=Bc,ap=hc,lp=Pl,cp=cu,up=Gc,pp=Zc,dp=Vc,fp=ll;function hp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new ep(t)}hp.plugin=function(e,t){var r,n=!1;function o(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(o));return s.postcssPlugin=e,s.postcssVersion=(new ep).version,s}return Object.defineProperty(o,"postcss",{get:function(){return r||(r=o()),r}}),o.process=function(e,t,r){return hp([o(r)]).process(e,t)},o},hp.stringify=tp,hp.parse=cp,hp.fromJSON=rp,hp.list=up,hp.comment=function(e){return new ip(e)},hp.atRule=function(e){return new sp(e)},hp.decl=function(e){return new Zu(e)},hp.rule=function(e){return new pp(e)},hp.root=function(e){return new dp(e)},hp.document=function(e){return new np(e)},hp.CssSyntaxError=Yu,hp.Declaration=Zu,hp.Container=Qu,hp.Processor=ep,hp.Document=np,hp.Comment=ip,hp.Warning=op,hp.AtRule=sp,hp.Result=ap,hp.Input=lp,hp.Rule=pp,hp.Root=dp,hp.Node=fp,Ju.registerPostcss(hp);var mp=hp;hp.default=hp;var gp=ja(mp);gp.stringify,gp.fromJSON,gp.plugin,gp.parse,gp.list,gp.document,gp.comment,gp.atRule,gp.rule,gp.decl,gp.root,gp.CssSyntaxError,gp.Declaration,gp.Container,gp.Processor,gp.Document,gp.Comment,gp.Warning,gp.AtRule,gp.Result,gp.Input,gp.Rule,gp.Root,gp.Node;var vp=Object.defineProperty,yp=function(e,t,r){return function(e,t,r){return t in e?vp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":Ps(t))?t+"":t,r)};function bp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wp(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return Es(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var xp={exports:{}},_p=String,Sp=function(){return{isColorSupported:!1,reset:_p,bold:_p,dim:_p,italic:_p,underline:_p,inverse:_p,hidden:_p,strikethrough:_p,black:_p,red:_p,green:_p,yellow:_p,blue:_p,magenta:_p,cyan:_p,white:_p,gray:_p,bgBlack:_p,bgRed:_p,bgGreen:_p,bgYellow:_p,bgBlue:_p,bgMagenta:_p,bgCyan:_p,bgWhite:_p}};xp.exports=Sp(),xp.exports.createColors=Sp;var kp=xp.exports,Cp=wp(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Ap=kp,Ip=Cp,Mp=function(e){function t(r,n,o,i,s,a){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,s&&(l.file=s),i&&(l.source=i),a&&(l.plugin=a),void 0!==n&&void 0!==o&&("number"==typeof n?(l.line=n,l.column=o):(l.line=n.line,l.column=n.column,l.endLine=o.line,l.endColumn=o.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Rs(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Ap.isColorSupported),Ip&&e&&(r=Ip(r));var n,o,i=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,i.length),l=String(a).length;if(e){var c=Ap.createColors(!0),u=c.bold,p=c.gray,d=c.red;n=function(e){return u(d(e))},o=function(e){return p(e)}}else n=o=function(e){return e};return i.slice(s,a).map(function(e,r){var i=s+1+r,a=" "+(" "+i).slice(-l)+" | ";if(i===t.line){var c=o(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+o(a)+e+"\n "+c+n("^")}return" "+o(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(Ls(Error)),Rp=Mp;Mp.default=Mp;var Ep={};Ep.isClean=Symbol("isClean"),Ep.my=Symbol("my");var Op={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1},Tp=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var o=(e.raws.between||"")+(t?";":"");this.builder(r+n+o,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,o=0;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var s=0;s<o;s++)r+=i}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var o=e.nodes[n],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return Op[r];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](i,e):i.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=Op[r]),i.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var o=r.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Pp=Tp;Tp.default=Tp;var Lp=Pp;function Fp(e,t){new Lp(t).stringify(e)}var Np=Fp;Fp.default=Fp;var jp=Ep.isClean,$p=Ep.my,zp=Rp,Bp=Pp,Dp=Np;function Wp(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var o=e[n],i=void 0===o?"undefined":Ps(o);"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(function(e){return Wp(e,r)}):("object"===i&&null!==o&&(o=Wp(o)),r[n]=o)}return r}var Up=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[jp]=!1,this[$p]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=Ns(e[t]);!(r=n()).done;){var o=r.value;"function"==typeof o.clone?this.append(o.clone()):this.append(o)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=Wp(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,o=r.start;return this.source.input.error(e,{column:o.column,line:o.line},{column:n.column,line:n.line},t)}return new zp(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[jp]){this[jp]=!1;for(var e=this;e=e.parent;)e[jp]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,o=this.source.start.line,i=0;i<e;i++)"\n"===r[i]?(n=1,o+=1):n+=1;return{column:n,line:o}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),o=n.indexOf(e.word);-1!==o&&(t=this.positionInside(o,n),r=this.positionInside(o+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new Bp).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,o=this,i=!1,s=Ns(t);!(n=s()).done;){var a=n.value;a===this?i=!0:i?(this.parent.insertAfter(o,a),o=a):this.parent.insertBefore(o,a)}i||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var o=0;for(var i in this)if(Object.prototype.hasOwnProperty.call(this,i)&&"parent"!==i&&"proxyCache"!==i){var s=this[i];if(Array.isArray(s))r[i]=s.map(function(e){return"object"===(void 0===e?"undefined":Ps(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===s?"undefined":Ps(s))&&s.toJSON)r[i]=s.toJSON(null,t);else if("source"===i){var a=t.get(s.input);null==a&&(a=o,t.set(s.input,o),o++),r[i]={end:s.end,inputId:a,start:s.start}}else r[i]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=Dp),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var o in r)n[o]=r[o];return e.warn(t,n)},As(e,[{key:"proxyOf",get:function(){return this}}]),e}(),qp=Up;Up.default=Up;var Vp=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=Is({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return Rs(t,e),As(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(qp),Hp=Vp;Vp.default=Vp;var Gp=Cp.SourceMapConsumer,Kp=Cp.SourceMapGenerator,Xp=Cp.existsSync,Yp=Cp.readFileSync,Zp=Cp.dirname,Jp=Cp.join,Qp=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Zp(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Gp(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":Ps(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=Zp(e),Xp(e))return this.mapFile=e,Yp(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(Es(t,Gp))return Kp.fromSourceMap(t).toString();if(Es(t,Kp))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var o=this.annotation;return e&&(o=Jp(Zp(e),o)),this.loadFile(o)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),ed=Qp;Qp.default=Qp;var td=Cp.SourceMapConsumer,rd=Cp.SourceMapGenerator,nd=Cp.fileURLToPath,od=Cp.pathToFileURL,id=Cp.isAbsolute,sd=Cp.resolve,ad=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},ld=Cp,cd=Rp,ud=ed,pd=Symbol("fromOffsetCache"),dd=Boolean(td&&rd),fd=Boolean(sd&&id),hd=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":Ps(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!fd||/^\w+:\/\//.test(t.from)||id(t.from)?this.file=t.from:this.file=sd(t.from)),fd&&dd){var r=new ud(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+ad(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var o,i,s;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":Ps(t))){var a=t,l=r;if("number"==typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);i=u.line,s=u.col}else i=l.line,s=l.column}else if(!r){var p=this.fromOffset(t);t=p.line,r=p.col}var d=this.origin(t,r,i,s);return(o=d?new cd(e,void 0===d.endLine?d.line:{column:d.column,line:d.line},void 0===d.endLine?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,n.plugin):new cd(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:s,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:i,line:t,source:this.css},this.file&&(od&&(o.input.url=od(this.file).toString()),o.input.file=this.file),o},t.fromOffset=function(e){var t;if(this[pd])t=this[pd];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,o=0,i=r.length;o<i;o++)t[o]=n,n+=r[o].length+1;this[pd]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,l=t.length-2;s<l;)if(e<t[a=s+(l-s>>1)])l=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:sd(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var o,i,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(o=s.originalPositionFor({column:n,line:r})),i=id(a.source)?od(a.source):new URL(a.source,this.map.consumer().sourceRoot||od(this.map.mapFile));var l={column:a.column,endColumn:o&&o.column,endLine:o&&o.line,line:a.line,url:i.toString()};if("file:"===i.protocol){if(!nd)throw new Error("file: protocol is not available in this PostCSS build");l.file=nd(i)}var c=s.sourceContentFor(a.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=Is({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},As(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),md=hd;hd.default=hd,ld&&ld.registerInput&&ld.registerInput(hd);var gd=Cp.SourceMapConsumer,vd=Cp.SourceMapGenerator,yd=Cp.dirname,bd=Cp.relative,wd=Cp.resolve,xd=Cp.sep,_d=Cp.pathToFileURL,Sd=md,kd=Boolean(gd&&vd),Cd=Boolean(yd&&wd&&bd&&xd),Ad=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=Ns(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),o=r.root||yd(r.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new gd(r.text)).sourcesContent&&(i.sourcesContent=null):i=r.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(o)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),Cd&&kd&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=vd.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new vd({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new vd({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,o=1,i="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,l,c){if(e.css+=a,l&&"end"!==c&&(s.generated.line=n,s.generated.column=o-1,l.source&&l.source.start?(s.source=e.sourcePath(l),s.original.line=l.source.start.line,s.original.column=l.source.start.column-1,e.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),o=a.length-r):o+=a.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(s.source=e.sourcePath(l),s.original.line=l.source.end.line,s.original.column=l.source.end.column-1,s.generated.line=n,s.generated.column=o-2,e.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=o-1,e.map.addMapping(s)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?yd(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=yd(wd(r,this.mapOpts.annotation)));var n=bd(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new Sd(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var o=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(o,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(_d){var r=_d(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===xd&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Id=Ad,Md=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return Rs(t,e),t}(qp),Rd=Md;Md.default=Md;var Ed,Od,Td,Pd,Ld=Ep.isClean,Fd=Ep.my,Nd=Hp,jd=Rd;function $d(e){return e.map(function(e){return e.nodes&&(e.nodes=$d(e.nodes)),delete e.source,e})}function zd(e){if(e[Ld]=!1,e.proxyOf.nodes)for(var t,r=Ns(e.proxyOf.nodes);!(t=r()).done;)zd(t.value)}var Bd=function(e){function t(){return e.apply(this,arguments)||this}Rs(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=Ns(t);!(n=o()).done;)for(var i,s=n.value,a=Ns(this.normalize(s,this.last));!(i=a()).done;){var l=i.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=Ns(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i;return(i=e)[t].apply(i,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),o=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var i,s=Ns(o);!(i=s()).done;){var a=i.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+o.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),o=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],o).reverse();n=this.index(e);for(var s,a=Ns(i);!(s=a()).done;){var l=s.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+i.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=$d(Ed(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var o,i=Ns(e=e.slice(0));!(o=i()).done;){var s=o.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,l=Ns(e=e.nodes.slice(0));!(a=l()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Nd(e)]}else if(e.selector)e=[new Od(e)];else if(e.name)e=[new Td(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new jd(e)]}var u=e.map(function(e){return e[Fd]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Ld]&&zd(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=Ns(t=t.reverse());!(n=o()).done;){for(var i,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),l=Ns(a);!(i=l()).done;){var c=i.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=Ns(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?Es(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?Es(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?Es(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},As(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(qp);Bd.registerParse=function(e){Ed=e},Bd.registerRule=function(e){Od=e},Bd.registerAtRule=function(e){Td=e},Bd.registerRoot=function(e){Pd=e};var Dd=Bd;Bd.default=Bd,Bd.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Td.prototype):"rule"===e.type?Object.setPrototypeOf(e,Od.prototype):"decl"===e.type?Object.setPrototypeOf(e,Nd.prototype):"comment"===e.type?Object.setPrototypeOf(e,jd.prototype):"root"===e.type&&Object.setPrototypeOf(e,Pd.prototype),e[Fd]=!0,e.nodes&&e.nodes.forEach(function(e){Bd.rebuild(e)})};var Wd,Ud,qd=function(e){function t(t){var r;return(r=e.call(this,Is({type:"document"},t))||this).nodes||(r.nodes=[]),r}return Rs(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Wd(new Ud,this,e).stringify()},t}(Dd);qd.registerLazyResult=function(e){Wd=e},qd.registerProcessor=function(e){Ud=e};var Vd=qd;qd.default=qd;var Hd=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Gd=Hd;Hd.default=Hd;var Kd=Gd,Xd=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new Kd(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},As(e,[{key:"content",get:function(){return this.css}}]),e}(),Yd=Xd;Xd.default=Xd;var Zd="'".charCodeAt(0),Jd='"'.charCodeAt(0),Qd="\\".charCodeAt(0),ef="/".charCodeAt(0),tf="\n".charCodeAt(0),rf=" ".charCodeAt(0),nf="\f".charCodeAt(0),of="\t".charCodeAt(0),sf="\r".charCodeAt(0),af="[".charCodeAt(0),lf="]".charCodeAt(0),cf="(".charCodeAt(0),uf=")".charCodeAt(0),pf="{".charCodeAt(0),df="}".charCodeAt(0),ff=";".charCodeAt(0),hf="*".charCodeAt(0),mf=":".charCodeAt(0),gf="@".charCodeAt(0),vf=/[\t\n\f\r "#'()/;[\\\]{}]/g,yf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,bf=/.[\r\n"'(/\\]/,wf=/[\da-f]/i,xf=Dd,_f=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}Rs(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.append).call.apply(o,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.prepend).call.apply(o,[].concat([this],r))},t}(xf),Sf=_f;_f.default=_f,xf.registerAtRule(_f);var kf,Cf,Af=Dd,If=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}Rs(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var o=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var i,s=Ns(o);!(i=s()).done;)i.value.raws.before=r.raws.before;return o},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new kf(new Cf,this,e).stringify()},t}(Af);If.registerLazyResult=function(e){kf=e},If.registerProcessor=function(e){Cf=e};var Mf=If;If.default=If,Af.registerRoot(If);var Rf={comma:function(e){return Rf.split(e,[","],!0)},space:function(e){return Rf.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,o=[],i="",s=!1,a=0,l=!1,c="",u=!1,p=Ns(e);!(n=p()).done;){var d=n.value;u?u=!1:"\\"===d?u=!0:l?d===c&&(l=!1):'"'===d||"'"===d?(l=!0,c=d):"("===d?a+=1:")"===d?a>0&&(a-=1):0===a&&t.includes(d)&&(s=!0),s?(""!==i&&o.push(i.trim()),i="",s=!1):i+=d}return(r||""!==i)&&o.push(i.trim()),o}},Ef=Rf;Rf.default=Rf;var Of=Dd,Tf=Ef,Pf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return Rs(t,e),As(t,[{key:"selectors",get:function(){return Tf.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Of),Lf=Pf;Pf.default=Pf,Of.registerRule(Pf);var Ff=Hp,Nf=Rd,jf=Sf,$f=Mf,zf=Lf,Bf={empty:!0,space:!0},Df=function(){function e(e){this.input=e,this.root=new $f,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,o=new jf;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);for(var i=!1,s=!1,a=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(o.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(o,"params",a),i&&(e=a[a.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),s&&(o.nodes=[],this.current=o)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,o,i=0,s=Ns(e.entries());!(o=s()).done;){var a=o.value,l=a[0];if("("===(r=(t=a[1])[0])&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Nf;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=function(e,t){void 0===t&&(t={});var r,n,o,i,s,a,l,c,u,p,d=e.css.valueOf(),f=t.ignoreErrors,h=d.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=h},nextToken:function(e){if(v.length)return v.pop();if(!(m>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=d.charCodeAt(m)){case tf:case rf:case of:case sf:case nf:n=m;do{n+=1,r=d.charCodeAt(n)}while(r===rf||r===tf||r===of||r===sf||r===nf);p=["space",d.slice(m,n)],m=n-1;break;case af:case lf:case pf:case df:case mf:case ff:case uf:var b=String.fromCharCode(r);p=[b,b,m];break;case cf:if(c=g.length?g.pop()[1]:"",u=d.charCodeAt(m+1),"url"===c&&u!==Zd&&u!==Jd&&u!==rf&&u!==tf&&u!==of&&u!==nf&&u!==sf){n=m;do{if(a=!1,-1===(n=d.indexOf(")",n+1))){if(f||t){n=m;break}y("bracket")}for(l=n;d.charCodeAt(l-1)===Qd;)l-=1,a=!a}while(a);p=["brackets",d.slice(m,n+1),m,n],m=n}else n=d.indexOf(")",m+1),i=d.slice(m,n+1),-1===n||bf.test(i)?p=["(","(",m]:(p=["brackets",i,m,n],m=n);break;case Zd:case Jd:o=r===Zd?"'":'"',n=m;do{if(a=!1,-1===(n=d.indexOf(o,n+1))){if(f||t){n=m+1;break}y("string")}for(l=n;d.charCodeAt(l-1)===Qd;)l-=1,a=!a}while(a);p=["string",d.slice(m,n+1),m,n],m=n;break;case gf:vf.lastIndex=m+1,vf.test(d),n=0===vf.lastIndex?d.length-1:vf.lastIndex-2,p=["at-word",d.slice(m,n+1),m,n],m=n;break;case Qd:for(n=m,s=!0;d.charCodeAt(n+1)===Qd;)n+=1,s=!s;if(r=d.charCodeAt(n+1),s&&r!==ef&&r!==rf&&r!==tf&&r!==of&&r!==sf&&r!==nf&&(n+=1,wf.test(d.charAt(n)))){for(;wf.test(d.charAt(n+1));)n+=1;d.charCodeAt(n+1)===rf&&(n+=1)}p=["word",d.slice(m,n+1),m,n],m=n;break;default:r===ef&&d.charCodeAt(m+1)===hf?(0===(n=d.indexOf("*/",m+2)+1)&&(f||t?n=d.length:y("comment")),p=["comment",d.slice(m,n+1),m,n],m=n):(yf.lastIndex=m+1,yf.test(d),n=0===yf.lastIndex?d.length-1:yf.lastIndex-2,p=["word",d.slice(m,n+1),m,n],g.push(p),m=n)}return m++,p}},position:function(){return m}}}(this.input)},t.decl=function(e,t){var r=new Ff;this.init(r,e[0][2]);var n,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),p="",d=l;d>0;d--){var f=u[d][0];if(0===p.trim().indexOf("!")&&"space"!==f)break;p=u.pop()[1]+p}0===p.trim().indexOf("!")&&(r.important=!0,r.raws.important=p,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new zf;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,o=null,i=[],s=e[1].startsWith("--"),a=[],l=e;l;){if(r=l[0],a.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(s&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&n){if(!s)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var o,i,s,a,l=r.length,c="",u=!0,p=0;p<l;p+=1)"space"!==(i=(o=r[p])[0])||p!==l-1||n?"comment"===i?(a=r[p-1]?r[p-1][0]:"empty",s=r[p+1]?r[p+1][0]:"empty",Bf[a]||Bf[s]||","===c.slice(-1)?u=!1:c+=o[1]):c+=o[1]:u=!1;if(!u){var d=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:d,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new zf;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Wf=Dd,Uf=Df,qf=md;function Vf(e,t){var r=new qf(e,t),n=new Uf(r);try{n.parse()}catch(e){throw e}return n.root}var Hf=Vf;Vf.default=Vf,Wf.registerParse(Vf);var Gf=Ep.isClean,Kf=Ep.my,Xf=Id,Yf=Np,Zf=Dd,Jf=Vd,Qf=Yd,eh=Hf,th=Mf,rh={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},nh={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},oh={Once:!0,postcssPlugin:!0,prepare:!0};function ih(e){return"object"===(void 0===e?"undefined":Ps(e))&&"function"==typeof e.then}function sh(e){var t=!1,r=rh[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function ah(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:sh(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function lh(e){return e[Gf]=!1,e.nodes&&e.nodes.forEach(function(e){return lh(e)}),e}var ch={},uh=function(){function e(t,r,n){var o,i=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":Ps(r))||null===r||"root"!==r.type&&"document"!==r.type)if(Es(r,e)||Es(r,Qf))o=lh(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=eh;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{o=s(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[Kf]&&Zf.rebuild(o)}else o=lh(r);this.result=new Qf(t,o,n),this.helpers=Is({},ch,{postcss:ch,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":Ps(e))&&e.prepare?Is({},e,e.prepare(i.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=Ns(this.plugins);!(t=n()).done;){var o=t.value;if("object"===(void 0===o?"undefined":Ps(o)))for(var i in o){if(!nh[i]&&/^[A-Z]/.test(i))throw new Error("Unknown event "+i+" in "+o.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!oh[i])if("object"===Ps(o[i]))for(var s in o[i])r(o,"*"===s?i:i+"-"+s.toLowerCase(),o[i][s]);else"function"==typeof o[i]&&r(o,i,o[i])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return ks(function(){var t,r,n,o,i,s,a,l,c,u,p,d;return js(this,function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!ih(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw o=f.sent(),e.handleError(o);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];i=e.result.root,f.label=7;case 7:if(i[Gf])return[3,14];i[Gf]=!0,s=[ah(i)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!ih(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw l=f.sent(),c=s[s.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,o,s;return js(this,function(a){switch(a.label){case 0:t=d.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==i.type?[3,3]:(o=i.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(o)]);case 2:return a.sent(),[3,5];case 3:return[4,n(i,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}})},p=Ns(e.listeners.OnceExit),f.label=15;case 15:return(d=p()).done?[3,18]:[5,$s(u())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":Ps(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return ih(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Yf;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Xf(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=Ns(this.plugins);!(e=t()).done;){var r=e.value;if(ih(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Gf];)n[Gf]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var o,i=Ns(n.nodes);!(o=i()).done;){var s=o.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=Ns(e);!(r=n()).done;){var o=r.value,i=o[0],s=o[1];this.result.lastPlugin=i;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(ih(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var o=n[t.visitorIndex],i=o[0],s=o[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,l=t.iterator;a=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!a[Gf])return a[Gf]=!0,void e.push(ah(a));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[Gf]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Gf]=!0;for(var r,n=Ns(sh(e));!(r=n()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[Gf]||t.walkSync(e)});else{var i=this.listeners[o];if(i&&this.visitSync(i,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},As(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();uh.registerPostcss=function(e){ch=e};var ph=uh;uh.default=uh,th.registerLazyResult(uh),Jf.registerLazyResult(uh);var dh=Id,fh=Np,hh=Hf,mh=Yd,gh=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var o=fh;this.result=new mh(this._processor,n,this._opts),this.result.css=t;var i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var s=new dh(o,n,this._opts,t);if(s.isMap()){var a=s.generate(),l=a[0],c=a[1];l&&(this.result.css=l),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},As(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=hh;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),vh=gh;gh.default=gh;var yh=vh,bh=ph,wh=Vd,xh=Mf,_h=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=Ns(e);!(t=n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===(void 0===o?"undefined":Ps(o))&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===(void 0===o?"undefined":Ps(o))&&o.postcssPlugin)r.push(o);else if("function"==typeof o)r.push(o);else if("object"!==(void 0===o?"undefined":Ps(o))||!o.parse&&!o.stringify)throw new Error(o+" is not a PostCSS plugin")}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new bh(this,e,t):new yh(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Sh=_h;_h.default=_h,xh.registerProcessor(_h),wh.registerProcessor(_h);var kh=Hp,Ch=ed,Ah=Rd,Ih=Sf,Mh=md,Rh=Mf,Eh=Lf;function Oh(e,t){if(Array.isArray(e))return e.map(function(e){return Oh(e)});var r=e.inputs,n=Os(e,["inputs"]);if(r){t=[];for(var o,i=Ns(r);!(o=i()).done;){var s=Is({},o.value,{__proto__:Mh.prototype});s.map&&(s.map=Is({},s.map,{__proto__:Ch.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Oh(e,t)})),n.source){var a=n.source,l=a.inputId,c=Os(a,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new Rh(n);if("decl"===n.type)return new kh(n);if("rule"===n.type)return new Eh(n);if("comment"===n.type)return new Ah(n);if("atrule"===n.type)return new Ih(n);throw new Error("Unknown node type: "+e.type)}var Th=Oh;Oh.default=Oh;var Ph=Rp,Lh=Hp,Fh=ph,Nh=Dd,jh=Sh,$h=Np,zh=Th,Bh=Vd,Dh=Gd,Wh=Rd,Uh=Sf,qh=Yd,Vh=md,Hh=Hf,Gh=Ef,Kh=Lf,Xh=Mf,Yh=qp;function Zh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new jh(t)}Zh.plugin=function(e,t){var r,n=!1;function o(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(o));return s.postcssPlugin=e,s.postcssVersion=(new jh).version,s}return Object.defineProperty(o,"postcss",{get:function(){return r||(r=o()),r}}),o.process=function(e,t,r){return Zh([o(r)]).process(e,t)},o},Zh.stringify=$h,Zh.parse=Hh,Zh.fromJSON=zh,Zh.list=Gh,Zh.comment=function(e){return new Wh(e)},Zh.atRule=function(e){return new Uh(e)},Zh.decl=function(e){return new Lh(e)},Zh.rule=function(e){return new Kh(e)},Zh.root=function(e){return new Xh(e)},Zh.document=function(e){return new Bh(e)},Zh.CssSyntaxError=Ph,Zh.Declaration=Lh,Zh.Container=Nh,Zh.Processor=jh,Zh.Document=Bh,Zh.Comment=Wh,Zh.Warning=Dh,Zh.AtRule=Uh,Zh.Result=qh,Zh.Input=Vh,Zh.Rule=Kh,Zh.Root=Xh,Zh.Node=Yh,Fh.registerPostcss(Zh);var Jh=Zh;Zh.default=Zh;var Qh=bp(Jh);Qh.stringify,Qh.fromJSON,Qh.plugin,Qh.parse,Qh.list,Qh.document,Qh.comment,Qh.atRule,Qh.rule,Qh.decl,Qh.root,Qh.CssSyntaxError,Qh.Declaration,Qh.Container,Qh.Processor,Qh.Document,Qh.Comment,Qh.Warning,Qh.AtRule,Qh.Result,Qh.Input,Qh.Rule,Qh.Root,Qh.Node;var em=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];yp(this,"parentElement",null),yp(this,"parentNode",null),yp(this,"ownerDocument"),yp(this,"firstChild",null),yp(this,"lastChild",null),yp(this,"previousSibling",null),yp(this,"nextSibling",null),yp(this,"ELEMENT_NODE",1),yp(this,"TEXT_NODE",3),yp(this,"nodeType"),yp(this,"nodeName"),yp(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!Es(t,e))return!1;if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},t.insertBefore=function(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},t.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},t.toString=function(){return"RRNode"},As(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),tm={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},rm={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},nm={};function om(e){if(nm[e])return nm[e];var t=globalThis[e],r=t.prototype,n=e in tm?tm[e]:void 0,o=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),i=e in rm?rm[e]:void 0,s=Boolean(i&&i.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(o&&s&&!globalThis.Zone)return nm[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var l=a.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(a),c?nm[e]=c:r}catch(e){return r}}var im={};function sm(e,t,r){var n,o=e+"."+String(r);if(im[o])return im[o].call(t);var i=om(e),s=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return s?(im[o]=s,s.call(t)):t[r]}var am={};function lm(e,t,r){var n=e+"."+String(r);if(am[n])return am[n].bind(t);var o=om(e)[r];return"function"!=typeof o?t[r]:(am[n]=o,o.bind(t))}function cm(){return om("MutationObserver").constructor}var um=function(e){return sm("Node",e,"childNodes")},pm=function(e){return sm("Node",e,"parentNode")},dm=function(e){return sm("Node",e,"parentElement")},fm=function(e){return sm("Node",e,"textContent")},hm=function(e,t){return lm("Node",e,"contains")(t)},mm=function(e){return lm("Node",e,"getRootNode")()},gm=function(e){return e&&"host"in e?sm("ShadowRoot",e,"host"):null},vm=function(e){return e&&"shadowRoot"in e?sm("Element",e,"shadowRoot"):null};function ym(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var bm="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",wm={map:{},getId:function(){return console.error(bm),-1},getNode:function(){return console.error(bm),null},removeNodeFromMap:function(){console.error(bm)},has:function(){return console.error(bm),!1},reset:function(){console.error(bm)}};function xm(e,t,r){void 0===r&&(r={});var n=null,o=0;return function(){for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];var l=Date.now();o||!1!==r.leading||(o=l);var c=t-(l-o),u=this;c<=0||c>t?(n&&(clearTimeout(n),n=null),o=l,e.apply(u,s)):n||!1===r.trailing||(n=setTimeout(function(){o=!1===r.leading?0:Date.now(),n=null,e.apply(u,s)},c))}}function _m(e,t,r,n,o){void 0===o&&(o=window);var i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout(function(){r.set.call(t,e)},0),i&&i.set&&i.set.call(this,e)}}),function(){return _m(e,t,i||{},!0)}}function Sm(e,t,r){try{if(!(t in e))return function(){};var n=e[t],o=r(n);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=o,function(){e[t]=n}}catch(e){return function(){}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(wm=new Proxy(wm,{get:function(e,t,r){return"map"===t&&console.error(bm),Reflect.get(e,t,r)}}));var km=Date.now;function Cm(e){var t,r,n,o,i=e.document;return{left:i.scrollingElement?i.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:i.documentElement.scrollLeft||(null==i?void 0:i.body)&&(null==(t=dm(i.body))?void 0:t.scrollLeft)||(null==(r=null==i?void 0:i.body)?void 0:r.scrollLeft)||0,top:i.scrollingElement?i.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==i?void 0:i.documentElement.scrollTop)||(null==i?void 0:i.body)&&(null==(n=dm(i.body))?void 0:n.scrollTop)||(null==(o=null==i?void 0:i.body)?void 0:o.scrollTop)||0}}function Am(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Im(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Mm(e){return e?e.nodeType===e.ELEMENT_NODE?e:dm(e):null}function Rm(e,t,r,n){if(!e)return!1;var o=Mm(e);if(!o)return!1;try{if("string"==typeof t){if(o.classList.contains(t))return!0;if(n&&null!==o.closest("."+t))return!0}else if(Ta(o,t,n))return!0}catch(e){}if(r){if(o.matches(r))return!0;if(n&&null!==o.closest(r))return!0}return!1}function Em(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function Om(e,t){if(oa(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=pm(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||Om(n,t))}function Tm(e){return Boolean(e.changedTouches)}function Pm(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Lm(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Fm(e){return!!e&&(Es(e,em)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(vm(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(km=function(){return(new Date).getTime()});var Nm=function(){function e(){Ds(this,"id",1),Ds(this,"styleIDMap",new WeakMap),Ds(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var r},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},e}();function jm(e){var t,r=null;return"getRootNode"in e&&(null==(t=mm(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&gm(mm(e))&&(r=gm(mm(e))),r}function $m(e){var t=e.ownerDocument;return!!t&&(hm(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=jm(r);)r=t;return r}(e);return hm(t,r)}(e))}var zm=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(zm||{}),Bm=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(Bm||{}),Dm=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(Dm||{}),Wm=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Wm||{}),Um=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(Um||{}),qm=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}(qm||{}),Vm=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(Vm||{});function Hm(e){return"__ln"in e}var Gm,Km=function(){function e(){Ds(this,"length",0),Ds(this,"head",null),Ds(this,"tail",null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Hm(e.previousSibling)){var r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&Hm(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),Xm=function(e,t){return e+"@"+t},Ym=function(){function e(){var e=this;Ds(this,"frozen",!1),Ds(this,"locked",!1),Ds(this,"texts",[]),Ds(this,"attributes",[]),Ds(this,"attributeMap",new WeakMap),Ds(this,"removes",[]),Ds(this,"mapRemoves",[]),Ds(this,"movedMap",{}),Ds(this,"addedSet",new Set),Ds(this,"movedSet",new Set),Ds(this,"droppedSet",new Set),Ds(this,"removesSubTreeCache",new Set),Ds(this,"mutationCb"),Ds(this,"blockClass"),Ds(this,"blockSelector"),Ds(this,"maskTextClass"),Ds(this,"maskTextSelector"),Ds(this,"inlineStylesheet"),Ds(this,"maskInputOptions"),Ds(this,"maskTextFn"),Ds(this,"maskInputFn"),Ds(this,"keepIframeSrcFn"),Ds(this,"recordCanvas"),Ds(this,"inlineImages"),Ds(this,"slimDOMOptions"),Ds(this,"dataURLOptions"),Ds(this,"doc"),Ds(this,"mirror"),Ds(this,"iframeManager"),Ds(this,"stylesheetManager"),Ds(this,"shadowDomManager"),Ds(this,"canvasManager"),Ds(this,"processedNodeManager"),Ds(this,"unattachedDoc"),Ds(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),Ds(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new Km,o=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},i=function(i){var s=pm(i);if(s&&$m(i)){var a=!1;if(i.nodeType===Node.TEXT_NODE){var l=s.tagName;if("TEXTAREA"===l)return;"STYLE"===l&&e.addedSet.has(s)&&(a=!0)}var c=oa(s)?e.mirror.getId(jm(i)):e.mirror.getId(s),u=o(i);if(-1===c||-1===u)return n.addNode(i);var p=Na(i,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){Pm(t,e.mirror)&&e.iframeManager.addIframe(t),Lm(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),Fm(i)&&e.shadowDomManager.addShadowRoot(vm(i),e.doc)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,r){e.stylesheetManager.attachLinkElement(t,r)},cssCaptured:a});p&&(t.push({parentId:c,nextId:u,node:p}),r.add(p.id))}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var s,a=Ns(e.movedSet);!(s=a()).done;){var l=s.value;Jm(e.removesSubTreeCache,l,e.mirror)&&!e.movedSet.has(pm(l))||i(l)}for(var c,u=Ns(e.addedSet);!(c=u()).done;){var p=c.value;Qm(e.droppedSet,p)||Jm(e.removesSubTreeCache,p,e.mirror)?Qm(e.movedSet,p)?i(p):e.droppedSet.add(p):i(p)}for(var d=null;n.length;){var f=null;if(d){var h=e.mirror.getId(pm(d.value)),m=o(d.value);-1!==h&&-1!==m&&(f=d)}if(!f)for(var g=n.tail;g;){var v=g;if(g=g.previous,v){var y=e.mirror.getId(pm(v.value));if(-1===o(v.value))continue;if(-1!==y){f=v;break}var b=v.value,w=pm(b);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var x=gm(w);if(-1!==e.mirror.getId(x)){f=v;break}}}}if(!f){for(;n.head;)n.removeNode(n.head.value);break}d=f.previous,n.removeNode(f.value),i(f.value)}var _={texts:e.texts.map(function(t){var r=t.node,n=pm(r);return n&&"TEXTAREA"===n.tagName&&e.genTextAreaValueMutation(n),{id:e.mirror.getId(r),value:t.value}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var r=t.attributes;if("string"==typeof r.style){var n=JSON.stringify(t.styleDiff),o=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+o).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:r}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:t};(_.texts.length||_.attributes.length||_.removes.length||_.adds.length)&&(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(_))}}),Ds(this,"genTextAreaValueMutation",function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r)),r.attributes.value=Array.from(um(t),function(e){return fm(e)||""}).join("")}),Ds(this,"processMutation",function(t){if(!Em(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=fm(t.target);Rm(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:Pa(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,Mm(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break;case"attributes":var n=t.target,o=t.attributeName,i=t.target.getAttribute(o);if("value"===o){var s=da(n);i=ca({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:s,value:i,maskInputFn:e.maskInputFn})}if(Rm(t.target,e.blockClass,e.blockSelector,!1)||i===t.oldValue)return;var a=e.attributeMap.get(t.target);if("IFRAME"===n.tagName&&"src"===o&&!e.keepIframeSrcFn(i)){if(n.contentDocument)return;o="rr_src"}if(a||(a={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(a),e.attributeMap.set(t.target,a)),"type"===o&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!Oa(n.tagName,o))if(a.attributes[o]=Ea(e.doc,ua(n.tagName),ua(o),i),"style"===o){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){e.unattachedDoc=e.doc}var l=e.unattachedDoc.createElement("span");t.oldValue&&l.setAttribute("style",t.oldValue);for(var c,u=Ns(Array.from(n.style));!(c=u()).done;){var p=c.value,d=n.style.getPropertyValue(p),f=n.style.getPropertyPriority(p);d!==l.style.getPropertyValue(p)||f!==l.style.getPropertyPriority(p)?a.styleDiff[p]=""===f?d:[d,f]:a._unchangedStyles[p]=[d,f]}for(var h,m=Ns(Array.from(l.style));!(h=m()).done;){var g=h.value;""===n.style.getPropertyValue(g)&&(a.styleDiff[g]=!1)}}else"open"===o&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?a.attributes.rr_open_mode="modal":a.attributes.rr_open_mode="non-modal");break;case"childList":if(Rm(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void e.genTextAreaValueMutation(t.target);t.addedNodes.forEach(function(r){return e.genAdds(r,t.target)}),t.removedNodes.forEach(function(r){var n=e.mirror.getId(r),o=oa(t.target)?e.mirror.getId(gm(t.target)):e.mirror.getId(t.target);Rm(t.target,e.blockClass,e.blockSelector,!1)||Em(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(Zm(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||Om(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[Xm(n,o)]?Zm(e.movedSet,r):(e.removes.push({parentId:o,id:n,isShadow:!(!oa(t.target)||!ia(t.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),um(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),Ds(this,"genAdds",function(t,r){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!e.addedSet.has(t)&&!e.movedSet.has(t)){if(e.mirror.hasNode(t)){if(Em(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var n=null;r&&e.mirror.hasNode(r)&&(n=e.mirror.getId(r)),n&&-1!==n&&(e.movedMap[Xm(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);Rm(t,e.blockClass,e.blockSelector,!1)||(um(t).forEach(function(t){return e.genAdds(t)}),Fm(t)&&um(vm(t)).forEach(function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)}))}})}var t=e.prototype;return t.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(r){t[r]=e[r]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function Zm(e,t){e.delete(t),um(t).forEach(function(t){return Zm(e,t)})}function Jm(e,t,r){return 0!==e.size&&function(e,t){var r=pm(t);return!!r&&e.has(r)}(e,t)}function Qm(e,t){return 0!==e.size&&eg(e,t)}function eg(e,t){var r=pm(t);return!!r&&(!!e.has(r)||eg(e,r))}var tg=function(e){return Gm?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];try{return e.apply(void 0,[].concat(r))}catch(e){if(Gm&&!0===Gm(e))return;throw e}}:e},rg=[];function ng(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function og(e,t){var r=new Ym;rg.push(r),r.init(e);var n=new(cm())(tg(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function ig(e){var t=e.scrollCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,s=e.sampling;return ym("scroll",tg(xm(tg(function(e){var s=ng(e);if(s&&!Rm(s,o,i,!0)){var a=n.getId(s);if(s===r&&r.defaultView){var l=Cm(r.defaultView);t({id:a,x:l.left,y:l.top})}else t({id:a,x:s.scrollLeft,y:s.scrollTop})}}),s.scroll||100)),r)}var sg=["INPUT","TEXTAREA","SELECT"],ag=new WeakMap;function lg(e){return function(e,t){if(dg("CSSGroupingRule")&&Es(e.parentRule,CSSGroupingRule)||dg("CSSMediaRule")&&Es(e.parentRule,CSSMediaRule)||dg("CSSSupportsRule")&&Es(e.parentRule,CSSSupportsRule)||dg("CSSConditionRule")&&Es(e.parentRule,CSSConditionRule)){var r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){var n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function cg(e,t,r){var n,o;return e?(e.ownerNode?n=t.getId(e.ownerNode):o=r.getId(e),{styleId:o,id:n}):{}}function ug(e,t){var r,n,o,i,s=e.mirror,a=e.stylesheetManager;i="#document"===t.nodeName?s.getId(t):s.getId(gm(t));var l="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(o=null==(n=t.ownerDocument)?void 0:n.defaultView)?void 0:o.ShadowRoot,c=(null==l?void 0:l.prototype)?Object.getOwnPropertyDescriptor(null==l?void 0:l.prototype,"adoptedStyleSheets"):void 0;return null!==i&&-1!==i&&l&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null==(e=c.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=c.set)?void 0:t.call(this,e);if(null!==i&&-1!==i)try{a.adoptStyleSheets(e,i)}catch(e){}return r}}),tg(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function pg(e,t){void 0===t&&(t={});var r,n=e.doc.defaultView;if(!n)return function(){};!function(e,t){var r=e.mutationCb,n=e.mousemoveCb,o=e.mouseInteractionCb,i=e.scrollCb,s=e.viewportResizeCb,a=e.inputCb,l=e.mediaInteractionCb,c=e.styleSheetRuleCb,u=e.styleDeclarationCb,p=e.canvasMutationCb,d=e.fontCb,f=e.selectionCb,h=e.customElementCb;e.mutationCb=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var i;t.mutation&&(i=t).mutation.apply(i,[].concat(n)),r.apply(void 0,[].concat(n))},e.mousemoveCb=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i;t.mousemove&&(i=t).mousemove.apply(i,[].concat(r)),n.apply(void 0,[].concat(r))},e.mouseInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.mouseInteraction&&(i=t).mouseInteraction.apply(i,[].concat(r)),o.apply(void 0,[].concat(r))},e.scrollCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.scroll&&(o=t).scroll.apply(o,[].concat(r)),i.apply(void 0,[].concat(r))},e.viewportResizeCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.viewportResize&&(o=t).viewportResize.apply(o,[].concat(r)),s.apply(void 0,[].concat(r))},e.inputCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.input&&(o=t).input.apply(o,[].concat(r)),a.apply(void 0,[].concat(r))},e.mediaInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.mediaInteaction&&(o=t).mediaInteaction.apply(o,[].concat(r)),l.apply(void 0,[].concat(r))},e.styleSheetRuleCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.styleSheetRule&&(o=t).styleSheetRule.apply(o,[].concat(r)),c.apply(void 0,[].concat(r))},e.styleDeclarationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.styleDeclaration&&(o=t).styleDeclaration.apply(o,[].concat(r)),u.apply(void 0,[].concat(r))},e.canvasMutationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.canvasMutation&&(o=t).canvasMutation.apply(o,[].concat(r)),p.apply(void 0,[].concat(r))},e.fontCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.font&&(o=t).font.apply(o,[].concat(r)),d.apply(void 0,[].concat(r))},e.selectionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.selection&&(o=t).selection.apply(o,[].concat(r)),f.apply(void 0,[].concat(r))},e.customElementCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.customElement&&(o=t).customElement.apply(o,[].concat(r)),h.apply(void 0,[].concat(r))}}(e,t),e.recordDOM&&(r=og(e,e.doc));var o,i,s,a,l,c,u,p,d,f=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,o=e.mirror;if(!1===r.mousemove)return function(){};var i,s="number"==typeof r.mousemove?r.mousemove:50,a="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,l=[],c=xm(tg(function(e){var r=Date.now()-i;t(l.map(function(e){return e.timeOffset-=r,e}),e),l=[],i=null}),a),u=tg(xm(tg(function(e){var t=ng(e),r=Tm(e)?e.changedTouches[0]:e,n=r.clientX,s=r.clientY;i||(i=km()),l.push({x:n,y:s,id:o.getId(t),timeOffset:km()-i}),c("undefined"!=typeof DragEvent&&Es(e,DragEvent)?Bm.Drag:Es(e,MouseEvent)?Bm.MouseMove:Bm.TouchMove)}),s,{trailing:!1})),p=[ym("mousemove",u,n),ym("touchmove",u,n),ym("drag",u,n)];return tg(function(){p.forEach(function(e){return e()})})}(e),h=function(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,s=e.sampling;if(!1===s.mouseInteraction)return function(){};var a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,l=[],c=null;return Object.keys(Dm).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}).forEach(function(e){var s=ua(e),a=function(e){return function(r){var s=ng(r);if(!Rm(s,o,i,!0)){var a=null,l=e;if("pointerType"in r){switch(r.pointerType){case"mouse":a=Wm.Mouse;break;case"touch":a=Wm.Touch;break;case"pen":a=Wm.Pen}a===Wm.Touch?Dm[e]===Dm.MouseDown?l="TouchStart":Dm[e]===Dm.MouseUp&&(l="TouchEnd"):Wm.Pen}else Tm(r)&&(a=Wm.Touch);null!==a?(c=a,(l.startsWith("Touch")&&a===Wm.Touch||l.startsWith("Mouse")&&a===Wm.Mouse)&&(a=null)):Dm[e]===Dm.Click&&(a=c,c=null);var u=Tm(r)?r.changedTouches[0]:r;if(u){var p=n.getId(s),d=u.clientX,f=u.clientY;tg(t)(Is({type:Dm[l],id:p,x:d,y:f},null!==a&&{pointerType:a}))}}}}(e);if(window.PointerEvent)switch(Dm[e]){case Dm.MouseDown:case Dm.MouseUp:s=s.replace("mouse","pointer");break;case Dm.TouchStart:case Dm.TouchEnd:return}l.push(ym(s,a,r))}),tg(function(){l.forEach(function(e){return e()})})}(e),m=ig(e),g=function(e,t){var r=e.viewportResizeCb,n=t.win,o=-1,i=-1;return ym("resize",tg(xm(tg(function(){var e=Am(),t=Im();o===e&&i===t||(r({width:Number(t),height:Number(e)}),o=e,i=t)}),200)),n)}(e,{win:n}),v=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,s=e.ignoreClass,a=e.ignoreSelector,l=e.maskInputOptions,c=e.maskInputFn,u=e.sampling,p=e.userTriggeredOnInput;function d(e){var t=ng(e),n=e.isTrusted,u=t&&t.tagName;if(t&&"OPTION"===u&&(t=dm(t)),t&&u&&!(sg.indexOf(u)<0)&&!Rm(t,o,i,!0)&&!(t.classList.contains(s)||a&&t.matches(a))){var d=t.value,h=!1,m=da(t)||"";"radio"===m||"checkbox"===m?h=t.checked:(l[u.toLowerCase()]||l[m])&&(d=ca({element:t,maskInputOptions:l,tagName:u,type:m,value:d,maskInputFn:c})),f(t,p?{text:d,isChecked:h,userTriggered:n}:{text:d,isChecked:h});var g=t.name;"radio"===m&&g&&h&&r.querySelectorAll('input[type="radio"][name="'+g+'"]').forEach(function(e){if(e!==t){var r=e.value;f(e,p?{text:r,isChecked:!h,userTriggered:!1}:{text:r,isChecked:!h})}})}}function f(e,r){var o=ag.get(e);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){ag.set(e,r);var i=n.getId(e);tg(t)(Is({},r,{id:i}))}}var h=("last"===u.input?["change"]:["input","change"]).map(function(e){return ym(e,tg(d),r)}),m=r.defaultView;if(!m)return function(){h.forEach(function(e){return e()})};var g,v=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),y=[[m.HTMLInputElement.prototype,"value"],[m.HTMLInputElement.prototype,"checked"],[m.HTMLSelectElement.prototype,"value"],[m.HTMLTextAreaElement.prototype,"value"],[m.HTMLSelectElement.prototype,"selectedIndex"],[m.HTMLOptionElement.prototype,"selected"]];return v&&v.set&&(g=h).push.apply(g,[].concat(y.map(function(e){return _m(e[0],e[1],{set:function(){tg(d)({target:this,isTrusted:!1})}},!1,m)}))),tg(function(){h.forEach(function(e){return e()})})}(e),y=(i=(o=e).mediaInteractionCb,s=o.blockClass,a=o.blockSelector,l=o.mirror,c=o.sampling,u=o.doc,p=tg(function(e){return xm(tg(function(t){var r=ng(t);if(r&&!Rm(r,s,a,!0)){var n=r.currentTime,o=r.volume,c=r.muted,u=r.playbackRate,p=r.loop;i({type:e,id:l.getId(r),currentTime:n,volume:o,muted:c,playbackRate:u,loop:p})}}),c.media||500)}),d=[ym("play",p(qm.Play),u),ym("pause",p(qm.Pause),u),ym("seeked",p(qm.Seeked),u),ym("volumechange",p(qm.VolumeChange),u),ym("ratechange",p(qm.RateChange),u)],tg(function(){d.forEach(function(e){return e()})})),b=function(){},w=function(){},x=function(){},_=function(){};e.recordDOM&&(b=function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,o=e.stylesheetManager,i=t.win;if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return function(){};var s=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:tg(function(e,t,i){var s=i[0],a=i[1],l=cg(t,n,o.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:s,index:a}]}),e.apply(t,i)})}),i.CSSStyleSheet.prototype.addRule=function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return i.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])};var a,l,c=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:tg(function(e,t,i){var s=i[0],a=cg(t,n,o.styleMirror),l=a.id,c=a.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:s}]}),e.apply(t,i)})}),i.CSSStyleSheet.prototype.removeRule=function(e){return i.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},i.CSSStyleSheet.prototype.replace&&(a=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:tg(function(e,t,i){var s=i[0],a=cg(t,n,o.styleMirror),l=a.id,c=a.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replace:s}),e.apply(t,i)})})),i.CSSStyleSheet.prototype.replaceSync&&(l=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:tg(function(e,t,i){var s=i[0],a=cg(t,n,o.styleMirror),l=a.id,c=a.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replaceSync:s}),e.apply(t,i)})}));var u={};fg("CSSGroupingRule")?u.CSSGroupingRule=i.CSSGroupingRule:(fg("CSSMediaRule")&&(u.CSSMediaRule=i.CSSMediaRule),fg("CSSConditionRule")&&(u.CSSConditionRule=i.CSSConditionRule),fg("CSSSupportsRule")&&(u.CSSSupportsRule=i.CSSSupportsRule));var p={};return Object.entries(u).forEach(function(e){var t=e[0],i=e[1];p[t]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(p[t].insertRule,{apply:tg(function(e,t,i){var s=i[0],a=i[1],l=cg(t.parentStyleSheet,n,o.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:s,index:[].concat(lg(t),[a||0])}]}),e.apply(t,i)})}),i.prototype.deleteRule=new Proxy(p[t].deleteRule,{apply:tg(function(e,t,i){var s=i[0],a=cg(t.parentStyleSheet,n,o.styleMirror),l=a.id,c=a.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:[].concat(lg(t),[s])}]}),e.apply(t,i)})})}),tg(function(){i.CSSStyleSheet.prototype.insertRule=s,i.CSSStyleSheet.prototype.deleteRule=c,a&&(i.CSSStyleSheet.prototype.replace=a),l&&(i.CSSStyleSheet.prototype.replaceSync=l),Object.entries(u).forEach(function(e){var t=e[0],r=e[1];r.prototype.insertRule=p[t].insertRule,r.prototype.deleteRule=p[t].deleteRule})})}(e,{win:n}),w=ug(e,e.doc),x=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,o=e.ignoreCSSAttributes,i=e.stylesheetManager,s=t.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:tg(function(e,t,s){var l,c=s[0],u=s[1],p=s[2];if(o.has(c))return a.apply(t,[c,u,p]);var d=cg(null==(l=t.parentRule)?void 0:l.parentStyleSheet,n,i.styleMirror),f=d.id,h=d.styleId;return(f&&-1!==f||h&&-1!==h)&&r({id:f,styleId:h,set:{property:c,value:u,priority:p},index:lg(t.parentRule)}),e.apply(t,s)})});var l=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(l,{apply:tg(function(e,t,s){var a,c=s[0];if(o.has(c))return l.apply(t,[c]);var u=cg(null==(a=t.parentRule)?void 0:a.parentStyleSheet,n,i.styleMirror),p=u.id,d=u.styleId;return(p&&-1!==p||d&&-1!==d)&&r({id:p,styleId:d,remove:{property:c},index:lg(t.parentRule)}),e.apply(t,s)})}),tg(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=l})}(e,{win:n}),e.collectFonts&&(_=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var o=[],i=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,r){var n=new s(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var a=Sm(r.fonts,"add",function(e){return function(r){return setTimeout(tg(function(){var e=i.get(r);e&&(t(e),i.delete(r))}),0),e.apply(this,[r])}});return o.push(function(){n.FontFace=s}),o.push(a),tg(function(){o.forEach(function(e){return e()})})}(e)));for(var S,k=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,o=e.blockSelector,i=e.selectionCb,s=!0,a=tg(function(){var e=t.getSelection();if(!(!e||s&&(null==e?void 0:e.isCollapsed))){s=e.isCollapsed||!1;for(var a=[],l=e.rangeCount||0,c=0;c<l;c++){var u=e.getRangeAt(c),p=u.startContainer,d=u.startOffset,f=u.endContainer,h=u.endOffset;Rm(p,n,o,!0)||Rm(f,n,o,!0)||a.push({start:r.getId(p),startOffset:d,end:r.getId(f),endOffset:h})}i({ranges:a})}});return a(),ym("selectionchange",a)}(e),C=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?Sm(n.customElements,"define",function(e){return function(t,n,o){try{r({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,o])}}):function(){}}(e),A=[],I=Ns(e.plugins);!(S=I()).done;){var M=S.value;A.push(M.observer(M.callback,n,M.options))}return tg(function(){rg.forEach(function(e){return e.reset()}),null==r||r.disconnect(),f(),h(),m(),g(),v(),y(),b(),w(),x(),_(),k(),C(),A.forEach(function(e){return e()})})}function dg(e){return void 0!==window[e]}function fg(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var hg=function(){function e(e){Ds(this,"iframeIdToRemoteIdMap",new WeakMap),Ds(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,r,n){var o=r||this.getIdToRemoteIdMap(e),i=n||this.getRemoteIdToIdMap(e),s=o.get(t);return s||(s=this.generateIdFn(),o.set(t,s),i.set(s,t)),s},t.getIds=function(e,t){var r=this,n=this.getIdToRemoteIdMap(e),o=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getId(e,t,n,o)})},t.getRemoteId=function(e,t,r){var n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1},t.getRemoteIds=function(e,t){var r=this,n=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getRemoteId(e,t,n)})},t.reset=function(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),mg=function(){function e(e){Ds(this,"iframes",new WeakMap),Ds(this,"crossOriginIframeMap",new WeakMap),Ds(this,"crossOriginIframeMirror",new hg(ka)),Ds(this,"crossOriginIframeStyleMirror"),Ds(this,"crossOriginIframeRootIdMap",new WeakMap),Ds(this,"mirror"),Ds(this,"mutationCb"),Ds(this,"wrappedEmit"),Ds(this,"loadListener"),Ds(this,"stylesheetManager"),Ds(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new hg(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var r,n=this;switch(t.type){case zm.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var o=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,o),this.patchRootIdOnNode(t.data.node,o),{timestamp:t.timestamp,type:zm.IncrementalSnapshot,data:{source:Bm.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case zm.Meta:case zm.Load:case zm.DomContentLoaded:return!1;case zm.Plugin:return t;case zm.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case zm.IncrementalSnapshot:switch(t.data.source){case Bm.Mutation:return t.data.adds.forEach(function(t){n.replaceIds(t,e,["parentId","nextId","previousId"]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(function(t){n.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(function(t){n.replaceIds(t,e,["id"])}),t.data.texts.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case Bm.Drag:case Bm.TouchMove:case Bm.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case Bm.ViewportResize:return!1;case Bm.MediaInteraction:case Bm.MouseInteraction:case Bm.Scroll:case Bm.CanvasMutation:case Bm.Input:return this.replaceIds(t.data,e,["id"]),t;case Bm.StyleSheetRule:case Bm.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Bm.Font:return t;case Bm.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case Bm.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach(function(t){n.replaceStyleIds(t,e,["styleId"])}),t}}return!1},t.replace=function(e,t,r,n){for(var o,i=Ns(n);!(o=i()).done;){var s=o.value;(Array.isArray(t[s])||"number"==typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]))}return t},t.replaceIds=function(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)},t.replaceStyleIds=function(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)},t.replaceIdOnNode=function(e,t){var r=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(e){r.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var r=this;e.type===Vm.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),gg=function(){function e(e){Ds(this,"shadowDoms",new WeakSet),Ds(this,"mutationCb"),Ds(this,"scrollCb"),Ds(this,"bypassOptions"),Ds(this,"mirror"),Ds(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var r=this;if(ia(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=og(Is({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push(ig(Is({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&r.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,r.mirror.getId(gm(e))),r.restoreHandlers.push(ug({mirror:r.mirror,stylesheetManager:r.bypassOptions.stylesheetManager},e))},0)}},t.observeAttachShadow=function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var r=this;this.restoreHandlers.push(Sm(e.prototype,"attachShadow",function(e){return function(n){var o=e.call(this,n),i=vm(this);return i&&$m(this)&&r.addShadowRoot(i,t),o}}))},t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yg="undefined"==typeof Uint8Array?[]:new Uint8Array(256),bg=0;bg<64;bg++)yg[vg.charCodeAt(bg)]=bg;var wg=new Map,xg=function(e,t,r){if(e&&(kg(e,t)||"object"===(void 0===e?"undefined":Ps(e)))){var n=function(e,t){var r=wg.get(e);return r||(r=new Map,wg.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),o=n.indexOf(e);return-1===o&&(o=n.length,n.push(e)),o}};function _g(e,t,r){return Es(e,Array)?e.map(function(e){return _g(e,t,r)}):null===e?e:Es(e,Float32Array)||Es(e,Float64Array)||Es(e,Int32Array)||Es(e,Uint32Array)||Es(e,Uint8Array)||Es(e,Uint16Array)||Es(e,Int16Array)||Es(e,Int8Array)||Es(e,Uint8ClampedArray)?{rr_type:e.constructor.name,args:[Object.values(e)]}:Es(e,ArrayBuffer)?{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,o="";for(t=0;t<n;t+=3)o+=vg[r[t]>>2],o+=vg[(3&r[t])<<4|r[t+1]>>4],o+=vg[(15&r[t+1])<<2|r[t+2]>>6],o+=vg[63&r[t+2]];return n%3==2?o=o.substring(0,o.length-1)+"=":n%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(e)}:Es(e,DataView)?{rr_type:e.constructor.name,args:[_g(e.buffer,t,r),e.byteOffset,e.byteLength]}:Es(e,HTMLImageElement)?{rr_type:e.constructor.name,src:e.src}:Es(e,HTMLCanvasElement)?{rr_type:"HTMLImageElement",src:e.toDataURL()}:Es(e,ImageData)?{rr_type:e.constructor.name,args:[_g(e.data,t,r),e.width,e.height]}:kg(e,t)||"object"===(void 0===e?"undefined":Ps(e))?{rr_type:e.constructor.name,index:xg(e,t,r)}:e}var Sg=function(e,t,r){return e.map(function(e){return _g(e,t,r)})},kg=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"==typeof t[e]});return Boolean(r.find(function(r){return Es(e,t[r])}))};function Cg(e,t,r,n){var o=[];try{var i=Sm(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];if(!Rm(this,t,r,!0)){var l=function(e){return"experimental-webgl"===e?"webgl":e}(o);if("__context"in this||(this.__context=l),n&&["webgl","webgl2"].includes(l))if(s[0]&&"object"===Ps(s[0])){var c=s[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([o],s))}});o.push(i)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach(function(e){return e()})}}function Ag(e,t,r,n,o,i){for(var s,a=function(){var a=s.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))return"continue";try{if("function"!=typeof e[a])return"continue";var c=Sm(e,a,function(e){return function(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];var u=e.apply(this,l);if(xg(u,i,this),"tagName"in this.canvas&&!Rm(this.canvas,n,o,!0)){var p=Sg(l,i,this),d={type:t,property:a,args:p};r(this.canvas,d)}return u}});l.push(c)}catch(n){var u=_m(e,a,{set:function(e){r(this.canvas,{type:t,property:a,args:[e],setter:!0})}});l.push(u)}},l=[],c=Ns(Object.getOwnPropertyNames(e));!(s=c()).done;)a();return l}var Ig,Mg="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Rg="undefined"!=typeof window&&window.Blob&&new Blob([(Ig=Mg,Uint8Array.from(atob(Ig),function(e){return e.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function Eg(e){var t;try{if(!(t=Rg&&(window.URL||window.webkitURL).createObjectURL(Rg)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),r}catch(t){return new Worker("data:text/javascript;base64,"+Mg,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var Og,Tg,Pg,Lg=function(){function e(e){var t=this;Ds(this,"pendingCanvasMutations",new Map),Ds(this,"rafStamps",{latestId:0,invokeId:null}),Ds(this,"mirror"),Ds(this,"mutationCb"),Ds(this,"resetObservers"),Ds(this,"frozen",!1),Ds(this,"locked",!1),Ds(this,"processMutation",function(e,r){!(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId)&&t.rafStamps.invokeId||(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(r)});var r=e.sampling,n=void 0===r?"all":r,o=e.win,i=e.blockClass,s=e.blockSelector,a=e.recordCanvas,l=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,a&&"all"===n&&this.initCanvasMutationObserver(o,i,s),a&&"number"==typeof n&&this.initCanvasFPSObserver(n,o,i,s,{dataURLOptions:l})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,r,n,o){var i=this,s=Cg(t,r,n,!0),a=new Map,l=new Eg;l.onmessage=function(e){var t=e.data.id;if(a.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,o=r.type,s=r.width,l=r.height;i.mutationCb({id:t,type:Um["2D"],commands:[{property:"clearRect",args:[0,0,s,l]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:o}]},0,0]}]})}};var c,u=1e3/e,p=0,d=function(e){if(p&&e-p<u)c=requestAnimationFrame(d);else{p=e;var s,f=i;(s=[],t.document.querySelectorAll("canvas").forEach(function(e){Rm(e,r,n,!0)||s.push(e)}),s).forEach(ks(function(e){var t,r,n,i;return js(this,function(s){switch(s.label){case 0:return r=f.mirror.getId(e),a.get(r)||0===e.width||0===e.height?[2]:(a.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(n=e.getContext(e.__context),!1===(null==(t=null==n?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return i=s.sent(),l.postMessage({id:r,bitmap:i,width:e.width,height:e.height,dataURLOptions:o.dataURLOptions},[i]),[2]}})})),c=requestAnimationFrame(d)}};c=requestAnimationFrame(d),this.resetObservers=function(){s(),cancelAnimationFrame(c)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=Cg(e,t,r,!1),o=function(e,t,r,n){for(var o,i=function(){var i=o.value;try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])return"continue";var a=Sm(t.CanvasRenderingContext2D.prototype,i,function(o){return function(){for(var s=this,a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return Rm(this.canvas,r,n,!0)||setTimeout(function(){var r=Sg(l,t,s);e(s.canvas,{type:Um["2D"],property:i,args:r})},0),o.apply(this,l)}});s.push(a)}catch(r){var l=_m(t.CanvasRenderingContext2D.prototype,i,{set:function(t){e(this.canvas,{type:Um["2D"],property:i,args:[t],setter:!0})}});s.push(l)}},s=[],a=Ns(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(o=a()).done;)i();return function(){s.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r),i=function(e,t,r,n){var o,i,s=[];return(o=s).push.apply(o,[].concat(Ag(t.WebGLRenderingContext.prototype,Um.WebGL,e,r,n,t))),void 0!==t.WebGL2RenderingContext&&(i=s).push.apply(i,[].concat(Ag(t.WebGL2RenderingContext.prototype,Um.WebGL2,e,r,n,t))),function(){s.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r);this.resetObservers=function(){n(),o(),i()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map(function(e){return e.type,Os(e,["type"])}),o=r[0].type;this.mutationCb({id:t,type:o,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),Fg=function(){function e(e){Ds(this,"trackedLinkElements",new WeakSet),Ds(this,"mutationCb"),Ds(this,"adoptedStyleSheetCb"),Ds(this,"styleMirror",new Nm),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){var r,n=function(){var e=o.value,t=void 0;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),s.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,r){return{rule:aa(t,e.href),index:r}})})),i.styleIds.push(t)};if(0!==e.length){for(var o,i={id:t,styleIds:[]},s=[],a=Ns(e);!(o=a()).done;)r=this,n();s.length>0&&(i.styles=s),this.adoptedStyleSheetCb(i)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.trackStylesheetInLinkElement=function(e){},e}(),Ng=function(){function e(){Ds(this,"nodeMap",new WeakMap),Ds(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some(function(e){return e!==t})},t.add=function(e,t){var r=this;this.active||(this.active=!0,requestAnimationFrame(function(){r.nodeMap=new WeakMap,r.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}(),jg=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var $g=document.createElement("iframe");document.body.appendChild($g),Array.from=(null==(zs=$g.contentWindow)?void 0:zs.Array.from)||Array.from,document.body.removeChild($g)}}catch(e){console.debug("Unable to override Array.from",e)}var zg,Bg,Dg=new la;function Wg(e){void 0===e&&(e={});var t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,o=e.blockClass,i=void 0===o?"rr-block":o,s=e.blockSelector,a=void 0===s?null:s,l=e.ignoreClass,c=void 0===l?"rr-ignore":l,u=e.ignoreSelector,p=void 0===u?null:u,d=e.maskTextClass,f=void 0===d?"rr-mask":d,h=e.maskTextSelector,m=void 0===h?null:h,g=e.inlineStylesheet,v=void 0===g||g,y=e.maskAllInputs,b=e.maskInputOptions,w=e.slimDOMOptions,x=e.maskInputFn,_=e.maskTextFn,S=e.hooks,k=e.packFn,C=e.sampling,A=void 0===C?{}:C,I=e.dataURLOptions,M=void 0===I?{}:I,R=e.mousemoveWait,E=e.recordDOM,O=void 0===E||E,T=e.recordCanvas,P=void 0!==T&&T,L=e.recordCrossOriginIframes,F=void 0!==L&&L,N=e.recordAfter,j=void 0===N?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":N,$=e.userTriggeredOnInput,z=void 0!==$&&$,B=e.collectFonts,D=void 0!==B&&B,W=e.inlineImages,U=void 0!==W&&W,q=e.plugins,V=e.keepIframeSrcFn,H=void 0===V?function(){return!1}:V,G=e.ignoreCSSAttributes,K=void 0===G?new Set([]):G,X=e.errorHandler;Gm=X;var Y=!F||window.parent===window,Z=!1;if(!Y)try{window.parent.document&&(Z=!1)}catch(e){Z=!0}if(Y&&!t)throw new Error("emit function is required");if(!Y&&!Z)return function(){};void 0!==R&&void 0===A.mousemove&&(A.mousemove=R),Dg.reset();var J,Q=!0===y?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==b?b:{password:!0},ee=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w,headTitleMutations:"all"===w}:w||{};!function(e){void 0===e&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var te=0,re=function(e){for(var t,r=Ns(q||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return k&&!Z&&(e=k(e)),e};Og=function(e,o){var i,s=e;if(s.timestamp=km(),!(null==(i=rg[0])?void 0:i.isFrozen())||s.type===zm.FullSnapshot||s.type===zm.IncrementalSnapshot&&s.data.source===Bm.Mutation||rg.forEach(function(e){return e.unfreeze()}),Y)null==t||t(re(s),o);else if(Z){var a={type:"rrweb",event:re(s),origin:window.location.origin,isCheckout:o};window.parent.postMessage(a,"*")}if(s.type===zm.FullSnapshot)J=s,te=0;else if(s.type===zm.IncrementalSnapshot){if(s.data.source===Bm.Mutation&&s.data.isAttachIframe)return;te++;var l=n&&te>=n,c=r&&s.timestamp-J.timestamp>r;(l||c)&&Tg(!0)}};for(var ne,oe=function(e){Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.Mutation},e)})},ie=function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.Scroll},e)})},se=function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.CanvasMutation},e)})},ae=new Fg({mutationCb:oe,adoptedStyleSheetCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.AdoptedStyleSheet},e)})}}),le=new mg({mirror:Dg,mutationCb:oe,stylesheetManager:ae,recordCrossOriginIframes:F,wrappedEmit:Og}),ce=Ns(q||[]);!(ne=ce()).done;){var ue=ne.value;ue.getMirror&&ue.getMirror({nodeMirror:Dg,crossOriginIframeMirror:le.crossOriginIframeMirror,crossOriginIframeStyleMirror:le.crossOriginIframeStyleMirror})}var pe=new Ng;Pg=new Lg({recordCanvas:P,mutationCb:se,win:window,blockClass:i,blockSelector:a,mirror:Dg,sampling:A.canvas,dataURLOptions:M});var de=new gg({mutationCb:oe,scrollCb:ie,bypassOptions:{blockClass:i,blockSelector:a,maskTextClass:f,maskTextSelector:m,inlineStylesheet:v,maskInputOptions:Q,dataURLOptions:M,maskTextFn:_,maskInputFn:x,recordCanvas:P,inlineImages:U,sampling:A,slimDOMOptions:ee,iframeManager:le,stylesheetManager:ae,canvasManager:Pg,keepIframeSrcFn:H,processedNodeManager:pe},mirror:Dg});Tg=function(e){if(void 0===e&&(e=!1),O){Og({type:zm.Meta,data:{href:window.location.href,width:Im(),height:Am()}},e),ae.reset(),de.init(),rg.forEach(function(e){return e.lock()});var t=function(e,t){var r=t||{},n=r.mirror,o=void 0===n?new la:n,i=r.blockClass,s=r.blockSelector,a=r.maskTextClass,l=r.maskTextSelector,c=r.inlineStylesheet,u=r.inlineImages,p=r.recordCanvas,d=r.maskAllInputs,f=void 0!==d&&d,h=r.slimDOM,m=void 0!==h&&h,g=r.keepIframeSrcFn;return Na(e,{doc:e,mirror:o,blockClass:void 0===i?"rr-block":i,blockSelector:void 0===s?null:s,maskTextClass:void 0===a?"rr-mask":a,maskTextSelector:void 0===l?null:l,skipChild:!1,inlineStylesheet:void 0===c||c,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===f?{password:!0}:f,maskTextFn:r.maskTextFn,maskInputFn:r.maskInputFn,slimDOMOptions:!0===m||"all"===m?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===m,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===m?{}:m,dataURLOptions:r.dataURLOptions,inlineImages:void 0!==u&&u,recordCanvas:void 0!==p&&p,preserveWhiteSpace:r.preserveWhiteSpace,onSerialize:r.onSerialize,onIframeLoad:r.onIframeLoad,iframeLoadTimeout:r.iframeLoadTimeout,onStylesheetLoad:r.onStylesheetLoad,stylesheetLoadTimeout:r.stylesheetLoadTimeout,keepIframeSrcFn:void 0===g?function(){return!1}:g,newlyAddedElement:!1})}(document,{mirror:Dg,blockClass:i,blockSelector:a,maskTextClass:f,maskTextSelector:m,inlineStylesheet:v,maskAllInputs:Q,maskTextFn:_,maskInputFn:x,slimDOM:ee,dataURLOptions:M,recordCanvas:P,inlineImages:U,onSerialize:function(e){Pm(e,Dg)&&le.addIframe(e),Lm(e,Dg)&&ae.trackLinkElement(e),Fm(e)&&de.addShadowRoot(vm(e),document)},onIframeLoad:function(e,t){le.attachIframe(e,t),de.observeAttachShadow(e)},onStylesheetLoad:function(e,t){ae.attachLinkElement(e,t)},keepIframeSrcFn:H});if(!t)return console.warn("Failed to snapshot the document");Og({type:zm.FullSnapshot,data:{node:t,initialOffset:Cm(window)}},e),rg.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ae.adoptStyleSheets(document.adoptedStyleSheets,Dg.getId(document))}};try{var fe=[],he=function(e){var t;return tg(pg)({mutationCb:oe,mousemoveCb:function(e,t){return Og({type:zm.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.MouseInteraction},e)})},scrollCb:ie,viewportResizeCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.ViewportResize},e)})},inputCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.Input},e)})},mediaInteractionCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.MediaInteraction},e)})},styleSheetRuleCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.StyleSheetRule},e)})},styleDeclarationCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.StyleDeclaration},e)})},canvasMutationCb:se,fontCb:function(e){return Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.Font},e)})},selectionCb:function(e){Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.Selection},e)})},customElementCb:function(e){Og({type:zm.IncrementalSnapshot,data:Is({source:Bm.CustomElement},e)})},blockClass:i,ignoreClass:c,ignoreSelector:p,maskTextClass:f,maskTextSelector:m,maskInputOptions:Q,inlineStylesheet:v,sampling:A,recordDOM:O,recordCanvas:P,inlineImages:U,userTriggeredOnInput:z,collectFonts:D,doc:e,maskInputFn:x,maskTextFn:_,keepIframeSrcFn:H,blockSelector:a,slimDOMOptions:ee,dataURLOptions:M,mirror:Dg,iframeManager:le,stylesheetManager:ae,shadowDomManager:de,processedNodeManager:pe,canvasManager:Pg,ignoreCSSAttributes:K,plugins:(null==(t=null==q?void 0:q.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return Og({type:zm.Plugin,data:{plugin:e.name,payload:t}})}}}))||[]},S)};le.addLoadListener(function(e){try{fe.push(he(e.contentDocument))}catch(e){console.warn(e)}});var me=function(){Tg(),fe.push(he(document)),jg=!0};return"interactive"===document.readyState||"complete"===document.readyState?me():(fe.push(ym("DOMContentLoaded",function(){Og({type:zm.DomContentLoaded,data:{}}),"DOMContentLoaded"===j&&me()})),fe.push(ym("load",function(){Og({type:zm.Load,data:{}}),"load"===j&&me()},window))),function(){fe.forEach(function(e){return e()}),pe.destroy(),jg=!1,Gm=void 0}}catch(e){console.warn(e)}}Wg.addCustomEvent=function(e,t){if(!jg)throw new Error("please add custom event after start recording");Og({type:zm.Custom,data:{tag:e,payload:t}})},Wg.freezePage=function(){rg.forEach(function(e){return e.freeze()})},Wg.takeFullSnapshot=function(e){if(!jg)throw new Error("please take full snapshot after start recording");Tg(e)},Wg.mirror=Dg,(Bg=zg||(zg={}))[Bg.NotStarted=0]="NotStarted",Bg[Bg.Running=1]="Running",Bg[Bg.Stopped=2]="Stopped",Wg.addCustomEvent,Wg.freezePage,Wg.takeFullSnapshot;var Ug,qg,Vg,Hg=ws.setImmediate,Gg=Object.prototype.toString,Kg=void 0!==Hg?function(e){return Hg(e)}:setTimeout;try{Object.defineProperty({},"x",{}),Ug=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){Ug=function(e,t,r){return e[t]=r,e}}function Xg(e,t){Vg.add(e,t),qg||(qg=Kg(Vg.drain))}function Yg(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"==typeof t&&t}function Zg(){for(var e=0;e<this.chain.length;e++)Jg(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function Jg(e,t,r){var n,o;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(o=Yg(n))?o.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function Qg(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=Yg(e))?Xg(function(){var n=new rv(r);try{t.call(e,function(){Qg.apply(n,arguments)},function(){ev.apply(n,arguments)})}catch(e){ev.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&Xg(Zg,r))}catch(e){ev.call(new rv(r),e)}}}function ev(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Xg(Zg,t))}function tv(e,t,r,n){for(var o=0;o<t.length;o++)(function(o){e.resolve(t[o]).then(function(e){r(o,e)},n)})(o)}function rv(e){this.def=e,this.triggered=!1}function nv(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function ov(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new nv(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&Xg(Zg,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){Qg.call(t,e)},function(e){ev.call(t,e)})}catch(e){ev.call(t,e)}}Vg=function(){var e,t,r;function n(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(o,i){r=new n(o,i),t?t.next=r:e=r,t=r,r=void 0},drain:function(){var r=e;for(e=t=qg=void 0;r;)r.fn.call(r.self),r=r.next}}}();var iv,sv=Ug({},"constructor",ov,!1);ov.prototype=sv,Ug(sv,"__NPO__",0,!1),Ug(ov,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)})}),Ug(ov,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),Ug(ov,"all",function(e){var t=this;return"[object Array]"!==Gg.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var o=e.length,i=Array(o),s=0;tv(t,e,function(e,t){i[e]=t,++s===o&&r(i)},n)})}),Ug(ov,"race",function(e){var t=this;return"[object Array]"!==Gg.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");tv(t,e,function(e,t){r(t)},n)})}),iv="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:ov;var av={DEBUG:!1,LIB_VERSION:"2.67.0"},lv=864e5,cv=Array.prototype,uv=Function.prototype,pv=Object.prototype,dv=cv.slice,fv=pv.toString,hv=pv.hasOwnProperty,mv=ws.console,gv=ws.navigator,vv=ws.document,yv=ws.opera,bv=ws.screen,wv=gv.userAgent,xv=uv.bind,_v=cv.forEach,Sv=cv.indexOf,kv=cv.map,Cv=Array.isArray,Av={},Iv={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Mv={log:function(){if(av.DEBUG&&!Iv.isUndefined(mv)&&mv)try{mv.log.apply(mv,arguments)}catch(e){Iv.each(arguments,function(e){mv.log(e)})}},warn:function(){if(av.DEBUG&&!Iv.isUndefined(mv)&&mv){var e=["Mixpanel warning:"].concat(Iv.toArray(arguments));try{mv.warn.apply(mv,e)}catch(t){Iv.each(e,function(e){mv.warn(e)})}}},error:function(){if(av.DEBUG&&!Iv.isUndefined(mv)&&mv){var e=["Mixpanel error:"].concat(Iv.toArray(arguments));try{mv.error.apply(mv,e)}catch(t){Iv.each(e,function(e){mv.error(e)})}}},critical:function(){if(!Iv.isUndefined(mv)&&mv){var e=["Mixpanel error:"].concat(Iv.toArray(arguments));try{mv.error.apply(mv,e)}catch(t){Iv.each(e,function(e){mv.error(e)})}}}},Rv=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Mv,arguments)}},Ev=function(e){return{log:Rv(Mv.log,e),error:Rv(Mv.error,e),critical:Rv(Mv.critical,e)}},Ov=function(e){return function(){try{return e.apply(this,arguments)}catch(e){Mv.critical("Implementation error. Please turn on debug and contact support@mixpanel.com."),av.DEBUG&&Mv.critical(e)}}},Tv=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=Ov(t[r]))};Iv.bind=function(e,t){var r,n;if(xv&&e.bind===xv)return xv.apply(e,dv.call(arguments,1));if(!Iv.isFunction(e))throw new TypeError;return r=dv.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(dv.call(arguments)));var o={};o.prototype=e.prototype;var i=new o;o.prototype=null;var s=e.apply(i,r.concat(dv.call(arguments)));return Object(s)===s?s:i},n},Iv.each=function(e,t,r){if(null!=e)if(_v&&e.forEach===_v)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,o=e.length;n<o;n++)if(n in e&&t.call(r,e[n],n,e)===Av)return}else for(var i in e)if(hv.call(e,i)&&t.call(r,e[i],i,e)===Av)return},Iv.extend=function(e){return Iv.each(dv.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},Iv.isArray=Cv||function(e){return"[object Array]"===fv.call(e)},Iv.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(e){return!1}},Iv.isArguments=function(e){return!(!e||!hv.call(e,"callee"))},Iv.toArray=function(e){return e?e.toArray?e.toArray():Iv.isArray(e)||Iv.isArguments(e)?dv.call(e):Iv.values(e):[]},Iv.map=function(e,t,r){if(kv&&e.map===kv)return e.map(t,r);var n=[];return Iv.each(e,function(e){n.push(t.call(r,e))}),n},Iv.keys=function(e){var t=[];return null===e||Iv.each(e,function(e,r){t[t.length]=r}),t},Iv.values=function(e){var t=[];return null===e||Iv.each(e,function(e){t[t.length]=e}),t},Iv.include=function(e,t){var r=!1;return null===e?r:Sv&&e.indexOf===Sv?-1!=e.indexOf(t):(Iv.each(e,function(e){if(r||(r=e===t))return Av}),r)},Iv.includes=function(e,t){return-1!==e.indexOf(t)},Iv.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},Iv.isObject=function(e){return e===Object(e)&&!Iv.isArray(e)},Iv.isEmptyObject=function(e){if(Iv.isObject(e)){for(var t in e)if(hv.call(e,t))return!1;return!0}return!1},Iv.isUndefined=function(e){return void 0===e},Iv.isString=function(e){return"[object String]"==fv.call(e)},Iv.isDate=function(e){return"[object Date]"==fv.call(e)},Iv.isNumber=function(e){return"[object Number]"==fv.call(e)},Iv.isElement=function(e){return!(!e||1!==e.nodeType)},Iv.encodeDates=function(e){return Iv.each(e,function(t,r){Iv.isDate(t)?e[r]=Iv.formatDate(t):Iv.isObject(t)&&(e[r]=Iv.encodeDates(t))}),e},Iv.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Iv.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},Iv.strip_empty_properties=function(e){var t={};return Iv.each(e,function(e,r){Iv.isString(e)&&e.length>0&&(t[r]=e)}),t},Iv.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):Iv.isArray(e)?(r=[],Iv.each(e,function(e){r.push(Iv.truncate(e,t))})):Iv.isObject(e)?(r={},Iv.each(e,function(e,n){r[n]=Iv.truncate(e,t)})):r=e,r},Iv.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},r=function(e,n){var o="",i=0,s="",a="",l=0,c=o,u=[],p=n[e];switch(p&&"object"==typeof p&&"function"==typeof p.toJSON&&(p=p.toJSON(e)),typeof p){case"string":return t(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(o+="    ",u=[],"[object Array]"===fv.apply(p)){for(l=p.length,i=0;i<l;i+=1)u[i]=r(i,p)||"null";return a=0===u.length?"[]":o?"[\n"+o+u.join(",\n"+o)+"\n"+c+"]":"["+u.join(",")+"]",o=c,a}for(s in p)hv.call(p,s)&&(a=r(s,p))&&u.push(t(s)+(o?": ":":")+a);return a=0===u.length?"{}":o?"{"+u.join(",")+c+"}":"{"+u.join(",")+"}",o=c,a}};return r("",{"":e})},Iv.JSONDecode=function(){var e,t,r,n,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},i=function(t){var n=new SyntaxError(t);throw n.at=e,n.text=r,n},s=function(n){return n&&n!==t&&i("Expected '"+n+"' instead of '"+t+"'"),t=r.charAt(e),e+=1,t},a=function(){var e,r="";for("-"===t&&(r="-",s("-"));t>="0"&&t<="9";)r+=t,s();if("."===t)for(r+=".";s()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,s(),"-"!==t&&"+"!==t||(r+=t,s());t>="0"&&t<="9";)r+=t,s();if(e=+r,isFinite(e))return e;i("Bad number")},l=function(){var e,r,n,a="";if('"'===t)for(;s();){if('"'===t)return s(),a;if("\\"===t)if(s(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(s(),16),isFinite(e));r+=1)n=16*n+e;a+=String.fromCharCode(n)}else{if("string"!=typeof o[t])break;a+=o[t]}else a+=t}i("Bad string")},c=function(){for(;t&&t<=" ";)s()};return n=function(){switch(c(),t){case"{":return function(){var e,r={};if("{"===t){if(s("{"),c(),"}"===t)return s("}"),r;for(;t;){if(e=l(),c(),s(":"),Object.hasOwnProperty.call(r,e)&&i('Duplicate key "'+e+'"'),r[e]=n(),c(),"}"===t)return s("}"),r;s(","),c()}}i("Bad object")}();case"[":return function(){var e=[];if("["===t){if(s("["),c(),"]"===t)return s("]"),e;for(;t;){if(e.push(n()),c(),"]"===t)return s("]"),e;s(","),c()}}i("Bad array")}();case'"':return l();case"-":return a();default:return t>="0"&&t<="9"?a():function(){switch(t){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}i('Unexpected "'+t+'"')}()}},function(o){var s;return r=o,e=0,t=" ",s=n(),c(),t&&i("Syntax error"),s}}(),Iv.base64Encode=function(e){var t,r,n,o,i,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,l=0,c="",u=[];if(!e)return e;e=Iv.utf8Encode(e);do{t=(i=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,r=i>>12&63,n=i>>6&63,o=63&i,u[l++]=s.charAt(t)+s.charAt(r)+s.charAt(n)+s.charAt(o)}while(a<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},Iv.utf8Encode=function(e){var t,r,n,o,i="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,o=0;o<n;o++){var s=e.charCodeAt(o),a=null;s<128?r++:a=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),null!==a&&(r>t&&(i+=e.substring(t,r)),i+=a,t=r=o+1)}return r>t&&(i+=e.substring(t,e.length)),i},Iv.UUID=function(){try{return ws.crypto.randomUUID()}catch(r){for(var e=new Array(36),t=0;t<36;t++)e[t]=Math.floor(16*Math.random());return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",Iv.map(e,function(e){return e.toString(16)}).join("")}};var Pv=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];Iv.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<Pv.length;t++)if(-1!==e.indexOf(Pv[t]))return!0;return!1},Iv.HTTPBuildQuery=function(e,t){var r,n,o=[];return Iv.isUndefined(t)&&(t="&"),Iv.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),o[o.length]=n+"="+r}),o.join(t)},Iv.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===r||r&&"string"!=typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(e){Mv.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},Iv.cookie={get:function(e){for(var t=e+"=",r=vv.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}return null},parse:function(e){var t;try{t=Iv.JSONDecode(Iv.cookie.get(e))||{}}catch(e){}return t},set_seconds:function(e,t,r,n,o,i,s){var a="",l="",c="";if(s)a="; domain="+s;else if(n){var u=Vv(vv.location.hostname);a=u?"; domain=."+u:""}if(r){var p=new Date;p.setTime(p.getTime()+1e3*r),l="; expires="+p.toGMTString()}i&&(o=!0,c="; SameSite=None"),o&&(c+="; secure"),vv.cookie=e+"="+encodeURIComponent(t)+l+"; path=/"+a+c},set:function(e,t,r,n,o,i,s){var a="",l="",c="";if(s)a="; domain="+s;else if(n){var u=Vv(vv.location.hostname);a=u?"; domain=."+u:""}if(r){var p=new Date;p.setTime(p.getTime()+24*r*60*60*1e3),l="; expires="+p.toGMTString()}i&&(o=!0,c="; SameSite=None"),o&&(c+="; secure");var d=e+"="+encodeURIComponent(t)+l+"; path=/"+a+c;return vv.cookie=d,d},remove:function(e,t,r){Iv.cookie.set(e,"",-1,t,!1,!1,r)}};var Lv=function(e){var t=!0;try{var r="__mplss_"+Wv(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},Fv=null,Nv=function(e,t){return null===Fv||t?Fv=Lv(e||ws.localStorage):Fv},jv=null;function $v(e,t,r){var n=function(e){Mv.error(t+" error: "+e)};return{is_supported:function(n){var o=r(e,n);return o||Mv.error(t+" unsupported"),o},error:n,get:function(t){try{return e.getItem(t)}catch(e){n(e)}return null},parse:function(t){try{return Iv.JSONDecode(e.getItem(t))||{}}catch(e){}return null},set:function(t,r){try{e.setItem(t,r)}catch(e){n(e)}},remove:function(t){try{e.removeItem(t)}catch(e){n(e)}}}}Iv.localStorage=$v(ws.localStorage,"localStorage",Nv),Iv.sessionStorage=$v(ws.sessionStorage,"sessionStorage",function(e,t){return null===jv||t?jv=Lv(e||ws.sessionStorage):jv}),Iv.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,r,n,o,i){if(t)if(t.addEventListener&&!o)t.addEventListener(r,n,!!i);else{var s="on"+r,a=t[s];t[s]=function(t,r,n){return function(o){if(o=o||e(ws.event)){var i,s,a=!0;return Iv.isFunction(n)&&(i=n(o)),s=r.call(t,o),!1!==i&&!1!==s||(a=!1),a}}}(t,n,a)}else Mv.error("No valid element provided to register_event")}}();var zv=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');Iv.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(e,r){var n=" "+r+" ";return(" "+e.className+" ").replace(t," ").indexOf(n)>=0}function n(t){if(!vv.getElementsByTagName)return[];var n,o,i,s,a,l,c,u,p,d,f=t.split(" "),h=[vv];for(l=0;l<f.length;l++)if((n=f[l].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){i=(o=n.split("#"))[0];var m=o[1],g=vv.getElementById(m);if(!g||i&&g.nodeName.toLowerCase()!=i)return[];h=[g]}else if(n.indexOf(".")>-1){i=(o=n.split("."))[0];var v=o[1];for(i||(i="*"),s=[],a=0,c=0;c<h.length;c++)for(p="*"==i?e(h[c]):h[c].getElementsByTagName(i),u=0;u<p.length;u++)s[a++]=p[u];for(h=[],d=0,c=0;c<s.length;c++)s[c].className&&Iv.isString(s[c].className)&&r(s[c],v)&&(h[d++]=s[c])}else{var y=n.match(zv);if(y){i=y[1];var b,w=y[2],x=y[3],_=y[4];for(i||(i="*"),s=[],a=0,c=0;c<h.length;c++)for(p="*"==i?e(h[c]):h[c].getElementsByTagName(i),u=0;u<p.length;u++)s[a++]=p[u];switch(h=[],d=0,x){case"=":b=function(e){return e.getAttribute(w)==_};break;case"~":b=function(e){return e.getAttribute(w).match(new RegExp("\\b"+_+"\\b"))};break;case"|":b=function(e){return e.getAttribute(w).match(new RegExp("^"+_+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(w).indexOf(_)};break;case"$":b=function(e){return e.getAttribute(w).lastIndexOf(_)==e.getAttribute(w).length-_.length};break;case"*":b=function(e){return e.getAttribute(w).indexOf(_)>-1};break;default:b=function(e){return e.getAttribute(w)}}for(h=[],d=0,c=0;c<s.length;c++)b(s[c])&&(h[d++]=s[c])}else{for(i=n,s=[],a=0,c=0;c<h.length;c++)for(p=h[c].getElementsByTagName(i),u=0;u<p.length;u++)s[a++]=p[u];h=s}}return h}return function(e){return Iv.isElement(e)?[e]:Iv.isObject(e)&&!Iv.isUndefined(e.length)?e:n.call(this,e)}}();var Bv=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],Dv=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];Iv.info={campaignParams:function(e){var t="",r={};return Iv.each(Bv,function(n){(t=Iv.getQueryParam(vv.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return Iv.each(Dv,function(r){(e=Iv.getQueryParam(vv.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return Iv.extend(Iv.info.campaignParams(),Iv.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=Iv.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var o=Iv.getQueryParam(e,r);o.length&&(n.mp_keyword=o)}return n},browser:function(e,t,r){return t=t||"",r||Iv.includes(e," OPR/")?Iv.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":Iv.includes(e,"IEMobile")||Iv.includes(e,"WPDesktop")?"Internet Explorer Mobile":Iv.includes(e,"SamsungBrowser/")?"Samsung Internet":Iv.includes(e,"Edge")||Iv.includes(e,"Edg/")?"Microsoft Edge":Iv.includes(e,"FBIOS")?"Facebook Mobile":Iv.includes(e,"Whale/")?"Whale Browser":Iv.includes(e,"Chrome")?"Chrome":Iv.includes(e,"CriOS")?"Chrome iOS":Iv.includes(e,"UCWEB")||Iv.includes(e,"UCBrowser")?"UC Browser":Iv.includes(e,"FxiOS")?"Firefox iOS":Iv.includes(t,"Apple")?Iv.includes(e,"Mobile")?"Mobile Safari":"Safari":Iv.includes(e,"Android")?"Android Mobile":Iv.includes(e,"Konqueror")?"Konqueror":Iv.includes(e,"Firefox")?"Firefox":Iv.includes(e,"MSIE")||Iv.includes(e,"Trident/")?"Internet Explorer":Iv.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[Iv.info.browser(e,t,r)];if(void 0===n)return null;var o=e.match(n);return o?parseFloat(o[o.length-2]):null},os:function(){var e=wv;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return ws.location.href},properties:function(e){return"object"!=typeof e&&(e={}),Iv.extend(Iv.strip_empty_properties({$os:Iv.info.os(),$browser:Iv.info.browser(wv,gv.vendor,yv),$referrer:vv.referrer,$referring_domain:Iv.info.referringDomain(vv.referrer),$device:Iv.info.device(wv)}),{$current_url:Iv.info.currentUrl(),$browser_version:Iv.info.browserVersion(wv,gv.vendor,yv),$screen_height:bv.height,$screen_width:bv.width,mp_lib:"web",$lib_version:av.LIB_VERSION,$insert_id:Wv(),time:Iv.timestamp()/1e3},Iv.strip_empty_properties(e))},people_properties:function(){return Iv.extend(Iv.strip_empty_properties({$os:Iv.info.os(),$browser:Iv.info.browser(wv,gv.vendor,yv)}),{$browser_version:Iv.info.browserVersion(wv,gv.vendor,yv)})},mpPageViewProperties:function(){return Iv.strip_empty_properties({current_page_title:vv.title,current_domain:ws.location.hostname,current_url_path:ws.location.pathname,current_url_protocol:ws.location.protocol,current_url_search:ws.location.search})}};var Wv=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},Uv=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,qv=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Vv=function(e){var t=qv,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=Uv);var o=e.match(t);return o?o[0]:""},Hv=function(){},Gv=null,Kv=null;"undefined"!=typeof JSON&&(Gv=JSON.stringify,Kv=JSON.parse),Gv=Gv||Iv.JSONEncode,Kv=Kv||Iv.JSONDecode,Iv.info=Iv.info,Iv.info.browser=Iv.info.browser,Iv.info.browserVersion=Iv.info.browserVersion,Iv.info.device=Iv.info.device,Iv.info.properties=Iv.info.properties,Iv.isBlockedUA=Iv.isBlockedUA,Iv.isEmptyObject=Iv.isEmptyObject,Iv.isObject=Iv.isObject,Iv.JSONDecode=Iv.JSONDecode,Iv.JSONEncode=Iv.JSONEncode,Iv.toArray=Iv.toArray,Iv.NPO=ov;var Xv="mixpanelRecordingEvents",Yv="mixpanelRecordingRegistry",Zv=[Xv,Yv],Jv=function(e){this.dbPromise=null,this.storeName=e};function Qv(e,t){uy(!0,e,t)}function ey(e,t){uy(!1,e,t)}function ty(e,t){return"1"===cy(e,t)}function ry(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||ws,r=t.navigator||{},n=!1;return Iv.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){Iv.includes([!0,1,"1","yes"],e)&&(n=!0)}),n}(t))return Mv.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r="0"===cy(e,t);return r&&Mv.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function ny(e){return py(e,function(e){return this.get_config(e)})}function oy(e){return py(e,function(e){return this._get_config(e)})}function iy(e){return py(e,function(e){return this._get_config(e)})}function sy(e,t){ay(t=t||{}).remove(ly(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function ay(e){return"localStorage"===(e=e||{}).persistenceType?Iv.localStorage:Iv.cookie}function ly(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function cy(e,t){return ay(t).get(ly(e,t))}function uy(e,t,r){Iv.isString(t)&&t.length?(ay(r=r||{}).set(ly(t,r),e?1:0,Iv.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})):Mv.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function py(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),o=t.call(this,"ignore_dnt"),i=t.call(this,"opt_out_tracking_persistence_type"),s=t.call(this,"opt_out_tracking_cookie_prefix"),a=t.call(this,"window");n&&(r=ry(n,{ignoreDnt:o,persistenceType:i,persistencePrefix:s,window:a}))}catch(e){Mv.error("Unexpected error when checking tracking opt-out status: "+e)}if(!r)return e.apply(this,arguments);var l=arguments[arguments.length-1];"function"==typeof l&&l(0)}}Jv.prototype._openDb=function(){return new iv(function(e,t){var r=ws.indexedDB.open("mixpanelBrowserDb",1);r.onerror=function(){t(r.error)},r.onsuccess=function(){e(r.result)},r.onupgradeneeded=function(e){var t=e.target.result;Zv.forEach(function(e){t.createObjectStore(e)})}})},Jv.prototype.init=function(){return ws.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof ws.IDBDatabase?iv.resolve():iv.reject(e)})):iv.reject("indexedDB is not supported in this browser")},Jv.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new iv(function(o,i){var s=n.transaction(r,e);s.oncomplete=function(){o(s)},s.onabort=s.onerror=function(){i(s.error)},t(s.objectStore(r))})};return this.dbPromise.then(n).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):iv.reject(e)}.bind(this))},Jv.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},Jv.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},Jv.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},Jv.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};var dy=Ev("lock"),fy=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||ws.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||iv};fy.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(Iv.bind(function(r,n){var o=t||(new Date).getTime()+"|"+Math.random(),i=(new Date).getTime(),s=this.storageKey,a=this.pollIntervalMS,l=this.timeoutMS,c=this.storage,u=s+":X",p=s+":Y",d=s+":Z",f=function(e){if((new Date).getTime()-i>l)return dy.error("Timeout waiting for mutex on "+s+"; clearing lock. ["+o+"]"),c.removeItem(d),c.removeItem(p),void g();setTimeout(function(){try{e()}catch(e){n(e)}},a*(Math.random()+.1))},h=function(e,t){e()?t():f(function(){h(e,t)})},m=function(){var e=c.getItem(p);return!(e&&e!==o||(c.setItem(p,o),c.getItem(p)!==o&&(Nv(c,!0)||n(new Error("localStorage support dropped while acquiring lock")),1)))},g=function(){c.setItem(u,o),h(m,function(){c.getItem(u)!==o?f(function(){c.getItem(p)===o?h(function(){return!c.getItem(d)},v):g()}):v()})},v=function(){c.setItem(d,"1");var t=function(){c.removeItem(d),c.getItem(p)===o&&c.removeItem(p),c.getItem(u)===o&&c.removeItem(u)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(!Nv(c,!0))throw new Error("localStorage support check failed");g()}catch(e){n(e)}},this))};var hy=function(e){this.storage=e||ws.localStorage};hy.prototype.init=function(){return iv.resolve()},hy.prototype.setItem=function(e,t){return new iv(Iv.bind(function(r,n){try{this.storage.setItem(e,Gv(t))}catch(e){n(e)}r()},this))},hy.prototype.getItem=function(e){return new iv(Iv.bind(function(t,r){var n;try{n=Kv(this.storage.getItem(e))}catch(e){r(e)}t(n)},this))},hy.prototype.removeItem=function(e){return new iv(Iv.bind(function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()},this))};var my=Ev("batch"),gy=function(e,t){var r,n,o,i;t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new hy,this.lock=new fy(e,{storage:t.sharedLockStorage||ws.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||Iv.bind(my.error,my),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=(r=Iv.bind(this._enqueuePersisted,this),n=t.enqueueThrottleMs,o=null,i=[],function(e){var t=this;return i.push(e),o||(o=new iv(function(e){setTimeout(function(){var n=r.apply(t,[i]);o=null,i=[],e(n)},n)})),o}):this.enqueuePersisted=Iv.bind(function(e){return this._enqueuePersisted([e])},this)};gy.prototype.ensureInit=function(){return this.initialized?iv.resolve():this.queueStorage.init().then(Iv.bind(function(){this.initialized=!0},this)).catch(Iv.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},gy.prototype.enqueue=function(e,t){var r={id:Wv(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),iv.resolve(!0))},gy.prototype._enqueuePersisted=function(e){var t=Iv.bind(function(){return this.ensureInit().then(Iv.bind(function(){return this.readFromStorage()},this)).then(Iv.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(Iv.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(Iv.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(Iv.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},gy.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(Iv.bind(function(){return this.readFromStorage()},this)).then(Iv.bind(function(r){if(r.length){var n={};Iv.each(t,function(e){n[e.id]=!0});for(var o=0;o<r.length;o++){var i=r[o];if((new Date).getTime()>i.flushAfter&&!n[i.id]&&(i.orphaned=!0,t.push(i),t.length>=e))break}}return t},this)):iv.resolve(t)};var vy=function(e,t){var r=[];return Iv.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};gy.prototype.removeItemsByID=function(e){var t={};if(Iv.each(e,function(e){t[e]=!0}),this.memQueue=vy(this.memQueue,t),this.usePersistence){var r=Iv.bind(function(){return this.ensureInit().then(Iv.bind(function(){return this.readFromStorage()},this)).then(Iv.bind(function(e){return e=vy(e,t),this.saveToStorage(e)},this)).then(Iv.bind(function(){return this.readFromStorage()},this)).then(Iv.bind(function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n.id&&t[n.id])throw new Error("Item not removed from storage")}return!0},this)).catch(Iv.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(Iv.bind(function(e){return this.reportError("Error acquiring storage lock",e),!Nv(this.lock.storage,!0)&&r().then(Iv.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(Iv.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))}return iv.resolve(!0)};var yy=function(e,t){var r=[];return Iv.each(e,function(e){var n=e.id;if(n in t){var o=t[n];null!==o&&(e.payload=o,r.push(e))}else r.push(e)}),r};gy.prototype.updatePayloads=function(e){return this.memQueue=yy(this.memQueue,e),this.usePersistence?this.lock.withLock(Iv.bind(function(){return this.ensureInit().then(Iv.bind(function(){return this.readFromStorage()},this)).then(Iv.bind(function(t){return t=yy(t,e),this.saveToStorage(t)},this)).catch(Iv.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(Iv.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):iv.resolve(!0)},gy.prototype.readFromStorage=function(){return this.ensureInit().then(Iv.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(Iv.bind(function(e){return e&&(Iv.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(Iv.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},gy.prototype.saveToStorage=function(e){return this.ensureInit().then(Iv.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(Iv.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},gy.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(Iv.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):iv.resolve()};var by=Ev("batch"),wy=function(e,t){this.errorReporter=t.errorReporter,this.queue=new gy(e,{errorReporter:Iv.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1,this._flushPromise=null};wy.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},wy.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},wy.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},wy.prototype.clear=function(){return this.queue.clear()},wy.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},wy.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},wy.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(Iv.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},wy.prototype.sendRequestPromise=function(e,t){return new iv(Iv.bind(function(r){this.sendRequest(e,t,r)},this))},wy.prototype.flush=function(e){if(this.requestInProgress)return by.log("Flush: Request already in progress"),iv.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=(new Date).getTime(),n=this.batchSize;return this.queue.fillBatch(n).then(Iv.bind(function(o){var i=o.length===n,s=[],a={};if(Iv.each(o,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=Iv.extend({},t.properties,{mp_sent_by_lib_version:av.LIB_VERSION}));var r=!0,n=e.id;n?(this.itemIdsSentSuccessfully[n]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[n]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&s.push(t)}a[e.id]=t},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),iv.resolve();var l=Iv.bind(function(){return this.queue.removeItemsByID(Iv.map(o,function(e){return e.id})).then(Iv.bind(function(e){return Iv.each(o,Iv.bind(function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})},this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!i?(this.resetFlush(),iv.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),iv.resolve())},this))},this),c=Iv.bind(function(i){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(a);if(Iv.isObject(i)&&"timeout"===i.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(Iv.isObject(i)&&(i.httpStatusCode>=500||429===i.httpStatusCode||i.httpStatusCode<=0&&(u=ws.navigator.onLine,!Iv.isUndefined(u)&&!u)||"timeout"===i.error)){var s=2*this.flushInterval;return i.retryAfter&&(s=1e3*parseInt(i.retryAfter,10)||s),s=Math.min(6e5,s),this.reportError("Error; retry in "+s+" ms"),this.scheduleFlush(s),iv.resolve()}if(Iv.isObject(i)&&413===i.httpStatusCode){if(o.length>1){var c=Math.max(1,Math.floor(n/2));return this.batchSize=Math.min(this.batchSize,c,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),iv.resolve()}return this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),l()}return l()}catch(e){this.reportError("Error handling API response",e),this.resetFlush()}var u},this),u={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(u.transport="sendBeacon"),by.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,u).then(c)},this)).catch(Iv.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},wy.prototype.reportError=function(e,t){if(by.error.apply(by.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){by.error(t)}};var xy=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},_y=Ev("recorder"),Sy=ws.CompressionStream,ky={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},Cy=new Set([Bm.MouseMove,Bm.MouseInteraction,Bm.Scroll,Bm.ViewportResize,Bm.Input,Bm.TouchMove,Bm.MediaInteraction,Bm.Drag,Bm.Selection]),Ay=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Hv,this._onMaxLengthReached=e.onMaxLengthReached||Hv,this._onBatchSent=e.onBatchSent||Hv,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=lv,this.recordMinMs=0;var t=Nv(e.sharedLockStorage,!0);this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Jv(Xv),this.batcher=new wy(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:ky,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};Ay.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property("$device_id");t&&(e.$device_id=t);var r=this._mixpanel.get_property("$user_id");return r&&(e.$user_id=r),e},Ay.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))},Ay.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},Ay.prototype.get_config=function(e){return this.getConfig(e)},Ay.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>lv&&(this.recordMaxMs=lv,_y.critical("record_max_ms cannot be greater than "+lv+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this.getConfig("record_min_ms"),this.recordMinMs>8e3&&(this.recordMinMs=8e3,_y.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=Iv.info.currentUrl(),this.replayStartUrl=Iv.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=(new Date).getTime()+e}.bind(this);t();var r=this.getConfig("record_block_selector");""!==r&&null!==r||(r=void 0);try{this._stopRecording=this._rrwebRecord({emit:function(e){this.idleExpires&&this.idleExpires<e.timestamp?this._onIdleTimeout():(function(e){return e.type===zm.IncrementalSnapshot&&Cy.has(e.data.source)}(e)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15}})}catch(e){this.reportError("Unexpected error when starting rrweb recording.",e)}if("function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var n=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),n)}else _y.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},Ay.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(e){this.reportError("Error with rrweb stopRecording",e)}this._stopRecording=null}var t;return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},Ay.prototype.isRrwebStopped=function(){return null===this._stopRecording},Ay.prototype.flushEventsWithOptOut=function(e,t,r){var n=function(e){0===e&&(this.stopRecording(),r({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,t,r,n)},Ay.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError("Error getting tab ID for serialization ",t),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},Ay.deserialize=function(e,t){return new Ay(Iv.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},Ay.prototype._sendRequest=function(e,t,r,n){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=Iv.info.currentUrl()),this._onBatchSent(),n({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}.bind(this),i=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");ws.fetch(i+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:r}).then(function(e){e.json().then(function(t){o(e,t)}).catch(function(e){n({error:e})})}).catch(function(e){n({error:e,httpStatusCode:0})})},Ay.prototype._flushEvents=ny(function(e,t,r){var n=e.length;if(n>0){for(var o=this.replayId,i=1/0,s=-1/0,a=!1,l=0;l<n;l++)i=Math.min(i,e[l].timestamp),s=Math.max(s,e[l].timestamp),e[l].type===zm.FullSnapshot&&(a=!0);if(0===this.seqNo){if(!a)return r({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=i}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=i);var c=s-this.replayStartTime,u={$current_url:this.batchStartUrl,$lib_version:av.LIB_VERSION,batch_start_time:i/1e3,mp_lib:"web",replay_id:o,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},p=JSON.stringify(e);if(Object.assign(u,this.getUserIdInfo()),Sy){var d=new Blob([p],{type:"application/json"}).stream().pipeThrough(new Sy("gzip"));new Response(d).blob().then(function(e){u.format="gzip",this._sendRequest(o,u,e,r)}.bind(this))}else u.format="body",this._sendRequest(o,u,p,r)}}),Ay.prototype.reportError=function(e,t){_y.error.apply(_y.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){_y.error(t)}};var Iy=function(e){this.idb=new Jv(Yv),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};Iy.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},Iy.prototype.setActiveRecording=function(e){var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),iv.resolve())},Iy.prototype.getActiveRecording=function(){return this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return xy(e)?null:e}.bind(this)).catch(this.handleError.bind(this))},Iy.prototype.clearActiveRecording=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},Iy.prototype.flushInactiveRecordings=function(){return this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter(function(e){return xy(e)}).map(function(e){return Ay.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(e.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return iv.all(t)}.bind(this)).catch(this.handleError.bind(this))};var My=Ev("recorder"),Ry=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||Wg,this.sharedLockStorage=r,this.recordingRegistry=new Iy({mixpanelInstance:this.mixpanelInstance,errorReporter:My.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};Ry.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){My.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){My.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),n=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),o={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:t,onMaxLengthReached:r,replayId:Iv.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=Ay.deserialize(e.activeSerializedRecording,o):this.activeRecording=new Ay(o),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}My.log("Recording already in progress, skipping startRecording.")},Ry.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},Ry.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},Ry.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return iv.resolve()},Ry.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),iv.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(My.log("No resumable recording found."),null)}.bind(this))},Ry.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},Ry.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(Ry.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),ws.__mp_recorder=Ry;var Ey="change",Oy="click",Ty="hashchange",Py="mp_locationchange",Ly="popstate",Fy="scrollend",Ny="submit",jy=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],$y=["mp-include"],zy=["mp-no-track"],By=zy.concat(["mp-sensitive"]),Dy=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Wy=Ev("autocapture");function Uy(e){for(var t={},r=qy(e).split(" "),n=0;n<r.length;n++){var o=r[n];o&&(t[o]=!0)}return t}function qy(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Vy(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!Yy(e));return e}function Hy(e,t,r,n,o,i){var s={$classes:qy(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),Qy(e,t,o,i)&&Iv.each(Dy.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);eb(n)&&(s["$attr-"+t]=n)}});for(var l=1,c=1,u=e;u=Vy(u);)l++,u.tagName===e.tagName&&c++;return s.$nth_child=l,s.$nth_of_type=c,s}function Gy(e,t,r,n){var o="";return Qy(e,t,r,n)&&e.childNodes&&e.childNodes.length&&Iv.each(e.childNodes,function(e){Jy(e)&&e.textContent&&(o+=Iv.trim(e.textContent).split(/(\s+)/).filter(eb).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),Iv.trim(o)}function Ky(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return Wy.critical("Error while checking element in allowElementCallback",e),!1}if(!n.length)return!0;for(var o=0;o<n.length;o++){var i=n[o];try{if(e.matches(i))return!0}catch(e){Wy.critical("Error while checking selector: "+i,e)}}return!1}function Xy(e,t,r,n){var o;if(r)try{if(r(e,t))return!0}catch(e){return Wy.critical("Error while checking element in blockElementCallback",e),!0}if(n&&n.length)for(o=0;o<n.length;o++){var i=n[o];try{if(e.matches(i))return!0}catch(e){Wy.critical("Error while checking selector: "+i,e)}}var s=Uy(e);for(o=0;o<zy.length;o++)if(s[zy[o]])return!0;return!1}function Yy(e){return e&&1===e.nodeType}function Zy(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Jy(e){return e&&3===e.nodeType}function Qy(e,t,r,n){var o;if(!Ky(e,t,r,n))return!1;for(var i=e;i.parentNode&&!Zy(i,"body");i=i.parentNode){var s=Uy(i);for(o=0;o<By.length;o++)if(s[By[o]])return!1}var a=Uy(e);for(o=0;o<$y.length;o++)if(a[$y[o]])return!0;if(Zy(e,"input")||Zy(e,"select")||Zy(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var l=e.type||"";if("string"==typeof l)switch(l.toLowerCase()){case"hidden":case"password":return!1}var c=e.name||e.id||"";return"string"!=typeof c||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(c.replace(/[^a-zA-Z0-9]/g,""))}function eb(e){if(null===e||Iv.isUndefined(e))return!1;if("string"==typeof e){if(e=Iv.trim(e),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}var tb="autocapture",rb="full-url",nb="allow_selectors",ob="allow_url_regexes",ib="block_attrs",sb="block_element_callback",ab="block_selectors",lb="block_url_regexes",cb="capture_extra_attrs",ub="capture_text_content",pb="scroll_capture_all",db="scroll_depth_percent_checkpoints",fb="click",hb="input",mb="pageview",gb="scroll",vb="submit",yb={};yb[nb]=[],yb[ob]=[],yb[ib]=[],yb[sb]=null,yb[ab]=[],yb[lb]=[],yb[cb]=[],yb[ub]=!1,yb[pb]=!1,yb[db]=[25,50,75,100],yb[fb]=!0,yb[hb]=!0,yb[mb]=rb,yb[gb]=!0,yb[vb]=!0;var bb={$mp_autocapture:!0},wb="$mp_click",xb=function(e){this.mp=e};xb.prototype.init=function(){!function(){try{return!!vv.createElement("div").matches}catch(e){return!1}}()?Wy.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageviewTracking(),this.initClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking())},xb.prototype.getFullConfig=function(){var e=this.mp.get_config(tb);return e?Iv.isObject(e)?Iv.extend({},yb,e):yb:{}},xb.prototype.getConfig=function(e){return this.getFullConfig()[e]},xb.prototype.currentUrlBlocked=function(){var e,t=Iv.info.currentUrl(),r=this.getConfig(ob)||[];if(r.length){var n=!1;for(e=0;e<r.length;e++){var o=r[e];try{if(t.match(o)){n=!0;break}}catch(e){return Wy.critical("Error while checking block URL regex: "+o,e),!0}}if(!n)return!0}var i=this.getConfig(lb)||[];if(!i||!i.length)return!1;for(e=0;e<i.length;e++)try{if(t.match(i[e]))return!0}catch(t){return Wy.critical("Error while checking block URL regex: "+i[e],t),!0}return!1},xb.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(tb)?this.getConfig(mb):this.mp.get_config("track_pageview")},xb.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=function(e,t){var r=t.allowElementCallback,n=t.allowSelectors||[],o=t.blockAttrs||[],i=t.blockElementCallback,s=t.blockSelectors||[],a=t.captureTextContent||!1,l=t.captureExtraAttrs||[],c=t.capturedForHeatMap||!1,u={};Iv.each(o,function(e){u[e]=!0});var p=null,d=void 0===e.target?e.srcElement:e.target;if(Jy(d)&&(d=d.parentNode),function(e,t){if(!e||Zy(e,"html")||!Yy(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===Ny;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===Ey:t.type===Oy;case"select":case"textarea":return t.type===Ey;default:return t.type===Oy}}(d,e)&&Ky(d,e,r,n)&&!Xy(d,e,i,s)){for(var f=[d],h=d;h.parentNode&&!Zy(h,"body");)f.push(h.parentNode),h=h.parentNode;var m,g=[],v=!1;if(Iv.each(f,function(t){var o=Qy(t,e,r,n);u.href||"a"!==t.tagName.toLowerCase()||(m=t.getAttribute("href"),m=o&&eb(m)&&m),Xy(t,e,i,s)&&(v=!0),g.push(Hy(t,e,u,l,r,n))},this),!v){var y=vv.documentElement;if(p={$event_type:e.type,$host:ws.location.host,$pathname:ws.location.pathname,$elements:g,$el_attr__href:m,$viewportHeight:Math.max(y.clientHeight,ws.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,ws.innerWidth||0),$pageHeight:vv.body.offsetHeight||0,$pageWidth:vv.body.offsetWidth||0},Iv.each(l,function(e){if(!u[e]&&d.hasAttribute(e)){var t=d.getAttribute(e);eb(t)&&(p["$el_attr__"+e]=t)}}),a&&(b=Gy(d,e,r,n))&&b.length&&(p.$el_text=b),e.type===Oy&&(Iv.each(jy,function(t){t in e&&(p["$"+t]=e[t])}),c&&(p.$captured_for_heatmap=!0),d=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var o=r[n];if(Zy(o,"a")||Zy(o,"button")||Zy(o,"input")||Zy(o,"select")||o.getAttribute&&"button"===o.getAttribute("role")){t=o;break}if(o===t)break}return t}(e)),a){var b=Gy(d,e,r,n);b&&b.length&&(p.$el_text=b)}if(d){if(!Ky(d,e,r,n)||Xy(d,e,i,s))return null;var w=Hy(d,e,u,l,r,n);p.$target=w,p.$el_classes=w.$classes,Iv.extend(p,Iv.strip_empty_properties({$el_id:w.$id,$el_tag_name:w.$tag_name}))}}}return p}(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(nb),blockAttrs:this.getConfig(ib),blockElementCallback:this.getConfig(sb),blockSelectors:this.getConfig(ab),captureExtraAttrs:this.getConfig(cb),captureTextContent:this.getConfig(ub),capturedForHeatMap:t===wb&&!this.getConfig(fb)&&this.mp.is_recording_heatmap_data()});r&&(Iv.extend(r,bb),this.mp.track(t,r))}},xb.prototype.initClickTracking=function(){ws.removeEventListener(Oy,this.listenerClick),(this.getConfig(fb)||this.mp.get_config("record_heatmap_data"))&&(Wy.log("Initializing click tracking"),this.listenerClick=ws.addEventListener(Oy,function(e){(this.getConfig(fb)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,wb)}.bind(this)))},xb.prototype.initInputTracking=function(){ws.removeEventListener(Ey,this.listenerChange),this.getConfig(hb)&&(Wy.log("Initializing input tracking"),this.listenerChange=ws.addEventListener(Ey,function(e){this.getConfig(hb)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this)))},xb.prototype.initPageviewTracking=function(){if(ws.removeEventListener(Ly,this.listenerPopstate),ws.removeEventListener(Ty,this.listenerHashchange),ws.removeEventListener(Py,this.listenerLocationchange),this.pageviewTrackingConfig()){Wy.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(bb)),t&&(e=Iv.info.currentUrl()),this.listenerPopstate=ws.addEventListener(Ly,function(){ws.dispatchEvent(new Event(Py))}),this.listenerHashchange=ws.addEventListener(Ty,function(){ws.dispatchEvent(new Event(Py))});var r=ws.history.pushState;"function"==typeof r&&(ws.history.pushState=function(e,t,n){r.call(ws.history,e,t,n),ws.dispatchEvent(new Event(Py))});var n=ws.history.replaceState;"function"==typeof n&&(ws.history.replaceState=function(e,t,r){n.call(ws.history,e,t,r),ws.dispatchEvent(new Event(Py))}),this.listenerLocationchange=ws.addEventListener(Py,Ov(function(){if(!this.currentUrlBlocked()){var t=Iv.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],o=this.pageviewTrackingConfig();o===rb?r=t!==e:"url-with-path-and-query-string"===o?r=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===o&&(r=n),r&&(this.mp.track_pageview(bb)&&(e=t),n&&(this.lastScrollCheckpoint=0,Wy.log("Path change: re-initializing scroll depth checkpoints")))}}.bind(this)))}},xb.prototype.initScrollTracking=function(){ws.removeEventListener(Fy,this.listenerScroll),this.getConfig(gb)&&(Wy.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0,this.listenerScroll=ws.addEventListener(Fy,Ov(function(){if(this.getConfig(gb)&&!this.currentUrlBlocked()){var e=this.getConfig(pb),t=(this.getConfig(db)||[]).slice().sort(function(e,t){return e-t}),r=ws.scrollY,n=Iv.extend({$scroll_top:r},bb);try{var o=vv.body.scrollHeight,i=Math.round(r/(o-ws.innerHeight)*100);if(n.$scroll_height=o,n.$scroll_percentage=i,i>this.lastScrollCheckpoint)for(var s=0;s<t.length;s++){var a=t[s];i>=a&&this.lastScrollCheckpoint<a&&(n.$scroll_checkpoint=a,this.lastScrollCheckpoint=a,e=!0)}}catch(e){Wy.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",n)}}.bind(this))))},xb.prototype.initSubmitTracking=function(){ws.removeEventListener(Ny,this.listenerSubmit),this.getConfig(vb)&&(Wy.log("Initializing submit tracking"),this.listenerSubmit=ws.addEventListener(Ny,function(e){this.getConfig(vb)&&this.trackDomEvent(e,"$mp_submit")}.bind(this)))},Tv(xb);var _b=ws.fetch,Sb=Ev("flags"),kb="flags",Cb="context",Ab={};Ab[Cb]={};var Ib=function(e){this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc};Ib.prototype.init=function(){_b&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set?(this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set):Sb.critical("Feature Flags unavailable: missing minimum required APIs")},Ib.prototype.getFullConfig=function(){var e=this.getMpConfig(kb);return e?Iv.isObject(e)?Iv.extend({},Ab,e):Ab:{}},Ib.prototype.getConfig=function(e){return this.getFullConfig()[e]},Ib.prototype.isSystemEnabled=function(){return!!this.getMpConfig(kb)},Ib.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Sb.error("Feature Flags not enabled"),!!this.flags},Ib.prototype.fetchFlags=function(){if(this.isSystemEnabled()){var e=this.getMpProperty("distinct_id"),t=this.getMpProperty("$device_id");Sb.log("Fetching flags for distinct ID: "+e);var r={context:Iv.extend({distinct_id:e,device_id:t},this.getConfig(Cb))};this._fetchInProgressStartTime=Date.now(),this.fetchPromise=ws.fetch(this.getFullApiRoute(),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),"Content-Type":"application/octet-stream"},body:JSON.stringify(r)}).then(function(e){return this.markFetchComplete(),e.json().then(function(e){var t=e.flags;if(!t)throw new Error("No flags in API response");var r=new Map;Iv.each(t,function(e,t){r.set(t,{key:e.variant_key,value:e.variant_value})}),this.flags=r}.bind(this)).catch(function(e){this.markFetchComplete(),Sb.error(e)}.bind(this))}.bind(this)).catch(function(e){this.markFetchComplete(),Sb.error(e)}.bind(this))}},Ib.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):Sb.error("Fetch in progress started time not set, cannot mark fetch complete")},Ib.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,t)}.bind(this)).catch(function(e){return Sb.error(e),t}):new Promise(function(e){Sb.critical("Feature Flags not initialized"),e(t)})},Ib.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return Sb.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(Sb.log('No flag found: "'+e+'"'),t)},Ib.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return Sb.error(e),t})},Ib.prototype.getFeatureData=function(e,t){return Sb.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(e,t)},Ib.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},Ib.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return Sb.error(e),t})},Ib.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(Sb.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},Ib.prototype.trackFeatureCheck=function(e,t){this.trackedFeatures.has(e)||(this.trackedFeatures.add(e),this.track("$experiment_started",{"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency}))},Tv(Ib),Ib.prototype.are_flags_ready=Ib.prototype.areFlagsReady,Ib.prototype.get_variant=Ib.prototype.getVariant,Ib.prototype.get_variant_sync=Ib.prototype.getVariantSync,Ib.prototype.get_variant_value=Ib.prototype.getVariantValue,Ib.prototype.get_variant_value_sync=Ib.prototype.getVariantValueSync,Ib.prototype.is_enabled=Ib.prototype.isEnabled,Ib.prototype.is_enabled_sync=Ib.prototype.isEnabledSync,Ib.prototype.get_feature_data=Ib.prototype.getFeatureData;var Mb=function(){};Mb.prototype.create_properties=function(){},Mb.prototype.event_handler=function(){},Mb.prototype.after_track_handler=function(){},Mb.prototype.init=function(e){return this.mp=e,this},Mb.prototype.track=function(e,t,r,n){var o=this,i=Iv.dom_query(e);if(0!==i.length)return Iv.each(i,function(e){Iv.register_event(e,this.override_event,function(e){var i={},s=o.create_properties(r,this),a=o.mp.get_config("track_links_timeout");o.event_handler(e,this,i),window.setTimeout(o.track_callback(n,s,i,!0),a),o.mp.track(t,s,o.track_callback(n,s,i))})},this),!0;Mv.error("The DOM query ("+e+") returned 0 elements")},Mb.prototype.track_callback=function(e,t,r,n){n=n||!1;var o=this;return function(){r.callback_fired||(r.callback_fired=!0,e&&!1===e(n,t)||o.after_track_handler(t,r,n))}},Mb.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):Iv.extend({},e)};var Rb=function(){this.override_event="click"};Iv.inherit(Rb,Mb),Rb.prototype.create_properties=function(e,t){var r=Rb.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},Rb.prototype.event_handler=function(e,t,r){r.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,r.href=t.href,r.new_tab||e.preventDefault()},Rb.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var Eb=function(){this.override_event="submit"};Iv.inherit(Eb,Mb),Eb.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},Eb.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var Ob="$set",Tb="$set_once",Pb="$unset",Lb="$add",Fb="$append",Nb="$union",jb="$remove",$b={set_action:function(e,t){var r={},n={};return Iv.isObject(e)?Iv.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Ob]=n,r},unset_action:function(e){var t={},r=[];return Iv.isArray(e)||(e=[e]),Iv.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[Pb]=r,t},set_once_action:function(e,t){var r={},n={};return Iv.isObject(e)?Iv.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Tb]=n,r},union_action:function(e,t){var r={},n={};return Iv.isObject(e)?Iv.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=Iv.isArray(e)?e:[e])},this):n[e]=Iv.isArray(t)?t:[t],r[Nb]=n,r},append_action:function(e,t){var r={},n={};return Iv.isObject(e)?Iv.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Fb]=n,r},remove_action:function(e,t){var r={},n={};return Iv.isObject(e)?Iv.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[jb]=n,r},delete_action:function(){return{$delete:""}}},zb=function(){};Iv.extend(zb.prototype,$b),zb.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},zb.prototype.set=iy(function(e,t,r){var n=this.set_action(e,t);return Iv.isObject(e)&&(r=t),this._send_request(n,r)}),zb.prototype.set_once=iy(function(e,t,r){var n=this.set_once_action(e,t);return Iv.isObject(e)&&(r=t),this._send_request(n,r)}),zb.prototype.unset=iy(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),zb.prototype.union=iy(function(e,t,r){Iv.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),zb.prototype.delete=iy(function(e){var t=this.delete_action();return this._send_request(t,e)}),zb.prototype.remove=iy(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),zb.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=Iv.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},zb.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},zb.prototype._get_config=function(e){return this._mixpanel.get_config(e)},zb.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},zb.prototype.remove=zb.prototype.remove,zb.prototype.set=zb.prototype.set,zb.prototype.set_once=zb.prototype.set_once,zb.prototype.union=zb.prototype.union,zb.prototype.unset=zb.prototype.unset,zb.prototype.toString=zb.prototype.toString;var Bb=function(){};Iv.extend(Bb.prototype,$b),Bb.prototype._init=function(e){this._mixpanel=e},Bb.prototype.set=oy(function(e,t,r){var n=this.set_action(e,t);return Iv.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[Ob]=Iv.extend({},Iv.info.people_properties(),n[Ob]),this._send_request(n,r)}),Bb.prototype.set_once=oy(function(e,t,r){var n=this.set_once_action(e,t);return Iv.isObject(e)&&(r=t),this._send_request(n,r)}),Bb.prototype.unset=oy(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),Bb.prototype.increment=oy(function(e,t,r){var n={},o={};return Iv.isObject(e)?(Iv.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void Mv.error("Invalid increment value passed to mixpanel.people.increment - must be a number");o[t]=e}},this),r=t):(Iv.isUndefined(t)&&(t=1),o[e]=t),n[Lb]=o,this._send_request(n,r)}),Bb.prototype.append=oy(function(e,t,r){Iv.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),Bb.prototype.remove=oy(function(e,t,r){Iv.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),Bb.prototype.union=oy(function(e,t,r){Iv.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),Bb.prototype.track_charge=oy(function(){Mv.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),Bb.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},Bb.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}Mv.error("mixpanel.people.delete_user() requires you to call identify() first")},Bb.prototype.toString=function(){return this._mixpanel.toString()+".people"},Bb.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),o=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),o&&(e.$had_persisted_distinct_id=o);var i=Iv.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:i,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),Iv.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),Iv.truncate(i,255))},Bb.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Bb.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},Bb.prototype._enqueue=function(e){Ob in e?this._mixpanel.persistence._add_to_people_queue(Ob,e):Tb in e?this._mixpanel.persistence._add_to_people_queue(Tb,e):Pb in e?this._mixpanel.persistence._add_to_people_queue(Pb,e):Lb in e?this._mixpanel.persistence._add_to_people_queue(Lb,e):Fb in e?this._mixpanel.persistence._add_to_people_queue(Fb,e):jb in e?this._mixpanel.persistence._add_to_people_queue(jb,e):Nb in e?this._mixpanel.persistence._add_to_people_queue(Nb,e):Mv.error("Invalid call to _enqueue():",e)},Bb.prototype._flush_one_queue=function(e,t,r,n){var o=this,i=Iv.extend({},this._mixpanel.persistence.load_queue(e)),s=i;Iv.isUndefined(i)||!Iv.isObject(i)||Iv.isEmptyObject(i)||(o._mixpanel.persistence._pop_from_people_queue(e,i),o._mixpanel.persistence.save(),n&&(s=n(i)),t.call(o,s,function(t,n){0===t&&o._mixpanel.persistence._add_to_people_queue(e,i),Iv.isUndefined(r)||r(t,n)}))},Bb.prototype._flush=function(e,t,r,n,o,i,s){var a=this;this._flush_one_queue(Ob,this.set,e),this._flush_one_queue(Tb,this.set_once,n),this._flush_one_queue(Pb,this.unset,i,function(e){return Iv.keys(e)}),this._flush_one_queue(Lb,this.increment,t),this._flush_one_queue(Nb,this.union,o);var l=this._mixpanel.persistence.load_queue(Fb);if(!Iv.isUndefined(l)&&Iv.isArray(l)&&l.length)for(var c,u=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(Fb,c),Iv.isUndefined(r)||r(e,t)},p=l.length-1;p>=0;p--)l=this._mixpanel.persistence.load_queue(Fb),c=l.pop(),a._mixpanel.persistence.save(),Iv.isEmptyObject(c)||a.append(c,u);var d=this._mixpanel.persistence.load_queue(jb);if(!Iv.isUndefined(d)&&Iv.isArray(d)&&d.length)for(var f,h=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(jb,f),Iv.isUndefined(s)||s(e,t)},m=d.length-1;m>=0;m--)d=this._mixpanel.persistence.load_queue(jb),f=d.pop(),a._mixpanel.persistence.save(),Iv.isEmptyObject(f)||a.remove(f,h)},Bb.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},Bb.prototype.set=Bb.prototype.set,Bb.prototype.set_once=Bb.prototype.set_once,Bb.prototype.unset=Bb.prototype.unset,Bb.prototype.increment=Bb.prototype.increment,Bb.prototype.append=Bb.prototype.append,Bb.prototype.remove=Bb.prototype.remove,Bb.prototype.union=Bb.prototype.union,Bb.prototype.track_charge=Bb.prototype.track_charge,Bb.prototype.clear_charges=Bb.prototype.clear_charges,Bb.prototype.delete_user=Bb.prototype.delete_user,Bb.prototype.toString=Bb.prototype.toString;var Db,Wb="__mps",Ub="__mpso",qb="__mpus",Vb="__mpa",Hb="__mpap",Gb="__mpr",Kb="__mpu",Xb="$people_distinct_id",Yb="__alias",Zb="__timers",Jb=[Wb,Ub,qb,Vb,Hb,Gb,Kb,Xb,Yb,Zb],Qb=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(Mv.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&Iv.localStorage.is_supported()?this.storage=Iv.localStorage:this.storage=Iv.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Qb.prototype.properties=function(){var e={};return this.load(),Iv.each(this.props,function(t,r){Iv.include(Jb,r)||(e[r]=t)}),e},Qb.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=Iv.extend({},e))}},Qb.prototype.upgrade=function(){var e,t;this.storage===Iv.localStorage?(e=Iv.cookie.parse(this.name),Iv.cookie.remove(this.name),Iv.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===Iv.cookie&&(t=Iv.localStorage.parse(this.name),Iv.localStorage.remove(this.name),t&&this.register_once(t))},Qb.prototype.save=function(){this.disabled||this.storage.set(this.name,Gv(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Qb.prototype.load_prop=function(e){return this.load(),this.props[e]},Qb.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Qb.prototype.clear=function(){this.remove(),this.props={}},Qb.prototype.register_once=function(e,t,r){return!!Iv.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),Iv.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},Qb.prototype.register=function(e,t){return!!Iv.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),Iv.extend(this.props,e),this.save(),!0)},Qb.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Qb.prototype.update_search_keyword=function(e){this.register(Iv.info.searchInfo(e))},Qb.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:Iv.info.referringDomain(e)||"$direct"},"")},Qb.prototype.get_referrer_info=function(){return Iv.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Qb.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Qb.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Qb.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Qb.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Qb.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Qb.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Qb.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Qb.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],o=this._get_or_create_queue(Ob),i=this._get_or_create_queue(Tb),s=this._get_or_create_queue(Pb),a=this._get_or_create_queue(Lb),l=this._get_or_create_queue(Nb),c=this._get_or_create_queue(jb,[]),u=this._get_or_create_queue(Fb,[]);r===Wb?(Iv.extend(o,n),this._pop_from_people_queue(Lb,n),this._pop_from_people_queue(Nb,n),this._pop_from_people_queue(Pb,n)):r===Ub?(Iv.each(n,function(e,t){t in i||(i[t]=e)}),this._pop_from_people_queue(Pb,n)):r===qb?Iv.each(n,function(e){Iv.each([o,i,a,l],function(t){e in t&&delete t[e]}),Iv.each(u,function(t){e in t&&delete t[e]}),s[e]=!0}):r===Vb?(Iv.each(n,function(e,t){t in o?o[t]+=e:(t in a||(a[t]=0),a[t]+=e)},this),this._pop_from_people_queue(Pb,n)):r===Kb?(Iv.each(n,function(e,t){Iv.isArray(e)&&(t in l||(l[t]=[]),Iv.each(e,function(e){Iv.include(l[t],e)||l[t].push(e)}))}),this._pop_from_people_queue(Pb,n)):r===Gb?(c.push(n),this._pop_from_people_queue(Fb,n)):r===Hb&&(u.push(n),this._pop_from_people_queue(Pb,n)),Mv.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Mv.log(t),this.save()},Qb.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];Iv.isUndefined(r)||Iv.each(t,function(t,n){e===Fb||e===jb?Iv.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},Qb.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Qb.prototype._get_queue_key=function(e){return e===Ob?Wb:e===Tb?Ub:e===Pb?qb:e===Lb?Vb:e===Fb?Hb:e===jb?Gb:e===Nb?Kb:void Mv.error("Invalid queue:",e)},Qb.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=Iv.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},Qb.prototype.set_event_timer=function(e,t){var r=this.load_prop(Zb)||{};r[e]=t,this.props[Zb]=r,this.save()},Qb.prototype.remove_event_timer=function(e){var t=(this.load_prop(Zb)||{})[e];return Iv.isUndefined(t)||(delete this.props[Zb][e],this.save()),t};var ew,tw=function(e,t){throw new Error(e+" not available in this build.")},rw=function(e){return e},nw="mixpanel",ow="base64",iw="$device:",sw=ws.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,aw=!sw&&-1===wv.indexOf("MSIE")&&-1===wv.indexOf("Mozilla"),lw=null;gv.sendBeacon&&(lw=function(){return gv.sendBeacon.apply(gv,arguments)});var cw={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},uw={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:cw,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:ow,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Hv,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Hv,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video",record_canvas:!1,record_collect_fonts:!1,record_heatmap_data:!1,record_idle_timeout_ms:18e5,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:lv,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},pw=!1,dw=function(){},fw=function(e,t,r){var n,o=r===nw?ew:ew[r];if(o&&0===Db)n=o;else{if(o&&!Iv.isArray(o))return void Mv.error("You have already initialized "+r);n=new dw}if(n._cached_groups={},n._init(e,t,r),n.people=new Bb,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var i=Iv.info.campaignParams(null),s={},a=!1;Iv.each(i,function(e,t){s["initial_"+t]=e,e&&(a=!0)}),a&&n.people.set_once(s)}return av.DEBUG=av.DEBUG||n.get_config("debug"),!Iv.isUndefined(o)&&Iv.isArray(o)&&(n._execute_array.call(n.people,o.people),n._execute_array(o)),n};dw.prototype.init=function(e,t,r){if(Iv.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==nw){var n=fw(e,t,r);return ew[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},dw.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if("api_payload_format"in t||(t.api_host||uw.api_host).match(/\.mixpanel\.com/)&&(n.api_payload_format="json"),this.set_config(Iv.extend({},uw,n,t,{name:r,token:e,callback_fn:(r===nw?r:nw+"."+r)+"._jsc"})),this._jsc=Hv,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(Iv.localStorage.is_supported(!0)&&sw){if(this.init_batchers(),lw&&ws.addEventListener){var o=Iv.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);ws.addEventListener("pagehide",function(e){e.persisted&&o()}),ws.addEventListener("visibilitychange",function(){"hidden"===vv.visibilityState&&o()})}}else this._batch_requests=!1,Mv.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),Iv.each(this.get_batcher_configs(),function(e){Mv.log("Clearing batch queue "+e.queue_key),Iv.localStorage.remove(e.queue_key)});this.persistence=this.cookie=new Qb(this.config),this.unpersisted_superprops={},this._gdpr_init();var i=Iv.UUID();this.get_distinct_id()||this.register_once({distinct_id:iw+i,$device_id:i},""),this.flags=new Ib({getFullApiRoute:Iv.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:Iv.bind(this.get_config,this),getPropertyFunc:Iv.bind(this.get_property,this),trackingFunc:Iv.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new xb(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()},dw.prototype._init_tab_id=function(){if(Iv.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,r="mp_gen_new_tab_id_"+e;!Iv.sessionStorage.get(r)&&Iv.sessionStorage.get(t)||Iv.sessionStorage.set(t,"$tab-"+Iv.UUID()),Iv.sessionStorage.set(r,"1"),this.tab_id=Iv.sessionStorage.get(t),ws.addEventListener("beforeunload",function(){Iv.sessionStorage.remove(r)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},dw.prototype.get_tab_id=function(){return this.tab_id||null},dw.prototype._should_load_recorder=function(){var e=new Jv(Yv),t=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(e){for(var r=0;r<e.length;r++)if(xy(e[r])||e[r].tabId===t)return!0;return!1}).catch(Iv.bind(function(e){this.report_error("Error checking recording registry",e)},this))},dw.prototype._check_and_start_session_recording=ny(function(e){if(ws.MutationObserver){var t=Iv.bind(function(e){var t=Iv.bind(function(){this._recorder=this._recorder||new ws.__mp_recorder(this),this._recorder.resumeRecording(e)},this);Iv.isUndefined(ws.__mp_recorder)?tw(this.get_config("recorder_src"),t):t()},this),r=this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent");e||r?t(!0):this._should_load_recorder().then(function(e){e&&t(!1)})}else Mv.critical("Browser does not support MutationObserver; skipping session recording")}),dw.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},dw.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()},dw.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()},dw.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()},dw.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")},dw.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},dw.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();return t&&(e="https://mixpanel.com/projects/replay-redirect?"+Iv.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")})),e},dw.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},dw.prototype.__get_recorder=function(){return this._recorder},dw.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=Iv.info.campaignParams(null);Iv.each(e,function(e,t){this.unregister(t)}.bind(this))}},dw.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(vv.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(Iv.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(vv.referrer)},dw.prototype._dom_loaded=function(){Iv.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||Iv.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},dw.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!pw)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},dw.prototype._prepare_callback=function(e,t){if(Iv.isUndefined(e))return null;if(sw)return function(r){e(r,t)};var r=this._jsc,n=""+Math.floor(1e8*Math.random()),o=this.get_config("callback_fn")+"["+n+"]";return r[n]=function(o){delete r[n],e(o,t)},o},dw.prototype._send_request=function(e,t,r,n){var o=!0;if(aw)return this.__request_queue.push(arguments),o;var i={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;n||!Iv.isFunction(r)&&"string"!=typeof r||(n=r,r=null),r=Iv.extend(i,r||{}),sw||(r.method="GET");var a="POST"===r.method,l=lw&&a&&"sendbeacon"===r.transport.toLowerCase(),c=r.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),sw||(n?t.callback=n:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),a&&(s="data="+encodeURIComponent(t.data),delete t.data),Iv.extend(t,this.get_config("api_extra_query_params")),e+="?"+Iv.HTTPBuildQuery(t);var u=this;if("img"in t){var p=vv.createElement("img");p.src=e,vv.body.appendChild(p)}else if(l){try{o=lw(e,s)}catch(e){u.report_error(e),o=!1}try{n&&n(o?1:0)}catch(e){u.report_error(e)}}else if(sw)try{var d=new XMLHttpRequest;d.open(r.method,e,!0);var f=this.get_config("xhr_headers");if(a&&(f["Content-Type"]="application/x-www-form-urlencoded"),Iv.each(f,function(e,t){d.setRequestHeader(t,e)}),r.timeout_ms&&void 0!==d.timeout){d.timeout=r.timeout_ms;var h=(new Date).getTime()}d.withCredentials=!0,d.onreadystatechange=function(){var e;if(4===d.readyState)if(200===d.status){if(n)if(c){var t;try{t=Iv.JSONDecode(d.responseText)}catch(e){if(u.report_error(e),!r.ignore_json_errors)return;t=d.responseText}n(t)}else n(Number(d.responseText))}else if(e=d.timeout&&!d.status&&(new Date).getTime()-h>=d.timeout?"timeout":"Bad HTTP status: "+d.status+" "+d.statusText,u.report_error(e),n)if(c){var o=d.responseHeaders||{};n({status:0,httpStatusCode:d.status,error:e,retryAfter:o["Retry-After"]})}else n(0)},d.send(s)}catch(e){u.report_error(e),o=!1}else{var m=vv.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var g=vv.getElementsByTagName("script")[0];g.parentNode.insertBefore(m,g)}return o},dw.prototype._execute_array=function(e){var t,r=[],n=[],o=[];Iv.each(e,function(e){e&&(t=e[0],Iv.isArray(t)?o.push(e):"function"==typeof e?e.call(this):Iv.isArray(e)&&"alias"===t?r.push(e):Iv.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?o.push(e):n.push(e))},this);var i=function(e,t){Iv.each(e,function(e){if(Iv.isArray(e[0])){var r=t;Iv.each(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};i(r,this),i(n,this),i(o,this)},dw.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},dw.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs},dw.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=Iv.bind(function(e){return new wy(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:Iv.bind(function(t,r,n){var o=this.get_config("api_routes");this._send_request(this.get_api_host(e.api_name)+"/"+o[e.api_name],this._encode_data_for_request(t),r,this._prepare_callback(n,t))},this),beforeSendHook:Iv.bind(function(t){return this._run_hook("before_send_"+e.type,t)},this),stopAllBatchingFunc:Iv.bind(this.stop_batch_senders,this),usePersistence:!0})},this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},dw.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,Iv.each(this.request_batchers,function(e){e.start()}))},dw.prototype.stop_batch_senders=function(){this._batch_requests=!1,Iv.each(this.request_batchers,function(e){e.stop(),e.clear()})},dw.prototype.push=function(e){this._execute_array([e])},dw.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},dw.prototype._encode_data_for_request=function(e){var t=Gv(e);return this.get_config("api_payload_format")===ow&&(t=Iv.base64Encode(t)),{data:t}},dw.prototype._track_or_batch=function(e,t){var r=Iv.truncate(e.data,255),n=e.endpoint,o=e.batcher,i=e.should_send_immediately,s=e.send_request_options||{};t=t||Hv;var a=!0,l=Iv.bind(function(){return s.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r?(Mv.log("MIXPANEL REQUEST:"),Mv.log(r),this._send_request(n,this._encode_data_for_request(r),s,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!i?o.enqueue(r).then(function(e){e?t(1,r):l()}):a=l(),a&&r},dw.prototype.track=ny(function(e,t,r,n){n||"function"!=typeof r||(n=r,r=null);var o=(r=r||{}).transport;o&&(r.transport=o);var i=r.send_immediately;if("function"!=typeof n&&(n=Hv),Iv.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=Iv.extend({},t)).token=this.get_config("token");var s=this.persistence.remove_event_timer(e);if(!Iv.isUndefined(s)){var a=(new Date).getTime()-s;t.$duration=parseFloat((a/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config("track_marketing")?Iv.info.marketingParams():{};t=Iv.extend({},Iv.info.properties({mp_loader:this.get_config("mp_loader")}),l,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var c=this.get_config("property_blacklist");Iv.isArray(c)?Iv.each(c,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+c);var u={event:e,properties:t};return this._track_or_batch({type:"events",data:u,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:i,send_request_options:r},n)}n(0)}}),dw.prototype.set_group=ny(function(e,t,r){Iv.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),dw.prototype.add_group=ny(function(e,t,r){var n=this.get_property(e),o={};return void 0===n?(o[e]=[t],this.register(o)):-1===n.indexOf(t)&&(n.push(t),o[e]=n,this.register(o)),this.people.union(e,t,r)}),dw.prototype.remove_group=ny(function(e,t,r){var n=this.get_property(e);if(void 0!==n){var o=n.indexOf(t);o>-1&&(n.splice(o,1),this.register({group_key:n})),0===n.length&&this.unregister(e)}return this.people.remove(e,t,r)}),dw.prototype.track_with_groups=ny(function(e,t,r,n){var o=Iv.extend({},t||{});return Iv.each(r,function(e,t){null!=e&&(o[t]=e)}),this.track(e,o,n)}),dw.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},dw.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},dw.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return void 0!==n&&n._group_key===e&&n._group_id===t||((n=new zb)._init(this,e,t),this._cached_groups[r]=n),n},dw.prototype.track_pageview=ny(function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=Iv.extend(Iv.info.mpPageViewProperties(),Iv.info.campaignParams(),Iv.info.clickParams()),o=Iv.extend({},n,e);return this.track(r,o)}),dw.prototype.track_links=function(){return this._track_dom.call(this,Rb,arguments)},dw.prototype.track_forms=function(){return this._track_dom.call(this,Eb,arguments)},dw.prototype.time_event=function(e){Iv.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var hw={persistent:!0},mw=function(e){var t;return t=Iv.isObject(e)?e:Iv.isUndefined(e)?{}:{days:e},Iv.extend({},hw,t)};dw.prototype.register=function(e,t){var r=mw(t);r.persistent?this.persistence.register(e,r.days):Iv.extend(this.unpersisted_superprops,e)},dw.prototype.register_once=function(e,t,r){var n=mw(r);n.persistent?this.persistence.register_once(e,t,n.days):(void 0===t&&(t="None"),Iv.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))},dw.prototype.unregister=function(e,t){(t=mw(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},dw.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},dw.prototype.identify=function(e,t,r,n,o,i,s,a){var l=this.get_distinct_id();if(e&&l!==e){if("string"==typeof e&&0===e.indexOf(iw))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var c=l;this.register_once({$had_persisted_distinct_id:!0,$device_id:c},"")}e!==l&&e!==this.get_property(Yb)&&(this.unregister(Yb),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,o,i,s,a),e!==l&&this.track("$identify",{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0}),e!==l&&this.flags.fetchFlags()},dw.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=Iv.UUID();this.register_once({distinct_id:iw+e,$device_id:e},""),this._check_and_start_session_recording()},dw.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},dw.prototype.alias=function(e,t){if(e===this.get_property(Xb))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return Iv.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(Yb,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},dw.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},dw.prototype.set_config=function(e){Iv.isObject(e)&&(Iv.extend(this.config,e),e.batch_size&&Iv.each(this.request_batchers,function(e){e.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),av.DEBUG=av.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init())},dw.prototype.get_config=function(e){return this.config[e]},dw.prototype._run_hook=function(e){var t=(this.config.hooks[e]||rw).apply(this,dv.call(arguments,1));return void 0===t&&(this.report_error(e+" hook did not return a value"),t=null),t},dw.prototype.get_property=function(e){return this.persistence.load_prop([e])},dw.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},dw.prototype.toString=function(){var e=this.get_config("name");return e!==nw&&(e=nw+"."+e),e},dw.prototype._event_is_disabled=function(e){return Iv.isBlockedUA(wv)||this._flags.disable_all_events||Iv.include(this.__disabled_events,e)},dw.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&Iv.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!Iv.cookie.get("mp_optout")||(Iv.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},dw.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},dw.prototype._gdpr_call_func=function(e,t){return t=Iv.extend({track:Iv.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),Iv.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},dw.prototype.opt_in_tracking=function(e){e=Iv.extend({enable_persistence:!0},e),this._gdpr_call_func(Qv,e),this._gdpr_update_persistence(e)},dw.prototype.opt_out_tracking=function(e){(e=Iv.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(ey,e),this._gdpr_update_persistence(e)},dw.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(ty,e)},dw.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(ry,e)},dw.prototype.clear_opt_in_out_tracking=function(e){e=Iv.extend({enable_persistence:!0},e),this._gdpr_call_func(sy,e),this._gdpr_update_persistence(e)},dw.prototype.report_error=function(e,t){Mv.error.apply(Mv.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){Mv.error(t)}},dw.prototype.init=dw.prototype.init,dw.prototype.reset=dw.prototype.reset,dw.prototype.disable=dw.prototype.disable,dw.prototype.time_event=dw.prototype.time_event,dw.prototype.track=dw.prototype.track,dw.prototype.track_links=dw.prototype.track_links,dw.prototype.track_forms=dw.prototype.track_forms,dw.prototype.track_pageview=dw.prototype.track_pageview,dw.prototype.register=dw.prototype.register,dw.prototype.register_once=dw.prototype.register_once,dw.prototype.unregister=dw.prototype.unregister,dw.prototype.identify=dw.prototype.identify,dw.prototype.alias=dw.prototype.alias,dw.prototype.name_tag=dw.prototype.name_tag,dw.prototype.set_config=dw.prototype.set_config,dw.prototype.get_config=dw.prototype.get_config,dw.prototype.get_api_host=dw.prototype.get_api_host,dw.prototype.get_property=dw.prototype.get_property,dw.prototype.get_distinct_id=dw.prototype.get_distinct_id,dw.prototype.toString=dw.prototype.toString,dw.prototype.opt_out_tracking=dw.prototype.opt_out_tracking,dw.prototype.opt_in_tracking=dw.prototype.opt_in_tracking,dw.prototype.has_opted_out_tracking=dw.prototype.has_opted_out_tracking,dw.prototype.has_opted_in_tracking=dw.prototype.has_opted_in_tracking,dw.prototype.clear_opt_in_out_tracking=dw.prototype.clear_opt_in_out_tracking,dw.prototype.get_group=dw.prototype.get_group,dw.prototype.set_group=dw.prototype.set_group,dw.prototype.add_group=dw.prototype.add_group,dw.prototype.remove_group=dw.prototype.remove_group,dw.prototype.track_with_groups=dw.prototype.track_with_groups,dw.prototype.start_batch_senders=dw.prototype.start_batch_senders,dw.prototype.stop_batch_senders=dw.prototype.stop_batch_senders,dw.prototype.start_session_recording=dw.prototype.start_session_recording,dw.prototype.stop_session_recording=dw.prototype.stop_session_recording,dw.prototype.pause_session_recording=dw.prototype.pause_session_recording,dw.prototype.resume_session_recording=dw.prototype.resume_session_recording,dw.prototype.get_session_recording_properties=dw.prototype.get_session_recording_properties,dw.prototype.get_session_replay_url=dw.prototype.get_session_replay_url,dw.prototype.get_tab_id=dw.prototype.get_tab_id,dw.prototype.DEFAULT_API_ROUTES=cw,dw.prototype.__get_recorder=dw.prototype.__get_recorder,Qb.prototype.properties=Qb.prototype.properties,Qb.prototype.update_search_keyword=Qb.prototype.update_search_keyword,Qb.prototype.update_referrer_info=Qb.prototype.update_referrer_info,Qb.prototype.get_cross_subdomain=Qb.prototype.get_cross_subdomain,Qb.prototype.clear=Qb.prototype.clear;var gw={},vw=(tw=function(e,t){t()},Db=0,(ew=new dw).init=function(e,t,r){if(r)return ew[r]||(ew[r]=gw[r]=fw(e,t,r),ew[r]._loaded()),ew[r];var n=ew;gw[nw]?n=gw[nw]:e&&((n=fw(e,t,nw))._loaded(),gw[nw]=n),ew=n,1===Db&&(ws[nw]=ew),Iv.each(gw,function(e,t){t!==nw&&(ew[t]=e)}),ew._=Iv},ew.init(),function(){function e(){e.done||(e.done=!0,pw=!0,aw=!1,Iv.each(gw,function(e){e._dom_loaded()}))}if(vv.addEventListener)"complete"===vv.readyState?e():vv.addEventListener("DOMContentLoaded",e,!1);else if(vv.attachEvent){vv.attachEvent("onreadystatechange",e);var t=!1;try{t=null===ws.frameElement}catch(e){}vv.documentElement.doScroll&&t&&function t(){try{vv.documentElement.doScroll("left")}catch(e){return void setTimeout(t,1)}e()}()}Iv.register_event(ws,"load",e,!0)}(),ew);const yw="share_usage_data",bw=(e,t)=>{vw.__loaded&&vw.track(e,t)},ww="review_prompt_shown",xw="review_dismiss_clicked",_w="review_star_selected",Sw="review_feedback_submitted",kw="review_public_redirect_clicked",Cw=window.wp.escapeHtml,Aw=window.wp.i18n,Iw=window.wp.apiFetch;var Mw=r.n(Iw);const Rw=window.wp.url;class Ew extends Error{constructor(e){super(e),this.name="APIError"}}const Ow=Ew,Tw="/wp/v2";class Pw{static async request({path:e,data:t,method:r="POST",headers:n}){try{"GET"!==r||e.startsWith(Tw)||(e=(0,Rw.addQueryArgs)(e,{sb_time:(new Date).getTime()}));const o=await Mw()({path:e,method:r,data:t,headers:n});if(e.startsWith(Tw))return o;if(!o.success)throw new Ow(o.data.message);return o.data}catch(e){throw e instanceof Ow?e:new Ow(e.message)}}static async initConnect(e="new"){const t={wp_rest:window?.ea11ySettingsData?.wpRestNonce||window?.ea11yScannerData?.wpRestNonce};return"update"===e&&(t.update_redirect_uri=!0),Pw.request({method:"POST",path:"/ea11y/v1/connect/authorize",data:t})}}const Lw=Pw,Fw=class extends Lw{static async sendFeedback(e){return Lw.request({method:"POST",path:"/ea11y/v1/reviews/review",data:e})}},Nw=(0,Nn.createContext)(null);function jw(){return(0,Nn.useContext)(Nw)}const $w=({children:e})=>{const[t,r]=(0,Nn.useState)(0),[n,o]=(0,Nn.useState)(""),[i,s]=(0,Nn.useState)("ratings"),[a,l]=(0,Nn.useState)(!0),{save:c,get:u}=bs(),[p,d]=(0,Nn.useState)(!1),[f,h]=(0,Nn.useState)(""),[m,g]=(0,Nn.useState)(""),v=e=>{h(e),g("error"),d(!0)},y=e=>{h(e),g("success"),d(!0)};return(0,_e.jsx)(Nw.Provider,{value:{rating:t,setRating:r,feedback:n,setFeedback:o,currentPage:i,setCurrentPage:s,showNotification:p,setShowNotification:d,notificationMessage:f,setNotificationMessage:h,notificationType:m,setNotificationType:g,isOpened:a,setIsOpened:l,handleClose:(e,t)=>{"backdropClick"!==t&&l(!1),bw(xw)},handleSubmit:async(e,r=!1,o=null)=>{const i=null!==o?o:t;try{const t=await Fw.sendFeedback({rating:i,feedback:n}).then(async e=>(await c({ea11y_review_data:{...u.data.ea11y_review_data,rating:parseInt(i),feedback:(0,Cw.escapeHTML)(n),submitted:!0}}),e));return i&&!n&&bw(_w,{rating:parseInt(i)}),n&&bw(Sw,{feedback_text:(0,Cw.escapeHTML)(n),rating:parseInt(i)}),!t?.success&&parseInt(i)<4?y((0,Aw.__)("Feedback already submitted","pojo-accessibility")):t?.success&&parseInt(i)<4&&y((0,Aw.__)("Thank you for your feedback!","pojo-accessibility")),r||await e(),!0}catch(e){return v((0,Aw.__)("Failed to submit!","pojo-accessibility")),!1}},errorNotification:v,successNotification:y},children:e})},zw=({type:e,message:t})=>{const{showNotification:r,setShowNotification:n,setNotificationMessage:o,setNotificationType:i}=jw(),s=()=>{n(!r),o(""),i("")};return(0,_e.jsx)(ms,{open:r,autoHideDuration:"error"===e?1e4:2e3,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:"right"},sx:{zIndex:99999},children:(0,_e.jsx)(gs,{message:t,action:(0,_e.jsx)(vi,{color:"inherit",onClick:s})})})};var Bw=r(9918);const Dw=["className","component"],Ww=ko("MuiBox",["root"]),Uw=rn(),qw=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:i}=e,s=(0,Ne.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(tr.A);return n.forwardRef(function(e,n){const a=Be(r),l=(0,Bw.A)(e),{className:c,component:u="div"}=l,p=(0,ye.A)(l,Dw);return(0,_e.jsx)(s,(0,ve.A)({as:u,ref:n,className:Bn(c,i?i(o):o),theme:t&&a[t]||a},p))})}({themeId:He,defaultTheme:Uw,defaultClassName:Ww.root,generateClassName:xo.generate});var Vw=o().forwardRef((e,t)=>o().createElement(qw,{...e,ref:t}));function Hw(e){return e&&e.ownerDocument||document}const Gw=Hw,Kw=function(e){return Hw(e).defaultView||window};function Xw(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}function Yw(e){return Ii(e).defaultView||window}function Zw(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Jw(e){return parseInt(Yw(e).getComputedStyle(e).paddingRight,10)||0}function Qw(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Zw(e,o)})}function ex(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}const tx=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Zw(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);Qw(t,e.mount,e.modalRef,n,!0);const o=ex(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=ex(this.containers,t=>-1!==t.modals.indexOf(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=Ii(e);return t.body===e?Yw(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(Ii(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Jw(n)+e}px`;const t=Ii(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Jw(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=Ii(n).body;else{const t=n.parentElement,r=Yw(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=ex(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Zw(e.modalRef,t),Qw(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Zw(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const rx=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function nx(e){const t=[],r=[];return Array.from(e.querySelectorAll(rx)).forEach((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function ox(){return!0}function ix(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:s=nx,isEnabled:a=ox,open:l}=e,c=n.useRef(!1),u=n.useRef(null),p=n.useRef(null),d=n.useRef(null),f=n.useRef(null),h=n.useRef(!1),m=n.useRef(null),g=bi(t.ref,m),v=n.useRef(null);n.useEffect(()=>{l&&m.current&&(h.current=!r)},[r,l]),n.useEffect(()=>{if(!l||!m.current)return;const e=Ii(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[l]),n.useEffect(()=>{if(!l||!m.current)return;const e=Ii(m.current),t=t=>{v.current=t,!o&&a()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,p.current&&p.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!a()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==p.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==p.current||(r=s(m.current)),r.length>0){var n,i;const e=Boolean((null==(n=v.current)?void 0:n.shiftKey)&&"Tab"===(null==(i=v.current)?void 0:i.key)),t=r[0],o=r[r.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const n=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,o,i,a,l,s]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),h.current=!0};return(0,_e.jsxs)(n.Fragment,{children:[(0,_e.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:g,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),h.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),(0,_e.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}const sx=n.forwardRef(function(e,t){const{children:r,container:o,disablePortal:i=!1}=e,[s,a]=n.useState(null),l=bi(n.isValidElement(r)?r.ref:null,t);if(Ci(()=>{i||a(function(e){return"function"==typeof e?e():e}(o)||document.body)},[o,i]),Ci(()=>{if(s&&!i)return yi(t,s),()=>{yi(t,null)}},[t,s,i]),i){if(n.isValidElement(r)){const e={ref:l};return n.cloneElement(r,e)}return(0,_e.jsx)(n.Fragment,{children:r})}return(0,_e.jsx)(n.Fragment,{children:s?Li.createPortal(r,s):s})}),ax=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],lx={entering:{opacity:1},entered:{opacity:1}},cx=n.forwardRef(function(e,t){const r=Pi(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:p,onEntering:d,onExit:f,onExited:h,onExiting:m,style:g,timeout:v=o,TransitionComponent:y=Ui}=e,b=(0,ye.A)(e,ax),w=n.useRef(null),x=Xn(w,a.ref,t),_=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},S=_(d),k=_((e,t)=>{qi(e);const n=Vi({style:g,timeout:v,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)}),C=_(p),A=_(m),I=_(e=>{const t=Vi({style:g,timeout:v,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)}),M=_(h);return(0,_e.jsx)(y,(0,ve.A)({appear:s,in:c,nodeRef:w,onEnter:k,onEntered:C,onEntering:S,onExit:I,onExited:M,onExiting:A,addEndListener:e=>{i&&i(w.current,e)},timeout:v},b,{children:(e,t)=>n.cloneElement(a,(0,ve.A)({style:(0,ve.A)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},lx[e],g,a.props.style),ref:x},t))}))}),ux=cx;function px(e){return So("MuiBackdrop",e)}ko("MuiBackdrop",["root","invisible"]);const dx=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],fx=Hn("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>(0,ve.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),hx=n.forwardRef(function(e,t){var r,n,o;const i=Kn({props:e,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",components:c={},componentsProps:u={},invisible:p=!1,open:d,slotProps:f={},slots:h={},TransitionComponent:m=ux,transitionDuration:g}=i,v=(0,ye.A)(i,dx),y=(0,ve.A)({},i,{component:l,invisible:p}),b=(e=>{const{classes:t,invisible:r}=e;return Dn({root:["root",r&&"invisible"]},px,t)})(y),w=null!=(r=f.root)?r:u.root;return(0,_e.jsx)(m,(0,ve.A)({in:d,timeout:g},v,{children:(0,_e.jsx)(fx,(0,ve.A)({"aria-hidden":!0},w,{as:null!=(n=null!=(o=h.root)?o:c.Root)?n:l,className:Bn(b.root,a,null==w?void 0:w.className),ownerState:(0,ve.A)({},y,null==w?void 0:w.ownerState),classes:b,ref:t,children:s}))}))}),mx=hx;function gx(e){return So("MuiModal",e)}ko("MuiModal",["root","hidden","backdrop"]);const vx=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],yx=Hn("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>(0,ve.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),bx=Hn(mx,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),wx=n.forwardRef(function(e,t){var r,o,i,s,a,l;const c=Kn({name:"MuiModal",props:e}),{BackdropComponent:u=bx,BackdropProps:p,className:d,closeAfterTransition:f=!1,children:h,container:m,component:g,components:v={},componentsProps:y={},disableAutoFocus:b=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:_=!1,disableRestoreFocus:S=!1,disableScrollLock:k=!1,hideBackdrop:C=!1,keepMounted:A=!1,onBackdropClick:I,open:M,slotProps:R,slots:E}=c,O=(0,ye.A)(c,vx),T=(0,ve.A)({},c,{closeAfterTransition:f,disableAutoFocus:b,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:_,disableRestoreFocus:S,disableScrollLock:k,hideBackdrop:C,keepMounted:A}),{getRootProps:P,getBackdropProps:L,getTransitionProps:F,portalRef:N,isTopModal:j,exited:$,hasTransition:z}=function(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,manager:i=tx,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:c,onClose:u,open:p,rootRef:d}=e,f=n.useRef({}),h=n.useRef(null),m=n.useRef(null),g=bi(m,d),[v,y]=n.useState(!p),b=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const x=()=>(f.current.modalRef=m.current,f.current.mount=h.current,f.current),_=()=>{i.mount(x(),{disableScrollLock:o}),m.current&&(m.current.scrollTop=0)},S=Ai(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Ii(h.current).body;i.add(x(),e),m.current&&_()}),k=n.useCallback(()=>i.isTopModal(x()),[i]),C=Ai(e=>{h.current=e,e&&(p&&k()?_():m.current&&Zw(m.current,w))}),A=n.useCallback(()=>{i.remove(x(),w)},[w,i]);n.useEffect(()=>()=>{A()},[A]),n.useEffect(()=>{p?S():b&&s||A()},[p,A,b,s,S]);const I=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},M=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const r=xi(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=(0,ve.A)({},r,t);return(0,ve.A)({role:"presentation"},n,{onKeyDown:I(n),ref:g})},getBackdropProps:(e={})=>{const t=e;return(0,ve.A)({"aria-hidden":!0},t,{onClick:M(t),open:p})},getTransitionProps:()=>({onEnter:Xw(()=>{y(!1),a&&a()},null==c?void 0:c.props.onEnter),onExited:Xw(()=>{y(!0),l&&l(),s&&A()},null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:C,isTopModal:k,exited:v,hasTransition:b}}((0,ve.A)({},T,{rootRef:t})),B=(0,ve.A)({},T,{exited:$}),D=(e=>{const{open:t,exited:r,classes:n}=e;return Dn({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},gx,n)})(B),W={};if(void 0===h.props.tabIndex&&(W.tabIndex="-1"),z){const{onEnter:e,onExited:t}=F();W.onEnter=e,W.onExited=t}const U=null!=(r=null!=(o=null==E?void 0:E.root)?o:v.Root)?r:yx,q=null!=(i=null!=(s=null==E?void 0:E.backdrop)?s:v.Backdrop)?i:u,V=null!=(a=null==R?void 0:R.root)?a:y.root,H=null!=(l=null==R?void 0:R.backdrop)?l:y.backdrop,G=ki({elementType:U,externalSlotProps:V,externalForwardedProps:O,getSlotProps:P,additionalProps:{ref:t,as:g},ownerState:B,className:Bn(d,null==V?void 0:V.className,null==D?void 0:D.root,!B.open&&B.exited&&(null==D?void 0:D.hidden))}),K=ki({elementType:q,externalSlotProps:H,additionalProps:p,getSlotProps:e=>L((0,ve.A)({},e,{onClick:t=>{I&&I(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Bn(null==H?void 0:H.className,null==p?void 0:p.className,null==D?void 0:D.backdrop),ownerState:B});return A||M||z&&!$?(0,_e.jsx)(sx,{ref:N,container:m,disablePortal:_,children:(0,_e.jsxs)(U,(0,ve.A)({},G,{children:[!C&&u?(0,_e.jsx)(q,(0,ve.A)({},K)):null,(0,_e.jsx)(ix,{disableEnforceFocus:w,disableAutoFocus:b,disableRestoreFocus:S,isEnabled:j,open:M,children:n.cloneElement(h,W)})]}))}):null}),xx=wx;function Sx(e){return So("MuiPopover",e)}ko("MuiPopover",["root","paper"]);const kx=["onEntering"],Cx=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Ax=["slotProps"];function Ix(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function Mx(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function Rx(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function Ex(e){return"function"==typeof e?e():e}const Ox=Hn(xx,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Tx=Hn(rs,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Px=n.forwardRef(function(e,t){var r,o,i;const s=Kn({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:p="anchorEl",children:d,className:f,container:h,elevation:m=8,marginThreshold:g=16,open:v,PaperProps:y={},slots:b,slotProps:w,transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:_=Zi,transitionDuration:S="auto",TransitionProps:{onEntering:k}={},disableScrollLock:C=!1}=s,A=(0,ye.A)(s.TransitionProps,kx),I=(0,ye.A)(s,Cx),M=null!=(r=null==w?void 0:w.paper)?r:y,R=n.useRef(),E=Xn(R,M.ref),O=(0,ve.A)({},s,{anchorOrigin:c,anchorReference:p,elevation:m,marginThreshold:g,externalPaperSlotProps:M,transformOrigin:x,TransitionComponent:_,transitionDuration:S,TransitionProps:A}),T=(e=>{const{classes:t}=e;return Dn({root:["root"],paper:["paper"]},Sx,t)})(O),P=n.useCallback(()=>{if("anchorPosition"===p)return u;const e=Ex(l),t=(e&&1===e.nodeType?e:Gw(R.current).body).getBoundingClientRect();return{top:t.top+Ix(t,c.vertical),left:t.left+Mx(t,c.horizontal)}},[l,c.horizontal,c.vertical,u,p]),L=n.useCallback(e=>({vertical:Ix(e,x.vertical),horizontal:Mx(e,x.horizontal)}),[x.horizontal,x.vertical]),F=n.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=L(t);if("none"===p)return{top:null,left:null,transformOrigin:Rx(r)};const n=P();let o=n.top-r.vertical,i=n.left-r.horizontal;const s=o+t.height,a=i+t.width,c=Kw(Ex(l)),u=c.innerHeight-g,d=c.innerWidth-g;if(null!==g&&o<g){const e=o-g;o-=e,r.vertical+=e}else if(null!==g&&s>u){const e=s-u;o-=e,r.vertical+=e}if(null!==g&&i<g){const e=i-g;i-=e,r.horizontal+=e}else if(a>d){const e=a-d;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Rx(r)}},[l,p,P,L,g]),[N,j]=n.useState(v),$=n.useCallback(()=>{const e=R.current;if(!e)return;const t=F(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,j(!0)},[F]);n.useEffect(()=>(C&&window.addEventListener("scroll",$),()=>window.removeEventListener("scroll",$)),[l,C,$]),n.useEffect(()=>{v&&$()}),n.useImperativeHandle(a,()=>v?{updatePosition:()=>{$()}}:null,[v,$]),n.useEffect(()=>{if(!v)return;const e=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n}(()=>{$()}),t=Kw(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[l,v,$]);let z=S;"auto"!==S||_.muiSupportAuto||(z=void 0);const B=h||(l?Gw(Ex(l)).body:void 0),D=null!=(o=null==b?void 0:b.root)?o:Ox,W=null!=(i=null==b?void 0:b.paper)?i:Tx,U=ki({elementType:W,externalSlotProps:(0,ve.A)({},M,{style:N?M.style:(0,ve.A)({},M.style,{opacity:0})}),additionalProps:{elevation:m,ref:E},ownerState:O,className:Bn(T.paper,null==M?void 0:M.className)}),q=ki({elementType:D,externalSlotProps:(null==w?void 0:w.root)||{},externalForwardedProps:I,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:B,open:v},ownerState:O,className:Bn(T.root,f)}),{slotProps:V}=q,H=(0,ye.A)(q,Ax);return(0,_e.jsx)(D,(0,ve.A)({},H,!wi(D)&&{slotProps:V,disableScrollLock:C},{children:(0,_e.jsx)(_,(0,ve.A)({appear:!0,in:v,onEntering:(e,t)=>{k&&k(e,t),$()},onExited:()=>{j(!1)},timeout:z},A,{children:(0,_e.jsx)(W,(0,ve.A)({},U,{children:d}))}))}))}),Lx=Px;var Fx=o().forwardRef((e,t)=>{const{direction:r}=Pi(),n={...e};return"rtl"===r&&(n.anchorOrigin?.horizontal&&(n.anchorOrigin={...n.anchorOrigin,horizontal:"left"===n.anchorOrigin.horizontal?"right":"left"}),n.transformOrigin?.horizontal&&(n.transformOrigin={...n.transformOrigin,horizontal:"left"===n.transformOrigin.horizontal?"right":"left"})),o().createElement(Lx,{...n,ref:t})});function Nx(e){return So("MuiTypography",e)}ko("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const jx=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],$x=Hn("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${Vo(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,ve.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),zx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Bx={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Dx=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiTypography"}),n=(e=>Bx[e]||e)(r.color),o=(0,Bw.A)((0,ve.A)({},r,{color:n})),{align:i="inherit",className:s,component:a,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:p="body1",variantMapping:d=zx}=o,f=(0,ye.A)(o,jx),h=(0,ve.A)({},o,{align:i,color:n,className:s,component:a,gutterBottom:l,noWrap:c,paragraph:u,variant:p,variantMapping:d}),m=a||(u?"p":d[p]||zx[p])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:s}=e;return Dn({root:["root",i,"inherit"!==e.align&&`align${Vo(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},Nx,s)})(h);return(0,_e.jsx)($x,(0,ve.A)({as:m,ref:t,ownerState:h,className:Bn(g.root,s)},f))});var Wx=o().forwardRef((e,t)=>o().createElement(Dx,{...e,ref:t}));function Ux(e){return So("MuiButton",e)}const qx=ko("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"]),Vx=n.createContext({}),Hx=n.createContext(void 0),Gx=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Kx=e=>(0,ve.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}}),Xx=Hn(qo,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Vo(r.color)}`],t[`size${Vo(r.size)}`],t[`${r.variant}Size${Vo(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,ve.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,ve.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,nr.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,nr.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,nr.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,ve.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${qx.focusVisible}`]:(0,ve.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${qx.disabled}`]:(0,ve.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,nr.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"},[`&.${qx.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${qx.disabled}`]:{boxShadow:"none"}}),Yx=Hn("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Vo(r.size)}`]]}})(({ownerState:e})=>(0,ve.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Kx(e))),Zx=Hn("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Vo(r.size)}`]]}})(({ownerState:e})=>(0,ve.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Kx(e))),Jx=n.forwardRef(function(e,t){const r=n.useContext(Vx),o=n.useContext(Hx),i=Kn({props:Vt(r,e),name:"MuiButton"}),{children:s,color:a="primary",component:l="button",className:c,disabled:u=!1,disableElevation:p=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:h,fullWidth:m=!1,size:g="medium",startIcon:v,type:y,variant:b="text"}=i,w=(0,ye.A)(i,Gx),x=(0,ve.A)({},i,{color:a,component:l,disabled:u,disableElevation:p,disableFocusRipple:d,fullWidth:m,size:g,type:y,variant:b}),_=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:s}=e,a=Dn({root:["root",i,`${i}${Vo(t)}`,`size${Vo(o)}`,`${i}Size${Vo(o)}`,`color${Vo(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Vo(o)}`],endIcon:["icon","endIcon",`iconSize${Vo(o)}`]},Ux,s);return(0,ve.A)({},s,a)})(x),S=v&&(0,_e.jsx)(Yx,{className:_.startIcon,ownerState:x,children:v}),k=f&&(0,_e.jsx)(Zx,{className:_.endIcon,ownerState:x,children:f}),C=o||"";return(0,_e.jsxs)(Xx,(0,ve.A)({ownerState:x,className:Bn(r.className,_.root,c,C),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:Bn(_.focusVisible,h),ref:t,type:y},w,{classes:_,children:[S,s,k]}))});function Qx(e){return So("MuiCircularProgress",e)}ko("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const e_=["className","color","disableShrink","size","style","thickness","value","variant"];let t_,r_,n_,o_,i_=e=>e;const s_=(0,bo.i7)(t_||(t_=i_`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),a_=(0,bo.i7)(r_||(r_=i_`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),l_=Hn("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Vo(r.color)}`]]}})(({ownerState:e,theme:t})=>(0,ve.A)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>"indeterminate"===e.variant&&(0,bo.AH)(n_||(n_=i_`
      animation: ${0} 1.4s linear infinite;
    `),s_)),c_=Hn("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),u_=Hn("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Vo(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>(0,ve.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,bo.AH)(o_||(o_=i_`
      animation: ${0} 1.4s ease-in-out infinite;
    `),a_)),p_=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:i=!1,size:s=40,style:a,thickness:l=3.6,value:c=0,variant:u="indeterminate"}=r,p=(0,ye.A)(r,e_),d=(0,ve.A)({},r,{color:o,disableShrink:i,size:s,thickness:l,value:c,variant:u}),f=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e;return Dn({root:["root",r,`color${Vo(n)}`],svg:["svg"],circle:["circle",`circle${Vo(r)}`,o&&"circleDisableShrink"]},Qx,t)})(d),h={},m={},g={};if("determinate"===u){const e=2*Math.PI*((44-l)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,_e.jsx)(l_,(0,ve.A)({className:Bn(f.root,n),style:(0,ve.A)({width:s,height:s},m,a),ownerState:d,ref:t,role:"progressbar"},g,p,{children:(0,_e.jsx)(c_,{className:f.svg,ownerState:d,viewBox:"22 22 44 44",children:(0,_e.jsx)(u_,{className:f.circle,style:h,ownerState:d,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})}))}),d_=p_;var f_=o().forwardRef((e,t)=>o().createElement(d_,{...e,ref:t}));const h_="rgba(0, 0, 0, 0.04)",m_="rgba(0, 0, 0, 0.08)",g_=ci(Jx)(({theme:e,ownerState:t})=>{const{color:r,unstableToColor:n,unstableGradientAngle:o}=t,i=r&&"inherit"!==r?r:"primary",s=!!e.palette[i]?.__unstableTonalMain,a=({variant:e})=>"unstableTonal"===e&&s,l=({variant:e})=>!!e&&!["contained","outlined","text"].includes(e);return{variants:[{props:()=>t.loading&&"center"===t.loadingPosition,style:{"&.MuiButtonBase-root":{"&, &:hover, &:focus, &:active":{color:"transparent"}},"& .MuiButton-loadingWrapper":{display:"contents","& .MuiButton-loadingIndicator":{display:"flex",position:"absolute",left:"50%",transform:"translateX(-50%)",color:e.palette.action.disabled}}}},{props:e=>a(e)&&"inherit"!==e.color&&!e.disabled,style:{background:e.palette[i]?.__unstableTonalMain,color:e.palette[i].main,"&:hover":{backgroundColor:e.palette[i]?.__unstableTonalDark}}},{props:e=>e.disabled&&l(e),style:{background:e.palette.action.disabledBackground,color:e.palette.action.disabled}},{props:e=>a(e)&&"inherit"===e.color,style:{background:h_,color:"inherit","&:hover":{backgroundColor:m_}}},{props:e=>"unstableTonal"===e.variant&&!s,style:{background:"#ff0000",color:"#ff0000"}},{props:e=>"small"===e.size&&l(e),style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:e=>"large"===e.size&&l(e),style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:e=>(({variant:e})=>"unstableGradient"===e&&s)(e)&&!e.disabled,style:S_(e,o,r,n)},{props:e=>"unstableGradient"===e.variant&&!s,style:{background:"#ff0000",color:"#ff0000"}}]}}),v_=(e="primary",t="text",r)=>{if(e)return"inherit"===e?"inherit":"contained"===t?`${e}.contrastText`:"unstableTonal"===t?`${e}.main`:r.palette.primary.__unstableAccessibleMain&&It.includes(e)?`${e}.${se}`:`${e}.main`},y_={loading:!1,loadingIndicator:o().createElement(f_,{color:"inherit",size:16}),loadingPosition:"center"},b_=o().forwardRef((e,t)=>{const r={...y_,...e},n=o().useContext(Vx),i=Pi(),{sx:s={},unstableToColor:a,unstableGradientAngle:l,...c}=function(e){const{loading:t,loadingPosition:r,loadingIndicator:n,...i}=e;if(!t)return i;switch(r){case"start":i.startIcon=n;break;case"end":i.endIcon=n;break;case"center":i.children=o().createElement(x_,{loadingIndicator:n},e.children)}return{...i,disabled:!0}}(r),u={...c,loading:r.loading,loadingPosition:r.loadingPosition,loadingIndicator:r.loadingIndicator,unstableToColor:a,unstableGradientAngle:l};let p={};const d=c.href?ie:"&:hover,&:focus,&:active",f=c.color||n?.color,h=c.variant||n?.variant;return p={[d]:{color:v_(f,h,i)}},o().createElement(g_,{...c,color:f,variant:h,sx:{...p,...s},ref:t,ownerState:u})});var w_=b_;function x_({loadingIndicator:e,children:t}){return o().createElement(o().Fragment,null,o().createElement("div",{className:"MuiButton-loadingWrapper"},o().createElement("div",{className:"MuiButton-loadingIndicator"},e)),t)}function S_(e,t,r,n){if(!r)return;const o=r,i=function(e,t){if(void 0!==t)return t;const{__unstableGradientAngle:r}=e.palette.action;return void 0!==r?r:125}(e,t);let{main:s,__unstableTonalMain:a,__unstableTonalDark:l}=e.palette[o]||{};"inherit"===r&&(s="inherit",a=h_,l=m_);const c=[a],u=[l];if(n){const t=n,{__unstableTonalMain:r,__unstableTonalDark:o}=e.palette[t];c.push(r),u.push(o)}return{color:s,backgroundImage:`linear-gradient( ${i}deg, ${c.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${i}deg, ${u.join(",")} )`}}}b_.defaultProps=y_;const k_=window.wp.date,C_=({variant:e="icon"})=>{const{save:t,get:r}=bs(),{currentPage:n,setIsOpened:o,handleClose:i,handleSubmit:s}=jw(),a=async()=>{r.hasFinishedResolution&&await t({ea11y_review_data:{...r.data.ea11y_review_data,dismissals:r.data.ea11y_review_data.dismissals+1,hide_for_days:r.data.ea11y_review_data.hide_for_days+30,last_dismiss:(0,k_.date)("Y-m-d H:i:s")}}),o(!1)};return"icon"===e?(0,_e.jsx)(vi,{onClick:a}):"button"===e?(0,_e.jsxs)(Vw,{display:"flex",flexDirection:"row",gap:1,p:"feedback"===n?2:0,width:"100%",justifyContent:"end",children:[(0,_e.jsx)(w_,{color:"secondary",variant:"text",fullWidth:"feedback"!==n,sx:{p:"feedback"===n?.5:2},onClick:a,size:"small",children:(0,Aw.__)("Not now","pojo-accessibility")}),"feedback"===n&&(0,_e.jsx)(w_,{color:"secondary",variant:"contained",onClick:()=>s(i),size:"small",children:(0,Aw.__)("Submit","pojo-accessibility")})]}):void 0};function A_(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function I_(e,t=!1){return e&&(A_(e.value)&&""!==e.value||t&&A_(e.defaultValue)&&""!==e.defaultValue)}const M_=function(e,t){var r,o;return n.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)},R_=n.createContext(void 0);function E_(e){return So("MuiFormControl",e)}ko("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const O_=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],T_=Hn("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,ve.A)({},t.root,t[`margin${Vo(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>(0,ve.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),P_=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:p=!1,hiddenLabel:d=!1,margin:f="none",required:h=!1,size:m="medium",variant:g="outlined"}=r,v=(0,ye.A)(r,O_),y=(0,ve.A)({},r,{color:s,component:a,disabled:l,error:c,fullWidth:p,hiddenLabel:d,margin:f,required:h,size:m,variant:g}),b=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return Dn({root:["root","none"!==r&&`margin${Vo(r)}`,n&&"fullWidth"]},E_,t)})(y),[w,x]=n.useState(()=>{let e=!1;return o&&n.Children.forEach(o,t=>{if(!M_(t,["Input","Select"]))return;const r=M_(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)}),e}),[_,S]=n.useState(()=>{let e=!1;return o&&n.Children.forEach(o,t=>{M_(t,["Input","Select"])&&(I_(t.props,!0)||I_(t.props.inputProps,!0))&&(e=!0)}),e}),[k,C]=n.useState(!1);l&&k&&C(!1);const A=void 0===u||l?k:u;let I;const M=n.useMemo(()=>({adornedStart:w,setAdornedStart:x,color:s,disabled:l,error:c,filled:_,focused:A,fullWidth:p,hiddenLabel:d,size:m,onBlur:()=>{C(!1)},onEmpty:()=>{S(!1)},onFilled:()=>{S(!0)},onFocus:()=>{C(!0)},registerEffect:I,required:h,variant:g}),[w,s,l,c,_,A,p,d,I,h,m,g]);return(0,_e.jsx)(R_.Provider,{value:M,children:(0,_e.jsx)(T_,(0,ve.A)({as:a,ownerState:y,className:Bn(b.root,i),ref:t},v,{children:o}))})}),L_=P_;var F_=o().forwardRef((e,t)=>o().createElement(L_,{...e,ref:t}));const N_=["onChange","maxRows","minRows","style","value"];function j_(e){return parseInt(e,10)||0}const $_={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},z_=n.forwardRef(function(e,t){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:a}=e,l=(0,ye.A)(e,N_),{current:c}=n.useRef(null!=a),u=n.useRef(null),p=bi(t,u),d=n.useRef(null),f=n.useCallback(()=>{const t=u.current,r=Yw(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const n=d.current;n.style.width=r.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const s=r.boxSizing,a=j_(r.paddingBottom)+j_(r.paddingTop),l=j_(r.borderBottomWidth)+j_(r.borderTopWidth),c=n.scrollHeight;n.value="x";const p=n.scrollHeight;let f=c;return i&&(f=Math.max(Number(i)*p,f)),o&&(f=Math.min(Number(o)*p,f)),f=Math.max(f,p),{outerHeightStyle:f+("border-box"===s?a+l:0),overflowing:Math.abs(f-c)<=1}},[o,i,e.placeholder]),h=n.useCallback(()=>{const e=f();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=u.current;r.style.height=`${e.outerHeightStyle}px`,r.style.overflow=e.overflowing?"hidden":""},[f]);return Ci(()=>{const e=()=>{h()};const t=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n}(e),r=u.current,n=Yw(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}},[f,h]),Ci(()=>{h()}),(0,_e.jsxs)(n.Fragment,{children:[(0,_e.jsx)("textarea",(0,ve.A)({value:a,onChange:e=>{c||h(),r&&r(e)},ref:p,rows:i,style:s},l)),(0,_e.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:(0,ve.A)({},$_,s,{paddingTop:0,paddingBottom:0})})]})});function B_({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}function D_(){return n.useContext(R_)}const W_=Te,U_=function(e){return(0,_e.jsx)(We,(0,ve.A)({},e,{defaultTheme:Un,themeId:He}))};function q_(e){return So("MuiInputBase",e)}const V_=ko("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),H_=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],G_=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Vo(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},K_=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},X_=Hn("div",{name:"MuiInputBase",slot:"Root",overridesResolver:G_})(({theme:e,ownerState:t})=>(0,ve.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${V_.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,ve.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Y_=Hn("input",{name:"MuiInputBase",slot:"Input",overridesResolver:K_})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=(0,ve.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return(0,ve.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${V_.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${V_.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})}),Z_=(0,_e.jsx)(U_,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),J_=n.forwardRef(function(e,t){var r;const o=Kn({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:a,className:l,components:c={},componentsProps:u={},defaultValue:p,disabled:d,disableInjectingGlobalStyles:f,endAdornment:h,fullWidth:m=!1,id:g,inputComponent:v="input",inputProps:y={},inputRef:b,maxRows:w,minRows:x,multiline:_=!1,name:S,onBlur:k,onChange:C,onClick:A,onFocus:I,onKeyDown:M,onKeyUp:R,placeholder:E,readOnly:O,renderSuffix:T,rows:P,slotProps:L={},slots:F={},startAdornment:N,type:j="text",value:$}=o,z=(0,ye.A)(o,H_),B=null!=y.value?y.value:$,{current:D}=n.useRef(null!=B),W=n.useRef(),U=n.useCallback(e=>{},[]),q=Xn(W,b,y.ref,U),[V,H]=n.useState(!1),G=D_(),K=B_({props:o,muiFormControl:G,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=G?G.focused:V,n.useEffect(()=>{!G&&d&&V&&(H(!1),k&&k())},[G,d,V,k]);const X=G&&G.onFilled,Y=G&&G.onEmpty,Z=n.useCallback(e=>{I_(e)?X&&X():Y&&Y()},[X,Y]);W_(()=>{D&&Z({value:B})},[B,Z,D]),n.useEffect(()=>{Z(W.current)},[]);let J=v,Q=y;_&&"input"===J&&(Q=P?(0,ve.A)({type:void 0,minRows:P,maxRows:P},Q):(0,ve.A)({type:void 0,maxRows:w,minRows:x},Q),J=z_),n.useEffect(()=>{G&&G.setAdornedStart(Boolean(N))},[G,N]);const ee=(0,ve.A)({},o,{color:K.color||"primary",disabled:K.disabled,endAdornment:h,error:K.error,focused:K.focused,formControl:G,fullWidth:m,hiddenLabel:K.hiddenLabel,multiline:_,size:K.size,startAdornment:N,type:j}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:p,size:d,startAdornment:f,type:h}=e;return Dn({root:["root",`color${Vo(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",d&&"medium"!==d&&`size${Vo(d)}`,u&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===d&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]},q_,t)})(ee),re=F.root||c.Root||X_,ne=L.root||u.root||{},oe=F.input||c.Input||Y_;return Q=(0,ve.A)({},Q,null!=(r=L.input)?r:u.input),(0,_e.jsxs)(n.Fragment,{children:[!f&&Z_,(0,_e.jsxs)(re,(0,ve.A)({},ne,!wi(re)&&{ownerState:(0,ve.A)({},ee,ne.ownerState)},{ref:t,onClick:e=>{W.current&&e.currentTarget===e.target&&W.current.focus(),A&&A(e)}},z,{className:Bn(te.root,ne.className,l,O&&"MuiInputBase-readOnly"),children:[N,(0,_e.jsx)(R_.Provider,{value:null,children:(0,_e.jsx)(oe,(0,ve.A)({ownerState:ee,"aria-invalid":K.error,"aria-describedby":i,autoComplete:s,autoFocus:a,defaultValue:p,disabled:K.disabled,id:g,onAnimationStart:e=>{Z("mui-auto-fill-cancel"===e.animationName?W.current:{value:"x"})},name:S,placeholder:E,readOnly:O,required:K.required,rows:P,value:B,onKeyDown:M,onKeyUp:R,type:j},Q,!wi(oe)&&{as:J,ownerState:(0,ve.A)({},ee,Q.ownerState)},{ref:q,className:Bn(te.input,Q.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{k&&k(e),y.onBlur&&y.onBlur(e),G&&G.onBlur?G.onBlur(e):H(!1)},onChange:(e,...t)=>{if(!D){const t=e.target||W.current;if(null==t)throw new Error((0,Et.A)(1));Z({value:t.value})}y.onChange&&y.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{K.disabled?e.stopPropagation():(I&&I(e),y.onFocus&&y.onFocus(e),G&&G.onFocus?G.onFocus(e):H(!0))}}))}),h,T?T((0,ve.A)({},K,{startAdornment:N})):null]}))]})}),Q_=J_;function eS(e){return So("MuiInput",e)}const tS=(0,ve.A)({},V_,ko("MuiInput",["root","underline","input"])),rS=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],nS=Hn(X_,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...G_(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,ve.A)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${tS.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${tS.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${tS.disabled}, .${tS.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${tS.disabled}:before`]:{borderBottomStyle:"dotted"}})}),oS=Hn(Y_,{name:"MuiInput",slot:"Input",overridesResolver:K_})({}),iS=n.forwardRef(function(e,t){var r,n,o,i;const s=Kn({props:e,name:"MuiInput"}),{disableUnderline:a,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:p="input",multiline:d=!1,slotProps:f,slots:h={},type:m="text"}=s,g=(0,ye.A)(s,rS),v=(e=>{const{classes:t,disableUnderline:r}=e,n=Dn({root:["root",!r&&"underline"],input:["input"]},eS,t);return(0,ve.A)({},t,n)})(s),y={root:{ownerState:{disableUnderline:a}}},b=(null!=f?f:c)?(0,Qt.A)(null!=f?f:c,y):y,w=null!=(r=null!=(n=h.root)?n:l.Root)?r:nS,x=null!=(o=null!=(i=h.input)?i:l.Input)?o:oS;return(0,_e.jsx)(Q_,(0,ve.A)({slots:{root:w,input:x},slotProps:b,fullWidth:u,inputComponent:p,multiline:d,ref:t,type:m},g,{classes:v}))});iS.muiName="Input";const sS=iS;function aS(e){return So("MuiFilledInput",e)}const lS=(0,ve.A)({},V_,ko("MuiFilledInput",["root","underline","input"])),cS=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],uS=Hn(X_,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...G_(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,ve.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${lS.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${lS.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${lS.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${lS.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${lS.disabled}, .${lS.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${lS.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,ve.A)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))}),pS=Hn(Y_,{name:"MuiFilledInput",slot:"Input",overridesResolver:K_})(({theme:e,ownerState:t})=>(0,ve.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),dS=n.forwardRef(function(e,t){var r,n,o,i;const s=Kn({props:e,name:"MuiFilledInput"}),{components:a={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:p=!1,slotProps:d,slots:f={},type:h="text"}=s,m=(0,ye.A)(s,cS),g=(0,ve.A)({},s,{fullWidth:c,inputComponent:u,multiline:p,type:h}),v=(e=>{const{classes:t,disableUnderline:r}=e,n=Dn({root:["root",!r&&"underline"],input:["input"]},aS,t);return(0,ve.A)({},t,n)})(s),y={root:{ownerState:g},input:{ownerState:g}},b=(null!=d?d:l)?(0,Qt.A)(y,null!=d?d:l):y,w=null!=(r=null!=(n=f.root)?n:a.Root)?r:uS,x=null!=(o=null!=(i=f.input)?i:a.Input)?o:pS;return(0,_e.jsx)(Q_,(0,ve.A)({slots:{root:w,input:x},componentsProps:b,fullWidth:c,inputComponent:u,multiline:p,ref:t,type:h},m,{classes:v}))});dS.muiName="Input";const fS=dS;var hS;const mS=["children","classes","className","label","notched"],gS=Hn("fieldset",{shouldForwardProp:Vn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),vS=Hn("legend",{shouldForwardProp:Vn})(({ownerState:e,theme:t})=>(0,ve.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,ve.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function yS(e){return So("MuiOutlinedInput",e)}const bS=(0,ve.A)({},V_,ko("MuiOutlinedInput",["root","notchedOutline","input"])),wS=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],xS=Hn(X_,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:G_})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,ve.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${bS.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${bS.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${bS.focused} .${bS.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${bS.error} .${bS.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${bS.disabled} .${bS.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,ve.A)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))}),_S=Hn(function(e){const{className:t,label:r,notched:n}=e,o=(0,ye.A)(e,mS),i=null!=r&&""!==r,s=(0,ve.A)({},e,{notched:n,withLabel:i});return(0,_e.jsx)(gS,(0,ve.A)({"aria-hidden":!0,className:t,ownerState:s},o,{children:(0,_e.jsx)(vS,{ownerState:s,children:i?(0,_e.jsx)("span",{children:r}):hS||(hS=(0,_e.jsx)("span",{className:"notranslate",children:"​"}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),SS=Hn(Y_,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:K_})(({theme:e,ownerState:t})=>(0,ve.A)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),kS=n.forwardRef(function(e,t){var r,o,i,s,a;const l=Kn({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:p="input",label:d,multiline:f=!1,notched:h,slots:m={},type:g="text"}=l,v=(0,ye.A)(l,wS),y=(e=>{const{classes:t}=e,r=Dn({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},yS,t);return(0,ve.A)({},t,r)})(l),b=D_(),w=B_({props:l,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x=(0,ve.A)({},l,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:b,fullWidth:u,hiddenLabel:w.hiddenLabel,multiline:f,size:w.size,type:g}),_=null!=(r=null!=(o=m.root)?o:c.Root)?r:xS,S=null!=(i=null!=(s=m.input)?s:c.Input)?i:SS;return(0,_e.jsx)(Q_,(0,ve.A)({slots:{root:_,input:S},renderSuffix:e=>(0,_e.jsx)(_S,{ownerState:x,className:y.notchedOutline,label:null!=d&&""!==d&&w.required?a||(a=(0,_e.jsxs)(n.Fragment,{children:[d," ","*"]})):d,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:p,multiline:f,ref:t,type:g},v,{classes:(0,ve.A)({},y,{notchedOutline:null})}))});kS.muiName="Input";const CS=kS;function AS(e){return So("MuiFormLabel",e)}const IS=ko("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),MS=["children","className","color","component","disabled","error","filled","focused","required"],RS=Hn("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,ve.A)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>(0,ve.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${IS.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${IS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${IS.error}`]:{color:(e.vars||e).palette.error.main}})),ES=Hn("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${IS.error}`]:{color:(e.vars||e).palette.error.main}})),OS=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:i="label"}=r,s=(0,ye.A)(r,MS),a=B_({props:r,muiFormControl:D_(),states:["color","required","focused","disabled","error","filled"]}),l=(0,ve.A)({},r,{color:a.color||"primary",component:i,disabled:a.disabled,error:a.error,filled:a.filled,focused:a.focused,required:a.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:i,filled:s,required:a}=e;return Dn({root:["root",`color${Vo(r)}`,o&&"disabled",i&&"error",s&&"filled",n&&"focused",a&&"required"],asterisk:["asterisk",i&&"error"]},AS,t)})(l);return(0,_e.jsxs)(RS,(0,ve.A)({as:i,ownerState:l,className:Bn(c.root,o),ref:t},s,{children:[n,a.required&&(0,_e.jsxs)(ES,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))});function TS(e){return So("MuiInputLabel",e)}ko("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const PS=["disableAnimation","margin","shrink","variant","className"],LS=Hn(OS,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${IS.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,ve.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,ve.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,ve.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,ve.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),FS=n.forwardRef(function(e,t){const r=Kn({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:i}=r,s=(0,ye.A)(r,PS),a=D_();let l=o;void 0===l&&a&&(l=a.filled||a.focused||a.adornedStart);const c=B_({props:r,muiFormControl:a,states:["size","variant","required","focused"]}),u=(0,ve.A)({},r,{disableAnimation:n,formControl:a,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),p=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:i,variant:s,required:a}=e,l=Dn({root:["root",r&&"formControl",!i&&"animated",o&&"shrink",n&&"normal"!==n&&`size${Vo(n)}`,s],asterisk:[a&&"asterisk"]},TS,t);return(0,ve.A)({},t,l)})(u);return(0,_e.jsx)(LS,(0,ve.A)({"data-shrink":l,ownerState:u,ref:t,className:Bn(p.root,i)},s,{classes:p}))});function NS(e){return So("MuiFormHelperText",e)}const jS=ko("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var $S;const zS=["children","className","component","disabled","error","filled","focused","margin","required","variant"],BS=Hn("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${Vo(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>(0,ve.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${jS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${jS.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),DS=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:i="p"}=r,s=(0,ye.A)(r,zS),a=B_({props:r,muiFormControl:D_(),states:["variant","size","disabled","error","filled","focused","required"]}),l=(0,ve.A)({},r,{component:i,contained:"filled"===a.variant||"outlined"===a.variant,variant:a.variant,size:a.size,disabled:a.disabled,error:a.error,filled:a.filled,focused:a.focused,required:a.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:i,filled:s,focused:a,required:l}=e;return Dn({root:["root",o&&"disabled",i&&"error",n&&`size${Vo(n)}`,r&&"contained",a&&"focused",s&&"filled",l&&"required"]},NS,t)})(l);return(0,_e.jsx)(BS,(0,ve.A)({as:i,ownerState:l,className:Bn(c.root,o),ref:t},s,{children:" "===n?$S||($S=(0,_e.jsx)("span",{className:"notranslate",children:"​"})):n}))});r(4363);const WS=n.createContext({});function US(e){return So("MuiList",e)}ko("MuiList",["root","padding","dense","subheader"]);const qS=["children","className","component","dense","disablePadding","subheader"],VS=Hn("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>(0,ve.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),HS=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:c}=r,u=(0,ye.A)(r,qS),p=n.useMemo(()=>({dense:a}),[a]),d=(0,ve.A)({},r,{component:s,dense:a,disablePadding:l}),f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Dn({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},US,t)})(d);return(0,_e.jsx)(WS.Provider,{value:p,children:(0,_e.jsxs)(VS,(0,ve.A)({as:s,className:Bn(f.root,i),ref:t,ownerState:d},u,{children:[c,o]}))})}),GS=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function KS(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function XS(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function YS(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function ZS(e,t,r,n,o,i){let s=!1,a=o(e,t,!!t&&r);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const t=!n&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&YS(a,i)&&!t)return a.focus(),!0;a=o(e,a,r)}return!1}const JS=n.forwardRef(function(e,t){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:p="selectedMenu"}=e,d=(0,ye.A)(e,GS),f=n.useRef(null),h=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});W_(()=>{o&&f.current.focus()},[o]),n.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(Gw(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}}),[]);const m=Xn(f,t);let g=-1;n.Children.forEach(s,(e,t)=>{n.isValidElement(e)?(e.props.disabled||("selectedMenu"===p&&e.props.selected||-1===g)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=s.length&&(g=-1))):g===t&&(g+=1,g>=s.length&&(g=-1))});const v=n.Children.map(s,(e,t)=>{if(t===g){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),n.cloneElement(e,t)}return e});return(0,_e.jsx)(HS,(0,ve.A)({role:"menu",ref:m,className:a,onKeyDown:e=>{const t=f.current,r=e.key,n=Gw(t).activeElement;if("ArrowDown"===r)e.preventDefault(),ZS(t,n,c,l,KS);else if("ArrowUp"===r)e.preventDefault(),ZS(t,n,c,l,XS);else if("Home"===r)e.preventDefault(),ZS(t,null,c,l,KS);else if("End"===r)e.preventDefault(),ZS(t,null,c,l,XS);else if(1===r.length){const o=h.current,i=r.toLowerCase(),s=performance.now();o.keys.length>0&&(s-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=s,o.keys.push(i);const a=n&&!o.repeating&&YS(n,o);o.previousKeyMatched&&(a||ZS(t,n,!1,l,KS,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},d,{children:v}))}),QS=JS;function ek(e){return So("MuiMenu",e)}ko("MuiMenu",["root","paper","list"]);const tk=["onEntering"],rk=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],nk={vertical:"top",horizontal:"right"},ok={vertical:"top",horizontal:"left"},ik=Hn(Lx,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sk=Hn(Tx,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ak=Hn(QS,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),lk=n.forwardRef(function(e,t){var r,o;const i=Kn({props:e,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:p,open:d,PaperProps:f={},PopoverClasses:h,transitionDuration:m="auto",TransitionProps:{onEntering:g}={},variant:v="selectedMenu",slots:y={},slotProps:b={}}=i,w=(0,ye.A)(i.TransitionProps,tk),x=(0,ye.A)(i,rk),_=Me(),S=(0,ve.A)({},i,{autoFocus:s,disableAutoFocusItem:c,MenuListProps:u,onEntering:g,PaperProps:f,transitionDuration:m,TransitionProps:w,variant:v}),k=(e=>{const{classes:t}=e;return Dn({root:["root"],paper:["paper"],list:["list"]},ek,t)})(S),C=s&&!c&&d,A=n.useRef(null);let I=-1;n.Children.map(a,(e,t)=>{n.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===I)&&(I=t))});const M=null!=(r=y.paper)?r:sk,R=null!=(o=b.paper)?o:f,E=ki({elementType:y.root,externalSlotProps:b.root,ownerState:S,className:[k.root,l]}),O=ki({elementType:M,externalSlotProps:R,ownerState:S,className:k.paper});return(0,_e.jsx)(ik,(0,ve.A)({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?nk:ok,slots:{paper:M,root:y.root},slotProps:{root:E,paper:O},open:d,ref:t,transitionDuration:m,TransitionProps:(0,ve.A)({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:_?"rtl":"ltr"}),g&&g(e,t)}},w),ownerState:S},x,{classes:h,children:(0,_e.jsx)(ak,(0,ve.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:A,autoFocus:s&&(-1===I||c),autoFocusItem:C,variant:v},u,{className:Bn(k.list,u.className),children:a}))}))}),ck=lk;function uk(e){return So("MuiNativeSelect",e)}const pk=ko("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),dk=["className","disabled","error","IconComponent","inputRef","variant"],fk=({ownerState:e,theme:t})=>(0,ve.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,ve.A)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${pk.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),hk=Hn("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Vn,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${pk.multiple}`]:t.multiple}]}})(fk),mk=({ownerState:e,theme:t})=>(0,ve.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${pk.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),gk=Hn("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Vo(r.variant)}`],r.open&&t.iconOpen]}})(mk),vk=n.forwardRef(function(e,t){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:a,variant:l="standard"}=e,c=(0,ye.A)(e,dk),u=(0,ve.A)({},e,{disabled:o,variant:l,error:i}),p=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:s}=e;return Dn({select:["select",r,n&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Vo(r)}`,i&&"iconOpen",n&&"disabled"]},uk,t)})(u);return(0,_e.jsxs)(n.Fragment,{children:[(0,_e.jsx)(hk,(0,ve.A)({ownerState:u,className:Bn(p.select,r),disabled:o,ref:a||t},c)),e.multiple?null:(0,_e.jsx)(gk,{as:s,ownerState:u,className:p.icon})]})}),yk=function({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[s,a]=n.useState(t);return[i?e:s,n.useCallback(e=>{i||a(e)},[])]};function bk(e){return So("MuiSelect",e)}const wk=ko("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var xk;const _k=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Sk=Hn("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${wk.select}`]:t.select},{[`&.${wk.select}`]:t[r.variant]},{[`&.${wk.error}`]:t.error},{[`&.${wk.multiple}`]:t.multiple}]}})(fk,{[`&.${wk.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),kk=Hn("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Vo(r.variant)}`],r.open&&t.iconOpen]}})(mk),Ck=Hn("input",{shouldForwardProp:e=>qn(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ak(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Ik(e){return null==e||"string"==typeof e&&!e.trim()}const Mk=n.forwardRef(function(e,t){var r;const{"aria-describedby":o,"aria-label":i,autoFocus:s,autoWidth:a,children:l,className:c,defaultOpen:u,defaultValue:p,disabled:d,displayEmpty:f,error:h=!1,IconComponent:m,inputRef:g,labelId:v,MenuProps:y={},multiple:b,name:w,onBlur:x,onChange:_,onClose:S,onFocus:k,onOpen:C,open:A,readOnly:I,renderValue:M,SelectDisplayProps:R={},tabIndex:E,value:O,variant:T="standard"}=e,P=(0,ye.A)(e,_k),[L,F]=yk({controlled:O,default:p,name:"Select"}),[N,j]=yk({controlled:A,default:u,name:"Select"}),$=n.useRef(null),z=n.useRef(null),[B,D]=n.useState(null),{current:W}=n.useRef(null!=A),[U,q]=n.useState(),V=Xn(t,g),H=n.useCallback(e=>{z.current=e,e&&D(e)},[]),G=null==B?void 0:B.parentNode;n.useImperativeHandle(V,()=>({focus:()=>{z.current.focus()},node:$.current,value:L}),[L]),n.useEffect(()=>{u&&N&&B&&!W&&(q(a?null:G.clientWidth),z.current.focus())},[B,a]),n.useEffect(()=>{s&&z.current.focus()},[s]),n.useEffect(()=>{if(!v)return;const e=Gw(z.current).getElementById(v);if(e){const t=()=>{getSelection().isCollapsed&&z.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[v]);const K=(e,t)=>{e?C&&C(t):S&&S(t),W||(q(a?null:G.clientWidth),j(e))},X=n.Children.toArray(l),Y=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(b){r=Array.isArray(L)?L.slice():[];const t=L.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),L!==r&&(F(r),_)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:w}}),_(o,e)}b||K(!1,t)}},Z=null!==B&&N;let J,Q;delete P["aria-invalid"];const ee=[];let te=!1,re=!1;(I_({value:L})||f)&&(M?J=M(L):te=!0);const ne=X.map(e=>{if(!n.isValidElement(e))return null;let t;if(b){if(!Array.isArray(L))throw new Error((0,Et.A)(2));t=L.some(t=>Ak(t,e.props.value)),t&&te&&ee.push(e.props.children)}else t=Ak(L,e.props.value),t&&te&&(Q=e.props.children);return t&&(re=!0),n.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Y(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});te&&(J=b?0===ee.length?null:ee.reduce((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e),[]):Q);let oe,ie=U;!a&&W&&B&&(ie=G.clientWidth),oe=void 0!==E?E:d?null:0;const se=R.id||(w?`mui-component-select-${w}`:void 0),ae=(0,ve.A)({},e,{variant:T,value:L,open:Z,error:h}),le=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:s}=e;return Dn({select:["select",r,n&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Vo(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},bk,t)})(ae),ce=(0,ve.A)({},y.PaperProps,null==(r=y.slotProps)?void 0:r.paper),ue=Fe();return(0,_e.jsxs)(n.Fragment,{children:[(0,_e.jsx)(Sk,(0,ve.A)({ref:H,tabIndex:oe,role:"combobox","aria-controls":ue,"aria-disabled":d?"true":void 0,"aria-expanded":Z?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[v,se].filter(Boolean).join(" ")||void 0,"aria-describedby":o,onKeyDown:e=>{I||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),K(!0,e))},onMouseDown:d||I?null:e=>{0===e.button&&(e.preventDefault(),z.current.focus(),K(!0,e))},onBlur:e=>{!Z&&x&&(Object.defineProperty(e,"target",{writable:!0,value:{value:L,name:w}}),x(e))},onFocus:k},R,{ownerState:ae,className:Bn(R.className,le.select,c),id:se,children:Ik(J)?xk||(xk=(0,_e.jsx)("span",{className:"notranslate",children:"​"})):J})),(0,_e.jsx)(Ck,(0,ve.A)({"aria-invalid":h,value:Array.isArray(L)?L.join(","):L,name:w,ref:$,"aria-hidden":!0,onChange:e=>{const t=X.find(t=>t.props.value===e.target.value);void 0!==t&&(F(t.props.value),_&&_(e,t))},tabIndex:-1,disabled:d,className:le.nativeInput,autoFocus:s,ownerState:ae},P)),(0,_e.jsx)(kk,{as:m,className:le.icon,ownerState:ae}),(0,_e.jsx)(ck,(0,ve.A)({id:`menu-${w||""}`,anchorEl:G,open:Z,onClose:e=>{K(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:(0,ve.A)({"aria-labelledby":v,role:"listbox","aria-multiselectable":b?"true":void 0,disableListWrap:!0,id:ue},y.MenuListProps),slotProps:(0,ve.A)({},y.slotProps,{paper:(0,ve.A)({},ce,{style:(0,ve.A)({minWidth:ie},null!=ce?ce.style:null)})}),children:ne}))]})}),Rk=Mk;function Ek(e,t){function r(r,n){return(0,_e.jsx)(ni,(0,ve.A)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=ni.muiName,n.memo(n.forwardRef(r))}const Ok=Ek((0,_e.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Tk=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Pk=["root"],Lk={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Vn(e)&&"variant"!==e,slot:"Root"},Fk=Hn(sS,Lk)(""),Nk=Hn(CS,Lk)(""),jk=Hn(fS,Lk)(""),$k=n.forwardRef(function(e,t){const r=Kn({name:"MuiSelect",props:e}),{autoWidth:o=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=Ok,id:p,input:d,inputProps:f,label:h,labelId:m,MenuProps:g,multiple:v=!1,native:y=!1,onClose:b,onOpen:w,open:x,renderValue:_,SelectDisplayProps:S,variant:k="outlined"}=r,C=(0,ye.A)(r,Tk),A=y?vk:Rk,I=B_({props:r,muiFormControl:D_(),states:["variant","error"]}),M=I.variant||k,R=(0,ve.A)({},r,{variant:M,classes:s}),E=(e=>{const{classes:t}=e;return t})(R),O=(0,ye.A)(E,Pk),T=d||{standard:(0,_e.jsx)(Fk,{ownerState:R}),outlined:(0,_e.jsx)(Nk,{label:h,ownerState:R}),filled:(0,_e.jsx)(jk,{ownerState:R})}[M],P=Xn(t,T.ref);return(0,_e.jsx)(n.Fragment,{children:n.cloneElement(T,(0,ve.A)({inputComponent:A,inputProps:(0,ve.A)({children:i,error:I.error,IconComponent:u,variant:M,type:void 0,multiple:v},y?{id:p}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:g,onClose:b,onOpen:w,open:x,renderValue:_,SelectDisplayProps:(0,ve.A)({id:p},S)},f,{classes:f?(0,Qt.A)(O,f.classes):O},d?d.props.inputProps:{})},(v&&y||c)&&"outlined"===M?{notched:!0}:{},{ref:P,className:Bn(T.props.className,a,E.root)},!d&&{variant:M},C))})});$k.muiName="Select";const zk=$k;function Bk(e){return So("MuiTextField",e)}ko("MuiTextField",["root"]);const Dk=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Wk={standard:sS,filled:fS,outlined:CS},Uk=Hn(L_,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qk=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:i,className:s,color:a="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:p,fullWidth:d=!1,helperText:f,id:h,InputLabelProps:m,inputProps:g,InputProps:v,inputRef:y,label:b,maxRows:w,minRows:x,multiline:_=!1,name:S,onBlur:k,onChange:C,onFocus:A,placeholder:I,required:M=!1,rows:R,select:E=!1,SelectProps:O,type:T,value:P,variant:L="outlined"}=r,F=(0,ye.A)(r,Dk),N=(0,ve.A)({},r,{autoFocus:o,color:a,disabled:c,error:u,fullWidth:d,multiline:_,required:M,select:E,variant:L}),j=(e=>{const{classes:t}=e;return Dn({root:["root"]},Bk,t)})(N),$={};"outlined"===L&&(m&&void 0!==m.shrink&&($.notched=m.shrink),$.label=b),E&&(O&&O.native||($.id=void 0),$["aria-describedby"]=void 0);const z=Fe(h),B=f&&z?`${z}-helper-text`:void 0,D=b&&z?`${z}-label`:void 0,W=Wk[L],U=(0,_e.jsx)(W,(0,ve.A)({"aria-describedby":B,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:d,multiline:_,name:S,rows:R,maxRows:w,minRows:x,type:T,value:P,id:z,inputRef:y,onBlur:k,onChange:C,onFocus:A,placeholder:I,inputProps:g},$,v));return(0,_e.jsxs)(Uk,(0,ve.A)({className:Bn(j.root,s),disabled:c,error:u,fullWidth:d,ref:t,required:M,color:a,variant:L,ownerState:N},F,{children:[null!=b&&""!==b&&(0,_e.jsx)(FS,(0,ve.A)({htmlFor:z,id:D},m,{children:b})),E?(0,_e.jsx)(zk,(0,ve.A)({"aria-describedby":B,id:z,labelId:D,value:P,input:U},O,{children:i})):U,f&&(0,_e.jsx)(DS,(0,ve.A)({id:B},p,{children:f}))]}))}),Vk=o().forwardRef((e,t)=>o().createElement(oi,{viewBox:"0 0 24 24",...e,ref:t},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 9.21967C5.76256 8.92678 6.23744 8.92678 6.53033 9.21967L12 14.6893L17.4697 9.21967C17.7626 8.92678 18.2374 8.92678 18.5303 9.21967C18.8232 9.51256 18.8232 9.98744 18.5303 10.2803L12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L5.46967 10.2803C5.17678 9.98744 5.17678 9.51256 5.46967 9.21967Z"})));o().forwardRef((e,t)=>{const{MenuProps:r={},...n}=e;return o().createElement(zk,{...n,MenuProps:{...r,MenuListProps:{dense:"tiny"===n.size,...r.MenuListProps||{}}},ref:t})}).defaultProps={IconComponent:Vk};const Hk=o().forwardRef((e,t)=>{const r={...e};return r.select&&(r.SelectProps={IconComponent:Vk,...r.SelectProps||{}},"tiny"===r.size&&(r.SelectProps.MenuProps={...r.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...r.SelectProps?.MenuProps?.MenuListProps||{}}})),"tiny"===r.size&&(r.InputLabelProps={size:"tiny",...r.InputLabelProps||{}}),o().createElement(qk,{...r,ref:t})}),Gk=()=>{const{feedback:e,setFeedback:t}=jw();return(0,_e.jsx)(F_,{fullWidth:!0,children:(0,_e.jsx)(Kk,{onChange:e=>t(e.target.value),minRows:5,multiline:!0,placeholder:(0,Aw.__)("Share your thoughts on how we can improve Ally …","pojo-accessibility"),value:e,color:"secondary"})})},Kk=ci(Hk)`
	textarea:focus,
	textarea:active {
		outline: none;
		box-shadow: none;
	}
`,Xk=["ownerState"],Yk=["variants"],Zk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Jk(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Qk(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const eC=(0,$e.A)(),tC=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function rC({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function nC(e){return e?(t,r)=>r[e]:null}function oC(e,t,r){let{ownerState:n}=t,o=(0,ye.A)(t,Xk);const i="function"==typeof e?e((0,ve.A)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap(e=>oC(e,(0,ve.A)({ownerState:n},o),r));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,ye.A)(i,Yk);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,ve.A)({ownerState:n},o,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,ve.A)({ownerState:n},o,n)):e.style;t.push(r?Qk((0,Ne.internal_serializeStyles)(i),r):i)}}),t}return r?Qk((0,Ne.internal_serializeStyles)(i),r):i}const iC=function(e={}){const{themeId:t,defaultTheme:r=eC,rootShouldForwardProp:n=Jk,slotShouldForwardProp:o=Jk}=e,i=e=>(0,tr.A)((0,ve.A)({},e,{theme:rC((0,ve.A)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,s={})=>{(0,Ne.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:a,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:p=nC(tC(l))}=s,d=(0,ye.A)(s,Zk),f=a&&a.startsWith("Mui")||l?"components":"custom",h=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let g=Jk;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const v=(0,Ne.default)(e,(0,ve.A)({shouldForwardProp:g,label:void 0},d)),y=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Qt.Q)(e)?n=>{const o=rC({theme:n.theme,defaultTheme:r,themeId:t});return oC(e,(0,ve.A)({},n,{theme:o}),o.modularCssLayers?f:void 0)}:e,b=(n,...o)=>{let s=y(n);const l=o?o.map(y):[];a&&p&&l.push(e=>{const n=rC((0,ve.A)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[a]||!n.components[a].styleOverrides)return null;const o=n.components[a].styleOverrides,i={};return Object.entries(o).forEach(([t,r])=>{i[t]=oC(r,(0,ve.A)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),p(e,i)}),a&&!h&&l.push(e=>{var n;const o=rC((0,ve.A)({},e,{defaultTheme:r,themeId:t}));return oC({variants:null==o||null==(n=o.components)||null==(n=n[a])?void 0:n.variants},(0,ve.A)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),m||l.push(i);const c=l.length-o.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");s=[...n,...e],s.raw=[...n.raw,...e]}const u=v(s,...l);return e.muiName&&(u.muiName=e.muiName),u};return v.withConfig&&(b.withConfig=v.withConfig),b}}(),sC=iC;var aC=r(435),lC=r(1069);const cC=["component","direction","spacing","divider","children","className","useFlexGap"],uC=(0,$e.A)(),pC=sC("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function dC(e){return Gn({props:e,name:"MuiStack",defaultTheme:uC})}function fC(e,t){const r=n.Children.toArray(e).filter(Boolean);return r.reduce((e,o,i)=>(e.push(o),i<r.length-1&&e.push(n.cloneElement(t,{key:`separator-${i}`})),e),[])}const hC=({ownerState:e,theme:t})=>{let r=(0,ve.A)({display:"flex",flexDirection:"column"},(0,aC.NI)({theme:t},(0,aC.kW)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){const n=(0,lC.LX)(t),o=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),i=(0,aC.kW)({values:e.direction,base:o}),s=(0,aC.kW)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,r)=>{if(!i[e]){const n=t>0?i[r[t-1]]:"column";i[e]=n}});const a=(t,r)=>{return e.useFlexGap?{gap:(0,lC._W)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=r?i[r]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,lC._W)(n,t)}};var o};r=(0,Qt.A)(r,(0,aC.NI)({theme:t},s,a))}return r=(0,aC.iZ)(t.breakpoints,r),r},mC=function(e={}){const{createStyledComponent:t=pC,useThemeProps:r=dC,componentName:o="MuiStack"}=e,i=t(hC),s=n.forwardRef(function(e,t){const n=r(e),s=(0,Bw.A)(n),{component:a="div",direction:l="column",spacing:c=0,divider:u,children:p,className:d,useFlexGap:f=!1}=s,h=(0,ye.A)(s,cC),m={direction:l,spacing:c,useFlexGap:f},g=Dn({root:["root"]},e=>So(o,e),{});return(0,_e.jsx)(i,(0,ve.A)({as:a,ownerState:m,ref:t,className:Bn(g.root,d)},h,{children:u?fC(p,u):p}))});return s}({createStyledComponent:Hn("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Kn({props:e,name:"MuiStack"})}),gC=mC;function vC(e){return So("MuiFormControlLabel",e)}const yC=ko("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),bC=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],wC=Hn("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${yC.label}`]:t.label},t.root,t[`labelPlacement${Vo(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>(0,ve.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${yC.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${yC.label}`]:{[`&.${yC.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),xC=Hn("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${yC.error}`]:{color:(e.vars||e).palette.error.main}})),_C=n.forwardRef(function(e,t){var r,o;const i=Kn({props:e,name:"MuiFormControlLabel"}),{className:s,componentsProps:a={},control:l,disabled:c,disableTypography:u,label:p,labelPlacement:d="end",required:f,slotProps:h={}}=i,m=(0,ye.A)(i,bC),g=D_(),v=null!=(r=null!=c?c:l.props.disabled)?r:null==g?void 0:g.disabled,y=null!=f?f:l.props.required,b={disabled:v,required:y};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===l.props[e]&&void 0!==i[e]&&(b[e]=i[e])});const w=B_({props:i,muiFormControl:g,states:["error"]}),x=(0,ve.A)({},i,{disabled:v,labelPlacement:d,required:y,error:w.error}),_=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:i}=e;return Dn({root:["root",r&&"disabled",`labelPlacement${Vo(n)}`,o&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},vC,t)})(x),S=null!=(o=h.typography)?o:a.typography;let k=p;return null==k||k.type===Dx||u||(k=(0,_e.jsx)(Dx,(0,ve.A)({component:"span"},S,{className:Bn(_.label,null==S?void 0:S.className),children:k}))),(0,_e.jsxs)(wC,(0,ve.A)({className:Bn(_.root,s),ownerState:x,ref:t},m,{children:[n.cloneElement(l,b),y?(0,_e.jsxs)(gC,{display:"block",children:[k,(0,_e.jsxs)(xC,{ownerState:x,"aria-hidden":!0,className:_.asterisk,children:[" ","*"]})]}):k]}))});var SC=o().forwardRef((e,t)=>o().createElement(_C,{...e,ref:t}));function kC(e){return So("MuiListItem",e)}const CC=ko("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),AC=ko("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function IC(e){return So("MuiListItemSecondaryAction",e)}ko("MuiListItemSecondaryAction",["root","disableGutters"]);const MC=["className"],RC=Hn("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>(0,ve.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),EC=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,i=(0,ye.A)(r,MC),s=n.useContext(WS),a=(0,ve.A)({},r,{disableGutters:s.disableGutters}),l=(e=>{const{disableGutters:t,classes:r}=e;return Dn({root:["root",t&&"disableGutters"]},IC,r)})(a);return(0,_e.jsx)(RC,(0,ve.A)({className:Bn(l.root,o),ownerState:a,ref:t},i))});EC.muiName="ListItemSecondaryAction";const OC=EC,TC=["className"],PC=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],LC=Hn("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>(0,ve.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,ve.A)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${AC.root}`]:{paddingRight:48}},{[`&.${CC.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${CC.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,nr.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${CC.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,nr.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${CC.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${CC.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,nr.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,nr.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),FC=Hn("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),NC=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:s=!1,children:a,className:l,component:c,components:u={},componentsProps:p={},ContainerComponent:d="li",ContainerProps:{className:f}={},dense:h=!1,disabled:m=!1,disableGutters:g=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:b,secondaryAction:w,selected:x=!1,slotProps:_={},slots:S={}}=r,k=(0,ye.A)(r.ContainerProps,TC),C=(0,ye.A)(r,PC),A=n.useContext(WS),I=n.useMemo(()=>({dense:h||A.dense||!1,alignItems:o,disableGutters:g}),[o,A.dense,h,g]),M=n.useRef(null);W_(()=>{i&&M.current&&M.current.focus()},[i]);const R=n.Children.toArray(a),E=R.length&&M_(R[R.length-1],["ListItemSecondaryAction"]),O=(0,ve.A)({},r,{alignItems:o,autoFocus:i,button:s,dense:I.dense,disabled:m,disableGutters:g,disablePadding:v,divider:y,hasSecondaryAction:E,selected:x}),T=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:i,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:c,selected:u}=e;return Dn({root:["root",o&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",i&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},kC,n)})(O),P=Xn(M,t),L=S.root||u.Root||LC,F=_.root||p.root||{},N=(0,ve.A)({className:Bn(T.root,F.className,l),disabled:m},C);let j=c||"li";return s&&(N.component=c||"div",N.focusVisibleClassName=Bn(CC.focusVisible,b),j=qo),E?(j=N.component||c?j:"div","li"===d&&("li"===j?j="div":"li"===N.component&&(N.component="div")),(0,_e.jsx)(WS.Provider,{value:I,children:(0,_e.jsxs)(FC,(0,ve.A)({as:d,className:Bn(T.container,f),ref:P,ownerState:O},k,{children:[(0,_e.jsx)(L,(0,ve.A)({},F,!wi(L)&&{as:j,ownerState:(0,ve.A)({},O,F.ownerState)},N,{children:R})),R.pop()]}))})):(0,_e.jsx)(WS.Provider,{value:I,children:(0,_e.jsxs)(L,(0,ve.A)({},F,{as:j,ref:P},!wi(L)&&{ownerState:(0,ve.A)({},O,F.ownerState)},N,{children:[R,w&&(0,_e.jsx)(OC,{children:w})]}))})}),jC=NC;var $C=o().forwardRef((e,t)=>o().createElement(jC,{...e,ref:t}));function zC(e){return So("MuiListItemIcon",e)}ko("MuiListItemIcon",["root","alignItemsFlexStart"]);const BC=["className"],DC=Hn("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>(0,ve.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),WC=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiListItemIcon"}),{className:o}=r,i=(0,ye.A)(r,BC),s=n.useContext(WS),a=(0,ve.A)({},r,{alignItems:s.alignItems}),l=(e=>{const{alignItems:t,classes:r}=e;return Dn({root:["root","flex-start"===t&&"alignItemsFlexStart"]},zC,r)})(a);return(0,_e.jsx)(DC,(0,ve.A)({className:Bn(l.root,o),ownerState:a,ref:t},i))});var UC=o().forwardRef((e,t)=>o().createElement(WC,{...e,ref:t}));function qC(e){return So("PrivateSwitchBase",e)}ko("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const VC=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],HC=Hn(qo)(({ownerState:e})=>(0,ve.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),GC=Hn("input",{shouldForwardProp:Vn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),KC=n.forwardRef(function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:i,defaultChecked:s,disabled:a,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:p,inputProps:d,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:v,readOnly:y,required:b=!1,tabIndex:w,type:x,value:_}=e,S=(0,ye.A)(e,VC),[k,C]=yk({controlled:n,default:Boolean(s),name:"SwitchBase",state:"checked"}),A=D_();let I=a;A&&void 0===I&&(I=A.disabled);const M="checkbox"===x||"radio"===x,R=(0,ve.A)({},e,{checked:k,disabled:I,disableFocusRipple:l,edge:c}),E=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return Dn({root:["root",r&&"checked",n&&"disabled",o&&`edge${Vo(o)}`],input:["input"]},qC,t)})(R);return(0,_e.jsxs)(HC,(0,ve.A)({component:"span",className:Bn(E.root,i),centerRipple:!0,focusRipple:!l,disabled:I,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),A&&A.onFocus&&A.onFocus(e)},onBlur:e=>{m&&m(e),A&&A.onBlur&&A.onBlur(e)},ownerState:R,ref:t},S,{children:[(0,_e.jsx)(GC,(0,ve.A)({autoFocus:r,checked:n,defaultChecked:s,className:E.input,disabled:I,id:M?p:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;C(t),g&&g(e,t)},readOnly:y,ref:f,required:b,ownerState:R,tabIndex:w,type:x},"checkbox"===x&&void 0===_?{}:{value:_},d)),k?o:u]}))}),XC=Ek((0,_e.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),YC=Ek((0,_e.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),ZC=Hn("span",{shouldForwardProp:Vn})({position:"relative",display:"flex"}),JC=Hn(XC)({transform:"scale(1)"}),QC=Hn(YC)(({theme:e,ownerState:t})=>(0,ve.A)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})),eA=function(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=(0,ve.A)({},e,{checked:t});return(0,_e.jsxs)(ZC,{className:r.root,ownerState:o,children:[(0,_e.jsx)(JC,{fontSize:n,className:r.background,ownerState:o}),(0,_e.jsx)(QC,{fontSize:n,className:r.dot,ownerState:o})]})},tA=n.createContext(void 0);function rA(e){return So("MuiRadio",e)}const nA=ko("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),oA=["checked","checkedIcon","color","icon","name","onChange","size","className"],iA=Hn(KC,{shouldForwardProp:e=>Vn(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${Vo(r.size)}`],t[`color${Vo(r.color)}`]]}})(({theme:e,ownerState:t})=>(0,ve.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,nr.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${nA.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${nA.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),sA=(0,_e.jsx)(eA,{checked:!0}),aA=(0,_e.jsx)(eA,{}),lA=n.forwardRef(function(e,t){var r,o;const i=Kn({props:e,name:"MuiRadio"}),{checked:s,checkedIcon:a=sA,color:l="primary",icon:c=aA,name:u,onChange:p,size:d="medium",className:f}=i,h=(0,ye.A)(i,oA),m=(0,ve.A)({},i,{color:l,size:d}),g=(e=>{const{classes:t,color:r,size:n}=e,o={root:["root",`color${Vo(r)}`,"medium"!==n&&`size${Vo(n)}`]};return(0,ve.A)({},t,Dn(o,rA,t))})(m),v=n.useContext(tA);let y=s;const b=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}(p,v&&v.onChange);let w=u;var x,_;return v&&(void 0===y&&(x=v.value,y="object"==typeof(_=i.value)&&null!==_?x===_:String(x)===String(_)),void 0===w&&(w=v.name)),(0,_e.jsx)(iA,(0,ve.A)({type:"radio",icon:n.cloneElement(c,{fontSize:null!=(r=aA.props.fontSize)?r:d}),checkedIcon:n.cloneElement(a,{fontSize:null!=(o=sA.props.fontSize)?o:d}),ownerState:m,classes:g,name:w,checked:y,onChange:b,ref:t,className:Bn(g.root,f)},h))}),cA=lA;var uA=o().forwardRef((e,t)=>o().createElement(cA,{...e,ref:t}));function pA(e){return So("MuiFormGroup",e)}ko("MuiFormGroup",["root","row","error"]);const dA=["className","row"],fA=Hn("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})(({ownerState:e})=>(0,ve.A)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),hA=n.forwardRef(function(e,t){const r=Kn({props:e,name:"MuiFormGroup"}),{className:n,row:o=!1}=r,i=(0,ye.A)(r,dA),s=B_({props:r,muiFormControl:D_(),states:["error"]}),a=(0,ve.A)({},r,{row:o,error:s.error}),l=(e=>{const{classes:t,row:r,error:n}=e;return Dn({root:["root",r&&"row",n&&"error"]},pA,t)})(a);return(0,_e.jsx)(fA,(0,ve.A)({className:Bn(l.root,n),ownerState:a,ref:t},i))});function mA(e){return So("MuiRadioGroup",e)}ko("MuiRadioGroup",["root","row","error"]);const gA=Fe,vA=["actions","children","className","defaultValue","name","onChange","value"],yA=n.forwardRef(function(e,t){const{actions:r,children:o,className:i,defaultValue:s,name:a,onChange:l,value:c}=e,u=(0,ye.A)(e,vA),p=n.useRef(null),d=(e=>{const{classes:t,row:r,error:n}=e;return Dn({root:["root",r&&"row",n&&"error"]},mA,t)})(e),[f,h]=yk({controlled:c,default:s,name:"RadioGroup"});n.useImperativeHandle(r,()=>({focus:()=>{let e=p.current.querySelector("input:not(:disabled):checked");e||(e=p.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);const m=Xn(t,p),g=gA(a),v=n.useMemo(()=>({name:g,onChange(e){h(e.target.value),l&&l(e,e.target.value)},value:f}),[g,l,h,f]);return(0,_e.jsx)(tA.Provider,{value:v,children:(0,_e.jsx)(hA,(0,ve.A)({role:"radiogroup",ref:m,className:Bn(d.root,i)},u,{children:o}))})}),bA=yA;var wA=o().forwardRef((e,t)=>o().createElement(bA,{...e,ref:t}));const xA=function(e){return(0,_e.jsx)(oi,{viewBox:"0 0 24 24",fill:"none",...e,children:(0,_e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM8.25 10C8.25 9.58579 8.58579 9.25 9 9.25H9.01C9.42421 9.25 9.76 9.58579 9.76 10C9.76 10.4142 9.42421 10.75 9.01 10.75H9C8.58579 10.75 8.25 10.4142 8.25 10ZM14.25 10C14.25 9.58579 14.5858 9.25 15 9.25H15.01C15.4242 9.25 15.76 9.58579 15.76 10C15.76 10.4142 15.4242 10.75 15.01 10.75H15C14.5858 10.75 14.25 10.4142 14.25 10ZM8.25 15C8.25 14.5858 8.58579 14.25 9 14.25H15C15.4142 14.25 15.75 14.5858 15.75 15C15.75 15.4142 15.4142 15.75 15 15.75H9C8.58579 15.75 8.25 15.4142 8.25 15Z",fill:"black"})})},_A=function(e){return(0,_e.jsx)(oi,{viewBox:"0 0 24 24",fill:"none",...e,children:(0,_e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM8.25 9C8.25 8.58579 8.58579 8.25 9 8.25H9.01C9.42421 8.25 9.76 8.58579 9.76 9C9.76 9.41421 9.42421 9.75 9.01 9.75H9C8.58579 9.75 8.25 9.41421 8.25 9ZM14.25 9C14.25 8.58579 14.5858 8.25 15 8.25H15.01C15.4242 8.25 15.76 8.58579 15.76 9C15.76 9.41421 15.4242 9.75 15.01 9.75H15C14.5858 9.75 14.25 9.41421 14.25 9ZM7.46967 12.4697C7.61032 12.329 7.80109 12.25 8 12.25H16C16.1989 12.25 16.3897 12.329 16.5303 12.4697C16.671 12.6103 16.75 12.8011 16.75 13C16.75 14.2598 16.2496 15.468 15.3588 16.3588C14.468 17.2496 13.2598 17.75 12 17.75C10.7402 17.75 9.53204 17.2496 8.64124 16.3588C7.75044 15.468 7.25 14.2598 7.25 13C7.25 12.8011 7.32902 12.6103 7.46967 12.4697ZM8.83771 13.75C8.97562 14.3314 9.27247 14.8687 9.7019 15.2981C10.3114 15.9076 11.138 16.25 12 16.25C12.862 16.25 13.6886 15.9076 14.2981 15.2981C14.7275 14.8687 15.0244 14.3314 15.1623 13.75H8.83771Z",fill:"black"})})},SA=function(e){return(0,_e.jsx)(oi,{viewBox:"0 0 24 24",fill:"none",...e,children:(0,_e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM8.25 10C8.25 9.58579 8.58579 9.25 9 9.25H9.01C9.42421 9.25 9.76 9.58579 9.76 10C9.76 10.4142 9.42421 10.75 9.01 10.75H9C8.58579 10.75 8.25 10.4142 8.25 10ZM14.25 10C14.25 9.58579 14.5858 9.25 15 9.25H15.01C15.4242 9.25 15.76 9.58579 15.76 10C15.76 10.4142 15.4242 10.75 15.01 10.75H15C14.5858 10.75 14.25 10.4142 14.25 10ZM12 14.9495C11.6341 14.9495 11.272 15.0225 10.9347 15.1642C10.5974 15.3059 10.2918 15.5135 10.0357 15.7749C9.74583 16.0707 9.27098 16.0756 8.97511 15.7857C8.67924 15.4958 8.6744 15.0209 8.96429 14.7251C9.36 14.3212 9.83232 14.0004 10.3536 13.7813C10.8748 13.5623 11.4346 13.4495 12 13.4495C12.5654 13.4495 13.1252 13.5623 13.6464 13.7813C14.1677 14.0004 14.64 14.3212 15.0357 14.7251C15.3256 15.0209 15.3208 15.4958 15.0249 15.7857C14.729 16.0756 14.2542 16.0707 13.9643 15.7749C13.7082 15.5135 13.4026 15.3059 13.0653 15.1642C12.728 15.0225 12.3659 14.9495 12 14.9495Z",fill:"black"})})},kA=function(e){return(0,_e.jsx)(oi,{viewBox:"0 0 24 24",fill:"none",...e,children:(0,_e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM7.96967 7.96967C8.26256 7.67678 8.73744 7.67678 9.03033 7.96967L10.5303 9.46967C10.8232 9.76256 10.8232 10.2374 10.5303 10.5303L9.03033 12.0303C8.73744 12.3232 8.26256 12.3232 7.96967 12.0303C7.67678 11.7374 7.67678 11.2626 7.96967 10.9697L8.93934 10L7.96967 9.03033C7.67678 8.73744 7.67678 8.26256 7.96967 7.96967ZM16.0303 7.96967C16.3232 8.26256 16.3232 8.73744 16.0303 9.03033L15.0607 10L16.0303 10.9697C16.3232 11.2626 16.3232 11.7374 16.0303 12.0303C15.7374 12.3232 15.2626 12.3232 14.9697 12.0303L13.4697 10.5303C13.1768 10.2374 13.1768 9.76256 13.4697 9.46967L14.9697 7.96967C15.2626 7.67678 15.7374 7.67678 16.0303 7.96967ZM10.3536 14.5814C10.8748 14.3623 11.4346 14.2495 12 14.2495C12.5654 14.2495 13.1252 14.3623 13.6464 14.5814C14.1677 14.8004 14.64 15.1213 15.0357 15.5251C15.3256 15.821 15.3208 16.2958 15.0249 16.5857C14.729 16.8756 14.2542 16.8708 13.9643 16.5749C13.7082 16.3136 13.4026 16.106 13.0653 15.9642C12.728 15.8225 12.3659 15.7495 12 15.7495C11.6341 15.7495 11.272 15.8225 10.9347 15.9642C10.5974 16.106 10.2918 16.3136 10.0357 16.5749C9.74583 16.8708 9.27098 16.8756 8.97511 16.5857C8.67924 16.2958 8.6744 15.821 8.96429 15.5251C9.36 15.1213 9.83232 14.8004 10.3536 14.5814Z",fill:"black"})})},CA=function(e){return(0,_e.jsx)(oi,{viewBox:"0 0 24 24",fill:"none",...e,children:(0,_e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM8.25 10C8.25 9.58579 8.58579 9.25 9 9.25H9.01C9.42421 9.25 9.76 9.58579 9.76 10C9.76 10.4142 9.42421 10.75 9.01 10.75H9C8.58579 10.75 8.25 10.4142 8.25 10ZM14.25 10C14.25 9.58579 14.5858 9.25 15 9.25H15.01C15.4242 9.25 15.76 9.58579 15.76 10C15.76 10.4142 15.4242 10.75 15.01 10.75H15C14.5858 10.75 14.25 10.4142 14.25 10ZM8.97511 14.4643C9.27098 14.1744 9.74583 14.1792 10.0357 14.4751C10.2918 14.7364 10.5974 14.944 10.9347 15.0858C11.272 15.2275 11.6341 15.3005 12 15.3005C12.3659 15.3005 12.728 15.2275 13.0653 15.0858C13.4026 14.944 13.7082 14.7364 13.9643 14.4751C14.2542 14.1792 14.729 14.1744 15.0249 14.4643C15.3208 14.7542 15.3256 15.229 15.0357 15.5249C14.64 15.9288 14.1677 16.2496 13.6464 16.4686C13.1252 16.6877 12.5654 16.8005 12 16.8005C11.4346 16.8005 10.8748 16.6877 10.3536 16.4686C9.83232 16.2496 9.36 15.9288 8.96429 15.5249C8.6744 15.229 8.67924 14.7542 8.97511 14.4643Z",fill:"black"})})},AA=()=>{const{setRating:e,setCurrentPage:t,handleClose:r,handleSubmit:n}=jw(),o=[{value:5,label:(0,Aw.__)("Excellent","pojo-accessibility"),icon:(0,_e.jsx)(_A,{})},{value:4,label:(0,Aw.__)("Pretty good","pojo-accessibility"),icon:(0,_e.jsx)(CA,{})},{value:3,label:(0,Aw.__)("It's okay","pojo-accessibility"),icon:(0,_e.jsx)(xA,{})},{value:2,label:(0,Aw.__)("Could be better","pojo-accessibility"),icon:(0,_e.jsx)(kA,{})},{value:1,label:(0,Aw.__)("Needs improvement","pojo-accessibility"),icon:(0,_e.jsx)(SA,{})}];return(0,_e.jsx)(F_,{fullWidth:!0,children:(0,_e.jsx)(wA,{"aria-labelledby":"demo-radio-buttons-group-label",onChange:(o,i)=>((o,i)=>{e(i),(async e=>{e<4?t("feedback"):await n(r,!0,e)&&t("review")})(i)})(0,i),name:"radio-buttons-group",children:o.map(({value:e,label:t,icon:r})=>(0,_e.jsxs)($C,{disableGutters:!0,disablePadding:!0,children:[(0,_e.jsx)(UC,{children:r}),(0,_e.jsx)(IA,{control:(0,_e.jsx)(uA,{color:"secondary"}),label:t,value:e,labelPlacement:"start"})]},"item-"+e))})})},IA=ci(SC)`
	justify-content: space-between;
	margin-left: 0;
	width: 100%;
`;var MA=n.forwardRef((e,t)=>n.createElement(oi,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C12.2659 2 12.5088 2.15027 12.6264 2.38762L15.3383 7.85709L21.4016 8.73178C21.6649 8.76976 21.8837 8.95331 21.9658 9.20518C22.048 9.45705 21.9793 9.73351 21.7887 9.91822L17.3949 14.1754L18.4309 20.1871C18.4759 20.4481 18.368 20.7118 18.1527 20.8674C17.9374 21.0229 17.652 21.0433 17.4167 20.9198L12.0062 18.0819L6.58274 20.9201C6.34738 21.0433 6.06216 21.0228 5.84703 20.8672C5.6319 20.7116 5.52417 20.448 5.56912 20.1871L6.60515 14.1754L2.21133 9.91822C2.02069 9.73351 1.95201 9.45705 2.03418 9.20518C2.11635 8.95331 2.33511 8.76976 2.59841 8.73178L8.66173 7.85709L11.3736 2.38762C11.4912 2.15027 11.7341 2 12 2Z"})));const RA={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},EA=Ek((0,_e.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),OA=Ek((0,_e.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function TA(e){return So("MuiRating",e)}const PA=ko("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),LA=["value"],FA=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function NA(e,t){if(null==e)return e;const r=Math.round(e/t)*t;return Number(r.toFixed(function(e){const t=e.toString().split(".")[1];return t?t.length:0}(t)))}const jA=Hn("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${PA.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${Vo(r.size)}`],r.readOnly&&t.readOnly]}})(({theme:e,ownerState:t})=>(0,ve.A)({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${PA.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${PA.focusVisible} .${PA.iconActive}`]:{outline:"1px solid #999"},[`& .${PA.visuallyHidden}`]:RA},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(30)},t.readOnly&&{pointerEvents:"none"})),$A=Hn("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})(({ownerState:e})=>(0,ve.A)({cursor:"inherit"},e.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"})),zA=Hn("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.iconEmpty&&t.iconEmpty,r.iconFilled&&t.iconFilled,r.iconHover&&t.iconHover,r.iconFocus&&t.iconFocus,r.iconActive&&t.iconActive]}})(({theme:e,ownerState:t})=>(0,ve.A)({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none"},t.iconActive&&{transform:"scale(1.2)"},t.iconEmpty&&{color:(e.vars||e).palette.action.disabled})),BA=Hn("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>qn(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{const{iconActive:r}=e;return[t.decimal,r&&t.iconActive]}})(({iconActive:e})=>(0,ve.A)({position:"relative"},e&&{transform:"scale(1.2)"}));function DA(e){const t=(0,ye.A)(e,LA);return(0,_e.jsx)("span",(0,ve.A)({},t))}function WA(e){const{classes:t,disabled:r,emptyIcon:o,focus:i,getLabelText:s,highlightSelectedOnly:a,hover:l,icon:c,IconContainerComponent:u,isActive:p,itemValue:d,labelProps:f,name:h,onBlur:m,onChange:g,onClick:v,onFocus:y,readOnly:b,ownerState:w,ratingValue:x,ratingValueRounded:_}=e,S=a?d===x:d<=x,k=d<=l,C=d<=i,A=d===_,I=gA(),M=(0,_e.jsx)(zA,{as:u,value:d,className:Bn(t.icon,S?t.iconFilled:t.iconEmpty,k&&t.iconHover,C&&t.iconFocus,p&&t.iconActive),ownerState:(0,ve.A)({},w,{iconEmpty:!S,iconFilled:S,iconHover:k,iconFocus:C,iconActive:p}),children:o&&!S?o:c});return b?(0,_e.jsx)("span",(0,ve.A)({},f,{children:M})):(0,_e.jsxs)(n.Fragment,{children:[(0,_e.jsxs)($A,(0,ve.A)({ownerState:(0,ve.A)({},w,{emptyValueFocused:void 0}),htmlFor:I},f,{children:[M,(0,_e.jsx)("span",{className:t.visuallyHidden,children:s(d)})]})),(0,_e.jsx)("input",{className:t.visuallyHidden,onFocus:y,onBlur:m,onChange:g,onClick:v,disabled:r,value:d,id:I,type:"radio",name:h,checked:A})]})}const UA=(0,_e.jsx)(EA,{fontSize:"inherit"}),qA=(0,_e.jsx)(OA,{fontSize:"inherit"});function VA(e){return`${e} Star${1!==e?"s":""}`}const HA=n.forwardRef(function(e,t){const r=Kn({name:"MuiRating",props:e}),{className:o,defaultValue:i=null,disabled:s=!1,emptyIcon:a=qA,emptyLabelText:l="Empty",getLabelText:c=VA,highlightSelectedOnly:u=!1,icon:p=UA,IconContainerComponent:d=DA,max:f=5,name:h,onChange:m,onChangeActive:g,onMouseLeave:v,onMouseMove:y,precision:b=1,readOnly:w=!1,size:x="medium",value:_}=r,S=(0,ye.A)(r,FA),k=gA(h),[C,A]=yk({controlled:_,default:i,name:"Rating"}),I=NA(C,b),M=Me(),[{hover:R,focus:E},O]=n.useState({hover:-1,focus:-1});let T=I;-1!==R&&(T=R),-1!==E&&(T=E);const{isFocusVisibleRef:P,onBlur:L,onFocus:F,ref:N}=lo(),[j,$]=n.useState(!1),z=n.useRef(),B=Xn(N,z,t),D=e=>{let t=""===e.target.value?null:parseFloat(e.target.value);-1!==R&&(t=R),A(t),m&&m(e,t)},W=e=>{0===e.clientX&&0===e.clientY||(O({hover:-1,focus:-1}),A(null),m&&parseFloat(e.target.value)===I&&m(e,null))},U=e=>{F(e),!0===P.current&&$(!0);const t=parseFloat(e.target.value);O(e=>({hover:e.hover,focus:t}))},q=e=>{-1===R&&(L(e),!1===P.current&&$(!1),O(e=>({hover:e.hover,focus:-1})))},[V,H]=n.useState(!1),G=(0,ve.A)({},r,{defaultValue:i,disabled:s,emptyIcon:a,emptyLabelText:l,emptyValueFocused:V,focusVisible:j,getLabelText:c,icon:p,IconContainerComponent:d,max:f,precision:b,readOnly:w,size:x}),K=(e=>{const{classes:t,size:r,readOnly:n,disabled:o,emptyValueFocused:i,focusVisible:s}=e;return Dn({root:["root",`size${Vo(r)}`,o&&"disabled",s&&"focusVisible",n&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]},TA,t)})(G);return(0,_e.jsxs)(jA,(0,ve.A)({ref:B,onMouseMove:e=>{y&&y(e);const t=z.current,{right:r,left:n,width:o}=t.getBoundingClientRect();let i;i=M?(r-e.clientX)/o:(e.clientX-n)/o;let s=NA(f*i+b/2,b);s=(0,Ot.A)(s,b,f),O(e=>e.hover===s&&e.focus===s?e:{hover:s,focus:s}),$(!1),g&&R!==s&&g(e,s)},onMouseLeave:e=>{v&&v(e),O({hover:-1,focus:-1}),g&&-1!==R&&g(e,-1)},className:Bn(K.root,o,w&&"MuiRating-readOnly"),ownerState:G,role:w?"img":null,"aria-label":w?c(T):null},S,{children:[Array.from(new Array(f)).map((e,t)=>{const r=t+1,n={classes:K,disabled:s,emptyIcon:a,focus:E,getLabelText:c,highlightSelectedOnly:u,hover:R,icon:p,IconContainerComponent:d,name:k,onBlur:q,onChange:D,onClick:W,onFocus:U,ratingValue:T,ratingValueRounded:I,readOnly:w,ownerState:G},o=r===Math.ceil(T)&&(-1!==R||-1!==E);if(b<1){const e=Array.from(new Array(1/b));return(0,_e.jsx)(BA,{className:Bn(K.decimal,o&&K.iconActive),ownerState:G,iconActive:o,children:e.map((t,o)=>{const i=NA(r-1+(o+1)*b,b);return(0,_e.jsx)(WA,(0,ve.A)({},n,{isActive:!1,itemValue:i,labelProps:{style:e.length-1===o?{}:{width:i===T?(o+1)*b*100+"%":"0%",overflow:"hidden",position:"absolute"}}}),i)})},r)}return(0,_e.jsx)(WA,(0,ve.A)({},n,{isActive:o,itemValue:r}),r)}),!w&&!s&&(0,_e.jsxs)($A,{className:Bn(K.label,K.labelEmptyValue),ownerState:G,children:[(0,_e.jsx)("input",{className:K.visuallyHidden,value:"",id:`${k}-empty`,type:"radio",name:k,checked:null==I,onFocus:()=>H(!0),onBlur:()=>H(!1),onChange:D}),(0,_e.jsx)("span",{className:K.visuallyHidden,children:l})]})]}))}),GA=HA;var KA=o().forwardRef((e,t)=>o().createElement(GA,{...e,ref:t}));const XA=()=>{const{rating:e,handleClose:t}=jw(),{save:r,get:n}=bs();return(0,_e.jsxs)(F_,{sx:{display:"flex",alignItems:"center",gap:1,textAlign:"center"},fullWidth:!0,children:[(0,_e.jsx)(_A,{sx:{p:1.5,backgroundColor:"#f3f3f4",borderRadius:2,fontSize:24}}),(0,_e.jsx)(Wx,{variant:"h6",marginBottom:1,children:(0,Aw.__)("Awesome!","pojo-accessibility")}),(0,_e.jsx)(Wx,{variant:"body1",color:"secondary",marginBottom:3,width:"55%",children:(0,Aw.__)("Help others discover Ally on WordPress","pojo-accessibility")}),(0,_e.jsx)(KA,{emptyIcon:(0,_e.jsx)(MA,{fontSize:"large"}),icon:(0,_e.jsx)(MA,{fontSize:"large"}),onChange:async()=>{bw(kw,{rating:parseInt(e),timestamp:(new Date).toISOString()}),await r({ea11y_review_data:{...n.data.ea11y_review_data,repo_review_clicked:!0}}),t(),window.open("https://wordpress.org/support/plugin/pojo-accessibility/reviews/#new-post","_blank")},sx:{marginBottom:3},highlightSelectedOnly:!1})]})},YA=()=>{const e=(0,Nn.useRef)(null),{setRating:t,isOpened:r,currentPage:n,setCurrentPage:o,handleClose:i,handleSubmit:s}=jw();(0,Nn.useEffect)(()=>{window?.ea11yReviewData?.reviewData?.rating>3&&!window?.ea11yReviewData?.reviewData?.repo_review_clicked&&(o("review"),t(window?.ea11yReviewData?.reviewData?.rating))},[]),(0,Nn.useEffect)(()=>{r&&(async()=>{const{ea11ySettingsData:e,ea11yScannerData:t}=window,r=e?.planData||t?.planData,n=e?.planScope||t?.planScope,o=r?.plan;if(!r?.scopes?.includes(yw)&&!n?.includes(yw))return;const i=e?.pluginEnv||t?.pluginEnv,s=e?.pluginVersion||t?.pluginVersion;await vw.init("150605b3b9f979922f2ac5a52e2dcfe9",{debug:"dev"===i,track_pageview:!1,persistence:"localStorage"}),vw.register({productName:"app_access",appType:"Apps",version:s,environment:i,is_trial:Boolean(o?.name?.toLowerCase().includes("free")),plan_type:o?.name,subscription_id:o?.subscription_id}),vw.identify(r?.user?.id);const a={$email:r?.user?.email,$user_id:r?.user?.id,$subscription_type:o?.name,$subscription_id:o?.subscription_id,$subscription_status:o?.status,$scanned_urls:`${r?.scannedPages?.used||0}/${r?.scannedPages?.allowed||0}`};vw.people?.set_once(a)})().then(()=>{bw(ww,{})})},[r]);const a=r?"reviews-popover":void 0,l={ratings:(0,Aw.__)("How would you rate Ally so far?","pojo-accessibility"),feedback:(0,Aw.__)("We’re thrilled to hear that! What would make it even better?","pojo-accessibility"),review:null};return(0,_e.jsxs)(Fx,{open:r,anchorOrigin:{vertical:"bottom",horizontal:"right"},anchorReference:"anchorPosition",anchorPosition:{top:window.innerHeight-10,left:window.innerWidth-10},id:a,onClose:i,anchorEl:e.current,disableEscapeKeyDown:!0,disableScrollLock:!0,disablePortal:!0,slotProps:{paper:{sx:{pointerEvents:"auto"}}},sx:{pointerEvents:"none"},children:[(0,_e.jsxs)(ZA,{children:[(0,_e.jsx)(JA,{children:(0,_e.jsx)(Wx,{variant:"subtitle1",color:"text.primary",marginTop:1,children:l?.[n]})}),"ratings"===n&&(0,_e.jsx)(AA,{}),"feedback"===n&&(0,_e.jsx)(Gk,{}),"review"===n&&(0,_e.jsx)(XA,{})]}),(0,_e.jsx)(QA,{currentPage:n,children:(0,_e.jsx)(C_,{variant:"button",close:i,handleSubmit:s})})]})},ZA=ci(Vw)`
	width: 350px;
	padding: ${({theme:e})=>e.spacing(1.5)};
`,JA=ci(Vw)`
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: ${({theme:e})=>e.spacing(2)};
`,QA=ci(Vw)`
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	${({currentPage:e,theme:t})=>"feedback"!==e&&`border-top: 1px solid ${t.palette.divider};`}
`,eI=()=>{const{notificationMessage:e,notificationType:t}=jw();return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(YA,{}),(0,_e.jsx)(zw,{message:e,type:t})]})};Fn()(()=>{const e=document.getElementById("reviews-app"),t=window?.ea11ySettingsData?.isDevelopment,r=window?.ea11yReviewData?.isRTL,n=Boolean(t)?Nn.StrictMode:Nn.Fragment;(0,Nn.createRoot)(e).render((0,_e.jsx)(n,{children:(0,_e.jsx)(ge,{rtl:r,children:(0,_e.jsx)(Pn,{colorScheme:"light",children:(0,_e.jsx)($w,{children:(0,_e.jsx)(eI,{})})})})}))})},9918:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),o=r(8587),i=r(6032),s=r(4229);const a=["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 c(e){const{sx:t}=e,r=(0,o.A)(e,a),{systemProps:s,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[s,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,i.Q)(r)?(0,n.A)({},s,r):s}:(0,n.A)({},s,t),(0,n.A)({},c,{sx:u})}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.m=t,e=[],n.O=(t,r,o,i)=>{if(!r){var s=1/0;for(u=0;u<e.length;u++){for(var[r,o,i]=e[u],a=!0,l=0;l<r.length;l++)(!1&i||s>=i)&&Object.keys(n.O).every(e=>n.O[e](r[l]))?r.splice(l--,1):(a=!1,i<s&&(s=i));if(a){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={258:0,877:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,[s,a,l]=r,c=0;if(s.some(t=>0!==e[t])){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(l)var u=l(n)}for(t&&t(r);c<s.length;c++)i=s[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(u)},r=globalThis.webpackChunkpojo_accessibility=globalThis.webpackChunkpojo_accessibility||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var o=n.O(void 0,[877],()=>n(9751));o=n.O(o)})();