@pie-element/inline-dropdown 11.0.6-next.20261018193205 → 11.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Close-SnugsRR-.js → Close-C9TW5P5n.js} +543 -543
- package/dist/browser/Close-C9TW5P5n.js.map +1 -0
- package/dist/browser/author/index.js +2 -2
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{Close-CposMqeo.js → Close-CxbANkRj.js} +543 -543
- package/dist/browser/editor-runtime/Close-CxbANkRj.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BymmkoDr.js → mathjax-DqXi3q4c-iuQQkXxN.js} +3 -3
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BymmkoDr.js.map → mathjax-DqXi3q4c-iuQQkXxN.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-ncPHVakS.js → mathjax-DqXi3q4c-BZrO4NBZ.js} +3 -3
- package/dist/browser/{mathjax-CptWnMbQ-ncPHVakS.js.map → mathjax-DqXi3q4c-BZrO4NBZ.js.map} +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +15 -15
- package/dist/browser/Close-SnugsRR-.js.map +0 -1
- package/dist/browser/editor-runtime/Close-CposMqeo.js.map +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -40,7 +40,7 @@ Error generating stack: `+e.message+`
|
|
|
40
40
|
color: ${ot} !important;
|
|
41
41
|
background-color: ${ut} !important;
|
|
42
42
|
}
|
|
43
|
-
`;function ft(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=at,t.textContent=dt,e.head.appendChild(t)}var pt=/[-]/g,mt={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},ht={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},gt={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},_t={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},vt={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...ht,...gt,..._t},yt=new Set([`|`,`‖`]),bt=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),xt={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},St={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Ct=e=>(e.textContent??``).replace(pt,``).replace(/\s+/g,` `).trim(),wt=e=>e.replace(/\s+/g,` `).trim(),Tt=e=>[...e.children];function Et(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?Et(e.children[0]):!1}function Dt(e){let t=e?Ct(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Ot(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function kt(e){return xt[e]??e}function At(e){return vt[e]??e}function jt(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(Bt(r)),n=!0;continue}let e=Ct(r);e&&(!n&&mt[e]?t.push(mt[e]):e in _t?t.push(_t[e]):(t.push(At(e)),n=e in gt||yt.has(e)&&n))}return t.filter(Boolean).join(` `)}function Mt(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(Ct(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&Ct(t)===Ct(r)&&!a.some(i)){let e=wt(jt(a));return Ct(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return jt(e)}function Nt(e,t){let n=e?Bt(e):``,r=t?Bt(t):``;return Et(e)&&Et(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function Pt(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function Ft(e,t){let n=t?Ct(t):``;if(t&&Et(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in _t)return`${e} ${_t[n]}`}let r=t?Bt(t):``;return Et(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function It(e,t){let n=t?Bt(t):``;return Et(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function Lt(e,t,n){let r=Ct(e);if(r===`lim`)return`limit as ${t?Bt(t):``} of`;if(!bt.has(r))return;let i=t?`from ${Bt(t)}`:``,a=n?`to ${Bt(n)}`:``;return`${At(r)} ${i} ${a} of`}function Rt(e){let t=Tt(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>Tt(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>wt(jt(Tt(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function zt(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=Tt(e).map((e,t,n)=>t<n.length-1?`${Bt(e)} ${At(r[Math.min(t,r.length-1)]??`,`)}`:Bt(e));return[At(t),...i,At(n)].filter(Boolean).join(` `)}function Bt(e){let t=Tt(e);switch(e.localName){case`mi`:return kt(Ct(e));case`mn`:case`mtext`:case`ms`:return Ct(e);case`mo`:return At(Ct(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?Bt(t[0]):``;case`mfrac`:return Nt(t[0],t[1]);case`msqrt`:return Pt(wt(jt(t)),`square root`,t.length===1&&Et(t[0]));case`mroot`:{let e=Dt(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Ot(e)} root`:`root with index ${t[1]?Bt(t[1]):``}`;return Pt(t[0]?Bt(t[0]):``,n,Et(t[0]))}case`msup`:return Ft(t[0]?Bt(t[0]):``,t[1]);case`msub`:return It(t[0]?Bt(t[0]):``,t[1]);case`msubsup`:return(t[0]?Lt(t[0],t[1],t[2]):void 0)||Ft(It(t[0]?Bt(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?Lt(n,a,o):void 0;if(s)return s;let c=n?Bt(n):``,l=e.localName===`mover`&&r?St[Ct(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${Bt(a)} below`:``,o?`with ${Bt(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return zt(e);case`mtable`:return Rt(e);case`mrow`:case`math`:return Mt(t);default:return t.length?jt(t):Ct(e)}}function Vt(e){return wt(Bt(e))}var Ht=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Ut(e){if(e.hasAttribute(`aria-label`)||!e.closest(Ht))return;let t=e.querySelector(`math`),n=t?Vt(t):``;n&&e.setAttribute(`aria-label`,n)}function Wt(e){for(let t of e.querySelectorAll(`mjx-container`))Ut(t)}var Gt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Kt(){let e=globalThis;e[Gt]||(e[Gt]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${b}`))}function F(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Kt()}function qt(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>F(e),{once:!0}),a})}`${C}`;var Jt={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1],perpendicular:`\\perp`,divide:`\\div`},Yt=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,Xt=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Zt=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Qt=/\\embed\{newLine\}\[\]/g,$t=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],en=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),tn=`MJX-CHTML-styles`,nn=`PIE-MJX-SVG-styles`,rn=`PIE-MathJax-Menu-Settings`,an={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},on=200,sn=201,cn=202;function ln(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function un(e){for(let[t,n]of $t)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function dn(e){return un(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var fn=`mathjax_ignore`,pn=`mathjax_process`;function mn(e,t){let n=e.closest(`.${fn}, .${pn}`);return n!==null&&t.contains(n)&&!n.classList.contains(pn)}function hn(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||mn(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${dn(n)}\\)`.replace(Qt,`\\newline `),t.dataset.mathHandled=`true`)}}function gn(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function _n(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Zt:Xt).test(e.textContent??``)}function vn(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=O(e,{}.url),c=D(),l={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=ue();return yn(t)&&bn(t),e}}},startup:{typeset:!1,ready:()=>{let e=ue(),r=e?.startup,i=yn(e);i&&(bn(e),xn(e,s.speechLocales),k(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Sn(r?.document),Cn(r?.document),r?.document?.addStyles?.(an),qt(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...Jt}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:c}},a11y:{inTabOrder:c}}};r&&l.tex&&(console.warn(Yt),l.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],l.tex.processEscapes=!0),a||(l.chtml={fontURL:``});let u=re(s.speechLocales);u&&l.options&&(l.options.sre={locale:u}),fe(l,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function yn(e){return!!e?.version?.startsWith(`4.`)}function bn(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=me);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=nn)}function xn(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=rn;try{let e=localStorage.getItem(rn);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(rn,JSON.stringify(i)):localStorage.removeItem(rn)}catch{}}}function Sn(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(ln(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,sn,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&ln(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===tn&&(r.id=me),En()}function Cn(e){let t=e=>{e.typesetRoot&&Ut(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,cn,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function wn(e){return e instanceof HTMLStyleElement&&he.includes(e.id)}function Tn(e){ce(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function En(){let e=document.head,t=[...e.children].find(wn);if(t){Tn(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(wn);if(e){Tn(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Dn(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=on&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function On(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=ue()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function kn(e){let t=ue();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():On(t):vn(e)}function An(e){return kn(e).then(()=>{let e=ue();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function jn(e){let t=pe,n=t[en];return n||(n=An(e),t[en]=n),n}function Mn(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=ge();r&&ce(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),hn(n),ve(n),gn(n),it(n);let i=jn(e);if(!_n(n,t)){i.catch(()=>{});return}await i;let a=ue();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){ft(),Dn(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}ln(n),Wt(n)}}}var Nn=`@pie-lib/math-rendering`,Pn=`@pie-lib/math-rendering@2`,Fn=`pie-print`,In=50,Ln=1e4,Rn=null;function zn(){return!!window[Pn]?.opts?.useSingleDollar}function Bn(){return Rn||=Mn({useSingleDollar:zn()}),Rn}function Vn(){if(typeof window>`u`)return null;let e=window[Nn];return typeof e?.renderMath==`function`&&e.renderMath!==Gn?e:null}function Hn(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===Fn)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Un(){let e=window.renderMath;return typeof e==`function`?e:null}async function Wn(e){let t=Hn(e);if(!t)return null;let n=Un();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Ln;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,In));let e=Un();if(e)return e}return null}var Gn=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=Vn(),i=r||t?null:await Wn(n);return r?(await r.renderMath?.(n),Wt(n)):i&&i!==Gn?(await i(n),Wt(n)):await Bn()(n),t?n.innerHTML:void 0},Kn=function(){return null};Kn.isRequired=Kn;var qn=()=>Kn,I={array:Kn,bigint:Kn,bool:Kn,func:Kn,number:Kn,object:Kn,string:Kn,symbol:Kn,any:Kn,element:Kn,elementType:Kn,node:Kn,arrayOf:qn,instanceOf:qn,objectOf:qn,oneOf:qn,oneOfType:qn,shape:qn,exact:qn,checkPropTypes:()=>{},resetWarningCache:()=>{}};I.PropTypes=I;var Jn=500,Yn=9007199254740991,Xn=`[object Arguments]`,Zn=`[object AsyncFunction]`,Qn=`[object Function]`,$n=`[object GeneratorFunction]`,er=`[object Map]`,tr=`[object Proxy]`,nr=`[object Set]`,rr=`[object Symbol]`,ir=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`));[...ir];var ar=/\\(\\)?/g,or=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sr=/^\w*$/,cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lr=Object.prototype,ur=lr.hasOwnProperty,dr=lr.toString;lr.propertyIsEnumerable,Function.prototype.toString.call(Object);var fr=Symbol.prototype.toString;Symbol.prototype.valueOf;function pr(e){return typeof e==`object`&&!!e}function mr(e){let t=ur.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=dr.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function hr(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?mr(e):dr.call(e)}function gr(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=Yn}function _r(e){return e!=null&&gr(e.length)&&!Fr(e)}function vr(e){return pr(e)&&hr(e)==Xn}function yr(e){return pr(e)&&gr(e.length)&&ir.has(hr(e))}function br(e){return typeof e==`symbol`||pr(e)&&hr(e)==rr}function xr(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||lr)}function Sr(e){if(typeof e==`string`)return e;if(Array.isArray(e))return Tr(e,Sr)+``;if(br(e))return fr.call(e);let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Cr(e){return e==null?``:Sr(e)}function wr(e){if(typeof e==`string`||br(e))return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Tr(e,t){let n=-1,r=e==null?0:e.length,i=Array(r);for(;++n<r;)i[n]=t(e[n],n,e);return i}function Er(e){if(!xr(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))ur.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Dr(e){let t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(cr,(e,n,r,i)=>(t.push(r?i.replace(ar,`$1`):n||e),e)),t}var Or=new Map;function kr(e){Or.size===Jn&&Or.clear();let t=Or.get(e);return t===void 0&&(t=Dr(e),Or.set(e,t)),t}function Ar(e,t){if(Array.isArray(e))return!1;let n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||br(e)?!0:sr.test(e)||!or.test(e)||t!=null&&e in Object(t)}function jr(e,t){return Array.isArray(e)?e:Ar(e,t)?[e]:kr(Cr(e))}function Mr(e,t){let n=jr(t,e),r=0,{length:i}=n,a=e;for(;a!=null&&r<i;)a=a[wr(n[r++])];return r&&r==i?a:void 0}function Nr(e,t,n){let r=e==null?void 0:Mr(e,t);return r===void 0?n:r}function Pr(e){if(e==null)return!0;if(_r(e)&&(Array.isArray(e)||typeof e==`string`||typeof e.splice==`function`||yr(e)||vr(e)))return!e.length;let t=hr(e);if(t==er||t==nr)return!e.size;if(xr(e))return!Er(e).length;for(let t in e)if(ur.call(e,t))return!1;return!0}function Fr(e){if(!Ir(e))return!1;let t=hr(e);return t==Qn||t==$n||t==Zn||t==tr}function Ir(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}function Lr(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Rr=`$$material`;function zr(){return zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zr.apply(null,arguments)}function Br(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]}function Vr(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Hr=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||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(Vr(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Br(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ur=`-ms-`,Wr=`-moz-`,L=`-webkit-`,Gr=`comm`,Kr=`rule`,qr=`decl`,Jr=`@import`,Yr=`@keyframes`,Xr=`@layer`,Zr=Math.abs,Qr=String.fromCharCode,$r=Object.assign;function ei(e,t){return ii(e,0)^45?(((t<<2^ii(e,0))<<2^ii(e,1))<<2^ii(e,2))<<2^ii(e,3):0}function ti(e){return e.trim()}function ni(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,n){return e.replace(t,n)}function ri(e,t){return e.indexOf(t)}function ii(e,t){return e.charCodeAt(t)|0}function ai(e,t,n){return e.slice(t,n)}function oi(e){return e.length}function si(e){return e.length}function ci(e,t){return t.push(e),e}function li(e,t){return e.map(t).join(``)}var z=1,ui=1,di=0,fi=0,pi=0,mi=``;function hi(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:z,column:ui,length:o,return:``}}function gi(e,t){return $r(hi(``,null,null,``,null,null,0),e,{length:-e.length},t)}function _i(){return pi}function vi(){return pi=fi>0?ii(mi,--fi):0,ui--,pi===10&&(ui=1,z--),pi}function yi(){return pi=fi<di?ii(mi,fi++):0,ui++,pi===10&&(ui=1,z++),pi}function bi(){return ii(mi,fi)}function xi(){return fi}function Si(e,t){return ai(mi,e,t)}function Ci(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 wi(e){return z=ui=1,di=oi(mi=e),fi=0,[]}function Ti(e){return mi=``,e}function Ei(e){return ti(Si(fi-1,ki(e===91?e+2:e===40?e+1:e)))}function Di(e){for(;(pi=bi())&&pi<33;)yi();return Ci(e)>2||Ci(pi)>3?``:` `}function Oi(e,t){for(;--t&&yi()&&!(pi<48||pi>102||pi>57&&pi<65||pi>70&&pi<97););return Si(e,xi()+(t<6&&bi()==32&&yi()==32))}function ki(e){for(;yi();)switch(pi){case e:return fi;case 34:case 39:e!==34&&e!==39&&ki(pi);break;case 40:e===41&&ki(e);break;case 92:yi();break}return fi}function Ai(e,t){for(;yi()&&e+pi!==57&&!(e+pi===84&&bi()===47););return`/*`+Si(t,fi-1)+`*`+Qr(e===47?e:yi())}function ji(e){for(;!Ci(bi());)yi();return Si(e,fi)}function Mi(e){return Ti(Ni(``,null,null,null,[``],e=wi(e),0,[0],e))}function Ni(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=yi()){case 40:if(m!=108&&ii(C,d-1)==58){ri(C+=R(Ei(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Ei(v);break;case 9:case 10:case 13:case 32:C+=Di(m);break;case 92:C+=Oi(xi()-1,7);continue;case 47:switch(bi()){case 42:case 47:ci(Fi(Ai(yi(),xi()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=oi(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=R(C,/\f/g,``)),p>0&&oi(C)-d&&ci(p>32?Ii(C+`;`,r,n,d-1):Ii(R(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(ci(S=Pi(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Ni(C,t,S,S,b,a,d,s,x);else switch(f===99&&ii(C,3)===110?100:f){case 100:case 108:case 109:case 115:Ni(e,S,S,r&&ci(Pi(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Ni(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+oi(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&vi()==125)continue}switch(C+=Qr(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(oi(C)-1)*_,_=1;break;case 64:bi()===45&&(C+=Ei(yi())),f=bi(),u=d=oi(y=C+=ji(xi())),v++;break;case 45:m===45&&oi(C)==2&&(h=0)}}return a}function Pi(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=si(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=ai(e,d+1,d=Zr(h=o[m])),y=e;_<p;++_)(y=ti(h>0?f[_]+` `+v:R(v,/&\f/g,f[_])))&&(c[g++]=y);return hi(e,t,n,i===0?Kr:s,c,l,u)}function Fi(e,t,n){return hi(e,t,n,Gr,Qr(_i()),ai(e,2,-2),0)}function Ii(e,t,n,r){return hi(e,t,n,qr,ai(e,0,r),ai(e,r+1,-1),r)}function Li(e,t){for(var n=``,r=si(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Ri(e,t,n,r){switch(e.type){case Xr:if(e.children.length)break;case Jr:case qr:return e.return=e.return||e.value;case Gr:return``;case Yr:return e.return=e.value+`{`+Li(e.children,r)+`}`;case Kr:e.value=e.props.join(`,`)}return oi(n=Li(e.children,r))?e.return=e.value+`{`+n+`}`:``}function zi(e){var t=si(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Bi(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vi(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Hi=function(e,t,n){for(var r=0,i=0;r=i,i=bi(),r===38&&i===12&&(t[n]=1),!Ci(i);)yi();return Si(e,fi)},Ui=function(e,t){var n=-1,r=44;do switch(Ci(r)){case 0:r===38&&bi()===12&&(t[n]=1),e[n]+=Hi(fi-1,t,n);break;case 2:e[n]+=Ei(r);break;case 4:if(r===44){e[++n]=bi()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Qr(r)}while(r=yi());return e},Wi=function(e,t){return Ti(Ui(wi(e),t))},Gi=new WeakMap,Ki=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Gi.get(n))&&!r){Gi.set(e,!0);for(var i=[],a=Wi(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},qi=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ji(e,t){switch(ei(e,t)){case 5103:return L+`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 L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+Wr+e+Ur+e+e;case 6828:case 4268:return L+e+Ur+e+e;case 6165:return L+e+Ur+`flex-`+e+e;case 5187:return L+e+R(e,/(\w+).+(:[^]+)/,L+`box-$1$2`+Ur+`flex-$1$2`)+e;case 5443:return L+e+Ur+`flex-item-`+R(e,/flex-|-self/,``)+e;case 4675:return L+e+Ur+`flex-line-pack`+R(e,/align-content|flex-|-self/,``)+e;case 5548:return L+e+Ur+R(e,`shrink`,`negative`)+e;case 5292:return L+e+Ur+R(e,`basis`,`preferred-size`)+e;case 6060:return L+`box-`+R(e,`-grow`,``)+L+e+Ur+R(e,`grow`,`positive`)+e;case 4554:return L+R(e,/([^-])(transform)/g,`$1`+L+`$2`)+e;case 6187:return R(R(R(e,/(zoom-|grab)/,L+`$1`),/(image-set)/,L+`$1`),e,``)+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,L+`box-pack:$3`+Ur+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+L+e+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,L+`$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(oi(e)-1-t>6)switch(ii(e,t+1)){case 109:if(ii(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,`$1`+L+`$2-$3$1`+Wr+(ii(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~ri(e,`stretch`)?Ji(R(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(ii(e,t+1)!==115)break;case 6444:switch(ii(e,oi(e)-3-(~ri(e,`!important`)&&10))){case 107:return R(e,`:`,`:`+L)+e;case 101:return R(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+L+(ii(e,14)===45?`inline-`:``)+`box$3$1`+L+`$2$3$1`+Ur+`$2box$3`)+e}break;case 5936:switch(ii(e,t+11)){case 114:return L+e+Ur+R(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return L+e+Ur+R(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return L+e+Ur+R(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return L+e+Ur+e+e}return e}var Yi=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case qr:e.return=Ji(e.value,e.length);break;case Yr:return Li([gi(e,{value:R(e.value,`@`,`@`+L)})],r);case Kr:if(e.length)return li(e.props,function(t){switch(ni(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Li([gi(e,{props:[R(t,/:(read-\w+)/,`:`+Wr+`$1`)]})],r);case`::placeholder`:return Li([gi(e,{props:[R(t,/:(plac\w+)/,`:`+L+`input-$1`)]}),gi(e,{props:[R(t,/:(plac\w+)/,`:`+Wr+`$1`)]}),gi(e,{props:[R(t,/:(plac\w+)/,Ur+`input-$1`)]})],r)}return``})}}],Xi=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Yi,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Ki,qi],l,u=[Ri,Bi(function(e){l.insert(e)})],d=zi(c.concat(r,u)),f=function(e){return Li(Mi(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Hr({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Zi=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Qi=o(((e,t)=>{t.exports=Zi()})),$i=o(((e,t)=>{var n=Qi(),r={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,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function ea(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var ta=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},na=function(e,t,n){ta(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function ra(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ia={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},aa=/[A-Z]|^ms/g,oa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sa=function(e){return e.charCodeAt(1)===45},ca=function(e){return e!=null&&typeof e!=`boolean`},la=Vi(function(e){return sa(e)?e:e.replace(aa,`-$&`).toLowerCase()}),ua=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(oa,function(e,t,n){return ma={name:t,styles:n,next:ma},t})}return ia[e]!==1&&!sa(e)&&typeof t==`number`&&t!==0?t+`px`:t};function da(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return ma={name:i.name,styles:i.styles,next:ma},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)ma={name:o.name,styles:o.styles,next:ma},o=o.next;return a.styles+`;`}return fa(e,t,n);case`function`:if(e!==void 0){var s=ma,c=n(e);return ma=s,da(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function fa(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=da(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:ca(s)&&(r+=la(a)+`:`+ua(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)ca(o[c])&&(r+=la(a)+`:`+ua(a,o[c])+`;`);else{var l=da(e,t,o);switch(a){case`animation`:case`animationName`:r+=la(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var pa=/label:\s*([^\s;{]+)\s*(;|$)/g,ma;function ha(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;ma=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=da(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=da(n,t,e[o]),r&&(i+=a[o]);pa.lastIndex=0;for(var s=``,c;(c=pa.exec(i))!==null;)s+=`-`+c[1];return{name:ra(i)+s,styles:i,next:ma}}var B=l(d()),ga=function(e){return e()},_a=B.useInsertionEffect?B.useInsertionEffect:!1,va=_a||ga,ya=_a||B.useLayoutEffect,ba=B.createContext(typeof HTMLElement<`u`?Xi({key:`css`}):null),xa=ba.Provider,Sa=function(e){return(0,B.forwardRef)(function(t,n){return e(t,(0,B.useContext)(ba),n)})},Ca=B.createContext({}),wa={}.hasOwnProperty,Ta=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Ea=function(e,t){var n={};for(var r in t)wa.call(t,r)&&(n[r]=t[r]);return n[Ta]=e,n},Da=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ta(t,n,r),va(function(){return na(t,n,r)}),null},Oa=Sa(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Ta],a=[r],o=``;typeof e.className==`string`?o=ea(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=ha(a,void 0,B.useContext(Ca));o+=t.key+`-`+s.name;var c={};for(var l in e)wa.call(e,l)&&l!==`css`&&l!==Ta&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),B.createElement(B.Fragment,null,B.createElement(Da,{cache:t,serialized:s,isStringTag:typeof i==`string`}),B.createElement(i,c))});$i();var ka=function(e,t){var n=arguments;if(t==null||!wa.call(t,`css`))return B.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Oa,i[1]=Ea(e,t);for(var a=2;a<r;a++)i[a]=n[a];return B.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(ka||={});var Aa=Sa(function(e,t){var n=e.styles,r=ha([n],void 0,B.useContext(Ca)),i=B.useRef();return ya(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),ya(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&na(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function ja(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ha(t)}function Ma(){var e=ja.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_`}}}var Na=/^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,Pa=Vi(function(e){return Na.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Fa=function(e){return e!==`theme`},Ia=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Pa:Fa},La=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Ra=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ta(t,n,r),va(function(){return na(t,n,r)}),null},za=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=La(t,n,r),c=s||Ia(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=Sa(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=B.useContext(Ca)}typeof e.className==`string`?a=ea(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=ha(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?Ia(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),B.createElement(B.Fragment,null,B.createElement(Ra,{cache:t,serialized:m,isStringTag:typeof r==`string`}),B.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,zr({},n,r,{shouldForwardProp:La(h,r,!0)})).apply(void 0,d)},h}},Ba=`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`.split(`.`),Va=za.bind(null);Ba.forEach(function(e){Va[e]=Va(e)});var Ha=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),V=o(((e,t)=>{t.exports=Ha()}))(),Ua=new Map,Wa={insert:void 0},Ga=(e,t)=>{let n=Xi(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ka;if(typeof document==`object`&&(Ka=document.querySelector(`[name="emotion-insertion-point"]`),!Ka)){Ka=document.createElement(`meta`),Ka.setAttribute(`name`,`emotion-insertion-point`),Ka.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ka)}function qa(e,t){if(e||t){class n extends Hr{insert(e,t){return Wa.insert?Wa.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ka),super.insert(e,t))}}let r=Ga({key:`css`,insertionPoint:e?Ka:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Ja(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=B.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ua.has(e))return Ua.get(e);let r=qa(t,n);return Ua.set(e,r),r},[t,n]);return i?(0,V.jsx)(xa,{value:i,children:r}):r}function Ya(e){return e==null||Object.keys(e).length===0}function Xa(e){let{styles:t,defaultTheme:n={}}=e;return(0,V.jsx)(Aa,{styles:typeof t==`function`?e=>t(Ya(e)?n:e):t})}function Za(e,t){return Va(e,t)}function Qa(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var $a=[];function eo(e){return $a[0]=e,ha($a)}var to=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),no=o(((e,t)=>{t.exports=to()}))();function ro(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function io(e){if(B.isValidElement(e)||(0,no.isValidElementType)(e)||!ro(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=io(e[n])}),t}function ao(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return ro(e)&&ro(t)&&Object.keys(t).forEach(i=>{B.isValidElement(t[i])||(0,no.isValidElementType)(t[i])?r[i]=t[i]:ro(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&ro(e[i])?r[i]=ao(e[i],t[i],n):n.clone?r[i]=ro(t[i])?io(t[i]):t[i]:r[i]=t[i]}),r}var oo=e=>{let 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}),{})};function so(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=oo(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function co(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function lo(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function uo(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function fo(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var po={borderRadius:4};function mo(e,t){return t?ao(e,t,{clone:!1}):e}var ho={xs:0,sm:600,md:900,lg:1200,xl:1536},go={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${ho[e]}px)`},_o={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ho[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function vo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||go;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||go;return Object.keys(t).reduce((i,a)=>{if(lo(e.keys,a)){let e=uo(r.containerQueries?r:_o,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||ho).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function yo(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function bo(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function xo(e){if(typeof e!=`string`)throw Error(Lr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function So(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function Co(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:So(e,n)||r,t&&(i=t(i,r,e)),i}function wo(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=So(o,r)||{};return vo(e,a,e=>{let r=Co(s,i,e);return e===r&&typeof e==`string`&&(r=Co(s,i,`${t}${e==="default"?``:xo(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function To(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Eo={m:`margin`,p:`padding`},Do={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Oo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},ko=To(e=>{if(e.length>2)if(Oo[e])e=Oo[e];else return[e];let[t,n]=e.split(``),r=Eo[t],i=Do[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Ao=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],jo=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Mo=[...Ao,...jo];function No(e,t,n,r){let i=So(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Po(e){return No(e,`spacing`,8,`spacing`)}function Fo(e,t){return typeof t==`string`||t==null?t:e(t)}function Io(e,t){return n=>e.reduce((e,r)=>(e[r]=Fo(t,n),e),{})}function Lo(e,t,n,r){if(!t.includes(n))return null;let i=Io(ko(n),r),a=e[n];return vo(e,a,i)}function Ro(e,t){let n=Po(e.theme);return Object.keys(e).map(r=>Lo(e,t,r,n)).reduce(mo,{})}function zo(e){return Ro(e,Ao)}zo.propTypes={},zo.filterProps=Ao;function Bo(e){return Ro(e,jo)}Bo.propTypes={},Bo.filterProps=jo;function Vo(e){return Ro(e,Mo)}Vo.propTypes={},Vo.filterProps=Mo;function Ho(e=8,t=Po({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Uo(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?mo(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Wo(e){return typeof e==`number`?`${e}px solid`:e}function Go(e,t){return wo({prop:e,themeKey:`borders`,transform:t})}var Ko=Go(`border`,Wo),qo=Go(`borderTop`,Wo),Jo=Go(`borderRight`,Wo),Yo=Go(`borderBottom`,Wo),Xo=Go(`borderLeft`,Wo),Zo=Go(`borderColor`),Qo=Go(`borderTopColor`),$o=Go(`borderRightColor`),es=Go(`borderBottomColor`),ts=Go(`borderLeftColor`),ns=Go(`outline`,Wo),rs=Go(`outlineColor`),is=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=No(e.theme,`shape.borderRadius`,4,`borderRadius`);return vo(e,e.borderRadius,e=>({borderRadius:Fo(t,e)}))}return null};is.propTypes={},is.filterProps=[`borderRadius`],Uo(Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,is,ns,rs);var as=e=>{if(e.gap!==void 0&&e.gap!==null){let t=No(e.theme,`spacing`,8,`gap`);return vo(e,e.gap,e=>({gap:Fo(t,e)}))}return null};as.propTypes={},as.filterProps=[`gap`];var os=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=No(e.theme,`spacing`,8,`columnGap`);return vo(e,e.columnGap,e=>({columnGap:Fo(t,e)}))}return null};os.propTypes={},os.filterProps=[`columnGap`];var ss=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=No(e.theme,`spacing`,8,`rowGap`);return vo(e,e.rowGap,e=>({rowGap:Fo(t,e)}))}return null};ss.propTypes={},ss.filterProps=[`rowGap`],Uo(as,os,ss,wo({prop:`gridColumn`}),wo({prop:`gridRow`}),wo({prop:`gridAutoFlow`}),wo({prop:`gridAutoColumns`}),wo({prop:`gridAutoRows`}),wo({prop:`gridTemplateColumns`}),wo({prop:`gridTemplateRows`}),wo({prop:`gridTemplateAreas`}),wo({prop:`gridArea`}));function cs(e,t){return t===`grey`?t:e}Uo(wo({prop:`color`,themeKey:`palette`,transform:cs}),wo({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:cs}),wo({prop:`backgroundColor`,themeKey:`palette`,transform:cs}));function ls(e){return e<=1&&e!==0?`${e*100}%`:e}var us=wo({prop:`width`,transform:ls}),ds=e=>e.maxWidth!==void 0&&e.maxWidth!==null?vo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||ho[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:ls(t)}}):null;ds.filterProps=[`maxWidth`];var fs=wo({prop:`minWidth`,transform:ls}),ps=wo({prop:`height`,transform:ls}),ms=wo({prop:`maxHeight`,transform:ls}),hs=wo({prop:`minHeight`,transform:ls});wo({prop:`size`,cssProperty:`width`,transform:ls}),wo({prop:`size`,cssProperty:`height`,transform:ls}),Uo(us,ds,fs,ps,ms,hs,wo({prop:`boxSizing`}));var gs={border:{themeKey:`borders`,transform:Wo},borderTop:{themeKey:`borders`,transform:Wo},borderRight:{themeKey:`borders`,transform:Wo},borderBottom:{themeKey:`borders`,transform:Wo},borderLeft:{themeKey:`borders`,transform:Wo},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Wo},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:is},color:{themeKey:`palette`,transform:cs},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:cs},backgroundColor:{themeKey:`palette`,transform:cs},p:{style:Bo},pt:{style:Bo},pr:{style:Bo},pb:{style:Bo},pl:{style:Bo},px:{style:Bo},py:{style:Bo},padding:{style:Bo},paddingTop:{style:Bo},paddingRight:{style:Bo},paddingBottom:{style:Bo},paddingLeft:{style:Bo},paddingX:{style:Bo},paddingY:{style:Bo},paddingInline:{style:Bo},paddingInlineStart:{style:Bo},paddingInlineEnd:{style:Bo},paddingBlock:{style:Bo},paddingBlockStart:{style:Bo},paddingBlockEnd:{style:Bo},m:{style:zo},mt:{style:zo},mr:{style:zo},mb:{style:zo},ml:{style:zo},mx:{style:zo},my:{style:zo},margin:{style:zo},marginTop:{style:zo},marginRight:{style:zo},marginBottom:{style:zo},marginLeft:{style:zo},marginX:{style:zo},marginY:{style:zo},marginInline:{style:zo},marginInlineStart:{style:zo},marginInlineEnd:{style:zo},marginBlock:{style:zo},marginBlockStart:{style:zo},marginBlockEnd:{style:zo},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:as},rowGap:{style:ss},columnGap:{style:os},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:ls},maxWidth:{style:ds},minWidth:{transform:ls},height:{transform:ls},maxHeight:{transform:ls},minHeight:{transform:ls},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`}};function _s(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function vs(e,t){return typeof e==`function`?e(t):e}function ys(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=So(n,s)||{};return l?l(i):vo(i,t,t=>{let n=Co(u,c,t);return t===n&&typeof t==`string`&&(n=Co(u,c,`${e}${t==="default"?``:xo(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??gs;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=yo(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=vs(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=mo(l,e(n,a,i,o));else{let e=vo({theme:i},a,e=>({[n]:e}));_s(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=mo(l,e)}else l=mo(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":co(i,bo(c,l))}:co(i,bo(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var bs=ys();bs.filterProps=[`sx`];function xs(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Ss(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=so(n),c=Ho(i),l=ao({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...po,...a}},o);return l=fo(l),l.applyStyles=xs,l=t.reduce((e,t)=>ao(e,t),l),l.unstable_sxConfig={...gs,...o?.unstable_sxConfig},l.unstable_sx=function(e){return bs({sx:e,theme:this})},l}function Cs(e){return Object.keys(e).length===0}function ws(e=null){let t=B.useContext(Ca);return!t||Cs(t)?e:t}var Ts=Ss();function Es(e=Ts){return ws(e)}function Ds(e){let t=eo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Os({styles:e,themeId:t,defaultTheme:n={}}){let r=Es(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Ds(typeof e==`function`?e(i):e)):Ds(a)),(0,V.jsx)(Xa,{styles:a})}var ks=e=>e,As=(()=>{let e=ks;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ks}}})();function js(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=js(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function H(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=js(e))&&(r&&(r+=` `),r+=t);return r}var Ms={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 Ns(e,t,n=`Mui`){let r=Ms[t];return r?`${n}-${r}`:`${As.generate(e)}-${t}`}function Ps(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Ns(e,t,n)}),r}function Fs(e){let{variants:t,...n}=e,r={variants:t,style:eo(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=eo(e.style))}),r}var Is=Ss();function Ls(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Rs(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function zs(e){return e?(t,n)=>n[e]:null}function Bs(e,t,n){e.theme=Ws(e.theme)?n:e.theme[t]||e.theme}function Vs(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Vs(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Rs(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Rs(eo(i),n):i}return Hs(e,r.variants,[t],n)}return r?.isProcessed?n?Rs(eo(r.style),n):r.style:n?Rs(eo(r),n):r}function Hs(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Rs(eo(o.style(i)),r):o.style(i))):n.push(r?Rs(eo(o.style),r):o.style)}return n}function Us(e={}){let{themeId:t,defaultTheme:n=Is,rootShouldForwardProp:r=Ls,slotShouldForwardProp:i=Ls}=e;function a(e){Bs(e,t,n)}return(e,t={})=>{Qa(e,e=>e.filter(e=>e!==bs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=zs(Ks(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Ls;o===`Root`||o===`root`?m=r:o?m=i:Gs(e)&&(m=void 0);let h=Za(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Vs(t,e,t.theme.modularCssLayers?d:void 0)};if(ro(e)){let t=Fs(e);return function(e){return t.variants?Vs(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Rs(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Vs(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?Hs(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(bs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Ws(e){for(let t in e)return!1;return!0}function Gs(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Ks(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function qs(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=qs(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=H(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Js=typeof window<`u`?B.useLayoutEffect:B.useEffect;function Ys(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Xs(e,t=0,n=1){return Ys(e,t,n)}function Zs(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Qs(e){if(e.type)return e;if(e.charAt(0)===`#`)return Qs(Zs(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(Lr(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(Lr(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var $s=e=>{let t=Qs(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ec=(e,t)=>{try{return $s(e)}catch{return e}};function tc(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function nc(e){e=Qs(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),tc({type:s,values:c})}function rc(e){e=Qs(e);let t=e.type===`hsl`||e.type===`hsla`?Qs(nc(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(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 ic(e,t){let n=rc(e),r=rc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ac(e,t){return e=Qs(e),t=Xs(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,tc(e)}function oc(e,t,n){try{return ac(e,t)}catch{return e}}function sc(e,t){if(e=Qs(e),t=Xs(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return tc(e)}function U(e,t,n){try{return sc(e,t)}catch{return e}}function cc(e,t){if(e=Qs(e),t=Xs(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return tc(e)}function W(e,t,n){try{return cc(e,t)}catch{return e}}function lc(e,t=.15){return rc(e)>.5?sc(e,t):cc(e,t)}function uc(e,t,n){try{return lc(e,t)}catch{return e}}var dc=B.createContext(null);function fc(){return B.useContext(dc)}var pc=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function mc(e,t){return typeof t==`function`?t(e):{...e,...t}}function hc(e){let{children:t,theme:n}=e,r=fc(),i=B.useMemo(()=>{let e=r===null?{...n}:mc(r,n);return e!=null&&(e[pc]=r!==null),e},[n,r]);return(0,V.jsx)(dc.Provider,{value:i,children:t})}var gc=B.createContext();function _c({value:e,...t}){return(0,V.jsx)(gc.Provider,{value:e??!0,...t})}var vc=()=>B.useContext(gc)??!1,G=B.createContext(void 0);function yc({value:e,children:t}){return(0,V.jsx)(G.Provider,{value:e,children:t})}function bc(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?qs(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?qs(i,r,t.components.mergeClassNameAndStyle):r}function xc({props:e,name:t}){return bc({props:e,name:t,theme:{components:B.useContext(G)}})}var Sc=0;function Cc(e){let[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t??(Sc+=1,n(`mui-${Sc}`))},[t]),r}var wc={...B}.useId;function Tc(e){if(wc!==void 0){let t=wc();return e??t}return Cc(e)}function Ec(e){let t=ws(),n=Tc()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Js(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,V.jsx)(Os,{styles:i}):null}var Dc={};function Oc(e,t,n,r=!1){return B.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function kc(e){let{children:t,theme:n,themeId:r}=e,i=ws(Dc),a=fc()||Dc,o=Oc(r,i,n),s=Oc(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Ec(o);return(0,V.jsx)(hc,{theme:s,children:(0,V.jsx)(Ca.Provider,{value:o,children:(0,V.jsx)(_c,{value:c,children:(0,V.jsxs)(yc,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Ac={theme:void 0};function jc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Ac.theme=r.theme,i=Fs(e(Ac)),t=i,n=r.theme),i}}var Mc=`mode`,Nc=`color-scheme`,Pc=`data-color-scheme`;function Fc(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Mc,colorSchemeStorageKey:a=Nc,attribute:o=Pc,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
43
|
+
`;function ft(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=at,t.textContent=dt,e.head.appendChild(t)}var pt=/[-]/g,mt={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},ht={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},gt={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},_t={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},vt={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...ht,...gt,..._t},yt=new Set([`|`,`‖`]),bt=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),xt={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},St={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Ct=e=>(e.textContent??``).replace(pt,``).replace(/\s+/g,` `).trim(),wt=e=>e.replace(/\s+/g,` `).trim(),Tt=e=>[...e.children];function Et(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?Et(e.children[0]):!1}function Dt(e){let t=e?Ct(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Ot(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function kt(e){return xt[e]??e}function At(e){return vt[e]??e}function jt(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(Bt(r)),n=!0;continue}let e=Ct(r);e&&(!n&&mt[e]?t.push(mt[e]):e in _t?t.push(_t[e]):(t.push(At(e)),n=e in gt||yt.has(e)&&n))}return t.filter(Boolean).join(` `)}function Mt(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(Ct(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&Ct(t)===Ct(r)&&!a.some(i)){let e=wt(jt(a));return Ct(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return jt(e)}function Nt(e,t){let n=e?Bt(e):``,r=t?Bt(t):``;return Et(e)&&Et(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function Pt(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function Ft(e,t){let n=t?Ct(t):``;if(t&&Et(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in _t)return`${e} ${_t[n]}`}let r=t?Bt(t):``;return Et(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function It(e,t){let n=t?Bt(t):``;return Et(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function Lt(e,t,n){let r=Ct(e);if(r===`lim`)return`limit as ${t?Bt(t):``} of`;if(!bt.has(r))return;let i=t?`from ${Bt(t)}`:``,a=n?`to ${Bt(n)}`:``;return`${At(r)} ${i} ${a} of`}function Rt(e){let t=Tt(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>Tt(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>wt(jt(Tt(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function zt(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=Tt(e).map((e,t,n)=>t<n.length-1?`${Bt(e)} ${At(r[Math.min(t,r.length-1)]??`,`)}`:Bt(e));return[At(t),...i,At(n)].filter(Boolean).join(` `)}function Bt(e){let t=Tt(e);switch(e.localName){case`mi`:return kt(Ct(e));case`mn`:case`mtext`:case`ms`:return Ct(e);case`mo`:return At(Ct(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?Bt(t[0]):``;case`mfrac`:return Nt(t[0],t[1]);case`msqrt`:return Pt(wt(jt(t)),`square root`,t.length===1&&Et(t[0]));case`mroot`:{let e=Dt(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Ot(e)} root`:`root with index ${t[1]?Bt(t[1]):``}`;return Pt(t[0]?Bt(t[0]):``,n,Et(t[0]))}case`msup`:return Ft(t[0]?Bt(t[0]):``,t[1]);case`msub`:return It(t[0]?Bt(t[0]):``,t[1]);case`msubsup`:return(t[0]?Lt(t[0],t[1],t[2]):void 0)||Ft(It(t[0]?Bt(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?Lt(n,a,o):void 0;if(s)return s;let c=n?Bt(n):``,l=e.localName===`mover`&&r?St[Ct(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${Bt(a)} below`:``,o?`with ${Bt(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return zt(e);case`mtable`:return Rt(e);case`mrow`:case`math`:return Mt(t);default:return t.length?jt(t):Ct(e)}}function Vt(e){return wt(Bt(e))}var Ht=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Ut(e){if(e.hasAttribute(`aria-label`)||!e.closest(Ht))return;let t=e.querySelector(`math`),n=t?Vt(t):``;n&&e.setAttribute(`aria-label`,n)}function Wt(e){for(let t of e.querySelectorAll(`mjx-container`))Ut(t)}var Gt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Kt(){let e=globalThis;e[Gt]||(e[Gt]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${b}`))}function F(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Kt()}function qt(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>F(e),{once:!0}),a})}`${C}`;var Jt={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1],perpendicular:`\\perp`,divide:`\\div`},Yt=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Xt=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Zt=/\\embed\{newLine\}\[\]/g,Qt=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]];function $t(e){for(let[t,n]of Qt)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function en(e){return`\\(${$t(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}\\)`.replace(Zt,`\\newline `)}var tn=`mathjax_ignore`,nn=`mathjax_process`,rn=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,an=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),on=`MJX-CHTML-styles`,sn=`PIE-MJX-SVG-styles`,cn=`PIE-MathJax-Menu-Settings`,ln={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},un=200,dn=201,fn=202;function pn(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function mn(e,t){let n=e.closest(`.${tn}, .${nn}`);return n!==null&&t.contains(n)&&!n.classList.contains(`mathjax_process`)}function hn(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||mn(t,e))continue;let n=t.textContent;n&&(t.textContent=en(n),t.dataset.mathHandled=`true`)}}function gn(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function _n(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Xt:Yt).test(e.textContent??``)}function vn(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=O(e,{}.url),c=D(),l={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=ue();return yn(t)&&bn(t),e}}},startup:{typeset:!1,ready:()=>{let e=ue(),r=e?.startup,i=yn(e);i&&(bn(e),xn(e,s.speechLocales),k(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Sn(r?.document),Cn(r?.document),r?.document?.addStyles?.(ln),qt(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...Jt}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:c}},a11y:{inTabOrder:c}}};r&&l.tex&&(console.warn(rn),l.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],l.tex.processEscapes=!0),a||(l.chtml={fontURL:``});let u=re(s.speechLocales);u&&l.options&&(l.options.sre={locale:u}),fe(l,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function yn(e){return!!e?.version?.startsWith(`4.`)}function bn(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=me);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=sn)}function xn(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=cn;try{let e=localStorage.getItem(cn);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(cn,JSON.stringify(i)):localStorage.removeItem(cn)}catch{}}}function Sn(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(pn(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,dn,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&pn(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===on&&(r.id=me),En()}function Cn(e){let t=e=>{e.typesetRoot&&Ut(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,fn,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function wn(e){return e instanceof HTMLStyleElement&&he.includes(e.id)}function Tn(e){ce(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function En(){let e=document.head,t=[...e.children].find(wn);if(t){Tn(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(wn);if(e){Tn(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Dn(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=un&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function On(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=ue()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function kn(e){let t=ue();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():On(t):vn(e)}function An(e){return kn(e).then(()=>{let e=ue();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function jn(e){let t=pe,n=t[an];return n||(n=An(e),t[an]=n),n}function Mn(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=ge();r&&ce(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),hn(n),ve(n),gn(n),it(n);let i=jn(e);if(!_n(n,t)){i.catch(()=>{});return}await i;let a=ue();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){ft(),Dn(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}pn(n),Wt(n)}}}var Nn=`@pie-lib/math-rendering`,Pn=`@pie-lib/math-rendering@2`,Fn=`pie-print`,In=50,Ln=1e4,Rn=null;function zn(){return!!window[Pn]?.opts?.useSingleDollar}function Bn(){return Rn||=Mn({useSingleDollar:zn()}),Rn}function Vn(){if(typeof window>`u`)return null;let e=window[Nn];return typeof e?.renderMath==`function`&&e.renderMath!==Gn?e:null}function Hn(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===Fn)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Un(){let e=window.renderMath;return typeof e==`function`?e:null}async function Wn(e){let t=Hn(e);if(!t)return null;let n=Un();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Ln;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,In));let e=Un();if(e)return e}return null}var Gn=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=Vn(),i=r||t?null:await Wn(n);return r?(await r.renderMath?.(n),Wt(n)):i&&i!==Gn?(await i(n),Wt(n)):await Bn()(n),t?n.innerHTML:void 0},Kn=function(){return null};Kn.isRequired=Kn;var qn=()=>Kn,I={array:Kn,bigint:Kn,bool:Kn,func:Kn,number:Kn,object:Kn,string:Kn,symbol:Kn,any:Kn,element:Kn,elementType:Kn,node:Kn,arrayOf:qn,instanceOf:qn,objectOf:qn,oneOf:qn,oneOfType:qn,shape:qn,exact:qn,checkPropTypes:()=>{},resetWarningCache:()=>{}};I.PropTypes=I;var Jn=500,Yn=9007199254740991,Xn=`[object Arguments]`,Zn=`[object AsyncFunction]`,Qn=`[object Function]`,$n=`[object GeneratorFunction]`,er=`[object Map]`,tr=`[object Proxy]`,nr=`[object Set]`,rr=`[object Symbol]`,ir=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`));[...ir];var ar=/\\(\\)?/g,or=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sr=/^\w*$/,cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lr=Object.prototype,ur=lr.hasOwnProperty,dr=lr.toString;lr.propertyIsEnumerable,Function.prototype.toString.call(Object);var fr=Symbol.prototype.toString;Symbol.prototype.valueOf;function pr(e){return typeof e==`object`&&!!e}function mr(e){let t=ur.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=dr.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function hr(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?mr(e):dr.call(e)}function gr(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=Yn}function _r(e){return e!=null&&gr(e.length)&&!Fr(e)}function vr(e){return pr(e)&&hr(e)==Xn}function yr(e){return pr(e)&&gr(e.length)&&ir.has(hr(e))}function br(e){return typeof e==`symbol`||pr(e)&&hr(e)==rr}function xr(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||lr)}function Sr(e){if(typeof e==`string`)return e;if(Array.isArray(e))return Tr(e,Sr)+``;if(br(e))return fr.call(e);let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Cr(e){return e==null?``:Sr(e)}function wr(e){if(typeof e==`string`||br(e))return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Tr(e,t){let n=-1,r=e==null?0:e.length,i=Array(r);for(;++n<r;)i[n]=t(e[n],n,e);return i}function Er(e){if(!xr(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))ur.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Dr(e){let t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(cr,(e,n,r,i)=>(t.push(r?i.replace(ar,`$1`):n||e),e)),t}var Or=new Map;function kr(e){Or.size===Jn&&Or.clear();let t=Or.get(e);return t===void 0&&(t=Dr(e),Or.set(e,t)),t}function Ar(e,t){if(Array.isArray(e))return!1;let n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||br(e)?!0:sr.test(e)||!or.test(e)||t!=null&&e in Object(t)}function jr(e,t){return Array.isArray(e)?e:Ar(e,t)?[e]:kr(Cr(e))}function Mr(e,t){let n=jr(t,e),r=0,{length:i}=n,a=e;for(;a!=null&&r<i;)a=a[wr(n[r++])];return r&&r==i?a:void 0}function Nr(e,t,n){let r=e==null?void 0:Mr(e,t);return r===void 0?n:r}function Pr(e){if(e==null)return!0;if(_r(e)&&(Array.isArray(e)||typeof e==`string`||typeof e.splice==`function`||yr(e)||vr(e)))return!e.length;let t=hr(e);if(t==er||t==nr)return!e.size;if(xr(e))return!Er(e).length;for(let t in e)if(ur.call(e,t))return!1;return!0}function Fr(e){if(!Ir(e))return!1;let t=hr(e);return t==Qn||t==$n||t==Zn||t==tr}function Ir(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}function Lr(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var Rr=`$$material`;function zr(){return zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zr.apply(null,arguments)}function Br(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]}function Vr(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Hr=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||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(Vr(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Br(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ur=`-ms-`,Wr=`-moz-`,L=`-webkit-`,Gr=`comm`,Kr=`rule`,qr=`decl`,Jr=`@import`,Yr=`@keyframes`,Xr=`@layer`,Zr=Math.abs,Qr=String.fromCharCode,$r=Object.assign;function ei(e,t){return ii(e,0)^45?(((t<<2^ii(e,0))<<2^ii(e,1))<<2^ii(e,2))<<2^ii(e,3):0}function ti(e){return e.trim()}function ni(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,n){return e.replace(t,n)}function ri(e,t){return e.indexOf(t)}function ii(e,t){return e.charCodeAt(t)|0}function ai(e,t,n){return e.slice(t,n)}function oi(e){return e.length}function si(e){return e.length}function ci(e,t){return t.push(e),e}function li(e,t){return e.map(t).join(``)}var z=1,ui=1,di=0,fi=0,pi=0,mi=``;function hi(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:z,column:ui,length:o,return:``}}function gi(e,t){return $r(hi(``,null,null,``,null,null,0),e,{length:-e.length},t)}function _i(){return pi}function vi(){return pi=fi>0?ii(mi,--fi):0,ui--,pi===10&&(ui=1,z--),pi}function yi(){return pi=fi<di?ii(mi,fi++):0,ui++,pi===10&&(ui=1,z++),pi}function bi(){return ii(mi,fi)}function xi(){return fi}function Si(e,t){return ai(mi,e,t)}function Ci(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 wi(e){return z=ui=1,di=oi(mi=e),fi=0,[]}function Ti(e){return mi=``,e}function Ei(e){return ti(Si(fi-1,ki(e===91?e+2:e===40?e+1:e)))}function Di(e){for(;(pi=bi())&&pi<33;)yi();return Ci(e)>2||Ci(pi)>3?``:` `}function Oi(e,t){for(;--t&&yi()&&!(pi<48||pi>102||pi>57&&pi<65||pi>70&&pi<97););return Si(e,xi()+(t<6&&bi()==32&&yi()==32))}function ki(e){for(;yi();)switch(pi){case e:return fi;case 34:case 39:e!==34&&e!==39&&ki(pi);break;case 40:e===41&&ki(e);break;case 92:yi();break}return fi}function Ai(e,t){for(;yi()&&e+pi!==57&&!(e+pi===84&&bi()===47););return`/*`+Si(t,fi-1)+`*`+Qr(e===47?e:yi())}function ji(e){for(;!Ci(bi());)yi();return Si(e,fi)}function Mi(e){return Ti(Ni(``,null,null,null,[``],e=wi(e),0,[0],e))}function Ni(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=yi()){case 40:if(m!=108&&ii(C,d-1)==58){ri(C+=R(Ei(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Ei(v);break;case 9:case 10:case 13:case 32:C+=Di(m);break;case 92:C+=Oi(xi()-1,7);continue;case 47:switch(bi()){case 42:case 47:ci(Fi(Ai(yi(),xi()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=oi(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=R(C,/\f/g,``)),p>0&&oi(C)-d&&ci(p>32?Ii(C+`;`,r,n,d-1):Ii(R(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(ci(S=Pi(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Ni(C,t,S,S,b,a,d,s,x);else switch(f===99&&ii(C,3)===110?100:f){case 100:case 108:case 109:case 115:Ni(e,S,S,r&&ci(Pi(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Ni(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+oi(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&vi()==125)continue}switch(C+=Qr(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(oi(C)-1)*_,_=1;break;case 64:bi()===45&&(C+=Ei(yi())),f=bi(),u=d=oi(y=C+=ji(xi())),v++;break;case 45:m===45&&oi(C)==2&&(h=0)}}return a}function Pi(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=si(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=ai(e,d+1,d=Zr(h=o[m])),y=e;_<p;++_)(y=ti(h>0?f[_]+` `+v:R(v,/&\f/g,f[_])))&&(c[g++]=y);return hi(e,t,n,i===0?Kr:s,c,l,u)}function Fi(e,t,n){return hi(e,t,n,Gr,Qr(_i()),ai(e,2,-2),0)}function Ii(e,t,n,r){return hi(e,t,n,qr,ai(e,0,r),ai(e,r+1,-1),r)}function Li(e,t){for(var n=``,r=si(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Ri(e,t,n,r){switch(e.type){case Xr:if(e.children.length)break;case Jr:case qr:return e.return=e.return||e.value;case Gr:return``;case Yr:return e.return=e.value+`{`+Li(e.children,r)+`}`;case Kr:e.value=e.props.join(`,`)}return oi(n=Li(e.children,r))?e.return=e.value+`{`+n+`}`:``}function zi(e){var t=si(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Bi(e){return function(t){t.root||(t=t.return)&&e(t)}}function Vi(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Hi=function(e,t,n){for(var r=0,i=0;r=i,i=bi(),r===38&&i===12&&(t[n]=1),!Ci(i);)yi();return Si(e,fi)},Ui=function(e,t){var n=-1,r=44;do switch(Ci(r)){case 0:r===38&&bi()===12&&(t[n]=1),e[n]+=Hi(fi-1,t,n);break;case 2:e[n]+=Ei(r);break;case 4:if(r===44){e[++n]=bi()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Qr(r)}while(r=yi());return e},Wi=function(e,t){return Ti(Ui(wi(e),t))},Gi=new WeakMap,Ki=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Gi.get(n))&&!r){Gi.set(e,!0);for(var i=[],a=Wi(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},qi=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ji(e,t){switch(ei(e,t)){case 5103:return L+`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 L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+Wr+e+Ur+e+e;case 6828:case 4268:return L+e+Ur+e+e;case 6165:return L+e+Ur+`flex-`+e+e;case 5187:return L+e+R(e,/(\w+).+(:[^]+)/,L+`box-$1$2`+Ur+`flex-$1$2`)+e;case 5443:return L+e+Ur+`flex-item-`+R(e,/flex-|-self/,``)+e;case 4675:return L+e+Ur+`flex-line-pack`+R(e,/align-content|flex-|-self/,``)+e;case 5548:return L+e+Ur+R(e,`shrink`,`negative`)+e;case 5292:return L+e+Ur+R(e,`basis`,`preferred-size`)+e;case 6060:return L+`box-`+R(e,`-grow`,``)+L+e+Ur+R(e,`grow`,`positive`)+e;case 4554:return L+R(e,/([^-])(transform)/g,`$1`+L+`$2`)+e;case 6187:return R(R(R(e,/(zoom-|grab)/,L+`$1`),/(image-set)/,L+`$1`),e,``)+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,L+`box-pack:$3`+Ur+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+L+e+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,L+`$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(oi(e)-1-t>6)switch(ii(e,t+1)){case 109:if(ii(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,`$1`+L+`$2-$3$1`+Wr+(ii(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~ri(e,`stretch`)?Ji(R(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(ii(e,t+1)!==115)break;case 6444:switch(ii(e,oi(e)-3-(~ri(e,`!important`)&&10))){case 107:return R(e,`:`,`:`+L)+e;case 101:return R(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+L+(ii(e,14)===45?`inline-`:``)+`box$3$1`+L+`$2$3$1`+Ur+`$2box$3`)+e}break;case 5936:switch(ii(e,t+11)){case 114:return L+e+Ur+R(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return L+e+Ur+R(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return L+e+Ur+R(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return L+e+Ur+e+e}return e}var Yi=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case qr:e.return=Ji(e.value,e.length);break;case Yr:return Li([gi(e,{value:R(e.value,`@`,`@`+L)})],r);case Kr:if(e.length)return li(e.props,function(t){switch(ni(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Li([gi(e,{props:[R(t,/:(read-\w+)/,`:`+Wr+`$1`)]})],r);case`::placeholder`:return Li([gi(e,{props:[R(t,/:(plac\w+)/,`:`+L+`input-$1`)]}),gi(e,{props:[R(t,/:(plac\w+)/,`:`+Wr+`$1`)]}),gi(e,{props:[R(t,/:(plac\w+)/,Ur+`input-$1`)]})],r)}return``})}}],Xi=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Yi,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Ki,qi],l,u=[Ri,Bi(function(e){l.insert(e)})],d=zi(c.concat(r,u)),f=function(e){return Li(Mi(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Hr({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Zi=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Qi=o(((e,t)=>{t.exports=Zi()})),$i=o(((e,t)=>{var n=Qi(),r={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,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function ea(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var ta=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},na=function(e,t,n){ta(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function ra(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ia={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},aa=/[A-Z]|^ms/g,oa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sa=function(e){return e.charCodeAt(1)===45},ca=function(e){return e!=null&&typeof e!=`boolean`},la=Vi(function(e){return sa(e)?e:e.replace(aa,`-$&`).toLowerCase()}),ua=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(oa,function(e,t,n){return ma={name:t,styles:n,next:ma},t})}return ia[e]!==1&&!sa(e)&&typeof t==`number`&&t!==0?t+`px`:t};function da(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return ma={name:i.name,styles:i.styles,next:ma},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)ma={name:o.name,styles:o.styles,next:ma},o=o.next;return a.styles+`;`}return fa(e,t,n);case`function`:if(e!==void 0){var s=ma,c=n(e);return ma=s,da(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function fa(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=da(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:ca(s)&&(r+=la(a)+`:`+ua(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)ca(o[c])&&(r+=la(a)+`:`+ua(a,o[c])+`;`);else{var l=da(e,t,o);switch(a){case`animation`:case`animationName`:r+=la(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var pa=/label:\s*([^\s;{]+)\s*(;|$)/g,ma;function ha(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;ma=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=da(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=da(n,t,e[o]),r&&(i+=a[o]);pa.lastIndex=0;for(var s=``,c;(c=pa.exec(i))!==null;)s+=`-`+c[1];return{name:ra(i)+s,styles:i,next:ma}}var B=l(d()),ga=function(e){return e()},_a=B.useInsertionEffect?B.useInsertionEffect:!1,va=_a||ga,ya=_a||B.useLayoutEffect,ba=B.createContext(typeof HTMLElement<`u`?Xi({key:`css`}):null),xa=ba.Provider,Sa=function(e){return(0,B.forwardRef)(function(t,n){return e(t,(0,B.useContext)(ba),n)})},Ca=B.createContext({}),wa={}.hasOwnProperty,Ta=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Ea=function(e,t){var n={};for(var r in t)wa.call(t,r)&&(n[r]=t[r]);return n[Ta]=e,n},Da=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ta(t,n,r),va(function(){return na(t,n,r)}),null},Oa=Sa(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Ta],a=[r],o=``;typeof e.className==`string`?o=ea(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=ha(a,void 0,B.useContext(Ca));o+=t.key+`-`+s.name;var c={};for(var l in e)wa.call(e,l)&&l!==`css`&&l!==Ta&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),B.createElement(B.Fragment,null,B.createElement(Da,{cache:t,serialized:s,isStringTag:typeof i==`string`}),B.createElement(i,c))});$i();var ka=function(e,t){var n=arguments;if(t==null||!wa.call(t,`css`))return B.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Oa,i[1]=Ea(e,t);for(var a=2;a<r;a++)i[a]=n[a];return B.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(ka||={});var Aa=Sa(function(e,t){var n=e.styles,r=ha([n],void 0,B.useContext(Ca)),i=B.useRef();return ya(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),ya(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&na(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function ja(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ha(t)}function Ma(){var e=ja.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_`}}}var Na=/^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,Pa=Vi(function(e){return Na.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Fa=function(e){return e!==`theme`},Ia=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Pa:Fa},La=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Ra=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ta(t,n,r),va(function(){return na(t,n,r)}),null},za=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=La(t,n,r),c=s||Ia(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=Sa(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=B.useContext(Ca)}typeof e.className==`string`?a=ea(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=ha(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?Ia(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),B.createElement(B.Fragment,null,B.createElement(Ra,{cache:t,serialized:m,isStringTag:typeof r==`string`}),B.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,zr({},n,r,{shouldForwardProp:La(h,r,!0)})).apply(void 0,d)},h}},Ba=`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`.split(`.`),Va=za.bind(null);Ba.forEach(function(e){Va[e]=Va(e)});var Ha=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),V=o(((e,t)=>{t.exports=Ha()}))(),Ua=new Map,Wa={insert:void 0},Ga=(e,t)=>{let n=Xi(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ka;if(typeof document==`object`&&(Ka=document.querySelector(`[name="emotion-insertion-point"]`),!Ka)){Ka=document.createElement(`meta`),Ka.setAttribute(`name`,`emotion-insertion-point`),Ka.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ka)}function qa(e,t){if(e||t){class n extends Hr{insert(e,t){return Wa.insert?Wa.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ka),super.insert(e,t))}}let r=Ga({key:`css`,insertionPoint:e?Ka:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Ja(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=B.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ua.has(e))return Ua.get(e);let r=qa(t,n);return Ua.set(e,r),r},[t,n]);return i?(0,V.jsx)(xa,{value:i,children:r}):r}function Ya(e){return e==null||Object.keys(e).length===0}function Xa(e){let{styles:t,defaultTheme:n={}}=e;return(0,V.jsx)(Aa,{styles:typeof t==`function`?e=>t(Ya(e)?n:e):t})}function Za(e,t){return Va(e,t)}function Qa(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var $a=[];function eo(e){return $a[0]=e,ha($a)}var to=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),no=o(((e,t)=>{t.exports=to()}))();function ro(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function io(e){if(B.isValidElement(e)||(0,no.isValidElementType)(e)||!ro(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=io(e[n])}),t}function ao(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return ro(e)&&ro(t)&&Object.keys(t).forEach(i=>{B.isValidElement(t[i])||(0,no.isValidElementType)(t[i])?r[i]=t[i]:ro(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&ro(e[i])?r[i]=ao(e[i],t[i],n):n.clone?r[i]=ro(t[i])?io(t[i]):t[i]:r[i]=t[i]}),r}var oo=e=>{let 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}),{})};function so(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=oo(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function co(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function lo(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function uo(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function fo(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var po={borderRadius:4};function mo(e,t){return t?ao(e,t,{clone:!1}):e}var ho={xs:0,sm:600,md:900,lg:1200,xl:1536},go={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${ho[e]}px)`},_o={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ho[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function vo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||go;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||go;return Object.keys(t).reduce((i,a)=>{if(lo(e.keys,a)){let e=uo(r.containerQueries?r:_o,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||ho).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function yo(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function bo(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function xo(e){if(typeof e!=`string`)throw Error(Lr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function So(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function Co(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:So(e,n)||r,t&&(i=t(i,r,e)),i}function wo(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=So(o,r)||{};return vo(e,a,e=>{let r=Co(s,i,e);return e===r&&typeof e==`string`&&(r=Co(s,i,`${t}${e==="default"?``:xo(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function To(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Eo={m:`margin`,p:`padding`},Do={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Oo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},ko=To(e=>{if(e.length>2)if(Oo[e])e=Oo[e];else return[e];let[t,n]=e.split(``),r=Eo[t],i=Do[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Ao=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],jo=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Mo=[...Ao,...jo];function No(e,t,n,r){let i=So(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Po(e){return No(e,`spacing`,8,`spacing`)}function Fo(e,t){return typeof t==`string`||t==null?t:e(t)}function Io(e,t){return n=>e.reduce((e,r)=>(e[r]=Fo(t,n),e),{})}function Lo(e,t,n,r){if(!t.includes(n))return null;let i=Io(ko(n),r),a=e[n];return vo(e,a,i)}function Ro(e,t){let n=Po(e.theme);return Object.keys(e).map(r=>Lo(e,t,r,n)).reduce(mo,{})}function zo(e){return Ro(e,Ao)}zo.propTypes={},zo.filterProps=Ao;function Bo(e){return Ro(e,jo)}Bo.propTypes={},Bo.filterProps=jo;function Vo(e){return Ro(e,Mo)}Vo.propTypes={},Vo.filterProps=Mo;function Ho(e=8,t=Po({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Uo(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?mo(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Wo(e){return typeof e==`number`?`${e}px solid`:e}function Go(e,t){return wo({prop:e,themeKey:`borders`,transform:t})}var Ko=Go(`border`,Wo),qo=Go(`borderTop`,Wo),Jo=Go(`borderRight`,Wo),Yo=Go(`borderBottom`,Wo),Xo=Go(`borderLeft`,Wo),Zo=Go(`borderColor`),Qo=Go(`borderTopColor`),$o=Go(`borderRightColor`),es=Go(`borderBottomColor`),ts=Go(`borderLeftColor`),ns=Go(`outline`,Wo),rs=Go(`outlineColor`),is=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=No(e.theme,`shape.borderRadius`,4,`borderRadius`);return vo(e,e.borderRadius,e=>({borderRadius:Fo(t,e)}))}return null};is.propTypes={},is.filterProps=[`borderRadius`],Uo(Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,is,ns,rs);var as=e=>{if(e.gap!==void 0&&e.gap!==null){let t=No(e.theme,`spacing`,8,`gap`);return vo(e,e.gap,e=>({gap:Fo(t,e)}))}return null};as.propTypes={},as.filterProps=[`gap`];var os=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=No(e.theme,`spacing`,8,`columnGap`);return vo(e,e.columnGap,e=>({columnGap:Fo(t,e)}))}return null};os.propTypes={},os.filterProps=[`columnGap`];var ss=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=No(e.theme,`spacing`,8,`rowGap`);return vo(e,e.rowGap,e=>({rowGap:Fo(t,e)}))}return null};ss.propTypes={},ss.filterProps=[`rowGap`],Uo(as,os,ss,wo({prop:`gridColumn`}),wo({prop:`gridRow`}),wo({prop:`gridAutoFlow`}),wo({prop:`gridAutoColumns`}),wo({prop:`gridAutoRows`}),wo({prop:`gridTemplateColumns`}),wo({prop:`gridTemplateRows`}),wo({prop:`gridTemplateAreas`}),wo({prop:`gridArea`}));function cs(e,t){return t===`grey`?t:e}Uo(wo({prop:`color`,themeKey:`palette`,transform:cs}),wo({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:cs}),wo({prop:`backgroundColor`,themeKey:`palette`,transform:cs}));function ls(e){return e<=1&&e!==0?`${e*100}%`:e}var us=wo({prop:`width`,transform:ls}),ds=e=>e.maxWidth!==void 0&&e.maxWidth!==null?vo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||ho[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:ls(t)}}):null;ds.filterProps=[`maxWidth`];var fs=wo({prop:`minWidth`,transform:ls}),ps=wo({prop:`height`,transform:ls}),ms=wo({prop:`maxHeight`,transform:ls}),hs=wo({prop:`minHeight`,transform:ls});wo({prop:`size`,cssProperty:`width`,transform:ls}),wo({prop:`size`,cssProperty:`height`,transform:ls}),Uo(us,ds,fs,ps,ms,hs,wo({prop:`boxSizing`}));var gs={border:{themeKey:`borders`,transform:Wo},borderTop:{themeKey:`borders`,transform:Wo},borderRight:{themeKey:`borders`,transform:Wo},borderBottom:{themeKey:`borders`,transform:Wo},borderLeft:{themeKey:`borders`,transform:Wo},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Wo},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:is},color:{themeKey:`palette`,transform:cs},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:cs},backgroundColor:{themeKey:`palette`,transform:cs},p:{style:Bo},pt:{style:Bo},pr:{style:Bo},pb:{style:Bo},pl:{style:Bo},px:{style:Bo},py:{style:Bo},padding:{style:Bo},paddingTop:{style:Bo},paddingRight:{style:Bo},paddingBottom:{style:Bo},paddingLeft:{style:Bo},paddingX:{style:Bo},paddingY:{style:Bo},paddingInline:{style:Bo},paddingInlineStart:{style:Bo},paddingInlineEnd:{style:Bo},paddingBlock:{style:Bo},paddingBlockStart:{style:Bo},paddingBlockEnd:{style:Bo},m:{style:zo},mt:{style:zo},mr:{style:zo},mb:{style:zo},ml:{style:zo},mx:{style:zo},my:{style:zo},margin:{style:zo},marginTop:{style:zo},marginRight:{style:zo},marginBottom:{style:zo},marginLeft:{style:zo},marginX:{style:zo},marginY:{style:zo},marginInline:{style:zo},marginInlineStart:{style:zo},marginInlineEnd:{style:zo},marginBlock:{style:zo},marginBlockStart:{style:zo},marginBlockEnd:{style:zo},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:as},rowGap:{style:ss},columnGap:{style:os},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:ls},maxWidth:{style:ds},minWidth:{transform:ls},height:{transform:ls},maxHeight:{transform:ls},minHeight:{transform:ls},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`}};function _s(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function vs(e,t){return typeof e==`function`?e(t):e}function ys(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=So(n,s)||{};return l?l(i):vo(i,t,t=>{let n=Co(u,c,t);return t===n&&typeof t==`string`&&(n=Co(u,c,`${e}${t==="default"?``:xo(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??gs;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=yo(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=vs(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=mo(l,e(n,a,i,o));else{let e=vo({theme:i},a,e=>({[n]:e}));_s(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=mo(l,e)}else l=mo(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":co(i,bo(c,l))}:co(i,bo(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var bs=ys();bs.filterProps=[`sx`];function xs(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Ss(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=so(n),c=Ho(i),l=ao({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...po,...a}},o);return l=fo(l),l.applyStyles=xs,l=t.reduce((e,t)=>ao(e,t),l),l.unstable_sxConfig={...gs,...o?.unstable_sxConfig},l.unstable_sx=function(e){return bs({sx:e,theme:this})},l}function Cs(e){return Object.keys(e).length===0}function ws(e=null){let t=B.useContext(Ca);return!t||Cs(t)?e:t}var Ts=Ss();function Es(e=Ts){return ws(e)}function Ds(e){let t=eo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Os({styles:e,themeId:t,defaultTheme:n={}}){let r=Es(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Ds(typeof e==`function`?e(i):e)):Ds(a)),(0,V.jsx)(Xa,{styles:a})}var ks=e=>e,As=(()=>{let e=ks;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ks}}})();function js(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=js(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function H(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=js(e))&&(r&&(r+=` `),r+=t);return r}var Ms={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 Ns(e,t,n=`Mui`){let r=Ms[t];return r?`${n}-${r}`:`${As.generate(e)}-${t}`}function Ps(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Ns(e,t,n)}),r}function Fs(e){let{variants:t,...n}=e,r={variants:t,style:eo(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=eo(e.style))}),r}var Is=Ss();function Ls(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Rs(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function zs(e){return e?(t,n)=>n[e]:null}function Bs(e,t,n){e.theme=Ws(e.theme)?n:e.theme[t]||e.theme}function Vs(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Vs(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Rs(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Rs(eo(i),n):i}return Hs(e,r.variants,[t],n)}return r?.isProcessed?n?Rs(eo(r.style),n):r.style:n?Rs(eo(r),n):r}function Hs(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Rs(eo(o.style(i)),r):o.style(i))):n.push(r?Rs(eo(o.style),r):o.style)}return n}function Us(e={}){let{themeId:t,defaultTheme:n=Is,rootShouldForwardProp:r=Ls,slotShouldForwardProp:i=Ls}=e;function a(e){Bs(e,t,n)}return(e,t={})=>{Qa(e,e=>e.filter(e=>e!==bs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=zs(Ks(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Ls;o===`Root`||o===`root`?m=r:o?m=i:Gs(e)&&(m=void 0);let h=Za(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Vs(t,e,t.theme.modularCssLayers?d:void 0)};if(ro(e)){let t=Fs(e);return function(e){return t.variants?Vs(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Rs(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Vs(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?Hs(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(bs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Ws(e){for(let t in e)return!1;return!0}function Gs(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Ks(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function qs(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=qs(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=H(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Js=typeof window<`u`?B.useLayoutEffect:B.useEffect;function Ys(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Xs(e,t=0,n=1){return Ys(e,t,n)}function Zs(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Qs(e){if(e.type)return e;if(e.charAt(0)===`#`)return Qs(Zs(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(Lr(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(Lr(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var $s=e=>{let t=Qs(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ec=(e,t)=>{try{return $s(e)}catch{return e}};function tc(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function nc(e){e=Qs(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),tc({type:s,values:c})}function rc(e){e=Qs(e);let t=e.type===`hsl`||e.type===`hsla`?Qs(nc(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(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 ic(e,t){let n=rc(e),r=rc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ac(e,t){return e=Qs(e),t=Xs(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,tc(e)}function oc(e,t,n){try{return ac(e,t)}catch{return e}}function sc(e,t){if(e=Qs(e),t=Xs(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return tc(e)}function U(e,t,n){try{return sc(e,t)}catch{return e}}function cc(e,t){if(e=Qs(e),t=Xs(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return tc(e)}function W(e,t,n){try{return cc(e,t)}catch{return e}}function lc(e,t=.15){return rc(e)>.5?sc(e,t):cc(e,t)}function uc(e,t,n){try{return lc(e,t)}catch{return e}}var dc=B.createContext(null);function fc(){return B.useContext(dc)}var pc=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function mc(e,t){return typeof t==`function`?t(e):{...e,...t}}function hc(e){let{children:t,theme:n}=e,r=fc(),i=B.useMemo(()=>{let e=r===null?{...n}:mc(r,n);return e!=null&&(e[pc]=r!==null),e},[n,r]);return(0,V.jsx)(dc.Provider,{value:i,children:t})}var gc=B.createContext();function _c({value:e,...t}){return(0,V.jsx)(gc.Provider,{value:e??!0,...t})}var vc=()=>B.useContext(gc)??!1,G=B.createContext(void 0);function yc({value:e,children:t}){return(0,V.jsx)(G.Provider,{value:e,children:t})}function bc(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?qs(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?qs(i,r,t.components.mergeClassNameAndStyle):r}function xc({props:e,name:t}){return bc({props:e,name:t,theme:{components:B.useContext(G)}})}var Sc=0;function Cc(e){let[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t??(Sc+=1,n(`mui-${Sc}`))},[t]),r}var wc={...B}.useId;function Tc(e){if(wc!==void 0){let t=wc();return e??t}return Cc(e)}function Ec(e){let t=ws(),n=Tc()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Js(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,V.jsx)(Os,{styles:i}):null}var Dc={};function Oc(e,t,n,r=!1){return B.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function kc(e){let{children:t,theme:n,themeId:r}=e,i=ws(Dc),a=fc()||Dc,o=Oc(r,i,n),s=Oc(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Ec(o);return(0,V.jsx)(hc,{theme:s,children:(0,V.jsx)(Ca.Provider,{value:o,children:(0,V.jsx)(_c,{value:c,children:(0,V.jsxs)(yc,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Ac={theme:void 0};function jc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Ac.theme=r.theme,i=Fs(e(Ac)),t=i,n=r.theme),i}}var Mc=`mode`,Nc=`color-scheme`,Pc=`data-color-scheme`;function Fc(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Mc,colorSchemeStorageKey:a=Nc,attribute:o=Pc,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
44
44
|
${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
|
|
45
45
|
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
46
46
|
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,V.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/inline-dropdown@11.0.6
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/inline-dropdown@11.0.6/dist/schemas/configuration.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"baseInputConfiguration": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/inline-dropdown@11.0.6
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/inline-dropdown@11.0.6/dist/schemas/model.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/inline-dropdown@11.0.6
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/inline-dropdown@11.0.6/dist/schemas/session.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/inline-dropdown",
|
|
3
|
-
"version": "11.0.6
|
|
3
|
+
"version": "11.0.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
"@emotion/react": "^11.14.0",
|
|
12
12
|
"@mui/icons-material": "^7.3.4",
|
|
13
13
|
"@mui/material": "^7.3.4",
|
|
14
|
-
"@pie-element/shared-utils": "0.1.5
|
|
15
|
-
"@pie-lib/correct-answer-toggle": "5.0.6
|
|
16
|
-
"@pie-lib/mask-markup": "4.1.1
|
|
17
|
-
"@pie-lib/render-ui": "8.0.6
|
|
18
|
-
"@pie-lib/translator": "5.0.
|
|
14
|
+
"@pie-element/shared-utils": "0.1.5",
|
|
15
|
+
"@pie-lib/correct-answer-toggle": "5.0.6",
|
|
16
|
+
"@pie-lib/mask-markup": "4.1.1",
|
|
17
|
+
"@pie-lib/render-ui": "8.0.6",
|
|
18
|
+
"@pie-lib/translator": "5.0.1",
|
|
19
19
|
"prop-types": "^15.8.1",
|
|
20
|
-
"@pie-element/shared-configure-events": "0.1.
|
|
20
|
+
"@pie-element/shared-configure-events": "0.1.1",
|
|
21
21
|
"debug": "^4.4.3",
|
|
22
|
-
"@pie-element/shared-lodash": "0.1.
|
|
23
|
-
"@pie-lib/editable-html-tip-tap": "3.1.1
|
|
24
|
-
"@pie-element/shared-math-rendering-mathjax": "0.1.7
|
|
25
|
-
"@pie-lib/config-ui": "14.0.6
|
|
26
|
-
"@pie-element/shared-controller-utils": "0.1.3
|
|
27
|
-
"@pie-element/shared-player-events": "0.2.
|
|
22
|
+
"@pie-element/shared-lodash": "0.1.2",
|
|
23
|
+
"@pie-lib/editable-html-tip-tap": "3.1.1",
|
|
24
|
+
"@pie-element/shared-math-rendering-mathjax": "0.1.7",
|
|
25
|
+
"@pie-lib/config-ui": "14.0.6",
|
|
26
|
+
"@pie-element/shared-controller-utils": "0.1.3",
|
|
27
|
+
"@pie-element/shared-player-events": "0.2.0",
|
|
28
28
|
"react": "^18.2.0",
|
|
29
29
|
"react-dom": "^18.2.0",
|
|
30
|
-
"@pie-element/shared-types": "0.2.2
|
|
30
|
+
"@pie-element/shared-types": "0.2.2"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
},
|
|
101
101
|
"browserEditorRuntime": {
|
|
102
102
|
"name": "@pie-element/shared-editor-runtime",
|
|
103
|
-
"version": "0.1.
|
|
103
|
+
"version": "0.1.2",
|
|
104
104
|
"views": {
|
|
105
105
|
"delivery": "editor-runtime/delivery",
|
|
106
106
|
"author": "editor-runtime/author",
|