File: //var/www/wp-content/plugins/pojo-accessibility/assets/build/scanner.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),a=r(1566),s=r(9222);function l(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const h=(0,i.Yn)(r,u)||{};return p?p(s):(0,a.NI)(s,t,t=>{let r=(0,i.BO)(h,d,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(h,d,`${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:s.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,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(n).forEach(r=>{const i="function"==typeof(s=n[r])?s(l):s;var s;if(null!=i)if("object"==typeof i)if(c[r])u=(0,o.A)(u,e(r,i,l,c));else{const e=(0,a.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,a.vf)(s,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},308:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){void 0===r&&(r={});for(var n=[],o="function"==typeof r.replace,c=r.transform||a.returnFirstArg,u=r.library||s,d=u.cloneElement,p=u.createElement,h=u.isValidElement,f=t.length,m=0;m<f;m++){var g=t[m];if(o){var y=r.replace(g,m);if(h(y)){f>1&&(y=d(y,{key:y.key||m})),n.push(c(y,g,m));continue}}if("text"!==g.type){var b=g,v={};l(b)?((0,a.setStyleProp)(b.attribs.style,b.attribs),v=b.attribs):b.attribs&&(v=(0,i.default)(b.attribs,b.name));var x=void 0;switch(g.type){case"script":case"style":g.children[0]&&(v.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?v.defaultValue=g.children[0].data:g.children&&g.children.length&&(x=e(g.children,r));break;default:continue}f>1&&(v.key=m),n.push(c(p(g.name,v,x),g,m))}else{var w=!g.data.trim().length;if(w&&g.parent&&!(0,a.canTextBeChildOfNode)(g.parent))continue;if(r.trim&&w)continue;n.push(c(g.data,g,m))}}return 1===n.length?n[0]:n};var o=r(1609),i=n(r(840)),a=r(4958),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}},435:(e,t,r)=>{"use strict";r.d(t,{EU:()=>s,NI:()=>a,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 a(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 s(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=s(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),{})}},442:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var o=n(r(2471));t.htmlToDOM=o.default;var i=n(r(840));t.attributesToProps=i.default;var a=n(r(308));t.domToReact=a.default;var s=r(1141);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1}},697:(e,t,r)=>{"use strict";var n=r(1609),o=r.n(n),i=r(1242),a=r.n(i),s="-ms-",l="-moz-",c="-webkit-",u="comm",d="rule",p="decl",h="@keyframes";function f(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}var m=Math.abs,g=String.fromCharCode,y=Object.assign;function b(e){return e.trim()}function v(e,t){return(e=t.exec(e))?e[0]:e}function x(e,t,r){return e.replace(t,r)}function w(e,t,r){return e.indexOf(t,r)}function C(e,t){return 0|e.charCodeAt(t)}function _(e,t,r){return e.slice(t,r)}function k(e){return e.length}function A(e,t){return t.push(e),e}function S(e,t){return e.filter(function(e){return!v(e,t)})}var j=1,M=1,R=0,I=0,E=0,T="";function P(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:j,column:M,length:a,return:"",siblings:s}}function L(e,t){return y(P("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function O(e){for(;e.root;)e=L(e.root,{children:[e]});A(e,e.siblings)}function N(){return E=I>0?C(T,--I):0,M--,10===E&&(M=1,j--),E}function $(){return E=I<R?C(T,I++):0,M++,10===E&&(M=1,j++),E}function z(){return C(T,I)}function D(){return I}function B(e,t){return _(T,e,t)}function F(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 H(e){return b(B(I-1,q(91===e?e+2:40===e?e+1:e)))}function V(e){for(;(E=z())&&E<33;)$();return F(e)>2||F(E)>3?"":" "}function W(e,t){for(;--t&&$()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return B(e,D()+(t<6&&32==z()&&32==$()))}function q(e){for(;$();)switch(E){case e:return I;case 34:case 39:34!==e&&39!==e&&q(E);break;case 40:41===e&&q(e);break;case 92:$()}return I}function U(e,t){for(;$()&&e+E!==57&&(e+E!==84||47!==z()););return"/*"+B(t,I-1)+"*"+g(47===e?e:$())}function Z(e){for(;!F(z());)$();return B(e,I)}function G(e){return function(e){return T="",e}(X("",null,null,null,[""],e=function(e){return j=M=1,R=k(T=e),I=0,[]}(e),0,[0],e))}function X(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,y=1,b=1,v=1,S=0,j="",M=o,R=i,I=n,E=j;b;)switch(f=S,S=$()){case 40:if(108!=f&&58==C(E,d-1)){-1!=w(E+=x(H(S),"&","&\f"),"&\f",m(c?s[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:E+=H(S);break;case 9:case 10:case 13:case 32:E+=V(f);break;case 92:E+=W(D()-1,7);continue;case 47:switch(z()){case 42:case 47:A(Y(U($(),D()),t,r,l),l),5!=F(f||1)&&5!=F(z()||1)||!k(E)||" "===_(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*y:s[c++]=k(E)*v;case 125*y:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+u:-1==v&&(E=x(E,/\f/g,"")),h>0&&(k(E)-d||0===y&&47===f)&&A(h>32?J(E+";",n,r,d-1,l):J(x(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(A(I=K(E,t,r,c,u,o,s,j,M=[],R=[],d,i),i),123===S)if(0===u)X(E,t,I,I,M,i,d,s,R);else{switch(p){case 99:if(110===C(E,3))break;case 108:if(97===C(E,2))break;default:u=0;case 100:case 109:case 115:}u?X(e,I,I,n&&A(K(e,I,I,0,0,o,s,j,o,M=[],d,R),R),o,R,d,s,n?M:R):X(E,I,I,I,[""],R,0,s,R)}}c=u=h=0,y=v=1,j=E="",d=a;break;case 58:d=1+k(E),h=f;default:if(y<1)if(123==S)--y;else if(125==S&&0==y++&&125==N())continue;switch(E+=g(S),S*y){case 38:v=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(k(E)-1)*v,v=1;break;case 64:45===z()&&(E+=H($())),p=z(),u=d=k(j=E+=Z(D())),S++;break;case 45:45===f&&2==k(E)&&(y=0)}}return i}function K(e,t,r,n,o,i,a,s,l,c,u,p){for(var h=o-1,f=0===o?i:[""],g=function(e){return e.length}(f),y=0,v=0,w=0;y<n;++y)for(var C=0,k=_(e,h+1,h=m(v=a[y])),A=e;C<g;++C)(A=b(v>0?f[C]+" "+k:x(k,/&\f/g,f[C])))&&(l[w++]=A);return P(e,t,r,0===o?d:s,l,c,u,p)}function Y(e,t,r,n){return P(e,t,r,u,g(E),_(e,2,-2),0,n)}function J(e,t,r,n,o){return P(e,t,r,p,_(e,0,n),_(e,n+1,-1),n,o)}function Q(e,t,r){switch(e.type){case"@import":case p:case u:return e.return=e.return||e.value;case d:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(e){e.type===u&&(e.children=e.value)})}var n=f(Array.prototype.concat(e.children),Q);return k(n)?e.return=e.value+"{"+n+"}":""}function ee(e,t,r,n){if(e.type===h||"@supports"===e.type||e.type===d&&(!e.parent||"@media"===e.parent.type||e.parent.type===d)){var o=a().transform(Q(e));e.children=o?G(o)[0].children:[],e.return=""}}Object.defineProperty(ee,"name",{value:"stylisRTLPlugin"});const te=ee;var re=r(6632),ne=r(6810),oe="-ms-",ie="-moz-",ae="-webkit-",se=(Math.abs,String.fromCharCode,Object.assign);function le(e,t){return(e=t.exec(e))?e[0]:e}function ce(e,t,r){return e.replace(t,r)}function ue(e,t){return e.indexOf(t)}function de(e,t){return 0|e.charCodeAt(t)}function pe(e,t){return se({value:"",root:null,parent:null,type:"",props:null,children:null,line:1,column:1,length:0,return:""},e,{length:-e.length},t)}function he(e,t){for(var r="",n=function(e){return e.length}(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function fe(e,t,r){switch(function(e,t){return 45^de(e,0)?(((t<<2^de(e,0))<<2^de(e,1))<<2^de(e,2))<<2^de(e,3):0}(e,t)){case 5103:return ae+"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 ae+e+e;case 4789:return ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ie+e+oe+e+e;case 5936:switch(de(e,t+11)){case 114:return ae+e+oe+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+oe+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+oe+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ae+e+oe+e+e;case 6165:return ae+e+oe+"flex-"+e+e;case 5187:return ae+e+ce(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+oe+"flex-$1$2")+e;case 5443:return ae+e+oe+"flex-item-"+ce(e,/flex-|-self/g,"")+(le(e,/flex-|baseline/)?"":oe+"grid-row-"+ce(e,/flex-|-self/g,""))+e;case 4675:return ae+e+oe+"flex-line-pack"+ce(e,/align-content|flex-|-self/g,"")+e;case 5548:return ae+e+oe+ce(e,"shrink","negative")+e;case 5292:return ae+e+oe+ce(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+ce(e,"-grow","")+ae+e+oe+ce(e,"grow","positive")+e;case 4554:return ae+ce(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return ce(ce(ce(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return ce(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return ce(ce(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4200:if(!le(e,/flex-|baseline/))return oe+"grid-column-align"+function(e,t){return e.slice(t,void 0)}(e,t)+e;break;case 2592:case 3360:return oe+ce(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,le(e.props,/grid-\w+-end/)})?~ue(e+(r=r[t].value),"span")?e:oe+ce(e,"-start","")+e+oe+"grid-row-span:"+(~ue(r,"span")?le(r,/\d+/):+le(r,/\d+/)-+le(e,/\d+/))+";":oe+ce(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return le(e.props,/grid-\w+-start/)})?e:oe+ce(ce(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ce(e,/(.+)-inline(.+)/,ae+"$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(de(e,t+1)){case 109:if(45!==de(e,t+4))break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ie+(108==de(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ue(e,"stretch")?fe(ce(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ce(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,i,a,s){return oe+r+":"+n+s+(o?oe+r+"-span:"+(i?a:+a-+n)+s:"")+e});case 4949:if(121===de(e,t+6))return ce(e,":",":"+ae)+e;break;case 6444:switch(de(e,45===de(e,14)?18:11)){case 120:return ce(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ae+(45===de(e,14)?"inline-":"")+"box$3$1"+ae+"$2$3$1"+oe+"$2box$3")+e;case 100:return ce(e,":",":"+oe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ce(e,"scroll-","scroll-snap-")+e}return e}const me="&:hover,&:focus,&:active,&:visited",ge="__unstableAccessibleMain",ye="__unstableAccessibleLight",be="0.75rem",ve="1.25em",xe="1.25em",we="1.25em",Ce="eui-rtl",_e=[0,1,1,1,1],ke=(0,ne.A)({key:Ce,stylisPlugins:[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case"decl":return void(e.return=fe(e.value,e.length,r));case"@keyframes":return he([pe(e,{value:ce(e.value,"@","@"+ae)})],n);case"rule":if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(le(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([pe(e,{props:[ce(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return he([pe(e,{props:[ce(t,/:(plac\w+)/,":"+ae+"input-$1")]}),pe(e,{props:[ce(t,/:(plac\w+)/,":-moz-$1")]}),pe(e,{props:[ce(t,/:(plac\w+)/,oe+"input-$1")]})],n)}return""})}},te]}),Ae=(0,ne.A)({key:"eui"});var Se=({rtl:e,children:t})=>o().createElement(re.C,{value:e?ke:Ae},t),je=r(8168),Me=r(8587),Re=r(5048),Ie=r(6032),Ee=r(4229),Te=r(3168),Pe=r(6920);function Le(e,t){return(0,je.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Oe=r(6950);const Ne={black:"#000",white:"#fff"},$e={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"},ze="#f3e5f5",De="#ce93d8",Be="#ba68c8",Fe="#ab47bc",He="#9c27b0",Ve="#7b1fa2",We="#e57373",qe="#ef5350",Ue="#f44336",Ze="#d32f2f",Ge="#c62828",Xe="#ffb74d",Ke="#ffa726",Ye="#ff9800",Je="#f57c00",Qe="#e65100",et="#e3f2fd",tt="#90caf9",rt="#42a5f5",nt="#1976d2",ot="#1565c0",it="#4fc3f7",at="#29b6f6",st="#03a9f4",lt="#0288d1",ct="#01579b",ut="#81c784",dt="#66bb6a",pt="#4caf50",ht="#388e3c",ft="#2e7d32",mt="#1b5e20",gt=["mode","contrastThreshold","tonalOffset"],yt={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:Ne.white,default:Ne.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}},bt={text:{primary:Ne.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:Ne.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 vt(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,Oe.a)(e.main,o):"dark"===t&&(e.dark=(0,Oe.e$)(e.main,i)))}const xt=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function wt(e){return Math.round(1e5*e)/1e5}const Ct={textTransform:"uppercase"},_t='"Roboto", "Helvetica", "Arial", sans-serif';function kt(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=_t,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,p=(0,Me.A)(r,xt),h=o/14,f=d||(e=>e/c*h+"rem"),m=(e,t,r,o,i)=>(0,je.A)({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r},n===_t?{letterSpacing:`${wt(o/t)}em`}:{},i,u),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Ct),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ct),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Ie.A)((0,je.A)({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function At(...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 St=["none",At(0,2,1,-1,0,1,1,0,0,1,3,0),At(0,3,1,-2,0,2,2,0,0,1,5,0),At(0,3,3,-2,0,3,4,0,0,1,8,0),At(0,2,4,-1,0,4,5,0,0,1,10,0),At(0,3,5,-1,0,5,8,0,0,1,14,0),At(0,3,5,-1,0,6,10,0,0,1,18,0),At(0,4,5,-2,0,7,10,1,0,2,16,1),At(0,5,5,-3,0,8,10,1,0,3,14,2),At(0,5,6,-3,0,9,12,1,0,3,16,2),At(0,6,6,-3,0,10,14,1,0,4,18,3),At(0,6,7,-4,0,11,15,1,0,4,20,3),At(0,7,8,-4,0,12,17,2,0,5,22,4),At(0,7,8,-4,0,13,19,2,0,5,24,4),At(0,7,9,-4,0,14,21,2,0,5,26,4),At(0,8,9,-5,0,15,22,2,0,6,28,5),At(0,8,10,-5,0,16,24,2,0,6,30,5),At(0,8,11,-5,0,17,26,2,0,6,32,5),At(0,9,11,-5,0,18,28,2,0,7,34,6),At(0,9,12,-6,0,19,29,2,0,7,36,6),At(0,10,13,-6,0,20,31,3,0,8,38,7),At(0,10,13,-6,0,21,33,3,0,8,40,7),At(0,10,14,-6,0,22,35,3,0,8,42,7),At(0,11,14,-7,0,23,36,3,0,9,44,8),At(0,11,15,-7,0,24,38,3,0,9,46,8)],jt=["duration","easing","delay"],Mt={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)"},Rt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function It(e){return`${Math.round(e)}ms`}function Et(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Tt(e){const t=(0,je.A)({},Mt,e.easing),r=(0,je.A)({},Rt,e.duration);return(0,je.A)({getAutoHeightDuration:Et,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return(0,Me.A)(n,jt),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:It(o)} ${i} ${"string"==typeof a?a:It(a)}`).join(",")}},e,{easing:t,duration:r})}const Pt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Lt=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Ot=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=(0,Me.A)(e,Lt);if(e.vars)throw new Error((0,Re.A)(18));const s=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=(0,Me.A)(e,gt),i=e.primary||function(e="light"){return"dark"===e?{main:tt,light:et,dark:rt}:{main:nt,light:rt,dark:ot}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:De,light:ze,dark:Fe}:{main:He,light:Be,dark:Ve}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Ue,light:We,dark:Ze}:{main:Ze,light:qe,dark:Ge}}(t),l=e.info||function(e="light"){return"dark"===e?{main:at,light:it,dark:lt}:{main:lt,light:st,dark:ct}}(t),c=e.success||function(e="light"){return"dark"===e?{main:dt,light:ut,dark:ht}:{main:ft,light:pt,dark:mt}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Ke,light:Xe,dark:Je}:{main:"#ed6c02",light:Ye,dark:Qe}}(t);function d(e){return(0,Oe.eM)(e,bt.text.primary)>=r?bt.text.primary:yt.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,je.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,Re.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,Re.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return vt(e,"light",o,n),vt(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},h={dark:bt,light:yt};return(0,Ie.A)((0,je.A)({common:(0,je.A)({},Ne),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:$e,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},h[t]),o)}(n),l=(0,Pe.A)(e);let c=(0,Ie.A)(l,{mixins:Le(l.breakpoints,r),palette:s,shadows:St.slice(),typography:kt(s,i),transitions:Tt(o),zIndex:(0,je.A)({},Pt)});return c=(0,Ie.A)(c,a),c=t.reduce((e,t)=>(0,Ie.A)(e,t),c),c.unstable_sxConfig=(0,je.A)({},Ee.A,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return(0,Te.A)({sx:e,theme:this})},c},Nt=(e,...t)=>{const r={...e};return r.shape={borderRadius:4,__unstableBorderRadiusMultipliers:_e,...r.shape},Ot(r,...t)},$t=n.createContext(null);function zt(){return n.useContext($t)}const Dt="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var Bt=r(790);const Ft=function(e){const{children:t,theme:r}=e,o=zt(),i=n.useMemo(()=>{const e=null===o?r:function(e,t){return"function"==typeof t?t(e):(0,je.A)({},e,t)}(o,r);return null!=e&&(e[Dt]=null!==o),e},[r,o]);return(0,Bt.jsx)($t.Provider,{value:i,children:t})};var Ht=r(4684);const Vt=function(e=null){const t=n.useContext(Ht.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r},Wt=["value"],qt=n.createContext(),Ut=()=>{const e=n.useContext(qt);return null!=e&&e},Zt=function(e){let{value:t}=e,r=(0,Me.A)(e,Wt);return(0,Bt.jsx)(qt.Provider,(0,je.A)({value:null==t||t},r))},Gt=n.createContext(void 0),Xt=function({value:e,children:t}){return(0,Bt.jsx)(Gt.Provider,{value:e,children:t})},Kt="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;let Yt=0;const Jt=n["useId".toString()];function Qt(e){if(void 0!==Jt){const t=Jt();return null!=e?e:t}return function(e){const[t,r]=n.useState(e),o=e||t;return n.useEffect(()=>{null==t&&(Yt+=1,r(`mui-${Yt}`))},[t]),o}(e)}var er=r(1032),tr=r(7601);const rr=(0,Pe.A)(),nr=function(e=rr){return Vt(e)};function or(e){const t=(0,er.internal_serializeStyles)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const ir=function({styles:e,themeId:t,defaultTheme:r={}}){const n=nr(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>or("function"==typeof e?e(o):e)):or(i)),(0,Bt.jsx)(tr.A,{styles:i})},ar={};function sr(e,t,r,o=!1){return n.useMemo(()=>{const n=e&&t[e]||t;if("function"==typeof r){const i=r(n),a=e?(0,je.A)({},t,{[e]:i}):i;return o?()=>a:a}return e?(0,je.A)({},t,{[e]:r}):(0,je.A)({},t,r)},[e,t,r,o])}const lr=function(e){const{children:t,theme:r,themeId:n}=e,o=Vt(ar),i=zt()||ar,a=sr(n,o,r),s=sr(n,i,r,!0),l="rtl"===a.direction,c=function(e){const t=Vt(),r=Qt()||"",{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};`:"",Kt(()=>{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,Bt.jsx)(ir,{styles:o}):null}(a);return(0,Bt.jsx)(Ft,{theme:s,children:(0,Bt.jsx)(Ht.T.Provider,{value:a,children:(0,Bt.jsx)(Zt,{value:l,children:(0,Bt.jsxs)(Xt,{value:null==a?void 0:a.components,children:[c,t]})})})})},cr="$$material",ur=["theme"];function dr(e){let{theme:t}=e,r=(0,Me.A)(e,ur);const n=t[cr];return(0,Bt.jsx)(lr,(0,je.A)({},r,{themeId:n?cr:void 0,theme:n||t}))}const pr="#FFFFFF",hr="#f1f3f3",fr="#d5d8dc",mr="#babfc5",gr="#9da5ae",yr="#818a96",br="#69727d",vr="#515962",xr="#3f444b",wr="#1f2124",Cr="#0c0d0e",_r="#f3bafd",kr="#f0abfc",Ar="#eb8efb",Sr="#ef4444",jr="#dc2626",Mr="#b91c1c",Rr="#b15211",Ir="#3b82f6",Er="#2563eb",Tr="#1d4ed8",Pr="#10b981",Lr="#0a875a",Or="#047857",Nr="#99f6e4",$r="#5eead4",zr="#2adfcd",Dr="#b51243",Br="#93003f",Fr="#7e013b",Hr={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:xe,height:xe,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:be},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},Vr=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative"],Wr=["primary","global"],qr=Vr.filter(e=>!Wr.includes(e)),Ur={defaultProps:{disableRipple:!0},styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:Vr.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 Zr=r(9056);function Gr(e,t=0,r=1){return(0,Zr.A)(e,t,r)}function Xr(e){if(e.type)return e;if("#"===e.charAt(0))return Xr(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,Re.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,Re.A)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}function Kr(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 Yr(e,t){return e=Xr(e),t=Gr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Kr(e)}function Jr(e,t){if(e=Xr(e),t=Gr(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 Kr(e)}function Qr(e,t){if(e=Xr(e),t=Gr(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 Kr(e)}const en={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"}})},...tn(["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}}),...tn(["primary","global"],function(e,t){const r=e.palette[t];return{backgroundColor:{light:Qr(r.light,.8),dark:Jr(r.__unstableAccessibleMain,.8)},backgroundColorHover:{light:Qr(r.light,.6),dark:Jr(r.__unstableAccessibleMain,.9)},color:{light:Jr(r.__unstableAccessibleMain,.3),dark:Qr(r.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...tn(qr,function(e,t){return{backgroundColor:{light:Qr(e.palette[t].light,.9),dark:Jr(e.palette[t].light,.8)},backgroundColorHover:{light:Qr(e.palette[t].light,.8),dark:Jr(e.palette[t].light,.9)},color:{light:Jr(e.palette[t].main,.3),dark:Qr(e.palette[t].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:be,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 tn(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 rn="1rem",nn="0.75rem";var on={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:Hr,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:Ur,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:en,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:be,lineHeight:we,"& .MuiInputBase-input":{fontSize:be,lineHeight:we,height:we,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:be,lineHeight:ve,"&.MuiInput-root":{marginTop:e.spacing(1.5)},"& .MuiInputBase-input":{fontSize:be,lineHeight:ve,height:ve,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&":{[me]:{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&":{[me]:{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&":{[me]:{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:be,lineHeight:xe,"&.MuiInputBase-adornedStart":{paddingLeft:e.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:e.spacing(1)},"& .MuiInputBase-input":{fontSize:be,lineHeight:xe,height:xe,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:rn,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:xe},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:ve,minHeight:ve}})}]},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:nn,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:nn,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:rn,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:be,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 an={components:on,shape:{borderRadius:4,__unstableBorderRadiusMultipliers:_e},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}},sn={...an,palette:{mode:"light",primary:{main:kr,light:_r,dark:Ar,contrastText:Cr,[ge]:"#C00BB9",[ye]:"#D355CE"},secondary:{main:vr,light:br,dark:xr,contrastText:pr},grey:{50:hr,100:fr,200:mr,300:gr,400:yr,500:br,600:vr,700:xr,800:wr,900:Cr},text:{primary:Cr,secondary:xr,tertiary:br,disabled:gr},background:{paper:pr,default:pr},success:{main:Lr,light:Pr,dark:Or,contrastText:pr},error:{main:jr,light:Sr,dark:Mr,contrastText:pr},warning:{main:"#bb5b1d",light:"#d97706",dark:Rr,contrastText:pr},info:{main:Er,light:Ir,dark:Tr,contrastText:pr},global:{main:$r,light:Nr,dark:zr,contrastText:Cr,[ge]:"#17929B",[ye]:"#5DB3B9"},accent:{main:Br,light:Dr,dark:Fr,contrastText:pr},promotion:{main:Br,light:Dr,dark:Fr,contrastText:pr},decorative:{main:$r,light:Nr,dark:zr,contrastText:Cr}}},ln={...an,palette:{mode:"dark",primary:{main:kr,light:_r,dark:Ar,contrastText:Cr,[ge]:"#C00BB9",[ye]:"#D355CE"},secondary:{main:gr,light:mr,dark:yr,contrastText:Cr},grey:{50:hr,100:fr,200:mr,300:gr,400:yr,500:br,600:vr,700:xr,800:wr,900:Cr},text:{primary:pr,secondary:mr,tertiary:gr,disabled:vr},background:{paper:Cr,default:wr},success:{main:Lr,light:Pr,dark:Or,contrastText:pr},error:{main:jr,light:Sr,dark:Mr,contrastText:pr},warning:{main:"#f59e0b",light:"#fbbf24",dark:Rr,contrastText:"#000000"},info:{main:Er,light:Ir,dark:Tr,contrastText:pr},global:{main:$r,light:Nr,dark:zr,contrastText:Cr,[ge]:"#17929B",[ye]:"#5DB3B9"},accent:{main:Br,light:Dr,dark:Fr,contrastText:pr},promotion:{main:Br,light:Dr,dark:Fr,contrastText:pr},decorative:{main:$r,light:Nr,dark:zr,contrastText:Cr}}};function cn(e,t){const r=(0,je.A)({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,je.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,je.A)({},i),Object.keys(o).forEach(e=>{r[n][e]=cn(o[e],i[e])})):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])}),r}function un(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?cn(t.components[r].defaultProps,n):n}function dn(e,t,r,o,i){const[a,s]=n.useState(()=>i&&r?r(e).matches:o?o(e).matches:t);return Kt(()=>{let t=!0;if(!r)return;const n=r(e),o=()=>{t&&s(n.matches)};return o(),n.addListener(o),()=>{t=!1,n.removeListener(o)}},[e,r]),a}const pn=n.useSyncExternalStore;function hn(e,t,r,o,i){const a=n.useCallback(()=>t,[t]),s=n.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(null!==o){const{matches:t}=o(e);return()=>t}return a},[a,e,o,i,r]),[l,c]=n.useMemo(()=>{if(null===r)return[a,()=>()=>{}];const t=r(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[a,r,e]);return pn(c,l,s)}function fn(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 mn(e){if(n.isValidElement(e)||!fn(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=mn(e[r])}),t}function gn(e,t,r={clone:!0}){const o=r.clone?(0,je.A)({},e):e;return fn(e)&&fn(t)&&Object.keys(t).forEach(i=>{n.isValidElement(t[i])?o[i]=t[i]:fn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&fn(e[i])?o[i]=gn(e[i],t[i],r):r.clone?o[i]=fn(t[i])?mn(t[i]):t[i]:o[i]=t[i]}),o}const yn="#524CFF";var bn={primary:{main:yn,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[ge]:"#524CFF",[ye]:"#6B65FF"},action:{selected:Yr(yn,.08)}};const vn="#006BFF",xn="#2C89FF";var wn={primary:{main:vn,light:xn,dark:"#005BE0",contrastText:"#FFFFFF",[ge]:vn,[ye]:xn}};const Cn=["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)"],kn=wr,An=xr;var Sn={primary:{main:kn,light:An,dark:Cr,contrastText:"#FFFFFF",[ge]:kn,[ye]:An},accent:{main:kr,light:_r,dark:Ar,contrastText:Cr}};const jn=hr,Mn="#FFFFFF";var Rn={primary:{main:jn,light:Mn,dark:fr,contrastText:Cr,[ge]:jn,[ye]:Mn},accent:{main:kr,light:_r,dark:Ar,contrastText:Cr}};const In=(0,n.createContext)(null),En=({value:e,children:t})=>n.createElement(In.Provider,{value:e},t),Tn={zIndex:an.zIndex};const Pn=!0;function Ln(e){return e?On(e,{primary:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],secondary:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],success:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],info:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],warning:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],error:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],background:["default","paper","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],decorative:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],accent:["main","light","dark","contrastText","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],text:["primary","secondary","tertiary","disabled"],action:["active","focus","hover","disabled","disabledBackground","selected","__unstableGradientAngle"],divider:Pn}):{}}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 Nn=new Map,$n=(0,re.w)(({colorScheme:e,palette:t,children:r,overrides:i,unstableThemeV0:a},s)=>{const l=(0,n.useContext)(In),c=s.key===Ce,u=e||l?.colorScheme||"auto",d=function(e,t={}){const r=Vt(),n="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(n?window.matchMedia:null),ssrMatchMedia:a=null,noSsr:s=!1}=un({name:"MuiUseMediaQuery",props:t,theme:r});let l="function"==typeof e?e(r):e;return l=l.replace(/^@media( ?)/m,""),(void 0!==pn?hn:dn)(l,o,i,a,s)}("(prefers-color-scheme: dark)"),p="auto"===u&&d||"dark"===u,h=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||Tn));return r&&"object"==typeof r?r:(console.error("overrides function must return an object"),t)}(i,l?.overrides),f=a?.name||t||l?.themeName,m=a||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(Nn.has(n))return Nn.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:on};return t&&e.palette?.dark?r.palette={...ln.palette,...Ln(e.palette.dark),mode:"dark"}:e.palette?.light&&(r.palette={...sn.palette,...Ln(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:Pn,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),a=Nt(i,o);return Nn.set(n,a),a})(m,p,c):(({palette:e="default",rtl:t=!1,isDarkMode:r=!1}={})=>{const n=`${e}-${r}-${t}`;if(Nn.has(n))return Nn.get(n);const o=r?ln:sn,i={};"marketing-suite"===e&&(i.palette=bn),"hub"===e&&(i.palette=wn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]},i.shadows=Cn),"unstable"===e&&(i.palette=r?Rn:Sn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),t&&(i.direction="rtl");const a=Nt(o,i);return Nn.set(n,a),a})({rtl:c,isDarkMode:p,palette:t||l?.themeName});return h&&(g=((e,t)=>{if(!t)return e;const r={};return["zIndex"].forEach(e=>{e in t&&(r[e]=t[e])}),gn(e,r,{clone:!0})})(g,h)),o().createElement(En,{value:{colorScheme:e,themeName:f,overrides:h,customTheme:m}},o().createElement(dr,{theme:g},r))});var zn=r(1568);function Dn(e,t,r){switch(function(e,t){return 45^C(e,0)?(((t<<2^C(e,0))<<2^C(e,1))<<2^C(e,2))<<2^C(e,3):0}(e,t)){case 5103:return c+"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 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return c+e+e;case 4855:return c+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return l+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return c+e+l+e+s+e+e;case 5936:switch(C(e,t+11)){case 114:return c+e+s+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return c+e+s+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return c+e+s+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return c+e+s+e+e;case 6165:return c+e+s+"flex-"+e+e;case 5187:return c+e+x(e,/(\w+).+(:[^]+)/,c+"box-$1$2"+s+"flex-$1$2")+e;case 5443:return c+e+s+"flex-item-"+x(e,/flex-|-self/g,"")+(v(e,/flex-|baseline/)?"":s+"grid-row-"+x(e,/flex-|-self/g,""))+e;case 4675:return c+e+s+"flex-line-pack"+x(e,/align-content|flex-|-self/g,"")+e;case 5548:return c+e+s+x(e,"shrink","negative")+e;case 5292:return c+e+s+x(e,"basis","preferred-size")+e;case 6060:return c+"box-"+x(e,"-grow","")+c+e+s+x(e,"grow","positive")+e;case 4554:return c+x(e,/([^-])(transform)/g,"$1"+c+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+s+"flex-pack:$3"),/space-between/,"justify")+c+e+e;case 4200:if(!v(e,/flex-|baseline/))return s+"grid-column-align"+_(e,t)+e;break;case 2592:case 3360:return s+x(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,v(e.props,/grid-\w+-end/)})?~w(e+(r=r[t].value),"span",0)?e:s+x(e,"-start","")+e+s+"grid-row-span:"+(~w(r,"span",0)?v(r,/\d+/):+v(r,/\d+/)-+v(e,/\d+/))+";":s+x(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return v(e.props,/grid-\w+-start/)})?e:s+x(x(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,c+"$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(k(e)-1-t>6)switch(C(e,t+1)){case 109:if(45!==C(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+l+(108==C(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch",0)?Dn(x(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,i,a,l){return s+r+":"+n+l+(o?s+r+"-span:"+(i?a:+a-+n)+l:"")+e});case 4949:if(121===C(e,t+6))return x(e,":",":"+c)+e;break;case 6444:switch(C(e,45===C(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+c+(45===C(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+s+"$2box$3")+e;case 100:return x(e,":",":"+s)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function Bn(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case p:return void(e.return=Dn(e.value,e.length,r));case h:return f([L(e,{value:x(e.value,"@","@"+c)})],n);case d:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(v(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":O(L(e,{props:[x(t,/:(read-\w+)/,":-moz-$1")]})),O(L(e,{props:[t]})),y(e,{props:S(r,n)});break;case"::placeholder":O(L(e,{props:[x(t,/:(plac\w+)/,":"+c+"input-$1")]})),O(L(e,{props:[x(t,/:(plac\w+)/,":-moz-$1")]})),O(L(e,{props:[x(t,/:(plac\w+)/,s+"input-$1")]})),O(L(e,{props:[t]})),y(e,{props:S(r,n)})}return""})}}const Fn=window.wp.element,Hn=(0,Fn.createContext)(void 0);function Vn(){return(0,Fn.useContext)(Hn)}const Wn=({children:e})=>{const[t,r]=(0,Fn.useState)(!1),[n,o]=(0,Fn.useState)(""),[i,a]=(0,Fn.useState)("");return(0,Bt.jsx)(Hn.Provider,{value:{showNotification:t,setShowNotification:r,notificationMessage:n,setNotificationMessage:o,notificationType:i,setNotificationType:a},children:e})},qn=()=>{const{setNotificationMessage:e,setNotificationType:t,setShowNotification:r}=(0,Fn.useContext)(Hn);return{success:n=>{e(n),t("success"),r(!0)},error:n=>{e(n),t("error"),r(!0)}}},Un=window.wp.apiFetch;var Zn=r.n(Un);const Gn=window.wp.url;class Xn extends Error{constructor(e){super(e),this.name="APIError"}}const Kn=Xn,Yn="/wp/v2";class Jn{static async request({path:e,data:t,method:r="POST",headers:n}){try{"GET"!==r||e.startsWith(Yn)||(e=(0,Gn.addQueryArgs)(e,{sb_time:(new Date).getTime()}));const o=await Zn()({path:e,method:r,data:t,headers:n});if(e.startsWith(Yn))return o;if(!o.success)throw new Kn(o.data.message);return o.data}catch(e){throw e instanceof Kn?e:new Kn(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),Jn.request({method:"POST",path:"/ea11y/v1/connect/authorize",data:t})}}const Qn=Jn,eo="/ea11y/v1";class to extends Qn{static async registerPage(e,t){return to.request({method:"POST",path:`${eo}/remediation/register`,data:{...e,summary:t}})}static async addScanResults(e){return to.request({method:"POST",path:`${eo}/scanner/scan-results`,data:e})}static async triggerSave(e){return to.request({method:"POST",path:`${eo}/remediation/trigger-save`,data:e})}static async submitAltText(e,t){return to.request({method:"POST",path:`${eo}/remediation/set-alt-text`,data:{url:e,alt_text:t}})}static async submitRemediation(e){return to.request({method:"POST",path:`${eo}/remediation/item`,data:e})}static async updateRemediation(e){return to.request({method:"PATCH",path:`${eo}/remediation/item`,data:e})}static async updateRemediationContent(e){return to.request({method:"PUT",path:`${eo}/remediation/item`,data:e})}static async deleteRemediation(e){return to.request({method:"DELETE",path:`${eo}/remediation/item`,data:e})}static async generateAltText(e){return to.request({method:"POST",path:`${eo}/scanner/generate-alt-text`,data:e})}static async resolveWithAI(e){return to.request({method:"POST",path:`${eo}/scanner/resolve-with-ai`,data:e})}static async resolveIssue(e){return to.request({method:"POST",path:`${eo}/scanner/resolve-issue`,data:{scanId:e}})}static async getRemediations(e){return to.request({method:"GET",path:`${eo}/remediation/items?url=${encodeURIComponent(e)}`})}static async updateRemediationStatusForPage(e){return to.request({method:"PATCH",path:`${eo}/remediation/items`,data:e})}static async deleteRemediationForPage(e){return to.request({method:"DELETE",path:`${eo}/remediation/items`,data:e})}static async clearCache(e){return to.request({method:"DELETE",path:`${eo}/remediation/clear-cache`,data:e})}}class ro extends n.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?this.props.fallback:this.props.children}}var no=ro;function oo(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=oo(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const io=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=oo(e))&&(n&&(n+=" "),n+=t);return n};var ao=r(435),so=r(9918);function lo(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 co=r(7272);const uo=Ot(),po=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},ho=e=>po(e)&&"classes"!==e,fo=(0,co.Ay)({themeId:cr,defaultTheme:uo,rootShouldForwardProp:ho});function mo({props:e,name:t,defaultTheme:r,themeId:n}){let o=nr(r);return n&&(o=o[n]||o),un({theme:o,name:t,props:e})}function go({props:e,name:t}){return mo({props:e,name:t,defaultTheme:uo,themeId:cr})}function yo(){const e=nr(uo);return e[cr]||e}const bo=n.createContext(),vo=e=>e,xo=(()=>{let e=vo;return{configure(t){e=t},generate:t=>e(t),reset(){e=vo}}})(),wo={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 Co(e,t,r="Mui"){const n=wo[t];return n?`${r}-${n}`:`${xo.generate(e)}-${t}`}function _o(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=Co(e,t,r)}),n}function ko(e){return Co("MuiGrid",e)}const Ao=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],So=_o("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...Ao.map(e=>`grid-xs-${e}`),...Ao.map(e=>`grid-sm-${e}`),...Ao.map(e=>`grid-md-${e}`),...Ao.map(e=>`grid-lg-${e}`),...Ao.map(e=>`grid-xl-${e}`)]),jo=So,Mo=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ro(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Io({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(e=>{""===r&&0!==t[e]&&(r=e)});const n=Object.keys(e).sort((t,r)=>e[t]-e[r]);return n.slice(0,n.indexOf(r))}const Eo=fo("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach(t=>{const o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])}),n}(a,c,t));const d=[];return c.forEach(e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>(0,je.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap}),function({theme:e,ownerState:t}){const r=(0,ao.kW)({values:t.direction,breakpoints:e.breakpoints.values});return(0,ao.NI)({theme:e},r,e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${jo.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&0!==n){const t=(0,ao.kW)({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Io({breakpoints:e.breakpoints.values,values:t})),o=(0,ao.NI)({theme:e},t,(t,n)=>{var o;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${Ro(i)}`,[`& > .${jo.item}`]:{paddingTop:Ro(i)}}:null!=(o=r)&&o.includes(n)?{}:{marginTop:0,[`& > .${jo.item}`]:{paddingTop:0}}})}return o},function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&0!==n){const t=(0,ao.kW)({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Io({breakpoints:e.breakpoints.values,values:t})),o=(0,ao.NI)({theme:e},t,(t,n)=>{var o;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${Ro(i)})`,marginLeft:`-${Ro(i)}`,[`& > .${jo.item}`]:{paddingLeft:Ro(i)}}:null!=(o=r)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${jo.item}`]:{paddingLeft:0}}})}return o},function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,o)=>{let i={};if(t[o]&&(r=t[o]),!r)return n;if(!0===r)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=(0,ao.kW)({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof a?a[o]:a;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${Ro(r)})`;c={flexBasis:e,maxWidth:e}}}i=(0,je.A)({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[o]?Object.assign(n,i):n[e.breakpoints.up(o)]=i,n},{})}),To=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiGrid"}),{breakpoints:o}=yo(),i=(0,so.A)(r),{className:a,columns:s,columnSpacing:l,component:c="div",container:u=!1,direction:d="row",item:p=!1,rowSpacing:h,spacing:f=0,wrap:m="wrap",zeroMinWidth:g=!1}=i,y=(0,Me.A)(i,Mo),b=h||f,v=l||f,x=n.useContext(bo),w=u?s||12:x,C={},_=(0,je.A)({},y);o.keys.forEach(e=>{null!=y[e]&&(C[e]=y[e],delete _[e])});const k=(0,je.A)({},i,{columns:w,container:u,direction:d,item:p,rowSpacing:b,columnSpacing:v,wrap:m,zeroMinWidth:g,spacing:f},C,{breakpoints:o.keys}),A=(e=>{const{classes:t,container:r,direction:n,item:o,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach(t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}}),r}(i,l));const u=[];return l.forEach(t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}),lo({root:["root",r&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...u]},ko,t)})(k);return(0,Bt.jsx)(bo.Provider,{value:w,children:(0,Bt.jsx)(Eo,(0,je.A)({ownerState:k,className:io(A.root,a),as:c,ref:t},_))})}),Po=To;var Lo=o().forwardRef((e,t)=>o().createElement(Po,{...e,ref:t}));function Oo(e){return"string"==typeof e}function No(...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)}const $o=No,zo=function(e){const t=n.useRef(e);return Kt(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current},Do={},Bo=[];class Fo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Fo}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function Ho(){const e=function(e){const t=n.useRef(Do);return t.current===Do&&(t.current=e(void 0)),t}(Fo.create).current;var t;return t=e.disposeEffect,n.useEffect(t,Bo),e}let Vo=!0,Wo=!1;const qo=new Fo,Uo={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 Zo(e){e.metaKey||e.altKey||e.ctrlKey||(Vo=!0)}function Go(){Vo=!1}function Xo(){"hidden"===this.visibilityState&&Wo&&(Vo=!0)}const Ko=function(){const e=n.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Zo,!0),t.addEventListener("mousedown",Go,!0),t.addEventListener("pointerdown",Go,!0),t.addEventListener("touchstart",Go,!0),t.addEventListener("visibilitychange",Xo,!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 Vo||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!Uo[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Wo=!0,qo.start(100,()=>{Wo=!1}),t.current=!1,!0)},ref:e}};function Yo(e,t){return Yo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yo(e,t)}function Jo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yo(e,t)}const Qo=o().createContext(null);function ei(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 ti(e,t,r){return null!=r[t]?r[t]:e.props[t]}function ri(e,t,r){var o=ei(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 a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,o);return Object.keys(i).forEach(function(a){var s=i[a];if((0,n.isValidElement)(s)){var l=a in t,c=a in o,u=t[a],d=(0,n.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,n.isValidElement)(u)&&(i[a]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:ti(s,"exit",e),enter:ti(s,"enter",e)})):i[a]=(0,n.cloneElement)(s,{in:!1}):i[a]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:ti(s,"exit",e),enter:ti(s,"enter",e)})}}),i}var ni=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},oi=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}Jo(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,a=t.handleExited;return{children:t.firstRender?(r=e,o=a,ei(r.children,function(e){return(0,n.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:ti(e,"appear",r),enter:ti(e,"enter",r),exit:ti(e,"exit",r)})})):ri(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var r=ei(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,je.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,Me.A)(e,["component","childFactory"]),i=this.state.contextValue,a=ni(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?o().createElement(Qo.Provider,{value:i},a):o().createElement(Qo.Provider,{value:i},o().createElement(t,n,a))},t}(o().Component);oi.propTypes={},oi.defaultProps={component:"div",childFactory:function(e){return e}};const ii=oi;var ai=r(7437);const si=_o("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),li=["center","classes","className"];let ci,ui,di,pi,hi=e=>e;const fi=(0,ai.i7)(ci||(ci=hi`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),mi=(0,ai.i7)(ui||(ui=hi`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),gi=(0,ai.i7)(di||(di=hi`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),yi=fo("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),bi=fo(function(e){const{className:t,classes:r,pulsate:o=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:u}=e,[d,p]=n.useState(!1),h=io(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),f={width:s,height:s,top:-s/2+a,left:-s/2+i},m=io(r.child,d&&r.childLeaving,o&&r.childPulsate);return l||d||p(!0),n.useEffect(()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}},[c,l,u]),(0,Bt.jsx)("span",{className:h,style:f,children:(0,Bt.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(pi||(pi=hi`
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;
}
`),si.rippleVisible,fi,550,({theme:e})=>e.transitions.easing.easeInOut,si.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,si.child,si.childLeaving,mi,550,({theme:e})=>e.transitions.easing.easeInOut,si.childPulsate,gi,({theme:e})=>e.transitions.easing.easeInOut),vi=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=r,s=(0,Me.A)(r,li),[l,c]=n.useState([]),u=n.useRef(0),d=n.useRef(null);n.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const p=n.useRef(!1),h=Ho(),f=n.useRef(null),m=n.useRef(null),g=n.useCallback(e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:a}=e;c(e=>[...e,(0,Bt.jsx)(bi,{classes:{ripple:io(i.ripple,si.ripple),rippleVisible:io(i.rippleVisible,si.rippleVisible),ripplePulsate:io(i.ripplePulsate,si.ripplePulsate),child:io(i.child,si.child),childLeaving:io(i.childLeaving,si.childLeaving),childPulsate:io(i.childPulsate,si.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},u.current)]),u.current+=1,d.current=a},[i]),y=n.useCallback((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&p.current)return void(p.current=!1);"touchstart"===(null==e?void 0:e.type)&&(p.current=!0);const s=a?null:m.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;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)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{g({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},h.start(80,()=>{f.current&&(f.current(),f.current=null)})):g({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},[o,g,h]),b=n.useCallback(()=>{y({},{pulsate:!0})},[y]),v=n.useCallback((e,t)=>{if(h.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void h.start(0,()=>{v(e,t)});f.current=null,c(e=>e.length>0?e.slice(1):e),d.current=t},[h]);return n.useImperativeHandle(t,()=>({pulsate:b,start:y,stop:v}),[b,y,v]),(0,Bt.jsx)(yi,(0,je.A)({className:io(si.root,i.root,a),ref:m},s,{children:(0,Bt.jsx)(ii,{component:null,exit:!0,children:l})}))}),xi=vi;function wi(e){return Co("MuiButtonBase",e)}const Ci=_o("MuiButtonBase",["root","disabled","focusVisible"]),_i=["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"],ki=fo("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"},[`&.${Ci.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ai=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:p=!1,LinkComponent:h="a",onBlur:f,onClick:m,onContextMenu:g,onDragLeave:y,onFocus:b,onFocusVisible:v,onKeyDown:x,onKeyUp:w,onMouseDown:C,onMouseLeave:_,onMouseUp:k,onTouchEnd:A,onTouchMove:S,onTouchStart:j,tabIndex:M=0,TouchRippleProps:R,touchRippleRef:I,type:E}=r,T=(0,Me.A)(r,_i),P=n.useRef(null),L=n.useRef(null),O=$o(L,I),{isFocusVisibleRef:N,onFocus:$,onBlur:z,ref:D}=Ko(),[B,F]=n.useState(!1);c&&B&&F(!1),n.useImperativeHandle(o,()=>({focusVisible:()=>{F(!0),P.current.focus()}}),[]);const[H,V]=n.useState(!1);n.useEffect(()=>{V(!0)},[]);const W=H&&!u&&!c;function q(e,t,r=d){return zo(n=>(t&&t(n),!r&&L.current&&L.current[e](n),!0))}n.useEffect(()=>{B&&p&&!u&&H&&L.current.pulsate()},[u,p,B,H]);const U=q("start",C),Z=q("stop",g),G=q("stop",y),X=q("stop",k),K=q("stop",e=>{B&&e.preventDefault(),_&&_(e)}),Y=q("start",j),J=q("stop",A),Q=q("stop",S),ee=q("stop",e=>{z(e),!1===N.current&&F(!1),f&&f(e)},!1),te=zo(e=>{P.current||(P.current=e.currentTarget),$(e),!0===N.current&&(F(!0),v&&v(e)),b&&b(e)}),re=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=n.useRef(!1),oe=zo(e=>{p&&!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(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))}),ie=zo(e=>{p&&" "===e.key&&L.current&&B&&!e.defaultPrevented&&(ne.current=!1,L.current.stop(e,()=>{L.current.pulsate(e)})),w&&w(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)});let ae=l;"button"===ae&&(T.href||T.to)&&(ae=h);const se={};"button"===ae?(se.type=void 0===E?"button":E,se.disabled=c):(T.href||T.to||(se.role="button"),c&&(se["aria-disabled"]=c));const le=$o(t,D,P),ce=(0,je.A)({},r,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:p,tabIndex:M,focusVisible:B}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=lo({root:["root",t&&"disabled",r&&"focusVisible"]},wi,o);return r&&n&&(i.root+=` ${n}`),i})(ce);return(0,Bt.jsxs)(ki,(0,je.A)({as:ae,className:io(ue.root,s),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:Z,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:U,onMouseLeave:K,onMouseUp:X,onDragLeave:G,onTouchEnd:J,onTouchMove:Q,onTouchStart:Y,ref:le,tabIndex:c?-1:M,type:E},se,T,{children:[a,W?(0,Bt.jsx)(xi,(0,je.A)({ref:O,center:i},R)):null]}))}),Si=Ai,ji=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)},Mi=Kt,Ri=n.createContext({});function Ii(e){return Co("MuiListItem",e)}const Ei=_o("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function Ti(e){return Co("MuiListItemButton",e)}const Pi=_o("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Li(e){return Co("MuiListItemSecondaryAction",e)}_o("MuiListItemSecondaryAction",["root","disableGutters"]);const Oi=["className"],Ni=fo("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>(0,je.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),$i=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,i=(0,Me.A)(r,Oi),a=n.useContext(Ri),s=(0,je.A)({},r,{disableGutters:a.disableGutters}),l=(e=>{const{disableGutters:t,classes:r}=e;return lo({root:["root",t&&"disableGutters"]},Li,r)})(s);return(0,Bt.jsx)(Ni,(0,je.A)({className:io(l.root,o),ownerState:s,ref:t},i))});$i.muiName="ListItemSecondaryAction";const zi=$i,Di=["className"],Bi=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Fi=fo("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,je.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,je.A)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Pi.root}`]:{paddingRight:48}},{[`&.${Ei.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ei.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ei.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ei.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"}},[`&.${Ei.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.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,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Hi=fo("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Vi=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:a=!1,children:s,className:l,component:c,components:u={},componentsProps:d={},ContainerComponent:p="li",ContainerProps:{className:h}={},dense:f=!1,disabled:m=!1,disableGutters:g=!1,disablePadding:y=!1,divider:b=!1,focusVisibleClassName:v,secondaryAction:x,selected:w=!1,slotProps:C={},slots:_={}}=r,k=(0,Me.A)(r.ContainerProps,Di),A=(0,Me.A)(r,Bi),S=n.useContext(Ri),j=n.useMemo(()=>({dense:f||S.dense||!1,alignItems:o,disableGutters:g}),[o,S.dense,f,g]),M=n.useRef(null);Mi(()=>{i&&M.current&&M.current.focus()},[i]);const R=n.Children.toArray(s),I=R.length&&ji(R[R.length-1],["ListItemSecondaryAction"]),E=(0,je.A)({},r,{alignItems:o,autoFocus:i,button:a,dense:j.dense,disabled:m,disableGutters:g,disablePadding:y,divider:b,hasSecondaryAction:I,selected:w}),T=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return lo({root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},Ii,n)})(E),P=$o(M,t),L=_.root||u.Root||Fi,O=C.root||d.root||{},N=(0,je.A)({className:io(T.root,O.className,l),disabled:m},A);let $=c||"li";return a&&(N.component=c||"div",N.focusVisibleClassName=io(Ei.focusVisible,v),$=Si),I?($=N.component||c?$:"div","li"===p&&("li"===$?$="div":"li"===N.component&&(N.component="div")),(0,Bt.jsx)(Ri.Provider,{value:j,children:(0,Bt.jsxs)(Hi,(0,je.A)({as:p,className:io(T.container,h),ref:P,ownerState:E},k,{children:[(0,Bt.jsx)(L,(0,je.A)({},O,!Oo(L)&&{as:$,ownerState:(0,je.A)({},E,O.ownerState)},N,{children:R})),R.pop()]}))})):(0,Bt.jsx)(Ri.Provider,{value:j,children:(0,Bt.jsxs)(L,(0,je.A)({},O,{as:$,ref:P},!Oo(L)&&{ownerState:(0,je.A)({},E,O.ownerState)},N,{children:[R,x&&(0,Bt.jsx)(zi,{children:x})]}))})}),Wi=Vi;var qi=o().forwardRef((e,t)=>o().createElement(Wi,{...e,ref:t})),Ui=r(3226);const Zi=Ui.A;function Gi(e){return Co("MuiTypography",e)}_o("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Xi=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ki=fo("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${Zi(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,je.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})),Yi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ji={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Qi=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTypography"}),n=(e=>Ji[e]||e)(r.color),o=(0,so.A)((0,je.A)({},r,{color:n})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=Yi}=o,h=(0,Me.A)(o,Xi),f=(0,je.A)({},o,{align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=s||(u?"p":p[d]||Yi[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return lo({root:["root",i,"inherit"!==e.align&&`align${Zi(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},Gi,a)})(f);return(0,Bt.jsx)(Ki,(0,je.A)({as:m,ref:t,ownerState:f,className:io(g.root,a)},h))}),ea=Qi;function ta(e){return Co("MuiListItemText",e)}const ra=_o("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),na=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],oa=fo("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${ra.primary}`]:t.primary},{[`& .${ra.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>(0,je.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),ia=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiListItemText"}),{children:o,className:i,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d}=r,p=(0,Me.A)(r,na),{dense:h}=n.useContext(Ri);let f=null!=l?l:o,m=u;const g=(0,je.A)({},r,{disableTypography:a,inset:s,primary:!!f,secondary:!!m,dense:h}),y=(e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:i}=e;return lo({root:["root",r&&"inset",i&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},ta,t)})(g);return null==f||f.type===ea||a||(f=(0,Bt.jsx)(ea,(0,je.A)({variant:h?"body2":"body1",className:y.primary,component:null!=c&&c.variant?void 0:"span",display:"block"},c,{children:f}))),null==m||m.type===ea||a||(m=(0,Bt.jsx)(ea,(0,je.A)({variant:"body2",className:y.secondary,color:"text.secondary",display:"block"},d,{children:m}))),(0,Bt.jsxs)(oa,(0,je.A)({className:io(y.root,i),ownerState:g,ref:t},p,{children:[f,m]}))});var aa=o().forwardRef((e,t)=>o().createElement(ia,{...e,ref:t})),sa=r(6655);const la=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,ca=Nt({}),ua=(0,sa.Ay)({themeId:cr,defaultTheme:ca,rootShouldForwardProp:la}),da=(e,t)=>{if(!t?.shouldForwardProp)return ua(e,t);const r=t.shouldForwardProp,n={...t};return n.shouldForwardProp=e=>la(e)&&r(e),ua(e,n)};function pa(e){return Co("MuiButton",e)}const ha=_o("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"]),fa=n.createContext({}),ma=n.createContext(void 0),ga=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],ya=e=>(0,je.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}}),ba=fo(Si,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Zi(r.color)}`],t[`size${Zi(r.size)}`],t[`${r.variant}Size${Zi(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,je.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,je.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.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,Oe.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,Oe.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,je.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ha.focusVisible}`]:(0,je.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ha.disabled}`]:(0,je.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,Oe.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"},[`&.${ha.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ha.disabled}`]:{boxShadow:"none"}}),va=fo("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Zi(r.size)}`]]}})(({ownerState:e})=>(0,je.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},ya(e))),xa=fo("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Zi(r.size)}`]]}})(({ownerState:e})=>(0,je.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},ya(e))),wa=n.forwardRef(function(e,t){const r=n.useContext(fa),o=n.useContext(ma),i=go({props:cn(r,e),name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:f,fullWidth:m=!1,size:g="medium",startIcon:y,type:b,variant:v="text"}=i,x=(0,Me.A)(i,ga),w=(0,je.A)({},i,{color:s,component:l,disabled:u,disableElevation:d,disableFocusRipple:p,fullWidth:m,size:g,type:b,variant:v}),C=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s=lo({root:["root",i,`${i}${Zi(t)}`,`size${Zi(o)}`,`${i}Size${Zi(o)}`,`color${Zi(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Zi(o)}`],endIcon:["icon","endIcon",`iconSize${Zi(o)}`]},pa,a);return(0,je.A)({},a,s)})(w),_=y&&(0,Bt.jsx)(va,{className:C.startIcon,ownerState:w,children:y}),k=h&&(0,Bt.jsx)(xa,{className:C.endIcon,ownerState:w,children:h}),A=o||"";return(0,Bt.jsxs)(ba,(0,je.A)({ownerState:w,className:io(r.className,C.root,c,A),component:l,disabled:u,focusRipple:!p,focusVisibleClassName:io(C.focusVisible,f),ref:t,type:b},x,{classes:C,children:[_,a,k]}))}),Ca=wa;function _a(e){return Co("MuiCircularProgress",e)}_o("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ka=["className","color","disableShrink","size","style","thickness","value","variant"];let Aa,Sa,ja,Ma,Ra=e=>e;const Ia=(0,ai.i7)(Aa||(Aa=Ra`
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`)),Ea=(0,ai.i7)(Sa||(Sa=Ra`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -125px;
}
`)),Ta=fo("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Zi(r.color)}`]]}})(({ownerState:e,theme:t})=>(0,je.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,ai.AH)(ja||(ja=Ra`
animation: ${0} 1.4s linear infinite;
`),Ia)),Pa=fo("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),La=fo("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Zi(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>(0,je.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,ai.AH)(Ma||(Ma=Ra`
animation: ${0} 1.4s ease-in-out infinite;
`),Ea)),Oa=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:l=3.6,value:c=0,variant:u="indeterminate"}=r,d=(0,Me.A)(r,ka),p=(0,je.A)({},r,{color:o,disableShrink:i,size:a,thickness:l,value:c,variant:u}),h=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e;return lo({root:["root",r,`color${Zi(n)}`],svg:["svg"],circle:["circle",`circle${Zi(r)}`,o&&"circleDisableShrink"]},_a,t)})(p),f={},m={},g={};if("determinate"===u){const e=2*Math.PI*((44-l)/2);f.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),f.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,Bt.jsx)(Ta,(0,je.A)({className:io(h.root,n),style:(0,je.A)({width:a,height:a},m,s),ownerState:p,ref:t,role:"progressbar"},g,d,{children:(0,Bt.jsx)(Pa,{className:h.svg,ownerState:p,viewBox:"22 22 44 44",children:(0,Bt.jsx)(La,{className:h.circle,style:f,ownerState:p,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})}))}),Na=Oa;var $a=o().forwardRef((e,t)=>o().createElement(Na,{...e,ref:t}));const za="rgba(0, 0, 0, 0.04)",Da="rgba(0, 0, 0, 0.08)",Ba=da(Ca)(({theme:e,ownerState:t})=>{const{color:r,unstableToColor:n,unstableGradientAngle:o}=t,i=r&&"inherit"!==r?r:"primary",a=!!e.palette[i]?.__unstableTonalMain,s=({variant:e})=>"unstableTonal"===e&&a,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=>s(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=>s(e)&&"inherit"===e.color,style:{background:za,color:"inherit","&:hover":{backgroundColor:Da}}},{props:e=>"unstableTonal"===e.variant&&!a,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&&a)(e)&&!e.disabled,style:Ua(e,o,r,n)},{props:e=>"unstableGradient"===e.variant&&!a,style:{background:"#ff0000",color:"#ff0000"}}]}}),Fa=(e="primary",t="text",r)=>{if(e)return"inherit"===e?"inherit":"contained"===t?`${e}.contrastText`:"unstableTonal"===t?`${e}.main`:r.palette.primary.__unstableAccessibleMain&&Wr.includes(e)?`${e}.${ge}`:`${e}.main`},Ha={loading:!1,loadingIndicator:o().createElement($a,{color:"inherit",size:16}),loadingPosition:"center"},Va=o().forwardRef((e,t)=>{const r={...Ha,...e},n=o().useContext(fa),i=yo(),{sx:a={},unstableToColor:s,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(qa,{loadingIndicator:n},e.children)}return{...i,disabled:!0}}(r),u={...c,loading:r.loading,loadingPosition:r.loadingPosition,loadingIndicator:r.loadingIndicator,unstableToColor:s,unstableGradientAngle:l};let d={};const p=c.href?me:"&:hover,&:focus,&:active",h=c.color||n?.color,f=c.variant||n?.variant;return d={[p]:{color:Fa(h,f,i)}},o().createElement(Ba,{...c,color:h,variant:f,sx:{...d,...a},ref:t,ownerState:u})});var Wa=Va;function qa({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 Ua(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:a,__unstableTonalMain:s,__unstableTonalDark:l}=e.palette[o]||{};"inherit"===r&&(a="inherit",s=za,l=Da);const c=[s],u=[l];if(n){const t=n,{__unstableTonalMain:r,__unstableTonalDark:o}=e.palette[t];c.push(r),u.push(o)}return{color:a,backgroundImage:`linear-gradient( ${i}deg, ${c.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${i}deg, ${u.join(",")} )`}}}Va.defaultProps=Ha;const Za=da(Wa)`
&.MuiButton-colorInfo:focus,
&.MuiButton-colorInfo:focus-visible {
box-shadow: 0 0 0 3px #5e9ed6;
}
`,Ga=({...e})=>"info"===e.color?(0,Bt.jsx)(Za,{...e}):(0,Bt.jsx)(Wa,{...e}),Xa=(0,Fn.createContext)(null);function Ka(){return(0,Fn.useContext)(Xa)}const Ya=window.wp.coreData,Ja=window.wp.data,Qa=()=>({save:async e=>await(0,Ja.dispatch)(Ya.store).saveEntityRecord("root","site",e)});var es;if("undefined"==typeof window){var ts={hostname:""};es={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:ts,referrer:""},screen:{width:0,height:0},location:ts,addEventListener:function(){},removeEventListener:function(){}}}else es=window;function rs(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 ns(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function os(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){ns(i,n,o,a,s,"next",e)}function s(e){ns(i,n,o,a,s,"throw",e)}a(void 0)})}}function is(e,t,r){return is=ms()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&ps(o,r.prototype),o},is.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 ss(){return ss=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},ss.apply(this,arguments)}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ls(e)}function cs(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&&ps(e,t)}function us(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ds(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 ps(e,t){return ps=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ps(e,t)}function hs(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function fs(e){var t="function"==typeof Map?new Map:void 0;return fs=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 is(e,arguments,ls(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ps(n,e)},fs(e)}function ms(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ms=function(){return!!e})()}function gs(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 rs(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)?rs(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 ys(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}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,s])}}}function bs(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 vs,xs=Object.defineProperty,ws=function(e,t,r){return function(e,t,r){return t in e?xs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":hs(t))?t+"":t,r)},Cs=Object.defineProperty,_s=function(e,t,r){return function(e,t,r){return t in e?Cs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":hs(t))?t+"":t,r)},ks=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}(ks||{}),As={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ss={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},js={};function Ms(e){if(js[e])return js[e];var t=globalThis[e],r=t.prototype,n=e in As?As[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 Ss?Ss[e]:void 0,a=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&&a&&!globalThis.Zone)return js[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?js[e]=c:r}catch(e){return r}}var Rs={};function Is(e,t,r){var n,o=e+"."+String(r);if(Rs[o])return Rs[o].call(t);var i=Ms(e),a=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return a?(Rs[o]=a,a.call(t)):t[r]}var Es=function(e){return Is("Node",e,"childNodes")},Ts=function(e){return Is("Node",e,"parentNode")},Ps=function(e){return Is("Node",e,"parentElement")},Ls=function(e){return Is("Node",e,"textContent")},Os=function(e){return e&&"host"in e?Is("ShadowRoot",e,"host"):null},Ns=function(e){return e&&"shadowRoot"in e?Is("Element",e,"shadowRoot"):null};function $s(e){return e.nodeType===e.ELEMENT_NODE}function zs(e){var t=e&&"host"in e&&"mode"in e&&Os(e)||null;return Boolean(t&&"shadowRoot"in t&&Ns(t)===e)}function Ds(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function Bs(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 Fs(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 Fs(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=Bs(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?Js(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?Js(o,t):o}var Hs=function(){function e(){_s(this,"idNodeMap",new Map),_s(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 Vs(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,o=e.type,i=e.value,a=e.maskInputFn,s=i||"",l=o&&Ws(o);return(r[n.toLowerCase()]||l&&r[l])&&(s=a?a(s,t):"*".repeat(s.length)),s}function Ws(e){return e.toLowerCase()}var qs="__rrweb_original__";function Us(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Ws(t):null}function Zs(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 Gs=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Xs=/^(?:[a-z+]+:)?\/\//i,Ks=/^www\..*/i,Ys=/^(data:)([^,]*),(.*)/i;function Js(e,t){return(e||"").replace(Gs,function(e,r,n,o,i,a){var s,l=n||i||a,c=r||o||"";if(!l)return e;if(Xs.test(l)||Ks.test(l))return"url("+c+l+c+")";if(Ys.test(l))return"url("+c+l+c+")";if("/"===l[0])return"url("+c+(((s=t).indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+l)+c+")";var u=t.split("/"),d=l.split("/");u.pop();for(var p,h=gs(d);!(p=h()).done;){var f=p.value;"."!==f&&(".."===f?u.pop():u.push(f))}return"url("+c+u.join("/")+c+")"})}function Qs(e){return e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"")}var el,tl,rl=1,nl=new RegExp("[^a-z0-9-_:]");function ol(){return rl++}var il=/^[^ \t\n\r\u000c]+/,al=/^[, \t\n\r\u000c]+/,sl=new WeakMap;function ll(e,t){return t&&""!==t.trim()?cl(e,t):t}function cl(e,t){var r=sl.get(e);if(r||(r=e.createElement("a"),sl.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function ul(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?ll(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(al),!(r>=t.length);){var i=n(il);if(","===i.slice(-1))i=ll(e,i.substring(0,i.length-1)),o.push(i);else{var a="";i=ll(e,i);for(var s=!1;;){var l=t.charAt(r);if(""===l){o.push((i+a).trim());break}if(s)")"===l&&(s=!1);else{if(","===l){r+=1,o.push((i+a).trim());break}"("===l&&(s=!0)}a+=l,r+=1}}}return o.join(", ")}(e,n):"style"===r?Js(n,cl(e)):"object"===t&&"data"===r?ll(e,n):n:ll(e,n):n}function dl(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function pl(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&pl(Ts(e),t,r);for(var n=e.classList.length;n--;){var o=e.classList[n];if(t.test(o))return!0}return!!r&&pl(Ts(e),t,r)}function hl(e,t,r,n){var o;if($s(e)){if(!Es(o=e).length)return!1}else{if(null===Ps(e))return!1;o=Ps(e)}try{if("string"==typeof t){if(n){if(o.closest("."+t))return!0}else if(o.classList.contains(t))return!0}else if(pl(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 fl(e,t){var r=t.doc,n=t.mirror,o=t.blockClass,i=t.blockSelector,a=t.needsMask,s=t.inlineStylesheet,l=t.maskInputOptions,c=void 0===l?{}:l,u=t.maskTextFn,d=t.maskInputFn,p=t.dataURLOptions,h=void 0===p?{}:p,f=t.inlineImages,m=t.recordCanvas,g=t.keepIframeSrcFn,y=t.newlyAddedElement,b=void 0!==y&&y,v=t.cssCaptured,x=void 0!==v&&v,w=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:ks.Document,childNodes:[],compatMode:e.compatMode}:{type:ks.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:ks.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,o=t.inlineStylesheet,i=t.maskInputOptions,a=void 0===i?{}:i,s=t.maskInputFn,l=t.dataURLOptions,c=void 0===l?{}:l,u=t.inlineImages,d=t.recordCanvas,p=t.keepIframeSrcFn,h=t.newlyAddedElement,f=void 0!==h&&h,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),y=function(e){if(us(e,HTMLFormElement))return"form";var t=Ws(e.tagName);return nl.test(t)?"div":t}(e),b={},v=e.attributes.length,x=0;x<v;x++){var w=e.attributes[x];dl(y,w.name,w.value)||(b[w.name]=ul(n,y,Ws(w.name),w.value))}if("link"===y&&o){var C=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),_=null;C&&(_=Bs(C)),_&&(delete b.rel,delete b.href,b._cssText=_)}if("style"===y&&e.sheet){var k=Bs(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=Qs(e),i=1;i<r.length;i++)if(r[i].textContent&&"string"==typeof r[i].textContent)for(var a=Qs(r[i].textContent),s=3;s<a.length;s++){var l=a.substring(0,s);if(2===o.split(l).length){for(var c=o.indexOf(l),u=c;u<e.length;u++)if(Qs(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)),b._cssText=k)}if("input"===y||"textarea"===y||"select"===y){var A=e.value,S=e.checked;"radio"!==b.type&&"checkbox"!==b.type&&"submit"!==b.type&&"button"!==b.type&&A?b.value=Vs({element:e,type:Us(e),tagName:y,value:A,maskInputOptions:a,maskInputFn:s}):S&&(b.checked=S)}if("option"===y&&(e.selected&&!a.select?b.selected=!0:delete b.selected),"dialog"===y&&e.open&&(b.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),"canvas"===y&&d)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=qs in o?o[qs]: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)||(b.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){var j=e.toDataURL(c.type,c.quality),M=n.createElement("canvas");M.width=e.width,M.height=e.height,j!==M.toDataURL(c.type,c.quality)&&(b.rr_dataURL=j)}if("img"===y&&u){el||(el=n.createElement("canvas"),tl=el.getContext("2d"));var R=e,I=R.currentSrc||R.getAttribute("src")||"<unknown-src>",E=R.crossOrigin,T=function(){R.removeEventListener("load",T);try{el.width=R.naturalWidth,el.height=R.naturalHeight,tl.drawImage(R,0,0),b.rr_dataURL=el.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="+I+"! Error: "+e)}"anonymous"===R.crossOrigin&&(E?b.crossOrigin=E:R.removeAttribute("crossorigin"))};R.complete&&0!==R.naturalWidth?T():R.addEventListener("load",T)}if("audio"===y||"video"===y){var P=b;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(f||(e.scrollLeft&&(b.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(b.rr_scrollTop=e.scrollTop)),g){var L=e.getBoundingClientRect(),O=L.width,N=L.height;b={class:b.class,rr_width:O+"px",rr_height:N+"px"}}"iframe"!==y||p(b.src)||(e.contentDocument||(b.rr_src=b.src),delete b.src);try{customElements.get(y)&&(r=!0)}catch(e){}return{type:ks.Element,tagName:y,attributes:b,childNodes:[],isSVG:($=e,Boolean("svg"===$.tagName||$.ownerSVGElement)||void 0),needBlock:g,rootId:m,isCustom:r};var $}(e,{doc:r,blockClass:o,blockSelector:i,inlineStylesheet:s,maskInputOptions:c,maskInputFn:d,dataURLOptions:h,inlineImages:f,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:b,rootId:w});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,o=t.rootId,i=t.cssCaptured,a=Ts(e),s=a&&a.tagName,l="",c="STYLE"===s||void 0,u="SCRIPT"===s||void 0;return u?l="SCRIPT_PLACEHOLDER":i||(l=Ls(e),c&&l&&(l=Js(l,cl(t.doc)))),!c&&!u&&l&&r&&(l=n?n(l,Ps(e)):l.replace(/[\S]/g,"*")),{type:ks.Text,textContent:l||"",rootId:o}}(e,{doc:r,needsMask:a,maskTextFn:u,rootId:w,cssCaptured:x});case e.CDATA_SECTION_NODE:return{type:ks.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:ks.Comment,textContent:Ls(e)||"",rootId:w};default:return!1}}function ml(e){return null==e?"":e.toLowerCase()}function gl(e,t){var r=t.doc,n=t.mirror,o=t.blockClass,i=t.blockSelector,a=t.maskTextClass,s=t.maskTextSelector,l=t.skipChild,c=void 0!==l&&l,u=t.inlineStylesheet,d=void 0===u||u,p=t.maskInputOptions,h=void 0===p?{}:p,f=t.maskTextFn,m=t.maskInputFn,g=t.slimDOMOptions,y=t.dataURLOptions,b=void 0===y?{}:y,v=t.inlineImages,x=void 0!==v&&v,w=t.recordCanvas,C=void 0!==w&&w,_=t.onSerialize,k=t.onIframeLoad,A=t.iframeLoadTimeout,S=void 0===A?5e3:A,j=t.onStylesheetLoad,M=t.stylesheetLoadTimeout,R=void 0===M?5e3:M,I=t.keepIframeSrcFn,E=void 0===I?function(){return!1}:I,T=t.newlyAddedElement,P=void 0!==T&&T,L=t.cssCaptured,O=void 0!==L&&L,N=t.needsMask,$=t.preserveWhiteSpace,z=void 0===$||$;N||(N=hl(e,a,s,void 0===N));var D,B=fl(e,{doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:N,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,dataURLOptions:b,inlineImages:x,recordCanvas:C,keepIframeSrcFn:E,newlyAddedElement:P,cssCaptured:O});if(!B)return console.warn(e,"not serialized"),null;D=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===ks.Comment)return!0;if(e.type===ks.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"===Zs(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ml(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ml(e.attributes.name)||"icon"===ml(e.attributes.rel)||"apple-touch-icon"===ml(e.attributes.rel)||"shortcut icon"===ml(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ml(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ml(e.attributes.property).match(/^(og|twitter|fb):/)||ml(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ml(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===ml(e.attributes.name)||"googlebot"===ml(e.attributes.name)||"bingbot"===ml(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===ml(e.attributes.name)||"generator"===ml(e.attributes.name)||"framework"===ml(e.attributes.name)||"publisher"===ml(e.attributes.name)||"progid"===ml(e.attributes.name)||ml(e.attributes.property).match(/^article:/)||ml(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===ml(e.attributes.name)||"yandex-verification"===ml(e.attributes.name)||"csrf-token"===ml(e.attributes.name)||"p:domain_verify"===ml(e.attributes.name)||"verify-v1"===ml(e.attributes.name)||"verification"===ml(e.attributes.name)||"shopify-checkout-api-token"===ml(e.attributes.name)))return!0}}return!1}(B,g)||!z&&B.type===ks.Text&&!B.textContent.replace(/^\s+|\s+$/gm,"").length?-2:ol();var F=Object.assign(B,{id:D});if(n.add(e,F),-2===D)return null;_&&_(e);var H=!c;if(F.type===ks.Element){H=H&&!F.needBlock,delete F.needBlock;var V=Ns(e);V&&Ds(V)&&(F.isShadowHost=!0)}if((F.type===ks.Document||F.type===ks.Element)&&H){g.headWhitespace&&F.type===ks.Element&&"head"===F.tagName&&(z=!1);var W={doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:N,maskTextClass:a,maskTextSelector:s,skipChild:c,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:b,inlineImages:x,recordCanvas:C,preserveWhiteSpace:z,onSerialize:_,onIframeLoad:k,iframeLoadTimeout:S,onStylesheetLoad:j,stylesheetLoadTimeout:R,keepIframeSrcFn:E,cssCaptured:!1};if(F.type===ks.Element&&"textarea"===F.tagName&&void 0!==F.attributes.value);else{F.type===ks.Element&&void 0!==F.attributes._cssText&&"string"==typeof F.attributes._cssText&&(W.cssCaptured=!0);for(var q,U=gs(Array.from(Es(e)));!(q=U()).done;){var Z=gl(q.value,W);Z&&F.childNodes.push(Z)}}var G=null;if($s(e)&&(G=Ns(e)))for(var X,K=gs(Array.from(Es(G)));!(X=K()).done;){var Y=gl(X.value,W);Y&&(Ds(G)&&(Y.isShadow=!0),F.childNodes.push(Y))}}var J=Ts(e);return J&&zs(J)&&Ds(J)&&(F.isShadow=!0),F.type===ks.Element&&"iframe"===F.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 a="about:blank";if(n.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var s=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(s),i=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&k){var r=gl(t,{doc:t,mirror:n,blockClass:o,blockSelector:i,needsMask:N,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:b,inlineImages:x,recordCanvas:C,preserveWhiteSpace:z,onSerialize:_,onIframeLoad:k,iframeLoadTimeout:S,onStylesheetLoad:j,stylesheetLoadTimeout:R,keepIframeSrcFn:E});r&&k(e,r)}},S),F.type===ks.Element&&"link"===F.tagName&&"string"==typeof F.attributes.rel&&("stylesheet"===F.attributes.rel||"preload"===F.attributes.rel&&"string"==typeof F.attributes.href&&"css"===Zs(F.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(j){var t=gl(e,{doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:N,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:b,inlineImages:x,recordCanvas:C,preserveWhiteSpace:z,onSerialize:_,onIframeLoad:k,iframeLoadTimeout:S,onStylesheetLoad:j,stylesheetLoadTimeout:R,keepIframeSrcFn:E});t&&j(e,t)}},R),F}function yl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bl(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return us(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 vl={exports:{}},xl=String,wl=function(){return{isColorSupported:!1,reset:xl,bold:xl,dim:xl,italic:xl,underline:xl,inverse:xl,hidden:xl,strikethrough:xl,black:xl,red:xl,green:xl,yellow:xl,blue:xl,magenta:xl,cyan:xl,white:xl,gray:xl,bgBlack:xl,bgRed:xl,bgGreen:xl,bgYellow:xl,bgBlue:xl,bgMagenta:xl,bgCyan:xl,bgWhite:xl}};vl.exports=wl(),vl.exports.createColors=wl;var Cl=vl.exports,_l=bl(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),kl=Cl,Al=_l,Sl=function(e){function t(r,n,o,i,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),i&&(l.source=i),s&&(l.plugin=s),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}cs(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=kl.isColorSupported),Al&&e&&(r=Al(r));var n,o,i=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,i.length),l=String(s).length;if(e){var c=kl.createColors(!0),u=c.bold,d=c.gray,p=c.red;n=function(e){return u(p(e))},o=function(e){return d(e)}}else n=o=function(e){return e};return i.slice(a,s).map(function(e,r){var i=a+1+r,s=" "+(" "+i).slice(-l)+" | ";if(i===t.line){var c=o(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+o(s)+e+"\n "+c+n("^")}return" "+o(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(fs(Error)),jl=Sl;Sl.default=Sl;var Ml={};Ml.isClean=Symbol("isClean"),Ml.my=Symbol("my");var Rl={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},Il=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 a=0;a<o;a++)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 Rl[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 a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](i,e):i.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=Rl[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}(),El=Il;Il.default=Il;var Tl=El;function Pl(e,t){new Tl(t).stringify(e)}var Ll=Pl;Pl.default=Pl;var Ol=Ml.isClean,Nl=Ml.my,$l=jl,zl=El,Dl=Ll;function Bl(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":hs(o);"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(function(e){return Bl(e,r)}):("object"===i&&null!==o&&(o=Bl(o)),r[n]=o)}return r}var Fl=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Ol]=!1,this[Nl]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=gs(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=Bl(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 $l(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[Ol]){this[Ol]=!1;for(var e=this;e=e.parent;)e[Ol]=!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 zl).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,a=gs(t);!(n=a()).done;){var s=n.value;s===this?i=!0:i?(this.parent.insertAfter(o,s),o=s):this.parent.insertBefore(o,s)}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 a=this[i];if(Array.isArray(a))r[i]=a.map(function(e){return"object"===(void 0===e?"undefined":hs(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":hs(a))&&a.toJSON)r[i]=a.toJSON(null,t);else if("source"===i){var s=t.get(a.input);null==s&&(s=o,t.set(a.input,o),o++),r[i]={end:a.end,inputId:s,start:a.start}}else r[i]=a}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=Dl),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}(),Hl=Fl;Fl.default=Fl;var Vl=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=ss({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return cs(t,e),as(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Hl),Wl=Vl;Vl.default=Vl;var ql=_l.SourceMapConsumer,Ul=_l.SourceMapGenerator,Zl=_l.existsSync,Gl=_l.readFileSync,Xl=_l.dirname,Kl=_l.join,Yl=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=Xl(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new ql(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":hs(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=Xl(e),Zl(e))return this.mapFile=e,Gl(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(us(t,ql))return Ul.fromSourceMap(t).toString();if(us(t,Ul))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=Kl(Xl(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}(),Jl=Yl;Yl.default=Yl;var Ql=_l.SourceMapConsumer,ec=_l.SourceMapGenerator,tc=_l.fileURLToPath,rc=_l.pathToFileURL,nc=_l.isAbsolute,oc=_l.resolve,ic=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},ac=_l,sc=jl,lc=Jl,cc=Symbol("fromOffsetCache"),uc=Boolean(Ql&&ec),dc=Boolean(oc&&nc),pc=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":hs(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&&(!dc||/^\w+:\/\//.test(t.from)||nc(t.from)?this.file=t.from:this.file=oc(t.from)),dc&&uc){var r=new lc(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 "+ic(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var o,i,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":hs(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);i=u.line,a=u.col}else i=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var p=this.origin(t,r,i,a);return(o=p?new sc(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new sc(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:a,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:i,line:t,source:this.css},this.file&&(rc&&(o.input.url=rc(this.file).toString()),o.input.file=this.file),o},t.fromOffset=function(e){var t;if(this[cc])t=this[cc];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[cc]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:oc(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var o,i,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(o=a.originalPositionFor({column:n,line:r})),i=nc(s.source)?rc(s.source):new URL(s.source,this.map.consumer().sourceRoot||rc(this.map.mapFile));var l={column:s.column,endColumn:o&&o.column,endLine:o&&o.line,line:s.line,url:i.toString()};if("file:"===i.protocol){if(!tc)throw new Error("file: protocol is not available in this PostCSS build");l.file=tc(i)}var c=a.sourceContentFor(s.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=ss({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},as(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),hc=pc;pc.default=pc,ac&&ac.registerInput&&ac.registerInput(pc);var fc=_l.SourceMapConsumer,mc=_l.SourceMapGenerator,gc=_l.dirname,yc=_l.relative,bc=_l.resolve,vc=_l.sep,xc=_l.pathToFileURL,wc=hc,Cc=Boolean(fc&&mc),_c=Boolean(gc&&bc&&yc&&vc),kc=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=gs(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),o=r.root||gc(r.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new fc(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(),_c&&Cc&&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=mc.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new mc({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 mc({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,o=1,i="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),o=s.length-r):o+=s.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?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},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?gc(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=gc(bc(r,this.mapOpts.annotation)));var n=yc(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 wc(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(xc){var r=xc(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;"\\"===vc&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Ac=kc,Sc=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return cs(t,e),t}(Hl),jc=Sc;Sc.default=Sc;var Mc,Rc,Ic,Ec,Tc=Ml.isClean,Pc=Ml.my,Lc=Wl,Oc=jc;function Nc(e){return e.map(function(e){return e.nodes&&(e.nodes=Nc(e.nodes)),delete e.source,e})}function $c(e){if(e[Tc]=!1,e.proxyOf.nodes)for(var t,r=gs(e.proxyOf.nodes);!(t=r()).done;)$c(t.value)}var zc=function(e){function t(){return e.apply(this,arguments)||this}cs(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=gs(t);!(n=o()).done;)for(var i,a=n.value,s=gs(this.normalize(a,this.last));!(i=s()).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=gs(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,a=gs(o);!(i=a()).done;){var s=i.value;this.proxyOf.nodes.splice(n+1,0,s)}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 a,s=gs(i);!(a=s()).done;){var l=a.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=Nc(Mc(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var o,i=gs(e=e.slice(0));!(o=i()).done;){var a=o.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=gs(e=e.nodes.slice(0));!(s=l()).done;){var c=s.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 Lc(e)]}else if(e.selector)e=[new Rc(e)];else if(e.name)e=[new Ic(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Oc(e)]}var u=e.map(function(e){return e[Pc]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Tc]&&$c(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=gs(t=t.reverse());!(n=o()).done;){for(var i,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=gs(s);!(i=l()).done;){var c=i.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.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=gs(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?us(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?us(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?us(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}(Hl);zc.registerParse=function(e){Mc=e},zc.registerRule=function(e){Rc=e},zc.registerAtRule=function(e){Ic=e},zc.registerRoot=function(e){Ec=e};var Dc=zc;zc.default=zc,zc.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Ic.prototype):"rule"===e.type?Object.setPrototypeOf(e,Rc.prototype):"decl"===e.type?Object.setPrototypeOf(e,Lc.prototype):"comment"===e.type?Object.setPrototypeOf(e,Oc.prototype):"root"===e.type&&Object.setPrototypeOf(e,Ec.prototype),e[Pc]=!0,e.nodes&&e.nodes.forEach(function(e){zc.rebuild(e)})};var Bc,Fc,Hc=function(e){function t(t){var r;return(r=e.call(this,ss({type:"document"},t))||this).nodes||(r.nodes=[]),r}return cs(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Bc(new Fc,this,e).stringify()},t}(Dc);Hc.registerLazyResult=function(e){Bc=e},Hc.registerProcessor=function(e){Fc=e};var Vc=Hc;Hc.default=Hc;var Wc=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}(),qc=Wc;Wc.default=Wc;var Uc=qc,Zc=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 Uc(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}(),Gc=Zc;Zc.default=Zc;var Xc="'".charCodeAt(0),Kc='"'.charCodeAt(0),Yc="\\".charCodeAt(0),Jc="/".charCodeAt(0),Qc="\n".charCodeAt(0),eu=" ".charCodeAt(0),tu="\f".charCodeAt(0),ru="\t".charCodeAt(0),nu="\r".charCodeAt(0),ou="[".charCodeAt(0),iu="]".charCodeAt(0),au="(".charCodeAt(0),su=")".charCodeAt(0),lu="{".charCodeAt(0),cu="}".charCodeAt(0),uu=";".charCodeAt(0),du="*".charCodeAt(0),pu=":".charCodeAt(0),hu="@".charCodeAt(0),fu=/[\t\n\f\r "#'()/;[\\\]{}]/g,mu=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,gu=/.[\r\n"'(/\\]/,yu=/[\da-f]/i,bu=Dc,vu=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}cs(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}(bu),xu=vu;vu.default=vu,bu.registerAtRule(vu);var wu,Cu,_u=Dc,ku=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}cs(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,a=gs(o);!(i=a()).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 wu(new Cu,this,e).stringify()},t}(_u);ku.registerLazyResult=function(e){wu=e},ku.registerProcessor=function(e){Cu=e};var Au=ku;ku.default=ku,_u.registerRoot(ku);var Su={comma:function(e){return Su.split(e,[","],!0)},space:function(e){return Su.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,o=[],i="",a=!1,s=0,l=!1,c="",u=!1,d=gs(e);!(n=d()).done;){var p=n.value;u?u=!1:"\\"===p?u=!0:l?p===c&&(l=!1):'"'===p||"'"===p?(l=!0,c=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(a=!0),a?(""!==i&&o.push(i.trim()),i="",a=!1):i+=p}return(r||""!==i)&&o.push(i.trim()),o}},ju=Su;Su.default=Su;var Mu=Dc,Ru=ju,Iu=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return cs(t,e),as(t,[{key:"selectors",get:function(){return Ru.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}(Mu),Eu=Iu;Iu.default=Iu,Mu.registerRule(Iu);var Tu=Wl,Pu=jc,Lu=xu,Ou=Au,Nu=Eu,$u={empty:!0,space:!0},zu=function(){function e(e){this.input=e,this.root=new Ou,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 Lu;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);for(var i=!1,a=!1,s=[],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){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(o.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(o,"params",s),i&&(e=s[s.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=""),a&&(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,a=gs(e.entries());!(o=a()).done;){var s=o.value,l=s[0];if("("===(r=(t=s[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 Pu;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,a,s,l,c,u,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function b(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=f},nextToken:function(e){if(y.length)return y.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m)){case Qc:case eu:case ru:case nu:case tu:n=m;do{n+=1,r=p.charCodeAt(n)}while(r===eu||r===Qc||r===ru||r===nu||r===tu);d=["space",p.slice(m,n)],m=n-1;break;case ou:case iu:case lu:case cu:case pu:case uu:case su:var v=String.fromCharCode(r);d=[v,v,m];break;case au:if(c=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===c&&u!==Xc&&u!==Kc&&u!==eu&&u!==Qc&&u!==ru&&u!==tu&&u!==nu){n=m;do{if(s=!1,-1===(n=p.indexOf(")",n+1))){if(h||t){n=m;break}b("bracket")}for(l=n;p.charCodeAt(l-1)===Yc;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,n+1),m,n],m=n}else n=p.indexOf(")",m+1),i=p.slice(m,n+1),-1===n||gu.test(i)?d=["(","(",m]:(d=["brackets",i,m,n],m=n);break;case Xc:case Kc:o=r===Xc?"'":'"',n=m;do{if(s=!1,-1===(n=p.indexOf(o,n+1))){if(h||t){n=m+1;break}b("string")}for(l=n;p.charCodeAt(l-1)===Yc;)l-=1,s=!s}while(s);d=["string",p.slice(m,n+1),m,n],m=n;break;case hu:fu.lastIndex=m+1,fu.test(p),n=0===fu.lastIndex?p.length-1:fu.lastIndex-2,d=["at-word",p.slice(m,n+1),m,n],m=n;break;case Yc:for(n=m,a=!0;p.charCodeAt(n+1)===Yc;)n+=1,a=!a;if(r=p.charCodeAt(n+1),a&&r!==Jc&&r!==eu&&r!==Qc&&r!==ru&&r!==nu&&r!==tu&&(n+=1,yu.test(p.charAt(n)))){for(;yu.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===eu&&(n+=1)}d=["word",p.slice(m,n+1),m,n],m=n;break;default:r===Jc&&p.charCodeAt(m+1)===du?(0===(n=p.indexOf("*/",m+2)+1)&&(h||t?n=p.length:b("comment")),d=["comment",p.slice(m,n+1),m,n],m=n):(mu.lastIndex=m+1,mu.test(p),n=0===mu.lastIndex?p.length-1:mu.lastIndex-2,d=["word",p.slice(m,n+1),m,n],g.push(d),m=n)}return m++,d}},position:function(){return m}}}(this.input)},t.decl=function(e,t){var r=new Tu;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 a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.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),d="",p=l;p>0;p--){var h=u[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.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 Nu;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=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(a&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.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(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},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,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(i=(o=r[d])[0])||d!==l-1||n?"comment"===i?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",$u[s]||$u[a]||","===c.slice(-1)?u=!1:c+=o[1]):c+=o[1]:u=!1;if(!u){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new Nu;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}(),Du=Dc,Bu=zu,Fu=hc;function Hu(e,t){var r=new Fu(e,t),n=new Bu(r);try{n.parse()}catch(e){throw e}return n.root}var Vu=Hu;Hu.default=Hu,Du.registerParse(Hu);var Wu=Ml.isClean,qu=Ml.my,Uu=Ac,Zu=Ll,Gu=Dc,Xu=Vc,Ku=Gc,Yu=Vu,Ju=Au,Qu={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ed={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},td={Once:!0,postcssPlugin:!0,prepare:!0};function rd(e){return"object"===(void 0===e?"undefined":hs(e))&&"function"==typeof e.then}function nd(e){var t=!1,r=Qu[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 od(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:nd(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function id(e){return e[Wu]=!1,e.nodes&&e.nodes.forEach(function(e){return id(e)}),e}var ad={},sd=function(){function e(t,r,n){var o,i=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":hs(r))||null===r||"root"!==r.type&&"document"!==r.type)if(us(r,e)||us(r,Ku))o=id(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=Yu;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{o=a(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[qu]&&Gu.rebuild(o)}else o=id(r);this.result=new Ku(t,o,n),this.helpers=ss({},ad,{postcss:ad,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":hs(e))&&e.prepare?ss({},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=gs(this.plugins);!(t=n()).done;){var o=t.value;if("object"===(void 0===o?"undefined":hs(o)))for(var i in o){if(!ed[i]&&/^[A-Z]/.test(i))throw new Error("Unknown event "+i+" in "+o.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!td[i])if("object"===hs(o[i]))for(var a in o[i])r(o,"*"===a?i:i+"-"+a.toLowerCase(),o[i][a]);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 os(function(){var t,r,n,o,i,a,s,l,c,u,d,p;return ys(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!rd(n=e.runOnRoot(r)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,n];case 3:return h.sent(),[3,5];case 4:throw o=h.sent(),e.handleError(o);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];i=e.result.root,h.label=7;case 7:if(i[Wu])return[3,14];i[Wu]=!0,a=[od(i)],h.label=8;case 8:if(!(a.length>0))return[3,13];if(!rd(s=e.visitTick(a)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),c=a[a.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,a;return ys(this,function(s){switch(s.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.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 s.sent(),[3,5];case 3:return[4,n(i,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=gs(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,bs(u())];case 16:h.sent(),h.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":hs(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 rd(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=Zu;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Uu(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=gs(this.plugins);!(e=t()).done;){var r=e.value;if(rd(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Wu];)n[Wu]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var o,i=gs(n.nodes);!(o=i()).done;){var a=o.value;this.visitSync(this.listeners.OnceExit,a)}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=gs(e);!(r=n()).done;){var o=r.value,i=o[0],a=o[1];this.result.lastPlugin=i;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(rd(s))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],a=o[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[Wu])return s[Wu]=!0,void e.push(od(s));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[Wu]=!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[Wu]=!0;for(var r,n=gs(nd(e));!(r=n()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[Wu]||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}();sd.registerPostcss=function(e){ad=e};var ld=sd;sd.default=sd,Ju.registerLazyResult(sd),Xu.registerLazyResult(sd);var cd=Ac,ud=Ll,dd=Vu,pd=Gc,hd=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=ud;this.result=new pd(this._processor,n,this._opts),this.result.css=t;var i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var a=new cd(o,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.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=dd;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}(),fd=hd;hd.default=hd;var md=fd,gd=ld,yd=Vc,bd=Au,vd=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=gs(e);!(t=n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===(void 0===o?"undefined":hs(o))&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===(void 0===o?"undefined":hs(o))&&o.postcssPlugin)r.push(o);else if("function"==typeof o)r.push(o);else if("object"!==(void 0===o?"undefined":hs(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 gd(this,e,t):new md(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),xd=vd;vd.default=vd,bd.registerProcessor(vd),yd.registerProcessor(vd);var wd=Wl,Cd=Jl,_d=jc,kd=xu,Ad=hc,Sd=Au,jd=Eu;function Md(e,t){if(Array.isArray(e))return e.map(function(e){return Md(e)});var r=e.inputs,n=ds(e,["inputs"]);if(r){t=[];for(var o,i=gs(r);!(o=i()).done;){var a=ss({},o.value,{__proto__:Ad.prototype});a.map&&(a.map=ss({},a.map,{__proto__:Cd.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Md(e,t)})),n.source){var s=n.source,l=s.inputId,c=ds(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new Sd(n);if("decl"===n.type)return new wd(n);if("rule"===n.type)return new jd(n);if("comment"===n.type)return new _d(n);if("atrule"===n.type)return new kd(n);throw new Error("Unknown node type: "+e.type)}var Rd=Md;Md.default=Md;var Id=jl,Ed=Wl,Td=ld,Pd=Dc,Ld=xd,Od=Ll,Nd=Rd,$d=Vc,zd=qc,Dd=jc,Bd=xu,Fd=Gc,Hd=hc,Vd=Vu,Wd=ju,qd=Eu,Ud=Au,Zd=Hl;function Gd(){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 Ld(t)}Gd.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 a=t.apply(void 0,[].concat(o));return a.postcssPlugin=e,a.postcssVersion=(new Ld).version,a}return Object.defineProperty(o,"postcss",{get:function(){return r||(r=o()),r}}),o.process=function(e,t,r){return Gd([o(r)]).process(e,t)},o},Gd.stringify=Od,Gd.parse=Vd,Gd.fromJSON=Nd,Gd.list=Wd,Gd.comment=function(e){return new Dd(e)},Gd.atRule=function(e){return new Bd(e)},Gd.decl=function(e){return new Ed(e)},Gd.rule=function(e){return new qd(e)},Gd.root=function(e){return new Ud(e)},Gd.document=function(e){return new $d(e)},Gd.CssSyntaxError=Id,Gd.Declaration=Ed,Gd.Container=Pd,Gd.Processor=Ld,Gd.Document=$d,Gd.Comment=Dd,Gd.Warning=zd,Gd.AtRule=Bd,Gd.Result=Fd,Gd.Input=Hd,Gd.Rule=qd,Gd.Root=Ud,Gd.Node=Zd,Td.registerPostcss(Gd);var Xd=Gd;Gd.default=Gd;var Kd=yl(Xd);Kd.stringify,Kd.fromJSON,Kd.plugin,Kd.parse,Kd.list,Kd.document,Kd.comment,Kd.atRule,Kd.rule,Kd.decl,Kd.root,Kd.CssSyntaxError,Kd.Declaration,Kd.Container,Kd.Processor,Kd.Document,Kd.Comment,Kd.Warning,Kd.AtRule,Kd.Result,Kd.Input,Kd.Rule,Kd.Root,Kd.Node;var Yd=Object.defineProperty,Jd=function(e,t,r){return function(e,t,r){return t in e?Yd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":hs(t))?t+"":t,r)};function Qd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ep(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return us(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 tp={exports:{}},rp=String,np=function(){return{isColorSupported:!1,reset:rp,bold:rp,dim:rp,italic:rp,underline:rp,inverse:rp,hidden:rp,strikethrough:rp,black:rp,red:rp,green:rp,yellow:rp,blue:rp,magenta:rp,cyan:rp,white:rp,gray:rp,bgBlack:rp,bgRed:rp,bgGreen:rp,bgYellow:rp,bgBlue:rp,bgMagenta:rp,bgCyan:rp,bgWhite:rp}};tp.exports=np(),tp.exports.createColors=np;var op=tp.exports,ip=ep(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),ap=op,sp=ip,lp=function(e){function t(r,n,o,i,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),i&&(l.source=i),s&&(l.plugin=s),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}cs(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),sp&&e&&(r=sp(r));var n,o,i=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,i.length),l=String(s).length;if(e){var c=ap.createColors(!0),u=c.bold,d=c.gray,p=c.red;n=function(e){return u(p(e))},o=function(e){return d(e)}}else n=o=function(e){return e};return i.slice(a,s).map(function(e,r){var i=a+1+r,s=" "+(" "+i).slice(-l)+" | ";if(i===t.line){var c=o(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+o(s)+e+"\n "+c+n("^")}return" "+o(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(fs(Error)),cp=lp;lp.default=lp;var up={};up.isClean=Symbol("isClean"),up.my=Symbol("my");var dp={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},pp=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 a=0;a<o;a++)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 dp[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 a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](i,e):i.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=dp[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}(),hp=pp;pp.default=pp;var fp=hp;function mp(e,t){new fp(t).stringify(e)}var gp=mp;mp.default=mp;var yp=up.isClean,bp=up.my,vp=cp,xp=hp,wp=gp;function Cp(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":hs(o);"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(function(e){return Cp(e,r)}):("object"===i&&null!==o&&(o=Cp(o)),r[n]=o)}return r}var _p=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[yp]=!1,this[bp]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=gs(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=Cp(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 vp(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[yp]){this[yp]=!1;for(var e=this;e=e.parent;)e[yp]=!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 xp).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,a=gs(t);!(n=a()).done;){var s=n.value;s===this?i=!0:i?(this.parent.insertAfter(o,s),o=s):this.parent.insertBefore(o,s)}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 a=this[i];if(Array.isArray(a))r[i]=a.map(function(e){return"object"===(void 0===e?"undefined":hs(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":hs(a))&&a.toJSON)r[i]=a.toJSON(null,t);else if("source"===i){var s=t.get(a.input);null==s&&(s=o,t.set(a.input,o),o++),r[i]={end:a.end,inputId:s,start:a.start}}else r[i]=a}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=wp),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}(),kp=_p;_p.default=_p;var Ap=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=ss({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return cs(t,e),as(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(kp),Sp=Ap;Ap.default=Ap;var jp=ip.SourceMapConsumer,Mp=ip.SourceMapGenerator,Rp=ip.existsSync,Ip=ip.readFileSync,Ep=ip.dirname,Tp=ip.join,Pp=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=Ep(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new jp(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":hs(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=Ep(e),Rp(e))return this.mapFile=e,Ip(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(us(t,jp))return Mp.fromSourceMap(t).toString();if(us(t,Mp))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=Tp(Ep(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}(),Lp=Pp;Pp.default=Pp;var Op=ip.SourceMapConsumer,Np=ip.SourceMapGenerator,$p=ip.fileURLToPath,zp=ip.pathToFileURL,Dp=ip.isAbsolute,Bp=ip.resolve,Fp=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Hp=ip,Vp=cp,Wp=Lp,qp=Symbol("fromOffsetCache"),Up=Boolean(Op&&Np),Zp=Boolean(Bp&&Dp),Gp=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":hs(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&&(!Zp||/^\w+:\/\//.test(t.from)||Dp(t.from)?this.file=t.from:this.file=Bp(t.from)),Zp&&Up){var r=new Wp(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 "+Fp(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var o,i,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":hs(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);i=u.line,a=u.col}else i=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var p=this.origin(t,r,i,a);return(o=p?new Vp(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Vp(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:a,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:i,line:t,source:this.css},this.file&&(zp&&(o.input.url=zp(this.file).toString()),o.input.file=this.file),o},t.fromOffset=function(e){var t;if(this[qp])t=this[qp];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[qp]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Bp(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var o,i,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(o=a.originalPositionFor({column:n,line:r})),i=Dp(s.source)?zp(s.source):new URL(s.source,this.map.consumer().sourceRoot||zp(this.map.mapFile));var l={column:s.column,endColumn:o&&o.column,endLine:o&&o.line,line:s.line,url:i.toString()};if("file:"===i.protocol){if(!$p)throw new Error("file: protocol is not available in this PostCSS build");l.file=$p(i)}var c=a.sourceContentFor(s.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=ss({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},as(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Xp=Gp;Gp.default=Gp,Hp&&Hp.registerInput&&Hp.registerInput(Gp);var Kp=ip.SourceMapConsumer,Yp=ip.SourceMapGenerator,Jp=ip.dirname,Qp=ip.relative,eh=ip.resolve,th=ip.sep,rh=ip.pathToFileURL,nh=Xp,oh=Boolean(Kp&&Yp),ih=Boolean(Jp&&eh&&Qp&&th),ah=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=gs(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),o=r.root||Jp(r.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new Kp(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(),ih&&oh&&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=Yp.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Yp({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 Yp({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,o=1,i="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),o=s.length-r):o+=s.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?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},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?Jp(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Jp(eh(r,this.mapOpts.annotation)));var n=Qp(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 nh(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(rh){var r=rh(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;"\\"===th&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),sh=ah,lh=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return cs(t,e),t}(kp),ch=lh;lh.default=lh;var uh,dh,ph,hh,fh=up.isClean,mh=up.my,gh=Sp,yh=ch;function bh(e){return e.map(function(e){return e.nodes&&(e.nodes=bh(e.nodes)),delete e.source,e})}function vh(e){if(e[fh]=!1,e.proxyOf.nodes)for(var t,r=gs(e.proxyOf.nodes);!(t=r()).done;)vh(t.value)}var xh=function(e){function t(){return e.apply(this,arguments)||this}cs(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=gs(t);!(n=o()).done;)for(var i,a=n.value,s=gs(this.normalize(a,this.last));!(i=s()).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=gs(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,a=gs(o);!(i=a()).done;){var s=i.value;this.proxyOf.nodes.splice(n+1,0,s)}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 a,s=gs(i);!(a=s()).done;){var l=a.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=bh(uh(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var o,i=gs(e=e.slice(0));!(o=i()).done;){var a=o.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=gs(e=e.nodes.slice(0));!(s=l()).done;){var c=s.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 gh(e)]}else if(e.selector)e=[new dh(e)];else if(e.name)e=[new ph(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new yh(e)]}var u=e.map(function(e){return e[mh]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[fh]&&vh(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=gs(t=t.reverse());!(n=o()).done;){for(var i,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=gs(s);!(i=l()).done;){var c=i.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.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=gs(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?us(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?us(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?us(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}(kp);xh.registerParse=function(e){uh=e},xh.registerRule=function(e){dh=e},xh.registerAtRule=function(e){ph=e},xh.registerRoot=function(e){hh=e};var wh=xh;xh.default=xh,xh.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,ph.prototype):"rule"===e.type?Object.setPrototypeOf(e,dh.prototype):"decl"===e.type?Object.setPrototypeOf(e,gh.prototype):"comment"===e.type?Object.setPrototypeOf(e,yh.prototype):"root"===e.type&&Object.setPrototypeOf(e,hh.prototype),e[mh]=!0,e.nodes&&e.nodes.forEach(function(e){xh.rebuild(e)})};var Ch,_h,kh=function(e){function t(t){var r;return(r=e.call(this,ss({type:"document"},t))||this).nodes||(r.nodes=[]),r}return cs(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Ch(new _h,this,e).stringify()},t}(wh);kh.registerLazyResult=function(e){Ch=e},kh.registerProcessor=function(e){_h=e};var Ah=kh;kh.default=kh;var Sh=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}(),jh=Sh;Sh.default=Sh;var Mh=jh,Rh=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 Mh(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}(),Ih=Rh;Rh.default=Rh;var Eh="'".charCodeAt(0),Th='"'.charCodeAt(0),Ph="\\".charCodeAt(0),Lh="/".charCodeAt(0),Oh="\n".charCodeAt(0),Nh=" ".charCodeAt(0),$h="\f".charCodeAt(0),zh="\t".charCodeAt(0),Dh="\r".charCodeAt(0),Bh="[".charCodeAt(0),Fh="]".charCodeAt(0),Hh="(".charCodeAt(0),Vh=")".charCodeAt(0),Wh="{".charCodeAt(0),qh="}".charCodeAt(0),Uh=";".charCodeAt(0),Zh="*".charCodeAt(0),Gh=":".charCodeAt(0),Xh="@".charCodeAt(0),Kh=/[\t\n\f\r "#'()/;[\\\]{}]/g,Yh=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Jh=/.[\r\n"'(/\\]/,Qh=/[\da-f]/i,ef=wh,tf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}cs(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}(ef),rf=tf;tf.default=tf,ef.registerAtRule(tf);var nf,of,af=wh,sf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}cs(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,a=gs(o);!(i=a()).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 nf(new of,this,e).stringify()},t}(af);sf.registerLazyResult=function(e){nf=e},sf.registerProcessor=function(e){of=e};var lf=sf;sf.default=sf,af.registerRoot(sf);var cf={comma:function(e){return cf.split(e,[","],!0)},space:function(e){return cf.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,o=[],i="",a=!1,s=0,l=!1,c="",u=!1,d=gs(e);!(n=d()).done;){var p=n.value;u?u=!1:"\\"===p?u=!0:l?p===c&&(l=!1):'"'===p||"'"===p?(l=!0,c=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(a=!0),a?(""!==i&&o.push(i.trim()),i="",a=!1):i+=p}return(r||""!==i)&&o.push(i.trim()),o}},uf=cf;cf.default=cf;var df=wh,pf=uf,hf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return cs(t,e),as(t,[{key:"selectors",get:function(){return pf.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}(df),ff=hf;hf.default=hf,df.registerRule(hf);var mf=Sp,gf=ch,yf=rf,bf=lf,vf=ff,xf={empty:!0,space:!0},wf=function(){function e(e){this.input=e,this.root=new bf,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 yf;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);for(var i=!1,a=!1,s=[],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){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(o.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(o,"params",s),i&&(e=s[s.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=""),a&&(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,a=gs(e.entries());!(o=a()).done;){var s=o.value,l=s[0];if("("===(r=(t=s[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 gf;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,a,s,l,c,u,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function b(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=f},nextToken:function(e){if(y.length)return y.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m)){case Oh:case Nh:case zh:case Dh:case $h:n=m;do{n+=1,r=p.charCodeAt(n)}while(r===Nh||r===Oh||r===zh||r===Dh||r===$h);d=["space",p.slice(m,n)],m=n-1;break;case Bh:case Fh:case Wh:case qh:case Gh:case Uh:case Vh:var v=String.fromCharCode(r);d=[v,v,m];break;case Hh:if(c=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===c&&u!==Eh&&u!==Th&&u!==Nh&&u!==Oh&&u!==zh&&u!==$h&&u!==Dh){n=m;do{if(s=!1,-1===(n=p.indexOf(")",n+1))){if(h||t){n=m;break}b("bracket")}for(l=n;p.charCodeAt(l-1)===Ph;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,n+1),m,n],m=n}else n=p.indexOf(")",m+1),i=p.slice(m,n+1),-1===n||Jh.test(i)?d=["(","(",m]:(d=["brackets",i,m,n],m=n);break;case Eh:case Th:o=r===Eh?"'":'"',n=m;do{if(s=!1,-1===(n=p.indexOf(o,n+1))){if(h||t){n=m+1;break}b("string")}for(l=n;p.charCodeAt(l-1)===Ph;)l-=1,s=!s}while(s);d=["string",p.slice(m,n+1),m,n],m=n;break;case Xh:Kh.lastIndex=m+1,Kh.test(p),n=0===Kh.lastIndex?p.length-1:Kh.lastIndex-2,d=["at-word",p.slice(m,n+1),m,n],m=n;break;case Ph:for(n=m,a=!0;p.charCodeAt(n+1)===Ph;)n+=1,a=!a;if(r=p.charCodeAt(n+1),a&&r!==Lh&&r!==Nh&&r!==Oh&&r!==zh&&r!==Dh&&r!==$h&&(n+=1,Qh.test(p.charAt(n)))){for(;Qh.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===Nh&&(n+=1)}d=["word",p.slice(m,n+1),m,n],m=n;break;default:r===Lh&&p.charCodeAt(m+1)===Zh?(0===(n=p.indexOf("*/",m+2)+1)&&(h||t?n=p.length:b("comment")),d=["comment",p.slice(m,n+1),m,n],m=n):(Yh.lastIndex=m+1,Yh.test(p),n=0===Yh.lastIndex?p.length-1:Yh.lastIndex-2,d=["word",p.slice(m,n+1),m,n],g.push(d),m=n)}return m++,d}},position:function(){return m}}}(this.input)},t.decl=function(e,t){var r=new mf;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 a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.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),d="",p=l;p>0;p--){var h=u[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.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 vf;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=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(a&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.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(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},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,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(i=(o=r[d])[0])||d!==l-1||n?"comment"===i?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",xf[s]||xf[a]||","===c.slice(-1)?u=!1:c+=o[1]):c+=o[1]:u=!1;if(!u){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new vf;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}(),Cf=wh,_f=wf,kf=Xp;function Af(e,t){var r=new kf(e,t),n=new _f(r);try{n.parse()}catch(e){throw e}return n.root}var Sf=Af;Af.default=Af,Cf.registerParse(Af);var jf=up.isClean,Mf=up.my,Rf=sh,If=gp,Ef=wh,Tf=Ah,Pf=Ih,Lf=Sf,Of=lf,Nf={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},$f={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},zf={Once:!0,postcssPlugin:!0,prepare:!0};function Df(e){return"object"===(void 0===e?"undefined":hs(e))&&"function"==typeof e.then}function Bf(e){var t=!1,r=Nf[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 Ff(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Bf(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Hf(e){return e[jf]=!1,e.nodes&&e.nodes.forEach(function(e){return Hf(e)}),e}var Vf={},Wf=function(){function e(t,r,n){var o,i=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":hs(r))||null===r||"root"!==r.type&&"document"!==r.type)if(us(r,e)||us(r,Pf))o=Hf(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=Lf;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{o=a(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[Mf]&&Ef.rebuild(o)}else o=Hf(r);this.result=new Pf(t,o,n),this.helpers=ss({},Vf,{postcss:Vf,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":hs(e))&&e.prepare?ss({},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=gs(this.plugins);!(t=n()).done;){var o=t.value;if("object"===(void 0===o?"undefined":hs(o)))for(var i in o){if(!$f[i]&&/^[A-Z]/.test(i))throw new Error("Unknown event "+i+" in "+o.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!zf[i])if("object"===hs(o[i]))for(var a in o[i])r(o,"*"===a?i:i+"-"+a.toLowerCase(),o[i][a]);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 os(function(){var t,r,n,o,i,a,s,l,c,u,d,p;return ys(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Df(n=e.runOnRoot(r)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,n];case 3:return h.sent(),[3,5];case 4:throw o=h.sent(),e.handleError(o);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];i=e.result.root,h.label=7;case 7:if(i[jf])return[3,14];i[jf]=!0,a=[Ff(i)],h.label=8;case 8:if(!(a.length>0))return[3,13];if(!Df(s=e.visitTick(a)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),c=a[a.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,a;return ys(this,function(s){switch(s.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.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 s.sent(),[3,5];case 3:return[4,n(i,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=gs(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,bs(u())];case 16:h.sent(),h.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":hs(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 Df(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=If;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Rf(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=gs(this.plugins);!(e=t()).done;){var r=e.value;if(Df(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[jf];)n[jf]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var o,i=gs(n.nodes);!(o=i()).done;){var a=o.value;this.visitSync(this.listeners.OnceExit,a)}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=gs(e);!(r=n()).done;){var o=r.value,i=o[0],a=o[1];this.result.lastPlugin=i;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Df(s))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],a=o[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[jf])return s[jf]=!0,void e.push(Ff(s));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[jf]=!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[jf]=!0;for(var r,n=gs(Bf(e));!(r=n()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[jf]||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}();Wf.registerPostcss=function(e){Vf=e};var qf=Wf;Wf.default=Wf,Of.registerLazyResult(Wf),Tf.registerLazyResult(Wf);var Uf=sh,Zf=gp,Gf=Sf,Xf=Ih,Kf=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=Zf;this.result=new Xf(this._processor,n,this._opts),this.result.css=t;var i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var a=new Uf(o,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.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=Gf;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}(),Yf=Kf;Kf.default=Kf;var Jf=Yf,Qf=qf,em=Ah,tm=lf,rm=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=gs(e);!(t=n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===(void 0===o?"undefined":hs(o))&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===(void 0===o?"undefined":hs(o))&&o.postcssPlugin)r.push(o);else if("function"==typeof o)r.push(o);else if("object"!==(void 0===o?"undefined":hs(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 Qf(this,e,t):new Jf(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),nm=rm;rm.default=rm,tm.registerProcessor(rm),em.registerProcessor(rm);var om=Sp,im=Lp,am=ch,sm=rf,lm=Xp,cm=lf,um=ff;function dm(e,t){if(Array.isArray(e))return e.map(function(e){return dm(e)});var r=e.inputs,n=ds(e,["inputs"]);if(r){t=[];for(var o,i=gs(r);!(o=i()).done;){var a=ss({},o.value,{__proto__:lm.prototype});a.map&&(a.map=ss({},a.map,{__proto__:im.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return dm(e,t)})),n.source){var s=n.source,l=s.inputId,c=ds(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new cm(n);if("decl"===n.type)return new om(n);if("rule"===n.type)return new um(n);if("comment"===n.type)return new am(n);if("atrule"===n.type)return new sm(n);throw new Error("Unknown node type: "+e.type)}var pm=dm;dm.default=dm;var hm=cp,fm=Sp,mm=qf,gm=wh,ym=nm,bm=gp,vm=pm,xm=Ah,wm=jh,Cm=ch,_m=rf,km=Ih,Am=Xp,Sm=Sf,jm=uf,Mm=ff,Rm=lf,Im=kp;function Em(){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 ym(t)}Em.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 a=t.apply(void 0,[].concat(o));return a.postcssPlugin=e,a.postcssVersion=(new ym).version,a}return Object.defineProperty(o,"postcss",{get:function(){return r||(r=o()),r}}),o.process=function(e,t,r){return Em([o(r)]).process(e,t)},o},Em.stringify=bm,Em.parse=Sm,Em.fromJSON=vm,Em.list=jm,Em.comment=function(e){return new Cm(e)},Em.atRule=function(e){return new _m(e)},Em.decl=function(e){return new fm(e)},Em.rule=function(e){return new Mm(e)},Em.root=function(e){return new Rm(e)},Em.document=function(e){return new xm(e)},Em.CssSyntaxError=hm,Em.Declaration=fm,Em.Container=gm,Em.Processor=ym,Em.Document=xm,Em.Comment=Cm,Em.Warning=wm,Em.AtRule=_m,Em.Result=km,Em.Input=Am,Em.Rule=Mm,Em.Root=Rm,Em.Node=Im,mm.registerPostcss(Em);var Tm=Em;Em.default=Em;var Pm=Qd(Tm);Pm.stringify,Pm.fromJSON,Pm.plugin,Pm.parse,Pm.list,Pm.document,Pm.comment,Pm.atRule,Pm.rule,Pm.decl,Pm.root,Pm.CssSyntaxError,Pm.Declaration,Pm.Container,Pm.Processor,Pm.Document,Pm.Comment,Pm.Warning,Pm.AtRule,Pm.Result,Pm.Input,Pm.Rule,Pm.Root,Pm.Node;var Lm=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Jd(this,"parentElement",null),Jd(this,"parentNode",null),Jd(this,"ownerDocument"),Jd(this,"firstChild",null),Jd(this,"lastChild",null),Jd(this,"previousSibling",null),Jd(this,"nextSibling",null),Jd(this,"ELEMENT_NODE",1),Jd(this,"TEXT_NODE",3),Jd(this,"nodeType"),Jd(this,"nodeName"),Jd(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!us(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}(),Om={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Nm={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},$m={};function zm(e){if($m[e])return $m[e];var t=globalThis[e],r=t.prototype,n=e in Om?Om[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 Nm?Nm[e]:void 0,a=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&&a&&!globalThis.Zone)return $m[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?$m[e]=c:r}catch(e){return r}}var Dm={};function Bm(e,t,r){var n,o=e+"."+String(r);if(Dm[o])return Dm[o].call(t);var i=zm(e),a=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return a?(Dm[o]=a,a.call(t)):t[r]}var Fm={};function Hm(e,t,r){var n=e+"."+String(r);if(Fm[n])return Fm[n].bind(t);var o=zm(e)[r];return"function"!=typeof o?t[r]:(Fm[n]=o,o.bind(t))}function Vm(){return zm("MutationObserver").constructor}var Wm=function(e){return Bm("Node",e,"childNodes")},qm=function(e){return Bm("Node",e,"parentNode")},Um=function(e){return Bm("Node",e,"parentElement")},Zm=function(e){return Bm("Node",e,"textContent")},Gm=function(e,t){return Hm("Node",e,"contains")(t)},Xm=function(e){return Hm("Node",e,"getRootNode")()},Km=function(e){return e&&"host"in e?Bm("ShadowRoot",e,"host"):null},Ym=function(e){return e&&"shadowRoot"in e?Bm("Element",e,"shadowRoot"):null};function Jm(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 Qm="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.",eg={map:{},getId:function(){return console.error(Qm),-1},getNode:function(){return console.error(Qm),null},removeNodeFromMap:function(){console.error(Qm)},has:function(){return console.error(Qm),!1},reset:function(){console.error(Qm)}};function tg(e,t,r){void 0===r&&(r={});var n=null,o=0;return function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];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,a)):n||!1===r.trailing||(n=setTimeout(function(){o=!1===r.leading?0:Date.now(),n=null,e.apply(u,a)},c))}}function rg(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 rg(e,t,i||{},!0)}}function ng(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&&(eg=new Proxy(eg,{get:function(e,t,r){return"map"===t&&console.error(Qm),Reflect.get(e,t,r)}}));var og=Date.now;function ig(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=Um(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=Um(i.body))?void 0:n.scrollTop)||(null==(o=null==i?void 0:i.body)?void 0:o.scrollTop)||0}}function ag(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function sg(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function lg(e){return e?e.nodeType===e.ELEMENT_NODE?e:Um(e):null}function cg(e,t,r,n){if(!e)return!1;var o=lg(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(pl(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 ug(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function dg(e,t){if(zs(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=qm(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||dg(n,t))}function pg(e){return Boolean(e.changedTouches)}function hg(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function fg(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function mg(e){return!!e&&(us(e,Lm)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(Ym(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(og=function(){return(new Date).getTime()});var gg=function(){function e(){ws(this,"id",1),ws(this,"styleIDMap",new WeakMap),ws(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 yg(e){var t,r=null;return"getRootNode"in e&&(null==(t=Xm(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Km(Xm(e))&&(r=Km(Xm(e))),r}function bg(e){var t=e.ownerDocument;return!!t&&(Gm(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=yg(r);)r=t;return r}(e);return Gm(t,r)}(e))}var vg=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}(vg||{}),xg=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}(xg||{}),wg=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}(wg||{}),Cg=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Cg||{}),_g=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(_g||{}),kg=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}(kg||{}),Ag=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}(Ag||{});function Sg(e){return"__ln"in e}var jg,Mg=function(){function e(){ws(this,"length",0),ws(this,"head",null),ws(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&&Sg(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&&Sg(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}(),Rg=function(e,t){return e+"@"+t},Ig=function(){function e(){var e=this;ws(this,"frozen",!1),ws(this,"locked",!1),ws(this,"texts",[]),ws(this,"attributes",[]),ws(this,"attributeMap",new WeakMap),ws(this,"removes",[]),ws(this,"mapRemoves",[]),ws(this,"movedMap",{}),ws(this,"addedSet",new Set),ws(this,"movedSet",new Set),ws(this,"droppedSet",new Set),ws(this,"removesSubTreeCache",new Set),ws(this,"mutationCb"),ws(this,"blockClass"),ws(this,"blockSelector"),ws(this,"maskTextClass"),ws(this,"maskTextSelector"),ws(this,"inlineStylesheet"),ws(this,"maskInputOptions"),ws(this,"maskTextFn"),ws(this,"maskInputFn"),ws(this,"keepIframeSrcFn"),ws(this,"recordCanvas"),ws(this,"inlineImages"),ws(this,"slimDOMOptions"),ws(this,"dataURLOptions"),ws(this,"doc"),ws(this,"mirror"),ws(this,"iframeManager"),ws(this,"stylesheetManager"),ws(this,"shadowDomManager"),ws(this,"canvasManager"),ws(this,"processedNodeManager"),ws(this,"unattachedDoc"),ws(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),ws(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new Mg,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 a=qm(i);if(a&&bg(i)){var s=!1;if(i.nodeType===Node.TEXT_NODE){var l=a.tagName;if("TEXTAREA"===l)return;"STYLE"===l&&e.addedSet.has(a)&&(s=!0)}var c=zs(a)?e.mirror.getId(yg(i)):e.mirror.getId(a),u=o(i);if(-1===c||-1===u)return n.addNode(i);var d=gl(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){hg(t,e.mirror)&&e.iframeManager.addIframe(t),fg(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),mg(i)&&e.shadowDomManager.addShadowRoot(Ym(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:s});d&&(t.push({parentId:c,nextId:u,node:d}),r.add(d.id))}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var a,s=gs(e.movedSet);!(a=s()).done;){var l=a.value;Tg(e.removesSubTreeCache,l,e.mirror)&&!e.movedSet.has(qm(l))||i(l)}for(var c,u=gs(e.addedSet);!(c=u()).done;){var d=c.value;Pg(e.droppedSet,d)||Tg(e.removesSubTreeCache,d,e.mirror)?Pg(e.movedSet,d)?i(d):e.droppedSet.add(d):i(d)}for(var p=null;n.length;){var h=null;if(p){var f=e.mirror.getId(qm(p.value)),m=o(p.value);-1!==f&&-1!==m&&(h=p)}if(!h)for(var g=n.tail;g;){var y=g;if(g=g.previous,y){var b=e.mirror.getId(qm(y.value));if(-1===o(y.value))continue;if(-1!==b){h=y;break}var v=y.value,x=qm(v);if(x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var w=Km(x);if(-1!==e.mirror.getId(w)){h=y;break}}}}if(!h){for(;n.head;)n.removeNode(n.head.value);break}p=h.previous,n.removeNode(h.value),i(h.value)}var C={texts:e.texts.map(function(t){var r=t.node,n=qm(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};(C.texts.length||C.attributes.length||C.removes.length||C.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(C))}}),ws(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(Wm(t),function(e){return Zm(e)||""}).join("")}),ws(this,"processMutation",function(t){if(!ug(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=Zm(t.target);cg(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:hl(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,lg(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 a=Us(n);i=Vs({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:a,value:i,maskInputFn:e.maskInputFn})}if(cg(t.target,e.blockClass,e.blockSelector,!1)||i===t.oldValue)return;var s=e.attributeMap.get(t.target);if("IFRAME"===n.tagName&&"src"===o&&!e.keepIframeSrcFn(i)){if(n.contentDocument)return;o="rr_src"}if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(s),e.attributeMap.set(t.target,s)),"type"===o&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!dl(n.tagName,o))if(s.attributes[o]=ul(e.doc,Ws(n.tagName),Ws(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=gs(Array.from(n.style));!(c=u()).done;){var d=c.value,p=n.style.getPropertyValue(d),h=n.style.getPropertyPriority(d);p!==l.style.getPropertyValue(d)||h!==l.style.getPropertyPriority(d)?s.styleDiff[d]=""===h?p:[p,h]:s._unchangedStyles[d]=[p,h]}for(var f,m=gs(Array.from(l.style));!(f=m()).done;){var g=f.value;""===n.style.getPropertyValue(g)&&(s.styleDiff[g]=!1)}}else"open"===o&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break;case"childList":if(cg(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=zs(t.target)?e.mirror.getId(Km(t.target)):e.mirror.getId(t.target);cg(t.target,e.blockClass,e.blockSelector,!1)||ug(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(Eg(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||dg(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[Rg(n,o)]?Eg(e.movedSet,r):(e.removes.push({parentId:o,id:n,isShadow:!(!zs(t.target)||!Ds(t.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),Wm(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),ws(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(ug(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[Rg(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);cg(t,e.blockClass,e.blockSelector,!1)||(Wm(t).forEach(function(t){return e.genAdds(t)}),mg(t)&&Wm(Ym(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 Eg(e,t){e.delete(t),Wm(t).forEach(function(t){return Eg(e,t)})}function Tg(e,t,r){return 0!==e.size&&function(e,t){var r=qm(t);return!!r&&e.has(r)}(e,t)}function Pg(e,t){return 0!==e.size&&Lg(e,t)}function Lg(e,t){var r=qm(t);return!!r&&(!!e.has(r)||Lg(e,r))}var Og=function(e){return jg?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(jg&&!0===jg(e))return;throw e}}:e},Ng=[];function $g(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 zg(e,t){var r=new Ig;Ng.push(r),r.init(e);var n=new(Vm())(Og(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Dg(e){var t=e.scrollCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.sampling;return Jm("scroll",Og(tg(Og(function(e){var a=$g(e);if(a&&!cg(a,o,i,!0)){var s=n.getId(a);if(a===r&&r.defaultView){var l=ig(r.defaultView);t({id:s,x:l.left,y:l.top})}else t({id:s,x:a.scrollLeft,y:a.scrollTop})}}),a.scroll||100)),r)}var Bg=["INPUT","TEXTAREA","SELECT"],Fg=new WeakMap;function Hg(e){return function(e,t){if(Ug("CSSGroupingRule")&&us(e.parentRule,CSSGroupingRule)||Ug("CSSMediaRule")&&us(e.parentRule,CSSMediaRule)||Ug("CSSSupportsRule")&&us(e.parentRule,CSSSupportsRule)||Ug("CSSConditionRule")&&us(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 Vg(e,t,r){var n,o;return e?(e.ownerNode?n=t.getId(e.ownerNode):o=r.getId(e),{styleId:o,id:n}):{}}function Wg(e,t){var r,n,o,i,a=e.mirror,s=e.stylesheetManager;i="#document"===t.nodeName?a.getId(t):a.getId(Km(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{s.adoptStyleSheets(e,i)}catch(e){}return r}}),Og(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function qg(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,a=e.viewportResizeCb,s=e.inputCb,l=e.mediaInteractionCb,c=e.styleSheetRuleCb,u=e.styleDeclarationCb,d=e.canvasMutationCb,p=e.fontCb,h=e.selectionCb,f=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)),a.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)),s.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)),d.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)),p.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)),h.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)),f.apply(void 0,[].concat(r))}}(e,t),e.recordDOM&&(r=zg(e,e.doc));var o,i,a,s,l,c,u,d,p,h=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,o=e.mirror;if(!1===r.mousemove)return function(){};var i,a="number"==typeof r.mousemove?r.mousemove:50,s="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,l=[],c=tg(Og(function(e){var r=Date.now()-i;t(l.map(function(e){return e.timeOffset-=r,e}),e),l=[],i=null}),s),u=Og(tg(Og(function(e){var t=$g(e),r=pg(e)?e.changedTouches[0]:e,n=r.clientX,a=r.clientY;i||(i=og()),l.push({x:n,y:a,id:o.getId(t),timeOffset:og()-i}),c("undefined"!=typeof DragEvent&&us(e,DragEvent)?xg.Drag:us(e,MouseEvent)?xg.MouseMove:xg.TouchMove)}),a,{trailing:!1})),d=[Jm("mousemove",u,n),Jm("touchmove",u,n),Jm("drag",u,n)];return Og(function(){d.forEach(function(e){return e()})})}(e),f=function(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.sampling;if(!1===a.mouseInteraction)return function(){};var s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],c=null;return Object.keys(wg).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]}).forEach(function(e){var a=Ws(e),s=function(e){return function(r){var a=$g(r);if(!cg(a,o,i,!0)){var s=null,l=e;if("pointerType"in r){switch(r.pointerType){case"mouse":s=Cg.Mouse;break;case"touch":s=Cg.Touch;break;case"pen":s=Cg.Pen}s===Cg.Touch?wg[e]===wg.MouseDown?l="TouchStart":wg[e]===wg.MouseUp&&(l="TouchEnd"):Cg.Pen}else pg(r)&&(s=Cg.Touch);null!==s?(c=s,(l.startsWith("Touch")&&s===Cg.Touch||l.startsWith("Mouse")&&s===Cg.Mouse)&&(s=null)):wg[e]===wg.Click&&(s=c,c=null);var u=pg(r)?r.changedTouches[0]:r;if(u){var d=n.getId(a),p=u.clientX,h=u.clientY;Og(t)(ss({type:wg[l],id:d,x:p,y:h},null!==s&&{pointerType:s}))}}}}(e);if(window.PointerEvent)switch(wg[e]){case wg.MouseDown:case wg.MouseUp:a=a.replace("mouse","pointer");break;case wg.TouchStart:case wg.TouchEnd:return}l.push(Jm(a,s,r))}),Og(function(){l.forEach(function(e){return e()})})}(e),m=Dg(e),g=function(e,t){var r=e.viewportResizeCb,n=t.win,o=-1,i=-1,a=Og(tg(Og(function(){var e=ag(),t=sg();o===e&&i===t||(r({width:Number(t),height:Number(e)}),o=e,i=t)}),200));return Jm("resize",a,n)}(e,{win:n}),y=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.ignoreClass,s=e.ignoreSelector,l=e.maskInputOptions,c=e.maskInputFn,u=e.sampling,d=e.userTriggeredOnInput;function p(e){var t=$g(e),n=e.isTrusted,u=t&&t.tagName;if(t&&"OPTION"===u&&(t=Um(t)),t&&u&&!(Bg.indexOf(u)<0)&&!cg(t,o,i,!0)&&!(t.classList.contains(a)||s&&t.matches(s))){var p=t.value,f=!1,m=Us(t)||"";"radio"===m||"checkbox"===m?f=t.checked:(l[u.toLowerCase()]||l[m])&&(p=Vs({element:t,maskInputOptions:l,tagName:u,type:m,value:p,maskInputFn:c})),h(t,d?{text:p,isChecked:f,userTriggered:n}:{text:p,isChecked:f});var g=t.name;"radio"===m&&g&&f&&r.querySelectorAll('input[type="radio"][name="'+g+'"]').forEach(function(e){if(e!==t){var r=e.value;h(e,d?{text:r,isChecked:!f,userTriggered:!1}:{text:r,isChecked:!f})}})}}function h(e,r){var o=Fg.get(e);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){Fg.set(e,r);var i=n.getId(e);Og(t)(ss({},r,{id:i}))}}var f=("last"===u.input?["change"]:["input","change"]).map(function(e){return Jm(e,Og(p),r)}),m=r.defaultView;if(!m)return function(){f.forEach(function(e){return e()})};var g,y=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),b=[[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 y&&y.set&&(g=f).push.apply(g,[].concat(b.map(function(e){return rg(e[0],e[1],{set:function(){Og(p)({target:this,isTrusted:!1})}},!1,m)}))),Og(function(){f.forEach(function(e){return e()})})}(e),b=(i=(o=e).mediaInteractionCb,a=o.blockClass,s=o.blockSelector,l=o.mirror,c=o.sampling,u=o.doc,d=Og(function(e){return tg(Og(function(t){var r=$g(t);if(r&&!cg(r,a,s,!0)){var n=r.currentTime,o=r.volume,c=r.muted,u=r.playbackRate,d=r.loop;i({type:e,id:l.getId(r),currentTime:n,volume:o,muted:c,playbackRate:u,loop:d})}}),c.media||500)}),p=[Jm("play",d(kg.Play),u),Jm("pause",d(kg.Pause),u),Jm("seeked",d(kg.Seeked),u),Jm("volumechange",d(kg.VolumeChange),u),Jm("ratechange",d(kg.RateChange),u)],Og(function(){p.forEach(function(e){return e()})})),v=function(){},x=function(){},w=function(){},C=function(){};e.recordDOM&&(v=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 a=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:Og(function(e,t,i){var a=i[0],s=i[1],l=Vg(t,n,o.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:a,index:s}]}),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 s,l,c=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:Og(function(e,t,i){var a=i[0],s=Vg(t,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:a}]}),e.apply(t,i)})}),i.CSSStyleSheet.prototype.removeRule=function(e){return i.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},i.CSSStyleSheet.prototype.replace&&(s=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:Og(function(e,t,i){var a=i[0],s=Vg(t,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replace:a}),e.apply(t,i)})})),i.CSSStyleSheet.prototype.replaceSync&&(l=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:Og(function(e,t,i){var a=i[0],s=Vg(t,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replaceSync:a}),e.apply(t,i)})}));var u={};Zg("CSSGroupingRule")?u.CSSGroupingRule=i.CSSGroupingRule:(Zg("CSSMediaRule")&&(u.CSSMediaRule=i.CSSMediaRule),Zg("CSSConditionRule")&&(u.CSSConditionRule=i.CSSConditionRule),Zg("CSSSupportsRule")&&(u.CSSSupportsRule=i.CSSSupportsRule));var d={};return Object.entries(u).forEach(function(e){var t=e[0],i=e[1];d[t]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(d[t].insertRule,{apply:Og(function(e,t,i){var a=i[0],s=i[1],l=Vg(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:a,index:[].concat(Hg(t),[s||0])}]}),e.apply(t,i)})}),i.prototype.deleteRule=new Proxy(d[t].deleteRule,{apply:Og(function(e,t,i){var a=i[0],s=Vg(t.parentStyleSheet,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:[].concat(Hg(t),[a])}]}),e.apply(t,i)})})}),Og(function(){i.CSSStyleSheet.prototype.insertRule=a,i.CSSStyleSheet.prototype.deleteRule=c,s&&(i.CSSStyleSheet.prototype.replace=s),l&&(i.CSSStyleSheet.prototype.replaceSync=l),Object.entries(u).forEach(function(e){var t=e[0],r=e[1];r.prototype.insertRule=d[t].insertRule,r.prototype.deleteRule=d[t].deleteRule})})}(e,{win:n}),x=Wg(e,e.doc),w=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,o=e.ignoreCSSAttributes,i=e.stylesheetManager,a=t.win,s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:Og(function(e,t,a){var l,c=a[0],u=a[1],d=a[2];if(o.has(c))return s.apply(t,[c,u,d]);var p=Vg(null==(l=t.parentRule)?void 0:l.parentStyleSheet,n,i.styleMirror),h=p.id,f=p.styleId;return(h&&-1!==h||f&&-1!==f)&&r({id:h,styleId:f,set:{property:c,value:u,priority:d},index:Hg(t.parentRule)}),e.apply(t,a)})});var l=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(l,{apply:Og(function(e,t,a){var s,c=a[0];if(o.has(c))return l.apply(t,[c]);var u=Vg(null==(s=t.parentRule)?void 0:s.parentStyleSheet,n,i.styleMirror),d=u.id,p=u.styleId;return(d&&-1!==d||p&&-1!==p)&&r({id:d,styleId:p,remove:{property:c},index:Hg(t.parentRule)}),e.apply(t,a)})}),Og(function(){a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=l})}(e,{win:n}),e.collectFonts&&(C=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var o=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,r){var n=new a(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 s=ng(r.fonts,"add",function(e){return function(r){return setTimeout(Og(function(){var e=i.get(r);e&&(t(e),i.delete(r))}),0),e.apply(this,[r])}});return o.push(function(){n.FontFace=a}),o.push(s),Og(function(){o.forEach(function(e){return e()})})}(e)));for(var _,k=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,o=e.blockSelector,i=e.selectionCb,a=!0,s=Og(function(){var e=t.getSelection();if(!(!e||a&&(null==e?void 0:e.isCollapsed))){a=e.isCollapsed||!1;for(var s=[],l=e.rangeCount||0,c=0;c<l;c++){var u=e.getRangeAt(c),d=u.startContainer,p=u.startOffset,h=u.endContainer,f=u.endOffset;cg(d,n,o,!0)||cg(h,n,o,!0)||s.push({start:r.getId(d),startOffset:p,end:r.getId(h),endOffset:f})}i({ranges:s})}});return s(),Jm("selectionchange",s)}(e),A=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;if(!n||!n.customElements)return function(){};var o=ng(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])}});return o}(e),S=[],j=gs(e.plugins);!(_=j()).done;){var M=_.value;S.push(M.observer(M.callback,n,M.options))}return Og(function(){Ng.forEach(function(e){return e.reset()}),null==r||r.disconnect(),h(),f(),m(),g(),y(),b(),v(),x(),w(),C(),k(),A(),S.forEach(function(e){return e()})})}function Ug(e){return void 0!==window[e]}function Zg(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var Gg=function(){function e(e){ws(this,"iframeIdToRemoteIdMap",new WeakMap),ws(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),a=o.get(t);return a||(a=this.generateIdFn(),o.set(t,a),i.set(a,t)),a},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}(),Xg=function(){function e(e){ws(this,"iframes",new WeakMap),ws(this,"crossOriginIframeMap",new WeakMap),ws(this,"crossOriginIframeMirror",new Gg(ol)),ws(this,"crossOriginIframeStyleMirror"),ws(this,"crossOriginIframeRootIdMap",new WeakMap),ws(this,"mirror"),ws(this,"mutationCb"),ws(this,"wrappedEmit"),ws(this,"loadListener"),ws(this,"stylesheetManager"),ws(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Gg(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 vg.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:vg.IncrementalSnapshot,data:{source:xg.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case vg.Meta:case vg.Load:case vg.DomContentLoaded:return!1;case vg.Plugin:return t;case vg.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case vg.IncrementalSnapshot:switch(t.data.source){case xg.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 xg.Drag:case xg.TouchMove:case xg.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case xg.ViewportResize:return!1;case xg.MediaInteraction:case xg.MouseInteraction:case xg.Scroll:case xg.CanvasMutation:case xg.Input:return this.replaceIds(t.data,e,["id"]),t;case xg.StyleSheetRule:case xg.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case xg.Font:return t;case xg.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case xg.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=gs(n);!(o=i()).done;){var a=o.value;(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(r,t[a]):t[a]=e.getId(r,t[a]))}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===Ag.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),Kg=function(){function e(e){ws(this,"shadowDoms",new WeakSet),ws(this,"mutationCb"),ws(this,"scrollCb"),ws(this,"bypassOptions"),ws(this,"mirror"),ws(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(Ds(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=zg(ss({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push(Dg(ss({},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(Km(e))),r.restoreHandlers.push(Wg({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(ng(e.prototype,"attachShadow",function(e){return function(n){var o=e.call(this,n),i=Ym(this);return i&&bg(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}(),Yg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jg="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Qg=0;Qg<64;Qg++)Jg[Yg.charCodeAt(Qg)]=Qg;var ey=new Map,ty=function(e,t,r){if(e&&(oy(e,t)||"object"===(void 0===e?"undefined":hs(e)))){var n=function(e,t){var r=ey.get(e);return r||(r=new Map,ey.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 ry(e,t,r){return us(e,Array)?e.map(function(e){return ry(e,t,r)}):null===e?e:us(e,Float32Array)||us(e,Float64Array)||us(e,Int32Array)||us(e,Uint32Array)||us(e,Uint8Array)||us(e,Uint16Array)||us(e,Int16Array)||us(e,Int8Array)||us(e,Uint8ClampedArray)?{rr_type:e.constructor.name,args:[Object.values(e)]}:us(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+=Yg[r[t]>>2],o+=Yg[(3&r[t])<<4|r[t+1]>>4],o+=Yg[(15&r[t+1])<<2|r[t+2]>>6],o+=Yg[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)}:us(e,DataView)?{rr_type:e.constructor.name,args:[ry(e.buffer,t,r),e.byteOffset,e.byteLength]}:us(e,HTMLImageElement)?{rr_type:e.constructor.name,src:e.src}:us(e,HTMLCanvasElement)?{rr_type:"HTMLImageElement",src:e.toDataURL()}:us(e,ImageData)?{rr_type:e.constructor.name,args:[ry(e.data,t,r),e.width,e.height]}:oy(e,t)||"object"===(void 0===e?"undefined":hs(e))?{rr_type:e.constructor.name,index:ty(e,t,r)}:e}var ny=function(e,t,r){return e.map(function(e){return ry(e,t,r)})},oy=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 us(e,t[r])}))};function iy(e,t,r,n){var o=[];try{var i=ng(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];if(!cg(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(a[0]&&"object"===hs(a[0])){var c=a[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([o],a))}});o.push(i)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach(function(e){return e()})}}function ay(e,t,r,n,o,i){for(var a,s=function(){var s=a.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(s))return"continue";try{if("function"!=typeof e[s])return"continue";var c=ng(e,s,function(e){return function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];var u=e.apply(this,l);if(ty(u,i,this),"tagName"in this.canvas&&!cg(this.canvas,n,o,!0)){var d=ny(l,i,this),p={type:t,property:s,args:d};r(this.canvas,p)}return u}});l.push(c)}catch(n){var u=rg(e,s,{set:function(e){r(this.canvas,{type:t,property:s,args:[e],setter:!0})}});l.push(u)}},l=[],c=gs(Object.getOwnPropertyNames(e));!(a=c()).done;)s();return l}var sy,ly="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",cy="undefined"!=typeof window&&window.Blob&&new Blob([(sy=ly,Uint8Array.from(atob(sy),function(e){return e.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function uy(e){var t;try{if(!(t=cy&&(window.URL||window.webkitURL).createObjectURL(cy)))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,"+ly,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var dy,py,hy,fy=function(){function e(e){var t=this;ws(this,"pendingCanvasMutations",new Map),ws(this,"rafStamps",{latestId:0,invokeId:null}),ws(this,"mirror"),ws(this,"mutationCb"),ws(this,"resetObservers"),ws(this,"frozen",!1),ws(this,"locked",!1),ws(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,a=e.blockSelector,s=e.recordCanvas,l=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,s&&"all"===n&&this.initCanvasMutationObserver(o,i,a),s&&"number"==typeof n&&this.initCanvasFPSObserver(n,o,i,a,{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,a=iy(t,r,n,!0),s=new Map,l=new uy;l.onmessage=function(e){var t=e.data.id;if(s.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,o=r.type,a=r.width,l=r.height;i.mutationCb({id:t,type:_g["2D"],commands:[{property:"clearRect",args:[0,0,a,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,d=0,p=function(e){if(d&&e-d<u)c=requestAnimationFrame(p);else{d=e;var a,h=i;(a=[],t.document.querySelectorAll("canvas").forEach(function(e){cg(e,r,n,!0)||a.push(e)}),a).forEach(os(function(e){var t,r,n,i;return ys(this,function(a){switch(a.label){case 0:return r=h.mirror.getId(e),s.get(r)||0===e.width||0===e.height?[2]:(s.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=a.sent(),l.postMessage({id:r,bitmap:i,width:e.width,height:e.height,dataURLOptions:o.dataURLOptions},[i]),[2]}})})),c=requestAnimationFrame(p)}};c=requestAnimationFrame(p),this.resetObservers=function(){a(),cancelAnimationFrame(c)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=iy(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 s=ng(t.CanvasRenderingContext2D.prototype,i,function(o){return function(){for(var a=this,s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return cg(this.canvas,r,n,!0)||setTimeout(function(){var r=ny(l,t,a);e(a.canvas,{type:_g["2D"],property:i,args:r})},0),o.apply(this,l)}});a.push(s)}catch(r){var l=rg(t.CanvasRenderingContext2D.prototype,i,{set:function(t){e(this.canvas,{type:_g["2D"],property:i,args:[t],setter:!0})}});a.push(l)}},a=[],s=gs(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(o=s()).done;)i();return function(){a.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r),i=function(e,t,r,n){var o,i,a=[];return(o=a).push.apply(o,[].concat(ay(t.WebGLRenderingContext.prototype,_g.WebGL,e,r,n,t))),void 0!==t.WebGL2RenderingContext&&(i=a).push.apply(i,[].concat(ay(t.WebGL2RenderingContext.prototype,_g.WebGL2,e,r,n,t))),function(){a.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,ds(e,["type"])}),o=r[0].type;this.mutationCb({id:t,type:o,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),my=function(){function e(e){ws(this,"trackedLinkElements",new WeakSet),ws(this,"mutationCb"),ws(this,"adoptedStyleSheetCb"),ws(this,"styleMirror",new gg),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),a.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,r){return{rule:Fs(t,e.href),index:r}})})),i.styleIds.push(t)};if(0!==e.length){for(var o,i={id:t,styleIds:[]},a=[],s=gs(e);!(o=s()).done;)r=this,n();a.length>0&&(i.styles=a),this.adoptedStyleSheetCb(i)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.trackStylesheetInLinkElement=function(e){},e}(),gy=function(){function e(){ws(this,"nodeMap",new WeakMap),ws(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}(),yy=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var by=document.createElement("iframe");document.body.appendChild(by),Array.from=(null==(vs=by.contentWindow)?void 0:vs.Array.from)||Array.from,document.body.removeChild(by)}}catch(e){console.debug("Unable to override Array.from",e)}var vy,xy,wy=new Hs;function Cy(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,a=e.blockSelector,s=void 0===a?null:a,l=e.ignoreClass,c=void 0===l?"rr-ignore":l,u=e.ignoreSelector,d=void 0===u?null:u,p=e.maskTextClass,h=void 0===p?"rr-mask":p,f=e.maskTextSelector,m=void 0===f?null:f,g=e.inlineStylesheet,y=void 0===g||g,b=e.maskAllInputs,v=e.maskInputOptions,x=e.slimDOMOptions,w=e.maskInputFn,C=e.maskTextFn,_=e.hooks,k=e.packFn,A=e.sampling,S=void 0===A?{}:A,j=e.dataURLOptions,M=void 0===j?{}:j,R=e.mousemoveWait,I=e.recordDOM,E=void 0===I||I,T=e.recordCanvas,P=void 0!==T&&T,L=e.recordCrossOriginIframes,O=void 0!==L&&L,N=e.recordAfter,$=void 0===N?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":N,z=e.userTriggeredOnInput,D=void 0!==z&&z,B=e.collectFonts,F=void 0!==B&&B,H=e.inlineImages,V=void 0!==H&&H,W=e.plugins,q=e.keepIframeSrcFn,U=void 0===q?function(){return!1}:q,Z=e.ignoreCSSAttributes,G=void 0===Z?new Set([]):Z,X=e.errorHandler;jg=X;var K=!O||window.parent===window,Y=!1;if(!K)try{window.parent.document&&(Y=!1)}catch(e){Y=!0}if(K&&!t)throw new Error("emit function is required");if(!K&&!Y)return function(){};void 0!==R&&void 0===S.mousemove&&(S.mousemove=R),wy.reset();var J,Q=!0===b?{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!==v?v:{password:!0},ee=!0===x||"all"===x?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===x,headMetaDescKeywords:"all"===x,headTitleMutations:"all"===x}:x||{};!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=gs(W||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return k&&!Y&&(e=k(e)),e};dy=function(e,o){var i,a=e;if(a.timestamp=og(),!(null==(i=Ng[0])?void 0:i.isFrozen())||a.type===vg.FullSnapshot||a.type===vg.IncrementalSnapshot&&a.data.source===xg.Mutation||Ng.forEach(function(e){return e.unfreeze()}),K)null==t||t(re(a),o);else if(Y){var s={type:"rrweb",event:re(a),origin:window.location.origin,isCheckout:o};window.parent.postMessage(s,"*")}if(a.type===vg.FullSnapshot)J=a,te=0;else if(a.type===vg.IncrementalSnapshot){if(a.data.source===xg.Mutation&&a.data.isAttachIframe)return;te++;var l=n&&te>=n,c=r&&a.timestamp-J.timestamp>r;(l||c)&&py(!0)}};for(var ne,oe=function(e){dy({type:vg.IncrementalSnapshot,data:ss({source:xg.Mutation},e)})},ie=function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.Scroll},e)})},ae=function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.CanvasMutation},e)})},se=new my({mutationCb:oe,adoptedStyleSheetCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.AdoptedStyleSheet},e)})}}),le=new Xg({mirror:wy,mutationCb:oe,stylesheetManager:se,recordCrossOriginIframes:O,wrappedEmit:dy}),ce=gs(W||[]);!(ne=ce()).done;){var ue=ne.value;ue.getMirror&&ue.getMirror({nodeMirror:wy,crossOriginIframeMirror:le.crossOriginIframeMirror,crossOriginIframeStyleMirror:le.crossOriginIframeStyleMirror})}var de=new gy;hy=new fy({recordCanvas:P,mutationCb:ae,win:window,blockClass:i,blockSelector:s,mirror:wy,sampling:S.canvas,dataURLOptions:M});var pe=new Kg({mutationCb:oe,scrollCb:ie,bypassOptions:{blockClass:i,blockSelector:s,maskTextClass:h,maskTextSelector:m,inlineStylesheet:y,maskInputOptions:Q,dataURLOptions:M,maskTextFn:C,maskInputFn:w,recordCanvas:P,inlineImages:V,sampling:S,slimDOMOptions:ee,iframeManager:le,stylesheetManager:se,canvasManager:hy,keepIframeSrcFn:U,processedNodeManager:de},mirror:wy});py=function(e){if(void 0===e&&(e=!1),E){dy({type:vg.Meta,data:{href:window.location.href,width:sg(),height:ag()}},e),se.reset(),pe.init(),Ng.forEach(function(e){return e.lock()});var t=function(e,t){var r=t||{},n=r.mirror,o=void 0===n?new Hs:n,i=r.blockClass,a=r.blockSelector,s=r.maskTextClass,l=r.maskTextSelector,c=r.inlineStylesheet,u=r.inlineImages,d=r.recordCanvas,p=r.maskAllInputs,h=void 0!==p&&p,f=r.slimDOM,m=void 0!==f&&f,g=r.keepIframeSrcFn;return gl(e,{doc:e,mirror:o,blockClass:void 0===i?"rr-block":i,blockSelector:void 0===a?null:a,maskTextClass:void 0===s?"rr-mask":s,maskTextSelector:void 0===l?null:l,skipChild:!1,inlineStylesheet:void 0===c||c,maskInputOptions:!0===h?{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===h?{password:!0}:h,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!==d&&d,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:wy,blockClass:i,blockSelector:s,maskTextClass:h,maskTextSelector:m,inlineStylesheet:y,maskAllInputs:Q,maskTextFn:C,maskInputFn:w,slimDOM:ee,dataURLOptions:M,recordCanvas:P,inlineImages:V,onSerialize:function(e){hg(e,wy)&&le.addIframe(e),fg(e,wy)&&se.trackLinkElement(e),mg(e)&&pe.addShadowRoot(Ym(e),document)},onIframeLoad:function(e,t){le.attachIframe(e,t),pe.observeAttachShadow(e)},onStylesheetLoad:function(e,t){se.attachLinkElement(e,t)},keepIframeSrcFn:U});if(!t)return console.warn("Failed to snapshot the document");dy({type:vg.FullSnapshot,data:{node:t,initialOffset:ig(window)}},e),Ng.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&se.adoptStyleSheets(document.adoptedStyleSheets,wy.getId(document))}};try{var he=[],fe=function(e){var t;return Og(qg)({mutationCb:oe,mousemoveCb:function(e,t){return dy({type:vg.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.MouseInteraction},e)})},scrollCb:ie,viewportResizeCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.ViewportResize},e)})},inputCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.Input},e)})},mediaInteractionCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.MediaInteraction},e)})},styleSheetRuleCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.StyleSheetRule},e)})},styleDeclarationCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.StyleDeclaration},e)})},canvasMutationCb:ae,fontCb:function(e){return dy({type:vg.IncrementalSnapshot,data:ss({source:xg.Font},e)})},selectionCb:function(e){dy({type:vg.IncrementalSnapshot,data:ss({source:xg.Selection},e)})},customElementCb:function(e){dy({type:vg.IncrementalSnapshot,data:ss({source:xg.CustomElement},e)})},blockClass:i,ignoreClass:c,ignoreSelector:d,maskTextClass:h,maskTextSelector:m,maskInputOptions:Q,inlineStylesheet:y,sampling:S,recordDOM:E,recordCanvas:P,inlineImages:V,userTriggeredOnInput:D,collectFonts:F,doc:e,maskInputFn:w,maskTextFn:C,keepIframeSrcFn:U,blockSelector:s,slimDOMOptions:ee,dataURLOptions:M,mirror:wy,iframeManager:le,stylesheetManager:se,shadowDomManager:pe,processedNodeManager:de,canvasManager:hy,ignoreCSSAttributes:G,plugins:(null==(t=null==W?void 0:W.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return dy({type:vg.Plugin,data:{plugin:e.name,payload:t}})}}}))||[]},_)};le.addLoadListener(function(e){try{he.push(fe(e.contentDocument))}catch(e){console.warn(e)}});var me=function(){py(),he.push(fe(document)),yy=!0};return"interactive"===document.readyState||"complete"===document.readyState?me():(he.push(Jm("DOMContentLoaded",function(){dy({type:vg.DomContentLoaded,data:{}}),"DOMContentLoaded"===$&&me()})),he.push(Jm("load",function(){dy({type:vg.Load,data:{}}),"load"===$&&me()},window))),function(){he.forEach(function(e){return e()}),de.destroy(),yy=!1,jg=void 0}}catch(e){console.warn(e)}}Cy.addCustomEvent=function(e,t){if(!yy)throw new Error("please add custom event after start recording");dy({type:vg.Custom,data:{tag:e,payload:t}})},Cy.freezePage=function(){Ng.forEach(function(e){return e.freeze()})},Cy.takeFullSnapshot=function(e){if(!yy)throw new Error("please take full snapshot after start recording");py(e)},Cy.mirror=wy,(xy=vy||(vy={}))[xy.NotStarted=0]="NotStarted",xy[xy.Running=1]="Running",xy[xy.Stopped=2]="Stopped",Cy.addCustomEvent,Cy.freezePage,Cy.takeFullSnapshot;var _y,ky,Ay,Sy=es.setImmediate,jy=Object.prototype.toString,My=void 0!==Sy?function(e){return Sy(e)}:setTimeout;try{Object.defineProperty({},"x",{}),_y=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){_y=function(e,t,r){return e[t]=r,e}}function Ry(e,t){Ay.add(e,t),ky||(ky=My(Ay.drain))}function Iy(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"==typeof t&&t}function Ey(){for(var e=0;e<this.chain.length;e++)Ty(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function Ty(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=Iy(n))?o.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function Py(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=Iy(e))?Ry(function(){var n=new Ny(r);try{t.call(e,function(){Py.apply(n,arguments)},function(){Ly.apply(n,arguments)})}catch(e){Ly.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&Ry(Ey,r))}catch(e){Ly.call(new Ny(r),e)}}}function Ly(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Ry(Ey,t))}function Oy(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 Ny(e){this.def=e,this.triggered=!1}function $y(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function zy(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 $y(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&&Ry(Ey,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){Py.call(t,e)},function(e){Ly.call(t,e)})}catch(e){Ly.call(t,e)}}Ay=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=ky=void 0;r;)r.fn.call(r.self),r=r.next}}}();var Dy,By=_y({},"constructor",zy,!1);zy.prototype=By,_y(By,"__NPO__",0,!1),_y(zy,"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)})}),_y(zy,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),_y(zy,"all",function(e){var t=this;return"[object Array]"!==jy.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),a=0;Oy(t,e,function(e,t){i[e]=t,++a===o&&r(i)},n)})}),_y(zy,"race",function(e){var t=this;return"[object Array]"!==jy.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");Oy(t,e,function(e,t){r(t)},n)})}),Dy="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:zy;var Fy={DEBUG:!1,LIB_VERSION:"2.67.0"},Hy=864e5,Vy=Array.prototype,Wy=Function.prototype,qy=Object.prototype,Uy=Vy.slice,Zy=qy.toString,Gy=qy.hasOwnProperty,Xy=es.console,Ky=es.navigator,Yy=es.document,Jy=es.opera,Qy=es.screen,eb=Ky.userAgent,tb=Wy.bind,rb=Vy.forEach,nb=Vy.indexOf,ob=Vy.map,ib=Array.isArray,ab={},sb={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},lb={log:function(){if(Fy.DEBUG&&!sb.isUndefined(Xy)&&Xy)try{Xy.log.apply(Xy,arguments)}catch(e){sb.each(arguments,function(e){Xy.log(e)})}},warn:function(){if(Fy.DEBUG&&!sb.isUndefined(Xy)&&Xy){var e=["Mixpanel warning:"].concat(sb.toArray(arguments));try{Xy.warn.apply(Xy,e)}catch(t){sb.each(e,function(e){Xy.warn(e)})}}},error:function(){if(Fy.DEBUG&&!sb.isUndefined(Xy)&&Xy){var e=["Mixpanel error:"].concat(sb.toArray(arguments));try{Xy.error.apply(Xy,e)}catch(t){sb.each(e,function(e){Xy.error(e)})}}},critical:function(){if(!sb.isUndefined(Xy)&&Xy){var e=["Mixpanel error:"].concat(sb.toArray(arguments));try{Xy.error.apply(Xy,e)}catch(t){sb.each(e,function(e){Xy.error(e)})}}}},cb=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(lb,arguments)}},ub=function(e){return{log:cb(lb.log,e),error:cb(lb.error,e),critical:cb(lb.critical,e)}},db=function(e){return function(){try{return e.apply(this,arguments)}catch(e){lb.critical("Implementation error. Please turn on debug and contact support@mixpanel.com."),Fy.DEBUG&&lb.critical(e)}}},pb=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=db(t[r]))};sb.bind=function(e,t){var r,n;if(tb&&e.bind===tb)return tb.apply(e,Uy.call(arguments,1));if(!sb.isFunction(e))throw new TypeError;return r=Uy.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(Uy.call(arguments)));var o={};o.prototype=e.prototype;var i=new o;o.prototype=null;var a=e.apply(i,r.concat(Uy.call(arguments)));return Object(a)===a?a:i},n},sb.each=function(e,t,r){if(null!=e)if(rb&&e.forEach===rb)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)===ab)return}else for(var i in e)if(Gy.call(e,i)&&t.call(r,e[i],i,e)===ab)return},sb.extend=function(e){return sb.each(Uy.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},sb.isArray=ib||function(e){return"[object Array]"===Zy.call(e)},sb.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(e){return!1}},sb.isArguments=function(e){return!(!e||!Gy.call(e,"callee"))},sb.toArray=function(e){return e?e.toArray?e.toArray():sb.isArray(e)||sb.isArguments(e)?Uy.call(e):sb.values(e):[]},sb.map=function(e,t,r){if(ob&&e.map===ob)return e.map(t,r);var n=[];return sb.each(e,function(e){n.push(t.call(r,e))}),n},sb.keys=function(e){var t=[];return null===e||sb.each(e,function(e,r){t[t.length]=r}),t},sb.values=function(e){var t=[];return null===e||sb.each(e,function(e){t[t.length]=e}),t},sb.include=function(e,t){var r=!1;return null===e?r:nb&&e.indexOf===nb?-1!=e.indexOf(t):(sb.each(e,function(e){if(r||(r=e===t))return ab}),r)},sb.includes=function(e,t){return-1!==e.indexOf(t)},sb.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},sb.isObject=function(e){return e===Object(e)&&!sb.isArray(e)},sb.isEmptyObject=function(e){if(sb.isObject(e)){for(var t in e)if(Gy.call(e,t))return!1;return!0}return!1},sb.isUndefined=function(e){return void 0===e},sb.isString=function(e){return"[object String]"==Zy.call(e)},sb.isDate=function(e){return"[object Date]"==Zy.call(e)},sb.isNumber=function(e){return"[object Number]"==Zy.call(e)},sb.isElement=function(e){return!(!e||1!==e.nodeType)},sb.encodeDates=function(e){return sb.each(e,function(t,r){sb.isDate(t)?e[r]=sb.formatDate(t):sb.isObject(t)&&(e[r]=sb.encodeDates(t))}),e},sb.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},sb.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())},sb.strip_empty_properties=function(e){var t={};return sb.each(e,function(e,r){sb.isString(e)&&e.length>0&&(t[r]=e)}),t},sb.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):sb.isArray(e)?(r=[],sb.each(e,function(e){r.push(sb.truncate(e,t))})):sb.isObject(e)?(r={},sb.each(e,function(e,n){r[n]=sb.truncate(e,t)})):r=e,r},sb.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,a="",s="",l=0,c=o,u=[],d=n[e];switch(d&&"object"==typeof d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof d){case"string":return t(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(o+=" ",u=[],"[object Array]"===Zy.apply(d)){for(l=d.length,i=0;i<l;i+=1)u[i]=r(i,d)||"null";return s=0===u.length?"[]":o?"[\n"+o+u.join(",\n"+o)+"\n"+c+"]":"["+u.join(",")+"]",o=c,s}for(a in d)Gy.call(d,a)&&(s=r(a,d))&&u.push(t(a)+(o?": ":":")+s);return s=0===u.length?"{}":o?"{"+u.join(",")+c+"}":"{"+u.join(",")+"}",o=c,s}};return r("",{"":e})},sb.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},a=function(n){return n&&n!==t&&i("Expected '"+n+"' instead of '"+t+"'"),t=r.charAt(e),e+=1,t},s=function(){var e,r="";for("-"===t&&(r="-",a("-"));t>="0"&&t<="9";)r+=t,a();if("."===t)for(r+=".";a()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,a(),"-"!==t&&"+"!==t||(r+=t,a());t>="0"&&t<="9";)r+=t,a();if(e=+r,isFinite(e))return e;i("Bad number")},l=function(){var e,r,n,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t)if(a(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(a(),16),isFinite(e));r+=1)n=16*n+e;s+=String.fromCharCode(n)}else{if("string"!=typeof o[t])break;s+=o[t]}else s+=t}i("Bad string")},c=function(){for(;t&&t<=" ";)a()};return n=function(){switch(c(),t){case"{":return function(){var e,r={};if("{"===t){if(a("{"),c(),"}"===t)return a("}"),r;for(;t;){if(e=l(),c(),a(":"),Object.hasOwnProperty.call(r,e)&&i('Duplicate key "'+e+'"'),r[e]=n(),c(),"}"===t)return a("}"),r;a(","),c()}}i("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a("["),c(),"]"===t)return a("]"),e;for(;t;){if(e.push(n()),c(),"]"===t)return a("]"),e;a(","),c()}}i("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}i('Unexpected "'+t+'"')}()}},function(o){var a;return r=o,e=0,t=" ",a=n(),c(),t&&i("Syntax error"),a}}(),sb.base64Encode=function(e){var t,r,n,o,i,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,c="",u=[];if(!e)return e;e=sb.utf8Encode(e);do{t=(i=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,r=i>>12&63,n=i>>6&63,o=63&i,u[l++]=a.charAt(t)+a.charAt(r)+a.charAt(n)+a.charAt(o)}while(s<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},sb.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 a=e.charCodeAt(o),s=null;a<128?r++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),null!==s&&(r>t&&(i+=e.substring(t,r)),i+=s,t=r=o+1)}return r>t&&(i+=e.substring(t,e.length)),i},sb.UUID=function(){try{return es.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]="-",sb.map(e,function(e){return e.toString(16)}).join("")}};var hb=["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"];sb.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<hb.length;t++)if(-1!==e.indexOf(hb[t]))return!0;return!1},sb.HTTPBuildQuery=function(e,t){var r,n,o=[];return sb.isUndefined(t)&&(t="&"),sb.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),o[o.length]=n+"="+r}),o.join(t)},sb.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){lb.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},sb.cookie={get:function(e){for(var t=e+"=",r=Yy.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=sb.JSONDecode(sb.cookie.get(e))||{}}catch(e){}return t},set_seconds:function(e,t,r,n,o,i,a){var s="",l="",c="";if(a)s="; domain="+a;else if(n){var u=Ab(Yy.location.hostname);s=u?"; domain=."+u:""}if(r){var d=new Date;d.setTime(d.getTime()+1e3*r),l="; expires="+d.toGMTString()}i&&(o=!0,c="; SameSite=None"),o&&(c+="; secure"),Yy.cookie=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c},set:function(e,t,r,n,o,i,a){var s="",l="",c="";if(a)s="; domain="+a;else if(n){var u=Ab(Yy.location.hostname);s=u?"; domain=."+u:""}if(r){var d=new Date;d.setTime(d.getTime()+24*r*60*60*1e3),l="; expires="+d.toGMTString()}i&&(o=!0,c="; SameSite=None"),o&&(c+="; secure");var p=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c;return Yy.cookie=p,p},remove:function(e,t,r){sb.cookie.set(e,"",-1,t,!1,!1,r)}};var fb=function(e){var t=!0;try{var r="__mplss_"+Cb(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},mb=null,gb=function(e,t){return null===mb||t?mb=fb(e||es.localStorage):mb},yb=null;function bb(e,t,r){var n=function(e){lb.error(t+" error: "+e)};return{is_supported:function(n){var o=r(e,n);return o||lb.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 sb.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)}}}}sb.localStorage=bb(es.localStorage,"localStorage",gb),sb.sessionStorage=bb(es.sessionStorage,"sessionStorage",function(e,t){return null===yb||t?yb=fb(e||es.sessionStorage):yb}),sb.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 a="on"+r,s=t[a];t[a]=function(t,r,n){return function(o){if(o=o||e(es.event)){var i,a,s=!0;return sb.isFunction(n)&&(i=n(o)),a=r.call(t,o),!1!==i&&!1!==a||(s=!1),s}}}(t,n,s)}else lb.error("No valid element provided to register_event")}}();var vb=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');sb.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(!Yy.getElementsByTagName)return[];var n,o,i,a,s,l,c,u,d,p,h=t.split(" "),f=[Yy];for(l=0;l<h.length;l++)if((n=h[l].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){i=(o=n.split("#"))[0];var m=o[1],g=Yy.getElementById(m);if(!g||i&&g.nodeName.toLowerCase()!=i)return[];f=[g]}else if(n.indexOf(".")>-1){i=(o=n.split("."))[0];var y=o[1];for(i||(i="*"),a=[],s=0,c=0;c<f.length;c++)for(d="*"==i?e(f[c]):f[c].getElementsByTagName(i),u=0;u<d.length;u++)a[s++]=d[u];for(f=[],p=0,c=0;c<a.length;c++)a[c].className&&sb.isString(a[c].className)&&r(a[c],y)&&(f[p++]=a[c])}else{var b=n.match(vb);if(b){i=b[1];var v,x=b[2],w=b[3],C=b[4];for(i||(i="*"),a=[],s=0,c=0;c<f.length;c++)for(d="*"==i?e(f[c]):f[c].getElementsByTagName(i),u=0;u<d.length;u++)a[s++]=d[u];switch(f=[],p=0,w){case"=":v=function(e){return e.getAttribute(x)==C};break;case"~":v=function(e){return e.getAttribute(x).match(new RegExp("\\b"+C+"\\b"))};break;case"|":v=function(e){return e.getAttribute(x).match(new RegExp("^"+C+"-?"))};break;case"^":v=function(e){return 0===e.getAttribute(x).indexOf(C)};break;case"$":v=function(e){return e.getAttribute(x).lastIndexOf(C)==e.getAttribute(x).length-C.length};break;case"*":v=function(e){return e.getAttribute(x).indexOf(C)>-1};break;default:v=function(e){return e.getAttribute(x)}}for(f=[],p=0,c=0;c<a.length;c++)v(a[c])&&(f[p++]=a[c])}else{for(i=n,a=[],s=0,c=0;c<f.length;c++)for(d=f[c].getElementsByTagName(i),u=0;u<d.length;u++)a[s++]=d[u];f=a}}return f}return function(e){return sb.isElement(e)?[e]:sb.isObject(e)&&!sb.isUndefined(e.length)?e:n.call(this,e)}}();var xb=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],wb=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];sb.info={campaignParams:function(e){var t="",r={};return sb.each(xb,function(n){(t=sb.getQueryParam(Yy.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return sb.each(wb,function(r){(e=sb.getQueryParam(Yy.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return sb.extend(sb.info.campaignParams(),sb.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=sb.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var o=sb.getQueryParam(e,r);o.length&&(n.mp_keyword=o)}return n},browser:function(e,t,r){return t=t||"",r||sb.includes(e," OPR/")?sb.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":sb.includes(e,"IEMobile")||sb.includes(e,"WPDesktop")?"Internet Explorer Mobile":sb.includes(e,"SamsungBrowser/")?"Samsung Internet":sb.includes(e,"Edge")||sb.includes(e,"Edg/")?"Microsoft Edge":sb.includes(e,"FBIOS")?"Facebook Mobile":sb.includes(e,"Whale/")?"Whale Browser":sb.includes(e,"Chrome")?"Chrome":sb.includes(e,"CriOS")?"Chrome iOS":sb.includes(e,"UCWEB")||sb.includes(e,"UCBrowser")?"UC Browser":sb.includes(e,"FxiOS")?"Firefox iOS":sb.includes(t,"Apple")?sb.includes(e,"Mobile")?"Mobile Safari":"Safari":sb.includes(e,"Android")?"Android Mobile":sb.includes(e,"Konqueror")?"Konqueror":sb.includes(e,"Firefox")?"Firefox":sb.includes(e,"MSIE")||sb.includes(e,"Trident/")?"Internet Explorer":sb.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+)?)/}[sb.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=eb;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 es.location.href},properties:function(e){return"object"!=typeof e&&(e={}),sb.extend(sb.strip_empty_properties({$os:sb.info.os(),$browser:sb.info.browser(eb,Ky.vendor,Jy),$referrer:Yy.referrer,$referring_domain:sb.info.referringDomain(Yy.referrer),$device:sb.info.device(eb)}),{$current_url:sb.info.currentUrl(),$browser_version:sb.info.browserVersion(eb,Ky.vendor,Jy),$screen_height:Qy.height,$screen_width:Qy.width,mp_lib:"web",$lib_version:Fy.LIB_VERSION,$insert_id:Cb(),time:sb.timestamp()/1e3},sb.strip_empty_properties(e))},people_properties:function(){return sb.extend(sb.strip_empty_properties({$os:sb.info.os(),$browser:sb.info.browser(eb,Ky.vendor,Jy)}),{$browser_version:sb.info.browserVersion(eb,Ky.vendor,Jy)})},mpPageViewProperties:function(){return sb.strip_empty_properties({current_page_title:Yy.title,current_domain:es.location.hostname,current_url_path:es.location.pathname,current_url_protocol:es.location.protocol,current_url_search:es.location.search})}};var Cb=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},_b=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,kb=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Ab=function(e){var t=kb,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=_b);var o=e.match(t);return o?o[0]:""},Sb=function(){},jb=null,Mb=null;"undefined"!=typeof JSON&&(jb=JSON.stringify,Mb=JSON.parse),jb=jb||sb.JSONEncode,Mb=Mb||sb.JSONDecode,sb.info=sb.info,sb.info.browser=sb.info.browser,sb.info.browserVersion=sb.info.browserVersion,sb.info.device=sb.info.device,sb.info.properties=sb.info.properties,sb.isBlockedUA=sb.isBlockedUA,sb.isEmptyObject=sb.isEmptyObject,sb.isObject=sb.isObject,sb.JSONDecode=sb.JSONDecode,sb.JSONEncode=sb.JSONEncode,sb.toArray=sb.toArray,sb.NPO=zy;var Rb="mixpanelRecordingEvents",Ib="mixpanelRecordingRegistry",Eb=[Rb,Ib],Tb=function(e){this.dbPromise=null,this.storeName=e};function Pb(e,t){Wb(!0,e,t)}function Lb(e,t){Wb(!1,e,t)}function Ob(e,t){return"1"===Vb(e,t)}function Nb(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||es,r=t.navigator||{},n=!1;return sb.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){sb.includes([!0,1,"1","yes"],e)&&(n=!0)}),n}(t))return lb.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"===Vb(e,t);return r&&lb.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function $b(e){return qb(e,function(e){return this.get_config(e)})}function zb(e){return qb(e,function(e){return this._get_config(e)})}function Db(e){return qb(e,function(e){return this._get_config(e)})}function Bb(e,t){Fb(t=t||{}).remove(Hb(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function Fb(e){return"localStorage"===(e=e||{}).persistenceType?sb.localStorage:sb.cookie}function Hb(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function Vb(e,t){return Fb(t).get(Hb(e,t))}function Wb(e,t,r){sb.isString(t)&&t.length?(Fb(r=r||{}).set(Hb(t,r),e?1:0,sb.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})):lb.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function qb(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"),a=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");n&&(r=Nb(n,{ignoreDnt:o,persistenceType:i,persistencePrefix:a,window:s}))}catch(e){lb.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)}}Tb.prototype._openDb=function(){return new Dy(function(e,t){var r=es.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;Eb.forEach(function(e){t.createObjectStore(e)})}})},Tb.prototype.init=function(){return es.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof es.IDBDatabase?Dy.resolve():Dy.reject(e)})):Dy.reject("indexedDB is not supported in this browser")},Tb.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new Dy(function(o,i){var a=n.transaction(r,e);a.oncomplete=function(){o(a)},a.onabort=a.onerror=function(){i(a.error)},t(a.objectStore(r))})};return this.dbPromise.then(n).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):Dy.reject(e)}.bind(this))},Tb.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},Tb.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},Tb.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},Tb.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};var Ub=ub("lock"),Zb=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||es.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||Dy};Zb.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(sb.bind(function(r,n){var o=t||(new Date).getTime()+"|"+Math.random(),i=(new Date).getTime(),a=this.storageKey,s=this.pollIntervalMS,l=this.timeoutMS,c=this.storage,u=a+":X",d=a+":Y",p=a+":Z",h=function(e){if((new Date).getTime()-i>l)return Ub.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),c.removeItem(p),c.removeItem(d),void g();setTimeout(function(){try{e()}catch(e){n(e)}},s*(Math.random()+.1))},f=function(e,t){e()?t():h(function(){f(e,t)})},m=function(){var e=c.getItem(d);return!(e&&e!==o||(c.setItem(d,o),c.getItem(d)!==o&&(gb(c,!0)||n(new Error("localStorage support dropped while acquiring lock")),1)))},g=function(){c.setItem(u,o),f(m,function(){c.getItem(u)!==o?h(function(){c.getItem(d)===o?f(function(){return!c.getItem(p)},y):g()}):y()})},y=function(){c.setItem(p,"1");var t=function(){c.removeItem(p),c.getItem(d)===o&&c.removeItem(d),c.getItem(u)===o&&c.removeItem(u)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(!gb(c,!0))throw new Error("localStorage support check failed");g()}catch(e){n(e)}},this))};var Gb=function(e){this.storage=e||es.localStorage};Gb.prototype.init=function(){return Dy.resolve()},Gb.prototype.setItem=function(e,t){return new Dy(sb.bind(function(r,n){try{this.storage.setItem(e,jb(t))}catch(e){n(e)}r()},this))},Gb.prototype.getItem=function(e){return new Dy(sb.bind(function(t,r){var n;try{n=Mb(this.storage.getItem(e))}catch(e){r(e)}t(n)},this))},Gb.prototype.removeItem=function(e){return new Dy(sb.bind(function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()},this))};var Xb=ub("batch"),Kb=function(e,t){var r,n,o,i;t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new Gb,this.lock=new Zb(e,{storage:t.sharedLockStorage||es.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||sb.bind(Xb.error,Xb),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=(r=sb.bind(this._enqueuePersisted,this),n=t.enqueueThrottleMs,o=null,i=[],function(e){var t=this;return i.push(e),o||(o=new Dy(function(e){setTimeout(function(){var n=r.apply(t,[i]);o=null,i=[],e(n)},n)})),o}):this.enqueuePersisted=sb.bind(function(e){return this._enqueuePersisted([e])},this)};Kb.prototype.ensureInit=function(){return this.initialized?Dy.resolve():this.queueStorage.init().then(sb.bind(function(){this.initialized=!0},this)).catch(sb.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},Kb.prototype.enqueue=function(e,t){var r={id:Cb(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),Dy.resolve(!0))},Kb.prototype._enqueuePersisted=function(e){var t=sb.bind(function(){return this.ensureInit().then(sb.bind(function(){return this.readFromStorage()},this)).then(sb.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(sb.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(sb.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(sb.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},Kb.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(sb.bind(function(){return this.readFromStorage()},this)).then(sb.bind(function(r){if(r.length){var n={};sb.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)):Dy.resolve(t)};var Yb=function(e,t){var r=[];return sb.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};Kb.prototype.removeItemsByID=function(e){var t={};if(sb.each(e,function(e){t[e]=!0}),this.memQueue=Yb(this.memQueue,t),this.usePersistence){var r=sb.bind(function(){return this.ensureInit().then(sb.bind(function(){return this.readFromStorage()},this)).then(sb.bind(function(e){return e=Yb(e,t),this.saveToStorage(e)},this)).then(sb.bind(function(){return this.readFromStorage()},this)).then(sb.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(sb.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(sb.bind(function(e){return this.reportError("Error acquiring storage lock",e),!gb(this.lock.storage,!0)&&r().then(sb.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(sb.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))}return Dy.resolve(!0)};var Jb=function(e,t){var r=[];return sb.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};Kb.prototype.updatePayloads=function(e){return this.memQueue=Jb(this.memQueue,e),this.usePersistence?this.lock.withLock(sb.bind(function(){return this.ensureInit().then(sb.bind(function(){return this.readFromStorage()},this)).then(sb.bind(function(t){return t=Jb(t,e),this.saveToStorage(t)},this)).catch(sb.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(sb.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):Dy.resolve(!0)},Kb.prototype.readFromStorage=function(){return this.ensureInit().then(sb.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(sb.bind(function(e){return e&&(sb.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(sb.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},Kb.prototype.saveToStorage=function(e){return this.ensureInit().then(sb.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(sb.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},Kb.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(sb.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):Dy.resolve()};var Qb=ub("batch"),ev=function(e,t){this.errorReporter=t.errorReporter,this.queue=new Kb(e,{errorReporter:sb.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};ev.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},ev.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},ev.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},ev.prototype.clear=function(){return this.queue.clear()},ev.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},ev.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},ev.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(sb.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},ev.prototype.sendRequestPromise=function(e,t){return new Dy(sb.bind(function(r){this.sendRequest(e,t,r)},this))},ev.prototype.flush=function(e){if(this.requestInProgress)return Qb.log("Flush: Request already in progress"),Dy.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(sb.bind(function(o){var i=o.length===n,a=[],s={};if(sb.each(o,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=sb.extend({},t.properties,{mp_sent_by_lib_version:Fy.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&&a.push(t)}s[e.id]=t},this),a.length<1)return this.requestInProgress=!1,this.resetFlush(),Dy.resolve();var l=sb.bind(function(){return this.queue.removeItemsByID(sb.map(o,function(e){return e.id})).then(sb.bind(function(e){return sb.each(o,sb.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(),Dy.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Dy.resolve())},this))},this),c=sb.bind(function(i){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(s);if(sb.isObject(i)&&"timeout"===i.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(sb.isObject(i)&&(i.httpStatusCode>=500||429===i.httpStatusCode||i.httpStatusCode<=0&&(u=es.navigator.onLine,!sb.isUndefined(u)&&!u)||"timeout"===i.error)){var a=2*this.flushInterval;return i.retryAfter&&(a=1e3*parseInt(i.retryAfter,10)||a),a=Math.min(6e5,a),this.reportError("Error; retry in "+a+" ms"),this.scheduleFlush(a),Dy.resolve()}if(sb.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(),Dy.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"),Qb.log("MIXPANEL REQUEST:",a),this.sendRequestPromise(a,u).then(c)},this)).catch(sb.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},ev.prototype.reportError=function(e,t){if(Qb.error.apply(Qb.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){Qb.error(t)}};var tv=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},rv=ub("recorder"),nv=es.CompressionStream,ov={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},iv=new Set([xg.MouseMove,xg.MouseInteraction,xg.Scroll,xg.ViewportResize,xg.Input,xg.TouchMove,xg.MediaInteraction,xg.Drag,xg.Selection]),av=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Sb,this._onMaxLengthReached=e.onMaxLengthReached||Sb,this._onBatchSent=e.onBatchSent||Sb,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=Hy,this.recordMinMs=0;var t=gb(e.sharedLockStorage,!0);this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Tb(Rb),this.batcher=new ev(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:ov,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};av.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},av.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))},av.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},av.prototype.get_config=function(e){return this.getConfig(e)},av.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Hy&&(this.recordMaxMs=Hy,rv.critical("record_max_ms cannot be greater than "+Hy+"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,rv.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=sb.info.currentUrl(),this.replayStartUrl=sb.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===vg.IncrementalSnapshot&&iv.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 rv.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},av.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},av.prototype.isRrwebStopped=function(){return null===this._stopRecording},av.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)},av.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}},av.deserialize=function(e,t){return new av(sb.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}))},av.prototype._sendRequest=function(e,t,r,n){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=sb.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");es.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})})},av.prototype._flushEvents=$b(function(e,t,r){var n=e.length;if(n>0){for(var o=this.replayId,i=1/0,a=-1/0,s=!1,l=0;l<n;l++)i=Math.min(i,e[l].timestamp),a=Math.max(a,e[l].timestamp),e[l].type===vg.FullSnapshot&&(s=!0);if(0===this.seqNo){if(!s)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=a-this.replayStartTime,u={$current_url:this.batchStartUrl,$lib_version:Fy.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},d=JSON.stringify(e);if(Object.assign(u,this.getUserIdInfo()),nv){var p=new Blob([d],{type:"application/json"}).stream().pipeThrough(new nv("gzip"));new Response(p).blob().then(function(e){u.format="gzip",this._sendRequest(o,u,e,r)}.bind(this))}else u.format="body",this._sendRequest(o,u,d,r)}}),av.prototype.reportError=function(e,t){rv.error.apply(rv.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){rv.error(t)}};var sv=function(e){this.idb=new Tb(Ib),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};sv.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},sv.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."),Dy.resolve())},sv.prototype.getActiveRecording=function(){return this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return tv(e)?null:e}.bind(this)).catch(this.handleError.bind(this))},sv.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))},sv.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 tv(e)}).map(function(e){return av.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 Dy.all(t)}.bind(this)).catch(this.handleError.bind(this))};var lv=ub("recorder"),cv=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||Cy,this.sharedLockStorage=r,this.recordingRegistry=new sv({mixpanelInstance:this.mixpanelInstance,errorReporter:lv.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};cv.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){lv.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){lv.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:sb.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=av.deserialize(e.activeSerializedRecording,o):this.activeRecording=new av(o),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}lv.log("Recording already in progress, skipping startRecording.")},cv.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))},cv.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},cv.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return Dy.resolve()},cv.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Dy.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(lv.log("No resumable recording found."),null)}.bind(this))},cv.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},cv.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(cv.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),es.__mp_recorder=cv;var uv="change",dv="click",pv="hashchange",hv="mp_locationchange",fv="popstate",mv="scrollend",gv="submit",yv=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],bv=["mp-include"],vv=["mp-no-track"],xv=vv.concat(["mp-sensitive"]),wv=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Cv=ub("autocapture");function _v(e){for(var t={},r=kv(e).split(" "),n=0;n<r.length;n++){var o=r[n];o&&(t[o]=!0)}return t}function kv(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Av(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!Iv(e));return e}function Sv(e,t,r,n,o,i){var a={$classes:kv(e).split(" "),$tag_name:e.tagName.toLowerCase()},s=e.id;s&&(a.$id=s),Pv(e,t,o,i)&&sb.each(wv.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);Lv(n)&&(a["$attr-"+t]=n)}});for(var l=1,c=1,u=e;u=Av(u);)l++,u.tagName===e.tagName&&c++;return a.$nth_child=l,a.$nth_of_type=c,a}function jv(e,t,r,n){var o="";return Pv(e,t,r,n)&&e.childNodes&&e.childNodes.length&&sb.each(e.childNodes,function(e){Tv(e)&&e.textContent&&(o+=sb.trim(e.textContent).split(/(\s+)/).filter(Lv).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),sb.trim(o)}function Mv(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return Cv.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){Cv.critical("Error while checking selector: "+i,e)}}return!1}function Rv(e,t,r,n){var o;if(r)try{if(r(e,t))return!0}catch(e){return Cv.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){Cv.critical("Error while checking selector: "+i,e)}}var a=_v(e);for(o=0;o<vv.length;o++)if(a[vv[o]])return!0;return!1}function Iv(e){return e&&1===e.nodeType}function Ev(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Tv(e){return e&&3===e.nodeType}function Pv(e,t,r,n){var o;if(!Mv(e,t,r,n))return!1;for(var i=e;i.parentNode&&!Ev(i,"body");i=i.parentNode){var a=_v(i);for(o=0;o<xv.length;o++)if(a[xv[o]])return!1}var s=_v(e);for(o=0;o<bv.length;o++)if(s[bv[o]])return!0;if(Ev(e,"input")||Ev(e,"select")||Ev(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 Lv(e){if(null===e||sb.isUndefined(e))return!1;if("string"==typeof e){if(e=sb.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 Ov="autocapture",Nv="full-url",$v="allow_selectors",zv="allow_url_regexes",Dv="block_attrs",Bv="block_element_callback",Fv="block_selectors",Hv="block_url_regexes",Vv="capture_extra_attrs",Wv="capture_text_content",qv="scroll_capture_all",Uv="scroll_depth_percent_checkpoints",Zv="click",Gv="input",Xv="pageview",Kv="scroll",Yv="submit",Jv={};Jv[$v]=[],Jv[zv]=[],Jv[Dv]=[],Jv[Bv]=null,Jv[Fv]=[],Jv[Hv]=[],Jv[Vv]=[],Jv[Wv]=!1,Jv[qv]=!1,Jv[Uv]=[25,50,75,100],Jv[Zv]=!0,Jv[Gv]=!0,Jv[Xv]=Nv,Jv[Kv]=!0,Jv[Yv]=!0;var Qv={$mp_autocapture:!0},ex="$mp_click",tx=function(e){this.mp=e};tx.prototype.init=function(){!function(){try{return!!Yy.createElement("div").matches}catch(e){return!1}}()?Cv.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageviewTracking(),this.initClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking())},tx.prototype.getFullConfig=function(){var e=this.mp.get_config(Ov);return e?sb.isObject(e)?sb.extend({},Jv,e):Jv:{}},tx.prototype.getConfig=function(e){return this.getFullConfig()[e]},tx.prototype.currentUrlBlocked=function(){var e,t=sb.info.currentUrl(),r=this.getConfig(zv)||[];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 Cv.critical("Error while checking block URL regex: "+o,e),!0}}if(!n)return!0}var i=this.getConfig(Hv)||[];if(!i||!i.length)return!1;for(e=0;e<i.length;e++)try{if(t.match(i[e]))return!0}catch(t){return Cv.critical("Error while checking block URL regex: "+i[e],t),!0}return!1},tx.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Ov)?this.getConfig(Xv):this.mp.get_config("track_pageview")},tx.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,a=t.blockSelectors||[],s=t.captureTextContent||!1,l=t.captureExtraAttrs||[],c=t.capturedForHeatMap||!1,u={};sb.each(o,function(e){u[e]=!0});var d=null,p=void 0===e.target?e.srcElement:e.target;if(Tv(p)&&(p=p.parentNode),function(e,t){if(!e||Ev(e,"html")||!Iv(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===gv;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===uv:t.type===dv;case"select":case"textarea":return t.type===uv;default:return t.type===dv}}(p,e)&&Mv(p,e,r,n)&&!Rv(p,e,i,a)){for(var h=[p],f=p;f.parentNode&&!Ev(f,"body");)h.push(f.parentNode),f=f.parentNode;var m,g=[],y=!1;if(sb.each(h,function(t){var o=Pv(t,e,r,n);u.href||"a"!==t.tagName.toLowerCase()||(m=t.getAttribute("href"),m=o&&Lv(m)&&m),Rv(t,e,i,a)&&(y=!0),g.push(Sv(t,e,u,l,r,n))},this),!y){var b=Yy.documentElement;if(d={$event_type:e.type,$host:es.location.host,$pathname:es.location.pathname,$elements:g,$el_attr__href:m,$viewportHeight:Math.max(b.clientHeight,es.innerHeight||0),$viewportWidth:Math.max(b.clientWidth,es.innerWidth||0),$pageHeight:Yy.body.offsetHeight||0,$pageWidth:Yy.body.offsetWidth||0},sb.each(l,function(e){if(!u[e]&&p.hasAttribute(e)){var t=p.getAttribute(e);Lv(t)&&(d["$el_attr__"+e]=t)}}),s&&(v=jv(p,e,r,n))&&v.length&&(d.$el_text=v),e.type===dv&&(sb.each(yv,function(t){t in e&&(d["$"+t]=e[t])}),c&&(d.$captured_for_heatmap=!0),p=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var o=r[n];if(Ev(o,"a")||Ev(o,"button")||Ev(o,"input")||Ev(o,"select")||o.getAttribute&&"button"===o.getAttribute("role")){t=o;break}if(o===t)break}return t}(e)),s){var v=jv(p,e,r,n);v&&v.length&&(d.$el_text=v)}if(p){if(!Mv(p,e,r,n)||Rv(p,e,i,a))return null;var x=Sv(p,e,u,l,r,n);d.$target=x,d.$el_classes=x.$classes,sb.extend(d,sb.strip_empty_properties({$el_id:x.$id,$el_tag_name:x.$tag_name}))}}}return d}(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig($v),blockAttrs:this.getConfig(Dv),blockElementCallback:this.getConfig(Bv),blockSelectors:this.getConfig(Fv),captureExtraAttrs:this.getConfig(Vv),captureTextContent:this.getConfig(Wv),capturedForHeatMap:t===ex&&!this.getConfig(Zv)&&this.mp.is_recording_heatmap_data()});r&&(sb.extend(r,Qv),this.mp.track(t,r))}},tx.prototype.initClickTracking=function(){es.removeEventListener(dv,this.listenerClick),(this.getConfig(Zv)||this.mp.get_config("record_heatmap_data"))&&(Cv.log("Initializing click tracking"),this.listenerClick=es.addEventListener(dv,function(e){(this.getConfig(Zv)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,ex)}.bind(this)))},tx.prototype.initInputTracking=function(){es.removeEventListener(uv,this.listenerChange),this.getConfig(Gv)&&(Cv.log("Initializing input tracking"),this.listenerChange=es.addEventListener(uv,function(e){this.getConfig(Gv)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this)))},tx.prototype.initPageviewTracking=function(){if(es.removeEventListener(fv,this.listenerPopstate),es.removeEventListener(pv,this.listenerHashchange),es.removeEventListener(hv,this.listenerLocationchange),this.pageviewTrackingConfig()){Cv.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(Qv)),t&&(e=sb.info.currentUrl()),this.listenerPopstate=es.addEventListener(fv,function(){es.dispatchEvent(new Event(hv))}),this.listenerHashchange=es.addEventListener(pv,function(){es.dispatchEvent(new Event(hv))});var r=es.history.pushState;"function"==typeof r&&(es.history.pushState=function(e,t,n){r.call(es.history,e,t,n),es.dispatchEvent(new Event(hv))});var n=es.history.replaceState;"function"==typeof n&&(es.history.replaceState=function(e,t,r){n.call(es.history,e,t,r),es.dispatchEvent(new Event(hv))}),this.listenerLocationchange=es.addEventListener(hv,db(function(){if(!this.currentUrlBlocked()){var t=sb.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],o=this.pageviewTrackingConfig();o===Nv?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(Qv)&&(e=t),n&&(this.lastScrollCheckpoint=0,Cv.log("Path change: re-initializing scroll depth checkpoints")))}}.bind(this)))}},tx.prototype.initScrollTracking=function(){es.removeEventListener(mv,this.listenerScroll),this.getConfig(Kv)&&(Cv.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0,this.listenerScroll=es.addEventListener(mv,db(function(){if(this.getConfig(Kv)&&!this.currentUrlBlocked()){var e=this.getConfig(qv),t=(this.getConfig(Uv)||[]).slice().sort(function(e,t){return e-t}),r=es.scrollY,n=sb.extend({$scroll_top:r},Qv);try{var o=Yy.body.scrollHeight,i=Math.round(r/(o-es.innerHeight)*100);if(n.$scroll_height=o,n.$scroll_percentage=i,i>this.lastScrollCheckpoint)for(var a=0;a<t.length;a++){var s=t[a];i>=s&&this.lastScrollCheckpoint<s&&(n.$scroll_checkpoint=s,this.lastScrollCheckpoint=s,e=!0)}}catch(e){Cv.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",n)}}.bind(this))))},tx.prototype.initSubmitTracking=function(){es.removeEventListener(gv,this.listenerSubmit),this.getConfig(Yv)&&(Cv.log("Initializing submit tracking"),this.listenerSubmit=es.addEventListener(gv,function(e){this.getConfig(Yv)&&this.trackDomEvent(e,"$mp_submit")}.bind(this)))},pb(tx);var rx=es.fetch,nx=ub("flags"),ox="flags",ix="context",ax={};ax[ix]={};var sx=function(e){this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc};sx.prototype.init=function(){rx&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set?(this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set):nx.critical("Feature Flags unavailable: missing minimum required APIs")},sx.prototype.getFullConfig=function(){var e=this.getMpConfig(ox);return e?sb.isObject(e)?sb.extend({},ax,e):ax:{}},sx.prototype.getConfig=function(e){return this.getFullConfig()[e]},sx.prototype.isSystemEnabled=function(){return!!this.getMpConfig(ox)},sx.prototype.areFlagsReady=function(){return this.isSystemEnabled()||nx.error("Feature Flags not enabled"),!!this.flags},sx.prototype.fetchFlags=function(){if(this.isSystemEnabled()){var e=this.getMpProperty("distinct_id"),t=this.getMpProperty("$device_id");nx.log("Fetching flags for distinct ID: "+e);var r={context:sb.extend({distinct_id:e,device_id:t},this.getConfig(ix))};this._fetchInProgressStartTime=Date.now(),this.fetchPromise=es.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;sb.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(),nx.error(e)}.bind(this))}.bind(this)).catch(function(e){this.markFetchComplete(),nx.error(e)}.bind(this))}},sx.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):nx.error("Fetch in progress started time not set, cannot mark fetch complete")},sx.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,t)}.bind(this)).catch(function(e){return nx.error(e),t}):new Promise(function(e){nx.critical("Feature Flags not initialized"),e(t)})},sx.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return nx.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(nx.log('No flag found: "'+e+'"'),t)},sx.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return nx.error(e),t})},sx.prototype.getFeatureData=function(e,t){return nx.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)},sx.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},sx.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return nx.error(e),t})},sx.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(nx.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},sx.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}))},pb(sx),sx.prototype.are_flags_ready=sx.prototype.areFlagsReady,sx.prototype.get_variant=sx.prototype.getVariant,sx.prototype.get_variant_sync=sx.prototype.getVariantSync,sx.prototype.get_variant_value=sx.prototype.getVariantValue,sx.prototype.get_variant_value_sync=sx.prototype.getVariantValueSync,sx.prototype.is_enabled=sx.prototype.isEnabled,sx.prototype.is_enabled_sync=sx.prototype.isEnabledSync,sx.prototype.get_feature_data=sx.prototype.getFeatureData;var lx=function(){};lx.prototype.create_properties=function(){},lx.prototype.event_handler=function(){},lx.prototype.after_track_handler=function(){},lx.prototype.init=function(e){return this.mp=e,this},lx.prototype.track=function(e,t,r,n){var o=this,i=sb.dom_query(e);if(0!==i.length)return sb.each(i,function(e){sb.register_event(e,this.override_event,function(e){var i={},a=o.create_properties(r,this),s=o.mp.get_config("track_links_timeout");o.event_handler(e,this,i),window.setTimeout(o.track_callback(n,a,i,!0),s),o.mp.track(t,a,o.track_callback(n,a,i))})},this),!0;lb.error("The DOM query ("+e+") returned 0 elements")},lx.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))}},lx.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):sb.extend({},e)};var cx=function(){this.override_event="click"};sb.inherit(cx,lx),cx.prototype.create_properties=function(e,t){var r=cx.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},cx.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()},cx.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var ux=function(){this.override_event="submit"};sb.inherit(ux,lx),ux.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},ux.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var dx="$set",px="$set_once",hx="$unset",fx="$add",mx="$append",gx="$union",yx="$remove",bx={set_action:function(e,t){var r={},n={};return sb.isObject(e)?sb.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[dx]=n,r},unset_action:function(e){var t={},r=[];return sb.isArray(e)||(e=[e]),sb.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[hx]=r,t},set_once_action:function(e,t){var r={},n={};return sb.isObject(e)?sb.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[px]=n,r},union_action:function(e,t){var r={},n={};return sb.isObject(e)?sb.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=sb.isArray(e)?e:[e])},this):n[e]=sb.isArray(t)?t:[t],r[gx]=n,r},append_action:function(e,t){var r={},n={};return sb.isObject(e)?sb.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[mx]=n,r},remove_action:function(e,t){var r={},n={};return sb.isObject(e)?sb.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[yx]=n,r},delete_action:function(){return{$delete:""}}},vx=function(){};sb.extend(vx.prototype,bx),vx.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},vx.prototype.set=Db(function(e,t,r){var n=this.set_action(e,t);return sb.isObject(e)&&(r=t),this._send_request(n,r)}),vx.prototype.set_once=Db(function(e,t,r){var n=this.set_once_action(e,t);return sb.isObject(e)&&(r=t),this._send_request(n,r)}),vx.prototype.unset=Db(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),vx.prototype.union=Db(function(e,t,r){sb.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),vx.prototype.delete=Db(function(e){var t=this.delete_action();return this._send_request(t,e)}),vx.prototype.remove=Db(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),vx.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=sb.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)},vx.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},vx.prototype._get_config=function(e){return this._mixpanel.get_config(e)},vx.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},vx.prototype.remove=vx.prototype.remove,vx.prototype.set=vx.prototype.set,vx.prototype.set_once=vx.prototype.set_once,vx.prototype.union=vx.prototype.union,vx.prototype.unset=vx.prototype.unset,vx.prototype.toString=vx.prototype.toString;var xx=function(){};sb.extend(xx.prototype,bx),xx.prototype._init=function(e){this._mixpanel=e},xx.prototype.set=zb(function(e,t,r){var n=this.set_action(e,t);return sb.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[dx]=sb.extend({},sb.info.people_properties(),n[dx]),this._send_request(n,r)}),xx.prototype.set_once=zb(function(e,t,r){var n=this.set_once_action(e,t);return sb.isObject(e)&&(r=t),this._send_request(n,r)}),xx.prototype.unset=zb(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),xx.prototype.increment=zb(function(e,t,r){var n={},o={};return sb.isObject(e)?(sb.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void lb.error("Invalid increment value passed to mixpanel.people.increment - must be a number");o[t]=e}},this),r=t):(sb.isUndefined(t)&&(t=1),o[e]=t),n[fx]=o,this._send_request(n,r)}),xx.prototype.append=zb(function(e,t,r){sb.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),xx.prototype.remove=zb(function(e,t,r){sb.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),xx.prototype.union=zb(function(e,t,r){sb.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),xx.prototype.track_charge=zb(function(){lb.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),xx.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},xx.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}lb.error("mixpanel.people.delete_user() requires you to call identify() first")},xx.prototype.toString=function(){return this._mixpanel.toString()+".people"},xx.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=sb.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),sb.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),sb.truncate(i,255))},xx.prototype._get_config=function(e){return this._mixpanel.get_config(e)},xx.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},xx.prototype._enqueue=function(e){dx in e?this._mixpanel.persistence._add_to_people_queue(dx,e):px in e?this._mixpanel.persistence._add_to_people_queue(px,e):hx in e?this._mixpanel.persistence._add_to_people_queue(hx,e):fx in e?this._mixpanel.persistence._add_to_people_queue(fx,e):mx in e?this._mixpanel.persistence._add_to_people_queue(mx,e):yx in e?this._mixpanel.persistence._add_to_people_queue(yx,e):gx in e?this._mixpanel.persistence._add_to_people_queue(gx,e):lb.error("Invalid call to _enqueue():",e)},xx.prototype._flush_one_queue=function(e,t,r,n){var o=this,i=sb.extend({},this._mixpanel.persistence.load_queue(e)),a=i;sb.isUndefined(i)||!sb.isObject(i)||sb.isEmptyObject(i)||(o._mixpanel.persistence._pop_from_people_queue(e,i),o._mixpanel.persistence.save(),n&&(a=n(i)),t.call(o,a,function(t,n){0===t&&o._mixpanel.persistence._add_to_people_queue(e,i),sb.isUndefined(r)||r(t,n)}))},xx.prototype._flush=function(e,t,r,n,o,i,a){var s=this;this._flush_one_queue(dx,this.set,e),this._flush_one_queue(px,this.set_once,n),this._flush_one_queue(hx,this.unset,i,function(e){return sb.keys(e)}),this._flush_one_queue(fx,this.increment,t),this._flush_one_queue(gx,this.union,o);var l=this._mixpanel.persistence.load_queue(mx);if(!sb.isUndefined(l)&&sb.isArray(l)&&l.length)for(var c,u=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(mx,c),sb.isUndefined(r)||r(e,t)},d=l.length-1;d>=0;d--)l=this._mixpanel.persistence.load_queue(mx),c=l.pop(),s._mixpanel.persistence.save(),sb.isEmptyObject(c)||s.append(c,u);var p=this._mixpanel.persistence.load_queue(yx);if(!sb.isUndefined(p)&&sb.isArray(p)&&p.length)for(var h,f=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(yx,h),sb.isUndefined(a)||a(e,t)},m=p.length-1;m>=0;m--)p=this._mixpanel.persistence.load_queue(yx),h=p.pop(),s._mixpanel.persistence.save(),sb.isEmptyObject(h)||s.remove(h,f)},xx.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},xx.prototype.set=xx.prototype.set,xx.prototype.set_once=xx.prototype.set_once,xx.prototype.unset=xx.prototype.unset,xx.prototype.increment=xx.prototype.increment,xx.prototype.append=xx.prototype.append,xx.prototype.remove=xx.prototype.remove,xx.prototype.union=xx.prototype.union,xx.prototype.track_charge=xx.prototype.track_charge,xx.prototype.clear_charges=xx.prototype.clear_charges,xx.prototype.delete_user=xx.prototype.delete_user,xx.prototype.toString=xx.prototype.toString;var wx,Cx="__mps",kx="__mpso",Ax="__mpus",Sx="__mpa",jx="__mpap",Mx="__mpr",Rx="__mpu",Ix="$people_distinct_id",Ex="__alias",Tx="__timers",Px=[Cx,kx,Ax,Sx,jx,Mx,Rx,Ix,Ex,Tx],Lx=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&&(lb.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&sb.localStorage.is_supported()?this.storage=sb.localStorage:this.storage=sb.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Lx.prototype.properties=function(){var e={};return this.load(),sb.each(this.props,function(t,r){sb.include(Px,r)||(e[r]=t)}),e},Lx.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=sb.extend({},e))}},Lx.prototype.upgrade=function(){var e,t;this.storage===sb.localStorage?(e=sb.cookie.parse(this.name),sb.cookie.remove(this.name),sb.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===sb.cookie&&(t=sb.localStorage.parse(this.name),sb.localStorage.remove(this.name),t&&this.register_once(t))},Lx.prototype.save=function(){this.disabled||this.storage.set(this.name,jb(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Lx.prototype.load_prop=function(e){return this.load(),this.props[e]},Lx.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Lx.prototype.clear=function(){this.remove(),this.props={}},Lx.prototype.register_once=function(e,t,r){return!!sb.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),sb.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},Lx.prototype.register=function(e,t){return!!sb.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),sb.extend(this.props,e),this.save(),!0)},Lx.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Lx.prototype.update_search_keyword=function(e){this.register(sb.info.searchInfo(e))},Lx.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:sb.info.referringDomain(e)||"$direct"},"")},Lx.prototype.get_referrer_info=function(){return sb.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Lx.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)},Lx.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Lx.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Lx.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Lx.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Lx.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Lx.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Lx.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],o=this._get_or_create_queue(dx),i=this._get_or_create_queue(px),a=this._get_or_create_queue(hx),s=this._get_or_create_queue(fx),l=this._get_or_create_queue(gx),c=this._get_or_create_queue(yx,[]),u=this._get_or_create_queue(mx,[]);r===Cx?(sb.extend(o,n),this._pop_from_people_queue(fx,n),this._pop_from_people_queue(gx,n),this._pop_from_people_queue(hx,n)):r===kx?(sb.each(n,function(e,t){t in i||(i[t]=e)}),this._pop_from_people_queue(hx,n)):r===Ax?sb.each(n,function(e){sb.each([o,i,s,l],function(t){e in t&&delete t[e]}),sb.each(u,function(t){e in t&&delete t[e]}),a[e]=!0}):r===Sx?(sb.each(n,function(e,t){t in o?o[t]+=e:(t in s||(s[t]=0),s[t]+=e)},this),this._pop_from_people_queue(hx,n)):r===Rx?(sb.each(n,function(e,t){sb.isArray(e)&&(t in l||(l[t]=[]),sb.each(e,function(e){sb.include(l[t],e)||l[t].push(e)}))}),this._pop_from_people_queue(hx,n)):r===Mx?(c.push(n),this._pop_from_people_queue(mx,n)):r===jx&&(u.push(n),this._pop_from_people_queue(hx,n)),lb.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),lb.log(t),this.save()},Lx.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];sb.isUndefined(r)||sb.each(t,function(t,n){e===mx||e===yx?sb.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},Lx.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Lx.prototype._get_queue_key=function(e){return e===dx?Cx:e===px?kx:e===hx?Ax:e===fx?Sx:e===mx?jx:e===yx?Mx:e===gx?Rx:void lb.error("Invalid queue:",e)},Lx.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=sb.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},Lx.prototype.set_event_timer=function(e,t){var r=this.load_prop(Tx)||{};r[e]=t,this.props[Tx]=r,this.save()},Lx.prototype.remove_event_timer=function(e){var t=(this.load_prop(Tx)||{})[e];return sb.isUndefined(t)||(delete this.props[Tx][e],this.save()),t};var Ox,Nx=function(e,t){throw new Error(e+" not available in this build.")},$x=function(e){return e},zx="mixpanel",Dx="base64",Bx="$device:",Fx=es.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Hx=!Fx&&-1===eb.indexOf("MSIE")&&-1===eb.indexOf("Mozilla"),Vx=null;Ky.sendBeacon&&(Vx=function(){return Ky.sendBeacon.apply(Ky,arguments)});var Wx={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},qx={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:Wx,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Dx,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Sb,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Sb,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:Hy,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},Ux=!1,Zx=function(){},Gx=function(e,t,r){var n,o=r===zx?Ox:Ox[r];if(o&&0===wx)n=o;else{if(o&&!sb.isArray(o))return void lb.error("You have already initialized "+r);n=new Zx}if(n._cached_groups={},n._init(e,t,r),n.people=new xx,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var i=sb.info.campaignParams(null),a={},s=!1;sb.each(i,function(e,t){a["initial_"+t]=e,e&&(s=!0)}),s&&n.people.set_once(a)}return Fy.DEBUG=Fy.DEBUG||n.get_config("debug"),!sb.isUndefined(o)&&sb.isArray(o)&&(n._execute_array.call(n.people,o.people),n._execute_array(o)),n};Zx.prototype.init=function(e,t,r){if(sb.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==zx){var n=Gx(e,t,r);return Ox[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},Zx.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if("api_payload_format"in t||(t.api_host||qx.api_host).match(/\.mixpanel\.com/)&&(n.api_payload_format="json"),this.set_config(sb.extend({},qx,n,t,{name:r,token:e,callback_fn:(r===zx?r:zx+"."+r)+"._jsc"})),this._jsc=Sb,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(sb.localStorage.is_supported(!0)&&Fx){if(this.init_batchers(),Vx&&es.addEventListener){var o=sb.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);es.addEventListener("pagehide",function(e){e.persisted&&o()}),es.addEventListener("visibilitychange",function(){"hidden"===Yy.visibilityState&&o()})}}else this._batch_requests=!1,lb.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),sb.each(this.get_batcher_configs(),function(e){lb.log("Clearing batch queue "+e.queue_key),sb.localStorage.remove(e.queue_key)});this.persistence=this.cookie=new Lx(this.config),this.unpersisted_superprops={},this._gdpr_init();var i=sb.UUID();this.get_distinct_id()||this.register_once({distinct_id:Bx+i,$device_id:i},""),this.flags=new sx({getFullApiRoute:sb.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:sb.bind(this.get_config,this),getPropertyFunc:sb.bind(this.get_property,this),trackingFunc:sb.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new tx(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()},Zx.prototype._init_tab_id=function(){if(sb.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;!sb.sessionStorage.get(r)&&sb.sessionStorage.get(t)||sb.sessionStorage.set(t,"$tab-"+sb.UUID()),sb.sessionStorage.set(r,"1"),this.tab_id=sb.sessionStorage.get(t),es.addEventListener("beforeunload",function(){sb.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.")},Zx.prototype.get_tab_id=function(){return this.tab_id||null},Zx.prototype._should_load_recorder=function(){var e=new Tb(Ib),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(tv(e[r])||e[r].tabId===t)return!0;return!1}).catch(sb.bind(function(e){this.report_error("Error checking recording registry",e)},this))},Zx.prototype._check_and_start_session_recording=$b(function(e){if(es.MutationObserver){var t=sb.bind(function(e){var t=sb.bind(function(){this._recorder=this._recorder||new es.__mp_recorder(this),this._recorder.resumeRecording(e)},this);sb.isUndefined(es.__mp_recorder)?Nx(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 lb.critical("Browser does not support MutationObserver; skipping session recording")}),Zx.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},Zx.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()},Zx.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()},Zx.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()},Zx.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")},Zx.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},Zx.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();return t&&(e="https://mixpanel.com/projects/replay-redirect?"+sb.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")})),e},Zx.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},Zx.prototype.__get_recorder=function(){return this._recorder},Zx.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=sb.info.campaignParams(null);sb.each(e,function(e,t){this.unregister(t)}.bind(this))}},Zx.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(Yy.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(sb.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(Yy.referrer)},Zx.prototype._dom_loaded=function(){sb.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||sb.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},Zx.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(!Ux)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},Zx.prototype._prepare_callback=function(e,t){if(sb.isUndefined(e))return null;if(Fx)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},Zx.prototype._send_request=function(e,t,r,n){var o=!0;if(Hx)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")},a=null;n||!sb.isFunction(r)&&"string"!=typeof r||(n=r,r=null),r=sb.extend(i,r||{}),Fx||(r.method="GET");var s="POST"===r.method,l=Vx&&s&&"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),Fx||(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(),s&&(a="data="+encodeURIComponent(t.data),delete t.data),sb.extend(t,this.get_config("api_extra_query_params")),e+="?"+sb.HTTPBuildQuery(t);var u=this;if("img"in t){var d=Yy.createElement("img");d.src=e,Yy.body.appendChild(d)}else if(l){try{o=Vx(e,a)}catch(e){u.report_error(e),o=!1}try{n&&n(o?1:0)}catch(e){u.report_error(e)}}else if(Fx)try{var p=new XMLHttpRequest;p.open(r.method,e,!0);var h=this.get_config("xhr_headers");if(s&&(h["Content-Type"]="application/x-www-form-urlencoded"),sb.each(h,function(e,t){p.setRequestHeader(t,e)}),r.timeout_ms&&void 0!==p.timeout){p.timeout=r.timeout_ms;var f=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(n)if(c){var t;try{t=sb.JSONDecode(p.responseText)}catch(e){if(u.report_error(e),!r.ignore_json_errors)return;t=p.responseText}n(t)}else n(Number(p.responseText))}else if(e=p.timeout&&!p.status&&(new Date).getTime()-f>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,u.report_error(e),n)if(c){var o=p.responseHeaders||{};n({status:0,httpStatusCode:p.status,error:e,retryAfter:o["Retry-After"]})}else n(0)},p.send(a)}catch(e){u.report_error(e),o=!1}else{var m=Yy.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var g=Yy.getElementsByTagName("script")[0];g.parentNode.insertBefore(m,g)}return o},Zx.prototype._execute_array=function(e){var t,r=[],n=[],o=[];sb.each(e,function(e){e&&(t=e[0],sb.isArray(t)?o.push(e):"function"==typeof e?e.call(this):sb.isArray(e)&&"alias"===t?r.push(e):sb.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?o.push(e):n.push(e))},this);var i=function(e,t){sb.each(e,function(e){if(sb.isArray(e[0])){var r=t;sb.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)},Zx.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},Zx.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},Zx.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=sb.bind(function(e){return new ev(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:sb.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:sb.bind(function(t){return this._run_hook("before_send_"+e.type,t)},this),stopAllBatchingFunc:sb.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()},Zx.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,sb.each(this.request_batchers,function(e){e.start()}))},Zx.prototype.stop_batch_senders=function(){this._batch_requests=!1,sb.each(this.request_batchers,function(e){e.stop(),e.clear()})},Zx.prototype.push=function(e){this._execute_array([e])},Zx.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},Zx.prototype._encode_data_for_request=function(e){var t=jb(e);return this.get_config("api_payload_format")===Dx&&(t=sb.base64Encode(t)),{data:t}},Zx.prototype._track_or_batch=function(e,t){var r=sb.truncate(e.data,255),n=e.endpoint,o=e.batcher,i=e.should_send_immediately,a=e.send_request_options||{};t=t||Sb;var s=!0,l=sb.bind(function(){return a.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r?(lb.log("MIXPANEL REQUEST:"),lb.log(r),this._send_request(n,this._encode_data_for_request(r),a,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!i?o.enqueue(r).then(function(e){e?t(1,r):l()}):s=l(),s&&r},Zx.prototype.track=$b(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=Sb),sb.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=sb.extend({},t)).token=this.get_config("token");var a=this.persistence.remove_event_timer(e);if(!sb.isUndefined(a)){var s=(new Date).getTime()-a;t.$duration=parseFloat((s/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config("track_marketing")?sb.info.marketingParams():{};t=sb.extend({},sb.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");sb.isArray(c)?sb.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)}}),Zx.prototype.set_group=$b(function(e,t,r){sb.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),Zx.prototype.add_group=$b(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)}),Zx.prototype.remove_group=$b(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)}),Zx.prototype.track_with_groups=$b(function(e,t,r,n){var o=sb.extend({},t||{});return sb.each(r,function(e,t){null!=e&&(o[t]=e)}),this.track(e,o,n)}),Zx.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},Zx.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},Zx.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 vx)._init(this,e,t),this._cached_groups[r]=n),n},Zx.prototype.track_pageview=$b(function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=sb.extend(sb.info.mpPageViewProperties(),sb.info.campaignParams(),sb.info.clickParams()),o=sb.extend({},n,e);return this.track(r,o)}),Zx.prototype.track_links=function(){return this._track_dom.call(this,cx,arguments)},Zx.prototype.track_forms=function(){return this._track_dom.call(this,ux,arguments)},Zx.prototype.time_event=function(e){sb.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 Xx={persistent:!0},Kx=function(e){var t;return t=sb.isObject(e)?e:sb.isUndefined(e)?{}:{days:e},sb.extend({},Xx,t)};Zx.prototype.register=function(e,t){var r=Kx(t);r.persistent?this.persistence.register(e,r.days):sb.extend(this.unpersisted_superprops,e)},Zx.prototype.register_once=function(e,t,r){var n=Kx(r);n.persistent?this.persistence.register_once(e,t,n.days):(void 0===t&&(t="None"),sb.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))},Zx.prototype.unregister=function(e,t){(t=Kx(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},Zx.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},Zx.prototype.identify=function(e,t,r,n,o,i,a,s){var l=this.get_distinct_id();if(e&&l!==e){if("string"==typeof e&&0===e.indexOf(Bx))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(Ex)&&(this.unregister(Ex),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,o,i,a,s),e!==l&&this.track("$identify",{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0}),e!==l&&this.flags.fetchFlags()},Zx.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=sb.UUID();this.register_once({distinct_id:Bx+e,$device_id:e},""),this._check_and_start_session_recording()},Zx.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},Zx.prototype.alias=function(e,t){if(e===this.get_property(Ix))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return sb.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(Ex,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)},Zx.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},Zx.prototype.set_config=function(e){sb.isObject(e)&&(sb.extend(this.config,e),e.batch_size&&sb.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),Fy.DEBUG=Fy.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init())},Zx.prototype.get_config=function(e){return this.config[e]},Zx.prototype._run_hook=function(e){var t=(this.config.hooks[e]||$x).apply(this,Uy.call(arguments,1));return void 0===t&&(this.report_error(e+" hook did not return a value"),t=null),t},Zx.prototype.get_property=function(e){return this.persistence.load_prop([e])},Zx.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},Zx.prototype.toString=function(){var e=this.get_config("name");return e!==zx&&(e=zx+"."+e),e},Zx.prototype._event_is_disabled=function(e){return sb.isBlockedUA(eb)||this._flags.disable_all_events||sb.include(this.__disabled_events,e)},Zx.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&sb.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")&&!sb.cookie.get("mp_optout")||(sb.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},Zx.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()},Zx.prototype._gdpr_call_func=function(e,t){return t=sb.extend({track:sb.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),sb.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})},Zx.prototype.opt_in_tracking=function(e){e=sb.extend({enable_persistence:!0},e),this._gdpr_call_func(Pb,e),this._gdpr_update_persistence(e)},Zx.prototype.opt_out_tracking=function(e){(e=sb.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(Lb,e),this._gdpr_update_persistence(e)},Zx.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(Ob,e)},Zx.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(Nb,e)},Zx.prototype.clear_opt_in_out_tracking=function(e){e=sb.extend({enable_persistence:!0},e),this._gdpr_call_func(Bb,e),this._gdpr_update_persistence(e)},Zx.prototype.report_error=function(e,t){lb.error.apply(lb.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){lb.error(t)}},Zx.prototype.init=Zx.prototype.init,Zx.prototype.reset=Zx.prototype.reset,Zx.prototype.disable=Zx.prototype.disable,Zx.prototype.time_event=Zx.prototype.time_event,Zx.prototype.track=Zx.prototype.track,Zx.prototype.track_links=Zx.prototype.track_links,Zx.prototype.track_forms=Zx.prototype.track_forms,Zx.prototype.track_pageview=Zx.prototype.track_pageview,Zx.prototype.register=Zx.prototype.register,Zx.prototype.register_once=Zx.prototype.register_once,Zx.prototype.unregister=Zx.prototype.unregister,Zx.prototype.identify=Zx.prototype.identify,Zx.prototype.alias=Zx.prototype.alias,Zx.prototype.name_tag=Zx.prototype.name_tag,Zx.prototype.set_config=Zx.prototype.set_config,Zx.prototype.get_config=Zx.prototype.get_config,Zx.prototype.get_api_host=Zx.prototype.get_api_host,Zx.prototype.get_property=Zx.prototype.get_property,Zx.prototype.get_distinct_id=Zx.prototype.get_distinct_id,Zx.prototype.toString=Zx.prototype.toString,Zx.prototype.opt_out_tracking=Zx.prototype.opt_out_tracking,Zx.prototype.opt_in_tracking=Zx.prototype.opt_in_tracking,Zx.prototype.has_opted_out_tracking=Zx.prototype.has_opted_out_tracking,Zx.prototype.has_opted_in_tracking=Zx.prototype.has_opted_in_tracking,Zx.prototype.clear_opt_in_out_tracking=Zx.prototype.clear_opt_in_out_tracking,Zx.prototype.get_group=Zx.prototype.get_group,Zx.prototype.set_group=Zx.prototype.set_group,Zx.prototype.add_group=Zx.prototype.add_group,Zx.prototype.remove_group=Zx.prototype.remove_group,Zx.prototype.track_with_groups=Zx.prototype.track_with_groups,Zx.prototype.start_batch_senders=Zx.prototype.start_batch_senders,Zx.prototype.stop_batch_senders=Zx.prototype.stop_batch_senders,Zx.prototype.start_session_recording=Zx.prototype.start_session_recording,Zx.prototype.stop_session_recording=Zx.prototype.stop_session_recording,Zx.prototype.pause_session_recording=Zx.prototype.pause_session_recording,Zx.prototype.resume_session_recording=Zx.prototype.resume_session_recording,Zx.prototype.get_session_recording_properties=Zx.prototype.get_session_recording_properties,Zx.prototype.get_session_replay_url=Zx.prototype.get_session_replay_url,Zx.prototype.get_tab_id=Zx.prototype.get_tab_id,Zx.prototype.DEFAULT_API_ROUTES=Wx,Zx.prototype.__get_recorder=Zx.prototype.__get_recorder,Lx.prototype.properties=Lx.prototype.properties,Lx.prototype.update_search_keyword=Lx.prototype.update_search_keyword,Lx.prototype.update_referrer_info=Lx.prototype.update_referrer_info,Lx.prototype.get_cross_subdomain=Lx.prototype.get_cross_subdomain,Lx.prototype.clear=Lx.prototype.clear;var Yx={},Jx=(Nx=function(e,t){t()},wx=0,(Ox=new Zx).init=function(e,t,r){if(r)return Ox[r]||(Ox[r]=Yx[r]=Gx(e,t,r),Ox[r]._loaded()),Ox[r];var n=Ox;Yx[zx]?n=Yx[zx]:e&&((n=Gx(e,t,zx))._loaded(),Yx[zx]=n),Ox=n,1===wx&&(es[zx]=Ox),sb.each(Yx,function(e,t){t!==zx&&(Ox[t]=e)}),Ox._=sb},Ox.init(),function(){function e(){e.done||(e.done=!0,Ux=!0,Hx=!1,sb.each(Yx,function(e){e._dom_loaded()}))}if(Yy.addEventListener)"complete"===Yy.readyState?e():Yy.addEventListener("DOMContentLoaded",e,!1);else if(Yy.attachEvent){Yy.attachEvent("onreadystatechange",e);var t=!1;try{t=null===es.frameElement}catch(e){}Yy.documentElement.doScroll&&t&&function t(){try{Yy.documentElement.doScroll("left")}catch(e){return void setTimeout(t,1)}e()}()}sb.register_event(es,"load",e,!0)}(),Ox);const Qx="share_usage_data",ew=(e,t)=>{Jx.__loaded&&Jx.track(e,t)},tw={pageView:"page_view",helpButtonClicked:"help_button_clicked",toggleClicked:"toggle_clicked",positionButtonClicked:"position_button_clicked",saveButtonClicked:"save_button_clicked",colorChanged:"color_changed",iconTypeSelected:"icon_type_selected",sizeTypeClicked:"size_type_clicked",menuButtonClicked:"menu_button_clicked",handleUnitChanged:"handle_unit_changed",handleValueChanged:"handle_value_changed",handleDirectionChanged:"handle_direction_changed",connectSuccess:"connect_success",fieldContentUpdated:"field_content_updated",statementPageCreated:"statement_page_created",statementPageSelected:"statement_page_selected",statementFlowSelected:"statement_flow_selected",upgradeButtonClicked:"upgrade_button_clicked",popupButtonClicked:"popup_button_clicked",filterSelected:"filter_selected",upgradeTooltipTriggered:"upgrade_tooltip_triggered",radiusChanged:"radius_changed",addCustomIconClicked:"add_custom_icon_clicked",updateCustomIconClicked:"update_custom_icon_clicked",customIconAdded:"custom_icon_added",customIconUpdated:"custom_icon_updated",assistantMenuClicked:"assistant_menu_clicked",assistantMenuOptionSelected:"assistant_menu_option_selected",remediationRemoved:"remediation_removed",remediationDisabled:"remediation_disabled",remediationEnabled:"remediation_enabled",scanTriggered:"scan_triggered",categoryClicked:"category_clicked",issueSelected:"issue_selected",fixWithAiButtonClicked:"fix_with_ai_button_clicked",markAsDecorativeSelected:"mark_as_decorative_selected",resolveButtonClicked:"resolve_button_clicked",navigationImageClicked:"navigation_image_clicked",aiSuggestionAccepted:"ai_suggestion_accepted",markAsResolveClicked:"mark_as_resolve_clicked",issueSkipped:"issue_skipped",upgradeSuggestionViewed:"upgrade_suggestion_viewed",applyFixButtonClicked:"apply_fix_button_clicked",copySnippetClicked:"copy_snippet_clicked",editSnippetClicked:"edit_snippet_clicked",contrastColorChanged:"contrast_color_changed",contrastResetClicked:"contrast_reset_clicked",backgroundAdaptorTriggered:"background_adaptor_triggered",backgroundAdaptorChanged:"background_adaptor_changed",assistantDashboardHistoryLogsButtonClicked:"history_logs_button_clicked",assistantDashboardScanCtaClicked:"scan_cta_clicked",assistantDashboardSearchTriggered:"search_triggered",scanLogActionsButtonClicked:"scan_log_actions_button_clicked",scanHomePageButtonClicked:"scan_triggered",introductionBannerShowed:"banner_showed",introductionBannerClosed:"banner_dismissed",review:{promptShown:"review_prompt_shown",dismissClicked:"review_dismiss_clicked",starSelected:"review_star_selected",feedbackSubmitted:"review_feedback_submitted",publicRedirectClicked:"review_public_redirect_clicked"}};(0,Fn.createContext)(null);const rw=(e,t="_blank")=>{window.open(e,t)},nw=()=>{const{iconPosition:e,setIconPosition:t,setHasChanges:r}=Ka(),n=(0,Fn.useCallback)((e,n,o)=>{t(t=>({...t,[e]:{...t[e],[n]:o}})),r(!0)},[t]);return{iconPosition:e,updateIconPosition:n,updateExactPosition:(e,n,o,i,a)=>{t(t=>({...t,[e]:{...t[e],exactPosition:{...t[e].exactPosition,[n]:{direction:o,value:i,unit:a}}}})),r(!0)}}};function ow(e){return Co("MuiSvgIcon",e)}_o("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iw=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],aw=fo("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Zi(r.color)}`],t[`fontSize${Zi(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,d,p,h,f;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==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}}),sw=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p="0 0 24 24"}=r,h=(0,Me.A)(r,iw),f=n.isValidElement(o)&&"svg"===o.type,m=(0,je.A)({},r,{color:a,component:s,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:f}),g={};u||(g.viewBox=p);const y=(e=>{const{color:t,fontSize:r,classes:n}=e;return lo({root:["root","inherit"!==t&&`color${Zi(t)}`,`fontSize${Zi(r)}`]},ow,n)})(m);return(0,Bt.jsxs)(aw,(0,je.A)({as:s,className:io(y.root,i),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},g,h,f&&o.props,{ownerState:m,children:[f?o.props.children:o,d?(0,Bt.jsx)("title",{children:d}):null]}))});sw.muiName="SvgIcon";const lw=sw;var cw=o().forwardRef((e,t)=>o().createElement(lw,{...e,ref:t}));const uw=function({size:e},t){const{iconDesign:r}=Ka(),n=`lch(from ${r?.color||"#fff"} calc((50 - l) * 100) 0 0)`;return(0,Bt.jsx)(cw,{viewBox:"0 0 19 25",fill:"none",sx:{marginRight:0,fontSize:e,paddingRight:"1px"},...t,children:(0,Bt.jsx)("path",{d:"m4.834 23.375 5-7.5m0 0 5 7.5m-5-7.5v-5m0 0 7.5-2.5m-7.5 2.5-7.5-2.5m8.75-5.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z",stroke:n,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})},dw=function({size:e},t){const{iconDesign:r}=Ka(),n=`lch(from ${r?.color||"#fff"} calc((50 - l) * 100) 0 0)`;return(0,Bt.jsx)(cw,{viewBox:"0 0 24 24",fill:"none",sx:{fontSize:e},...t,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.44.44a1.5 1.5 0 0 1 2.12 0l15.855 15.853c.073.06.141.128.203.204l4.943 4.942a1.5 1.5 0 0 1-2.122 2.122l-4.246-4.247a11.67 11.67 0 0 1-5.198 1.186c-4.881-.002-8.803-2.764-11.781-7.728a1.5 1.5 0 0 1 0-1.544C1.4 9.25 2.738 7.614 4.24 6.363L.44 2.56a1.5 1.5 0 0 1 0-2.122Zm5.934 8.055C5.288 9.355 4.25 10.512 3.27 12c2.513 3.821 5.427 5.5 8.729 5.5h.01a8.67 8.67 0 0 0 2.892-.476l-1.467-1.468a3.833 3.833 0 0 1-4.99-4.99l-2.071-2.07ZM11.996 6.5a9.064 9.064 0 0 0-1.822.18 1.5 1.5 0 0 1-.595-2.94c.798-.162 1.61-.242 2.423-.24 4.882 0 8.805 2.763 11.784 7.728a1.5 1.5 0 0 1 0 1.544c-.823 1.373-1.719 2.579-2.69 3.607a1.5 1.5 0 1 1-2.18-2.061A16.86 16.86 0 0 0 20.729 12C18.216 8.179 15.302 6.5 12 6.5h-.004Z",fill:n})})},pw=function({size:e},t){const{iconDesign:r}=Ka(),n=`lch(from ${r?.color||"#fff"} calc((50 - l) * 100) 0 0)`;return(0,Bt.jsx)(cw,{viewBox:"0 0 94 16",fill:"none",sx:{fontSize:3*e},...t,children:(0,Bt.jsx)("path",{d:"M5.64 2.57 2.548 12H.055L4.28.625h1.586L5.641 2.57ZM8.21 12l-3.1-9.43L4.86.625h1.6L10.71 12h-2.5Zm-.14-4.234v1.836H2.062V7.766H8.07ZM15.267 10.398c.276 0 .521-.052.735-.156.213-.11.38-.26.5-.453.125-.198.19-.43.195-.695h2.117a2.817 2.817 0 0 1-.477 1.586c-.312.458-.731.82-1.257 1.086-.526.26-1.115.39-1.766.39-.656 0-1.23-.11-1.719-.328a3.354 3.354 0 0 1-1.21-.906 3.973 3.973 0 0 1-.727-1.36 5.619 5.619 0 0 1-.242-1.671v-.227c0-.599.08-1.156.242-1.672.161-.52.404-.974.726-1.36.323-.39.727-.694 1.211-.913.485-.219 1.052-.328 1.703-.328.693 0 1.3.132 1.82.398.527.266.938.646 1.235 1.14.302.49.456 1.071.461 1.743h-2.117a1.762 1.762 0 0 0-.18-.766c-.11-.229-.27-.411-.484-.547-.209-.14-.466-.21-.774-.21-.328 0-.596.07-.804.21-.209.136-.37.323-.485.563a2.802 2.802 0 0 0-.242.805c-.041.296-.062.609-.062.937v.227c0 .328.02.643.062.945.042.302.12.57.235.805.12.234.283.419.492.554.208.136.479.203.812.203ZM23.76 10.398c.277 0 .522-.052.735-.156.214-.11.38-.26.5-.453.125-.198.19-.43.196-.695h2.117a2.817 2.817 0 0 1-.477 1.586c-.312.458-.732.82-1.258 1.086-.526.26-1.114.39-1.765.39-.656 0-1.23-.11-1.719-.328a3.355 3.355 0 0 1-1.21-.906 3.97 3.97 0 0 1-.727-1.36 5.616 5.616 0 0 1-.243-1.671v-.227c0-.599.081-1.156.243-1.672.161-.52.403-.974.726-1.36.323-.39.727-.694 1.211-.913.484-.219 1.052-.328 1.703-.328.693 0 1.3.132 1.82.398.527.266.938.646 1.235 1.14.302.49.456 1.071.46 1.743h-2.116a1.762 1.762 0 0 0-.18-.766c-.11-.229-.27-.411-.484-.547-.209-.14-.467-.21-.774-.21-.328 0-.596.07-.805.21-.208.136-.37.323-.484.563a2.8 2.8 0 0 0-.242.805 6.74 6.74 0 0 0-.063.937v.227c0 .328.021.643.063.945.041.302.12.57.234.805.12.234.284.419.492.554.209.136.48.203.813.203ZM32.653 12.156c-.656 0-1.245-.104-1.765-.312a3.878 3.878 0 0 1-1.329-.883 3.923 3.923 0 0 1-.828-1.305 4.391 4.391 0 0 1-.289-1.594V7.75c0-.64.091-1.227.274-1.758.182-.531.442-.992.78-1.383.345-.39.761-.69 1.25-.898.49-.214 1.043-.32 1.657-.32.6 0 1.13.099 1.594.296.463.198.851.48 1.164.844.318.365.557.802.719 1.313.161.505.242 1.067.242 1.687v.938h-6.719v-1.5h4.508v-.172a1.95 1.95 0 0 0-.172-.836 1.327 1.327 0 0 0-.5-.594c-.224-.146-.51-.219-.86-.219-.296 0-.551.066-.765.196a1.51 1.51 0 0 0-.523.547c-.13.234-.23.51-.297.828A5.268 5.268 0 0 0 30.7 7.75v.313a3 3 0 0 0 .14.937c.1.286.238.534.415.742.182.209.4.37.656.485.26.114.555.171.883.171a2.74 2.74 0 0 0 1.133-.234c.354-.161.658-.404.914-.726l1.093 1.187c-.177.255-.419.5-.726.734a3.88 3.88 0 0 1-1.094.579 4.512 4.512 0 0 1-1.46.218ZM42.123 9.664a.73.73 0 0 0-.14-.437c-.094-.13-.268-.25-.524-.36-.25-.114-.612-.219-1.086-.312a8.473 8.473 0 0 1-1.195-.352 4.145 4.145 0 0 1-.953-.523 2.276 2.276 0 0 1-.625-.72 2 2 0 0 1-.227-.96c0-.354.076-.688.227-1 .156-.313.378-.589.664-.828a3.142 3.142 0 0 1 1.063-.57c.421-.141.895-.211 1.421-.211.735 0 1.365.117 1.891.351.531.235.938.557 1.219.969.286.406.43.87.43 1.39h-2.25c0-.218-.047-.413-.141-.585a.929.929 0 0 0-.422-.414c-.188-.105-.432-.157-.734-.157-.25 0-.466.045-.649.133a.995.995 0 0 0-.422.344.827.827 0 0 0-.14.469c0 .13.026.247.078.351.057.1.148.19.273.274.125.083.287.161.485.234.203.068.453.13.75.188.609.125 1.153.289 1.632.492.48.198.86.468 1.141.812.281.339.422.784.422 1.336 0 .375-.083.719-.25 1.031a2.488 2.488 0 0 1-.719.82c-.312.23-.687.41-1.125.54-.432.125-.92.187-1.46.187-.787 0-1.454-.14-2-.422-.542-.28-.954-.638-1.235-1.07-.276-.437-.414-.885-.414-1.344h2.133c.01.308.088.555.234.742.151.188.341.323.57.407.235.083.487.125.758.125.292 0 .534-.04.727-.117.192-.084.338-.193.437-.329a.792.792 0 0 0 .156-.484ZM50.492 9.664a.731.731 0 0 0-.14-.437c-.094-.13-.269-.25-.524-.36-.25-.114-.612-.219-1.086-.312a8.469 8.469 0 0 1-1.195-.352 4.145 4.145 0 0 1-.953-.523 2.275 2.275 0 0 1-.625-.72 1.998 1.998 0 0 1-.227-.96c0-.354.076-.688.227-1 .156-.313.377-.589.664-.828a3.142 3.142 0 0 1 1.062-.57c.422-.141.896-.211 1.422-.211.735 0 1.365.117 1.89.351.532.235.938.557 1.22.969.286.406.43.87.43 1.39h-2.25c0-.218-.048-.413-.141-.585a.928.928 0 0 0-.422-.414c-.188-.105-.433-.157-.735-.157-.25 0-.466.045-.648.133a.994.994 0 0 0-.422.344.826.826 0 0 0-.14.469c0 .13.026.247.078.351.057.1.148.19.273.274.125.083.286.161.484.234.203.068.453.13.75.188a8.63 8.63 0 0 1 1.633.492c.48.198.86.468 1.14.812.282.339.423.784.423 1.336 0 .375-.084.719-.25 1.031a2.49 2.49 0 0 1-.72.82c-.312.23-.687.41-1.124.54-.432.125-.92.187-1.461.187-.786 0-1.453-.14-2-.422-.542-.28-.953-.638-1.234-1.07-.276-.437-.414-.885-.414-1.344h2.132c.01.308.089.555.235.742.15.188.34.323.57.407.234.083.487.125.758.125.292 0 .534-.04.726-.117.193-.084.339-.193.438-.329a.792.792 0 0 0 .156-.484ZM56.666 3.547V12h-2.258V3.547h2.258Zm-2.399-2.203c0-.328.115-.6.344-.813.23-.213.536-.32.922-.32.38 0 .685.107.914.32.234.214.351.485.351.813 0 .328-.117.599-.351.812-.23.214-.534.32-.914.32-.386 0-.693-.106-.922-.32a1.063 1.063 0 0 1-.344-.812ZM58.675 0h2.25v10.063L60.698 12h-2.023V0Zm7.602 7.688v.164c0 .63-.068 1.208-.204 1.734-.13.526-.333.982-.609 1.367-.276.38-.62.677-1.031.89-.406.21-.886.313-1.438.313-.515 0-.963-.104-1.343-.312a2.73 2.73 0 0 1-.946-.883 5.016 5.016 0 0 1-.617-1.336 10.16 10.16 0 0 1-.352-1.672v-.36a10.16 10.16 0 0 1 .352-1.671c.156-.51.362-.956.617-1.336.255-.38.57-.675.946-.883.375-.208.817-.312 1.328-.312.557 0 1.041.106 1.453.32.416.208.76.505 1.031.89.276.38.48.834.61 1.36.135.52.203 1.096.203 1.726Zm-2.25.164v-.165c0-.343-.026-.666-.079-.968a2.56 2.56 0 0 0-.25-.805 1.414 1.414 0 0 0-.492-.555c-.203-.135-.466-.203-.789-.203a1.77 1.77 0 0 0-.781.157c-.214.104-.39.25-.531.437a1.991 1.991 0 0 0-.305.672c-.068.255-.11.536-.125.844v1.023c.016.412.083.776.203 1.094.125.312.313.56.563.742.255.177.586.266.992.266.318 0 .58-.063.789-.188a1.26 1.26 0 0 0 .484-.531c.12-.23.203-.498.25-.805.047-.312.07-.65.07-1.015ZM70.2 3.547V12h-2.258V3.547H70.2Zm-2.398-2.203c0-.328.114-.6.343-.813.23-.213.537-.32.922-.32.38 0 .685.107.914.32.235.214.352.485.352.813 0 .328-.117.599-.352.812-.229.214-.534.32-.914.32-.385 0-.692-.106-.922-.32a1.062 1.062 0 0 1-.343-.812ZM74.584 0v12h-2.257V0h2.257ZM78.969 3.547V12H76.71V3.547h2.258ZM76.57 1.344c0-.328.115-.6.344-.813.23-.213.537-.32.922-.32.38 0 .685.107.914.32.234.214.352.485.352.813 0 .328-.118.599-.352.812-.23.214-.534.32-.914.32-.385 0-.693-.106-.922-.32a1.062 1.062 0 0 1-.344-.812ZM85.119 3.547V5.14h-4.922V3.547h4.922ZM81.416 1.46h2.25v7.992c0 .245.03.432.093.563.068.13.167.221.297.273.13.047.294.07.492.07.141 0 .266-.005.375-.015.115-.016.211-.031.29-.047l.007 1.656a4.231 4.231 0 0 1-.625.149 4.643 4.643 0 0 1-.742.054c-.495 0-.927-.08-1.297-.242a1.786 1.786 0 0 1-.843-.797c-.198-.364-.297-.844-.297-1.437V1.46ZM89.058 11.047l2.242-7.5h2.414l-3.398 9.726a5.264 5.264 0 0 1-.297.688c-.12.245-.284.476-.492.695a2.302 2.302 0 0 1-.774.547c-.307.14-.685.211-1.133.211-.213 0-.388-.013-.523-.039a9.164 9.164 0 0 1-.484-.11v-1.648h.18c.062.005.122.008.179.008.297 0 .539-.034.726-.102.188-.067.339-.171.454-.312a1.5 1.5 0 0 0 .273-.531l.633-1.633Zm-.938-7.5 1.836 6.125.32 2.383-1.53.164-3.04-8.672h2.414Z",fill:n})})},hw=function({size:e},t){const{iconDesign:r}=Ka(),n=`lch(from ${r?.color||"#fff"} calc((50 - l) * 100) 0 0)`;return(0,Bt.jsx)(cw,{viewBox:"0 0 22 22",fill:"none",sx:{marginRight:0,fontSize:e,paddingRight:"1px"},...t,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6776 1.86411C11.3515 1.19015 12.2656 0.811523 13.2188 0.811523C14.1719 0.811523 15.086 1.19015 15.7599 1.86411C16.0888 2.19301 16.3474 2.57911 16.5259 2.99902H19.7812C20.5579 2.99902 21.1875 3.62862 21.1875 4.40527C21.1875 5.18192 20.5579 5.81152 19.7812 5.81152H16.5259C16.3474 6.23144 16.0888 6.61753 15.7599 6.94644C15.086 7.6204 14.1719 7.99902 13.2188 7.99902C12.2656 7.99902 11.3515 7.6204 10.6776 6.94644C10.3487 6.61753 10.0901 6.23144 9.91156 5.81152H2.28125C1.5046 5.81152 0.875 5.18192 0.875 4.40527C0.875 3.62862 1.5046 2.99902 2.28125 2.99902H9.91156C10.0901 2.57911 10.3487 2.19301 10.6776 1.86411ZM13.2188 3.62402C13.0116 3.62402 12.8128 3.70633 12.6663 3.85285C12.5198 3.99936 12.4375 4.19807 12.4375 4.40527C12.4375 4.61247 12.5198 4.81119 12.6663 4.9577C12.8128 5.10421 13.0115 5.18652 13.2188 5.18652C13.426 5.18652 13.6247 5.10421 13.7712 4.9577C13.9177 4.81119 14 4.61247 14 4.40527C14 4.19807 13.9177 3.99936 13.7712 3.85285C13.6247 3.70633 13.426 3.62402 13.2188 3.62402ZM4.11508 8.42661C4.78904 7.75265 5.70313 7.37402 6.65625 7.37402C7.60937 7.37402 8.52346 7.75265 9.19741 8.42661C9.52632 8.75551 9.78489 9.14161 9.96344 9.56152H19.7812C20.5579 9.56152 21.1875 10.1911 21.1875 10.9678C21.1875 11.7444 20.5579 12.374 19.7812 12.374H9.96344C9.78489 12.7939 9.52632 13.18 9.19741 13.5089C8.52346 14.1829 7.60937 14.5615 6.65625 14.5615C5.70313 14.5615 4.78904 14.1829 4.11508 13.5089C3.78618 13.18 3.52761 12.7939 3.34906 12.374H2.28125C1.5046 12.374 0.875 11.7444 0.875 10.9678C0.875 10.1911 1.5046 9.56152 2.28125 9.56152H3.34906C3.52761 9.14161 3.78618 8.75551 4.11508 8.42661ZM6.65625 10.1865C6.44905 10.1865 6.25034 10.2688 6.10382 10.4153C5.95731 10.5619 5.875 10.7606 5.875 10.9678C5.875 11.175 5.95731 11.3737 6.10382 11.5202C6.25033 11.6667 6.44905 11.749 6.65625 11.749C6.86345 11.749 7.06216 11.6667 7.20868 11.5202C7.35519 11.3737 7.4375 11.175 7.4375 10.9678C7.4375 10.7606 7.35519 10.5619 7.20868 10.4153C7.06216 10.2688 6.86345 10.1865 6.65625 10.1865ZM13.9588 14.9891C14.6328 14.3152 15.5469 13.9365 16.5 13.9365C17.4531 13.9365 18.3672 14.3152 19.0412 14.9891C19.3701 15.3181 19.6287 15.7043 19.8073 16.1243C20.5719 16.1381 21.1875 16.7623 21.1875 17.5303C21.1875 18.2982 20.5719 18.9224 19.8073 18.9363C19.6287 19.3563 19.3701 19.7425 19.0412 20.0714C18.3672 20.7454 17.4531 21.124 16.5 21.124C15.5469 21.124 14.6328 20.7454 13.9588 20.0714C13.6299 19.7425 13.3714 19.3564 13.1928 18.9365H2.28125C1.5046 18.9365 0.875 18.3069 0.875 17.5303C0.875 16.7536 1.5046 16.124 2.28125 16.124H13.1928C13.3714 15.7041 13.6299 15.318 13.9588 14.9891ZM16.5 16.749C16.2928 16.749 16.0941 16.8313 15.9476 16.9778C15.8011 17.1244 15.7188 17.3231 15.7188 17.5303C15.7188 17.7375 15.8011 17.9362 15.9476 18.0827C16.0941 18.2292 16.2928 18.3115 16.5 18.3115C16.7072 18.3115 16.9059 18.2292 17.0524 18.0827C17.1989 17.9362 17.2812 17.7375 17.2812 17.5303C17.2812 17.3231 17.1989 17.1244 17.0524 16.9778C16.9059 16.8313 16.7072 16.749 16.5 16.749Z",fill:n})})},fw=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{d:"M2.75 4C2.33579 4 2 4.33579 2 4.75V6.75C2 7.16421 2.33579 7.5 2.75 7.5C3.16421 7.5 3.5 7.16421 3.5 6.75V5.5H9V18H7.75C7.33579 18 7 18.3358 7 18.75C7 19.1642 7.33579 19.5 7.75 19.5H11.75C12.1642 19.5 12.5 19.1642 12.5 18.75C12.5 18.3358 12.1642 18 11.75 18H10.5V5.5H15V6.75C15 7.16421 15.3358 7.5 15.75 7.5C16.1642 7.5 16.5 7.16421 16.5 6.75V4.75C16.5 4.33579 16.1642 4 15.75 4H2.75Z"}),(0,Bt.jsx)("path",{d:"M14.75 11C14.3358 11 14 11.3358 14 11.75V12.75C14 13.1642 14.3358 13.5 14.75 13.5C15.1642 13.5 15.5 13.1642 15.5 12.75V12.5H17V18H16.75C16.3358 18 16 18.3358 16 18.75C16 19.1642 16.3358 19.5 16.75 19.5H18.75C19.1642 19.5 19.5 19.1642 19.5 18.75C19.5 18.3358 19.1642 18 18.75 18H18.5V12.5H20V12.75C20 13.1642 20.3358 13.5 20.75 13.5C21.1642 13.5 21.5 13.1642 21.5 12.75V11.75C21.5 11.3358 21.1642 11 20.75 11H14.75Z"})]}),mw=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{d:"M4 3.25C4.41421 3.25 4.75 3.58579 4.75 4V6C4.75 6.33152 4.8817 6.64946 5.11612 6.88388C5.35054 7.1183 5.66848 7.25 6 7.25H18C18.3315 7.25 18.6495 7.1183 18.8839 6.88388C19.1183 6.64946 19.25 6.33152 19.25 6V4C19.25 3.58579 19.5858 3.25 20 3.25C20.4142 3.25 20.75 3.58579 20.75 4V6C20.75 6.72935 20.4603 7.42882 19.9445 7.94454C19.4288 8.46027 18.7293 8.75 18 8.75H6C5.27065 8.75 4.57118 8.46027 4.05546 7.94454C3.53973 7.42882 3.25 6.72935 3.25 6V4C3.25 3.58579 3.58579 3.25 4 3.25Z"}),(0,Bt.jsx)("path",{d:"M6 16.75C5.66848 16.75 5.35054 16.8817 5.11612 17.1161C4.8817 17.3505 4.75 17.6685 4.75 18V20C4.75 20.4142 4.41421 20.75 4 20.75C3.58579 20.75 3.25 20.4142 3.25 20V18C3.25 17.2707 3.53973 16.5712 4.05546 16.0555C4.57118 15.5397 5.27065 15.25 6 15.25H18C18.7293 15.25 19.4288 15.5397 19.9445 16.0555C20.4603 16.5712 20.75 17.2707 20.75 18V20C20.75 20.4142 20.4142 20.75 20 20.75C19.5858 20.75 19.25 20.4142 19.25 20V18C19.25 17.6685 19.1183 17.3505 18.8839 17.1161C18.6495 16.8817 18.3315 16.75 18 16.75H6Z"}),(0,Bt.jsx)("path",{d:"M8 11.25C7.58579 11.25 7.25 11.5858 7.25 12C7.25 12.4142 7.58579 12.75 8 12.75H16C16.4142 12.75 16.75 12.4142 16.75 12C16.75 11.5858 16.4142 11.25 16 11.25H8Z"})]}),gw=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:(0,Bt.jsx)("path",{d:"M12.0006 2L12.0706 2.003C12.4226 2.01169 12.7684 2.0974 13.0837 2.2541C13.399 2.4108 13.6761 2.63468 13.8956 2.91L14.0036 3.058L18.9236 10.364C20.8756 13.631 20.1146 17.784 17.1276 20.2C14.1596 22.602 9.84262 22.602 6.87362 20.2C3.95662 17.84 3.16262 13.824 4.97262 10.55L5.10662 10.318L9.99962 3.058C10.1846 2.783 10.4256 2.549 10.7086 2.372C11.0308 2.17012 11.396 2.0468 11.7746 2.012L12.0006 2ZM11.0006 5.149L6.79462 11.389C5.35462 13.799 5.91462 16.852 8.13162 18.646C8.96025 19.3144 9.94934 19.7543 11.0006 19.922V5.149Z"})}),yw=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6.25C11.5858 6.25 11.25 6.58579 11.25 7V17C11.25 17.4142 11.5858 17.75 12 17.75C13.525 17.75 14.9875 17.1442 16.0659 16.0659C17.1442 14.9875 17.75 13.525 17.75 12C17.75 10.475 17.1442 9.01247 16.0659 7.93414C14.9875 6.8558 13.525 6.25 12 6.25ZM15.0052 15.0052C14.3872 15.6232 13.5986 16.0312 12.75 16.1833V7.81668C13.5986 7.96882 14.3872 8.37683 15.0052 8.9948C15.8022 9.79183 16.25 10.8728 16.25 12C16.25 13.1272 15.8022 14.2082 15.0052 15.0052Z"}),(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM8.84286 4.37799C9.8438 3.96339 10.9166 3.75 12 3.75C13.0834 3.75 14.1562 3.96339 15.1571 4.37799C16.1581 4.7926 17.0675 5.40029 17.8336 6.16637C18.5997 6.93245 19.2074 7.84193 19.622 8.84286C20.0366 9.8438 20.25 10.9166 20.25 12C20.25 13.0834 20.0366 14.1562 19.622 15.1571C19.2074 16.1581 18.5997 17.0675 17.8336 17.8336C17.0675 18.5997 16.1581 19.2074 15.1571 19.622C14.1562 20.0366 13.0834 20.25 12 20.25C10.9166 20.25 9.8438 20.0366 8.84286 19.622C7.84193 19.2074 6.93245 18.5997 6.16637 17.8336C5.40029 17.0675 4.79259 16.1581 4.37799 15.1571C3.96339 14.1562 3.75 13.0834 3.75 12C3.75 10.9166 3.96339 9.8438 4.37799 8.84286C4.79259 7.84193 5.40029 6.93245 6.16637 6.16637C6.93245 5.40029 7.84193 4.7926 8.84286 4.37799Z"})]}),bw=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 3.25C3.58579 3.25 3.25 3.58579 3.25 4V12C3.25 12.4142 3.58579 12.75 4 12.75H10C10.4142 12.75 10.75 12.4142 10.75 12V4C10.75 3.58579 10.4142 3.25 10 3.25H4ZM4.75 11.25V4.75H9.25V11.25H4.75Z"}),(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 15.25C3.58579 15.25 3.25 15.5858 3.25 16V20C3.25 20.4142 3.58579 20.75 4 20.75H10C10.4142 20.75 10.75 20.4142 10.75 20V16C10.75 15.5858 10.4142 15.25 10 15.25H4ZM4.75 19.25V16.75H9.25V19.25H4.75Z"}),(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.25 12C13.25 11.5858 13.5858 11.25 14 11.25H20C20.4142 11.25 20.75 11.5858 20.75 12V20C20.75 20.4142 20.4142 20.75 20 20.75H14C13.5858 20.75 13.25 20.4142 13.25 20V12ZM14.75 19.25H19.25V12.75H14.75V19.25Z"}),(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3.25C13.5858 3.25 13.25 3.58579 13.25 4V8C13.25 8.41421 13.5858 8.75 14 8.75H20C20.4142 8.75 20.75 8.41421 20.75 8V4C20.75 3.58579 20.4142 3.25 20 3.25H14ZM14.75 7.25V4.75H19.25V7.25H14.75Z"})]}),vw=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{d:"M7.75 2C7.75 1.58579 7.41421 1.25 7 1.25C6.58579 1.25 6.25 1.58579 6.25 2V3C6.25 3.46413 6.43438 3.90925 6.76256 4.23744C7.09075 4.56563 7.53587 4.75 8 4.75H16C16.4641 4.75 16.9092 4.56563 17.2374 4.23744C17.5656 3.90925 17.75 3.46413 17.75 3V2C17.75 1.58579 17.4142 1.25 17 1.25C16.5858 1.25 16.25 1.58579 16.25 2V3C16.25 3.06631 16.2237 3.12989 16.1768 3.17678C16.1299 3.22366 16.0663 3.25 16 3.25H8C7.9337 3.25 7.87011 3.22366 7.82322 3.17678C7.77634 3.12989 7.75 3.0663 7.75 3V2Z"}),(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.76256 6.76256C5.09075 6.43438 5.53587 6.25 6 6.25H18C18.4641 6.25 18.9092 6.43437 19.2374 6.76256C19.5656 7.09075 19.75 7.53587 19.75 8V16C19.75 16.4641 19.5656 16.9092 19.2374 17.2374C18.9092 17.5656 18.4641 17.75 18 17.75H6C5.53587 17.75 5.09075 17.5656 4.76256 17.2374C4.43437 16.9092 4.25 16.4641 4.25 16V8C4.25 7.53587 4.43438 7.09075 4.76256 6.76256ZM6 7.75C5.9337 7.75 5.87011 7.77634 5.82322 7.82322C5.77634 7.87011 5.75 7.9337 5.75 8V16C5.75 16.0663 5.77634 16.1299 5.82322 16.1768C5.87011 16.2237 5.93369 16.25 6 16.25H18C18.0663 16.25 18.1299 16.2237 18.1768 16.1768C18.2237 16.1299 18.25 16.0663 18.25 16V8C18.25 7.93369 18.2237 7.87011 18.1768 7.82322C18.1299 7.77634 18.0663 7.75 18 7.75H6Z"}),(0,Bt.jsx)("path",{d:"M8 20.75C7.93369 20.75 7.87011 20.7763 7.82322 20.8232C7.77634 20.8701 7.75 20.9337 7.75 21V22C7.75 22.4142 7.41421 22.75 7 22.75C6.58579 22.75 6.25 22.4142 6.25 22V21C6.25 20.5359 6.43437 20.0908 6.76256 19.7626C7.09075 19.4344 7.53587 19.25 8 19.25H16C16.4641 19.25 16.9092 19.4344 17.2374 19.7626C17.5656 20.0908 17.75 20.5359 17.75 21V22C17.75 22.4142 17.4142 22.75 17 22.75C16.5858 22.75 16.25 22.4142 16.25 22V21C16.25 20.9337 16.2237 20.8701 16.1768 20.8232C16.1299 20.7763 16.0663 20.75 16 20.75H8Z"})]}),xw=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.54485 1.9846C3.26021 1.68369 2.78552 1.6705 2.4846 1.95515C2.18369 2.2398 2.1705 2.71449 2.45515 3.0154L3.06718 3.6624C2.55638 4.30297 2.25 5.11608 2.25 6.00017V18.0002C2.25 18.9947 2.64509 19.9486 3.34835 20.6518C4.05161 21.3551 5.00544 21.7502 6 21.7502H17.9989C18.4985 21.7509 18.9932 21.6516 19.4537 21.458C19.5593 21.4136 19.6494 21.3479 19.7211 21.268L19.9552 21.5154C20.2398 21.8163 20.7145 21.8295 21.0154 21.5449C21.3163 21.2602 21.3295 20.7855 21.0449 20.4846L3.54485 1.9846ZM3.75 18.0002V16.3105L8.52489 11.5356C8.87455 11.201 9.21189 11.0801 9.5 11.0801C9.78944 11.0801 10.1286 11.2021 10.48 11.5403C10.5232 11.5818 10.5701 11.6172 10.6196 11.6464L18.6643 20.1508C18.4499 20.2169 18.2263 20.2505 18.0011 20.2502H6C5.40326 20.2502 4.83097 20.0131 4.40901 19.5912C3.98705 19.1692 3.75 18.5969 3.75 18.0002ZM7.47996 10.4594C7.86253 10.0913 8.29803 9.82455 8.76586 9.68673L4.11507 4.77017C3.88399 5.12367 3.75 5.54581 3.75 6.00017V14.1892L7.46967 10.4695L7.47996 10.4594Z"}),(0,Bt.jsx)("path",{d:"M7 2.25C6.58579 2.25 6.25 2.58579 6.25 3C6.25 3.41421 6.58579 3.75 7 3.75H18C18.5967 3.75 19.169 3.98705 19.591 4.40901C20.0129 4.83097 20.25 5.40326 20.25 6V13.1892L19.5303 12.4695L19.52 12.4594C18.9434 11.9045 18.2465 11.5801 17.5 11.5801C16.7534 11.5801 16.0565 11.9045 15.4799 12.4594C15.1814 12.7466 15.1723 13.2214 15.4595 13.5199C15.7467 13.8183 16.2215 13.8275 16.52 13.5403C16.8714 13.2021 17.2105 13.0801 17.5 13.0801C17.7881 13.0801 18.1254 13.201 18.4751 13.5356L20.25 15.3105V17C20.25 17.4142 20.5858 17.75 21 17.75C21.4142 17.75 21.75 17.4142 21.75 17V15.0136C21.7502 15.0045 21.7502 14.9955 21.75 14.9864V6C21.75 5.00544 21.3549 4.05161 20.6516 3.34835C19.9484 2.64509 18.9946 2.25 18 2.25H7Z"}),(0,Bt.jsx)("path",{d:"M15 7.25C14.5858 7.25 14.25 7.58579 14.25 8C14.25 8.41421 14.5858 8.75 15 8.75H15.01C15.4242 8.75 15.76 8.41421 15.76 8C15.76 7.58579 15.4242 7.25 15.01 7.25H15Z"})]}),ww=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:[(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.46967 2.46967C2.76256 2.17678 3.23744 2.17678 3.53033 2.46967L21.5303 20.4697C21.8232 20.7626 21.8232 21.2374 21.5303 21.5303C21.2374 21.8232 20.7626 21.8232 20.4697 21.5303L15.6552 16.7159C15.531 17.1766 15.2878 17.6013 14.9445 17.9445C14.4288 18.4603 13.7293 18.75 13 18.75H5C4.27065 18.75 3.57118 18.4603 3.05546 17.9445C2.53973 17.4288 2.25 16.7293 2.25 16V8C2.25 7.27065 2.53973 6.57118 3.05546 6.05546C3.39873 5.71218 3.82342 5.46903 4.28414 5.3448L2.46967 3.53033C2.17678 3.23744 2.17678 2.76256 2.46967 2.46967ZM5.68934 6.75H5C4.66848 6.75 4.35054 6.8817 4.11612 7.11612C3.8817 7.35054 3.75 7.66848 3.75 8V16C3.75 16.3315 3.8817 16.6495 4.11612 16.8839C4.35054 17.1183 4.66848 17.25 5 17.25H13C13.3315 17.25 13.6495 17.1183 13.8839 16.8839C14.1183 16.6495 14.25 16.3315 14.25 16V15.3107L5.68934 6.75Z"}),(0,Bt.jsx)("path",{d:"M19.8882 8.39502L15.75 10.4637V11C15.75 11.4142 15.4142 11.7501 15 11.7501C14.5858 11.7501 14.25 11.4143 14.25 11.0001V8C14.25 7.66848 14.1183 7.35054 13.8839 7.11612C13.6495 6.8817 13.3315 6.75 13 6.75H10C9.58579 6.75 9.25 6.41421 9.25 6C9.25 5.58579 9.58579 5.25 10 5.25H13C13.7293 5.25 14.4288 5.53973 14.9445 6.05546C15.4603 6.57118 15.75 7.27065 15.75 8V8.78671L19.2176 7.05327C19.4844 6.91998 19.7809 6.85701 20.0787 6.87042C20.3766 6.88384 20.6661 6.97315 20.9198 7.12988C21.1735 7.2866 21.3829 7.50555 21.5282 7.76594C21.6735 8.02634 21.7498 8.31954 21.75 8.61772V15.3819C21.7501 15.7464 21.6363 16.1021 21.4245 16.3989C21.2128 16.6957 20.9136 16.9189 20.5688 17.0374C20.177 17.172 19.7503 16.9636 19.6157 16.5719C19.4811 16.1801 19.6895 15.7535 20.0813 15.6188C20.1305 15.6019 20.1733 15.57 20.2035 15.5276C20.2338 15.4852 20.25 15.4344 20.25 15.3823V8.61852C20.25 8.57592 20.2391 8.53403 20.2183 8.49684C20.1976 8.45964 20.1676 8.42836 20.1314 8.40597C20.0952 8.38358 20.0538 8.37082 20.0112 8.3689C19.9687 8.36699 19.9263 8.37601 19.8882 8.39502Z"})]}),Cw=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 24 24",fontSize:t,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 5.75C5.77065 5.75 5.07118 6.03973 4.55546 6.55546C4.03973 7.07118 3.75 7.77065 3.75 8.5V12.25H9.25V8.5C9.25 7.77065 8.96027 7.07118 8.44454 6.55546C7.92882 6.03973 7.22935 5.75 6.5 5.75ZM10.75 8.5C10.75 7.37283 10.3022 6.29183 9.5052 5.4948C8.70817 4.69777 7.62717 4.25 6.5 4.25C5.37283 4.25 4.29183 4.69777 3.4948 5.4948C2.69777 6.29183 2.25 7.37283 2.25 8.5V19C2.25 19.4142 2.58579 19.75 3 19.75C3.41421 19.75 3.75 19.4142 3.75 19V13.75H9.25V19C9.25 19.4142 9.58579 19.75 10 19.75C10.4142 19.75 10.75 19.4142 10.75 19V8.5ZM14.4948 12.4948C15.2918 11.6978 16.3728 11.25 17.5 11.25C18.511 11.25 19.4849 11.6102 20.25 12.2596V12C20.25 11.5858 20.5858 11.25 21 11.25C21.4142 11.25 21.75 11.5858 21.75 12V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19V18.7404C19.4849 19.3898 18.511 19.75 17.5 19.75C16.3728 19.75 15.2918 19.3022 14.4948 18.5052C13.6978 17.7082 13.25 16.6272 13.25 15.5C13.25 14.3728 13.6978 13.2918 14.4948 12.4948ZM17.5 12.75C16.7707 12.75 16.0712 13.0397 15.5555 13.5555C15.0397 14.0712 14.75 14.7707 14.75 15.5C14.75 16.2293 15.0397 16.9288 15.5555 17.4445C16.0712 17.9603 16.7707 18.25 17.5 18.25C18.2293 18.25 18.9288 17.9603 19.4445 17.4445C19.9603 16.9288 20.25 16.2293 20.25 15.5C20.25 14.7707 19.9603 14.0712 19.4445 13.5555C18.9288 13.0397 18.2293 12.75 17.5 12.75Z"})}),_w=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 18 18",fontSize:t,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00003 3.9375C9.1881 3.9375 9.36373 4.03149 9.46806 4.18798L12.1277 8.17749L15.3986 5.56076C15.5833 5.41307 15.8405 5.39658 16.0425 5.51949C16.2444 5.64241 16.348 5.87849 16.3016 6.11032L14.8016 13.6103C14.749 13.8732 14.5182 14.0625 14.25 14.0625H3.75003C3.4819 14.0625 3.25104 13.8732 3.19845 13.6103L1.69845 6.11032C1.65209 5.87849 1.75563 5.64241 1.95759 5.51949C2.15955 5.39658 2.41681 5.41307 2.60142 5.56076L5.87233 8.17749L8.532 4.18798C8.63633 4.03149 8.81196 3.9375 9.00003 3.9375Z",fill:"#66002C"})}),kw=window.wp.i18n;function Aw(e){return go}function Sw(e,t,r){return"function"==typeof e?e(t,r):e}function jw(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=jw(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}da(Lo)`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
max-width: 95%;
height: 570px;
gap: 0;
background-color: ${({theme:e})=>e.palette.background.paper};
padding: ${({theme:e})=>e.spacing(5)};
text-align: center;
border-radius: 4px;
`,da(aa)`
margin: 0;
padding: 0;
color: ${({theme:e})=>e.palette.text.secondary};
`,da(qi)`
margin: 8px;
padding: 0;
`;const Mw=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=jw(e))&&(n&&(n+=" "),n+=t);return n};function Rw(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 Iw(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}function Ew(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=Mw(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=(0,je.A)({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=(0,je.A)({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Rw((0,je.A)({},o,n)),s=Iw(n),l=Iw(o),c=t(a),u=Mw(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),d=(0,je.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),p=(0,je.A)({},c,r,l,s);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}function Tw(e,t,r){return void 0===e||Oo(e)?t:(0,je.A)({},t,{ownerState:(0,je.A)({},t.ownerState,r)})}const Pw=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Lw=["component","slots","slotProps"],Ow=["component"];function Nw(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s}=t,l=(0,Me.A)(t,Pw),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=i,p=(0,Me.A)(i,Lw),h=u[e]||n,f=Sw(d[e],o),m=Ew((0,je.A)({className:r},l,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:f})),{props:{component:g},internalRef:y}=m,b=(0,Me.A)(m.props,Ow),v=No(y,null==f?void 0:f.ref,t.ref),x=a?a(b):{},w=(0,je.A)({},o,x),C="root"===e?g||c:g,_=Tw(h,(0,je.A)({},"root"===e&&!c&&!u[e]&&s,"root"!==e&&!u[e]&&s,b,C&&{as:C},{ref:v}),w);return Object.keys(x).forEach(e=>{delete _[e]}),[h,_]}const $w=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function zw(e){return Co("MuiPaper",e)}_o("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 Dw=["className","component","elevation","square","variant"],Bw=fo("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,je.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,je.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,Oe.X4)("#fff",$w(t.elevation))}, ${(0,Oe.X4)("#fff",$w(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))}),Fw=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=r,l=(0,Me.A)(r,Dw),c=(0,je.A)({},r,{component:o,elevation:i,square:a,variant:s}),u=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return lo({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},zw,o)})(c);return(0,Bt.jsx)(Bw,(0,je.A)({as:o,ownerState:c,className:io(u.root,n),ref:t},l))}),Hw=Fw;function Vw(e){return Co("MuiAlert",e)}const Ww=_o("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function qw(e){return Co("MuiIconButton",e)}const Uw=_o("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Zw=["edge","children","className","color","disabled","disableFocusRipple","size"],Gw=fo(Si,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${Zi(r.color)}`],r.edge&&t[`edge${Zi(r.edge)}`],t[`size${Zi(r.size)}`]]}})(({theme:e,ownerState:t})=>(0,je.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,Oe.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,je.A)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,je.A)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,je.A)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.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)},{[`&.${Uw.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Xw=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=(0,Me.A)(r,Zw),d=(0,je.A)({},r,{edge:n,color:a,disabled:s,disableFocusRipple:l,size:c}),p=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e;return lo({root:["root",r&&"disabled","default"!==n&&`color${Zi(n)}`,o&&`edge${Zi(o)}`,`size${Zi(i)}`]},qw,t)})(d);return(0,Bt.jsx)(Gw,(0,je.A)({className:io(p.root,i),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},u,{ownerState:d,children:o}))}),Kw=Xw;function Yw(e,t){function r(r,n){return(0,Bt.jsx)(lw,(0,je.A)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=lw.muiName,n.memo(n.forwardRef(r))}const Jw=Yw((0,Bt.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Qw=Yw((0,Bt.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),eC=Yw((0,Bt.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),tC=Yw((0,Bt.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),rC=Yw((0,Bt.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),nC=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],oC=Aw(),iC=fo(Hw,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Zi(r.color||r.severity)}`]]}})(({theme:e})=>{const t="light"===e.palette.mode?Oe.e$:Oe.a,r="light"===e.palette.mode?Oe.a:Oe.e$;return(0,je.A)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${Ww.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Ww.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,e])=>e.main&&e.dark).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:(0,je.A)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)})}))]})}),aC=fo("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),sC=fo("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),lC=fo("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),cC={success:(0,Bt.jsx)(Jw,{fontSize:"inherit"}),warning:(0,Bt.jsx)(Qw,{fontSize:"inherit"}),error:(0,Bt.jsx)(eC,{fontSize:"inherit"}),info:(0,Bt.jsx)(tC,{fontSize:"inherit"})},uC=n.forwardRef(function(e,t){const r=oC({props:e,name:"MuiAlert"}),{action:n,children:o,className:i,closeText:a="Close",color:s,components:l={},componentsProps:c={},icon:u,iconMapping:d=cC,onClose:p,role:h="alert",severity:f="success",slotProps:m={},slots:g={},variant:y="standard"}=r,b=(0,Me.A)(r,nC),v=(0,je.A)({},r,{color:s,severity:f,variant:y,colorSeverity:s||f}),x=(e=>{const{variant:t,color:r,severity:n,classes:o}=e;return lo({root:["root",`color${Zi(r||n)}`,`${t}${Zi(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},Vw,o)})(v),w={slots:(0,je.A)({closeButton:l.CloseButton,closeIcon:l.CloseIcon},g),slotProps:(0,je.A)({},c,m)},[C,_]=Nw("closeButton",{elementType:Kw,externalForwardedProps:w,ownerState:v}),[k,A]=Nw("closeIcon",{elementType:rC,externalForwardedProps:w,ownerState:v});return(0,Bt.jsxs)(iC,(0,je.A)({role:h,elevation:0,ownerState:v,className:io(x.root,i),ref:t},b,{children:[!1!==u?(0,Bt.jsx)(aC,{ownerState:v,className:x.icon,children:u||d[f]||cC[f]}):null,(0,Bt.jsx)(sC,{ownerState:v,className:x.message,children:o}),null!=n?(0,Bt.jsx)(lC,{ownerState:v,className:x.action,children:n}):null,null==n&&p?(0,Bt.jsx)(lC,{ownerState:v,className:x.action,children:(0,Bt.jsx)(C,(0,je.A)({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},_,{children:(0,Bt.jsx)(k,(0,je.A)({fontSize:"small"},A))}))}):null]}))}),dC=uC,pC=(e="default")=>"inherit"===e?"inherit":"default"===e?"action.active":Wr.includes(e)?`${e}.${ge}`:`${e}.main`,hC=o().forwardRef((e,t)=>{const{sx:r={},color:n}=e,i=e.href?me:"&:hover,&:focus,&:active",a={[i]:{color:pC(n)}};return o().createElement(Kw,{...e,sx:{...a,...r},ref:t})});var fC=hC;const mC=(e,t)=>{const r={},n={};return t.forEach(t=>{n[t]=`Mui${e}-${t}`,r[t]={slot:t,name:`Mui${e}`}}),{slots:r,classNames:n}},gC=o().forwardRef((e,t)=>o().createElement(cw,{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:yC,classNames:bC}=mC("CloseButton",["root","icon"]),vC=da(fC,yC.root)({}),xC=da(gC,yC.icon)({}),wC={"aria-label":"close",color:"default"},CC=o().forwardRef((e,t)=>{const r=go({props:{...wC,...e},name:yC.root.name}),{slotProps:n={},...i}=r;return o().createElement(vC,{...i,size:"small",ref:t,className:Mw([[bC.root,i.className]]),ownerState:r},o().createElement(xC,{...n.icon,className:Mw([bC.icon,n.icon?.className]),ownerState:r}))});CC.defaultProps=wC;var _C=CC;const kC=da(dC)(({theme:e,severity:t,color:r,variant:n,ownerState:o})=>{const i="small"===o.size,a=function(e,t,r,n){const o=t||e;return o?"filled"===r?{"& .MuiButton-containedInherit:not(.Mui-disabled)":{color:n.palette[o].main,backgroundColor:"rgba(255, 255, 255, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, .96)"}},"& .MuiButton-outlinedInherit:not(.Mui-disabled):hover":{backgroundColor:n.palette[o].dark},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[me]:{color:n.palette[o].main}}}:{"&.MuiAlert-root":{color:n.palette.text.secondary},"& .MuiCloseButton-root":{color:n.palette.action.active},"& .MuiButton-containedInherit:not(.Mui-disabled)":{backgroundColor:n.palette[o].main,color:n.palette[o].contrastText,"&:hover":{backgroundColor:n.palette[o].dark,color:n.palette[o].contrastText}},"& .MuiButton-outlinedInherit:not(.Mui-disabled)":{borderColor:n.palette[o].main,color:n.palette[o].main,"&:hover":{backgroundColor:Yr(n.palette[o].main,.08),color:n.palette[o].main}},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[me]:{color:n.palette[o].contrastText}},"& a.MuiButtonBase-root.MuiButton-outlinedInherit:not(.Mui-disabled)":{[me]:{color:n.palette[o].main}}}:{}}(t,r,n,e),s=function(e,t){return"small"!==e.size?{}:{"& .MuiButtonBase-root.MuiButton-root":{fontSize:t.typography.caption.fontSize,letterSpacing:t.typography.caption.letterSpacing,lineHeight:1},"& .MuiButtonBase-root.MuiButton-contained":{padding:"8px 9px"},"& .MuiButtonBase-root.MuiButton-outlined":{padding:"7px 9px"}}}(o,e),l=i?{...e.typography.caption,fontWeight:e.typography.subtitle2.fontWeight,lineHeight:e.typography.subtitle2.lineHeight}:e.typography.subtitle2,c=i?{...e.typography.caption,lineHeight:e.typography.body2.lineHeight}:{};return{borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],padding:i?e.spacing(1.5):e.spacing(1.5,2),"& .MuiAlert-message":{width:"100%",padding:0,minHeight:i?"28px":"31px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:i?e.spacing(1):e.spacing(1.5),...c},"& .MuiAlertTitle-root":{marginBottom:0,lineHeight:"inherit",marginRight:i?e.spacing(.25):e.spacing(.5),marginTop:0,...l},"& .MuiAlert-icon":{fontSize:i?"18px":"22px",padding:i?e.spacing(.25):0,paddingTop:i?"5px":e.spacing(.5),marginRight:i?e.spacing(.5):e.spacing(1.5)},"& .MuiAlert-action":{padding:i?e.spacing(.25,0,0):0,marginLeft:i?e.spacing(.5):e.spacing(1)},"&.MuiAlert-filledWarning":{color:e.palette.common.white},...s,...a}}),{slots:AC,classNames:SC}=mC("Alert",["actions","content"]),jC=da("div",AC.content)(()=>({flexGrow:1,paddingTop:"6px"})),MC=da("div",AC.content)(({theme:e})=>({alignItems:"center",display:"flex",flexWrap:"wrap",gap:e.spacing(.25),maxWidth:"800px"})),RC=({children:e,...t})=>o().createElement(jC,{...t},o().createElement(MC,null,e)),IC=da("div")(({theme:e,ownerState:t})=>({display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:"small"===t.size?e.spacing(.5):e.spacing(1)})),EC={closeText:"Close",severity:"success",size:"medium"},TC=o().forwardRef((e,t)=>{const{onClose:r,action:n,secondaryAction:i,children:a,size:s,...l}={...EC,...e},c=Boolean(n||i);return o().createElement(kC,{iconMapping:{success:o().createElement(LC,null),error:o().createElement(NC,null),info:o().createElement(OC,null),warning:o().createElement($C,null)},...l,ref:t,action:!!r&&o().createElement(_C,{color:"inherit",onClick:r,slotProps:{icon:{fontSize:"small"===s?"tiny":"small"}},title:l.closeText,"aria-label":l.closeText}),ownerState:{size:s}},o().createElement(RC,{className:SC.content},a),c&&o().createElement(IC,{className:SC.actions,ownerState:{size:s}},i,n))});TC.defaultProps=EC;var PC=TC;function LC(){return o().createElement(cw,{viewBox:"0 0 24 24",fontSize:"inherit"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM16.2415 10.0563C16.5344 9.76339 16.5344 9.28852 16.2415 8.99563C15.9486 8.70273 15.4737 8.70273 15.1809 8.99563L10.7631 13.4134L8.81939 11.4697C8.5265 11.1768 8.05163 11.1768 7.75873 11.4697C7.46584 11.7626 7.46584 12.2374 7.75873 12.5303L10.2328 15.0044C10.3734 15.145 10.5642 15.224 10.7631 15.224C10.962 15.224 11.1528 15.145 11.2934 15.0044L16.2415 10.0563Z"}))}function OC(){return o().createElement(cw,{viewBox:"0 0 24 24",fontSize:"inherit"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.25 11.75C2.25 6.36522 6.61522 2 12 2C17.3848 2 21.75 6.36522 21.75 11.75C21.75 17.1348 17.3848 21.5 12 21.5C6.61522 21.5 2.25 17.1348 2.25 11.75ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7H12.01C12.4242 7 12.76 7.33579 12.76 7.75C12.76 8.16421 12.4242 8.5 12.01 8.5H12C11.5858 8.5 11.25 8.16421 11.25 7.75ZM10.25 11.75C10.25 11.3358 10.5858 11 11 11H12C12.4142 11 12.75 11.3358 12.75 11.75V15H13C13.4142 15 13.75 15.3358 13.75 15.75C13.75 16.1642 13.4142 16.5 13 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75V12.5H11C10.5858 12.5 10.25 12.1642 10.25 11.75Z"}))}function NC(){return o().createElement(cw,{viewBox:"0 0 24 24",fontSize:"inherit"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7 2.25C8.46249 2.25 8.23103 2.29047 8.0079 2.38964C7.78802 2.48736 7.61395 2.62539 7.46967 2.76967L2.76967 7.46967C2.62539 7.61395 2.48736 7.78802 2.38964 8.0079C2.29047 8.23103 2.25 8.46249 2.25 8.7V15.3C2.25 15.5375 2.29047 15.769 2.38964 15.9921C2.48736 16.212 2.62539 16.3861 2.76967 16.5303L7.46967 21.2303C7.61395 21.3746 7.78802 21.5126 8.0079 21.6104C8.23103 21.7095 8.46249 21.75 8.7 21.75H15.3C15.5375 21.75 15.769 21.7095 15.9921 21.6104C16.212 21.5126 16.3861 21.3746 16.5303 21.2303L21.2303 16.5303C21.3746 16.3861 21.5126 16.212 21.6104 15.9921C21.7095 15.769 21.75 15.5375 21.75 15.3V8.7C21.75 8.46249 21.7095 8.23103 21.6104 8.0079C21.5126 7.78802 21.3746 7.61395 21.2303 7.46967L16.5303 2.76967C16.3861 2.62539 16.212 2.48736 15.9921 2.38964C15.769 2.29047 15.5375 2.25 15.3 2.25H8.7ZM12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8V12C11.25 12.4142 11.5858 12.75 12 12.75C12.4142 12.75 12.75 12.4142 12.75 12V8ZM12 15.25C11.5858 15.25 11.25 15.5858 11.25 16C11.25 16.4142 11.5858 16.75 12 16.75H12.01C12.4242 16.75 12.76 16.4142 12.76 16C12.76 15.5858 12.4242 15.25 12.01 15.25H12Z"}))}function $C(){return o().createElement(cw,{viewBox:"0 0 24 24",fontSize:"inherit"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9932 3C11.5018 3 11.0194 3.13134 10.596 3.38038C10.175 3.62805 9.82781 3.98314 9.59 4.40906L2.4909 16.6309C2.47341 16.661 2.45804 16.6923 2.44491 16.7246C2.27977 17.1303 2.21428 17.5695 2.25392 18.0056C2.29356 18.4416 2.43717 18.8619 2.67276 19.2313C2.90835 19.6008 3.22909 19.9086 3.6082 20.1291C3.98731 20.3496 4.41379 20.4764 4.85202 20.499C4.88374 20.5006 4.9151 20.5003 4.94598 20.498C4.96405 20.4993 4.98229 20.5 5.00069 20.5H19.0057L19.011 20.5C19.4598 20.4968 19.9011 20.3841 20.2962 20.1718C20.6914 19.9594 21.0285 19.6537 21.2781 19.2815C21.5277 18.9093 21.6822 18.4818 21.7282 18.0362C21.7742 17.5907 21.7102 17.1408 21.5419 16.7256C21.5287 16.693 21.5132 16.6613 21.4955 16.6309L14.3964 4.40904C14.1586 3.98312 13.8114 3.62805 13.3904 3.38038C12.9671 3.13134 12.4846 3 11.9932 3ZM12.7538 8.76945C12.7538 8.35599 12.4179 8.02081 12.0035 8.02081C11.5891 8.02081 11.2532 8.35599 11.2532 8.76945V12.7658C11.2532 13.1793 11.5891 13.5145 12.0035 13.5145C12.4179 13.5145 12.7538 13.1793 12.7538 12.7658V8.76945ZM12.7538 15.7586C12.7538 15.3451 12.4179 15.0099 12.0035 15.0099C11.5891 15.0099 11.2532 15.3451 11.2532 15.7586V15.7686C11.2532 16.182 11.5891 16.5172 12.0035 16.5172C12.4179 16.5172 12.7538 16.182 12.7538 15.7686V15.7586Z"}))}function zC(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function DC(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{zC(e,t)})},e)}const BC=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function FC(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=(0,Me.A)(e,BC),s=i?{}:Sw(n,o),{props:l,internalRef:c}=Ew((0,je.A)({},a,{externalSlotProps:s})),u=DC(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return Tw(r,(0,je.A)({},l,{ref:u}),o)}const HC="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,VC=function(e){const t=n.useRef(e);return HC(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current};function WC(e){return e&&e.ownerDocument||document}function qC(e){return e.substring(2).toLowerCase()}function UC(e){const{children:t,disableReactTree:r=!1,mouseEvent:o="onClick",onClickAway:i,touchEvent:a="onTouchEnd"}=e,s=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 d=DC(t.ref,l),p=VC(e=>{const t=u.current;u.current=!1;const n=WC(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(s.current)return void(s.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)}),h=e=>r=>{u.current=!0;const n=t.props[e];n&&n(r)},f={ref:d};return!1!==a&&(f[a]=h(a)),n.useEffect(()=>{if(!1!==a){const e=qC(a),t=WC(l.current),r=()=>{s.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",r)}}},[p,a]),!1!==o&&(f[o]=h(o)),n.useEffect(()=>{if(!1!==o){const e=qC(o),t=WC(l.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}},[p,o]),(0,Bt.jsx)(n.Fragment,{children:n.cloneElement(t,f)})}const ZC={},GC=[];class XC{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new XC}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}const KC=window.ReactDOM;var YC=r.n(KC);var JC="unmounted",QC="exited",e_="entering",t_="entered",r_="exiting",n_=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=QC,n.appearStatus=e_):o=t_:o=t.unmountOnExit||t.mountOnEnter?JC:QC,n.state={status:o},n.nextCallback=null,n}Jo(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===JC?{status:QC}: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!==e_&&r!==t_&&(t=e_):r!==e_&&r!==t_||(t=r_)}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===e_){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:YC().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===QC&&this.setState({status:JC})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[YC().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:e_},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:t_},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:t_},function(){t.props.onEntered(i)})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:YC().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:r_},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:QC},function(){e.props.onExited(n)})})})):this.safeSetState({status:QC},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:YC().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],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===JC)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,Me.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o().createElement(Qo.Provider,{value:null},"function"==typeof r?r(e,n):o().cloneElement(o().Children.only(r),n))},t}(o().Component);function o_(){}n_.contextType=Qo,n_.propTypes={},n_.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:o_,onEntering:o_,onEntered:o_,onExit:o_,onExiting:o_,onExited:o_},n_.UNMOUNTED=JC,n_.EXITED=QC,n_.ENTERING=e_,n_.ENTERED=t_,n_.EXITING=r_;const i_=n_,a_=e=>e.scrollTop;function s_(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const l_=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function c_(e){return`scale(${e}, ${e**2})`}const u_={entering:{opacity:1,transform:c_(1)},entered:{opacity:1,transform:"none"}},d_="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),p_=n.forwardRef(function(e,t){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:h,style:f,timeout:m="auto",TransitionComponent:g=i_}=e,y=(0,Me.A)(e,l_),b=Ho(),v=n.useRef(),x=yo(),w=n.useRef(null),C=$o(w,i.ref,t),_=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},k=_(u),A=_((e,t)=>{a_(e);const{duration:r,delay:n,easing:o}=s_({style:f,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=i):i=r,e.style.transition=[x.transitions.create("opacity",{duration:i,delay:n}),x.transitions.create("transform",{duration:d_?i:.666*i,delay:n,easing:o})].join(","),l&&l(e,t)}),S=_(c),j=_(h),M=_(e=>{const{duration:t,delay:r,easing:n}=s_({style:f,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:r}),x.transitions.create("transform",{duration:d_?o:.666*o,delay:d_?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=c_(.75),d&&d(e)}),R=_(p);return(0,Bt.jsx)(g,(0,je.A)({appear:o,in:s,nodeRef:w,onEnter:A,onEntered:S,onEntering:k,onExit:M,onExited:R,onExiting:j,addEndListener:e=>{"auto"===m&&b.start(v.current||0,e),r&&r(w.current,e)},timeout:"auto"===m?null:m},y,{children:(e,t)=>n.cloneElement(i,(0,je.A)({style:(0,je.A)({opacity:0,transform:c_(.75),visibility:"exited"!==e||s?void 0:"hidden"},u_[e],f,i.props.style),ref:C},t))}))});p_.muiSupportAuto=!0;const h_=p_;function f_(e){return Co("MuiSnackbarContent",e)}_o("MuiSnackbarContent",["root","message","action"]);const m_=["action","className","message","role"],g_=fo(Hw,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t="light"===e.palette.mode?.8:.98,r=(0,Oe.tL)(e.palette.background.default,t);return(0,je.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}})}),y_=fo("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),b_=fo("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),v_=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiSnackbarContent"}),{action:n,className:o,message:i,role:a="alert"}=r,s=(0,Me.A)(r,m_),l=r,c=(e=>{const{classes:t}=e;return lo({root:["root"],action:["action"],message:["message"]},f_,t)})(l);return(0,Bt.jsxs)(g_,(0,je.A)({role:a,square:!0,elevation:6,className:io(c.root,o),ownerState:l,ref:t},s,{children:[(0,Bt.jsx)(y_,{className:c.message,ownerState:l,children:i}),n?(0,Bt.jsx)(b_,{className:c.action,ownerState:l,children:n}):null]}))});function x_(e){return Co("MuiSnackbar",e)}_o("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const w_=["onEnter","onExited"],C_=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],k_=fo("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${Zi(r.anchorOrigin.vertical)}${Zi(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>(0,je.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,je.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"})})),A_=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiSnackbar"}),o=yo(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:d,ClickAwayListenerProps:p,ContentProps:h,disableWindowBlurListener:f=!1,message:m,open:g,TransitionComponent:y=h_,transitionDuration:b=i,TransitionProps:{onEnter:v,onExited:x}={}}=r,w=(0,Me.A)(r.TransitionProps,w_),C=(0,Me.A)(r,C_),_=(0,je.A)({},r,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:f,TransitionComponent:y,transitionDuration:b}),k=(e=>{const{classes:t,anchorOrigin:r}=e;return lo({root:["root",`anchorOrigin${Zi(r.vertical)}${Zi(r.horizontal)}`]},x_,t)})(_),{getRootProps:A,onClickAway:S}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:o,open:i,resumeHideDuration:a}=e,s=function(){const e=function(e){const t=n.useRef(ZC);return t.current===ZC&&(t.current=e(void 0)),t}(XC.create).current;var t;return t=e.disposeEffect,n.useEffect(t,GC),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=VC((e,t)=>{null==o||o(e,t)}),c=VC(e=>{o&&null!=e&&s.start(e,()=>{l(null,"timeout")})});n.useEffect(()=>(i&&c(t),s.clear),[i,t,c,s]);const u=s.clear,d=n.useCallback(()=>{null!=t&&c(null!=a?a:.5*t)},[t,a,c]),p=e=>t=>{const r=e.onFocus;null==r||r(t),u()},h=e=>t=>{const r=e.onMouseEnter;null==r||r(t),u()},f=e=>t=>{const r=e.onMouseLeave;null==r||r(t),d()};return n.useEffect(()=>{if(!r&&i)return window.addEventListener("focus",d),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",u)}},[r,i,d,u]),{getRootProps:(t={})=>{const r=(0,je.A)({},Rw(e),Rw(t));return(0,je.A)({role:"presentation"},t,r,{onBlur:(n=r,e=>{const t=n.onBlur;null==t||t(e),d()}),onFocus:p(r),onMouseEnter:h(r),onMouseLeave:f(r)});var n},onClickAway:e=>{null==o||o(e,"clickaway")}}}((0,je.A)({},_)),[j,M]=n.useState(!0),R=FC({elementType:k_,getSlotProps:A,externalForwardedProps:C,ownerState:_,additionalProps:{ref:t},className:[k.root,d]});return!g&&j?null:(0,Bt.jsx)(UC,(0,je.A)({onClickAway:S},p,{children:(0,Bt.jsx)(k_,(0,je.A)({},R,{children:(0,Bt.jsx)(y,(0,je.A)({appear:!0,in:g,timeout:b,direction:"top"===s?"down":"up",onEnter:(e,t)=>{M(!1),v&&v(e,t)},onExited:e=>{M(!0),x&&x(e)}},w,{children:u||(0,Bt.jsx)(v_,(0,je.A)({message:m,action:a},h))}))}))}))}),S_=A_;var j_=o().forwardRef((e,t)=>o().createElement(S_,{...e,ref:t}));const M_=({type:e,message:t})=>{const{showNotification:r,setShowNotification:n,setNotificationMessage:o,setNotificationType:i}=Vn();return(0,Bt.jsx)(j_,{open:r,autoHideDuration:"error"===e?1e4:2e3,onClose:()=>{n(!r),o(""),i("")},anchorOrigin:{vertical:"bottom",horizontal:"right"},sx:{zIndex:99999},children:(0,Bt.jsx)(PC,{onClose:()=>n(!r),severity:e,variant:"filled",children:t})})},R_=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],I_=fo(Si,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiListItemButton",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]}})(({theme:e,ownerState:t})=>(0,je.A)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,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"}},[`&.${Pi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Pi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Pi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.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,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Pi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Pi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),E_=["shape"],T_=da(n.forwardRef(function(e,t){const r=go({props:e,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:i=!1,component:a="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:h}=r,f=(0,Me.A)(r,R_),m=n.useContext(Ri),g=n.useMemo(()=>({dense:l||m.dense||!1,alignItems:o,disableGutters:c}),[o,m.dense,l,c]),y=n.useRef(null);Mi(()=>{i&&y.current&&y.current.focus()},[i]);const b=(0,je.A)({},r,{alignItems:o,dense:g.dense,disableGutters:c,divider:u,selected:p}),v=(e=>{const{alignItems:t,classes:r,dense:n,disabled:o,disableGutters:i,divider:a,selected:s}=e,l=lo({root:["root",n&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},Ti,r);return(0,je.A)({},r,l)})(b),x=$o(y,t);return(0,Bt.jsx)(Ri.Provider,{value:g,children:(0,Bt.jsx)(I_,(0,je.A)({ref:x,href:f.href||f.to,component:(f.href||f.to)&&"div"===a?"button":a,focusVisibleClassName:io(v.focusVisible,d),ownerState:b,className:io(v.root,h)},f,{classes:v,children:s}))})}),{shouldForwardProp:e=>!E_.includes(e)})(({theme:e,shape:t})=>"rounded"===t?{borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]}:{}),P_={shape:"square"},L_=o().forwardRef((e,t)=>o().createElement(T_,{...P_,...e,ref:t}));L_.defaultProps=P_;var O_=L_;function N_(e){return Co("MuiListItemIcon",e)}const $_=_o("MuiListItemIcon",["root","alignItemsFlexStart"]),z_=["className"],D_=fo("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,je.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),B_=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiListItemIcon"}),{className:o}=r,i=(0,Me.A)(r,z_),a=n.useContext(Ri),s=(0,je.A)({},r,{alignItems:a.alignItems}),l=(e=>{const{alignItems:t,classes:r}=e;return lo({root:["root","flex-start"===t&&"alignItemsFlexStart"]},N_,r)})(s);return(0,Bt.jsx)(D_,(0,je.A)({className:io(l.root,o),ownerState:s,ref:t},i))});var F_=o().forwardRef((e,t)=>o().createElement(B_,{...e,ref:t}));function H_(e){return Co("MuiDivider",e)}const V_=_o("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),W_=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],q_=fo("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>(0,je.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,Oe.X4)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>(0,je.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>(0,je.A)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>(0,je.A)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>(0,je.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),U_=fo("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>(0,je.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),Z_=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=r,h=(0,Me.A)(r,W_),f=(0,je.A)({},r,{absolute:n,component:a,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return lo({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},H_,n)})(f);return(0,Bt.jsx)(q_,(0,je.A)({as:a,className:io(m.root,i),role:u,ref:t,ownerState:f},h,{children:o?(0,Bt.jsx)(U_,{className:m.wrapper,ownerState:f,children:o}):null}))});Z_.muiSkipListHighlight=!0;const G_=Z_;var X_=o().forwardRef((e,t)=>o().createElement(G_,{...e,ref:t})),K_=r(5556),Y_=r.n(K_);const J_=["className","component"],Q_=_o("MuiBox",["root"]),ek=Ot(),tk=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:i}=e,a=(0,er.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Te.A);return n.forwardRef(function(e,n){const s=nr(r),l=(0,so.A)(e),{className:c,component:u="div"}=l,d=(0,Me.A)(l,J_);return(0,Bt.jsx)(a,(0,je.A)({as:u,ref:n,className:io(c,i?i(o):o),theme:t&&s[t]||s},d))})}({themeId:cr,defaultTheme:ek,defaultClassName:Q_.root,generateClassName:xo.generate}),rk=tk;var nk=o().forwardRef((e,t)=>o().createElement(rk,{...e,ref:t}));function ok(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}function ik(e){return WC(e).defaultView||window}function ak(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function sk(e){return parseInt(ik(e).getComputedStyle(e).paddingRight,10)||0}function lk(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&&ak(e,o)})}function ck(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}const uk=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&&ak(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);lk(t,e.mount,e.modalRef,n,!0);const o=ck(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=ck(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=WC(e);return t.body===e?ik(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)}(WC(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${sk(n)+e}px`;const t=WC(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${sk(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=WC(n).body;else{const t=n.parentElement,r=ik(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=ck(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&&ak(e.modalRef,t),lk(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&&ak(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const dk=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function pk(e){const t=[],r=[];return Array.from(e.querySelectorAll(dk)).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 hk(){return!0}function fk(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:a=pk,isEnabled:s=hk,open:l}=e,c=n.useRef(!1),u=n.useRef(null),d=n.useRef(null),p=n.useRef(null),h=n.useRef(null),f=n.useRef(!1),m=n.useRef(null),g=DC(t.ref,m),y=n.useRef(null);n.useEffect(()=>{l&&m.current&&(f.current=!r)},[r,l]),n.useEffect(()=>{if(!l||!m.current)return;const e=WC(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),f.current&&m.current.focus()),()=>{i||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[l]),n.useEffect(()=>{if(!l||!m.current)return;const e=WC(m.current),t=t=>{y.current=t,!o&&s()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(r=a(m.current)),r.length>0){var n,i;const e=Boolean((null==(n=y.current)?void 0:n.shiftKey)&&"Tab"===(null==(i=y.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,s,l,a]);const b=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,h.current=e.target;const r=t.props.onFocus;r&&r(e)}}),(0,Bt.jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:d,"data-testid":"sentinelEnd"})]})}const mk=n.forwardRef(function(e,t){const{children:r,container:o,disablePortal:i=!1}=e,[a,s]=n.useState(null),l=DC(n.isValidElement(r)?r.ref:null,t);if(HC(()=>{i||s(function(e){return"function"==typeof e?e():e}(o)||document.body)},[o,i]),HC(()=>{if(a&&!i)return zC(t,a),()=>{zC(t,null)}},[t,a,i]),i){if(n.isValidElement(r)){const e={ref:l};return n.cloneElement(r,e)}return(0,Bt.jsx)(n.Fragment,{children:r})}return(0,Bt.jsx)(n.Fragment,{children:a?KC.createPortal(r,a):a})}),gk=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],yk={entering:{opacity:1},entered:{opacity:1}},bk=n.forwardRef(function(e,t){const r=yo(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:y=o,TransitionComponent:b=i_}=e,v=(0,Me.A)(e,gk),x=n.useRef(null),w=$o(x,s.ref,t),C=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},_=C(p),k=C((e,t)=>{a_(e);const n=s_({style:g,timeout:y,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)}),A=C(d),S=C(m),j=C(e=>{const t=s_({style:g,timeout:y,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),h&&h(e)}),M=C(f);return(0,Bt.jsx)(b,(0,je.A)({appear:a,in:c,nodeRef:x,onEnter:k,onEntered:A,onEntering:_,onExit:j,onExited:M,onExiting:S,addEndListener:e=>{i&&i(x.current,e)},timeout:y},v,{children:(e,t)=>n.cloneElement(s,(0,je.A)({style:(0,je.A)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},yk[e],g,s.props.style),ref:w},t))}))}),vk=bk;function xk(e){return Co("MuiBackdrop",e)}_o("MuiBackdrop",["root","invisible"]);const wk=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Ck=fo("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>(0,je.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"})),_k=n.forwardRef(function(e,t){var r,n,o;const i=go({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:c={},componentsProps:u={},invisible:d=!1,open:p,slotProps:h={},slots:f={},TransitionComponent:m=vk,transitionDuration:g}=i,y=(0,Me.A)(i,wk),b=(0,je.A)({},i,{component:l,invisible:d}),v=(e=>{const{classes:t,invisible:r}=e;return lo({root:["root",r&&"invisible"]},xk,t)})(b),x=null!=(r=h.root)?r:u.root;return(0,Bt.jsx)(m,(0,je.A)({in:p,timeout:g},y,{children:(0,Bt.jsx)(Ck,(0,je.A)({"aria-hidden":!0},x,{as:null!=(n=null!=(o=f.root)?o:c.Root)?n:l,className:io(v.root,s,null==x?void 0:x.className),ownerState:(0,je.A)({},b,null==x?void 0:x.ownerState),classes:v,ref:t,children:a}))}))}),kk=_k;function Ak(e){return Co("MuiModal",e)}_o("MuiModal",["root","hidden","backdrop"]);const Sk=["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"],jk=fo("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,je.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Mk=fo(kk,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Rk=n.forwardRef(function(e,t){var r,o,i,a,s,l;const c=go({name:"MuiModal",props:e}),{BackdropComponent:u=Mk,BackdropProps:d,className:p,closeAfterTransition:h=!1,children:f,container:m,component:g,components:y={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:w=!1,disablePortal:C=!1,disableRestoreFocus:_=!1,disableScrollLock:k=!1,hideBackdrop:A=!1,keepMounted:S=!1,onBackdropClick:j,open:M,slotProps:R,slots:I}=c,E=(0,Me.A)(c,Sk),T=(0,je.A)({},c,{closeAfterTransition:h,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:w,disablePortal:C,disableRestoreFocus:_,disableScrollLock:k,hideBackdrop:A,keepMounted:S}),{getRootProps:P,getBackdropProps:L,getTransitionProps:O,portalRef:N,isTopModal:$,exited:z,hasTransition:D}=function(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,manager:i=uk,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:u,open:d,rootRef:p}=e,h=n.useRef({}),f=n.useRef(null),m=n.useRef(null),g=DC(m,p),[y,b]=n.useState(!d),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const w=()=>(h.current.modalRef=m.current,h.current.mount=f.current,h.current),C=()=>{i.mount(w(),{disableScrollLock:o}),m.current&&(m.current.scrollTop=0)},_=VC(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||WC(f.current).body;i.add(w(),e),m.current&&C()}),k=n.useCallback(()=>i.isTopModal(w()),[i]),A=VC(e=>{f.current=e,e&&(d&&k()?C():m.current&&ak(m.current,x))}),S=n.useCallback(()=>{i.remove(w(),x)},[x,i]);n.useEffect(()=>()=>{S()},[S]),n.useEffect(()=>{d?_():v&&a||S()},[d,S,v,a,_]);const j=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=Rw(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=(0,je.A)({},r,t);return(0,je.A)({role:"presentation"},n,{onKeyDown:j(n),ref:g})},getBackdropProps:(e={})=>{const t=e;return(0,je.A)({"aria-hidden":!0},t,{onClick:M(t),open:d})},getTransitionProps:()=>({onEnter:ok(()=>{b(!1),s&&s()},null==c?void 0:c.props.onEnter),onExited:ok(()=>{b(!0),l&&l(),a&&S()},null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:A,isTopModal:k,exited:y,hasTransition:v}}((0,je.A)({},T,{rootRef:t})),B=(0,je.A)({},T,{exited:z}),F=(e=>{const{open:t,exited:r,classes:n}=e;return lo({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Ak,n)})(B),H={};if(void 0===f.props.tabIndex&&(H.tabIndex="-1"),D){const{onEnter:e,onExited:t}=O();H.onEnter=e,H.onExited=t}const V=null!=(r=null!=(o=null==I?void 0:I.root)?o:y.Root)?r:jk,W=null!=(i=null!=(a=null==I?void 0:I.backdrop)?a:y.Backdrop)?i:u,q=null!=(s=null==R?void 0:R.root)?s:b.root,U=null!=(l=null==R?void 0:R.backdrop)?l:b.backdrop,Z=FC({elementType:V,externalSlotProps:q,externalForwardedProps:E,getSlotProps:P,additionalProps:{ref:t,as:g},ownerState:B,className:io(p,null==q?void 0:q.className,null==F?void 0:F.root,!B.open&&B.exited&&(null==F?void 0:F.hidden))}),G=FC({elementType:W,externalSlotProps:U,additionalProps:d,getSlotProps:e=>L((0,je.A)({},e,{onClick:t=>{j&&j(t),null!=e&&e.onClick&&e.onClick(t)}})),className:io(null==U?void 0:U.className,null==d?void 0:d.className,null==F?void 0:F.backdrop),ownerState:B});return S||M||D&&!z?(0,Bt.jsx)(mk,{ref:N,container:m,disablePortal:C,children:(0,Bt.jsxs)(V,(0,je.A)({},Z,{children:[!A&&u?(0,Bt.jsx)(W,(0,je.A)({},G)):null,(0,Bt.jsx)(fk,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:_,isEnabled:$,open:M,children:n.cloneElement(f,H)})]}))}):null}),Ik=Rk,Ek=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n};function Tk(e){return e&&e.ownerDocument||document}const Pk=function(e){return Tk(e).defaultView||window},Lk=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ok(e,t,r){var n;const o=function(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),i=Pk(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-n.left}px)`:`translateX(${i.innerWidth+s-n.left}px)`:"right"===e?o?`translateX(-${n.right-o.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-n.top}px)`:`translateY(${i.innerHeight+l-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}(e,t,"function"==typeof(n=r)?n():n);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Nk=n.forwardRef(function(e,t){const r=yo(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:d=o,in:p,onEnter:h,onEntered:f,onEntering:m,onExit:g,onExited:y,onExiting:b,style:v,timeout:x=i,TransitionComponent:w=i_}=e,C=(0,Me.A)(e,Lk),_=n.useRef(null),k=$o(l.ref,_,t),A=e=>t=>{e&&(void 0===t?e(_.current):e(_.current,t))},S=A((e,t)=>{Ok(u,e,c),a_(e),h&&h(e,t)}),j=A((e,t)=>{const n=s_({timeout:x,style:v,easing:d},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",(0,je.A)({},n)),e.style.transition=r.transitions.create("transform",(0,je.A)({},n)),e.style.webkitTransform="none",e.style.transform="none",m&&m(e,t)}),M=A(f),R=A(b),I=A(e=>{const t=s_({timeout:x,style:v,easing:d},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),Ok(u,e,c),g&&g(e)}),E=A(e=>{e.style.webkitTransition="",e.style.transition="",y&&y(e)}),T=n.useCallback(()=>{_.current&&Ok(u,_.current,c)},[u,c]);return n.useEffect(()=>{if(p||"down"===u||"right"===u)return;const e=Ek(()=>{_.current&&Ok(u,_.current,c)}),t=Pk(_.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[u,p,c]),n.useEffect(()=>{p||T()},[p,T]),(0,Bt.jsx)(w,(0,je.A)({nodeRef:_,onEnter:S,onEntered:M,onEntering:j,onExit:I,onExited:E,onExiting:R,addEndListener:e=>{a&&a(_.current,e)},appear:s,in:p,timeout:x},C,{children:(e,t)=>n.cloneElement(l,(0,je.A)({ref:k,style:(0,je.A)({visibility:"exited"!==e||p?void 0:"hidden"},v,l.props.style)},t))}))}),$k=Nk;function zk(e){return Co("MuiDrawer",e)}_o("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Dk=["BackdropProps"],Bk=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Fk=(e,t)=>{const{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,t.modal]},Hk=fo(Ik,{name:"MuiDrawer",slot:"Root",overridesResolver:Fk})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Vk=fo("div",{shouldForwardProp:ho,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Fk})({flex:"0 0 auto"}),Wk=fo(Hw,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${Zi(r.anchor)}`],"temporary"!==r.variant&&t[`paperAnchorDocked${Zi(r.anchor)}`]]}})(({theme:e,ownerState:t})=>(0,je.A)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),qk={left:"right",right:"left",top:"down",bottom:"up"},Uk=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDrawer"}),o=yo(),i=Ut(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:c,className:u,elevation:d=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:h}={},onClose:f,open:m=!1,PaperProps:g={},SlideProps:y,TransitionComponent:b=$k,transitionDuration:v=a,variant:x="temporary"}=r,w=(0,Me.A)(r.ModalProps,Dk),C=(0,Me.A)(r,Bk),_=n.useRef(!1);n.useEffect(()=>{_.current=!0},[]);const k=function({direction:e},t){return"rtl"===e&&function(e){return-1!==["left","right"].indexOf(e)}(t)?qk[t]:t}({direction:i?"rtl":"ltr"},s),A=s,S=(0,je.A)({},r,{anchor:A,elevation:d,open:m,variant:x},C),j=(e=>{const{classes:t,anchor:r,variant:n}=e;return lo({root:["root"],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Zi(r)}`,"temporary"!==n&&`paperAnchorDocked${Zi(r)}`]},zk,t)})(S),M=(0,Bt.jsx)(Wk,(0,je.A)({elevation:"temporary"===x?d:0,square:!0},g,{className:io(j.paper,g.className),ownerState:S,children:c}));if("permanent"===x)return(0,Bt.jsx)(Vk,(0,je.A)({className:io(j.root,j.docked,u),ownerState:S,ref:t},C,{children:M}));const R=(0,Bt.jsx)(b,(0,je.A)({in:m,direction:qk[k],timeout:v,appear:_.current},y,{children:M}));return"persistent"===x?(0,Bt.jsx)(Vk,(0,je.A)({className:io(j.root,j.docked,u),ownerState:S,ref:t},C,{children:R})):(0,Bt.jsx)(Hk,(0,je.A)({BackdropProps:(0,je.A)({},l,h,{transitionDuration:v}),className:io(j.root,j.modal,u),open:m,ownerState:S,onClose:f,hideBackdrop:p,ref:t},C,w,{children:R}))});var Zk=o().forwardRef((e,t)=>o().createElement(Uk,{...e,ref:t})),Gk=o().forwardRef((e,t)=>o().createElement(ea,{...e,ref:t}));const Xk=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 20 20",fill:"none",fontSize:t,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2334 5.23369C15.4775 4.98961 15.4775 4.59388 15.2334 4.34981C14.9894 4.10573 14.5936 4.10573 14.3496 4.34981L9.7915 8.90786L5.23345 4.34981C4.98937 4.10573 4.59364 4.10573 4.34956 4.34981C4.10548 4.59388 4.10548 4.98961 4.34956 5.23369L8.90762 9.79175L4.34956 14.3498C4.10548 14.5939 4.10548 14.9896 4.34956 15.2337C4.59364 15.4778 4.98937 15.4778 5.23345 15.2337L9.7915 10.6756L14.3496 15.2337C14.5936 15.4778 14.9894 15.4778 15.2334 15.2337C15.4775 14.9896 15.4775 14.5939 15.2334 14.3498L10.6754 9.79175L15.2334 5.23369Z",fill:"black",fillOpacity:"0.56"})}),Kk=da(Zk)`
.MuiDrawer-paper {
top: 32px;
width: 320px;
height: calc(100vh - 32px);
}
`,Yk=da("header")`
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
`,Jk=da(nk)`
padding: 24px 16px;
`,Qk=({isOpen:e,onClose:t,children:r})=>(0,Bt.jsx)(Bt.Fragment,{children:(0,Bt.jsxs)(Kk,{open:e,onClose:t,anchor:"right",children:[(0,Bt.jsxs)(Yk,{children:[(0,Bt.jsx)(Gk,{variant:"overline",as:"h1",children:(0,kw.__)("What's New","image-optimization")}),(0,Bt.jsx)(fC,{onClick:t,"aria-label":(0,kw.__)("Close notifications","image-optimization"),children:(0,Bt.jsx)(Xk,{size:20})})]}),(0,Bt.jsx)(Jk,{children:r})]})});Qk.propTypes={onClose:Y_().func.isRequired,children:Y_().node};var eA=function(){return eA=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},eA.apply(this,arguments)},tA=function(e){var t=e.animate,r=void 0===t||t,o=e.backgroundColor,i=void 0===o?"#f5f6f7":o,a=e.backgroundOpacity,s=void 0===a?1:a,l=e.baseUrl,c=void 0===l?"":l,u=e.children,d=e.foregroundColor,p=void 0===d?"#eee":d,h=e.foregroundOpacity,f=void 0===h?1:h,m=e.gradientRatio,g=void 0===m?2:m,y=e.uniqueKey,b=e.rtl,v=void 0!==b&&b,x=e.speed,w=void 0===x?1.2:x,C=e.style,_=void 0===C?{}:C,k=e.title,A=void 0===k?"Loading...":k,S=e.beforeMask,j=void 0===S?null:S,M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),R=y||Math.random().toString(36).substring(6),I="".concat(R,"-diff"),E="".concat(R,"-animated-diff"),T="".concat(R,"-aria"),P=v?{transform:"scaleX(-1)"}:null,L="".concat(w,"s"),O="".concat(-1*g," 0"),N="".concat(g," 0");return(0,n.createElement)("svg",eA({"aria-labelledby":T,role:"img",style:eA(eA({},_),P)},M),A?(0,n.createElement)("title",{id:T},A):null,j&&(0,n.isValidElement)(j)?j:null,(0,n.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(I,")"),style:{fill:"url(".concat(c,"#").concat(E,")")}}),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:I},u),(0,n.createElement)("linearGradient",{id:E,gradientTransform:"translate(".concat(O,")")},(0,n.createElement)("stop",{offset:"0%",stopColor:i,stopOpacity:s}),(0,n.createElement)("stop",{offset:"50%",stopColor:p,stopOpacity:f}),(0,n.createElement)("stop",{offset:"100%",stopColor:i,stopOpacity:s}),r&&(0,n.createElement)("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(O,"; 0 0; ").concat(N),dur:L,repeatCount:"indefinite"}))))},rA=function(e){return e.children?(0,n.createElement)(tA,eA({},e)):(0,n.createElement)(nA,eA({},e))},nA=function(e){return(0,n.createElement)(rA,eA({viewBox:"0 0 476 124"},e),(0,n.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,n.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,n.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};const oA=rA;var iA=r(7484),aA=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 6C3.25 5.58579 3.58579 5.25 4 5.25H20C20.4142 5.25 20.75 5.58579 20.75 6C20.75 6.41421 20.4142 6.75 20 6.75H4C3.58579 6.75 3.25 6.41421 3.25 6ZM3.25 12C3.25 11.5858 3.58579 11.25 4 11.25H14C14.4142 11.25 14.75 11.5858 14.75 12C14.75 12.4142 14.4142 12.75 14 12.75H4C3.58579 12.75 3.25 12.4142 3.25 12ZM3.25 18C3.25 17.5858 3.58579 17.25 4 17.25H18C18.4142 17.25 18.75 17.5858 18.75 18C18.75 18.4142 18.4142 18.75 18 18.75H4C3.58579 18.75 3.25 18.4142 3.25 18Z"}))),sA=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5304 8.46959C15.8233 8.76249 15.8233 9.23736 15.5304 9.53025L9.53036 15.5303C9.23747 15.8231 8.7626 15.8231 8.4697 15.5303C8.17681 15.2374 8.17681 14.7625 8.4697 14.4696L14.4697 8.46959C14.7626 8.1767 15.2375 8.1767 15.5304 8.46959Z"}),n.createElement("path",{d:"M18.1021 6.29169L17.6686 5.85819C16.1304 4.32006 13.6366 4.32006 12.0985 5.85819L11.0688 6.88787C10.7759 7.18077 10.301 7.18077 10.0081 6.88787C9.71524 6.59498 9.71524 6.12011 10.0081 5.82721L11.0378 4.79753C13.1617 2.67361 16.6053 2.67361 18.7292 4.79753L19.1627 5.23103C21.2866 7.35496 21.2866 10.7985 19.1627 12.9224L18.133 13.9521C17.8402 14.245 17.3653 14.245 17.0724 13.9521C16.7795 13.6592 16.7795 13.1844 17.0724 12.8915L18.1021 11.8618C19.6402 10.3236 19.6402 7.82983 18.1021 6.29169Z"}),n.createElement("path",{d:"M5.85844 12.0982C4.3203 13.6364 4.3203 16.1302 5.85844 17.6683L6.29194 18.1018C7.83007 19.64 10.3239 19.64 11.862 18.1018L12.8917 17.0721C13.1846 16.7792 13.6595 16.7792 13.9524 17.0721C14.2453 17.365 14.2453 17.8399 13.9524 18.1328L12.9227 19.1625C10.7988 21.2864 7.3552 21.2864 5.23128 19.1625L4.79778 18.729C2.67385 16.6051 2.67385 13.1615 4.79778 11.0376L5.82746 10.0079C6.12035 9.715 6.59522 9.715 6.88812 10.0079C7.18101 10.3008 7.18101 10.7757 6.88812 11.0686L5.85844 12.0982Z"}))),lA=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6878 2.27398C12.5917 2.24917 12.4909 2.24331 12.3914 2.25781C12.2616 2.25269 12.1311 2.2501 12 2.2501C11.8689 2.2501 11.7384 2.25269 11.6086 2.25781C11.5091 2.24331 11.4083 2.24917 11.3123 2.27398C6.24841 2.62684 2.25 6.84653 2.25 12.0001C2.25 17.1537 6.24842 21.3734 11.3123 21.7262C11.4083 21.751 11.5091 21.7569 11.6086 21.7424C11.7384 21.7475 11.8689 21.7501 12 21.7501C12.1311 21.7501 12.2616 21.7475 12.3914 21.7424C12.4909 21.7569 12.5917 21.751 12.6878 21.7262C17.7516 21.3733 21.75 17.1537 21.75 12.0001C21.75 6.84655 17.7516 2.62687 12.6878 2.27398ZM11.922 3.75046C11.948 3.75022 11.974 3.7501 12 3.7501C12.026 3.7501 12.052 3.75022 12.078 3.75046C12.9067 5.15671 13.5154 6.67415 13.8892 8.2501H10.1109C10.4846 6.67415 11.0934 5.15671 11.922 3.75046ZM10.0915 3.97196C7.71452 4.5349 5.7353 6.12619 4.64956 8.2501H8.57289C8.89327 6.76788 9.40294 5.32976 10.0915 3.97196ZM8.31541 9.7501H4.06055C3.85825 10.4653 3.75 11.2201 3.75 12.0001C3.75 12.7801 3.85825 13.5349 4.06055 14.2501H8.31541C8.22038 13.5064 8.17224 12.755 8.17224 12.0001C8.17224 11.2452 8.22038 10.4938 8.31541 9.7501ZM8.57289 15.7501H4.64956C5.7353 17.874 7.71452 19.4653 10.0915 20.0282C9.40294 18.6704 8.89327 17.2323 8.57289 15.7501ZM11.922 20.2497C11.0934 18.8435 10.4846 17.3261 10.1109 15.7501H13.8892C13.5154 17.3261 12.9067 18.8435 12.078 20.2497C12.052 20.25 12.026 20.2501 12 20.2501C11.974 20.2501 11.948 20.25 11.922 20.2497ZM13.9085 20.0282C16.2855 19.4653 18.2647 17.874 19.3504 15.7501H15.4271C15.1068 17.2323 14.5971 18.6704 13.9085 20.0282ZM15.6846 14.2501H19.9395C20.1417 13.5349 20.25 12.7801 20.25 12.0001C20.25 11.2201 20.1417 10.4653 19.9395 9.7501H15.6846C15.7797 10.4938 15.8278 11.2452 15.8278 12.0001C15.8278 12.755 15.7797 13.5064 15.6846 14.2501ZM14.1713 9.7501H9.82876C9.72491 10.4929 9.67224 11.2446 9.67224 12.0001C9.67224 12.7556 9.72491 13.5073 9.82876 14.2501H14.1713C14.2751 13.5073 14.3278 12.7556 14.3278 12.0001C14.3278 11.2446 14.2751 10.4929 14.1713 9.7501ZM15.4271 8.2501C15.1068 6.76788 14.5971 5.32976 13.9085 3.97197C16.2855 4.53492 18.2647 6.1262 19.3504 8.2501H15.4271Z"})));const cA=(e,{size:t})=>(0,Bt.jsxs)(cw,{viewBox:"0 0 24 24",fill:"none",stroke:e.sx.color,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fontSize:t,children:[(0,Bt.jsx)("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),(0,Bt.jsx)("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"})," ",(0,Bt.jsx)("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),(0,Bt.jsx)("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),(0,Bt.jsx)("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]}),uA=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 22 20",fontSize:t,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.46967 0.46967C1.76256 0.176777 2.23744 0.176777 2.53033 0.46967L16.8174 14.7568C16.8654 14.7941 16.9095 14.8378 16.9483 14.8876L20.5303 18.4697C20.8232 18.7626 20.8232 19.2374 20.5303 19.5303C20.2374 19.8232 19.7626 19.8232 19.4697 19.5303L16.2465 16.3072C14.6369 17.2662 12.8851 17.7501 11 17.7501C6.63999 17.7501 3.09715 15.1815 0.348826 10.3722C0.217043 10.1416 0.217059 9.85846 0.348868 9.62787C1.57253 7.48713 2.95235 5.78794 4.50007 4.56074L1.46967 1.53033C1.17678 1.23744 1.17678 0.762563 1.46967 0.46967ZM5.56879 5.62945C4.2411 6.64776 3.00403 8.09495 1.86833 10.0001C4.41111 14.2678 7.46133 16.2501 11 16.2501C12.4819 16.2501 13.8599 15.904 15.1467 15.2073L12.3414 12.402C11.9342 12.6299 11.4719 12.7526 10.997 12.7524C10.2675 12.7522 9.56806 12.4622 9.05245 11.9462C8.53683 11.4302 8.2473 10.7305 8.24756 10.0011C8.24773 9.52682 8.37037 9.06524 8.59796 8.65862L5.56879 5.62945ZM9.76068 9.82134C9.75201 9.88068 9.74758 9.94091 9.74756 10.0016C9.74744 10.3332 9.87907 10.6513 10.1135 10.8859C10.3479 11.1205 10.6659 11.2523 10.9975 11.2524C11.0585 11.2525 11.119 11.248 11.1787 11.2393L9.76068 9.82134ZM10.9973 3.75005C10.1762 3.74715 9.35876 3.86029 8.56927 4.08614C8.17104 4.20006 7.75585 3.96957 7.64192 3.57133C7.528 3.17309 7.75849 2.75791 8.15672 2.64398C9.08165 2.37939 10.0393 2.24678 11.0013 2.25006C15.3607 2.25058 18.9031 4.81912 21.6512 9.62794C21.783 9.85855 21.7829 10.1417 21.6511 10.3723C20.8503 11.7731 19.984 12.9842 19.0478 13.9971C18.7666 14.3013 18.2921 14.32 17.9879 14.0388C17.6838 13.7577 17.6651 13.2832 17.9462 12.979C18.7114 12.1512 19.4404 11.1597 20.1317 10C17.5889 5.73236 14.5387 3.75006 11 3.75006L10.9973 3.75005Z"})}),dA=()=>(0,Bt.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,Bt.jsx)("path",{d:"M17 8C17.621 8.46574 18.125 9.06966 18.4721 9.76393C18.8193 10.4582 19 11.2238 19 12C19 12.7762 18.8193 13.5418 18.4721 14.2361C18.125 14.9303 17.621 15.5343 17 16",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M8 15.0002H6C5.73478 15.0002 5.48043 14.8949 5.29289 14.7073C5.10536 14.5198 5 14.2654 5 14.0002V10.0002C5 9.735 5.10536 9.48065 5.29289 9.29311C5.48043 9.10557 5.73478 9.00022 6 9.00022H8L11.5 4.50022C11.5874 4.33045 11.7326 4.19754 11.9095 4.12551C12.0863 4.05348 12.2831 4.04708 12.4643 4.10746C12.6454 4.16784 12.799 4.29103 12.8972 4.45476C12.9955 4.61849 13.0319 4.81196 13 5.00022V19.0002C13.0319 19.1885 12.9955 19.3819 12.8972 19.5457C12.799 19.7094 12.6454 19.8326 12.4643 19.893C12.2831 19.9534 12.0863 19.947 11.9095 19.8749C11.7326 19.8029 11.5874 19.67 11.5 19.5002L8 15.0002Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),pA=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 40 41",fontSize:t,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3333 6.75C17.1827 6.75 16.25 7.68274 16.25 8.83333V12.1667C16.25 13.3173 17.1827 14.25 18.3333 14.25H21.6667C22.8173 14.25 23.75 13.3173 23.75 12.1667V8.83333C23.75 7.68274 22.8173 6.75 21.6667 6.75H18.3333ZM21.25 16.75H21.6667C24.198 16.75 26.25 14.698 26.25 12.1667V8.83333C26.25 6.30203 24.198 4.25 21.6667 4.25H18.3333C15.802 4.25 13.75 6.30203 13.75 8.83333V12.1667C13.75 14.698 15.802 16.75 18.3333 16.75H18.75V19.25H13.3333C12.1178 19.25 10.952 19.7329 10.0924 20.5924C9.23289 21.452 8.75 22.6178 8.75 23.8333V24.25H8.33333C5.80203 24.25 3.75 26.302 3.75 28.8333V32.1667C3.75 34.698 5.80203 36.75 8.33333 36.75H11.6667C14.198 36.75 16.25 34.698 16.25 32.1667V28.8333C16.25 26.302 14.198 24.25 11.6667 24.25H11.25V23.8333C11.25 23.2808 11.4695 22.7509 11.8602 22.3602C12.2509 21.9695 12.7808 21.75 13.3333 21.75H26.6667C27.2192 21.75 27.7491 21.9695 28.1398 22.3602C28.5305 22.7509 28.75 23.2808 28.75 23.8333V24.25H28.3333C25.802 24.25 23.75 26.302 23.75 28.8333V32.1667C23.75 34.698 25.802 36.75 28.3333 36.75H31.6667C34.198 36.75 36.25 34.698 36.25 32.1667V28.8333C36.25 26.302 34.198 24.25 31.6667 24.25H31.25V23.8333C31.25 22.6178 30.7671 21.452 29.9076 20.5924C29.048 19.7329 27.8822 19.25 26.6667 19.25H21.25V16.75ZM28.3333 26.75C27.1827 26.75 26.25 27.6827 26.25 28.8333V32.1667C26.25 33.3173 27.1827 34.25 28.3333 34.25H31.6667C32.8173 34.25 33.75 33.3173 33.75 32.1667V28.8333C33.75 27.6827 32.8173 26.75 31.6667 26.75H28.3333ZM8.33333 26.75C7.18274 26.75 6.25 27.6827 6.25 28.8333V32.1667C6.25 33.3173 7.18274 34.25 8.33333 34.25H11.6667C12.8173 34.25 13.75 33.3173 13.75 32.1667V28.8333C13.75 27.6827 12.8173 26.75 11.6667 26.75H8.33333Z",fill:"black"})}),hA=(e,{size:t})=>(0,Bt.jsx)(cw,{viewBox:"0 0 16 20",fontSize:t,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.75C2.66848 1.75 2.35054 1.8817 2.11612 2.11612C1.8817 2.35054 1.75 2.66848 1.75 3V17C1.75 17.3315 1.8817 17.6495 2.11612 17.8839C2.35054 18.1183 2.66848 18.25 3 18.25H13C13.3315 18.25 13.6495 18.1183 13.8839 17.8839C14.1183 17.6495 14.25 17.3315 14.25 17V6.75H11C10.5359 6.75 10.0908 6.56563 9.76256 6.23744C9.43437 5.90925 9.25 5.46413 9.25 5V1.75H3ZM10.75 2.81066L13.1893 5.25H11C10.9337 5.25 10.8701 5.22366 10.8232 5.17678C10.7763 5.12989 10.75 5.0663 10.75 5V2.81066ZM1.05546 1.05546C1.57118 0.539731 2.27065 0.25 3 0.25H10C10.1989 0.25 10.3897 0.329018 10.5303 0.46967L15.5303 5.46967C15.671 5.61032 15.75 5.80109 15.75 6V17C15.75 17.7293 15.4603 18.4288 14.9445 18.9445C14.4288 19.4603 13.7293 19.75 13 19.75H3C2.27065 19.75 1.57118 19.4603 1.05546 18.9445C0.539731 18.4288 0.25 17.7293 0.25 17V3C0.25 2.27065 0.539731 1.57118 1.05546 1.05546ZM4.25 7C4.25 6.58579 4.58579 6.25 5 6.25H6C6.41421 6.25 6.75 6.58579 6.75 7C6.75 7.41421 6.41421 7.75 6 7.75H5C4.58579 7.75 4.25 7.41421 4.25 7ZM4.25 11C4.25 10.5858 4.58579 10.25 5 10.25H11C11.4142 10.25 11.75 10.5858 11.75 11C11.75 11.4142 11.4142 11.75 11 11.75H5C4.58579 11.75 4.25 11.4142 4.25 11ZM4.25 15C4.25 14.5858 4.58579 14.25 5 14.25H11C11.4142 14.25 11.75 14.5858 11.75 15C11.75 15.4142 11.4142 15.75 11 15.75H5C4.58579 15.75 4.25 15.4142 4.25 15Z"})}),fA=Object.freeze({SPEED:2,FOREGROUND_COLOR:"#D9D9D9"}),mA={REMOVE_BRANDING:"remove-elementor-label"},gA={color:"black"},yA={"bigger-text":{title:(0,kw.__)("Bigger text","pojo-accessibility"),chartsTitle:(0,kw.__)("Bigger text","pojo-accessibility"),icon:(0,Bt.jsx)(fw,{sx:gA})},"bigger-line-height":{title:(0,kw.__)("Bigger line height","pojo-accessibility"),chartsTitle:(0,kw.__)("Bigger line height","pojo-accessibility"),icon:(0,Bt.jsx)(mw,{sx:gA})},"text-align":{title:(0,kw.__)("Text align","pojo-accessibility"),chartsTitle:(0,kw.__)("Align text","pojo-accessibility"),icon:(0,Bt.jsx)(aA,{sx:gA})},"readable-font":{title:(0,kw.__)("Readable font","pojo-accessibility"),chartsTitle:(0,kw.__)("Readable font","pojo-accessibility"),icon:(0,Bt.jsx)(Cw,{sx:gA})},grayscale:{title:(0,kw.__)("Greyscale","pojo-accessibility"),chartsTitle:(0,kw.__)("Greyscale","pojo-accessibility"),icon:(0,Bt.jsx)(gw,{sx:gA})},contrast:{title:(0,kw.__)("Contrast","pojo-accessibility"),chartsTitle:(0,kw.__)("Contrast","pojo-accessibility"),icon:(0,Bt.jsx)(yw,{sx:gA})},"page-structure":{title:(0,kw.__)("Page structure","pojo-accessibility"),chartsTitle:(0,kw.__)("Page structure","pojo-accessibility"),icon:(0,Bt.jsx)(bw,{sx:gA})},sitemap:{title:(0,kw.__)("Sitemap","pojo-accessibility"),chartsTitle:(0,kw.__)("Sitemap","pojo-accessibility"),icon:(0,Bt.jsx)(pA,{sx:gA})},"reading-mask":{title:(0,kw.__)("Reading mask","pojo-accessibility"),chartsTitle:(0,kw.__)("Reading mask","pojo-accessibility"),icon:(0,Bt.jsx)(vw,{sx:gA})},"hide-images":{title:(0,kw.__)("Hide images","pojo-accessibility"),chartsTitle:(0,kw.__)("Hide images","pojo-accessibility"),icon:(0,Bt.jsx)(xw,{sx:gA})},"pause-animations":{title:(0,kw.__)("Pause animations","pojo-accessibility"),chartsTitle:(0,kw.__)("Pause animations","pojo-accessibility"),icon:(0,Bt.jsx)(ww,{sx:gA})},"highlight-links":{title:(0,kw.__)("Highlight links","pojo-accessibility"),chartsTitle:(0,kw.__)("Highlight links","pojo-accessibility"),icon:(0,Bt.jsx)(sA,{sx:gA})},"focus-outline":{title:(0,kw.__)("Outline focus","pojo-accessibility"),chartsTitle:(0,kw.__)("Outline focus","pojo-accessibility"),icon:(0,Bt.jsx)(cA,{sx:gA})},"hide-widget":{title:(0,kw.__)("Hide widget","pojo-accessibility"),chartsTitle:(0,kw.__)("Hide widget","pojo-accessibility"),icon:(0,Bt.jsx)(uA,{})},statement:{title:(0,kw.__)("Statement","pojo-accessibility"),chartsTitle:(0,kw.__)("Statement","pojo-accessibility"),icon:(0,Bt.jsx)(hA,{})},"screen-reader":{title:(0,kw.__)("Screen reader","pojo-accessibility"),chartsTitle:(0,kw.__)("Screen reader","pojo-accessibility"),icon:(0,Bt.jsx)(dA,{}),pro:!0},"language-selector":{title:(0,kw.__)("Language selector","pojo-accessibility"),chartsTitle:(0,kw.__)("Language selector","pojo-accessibility"),icon:(0,Bt.jsx)(lA,{sx:gA}),pro:!0},other:{title:(0,kw.__)("Other","pojo-accessibility"),chartsTitle:(0,kw.__)("Other","pojo-accessibility")}},bA=(iA.ColorBlue600,iA.ColorBlue400,iA.ColorBlue300,iA.ColorBlue100,iA.ColorBlue50,(0,Fn.memo)(()=>(0,Bt.jsxs)(oA,{speed:fA.SPEED,foregroundColor:fA.FOREGROUND_COLOR,height:708,width:289,children:[(0,Bt.jsx)("rect",{x:"2",y:"413",width:"208",height:"10",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"1",y:"677",width:"283",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"1",y:"697",width:"235",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"2",y:"439",width:"193",height:"14",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"2",y:"460",width:"89",height:"14",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"2",y:"495",width:"287",height:"161",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"1",width:"208",height:"10",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{y:"264",width:"283",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{y:"284",width:"235",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{y:"304",width:"275",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{y:"324",width:"275",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{y:"344",width:"96",height:"11",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{y:"383",width:"289",height:"1",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"1",y:"26",width:"193",height:"14",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"1",y:"47",width:"89",height:"14",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"1",y:"82",width:"287",height:"161",fill:"#D9D9D9"})]}))),vA=(0,Fn.memo)(({children:e})=>(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)(bA,{}),e]}));vA.propTypes={children:Y_().node};const xA=Yw((0,Bt.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function wA(e){return Co("MuiChip",e)}const CA=_o("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),_A=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],kA=fo("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=r;return[{[`& .${CA.avatar}`]:t.avatar},{[`& .${CA.avatar}`]:t[`avatar${Zi(s)}`]},{[`& .${CA.avatar}`]:t[`avatarColor${Zi(n)}`]},{[`& .${CA.icon}`]:t.icon},{[`& .${CA.icon}`]:t[`icon${Zi(s)}`]},{[`& .${CA.icon}`]:t[`iconColor${Zi(o)}`]},{[`& .${CA.deleteIcon}`]:t.deleteIcon},{[`& .${CA.deleteIcon}`]:t[`deleteIcon${Zi(s)}`]},{[`& .${CA.deleteIcon}`]:t[`deleteIconColor${Zi(n)}`]},{[`& .${CA.deleteIcon}`]:t[`deleteIcon${Zi(l)}Color${Zi(n)}`]},t.root,t[`size${Zi(s)}`],t[`color${Zi(n)}`],i&&t.clickable,i&&"default"!==n&&t[`clickableColor${Zi(n)})`],a&&t.deletable,a&&"default"!==n&&t[`deletableColor${Zi(n)}`],t[l],t[`${l}${Zi(n)}`]]}})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,je.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${CA.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${CA.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${CA.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${CA.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${CA.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${CA.icon}`]:(0,je.A)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,je.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},"default"!==t.color&&{color:"inherit"})),[`& .${CA.deleteIcon}`]:(0,je.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,Oe.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,Oe.X4)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,Oe.X4)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${CA.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${CA.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>(0,je.A)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${CA.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${CA.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>(0,je.A)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${CA.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${CA.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${CA.avatar}`]:{marginLeft:4},[`& .${CA.avatarSmall}`]:{marginLeft:2},[`& .${CA.icon}`]:{marginLeft:4},[`& .${CA.iconSmall}`]:{marginLeft:2},[`& .${CA.deleteIcon}`]:{marginRight:5},[`& .${CA.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,Oe.X4)(e.palette[t.color].main,.7)}`,[`&.${CA.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${CA.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${CA.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,Oe.X4)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),AA=fo("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${Zi(n)}`]]}})(({ownerState:e})=>(0,je.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7}));function SA(e){return"Backspace"===e.key||"Delete"===e.key}const jA=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiChip"}),{avatar:o,className:i,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:p,onClick:h,onDelete:f,onKeyDown:m,onKeyUp:g,size:y="medium",variant:b="filled",tabIndex:v,skipFocusWhenDisabled:x=!1}=r,w=(0,Me.A)(r,_A),C=n.useRef(null),_=$o(C,t),k=e=>{e.stopPropagation(),f&&f(e)},A=!(!1===a||!h)||a,S=A||f?Si:l||"div",j=(0,je.A)({},r,{component:S,disabled:u,size:y,color:s,iconColor:n.isValidElement(d)&&d.props.color||s,onDelete:!!f,clickable:A,variant:b}),M=(e=>{const{classes:t,disabled:r,size:n,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e;return lo({root:["root",l,r&&"disabled",`size${Zi(n)}`,`color${Zi(o)}`,s&&"clickable",s&&`clickableColor${Zi(o)}`,a&&"deletable",a&&`deletableColor${Zi(o)}`,`${l}${Zi(o)}`],label:["label",`label${Zi(n)}`],avatar:["avatar",`avatar${Zi(n)}`,`avatarColor${Zi(o)}`],icon:["icon",`icon${Zi(n)}`,`iconColor${Zi(i)}`],deleteIcon:["deleteIcon",`deleteIcon${Zi(n)}`,`deleteIconColor${Zi(o)}`,`deleteIcon${Zi(l)}Color${Zi(o)}`]},wA,t)})(j),R=S===Si?(0,je.A)({component:l||"div",focusVisibleClassName:M.focusVisible},f&&{disableRipple:!0}):{};let I=null;f&&(I=c&&n.isValidElement(c)?n.cloneElement(c,{className:io(c.props.className,M.deleteIcon),onClick:k}):(0,Bt.jsx)(xA,{className:io(M.deleteIcon),onClick:k}));let E=null;o&&n.isValidElement(o)&&(E=n.cloneElement(o,{className:io(M.avatar,o.props.className)}));let T=null;return d&&n.isValidElement(d)&&(T=n.cloneElement(d,{className:io(M.icon,d.props.className)})),(0,Bt.jsxs)(kA,(0,je.A)({as:S,className:io(M.root,i),disabled:!(!A||!u)||void 0,onClick:h,onKeyDown:e=>{e.currentTarget===e.target&&SA(e)&&e.preventDefault(),m&&m(e)},onKeyUp:e=>{e.currentTarget===e.target&&(f&&SA(e)?f(e):"Escape"===e.key&&C.current&&C.current.blur()),g&&g(e)},ref:_,tabIndex:x&&u?-1:v,ownerState:j},R,w,{children:[E||T,(0,Bt.jsx)(AA,{className:io(M.label),ownerState:j,children:p}),I]}))}),MA=jA,RA=["shape"],IA=da(MA,{shouldForwardProp:e=>!RA.includes(e)})(({theme:e,shape:t})=>"rounded"!==t?null:{borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]}),EA={shape:"pill"},TA=o().forwardRef((e,t)=>{const{shape:r,...n}={...EA,...e};return o().createElement(IA,{...n,shape:r,ref:t})});TA.defaultProps=EA;var PA=TA;const LA=da(nk)`
margin: ${({theme:e})=>e.spacing(3)} 0;
&:first-of-type {
margin: 0;
}
&:last-of-type {
margin-bottom: 0;
}
`,OA=da(Gk)`
color: ${({theme:e})=>e.palette.text.tertiary};
font-size: 12px;
line-height: 166%;
letter-spacing: 0.4px;
`,NA=da(Gk)`
margin-top: ${({theme:e})=>e.spacing(1)};
color: ${({theme:e})=>e.palette.text.primary};
font-style: normal;
font-size: 16px;
font-weight: 400;
letter-spacing: 0.15px;
`,$A=da("img")`
height: 162px;
width: 100%;
margin-bottom: ${({theme:e})=>e.spacing(1)};
object-fit: cover;
text-align: center;
`,zA=da(PA)`
margin-bottom: ${({theme:e})=>e.spacing(1)};
`,DA=da(Wa)`
display: inline;
padding: 0;
line-height: 143%;
letter-spacing: 0.17px;
vertical-align: baseline;
`,BA=da(Wa)`
margin-top: ${({theme:e})=>e.spacing(2)};
`,FA=({topic:e,title:t,imageSrc:r,description:n,readMoreText:o,link:i,cta:a,ctaLink:s,chipTags:l})=>(0,Bt.jsxs)(LA,{children:[(0,Bt.jsx)(OA,{variant:"caption",children:e}),(0,Bt.jsx)(NA,{as:"h2",variant:"subtitle1",children:t}),r&&(0,Bt.jsx)($A,{src:r,alt:t}),l&&l.map(e=>(0,Bt.jsx)(zA,{size:"small",color:"default",variant:"outlined",label:e},e)),(0,Bt.jsxs)("div",{children:[n," ",o&&i&&(0,Bt.jsx)(DA,{size:"small",color:"info",variant:"text",href:i,target:"_blank",rel:"noopener noreferrer",children:o})]}),a&&s&&(0,Bt.jsx)(BA,{size:"small",color:"promotion",variant:"contained",href:s,target:"_blank",rel:"noopener noreferrer",children:a})]});FA.propTypes={topic:Y_().string.isRequired,title:Y_().string.isRequired,imageSrc:Y_().string,description:Y_().string.isRequired,readMoreText:Y_().string,link:Y_().string,cta:Y_().string,ctaLink:Y_().string,chipTags:Y_().arrayOf(Y_().string)};da(X_)`
margin: ${({theme:e})=>e.spacing(2)} 0;
`;function HA(e){return Co("MuiMenuItem",e)}Y_().func.isRequired,da(F_)`
&::after {
content: '';
display: block;
position: relative;
left: -5px;
top: -4px;
width: 8px;
height: 8px;
border-radius: 100%;
background: ${({theme:e})=>e.palette.info.main};
}
`,da(O_)`
justify-content: center;
padding: ${({theme:e})=>`${e.spacing(1)} ${e.spacing(3)}`};
`;const VA=_o("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),WA=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],qA=fo(Si,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>(0,je.A)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${VA.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${VA.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${VA.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.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,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${VA.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${VA.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${V_.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${V_.inset}`]:{marginLeft:52},[`& .${ra.root}`]:{marginTop:0,marginBottom:0},[`& .${ra.inset}`]:{paddingLeft:36},[`& .${$_.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,je.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${$_.root} svg`]:{fontSize:"1.25rem"}}))),UA=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p}=r,h=(0,Me.A)(r,WA),f=n.useContext(Ri),m=n.useMemo(()=>({dense:a||f.dense||!1,disableGutters:l}),[f.dense,a,l]),g=n.useRef(null);Mi(()=>{o&&g.current&&g.current.focus()},[o]);const y=(0,je.A)({},r,{dense:m.dense,divider:s,disableGutters:l}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,s=lo({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},HA,a);return(0,je.A)({},a,s)})(r),v=$o(g,t);let x;return r.disabled||(x=void 0!==d?d:-1),(0,Bt.jsx)(Ri.Provider,{value:m,children:(0,Bt.jsx)(qA,(0,je.A)({ref:v,role:u,tabIndex:x,component:i,focusVisibleClassName:io(b.focusVisible,c),className:io(b.root,p)},h,{ownerState:y,classes:b}))})});var ZA=o().forwardRef((e,t)=>o().createElement(UA,{...e,ref:t}));function GA(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function XA(e,t=!1){return e&&(GA(e.value)&&""!==e.value||t&&GA(e.defaultValue)&&""!==e.defaultValue)}da(ZA)`
&.MuiMenuItem-gutters:focus,
&.MuiMenuItem-gutters:focus-visible {
box-shadow: inset 0 0 0 3px #5e9ed6;
}
`,da(nk)`
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: ${({theme:e})=>e.spacing(1)};
padding: ${({theme:e})=>`${e.spacing(1)} ${e.spacing(2)}`};
`,da(Gk)`
color: ${({theme:e})=>e.palette.text.primary};
margin-left: ${({theme:e})=>e.spacing(1)};
font-size: 14px;
`;const KA=n.createContext(void 0);function YA(e){return Co("MuiFormControl",e)}_o("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const JA=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],QA=fo("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,je.A)({},t.root,t[`margin${Zi(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>(0,je.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%"})),eS=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:p=!1,margin:h="none",required:f=!1,size:m="medium",variant:g="outlined"}=r,y=(0,Me.A)(r,JA),b=(0,je.A)({},r,{color:a,component:s,disabled:l,error:c,fullWidth:d,hiddenLabel:p,margin:h,required:f,size:m,variant:g}),v=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return lo({root:["root","none"!==r&&`margin${Zi(r)}`,n&&"fullWidth"]},YA,t)})(b),[x,w]=n.useState(()=>{let e=!1;return o&&n.Children.forEach(o,t=>{if(!ji(t,["Input","Select"]))return;const r=ji(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)}),e}),[C,_]=n.useState(()=>{let e=!1;return o&&n.Children.forEach(o,t=>{ji(t,["Input","Select"])&&(XA(t.props,!0)||XA(t.props.inputProps,!0))&&(e=!0)}),e}),[k,A]=n.useState(!1);l&&k&&A(!1);const S=void 0===u||l?k:u;let j;const M=n.useMemo(()=>({adornedStart:x,setAdornedStart:w,color:a,disabled:l,error:c,filled:C,focused:S,fullWidth:d,hiddenLabel:p,size:m,onBlur:()=>{A(!1)},onEmpty:()=>{_(!1)},onFilled:()=>{_(!0)},onFocus:()=>{A(!0)},registerEffect:j,required:f,variant:g}),[x,a,l,c,C,S,d,p,j,f,m,g]);return(0,Bt.jsx)(KA.Provider,{value:M,children:(0,Bt.jsx)(QA,(0,je.A)({as:s,ownerState:b,className:io(v.root,i),ref:t},y,{children:o}))})}),tS=eS;var rS=o().forwardRef((e,t)=>o().createElement(tS,{...e,ref:t}));function nS({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 oS(){return n.useContext(KA)}function iS(e){return Co("MuiFormLabel",e)}const aS=_o("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),sS=["children","className","color","component","disabled","error","filled","focused","required"],lS=fo("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,je.A)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>(0,je.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${aS.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${aS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${aS.error}`]:{color:(e.vars||e).palette.error.main}})),cS=fo("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${aS.error}`]:{color:(e.vars||e).palette.error.main}})),uS=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:i="label"}=r,a=(0,Me.A)(r,sS),s=nS({props:r,muiFormControl:oS(),states:["color","required","focused","disabled","error","filled"]}),l=(0,je.A)({},r,{color:s.color||"primary",component:i,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:i,filled:a,required:s}=e;return lo({root:["root",`color${Zi(r)}`,o&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},iS,t)})(l);return(0,Bt.jsxs)(lS,(0,je.A)({as:i,ownerState:l,className:io(c.root,o),ref:t},a,{children:[n,s.required&&(0,Bt.jsxs)(cS,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))}),dS=uS,pS={size:"medium"},hS=o().forwardRef((e,t)=>o().createElement(dS,{...pS,...e,ref:t}));hS.defaultProps=pS;var fS=hS;function mS(e){return Co("MuiFormGroup",e)}_o("MuiFormGroup",["root","row","error"]);const gS=["className","row"],yS=fo("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})(({ownerState:e})=>(0,je.A)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),bS=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiFormGroup"}),{className:n,row:o=!1}=r,i=(0,Me.A)(r,gS),a=nS({props:r,muiFormControl:oS(),states:["error"]}),s=(0,je.A)({},r,{row:o,error:a.error}),l=(e=>{const{classes:t,row:r,error:n}=e;return lo({root:["root",r&&"row",n&&"error"]},mS,t)})(s);return(0,Bt.jsx)(yS,(0,je.A)({className:io(l.root,n),ownerState:s,ref:t},i))});function vS(e){return Co("MuiRadioGroup",e)}_o("MuiRadioGroup",["root","row","error"]);const xS=function({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t);return[i?e:a,n.useCallback(e=>{i||s(e)},[])]},wS=n.createContext(void 0),CS=Qt,_S=["actions","children","className","defaultValue","name","onChange","value"],kS=n.forwardRef(function(e,t){const{actions:r,children:o,className:i,defaultValue:a,name:s,onChange:l,value:c}=e,u=(0,Me.A)(e,_S),d=n.useRef(null),p=(e=>{const{classes:t,row:r,error:n}=e;return lo({root:["root",r&&"row",n&&"error"]},vS,t)})(e),[h,f]=xS({controlled:c,default:a,name:"RadioGroup"});n.useImperativeHandle(r,()=>({focus:()=>{let e=d.current.querySelector("input:not(:disabled):checked");e||(e=d.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);const m=$o(t,d),g=CS(s),y=n.useMemo(()=>({name:g,onChange(e){f(e.target.value),l&&l(e,e.target.value)},value:h}),[g,l,f,h]);return(0,Bt.jsx)(wS.Provider,{value:y,children:(0,Bt.jsx)(bS,(0,je.A)({role:"radiogroup",ref:m,className:io(p.root,i)},u,{children:o}))})}),AS=kS;var SS=o().forwardRef((e,t)=>o().createElement(AS,{...e,ref:t}));const jS={color:"info.main",fontSize:44};(0,kw.__)("Accessibility Person Icon","pojo-accessibility"),(0,kw.__)("Accessibility Eye Icon","pojo-accessibility"),(0,kw.__)("Accessibility Controls Slider Icon","pojo-accessibility"),(0,kw.__)("Accessibility Text Badge Icon","pojo-accessibility"),(0,kw.__)("Accessibility Custom Icon","pojo-accessibility");n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4697 3.46967C11.7626 3.17678 12.2374 3.17678 12.5303 3.46967L17.5303 8.46967C17.8232 8.76256 17.8232 9.23744 17.5303 9.53033C17.2374 9.82322 16.7626 9.82322 16.4697 9.53033L12.75 5.81066V16C12.75 16.4142 12.4142 16.75 12 16.75C11.5858 16.75 11.25 16.4142 11.25 16V5.81066L7.53033 9.53033C7.23744 9.82322 6.76256 9.82322 6.46967 9.53033C6.17678 9.23744 6.17678 8.76256 6.46967 8.46967L11.4697 3.46967ZM4 16.25C4.41421 16.25 4.75 16.5858 4.75 17V19C4.75 19.3315 4.8817 19.6495 5.11612 19.8839C5.35054 20.1183 5.66848 20.25 6 20.25H18C18.3315 20.25 18.6495 20.1183 18.8839 19.8839C19.1183 19.6495 19.25 19.3315 19.25 19V17C19.25 16.5858 19.5858 16.25 20 16.25C20.4142 16.25 20.75 16.5858 20.75 17V19C20.75 19.7293 20.4603 20.4288 19.9445 20.9445C19.4288 21.4603 18.7293 21.75 18 21.75H6C5.27065 21.75 4.57118 21.4603 4.05546 20.9445C3.53973 20.4288 3.25 19.7293 3.25 19V17C3.25 16.5858 3.58579 16.25 4 16.25Z"})));(0,Fn.createContext)({}),da(SS)`
display: grid;
flex-direction: row;
flex-wrap: nowrap;
gap: ${({theme:e})=>e.spacing(2)};
grid-template-columns: repeat(4, 1fr);
`,da(fS)`
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: ${({theme:e})=>e.spacing(2)};
align-items: center;
justify-content: space-between;
`;function MS(e){return Co("MuiInputAdornment",e)}const RS=_o("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var IS;const ES=["children","className","component","disablePointerEvents","disableTypography","position","variant"],TS=fo("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${Zi(r.position)}`],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,je.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${RS.positionStart}&:not(.${RS.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),PS=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiInputAdornment"}),{children:o,className:i,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=r,d=(0,Me.A)(r,ES),p=oS()||{};let h=u;u&&p.variant,p&&!h&&(h=p.variant);const f=(0,je.A)({},r,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:s,position:c,variant:h}),m=(e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:i,variant:a}=e;return lo({root:["root",r&&"disablePointerEvents",o&&`position${Zi(o)}`,a,n&&"hiddenLabel",i&&`size${Zi(i)}`]},MS,t)})(f);return(0,Bt.jsx)(KA.Provider,{value:null,children:(0,Bt.jsx)(TS,(0,je.A)({as:a,ownerState:f,className:io(m.root,i),ref:t},d,{children:"string"!=typeof o||l?(0,Bt.jsxs)(n.Fragment,{children:["start"===c?IS||(IS=(0,Bt.jsx)("span",{className:"notranslate",children:""})):null,o]}):(0,Bt.jsx)(ea,{color:"text.secondary",children:o})}))})}),LS=PS;var OS=o().forwardRef((e,t)=>o().createElement(LS,{...e,ref:t}));r(4363);const NS=Tk;function $S(e){return Co("MuiList",e)}_o("MuiList",["root","padding","dense","subheader"]);const zS=["children","className","component","dense","disablePadding","subheader"],DS=fo("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,je.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),BS=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=r,u=(0,Me.A)(r,zS),d=n.useMemo(()=>({dense:s}),[s]),p=(0,je.A)({},r,{component:a,dense:s,disablePadding:l}),h=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return lo({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},$S,t)})(p);return(0,Bt.jsx)(Ri.Provider,{value:d,children:(0,Bt.jsxs)(DS,(0,je.A)({as:a,className:io(h.root,i),ref:t,ownerState:p},u,{children:[c,o]}))})}),FS=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function HS(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function VS(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function WS(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 qS(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&WS(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const US=n.forwardRef(function(e,t){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=e,p=(0,Me.A)(e,FS),h=n.useRef(null),f=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Mi(()=>{o&&h.current.focus()},[o]),n.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&r){const r=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(NS(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,h.current.style.width=`calc(100% + ${r})`}return h.current}}),[]);const m=$o(h,t);let g=-1;n.Children.forEach(a,(e,t)=>{n.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===g)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))):g===t&&(g+=1,g>=a.length&&(g=-1))});const y=n.Children.map(a,(e,t)=>{if(t===g){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),n.cloneElement(e,t)}return e});return(0,Bt.jsx)(BS,(0,je.A)({role:"menu",ref:m,className:s,onKeyDown:e=>{const t=h.current,r=e.key,n=NS(t).activeElement;if("ArrowDown"===r)e.preventDefault(),qS(t,n,c,l,HS);else if("ArrowUp"===r)e.preventDefault(),qS(t,n,c,l,VS);else if("Home"===r)e.preventDefault(),qS(t,null,c,l,HS);else if("End"===r)e.preventDefault(),qS(t,null,c,l,VS);else if(1===r.length){const o=f.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=n&&!o.repeating&&WS(n,o);o.previousKeyMatched&&(s||qS(t,n,!1,l,HS,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},p,{children:y}))}),ZS=US;function GS(e){return Co("MuiPopover",e)}_o("MuiPopover",["root","paper"]);const XS=["onEntering"],KS=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],YS=["slotProps"];function JS(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function QS(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function ej(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function tj(e){return"function"==typeof e?e():e}const rj=fo(Ik,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),nj=fo(Hw,{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}),oj=n.forwardRef(function(e,t){var r,o,i;const a=go({props:e,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:p,className:h,container:f,elevation:m=8,marginThreshold:g=16,open:y,PaperProps:b={},slots:v,slotProps:x,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:C=h_,transitionDuration:_="auto",TransitionProps:{onEntering:k}={},disableScrollLock:A=!1}=a,S=(0,Me.A)(a.TransitionProps,XS),j=(0,Me.A)(a,KS),M=null!=(r=null==x?void 0:x.paper)?r:b,R=n.useRef(),I=$o(R,M.ref),E=(0,je.A)({},a,{anchorOrigin:c,anchorReference:d,elevation:m,marginThreshold:g,externalPaperSlotProps:M,transformOrigin:w,TransitionComponent:C,transitionDuration:_,TransitionProps:S}),T=(e=>{const{classes:t}=e;return lo({root:["root"],paper:["paper"]},GS,t)})(E),P=n.useCallback(()=>{if("anchorPosition"===d)return u;const e=tj(l),t=(e&&1===e.nodeType?e:NS(R.current).body).getBoundingClientRect();return{top:t.top+JS(t,c.vertical),left:t.left+QS(t,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),L=n.useCallback(e=>({vertical:JS(e,w.vertical),horizontal:QS(e,w.horizontal)}),[w.horizontal,w.vertical]),O=n.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=L(t);if("none"===d)return{top:null,left:null,transformOrigin:ej(r)};const n=P();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,s=i+t.width,c=Pk(tj(l)),u=c.innerHeight-g,p=c.innerWidth-g;if(null!==g&&o<g){const e=o-g;o-=e,r.vertical+=e}else if(null!==g&&a>u){const e=a-u;o-=e,r.vertical+=e}if(null!==g&&i<g){const e=i-g;i-=e,r.horizontal+=e}else if(s>p){const e=s-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:ej(r)}},[l,d,P,L,g]),[N,$]=n.useState(y),z=n.useCallback(()=>{const e=R.current;if(!e)return;const t=O(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)},[O]);n.useEffect(()=>(A&&window.addEventListener("scroll",z),()=>window.removeEventListener("scroll",z)),[l,A,z]),n.useEffect(()=>{y&&z()}),n.useImperativeHandle(s,()=>y?{updatePosition:()=>{z()}}:null,[y,z]),n.useEffect(()=>{if(!y)return;const e=Ek(()=>{z()}),t=Pk(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[l,y,z]);let D=_;"auto"!==_||C.muiSupportAuto||(D=void 0);const B=f||(l?NS(tj(l)).body:void 0),F=null!=(o=null==v?void 0:v.root)?o:rj,H=null!=(i=null==v?void 0:v.paper)?i:nj,V=FC({elementType:H,externalSlotProps:(0,je.A)({},M,{style:N?M.style:(0,je.A)({},M.style,{opacity:0})}),additionalProps:{elevation:m,ref:I},ownerState:E,className:io(T.paper,null==M?void 0:M.className)}),W=FC({elementType:F,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:j,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:B,open:y},ownerState:E,className:io(T.root,h)}),{slotProps:q}=W,U=(0,Me.A)(W,YS);return(0,Bt.jsx)(F,(0,je.A)({},U,!Oo(F)&&{slotProps:q,disableScrollLock:A},{children:(0,Bt.jsx)(C,(0,je.A)({appear:!0,in:y,onEntering:(e,t)=>{k&&k(e,t),z()},onExited:()=>{$(!1)},timeout:D},S,{children:(0,Bt.jsx)(H,(0,je.A)({},V,{children:p}))}))}))}),ij=oj;function aj(e){return Co("MuiMenu",e)}_o("MuiMenu",["root","paper","list"]);const sj=["onEntering"],lj=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],cj={vertical:"top",horizontal:"right"},uj={vertical:"top",horizontal:"left"},dj=fo(ij,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pj=fo(nj,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),hj=fo(ZS,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),fj=n.forwardRef(function(e,t){var r,o;const i=go({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:d,open:p,PaperProps:h={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:g}={},variant:y="selectedMenu",slots:b={},slotProps:v={}}=i,x=(0,Me.A)(i.TransitionProps,sj),w=(0,Me.A)(i,lj),C=Ut(),_=(0,je.A)({},i,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:g,PaperProps:h,transitionDuration:m,TransitionProps:x,variant:y}),k=(e=>{const{classes:t}=e;return lo({root:["root"],paper:["paper"],list:["list"]},aj,t)})(_),A=a&&!c&&p,S=n.useRef(null);let j=-1;n.Children.map(s,(e,t)=>{n.isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===j)&&(j=t))});const M=null!=(r=b.paper)?r:pj,R=null!=(o=v.paper)?o:h,I=FC({elementType:b.root,externalSlotProps:v.root,ownerState:_,className:[k.root,l]}),E=FC({elementType:M,externalSlotProps:R,ownerState:_,className:k.paper});return(0,Bt.jsx)(dj,(0,je.A)({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?cj:uj,slots:{paper:M,root:b.root},slotProps:{root:I,paper:E},open:p,ref:t,transitionDuration:m,TransitionProps:(0,je.A)({onEntering:(e,t)=>{S.current&&S.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),g&&g(e,t)}},x),ownerState:_},w,{classes:f,children:(0,Bt.jsx)(hj,(0,je.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:S,autoFocus:a&&(-1===j||c),autoFocusItem:A,variant:y},u,{className:io(k.list,u.className),children:s}))}))}),mj=fj;var gj=o().forwardRef((e,t)=>{const{direction:r}=yo(),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(ij,{...n,ref:t})}),yj=o().forwardRef((e,t)=>o().createElement(mj,{as:gj,...e,ref:t}));function bj({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t);return[i?e:a,n.useCallback(e=>{i||s(e)},[])]}const vj=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))};let xj=!0,wj=!1;const Cj=new XC,_j={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 kj(e){e.metaKey||e.altKey||e.ctrlKey||(xj=!0)}function Aj(){xj=!1}function Sj(){"hidden"===this.visibilityState&&wj&&(xj=!0)}function jj(){const e=n.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",kj,!0),t.addEventListener("mousedown",Aj,!0),t.addEventListener("pointerdown",Aj,!0),t.addEventListener("touchstart",Aj,!0),t.addEventListener("visibilitychange",Sj,!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 xj||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!_j[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(wj=!0,Cj.start(100,()=>{wj=!1}),t.current=!1,!0)},ref:e}}const Mj={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Rj(e,t){return e-t}function Ij(e,t){var r;const{index:n}=null!=(r=e.reduce((e,r,n)=>{const o=Math.abs(t-r);return null===e||o<e.distance||o===e.distance?{distance:o,index:n}:e},null))?r:{};return n}function Ej(e,t){if(void 0!==t.current&&e.changedTouches){const r=e;for(let e=0;e<r.changedTouches.length;e+=1){const n=r.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Tj(e,t,r){return 100*(e-t)/(r-t)}function Pj({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(Rj)}function Lj({sliderRef:e,activeIndex:t,setActive:r}){var n,o;const i=WC(e.current);var a;null!=(n=e.current)&&n.contains(i.activeElement)&&Number(null==i||null==(o=i.activeElement)?void 0:o.getAttribute("data-index"))===t||null==(a=e.current)||a.querySelector(`[type="range"][data-index="${t}"]`).focus(),r&&r(t)}function Oj(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>r(e,t[n]))}(e,t)}const Nj={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},$j=e=>e;let zj;function Dj(){return void 0===zj&&(zj="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),zj}function Bj(e){const{"aria-labelledby":t,defaultValue:r,disabled:o=!1,disableSwap:i=!1,isRtl:a=!1,marks:s=!1,max:l=100,min:c=0,name:u,onChange:d,onChangeCommitted:p,orientation:h="horizontal",rootRef:f,scale:m=$j,step:g=1,shiftStep:y=10,tabIndex:b,value:v}=e,x=n.useRef(),[w,C]=n.useState(-1),[_,k]=n.useState(-1),[A,S]=n.useState(!1),j=n.useRef(0),[M,R]=bj({controlled:v,default:null!=r?r:c,name:"Slider"}),I=d&&((e,t,r)=>{const n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:u}}),d(o,t,r)}),E=Array.isArray(M);let T=E?M.slice().sort(Rj):[M];T=T.map(e=>null==e?c:vj(e,c,l));const P=!0===s&&null!==g?[...Array(Math.floor((l-c)/g)+1)].map((e,t)=>({value:c+g*t})):s||[],L=P.map(e=>e.value),{isFocusVisibleRef:O,onBlur:N,onFocus:$,ref:z}=jj(),[D,B]=n.useState(-1),F=n.useRef(),H=DC(z,F),V=DC(f,H),W=e=>t=>{var r;const n=Number(t.currentTarget.getAttribute("data-index"));$(t),!0===O.current&&B(n),k(n),null==e||null==(r=e.onFocus)||r.call(e,t)},q=e=>t=>{var r;N(t),!1===O.current&&B(-1),k(-1),null==e||null==(r=e.onBlur)||r.call(e,t)},U=(e,t)=>{const r=Number(e.currentTarget.getAttribute("data-index")),n=T[r],o=L.indexOf(n);let a=t;if(P&&null==g){const e=L[L.length-1];a=a>e?e:a<L[0]?L[0]:a<n?L[o-1]:L[o+1]}if(a=vj(a,c,l),E){i&&(a=vj(a,T[r-1]||-1/0,T[r+1]||1/0));const e=a;a=Pj({values:T,newValue:a,index:r});let t=r;i||(t=a.indexOf(e)),Lj({sliderRef:F,activeIndex:t})}R(a),B(r),I&&!Oj(a,M)&&I(e,a,r),p&&p(e,a)},Z=e=>t=>{var r;if(null!==g){const e=Number(t.currentTarget.getAttribute("data-index")),r=T[e];let n=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?n=Math.max(r-y,c):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(n=Math.min(r+y,l)),null!==n&&(U(t,n),t.preventDefault())}null==e||null==(r=e.onKeyDown)||r.call(e,t)};HC(()=>{var e;o&&F.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())},[o]),o&&-1!==w&&C(-1),o&&-1!==D&&B(-1);const G=n.useRef();let X=h;a&&"horizontal"===h&&(X+="-reverse");const K=({finger:e,move:t=!1})=>{const{current:r}=F,{width:n,height:o,bottom:a,left:s}=r.getBoundingClientRect();let u,d;if(u=0===X.indexOf("vertical")?(a-e.y)/o:(e.x-s)/n,-1!==X.indexOf("-reverse")&&(u=1-u),d=function(e,t,r){return(r-t)*e+t}(u,c,l),g)d=function(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}(d,g,c);else{const e=Ij(L,d);d=L[e]}d=vj(d,c,l);let p=0;if(E){p=t?G.current:Ij(T,d),i&&(d=vj(d,T[p-1]||-1/0,T[p+1]||1/0));const e=d;d=Pj({values:T,newValue:d,index:p}),i&&t||(p=d.indexOf(e),G.current=p)}return{newValue:d,activeIndex:p}},Y=VC(e=>{const t=Ej(e,x);if(!t)return;if(j.current+=1,"mousemove"===e.type&&0===e.buttons)return void J(e);const{newValue:r,activeIndex:n}=K({finger:t,move:!0});Lj({sliderRef:F,activeIndex:n,setActive:C}),R(r),!A&&j.current>2&&S(!0),I&&!Oj(r,M)&&I(e,r,n)}),J=VC(e=>{const t=Ej(e,x);if(S(!1),!t)return;const{newValue:r}=K({finger:t,move:!0});C(-1),"touchend"===e.type&&k(-1),p&&p(e,r),x.current=void 0,ee()}),Q=VC(e=>{if(o)return;Dj()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(x.current=t.identifier);const r=Ej(e,x);if(!1!==r){const{newValue:t,activeIndex:n}=K({finger:r});Lj({sliderRef:F,activeIndex:n,setActive:C}),R(t),I&&!Oj(t,M)&&I(e,t,n)}j.current=0;const n=WC(F.current);n.addEventListener("touchmove",Y,{passive:!0}),n.addEventListener("touchend",J,{passive:!0})}),ee=n.useCallback(()=>{const e=WC(F.current);e.removeEventListener("mousemove",Y),e.removeEventListener("mouseup",J),e.removeEventListener("touchmove",Y),e.removeEventListener("touchend",J)},[J,Y]);n.useEffect(()=>{const{current:e}=F;return e.addEventListener("touchstart",Q,{passive:Dj()}),()=>{e.removeEventListener("touchstart",Q),ee()}},[ee,Q]),n.useEffect(()=>{o&&ee()},[o,ee]);const te=Tj(E?T[0]:c,c,l),re=Tj(T[T.length-1],c,l)-te,ne=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),k(-1)};return{active:w,axis:X,axisProps:Nj,dragging:A,focusedThumbIndex:D,getHiddenInputProps:(r={})=>{var n;const i=Rw(r),s={onChange:(d=i||{},e=>{var t;null==(t=d.onChange)||t.call(d,e),U(e,e.target.valueAsNumber)}),onFocus:W(i||{}),onBlur:q(i||{}),onKeyDown:Z(i||{})};var d;const p=(0,je.A)({},i,s);return(0,je.A)({tabIndex:b,"aria-labelledby":t,"aria-orientation":h,"aria-valuemax":m(l),"aria-valuemin":m(c),name:u,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(n=e.step)?n:void 0,disabled:o},r,p,{style:(0,je.A)({},Mj,{direction:a?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=Rw(e),r={onMouseDown:(n=t||{},e=>{var t;if(null==(t=n.onMouseDown)||t.call(n,e),o)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const r=Ej(e,x);if(!1!==r){const{newValue:t,activeIndex:n}=K({finger:r});Lj({sliderRef:F,activeIndex:n,setActive:C}),R(t),I&&!Oj(t,M)&&I(e,t,n)}j.current=0;const i=WC(F.current);i.addEventListener("mousemove",Y,{passive:!0}),i.addEventListener("mouseup",J)})};var n;const i=(0,je.A)({},t,r);return(0,je.A)({},e,{ref:V},i)},getThumbProps:(e={})=>{const t=Rw(e),r={onMouseOver:(n=t||{},e=>{var t;null==(t=n.onMouseOver)||t.call(n,e);const r=Number(e.currentTarget.getAttribute("data-index"));k(r)}),onMouseLeave:ne(t||{})};var n;return(0,je.A)({},e,t,r)},marks:P,open:_,range:E,rootRef:V,trackLeap:re,trackOffset:te,values:T,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}function Fj(e){return Co("MuiSlider",e)}const Hj=_o("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Vj=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"],Wj=Aw();function qj(e){return e}const Uj=fo("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${Zi(r.color)}`],"medium"!==r.size&&t[`size${Zi(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Hj.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Hj.dragging}`]:{[`& .${Hj.thumb}, & .${Hj.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main}).map(t=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),Zj=fo("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),Gj=fo("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main}).map(t=>({props:{color:t,track:"inverted"},style:(0,je.A)({},e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:(0,je.A)({backgroundColor:(0,Oe.a)(e.palette[t].main,.62),borderColor:(0,Oe.a)(e.palette[t].main,.62)},e.applyStyles("dark",{backgroundColor:(0,Oe.e$)(e.palette[t].main,.5)}),e.applyStyles("dark",{borderColor:(0,Oe.e$)(e.palette[t].main,.5)})))}))]}}),Xj=fo("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${Zi(r.color)}`],"medium"!==r.size&&t[`thumbSize${Zi(r.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Hj.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main}).map(t=>({props:{color:t},style:{[`&:hover, &.${Hj.focusVisible}`]:(0,je.A)({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,Oe.X4)(e.palette[t].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Hj.active}`]:(0,je.A)({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)}`}:{boxShadow:`0px 0px 0px 14px ${(0,Oe.X4)(e.palette[t].main,.16)}`})}}))]}}),Kj=fo(function(e){const{children:t,className:r,value:o}=e,i=(e=>{const{open:t}=e;return{offset:io(t&&Hj.valueLabelOpen),circle:Hj.valueLabelCircle,label:Hj.valueLabelLabel}})(e);return t?n.cloneElement(t,{className:io(t.props.className)},(0,Bt.jsxs)(n.Fragment,{children:[t.props.children,(0,Bt.jsx)("span",{className:io(i.offset,r),"aria-hidden":!0,children:(0,Bt.jsx)("span",{className:i.circle,children:(0,Bt.jsx)("span",{className:i.label,children:o})})})]})):null},{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>(0,je.A)({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Hj.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Hj.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),Yj=fo("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>po(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),Jj=fo("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>po(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>(0,je.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),Qj=({children:e})=>e,eM=n.forwardRef(function(e,t){var r,o,i,a,s,l,c,u,d,p,h,f,m,g,y,b,v,x,w,C,_,k,A,S;const j=Wj({props:e,name:"MuiSlider"}),M=Ut(),{"aria-label":R,"aria-valuetext":I,"aria-labelledby":E,component:T="span",components:P={},componentsProps:L={},color:O="primary",classes:N,className:$,disableSwap:z=!1,disabled:D=!1,getAriaLabel:B,getAriaValueText:F,marks:H=!1,max:V=100,min:W=0,orientation:q="horizontal",shiftStep:U=10,size:Z="medium",step:G=1,scale:X=qj,slotProps:K,slots:Y,track:J="normal",valueLabelDisplay:Q="off",valueLabelFormat:ee=qj}=j,te=(0,Me.A)(j,Vj),re=(0,je.A)({},j,{isRtl:M,max:V,min:W,classes:N,disabled:D,disableSwap:z,orientation:q,marks:H,color:O,size:Z,step:G,shiftStep:U,scale:X,track:J,valueLabelDisplay:Q,valueLabelFormat:ee}),{axisProps:ne,getRootProps:oe,getHiddenInputProps:ie,getThumbProps:ae,open:se,active:le,axis:ce,focusedThumbIndex:ue,range:de,dragging:pe,marks:he,values:fe,trackOffset:me,trackLeap:ge,getThumbStyle:ye}=Bj((0,je.A)({},re,{rootRef:t}));re.marked=he.length>0&&he.some(e=>e.label),re.dragging=pe,re.focusedThumbIndex=ue;const be=(e=>{const{disabled:t,dragging:r,marked:n,orientation:o,track:i,classes:a,color:s,size:l}=e;return lo({root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${Zi(s)}`,l&&`size${Zi(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${Zi(l)}`,s&&`thumbColor${Zi(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},Fj,a)})(re),ve=null!=(r=null!=(o=null==Y?void 0:Y.root)?o:P.Root)?r:Uj,xe=null!=(i=null!=(a=null==Y?void 0:Y.rail)?a:P.Rail)?i:Zj,we=null!=(s=null!=(l=null==Y?void 0:Y.track)?l:P.Track)?s:Gj,Ce=null!=(c=null!=(u=null==Y?void 0:Y.thumb)?u:P.Thumb)?c:Xj,_e=null!=(d=null!=(p=null==Y?void 0:Y.valueLabel)?p:P.ValueLabel)?d:Kj,ke=null!=(h=null!=(f=null==Y?void 0:Y.mark)?f:P.Mark)?h:Yj,Ae=null!=(m=null!=(g=null==Y?void 0:Y.markLabel)?g:P.MarkLabel)?m:Jj,Se=null!=(y=null!=(b=null==Y?void 0:Y.input)?b:P.Input)?y:"input",Re=null!=(v=null==K?void 0:K.root)?v:L.root,Ie=null!=(x=null==K?void 0:K.rail)?x:L.rail,Ee=null!=(w=null==K?void 0:K.track)?w:L.track,Te=null!=(C=null==K?void 0:K.thumb)?C:L.thumb,Pe=null!=(_=null==K?void 0:K.valueLabel)?_:L.valueLabel,Le=null!=(k=null==K?void 0:K.mark)?k:L.mark,Oe=null!=(A=null==K?void 0:K.markLabel)?A:L.markLabel,Ne=null!=(S=null==K?void 0:K.input)?S:L.input,$e=FC({elementType:ve,getSlotProps:oe,externalSlotProps:Re,externalForwardedProps:te,additionalProps:(0,je.A)({},(qe=ve,(!qe||!Oo(qe))&&{as:T})),ownerState:(0,je.A)({},re,null==Re?void 0:Re.ownerState),className:[be.root,$]}),ze=FC({elementType:xe,externalSlotProps:Ie,ownerState:re,className:be.rail}),De=FC({elementType:we,externalSlotProps:Ee,additionalProps:{style:(0,je.A)({},ne[ce].offset(me),ne[ce].leap(ge))},ownerState:(0,je.A)({},re,null==Ee?void 0:Ee.ownerState),className:be.track}),Be=FC({elementType:Ce,getSlotProps:ae,externalSlotProps:Te,ownerState:(0,je.A)({},re,null==Te?void 0:Te.ownerState),className:be.thumb}),Fe=FC({elementType:_e,externalSlotProps:Pe,ownerState:(0,je.A)({},re,null==Pe?void 0:Pe.ownerState),className:be.valueLabel}),He=FC({elementType:ke,externalSlotProps:Le,ownerState:re,className:be.mark}),Ve=FC({elementType:Ae,externalSlotProps:Oe,ownerState:re,className:be.markLabel}),We=FC({elementType:Se,getSlotProps:ie,externalSlotProps:Ne,ownerState:re});var qe;return(0,Bt.jsxs)(ve,(0,je.A)({},$e,{children:[(0,Bt.jsx)(xe,(0,je.A)({},ze)),(0,Bt.jsx)(we,(0,je.A)({},De)),he.filter(e=>e.value>=W&&e.value<=V).map((e,t)=>{const r=Tj(e.value,W,V),o=ne[ce].offset(r);let i;return i=!1===J?-1!==fe.indexOf(e.value):"normal"===J&&(de?e.value>=fe[0]&&e.value<=fe[fe.length-1]:e.value<=fe[0])||"inverted"===J&&(de?e.value<=fe[0]||e.value>=fe[fe.length-1]:e.value>=fe[0]),(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)(ke,(0,je.A)({"data-index":t},He,!Oo(ke)&&{markActive:i},{style:(0,je.A)({},o,He.style),className:io(He.className,i&&be.markActive)})),null!=e.label?(0,Bt.jsx)(Ae,(0,je.A)({"aria-hidden":!0,"data-index":t},Ve,!Oo(Ae)&&{markLabelActive:i},{style:(0,je.A)({},o,Ve.style),className:io(be.markLabel,Ve.className,i&&be.markLabelActive),children:e.label})):null]},t)}),fe.map((e,t)=>{const r=Tj(e,W,V),n=ne[ce].offset(r),o="off"===Q?Qj:_e;return(0,Bt.jsx)(o,(0,je.A)({},!Oo(o)&&{valueLabelFormat:ee,valueLabelDisplay:Q,value:"function"==typeof ee?ee(X(e),t):ee,index:t,open:se===t||le===t||"on"===Q,disabled:D},Fe,{children:(0,Bt.jsx)(Ce,(0,je.A)({"data-index":t},Be,{className:io(be.thumb,Be.className,le===t&&be.active,ue===t&&be.focusVisible),style:(0,je.A)({},n,ye(t),Be.style),children:(0,Bt.jsx)(Se,(0,je.A)({"data-index":t,"aria-label":B?B(t):R,"aria-valuenow":X(e),"aria-labelledby":E,"aria-valuetext":F?F(X(e),t):I,value:fe[t]},We))}))}),t)})]}))}),tM=eM;var rM=o().forwardRef((e,t)=>o().createElement(tM,{...e,ref:t}));const nM=["onChange","maxRows","minRows","style","value"];function oM(e){return parseInt(e,10)||0}const iM={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},aM=n.forwardRef(function(e,t){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:s}=e,l=(0,Me.A)(e,nM),{current:c}=n.useRef(null!=s),u=n.useRef(null),d=DC(t,u),p=n.useRef(null),h=n.useCallback(()=>{const t=u.current,r=ik(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const n=p.current;n.style.width=r.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=r.boxSizing,s=oM(r.paddingBottom)+oM(r.paddingTop),l=oM(r.borderBottomWidth)+oM(r.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let h=c;return i&&(h=Math.max(Number(i)*d,h)),o&&(h=Math.min(Number(o)*d,h)),h=Math.max(h,d),{outerHeightStyle:h+("border-box"===a?s+l:0),overflowing:Math.abs(h-c)<=1}},[o,i,e.placeholder]),f=n.useCallback(()=>{const e=h();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":""},[h]);return HC(()=>{const e=()=>{f()};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=ik(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()}},[h,f]),HC(()=>{f()}),(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)("textarea",(0,je.A)({value:s,onChange:e=>{c||f(),r&&r(e)},ref:d,rows:i,style:a},l)),(0,Bt.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:(0,je.A)({},iM,a,{paddingTop:0,paddingBottom:0})})]})}),sM=function(e){return(0,Bt.jsx)(ir,(0,je.A)({},e,{defaultTheme:uo,themeId:cr}))};function lM(e){return Co("MuiInputBase",e)}const cM=_o("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),uM=["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"],dM=(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${Zi(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},pM=(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]},hM=fo("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dM})(({theme:e,ownerState:t})=>(0,je.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",[`&.${cM.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,je.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),fM=fo("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pM})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=(0,je.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,je.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] + .${cM.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},[`&.${cM.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"})}),mM=(0,Bt.jsx)(sM,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),gM=n.forwardRef(function(e,t){var r;const o=go({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:h,endAdornment:f,fullWidth:m=!1,id:g,inputComponent:y="input",inputProps:b={},inputRef:v,maxRows:x,minRows:w,multiline:C=!1,name:_,onBlur:k,onChange:A,onClick:S,onFocus:j,onKeyDown:M,onKeyUp:R,placeholder:I,readOnly:E,renderSuffix:T,rows:P,slotProps:L={},slots:O={},startAdornment:N,type:$="text",value:z}=o,D=(0,Me.A)(o,uM),B=null!=b.value?b.value:z,{current:F}=n.useRef(null!=B),H=n.useRef(),V=n.useCallback(e=>{},[]),W=$o(H,v,b.ref,V),[q,U]=n.useState(!1),Z=oS(),G=nS({props:o,muiFormControl:Z,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=Z?Z.focused:q,n.useEffect(()=>{!Z&&p&&q&&(U(!1),k&&k())},[Z,p,q,k]);const X=Z&&Z.onFilled,K=Z&&Z.onEmpty,Y=n.useCallback(e=>{XA(e)?X&&X():K&&K()},[X,K]);Mi(()=>{F&&Y({value:B})},[B,Y,F]),n.useEffect(()=>{Y(H.current)},[]);let J=y,Q=b;C&&"input"===J&&(Q=P?(0,je.A)({type:void 0,minRows:P,maxRows:P},Q):(0,je.A)({type:void 0,maxRows:x,minRows:w},Q),J=aM),n.useEffect(()=>{Z&&Z.setAdornedStart(Boolean(N))},[Z,N]);const ee=(0,je.A)({},o,{color:G.color||"primary",disabled:G.disabled,endAdornment:f,error:G.error,focused:G.focused,formControl:Z,fullWidth:m,hiddenLabel:G.hiddenLabel,multiline:C,size:G.size,startAdornment:N,type:$}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:h,type:f}=e;return lo({root:["root",`color${Zi(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Zi(p)}`,u&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===f&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},lM,t)})(ee),re=O.root||c.Root||hM,ne=L.root||u.root||{},oe=O.input||c.Input||fM;return Q=(0,je.A)({},Q,null!=(r=L.input)?r:u.input),(0,Bt.jsxs)(n.Fragment,{children:[!h&&mM,(0,Bt.jsxs)(re,(0,je.A)({},ne,!Oo(re)&&{ownerState:(0,je.A)({},ee,ne.ownerState)},{ref:t,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),S&&S(e)}},D,{className:io(te.root,ne.className,l,E&&"MuiInputBase-readOnly"),children:[N,(0,Bt.jsx)(KA.Provider,{value:null,children:(0,Bt.jsx)(oe,(0,je.A)({ownerState:ee,"aria-invalid":G.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:d,disabled:G.disabled,id:g,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:_,placeholder:I,readOnly:E,required:G.required,rows:P,value:B,onKeyDown:M,onKeyUp:R,type:$},Q,!Oo(oe)&&{as:J,ownerState:(0,je.A)({},ee,Q.ownerState)},{ref:W,className:io(te.input,Q.className,E&&"MuiInputBase-readOnly"),onBlur:e=>{k&&k(e),b.onBlur&&b.onBlur(e),Z&&Z.onBlur?Z.onBlur(e):U(!1)},onChange:(e,...t)=>{if(!F){const t=e.target||H.current;if(null==t)throw new Error((0,Re.A)(1));Y({value:t.value})}b.onChange&&b.onChange(e,...t),A&&A(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(j&&j(e),b.onFocus&&b.onFocus(e),Z&&Z.onFocus?Z.onFocus(e):U(!0))}}))}),f,T?T((0,je.A)({},G,{startAdornment:N})):null]}))]})}),yM=gM;function bM(e){return Co("MuiInput",e)}const vM=(0,je.A)({},cM,_o("MuiInput",["root","underline","input"])),xM=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],wM=fo(hM,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...dM(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,je.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"},[`&.${vM.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${vM.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(.${vM.disabled}, .${vM.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${vM.disabled}:before`]:{borderBottomStyle:"dotted"}})}),CM=fo(fM,{name:"MuiInput",slot:"Input",overridesResolver:pM})({}),_M=n.forwardRef(function(e,t){var r,n,o,i;const a=go({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:p=!1,slotProps:h,slots:f={},type:m="text"}=a,g=(0,Me.A)(a,xM),y=(e=>{const{classes:t,disableUnderline:r}=e,n=lo({root:["root",!r&&"underline"],input:["input"]},bM,t);return(0,je.A)({},t,n)})(a),b={root:{ownerState:{disableUnderline:s}}},v=(null!=h?h:c)?(0,Ie.A)(null!=h?h:c,b):b,x=null!=(r=null!=(n=f.root)?n:l.Root)?r:wM,w=null!=(o=null!=(i=f.input)?i:l.Input)?o:CM;return(0,Bt.jsx)(yM,(0,je.A)({slots:{root:x,input:w},slotProps:v,fullWidth:u,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:y}))});_M.muiName="Input";const kM=_M;function AM(e){return Co("MuiFilledInput",e)}const SM=(0,je.A)({},cM,_o("MuiFilledInput",["root","underline","input"])),jM=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],MM=fo(hM,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...dM(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)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,je.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:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${SM.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${SM.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!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"},[`&.${SM.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${SM.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(.${SM.disabled}, .${SM.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${SM.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,je.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}))}),RM=fo(fM,{name:"MuiFilledInput",slot:"Input",overridesResolver:pM})(({theme:e,ownerState:t})=>(0,je.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})),IM=n.forwardRef(function(e,t){var r,n,o,i;const a=go({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:d=!1,slotProps:p,slots:h={},type:f="text"}=a,m=(0,Me.A)(a,jM),g=(0,je.A)({},a,{fullWidth:c,inputComponent:u,multiline:d,type:f}),y=(e=>{const{classes:t,disableUnderline:r}=e,n=lo({root:["root",!r&&"underline"],input:["input"]},AM,t);return(0,je.A)({},t,n)})(a),b={root:{ownerState:g},input:{ownerState:g}},v=(null!=p?p:l)?(0,Ie.A)(b,null!=p?p:l):b,x=null!=(r=null!=(n=h.root)?n:s.Root)?r:MM,w=null!=(o=null!=(i=h.input)?i:s.Input)?o:RM;return(0,Bt.jsx)(yM,(0,je.A)({slots:{root:x,input:w},componentsProps:v,fullWidth:c,inputComponent:u,multiline:d,ref:t,type:f},m,{classes:y}))});IM.muiName="Input";const EM=IM;var TM;const PM=["children","classes","className","label","notched"],LM=fo("fieldset",{shouldForwardProp:ho})({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%"}),OM=fo("legend",{shouldForwardProp:ho})(({ownerState:e,theme:t})=>(0,je.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,je.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 NM(e){return Co("MuiOutlinedInput",e)}const $M=(0,je.A)({},cM,_o("MuiOutlinedInput",["root","notchedOutline","input"])),zM=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],DM=fo(hM,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:dM})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,je.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${$M.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${$M.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${$M.focused} .${$M.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${$M.error} .${$M.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${$M.disabled} .${$M.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,je.A)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))}),BM=fo(function(e){const{className:t,label:r,notched:n}=e,o=(0,Me.A)(e,PM),i=null!=r&&""!==r,a=(0,je.A)({},e,{notched:n,withLabel:i});return(0,Bt.jsx)(LM,(0,je.A)({"aria-hidden":!0,className:t,ownerState:a},o,{children:(0,Bt.jsx)(OM,{ownerState:a,children:i?(0,Bt.jsx)("span",{children:r}):TM||(TM=(0,Bt.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}}),FM=fo(fM,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pM})(({theme:e,ownerState:t})=>(0,je.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})),HM=n.forwardRef(function(e,t){var r,o,i,a,s;const l=go({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:p,multiline:h=!1,notched:f,slots:m={},type:g="text"}=l,y=(0,Me.A)(l,zM),b=(e=>{const{classes:t}=e,r=lo({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},NM,t);return(0,je.A)({},t,r)})(l),v=oS(),x=nS({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=(0,je.A)({},l,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:v,fullWidth:u,hiddenLabel:x.hiddenLabel,multiline:h,size:x.size,type:g}),C=null!=(r=null!=(o=m.root)?o:c.Root)?r:DM,_=null!=(i=null!=(a=m.input)?a:c.Input)?i:FM;return(0,Bt.jsx)(yM,(0,je.A)({slots:{root:C,input:_},renderSuffix:e=>(0,Bt.jsx)(BM,{ownerState:w,className:b.notchedOutline,label:null!=p&&""!==p&&x.required?s||(s=(0,Bt.jsxs)(n.Fragment,{children:[p," ","*"]})):p,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:d,multiline:h,ref:t,type:g},y,{classes:(0,je.A)({},b,{notchedOutline:null})}))});HM.muiName="Input";const VM=HM;function WM(e){return Co("MuiInputLabel",e)}_o("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const qM=["disableAnimation","margin","shrink","variant","className"],UM=fo(dS,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${aS.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,je.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,je.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,je.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,je.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)"}))),ZM=n.forwardRef(function(e,t){const r=go({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:i}=r,a=(0,Me.A)(r,qM),s=oS();let l=o;void 0===l&&s&&(l=s.filled||s.focused||s.adornedStart);const c=nS({props:r,muiFormControl:s,states:["size","variant","required","focused"]}),u=(0,je.A)({},r,{disableAnimation:n,formControl:s,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:i,variant:a,required:s}=e,l=lo({root:["root",r&&"formControl",!i&&"animated",o&&"shrink",n&&"normal"!==n&&`size${Zi(n)}`,a],asterisk:[s&&"asterisk"]},WM,t);return(0,je.A)({},t,l)})(u);return(0,Bt.jsx)(UM,(0,je.A)({"data-shrink":l,ownerState:u,ref:t,className:io(d.root,i)},a,{classes:d}))});function GM(e){return Co("MuiFormHelperText",e)}const XM=_o("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var KM;const YM=["children","className","component","disabled","error","filled","focused","margin","required","variant"],JM=fo("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${Zi(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>(0,je.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${XM.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${XM.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),QM=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:i="p"}=r,a=(0,Me.A)(r,YM),s=nS({props:r,muiFormControl:oS(),states:["variant","size","disabled","error","filled","focused","required"]}),l=(0,je.A)({},r,{component:i,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:i,filled:a,focused:s,required:l}=e;return lo({root:["root",o&&"disabled",i&&"error",n&&`size${Zi(n)}`,r&&"contained",s&&"focused",a&&"filled",l&&"required"]},GM,t)})(l);return(0,Bt.jsx)(JM,(0,je.A)({as:i,ownerState:l,className:io(c.root,o),ref:t},a,{children:" "===n?KM||(KM=(0,Bt.jsx)("span",{className:"notranslate",children:""})):n}))});function eR(e){return Co("MuiNativeSelect",e)}const tR=_o("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),rR=["className","disabled","error","IconComponent","inputRef","variant"],nR=({ownerState:e,theme:t})=>(0,je.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,je.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"},[`&.${tR.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}}),oR=fo("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ho,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${tR.multiple}`]:t.multiple}]}})(nR),iR=({ownerState:e,theme:t})=>(0,je.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${tR.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),aR=fo("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Zi(r.variant)}`],r.open&&t.iconOpen]}})(iR),sR=n.forwardRef(function(e,t){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard"}=e,c=(0,Me.A)(e,rR),u=(0,je.A)({},e,{disabled:o,variant:l,error:i}),d=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return lo({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Zi(r)}`,i&&"iconOpen",n&&"disabled"]},eR,t)})(u);return(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)(oR,(0,je.A)({ownerState:u,className:io(d.select,r),disabled:o,ref:s||t},c)),e.multiple?null:(0,Bt.jsx)(aR,{as:a,ownerState:u,className:d.icon})]})});function lR(e){return Co("MuiSelect",e)}const cR=_o("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var uR;const dR=["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"],pR=fo("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${cR.select}`]:t.select},{[`&.${cR.select}`]:t[r.variant]},{[`&.${cR.error}`]:t.error},{[`&.${cR.multiple}`]:t.multiple}]}})(nR,{[`&.${cR.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),hR=fo("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Zi(r.variant)}`],r.open&&t.iconOpen]}})(iR),fR=fo("input",{shouldForwardProp:e=>po(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 mR(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function gR(e){return null==e||"string"==typeof e&&!e.trim()}const yR=n.forwardRef(function(e,t){var r;const{"aria-describedby":o,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:d,disabled:p,displayEmpty:h,error:f=!1,IconComponent:m,inputRef:g,labelId:y,MenuProps:b={},multiple:v,name:x,onBlur:w,onChange:C,onClose:_,onFocus:k,onOpen:A,open:S,readOnly:j,renderValue:M,SelectDisplayProps:R={},tabIndex:I,value:E,variant:T="standard"}=e,P=(0,Me.A)(e,dR),[L,O]=xS({controlled:E,default:d,name:"Select"}),[N,$]=xS({controlled:S,default:u,name:"Select"}),z=n.useRef(null),D=n.useRef(null),[B,F]=n.useState(null),{current:H}=n.useRef(null!=S),[V,W]=n.useState(),q=$o(t,g),U=n.useCallback(e=>{D.current=e,e&&F(e)},[]),Z=null==B?void 0:B.parentNode;n.useImperativeHandle(q,()=>({focus:()=>{D.current.focus()},node:z.current,value:L}),[L]),n.useEffect(()=>{u&&N&&B&&!H&&(W(s?null:Z.clientWidth),D.current.focus())},[B,s]),n.useEffect(()=>{a&&D.current.focus()},[a]),n.useEffect(()=>{if(!y)return;const e=NS(D.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&D.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[y]);const G=(e,t)=>{e?A&&A(t):_&&_(t),H||(W(s?null:Z.clientWidth),$(e))},X=n.Children.toArray(l),K=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(v){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&&(O(r),C)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:x}}),C(o,e)}v||G(!1,t)}},Y=null!==B&&N;let J,Q;delete P["aria-invalid"];const ee=[];let te=!1,re=!1;(XA({value:L})||h)&&(M?J=M(L):te=!0);const ne=X.map(e=>{if(!n.isValidElement(e))return null;let t;if(v){if(!Array.isArray(L))throw new Error((0,Re.A)(2));t=L.some(t=>mR(t,e.props.value)),t&&te&&ee.push(e.props.children)}else t=mR(L,e.props.value),t&&te&&(Q=e.props.children);return t&&(re=!0),n.cloneElement(e,{"aria-selected":t?"true":"false",onClick:K(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=v?0===ee.length?null:ee.reduce((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e),[]):Q);let oe,ie=V;!s&&H&&B&&(ie=Z.clientWidth),oe=void 0!==I?I:p?null:0;const ae=R.id||(x?`mui-component-select-${x}`:void 0),se=(0,je.A)({},e,{variant:T,value:L,open:Y,error:f}),le=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return lo({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Zi(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},lR,t)})(se),ce=(0,je.A)({},b.PaperProps,null==(r=b.slotProps)?void 0:r.paper),ue=Qt();return(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)(pR,(0,je.A)({ref:U,tabIndex:oe,role:"combobox","aria-controls":ue,"aria-disabled":p?"true":void 0,"aria-expanded":Y?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[y,ae].filter(Boolean).join(" ")||void 0,"aria-describedby":o,onKeyDown:e=>{j||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),G(!0,e))},onMouseDown:p||j?null:e=>{0===e.button&&(e.preventDefault(),D.current.focus(),G(!0,e))},onBlur:e=>{!Y&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:L,name:x}}),w(e))},onFocus:k},R,{ownerState:se,className:io(R.className,le.select,c),id:ae,children:gR(J)?uR||(uR=(0,Bt.jsx)("span",{className:"notranslate",children:""})):J})),(0,Bt.jsx)(fR,(0,je.A)({"aria-invalid":f,value:Array.isArray(L)?L.join(","):L,name:x,ref:z,"aria-hidden":!0,onChange:e=>{const t=X.find(t=>t.props.value===e.target.value);void 0!==t&&(O(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:p,className:le.nativeInput,autoFocus:a,ownerState:se},P)),(0,Bt.jsx)(hR,{as:m,className:le.icon,ownerState:se}),(0,Bt.jsx)(mj,(0,je.A)({id:`menu-${x||""}`,anchorEl:Z,open:Y,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:(0,je.A)({"aria-labelledby":y,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:(0,je.A)({},b.slotProps,{paper:(0,je.A)({},ce,{style:(0,je.A)({minWidth:ie},null!=ce?ce.style:null)})}),children:ne}))]})}),bR=yR,vR=Yw((0,Bt.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),xR=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],wR=["root"],CR={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ho(e)&&"variant"!==e,slot:"Root"},_R=fo(kM,CR)(""),kR=fo(VM,CR)(""),AR=fo(EM,CR)(""),SR=n.forwardRef(function(e,t){const r=go({name:"MuiSelect",props:e}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=vR,id:d,input:p,inputProps:h,label:f,labelId:m,MenuProps:g,multiple:y=!1,native:b=!1,onClose:v,onOpen:x,open:w,renderValue:C,SelectDisplayProps:_,variant:k="outlined"}=r,A=(0,Me.A)(r,xR),S=b?sR:bR,j=nS({props:r,muiFormControl:oS(),states:["variant","error"]}),M=j.variant||k,R=(0,je.A)({},r,{variant:M,classes:a}),I=(e=>{const{classes:t}=e;return t})(R),E=(0,Me.A)(I,wR),T=p||{standard:(0,Bt.jsx)(_R,{ownerState:R}),outlined:(0,Bt.jsx)(kR,{label:f,ownerState:R}),filled:(0,Bt.jsx)(AR,{ownerState:R})}[M],P=$o(t,T.ref);return(0,Bt.jsx)(n.Fragment,{children:n.cloneElement(T,(0,je.A)({inputComponent:S,inputProps:(0,je.A)({children:i,error:j.error,IconComponent:u,variant:M,type:void 0,multiple:y},b?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:g,onClose:v,onOpen:x,open:w,renderValue:C,SelectDisplayProps:(0,je.A)({id:d},_)},h,{classes:h?(0,Ie.A)(E,h.classes):E},p?p.props.inputProps:{})},(y&&b||c)&&"outlined"===M?{notched:!0}:{},{ref:P,className:io(T.props.className,s,I.root)},!p&&{variant:M},A))})});SR.muiName="Select";const jR=SR;function MR(e){return Co("MuiTextField",e)}_o("MuiTextField",["root"]);const RR=["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"],IR={standard:kM,filled:EM,outlined:VM},ER=fo(tS,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),TR=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:i,className:a,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:h,id:f,InputLabelProps:m,inputProps:g,InputProps:y,inputRef:b,label:v,maxRows:x,minRows:w,multiline:C=!1,name:_,onBlur:k,onChange:A,onFocus:S,placeholder:j,required:M=!1,rows:R,select:I=!1,SelectProps:E,type:T,value:P,variant:L="outlined"}=r,O=(0,Me.A)(r,RR),N=(0,je.A)({},r,{autoFocus:o,color:s,disabled:c,error:u,fullWidth:p,multiline:C,required:M,select:I,variant:L}),$=(e=>{const{classes:t}=e;return lo({root:["root"]},MR,t)})(N),z={};"outlined"===L&&(m&&void 0!==m.shrink&&(z.notched=m.shrink),z.label=v),I&&(E&&E.native||(z.id=void 0),z["aria-describedby"]=void 0);const D=Qt(f),B=h&&D?`${D}-helper-text`:void 0,F=v&&D?`${D}-label`:void 0,H=IR[L],V=(0,Bt.jsx)(H,(0,je.A)({"aria-describedby":B,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:p,multiline:C,name:_,rows:R,maxRows:x,minRows:w,type:T,value:P,id:D,inputRef:b,onBlur:k,onChange:A,onFocus:S,placeholder:j,inputProps:g},z,y));return(0,Bt.jsxs)(ER,(0,je.A)({className:io($.root,a),disabled:c,error:u,fullWidth:p,ref:t,required:M,color:s,variant:L,ownerState:N},O,{children:[null!=v&&""!==v&&(0,Bt.jsx)(ZM,(0,je.A)({htmlFor:D,id:F},m,{children:v})),I?(0,Bt.jsx)(jR,(0,je.A)({"aria-describedby":B,id:D,labelId:F,value:P,input:V},E,{children:i})):V,h&&(0,Bt.jsx)(QM,(0,je.A)({id:B},d,{children:h}))]}))}),PR=TR,LR=o().forwardRef((e,t)=>o().createElement(cw,{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"}))),OR=o().forwardRef((e,t)=>{const{MenuProps:r={},...n}=e;return o().createElement(jR,{...n,MenuProps:{...r,MenuListProps:{dense:"tiny"===n.size,...r.MenuListProps||{}}},ref:t})});OR.defaultProps={IconComponent:LR};var NR=OR,$R=o().forwardRef((e,t)=>{const r={...e};return r.select&&(r.SelectProps={IconComponent:LR,...r.SelectProps||{}},"tiny"===r.size&&(r.SelectProps.MenuProps={...r.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...r.SelectProps?.MenuProps?.MenuListProps||{}}})),o().createElement(PR,{...r,ref:t})});function zR(e){if("undefined"==typeof window)return e;const t=n.useRef(null);return n.useLayoutEffect(()=>{t.current=e}),n.useCallback((...e)=>{var r;null===(r=t.current)||void 0===r||r.call(t,...e)},[])}const DR={},BR={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function FR({isOpen:e,popupId:t,variant:r}){return{..."popover"===r?{"aria-haspopup":!0,"aria-controls":e&&null!=t?t:void 0}:"popper"===r?{"aria-describedby":e&&null!=t?t:void 0}:void 0}}function HR(e){return{...FR(e),onClick:e.open,onTouchStart:e.open}}function VR({isOpen:e,anchorEl:t,anchorPosition:r,close:n,popupId:o,onMouseLeave:i,disableAutoFocus:a,_openEventType:s}){return{id:o,anchorEl:t,anchorPosition:r,anchorReference:"contextmenu"===s?"anchorPosition":"anchorEl",open:e,onClose:n,onMouseLeave:i,...a&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function WR({isOpen:e,anchorEl:t,anchorPosition:r,close:n,popupId:o,onMouseLeave:i,disableAutoFocus:a,_openEventType:s}){return{id:o,anchorEl:t,anchorPosition:r,anchorReference:"contextmenu"===s?"anchorPosition":"anchorEl",open:e,onClose:n,onMouseLeave:i,...a&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function qR(e,t){const{anchorEl:r,_childPopupState:n}=t;return UR(r,e)||UR(function(e,{popupId:t}){if(!t)return null;const r="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof r.getElementById?r.getElementById(t):null}(e,t),e)||null!=n&&qR(e,n)}function UR(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}let ZR=0;var GR=({popupId:e,...t})=>function({parentPopupState:e,popupId:t,variant:r,disableAutoFocus:o}){const i=(0,n.useRef)(!0);(0,n.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[]);const[a,s]=(0,n.useState)(BR),l=(0,n.useCallback)(e=>{i.current&&s(e)},[]),c=(0,n.useCallback)(e=>l(t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})),[]),u=zR(e=>(a.isOpen?h(e):d(e),a)),d=zR(t=>{const n=t instanceof Element?void 0:t,o=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==n?void 0:n.type))return void l(e=>({...e,_deferNextOpen:!0}));const i=null==n?void 0:n.clientX,a=null==n?void 0:n.clientY,s="number"==typeof i&&"number"==typeof a?{left:i,top:a}:void 0,c=i=>{if(t||i.setAnchorElUsed||"dialog"===r||DR.missingEventOrAnchorEl||(DR.missingEventOrAnchorEl=!0,console.error("[material-ui-popup-state] WARNING","eventOrAnchorEl should be defined if setAnchorEl is not used")),e){if(!e.isOpen)return i;setTimeout(()=>e._setChildPopupState(b))}const a={...i,isOpen:!0,anchorPosition:s,hovered:"mouseover"===(null==n?void 0:n.type)||i.hovered,focused:"focus"===(null==n?void 0:n.type)||i.focused,_openEventType:null==n?void 0:n.type};return null!=n&&n.currentTarget?i.setAnchorElUsed||(a.anchorEl=null==n?void 0:n.currentTarget):o&&(a.anchorEl=o),a};l(e=>e._deferNextOpen?(setTimeout(()=>l(c),0),{...e,_deferNextOpen:!1}):c(e))}),p=t=>{const{_childPopupState:r}=t;return setTimeout(()=>{null==r||r.close(),null==e||e._setChildPopupState(null)}),{...t,isOpen:!1,hovered:!1,focused:!1}},h=zR(e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?l(e=>e._deferNextClose?(setTimeout(()=>l(p),0),{...e,_deferNextClose:!1}):p(e)):l(e=>({...e,_deferNextClose:!0}))}),f=(0,n.useCallback)((e,t)=>{e?d(t):h(t)},[]),m=zR(e=>{const{relatedTarget:t}=e;l(e=>!e.hovered||t instanceof Element&&qR(t,b)?e:e.focused?{...e,hovered:!1}:p(e))}),g=zR(e=>{if(!e)return;const{relatedTarget:t}=e;l(e=>!e.focused||t instanceof Element&&qR(t,b)?e:e.hovered?{...e,focused:!1}:p(e))}),y=(0,n.useCallback)(e=>l(t=>({...t,_childPopupState:e})),[]),b={...a,setAnchorEl:c,popupId:t,variant:r,open:d,close:h,toggle:u,setOpen:f,onBlur:g,onMouseLeave:m,disableAutoFocus:o??Boolean(a.hovered||a.focused),_setChildPopupState:y};return b}({...t,popupId:(0,n.useRef)(e||"eui-popup-"+ZR++).current});da($R)`
width: 105px;
.wp-admin & .MuiInputBase-input,
& .MuiInputBase-input:focus {
background-color: initial;
box-shadow: none;
border: 0;
color: inherit;
outline: 0;
padding: 10px 10px 10px 10px;
&.MuiInputBase-inputSizeSmall {
padding: 8.5px 8px 8.5px 8px;
}
height: 60px;
}
`,da(nk)`
display: flex;
flex-direction: row;
align-items: center;
gap: ${({theme:e})=>e.spacing(4)};
`;function XR(){return(XR=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}).apply(this,arguments)}function KR(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}function YR(e){var t=(0,n.useRef)(e),r=(0,n.useRef)(function(e){t.current&&t.current(e)});return t.current=e,r.current}var JR=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},QR=function(e){return"touches"in e},eI=function(e){return e&&e.ownerDocument.defaultView||self},tI=function(e,t,r){var n=e.getBoundingClientRect(),o=QR(t)?function(e,t){for(var r=0;r<e.length;r++)if(e[r].identifier===t)return e[r];return e[0]}(t.touches,r):t;return{left:JR((o.pageX-(n.left+eI(e).pageXOffset))/n.width),top:JR((o.pageY-(n.top+eI(e).pageYOffset))/n.height)}},rI=function(e){!QR(e)&&e.preventDefault()},nI=n.memo(function(e){var t=e.onMove,r=e.onKey,o=KR(e,["onMove","onKey"]),i=(0,n.useRef)(null),a=YR(t),s=YR(r),l=(0,n.useRef)(null),c=(0,n.useRef)(!1),u=(0,n.useMemo)(function(){var e=function(e){rI(e),(QR(e)?e.touches.length>0:e.buttons>0)&&i.current?a(tI(i.current,e,l.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=c.current,o=eI(i.current),a=r?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,n=i.current;if(n&&(rI(t),!function(e,t){return t&&!QR(e)}(t,c.current)&&n)){if(QR(t)){c.current=!0;var o=t.changedTouches||[];o.length&&(l.current=o[0].identifier)}n.focus(),a(tI(n,t,l.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),s({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]},[s,a]),d=u[0],p=u[1],h=u[2];return(0,n.useEffect)(function(){return h},[h]),n.createElement("div",XR({},o,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:p,tabIndex:0,role:"slider"}))}),oI=function(e){return e.filter(Boolean).join(" ")},iI=function(e){var t=e.color,r=e.left,o=e.top,i=void 0===o?.5:o,a=oI(["react-colorful__pointer",e.className]);return n.createElement("div",{className:a,style:{top:100*i+"%",left:100*r+"%"}},n.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},aI=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},sI={grad:.9,turn:360,rad:360/(2*Math.PI)},lI=function(e){return _I(cI(e))},cI=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?aI(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?aI(parseInt(e.substring(6,8),16)/255,2):1}},uI=function(e,t){return void 0===t&&(t="deg"),Number(e)*(sI[t]||1)},dI=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?hI({h:uI(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},pI=dI,hI=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},fI=function(e){return CI(bI(e))},mI=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:aI(e.h),s:aI(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:aI(o/2),a:aI(n,2)}},gI=function(e){var t=mI(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},yI=function(e){var t=mI(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},bI=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),a=n*(1-r),s=n*(1-(t-i)*r),l=n*(1-(1-t+i)*r),c=i%6;return{r:aI(255*[n,s,a,a,l,n][c]),g:aI(255*[l,n,n,s,a,a][c]),b:aI(255*[a,a,l,n,n,s][c]),a:aI(o,2)}},vI=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?_I({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},xI=vI,wI=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},CI=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=o<1?wI(aI(255*o)):"";return"#"+wI(t)+wI(r)+wI(n)+i},_I=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),a=i-Math.min(t,r,n),s=a?i===t?(r-n)/a:i===r?2+(n-t)/a:4+(t-r)/a:0;return{h:aI(60*(s<0?s+6:s)),s:aI(i?a/i*100:0),v:aI(i/255*100),a:o}},kI=n.memo(function(e){var t=e.hue,r=e.onChange,o=oI(["react-colorful__hue",e.className]);return n.createElement("div",{className:o},n.createElement(nI,{onMove:function(e){r({h:360*e.left})},onKey:function(e){r({h:JR(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":aI(t),"aria-valuemax":"360","aria-valuemin":"0"},n.createElement(iI,{className:"react-colorful__hue-pointer",left:t/360,color:gI({h:t,s:100,v:100,a:1})})))}),AI=n.memo(function(e){var t=e.hsva,r=e.onChange,o={backgroundColor:gI({h:t.h,s:100,v:100,a:1})};return n.createElement("div",{className:"react-colorful__saturation",style:o},n.createElement(nI,{onMove:function(e){r({s:100*e.left,v:100-100*e.top})},onKey:function(e){r({s:JR(t.s+100*e.left,0,100),v:JR(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+aI(t.s)+"%, Brightness "+aI(t.v)+"%"},n.createElement(iI,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:gI(t)})))}),SI=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},jI=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},MI=function(e,t){return e.toLowerCase()===t.toLowerCase()||SI(cI(e),cI(t))};function RI(e,t,r){var o=YR(r),i=(0,n.useState)(function(){return e.toHsva(t)}),a=i[0],s=i[1],l=(0,n.useRef)({color:t,hsva:a});(0,n.useEffect)(function(){if(!e.equal(t,l.current.color)){var r=e.toHsva(t);l.current={hsva:r,color:t},s(r)}},[t,e]),(0,n.useEffect)(function(){var t;SI(a,l.current.hsva)||e.equal(t=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:t},o(t))},[a,e,o]);var c=(0,n.useCallback)(function(e){s(function(t){return Object.assign({},t,e)})},[]);return[a,c]}var II="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,EI=new Map,TI=function(e){II(function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!EI.has(t)){var n=t.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',EI.set(t,n);var o=r.nc;o&&n.setAttribute("nonce",o),t.head.appendChild(n)}},[])},PI=function(e){var t=e.className,r=e.colorModel,o=e.color,i=void 0===o?r.defaultColor:o,a=e.onChange,s=KR(e,["className","colorModel","color","onChange"]),l=(0,n.useRef)(null);TI(l);var c=RI(r,i,a),u=c[0],d=c[1],p=oI(["react-colorful",t]);return n.createElement("div",XR({},s,{ref:l,className:p}),n.createElement(AI,{hsva:u,onChange:d}),n.createElement(kI,{hue:u.h,onChange:d,className:"react-colorful__last-control"}))},LI={defaultColor:"000",toHsva:lI,fromHsva:function(e){return fI({h:e.h,s:e.s,v:e.v,a:1})},equal:MI},OI=function(e){return n.createElement(PI,XR({},e,{colorModel:LI}))},NI=function(e){var t=e.className,r=e.hsva,o=e.onChange,i={backgroundImage:"linear-gradient(90deg, "+yI(Object.assign({},r,{a:0}))+", "+yI(Object.assign({},r,{a:1}))+")"},a=oI(["react-colorful__alpha",t]),s=aI(100*r.a);return n.createElement("div",{className:a},n.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),n.createElement(nI,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:JR(r.a+e.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},n.createElement(iI,{className:"react-colorful__alpha-pointer",left:r.a,color:yI(r)})))},$I=function(e){var t=e.className,r=e.colorModel,o=e.color,i=void 0===o?r.defaultColor:o,a=e.onChange,s=KR(e,["className","colorModel","color","onChange"]),l=(0,n.useRef)(null);TI(l);var c=RI(r,i,a),u=c[0],d=c[1],p=oI(["react-colorful",t]);return n.createElement("div",XR({},s,{ref:l,className:p}),n.createElement(AI,{hsva:u,onChange:d}),n.createElement(kI,{hue:u.h,onChange:d}),n.createElement(NI,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},zI={defaultColor:"0001",toHsva:lI,fromHsva:fI,equal:MI},DI={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:dI,fromHsva:yI,equal:jI},BI={defaultColor:"hsl(0, 0%, 0%)",toHsva:pI,fromHsva:gI,equal:jI},FI={defaultColor:"rgba(0, 0, 0, 1)",toHsva:vI,fromHsva:function(e){var t=bI(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:jI},HI={defaultColor:"rgb(0, 0, 0)",toHsva:xI,fromHsva:function(e){var t=bI(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:jI},VI=/^#?([0-9A-F]{3,8})$/i,WI=function(e){var t=e.color,r=void 0===t?"":t,o=e.onChange,i=e.onBlur,a=e.escape,s=e.validate,l=e.format,c=e.process,u=KR(e,["color","onChange","onBlur","escape","validate","format","process"]),d=(0,n.useState)(function(){return a(r)}),p=d[0],h=d[1],f=YR(o),m=YR(i),g=(0,n.useCallback)(function(e){var t=a(e.target.value);h(t),s(t)&&f(c?c(t):t)},[a,c,s,f]),y=(0,n.useCallback)(function(e){s(e.target.value)||h(a(r)),m(e)},[r,a,s,m]);return(0,n.useEffect)(function(){h(a(r))},[r,a]),n.createElement("input",XR({},u,{value:l?l(p):p,spellCheck:"false",onChange:g,onBlur:y}))},qI=function(e){return"#"+e};da(function(e){var t=e.prefixed,r=e.alpha,o=KR(e,["prefixed","alpha"]),i=(0,n.useCallback)(function(e){return e.replace(/([^0-9A-F]+)/gi,"").substring(0,r?8:6)},[r]),a=(0,n.useCallback)(function(e){return function(e,t){var r=VI.exec(e),n=r?r[1].length:0;return 3===n||6===n||!!t&&4===n||!!t&&8===n}(e,r)},[r]);return n.createElement(WI,XR({},o,{escape:i,format:t?qI:void 0,process:qI,validate:a}))})`
width: 100%;
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 3px;
padding-left: 10px;
`;const UI=["ownerState"],ZI=["variants"],GI=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function XI(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function KI(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const YI=(0,Pe.A)(),JI=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function QI({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function eE(e){return e?(t,r)=>r[e]:null}function tE(e,t,r){let{ownerState:n}=t,o=(0,Me.A)(t,UI);const i="function"==typeof e?e((0,je.A)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap(e=>tE(e,(0,je.A)({ownerState:n},o),r));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,Me.A)(i,ZI);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,je.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,je.A)({ownerState:n},o,n)):e.style;t.push(r?KI((0,er.internal_serializeStyles)(i),r):i)}}),t}return r?KI((0,er.internal_serializeStyles)(i),r):i}const rE=function(e={}){const{themeId:t,defaultTheme:r=YI,rootShouldForwardProp:n=XI,slotShouldForwardProp:o=XI}=e,i=e=>(0,Te.A)((0,je.A)({},e,{theme:QI((0,je.A)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,er.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=eE(JI(l))}=a,p=(0,Me.A)(a,GI),h=s&&s.startsWith("Mui")||l?"components":"custom",f=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let g=XI;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const y=(0,er.default)(e,(0,je.A)({shouldForwardProp:g,label:void 0},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Ie.Q)(e)?n=>{const o=QI({theme:n.theme,defaultTheme:r,themeId:t});return tE(e,(0,je.A)({},n,{theme:o}),o.modularCssLayers?h:void 0)}:e,v=(n,...o)=>{let a=b(n);const l=o?o.map(b):[];s&&d&&l.push(e=>{const n=QI((0,je.A)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach(([t,r])=>{i[t]=tE(r,(0,je.A)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),d(e,i)}),s&&!f&&l.push(e=>{var n;const o=QI((0,je.A)({},e,{defaultTheme:r,themeId:t}));return tE({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,je.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("");a=[...n,...e],a.raw=[...n.raw,...e]}const u=y(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return y.withConfig&&(v.withConfig=y.withConfig),v}}(),nE=rE;var oE=r(1069);const iE=["component","direction","spacing","divider","children","className","useFlexGap"],aE=(0,Pe.A)(),sE=nE("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function lE(e){return mo({props:e,name:"MuiStack",defaultTheme:aE})}function cE(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 uE=({ownerState:e,theme:t})=>{let r=(0,je.A)({display:"flex",flexDirection:"column"},(0,ao.NI)({theme:t},(0,ao.kW)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){const n=(0,oE.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,ao.kW)({values:e.direction,base:o}),a=(0,ao.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 s=(t,r)=>{return e.useFlexGap?{gap:(0,oE._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,oE._W)(n,t)}};var o};r=(0,Ie.A)(r,(0,ao.NI)({theme:t},a,s))}return r=(0,ao.iZ)(t.breakpoints,r),r},dE=function(e={}){const{createStyledComponent:t=sE,useThemeProps:r=lE,componentName:o="MuiStack"}=e,i=t(uE),a=n.forwardRef(function(e,t){const n=r(e),a=(0,so.A)(n),{component:s="div",direction:l="column",spacing:c=0,divider:u,children:d,className:p,useFlexGap:h=!1}=a,f=(0,Me.A)(a,iE),m={direction:l,spacing:c,useFlexGap:h},g=lo({root:["root"]},e=>Co(o,e),{});return(0,Bt.jsx)(i,(0,je.A)({as:s,ownerState:m,ref:t,className:io(g.root,p)},f,{children:u?cE(d,u):d}))});return a}({createStyledComponent:fo("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>go({props:e,name:"MuiStack"})}),pE=dE;function hE(e){return Co("MuiFormControlLabel",e)}const fE=_o("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),mE=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],gE=fo("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${fE.label}`]:t.label},t.root,t[`labelPlacement${Zi(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>(0,je.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${fE.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},{[`& .${fE.label}`]:{[`&.${fE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),yE=fo("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${fE.error}`]:{color:(e.vars||e).palette.error.main}})),bE=n.forwardRef(function(e,t){var r,o;const i=go({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:c,disableTypography:u,label:d,labelPlacement:p="end",required:h,slotProps:f={}}=i,m=(0,Me.A)(i,mE),g=oS(),y=null!=(r=null!=c?c:l.props.disabled)?r:null==g?void 0:g.disabled,b=null!=h?h:l.props.required,v={disabled:y,required:b};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===l.props[e]&&void 0!==i[e]&&(v[e]=i[e])});const x=nS({props:i,muiFormControl:g,states:["error"]}),w=(0,je.A)({},i,{disabled:y,labelPlacement:p,required:b,error:x.error}),C=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:i}=e;return lo({root:["root",r&&"disabled",`labelPlacement${Zi(n)}`,o&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},hE,t)})(w),_=null!=(o=f.typography)?o:s.typography;let k=d;return null==k||k.type===ea||u||(k=(0,Bt.jsx)(ea,(0,je.A)({component:"span"},_,{className:io(C.label,null==_?void 0:_.className),children:k}))),(0,Bt.jsxs)(gE,(0,je.A)({className:io(C.root,a),ownerState:w,ref:t},m,{children:[n.cloneElement(l,v),b?(0,Bt.jsxs)(pE,{display:"block",children:[k,(0,Bt.jsxs)(yE,{ownerState:w,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]}):k]}))});var vE=o().forwardRef((e,t)=>o().createElement(bE,{...e,ref:t}));const xE=da(Hw)(({theme:e,ownerState:t})=>({backgroundColor:kE(e,t.color)})),wE={color:"default"},CE=o().forwardRef((e,t)=>{const{color:r,...n}={...wE,...e},i={color:r};return o().createElement(xE,{...n,ownerState:i,ref:t})});CE.defaultProps=wE;var _E=CE;function kE(e,t="default"){const r="dark"===e.palette.mode;if("default"===t)return e.palette.background.paper;if("primary"===t||"global"===t){const n=e.palette[t];return r?Jr(n.__unstableAccessibleMain,.8):Qr(n.__unstableAccessibleMain,.95)}return qr.includes(t)?r?Jr(e.palette[t].light,.88):Qr(e.palette[t].light,.92):e.palette.background.paper}function AE(e){return Co("PrivateSwitchBase",e)}_o("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const SE=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],jE=fo(Si)(({ownerState:e})=>(0,je.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),ME=fo("input",{shouldForwardProp:ho})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),RE=n.forwardRef(function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:i,defaultChecked:a,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:h,name:f,onBlur:m,onChange:g,onFocus:y,readOnly:b,required:v=!1,tabIndex:x,type:w,value:C}=e,_=(0,Me.A)(e,SE),[k,A]=xS({controlled:n,default:Boolean(a),name:"SwitchBase",state:"checked"}),S=oS();let j=s;S&&void 0===j&&(j=S.disabled);const M="checkbox"===w||"radio"===w,R=(0,je.A)({},e,{checked:k,disabled:j,disableFocusRipple:l,edge:c}),I=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return lo({root:["root",r&&"checked",n&&"disabled",o&&`edge${Zi(o)}`],input:["input"]},AE,t)})(R);return(0,Bt.jsxs)(jE,(0,je.A)({component:"span",className:io(I.root,i),centerRipple:!0,focusRipple:!l,disabled:j,tabIndex:null,role:void 0,onFocus:e=>{y&&y(e),S&&S.onFocus&&S.onFocus(e)},onBlur:e=>{m&&m(e),S&&S.onBlur&&S.onBlur(e)},ownerState:R,ref:t},_,{children:[(0,Bt.jsx)(ME,(0,je.A)({autoFocus:r,checked:n,defaultChecked:a,className:I.input,disabled:j,id:M?d:void 0,name:f,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;A(t),g&&g(e,t)},readOnly:b,ref:h,required:v,ownerState:R,tabIndex:x,type:w},"checkbox"===w&&void 0===C?{}:{value:C},p)),k?o:u]}))}),IE=RE,EE=Yw((0,Bt.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"),TE=Yw((0,Bt.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"),PE=fo("span",{shouldForwardProp:ho})({position:"relative",display:"flex"}),LE=fo(EE)({transform:"scale(1)"}),OE=fo(TE)(({theme:e,ownerState:t})=>(0,je.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})})),NE=function(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=(0,je.A)({},e,{checked:t});return(0,Bt.jsxs)(PE,{className:r.root,ownerState:o,children:[(0,Bt.jsx)(LE,{fontSize:n,className:r.background,ownerState:o}),(0,Bt.jsx)(OE,{fontSize:n,className:r.dot,ownerState:o})]})};function $E(e){return Co("MuiRadio",e)}const zE=_o("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),DE=["checked","checkedIcon","color","icon","name","onChange","size","className"],BE=fo(IE,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${Zi(r.size)}`],t[`color${Zi(r.color)}`]]}})(({theme:e,ownerState:t})=>(0,je.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,Oe.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&&{[`&.${zE.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${zE.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),FE=(0,Bt.jsx)(NE,{checked:!0}),HE=(0,Bt.jsx)(NE,{}),VE=n.forwardRef(function(e,t){var r,o;const i=go({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:s=FE,color:l="primary",icon:c=HE,name:u,onChange:d,size:p="medium",className:h}=i,f=(0,Me.A)(i,DE),m=(0,je.A)({},i,{color:l,size:p}),g=(e=>{const{classes:t,color:r,size:n}=e,o={root:["root",`color${Zi(r)}`,"medium"!==n&&`size${Zi(n)}`]};return(0,je.A)({},t,lo(o,$E,t))})(m),y=n.useContext(wS);let b=a;const v=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}(d,y&&y.onChange);let x=u;return y&&(void 0===b&&(b=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(y.value,i.value)),void 0===x&&(x=y.name)),(0,Bt.jsx)(BE,(0,je.A)({type:"radio",icon:n.cloneElement(c,{fontSize:null!=(r=HE.props.fontSize)?r:p}),checkedIcon:n.cloneElement(s,{fontSize:null!=(o=FE.props.fontSize)?o:p}),ownerState:m,classes:g,name:x,checked:b,onChange:v,ref:t,className:io(g.root,h)},f))}),WE=VE;var qE=o().forwardRef((e,t)=>o().createElement(WE,{...e,ref:t}));function UE(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ZE(e){return e instanceof UE(e).Element||e instanceof Element}function GE(e){return e instanceof UE(e).HTMLElement||e instanceof HTMLElement}function XE(e){return"undefined"!=typeof ShadowRoot&&(e instanceof UE(e).ShadowRoot||e instanceof ShadowRoot)}var KE=Math.max,YE=Math.min,JE=Math.round;function QE(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function eT(){return!/^((?!chrome|android).)*safari/i.test(QE())}function tT(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&GE(e)&&(o=e.offsetWidth>0&&JE(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&JE(n.height)/e.offsetHeight||1);var a=(ZE(e)?UE(e):window).visualViewport,s=!eT()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,c=(n.top+(s&&a?a.offsetTop:0))/i,u=n.width/o,d=n.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function rT(e){var t=UE(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function nT(e){return e?(e.nodeName||"").toLowerCase():null}function oT(e){return((ZE(e)?e.ownerDocument:e.document)||window.document).documentElement}function iT(e){return tT(oT(e)).left+rT(e).scrollLeft}function aT(e){return UE(e).getComputedStyle(e)}function sT(e){var t=aT(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function lT(e,t,r){void 0===r&&(r=!1);var n=GE(t),o=GE(t)&&function(e){var t=e.getBoundingClientRect(),r=JE(t.width)/e.offsetWidth||1,n=JE(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),i=oT(t),a=tT(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&(("body"!==nT(t)||sT(i))&&(s=function(e){return e!==UE(e)&&GE(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:rT(e);var t}(t)),GE(t)?((l=tT(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=iT(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function cT(e){var t=tT(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function uT(e){return"html"===nT(e)?e:e.assignedSlot||e.parentNode||(XE(e)?e.host:null)||oT(e)}function dT(e){return["html","body","#document"].indexOf(nT(e))>=0?e.ownerDocument.body:GE(e)&&sT(e)?e:dT(uT(e))}function pT(e,t){var r;void 0===t&&(t=[]);var n=dT(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=UE(n),a=o?[i].concat(i.visualViewport||[],sT(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(pT(uT(a)))}function hT(e){return["table","td","th"].indexOf(nT(e))>=0}function fT(e){return GE(e)&&"fixed"!==aT(e).position?e.offsetParent:null}function mT(e){for(var t=UE(e),r=fT(e);r&&hT(r)&&"static"===aT(r).position;)r=fT(r);return r&&("html"===nT(r)||"body"===nT(r)&&"static"===aT(r).position)?t:r||function(e){var t=/firefox/i.test(QE());if(/Trident/i.test(QE())&&GE(e)&&"fixed"===aT(e).position)return null;var r=uT(e);for(XE(r)&&(r=r.host);GE(r)&&["html","body"].indexOf(nT(r))<0;){var n=aT(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var gT="top",yT="bottom",bT="right",vT="left",xT="auto",wT=[gT,yT,bT,vT],CT="start",_T="end",kT="viewport",AT="popper",ST=wT.reduce(function(e,t){return e.concat([t+"-"+CT,t+"-"+_T])},[]),jT=[].concat(wT,[xT]).reduce(function(e,t){return e.concat([t,t+"-"+CT,t+"-"+_T])},[]),MT=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function RT(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||o(e)}),n}var IT={placement:"bottom",modifiers:[],strategy:"absolute"};function ET(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function TT(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?IT:o;return function(e,t,r){void 0===r&&(r=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},IT,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(r){var o="function"==typeof r?r(s.options):r;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:ZE(e)?pT(e):e.contextElement?pT(e.contextElement):[],popper:pT(t)};var a,c,p=function(e){var t=RT(e);return MT.reduce(function(e,r){return e.concat(t.filter(function(e){return e.phase===r}))},[])}((a=[].concat(n,s.options.modifiers),c=a.reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=p.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:n});l.push(i||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(ET(t,r)){s.rects={reference:lT(t,mT(r),"fixed"===s.options.strategy),popper:cT(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){d(),c=!0}};if(!ET(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(r).then(function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)}),u}}var PT={passive:!0};const LT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=UE(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",r.update,PT)}),s&&l.addEventListener("resize",r.update,PT),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",r.update,PT)}),s&&l.removeEventListener("resize",r.update,PT)}},data:{}};function OT(e){return e.split("-")[0]}function NT(e){return e.split("-")[1]}function $T(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zT(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?OT(o):null,a=o?NT(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case gT:t={x:s,y:r.y-n.height};break;case yT:t={x:s,y:r.y+r.height};break;case bT:t={x:r.x+r.width,y:l};break;case vT:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?$T(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case CT:t[c]=t[c]-(r[u]/2-n[u]/2);break;case _T:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var DT={top:"auto",right:"auto",bottom:"auto",left:"auto"};function BT(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,f=a.y,m=void 0===f?0:f,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),v=vT,x=gT,w=window;if(c){var C=mT(r),_="clientHeight",k="clientWidth";C===UE(r)&&"static"!==aT(C=oT(r)).position&&"absolute"===s&&(_="scrollHeight",k="scrollWidth"),(o===gT||(o===vT||o===bT)&&i===_T)&&(x=yT,m-=(d&&C===w&&w.visualViewport?w.visualViewport.height:C[_])-n.height,m*=l?1:-1),o!==vT&&(o!==gT&&o!==yT||i!==_T)||(v=bT,h-=(d&&C===w&&w.visualViewport?w.visualViewport.width:C[k])-n.width,h*=l?1:-1)}var A,S=Object.assign({position:s},c&&DT),j=!0===u?function(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:JE(r*o)/o||0,y:JE(n*o)/o||0}}({x:h,y:m},UE(r)):{x:h,y:m};return h=j.x,m=j.y,l?Object.assign({},S,((A={})[x]=b?"0":"",A[v]=y?"0":"",A.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",A)):Object.assign({},S,((t={})[x]=b?m+"px":"",t[v]=y?h+"px":"",t.transform="",t))}const FT={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,l=void 0===s||s,c={placement:OT(t.placement),variation:NT(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,BT(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,BT(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},HT={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];GE(o)&&nT(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});GE(n)&&nT(n)&&(Object.assign(n.style,i),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},VT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=jT.reduce(function(e,r){return e[r]=function(e,t,r){var n=OT(e),o=[vT,gT].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[vT,bT].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}};var WT={left:"right",right:"left",bottom:"top",top:"bottom"};function qT(e){return e.replace(/left|right|bottom|top/g,function(e){return WT[e]})}var UT={start:"end",end:"start"};function ZT(e){return e.replace(/start|end/g,function(e){return UT[e]})}function GT(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&XE(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function XT(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function KT(e,t,r){return t===kT?XT(function(e,t){var r=UE(e),n=oT(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=eT();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+iT(e),y:l}}(e,r)):ZE(t)?function(e,t){var r=tT(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):XT(function(e){var t,r=oT(e),n=rT(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=KE(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=KE(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+iT(e),l=-n.scrollTop;return"rtl"===aT(o||r).direction&&(s+=KE(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(oT(e)))}function YT(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function JT(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function QT(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,a=void 0===i?e.strategy:i,s=r.boundary,l=void 0===s?"clippingParents":s,c=r.rootBoundary,u=void 0===c?kT:c,d=r.elementContext,p=void 0===d?AT:d,h=r.altBoundary,f=void 0!==h&&h,m=r.padding,g=void 0===m?0:m,y=YT("number"!=typeof g?g:JT(g,wT)),b=p===AT?"reference":AT,v=e.rects.popper,x=e.elements[f?b:p],w=function(e,t,r,n){var o="clippingParents"===t?function(e){var t=pT(uT(e)),r=["absolute","fixed"].indexOf(aT(e).position)>=0&&GE(e)?mT(e):e;return ZE(r)?t.filter(function(e){return ZE(e)&>(e,r)&&"body"!==nT(e)}):[]}(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(t,r){var o=KT(e,r,n);return t.top=KE(o.top,t.top),t.right=YE(o.right,t.right),t.bottom=YE(o.bottom,t.bottom),t.left=KE(o.left,t.left),t},KT(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(ZE(x)?x:x.contextElement||oT(e.elements.popper),l,u,a),C=tT(e.elements.reference),_=zT({reference:C,element:v,strategy:"absolute",placement:o}),k=XT(Object.assign({},v,_)),A=p===AT?k:C,S={top:w.top-A.top+y.top,bottom:A.bottom-w.bottom+y.bottom,left:w.left-A.left+y.left,right:A.right-w.right+y.right},j=e.modifiersData.offset;if(p===AT&&j){var M=j[o];Object.keys(S).forEach(function(e){var t=[bT,yT].indexOf(e)>=0?1:-1,r=[gT,yT].indexOf(e)>=0?"y":"x";S[e]+=M[r]*t})}return S}const eP={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,f=void 0===h||h,m=r.allowedAutoPlacements,g=t.options.placement,y=OT(g),b=l||(y!==g&&f?function(e){if(OT(e)===xT)return[];var t=qT(e);return[ZT(e),t,ZT(t)]}(g):[qT(g)]),v=[g].concat(b).reduce(function(e,r){return e.concat(OT(r)===xT?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?jT:l,u=NT(n),d=u?s?ST:ST.filter(function(e){return NT(e)===u}):wT,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var h=p.reduce(function(t,r){return t[r]=QT(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[OT(r)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):r)},[]),x=t.rects.reference,w=t.rects.popper,C=new Map,_=!0,k=v[0],A=0;A<v.length;A++){var S=v[A],j=OT(S),M=NT(S)===CT,R=[gT,yT].indexOf(j)>=0,I=R?"width":"height",E=QT(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=R?M?bT:vT:M?yT:gT;x[I]>w[I]&&(T=qT(T));var P=qT(T),L=[];if(i&&L.push(E[j]<=0),s&&L.push(E[T]<=0,E[P]<=0),L.every(function(e){return e})){k=S,_=!1;break}C.set(S,L)}if(_)for(var O=function(e){var t=v.find(function(t){var r=C.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},N=f?3:1;N>0&&"break"!==O(N);N--);t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function tP(e,t,r){return KE(e,YE(t,r))}const rP={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,h=void 0===p||p,f=r.tetherOffset,m=void 0===f?0:f,g=QT(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=OT(t.placement),b=NT(t.placement),v=!b,x=$T(y),w="x"===x?"y":"x",C=t.modifiersData.popperOffsets,_=t.rects.reference,k=t.rects.popper,A="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(C){if(i){var R,I="y"===x?gT:vT,E="y"===x?yT:bT,T="y"===x?"height":"width",P=C[x],L=P+g[I],O=P-g[E],N=h?-k[T]/2:0,$=b===CT?_[T]:k[T],z=b===CT?-k[T]:-_[T],D=t.elements.arrow,B=h&&D?cT(D):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=F[I],V=F[E],W=tP(0,_[T],B[T]),q=v?_[T]/2-N-W-H-S.mainAxis:$-W-H-S.mainAxis,U=v?-_[T]/2+N+W+V+S.mainAxis:z+W+V+S.mainAxis,Z=t.elements.arrow&&mT(t.elements.arrow),G=Z?"y"===x?Z.clientTop||0:Z.clientLeft||0:0,X=null!=(R=null==j?void 0:j[x])?R:0,K=P+U-X,Y=tP(h?YE(L,P+q-X-G):L,P,h?KE(O,K):O);C[x]=Y,M[x]=Y-P}if(s){var J,Q="x"===x?gT:vT,ee="x"===x?yT:bT,te=C[w],re="y"===w?"height":"width",ne=te+g[Q],oe=te-g[ee],ie=-1!==[gT,vT].indexOf(y),ae=null!=(J=null==j?void 0:j[w])?J:0,se=ie?ne:te-_[re]-k[re]-ae+S.altAxis,le=ie?te+_[re]+k[re]-ae-S.altAxis:oe,ce=h&&ie?function(e,t,r){var n=tP(e,t,r);return n>r?r:n}(se,te,le):tP(h?se:ne,te,h?le:oe);C[w]=ce,M[w]=ce-te}t.modifiersData[n]=M}},requiresIfExists:["offset"]},nP={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=OT(r.placement),l=$T(s),c=[vT,bT].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return YT("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:JT(e,wT))}(o.padding,r),d=cT(i),p="y"===l?gT:vT,h="y"===l?yT:bT,f=r.rects.reference[c]+r.rects.reference[l]-a[l]-r.rects.popper[c],m=a[l]-r.rects.reference[l],g=mT(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=f/2-m/2,v=u[p],x=y-d[c]-u[h],w=y/2-d[c]/2+b,C=tP(v,w,x),_=l;r.modifiersData[n]=((t={})[_]=C,t.centerOffset=C-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&>(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oP(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function iP(e){return[gT,bT,yT,vT].some(function(t){return e[t]>=0})}var aP=TT({defaultModifiers:[LT,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=zT({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},FT,HT,VT,eP,rP,nP,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=QT(t,{elementContext:"reference"}),s=QT(t,{altBoundary:!0}),l=oP(a,n),c=oP(s,o,i),u=iP(l),d=iP(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function sP(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}const lP=e=>e,cP=(()=>{let e=lP;return{configure(t){e=t},generate:t=>e(t),reset(){e=lP}}})(),uP={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 dP(e,t,r="Mui"){const n=uP[t];return n?`${r}-${n}`:`${cP.generate(e)}-${t}`}const pP="base";function hP(e,t){const r=uP[t];return r?`${pP}--${r}`:function(e,t){return`${pP}-${e}-${t}`}(e,t)}const fP="Popper";function mP(e){return hP(fP,e)}!function(e){const t={};["root"].forEach(r=>{t[r]=hP(e,r)})}(fP);const gP={disableDefaultClasses:!1},yP=n.createContext(gP),bP=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],vP=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function xP(e){return"function"==typeof e?e():e}const wP={},CP=n.forwardRef(function(e,t){var r;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:d,popperRef:p,slotProps:h={},slots:f={},TransitionProps:m}=e,g=(0,Me.A)(e,bP),y=n.useRef(null),b=DC(y,t),v=n.useRef(null),x=DC(v,p),w=n.useRef(x);HC(()=>{w.current=x},[x]),n.useImperativeHandle(p,()=>v.current,[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),[_,k]=n.useState(C),[A,S]=n.useState(xP(o));n.useEffect(()=>{v.current&&v.current.forceUpdate()}),n.useEffect(()=>{o&&S(xP(o))},[o]),HC(()=>{if(!A||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{k(e.placement)}}];null!=l&&(e=e.concat(l)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=aP(A,y.current,(0,je.A)({placement:C},d,{modifiers:e}));return w.current(t),()=>{t.destroy(),w.current(null)}},[A,s,l,c,d,C]);const j={placement:_};null!==m&&(j.TransitionProps=m);const M=sP({root:["root"]},function(e){const{disableDefaultClasses:t}=n.useContext(yP);return r=>t?"":e(r)}(mP)),R=null!=(r=f.root)?r:"div",I=FC({elementType:R,externalSlotProps:h.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:b},ownerState:e,className:M.root});return(0,Bt.jsx)(R,(0,je.A)({},I,{children:"function"==typeof i?i(j):i}))}),_P=n.forwardRef(function(e,t){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=wP,popperRef:h,style:f,transition:m=!1,slotProps:g={},slots:y={}}=e,b=(0,Me.A)(e,vP),[v,x]=n.useState(!0);if(!l&&!u&&(!m||v))return null;let w;if(i)w=i;else if(r){const e=xP(r);w=e&&void 0!==e.nodeType?WC(e).body:WC(null).body}const C=u||!l||m&&!v?void 0:"none",_=m?{in:u,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,Bt.jsx)(mk,{disablePortal:s,container:w,children:(0,Bt.jsx)(CP,(0,je.A)({anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:t,open:m?!v:u,placement:d,popperOptions:p,popperRef:h,slotProps:g,slots:y},b,{style:(0,je.A)({position:"fixed",top:0,left:0,display:C},f),TransitionProps:_,children:o}))})});var kP=r(7946);const AP=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],SP=fo(_P,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jP=n.forwardRef(function(e,t){var r;const n=(0,kP.A)(),o=go({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:h,placement:f,popperOptions:m,popperRef:g,transition:y,slots:b,slotProps:v}=o,x=(0,Me.A)(o,AP),w=null!=(r=null==b?void 0:b.root)?r:null==s?void 0:s.Root,C=(0,je.A)({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:h,placement:f,popperOptions:m,popperRef:g,transition:y},x);return(0,Bt.jsx)(SP,(0,je.A)({as:a,direction:null==n?void 0:n.direction,slots:{root:w},slotProps:null!=v?v:l},C,{ref:t}))}),MP=jP;function RP(e){return Co("MuiTooltip",e)}const IP=_o("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),EP=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function TP(e){return Math.round(1e5*e)/1e5}const PP=fo(MP,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>(0,je.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${IP.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${IP.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${IP.arrow}`]:(0,je.A)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${IP.arrow}`]:(0,je.A)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),LP=fo("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${Zi(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>(0,je.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,Oe.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${TP(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${IP.popper}[data-popper-placement*="left"] &`]:(0,je.A)({transformOrigin:"right center"},t.isRtl?(0,je.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,je.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${IP.popper}[data-popper-placement*="right"] &`]:(0,je.A)({transformOrigin:"left center"},t.isRtl?(0,je.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,je.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${IP.popper}[data-popper-placement*="top"] &`]:(0,je.A)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${IP.popper}[data-popper-placement*="bottom"] &`]:(0,je.A)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),OP=fo("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,Oe.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let NP=!1;const $P=new Fo;let zP={x:0,y:0};function DP(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const BP=n.forwardRef(function(e,t){var r,o,i,a,s,l,c,u,d,p,h,f,m,g,y,b,v,x,w;const C=go({props:e,name:"MuiTooltip"}),{arrow:_=!1,children:k,components:A={},componentsProps:S={},describeChild:j=!1,disableFocusListener:M=!1,disableHoverListener:R=!1,disableInteractive:I=!1,disableTouchListener:E=!1,enterDelay:T=100,enterNextDelay:P=0,enterTouchDelay:L=700,followCursor:O=!1,id:N,leaveDelay:$=0,leaveTouchDelay:z=1500,onClose:D,onOpen:B,open:F,placement:H="bottom",PopperComponent:V,PopperProps:W={},slotProps:q={},slots:U={},title:Z,TransitionComponent:G=h_,TransitionProps:X}=C,K=(0,Me.A)(C,EP),Y=n.isValidElement(k)?k:(0,Bt.jsx)("span",{children:k}),J=yo(),Q=Ut(),[ee,te]=n.useState(),[re,ne]=n.useState(null),oe=n.useRef(!1),ie=I||O,ae=Ho(),se=Ho(),le=Ho(),ce=Ho(),[ue,de]=xS({controlled:F,default:!1,name:"Tooltip",state:"open"});let pe=ue;const he=CS(N),fe=n.useRef(),me=zo(()=>{void 0!==fe.current&&(document.body.style.WebkitUserSelect=fe.current,fe.current=void 0),ce.clear()});n.useEffect(()=>me,[me]);const ge=e=>{$P.clear(),NP=!0,de(!0),B&&!pe&&B(e)},ye=zo(e=>{$P.start(800+$,()=>{NP=!1}),de(!1),D&&pe&&D(e),ae.start(J.transitions.duration.shortest,()=>{oe.current=!1})}),be=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),se.clear(),le.clear(),T||NP&&P?se.start(NP?P:T,()=>{ge(e)}):ge(e))},ve=e=>{se.clear(),le.start($,()=>{ye(e)})},{isFocusVisibleRef:xe,onBlur:we,onFocus:Ce,ref:_e}=Ko(),[,ke]=n.useState(!1),Ae=e=>{we(e),!1===xe.current&&(ke(!1),ve(e))},Se=e=>{ee||te(e.currentTarget),Ce(e),!0===xe.current&&(ke(!0),be(e))},Re=e=>{oe.current=!0;const t=Y.props;t.onTouchStart&&t.onTouchStart(e)};n.useEffect(()=>{if(pe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ye(e)}},[ye,pe]);const Ie=$o(Y.ref,_e,te,t);Z||0===Z||(pe=!1);const Ee=n.useRef(),Te={},Pe="string"==typeof Z;j?(Te.title=pe||!Pe||R?null:Z,Te["aria-describedby"]=pe?he:null):(Te["aria-label"]=Pe?Z:null,Te["aria-labelledby"]=pe&&!Pe?he:null);const Le=(0,je.A)({},Te,K,Y.props,{className:io(K.className,Y.props.className),onTouchStart:Re,ref:Ie},O?{onMouseMove:e=>{const t=Y.props;t.onMouseMove&&t.onMouseMove(e),zP={x:e.clientX,y:e.clientY},Ee.current&&Ee.current.update()}}:{}),Oe={};E||(Le.onTouchStart=e=>{Re(e),le.clear(),ae.clear(),me(),fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.start(L,()=>{document.body.style.WebkitUserSelect=fe.current,be(e)})},Le.onTouchEnd=e=>{Y.props.onTouchEnd&&Y.props.onTouchEnd(e),me(),le.start(z,()=>{ye(e)})}),R||(Le.onMouseOver=DP(be,Le.onMouseOver),Le.onMouseLeave=DP(ve,Le.onMouseLeave),ie||(Oe.onMouseOver=be,Oe.onMouseLeave=ve)),M||(Le.onFocus=DP(Se,Le.onFocus),Le.onBlur=DP(Ae,Le.onBlur),ie||(Oe.onFocus=Se,Oe.onBlur=Ae));const Ne=n.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(re),options:{element:re,padding:4}}];return null!=(e=W.popperOptions)&&e.modifiers&&(t=t.concat(W.popperOptions.modifiers)),(0,je.A)({},W.popperOptions,{modifiers:t})},[re,W]),$e=(0,je.A)({},C,{isRtl:Q,arrow:_,disableInteractive:ie,placement:H,PopperComponentProp:V,touch:oe.current}),ze=(e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e;return lo({popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${Zi(i.split("-")[0])}`],arrow:["arrow"]},RP,t)})($e),De=null!=(r=null!=(o=U.popper)?o:A.Popper)?r:PP,Be=null!=(i=null!=(a=null!=(s=U.transition)?s:A.Transition)?a:G)?i:h_,Fe=null!=(l=null!=(c=U.tooltip)?c:A.Tooltip)?l:LP,He=null!=(u=null!=(d=U.arrow)?d:A.Arrow)?u:OP,Ve=Tw(De,(0,je.A)({},W,null!=(p=q.popper)?p:S.popper,{className:io(ze.popper,null==W?void 0:W.className,null==(h=null!=(f=q.popper)?f:S.popper)?void 0:h.className)}),$e),We=Tw(Be,(0,je.A)({},X,null!=(m=q.transition)?m:S.transition),$e),qe=Tw(Fe,(0,je.A)({},null!=(g=q.tooltip)?g:S.tooltip,{className:io(ze.tooltip,null==(y=null!=(b=q.tooltip)?b:S.tooltip)?void 0:y.className)}),$e),Ue=Tw(He,(0,je.A)({},null!=(v=q.arrow)?v:S.arrow,{className:io(ze.arrow,null==(x=null!=(w=q.arrow)?w:S.arrow)?void 0:x.className)}),$e);return(0,Bt.jsxs)(n.Fragment,{children:[n.cloneElement(Y,Le),(0,Bt.jsx)(De,(0,je.A)({as:null!=V?V:MP,placement:H,anchorEl:O?{getBoundingClientRect:()=>({top:zP.y,left:zP.x,right:zP.x,bottom:zP.y,width:0,height:0})}:ee,popperRef:Ee,open:!!ee&&pe,id:he,transition:!0},Oe,Ve,{popperOptions:Ne,children:({TransitionProps:e})=>(0,Bt.jsx)(Be,(0,je.A)({timeout:J.transitions.duration.shorter},e,We,{children:(0,Bt.jsxs)(Fe,(0,je.A)({},qe,{children:[Z,_?(0,Bt.jsx)(He,(0,je.A)({},Ue,{ref:ne})):null]}))}))}))]})}),FP=BP;var HP=o().forwardRef((e,t)=>o().createElement(FP,{...e,ref:t}));const VP=({mode:e})=>{const{iconPosition:t,updateIconPosition:r}=nw(),n=[{value:"top-left",label:(0,kw.__)("Top Left","pojo-accessibility")},..."desktop"===e?[{value:"top-center",label:(0,kw.__)("Top Center","pojo-accessibility")}]:[],{value:"top-right",label:(0,kw.__)("Top Right","pojo-accessibility")},{value:"center-left",label:(0,kw.__)("Center Left","pojo-accessibility")},..."desktop"===e?[{value:"empty"}]:[],{value:"center-right",label:(0,kw.__)("Center Right","pojo-accessibility")},{value:"bottom-left",label:(0,kw.__)("Bottom Left","pojo-accessibility")},..."desktop"===e?[{value:"bottom-center",label:(0,kw.__)("Bottom Center","pojo-accessibility")}]:[],{value:"bottom-right",label:(0,kw.__)("Bottom Right","pojo-accessibility")}];return(0,Bt.jsxs)(rS,{children:[(0,Bt.jsx)(fS,{id:"alignment-matrix-control",color:"secondary",children:(0,Bt.jsx)(Gk,{variant:"subtitle2",marginBottom:3,color:"text.primary",children:(0,kw.__)("Default Position","pojo-accessibility")})}),(0,Bt.jsx)(_E,{color:"info",elevation:0,children:(0,Bt.jsx)(nk,{display:"flex",justifyContent:"center",padding:4,width:"100%",children:(0,Bt.jsx)(_E,{color:"secondary",children:(0,Bt.jsx)(SS,{dir:"ltr","aria-labelledby":"alignment-matrix-control",value:t[e].position,onChange:t=>{r(e,"position",t.target.value),ew(tw.positionButtonClicked,{buttonData:{mode:e,value:t.target.value}})},name:"alignment-matrix-control",sx:{display:"grid",gridTemplateColumns:"desktop"===e?"repeat(3, 1fr)":"repeat(2, 1fr)",gap:1,columnGap:"desktop"===e?6:1,alignItems:"center",borderWidth:5,borderStyle:"solid",borderColor:"secondary.main",borderRadius:1,minWidth:"desktop"===e?"auto":"100px"},children:n.map(e=>"empty"===e.value?(0,Bt.jsx)(nk,{},e.value):(0,Bt.jsx)(HP,{title:e.label,children:(0,Bt.jsx)(vE,{sx:{justifyContent:"center",margin:0},value:e.value,control:(0,Bt.jsx)(qE,{color:"secondary"})})},e.value))})})})})]})},WP=["PX","REM","EM"],qP=[{value:"left",label:(0,kw.__)("To the left","pojo-accessibility")},{value:"right",label:(0,kw.__)("To the right","pojo-accessibility")}],UP=[{value:"top",label:(0,kw.__)("Higher","pojo-accessibility")},{value:"bottom",label:(0,kw.__)("Lower","pojo-accessibility")}],ZP=da(nk)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
margin-top: ${({theme:e})=>e.spacing(2)};
margin-bottom: ${({theme:e,isError:t})=>t?e.spacing(4):"initial"};
transition: all 100ms ease-in-out;
`,GP=da($R)`
width: 200px;
height: 56px;
.wp-admin & .MuiInputBase-input,
& .MuiInputBase-input:focus {
height: 56px;
background-color: initial;
box-shadow: none;
border: 0;
color: inherit;
outline: 0;
padding: 16.5px 14px 16.5px 14px;
&.MuiInputBase-inputSizeSmall {
padding: 8.5px 14px 8.5px 14px;
}
}
`,XP=({type:e,disabled:t,mode:r})=>{const{iconPosition:n,updateExactPosition:o}=nw(),[i,a]=(0,Fn.useState)(0),[s,l]=(0,Fn.useState)(n[r]?.exactPosition[e]?.value),[c,u]=(0,Fn.useState)(s>=5&&s<=550),d=GR({variant:"popover",popupId:"position-settings"});return(0,Bt.jsxs)(ZP,{isError:!c,role:"group","aria-label":(0,kw.sprintf)(
// Translators: %1$s - date, %2$s - time
// Translators: %1$s - date, %2$s - time
(0,kw.__)("%1$s icon %2$s settings","pojo-accessibility"),r,e),children:[(0,Bt.jsx)(GP,{size:"medium",color:"info",error:!c,helperText:c?"":"Invalid value",disabled:t,value:s,onChange:t=>{const i=parseInt(t.target.value,10)||0,a=i>=5&&i<=550;l(t.target.value),u(a),a&&(o(r,e,n[r]?.exactPosition[e]?.direction,i,n[r]?.exactPosition[e]?.unit),ew(tw.handleValueChanged,{positionData:{mode:r,type:e,value:i,unit:n[r]?.exactPosition[e]?.unit,direction:n[r]?.exactPosition[e]?.value}}))},inputProps:{"aria-label":(0,kw.sprintf)(
// Translators: %s - units
// Translators: %s - units
(0,kw.__)("Number of %s","pojo-accessibility"),WP[i]),"aria-describedby":`ea11y-${r}-position-settings`},InputProps:{endAdornment:(0,Bt.jsxs)(OS,{position:"end",children:[(0,Bt.jsx)(Wa,{size:"small",color:"inherit",sx:{font:"inherit",minWidth:"initial"},...HR(d),disabled:t,children:WP[i]}),(0,Bt.jsx)(yj,{MenuListProps:{dense:!0},...WR(d),children:WP.map((t,i)=>(0,Bt.jsx)(ZA,{onClick:()=>(t=>{a(t),o(r,e,n[r]?.exactPosition[e]?.direction,n[r]?.exactPosition[e]?.value,WP[t]),d.close(),ew(tw.handleUnitChanged,{positionData:{mode:r,type:e,unit:WP[t],value:n[r]?.exactPosition[e]?.direction,direction:n[r]?.exactPosition[e]?.value}})})(i),children:t},t))})]})}}),(0,Bt.jsx)(NR,{fullWidth:!0,color:"info",name:(0,kw.__)("Direction","pojo-accessibility"),variant:"outlined",onChange:t=>{o(r,e,t.target.value,n[r]?.exactPosition[e]?.value,n[r]?.exactPosition[e]?.unit),ew(tw.handleDirectionChanged,{positionData:{mode:r,type:e,value:n[r]?.exactPosition[e]?.value,unit:n[r]?.exactPosition[e]?.unit,direction:t.target.value}})},disabled:t,value:n[r]?.exactPosition?.[e].direction,MenuProps:{MenuListProps:{sx:{minWidth:150}},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},children:"horizontal"===e?qP.map(e=>(0,Bt.jsx)(ZA,{value:e.value,children:e.label},e.value)):UP.map(e=>(0,Bt.jsx)(ZA,{value:e.value,children:e.label},e.value))})]})};n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4.75C6.66848 4.75 6.35054 4.8817 6.11612 5.11612C5.8817 5.35054 5.75 5.66848 5.75 6V18C5.75 18.3315 5.8817 18.6495 6.11612 18.8839C6.35054 19.1183 6.66848 19.25 7 19.25H9.615C10.0292 19.25 10.365 19.5858 10.365 20C10.365 20.4142 10.0292 20.75 9.615 20.75H7C6.27065 20.75 5.57118 20.4603 5.05546 19.9445C4.53973 19.4288 4.25 18.7293 4.25 18V6C4.25 5.27065 4.53973 4.57118 5.05546 4.05546C5.57118 3.53973 6.27065 3.25 7 3.25H15C15.7293 3.25 16.4288 3.53973 16.9445 4.05546C17.4603 4.57118 17.75 5.27065 17.75 6V14C17.75 14.4142 17.4142 14.75 17 14.75C16.5858 14.75 16.25 14.4142 16.25 14V6C16.25 5.66848 16.1183 5.35054 15.8839 5.11612C15.6495 4.8817 15.3315 4.75 15 4.75H7ZM8.25 8C8.25 7.58579 8.58579 7.25 9 7.25H13C13.4142 7.25 13.75 7.58579 13.75 8C13.75 8.41421 13.4142 8.75 13 8.75H9C8.58579 8.75 8.25 8.41421 8.25 8ZM8.25 12C8.25 11.5858 8.58579 11.25 9 11.25H11C11.4142 11.25 11.75 11.5858 11.75 12C11.75 12.4142 11.4142 12.75 11 12.75H9C8.58579 12.75 8.25 12.4142 8.25 12ZM20.5303 16.4697C20.8232 16.7626 20.8232 17.2374 20.5303 17.5303L16.5303 21.5303C16.2374 21.8232 15.7626 21.8232 15.4697 21.5303L13.4697 19.5303C13.1768 19.2374 13.1768 18.7626 13.4697 18.4697C13.7626 18.1768 14.2374 18.1768 14.5303 18.4697L16 19.9393L19.4697 16.4697C19.7626 16.1768 20.2374 16.1768 20.5303 16.4697Z"})));var KP=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9461 4.49382C12.7055 3.50206 11.2945 3.50206 11.0539 4.49382L11.0538 4.49421C10.6578 6.12252 8.79686 6.89441 7.36336 6.02285L7.36299 6.02262C6.49035 5.49135 5.49253 6.49022 6.0235 7.3618C6.22619 7.69432 6.34752 8.06998 6.37762 8.45824C6.40773 8.84659 6.34572 9.23656 6.19663 9.59641C6.04755 9.95627 5.8156 10.2758 5.51966 10.5291C5.22378 10.7823 4.8723 10.9621 4.49382 11.0539C3.50206 11.2945 3.50206 12.7055 4.49382 12.9461L4.49422 12.9462C4.87244 13.0382 5.22363 13.2181 5.51923 13.4714C5.81483 13.7246 6.0465 14.0441 6.19542 14.4037C6.34433 14.7633 6.40629 15.153 6.37625 15.5411C6.34621 15.9292 6.22502 16.3047 6.02253 16.6371C5.49145 17.5098 6.49026 18.5074 7.3618 17.9765C7.69431 17.7738 8.06998 17.6525 8.45824 17.6224C8.84659 17.5923 9.23656 17.6543 9.59641 17.8034C9.95627 17.9525 10.2758 18.1844 10.5291 18.4803C10.7823 18.7762 10.9621 19.1277 11.0539 19.5062C11.2945 20.4979 12.7055 20.4979 12.9461 19.5062L12.9462 19.5058C13.0382 19.1276 13.2181 18.7764 13.4714 18.4808C13.7246 18.1852 14.0441 17.9535 14.4037 17.8046C14.7633 17.6557 15.153 17.5937 15.5411 17.6238C15.9292 17.6538 16.3047 17.775 16.6371 17.9775C17.5097 18.5085 18.5074 17.5097 17.9765 16.6382C17.7738 16.3057 17.6525 15.93 17.6224 15.5418C17.5923 15.1534 17.6543 14.7634 17.8034 14.4036C17.9525 14.0437 18.1844 13.7242 18.4803 13.4709C18.7762 13.2177 19.1277 13.0379 19.5062 12.9461C20.4979 12.7055 20.4979 11.2945 19.5062 11.0539L19.5058 11.0538C19.1276 10.9618 18.7764 10.7819 18.4808 10.5286C18.1852 10.2754 17.9535 9.95594 17.8046 9.59631C17.6557 9.23668 17.5937 8.84698 17.6238 8.45889C17.6538 8.07081 17.775 7.69528 17.9775 7.36285C18.5085 6.49025 17.5097 5.49256 16.6382 6.0235C16.3057 6.22619 15.93 6.34752 15.5418 6.37762C15.1534 6.40773 14.7634 6.34572 14.4036 6.19663C14.0437 6.04755 13.7242 5.8156 13.4709 5.51966C13.2177 5.22378 13.0379 4.8723 12.9461 4.49382ZM9.59624 4.13979C10.2079 1.61994 13.7925 1.62007 14.4039 4.14018L14.4039 4.14039C14.44 4.28943 14.5108 4.42783 14.6105 4.54434C14.7102 4.66085 14.836 4.75216 14.9777 4.81086C15.1194 4.86955 15.2729 4.89397 15.4258 4.88211C15.5787 4.87026 15.7266 4.82247 15.8576 4.74264L15.8578 4.7425C18.0722 3.39347 20.6074 5.92764 19.2586 8.14301L19.2585 8.14315C19.1788 8.27403 19.1311 8.42187 19.1193 8.57465C19.1075 8.72744 19.1318 8.88086 19.1905 9.02245C19.2491 9.16404 19.3403 9.28979 19.4567 9.38949C19.573 9.4891 19.7111 9.5599 19.8598 9.59614C22.3801 10.2075 22.3801 13.7925 19.8598 14.4039L19.8596 14.4039C19.7106 14.44 19.5722 14.5108 19.4557 14.6105C19.3392 14.7102 19.2478 14.836 19.1891 14.9777C19.1304 15.1194 19.106 15.2729 19.1179 15.4258C19.1297 15.5787 19.1775 15.7266 19.2574 15.8576L19.2575 15.8578C20.6065 18.0722 18.0724 20.6074 15.857 19.2586L15.8569 19.2585C15.726 19.1788 15.5781 19.1311 15.4253 19.1193C15.2726 19.1075 15.1191 19.1318 14.9776 19.1905C14.836 19.2491 14.7102 19.3403 14.6105 19.4567C14.5109 19.573 14.4401 19.7111 14.4039 19.8598C13.7925 22.3801 10.2075 22.3801 9.59614 19.8598L9.59609 19.8596C9.55998 19.7106 9.48919 19.5722 9.38948 19.4557C9.28977 19.3392 9.16396 19.2478 9.02228 19.1891C8.88061 19.1304 8.72708 19.106 8.57419 19.1179C8.4213 19.1297 8.27337 19.1775 8.14244 19.2574L8.1422 19.2575C5.92778 20.6065 3.39265 18.0724 4.74138 15.857L4.74147 15.8569C4.82118 15.726 4.86889 15.5781 4.88072 15.4253C4.89255 15.2726 4.86816 15.1191 4.80953 14.9776C4.7509 14.836 4.65969 14.7102 4.54332 14.6105C4.42705 14.5109 4.28893 14.4401 4.14018 14.4039C1.61994 13.7925 1.61994 10.2075 4.14018 9.59614L4.14039 9.59609C4.28943 9.55998 4.42783 9.48919 4.54434 9.38948C4.66085 9.28977 4.75216 9.16396 4.81086 9.02228C4.86955 8.88061 4.89397 8.72708 4.88211 8.57419C4.87026 8.4213 4.82247 8.27337 4.74264 8.14244L4.7425 8.1422C3.39354 5.92791 5.92736 3.39294 8.14263 4.74115C8.70903 5.08552 9.4399 4.7816 9.59614 4.14018M12 9.75C10.7574 9.75 9.75 10.7574 9.75 12C9.75 13.2426 10.7574 14.25 12 14.25C13.2426 14.25 14.25 13.2426 14.25 12C14.25 10.7574 13.2426 9.75 12 9.75ZM8.25 12C8.25 9.92893 9.92893 8.25 12 8.25C14.0711 8.25 15.75 9.92893 15.75 12C15.75 14.0711 14.0711 15.75 12 15.75C9.92893 15.75 8.25 14.0711 8.25 12Z"}))),YP=(n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75 2C6.02066 2 5.32118 2.28973 4.80546 2.80546C4.28973 3.32118 4 4.02065 4 4.75V18.75C4 19.4793 4.28973 20.1788 4.80546 20.6945C5.32118 21.2103 6.02065 21.5 6.75 21.5H16.75C17.4793 21.5 18.1788 21.2103 18.6945 20.6945C19.2103 20.1788 19.5 19.4793 19.5 18.75V7.75C19.5 7.55109 19.421 7.36032 19.2803 7.21967L14.2803 2.21967C14.1397 2.07902 13.9489 2 13.75 2H6.75ZM5.86612 3.86612C6.10054 3.6317 6.41848 3.5 6.75 3.5H13V6.75C13 7.21413 13.1844 7.65925 13.5126 7.98744C13.8408 8.31563 14.2859 8.5 14.75 8.5H18V18.75C18 19.0815 17.8683 19.3995 17.6339 19.6339C17.3995 19.8683 17.0815 20 16.75 20H6.75C6.41848 20 6.10054 19.8683 5.86612 19.6339C5.6317 19.3995 5.5 19.0815 5.5 18.75V4.75C5.5 4.41848 5.6317 4.10054 5.86612 3.86612ZM16.9393 7L14.5 4.56066V6.75C14.5 6.8163 14.5263 6.87989 14.5732 6.92678C14.6201 6.97366 14.6837 7 14.75 7H16.9393Z"}),n.createElement("path",{d:"M8.5 12.25C8.08579 12.25 7.75 12.5858 7.75 13C7.75 13.4142 8.08579 13.75 8.5 13.75H15C15.4142 13.75 15.75 13.4142 15.75 13C15.75 12.5858 15.4142 12.25 15 12.25H8.5Z"}),n.createElement("path",{d:"M8.5 16.25C8.08579 16.25 7.75 16.5858 7.75 17C7.75 17.4142 8.08579 17.75 8.5 17.75H15C15.4142 17.75 15.75 17.4142 15.75 17C15.75 16.5858 15.4142 16.25 15 16.25H8.5Z"}))),n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.3803 18.2803C15.6732 17.9874 15.6732 17.5126 15.3803 17.2197L9.91064 11.75L15.3803 6.28033C15.6732 5.98744 15.6732 5.51256 15.3803 5.21967C15.0874 4.92678 14.6125 4.92678 14.3196 5.21967L8.31965 11.2197C8.02675 11.5126 8.02675 11.9874 8.31965 12.2803L14.3196 18.2803C14.6125 18.5732 15.0874 18.5732 15.3803 18.2803Z"}))));function JP(e){return Co("MuiLink",e)}const QP=_o("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var eL=r(4734);const tL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},rL=({theme:e,ownerState:t})=>{const r=(e=>tL[e]||e)(t.color),n=(0,eL.Yn)(e,`palette.${r}`,!1)||t.color,o=(0,eL.Yn)(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,Oe.X4)(n,.4)},nL=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],oL=fo(ea,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${Zi(r.underline)}`],"button"===r.component&&t.button]}})(({theme:e,ownerState:t})=>(0,je.A)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,je.A)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:rL({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${QP.focusVisible}`]:{outline:"auto"}})),iL=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:p}=r,h=(0,Me.A)(r,nL),{isFocusVisibleRef:f,onBlur:m,onFocus:g,ref:y}=Ko(),[b,v]=n.useState(!1),x=$o(t,y),w=(0,je.A)({},r,{color:i,component:a,focusVisible:b,underline:u,variant:d}),C=(e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e;return lo({root:["root",`underline${Zi(o)}`,"button"===r&&"button",n&&"focusVisible"]},JP,t)})(w);return(0,Bt.jsx)(oL,(0,je.A)({color:i,className:io(C.root,o),classes:c,component:a,onBlur:e=>{m(e),!1===f.current&&v(!1),s&&s(e)},onFocus:e=>{g(e),!0===f.current&&v(!0),l&&l(e)},ref:x,ownerState:w,variant:d,sx:[...Object.keys(tL).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},h))}),aL=iL,sL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},lL={color:"primary.main"},cL=o().forwardRef((e,t)=>{const{sx:r={},...n}={...lL,...e},i=yo(),a=((e,t)=>!t.palette.primary.__unstableAccessibleMain||"primary.main"!==e&&"primary"!==e?t.palette.global?.__unstableAccessibleMain&&"global.main"===e?`global.${ge}`:sL[e]||e:`primary.${ge}`)(n.color,i);return o().createElement(aL,{...n,color:a,sx:{[me]:{color:a},...r},ref:t})});cL.defaultProps=lL;var uL=cL;da(nk)`
padding: ${({theme:e})=>e.spacing(2)};
border: 1px solid ${({theme:e})=>e.palette.divider};
margin-left: auto;
margin-right: auto;
max-width: 1200px;
`,da(Lo)`
display: grid;
gap: ${({theme:e})=>e.spacing(5)};
padding: ${({theme:e})=>e.spacing(2)};
grid-template-columns: repeat(2, 1fr);
${({theme:e})=>e.breakpoints.down("lg")} {
grid-template-columns: repeat(1, 1fr);
}
`;n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.82091 5.29117C4.7847 5.3319 4.75 5.40356 4.75 5.5V15.5C4.75 15.5964 4.7847 15.6681 4.82091 15.7088C4.85589 15.7482 4.88124 15.75 4.88889 15.75H19.1111C19.1188 15.75 19.1441 15.7482 19.1791 15.7088C19.2153 15.6681 19.25 15.5964 19.25 15.5V5.5C19.25 5.40356 19.2153 5.3319 19.1791 5.29117C19.1441 5.25181 19.1188 5.25 19.1111 5.25H4.88889C4.88124 5.25 4.85589 5.25181 4.82091 5.29117ZM3.25 5.5C3.25 4.61899 3.90315 3.75 4.88889 3.75H19.1111C20.0968 3.75 20.75 4.61899 20.75 5.5V15.5C20.75 16.381 20.0968 17.25 19.1111 17.25H4.88889C3.90315 17.25 3.25 16.381 3.25 15.5V5.5ZM6.25 19.5C6.25 19.0858 6.58579 18.75 7 18.75H17C17.4142 18.75 17.75 19.0858 17.75 19.5C17.75 19.9142 17.4142 20.25 17 20.25H7C6.58579 20.25 6.25 19.9142 6.25 19.5Z"}))),n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.66667 4.25C8.24587 4.25 7.75 4.66893 7.75 5.38889V18.6111C7.75 19.3311 8.24587 19.75 8.66667 19.75H15.3333C15.7541 19.75 16.25 19.3311 16.25 18.6111V5.38889C16.25 4.66893 15.7541 4.25 15.3333 4.25H13.7073C13.735 4.32819 13.75 4.41234 13.75 4.5C13.75 4.91421 13.4142 5.25 13 5.25H11C10.5858 5.25 10.25 4.91421 10.25 4.5C10.25 4.41234 10.265 4.32819 10.2927 4.25H8.66667ZM6.25 5.38889C6.25 4.02244 7.24652 2.75 8.66667 2.75H15.3333C16.7535 2.75 17.75 4.02244 17.75 5.38889V18.6111C17.75 19.9776 16.7535 21.25 15.3333 21.25H8.66667C7.24652 21.25 6.25 19.9776 6.25 18.6111V5.38889Z"})));function dL(e){return Co("MuiTab",e)}const pL=_o("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),hL=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],fL=fo(Si,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${Zi(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>(0,je.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${pL.iconWrapper}`]:(0,je.A)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${pL.selected}`]:{opacity:1},[`&.${pL.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${pL.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${pL.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${pL.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${pL.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),mL=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:d,onChange:p,onClick:h,onFocus:f,selected:m,selectionFollowsFocus:g,textColor:y="inherit",value:b,wrapped:v=!1}=r,x=(0,Me.A)(r,hL),w=(0,je.A)({},r,{disabled:i,disableFocusRipple:a,selected:m,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:y,wrapped:v}),C=(e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e;return lo({root:["root",i&&a&&"labelIcon",`textColor${Zi(r)}`,n&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]},dL,t)})(w),_=l&&d&&n.isValidElement(l)?n.cloneElement(l,{className:io(C.iconWrapper,l.props.className)}):l;return(0,Bt.jsxs)(fL,(0,je.A)({focusRipple:!a,className:io(C.root,o),ref:t,role:"tab","aria-selected":m,disabled:i,onClick:e=>{!m&&p&&p(e,b),h&&h(e)},onFocus:e=>{g&&!m&&p&&p(e,b),f&&f(e)},ownerState:w,tabIndex:m?0:-1},x,{children:["top"===c||"start"===c?(0,Bt.jsxs)(n.Fragment,{children:[_,d]}):(0,Bt.jsxs)(n.Fragment,{children:[d,_]}),u]}))}),gL=mL,yL={size:"medium"},bL=o().forwardRef((e,t)=>o().createElement(gL,{...yL,...e,ref:t}));bL.defaultProps=yL;const vL=["disablePadding"],{slots:xL,classNames:wL}=mC("TabPanel",["root"]),CL={size:"medium"},_L=da("div",{...xL.root,shouldForwardProp:e=>!vL.includes(e)})({}),kL=o().forwardRef((e,t)=>{const r=go({props:e,name:xL.root.name}),{children:n,hidden:i,...a}=r;return o().createElement(_L,{...CL,...a,ref:t,role:"tabpanel",hidden:i,className:Mw([[wL.root,a.className]])},!i&&n)});kL.defaultProps=CL;let AL;function SL(){if(AL)return AL;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),AL="reverse",e.scrollLeft>0?AL="default":(e.scrollLeft=1,0===e.scrollLeft&&(AL="negative")),document.body.removeChild(e),AL}function jL(e,t){const r=e.scrollLeft;if("rtl"!==t)return r;switch(SL()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function ML(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const RL=["onChange"],IL={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"},EL=Yw((0,Bt.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),TL=Yw((0,Bt.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function PL(e){return Co("MuiTabScrollButton",e)}const LL=_o("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),OL=["className","slots","slotProps","direction","orientation","disabled"],NL=fo(Si,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>(0,je.A)({width:40,flexShrink:0,opacity:.8,[`&.${LL.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),$L=n.forwardRef(function(e,t){var r,n;const o=go({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l}=o,c=(0,Me.A)(o,OL),u=Ut(),d=(0,je.A)({isRtl:u},o),p=(e=>{const{classes:t,orientation:r,disabled:n}=e;return lo({root:["root",r,n&&"disabled"]},PL,t)})(d),h=null!=(r=a.StartScrollButtonIcon)?r:EL,f=null!=(n=a.EndScrollButtonIcon)?n:TL,m=FC({elementType:h,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),g=FC({elementType:f,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return(0,Bt.jsx)(NL,(0,je.A)({component:"div",className:io(p.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===l?(0,Bt.jsx)(h,(0,je.A)({},m)):(0,Bt.jsx)(f,(0,je.A)({},g))}))}),zL=$L;function DL(e){return Co("MuiTabs",e)}const BL=_o("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),FL=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],HL=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,VL=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,WL=(e,t,r)=>{let n=!1,o=r(e,t);for(;o;){if(o===e.firstChild){if(n)return;n=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=r(e,o)}},qL=fo("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${BL.scrollButtons}`]:t.scrollButtons},{[`& .${BL.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>(0,je.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${BL.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),UL=fo("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>(0,je.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),ZL=fo("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>(0,je.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),GL=fo("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>(0,je.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),XL=fo(function(e){const{onChange:t}=e,r=(0,Me.A)(e,RL),o=n.useRef(),i=n.useRef(null),a=()=>{o.current=i.current.offsetHeight-i.current.clientHeight};return Mi(()=>{const e=Ek(()=>{const e=o.current;a(),e!==o.current&&t(o.current)}),r=Pk(i.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}},[t]),n.useEffect(()=>{a(),t(o.current)},[t]),(0,Bt.jsx)("div",(0,je.A)({style:IL,ref:i},r))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),KL={},YL=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTabs"}),o=yo(),i=Ut(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:d,component:p="div",allowScrollButtonsMobile:h=!1,indicatorColor:f="primary",onChange:m,orientation:g="horizontal",ScrollButtonComponent:y=zL,scrollButtons:b="auto",selectionFollowsFocus:v,slots:x={},slotProps:w={},TabIndicatorProps:C={},TabScrollButtonProps:_={},textColor:k="primary",value:A,variant:S="standard",visibleScrollbar:j=!1}=r,M=(0,Me.A)(r,FL),R="scrollable"===S,I="vertical"===g,E=I?"scrollTop":"scrollLeft",T=I?"top":"left",P=I?"bottom":"right",L=I?"clientHeight":"clientWidth",O=I?"height":"width",N=(0,je.A)({},r,{component:p,allowScrollButtonsMobile:h,indicatorColor:f,orientation:g,vertical:I,scrollButtons:b,textColor:k,variant:S,visibleScrollbar:j,fixed:!R,hideScrollbar:R&&!j,scrollableX:R&&!I,scrollableY:R&&I,centered:c&&!R,scrollButtonsHideMobile:!h}),$=(e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return lo({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},DL,l)})(N),z=FC({elementType:x.StartScrollButtonIcon,externalSlotProps:w.startScrollButtonIcon,ownerState:N}),D=FC({elementType:x.EndScrollButtonIcon,externalSlotProps:w.endScrollButtonIcon,ownerState:N}),[B,F]=n.useState(!1),[H,V]=n.useState(KL),[W,q]=n.useState(!1),[U,Z]=n.useState(!1),[G,X]=n.useState(!1),[K,Y]=n.useState({overflow:"hidden",scrollbarWidth:0}),J=new Map,Q=n.useRef(null),ee=n.useRef(null),te=()=>{const e=Q.current;let t,r;if(e){const r=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:jL(e,i?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(e&&!1!==A){const e=ee.current.children;if(e.length>0){const t=e[J.get(A)];r=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:r}},re=zo(()=>{const{tabsMeta:e,tabMeta:t}=te();let r,n=0;if(I)r="top",t&&e&&(n=t.top-e.top+e.scrollTop);else if(r=i?"right":"left",t&&e){const o=i?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;n=(i?-1:1)*(t[r]-e[r]+o)}const o={[r]:n,[O]:t?t[O]:0};if(isNaN(H[r])||isNaN(H[O]))V(o);else{const e=Math.abs(H[r]-o[r]),t=Math.abs(H[O]-o[O]);(e>=1||t>=1)&&V(o)}}),ne=(e,{animation:t=!0}={})=>{t?function(e,t,r,n={},o=()=>{}){const{ease:i=ML,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const u=n=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=n);const d=Math.min(1,(n-s)/a);t[e]=i(d)*(r-l)+l,d>=1?requestAnimationFrame(()=>{o(null)}):requestAnimationFrame(u)};l===r?o(new Error("Element already at target position")):requestAnimationFrame(u)}(E,Q.current,e,{duration:o.transitions.duration.standard}):Q.current[E]=e},oe=e=>{let t=Q.current[E];I?t+=e:(t+=e*(i?-1:1),t*=i&&"reverse"===SL()?-1:1),ne(t)},ie=()=>{const e=Q.current[L];let t=0;const r=Array.from(ee.current.children);for(let n=0;n<r.length;n+=1){const o=r[n];if(t+o[L]>e){0===n&&(t=e);break}t+=o[L]}return t},ae=()=>{oe(-1*ie())},se=()=>{oe(ie())},le=n.useCallback(e=>{Y({overflow:null,scrollbarWidth:e})},[]),ce=zo(e=>{const{tabsMeta:t,tabMeta:r}=te();if(r&&t)if(r[T]<t[T]){const n=t[E]+(r[T]-t[T]);ne(n,{animation:e})}else if(r[P]>t[P]){const n=t[E]+(r[P]-t[P]);ne(n,{animation:e})}}),ue=zo(()=>{R&&!1!==b&&X(!G)});n.useEffect(()=>{const e=Ek(()=>{Q.current&&re()});let t;const r=Pk(Q.current);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ee.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(n=new MutationObserver(r=>{r.forEach(e=>{e.removedNodes.forEach(e=>{var r;null==(r=t)||r.unobserve(e)}),e.addedNodes.forEach(e=>{var r;null==(r=t)||r.observe(e)})}),e(),ue()}),n.observe(ee.current,{childList:!0})),()=>{var o,i;e.clear(),r.removeEventListener("resize",e),null==(o=n)||o.disconnect(),null==(i=t)||i.disconnect()}},[re,ue]),n.useEffect(()=>{const e=Array.from(ee.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&R&&!1!==b){const r=e[0],n=e[t-1],o={root:Q.current,threshold:.99},i=new IntersectionObserver(e=>{q(!e[0].isIntersecting)},o);i.observe(r);const a=new IntersectionObserver(e=>{Z(!e[0].isIntersecting)},o);return a.observe(n),()=>{i.disconnect(),a.disconnect()}}},[R,b,G,null==u?void 0:u.length]),n.useEffect(()=>{F(!0)},[]),n.useEffect(()=>{re()}),n.useEffect(()=>{ce(KL!==H)},[ce,H]),n.useImperativeHandle(l,()=>({updateIndicator:re,updateScrollButtons:ue}),[re,ue]);const de=(0,Bt.jsx)(GL,(0,je.A)({},C,{className:io($.indicator,C.className),ownerState:N,style:(0,je.A)({},H,C.style)}));let pe=0;const he=n.Children.map(u,e=>{if(!n.isValidElement(e))return null;const t=void 0===e.props.value?pe:e.props.value;J.set(t,pe);const r=t===A;return pe+=1,n.cloneElement(e,(0,je.A)({fullWidth:"fullWidth"===S,indicator:r&&!B&&de,selected:r,selectionFollowsFocus:v,onChange:m,textColor:k,value:t},1!==pe||!1!==A||e.props.tabIndex?{}:{tabIndex:0}))}),fe=(()=>{const e={};e.scrollbarSizeListener=R?(0,Bt.jsx)(XL,{onChange:le,className:io($.scrollableX,$.hideScrollbar)}):null;const t=R&&("auto"===b&&(W||U)||!0===b);return e.scrollButtonStart=t?(0,Bt.jsx)(y,(0,je.A)({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:g,direction:i?"right":"left",onClick:ae,disabled:!W},_,{className:io($.scrollButtons,_.className)})):null,e.scrollButtonEnd=t?(0,Bt.jsx)(y,(0,je.A)({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:D},orientation:g,direction:i?"left":"right",onClick:se,disabled:!U},_,{className:io($.scrollButtons,_.className)})):null,e})();return(0,Bt.jsxs)(qL,(0,je.A)({className:io($.root,d),ownerState:N,ref:t,as:p},M,{children:[fe.scrollButtonStart,fe.scrollbarSizeListener,(0,Bt.jsxs)(UL,{className:$.scroller,ownerState:N,style:{overflow:K.overflow,[I?"margin"+(i?"Left":"Right"):"marginBottom"]:j?void 0:-K.scrollbarWidth},ref:Q,children:[(0,Bt.jsx)(ZL,{"aria-label":a,"aria-labelledby":s,"aria-orientation":"vertical"===g?"vertical":null,className:$.flexContainer,ownerState:N,onKeyDown:e=>{const t=ee.current,r=NS(t).activeElement;if("tab"!==r.getAttribute("role"))return;let n="horizontal"===g?"ArrowLeft":"ArrowUp",o="horizontal"===g?"ArrowRight":"ArrowDown";switch("horizontal"===g&&i&&(n="ArrowRight",o="ArrowLeft"),e.key){case n:e.preventDefault(),WL(t,r,VL);break;case o:e.preventDefault(),WL(t,r,HL);break;case"Home":e.preventDefault(),WL(t,null,HL);break;case"End":e.preventDefault(),WL(t,null,VL)}},ref:ee,role:"tablist",children:he}),B&&de]}),fe.scrollButtonEnd]}))}),JL=YL,QL={size:"medium"},eO=o().forwardRef((e,t)=>o().createElement(JL,{...QL,...e,ref:t}));eO.defaultProps=QL;da(Lo)`
padding: ${({theme:e})=>e.spacing(2)};
border: 1px solid ${({theme:e})=>e.palette.divider};
margin-left: auto;
margin-right: auto;
max-width: 1200px;
`;function tO(e){return Co("MuiSwitch",e)}const rO=_o("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),nO=["className","color","edge","size","sx"],oO=Aw(),iO=fo("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${Zi(r.edge)}`],t[`size${Zi(r.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${rO.thumb}`]:{width:16,height:16},[`& .${rO.switchBase}`]:{padding:4,[`&.${rO.checked}`]:{transform:"translateX(16px)"}}}}]}),aO=fo(IE,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${rO.input}`]:t.input},"default"!==r.color&&t[`color${Zi(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${rO.checked}`]:{transform:"translateX(20px)"},[`&.${rO.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${rO.checked} + .${rO.track}`]:{opacity:.5},[`&.${rO.disabled} + .${rO.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${rO.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([t])=>({props:{color:t},style:{[`&.${rO.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rO.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,Oe.a)(e.palette[t].main,.62):(0,Oe.e$)(e.palette[t].main,.55)}`}},[`&.${rO.checked} + .${rO.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),sO=fo("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)})),lO=fo("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),cO=n.forwardRef(function(e,t){const r=oO({props:e,name:"MuiSwitch"}),{className:n,color:o="primary",edge:i=!1,size:a="medium",sx:s}=r,l=(0,Me.A)(r,nO),c=(0,je.A)({},r,{color:o,edge:i,size:a}),u=(e=>{const{classes:t,edge:r,size:n,color:o,checked:i,disabled:a}=e,s=lo({root:["root",r&&`edge${Zi(r)}`,`size${Zi(n)}`],switchBase:["switchBase",`color${Zi(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},tO,t);return(0,je.A)({},t,s)})(c),d=(0,Bt.jsx)(lO,{className:u.thumb,ownerState:c});return(0,Bt.jsxs)(iO,{className:io(u.root,n),sx:s,ownerState:c,children:[(0,Bt.jsx)(aO,(0,je.A)({type:"checkbox",icon:d,checkedIcon:d,ref:t,ownerState:c},l,{classes:(0,je.A)({},u,{root:u.switchBase})})),(0,Bt.jsx)(sO,{className:u.track,ownerState:c})]})}),uO=cO;var dO=o().forwardRef((e,t)=>o().createElement(uO,{...e,ref:t}));function pO(e){return Co("MuiCard",e)}_o("MuiCard",["root"]);const hO=["className","raised"],fO=fo(Hw,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),mO=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCard"}),{className:n,raised:o=!1}=r,i=(0,Me.A)(r,hO),a=(0,je.A)({},r,{raised:o}),s=(e=>{const{classes:t}=e;return lo({root:["root"]},pO,t)})(a);return(0,Bt.jsx)(fO,(0,je.A)({className:io(s.root,n),elevation:o?8:void 0,ref:t,ownerState:a},i))});var gO=o().forwardRef((e,t)=>o().createElement(mO,{...e,ref:t}));function yO(e){return Co("MuiCardContent",e)}_o("MuiCardContent",["root"]);const bO=["className","component"],vO=fo("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),xO=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCardContent"}),{className:n,component:o="div"}=r,i=(0,Me.A)(r,bO),a=(0,je.A)({},r,{component:o}),s=(e=>{const{classes:t}=e;return lo({root:["root"]},yO,t)})(a);return(0,Bt.jsx)(vO,(0,je.A)({as:o,className:io(s.root,n),ownerState:a,ref:t},i))});var wO=o().forwardRef((e,t)=>o().createElement(xO,{...e,ref:t}));function CO(e){return Co("MuiCardHeader",e)}const _O=_o("MuiCardHeader",["root","avatar","action","content","title","subheader"]),kO=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],AO=fo("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,je.A)({[`& .${_O.title}`]:t.title,[`& .${_O.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),SO=fo("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),jO=fo("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),MO=fo("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),RO=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCardHeader"}),{action:n,avatar:o,className:i,component:a="div",disableTypography:s=!1,subheader:l,subheaderTypographyProps:c,title:u,titleTypographyProps:d}=r,p=(0,Me.A)(r,kO),h=(0,je.A)({},r,{component:a,disableTypography:s}),f=(e=>{const{classes:t}=e;return lo({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},CO,t)})(h);let m=u;null==m||m.type===ea||s||(m=(0,Bt.jsx)(ea,(0,je.A)({variant:o?"body2":"h5",className:f.title,component:"span",display:"block"},d,{children:m})));let g=l;return null==g||g.type===ea||s||(g=(0,Bt.jsx)(ea,(0,je.A)({variant:o?"body2":"body1",className:f.subheader,color:"text.secondary",component:"span",display:"block"},c,{children:g}))),(0,Bt.jsxs)(AO,(0,je.A)({className:io(f.root,i),as:a,ref:t,ownerState:h},p,{children:[o&&(0,Bt.jsx)(SO,{className:f.avatar,ownerState:h,children:o}),(0,Bt.jsxs)(MO,{className:f.content,ownerState:h,children:[m,g]}),n&&(0,Bt.jsx)(jO,{className:f.action,ownerState:h,children:n})]}))});var IO=o().forwardRef((e,t)=>o().createElement(RO,{...e,ref:t}));o().forwardRef((e,t)=>o().createElement(BS,{...e,ref:t}));(0,kw.__)("Content Adjustments","pojo-accessibility"),(0,kw.__)("Orientation Adjustments","pojo-accessibility"),(0,kw.__)("Color Adjustments","pojo-accessibility"),da(wO)`
height: 55vh;
overflow: auto;
margin-bottom: ${({theme:e})=>e.spacing(2)};
padding: 0 ${({theme:e})=>e.spacing(2)};
`;const EO=["className","component","disableGutters","fixed","maxWidth","classes"],TO=(0,Pe.A)(),PO=nE("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${(0,Ui.A)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),LO=e=>mo({props:e,name:"MuiContainer",defaultTheme:TO}),OO=function(e={}){const{createStyledComponent:t=PO,useThemeProps:r=LO,componentName:o="MuiContainer"}=e,i=t(({theme:e,ownerState:t})=>(0,je.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{const n=r,o=e.breakpoints.values[n];return 0!==o&&(t[e.breakpoints.up(n)]={maxWidth:`${o}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,je.A)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}})),a=n.forwardRef(function(e,t){const n=r(e),{className:a,component:s="div",disableGutters:l=!1,fixed:c=!1,maxWidth:u="lg"}=n,d=(0,Me.A)(n,EO),p=(0,je.A)({},n,{component:s,disableGutters:l,fixed:c,maxWidth:u}),h=((e,t)=>{const{classes:r,fixed:n,disableGutters:o,maxWidth:i}=e;return lo({root:["root",i&&`maxWidth${(0,Ui.A)(String(i))}`,n&&"fixed",o&&"disableGutters"]},e=>Co(t,e),r)})(p,o);return(0,Bt.jsx)(i,(0,je.A)({as:s,ownerState:p,className:io(h.root,a),ref:t},d))});return a}({createStyledComponent:fo("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${Zi(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>go({props:e,name:"MuiContainer"})}),NO=OO;var $O=o().forwardRef((e,t)=>o().createElement(NO,{...e,ref:t}));const zO=da($O)`
justify-content: center;
display: flex;
`,DO=(0,Fn.memo)(()=>(0,Bt.jsxs)(oA,{speed:fA.SPEED,foregroundColor:fA.FOREGROUND_COLOR,height:497,width:393,children:[(0,Bt.jsx)("rect",{x:"19",y:"18",width:"99.6184",height:"16.2418",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"292",y:"10",width:"32.8412",height:"32.4837",rx:"16.2418",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"244",y:"10",width:"32.8412",height:"32.4837",rx:"16.2418",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"340",y:"10",width:"32.8412",height:"32.4837",rx:"16.2418",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"17",y:"476",width:"134",height:"14",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"324",y:"476",width:"31",height:"14",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"360",y:"476",width:"14.2312",height:"14.0763",rx:"7.03813",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"17",y:"76",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"17",y:"164",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"141",y:"164",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"265",y:"164",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"17",y:"252",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"141",y:"252",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"265",y:"252",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"17",y:"340",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"141",y:"340",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"264",y:"340",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"17",y:"428",width:"109",height:"42",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"141",y:"76",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"265",y:"76",width:"109.471",height:"73.6296",rx:"4",fill:"#D9D9D9"}),(0,Bt.jsx)("line",{y1:"56.5",x2:"393",y2:"56.5",stroke:"#D9D9D9"}),(0,Bt.jsx)("line",{y1:"469.5",x2:"393",y2:"469.5",stroke:"#D9D9D9"})]})),BO=(0,Fn.memo)(({children:e})=>(0,Bt.jsxs)(zO,{children:[(0,Bt.jsx)(DO,{}),e]}));BO.propTypes={children:Y_().node};da(wO)`
margin-right: auto;
margin-left: auto;
margin-top: ${({theme:e})=>e.spacing(4)};
padding: 0 24px;
overflow: auto;
& #ea11y-root {
position: absolute;
top: 0;
left: 0;
right: 0;
transform: scale(70%);
}
& #ea11y-root #ea11y-widget-container {
position: initial;
transform: translateY(0);
}
@media screen and (max-height: 850px) {
& #ea11y-root {
top: -25px;
transform: scale(60%);
}
}
`,da(fC)`
position: absolute;
right: -15px;
top: 20px;
z-index: 999999;
border: 1px solid ${({theme:e})=>e.palette.divider};
background: ${({theme:e})=>e.palette.background.paper};
:hover {
background: #f3f3f4;
}
`,da(Zk,{shouldForwardProp:e=>"open"!==e})`
width: auto;
& .MuiDrawer-paper {
position: relative;
width: ${({open:e})=>e?"260px":"81px"};
height: 100%;
justify-content: space-between;
padding-top: 0;
overflow: visible;
transition: all 0.3s;
}
`;function FO(e){return Co("MuiCardActions",e)}_o("MuiCardActions",["root","spacing"]);const HO=["disableSpacing","className"],VO=fo("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>(0,je.A)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),WO=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCardActions"}),{disableSpacing:n=!1,className:o}=r,i=(0,Me.A)(r,HO),a=(0,je.A)({},r,{disableSpacing:n}),s=(e=>{const{classes:t,disableSpacing:r}=e;return lo({root:["root",!r&&"spacing"]},FO,t)})(a);return(0,Bt.jsx)(VO,(0,je.A)({className:io(s.root,o),ownerState:a,ref:t},i))});var qO=o().forwardRef((e,t)=>o().createElement(WO,{...e,ref:t})),UO=o().forwardRef((e,t)=>o().createElement(QM,{...e,ref:t}));const ZO=da(nk)`
padding: 0;
justify-content: center;
display: flex;
`,GO=(0,Fn.memo)(()=>(0,Bt.jsxs)(oA,{speed:fA.SPEED,foregroundColor:fA.FOREGROUND_COLOR,height:249,width:537,children:[(0,Bt.jsx)("rect",{x:"25",y:"221",width:"191",height:"15",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"444",y:"222",width:"42",height:"15",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"492",y:"219",width:"20",height:"20",rx:"10",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"25",y:"26",width:"152",height:"110",rx:"10",fill:"#D9D9D9"}),(0,Bt.jsx)("path",{d:"M25 0H177V0C177 5.52285 172.523 10 167 10H35C29.4772 10 25 5.52285 25 0V0Z",fill:"#D9D9D9"}),(0,Bt.jsx)("path",{d:"M193 0H345V0C345 5.52285 340.523 10 335 10H203C197.477 10 193 5.52285 193 0V0Z",fill:"#D9D9D9"}),(0,Bt.jsx)("path",{d:"M362 0H514V0C514 5.52285 509.523 10 504 10H372C366.477 10 362 5.52285 362 0V0Z",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"193",y:"26",width:"152",height:"110",rx:"10",fill:"#D9D9D9"}),(0,Bt.jsx)("rect",{x:"362",y:"26",width:"152",height:"110",rx:"10",fill:"#D9D9D9"}),(0,Bt.jsx)("path",{d:"M25 162C25 156.477 29.4772 152 35 152H167C172.523 152 177 156.477 177 162V209H25V162Z",fill:"#D9D9D9"}),(0,Bt.jsx)("line",{y1:"208.5",x2:"536.903",y2:"208.5",stroke:"#D9D9D9"})]})),XO=(0,Fn.memo)(({children:e})=>(0,Bt.jsxs)(ZO,{children:[(0,Bt.jsx)(GO,{}),e]}));XO.propTypes={children:Y_().node};da(nk)`
margin-top: ${({theme:e})=>e.spacing(2)};
border-radius: 4px;
border: 1px solid ${({theme:e})=>e.palette.divider};
height: 250px;
position: relative;
padding: 25px;
overflow: hidden;
& .ea11y-widget-container {
transform: translateY(0);
}
& .ea11y-widget-container--preview {
position: absolute;
}
& .ea11y-widget-content::after {
content: '';
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 40px;
background-color: #fcfdff;
opacity: 0.6;
}
@media screen and (min-width: 480px) {
& .ea11y-widget-container--preview {
bottom: 0;
right: 0;
}
}
`,da(dO)`
input {
height: 56px !important;
}
`,da(nk)`
display: flex;
flex-direction: row;
align-items: start;
justify-content: center;
margin: ${({theme:e})=>e.spacing(2)};
padding: 0;
border-radius: ${({theme:e})=>2*e.shape.borderRadius}px;
`,da(fC)`
padding: ${({theme:e})=>e.spacing(1)} ${({theme:e})=>e.spacing(2)};
background-color: ${({theme:e})=>e.palette.background.paper};
border-radius: 8px;
&:hover {
background-color: ${({theme:e})=>e.palette.action.hover};
}
`,da(nk)`
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
max-height: 100%;
min-height: 50%;
height: 100%;
overflow: hidden;
`,da($O)`
overflow: auto;
max-height: 100%;
padding: ${({theme:e})=>e.spacing(4)};
`,da(nk)`
overflow: auto;
max-height: 100%;
padding: ${({theme:e})=>e.spacing(4)};
width: 100%;
`,da(Gk)`
font-weight: 400;
letter-spacing: 0.25px;
margin-bottom: 16px;
`,da(_E)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 24px;
width: 376px;
min-height: 264px;
border-radius: ${({theme:e})=>e.shape.borderRadius};
box-shadow: ${({theme:e})=>e.shadows[0]};
cursor: pointer;
:hover {
box-shadow: 0 0 15px 0 rgba(37, 99, 235, 0.15);
border-color: ${({theme:e})=>e.palette.info.main};
}
`,da($O)`
display: flex;
flex-direction: column;
align-items: start;
gap: ${({theme:e})=>e.spacing(2)};
overflow: auto;
max-height: 100%;
max-width: 1200px;
width: 100%;
margin-right: auto;
margin-left: auto;
@media (min-width: ${({theme:e})=>e.breakpoints.values.sm}px) {
padding-left: 0;
padding-right: 0;
}
`,da(wO)`
&:last-child {
padding-bottom: 16px;
}
`;var KO=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5C7.44365 3.5 3.75 7.19365 3.75 11.75C3.75 16.3063 7.44365 20 12 20C16.5563 20 20.25 16.3063 20.25 11.75C20.25 7.19365 16.5563 3.5 12 3.5ZM2.25 11.75C2.25 6.36522 6.61522 2 12 2C17.3848 2 21.75 6.36522 21.75 11.75C21.75 17.1348 17.3848 21.5 12 21.5C6.61522 21.5 2.25 17.1348 2.25 11.75ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7H12.01C12.4242 7 12.76 7.33579 12.76 7.75C12.76 8.16421 12.4242 8.5 12.01 8.5H12C11.5858 8.5 11.25 8.16421 11.25 7.75ZM10.25 11.75C10.25 11.3358 10.5858 11 11 11H12C12.4142 11 12.75 11.3358 12.75 11.75V15H13C13.4142 15 13.75 15.3358 13.75 15.75C13.75 16.1642 13.4142 16.5 13 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75V12.5H11C10.5858 12.5 10.25 12.1642 10.25 11.75Z"})));function YO(e){return Co("MuiDialog",e)}const JO=_o("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),QO=n.createContext({}),eN=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],tN=fo(kk,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),rN=fo(Ik,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),nN=fo("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${Zi(r.scroll)}`]]}})(({ownerState:e})=>(0,je.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),oN=fo(Hw,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${Zi(r.scroll)}`],t[`paperWidth${Zi(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>(0,je.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${JO.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${JO.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${JO.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),iN=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDialog"}),o=yo(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:d,disableEscapeKeyDown:p=!1,fullScreen:h=!1,fullWidth:f=!1,maxWidth:m="sm",onBackdropClick:g,onClick:y,onClose:b,open:v,PaperComponent:x=Hw,PaperProps:w={},scroll:C="paper",TransitionComponent:_=vk,transitionDuration:k=i,TransitionProps:A}=r,S=(0,Me.A)(r,eN),j=(0,je.A)({},r,{disableEscapeKeyDown:p,fullScreen:h,fullWidth:f,maxWidth:m,scroll:C}),M=(e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e;return lo({root:["root"],container:["container",`scroll${Zi(r)}`],paper:["paper",`paperScroll${Zi(r)}`,`paperWidth${Zi(String(n))}`,o&&"paperFullWidth",i&&"paperFullScreen"]},YO,t)})(j),R=n.useRef(),I=Qt(s),E=n.useMemo(()=>({titleId:I}),[I]);return(0,Bt.jsx)(rN,(0,je.A)({className:io(M.root,d),closeAfterTransition:!0,components:{Backdrop:tN},componentsProps:{backdrop:(0,je.A)({transitionDuration:k,as:l},c)},disableEscapeKeyDown:p,onClose:b,open:v,ref:t,onClick:e=>{y&&y(e),R.current&&(R.current=null,g&&g(e),b&&b(e,"backdropClick"))},ownerState:j},S,{children:(0,Bt.jsx)(_,(0,je.A)({appear:!0,in:v,timeout:k,role:"presentation"},A,{children:(0,Bt.jsx)(nN,{className:io(M.container),onMouseDown:e=>{R.current=e.target===e.currentTarget},ownerState:j,children:(0,Bt.jsx)(oN,(0,je.A)({as:x,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":I},w,{className:io(M.paper,w.className),ownerState:j,children:(0,Bt.jsx)(QO.Provider,{value:E,children:u})}))})}))}))}),aN=iN;var sN=o().forwardRef((e,t)=>o().createElement(aN,{...e,ref:t}));function lN(e){return Co("MuiDialogActions",e)}_o("MuiDialogActions",["root","spacing"]);const cN=["className","disableSpacing"],uN=fo("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>(0,je.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),dN=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:o=!1}=r,i=(0,Me.A)(r,cN),a=(0,je.A)({},r,{disableSpacing:o}),s=(e=>{const{classes:t,disableSpacing:r}=e;return lo({root:["root",!r&&"spacing"]},lN,t)})(a);return(0,Bt.jsx)(uN,(0,je.A)({className:io(s.root,n),ownerState:a,ref:t},i))});var pN=o().forwardRef((e,t)=>o().createElement(dN,{...e,ref:t}));function hN(e){return Co("MuiDialogContent",e)}function fN(e){return Co("MuiDialogTitle",e)}_o("MuiDialogContent",["root","dividers"]);const mN=_o("MuiDialogTitle",["root"]),gN=["className","dividers"],yN=fo("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>(0,je.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${mN.root} + &`]:{paddingTop:0}})),bN=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDialogContent"}),{className:n,dividers:o=!1}=r,i=(0,Me.A)(r,gN),a=(0,je.A)({},r,{dividers:o}),s=(e=>{const{classes:t,dividers:r}=e;return lo({root:["root",r&&"dividers"]},hN,t)})(a);return(0,Bt.jsx)(yN,(0,je.A)({className:io(s.root,n),ownerState:a,ref:t},i))});var vN=o().forwardRef((e,t)=>o().createElement(bN,{...e,ref:t}));function xN(e){return Co("MuiDialogContentText",e)}_o("MuiDialogContentText",["root"]);const wN=["children","className"],CN=fo(ea,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_N=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDialogContentText"}),{className:n}=r,o=(0,Me.A)(r,wN),i=(e=>{const{classes:t}=e,r=lo({root:["root"]},xN,t);return(0,je.A)({},t,r)})(o);return(0,Bt.jsx)(CN,(0,je.A)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:io(i.root,n)},r,{classes:i}))});o().forwardRef((e,t)=>o().createElement(_N,{...e,ref:t}));function kN(e){return Co("MuiAppBar",e)}_o("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const AN=["className","color","enableColorOnDark","position"],SN=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,jN=fo(Hw,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${Zi(r.position)}`],t[`color${Zi(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,je.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,je.A)({},"default"===t.color&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,je.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,je.A)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:SN(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:SN(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:SN(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:SN(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),MN=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiAppBar"}),{className:n,color:o="primary",enableColorOnDark:i=!1,position:a="fixed"}=r,s=(0,Me.A)(r,AN),l=(0,je.A)({},r,{color:o,position:a,enableColorOnDark:i}),c=(e=>{const{color:t,position:r,classes:n}=e;return lo({root:["root",`color${Zi(t)}`,`position${Zi(r)}`]},kN,n)})(l);return(0,Bt.jsx)(jN,(0,je.A)({square:!0,component:"header",ownerState:l,elevation:4,className:io(c.root,n,"fixed"===a&&"mui-fixed"),ref:t},s))}),RN=MN;var IN=o().forwardRef((e,t)=>o().createElement(RN,{...e,ref:t}));function EN(e){return Co("MuiToolbar",e)}_o("MuiToolbar",["root","gutters","regular","dense"]);const TN=["className","component","disableGutters","variant"],PN=fo("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,je.A)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48}),({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar),LN=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiToolbar"}),{className:n,component:o="div",disableGutters:i=!1,variant:a="regular"}=r,s=(0,Me.A)(r,TN),l=(0,je.A)({},r,{component:o,disableGutters:i,variant:a}),c=(e=>{const{classes:t,disableGutters:r,variant:n}=e;return lo({root:["root",!r&&"gutters",n]},EN,t)})(l);return(0,Bt.jsx)(PN,(0,je.A)({as:o,className:io(c.root,n),ref:t,ownerState:l},s))});var ON=o().forwardRef((e,t)=>o().createElement(LN,{...e,ref:t})),NN=o().forwardRef((e,t)=>o().createElement(pE,{...e,ref:t}));const $N=da(e=>o().createElement(cw,{viewBox:"0 0 32 32",...e},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.69648 24.8891C0.938383 22.2579 0 19.1645 0 16C0 11.7566 1.68571 7.68687 4.68629 4.68629C7.68687 1.68571 11.7566 0 16 0C19.1645 0 22.2579 0.938383 24.8891 2.69648C27.5203 4.45459 29.5711 6.95344 30.7821 9.87706C31.9931 12.8007 32.3099 16.0177 31.6926 19.1214C31.0752 22.2251 29.5514 25.0761 27.3137 27.3137C25.0761 29.5514 22.2251 31.0752 19.1214 31.6926C16.0177 32.3099 12.8007 31.9931 9.87706 30.7821C6.95344 29.5711 4.45459 27.5203 2.69648 24.8891ZM12.0006 9.33281H9.33437V22.6665H12.0006V9.33281ZM22.6657 9.33281H14.6669V11.9991H22.6657V9.33281ZM22.6657 14.6654H14.6669V17.3316H22.6657V14.6654ZM22.6657 20.0003H14.6669V22.6665H22.6657V20.0003Z"})))(({theme:e})=>({width:e.spacing(3),height:e.spacing(3),"& path":{fill:e.palette.text.primary},marginRight:e.spacing(1)})),zN=da("span")(({theme:e})=>({marginRight:e.spacing(1)})),DN=({logo:e,...t})=>!1===e?null:e?o().createElement(zN,null,e):o().createElement($N,{...t}),{slots:BN,classNames:FN}=mC("DialogHeader",["root","logo","toolbar"]),HN=da(IN,BN.root)({"& .MuiDialogTitle-root":{padding:0}}),VN=da(ON,BN.toolbar)({}),WN={color:"transparent",position:"relative"},qN=o().forwardRef((e,t)=>{const r=go({props:{...WN,...e},name:BN.root.name}),{slotProps:n={},logo:i,onClose:a,...s}=r;return o().createElement(HN,{...s,ref:t,className:Mw([[FN.root,s.className]]),ownerState:r},o().createElement(VN,{variant:"dense",...n.toolbar,className:Mw([FN.toolbar,n.toolbar?.className]),ownerState:r},o().createElement(DN,{logo:i,className:Mw([FN.logo,n.logo?.className])}),o().createElement(NN,{direction:"row",alignItems:"center",flex:1},r.children),a&&o().createElement(_C,{edge:"end",onClick:a,sx:{"&.MuiButtonBase-root":{ml:.5}}})))});qN.defaultProps=WN;var UN=qN;const ZN=["className","id"],GN=fo(ea,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),XN=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiDialogTitle"}),{className:o,id:i}=r,a=(0,Me.A)(r,ZN),s=r,l=(e=>{const{classes:t}=e;return lo({root:["root"]},fN,t)})(s),{titleId:c=i}=n.useContext(QO);return(0,Bt.jsx)(GN,(0,je.A)({component:"h2",className:io(l.root,o),ownerState:s,ref:t,variant:"h6",id:null!=i?i:c},a))}),KN={variant:"subtitle1"},YN=o().forwardRef((e,t)=>o().createElement(XN,{...KN,...e,ref:t}));YN.defaultProps=KN;var JN=o().forwardRef((e,t)=>o().createElement(MP,{...e,ref:t}));const{slots:QN,classNames:e$}=mC("Infotip",["root","popper"]),t$=da(HP,QN.root)({}),r$=da(JN,QN.popper)(({theme:e,color:t})=>{const r=function(e,t){if(!e||"default"===e)return t.palette.background.paper;return("dark"===t.palette.mode?Jr:Qr)(t.palette[e].light,.9)}(t,e);return{"& .MuiTooltip-tooltip":{padding:0,minHeight:48,minWidth:80,maxWidth:"initial",backgroundColor:r,borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[3],color:e.palette.text.primary,boxShadow:"0px 0px 10px 4px rgba(0,0,0,0.03),6px 0px 10px 4px rgba(0,0,0,0.03),-6px 0px 10px 4px rgba(0,0,0,0.03),0px 6px 10px 4px rgba(0,0,0,0.03)"},"& .MuiTooltip-arrow":{color:r,fontSize:"1.2rem"},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{marginTop:e.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementRight":{marginLeft:e.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementLeft":{marginRight:e.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementTop":{marginBottom:e.spacing(2)}}}),n$=o().forwardRef((e,t)=>{const r=go({props:e,name:QN.root.name}),[i,a]=(0,n.useState)(!1),[s,l]=(0,n.useState)(null),{children:c,content:u,PopperProps:d={},color:p,...h}=r;return(0,n.useEffect)(()=>{const e=()=>a(!0),t=()=>a(!1);return s&&(s.addEventListener("mouseenter",e),s.addEventListener("mouseleave",t)),()=>{s&&(s.removeEventListener("mouseenter",e),s.removeEventListener("mouseleave",t))}},[s]),o().createElement(t$,{disableFocusListener:i,...h,ref:t,title:u,ownerState:r,PopperComponent:r$,PopperProps:{role:"presentation",ref:l,...d,className:Mw([[e$.root,h.className]]),color:p}},c)});var o$=n$;n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.25 11.75C2.25 6.36522 6.61522 2 12 2C17.3848 2 21.75 6.36522 21.75 11.75C21.75 17.1348 17.3848 21.5 12 21.5C6.61522 21.5 2.25 17.1348 2.25 11.75ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7H12.01C12.4242 7 12.76 7.33579 12.76 7.75C12.76 8.16421 12.4242 8.5 12.01 8.5H12C11.5858 8.5 11.25 8.16421 11.25 7.75ZM10.25 11.75C10.25 11.3358 10.5858 11 11 11H12C12.4142 11 12.75 11.3358 12.75 11.75V15H13C13.4142 15 13.75 15.3358 13.75 15.75C13.75 16.1642 13.4142 16.5 13 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75V12.5H11C10.5858 12.5 10.25 12.1642 10.25 11.75Z"})));var i$=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.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"})));function a$(e){return Co("MuiAlertTitle",e)}_o("MuiAlertTitle",["root"]);const s$=["className"],l$=Aw(),c$=fo(ea,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),u$=n.forwardRef(function(e,t){const r=l$({props:e,name:"MuiAlertTitle"}),{className:n}=r,o=(0,Me.A)(r,s$),i=r,a=(e=>{const{classes:t}=e;return lo({root:["root"]},a$,t)})(i);return(0,Bt.jsx)(c$,(0,je.A)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:io(a.root,n)},o))});var d$=o().forwardRef((e,t)=>o().createElement(u$,{...e,ref:t}));function p$(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function h$(e){return function(){return e}}function f$(e){this._context=e}Array.prototype.slice,f$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};const m$=Math.PI,g$=2*m$,y$=1e-6,b$=g$-y$;function v$(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class x${constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?v$:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return v$;const r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,o,i){this._append`C${+e},${+t},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(e,t,r,n,o){if(e=+e,t=+t,r=+r,n=+n,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,s=r-e,l=n-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>y$)if(Math.abs(u*s-l*c)>y$&&o){let p=r-i,h=n-a,f=s*s+l*l,m=p*p+h*h,g=Math.sqrt(f),y=Math.sqrt(d),b=o*Math.tan((m$-Math.acos((f+d-m)/(2*g*y)))/2),v=b/y,x=b/g;Math.abs(v-1)>y$&&this._append`L${e+v*c},${t+v*u}`,this._append`A${o},${o},0,0,${+(u*p>c*h)},${this._x1=e+x*s},${this._y1=t+x*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,r,n,o,i){if(e=+e,t=+t,i=!!i,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),s=r*Math.sin(n),l=e+a,c=t+s,u=1^i,d=i?n-o:o-n;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>y$||Math.abs(this._y1-c)>y$)&&this._append`L${l},${c}`,r&&(d<0&&(d=d%g$+g$),d>b$?this._append`A${r},${r},0,1,${u},${e-a},${t-s}A${r},${r},0,1,${u},${this._x1=l},${this._y1=c}`:d>y$&&this._append`A${r},${r},0,${+(d>=m$)},${u},${this._x1=e+r*Math.cos(o)},${this._y1=t+r*Math.sin(o)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function w$(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{const e=Math.floor(r);if(!(e>=0))throw new RangeError(`invalid digits: ${r}`);t=e}return e},()=>new x$(t)}const C$=n.createContext({isInitialized:!1,data:{xAxis:{},yAxis:{},xAxisIds:[],yAxisIds:[]}}),_$=()=>{const{data:e}=n.useContext(C$);return e};function k$(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=k$(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const A$=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=k$(e))&&(n&&(n+=" "),n+=t);return n},S$=function(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},j$=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=A$(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=(0,je.A)({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=(0,je.A)({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(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}((0,je.A)({},o,n)),s=S$(n),l=S$(o),c=t(a),u=A$(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),d=(0,je.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),p=(0,je.A)({},c,r,l,s);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}},M$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"],R$=function(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=(0,Me.A)(e,M$),s=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:l,internalRef:c}=j$((0,je.A)({},a,{externalSlotProps:s})),u=DC(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return function(e,t,r){return void 0===e||"string"==typeof e?t:(0,je.A)({},t,{ownerState:(0,je.A)({},t.ownerState,r)})}(r,(0,je.A)({},l,{ref:u}),o)};function I$(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=dP(e,t,r)}),n}const E$=n.createContext({item:null,axis:{x:null,y:null},useVoronoiInteraction:!1,dispatch:()=>null}),T$=(e,t)=>{switch(t.type){case"enterItem":return(0,je.A)({},e,{item:t.data});case"exitChart":return null===e.item&&null===e.axis.x&&null===e.axis.y?e:(0,je.A)({},e,{axis:{x:null,y:null},item:null});case"updateVoronoiUsage":return(0,je.A)({},e,{useVoronoiInteraction:t.useVoronoiInteraction});case"leaveItem":return null===e.item||Object.keys(t.data).some(r=>t.data[r]!==e.item[r])?e:(0,je.A)({},e,{item:null});case"updateAxis":return t.data.x===e.axis.x&&t.data.y===e.axis.y?e:(0,je.A)({},e,{axis:t.data});default:return e}};function P$(e){const{children:t}=e,[r,o]=n.useReducer(T$,{item:null,axis:{x:null,y:null},useVoronoiInteraction:!1}),i=n.useMemo(()=>(0,je.A)({},r,{dispatch:o}),[r]);return(0,Bt.jsx)(E$.Provider,{value:i,children:t})}const L$=n.createContext({isInitialized:!1,data:{highlightedItem:null,setHighlighted:()=>{},clearHighlighted:()=>{},isHighlighted:()=>!1,isFaded:()=>!1}});function O$(){const{isInitialized:e,data:t}=n.useContext(L$);if(!e)throw new Error(["MUI X: Could not find the highlighted ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t}const N$=e=>{const{dispatch:t}=n.useContext(E$),{setHighlighted:r,clearHighlighted:o}=O$();return e?()=>({}):e=>({onPointerEnter:()=>{t({type:"enterItem",data:e}),r({seriesId:e.seriesId,dataIndex:e.dataIndex})},onPointerLeave:r=>{r.currentTarget.hasPointerCapture(r.pointerId)&&r.currentTarget.releasePointerCapture(r.pointerId),t({type:"leaveItem",data:e}),o()},onPointerDown:e=>{e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId)}})};var $$=Q$(),z$=e=>X$(e,$$),D$=Q$();z$.write=e=>X$(e,D$);var B$=Q$();z$.onStart=e=>X$(e,B$);var F$=Q$();z$.onFrame=e=>X$(e,F$);var H$=Q$();z$.onFinish=e=>X$(e,H$);var V$=[];z$.setTimeout=(e,t)=>{const r=z$.now()+t,n=()=>{const e=V$.findIndex(e=>e.cancel==n);~e&&V$.splice(e,1),Z$-=~e?1:0},o={time:r,handler:e,cancel:n};return V$.splice(W$(r),0,o),Z$+=1,K$(),o};var W$=e=>~(~V$.findIndex(t=>t.time>e)||~V$.length);z$.cancel=e=>{B$.delete(e),F$.delete(e),H$.delete(e),$$.delete(e),D$.delete(e)},z$.sync=e=>{G$=!0,z$.batchedUpdates(e),G$=!1},z$.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...e){t=e,z$.onStart(r)}return n.handler=e,n.cancel=()=>{B$.delete(r),t=null},n};var q$="undefined"!=typeof window?window.requestAnimationFrame:()=>{};z$.use=e=>q$=e,z$.now="undefined"!=typeof performance?()=>performance.now():Date.now,z$.batchedUpdates=e=>e(),z$.catch=console.error,z$.frameLoop="always",z$.advance=()=>{"demand"!==z$.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):J$()};var U$=-1,Z$=0,G$=!1;function X$(e,t){G$?(t.delete(e),e(0)):(t.add(e),K$())}function K$(){U$<0&&(U$=0,"demand"!==z$.frameLoop&&q$(Y$))}function Y$(){~U$&&(q$(Y$),z$.batchedUpdates(J$))}function J$(){const e=U$;U$=z$.now();const t=W$(U$);t&&(ez(V$.splice(0,t),e=>e.handler()),Z$-=t),Z$?(B$.flush(),$$.flush(e?Math.min(64,U$-e):16.667),F$.flush(),D$.flush(),H$.flush()):U$=-1}function Q$(){let e=new Set,t=e;return{add(r){Z$+=t!=e||e.has(r)?0:1,e.add(r)},delete:r=>(Z$-=t==e&&e.has(r)?1:0,e.delete(r)),flush(r){t.size&&(e=new Set,Z$-=t.size,ez(t,t=>t(r)&&e.add(t)),Z$+=e.size,t=e)}}}function ez(e,t){e.forEach(e=>{try{t(e)}catch(e){z$.catch(e)}})}var tz=Object.defineProperty,rz={};function nz(){}((e,t)=>{for(var r in t)tz(e,r,{get:t[r],enumerable:!0})})(rz,{assign:()=>yz,colors:()=>fz,createStringInterpolator:()=>uz,skipAnimation:()=>mz,to:()=>dz,willAdvance:()=>gz});var oz={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function iz(e,t){if(oz.arr(e)){if(!oz.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}var az=(e,t)=>e.forEach(t);function sz(e,t,r){if(oz.arr(e))for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);else for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}var lz=e=>oz.und(e)?[]:oz.arr(e)?e:[e];function cz(e,t){if(e.size){const r=Array.from(e);e.clear(),az(r,t)}}var uz,dz,pz=(e,...t)=>cz(e,e=>e(...t)),hz=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),fz=null,mz=!1,gz=nz,yz=e=>{e.to&&(dz=e.to),e.now&&(z$.now=e.now),void 0!==e.colors&&(fz=e.colors),null!=e.skipAnimation&&(mz=e.skipAnimation),e.createStringInterpolator&&(uz=e.createStringInterpolator),e.requestAnimationFrame&&z$.use(e.requestAnimationFrame),e.batchedUpdates&&(z$.batchedUpdates=e.batchedUpdates),e.willAdvance&&(gz=e.willAdvance),e.frameLoop&&(z$.frameLoop=e.frameLoop)},bz=new Set,vz=[],xz=[],wz=0,Cz={get idle(){return!bz.size&&!vz.length},start(e){wz>e.priority?(bz.add(e),z$.onStart(_z)):(kz(e),z$(Sz))},advance:Sz,sort(e){if(wz)z$.onFrame(()=>Cz.sort(e));else{const t=vz.indexOf(e);~t&&(vz.splice(t,1),Az(e))}},clear(){vz=[],bz.clear()}};function _z(){bz.forEach(kz),bz.clear(),z$(Sz)}function kz(e){vz.includes(e)||Az(e)}function Az(e){vz.splice(function(t){const r=t.findIndex(t=>t.priority>e.priority);return r<0?t.length:r}(vz),0,e)}function Sz(e){const t=xz;for(let r=0;r<vz.length;r++){const n=vz[r];wz=n.priority,n.idle||(gz(n),n.advance(e),n.idle||t.push(n))}return wz=0,(xz=vz).length=0,(vz=t).length>0}var jz="[-+]?\\d*\\.?\\d+",Mz=jz+"%";function Rz(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Iz=new RegExp("rgb"+Rz(jz,jz,jz)),Ez=new RegExp("rgba"+Rz(jz,jz,jz,jz)),Tz=new RegExp("hsl"+Rz(jz,Mz,Mz)),Pz=new RegExp("hsla"+Rz(jz,Mz,Mz,jz)),Lz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Oz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Nz=/^#([0-9a-fA-F]{6})$/,$z=/^#([0-9a-fA-F]{8})$/;function zz(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Dz(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,o=2*r-n,i=zz(o,n,e+1/3),a=zz(o,n,e),s=zz(o,n,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Bz(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Fz(e){return(parseFloat(e)%360+360)%360/360}function Hz(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Vz(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Wz(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Nz.exec(e))?parseInt(t[1]+"ff",16)>>>0:fz&&void 0!==fz[e]?fz[e]:(t=Iz.exec(e))?(Bz(t[1])<<24|Bz(t[2])<<16|Bz(t[3])<<8|255)>>>0:(t=Ez.exec(e))?(Bz(t[1])<<24|Bz(t[2])<<16|Bz(t[3])<<8|Hz(t[4]))>>>0:(t=Lz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=$z.exec(e))?parseInt(t[1],16)>>>0:(t=Oz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Tz.exec(e))?(255|Dz(Fz(t[1]),Vz(t[2]),Vz(t[3])))>>>0:(t=Pz.exec(e))?(Dz(Fz(t[1]),Vz(t[2]),Vz(t[3]))|Hz(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var qz=(e,t,r)=>{if(oz.fun(e))return e;if(oz.arr(e))return qz({range:e,output:t,extrapolate:r});if(oz.str(e.output[0]))return uz(e);const n=e,o=n.output,i=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(e=>e);return e=>{const t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,i);return function(e,t,r,n,o,i,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>r){if("identity"===s)return c;"clamp"===s&&(c=r)}return n===o?n:t===r?e<=t?n:o:(t===-1/0?c=-c:r===1/0?c-=t:c=(c-t)/(r-t),c=i(c),n===-1/0?c=-c:o===1/0?c+=n:c=c*(o-n)+n,c)}(e,i[t],i[t+1],o[t],o[t+1],l,a,s,n.map)}},Uz=1.70158,Zz=1.525*Uz,Gz=Uz+1,Xz=2*Math.PI/3,Kz=2*Math.PI/4.5,Yz=e=>{const t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?t*(e-=1.5/r)*e+.75:e<2.5/r?t*(e-=2.25/r)*e+.9375:t*(e-=2.625/r)*e+.984375},Jz={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Gz*e*e*e-Uz*e*e,easeOutBack:e=>1+Gz*Math.pow(e-1,3)+Uz*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Zz)/2:(Math.pow(2*e-2,2)*((Zz+1)*(2*e-2)+Zz)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Xz),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Xz)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Kz)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Kz)/2+1,easeInBounce:e=>1-Yz(1-e),easeOutBounce:Yz,easeInOutBounce:e=>e<.5?(1-Yz(1-2*e))/2:(1+Yz(2*e-1))/2,steps:(e,t="end")=>r=>{const n=(r="end"===t?Math.min(r,.999):Math.max(r,.001))*e;return((e,t,r)=>Math.min(Math.max(r,0),1))(0,0,("end"===t?Math.floor(n):Math.ceil(n))/e)}},Qz=Symbol.for("FluidValue.get"),eD=Symbol.for("FluidValue.observers"),tD=e=>Boolean(e&&e[Qz]),rD=e=>e&&e[Qz]?e[Qz]():e,nD=e=>e[eD]||null;function oD(e,t){const r=e[eD];r&&r.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var iD=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");aD(this,e)}},aD=(e,t)=>uD(e,Qz,t);function sD(e,t){if(e[Qz]){let r=e[eD];r||uD(e,eD,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function lD(e,t){const r=e[eD];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[eD]=null,e.observerRemoved&&e.observerRemoved(n,t)}}var cD,uD=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),dD=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,pD=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,hD=new RegExp(`(${dD.source})(%|[a-z]+)`,"i"),fD=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,mD=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,gD=e=>{const[t,r]=yD(e);if(!t||hz())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){return window.getComputedStyle(document.documentElement).getPropertyValue(r)||e}return r&&mD.test(r)?gD(r):r||e},yD=e=>{const t=mD.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]},bD=(e,t,r,n,o)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${o})`,vD=e=>{cD||(cD=fz?new RegExp(`(${Object.keys(fz).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>rD(e).replace(mD,gD).replace(pD,Wz).replace(cD,Wz)),r=t.map(e=>e.match(dD).map(Number)),n=r[0].map((e,t)=>r.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})),o=n.map(t=>qz({...e,output:t}));return e=>{const r=!hD.test(t[0])&&t.find(e=>hD.test(e))?.replace(dD,"");let n=0;return t[0].replace(dD,()=>`${o[n++](e)}${r||""}`).replace(fD,bD)}},xD="react-spring: ",wD=e=>{const t=e;let r=!1;if("function"!=typeof t)throw new TypeError(`${xD}once requires a function parameter`);return(...e)=>{r||(t(...e),r=!0)}},CD=wD(console.warn),_D=wD(console.warn);function kD(e){return oz.str(e)&&("#"==e[0]||/\d/.test(e)||!hz()&&mD.test(e)||e in(fz||{}))}var AD=hz()?n.useEffect:n.useLayoutEffect;function SD(){const e=(0,n.useState)()[1],t=(()=>{const e=(0,n.useRef)(!1);return AD(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var jD=e=>(0,n.useEffect)(e,MD),MD=[];function RD(e){const t=(0,n.useRef)();return(0,n.useEffect)(()=>{t.current=e}),t.current}var ID=Symbol.for("Animated:node"),ED=e=>e&&e[ID],TD=(e,t)=>((e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}))(e,ID,t),PD=e=>e&&e[ID]&&e[ID].getPayload(),LD=class{constructor(){TD(this,this)}getPayload(){return this.payload||[]}},OD=class extends LD{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,oz.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new OD(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return oz.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,oz.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ND=class extends OD{constructor(e){super(0),this._string=null,this._toString=qz({output:[e,e]})}static create(e){return new ND(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(oz.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=qz({output:[this.getValue(),e]})),this._value=0,super.reset()}},$D={dependencies:null},zD=class extends LD{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return sz(this.source,(r,n)=>{(e=>!!e&&e[ID]===e)(r)?t[n]=r.getValue(e):tD(r)?t[n]=rD(r):e||(t[n]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&az(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return sz(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){$D.dependencies&&tD(e)&&$D.dependencies.add(e);const t=PD(e);t&&az(t,e=>this.add(e))}},DD=class extends zD{constructor(e){super(e)}static create(e){return new DD(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,r)=>t.setValue(e[r])).some(Boolean):(super.setValue(e.map(BD)),!0)}};function BD(e){return(kD(e)?ND:OD).create(e)}function FD(e){const t=ED(e);return t?t.constructor:oz.arr(e)?DD:kD(e)?ND:OD}var HD=(e,t)=>{const r=!oz.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,n.forwardRef)((o,i)=>{const a=(0,n.useRef)(null),s=r&&(0,n.useCallback)(e=>{a.current=function(e,t){return e&&(oz.fun(e)?e(t):e.current=t),t}(i,e)},[i]),[l,c]=function(e,t){const r=new Set;return $D.dependencies=r,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new zD(e),$D.dependencies=null,[e,r]}(o,t),u=SD(),d=()=>{const e=a.current;r&&!e||!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&u()},p=new VD(d,c),h=(0,n.useRef)();AD(()=>(h.current=p,az(c,e=>sD(e,p)),()=>{h.current&&(az(h.current.deps,e=>lD(e,h.current)),z$.cancel(h.current.update))})),(0,n.useEffect)(d,[]),jD(()=>()=>{const e=h.current;az(e.deps,t=>lD(t,e))});const f=t.getComponentProps(l.getValue());return n.createElement(e,{...f,ref:s})})},VD=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&z$.write(this.update)}},WD=Symbol.for("AnimatedComponent"),qD=e=>oz.str(e)?e:e&&oz.str(e.displayName)?e.displayName:oz.fun(e)&&e.name||null;function UD(e,...t){return oz.fun(e)?e(...t):e}var ZD=(e,t)=>!0===e||!!(t&&e&&(oz.fun(e)?e(t):lz(e).includes(t))),GD=(e,t)=>oz.obj(e)?t&&e[t]:e,XD=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,KD=e=>e,YD=(e,t=KD)=>{let r=JD;e.default&&!0!==e.default&&(e=e.default,r=Object.keys(e));const n={};for(const o of r){const r=t(e[o],o);oz.und(r)||(n[o]=r)}return n},JD=["config","onProps","onStart","onChange","onPause","onResume","onRest"],QD={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function eB(e){const t=function(e){const t={};let r=0;if(sz(e,(e,n)=>{QD[n]||(t[n]=e,r++)}),r)return t}(e);if(t){const r={to:t};return sz(e,(e,n)=>n in t||(r[n]=e)),r}return{...e}}function tB(e){return e=rD(e),oz.arr(e)?e.map(tB):kD(e)?rz.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function rB(e){for(const t in e)return!0;return!1}function nB(e){return oz.fun(e)||oz.arr(e)&&oz.obj(e[0])}function oB(e,t){e.ref?.delete(e),t?.delete(e)}function iB(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var aB={tension:170,friction:26,mass:1,damping:1,easing:Jz.linear,clamp:!1},sB=class{constructor(){this.velocity=0,Object.assign(this,aB)}};function lB(e,t){if(oz.und(t.decay)){const r=!oz.und(t.tension)||!oz.und(t.friction);!r&&oz.und(t.frequency)&&oz.und(t.damping)&&oz.und(t.mass)||(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}else e.duration=void 0}var cB=[],uB=class{constructor(){this.changed=!1,this.values=cB,this.toValues=null,this.fromValues=cB,this.config=new sB,this.immediate=!1}};function dB(e,{key:t,props:r,defaultProps:n,state:o,actions:i}){return new Promise((a,s)=>{let l,c,u=ZD(r.cancel??n?.cancel,t);if(u)h();else{oz.und(r.pause)||(o.paused=ZD(r.pause,t));let e=n?.pause;!0!==e&&(e=o.paused||ZD(e,t)),l=UD(r.delay||0,t),e?(o.resumeQueue.add(p),i.pause()):(i.resume(),p())}function d(){o.resumeQueue.add(p),o.timeouts.delete(c),c.cancel(),l=c.time-z$.now()}function p(){l>0&&!rz.skipAnimation?(o.delayed=!0,c=z$.setTimeout(h,l),o.pauseQueue.add(d),o.timeouts.add(c)):h()}function h(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(d),o.timeouts.delete(c),e<=(o.cancelId||0)&&(u=!0);try{i.start({...r,callId:e,cancel:u},a)}catch(e){s(e)}}})}var pB=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?mB(e.get()):t.every(e=>e.noop)?hB(e.get()):fB(e.get(),t.every(e=>e.finished)),hB=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),fB=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),mB=e=>({value:e,cancelled:!0,finished:!1});function gB(e,t,r,n){const{callId:o,parentId:i,onRest:a}=t,{asyncTo:s,promise:l}=r;return i||e!==s||t.reset?r.promise=(async()=>{r.asyncId=o,r.asyncTo=e;const c=YD(t,(e,t)=>"onRest"===t?void 0:e);let u,d;const p=new Promise((e,t)=>(u=e,d=t)),h=e=>{const t=o<=(r.cancelId||0)&&mB(n)||o!==r.asyncId&&fB(n,!1);if(t)throw e.result=t,d(e),e},f=(e,t)=>{const i=new bB,a=new vB;return(async()=>{if(rz.skipAnimation)throw yB(r),a.result=fB(n,!1),d(a),a;h(i);const s=oz.obj(e)?{...e}:{...t,to:e};s.parentId=o,sz(c,(e,t)=>{oz.und(s[t])&&(s[t]=e)});const l=await n.start(s);return h(i),r.paused&&await new Promise(e=>{r.resumeQueue.add(e)}),l})()};let m;if(rz.skipAnimation)return yB(r),fB(n,!1);try{let t;t=oz.arr(e)?(async e=>{for(const t of e)await f(t)})(e):Promise.resolve(e(f,n.stop.bind(n))),await Promise.all([t.then(u),p]),m=fB(n.get(),!0,!1)}catch(e){if(e instanceof bB)m=e.result;else{if(!(e instanceof vB))throw e;m=e.result}}finally{o==r.asyncId&&(r.asyncId=i,r.asyncTo=i?s:void 0,r.promise=i?l:void 0)}return oz.fun(a)&&z$.batchedUpdates(()=>{a(m,n,n.item)}),m})():l}function yB(e,t){cz(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var bB=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},vB=class extends Error{constructor(){super("SkipAnimationSignal")}},xB=e=>e instanceof CB,wB=1,CB=class extends iD{constructor(){super(...arguments),this.id=wB++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=ED(this);return e&&e.getValue()}to(...e){return rz.to(this,e)}interpolate(...e){return CD(`${xD}The "interpolate" function is deprecated in v9 (use "to" instead)`),rz.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){oD(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Cz.sort(this),oD(this,{type:"priority",parent:this,priority:e})}},_B=Symbol.for("SpringPhase"),kB=e=>(1&e[_B])>0,AB=e=>(2&e[_B])>0,SB=e=>(4&e[_B])>0,jB=(e,t)=>t?e[_B]|=3:e[_B]&=-3,MB=(e,t)=>t?e[_B]|=4:e[_B]&=-5,RB=class extends CB{constructor(e,t){if(super(),this.animation=new uB,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!oz.und(e)||!oz.und(t)){const r=oz.obj(e)?{...e}:{...t,from:e};oz.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(AB(this)||this._state.asyncTo)||SB(this)}get goal(){return rD(this.animation.to)}get velocity(){const e=ED(this);return e instanceof OD?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return kB(this)}get isAnimating(){return AB(this)}get isPaused(){return SB(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1;const n=this.animation;let{toValues:o}=n;const{config:i}=n,a=PD(n.to);!a&&tD(n.to)&&(o=lz(rD(n.to))),n.values.forEach((s,l)=>{if(s.done)return;const c=s.constructor==ND?1:a?a[l].lastPosition:o[l];let u=n.immediate,d=c;if(!u){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const r=n.fromValues[l],o=null!=s.v0?s.v0:s.v0=oz.arr(i.velocity)?i.velocity[l]:i.velocity;let a;const p=i.precision||(r==c?.005:Math.min(1,.001*Math.abs(c-r)));if(oz.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,n=Math.exp(-(1-e)*t);d=r+o/(1-e)*(1-n),u=Math.abs(s.lastPosition-d)<=p,a=o*n}else{a=null==s.lastVelocity?o:s.lastVelocity;const t=i.restVelocity||p/10,n=i.clamp?0:i.bounce,l=!oz.und(n),h=r==c?s.v0>0:r<c;let f,m=!1;const g=1,y=Math.ceil(e/g);for(let e=0;e<y&&(f=Math.abs(a)>t,f||(u=Math.abs(c-d)<=p,!u));++e)l&&(m=d==c||d>c==h,m&&(a=-a*n,d=c)),a+=(1e-6*-i.tension*(d-c)+.001*-i.friction*a)/i.mass*g,d+=a*g}else{let n=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),n=(i.progress||0)+t/this._memoizedDuration,n=n>1?1:n<0?0:n,s.durationProgress=n),d=r+i.easing(n)*(c-r),a=(d-s.lastPosition)/e,u=1==n}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,i.round)&&(r=!0)});const s=ED(this),l=s.getValue();if(t){const e=rD(n.to);l===e&&!r||i.decay?r&&i.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else r&&this._onChange(l)}set(e){return z$.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(AB(this)){const{to:e,config:t}=this.animation;z$.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return oz.und(e)?(r=this.queue||[],this.queue=[]):r=[oz.obj(e)?e:{...t,to:e}],Promise.all(r.map(e=>this._update(e))).then(e=>pB(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),yB(this._state,e&&this._lastCallId),z$.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:r,from:n}=e;r=oz.obj(r)?r[t]:r,(null==r||nB(r))&&(r=void 0),n=oz.obj(n)?n[t]:n,null==n&&(n=void 0);const o={to:r,from:n};return kB(this)||(e.reverse&&([r,n]=[n,r]),n=rD(n),oz.und(n)?ED(this)||this._set(r):this._set(n)),o}_update({...e},t){const{key:r,defaultProps:n}=this;e.default&&Object.assign(n,YD(e,(e,t)=>/^on/.test(t)?GD(e,r):e)),OB(this,e,"onProps"),NB(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return dB(++this._lastCallId,{key:r,props:e,defaultProps:n,state:i,actions:{pause:()=>{SB(this)||(MB(this,!0),pz(i.pauseQueue),NB(this,"onPause",fB(this,IB(this,this.animation.to)),this))},resume:()=>{SB(this)&&(MB(this,!1),AB(this)&&this._resume(),pz(i.resumeQueue),NB(this,"onResume",fB(this,IB(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(r=>{if(e.loop&&r.finished&&(!t||!r.noop)){const t=EB(e);if(t)return this._update(t,!0)}return r})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(mB(this));const n=!oz.und(e.to),o=!oz.und(e.from);if(n||o){if(!(t.callId>this._lastToId))return r(mB(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!o||n||t.default&&!oz.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const p=!iz(d,c);p&&(s.from=d),d=rD(d);const h=!iz(u,l);h&&this._focus(u);const f=nB(t.to),{config:m}=s,{decay:g,velocity:y}=m;(n||o)&&(m.velocity=0),t.config&&!f&&function(e,t,r){r&&(lB(r={...r},t),t={...r,...t}),lB(e,t),Object.assign(e,t);for(const t in aB)null==e[t]&&(e[t]=aB[t]);let{frequency:n,damping:o}=e;const{mass:i}=e;oz.und(n)||(n<.01&&(n=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/n,2)*i,e.friction=4*Math.PI*o*i/n)}(m,UD(t.config,i),t.config!==a.config?UD(a.config,i):void 0);let b=ED(this);if(!b||oz.und(u))return r(fB(this,!0));const v=oz.und(t.reset)?o&&!t.default:!oz.und(d)&&ZD(t.reset,i),x=v?d:this.get(),w=tB(u),C=oz.num(w)||oz.arr(w)||kD(w),_=!f&&(!C||ZD(a.immediate||t.immediate,i));if(h){const e=FD(u);if(e!==b.constructor){if(!_)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(w)}}const k=b.constructor;let A=tD(u),S=!1;if(!A){const e=v||!kB(this)&&p;(h||e)&&(S=iz(tB(x),w),A=!S),(iz(s.immediate,_)||_)&&iz(m.decay,g)&&iz(m.velocity,y)||(A=!0)}if(S&&AB(this)&&(s.changed&&!v?A=!0:A||this._stop(l)),!f&&((A||tD(l))&&(s.values=b.getPayload(),s.toValues=tD(u)?null:k==ND?[1]:lz(w)),s.immediate!=_&&(s.immediate=_,_||v||this._set(l)),A)){const{onRest:e}=s;az(LB,e=>OB(this,t,e));const n=fB(this,IB(this,l));pz(this._pendingCalls,n),this._pendingCalls.add(r),s.changed&&z$.batchedUpdates(()=>{s.changed=!v,e?.(n,this),v?UD(a.onRest,n):s.onStart?.(n,this)})}v&&this._set(x),f?r(gB(t.to,t,this._state,this)):A?this._start():AB(this)&&!h?this._pendingCalls.add(r):r(hB(x))}_focus(e){const t=this.animation;e!==t.to&&(nD(this)&&this._detach(),t.to=e,nD(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;tD(t)&&(sD(t,this),xB(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;tD(e)&&lD(e,this)}_set(e,t=!0){const r=rD(e);if(!oz.und(r)){const e=ED(this);if(!e||!iz(r,e.getValue())){const n=FD(r);e&&e.constructor==n?e.setValue(r):TD(this,n.create(r)),e&&z$.batchedUpdates(()=>{this._onChange(r,t)})}}return ED(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,NB(this,"onStart",fB(this,IB(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),UD(this.animation.onChange,e,this)),UD(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;ED(this).reset(rD(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),AB(this)||(jB(this,!0),SB(this)||this._resume())}_resume(){rz.skipAnimation?this.finish():Cz.start(this)}_stop(e,t){if(AB(this)){jB(this,!1);const r=this.animation;az(r.values,e=>{e.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),oD(this,{type:"idle",parent:this});const n=t?mB(this.get()):fB(this.get(),IB(this,e??r.to));pz(this._pendingCalls,n),r.changed&&(r.changed=!1,NB(this,"onRest",n,this))}}};function IB(e,t){const r=tB(t);return iz(tB(e.get()),r)}function EB(e,t=e.loop,r=e.to){const n=UD(t);if(n){const o=!0!==n&&eB(n),i=(o||e).reverse,a=!o||o.reset;return TB({...e,loop:t,default:!1,pause:void 0,to:!i||nB(r)?r:void 0,from:a?e.from:void 0,reset:a,...o})}}function TB(e){const{to:t,from:r}=e=eB(e),n=new Set;return oz.obj(t)&&PB(t,n),oz.obj(r)&&PB(r,n),e.keys=n.size?Array.from(n):null,e}function PB(e,t){sz(e,(e,r)=>null!=e&&t.add(r))}var LB=["onStart","onRest","onChange","onPause","onResume"];function OB(e,t,r){e.animation[r]=t[r]!==XD(t,r)?GD(t[r],e.key):void 0}function NB(e,t,...r){e.animation[t]?.(...r),e.defaultProps[t]?.(...r)}var $B=["onStart","onChange","onRest"],zB=1,DB=class{constructor(e,t){this.id=zB++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,r)=>e[r]=t.get()),e}set(e){for(const t in e){const r=e[t];oz.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(TB(e)),this}start(e){let{queue:t}=this;return e?t=lz(e).map(TB):this.queue=[],this._flush?this._flush(this,t):(UB(this,t),BB(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const r=this.springs;az(lz(t),t=>r[t].stop(!!e))}else yB(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(oz.und(e))this.start({pause:!0});else{const t=this.springs;az(lz(e),e=>t[e].pause())}return this}resume(e){if(oz.und(e))this.start({pause:!1});else{const t=this.springs;az(lz(e),e=>t[e].resume())}return this}each(e){sz(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,o=this._changed.size>0;(n&&!this._started||o&&!this._started)&&(this._started=!0,cz(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!n&&this._started,a=o||i&&r.size?this.get():null;o&&t.size&&cz(t,([e,t])=>{t.value=a,e(t,this,this._item)}),i&&(this._started=!1,cz(r,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}z$.onFrame(this._onFrame)}};function BB(e,t){return Promise.all(t.map(t=>FB(e,t))).then(t=>pB(e,t))}async function FB(e,t,r){const{keys:n,to:o,from:i,loop:a,onRest:s,onResolve:l}=t,c=oz.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const u=oz.arr(o)||oz.fun(o)?o:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):az($B,r=>{const n=t[r];if(oz.fun(n)){const o=e._events[r];t[r]=({finished:e,cancelled:t})=>{const r=o.get(n);r?(e||(r.finished=!1),t&&(r.cancelled=!0)):o.set(n,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[r]=t[r])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,pz(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const p=(n||Object.keys(e.springs)).map(r=>e.springs[r].start(t)),h=!0===t.cancel||!0===XD(t,"cancel");(u||h&&d.asyncId)&&p.push(dB(++e._lastAsyncId,{props:t,state:d,actions:{pause:nz,resume:nz,start(t,r){h?(yB(d,e._lastAsyncId),r(mB(e))):(t.onRest=s,r(gB(u,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});const f=pB(e,await Promise.all(p));if(a&&f.finished&&(!r||!f.noop)){const r=EB(t,a,o);if(r)return UB(e,[r]),FB(e,r,!0)}return l&&z$.batchedUpdates(()=>l(f,e,e.item)),f}function HB(e,t){const r={...e.springs};return t&&az(lz(t),e=>{oz.und(e.keys)&&(e=TB(e)),oz.obj(e.to)||(e={...e,to:void 0}),qB(r,e,e=>WB(e))}),VB(e,r),r}function VB(e,t){sz(t,(t,r)=>{e.springs[r]||(e.springs[r]=t,sD(t,e))})}function WB(e,t){const r=new RB;return r.key=e,t&&sD(r,t),r}function qB(e,t,r){t.keys&&az(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function UB(e,t){az(t,t=>{qB(e.springs,t,t=>WB(t,e))})}var ZB,GB=({children:e,...t})=>{const r=(0,n.useContext)(XB),o=t.pause||!!r.pause,i=t.immediate||!!r.immediate;t=function(e,t){const[r]=(0,n.useState)(()=>({inputs:t,result:e()})),o=(0,n.useRef)(),i=o.current;let a=i;if(a){const r=Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,a.inputs));r||(a={inputs:t,result:e()})}else a=r;return(0,n.useEffect)(()=>{o.current=a,i==r&&(r.inputs=r.result=void 0)},[a]),a.result}(()=>({pause:o,immediate:i}),[o,i]);const{Provider:a}=XB;return n.createElement(a,{value:t},e)},XB=(ZB=GB,Object.assign(ZB,n.createContext({})),ZB.Provider._context=ZB,ZB.Consumer._context=ZB,ZB);GB.Provider=XB.Provider,GB.Consumer=XB.Consumer;var KB=()=>{const e=[],t=function(t){_D(`${xD}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const n=[];return az(e,(e,o)=>{if(oz.und(t))n.push(e.start());else{const i=r(t,e,o);i&&n.push(e.start(i))}}),n};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const r=e.indexOf(t);~r&&e.splice(r,1)},t.pause=function(){return az(e,e=>e.pause(...arguments)),this},t.resume=function(){return az(e,e=>e.resume(...arguments)),this},t.set=function(t){az(e,(e,r)=>{const n=oz.fun(t)?t(r,e):t;n&&e.set(n)})},t.start=function(t){const r=[];return az(e,(e,n)=>{if(oz.und(t))r.push(e.start());else{const o=this._getProps(t,e,n);o&&r.push(e.start(o))}}),r},t.stop=function(){return az(e,e=>e.stop(...arguments)),this},t.update=function(t){return az(e,(e,r)=>e.update(this._getProps(t,e,r))),this};const r=function(e,t,r){return oz.fun(e)?e(r,t):e};return t._getProps=r,t};function YB(e,t,r){const o=oz.fun(t)&&t,{reset:i,sort:a,trail:s=0,expires:l=!0,exitBeforeEnter:c=!1,onDestroyed:u,ref:d,config:p}=o?o():t,h=(0,n.useMemo)(()=>o||3==arguments.length?KB():void 0,[]),f=lz(e),m=[],g=(0,n.useRef)(null),y=i?null:g.current;AD(()=>{g.current=m}),jD(()=>(az(m,e=>{h?.add(e.ctrl),e.ctrl.ref=h}),()=>{az(g.current,e=>{e.expired&&clearTimeout(e.expirationId),oB(e.ctrl,h),e.ctrl.stop(!0)})}));const b=function(e,{key:t,keys:r=t},n){if(null===r){const t=new Set;return e.map(e=>{const r=n&&n.find(r=>r.item===e&&"leave"!==r.phase&&!t.has(r));return r?(t.add(r),r.key):JB++})}return oz.und(r)?e:oz.fun(r)?e.map(r):lz(r)}(f,o?o():t,y),v=i&&g.current||[];AD(()=>az(v,({ctrl:e,item:t,key:r})=>{oB(e,h),UD(u,t,r)}));const x=[];if(y&&az(y,(e,t)=>{e.expired?(clearTimeout(e.expirationId),v.push(e)):~(t=x[t]=b.indexOf(e.key))&&(m[t]=e)}),az(f,(e,t)=>{m[t]||(m[t]={key:b[t],item:e,phase:"mount",ctrl:new DB},m[t].ctrl.item=e)}),x.length){let e=-1;const{leave:r}=o?o():t;az(x,(t,n)=>{const o=y[n];~t?(e=m.indexOf(o),m[e]={...o,item:f[t]}):r&&m.splice(++e,0,o)})}oz.fun(a)&&m.sort((e,t)=>a(e.item,t.item));let w=-s;const C=SD(),_=YD(t),k=new Map,A=(0,n.useRef)(new Map),S=(0,n.useRef)(!1);az(m,(e,r)=>{const n=e.key,i=e.phase,a=o?o():t;let u,h;const f=UD(a.delay||0,n);if("mount"==i)u=a.enter,h="enter";else{const e=b.indexOf(n)<0;if("leave"!=i)if(e)u=a.leave,h="leave";else{if(!(u=a.update))return;h="update"}else{if(e)return;u=a.enter,h="enter"}}if(u=UD(u,e.item,r),u=oz.obj(u)?eB(u):{to:u},!u.config){const t=p||_.config;u.config=UD(t,e.item,r,h)}w+=s;const m={..._,delay:f+w,ref:d,immediate:a.immediate,reset:!1,...u};if("enter"==h&&oz.und(m.from)){const n=o?o():t,i=oz.und(n.initial)||y?n.from:n.initial;m.from=UD(i,e.item,r)}const{onResolve:v}=m;m.onResolve=e=>{UD(v,e);const t=g.current,r=t.find(e=>e.key===n);if(r&&(!e.cancelled||"update"==r.phase)&&r.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if("leave"==r.phase){const t=UD(l,r.item);if(!1!==t){const n=!0===t?0:t;if(r.expired=!0,!e&&n>0)return void(n<=2147483647&&(r.expirationId=setTimeout(C,n)))}}e&&t.some(e=>e.expired)&&(A.current.delete(r),c&&(S.current=!0),C())}};const x=HB(e.ctrl,m);"leave"===h&&c?A.current.set(e,{phase:h,springs:x,payload:m}):k.set(e,{phase:h,springs:x,payload:m})});const j=(0,n.useContext)(GB),M=RD(j),R=j!==M&&rB(j);AD(()=>{R&&az(m,e=>{e.ctrl.start({default:j})})},[j]),az(k,(e,t)=>{if(A.current.size){const e=m.findIndex(e=>e.key===t.key);m.splice(e,1)}}),AD(()=>{az(A.current.size?A.current:k,({phase:e,payload:t},r)=>{const{ctrl:n}=r;r.phase=e,h?.add(n),R&&"enter"==e&&n.start({default:j}),t&&(iB(n,t.ref),!n.ref&&!h||S.current?(n.start(t),S.current&&(S.current=!1)):n.update(t))})},i?void 0:r);const I=e=>n.createElement(n.Fragment,null,m.map((t,r)=>{const{springs:o}=k.get(t)||t.ctrl,i=e({...o},t.item,t,r);return i&&i.type?n.createElement(i.type,{...i.props,key:oz.str(t.key)||oz.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i}));return h?[I,h]:I}var JB=1,QB=class extends CB{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=qz(...t);const r=this._get(),n=FD(r);TD(this,n.create(r))}advance(e){const t=this._get();iz(t,this.get())||(ED(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&tF(this._active)&&rF(this)}_get(){const e=oz.arr(this.source)?this.source.map(rD):lz(rD(this.source));return this.calc(...e)}_start(){this.idle&&!tF(this._active)&&(this.idle=!1,az(PD(this),e=>{e.done=!1}),rz.skipAnimation?(z$.batchedUpdates(()=>this.advance()),rF(this)):Cz.start(this))}_attach(){let e=1;az(lz(this.source),t=>{tD(t)&&sD(t,this),xB(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){az(lz(this.source),e=>{tD(e)&&lD(e,this)}),this._active.clear(),rF(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=lz(this.source).reduce((e,t)=>Math.max(e,(xB(t)?t.priority:0)+1),0))}};function eF(e){return!1!==e.idle}function tF(e){return!e.size||Array.from(e).every(eF)}function rF(e){e.idle||(e.idle=!0,az(PD(e),e=>{e.done=!0}),oD(e,{type:"idle",parent:e}))}var nF=(e,...t)=>new QB(e,t);rz.assign({createStringInterpolator:vD,to:(e,t)=>new QB(e,t)}),Cz.advance;var oF=/^--/;function iF(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||oF.test(e)||sF.hasOwnProperty(e)&&sF[e]?(""+t).trim():t+"px"}var aF={},sF={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lF=["Webkit","Ms","Moz","O"];sF=Object.keys(sF).reduce((e,t)=>(lF.forEach(r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t]),e),sF);var cF=/^(matrix|translate|scale|rotate|skew)/,uF=/^(translate)/,dF=/^(rotate|skew)/,pF=(e,t)=>oz.num(e)&&0!==e?e+t:e,hF=(e,t)=>oz.arr(e)?e.every(e=>hF(e,t)):oz.num(e)?e===t:parseFloat(e)===t,fF=class extends zD{constructor({x:e,y:t,z:r,...n}){const o=[],i=[];(e||t||r)&&(o.push([e||0,t||0,r||0]),i.push(e=>[`translate3d(${e.map(e=>pF(e,"px")).join(",")})`,hF(e,0)])),sz(n,(e,t)=>{if("transform"===t)o.push([e||""]),i.push(e=>[e,""===e]);else if(cF.test(t)){if(delete n[t],oz.und(e))return;const r=uF.test(t)?"px":dF.test(t)?"deg":"";o.push(lz(e)),i.push("rotate3d"===t?([e,t,n,o])=>[`rotate3d(${e},${t},${n},${pF(o,r)})`,hF(o,0)]:e=>[`${t}(${e.map(e=>pF(e,r)).join(",")})`,hF(e,t.startsWith("scale")?1:0)])}}),o.length&&(n.transform=new mF(o,i)),super(n)}},mF=class extends iD{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return az(this.inputs,(r,n)=>{const o=rD(r[0]),[i,a]=this.transforms[n](oz.arr(o)?o:r.map(rD));e+=" "+i,t=t&&a}),t?"none":e}observerAdded(e){1==e&&az(this.inputs,e=>az(e,e=>tD(e)&&sD(e,this)))}observerRemoved(e){0==e&&az(this.inputs,e=>az(e,e=>tD(e)&&lD(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),oD(this,e)}};rz.assign({batchedUpdates:KC.unstable_batchedUpdates,createStringInterpolator:vD,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var gF=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=e=>new zD(e),getComponentProps:n=e=>e}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},i=e=>{const t=qD(e)||"Anonymous";return(e=oz.str(e)?i[e]||(i[e]=HD(e,o)):e[WD]||(e[WD]=HD(e,o))).displayName=`Animated(${t})`,e};return sz(e,(t,r)=>{oz.arr(e)&&(r=qD(t)),i[r]=i(t)}),{animated:i}})(["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","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"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:n,style:o,children:i,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map(t=>r||e.hasAttribute(t)?t:aF[t]||(aF[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==i&&(e.textContent=i);for(const t in o)if(o.hasOwnProperty(t)){const r=iF(t,o[t]);oF.test(t)?e.style.setProperty(t,r):e.style[t]=r}d.forEach((t,r)=>{e.setAttribute(t,u[r])}),void 0!==n&&(e.className=n),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new fF(e),getComponentProps:({scrollTop:e,scrollLeft:t,...r})=>r}),yF=gF.animated;function bF(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function vF(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function xF(){}var wF=.7,CF=1/wF,_F="\\s*([+-]?\\d+)\\s*",kF="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",AF="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",SF=/^#([0-9a-f]{3,8})$/,jF=new RegExp(`^rgb\\(${_F},${_F},${_F}\\)$`),MF=new RegExp(`^rgb\\(${AF},${AF},${AF}\\)$`),RF=new RegExp(`^rgba\\(${_F},${_F},${_F},${kF}\\)$`),IF=new RegExp(`^rgba\\(${AF},${AF},${AF},${kF}\\)$`),EF=new RegExp(`^hsl\\(${kF},${AF},${AF}\\)$`),TF=new RegExp(`^hsla\\(${kF},${AF},${AF},${kF}\\)$`),PF={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function LF(){return this.rgb().formatHex()}function OF(){return this.rgb().formatRgb()}function NF(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=SF.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?$F(t):3===r?new BF(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?zF(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?zF(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=jF.exec(e))?new BF(t[1],t[2],t[3],1):(t=MF.exec(e))?new BF(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=RF.exec(e))?zF(t[1],t[2],t[3],t[4]):(t=IF.exec(e))?zF(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=EF.exec(e))?UF(t[1],t[2]/100,t[3]/100,1):(t=TF.exec(e))?UF(t[1],t[2]/100,t[3]/100,t[4]):PF.hasOwnProperty(e)?$F(PF[e]):"transparent"===e?new BF(NaN,NaN,NaN,0):null}function $F(e){return new BF(e>>16&255,e>>8&255,255&e,1)}function zF(e,t,r,n){return n<=0&&(e=t=r=NaN),new BF(e,t,r,n)}function DF(e,t,r,n){return 1===arguments.length?((o=e)instanceof xF||(o=NF(o)),o?new BF((o=o.rgb()).r,o.g,o.b,o.opacity):new BF):new BF(e,t,r,null==n?1:n);var o}function BF(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function FF(){return`#${qF(this.r)}${qF(this.g)}${qF(this.b)}`}function HF(){const e=VF(this.opacity);return`${1===e?"rgb(":"rgba("}${WF(this.r)}, ${WF(this.g)}, ${WF(this.b)}${1===e?")":`, ${e})`}`}function VF(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function WF(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function qF(e){return((e=WF(e))<16?"0":"")+e.toString(16)}function UF(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new GF(e,t,r,n)}function ZF(e){if(e instanceof GF)return new GF(e.h,e.s,e.l,e.opacity);if(e instanceof xF||(e=NF(e)),!e)return new GF;if(e instanceof GF)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new GF(a,s,l,e.opacity)}function GF(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function XF(e){return(e=(e||0)%360)<0?e+360:e}function KF(e){return Math.max(0,Math.min(1,e||0))}function YF(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function JF(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}bF(xF,NF,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:LF,formatHex:LF,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ZF(this).formatHsl()},formatRgb:OF,toString:OF}),bF(BF,DF,vF(xF,{brighter(e){return e=null==e?CF:Math.pow(CF,e),new BF(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?wF:Math.pow(wF,e),new BF(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new BF(WF(this.r),WF(this.g),WF(this.b),VF(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:FF,formatHex:FF,formatHex8:function(){return`#${qF(this.r)}${qF(this.g)}${qF(this.b)}${qF(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:HF,toString:HF})),bF(GF,function(e,t,r,n){return 1===arguments.length?ZF(e):new GF(e,t,r,null==n?1:n)},vF(xF,{brighter(e){return e=null==e?CF:Math.pow(CF,e),new GF(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?wF:Math.pow(wF,e),new GF(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new BF(YF(e>=240?e-240:e+120,o,n),YF(e,o,n),YF(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new GF(XF(this.h),KF(this.s),KF(this.l),VF(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=VF(this.opacity);return`${1===e?"hsl(":"hsla("}${XF(this.h)}, ${100*KF(this.s)}%, ${100*KF(this.l)}%${1===e?")":`, ${e})`}`}}));var QF=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,eH=new RegExp(QF.source,"g");function tH(e,t){var r,n,o,i=QF.lastIndex=eH.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(r=QF.exec(e))&&(n=eH.exec(t));)(o=n.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:JF(r,n)})),i=eH.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)s[(r=l[n]).i]=r.x(e);return s.join("")})}let rH=0;const nH=n["useId".toString()];function oH(e){if(void 0!==nH){const t=nH();return null!=e?e:t}return function(e){const[t,r]=n.useState(e),o=e||t;return n.useEffect(()=>{null==t&&(rH+=1,r(`mui-${rH}`))},[t]),o}(e)}const iH="DEFAULT_X_AXIS_KEY",aH={top:50,bottom:50,left:50,right:50},sH=n.createContext({top:0,left:0,bottom:0,right:0,height:300,width:400,chartId:"",isPointInside:()=>!1}),lH=n.createContext({isInitialized:!1,data:{current:null}});function cH(e){const{width:t,height:r,margin:o,svgRef:i,children:a}=e,s=((e,t,r)=>{const o=(0,je.A)({},aH,r);return n.useMemo(()=>({left:o.left,top:o.top,right:o.right,bottom:o.bottom,width:Math.max(0,e-o.left-o.right),height:Math.max(0,t-o.top-o.bottom)}),[e,t,o.top,o.bottom,o.left,o.right])})(t,r,o),l=oH(),c=n.useCallback(({x:e,y:t},r)=>{if(r?.targetElement&&r?.targetElement.closest("[data-drawing-container]"))return!0;const n=e>=s.left-1&&e<=s.left+s.width,o=t>=s.top-1&&t<=s.top+s.height;return"x"===r?.direction?n:("y"===r?.direction||n)&&o},[s]),u=n.useMemo(()=>(0,je.A)({chartId:l??""},s,{isPointInside:c}),[l,s,c]),d=n.useMemo(()=>({isInitialized:!0,data:i}),[i]);return(0,Bt.jsx)(lH.Provider,{value:d,children:(0,Bt.jsx)(sH.Provider,{value:u,children:a})})}function uH(){const{left:e,top:t,width:r,height:o,bottom:i,right:a,isPointInside:s}=n.useContext(sH);return n.useMemo(()=>({left:e,top:t,width:r,height:o,bottom:i,right:a,isPointInside:s}),[o,e,t,r,i,a,s])}fo(yF.path,{name:"MuiAreaElement",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({stroke:"none",fill:e.gradientId&&`url(#${e.gradientId})`||e.isHighlighted&&NF(e.color).brighter(1).formatHex()||NF(e.color).brighter(.5).formatHex(),transition:"opacity 0.2s ease-in, fill 0.2s ease-in",opacity:e.isFaded?.3:1}));function dH(e){return void 0!==e.bandwidth}function pH(e){return dH(e)?t=>(e(t)??0)+e.bandwidth()/2:t=>e(t)}I$("MuiAreaElement",["root","highlighted","faded"]);const hH=Math.abs,fH=Math.atan2,mH=Math.cos,gH=Math.max,yH=Math.min,bH=Math.sin,vH=Math.sqrt,xH=1e-12,wH=Math.PI,CH=wH/2,_H=2*wH;function kH(e){return e>=1?CH:e<=-1?-CH:Math.asin(e)}function AH(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function SH(e,t){this._context=e,this._k=(1-t)/6}function jH(e,t){this._context=e,this._alpha=t}SH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:AH(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:AH(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function r(e){return new SH(e,t)}return r.tension=function(t){return e(+t)},r}(0),jH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:!function(e,t,r){var n=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>xH){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);n=(n*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>xH){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*c+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*c+e._y1*e._l23_2a-r*e._l12_2a)/u}e._context.bezierCurveTo(n,o,i,a,e._x2,e._y2)}(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function r(e){return t?new jH(e,t):new SH(e,0)}return r.alpha=function(t){return e(+t)},r})(.5);function MH(e){return e<0?-1:1}function RH(e,t,r){var n=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(n||o<0&&-0),a=(r-e._y1)/(o||n<0&&-0),s=(i*o+a*n)/(n+o);return(MH(i)+MH(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function IH(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function EH(e,t,r){var n=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-n)/3;e._context.bezierCurveTo(n+s,o+s*t,i-s,a-s*r,i,a)}function TH(e){this._context=e}function PH(e){this._context=new LH(e)}function LH(e){this._context=e}function OH(e){this._context=e}function NH(e){var t,r,n=e.length-1,o=new Array(n),i=new Array(n),a=new Array(n);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=o[t]/i[t-1],i[t]-=r,a[t]-=r*a[t-1];for(o[n-1]=a[n-1]/i[n-1],t=n-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[n-1]=(e[n]+o[n-1])/2,t=0;t<n-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function $H(e,t){this._context=e,this._t=t}function zH(e){const{isReversed:t,gradientId:r,size:o,direction:i,scale:a,colorMap:s}=e;return o<=0?null:(0,Bt.jsx)("linearGradient",{id:r,x1:"0",x2:"0",y1:"0",y2:"0",[`${i}${t?1:2}`]:`${o}px`,gradientUnits:"userSpaceOnUse",children:s.thresholds.map((e,r)=>{const i=a(e);if(void 0===i)return null;const l=t?1-i/o:i/o;return(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)("stop",{offset:l,stopColor:s.colors[r],stopOpacity:1}),(0,Bt.jsx)("stop",{offset:l,stopColor:s.colors[r+1],stopOpacity:1})]},e.toString()+r)})})}function DH(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function BH(e){const{gradientUnits:t,isReversed:r,gradientId:n,size:o,direction:i,scale:a,colorScale:s,colorMap:l}=e,c=[l.min??0,l.max??100],u=c.map(a).filter(e=>void 0!==e);if(2!==u.length)return null;const d="number"==typeof c[0]?JF(c[0],c[1]):DH(c[0],c[1]),p=Math.round((Math.max(...u)-Math.min(...u))/10),h=`${c[0]}-${c[1]}-`;return(0,Bt.jsx)("linearGradient",{id:n,x1:"0",x2:"0",y1:"0",y2:"0",[`${i}${r?1:2}`]:"objectBoundingBox"===t?1:`${o}px`,gradientUnits:t??"userSpaceOnUse",children:Array.from({length:p+1},(e,t)=>{const n=d(t/p);if(void 0===n)return null;const i=a(n);if(void 0===i)return null;const l=r?1-i/o:i/o,c=s(n);return null===c?null:(0,Bt.jsx)("stop",{offset:l,stopColor:c,stopOpacity:1},h+t)})})}function FH(){const{chartId:e}=n.useContext(sH);return n.useCallback((t,r)=>`${e}-gradient-${r}-${t}`,[e])}function HH(){const{top:e,height:t,bottom:r,left:n,width:o,right:i}=uH(),a=e+t+r,s=n+o+i,l=FH(),{xAxisIds:c,xAxis:u,yAxisIds:d,yAxis:p}=_$();return(0,Bt.jsxs)("defs",{children:[d.filter(e=>void 0!==p[e].colorMap).map(e=>{const t=l(e,"y"),{colorMap:r,scale:n,colorScale:o,reverse:i}=p[e];return"piecewise"===r?.type?(0,Bt.jsx)(zH,{isReversed:!i,scale:n,colorMap:r,size:a,gradientId:t,direction:"y"},t):"continuous"===r?.type?(0,Bt.jsx)(BH,{isReversed:!i,scale:n,colorScale:o,colorMap:r,size:a,gradientId:t,direction:"y"},t):null}),c.filter(e=>void 0!==u[e].colorMap).map(e=>{const t=l(e,"x"),{colorMap:r,scale:n,reverse:o,colorScale:i}=u[e];return"piecewise"===r?.type?(0,Bt.jsx)(zH,{isReversed:o,scale:n,colorMap:r,size:s,gradientId:t,direction:"x"},t):"continuous"===r?.type?(0,Bt.jsx)(BH,{isReversed:o,scale:n,colorScale:i,colorMap:r,size:s,gradientId:t,direction:"x"},t):null})]})}TH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:EH(this,this._t0,IH(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,EH(this,IH(this,r=RH(this,e,t)),r);break;default:EH(this,this._t0,r=RH(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(PH.prototype=Object.create(TH.prototype)).point=function(e,t){TH.prototype.point.call(this,t,e)},LH.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,o,i){this._context.bezierCurveTo(t,e,n,r,i,o)}},OH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=NH(e),o=NH(t),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},$H.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};const VH=n.createContext({isInitialized:!1,data:{}});function WH(){const{isInitialized:e,data:t}=n.useContext(VH);if(!e)throw new Error(["MUI X: Could not find the series ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t}const qH=n.createContext({isInitialized:!1,data:{skipAnimation:void 0}});function UH(e){const{isInitialized:t,data:r}=n.useContext(qH);if(!t)throw new Error(["MUI X: Could not find the animation ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e||r.skipAnimation}fo(yF.path,{name:"MuiLineElement",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({strokeWidth:2,strokeLinejoin:"round",fill:"none",stroke:e.gradientId&&`url(#${e.gradientId})`||e.isHighlighted&&NF(e.color).brighter(.5).formatHex()||e.color,transition:"opacity 0.2s ease-in, stroke 0.2s ease-in",opacity:e.isFaded?.3:1}));I$("MuiLineElement",["root","highlighted","faded"]);const ZH=["#02B2AF","#2E96FF","#B800D8","#60009B","#2731C8","#03008D"],GH=["#02B2AF","#72CCFF","#DA00FF","#9001CB","#2E96FF","#3B48E0"],XH=e=>"dark"===e?GH:ZH,KH=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],YH=({series:e,colors:t,seriesFormatters:r,dataset:n})=>{const o={};e.forEach((e,r)=>{const{id:n=`auto-generated-id-${r}`,type:i}=e;if(void 0===o[i]&&(o[i]={series:{},seriesOrder:[]}),void 0!==o[i]?.series[n])throw new Error(`MUI X: series' id "${n}" is not unique.`);o[i].series[n]=(0,je.A)({id:n},function(e,t,r=KH){return"pie"===e.type?(0,je.A)({},e,{data:e.data.map((e,t)=>(0,je.A)({color:r[t%r.length]},e))}):(0,je.A)({color:r[t%r.length]},e)}(e,r,t)),o[i].seriesOrder.push(n)});const i={};return Object.keys(r).forEach(e=>{const t=o[e];void 0!==t&&(i[e]=r[e]?.(t,n)??o[e])}),i},JH=n.createContext({isInitialized:!1,data:{colorProcessors:{},seriesFormatters:{},xExtremumGetters:{},yExtremumGetters:{},rotationExtremumGetters:{},radiusExtremumGetters:{}}});function QH(e){const{series:t,dataset:r,colors:o=XH,children:i}=e,a=function(){const{isInitialized:e,data:t}=n.useContext(JH);if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t.seriesFormatters}(),s=yo(),l=n.useMemo(()=>({isInitialized:!0,data:YH({series:t,colors:"function"==typeof o?o(s.palette.mode):o,seriesFormatters:a,dataset:r})}),[t,o,s.palette.mode,a,r]);return(0,Bt.jsx)(VH.Provider,{value:l,children:i})}function eV(){const{isInitialized:e,data:t}=n.useContext(lH);if(!e)throw new Error(["MUI X: Could not find the svg ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t}function tV(e){return e instanceof Date?e.getTime():e}const rV=["children","width","height","viewBox","disableAxisListener","className","title","desc"],nV=fo("svg",{name:"MuiChartsSurface",slot:"Root"})(()=>({touchAction:"none"})),oV=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiChartsSurface"}),{children:o,width:i,height:a,viewBox:s,disableAxisListener:l=!1,className:c,title:u,desc:d}=r,p=(0,Me.A)(r,rV),h=(0,je.A)({width:i,height:a,x:0,y:0},s);return(e=>{const t=eV(),r=uH(),{xAxis:o,yAxis:i,xAxisIds:a,yAxisIds:s}=_$(),{dispatch:l}=n.useContext(E$),c=a[0],u=s[0],d=n.useRef({isInChart:!1,x:-1,y:-1});n.useEffect(()=>{const n=t.current;if(null===n||e)return()=>{};function a(e,t){const{scale:r,data:n,reverse:o}=e;if(!dH(r)){const e=r.invert(t);if(void 0===n)return{value:e,index:-1};const o=tV(e),i=n?.findIndex((t,r)=>{const i=tV(t);return i>o&&(0===r||Math.abs(o-i)<=Math.abs(o-tV(n[r-1])))||i<=o&&(r===n.length-1||Math.abs(tV(e)-i)<Math.abs(tV(e)-tV(n[r+1])))});return{value:void 0!==i&&i>=0?n[i]:e,index:i}}const i=0===r.bandwidth()?Math.floor((t-Math.min(...r.range())+r.step()/2)/r.step()):Math.floor((t-Math.min(...r.range()))/r.step());if(i<0||i>=n.length)return null;if(o){const e=n.length-1-i;return{index:e,value:n[e]}}return{index:i,value:n[i]}}const s=()=>{d.current={isInChart:!1,x:-1,y:-1},l({type:"exitChart"})},p=e=>{const t="targetTouches"in e?e.targetTouches[0]:e,s=function(e,t){const r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r.matrixTransform(e.getScreenCTM().inverse())}(n,t);if(d.current.x=s.x,d.current.y=s.y,!r.isPointInside(s,{targetElement:e.target}))return void(d.current.isInChart&&(l({type:"exitChart"}),d.current.isInChart=!1));d.current.isInChart=!0;const p=a(o[c],s.x),h=a(i[u],s.y);l({type:"updateAxis",data:{x:p,y:h}})},h=e=>{const t=e.currentTarget;t&&t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId)};return n.addEventListener("pointerdown",h),n.addEventListener("pointermove",p),n.addEventListener("pointerout",s),n.addEventListener("pointercancel",s),n.addEventListener("pointerleave",s),()=>{n.removeEventListener("pointerdown",h),n.removeEventListener("pointermove",p),n.removeEventListener("pointerout",s),n.removeEventListener("pointercancel",s),n.removeEventListener("pointerleave",s)}},[t,l,u,i,c,o,e,r])})(l),(0,Bt.jsxs)(nV,(0,je.A)({width:i,height:a,viewBox:`${h.x} ${h.y} ${h.width} ${h.height}`,ref:t,className:c},p,{children:[(0,Bt.jsx)("title",{children:u}),(0,Bt.jsx)("desc",{children:d}),o]}))});function iV(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function aV(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function sV(e){let t,r,n;function o(e,n,o=0,i=e.length){if(o<i){if(0!==t(n,n))return i;do{const t=o+i>>>1;r(e[t],n)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=iV,r=(t,r)=>iV(e(t),r),n=(t,r)=>e(t)-r):(t=e===iV||e===aV?e:lV,r=e,n=e),{left:o,center:function(e,t,r=0,i=e.length){const a=o(e,t,r,i-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,o=0,i=e.length){if(o<i){if(0!==t(n,n))return i;do{const t=o+i>>>1;r(e[t],n)<=0?o=t+1:i=t}while(o<i)}return o}}}function lV(){return 0}const cV=Math.sqrt(50),uV=Math.sqrt(10),dV=Math.sqrt(2);function pV(e,t,r){const n=(t-e)/Math.max(0,r),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i>=cV?10:i>=uV?5:i>=dV?2:1;let s,l,c;return o<0?(c=Math.pow(10,-o)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=r&&r<2?pV(e,t,2*r):[s,l,c]}function hV(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[o,i,a]=n?pV(t,e,r):pV(e,t,r);if(!(i>=o))return[];const s=i-o+1,l=new Array(s);if(n)if(a<0)for(let e=0;e<s;++e)l[e]=(i-e)/-a;else for(let e=0;e<s;++e)l[e]=(i-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(o+e)/-a;else for(let e=0;e<s;++e)l[e]=(o+e)*a;return l}function fV(e,t,r){return pV(e=+e,t=+t,r=+r)[2]}function mV(e,t,r){r=+r;const n=(t=+t)<(e=+e),o=n?fV(t,e,r):fV(e,t,r);return(n?-1:1)*(o<0?1/-o:o)}const gV=1e3,yV=6e4,bV=36e5,vV=864e5,xV=6048e5,wV=31536e6,CV=new Date,_V=new Date;function kV(e,t,r,n){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),o.round=e=>{const t=o(e),r=o.ceil(e);return e-t<r-e?t:r},o.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),o.range=(r,n,i)=>{const a=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n&&i>0))return a;let s;do{a.push(s=new Date(+r)),t(r,i),e(r)}while(s<r&&r<n);return a},o.filter=r=>kV(t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)},(e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}),r&&(o.count=(t,n)=>(CV.setTime(+t),_V.setTime(+n),e(CV),e(_V),Math.floor(r(CV,_V))),o.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(n?t=>n(t)%e===0:t=>o.count(0,t)%e===0):o:null)),o}const AV=kV(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);AV.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?kV(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):AV:null),AV.range;const SV=kV(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*gV)},(e,t)=>(t-e)/gV,e=>e.getUTCSeconds()),jV=(SV.range,kV(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*gV)},(e,t)=>{e.setTime(+e+t*yV)},(e,t)=>(t-e)/yV,e=>e.getMinutes())),MV=(jV.range,kV(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*yV)},(e,t)=>(t-e)/yV,e=>e.getUTCMinutes())),RV=(MV.range,kV(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*gV-e.getMinutes()*yV)},(e,t)=>{e.setTime(+e+t*bV)},(e,t)=>(t-e)/bV,e=>e.getHours())),IV=(RV.range,kV(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*bV)},(e,t)=>(t-e)/bV,e=>e.getUTCHours())),EV=(IV.range,kV(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yV)/vV,e=>e.getDate()-1)),TV=(EV.range,kV(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/vV,e=>e.getUTCDate()-1)),PV=(TV.range,kV(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/vV,e=>Math.floor(e/vV)));function LV(e){return kV(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yV)/xV)}PV.range;const OV=LV(0),NV=LV(1),$V=LV(2),zV=LV(3),DV=LV(4),BV=LV(5),FV=LV(6);function HV(e){return kV(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/xV)}OV.range,NV.range,$V.range,zV.range,DV.range,BV.range,FV.range;const VV=HV(0),WV=HV(1),qV=HV(2),UV=HV(3),ZV=HV(4),GV=HV(5),XV=HV(6),KV=(VV.range,WV.range,qV.range,UV.range,ZV.range,GV.range,XV.range,kV(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear()),e=>e.getMonth())),YV=(KV.range,kV(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear()),e=>e.getUTCMonth())),JV=(YV.range,kV(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear()));JV.every=e=>isFinite(e=Math.floor(e))&&e>0?kV(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)}):null,JV.range;const QV=kV(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function eW(e,t,r,n,o,i){const a=[[SV,1,gV],[SV,5,5e3],[SV,15,15e3],[SV,30,3e4],[i,1,yV],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,bV],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,vV],[n,2,1728e5],[r,1,xV],[t,1,2592e6],[t,3,7776e6],[e,1,wV]];function s(t,r,n){const o=Math.abs(r-t)/n,i=sV(([,,e])=>e).right(a,o);if(i===a.length)return e.every(mV(t/wV,r/wV,n));if(0===i)return AV.every(Math.max(mV(t,r,n),1));const[s,l]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(l)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const o=r&&"function"==typeof r.range?r:s(e,t,r),i=o?o.range(e,+t+1):[];return n?i.reverse():i},s]}QV.every=e=>isFinite(e=Math.floor(e))&&e>0?kV(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null,QV.range;const[tW,rW]=eW(QV,YV,VV,PV,IV,MV),[nW,oW]=eW(JV,KV,OV,EV,RV,jV);function iW(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function aW(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function sW(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var lW,cW,uW,dW={"-":"",_:" ",0:"0"},pW=/^\s*\d+/,hW=/^%/,fW=/[\\^$*+?|[\]().{}]/g;function mW(e,t,r){var n=e<0?"-":"",o=(n?-e:e)+"",i=o.length;return n+(i<r?new Array(r-i+1).join(t)+o:o)}function gW(e){return e.replace(fW,"\\$&")}function yW(e){return new RegExp("^(?:"+e.map(gW).join("|")+")","i")}function bW(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function vW(e,t,r){var n=pW.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function xW(e,t,r){var n=pW.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function wW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function CW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function _W(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function kW(e,t,r){var n=pW.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function AW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function SW(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function jW(e,t,r){var n=pW.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function MW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function RW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function IW(e,t,r){var n=pW.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function EW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function TW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function PW(e,t,r){var n=pW.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function LW(e,t,r){var n=pW.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function OW(e,t,r){var n=pW.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function NW(e,t,r){var n=hW.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function $W(e,t,r){var n=pW.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function zW(e,t,r){var n=pW.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function DW(e,t){return mW(e.getDate(),t,2)}function BW(e,t){return mW(e.getHours(),t,2)}function FW(e,t){return mW(e.getHours()%12||12,t,2)}function HW(e,t){return mW(1+EV.count(JV(e),e),t,3)}function VW(e,t){return mW(e.getMilliseconds(),t,3)}function WW(e,t){return VW(e,t)+"000"}function qW(e,t){return mW(e.getMonth()+1,t,2)}function UW(e,t){return mW(e.getMinutes(),t,2)}function ZW(e,t){return mW(e.getSeconds(),t,2)}function GW(e){var t=e.getDay();return 0===t?7:t}function XW(e,t){return mW(OV.count(JV(e)-1,e),t,2)}function KW(e){var t=e.getDay();return t>=4||0===t?DV(e):DV.ceil(e)}function YW(e,t){return e=KW(e),mW(DV.count(JV(e),e)+(4===JV(e).getDay()),t,2)}function JW(e){return e.getDay()}function QW(e,t){return mW(NV.count(JV(e)-1,e),t,2)}function eq(e,t){return mW(e.getFullYear()%100,t,2)}function tq(e,t){return mW((e=KW(e)).getFullYear()%100,t,2)}function rq(e,t){return mW(e.getFullYear()%1e4,t,4)}function nq(e,t){var r=e.getDay();return mW((e=r>=4||0===r?DV(e):DV.ceil(e)).getFullYear()%1e4,t,4)}function oq(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+mW(t/60|0,"0",2)+mW(t%60,"0",2)}function iq(e,t){return mW(e.getUTCDate(),t,2)}function aq(e,t){return mW(e.getUTCHours(),t,2)}function sq(e,t){return mW(e.getUTCHours()%12||12,t,2)}function lq(e,t){return mW(1+TV.count(QV(e),e),t,3)}function cq(e,t){return mW(e.getUTCMilliseconds(),t,3)}function uq(e,t){return cq(e,t)+"000"}function dq(e,t){return mW(e.getUTCMonth()+1,t,2)}function pq(e,t){return mW(e.getUTCMinutes(),t,2)}function hq(e,t){return mW(e.getUTCSeconds(),t,2)}function fq(e){var t=e.getUTCDay();return 0===t?7:t}function mq(e,t){return mW(VV.count(QV(e)-1,e),t,2)}function gq(e){var t=e.getUTCDay();return t>=4||0===t?ZV(e):ZV.ceil(e)}function yq(e,t){return e=gq(e),mW(ZV.count(QV(e),e)+(4===QV(e).getUTCDay()),t,2)}function bq(e){return e.getUTCDay()}function vq(e,t){return mW(WV.count(QV(e)-1,e),t,2)}function xq(e,t){return mW(e.getUTCFullYear()%100,t,2)}function wq(e,t){return mW((e=gq(e)).getUTCFullYear()%100,t,2)}function Cq(e,t){return mW(e.getUTCFullYear()%1e4,t,4)}function _q(e,t){var r=e.getUTCDay();return mW((e=r>=4||0===r?ZV(e):ZV.ceil(e)).getUTCFullYear()%1e4,t,4)}function kq(){return"+0000"}function Aq(){return"%"}function Sq(e){return+e}function jq(e){return Math.floor(+e/1e3)}lW=function(e){var t=e.dateTime,r=e.date,n=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=yW(o),u=bW(o),d=yW(i),p=bW(i),h=yW(a),f=bW(a),m=yW(s),g=bW(s),y=yW(l),b=bW(l),v={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:DW,e:DW,f:WW,g:tq,G:nq,H:BW,I:FW,j:HW,L:VW,m:qW,M:UW,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Sq,s:jq,S:ZW,u:GW,U:XW,V:YW,w:JW,W:QW,x:null,X:null,y:eq,Y:rq,Z:oq,"%":Aq},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:iq,e:iq,f:uq,g:wq,G:_q,H:aq,I:sq,j:lq,L:cq,m:dq,M:pq,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Sq,s:jq,S:hq,u:fq,U:mq,V:yq,w:bq,W:vq,x:null,X:null,y:xq,Y:Cq,Z:kq,"%":Aq},w={a:function(e,t,r){var n=h.exec(t.slice(r));return n?(e.w=f.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return k(e,t,r,n)},d:RW,e:RW,f:OW,g:AW,G:kW,H:EW,I:EW,j:IW,L:LW,m:MW,M:TW,p:function(e,t,r){var n=c.exec(t.slice(r));return n?(e.p=u.get(n[0].toLowerCase()),r+n[0].length):-1},q:jW,Q:$W,s:zW,S:PW,u:xW,U:wW,V:CW,w:vW,W:_W,x:function(e,t,n){return k(e,r,t,n)},X:function(e,t,r){return k(e,n,t,r)},y:AW,Y:kW,Z:SW,"%":NW};function C(e,t){return function(r){var n,o,i,a=[],s=-1,l=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=dW[n=e.charAt(++s)])?n=e.charAt(++s):o="e"===n?" ":"0",(i=t[n])&&(n=i(r,o)),a.push(n),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function _(e,t){return function(r){var n,o,i=sW(1900,void 0,1);if(k(i,e,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(n=aW(sW(i.y,0,1))).getUTCDay(),n=o>4||0===o?WV.ceil(n):WV(n),n=TV.offset(n,7*(i.V-1)),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(o=(n=iW(sW(i.y,0,1))).getDay(),n=o>4||0===o?NV.ceil(n):NV(n),n=EV.offset(n,7*(i.V-1)),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?aW(sW(i.y,0,1)).getUTCDay():iW(sW(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,aW(i)):iW(i)}}function k(e,t,r,n){for(var o,i,a=0,s=t.length,l=r.length;a<s;){if(n>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in dW?t.charAt(a++):o])||(n=i(e,r,n))<0)return-1}else if(o!=r.charCodeAt(n++))return-1}return n}return v.x=C(r,v),v.X=C(n,v),v.c=C(t,v),x.x=C(r,x),x.X=C(n,x),x.c=C(t,x),{format:function(e){var t=C(e+="",v);return t.toString=function(){return e},t},parse:function(e){var t=_(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=C(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=_(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),cW=lW.format,lW.parse,uW=lW.utcFormat,lW.utcParse;const Mq=sV(iV),Rq=Mq.right,Iq=(Mq.left,sV(function(e){return null===e?NaN:+e}).center,Rq);function Eq(e,t,r,n,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*r+(1+3*e+3*i-3*a)*n+a*o)/6}const Tq=e=>()=>e;function Pq(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):Tq(isNaN(e)?t:e)}const Lq=function e(t){var r=function(e){return 1===(e=+e)?Pq:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):Tq(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=DF(e)).r,(t=DF(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=Pq(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function Oq(e){return function(t){var r,n,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(r=0;r<o;++r)n=DF(t[r]),i[r]=n.r||0,a[r]=n.g||0,s[r]=n.b||0;return i=e(i),a=e(a),s=e(s),n.opacity=1,function(e){return n.r=i(e),n.g=a(e),n.b=s(e),n+""}}}function Nq(e,t){var r,n=t?t.length:0,o=e?Math.min(n,e.length):0,i=new Array(o),a=new Array(n);for(r=0;r<o;++r)i[r]=Dq(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<o;++r)a[r]=i[r](e);return a}}function $q(e,t){var r,n={},o={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=Dq(e[r],t[r]):o[r]=t[r];return function(e){for(r in n)o[r]=n[r](e);return o}}function zq(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(r=0;r<n;++r)o[r]=e[r]*(1-i)+t[r]*i;return o}}function Dq(e,t){var r,n=typeof t;return null==t||"boolean"===n?Tq(t):("number"===n?JF:"string"===n?(r=NF(t))?(t=r,Lq):tH:t instanceof NF?Lq:t instanceof Date?DH:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?zq:Array.isArray(t)?Nq:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?$q:JF)(e,t)}function Bq(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function Fq(e){return+e}Oq(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),o=e[n],i=e[n+1],a=n>0?e[n-1]:2*o-i,s=n<t-1?e[n+2]:2*i-o;return Eq((r-n/t)*t,a,o,i,s)}}),Oq(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),o=e[(n+t-1)%t],i=e[n%t],a=e[(n+1)%t],s=e[(n+2)%t];return Eq((r-n/t)*t,o,i,a,s)}});var Hq=[0,1];function Vq(e){return e}function Wq(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function qq(e,t,r){var n=e[0],o=e[1],i=t[0],a=t[1];return o<n?(n=Wq(o,n),i=r(a,i)):(n=Wq(n,o),i=r(i,a)),function(e){return i(n(e))}}function Uq(e,t,r){var n=Math.min(e.length,t.length)-1,o=new Array(n),i=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)o[a]=Wq(e[a],e[a+1]),i[a]=r(t[a],t[a+1]);return function(t){var r=Iq(e,t,1,n)-1;return i[r](o[r](t))}}function Zq(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Gq(){var e,t,r,n,o,i,a=Hq,s=Hq,l=Dq,c=Vq;function u(){var e=Math.min(a.length,s.length);return c!==Vq&&(c=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?Uq:qq,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?r:(o||(o=n(a.map(e),s,l)))(e(c(t)))}return d.invert=function(r){return c(t((i||(i=n(s,a.map(e),JF)))(r)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Fq),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Bq,u()},d.clamp=function(e){return arguments.length?(c=!!e||Vq,u()):c!==Vq},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(r=e,d):r},function(r,n){return e=r,t=n,u()}}function Xq(){return Gq()(Vq,Vq)}function Kq(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Yq(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}function Jq(e,t){var r,n=0,o=(e=e.slice()).length-1,i=e[n],a=e[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),e[n]=t.floor(i),e[o]=t.ceil(a),e}function Qq(e){return new Date(e)}function eU(e){return e instanceof Date?+e:+new Date(+e)}function tU(e,t,r,n,o,i,a,s,l,c){var u=Xq(),d=u.invert,p=u.domain,h=c(".%L"),f=c(":%S"),m=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),b=c("%b %d"),v=c("%B"),x=c("%Y");function w(e){return(l(e)<e?h:s(e)<e?f:a(e)<e?m:i(e)<e?g:n(e)<e?o(e)<e?y:b:r(e)<e?v:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?p(Array.from(e,eU)):p().map(Qq)},u.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(Jq(r,e)):u},u.copy=function(){return Zq(u,tU(e,t,r,n,o,i,a,s,l,c))},u}function rU(){return Kq.apply(tU(nW,oW,JV,KV,OV,EV,RV,jV,SV,cW).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}class nU extends Map{constructor(e,t=iU){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(oU(this,e))}has(e){return super.has(oU(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function oU({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function iU(e){return null!==e&&"object"==typeof e?e.valueOf():e}Set;const aU=Symbol("implicit");function sU(){var e=new nU,t=[],r=[],n=aU;function o(o){let i=e.get(o);if(void 0===i){if(n!==aU)return n;e.set(o,i=t.push(o)-1)}return r[i%r.length]}return o.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new nU;for(const n of r)e.has(n)||e.set(n,t.push(n)-1);return o},o.range=function(e){return arguments.length?(r=Array.from(e),o):r.slice()},o.unknown=function(e){return arguments.length?(n=e,o):n},o.copy=function(){return sU(t,r).unknown(n)},Kq.apply(o,arguments),o}function lU(){var e,t,r=sU().unknown(void 0),n=r.domain,o=r.range,i=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var r=n().length,d=a<i,p=d?a:i,h=d?i:a;e=(h-p)/Math.max(1,r-l+2*c),s&&(e=Math.floor(e)),p+=(h-p-e*(r-l))*u,t=e*(1-l),s&&(p=Math.round(p),t=Math.round(t));var f=function(e,t,r){e=+e,t=+t,r=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((t-e)/r)),i=new Array(o);++n<o;)i[n]=e+n*r;return i}(r).map(function(t){return p+e*t});return o(d?f.reverse():f)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),d()):n()},r.range=function(e){return arguments.length?([i,a]=e,i=+i,a=+a,d()):[i,a]},r.rangeRound=function(e){return[i,a]=e,i=+i,a=+a,s=!0,d()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(s=!!e,d()):s},r.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},r.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},r.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},r.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},r.copy=function(){return lU(n(),[i,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},Kq.apply(d(),arguments)}function cU(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return cU(t())},e}function uU(){return cU(lU.apply(null,arguments).paddingInner(1))}function dU(){var e,t=[.5],r=[0,1],n=1;function o(o){return null!=o&&o<=o?r[Iq(t,o,0,n)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),n=Math.min(t.length,r.length-1),o):t.slice()},o.range=function(e){return arguments.length?(r=Array.from(e),n=Math.min(t.length,r.length-1),o):r.slice()},o.invertExtent=function(e){var n=r.indexOf(e);return[t[n-1],t[n]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return dU().domain(t).range(r).unknown(e)},Kq.apply(o,arguments)}var pU,hU=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fU(e){if(!(t=hU.exec(e)))throw new Error("invalid format: "+e);var t;return new mU({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function mU(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function gU(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function yU(e){return(e=gU(Math.abs(e)))?e[1]:NaN}function bU(e,t){var r=gU(e,t);if(!r)return e+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}fU.prototype=mU.prototype,mU.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const vU={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>bU(100*e,t),r:bU,s:function(e,t){var r=gU(e,t);if(!r)return e+"";var n=r[0],o=r[1],i=o-(pU=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+gU(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function xU(e){return e}var wU,CU,_U,kU=Array.prototype.map,AU=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function SU(e){var t=e.domain;return e.ticks=function(e){var r=t();return hV(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return function(e,t,r,n){var o,i=mV(e,t,r);switch((n=fU(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(yU(t)/3)))-yU(Math.abs(e)))}(i,a))||(n.precision=o),_U(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,yU(t)-yU(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=function(e){return Math.max(0,-yU(Math.abs(e)))}(i))||(n.precision=o-2*("%"===n.type))}return CU(n)}(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,o,i=t(),a=0,s=i.length-1,l=i[a],c=i[s],u=10;for(c<l&&(o=l,l=c,c=o,o=a,a=s,s=o);u-- >0;){if((o=fV(l,c,r))===n)return i[a]=l,i[s]=c,t(i);if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}n=o}return e},e}function jU(){var e=Xq();return e.copy=function(){return Zq(e,jU())},Kq.apply(e,arguments),SU(e)}function MU(){var e=SU(function(){var e,t,r,n,o,i=0,a=1,s=Vq,l=!1;function c(t){return null==t||isNaN(t=+t)?o:s(0===r?.5:(t=(n(t)-e)*r,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var r,n;return arguments.length?([r,n]=t,s=e(r,n),c):[s(0),s(1)]}}return c.domain=function(o){return arguments.length?([i,a]=o,e=n(i=+i),t=n(a=+a),r=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(Dq),c.rangeRound=u(Bq),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return n=o,e=o(i),t=o(a),r=e===t?0:1/(t-e),c}}()(Vq));return e.copy=function(){return function(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}(e,MU())},Yq.apply(e,arguments)}function RU(e){return"piecewise"===e.type?dU(e.thresholds,e.colors):MU([e.min??0,e.max??100],e.color)}function IU(e){return e.values?sU(e.values,e.colors).unknown(e.unknownColor??null):sU(e.colors.map((e,t)=>t),e.colors).unknown(e.unknownColor??null)}function EU(e){return"ordinal"===e.type?IU(e):RU(e)}function TU(e){return"number"==typeof e&&!Number.isFinite(e)}wU=function(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?xU:(t=kU.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>n));)s=t[a=(a+1)%t.length];return i.reverse().join(r)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?xU:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(kU.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=fU(e)).fill,r=e.align,d=e.sign,p=e.symbol,h=e.zero,f=e.width,m=e.comma,g=e.precision,y=e.trim,b=e.type;"n"===b?(m=!0,b="g"):vU[b]||(void 0===g&&(g=12),y=!0,b="g"),(h||"0"===t&&"="===r)&&(h=!0,t="0",r="=");var v="$"===p?o:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===p?i:/[%p]/.test(b)?l:"",w=vU[b],C=/[defgprs%]/.test(b);function _(e){var o,i,l,p=v,_=x;if("c"===b)_=w(e)+_,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),g),y&&(e=function(e){e:for(var t,r=e.length,n=1,o=-1;n<r;++n)switch(e[n]){case".":o=t=n;break;case"0":0===o&&(o=n),t=n;break;default:if(!+e[n])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),k&&0===+e&&"+"!==d&&(k=!1),p=(k?"("===d?d:c:"-"===d||"("===d?"":d)+p,_=("s"===b?AU[8+pU/3]:"")+_+(k&&"("===d?")":""),C)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){_=(46===l?a+e.slice(o+1):e.slice(o))+_,e=e.slice(0,o);break}}m&&!h&&(e=n(e,1/0));var A=p.length+e.length+_.length,S=A<f?new Array(f-A+1).join(t):"";switch(m&&h&&(e=n(S+e,S.length?f-_.length:1/0),S=""),r){case"<":e=p+e+_+S;break;case"=":e=p+S+e+_;break;case"^":e=S.slice(0,A=S.length>>1)+p+e+_+S.slice(A);break;default:e=S+p+e+_}return s(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),_.toString=function(){return e+""},_}return{format:d,formatPrefix:function(e,t){var r=d(((e=fU(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(yU(t)/3))),o=Math.pow(10,-n),i=AU[8+n/3];return function(e){return r(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),CU=wU.format,_U=wU.formatPrefix;const PU={start:0,extremities:0,end:1,middle:.5};function LU(e){const{scale:t,tickNumber:r,valueFormatter:o,tickInterval:i,tickPlacement:a="extremities",tickLabelPlacement:s="middle"}=e;return n.useMemo(()=>{if(dH(t)){const e=t.domain();return t.bandwidth()>0?[...("function"==typeof i&&e.filter(i)||"object"==typeof i&&i||e).map(e=>({value:e,formattedValue:o?.(e,{location:"tick"})??`${e}`,offset:t(e)-(t.step()-t.bandwidth())/2+PU[a]*t.step(),labelOffset:"tick"===s?0:t.step()*(PU[s]-PU[a])})),..."extremities"===a?[{formattedValue:void 0,offset:t.range()[1],labelOffset:0}]:[]]:("function"==typeof i&&e.filter(i)||"object"==typeof i&&i||e).map(e=>({value:e,formattedValue:o?.(e,{location:"tick"})??`${e}`,offset:t(e),labelOffset:0}))}return t.domain().some(TU)?[]:("object"==typeof i?i:t.ticks(r)).map(e=>({value:e,formattedValue:o?.(e,{location:"tick"})??t.tickFormat(r)(e),offset:t(e),labelOffset:0}))},[t,i,r,o,a,s])}function OU(e){return Math.log(e)}function NU(e){return Math.exp(e)}function $U(e){return-Math.log(-e)}function zU(e){return-Math.exp(-e)}function DU(e){return isFinite(e)?+("1e"+e):e<0?0:e}function BU(e){return(t,r)=>-e(-t,r)}function FU(){const e=function(e){const t=e(OU,NU),r=t.domain;let n,o,i=10;function a(){return n=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(i),o=function(e){return 10===e?DU:e===Math.E?Math.exp:t=>Math.pow(e,t)}(i),r()[0]<0?(n=BU(n),o=BU(o),e($U,zU)):e(OU,NU),t}return t.base=function(e){return arguments.length?(i=+e,a()):i},t.domain=function(e){return arguments.length?(r(e),a()):r()},t.ticks=e=>{const t=r();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=n(a),p=n(s);const h=null==e?10:+e;let f=[];if(!(i%1)&&p-d<h){if(d=Math.floor(d),p=Math.ceil(p),a>0){for(;d<=p;++d)for(c=1;c<i;++c)if(u=d<0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;f.push(u)}}else for(;d<=p;++d)for(c=i-1;c>=1;--c)if(u=d>0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;f.push(u)}2*f.length<h&&(f=hV(a,s,h))}else f=hV(d,p,Math.min(p-d,h)).map(o);return l?f.reverse():f},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===i?"s":","),"function"!=typeof r&&(i%1||null!=(r=fU(r)).precision||(r.trim=!0),r=CU(r)),e===1/0)return r;const a=Math.max(1,i*e/t.ticks().length);return e=>{let t=e/o(Math.round(n(e)));return t*i<i-.5&&(t*=i),t<=a?r(e):""}},t.nice=()=>r(Jq(r(),{floor:e=>o(Math.floor(n(e))),ceil:e=>o(Math.ceil(n(e)))})),t}(Gq()).domain([1,10]);return e.copy=()=>Zq(e,FU()).base(e.base()),Kq.apply(e,arguments),e}function HU(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function VU(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function WU(e){return e<0?-e*e:e*e}function qU(){var e=function(e){var t=e(Vq,Vq),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(Vq,Vq):.5===r?e(VU,WU):e(HU(r),HU(1/r)):r},SU(t)}(Gq());return e.copy=function(){return Zq(e,qU()).exponent(e.exponent())},Kq.apply(e,arguments),e}function UU(e,t,r){switch(e){case"log":return FU(t,r);case"pow":return qU(t,r);case"sqrt":return function(){return qU.apply(null,arguments).exponent(.5)}(t,r);case"time":return rU(t,r);case"utc":return function(){return Kq.apply(tU(tW,rW,QV,YV,VV,TV,IV,MV,SV,uW).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(t,r);default:return jU(t,r)}}const ZU=(e,t)=>{const r=e[1]-e[0],n=t[1]-t[0];return[e[0]-t[0]*r/n,e[1]+(100-t[1])*r/n]},GU=e=>e?.[0]instanceof Date;function XU(e,t){const r=rU(e.data,t);return(t,{location:n})=>"tick"===n?r.tickFormat(e.tickNumber)(t):`${t.toLocaleString()}`}function KU({drawingArea:e,formattedSeries:t,axis:r,extremumGetters:n,axisDirection:o,zoomData:i,zoomOptions:a,getFilters:s}){const l={};return r.forEach((r,c)=>{const u=r,d=a?.[u.id],p=i?.find(({axisId:e})=>e===u.id),h=p?[p.start,p.end]:[0,100],f=function(e,t,r){if("rotation"===t){const{startAngle:e=0,endAngle:t=e+360}=r;return r.reverse?[Math.PI*e/180,Math.PI*t/180]:[Math.PI*t/180,Math.PI*e/180]}if("radius"===t){const{minRadius:t=0,maxRadius:n=Math.min(e.width,e.height)/2}=r;return[t,n]}const n="x"===t?[e.left,e.left+e.width]:[e.top+e.height,e.top];return r.reverse?[n[1],n[0]]:n}(e,o,u),[m,g]=((e,t,r,n,o)=>{const i=Object.keys(t).reduce((i,a)=>((e,t,r,n,o,i,a)=>{const s=n[t],l=i[t]?.series??{},[c,u]=s?.({series:l,axis:r,axisIndex:o,isDefaultAxis:0===o,getFilters:a})??[1/0,-1/0],[d,p]=e;return[Math.min(c,d),Math.max(u,p)]})(i,a,e,t,r,n,o),[1/0,-1/0]);return Number.isNaN(i[0])||Number.isNaN(i[1])?[1/0,-1/0]:i})(u,n,c,t,void 0!==p||d?void 0:s),y=u.data??[];if("band"===u.scaleType){const e=u.categoryGapRatio??.2,t=u.barGapRatio??.1,r="y"===o?[f[1],f[0]]:f,n=ZU(r,h);if(l[u.id]=(0,je.A)({categoryGapRatio:e,barGapRatio:t},u,{data:y,scale:lU(u.data,n).paddingInner(e).paddingOuter(e/2),tickNumber:u.data.length,colorScale:u.colorMap&&("ordinal"===u.colorMap.type?IU((0,je.A)({values:u.data},u.colorMap)):EU(u.colorMap))}),GU(u.data)){const e=XU(u,r);l[u.id].valueFormatter=u.valueFormatter??e}}if("point"===u.scaleType){const e="y"===o?[...f].reverse():f,t=ZU(e,h);if(l[u.id]=(0,je.A)({},u,{data:y,scale:uU(u.data,t),tickNumber:u.data.length,colorScale:u.colorMap&&("ordinal"===u.colorMap.type?IU((0,je.A)({values:u.data},u.colorMap)):EU(u.colorMap))}),GU(u.data)){const t=XU(u,e);l[u.id].valueFormatter=u.valueFormatter??t}}if("band"===u.scaleType||"point"===u.scaleType)return;const b=u.scaleType??"linear",v=u.domainLimit??"nice",x=[u.min??m,u.max??g];if("function"==typeof v){const{min:e,max:t}=v(m,g);x[0]=e,x[1]=t}const w=function(e){const{tickMaxStep:t,tickMinStep:r,tickNumber:n,range:o,domain:i}=e,a=void 0===r?999:Math.floor(Math.abs(i[1]-i[0])/r),s=void 0===t?2:Math.ceil(Math.abs(i[1]-i[0])/t),l=n??Math.floor(Math.abs(o[1]-o[0])/50);return Math.min(a,Math.max(s,l))}((0,je.A)({},u,{range:f,domain:x})),C=w/((h[1]-h[0])/100),_=UU(b,x,ZU(f,h)),k="nice"===v?_.nice(w):_,[A,S]=k.domain(),j=[u.min??A,u.max??S];l[u.id]=(0,je.A)({},u,{data:y,scaleType:b,scale:k.domain(j),tickNumber:C,colorScale:u.colorMap&&EU(u.colorMap)})}),{axis:l,axisIds:r.map(({id:e})=>e)}}function YU(e){const{xAxis:t,yAxis:r,children:o}=e,i=WH(),a=uH(),s=function(){const{isInitialized:e,data:t}=n.useContext(JH);if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t.xExtremumGetters}(),l=function(){const{isInitialized:e,data:t}=n.useContext(JH);if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t.yExtremumGetters}(),c=n.useMemo(()=>KU({drawingArea:a,formattedSeries:i,axis:t,extremumGetters:s,axisDirection:"x"}),[a,i,t,s]),u=n.useMemo(()=>KU({drawingArea:a,formattedSeries:i,axis:r,extremumGetters:l,axisDirection:"y"}),[a,i,r,l]),d=n.useMemo(()=>({isInitialized:!0,data:{xAxis:c.axis,yAxis:u.axis,xAxisIds:c.axisIds,yAxisIds:u.axisIds}}),[c,u]);return(0,Bt.jsx)(C$.Provider,{value:d,children:o})}const JU=n.createContext({zAxis:{},zAxisIds:[]});function QU(e){const{zAxis:t,dataset:r,children:o}=e,i=n.useMemo(()=>t?.map(e=>{const t=e.dataKey;if(void 0===t||void 0!==e.data)return e;if(void 0===r)throw new Error("MUI X: z-axis uses `dataKey` but no `dataset` is provided.");return(0,je.A)({},e,{data:r.map(e=>e[t])})}),[t,r]),a=n.useMemo(()=>{const e=i?.map((e,t)=>(0,je.A)({id:`defaultized-z-axis-${t}`},e))??[],t={};return e.forEach(e=>{t[e.id]=(0,je.A)({},e,{colorScale:e.colorMap&&("ordinal"===e.colorMap.type&&e.data?IU((0,je.A)({values:e.data},e.colorMap)):EU("continuous"===e.colorMap.type?(0,je.A)({min:e.min,max:e.max},e.colorMap):e.colorMap))})}),{zAxis:t,zAxisIds:e.map(({id:e})=>e)}},[i]);return(0,Bt.jsx)(JU.Provider,{value:a,children:o})}const eZ=(e,t)=>r=>!!e&&("series"===e.fade?r.seriesId===t?.seriesId&&r.dataIndex!==t?.dataIndex:"global"===e.fade&&(r.seriesId!==t?.seriesId||r.dataIndex!==t?.dataIndex)),tZ=(e,t)=>r=>!!e&&("series"===e.highlight||"item"===e.highlight&&r.dataIndex===t?.dataIndex)&&r.seriesId===t?.seriesId,rZ=["highlighted","faded"];function nZ({children:e,highlightedItem:t,onHighlightChange:r}){const[o,i]=bj({controlled:t,default:null,name:"HighlightedProvider",state:"highlightedItem"}),a=WH(),s=n.useMemo(()=>{const e=new Map;return Object.keys(a).forEach(t=>{const r=a[t];Object.keys(r?.series??{}).forEach(t=>{const n=r?.series[t];e.set(t,(e=>{const t=e??{},{highlighted:r,faded:n}=t,o=(0,Me.A)(t,rZ);return(0,je.A)({highlight:r,fade:n},o)})(n?.highlightScope))})}),e},[a]),l=o&&o.seriesId?s.get(o.seriesId)??void 0:void 0,c=n.useMemo(()=>({isInitialized:!0,data:{highlightScope:l,highlightedItem:o,setHighlighted:e=>{i(e),r?.(e)},clearHighlighted:()=>{i(null),r?.(null)},isHighlighted:tZ(l,o),isFaded:eZ(l,o)}}),[o,l,i,r]);return(0,Bt.jsx)(L$.Provider,{value:c,children:e})}const oZ=(e,t)=>"x"===t?{x:e,y:null}:{x:null,y:e},iZ=e=>{const{axis:t,getFilters:r,isDefaultAxis:n}=e,o=r?.({currentAxisId:t.id,isDefaultAxis:n}),i=o?t.data?.filter((e,t)=>o({x:null,y:null},t)):t.data;return[Math.min(...i??[]),Math.max(...i??[])]},aZ=e=>t=>{const{series:r,axis:n,getFilters:o,isDefaultAxis:i}=t;return Object.keys(r).filter(e=>{const t=r[e].yAxisId??r[e].yAxisKey;return t===n.id||i&&void 0===t}).reduce((t,a)=>{const{stackedData:s}=r[a],l=o?.({currentAxisId:n.id,isDefaultAxis:i,seriesXAxisId:r[a].xAxisId??r[a].xAxisKey,seriesYAxisId:r[a].yAxisId??r[a].yAxisKey}),[c,u]=s?.reduce((t,r,n)=>!l||l(oZ(r[0],e),n)&&l(oZ(r[1],e),n)?[Math.min(...r,t[0]),Math.max(...r,t[1])]:t,[1/0,-1/0])??[1/0,-1/0];return[Math.min(c,t[0]),Math.max(u,t[1])]},[1/0,-1/0])};function sZ(e,t){if((o=e.length)>1)for(var r,n,o,i=1,a=e[t[0]],s=a.length;i<o;++i)for(n=a,a=e[t[i]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function lZ(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function cZ(e,t){return e[t]}function uZ(e){const t=[];return t.key=e,t}function dZ(){var e=h$([]),t=lZ,r=sZ,n=cZ;function o(o){var i,a,s=Array.from(e.apply(this,arguments),uZ),l=s.length,c=-1;for(const e of o)for(i=0,++c;i<l;++i)(s[i][c]=[0,+n(e,s[i].key,c,o)]).data=e;for(i=0,a=p$(t(s));i<l;++i)s[a[i]].index=i;return r(s,a),s}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:h$(Array.from(t)),o):e},o.value=function(e){return arguments.length?(n="function"==typeof e?e:h$(+e),o):n},o.order=function(e){return arguments.length?(t=null==e?lZ:"function"==typeof e?e:h$(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(r=null==e?sZ:e,o):r},o}function pZ(e){var t=e.map(hZ);return lZ(e).sort(function(e,r){return t[e]-t[r]})}function hZ(e){for(var t,r=-1,n=0,o=e.length,i=-1/0;++r<o;)(t=+e[r][1])>i&&(i=t,n=r);return n}function fZ(e){var t=e.map(mZ);return lZ(e).sort(function(e,r){return t[e]-t[r]})}function mZ(e){for(var t,r=0,n=-1,o=e.length;++n<o;)(t=+e[n][1])&&(r+=t);return r}const gZ={appearance:pZ,ascending:fZ,descending:function(e){return fZ(e).reverse()},insideOut:function(e){var t,r,n=e.length,o=e.map(mZ),i=pZ(e),a=0,s=0,l=[],c=[];for(t=0;t<n;++t)r=i[t],a<s?(a+=o[r],l.push(r)):(s+=o[r],c.push(r));return c.reverse().concat(l)},none:lZ,reverse:function(e){return lZ(e).reverse()}},yZ={expand:function(e,t){if((n=e.length)>0){for(var r,n,o,i=0,a=e[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}sZ(e,t)}},diverging:function(e,t){if((s=e.length)>0)for(var r,n,o,i,a,s,l=0,c=e[t[0]].length;l<c;++l)for(i=a=0,r=0;r<s;++r)(o=(n=e[t[r]][l])[1]-n[0])>0?(n[0]=i,n[1]=i+=o):o<0?(n[1]=a,n[0]=a+=o):(n[0]=0,n[1]=o)},none:sZ,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,o=e[t[0]],i=o.length;n<i;++n){for(var a=0,s=0;a<r;++a)s+=e[a][n][1]||0;o[n][1]+=o[n][0]=-s/2}sZ(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var s=0,l=0,c=0;s<o;++s){for(var u=e[t[s]],d=u[a][1]||0,p=(d-(u[a-1][1]||0))/2,h=0;h<s;++h){var f=e[t[h]];p+=(f[a][1]||0)-(f[a-1][1]||0)}l+=d,c+=p*d}r[a-1][1]+=r[a-1][0]=i,l&&(i-=c/l)}r[a-1][1]+=r[a-1][0]=i,sZ(e,t)}}},bZ=e=>{const{series:t,seriesOrder:r,defaultStrategy:n}=e,o=[],i={};return r.forEach(e=>{const{stack:r,stackOrder:a,stackOffset:s}=t[e];void 0===r?o.push({ids:[e],stackingOrder:gZ.none,stackingOffset:yZ.none}):void 0===i[r]?(i[r]=o.length,o.push({ids:[e],stackingOrder:gZ[a??n?.stackOrder??"none"],stackingOffset:yZ[s??n?.stackOffset??"diverging"]})):(o[i[r]].ids.push(e),void 0!==a&&(o[i[r]].stackingOrder=gZ[a]),void 0!==s&&(o[i[r]].stackingOffset=yZ[s]))}),o};function vZ(e,t){const r={};return Object.keys(e).forEach(n=>{r[n]=(0,je.A)({},e[n],{valueFormatter:e[n].valueFormatter??t})}),r}const xZ=(e,t)=>[null===t[0]?e[0]:Math.min(e[0],t[0]),null===t[1]?e[1]:Math.max(e[1],t[1])],wZ={seriesType:"scatter",seriesFormatter:({series:e,seriesOrder:t},r)=>{const n=Object.fromEntries(Object.entries(e).map(([e,t])=>{const n=t?.datasetKeys,o=["x","y","id"].filter(e=>"string"!=typeof n?.[e]);if(t?.datasetKeys&&o.length>0)throw new Error([`MUI X: scatter series with id='${e}' has incomplete datasetKeys.`,`Properties ${o.map(e=>`"${e}"`).join(", ")} are missing.`].join("\n"));const i=n?r?.map(e=>({x:e[n.x]??null,y:e[n.y]??null,z:n.z&&e[n.z],id:e[n.id]}))??[]:t.data??[];return[e,(0,je.A)({},t,{data:i,valueFormatter:t.valueFormatter??(e=>`(${e.x}, ${e.y})`)})]}));return{series:n,seriesOrder:t}},colorProcessor:(e,t,r,n)=>{const o=n?.colorScale,i=r?.colorScale,a=t?.colorScale;return o?t=>{if(void 0!==n?.data?.[t]){const e=o(n?.data?.[t]);if(null!==e)return e}const r=e.data[t],i=null===r?e.color:o(r.z);return null===i?e.color:i}:i?t=>{const r=e.data[t],n=null===r?e.color:i(r.y);return null===n?e.color:n}:a?t=>{const r=e.data[t],n=null===r?e.color:a(r.x);return null===n?e.color:n}:()=>e.color},xExtremumGetter:e=>{const{series:t,axis:r,isDefaultAxis:n,getFilters:o}=e;return Object.keys(t).filter(e=>{const o=t[e].xAxisId??t[e].xAxisKey;return o===r.id||void 0===o&&n}).reduce((e,i)=>{const a=o?.({currentAxisId:r.id,isDefaultAxis:n,seriesXAxisId:t[i].xAxisId??t[i].xAxisKey,seriesYAxisId:t[i].yAxisId??t[i].yAxisKey}),s=t[i].data?.reduce((e,t,r)=>a&&!a(t,r)?e:xZ(e,[t.x,t.x]),[1/0,-1/0]);return xZ(e,s??[1/0,-1/0])},[1/0,-1/0])},yExtremumGetter:e=>{const{series:t,axis:r,isDefaultAxis:n,getFilters:o}=e;return Object.keys(t).filter(e=>{const o=t[e].yAxisId??t[e].yAxisKey;return o===r.id||void 0===o&&n}).reduce((e,i)=>{const a=o?.({currentAxisId:r.id,isDefaultAxis:n,seriesXAxisId:t[i].xAxisId??t[i].xAxisKey,seriesYAxisId:t[i].yAxisId??t[i].yAxisKey}),s=t[i].data?.reduce((e,t,r)=>a&&!a(t,r)?e:xZ(e,[t.y,t.y]),[1/0,-1/0]);return xZ(e,s??[1/0,-1/0])},[1/0,-1/0])}},CZ=(e,t,r)=>{const n=r?.colorScale,o=t?.colorScale;return n?t=>{const r=e.data[t],o=null===r?e.color:n(r);return null===o?e.color:o}:o?r=>{const n=t.data?.[r],i=null===n?e.color:o(n);return null===i?e.color:i}:()=>e.color},_Z={seriesType:"line",colorProcessor:CZ,seriesFormatter:(e,t)=>{const{seriesOrder:r,series:n}=e,o=bZ((0,je.A)({},e,{defaultStrategy:{stackOffset:"none"}})),i=t??[];r.forEach(e=>{const t=n[e].data;void 0!==t&&t.forEach((t,r)=>{i.length<=r?i.push({[e]:t}):i[r][e]=t})});const a={};return o.forEach(e=>{const{ids:r,stackingOrder:o,stackingOffset:s}=e,l=dZ().keys(r.map(e=>{const t=n[e].dataKey;return void 0===n[e].data&&void 0!==t?t:e})).value((e,t)=>e[t]??0).order(o).offset(s)(i);r.forEach((e,r)=>{const o=n[e].dataKey;a[e]=(0,je.A)({},n[e],{data:o?t.map(e=>{const t=e[o];return"number"!=typeof t?null:t}):n[e].data,stackedData:l[r].map(([e,t])=>[e,t])})})}),{seriesOrder:r,stackingGroups:o,series:vZ(a,e=>null==e?"":e.toLocaleString())}},xExtremumGetter:e=>{const{axis:t}=e;return[Math.min(...t.data??[]),Math.max(...t.data??[])]},yExtremumGetter:e=>{const{series:t,axis:r,isDefaultAxis:n,getFilters:o}=e;return Object.keys(t).filter(e=>{const o=t[e].yAxisId??t[e].yAxisKey;return o===r.id||n&&void 0===o}).reduce((e,i)=>{const{area:a,stackedData:s}=t[i],l=void 0!==a,c=o?.({currentAxisId:r.id,isDefaultAxis:n,seriesXAxisId:t[i].xAxisId??t[i].xAxisKey,seriesYAxisId:t[i].yAxisId??t[i].yAxisKey}),u=l&&"log"!==r.scaleType&&"string"!=typeof t[i].baseline?e=>e:e=>[e[1],e[1]],d=function(e,t,r){return t.reduce((t,n,o)=>{const[i,a]=e(n);return!r||r({y:i,x:null},o)&&r({y:a,x:null},o)?[Math.min(i,a,t[0]),Math.max(i,a,t[1])]:t},[1/0,-1/0])}(u,s,c),[p,h]=d;return[Math.min(p,e[0]),Math.max(h,e[1])]},[1/0,-1/0])}};function kZ(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function AZ(e){return e}function SZ(e,t){return"function"==typeof e?e(t):e}const jZ=[{seriesType:"bar",seriesFormatter:(e,t)=>{const{seriesOrder:r,series:n}=e,o=bZ(e),i=t??[];r.forEach(e=>{const r=n[e].data;if(void 0!==r)r.forEach((t,r)=>{i.length<=r?i.push({[e]:t}):i[r][e]=t});else if(void 0===t)throw new Error([`MUI X: bar series with id='${e}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join("\n"))});const a={};return o.forEach(e=>{const{ids:r,stackingOffset:o,stackingOrder:s}=e,l=dZ().keys(r.map(e=>{const t=n[e].dataKey;return void 0===n[e].data&&void 0!==t?t:e})).value((e,t)=>e[t]??0).order(s).offset(o)(i);r.forEach((e,r)=>{const o=n[e].dataKey;a[e]=(0,je.A)({layout:"vertical"},n[e],{data:o?t.map(e=>{const t=e[o];return"number"!=typeof t?0:t}):n[e].data,stackedData:l[r].map(([e,t])=>[e,t])})})}),{seriesOrder:r,stackingGroups:o,series:vZ(a,e=>null==e?"":e.toLocaleString())}},colorProcessor:(e,t,r)=>{const n="vertical"===e.layout,o=n?t?.colorScale:r?.colorScale,i=n?r?.colorScale:t?.colorScale,a=n?t?.data:r?.data;return i?t=>{const r=e.data[t],n=null===r?e.color:i(r);return null===n?e.color:n}:o&&a?t=>{const r=a[t],n=null===r?e.color:o(r);return null===n?e.color:n}:()=>e.color},xExtremumGetter:e=>Object.keys(e.series).some(t=>"horizontal"===e.series[t].layout)?aZ("x")(e):iZ(e),yExtremumGetter:e=>Object.keys(e.series).some(t=>"horizontal"===e.series[t].layout)?iZ(e):aZ("y")(e)},wZ,_Z,{seriesType:"pie",colorProcessor:e=>t=>e.data[t].color,seriesFormatter:e=>{const{seriesOrder:t,series:r}=e,n={};return t.forEach(e=>{const t=function(){var e=AZ,t=kZ,r=null,n=h$(0),o=h$(_H),i=h$(0);function a(a){var s,l,c,u,d,p=(a=p$(a)).length,h=0,f=new Array(p),m=new Array(p),g=+n.apply(this,arguments),y=Math.min(_H,Math.max(-_H,o.apply(this,arguments)-g)),b=Math.min(Math.abs(y)/p,i.apply(this,arguments)),v=b*(y<0?-1:1);for(s=0;s<p;++s)(d=m[f[s]=s]=+e(a[s],s,a))>0&&(h+=d);for(null!=t?f.sort(function(e,r){return t(m[e],m[r])}):null!=r&&f.sort(function(e,t){return r(a[e],a[t])}),s=0,c=h?(y-p*v)/h:0;s<p;++s,g=u)l=f[s],u=g+((d=m[l])>0?d*c:0)+v,m[l]={data:a[l],index:s,value:d,startAngle:g,endAngle:u,padAngle:b};return m}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:h$(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,r=null,a):t},a.sort=function(e){return arguments.length?(r=e,t=null,a):r},a.startAngle=function(e){return arguments.length?(n="function"==typeof e?e:h$(+e),a):n},a.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:h$(+e),a):o},a.padAngle=function(e){return arguments.length?(i="function"==typeof e?e:h$(+e),a):i},a}().startAngle(2*Math.PI*(r[e].startAngle??0)/360).endAngle(2*Math.PI*(r[e].endAngle??360)/360).padAngle(2*Math.PI*(r[e].paddingAngle??0)/360).sortValues(((e="none")=>{if("function"==typeof e)return e;switch(e){case"none":default:return null;case"desc":return(e,t)=>t-e;case"asc":return(e,t)=>e-t}})(r[e].sortingValues??"none"))(r[e].data.map(e=>e.value));n[e]=(0,je.A)({valueFormatter:e=>e.value.toLocaleString()},r[e],{data:r[e].data.map((r,n)=>(0,je.A)({},r,{id:r.id??`auto-generated-pie-id-${e}-${n}`},t[n])).map((t,n)=>(0,je.A)({},t,{formattedValue:r[e].valueFormatter?.((0,je.A)({},t,{label:SZ(t.label,"arc")}),{dataIndex:n})??t.value.toLocaleString()}))})}),{seriesOrder:t,series:n}}}];function MZ(e){const t=e??jZ,r={},n={},o={},i={},a={},s={};for(let e=0;e<t.length;e+=1){const l=t[e],c=l.seriesType;r[c]=l.seriesFormatter,n[c]=l.colorProcessor,l.xExtremumGetter&&(o[c]=l.xExtremumGetter),l.yExtremumGetter&&(i[c]=l.yExtremumGetter),l.rotationExtremumGetter&&(a[c]=l.rotationExtremumGetter),l.radiusExtremumGetter&&(s[c]=l.radiusExtremumGetter)}return{seriesFormatters:r,colorProcessors:n,xExtremumGetters:o,yExtremumGetters:i,rotationExtremumGetters:a,radiusExtremumGetters:s}}function RZ(e){const{children:t,plugins:r}=e,o=n.useMemo(()=>({isInitialized:!0,data:MZ(r)}),[r]);return(0,Bt.jsx)(JH.Provider,{value:o,children:t})}const IZ=(e,t,r)=>{const n="x"===r?iH:"DEFAULT_Y_AXIS_KEY";return[...e?.map((e,t)=>(0,je.A)({id:`defaultized-${r}-axis-${t}`},e))??[],...void 0===e||-1===e.findIndex(({id:e})=>e===n)?[{id:n,scaleType:"linear"}]:[]].map(e=>{const n=e.dataKey;if(void 0===n||void 0!==e.data)return e;if(void 0===t)throw new Error(`MUI X: ${r}-axis uses \`dataKey\` but no \`dataset\` is provided.`);return(0,je.A)({},e,{data:t.map(e=>e[n])})})},EZ=["width","height","series","margin","xAxis","yAxis","zAxis","colors","dataset","sx","title","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","children","skipAnimation"];function TZ(e){const{children:t,skipAnimation:r}=e,o="undefined"==typeof window||!window?.matchMedia,[i,a]=n.useState(o||void 0);AD(()=>{if(o)return;const e=e=>{const t=e.matches||void 0;a(t),rz.assign({skipAnimation:t})},t=window.matchMedia("(prefers-reduced-motion)");return e(t),t?.addEventListener?.("change",e),()=>{t?.removeEventListener?.("change",e)}},[]);const s=n.useMemo(()=>({isInitialized:!0,data:{skipAnimation:r||i}}),[i,r]);return(0,Bt.jsx)(qH.Provider,{value:s,children:t})}const PZ=n.forwardRef(function(e,t){const{children:r,drawingProviderProps:o,seriesProviderProps:i,cartesianProviderProps:a,zAxisContextProps:s,highlightedProviderProps:l,chartsSurfaceProps:c,pluginProviderProps:u,animationProviderProps:d}=((e,t)=>{const{width:r,height:o,series:i,margin:a,xAxis:s,yAxis:l,zAxis:c,colors:u,dataset:d,sx:p,title:h,desc:f,disableAxisListener:m,highlightedItem:g,onHighlightChange:y,plugins:b,children:v,skipAnimation:x}=e,w=(0,Me.A)(e,EZ),C=n.useRef(null),_=DC(t,C),[k,A]=((e,t,r)=>[n.useMemo(()=>IZ(e,r,"x"),[e,r]),n.useMemo(()=>IZ(t,r,"y"),[t,r])])(s,l,d),S={skipAnimation:x},j={plugins:b};return{children:v,drawingProviderProps:{width:r,height:o,margin:a,svgRef:C},seriesProviderProps:{series:i,colors:u,dataset:d},cartesianProviderProps:{xAxis:k,yAxis:A,dataset:d},zAxisContextProps:{zAxis:c,dataset:d},highlightedProviderProps:{highlightedItem:g,onHighlightChange:y},chartsSurfaceProps:(0,je.A)({},w,{width:r,height:o,ref:_,sx:p,title:h,desc:f,disableAxisListener:m}),pluginProviderProps:j,animationProviderProps:S,xAxis:k,yAxis:A}})(e,t);return(0,Bt.jsx)(cH,(0,je.A)({},o,{children:(0,Bt.jsx)(RZ,(0,je.A)({},u,{children:(0,Bt.jsx)(QH,(0,je.A)({},i,{children:(0,Bt.jsx)(YU,(0,je.A)({},a,{children:(0,Bt.jsx)(QU,(0,je.A)({},s,{children:(0,Bt.jsx)(P$,{children:(0,Bt.jsx)(nZ,(0,je.A)({},l,{children:(0,Bt.jsxs)(oV,(0,je.A)({},c,{children:[(0,Bt.jsx)(HH,{}),(0,Bt.jsx)(TZ,(0,je.A)({},d,{children:r}))]}))}))})}))}))}))}))}))}),LZ=fo("div",{name:"MuiResponsiveChart",slot:"Container"})(({ownerState:e})=>({width:e.width??"100%",height:e.height??"100%",display:"flex",position:"relative",flexGrow:1,flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden","&>svg":{width:"100%",height:"100%"}})),OZ=["width","height","resolveSizeBeforeRender","margin","children","series","colors","dataset","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","sx","title","viewBox","xAxis","yAxis","zAxis","skipAnimation"],NZ=n.forwardRef(function(e,t){const{hasIntrinsicSize:r,chartContainerProps:o,resizableChartContainerProps:i}=((e,t)=>{const{width:r,height:o,resolveSizeBeforeRender:i,margin:a,children:s,series:l,colors:c,dataset:u,desc:d,disableAxisListener:p,highlightedItem:h,onHighlightChange:f,plugins:m,sx:g,title:y,viewBox:b,xAxis:v,yAxis:x,zAxis:w,skipAnimation:C}=e,_=(0,Me.A)(e,OZ),{containerRef:k,width:A,height:S}=((e,t,r)=>{const o=n.useRef({displayError:!1,initialCompute:!0,computeRun:0}),i=n.useRef(null),[a,s]=n.useState(0),[l,c]=n.useState(0),u=n.useCallback(()=>{const e=i?.current;if(!e)return{};const t=ik(e).getComputedStyle(e),r=Math.floor(parseFloat(t.height))||0,n=Math.floor(parseFloat(t.width))||0;return s(n),c(r),{width:n,height:r}},[]);return n.useEffect(()=>{o.current.displayError=!0},[]),HC(()=>{if(!r||!o.current.initialCompute||o.current.computeRun>20)return;const e=u();e.width!==a||e.height!==l?o.current.computeRun+=1:o.current.initialCompute&&(o.current.initialCompute=!1)},[a,l,u,r]),HC(()=>{if(void 0!==e&&void 0!==t)return()=>{};u();const r=i.current;if("undefined"==typeof ResizeObserver)return()=>{};let n;const o=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{u()})});return r&&o.observe(r),()=>{n&&cancelAnimationFrame(n),r&&o.unobserve(r)}},[u,t,e]),{containerRef:i,width:e??a,height:t??l}})(r,o,i);return{hasIntrinsicSize:A&&S,chartContainerProps:{margin:a,children:s,series:l,colors:c,dataset:u,desc:d,disableAxisListener:p,highlightedItem:h,onHighlightChange:f,plugins:m,sx:g,title:y,viewBox:b,xAxis:v,yAxis:x,zAxis:w,skipAnimation:C,width:A,height:S,ref:t},resizableChartContainerProps:(0,je.A)({},_,{ownerState:{width:r,height:o},ref:k})}})(e,t);return(0,Bt.jsx)(LZ,(0,je.A)({},i,{children:r?(0,Bt.jsx)(PZ,(0,je.A)({},o)):null}))});new Set,I$("MuiMarkElement",["root","highlighted","faded"]);vH(3);vH(1/3);const $Z=bH(wH/10)/bH(7*wH/10);bH(_H/10),mH(_H/10),vH(3),vH(3),vH(3),vH(12);fo(yF.path,{name:"MuiMarkElement",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>({fill:(t.vars||t).palette.background.paper,stroke:e.color,strokeWidth:2}));function zZ(e){return dP("MuiChartsAxis",e)}const DZ=I$("MuiChartsAxis",["root","line","tickContainer","tick","tickLabel","label","directionX","directionY","top","bottom","left","right"]),BZ=fo("g",{name:"MuiChartsAxis",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`& .${DZ.tickLabel}`]:(0,je.A)({},e.typography.caption,{fill:(e.vars||e).palette.text.primary}),[`& .${DZ.label}`]:(0,je.A)({},e.typography.body1,{fill:(e.vars||e).palette.text.primary}),[`& .${DZ.line}`]:{stroke:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges",strokeWidth:1},[`& .${DZ.tick}`]:{stroke:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges"}})),FZ={widthCache:{},cacheCount:0},HZ={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},VZ=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],WZ="mui_measurement_span";function qZ(e,t){return VZ.indexOf(e)>=0&&t===+t?`${t}px`:t}function UZ(e){const t=e.split("").reduce((e,t)=>t===t.toUpperCase()?[...e,"-",t.toLowerCase()]:[...e,t],[]);return t.join("")}let ZZ;function GZ({style:e,needsComputation:t,text:r}){return r.split("\n").map(r=>(0,je.A)({text:r},t?((e,t={})=>{if(null==e||"undefined"==typeof window)return{width:0,height:0};const r=`${e}`,n=(e=>Object.keys(e).sort().reduce((t,r)=>`${t}${UZ(r)}:${qZ(r,e[r])};`,""))(t),o=`${r}-${n}`;if(FZ.widthCache[o])return FZ.widthCache[o];try{let e=document.getElementById(WZ);null===e&&(e=document.createElement("span"),e.setAttribute("id",WZ),e.setAttribute("aria-hidden","true"),document.body.appendChild(e));const n=(0,je.A)({},HZ,t);Object.keys(n).map(t=>(e.style[UZ(t)]=qZ(t,n[t]),t)),e.textContent=r;const i=e.getBoundingClientRect(),a={width:i.width,height:i.height};return FZ.widthCache[o]=a,FZ.cacheCount+1>2e3?(FZ.cacheCount=0,FZ.widthCache={}):FZ.cacheCount+=1,ZZ&&clearTimeout(ZZ),ZZ=setTimeout(()=>{e.textContent=""},0),a}catch{return{width:0,height:0}}})(r,e):{width:0,height:0}))}const XZ=["x","y","style","text","ownerState"],KZ=["angle","textAnchor","dominantBaseline"];function YZ(e){const{x:t,y:r,style:o,text:i}=e,a=(0,Me.A)(e,XZ),s=o??{},{angle:l,textAnchor:c,dominantBaseline:u}=s,d=(0,Me.A)(s,KZ),p=n.useMemo(()=>GZ({style:d,needsComputation:i.includes("\n"),text:i}),[d,i]);let h;switch(u){case"hanging":h=0;break;case"central":h=(p.length-1)/2*-p[0].height;break;default:h=(p.length-1)*-p[0].height}const f=[];return l&&f.push(`rotate(${l}, ${t}, ${r})`),(0,Bt.jsx)("text",(0,je.A)({},a,{transform:f.length>0?f.join(" "):void 0,x:t,y:r,textAnchor:c,dominantBaseline:u,style:d,children:p.map((e,r)=>(0,Bt.jsx)("tspan",{x:t,dy:`${0===r?h:p[0].height}px`,dominantBaseline:u,children:e.text},r))}))}const JZ=["scale","tickNumber","reverse"];const QZ=fo(BZ,{name:"MuiChartsXAxis",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eG={position:"bottom",disableLine:!1,disableTicks:!1,tickSize:6};function tG(e){const{xAxisIds:t,xAxis:r}=_$(),o=r[e.axisId??t[0]],{scale:i,tickNumber:a,reverse:s}=o,l=(0,Me.A)(o,JZ),c=function(e=!1){const[t,r]=n.useState(!1);return HC(()=>{e||r(!0)},[e]),n.useEffect(()=>{e&&r(!0)},[e]),t}(),u=go({props:(0,je.A)({},l,e),name:"MuiChartsXAxis"}),d=(0,je.A)({},eG,u),{position:p,disableLine:h,disableTicks:f,tickLabelStyle:m,label:g,labelStyle:y,tickFontSize:b,labelFontSize:v,tickSize:x,valueFormatter:w,slots:C,slotProps:_,tickInterval:k,tickLabelInterval:A,tickPlacement:S,tickLabelPlacement:j,sx:M}=d,R=yo(),I=(e=>{const{classes:t,position:r}=e;return sP({root:["root","directionX",r],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},zZ,t)})((0,je.A)({},d,{theme:R})),{left:E,top:T,width:P,height:L,isPointInside:O}=uH(),N=f?4:x,$="bottom"===p?1:-1,z=C?.axisLine??"line",D=C?.axisTick??"line",B=C?.axisTickLabel??YZ,F=C?.axisLabel??YZ,H=R$({elementType:B,externalSlotProps:_?.axisTickLabel,additionalProps:{style:(0,je.A)({textAnchor:"middle",dominantBaseline:"bottom"===p?"hanging":"auto",fontSize:b??12},m)},className:I.tickLabel,ownerState:{}}),V=function(e,{tickLabelStyle:t,tickLabelInterval:r,reverse:n,isMounted:o}){const i=e.map(e=>{if(!o||void 0===e.formattedValue)return(0,je.A)({},e,{width:0,height:0});const r=GZ({style:t,needsComputation:!0,text:e.formattedValue});return(0,je.A)({},e,{width:Math.max(...r.map(e=>e.width)),height:Math.max(r.length*r[0].height)})});if("function"==typeof r)return i.map((e,t)=>(0,je.A)({},e,{skipLabel:!r(e.value,t)}));let a=0,s=0;const l=n?-1:1;return i.map((e,r)=>{const{width:n,offset:o,labelOffset:i,height:c}=e,u=function(e,t,r=0){const n=Math.min(Math.abs(r)%180,Math.abs(Math.abs(r)%180-180)%180);if(n<5)return e;if(n>85)return t;const o=n*Math.PI/180;return o<Math.atan2(t,e)?e/Math.cos(o):t/Math.sin(o)}(n,c,t?.angle),d=o+i;return a=d-l*(1.2*u)/2,r>0&&l*a<l*s?(0,je.A)({},e,{skipLabel:!0}):(s=d+l*(1.2*u)/2,e)})}(LU({scale:i,tickNumber:a,valueFormatter:w,tickInterval:k,tickPlacement:S,tickLabelPlacement:j}),{tickLabelStyle:H.style,tickLabelInterval:A,reverse:s,isMounted:c}),W={x:E+P/2,y:$*(N+22)},q=R$({elementType:F,externalSlotProps:_?.axisLabel,additionalProps:{style:(0,je.A)({fontSize:v??14,textAnchor:"middle",dominantBaseline:"bottom"===p?"hanging":"auto"},y)},ownerState:{}}),U=i.domain(),Z=dH(i);return Z&&0===U.length||!Z&&U.some(TU)?null:(0,Bt.jsxs)(QZ,{transform:`translate(0, ${"bottom"===p?T+L:T})`,className:I.root,sx:M,children:[!h&&(0,Bt.jsx)(z,(0,je.A)({x1:E,x2:E+P,className:I.line},_?.axisLine)),V.map(({formattedValue:e,offset:t,labelOffset:r,skipLabel:n},o)=>{const i=r??0,a=$*(N+3),s=O({x:t,y:-1},{direction:"x"}),l=O({x:t+i,y:-1},{direction:"x"});return(0,Bt.jsxs)("g",{transform:`translate(${t}, 0)`,className:I.tickContainer,children:[!f&&s&&(0,Bt.jsx)(D,(0,je.A)({y2:$*N,className:I.tick},_?.axisTick)),void 0!==e&&!n&&l&&(0,Bt.jsx)(B,(0,je.A)({x:i,y:a},H,{text:e.toString()}))]},o)}),g&&(0,Bt.jsx)("g",{className:I.label,children:(0,Bt.jsx)(F,(0,je.A)({},W,q,{text:g}))})]})}const rG=n.createContext(),nG=()=>n.useContext(rG)??!1,oG=["scale","tickNumber"],iG=fo(BZ,{name:"MuiChartsYAxis",slot:"Root",overridesResolver:(e,t)=>t.root})({}),aG={position:"left",disableLine:!1,disableTicks:!1,tickFontSize:12,labelFontSize:14,tickSize:6};function sG(e){const{yAxisIds:t,yAxis:r}=_$(),n=r[e.axisId??t[0]],{scale:o,tickNumber:i}=n,a=(0,Me.A)(n,oG),s=go({props:(0,je.A)({},a,e),name:"MuiChartsYAxis"}),l=(0,je.A)({},aG,s),{position:c,disableLine:u,disableTicks:d,tickFontSize:p,label:h,labelFontSize:f,labelStyle:m,tickLabelStyle:g,tickSize:y,valueFormatter:b,slots:v,slotProps:x,tickPlacement:w,tickLabelPlacement:C,tickInterval:_,tickLabelInterval:k,sx:A}=l,S=yo(),j=nG(),M=(e=>{const{classes:t,position:r}=e;return sP({root:["root","directionY",r],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},zZ,t)})((0,je.A)({},l,{theme:S})),{left:R,top:I,width:E,height:T,isPointInside:P}=uH(),L=d?4:y,O=LU({scale:o,tickNumber:i,valueFormatter:b,tickPlacement:w,tickLabelPlacement:C,tickInterval:_}),N="right"===c?1:-1,$={x:N*(p+L+10),y:I+T/2},z=v?.axisLine??"line",D=v?.axisTick??"line",B=v?.axisTickLabel??YZ,F=v?.axisLabel??YZ,H=!j&&"right"===c||j&&"right"!==c,V=R$({elementType:B,externalSlotProps:x?.axisTickLabel,additionalProps:{style:(0,je.A)({fontSize:p,textAnchor:H?"start":"end",dominantBaseline:"central"},g)},className:M.tickLabel,ownerState:{}}),W=R$({elementType:F,externalSlotProps:x?.axisLabel,additionalProps:{style:(0,je.A)({fontSize:f,angle:90*N,textAnchor:"middle",dominantBaseline:"auto"},m)},ownerState:{}}),q=R$({elementType:z,externalSlotProps:x?.axisLine,additionalProps:{strokeLinecap:"square"},ownerState:{}}),U=o.domain(),Z=dH(o);return Z&&0===U.length||!Z&&U.some(TU)?null:(0,Bt.jsxs)(iG,{transform:`translate(${"right"===c?R+E:R}, 0)`,className:M.root,sx:A,children:[!u&&(0,Bt.jsx)(z,(0,je.A)({y1:I,y2:I+T,className:M.line},q)),O.map(({formattedValue:e,offset:t,labelOffset:r,value:n},o)=>{const i=N*(L+2),a=r,s="function"==typeof k&&!k?.(n,o);return P({x:-1,y:t},{direction:"y"})?(0,Bt.jsxs)("g",{transform:`translate(0, ${t})`,className:M.tickContainer,children:[!d&&(0,Bt.jsx)(D,(0,je.A)({x2:N*L,className:M.tick},x?.axisTick)),void 0!==e&&!s&&(0,Bt.jsx)(B,(0,je.A)({x:i,y:a,text:e.toString()},V))]},o):null}),h&&(0,Bt.jsx)("g",{className:M.label,children:(0,Bt.jsx)(F,(0,je.A)({},$,W,{text:h}))})]})}const lG=(e,t)=>null==e?null:"object"==typeof e?e.axisId??t??null:e,cG=(e,t,r)=>"object"==typeof e?(0,je.A)({},e,{slots:(0,je.A)({},t,e?.slots),slotProps:(0,je.A)({},r,e?.slotProps)}):{slots:t,slotProps:r};function uG(e){const{topAxis:t,leftAxis:r,rightAxis:o,bottomAxis:i,slots:a,slotProps:s}=e,{xAxis:l,xAxisIds:c,yAxis:u,yAxisIds:d}=_$(),p=lG(void 0===r?d[0]:r,d[0]),h=lG(void 0===i?c[0]:i,c[0]),f=lG(t,c[0]),m=lG(o,d[0]);if(null!==f&&!l[f])throw new Error([`MUI X: id used for top axis "${f}" is not defined.`,`Available ids are: ${c.join(", ")}.`].join("\n"));if(null!==p&&!u[p])throw new Error([`MUI X: id used for left axis "${p}" is not defined.`,`Available ids are: ${d.join(", ")}.`].join("\n"));if(null!==m&&!u[m])throw new Error([`MUI X: id used for right axis "${m}" is not defined.`,`Available ids are: ${d.join(", ")}.`].join("\n"));if(null!==h&&!l[h])throw new Error([`MUI X: id used for bottom axis "${h}" is not defined.`,`Available ids are: ${c.join(", ")}.`].join("\n"));const g=cG(t,a,s),y=cG(i,a,s),b=cG(r,a,s),v=cG(o,a,s);return(0,Bt.jsxs)(n.Fragment,{children:[f&&(0,Bt.jsx)(tG,(0,je.A)({},g,{position:"top",axisId:f})),h&&(0,Bt.jsx)(tG,(0,je.A)({},y,{position:"bottom",axisId:h})),p&&(0,Bt.jsx)(sG,(0,je.A)({},b,{position:"left",axisId:p})),m&&(0,Bt.jsx)(sG,(0,je.A)({},v,{position:"right",axisId:m}))]})}function dG(e){const{children:t,defer:r=!1,fallback:o=null}=e,[i,a]=n.useState(!1);return HC(()=>{r||a(!0)},[r]),n.useEffect(()=>{r&&a(!0)},[r]),(0,Bt.jsx)(n.Fragment,{children:i?t:o})}function pG(e){if(null===e)return{getBoundingClientRect:()=>({width:0,height:0,x:0,y:0,top:0,right:0,bottom:0,left:0,toJSON:()=>""})};const{x:t,y:r}=e,n={width:0,height:0,x:t,y:r,top:r,right:t,bottom:r,left:t};return{getBoundingClientRect:()=>(0,je.A)({},n,{toJSON:()=>JSON.stringify(n)})}}function hG(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=hG(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const fG=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=hG(e))&&(n&&(n+=" "),n+=t);return n};var mG=r(9640);function gG(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 yG(e){if(n.isValidElement(e)||(0,mG.Hy)(e)||!gG(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=yG(e[r])}),t}function bG(e,t,r={clone:!0}){const o=r.clone?{...e}:e;return gG(e)&&gG(t)&&Object.keys(t).forEach(i=>{n.isValidElement(t[i])||(0,mG.Hy)(t[i])?o[i]=t[i]:gG(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&gG(e[i])?o[i]=bG(e[i],t[i],r):r.clone?o[i]=gG(t[i])?yG(t[i]):t[i]:o[i]=t[i]}),o}function vG(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{const n=t[r];return delete e[r],e[r]=n,e},{...t}):t}const xG={borderRadius:4},wG={xs:0,sm:600,md:900,lg:1200,xl:1536},CG={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wG[e]}px)`},_G={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:wG[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function kG(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||CG;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||CG;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}(n.containerQueries?n:_G,i);e&&(o[e]=r(t[i],i))}else if(Object.keys(e.values||wG).includes(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o},{})}return r(t)}function AG(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function SG(e){if("string"!=typeof e)throw new Error(function(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}(7));return e.charAt(0).toUpperCase()+e.slice(1)}function jG(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 MG(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:jG(e,r)||n,t&&(o=t(o,n,e)),o}const RG=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=jG(e.theme,n)||{};return kG(e,i,e=>{let n=MG(a,o,e);return e===n&&"string"==typeof e&&(n=MG(a,o,`${t}${"default"===e?"":SG(e)}`,e)),!1===r?n:{[r]:n}})};return i.propTypes={},i.filterProps=[t],i},IG=function(e,t){return t?bG(e,t,{clone:!1}):e},EG={m:"margin",p:"padding"},TG={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},PG={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},LG=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!PG[e])return[e];e=PG[e]}const[t,r]=e.split(""),n=EG[t],o=TG[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),OG=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],NG=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],$G=[...OG,...NG];function zG(e,t,r,n){const o=jG(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),r=o[t];return e>=0?r:"number"==typeof r?-r:"string"==typeof r&&r.startsWith("var(")?`calc(-1 * ${r})`:`-${r}`}:"function"==typeof o?o:()=>{}}function DG(e){return zG(e,"spacing",8)}function BG(e,t){return"string"==typeof t||null==t?t:e(t)}function FG(e,t){const r=DG(e.theme);return Object.keys(e).map(n=>function(e,t,r,n){if(!t.includes(r))return null;const o=function(e,t){return r=>e.reduce((e,n)=>(e[n]=BG(t,r),e),{})}(LG(r),n);return kG(e,e[r],o)}(e,t,n,r)).reduce(IG,{})}function HG(e){return FG(e,OG)}function VG(e){return FG(e,NG)}function WG(e){return FG(e,$G)}HG.propTypes={},HG.filterProps=OG,VG.propTypes={},VG.filterProps=NG,WG.propTypes={},WG.filterProps=$G;const qG=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]?IG(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};function UG(e){return"number"!=typeof e?e:`${e}px solid`}function ZG(e,t){return RG({prop:e,themeKey:"borders",transform:t})}const GG=ZG("border",UG),XG=ZG("borderTop",UG),KG=ZG("borderRight",UG),YG=ZG("borderBottom",UG),JG=ZG("borderLeft",UG),QG=ZG("borderColor"),eX=ZG("borderTopColor"),tX=ZG("borderRightColor"),rX=ZG("borderBottomColor"),nX=ZG("borderLeftColor"),oX=ZG("outline",UG),iX=ZG("outlineColor"),aX=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=zG(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:BG(t,e)});return kG(e,e.borderRadius,r)}return null};aX.propTypes={},aX.filterProps=["borderRadius"],qG(GG,XG,KG,YG,JG,QG,eX,tX,rX,nX,aX,oX,iX);const sX=e=>{if(void 0!==e.gap&&null!==e.gap){const t=zG(e.theme,"spacing",8),r=e=>({gap:BG(t,e)});return kG(e,e.gap,r)}return null};sX.propTypes={},sX.filterProps=["gap"];const lX=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=zG(e.theme,"spacing",8),r=e=>({columnGap:BG(t,e)});return kG(e,e.columnGap,r)}return null};lX.propTypes={},lX.filterProps=["columnGap"];const cX=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=zG(e.theme,"spacing",8),r=e=>({rowGap:BG(t,e)});return kG(e,e.rowGap,r)}return null};function uX(e,t){return"grey"===t?t:e}function dX(e){return e<=1&&0!==e?100*e+"%":e}cX.propTypes={},cX.filterProps=["rowGap"],qG(sX,lX,cX,RG({prop:"gridColumn"}),RG({prop:"gridRow"}),RG({prop:"gridAutoFlow"}),RG({prop:"gridAutoColumns"}),RG({prop:"gridAutoRows"}),RG({prop:"gridTemplateColumns"}),RG({prop:"gridTemplateRows"}),RG({prop:"gridTemplateAreas"}),RG({prop:"gridArea"})),qG(RG({prop:"color",themeKey:"palette",transform:uX}),RG({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:uX}),RG({prop:"backgroundColor",themeKey:"palette",transform:uX}));const pX=RG({prop:"width",transform:dX}),hX=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||wG[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:dX(t)}};return kG(e,e.maxWidth,t)}return null};hX.filterProps=["maxWidth"];const fX=RG({prop:"minWidth",transform:dX}),mX=RG({prop:"height",transform:dX}),gX=RG({prop:"maxHeight",transform:dX}),yX=RG({prop:"minHeight",transform:dX}),bX=(RG({prop:"size",cssProperty:"width",transform:dX}),RG({prop:"size",cssProperty:"height",transform:dX}),qG(pX,hX,fX,mX,gX,yX,RG({prop:"boxSizing"})),{border:{themeKey:"borders",transform:UG},borderTop:{themeKey:"borders",transform:UG},borderRight:{themeKey:"borders",transform:UG},borderBottom:{themeKey:"borders",transform:UG},borderLeft:{themeKey:"borders",transform:UG},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:UG},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:aX},color:{themeKey:"palette",transform:uX},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:uX},backgroundColor:{themeKey:"palette",transform:uX},p:{style:VG},pt:{style:VG},pr:{style:VG},pb:{style:VG},pl:{style:VG},px:{style:VG},py:{style:VG},padding:{style:VG},paddingTop:{style:VG},paddingRight:{style:VG},paddingBottom:{style:VG},paddingLeft:{style:VG},paddingX:{style:VG},paddingY:{style:VG},paddingInline:{style:VG},paddingInlineStart:{style:VG},paddingInlineEnd:{style:VG},paddingBlock:{style:VG},paddingBlockStart:{style:VG},paddingBlockEnd:{style:VG},m:{style:HG},mt:{style:HG},mr:{style:HG},mb:{style:HG},ml:{style:HG},mx:{style:HG},my:{style:HG},margin:{style:HG},marginTop:{style:HG},marginRight:{style:HG},marginBottom:{style:HG},marginLeft:{style:HG},marginX:{style:HG},marginY:{style:HG},marginInline:{style:HG},marginInlineStart:{style:HG},marginInlineEnd:{style:HG},marginBlock:{style:HG},marginBlockStart:{style:HG},marginBlockEnd:{style:HG},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:sX},rowGap:{style:cX},columnGap:{style:lX},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:dX},maxWidth:{style:hX},minWidth:{transform:dX},height:{transform:dX},maxHeight:{transform:dX},minHeight:{transform:dX},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),vX=bX,xX=function(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=jG(r,s)||{};return c?c(o):kG(o,t,t=>{let r=MG(u,l,t);return t===r&&"string"==typeof t&&(r=MG(u,l,`${e}${"default"===t?"":SG(t)}`,t)),!1===a?r:{[a]:r}})}return function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??vX;function s(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const s=function(e={}){const t=e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{});return t||{}}(o.breakpoints),l=Object.keys(s);let c=s;return Object.keys(n).forEach(r=>{const i="function"==typeof(s=n[r])?s(o):s;var s;if(null!=i)if("object"==typeof i)if(a[r])c=IG(c,e(r,i,o,a));else{const e=kG({theme:o},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)?c=IG(c,e):c[r]=t({sx:i,theme:o,nested:!0})}else c=IG(c,e(r,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":vG(o,AG(l,c))}:vG(o,AG(l,c))}return Array.isArray(n)?n.map(s):s(n)}}();xX.filterProps=["sx"];const wX=xX;function CX(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function _X(e){return dP("MuiChartsTooltip",e)}!function(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=(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)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...o}}(r),l=function(e=8,t=DG({spacing:e})){if(e.mui)return e;const 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}(o);let c=bG({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...xG,...i}},a);c=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}(c),c.applyStyles=CX,c=t.reduce((e,t)=>bG(e,t),c),c.unstable_sxConfig={...vX,...a?.unstable_sxConfig},c.unstable_sx=function(e){return wX({sx:e,theme:this})}}();const kX=I$("MuiChartsTooltip",["root","paper","table","row","cell","mark","markCell","labelCell","valueCell"]),AX=fo("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:(e,t)=>t.paper})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),borderRadius:e.shape.borderRadius})),SX=fo("table",{name:"MuiChartsTooltip",slot:"Table",overridesResolver:(e,t)=>t.table})(({theme:e})=>({borderSpacing:0,"& thead td":{borderBottom:`solid ${(e.vars||e).palette.divider} 1px`}})),jX=fo("tr",{name:"MuiChartsTooltip",slot:"Row",overridesResolver:(e,t)=>t.row})(({theme:e})=>({"tr:first-of-type& td":{paddingTop:e.spacing(1)},"tr:last-of-type& td":{paddingBottom:e.spacing(1)}})),MX=fo("td",{name:"MuiChartsTooltip",slot:"Cell",overridesResolver:(e,t)=>t.cell})(({theme:e})=>({verticalAlign:"middle",color:(e.vars||e).palette.text.secondary,[`&.${kX.labelCell}`]:{paddingLeft:e.spacing(1)},[`&.${kX.valueCell}`]:{paddingLeft:e.spacing(4),color:(e.vars||e).palette.text.primary},"td:first-of-type&":{paddingLeft:e.spacing(2)},"td:last-of-type&":{paddingRight:e.spacing(2)}})),RX=fo("div",{name:"MuiChartsTooltip",slot:"Mark",overridesResolver:(e,t)=>t.mark,shouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"color"!==e})(({theme:e,color:t})=>({width:e.spacing(1),height:e.spacing(1),borderRadius:"50%",boxShadow:e.shadows[1],background:t,borderColor:(e.vars||e).palette.background.paper,border:`solid ${(e.vars||e).palette.background.paper} ${e.spacing(.25)}`,boxSizing:"content-box"}));function IX(e){const{series:t,itemData:r,sx:n,classes:o,getColor:i}=e;if(void 0===r.dataIndex||!t.data[r.dataIndex])return null;const{displayedLabel:a,color:s}="pie"===t.type?{color:i(r.dataIndex),displayedLabel:SZ(t.data[r.dataIndex].label,"tooltip")}:{color:i(r.dataIndex),displayedLabel:SZ(t.label,"tooltip")},l="pie"===t.type?(0,je.A)({},t.data[r.dataIndex],{label:SZ(t.data[r.dataIndex].label,"tooltip")}):t.data[r.dataIndex],c=t.valueFormatter?.(l,{dataIndex:r.dataIndex});return(0,Bt.jsx)(AX,{sx:n,className:o.paper,children:(0,Bt.jsx)(SX,{className:o.table,children:(0,Bt.jsx)("tbody",{children:(0,Bt.jsxs)(jX,{className:o.row,children:[(0,Bt.jsx)(MX,{className:fG(o.markCell,o.cell),children:(0,Bt.jsx)(RX,{color:s,className:o.mark})}),(0,Bt.jsx)(MX,{className:fG(o.labelCell,o.cell),children:a}),(0,Bt.jsx)(MX,{className:fG(o.valueCell,o.cell),children:c})]})})})})}function EX(e){const{isInitialized:t,data:r}=n.useContext(JH);if(!t)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e?r.colorProcessors[e]:r.colorProcessors}function TX(e){const{content:t,itemData:r,sx:o,classes:i,contentProps:a}=e,s=WH()[r.type].series[r.seriesId],{xAxis:l,yAxis:c,xAxisIds:u,yAxisIds:d}=_$(),{zAxis:p,zAxisIds:h}=n.useContext(JU),f=EX(),m=s.xAxisId??s.xAxisKey??u[0],g=s.yAxisId??s.yAxisKey??d[0],y=s.zAxisId??s.zAxisKey??h[0],b=f[s.type]?.(s,m&&l[m],g&&c[g],y&&p[y])??(()=>""),v=t??IX,x=R$({elementType:v,externalSlotProps:a,additionalProps:{itemData:r,series:s,sx:o,classes:i,getColor:b},ownerState:{}});return(0,Bt.jsx)(v,(0,je.A)({},x))}let PX;const LX=new class{constructor(){if(this.types=new Set,PX)throw new Error("You can only create one instance!");PX=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}};function OX(e){return LX.getTypes().has(e)}function NX(e){return OX(e.type)}function $X(e){const{series:t,axis:r,dataIndex:n,axisValue:o,sx:i,classes:a}=e;if(null==n)return null;const s=r.valueFormatter??(e=>"utc"===r.scaleType?function(e){return e instanceof Date?e.toUTCString():e.toLocaleString()}(e):e.toLocaleString());return(0,Bt.jsx)(AX,{sx:i,className:a.paper,children:(0,Bt.jsxs)(SX,{className:a.table,children:[null!=o&&!r.hideTooltip&&(0,Bt.jsx)("thead",{children:(0,Bt.jsx)(jX,{children:(0,Bt.jsx)(MX,{colSpan:3,children:(0,Bt.jsx)(ea,{children:s(o,{location:"tooltip"})})})})}),(0,Bt.jsx)("tbody",{children:t.filter(NX).map(({id:e,label:t,valueFormatter:r,data:o,getColor:i})=>{const s=r(o[n]??null,{dataIndex:n});if(null==s)return null;const l=SZ(t,"tooltip"),c=i(n);return(0,Bt.jsxs)(jX,{className:a.row,children:[(0,Bt.jsx)(MX,{className:fG(a.markCell,a.cell),children:c&&(0,Bt.jsx)(RX,{color:c,className:a.mark})}),(0,Bt.jsx)(MX,{className:fG(a.labelCell,a.cell),children:l?(0,Bt.jsx)(ea,{children:l}):null}),(0,Bt.jsx)(MX,{className:fG(a.valueCell,a.cell),children:(0,Bt.jsx)(ea,{children:s})})]},e)})})]})})}function zX(e){const{content:t,contentProps:r,axisData:o,sx:i,classes:a}=e,s=o.x&&-1!==o.x.index,l=s?o.x&&o.x.index:o.y&&o.y.index,c=s?o.x&&o.x.value:o.y&&o.y.value,{xAxisIds:u,xAxis:d,yAxisIds:p,yAxis:h}=_$(),{zAxisIds:f,zAxis:m}=n.useContext(JU),g=WH(),y=EX(),b=s?u[0]:p[0],v=n.useMemo(()=>{const e=[];return Object.keys(g).filter(OX).forEach(t=>{g[t].seriesOrder.forEach(r=>{const n=g[t].series[r],o=n.xAxisId??n.xAxisKey,i=n.yAxisId??n.yAxisKey,a=s?o:i;if(void 0===a||a===b){const n=g[t].series[r],a=o??u[0],s=i??p[0],l=n.zAxisId??n.zAxisKey??f[0],c=y[t]?.(n,d[a],h[s],l&&m[l])??(()=>"");e.push((0,je.A)({},n,{getColor:c}))}})}),e},[b,y,s,g,d,u,h,p,m,f]),x=n.useMemo(()=>s?d[b]:h[b],[b,s,d,h]),w=t??$X,C=R$({elementType:w,externalSlotProps:r,additionalProps:{axisData:o,series:v,axis:x,dataIndex:l,axisValue:c,sx:i,classes:a},ownerState:{}});return(0,Bt.jsx)(w,(0,je.A)({},C))}LX.addType("bar"),LX.addType("line"),LX.addType("scatter");const DX=fo(MP,{name:"MuiChartsTooltip",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({pointerEvents:"none",zIndex:e.zIndex.modal}));function BX(e){const t=go({props:e,name:"MuiChartsTooltip"}),{trigger:r="axis",itemContent:o,axisContent:i,slots:a,slotProps:s}=t,l=function(){const e=eV(),[t,r]=n.useState(null);return n.useEffect(()=>{const t=e.current;if(null===t)return()=>{};const n=e=>{"mouse"!==e.pointerType&&r(null)},o=e=>{r({x:e.clientX,y:e.clientY,height:e.height,pointerType:e.pointerType})};return t.addEventListener("pointerdown",o),t.addEventListener("pointermove",o),t.addEventListener("pointerup",n),()=>{t.removeEventListener("pointerdown",o),t.removeEventListener("pointermove",o),t.removeEventListener("pointerup",n)}},[e]),t}(),{item:c,axis:u}=n.useContext(E$),d="item"===r?c:u,p=function(e,t){if("item"===e)return null!==t;const r=null!==t.x,n=null!==t.y;return r||n}(r,d),h=null!==l&&p,f=(e=>{const{classes:t}=e;return sP({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markCell:["markCell"],labelCell:["labelCell"],valueCell:["valueCell"]},_X,t)})({classes:t.classes}),m=a?.popper??DX,g=R$({elementType:m,externalSlotProps:s?.popper,additionalProps:{open:h,placement:"mouse"===l?.pointerType?"right-start":"top",anchorEl:pG(l),modifiers:[{name:"offset",options:{offset:[0,"touch"===l?.pointerType?40-l.height:0]}}]},ownerState:{}});return"none"===r?null:(0,Bt.jsx)(dG,{children:h&&(0,Bt.jsx)(m,(0,je.A)({},g,{className:f.root,children:"item"===r?(0,Bt.jsx)(TX,{itemData:d,content:a?.itemContent??o,contentProps:s?.itemContent,sx:{mx:2},classes:f}):(0,Bt.jsx)(zX,{axisData:d,content:a?.axisContent??i,contentProps:s?.axisContent,sx:{mx:2},classes:f})}))})}const FX={bar:e=>{const{seriesOrder:t,series:r}=e;return t.reduce((e,t)=>{const n=SZ(r[t].label,"legend");return void 0===n||e.push({id:t,seriesId:t,color:r[t].color,label:n}),e},[])},scatter:e=>{const{seriesOrder:t,series:r}=e;return t.reduce((e,t)=>{const n=SZ(r[t].label,"legend");return void 0===n||e.push({id:t,seriesId:t,color:r[t].color,label:n}),e},[])},line:e=>{const{seriesOrder:t,series:r}=e;return t.reduce((e,t)=>{const n=SZ(r[t].label,"legend");return void 0===n||e.push({id:t,seriesId:t,color:r[t].color,label:n}),e},[])},pie:e=>{const{seriesOrder:t,series:r}=e;return t.reduce((e,t)=>(r[t].data.forEach(r=>{const n=SZ(r.label,"legend");void 0!==n&&e.push({id:r.id,seriesId:t,color:r.color,label:n,itemId:r.id})}),e),[])}};function HX(e){return dP("MuiChartsLegend",e)}I$("MuiChartsLegend",["root","series","itemBackground","mark","label","column","row"]);const VX=["label"];function WX(e){const t=nG(),{id:r,positionY:n,label:o,positionX:i,innerHeight:a,innerWidth:s,legendWidth:l,color:c,gapX:u,gapY:d,itemMarkHeight:p,itemMarkWidth:h,markGap:f,labelStyle:m,classes:g,onClick:y}=e;return(0,Bt.jsxs)("g",{className:fG(g?.series,`${g?.series}-${r}`),transform:`translate(${u+(t?l-i:i)} ${d+n})`,children:[(0,Bt.jsx)("rect",{x:t?-(s+2):-2,y:-p/2-2,width:s+4,height:a+4,fill:"transparent",className:g?.itemBackground,onClick:y,style:{pointerEvents:y?"all":"none",cursor:y?"pointer":"unset"}}),(0,Bt.jsx)("rect",{className:g?.mark,x:t?-h:0,y:-p/2,width:h,height:p,fill:c,style:{pointerEvents:"none"}}),(0,Bt.jsx)(YZ,{style:(0,je.A)({pointerEvents:"none"},m),text:o,x:(t?-1:1)*(h+f),y:0})]})}const qX=["rotate","dominantBaseline"],UX=fo("g",{name:"MuiChartsLegend",slot:"Root",overridesResolver:(e,t)=>t.root})({});function ZX(e){const{position:t,direction:r,itemsToDisplay:o,classes:i,itemMarkWidth:a=20,itemMarkHeight:s=20,markGap:l=5,itemGap:c=10,padding:u=10,labelStyle:d,onItemClick:p}=e,h=yo(),f=uH(),m=n.useMemo(()=>(0,je.A)({},h.typography.subtitle1,{color:"inherit",dominantBaseline:"central",textAnchor:"start",fill:(h.vars||h).palette.text.primary,lineHeight:1},d),[d,h]),g=n.useMemo(()=>(e=>"number"==typeof e?{left:e,right:e,top:e,bottom:e}:(0,je.A)({left:0,right:0,top:0,bottom:0},e))(u),[u]),y=n.useCallback((e,t={})=>{const r=GZ({style:(0,Me.A)(t,qX),needsComputation:!0,text:e}),n={innerWidth:a+l+Math.max(...r.map(e=>e.width)),innerHeight:Math.max(s,r.length*r[0].height)};return(0,je.A)({},n,{outerWidth:n.innerWidth+c,outerHeight:n.innerHeight+c})},[c,s,a,l]),b=f.left+f.width+f.right,v=f.top+f.height+f.bottom,x=b-g.left-g.right,w=v-g.top-g.bottom,[C,_,k]=n.useMemo(()=>function(e,t,r,n,o,i,a){let s=0,l=0,c=0,u=0,d=0;const p=[0];return[e.map(e=>{let{label:h}=e,f=(0,Me.A)(e,VX);const m=t(h,r),g=(0,je.A)({},f,{label:h,positionX:s,positionY:l,innerHeight:m.innerHeight,innerWidth:m.innerWidth,outerHeight:m.outerHeight,outerWidth:m.outerWidth,rowIndex:d});return"row"===n&&(s+m.innerWidth>o&&(s=0,l+=p[d],d+=1,p.length<=d&&p.push(0),g.positionX=s,g.positionY=l,g.rowIndex=d),c=Math.max(c,s+m.outerWidth),u=Math.max(u,l+m.outerHeight),p[d]=Math.max(p[d],m.outerHeight),s+=m.outerWidth),"column"===n&&(l+m.innerHeight>i&&(s=c+a,l=0,d=0,g.positionX=s,g.positionY=l,g.rowIndex=d),p.length<=d&&p.push(0),c=Math.max(c,s+m.outerWidth),u=Math.max(u,l+m.outerHeight),d+=1,l+=m.outerHeight),g}).map(e=>(0,je.A)({},e,{positionY:e.positionY+("row"===n?p[e.rowIndex]/2:e.outerHeight/2)})),c,u]}(o,y,m,r,x,w,c),[o,y,m,r,x,w,c]),A=n.useMemo(()=>{switch(t.horizontal){case"left":return g.left;case"right":return b-g.right-_;default:return(b-_)/2}},[t.horizontal,g.left,g.right,b,_]),S=n.useMemo(()=>{switch(t.vertical){case"top":return g.top;case"bottom":return v-g.bottom-k;default:return(v-k)/2}},[t.vertical,g.top,g.bottom,v,k]);return(0,Bt.jsx)(dG,{children:(0,Bt.jsx)(UX,{className:i?.root,children:C.map((e,t)=>(0,n.createElement)(WX,(0,je.A)({},e,{key:e.id,gapX:A,gapY:S,legendWidth:_,itemMarkHeight:s,itemMarkWidth:a,markGap:l,labelStyle:m,classes:i,onClick:p?e=>p(e,t):void 0})))})})}const GX=["drawingArea","seriesToDisplay","hidden","onItemClick"];function XX(e){const{seriesToDisplay:t,hidden:r,onItemClick:n}=e,o=(0,Me.A)(e,GX);return r?null:(0,Bt.jsx)(ZX,(0,je.A)({},o,{itemsToDisplay:t,onItemClick:n?(e,r)=>{return n(e,{type:"series",color:(o=t[r]).color,label:o.label,seriesId:o.seriesId,itemId:o.itemId},r);var o}:void 0}))}const KX=["slots","slotProps"];function YX(e){const t=go({props:e,name:"MuiChartsLegend"}),r=(0,je.A)({direction:"row"},t,{position:(0,je.A)({horizontal:"middle",vertical:"top"},t.position)}),{slots:n,slotProps:o}=r,i=(0,Me.A)(r,KX),a=yo(),s=(e=>{const{classes:t,direction:r}=e;return sP({root:["root",r],mark:["mark"],label:["label"],series:["series"],itemBackground:["itemBackground"]},HX,t)})((0,je.A)({},r,{theme:a})),l=uH(),c=WH(),u=function(e){return Object.keys(e).flatMap(t=>{const r=FX[t];return void 0===r?[]:r(e[t])})}(c),d=n?.legend??XX,p=R$({elementType:d,externalSlotProps:o?.legend,additionalProps:(0,je.A)({},i,{classes:s,drawingArea:l,series:c,seriesToDisplay:u}),ownerState:{}});return(0,Bt.jsx)(d,(0,je.A)({},p))}function JX(e){return dP("MuiChartsAxisHighlight",e)}I$("MuiChartsAxisHighlight",["root"]);const QX=fo("path",{name:"MuiChartsAxisHighlight",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({pointerEvents:"none",variants:[{props:{axisHighlight:"band"},style:(0,je.A)({fill:"white",fillOpacity:.1},e.applyStyles("light",{fill:"gray"}))},{props:{axisHighlight:"line"},style:(0,je.A)({strokeDasharray:"5 2",stroke:"#ffffff"},e.applyStyles("light",{stroke:"#000000"}))}]}));function eK(e){const{x:t,y:r}=e,{xAxisIds:o,xAxis:i,yAxisIds:a,yAxis:s}=_$(),l=sP({root:["root"]},JX),c=o[0],u=a[0],d=i[c].scale,p=s[u].scale,{axis:h}=n.useContext(E$),f=pH(d),m=pH(p),g=h.x,y=h.y,b="band"===t&&null!==g&&dH(d),v="band"===r&&null!==y&&dH(p);return(0,Bt.jsxs)(n.Fragment,{children:[b&&void 0!==d(g.value)&&(0,Bt.jsx)(QX,{d:`M ${d(g.value)-(d.step()-d.bandwidth())/2} ${p.range()[0]} l ${d.step()} 0 l 0 ${p.range()[1]-p.range()[0]} l ${-d.step()} 0 Z`,className:l.root,ownerState:{axisHighlight:"band"}}),v&&void 0!==p(y.value)&&(0,Bt.jsx)(QX,{d:`M ${d.range()[0]} ${p(y.value)-(p.step()-p.bandwidth())/2} l 0 ${p.step()} l ${d.range()[1]-d.range()[0]} 0 l 0 ${-p.step()} Z`,className:l.root,ownerState:{axisHighlight:"band"}}),"line"===t&&null!==h.x&&(0,Bt.jsx)(QX,{d:`M ${f(h.x.value)} ${p.range()[0]} L ${f(h.x.value)} ${p.range()[1]}`,className:l.root,ownerState:{axisHighlight:"line"}}),"line"===r&&null!==h.y&&(0,Bt.jsx)(QX,{d:`M ${d.range()[0]} ${m(h.y.value)} L ${d.range()[1]} ${m(h.y.value)}`,className:l.root,ownerState:{axisHighlight:"line"}})]})}I$("MuiHighlightElement",["root"]);fo("circle",{name:"MuiHighlightElement",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({transform:`translate(${e.x}px, ${e.y}px)`,transformOrigin:`${e.x}px ${e.y}px`,fill:e.color}));const tK=I$("MuiChartsGrid",["root","line","horizontalLine","verticalLine"]);fo("g",{name:"MuiChartsGrid",slot:"Root",overridesResolver:(e,t)=>[{[`&.${tK.verticalLine}`]:t.verticalLine},{[`&.${tK.horizontalLine}`]:t.horizontalLine},t.root]})({}),fo("line",{name:"MuiChartsGrid",slot:"Line",overridesResolver:(e,t)=>t.line})(({theme:e})=>({stroke:(e.vars||e).palette.divider,shapeRendering:"crispEdges",strokeWidth:1}));const rK=["message"],nK=fo("text")(({theme:e})=>(0,je.A)({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function oK(e){const{message:t}=e,r=(0,Me.A)(e,rK),{top:n,left:o,height:i,width:a}=uH();return(0,Bt.jsx)(nK,(0,je.A)({x:o+a/2,y:n+i/2},r,{children:t??"Loading data…"}))}const iK=["message"],aK=fo("text")(({theme:e})=>(0,je.A)({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function sK(e){const{message:t}=e,r=(0,Me.A)(e,iK),{top:n,left:o,height:i,width:a}=uH();return(0,Bt.jsx)(aK,(0,je.A)({x:o+a/2,y:n+i/2},r,{children:t??"No data to display"}))}function lK(e){const t=function(){const e=WH();return Object.values(e).every(e=>{if(!e)return!0;const{series:t,seriesOrder:r}=e;return r.every(e=>0===t[e].data.length)})}();if(e.loading){const t=e.slots?.loadingOverlay??oK;return(0,Bt.jsx)(t,(0,je.A)({},e.slotProps?.loadingOverlay))}if(t){const t=e.slots?.noDataOverlay??sK;return(0,Bt.jsx)(t,(0,je.A)({},e.slotProps?.noDataOverlay))}return null}const cK=window.wp.date;function uK(e){return e.innerRadius}function dK(e){return e.outerRadius}function pK(e){return e.startAngle}function hK(e){return e.endAngle}function fK(e){return e&&e.padAngle}function mK(e,t,r,n,o,i,a){var s=e-r,l=t-n,c=(a?i:-i)/vH(s*s+l*l),u=c*l,d=-c*s,p=e+u,h=t+d,f=r+u,m=n+d,g=(p+f)/2,y=(h+m)/2,b=f-p,v=m-h,x=b*b+v*v,w=o-i,C=p*m-f*h,_=(v<0?-1:1)*vH(gH(0,w*w*x-C*C)),k=(C*v-b*_)/x,A=(-C*b-v*_)/x,S=(C*v+b*_)/x,j=(-C*b+v*_)/x,M=k-g,R=A-y,I=S-g,E=j-y;return M*M+R*R>I*I+E*E&&(k=S,A=j),{cx:k,cy:A,x01:-u,y01:-d,x11:k*(o/w-1),y11:A*(o/w-1)}}function gK(){var e=uK,t=dK,r=h$(0),n=null,o=pK,i=hK,a=fK,s=null,l=w$(c);function c(){var c,u,d=+e.apply(this,arguments),p=+t.apply(this,arguments),h=o.apply(this,arguments)-CH,f=i.apply(this,arguments)-CH,m=hH(f-h),g=f>h;if(s||(s=c=l()),p<d&&(u=p,p=d,d=u),p>xH)if(m>_H-xH)s.moveTo(p*mH(h),p*bH(h)),s.arc(0,0,p,h,f,!g),d>xH&&(s.moveTo(d*mH(f),d*bH(f)),s.arc(0,0,d,f,h,g));else{var y,b,v=h,x=f,w=h,C=f,_=m,k=m,A=a.apply(this,arguments)/2,S=A>xH&&(n?+n.apply(this,arguments):vH(d*d+p*p)),j=yH(hH(p-d)/2,+r.apply(this,arguments)),M=j,R=j;if(S>xH){var I=kH(S/d*bH(A)),E=kH(S/p*bH(A));(_-=2*I)>xH?(w+=I*=g?1:-1,C-=I):(_=0,w=C=(h+f)/2),(k-=2*E)>xH?(v+=E*=g?1:-1,x-=E):(k=0,v=x=(h+f)/2)}var T=p*mH(v),P=p*bH(v),L=d*mH(C),O=d*bH(C);if(j>xH){var N,$=p*mH(x),z=p*bH(x),D=d*mH(w),B=d*bH(w);if(m<wH)if(N=function(e,t,r,n,o,i,a,s){var l=r-e,c=n-t,u=a-o,d=s-i,p=d*l-u*c;if(!(p*p<xH))return[e+(p=(u*(t-i)-d*(e-o))/p)*l,t+p*c]}(T,P,D,B,$,z,L,O)){var F=T-N[0],H=P-N[1],V=$-N[0],W=z-N[1],q=1/bH(function(e){return e>1?0:e<-1?wH:Math.acos(e)}((F*V+H*W)/(vH(F*F+H*H)*vH(V*V+W*W)))/2),U=vH(N[0]*N[0]+N[1]*N[1]);M=yH(j,(d-U)/(q-1)),R=yH(j,(p-U)/(q+1))}else M=R=0}k>xH?R>xH?(y=mK(D,B,T,P,p,R,g),b=mK($,z,L,O,p,R,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),R<j?s.arc(y.cx,y.cy,R,fH(y.y01,y.x01),fH(b.y01,b.x01),!g):(s.arc(y.cx,y.cy,R,fH(y.y01,y.x01),fH(y.y11,y.x11),!g),s.arc(0,0,p,fH(y.cy+y.y11,y.cx+y.x11),fH(b.cy+b.y11,b.cx+b.x11),!g),s.arc(b.cx,b.cy,R,fH(b.y11,b.x11),fH(b.y01,b.x01),!g))):(s.moveTo(T,P),s.arc(0,0,p,v,x,!g)):s.moveTo(T,P),d>xH&&_>xH?M>xH?(y=mK(L,O,$,z,d,-M,g),b=mK(T,P,D,B,d,-M,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),M<j?s.arc(y.cx,y.cy,M,fH(y.y01,y.x01),fH(b.y01,b.x01),!g):(s.arc(y.cx,y.cy,M,fH(y.y01,y.x01),fH(y.y11,y.x11),!g),s.arc(0,0,d,fH(y.cy+y.y11,y.cx+y.x11),fH(b.cy+b.y11,b.cx+b.x11),g),s.arc(b.cx,b.cy,M,fH(b.y11,b.x11),fH(b.y01,b.x01),!g))):s.arc(0,0,d,C,w,g):s.lineTo(L,O)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-wH/2;return[mH(n)*r,bH(n)*r]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:h$(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:h$(+e),c):t},c.cornerRadius=function(e){return arguments.length?(r="function"==typeof e?e:h$(+e),c):r},c.padRadius=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:h$(+e),c):n},c.startAngle=function(e){return arguments.length?(o="function"==typeof e?e:h$(+e),c):o},c.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:h$(+e),c):i},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:h$(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}const yK=["classes","color","cornerRadius","dataIndex","endAngle","id","innerRadius","isFaded","isHighlighted","onClick","outerRadius","paddingAngle","startAngle","highlightScope"];function bK(e){return dP("MuiPieArc",e)}I$("MuiPieArc",["root","highlighted","faded"]);const vK=fo(yF.path,{name:"MuiPieArc",slot:"Root",overridesResolver:(e,t)=>t.arc})(({theme:e})=>({stroke:(e.vars||e).palette.background.paper,transition:"opacity 0.2s ease-in, fill 0.2s ease-in, filter 0.2s ease-in"}));function xK(e){const{classes:t,color:r,cornerRadius:n,dataIndex:o,endAngle:i,id:a,innerRadius:s,isFaded:l,isHighlighted:c,onClick:u,outerRadius:d,paddingAngle:p,startAngle:h}=e,f=(0,Me.A)(e,yK),m={id:a,dataIndex:o,classes:t,color:r,isFaded:l,isHighlighted:c},g=(e=>{const{classes:t,id:r,isFaded:n,isHighlighted:o,dataIndex:i}=e;return sP({root:["root",`series-${r}`,`data-index-${i}`,o&&"highlighted",n&&"faded"]},bK,t)})(m),y=N$();return(0,Bt.jsx)(vK,(0,je.A)({d:nF([h,i,p,s,d,n],(e,t,r,n,o,i)=>gK().cornerRadius(i)({padAngle:r,startAngle:e,endAngle:t,innerRadius:n,outerRadius:o})),visibility:nF([h,i],(e,t)=>e===t?"hidden":"visible"),onClick:u,cursor:u?"pointer":"unset",ownerState:m,className:g.root,fill:m.color,opacity:m.isFaded?.3:1,filter:m.isHighlighted?"brightness(120%)":"none",strokeWidth:1,strokeLinejoin:"round"},f,y({type:"pie",seriesId:a,dataIndex:o})))}const wK={keys:e=>e.id,from:({innerRadius:e,outerRadius:t,cornerRadius:r,startAngle:n,endAngle:o,paddingAngle:i,color:a,isFaded:s})=>({innerRadius:e,outerRadius:(e+t)/2,cornerRadius:r,startAngle:(n+o)/2,endAngle:(n+o)/2,paddingAngle:i,fill:a,opacity:s?.3:1}),leave:({innerRadius:e,startAngle:t,endAngle:r})=>({innerRadius:e,outerRadius:e,startAngle:(t+r)/2,endAngle:(t+r)/2}),enter:({innerRadius:e,outerRadius:t,startAngle:r,endAngle:n})=>({innerRadius:e,outerRadius:t,startAngle:r,endAngle:n}),update:({innerRadius:e,outerRadius:t,cornerRadius:r,startAngle:n,endAngle:o,paddingAngle:i,color:a,isFaded:s})=>({innerRadius:e,outerRadius:t,cornerRadius:r,startAngle:n,endAngle:o,paddingAngle:i,fill:a,opacity:s?.3:1}),config:{tension:120,friction:14,clamp:!0}},CK={keys:e=>e.id,from:({innerRadius:e,outerRadius:t,arcLabelRadius:r,cornerRadius:n,startAngle:o,endAngle:i,paddingAngle:a})=>({innerRadius:e,outerRadius:(e+t)/2,cornerRadius:n,arcLabelRadius:r,startAngle:(o+i)/2,endAngle:(o+i)/2,paddingAngle:a,opacity:0}),leave:({innerRadius:e,startAngle:t,endAngle:r})=>({innerRadius:e,outerRadius:e,arcLabelRadius:e,startAngle:(t+r)/2,endAngle:(t+r)/2,opacity:0}),enter:({innerRadius:e,outerRadius:t,startAngle:r,endAngle:n,arcLabelRadius:o})=>({innerRadius:e,outerRadius:t,startAngle:r,endAngle:n,arcLabelRadius:o,opacity:1}),update:({innerRadius:e,outerRadius:t,cornerRadius:r,startAngle:n,endAngle:o,paddingAngle:i,arcLabelRadius:a})=>({innerRadius:e,outerRadius:t,cornerRadius:r,startAngle:n,endAngle:o,paddingAngle:i,arcLabelRadius:a,opacity:1}),config:{tension:120,friction:14,clamp:!0}};function _K(e){const{id:t,data:r,faded:o,highlighted:i,paddingAngle:a=0,innerRadius:s=0,arcLabelRadius:l,outerRadius:c,cornerRadius:u=0}=e,{isFaded:d,isHighlighted:p}=O$();return n.useMemo(()=>r.map((e,r)=>{const n={seriesId:t,dataIndex:r},h=p(n),f=!h&&d(n),m=(0,je.A)({additionalRadius:0},f&&o||h&&i||{}),g=Math.max(0,Math.PI*(m.paddingAngle??a)/180),y=Math.max(0,m.innerRadius??s),b=Math.max(0,m.outerRadius??c+m.additionalRadius),v=m.cornerRadius??u,x=m.arcLabelRadius??l??(y+b)/2;return(0,je.A)({},e,m,{isFaded:f,isHighlighted:h,paddingAngle:g,innerRadius:y,outerRadius:b,cornerRadius:v,arcLabelRadius:x})}),[u,s,c,a,l,r,o,i,d,p,t])}const kK=["slots","slotProps","innerRadius","outerRadius","cornerRadius","paddingAngle","id","highlighted","faded","data","onItemClick","skipAnimation"];function AK(e){const{slots:t,slotProps:r,innerRadius:n=0,outerRadius:o,cornerRadius:i=0,paddingAngle:a=0,id:s,highlighted:l,faded:c={additionalRadius:-5},data:u,onItemClick:d,skipAnimation:p}=e,h=(0,Me.A)(e,kK),f=YB(_K({innerRadius:n,outerRadius:o,cornerRadius:i,paddingAngle:a,id:s,highlighted:l,faded:c,data:u}),(0,je.A)({},wK,{immediate:p})),{highlightScope:m}=O$();if(0===u.length)return null;const g=t?.pieArc??xK;return(0,Bt.jsx)("g",(0,je.A)({},h,{children:f(({startAngle:e,endAngle:t,paddingAngle:n,innerRadius:o,outerRadius:i,cornerRadius:a},l,c,u)=>(0,Bt.jsx)(g,(0,je.A)({startAngle:e,endAngle:t,paddingAngle:n,innerRadius:o,outerRadius:i,cornerRadius:a,id:s,color:l.color,dataIndex:u,highlightScope:m,isFaded:l.isFaded,isHighlighted:l.isHighlighted,onClick:d&&(e=>{d(e,{type:"pie",seriesId:s,dataIndex:u},l)})},r?.pieArc)))}))}const SK=["id","classes","color","startAngle","endAngle","paddingAngle","arcLabelRadius","innerRadius","outerRadius","cornerRadius","formattedArcLabel","isHighlighted","isFaded","style"];function jK(e){return dP("MuiPieArcLabel",e)}const MK=I$("MuiPieArcLabel",["root","highlighted","faded"]),RK=fo(yF.text,{name:"MuiPieArcLabel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fill:(e.vars||e).palette.text.primary,textAnchor:"middle",dominantBaseline:"middle",pointerEvents:"none"})),IK=(e,t)=>(r,n,o,i,a)=>{if(!e)return 0;const[s,l]=gK().cornerRadius(a).centroid({padAngle:o,startAngle:r,endAngle:n,innerRadius:i,outerRadius:i});return"x"===t?s:l};function EK(e){const{id:t,classes:r,color:n,startAngle:o,endAngle:i,paddingAngle:a,arcLabelRadius:s,cornerRadius:l,formattedArcLabel:c,isHighlighted:u,isFaded:d,style:p}=e,h=(0,Me.A)(e,SK),f=(e=>{const{classes:t,id:r,isFaded:n,isHighlighted:o}=e;return sP({root:["root",`series-${r}`,o&&"highlighted",n&&"faded"]},jK,t)})({id:t,classes:r,color:n,isFaded:d,isHighlighted:u});return(0,Bt.jsx)(RK,(0,je.A)({className:f.root},h,{style:(0,je.A)({x:nF([o,i,a,s,l],IK(c,"x")),y:nF([o,i,a,s,l],IK(c,"y"))},p),children:c}))}const TK=["arcLabel","arcLabelMinAngle","arcLabelRadius","cornerRadius","data","faded","highlighted","id","innerRadius","outerRadius","paddingAngle","skipAnimation","slotProps","slots"],PK=["startAngle","endAngle","paddingAngle","innerRadius","outerRadius","arcLabelRadius","cornerRadius"],LK=180/Math.PI;function OK(e,t,r){if(!e)return null;if((r.endAngle-r.startAngle)*LK<t)return null;switch(e){case"label":return SZ(r.label,"arc");case"value":return r.value?.toString();case"formattedValue":return r.formattedValue;default:return e((0,je.A)({},r,{label:SZ(r.label,"arc")}))}}function NK(e){const{arcLabel:t,arcLabelMinAngle:r=0,arcLabelRadius:n,cornerRadius:o=0,data:i,faded:a={additionalRadius:-5},highlighted:s,id:l,innerRadius:c,outerRadius:u,paddingAngle:d=0,skipAnimation:p,slotProps:h,slots:f}=e,m=(0,Me.A)(e,TK),g=YB(_K({innerRadius:c,outerRadius:u,arcLabelRadius:n,cornerRadius:o,paddingAngle:d,id:l,highlighted:s,faded:a,data:i}),(0,je.A)({},CK,{immediate:p}));if(0===i.length)return null;const y=f?.pieArcLabel??EK;return(0,Bt.jsx)("g",(0,je.A)({},m,{children:g((e,n)=>{let{startAngle:o,endAngle:i,paddingAngle:a,innerRadius:s,outerRadius:c,arcLabelRadius:u,cornerRadius:d}=e,p=(0,Me.A)(e,PK);return(0,Bt.jsx)(y,(0,je.A)({startAngle:o,endAngle:i,paddingAngle:a,innerRadius:s,outerRadius:c,arcLabelRadius:u,cornerRadius:d,style:p,id:l,color:n.color,isFaded:n.isFaded,isHighlighted:n.isHighlighted,formattedArcLabel:OK(t,r,n)},h?.pieArcLabel))})}))}function $K(e,t){if("number"==typeof e)return e;if("100%"===e)return t;if(e.endsWith("%")){const r=Number.parseFloat(e.slice(0,e.length-1));if(!Number.isNaN(r))return r*t/100}if(e.endsWith("px")){const t=Number.parseFloat(e.slice(0,e.length-2));if(!Number.isNaN(t))return t}throw new Error(`MUI X: Received an unknown value "${e}". It should be a number, or a string with a percentage value.`)}function zK(e,t){const{height:r,width:n}=t,{cx:o,cy:i}=e,a=Math.min(n,r)/2;return{cx:$K(o??"50%",n),cy:$K(i??"50%",r),availableRadius:a}}function DK(e){const{skipAnimation:t,slots:r,slotProps:o,onItemClick:i}=e,a=function(){const e=WH();return n.useMemo(()=>e.pie,[e.pie])}(),{left:s,top:l,width:c,height:u}=n.useContext(sH),d=UH(t);if(void 0===a)return null;const{series:p,seriesOrder:h}=a;return(0,Bt.jsxs)("g",{children:[h.map(e=>{const{innerRadius:t,outerRadius:n,cornerRadius:a,paddingAngle:h,data:f,cx:m,cy:g,highlighted:y,faded:b}=p[e],{cx:v,cy:x,availableRadius:w}=zK({cx:m,cy:g},{width:c,height:u}),C=$K(n??w,w),_=$K(t??0,w);return(0,Bt.jsx)("g",{transform:`translate(${s+v}, ${l+x})`,children:(0,Bt.jsx)(AK,{innerRadius:_,outerRadius:C,cornerRadius:a,paddingAngle:h,id:e,data:f,skipAnimation:d,highlighted:y,faded:b,onItemClick:i,slots:r,slotProps:o})},e)}),h.map(e=>{const{innerRadius:t,outerRadius:n,arcLabelRadius:i,cornerRadius:a,paddingAngle:h,arcLabel:f,arcLabelMinAngle:m,data:g,cx:y,cy:b}=p[e],{cx:v,cy:x,availableRadius:w}=zK({cx:y,cy:b},{width:c,height:u}),C=$K(n??w,w),_=$K(t??0,w),k=void 0===i?(C+_)/2:$K(i,w);return(0,Bt.jsx)("g",{transform:`translate(${s+v}, ${l+x})`,children:(0,Bt.jsx)(NK,{innerRadius:_,outerRadius:C??w,arcLabelRadius:k,cornerRadius:a,paddingAngle:h,id:e,data:g,skipAnimation:d,arcLabel:f,arcLabelMinAngle:m,slots:r,slotProps:o})},e)})]})}const BK=["xAxis","yAxis","series","width","height","margin","colors","sx","tooltip","axisHighlight","skipAnimation","legend","topAxis","leftAxis","rightAxis","bottomAxis","children","slots","slotProps","onItemClick","loading","highlightedItem","onHighlightChange","className"],FK={top:5,bottom:5,left:5,right:100},HK={top:5,bottom:5,left:100,right:5},VK=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiPieChart"}),{xAxis:n,yAxis:o,series:i,width:a,height:s,margin:l,colors:c,sx:u,tooltip:d={trigger:"item"},axisHighlight:p={x:"none",y:"none"},skipAnimation:h,legend:f,topAxis:m=null,leftAxis:g=null,rightAxis:y=null,bottomAxis:b=null,children:v,slots:x,slotProps:w,onItemClick:C,loading:_,highlightedItem:k,onHighlightChange:A,className:S}=r,j=(0,Me.A)(r,BK),M=nG(),R=(0,je.A)({},M?HK:FK,l),I=(0,je.A)({direction:"column",position:{vertical:"middle",horizontal:M?"left":"right"}},f);return(0,Bt.jsxs)(NZ,(0,je.A)({},j,{ref:t,series:i.map(e=>(0,je.A)({type:"pie"},e)),width:a,height:s,margin:R,xAxis:n??[{id:iH,scaleType:"point",data:[...new Array(Math.max(0,...i.map(e=>e.data.length)))].map((e,t)=>t)}],yAxis:o,colors:c,sx:u,disableAxisListener:"axis"!==d?.trigger&&"none"===p?.x&&"none"===p?.y,highlightedItem:k,onHighlightChange:A,className:S,skipAnimation:h,children:[(0,Bt.jsx)(uG,{topAxis:m,leftAxis:g,rightAxis:y,bottomAxis:b,slots:x,slotProps:w}),(0,Bt.jsx)(DK,{slots:x,slotProps:w,onItemClick:C}),(0,Bt.jsx)(lK,{loading:_,slots:x,slotProps:w}),(0,Bt.jsx)(YX,(0,je.A)({},I,{slots:x,slotProps:w})),(0,Bt.jsx)(eK,(0,je.A)({},p)),!_&&(0,Bt.jsx)(BX,(0,je.A)({},d,{slots:x,slotProps:w})),v]}))}),WK=(da(Gk)`
position: relative;
padding-left: 18px;
&:before {
content: '';
position: absolute;
left: 0;
top: calc(50% - 5px);
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: ${e=>e.itemColor};
}
`,n.createContext());function qK(e){return Co("MuiTable",e)}_o("MuiTable",["root","stickyHeader"]);const UK=["className","component","padding","size","stickyHeader"],ZK=fo("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>(0,je.A)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,je.A)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),GK="table",XK=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTable"}),{className:o,component:i=GK,padding:a="normal",size:s="medium",stickyHeader:l=!1}=r,c=(0,Me.A)(r,UK),u=(0,je.A)({},r,{component:i,padding:a,size:s,stickyHeader:l}),d=(e=>{const{classes:t,stickyHeader:r}=e;return lo({root:["root",r&&"stickyHeader"]},qK,t)})(u),p=n.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return(0,Bt.jsx)(WK.Provider,{value:p,children:(0,Bt.jsx)(ZK,(0,je.A)({as:i,role:i===GK?null:"table",ref:t,className:io(d.root,o),ownerState:u},c))})}),KK=XK;var YK=o().forwardRef((e,t)=>o().createElement(KK,{...e,ref:t}));const JK=n.createContext();function QK(e){return Co("MuiTableBody",e)}_o("MuiTableBody",["root"]);const eY=["className","component"],tY=fo("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),rY={variant:"body"},nY="tbody",oY=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTableBody"}),{className:n,component:o=nY}=r,i=(0,Me.A)(r,eY),a=(0,je.A)({},r,{component:o}),s=(e=>{const{classes:t}=e;return lo({root:["root"]},QK,t)})(a);return(0,Bt.jsx)(JK.Provider,{value:rY,children:(0,Bt.jsx)(tY,(0,je.A)({className:io(s.root,n),as:o,ref:t,role:o===nY?null:"rowgroup",ownerState:a},i))})});var iY=o().forwardRef((e,t)=>o().createElement(oY,{...e,ref:t}));function aY(e){return Co("MuiTableCell",e)}const sY=_o("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),lY=["align","className","component","padding","scope","size","sortDirection","variant"],cY=fo("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Zi(r.size)}`],"normal"!==r.padding&&t[`padding${Zi(r.padding)}`],"inherit"!==r.align&&t[`align${Zi(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>(0,je.A)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,Oe.a)((0,Oe.X4)(e.palette.divider,1),.88):(0,Oe.e$)((0,Oe.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${sY.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),uY=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTableCell"}),{align:o="inherit",className:i,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:d}=r,p=(0,Me.A)(r,lY),h=n.useContext(WK),f=n.useContext(JK),m=f&&"head"===f.variant;let g;g=a||(m?"th":"td");let y=l;"td"===g?y=void 0:!y&&m&&(y="col");const b=d||f&&f.variant,v=(0,je.A)({},r,{align:o,component:g,padding:s||(h&&h.padding?h.padding:"normal"),size:c||(h&&h.size?h.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&h&&h.stickyHeader,variant:b}),x=(e=>{const{classes:t,variant:r,align:n,padding:o,size:i,stickyHeader:a}=e;return lo({root:["root",r,a&&"stickyHeader","inherit"!==n&&`align${Zi(n)}`,"normal"!==o&&`padding${Zi(o)}`,`size${Zi(i)}`]},aY,t)})(v);let w=null;return u&&(w="asc"===u?"ascending":"descending"),(0,Bt.jsx)(cY,(0,je.A)({as:g,ref:t,className:io(x.root,i),"aria-sort":w,scope:y,ownerState:v},p))}),dY=uY;var pY=o().forwardRef((e,t)=>o().createElement(dY,{...e,ref:t}));function hY(e){return Co("MuiTableHead",e)}_o("MuiTableHead",["root"]);const fY=["className","component"],mY=fo("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),gY={variant:"head"},yY="thead",bY=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTableHead"}),{className:n,component:o=yY}=r,i=(0,Me.A)(r,fY),a=(0,je.A)({},r,{component:o}),s=(e=>{const{classes:t}=e;return lo({root:["root"]},hY,t)})(a);return(0,Bt.jsx)(JK.Provider,{value:gY,children:(0,Bt.jsx)(mY,(0,je.A)({as:o,className:io(s.root,n),ref:t,role:o===yY?null:"rowgroup",ownerState:a},i))})});var vY=o().forwardRef((e,t)=>o().createElement(bY,{...e,ref:t}));const xY=Yw((0,Bt.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),wY=Yw((0,Bt.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),CY=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],_Y=n.forwardRef(function(e,t){var r,n,o,i,a,s,l,c;const{backIconButtonProps:u,count:d,disabled:p=!1,getItemAriaLabel:h,nextIconButtonProps:f,onPageChange:m,page:g,rowsPerPage:y,showFirstButton:b,showLastButton:v,slots:x={},slotProps:w={}}=e,C=(0,Me.A)(e,CY),_=Ut(),k=null!=(r=x.firstButton)?r:Kw,A=null!=(n=x.lastButton)?n:Kw,S=null!=(o=x.nextButton)?o:Kw,j=null!=(i=x.previousButton)?i:Kw,M=null!=(a=x.firstButtonIcon)?a:wY,R=null!=(s=x.lastButtonIcon)?s:xY,I=null!=(l=x.nextButtonIcon)?l:TL,E=null!=(c=x.previousButtonIcon)?c:EL,T=_?A:k,P=_?S:j,L=_?j:S,O=_?k:A,N=_?w.lastButton:w.firstButton,$=_?w.nextButton:w.previousButton,z=_?w.previousButton:w.nextButton,D=_?w.firstButton:w.lastButton;return(0,Bt.jsxs)("div",(0,je.A)({ref:t},C,{children:[b&&(0,Bt.jsx)(T,(0,je.A)({onClick:e=>{m(e,0)},disabled:p||0===g,"aria-label":h("first",g),title:h("first",g)},N,{children:_?(0,Bt.jsx)(R,(0,je.A)({},w.lastButtonIcon)):(0,Bt.jsx)(M,(0,je.A)({},w.firstButtonIcon))})),(0,Bt.jsx)(P,(0,je.A)({onClick:e=>{m(e,g-1)},disabled:p||0===g,color:"inherit","aria-label":h("previous",g),title:h("previous",g)},null!=$?$:u,{children:_?(0,Bt.jsx)(I,(0,je.A)({},w.nextButtonIcon)):(0,Bt.jsx)(E,(0,je.A)({},w.previousButtonIcon))})),(0,Bt.jsx)(L,(0,je.A)({onClick:e=>{m(e,g+1)},disabled:p||-1!==d&&g>=Math.ceil(d/y)-1,color:"inherit","aria-label":h("next",g),title:h("next",g)},null!=z?z:f,{children:_?(0,Bt.jsx)(E,(0,je.A)({},w.previousButtonIcon)):(0,Bt.jsx)(I,(0,je.A)({},w.nextButtonIcon))})),v&&(0,Bt.jsx)(O,(0,je.A)({onClick:e=>{m(e,Math.max(0,Math.ceil(d/y)-1))},disabled:p||g>=Math.ceil(d/y)-1,"aria-label":h("last",g),title:h("last",g)},D,{children:_?(0,Bt.jsx)(M,(0,je.A)({},w.firstButtonIcon)):(0,Bt.jsx)(R,(0,je.A)({},w.lastButtonIcon))}))]}))}),kY=_Y;function AY(e){return Co("MuiTablePagination",e)}const SY=_o("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var jY;const MY=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],RY=fo(dY,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),IY=fo(LN,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,je.A)({[`& .${SY.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${SY.actions}`]:{flexShrink:0,marginLeft:20}})),EY=fo("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),TY=fo("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>(0,je.A)({},e.typography.body2,{flexShrink:0})),PY=fo(jR,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,je.A)({[`& .${SY.selectIcon}`]:t.selectIcon,[`& .${SY.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${SY.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),LY=fo(UA,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),OY=fo("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>(0,je.A)({},e.typography.body2,{flexShrink:0}));function NY({from:e,to:t,count:r}){return`${e}–${t} of ${-1!==r?r:`more than ${t}`}`}function $Y(e){return`Go to ${e} page`}const zY=n.forwardRef(function(e,t){var r;const o=go({props:e,name:"MuiTablePagination"}),{ActionsComponent:i=kY,backIconButtonProps:a,className:s,colSpan:l,component:c=dY,count:u,disabled:d=!1,getItemAriaLabel:p=$Y,labelDisplayedRows:h=NY,labelRowsPerPage:f="Rows per page:",nextIconButtonProps:m,onPageChange:g,onRowsPerPageChange:y,page:b,rowsPerPage:v,rowsPerPageOptions:x=[10,25,50,100],SelectProps:w={},showFirstButton:C=!1,showLastButton:_=!1,slotProps:k={},slots:A={}}=o,S=(0,Me.A)(o,MY),j=o,M=(e=>{const{classes:t}=e;return lo({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},AY,t)})(j),R=null!=(r=null==k?void 0:k.select)?r:w,I=R.native?"option":LY;let E;c!==dY&&"td"!==c||(E=l||1e3);const T=CS(R.id),P=CS(R.labelId);return(0,Bt.jsx)(RY,(0,je.A)({colSpan:E,ref:t,as:c,ownerState:j,className:io(M.root,s)},S,{children:(0,Bt.jsxs)(IY,{className:M.toolbar,children:[(0,Bt.jsx)(EY,{className:M.spacer}),x.length>1&&(0,Bt.jsx)(TY,{className:M.selectLabel,id:P,children:f}),x.length>1&&(0,Bt.jsx)(PY,(0,je.A)({variant:"standard"},!R.variant&&{input:jY||(jY=(0,Bt.jsx)(yM,{}))},{value:v,onChange:y,id:T,labelId:P},R,{classes:(0,je.A)({},R.classes,{root:io(M.input,M.selectRoot,(R.classes||{}).root),select:io(M.select,(R.classes||{}).select),icon:io(M.selectIcon,(R.classes||{}).icon)}),disabled:d,children:x.map(e=>(0,n.createElement)(I,(0,je.A)({},!Oo(I)&&{ownerState:j},{className:M.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),(0,Bt.jsx)(OY,{className:M.displayedRows,children:h({from:0===u?0:b*v+1,to:-1===u?(b+1)*v:-1===v?u:Math.min(u,(b+1)*v),count:-1===u?-1:u,page:b})}),(0,Bt.jsx)(i,{className:M.actions,backIconButtonProps:a,count:u,nextIconButtonProps:m,onPageChange:g,page:b,rowsPerPage:v,showFirstButton:C,showLastButton:_,slotProps:k.actions,slots:A.actions,getItemAriaLabel:p,disabled:d})]})}))}),DY=zY;var BY=o().forwardRef((e,t)=>o().createElement(DY,{...e,ref:t}));function FY(e){return Co("MuiTableRow",e)}const HY=_o("MuiTableRow",["root","selected","hover","head","footer"]),VY=["className","component","hover","selected"],WY=fo("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${HY.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${HY.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),qY="tr",UY=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTableRow"}),{className:o,component:i=qY,hover:a=!1,selected:s=!1}=r,l=(0,Me.A)(r,VY),c=n.useContext(JK),u=(0,je.A)({},r,{component:i,hover:a,selected:s,head:c&&"head"===c.variant,footer:c&&"footer"===c.variant}),d=(e=>{const{classes:t,selected:r,hover:n,head:o,footer:i}=e;return lo({root:["root",r&&"selected",n&&"hover",o&&"head",i&&"footer"]},FY,t)})(u);return(0,Bt.jsx)(WY,(0,je.A)({as:i,ref:t,className:io(d.root,o),role:i===qY?null:"row",ownerState:u},l))}),ZY=["disableDivider"],GY=da(UY,{shouldForwardProp:e=>!ZY.includes(e)})(({disableDivider:e})=>e?{"& td, & th":{borderBottom:0}}:{});var XY=o().forwardRef((e,t)=>o().createElement(GY,{...e,ref:t}));function KY(e){return Co("MuiSkeleton",e)}_o("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const YY=["animation","className","component","height","style","variant","width"];let JY,QY,eJ,tJ,rJ=e=>e;const nJ=(0,ai.i7)(JY||(JY=rJ`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`)),oJ=(0,ai.i7)(QY||(QY=rJ`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`)),iJ=fo("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const r=function(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}(e.shape.borderRadius)||"px",n=(o=e.shape.borderRadius,parseFloat(o));var o;return(0,je.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:Yr(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>"pulse"===e.animation&&(0,ai.AH)(eJ||(eJ=rJ`
animation: ${0} 2s ease-in-out 0.5s infinite;
`),nJ),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,ai.AH)(tJ||(tJ=rJ`
position: relative;
overflow: hidden;
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
-webkit-mask-image: -webkit-radial-gradient(white, black);
&::after {
animation: ${0} 2s linear 0.5s infinite;
background: linear-gradient(
90deg,
transparent,
${0},
transparent
);
content: '';
position: absolute;
transform: translateX(-100%); /* Avoid flash during server-side hydration */
bottom: 0;
left: 0;
right: 0;
top: 0;
}
`),oJ,(t.vars||t).palette.action.hover)),aJ=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:o,component:i="span",height:a,style:s,variant:l="text",width:c}=r,u=(0,Me.A)(r,YY),d=(0,je.A)({},r,{animation:n,component:i,variant:l,hasChildren:Boolean(u.children)}),p=(e=>{const{classes:t,variant:r,animation:n,hasChildren:o,width:i,height:a}=e;return lo({root:["root",r,n,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]},KY,t)})(d);return(0,Bt.jsx)(iJ,(0,je.A)({as:i,ref:t,className:io(p.root,o),ownerState:d},u,{style:(0,je.A)({width:c,height:a},s)}))}),sJ=aJ;var lJ=o().forwardRef((e,t)=>o().createElement(sJ,{...e,ref:t}));da(lJ)`
position: relative;
&:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: calc(100% - 30px);
height: calc(100% - 30px);
border-radius: 50%;
background: ${({theme:e})=>e.palette.background.default};
z-index: 1;
}
`,da(cw)`
position: absolute;
top: 50%;
right: 8px;
cursor: pointer;
pointer-events: none;
transform: translateY(-50%);
`,da(nk)`
display: flex;
flex-direction: column;
align-items: start;
gap: ${({theme:e})=>e.spacing(4)};
max-width: 1200px;
margin-left: auto;
margin-right: auto;
`;o().forwardRef((e,t)=>o().createElement(Ik,{...e,ref:t}));const cJ=e=>(0,Bt.jsx)(cw,{viewBox:"0 0 21 15",fontSize:e.size,...e,children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 0.785156C10.7508 0.785156 10.985 0.910482 11.1241 1.11913L14.6703 6.43847L19.0315 2.9495C19.2777 2.75258 19.6207 2.7306 19.89 2.89448C20.1592 3.05837 20.2973 3.37314 20.2355 3.68224L18.2355 13.6822C18.1654 14.0328 17.8576 14.2852 17.5 14.2852H3.50004C3.14253 14.2852 2.83472 14.0328 2.76461 13.6822L0.764605 3.68224C0.702784 3.37314 0.840845 3.05837 1.11012 2.89448C1.3794 2.7306 1.72241 2.75258 1.96856 2.9495L6.32977 6.43847L9.876 1.11913C10.0151 0.910482 10.2493 0.785156 10.5 0.785156Z"})}),uJ=(r.p,da(_E)`
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
max-width: calc(100% - 48px);
padding: 16px;
`,da(nk)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 40px;
`,da(nk)`
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
backdrop-filter: blur(5px);
z-index: 2;
`,da(nk)`
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1200px;
margin-bottom: 40px;
margin-right: auto;
margin-left: auto;
`,da(Gk)`
max-width: 1200px;
// Spacing
margin-bottom: 16px;
margin-right: auto;
margin-left: auto;
// Typography
font-weight: 400;
letter-spacing: 0.25px;
`,da(gO)`
padding: ${({theme:e})=>e.spacing(2)};
margin-block: ${({theme:e})=>e.spacing(4)};
max-width: 1200px;
margin-left: auto;
margin-right: auto;
`,da(nk)`
display: flex;
align-items: center;
justify-content: space-between;
`,da(dO)`
input {
height: 56px !important;
}
`,da(nk)`
display: flex;
flex-direction: column;
gap: 16px;
align-items: flex-start;
justify-content: start;
padding-top: 16px;
`,da(fS)`
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
padding-top: 7px;
`,da($R)`
width: 200px;
input {
height: 36px;
}
`,da(Gk)`
display: flex;
gap: 8px;
align-items: center;
`,da(nk)`
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: ${({theme:e})=>e.spacing(4)};
max-width: 1200px;
margin-left: auto;
margin-right: auto;
`,da(Gk)`
font-weight: 400;
letter-spacing: 0.25px;
margin-bottom: 16px;
max-width: 1200px;
margin-right: auto;
margin-left: auto;
`,da(nk)`
margin-top: ${({theme:e})=>e.spacing(8)};
text-align: center;
`,da(Gk)`
margin-top: ${({theme:e})=>e.spacing(2)};
margin-bottom: ${({theme:e})=>e.spacing(1)};
font-size: 20px;
font-weight: 500;
line-height: 160%;
letter-spacing: 0.15px;
color: ${({theme:e})=>e.palette.text.primary};
`,da(Gk)`
color: ${({theme:e})=>e.palette.text.secondary};
margin-bottom: ${({theme:e})=>e.spacing(2)};
`,da(Ga)`
font-size: 15px;
line-height: 24px;
letter-spacing: 0.4px;
`,da(nk)`
margin-top: ${({theme:e})=>e.spacing(8)};
`,da(Gk)`
margin-bottom: ${({theme:e})=>e.spacing(2)};
color: ${({theme:e})=>e.palette.text.secondary};
font-size: 16px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.15px;
`,da(nk)`
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: ${({theme:e})=>e.spacing(2)};
`,da(nk)`
max-width: 204px;
min-height: 104px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: ${({theme:e})=>`${e.spacing(2)} ${e.spacing(3)}`};
border-radius: ${({theme:e})=>2*e.shape.borderRadius}px;
color: ${({theme:e})=>e.palette.text.secondary};
background: #f3f3f4;
`,da(Gk)`
display: flex;
justify-content: center;
align-items: center;
margin: 0;
margin-bottom: ${({theme:e})=>e.spacing(1)};
color: ${({theme:e})=>e.palette.text.secondary};
font-size: 14px;
font-weight: 500;
letter-spacing: 0.1px;
& svg {
margin-inline-end: ${({theme:e})=>e.spacing(1)};
}
`,({period:e,onPeriodChange:t,isEmpty:r,loading:n})=>{const o="ea11y-accessibility-wizard-time-range-select";return(0,Bt.jsxs)(pJ,{children:[(0,Bt.jsxs)(dJ,{variant:"h5",as:"h1",children:[(0,kw.__)("Accessibility scans","pojo-accessibility"),(0,Bt.jsx)(PA,{size:"small",variant:"filled",color:"default",label:(0,kw.__)("Beta","pojo-accessibility")})]}),(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(hJ,{htmlFor:o,children:(0,kw.__)("Display data from","pojo-accessibility")}),(0,Bt.jsxs)(NR,{id:o,variant:"outlined",size:"small",color:"secondary",onChange:t,value:e,disabled:r||n,children:[(0,Bt.jsx)(ZA,{value:0,children:(0,kw.__)("Today","pojo-accessibility")}),(0,Bt.jsx)(ZA,{value:1,children:(0,kw.__)("Yesterday","pojo-accessibility")}),(0,Bt.jsx)(ZA,{value:7,children:(0,kw.__)("Last 7 days","pojo-accessibility")}),(0,Bt.jsx)(ZA,{value:30,children:(0,kw.__)("Last 30 days","pojo-accessibility")}),(0,Bt.jsx)(ZA,{value:60,children:(0,kw.__)("Last 60 days","pojo-accessibility")})]})]})]})});uJ.propTypes={period:Y_().number.isRequired,onPeriodChange:Y_().func.isRequired,isEmpty:Y_().bool,loading:Y_().bool};const dJ=da(Gk)`
color: ${({theme:e})=>e.palette.common.black};
font-size: 32px;
font-weight: 400;
letter-spacing: 0.25px;
margin: 0;
.MuiChip-root {
margin-inline-start: ${({theme:e})=>e.spacing(1)};
font-weight: 400;
}
`,pJ=da(nk)`
display: flex;
justify-content: space-between;
align-items: center;
.MuiSelect-select {
min-width: 270px;
}
`,hJ=da(fS)`
margin-inline-end: ${({theme:e})=>e.spacing(1)};
color: ${({theme:e})=>e.palette.common.black};
font-weight: 500;
`,fJ=window.wp.a11y,mJ=(0,Fn.createContext)(null),gJ=()=>(0,Fn.useContext)(mJ);da(nk)`
margin-top: ${({theme:e})=>e.spacing(6)};
text-align: center;
`,da(Gk)`
margin-top: 0;
margin-bottom: ${({theme:e})=>e.spacing(1)};
font-size: 16px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.15px;
color: ${({theme:e})=>e.palette.text.secondary};
`,da(Gk)`
color: ${({theme:e})=>e.palette.text.secondary};
`;var yJ=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4697 8.46967C11.7626 8.17678 12.2374 8.17678 12.5303 8.46967L18.5303 14.4697C18.8232 14.7626 18.8232 15.2374 18.5303 15.5303C18.2374 15.8232 17.7626 15.8232 17.4697 15.5303L12 10.0607L6.53033 15.5303C6.23744 15.8232 5.76256 15.8232 5.46967 15.5303C5.17678 15.2374 5.17678 14.7626 5.46967 14.4697L11.4697 8.46967Z"}))),bJ=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4C14 3.58579 14.3358 3.25 14.75 3.25H19.75C20.1642 3.25 20.5 3.58579 20.5 4V9C20.5 9.41421 20.1642 9.75 19.75 9.75C19.3358 9.75 19 9.41421 19 9V5.81066L10.2803 14.5303C9.98744 14.8232 9.51256 14.8232 9.21967 14.5303C8.92678 14.2374 8.92678 13.7626 9.21967 13.4697L17.9393 4.75H14.75C14.3358 4.75 14 4.41421 14 4ZM3.80546 7.05546C4.32118 6.53973 5.02065 6.25 5.75 6.25H10.75C11.1642 6.25 11.5 6.58579 11.5 7C11.5 7.41421 11.1642 7.75 10.75 7.75H5.75C5.41848 7.75 5.10054 7.8817 4.86612 8.11612C4.6317 8.35054 4.5 8.66848 4.5 9V18C4.5 18.3315 4.6317 18.6495 4.86612 18.8839C5.10054 19.1183 5.41848 19.25 5.75 19.25H14.75C15.0815 19.25 15.3995 19.1183 15.6339 18.8839C15.8683 18.6495 16 18.3315 16 18V13C16 12.5858 16.3358 12.25 16.75 12.25C17.1642 12.25 17.5 12.5858 17.5 13V18C17.5 18.7293 17.2103 19.4288 16.6945 19.9445C16.1788 20.4603 15.4793 20.75 14.75 20.75H5.75C5.02065 20.75 4.32118 20.4603 3.80546 19.9445C3.28973 19.4288 3 18.7293 3 18V9C3 8.27065 3.28973 7.57118 3.80546 7.05546Z"})));const{slots:vJ,classNames:xJ}=mC("MenuItemIcon",["root"]),wJ=da(F_,vJ.root)({});var CJ=o().forwardRef((e,t)=>{const r=go({props:e,name:vJ.root.name});return o().createElement(wJ,{...r,ref:t,className:Mw([[xJ.root,r.className]]),ownerState:r})});const{slots:_J,classNames:kJ}=mC("MenuItemText",["root"]),AJ=da(aa,_J.root)({});var SJ=o().forwardRef((e,t)=>{const r=go({props:e,name:_J.root.name});return o().createElement(AJ,{...r,ref:t,className:Mw([[kJ.root,r.className]]),ownerState:r})});n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.75C6.54822 3.75 3.75 6.54822 3.75 10C3.75 13.4518 6.54822 16.25 10 16.25C13.4518 16.25 16.25 13.4518 16.25 10C16.25 6.54822 13.4518 3.75 10 3.75ZM2.25 10C2.25 5.71979 5.71979 2.25 10 2.25C14.2802 2.25 17.75 5.71979 17.75 10C17.75 11.87 17.0877 13.5853 15.9848 14.9242L21.5303 20.4697C21.8232 20.7626 21.8232 21.2374 21.5303 21.5303C21.2374 21.8232 20.7626 21.8232 20.4697 21.5303L14.9242 15.9848C13.5853 17.0877 11.87 17.75 10 17.75C5.71979 17.75 2.25 14.2802 2.25 10Z"})));da(Ga)`
margin-inline-end: ${({theme:e})=>e.spacing(2)};
`,da($R)`
width: ${({expanded:e})=>e?"250px":"0"};
opacity: ${({expanded:e})=>e?1:0};
transition: all 300ms ease;
& input {
width: 250px;
height: 40px;
margin-inline-end: ${({theme:e})=>e.spacing(2)};
padding-inline-start: 40px;
border: 1px solid ${({theme:e})=>e.palette.secondary.main};
border-radius: ${({theme:e})=>e.shape.borderRadius}px;
::placeholder {
opacity: 1;
color: ${({theme:e})=>e.palette.secondary.main};
font-size: 14px;
font-style: normal;
font-weight: 500;
letter-spacing: 0.4px;
}
:focus {
border: 2px solid ${({theme:e})=>e.palette.secondary.main};
box-shadow: none;
}
}
& fieldset {
display: none;
}
.MuiInputAdornment-positionStart {
position: relative;
left: 40px;
}
`,da(yj)`
.MuiPaper-root {
min-width: 195px;
margin-top: ${({theme:e})=>e.spacing(1)};
}
.MuiList-root {
padding-top: ${({theme:e})=>e.spacing(1.25)};
padding-bottom: ${({theme:e})=>e.spacing(1.25)};
}
`,da(ZA)`
padding-top: 0;
padding-bottom: 0;
padding-inline-start: ${({theme:e})=>e.spacing(1.25)};
padding-inline-end: ${({theme:e})=>e.spacing(.75)};
`,da(Ga)`
width: 100%;
`,da(nk)`
display: flex;
justify-content: space-between;
align-items: center;
`,da(nk)`
display: flex;
align-items: center;
`;var jJ=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.08961 4.0956C10.0932 3.02269 12.4216 2.72496 14.6307 3.25921C16.8397 3.79346 18.7748 5.1223 20.0667 6.99219C21.3585 8.86208 21.9168 11.1421 21.6349 13.3973C21.353 15.6525 20.2507 17.725 18.5383 19.2194C16.8259 20.7137 14.6233 21.5254 12.3506 21.4994C10.078 21.4734 7.89454 20.6117 6.21673 19.0786C4.53891 17.5456 3.48423 15.4484 3.25392 13.1874C3.21194 12.7753 3.51197 12.4072 3.92405 12.3652C4.33614 12.3233 4.70422 12.6233 4.7462 13.0354C4.93916 14.9298 5.82281 16.6868 7.22855 17.9713C8.63428 19.2558 10.4637 19.9777 12.3678 19.9995C14.2719 20.0212 16.1173 19.3412 17.552 18.0892C18.9867 16.8372 19.9103 15.1008 20.1464 13.2113C20.3826 11.3218 19.9149 9.41147 18.8325 7.84481C17.7502 6.27814 16.1289 5.16479 14.2781 4.71718C12.4272 4.26956 10.4764 4.51901 8.79772 5.41794C7.44561 6.14199 6.34633 7.24658 5.62839 8.58361H8.72228C9.13649 8.58361 9.47228 8.91939 9.47228 9.33361C9.47228 9.74782 9.13649 10.0836 8.72228 10.0836H4.48963C4.47805 10.0839 4.46644 10.0839 4.4548 10.0836H4.00006C3.58584 10.0836 3.25006 9.74782 3.25006 9.33361V4.61139C3.25006 4.19717 3.58584 3.86139 4.00006 3.86139C4.41427 3.86139 4.75006 4.19717 4.75006 4.61139V7.1337C5.58912 5.86995 6.73269 4.82222 8.08961 4.0956ZM12.4528 8.27753C12.867 8.27753 13.2028 8.61332 13.2028 9.02753V12.4946L14.872 14.1639C15.1649 14.4568 15.1649 14.9316 14.872 15.2245C14.5792 15.5174 14.1043 15.5174 13.8114 15.2245L11.9225 13.3356C11.7818 13.195 11.7028 13.0042 11.7028 12.8053V9.02753C11.7028 8.61332 12.0386 8.27753 12.4528 8.27753Z"})));function MJ(e){return Co("MuiLinearProgress",e)}_o("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const RJ=["className","color","value","valueBuffer","variant"];let IJ,EJ,TJ,PJ,LJ,OJ,NJ=e=>e;const $J=(0,ai.i7)(IJ||(IJ=NJ`
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
`)),zJ=(0,ai.i7)(EJ||(EJ=NJ`
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
`)),DJ=(0,ai.i7)(TJ||(TJ=NJ`
0% {
opacity: 1;
background-position: 0 -23px;
}
60% {
opacity: 0;
background-position: 0 -23px;
}
100% {
opacity: 1;
background-position: -200px -23px;
}
`)),BJ=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,Oe.a)(e.palette[t].main,.62):(0,Oe.e$)(e.palette[t].main,.5),FJ=fo("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${Zi(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>(0,je.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:BJ(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})),HJ=fo("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${Zi(r.color)}`]]}})(({ownerState:e,theme:t})=>{const r=BJ(t,e.color);return(0,je.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,ai.AH)(PJ||(PJ=NJ`
animation: ${0} 3s infinite linear;
`),DJ)),VJ=fo("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${Zi(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>(0,je.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,ai.AH)(LJ||(LJ=NJ`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
`),$J)),WJ=fo("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${Zi(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>(0,je.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:BJ(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,ai.AH)(OJ||(OJ=NJ`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
`),zJ)),qJ=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiLinearProgress"}),{className:n,color:o="primary",value:i,valueBuffer:a,variant:s="indeterminate"}=r,l=(0,Me.A)(r,RJ),c=(0,je.A)({},r,{color:o,variant:s}),u=(e=>{const{classes:t,variant:r,color:n}=e;return lo({root:["root",`color${Zi(n)}`,r],dashed:["dashed",`dashedColor${Zi(n)}`],bar1:["bar",`barColor${Zi(n)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&`barColor${Zi(n)}`,"buffer"===r&&`color${Zi(n)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]},MJ,t)})(c),d=Ut(),p={},h={bar1:{},bar2:{}};if(("determinate"===s||"buffer"===s)&&void 0!==i){p["aria-valuenow"]=Math.round(i),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let e=i-100;d&&(e=-e),h.bar1.transform=`translateX(${e}%)`}if("buffer"===s&&void 0!==a){let e=(a||0)-100;d&&(e=-e),h.bar2.transform=`translateX(${e}%)`}return(0,Bt.jsxs)(FJ,(0,je.A)({className:io(u.root,n),ownerState:c,role:"progressbar"},p,{ref:t},l,{children:["buffer"===s?(0,Bt.jsx)(HJ,{className:u.dashed,ownerState:c}):null,(0,Bt.jsx)(VJ,{className:u.bar1,ownerState:c,style:h.bar1}),"determinate"===s?null:(0,Bt.jsx)(WJ,{className:u.bar2,ownerState:c,style:h.bar2})]}))}),UJ=qJ;var ZJ=o().forwardRef((e,t)=>o().createElement(UJ,{...e,ref:t}));function GJ(e){return Co("MuiTableContainer",e)}_o("MuiTableContainer",["root"]);const XJ=["className","component"],KJ=fo("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),YJ=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,i=(0,Me.A)(r,XJ),a=(0,je.A)({},r,{component:o}),s=(e=>{const{classes:t}=e;return lo({root:["root"]},GJ,t)})(a);return(0,Bt.jsx)(KJ,(0,je.A)({ref:t,as:o,className:io(s.root,n),ownerState:a},i))});var JJ=o().forwardRef((e,t)=>o().createElement(YJ,{...e,ref:t}));function QJ(e){return Co("MuiTableFooter",e)}_o("MuiTableFooter",["root"]);const eQ=["className","component"],tQ=fo("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),rQ={variant:"footer"},nQ="tfoot",oQ=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiTableFooter"}),{className:n,component:o=nQ}=r,i=(0,Me.A)(r,eQ),a=(0,je.A)({},r,{component:o}),s=(e=>{const{classes:t}=e;return lo({root:["root"]},QJ,t)})(a);return(0,Bt.jsx)(JK.Provider,{value:rQ,children:(0,Bt.jsx)(tQ,(0,je.A)({as:o,className:io(s.root,n),ref:t,role:o===nQ?null:"rowgroup",ownerState:a},i))})});var iQ=o().forwardRef((e,t)=>o().createElement(oQ,{...e,ref:t}));const aQ={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",whiteSpace:"nowrap",clipPath:"inset(100%)",clip:"rect(0 0 0 0)",overflow:"hidden"},sQ=({children:e})=>(0,Fn.isValidElement)(e)?(0,Fn.cloneElement)(e,{style:{...e.props.style||{},...aQ}}):(console.warn("VisuallyHidden expects a single valid React element as a child."),null),lQ=(0,Fn.memo)(()=>(0,Bt.jsxs)(oA,{speed:fA.SPEED,foregroundColor:fA.FOREGROUND_COLOR,height:501,width:1056,children:[(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"18",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"18",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"18",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"18",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 56.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"78",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"78",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"78",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"78",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"73",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"73",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 119.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"141",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"141",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"141",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"141",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"136",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"136",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 182.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"204",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"204",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"204",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"204",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"199",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"199",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 245.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"267",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"267",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"267",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"267",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"262",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"262",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 308.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"330",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"330",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"330",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"330",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"325",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"325",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 371.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"393",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"393",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"393",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"393",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"388",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"388",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 434.5h1056"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"16",y:"456",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"188",height:"20",x:"164",y:"456",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"116",height:"20",x:"384",y:"456",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"192",height:"20",x:"532",y:"456",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"50",height:"30",x:"861",y:"451",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("rect",{width:"113",height:"30",x:"927",y:"451",fill:"#E4E4E4",fillOpacity:".5",rx:"4"}),(0,Bt.jsx)("path",{stroke:"#000",strokeOpacity:".12",d:"M0 497.5h1056"})]})),cQ=(0,Fn.memo)(()=>(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(lQ,{})}));var uQ=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.55012 4.45178C9.23098 3.48072 11.1845 3.08925 13.1097 3.33767C15.035 3.58609 16.8251 4.46061 18.2045 5.82653C19.5838 7.19245 20.4757 8.97399 20.743 10.8967C20.8 11.307 20.5136 11.6858 20.1033 11.7428C19.6931 11.7998 19.3142 11.5135 19.2572 11.1032C19.0353 9.50635 18.2945 8.02677 17.149 6.89236C16.0035 5.75795 14.5167 5.03165 12.9178 4.82534C11.3189 4.61902 9.69644 4.94414 8.30047 5.75061C7.24361 6.36117 6.36093 7.22198 5.72541 8.24995H8.00009C8.41431 8.24995 8.75009 8.58574 8.75009 8.99995C8.75009 9.41417 8.41431 9.74995 8.00009 9.74995H4.51686C4.5055 9.75021 4.49412 9.75021 4.48272 9.74995H4.00009C3.58588 9.74995 3.25009 9.41417 3.25009 8.99995V4.99995C3.25009 4.58574 3.58588 4.24995 4.00009 4.24995C4.41431 4.24995 4.75009 4.58574 4.75009 4.99995V7.00691C5.48358 5.96916 6.43655 5.0951 7.55012 4.45178Z"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.89686 12.2571C4.30713 12.2001 4.68594 12.4864 4.74295 12.8967C4.96487 14.4936 5.70565 15.9731 6.85119 17.1075C7.99673 18.242 9.48347 18.9683 11.0824 19.1746C12.6813 19.3809 14.3037 19.0558 15.6997 18.2493C16.7566 17.6387 17.6393 16.7779 18.2748 15.75H16.0001C15.5859 15.75 15.2501 15.4142 15.2501 15C15.2501 14.5857 15.5859 14.25 16.0001 14.25H19.4833C19.4947 14.2497 19.5061 14.2497 19.5175 14.25H20.0001C20.4143 14.25 20.7501 14.5857 20.7501 15V19C20.7501 19.4142 20.4143 19.75 20.0001 19.75C19.5859 19.75 19.2501 19.4142 19.2501 19V16.993C18.5166 18.0307 17.5636 18.9048 16.4501 19.5481C14.7692 20.5192 12.8157 20.9107 10.8904 20.6622C8.9652 20.4138 7.17504 19.5393 5.79572 18.1734C4.4164 16.8074 3.52443 15.0259 3.25723 13.1032C3.20022 12.6929 3.48658 12.3141 3.89686 12.2571Z"})));const dQ=({percentage:e,pageUrl:t})=>{const r=(0,Gn.addQueryArgs)(t,{"open-ea11y-assistant":"1","open-ea11y-assistant-src":"Ally_dashboard"}),n=e=>{ew(tw.assistantDashboardScanCtaClicked,{cta_text:e,source:"history_logs_list"})};return 100===e?(0,Bt.jsx)(pQ,{size:"small",color:"secondary",variant:"outlined",href:r,onClick:()=>n("rescan_url"),target:"_blank",rel:"noreferrer",endIcon:(0,Bt.jsx)(uQ,{}),children:(0,kw.__)("New scan","pojo-accessibility")}):(0,Bt.jsx)(pQ,{size:"small",color:"secondary",variant:"outlined",href:r,onClick:()=>n("fix_issues"),target:"_blank",rel:"noreferrer",children:(0,kw.__)("Resolve issues","pojo-accessibility")})};dQ.propTypes={percentage:Y_().number.isRequired,pageUrl:Y_().string.isRequired};const pQ=da(Ga)`
min-width: 115px;
`,hQ=dQ;var fQ=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{d:"M6.90002 11.75C6.90002 12.5784 6.22845 13.25 5.40002 13.25C4.5716 13.25 3.90002 12.5784 3.90002 11.75C3.90002 10.9216 4.5716 10.25 5.40002 10.25C6.22845 10.25 6.90002 10.9216 6.90002 11.75Z"}),n.createElement("path",{d:"M13.5 11.75C13.5 12.5784 12.8285 13.25 12 13.25C11.1716 13.25 10.5 12.5784 10.5 11.75C10.5 10.9216 11.1716 10.25 12 10.25C12.8285 10.25 13.5 10.9216 13.5 11.75Z"}),n.createElement("path",{d:"M20.1 11.75C20.1 12.5784 19.4285 13.25 18.6 13.25C17.7716 13.25 17.1 12.5784 17.1 11.75C17.1 10.9216 17.7716 10.25 18.6 10.25C19.4285 10.25 20.1 10.9216 20.1 11.75Z"})));const mQ=ai.AH`
.react-colorful {
position: relative;
display: flex;
flex-direction: column;
width: 200px;
height: 200px;
user-select: none;
cursor: default;
}
.react-colorful__saturation {
position: relative;
flex-grow: 1;
border-color: transparent; /* Fixes https://github.com/omgovich/react-colorful/issues/139 */
border-bottom: 12px solid #000;
border-radius: 8px 8px 0 0;
background-image:
linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.react-colorful__pointer-fill,
.react-colorful__alpha-gradient {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
pointer-events: none;
border-radius: inherit;
}
/* Improve elements rendering on light backgrounds */
.react-colorful__alpha-gradient,
.react-colorful__saturation {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.react-colorful__hue,
.react-colorful__alpha {
position: relative;
height: 24px;
}
.react-colorful__hue {
background: linear-gradient(
to right,
#f00 0%,
#ff0 17%,
#0f0 33%,
#0ff 50%,
#00f 67%,
#f0f 83%,
#f00 100%
);
}
/* Round bottom corners of the last element: \`Hue\` for \`ColorPicker\` or \`Alpha\` for \`AlphaColorPicker\` */
.react-colorful__last-control {
border-radius: 0 0 8px 8px;
}
.react-colorful__interactive {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-radius: inherit;
outline: none;
/* Don't trigger the default scrolling behavior when the event is originating from this element */
touch-action: none;
}
.react-colorful__pointer {
position: absolute;
z-index: 1;
box-sizing: border-box;
width: 28px;
height: 28px;
transform: translate(-50%, -50%);
background-color: #fff;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.react-colorful__interactive:focus .react-colorful__pointer {
transform: translate(-50%, -50%) scale(1.1);
}
/* Chessboard-like pattern for alpha related elements */
.react-colorful__alpha,
.react-colorful__alpha-pointer {
background-color: #fff;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>');
}
/* Display the saturation pointer over the hue one */
.react-colorful__saturation-pointer {
z-index: 3;
}
/* Display the hue pointer over the alpha one */
.react-colorful__hue-pointer {
z-index: 2;
}
`,gQ=da(_E)`
position: relative;
width: 425px;
min-height: 100vh;
height: fit-content;
pointer-events: auto;
// Include color picker styles to styled components for prevent problem with cache
${mQ}
`,yQ=da(gO)`
border-radius: 8px;
margin-bottom: ${({theme:e})=>e.spacing(2)};
box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12);
`,bQ=da(nk)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
align-items: center;
`,vQ=da(wO)`
&:last-child {
padding-bottom: ${({theme:e})=>e.spacing(2)};
}
`,xQ=da(wO)`
padding: 0 ${({theme:e})=>e.spacing(2)};
`,wQ=da(nk)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
flex-direction: column;
padding: 0 ${({theme:e})=>e.spacing(2)};
`,CQ=da(lJ)`
transform: scale(1);
`,_Q=da(PC)`
align-items: center;
/* @noflip */
padding-right: ${({theme:e})=>e.spacing(.5)};
/* @noflip */
direction: ltr;
& .MuiAlert-icon,
& .MuiAlert-content {
padding-top: 0;
display: flex;
}
${({disabled:e})=>e?"\n\t\topacity: .7;\n\t\tcursor: not-allowed;\n\t\t& * {\n\t\t\tpointer-events: none;\n\t\t}\n\t":""}
`,kQ=da(nk)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: ${({theme:e})=>e.spacing(2)};
padding-top: ${({theme:e})=>e.spacing(12)};
padding-bottom: ${({theme:e})=>e.spacing(6)};
`,AQ=da(nk)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: ${({theme:e})=>e.spacing(2)};
margin-bottom: ${({theme:e})=>e.spacing(2)};
padding-inline: ${({theme:e})=>e.spacing(2)};
`,SQ=da(Gk)`
max-width: 250px;
text-align: center;
margin-bottom: ${({theme:e})=>e.spacing(2)};
`,jQ=da(_E)`
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: ${({theme:e})=>e.spacing(1.5)};
&:hover {
background-color: ${({theme:e})=>e.palette.action.hover};
}
`,MQ=da(Wa)`
font-weight: 400;
justify-content: start;
padding: 0;
&:focus .MuiPaper-root,
&:focus-visible .MuiPaper-root {
background-color: ${({theme:e})=>e.palette.action.hover};
}
`,RQ=da(nk)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1.5)};
border: 1px solid ${({theme:e})=>e.palette.action.focus};
border-radius: ${({theme:e})=>e.shape.borderRadius}px;
padding-right: ${({theme:e})=>e.spacing(1.5)};
&:hover,
&:focus .MuiPaper-root,
&:focus-visible .MuiPaper-root {
background-color: ${({theme:e,disabled:t})=>t?"transparent":e.palette.action.hover};
}
`,IQ=da(Wa)`
font-weight: 400;
justify-content: start;
padding: ${({theme:e})=>e.spacing(1.5)};
&:hover,
&:focus,
&:focus-visible {
background-color: transparent;
}
`,EQ=da(nk)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(.5)};
`,TQ=da(nk)`
display: flex;
justify-content: space-between;
align-items: flex-start;
`,PQ=da(nk)`
display: flex;
justify-content: center;
width: 100%;
gap: ${({theme:e})=>e.spacing(1)};
`,LQ=da(nk)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(1)};
`,OQ=da(SJ)`
color: ${({theme:e})=>e.palette.text.disabled};
`,NQ=da(nk)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(3)};
`,$Q=({pageUrl:e,remediationCount:t})=>{const[r,n]=(0,Fn.useState)(!1),o=(0,Fn.useRef)(null),i=(0,Gn.addQueryArgs)(e,{"open-ea11y-assistant":"1","open-ea11y-assistant-src":"Ally_dashboard"}),a=(0,Gn.addQueryArgs)(e,{"open-ea11y-manage":"1","open-ea11y-assistant-src":"Ally_dashboard"}),s=()=>n(!1),l=e=>{ew(tw.scanLogActionsButtonClicked,{action:e})};return(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(fC,{id:"menu-button","aria-controls":r?"assistant-menu":void 0,"aria-expanded":r?"true":void 0,"aria-haspopup":"true",onClick:()=>n(!0),ref:o,"aria-label":(0,kw.__)("Menu","pojo-accessibility"),children:(0,Bt.jsx)(fQ,{})}),(0,Bt.jsxs)(yj,{open:r,id:"assistant-menu",anchorEl:o.current,container:o.current,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{"aria-labelledby":"menu-button"},PaperProps:{style:{overflow:"visible"}},disablePortal:!0,children:[(0,Bt.jsxs)(ZA,{component:"a",href:i,target:"_blank",rel:"noreferrer",onClick:()=>{l("scan")},dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(uQ,{})}),(0,Bt.jsx)(SJ,{children:(0,kw.__)("Rescan","pojo-accessibility")})]}),t<1?(0,Bt.jsx)(HP,{arrow:!0,placement:"left",title:(0,kw.__)("You don’t have any fixes to manage just yet.","pojo-accessibility"),PopperProps:{disablePortal:!0,modifiers:[{name:"offset",options:{offset:[0,-16]}}]},children:(0,Bt.jsxs)(ZA,{dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(KP,{color:"disabled"})}),(0,Bt.jsx)(OQ,{children:(0,kw.__)("Manage fixes","pojo-accessibility")})]})}):(0,Bt.jsxs)(ZA,{component:"a",href:a,target:"_blank",rel:"noreferrer",onClick:()=>{s(),l("manage fixes")},dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(KP,{})}),(0,Bt.jsx)(SJ,{children:(0,kw.__)("Manage fixes","pojo-accessibility")})]})]})]})};$Q.propTypes={pageUrl:Y_().string.isRequired,remediationCount:Y_().number.isRequired};const zQ=da(BY)``,DQ=()=>{const{scannerResults:e,page:t,setPage:r,setRowsPerPage:n,rowsPerPage:o,loading:i}=gJ();return i?null:(0,Bt.jsx)(zQ,{count:e.length,page:t,onPageChange:(e,t)=>{r(t)},rowsPerPage:o,onRowsPerPageChange:e=>{n(e.target.value)},colspan:"6",align:"right"})};var BQ=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM16.2415 10.0563C16.5344 9.76339 16.5344 9.28852 16.2415 8.99563C15.9486 8.70273 15.4737 8.70273 15.1809 8.99563L10.7631 13.4134L8.81939 11.4697C8.5265 11.1768 8.05163 11.1768 7.75873 11.4697C7.46584 11.7626 7.46584 12.2374 7.75873 12.5303L10.2328 15.0044C10.3734 15.145 10.5642 15.224 10.7631 15.224C10.962 15.224 11.1528 15.145 11.2934 15.0044L16.2415 10.0563Z"})));const FQ=({color:e,percentage:t})=>(0,Bt.jsx)(PA,{size:"tiny",color:e,variant:"standard",label:`${t}%`}),HQ=({percentage:e})=>e<=25?(0,Bt.jsx)(FQ,{color:"error",percentage:e}):e>25&&e<=60?(0,Bt.jsx)(FQ,{color:"warning",percentage:e}):e>60&&e<100?(0,Bt.jsx)(FQ,{color:"default",percentage:e}):(0,Bt.jsx)(BQ,{fontSize:"small",color:"success"});HQ.propTypes={percentage:Y_().number.isRequired};const VQ=HQ,WQ=({content:e,children:t})=>(0,Bt.jsx)(HP,{title:e,direction:"top",arrow:!0,children:t||(0,Bt.jsx)(KO,{tabIndex:"0",fontSize:"tiny",sx:{cursor:"pointer"}})});WQ.propTypes={content:Y_().string.isRequired,children:Y_().node};const qQ=WQ,UQ=({scannerResults:e,loading:t})=>{const[r,n]=(0,Fn.useState)({}),o=e=>{const t=new Date(e);return(0,cK.dateI18n)((0,kw.__)("d.m.Y, H:i","pojo-accessibility"),t,void 0)};return t?(0,Bt.jsx)(ZQ,{children:(0,Bt.jsx)(cQ,{})}):(0,Bt.jsx)(ZQ,{children:(0,Bt.jsxs)(YK,{"aria-label":(0,kw.__)("Scan results","pojo-accessibility"),children:[(0,Bt.jsx)(vY,{children:(0,Bt.jsxs)(XY,{children:[(0,Bt.jsx)(pY,{sx:{width:"148px"},children:(0,kw.__)("Page","pojo-accessibility")}),(0,Bt.jsx)(pY,{sx:{width:"220px"},children:(0,kw.__)("URL","pojo-accessibility")}),(0,Bt.jsx)(pY,{sx:{width:"148px"},children:(0,kw.__)("Last scan","pojo-accessibility")}),(0,Bt.jsx)(pY,{sx:{width:"220px"},children:(0,kw.__)("Issues resolved","pojo-accessibility")}),(0,Bt.jsx)(pY,{children:(0,Bt.jsx)(sQ,{children:(0,Bt.jsx)(Gk,{as:"span",children:(0,kw.__)("Actions","pojo-accessibility")})})})]})}),(0,Bt.jsx)(iY,{children:e.map((e,t)=>{const i=e.issues_total?Math.round(e.issues_fixed/e.issues_total*100):0;return(0,Bt.jsxs)(Fn.Fragment,{children:[(0,Bt.jsxs)(XY,{children:[(0,Bt.jsx)(QQ,{component:"th",scope:"row",children:e.page_title}),(0,Bt.jsx)(e1,{children:e.page_url}),(0,Bt.jsx)(QQ,{children:o(e.last_scan)}),(0,Bt.jsx)(e1,{children:(0,Bt.jsxs)(GQ,{children:[(0,Bt.jsx)(YQ,{value:i,variant:"determinate",color:"secondary"}),e.issues_fixed,"/",e.issues_total,(0,Bt.jsx)(VQ,{percentage:i})]})}),(0,Bt.jsx)(pY,{children:(0,Bt.jsxs)(XQ,{children:[(0,Bt.jsx)(qQ,{content:(0,kw.__)("View scan history","pojo-accessibility"),children:(0,Bt.jsx)("span",{role:"none",children:(0,Bt.jsx)(KQ,{color:"secondary",size:"small",startIcon:(0,Bt.jsx)(jJ,{}),endIcon:r[t]?(0,Bt.jsx)(yJ,{}):(0,Bt.jsx)(i$,{}),"aria-label":(0,kw.__)("View scan history","pojo-accessibility"),disabled:!e.scans.length,onClick:()=>(e=>{const t=!r[e];n(r=>({...r,[e]:t})),ew(tw.assistantDashboardHistoryLogsButtonClicked,{state:t?"open":"closed"})})(t)})})}),(0,Bt.jsx)(hQ,{percentage:i,pageUrl:e.page_url}),(0,Bt.jsx)($Q,{pageUrl:e.page_url,remediationCount:e.remediation_count})]})})]}),r[t]&&e.scans.map((t,r)=>{const n=t.issues_total?Math.round(t.issues_fixed/t.issues_total*100):0;return(0,Bt.jsxs)(JQ,{children:[(0,Bt.jsx)(pY,{colSpan:2}),(0,Bt.jsx)(QQ,{children:o(t.date)}),(0,Bt.jsx)(e1,{children:(0,Bt.jsxs)(GQ,{children:[(0,Bt.jsx)(YQ,{value:n,variant:"determinate",color:"secondary"}),t.issues_fixed,"/",t.issues_total,(0,Bt.jsx)(VQ,{percentage:n})]})}),(0,Bt.jsx)(pY,{})]},`${e.page_title}-scan-${r}`)})]},e.id)})}),e.length>0&&(0,Bt.jsx)(iQ,{children:(0,Bt.jsx)(XY,{disableDivider:!0,children:(0,Bt.jsx)(DQ,{})})})]})})};UQ.propTypes={scannerResults:Y_().array.isRequired,loading:Y_().bool.isRequired};const ZQ=da(JJ)`
margin-top: ${({theme:e})=>e.spacing(3)};
`,GQ=da(nk)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
`,XQ=da(nk)`
display: flex;
align-items: center;
justify-content: flex-end;
gap: ${({theme:e})=>e.spacing(2)};
`,KQ=da((0,Fn.forwardRef)((e,t)=>(0,Bt.jsx)(Ga,{ref:t,...e})))`
min-width: 50px;
max-width: 50px;
span {
margin: 0;
}
span:first-of-type {
margin-inline-end: ${({theme:e})=>e.spacing(1)};
}
`,YQ=da(ZJ)`
width: 89px;
`,JQ=da(XY)`
background-color: #f9f9f9;
`,QQ=da(pY)`
max-width: 148px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`,e1=da(pY)`
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`,t1=(0,Fn.memo)(()=>(0,Bt.jsx)(oA,{speed:fA.SPEED,foregroundColor:fA.FOREGROUND_COLOR,height:40,width:72,children:(0,Bt.jsx)("rect",{width:"72",height:"40",fill:"none",rx:"4"})})),r1=(0,Fn.memo)(()=>(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(t1,{})})),n1=da(nk)`
display: flex;
justify-content: space-between;
align-items: center;
padding: ${({theme:e})=>`${e.spacing(2)} ${e.spacing(2.5)}`};
border-radius: ${({theme:e})=>2*e.shape.borderRadius}px;
background: ${({theme:e})=>e.palette.background.default};
:nth-of-type(1) {
grid-area: 1 / 1 / 2 / 2;
}
:nth-of-type(2) {
grid-area: 1 / 2 / 2 / 3;
}
:nth-of-type(3) {
grid-area: 2 / 1 / 3 / 3;
}
:nth-of-type(4) {
grid-area: 1 / 3 / 3 / 4;
}
@media screen and (max-width: 960px) {
:nth-of-type(1) {
grid-area: 1 / 1 / 2 / 2;
}
:nth-of-type(2) {
grid-area: 2 / 1 / 3 / 2;
}
:nth-of-type(3) {
grid-area: 3 / 1 / 4 / 2;
}
:nth-of-type(4) {
grid-area: 4 / 1 / 5 / 2;
}
}
`,o1=da(nk)`
min-width: 150px;
min-height: 50px;
height: 100%;
`,i1=da(nk)`
margin-inline-start: ${({theme:e})=>e.spacing(2)};
@media screen and (max-width: 1200px) {
& {
display: none;
}
}
`,a1=da(Gk)`
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0;
margin-bottom: ${({spacing:e,theme:t})=>t.spacing(e||2)};
color: ${({theme:e})=>e.palette.text.primary};
font-feature-settings:
'liga' off,
'clig' off;
font-size: 16px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.15px;
& svg {
margin-inline-start: ${({theme:e})=>e.spacing(1)};
}
`,s1="open-ea11y-manage",l1="ea11y-scanner-wizard-widget",c1="ea11y-scanner-current-element",u1="ea11y-scanner-color-element",d1="ea11y-scanner-background-element",p1="data-initial-bg",h1="data-initial-color",f1=Boolean(window.ea11yScannerData?.isRTL),m1=!window.ea11yScannerData?.planData?.plan?.name?.toLowerCase().includes("free"),g1=window.ea11yScannerData?.planData?.aiCredits?.allowed-window.ea11yScannerData?.planData?.aiCredits?.used>0,y1=window.ea11yScannerData?.planData?.scannedPages?.allowed,b1=window.ea11yScannerData?.planData?.scannedPages?.allowed-window.ea11yScannerData?.planData?.scannedPages?.used>0||!window?.ea11yScannerData?.pageData?.unregistered,v1={main:"main",management:"management",altText:"altText",dynamicContent:"dynamicContent",formsInputsError:"formsInputsError",keyboardAssistiveTech:"keyboardAssistiveTech",pageStructureNav:"pageStructureNav",tables:"tables",colorContrast:"colorContrast",other:"other"},x1={dynamicContent:[],formsInputsError:[],keyboardAssistiveTech:[],pageStructureNav:[],tables:[],colorContrast:[],other:[]},w1={altText:(0,kw.__)("Alternative text","pojo-accessibility"),dynamicContent:(0,kw.__)("Dynamic Content & ARIA","pojo-accessibility"),formsInputsError:(0,kw.__)("Forms & Input Errors","pojo-accessibility"),keyboardAssistiveTech:(0,kw.__)("Keyboard & Assistive Technologies","pojo-accessibility"),pageStructureNav:(0,kw.__)("Page Structure & Navigation","pojo-accessibility"),tables:(0,kw.__)("Tables","pojo-accessibility"),colorContrast:(0,kw.__)("Color contrast","pojo-accessibility"),other:(0,kw.__)("Other Accessibility Issues","pojo-accessibility")},C1={altText:(0,kw.__)("Clearly describe images so people using screen readers understand what's displayed.","pojo-accessibility"),dynamicContent:(0,kw.__)("Label interactive content clearly, helping screen reader users navigate dynamic elements.","pojo-accessibility"),formsInputsError:(0,kw.__)("Clearly label form fields and errors so people know exactly what's needed.","pojo-accessibility"),keyboardAssistiveTech:(0,kw.__)("Make sure people can fully use your site with only a keyboard, no mouse required.","pojo-accessibility"),pageStructureNav:(0,kw.__)("Use headings and clear structure to help people easily navigate your content.","pojo-accessibility"),tables:(0,kw.__)("Give tables clear headers and captions so everyone can easily understand the data.","pojo-accessibility"),colorContrast:(0,kw.__)("Text and background lightness can hinder readability. Depending on text size, you may need to adjust the contrast level to improve accessibility.","pojo-accessibility"),other:(0,kw.__)("Find and resolve additional accessibility issues to ensure your site works for everyone.","pojo-accessibility")},_1={altText:[],dynamicContent:[],formsInputsError:[],keyboardAssistiveTech:[],pageStructureNav:[],tables:[],colorContrast:[],other:[]},k1={altText:["applet_alt_exists","applet_alt_exists","img_alt_redundant","img_alt_valid","img_alt_null","area_alt_exists","imagebutton_alt_exists","imagemap_alt_exists","img_alt_decorative","object_text_exists","svg_graphics_labelled"],dynamicContent:["aria_parent_required","combobox_popup_reference","aria_activedescendant_valid","combobox_active_descendant","aria_role_valid","combobox_autocomplete_valid","combobox_focusable_elements","combobox_haspopup_valid","aria_descendant_valid","aria_role_allowed","aria_attribute_allowed","aria_attribute_conflict","aria_attribute_exists","aria_attribute_required","aria_attribute_value_valid","aria_eventhandler_role_valid","aria_id_unique","aria_widget_labelled","combobox_design_valid","element_id_unique","element_accesskey_unique","aria_attribute_valid"],formsInputsError:["label_content_exists","input_checkboxes_grouped","fieldset_label_valid","form_label_unique","label_ref_valid","input_autocomplete_valid","error_message_exists","input_label_after","input_label_before","input_label_exists"],keyboardAssistiveTech:["aria_hidden_nontabbable","aria_activedescendant_tabindex_valid","aria_child_tabbable","element_scrollable_tabbable","iframe_interactive_tabbable","a_text_purpose","label_name_visible","html_lang_exists","html_lang_valid","element_lang_valid","input_haspopup_conflict","element_tabbable_role_valid"],pageStructureNav:["table_headers_ref_valid","table_scope_valid","table_headers_exists","table_headers_related","table_structure_misuse","dir_attribute_valid","aria_application_label_unique","aria_application_labelled","aria_article_label_unique","aria_banner_label_unique","aria_banner_single","aria_complementary_label_unique","aria_complementary_labelled","aria_content_in_landmark","aria_contentinfo_label_unique","aria_contentinfo_single","aria_document_label_unique","aria_form_label_unique","aria_landmark_name_unique","aria_main_label_unique","aria_navigation_label_unique","aria_region_label_unique","aria_region_labelled","aria_search_label_unique","aria_toolbar_label_unique","skip_main_exists","page_title_exists","frame_title_exists","list_children_valid","table_aria_descendants"],tables:["table_caption_empty","table_caption_nested","table_summary_redundant"],colorContrast:["text_spacing_valid","text_contrast_sufficient"],other:["element_orientation_unlocked","meta_redirect_optional","blink_elem_deprecated","marquee_elem_avoid"]},A1=["aria_content_in_landmark"],S1={keyboardAssistiveTech:(0,kw.__)("Keyboard/Assistive","pojo-accessibility"),dynamicContent:(0,kw.__)("Dynamic/Aria","pojo-accessibility")},j1=({issueByCategory:e})=>{const t=(()=>{const t=Object.entries(e||{}).map(([e,t])=>({key:e,title:S1[e]||w1[e]||e,count:t||0})).sort((e,t)=>t.count-e.count),r=t.reduce((e,t)=>e+t.count,0),n=t.slice(0,6),o=t.slice(6).reduce((e,t)=>e+t.count,0),i=[...n];return(o>0||t.length>6)&&i.push({key:"other",title:(0,kw.__)("Other","pojo-accessibility"),count:o}),i.map(e=>({...e,percentage:r>0?Math.round(e.count/r*100):0}))})();return(0,Bt.jsx)(Bt.Fragment,{children:t.map(({key:e,title:t,percentage:r},n)=>(0,Bt.jsxs)(M1,{colorIndex:n,children:[(0,Bt.jsx)(Gk,{variant:"body2",children:t}),(0,Bt.jsx)(R1,{variant:"subtitle2",as:"p",children:0===r?"-":`${r}%`})]},e))})};j1.propTypes={issueByCategory:Y_().object.isRequired};const M1=da(nk)`
display: flex;
justify-content: flex-start;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
margin-inline-start: ${({theme:e})=>e.spacing(.5)};
&:not(:last-of-type) {
margin-bottom: ${({theme:e})=>e.spacing(1)};
}
&::before {
content: '';
width: 10px;
height: 10px;
margin-inline-end: ${({theme:e})=>e.spacing(1)};
border-radius: 100%;
background-color: ${({colorIndex:e})=>{const t=[iA.ColorBlue900,iA.ColorBlue700,iA.ColorBlue500,iA.ColorBlue400,iA.ColorBlue300,iA.ColorBlue200,iA.ColorBlue100];return t[e%t.length]}};
}
`,R1=da(Gk)`
margin: 0;
margin-inline-start: auto;
color: ${({theme:e})=>e.palette.text.primary};
font-size: 14px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.1px;
min-width: 50px;
text-align: left;
`,I1=j1,E1=e=>{const{itemData:t,series:r}=e,n=r.data[t.dataIndex];return(0,Bt.jsxs)(_E,{sx:{p:2,pb:1},children:[(0,Bt.jsx)(T1,{variant:"body2",color:"text.tertiary",itemColor:n.color,children:n.label}),(0,Bt.jsx)(Gk,{variant:"h6",children:`${n.value}%`})]})},T1=da(Gk)`
position: relative;
padding-left: 18px;
&:before {
content: '';
position: absolute;
left: 0;
top: calc(50% - 5px);
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: ${e=>e.itemColor};
}
`,P1=({issueByCategory:e,loading:t,noResultsState:r})=>{const n=(()=>{const n=Object.entries(e||{}).map(([e,t])=>({key:e,title:w1[e]||e,count:t||0})).sort((e,t)=>t.count-e.count),o=n.reduce((e,t)=>e+t.count,0),i=n.slice(0,6),a=n.slice(6).reduce((e,t)=>e+t.count,0),s=[...i];return(a>0||n.length>6)&&s.push({key:"other",title:(0,kw.__)("Other","pojo-accessibility"),count:a}),t||0===o||r?[{label:"Loading...",value:100,color:"#f3f3f4"}]:s.map((e,t)=>{const r=o>0?parseFloat((e.count/o*100).toFixed(2)):0,n=[iA.ColorBlue900,iA.ColorBlue700,iA.ColorBlue500,iA.ColorBlue400,iA.ColorBlue300,iA.ColorBlue200,iA.ColorBlue100][t]||iA.ColorBlue100;return{label:`${e.title}: ${r}%`,value:r,color:n,categoryTitle:e.title,categoryCount:e.count}})})();return(0,Bt.jsx)(nk,{sx:{width:200,height:200,display:"flex",justifyContent:"center",alignItems:"center",marginRight:1.5},children:(0,Bt.jsx)(VK,{series:[{data:n,innerRadius:66,outerRadius:80,paddingAngle:0,cornerRadius:0,startAngle:0,endAngle:360,cx:100,cy:100}],slots:{itemContent:E1},width:200,height:200,slotProps:{legend:{hidden:!0}},sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",[`& .${MK.root}`]:{display:"none"}}})})};P1.propTypes={issueByCategory:Y_().shape({altText:Y_().number,dynamicContent:Y_().number,formsInputsError:Y_().number,keyboardAssistiveTech:Y_().number,pageStructureNav:Y_().number,tables:Y_().number,colorContrast:Y_().number,other:Y_().number}),loading:Y_().bool.isRequired};const L1=P1,O1=({stats:e,loading:t,noResultsState:r})=>(0,Bt.jsxs)(n1,{className:"resolved-issues-by-category",children:[(0,Bt.jsxs)(o1,{children:[(0,Bt.jsxs)(a1,{variant:"subtitle1",as:"p",spacing:3,children:[(0,kw.__)("Resolved issues by category","pojo-accessibility"),(0,Bt.jsx)(qQ,{content:(0,kw.__)("Track how many accessibility issues you've resolved in each category.","pojo-accessibility")})]}),t?(0,Bt.jsx)(r1,{}):(0,Bt.jsx)(I1,{issueByCategory:e.issue_by_category})]}),(0,Bt.jsx)(i1,{children:(0,Bt.jsx)(L1,{loading:t,issueByCategory:e.issue_by_category,noResultsState:r})})]}),N1=({issueLevels:e})=>(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsxs)($1,{children:[(0,Bt.jsx)(Gk,{variant:"body2",children:(0,kw.__)("Level A","pojo-accessibility")}),(0,Bt.jsx)(z1,{variant:"subtitle2",as:"p",children:(0,kw.sprintf)(
// Translators: %s count of issues
// Translators: %s count of issues
(0,kw.__)("%s issues","pojo-accessibility"),e.a)})]}),(0,Bt.jsxs)($1,{children:[(0,Bt.jsx)(Gk,{variant:"body2",children:(0,kw.__)("Level AA","pojo-accessibility")}),(0,Bt.jsx)(z1,{variant:"subtitle2",as:"p",children:(0,kw.sprintf)(
// Translators: %s count of issues
// Translators: %s count of issues
(0,kw.__)("%s issues","pojo-accessibility"),e.aa)})]}),(0,Bt.jsxs)($1,{children:[(0,Bt.jsx)(Gk,{variant:"body2",children:(0,kw.__)("Level AAA","pojo-accessibility")}),(0,Bt.jsx)(z1,{variant:"subtitle2",as:"p",children:(0,kw.sprintf)(
// Translators: %s count of issues
// Translators: %s count of issues
(0,kw.__)("%s issues","pojo-accessibility"),e.aaa)})]})]});N1.propTypes={issueLevels:Y_().object.isRequired};const $1=da(nk)`
max-width: 160px;
display: flex;
justify-content: flex-start;
align-items: center;
margin-inline-start: ${({theme:e})=>e.spacing(.5)};
&:not(:last-of-type) {
margin-bottom: ${({theme:e})=>e.spacing(1)};
}
:first-of-type::before,
:nth-of-type(2)::before,
:last-of-type::before {
content: '';
width: 10px;
height: 10px;
margin-inline-end: ${({theme:e})=>e.spacing(1)};
border-radius: 100%;
}
:first-of-type::before {
background-color: #064e3b;
}
:nth-of-type(2)::before {
background-color: #10b981;
}
:last-of-type::before {
background-color: #a7f3d0;
}
`,z1=da(Gk)`
margin: 0;
margin-inline-start: auto;
color: ${({theme:e})=>e.palette.text.primary};
font-size: 14px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.1px;
`,D1=N1,B1=({loading:e,value:t,firstSectorPercentage:r,secondSectorPercentage:n,thirdSectorPercentage:o,noResultsState:i})=>{const a=0===r&&0===n&&0===o;let s=[{label:"A",value:r,color:iA.ColorGreen900},{label:"AA",value:n,color:iA.ColorGreen500},{label:"AAA",value:o,color:iA.ColorGreen200}];return(e||i||a)&&(s=[{label:"No Issues",value:100,color:"#f3f3f4"}]),(0,Bt.jsxs)(nk,{sx:{width:120,height:120,display:"flex",justifyContent:"center",alignItems:"center",marginRight:.5,position:"relative"},children:[(0,Bt.jsx)(VK,{series:[{data:s,innerRadius:40,outerRadius:52,cx:60,cy:60}],slots:{itemContent:E1},width:120,height:120,slotProps:{legend:{hidden:!0}},sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",[`& .${MK.root}`]:{display:"none"}}}),(0,Bt.jsx)(nk,{sx:{position:"absolute",top:"55%",left:"53%",transform:"translate(-50%, -50%)",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,Bt.jsx)(Gk,{variant:"h4",as:"span",children:t})})]})};B1.propTypes={value:Y_().oneOfType([Y_().string,Y_().node]).isRequired,firstSectorPercentage:Y_().number.isRequired,secondSectorPercentage:Y_().number,thirdSectorPercentage:Y_().number,noResultsState:Y_().bool};const F1=B1,H1=({stats:e,loading:t,noResultsState:r})=>{const n=e.issue_levels.a+e.issue_levels.aa+e.issue_levels.aaa,o=e.issue_levels.a?Math.round(e.issue_levels.a/n*100):0,i=e.issue_levels.aa?Math.round(e.issue_levels.aa/n*100):0,a=e.issue_levels.aaa?Math.round(e.issue_levels.aaa/n*100):0;return(0,Bt.jsxs)(n1,{className:"resolved-issues-by-level",children:[(0,Bt.jsxs)(o1,{children:[(0,Bt.jsxs)(a1,{variant:"subtitle1",as:"p",spacing:3,children:[(0,kw.__)("Resolved issues by level","pojo-accessibility"),(0,Bt.jsx)(qQ,{content:(0,kw.__)("Track how many issues you've resolved for each WCAG level. Meeting these guidelines helps make your site more accessible and inclusive for all visitors.","pojo-accessibility")})]}),t?(0,Bt.jsx)(r1,{}):(0,Bt.jsx)(D1,{issueLevels:e.issue_levels})]}),(0,Bt.jsx)(i1,{children:(0,Bt.jsx)(F1,{loading:t,value:n.toString(),firstSectorPercentage:o,secondSectorPercentage:i,thirdSectorPercentage:a,noResultsState:r})})]})},V1=({stat:e,loading:t,title:r,tooltip:n})=>(0,Bt.jsx)(n1,{className:"scanned-urls",children:(0,Bt.jsxs)(o1,{children:[(0,Bt.jsxs)(a1,{variant:"subtitle1",as:"p",children:[r,(0,Bt.jsx)(qQ,{content:n})]}),(0,Bt.jsx)(Gk,{variant:"h4",as:"p",children:t?(0,Bt.jsx)(r1,{}):e})]})}),W1=({stats:e,loading:t,noResultsState:r})=>{const n=e.issues_total-e.issues_fixed;return(0,Bt.jsxs)(q1,{children:[(0,Bt.jsx)(V1,{stat:e.scans,loading:t,title:(0,kw.__)("Scanned URLs","pojo-accessibility"),tooltip:(0,kw.__)("View how many URLs you've already scanned for accessibility issues. A URL can be any page on your site, like a blog post or product page.","pojo-accessibility")}),(0,Bt.jsx)(V1,{stat:n,loading:t,title:(0,kw.__)("Open Issues","pojo-accessibility"),tooltip:(0,kw.__)("View the number of accessibility issues that still need to be resolved. These are issues found during your latest scans that haven't been fixed yet.","pojo-accessibility")}),(0,Bt.jsx)(H1,{stats:e,loading:t,noResultsState:r}),(0,Bt.jsx)(O1,{stats:e,loading:t,noResultsState:r})]})};W1.propTypes={stats:Y_().object.isRequired,loading:Y_().bool.isRequired,noResultsState:Y_().bool};const q1=da(nk)`
margin-top: ${({theme:e})=>e.spacing(3)};
display: grid;
grid-template-columns: 1fr 1fr 2fr;
grid-template-rows: 104px 176px;
grid-column-gap: ${({theme:e})=>e.spacing(2)};
grid-row-gap: ${({theme:e})=>e.spacing(2)};
@media screen and (max-width: 960px) {
grid-template-columns: 1fr;
grid-template-rows: repeat(4, 1fr);
}
`,U1=(da(nk)`
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
max-height: 100%;
min-height: 50%;
overflow: auto;
`,da(nk)`
background-color: #f3f3f4;
width: 100%;
`,da($O)`
padding-top: ${({theme:e})=>e.spacing(4)};
padding-bottom: ${({theme:e})=>e.spacing(4)};
padding-left: ${({theme:e})=>e.spacing(4)};
padding-right: ${({theme:e})=>e.spacing(4)};
@media (min-width: ${({theme:e})=>e.breakpoints.values.xl}px) {
padding-left: 0;
padding-right: 0;
}
`,da($O)`
padding-top: ${({theme:e})=>e.spacing(4)};
padding-bottom: ${({theme:e})=>e.spacing(4)};
padding-left: ${({theme:e})=>e.spacing(4)};
padding-right: ${({theme:e})=>e.spacing(4)};
@media (min-width: ${({theme:e})=>e.breakpoints.values.xl}px) {
padding-left: 0;
padding-right: 0;
}
`,(0,kw.__)("Accessibility Assistant","pojo-accessibility"),(0,kw.__)("Scans","pojo-accessibility"),(0,kw.__)("Scan overview","pojo-accessibility"),(0,kw.__)("Widget","pojo-accessibility"),(0,kw.__)("Design","pojo-accessibility"),(0,kw.__)("Design","pojo-accessibility"),(0,kw.__)("Capabilities","pojo-accessibility"),(0,kw.__)("Capabilities","pojo-accessibility"),(0,kw.__)("Statement","pojo-accessibility"),(0,kw.__)("Statement","pojo-accessibility"),(0,kw.__)("Analytics","pojo-accessibility"),(0,kw.__)("Analytics","pojo-accessibility"),da(ON)`
justify-content: end;
align-items: center;
flex-direction: row;
background-color: ${({theme:e})=>e.palette.background.default};
gap: 10px;
border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
`,da(nk)`
width: 100%;
display: flex;
justify-content: flex-end;
padding: ${({theme:e})=>e.spacing(2)};
border-top: 1px solid ${({theme:e})=>e.palette.divider};
`);da(Lo)`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
max-width: 100%;
height: 530px;
background-color: ${({theme:e})=>e.palette.background.paper};
padding: 20px;
text-align: center;
border-radius: 4px;
`,(0,kw.sprintf)((0,kw.__)("Accessibility Statement for %s","pojo-accessibility"),"{company_website}"),(0,kw.sprintf)((0,kw.__)("%s is committed to ensuring digital accessibility for people with disabilities. We are continually improving the user experience for everyone and applying the relevant accessibility standards.","pojo-accessibility"),"<strong>{company_name}</strong>"),(0,kw.__)("Conformance status","pojo-accessibility"),(0,kw.__)("The Web Content Accessibility Guidelines (WCAG) defines requirements for designers and developers to improve accessibility for people with disabilities. It defines three levels of conformance: Level A, Level AA, and Level AAA.","pojo-accessibility"),(0,kw.sprintf)((0,kw.__)("%s is making constant efforts to improve the accessibility of its site and services in the belief that it is our collective moral obligation to allow seamless, accessible, and unhindered use for those of us with disabilities.","pojo-accessibility"),"<strong>{company_name}</strong>"),(0,kw.sprintf)((0,kw.__)("We aim to make all pages and content on %s accessible, but some content may not yet fully meet the highest accessibility standards. This could be due to challenges in identifying the most suitable technological solution.","pojo-accessibility"),"<strong>{company_website}</strong>"),(0,kw.__)("We may revise this Statement periodically to reflect improvements or changes to our accessibility practices.","pojo-accessibility"),(0,kw.__)("Feedback","pojo-accessibility"),(0,kw.sprintf)((0,kw.__)("We welcome your feedback on the accessibility of %s website. Please let us know if you encounter accessibility barriers on our website:","pojo-accessibility"),"<strong>{company_name}</strong>"),(0,kw.sprintf)((0,kw.__)("E-mail: %s","pojo-accessibility"),"<strong>{company_email}</strong>"),(0,kw.__)("We try to respond to feedback within 3–5 business days.","pojo-accessibility"),(0,kw.sprintf)((0,kw.__)("This statement was created on %s.","pojo-accessibility"),"{current_date}"),da($R)`
width: 100%;
.wp-admin & .MuiInputBase-input,
& .MuiInputBase-input:focus {
background-color: initial;
box-shadow: none;
border: 0;
color: inherit;
outline: 0;
padding: 16.5px 14px 16.5px 14px;
&.MuiInputBase-inputSizeSmall {
padding: 8.5px 14px 8.5px 14px;
}
height: 40px;
}
`;var Z1=r(442);Z1.default;var G1=r(6673),X1=r.n(G1);var K1=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9697 4.96967C14.6408 4.29858 15.5509 3.92157 16.5 3.92157C17.4491 3.92157 18.3592 4.29858 19.0303 4.96967C19.7014 5.64075 20.0784 6.55094 20.0784 7.5C20.0784 8.44905 19.7014 9.35924 19.0303 10.0303L8.53033 20.5303C8.38968 20.671 8.19891 20.75 8 20.75H4C3.58579 20.75 3.25 20.4142 3.25 20V16C3.25 15.8011 3.32902 15.6103 3.46967 15.4697L13.9697 4.96967ZM16.5 5.42157C15.9488 5.42157 15.4201 5.64055 15.0303 6.03033L4.75 16.3107V19.25H7.68934L17.9697 8.96967C18.3595 8.57989 18.5784 8.05123 18.5784 7.5C18.5784 6.94876 18.3595 6.42011 17.9697 6.03033C17.5799 5.64055 17.0512 5.42157 16.5 5.42157Z"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9697 5.96967C13.2626 5.67677 13.7374 5.67677 14.0303 5.96967L18.0303 9.96967C18.3232 10.2626 18.3232 10.7374 18.0303 11.0303C17.7374 11.3232 17.2626 11.3232 16.9697 11.0303L12.9697 7.03033C12.6768 6.73743 12.6768 6.26256 12.9697 5.96967Z"})));const Y1=da(nk)`
display: grid;
justify-content: space-evenly;
gap: ${({theme:e})=>e.spacing(5)};
padding: ${({theme:e})=>e.spacing(2)};
grid-template-columns: repeat(2, 1fr);
${({theme:e})=>e.breakpoints.down("lg")} {
grid-template-columns: repeat(1, 1fr);
}
`,J1=({children:e})=>(0,Bt.jsx)(Y1,{children:e});o().forwardRef((e,t)=>o().createElement(zi,{...e,ref:t}));function Q1(e){return Co("MuiCollapse",e)}_o("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const e0=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],t0=fo("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&t.hidden]}})(({theme:e,ownerState:t})=>(0,je.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,je.A)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"})),r0=fo("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>(0,je.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),n0=fo("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>(0,je.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),o0=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:p,onEntering:h,onExit:f,onExited:m,onExiting:g,orientation:y="vertical",style:b,timeout:v=Rt.standard,TransitionComponent:x=i_}=r,w=(0,Me.A)(r,e0),C=(0,je.A)({},r,{orientation:y,collapsedSize:s}),_=(e=>{const{orientation:t,classes:r}=e;return lo({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},Q1,r)})(C),k=yo(),A=Ho(),S=n.useRef(null),j=n.useRef(),M="number"==typeof s?`${s}px`:s,R="horizontal"===y,I=R?"width":"height",E=n.useRef(null),T=$o(t,E),P=e=>t=>{if(e){const r=E.current;void 0===t?e(r):e(r,t)}},L=()=>S.current?S.current[R?"clientWidth":"clientHeight"]:0,O=P((e,t)=>{S.current&&R&&(S.current.style.position="absolute"),e.style[I]=M,d&&d(e,t)}),N=P((e,t)=>{const r=L();S.current&&R&&(S.current.style.position="");const{duration:n,easing:o}=s_({style:b,timeout:v,easing:c},{mode:"enter"});if("auto"===v){const t=k.transitions.getAutoHeightDuration(r);e.style.transitionDuration=`${t}ms`,j.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[I]=`${r}px`,e.style.transitionTimingFunction=o,h&&h(e,t)}),$=P((e,t)=>{e.style[I]="auto",p&&p(e,t)}),z=P(e=>{e.style[I]=`${L()}px`,f&&f(e)}),D=P(m),B=P(e=>{const t=L(),{duration:r,easing:n}=s_({style:b,timeout:v,easing:c},{mode:"exit"});if("auto"===v){const r=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${r}ms`,j.current=r}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[I]=M,e.style.transitionTimingFunction=n,g&&g(e)});return(0,Bt.jsx)(x,(0,je.A)({in:u,onEnter:O,onEntered:$,onEntering:N,onExit:z,onExited:D,onExiting:B,addEndListener:e=>{"auto"===v&&A.start(j.current||0,e),o&&o(E.current,e)},nodeRef:E,timeout:"auto"===v?null:v},w,{children:(e,t)=>(0,Bt.jsx)(t0,(0,je.A)({as:l,className:io(_.root,a,{entered:_.entered,exited:!u&&"0px"===M&&_.hidden}[e]),style:(0,je.A)({[R?"minWidth":"minHeight"]:M},b),ref:T},t,{ownerState:(0,je.A)({},C,{state:e}),children:(0,Bt.jsx)(r0,{ownerState:(0,je.A)({},C,{state:e}),className:_.wrapper,ref:S,children:(0,Bt.jsx)(n0,{ownerState:(0,je.A)({},C,{state:e}),className:_.wrapperInner,children:i})})}))}))});o0.muiSupportAuto=!0;const i0=o0,a0=n.createContext({});function s0(e){return Co("MuiAccordion",e)}const l0=_o("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),c0=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],u0=Aw(),d0=fo(Hw,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${l0.region}`]:t.region},t.root,!r.square&&t.rounded,!r.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${l0.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${l0.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${l0.expanded}`]:{margin:"16px 0"}}}]})),p0=n.forwardRef(function(e,t){const r=u0({props:e,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:a=!1,disabled:s=!1,disableGutters:l=!1,expanded:c,onChange:u,square:d=!1,slots:p={},slotProps:h={},TransitionComponent:f,TransitionProps:m}=r,g=(0,Me.A)(r,c0),[y,b]=xS({controlled:c,default:a,name:"Accordion",state:"expanded"}),v=n.useCallback(e=>{b(!y),u&&u(e,!y)},[y,u,b]),[x,...w]=n.Children.toArray(o),C=n.useMemo(()=>({expanded:y,disabled:s,disableGutters:l,toggle:v}),[y,s,l,v]),_=(0,je.A)({},r,{square:d,disabled:s,disableGutters:l,expanded:y}),k=(e=>{const{classes:t,square:r,expanded:n,disabled:o,disableGutters:i}=e;return lo({root:["root",!r&&"rounded",n&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]},s0,t)})(_),A=(0,je.A)({transition:f},p),S=(0,je.A)({transition:m},h),[j,M]=Nw("transition",{elementType:i0,externalForwardedProps:{slots:A,slotProps:S},ownerState:_});return(0,Bt.jsxs)(d0,(0,je.A)({className:io(k.root,i),ref:t,ownerState:_,square:d},g,{children:[(0,Bt.jsx)(a0.Provider,{value:C,children:x}),(0,Bt.jsx)(j,(0,je.A)({in:y,timeout:"auto"},M,{children:(0,Bt.jsx)("div",{"aria-labelledby":x.props.id,id:x.props["aria-controls"],role:"region",className:k.region,children:w})}))]}))}),h0=p0,f0={variant:"outlined"},m0=o().forwardRef((e,t)=>o().createElement(h0,{...f0,...e,ref:t}));m0.defaultProps=f0;var g0=m0;function y0(e){return Co("MuiAccordionDetails",e)}_o("MuiAccordionDetails",["root"]);const b0=["className"],v0=Aw(),x0=fo("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),w0=n.forwardRef(function(e,t){const r=v0({props:e,name:"MuiAccordionDetails"}),{className:n}=r,o=(0,Me.A)(r,b0),i=r,a=(e=>{const{classes:t}=e;return lo({root:["root"]},y0,t)})(i);return(0,Bt.jsx)(x0,(0,je.A)({className:io(a.root,n),ref:t,ownerState:i},o))});var C0=o().forwardRef((e,t)=>o().createElement(w0,{...e,ref:t}));function _0(e){return Co("MuiAccordionSummary",e)}const k0=_o("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),A0=["children","className","expandIcon","focusVisibleClassName","onClick"],S0=Aw(),j0=fo(Si,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${k0.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${k0.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${k0.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${k0.expanded}`]:{minHeight:64}}}]}}),M0=fo("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${k0.expanded}`]:{margin:"20px 0"}}}]})),R0=fo("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${k0.expanded}`]:{transform:"rotate(180deg)"}})),I0=n.forwardRef(function(e,t){const r=S0({props:e,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:a,focusVisibleClassName:s,onClick:l}=r,c=(0,Me.A)(r,A0),{disabled:u=!1,disableGutters:d,expanded:p,toggle:h}=n.useContext(a0),f=(0,je.A)({},r,{expanded:p,disabled:u,disableGutters:d}),m=(e=>{const{classes:t,expanded:r,disabled:n,disableGutters:o}=e;return lo({root:["root",r&&"expanded",n&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]},_0,t)})(f);return(0,Bt.jsxs)(j0,(0,je.A)({focusRipple:!1,disableRipple:!0,disabled:u,component:"div","aria-expanded":p,className:io(m.root,i),focusVisibleClassName:io(m.focusVisible,s),onClick:e=>{h&&h(e),l&&l(e)},ref:t,ownerState:f},c,{children:[(0,Bt.jsx)(M0,{className:m.content,ownerState:f,children:o}),a&&(0,Bt.jsx)(R0,{className:m.expandIconWrapper,ownerState:f,children:a})]}))}),E0=o().forwardRef((e,t)=>o().createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2929 9.29289C17.6834 8.90237 18.3166 8.90237 18.7071 9.29289C19.0976 9.68342 19.0976 10.3166 18.7071 10.7071L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L5.29289 10.7071C4.90237 10.3166 4.90237 9.68342 5.29289 9.29289C5.68342 8.90237 6.31658 8.90237 6.70711 9.29289L12 14.5858L17.2929 9.29289Z"}))),T0={expandIcon:o().createElement(E0,null)},P0=o().forwardRef((e,t)=>o().createElement(I0,{...T0,...e,ref:t}));P0.defaultProps=T0;var L0=P0;const{slots:O0,classNames:N0}=mC("AccordionSummaryIcon",["root","primaryButton","secondaryButton"]),$0=da(F_,O0.root)({});o().forwardRef((e,t)=>{const r=go({props:e,name:O0.root.name});return o().createElement($0,{...r,ref:t,className:Mw([[N0.root,r.className]]),ownerState:r})});da(g0)`
border: none;
width: 100%;
`,da(L0)`
padding: 0;
min-height: auto;
justify-content: left;
&.Mui-expanded {
min-height: auto;
}
& .MuiAccordionSummary-content,
& .MuiAccordionSummary-content.Mui-expanded {
margin: 0 !important;
align-items: center;
flex-grow: 0;
}
`,da(nk)`
display: flex;
gap: 16px;
align-items: flex-start;
`,da(fS)`
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
padding-top: 7px;
`,da($R)`
width: 100%;
input {
height: 36px;
}
`,da(C0)`
padding: 5px 45px 5px 0;
`;var z0=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.25C12.2508 5.25 12.485 5.37533 12.6241 5.58397L16.1703 10.9033L20.5315 7.41435C20.7777 7.21743 21.1207 7.19544 21.39 7.35933C21.6592 7.52321 21.7973 7.83798 21.7355 8.14709L19.7355 18.1471C19.6654 18.4977 19.3576 18.75 19 18.75H5.00004C4.64253 18.75 4.33472 18.4977 4.26461 18.1471L2.2646 8.14709C2.20278 7.83798 2.34084 7.52321 2.61012 7.35933C2.8794 7.19544 3.22241 7.21743 3.46856 7.41435L7.82977 10.9033L11.376 5.58397C11.5151 5.37533 11.7493 5.25 12 5.25ZM12 7.35208L8.62408 12.416C8.50748 12.5909 8.32282 12.7089 8.1151 12.7411C7.90738 12.7734 7.69566 12.717 7.53152 12.5857L4.13926 9.87185L5.61489 17.25H18.3852L19.8608 9.87185L16.4686 12.5857C16.3044 12.717 16.0927 12.7734 15.885 12.7411C15.6773 12.7089 15.4926 12.5909 15.376 12.416L12 7.35208Z"})));const D0=({children:e,childKey:t,source:r,enabled:n,childValue:o,showIcon:i=!1})=>{const a=(0,Bt.jsxs)(gO,{elevation:0,sx:{maxWidth:300},children:[(0,Bt.jsx)(IO,{title:(0,kw.__)("Access more advanced features","pojo-accessibility")}),(0,Bt.jsx)(wO,{children:(0,Bt.jsx)(Gk,{variant:"body2",color:"text.secondary",children:(0,kw.__)("Upgrade to get more customization and other pro features to boost your site.","pojo-accessibility")})}),(0,Bt.jsx)(qO,{children:(0,Bt.jsx)(Wa,{size:"medium",color:"promotion",variant:"contained",startIcon:(0,Bt.jsx)(z0,{}),onClick:()=>{"screen-reader"===t&&"icon"===r&&(rw("https://go.elementor.com/acc-screen-reader-icon"),ew(tw.upgradeButtonClicked,{feature:"screen reader",component:"pro icon"})),"screen-reader"===t&&"toggle"===r&&(rw("https://go.elementor.com/acc-screen-reader-toggle"),ew(tw.upgradeButtonClicked,{feature:"screen reader",component:"toggle"})),mA.REMOVE_BRANDING===t&&"icon"===r&&(rw("https://go.elementor.com/acc-label-icon"),ew(tw.upgradeButtonClicked,{feature:"ally label",component:"pro icon"})),mA.REMOVE_BRANDING===t&&"toggle"===r&&(rw("https://go.elementor.com/acc-label-toggle"),ew(tw.upgradeButtonClicked,{feature:"ally label",component:"toggle"}))},children:(0,kw.__)("Upgrade now","pojo-accessibility")})})]});return o?.pro||"pro"===o?(o?.pro||"pro"===o)&&n?e:(0,Bt.jsxs)(o$,{placement:"top",content:a,disableFocusListener:!0,PopperProps:{sx:{zIndex:9999999999}},onOpen:()=>{let e="",n="";"screen-reader"===t&&"toggle"===r?(e="screen reader",n="toggle"):"screen-reader"===t&&"icon"===r?(e="screen reader",n="icon"):mA.REMOVE_BRANDING===t&&"icon"===r?(e="ally label",n="pro icon"):mA.REMOVE_BRANDING===t&&"toggle"===r&&(e="ally label",n="toggle"),ew(tw.upgradeTooltipTriggered,{feature:e,component:n})},children:[i&&(0,Bt.jsx)(B0,{color:"promotion",variant:"standard",icon:(0,Bt.jsx)(_w,{}),size:"small"}),e]}):e},B0=da(PA)`
margin-left: ${({theme:e})=>e.spacing(1)};
height: 26px;
width: 26px;
.MuiChip-label {
padding: 0;
}
`,F0=da(dO)`
input {
height: 56px !important;
}
`,H0=e=>(0,Bt.jsx)(F0,{size:"medium",color:"info",...e});var V0=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9932 3C11.5018 3 11.0194 3.13134 10.596 3.38038C10.175 3.62805 9.82781 3.98314 9.59 4.40906L2.4909 16.6309C2.47341 16.661 2.45804 16.6923 2.44491 16.7246C2.27977 17.1303 2.21428 17.5695 2.25392 18.0056C2.29356 18.4416 2.43717 18.8619 2.67276 19.2313C2.90835 19.6008 3.22909 19.9086 3.6082 20.1291C3.98731 20.3496 4.41379 20.4764 4.85202 20.499C4.88374 20.5006 4.9151 20.5003 4.94598 20.498C4.96405 20.4993 4.98229 20.5 5.00069 20.5H19.0057L19.011 20.5C19.4598 20.4968 19.9011 20.3841 20.2962 20.1718C20.6914 19.9594 21.0285 19.6537 21.2781 19.2815C21.5277 18.9093 21.6822 18.4818 21.7282 18.0362C21.7742 17.5907 21.7102 17.1408 21.5419 16.7256C21.5287 16.693 21.5132 16.6613 21.4955 16.6309L14.3964 4.40904C14.1586 3.98312 13.8114 3.62805 13.3904 3.38038C12.9671 3.13134 12.4846 3 11.9932 3ZM12.7538 8.76945C12.7538 8.35599 12.4179 8.02081 12.0035 8.02081C11.5891 8.02081 11.2532 8.35599 11.2532 8.76945V12.7658C11.2532 13.1793 11.5891 13.5145 12.0035 13.5145C12.4179 13.5145 12.7538 13.1793 12.7538 12.7658V8.76945ZM12.7538 15.7586C12.7538 15.3451 12.4179 15.0099 12.0035 15.0099C11.5891 15.0099 11.2532 15.3451 11.2532 15.7586V15.7686C11.2532 16.182 11.5891 16.5172 12.0035 16.5172C12.4179 16.5172 12.7538 16.182 12.7538 15.7686V15.7586Z"})));const W0=({title:e,onCancel:t,onClose:r,onApprove:n,approveText:o=(0,kw.__)("Submit","pojo-accessibility"),cancelText:i=(0,kw.__)("Cancel","pojo-accessibility"),approveButtonColor:a="error",approveButtonSize:s="medium",children:l,logo:c=(0,Bt.jsx)(V0,{color:"error"}),showCancelButton:u=!0,showApproveButton:d=!0,approveButtonDisabled:p=!1,showCloseButton:h=!1,dividers:f=!1,open:m=!0,...g})=>(0,Bt.jsxs)(sN,{open:m,onClose:r,...g,children:[(0,Bt.jsx)(UN,{logo:c,onClose:!!h&&r,children:(0,Bt.jsx)(Gk,{variant:"subtitle1",children:e})}),(0,Bt.jsx)(vN,{dividers:f,sx:{py:1},children:l}),(0,Bt.jsxs)(pN,{children:[u&&(0,Bt.jsx)(Wa,{onClick:t,color:"secondary",children:i}),d&&(0,Bt.jsx)(Wa,{variant:"contained",disabled:p,color:a,size:s,onClick:n,children:o})]})]}),q0=(da(nk)`
display: flex;
flex-direction: column;
justify-content: space-between;
width: 38%;
padding: 40px;
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 4px;
text-align: center;
@media screen and (max-width: 768px) {
width: 100%;
}
& span {
margin-right: 24px;
}
`,da(Gk)`
font-size: 16px;
color: ${({theme:e})=>e.palette.text.primary};
`,da(Gk)`
font-size: 14px;
color: ${({theme:e})=>e.palette.text.secondary};
`,da(Lo)`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-left: ${({theme:e})=>e.spacing(8)};
padding-right: ${({theme:e})=>e.spacing(8)};
`,da(Lo)`
justify-content: space-between;
display: flex;
margin-top: 80px;
margin-bottom: 80px;
`,da(Gk)`
color: ${({theme:e})=>e.palette.text.primary};
margin-top: ${({theme:e})=>e.spacing(5)};
margin-bottom: ${({theme:e})=>e.spacing(1)};
`,da(Gk)`
color: ${({theme:e})=>e.palette.text.secondary};
margin-bottom: ${({theme:e})=>e.spacing(1)};
text-align: center;
width: 70%;
`,da(W0)`
margin-left: 10%;
& .MuiDialogContent-dividers {
border-bottom: none;
}
`,da(nk)`
display: flex;
justify-content: center;
align-items: center;
padding: ${({theme:e})=>e.spacing(1)};
`),U0=da(nk)`
display: inline-flex;
justify-content: center;
align-items: center;
`,Z0=({size:e})=>{const{iconDesign:t}=Ka(),r=`lch(from ${t?.color||"#fff"} calc((50 - l) * 100) 0 0)`;return(0,Bt.jsx)(G0,{className:"custom-icon",style:{display:"flex",alignItems:"center",justifyContent:"center"},dangerouslySetInnerHTML:{__html:t?.custom?.svg},size:e,strokeColor:r})},G0=da("div")`
svg {
font-size: ${({size:e})=>e}px;
width: ${({size:e})=>e}px;
fill: ${({strokeColor:e})=>e};
path {
fill: ${({strokeColor:e})=>e};
}
}
`;da(_E)`
display: flex;
flex-direction: column;
flex-grow: 1;
gap: 12px;
align-items: center;
justify-content: center;
padding: 3px;
min-width: 10px;
width: 100px;
min-height: 100px;
border-radius: ${({theme:e})=>e.shape.borderRadius};
box-shadow: ${({theme:e})=>e.shadows[0]};
cursor: pointer;
position: relative;
:hover {
box-shadow: 0 0 15px 0 rgba(37, 99, 235, 0.15);
border-color: ${({theme:e})=>e.palette.info.main};
}
`,da(PA)`
position: absolute;
top: 5px;
left: 5px;
font-size: 10px;
height: 16px;
`;function X0(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function K0(e,t){for(let r=0;r<e.length;r+=1)if(t(e[r]))return r;return-1}const Y0=function(e={}){const{ignoreAccents:t=!0,ignoreCase:r=!0,limit:n,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;r&&(c=c.toLowerCase()),t&&(c=X0(c));const u=c?e.filter(e=>{let n=(i||l)(e);return r&&(n=n.toLowerCase()),t&&(n=X0(n)),"start"===o?0===n.indexOf(c):n.indexOf(c)>-1}):e;return"number"==typeof n?u.slice(0,n):u}}(),J0=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function Q0(e){const{unstable_isActiveElementInListbox:t=J0,unstable_classNamePrefix:r="Mui",autoComplete:o=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:p=!1,disableCloseOnSelect:h=!1,disabled:f,disabledItemsFocusable:m=!1,disableListWrap:g=!1,filterOptions:y=Y0,filterSelectedOptions:b=!1,freeSolo:v=!1,getOptionDisabled:x,getOptionKey:w,getOptionLabel:C=e=>{var t;return null!=(t=e.label)?t:e},groupBy:_,handleHomeEndKeys:k=!e.freeSolo,id:A,includeInputInList:S=!1,inputValue:j,isOptionEqualToValue:M=(e,t)=>e===t,multiple:R=!1,onChange:I,onClose:E,onHighlightChange:T,onInputChange:P,onOpen:L,open:O,openOnFocus:N=!1,options:$,readOnly:z=!1,selectOnFocus:D=!e.freeSolo,value:B}=e,F=oH(A);let H=C;H=e=>{const t=C(e);return"string"!=typeof t?String(t):t};const V=n.useRef(!1),W=n.useRef(!0),q=n.useRef(null),U=n.useRef(null),[Z,G]=n.useState(null),[X,K]=n.useState(-1),Y=i?0:-1,J=n.useRef(Y),[Q,ee]=bj({controlled:B,default:d,name:u}),[te,re]=bj({controlled:j,default:"",name:u,state:"inputValue"}),[ne,oe]=n.useState(!1),ie=n.useCallback((e,t)=>{if(!(R?Q.length<t.length:null!==t)&&!l)return;let r;if(R)r="";else if(null==t)r="";else{const e=H(t);r="string"==typeof e?e:""}te!==r&&(re(r),P&&P(e,r,"reset"))},[H,te,R,P,re,l,Q]),[ae,se]=bj({controlled:O,default:!1,name:u,state:"open"}),[le,ce]=n.useState(!0),ue=!R&&null!=Q&&te===H(Q),de=ae&&!z,pe=de?y($.filter(e=>!b||!(R?Q:[Q]).some(t=>null!==t&&M(e,t))),{inputValue:ue&&le?"":te,getOptionLabel:H}):[],he=(e=>{const t=n.useRef({});return n.useEffect(()=>{t.current=e}),t.current})({filteredOptions:pe,value:Q,inputValue:te});n.useEffect(()=>{const e=Q!==he.value;ne&&!e||v&&!e||ie(null,Q)},[Q,ie,ne,he.value,v]);const fe=ae&&pe.length>0&&!z,me=VC(e=>{-1===e?q.current.focus():Z.querySelector(`[data-tag-index="${e}"]`).focus()});n.useEffect(()=>{R&&X>Q.length-1&&(K(-1),me(-1))},[Q,R,X,me]);const ge=VC(({event:e,index:t,reason:n="auto"})=>{if(J.current=t,-1===t?q.current.removeAttribute("aria-activedescendant"):q.current.setAttribute("aria-activedescendant",`${F}-option-${t}`),T&&T(e,-1===t?null:pe[t],n),!U.current)return;const o=U.current.querySelector(`[role="option"].${r}-focused`);o&&(o.classList.remove(`${r}-focused`),o.classList.remove(`${r}-focusVisible`));let i=U.current;if("listbox"!==U.current.getAttribute("role")&&(i=U.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${r}-focused`),"keyboard"===n&&a.classList.add(`${r}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==n&&"touch"!==n)){const e=a,t=i.clientHeight+i.scrollTop,r=e.offsetTop+e.offsetHeight;r>t?i.scrollTop=r-i.clientHeight:e.offsetTop-e.offsetHeight*(_?1.3:0)<i.scrollTop&&(i.scrollTop=e.offsetTop-e.offsetHeight*(_?1.3:0))}}),ye=VC(({event:e,diff:t,direction:r="next",reason:n="auto"})=>{if(!de)return;const i=function(e,t){if(!U.current||e<0||e>=pe.length)return-1;let r=e;for(;;){const n=U.current.querySelector(`[data-option-index="${r}"]`),o=!m&&(!n||n.disabled||"true"===n.getAttribute("aria-disabled"));if(n&&n.hasAttribute("tabindex")&&!o)return r;if(r="next"===t?(r+1)%pe.length:(r-1+pe.length)%pe.length,r===e)return-1}}((()=>{const e=pe.length-1;if("reset"===t)return Y;if("start"===t)return 0;if("end"===t)return e;const r=J.current+t;return r<0?-1===r&&S?-1:g&&-1!==J.current||Math.abs(t)>1?0:e:r>e?r===e+1&&S?-1:g||Math.abs(t)>1?e:0:r})(),r);if(ge({index:i,reason:n,event:e}),o&&"reset"!==t)if(-1===i)q.current.value=te;else{const e=H(pe[i]);q.current.value=e,0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&q.current.setSelectionRange(te.length,e.length)}}),be=n.useCallback(()=>{if(!de)return;const e=(()=>{if(-1!==J.current&&he.filteredOptions&&he.filteredOptions.length!==pe.length&&he.inputValue===te&&(R?Q.length===he.value.length&&he.value.every((e,t)=>H(Q[t])===H(e)):(e=he.value,t=Q,(e?H(e):"")===(t?H(t):"")))){const e=he.filteredOptions[J.current];if(e)return K0(pe,t=>H(t)===H(e))}var e,t;return-1})();if(-1!==e)return void(J.current=e);const t=R?Q[0]:Q;if(0!==pe.length&&null!=t){if(U.current){if(null!=t){const e=pe[J.current];if(R&&e&&-1!==K0(Q,t=>M(e,t)))return;const r=K0(pe,e=>M(e,t));return void(-1===r?ye({diff:"reset"}):ge({index:r}))}J.current>=pe.length-1?ge({index:pe.length-1}):ge({index:J.current})}}else ye({diff:"reset"})},[pe.length,!R&&Q,b,ye,ge,de,te,R]),ve=VC(e=>{zC(U,e),e&&be()});n.useEffect(()=>{be()},[be]);const xe=e=>{ae||(se(!0),ce(!0),L&&L(e))},we=(e,t)=>{ae&&(se(!1),E&&E(e,t))},Ce=(e,t,r,n)=>{if(R){if(Q.length===t.length&&Q.every((e,r)=>e===t[r]))return}else if(Q===t)return;I&&I(e,t,r,n),ee(t)},_e=n.useRef(!1),ke=(e,t,r="selectOption",n="options")=>{let o=r,i=t;if(R){i=Array.isArray(Q)?Q.slice():[];const e=K0(i,e=>M(t,e));-1===e?i.push(t):"freeSolo"!==n&&(i.splice(e,1),o="removeOption")}ie(e,i),Ce(e,i,o,{option:t}),h||e&&(e.ctrlKey||e.metaKey)||we(e,o),(!0===s||"touch"===s&&_e.current||"mouse"===s&&!_e.current)&&q.current.blur()},Ae=(e,t)=>{if(!R)return;""===te&&we(e,"toggleInput");let r=X;-1===X?""===te&&"previous"===t&&(r=Q.length-1):(r+="next"===t?1:-1,r<0&&(r=0),r===Q.length&&(r=-1)),r=function(e,t){if(-1===e)return-1;let r=e;for(;;){if("next"===t&&r===Q.length||"previous"===t&&-1===r)return-1;const e=Z.querySelector(`[data-tag-index="${r}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return r;r+="next"===t?1:-1}}(r,t),K(r),me(r)},Se=e=>{V.current=!0,re(""),P&&P(e,"","clear"),Ce(e,R?[]:null,"clear")},Me=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==X&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(K(-1),me(-1)),229!==t.which))switch(t.key){case"Home":de&&k&&(t.preventDefault(),ye({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&k&&(t.preventDefault(),ye({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ye({diff:-5,direction:"previous",reason:"keyboard",event:t}),xe(t);break;case"PageDown":t.preventDefault(),ye({diff:5,direction:"next",reason:"keyboard",event:t}),xe(t);break;case"ArrowDown":t.preventDefault(),ye({diff:1,direction:"next",reason:"keyboard",event:t}),xe(t);break;case"ArrowUp":t.preventDefault(),ye({diff:-1,direction:"previous",reason:"keyboard",event:t}),xe(t);break;case"ArrowLeft":Ae(t,"previous");break;case"ArrowRight":Ae(t,"next");break;case"Enter":if(-1!==J.current&&de){const e=pe[J.current],r=!!x&&x(e);if(t.preventDefault(),r)return;ke(t,e,"selectOption"),o&&q.current.setSelectionRange(q.current.value.length,q.current.value.length)}else v&&""!==te&&!1===ue&&(R&&t.preventDefault(),ke(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),we(t,"escape")):c&&(""!==te||R&&Q.length>0)&&(t.preventDefault(),t.stopPropagation(),Se(t));break;case"Backspace":if(R&&!z&&""===te&&Q.length>0){const e=-1===X?Q.length-1:X,r=Q.slice();r.splice(e,1),Ce(t,r,"removeOption",{option:Q[e]})}break;case"Delete":if(R&&!z&&""===te&&Q.length>0&&-1!==X){const e=X,r=Q.slice();r.splice(e,1),Ce(t,r,"removeOption",{option:Q[e]})}}},Re=e=>{oe(!0),N&&!V.current&&xe(e)},Ie=e=>{t(U)?q.current.focus():(oe(!1),W.current=!0,V.current=!1,a&&-1!==J.current&&de?ke(e,pe[J.current],"blur"):a&&v&&""!==te?ke(e,te,"blur","freeSolo"):l&&ie(e,Q),we(e,"blur"))},Ee=e=>{const t=e.target.value;te!==t&&(re(t),ce(!1),P&&P(e,t,"input")),""===t?p||R||Ce(e,null,"clear"):xe(e)},Te=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));J.current!==t&&ge({event:e,index:t,reason:"mouse"})},Pe=e=>{ge({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),_e.current=!0},Le=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ke(e,pe[t],"selectOption"),_e.current=!1},Oe=e=>t=>{const r=Q.slice();r.splice(e,1),Ce(t,r,"removeOption",{option:Q[e]})},Ne=e=>{ae?we(e,"toggleInput"):xe(e)},$e=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==F&&e.preventDefault()},ze=e=>{e.currentTarget.contains(e.target)&&(q.current.focus(),D&&W.current&&q.current.selectionEnd-q.current.selectionStart===0&&q.current.select(),W.current=!1)},De=e=>{f||""!==te&&ae||Ne(e)};let Be=v&&te.length>0;Be=Be||(R?Q.length>0:null!==Q);let Fe=pe;return _&&(new Map,Fe=pe.reduce((e,t,r)=>{const n=_(t);return e.length>0&&e[e.length-1].group===n?e[e.length-1].options.push(t):e.push({key:r,index:r,group:n,options:[t]}),e},[])),f&&ne&&Ie(),{getRootProps:(e={})=>(0,je.A)({"aria-owns":fe?`${F}-listbox`:null},e,{onKeyDown:Me(e),onMouseDown:$e,onClick:ze}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:te,onBlur:Ie,onFocus:Re,onChange:Ee,onMouseDown:De,"aria-activedescendant":de?"":null,"aria-autocomplete":o?"both":"list","aria-controls":fe?`${F}-listbox`:void 0,"aria-expanded":fe,autoComplete:"off",ref:q,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:f}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ne}),getTagProps:({index:e})=>(0,je.A)({key:e,"data-tag-index":e,tabIndex:-1},!z&&{onDelete:Oe(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var r;const n=(R?Q:[Q]).some(e=>null!=e&&M(t,e)),o=!!x&&x(t);return{key:null!=(r=null==w?void 0:w(t))?r:H(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseMove:Te,onClick:Le,onTouchStart:Pe,"data-option-index":e,"aria-disabled":o,"aria-selected":n}},id:F,inputValue:te,value:Q,dirty:Be,expanded:de&&Z,popupOpen:de,focused:ne||-1!==X,anchorEl:Z,setAnchorEl:G,focusedTag:X,groupedOptions:Fe}}function e2(e){return Co("MuiListSubheader",e)}_o("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const t2=["className","color","component","disableGutters","disableSticky","inset"],r2=fo("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${Zi(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>(0,je.A)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),n2=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiListSubheader"}),{className:n,color:o="default",component:i="li",disableGutters:a=!1,disableSticky:s=!1,inset:l=!1}=r,c=(0,Me.A)(r,t2),u=(0,je.A)({},r,{color:o,component:i,disableGutters:a,disableSticky:s,inset:l}),d=(e=>{const{classes:t,color:r,disableGutters:n,inset:o,disableSticky:i}=e;return lo({root:["root","default"!==r&&`color${Zi(r)}`,!n&&"gutters",o&&"inset",!i&&"sticky"]},e2,t)})(u);return(0,Bt.jsx)(r2,(0,je.A)({as:i,className:io(d.root,n),ref:t,ownerState:u},c))});n2.muiSkipListHighlight=!0;const o2=n2;function i2(e){return Co("MuiAutocomplete",e)}const a2=_o("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var s2,l2;const c2=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],u2=["ref"],d2=Aw(),p2=fo("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{fullWidth:n,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=r;return[{[`& .${a2.tag}`]:t.tag},{[`& .${a2.tag}`]:t[`tagSize${Zi(s)}`]},{[`& .${a2.inputRoot}`]:t.inputRoot},{[`& .${a2.input}`]:t.input},{[`& .${a2.input}`]:a&&t.inputFocused},t.root,n&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${a2.focused} .${a2.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${a2.clearIndicator}`]:{visibility:"visible"}},[`& .${a2.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${a2.inputRoot}`]:{flexWrap:"wrap",[`.${a2.hasPopupIcon}&, .${a2.hasClearIcon}&`]:{paddingRight:30},[`.${a2.hasPopupIcon}.${a2.hasClearIcon}&`]:{paddingRight:56},[`& .${a2.input}`]:{width:0,minWidth:30}},[`& .${vM.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${vM.root}.${cM.sizeSmall}`]:{[`& .${vM.input}`]:{padding:"2px 4px 3px 0"}},[`& .${$M.root}`]:{padding:9,[`.${a2.hasPopupIcon}&, .${a2.hasClearIcon}&`]:{paddingRight:39},[`.${a2.hasPopupIcon}.${a2.hasClearIcon}&`]:{paddingRight:65},[`& .${a2.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${a2.endAdornment}`]:{right:9}},[`& .${$M.root}.${cM.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${a2.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${SM.root}`]:{paddingTop:19,paddingLeft:8,[`.${a2.hasPopupIcon}&, .${a2.hasClearIcon}&`]:{paddingRight:39},[`.${a2.hasPopupIcon}.${a2.hasClearIcon}&`]:{paddingRight:65},[`& .${SM.input}`]:{padding:"7px 4px"},[`& .${a2.endAdornment}`]:{right:9}},[`& .${SM.root}.${cM.sizeSmall}`]:{paddingBottom:1,[`& .${SM.input}`]:{padding:"2.5px 4px"}},[`& .${cM.hiddenLabel}`]:{paddingTop:8},[`& .${SM.root}.${cM.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${a2.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${SM.root}.${cM.hiddenLabel}.${cM.sizeSmall}`]:{[`& .${a2.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${a2.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${a2.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${a2.input}`]:{opacity:1}}}]}),h2=fo("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),f2=fo(Kw,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),m2=fo(Kw,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>(0,je.A)({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),g2=fo(MP,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${a2.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),y2=fo(Hw,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>(0,je.A)({},e.typography.body1,{overflow:"auto"})),b2=fo("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),v2=fo("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),x2=fo("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${a2.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${a2.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${a2.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${a2.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${a2.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),w2=fo(o2,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),C2=fo("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${a2.option}`]:{paddingLeft:24}}),_2=n.forwardRef(function(e,t){var r,o,i,a;const s=d2({props:e,name:"MuiAutocomplete"}),{autoComplete:l=!1,autoHighlight:c=!1,autoSelect:u=!1,blurOnSelect:d=!1,ChipProps:p,className:h,clearIcon:f=s2||(s2=(0,Bt.jsx)(rC,{fontSize:"small"})),clearOnBlur:m=!s.freeSolo,clearOnEscape:g=!1,clearText:y="Clear",closeText:b="Close",componentsProps:v={},defaultValue:x=(s.multiple?[]:null),disableClearable:w=!1,disableCloseOnSelect:C=!1,disabled:_=!1,disabledItemsFocusable:k=!1,disableListWrap:A=!1,disablePortal:S=!1,filterSelectedOptions:j=!1,forcePopupIcon:M="auto",freeSolo:R=!1,fullWidth:I=!1,getLimitTagsText:E=e=>`+${e}`,getOptionLabel:T,groupBy:P,handleHomeEndKeys:L=!s.freeSolo,includeInputInList:O=!1,limitTags:N=-1,ListboxComponent:$="ul",ListboxProps:z,loading:D=!1,loadingText:B="Loading…",multiple:F=!1,noOptionsText:H="No options",openOnFocus:V=!1,openText:W="Open",PaperComponent:q=Hw,PopperComponent:U=MP,popupIcon:Z=l2||(l2=(0,Bt.jsx)(vR,{})),readOnly:G=!1,renderGroup:X,renderInput:K,renderOption:Y,renderTags:J,selectOnFocus:Q=!s.freeSolo,size:ee="medium",slotProps:te={}}=s,re=(0,Me.A)(s,c2),{getRootProps:ne,getInputProps:oe,getInputLabelProps:ie,getPopupIndicatorProps:ae,getClearProps:se,getTagProps:le,getListboxProps:ce,getOptionProps:ue,value:de,dirty:pe,expanded:he,id:fe,popupOpen:me,focused:ge,focusedTag:ye,anchorEl:be,setAnchorEl:ve,inputValue:xe,groupedOptions:we}=Q0((0,je.A)({},s,{componentName:"Autocomplete"})),Ce=!w&&!_&&pe&&!G,_e=(!R||!0===M)&&!1!==M,{onMouseDown:ke}=oe(),{ref:Ae}=null!=z?z:{},Se=ce(),{ref:Re}=Se,Ie=(0,Me.A)(Se,u2),Ee=$o(Re,Ae),Te=T||(e=>{var t;return null!=(t=e.label)?t:e}),Pe=(0,je.A)({},s,{disablePortal:S,expanded:he,focused:ge,fullWidth:I,getOptionLabel:Te,hasClearIcon:Ce,hasPopupIcon:_e,inputFocused:-1===ye,popupOpen:me,size:ee}),Le=(e=>{const{classes:t,disablePortal:r,expanded:n,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:u}=e;return lo({root:["root",n&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${Zi(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},i2,t)})(Pe);let Oe;if(F&&de.length>0){const e=e=>(0,je.A)({className:Le.tag,disabled:_},le(e));Oe=J?J(de,e,Pe):de.map((t,r)=>(0,Bt.jsx)(MA,(0,je.A)({label:Te(t),size:ee},e({index:r}),p)))}if(N>-1&&Array.isArray(Oe)){const e=Oe.length-N;!ge&&e>0&&(Oe=Oe.splice(0,N),Oe.push((0,Bt.jsx)("span",{className:Le.tag,children:E(e)},Oe.length)))}const Ne=X||(e=>(0,Bt.jsxs)("li",{children:[(0,Bt.jsx)(w2,{className:Le.groupLabel,ownerState:Pe,component:"div",children:e.group}),(0,Bt.jsx)(C2,{className:Le.groupUl,ownerState:Pe,children:e.children})]},e.key)),$e=Y||((e,t)=>(0,n.createElement)("li",(0,je.A)({},e,{key:e.key}),Te(t))),ze=(e,t)=>{const r=ue({option:e,index:t});return $e((0,je.A)({},r,{className:Le.option}),e,{selected:r["aria-selected"],index:t,inputValue:xe},Pe)},De=null!=(r=te.clearIndicator)?r:v.clearIndicator,Be=null!=(o=te.paper)?o:v.paper,Fe=null!=(i=te.popper)?i:v.popper,He=null!=(a=te.popupIndicator)?a:v.popupIndicator,Ve=e=>(0,Bt.jsx)(g2,(0,je.A)({as:U,disablePortal:S,style:{width:be?be.clientWidth:null},ownerState:Pe,role:"presentation",anchorEl:be,open:me},Fe,{className:io(Le.popper,null==Fe?void 0:Fe.className),children:(0,Bt.jsx)(y2,(0,je.A)({ownerState:Pe,as:q},Be,{className:io(Le.paper,null==Be?void 0:Be.className),children:e}))}));let We=null;return we.length>0?We=Ve((0,Bt.jsx)(x2,(0,je.A)({as:$,className:Le.listbox,ownerState:Pe},Ie,z,{ref:Ee,children:we.map((e,t)=>P?Ne({key:e.key,group:e.group,children:e.options.map((t,r)=>ze(t,e.index+r))}):ze(e,t))}))):D&&0===we.length?We=Ve((0,Bt.jsx)(b2,{className:Le.loading,ownerState:Pe,children:B})):0!==we.length||R||D||(We=Ve((0,Bt.jsx)(v2,{className:Le.noOptions,ownerState:Pe,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:H}))),(0,Bt.jsxs)(n.Fragment,{children:[(0,Bt.jsx)(p2,(0,je.A)({ref:t,className:io(Le.root,h),ownerState:Pe},ne(re),{children:K({id:fe,disabled:_,fullWidth:!0,size:"small"===ee?"small":void 0,InputLabelProps:ie(),InputProps:(0,je.A)({ref:ve,className:Le.inputRoot,startAdornment:Oe,onClick:e=>{e.target===e.currentTarget&&ke(e)}},(Ce||_e)&&{endAdornment:(0,Bt.jsxs)(h2,{className:Le.endAdornment,ownerState:Pe,children:[Ce?(0,Bt.jsx)(f2,(0,je.A)({},se(),{"aria-label":y,title:y,ownerState:Pe},De,{className:io(Le.clearIndicator,null==De?void 0:De.className),children:f})):null,_e?(0,Bt.jsx)(m2,(0,je.A)({},ae(),{disabled:_,"aria-label":me?b:W,title:me?b:W,ownerState:Pe},He,{className:io(Le.popupIndicator,null==He?void 0:He.className),children:Z})):null]})}),inputProps:(0,je.A)({className:Le.input,disabled:_,readOnly:G},oe())})})),be?We:null]})}),k2=_2,A2="MuiAutocomplete-listbox";o().forwardRef((e,t)=>{const{renderInput:r,ListboxProps:n={},...i}=e;return o().createElement(k2,{...i,ListboxProps:{...n,className:Mw([A2,`${A2}Size${a=i.size||"medium",a?a[0].toUpperCase()+a.slice(1):""}`,n.className])},renderInput:t=>r?.(function(e,t){const r=e;return t.size&&(r.size=t.size),r}(t,e)),ref:t});var a});da($R)`
& .MuiAutocomplete-input,
& .MuiAutocomplete-input:focus,
& .MuiAutocomplete-input:focus-visible {
border: none;
outline: none;
box-shadow: none;
}
`;function S2(e){return Co("MuiCardActionArea",e)}(0,kw.__)("Widget loads","pojo-accessibility"),(0,kw.__)("This is how many times your widget loads for each unique IP/device in a 24-hour span across your sites this month. Upgrade if you’re nearing your limit to keep all features available.","pojo-accessibility"),(0,kw.__)("Pages scanned","pojo-accessibility"),(0,kw.__)("This is how many URLs (like site pages, blog posts, or product pages) you’ve scanned for accessibility this month. Upgrade if you’re nearing your limit to keep scanning more.","pojo-accessibility"),(0,kw.__)("AI credits","pojo-accessibility"),(0,kw.__)("This is how many AI credits you’ve used to resolve issues or to generate content. Upgrade if you’re nearing your plan limit to keep full functionality.","pojo-accessibility"),(0,kw.__)("Upgrade your plan to unlock AI credits for generating alt‑text, one‑click accessibility fixes, and more.","pojo-accessibility"),da(nk)`
display: inline-flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(1)};
width: 100%;
margin-bottom: ${({theme:e})=>e.spacing(1)};
`,da(PA)`
height: 26px;
width: 26px;
.MuiChip-label {
padding: 0;
}
`;const j2=_o("MuiCardActionArea",["root","focusVisible","focusHighlight"]),M2=["children","className","focusVisibleClassName"],R2=fo(Si,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${j2.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${j2.focusVisible} .${j2.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),I2=fo("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})})),E2=n.forwardRef(function(e,t){const r=go({props:e,name:"MuiCardActionArea"}),{children:n,className:o,focusVisibleClassName:i}=r,a=(0,Me.A)(r,M2),s=r,l=(e=>{const{classes:t}=e;return lo({root:["root"],focusHighlight:["focusHighlight"]},S2,t)})(s);return(0,Bt.jsxs)(R2,(0,je.A)({className:io(l.root,o),focusVisibleClassName:io(i,l.focusVisible),ref:t,ownerState:s},a,{children:[n,(0,Bt.jsx)(I2,{className:l.focusHighlight,ownerState:s})]}))});var T2=o().forwardRef((e,t)=>o().createElement(E2,{...e,ref:t}));const{slots:P2,classNames:L2}=mC("CardGroup",["root"]),O2=da("div",P2.root)({});var N2=o().forwardRef((e,t)=>{const r=go({props:e,name:P2.root.name});return o().createElement(O2,{...r,ref:t,className:Mw([[L2.root,r.className]]),ownerState:r})});da(nk,{shouldForwardProp:e=>"popup"!==e})`
display: flex;
flex-direction: row;
align-items: start;
justify-content: center;
max-width: 230px;
margin: ${({popup:e,theme:t})=>e?"0":t.spacing(2)};
padding: 0;
border-radius: ${({theme:e})=>2*e.shape.borderRadius}px;
:hover {
background-color: ${({popup:e,theme:t})=>e?t.palette.common.white:t.palette.action.hover};
}
`,da(N2)`
border: none;
border-radius: ${({theme:e})=>2*e.shape.borderRadius}px;
padding: ${({theme:e})=>`${e.spacing(1.5)} ${e.spacing(2)}`};
width: 100%;
background-color: transparent;
& .MuiPaper-root {
background-color: transparent;
}
`,da(wO)`
padding: 0;
background-color: transparent;
:last-child {
padding-bottom: 0;
}
`,da(wO)`
padding: 0;
background-color: transparent;
padding-top: ${({theme:e})=>e.spacing(1)};
:last-child {
padding-bottom: ${({theme:e})=>e.spacing(2)};
}
`,da(IO)`
padding: 0;
background-color: transparent;
margin-bottom: ${({theme:e})=>e.spacing(1)};
`,da(T2)`
background-color: transparent;
button {
&:hover {
background-color: transparent;
}
}
`;const $2=()=>(0,Bt.jsxs)("svg",{width:"24",height:"24",fill:"none",role:"presentation",children:[(0,Bt.jsx)("g",{clipPath:"url(#a)",children:(0,Bt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.022 18.667A12 12 0 1 1 21.977 5.333 12 12 0 0 1 2.022 18.667zM9 7H7v10h2V7zm8 0h-6v2h6V7zm0 3.999h-6v2h6v-2zM17 15h-6v2h6v-2z",fill:"#0C0D0E"})}),(0,Bt.jsx)("defs",{children:(0,Bt.jsx)("clipPath",{id:"a",children:(0,Bt.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),z2=()=>(0,Bt.jsxs)("svg",{width:"388",height:"122",fill:"none",role:"presentation",children:[(0,Bt.jsx)("path",{d:"M163.281 25.635c-2.77 1.85-4.14 5.48-3.53 8.76.61 3.28 3.03 6.1 6.07 7.46 3.04 1.36 6.63 1.32 9.76.17 3.13-1.15 5.82-3.35 7.82-6.02",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M163.281 25.635c-2.77 1.85-4.14 5.48-3.53 8.76.61 3.28 3.03 6.1 6.07 7.46 3.04 1.36 6.63 1.32 9.76.17 3.13-1.15 5.82-3.35 7.82-6.02",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"m211.661 62.755-37.39 5.23-1.32-1.99 39.5-6.69-.79 3.45z",fill:"#000",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"m210.782 52.155 1.1 10.06-37.81 5.17-.89-10.54 4.22-.58c4.18-.57 10.09-2.29 9.56-7.1l-2.43-22.24 7.22-.99 2.48 22.68c.52 4.8 4.01 5.24 8.19 4.67l8.37-1.14-.01.01z",fill:"#EFF5FE",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M193.302 44.415c-.43-.07-2.01-.26-3.56.71-2 1.25-2.34 3.42-2.39 3.73l-.69-5.17 6.43-.88.2 1.61h.01z",fill:"#000"}),(0,Bt.jsx)("path",{d:"m199.751 30.955.03.22c.22 2.08-.41 3.97-1.64 5.54-.03.04-.05.07-.09.1-1.77 2.18-4.73 3.72-8.19 4.18-5.08.69-9.56-.88-11.16-4.7-.1-.26-.2-.52-.28-.79-.13-.44-.23-.9-.28-1.38-.5-4.55 3.03-8.87 8.12-10.26.56-.15 1.12-.27 1.71-.35 1.26-.17 2.48-.16 3.64.03 1.02.15 1.97.44 2.86.82 2.83 1.25 4.87 3.62 5.28 6.58v.01z",fill:"#EFF5FE",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"m195.261 43.015-9.78 1.34c-.7.1-1.35-.4-1.44-1.1l-.14-1.09a1.3 1.3 0 0 1 1.11-1.45l9.78-1.34c.7-.1 1.35.4 1.44 1.1l.14 1.09a1.3 1.3 0 0 1-1.11 1.45zM213.02 62.045l-40.07 5.47-1.13-10.62 40.07-5.48 1.13 10.63z",fill:"#EFF5FE",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"m213.02 62.045-40.07 5.47-.22-3.22 40.07-5.47.22 3.22z",fill:"#000",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M186.404 31.636c1.245-1.818 1.301-3.945.125-4.75-1.176-.805-3.138.017-4.383 1.836-1.244 1.818-1.3 3.945-.124 4.75 1.175.804 3.138-.017 4.382-1.836z",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M175.081 7.475c-5.82-.67-11.36 1.78-14.01 6.26-3.25 5.51-.68 11.62-.05 13.13 1.75 4.17 4.74 6.35 6.58 7.8 3.46 2.75 7.9 4.89 12.21 3.9 1.07-.25 2.13-.7 2.91-1.48.78-.77 1.27-1.9 1.09-2.99-.2-1.23-1.15-2.17-2.05-3.03-2.07-1.97-5.33-4.73-9.6-9.14",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M175.081 7.475c-5.82-.67-11.36 1.78-14.01 6.26-3.25 5.51-.68 11.62-.05 13.13 1.75 4.17 4.74 6.35 6.58 7.8 3.46 2.75 7.9 4.89 12.21 3.9 1.07-.25 2.13-.7 2.91-1.48.78-.77 1.27-1.9 1.09-2.99-.2-1.23-1.15-2.17-2.05-3.03-2.07-1.97-5.33-4.73-9.6-9.14",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M194.051 12.896c.54-.74 1.02-1.7.64-2.53-.43-.94-1.67-1.12-2.7-1.15-3.18-.07-6.36.16-9.49.68-1.55.26-3.12.6-4.51 1.35-1.39.75-2.59 1.97-3 3.49-.41 1.5.07 3.25 1.3 4.22 1.83 1.44 7.02.06 9.16-.43 3.4-.78 6.54-2.78 8.61-5.62l-.01-.01z",fill:"#fff",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M240.141 56.795c-3.2-4.29-8.94-11.52-16.14-18.09-2.53-2.31-6.1-5.31-11.36-7.07-2.37-.79-3.59-1.19-5.33-1.05-6.01.49-8.61 6.65-11.83 5.56-1.43-.48-2.17-2.13-2.38-3.14-.45-2.28 1.23-4.32 2.61-6.03 6.95-8.64 9.84-10.35 9.32-11.86-.45-1.29-2.89-1.19-14.11-1.47-7.23-.19-9.48-.55-10.07.69-.97 2.02 3.27 6.69 5.45 12.1.19.48.55 1.68.43 3.18-.09 1.07-.55 2.15-1.42 2.79-1.54 1.12-3.72.47-5.4-.43-6.39-3.41-10.96-10.02-11.9-17.2-.4-3.02.27-4.65.93-5.71 1.45-2.33 4.27-3.25 4.93-3.46 18.13-5.93 32.02-3.91 32.02-3.91 27.2 3.97 56.47 23.8 61.25 27.08",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M240.141 56.795c-3.2-4.29-8.94-11.52-16.14-18.09-2.53-2.31-6.1-5.31-11.36-7.07-2.37-.79-3.59-1.19-5.33-1.05-6.01.49-8.61 6.65-11.83 5.56-1.43-.48-2.17-2.13-2.38-3.14-.45-2.28 1.23-4.32 2.61-6.03 6.95-8.64 9.84-10.35 9.32-11.86-.45-1.29-2.89-1.19-14.11-1.47-7.23-.19-9.48-.55-10.07.69-.97 2.02 3.27 6.69 5.45 12.1.19.48.55 1.68.43 3.18-.09 1.07-.55 2.15-1.42 2.79-1.54 1.12-3.72.47-5.4-.43-6.39-3.41-10.96-10.02-11.9-17.2-.4-3.02.27-4.65.93-5.71 1.45-2.33 4.27-3.25 4.93-3.46 18.13-5.93 32.02-3.91 32.02-3.91 27.2 3.97 56.47 23.8 61.25 27.08",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M223.686 60.414c.44-6.59 4.73-12.78 10.75-15.49 6.02-2.71 13.5-1.84 18.73 2.19-3.17-5.49-1.33-13.3 3.95-16.8s13.19-2.15 17.01 2.91c-.66-6.59 2.18-13.43 7.31-17.62 5.13-4.19 12.4-5.6 18.73-3.64",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M223.686 60.414c.44-6.59 4.73-12.78 10.75-15.49 6.02-2.71 13.5-1.84 18.73 2.19-3.17-5.49-1.33-13.3 3.95-16.8s13.19-2.15 17.01 2.91c-.66-6.59 2.18-13.43 7.31-17.62 5.13-4.19 12.4-5.6 18.73-3.64",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M292.766 44.284c9.638 0 17.45-6.662 17.45-14.88s-7.812-14.88-17.45-14.88c-9.637 0-17.45 6.662-17.45 14.88s7.813 14.88 17.45 14.88zM259.345 59.794c0 8.22-8.67 7.64-18.31 7.64-9.64 0-16.59.58-16.59-7.64 0-8.22 7.81-14.88 17.45-14.88s17.45 6.66 17.45 14.88z",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M196.005 104.87c8.575-2.434 14.401-8.37 13.014-13.258-1.388-4.888-9.465-6.877-18.04-4.442-8.575 2.435-14.401 8.37-13.013 13.259 1.388 4.888 9.464 6.876 18.039 4.441z",fill:"#000",stroke:"#fff",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M196.538 106.746c9.829-2.791 16.433-9.855 14.751-15.779-1.682-5.924-11.013-8.464-20.842-5.673-9.829 2.79-16.433 9.856-14.751 15.779 1.682 5.924 11.013 8.464 20.842 5.673z",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"m189.538 93.118.677 8.082 14.469-14.01",stroke:"#fff",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M71.144 98.269c.953-7.264-5.976-14.162-15.475-15.408-9.5-1.245-17.972 3.633-18.925 10.897-.952 7.264 5.976 14.162 15.476 15.407 9.5 1.246 17.972-3.633 18.924-10.896z",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M30 67.236c8.234-7.475 19.386-9.514 29.813-5.442 10.426 4.071 19.951 14.178 25.45 27.015 4.614-5.402 11.54-7.23 17.993-4.745 6.452 2.483 12.259 9.204 15.086 17.467 2.775-6.024 8.496-9.142 14.104-7.698 5.607 1.445 10.821 7.384 12.848 14.647H33.803",fill:"#fff"}),(0,Bt.jsx)("path",{d:"M30 67.236c8.234-7.475 19.386-9.514 29.813-5.442 10.426 4.071 19.951 14.178 25.45 27.015 4.614-5.402 11.54-7.23 17.993-4.745 6.452 2.483 12.259 9.204 15.086 17.467.565-1.148 1.502-2.718 3.038-4.191 5.384-5.157 14.943-6.076 21.504-2.256 7.943 4.625 11.477 16.183 6.635 26.552",fill:"#fff"})]}),D2=()=>(0,Bt.jsxs)("svg",{width:"292",height:"132",viewBox:"0 0 292 132",fill:"none",children:[(0,Bt.jsx)("rect",{width:"292",height:"129",transform:"translate(0 2)",fill:"white"}),(0,Bt.jsx)("path",{d:"M142.867 20.0408C117.693 10.4324 85.5969 21.5032 71.6941 43.8734C69.6916 47.1067 65.2633 53.0134 65.0688 63.2959C64.7026 83.0612 80.4133 101.615 96.2385 108.253C99.6713 109.693 114.055 110.173 142.867 111.132C149.538 111.35 156.209 111.532 164.608 114.56C169.311 116.262 171.256 117.759 176.566 119.13C182.264 120.545 188.122 121.209 193.993 121.107C214.933 121.187 230.758 108.539 231.25 90.259C231.502 80.8905 233.367 70.2881 225.529 62.9989C216.031 54.2131 206.179 58.2918 189.713 54.0645C164.643 47.6437 166.645 29.078 142.867 20.0408Z",fill:"#EFF5FE"}),(0,Bt.jsxs)("g",{clipPath:"url(#clip0_1253_33753)",children:[(0,Bt.jsx)("path",{d:"M170.578 37.6797L199.012 17.0596L170.578 37.6797Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M199.115 16.5345L170.636 37.2217L171.075 37.8218L199.554 17.1347L199.115 16.5345Z",fill:"black"}),(0,Bt.jsx)("rect",{x:"29.6226",y:"53.7681",width:"21.8249",height:"21.515",fill:"url(#pattern0_1253_33753)"}),(0,Bt.jsx)("path",{d:"M202.968 122.277C198.143 122.277 190.647 119.804 181.123 114.974C166.882 107.748 149.631 96.0955 132.534 82.1723C115.436 68.2491 100.558 53.6813 90.6108 41.2495C80.6631 28.8178 76.7555 19.5902 79.9106 15.7413C86.404 7.8127 119.691 24.5744 155.7 53.8929C191.708 83.2115 214.826 112.395 208.332 120.285C207.271 121.633 205.457 122.277 202.968 122.277ZM85.3523 14.5097C83.1042 14.5097 81.4929 15.0774 80.5281 16.2609C77.6239 19.7152 81.5219 28.6638 91.1897 40.7876C101.108 53.2194 115.957 67.7295 133.016 81.595C150.075 95.4604 167.278 107.103 181.471 114.31C195.316 121.334 204.897 123.355 207.753 119.862C213.88 112.376 190.319 83.0479 155.227 54.4318C125.702 30.4246 97.2779 14.4616 85.362 14.4616L85.3523 14.5097Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M143.33 101.166C138.897 101.186 134.505 100.321 130.412 98.622C126.319 96.9233 122.609 94.4252 119.498 91.2749C116.318 88.0598 113.814 84.2432 112.134 80.0494C110.454 75.8557 109.632 71.3693 109.715 66.854C109.956 47.6772 125.625 31.8681 144.662 31.6083H145.134C149.569 31.5881 153.963 32.4528 158.057 34.1515C162.152 35.8503 165.864 38.3487 168.976 41.4998C172.156 44.7147 174.658 48.5315 176.337 52.7254C178.015 56.9194 178.836 61.4058 178.75 65.9207C178.518 85.0975 162.849 100.907 143.803 101.166H143.33ZM144.44 49.1012C139.836 49.2129 135.454 51.0996 132.215 54.3652C128.977 57.6308 127.133 62.021 127.072 66.6135C127.025 68.8545 127.428 71.0822 128.256 73.1659C129.085 75.2496 130.322 77.1471 131.897 78.7469C133.446 80.3157 135.293 81.5596 137.331 82.4057C139.37 83.2517 141.557 83.6828 143.764 83.6734H143.996C148.599 83.5595 152.979 81.6719 156.218 78.4069C159.456 75.1418 161.3 70.753 161.363 66.1612C161.412 63.92 161.01 61.6918 160.182 59.6079C159.353 57.524 158.115 55.6266 156.539 54.0278C154.992 52.4584 153.146 51.214 151.11 50.3678C149.073 49.5217 146.887 49.091 144.681 49.1012H144.44Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M145.135 31.9834C149.521 31.9641 153.867 32.8199 157.916 34.5005C161.966 36.181 165.638 38.6524 168.716 41.7691C171.857 44.9479 174.329 48.7214 175.986 52.8676C177.643 57.0137 178.452 61.4485 178.364 65.911C178.142 84.8857 162.627 100.551 143.793 100.791H143.321C138.938 100.809 134.597 99.9528 130.551 98.274C126.505 96.5952 122.836 94.1273 119.759 91.015C116.62 87.8322 114.15 84.0566 112.493 79.9094C110.836 75.7622 110.026 71.327 110.11 66.8635C110.342 47.8791 125.857 32.224 144.691 31.9834H145.154H145.135ZM143.822 84.039H144.064C148.754 83.9178 153.216 81.9925 156.516 78.6658C159.816 75.3392 161.698 70.8688 161.769 66.19C161.813 63.8951 161.396 61.6146 160.542 59.4829C159.689 57.3512 158.416 55.4113 156.8 53.7775C155.216 52.1758 153.327 50.9062 151.245 50.0436C149.162 49.181 146.927 48.7428 144.671 48.7548H144.43C139.742 48.8785 135.284 50.8052 131.987 54.1318C128.691 57.4585 126.813 61.9274 126.744 66.6038C126.701 68.898 127.119 71.1777 127.974 73.308C128.829 75.4384 130.104 77.3761 131.723 79.0066C133.306 80.6097 135.194 81.8807 137.277 82.745C139.36 83.6092 141.595 84.0492 143.851 84.039H143.822ZM145.183 31.2329H144.71C125.413 31.4927 109.628 47.4365 109.396 66.8347C109.294 71.3508 110.096 75.8418 111.758 80.0443C113.419 84.2468 115.905 88.076 119.071 91.3071C122.236 94.5383 126.017 97.1063 130.191 98.8605C134.365 100.615 138.849 101.52 143.379 101.522H143.861C163.158 101.263 178.943 85.3187 179.175 65.9206C179.271 61.4077 178.463 56.921 176.798 52.7235C175.133 48.526 172.645 44.7021 169.479 41.476C166.313 38.2499 162.534 35.6863 158.362 33.9357C154.19 32.1851 149.709 31.2826 145.183 31.281V31.2329ZM143.851 83.2981C141.669 83.2985 139.509 82.8648 137.498 82.0224C135.486 81.18 133.663 79.9458 132.135 78.392C130.608 76.8382 129.407 74.9962 128.602 72.9737C127.797 70.9512 127.405 68.7889 127.449 66.6134C127.495 62.1159 129.294 57.8128 132.466 54.6146C135.637 51.4163 139.931 49.5736 144.44 49.4764H144.671C146.852 49.4823 149.009 49.9216 151.017 50.7687C153.025 51.6158 154.844 52.8536 156.366 54.4098C157.889 55.966 159.086 57.8093 159.886 59.832C160.686 61.8547 161.073 64.0162 161.026 66.19C160.979 70.6875 159.18 74.9905 156.009 78.1888C152.838 81.3871 148.544 83.2298 144.035 83.327L143.851 83.2981Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M109.589 72.9258C109.274 72.9278 108.961 72.8667 108.669 72.746C108.377 72.6254 108.113 72.4477 107.891 72.2234C107.643 71.9704 107.449 71.6689 107.323 71.3377C107.197 71.0065 107.14 70.6529 107.158 70.299L107.254 62.534C107.247 62.1899 107.307 61.8478 107.433 61.5272C107.558 61.2067 107.746 60.9141 107.986 60.6663C108.225 60.4186 108.512 60.2205 108.828 60.0836C109.145 59.9467 109.485 59.8736 109.831 59.8687H109.975L126.986 60.8309C127.49 60.9356 127.937 61.2246 128.239 61.6412C128.541 62.0578 128.675 62.5719 128.616 63.0824L128.539 69.1925C128.579 69.7172 128.429 70.2389 128.118 70.6639C127.807 71.0889 127.354 71.3893 126.841 71.5114L109.802 72.9258H109.589Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M109.83 60.2823H109.956L126.966 61.2445C127.671 61.2445 128.25 62.1393 128.24 63.1689L128.172 69.2789C128.172 70.2411 127.536 71.2033 126.812 71.2033L109.763 72.5504H109.589C109.322 72.5539 109.058 72.5037 108.811 72.4028C108.564 72.302 108.339 72.1526 108.152 71.9635C107.947 71.75 107.787 71.498 107.681 71.2221C107.575 70.9461 107.525 70.6519 107.534 70.3566L107.621 62.5819C107.615 62.2862 107.667 61.9922 107.774 61.7166C107.882 61.4409 108.043 61.1892 108.248 60.9756C108.453 60.762 108.699 60.5909 108.97 60.4719C109.242 60.353 109.534 60.2885 109.83 60.2823ZM109.83 59.5414C109.037 59.5565 108.282 59.8835 107.729 60.4511C107.176 61.0187 106.87 61.781 106.878 62.5723L106.782 70.347C106.763 70.7268 106.822 71.1063 106.955 71.4628C107.088 71.8193 107.291 72.1453 107.554 72.4212C107.816 72.6972 108.131 72.9174 108.481 73.0686C108.831 73.2198 109.208 73.2988 109.589 73.301H109.83L126.87 71.9058C127.477 71.7816 128.019 71.4422 128.395 70.9505C128.771 70.4588 128.956 69.8479 128.915 69.2308L128.992 63.1112C129.053 62.5054 128.882 61.8992 128.513 61.414C128.145 60.9287 127.606 60.6001 127.005 60.4939L109.995 59.5317L109.83 59.5414Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M160.881 71.001C160.346 70.9544 159.85 70.7007 159.501 70.2942C159.151 69.8878 158.974 69.3609 159.009 68.8264L159.086 62.7164C159.07 62.1691 159.259 61.6353 159.615 61.219C159.972 60.8028 160.471 60.5339 161.016 60.4648L178.229 59.7432C178.525 59.7425 178.818 59.8019 179.09 59.9177C179.362 60.0335 179.607 60.2033 179.811 60.4167C180.026 60.6353 180.194 60.8942 180.306 61.1784C180.419 61.4625 180.474 61.7662 180.468 62.0717L180.381 68.8842C180.381 69.513 180.133 70.1166 179.691 70.5649C179.248 71.0131 178.647 71.27 178.017 71.2801L160.881 71.001Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M178.239 60.1186C178.481 60.1182 178.72 60.1656 178.944 60.2581C179.168 60.3506 179.371 60.4863 179.541 60.6574C179.722 60.8415 179.864 61.0598 179.958 61.2994C180.052 61.5391 180.098 61.7952 180.091 62.0526L180.014 68.8651C180.011 69.4011 179.798 69.9146 179.418 70.2945C179.039 70.6745 178.525 70.8903 177.988 70.8954L160.891 70.6259C160.454 70.582 160.051 70.369 159.77 70.0326C159.488 69.6962 159.35 69.2633 159.385 68.8266L159.463 62.7166C159.432 62.2553 159.578 61.7996 159.872 61.4422C160.166 61.0847 160.585 60.8523 161.045 60.7921L178.152 60.0705H178.239V60.1186ZM178.239 59.3296H178.123L161.016 60.0512C160.373 60.1165 159.778 60.4212 159.351 60.9046C158.923 61.388 158.695 62.0145 158.71 62.6588L158.643 68.7689C158.622 69.0829 158.663 69.3979 158.764 69.6961C158.865 69.9942 159.024 70.2695 159.232 70.5063C159.44 70.743 159.693 70.9367 159.975 71.0761C160.258 71.2155 160.566 71.2979 160.881 71.3187L177.978 71.5881C178.709 71.5934 179.412 71.3116 179.935 70.8038C180.459 70.296 180.761 69.603 180.776 68.8747L180.853 62.0623C180.865 61.7147 180.807 61.3683 180.681 61.0437C180.556 60.7191 180.367 60.4228 180.125 60.1724C179.883 59.9221 179.593 59.7227 179.272 59.5862C178.952 59.4497 178.607 59.3788 178.258 59.3777L178.239 59.3296Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M140.899 51.8049C140.404 51.8539 139.908 51.7232 139.502 51.4369C139.096 51.1505 138.808 50.7277 138.689 50.2461L137.474 32.0218C137.446 31.6593 137.495 31.2951 137.616 30.9523C137.737 30.6094 137.929 30.2954 138.178 30.0301C138.438 29.7479 138.755 29.5227 139.107 29.3687C139.459 29.2146 139.839 29.1351 140.223 29.1352L148.319 29.0294C148.695 29.0188 149.069 29.088 149.417 29.2323C149.764 29.3766 150.077 29.5927 150.335 29.8665C150.571 30.1251 150.75 30.4297 150.861 30.761C150.972 31.0922 151.013 31.443 150.982 31.7909L149.322 50.0729C149.2 50.5822 148.899 51.0315 148.475 51.34C148.051 51.6486 147.53 51.7963 147.006 51.7568L140.899 51.8049Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M148.367 28.6639V29.4048C148.685 29.4002 149 29.4621 149.292 29.5864C149.585 29.7106 149.848 29.8946 150.065 30.1265C150.269 30.3518 150.423 30.6172 150.518 30.9056C150.612 31.1939 150.645 31.4988 150.615 31.8007L148.946 50.0827C148.888 50.7659 147.981 51.3625 147.016 51.3817L140.908 51.4587C139.944 51.4587 139.114 50.9102 139.075 50.2559L137.84 31.9932C137.82 31.6815 137.863 31.3689 137.967 31.0744C138.072 30.7799 138.235 30.5098 138.448 30.2804C138.675 30.0373 138.95 29.8434 139.255 29.711C139.561 29.5785 139.89 29.5103 140.223 29.5107L148.328 29.3952V28.6543L148.367 28.6639ZM148.328 28.6543L140.223 28.7601C139.798 28.7594 139.377 28.8454 138.987 29.0129C138.596 29.1804 138.244 29.4258 137.952 29.7341C137.66 30.0423 137.435 30.4069 137.289 30.8053C137.144 31.2038 137.082 31.6276 137.107 32.0509L138.323 50.2752C138.435 50.858 138.761 51.3781 139.238 51.7339C139.714 52.0897 140.306 52.2558 140.899 52.1996H140.947L147.016 52.1226C147.624 52.1636 148.226 51.9877 148.716 51.6263C149.206 51.2649 149.55 50.7417 149.689 50.1501L151.358 31.8681C151.404 31.455 151.36 31.0368 151.229 30.6421C151.098 30.2475 150.884 29.8857 150.6 29.5814C150.316 29.2772 149.969 29.0377 149.584 28.8793C149.198 28.721 148.783 28.6475 148.367 28.6639L148.328 28.6543Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M140.899 51.8049C140.404 51.8539 139.908 51.7232 139.502 51.4369C139.096 51.1505 138.808 50.7277 138.689 50.2461L137.474 32.0218C137.446 31.6593 137.495 31.2951 137.616 30.9523C137.737 30.6094 137.929 30.2954 138.178 30.0301C138.438 29.7479 138.755 29.5227 139.107 29.3687C139.459 29.2146 139.839 29.1351 140.223 29.1352L148.319 29.0294C148.695 29.0188 149.069 29.088 149.417 29.2323C149.764 29.3766 150.077 29.5927 150.335 29.8665C150.571 30.1251 150.75 30.4297 150.861 30.761C150.972 31.0922 151.013 31.443 150.982 31.7909L149.322 50.0729C149.2 50.5822 148.899 51.0315 148.475 51.34C148.051 51.6486 147.53 51.7963 147.006 51.7568L140.899 51.8049Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M148.367 28.6639V29.4048C148.685 29.4002 149 29.4621 149.292 29.5864C149.585 29.7106 149.848 29.8946 150.065 30.1265C150.269 30.3518 150.423 30.6172 150.518 30.9056C150.612 31.1939 150.645 31.4988 150.615 31.8007L148.946 50.0827C148.888 50.7659 147.981 51.3625 147.016 51.3817L140.908 51.4587C139.944 51.4587 139.114 50.9102 139.075 50.2559L137.84 31.9932C137.82 31.6815 137.863 31.3689 137.967 31.0744C138.072 30.7799 138.235 30.5098 138.448 30.2804C138.675 30.0373 138.95 29.8434 139.255 29.711C139.561 29.5785 139.89 29.5103 140.223 29.5107L148.328 29.3952V28.6543L148.367 28.6639ZM148.328 28.6543L140.223 28.7601C139.798 28.7594 139.377 28.8454 138.987 29.0129C138.596 29.1804 138.244 29.4258 137.952 29.7341C137.66 30.0423 137.435 30.4069 137.289 30.8053C137.144 31.2038 137.082 31.6276 137.107 32.0509L138.323 50.2752C138.435 50.858 138.761 51.3781 139.238 51.7339C139.714 52.0897 140.306 52.2558 140.899 52.1996H140.947L147.016 52.1226C147.624 52.1636 148.226 51.9877 148.716 51.6263C149.206 51.2649 149.55 50.7417 149.689 50.1501L151.358 31.8681C151.404 31.455 151.36 31.0368 151.229 30.6421C151.098 30.2475 150.884 29.8857 150.6 29.5814C150.316 29.2772 149.969 29.0377 149.584 28.8793C149.198 28.721 148.783 28.6475 148.367 28.6639L148.328 28.6543Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M139.992 102.533C139.647 102.534 139.306 102.461 138.991 102.32C138.677 102.179 138.396 101.973 138.168 101.715C137.873 101.375 137.653 100.976 137.523 100.544C137.393 100.113 137.357 99.6594 137.416 99.2131L139.017 83.2981C139.119 82.7522 139.412 82.2598 139.842 81.9077C140.273 81.5557 140.815 81.3665 141.371 81.3737L147.44 81.2871C147.987 81.2524 148.527 81.4242 148.952 81.7683C149.378 82.1124 149.658 82.6036 149.737 83.1442L150.952 99.0206C150.998 99.4783 150.947 99.9402 150.804 100.377C150.661 100.815 150.429 101.218 150.123 101.561C149.887 101.829 149.598 102.044 149.274 102.193C148.95 102.342 148.598 102.422 148.241 102.427L139.992 102.533Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M147.479 80.912V81.6529C147.924 81.6304 148.361 81.7719 148.708 82.0505C149.055 82.3291 149.288 82.7253 149.36 83.1636L150.586 99.04C150.624 99.4469 150.579 99.8573 150.453 100.246C150.327 100.635 150.123 100.994 149.852 101.301C149.648 101.531 149.399 101.716 149.12 101.845C148.841 101.974 148.539 102.044 148.232 102.052L139.992 102.158C139.698 102.159 139.408 102.099 139.14 101.979C138.872 101.86 138.633 101.684 138.438 101.465C138.181 101.16 137.99 100.805 137.877 100.422C137.764 100.039 137.732 99.6377 137.782 99.2421L139.384 83.3368C139.475 82.8785 139.725 82.467 140.09 82.1748C140.456 81.8825 140.913 81.7284 141.381 81.7395L147.45 81.6529V80.912H147.479ZM147.45 80.912L141.381 80.989C140.729 80.9807 140.095 81.2063 139.596 81.6249C139.096 82.0435 138.764 82.6271 138.66 83.2694L137.049 99.1748C136.967 99.6173 136.981 100.072 137.09 100.509C137.198 100.945 137.399 101.354 137.678 101.707C137.958 102.061 138.31 102.35 138.71 102.557C139.111 102.765 139.551 102.884 140.001 102.908L148.212 102.793C148.675 102.759 149.126 102.631 149.537 102.416C149.948 102.2 150.309 101.902 150.599 101.541C150.889 101.18 151.101 100.762 151.222 100.315C151.342 99.8685 151.369 99.4015 151.3 98.9438L150.074 83.077C149.991 82.4497 149.675 81.8761 149.19 81.4686C148.705 81.061 148.084 80.8488 147.45 80.8735V80.912Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M186.343 111.145C175.083 111.145 153.538 100.176 132.022 82.6729C118.89 71.9635 107.717 60.4747 100.578 50.2849C93.4377 40.0951 91.0931 32.1761 94.2385 28.3369L94.8174 28.8084C91.9229 32.3108 94.2674 39.9893 101.185 49.8519C108.296 59.9936 119.411 71.4439 132.533 82.0956C159.424 103.996 186.295 115.773 192.422 108.258L193.001 108.73C191.621 110.375 189.344 111.145 186.343 111.145Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M197.815 99.1748C199.393 99.1748 200.671 97.8996 200.671 96.3267C200.671 94.7537 199.393 93.4785 197.815 93.4785C196.238 93.4785 194.959 94.7537 194.959 96.3267C194.959 97.8996 196.238 99.1748 197.815 99.1748Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M197.816 93.8439C198.308 93.8439 198.789 93.9895 199.199 94.2623C199.608 94.5351 199.927 94.9228 200.115 95.3764C200.304 95.8301 200.353 96.3292 200.257 96.8108C200.161 97.2923 199.924 97.7347 199.576 98.0818C199.228 98.429 198.784 98.6655 198.301 98.7613C197.818 98.857 197.318 98.8079 196.863 98.62C196.408 98.4321 196.019 98.1139 195.746 97.7057C195.472 97.2974 195.326 96.8174 195.326 96.3264C195.329 95.6688 195.592 95.0389 196.058 94.5739C196.525 94.1088 197.156 93.8465 197.816 93.8439ZM197.816 93.103C197.176 93.1011 196.55 93.2886 196.017 93.6416C195.484 93.9946 195.069 94.4974 194.823 95.0862C194.576 95.6751 194.511 96.3235 194.635 96.9494C194.758 97.5753 195.065 98.1506 195.517 98.6023C195.969 99.0541 196.545 99.362 197.172 99.4872C197.799 99.6124 198.449 99.5491 199.041 99.3054C199.632 99.0617 200.137 98.6486 200.493 98.1183C200.848 97.588 201.038 96.9644 201.038 96.3264C201.031 95.4782 200.688 94.6672 200.085 94.0692C199.482 93.4712 198.666 93.1344 197.816 93.1319V93.103Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M83.8377 71.8766L81.6668 60.7053L70.4648 58.5403L81.6668 56.3754L83.8377 45.2041L86.0086 56.3754L97.2009 58.5403L86.0086 60.7053L83.8377 71.8766ZM74.3821 58.5403L82.2939 60.0703L83.8377 67.97L85.3718 60.0703L93.2836 58.5403L85.3718 57.0104L83.8377 49.1107L82.2939 57.0104L74.3821 58.5403Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M205.303 35.3992L206.827 43.02L206.924 43.5107L207.416 43.6069L215.058 45.0791L207.416 46.5609L206.924 46.6571L206.827 47.1478L205.351 54.7589L203.865 47.1478L203.769 46.6571L203.277 46.5609L195.645 45.0791L203.277 43.6069L203.769 43.5107L203.865 43.02L205.303 35.3992ZM205.303 31.4927L203.084 42.8756L191.679 45.0791L203.084 47.2922L205.303 58.6751L207.512 47.2922L218.927 45.0791L207.512 42.8756L205.303 31.4927Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M196.156 33.9463L195.548 37.0542L192.422 37.6604L195.548 38.2666L196.156 41.3745L196.754 38.2666L199.88 37.6604L196.754 37.0542L196.156 33.9463Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M197.844 68.894L198.365 71.5497L201.028 72.0693L198.365 72.5793L197.844 75.235L197.333 72.5793L194.67 72.0693L197.333 71.5497L197.844 68.894Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M197.844 77.1884L197.015 72.9258L192.711 72.0983L197.015 71.2612L197.844 66.9697L198.684 71.2612L202.987 72.0983L198.684 72.9258L197.844 77.1884ZM196.629 72.0694L197.651 72.2619L197.844 73.2818L198.047 72.2619L199.07 72.0694L198.047 71.8674L197.844 70.8474L197.651 71.8674L196.629 72.0694Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M20.8037 42.0195C23.6011 40.8664 26.6652 40.5131 29.6527 40.9992C32.6401 41.4852 35.4327 42.7915 37.7176 44.7714C39.9388 46.8228 41.5438 49.4501 42.3532 52.3593C43.1626 55.2685 43.1444 58.345 42.3006 61.2444C45.0989 61.8532 47.7472 63.0127 50.0905 64.6551C52.4337 66.2975 54.4248 68.3897 55.9469 70.8092C57.4691 73.2287 58.4918 75.9268 58.9551 78.7454C59.4184 81.5641 59.3131 84.4466 58.6452 87.2241",fill:"white"}),(0,Bt.jsx)("path",{d:"M59.0023 87.3011L58.24 87.1279C58.8957 84.4018 59.0001 81.5727 58.5471 78.8058C58.0942 76.039 57.0928 73.39 55.6017 71.0134C54.1106 68.6368 52.1596 66.5804 49.8626 64.9642C47.5656 63.348 44.9686 62.2045 42.2235 61.6005L41.8376 61.5139L41.963 61.129C42.7812 58.2922 42.7941 55.2846 42.0003 52.4408C41.2065 49.5971 39.6371 47.0288 37.4668 45.0216C35.227 43.1026 32.4986 41.8388 29.5833 41.3701C26.668 40.9014 23.6796 41.246 20.9485 42.3659L20.6108 41.6827C23.4781 40.4739 26.6294 40.0972 29.702 40.596C32.7745 41.0947 35.6433 42.4487 37.9782 44.502C40.2199 46.5404 41.8559 49.1547 42.7068 52.0586C43.5577 54.9625 43.5908 58.044 42.8024 60.9654C45.6004 61.6333 48.239 62.8444 50.5676 64.5295C52.8961 66.2146 54.8689 68.3407 56.3733 70.7863C57.8777 73.232 58.8841 75.9492 59.3352 78.7829C59.7863 81.6166 59.6732 84.5111 59.0023 87.3011Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M144.382 4.64697H143.639V18.6568H144.382V4.64697Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M163.023 21.6304L168.658 11.6812L163.023 21.6304Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M168.311 11.4963L162.688 21.4458L163.335 21.8096L168.959 11.8601L168.311 11.4963Z",fill:"black"}),(0,Bt.jsx)("rect",{x:"231.566",y:"48.0718",width:"27.4404",height:"33.023",fill:"url(#pattern1_1253_33753)"}),(0,Bt.jsx)("path",{d:"M259.952 41.7307C256.962 41.9964 254.071 42.9299 251.493 44.462C248.915 45.9942 246.715 48.0856 245.058 50.5811C243.401 53.0767 242.329 55.9123 241.92 58.8776C241.512 61.8429 241.779 64.8618 242.7 67.7104C234.692 64.9488 224.889 69.9138 222.39 77.9771C214.768 77.0149 207.175 84.1353 207.724 91.7849L274.685 92.6508L273.161 41.2207L259.952 41.7307Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M207.358 91.833C207.318 89.91 207.676 87.9994 208.411 86.221C209.146 84.4425 210.241 82.8345 211.627 81.4976C213.014 80.1608 214.663 79.1239 216.47 78.4519C218.277 77.7799 220.204 77.4872 222.13 77.5923C223.591 73.7004 226.441 70.4831 230.134 68.5566C233.826 66.6302 238.102 66.1302 242.141 67.1523C241.321 64.2786 241.147 61.2601 241.631 58.3117C242.115 55.3633 243.245 52.5576 244.94 50.0943C246.635 47.631 248.854 45.5708 251.439 44.0603C254.024 42.5498 256.911 41.6263 259.894 41.3555L259.952 42.0964C257.017 42.36 254.18 43.2789 251.65 44.785C249.12 46.2911 246.962 48.3457 245.337 50.7966C243.711 53.2474 242.66 56.0317 242.26 58.943C241.861 61.8542 242.123 64.8179 243.029 67.6142L243.26 68.3166L242.556 68.076C238.593 66.894 234.327 67.2766 230.64 69.1448C226.952 71.0129 224.127 74.2235 222.747 78.1119L222.661 78.4102H222.342C220.507 78.2723 218.663 78.5173 216.928 79.1295C215.193 79.7418 213.605 80.7079 212.265 81.9663C210.925 83.2247 209.863 84.7477 209.146 86.4382C208.429 88.1287 208.073 89.9496 208.101 91.7849L207.358 91.833Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M95.3359 43.6788C99.7776 34.1125 106.948 26.0745 115.942 20.5813C124.935 15.0881 135.347 12.3865 145.86 12.8179C156.374 13.2494 166.517 16.7946 175.008 23.0052C183.498 29.2159 189.954 37.8131 193.559 47.7096C197.164 57.6061 197.757 68.3575 195.262 78.6041C192.766 88.8508 187.296 98.1325 179.541 105.275C171.787 112.419 162.097 117.102 151.697 118.734C141.297 120.366 130.654 118.872 121.114 114.443L121.431 113.76C130.837 118.127 141.329 119.599 151.583 117.991C161.836 116.382 171.389 111.764 179.034 104.722C186.679 97.6801 192.072 88.5294 194.532 78.4273C196.992 68.3253 196.408 57.7257 192.854 47.9688C189.299 38.2119 182.935 29.7361 174.564 23.6131C166.194 17.49 156.193 13.9949 145.828 13.5695C135.463 13.1441 125.198 15.8077 116.332 21.2234C107.465 26.639 100.396 34.5636 96.0166 43.9949L95.3359 43.6788Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M197.304 76.0818C200.906 76.0818 203.827 73.1696 203.827 69.5773C203.827 65.9849 200.906 63.0728 197.304 63.0728C193.702 63.0728 190.782 65.9849 190.782 69.5773C190.782 73.1696 193.702 76.0818 197.304 76.0818Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M197.285 76.4474C195.948 76.4442 194.642 76.0535 193.524 75.3229C192.407 74.5923 191.526 73.5532 190.99 72.3324C190.454 71.1116 190.286 69.7617 190.506 68.4472C190.726 67.1327 191.324 65.9103 192.228 64.929C193.132 63.9476 194.303 63.2497 195.598 62.9203C196.893 62.5908 198.256 62.6441 199.521 63.0735C200.786 63.5029 201.899 64.29 202.723 65.3388C203.547 66.3877 204.048 67.653 204.164 68.9806C204.244 69.88 204.144 70.7861 203.872 71.647C203.599 72.508 203.159 73.3069 202.577 73.9978C201.994 74.6888 201.28 75.2583 200.477 75.6737C199.673 76.0891 198.795 76.3422 197.893 76.4185C197.693 76.4377 197.491 76.4474 197.285 76.4474ZM197.285 63.4479C197.105 63.4383 196.924 63.4383 196.744 63.4479C195.533 63.5514 194.38 64.0107 193.43 64.7679C192.481 65.5251 191.778 66.5461 191.41 67.7017C191.043 68.8574 191.027 70.0958 191.365 71.2603C191.704 72.4248 192.381 73.4631 193.311 74.2439C194.241 75.0247 195.382 75.5128 196.59 75.6467C197.799 75.7805 199.02 75.5539 200.099 74.9957C201.178 74.4374 202.067 73.5725 202.653 72.5104C203.239 71.4483 203.497 70.2366 203.392 69.0287C203.264 67.5015 202.565 66.0781 201.434 65.0409C200.302 64.0036 198.822 63.4281 197.285 63.4287V63.4479Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M203.797 69.0095C204.164 73.3202 198.848 76.7071 197.864 76.0528C197.256 75.6679 198.539 73.9456 198.471 70.5394C198.385 66.017 196.021 63.7173 196.735 63.1015C197.68 62.2836 203.44 64.718 203.797 69.0095Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M198.144 76.4955C197.962 76.4999 197.782 76.4567 197.623 76.3705C197.121 76.0433 197.285 75.4082 197.517 74.5423C198.485 71.3472 198.188 67.9033 196.687 64.9202C196.243 63.9002 195.953 63.217 196.455 62.7744C196.957 62.3318 198.472 62.7167 199.041 62.9476C201.405 63.9098 203.865 66.1229 204.126 68.9422C204.406 72.2137 201.685 74.7732 200.025 75.7739C199.463 76.158 198.819 76.4052 198.144 76.4955ZM197.275 63.3133C197.162 63.3005 197.047 63.3241 196.947 63.3806C196.87 63.5153 197.16 64.1793 197.372 64.6604C198.252 66.4968 198.742 68.4953 198.809 70.5298C198.831 71.9494 198.636 73.3641 198.23 74.7251C198.117 75.0602 198.055 75.4106 198.047 75.7643C198.671 75.7199 199.266 75.4884 199.755 75.1003C201.685 73.8687 203.614 71.5209 203.383 69.048C203.142 66.1614 200.363 64.314 198.761 63.6693C198.305 63.4605 197.815 63.3366 197.314 63.3036L197.275 63.3133Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M138.301 86.7591L137.863 87.3579L156.758 101.088L157.195 100.489L138.301 86.7591Z",fill:"black"}),(0,Bt.jsx)("rect",{x:"157.089",y:"75.3794",width:"52.7967",height:"51.1896",fill:"url(#pattern2_1253_33753)"}),(0,Bt.jsx)("path",{d:"M37.6984 94.3154C41.0754 96.8364 44.9734 99.0398 49.2284 99.1264C53.4834 99.213 58.0375 96.5188 58.6646 92.391C59.0699 89.7737 57.8831 87.2046 56.7349 84.8087C51.7659 74.6382 46.1505 63.746 35.8555 58.4923C32.4496 56.7603 27.9823 55.8558 24.9431 58.1459C22.2897 60.1377 21.7301 63.7941 21.8169 67.056C22.0237 72.9796 23.5916 78.7767 26.4 84.0005C28.7639 88.571 33.5399 91.2074 37.6984 94.3154Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M60.1699 91.6502C64.724 87.0508 72.52 85.2707 78.9749 87.3683C85.4297 89.466 90.1382 95.3162 90.3215 101.465C96.622 95.5471 107.882 94.5849 115.321 99.319C122.76 104.053 125.442 113.896 121.274 121.161",fill:"white"}),(0,Bt.jsx)("path",{d:"M121.621 121.344L120.974 120.969C125.065 113.849 122.451 104.284 115.185 99.6368C107.92 94.9893 96.8532 95.913 90.6299 101.734L90.0317 102.302V101.475C89.8001 95.4415 85.2557 89.7933 78.8877 87.7246C72.5197 85.6558 64.9938 87.359 60.4687 91.9198L59.938 91.3906C64.6079 86.6662 72.4811 84.8668 79.1192 87.0222C85.4969 89.0909 90.1378 94.6333 90.6975 100.666C97.2198 95.0951 108.2 94.3157 115.571 99.0113C123.184 103.861 125.905 113.887 121.621 121.344Z",fill:"black"})]}),(0,Bt.jsxs)("defs",{children:[(0,Bt.jsx)("pattern",{id:"pattern0_1253_33753",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Bt.jsx)("use",{xlinkHref:"#image0_1253_33753",transform:"scale(0.00574713 0.00581395)"})}),(0,Bt.jsx)("pattern",{id:"pattern1_1253_33753",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Bt.jsx)("use",{xlinkHref:"#image1_1253_33753",transform:"scale(0.00421941 0.0034965)"})}),(0,Bt.jsx)("pattern",{id:"pattern2_1253_33753",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Bt.jsx)("use",{xlinkHref:"#image2_1253_33753",transform:"scale(0.00347222 0.00357143)"})}),(0,Bt.jsx)("clipPath",{id:"clip0_1253_33753",children:(0,Bt.jsx)("rect",{width:"262.44",height:"130.861",fill:"white",transform:"translate(16.7515 0.759766)"})}),(0,Bt.jsx)("image",{id:"image0_1253_33753",width:"174",height:"172",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACsCAYAAADixJflAAAACXBIWXMAAFJGAABSRgFONRUWAAASaklEQVR4Xu2c65LlNgiE5VTe/5WdHykSphdo0MW30Ve1NSMLYRm12jpnNznO82ybezmO479FOM/ziGI3//IXC9hsnsgW7kPYTlvj2EeFzRvZjrt5JVu4m1eyhbt5Jb9CuMdxnPorp837+RXC3XyPzwv3tzrt198y++uwDyPC/eJ3xH+zgE0fd/817pdF29p23KWgeI/jOL8qpKv5/Bl3Nr1nR29Mb77fzhZugapjnud5RPEsnwh6C/tP9hm3SI+IPHHK8cHqE1j/b+VVZ1zmUFm+/sHlN/Cao8Ks12Z2vJw9s/Ff5MnP/xrhznZHlo/19/BUEbyRV51xZ4gpm2O2yPQbIzuHjc+tZ9zftoj7bD2PWxxXu9nbxFsRnxWbGZdB13BWzjdx+xn3iUWPPpTIfNlRQos2I/beD0LZ+vXmfyq3CFe+mM8W/UrY4rJ+ZFY8Ci+7gZBq/FO5Rbir0B+A2AJ5MWwzWZsuuld1g1Zjs/ESl41/OreccVfCBItYZ+zs4jLBen0RK8/8I3mfdqb+lONWPgR5DlQV/iwy8/Virpgzm9/V3Pp12Ep6HKJnjCbzIWwFo/POcMU9KnzKcTVPKK7HCoesnHd77i/5s/dYzauEm/nQNQO2ONYcvGt4XX+AxHgdU3lONl9N5v5v4BVHBXxNVT/AzH6FZ/JFMey1m8k/QjV/Nf4KXvGtghRMnKhSwNnOUs1nzVe3M8+D92TxEdX5azJzvYpHHhWi4uKiV+Ij9OsZX9XSloXTG8nLx86EOp8lTG9c9nk8Rsc/hUsct/KqYWLAayheKyZzX6HqSJEL6VzWhsPfMzDX8+5p9Wep1O8qLnNcy1lmMlpcHC/z9TaEJ8QsMh4d3Mql3VvXsbrJ5Xrk6G/hEsdtjTuFkIkRcME9MY04lMYTd2u1PK3FosvUKrNZqnN6E5cId3XRrPxaVBm8HFashXW/yPVay4nPg+X+OpcIdxWRozBR6COA5diZcfoni9egU3u5cI49m7ES39p7XPqSM261eBUi55E/rfHzYGaRmLitPFa7Ig5P5NmaZp9NqMTeyVLHzRa3l6yjWAvfC7sfOjLGW21PzNZcMb93LQKdXK7rdjbXXSwVbtUdeugtsCcKWTwUBjqXJ6CKGKyNZM0r+4zRJvCoxM/Y+LNYKlxh9GFHXaAyTi9iZsNZIsf+1mzReuO92MpzCDi2+nxI71yymyPLJWfcEXoLpdEisfrweuZe5/nn96HRNWs8tq1Y9vy6H+9rxct172eGSqzQMybiEsetgDvzPHOf+jP97FpmvMzHi4+cxevTc49imiISeEYkPQ7ozSc7vrVabMRjHRfdg4lKC8oSKcvBQGGxXKyfoZ9H2l6c1y/P7PXhtQo943vGeBznw/5ZY2axEBxj5cjEYBzDmp+3aXS/NSeJi5w1u2ky6Hn0og1jNFeVW4TLxJlZoCgmEm4k2mi8149Y+bPt3ue9mzvm9kjhZqgWC+M9Z/PmFol1Jt78sB+JnHolM9ayhyVnXLbI8oCzHpTdD/ujYuu5Hcef/6tRL95rIyye3c+K0Wjhs7porPjM+PO851+bTXfcqhNGsFxWYb2FxmuaO5y1B9lMeK21vEMfh3/GxjGsvmyDrWS6467YfVKgjNPoeN2H89LXdH4rX08bYfGsjXjPo9s4xnrOKL7SfzXTHXcVbHdrd/acuupWTyUSUVQn7GM11Vg1rYyfza3CZUcBRL/memALN9JmsHiWP9NujdeU9WcYXYcZXCbcTNGz9I6tCO2NZGoRCTcr6t76z2T6GZeBDxoVsIqMw/HH4f+VMZtPdWHYeJavNx7j5Jnld/mpnVlfz4rWIrNe+h5ZovjbHLcah8KzhGiNrRbrrUS1iDjh7SfXvHhNdk11LIvTRPkvc9zzzH3fZ/VbTurlwXswB6vOpxrPmBWvaxPVKaqNdy2iGl/Ffd7zIscdIXJS7RiZRf2N6JrpGkVOmzGJ1VhvVWG54/acbTRalN4CSD/eS7eZc7LFYfFsPMLGV9tIdRNj/Vj+HiR/Vg/RHKY5rrc7Rndu5LZyLVuI3wrWyKojxuv+nnWzGNWChjpuZoeIaKM4T9Qs93ny/6oA23KtFZgdP3s+K8br2kb90s6s11VQx83skkwMwna7hXaAioNsfuKZiNePdfXGZ9d+BtRxZTLRpHomHOWVna0L5r22ULTMaUbbyGg866+2GbLpPfdk+SLRe8axwqmp41bocV5B71jMY+14FOrswnwVq57YL79nnTaKGdFEBHXcKpnJ9ex0wSu8jB91pCrsfle3Ed1vjfX6vTcYoutuxbLxvSxx3GiybAda/ZEDW8Xe+Fg1xT7Wz+rP4rJEbj7Vcb1dZ5EVrfyuc2Mbx1qweVX7WZsxezzrx1pZ9cX6Y829fFeA95vquDNgZ6YodsNBgVr9Xl9E1oUZ2fipjjsD3OHHYf8rJm+c10ZY/GgbqfZX2wiL99pRjSPQofG6N66XWxw3c/bJukJPkX876LpatHjNoxJbIZt3iePKrs2KCuPlDObtYD2mWjTmPAjrH4XlXz1fHY/11uuH62ONn4G37sgSx83sZhEde/VLPz5IdlNsckRrwWAii+jdBEscN0KLVtq6D3ebJXwNcyRWjGo/i2ewfCz/zHhdazQIa33wuvxBJ8a1it7AbP4eSxzXo3d3eQ/c6xCbf7FqWFmX1n4KPrNOVn7vrRpxueP2UnmoHlh+1o+w+JnOabURK94SlOeMGdDNvT5EnNvrtxh2XLabZtBbyE0/ei2rjoiaWKGRaY47a0IebAfPvj/Lx+7P2lWq+Vg8a7f2033Z/TTioDKmx1EZw46bIdpxUWGinbtZg6zDzA9SK/irtbFzzSi6UFGxPIHPbldh41k/MhrPxlvxnplgPK6Pp5kVesKcR2tt6FNlhqyrCtGu38wnEqcXmxH3TC1h3r908pk30li72uvD35mjzG4jT+sfbSNePP70qN5vFMl/yRmXwXbpPuuu5T8xQF2l1rrmTJjRWrJ1rjDtW4VRvOLpglUetuoE1XjG7PGsjVTiveOaXBfxyu8Z42DzG+Vxjtvaz4e2dmmmcJv1ZN6O2b4qUx1XdmMkLKtfuymK1rpuUXEYi2r81bDnm9WWtbD+WPG4ntF6eUL33rKhjs6k42bOOGxHZZ014jz3GXc1mbVDtJDxmgZ1xN6ont5SjssmLVg704qRn1Ze5gwIi2ftKiwfy1+NZ7B8rI3XvPnI2uo/VrwnVi1YvF9GN0jKcTM7wMMTPQpX8mbuld1Imz6stcC+LJn17CHluLgrrHOJh7e7oh1o5fFgO76aj8HyV9vI7HjWRlC0LF4zQ+hZUo6rqe6gKN4687KCZTfMpg8ULvZZ69MrWLbWESnH1chNsjcTR7Xi9XUpihdrjR3pR5gzVfMxWD52/2ob0f265p6YtGgt2P1mU3bcFaArRztxO+58UJS4Bl7NmdiFyKV7BV923FWg047ucOZAbDxSjWeM5mPj2fNKG3/qflwP7DuOn98WtACWv8p0x80+iIA73btmxW/GsWqu+7y1qJxrq5rIMN1xo0JYWA8ju1Hnis5eOD7qr7ZHYfnZ/Vj86HgkirdEjGtlwfoZlpaWOW5rdpFYP8IceTNGVNPz5H9JVHHTGWsvTHNccUW2AzMT1uidzYqYgcWP9iNVx2OwfCx/pl+vH66ldz+9NvoNibD7ayIdTXPcym6KBLjPt9fj1ZmtoxfLzsWZvIxpjpuZTHRWRax+zwUsWD9SjUeqzse4YrxVR70+sl5yzXJSby20EemcmXllmOa4GTKuzGK2685DxOm1PbJrx9ZyhCHHzTxkFdmV7EGrDjcazxjNz+IRFs/6EUtokiOzHlfT5biZnZSJscCjhLc5su6w8Ylq6L3t2FpmYmYw5LgeI6JlTlTd/SyW9SNsfgiLHx2PsHjd1vWWukb52b2zMR4VI+py3AzonBmsg7/OY+WsPOzmf3Q9pY0xs8+sbHxFM0sct7WcM8pEj+Pnd8A6Rl+T3yVermF8C5gdz8YjLL6an8Vb4/W10fxV2HjWLyxz3AyWw+rr0a7c9CObH69ZsdUzsPRl3ZO5sMcyx23tfydlcdpV8eG9HMwJRttVRvOtHi9t/MmQtcnGC7iejGr+ZY7LdpLXH+1wb0dni7OJ65URT+ZtiPdgebPurFkm3Nb4hI4j/uoEHx7zRYK1ileJrzI6vgq7XyQeXXfPDDCfRTV+lB9zXSnciMzOFXqEuvkTS6y6jXEMb2OsQt9v6Rl3BlgQr+1tBNZGRvuR0ftX21m8cdV81fhR/lvvpzmu5ZqWOL247bp5rHpVhTg6vpfbHPc8439VZLX1GPld/2HjLarxyGj8aJvBxmN9W8t/G9RabT6SM5s7Ypnjjpx/MmO9h7dcZGODtdLCjfqF6O1okVnXLMscd2Ri6KIacYOMc3j9mTajOp71j8Lye/PFWmc/KyDeelkxLC7DcsedMUnNdtMcKMRMbGu2K1pG4cVexVLHzTxM5Tylwd3LHCIzFw2Ln90/Ox6pjtf9XuxMB62yzHGzZM5Qlnt4LrH5tzbsjbfCLb31mpVfU3JcmcioULTLersWPyBki2A5S+Qe1TbC4u9ut2a/1XTdM289HRPF601jtWdRctwZu7SSI3pgT+jVmC9hicQSEo7rrZ0XI9fZfUcoOa7epSzWozLWupdVFB0b5bf6Mo5VgeVb1cafVmwGbwzW16sl3p+tSS8lx10NOw5YYrXikC87LdagUkNvrNf/JEqO+ySqRc06lweLn91GvHg8e1qxFp5jRv1P4lWO65E5S33NdbVwvT4k46hZR66u0Wwe5bjnwHnIWwS9GdBRKg5T7a+2kSjeEi17fozRv2vHlrqw+d3NZY7LisyQonp98ru1IHg94onOzJyREY0/T/6tgzXGi7mKyx2356HxDIdO0tpPB0WntfLp8ZEzI8w5q8/HnJXlQ4fsmU8mprU/51PZPLO5zHFHyBYo4x7Yz9waY1ajN1/mGhK9mTBOfs/EI6xueH02lzvuKMyRPLF6DpwpLroa9lljsv0S48VlNiPGR/1C9EwVeuo5g9sdN7Monugy7pLJ7+G5M4qpgidE6xnZ3L26YL+OYTlnkFmXUR7juLKgliCybheJKSqkjMuKERfGci99TffJWCte+lsRPf/s+B5hZfP35K7yNwu4ikxBIrzx2SJW78/ctzofjGfOGMVnwM1Xce8ncPtRQTP7FVNZfBRgb7wn6ChfJBZvnJW/t346XzSe9V/JY44KreXc8Tj8/y1TBUtU7P6n8YoXLAdkIrB+l3Z2PG6YHnATtPb/HDAu6r+SRwk3AxZP/7RiPaF5YtVCQHFZ98E8Vr5IgGyzWHj3yArLE2V2LncKVnidcJFMEZnoKljOFLU9RChs8yHajTPzH5lfT99VTBFuthiz0A7jLaAl1siBdNtzT31NxniOnXW/zD30eOxjZObnwcSbybGKoQ9nung9D+EtfhUrT0Yo0eJHc8rkzsZ5NfTeEFHNsW9WfZ/IFMe9E+Z88jtzCKvPc0orFxNHtR+dsXo/ienZgG9gyHFHmeUIs/O05rubJ2S85sW2lnNcj+hZ8X5Z0bL7VmKv4ta/gJhVhNV5rOsobAsdU8l9HH3fl+rNxcbL3KyfUbzVdwe3CjdDz27PjtGiisYwIXj93kJHTix9Xs5MDTIxrfnOb8FqcDWPP+POKJYWA17D/F77OOyvoaL5YawXE7WvJHLbyrykVixuhMcLd7QAKFrMx/JH8VnHYm5tXa8IZZSqMLOw2o5w64ez1YhDZo8OHjqPNd5z75Xccc8so/XO8GnhfpknOPWdvOKosPKV01r8Srvi/j086Wx8B4//VkHwXtOzYK/e0fv3vj6jcdkz9hd5vHArizwCuw/rF7wNgGdti2jzsPuzfg07s7+Bxwv3CqLF611YSxRRLibq2Vx9v9ls4XbAXt8jTlYR+2/ms98q9J4pM6zMvcnxecddIaxMTn1eZR/8ZjPi+G/hs47bmv9hZ7VjeufH3ntV5luJfTOP/x53hPP0/ypz9aLOPqtWx1fj38anHdfjbleqvsrvnu8T+fwZF2HnTat/5veePV9Djd7zi3z6qBBhCUhfw/4ewUXMzvfb+NVHhch1rQ90FZferOVXCncm+/x5D7/2qDALEesW7bVsx928ku24L2B/kPuTLdyXcBzP/Aftd7GFq3iyMPYZ+iefOuOOfC01MnZzPZ9x3C2838VnHHd/n/q7+Ixwv8TehJzPHBXuRj71z/6ANzvfV9jCncRMZzzVvyOemfdLbOFOYoUzbtH6/APD6y10HOFUugAAAABJRU5ErkJggg=="}),(0,Bt.jsx)("image",{id:"image1_1253_33753",width:"237",height:"286",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO0AAAEeCAYAAABmPJKMAAAACXBIWXMAAF0yAABdMgFowdHnAAAgAElEQVR4Xu2c4ZLtqAqFza15/1fO/THFNE0DC5SYZG++qlN9DIhGhZWkz8xxnudommqO4zjHGOM8zwP5Njn+hxya7+M4jpOSbpWqOM0PnbSNynmex0rCkcK20tbTSduorCQs0Ql7DUe/0zbNu2ilbZqX0UnbNC+jk7ZpXkYn7QdBH48qPiI1z6WT9sPYnbD9O939/IMcmvew+1csVyTZcRzn7vt4G620zTRecpECRxM76rdKZk5PpZO2mYZUUUverFpm/N+edKv04/GXM/MP+6NJk4k5Rsyff2yL+H8irbRfzOzBn+njES0CY6yPbT0ZvIn+Z4xfzozSVsGT9Y7x30or7Y1kFOYqNOW5el78Y1Ana55W2pt4uspcNb+r4n4TrbQ38fQDe/X8ZuN/wq9sVmmlbVSeqojWvJ463ytopW1U6F13dwJEVVTOa/c876SV9oVEPuJElScSy6NS+bQ+mTizv8J6G620Hw46xMiOQP2RXbKioBnfN9P/IuplRB8fCa4+SMlmQP3R+By6Zin2DGjMN9KPx18EJVD0MTLjNwZOCjl+NP4q0fm9hU7aLyNzgC2VQ8rpqRtPWMsnQrR/1O9N9DvtgzkO/XeSdM1KKu+R8jztL8I0ntY/e+Atf+0ReAatvzVvfs/W/b2JTtoX4CWuBbJHkAc+Q2T82dgaqJBJon5PpD9EvRR02JFdA71nyutRv1nQozy/Lh+5EVVzvIN+p21KkAlW8S5ZEeMTaaVtICh50Du0ZYuw2v8TaaW9EfT4dzUoGTU/Du8TUdrZ+0XzRHbukx37ibTS3kzFIbIOJL2feoc6+i6oJahl9/z5eLsSLHJ/b6KT9ma8Dz8R0IGUdjke2b15aNc9xfMSPDNf5EusrF+GiKJbrPSV9K98buQ8/V95HEf8d4peoljj8OuW4mpzQIeOFwK6JudgFQ7NrvXXoLlqiR/t79lXQGNn6KR9KNEDZB1GTfU0X5kw1rjR+SBofEuBNXvFgUfzR/c/xs/6zcxH249ZOmkfysrmzhwsrrh0LZs4kUNtHV7U1tCU1QLFQ/ZV0Lpk6K/HDyGbIJVYiaTNyUqQ6Jwj/TUfLb6cX3YNK9VvJ620D2PHAZLq5KkAUsDsfK3+fE58Pig+t8+omUz2N9BK+yAild9SF6mEmjJG1AjNASklik+gRLHup5Kq2NEngyo6aR+Kd6C0RJQ/ed9om8fj9izW/KT9qvFXkfNFoPutppP2oViKxQ+05mMlgIzD0ZRijHzSWHHG0Oen+XjzjdxbpL93X5H10pD3lembpf9xxUOxKjZveweDbNHD4ykEXY8cesJKUj6OliCR2BEi96P1I5BdkvVfoZO2kMyhjpCN46mYtEeTn+B9kcJpfhwrYSMqqdnIzq+jtbCQc4mszW46aR+MdnAyhwn5eokjlUpLtOOwf0cqr3sJrF0n5Hy4jV+TcbT7QWNx+P1l+u2gk7aI2cpugeJph2lFabwk0xImG99Ci2Mpqbwm7TIxUR/uI8fkfS2fu+jf0xZBB2ZlY+lwyIThPlz5hoNUSKRI9Hd5H7xvBC9+FBoTFSbetsbxxrdU1FLnzDpcSX89vpjM45WXrBlkglqHzTuwT8ZLJM1mraW23t41tF4re5ahlfZiSOmQHzpgEeQ4WkzvwEeUTXK3P0pItP6ReJriWk8CGtmnFUQr7cVEk3G1YkcOpuaDDvUT8QqPZpPrGd0TC2sdNd8x1vdW0kp7MbJKe378ZwSr4ltjSh+KIW0RkH9EwTy716Y5y2TQ+ljjovl4UFz+J9IH+URppd1MRdXNVnrJ25Q1g7cOniq/iVbam4geGOt9SFNNBI+VUTatLUF2BBov2+ag9XsbrbQPR1PmWbX+ZIUlzjP2jq6tJb8umV3zK2ilfTj8gHCV5O9SlhpzogorQf6oPwLFQ21k49fkull9PLL+Y9QXy1bah6ElF6ry0k4fpqoPy1vg9x5JssjjM3riifapoJX2QVCyIb8ImUPrkVE6zb7qn+3Pr/PkijyNUD/eh/4uVTq6vsg+QyutQnRDqolU5kx1/2YsNeQ2IrJmkT67zksrrYAnbGQzM6Bqzys5AikMUqzqdhYUb7U9Rq4IevG0vnydM/uGzkCEVlpBZKNnicS2fKyNjsRpfhdh/nfNTm0Zo4KKMVppBdnKKamopGPgyk9/tPGO4++7Mbof5I/6S7L+EjR+ts3R1qeCzN6vjN9KW0ymkq76IrVocqyoLdqfTCxEK20x2c2J+pOfprj09xkFWfVH7Wqy8fn68PXi1zT/MX6STnuSGQJtf7R2Ba20N2JVYutQoMrdKuujraHX9vrSNc2XiOwviqHRSnsjWvXXfLw2QQcB+aNDstu+6r/Sn55M+B5obfLV4pGN/vDrkf2doZX2oVhVnT8Ct7LmOc+8Yo7hq2NWOb0CEKGVdiNWRdawKjr/6flnDwTyX40vQf2z4yF/WfS4na+rtT+aP7dlFDXjq9FKeyHe+9LMpmn9IwWgsdGUV9rp79H9k0o6o+werbQboc2a3TSvX1RprDYi6y9B41e3JZa/9aiK4llUx9Nopb2QbGVGftK3qcFSU2mLgJ6GsvE0WmkvgFdb+oP6REGxUIVH/VdB46G2BNklKD61rb3JjifR4s6cA+/bRyttgkjFjPhIIh8+tKrdrCHX2LJZaI/C1uOxBt9XzUZ/P8/f/266lTaJt8h8EyKbRvAqzJOTb1z0MCC7BPkju6Tav9oe8ackkYlsFVe6nimuyE5o822lTWJVxxmFJTIbGPVtMHyfLGXT0BJTxkJnIHteuH8rbRJrgaMLr1XwMX73p2rPr8uDhBQEtVdB8ZAdgeafja/15/uBkk4bL3sW5P7xfUZw/1baTchElYfEsln2Vtw90F5oBTOjlhlfRCvtJryN4lVUJjNtNqr86CBU21fbiKw/As1Hrr1MTG1/Msz202ilvQHr/UlubKvpPfA9oTa3o9cbibW/s7TSPpyIQlzZliB7ltXxd7W1bxFZ9a0qwq20m7FUll+TvppfU4emrGif6Lq8pqlqRLWjiT9GK+12ZHVGm0UHxqrqkf6eXXK1vwT1R3YJWh8rXnR9NT/t24O8psXm/hlaaSfwKucMVrzI9WYvcr+RIqPz0Uq7EV5RkS/Bqy8nWuWjNo2svyQztyeA5htp82tIKa2fCCuuRyvtJNEKSY+20XciCarkTT18X9BTFbJfQSvtJJEKSRtKictt1LbUVxJRhpV2NSj+qh2B7ldra3tKbTQfZK+klfZCtCrsKadXybX+TR1IRSM+uxK3lfYCuHrK6i0rOtpomawRxfDaCOSP7JJVf9Qf+UfbVjG0xpf7y/2spyf+5CVtGVppi8huehSk1s01nKf9JdhT1+g3iJVz0UpbzMpmENqhsOJGlcRqZ0H9kb0adH+R+XCllImJ1l/CY8lvGVKRZ2mlLUT74GT50d+5f/T9qJV2P5F95Wh7lI1h0UpbCNqUaFJKIgcgE28GNB5qI1D/6ngSzZ//sfpZXKGwRCvtBrR3I+vDUvSdqLmeSKJZ771X0kq7CauSW37WTwtkR6D+yI7I9l9VSmTPtsewvwpb/lfRSruR2cfjMX5/GGn1rYf2Q3sC8l5PVvZ0llbaC6ioyDIGV2YeI6IQnr3aH5GNh+wS5I/G5+usYfmvFFPvvGi00hajVV7r/VVysK/PVhzN3qwh9wWtLfJH+8yZUepW2mK8hfcOg7XxWgX3Nhq1Jcgf9Zdk+yM7YnW8q/0RfJ+RL9FKu4FINfUUmq4hBWjm0PYk8tQj+2QSb4VW2g2cJ/59n+fDq3EkFu8TtWf9ESg+iofsEhTfasvr9H4Z7c/bu4pqK+1DQeq864B8Ol6yeYVjpk8VrbQbsDaYqrpsy0pPPpl3WQTqv9qW7PZHdmrTms6Mp/3x+lTRSrsBK9nkgUF+lm8zxzmpshHQk9IKrbQXIVV0DH3zshV+jJ+PJBXxkF1SHR/FQ20J8pfFkNrypwd/IkK+kXhZWmmDZCtnxB/5aEnfqltLZC8laN+iPrO00ibJbgDyz9qlUvzt8RukPBJkryY7HvKP2Pkfz5fQiifqj3yiSq3RSpuAP05ZHzAq0DZTjjO74d9Odr+yihk9F1E/jVbaBHyBZfJWQ/Gtao0UFB0G5J/tj+zIH4HiReN7CufZovGjIKX2aKWdZKVSjvGj2qtxxriucHwafL2pPYb++Cv7Rskq8wyttJPMVEqq5DJhZ/EOCGpLsvbd/jvbtK5yfyLvoXQu0P2u0Eq7ichme3aO986LxvlW0Pqix2JvzXfTSrsJ2mBeiSuqMj9UpOCaPQryR3ZE9fxQf2TneHvB94+ucUWOqHAVrbQvBKmC5/PNeOsjbV6yy+8QO95jOa20D8aq5BmVRsqE+kuq/ZFdkpn/zPpY1zRk8u6ilfZmrCodUVPupx2cVtt/Oc+/X+k9pUXsVlZJK+2FZN5zkILcnZRoPtnDi/xR/Ex/9K6PYmnM9KmilfZCIhVZU0rZz1KFiBrvTOynoK0Zt42BvwZH9q6CmUfsVtoNeBtynr/fu+R7K/fz+qJNR0qF2hLkv9pfgvyjbStJvPZVhW82bivtw9AqPHr/8uyzB+OtnOfff/UUXR9vXVFRmWE2fietwswjy9WgOSG75qsROfQr/pKsv4T6o0TMrA8h4676VdFJK5itfpVEDh06hJZ9JUGejJf8V+7j7HmZ7TdGv9P+IbuAO0AJisgcEGRHoP7SvtI+z7+/q9b8ryxU6H4RM/1baW/Ce6TiSWolHEpkeVC9vlce6ivJzH8mOa4G7aFFK20AWtzI4YhACevFiyiOt9lchVCyRw5NZD7DocLO78UbH60N5zj+/i69er8tMvPktNIGyDxeRsjEQ76aKlsxPfW1fJ5AZo3G0J8q+HXtHjN90HyuppU2SOVGSdWo8tXgSiLVSPOPKFmkLUF2iVd4uBLSUwuft6aUmflqa56d/5W00m6ADhbym8FTDevQZhSZJ8FdaHOP+mhrofWJ8BS17aTdAEqSLDKeFZ+KRXZ85O8lNWpLVuY3xk//aNJGx/CojDVDJ+3FVFdnKyG02NFkobbso8W3YqLk5H5j/I2jFZyITbNrVO1DVZwVviJp71poUoBIZY74rMLno/3kfvR3y65d9/rzNvex4qD10OzWfCQo9tPpD1EXI1Vhxuc4/P+dibQhXzqsMqH4YZbJJX0iCau1JTyeZ5fwOXI//lNbh8h8vPV7Al+TtHKTd8DHRGNX2PlBk226JuNYh5/btLEj85E/eR+tLftbY2uJrvW3+kXOgmV/QkJ/xeNxBOsA8I3W+u3AO5zcTjbkr7HaZwy9UEi7ZSP4vWhrr405DLRYmT6e3fO5mq9RWkRkA+6qsFJ1pNJoqhVREw75Rg60huyvzcfqS2TWNxKPj2sVO6mc0blGfK7iH+RwN7sqW6bCzqLdCxoX9ZM+kTXylNlCFooxfivYcdjvylqcyDw1ZDHwfCXcP3LPGtkxV+9X4/FKW3mzHlaFRdU6izw4MzFln9kDSGTiafO31k7687Y2hoxlxdUUkq5LXws0RhXe/c7y+HfaXUq7A6SY1v2h5I7EiPpaSmq1ZR8NlKh/e/igOWTWFrGqlKv9NR6ftJXQ4b9iITVQsll+u+ZnkZ2Plthaf27n7SGIrJuckzZHvt8z46D+d/H4d9pqkCpUgw68tPH5RYpMJAGydms+FjKuTCSOF8/z9wqGZZMFgkPXUUJG7n83X5W0KAGegKzs0flG7F4CR/tbCR3tH/ElvISJzt+bL0rI6Dx389GPx5lDNUv1GNrBlodLO3Cev4YsCvyaxBpL6+slNvez4Pef7YuI3OsbePzX47dQcQisZDvPv/9qidrSxvtwu6dEnp37ePYxfj9yWj4IPhbvE+1fgXcfT+AjHo+tCqpV6xW8Si0VxmKl2vPkQPdlJQ7qx5FzlfPNzD8zLiczBiITa3a+O/iIpPXIbBThJaA8+Nn4XuJEY2kFw7JJuD1SaGi+NIbnbxUyNA6yZ4nM9c18fNKOkdtE/mikKctqBeb9qw8rgWJm5lB5v54dzYMTLVKZmJyZPjv5iHfa88TvZWPgAzTGz4ZZsaxxuBrxa/wn9Zd9JRQrMt8xYjEtqK82nrxX6cvvz5qvF5/byUfaV1hZlyezJWmzh7CSbMKMEffTsBJ3F6vjWYkVXRN0/2h+yD4GLtKZ+b6RLUk7xloiVBBVxwy8vxbfUm106LQ+iFX/K/ujeyUf/pOI7BFXfM9vlTvFh7PtnfbuGz2O3+83aD7S7h06iu0lrtXHehLg16NzQYkxRuyAy7WSyAST9yH9rDa6zkFzQvuJsPbhiWxJ2isXAW0mQT5cGb2+1kGswktY67BXzieyZgQvMJnEi+4NESkUnn1lfSL90Rx2cZwv/hdRM9VR68MT2fLlWGNZcSw/TrQP8vN80XrN9pNk/YlskleSWd+72fZOu8Jx2O8R2UXO+J/n33dP1D9SsTk8PvWL9PfWxAOpGbfvPMjyXmbvz8OLJ+/9yWxN2pmNQAudrc48XvV8LLscR0tUr79nl7Ej9ux6UZ9Mv1my65GlOt4dbHs83lG16XBFDqY3n4r+9HepvDJZvXH4/Xj9USxkt4iOb/XPwtc9Gz/r/2a2J+0YNQvrHSR+zUNutKzCKKEsv2w1R8lGPtr80D0je5RIIcpSmWgV83kL2x6PzxP/bjKDFoeuzSYR78f/rvVH9yHvVfpr6xGd5xi/7zWyrsiO0OavXZ8hc98WFfN4C1t+5bMTa/M8FeWPZZEk4v4amk3rw5WG/m7NxfPbwUzh8qhIVMnKfN7ENqW9ksgByCaZhZf8GlFFQnaCVNXz54mN7PRH8+NE5xeFx6uO/else6e9gpn3GE8xvMOr+VhjRlQwEifjx0F9rPuMzCM7h6h/E+f1SotURyJ9z9P/qKK1I2NG1GuMn/G5P2+jcVaJxo/cMxG992aORySt94gWUb8o2jhamx9Q/ig5Asjk83ylD5of2TUfbw0zVMRAVM31Sp48x1uTFi0KJVDEDx1+gpJR/qS/82SV6oLmMUa+kHjKzucg51t5qOQ9a3Ej43G7tnZasRkLUP/VOG/j9q/HaMGRnUOHzmprico3Xh5Y6/DKax7I37NrBUDzp3lHC4bnF5mvN69If/q7jOPZLNB4q2TWdRe3Ji1aDGTnyISjdnTRpQ9PBC2hs22J5j/GzyHU2t598HiWn1wLlCQr92PZI3sRBY25whXzrWLp6zE6JJVkx/ISInPtTqzE1pBzjiQnio3s3Ce6L806Je+0Vx9ySyGOw/4oEzlEkUNpgfyzdq1tFRTtnnl/LZY2H7puzRXZm3soUdox8CFdhVf0rKp4fd+CvBd0bRd3jv2tLCntVZVYUxNPLby2ZNUf2ZG/JNp/9glCa9M1r4AhO3HVGWhslpT2CjKVO+obOXxvQ1NZzy7XB60dsjf3saS0GTKVm/8c46ev1l/6SbsEKRs6oKt2CRrfalvKi9ry+kzCevvRXM8WpdUedaUtqpRWkp6n/6X1kw9YplBEElJeQ4VxZu+aeX4p7ZUVdHXDzvPvexNdi8RGCrS7Lcnakb+GVuSsgoriR/2IqF+D+aW0u6qiVRRmx+Rqrd3DFUXoqayugeY/uy/NNWx7p5XwSh1VyzH+vhtHExbFR0qWbVeDxru6baHtR7RANHNseaeVzFTxyEHQYkX6fRKZYmU9GkdBis7jzex5o3OL0s6oK/1dUwT6Iw/hceDfa67aJUixrm5HihRXQ+qfvU8CzUeC7A3mFqWdQR4ymche+xvha+ApXkSRK4gobcSnKVTaK95lKJ52sLjC8j7ZhL1bKbLjS6z+VjJ6/ta6kS2zrhJrvzQ/z94UKa3czKqFn4m7crA+Ee3JRNozTy2RPZBE1Xx1nG+hRGlRBZWKGUUqq+criSqMBfLP9kf2VX9PQaWd71dEkdH+ekQTlnwift9OidIitAoaqapow6U9WxS+hfPMq+dx/P2Ih/ZDA40jyfp/I2mlnX23Qcqwwsx8JGh+2fki/2z8FX+ZgFpCcpvmL33+9tQh9UTzlWT9v4m00lZWQkspPSXIHJgmRnZ9vYRfPRMNJq20tCmZzbHUmVdgmcBWheZtZK9oS5Bdcnf8SNsrxHKNvYS1rkUKQRMnrbRZosos/ayqrcXrQ5FDWzdvLSOFBMWKxGhipJU2S3SzqKLzys83ndRaxpOHDI0XUZ6RAPmj+He0+ZMPt2vrK+0DwP35nnp9mhyXK20WLQmtih05RI1NZC01H7qmtbUEbcWt5VKlpYo+k1y8QkeqddaebUuy/neD5ovaEbw+M/EancuUNvvYyolU5plC0PzFUk2J9Tgd7YN8mzilSsuVlW+O3GiecJYSrz5mIeW4uv9usvPjyeo91nr2MfA4xHnip6UmxnGeZyoZPCJxMu9OdF1T7VbaGuRa8mSO+PM+kqi6Rs5N80Op0o6BK2pWESSr/atB80HzQ3ZJNr4F3ye0X/yPZtf6kW12fgjrCe0b+O+dNloVJd6j0yxIaZsa5NryffTUDynj7FnKgObwyfyntDNVkRJ2Z1IhpUFtCbJLquNX2zNtq+BqRRMpG7JfBVqfT2Tp63Gm2kUqt1fRyX7HwfhGrLVGe+T5NjUsvdOSOkc2x6ro0UcpeYgyiqK1q0Hx0XxW+0uQv9b2rqF9ln5ofpwuxDmWlFaCEpDbs1Xc6tPUwNdeK47W3qG99nyaOZaU1sJKLlm5+TVtY6WN+6CDcLc9i4yH2pKsXfO3nnwO5d03O54GjdfFOMdWpfXQKrk8OFbfZh/W/kgiShvxaf5SqrSWYo7hf11ECeltbnazkX/WjvyzZOMj/8o2/d3bZ+5Lf6y95z5ajEanVGk9rMSTm6ltIErqZi+ZJGs1radUaSNYlVyruJFkzR4EpCxZquNVg+ajzV/+8fwRWf8Gk1La3VVTvufST9SvmSfypJPZ+91n5htYUlqUQOjLoLRTW/ahhOXXsm0JsiNQ/9X57GrLn2P87CsvmvwP97P20BqnWSeltGPEqy6qsCjhpapSDNSvyaGtM9o7Au1PZaLyAoJ8P5200moV1/LL2HlFRn01kLKsshpvdX7IH8X32nJPZXumUKL5ZqmO92bSSluBrJpWm1+TfZtarKS4SjmztNL+kFbaK8ioK1IQCfJH/RHZ/mh8FA/5r7T5uyz98ZJ5pYBm+2fOyKezXWkjldt7b85sdINBa3ue/r9QiybS7Htz85cppeWVGPlK0CGRPmhDM0ryRKrni+Jp8bUE4spWqXKR+TQ+U0q7WiUj/b1KPlMsGh+pfpaPZ/eQ+5lV6uaHKaUdI77YliKj/qi6o4odiZ+xZ9uIrL8E9V+xa2tvFU9tb+kafyKTMdH+NjbHGAOq3gqeqkYUVwMpQhNDqh6/jgptdF8tn2aeX/+PKM8xyqyyaqwkZ3a8iLJ4duQvWfWvaFuJR8pI1zVV9ObfKnot5UqbVU/t3Uar/FqfZh1LVbmd/p7d2+Ya/mdV0lm0OJb6kj+q2rI/8l9pr5KNtzqfFX+uppqd4OufHW+MLrLVTH09zoKUU6M3+lpoD9DeeI/QVh9O1K+JM/31eBZr4zQ1lSqsqTJqS5BdcnV8SXY8hBVPU05tLDT+qr3Js6S09MEiWk29R6xsjGYdK4Ejj8LafkX3kBMZq/nNstJmFl1TSm6jv1NMLUHJDynSansVFA/Zs6D78dravshiLKE+K/fRBXiOaaX1EipCVHUJLambdSLrbymppdD8mkfWv/mXaaXllTZbcemxmrelD4qHlCTLav8saLzs/SF/q22tPdofjexZiPpHx/8WppV2BWsTtM2zqnFv5DznGfsOYSmrbGf2bYbMK9g38EtpvXfJSniFRRuRtaO2pNq+2kag/ige2b31P47f/17Y6lOxfxEi43wTv5S2sjpqRONH/K4uLJ8KX09tnb21j+zLjG+T48877UxVyyRQNvYYP5U/8v6FlGe1jUD9V+Nl7QhvfjPfGgjal6h/E2f5nfaqikqPZ/R3btPGyRSOb0ZLyoyi8n3RuOo8ND9Mfz2WVGwQV1NNAWTl9vwlSPFW21my8ZC/17YUD123bPKaRtSvybOstFVEKjRS0/PE//eFb0UWO+RjsaLCTQ1lSjuLppR0Db3LrrQlq/YsKB6aP2ojvP6RwjdbWJt1blVarWqvbHor7W/4enhJLfdB9okoc+RJqanhEqW11FHDqvjn+fdfXHl/xog9nu22P6Wd2RMPueboelNPudLKg8EPDW9b1yTIx1OBikP6VrR15te9tZFrvaqiaA+bHOVKm9mYSGVGh8xTGhRbI9sH+WftqC2xFM/yl0h/rS/5ZOI21zGltKhyWvbI46skOhb3aYX9wXry4bbsnmTZNc63MK2052k/flpVObtpVnyZqHy86AFBdsmqP+qP/DNtWgP0WCv3id57Z4ue1dc6D80cS0o7Bj6MXhKhOJYdJaZ1cGYP41uQhcvz4X7a2qB9laC9bOr4Bzlo7NoUbxx50Liv1S9yqLmvjO+1JciexYqnJaH0R/t1HP++tqD5eokZ6d/UMKW0GaIHZ4aV6v4JB8xKWM9P85XFLPIEk13vpo7pd9oo51n/PnMcf//NMb/m9aOfSI0tNIW5q83vh9u5T+Z+qK+1llfsZZPncqWdwar4KCnHiD0uen6fgHWv1n1a9k7QZ3K50nrMJIumDJX+iIwSRtoS5B9t071m7BXr01zPNqXV1BMpqnVd2rzY/DrqT9dniskVyHl7CWXdm+Xj+TXPZpvSaonj+WoHyjpknqJE4TGuUBw0P0/xrPlEihB/P5UxR/NKtivtGPqB8dSE25DqoHGifnKcSLGZhe6L3x9dt/qgpwM5by2pM4mL5kXzl9eberYqracYaMO1g0lo1yPx6O9ef1IqGS8T32vLn9xO85I/LX/LJrH2wQMVEJrvlcWt+ZdtSusRqeIRuz2J5ioAAAOnSURBVExsKzG9AhCxcyLzlcomY8sYaG7adVlYIoWQgwqftwfofppatimtB1V+a7ORnaCDimLxAy39sm0OT05tDl5iWCqF7nmMv0ps/bRARZGuW+vKr0Xm26zxCKVdJXLoNDXw1BcdPi8e72sljJfQVn+e4Fqbrs0kf6vle5j6t8dPxTtodJiRKliHnoOSnY+jjcvjcLvm590T+WtzkH5/e/+mk/Q9POLxeAV+IL3DSTZ0gLN2mWiWyh2H/vhrJRv5e/OJJppVMDTf5vmUJi06ZIiV/qQ4nt2yRX1kgpE/mjNPbOQr/TXk2LPxI77N8yh7PF49ABGVlAcTJSonMr+IzxhzymUpsOarJZSmyPyaXCMEmm/zXEo/RCGFQFgHT1MGaxzv8KL+Ebt3HfVHoMSzipfXZ5XVPW3qKU3aq+CHFR1Uzy7VxbNnY2eRsVBsZJdEkw3FRYWk2U/pO+1VnOfffxdsHSLvcHn9pN16fKw4vF6ioPieClNc66fG7HjNfbxCaXeiJVT00CPV4kR9o0rnzZHwEt6zN8/iFUp7NVylVpQ8YifQONxvjFhSjvF7/Ej8jF/zDFpph6161jtwxF/6RpNC+l/5mN68k7Jf+byd87R/b6klSOQaUsdIQntF5OlE7q/J87GPx/TIGznodKiiCRI9hFE/bSztWjTeE4isezPH65I2m4geFYmJ5qO9L0b8tfGP499f40TnhkBzX6Fqjs1fXvdOa71PZvysd1XNbiWPvKb5ao+HKLbFar/sPTbP5XVKqz3KWn4RVUJ2hNXfSpbK8ZBKkjJ7PsjePI/XKe0TQEot/SJPBDPJg9QS2Zt30l+PF/GSIZIo57n2X9tI5aV4kaeM5p3clrQrCnM3lXOuSlhiJV7zDm59PH5z4kZYvb/s423Wv3kntyvtnawmlcfs/c32G+Oa+2iex21fj+mda+WgHUfN7xkrYkgyX3k1eH8ZayZe8zncprSr7Dy4WUWWj6k80VAMK1kl9LHJsq/Sj9rP5bVJy7+SIl+Llb6VZBKE7tvzqQTNp9nPrR+iPplMQckk7S6iTwbNfjppH0B1glTHa57Fax+PP4lOribDbV+Pm2vpQvC59ONxIf1Y2uyglfYCdn7dbb6PfqcN8BQFfeJX5mY/rbQJkIKeBf/KC3Fl7OYddNImeELCoMLRfD79IappXka/0z6cfo9tJF/1ePzm/0KmE7YhvippiTcm7hvn3FxDPx4/nFbYRvKVStuJ0LyZ/wPMQ+6v4WidOwAAAABJRU5ErkJggg=="}),(0,Bt.jsx)("image",{id:"image2_1253_33753",width:"288",height:"280",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASAAAAEYCAYAAAD8qitAAAAACXBIWXMAADurAAA7qwFWF2lyAAAMCUlEQVR4Xu3c627jOBKAUWYx7//K2R8DYqqrSYpybJfknAM0HFsXJ9OrD0U5vV/f398NoML/jnYAeBUBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkB+lzfRztANQH6XF9HO0A1Afosph5uRYA+S556vpsocWECdD85KLPAfLd/g/S12AdKCdD95CmnP4+R6fGJRIjLEaD7WE06rc2DIzxclgDdx+xTrdHroynJp2JcjgDdy+5U05dgR/tBKQG6plk4vtJjFI+J8cn3iHwyxmUI0DWtppfZp2D5mBipPBFZjnEJAnRdu/d84oSzmox2P76HtxGg+xgFY7bs6tviki3eiBYfLkGArm1nahktu0bH9T95aQZlBKjWmRvC+beavwev5f1nwco3s3e/B3gqAaoTAzKTt81uMuftPT75/Pl+0ZkAwtMJUJ08fRyFIMYlvz6KUQ7MKERHAYSX+udoB14mh+Foohktv/q20eTTzZZZcQrK20WJtzAB1cnTRwxADk+WjxtFJr+eg7UTPngpAbqG0dQSJ5PV8mskTzUxOvm8Jh/KCNA1HE05rf0Zi/513mc11cT4jOTtpiBe7uv72//OisXJZGcCGe03+kvMQcnLsTwRRaOlGzydCej1Rhf4TjCi/PpoifU1+Do+j1NTPj7u21+f7QNPYwKqcTTFjKaOGJv4vMtT1NFkc5ZJiKczAb1Xjkh+LQfiO/yJk0zfP4pRGZ1ztN9o+8wj0YIlAXqv0cWeX8vLp/44Cs/q2G40bcVtwkIZAXqd0YX9yMX+lR6jOBn153laGk1bj/rp8fAHAXqdnWln5Oj+0Hd67PK0lJdxO+8NbyVAr3E0Kcwikrf3r2NU4nIs7zt6fvQ6lBGg18jLntW0EveZLZlm8Rjtu1qy/URc6sFT+Bj+uR5Z6qyOGYWr4i/s7M8EW/xr+OfavVBjdEZRecYN5GfFavdngtMswV5jdeGPwjJaksWAHE1Wo23iw+UJ0HOt7uP0r/OnVHHayfdxsnzu2X47+xx59DjYJkDn5Jhko4t2NxIxLjFk8X1Gk1J8zK/nr3eJD28hQOeMojEz2zZ6fbTEyrHp+60cLdV2/PR42CZA5xwFZ3Y/pz9+tfEFnpdl3SxWo6kobh85Csvse4OX8SnYOasLNE8qcUI6mly6R86xe+7VfsJDCRPQWp42ji72eC8mTjyj5dWZ87b2uki86rxwSIDWcjzyRLKaWPKyahahHKJ8fHYUjPz9rhxth5cSoD+dWeb0izdGI0dpdH8mnmt132UWrvwe2e5kJT6UE6A/zS7KVUhmE9LqtRisUVCOIrKzZFsRHy5BgOaOpoc4AcXn8fW4/yxYfd98/CpKZ5ZZ0WrigrcToL/Nlj7dKDD9eZxs4uvdLC5xv6PpJk9UR/t3wsPl+Nfw5/Vp5WjpNAvVaEnWX2/t73M84y9IfLgkAfpXjMkoLCsxSN3qXPm1o7+A0bmPjonO/CzwVpZg/zq6pzJabuXn+f5KXibFJVp8LS7LHnnvFfHh0kxAczuTUP+Pl5dPs+XXOx1971Dut05A3+lxtG11f2fkKEbZ0dS1s23mkWPg7X7DBDS655Lv0eTHvq0NXl9Z/ccc3bs5ez/nyM73CJfxmyag0USSL9i8Ld6fyVPT6J7O6LjRYzeKz6MRefQ4KPPJAdpZSo32WYUlTkr5uNHzuH8+7ywYj0xE4sMtffr/HcdqidXC16Mw9H1XF3cO0SgeOWBHr58lPtzWJ09Ao9DMQvEV/vRJJU9FK3H/M5PNapra8cgxcBmfHKDW5hfoKC5xiZSXTUdxiVZB2Zmmdu18L3Bpnxqg0VJndoHHuMQpKJpNL/FxNjXF/fJS72x0OvHhI3xSgEb3ceLXRxdtnICi0bJtdM6jiScH6ZH49EDCR7h7gGbRyWYXez4+hyUHJi7LutGEFSOzM03tEB4+zp0+BctLnNb+i8Lo4hzdu5lFIj5fGU00UX/PRyMzs/O9we3caQKaXYRHr+cJJS9j4vPVMi5OM6vlWI7P6Ps7E5Qz+8KtfOI/xZhNRCOzHz5PVqvJKe6f/XQa2v054JbuMgHtXsR5CTS6VxO/ztNL/zoen997NSXlYOx+3yPiw8e7S4B2LsYYn/w4WxblfVeTTHzsX4/eY+d7PfKMc8Dl3XEJtrvEyvvFQIzOMYpU3G/3P9Qobrt2fi74GHeZgKKjcIwmkdGEk5dZeQmV92uDfbIcHPGBhTt9DN/l6SVfuHkC2d3nGUuoUbS61TT0k/eE27rjEmzXLAJZDk9eOp1dRp0lPvxad1iC5SXN7HneNpp+8r55mppNMEdLr77PWY8cAx/jDkuwvNwaxSEb3Yc5WoaNJqH4ODp+9D67xIdf72oT0OoiPlpS5SllNQH1eKzeLwdiNi09QnygXfseUJxM8rQy2i8bBSNPLXnaie832v+nhAeCq0xAO5NIDlH0Hf60jcc+LeUpaBafZ4TjGeeAj3KVAJ29OFdLr7h9tCTrYtBGS6s8Ff3E2Z8PfoUrBGg0zbQ2Xh7N5FjkiKy+ni3LZtNW3LbjzL7wq1whQLMAREcTSJyCRhNR3rdbnffRbZH4wMIVAtTaOjo5KHG6iX/i9jwRfS2ex8fWfj7xdI8cA7/KlT8F63owRlNSjMnoeXy9tb/P86ij84gPbLjCLyLOopG3HV3URzE6isYZs/McfY9AUL0Ei5HIS6nW/r6gd6aOPO3EJdsriQ+cVBWgHoY8oeQJZhSNWUjiOWfnn1ndE9pxdn+gvf8e0GqZNJp+Rsuz2f2ceJ6d5dbOPjvEBx707gloFJs8rexc0DEeeQk3C8towvqpne8VmKi4CT2LTbxXE7cfLaVGU9A7vPO94CO9ewJq7e+JZbW9P49xivvNpqZRHGbv9wjxgSeomIBaG98Lam2+tIrH5O15yZXPHc2WZ7uEB56oYgJayXHoMcnTTg5JjNVqGlrF6cijxwETVQGaTSIxNLMbymeXUrOJ6gzxgReoWoK19l9cZvdxWtren3eziK2WcI8QH3iRygC1No9L3j5absXno2np0eBE4gMvVLUEG5ld7LOpJ0ZnNg39hPjAi737N6F3/CQozwqS+MAbXGkCam0ejd0g/DQ+8SY48GJXC1APwOqTq9E9oNm+ZwgPvNnVApT1ieboZnV+/WxMzu4PPMFVA/QV/uRpaMeZKejMeYEnumqAsu82D9GZ2GTiA4XuEKBRJPJ9n0f85FjgCap/EfERz/hlQ/GBC7jDBNTaeuI5ExMfs8OF3CVArc1/v2d3ChIeuJg7Bai1xyPy6HHAC90tQK2dj8nZ/YE3uWOAWtuPyu5+QIG7Bqi147gcbQeK3TlArc0jIz5wA3cPUGt/xsbH7HAjd/xFxBHRgRv6hAkIuCkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFDm/6Ca61DXukTNAAAAAElFTkSuQmCC"})]})]}),B2=()=>(0,Bt.jsxs)("svg",{width:"128",height:"72",viewBox:"0 0 128 72",fill:"none",children:[(0,Bt.jsx)("path",{d:"M18.5195 29.4828C18.8495 25.5328 23.6695 22.5128 27.4895 23.6428C27.0695 21.4328 27.3195 19.1528 28.1995 17.0828C29.0795 15.0128 30.5495 13.2528 32.4295 12.0228C34.3495 10.8328 40.5095 8.27275 47.0095 11.7728C53.3895 15.2128 55.0095 20.2728 55.8495 27.1728C57.1095 27.2028 59.6295 27.7228 59.6295 29.5228L47.2095 29.4828C44.4495 29.5728 37.6895 29.5228 34.9295 29.4828C29.4595 29.4528 23.9995 29.4828 18.5295 29.4828H18.5195Z",fill:"#F1F3F3"}),(0,Bt.jsx)("path",{d:"M59.6198 29.5228C59.6198 29.5228 48.4598 29.4328 47.1998 29.4828M59.6198 29.5228C59.6198 27.7228 57.0998 27.2028 55.8398 27.1728C54.9998 20.2728 53.3898 15.2128 46.9998 11.7728C40.4998 8.27275 34.3498 10.8328 32.4198 12.0228C30.5398 13.2528 29.0698 15.0228 28.1898 17.0828C27.3098 19.1528 27.0598 21.4328 27.4798 23.6428C23.6598 22.5228 18.8398 25.5328 18.5098 29.4828C23.9798 29.4828 29.4398 29.4528 34.9098 29.4828C37.6698 29.5228 44.4298 29.5728 47.1898 29.4828M59.6098 29.5228L47.1898 29.4828",stroke:"#69727D",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsxs)("g",{clipPath:"url(#clip0_2163_56876)",children:[(0,Bt.jsx)("path",{d:"M93.73 18.7002V53.5702C89.5242 52.1891 85.0076 52.0606 80.73 53.2002C78.5076 53.7922 76.4667 54.9261 74.79 56.5002H39V18.7002H93.73Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M74.8102 57.3004H39.0002C38.788 57.3004 38.5845 57.2161 38.4345 57.0661C38.2845 56.916 38.2002 56.7126 38.2002 56.5004V18.7004C38.2002 18.4882 38.2845 18.2847 38.4345 18.1347C38.5845 17.9847 38.788 17.9004 39.0002 17.9004H93.7302C93.9424 17.9004 94.1459 17.9847 94.2959 18.1347C94.4459 18.2847 94.5302 18.4882 94.5302 18.7004V53.5704C94.5286 53.6973 94.4971 53.8221 94.4384 53.9346C94.3797 54.0471 94.2954 54.1443 94.1922 54.2182C94.0891 54.2922 93.97 54.3409 93.8446 54.3604C93.7192 54.3798 93.5909 54.3696 93.4702 54.3304C89.4324 53.0196 85.1016 52.905 81.0002 54.0004C78.9122 54.5576 76.9927 55.6186 75.4102 57.0904C75.3298 57.1645 75.2351 57.2214 75.1319 57.2575C75.0288 57.2937 74.9192 57.3082 74.8102 57.3004ZM39.8102 55.7004H74.4902C76.2099 54.1603 78.2639 53.0409 80.4902 52.4304C84.5517 51.3404 88.8287 51.3404 92.8902 52.4304V19.4304H39.7802L39.8102 55.7004Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M93.8802 18.6201H38.9502V20.4901H93.8802V18.6201Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M93.8802 21.2804H39.0002C38.788 21.2804 38.5845 21.1961 38.4345 21.0461C38.2845 20.896 38.2002 20.6925 38.2002 20.4804V18.6204C38.2002 18.5153 38.2209 18.4113 38.2611 18.3142C38.3013 18.2172 38.3602 18.129 38.4345 18.0547C38.5088 17.9804 38.597 17.9215 38.694 17.8813C38.7911 17.8411 38.8951 17.8204 39.0002 17.8204H93.8802C93.9856 17.819 94.0903 17.8388 94.1879 17.8785C94.2856 17.9183 94.3743 17.9771 94.4489 18.0517C94.5234 18.1263 94.5823 18.215 94.622 18.3126C94.6618 18.4103 94.6815 18.5149 94.6802 18.6204V20.4804C94.6802 20.6925 94.5959 20.896 94.4459 21.0461C94.2959 21.1961 94.0924 21.2804 93.8802 21.2804ZM39.7502 19.6804H93.0802V19.4204H39.7502V19.6804Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M72.6302 61.4002C71.9302 57.7502 75.3702 53.9402 80.7502 52.4002C86.1302 50.8602 93.0502 51.6902 97.0902 54.4002C96.5902 51.1002 100.47 47.7502 105.68 46.9802C110.89 46.2102 116.79 48.1202 118.74 51.2102",fill:"#F1F3F3"}),(0,Bt.jsx)("path",{d:"M72.6299 62.2002C72.4436 62.1993 72.2633 62.1341 72.1193 62.0157C71.9754 61.8973 71.8768 61.7329 71.8399 61.5502C71.0699 57.4702 74.7199 53.2902 80.5299 51.6302C85.7888 50.1955 91.3868 50.6812 96.3199 53.0002C96.4864 52.0827 96.8705 51.2186 97.44 50.4802C99.06 48.2902 102.1 46.6802 105.56 46.1702C111.08 45.3502 117.3 47.4102 119.42 50.7602C119.534 50.9392 119.572 51.1562 119.526 51.3635C119.48 51.5707 119.354 51.7512 119.175 51.8652C118.996 51.9793 118.779 52.0175 118.572 51.9716C118.364 51.9256 118.184 51.7992 118.07 51.6202C116.29 48.8002 110.67 47.0302 105.79 47.7502C103.055 48.0525 100.532 49.3692 98.7199 51.4402C98.398 51.8299 98.1578 52.2804 98.0135 52.7649C97.8692 53.2493 97.8238 53.7579 97.8799 54.2602C97.9034 54.4131 97.8821 54.5696 97.8184 54.7106C97.7548 54.8516 97.6517 54.9711 97.5215 55.0547C97.3914 55.1383 97.2398 55.1824 97.0851 55.1816C96.9304 55.1808 96.7792 55.1352 96.65 55.0502C92.83 52.5102 86.0899 51.7002 80.9999 53.1702C76.0799 54.5802 72.8399 58.0502 73.4499 61.2502C73.4879 61.4584 73.4419 61.6731 73.322 61.8474C73.202 62.0217 73.0179 62.1413 72.8099 62.1802L72.6299 62.2002Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M65.8097 50.5295C72.785 50.5295 78.4397 44.8749 78.4397 37.8995C78.4397 30.9242 72.785 25.2695 65.8097 25.2695C58.8343 25.2695 53.1797 30.9242 53.1797 37.8995C53.1797 44.8749 58.8343 50.5295 65.8097 50.5295Z",fill:"#F1F3F3"}),(0,Bt.jsx)("path",{d:"M69.4014 43.1305L60.8666 34.5991C60.6368 34.3694 60.5077 34.0578 60.5076 33.7329C60.5076 33.4079 60.6366 33.0963 60.8663 32.8665C61.096 32.6367 61.4076 32.5075 61.7325 32.5075C62.0574 32.5074 62.3691 32.6364 62.5989 32.8661L71.1337 41.3975C71.3635 41.6272 71.4926 41.9388 71.4927 42.2638C71.4927 42.5887 71.3637 42.9003 71.134 43.1301C70.9043 43.36 70.5927 43.4891 70.2678 43.4892C69.9429 43.4892 69.6312 43.3602 69.4014 43.1305Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M60.8678 43.1325C60.638 42.9028 60.5089 42.5912 60.5088 42.2663C60.5087 41.9414 60.6377 41.6297 60.8675 41.3999L69.3555 32.9085C69.5853 32.6787 69.8969 32.5495 70.2218 32.5495C70.5467 32.5494 70.8583 32.6784 71.0881 32.9081C71.318 33.1378 71.4471 33.4494 71.4472 33.7744C71.4472 34.0993 71.3182 34.4109 71.0885 34.6407L62.5463 43.1863C62.3123 43.3928 62.0083 43.5022 61.6964 43.4922C61.3844 43.4822 61.0881 43.3536 60.8678 43.1325Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M29.0171 51.8439C29.8697 51.1185 30.928 50.6783 32.0436 50.5851C33.1591 50.4918 34.2758 50.7502 35.2371 51.3239C37.1468 52.5326 38.6648 54.2695 39.607 56.3239C40.487 58.0039 41.2571 59.8439 42.7071 61.0539C44.1571 62.2639 46.6071 62.5139 47.7771 61.0539C48.9471 59.5939 48.1671 57.2539 47.1371 55.6039C44.8468 51.9399 41.6461 48.9322 37.8471 46.8739C36.5935 46.1508 35.217 45.666 33.7871 45.4439C31.8605 45.3394 29.932 45.6077 28.1071 46.2339L21.9771 47.8939",fill:"#F1F3F3"}),(0,Bt.jsx)("path",{d:"M45.4869 62.7033C44.3331 62.6922 43.2179 62.2863 42.3269 61.5533C41.1067 60.3979 40.1396 59.0017 39.4869 57.4533C39.3469 57.1833 39.2169 56.9033 39.0669 56.6333C38.2031 54.6717 36.7716 53.0138 34.9569 51.8733C33.3269 50.9833 30.9569 50.8733 29.4669 52.2933C29.3459 52.4094 29.1846 52.4742 29.0169 52.4742C28.8492 52.4742 28.6879 52.4094 28.5669 52.2933C28.4514 52.1739 28.3869 52.0143 28.3869 51.8483C28.3869 51.6822 28.4514 51.5226 28.5669 51.4033C30.4669 49.5033 33.5669 49.6433 35.5669 50.7633C37.6186 52.0187 39.2456 53.8617 40.2369 56.0533C40.3769 56.3233 40.5269 56.6032 40.6669 56.8932C41.2451 58.2805 42.0991 59.5359 43.1769 60.5833C43.9292 61.2042 44.8949 61.5058 45.8669 61.4232C46.1538 61.401 46.433 61.3203 46.6875 61.1862C46.942 61.0521 47.1664 60.8673 47.3469 60.6432C48.4869 59.1732 47.2569 56.8532 46.6669 55.9132C44.4433 52.339 41.3234 49.4087 37.6169 47.4132C36.4344 46.7193 35.1316 46.2546 33.7769 46.0433C31.9347 45.9573 30.0926 46.2185 28.3469 46.8133L22.2069 48.4832C22.0398 48.5336 21.8596 48.5156 21.7058 48.4331C21.552 48.3506 21.4373 48.2103 21.3869 48.0433C21.3365 47.8762 21.3546 47.6959 21.4371 47.5421C21.5196 47.3883 21.6598 47.2736 21.8269 47.2233L27.9669 45.5633C29.8676 44.9204 31.8734 44.6455 33.8769 44.7533C35.3869 44.9911 36.8408 45.5028 38.1669 46.2633C42.0726 48.3792 45.3552 51.4824 47.6869 55.2633C49.2169 57.7033 49.4369 59.9532 48.2969 61.4232C48.0119 61.7825 47.6564 62.0797 47.2523 62.2963C46.8481 62.513 46.4039 62.6447 45.9469 62.6833C45.7942 62.7002 45.6405 62.7069 45.4869 62.7033Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M34.8769 50.1239C36.4669 48.5239 39.1469 48.5139 41.1169 49.5939C43.0267 50.8027 44.5447 52.5395 45.4869 54.5939C46.3669 56.2839 47.1269 58.1139 48.5869 59.3239C50.0469 60.5339 52.4869 60.7939 53.6469 59.3239C54.8069 57.8539 54.0369 55.5239 53.0069 53.8739C50.7167 50.21 47.516 47.2022 43.7169 45.1439C42.4641 44.4194 41.0873 43.9345 39.6569 43.7139C37.7341 43.6191 35.8106 43.8871 33.9869 44.5039L27.8569 46.1639",fill:"white"}),(0,Bt.jsx)("path",{d:"M51.347 60.9742C50.2123 60.9508 49.1179 60.5496 48.237 59.8342C47.0209 58.6753 46.0545 57.28 45.397 55.7342L44.977 54.9042C44.1073 52.9433 42.6729 51.286 40.857 50.1442C39.237 49.2542 36.857 49.1442 35.367 50.5642C35.2472 50.6733 35.09 50.7321 34.928 50.7284C34.766 50.7246 34.6117 50.6586 34.4971 50.544C34.3825 50.4295 34.3165 50.2751 34.3127 50.1131C34.309 49.9512 34.3678 49.7939 34.477 49.6742C36.377 47.7742 39.477 47.9242 41.477 49.0442C43.5155 50.2993 45.1288 52.1392 46.107 54.3242L46.527 55.1642C47.1075 56.5556 47.9648 57.8144 49.047 58.8642C49.7988 59.4781 50.7598 59.7758 51.727 59.6942C52.0142 59.6722 52.2942 59.5927 52.5501 59.4605C52.8061 59.3282 53.0329 59.1458 53.217 58.9242C54.347 57.4542 53.117 55.1242 52.537 54.1942C50.3111 50.6193 47.1919 47.6862 43.487 45.6842C42.3062 44.9884 41.0024 44.5267 39.647 44.3242C37.8042 44.2268 35.96 44.4883 34.217 45.0942L28.077 46.7542C27.9165 46.7971 27.7456 46.775 27.6014 46.6926C27.4572 46.6102 27.3514 46.4742 27.307 46.3142C27.2843 46.2347 27.2778 46.1515 27.2877 46.0695C27.2977 45.9875 27.3239 45.9083 27.3649 45.8366C27.4059 45.7648 27.4608 45.702 27.5264 45.6518C27.592 45.6016 27.667 45.565 27.747 45.5442L33.887 43.8742C35.787 43.2292 37.7938 42.9575 39.797 43.0742C41.306 43.2976 42.7586 43.8067 44.077 44.5742C47.9774 46.6787 51.262 49.7634 53.607 53.5242C55.127 55.9642 55.347 58.2142 54.207 59.6942C53.9246 60.0531 53.5709 60.3495 53.1681 60.5647C52.7653 60.7798 52.3223 60.9091 51.867 60.9442C51.6946 60.9669 51.5208 60.9769 51.347 60.9742Z",fill:"#69727D"}),(0,Bt.jsx)("path",{d:"M3.66699 51.0734C17.457 49.4634 43.087 41.2235 56.517 38.6935C56.7598 38.6281 57.0132 38.6122 57.2623 38.6465C57.5113 38.6809 57.751 38.7648 57.967 38.8934C58.767 39.5434 58.617 41.3434 57.967 42.4834C57.047 44.2134 54.967 44.6735 52.967 45.1535C52.967 45.1535 51.477 45.5135 42.437 48.2135C33.937 50.7535 32.857 52.5635 32.577 53.6735C32.4746 53.9811 32.4421 54.3077 32.4819 54.6294C32.5217 54.9512 32.6328 55.26 32.807 55.5335C33.807 56.6335 37.497 56.3235 39.177 54.2935C40.407 52.8035 41.557 50.7035 43.467 50.7835C45.717 50.8735 46.467 54.0434 45.747 56.2034C44.227 60.4935 38.437 63.1234 34.747 64.5034C31.627 65.6634 29.807 66.3634 28.157 67.0334C24.527 68.4934 19.267 70.3634 13.017 73.4334",fill:"white"}),(0,Bt.jsx)("path",{d:"M13.0369 74.0641C12.9203 74.0633 12.8062 74.0301 12.7073 73.9683C12.6084 73.9065 12.5287 73.8185 12.4769 73.7141C12.4039 73.5627 12.3935 73.3887 12.4477 73.2297C12.502 73.0706 12.6166 72.9393 12.7669 72.8641C17.6269 70.4741 21.8569 68.8641 25.2569 67.5041L27.9369 66.4441C29.5769 65.7841 31.3669 65.0941 34.5469 63.9141C40.5469 61.6841 44.1369 59.0241 45.2069 55.9941C45.4258 55.3775 45.507 54.7205 45.4448 54.0692C45.3826 53.4179 45.1785 52.7881 44.8469 52.2241C44.706 51.9853 44.508 51.7852 44.2706 51.6421C44.0331 51.4989 43.7638 51.4171 43.4869 51.4041C42.2468 51.4041 41.3568 52.5341 40.4068 53.7941C40.1768 54.1041 39.9469 54.4041 39.7069 54.6841C39.1032 55.3354 38.3736 55.8573 37.5623 56.2183C36.7509 56.5792 35.8748 56.7717 34.9869 56.7841C34.5196 56.8341 34.047 56.7861 33.5993 56.6432C33.1517 56.5003 32.7387 56.2656 32.3869 55.9541C32.1279 55.6099 31.9585 55.2067 31.8939 54.7808C31.8293 54.3549 31.8716 53.9196 32.0168 53.5141C32.3968 51.9941 33.9268 50.1041 42.3069 47.6041C51.3069 44.9241 52.8069 44.5441 52.8669 44.5241H53.0669C54.9369 44.0741 56.6969 43.6441 57.4569 42.2241C57.9769 41.2241 58.0369 39.7941 57.5669 39.4241C57.3169 39.2141 56.8069 39.3141 56.6369 39.3441C51.1269 40.3441 43.5469 42.4041 35.5269 44.5241C23.9069 47.5741 11.8869 50.7541 3.73685 51.7041C3.65224 51.7186 3.56554 51.7158 3.48209 51.6956C3.39863 51.6754 3.32018 51.6384 3.25154 51.5869C3.1829 51.5353 3.12553 51.4702 3.08295 51.3957C3.04037 51.3211 3.01347 51.2387 3.00391 51.1533C2.99436 51.068 3.00234 50.9816 3.02738 50.8995C3.05241 50.8174 3.09397 50.7412 3.14949 50.6758C3.20502 50.6103 3.27335 50.5568 3.35028 50.5187C3.42721 50.4806 3.51111 50.4586 3.59685 50.4541C11.6469 49.5141 23.5969 46.3441 35.2069 43.2741C43.2069 41.1441 50.8468 39.1341 56.4068 38.0741C56.737 37.9912 57.0808 37.9777 57.4165 38.0345C57.7521 38.0913 58.0723 38.2171 58.3568 38.4041C59.5168 39.3341 59.2269 41.5441 58.5669 42.7841C57.5669 44.7041 55.3169 45.2441 53.3669 45.7141H53.1669C53.1669 45.7141 51.5368 46.1141 42.6669 48.7641C33.7969 51.4141 33.3869 53.2241 33.2369 53.8341C33.1568 54.0405 33.1224 54.2619 33.1363 54.4829C33.1501 54.7039 33.2117 54.9192 33.3169 55.1141C33.7932 55.4512 34.3771 55.6008 34.9569 55.5341C35.6647 55.5281 36.3641 55.3798 37.0134 55.098C37.6628 54.8163 38.2489 54.4069 38.7369 53.8941C38.9669 53.6241 39.1768 53.3341 39.4068 53.0441C40.4068 51.6541 41.6669 50.0441 43.5469 50.1541C44.0205 50.1737 44.4822 50.3088 44.8918 50.5476C45.3013 50.7864 45.6464 51.1216 45.8969 51.5241C46.3332 52.2528 46.6041 53.0685 46.6905 53.9135C46.7769 54.7585 46.6767 55.6121 46.3969 56.4141C45.1869 59.8141 41.3969 62.7341 34.9869 65.0941C31.8169 66.2741 30.0368 66.9541 28.4069 67.6141L25.7169 68.6741C22.3368 69.9941 18.1369 71.6741 13.3169 74.0041C13.2289 74.044 13.1334 74.0645 13.0369 74.0641Z",fill:"#69727D"}),(0,Bt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Bt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Bt.jsx)("path",{d:"M44.7768 52.4033C44.7768 52.4033 40.7768 58.6033 35.3768 59.8033C29.9768 61.0033 10.1768 68.2233 10.1768 68.2233L14.0768 73.0233C14.0768 73.0233 44.9468 63.9533 45.4868 54.6333L44.7768 52.4033Z",fill:"#F1F3F3"})})})]}),(0,Bt.jsx)("defs",{children:(0,Bt.jsx)("clipPath",{id:"clip0_2163_56876",children:(0,Bt.jsx)("rect",{width:"128",height:"72",fill:"white"})})})]}),F2=()=>(0,Bt.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",role:"presentation",children:(0,Bt.jsx)("path",{d:"M2.5 10H3.33333M10 2.5V3.33333M16.6667 10H17.5M10 16.6667V17.5M4.66667 4.66667L5.25 5.25M15.3333 4.66667L14.75 5.25M14.75 14.75L15.3333 15.3333M5.25 14.75L4.66667 15.3333M13.3333 10C13.3333 11.8409 11.8409 13.3333 10 13.3333C8.15905 13.3333 6.66667 11.8409 6.66667 10C6.66667 8.15905 8.15905 6.66667 10 6.66667C11.8409 6.66667 13.3333 8.15905 13.3333 10Z",stroke:"black",strokeOpacity:"0.54",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),H2=()=>(0,Bt.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",role:"presentation",children:(0,Bt.jsx)("path",{d:"M2.5 2.5L17.5 17.5M13.3333 10C13.3333 9.11594 12.9822 8.2681 12.357 7.64298C11.7319 7.01786 10.8841 6.66667 10 6.66667M7.63835 7.6475C7.01354 8.27297 6.66279 9.12102 6.66326 10.0051C6.66373 10.8892 7.01538 11.7369 7.64084 12.3617C8.26631 12.9865 9.11437 13.3372 9.99845 13.3368C10.8825 13.3363 11.7302 12.9846 12.355 12.3592M2.5 10H3.33333M10 2.5V3.33333M16.6667 10H17.5M10 16.6667V17.5M4.66667 4.66667L5.25 5.25M15.3333 4.66667L14.75 5.25M14.75 14.75L15.3333 15.3333M5.25 14.75L4.66667 15.3333",stroke:"black",strokeOpacity:"0.54",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),V2=()=>(0,Bt.jsxs)(kQ,{children:[(0,Bt.jsx)(D2,{}),(0,Bt.jsxs)(nk,{sx:{maxWidth:"300px"},children:[(0,Bt.jsx)(Gk,{variant:"h5",align:"center",sx:{mb:2},children:(0,kw.__)("Well this is unexpected…","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",align:"center",children:(0,kw.__)("We ran into a technical glitch and are working right now to fix it. Please try again later.","pojo-accessibility")})]})]});var W2=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.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"}),n.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"}))),q2=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.53033 7.46967C9.82322 7.76256 9.82322 8.23744 9.53033 8.53033L6.81066 11.25H19C19.4142 11.25 19.75 11.5858 19.75 12C19.75 12.4142 19.4142 12.75 19 12.75H6.81066L9.53033 15.4697C9.82322 15.7626 9.82322 16.2374 9.53033 16.5303C9.23744 16.8232 8.76256 16.8232 8.46967 16.5303L4.46967 12.5303C4.17678 12.2374 4.17678 11.7626 4.46967 11.4697L8.46967 7.46967C8.76256 7.17678 9.23744 7.17678 9.53033 7.46967Z"})));const U2=(e,t=null)=>{Z2(t),e&&(e.classList.add(null!=t?t:c1),t!==d1&&e.scrollIntoView({behavior:"smooth",block:"center"}))},Z2=(e=null)=>{document.querySelectorAll(e?`.${e}`:`.${c1}, .${u1}, .${d1}`).forEach(e=>{e.classList.remove(c1,u1,d1),(e=>{const t=e.getAttribute(p1),r=e.getAttribute(h1);t&&e?.style&&(e.style["background-color"]=t,e.removeAttribute(p1)),r&&e?.style&&(e.style.color=r,e.removeAttribute(h1))})(e)})},G2=(e,t=document)=>{try{const r=e.replace("svg","*[name()='svg']");return document.evaluate(r,t,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}catch(e){return console.error(e),null}},X2=(0,Fn.createContext)({results:{},remediations:[],currentScanId:null,resolved:0,openedBlock:"",loading:null,isError:!1,quotaExceeded:!1,isManage:!1,isChanged:!1,sortedViolations:_1,sortedRemediation:_1,altTextData:[],manualData:{},remediationData:{},violation:null,openIndex:null,setSortedRemediation:()=>{},setOpenedBlock:()=>{},setResolved:()=>{},getResults:()=>{},setAltTextData:()=>{},setManualData:()=>{},setLoading:()=>{},setRemediationData:()=>{},updateRemediationList:()=>{},setIsManage:()=>{},setIsManageChanged:()=>{},isResolved:()=>{},handleOpen:()=>{},setOpenIndex:()=>{},runNewScan:()=>{}}),K2=({children:e})=>{const[t,r]=(0,Fn.useState)(),[n,o]=(0,Fn.useState)([]),[i,a]=(0,Fn.useState)(_1),[s,l]=(0,Fn.useState)(_1),[c,u]=(0,Fn.useState)(0),[d,p]=(0,Fn.useState)(null),[h,f]=(0,Fn.useState)(v1.main),[m,g]=(0,Fn.useState)(!0),[y,b]=(0,Fn.useState)(!1),[v,x]=(0,Fn.useState)(!1),[w,C]=(0,Fn.useState)(!1),[_,k]=(0,Fn.useState)(!1),[A,S]=(0,Fn.useState)([]),[j,M]=(0,Fn.useState)(structuredClone(x1)),[R,I]=(0,Fn.useState)(structuredClone(x1)),[E,T]=(0,Fn.useState)(null),[P,L]=(0,Fn.useState)(null);(0,Fn.useEffect)(()=>{const e=w?s[h]:i[h];if(null!==E&&i[h]?.length&&E<e?.length){const e=w?G2(JSON.parse(s[h][E].content)?.xpath):i[h][E].node;U2(e)}else Z2()},[E]),(0,Fn.useEffect)(()=>{Object.keys(s).every(e=>0===s[e].length)&&o([])},[s]),(0,Fn.useEffect)(()=>{if(t?.summary?.counts){const e=Object.values(i).reduce((e,t)=>e+t.length,0);L(e)}},[i,t]);const O=async()=>{try{const e=await to.getRemediations(window.ea11yScannerData?.pageData?.url),t=(e=>{const t=structuredClone(_1);return e.forEach(e=>{t[e.group].push(e)}),t})(e.data);o(e.data),l(t)}catch(e){b(!0)}},N=e=>{f(e),T(null)},$=async()=>{g(!0);try{const e=new URL(window.location.href),t=await window.ace.check(document),n=(e=>{const t=structuredClone(_1);return e.forEach(e=>{let r="";const n=e.node.outerHTML,o=n.indexOf(">");e.snippet=-1!==o?n.slice(0,o+1):e.snippet,Object.keys(k1).forEach(t=>{k1[t].includes(e.ruleId)&&(r=t)}),t[r||"other"].push(e)}),t})(t.results.filter(e=>"violation"===e.level||"text_contrast_sufficient"===e.ruleId&&"potentialViolation"===e.level));return t?.summary?.counts&&(t.summary.counts.issuesResolved=0),await(async(e,t)=>{try{window?.ea11yScannerData?.pageData?.unregistered&&(await to.registerPage(window?.ea11yScannerData?.pageData,e.summary),window.ea11yScannerData.pageData.unregistered=!1),r(e),a(t),S([]),M(structuredClone(x1))}catch(e){"Quota exceeded"===e?.message&&x(!0),b(!0)}})(t,n),await(async e=>{try{const t=await to.addScanResults({url:window?.ea11yScannerData?.pageData?.url,summary:e.summary});to.triggerSave({object_id:window?.ea11yScannerData?.pageData?.object_id,object_type:window?.ea11yScannerData?.pageData?.object_type}),p(t.scanId)}catch(e){console.error(e),b(!0)}})(t),ew(tw.scanTriggered,{page_url:window.ea11yScannerData?.pageData?.url,issue_count:t.summary?.counts?.violation,source:e.searchParams.get("open-ea11y-assistant-src")}),t.summary}catch(e){b(!0)}finally{g(!1)}};(0,Fn.useEffect)(()=>{window.ea11yScannerData?.isConnected?(setTimeout(()=>{(async()=>new Promise((e,t)=>{const{scannerUrl:r,planData:n}=window?.ea11yScannerData,o=`${r}?api_key=${n?.public_api_key}`;if(document.querySelector(`script[src="${o}"]`))return e(!0);const i=document.createElement("script");i.src=o,i.referrerPolicy="strict-origin-when-cross-origin",i.async=!0,i.onload=()=>e(!0),i.onerror=()=>t(new Error(`Failed to load script: ${r}`)),document.body.appendChild(i)}))().then(()=>{$()}).catch(()=>{b(!0),g(!1)})},500),O()):g(!1)},[window.ea11yScannerData?.isConnected]),(0,Fn.useEffect)(()=>{"1"===new URLSearchParams(window.location.search).get(s1)&&(C(!0),N(v1.management))},[window.location.search]);const z=A.length>0||Object.keys(j).some(e=>j[e]&&j[e].length>0)||_;return(0,Bt.jsx)(X2.Provider,{value:{results:t,resolved:c,remediations:n,currentScanId:d,openedBlock:h,loading:m,isError:y,quotaExceeded:v,isManage:w,isChanged:z,sortedViolations:i,sortedRemediation:s,altTextData:A,manualData:j,remediationData:R,violation:P,setOpenedBlock:N,setResolved:u,setSortedRemediation:l,getResults:$,setLoading:g,setAltTextData:S,setManualData:M,setRemediationData:I,updateRemediationList:O,setIsManage:C,setIsManageChanged:k,openIndex:E,setOpenIndex:T,isResolved:e=>{const t=Array.from({length:i[e]?.length||0},(e,t)=>t);return e===v1.altText?A?.length===i[e]?.length&&t.every(e=>e in A)&&A.every(e=>e?.resolved)||0===i[e]?.length:j[e]?.length===i[e]?.length&&t.every(t=>t in j[e])&&j[e].every(e=>e?.resolved)||0===i[e]?.length},handleOpen:(e,t)=>(r,n)=>{T(n?e:null),w||ew(tw.issueSelected,{issue_type:t.message,rule_id:t.ruleId,wcag_level:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:h})},runNewScan:()=>{const e=new URL(window.location.href);e.searchParams.delete("open-ea11y-assistant"),e.searchParams.delete("open-ea11y-assistant-src"),e.searchParams.append("open-ea11y-assistant-src","rescan_button"),e.searchParams.append("open-ea11y-assistant","1"),window.location.assign(e)}},children:e})},Y2=()=>(0,Fn.useContext)(X2),J2=()=>{const{openedBlock:e,sortedViolations:t,sortedRemediation:r,setOpenedBlock:n,altTextData:o,manualData:i,isManage:a}=Y2(),s=e===v1.altText?o:i[e],l=s?.filter(e=>!0===e?.resolved).length||0,c=a?r:t,u=a?c[e].length:c[e].length-l;return(0,Bt.jsx)(nk,{children:(0,Bt.jsxs)(Q2,{children:[(0,Bt.jsx)(fC,{color:"secondary",onClick:()=>{Z2(),n(a?v1.management:v1.main)},sx:{whiteSpace:"nowrap"},"aria-label":(0,kw.__)("All issues","pojo-accessibility"),size:"small",children:(0,Bt.jsx)(q2,{})}),(0,Bt.jsxs)(nk,{display:"flex",alignItems:"center",gap:1,children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h3",children:w1[e]}),C1[e]&&(0,Bt.jsx)(o$,{tabIndex:"0",PopperProps:{disablePortal:!0},content:(0,Bt.jsx)(Gk,{variant:"body2",sx:{p:2,maxWidth:"300px"},children:C1[e]}),children:(0,Bt.jsx)(KO,{fontSize:"small"})}),c[e].length>0&&(0,Bt.jsx)(PA,{label:u,color:a?"info":"error",variant:"standard",size:"small",sx:{fontWeight:500}})]})]})})},Q2=da(nk)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
`;var e5=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{d:"M16.5 2.75C16.5 2.33579 16.1642 2 15.75 2C15.3358 2 15 2.33579 15 2.75V4H8.5V2.75C8.5 2.33579 8.16421 2 7.75 2C7.33579 2 7 2.33579 7 2.75V4H5.75C5.02065 4 4.32118 4.28973 3.80546 4.80546C3.28973 5.32118 3 6.02065 3 6.75V18.75C3 19.4793 3.28973 20.1788 3.80546 20.6945C4.32118 21.2103 5.02065 21.5 5.75 21.5H12.75C13.1642 21.5 13.5 21.1642 13.5 20.75C13.5 20.3358 13.1642 20 12.75 20H5.75C5.41848 20 5.10054 19.8683 4.86612 19.6339C4.6317 19.3995 4.5 19.0815 4.5 18.75V11.5H16.25C16.6642 11.5 17 11.1642 17 10.75C17 10.3358 16.6642 10 16.25 10H4.5V6.75C4.5 6.41848 4.6317 6.10054 4.86612 5.86612C5.10054 5.6317 5.41848 5.5 5.75 5.5H7V6.75C7 7.16421 7.33579 7.5 7.75 7.5C8.16421 7.5 8.5 7.16421 8.5 6.75V5.5H15V6.75C15 7.16421 15.3358 7.5 15.75 7.5C16.1642 7.5 16.5 7.16421 16.5 6.75V5.5H17.75C18.0815 5.5 18.3995 5.6317 18.6339 5.86612C18.8683 6.10054 19 6.41848 19 6.75V9.75C19 10.1642 19.3358 10.5 19.75 10.5C20.1642 10.5 20.5 10.1642 20.5 9.75V6.75C20.5 6.02065 20.2103 5.32118 19.6945 4.80546C19.1788 4.28973 18.4793 4 17.75 4H16.5V2.75Z"}),n.createElement("path",{d:"M19.5 14V13.75C19.5 13.3358 19.1642 13 18.75 13C18.3358 13 18 13.3358 18 13.75V14.0139C17.4952 14.0703 17.0216 14.2964 16.659 14.659C16.2371 15.081 16 15.6533 16 16.25C16 16.8467 16.2371 17.419 16.659 17.841C17.081 18.2629 17.6533 18.5 18.25 18.5H19.25C19.4489 18.5 19.6397 18.579 19.7803 18.7197C19.921 18.8603 20 19.0511 20 19.25C20 19.4489 19.921 19.6397 19.7803 19.7803C19.6397 19.921 19.4489 20 19.25 20H16.75C16.3358 20 16 20.3358 16 20.75C16 21.1642 16.3358 21.5 16.75 21.5H18V21.75C18 22.1642 18.3358 22.5 18.75 22.5C19.1642 22.5 19.5 22.1642 19.5 21.75V21.4861C20.0048 21.4297 20.4784 21.2036 20.841 20.841C21.2629 20.419 21.5 19.8467 21.5 19.25C21.5 18.6533 21.2629 18.081 20.841 17.659C20.419 17.2371 19.8467 17 19.25 17H18.25C18.0511 17 17.8603 16.921 17.7197 16.7803C17.579 16.6397 17.5 16.4489 17.5 16.25C17.5 16.0511 17.579 15.8603 17.7197 15.7197C17.8603 15.579 18.0511 15.5 18.25 15.5H20.75C21.1642 15.5 21.5 15.1642 21.5 14.75C21.5 14.3358 21.1642 14 20.75 14H19.5Z"}))),t5=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.71403 6.89535C9.70479 6.84833 9.69995 6.79973 9.69995 6.75L9.69995 2.58333C9.69995 2.11469 9.9244 1.69984 10.2627 1.41791C10.597 1.13931 11.0256 1 11.45 1H12.45C12.8743 1 13.3029 1.13931 13.6372 1.41791C13.9755 1.69984 14.2 2.11469 14.2 2.58333V6.75C14.2 6.80216 14.1946 6.85307 14.1845 6.90222C14.3206 6.94951 14.4554 7.00114 14.5886 7.05709C15.4274 7.40937 16.1876 7.9254 16.8245 8.575C17.4615 9.2246 17.9625 9.99472 18.2983 10.8403C18.4747 11.2844 18.6036 11.7447 18.6836 12.2135C18.7873 12.3147 18.8623 12.4464 18.8937 12.5965L20.9841 21.5965C21.0303 21.8176 20.9745 22.0477 20.8321 22.223C20.6897 22.3982 20.4758 22.5 20.25 22.5H3.75001C3.52417 22.5 3.31036 22.3982 3.16794 22.223C3.02552 22.0477 2.96966 21.8176 3.01588 21.5965L5.10636 12.5965C5.11848 12.5386 5.1371 12.4834 5.16135 12.4316C5.23631 11.8875 5.37667 11.3532 5.58032 10.8403C5.91608 9.99473 6.41711 9.22462 7.05409 8.57502C7.69107 7.92541 8.45122 7.40937 9.29004 7.05709C9.42974 6.99842 9.57114 6.9445 9.71403 6.89535ZM12.7 6.56577V2.59448C12.6968 2.58977 12.69 2.58113 12.6769 2.57024C12.6362 2.53628 12.556 2.5 12.45 2.5L11.45 2.5C11.3439 2.5 11.2637 2.53628 11.223 2.57024C11.2099 2.58113 11.2031 2.58977 11.2 2.59448V6.56343C11.445 6.53679 11.6918 6.52336 11.9393 6.52336C12.194 6.52336 12.4479 6.53757 12.7 6.56577ZM9.80005 21V18.75C9.80005 18.3358 9.46426 18 9.05005 18C8.63584 18 8.30005 18.3358 8.30005 18.75V21H4.67301L6.44992 13.5H17.5501L19.327 21H15.8V18.75C15.8 18.3358 15.4643 18 15.05 18C14.6358 18 14.3 18.3358 14.3 18.75V21H9.80005ZM16.9042 11.3939C16.9829 11.5922 17.0496 11.7946 17.1039 12H6.77477C6.82907 11.7946 6.89569 11.5922 6.97443 11.3939C7.23658 10.7337 7.62777 10.1324 8.1251 9.62522C8.62244 9.11804 9.21593 8.71513 9.87085 8.44008C10.5258 8.16503 11.229 8.02336 11.9393 8.02336C12.6497 8.02336 13.3529 8.16503 14.0078 8.44007C14.6627 8.71512 15.2562 9.11803 15.7535 9.62521C16.2509 10.1324 16.642 10.7337 16.9042 11.3939Z"})));const r5=()=>{const{remediations:e,isManage:t,setOpenedBlock:r,setIsManage:n,runNewScan:o}=Y2(),{error:i}=qn(),[a,s]=(0,Fn.useState)(!1),[l,c]=(0,Fn.useState)(!1),u=(0,Fn.useRef)(null),d=()=>s(!1),p=e=>{ew(tw.assistantMenuOptionSelected,{action:e})};return(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(fC,{id:"menu-button","aria-controls":a?"assistant-menu":void 0,"aria-expanded":a?"true":void 0,"aria-haspopup":"true",onClick:()=>{s(!0),ew(tw.assistantMenuClicked)},ref:u,"aria-label":(0,kw.__)("Menu","pojo-accessibility"),children:(0,Bt.jsx)(fQ,{})}),(0,Bt.jsxs)(yj,{open:a,id:"assistant-menu",anchorEl:u.current,onClose:d,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{"aria-labelledby":"menu-button"},PaperProps:{style:{overflow:"visible"}},disablePortal:!0,children:[(0,Bt.jsxs)(ZA,{onClick:()=>{o(),p("Rescan")},dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(uQ,{})}),(0,Bt.jsx)(SJ,{children:(0,kw.__)("Rescan","pojo-accessibility")})]}),e.length>0?(0,Bt.jsxs)(ZA,{onClick:async()=>{try{c(!0),await to.clearCache({url:window.ea11yScannerData?.pageData?.url}),p("Clear cache"),d()}catch(e){i((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{c(!1)}},loading:l,disabled:l,dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(t5,{})}),(0,Bt.jsx)(SJ,{children:(0,kw.__)("Clear cache","pojo-accessibility")})]}):(0,Bt.jsxs)(ZA,{dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(t5,{color:"disabled"})}),(0,Bt.jsx)(OQ,{children:(0,kw.__)("Clear page cache","pojo-accessibility")})]}),e.length?(0,Bt.jsxs)(ZA,{onClick:()=>{d(),n(!0),r(v1.management),p("Manage fixes")},disabled:t,selected:t,dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(KP,{})}),(0,Bt.jsx)(SJ,{children:(0,kw.__)("Manage fixes","pojo-accessibility")})]}):(0,Bt.jsx)(HP,{arrow:!0,placement:"left",title:(0,kw.__)("You don’t have any fixes to manage just yet.","pojo-accessibility"),PopperProps:{disablePortal:!0,modifiers:[{name:"offset",options:{offset:[0,-16]}}]},children:(0,Bt.jsxs)(ZA,{dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(KP,{color:"disabled"})}),(0,Bt.jsx)(OQ,{children:(0,kw.__)("Manage fixes","pojo-accessibility")})]})}),(0,Bt.jsxs)(ZA,{component:"a",href:"https://my.elementor.com",target:"_blank",rel:"noreferrer",onClick:()=>p("View subscription"),dense:!0,children:[(0,Bt.jsx)(CJ,{children:(0,Bt.jsx)(e5,{})}),(0,Bt.jsx)(SJ,{children:(0,kw.__)("View subscription","pojo-accessibility")}),(0,Bt.jsx)(CJ,{sx:{ml:5},children:(0,Bt.jsx)(bJ,{})})]})]})]})},n5=()=>{const{loading:e,remediations:t}=Y2();return e?(0,Bt.jsx)(nk,{flexGrow:1,sx:{py:1},children:(0,Bt.jsx)(CQ,{width:"100%",height:14})}):(0,Bt.jsx)(Gk,{variant:"body2",color:"text.secondary",children:(0,kw.sprintf)(
// Translators: %1$s - active, %2$s - total
// Translators: %1$s - active, %2$s - total
(0,kw.__)("%1$s/%2$s fixes are currently active","pojo-accessibility"),t?.filter(e=>Number(e.active)).length,t?.length)})},o5=()=>{const{violation:e,results:t,resolved:r,loading:n,runNewScan:o}=Y2(),i=0!==e?Math.min(r/e*100,100):100,a=t?Math.round(i):0;return(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(nk,{display:"flex",gap:1.5,alignItems:"center",children:n?(0,Bt.jsx)(nk,{flexGrow:1,sx:{py:1},children:(0,Bt.jsx)(CQ,{width:"100%",height:14})}):(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)(Gk,{variant:"body2",color:"text.secondary",children:(0,kw.sprintf)(
// Translators: %1$s - resolved, %2$s - percent, %3$s - %
// Translators: %1$s - resolved, %2$s - percent, %3$s - %
(0,kw.__)("%1$s Fixed (%2$s%3$s)","pojo-accessibility"),r,a,"%")}),(0,Bt.jsx)(i5,{color:"success",value:a,variant:"determinate",role:"presentation"}),(0,Bt.jsx)(Wa,{variant:"outlined",size:"small",color:"secondary",endIcon:(0,Bt.jsx)(uQ,{}),onClick:o,children:(0,kw.__)("New Scan","pojo-accessibility")})]})})})},i5=da(ZJ)(({theme:e})=>({"& .MuiLinearProgress-bar":{animation:"none"},"& .MuiLinearProgress-bar1Determinate":{backgroundColor:e.palette.success.light},backgroundColor:e.palette.grey[50],animation:"none",flexGrow:1})),a5=e=>{const t=Boolean(window.ea11yScannerData?.isRTL);Z2(),e.remove();const r=new URL(window.location.href);r.searchParams.delete("open-ea11y-assistant"),r.searchParams.delete("open-ea11y-manage"),r.searchParams.delete("open-ea11y-assistant-src"),document.body.style.removeProperty(t?"margin-left":"margin-right"),document.body.prepend(window.ea11yScannerData.adminBar),window.history.replaceState({},"",r.toString())},s5=()=>{const{openedBlock:e,results:t,loading:r,isError:n,isManage:o,isChanged:i,setOpenedBlock:a,setIsManage:s,violation:l}=Y2(),c=b1&&!n&&!r&&e===v1.main&&l>0,u=window.ea11yScannerData?.isConnected&&!n&&b1&&(l>0||r),d=e===v1.main||e===v1.management,p=(0,Bt.jsxs)(Bt.Fragment,{children:[d&&(0,Bt.jsxs)(bQ,{sx:{mb:window.ea11yScannerData?.isConnected&&!n?2:0},children:[(0,Bt.jsx)(Gk,{variant:"subtitle1",as:"h3",color:"text.primary",children:window?.ea11yScannerData?.pageData?.title}),c&&(0,Bt.jsx)(PA,{size:"tiny",color:"error",variant:"outlined",label:`${t?l:""} ${(0,kw.__)("Issues found","pojo-accessibility")}`})]}),(()=>{switch(e){case v1.main:return(0,Bt.jsx)(o5,{});case v1.management:return(0,Bt.jsx)(n5,{});default:return(0,Bt.jsx)(J2,{})}})()]});return(0,Bt.jsxs)(l5,{square:!0,variant:"elevation",elevation:0,children:[(0,Bt.jsx)(_E,{color:"secondary",elevation:0,square:!0,children:(0,Bt.jsx)(vQ,{children:(0,Bt.jsxs)(nk,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,Bt.jsx)(nk,{display:"flex",alignItems:"center",gap:1,children:o?(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)(KP,{size:"small",color:"action"}),(0,Bt.jsx)(c5,{variant:"subtitle1",as:"h2",children:(0,kw.__)("Manage fixes","pojo-accessibility")})]}):(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)($2,{}),(0,Bt.jsxs)(c5,{variant:"subtitle1",as:"h2",children:[(0,kw.__)("Accessibility Assistant","pojo-accessibility"),(0,Bt.jsx)(PA,{size:"small",variant:"filled",color:"default",label:(0,kw.__)("Beta","pojo-accessibility")})]})]})}),(0,Bt.jsxs)(nk,{display:"flex",gap:1,children:[(0,Bt.jsx)(r5,{}),(0,Bt.jsx)(fC,{onClick:()=>{if(o)s(!1),a(v1.main);else{const e=document.getElementById(l1);a5(e),i&&to.triggerSave({object_id:window?.ea11yScannerData?.pageData?.object_id,object_type:window?.ea11yScannerData?.pageData?.object_type})}},"aria-label":(0,kw.__)("Close","pojo-accessibility"),children:(0,Bt.jsx)(W2,{})})]})]})})}),u&&(0,Bt.jsx)(vQ,{children:d?(0,Bt.jsx)(yQ,{children:(0,Bt.jsx)(vQ,{children:p})}):p})]})},l5=da(gO)`
position: sticky;
top: 0;
z-index: 2;
overflow: visible;
`,c5=da(Gk)`
font-size: 16px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.15px;
margin: 0;
.MuiChip-root {
margin-inline-start: ${({theme:e})=>e.spacing(1)};
font-weight: 400;
}
`,u5=()=>(0,Bt.jsxs)(wQ,{children:[(0,Bt.jsx)(CQ,{width:120,height:12,sx:{mb:1}}),(0,Bt.jsx)(CQ,{width:"100%",height:48}),(0,Bt.jsx)(CQ,{width:"100%",height:48}),(0,Bt.jsx)(CQ,{width:"100%",height:48}),(0,Bt.jsx)(CQ,{width:"100%",height:48}),(0,Bt.jsx)(CQ,{width:"100%",height:48}),(0,Bt.jsx)(CQ,{width:"100%",height:48})]}),d5=()=>{const{redirectToConnect:e}=(()=>{const{subscriptionId:e}=123,t=async()=>Qn.initConnect();return{redirectToConnect:async()=>{const e=await t();window.open(e,"_self").focus()},getConnectLink:t,getUpgradeLink:()=>{const t=new URL("https://go.elementor.com/acc-upgrade");return t.searchParams.append("subscription_id",e),t.toString()}}})();return(0,Bt.jsxs)(kQ,{children:[(0,Bt.jsx)(B2,{}),(0,Bt.jsx)(Gk,{variant:"subtitle1",color:"text.secondary",children:(0,kw.__)("You may be logged in elsewhere","pojo-accessibility")}),(0,Bt.jsx)(SQ,{variant:"body2",color:"text.secondary",children:(0,kw.__)("Check that you're using the right Ally account or reconnect now.","pojo-accessibility")}),(0,Bt.jsx)(Wa,{size:"small",color:"info",variant:"contained",onClick:e,children:(0,kw.__)("Reconnect now","pojo-accessibility")})]})},p5=()=>(0,Bt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"375",height:"166",viewBox:"0 0 375 166",fill:"none",children:[(0,Bt.jsxs)("g",{clipPath:"url(#clip0_223_19073)",children:[(0,Bt.jsx)("path",{d:"M129.07 43.2C131.03 26.77 145.93 13.45 162.36 13.45C178.79 13.45 190.53 26.77 188.57 43.2",fill:"white"}),(0,Bt.jsx)("path",{d:"M129.66 43.27L128.48 43.13C130.47 26.44 145.67 12.86 162.36 12.86C170.44 12.86 177.68 16 182.74 21.7C187.85 27.46 190.13 35.12 189.16 43.27L187.98 43.13C188.91 35.31 186.73 27.98 181.85 22.48C177.02 17.04 170.09 14.04 162.36 14.04C146.25 14.04 131.57 27.15 129.66 43.27Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M182.74 42.37L181.56 42.23C182.28 36.17 180.59 30.48 176.81 26.22C173.06 22 167.69 19.68 161.69 19.68C149.18 19.68 137.78 29.86 136.29 42.38L135.11 42.24C136.67 29.15 148.59 18.5 161.68 18.5C168.02 18.5 173.71 20.97 177.68 25.44C181.69 29.96 183.49 35.98 182.72 42.38L182.74 42.37Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M176.76 42.37L175.58 42.23C176.11 37.77 174.87 33.59 172.09 30.46C169.34 27.36 165.39 25.65 160.98 25.65C151.76 25.65 143.37 33.15 142.27 42.37L141.09 42.23C142.26 32.43 151.18 24.46 160.97 24.46C165.73 24.46 169.99 26.31 172.97 29.67C175.98 33.06 177.32 37.57 176.75 42.37H176.76Z",fill:"black"}),(0,Bt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Bt.jsx)("path",{d:"M177.5 13.45C161.07 13.45 146.16 26.77 144.21 43.2H203.71C205.67 26.77 193.93 13.45 177.5 13.45Z",fill:"#EBF1FC"})}),(0,Bt.jsx)("path",{d:"M184.82 66.91C184.69 68.28 185.02 69.76 185.99 70.74C186.96 71.72 188.66 72.02 189.76 71.19C190.86 70.36 190.9 68.37 189.7 67.7",fill:"white"}),(0,Bt.jsx)("path",{d:"M185.81 67.01L184.81 66.92C184.68 68.29 185.01 69.77 185.98 70.75C186.95 71.73 188.65 72.03 189.75 71.2C190.34 70.75 190.63 69.97 190.58 69.24C190.54 68.61 190.25 68.02 189.69 67.7L189.2 68.57C189.51 68.74 189.57 69.14 189.58 69.3C189.61 69.74 189.44 70.17 189.15 70.39C188.51 70.87 187.36 70.7 186.69 70.03C186.02 69.35 185.69 68.22 185.8 67",fill:"black"}),(0,Bt.jsx)("path",{d:"M288.65 39.29H106.42V138.78H288.65V39.29Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M288.14 39.79V138.28H106.92V39.79H288.14ZM289.14 38.79H105.92V139.28H289.14V38.79Z",fill:"black"}),(0,Bt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Bt.jsx)("rect",{x:"69.4299",y:"2.60999",width:"256",height:"173",fill:"url(#pattern0_223_19073)"})}),(0,Bt.jsx)("path",{d:"M288.08 39.29H106.42V46.48H288.08V39.29Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M287.57 39.79V45.98H106.92V39.79H287.58M288.57 38.79H105.92V46.98H288.58V38.79H288.57Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M113.96 44.17C115.02 44.17 115.88 43.4805 115.88 42.63C115.88 41.7794 115.02 41.09 113.96 41.09C112.9 41.09 112.04 41.7794 112.04 42.63C112.04 43.4805 112.9 44.17 113.96 44.17Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M122.93 44.17C123.99 44.17 124.85 43.4805 124.85 42.63C124.85 41.7794 123.99 41.09 122.93 41.09C121.87 41.09 121.01 41.7794 121.01 42.63C121.01 43.4805 121.87 44.17 122.93 44.17Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M131.9 44.17C132.96 44.17 133.82 43.4805 133.82 42.63C133.82 41.7794 132.96 41.09 131.9 41.09C130.84 41.09 129.98 41.7794 129.98 42.63C129.98 43.4805 130.84 44.17 131.9 44.17Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M77.1799 118.89C83.0199 114.77 90.5799 113.18 97.5799 114.61C104.58 116.04 110.92 120.47 114.66 126.56C121.15 125.1 128.28 126.88 133.32 131.22C138.36 135.56 141.18 142.35 140.71 148.98H85.4899",fill:"white"}),(0,Bt.jsx)("path",{d:"M76.3899 116.22C83.4599 111.23 92.6199 109.3 101.09 111.04C109.57 112.77 117.24 118.14 121.78 125.5C129.64 123.73 138.27 125.89 144.38 131.14C150.48 136.39 153.9 144.61 153.33 152.64",fill:"white"}),(0,Bt.jsx)("path",{d:"M76.3899 116.22C83.4599 111.23 92.6199 109.3 101.09 111.04C109.57 112.77 117.24 118.14 121.78 125.5C129.64 123.73 138.27 125.89 144.38 131.14C150.48 136.39 153.9 144.61 153.33 152.64",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M79.77 105.57L80.38 58.0299H142.85L142.24 105.57H79.77Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M142.34 58.5299L141.74 105.07H80.27L80.87 58.5299H142.34ZM143.36 57.5299H79.89L79.27 106.07H142.74L143.36 57.5299Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M144.65 66.2499H81.1699L81.2799 57.5299H144.76L144.65 66.2499Z",fill:"black",stroke:"black",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M83.3501 102.46L83.9601 54.9199H146.43L145.82 102.46H83.3501Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M145.92 55.4199L145.32 101.96H83.8501L84.4501 55.4199H145.92ZM146.94 54.4199H83.4701L82.8501 102.96H146.32L146.94 54.4199Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M146.31 66.9299H82.8401L83.4601 54.4199H146.94L146.31 66.9299Z",fill:"#D9E5FA",stroke:"black",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M122.07 86.44C122.39 82.36 118.56 78.74 113.53 78.34C108.49 77.95 104.15 80.93 103.83 85.01C103.51 89.09 107.34 92.71 112.37 93.11C117.41 93.5 121.75 90.52 122.07 86.44Z",fill:"black",stroke:"black",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M112.64 90.89C112.64 90.89 112.55 90.89 112.51 90.89C111.93 90.84 111.44 90.43 111.25 89.84L109.06 82.99C108.77 82.09 109.23 81.04 110.08 80.64C110.93 80.24 111.86 80.64 112.14 81.55L113.38 85.43L121.2 74.02C121.76 73.2 122.79 72.97 123.49 73.51C124.19 74.05 124.3 75.16 123.74 75.98L114.05 90.1C113.71 90.6 113.17 90.9 112.62 90.9L112.64 90.89Z",fill:"white",stroke:"black",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M254.18 119.35C254.18 121.34 254.57 123.3 255.33 125.14C256.09 126.98 257.2 128.64 258.61 130.05C260.01 131.45 261.68 132.57 263.52 133.33C265.36 134.09 267.32 134.48 269.31 134.48C271.3 134.48 273.26 134.09 275.1 133.33C276.94 132.57 278.6 131.46 280.01 130.05C281.41 128.65 282.53 126.98 283.29 125.14C284.05 123.3 284.44 121.34 284.44 119.35C284.44 117.36 284.05 115.4 283.29 113.56C282.53 111.72 281.42 110.06 280.01 108.65C278.61 107.25 276.94 106.13 275.1 105.37C273.26 104.61 271.3 104.22 269.31 104.22C267.32 104.22 265.36 104.61 263.52 105.37C261.68 106.13 260.02 107.24 258.61 108.65C257.21 110.05 256.09 111.72 255.33 113.56C254.57 115.4 254.18 117.36 254.18 119.35Z",fill:"black"}),(0,Bt.jsx)("path",{d:"M265.95 126.91L269.31 121.87",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M269.31 121.87L272.67 126.91",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M269.31 121.87V118.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M269.31 118.5L274.35 116.82",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M269.31 118.5L264.27 116.82",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("path",{d:"M269.31 113.97C269.774 113.97 270.15 113.594 270.15 113.13C270.15 112.666 269.774 112.29 269.31 112.29C268.846 112.29 268.47 112.666 268.47 113.13C268.47 113.594 268.846 113.97 269.31 113.97Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Bt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Bt.jsx)("path",{d:"M200.49 102.19L263.69 100.83L256.53 133.28L193.34 134.64L200.49 102.19Z",fill:"#D9E5FA"})}),(0,Bt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Bt.jsx)("path",{d:"M203.23 94.4299L200.38 91.0299L197.41 94.2199L195.95 89.8999L192.08 91.5899L192.22 87.0099L187.49 86.9299L189.77 82.7899L185.91 80.9699L188.97 77.8899L186.02 74.5999L189.94 73.0499L188.35 68.7899L192.53 69.0199L192.54 64.4299L196.35 66.3899L197.96 62.1899L200.81 65.5799L203.78 62.3999L205.24 66.7099L209.11 65.0299L208.97 69.5999L213.15 69.6799L211.42 73.8199L215.28 75.6499L212.22 78.7199L215.17 82.0199L211.25 83.5599L212.84 87.8199L208.66 87.5999L208.65 92.1799L204.84 90.2199L203.23 94.4299Z",fill:"#EBF1FC"})}),(0,Bt.jsx)("path",{d:"M224.53 47.27L201.84 47.35L202.16 32.66L224.84 32.59L224.53 47.27Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M247.21 47.2L224.53 47.27L224.84 32.59L247.52 32.52L247.21 47.2Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M224.21 61.96L201.53 62.03L201.84 47.35L224.53 47.27L224.21 61.96Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M246.9 61.8801L224.21 61.9601L224.53 47.2701L247.21 47.2001L246.9 61.8801Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M223.9 76.64L201.22 76.71L201.53 62.03L224.21 61.96L223.9 76.64Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M246.58 76.57L223.9 76.64L224.21 61.96L246.9 61.88L246.58 76.57Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M223.59 91.32L200.91 91.4L201.22 76.71L223.9 76.64L223.59 91.32Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M246.27 91.2501L223.59 91.3201L223.9 76.6401L246.58 76.5701L246.27 91.2501Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M223.28 106.01L200.59 106.08L200.91 91.4001L223.59 91.3201L223.28 106.01Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M245.96 105.93L223.28 106.01L223.59 91.32L246.27 91.25L245.96 105.93Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M269.94 47.2L247.25 47.27L247.57 32.59L270.25 32.52L269.94 47.2Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M269.62 61.8801L246.94 61.9601L247.25 47.2701L269.94 47.2001L269.62 61.8801Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M269.31 76.57L246.63 76.64L246.94 61.96L269.62 61.88L269.31 76.57Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M269 91.2501L246.32 91.3201L246.63 76.6401L269.31 76.5701L269 91.2501Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M268.69 105.93L246 106.01L246.32 91.32L269 91.25L268.69 105.93Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M247.69 115.35L238.02 125.02",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Bt.jsx)("path",{d:"M247.69 125.02L238.02 115.35",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Bt.jsx)("path",{d:"M242.86 127.02V113.35",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Bt.jsx)("path",{d:"M236.02 120.19H249.69",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Bt.jsx)("path",{d:"M242.86 123.1C244.467 123.1 245.77 121.797 245.77 120.19C245.77 118.583 244.467 117.28 242.86 117.28C241.253 117.28 239.95 118.583 239.95 120.19C239.95 121.797 241.253 123.1 242.86 123.1Z",fill:"white"}),(0,Bt.jsx)("path",{d:"M275.1 30.48L272.63 32.96",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M269.19 36.39L262.67 42.92",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Bt.jsx)("path",{d:"M260.95 44.63L258.48 47.11",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M275.1 47.11L272.63 44.63",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M269.19 41.1999L262.67 34.6699",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Bt.jsx)("path",{d:"M260.95 32.96L258.48 30.48",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M266.79 50.55V47.05",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M266.79 42.1901V32.9701",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Bt.jsx)("path",{d:"M266.79 30.54V27.04",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M255.03 38.79H258.53",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Bt.jsx)("path",{d:"M263.39 38.79H272.62",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Bt.jsx)("path",{d:"M275.05 38.79H278.55",stroke:"#D9E5FA",strokeMiterlimit:"10"})]}),(0,Bt.jsxs)("defs",{children:[(0,Bt.jsx)("pattern",{id:"pattern0_223_19073",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Bt.jsx)("use",{xlinkHref:"#image0_223_19073",transform:"scale(0.00390625 0.00578035)"})}),(0,Bt.jsx)("clipPath",{id:"clip0_223_19073",children:(0,Bt.jsx)("rect",{width:"375",height:"166",fill:"white"})}),(0,Bt.jsx)("image",{id:"image0_223_19073",width:"256",height:"173",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACtCAYAAABfh6HiAAAACXBIWXMAAAsSAAALEgHS3X78AAADyklEQVR4nO3d0W7jIBAFULzq//+y96FCdQkkTmong+ecp92NVoqqzmXAgEsBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKKWX59Bdoreu6fvo7wFmWZQlVc/8+/QWAz5k+AIIFKkxl+gAwY4DXTR8AwOsEACQmACAxAQCJCQBITABAYgIAEhMAkJgAgMQEACQmACAxAQCJCQBITABAYgIAEhMAkJgAgMQEACQmACAxAQCJTRkAbgKGY0wZAG4ChmNMGQDAMQQAJCYAIDEBAIkJAEhMAEBiAgASEwCQmACAxAQAJBYuAJZlsdcf3iRcAKzrWtZ1FQLwBuECoBa+Az9wvnABALxP2AAwBYDzhQuA2vpvpwDCAM4RLgBK+Sl46wFwrpABoODhPUIGwHbk1/7DecIFwLIsOgB4k3ABsFXDQBcA5wgdAL0nAsBxwgVAO+LXswG6ADje16e/wCNGfzhPuA6gFKv/8C7hAqAt/G37LxTgWOECoJTbR4EWA+EcIQOgFnqvG+j9GXhNyEXAbXFv1wN0AHCskB1Aq9cRCAP4u9AB0FsHqOwNgL+LWEHDod2oz+yWYKNWyDWAlsKHc4SdAtTbgavRluBggQpTCRsAtdjrU4BRF6A7gNeFDYCqDYHeYiDwmrAB4FJQOF/Eyvo1xD86GNTrCEwLiCraU4CwHUDVK+h7ZwMUP+wXPgBKuQ2B3t+B500RAKX03xEwOiMgEGCfaQJgq9fmK3p43nQBsGcjkHUA2Ge6AKjal4coenjedAHQ3g/g3QHwuqkC4N5o77gwPG+qAGgvB703+psSwGNTBUApt5eE9DqC7UEiYCxij/xU1bYdgKInMluBD7Yd6UcbgoL9zCGM6QOglNu1ALcIwz7TBkA76redgFEfHps2AHqj/fbRnxCAx6a4FHSv3kEhTwNgbNoOoJTfF4eOLg2tnwG3pu4Aeq8Qu7dbUDcAv03dAbRGxe2pAPRdIgB6m4HaBUHg1iUCoHdGYPuZl4lA3yUCoOrN/3vvEtARwLdLBcDoTMD2CYHtwfBj6qcAe4zWAXQBcLEOoNoz79cBwEUDoMexYbh16QAYvUzE6A/fLh0Ao7a/3Sew5//CFV02AHqLfu3R4XsdgSkCGVw2ANoir/9275wAZBPxt/60oddLRPg0dwIG4t0BZJcqANpi1wmQXZoAaO8LNPJDkgDo3Q84ukocMkkRAO0mIF0AfEsRAKX05/+9S0QBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI5z/Lu30pzkT74AAAAABJRU5ErkJggg=="})]})]}),h5=()=>(0,Bt.jsxs)(kQ,{children:[(0,Bt.jsx)(p5,{}),(0,Bt.jsxs)(AQ,{children:[(0,Bt.jsx)(Gk,{variant:"h5",align:"center",children:(0,kw.__)("Scan and improve more pages","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",align:"center",children:(0,kw.sprintf)(
// Translators: $s - page limit
// Translators: $s - page limit
(0,kw.__)("Your current plan allows scanning up to %s unique URLs. Upgrade to scan more and keep your site accessible.","pojo-accessibility"),y1)})]}),(0,Bt.jsx)(Wa,{size:"small",color:"promotion",variant:"contained",href:"https://go.elementor.com/acc-URL-limit-scanner",target:"_blank",rel:"noreferrer",startIcon:(0,Bt.jsx)(cJ,{}),onClick:()=>{ew(tw.upgradeButtonClicked,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"scan_triggered",feature_locked:"multi-page scan"})},children:(0,kw.__)("Upgrade now","pojo-accessibility")})]}),f5=()=>{const{remediations:e,setOpenedBlock:t,setIsManage:r}=Y2();return(0,Bt.jsxs)(kQ,{sx:{px:4},children:[(0,Bt.jsx)(z2,{}),(0,Bt.jsx)(Gk,{variant:"subtitle1",as:"h3",align:"center",children:(0,kw.__)("You’re all set!","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",align:"center",color:"text.secondary",children:(0,kw.__)("This page is now issue‑free. View all scans to track your progress, or review the fixes you just made.","pojo-accessibility")}),(0,Bt.jsxs)(PQ,{children:[e?.length>0&&(0,Bt.jsx)(Wa,{size:"small",variant:"outlined",color:"secondary",onClick:()=>{r(!0),t(v1.management)},children:(0,kw.__)("Review fixes","pojo-accessibility")}),(0,Bt.jsx)(Wa,{href:window?.ea11yScannerData?.dashboardUrl,size:"small",variant:"contained",color:"info",onClick:()=>{const e=document.getElementById(l1);a5(e)},children:(0,kw.__)("View all scans","pojo-accessibility")})]})]})},m5=({title:e,count:t,block:r})=>{const{setOpenedBlock:n,isResolved:o}=Y2(),i=0===t||o(r);return(0,Bt.jsx)(MQ,{variant:"outlined",color:"secondary",size:"large",fullWidth:!0,onClick:()=>{n(r),ew(tw.categoryClicked,{page_url:window.ea11yScannerData?.pageData?.url,issue_count:t,category_name:e,source:"assistant"})},children:(0,Bt.jsxs)(jQ,{elevation:0,variant:"elevation",color:i?"success":"default",children:[(0,Bt.jsxs)(nk,{display:"flex",alignItems:"center",gap:.5,children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h4",children:e}),!i&&(0,Bt.jsx)(PA,{label:t,color:"error",variant:"standard",size:"tiny"})]}),i&&(0,Bt.jsx)(BQ,{color:"success"})]})})};m5.propTypes={title:Y_().string.isRequired,count:Y_().number.isRequired,block:Y_().string.isRequired};const g5=()=>{const{sortedViolations:e,altTextData:t,manualData:r}=Y2(),n=e.altText.length>0;return Object.keys(e).some(t=>t!==v1.altText&&e[t]?.length)||n?(0,Bt.jsx)(LQ,{children:Object.keys(e).flatMap(n=>{if(e[n].length<1)return[];const o=n===v1.altText?t:r[n],i=o?.filter(e=>!0===e?.resolved).length||0;return(0,Bt.jsx)(m5,{title:w1[n],count:e[n].length-i,block:v1[n]},n)})}):null},y5=()=>(0,Bt.jsxs)(b5,{children:[(0,Bt.jsx)(Gk,{variant:"body2",as:"h3",children:(0,kw.__)("All issues","pojo-accessibility")}),(0,Bt.jsx)(g5,{})]}),b5=da(wO)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(2)};
padding: 0 ${({theme:e})=>e.spacing(2)};
`;var v5=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 3.25C18.6642 3.25 19 3.58579 19 4C19 4.33152 19.1317 4.64946 19.3661 4.88388C19.6005 5.1183 19.9185 5.25 20.25 5.25C20.6642 5.25 21 5.58579 21 6C21 6.41421 20.6642 6.75 20.25 6.75C19.9185 6.75 19.6005 6.8817 19.3661 7.11612C19.1317 7.35054 19 7.66848 19 8C19 8.41421 18.6642 8.75 18.25 8.75C17.8358 8.75 17.5 8.41421 17.5 8C17.5 7.66848 17.3683 7.35054 17.1339 7.11612C16.8995 6.8817 16.5815 6.75 16.25 6.75C15.8358 6.75 15.5 6.41421 15.5 6C15.5 5.58579 15.8358 5.25 16.25 5.25C16.5815 5.25 16.8995 5.1183 17.1339 4.88388C17.3683 4.64946 17.5 4.33152 17.5 4C17.5 3.58579 17.8358 3.25 18.25 3.25ZM18.25 5.88746C18.2318 5.90673 18.2133 5.92576 18.1945 5.94454C18.1758 5.96333 18.1567 5.98182 18.1375 6C18.1567 6.01819 18.1758 6.03667 18.1945 6.05546C18.2133 6.07424 18.2318 6.09327 18.25 6.11254C18.2682 6.09327 18.2867 6.07424 18.3055 6.05546C18.3242 6.03667 18.3433 6.01819 18.3625 6C18.3433 5.98182 18.3242 5.96333 18.3055 5.94454C18.2867 5.92576 18.2682 5.90673 18.25 5.88746ZM9.25 5.25C9.66421 5.25 10 5.58579 10 6C10 7.39239 10.5531 8.72774 11.5377 9.71231C12.5223 10.6969 13.8576 11.25 15.25 11.25C15.6642 11.25 16 11.5858 16 12C16 12.4142 15.6642 12.75 15.25 12.75C13.8576 12.75 12.5223 13.3031 11.5377 14.2877C10.5531 15.2723 10 16.6076 10 18C10 18.4142 9.66421 18.75 9.25 18.75C8.83579 18.75 8.5 18.4142 8.5 18C8.5 16.6076 7.94688 15.2723 6.96231 14.2877C5.97774 13.3031 4.64239 12.75 3.25 12.75C2.83579 12.75 2.5 12.4142 2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25C4.64239 11.25 5.97774 10.6969 6.96231 9.71231C7.94688 8.72774 8.5 7.39239 8.5 6C8.5 5.58579 8.83579 5.25 9.25 5.25ZM9.25 9.09234C8.93321 9.70704 8.52103 10.2749 8.02297 10.773C7.52491 11.271 6.95704 11.6832 6.34234 12C6.95704 12.3168 7.52491 12.729 8.02297 13.227C8.52103 13.7251 8.93321 14.293 9.25 14.9077C9.56679 14.293 9.97897 13.7251 10.477 13.227C10.9751 12.729 11.543 12.3168 12.1577 12C11.543 11.6832 10.9751 11.271 10.477 10.773C9.97897 10.2749 9.56679 9.70704 9.25 9.09234ZM18.25 15.25C18.6642 15.25 19 15.5858 19 16C19 16.3315 19.1317 16.6495 19.3661 16.8839C19.6005 17.1183 19.9185 17.25 20.25 17.25C20.6642 17.25 21 17.5858 21 18C21 18.4142 20.6642 18.75 20.25 18.75C19.9185 18.75 19.6005 18.8817 19.3661 19.1161C19.1317 19.3505 19 19.6685 19 20C19 20.4142 18.6642 20.75 18.25 20.75C17.8358 20.75 17.5 20.4142 17.5 20C17.5 19.6685 17.3683 19.3505 17.1339 19.1161C16.8995 18.8817 16.5815 18.75 16.25 18.75C15.8358 18.75 15.5 18.4142 15.5 18C15.5 17.5858 15.8358 17.25 16.25 17.25C16.5815 17.25 16.8995 17.1183 17.1339 16.8839C17.3683 16.6495 17.5 16.3315 17.5 16C17.5 15.5858 17.8358 15.25 18.25 15.25ZM18.25 17.8875C18.2318 17.9067 18.2133 17.9258 18.1945 17.9445C18.1758 17.9633 18.1567 17.9818 18.1375 18C18.1567 18.0182 18.1758 18.0367 18.1945 18.0555C18.2133 18.0742 18.2318 18.0933 18.25 18.1125C18.2682 18.0933 18.2867 18.0742 18.3055 18.0555C18.3242 18.0367 18.3433 18.0182 18.3625 18C18.3433 17.9818 18.3242 17.9633 18.3055 17.9445C18.2867 17.9258 18.2682 17.9067 18.25 17.8875Z"})));const x5=Yw((0,Bt.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),w5=Yw((0,Bt.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),C5=Yw((0,Bt.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function _5(e){return Co("MuiCheckbox",e)}const k5=_o("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),A5=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],S5=fo(IE,{shouldForwardProp:e=>ho(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${Zi(r.size)}`],"default"!==r.color&&t[`color${Zi(r.color)}`]]}})(({theme:e,ownerState:t})=>(0,je.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,Oe.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&&{[`&.${k5.checked}, &.${k5.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${k5.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),j5=(0,Bt.jsx)(w5,{}),M5=(0,Bt.jsx)(x5,{}),R5=(0,Bt.jsx)(C5,{}),I5=n.forwardRef(function(e,t){var r,o;const i=go({props:e,name:"MuiCheckbox"}),{checkedIcon:a=j5,color:s="primary",icon:l=M5,indeterminate:c=!1,indeterminateIcon:u=R5,inputProps:d,size:p="medium",className:h}=i,f=(0,Me.A)(i,A5),m=c?u:l,g=c?u:a,y=(0,je.A)({},i,{color:s,indeterminate:c,size:p}),b=(e=>{const{classes:t,indeterminate:r,color:n,size:o}=e,i=lo({root:["root",r&&"indeterminate",`color${Zi(n)}`,`size${Zi(o)}`]},_5,t);return(0,je.A)({},t,i)})(y);return(0,Bt.jsx)(S5,(0,je.A)({type:"checkbox",inputProps:(0,je.A)({"data-indeterminate":c},d),icon:n.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:p}),checkedIcon:n.cloneElement(g,{fontSize:null!=(o=g.props.fontSize)?o:p}),ownerState:y,ref:t,className:io(b.root,h)},f,{classes:b}))}),E5=I5;var T5=o().forwardRef((e,t)=>o().createElement(E5,{...e,ref:t}));const P5={size:"medium"},L5=o().forwardRef((e,t)=>{const{size:r,...n}={...P5,...e};return o().createElement(ZM,{...n,size:"medium"===r?"normal":r,ref:t})});L5.defaultProps=P5;const O5=da(L5)`
display: flex;
align-items: start;
overflow: visible;
gap: ${({theme:e})=>e.spacing(.5)};
`,N5=da(_E)`
display: flex;
justify-content: center;
align-items: center;
height: 140px;
& > * {
max-height: 100%;
width: auto;
}
`,$5=({element:e})=>{const t=(0,Fn.useRef)(null);return(0,Fn.useEffect)(()=>{if(!e||!t.current)return;const r=e.tagName.toLowerCase();if(!["img","svg"].includes(r))return;const n=e.cloneNode(!0);n.removeAttribute("style"),n.style.cssText="",n.setAttribute("role","presentation"),t.current.innerHTML="",t.current.appendChild(n)},[e]),(0,Bt.jsx)(N5,{color:"secondary",elevation:0,square:!0,ref:t})};$5.propTypes={element:Y_().instanceOf(Node).isRequired};const z5=da(g0)`
border-right: none;
border-left: none;
`,D5=da(L0)`
min-height: 44px;
& .MuiAccordionSummary-content {
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
width: calc(100% - ${({theme:e})=>e.spacing(4)});
}
& .MuiRadio-root {
padding: 0;
}
& .MuiRadio-root.Mui-disabled {
color: ${({theme:e})=>e.palette.action.active};
}
& .MuiRadio-root.Mui-checked {
color: ${({theme:e})=>e.palette.info.main};
}
`,B5=da(C0)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(2)};
padding-bottom: 0;
`,F5=da(Gk)`
width: 335px;
word-break: break-word;
`,H5=da(nk)`
padding: ${({theme:e})=>e.spacing(2)};
max-width: 368px;
white-space: normal;
`,V5=da(nk)`
display: flex;
justify-content: flex-end;
margin-top: ${({theme:e})=>e.spacing(2)};
`,W5=da(nk)`
display: flex;
justify-content: space-between;
margin-bottom: ${({theme:e})=>e.spacing(1)};
min-height: 32px;
`,q5=da(nk)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
align-items: center;
`,U5=da($R)`
textarea {
font-size: 14px;
}
`,Z5=({closeUpgrade:e,isAlt:t=!1})=>(0,Bt.jsxs)(H5,{children:[(0,Bt.jsxs)(TQ,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle1",sx:{mb:3},children:m1?(0,kw.__)("You've reached the monthly limit","pojo-accessibility"):(0,kw.__)("Resolve issues automatically with AI","pojo-accessibility")}),e&&(0,Bt.jsx)(fC,{onClick:e,size:"small",edge:"end",sx:{mt:-1},children:(0,Bt.jsx)(W2,{})})]}),(0,Bt.jsx)(Gk,{variant:"body2",color:"secondary",sx:{mb:2},children:m1?(0,kw.__)("To work more magic with AI, upgrade your plan or wait until next month.","pojo-accessibility"):(0,kw.__)("Upgrade your plan to skip the manual work and have Ally's AI auto-resolve accessibility issues for you.","pojo-accessibility")}),(0,Bt.jsx)(V5,{children:(0,Bt.jsx)(Wa,{size:"small",color:"promotion",variant:"contained",href:m1?"https://go.elementor.com/acc-AI-limit-scanner":"https://go.elementor.com/acc-free-no-AI-scanner",target:"_blank",rel:"noreferrer",startIcon:m1?null:(0,Bt.jsx)(cJ,{}),onClick:()=>{ew(tw.upgradeButtonClicked,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"ai_suggestion_accepted",feature_locked:t?"AI alt-text":"AI manual"})},children:m1?(0,kw.__)("Compare plans","pojo-accessibility"):(0,kw.__)("Upgrade now","pojo-accessibility")})})]});Z5.propTypes={closeUpgrade:Y_().func,isAlt:Y_().bool};const G5=Y_().shape({ruleId:Y_().string.isRequired,value:Y_().arrayOf(Y_().number).isRequired,path:Y_().shape({dom:Y_().string.isRequired,aria:Y_().string.isRequired,selector:Y_().string.isRequired}).isRequired,messageArgs:Y_().arrayOf(Y_().string),reasonCategory:Y_().string.isRequired,category:Y_().string.isRequired,level:Y_().string.isRequired,node:Y_().node}),X5=e=>new Promise((t,r)=>{const n=new Image;n.onload=()=>{const r=document.createElement("canvas");r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(n,0,0,n.width,n.height),URL.revokeObjectURL(e);const o=r.toDataURL("image/png");t(o)},n.onerror=r,n.src=e}),K5=e=>{const t=(new XMLSerializer).serializeToString(e),r=new Blob([t],{type:"image/svg+xml"}),n=URL.createObjectURL(r);return X5(n)},Y5=({current:e,item:t})=>{const{altTextData:r,setAltTextData:n,resolved:o,currentScanId:i,setResolved:a,isResolved:s,setOpenedBlock:l,updateRemediationList:c}=Y2(),{error:u}=qn(),[d,p]=(0,Fn.useState)(!1),[h,f]=(0,Fn.useState)(!1),[m,g]=(0,Fn.useState)(!0),y=!r?.[e]?.makeDecorative&&!r?.[e]?.altText||r?.[e]?.resolved||h;(0,Fn.useEffect)(()=>{!m&&s(v1.altText)&&(Z2(),l(v1.main)),g(!1)},[r]);const b=t=>{const i=[...r];r?.[e]?.resolved&&!t.resolved&&a(o-1),i[e]={...r?.[e]||{},...t},n(i)},v=e=>{ew(tw.fixWithAiButtonClicked,{issue_type:t.message,rule_id:t.ruleId,wcag_level:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:v1.altText,ai_text_response:e,page_url:window.ea11yScannerData?.pageData?.url})};return{loadingAiText:d,data:r,isSubmitDisabled:y,loading:h,handleCheck:e=>{b({makeDecorative:e.target.checked,apiId:null,resolved:!1}),e.target.checked&&ew(tw.markAsDecorativeSelected,{category_name:v1.altText})},handleChange:e=>{b({altText:e.target.value,apiId:null,resolved:!1})},handleSubmit:async()=>{try{f(!0);const n=r?.[e]?.apiId?"AI alt-text":"Manual alt-text";await(async()=>{const n=t.node.className.toString().match(/wp-image-(\d+)/),o=r?.[e]?.makeDecorative?"":r?.[e]?.altText;try{n&&"svg"!==t.node.tagName&&to.submitAltText(t.node.src,o),await to.submitRemediation({url:window?.ea11yScannerData?.pageData.url,remediation:{...r?.[e]?.makeDecorative?(t.node.setAttribute("role","presentation"),{attribute_name:"role",attribute_value:"presentation"}):"svg"===t.node.tagName?(t.node.setAttribute("aria-label",r?.[e]?.altText),{attribute_name:"aria-label",attribute_value:r?.[e]?.altText}):(t.node.setAttribute("alt",r?.[e]?.altText),{attribute_name:"alt",attribute_value:r?.[e]?.altText}),action:"add",xpath:t.path.dom,category:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",type:"ATTRIBUTE"},rule:t.ruleId,group:v1.altText,apiId:r?.[e]?.apiId}),await to.resolveIssue(i),c()}catch(e){console.warn(e)}})(),r?.[e]?.resolved||(b({resolved:!0}),a(o+1)),r?.[e]?.apiId&&ew(tw.aiSuggestionAccepted,{element_selector:t.path.dom,image_src:t.node?.src,final_text:r?.[e]?.altText,credit_used:1}),ew(tw.applyFixButtonClicked,{fix_method:r?.[e]?.makeDecorative?"Mark as decorative":n,issue_type:t.message,category_name:v1.altText,page_url:window.ea11yScannerData?.pageData?.url})}catch(e){console.error(e)}finally{f(!1)}},generateAltText:async()=>{if(r?.[e]?.aiText?.length){const t=r?.[e]?.aiTextIndex+1<r?.[e]?.aiText?.length?r?.[e]?.aiTextIndex+1:0;b({altText:r?.[e]?.aiText[t],aiTextIndex:t,resolved:!1}),v(r?.[e]?.aiText[t])}else await(async()=>{p(!0);const e=await(async()=>t.node?.src?t.node.src.toLowerCase().endsWith(".svg")?{svg:await X5(t.node.src)}:{image:t.node.src}:{svg:await K5(t.node)})();try{const t=await to.generateAltText(e),r=t.data.response.replace("Here are 5 alt text descriptions for the image:","").replace("Here are 5 concise alt text descriptions for the image:","").split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>(e.indexOf(".")!==e.length-1&&(e=e.replace(/^[^\.]*\.\s*/,"")),e.length>=2&&e.startsWith('"')&&e.endsWith('"')&&(e=e.slice(1,-1)),e));r[0]&&(b({altText:r[0],aiText:r,apiId:t.data.apiId,aiTextIndex:0,resolved:!1}),v(r[0]))}catch(e){console.log(e),u((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{p(!1)}})()}}};Y5.propTypes={current:Y_().number.isRequired,item:G5.isRequired};const J5=({items:e,current:t,setCurrent:r})=>{var n,o;const{error:i}=qn(),{data:a,loadingAiText:s,isSubmitDisabled:l,loading:c,handleChange:u,handleCheck:d,handleSubmit:p,generateAltText:h}=Y5({current:t,item:e[t]});return(0,Bt.jsxs)(NQ,{children:[(0,Bt.jsx)(X_,{}),(0,Bt.jsx)($5,{element:e[t].node}),(0,Bt.jsxs)(O5,{children:[(0,Bt.jsx)(T5,{checked:null!==(n=a?.[t]?.makeDecorative)&&void 0!==n&&n,color:"info",sx:{margin:"-7px 0 0 -10px"},size:"small",onChange:d}),(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(Gk,{variant:"body1",children:(0,kw.__)("Mark image as decorative","pojo-accessibility")}),(0,Bt.jsx)(UO,{sx:{mt:0},children:(0,kw.__)("(decorative images don't need description)","pojo-accessibility")})]})]}),a?.[t]?.makeDecorative?(0,Bt.jsxs)(nk,{display:"flex",gap:1,children:[(0,Bt.jsx)(BQ,{color:"success"}),(0,Bt.jsx)(Gk,{variant:"body1",children:(0,kw.__)("no description needed","pojo-accessibility")})]}):(0,Bt.jsx)($R,{placeholder:(0,kw.__)("Add or generate the description here","pojo-accessibility"),"aria-label":(0,kw.__)("Add or generate the description here","pojo-accessibility"),color:"secondary",value:null!==(o=a?.[t]?.altText)&&void 0!==o?o:"",onChange:u,fullWidth:!0,multiline:!0,disabled:s,InputProps:{endAdornment:(0,Bt.jsx)(OS,{position:"end",children:m1&&g1?(0,Bt.jsx)(HP,{placement:"top-end",title:(0,kw.__)("Generate an Alt text description with AI.","pojo-accessibility"),PopperProps:{disablePortal:!0},slotProps:{tooltip:{sx:{maxWidth:"101px",whiteSpace:"normal",lineHeight:1.4}}},children:(0,Bt.jsx)(fC,{size:"small",onClick:h,disabled:s,children:s?(0,Bt.jsx)($a,{color:"info",size:24}):(0,Bt.jsx)(v5,{color:"info"})})}):(0,Bt.jsx)(o$,{placement:"top-end",slotProps:{tooltip:{id:"ai-btn-description"}},PopperProps:{disablePortal:!0},content:(0,Bt.jsx)(Z5,{isAlt:!0}),children:(0,Bt.jsx)(fC,{size:"small","aria-labelledby":"ai-btn-description",onHover:()=>{ew(tw.upgradeSuggestionViewed,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"fix_with_ai",feature_locked:"AI alt-text"})},children:(0,Bt.jsx)(v5,{color:"promotion"})})})})}}),(0,Bt.jsx)(_Q,{color:"info",sx:{p:2},icon:!1,children:(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(d$,{sx:{display:"inline-block"},children:(0,kw.__)("Tips:","pojo-accessibility")}),(0,kw.__)("Keep descriptions short and simple, describing what the image shows or why it's on the page.","pojo-accessibility")]})}),(0,Bt.jsx)(Wa,{variant:"contained",color:"info",fullWidth:!0,loading:c,disabled:l,onClick:async()=>{try{await p(),r(t+1)}catch(e){i((0,kw.__)("An error occurred.","pojo-accessibility"))}},children:(0,kw.__)("Resolve","pojo-accessibility")})]})};J5.propTypes={items:Y_().arrayOf(G5).isRequired,current:Y_().number.isRequired,setCurrent:Y_().func.isRequired};var Q5=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.01972 18.2803C8.72683 17.9874 8.72683 17.5126 9.01972 17.2197L14.4894 11.75L9.01972 6.28033C8.72682 5.98744 8.72682 5.51256 9.01972 5.21967C9.31261 4.92678 9.78749 4.92678 10.0804 5.21967L16.0804 11.2197C16.3733 11.5126 16.3733 11.9874 16.0804 12.2803L10.0804 18.2803C9.78749 18.5732 9.31261 18.5732 9.01972 18.2803Z"})));const e4=({total:e,current:t,setCurrent:r})=>{const{openedBlock:n}=Y2(),o=t-1,i=t+1,a=(e,t)=>()=>{r(e),ew(tw.navigationImageClicked,{direction:t,category:n})};return(0,Bt.jsxs)(t4,{children:[(0,Bt.jsx)(X_,{}),(0,Bt.jsx)(r4,{children:(0,Bt.jsxs)(n4,{children:[(0,Bt.jsx)(o4,{onClick:a(o,"previous"),disabled:0===t,"aria-label":(0,kw.__)("Previous","pojo-accessibility"),children:(0,Bt.jsx)(YP,{})}),(0,Bt.jsx)(Gk,{variant:"body1",children:(0,kw.sprintf)(
// Translators: %1$s - current, %2$s - total
// Translators: %1$s - current, %2$s - total
(0,kw.__)("%1$s of %2$s issues","pojo-accessibility"),t+1,e)}),(0,Bt.jsx)(o4,{onClick:a(i,"next"),disabled:t===e-1,"aria-label":(0,kw.__)("Next","pojo-accessibility"),children:(0,Bt.jsx)(Q5,{})})]})})]})},t4=da(nk)`
position: absolute;
bottom: 0;
left: 0;
width: 100%;
`,r4=da(nk)`
display: flex;
justify-content: center;
padding-block: ${({theme:e})=>e.spacing(2)};
`,n4=da(nk)`
display: flex;
justify-content: space-between;
align-items: center;
gap: ${({theme:e})=>e.spacing(2)};
`,o4=da(fC)`
${f1?"transform: rotate(180deg)":""}
`;e4.propTypes={total:Y_().number.isRequired,current:Y_().number.isRequired,setCurrent:Y_().func.isRequired};const i4=()=>{const{sortedViolations:e,isResolved:t}=Y2(),[r,n]=(0,Fn.useState)(0),o=t(v1.altText);(0,Fn.useEffect)(()=>{const t=e.altText[r];!o&&e.altText.length?U2(t.node):Z2(),ew(tw.issueSelected,{issue_type:t.message,rule_id:t.ruleId,wcag_level:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:v1.altText})},[r]);const i=t=>{t>e.altText.length-1?n(0):n(t)};return(0,Bt.jsxs)(xQ,{children:[(0,Bt.jsx)(J5,{items:e.altText,current:r,setCurrent:i}),(0,Bt.jsx)(e4,{total:e.altText.length,current:r,setCurrent:i})]})};var a4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5303 6.46967C20.8232 6.76256 20.8232 7.23744 20.5303 7.53033L10.5303 17.5303C10.2374 17.8232 9.76256 17.8232 9.46967 17.5303L4.46967 12.5303C4.17678 12.2374 4.17678 11.7626 4.46967 11.4697C4.76256 11.1768 5.23744 11.1768 5.53033 11.4697L10 15.9393L19.4697 6.46967C19.7626 6.17678 20.2374 6.17678 20.5303 6.46967Z"}))),s4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05546 4.05546C4.57118 3.53973 5.27065 3.25 6 3.25H14C14.7293 3.25 15.4288 3.53973 15.9445 4.05546C16.4603 4.57118 16.75 5.27065 16.75 6V7.25H18C19.5188 7.25 20.75 8.48122 20.75 10V18C20.75 19.5188 19.5188 20.75 18 20.75H10C8.48122 20.75 7.25 19.5188 7.25 18V16.75H6C5.27065 16.75 4.57118 16.4603 4.05546 15.9445C3.53973 15.4288 3.25 14.7293 3.25 14V6C3.25 5.27065 3.53973 4.57118 4.05546 4.05546ZM8.75 18C8.75 18.6904 9.30964 19.25 10 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V10C19.25 9.30964 18.6904 8.75 18 8.75H10C9.30964 8.75 8.75 9.30964 8.75 10V18ZM15.25 7.25H10C8.48122 7.25 7.25 8.48122 7.25 10V15.25H6C5.66848 15.25 5.35054 15.1183 5.11612 14.8839C4.8817 14.6495 4.75 14.3315 4.75 14V6C4.75 5.66848 4.8817 5.35054 5.11612 5.11612C5.35054 4.8817 5.66848 4.75 6 4.75H14C14.3315 4.75 14.6495 4.8817 14.8839 5.11612C15.1183 5.35054 15.25 5.66848 15.25 6V7.25Z"})));function l4(e){return Co("MuiAccordionActions",e)}_o("MuiAccordionActions",["root","spacing"]);const c4=["className","disableSpacing"],u4=Aw(),d4=fo("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),p4=n.forwardRef(function(e,t){const r=u4({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:o=!1}=r,i=(0,Me.A)(r,c4),a=(0,je.A)({},r,{disableSpacing:o}),s=(e=>{const{classes:t,disableSpacing:r}=e;return lo({root:["root",!r&&"spacing"]},l4,t)})(a);return(0,Bt.jsx)(d4,(0,je.A)({className:io(s.root,n),ref:t,ownerState:a},i))});var h4=o().forwardRef((e,t)=>o().createElement(p4,{...e,ref:t}));const f4=({closeUpgrade:e,openUpgrade:t,children:r})=>(0,Bt.jsx)(o$,{placement:"top",onClose:e,open:t,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,PopperProps:{disablePortal:!0},content:(0,Bt.jsx)(Z5,{closeUpgrade:e}),children:r});f4.propTypes={closeUpgrade:Y_().func.isRequired,openUpgrade:Y_().bool.isRequired,children:Y_().node};const m4=()=>{const{openedBlock:e}=Y2(),[t,r]=(0,Fn.useState)(!1);return{copied:t,copyToClipboard:(t,n,o)=>async()=>{await X1()(t),r(!0),setTimeout(()=>r(!1),5e3),ew(tw.copySnippetClicked,{snippet_type:n,snippet_content:t,category_name:e,source:o})}}},g4=({item:e,current:t})=>{const{openedBlock:r,manualData:n,setOpenIndex:o,setManualData:i,resolved:a,currentScanId:s,setResolved:l,isResolved:c,setOpenedBlock:u,updateRemediationList:d}=Y2(),{error:p}=qn(),[h,f]=(0,Fn.useState)(!1),[m,g]=(0,Fn.useState)(!1),[y,b]=(0,Fn.useState)(!0);(0,Fn.useEffect)(()=>{!y&&c(r)&&(Z2(),u(v1.main)),b(!1)},[n]);const v=e=>{const o=[...n[r]];o[t]={...n[r]?.[t]||{},...e},i({...n,[r]:o})},x=()=>{v({resolved:!0}),l(a+1),o(t+1)};return{aiResponseLoading:h,resolving:m,markResolved:x,getAISuggestion:async()=>{try{f(!0);const t=await to.resolveWithAI({snippet:e.snippet,violation:e.ruleId});v({aiSuggestion:t.data.response,apiId:t.data.apiId,resolved:!1})}catch(e){console.log(e),p((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{f(!1)}},resolveIssue:async o=>{g(!0);try{const i=o||n[r][t]?.aiSuggestion.snippet;await to.submitRemediation({url:window?.ea11yScannerData?.pageData.url,remediation:{find:e.snippet,replace:i,xpath:e.path.dom,category:e.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",type:"REPLACE"},rule:e.ruleId,group:v1[r],apiId:n[r]?.[t]?.apiId}),await to.resolveIssue(s),x(),ew(tw.applyFixButtonClicked,{fix_method:o?"manual":"AI",issue_type:e.message,snippet_content:i,category_name:r,source:"assistant",page_url:window.ea11yScannerData?.pageData?.url}),d()}catch(e){console.log(e),p((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{g(!1)}}}};g4.propTypes={item:G5,current:Y_().number.isRequired};const y4=({item:e,current:t})=>{const{manualData:r,openedBlock:n}=Y2(),{copied:o,copyToClipboard:i}=m4(),{getAISuggestion:a,resolveIssue:s,aiResponseLoading:l,resolving:c}=g4({item:e,current:t}),[u,d]=(0,Fn.useState)(!1),[p,h]=(0,Fn.useState)(!1),[f,m]=(0,Fn.useState)(!1),[g,y]=(0,Fn.useState)(null);(0,Fn.useEffect)(()=>{y({...r[n][t]?.aiSuggestion,submitted:!1}),m(r[n][t]?.aiSuggestion?.snippet)},[r[n][t]?.aiSuggestion]);const b=async()=>{m1&&g1?(await a(),ew(tw.fixWithAiButtonClicked,{issue_type:e.message,rule_id:e.ruleId,wcag_level:e.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:n,page_url:window.ea11yScannerData?.pageData?.url})):(d(!0),ew(tw.upgradeSuggestionViewed,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"fix_with_ai",feature_locked:"AI manual"}))},v=l||c||p&&!f||p&&f===g?.snippet;return g?.snippet?(0,Bt.jsx)(nk,{children:(0,Bt.jsxs)(gO,{variant:"outlined",sx:{overflow:"visible"},children:[(0,Bt.jsxs)(wO,{sx:{pt:1.5,pb:0},children:[(0,Bt.jsxs)(W5,{children:[(0,Bt.jsxs)(q5,{children:[(0,Bt.jsx)(v5,{}),(0,Bt.jsx)(Gk,{variant:"subtitle2",children:(0,kw.__)("Resolve with AI","pojo-accessibility")}),g?.explanation&&(0,Bt.jsx)(o$,{placement:"top",PopperProps:{disablePortal:!0},content:(0,Bt.jsxs)(H5,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle1",sx:{mb:1,textTransform:"none"},children:(0,kw.__)("How AI resolves this?","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",children:g.explanation})]}),children:(0,Bt.jsx)(KO,{fontSize:"small"})})]}),!p&&(0,Bt.jsx)(HP,{placement:"top",title:(0,kw.__)("Edit","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(fC,{size:"tiny",onClick:()=>{h(!0),ew(tw.editSnippetClicked,{snippet_content:g.snippet,category_name:n,source:"assistant"})},children:(0,Bt.jsx)(K1,{fontSize:"small"})})})]}),p?(0,Bt.jsx)(U5,{value:f,color:"secondary",size:"small",multiline:!0,fullWidth:!0,onChange:e=>{m(e.target.value),y({...g,submitted:!1})},inputProps:{"aria-label":(0,kw.__)("Manual edit","pojo-accessibility")}}):(0,Bt.jsx)(_Q,{color:"info",icon:!1,disabled:v,children:(0,Bt.jsxs)(nk,{display:"flex",gap:.5,alignItems:"start",children:[(0,Bt.jsx)(F5,{variant:"body2",sx:{width:"290px"},children:g.snippet}),(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(HP,{arrow:!0,placement:"bottom",title:o?(0,kw.__)("Copied!","pojo-accessibility"):(0,kw.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(fC,{size:"tiny",onClick:i(g.snippet,"fixed_snippet","assistant"),children:(0,Bt.jsx)(s4,{fontSize:"tiny"})})})})]})})]}),(0,Bt.jsxs)(qO,{sx:{p:2},children:[p?(0,Bt.jsx)(Wa,{size:"small",color:"secondary",variant:"text",onClick:()=>h(!1),children:(0,kw.__)("Cancel","pojo-accessibility")}):(0,Bt.jsx)(HP,{arrow:!0,placement:"bottom",title:(0,kw.__)("Generate another solution","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(Wa,{size:"small",color:"secondary",variant:"text",onClick:b,disabled:v,loading:l,loadingPosition:"start","aria-label":(0,kw.__)("Retry","pojo-accessibility"),children:(0,kw.__)("Retry","pojo-accessibility")})}),(0,Bt.jsx)(Wa,{size:"small",color:"info",variant:"contained",disabled:v||g?.submitted,loading:c,loadingPosition:"start",onClick:async()=>{await s(p?f:null),y({...g,snippet:f,submitted:!p})},children:p?(0,kw.__)("Apply changes","pojo-accessibility"):(0,kw.__)("Apply fix","pojo-accessibility")})]})]})}):(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(f4,{closeUpgrade:()=>d(!1),openUpgrade:u,children:(0,Bt.jsx)(Wa,{variant:"contained",size:"small",color:m1&&g1?"info":"promotion",startIcon:(0,Bt.jsx)(v5,{}),fullWidth:!0,disabled:l,loading:l,onClick:b,children:(0,kw.__)("Let AI resolve it for you","pojo-accessibility")})})})};y4.propTypes={item:G5,current:Y_().number.isRequired};const b4={table_caption_empty:{violationName:(0,kw.__)("Missing or Unclear Table Caption","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Table captions must clearly describe the table.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a table caption doesn’t describe the table’s purpose, people relying on assistive technologies may struggle to understand what the information relates to.","pojo-accessibility"),howToResolve:(0,kw.__)("Give every data table a short caption that tells people what the table shows.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A table caption is missing or says something vague like "Table 1," giving users no real idea what the table is about',"pojo-accessibility"),resolution:[(0,kw.__)("For a pricing table, add a caption that says “Monthly vs. Annual Plans.” For a class‑attendance table, add “Boys and Girls in Elementary School Classes.”","pojo-accessibility"),(0,kw.__)("Table needs a descriptive caption like 'Monthly vs. Annual Plans'.","pojo-accessibility")]}},table_caption_nested:{violationName:(0,kw.__)("Table Caption Placement","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Captions must be placed inside their tables.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the caption isn’t properly placed inside the table, people relying on assistive technologies may not know which caption belongs to which table, leading to confusion.","pojo-accessibility"),howToResolve:(0,kw.__)("Add the caption as part of the table, not as separate text above or below it.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A table caption is written outside the table code, making it harder for assistive technologies to connect the caption with the correct table.","pojo-accessibility"),resolution:[(0,kw.__)("Select your table block or widget and look for a field called Caption or Title. Type something like “Fruit Sales 2025” there—this attaches the label directly to the table. If you already wrote the caption as a regular heading or paragraph just above the table, cut that text and paste it into the table’s Caption field instead.","pojo-accessibility"),(0,kw.__)("Make sure the caption (e.g., 'Fruit Sales 2025') is placed inside the table itself, not outside.","pojo-accessibility")]}},table_summary_redundant:{violationName:(0,kw.__)("Missing or Unclear Table Caption","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Table summaries must add new information, not repeat the caption.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the summary just repeats the caption, it doesn’t give people any additional context, making it less useful for people relying on assistive technologies.","pojo-accessibility"),howToResolve:(0,kw.__)("Keep just one clear caption or add a short extra note only if the caption needs help.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A table’s caption says "Sales Data 2024" and its summary says exactly the same thing, providing no extra help for screen reader users.',"pojo-accessibility"),resolution:[(0,kw.__)("Caption is enough: If the caption already says “Monthly Budget Breakdown,” delete any extra “Summary” paragraph that repeats those same words. Caption needs a bit more: If your caption is “Age Demographics by Country” but readers also need to know the columns are “0‑14, 15‑64, 65+,” add one short sentence right before the table that explains those age groups—then keep the caption as is.","pojo-accessibility"),(0,kw.__)("Avoid repeating the caption in the summary; only add details if they help clarify the table.","pojo-accessibility")]}},label_content_exists:{violationName:(0,kw.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels must clearly describe the purpose of form fields.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a label doesn’t clearly describe the form field’s purpose, people relying on assistive technologies may not know what to do, leading to mistakes or frustration.","pojo-accessibility"),howToResolve:(0,kw.__)("Give every input or checkbox a short label that tells people what to enter or choose.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A form label is empty or too vague (like "Field 1"), making it unclear what information the user should enter.',"pojo-accessibility"),resolution:[(0,kw.__)("An email field with no label should read “Email address.” A blank checkbox label becomes “Subscribe to newsletter.”","pojo-accessibility"),(0,kw.__)("Every form input must have a meaningful label, like “Email address” or “Subscribe to newsletter.”","pojo-accessibility")]}},text_spacing_valid:{violationName:(0,kw.__)("Fixed Text Spacing","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Text spacing shouldn't be locked, so people can adjust readability.","pojo-accessibility"),whyItMatters:(0,kw.__)("When spacing can’t be adjusted, people with dyslexia or visual impairments may struggle to read comfortably.","pojo-accessibility"),howToResolve:(0,kw.__)("Don’t lock the distance between letters, words, or lines—use your theme’s normal text settings, and let visitors change spacing if they need to.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A block of text has fixed spacing that users can’t change, making it harder for people with reading difficulties to read comfortably.","pojo-accessibility"),resolution:[(0,kw.__)("If you added custom styling that forces very tight or very wide text, remove that custom rule and rely on the theme’s built‑in font controls instead.","pojo-accessibility"),(0,kw.__)("Text must use flexible spacing so users can adjust it for better readability.","pojo-accessibility")]}},text_contrast_sufficient:{violationName:(0,kw.__)("Insufficient Color Contrast","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Text must have enough contrast against the background.","pojo-accessibility"),whyItMatters:(0,kw.__)("If text doesn’t have enough contrast with the background, many people may struggle to read it, especially those with visual impairments or when viewing on different screens.","pojo-accessibility"),howToResolve:(0,kw.__)("Choose color pairs that are easy to read—darken the text or lighten the background (or both) until a contrast‑checker says the combination passes accessibility tests.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("Light gray text on a white background is hard to read, especially for users with low vision.","pojo-accessibility"),resolution:[(0,kw.__)("Light‑gray body text on a white page looks faint; change the text to a darker gray or black, or place it on a pale‑gray card. White words on a pastel‑blue button can be hard to see; keep the white text but deepen the blue to navy so it pops. Large headings can tolerate slightly softer contrast than small body text, but they still need to stand out clearly—check both sizes with a free online contrast‑checker.","pojo-accessibility"),(0,kw.__)("Use a contrast‑checker to ensure text and background colors meet accessibility guidelines.","pojo-accessibility")]}},aria_parent_required:{violationName:(0,kw.__)("Incorrect Element Container","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Elements must be placed inside the right type of container.","pojo-accessibility"),whyItMatters:(0,kw.__)("If elements aren’t placed inside the right containers, screen readers and other assistive tools may misinterpret the page, making navigation and understanding harder for people.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure every custom option (for example, a dropdown item) is placed inside the menu or list it belongs to—not floating on its own.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An interactive element is put inside a section that doesn’t support it, making it confusing for assistive technologies.","pojo-accessibility"),resolution:[(0,kw.__)("You created a custom dropdown with three choices, but the choices were added as separate text blocks instead of being grouped together. Re‑add the choices using your theme’s “List / Menu / Dropdown” block so they sit inside one container. A single “Color: Blue” option was accidentally dragged outside its product‑options list. Move it back into the list so screen‑reader users know it’s part of the same group.","pojo-accessibility"),(0,kw.__)("Make sure items like dropdown options or list entries live inside the proper container widget.","pojo-accessibility")]}},combobox_popup_reference:{violationName:(0,kw.__)("Dropdown Open State Incorrect","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Dropdowns must correctly link to the popup they open.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the dropdown isn’t properly linked to its popup, people relying on screen readers or keyboards might not know where the new content appeared, making it harder to navigate and interact.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure the list of suggestions belongs to the same search or tag box that opens it so it pops up right below the field and moves with keyboard arrows.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A dropdown expands, but the connection to the popup isn’t set up properly, making it confusing for assistive technology users.","pojo-accessibility"),resolution:[(0,kw.__)("You built a “Tag” field that suggests words as people type, but the suggestion list sits off to the side. Re‑add the field with your form or theme’s “Autocomplete / Tag Input” option so the list is directly linked and appears under the box. A search bar shows results in a floating panel that isn’t tied to the input. Move the panel into the same widget or block, ensuring the list opens and closes together with the box.","pojo-accessibility"),(0,kw.__)("Ensure dropdown suggestions are correctly linked to the input field they belong to.","pojo-accessibility")]}},aria_activedescendant_valid:{violationName:(0,kw.__)("Incorrectly Highlighted Options","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Highlighted options must point to visible content.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a highlighted option is hidden or empty, people relying on keyboards or assistive technologies may get stuck or lose track of where they are.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure the option that looks selected is actually in the list and easy to see.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A dropdown highlights a choice that is hidden or missing, confusing keyboard users.","pojo-accessibility"),resolution:[(0,kw.__)("In a product‑category dropdown, if “Shoes” appears in the box but isn’t listed when you open the dropdown, add “Shoes” back to the list or choose a different category that really exists. For a set of radio buttons, if “Thin Crust” is shown as chosen but the button isn’t visible, un‑hide “Thin Crust” or pick another visible choice.","pojo-accessibility"),(0,kw.__)("Ensure selected or highlighted options are visible and present in the dropdown or group.","pojo-accessibility")]}},combobox_active_descendant:{violationName:(0,kw.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Keyboard focus must stay on choices inside the dropdown.","pojo-accessibility"),whyItMatters:(0,kw.__)("If focus doesn’t follow the highlighted choice inside a dropdown, keyboard people may have trouble knowing where they are or selecting the right option.","pojo-accessibility"),howToResolve:(0,kw.__)("When a search or tag box shows suggestions, the blinking cursor should stay in the box while the ↑ / ↓ keys simply move the highlight through the list.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("When using the keyboard to open a dropdown, the highlighted option doesn’t stay properly focused, making it hard to choose.","pojo-accessibility"),resolution:[(0,kw.__)("In a “Tag” field, pressing ↓ should highlight “Zoom” in the dropdown, but you should still see the cursor inside the box so you can keep typing. If the cursor jumps out of the box and into the list—so you can’t type anymore—rebuild or adjust the widget so the list opens below the box without stealing the cursor. Selecting a suggestion should copy the word into the box and close the list.","pojo-accessibility"),(0,kw.__)("Ensure arrow key navigation highlights options while keeping the input field focused.","pojo-accessibility")]}},aria_role_valid:{violationName:(0,kw.__)("Mismatched Element Role","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels for assistive technologies must match the type of content.","pojo-accessibility"),whyItMatters:(0,kw.__)("If role labels don’t match the actual content, assistive technology people may get wrong information about what things are and how to interact with them.","pojo-accessibility"),howToResolve:(0,kw.__)("Choose the built‑in block or widget that already does what you need (Button, Heading, List, etc.)—don’t repurpose a generic text or box element and hope it acts like one.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An image is labeled like a button, which confuses screen reader users.","pojo-accessibility"),resolution:[(0,kw.__)("You made a paragraph look like a button with bold text and color. Swap it for your theme’s Button block so visitors—and assistive tech—instantly know it can be clicked. A plain text block was styled to look like a heading. Replace it with the Heading block so screen‑reader users can jump to it quickly.","pojo-accessibility"),(0,kw.__)("Ensure that elements are properly labeled with their respective roles, like using a button element for clickable actions and a heading element for headings.","pojo-accessibility")]}},combobox_autocomplete_valid:{violationName:(0,kw.__)("Autocomplete Incorrect Usage","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Autocomplete settings must be applied only to the text field.","pojo-accessibility"),whyItMatters:(0,kw.__)("If autocomplete isn’t set up properly, people relying on keyboards or screen readers may struggle to enter information or select options.","pojo-accessibility"),howToResolve:(0,kw.__)("Let the typing box decide how suggestions appear. Remove any “autocomplete” setting from the dropdown list itself, and pick the option (inline text, dropdown list, or both) that matches what users see.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A dropdown with autocomplete puts settings on the wrong parts, making it harder for assistive technology users to interact correctly.","pojo-accessibility"),resolution:[(0,kw.__)("Your “State” field shows a dropdown list as people type. Keep the autocomplete setting only on the box and choose “show list suggestions.” Don’t add extra settings to the list below. A search bar fills in the rest of the word right inside the box but never opens a list. Set the box to “inline suggestions” and leave the list turned off. If your tag picker shows both inline text and a dropdown, choose “both suggestions” on the box and make sure the list appears right under it.","pojo-accessibility"),(0,kw.__)("Ensure autocomplete settings are applied correctly, either within the text input field or appropriately with the dropdown list.","pojo-accessibility")]}},combobox_focusable_elements:{violationName:(0,kw.__)("Dropdown Incorrect Focus","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Only the text field in a dropdown should be focusable.","pojo-accessibility"),whyItMatters:(0,kw.__)("If focus moves to the wrong parts of a dropdown, it can confuse people and make the site harder to navigate with a keyboard.","pojo-accessibility"),howToResolve:(0,kw.__)("When the box appears, the blinking cursor should land in the text field—not on one of the suggestions below it.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("When using the Tab key, users can accidentally focus parts of the dropdown that aren’t meant for direct typing or selection.","pojo-accessibility"),resolution:[(0,kw.__)("In a “State” search field, clicking or tabbing into the box should put the cursor in the empty field so you can start typing. If the first suggestion (“Alabama”) is highlighted instead, adjust the widget so the cursor begins in the box. A product search overlay opens with the cursor sitting on a result link. Move the starting focus back to the search field, so users can type or paste their query immediately.","pojo-accessibility"),(0,kw.__)("Ensure the cursor always starts in the input field, not on suggestions, to facilitate proper keyboard navigation.","pojo-accessibility")]}},combobox_haspopup_valid:{violationName:(0,kw.__)("Popup Type Misdescribed","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Dropdowns must correctly describe the type of popup they open.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a dropdown describes the wrong type of popup, people using screen readers may not understand what will appear, making it harder to use the site.","pojo-accessibility"),howToResolve:(0,kw.__)("Tell the autocomplete box to open the correct type of helper, usually a simple dropdown list, so assistive tools know what to expect.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A dropdown says it opens a menu, but it actually opens a calendar, confusing assistive technology users.","pojo-accessibility"),resolution:[(0,kw.__)("Your “Tag” field shows a straight list of suggestions. In the widget’s settings, pick the option for “Dropdown list” (or similar) instead of leaving it undefined. If your search box opens a larger pop‑up panel with extra filters, choose the setting that labels it as a “Dialog” so screen readers announce it properly.","pojo-accessibility"),(0,kw.__)("Ensure the correct popup type is described in the settings (e.g., Dropdown list, Dialog) to improve accessibility for screen reader users.","pojo-accessibility")]}},aria_descendant_valid:{violationName:(0,kw.__)("Invalid Nested Elements","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Some content inside certain elements may not behave as expected.","pojo-accessibility"),whyItMatters:(0,kw.__)("If browsers ignore labels inside certain elements, people relying on assistive technologies might miss important information or have a harder time navigating the content.","pojo-accessibility"),howToResolve:(0,kw.__)("Keep options, menu items, and buttons simple. Don’t put extra buttons, links, or headings inside them.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("Adding special labels inside a table or list might be ignored by browsers, causing confusion for assistive technology users.","pojo-accessibility"),resolution:[(0,kw.__)("A dropdown choice was built as a button inside another button. Replace the inner button with plain text so each choice is just one item, not a widget within a widget. A list item in a custom select menu contains a heading block. Change the heading to regular text (or bold styling) so the list stays clean and easy for assistive tech to read. Removing extra nested elements prevents confusion and lets screen‑reader users move through menus and lists without surprises.","pojo-accessibility"),(0,kw.__)("Avoid nesting buttons, links, or headings inside menu items or options. Keep elements simple and straightforward for better accessibility.","pojo-accessibility")]}},aria_role_allowed:{violationName:(0,kw.__)("Invalid Element Role","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Elements must use correct labels for assistive technologies.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the role is wrong or invalid, assistive technologies can’t correctly explain the purpose of the content, making the site harder to navigate and understand.","pojo-accessibility"),howToResolve:(0,kw.__)("Pick the widget that already matches what you need. Don’t assign a fancy role to an element that wasn’t built for it.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An element is given a role that doesn’t exist or isn’t allowed, making it confusing for screen reader users.","pojo-accessibility"),resolution:[(0,kw.__)("You styled a plain box to act like a scrollbar. Replace it with your theme’s built-in Scroll area or let the browser’s own scrollbar appear naturally. A decorative icon was given a role that says “button,” but it does nothing. Remove that role or turn the icon into an actual button with a click action.","pojo-accessibility"),(0,kw.__)("Avoid assigning incorrect or non-existent roles to elements. Use the correct role for the content to ensure clarity for assistive technologies.","pojo-accessibility")]}},aria_attribute_allowed:{violationName:(0,kw.__)("Invalid ARIA Attributes","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels and properties must match the type of content.","pojo-accessibility"),whyItMatters:(0,kw.__)("If labels or properties don’t match the content type, assistive technologies may misread the page, making it harder for people to understand and interact with it.","pojo-accessibility"),howToResolve:(0,kw.__)("When you use an accessibility setting (like “live update” or “busy”), pick one of the values the spec allows. No made-up words or empty fields.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A button is given attributes meant for a table, which can confuse screen readers.","pojo-accessibility"),resolution:[(0,kw.__)("A status message uses “live update: polite” (allowed). Change any custom value like “gentle” to “polite” so screen readers handle it correctly. A busy-indicator flag must be either “true” or “false.” If it’s blank, set it to the proper choice or remove the flag.","pojo-accessibility"),(0,kw.__)("Ensure that accessibility attributes match the content type, using values that are part of the accessibility specifications.","pojo-accessibility")]}},aria_attribute_conflict:{violationName:(0,kw.__)("ARIA Conflicting Attributes","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels and settings must not conflict with built-in HTML behavior.","pojo-accessibility"),whyItMatters:(0,kw.__)("If labels or settings conflict, assistive technologies might behave unpredictably, making the site harder to use for people relying on them.","pojo-accessibility"),howToResolve:(0,kw.__)("If an input is already marked as required (or has any other HTML setting), don’t add an extra ARIA tag that says the same thing. Pick one or the other.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An element has two different settings for the same feature — one from HTML and one from ARIA — causing confusion for assistive technologies.","pojo-accessibility"),resolution:[(0,kw.__)("A phone-number field has both the standard “Required” toggle turned on and an extra “required” flag in advanced settings. Turn off the duplicate so the form doesn’t announce “required” twice. A checkbox is labeled by visible text and also by an override in accessibility settings. Keep the visible label and remove the extra override to avoid confusion.","pojo-accessibility"),(0,kw.__)("Ensure that ARIA and HTML settings don’t conflict with each other, particularly when describing the same functionality.","pojo-accessibility")]}},aria_attribute_exists:{violationName:(0,kw.__)("Missing ARIA Attribute Value","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Required settings for assistive technologies must not be left empty.","pojo-accessibility"),whyItMatters:(0,kw.__)("If required information is missing, assistive technologies can’t explain how to use the feature properly, making the site harder to navigate and understand.","pojo-accessibility"),howToResolve:(0,kw.__)("Fill in every required setting with one of the allowed choices. Never leave it blank.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An element includes a setting that’s supposed to give extra information, but the value is missing, leaving screen reader users without the details they need.","pojo-accessibility"),resolution:[(0,kw.__)("A message area is marked “live update” but the setting box is empty. Choose “polite” (or another allowed option) so screen-readers know how quickly to announce changes.","pojo-accessibility"),(0,kw.__)("Ensure every required attribute or setting has a valid value so assistive technologies can process it correctly.","pojo-accessibility")]}},aria_attribute_required:{violationName:(0,kw.__)("Required ARIA Attributes","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Important information must be included for assistive technologies.","pojo-accessibility"),whyItMatters:(0,kw.__)("If important details are missing, assistive technologies can't properly explain how to use a feature, making it harder for people to interact with the site.","pojo-accessibility"),howToResolve:(0,kw.__)("Add any essential details the widget needs, such as minimum, maximum, and current value for a custom slider.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A slider is missing required information about its current value, making it confusing for screen reader users.","pojo-accessibility"),resolution:[(0,kw.__)("A vertical scroll bar shows but has no “top” or “bottom” value set. Enter 0 for minimum, 100 for maximum, and the current position (e.g., 25) so assistive tools can report progress accurately.","pojo-accessibility"),(0,kw.__)("Ensure sliders have proper attributes like minimum, maximum, and current value for full accessibility.","pojo-accessibility")]}},aria_attribute_value_valid:{violationName:(0,kw.__)("Incorrect ARIA Value","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Settings for assistive technologies must use correct values.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the values are incorrect, assistive technologies might misread the content or stop working properly, making the site harder to use.","pojo-accessibility"),howToResolve:(0,kw.__)("Replace any invented or misspelled value with one from the official list—for example, “polite,” “assertive,” “true,” or “false.”","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A dropdown uses a value that isn’t allowed, confusing screen readers and other assistive tools.","pojo-accessibility"),resolution:[(0,kw.__)("A status message is set to “gentle.” Change it to “polite” so screen-readers recognize it.","pojo-accessibility"),(0,kw.__)("Ensure you use the correct, valid values for ARIA attributes to improve accessibility.","pojo-accessibility")]}},aria_eventhandler_role_valid:{violationName:(0,kw.__)("Invalid Interactive Role","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Clickable or interactive elements must have the right label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If interactive elements aren’t labeled correctly, people using assistive technologies might not know they can click or use them, making the site harder to navigate.","pojo-accessibility"),howToResolve:(0,kw.__)("Use the proper element for the action (Button, Link, etc.) or clearly label the custom element as such.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A clickable area doesn’t have a proper role, making it unclear to screen reader users that it can be interacted with.","pojo-accessibility"),resolution:[(0,kw.__)("A DIV styled as a button should be replaced with a real Button block, or labeled in accessibility settings as a button, so keyboards and screen-readers can activate it.","pojo-accessibility"),(0,kw.__)("Ensure that interactive elements like buttons or links are properly labeled and identified to enhance usability for screen reader users.","pojo-accessibility")]}},aria_id_unique:{violationName:(0,kw.__)("Duplicate ARIA IDs","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels must point to real, visible content.","pojo-accessibility"),whyItMatters:(0,kw.__)("If labels point to missing or hidden content, assistive technology people may get confused or miss important information on the page.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each form helper (tooltip, hint, error) its own unique ID, and make sure the field’s “Described by” setting points to that exact ID.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An element references an ID that doesn’t exist or is hidden, leaving screen reader users without the right information.","pojo-accessibility"),resolution:[(0,kw.__)("Your “Last Name” input references “hint‑last‑name,” but no helper with that ID exists. Add a helper with that ID—or update the reference to the correct helper—to avoid confusion.","pojo-accessibility"),(0,kw.__)("Ensure that each label points to an actual helper and that IDs are unique and correctly referenced to avoid confusion for screen reader users.","pojo-accessibility")]}},aria_widget_labelled:{violationName:(0,kw.__)("Missing Widget Label","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Interactive elements must have a clear, accessible name.","pojo-accessibility"),whyItMatters:(0,kw.__)("If interactive elements don’t have a name, people relying on assistive technologies may not know how to interact with them, making the site confusing and harder to use.","pojo-accessibility"),howToResolve:(0,kw.__)("Give every interactive part (menu, slider, search icon, etc.) a short name that says what it does.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A button has no label, so screen reader users don’t know what it does.","pojo-accessibility"),resolution:[(0,kw.__)("Add a heading “Table of contents” just above a tree menu and link the menu to that heading so screen-readers announce it.","pojo-accessibility"),(0,kw.__)("A magnifying-glass icon that opens search results gets a hidden label “Search” so voice users know its purpose.","pojo-accessibility")]}},combobox_design_valid:{violationName:(0,kw.__)("Outdated Dropdown Design","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Update dropdowns to meet the latest accessibility standards.","pojo-accessibility"),whyItMatters:(0,kw.__)("If dropdowns don’t follow the latest accessibility guidelines, people relying on screen readers or keyboards may have trouble using them, leading to a poor experience.","pojo-accessibility"),howToResolve:(0,kw.__)("Use a single autocomplete widget that opens suggestions right under the typing box avoid stitching separate pieces together.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A dropdown is built using an outdated setup, making it harder for assistive technology users to navigate and select options.","pojo-accessibility"),resolution:[(0,kw.__)("Replace a free-text box plus a detached list with one autocomplete field where the list pops up below as you type.","pojo-accessibility"),(0,kw.__)("Make sure the field, any “▼” button, and the suggestions list belong to the same component so arrow keys move naturally through the choices.","pojo-accessibility")]}},element_id_unique:{violationName:(0,kw.__)("Duplicate Element IDs","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Each element must have a unique ID.","pojo-accessibility"),whyItMatters:(0,kw.__)("If IDs are not unique, assistive technologies and browsers can get confused, making it harder for people to navigate the page correctly.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each helper, section, or control its own one‑of‑a‑kind ID never reuse the same ID twice.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("Two different sections on a page are given the same ID, which can confuse screen readers and other tools.","pojo-accessibility"),resolution:[(0,kw.__)("Two newsletter forms both use “signup.” Rename one to “signup‑footer” and update any references.","pojo-accessibility"),(0,kw.__)("A tooltip and a heading share “info.” Change the tooltip’s ID to “info‑tip” so labels point to the right place.","pojo-accessibility")]}},element_accesskey_unique:{violationName:(0,kw.__)("Duplicate Shortcut Keys","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Shortcut keys must be unique on each page.","pojo-accessibility"),whyItMatters:(0,kw.__)("If shortcut keys aren’t unique, keyboard people can trigger the wrong action or get confused when navigating the page.","pojo-accessibility"),howToResolve:(0,kw.__)("Assign each shortcut letter only once per page so they don’t clash.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("Two different buttons are assigned the same keyboard shortcut, making it unclear which one will be activated.","pojo-accessibility"),resolution:[(0,kw.__)("“Accept” and “Approve” buttons both use “A.” Change one to “C” (for Confirm) so each key triggers just one action.","pojo-accessibility"),(0,kw.__)("A link and a form field both claim “S.” Remove or change one of them to keep shortcuts unique.","pojo-accessibility")]}},aria_attribute_valid:{violationName:(0,kw.__)("Invalid ARIA Attribute","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels and settings must match the type of content.","pojo-accessibility"),whyItMatters:(0,kw.__)("If labels or settings don’t match the content, assistive technology people may hear wrong or unclear information, making the site harder to navigate.","pojo-accessibility"),howToResolve:(0,kw.__)("Remove or change any accessibility setting the element isn’t allowed to have.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An element is given settings that don’t fit its type, confusing assistive technologies.","pojo-accessibility"),resolution:[(0,kw.__)("A paragraph has a setting for “expanded/collapsed,” which only applies to collapsible items—delete that setting.","pojo-accessibility"),(0,kw.__)("A list item needs to show it can open and close; change its type to a collapsible list item first, then keep the “expanded” flag.","pojo-accessibility")]}},input_checkboxes_grouped:{violationName:(0,kw.__)("Checkboxes/Radio Buttons Not Grouped","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Related checkboxes or radio buttons must be grouped together.","pojo-accessibility"),whyItMatters:(0,kw.__)("If related choices aren’t grouped, assistive technology people may not realize the options are connected, leading to confusion and mistakes.","pojo-accessibility"),howToResolve:(0,kw.__)("Keep check‑boxes or radio buttons that belong to the same question in one group, and keep unrelated choices in separate groups.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A set of shipping options appears visually together but isn’t grouped for screen reader users, making it harder to understand they belong to the same question.","pojo-accessibility"),resolution:[(0,kw.__)("Place all “Newsletter Topics” check‑boxes (News, Tips, Events) in one cluster under that heading.","pojo-accessibility"),(0,kw.__)("Put “Shipping Method” radio buttons (Standard, Express) in their own cluster—do not mix them with the newsletter choices.","pojo-accessibility")]}},fieldset_label_valid:{violationName:(0,kw.__)("Duplicate Fieldset Label","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Groups of form fields must have unique names.","pojo-accessibility"),whyItMatters:(0,kw.__)("If groups of inputs have the same name, people relying on assistive technologies may get confused about which section they are in, leading to mistakes when filling out forms.","pojo-accessibility"),howToResolve:(0,kw.__)("Add a short group label (such as “Payment Method” or “Choose Your Size”) so everyone knows what the nearby options are for.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two sections of a form are both labeled "Contact Info," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,kw.__)("Above three card‑type radio buttons, add the heading “Payment Method.”","pojo-accessibility"),(0,kw.__)("Above four T‑shirt size check‑boxes, add “Choose Your Size.”","pojo-accessibility")]}},form_label_unique:{violationName:(0,kw.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Form fields must have one clear label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a form field has more than one label, assistive technology people might hear conflicting instructions, making it harder to fill out the form correctly.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure each field has only one label attached remove any duplicates that point to the same input.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A text input has two labels attached to it, confusing screen reader users about what information is needed.","pojo-accessibility"),resolution:[(0,kw.__)("Two “Email Address” labels both point to the same email box. Keep one label and delete the extra.","pojo-accessibility")]}},label_ref_valid:{violationName:(0,kw.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Labels must be correctly connected to form fields.","pojo-accessibility"),whyItMatters:(0,kw.__)("If labels aren’t properly connected to form fields, assistive technology people may not know what information to enter, leading to confusion and mistakes.","pojo-accessibility"),howToResolve:(0,kw.__)("Check that each label actually targets its own input if the link is broken, update it to match the field’s ID.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A label points to an input field that doesn’t exist or is missing an ID, making it hard for screen reader users to know what the label applies to.","pojo-accessibility"),resolution:[(0,kw.__)("The “Phone Number” label points to “phone‑1,” but the input is “phone.” Change the label to point to “phone” so clicking the label places the cursor in the box.","pojo-accessibility")]}},input_autocomplete_valid:{violationName:(0,kw.__)("Autocomplete Mismatch","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Autocomplete settings must match the type of form field.","pojo-accessibility"),whyItMatters:(0,kw.__)("If autocomplete settings don’t match the field type, browsers and assistive technologies may suggest wrong information, making forms harder to fill out correctly.","pojo-accessibility"),howToResolve:(0,kw.__)("Tell the browser exactly what each field is for so it can offer the right autofill suggestions.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An address field is marked to autocomplete as a phone number, confusing users and autofill tools.","pojo-accessibility"),resolution:[(0,kw.__)("Your “First name” field currently uses a custom label like “given-name,” so browsers don’t offer saved names. Change the field’s autofill setting to “First name.”","pojo-accessibility"),(0,kw.__)("The credit-card box is set to “cc-num,” which password managers don’t recognize. Switch it to “Credit card number” so users can quickly fill it.","pojo-accessibility")]}},error_message_exists:{violationName:(0,kw.__)("Missing Error Messages","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Error messages must be properly connected and announced.","pojo-accessibility"),whyItMatters:(0,kw.__)("If error messages aren’t properly connected, people relying on assistive technologies may not realize there’s a problem, making it hard to fix mistakes and complete forms.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure every field’s error box exists and becomes visible when there’s a problem.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("Relationship between elements need to be properly defined.","pojo-accessibility"),resolution:[(0,kw.__)("A signup field points to an error message that doesn’t exist—you see no feedback. Create the missing error text below the field so users know what went wrong.","pojo-accessibility"),(0,kw.__)("An error message container is hidden even when the form flags a mistake. Change its settings so it appears in plain sight when needed.","pojo-accessibility")]}},input_label_after:{violationName:(0,kw.__)("Misplaced Checkbox Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Checkboxes and radio buttons must have a label placed after them.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the label isn’t placed after the checkbox or radio button, screen reader people may get confused about which option they are selecting, leading to mistakes.","pojo-accessibility"),howToResolve:(0,kw.__)("Keep the label text immediately after the checkbox or radio button so they read as one control.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A checkbox appears, but the label describing it comes before or is missing, making it unclear for users what the checkbox is for.","pojo-accessibility"),resolution:[(0,kw.__)("A newsletter signup has the box followed by “Receive updates.” Perfect—you see the box and label together.","pojo-accessibility"),(0,kw.__)("If your label is sitting above or to the left of the box and feels disconnected, move it to sit directly to the right of the checkbox.","pojo-accessibility")]}},input_label_before:{violationName:(0,kw.__)("Label Placement Incorrect","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Text fields and dropdowns must have a label placed before them.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the label comes after the text field or dropdown, people relying on assistive technologies might not understand what they need to enter or choose, causing confusion.","pojo-accessibility"),howToResolve:(0,kw.__)("Show the label text just before each input box so users know what to enter.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A text box appears before its label, making it harder for screen reader users to know what information is expected.","pojo-accessibility"),resolution:[(0,kw.__)("“Email address” appears right above the email field. Good—you see the prompt before you type.","pojo-accessibility"),(0,kw.__)("If the label sits after the field or is missing, drag or insert the text so it comes immediately before the input box.","pojo-accessibility")]}},input_label_exists:{violationName:(0,kw.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Every form field must have a label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a form field doesn’t have a label, people relying on assistive technologies may not know what information to enter, making forms harder or impossible to complete.","pojo-accessibility"),howToResolve:(0,kw.__)("Add or link a clear text label to each input, dropdown, or checkbox so everyone knows its purpose.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A search box appears on the page without any label, making it unclear to screen reader users what the field is for.","pojo-accessibility"),resolution:[(0,kw.__)("An address field has no label—add “Mailing address” above it.","pojo-accessibility"),(0,kw.__)("A hidden label was used for design reasons—turn on the visible label option or provide a clear name in the control’s settings.","pojo-accessibility")]}},aria_hidden_nontabbable:{violationName:(0,kw.__)("Incorrect Tab Order Roles","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Hidden sections should not contain focusable elements.","pojo-accessibility"),whyItMatters:(0,kw.__)("If people can tab to hidden elements, it can cause confusion and frustration, especially for keyboard and screen reader users who can't interact with what they can't see.","pojo-accessibility"),howToResolve:(0,kw.__)("Mark icons, graphics, or decorative bits so they’re skipped by screen readers and not included in keyboard navigation.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A hidden panel still contains a button that users can accidentally tab to, even though they can’t see it.","pojo-accessibility"),resolution:[(0,kw.__)("A decorative star icon before headings shouldn’t be read aloud—set it to “hidden from assistive tech” and remove it from the tab order.","pojo-accessibility"),(0,kw.__)("If a background graphic accidentally gets focus, adjust its settings so it never receives keyboard focus and is ignored by screen readers.","pojo-accessibility")]}},aria_activedescendant_tabindex_valid:{violationName:(0,kw.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Elements highlighting active choices must be reachable with the keyboard.","pojo-accessibility"),whyItMatters:(0,kw.__)("If people can’t reach elements that highlight active choices, they may lose track of where they are or be unable to make a selection, leading to a frustrating experience.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure you can tab into any custom selection or toolbar so keyboard users can start interacting with its items.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An element highlights a selection but can’t be focused using the Tab key, making it hard for keyboard users to interact with it.","pojo-accessibility"),resolution:[(0,kw.__)("In your page builder, enable the “Focusable” option for the custom toolbar or dropdown container so it’s reached when you press Tab.","pojo-accessibility"),(0,kw.__)("Check that once the container is focused, arrow keys move through its buttons or options.","pojo-accessibility")]}},aria_child_tabbable:{violationName:(0,kw.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Interactive components must have something users can reach with the keyboard.","pojo-accessibility"),whyItMatters:(0,kw.__)("If an interactive part of the site doesn’t have anything people can tab to, keyboard people and people relying on assistive technologies may not be able to use it at all.","pojo-accessibility"),howToResolve:(0,kw.__)("Ensure at least one item inside any custom list or tree can be reached with the Tab key so users can navigate inside.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A popup opens but none of its buttons or options can be reached by tabbing, leaving keyboard users stuck.","pojo-accessibility"),resolution:[(0,kw.__)("For a collapsible menu, turn on the “Link” or “Focusable” setting for the first menu item so Tab lands there.","pojo-accessibility"),(0,kw.__)("In a nested list, make sure each sub-item is a real link or button, not just plain text, so it can receive focus.","pojo-accessibility")]}},element_scrollable_tabbable:{violationName:(0,kw.__)("Scrollable Element Untabbable","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Scrollable non-interactive element is not tabbable.","pojo-accessibility"),whyItMatters:(0,kw.__)("If people can't reach scrollable areas using the keyboard, they might miss important content — making the website harder to navigate for those who don't use a mouse.","pojo-accessibility"),howToResolve:(0,kw.__)("Let people tab into any scrollable box so they can use arrow keys to scroll through hidden content.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A section with scrollable product cards can't be reached or explored by keyboard users.","pojo-accessibility"),resolution:[(0,kw.__)("If you’ve put text in a small “scroll box” widget, enable its keyboard scrolling feature so Tab brings focus inside and arrow keys move the content.","pojo-accessibility"),(0,kw.__)("Replace a custom block that can’t be reached by Tab with a built-in “Scrollable Panel” element that supports keyboard navigation.","pojo-accessibility")]}},iframe_interactive_tabbable:{violationName:(0,kw.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Embedded Interactive content must be reachable with the keyboard.","pojo-accessibility"),whyItMatters:(0,kw.__)("If interactive content like videos or forms can't be reached by keyboard, some people won't be able to play, pause, or interact with them — making the site harder to use and less accessible.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure any embedded content (videos, maps, forms) can be reached by pressing Tab or hide it completely if it’s purely decorative.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An embedded video player is skipped when users navigate with the Tab key.","pojo-accessibility"),resolution:[(0,kw.__)("For a YouTube video embed, turn on the “Focusable” setting so users can Tab into the video controls.","pojo-accessibility"),(0,kw.__)("If an iframe only shows decorative graphics, mark it as “Hidden from keyboard” so Tab skips over it.","pojo-accessibility")]}},a_text_purpose:{violationName:(0,kw.__)("Link Purpose Unclear","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Links must clearly describe their purpose.","pojo-accessibility"),whyItMatters:(0,kw.__)("If links don’t clearly describe their purpose, people relying on assistive technologies may not understand where the link will take them, making navigation confusing.","pojo-accessibility"),howToResolve:(0,kw.__)("Give every link (text or image) a name that tells people where it goes.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A link says "Click here" without explaining where it goes, leaving screen reader users guessing.',"pojo-accessibility"),resolution:[(0,kw.__)("Change a generic “Learn more” link to “Learn more about our Pricing Plans.”","pojo-accessibility"),(0,kw.__)("For a linked image, update its alt text to “View our Spring Collection” instead of “image1.png.”","pojo-accessibility")]}},label_name_visible:{violationName:(0,kw.__)("Visible Label Mismatch","pojo-accessibility"),whatsTheIssue:(0,kw.__)("The accessible name must match what users see.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the accessible name doesn’t match the visible label, people relying on assistive technologies may hear different information than what they see, causing confusion and mistakes.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure the name announced by assistive tools matches exactly what users see on the button or field.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A button visually says "Submit Form," but its accessible name is just "Submit," which can confuse screen reader users.',"pojo-accessibility"),resolution:[(0,kw.__)("If a button reads “Next Page,” set its accessibility name to “Next Page” (not “Go Forward”).","pojo-accessibility"),(0,kw.__)("For a search icon that shows a magnifying glass, give it the hidden label “Search” so screen-reader users hear “Search” when they land on it.","pojo-accessibility")]}},html_lang_exists:{violationName:(0,kw.__)("Missing Page Language","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Set the main language of the page.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the page’s language isn’t set, screen readers may mispronounce words, making the content harder to understand for people who rely on them.","pojo-accessibility"),howToResolve:(0,kw.__)("Tell browsers and assistive tools what language your site uses so they can pronounce text correctly.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A website is written in English, but there’s no language setting, making it harder for screen readers to pronounce words correctly.","pojo-accessibility"),resolution:[(0,kw.__)("In your site settings or template options, set the language to “English” (or your chosen language) so screen readers switch voices appropriately.","pojo-accessibility"),(0,kw.__)("If your page is in French, change the language setting from blank or “Automatic” to “French.”","pojo-accessibility")]}},html_lang_valid:{violationName:(0,kw.__)("Invalid Language Code","pojo-accessibility"),whatsTheIssue:(0,kw.__)("The page’s language setting must be valid.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the language code isn’t valid, assistive technologies may not recognize it, leading to incorrect pronunciation and a confusing experience for people.","pojo-accessibility"),howToResolve:(0,kw.__)("Set your site’s main language to a standard code so browsers and screen readers know how to pronounce text.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A page tries to set its language, but uses an incorrect code, causing screen readers to mispronounce the text.","pojo-accessibility"),resolution:[(0,kw.__)("In your site settings, change the language from “english” or blank to the official code “en” (for English).","pojo-accessibility"),(0,kw.__)("If your site is in Spanish, pick “es” instead of writing out “Spanish” or leaving it unset.","pojo-accessibility")]}},element_lang_valid:{violationName:(0,kw.__)("Incorrect Language Tag","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Language changes in the content must use valid language settings.","pojo-accessibility"),whyItMatters:(0,kw.__)("If language changes aren’t properly marked, assistive technologies may mispronounce words, making the content harder to understand for people.","pojo-accessibility"),howToResolve:(0,kw.__)("Tag any text in a different language with its proper code so assistive tools switch pronunciation correctly.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A paragraph switches from English to Spanish but doesn’t correctly mark the language change, confusing screen readers.","pojo-accessibility"),resolution:[(0,kw.__)("For a French quote, apply the code “fr” to that paragraph so screen readers read it with French pronunciation.","pojo-accessibility"),(0,kw.__)("If you slip in a German phrase, mark it as “de” rather than leaving it as default.","pojo-accessibility")]}},input_haspopup_conflict:{violationName:(0,kw.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Inputs with suggestions should not have extra popup labels.","pojo-accessibility"),whyItMatters:(0,kw.__)("If extra popup labels are added where they aren’t needed, people relying on assistive technologies may get the wrong idea about how the input works, leading to confusion.","pojo-accessibility"),howToResolve:(0,kw.__)("If a text field already uses browser suggestions, turn off any extra “popup” option you added so they don’t conflict.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A search box with suggested terms uses an additional popup label, confusing assistive technologies about what will open.","pojo-accessibility"),resolution:[(0,kw.__)("You added a “show menu” toggle to an email field that already shows domain suggestions—switch that toggle off so the browser list works normally.","pojo-accessibility"),(0,kw.__)("If a phone-number field has both built-in dropdown and a custom “has popup” setting, remove the custom setting and let the browser handle it.","pojo-accessibility")]}},element_tabbable_role_valid:{violationName:(0,kw.__)("Orientation Lock Issue","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Elements users can tab to must be correctly labeled as interactive","pojo-accessibility"),whyItMatters:(0,kw.__)("If an element can be reached with the keyboard but isn’t labeled as interactive, people may not know what it does or how to use it.","pojo-accessibility"),howToResolve:(0,kw.__)("If something shouldn’t be clicked or typed into, remove it from Tab order if it should be interactive, make sure it’s focusable.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A focusable item looks interactive but doesn’t have a proper role, confusing screen reader users.","pojo-accessibility"),resolution:[(0,kw.__)("A banner image that isn’t clickable still got tab focus—turn off its focus setting so Tab skips it.","pojo-accessibility"),(0,kw.__)("A custom drop-down that users need to open wasn’t reachable by keyboard—enable its “focusable” option so Tab lands on it first.","pojo-accessibility")]}},element_orientation_unlocked:{violationName:(0,kw.__)("Locked Orientation View","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Content must work in both portrait and landscape views.","pojo-accessibility"),whyItMatters:(0,kw.__)("If content is locked to one screen orientation, it can be hard or impossible for some people to interact with the site, especially those with limited mobility or using mounted devices.","pojo-accessibility"),howToResolve:(0,kw.__)("Avoid locking parts of your page into portrait or landscape use responsive settings so content rotates naturally.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A form forces users to turn their device sideways to fill it out, making it difficult for people who can’t easily rotate their screens.","pojo-accessibility"),resolution:[(0,kw.__)("You added a rotate effect that only shows correctly in portrait—remove that so the page also works in landscape.","pojo-accessibility"),(0,kw.__)("If a section flips upside down on mobile, switch to a flexible layout option that adapts to both orientations.","pojo-accessibility")]}},meta_redirect_optional:{violationName:(0,kw.__)("Auto Refresh Without Warning","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Pages should not refresh automatically without a warning or option.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a page refreshes without warning, people — especially those with disabilities — might lose their place, miss important information, or have trouble completing tasks.","pojo-accessibility"),howToResolve:(0,kw.__)("Don’t force the page to reload on a timer either remove the automatic refresh or let visitors pause or extend it.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A page refreshes after a few minutes without telling the user, causing someone to lose information they were entering.","pojo-accessibility"),resolution:[(0,kw.__)("Your dashboard refreshes every minute—add a toggle so people can turn off auto-update if they need time to read.","pojo-accessibility"),(0,kw.__)("If a warning page times out, show a “Stay on this page” button and a countdown so users aren’t surprised.","pojo-accessibility")]}},blink_elem_deprecated:{violationName:(0,kw.__)("Persistent Blinking Content","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Avoid using content that blinks repeatedly.","pojo-accessibility"),whyItMatters:(0,kw.__)("Persistent blinking can be distracting, overwhelming, or even dangerous for some people, making the website less safe and harder to use.","pojo-accessibility"),howToResolve:(0,kw.__)("Make any flashing or blinking element stop on its own within a few seconds or let people pause or view a non-blinking version.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An ad banner keeps blinking without stopping, distracting users and potentially triggering seizures for people with certain conditions.","pojo-accessibility"),resolution:[(0,kw.__)("A warning banner that flashes indefinitely is replaced with one that stops blinking after 3 seconds and includes a “Pause animation” button.","pojo-accessibility"),(0,kw.__)("A promotional carousel offers a “View static version” link so users who find movement distracting can switch to a still layout.","pojo-accessibility")]}},marquee_elem_avoid:{violationName:(0,kw.__)("Scrolling Text Used","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Don’t use scrolling text (marquee).","pojo-accessibility"),whyItMatters:(0,kw.__)("Scrolling text can be distracting and is not supported by modern accessibility standards, making the site harder to use for many people.","pojo-accessibility"),howToResolve:(0,kw.__)("Remove automatic marquee effects or give people a simple toggle to stop or turn off the motion.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A message scrolls across the screen using outdated code, making it hard for users to read or interact with the page.","pojo-accessibility"),resolution:[(0,kw.__)("Replace an endlessly scrolling news ticker with a static list of headlines and an optional “Start scrolling” button for those who want the effect.","pojo-accessibility"),(0,kw.__)("A marquee of customer logos includes an “Animation off” setting so viewers can read at their own pace.","pojo-accessibility")]}},table_headers_ref_valid:{violationName:(0,kw.__)("Invalid Table Header Link","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Table headers must correctly link to their cells.","pojo-accessibility"),whyItMatters:(0,kw.__)("If table headers aren’t properly linked, people relying on assistive technologies may not understand the relationship between the data and its meaning, leading to confusion.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure every cell in a data table clearly points to the right column and row headings, so screen readers announce them together.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A data cell points to a header that doesn’t exist in the table, making it confusing for screen reader users to understand the information.","pojo-accessibility"),resolution:[(0,kw.__)("In a price comparison table, each price cell is tagged to both the product name at the top and the feature name on the left.","pojo-accessibility"),(0,kw.__)("A student-grades chart ensures each score cell is tied to “Alice” in the first column and “Math” in the header row.","pojo-accessibility")]}},table_scope_valid:{violationName:(0,kw.__)("Invalid Table Scope Values","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Use the correct values for table header settings.","pojo-accessibility"),whyItMatters:(0,kw.__)("If table headers aren’t set up correctly, assistive technologies may not be able to explain the table structure properly, making it harder for people to understand the information.","pojo-accessibility"),howToResolve:(0,kw.__)("Don’t add extra header labels if your table only has a first row or first column use simple settings to mark those instead.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A table header uses an invalid value for its scope, making it unclear to screen reader users how the table is organized.","pojo-accessibility"),resolution:[(0,kw.__)("A contact list table with names down the side and phone numbers across the top removes unnecessary “Header” markings on every cell—keeps only “Name” (column) and “Phone” (row) labels.","pojo-accessibility"),(0,kw.__)("For a report table, mark the left column as “Category” and the top row as “Quarter” without adding extra header markers elsewhere.","pojo-accessibility")]}},table_headers_exists:{violationName:(0,kw.__)("Missing Table Headers","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Data tables must clearly identify headers.","pojo-accessibility"),whyItMatters:(0,kw.__)("If tables don’t identify their headers, people relying on assistive technologies may not know how to read and understand the information correctly.","pojo-accessibility"),howToResolve:(0,kw.__)("If you’re using a table only for page layout, switch to a layout block if it’s real data, add clear header rows or columns.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A table lists information but doesn’t mark which cells are headers, making it confusing for screen reader users to understand the data.","pojo-accessibility"),resolution:[(0,kw.__)("A two-column design built with a table is redone using side-by-side layout blocks.","pojo-accessibility"),(0,kw.__)("A sales-data table adds a bold header row “Product | Units Sold | Revenue” so every column is clearly labeled.","pojo-accessibility")]}},table_headers_related:{violationName:(0,kw.__)("Complex Table Headers Missing","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Complex tables must link headers and data clearly.","pojo-accessibility"),whyItMatters:(0,kw.__)("If headers and data aren’t clearly linked in complex tables, people relying on assistive technologies can get lost or misunderstand the information.","pojo-accessibility"),howToResolve:(0,kw.__)("For tables where one cell relates to several row or column headers, tag each data cell to all the headings it belongs to.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("In a large table, data cells aren’t properly connected to their headers, making it hard for screen reader users to understand what each number means.","pojo-accessibility"),resolution:[(0,kw.__)("In a schedule grid, meeting times are linked to both “Monday” and “Conference Room A” so assistive tech reads both.","pojo-accessibility"),(0,kw.__)("A financial report table assigns each number cell to “Q1,” “Q2,” etc., and to “Expenses” or “Revenue” as appropriate.","pojo-accessibility")]}},table_structure_misuse:{violationName:(0,kw.__)("Layout Table Misuse","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Tables used only for layout should not have headers or structure.","pojo-accessibility"),whyItMatters:(0,kw.__)("If a table meant just for layout has headers or structure, assistive technologies may misinterpret it as a data table, leading to a confusing experience.","pojo-accessibility"),howToResolve:(0,kw.__)("Don’t use table markup for page layout if it’s decorative or structural, rebuild with layout blocks and remove captions, header tags, and other table-only features.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A layout table is marked with a role that hides it from assistive technologies, but it still includes headers, causing confusion for screen reader users.","pojo-accessibility"),resolution:[(0,kw.__)("A page section arranged in columns switches from a layout table to a responsive grid layout.","pojo-accessibility"),(0,kw.__)("A “testimonial” layout that used <th> and <caption> is rebuilt with cards or panels, with no table elements at all.","pojo-accessibility")]}},dir_attribute_valid:{violationName:(0,kw.__)("Invalid Text Direction","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Text direction settings must use a valid value.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the text direction isn’t set properly, people may have trouble reading the content, especially in languages that flow right-to-left, like Arabic or Hebrew.","pojo-accessibility"),howToResolve:(0,kw.__)("Set the text direction to match the language left-to-right for English, right-to-left for Hebrew/Arabic, or automatic if you’re mixing languages.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A page sets the text direction using an invalid value, making it harder for assistive technologies to display the content correctly.","pojo-accessibility"),resolution:[(0,kw.__)("In your site or theme settings, choose Left-to-Right (LTR) if your content is in English or most European languages.","pojo-accessibility"),(0,kw.__)("For a section in Arabic, switch its direction to Right-to-Left (RTL) so the text reads naturally.","pojo-accessibility"),(0,kw.__)("If you have both English and another language, use the Auto setting so the browser figures it out.","pojo-accessibility")]}},aria_application_label_unique:{violationName:(0,kw.__)("Duplicate Interactive Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Interactive areas must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If interactive areas don’t have unique labels, people relying on assistive technologies may not know what each area is for, making navigation confusing and frustrating.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each interactive “app-style” region (like a widget panel) a unique name so screen readers know what it is.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two app sections on a page are both labeled "Main Area," making it confusing for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,kw.__)("A weather box gets the hidden name “Weather Forecast Panel” so assistive tools announce it.","pojo-accessibility"),(0,kw.__)("A stock-ticker area is labeled “Stock Ticker Feed” (even if the label isn’t visible) to describe its purpose.","pojo-accessibility")]}},aria_application_labelled:{violationName:(0,kw.__)("Missing Interactive Label","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Interactive areas must have a clear label describing their purpose.","pojo-accessibility"),whyItMatters:(0,kw.__)("If interactive areas don’t have a clear label, people relying on assistive technologies may struggle to understand and use the content correctly.","pojo-accessibility"),howToResolve:(0,kw.__)("Link each application-style panel to visible heading text or add a hidden label so it’s announced correctly.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An app-like section is created but doesn’t have a label, leaving screen reader users unsure what the section is for.","pojo-accessibility"),resolution:[(0,kw.__)("Above a “News” widget, add the heading “Top Stories” and connect the panel to that heading so screen readers say “Top Stories, panel.”","pojo-accessibility"),(0,kw.__)("If there’s no visible heading, give the panel a hidden label like “Search Widget” for clarity.","pojo-accessibility")]}},aria_article_label_unique:{violationName:(0,kw.__)("Duplicate Article Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Articles must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If articles don’t have unique labels, people relying on assistive technologies may get confused about the content or skip important information.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure every article or blog post section has its own clear title so users know what it contains.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two articles on a news site are both labeled "Story," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,kw.__)('A feature story gets the title "How to Improve Site Accessibility" in its hidden or visible label.',"pojo-accessibility"),(0,kw.__)('A guest post section is labeled "Guest Insights: UX Trends" so assistive tech announces the correct article heading.',"pojo-accessibility")]}},aria_banner_label_unique:{violationName:(0,kw.__)("Duplicate Banner Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Banners must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If banners don’t have unique labels, people relying on assistive technologies may get confused about the purpose of each section, leading to a frustrating experience.","pojo-accessibility"),howToResolve:(0,kw.__)("Give your main page header (the banner) a unique name describing your site or section.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two banners on a page are both labeled "Site Banner," making it difficult for screen reader users to know which banner provides which information.',"pojo-accessibility"),resolution:[(0,kw.__)("Label the top header region “Pelican Claims Site Header” so screen readers recognize it as the main banner.","pojo-accessibility"),(0,kw.__)("If you have two headers, remove the extra label from the secondary one and keep only the primary banner named “Main Page Header.”","pojo-accessibility")]}},aria_banner_single:{violationName:(0,kw.__)("Multiple Banners Used","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Each page should have only one banner.","pojo-accessibility"),whyItMatters:(0,kw.__)("If there’s more than one banner, people relying on assistive technologies may get confused about the structure of the page, making navigation harder.","pojo-accessibility"),howToResolve:(0,kw.__)("Only one element on the page should act as the main banner. Remove banner labels from any extra headers.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A website includes two banners at the top, confusing screen reader users about where the main site information starts.","pojo-accessibility"),resolution:[(0,kw.__)("If both your logo area and top navigation were marked as banners, turn off the banner setting on the navigation so only the logo area remains the one true banner.","pojo-accessibility")]}},aria_complementary_label_unique:{violationName:(0,kw.__)("Duplicate Sidebar Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Side content areas must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If side sections don’t have unique labels, people relying on assistive technologies may not understand the difference between them, leading to confusion when navigating the page.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each sidebar or related-content region its own unique label so users understand its purpose.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two sidebars are both labeled "Related Information," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,kw.__)("A news sidebar is labeled “Related Articles” so it’s announced as such.","pojo-accessibility"),(0,kw.__)("A contact info box is named “Office Hours & Contacts.”","pojo-accessibility")]}},aria_complementary_labelled:{violationName:(0,kw.__)("Sidebar Missing Label","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Side content areas must have a clear label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If side content isn’t labeled, people relying on assistive technologies may miss important information or not understand the purpose of different sections.","pojo-accessibility"),howToResolve:(0,kw.__)("Link each complementary section (sidebar, help panel) to its visible heading or add a hidden label so it’s announced properly.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A sidebar with extra information isn’t labeled, so screen reader users don’t know what the section is about.","pojo-accessibility"),resolution:[(0,kw.__)("Above a “Recent Posts” sidebar, add the heading “Recent Posts” and connect the section to it so screen readers say “Recent Posts, section.”","pojo-accessibility"),(0,kw.__)("If no heading fits, give the section a hidden label like “Help & Support Panel.”","pojo-accessibility")]}},aria_content_in_landmark:{violationName:(0,kw.__)("Content Outside Landmarks","pojo-accessibility"),whatsTheIssue:(0,kw.__)("All content must be placed inside clear sections (landmarks).","pojo-accessibility"),whyItMatters:(0,kw.__)("If content isn’t placed inside clear landmarks, people relying on assistive technologies may struggle to navigate and understand the structure of the page.","pojo-accessibility"),howToResolve:(0,kw.__)("Enclose each major section of your page in the right landmark region so assistive tools know what each part is for.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A page has important content floating outside of main sections like “Main,” “Navigation,” or “Footer,” making it harder for screen reader users to find.","pojo-accessibility"),resolution:[(0,kw.__)("Main content: Put your primary article or page text inside a “Main Content” block or section so it’s announced as the main section.","pojo-accessibility"),(0,kw.__)("Footer: Use your theme’s Footer area (or add a “Footer” block) so it’s recognized as the page’s footer.","pojo-accessibility"),(0,kw.__)("Sidebar or related links: Place widgets like “Related Articles” or “Contact Info” inside a Sidebar or a “Complementary” region.","pojo-accessibility")]}},aria_contentinfo_label_unique:{violationName:(0,kw.__)("Duplicate Footer Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Footer sections must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If footer sections don’t have unique labels, people relying on assistive technologies may get confused about the different types of information available at the bottom of the page.","pojo-accessibility"),howToResolve:(0,kw.__)("Give your footer area a unique name (like “Site Footer”) so screen readers announce it as the page’s footer.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two footers on a page are both labeled "Footer," making it hard for screen reader users to know which one contains which information.',"pojo-accessibility"),resolution:[(0,kw.__)("In your footer settings, add the hidden label “Site Footer” so assistive tools recognize it.","pojo-accessibility"),(0,kw.__)("If you have a legal notice and a separate copyright block, label only the main footer section and leave the rest unlabeled.","pojo-accessibility")]}},aria_contentinfo_single:{violationName:(0,kw.__)("Multiple Footers Present","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Each page should have only one footer section.","pojo-accessibility"),whyItMatters:(0,kw.__)("If there’s more than one footer, people relying on assistive technologies may get confused about the page structure, making navigation harder and less predictable.","pojo-accessibility"),howToResolve:(0,kw.__)("Keep only one section marked as the page’s footer and remove any extra footer roles from secondary sections.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A page has two footers, making it confusing for screen reader users to understand where the main site information ends.","pojo-accessibility"),resolution:[(0,kw.__)("If both your top bar and bottom bar were set as footers, turn off the footer label on the top bar so only the true footer remains.","pojo-accessibility"),(0,kw.__)("A copyright widget had a footer setting—remove that so only the main footer block is treated as contentinfo.","pojo-accessibility")]}},aria_document_label_unique:{violationName:(0,kw.__)("Duplicate Document Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Documents must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If documents don’t have unique labels, people relying on assistive technologies may not understand the difference between them, leading to confusion and frustration.","pojo-accessibility"),howToResolve:(0,kw.__)("For any special document-like widget or panel, give it its own visible or hidden title so users understand its purpose.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two embedded documents on a page are both labeled "Document," making it difficult for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,kw.__)("A news feed panel is labeled “Breaking News Feed” so screen readers announce it.","pojo-accessibility"),(0,kw.__)("A downloadable report section gets a hidden label “Monthly Sales Report” if no visible heading fits.","pojo-accessibility")]}},aria_form_label_unique:{violationName:(0,kw.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Forms must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If forms don’t have unique labels, people relying on assistive technologies may get confused about what each form is for, leading to mistakes and frustration.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each form on the page a short, unique name (for example, “Contact Form” or “Newsletter Signup”) so assistive tools can tell them apart.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A page has two different forms, but both are labeled "Form," making it hard for screen reader users to know which form they are filling out.',"pojo-accessibility"),resolution:[(0,kw.__)("Label your contact form “Contact Us Form” in the form settings.","pojo-accessibility"),(0,kw.__)("A separate survey form is labeled “Customer Feedback Survey.”","pojo-accessibility")]}},aria_landmark_name_unique:{violationName:(0,kw.__)("Duplicate Landmark Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Landmark sections must have a unique label or be clearly separated.","pojo-accessibility"),whyItMatters:(0,kw.__)("If landmarks aren’t uniquely labeled or clearly separated, people relying on assistive technologies can get confused about the page layout, making navigation harder.","pojo-accessibility"),howToResolve:(0,kw.__)("If you have more than one section of the same kind (like two sidebars), give each a different label so users know which is which.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two navigation sections are both labeled "Main Menu," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,kw.__)("Rename one sidebar “Related Articles” and the other “Recommended Products.”","pojo-accessibility"),(0,kw.__)("For two menus, label one “Main Navigation” and the other “Footer Menu.”","pojo-accessibility")]}},aria_main_label_unique:{violationName:(0,kw.__)("Duplicate Main Content Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Main sections must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If main sections don’t have unique labels, people relying on assistive technologies may get lost or misunderstand the structure of the page.","pojo-accessibility"),howToResolve:(0,kw.__)("Identify one area as your page’s main content; if you need additional main-like sections, give each a unique label instead of multiple “Main” roles.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A page has two main sections, both labeled "Main Content," making it confusing for screen reader users to know which section they are in.',"pojo-accessibility"),resolution:[(0,kw.__)("Ensure only your primary content block is set as “Main.”","pojo-accessibility"),(0,kw.__)("If you show search results in a separate main-style panel, label it “Search Results Panel” rather than marking it as another main region.","pojo-accessibility")]}},aria_navigation_label_unique:{violationName:(0,kw.__)("Duplicate Navigation Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Navigation menus must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If navigation menus don’t have unique labels, people relying on assistive technologies may get confused and struggle to move around the site.","pojo-accessibility"),howToResolve:(0,kw.__)("Give every navigation menu (header, sidebar, footer) its own label so users know which menu they’re in.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A page has two navigation sections, both labeled "Navigation," making it hard for screen reader users to know which menu they are using.',"pojo-accessibility"),resolution:[(0,kw.__)("Label your top menu “Primary Navigation.”","pojo-accessibility"),(0,kw.__)("Label a footer menu “Footer Links.”","pojo-accessibility")]}},aria_region_label_unique:{violationName:(0,kw.__)("Duplicate Region Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Content sections (regions) must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If content sections don’t have unique labels, people relying on assistive technologies may get confused about the layout and miss important information.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each section or “region” (like a news box or sidebar) its own name so users know what it contains.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('Two regions on a page are both labeled "Section," making it difficult for screen reader users to understand the difference between them.',"pojo-accessibility"),resolution:[(0,kw.__)("Label your weather updates panel “Weather Forecast” and your stock ticker panel “Market Updates.”","pojo-accessibility"),(0,kw.__)("If you have two help boxes, name one “FAQ Help” and the other “Live Support Info.”","pojo-accessibility")]}},aria_region_labelled:{violationName:(0,kw.__)("Unlabeled Content Region","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Content sections must have a clear label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If content sections aren’t labeled, people relying on assistive technologies may not understand the purpose of different parts of the page, making navigation harder.","pojo-accessibility"),howToResolve:(0,kw.__)("Tie each section to its visible heading or add a hidden name so screen readers announce it correctly.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A section with additional information is not labeled, making it unclear for screen reader users what the section is about.","pojo-accessibility"),resolution:[(0,kw.__)("Add a heading “Real-Time Log” above a log panel and connect the panel to that heading.","pojo-accessibility"),(0,kw.__)("If there’s no visible heading, give the panel a hidden label like “Real-Time Log Panel.”","pojo-accessibility")]}},aria_search_label_unique:{violationName:(0,kw.__)("Duplicate Search Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Search areas must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If search areas don’t have unique labels, people relying on assistive technologies may get confused and struggle to find the right search tool.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each search input its own label so people know what they’re searching.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A page has two search bars, but both are labeled "Search," making it hard for screen reader users to know which search feature they are using.',"pojo-accessibility"),resolution:[(0,kw.__)("Label one search box “Search Products” and another “Search Blog Posts.”","pojo-accessibility"),(0,kw.__)("If your theme forces a generic “Search,” add hidden text “Search Site” to distinguish it.","pojo-accessibility")]}},aria_toolbar_label_unique:{violationName:(0,kw.__)("Duplicate Toolbar Labels","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Toolbars must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,kw.__)("If toolbars don’t have unique labels, people relying on assistive technologies may get confused about which toolbar to use, leading to mistakes and frustration.","pojo-accessibility"),howToResolve:(0,kw.__)("Give every toolbar or set of tools a clear name so users know what controls they’re grouped in.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A page has multiple toolbars, but they are all labeled "Toolbar," making it difficult for screen reader users to know what each one controls.',"pojo-accessibility"),resolution:[(0,kw.__)("Call your formatting toolbar “Text Formatting Tools.”","pojo-accessibility"),(0,kw.__)("Name a layout toolbar “Page Layout Controls.”","pojo-accessibility")]}},skip_main_exists:{violationName:(0,kw.__)("Missing Skip Link","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Pages must let users skip straight to the main content.","pojo-accessibility"),whyItMatters:(0,kw.__)("If people can't easily skip to the main content, especially keyboard and screen reader users, navigating the site becomes slow, frustrating, and tiring.","pojo-accessibility"),howToResolve:(0,kw.__)("Add a “Skip to main content” link as the first focusable item so keyboard users can jump straight to your page’s main area.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A user has to tab through the entire navigation menu every time they visit a new page because there’s no shortcut to jump to the main content.","pojo-accessibility"),resolution:[(0,kw.__)("Include a hidden link at the top labeled “Skip to main content” that appears when focused.","pojo-accessibility"),(0,kw.__)("Ensure that pressing Tab brings that link into view before the navigation menu.","pojo-accessibility")]}},page_title_exists:{violationName:(0,kw.__)("Missing Page Title","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Each page must have a clear, descriptive title.","pojo-accessibility"),whyItMatters:(0,kw.__)("If the page title doesn’t describe the content clearly, people may have trouble understanding where they are, especially when using tabs, bookmarks, or screen readers.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure every page actually has a title ⎯ and that the title tells visitors what’s on the page.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)('A page title just says "Home" even though it’s a product page, making it unclear to users and screen readers what the page is about.',"pojo-accessibility"),resolution:[(0,kw.__)("If the title box in your page or SEO settings is blank, type a short description such as “About Our Clinic.”","pojo-accessibility"),(0,kw.__)("If the title shows “Untitled Page,” replace it with something specific like “Contact Us – Email & Location.”","pojo-accessibility"),(0,kw.__)("If the design template “hides” the title area completely, switch to (or edit) a template that includes a title field, then add a descriptive phrase like “Organic Dog Treats – Home.”","pojo-accessibility")]}},frame_title_exists:{violationName:(0,kw.__)("Missing Iframe Title","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Embedded content (iframes) must have a clear, unique title.","pojo-accessibility"),whyItMatters:(0,kw.__)("If embedded content doesn’t have a descriptive title, people relying on assistive technologies may not know what the content is or whether they want to interact with it.","pojo-accessibility"),howToResolve:(0,kw.__)("Give each embedded frame (like videos or file previews) a short title so everyone knows what’s inside.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("An embedded video has no title, making it unclear to screen reader users what the embedded content is about.","pojo-accessibility"),resolution:[(0,kw.__)("For a project file embed, set its title to “Project Files Preview.”","pojo-accessibility"),(0,kw.__)("For a tutorial video, use “How-To Tutorial Video.”","pojo-accessibility")]}},list_children_valid:{violationName:(0,kw.__)("Invalid List Items","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Lists must only contain list items.","pojo-accessibility"),whyItMatters:(0,kw.__)("If lists are not built with the right items, assistive technologies can misread the structure, making it harder for people to understand the content.","pojo-accessibility"),howToResolve:(0,kw.__)("Make sure every item in a list or grouped set is a true list item so screen readers announce them in order.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A list groups together elements that aren’t proper list items, confusing screen readers.","pojo-accessibility"),resolution:[(0,kw.__)("In a bullet list of features, ensure each feature is a list item—don’t mix in headings or plain text blocks.","pojo-accessibility"),(0,kw.__)("For grouped icons or buttons, use a list container so each icon is treated as one item.","pojo-accessibility")]}},table_aria_descendants:{violationName:(0,kw.__)("Misused Table Roles","pojo-accessibility"),whatsTheIssue:(0,kw.__)("Don’t override the natural roles of table elements","pojo-accessibility"),whyItMatters:(0,kw.__)("If table elements have their natural roles changed, assistive technologies may misread the table, making it harder for people to understand the data","pojo-accessibility"),howToResolve:(0,kw.__)("When you add a table or grid, don’t layer extra labels or roles onto each row or cell. Use the table block’s built-in settings.","pojo-accessibility"),seeAnExample:{issue:(0,kw.__)("A table header cell (<th>) is manually given a different role, making it confusing for screen readers to understand the table structure.","pojo-accessibility"),resolution:[(0,kw.__)("Use your table widget’s header toggle for the first row instead of manually tagging each header cell.","pojo-accessibility"),(0,kw.__)("If you’ve marked up each cell again, remove those extra settings so the table remains clean and predictable.","pojo-accessibility")]}}},v4=({item:e,current:t,setOpen:r})=>{var n;const{openedBlock:o,currentScanId:i}=Y2(),{error:a}=qn(),{copied:s,copyToClipboard:l}=m4(),{markResolved:c}=g4({item:e,current:t}),[u,d]=(0,Fn.useState)(!1),p=()=>d(!1),h=t=>{ew(t,{category_name:o,issue_type:e.message,element_selector:e.path.dom})},f=()=>{const e=document.getElementById("ea11y-scanner-wizard-widget").shadowRoot.querySelector(`#manual-panel-${t}`);e&&e.focus()},m=o!==v1.colorContrast&&!A1.includes(e.ruleId);return(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsxs)(B5,{children:[(0,Bt.jsxs)(nk,{children:[(0,Bt.jsxs)(nk,{display:"flex",gap:1,alignItems:"center",children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h5",children:(0,kw.__)("What’s the issue","pojo-accessibility")}),(0,Bt.jsx)(o$,{tabIndex:"0",placement:"top",PopperProps:{disablePortal:!0},content:(0,Bt.jsxs)(H5,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle1",sx:{mb:1,textTransform:"none"},children:(0,kw.__)("What's the issue and why it matters?","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",children:b4[e.ruleId].whyItMatters})]}),children:(0,Bt.jsx)(KO,{fontSize:"small"})})]}),(0,Bt.jsx)(Gk,{variant:"body2",children:null!==(n=b4[e.ruleId]?.whatsTheIssue)&&void 0!==n?n:e.message})]}),(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h5",sx:{mb:.5},children:(0,kw.__)("Where is it","pojo-accessibility")}),(0,Bt.jsx)(_Q,{color:"error",icon:!1,children:(0,Bt.jsxs)(nk,{display:"flex",gap:.5,alignItems:"start",children:[(0,Bt.jsx)(F5,{variant:"body2",children:e.snippet}),(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(HP,{arrow:!0,placement:"bottom",title:s?(0,kw.__)("Copied!","pojo-accessibility"):(0,kw.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(fC,{size:"tiny",onClick:l(e.snippet,"error_snippet","assistant"),children:(0,Bt.jsx)(s4,{fontSize:"tiny"})})})})]})})]}),m&&(0,Bt.jsx)(y4,{current:t,item:e}),b4[e.ruleId]&&(0,Bt.jsx)(Bt.Fragment,{children:(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h5",children:(0,kw.__)("How to resolve it","pojo-accessibility")}),(0,Bt.jsxs)(Gk,{variant:"body2",children:[b4[e.ruleId].howToResolve,(0,Bt.jsx)(o$,{arrow:!0,placement:"left",onClose:p,open:u,PopperProps:{disablePortal:!0},disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,content:(0,Bt.jsxs)(H5,{children:[(0,Bt.jsxs)(nk,{display:"flex",justifyContent:"space-between",alignItems:"start",children:[(0,Bt.jsx)(Gk,{variant:"subtitle1",as:"h5",sx:{mb:3},children:(0,kw.__)("See an example","pojo-accessibility")}),(0,Bt.jsx)(fC,{onClick:p,"aria-label":(0,kw.__)("Close tooltip","pojo-accessibility"),size:"small",edge:"end",sx:{mt:-1},children:(0,Bt.jsx)(W2,{})})]}),(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h6",children:(0,kw.__)("Issue:","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",color:"secondary",sx:{mb:2},children:b4[e.ruleId].seeAnExample.issue}),(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h6",children:(0,kw.__)("Resolution:","pojo-accessibility")}),b4[e.ruleId].seeAnExample.resolution.flatMap((e,t)=>(0,Bt.jsx)(Gk,{variant:"body2",color:"secondary",sx:{mb:2},children:e},`resolution-${t}`)),(0,Bt.jsx)(V5,{children:(0,Bt.jsx)(Wa,{size:"small",color:"info",variant:"contained",onClick:p,children:(0,kw.__)("Got it","pojo-accessibility")})})]}),children:(0,Bt.jsx)(uL,{underline:"none",color:"info.main",onClick:e=>{e.preventDefault(),d(!0)},sx:{mx:.5},children:(0,kw.__)("See an example","pojo-accessibility")})})]})]})})]}),(0,Bt.jsxs)(h4,{sx:{py:3},children:[(0,Bt.jsx)(Wa,{size:"small",color:"secondary",variant:"text",onClick:()=>{p(),r(t+1),f(),h(tw.issueSkipped),(0,fJ.speak)((0,kw.__)("Issue skipped","pojo-accessibility"),"polite")},children:(0,kw.__)("Skip for now","pojo-accessibility")}),(0,Bt.jsx)(Wa,{size:"small",color:"info",variant:"outlined",onClick:async()=>{try{await to.resolveIssue(i),p(),c(),f(),h(tw.markAsResolveClicked),(0,fJ.speak)((0,kw.__)("Issue resolved","pojo-accessibility"),"polite")}catch(e){a((0,kw.__)("An error occurred.","pojo-accessibility"))}},startIcon:(0,Bt.jsx)(a4,{}),children:(0,kw.__)("Mark as resolved","pojo-accessibility")})]})]})};v4.propTypes={item:G5,current:Y_().number.isRequired,setOpen:Y_().func.isRequired};const x4=()=>{const{openIndex:e,setOpenIndex:t,handleOpen:r,openedBlock:n,sortedViolations:o,manualData:i}=Y2();return(0,Bt.jsx)(nk,{sx:{pb:8},children:o[n].map((o,a)=>{var s;return(0,Bt.jsxs)(z5,{elevation:0,square:!0,disableGutters:!0,expanded:e===a,onChange:r(a,o),children:[(0,Bt.jsxs)(D5,{"aria-controls":`manual-panel-${a}`,id:`manual-panel-${a}`,children:[(0,Bt.jsx)(qE,{color:"info",checkedIcon:(0,Bt.jsx)(BQ,{}),disabled:!0,checked:i[n][a]?.resolved||!1,"aria-label":(0,kw.__)("Resolved","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",as:"h4",sx:{mr:.5},noWrap:!0,children:null!==(s=b4[o.ruleId]?.violationName)&&void 0!==s?s:o.category})]}),(0,Bt.jsx)(v4,{item:o,current:a,setOpen:t})]},`${o.ruleId}-${a}`)})})};var w4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.75C9.9337 3.75 9.87011 3.77634 9.82322 3.82322C9.77634 3.87011 9.75 3.9337 9.75 4V6.25H14.25V4C14.25 3.9337 14.2237 3.87011 14.1768 3.82322C14.1299 3.77634 14.0663 3.75 14 3.75H10ZM15.75 6.25V4C15.75 3.53587 15.5656 3.09075 15.2374 2.76256C14.9092 2.43437 14.4641 2.25 14 2.25H10C9.53587 2.25 9.09075 2.43437 8.76256 2.76256C8.43437 3.09075 8.25 3.53587 8.25 4V6.25H5.00877C5.00349 6.24994 4.9982 6.24994 4.9929 6.25H4C3.58579 6.25 3.25 6.58579 3.25 7C3.25 7.41421 3.58579 7.75 4 7.75H4.3099L5.25021 19.0337C5.25898 19.7508 5.54767 20.4368 6.05546 20.9445C6.57118 21.4603 7.27065 21.75 8 21.75H16C16.7293 21.75 17.4288 21.4603 17.9445 20.9445C18.4523 20.4368 18.741 19.7508 18.7498 19.0337L19.6901 7.75H20C20.4142 7.75 20.75 7.41421 20.75 7C20.75 6.58579 20.4142 6.25 20 6.25H19.0071C19.0018 6.24994 18.9965 6.24994 18.9912 6.25H15.75ZM5.8151 7.75L6.74741 18.9377C6.74914 18.9584 6.75 18.9792 6.75 19C6.75 19.3315 6.8817 19.6495 7.11612 19.8839C7.35054 20.1183 7.66848 20.25 8 20.25H16C16.3315 20.25 16.6495 20.1183 16.8839 19.8839C17.1183 19.6495 17.25 19.3315 17.25 19C17.25 18.9792 17.2509 18.9584 17.2526 18.9377L18.1849 7.75H5.8151ZM10 10.25C10.4142 10.25 10.75 10.5858 10.75 11V17C10.75 17.4142 10.4142 17.75 10 17.75C9.58579 17.75 9.25 17.4142 9.25 17V11C9.25 10.5858 9.58579 10.25 10 10.25ZM14 10.25C14.4142 10.25 14.75 10.5858 14.75 11V17C14.75 17.4142 14.4142 17.75 14 17.75C13.5858 17.75 13.25 17.4142 13.25 17V11C13.25 10.5858 13.5858 10.25 14 10.25Z"}))),C4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7 2.25C8.46249 2.25 8.23103 2.29047 8.0079 2.38964C7.78802 2.48736 7.61395 2.62539 7.46967 2.76967L2.76967 7.46967C2.62539 7.61395 2.48736 7.78802 2.38964 8.0079C2.29047 8.23103 2.25 8.46249 2.25 8.7V15.3C2.25 15.5375 2.29047 15.769 2.38964 15.9921C2.48736 16.212 2.62539 16.3861 2.76967 16.5303L7.46967 21.2303C7.61395 21.3746 7.78802 21.5126 8.0079 21.6104C8.23103 21.7095 8.46249 21.75 8.7 21.75H15.3C15.5375 21.75 15.769 21.7095 15.9921 21.6104C16.212 21.5126 16.3861 21.3746 16.5303 21.2303L21.2303 16.5303C21.3746 16.3861 21.5126 16.212 21.6104 15.9921C21.7095 15.769 21.75 15.5375 21.75 15.3V8.7C21.75 8.46249 21.7095 8.23103 21.6104 8.0079C21.5126 7.78802 21.3746 7.61395 21.2303 7.46967L16.5303 2.76967C16.3861 2.62539 16.212 2.48736 15.9921 2.38964C15.769 2.29047 15.5375 2.25 15.3 2.25H8.7ZM12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8V12C11.25 12.4142 11.5858 12.75 12 12.75C12.4142 12.75 12.75 12.4142 12.75 12V8ZM12 15.25C11.5858 15.25 11.25 15.5858 11.25 16C11.25 16.4142 11.5858 16.75 12 16.75H12.01C12.4242 16.75 12.76 16.4142 12.76 16C12.76 15.5858 12.4242 15.25 12.01 15.25H12Z"})));const _4=({open:e,hideConfirmation:t,onDelete:r,isMain:n=!1})=>(0,Bt.jsx)(W0,{open:e,onClose:t,onCancel:t,title:n?(0,kw.__)("Delete fixes for this page?","pojo-accessibility"):(0,kw.__)("Delete this fix?","pojo-accessibility"),approveText:n?(0,kw.__)("Delete fixes","pojo-accessibility"):(0,kw.__)("Delete fix","pojo-accessibility"),cancelText:(0,kw.__)("Not now","pojo-accessibility"),logo:(0,Bt.jsx)(C4,{color:"error",sx:{mt:"6px"}}),onApprove:r,showCloseButton:!0,disablePortal:!0,PaperProps:{sx:{maxWidth:"440px",width:"100%"}},children:(0,Bt.jsx)(Gk,{variant:"body2",children:n?(0,kw.__)("This removes the fixes and marks the accessibility issues as unresolve. This can’t be undone.","pojo-accessibility"):(0,kw.__)("This removes the fix and marks the accessibility issue as unresolve. This can’t be undone.","pojo-accessibility")})}),k4=(e=null)=>{const{error:t}=qn(),{remediations:r,sortedRemediation:n,openedBlock:o,setSortedRemediation:i,setLoading:a,updateRemediationList:s,setIsManageChanged:l}=Y2(),[c,u]=(0,Fn.useState)(!1);return{activeRequest:c,updateAllRemediationForPage:(e,o)=>async()=>{try{a(!0),await to.updateRemediationStatusForPage({url:window?.ea11yScannerData?.pageData?.url,active:e,group:o}),l(!0),await s(),ew(tw[e?"remediationEnabled":"remediationDisabled"],{action_type:e?"enable_all":"disable_all",remediations_amount:o?n[o]:r?.length,category:o||"all"})}catch(e){console.error(e),t((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{a(!1)}},deleteAllRemediationForPage:async e=>{try{if(a(!0),await to.deleteRemediationForPage({url:window?.ea11yScannerData?.pageData?.url,group:e}),await ew(tw.remediationRemoved,{action_type:"remove_all",remediations_amount:e?n[e]:r?.length,category:e||"all"}),e)await s();else{const e=new URL(window.location.href);e.searchParams.delete("open-ea11y-assistant"),e.searchParams.delete("open-ea11y-assistant-src"),e.searchParams.append("open-ea11y-assistant","1"),window.location.assign(e)}}catch(e){console.error(e),t((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{a(!1)}},updateRemediation:r=>async()=>{try{u(!0),await to.updateRemediation({url:window?.ea11yScannerData?.pageData?.url,active:r,id:e.id});const t=n[o].map(t=>t.id===e.id?{...t,active:r}:t);i({...n,[o]:t}),l(!0),ew(tw[r?"remediationEnabled":"remediationDisabled"],{action_type:r?"enable_specific":"disable_specific",category_name:o,issue_type:e.rule})}catch(e){console.error(e),t((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{u(!1)}},deleteRemediation:async()=>{try{u(!0),await to.deleteRemediation({url:window?.ea11yScannerData?.pageData?.url,id:e.id});const t=n[o].flatMap(t=>t.id!==e.id?t:[]);i({...n,[o]:t}),l(!0),ew(tw.remediationRemoved,{action_type:"remove_specific",category_name:o,issue_type:e.rule})}catch(e){console.error(e),t((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{u(!1)}},editRemediation:async r=>{try{u(!0);const t=JSON.stringify(r);await to.updateRemediationContent({url:window?.ea11yScannerData?.pageData?.url,id:e.id,content:t});const a=n[o].map(r=>r.id===e.id?{...r,content:t}:r);i({...n,[o]:a}),l(!0),ew(tw.applyFixButtonClicked,{fix_method:"manual",snippet_content:t,category_name:o,source:"remediation"})}catch(e){console.error(e),t((0,kw.__)("An error occurred.","pojo-accessibility"))}finally{u(!1)}}}},A4=({group:e})=>{const{deleteAllRemediationForPage:t}=k4(),[r,n]=(0,Fn.useState)(!1),o=()=>n(!r);return(0,Bt.jsxs)(Bt.Fragment,{children:[e?(0,Bt.jsx)(fC,{size:"tiny",color:"error","aria-label":(0,kw.__)("Remove all remediations","pojo-accessibility"),onClick:o,children:(0,Bt.jsx)(w4,{fontSize:"tiny"})}):(0,Bt.jsx)(Wa,{startIcon:(0,Bt.jsx)(w4,{}),size:"small",color:"error",variant:"text",onClick:o,children:(0,kw.__)("Remove all","pojo-accessibility")}),(0,Bt.jsx)(_4,{open:r,hideConfirmation:o,onDelete:async()=>{n(!1),await t(e)},isMain:!0})]})};var S4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.66005 6.72071C4.46747 8.15133 3.75 9.99188 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C14.0081 20.25 15.8487 19.5325 17.2793 18.34L5.66005 6.72071ZM6.72071 5.66005L18.34 17.2793C19.5325 15.8487 20.25 14.0081 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75C9.99188 3.75 8.15133 4.46747 6.72071 5.66005ZM2.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 12Z"})));const j4=({group:e})=>{const{updateAllRemediationForPage:t}=k4();return e?(0,Bt.jsx)(fC,{size:"tiny",color:"secondary","aria-label":(0,kw.__)("Disable all remediations","pojo-accessibility"),onClick:t(!1,e),children:(0,Bt.jsx)(S4,{fontSize:"tiny"})}):(0,Bt.jsx)(Wa,{startIcon:(0,Bt.jsx)(S4,{}),size:"small",color:"secondary",variant:"text",onClick:t(!1),children:(0,kw.__)("Disable all","pojo-accessibility")})};var M4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.2295 8.24989H15C14.5858 8.24989 14.25 8.58568 14.25 8.99989C14.25 9.4141 14.5858 9.74989 15 9.74989H19.4164C19.4276 9.75014 19.4389 9.75015 19.4502 9.74989H20C20.4142 9.74989 20.75 9.4141 20.75 8.99989V3.99989C20.75 3.58568 20.4142 3.24989 20 3.24989C19.5858 3.24989 19.25 3.58568 19.25 3.99989V7.05997C17.216 4.05724 13.4602 2.59135 9.82139 3.52648C8.28303 3.92219 6.88124 4.72923 5.76667 5.86098C4.65209 6.99273 3.86662 8.40653 3.49449 9.95076C3.12236 11.495 3.1776 13.1114 3.6543 14.6266C4.13101 16.1418 5.01118 17.4987 6.20042 18.5517C7.38967 19.6047 8.84313 20.3141 10.4049 20.6039C11.9667 20.8936 13.5779 20.7528 15.0657 20.1964C16.5535 19.64 17.8618 18.6892 18.8503 17.4458C19.8388 16.2024 20.4702 14.7134 20.6767 13.1384C20.7306 12.7277 20.4413 12.3511 20.0306 12.2972C19.6199 12.2434 19.2433 12.5327 19.1894 12.9434C19.0183 14.2483 18.4952 15.4821 17.6761 16.5123C16.8571 17.5426 15.7731 18.3304 14.5403 18.7914C13.3076 19.2524 11.9726 19.3691 10.6785 19.129C9.38447 18.889 8.18018 18.3012 7.1948 17.4287C6.20943 16.5562 5.48014 15.4319 5.08516 14.1765C4.69018 12.921 4.6444 11.5817 4.95274 10.3022C5.26108 9.02267 5.9119 7.85123 6.83541 6.9135C7.75887 5.9758 8.92032 5.30712 10.1949 4.97924M10.1949 4.97924C13.3573 4.1666 16.6106 5.53614 18.2295 8.24989L10.1949 4.97924Z"})));const R4=({group:e})=>{const{updateAllRemediationForPage:t}=k4();return e?(0,Bt.jsx)(fC,{size:"tiny",color:"info","aria-label":(0,kw.__)("Enable all remediations","pojo-accessibility"),onClick:t(!0,e),children:(0,Bt.jsx)(M4,{fontSize:"tiny"})}):(0,Bt.jsx)(Wa,{startIcon:(0,Bt.jsx)(M4,{}),size:"small",color:"info",variant:"text",onClick:t(!0),children:(0,kw.__)("Enable all","pojo-accessibility")})},I4=({title:e,count:t,block:r})=>{const{sortedRemediation:n,setOpenedBlock:o}=Y2(),i=n[r].length,a=r===v1.colorContrast||r===v1.altText,s=n[r]?.length===n[r]?.filter(e=>!Number(e.active))?.length;return(0,Bt.jsxs)(RQ,{disabled:a,children:[(0,Bt.jsx)(IQ,{variant:"text",color:"secondary",size:"large",fullWidth:!0,onClick:()=>{o(r),ew(tw.categoryClicked,{page_url:window.ea11yScannerData?.pageData?.url,issue_count:t,category_name:e,source:"remediation"})},disabled:a,children:(0,Bt.jsx)(Gk,{noWrap:!0,variant:"subtitle2",as:"h4",children:e})}),(0,Bt.jsx)(PA,{label:(0,kw.sprintf)(
// Translators: %1$s - active, %2$s - total
// Translators: %1$s - active, %2$s - total
(0,kw.__)("%1$s/%2$s active","pojo-accessibility"),t,i),color:t>0?"info":"default",variant:"standard",size:"tiny",disabled:0===t}),(0,Bt.jsxs)(EQ,{children:[s?(0,Bt.jsx)(R4,{group:r}):(0,Bt.jsx)(j4,{group:r}),(0,Bt.jsx)(A4,{group:r})]})]})};I4.propTypes={title:Y_().string.isRequired,count:Y_().number.isRequired,block:Y_().string.isRequired};const E4=()=>{const{sortedRemediation:e}=Y2();return(0,Bt.jsx)(LQ,{children:Object.keys(e).flatMap(t=>{if(e[t].length<1)return[];const r=e[t].filter(e=>Number(e.active)).length||0;return(0,Bt.jsx)(I4,{title:w1[t],count:r,block:v1[t]},t)})})},T4=()=>{const{remediations:e}=Y2(),t=e?.length===e?.filter(e=>!Number(e.active))?.length;return(0,Bt.jsxs)(nk,{display:"flex",gap:1,children:[t?(0,Bt.jsx)(R4,{}):(0,Bt.jsx)(j4,{}),(0,Bt.jsx)(X_,{orientation:"vertical",flexItem:!0,sx:{my:.5}}),(0,Bt.jsx)(A4,{})]})},P4=()=>{const{remediations:e,setIsManage:t,setOpenedBlock:r}=Y2();return(0,Fn.useEffect)(()=>{0===e?.length&&(t(!1),r(v1.main))},[e?.length]),(0,Bt.jsxs)(O4,{children:[(0,Bt.jsxs)(L4,{children:[(0,Bt.jsx)(Gk,{variant:"body2",children:(0,kw.__)("All issues","pojo-accessibility")}),(0,Bt.jsx)(T4,{})]}),(0,Bt.jsx)(E4,{})]})},L4=da(nk)`
display: flex;
align-items: center;
justify-content: space-between;
`,O4=da(wO)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(2)};
padding: 0 ${({theme:e})=>e.spacing(2)};
`,N4=Y_().shape({id:Y_().number.isRequired,url:Y_().string.isRequired,active:Y_().bool.isRequired,category:Y_().string.isRequired,content:Y_().string.isRequired,group:Y_().string.isRequired,rule:Y_().string.isRequired,created_at:Y_().string.isRequired,updated_at:Y_().string.isRequired}),$4=({item:e})=>{const t=JSON.parse(e.content),{openedBlock:r}=Y2(),{copied:n,copyToClipboard:o}=m4(),{activeRequest:i,deleteRemediation:a,updateRemediation:s,editRemediation:l}=k4(e),[c,u]=(0,Fn.useState)(!1),[d,p]=(0,Fn.useState)(!1),[h,f]=(0,Fn.useState)(t.replace),m=Number(e.active),g=()=>p(!d);return(0,Bt.jsxs)(nk,{sx:{mb:3},children:[(0,Bt.jsxs)(gO,{variant:"outlined",sx:{overflow:"visible"},children:[(0,Bt.jsxs)(wO,{sx:{pt:1.5,pb:0},children:[(0,Bt.jsxs)(W5,{children:[(0,Bt.jsxs)(q5,{children:[(0,Bt.jsx)(v5,{}),(0,Bt.jsx)(Gk,{variant:"subtitle2",children:m?(0,kw.__)("Active fix","pojo-accessibility"):(0,kw.__)("Fix (disabled)","pojo-accessibility")})]}),!c&&(0,Bt.jsx)(HP,{placement:"top",title:(0,kw.__)("Edit","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(fC,{size:"tiny",onClick:()=>{u(!0),ew(tw.editSnippetClicked,{snippet_content:t.replace,category_name:r,source:"remediation"})},disabled:i,children:(0,Bt.jsx)(K1,{fontSize:"small"})})})]}),c?(0,Bt.jsx)(U5,{value:h,color:"secondary",size:"small",multiline:!0,fullWidth:!0,onChange:e=>{f(e.target.value)},inputProps:{"aria-label":(0,kw.__)("Manual edit","pojo-accessibility")},disabled:i}):(0,Bt.jsx)(_Q,{color:m?"info":"secondary",icon:!1,disabled:!m,children:(0,Bt.jsxs)(nk,{display:"flex",gap:.5,alignItems:"start",children:[(0,Bt.jsx)(F5,{variant:"body2",sx:{width:"290px"},children:t.replace}),(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(HP,{arrow:!0,placement:"bottom",title:n?(0,kw.__)("Copied!","pojo-accessibility"):(0,kw.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(fC,{size:"tiny",onClick:o(t.replace,"fixed_snippet","remediation"),children:(0,Bt.jsx)(s4,{fontSize:"tiny"})})})})]})})]}),(0,Bt.jsx)(qO,{sx:{p:2},children:c?(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)(Wa,{size:"small",color:"secondary",variant:"text",onClick:()=>u(!1),disabled:i,children:(0,kw.__)("Cancel","pojo-accessibility")}),(0,Bt.jsx)(Wa,{size:"small",color:"info",variant:"contained",loadingPosition:"start",disabled:h===t.replace||i,onClick:async()=>{await l({...t,replace:h}),u(!1)},children:(0,kw.__)("Apply changes","pojo-accessibility")})]}):(0,Bt.jsxs)(nk,{display:"flex",gap:1,children:[(0,Bt.jsx)(fC,{size:"tiny",color:"error","aria-label":(0,kw.__)("Remove remediation","pojo-accessibility"),onClick:g,disabled:i,children:(0,Bt.jsx)(w4,{fontSize:"tiny"})}),(0,Bt.jsx)(X_,{orientation:"vertical",flexItem:!0,sx:{my:.5}}),m?(0,Bt.jsx)(Wa,{startIcon:(0,Bt.jsx)(S4,{}),size:"small",color:"secondary",variant:"text",disabled:i,onClick:s(!1),children:(0,kw.__)("Disable","pojo-accessibility")}):(0,Bt.jsx)(Wa,{startIcon:(0,Bt.jsx)(M4,{}),size:"small",color:"info",variant:"text",disabled:i,onClick:s(!0),children:(0,kw.__)("Enable","pojo-accessibility")})]})})]}),(0,Bt.jsx)(_4,{open:d,hideConfirmation:g,onDelete:async()=>{p(!1),await a()}})]})};$4.propTypes={item:N4};const z4=({item:e})=>{const{copied:t,copyToClipboard:r}=m4(),n=JSON.parse(e.content);return(0,Bt.jsx)(Bt.Fragment,{children:(0,Bt.jsxs)(B5,{children:[(0,Bt.jsxs)(nk,{children:[(0,Bt.jsxs)(nk,{display:"flex",gap:1,alignItems:"center",children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",as:"h5",children:(0,kw.__)("What’s the issue","pojo-accessibility")}),(0,Bt.jsx)(o$,{tabIndex:"0",placement:"top",PopperProps:{disablePortal:!0},content:(0,Bt.jsxs)(H5,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle1",sx:{mb:1,textTransform:"none"},children:(0,kw.__)("What's the issue and why it matters?","pojo-accessibility")}),(0,Bt.jsx)(Gk,{variant:"body2",children:b4[e.rule].whyItMatters})]}),children:(0,Bt.jsx)(KO,{fontSize:"small"})})]}),(0,Bt.jsx)(Gk,{variant:"body2",children:b4[e.rule]?.whatsTheIssue})]}),(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(Gk,{variant:"subtitle2",sx:{mb:.5},children:(0,kw.__)("Affected element:","pojo-accessibility")}),(0,Bt.jsx)(_Q,{color:"error",icon:!1,children:(0,Bt.jsxs)(nk,{display:"flex",gap:.5,alignItems:"start",children:[(0,Bt.jsx)(F5,{variant:"body2",children:n.find}),(0,Bt.jsx)(nk,{children:(0,Bt.jsx)(HP,{arrow:!0,placement:"bottom",title:t?(0,kw.__)("Copied!","pojo-accessibility"):(0,kw.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(fC,{size:"tiny",onClick:r(n.find,"error_snippet","remediation"),children:(0,Bt.jsx)(s4,{fontSize:"tiny"})})})})]})})]}),(0,Bt.jsx)($4,{item:e})]})})};z4.propTypes={item:N4};const D4=()=>{const{openIndex:e,handleOpen:t,openedBlock:r,sortedRemediation:n,setOpenedBlock:o}=Y2();return(0,Fn.useEffect)(()=>{0===n[r]?.length&&o(v1.management)},[n[r]?.length]),(0,Bt.jsx)(nk,{sx:{pb:8},children:n[r].map((r,n)=>{var o;return(0,Bt.jsxs)(z5,{elevation:0,square:!0,disableGutters:!0,expanded:e===n,onChange:t(n,r),children:[(0,Bt.jsxs)(D5,{"aria-controls":`manual-panel-${n}`,id:`manual-panel-${n}`,children:[(0,Bt.jsx)(qE,{color:"info",checkedIcon:(0,Bt.jsx)(BQ,{}),disabled:!0,checked:Number(r.active),role:"presentation"}),(0,Bt.jsx)(Gk,{variant:"body2",sx:{mr:.5},noWrap:!0,children:null!==(o=b4[r.rule]?.violationName)&&void 0!==o?o:r.rule})]}),(0,Bt.jsx)(z4,{item:r})]},`${r.rule}-${n}`)})})};var B4=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{d:"M11.9917 3.28959C14.1198 3.28323 16.1774 4.0527 17.7791 5.45396C19.3809 6.85522 20.417 8.79222 20.6936 10.9023C20.7475 11.313 20.4582 11.6896 20.0475 11.7435C19.6368 11.7973 19.2602 11.508 19.2064 11.0973C18.9772 9.3489 18.1186 7.74397 16.7915 6.58292C15.4643 5.42187 13.7595 4.78431 11.9962 4.78958C10.2328 4.79486 8.53185 5.4426 7.21165 6.61156C5.89146 7.78053 5.04255 9.39057 4.82383 11.1403C4.60511 12.89 5.03159 14.6595 6.02342 16.1175C7.01525 17.5754 8.50444 18.6219 10.2122 19.0611C11.92 19.5003 13.7293 19.302 15.3014 18.5033C16.5306 17.8789 17.5489 16.921 18.2465 15.7498H14.95C14.5358 15.7498 14.2 15.414 14.2 14.9998C14.2 14.5856 14.5358 14.2498 14.95 14.2498H19.433C19.4444 14.2496 19.4559 14.2496 19.4675 14.2498H19.95C20.3642 14.2498 20.7 14.5856 20.7 14.9998V19.9998C20.7 20.414 20.3642 20.7498 19.95 20.7498C19.5358 20.7498 19.2 20.414 19.2 19.9998V17.0375C18.3806 18.215 17.278 19.1817 15.9808 19.8407C14.0834 20.8045 11.8998 21.0439 9.83865 20.5138C7.77753 19.9838 5.98023 18.7208 4.78319 16.9612C3.58615 15.2016 3.07144 13.066 3.33541 10.9542C3.59938 8.8425 4.62393 6.89935 6.21727 5.48853C7.81061 4.07771 9.86351 3.29595 11.9917 3.28959Z"})));const F4=da("div")(({theme:e})=>({"& .react-colorful":{width:"100%",height:"auto",gap:e.spacing(2),"& .react-colorful__saturation":{borderRadius:0,height:200},"& .react-colorful__hue, & .react-colorful__alpha":{borderRadius:5*e.shape.borderRadius,height:"12px"},"& .react-colorful__pointer":{width:"24px",height:"24px"}}})),H4={hex:OI,rgb:function(e){return n.createElement(PI,XR({},e,{colorModel:HI}))},hsl:function(e){return n.createElement(PI,XR({},e,{colorModel:BI}))}},V4={hex:function(e){return n.createElement($I,XR({},e,{colorModel:zI}))},rgb:function(e){return n.createElement($I,XR({},e,{colorModel:FI}))},hsl:function(e){return n.createElement($I,XR({},e,{colorModel:DI}))}},W4=o().forwardRef((e,t)=>{const{value:r,format:n,onChange:i,disableOpacity:a=!1,...s}=e,l=a?H4[n]:V4[n];return o().createElement(F4,{...s,ref:t},o().createElement(l,{color:r,onChange:e=>{const t="hex"===n&&e.startsWith("#Na")?"":e;i(t)}}))});var q4=W4,U4=o().forwardRef((e,t)=>o().createElement(VM,{...e,ref:t})),Z4={grad:.9,turn:360,rad:360/(2*Math.PI)},G4=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},X4=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},K4=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},Y4=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},J4=function(e){return{r:K4(e.r,0,255),g:K4(e.g,0,255),b:K4(e.b,0,255),a:K4(e.a)}},Q4=function(e){return{r:X4(e.r),g:X4(e.g),b:X4(e.b),a:X4(e.a,3)}},e3=/^#([0-9a-f]{3,8})$/i,t3=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},r3=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),a=i-Math.min(t,r,n),s=a?i===t?(r-n)/a:i===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:o}},n3=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),a=n*(1-r),s=n*(1-(t-i)*r),l=n*(1-(1-t+i)*r),c=i%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c],a:o}},o3=function(e){return{h:Y4(e.h),s:K4(e.s,0,100),l:K4(e.l,0,100),a:K4(e.a)}},i3=function(e){return{h:X4(e.h),s:X4(e.s),l:X4(e.l),a:X4(e.a,3)}},a3=function(e){return n3((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},s3=function(e){return{h:(t=r3(e)).h,s:(o=(200-(r=t.s))*(n=t.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,r,n,o},l3=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,c3=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,u3=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,d3=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p3={string:[[function(e){var t=e3.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?X4(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?X4(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=u3.exec(e)||d3.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:J4({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=l3.exec(e)||c3.exec(e);if(!t)return null;var r,n,o=o3({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*(Z4[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return a3(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=void 0===o?1:o;return G4(t)&&G4(r)&&G4(n)?J4({r:Number(t),g:Number(r),b:Number(n),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=void 0===o?1:o;if(!G4(t)||!G4(r)||!G4(n))return null;var a=o3({h:Number(t),s:Number(r),l:Number(n),a:Number(i)});return a3(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,i=void 0===o?1:o;if(!G4(t)||!G4(r)||!G4(n))return null;var a=function(e){return{h:Y4(e.h),s:K4(e.s,0,100),v:K4(e.v,0,100),a:K4(e.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(i)});return n3(a)},"hsv"]]},h3=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},f3=function(e){return"string"==typeof e?h3(e.trim(),p3.string):"object"==typeof e&&null!==e?h3(e,p3.object):[null,void 0]},m3=function(e,t){var r=s3(e);return{h:r.h,s:K4(r.s+100*t,0,100),l:r.l,a:r.a}},g3=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},y3=function(e,t){var r=s3(e);return{h:r.h,s:r.s,l:K4(r.l+100*t,0,100),a:r.a}},b3=function(){function e(e){this.parsed=f3(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return X4(g3(this.rgba),2)},e.prototype.isDark=function(){return g3(this.rgba)<.5},e.prototype.isLight=function(){return g3(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Q4(this.rgba)).r,r=e.g,n=e.b,i=(o=e.a)<1?t3(X4(255*o)):"","#"+t3(t)+t3(r)+t3(n)+i;var e,t,r,n,o,i},e.prototype.toRgb=function(){return Q4(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Q4(this.rgba)).r,r=e.g,n=e.b,(o=e.a)<1?"rgba("+t+", "+r+", "+n+", "+o+")":"rgb("+t+", "+r+", "+n+")";var e,t,r,n,o},e.prototype.toHsl=function(){return i3(s3(this.rgba))},e.prototype.toHslString=function(){return t=(e=i3(s3(this.rgba))).h,r=e.s,n=e.l,(o=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+o+")":"hsl("+t+", "+r+"%, "+n+"%)";var e,t,r,n,o},e.prototype.toHsv=function(){return e=r3(this.rgba),{h:X4(e.h),s:X4(e.s),v:X4(e.v),a:X4(e.a,3)};var e},e.prototype.invert=function(){return v3({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),v3(m3(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),v3(m3(this.rgba,-e))},e.prototype.grayscale=function(){return v3(m3(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),v3(y3(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),v3(y3(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?v3({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):X4(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=s3(this.rgba);return"number"==typeof e?v3({h:e,s:t.s,l:t.l,a:t.a}):X4(t.h)},e.prototype.isEqual=function(e){return this.toHex()===v3(e).toHex()},e}(),v3=function(e){return e instanceof b3?e:new b3(e)};const x3=da(U4)(()=>({"& .MuiInputBase-input":{"-moz-appearance":"textfield","&::-webkit-outer-spin-button, &::-webkit-inner-spin-button":{margin:0,"-webkit-appearance":"none"}}})),w3=o().forwardRef((e,t)=>{const{value:r,onChange:n,min:i,max:a,onBlur:s,...l}=e;return o().createElement(x3,{type:"number",...l,ref:t,value:r,onChange:e=>{const t=parseFloat(e.target.value);n(t)},onBlur:e=>{const t=((e,{min:t,max:r}={})=>"number"!=typeof(e="string"==typeof e?parseFloat(e):e)||isNaN(e)?0:(void 0!==r&&(e=Math.min(e,r)),void 0!==t&&(e=Math.max(e,t)),e))(e.target.value,{min:i,max:a});n(t),s?.(e)}})});var C3=w3,_3=({value:e,onChange:t,disableOpacity:r=!1,...n})=>{const{r:i,g:a,b:s,a:l}=e;return o().createElement(nk,{display:"flex",gap:.75},o().createElement(C3,{...n,min:0,max:255,value:i,onChange:r=>t({...e,r})}),o().createElement(C3,{...n,min:0,max:255,value:a,onChange:r=>t({...e,g:r})}),o().createElement(C3,{...n,min:0,max:255,value:s,onChange:r=>t({...e,b:r})}),!r&&o().createElement(C3,{...n,min:0,max:100,value:Math.round(100*l),onChange:r=>t({...e,a:r/100}),endAdornment:o().createElement(OS,{disableTypography:!0,position:"end"},"%")}))},k3=()=>A3;function A3(e,t,r){let n=v3(e);return void 0!==r&&r>=0&&r<=1&&(n=n.alpha(r)),"rgb"===t?n.toRgbString():"hsl"===t?n.toHslString():n.toHex()}const S3=o().forwardRef((e,t)=>{const{value:r,onChange:i,disableOpacity:a=!1,...s}=e,l=k3(),c=(0,n.useRef)(r);return o().createElement(U4,{...s,ref:t,value:r,onChange:e=>{const t=e.target.value.replace(/^#+/g,"");i("#"+t)},onFocus:e=>{c.current=e.target.value,s.onFocus?.(e)},onBlur:e=>{(e=>{const t=e.target.value;if(!(e=>"string"==typeof e&&v3(e).isValid())(t))return void i(c.current);const r=a&&function(e){return 1!==v3(e).alpha()}(t);if(r)return c.current=l(t,"hex",1),void i(c.current);c.current=t})(e),s.onBlur?.(e)}})});var j3=S3;const M3=o().forwardRef((e,t)=>{const{value:r,onChange:n,...i}=e;return o().createElement(U4,{ref:t,sx:{width:"57px"},...i,value:(100*r).toFixed(),onChange:e=>n(function(e){if(!e)return 0;const t=parseInt(e);if(isNaN(t))return 1;const r=t/100;return r>1?1:r<0?0:r}(e.target.value)),endAdornment:o().createElement(OS,{disableTypography:!0,position:"end"},"%")})});var R3=M3,I3=({value:e,onChange:t,disableOpacity:r=!1,...n})=>{const{h:i,s:a,l:s,a:l}=e;return o().createElement(nk,{display:"flex",gap:.75},o().createElement(C3,{...n,min:0,max:360,value:i,onChange:r=>t({...e,h:r})}),o().createElement(C3,{...n,min:0,max:100,value:a,onChange:r=>t({...e,s:r})}),o().createElement(C3,{...n,min:0,max:100,value:s,onChange:r=>t({...e,l:r})}),!r&&o().createElement(C3,{...n,min:0,max:100,value:Math.round(100*l),onChange:r=>t({...e,a:r/100}),endAdornment:o().createElement(OS,{disableTypography:!0,position:"end"},"%")}))};const E3=["hex","rgb","hsl"],T3=new Set(E3);var P3=(e,t=E3)=>{const r=v3(e),n=f3(e)[1]||t[0],o=T3.has(n)?n:E3[0];return{format:o,colorData:r,color:L3(r,o),getAlpha:()=>r.alpha(),isValid:()=>r.isValid(),toHsl:()=>r.toHsl(),toRgb:()=>r.toRgb(),toHex:()=>r.toHex()}};function L3(e,t){return"rgb"===t?e.toRgbString():"hsl"===t?e.toHslString():e.toHex()}const O3=da("div")(({theme:e})=>({boxSizing:"border-box",display:"flex",flexDirection:"column",gap:e.spacing(2),padding:e.spacing(2),width:305})),N3=["hex","rgb","hsl"],$3={hideInputFields:!1,disableOpacity:!1,formats:N3},z3=da(ZA)(({theme:e})=>({...e.typography.caption})),D3=o().forwardRef((e,t)=>{const{value:r,onChange:n,hideInputFields:i,disableOpacity:a=!1,formats:s=N3,...l}={...$3,...e},c=function(e){if(0===e.length)return["hex"];const t=N3.length;return e.slice(0,t)}(s),{format:u,getAlpha:d,toRgb:p,toHsl:h}=P3(r,c),f=k3(),m=c.length>1,g=new Set(c);return o().createElement(O3,{...l,ref:t},o().createElement(q4,{value:r,format:u,onChange:n,disableOpacity:a}),!i&&o().createElement(nk,{display:"flex",gap:1},m&&o().createElement(NR,{size:"tiny",value:u,onChange:e=>{const t=e.target.value,o=f(r,t);n(o)}},g.has("hex")&&o().createElement(z3,{value:"hex"},"HEX"),g.has("rgb")&&o().createElement(z3,{value:"rgb"},"RGB"),g.has("hsl")&&o().createElement(z3,{value:"hsl"},"HSL")),"hex"===u&&o().createElement(o().Fragment,null,o().createElement(j3,{size:"tiny",value:r,onChange:n,disableOpacity:a,sx:{flexGrow:1}}),!a&&o().createElement(R3,{size:"tiny",value:d(),onChange:e=>{const t=f(r,u,e);n(t)}})),"rgb"===u&&o().createElement(_3,{size:"tiny",value:p(),disableOpacity:a,onChange:e=>{const t=f(e,"rgb");n(t)}}),"hsl"===u&&o().createElement(I3,{size:"tiny",value:h(),disableOpacity:a,onChange:e=>{const t=f(e,"hsl");n(t)}})))});D3.defaultProps=$3;var B3=D3;const F3=da("span")(({theme:e,ownerState:t})=>{const{value:r,size:n,shape:o}=t,i={tiny:26,small:38,medium:54,inherit:"1em"}[n||"medium"],a=[];if(r){const e=/[a-z]-gradient\(/.test(r)?r:`linear-gradient(${r}, ${r})`;a.push(e)}a.push('url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" fill-opacity=".45"><path d="M3 0h3v3H3zM0 3h3v3H0z"/></svg>\')');const s=a.join(", ");return{display:"inline-flex",flexShrink:0,flexGrow:0,borderRadius:"circular"===o?"50%":e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],fontSize:"inherit"===n?"inherit":void 0,width:i,height:i,minWidth:"initial",outline:`1px solid ${e.palette.action.disabled}`,border:0,padding:0,backgroundColor:e.palette.common.white,backgroundPosition:"center",backgroundImage:s,"button&":{"&:not(:disabled)":{cursor:"pointer"},"&:not(:disabled):hover, &:focus":{outlineWidth:2,outlineColor:e.palette.text.primary}}}}),H3={component:"span",size:"medium"},V3=o().forwardRef((e,t)=>{const{value:r,size:n,component:i,shape:a,...s}={...H3,...e},l={value:r,size:n,shape:a};return o().createElement(F3,{...s,as:i,ref:t,ownerState:l})});V3.defaultProps=H3;var W3=V3;const q3={disablePortal:!0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},U3=o().forwardRef((e,t)=>{const{children:r,...n}={...q3,...e};return o().createElement(gj,{...n,ref:t},r)});U3.defaultProps=q3;var Z3=U3;const G3={hideInputFields:!1,disableOpacity:!1},X3=o().forwardRef((e,t)=>{const{size:r,anchorEl:n,anchorOrigin:i,anchorReference:a,anchorPosition:s,transformOrigin:l,hideInputFields:c,slotProps:u={},value:d="",onChange:p,disabled:h,indicatorShape:f,disableOpacity:m,formats:g}={...G3,...e},y=GR({variant:"popover",popupId:"eui-color-picker-popover"}),b=Object.entries({anchorEl:n,anchorOrigin:i,anchorReference:a,anchorPosition:s,transformOrigin:l}).reduce((e,[t,r])=>r?{...e,[t]:r}:e,{});return o().createElement(o().Fragment,null,o().createElement(W3,{ref:t,size:r,value:d,component:"button",disabled:h,shape:f,...HR(y),...u.colorIndicator}),o().createElement(Z3,{...VR(y),...b,...u.popover},o().createElement(B3,{value:d,onChange:p,hideInputFields:c,disableOpacity:m,formats:g,...u.colorBox})))});X3.defaultProps=G3;var K3=X3;const Y3=e=>{const t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/i);if(!t)return null;const r=parseInt(t[1]).toString(16).padStart(2,"0"),n=parseInt(t[2]).toString(16).padStart(2,"0"),o=parseInt(t[3]).toString(16).padStart(2,"0");return void 0!==t[4]&&parseFloat(t[4])<1?`#${r}${n}${o}${Math.round(255*parseFloat(t[4])).toString(16).padStart(2,"0")}`.toUpperCase():`#${r}${n}${o}`.toUpperCase()},J3=e=>{const t=8===(e=(e=>(3===(e=e.replace(/^#/,"")).length&&(e=e.split("").map(e=>e+e).join("")),`#${e}`))(e).replace(/^#/,"")).length,r=parseInt(e.slice(0,2),16)/255,n=parseInt(e.slice(2,4),16)/255,o=parseInt(e.slice(4,6),16)/255,i=t?parseInt(e.slice(6,8),16)/255:1,a=Math.max(r,n,o),s=Math.min(r,n,o);let l,c;const u=(a+s)/2;if(a===s)l=c=0;else{const e=a-s;switch(c=u>.5?e/(2-a-s):e/(a+s),a){case r:l=(n-o)/e+(n<o?6:0);break;case n:l=(o-r)/e+2;break;case o:l=(r-n)/e+4}l*=60}return{h:Math.round(l),s:Math.round(100*c),l:Math.round(100*u),a:parseFloat(i.toFixed(2))}},Q3=({title:e,color:t,initialColor:r,setColor:n,area:o})=>{const[i,a]=(0,Fn.useState)(r),s=J3(t);(0,Fn.useEffect)(()=>{a(r)},[r]);const l=(e,t=null)=>{ew(null!=t?t:tw.contrastColorChanged,{area:o,component:e})},c=(e,t)=>{const r=e?.target?.value||t;if(r&&!/^\d{1,2}$|^100$/.test(r))return;const o=r&&!isNaN(r)?parseInt(r,10):0;if(o>=0&&o<=100){const e=(({h:e,s:t,l:r,a:n=1})=>{t/=100,r/=100;const o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(e/60%2-1)),a=r-o/2;let s,l,c;[s,l,c]=e<60?[o,i,0]:e<120?[i,o,0]:e<180?[0,o,i]:e<240?[0,i,o]:e<300?[i,0,o]:[o,0,i];const u=e=>Math.round(255*(e+a)).toString(16).padStart(2,"0"),d=Math.round(255*n).toString(16).padStart(2,"0");return n<1?`#${u(s)}${u(l)}${u(c)}${d}`.toUpperCase():`#${u(s)}${u(l)}${u(c)}`.toUpperCase()})({...J3(i),l:o});n(e),l("slider")}};return(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(Gk,{variant:"body2",as:"p",children:e}),(0,Bt.jsxs)(e7,{children:[(0,Bt.jsx)(H2,{}),(0,Bt.jsx)(rM,{"aria-label":(0,kw.__)("Lightness","pojo-accessibility"),color:"secondary",value:s.l,size:"small",sx:{width:"150px"},onChange:c}),(0,Bt.jsx)(F2,{}),(0,Bt.jsx)($R,{variant:"outlined",size:"small",color:"secondary",value:s.l,onChange:c,inputProps:{"aria-label":(0,kw.__)("Lightness percent","pojo-accessibility")},InputProps:{sx:{width:"75px",paddingRight:"4px",marginRight:"8px"},endAdornment:(0,Bt.jsx)(OS,{position:"end",children:(0,Bt.jsx)(Wa,{size:"small",disabled:!0,sx:{minWidth:"auto"},children:"%"})})}}),(0,Bt.jsx)(K3,{disableOpacity:!0,formats:["hex"],value:t,onChange:e=>{a(e),n(e),l("color-picker")},size:"small"}),(0,Bt.jsx)(HP,{arrow:!0,placement:"top",title:(0,kw.__)("Reset","pojo-accessibility"),PopperProps:{disablePortal:!0},children:t!==r?(0,Bt.jsx)(fC,{onClick:()=>{n(r),l("reset",tw.contrastResetClicked)},size:"tiny",children:(0,Bt.jsx)(B4,{fontSize:"tiny",sx:{transform:"rotate(180deg)"}})}):(0,Bt.jsx)(B4,{color:"disabled",fontSize:"tiny",sx:{p:"6px",transform:"rotate(180deg)"}})})]})]})},e7=da(nk)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
`;Q3.propTypes={title:Y_().string.isRequired,color:Y_().string.isRequired,initialColor:Y_().string.isRequired,setColor:Y_().func.isRequired,area:Y_().string.isRequired};var t7=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.75 3.5C10.888 3.5 10.0614 3.84241 9.4519 4.4519C8.84241 5.0614 8.5 5.88805 8.5 6.75V10H15V6.75C15 5.88805 14.6576 5.0614 14.0481 4.4519C13.4386 3.84241 12.612 3.5 11.75 3.5ZM16.5 10V6.75C16.5 5.49022 15.9996 4.28204 15.1088 3.39124C14.218 2.50044 13.0098 2 11.75 2C10.4902 2 9.28204 2.50044 8.39124 3.39124C7.50044 4.28204 7 5.49022 7 6.75V10H6.75C6.02065 10 5.32118 10.2897 4.80546 10.8055C4.28973 11.3212 4 12.0207 4 12.75V18.75C4 19.4793 4.28973 20.1788 4.80546 20.6945C5.32118 21.2103 6.02065 21.5 6.75 21.5H16.75C17.4793 21.5 18.1788 21.2103 18.6945 20.6945C19.2103 20.1788 19.5 19.4793 19.5 18.75V12.75C19.5 12.0207 19.2103 11.3212 18.6945 10.8055C18.1788 10.2897 17.4793 10 16.75 10H16.5Z"})));const r7=({title:e,description:t})=>(0,Bt.jsxs)(nk,{children:[(0,Bt.jsxs)(nk,{display:"flex",alignItems:"center",gap:1,children:[(0,Bt.jsx)(Gk,{variant:"body2",as:"p",color:"text.disabled",children:e}),(0,Bt.jsx)(HP,{arrow:!0,placement:"top",title:t,PopperProps:{disablePortal:!0,sx:{"& .MuiTooltip-tooltip":{maxWidth:400}}},children:(0,Bt.jsx)(t7,{tabindex:0,color:"disabled",fontSize:"tiny"})})]}),(0,Bt.jsxs)(n7,{children:[(0,Bt.jsx)(H2,{}),(0,Bt.jsx)(rM,{"aria-label":(0,kw.__)("Lightness","pojo-accessibility"),color:"secondary",size:"small",sx:{width:"150px"},disabled:!0}),(0,Bt.jsx)(F2,{}),(0,Bt.jsx)($R,{variant:"outlined",size:"small",color:"secondary",defaultValue:"-",disabled:!0,inputProps:{"aria-label":(0,kw.__)("Lightness percent","pojo-accessibility")},InputProps:{sx:{width:"75px",paddingRight:"4px",marginRight:"8px"},endAdornment:(0,Bt.jsx)(OS,{position:"end",children:(0,Bt.jsx)(Wa,{size:"small",disabled:!0,sx:{minWidth:"auto"},children:"%"})})}}),(0,Bt.jsx)(W3,{value:"rgba(0, 0, 0, 0)",disabled:!0,size:"small"}),(0,Bt.jsx)(HP,{arrow:!0,placement:"top",title:(0,kw.__)("Reset","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Bt.jsx)(B4,{color:"disabled",fontSize:"tiny",sx:{p:"6px",transform:"rotate(180deg)"}})})]})]}),n7=da(nk)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
`;r7.propTypes={title:Y_().string.isRequired,description:Y_().string.isRequired};var o7=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19995 12.0498C4.19995 11.6356 4.53574 11.2998 4.94995 11.2998H18.95C19.3642 11.2998 19.7 11.6356 19.7 12.0498C19.7 12.464 19.3642 12.7998 18.95 12.7998H4.94995C4.53574 12.7998 4.19995 12.464 4.19995 12.0498Z"}))),i7=n.forwardRef((e,t)=>n.createElement(cw,{viewBox:"0 0 24 24",...e,ref:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4.75C11 4.33579 11.3358 4 11.75 4C12.1642 4 12.5 4.33579 12.5 4.75V11H18.75C19.1642 11 19.5 11.3358 19.5 11.75C19.5 12.1642 19.1642 12.5 18.75 12.5H12.5V18.75C12.5 19.1642 12.1642 19.5 11.75 19.5C11.3358 19.5 11 19.1642 11 18.75V12.5H4.75C4.33579 12.5 4 12.1642 4 11.75C4 11.3358 4.33579 11 4.75 11H11V4.75Z"})));const a7=({parents:e,setParentSmaller:t,setParentLarger:r})=>{(0,Fn.useEffect)(()=>{ew(tw.backgroundAdaptorTriggered)},[]);const n=Math.max(0,5-e.length),o=e.length>1,i=e.length>0&&"/html"!==e.at(-1);return(0,Bt.jsxs)(nk,{children:[(0,Bt.jsx)(Gk,{variant:"body2",as:"p",sx:{mb:2},children:(0,kw.__)("Background area","pojo-accessibility")}),(0,Bt.jsxs)(nk,{display:"flex",alignItems:"center",gap:1,children:[(0,Bt.jsx)(HP,{arrow:!0,placement:"top",title:(0,kw.__)("Apply to a smaller area","pojo-accessibility"),PopperProps:{disablePortal:!0},children:o?(0,Bt.jsx)(fC,{onClick:t,children:(0,Bt.jsx)(o7,{})}):(0,Bt.jsx)(o7,{color:"disabled",sx:{px:1}})}),(0,Bt.jsx)(s7,{children:[...Array(5)].map((e,t)=>{const r=16+16*(4-t),o=t===n;return(0,Bt.jsx)(l7,{size:r,filled:o},t)})}),(0,Bt.jsx)(HP,{arrow:!0,placement:"top",title:(0,kw.__)("Apply to a larger area","pojo-accessibility"),PopperProps:{disablePortal:!0},children:i?(0,Bt.jsx)(fC,{onClick:r,children:(0,Bt.jsx)(i7,{})}):(0,Bt.jsx)(i7,{color:"disabled",sx:{px:1}})})]})]})},s7=da(nk)`
position: relative;
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
`,l7=da(nk)`
position: absolute;
width: ${({size:e})=>e}px;
height: ${({size:e})=>e}px;
box-sizing: border-box;
border: ${({filled:e})=>e?"1px solid #000":"1px dashed #000"};
background-color: ${({filled:e})=>e?"#93C5FD":"transparent"};
`;a7.propTypes={parents:Y_().arrayOf(Y_().string).isRequired,setParentSmaller:Y_().func.isRequired,setParentLarger:Y_().func.isRequired};var c7=r(6105),u7=r.n(c7);const d7=e=>{let t=G2(e);if(!(t&&t instanceof Element))return null;const r=new Set([c1,u1,d1]),n=[];for(;t&&t.nodeType===Node.ELEMENT_NODE;){let e=t.tagName.toLowerCase();if(t.id){e+=`#${t.id}`,n.unshift(e);break}if(t.className&&"body"!==t.tagName.toLowerCase()){const n=t.className.trim().split(/\s+/).filter(e=>e&&!r.has(e));n.length&&(e+="."+n.join("."))}const o=t.parentNode;if(o&&("body"!==o.tagName?.toLowerCase()||"div"!==t.tagName?.toLowerCase())){const r=Array.from(o.children).filter(e=>e.tagName===t.tagName);r.length>1&&(e+=`:nth-of-type(${r.indexOf(t)+1})`)}n.unshift(e),t=t.parentElement}return n.join(" > ")},p7=({item:e,current:t,setCurrent:r})=>{const{openedBlock:n,manualData:o,resolved:i,setResolved:a,isResolved:s,setOpenedBlock:l,setManualData:c,updateRemediationList:u,currentScanId:d}=Y2(),[p,h]=(0,Fn.useState)(!1),[f,m]=(0,Fn.useState)(!0),g=e=>{const r=o[n]?.[t]||{},i=[...o[n]||[]];i[t]={...r,...e},c({...o,[n]:i})},y=e=>{ew(tw.backgroundAdaptorChanged,{method:e})};(0,Fn.useEffect)(()=>{!f&&s(v1.colorContrast)&&(Z2(),l(v1.main)),m(!1)},[o]),(0,Fn.useEffect)(()=>{if(!e?.node?.getAttribute(h1)){const r=o[n]?.[t]?.color||e.messageArgs[3];e.node.setAttribute(h1,r),e.node.style.setProperty("color",r,"important")}},[e]);const{color:b=e.messageArgs[3]||Y3(window.getComputedStyle(e.node).getPropertyValue("color")),background:v=e.messageArgs[4],parents:x=[e.path.dom],resolved:w=!1,backgroundChanged:C=!1}=o[n]?.[t]||{},_=(e,t)=>{if(e){if(!e.getAttribute(p1)){const t=window.getComputedStyle(e).getPropertyValue("background-color");e.setAttribute(p1,t)}t?.style?.setProperty("background-color",t?.getAttribute(p1),"important"),e.style?.setProperty("background-color",v,"important")}},k=e=>/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e.trim()),A=()=>{if(!k(b)||v&&!k(v))throw new Error("Invalid hex color input detected");try{const t=d7(e.path.dom),r=d7(x.length>0?x.at(-1):e.path.dom),n=`${b!==e.messageArgs[3]?`${t} {color: ${b} !important;}`:""}${v&&v!==e.messageArgs[4]?`${r} {background-color: ${v} !important;}`:""}`;return(e=>{try{if(!e||"string"!=typeof e)return!1;if([/@import/i,/javascript:/i,/expression\s*\(/i,/behavior\s*:/i,/binding\s*:/i,/-moz-binding/i].some(t=>t.test(e)))return!1;const t=/^[\s\S]*\{\s*[\s\S]+:\s*[\s\S]+;\s*\}[\s\S]*$/.test(e.replace(/\s+/g," ").trim()),r=(e.match(/\{/g)||[]).length,n=(e.match(/\}/g)||[]).length;return t&&r===n&&r>0}catch(e){return!1}})(n)?n:""}catch(e){return console.warn("Failed to convert XPath to CSS selector",e),""}};return{color:b,background:v,parents:x,resolved:w,backgroundChanged:C,loading:p,changeColor:t=>{e.node?.style?.setProperty("color",t,"important"),g({color:t,resolved:!1})},changeBackground:e=>{const t=G2(x.at(-1));if(t){if(!t.getAttribute(p1)){const e=window.getComputedStyle(t).getPropertyValue("background-color");t.setAttribute(p1,e)}t.style?.setProperty("background-color",e,"important"),g({background:e,resolved:!1,backgroundChanged:!0})}},setParentLarger:()=>{const e=G2(x.at(-1)),t=e?.parentElement;if(e&&t)try{const r=u7()(t,{ignoreId:!0});U2(t,d1),_(t,e),g({parents:[...x,r],resolved:!1}),y("plus")}catch(e){console.warn("Failed to get XPath for parent element:",e)}},setParentSmaller:()=>{const e=x.slice(0,-1),t=G2(e.at(-1));x.length<=1||!t||(e.length>1?U2(t,d1):Z2(d1),_(t),g({parents:e,resolved:!1}),y("minus"))},onSubmit:async()=>{h(!0);try{await to.submitRemediation({url:window?.ea11yScannerData?.pageData?.url,remediation:{rule:A(),category:e.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",type:"STYLES",xpath:e.path.dom},rule:e.ruleId,group:v1.colorContrast}),await to.resolveIssue(d),g({resolved:!0}),e.node?.removeAttribute(h1),G2(x.length>0?x.at(-1):e.path.dom)?.removeAttribute(p1),Z2(),r(t+1),a(i+1),u()}catch(e){console.error("Failed to submit remediation:",e)}finally{h(!1)}}}};p7.propTypes={item:G5.isRequired,current:Y_().number.isRequired,setCurrent:Y_().func.isRequired};const h7=e=>{if(null===e)return null;let t=e.parentNode;return e.slotOwner?t=e.slotOwner:e.ownerElement?t=e.ownerElement:t&&11===t.nodeType&&(t=t.host?t.host:null),t},f7=e=>{let t=e;do{t=h7(t)}while(t&&1!==t.nodeType);return t};class m7{static CSSColorLookup={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",buttontext:"rgba(0, 0, 0, 0.847)",buttonface:"#ffffff",graytext:"rgba(0, 0, 0, 0.247)"};static Color(e){if(!e)return null;if("transparent"===(e=e.toLowerCase()))return new g7(255,255,255,0);if(e in m7.CSSColorLookup&&(e=m7.CSSColorLookup[e]),e.startsWith("rgb(")){const t=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,r=e.match(t);return null===r?null:new g7(r[1],r[2],r[3])}if(e.startsWith("rgba(")){const t=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,r=e.match(t);return null===r?null:new g7(r[1],r[2],r[3],r[4])}if("#"!==e.charAt(0))return null;4===e.length&&(e="#"+e.charAt(1).repeat(2)+e.charAt(2).repeat(2)+e.charAt(3).repeat(2));const t=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),n=parseInt(e.substring(5,7),16);return new g7(t,r,n)}static ColorCombo(e){try{const t=e.ownerDocument;if(!t)return null;const r=t.defaultView;if(!r)return null;const n=[];let o=e;for(;o;)1===o.nodeType&&n.push(o),o=f7(o);const i={hasGradient:!1,hasBGImage:!1,textShadow:!1,fg:null,bg:null};let a=r.getComputedStyle(e),s=a.color;s||(s="black");let l=m7.Color(s);const c=/transparent|rgba?\([^)]+\)/gi,u=function(e,t,r){try{if(void 0===e.length)return e;let n=null,o=null;for(let i=1;i<e.length;++i){let a=e[i-1],s=r.contrastRatio(e[i-1]),l=.1,c=0;for(;l>1e-4;){for(;c+l<=1&&s>r.contrastRatio(e[i].mix(e[i-1],c+l).getOverlayColor(t));)a=e[i].mix(e[i-1],c+l).getOverlayColor(t),s=r.contrastRatio(a),c+=l;for(;c-l>=0&&s>r.contrastRatio(e[i].mix(e[i-1],c-l).getOverlayColor(t));)a=e[i].mix(e[i-1],c-l).getOverlayColor(t),s=r.contrastRatio(a),c-=l;l/=10}(null===o||o>s)&&(o=s,n=a)}return n}catch(e){console.log(e)}return t};let d=m7.Color("white"),p=null,h=null,f=null;for(;n.length>0;){const e=n.pop();if(a=r.getComputedStyle(e),null===a)continue;let t=null;if(a.backgroundColor&&"transparent"!==a.backgroundColor&&"rgba(0, 0, 0, 0)"!==a.backgroundColor&&(t=m7.Color(a.backgroundColor)),a.backgroundImage&&a.backgroundImage.indexOf&&-1!==a.backgroundImage.indexOf("gradient")){const e=a.backgroundImage.match(c);if(e){const r=[];for(let t=0;t<e.length;++t)if(e[t].length){let n=m7.Color(e[t]);if(void 0!==n.alpha&&n.alpha<1){const e=f||d;n=n.getOverlayColor(e)}r.push(n)}else e.splice(t--,1);t=u(r,f||d,l)}}null===p||a.opacity&&a.opacity.length>0&&parseFloat(a.opacity)<1?(null!==f&&(f.alpha=p*h,d=f.getOverlayColor(d)),p=1,h=null,f=null,a.opacity&&a.opacity.length>0&&(p=parseFloat(a.opacity)),null!==t&&(f=t,h=f.alpha||1,delete f.alpha,1===p&&1===h&&(i.hasBGImage=!1,i.hasGradient=!1))):null!==t&&(null===f?(f=t,h=f.alpha||1,delete f.alpha):(f=t.getOverlayColor(f),h=f.alpha||1),1===p&&1===h&&1===(f.alpha||1)&&t.alpha),a.backgroundImage&&"none"!==a.backgroundImage&&(a.backgroundImage.indexOf&&-1!==a.backgroundImage.indexOf("gradient")?i.hasGradient=!0:i.hasBGImage=!0)}return null!==f&&(l=l.getOverlayColor(f),delete l.alpha),l.alpha=(l.alpha||1)*p,l=l.getOverlayColor(d),null!==f&&(f.alpha=p*h,d=f.getOverlayColor(d)),i.fg=l,i.bg=d,a.textShadow&&"none"!==a.textShadow&&(i.textShadow=!0),i}catch(e){return null}}}class g7{red;green;blue;alpha;constructor(e,t,r,n){function o(e){if("string"!=typeof e)return e;let t=e;return t=t.trim(),"%"!==t[t.length-1]?parseInt(t):Math.round(2.55*parseFloat(t.substring(0,t.length-1)))}this.red=o(e),this.green=o(t),this.blue=o(r),void 0!==n&&(this.alpha="string"==typeof n?parseFloat(n):n)}toHexHelp(e){const t=Math.round(e).toString(16);return 1===t.length?"0"+t:t}toHex(){return"#"+this.toHexHelp(this.red)+this.toHexHelp(this.green)+this.toHexHelp(this.blue)}contrastRatio(e){let t=this;void 0!==this.alpha&&(t=this.getOverlayColor(e));const r=t.relativeLuminance(),n=e.relativeLuminance();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)}relativeLuminance(){let e=this.red/255,t=this.green/255,r=this.blue/255;return e=e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4),t=t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4),r=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),.2126*e+.7152*t+.0722*r}mix(e,t){if(void 0===this.alpha&&void 0===e.alpha)return new g7(t*this.red+(1-t)*e.red,t*this.green+(1-t)*e.green,t*this.blue+(1-t)*e.blue);const r=this.alpha?this.alpha:1,n=e.alpha?e.alpha:1;return new g7(t*this.red+(1-t)*e.red,t*this.green+(1-t)*e.green,t*this.blue+(1-t)*e.blue,t*r+(1-t)*n)}getOverlayColor(e){if(void 0===this.alpha||this.alpha>=1)return this;if(this.alpha<0)return null;if(void 0!==e.alpha&&e.alpha<1)return null;const t=this.mix(e,this.alpha);return delete t.alpha,t}static fromCSSColor(e){let t=-1,r=-1,n=-1;if((e=e.toLowerCase()).startsWith("rgb(")){const o=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,i=e.match(o);if(null===i)return null;t=i[1],r=i[2],n=i[3]}else if(e.startsWith("rgba(")){const o=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,i=e.match(o);if(null===i)return null;t=i[1],r=i[2],n=i[3]}else{if("#"!==e.charAt(0)){if(!(e in m7.CSSColorLookup))return null;e=m7.CSSColorLookup[e]}const o=function(e){const t={a:10,b:11,c:12,d:13,e:14,f:15};let r=0;for(let n=0;n<e.length;++n)r=16*r+parseInt(e.charAt(n)in t?t[e.charAt(n)]:e.charAt(n));return r};4===e.length&&(e="#"+e.charAt(1).repeat(2)+e.charAt(2).repeat(2)+e.charAt(3).repeat(2)),t=o(e.substring(1,3)),r=o(e.substring(3,5)),n=o(e.substring(5,7))}return new g7(t,r,n)}}const y7=({items:e,current:t,setCurrent:r})=>{const n=e[t],{color:o,background:i,parents:a,resolved:s,backgroundChanged:l,loading:c,changeColor:u,changeBackground:d,setParentSmaller:p,setParentLarger:h,onSubmit:f}=p7({item:n,current:t,setCurrent:r}),m=(0,Fn.useRef)(null);(0,Fn.useEffect)(()=>{n?.node&&(m.current=Y3(window.getComputedStyle(n.node).getPropertyValue("color")))},[n]);const g=n.messageArgs[3]&&n.messageArgs[4],y=(e=>{const t=m7.ColorCombo(e);if(null===t)throw new Error("unable to get color combo for element: "+e.nodeName);const r=t.fg,n=t.bg,o=r.contrastRatio(n),i=(e=>{if(!e)return!1;const{fontSize:t,fontWeight:r}=window.getComputedStyle(e);return parseFloat(t)>=(parseInt(r,10)>=700?18.66:24)})(e),a=o>=(i?3:4.5);return{ratio:+o.toFixed(2),largeText:i,passesAA:a}})(n.node);return(0,Bt.jsxs)(NQ,{children:[(0,Bt.jsx)(X_,{}),(0,Bt.jsx)(Gk,{variant:"body2",as:"p",children:(0,kw.__)("Adjust the text or background lightness until the indicator shows an accessible level.","pojo-accessibility")}),(0,Bt.jsx)(Q3,{title:(0,kw.__)("Text","pojo-accessibility"),color:o,initialColor:m.current||o,setColor:u,area:"color"}),g?(0,Bt.jsx)(Q3,{title:(0,kw.__)("Background","pojo-accessibility"),color:i,initialColor:n.messageArgs[4],setColor:d,area:"background"}):(0,Bt.jsx)(r7,{title:(0,kw.__)("Background","pojo-accessibility"),description:(0,kw.__)("Image and gradient backgrounds must be changed in the design","pojo-accessibility")}),l&&(0,Bt.jsx)(a7,{parents:a,setParentSmaller:p,setParentLarger:h}),(0,Bt.jsxs)(PC,{severity:y.passesAA?"success":"error",children:[(0,Bt.jsx)(d$,{sx:{mr:1},children:(0,kw.__)("Contrast level:","pojo-accessibility")}),y.ratio]}),(0,Bt.jsx)(Wa,{variant:"contained",size:"small",color:"info",loading:c,disabled:!y.passesAA||s||c,onClick:async()=>{await f(),ew(tw.applyFixButtonClicked,{fix_method:"color contrast",issue_type:n.message,current_contrast_ratio:y.ratio,background_level:a.length,category_name:v1.colorContrast,page_url:window.ea11yScannerData?.pageData?.url})},children:(0,kw.__)("Apply changes","pojo-accessibility")})]})};y7.propTypes={items:Y_().arrayOf(G5).isRequired,current:Y_().number.isRequired,setCurrent:Y_().func.isRequired};const b7=()=>{const{sortedViolations:e,isResolved:t}=Y2(),[r,n]=(0,Fn.useState)(0),o=t(v1.colorContrast);(0,Fn.useEffect)(()=>{const t=e.colorContrast?.[r];!o&&e.colorContrast?.length?U2(t?.node,u1):Z2(),t&&ew(tw.issueSelected,{issue_type:t.message,rule_id:t.ruleId,wcag_level:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:v1.colorContrast,current_contrast_ratio:t.messageArgs[0],scenario:t.messageArgs[3]&&t.messageArgs[4]?"regular_flow":"gradient"})},[r]);const i=t=>{t>(e.colorContrast?.length||0)-1?n(0):n(t)};return(0,Bt.jsxs)(xQ,{children:[(0,Bt.jsx)(y7,{items:e.colorContrast||[],current:r,setCurrent:i}),(0,Bt.jsx)(e4,{total:e.colorContrast?.length||0,current:r,setCurrent:i})]})},v7=()=>{const{notificationMessage:e,notificationType:t}=Vn(),{setOpenedBlock:r,violation:n,resolved:o,openedBlock:i,isManage:a,isError:s,quotaExceeded:l,loading:c}=Y2(),u=Boolean(o>0&&n===o||0===n);return(0,Fn.useEffect)(()=>{window.ea11yScannerData?.planData?.user?.id&&null!==n&&(async()=>{const{ea11ySettingsData:e,ea11yScannerData:t}=window,r=e?.planData||t?.planData,n=e?.planScope||t?.planScope,o=r?.plan;if(!r?.scopes?.includes(Qx)&&!n?.includes(Qx))return;const i=e?.pluginEnv||t?.pluginEnv,a=e?.pluginVersion||t?.pluginVersion;await Jx.init("150605b3b9f979922f2ac5a52e2dcfe9",{debug:"dev"===i,track_pageview:!1,persistence:"localStorage"}),Jx.register({productName:"app_access",appType:"Apps",version:a,environment:i,is_trial:Boolean(o?.name?.toLowerCase().includes("free")),plan_type:o?.name,subscription_id:o?.subscription_id}),Jx.identify(r?.user?.id);const s={$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}`};Jx.people?.set_once(s)})()},[window.ea11yScannerData?.planData?.user?.id,n]),(0,Fn.useEffect)(()=>{u&&(Z2(),r(v1.main))},[u]),(0,Fn.useEffect)(()=>{b1&&!l||ew(tw.upgradeSuggestionViewed,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"scan_triggered",feature_locked:"multi-page scan"})},[b1,l]),(0,Bt.jsx)(gQ,{children:(0,Bt.jsxs)(no,{fallback:(0,Bt.jsx)(V2,{}),children:[(0,Bt.jsx)(s5,{}),u&&!a?(0,Bt.jsx)(f5,{}):(()=>{if(!window.ea11yScannerData?.isConnected)return(0,Bt.jsx)(d5,{});if(!b1||l)return(0,Bt.jsx)(h5,{});if(s)return(0,Bt.jsx)(V2,{});if(c)return(0,Bt.jsx)(u5,{});switch(i){case v1.main:return(0,Bt.jsx)(y5,{});case v1.management:return(0,Bt.jsx)(P4,{});case v1.altText:return(0,Bt.jsx)(i4,{});case v1.colorContrast:return(0,Bt.jsx)(b7,{});default:return a?(0,Bt.jsx)(D4,{}):(0,Bt.jsx)(x4,{})}})(),(0,Bt.jsx)(M_,{message:e,type:t})]})})};document.addEventListener("DOMContentLoaded",function(){const e=new URLSearchParams(window.location.search);document.querySelector("#wp-admin-bar-ea11y-clear-cache a")?.addEventListener("click",async e=>{e.preventDefault();try{await to.clearCache(),window.location.reload()}catch(e){console.error(e)}}),document.querySelectorAll("#wp-admin-bar-ea11y-scanner-wizard a, #wp-admin-bar-ea11y-scan-page a")?.forEach(e=>{e.addEventListener("click",e=>{e.preventDefault();const t=document.getElementById(l1),r=new URL(window.location.href);r.searchParams.delete("open-ea11y-assistant-src"),r.searchParams.append("open-ea11y-assistant-src","top_bar"),history.replaceState(null,"",r),t?a5(t):x7()})}),"1"!==e.get("open-ea11y-assistant")&&"1"!==e.get(s1)||x7()});const x7=()=>{const e=document.querySelector("#wpadminbar");window.ea11yScannerData={...window.ea11yScannerData,adminBar:e},e.remove();const t=document.createElement("aside");t.id=l1,t.setAttribute("aria-label",(0,kw.__)("Accessibility Assistant","pojo-accessibility")),f1&&t.setAttribute("dir","rtl"),document.body.style[f1?"marginLeft":"marginRight"]="425px",document.body.appendChild(t);const r=t.attachShadow({mode:"open"}),n=document.createElement("div");r.appendChild(n);const o=window?.ea11ySettingsData?.isDevelopment,i=Boolean(o)?Fn.StrictMode:Fn.Fragment,a=(0,zn.A)({key:"css",prepend:!0,container:r,stylisPlugins:f1?[Bn,te]:[]}),s=Nt({direction:f1?"rtl":"ltr"});(0,Fn.createRoot)(n).render((0,Bt.jsx)(i,{children:(0,Bt.jsx)(Ht.C,{value:a,children:(0,Bt.jsx)(Se,{rtl:f1,children:(0,Bt.jsx)($n,{colorScheme:"light",theme:s,children:(0,Bt.jsx)(Wn,{children:(0,Bt.jsx)(K2,{children:(0,Bt.jsx)(v7,{})})})})})})}))}},766:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,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 a(e){if(o.isValidElement(e)||!i(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=a(e[r])}),t}function s(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]=s(e[n],t[n],r):r.clone?l[n]=i(t[n])?a(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)},840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var r={},c=Boolean(e.type&&s[e.type]);for(var u in e){var d=e[u];if((0,n.isCustomAttribute)(u))r[u]=d;else{var p=u.toLowerCase(),h=l(p);if(h){var f=(0,n.getPropertyInfo)(h);switch(i.includes(h)&&a.includes(t)&&!c&&(h=l("default"+p)),r[h]=d,f&&f.type){case n.BOOLEAN:r[h]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(r[h]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(r[u]=d)}}return(0,o.setStyleProp)(e.style,r),r};var n=r(4210),o=r(4958),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}},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:()=>p.A,StyledEngineProvider:()=>d,ThemeContext:()=>a.T,css:()=>i.AH,default:()=>h,internal_processStyles:()=>f,internal_serializeStyles:()=>g,keyframes:()=>i.i7});var n=r(1479),o=r(3174),i=r(7437),a=r(4684),s=r(1609),l=r(1568),c=r(790);const u=new Map;function d(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,o=s.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)(a.C,{value:o,children:n}):n}var p=r(7601);function h(e,t){return(0,n.A)(e,t)}const f=(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:()=>f,MA:()=>h,_W:()=>m,Lc:()=>y,Ms:()=>b});var n=r(435),o=r(4734),i=r(9667);const a={m:"margin",p:"padding"},s={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=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function h(e,t,r,n){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function f(e){return h(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=f(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),a=e[r];return(0,n.NI)(e,a,i)}(e,t,o,r)).reduce(i.A,{})}function y(e){return g(e,u)}function b(e){return g(e,d)}function v(e){return g(e,p)}y.propTypes={},y.filterProps=u,b.propTypes={},b.filterProps=d,v.propTypes={},v.filterProps=p},1133:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=null;if(!e||"string"!=typeof e)return r;var n=(0,o.default)(e),i="function"==typeof t;return n.forEach(function(e){if("declaration"===e.type){var n=e.property,o=e.value;i?t(n,o,e):o&&((r=r||{})[n]=o)}}),r};var o=n(r(9788))},1141:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=r(5413),a=r(6957);o(r(6957),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?i.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},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|%)",a="direction\\s*:\\s*",s="['\"]?\\s*",l="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",d="(?:[_a-z0-9-]|"+r+"|"+u+")",p=o+"(?:\\s*"+i+"|-?(?:[_a-z]|"+r+"|"+u+")"+d+"*)?",h="((?:-?"+p+")|(?:inherit|auto))",f="((?:-?"+p+")|(?:inherit|auto)|(?:calc\\((?:(?:(?:\\(|\\)|\\t| )|(?:-?"+o+"(?:\\s*"+i+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",m="(#?"+d+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",g="(?:[!#$%&*-~]|"+r+"|"+u+")*?",y="(?![a-zA-Z])",b="(?!("+d+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",v="(?!"+g+s+"\\))",x="(?="+g+s+"\\))",w="(\\s*(?:!important\\s*)?[;}])",C=/`TMP`/g,_=/`TMPLTR`/g,k=/`TMPRTL`/g,A=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),S=new RegExp("("+c+b+"[^;}]+;?)","gi"),j=new RegExp("("+c+"[^\\}]*?})","gi"),M=new RegExp("("+a+")ltr","gi"),R=new RegExp("("+a+")rtl","gi"),I=new RegExp(l+"(left)"+y+v+b,"gi"),E=new RegExp(l+"(right)"+y+v+b,"gi"),T=new RegExp(l+"(left)"+x,"gi"),P=new RegExp(l+"(right)"+x,"gi"),L=/(:dir\( *)ltr( *\))/g,O=/(:dir\( *)rtl( *\))/g,N=new RegExp(l+"(ltr)"+x,"gi"),$=new RegExp(l+"(rtl)"+x,"gi"),z=new RegExp(l+"([ns]?)e-resize","gi"),D=new RegExp(l+"([ns]?)w-resize","gi"),B=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+f+"(\\s+)"+f+"(\\s+)"+f+"(\\s+)"+f+w,"gi"),F=new RegExp("((?:-color|border-style)\\s*:\\s*)"+m+"(\\s+)"+m+"(\\s+)"+m+"(\\s+)"+m+w,"gi"),H=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+p+")","gi"),V=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),W=new RegExp("(border-radius\\s*:\\s*)"+h+"(?:(?:\\s+"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?)?(?:(?:(?:\\s*\\/\\s*)"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?(?:\\s+"+h+")?)?"+w,"gi"),q=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+h,"gi"),U=new RegExp("(text-shadow\\s*:\\s*)"+h+"(\\s*)"+m,"gi"),Z=new RegExp("(text-shadow\\s*:\\s*)"+m+"(\\s*)"+h,"gi"),G=new RegExp("(text-shadow\\s*:\\s*)"+h,"gi"),X=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+h+"(\\s*\\))","gi"),K=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+h+"((?:\\s*,\\s*"+h+"){0,2}\\s*\\))","gi");function Y(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(S,"`NOFLIP_SINGLE`"),a=new n(j,"`NOFLIP_CLASS`"),s=new n(A,t);return r=s.tokenize(a.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(L,"$1`TMPLTR`$2").replace(O,"$1`TMPRTL`$2").replace(N,"$1"+e).replace($,"$1ltr").replace(C,"rtl").replace(_,"ltr").replace(k,"rtl")),o.transformEdgeInUrl&&(r=r.replace(T,"$1"+e).replace(P,"$1left").replace(C,"right")),r=r.replace(M,"$1"+e).replace(R,"$1ltr").replace(C,"rtl").replace(I,"$1"+e).replace(E,"$1left").replace(C,"right").replace(z,"$1$2"+e).replace(D,"$1$2e-resize").replace(C,"w-resize").replace(W,Q).replace(q,te).replace(U,ne).replace(Z,ne).replace(G,te).replace(X,re).replace(K,re).replace(B,"$1$2$3$8$5$6$7$4$9").replace(F,"$1$2$3$8$5$6$7$4$9").replace(H,Y).replace(V,Y),i.detokenize(a.detokenize(s.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:()=>a,s:()=>i});var n=r(1609),o=!!n.useInsertionEffect&&n.useInsertionEffect,i=o||function(e){return e()},a=o||n.useLayoutEffect},1479:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(8168),o=r(1609),i=r(6289),a=/^((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)-.*))$/,s=(0,i.A)(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),l=r(4684),c=r(41),u=r(3174),d=r(1287),p=s,h=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:h},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,d.s)(function(){return(0,c.sk)(t,r,n)}),null},y=function e(t,r){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==r&&(i=r.label,a=r.target);var p=m(t,r,s),h=p||f(d),y=!h("as");return function(){var b=arguments,v=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&v.push("label:"+i+";"),null==b[0]||void 0===b[0].raw)v.push.apply(v,b);else{v.push(b[0][0]);for(var x=b.length,w=1;w<x;w++)v.push(b[w],b[0][w])}var C=(0,l.w)(function(e,t,r){var n=y&&e.as||d,i="",s=[],m=e;if(null==e.theme){for(var b in m={},e)m[b]=e[b];m.theme=o.useContext(l.T)}"string"==typeof e.className?i=(0,c.Rk)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.J)(v.concat(s),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=y&&void 0===p?f(n):h,C={};for(var _ in e)y&&"as"===_||w(_)&&(C[_]=e[_]);return C.className=i,r&&(C.ref=r),o.createElement(o.Fragment,null,o.createElement(g,{cache:t,serialized:x,isStringTag:"string"==typeof n}),o.createElement(n,C))});return C.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=d,C.__emotion_styles=v,C.__emotion_forwardProp=p,Object.defineProperty(C,"toString",{value:function(){return"."+a}}),C.withComponent=function(t,o){return e(t,(0,n.A)({},r,o,{shouldForwardProp:m(C,o,!0)})).apply(void 0,v)},C}}.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){y[e]=y(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:()=>a,NI:()=>i,vf:()=>s,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o},{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function s(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}},1568:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(5047),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(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 d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}var m=1,g=1,y=0,b=0,v=0,x="";function w(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:a,return:""}}function C(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return v=b>0?u(x,--b):0,g--,10===v&&(g=1,m--),v}function k(){return v=b<y?u(x,b++):0,g++,10===v&&(g=1,m++),v}function A(){return u(x,b)}function S(){return b}function j(e,t){return d(x,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,y=p(x=e),b=0,[]}function I(e){return x="",e}function E(e){return s(j(b-1,L(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(v=A())&&v<33;)k();return M(e)>2||M(v)>3?"":" "}function P(e,t){for(;--t&&k()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return j(e,S()+(t<6&&32==A()&&32==k()))}function L(e){for(;k();)switch(v){case e:return b;case 34:case 39:34!==e&&39!==e&&L(v);break;case 40:41===e&&L(e);break;case 92:k()}return b}function O(e,t){for(;k()&&e+v!==57&&(e+v!==84||47!==A()););return"/*"+j(t,b-1)+"*"+i(47===e?e:k())}function N(e){for(;!M(A());)k();return j(e,b)}var $="-ms-",z="-moz-",D="-webkit-",B="comm",F="rule",H="decl",V="@keyframes";function W(e,t){for(var r="",n=h(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case B:return"";case V:return e.return=e.value+"{"+W(e.children,n)+"}";case F:e.value=e.props.join(",")}return p(r=W(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return I(Z("",null,null,null,[""],e=R(e),0,[0],e))}function Z(e,t,r,n,o,a,s,d,h){for(var m=0,g=0,y=s,b=0,v=0,x=0,w=1,C=1,j=1,M=0,R="",I=o,L=a,$=n,z=R;C;)switch(x=M,M=k()){case 40:if(108!=x&&58==u(z,y-1)){-1!=c(z+=l(E(M),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:z+=E(M);break;case 9:case 10:case 13:case 32:z+=T(x);break;case 92:z+=P(S()-1,7);continue;case 47:switch(A()){case 42:case 47:f(X(O(k(),S()),t,r),h);break;default:z+="/"}break;case 123*w:d[m++]=p(z)*j;case 125*w:case 59:case 0:switch(M){case 0:case 125:C=0;case 59+g:-1==j&&(z=l(z,/\f/g,"")),v>0&&p(z)-y&&f(v>32?K(z+";",n,r,y-1):K(l(z," ","")+";",n,r,y-2),h);break;case 59:z+=";";default:if(f($=G(z,t,r,m,g,o,d,R,I=[],L=[],y),a),123===M)if(0===g)Z(z,t,$,$,I,a,y,d,L);else switch(99===b&&110===u(z,3)?100:b){case 100:case 108:case 109:case 115:Z(e,$,$,n&&f(G(e,$,$,0,0,o,d,R,o,I=[],y),L),o,L,y,d,n?I:L);break;default:Z(z,$,$,$,[""],L,0,d,L)}}m=g=v=0,w=j=1,R=z="",y=s;break;case 58:y=1+p(z),v=x;default:if(w<1)if(123==M)--w;else if(125==M&&0==w++&&125==_())continue;switch(z+=i(M),M*w){case 38:j=g>0?1:(z+="\f",-1);break;case 44:d[m++]=(p(z)-1)*j,j=1;break;case 64:45===A()&&(z+=E(k())),b=A(),g=y=p(R=z+=N(S())),M++;break;case 45:45===x&&2==p(z)&&(w=0)}}return a}function G(e,t,r,n,i,a,c,u,p,f,m){for(var g=i-1,y=0===i?a:[""],b=h(y),v=0,x=0,C=0;v<n;++v)for(var _=0,k=d(e,g+1,g=o(x=c[v])),A=e;_<b;++_)(A=s(x>0?y[_]+" "+k:l(k,/&\f/g,y[_])))&&(p[C++]=A);return w(e,t,r,0===i?F:u,p,f,m)}function X(e,t,r){return w(e,t,r,B,i(v),d(e,2,-2),0)}function K(e,t,r,n){return w(e,t,r,H,d(e,0,n),d(e,n+1,-1),n)}var Y=function(e,t,r){for(var n=0,o=0;n=o,o=A(),38===n&&12===o&&(t[r]=1),!M(o);)k();return j(e,b)},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=[],a=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(M(n)){case 0:38===n&&12===A()&&(t[r]=1),e[r]+=Y(b-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===A()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=k());return e}(R(e),t))}(t,o),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[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 D+"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 D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+z+e+$+e+e;case 6828:case 4268:return D+e+$+e+e;case 6165:return D+e+$+"flex-"+e+e;case 5187:return D+e+l(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+$+"flex-$1$2")+e;case 5443:return D+e+$+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return D+e+$+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+$+l(e,"shrink","negative")+e;case 5292:return D+e+$+l(e,"basis","preferred-size")+e;case 6060:return D+"box-"+l(e,"-grow","")+D+e+$+l(e,"grow","positive")+e;case 4554:return D+l(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,D+"$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(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+z+(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,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+$+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case V:return W([C(e,{value:l(e.value,"@","@"+D)})],n);case F: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 W([C(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return W([C(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,$+"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,a=e.stylisPlugins||re,s={},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++)s[t[r]]=!0;l.push(e)});var c,u,d,p,f=[q,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[Q,ee].concat(a,f),d=h(u),function(e,t,r,n){for(var o="",i=0;i<d;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,W(U(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:s,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:()=>f,MA:()=>h,_W:()=>m,Lc:()=>y,Ms:()=>b});var n=r(1566),o=r(7807),i=r(6446);const a={m:"margin",p:"padding"},s={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=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function h(e,t,r,n){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function f(e){return h(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=f(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),a=e[r];return(0,n.NI)(e,a,i)}(e,t,o,r)).reduce(i.A,{})}function y(e){return g(e,u)}function b(e){return g(e,d)}function v(e){return g(e,p)}y.propTypes={},y.filterProps=u,b.propTypes={},b.filterProps=d,v.propTypes={},v.filterProps=p},2454:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(6032)},2471:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),r=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,r)};var o=n(r(5496)),i=r(7731),a=/<(![a-zA-Z\s]+)>/},2694:(e,t,r)=>{"use strict";var n=r(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},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:()=>ye,internal_processStyles:()=>be,internal_serializeStyles:()=>xe,keyframes:()=>d});var n=r(1479),o=r(3174),i=r(6632),a=r(1609),s=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,a.useContext(i.T)),c=a.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,s.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 d=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_"}}},p=r(5047),h=Math.abs,f=String.fromCharCode,m=Object.assign;function g(e){return e.trim()}function y(e,t,r){return e.replace(t,r)}function b(e,t){return e.indexOf(t)}function v(e,t){return 0|e.charCodeAt(t)}function x(e,t,r){return e.slice(t,r)}function w(e){return e.length}function C(e){return e.length}function _(e,t){return t.push(e),e}var k=1,A=1,S=0,j=0,M=0,R="";function I(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:k,column:A,length:a,return:""}}function E(e,t){return m(I("",null,null,"",null,null,0),e,{length:-e.length},t)}function T(){return M=j>0?v(R,--j):0,A--,10===M&&(A=1,k--),M}function P(){return M=j<S?v(R,j++):0,A++,10===M&&(A=1,k++),M}function L(){return v(R,j)}function O(){return j}function N(e,t){return x(R,e,t)}function $(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 z(e){return k=A=1,S=w(R=e),j=0,[]}function D(e){return R="",e}function B(e){return g(N(j-1,V(91===e?e+2:40===e?e+1:e)))}function F(e){for(;(M=L())&&M<33;)P();return $(e)>2||$(M)>3?"":" "}function H(e,t){for(;--t&&P()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return N(e,O()+(t<6&&32==L()&&32==P()))}function V(e){for(;P();)switch(M){case e:return j;case 34:case 39:34!==e&&39!==e&&V(M);break;case 40:41===e&&V(e);break;case 92:P()}return j}function W(e,t){for(;P()&&e+M!==57&&(e+M!==84||47!==L()););return"/*"+N(t,j-1)+"*"+f(47===e?e:P())}function q(e){for(;!$(L());)P();return N(e,j)}var U="-ms-",Z="-moz-",G="-webkit-",X="comm",K="rule",Y="decl",J="@keyframes";function Q(e,t){for(var r="",n=C(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 Y:return e.return=e.return||e.value;case X:return"";case J:return e.return=e.value+"{"+Q(e.children,n)+"}";case K:e.value=e.props.join(",")}return w(r=Q(e.children,n))?e.return=e.value+"{"+r+"}":""}function te(e){return D(re("",null,null,null,[""],e=z(e),0,[0],e))}function re(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,g=1,x=1,C=1,k=0,A="",S=o,j=i,M=n,R=A;x;)switch(m=k,k=P()){case 40:if(108!=m&&58==v(R,d-1)){-1!=b(R+=y(B(k),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:R+=B(k);break;case 9:case 10:case 13:case 32:R+=F(m);break;case 92:R+=H(O()-1,7);continue;case 47:switch(L()){case 42:case 47:_(oe(W(P(),O()),t,r),l);break;default:R+="/"}break;case 123*g:s[c++]=w(R)*C;case 125*g:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+u:-1==C&&(R=y(R,/\f/g,"")),h>0&&w(R)-d&&_(h>32?ie(R+";",n,r,d-1):ie(y(R," ","")+";",n,r,d-2),l);break;case 59:R+=";";default:if(_(M=ne(R,t,r,c,u,o,s,A,S=[],j=[],d),i),123===k)if(0===u)re(R,t,M,M,S,i,d,s,j);else switch(99===p&&110===v(R,3)?100:p){case 100:case 108:case 109:case 115:re(e,M,M,n&&_(ne(e,M,M,0,0,o,s,A,o,S=[],d),j),o,j,d,s,n?S:j);break;default:re(R,M,M,M,[""],j,0,s,j)}}c=u=h=0,g=C=1,A=R="",d=a;break;case 58:d=1+w(R),h=m;default:if(g<1)if(123==k)--g;else if(125==k&&0==g++&&125==T())continue;switch(R+=f(k),k*g){case 38:C=u>0?1:(R+="\f",-1);break;case 44:s[c++]=(w(R)-1)*C,C=1;break;case 64:45===L()&&(R+=B(P())),p=L(),u=d=w(A=R+=q(O())),k++;break;case 45:45===m&&2==w(R)&&(g=0)}}return i}function ne(e,t,r,n,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],f=C(p),m=0,b=0,v=0;m<n;++m)for(var w=0,_=x(e,d+1,d=h(b=a[m])),k=e;w<f;++w)(k=g(b>0?p[w]+" "+_:y(_,/&\f/g,p[w])))&&(l[v++]=k);return I(e,t,r,0===o?K:s,l,c,u)}function oe(e,t,r){return I(e,t,r,X,f(M),x(e,2,-2),0)}function ie(e,t,r,n){return I(e,t,r,Y,x(e,0,n),x(e,n+1,-1),n)}var ae=function(e,t,r){for(var n=0,o=0;n=o,o=L(),38===n&&12===o&&(t[r]=1),!$(o);)P();return N(e,j)},se=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)||se.get(r))&&!n){se.set(e,!0);for(var o=[],i=function(e,t){return D(function(e,t){var r=-1,n=44;do{switch($(n)){case 0:38===n&&12===L()&&(t[r]=1),e[r]+=ae(j-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]+=f(n)}}while(n=P());return e}(z(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},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^v(e,0)?(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3):0}(e,t)){case 5103:return G+"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 G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+Z+e+U+e+e;case 6828:case 4268:return G+e+U+e+e;case 6165:return G+e+U+"flex-"+e+e;case 5187:return G+e+y(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+U+"flex-$1$2")+e;case 5443:return G+e+U+"flex-item-"+y(e,/flex-|-self/,"")+e;case 4675:return G+e+U+"flex-line-pack"+y(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+U+y(e,"shrink","negative")+e;case 5292:return G+e+U+y(e,"basis","preferred-size")+e;case 6060:return G+"box-"+y(e,"-grow","")+G+e+U+y(e,"grow","positive")+e;case 4554:return G+y(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,G+"$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(w(e)-1-t>6)switch(v(e,t+1)){case 109:if(45!==v(e,t+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Z+(108==v(e,t+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch")?ue(y(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==v(e,t+1))break;case 6444:switch(v(e,w(e)-3-(~b(e,"!important")&&10))){case 107:return y(e,":",":"+G)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===v(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+U+"$2box$3")+e}break;case 5936:switch(v(e,t+11)){case 114:return G+e+U+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+U+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+U+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+U+e+e}return e}var de=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Y:e.return=ue(e.value,e.length);break;case J:return Q([E(e,{value:y(e.value,"@","@"+G)})],n);case K: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(e,{props:[y(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Q([E(e,{props:[y(t,/:(plac\w+)/,":"+G+"input-$1")]}),E(e,{props:[y(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[y(t,/:(plac\w+)/,U+"input-$1")]})],n)}return""})}}],pe=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||de,a={},s=[];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++)a[t[r]]=!0;s.push(e)});var l,c,u,d,h=[ee,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(c=[le,ce].concat(i,h),u=C(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),f),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new p.v({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return m.sheet.hydrate(s),m},he=r(790);const fe=new Map;function me(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,o=a.useMemo(()=>{const e=`${t}-${r}`;if("object"==typeof document&&fe.has(e))return fe.get(e);const n=function(e,t){const r=pe({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 fe.set(e,n),n},[t,r]);return t||r?(0,he.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,he.jsx)(c,{styles:n})}function ye(e,t){return(0,n.A)(e,t)}const be=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},ve=[];function xe(e){return ve[0]=e,(0,o.J)(ve)}},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,a=r?Symbol.for("react.strict_mode"):60108,s=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,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||w(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},3168:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(3226),o=r(9667),i=r(4734),a=r(435),s=r(4229);function l(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const h=(0,i.Yn)(r,u)||{};return p?p(s):(0,a.NI)(s,t,t=>{let r=(0,i.BO)(h,d,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(h,d,`${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:s.A;function d(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,a.EU)(l.breakpoints),s=Object.keys(i);let d=i;return Object.keys(n).forEach(r=>{const i="function"==typeof(s=n[r])?s(l):s;var s;if(null!=i)if("object"==typeof i)if(u[r])d=(0,o.A)(d,e(r,i,l,u));else{const e=(0,a.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)?d=(0,o.A)(d,e):d[r]=t({sx:i,theme:l,nested:!0})}else d=(0,o.A)(d,e(r,i,l,u))}),!c&&l.modularCssLayers?{"@layer sx":(0,a.vf)(s,d)}:(0,a.vf)(s,d)}return Array.isArray(i)?i.map(d):d(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,a=/[A-Z]|^ms/g,s=/_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(a,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return f={name:t,styles:r,next:f},t})}return 1===n[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},p="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function h(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 f={name:o.name,styles:o.styles,next:f},o.name;var a=r;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)f={name:s.name,styles:s.styles,next:f},s=s.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=h(e,t,r[o])+";";else for(var a in r){var s=r[a];if("object"!=typeof s){var l=s;null!=t&&void 0!==t[l]?n+=a+"{"+t[l]+"}":c(l)&&(n+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(p);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var f=h(e,t,s);switch(a){case"animation":case"animationName":n+=u(a)+":"+f+";";break;default:n+=a+"{"+f+"}"}}else for(var m=0;m<s.length;m++)c(s[m])&&(n+=u(a)+":"+d(a,s[m])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var l=f,m=r(e);return f=l,h(e,t,m)}}var g=r;if(null==t)return g;var y=t[g];return void 0!==y?y:g}var f,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="";f=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=h(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=h(r,t,e[a]),n&&(o+=i[a]);m.lastIndex=0;for(var s,l="";null!==(s=m.exec(o));)l+="-"+s[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:f}}},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},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var o=h(r);o&&o!==f&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||n&&n[y]||m&&m[y]||s&&s[y])){var b=p(r,y);try{c(t,y,b)}catch(e){}}}}return t}},4210:(e,t,r)=>{"use strict";function n(e,t,r,n,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{o[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{o[e]=new n(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{o[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{o[e]=new n(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{o[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{o[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{o[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{o[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{o[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)});const i=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{const t=e.replace(i,a);o[t]=new n(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{const t=e.replace(i,a);o[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(i,a);o[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{o[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{o[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});const{CAMELCASE:s,SAME:l,possibleStandardNames:c}=r(6811),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce((e,t)=>{const r=c[t];return r===l?e[t]=t:r===s?e[t.toLowerCase()]=t:e[t]=r,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},4229:(e,t,r)=>{"use strict";r.d(t,{A:()=>L});var n=r(1069),o=r(4734),i=r(9667);const a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var s=r(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),d=c("borderTop",l),p=c("borderRight",l),h=c("borderBottom",l),f=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),C=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};C.propTypes={},C.filterProps=["borderRadius"],a(u,d,p,h,f,m,g,y,b,v,C,x,w);const _=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};_.propTypes={},_.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,s.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const A=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};function S(e,t){return"grey"===t?t:e}function j(e){return e<=1&&0!==e?100*e+"%":e}A.propTypes={},A.filterProps=["rowGap"],a(_,k,A,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:S}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:S}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:S}));const M=(0,o.Ay)({prop:"width",transform:j}),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])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:j(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const I=(0,o.Ay)({prop:"minWidth",transform:j}),E=(0,o.Ay)({prop:"height",transform:j}),T=(0,o.Ay)({prop:"maxHeight",transform:j}),P=(0,o.Ay)({prop:"minHeight",transform:j}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:j}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:j}),a(M,R,I,E,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:C},color:{themeKey:"palette",transform:S},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:S},backgroundColor:{themeKey:"palette",transform:S},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:_},rowGap:{style:A},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:j},maxWidth:{style:R},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},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:()=>d,c:()=>f,h:()=>p,w:()=>u});var n=r(1609),o=r(1568),i=r(41),a=r(3174),s=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)})},d=n.createContext({}),p={}.hasOwnProperty,h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var r={};for(var n in t)p.call(t,n)&&(r[n]=t[n]);return r[h]=e,r},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,i.SF)(t,r,n),(0,s.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 s=e[h],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,a.J)(l,void 0,n.useContext(d));c+=t.key+"-"+u.name;var f={};for(var g in e)p.call(e,g)&&"css"!==g&&g!==h&&(f[g]=e[g]);return f.className=c,r&&(f.ref=r),n.createElement(n.Fragment,null,n.createElement(m,{cache:t,serialized:u,isStringTag:"string"==typeof s}),n.createElement(s,f))})},4734:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>a,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 a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(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},4958:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,s)}catch(e){t.style={}}else t.style={}};var o=r(1609),i=n(r(5229)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),s={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},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})},5229:function(e,t,r){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(1133)),o=r(8917);function i(e,t){var r={};return e&&"string"==typeof e?((0,n.default)(e,function(e,n){e&&n&&(r[(0,o.camelCase)(e,t)]=n)}),r):r}i.default=i,e.exports=i},5270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},5413:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},5496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r,p=(e=(0,n.escapeSpecialCharacters)(e)).match(s),h=p&&p[1]?p[1].toLowerCase():"";switch(h){case o:var f=d(e);return l.test(e)||null===(t=null==(y=f.querySelector(i))?void 0:y.parentNode)||void 0===t||t.removeChild(y),c.test(e)||null===(r=null==(y=f.querySelector(a))?void 0:y.parentNode)||void 0===r||r.removeChild(y),f.querySelectorAll(o);case i:case a:var g=u(e).querySelectorAll(h);return c.test(e)&&l.test(e)?g[0].parentNode.childNodes:g;default:return m?m(e):(y=u(e,a).querySelector(a)).childNodes;var y}};var n=r(7731),o="html",i="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},p="object"==typeof window&&window.DOMParser;if("function"==typeof p){var h=new p;u=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();u=function(e,t){if(t){var r=f.documentElement.querySelector(t);return r&&(r.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var m,g="object"==typeof document&&document.createElement("template");g&&g.content&&(m=function(e){return g.innerHTML=e,g.content.childNodes})},5556:(e,t,r)=>{e.exports=r(2694)()},5888:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,private_createBreakpoints:()=>l,unstable_applyStyles:()=>h});var n=r(8168),o=r(8587),i=r(766);const a=["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,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,a),c=s(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-i/100}${r})`}function h(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:d,down:p,between:h,only:function(e){return u.indexOf(e)+1<u.length?h(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):h(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}const c={borderRadius:4};var u=r(2350),d=r(73),p=r(9222);function h(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 f=["breakpoints","palette","spacing","shape"],m=function(e={},...t){const{breakpoints:r={},palette:a={},spacing:s,shape:m={}}=e,g=(0,o.A)(e,f),y=l(r),b=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}(s);let v=(0,i.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},a),spacing:b,shape:(0,n.A)({},c,m)},g);return v.applyStyles=h,v=t.reduce((e,t)=>(0,i.A)(e,t),v),v.unstable_sxConfig=(0,n.A)({},p.A,null==g?void 0:g.unstable_sxConfig),v.unstable_sx=function(e){return(0,d.A)({sx:e,theme:this})},v}},6032:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,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 a(e){if(o.isValidElement(e)||!i(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=a(e[r])}),t}function s(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]=s(e[n],t[n],r):r.clone?l[n]=i(t[n])?a(t[n]):t[n]:l[n]=t[n]}),l}},6105:function(e){e.exports=function(){function e(){return(e=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}).apply(null,arguments)}var t={ignoreId:!1},r="undefined"!=typeof Node,n=r?Node.ELEMENT_NODE:1,o=r?Node.TEXT_NODE:3,i=r?Node.DOCUMENT_TYPE_NODE:10;return function(r,a){var s=e({},t,a),l=r;if(l&&l.id&&!s.ignoreId)return'//*[@id="'+l.id+'"]';for(var c=[];l&&(n===l.nodeType||o===l.nodeType);){for(var u=0,d=!1,p=l.previousSibling;p;)p.nodeType!==i&&p.nodeName===l.nodeName&&u++,p=p.previousSibling;for(p=l.nextSibling;p;){if(p.nodeName===l.nodeName){d=!0;break}p=p.nextSibling}var h=u||d?"["+(u+1)+"]":"";c.push(l.nodeType!=o?(l.prefix?l.prefix+":":"")+l.localName+h:"text()"+(h||"[1]")),l=l.parentNode}return c.length?"/"+c.reverse().join("/"):""}}()},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:()=>a,T:()=>l,w:()=>s});var n=r(1609),o=r(6810),i=(r(3174),r(1287),n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null)),a=i.Provider,s=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=f,slotShouldForwardProp:l=f}=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,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:d,slot:h,skipVariantsResolver:m,skipSx:x,overridesResolver:w=b(g(h))}=c,C=(0,i.default)(c,p),_=void 0!==m?m:h&&"Root"!==h&&"root"!==h||!1,k=x||!1;let A=f;"Root"===h||"root"===h?A=n:h?A=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(A=void 0);const S=(0,a.default)(e,(0,o.default)({shouldForwardProp:A,label:void 0},C)),j=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,M=(n,...i)=>{let a=j(n);const s=i?i.map(j):[];d&&w&&s.push(e=>{const n=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;const i=n.components[d].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=v(r,(0,o.default)({},e,{theme:n}))}),w(e,a)}),d&&!_&&s.push(e=>{var n;const i=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[d])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),k||s.push(u);const l=s.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=S(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return S.withConfig&&(M.withConfig=S.withConfig),M}};var o=n(r(4634)),i=n(r(4893)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(2833)),s=r(120),l=(n(r(1560)),n(r(7503)),n(r(5888))),c=n(r(9569));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function f(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 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 v(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>v(e,(0,o.default)({ownerState:r},n)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,d);return e.forEach(e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)}),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),t}return a}},6673:e=>{function t(){return new DOMException("The request is not allowed","NotAllowedError")}e.exports=async function(e){try{await async function(e){if(!navigator.clipboard)throw t();return navigator.clipboard.writeText(e)}(e)}catch(r){try{await async function(e){const r=document.createElement("span");r.textContent=e,r.style.whiteSpace="pre",r.style.webkitUserSelect="auto",r.style.userSelect="all",document.body.appendChild(r);const n=window.getSelection(),o=window.document.createRange();n.removeAllRanges(),o.selectNode(r),n.addRange(o);let i=!1;try{i=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(r)}if(!i)throw t()}(e)}catch(e){throw e||r||t()}}}},6810:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(5047),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(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 d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}var m=1,g=1,y=0,b=0,v=0,x="";function w(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:a,return:""}}function C(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return v=b>0?u(x,--b):0,g--,10===v&&(g=1,m--),v}function k(){return v=b<y?u(x,b++):0,g++,10===v&&(g=1,m++),v}function A(){return u(x,b)}function S(){return b}function j(e,t){return d(x,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,y=p(x=e),b=0,[]}function I(e){return x="",e}function E(e){return s(j(b-1,L(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(v=A())&&v<33;)k();return M(e)>2||M(v)>3?"":" "}function P(e,t){for(;--t&&k()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return j(e,S()+(t<6&&32==A()&&32==k()))}function L(e){for(;k();)switch(v){case e:return b;case 34:case 39:34!==e&&39!==e&&L(v);break;case 40:41===e&&L(e);break;case 92:k()}return b}function O(e,t){for(;k()&&e+v!==57&&(e+v!==84||47!==A()););return"/*"+j(t,b-1)+"*"+i(47===e?e:k())}function N(e){for(;!M(A());)k();return j(e,b)}var $="-ms-",z="-moz-",D="-webkit-",B="comm",F="rule",H="decl",V="@keyframes";function W(e,t){for(var r="",n=h(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case B:return"";case V:return e.return=e.value+"{"+W(e.children,n)+"}";case F:e.value=e.props.join(",")}return p(r=W(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return I(Z("",null,null,null,[""],e=R(e),0,[0],e))}function Z(e,t,r,n,o,a,s,d,h){for(var m=0,g=0,y=s,b=0,v=0,x=0,w=1,C=1,j=1,M=0,R="",I=o,L=a,$=n,z=R;C;)switch(x=M,M=k()){case 40:if(108!=x&&58==u(z,y-1)){-1!=c(z+=l(E(M),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:z+=E(M);break;case 9:case 10:case 13:case 32:z+=T(x);break;case 92:z+=P(S()-1,7);continue;case 47:switch(A()){case 42:case 47:f(X(O(k(),S()),t,r),h);break;default:z+="/"}break;case 123*w:d[m++]=p(z)*j;case 125*w:case 59:case 0:switch(M){case 0:case 125:C=0;case 59+g:-1==j&&(z=l(z,/\f/g,"")),v>0&&p(z)-y&&f(v>32?K(z+";",n,r,y-1):K(l(z," ","")+";",n,r,y-2),h);break;case 59:z+=";";default:if(f($=G(z,t,r,m,g,o,d,R,I=[],L=[],y),a),123===M)if(0===g)Z(z,t,$,$,I,a,y,d,L);else switch(99===b&&110===u(z,3)?100:b){case 100:case 108:case 109:case 115:Z(e,$,$,n&&f(G(e,$,$,0,0,o,d,R,o,I=[],y),L),o,L,y,d,n?I:L);break;default:Z(z,$,$,$,[""],L,0,d,L)}}m=g=v=0,w=j=1,R=z="",y=s;break;case 58:y=1+p(z),v=x;default:if(w<1)if(123==M)--w;else if(125==M&&0==w++&&125==_())continue;switch(z+=i(M),M*w){case 38:j=g>0?1:(z+="\f",-1);break;case 44:d[m++]=(p(z)-1)*j,j=1;break;case 64:45===A()&&(z+=E(k())),b=A(),g=y=p(R=z+=N(S())),M++;break;case 45:45===x&&2==p(z)&&(w=0)}}return a}function G(e,t,r,n,i,a,c,u,p,f,m){for(var g=i-1,y=0===i?a:[""],b=h(y),v=0,x=0,C=0;v<n;++v)for(var _=0,k=d(e,g+1,g=o(x=c[v])),A=e;_<b;++_)(A=s(x>0?y[_]+" "+k:l(k,/&\f/g,y[_])))&&(p[C++]=A);return w(e,t,r,0===i?F:u,p,f,m)}function X(e,t,r){return w(e,t,r,B,i(v),d(e,2,-2),0)}function K(e,t,r,n){return w(e,t,r,H,d(e,0,n),d(e,n+1,-1),n)}var Y=function(e,t,r){for(var n=0,o=0;n=o,o=A(),38===n&&12===o&&(t[r]=1),!M(o);)k();return j(e,b)},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=[],a=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(M(n)){case 0:38===n&&12===A()&&(t[r]=1),e[r]+=Y(b-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===A()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=k());return e}(R(e),t))}(t,o),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[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 D+"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 D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+z+e+$+e+e;case 6828:case 4268:return D+e+$+e+e;case 6165:return D+e+$+"flex-"+e+e;case 5187:return D+e+l(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+$+"flex-$1$2")+e;case 5443:return D+e+$+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return D+e+$+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+$+l(e,"shrink","negative")+e;case 5292:return D+e+$+l(e,"basis","preferred-size")+e;case 6060:return D+"box-"+l(e,"-grow","")+D+e+$+l(e,"grow","positive")+e;case 4554:return D+l(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,D+"$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(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+z+(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,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+$+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case V:return W([C(e,{value:l(e.value,"@","@"+D)})],n);case F: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 W([C(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return W([C(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,$+"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,a=e.stylisPlugins||re,s={},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++)s[t[r]]=!0;l.push(e)});var c,u,d,p,f=[q,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[Q,ee].concat(a,f),d=h(u),function(e,t,r,n){for(var o="",i=0;i<d;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,W(U(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:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},6811:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},6920:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(8168),o=r(8587),i=r(6032),a=r(7673);const s={borderRadius:4};var l=r(1069),c=r(3168),u=r(4229),d=r(851);const p=["breakpoints","palette","spacing","shape"],h=function(e={},...t){const{breakpoints:r={},palette:h={},spacing:f,shape:m={}}=e,g=(0,o.A)(e,p),y=(0,a.A)(r),b=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}(f);let v=(0,i.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},h),spacing:b,shape:(0,n.A)({},s,m)},g);return v.applyStyles=d.A,v=t.reduce((e,t)=>(0,i.A)(e,t),v),v.unstable_sxConfig=(0,n.A)({},u.A,null==g?void 0:g.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},v}},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6950:(e,t,r)=>{"use strict";var n=r(4994);t.X4=function(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)},t.e$=u,t.tL=function(e,t=.15){return c(e)>.5?u(e,t):d(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=d;var o=n(r(9517)),i=n(r(7783));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,o.default)(9,e));let n,i=e.substring(t+1,e.length-1);if("color"===r){if(i=i.split(" "),n=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,o.default)(10,n))}else i=i.split(",");return i=i.map(e=>parseFloat(e)),{type:r,values:i,colorSpace:n}}function 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=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(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=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function d(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}},6957:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(5413),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),C(this,e)},e}();t.Node=s;var l=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=a.ElementType.Directive,n}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var p=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=f;var m=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,n)||this;return i.name=t,i.attribs=r,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function v(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function C(e,t){var r;if(void 0===t&&(t=!1),b(e))r=new c(e.data);else if(v(e))r=new u(e.data);else if(g(e)){var n=t?_(e.children):[],o=new m(e.name,i({},e.attribs),n);n.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=o}else if(y(e)){n=t?_(e.children):[];var a=new h(n);n.forEach(function(e){return e.parent=a}),r=a}else if(w(e)){n=t?_(e.children):[];var s=new f(n);n.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function _(e){for(var t=e.map(function(e){return C(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=y,t.isText=b,t.isComment=v,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=C},7272:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:n=f,slotShouldForwardProp:l=f}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:b((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:d,slot:h,skipVariantsResolver:m,skipSx:g,overridesResolver:w=v(y(h))}=c,C=(0,i.default)(c,p),_=d&&d.startsWith("Mui")||h?"components":"custom",k=void 0!==m?m:h&&"Root"!==h&&"root"!==h||!1,A=g||!1;let S=f;"Root"===h||"root"===h?S=n:h?S=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(S=void 0);const j=(0,a.default)(e,(0,o.default)({shouldForwardProp:S,label:void 0},C)),M=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>{const i=b({theme:n.theme,defaultTheme:r,themeId:t});return x(e,(0,o.default)({},n,{theme:i}),i.modularCssLayers?_:void 0)}:e,R=(n,...i)=>{let a=M(n);const s=i?i.map(M):[];d&&w&&s.push(e=>{const n=b((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;const i=n.components[d].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=x(r,(0,o.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),w(e,a)}),d&&!k&&s.push(e=>{var n;const i=b((0,o.default)({},e,{defaultTheme:r,themeId:t}));return x({variants:null==i||null==(n=i.components)||null==(n=n[d])?void 0:n.variants},(0,o.default)({},e,{theme:i}),i.modularCssLayers?"theme":void 0)}),A||s.push(u);const l=s.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=j(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return j.withConfig&&(R.withConfig=j.withConfig),R}};var o=n(r(4634)),i=n(r(4893)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(1032)),s=r(2454),l=(n(r(834)),n(r(9469)),n(r(8705))),c=n(r(9558));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function f(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)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function v(e){return e?(t,r)=>r[e]:null}function x(e,t,r){let{ownerState:n}=t,s=(0,i.default)(t,u);const l="function"==typeof e?e((0,o.default)({ownerState:n},s)):e;if(Array.isArray(l))return l.flatMap(e=>x(e,(0,o.default)({ownerState:n},s),r));if(l&&"object"==typeof l&&Array.isArray(l.variants)){const{variants:e=[]}=l;let t=(0,i.default)(l,d);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},s,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&s[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},s,n)):e.style;t.push(r?m((0,a.internal_serializeStyles)(i),r):i)}}),t}return r?m((0,a.internal_serializeStyles)(l),r):l}},7437:(e,t,r)=>{"use strict";r.d(t,{AH:()=>p,i7:()=>h,mL:()=>d});var n,o,i=r(4684),a=r(1609),s=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 a.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 s=2;s<n;s++)o[s]=r[s];return a.createElement.apply(null,o)});n=u||(u={}),o||(o=n.JSX||(n.JSX={}));var d=(0,i.w)(function(e,t){var r=e.styles,n=(0,c.J)([r],void 0,a.useContext(i.T)),o=a.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,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),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,s.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 p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,c.J)(t)}function h(){var e=p.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_"}}}},7484:e=>{e.exports={BorderRadiusSm:"4px",BorderRadiusMd:"8px",BorderRadiusLg:"16px",BorderRadiusCircle:"50%",BorderSizeSm:"1px",BorderSizeMd:"2px",BorderSizeLg:"4px",BorderStyleSolid:"solid",BorderStyleDashed:"dashed",BreakpointXs:0,BreakpointSm:600,BreakpointMd:900,BreakpointLg:1200,BreakpointXl:1536,ColorCommonBlack:"#000000",ColorCommonWhite:"#FFFFFF",ColorGrey50:"#f1f3f3",ColorGrey100:"#d5d8dc",ColorGrey200:"#babfc5",ColorGrey300:"#9da5ae",ColorGrey400:"#818a96",ColorGrey500:"#69727d",ColorGrey600:"#515962",ColorGrey700:"#3f444b",ColorGrey800:"#1f2124",ColorGrey900:"#0c0d0e",ColorPink50:"#fae8ff",ColorPink100:"#f5d0fe",ColorPink200:"#f3bafd",ColorPink300:"#f0abfc",ColorPink400:"#eb8efb",ColorPink500:"#e879f9",ColorPink600:"#e73cf6",ColorPink700:"#e315f5",ColorPink800:"#d004d4",ColorPink900:"#c00bb9",ColorRed50:"#fef2f2",ColorRed100:"#fee2e2",ColorRed200:"#fecaca",ColorRed300:"#fca5a5",ColorRed400:"#f87171",ColorRed500:"#ef4444",ColorRed600:"#dc2626",ColorRed700:"#b91c1c",ColorRed800:"#991b1b",ColorRed900:"#7f1d1d",ColorYellow50:"#fffbeb",ColorYellow100:"#fef6d7",ColorYellow200:"#fde68a",ColorYellow300:"#fcd34d",ColorYellow400:"#fbbf24",ColorYellow500:"#f59e0b",ColorYellow600:"#d97706",ColorYellow700:"#bb5b1d",ColorYellow800:"#b15211",ColorYellow900:"#92400e",ColorBlue50:"#eff6ff",ColorBlue100:"#dbeafe",ColorBlue200:"#bfdbfe",ColorBlue300:"#93c5fd",ColorBlue400:"#60a5fa",ColorBlue500:"#3b82f6",ColorBlue600:"#2563eb",ColorBlue700:"#1d4ed8",ColorBlue800:"#1e40af",ColorBlue900:"#1e3a8a",ColorGreen50:"#ecfdf5",ColorGreen100:"#d1fae5",ColorGreen200:"#a7f3d0",ColorGreen300:"#6ee7b7",ColorGreen400:"#34d399",ColorGreen500:"#10b981",ColorGreen600:"#0a875a",ColorGreen700:"#047857",ColorGreen800:"#065f46",ColorGreen900:"#064e3b",ColorCyan50:"#f0fdfa",ColorCyan100:"#ccfbf1",ColorCyan200:"#aff8ea",ColorCyan300:"#99f6e4",ColorCyan400:"#5eead4",ColorCyan500:"#2adfcd",ColorCyan600:"#1ec8bf",ColorCyan700:"#1cbab5",ColorCyan800:"#1aadad",ColorCyan900:"#17929b",ColorBurgundy50:"#fce3e8",ColorBurgundy100:"#f6b8c5",ColorBurgundy200:"#f08a9f",ColorBurgundy300:"#e85c7b",ColorBurgundy400:"#e03b60",ColorBurgundy500:"#d91c48",ColorBurgundy600:"#ca1746",ColorBurgundy700:"#b51243",ColorBurgundy800:"#93003f",ColorBurgundy900:"#7e013b",Sizing300:"24px",Sizing400:"32px",Sizing500:"40px",Sizing600:"48px",Sizing700:"56px",Sizing800:"64px",Sizing900:"72px",Spacing0:"0px",Spacing25:"2px",Spacing50:"4px",Spacing100:"8px",Spacing150:"12px",Spacing200:"16px",Spacing250:"20px",Spacing300:"24px",Spacing400:"32px",Spacing500:"40px",Spacing600:"48px",Spacing650:"56px",Spacing700:"64px",Spacing750:"80px",Spacing800:"96px",Spacing850:"120px",Spacing900:"160px",Spacing950:"176px",FontFamilyHeading:"'DM Sans', 'Roboto'",FontFamilySubtitle:"'DM Sans', 'Roboto'",FontFamilyText:"'DM Sans', 'Roboto'",FontFamilyButton:"'DM Sans', 'Roboto'",FontSize50:"9px",FontSize75:"10px",FontSize100:"12px",FontSize150:"14px",FontSize200:"16px",FontSize250:"18px",FontSize300:"20px",FontSize350:"22px",FontSize400:"24px",FontSize450:"28px",FontSize500:"32px",FontSize600:"36px",FontSize700:"48px",FontWeightHeading:"700",FontWeightSubtitle:"400",FontWeightText:"400",FontWeightButton:"400",LetterSpacingHeading:"0",LetterSpacingSubtitle:"0.02em",LetterSpacingText:"-0.01em",LetterSpacingButton:"-0.01em",LineHeightHeading:"1.3",LineHeightSubtitle:"1.5",LineHeightText:"1.5",LineHeightButton:"1.5"}},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 a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.vM:return s(e,e.render,"ForwardRef");case n.lD:return s(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:()=>s});var n=r(8587),o=r(8168);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.A)({},e,{[t.key]:t.val}),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.A)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${r})`}function h(e,n){const o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-s/100}${r})`}return(0,o.A)({keys:u,values:c,up:d,down:p,between:h,only:function(e){return u.indexOf(e)+1<u.length?h(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):h(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}},7731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=s,t.formatDOM=function e(t,r,o){void 0===r&&(r=null);for(var l,c=[],u=0,d=t.length;u<d;u++){var p=t[u];switch(p.nodeType){case 1:var h=a(p.nodeName);(l=new n.Element(h,i(p.attributes))).children=e("template"===h?p.content.childNodes:p.childNodes,l);break;case 3:l=new n.Text(s(p.nodeValue));break;case 8:l=new n.Comment(p.nodeValue);break;default:continue}var f=c[u-1]||null;f&&(f.next=l),l.parent=r,l.prev=f,l.next=null,c.push(l)}return o&&((l=new n.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=c[0]||null,l.parent=r,c.unshift(l),c[1]&&(c[1].prev=c[0])),c};var n=r(1141),o=r(5270);function i(e){for(var t={},r=0,n=e.length;r<n;r++){var o=e[r];t[o.name]=o.value}return t}function a(e){return function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function s(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},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:()=>s,BO:()=>a,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 a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},7946:(e,t,r)=>{"use strict";t.A=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(1609)),o=r(1032);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.A=function(e=null){const t=n.useContext(o.ThemeContext);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},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)},8917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(n,s))}},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 a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var s=r(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),d=c("borderTop",l),p=c("borderRight",l),h=c("borderBottom",l),f=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),C=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};C.propTypes={},C.filterProps=["borderRadius"],a(u,d,p,h,f,m,g,y,b,v,C,x,w);const _=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};_.propTypes={},_.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,s.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const A=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};function S(e,t){return"grey"===t?t:e}function j(e){return e<=1&&0!==e?100*e+"%":e}A.propTypes={},A.filterProps=["rowGap"],a(_,k,A,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:S}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:S}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:S}));const M=(0,o.Ay)({prop:"width",transform:j}),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])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:j(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const I=(0,o.Ay)({prop:"minWidth",transform:j}),E=(0,o.Ay)({prop:"height",transform:j}),T=(0,o.Ay)({prop:"maxHeight",transform:j}),P=(0,o.Ay)({prop:"minHeight",transform:j}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:j}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:j}),a(M,R,I,E,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:C},color:{themeKey:"palette",transform:S},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:S},backgroundColor:{themeKey:"palette",transform:S},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:_},rowGap:{style:A},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:j},maxWidth:{style:R},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},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 a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.vM:return s(e,e.render,"ForwardRef");case n.lD:return s(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:()=>s.A});var n=r(73),o=r(8168),i=r(8587),a=r(766),s=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:s.A;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function u(e){const{sx:t}=e,r=(0,i.A)(e,l),{systemProps:n,otherProps:s}=c(r);let u;return u=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,a.Q)(r)?(0,o.A)({},n,r):n}:(0,o.A)({},n,t),(0,o.A)({},s,{sx:u})}},9640:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===n||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===p||void 0!==e.getModuleId)}},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}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function h(e){var t=e.match(r);t&&(d+=t.length);var n=e.lastIndexOf("\n");p=~n?e.length-n:p+e.length}function f(){var e={line:d,column:p};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=l.source}m.prototype.content=e;var g=[];function y(t){var r=new Error(l.source+":"+d+":"+p+": "+t);if(r.reason=t,r.filename=l.source,r.line=d,r.column=p,r.source=e,!l.silent)throw r;g.push(r)}function b(t){var r=t.exec(e);if(r){var n=r[0];return h(n),e=e.slice(n.length),r}}function v(){b(n)}function x(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;c!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,c===e.charAt(r-1))return y("End of comment missing");var n=e.slice(2,r-2);return p+=2,h(n),e=e.slice(r),p+=2,t({type:"comment",comment:n})}}function C(){var e=f(),r=b(o);if(r){if(w(),!b(i))return y("property missing ':'");var n=b(a),l=e({type:"declaration",property:u(r[0].replace(t,c)),value:n?u(n[0].replace(t,c)):c});return b(s),l}}return v(),function(){var e,t=[];for(x(t);e=C();)!1!==e&&(t.push(e),x(t));return t}()}},9918:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),o=r(8587),i=r(6032),a=r(4229);const s=["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:a.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,s),{systemProps:a,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,i.Q)(r)?(0,n.A)({},a,r):a}:(0,n.A)({},a,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].call(i.exports,i,i.exports,n),i.exports}n.m=t,e=[],n.O=(t,r,o,i)=>{if(!r){var a=1/0;for(u=0;u<e.length;u++){for(var[r,o,i]=e[u],s=!0,l=0;l<r.length;l++)(!1&i||a>=i)&&Object.keys(n.O).every(e=>n.O[e](r[l]))?r.splice(l--,1):(s=!1,i<a&&(a=i));if(s){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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={207:0,15:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,[a,s,l]=r,c=0;if(a.some(t=>0!==e[t])){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(l)var u=l(n)}for(t&&t(r);c<a.length;c++)i=a[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))})(),n.nc=void 0;var o=n.O(void 0,[15],()=>n(697));o=n.O(o)})();