@zeniai/web-cockpit-ui 2.0.33-qa → 2.0.34-dev
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/package.json +4 -4
- package/dist/assets/Preview-ChO5fMgb.js +0 -1
- package/dist/assets/ScreenRoutes-8s3c20CX.js +0 -179
- package/dist/assets/SignInScreen-DBtpf6fC.js +0 -1
- package/dist/assets/analytics-B1Cy_xZA.js +0 -68
- package/dist/assets/analyticsHelper-B8iYOlEe.js +0 -1
- package/dist/assets/core-Cf4O5OrX.js +0 -12
- package/dist/assets/dash.all.min-oXaWZmY5.js +0 -21
- package/dist/assets/empty-BD7y-R5g.js +0 -1
- package/dist/assets/empty-DUnSINEz.js +0 -1
- package/dist/assets/epic-DOgIa3lU.js +0 -2
- package/dist/assets/favicon-D56XvgAH.ico +0 -0
- package/dist/assets/hls-DifHSkbp.js +0 -40
- package/dist/assets/index-BX5bsEWx.js +0 -1
- package/dist/assets/index-BiUKUUHW.js +0 -79276
- package/dist/assets/index-By7XzdcD.js +0 -3304
- package/dist/assets/index-C7X175S7.js +0 -1
- package/dist/assets/index-DHH6gp6t.js +0 -1
- package/dist/assets/index-DTWP8ETV.js +0 -2
- package/dist/assets/index-DeL-iMry.js +0 -1
- package/dist/assets/index-y98xvd7i.css +0 -1
- package/dist/assets/lexical-bjgwiB7u.js +0 -21
- package/dist/assets/liveblocks-Dk8esAkW.js +0 -54
- package/dist/assets/lottie-B_XQ3Mi7.js +0 -2
- package/dist/assets/mixin-BPAPQfSE.js +0 -43
- package/dist/assets/mui-BrjTjvYA.js +0 -9
- package/dist/assets/react-BGCfxk2h.js +0 -6
- package/dist/assets/react-BvhAivwk.js +0 -21
- package/dist/assets/react-CC8kit5w.js +0 -22
- package/dist/assets/react-CLJlvz8A.js +0 -19
- package/dist/assets/react-DCfFVgZZ.js +0 -34
- package/dist/assets/react-DXlDNDrx.js +0 -17
- package/dist/assets/react-Dx5YwMmP.js +0 -19
- package/dist/assets/react-QXFrvPCj.js +0 -7
- package/dist/assets/recharts-CBey8dU2.js +0 -65
- package/dist/assets/sentry-X5fa-B9t.js +0 -500
- package/dist/assets/url-B8FKrq__.js +0 -6
- package/dist/assets/url-DZVJKgs0.js +0 -1
- package/dist/assets/utils-Bm0fIaTq.js +0 -36
- package/dist/assets/zeni-epic-state-DUFwtXMu.js +0 -13
- package/dist/index.html +0 -1
- package/dist/robots.txt +0 -3
- package/dist/service-worker.js +0 -160
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="96bffd31-5365-46da-8059-023304b0c619",e._sentryDebugIdIdentifier="sentry-dbid-96bffd31-5365-46da-8059-023304b0c619")}catch{}})();const $=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],q=["autopictureinpicture","disablepictureinpicture","disableremoteplayback","autoplay","controls","controlslist","crossorigin","loop","muted","playsinline","poster","preload","src"];function I(e){return`
|
|
2
|
-
<style>
|
|
3
|
-
:host {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
line-height: 0;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
justify-content: end;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
audio {
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
</style>
|
|
14
|
-
<slot name="media">
|
|
15
|
-
<audio${O(e)}></audio>
|
|
16
|
-
</slot>
|
|
17
|
-
<slot></slot>
|
|
18
|
-
`}function C(e){return`
|
|
19
|
-
<style>
|
|
20
|
-
:host {
|
|
21
|
-
display: inline-block;
|
|
22
|
-
line-height: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
video {
|
|
26
|
-
max-width: 100%;
|
|
27
|
-
max-height: 100%;
|
|
28
|
-
min-width: 100%;
|
|
29
|
-
min-height: 100%;
|
|
30
|
-
object-fit: var(--media-object-fit, contain);
|
|
31
|
-
object-position: var(--media-object-position, 50% 50%);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
video::-webkit-media-text-track-container {
|
|
35
|
-
transform: var(--media-webkit-text-track-transform);
|
|
36
|
-
transition: var(--media-webkit-text-track-transition);
|
|
37
|
-
}
|
|
38
|
-
</style>
|
|
39
|
-
<slot name="media">
|
|
40
|
-
<video${O(e)}></video>
|
|
41
|
-
</slot>
|
|
42
|
-
<slot></slot>
|
|
43
|
-
`}function M(e,{tag:t,is:i}){const s=globalThis.document?.createElement?.(t,{is:i}),o=s?V(s):[];return class k extends e{static getTemplateHTML=t.endsWith("audio")?I:C;static shadowRootOptions={mode:"open"};static Events=$;static#t=!1;static get observedAttributes(){return k.#i(),[...s?.constructor?.observedAttributes??[],...q]}static#i(){if(this.#t)return;this.#t=!0;const n=new Set(this.observedAttributes);n.delete("muted");for(const d of o)if(!(d in this.prototype))if(typeof s[d]=="function")this.prototype[d]=function(...a){return this.#r(),this.call?this.call(d,...a):this.nativeEl?.[d]?.apply(this.nativeEl,a)};else{const a={get(){this.#r();const c=d.toLowerCase();if(n.has(c)){const u=this.getAttribute(c);return u===null?!1:u===""?!0:u}return this.get?.(d)??this.nativeEl?.[d]}};d!==d.toUpperCase()&&(a.set=function(c){this.#r();const u=d.toLowerCase();if(n.has(u)){c===!0||c===!1||c==null?this.toggleAttribute(u,!!c):this.setAttribute(u,c);return}if(this.set){this.set(d,c);return}this.nativeEl&&(this.nativeEl[d]=c)}),Object.defineProperty(this.prototype,d,a)}}#e=!1;#n=null;#s=new Map;#o;get;set;call;get nativeEl(){return this.#r(),this.#n??this.querySelector(":scope > [slot=media]")??this.querySelector(t)??this.shadowRoot?.querySelector(t)??null}set nativeEl(n){this.#n=n}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(n){this.toggleAttribute("muted",n)}get src(){return this.getAttribute("src")}set src(n){this.setAttribute("src",`${n}`)}get preload(){return this.getAttribute("preload")??this.nativeEl?.preload}set preload(n){this.setAttribute("preload",`${n}`)}#r(){this.#e||(this.#e=!0,this.init())}init(){if(!this.shadowRoot){this.attachShadow({mode:"open"});const n=H(this.attributes);i&&(n.is=i),t&&(n.part=t),this.shadowRoot.innerHTML=this.constructor.getTemplateHTML(n)}this.nativeEl.muted=this.hasAttribute("muted");for(const n of o)this.#u(n);this.#o=new MutationObserver(this.#c.bind(this)),this.shadowRoot.addEventListener("slotchange",()=>this.#d()),this.#d();for(const n of this.constructor.Events)this.shadowRoot.addEventListener(n,this,!0)}handleEvent(n){n.target===this.nativeEl&&this.dispatchEvent(new CustomEvent(n.type,{detail:n.detail}))}#d(){const n=new Map(this.#s);(this.shadowRoot?.querySelector("slot:not([name])")?.assignedElements({flatten:!0}).filter(c=>["track","source"].includes(c.localName))).forEach(c=>{n.delete(c);let u=this.#s.get(c);u||(u=c.cloneNode(),this.#s.set(c,u),this.#o?.observe(c,{attributes:!0})),this.nativeEl?.append(u),this.#a(u)}),n.forEach((c,u)=>{c.remove(),this.#s.delete(u)})}#c(n){for(const d of n)if(d.type==="attributes"){const{target:a,attributeName:c}=d,u=this.#s.get(a);u&&c&&(u.setAttribute(c,a.getAttribute(c)??""),this.#a(u))}}#a(n){n&&n.localName==="track"&&n.default&&(n.kind==="chapters"||n.kind==="metadata")&&n.track.mode==="disabled"&&(n.track.mode="hidden")}#u(n){if(Object.prototype.hasOwnProperty.call(this,n)){const d=this[n];delete this[n],this[n]=d}}attributeChangedCallback(n,d,a){this.#r(),this.#h(n,d,a)}#h(n,d,a){["id","class"].includes(n)||!k.observedAttributes.includes(n)&&this.constructor.observedAttributes.includes(n)||(a===null?this.nativeEl?.removeAttribute(n):this.nativeEl?.getAttribute(n)!==a&&this.nativeEl?.setAttribute(n,a))}connectedCallback(){this.#r()}}}function V(e){const t=[];for(let i=Object.getPrototypeOf(e);i&&i!==HTMLElement.prototype;i=Object.getPrototypeOf(i)){const s=Object.getOwnPropertyNames(i);t.push(...s)}return t}function O(e){let t="";for(const i in e){if(!q.includes(i))continue;const s=e[i];s===""?t+=` ${i}`:t+=` ${i}="${s}"`}return t}function H(e){const t={};for(const i of e)t[i.name]=i.value;return t}const Y=M(globalThis.HTMLElement??class{},{tag:"video"});M(globalThis.HTMLElement??class{},{tag:"audio"});class p extends Event{track;constructor(t,i){super(t),this.track=i.track}}const m=new WeakMap;function r(e){return m.get(e)??z(e,{})}function z(e,t){let i=m.get(e);return i||m.set(e,i={}),Object.assign(i,t)}function y(e,t){const i=e.videoTracks;r(t).media=e,r(t).renditionSet||(r(t).renditionSet=new Set);const s=r(i).trackSet;s.add(t);const o=s.size-1;o in T.prototype||Object.defineProperty(T.prototype,o,{get(){return[...r(this).trackSet][o]}}),queueMicrotask(()=>{i.dispatchEvent(new p("addtrack",{track:t}))})}function b(e){const t=r(e).media?.videoTracks;if(!t)return;r(t).trackSet.delete(e),queueMicrotask(()=>{t.dispatchEvent(new p("removetrack",{track:e}))})}function B(e){const t=r(e).media.videoTracks??[];let i=!1;for(const s of t)s!==e&&(s.selected=!1,i=!0);if(i){if(r(t).changeRequested)return;r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,t.dispatchEvent(new Event("change"))})}}class T extends EventTarget{#t;#i;#e;constructor(){super(),r(this).trackSet=new Set}get#n(){return r(this).trackSet}[Symbol.iterator](){return this.#n.values()}get length(){return this.#n.size}getTrackById(t){return[...this.#n].find(i=>i.id===t)??null}get selectedIndex(){return[...this.#n].findIndex(t=>t.selected)}get onaddtrack(){return this.#t}set onaddtrack(t){this.#t&&(this.removeEventListener("addtrack",this.#t),this.#t=void 0),typeof t=="function"&&(this.#t=t,this.addEventListener("addtrack",t))}get onremovetrack(){return this.#i}set onremovetrack(t){this.#i&&(this.removeEventListener("removetrack",this.#i),this.#i=void 0),typeof t=="function"&&(this.#i=t,this.addEventListener("removetrack",t))}get onchange(){return this.#e}set onchange(t){this.#e&&(this.removeEventListener("change",this.#e),this.#e=void 0),typeof t=="function"&&(this.#e=t,this.addEventListener("change",t))}}class g extends Event{rendition;constructor(t,i){super(t),this.rendition=i.rendition}}function D(e,t){const i=r(e).media.videoRenditions;r(t).media=r(e).media,r(t).track=e;const s=r(e).renditionSet;s.add(t);const o=s.size-1;o in E.prototype||Object.defineProperty(E.prototype,o,{get(){return f(this)[o]}}),queueMicrotask(()=>{e.selected&&i.dispatchEvent(new g("addrendition",{rendition:t}))})}function F(e){const t=r(e).media.videoRenditions,i=r(e).track;r(i).renditionSet.delete(e),queueMicrotask(()=>{r(e).track.selected&&t.dispatchEvent(new g("removerendition",{rendition:e}))})}function N(e){const t=r(e).media.videoRenditions;!t||r(t).changeRequested||(r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,r(e).track.selected&&t.dispatchEvent(new Event("change"))}))}function f(e){return[...r(e).media.videoTracks].filter(i=>i.selected).flatMap(i=>[...r(i).renditionSet])}class E extends EventTarget{#t;#i;#e;[Symbol.iterator](){return f(this).values()}get length(){return f(this).length}getRenditionById(t){return f(this).find(i=>`${i.id}`==`${t}`)??null}get selectedIndex(){return f(this).findIndex(t=>t.selected)}set selectedIndex(t){for(const[i,s]of f(this).entries())s.selected=i===t}get onaddrendition(){return this.#t}set onaddrendition(t){this.#t&&(this.removeEventListener("addrendition",this.#t),this.#t=void 0),typeof t=="function"&&(this.#t=t,this.addEventListener("addrendition",t))}get onremoverendition(){return this.#i}set onremoverendition(t){this.#i&&(this.removeEventListener("removerendition",this.#i),this.#i=void 0),typeof t=="function"&&(this.#i=t,this.addEventListener("removerendition",t))}get onchange(){return this.#e}set onchange(t){this.#e&&(this.removeEventListener("change",this.#e),this.#e=void 0),typeof t=="function"&&(this.#e=t,this.addEventListener("change",t))}}class _{src;id;width;height;bitrate;frameRate;codec;#t=!1;get selected(){return this.#t}set selected(t){this.#t!==t&&(this.#t=t,N(this))}}class j{id;kind;label="";language="";sourceBuffer;#t=!1;addRendition(t,i,s,o,h,n){const d=new _;return d.src=t,d.width=i,d.height=s,d.frameRate=n,d.bitrate=h,d.codec=o,D(this,d),d}removeRendition(t){F(t)}get selected(){return this.#t}set selected(t){this.#t!==t&&(this.#t=t,t===!0&&B(this))}}function U(e,t){const i=r(e).media.audioRenditions;r(t).media=r(e).media,r(t).track=e;const s=r(e).renditionSet;s.add(t);const o=s.size-1;o in w.prototype||Object.defineProperty(w.prototype,o,{get(){return l(this)[o]}}),queueMicrotask(()=>{e.enabled&&i.dispatchEvent(new g("addrendition",{rendition:t}))})}function W(e){const t=r(e).media.audioRenditions,i=r(e).track;r(i).renditionSet.delete(e),queueMicrotask(()=>{r(e).track.enabled&&t.dispatchEvent(new g("removerendition",{rendition:e}))})}function G(e){const t=r(e).media.audioRenditions;!t||r(t).changeRequested||(r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,r(e).track.enabled&&t.dispatchEvent(new Event("change"))}))}function l(e){return[...r(e).media.audioTracks].filter(i=>i.enabled).flatMap(i=>[...r(i).renditionSet])}class w extends EventTarget{#t;#i;#e;[Symbol.iterator](){return l(this).values()}get length(){return l(this).length}getRenditionById(t){return l(this).find(i=>`${i.id}`==`${t}`)??null}get selectedIndex(){return l(this).findIndex(t=>t.selected)}set selectedIndex(t){for(const[i,s]of l(this).entries())s.selected=i===t}get onaddrendition(){return this.#t}set onaddrendition(t){this.#t&&(this.removeEventListener("addrendition",this.#t),this.#t=void 0),typeof t=="function"&&(this.#t=t,this.addEventListener("addrendition",t))}get onremoverendition(){return this.#i}set onremoverendition(t){this.#i&&(this.removeEventListener("removerendition",this.#i),this.#i=void 0),typeof t=="function"&&(this.#i=t,this.addEventListener("removerendition",t))}get onchange(){return this.#e}set onchange(t){this.#e&&(this.removeEventListener("change",this.#e),this.#e=void 0),typeof t=="function"&&(this.#e=t,this.addEventListener("change",t))}}class J{src;id;bitrate;codec;#t=!1;get selected(){return this.#t}set selected(t){this.#t!==t&&(this.#t=t,G(this))}}function L(e,t){const i=e.audioTracks;r(t).media=e,r(t).renditionSet||(r(t).renditionSet=new Set);const s=r(i).trackSet;s.add(t);const o=s.size-1;o in S.prototype||Object.defineProperty(S.prototype,o,{get(){return[...r(this).trackSet][o]}}),queueMicrotask(()=>{i.dispatchEvent(new p("addtrack",{track:t}))})}function R(e){const t=r(e).media?.audioTracks;if(!t)return;r(t).trackSet.delete(e),queueMicrotask(()=>{t.dispatchEvent(new p("removetrack",{track:e}))})}function K(e){const t=r(e).media.audioTracks;!t||r(t).changeRequested||(r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,t.dispatchEvent(new Event("change"))}))}class S extends EventTarget{#t;#i;#e;constructor(){super(),r(this).trackSet=new Set}get#n(){return r(this).trackSet}[Symbol.iterator](){return this.#n.values()}get length(){return this.#n.size}getTrackById(t){return[...this.#n].find(i=>i.id===t)??null}get onaddtrack(){return this.#t}set onaddtrack(t){this.#t&&(this.removeEventListener("addtrack",this.#t),this.#t=void 0),typeof t=="function"&&(this.#t=t,this.addEventListener("addtrack",t))}get onremovetrack(){return this.#i}set onremovetrack(t){this.#i&&(this.removeEventListener("removetrack",this.#i),this.#i=void 0),typeof t=="function"&&(this.#i=t,this.addEventListener("removetrack",t))}get onchange(){return this.#e}set onchange(t){this.#e&&(this.removeEventListener("change",this.#e),this.#e=void 0),typeof t=="function"&&(this.#e=t,this.addEventListener("change",t))}}class P{id;kind;label="";language="";sourceBuffer;#t=!1;addRendition(t,i,s){const o=new J;return o.src=t,o.codec=i,o.bitrate=s,U(this,o),o}removeRendition(t){W(t)}get enabled(){return this.#t}set enabled(t){this.#t!==t&&(this.#t=t,K(this))}}const A=v(globalThis.HTMLMediaElement,"video"),x=v(globalThis.HTMLMediaElement,"audio");function Z(e){if(!e?.prototype)return e;const t=v(e,"video");(!t||`${t}`.includes("[native code]"))&&Object.defineProperty(e.prototype,"videoTracks",{get(){return Q(this)}});const i=v(e,"audio");(!i||`${i}`.includes("[native code]"))&&Object.defineProperty(e.prototype,"audioTracks",{get(){return X(this)}}),"addVideoTrack"in e.prototype||(e.prototype.addVideoTrack=function(h,n="",d=""){const a=new j;return a.kind=h,a.label=n,a.language=d,y(this,a),a}),"removeVideoTrack"in e.prototype||(e.prototype.removeVideoTrack=b),"addAudioTrack"in e.prototype||(e.prototype.addAudioTrack=function(h,n="",d=""){const a=new P;return a.kind=h,a.label=n,a.language=d,L(this,a),a}),"removeAudioTrack"in e.prototype||(e.prototype.removeAudioTrack=R),"videoRenditions"in e.prototype||Object.defineProperty(e.prototype,"videoRenditions",{get(){return s(this)}});const s=h=>{let n=r(h).videoRenditions;return n||(n=new E,r(n).media=h,r(h).videoRenditions=n),n};"audioRenditions"in e.prototype||Object.defineProperty(e.prototype,"audioRenditions",{get(){return o(this)}});const o=h=>{let n=r(h).audioRenditions;return n||(n=new w,r(n).media=h,r(h).audioRenditions=n),n};return e}function v(e,t){if(e?.prototype)return Object.getOwnPropertyDescriptor(e.prototype,`${t}Tracks`)?.get}function Q(e){let t=r(e).videoTracks;if(!t&&(t=new T,r(e).videoTracks=t,A)){const i=A.call(e.nativeEl??e);for(const s of i)y(e,s);i.addEventListener("change",()=>{t.dispatchEvent(new Event("change"))}),i.addEventListener("addtrack",s=>{if([...t].some(o=>o instanceof j)){for(const o of i)b(o);return}y(e,s.track)}),i.addEventListener("removetrack",s=>{b(s.track)})}return t}function X(e){let t=r(e).audioTracks;if(!t&&(t=new S,r(e).audioTracks=t,x)){const i=x.call(e.nativeEl??e);for(const s of i)L(e,s);i.addEventListener("change",()=>{t.dispatchEvent(new Event("change"))}),i.addEventListener("addtrack",s=>{if([...t].some(o=>o instanceof P)){for(const o of i)R(o);return}L(e,s.track)}),i.addEventListener("removetrack",s=>{R(s.track)})}return t}export{Y as C,Z as M};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{a as v,R as Nn}from"./sentry-X5fa-B9t.js";import{j as Y}from"./liveblocks-Dk8esAkW.js";import{c as J,T as Qr}from"./recharts-CBey8dU2.js";import{_ as Fn,r as Dn}from"./core-Cf4O5OrX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b7c64c27-0805-4661-aed8-8f6f340887a8",e._sentryDebugIdIdentifier="sentry-dbid-b7c64c27-0805-4661-aed8-8f6f340887a8")}catch{}})();function Ln(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 Wn(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 jn=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Wn(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Ln(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Q="-ms-",dt="-moz-",_="-webkit-",Xr="comm",Zt="rule",Jt="decl",zn="@import",Zr="@keyframes",Hn="@layer",Vn=Math.abs,vt=String.fromCharCode,Gn=Object.assign;function Kn(e,t){return q(e,0)^45?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}function Jr(e){return e.trim()}function Un(e,t){return(e=t.exec(e))?e[0]:e}function M(e,t,r){return e.replace(t,r)}function Vt(e,t){return e.indexOf(t)}function q(e,t){return e.charCodeAt(t)|0}function Ge(e,t,r){return e.slice(t,r)}function se(e){return e.length}function er(e){return e.length}function ot(e,t){return t.push(e),e}function Yn(e,t){return e.map(t).join("")}var xt=1,Ie=1,en=0,X=0,G=0,Me="";function St(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:xt,column:Ie,length:s,return:""}}function Le(e,t){return Gn(St("",null,null,"",null,null,0),e,{length:-e.length},t)}function qn(){return G}function Qn(){return G=X>0?q(Me,--X):0,Ie--,G===10&&(Ie=1,xt--),G}function ee(){return G=X<en?q(Me,X++):0,Ie++,G===10&&(Ie=1,xt++),G}function ce(){return q(Me,X)}function ct(){return X}function qe(e,t){return Ge(Me,e,t)}function Ke(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 tn(e){return xt=Ie=1,en=se(Me=e),X=0,[]}function rn(e){return Me="",e}function lt(e){return Jr(qe(X-1,Gt(e===91?e+2:e===40?e+1:e)))}function Xn(e){for(;(G=ce())&&G<33;)ee();return Ke(e)>2||Ke(G)>3?"":" "}function Zn(e,t){for(;--t&&ee()&&!(G<48||G>102||G>57&&G<65||G>70&&G<97););return qe(e,ct()+(t<6&&ce()==32&&ee()==32))}function Gt(e){for(;ee();)switch(G){case e:return X;case 34:case 39:e!==34&&e!==39&&Gt(G);break;case 40:e===41&&Gt(e);break;case 92:ee();break}return X}function Jn(e,t){for(;ee()&&e+G!==57;)if(e+G===84&&ce()===47)break;return"/*"+qe(t,X-1)+"*"+vt(e===47?e:ee())}function eo(e){for(;!Ke(ce());)ee();return qe(e,X)}function to(e){return rn(ut("",null,null,null,[""],e=tn(e),0,[0],e))}function ut(e,t,r,n,o,i,s,a,l){for(var u=0,d=0,m=s,g=0,y=0,h=0,f=1,x=1,$=1,P=0,k="",w=o,R=i,S=n,C=k;x;)switch(h=P,P=ee()){case 40:if(h!=108&&q(C,m-1)==58){Vt(C+=M(lt(P),"&","&\f"),"&\f")!=-1&&($=-1);break}case 34:case 39:case 91:C+=lt(P);break;case 9:case 10:case 13:case 32:C+=Xn(h);break;case 92:C+=Zn(ct()-1,7);continue;case 47:switch(ce()){case 42:case 47:ot(ro(Jn(ee(),ct()),t,r),l);break;default:C+="/"}break;case 123*f:a[u++]=se(C)*$;case 125*f:case 59:case 0:switch(P){case 0:case 125:x=0;case 59+d:$==-1&&(C=M(C,/\f/g,"")),y>0&&se(C)-m&&ot(y>32?hr(C+";",n,r,m-1):hr(M(C," ","")+";",n,r,m-2),l);break;case 59:C+=";";default:if(ot(S=mr(C,t,r,u,d,o,a,k,w=[],R=[],m),i),P===123)if(d===0)ut(C,t,S,S,w,i,m,a,R);else switch(g===99&&q(C,3)===110?100:g){case 100:case 108:case 109:case 115:ut(e,S,S,n&&ot(mr(e,S,S,0,0,o,a,k,o,w=[],m),R),o,R,m,a,n?w:R);break;default:ut(C,S,S,S,[""],R,0,a,R)}}u=d=y=0,f=$=1,k=C="",m=s;break;case 58:m=1+se(C),y=h;default:if(f<1){if(P==123)--f;else if(P==125&&f++==0&&Qn()==125)continue}switch(C+=vt(P),P*f){case 38:$=d>0?1:(C+="\f",-1);break;case 44:a[u++]=(se(C)-1)*$,$=1;break;case 64:ce()===45&&(C+=lt(ee())),g=ce(),d=m=se(k=C+=eo(ct())),P++;break;case 45:h===45&&se(C)==2&&(f=0)}}return i}function mr(e,t,r,n,o,i,s,a,l,u,d){for(var m=o-1,g=o===0?i:[""],y=er(g),h=0,f=0,x=0;h<n;++h)for(var $=0,P=Ge(e,m+1,m=Vn(f=s[h])),k=e;$<y;++$)(k=Jr(f>0?g[$]+" "+P:M(P,/&\f/g,g[$])))&&(l[x++]=k);return St(e,t,r,o===0?Zt:a,l,u,d)}function ro(e,t,r){return St(e,t,r,Xr,vt(qn()),Ge(e,2,-2),0)}function hr(e,t,r,n){return St(e,t,r,Jt,Ge(e,0,n),Ge(e,n+1,-1),n)}function Re(e,t){for(var r="",n=er(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function no(e,t,r,n){switch(e.type){case Hn:if(e.children.length)break;case zn:case Jt:return e.return=e.return||e.value;case Xr:return"";case Zr:return e.return=e.value+"{"+Re(e.children,n)+"}";case Zt:e.value=e.props.join(",")}return se(r=Re(e.children,n))?e.return=e.value+"{"+r+"}":""}function oo(e){var t=er(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function io(e){return function(t){t.root||(t=t.return)&&e(t)}}function so(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ao=function(t,r,n){for(var o=0,i=0;o=i,i=ce(),o===38&&i===12&&(r[n]=1),!Ke(i);)ee();return qe(t,X)},co=function(t,r){var n=-1,o=44;do switch(Ke(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=ao(X-1,r,n);break;case 2:t[n]+=lt(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=vt(o)}while(o=ee());return t},lo=function(t,r){return rn(co(tn(t),r))},gr=new WeakMap,uo=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!gr.get(n))&&!o){gr.set(t,!0);for(var i=[],s=lo(r,i),a=n.props,l=0,u=0;l<s.length;l++)for(var d=0;d<a.length;d++,u++)t.props[u]=i[l]?s[l].replace(/&\f/g,a[d]):a[d]+" "+s[l]}}},fo=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function nn(e,t){switch(Kn(e,t)){case 5103:return _+"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 _+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _+e+dt+e+Q+e+e;case 6828:case 4268:return _+e+Q+e+e;case 6165:return _+e+Q+"flex-"+e+e;case 5187:return _+e+M(e,/(\w+).+(:[^]+)/,_+"box-$1$2"+Q+"flex-$1$2")+e;case 5443:return _+e+Q+"flex-item-"+M(e,/flex-|-self/,"")+e;case 4675:return _+e+Q+"flex-line-pack"+M(e,/align-content|flex-|-self/,"")+e;case 5548:return _+e+Q+M(e,"shrink","negative")+e;case 5292:return _+e+Q+M(e,"basis","preferred-size")+e;case 6060:return _+"box-"+M(e,"-grow","")+_+e+Q+M(e,"grow","positive")+e;case 4554:return _+M(e,/([^-])(transform)/g,"$1"+_+"$2")+e;case 6187:return M(M(M(e,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),e,"")+e;case 5495:case 3959:return M(e,/(image-set\([^]*)/,_+"$1$`$1");case 4968:return M(M(e,/(.+:)(flex-)?(.*)/,_+"box-pack:$3"+Q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_+e+e;case 4095:case 3583:case 4068:case 2532:return M(e,/(.+)-inline(.+)/,_+"$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(se(e)-1-t>6)switch(q(e,t+1)){case 109:if(q(e,t+4)!==45)break;case 102:return M(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+dt+(q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Vt(e,"stretch")?nn(M(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(q(e,t+1)!==115)break;case 6444:switch(q(e,se(e)-3-(~Vt(e,"!important")&&10))){case 107:return M(e,":",":"+_)+e;case 101:return M(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_+(q(e,14)===45?"inline-":"")+"box$3$1"+_+"$2$3$1"+Q+"$2box$3")+e}break;case 5936:switch(q(e,t+11)){case 114:return _+e+Q+M(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _+e+Q+M(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _+e+Q+M(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _+e+Q+e+e}return e}var po=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Jt:t.return=nn(t.value,t.length);break;case Zr:return Re([Le(t,{value:M(t.value,"@","@"+_)})],o);case Zt:if(t.length)return Yn(t.props,function(i){switch(Un(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([Le(t,{props:[M(i,/:(read-\w+)/,":"+dt+"$1")]})],o);case"::placeholder":return Re([Le(t,{props:[M(i,/:(plac\w+)/,":"+_+"input-$1")]}),Le(t,{props:[M(i,/:(plac\w+)/,":"+dt+"$1")]}),Le(t,{props:[M(i,/:(plac\w+)/,Q+"input-$1")]})],o)}return""})}},mo=[po],ho=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(f){var x=f.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var o=t.stylisPlugins||mo,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var x=f.getAttribute("data-emotion").split(" "),$=1;$<x.length;$++)i[x[$]]=!0;a.push(f)});var l,u=[uo,fo];{var d,m=[no,io(function(f){d.insert(f)})],g=oo(u.concat(o,m)),y=function(x){return Re(to(x),g)};l=function(x,$,P,k){d=P,y(x?x+"{"+$.styles+"}":$.styles),k&&(h.inserted[$.name]=!0)}}var h={key:r,sheet:new jn({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return h.sheet.hydrate(a),h},go=!0;function on(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var tr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||go===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},rr=function(t,r,n){tr(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function yo(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 bo={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,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};function sn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var vo=/[A-Z]|^ms/g,xo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,an=function(t){return t.charCodeAt(1)===45},yr=function(t){return t!=null&&typeof t!="boolean"},Ft=sn(function(e){return an(e)?e:e.replace(vo,"-$&").toLowerCase()}),br=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(xo,function(n,o,i){return ae={name:o,styles:i,next:ae},o})}return bo[t]!==1&&!an(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ue(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ae={name:r.name,styles:r.styles,next:ae},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ae={name:n.name,styles:n.styles,next:ae},n=n.next;var o=r.styles+";";return o}return So(e,t,r)}case"function":{if(e!==void 0){var i=ae,s=r(e);return ae=i,Ue(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function So(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ue(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":yr(s)&&(n+=Ft(i)+":"+br(i,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)yr(s[a])&&(n+=Ft(i)+":"+br(i,s[a])+";");else{var l=Ue(e,t,s);switch(i){case"animation":case"animationName":{n+=Ft(i)+":"+l+";";break}default:n+=i+"{"+l+"}"}}}return n}var vr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ae,Ct=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";ae=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=Ue(n,r,s)):i+=s[0];for(var a=1;a<t.length;a++)i+=Ue(n,r,t[a]),o&&(i+=s[a]);vr.lastIndex=0;for(var l="",u;(u=vr.exec(i))!==null;)l+="-"+u[1];var d=yo(i)+l;return{name:d,styles:i,next:ae}},nr={}.hasOwnProperty,cn=v.createContext(typeof HTMLElement<"u"?ho({key:"css"}):null),ac=cn.Provider,or=function(t){return v.forwardRef(function(r,n){var o=v.useContext(cn);return t(r,o,n)})},Qe=v.createContext({}),cc=function(){return v.useContext(Qe)},Co=v.useInsertionEffect?v.useInsertionEffect:function(t){t()};function wo(e){Co(e)}var Kt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ko=function(t,r){var n={};for(var o in r)nr.call(r,o)&&(n[o]=r[o]);return n[Kt]=t,n},Eo=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return tr(r,n,o),wo(function(){return rr(r,n,o)}),null},To=or(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Kt],i=[n],s="";typeof e.className=="string"?s=on(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=Ct(i,void 0,v.useContext(Qe));s+=t.key+"-"+a.name;var l={};for(var u in e)nr.call(e,u)&&u!=="css"&&u!==Kt&&(l[u]=e[u]);return l.ref=r,l.className=s,v.createElement(v.Fragment,null,v.createElement(Eo,{cache:t,serialized:a,isStringTag:typeof o=="string"}),v.createElement(o,l))}),lc=function(t,r){var n=arguments;if(r==null||!nr.call(r,"css"))return v.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=To,i[1]=ko(t,r);for(var s=2;s<o;s++)i[s]=n[s];return v.createElement.apply(null,i)},xr=v.useInsertionEffect?v.useInsertionEffect:v.useLayoutEffect,uc=or(function(e,t){var r=e.styles,n=Ct([r],void 0,v.useContext(Qe)),o=v.useRef();return xr(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),o.current=[s,a],function(){s.flush()}},[t]),xr(function(){var i=o.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(n.next!==void 0&&rr(t,n.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function $o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ct(t)}var fc=function(){var t=$o.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Po=/^((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|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ao=sn(function(e){return Po.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ro=Ao,Oo=function(t){return t!=="theme"},Sr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ro:Oo},Cr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Io=v.useInsertionEffect?v.useInsertionEffect:function(t){t()};function Bo(e){Io(e)}var _o=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return tr(r,n,o),Bo(function(){return rr(r,n,o)}),null},Mo=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var a=Cr(t,r,n),l=a||Sr(o),u=!l("as");return function(){var d=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&m.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)m.push.apply(m,d);else{m.push(d[0][0]);for(var g=d.length,y=1;y<g;y++)m.push(d[y],d[0][y])}var h=or(function(f,x,$){var P=u&&f.as||o,k="",w=[],R=f;if(f.theme==null){R={};for(var S in f)R[S]=f[S];R.theme=v.useContext(Qe)}typeof f.className=="string"?k=on(x.registered,w,f.className):f.className!=null&&(k=f.className+" ");var C=Ct(m.concat(w),x.registered,R);k+=x.key+"-"+C.name,s!==void 0&&(k+=" "+s);var B=u&&a===void 0?Sr(P):l,O={};for(var N in f)u&&N==="as"||B(N)&&(O[N]=f[N]);return O.className=k,O.ref=$,v.createElement(v.Fragment,null,v.createElement(_o,{cache:x,serialized:C,isStringTag:typeof P=="string"}),v.createElement(P,O))});return h.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=o,h.__emotion_styles=m,h.__emotion_forwardProp=a,Object.defineProperty(h,"toString",{value:function(){return"."+s}}),h.withComponent=function(f,x){return e(f,Fn({},r,x,{shouldForwardProp:Cr(h,x,!0)})).apply(void 0,m)},h}},No=["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"],Ut=Mo.bind();No.forEach(function(e){Ut[e]=Ut(e)});const pt=typeof window<"u"?v.useLayoutEffect:v.useEffect;function mt(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],a=t[i];if(!a)n[i]=s||{};else if(!s)n[i]=a;else{n[i]={...a};for(const l in s)if(Object.prototype.hasOwnProperty.call(s,l)){const u=l;n[i][u]=mt(s[u],a[u],r)}}}else i==="className"&&r&&t.className?n.className=J(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}function Fo(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:mt(t.components[r].defaultProps,n)}var Dt={exports:{}},W={};var wr;function Do(){if(wr)return W;wr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");function h(f){if(typeof f=="object"&&f!==null){var x=f.$$typeof;switch(x){case e:switch(f=f.type,f){case r:case o:case n:case l:case u:case g:return f;default:switch(f=f&&f.$$typeof,f){case s:case a:case m:case d:return f;case i:return f;default:return x}}case t:return x}}}return W.ContextConsumer=i,W.ContextProvider=s,W.Element=e,W.ForwardRef=a,W.Fragment=r,W.Lazy=m,W.Memo=d,W.Portal=t,W.Profiler=o,W.StrictMode=n,W.Suspense=l,W.SuspenseList=u,W.isContextConsumer=function(f){return h(f)===i},W.isContextProvider=function(f){return h(f)===s},W.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},W.isForwardRef=function(f){return h(f)===a},W.isFragment=function(f){return h(f)===r},W.isLazy=function(f){return h(f)===m},W.isMemo=function(f){return h(f)===d},W.isPortal=function(f){return h(f)===t},W.isProfiler=function(f){return h(f)===o},W.isStrictMode=function(f){return h(f)===n},W.isSuspense=function(f){return h(f)===l},W.isSuspenseList=function(f){return h(f)===u},W.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===r||f===o||f===n||f===l||f===u||typeof f=="object"&&f!==null&&(f.$$typeof===m||f.$$typeof===d||f.$$typeof===s||f.$$typeof===i||f.$$typeof===a||f.$$typeof===y||f.getModuleId!==void 0)},W.typeOf=h,W}var kr;function Lo(){return kr||(kr=1,Dt.exports=Do()),Dt.exports}var ln=Lo();function ue(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function un(e){if(v.isValidElement(e)||ln.isValidElementType(e)||!ue(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=un(e[r])}),t}function te(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ue(e)&&ue(t)&&Object.keys(t).forEach(o=>{v.isValidElement(t[o])||ln.isValidElementType(t[o])?n[o]=t[o]:ue(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ue(e[o])?n[o]=te(e[o],t[o],r):r.clone?n[o]=ue(t[o])?un(t[o]):t[o]:n[o]=t[o]}),n}const Wo=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function jo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Wo(t),s=Object.keys(i);function a(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function l(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function u(g,y){const h=s.indexOf(y);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:y)-n/100}${r})`}function d(g){return s.indexOf(g)+1<s.length?u(g,s[s.indexOf(g)+1]):a(g)}function m(g){const y=s.indexOf(g);return y===0?a(s[1]):y===s.length-1?l(s[y]):u(g,s[s.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:a,down:l,between:u,only:d,not:m,unit:r,...o}}function Ce(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Er(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(n.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function zo(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Ho(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Vo(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...a)=>t(e.breakpoints.up(...a),s),i.down=(...a)=>t(e.breakpoints.down(...a),s),i.between=(...a)=>t(e.breakpoints.between(...a),s),i.only=(...a)=>t(e.breakpoints.only(...a),s),i.not=(...a)=>{const l=t(e.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Go={borderRadius:4};function He(e,t){return t?te(e,t,{clone:!1}):e}const wt={xs:0,sm:600,md:900,lg:1200,xl:1536},Tr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wt[e]}px)`},Ko={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:wt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Tr;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=r(t[l]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Tr;return Object.keys(t).reduce((s,a)=>{if(zo(i.keys,a)){const l=Ho(n.containerQueries?n:Ko,a);l&&(s[l]=r(t[a],a))}else if(Object.keys(i.values||wt).includes(a)){const l=i.up(a);s[l]=r(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return r(t)}function Uo(e={}){return e.keys?.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{})||{}}function $r(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function xe(e){if(typeof e!="string")throw new Error(Ce(7));return e.charAt(0).toUpperCase()+e.slice(1)}function kt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ht(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=kt(e,r)||n,t&&(o=t(o,n,e)),o}function V(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=kt(l,n)||{};return fe(s,a,m=>{let g=ht(u,o,m);return m===g&&typeof m=="string"&&(g=ht(u,o,`${t}${m==="default"?"":xe(m)}`,m)),r===!1?g:{[r]:g}})};return i.propTypes={},i.filterProps=[t],i}function Yo(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const qo={m:"margin",p:"padding"},Qo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Pr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xo=Yo(e=>{if(e.length>2)if(Pr[e])e=Pr[e];else return[e];const[t,r]=e.split(""),n=qo[t],o=Qo[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),ir=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],sr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ir,...sr];function Xe(e,t,r,n){const o=kt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i),a=o[s];return i>=0?a:typeof a=="number"?-a:typeof a=="string"&&a.startsWith("var(")?`calc(-1 * ${a})`:`-${a}`}:typeof o=="function"?o:()=>{}}function ar(e){return Xe(e,"spacing",8)}function Ze(e,t){return typeof t=="string"||t==null?t:e(t)}function Zo(e,t){return r=>e.reduce((n,o)=>(n[o]=Ze(t,r),n),{})}function Jo(e,t,r,n){if(!t.includes(r))return null;const o=Xo(r),i=Zo(o,n),s=e[r];return fe(e,s,i)}function fn(e,t){const r=ar(e.theme);return Object.keys(e).map(n=>Jo(e,t,n,r)).reduce(He,{})}function z(e){return fn(e,ir)}z.propTypes={};z.filterProps=ir;function H(e){return fn(e,sr)}H.propTypes={};H.filterProps=sr;function dn(e=8,t=ar({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Et(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?He(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function ne(e,t){return V({prop:e,themeKey:"borders",transform:t})}const ei=ne("border",re),ti=ne("borderTop",re),ri=ne("borderRight",re),ni=ne("borderBottom",re),oi=ne("borderLeft",re),ii=ne("borderColor"),si=ne("borderTopColor"),ai=ne("borderRightColor"),ci=ne("borderBottomColor"),li=ne("borderLeftColor"),ui=ne("outline",re),fi=ne("outlineColor"),Tt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Xe(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Ze(t,n)});return fe(e,e.borderRadius,r)}return null};Tt.propTypes={};Tt.filterProps=["borderRadius"];Et(ei,ti,ri,ni,oi,ii,si,ai,ci,li,Tt,ui,fi);const $t=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Xe(e.theme,"spacing",8),r=n=>({gap:Ze(t,n)});return fe(e,e.gap,r)}return null};$t.propTypes={};$t.filterProps=["gap"];const Pt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Xe(e.theme,"spacing",8),r=n=>({columnGap:Ze(t,n)});return fe(e,e.columnGap,r)}return null};Pt.propTypes={};Pt.filterProps=["columnGap"];const At=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Xe(e.theme,"spacing",8),r=n=>({rowGap:Ze(t,n)});return fe(e,e.rowGap,r)}return null};At.propTypes={};At.filterProps=["rowGap"];const di=V({prop:"gridColumn"}),pi=V({prop:"gridRow"}),mi=V({prop:"gridAutoFlow"}),hi=V({prop:"gridAutoColumns"}),gi=V({prop:"gridAutoRows"}),yi=V({prop:"gridTemplateColumns"}),bi=V({prop:"gridTemplateRows"}),vi=V({prop:"gridTemplateAreas"}),xi=V({prop:"gridArea"});Et($t,Pt,At,di,pi,mi,hi,gi,yi,bi,vi,xi);function Oe(e,t){return t==="grey"?t:e}const Si=V({prop:"color",themeKey:"palette",transform:Oe}),Ci=V({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Oe}),wi=V({prop:"backgroundColor",themeKey:"palette",transform:Oe});Et(Si,Ci,wi);function Z(e){return e<=1&&e!==0?`${e*100}%`:e}const ki=V({prop:"width",transform:Z}),cr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||wt[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Z(r)}};return fe(e,e.maxWidth,t)}return null};cr.filterProps=["maxWidth"];const Ei=V({prop:"minWidth",transform:Z}),Ti=V({prop:"height",transform:Z}),$i=V({prop:"maxHeight",transform:Z}),Pi=V({prop:"minHeight",transform:Z});V({prop:"size",cssProperty:"width",transform:Z});V({prop:"size",cssProperty:"height",transform:Z});const Ai=V({prop:"boxSizing"});Et(ki,cr,Ei,Ti,$i,Pi,Ai);const Rt={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Tt},color:{themeKey:"palette",transform:Oe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Oe},backgroundColor:{themeKey:"palette",transform:Oe},p:{style:H},pt:{style:H},pr:{style:H},pb:{style:H},pl:{style:H},px:{style:H},py:{style:H},padding:{style:H},paddingTop:{style:H},paddingRight:{style:H},paddingBottom:{style:H},paddingLeft:{style:H},paddingX:{style:H},paddingY:{style:H},paddingInline:{style:H},paddingInlineStart:{style:H},paddingInlineEnd:{style:H},paddingBlock:{style:H},paddingBlockStart:{style:H},paddingBlockEnd:{style:H},m:{style:z},mt:{style:z},mr:{style:z},mb:{style:z},ml:{style:z},mx:{style:z},my:{style:z},margin:{style:z},marginTop:{style:z},marginRight:{style:z},marginBottom:{style:z},marginLeft:{style:z},marginX:{style:z},marginY:{style:z},marginInline:{style:z},marginInlineStart:{style:z},marginInlineEnd:{style:z},marginBlock:{style:z},marginBlockStart:{style:z},marginBlockEnd:{style:z},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:$t},rowGap:{style:At},columnGap:{style:Pt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Z},maxWidth:{style:cr},minWidth:{transform:Z},height:{transform:Z},maxHeight:{transform:Z},minHeight:{transform:Z},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 Ri(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Oi(e,t){return typeof e=="function"?e(t):e}function Ii(){function e(r,n,o,i){const s={[r]:n,theme:o},a=i[r];if(!a)return{[r]:n};const{cssProperty:l=r,themeKey:u,transform:d,style:m}=a;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const g=kt(o,u)||{};return m?m(s):fe(s,n,h=>{let f=ht(g,d,h);return h===f&&typeof h=="string"&&(f=ht(g,d,`${r}${h==="default"?"":xe(h)}`,h)),l===!1?f:{[l]:f}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const s=o.unstable_sxConfig??Rt;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const d=Uo(o.breakpoints),m=Object.keys(d);let g=d;return Object.keys(u).forEach(y=>{const h=Oi(u[y],o);if(h!=null)if(typeof h=="object")if(s[y])g=He(g,e(y,h,o,s));else{const f=fe({theme:o},h,x=>({[y]:x}));Ri(f,h)?g[y]=t({sx:h,theme:o,nested:!0}):g=He(g,f)}else g=He(g,e(y,h,o,s))}),!i&&o.modularCssLayers?{"@layer sx":Er(o,$r(m,g))}:Er(o,$r(m,g))}return Array.isArray(n)?n.map(a):a(n)}return t}const Be=Ii();Be.filterProps=["sx"];function Bi(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function lr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,a=jo(r),l=dn(o);let u=te({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...Go,...i}},s);return u=Vo(u),u.applyStyles=Bi,u=t.reduce((d,m)=>te(d,m),u),u.unstable_sxConfig={...Rt,...s?.unstable_sxConfig},u.unstable_sx=function(m){return Be({sx:m,theme:this})},u}function _i(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 Mi={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},Ni=/[A-Z]|^ms/g,Fi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pn=function(t){return t.charCodeAt(1)===45},Ar=function(t){return t!=null&&typeof t!="boolean"},Lt=so(function(e){return pn(e)?e:e.replace(Ni,"-$&").toLowerCase()}),Rr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Fi,function(n,o,i){return de={name:o,styles:i,next:de},o})}return Mi[t]!==1&&!pn(t)&&typeof r=="number"&&r!==0?r+"px":r};function gt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return de={name:o.name,styles:o.styles,next:de},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)de={name:s.name,styles:s.styles,next:de},s=s.next;var a=i.styles+";";return a}return Di(e,t,r)}}var l=r;return l}function Di(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=gt(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var a=s;Ar(a)&&(n+=Lt(i)+":"+Rr(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var l=0;l<s.length;l++)Ar(s[l])&&(n+=Lt(i)+":"+Rr(i,s[l])+";");else{var u=gt(e,t,s);switch(i){case"animation":case"animationName":{n+=Lt(i)+":"+u+";";break}default:n+=i+"{"+u+"}"}}}return n}var Or=/label:\s*([^\s;{]+)\s*(;|$)/g,de;function Li(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";de=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=gt(r,t,i);else{var s=i;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=gt(r,t,e[a]),n){var l=i;o+=l[a]}Or.lastIndex=0;for(var u="",d;(d=Or.exec(o))!==null;)u+="-"+d[1];var m=_i(o)+u;return{name:m,styles:o,next:de}}function Wi(e,t){return Ut(e,t)}function ji(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Ir=[];function Se(e){return Ir[0]=e,Li(Ir)}function zi(e){return Object.keys(e).length===0}function mn(e=null){const t=v.useContext(Qe);return!t||zi(t)?e:t}const Hi=lr();function Vi(e=Hi){return mn(e)}function Gi(e,t,r,n,o){const[i,s]=v.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return pt(()=>{if(!r)return;const a=r(e),l=()=>{s(a.matches)};return l(),a.addEventListener("change",l),()=>{a.removeEventListener("change",l)}},[e,r]),i}const Ki={...Nn},hn=Ki.useSyncExternalStore;function Ui(e,t,r,n,o){const i=v.useCallback(()=>t,[t]),s=v.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(n!==null){const{matches:d}=n(e);return()=>d}return i},[i,e,n,o,r]),[a,l]=v.useMemo(()=>{if(r===null)return[i,()=>()=>{}];const d=r(e);return[()=>d.matches,m=>(d.addEventListener("change",m),()=>{d.removeEventListener("change",m)})]},[i,r,e]);return hn(l,a,s)}function gn(e={}){const{themeId:t}=e;return function(n,o={}){let i=mn();i&&t&&(i=i[t]||i);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:a=!1,matchMedia:l=s?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:d=!1}=Fo({name:"MuiUseMediaQuery",props:o,theme:i});let m=typeof n=="function"?n(i):n;return m=m.replace(/^@media( ?)/m,""),m.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
|
|
2
|
-
`)),(hn!==void 0?Ui:Gi)(m,a,l,u,d)}}gn();const ur="$$material",dc=gn({themeId:ur}),Ye={black:"#000",white:"#fff"},Ee={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Te={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},$e={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Pe={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ae={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},We={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Yi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Br=e=>e,qi=()=>{let e=Br;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Br}}},Qi=qi(),Xi={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 Ne(e,t,r="Mui"){const n=Xi[t];return n?`${r}-${n}`:`${Qi.generate(e)}-${t}`}function Je(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Ne(e,o,r)}),n}function yn(e){const{variants:t,...r}=e,n={variants:t,style:Se(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Se(o.style))}),n}const Zi=lr();function Wt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ve(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ji(e){return e?(t,r)=>r[e]:null}function es(e,t,r){e.theme=ns(e.theme)?r:e.theme[t]||e.theme}function ft(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>ft(e,o,r));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=r?ve(n.style,r):n.style;else{const{variants:i,...s}=n;o=r?ve(Se(s),r):s}return bn(e,n.variants,[o],r)}return n?.isProcessed?r?ve(Se(n.style),r):n.style:r?ve(Se(n),r):n}function bn(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const a in s.props)if(e[a]!==s.props[a]&&e.ownerState?.[a]!==s.props[a])continue e;typeof s.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?ve(Se(s.style(o)),n):s.style(o))):r.push(n?ve(Se(s.style),n):s.style)}return r}function ts(e={}){const{themeId:t,defaultTheme:r=Zi,rootShouldForwardProp:n=Wt,slotShouldForwardProp:o=Wt}=e;function i(a){es(a,t,r)}return(a,l={})=>{ji(a,S=>S.filter(C=>C!==Be));const{name:u,slot:d,skipVariantsResolver:m,skipSx:g,overridesResolver:y=Ji(is(d)),...h}=l,f=u&&u.startsWith("Mui")||d?"components":"custom",x=m!==void 0?m:d&&d!=="Root"&&d!=="root"||!1,$=g||!1;let P=Wt;d==="Root"||d==="root"?P=n:d?P=o:os(a)&&(P=void 0);const k=Wi(a,{shouldForwardProp:P,label:rs(),...h}),w=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(B){return ft(B,S,B.theme.modularCssLayers?f:void 0)};if(ue(S)){const C=yn(S);return function(O){return C.variants?ft(O,C,O.theme.modularCssLayers?f:void 0):O.theme.modularCssLayers?ve(C.style,f):C.style}}return S},R=(...S)=>{const C=[],B=S.map(w),O=[];if(C.push(i),u&&y&&O.push(function(E){const T=E.theme.components?.[u]?.styleOverrides;if(!T)return null;const A={};for(const K in T)A[K]=ft(E,T[K],E.theme.modularCssLayers?"theme":void 0);return y(E,A)}),u&&!x&&O.push(function(E){const T=E.theme?.components?.[u]?.variants;return T?bn(E,T,[],E.theme.modularCssLayers?"theme":void 0):null}),$||O.push(Be),Array.isArray(B[0])){const c=B.shift(),E=new Array(C.length).fill(""),b=new Array(O.length).fill("");let T;T=[...E,...c,...b],T.raw=[...E,...c.raw,...b],C.unshift(T)}const N=[...C,...B,...O],L=k(...N);return a.muiName&&(L.muiName=a.muiName),L};return k.withConfig&&(R.withConfig=k.withConfig),R}}function rs(e,t){return void 0}function ns(e){for(const t in e)return!1;return!0}function os(e){return typeof e=="string"&&e.charCodeAt(0)>96}function is(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ss(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function fr(e,t=0,r=1){return ss(e,t,r)}function as(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function me(e){if(e.type)return e;if(e.charAt(0)==="#")return me(as(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(Ce(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Ce(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const cs=e=>{const t=me(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},je=(e,t)=>{try{return cs(e)}catch{return e}};function Ot(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function vn(e){e=me(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(u,d=(u+r/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Ot({type:a,values:l})}function Yt(e){e=me(e);let t=e.type==="hsl"||e.type==="hsla"?me(vn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ls(e,t){const r=Yt(e),n=Yt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function yt(e,t){return e=me(e),t=fr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ot(e)}function be(e,t,r){try{return yt(e,t)}catch{return e}}function It(e,t){if(e=me(e),t=fr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ot(e)}function F(e,t,r){try{return It(e,t)}catch{return e}}function Bt(e,t){if(e=me(e),t=fr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ot(e)}function D(e,t,r){try{return Bt(e,t)}catch{return e}}function us(e,t=.15){return Yt(e)>.5?It(e,t):Bt(e,t)}function it(e,t,r){try{return us(e,t)}catch{return e}}const fs=v.createContext(),ds=()=>v.useContext(fs)??!1,ps=v.createContext(void 0);function ms(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?mt(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?mt(o,n,t.components.mergeClassNameAndStyle):n}function hs({props:e,name:t}){const r=v.useContext(ps);return ms({props:e,name:t,theme:{components:r}})}const _r={theme:void 0};function gs(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(_r.theme=o.theme,i=yn(e(_r)),t=i,r=o.theme),i}}function ys(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Mr=(e,t,r,n=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},bs=(e,t,r)=>{function n(o,i=[],s=[]){Object.entries(o).forEach(([a,l])=>{(!r||r&&!r([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}n(e)},vs=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function jt(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return bs(e,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(a,l))){const d=`--${r?`${r}-`:""}${a.join("-")}`,m=vs(a,l);Object.assign(o,{[d]:m}),Mr(i,a,`var(${d})`,u),Mr(s,a,`var(${d}, ${m})`,u)}},a=>a[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function xs(e,t={}){const{getSelector:r=$,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:s={},components:a,defaultColorScheme:l="light",...u}=e,{vars:d,css:m,varsWithDefaults:g}=jt(u,t);let y=g;const h={},{[l]:f,...x}=s;if(Object.entries(x||{}).forEach(([w,R])=>{const{vars:S,css:C,varsWithDefaults:B}=jt(R,t);y=te(y,B),h[w]={css:C,vars:S}}),f){const{css:w,vars:R,varsWithDefaults:S}=jt(f,t);y=te(y,S),h[l]={css:w,vars:R}}function $(w,R){let S=o;if(o==="class"&&(S=".%s"),o==="data"&&(S="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(S=`[${o}="%s"]`),w){if(S==="media")return e.defaultColorScheme===w?":root":{[`@media (prefers-color-scheme: ${s[w]?.palette?.mode||w})`]:{":root":R}};if(S)return e.defaultColorScheme===w?`:root, ${S.replace("%s",String(w))}`:S.replace("%s",String(w))}return":root"}return{vars:y,generateThemeVars:()=>{let w={...d};return Object.entries(h).forEach(([,{vars:R}])=>{w=te(w,R)}),w},generateStyleSheets:()=>{const w=[],R=e.defaultColorScheme||"light";function S(O,N){Object.keys(N).length&&w.push(typeof O=="string"?{[O]:{...N}}:O)}S(r(void 0,{...m}),m);const{[R]:C,...B}=h;if(C){const{css:O}=C,N=s[R]?.palette?.mode,L=!n&&N?{colorScheme:N,...O}:{...O};S(r(R,{...L}),L)}return Object.entries(B).forEach(([O,{css:N}])=>{const L=s[O]?.palette?.mode,c=!n&&L?{colorScheme:L,...N}:{...N};S(r(O,{...c}),c)}),i&&w.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),w}}}function Ss(e){return function(r){return e==="media"?`@media (prefers-color-scheme: ${r})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function et(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",a=!0;for(let l=0;l<i.length;l+=1){const u=i[l];u&&(s+=(a===!0?"":" ")+t(u),a=!1,r&&r[u]&&(s+=" "+r[u]))}n[o]=s}return n}function xn(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ye.white,default:Ye.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Sn=xn();function Cn(){return{text:{primary:Ye.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ye.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const qt=Cn();function Nr(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Bt(e.main,o):t==="dark"&&(e.dark=It(e.main,i)))}function Fr(e,t,r,n,o){const i=o.light||o,s=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(s*100).toFixed(0)}%)`))}function Cs(e="light"){return e==="dark"?{main:$e[200],light:$e[50],dark:$e[400]}:{main:$e[700],light:$e[400],dark:$e[800]}}function ws(e="light"){return e==="dark"?{main:Te[200],light:Te[50],dark:Te[400]}:{main:Te[500],light:Te[300],dark:Te[700]}}function ks(e="light"){return e==="dark"?{main:Ee[500],light:Ee[300],dark:Ee[700]}:{main:Ee[700],light:Ee[400],dark:Ee[800]}}function Es(e="light"){return e==="dark"?{main:Pe[400],light:Pe[300],dark:Pe[700]}:{main:Pe[700],light:Pe[500],dark:Pe[900]}}function Ts(e="light"){return e==="dark"?{main:Ae[400],light:Ae[300],dark:Ae[700]}:{main:Ae[800],light:Ae[500],dark:Ae[900]}}function $s(e="light"){return e==="dark"?{main:We[400],light:We[300],dark:We[700]}:{main:"#ed6c02",light:We[500],dark:We[900]}}function Ps(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function dr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,s=e.primary||Cs(t),a=e.secondary||ws(t),l=e.error||ks(t),u=e.info||Es(t),d=e.success||Ts(t),m=e.warning||$s(t);function g(x){return o?Ps(x):ls(x,qt.text.primary)>=r?qt.text.primary:Sn.text.primary}const y=({color:x,name:$,mainShade:P=500,lightShade:k=300,darkShade:w=700})=>{if(x={...x},!x.main&&x[P]&&(x.main=x[P]),!x.hasOwnProperty("main"))throw new Error(Ce(11,$?` (${$})`:"",P));if(typeof x.main!="string")throw new Error(Ce(12,$?` (${$})`:"",JSON.stringify(x.main)));return o?(Fr(o,x,"light",k,n),Fr(o,x,"dark",w,n)):(Nr(x,"light",k,n),Nr(x,"dark",w,n)),x.contrastText||(x.contrastText=g(x.main)),x};let h;return t==="light"?h=xn():t==="dark"&&(h=Cn()),te({common:{...Ye},mode:t,primary:y({color:s,name:"primary"}),secondary:y({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:l,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:u,name:"info"}),success:y({color:d,name:"success"}),grey:Yi,contrastThreshold:r,getContrastText:g,augmentColor:y,tonalOffset:n,...h},i)}function As(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Rs(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Os(e){return Math.round(e*1e5)/1e5}const Dr={textTransform:"uppercase"},Lr='"Roboto", "Helvetica", "Arial", sans-serif';function Is(e,t){const{fontFamily:r=Lr,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:u,pxToRem:d,...m}=typeof t=="function"?t(e):t,g=n/14,y=d||(x=>`${x/l*g}rem`),h=(x,$,P,k,w)=>({fontFamily:r,fontWeight:x,fontSize:y($),lineHeight:P,...r===Lr?{letterSpacing:`${Os(k/$)}em`}:{},...w,...u}),f={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Dr),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Dr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return te({htmlFontSize:l,pxToRem:y,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:a,...f},m,{clone:!1})}const Bs=.2,_s=.14,Ms=.12;function j(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Bs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_s})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ms})`].join(",")}const Ns=["none",j(0,2,1,-1,0,1,1,0,0,1,3,0),j(0,3,1,-2,0,2,2,0,0,1,5,0),j(0,3,3,-2,0,3,4,0,0,1,8,0),j(0,2,4,-1,0,4,5,0,0,1,10,0),j(0,3,5,-1,0,5,8,0,0,1,14,0),j(0,3,5,-1,0,6,10,0,0,1,18,0),j(0,4,5,-2,0,7,10,1,0,2,16,1),j(0,5,5,-3,0,8,10,1,0,3,14,2),j(0,5,6,-3,0,9,12,1,0,3,16,2),j(0,6,6,-3,0,10,14,1,0,4,18,3),j(0,6,7,-4,0,11,15,1,0,4,20,3),j(0,7,8,-4,0,12,17,2,0,5,22,4),j(0,7,8,-4,0,13,19,2,0,5,24,4),j(0,7,9,-4,0,14,21,2,0,5,26,4),j(0,8,9,-5,0,15,22,2,0,6,28,5),j(0,8,10,-5,0,16,24,2,0,6,30,5),j(0,8,11,-5,0,17,26,2,0,6,32,5),j(0,9,11,-5,0,18,28,2,0,7,34,6),j(0,9,12,-6,0,19,29,2,0,7,36,6),j(0,10,13,-6,0,20,31,3,0,8,38,7),j(0,10,13,-6,0,21,33,3,0,8,40,7),j(0,10,14,-6,0,22,35,3,0,8,42,7),j(0,11,14,-7,0,23,36,3,0,9,44,8),j(0,11,15,-7,0,24,38,3,0,9,46,8)],Fs={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ds={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Wr(e){return`${Math.round(e)}ms`}function Ls(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Ws(e){const t={...Fs,...e.easing},r={...Ds,...e.duration};return{getAutoHeightDuration:Ls,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:a=t.easeInOut,delay:l=0,...u}=i;return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof s=="string"?s:Wr(s)} ${a} ${typeof l=="string"?l:Wr(l)}`).join(",")},...e,easing:t,duration:r}}const js={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function zs(e){return ue(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function wn(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[s,a]=o[i];!zs(a)||s.startsWith("unstable_")?delete n[s]:ue(a)&&(n[s]={...a},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
3
|
-
|
|
4
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
5
|
-
|
|
6
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
7
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
8
|
-
|
|
9
|
-
export default theme;`}function jr(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Hs=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function Vs(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:yt(t,Hs(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${jr(r)})`:Bt(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${jr(r)})`:It(t,r)}})}function Qt(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:s={},typography:a={},shape:l,colorSpace:u,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(Ce(20));const m=dr({...i,colorSpace:u}),g=lr(e);let y=te(g,{mixins:Rs(g.breakpoints,n),palette:m,shadows:Ns.slice(),typography:Is(m,a),transitions:Ws(s),zIndex:{...js}});return y=te(y,d),y=t.reduce((h,f)=>te(h,f),y),y.unstable_sxConfig={...Rt,...d?.unstable_sxConfig},y.unstable_sx=function(f){return Be({sx:f,theme:this})},y.toRuntimeSource=wn,Vs(y),y}function Xt(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Gs=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Xt(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function kn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function En(e){return e==="dark"?Gs:[]}function Ks(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,s=dr({...t,colorSpace:o});return{palette:s,opacity:{...kn(s.mode),...r},overlays:n||En(s.mode),...i}}function Us(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Ys=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],qs=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return Ys(e.cssVarPrefix).forEach(a=>{s[a]=r[a],delete r[a]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:i?{[i.replace("%s",t)]:s,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...s}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Qs(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function p(e,t,r){!e[t]&&r&&(e[t]=r)}function ze(e){return typeof e!="string"||!e.startsWith("hsl")?e:vn(e)}function le(e,t){`${t}Channel`in e||(e[`${t}Channel`]=je(ze(e[t])))}function Xs(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ie=e=>{try{return e()}catch{}},Zs=(e="mui")=>ys(e);function zt(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Ks({...r,palette:{mode:i,...r?.palette},colorSpace:e});return}const{palette:s,...a}=Qt({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:s,opacity:{...kn(i),...r?.opacity},overlays:r?.overlays||En(i)},a}function Js(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:a=Us,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...d}=e,m=Object.keys(r)[0],g=n||(r.light&&m!=="light"?"light":m),y=Zs(i),{[g]:h,light:f,dark:x,...$}=r,P={...$};let k=h;if((g==="dark"&&!("dark"in r)||g==="light"&&!("light"in r))&&(k=!0),!k)throw new Error(Ce(21,g));let w;s&&(w="oklch");const R=zt(w,P,k,d,g);f&&!P.light&&zt(w,P,f,void 0,"light"),x&&!P.dark&&zt(w,P,x,void 0,"dark");let S={defaultColorScheme:g,...R,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:u,getCssVar:y,colorSchemes:P,font:{...As(R.typography),...R.font},spacing:Xs(d.spacing)};Object.keys(S.colorSchemes).forEach(L=>{const c=S.colorSchemes[L].palette,E=T=>{const A=T.split("-"),K=A[1],I=A[2];return y(T,c[K][I])};c.mode==="light"&&(p(c.common,"background","#fff"),p(c.common,"onBackground","#000")),c.mode==="dark"&&(p(c.common,"background","#000"),p(c.common,"onBackground","#fff"));function b(T,A,K){if(w){let I;return T===be&&(I=`transparent ${((1-K)*100).toFixed(0)}%`),T===F&&(I=`#000 ${(K*100).toFixed(0)}%`),T===D&&(I=`#fff ${(K*100).toFixed(0)}%`),`color-mix(in ${w}, ${A}, ${I})`}return T(A,K)}if(Qs(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){p(c.Alert,"errorColor",b(F,c.error.light,.6)),p(c.Alert,"infoColor",b(F,c.info.light,.6)),p(c.Alert,"successColor",b(F,c.success.light,.6)),p(c.Alert,"warningColor",b(F,c.warning.light,.6)),p(c.Alert,"errorFilledBg",E("palette-error-main")),p(c.Alert,"infoFilledBg",E("palette-info-main")),p(c.Alert,"successFilledBg",E("palette-success-main")),p(c.Alert,"warningFilledBg",E("palette-warning-main")),p(c.Alert,"errorFilledColor",ie(()=>c.getContrastText(c.error.main))),p(c.Alert,"infoFilledColor",ie(()=>c.getContrastText(c.info.main))),p(c.Alert,"successFilledColor",ie(()=>c.getContrastText(c.success.main))),p(c.Alert,"warningFilledColor",ie(()=>c.getContrastText(c.warning.main))),p(c.Alert,"errorStandardBg",b(D,c.error.light,.9)),p(c.Alert,"infoStandardBg",b(D,c.info.light,.9)),p(c.Alert,"successStandardBg",b(D,c.success.light,.9)),p(c.Alert,"warningStandardBg",b(D,c.warning.light,.9)),p(c.Alert,"errorIconColor",E("palette-error-main")),p(c.Alert,"infoIconColor",E("palette-info-main")),p(c.Alert,"successIconColor",E("palette-success-main")),p(c.Alert,"warningIconColor",E("palette-warning-main")),p(c.AppBar,"defaultBg",E("palette-grey-100")),p(c.Avatar,"defaultBg",E("palette-grey-400")),p(c.Button,"inheritContainedBg",E("palette-grey-300")),p(c.Button,"inheritContainedHoverBg",E("palette-grey-A100")),p(c.Chip,"defaultBorder",E("palette-grey-400")),p(c.Chip,"defaultAvatarColor",E("palette-grey-700")),p(c.Chip,"defaultIconColor",E("palette-grey-700")),p(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),p(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),p(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),p(c.LinearProgress,"primaryBg",b(D,c.primary.main,.62)),p(c.LinearProgress,"secondaryBg",b(D,c.secondary.main,.62)),p(c.LinearProgress,"errorBg",b(D,c.error.main,.62)),p(c.LinearProgress,"infoBg",b(D,c.info.main,.62)),p(c.LinearProgress,"successBg",b(D,c.success.main,.62)),p(c.LinearProgress,"warningBg",b(D,c.warning.main,.62)),p(c.Skeleton,"bg",w?b(be,c.text.primary,.11):`rgba(${E("palette-text-primaryChannel")} / 0.11)`),p(c.Slider,"primaryTrack",b(D,c.primary.main,.62)),p(c.Slider,"secondaryTrack",b(D,c.secondary.main,.62)),p(c.Slider,"errorTrack",b(D,c.error.main,.62)),p(c.Slider,"infoTrack",b(D,c.info.main,.62)),p(c.Slider,"successTrack",b(D,c.success.main,.62)),p(c.Slider,"warningTrack",b(D,c.warning.main,.62));const T=w?b(F,c.background.default,.6825):it(c.background.default,.8);p(c.SnackbarContent,"bg",T),p(c.SnackbarContent,"color",ie(()=>w?qt.text.primary:c.getContrastText(T))),p(c.SpeedDialAction,"fabHoverBg",it(c.background.paper,.15)),p(c.StepConnector,"border",E("palette-grey-400")),p(c.StepContent,"border",E("palette-grey-400")),p(c.Switch,"defaultColor",E("palette-common-white")),p(c.Switch,"defaultDisabledColor",E("palette-grey-100")),p(c.Switch,"primaryDisabledColor",b(D,c.primary.main,.62)),p(c.Switch,"secondaryDisabledColor",b(D,c.secondary.main,.62)),p(c.Switch,"errorDisabledColor",b(D,c.error.main,.62)),p(c.Switch,"infoDisabledColor",b(D,c.info.main,.62)),p(c.Switch,"successDisabledColor",b(D,c.success.main,.62)),p(c.Switch,"warningDisabledColor",b(D,c.warning.main,.62)),p(c.TableCell,"border",b(D,b(be,c.divider,1),.88)),p(c.Tooltip,"bg",b(be,c.grey[700],.92))}if(c.mode==="dark"){p(c.Alert,"errorColor",b(D,c.error.light,.6)),p(c.Alert,"infoColor",b(D,c.info.light,.6)),p(c.Alert,"successColor",b(D,c.success.light,.6)),p(c.Alert,"warningColor",b(D,c.warning.light,.6)),p(c.Alert,"errorFilledBg",E("palette-error-dark")),p(c.Alert,"infoFilledBg",E("palette-info-dark")),p(c.Alert,"successFilledBg",E("palette-success-dark")),p(c.Alert,"warningFilledBg",E("palette-warning-dark")),p(c.Alert,"errorFilledColor",ie(()=>c.getContrastText(c.error.dark))),p(c.Alert,"infoFilledColor",ie(()=>c.getContrastText(c.info.dark))),p(c.Alert,"successFilledColor",ie(()=>c.getContrastText(c.success.dark))),p(c.Alert,"warningFilledColor",ie(()=>c.getContrastText(c.warning.dark))),p(c.Alert,"errorStandardBg",b(F,c.error.light,.9)),p(c.Alert,"infoStandardBg",b(F,c.info.light,.9)),p(c.Alert,"successStandardBg",b(F,c.success.light,.9)),p(c.Alert,"warningStandardBg",b(F,c.warning.light,.9)),p(c.Alert,"errorIconColor",E("palette-error-main")),p(c.Alert,"infoIconColor",E("palette-info-main")),p(c.Alert,"successIconColor",E("palette-success-main")),p(c.Alert,"warningIconColor",E("palette-warning-main")),p(c.AppBar,"defaultBg",E("palette-grey-900")),p(c.AppBar,"darkBg",E("palette-background-paper")),p(c.AppBar,"darkColor",E("palette-text-primary")),p(c.Avatar,"defaultBg",E("palette-grey-600")),p(c.Button,"inheritContainedBg",E("palette-grey-800")),p(c.Button,"inheritContainedHoverBg",E("palette-grey-700")),p(c.Chip,"defaultBorder",E("palette-grey-700")),p(c.Chip,"defaultAvatarColor",E("palette-grey-300")),p(c.Chip,"defaultIconColor",E("palette-grey-300")),p(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),p(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),p(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),p(c.LinearProgress,"primaryBg",b(F,c.primary.main,.5)),p(c.LinearProgress,"secondaryBg",b(F,c.secondary.main,.5)),p(c.LinearProgress,"errorBg",b(F,c.error.main,.5)),p(c.LinearProgress,"infoBg",b(F,c.info.main,.5)),p(c.LinearProgress,"successBg",b(F,c.success.main,.5)),p(c.LinearProgress,"warningBg",b(F,c.warning.main,.5)),p(c.Skeleton,"bg",w?b(be,c.text.primary,.13):`rgba(${E("palette-text-primaryChannel")} / 0.13)`),p(c.Slider,"primaryTrack",b(F,c.primary.main,.5)),p(c.Slider,"secondaryTrack",b(F,c.secondary.main,.5)),p(c.Slider,"errorTrack",b(F,c.error.main,.5)),p(c.Slider,"infoTrack",b(F,c.info.main,.5)),p(c.Slider,"successTrack",b(F,c.success.main,.5)),p(c.Slider,"warningTrack",b(F,c.warning.main,.5));const T=w?b(D,c.background.default,.985):it(c.background.default,.98);p(c.SnackbarContent,"bg",T),p(c.SnackbarContent,"color",ie(()=>w?Sn.text.primary:c.getContrastText(T))),p(c.SpeedDialAction,"fabHoverBg",it(c.background.paper,.15)),p(c.StepConnector,"border",E("palette-grey-600")),p(c.StepContent,"border",E("palette-grey-600")),p(c.Switch,"defaultColor",E("palette-grey-300")),p(c.Switch,"defaultDisabledColor",E("palette-grey-600")),p(c.Switch,"primaryDisabledColor",b(F,c.primary.main,.55)),p(c.Switch,"secondaryDisabledColor",b(F,c.secondary.main,.55)),p(c.Switch,"errorDisabledColor",b(F,c.error.main,.55)),p(c.Switch,"infoDisabledColor",b(F,c.info.main,.55)),p(c.Switch,"successDisabledColor",b(F,c.success.main,.55)),p(c.Switch,"warningDisabledColor",b(F,c.warning.main,.55)),p(c.TableCell,"border",b(F,b(be,c.divider,1),.68)),p(c.Tooltip,"bg",b(be,c.grey[700],.92))}le(c.background,"default"),le(c.background,"paper"),le(c.common,"background"),le(c.common,"onBackground"),le(c,"divider"),Object.keys(c).forEach(T=>{const A=c[T];T!=="tonalOffset"&&A&&typeof A=="object"&&(A.main&&p(c[T],"mainChannel",je(ze(A.main))),A.light&&p(c[T],"lightChannel",je(ze(A.light))),A.dark&&p(c[T],"darkChannel",je(ze(A.dark))),A.contrastText&&p(c[T],"contrastTextChannel",je(ze(A.contrastText))),T==="text"&&(le(c[T],"primary"),le(c[T],"secondary")),T==="action"&&(A.active&&le(c[T],"active"),A.selected&&le(c[T],"selected")))})}),S=t.reduce((L,c)=>te(L,c),S);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:qs(S),enableContrastVars:s},{vars:B,generateThemeVars:O,generateStyleSheets:N}=xs(S,C);return S.vars=B,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([L,c])=>{S[L]=c}),S.generateThemeVars=O,S.generateStyleSheets=N,S.generateSpacing=function(){return dn(d.spacing,ar(this))},S.getColorSchemeSelector=Ss(l),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=a,S.unstable_sxConfig={...Rt,...d?.unstable_sxConfig},S.unstable_sx=function(c){return Be({sx:c,theme:this})},S.toRuntimeSource=wn,S}function zr(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:dr({...r===!0?{}:r.palette,mode:t})})}function ea(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r?.mode,...s}=e,a=i||"light",l=o?.[a],u={...o,...r?{[a]:{...typeof l!="boolean"&&l,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Qt(e,...t);let d=r;"palette"in e||u[a]&&(u[a]!==!0?d=u[a].palette:a==="dark"&&(d={mode:"dark"}));const m=Qt({...e,palette:d},...t);return m.defaultColorScheme=a,m.colorSchemes=u,m.palette.mode==="light"&&(m.colorSchemes.light={...u.light!==!0&&u.light,palette:m.palette},zr(m,"dark",u.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:m.palette},zr(m,"light",u.light)),m}return!r&&!("light"in u)&&a==="light"&&(u.light=!0),Js({...s,colorSchemes:u,defaultColorScheme:a,...typeof n!="boolean"&&n},...t)}const Tn=ea();function _t(){const e=Vi(Tn);return e[ur]||e}function ta(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const $n=e=>ta(e)&&e!=="classes",he=ts({themeId:ur,defaultTheme:Tn,rootShouldForwardProp:$n});function Hr(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}const tt=gs;function rt(e){return hs(e)}function ra(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function we(e){return e&&e.ownerDocument||document}function _e(e){return we(e).defaultView||window}function Vr(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Gr(e){const t=v.useRef(e);return pt(()=>{t.current=e}),v.useRef((...r)=>(0,t.current)(...r)).current}function Fe(...e){const t=v.useRef(void 0),r=v.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const s=i,a=s(n);return typeof a=="function"?a:()=>{s(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i?.())}},e);return v.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function na(e,t){const r=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&r>=65&&r<=90&&typeof t=="function"}function oa(e,t){if(!e)return t;function r(s,a){const l={};return Object.keys(a).forEach(u=>{na(u,a[u])&&typeof s[u]=="function"&&(l[u]=(...d)=>{s[u](...d),a[u](...d)})}),l}if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=J(s?.className,a?.className,l?.className),d=r(l,a);return{...a,...l,...d,...!!u&&{className:u},...a?.style&&l?.style&&{style:{...a.style,...l.style}},...a?.sx&&l?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,o=r(e,n),i=J(n?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const Pn=e=>e.scrollTop;function bt(e,t){const{timeout:r,easing:n,style:o={}}=e;return{duration:o.transitionDuration??(typeof r=="number"?r:r[t.mode]||0),easing:o.transitionTimingFunction??(typeof n=="object"?n[t.mode]:n),delay:o.transitionDelay}}function ia(e){return typeof e=="string"}function sa(e,t,r){return e===void 0||ia(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function aa(e,t,r){return typeof e=="function"?e(t,r):e}function An(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Kr(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function ca(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const y=J(r?.className,i,o?.className,n?.className),h={...r?.style,...o?.style,...n?.style},f={...r,...o,...n};return y.length>0&&(f.className=y),Object.keys(h).length>0&&(f.style=h),{props:f,internalRef:void 0}}const s=An({...o,...n}),a=Kr(n),l=Kr(o),u=t(s),d=J(u?.className,r?.className,i,o?.className,n?.className),m={...u?.style,...r?.style,...o?.style,...n?.style},g={...u,...r,...l,...a};return d.length>0&&(g.className=d),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:u.ref}}function pe(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:i,internalForwardedProps:s,shouldForwardComponentProp:a=!1,...l}=t,{component:u,slots:d={[e]:void 0},slotProps:m={[e]:void 0},...g}=i,y=d[e]||n,h=aa(m[e],o),{props:{component:f,...x},internalRef:$}=ca({className:r,...l,externalForwardedProps:e==="root"?g:void 0,externalSlotProps:h}),P=Fe($,h?.ref,t.ref),k=e==="root"?f||u:f,w=sa(y,{...e==="root"&&!u&&!d[e]&&s,...e!=="root"&&!d[e]&&s,...x,...k&&!a&&{as:k},...k&&a&&{component:k},ref:P},o);return[y,w]}function la(e){return Ne("MuiPaper",e)}Je("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ua=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return et(i,la,o)},fa=he("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),da=v.forwardRef(function(t,r){const n=rt({props:t,name:"MuiPaper"}),o=_t(),{className:i,component:s="div",elevation:a=1,square:l=!1,variant:u="elevation",...d}=n,m={...n,component:s,elevation:a,square:l,variant:u},g=ua(m);return Y.jsx(fa,{as:s,ownerState:m,className:J(g.root,i),ref:r,...d,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[a],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[a]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${yt("#fff",Xt(a))}, ${yt("#fff",Xt(a))})`}},...d.style}})});function Mt(e){return parseInt(v.version,10)>=19?e?.props?.ref||null:e?.ref||null}function pa(e){return typeof e=="function"?e():e}const ma=v.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[s,a]=v.useState(null),l=Fe(v.isValidElement(n)?Mt(n):null,r);if(pt(()=>{i||a(pa(o)||document.body)},[o,i]),pt(()=>{if(s&&!i)return Vr(r,s),()=>{Vr(r,null)}},[r,s,i]),i){if(v.isValidElement(n)){const u={ref:l};return v.cloneElement(n,u)}return n}return s&&Dn.createPortal(n,s)}),ha={entering:{opacity:1},entered:{opacity:1}},ga=v.forwardRef(function(t,r){const n=_t(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:u,onEnter:d,onEntered:m,onEntering:g,onExit:y,onExited:h,onExiting:f,style:x,timeout:$=o,TransitionComponent:P=Qr,...k}=t,w=v.useRef(null),R=Fe(w,Mt(a),r),S=b=>T=>{if(b){const A=w.current;T===void 0?b(A):b(A,T)}},C=S(g),B=S((b,T)=>{Pn(b);const A=bt({style:x,timeout:$,easing:l},{mode:"enter"});b.style.webkitTransition=n.transitions.create("opacity",A),b.style.transition=n.transitions.create("opacity",A),d&&d(b,T)}),O=S(m),N=S(f),L=S(b=>{const T=bt({style:x,timeout:$,easing:l},{mode:"exit"});b.style.webkitTransition=n.transitions.create("opacity",T),b.style.transition=n.transitions.create("opacity",T),y&&y(b)}),c=S(h),E=b=>{i&&i(w.current,b)};return Y.jsx(P,{appear:s,in:u,nodeRef:w,onEnter:B,onEntered:O,onEntering:C,onExit:L,onExited:c,onExiting:N,addEndListener:E,timeout:$,...k,children:(b,{ownerState:T,...A})=>v.cloneElement(a,{style:{opacity:0,visibility:b==="exited"&&!u?"hidden":void 0,...ha[b],...x,...a.props.style},ref:R,...A})})});function ya(e){return Ne("MuiBackdrop",e)}Je("MuiBackdrop",["root","invisible"]);const ba=e=>{const{classes:t,invisible:r}=e;return et({root:["root",r&&"invisible"]},ya,t)},va=he("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),xa=v.forwardRef(function(t,r){const n=rt({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:a=!1,open:l,components:u={},componentsProps:d={},slotProps:m={},slots:g={},TransitionComponent:y,transitionDuration:h,...f}=n,x={...n,component:s,invisible:a},$=ba(x),P={transition:y,root:u.Root,...g},k={...d,...m},w={component:s,slots:P,slotProps:k},[R,S]=pe("root",{elementType:va,externalForwardedProps:w,className:J($.root,i),ownerState:x}),[C,B]=pe("transition",{elementType:ga,externalForwardedProps:w,ownerState:x});return Y.jsx(C,{in:l,timeout:h,...f,...B,children:Y.jsx(R,{"aria-hidden":!0,...S,classes:$,ref:r,children:o})})}),Sa=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t}),Ca=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});function wa(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function ka(e){const t=we(e);return t.body===e?_e(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ve(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ur(e){return parseInt(_e(e).getComputedStyle(e).paddingRight,10)||0}function Ea(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Yr(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,s=>{const a=!i.includes(s),l=!Ea(s);a&&l&&Ve(s,o)})}function Ht(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function Ta(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(ka(n)){const s=wa(_e(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Ur(n)+s}px`;const a=we(n).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ur(l)+s}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=we(n).body;else{const s=n.parentElement,a=_e(n);i=s?.nodeName==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function $a(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Pa{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&Ve(t.modalRef,!1);const o=$a(r);Yr(r,t.mount,t.modalRef,o,!0);const i=Ht(this.containers,s=>s.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=Ht(this.containers,i=>i.modals.includes(t)),o=this.containers[n];o.restore||(o.restore=Ta(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=Ht(this.containers,s=>s.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Ve(t.modalRef,r),Yr(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Ve(s.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Aa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ra(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Oa(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Ia(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Oa(e))}function Ba(e){const t=[],r=[];return Array.from(e.querySelectorAll(Aa)).forEach((n,o)=>{const i=Ra(n);i===-1||!Ia(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function _a(){return!0}function Ma(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=Ba,isEnabled:s=_a,open:a}=e,l=v.useRef(!1),u=v.useRef(null),d=v.useRef(null),m=v.useRef(null),g=v.useRef(null),y=v.useRef(!1),h=v.useRef(null),f=Fe(Mt(t),h),x=v.useRef(null);v.useEffect(()=>{!a||!h.current||(y.current=!r)},[r,a]),v.useEffect(()=>{if(!a||!h.current)return;const k=we(h.current);return h.current.contains(k.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),y.current&&h.current.focus()),()=>{o||(m.current&&m.current.focus&&(l.current=!0,m.current.focus()),m.current=null)}},[a]),v.useEffect(()=>{if(!a||!h.current)return;const k=we(h.current),w=C=>{x.current=C,!(n||!s()||C.key!=="Tab")&&k.activeElement===h.current&&C.shiftKey&&(l.current=!0,d.current&&d.current.focus())},R=()=>{const C=h.current;if(C===null)return;if(!k.hasFocus()||!s()||l.current){l.current=!1;return}if(C.contains(k.activeElement)||n&&k.activeElement!==u.current&&k.activeElement!==d.current)return;if(k.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!y.current)return;let B=[];if((k.activeElement===u.current||k.activeElement===d.current)&&(B=i(h.current)),B.length>0){const O=!!(x.current?.shiftKey&&x.current?.key==="Tab"),N=B[0],L=B[B.length-1];typeof N!="string"&&typeof L!="string"&&(O?L.focus():N.focus())}else C.focus()};k.addEventListener("focusin",R),k.addEventListener("keydown",w,!0);const S=setInterval(()=>{k.activeElement&&k.activeElement.tagName==="BODY"&&R()},50);return()=>{clearInterval(S),k.removeEventListener("focusin",R),k.removeEventListener("keydown",w,!0)}},[r,n,o,s,a,i]);const $=k=>{m.current===null&&(m.current=k.relatedTarget),y.current=!0,g.current=k.target;const w=t.props.onFocus;w&&w(k)},P=k=>{m.current===null&&(m.current=k.relatedTarget),y.current=!0};return Y.jsxs(v.Fragment,{children:[Y.jsx("div",{tabIndex:a?0:-1,onFocus:P,ref:u,"data-testid":"sentinelStart"}),v.cloneElement(t,{ref:f,onFocus:$}),Y.jsx("div",{tabIndex:a?0:-1,onFocus:P,ref:d,"data-testid":"sentinelEnd"})]})}function Na(e){return typeof e=="function"?e():e}function Fa(e){return e?e.props.hasOwnProperty("in"):!1}const qr=()=>{},st=new Pa;function Da(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:a,onClose:l,open:u,rootRef:d}=e,m=v.useRef({}),g=v.useRef(null),y=v.useRef(null),h=Fe(y,d),[f,x]=v.useState(!u),$=Fa(a);let P=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(P=!1);const k=()=>we(g.current),w=()=>(m.current.modalRef=y.current,m.current.mount=g.current,m.current),R=()=>{st.mount(w(),{disableScrollLock:n}),y.current&&(y.current.scrollTop=0)},S=Gr(()=>{const T=Na(t)||k().body;st.add(w(),T),y.current&&R()}),C=()=>st.isTopModal(w()),B=Gr(T=>{g.current=T,T&&(u&&C()?R():y.current&&Ve(y.current,P))}),O=v.useCallback(()=>{st.remove(w(),P)},[P]);v.useEffect(()=>()=>{O()},[O]),v.useEffect(()=>{u?S():(!$||!o)&&O()},[u,O,$,o,S]);const N=T=>A=>{T.onKeyDown?.(A),!(A.key!=="Escape"||A.which===229||!C())&&(r||(A.stopPropagation(),l&&l(A,"escapeKeyDown")))},L=T=>A=>{T.onClick?.(A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(T={})=>{const A=An(e);delete A.onTransitionEnter,delete A.onTransitionExited;const K={...A,...T};return{role:"presentation",...K,onKeyDown:N(K),ref:h}},getBackdropProps:(T={})=>{const A=T;return{"aria-hidden":!0,...A,onClick:L(A),open:u}},getTransitionProps:()=>{const T=()=>{x(!1),i&&i()},A=()=>{x(!0),s&&s(),o&&O()};return{onEnter:Hr(T,a?.props.onEnter??qr),onExited:Hr(A,a?.props.onExited??qr)}},rootRef:h,portalRef:B,isTopModal:C,exited:f,hasTransition:$}}function La(e){return Ne("MuiModal",e)}Je("MuiModal",["root","hidden","backdrop"]);const Wa=e=>{const{open:t,exited:r,classes:n}=e;return et({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},La,n)},ja=he("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(tt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),za=he(xa,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Ha=v.forwardRef(function(t,r){const n=rt({name:"MuiModal",props:t}),{BackdropComponent:o=za,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:d,component:m,components:g={},componentsProps:y={},disableAutoFocus:h=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:x=!1,disablePortal:$=!1,disableRestoreFocus:P=!1,disableScrollLock:k=!1,hideBackdrop:w=!1,keepMounted:R=!1,onClose:S,onTransitionEnter:C,onTransitionExited:B,open:O,slotProps:N={},slots:L={},theme:c,...E}=n,b={...n,closeAfterTransition:l,disableAutoFocus:h,disableEnforceFocus:f,disableEscapeKeyDown:x,disablePortal:$,disableRestoreFocus:P,disableScrollLock:k,hideBackdrop:w,keepMounted:R},{getRootProps:T,getBackdropProps:A,getTransitionProps:K,portalRef:I,isTopModal:U,exited:oe,hasTransition:nt}=Da({...b,rootRef:r}),ge={...b,exited:oe},ke=Wa(ge),ye={};if(u.props.tabIndex===void 0&&(ye.tabIndex="-1"),nt){const{onEnter:De,onExited:Nt}=K();ye.onEnter=De,ye.onExited=Nt}const pr={slots:{root:g.Root,backdrop:g.Backdrop,...L},slotProps:{...y,...N}},[In,Bn]=pe("root",{ref:r,elementType:ja,externalForwardedProps:{...pr,...E,component:m},getSlotProps:T,ownerState:ge,className:J(a,ke?.root,!ge.open&&ge.exited&&ke?.hidden)}),[_n,Mn]=pe("backdrop",{ref:i?.ref,elementType:o,externalForwardedProps:pr,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:De=>A({...De,onClick:Nt=>{De?.onClick&&De.onClick(Nt)}}),className:J(i?.className,ke?.backdrop),ownerState:ge});return!R&&!O&&(!nt||oe)?null:Y.jsx(ma,{ref:I,container:d,disablePortal:$,children:Y.jsxs(In,{...Bn,children:[!w&&o?Y.jsx(_n,{...Mn}):null,Y.jsx(Ma,{disableEnforceFocus:f,disableAutoFocus:h,disableRestoreFocus:P,isEnabled:U,open:O,children:v.cloneElement(u,ye)})]})})});function Va(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),i=_e(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const u=i.getComputedStyle(t);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?o?`translateX(${o.right+a-n.left}px)`:`translateX(${i.innerWidth+a-n.left}px)`:e==="right"?o?`translateX(-${n.right-o.left-a}px)`:`translateX(-${n.left+n.width-a}px)`:e==="up"?o?`translateY(${o.bottom+l-n.top}px)`:`translateY(${i.innerHeight+l-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}function Ga(e){return typeof e=="function"?e():e}function at(e,t,r){const n=Ga(r),o=Va(e,t,n);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Ka=v.forwardRef(function(t,r){const n=_t(),o={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:d="down",easing:m=o,in:g,onEnter:y,onEntered:h,onEntering:f,onExit:x,onExited:$,onExiting:P,style:k,timeout:w=i,TransitionComponent:R=Qr,...S}=t,C=v.useRef(null),B=Fe(Mt(l),C,r),O=I=>U=>{I&&(U===void 0?I(C.current):I(C.current,U))},N=O((I,U)=>{at(d,I,u),Pn(I),y&&y(I,U)}),L=O((I,U)=>{const oe=bt({timeout:w,style:k,easing:m},{mode:"enter"});I.style.webkitTransition=n.transitions.create("-webkit-transform",{...oe}),I.style.transition=n.transitions.create("transform",{...oe}),I.style.webkitTransform="none",I.style.transform="none",f&&f(I,U)}),c=O(h),E=O(P),b=O(I=>{const U=bt({timeout:w,style:k,easing:m},{mode:"exit"});I.style.webkitTransition=n.transitions.create("-webkit-transform",U),I.style.transition=n.transitions.create("transform",U),at(d,I,u),x&&x(I)}),T=O(I=>{I.style.webkitTransition="",I.style.transition="",$&&$(I)}),A=I=>{s&&s(C.current,I)},K=v.useCallback(()=>{C.current&&at(d,C.current,u)},[d,u]);return v.useEffect(()=>{if(g||d==="down"||d==="right")return;const I=ra(()=>{C.current&&at(d,C.current,u)}),U=_e(C.current);return U.addEventListener("resize",I),()=>{I.clear(),U.removeEventListener("resize",I)}},[d,g,u]),v.useEffect(()=>{g||K()},[g,K]),Y.jsx(R,{nodeRef:C,onEnter:N,onEntered:c,onEntering:L,onExit:b,onExited:T,onExiting:E,addEndListener:A,appear:a,in:g,timeout:w,...S,children:(I,{ownerState:U,...oe})=>v.cloneElement(l,{ref:B,style:{visibility:I==="exited"&&!g?"hidden":void 0,...k,...l.props.style},...oe})})});function Ua(e){return Ne("MuiDrawer",e)}Je("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Rn=(e,t)=>{const{ownerState:r}=e;return[t.root,(r.variant==="permanent"||r.variant==="persistent")&&t.docked,t.modal]},Ya=e=>{const{classes:t,anchor:r,variant:n}=e,o={root:["root",`anchor${xe(r)}`],docked:[(n==="permanent"||n==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${xe(r)}`,n!=="temporary"&&`paperAnchorDocked${xe(r)}`]};return et(o,Ua,t)},qa=he(Ha,{name:"MuiDrawer",slot:"Root",overridesResolver:Rn})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Qa=he("div",{shouldForwardProp:$n,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Rn})({flex:"0 0 auto"}),Xa=he(da,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${xe(r.anchor)}`],r.variant!=="temporary"&&t[`paperAnchorDocked${xe(r.anchor)}`]]}})(tt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),On={left:"right",right:"left",top:"down",bottom:"up"};function Za(e){return["left","right"].includes(e)}function Ja({direction:e},t){return e==="rtl"&&Za(t)?On[t]:t}const pc=v.forwardRef(function(t,r){const n=rt({props:t,name:"MuiDrawer"}),o=_t(),i=ds(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:d,elevation:m=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:y,...h}={},onClose:f,open:x=!1,PaperProps:$={},SlideProps:P,TransitionComponent:k,transitionDuration:w=s,variant:R="temporary",slots:S={},slotProps:C={},...B}=n,O=v.useRef(!1);v.useEffect(()=>{O.current=!0},[]);const N=Ja({direction:i?"rtl":"ltr"},a),c={...n,anchor:a,elevation:m,open:x,variant:R,...B},E=Ya(c),b={slots:{transition:k,...S},slotProps:{paper:$,transition:P,...C,backdrop:oa(C.backdrop||{...l,...y},{transitionDuration:w})}},[T,A]=pe("root",{ref:r,elementType:qa,className:J(E.root,E.modal,d),shouldForwardComponentProp:!0,ownerState:c,externalForwardedProps:{...b,...B,...h},additionalProps:{open:x,onClose:f,hideBackdrop:g,slots:{backdrop:b.slots.backdrop},slotProps:{backdrop:b.slotProps.backdrop}}}),[K,I]=pe("paper",{elementType:Xa,shouldForwardComponentProp:!0,className:J(E.paper,$.className),ownerState:c,externalForwardedProps:b,additionalProps:{elevation:R==="temporary"?m:0,square:!0,...R==="temporary"&&{role:"dialog","aria-modal":"true"}}}),[U,oe]=pe("docked",{elementType:Qa,ref:r,className:J(E.root,E.docked,d),ownerState:c,externalForwardedProps:b,additionalProps:B}),[nt,ge]=pe("transition",{elementType:Ka,ownerState:c,externalForwardedProps:b,additionalProps:{in:x,direction:On[N],timeout:w,appear:O.current}}),ke=Y.jsx(K,{...I,children:u});if(R==="permanent")return Y.jsx(U,{...oe,children:ke});const ye=Y.jsx(nt,{...ge,children:ke});return R==="persistent"?Y.jsx(U,{...oe,children:ye}):Y.jsx(T,{...A,children:ye})});function ec(e){return Ne("MuiScopedCssBaseline",e)}Je("MuiScopedCssBaseline",["root"]);const tc=e=>{const{classes:t}=e;return et({root:["root"]},ec,t)},rc=he("div",{name:"MuiScopedCssBaseline",slot:"Root"})(tt(({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,n])=>{const o=e.getColorSchemeSelector(r);o.startsWith("@")?t[o]={colorScheme:n.palette?.mode}:t[`&${o.replace(/\s*&/,"")}`]={colorScheme:n.palette?.mode}}),{...Sa(e,!1),...Ca(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}})),mc=v.forwardRef(function(t,r){const n=rt({props:t,name:"MuiScopedCssBaseline"}),{className:o,component:i="div",enableColorScheme:s,...a}=n,l={...n,component:i},u=tc(l);return Y.jsx(rc,{as:i,className:J(u.root,o),ref:r,ownerState:l,...a})});export{ac as C,pc as D,uc as G,mc as S,Qe as T,dc as a,$o as c,lc as j,fc as k,Ut as n,cc as u};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{b as O}from"./sentry-X5fa-B9t.js";import{M as P,C as A}from"./mixin-BPAPQfSE.js";import{H as f}from"./hls-DifHSkbp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new t.Error().stack;v&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[v]="bb573115-76c9-4edd-a010-83c58654dd66",t._sentryDebugIdIdentifier="sentry-dbid-bb573115-76c9-4edd-a010-83c58654dd66")}catch{}})();const x=t=>class extends t{static shadowRootOptions={...t.shadowRootOptions};static getTemplateHTML=(e,s={})=>{const{src:h,...y}=e;return`
|
|
2
|
-
<script type="application/json" id="config">
|
|
3
|
-
${JSON.stringify(s.config||{})}
|
|
4
|
-
<\/script>
|
|
5
|
-
${t.getTemplateHTML(y)}
|
|
6
|
-
`};#e=null;#t=null;constructor(){super(),this.#o("config")}get config(){return this.#t}set config(e){this.#t=e}attributeChangedCallback(e,s,h){e!=="src"&&super.attributeChangedCallback(e,s,h),e==="src"&&s!=h&&this.load()}#n(){var e,s;(e=this.#e)==null||e.remove(),(s=this.nativeEl)==null||s.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.api&&(this.api.detachMedia(),this.api.destroy(),this.api=null)}async load(){var e,s;const h=!this.api;if(this.#n(),!!this.src){if(h&&!this.#t&&(this.#t=JSON.parse(((e=this.shadowRoot.getElementById("config"))==null?void 0:e.textContent)||"{}")),f.isSupported()){switch(await Promise.resolve(),this.api=new f({liveDurationInfinity:!0,autoStartLoad:!1,...this.config}),this.api.loadSource(this.src),this.api.attachMedia(this.nativeEl),this.nativeEl.preload){case"none":{const r=()=>this.api.startLoad();this.nativeEl.addEventListener("play",r,{once:!0}),this.api.on(f.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",r)});break}case"metadata":{const r=this.api.config.maxBufferLength,o=this.api.config.maxBufferSize;this.api.config.maxBufferLength=1,this.api.config.maxBufferSize=1;const i=()=>{this.api.config.maxBufferLength=r,this.api.config.maxBufferSize=o};this.nativeEl.addEventListener("play",i,{once:!0}),this.api.on(f.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",i)}),this.api.startLoad();break}default:this.api.startLoad()}this.nativeEl.webkitCurrentPlaybackTargetIsWireless&&this.api.stopLoad(),this.nativeEl.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.#e=document.createElement("source"),this.#e.setAttribute("type","application/x-mpegURL"),this.#e.setAttribute("src",this.src),this.nativeEl.disableRemotePlayback=!1,this.nativeEl.append(this.#e);const y=new WeakMap;this.api.on(f.Events.MANIFEST_PARSED,(r,o)=>{this.nativeEl.autoplay&&this.nativeEl.paused&&this.nativeEl.play().catch(d=>{console.warn("Autoplay failed:",d)}),T();let i=this.videoTracks.getTrackById("main");i||(i=this.addVideoTrack("main"),i.id="main",i.selected=!0);for(const[d,l]of o.levels.entries()){const u=i.addRendition(l.url[0],l.width,l.height,l.videoCodec,l.bitrate);y.set(l,`${d}`),u.id=`${d}`}for(let[d,l]of o.audioTracks.entries()){const u=l.default?"main":"alternative",b=this.addAudioTrack(u,l.name,l.lang);b.id=`${d}`,l.default&&(b.enabled=!0)}}),this.audioTracks.addEventListener("change",()=>{var r;const o=+((r=[...this.audioTracks].find(d=>d.enabled))==null?void 0:r.id),i=this.api.audioTracks.map(d=>d.id);o!=this.api.audioTrack&&i.includes(o)&&(this.api.audioTrack=o)}),this.api.on(f.Events.LEVELS_UPDATED,(r,o)=>{const i=this.videoTracks[this.videoTracks.selectedIndex??0];if(!i)return;const d=o.levels.map(l=>y.get(l));for(const l of this.videoRenditions)l.id&&!d.includes(l.id)&&i.removeRendition(l)});let E=null;this.api.on(f.Events.ERROR,(r,o)=>{o.type===f.ErrorTypes.NETWORK_ERROR&&o.details===f.ErrorDetails.FRAG_LOAD_ERROR&&(E=o.frag.level)}),this.api.on(f.Events.LEVEL_SWITCHED,(r,o)=>{const i=o.level;E!==null&&i<E&&(console.warn(`⚠️ hls.js downgraded quality from level ${E} to ${i} due to fragment load failure.`),this.videoRenditions.selectedIndex=i,E=null)});const L=r=>{const o=r.target.selectedIndex;o!=this.api.nextLevel&&(this.api.nextLevel=o)};(s=this.videoRenditions)==null||s.addEventListener("change",L);const T=()=>{for(const r of this.videoTracks)this.removeVideoTrack(r);for(const r of this.audioTracks)this.removeAudioTrack(r)};this.api.once(f.Events.DESTROYING,T);return}await Promise.resolve(),this.nativeEl.canPlayType("application/vnd.apple.mpegurl")&&(this.nativeEl.src=this.src)}}#i=()=>{var e,s,h;(e=this.nativeEl)!=null&&e.webkitCurrentPlaybackTargetIsWireless?(s=this.api)==null||s.stopLoad():(h=this.api)==null||h.startLoad()};#o(e){if(Object.prototype.hasOwnProperty.call(this,e)){const s=this[e];delete this[e],this[e]=s}}},S=x(P(A));globalThis.customElements&&!globalThis.customElements.get("hls-video")&&globalThis.customElements.define("hls-video",S);var H=S,D=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),N={className:"class",htmlFor:"for"};function M(t){return t.toLowerCase()}function _(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function C({react:t,tagName:v,elementClass:e,events:s,displayName:h,defaultProps:y,toAttributeName:E=M,toAttributeValue:L=_}){const T=Number.parseInt(t.version)>=19,r=t.forwardRef((o,i)=>{var d,l;const u=t.useRef(null),b=t.useRef(new Map),w={},R={},p={},k={};for(const[n,a]of Object.entries(o)){if(D.has(n)){p[n]=a;continue}const c=E(N[n]??n);if(e.prototype&&n in e.prototype&&!(n in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{}))&&!((l=e.observedAttributes)!=null&&l.some(m=>m===c))){k[n]=a;continue}if(n.startsWith("on")){w[n]=a;continue}const g=L(a);if(c&&g!=null&&(R[c]=String(g),T||(p[c]=g)),c&&T){const m=_(a);g!==m?p[c]=g:p[c]=a}}if(typeof window<"u"){for(const n in w){const a=w[n],c=n.endsWith("Capture"),g=(s?.[n]??n.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const m=u?.current;if(!(!m||typeof a!="function"))return m.addEventListener(g,a,c),()=>{m.removeEventListener(g,a,c)}},[u?.current,a])}t.useLayoutEffect(()=>{if(u.current===null)return;const n=new Map;for(const a in k)I(u.current,a,k[a]),b.current.delete(a),n.set(a,k[a]);for(const[a,c]of b.current)I(u.current,a,void 0);b.current=n})}if(typeof window>"u"&&e?.getTemplateHTML&&e?.shadowRootOptions){const{mode:n,delegatesFocus:a}=e.shadowRootOptions,c=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:a,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(R,o)},key:"ce-la-react-ssr-template-shadow-root"});p.children=[c,p.children]}return t.createElement(v,{...y,...p,ref:t.useCallback(n=>{u.current=n,typeof i=="function"?i(n):i!==null&&(i.current=n)},[i])},p.children)});return r.displayName=h??e.name,r}function I(t,v,e){var s;t[v]=e,e==null&&v in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&t.removeAttribute(v)}var j=C({react:O,tagName:"hls-video",elementClass:H,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":M(t)}});export{j as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{b as W}from"./sentry-X5fa-B9t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9f2463f5-cadb-4a0f-a184-2a72be6fe7c8",e._sentryDebugIdIdentifier="sentry-dbid-9f2463f5-cadb-4a0f-a184-2a72be6fe7c8")}catch{}})();const L="https://player.twitch.tv",x=/(?:www\.|go\.)?twitch\.tv\/(?:videos?\/|\?video=)(\d+)($|\?)/,U=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,k={IDLE:"Idle",ENDED:"Ended"},v={PAUSE:2,PLAY:3,SEEK:4,SET_MUTED:10,SET_VOLUME:11};function N(e,t={}){const i={src:C(e,t),frameborder:"0",width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; picture-in-picture;",sandbox:"allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",scrolling:"no"};return t.config&&(i["data-config"]=JSON.stringify(t.config)),`
|
|
2
|
-
<style>
|
|
3
|
-
:host {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
min-width: 300px;
|
|
6
|
-
min-height: 150px;
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
iframe {
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
:host(:not([controls])) {
|
|
17
|
-
pointer-events: none;
|
|
18
|
-
}
|
|
19
|
-
</style>
|
|
20
|
-
<iframe${B(i)}></iframe>
|
|
21
|
-
`}function C(e,t){var i;if(!e.src)return;const n=e.src.match(x),l=e.src.match(U),u={parent:(i=globalThis.location)==null?void 0:i.hostname,controls:e.controls===""?null:!1,autoplay:e.autoplay===""?null:!1,muted:e.muted,preload:e.preload,...t.config};if(n){const r=n[1];return`${L}/?video=v${r}&${D(u)}`}else if(l){const r=l[1];return`${L}/?channel=${r}&${D(u)}`}return""}class O extends(globalThis.HTMLElement??class{}){static getTemplateHTML=N;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","loop","muted","playsinline","preload","src"];loadComplete=new I;#o;#r;#e;#t={};#d=0;#a=!1;#l=1;#u=!this.autoplay;#n=!1;#s=0;#c=null;constructor(){super(),this.#f("config")}get config(){return this.#c}set config(t){this.#c=t}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const t=!this.#r;if(this.#r&&(this.loadComplete=new I),this.#r=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#s=0,this.dispatchEvent(new Event("emptied")),!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",this.#h);return}this.dispatchEvent(new Event("loadstart"));let i=this.shadowRoot.querySelector("iframe");const n=j(this.attributes);t&&i&&(this.#c=JSON.parse(i.getAttribute("data-config")||"{}")),(!i?.src||i.src!==C(n,this))&&(this.shadowRoot.innerHTML=N(n,this),i=this.shadowRoot.querySelector("iframe")),this.#e=i,globalThis.addEventListener("message",this.#h)}attributeChangedCallback(t,i,n){if(i!==n)switch(t){case"src":case"controls":{this.load();break}}}getVideoPlaybackQuality(){return this.#t.stats.videoStats}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t)}get readyState(){return this.#s}get seeking(){return this.#n}get buffered(){var t,i;return F(0,((i=(t=this.#t.stats)==null?void 0:t.videoStats)==null?void 0:i.bufferSize)??0)}get paused(){return this.#t.playback?this.#t.playback===k.IDLE:this.#u}get ended(){return this.#t.playback?this.#t.playback===k.ENDED:!1}get duration(){return this.#t.duration??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){return this.#t.currentTime?this.#t.currentTime:this.#d}set currentTime(t){this.#d=t,this.loadComplete.then(()=>{this.#i(v.SEEK,t)})}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get loop(){return this.hasAttribute("loop")}set loop(t){this.toggleAttribute("loop",!!t)}get muted(){return this.#a}set muted(t){this.#a=t,this.loadComplete.then(()=>{this.#i(v.SET_MUTED,t)})}get volume(){return this.#l}set volume(t){this.#l=t,this.loadComplete.then(()=>{this.#i(v.SET_VOLUME,t)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.toggleAttribute("playsinline",!!t)}play(){this.#u=!1,this.#i(v.PLAY)}pause(){this.#u=!0,this.#i(v.PAUSE)}#h=async t=>{var i,n,l,u;if(!this.#e.contentWindow)return;const{data:r,source:E}=t;if(E===this.#e.contentWindow){if(r.namespace==="twitch-embed")await new Promise(p=>setTimeout(p,10)),r.eventName==="ready"?(this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve(),this.#s=1,this.dispatchEvent(new Event("loadedmetadata"))):r.eventName==="seek"?(this.#n=!0,this.dispatchEvent(new Event("seeking"))):r.eventName==="playing"?(this.#n&&(this.#n=!1,this.dispatchEvent(new Event("seeked"))),this.#s=3,this.dispatchEvent(new Event("playing"))):this.dispatchEvent(new Event(r.eventName));else if(r.namespace==="twitch-embed-player-proxy"&&r.eventName==="UPDATE_STATE"){const p=this.#t.duration,g=this.#t.currentTime,f=this.#t.volume,b=this.#t.muted,y=(n=(i=this.#t.stats)==null?void 0:i.videoStats)==null?void 0:n.bufferSize;this.#t={...this.#t,...r.params},p!==this.#t.duration&&this.dispatchEvent(new Event("durationchange")),g!==this.#t.currentTime&&this.dispatchEvent(new Event("timeupdate")),(f!==this.#t.volume||b!==this.#t.muted)&&(this.#t.volume!==void 0&&(this.#l=this.#t.volume),this.#t.muted!==void 0&&(this.#a=this.#t.muted),this.dispatchEvent(new Event("volumechange"))),y!==((u=(l=this.#t.stats)==null?void 0:l.videoStats)==null?void 0:u.bufferSize)&&this.dispatchEvent(new Event("progress"))}}};#i(t,i){if(!this.#e.contentWindow)return;const n={eventName:t,params:i,namespace:"twitch-embed-player-proxy"};this.#e.contentWindow.postMessage(n,L)}#f(t){if(Object.prototype.hasOwnProperty.call(this,t)){const i=this[t];delete this[t],this[t]=i}}}function j(e){let t={};for(let i of e)t[i.name]=i.value;return t}function B(e){let t="";for(const i in e){const n=e[i];n===""?t+=` ${_(i)}`:t+=` ${_(i)}="${_(`${n}`)}"`}return t}function _(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function D(e){return String(new URLSearchParams(z(e)))}function z(e){let t={};for(let i in e){let n=e[i];n===!0||n===""?t[i]=!0:n===!1?t[i]=!1:n!=null&&(t[i]=n)}return t}class I extends Promise{constructor(t=()=>{}){let i,n;super((l,u)=>{t(l,u),i=l,n=u}),this.resolve=i,this.reject=n}}function F(e,t){return Array.isArray(e)?M(e):t==null||t===0?M([[0,0]]):M([[e,t]])}function M(e){return Object.defineProperties(e,{start:{value:t=>e[t][0]},end:{value:t=>e[t][1]}}),e}globalThis.customElements&&!globalThis.customElements.get("twitch-video")&&globalThis.customElements.define("twitch-video",O);var q=O,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),J={className:"class",htmlFor:"for"};function $(e){return e.toLowerCase()}function H(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function K({react:e,tagName:t,elementClass:i,events:n,displayName:l,defaultProps:u,toAttributeName:r=$,toAttributeValue:E=H}){const T=Number.parseInt(e.version)>=19,p=e.forwardRef((g,f)=>{var b,y;const c=e.useRef(null),A=e.useRef(new Map),S={},P={},d={},w={};for(const[s,o]of Object.entries(g)){if(V.has(s)){d[s]=o;continue}const a=r(J[s]??s);if(i.prototype&&s in i.prototype&&!(s in(((b=globalThis.HTMLElement)==null?void 0:b.prototype)??{}))&&!((y=i.observedAttributes)!=null&&y.some(m=>m===a))){w[s]=o;continue}if(s.startsWith("on")){S[s]=o;continue}const h=E(o);if(a&&h!=null&&(P[a]=String(h),T||(d[a]=h)),a&&T){const m=H(o);h!==m?d[a]=h:d[a]=o}}if(typeof window<"u"){for(const s in S){const o=S[s],a=s.endsWith("Capture"),h=(n?.[s]??s.slice(2).toLowerCase()).slice(0,a?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(!(!m||typeof o!="function"))return m.addEventListener(h,o,a),()=>{m.removeEventListener(h,o,a)}},[c?.current,o])}e.useLayoutEffect(()=>{if(c.current===null)return;const s=new Map;for(const o in w)R(c.current,o,w[o]),A.current.delete(o),s.set(o,w[o]);for(const[o,a]of A.current)R(c.current,o,void 0);A.current=s})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:s,delegatesFocus:o}=i.shadowRootOptions,a=e.createElement("template",{shadowrootmode:s,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(P,g)},key:"ce-la-react-ssr-template-shadow-root"});d.children=[a,d.children]}return e.createElement(t,{...u,...d,ref:e.useCallback(s=>{c.current=s,typeof f=="function"?f(s):f!==null&&(f.current=s)},[f])},d.children)});return p.displayName=l??i.name,p}function R(e,t,i){var n;e[t]=i,i==null&&t in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&e.removeAttribute(t)}var Q=K({react:W,tagName:"twitch-video",elementClass:q,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":$(e)}});export{Q as default};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{b as N}from"./sentry-X5fa-B9t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f661688-f882-4da4-9f6d-1cbb0c5f2007",e._sentryDebugIdIdentifier="sentry-dbid-4f661688-f882-4da4-9f6d-1cbb0c5f2007")}catch{}})();const O="https://open.spotify.com",$=/open\.spotify\.com\/(\w+)\/(\w+)/i,B="https://open.spotify.com/embed-podcast/iframe-api/v1",D="SpotifyIframeApi",j="onSpotifyIframeApiReady";function L(e,t={}){const i={src:R(e,t),scrolling:"no",frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return`
|
|
2
|
-
<style>
|
|
3
|
-
:host {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
min-width: 160px;
|
|
6
|
-
min-height: 80px;
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
iframe {
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
}
|
|
17
|
-
:host(:not([controls])) {
|
|
18
|
-
display: none !important;
|
|
19
|
-
}
|
|
20
|
-
</style>
|
|
21
|
-
<iframe${W(i)}></iframe>
|
|
22
|
-
`}function R(e,t){var i,s,u;if(!e.src)return;const a=e.src.match($),d=a&&a[1],p=a&&a[2],r={t:(i=t.config)==null?void 0:i.startAt,theme:((s=t.config)==null?void 0:s.theme)==="dark"?"0":null},y=(u=t.config)!=null&&u.preferVideo?"/video":"";return`${O}/embed/${d}/${p}${y}?${x(r)}`}class C extends(globalThis.HTMLElement??class{}){static getTemplateHTML=L;static shadowRootOptions={mode:"open"};static observedAttributes=["controls","loop","src"];loadComplete=new M;#r;#a;#l;#t=!1;#e=!1;#i=!0;#s=0;#n=NaN;#o=!1;#u=null;constructor(){super(),this.#d("config")}async load(){var t,i,s;if(this.#r)return;this.#a&&(this.loadComplete=new M),this.#a=!0,await(this.#r=Promise.resolve()),this.#r=null,this.#t=!1,this.#e=!1,this.#s=0,this.#n=NaN,this.#o=!1,this.dispatchEvent(new Event("emptied"));let u=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const a={t:(t=this.config)==null?void 0:t.startAt,theme:((i=this.config)==null?void 0:i.theme)==="dark"?"0":null,preferVideo:(s=this.config)==null?void 0:s.preferVideo};if(this.#l)this.api=u,this.api.iframeElement.src=R(k(this.attributes),this);else{this.#l=!0,this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=L(k(this.attributes),this));let d=this.shadowRoot.querySelector("iframe");const p=await U(B,D,j);this.api=await new Promise(r=>p.createController(d,a,r)),this.api.iframeElement=d,this.api.addListener("ready",()=>{this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("volumechange"))}),this.api.addListener("playback_update",r=>{if(this.#e&&this.#i&&(r.data.isBuffering||!r.data.isPaused)){this.#e=!1,this.currentTime=1;return}if(r.data.duration/1e3!==this.#n&&(this.#e=!1,this.#n=r.data.duration/1e3,this.dispatchEvent(new Event("durationchange"))),r.data.position/1e3!==this.#s&&(this.#o=!1,this.#e=!1,this.#s=r.data.position/1e3,this.dispatchEvent(new Event("timeupdate"))),!this.#t&&!this.#i&&r.data.isPaused){this.#i=!0,this.dispatchEvent(new Event("pause"));return}if(this.#i&&(r.data.isBuffering||!r.data.isPaused)){this.#i=!1,this.dispatchEvent(new Event("play")),this.#t=r.data.isBuffering,this.#t?this.dispatchEvent(new Event("waiting")):this.dispatchEvent(new Event("playing"));return}if(this.#t&&!r.data.isPaused){this.#t=!1,this.dispatchEvent(new Event("playing"));return}if(!this.paused&&!this.seeking&&!this.#e&&Math.ceil(this.currentTime)>=this.duration){if(this.#e=!0,this.loop){this.currentTime=1;return}this.continuous||(this.pause(),this.dispatchEvent(new Event("ended")));return}})}this.loadComplete.resolve(),await this.loadComplete}async attributeChangedCallback(t,i,s){if(i!==s)switch(t){case"src":{this.load();return}}}async play(){var t;return this.#i=!1,this.#t=!0,this.dispatchEvent(new Event("play")),await this.loadComplete,(t=this.api)==null?void 0:t.resume()}async pause(){var t;return await this.loadComplete,(t=this.api)==null?void 0:t.pause()}get config(){return this.#u}set config(t){this.#u=t}get paused(){return this.#i??!0}get muted(){return!1}set muted(t){}get volume(){return 1}set volume(t){}get ended(){return Math.ceil(this.currentTime)>=this.duration}get seeking(){return this.#o}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}get currentTime(){return this.#s}set currentTime(t){if(this.currentTime==t)return;this.#o=!0;let i=this.#s;this.#s=t,this.dispatchEvent(new Event("timeupdate")),this.#s=i,this.loadComplete.then(()=>{var s;(s=this.api)==null||s.seek(t)})}get duration(){return this.#n}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",`${t}`)}#d(t){if(Object.prototype.hasOwnProperty.call(this,t)){const i=this[t];delete this[t],this[t]=i}}}function W(e){let t="";for(const i in e){const s=e[i];s===""?t+=` ${i}`:t+=` ${i}="${s}"`}return t}function x(e){return String(new URLSearchParams(z(e)))}function z(e){let t={};for(let i in e){let s=e[i];s===!0||s===""?t[i]=1:s===!1?t[i]=0:s!=null&&(t[i]=s)}return t}function k(e){let t={};for(let i of e)t[i.name]=i.value;return t}const b={};async function U(e,t,i){return b[e]?b[e]:self[t]?Promise.resolve(self[t]):b[e]=new Promise(function(s,u){const a=document.createElement("script");a.src=e;const d=p=>s(p);self[i]=d,a.onload=()=>!i,a.onerror=u,document.head.append(a)})}class M extends Promise{constructor(t=()=>{}){let i,s;super((u,a)=>{t(u,a),i=u,s=a}),this.resolve=i,this.reject=s}}globalThis.customElements&&!globalThis.customElements.get("spotify-audio")&&globalThis.customElements.define("spotify-audio",C);var q=C,F=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),G={className:"class",htmlFor:"for"};function H(e){return e.toLowerCase()}function S(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function V({react:e,tagName:t,elementClass:i,events:s,displayName:u,defaultProps:a,toAttributeName:d=H,toAttributeValue:p=S}){const r=Number.parseInt(e.version)>=19,y=e.forwardRef((T,v)=>{var _,A;const c=e.useRef(null),w=e.useRef(new Map),E={},P={},h={},g={};for(const[n,o]of Object.entries(T)){if(F.has(n)){h[n]=o;continue}const l=d(G[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((_=globalThis.HTMLElement)==null?void 0:_.prototype)??{}))&&!((A=i.observedAttributes)!=null&&A.some(m=>m===l))){g[n]=o;continue}if(n.startsWith("on")){E[n]=o;continue}const f=p(o);if(l&&f!=null&&(P[l]=String(f),r||(h[l]=f)),l&&r){const m=S(o);f!==m?h[l]=f:h[l]=o}}if(typeof window<"u"){for(const n in E){const o=E[n],l=n.endsWith("Capture"),f=(s?.[n]??n.slice(2).toLowerCase()).slice(0,l?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(!(!m||typeof o!="function"))return m.addEventListener(f,o,l),()=>{m.removeEventListener(f,o,l)}},[c?.current,o])}e.useLayoutEffect(()=>{if(c.current===null)return;const n=new Map;for(const o in g)I(c.current,o,g[o]),w.current.delete(o),n.set(o,g[o]);for(const[o,l]of w.current)I(c.current,o,void 0);w.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,l=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(P,T)},key:"ce-la-react-ssr-template-shadow-root"});h.children=[l,h.children]}return e.createElement(t,{...a,...h,ref:e.useCallback(n=>{c.current=n,typeof v=="function"?v(n):v!==null&&(v.current=n)},[v])},h.children)});return y.displayName=u??i.name,y}function I(e,t,i){var s;e[t]=i,i==null&&t in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&e.removeAttribute(t)}var J=V({react:N,tagName:"spotify-audio",elementClass:q,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":H(e)}});export{J as default};
|