@zeniai/web-cockpit-ui 2.0.34-dev → 2.0.35-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/dist/assets/CreditAgentRoutes-CZ-C1wzQ.js +4 -0
- package/dist/assets/Preview-CAmOkbjw.js +1 -0
- package/dist/assets/ScreenRoutes-yvbp_Lbz.js +180 -0
- package/dist/assets/SignInScreen-DIqNMUI1.js +1 -0
- package/dist/assets/analytics-BfH6x-bh.js +68 -0
- package/dist/assets/analyticsHelper-DpKWIfA_.js +1 -0
- package/dist/assets/core-BMXdW52V.js +12 -0
- package/dist/assets/dash.all.min-BNMSYYE9.js +21 -0
- package/dist/assets/empty-CMgD5T-3.js +1 -0
- package/dist/assets/empty-CURC4K9t.js +1 -0
- package/dist/assets/epic-0u3weRPq.js +2 -0
- package/dist/assets/favicon-D56XvgAH.ico +0 -0
- package/dist/assets/hls-DifHSkbp.js +40 -0
- package/dist/assets/index-BIPrynO9.js +79830 -0
- package/dist/assets/index-BcCMwDMT.js +1 -0
- package/dist/assets/index-CY8CEYeK.js +3304 -0
- package/dist/assets/index-D9Zhqjkb.js +2 -0
- package/dist/assets/index-DSJ2w1jZ.js +1 -0
- package/dist/assets/index-OG0h_gMR.js +1 -0
- package/dist/assets/index-sjMkGJDk.js +1 -0
- package/dist/assets/index-y98xvd7i.css +1 -0
- package/dist/assets/lexical-Cj6VOpGX.js +21 -0
- package/dist/assets/liveblocks-BQqAIDc5.js +54 -0
- package/dist/assets/lottie-qwRZdbTy.js +2 -0
- package/dist/assets/mixin-BPAPQfSE.js +43 -0
- package/dist/assets/mui-BQBCqqWF.js +9 -0
- package/dist/assets/react-BFtEL_0u.js +34 -0
- package/dist/assets/react-BfNEEjJ_.js +19 -0
- package/dist/assets/react-C83wXUqV.js +6 -0
- package/dist/assets/react-C8sJgD0w.js +22 -0
- package/dist/assets/react-Cu6ubvAK.js +7 -0
- package/dist/assets/react-DZq71Z0g.js +19 -0
- package/dist/assets/react-hF-9mrjI.js +21 -0
- package/dist/assets/react-jnSxQgdS.js +17 -0
- package/dist/assets/recharts-BZRqFQc_.js +65 -0
- package/dist/assets/sentry-B9T9CHF5.js +500 -0
- package/dist/assets/url-BEGh4GqD.js +1 -0
- package/dist/assets/url-BMK-Vtzl.js +6 -0
- package/dist/assets/utils-Fih0Jz-h.js +36 -0
- package/dist/assets/zeni-epic-state-DSTkpZye.js +13 -0
- package/dist/index.html +1 -0
- package/dist/robots.txt +3 -0
- package/dist/service-worker.js +160 -0
- package/package.json +4 -4
|
@@ -0,0 +1,43 @@
|
|
|
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};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{a as v,R as Nn}from"./sentry-B9T9CHF5.js";import{j as Y}from"./liveblocks-BQqAIDc5.js";import{c as J,T as Qr}from"./recharts-BZRqFQc_.js";import{_ as Fn,r as Dn}from"./core-BMXdW52V.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};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{b as D}from"./sentry-B9T9CHF5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="93c445e0-9679-4c79-9fe3-aa9f34036b83",t._sentryDebugIdIdentifier="sentry-dbid-93c445e0-9679-4c79-9fe3-aa9f34036b83")}catch{}})();const W=["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"],A=globalThis.document?.createElement("template");A&&(A.innerHTML=`
|
|
2
|
+
<style>
|
|
3
|
+
:host {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
line-height: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
video,
|
|
9
|
+
audio {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
max-height: 100%;
|
|
12
|
+
min-width: 100%;
|
|
13
|
+
min-height: 100%;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
<slot></slot>
|
|
17
|
+
`);const N=(t,{tag:i,is:o})=>{const d=globalThis.document?.createElement(i,{is:o}),c=d?S(d):[];return class g extends t{static Events=W;static template=A;static skipAttributes=[];static#s;static get observedAttributes(){return g.#l(),[...d?.constructor?.observedAttributes??[],"autopictureinpicture","disablepictureinpicture","disableremoteplayback","autoplay","controls","controlslist","crossorigin","loop","muted","playsinline","poster","preload","src"]}static#l(){if(this.#s)return;this.#s=!0;const e=new Set(this.observedAttributes);e.delete("muted");for(let s of c){if(s in this.prototype)continue;if(typeof d[s]=="function")this.prototype[s]=function(...r){this.#t();const a=()=>this.call?this.call(s,...r):this.nativeEl[s].apply(this.nativeEl,r);return this.loadComplete&&!this.isLoaded?this.loadComplete.then(a):a()};else{let r={get(){this.#t();let a=s.toLowerCase();if(e.has(a)){const p=this.getAttribute(a);return p===null?!1:p===""?!0:p}return this.get?.(s)??this.nativeEl?.[s]??this.#i[s]}};s!==s.toUpperCase()&&(r.set=async function(a){this.#t();let p=s.toLowerCase();if(e.has(p)){a===!0||a===!1||a==null?this.toggleAttribute(p,!!a):this.setAttribute(p,a);return}if(this.loadComplete&&!this.isLoaded&&await this.loadComplete,this.set){this.set(s,a);return}this.nativeEl[s]=a}),Object.defineProperty(this.prototype,s,r)}}}#o;#n;#r=!1;#e=!1;#a;#i;constructor(){super(),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.append(this.constructor.template.content.cloneNode(!0))),this.load!==g.prototype.load&&(this.loadComplete=new O)}get loadComplete(){return this.#n}set loadComplete(e){this.#e=!1,this.#n=e,e?.then(()=>{this.#e=!0})}get isLoaded(){return this.#e}get nativeEl(){return this.#a??this.shadowRoot.querySelector(i)??this.querySelector(i)}set nativeEl(e){this.#a=e}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.toggleAttribute("muted",!!e)}get src(){return this.getAttribute("src")}set src(e){this.setAttribute("src",`${e}`)}get preload(){return this.getAttribute("preload")??this.nativeEl?.preload}set preload(e){this.setAttribute("preload",`${e}`)}async#t(){if(this.#o)return;this.#o=!0,this.#u(),this.#c();for(let u of c)this.#d(u);const e=new Map,s=this.shadowRoot.querySelector("slot:not([name])");s?.addEventListener("slotchange",()=>{const u=new Map(e);s.assignedElements().filter(r=>["track","source"].includes(r.localName)).forEach(async r=>{u.delete(r);let a=e.get(r);a||(a=r.cloneNode(),e.set(r,a)),this.loadComplete&&!this.isLoaded&&await this.loadComplete,this.nativeEl.append?.(a)}),u.forEach(r=>r.remove())});for(let u of this.constructor.Events)this.shadowRoot.addEventListener?.(u,r=>{r.target===this.nativeEl&&this.dispatchEvent(new CustomEvent(r.type,{detail:r.detail}))},!0)}#d(e){if(Object.prototype.hasOwnProperty.call(this,e)){const s=this[e];delete this[e],this[e]=s}}#u(){const e=document.createElement(i,{is:o});e.muted=this.hasAttribute("muted");for(let{name:s,value:u}of this.attributes)e.setAttribute(s,u);this.#i={};for(let s of S(e))this.#i[s]=e[s];e.removeAttribute("src"),e.load()}async#c(){if(this.loadComplete&&!this.isLoaded&&await this.loadComplete,!this.nativeEl){const e=document.createElement(i,{is:o});e.part=i,this.shadowRoot.append(e)}this.nativeEl.muted=this.hasAttribute("muted")}attributeChangedCallback(e,s,u){this.#t(),e==="src"&&this.load!==g.prototype.load&&this.#h(),this.#p(e,s,u)}async#h(){this.#r&&(this.loadComplete=new O),this.#r=!0,await Promise.resolve(),await this.load(),this.loadComplete?.resolve(),await this.loadComplete}async#p(e,s,u){this.loadComplete&&!this.isLoaded&&await this.loadComplete,!["id","class",...this.constructor.skipAttributes].includes(e)&&(u===null?this.nativeEl.removeAttribute?.(e):this.nativeEl.setAttribute?.(e,u))}connectedCallback(){this.#t()}}};function S(t){let i=[];for(let o=Object.getPrototypeOf(t);o&&o!==HTMLElement.prototype;o=Object.getPrototypeOf(o))i.push(...Object.getOwnPropertyNames(o));return i}class O extends Promise{constructor(i=()=>{}){let o,d;super((c,f)=>{i(c,f),o=c,d=f}),this.resolve=o,this.reject=d}}const $=globalThis.document?N(HTMLElement,{tag:"video"}):class{};globalThis.document&&N(HTMLElement,{tag:"audio"});var H,R;const L=(H=globalThis.document)==null?void 0:H.createElement("template");L&&(L.innerHTML=`
|
|
18
|
+
<div class="wistia_embed"></div>
|
|
19
|
+
`);const M=(R=globalThis.document)==null?void 0:R.createElement("template");M&&(M.innerHTML=`
|
|
20
|
+
<style>
|
|
21
|
+
:host {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
min-width: 300px;
|
|
24
|
+
min-height: 150px;
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
::slotted(.wistia_embed) {
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
</style>
|
|
33
|
+
<slot></slot>
|
|
34
|
+
`);class j extends ${static template=M;static skipAttributes=["src"];get nativeEl(){var i;return((i=this.api)==null?void 0:i.elem())??this.querySelector("video")}async load(){var i;if((i=this.querySelector(".wistia_embed"))==null||i.remove(),!this.src)return;await new Promise(s=>setTimeout(s,50));const o=/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i,d=this.src.match(o)[1],c={autoPlay:this.autoplay,preload:this.preload??"metadata",playsinline:this.playsInline,endVideoBehavior:this.loop&&"loop",chromeless:!this.controls,playButton:this.controls,muted:this.defaultMuted};this.append(L.content.cloneNode(!0));const f=this.querySelector(".wistia_embed");f.id||(f.id=U(d)),f.classList.add(`wistia_async_${d}`),await B("https://fast.wistia.com/assets/external/E-v1.js","Wistia"),this.api=await new Promise(s=>{globalThis._wq.push({id:f.id,onReady:s,options:c})})}async attributeChangedCallback(i,o,d){if(i==="controls"){switch(await this.loadComplete,i){case"controls":this.api.bigPlayButtonEnabled(this.controls),this.controls?this.api.releaseChromeless():this.api.requestChromeless();break}return}super.attributeChangedCallback(i,o,d)}get duration(){var i;return(i=this.api)==null?void 0:i.duration()}async play(){return await this.loadComplete,this.api.play(),new Promise(i=>this.addEventListener("playing",i))}}const T={};async function B(t,i){return T[t]?T[t]:self[i]?self[i]:T[t]=new Promise((o,d)=>{const c=document.createElement("script");c.defer=!0,c.src=t,c.onload=()=>o(self[i]),c.onerror=d,document.head.append(c)})}let F=0;function U(t){const i=++F;return`${t}${i}`}globalThis.customElements&&!globalThis.customElements.get("wistia-video")&&globalThis.customElements.define("wistia-video",j);var z=j,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),G={className:"class",htmlFor:"for"};function q(t){return t.toLowerCase()}function I(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function J({react:t,tagName:i,elementClass:o,events:d,displayName:c,defaultProps:f,toAttributeName:e=q,toAttributeValue:s=I}){const u=Number.parseInt(t.version)>=19,r=t.forwardRef((a,p)=>{var _,P;const m=t.useRef(null),E=t.useRef(new Map),C={},k={},b={},w={};for(const[n,l]of Object.entries(a)){if(V.has(n)){b[n]=l;continue}const h=e(G[n]??n);if(o.prototype&&n in o.prototype&&!(n in(((_=globalThis.HTMLElement)==null?void 0:_.prototype)??{}))&&!((P=o.observedAttributes)!=null&&P.some(v=>v===h))){w[n]=l;continue}if(n.startsWith("on")){C[n]=l;continue}const y=s(l);if(h&&y!=null&&(k[h]=String(y),u||(b[h]=y)),h&&u){const v=I(l);y!==v?b[h]=y:b[h]=l}}if(typeof window<"u"){for(const n in C){const l=C[n],h=n.endsWith("Capture"),y=(d?.[n]??n.slice(2).toLowerCase()).slice(0,h?-7:void 0);t.useLayoutEffect(()=>{const v=m?.current;if(!(!v||typeof l!="function"))return v.addEventListener(y,l,h),()=>{v.removeEventListener(y,l,h)}},[m?.current,l])}t.useLayoutEffect(()=>{if(m.current===null)return;const n=new Map;for(const l in w)x(m.current,l,w[l]),E.current.delete(l),n.set(l,w[l]);for(const[l,h]of E.current)x(m.current,l,void 0);E.current=n})}if(typeof window>"u"&&o?.getTemplateHTML&&o?.shadowRootOptions){const{mode:n,delegatesFocus:l}=o.shadowRootOptions,h=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:l,dangerouslySetInnerHTML:{__html:o.getTemplateHTML(k,a)},key:"ce-la-react-ssr-template-shadow-root"});b.children=[h,b.children]}return t.createElement(i,{...f,...b,ref:t.useCallback(n=>{m.current=n,typeof p=="function"?p(n):p!==null&&(p.current=n)},[p])},b.children)});return r.displayName=c??o.name,r}function x(t,i,o){var d;t[i]=o,o==null&&i in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{})&&t.removeAttribute(i)}var Q=J({react:D,tagName:"wistia-video",elementClass:z,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":q(t)}});export{Q as default};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{c as U,b as Ie}from"./sentry-B9T9CHF5.js";(function(){try{var r=typeof window<"u"?window:typeof U<"u"?U:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="216ed4d1-799e-406e-afa4-54d2bd5bb20b",r._sentryDebugIdIdentifier="sentry-dbid-216ed4d1-799e-406e-afa4-54d2bd5bb20b")}catch{}})();function fe(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function he(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(t),!0).forEach(function(n){K(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):fe(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function R(){R=function(){return r};var r={},e=Object.prototype,t=e.hasOwnProperty,n=Object.defineProperty||function(l,c,d){l[c]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function h(l,c,d){return Object.defineProperty(l,c,{value:d,enumerable:!0,configurable:!0,writable:!0}),l[c]}try{h({},"")}catch{h=function(c,d,M){return c[d]=M}}function o(l,c,d,M){var w=c&&c.prototype instanceof T?c:T,C=Object.create(w.prototype),A=new L(M||[]);return n(C,"_invoke",{value:v(l,d,A)}),C}function b(l,c,d){try{return{type:"normal",arg:l.call(c,d)}}catch(M){return{type:"throw",arg:M}}}r.wrap=o;var k={};function T(){}function P(){}function g(){}var _={};h(_,a,function(){return this});var O=Object.getPrototypeOf,N=O&&O(O(q([])));N&&N!==e&&t.call(N,a)&&(_=N);var m=g.prototype=T.prototype=Object.create(_);function p(l){["next","throw","return"].forEach(function(c){h(l,c,function(d){return this._invoke(c,d)})})}function f(l,c){function d(w,C,A,j){var F=b(l[w],l,C);if(F.type!=="throw"){var H=F.arg,Q=H.value;return Q&&typeof Q=="object"&&t.call(Q,"__await")?c.resolve(Q.__await).then(function($){d("next",$,A,j)},function($){d("throw",$,A,j)}):c.resolve(Q).then(function($){H.value=$,A(H)},function($){return d("throw",$,A,j)})}j(F.arg)}var M;n(this,"_invoke",{value:function(w,C){function A(){return new c(function(j,F){d(w,C,j,F)})}return M=M?M.then(A,A):A()}})}function v(l,c,d){var M="suspendedStart";return function(w,C){if(M==="executing")throw new Error("Generator is already running");if(M==="completed"){if(w==="throw")throw C;return ie()}for(d.method=w,d.arg=C;;){var A=d.delegate;if(A){var j=E(A,d);if(j){if(j===k)continue;return j}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(M==="suspendedStart")throw M="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);M="executing";var F=b(l,c,d);if(F.type==="normal"){if(M=d.done?"completed":"suspendedYield",F.arg===k)continue;return{value:F.arg,done:d.done}}F.type==="throw"&&(M="completed",d.method="throw",d.arg=F.arg)}}}function E(l,c){var d=c.method,M=l.iterator[d];if(M===void 0)return c.delegate=null,d==="throw"&&l.iterator.return&&(c.method="return",c.arg=void 0,E(l,c),c.method==="throw")||d!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+d+"' method")),k;var w=b(M,l.iterator,c.arg);if(w.type==="throw")return c.method="throw",c.arg=w.arg,c.delegate=null,k;var C=w.arg;return C?C.done?(c[l.resultName]=C.value,c.next=l.nextLoc,c.method!=="return"&&(c.method="next",c.arg=void 0),c.delegate=null,k):C:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,k)}function S(l){var c={tryLoc:l[0]};1 in l&&(c.catchLoc=l[1]),2 in l&&(c.finallyLoc=l[2],c.afterLoc=l[3]),this.tryEntries.push(c)}function y(l){var c=l.completion||{};c.type="normal",delete c.arg,l.completion=c}function L(l){this.tryEntries=[{tryLoc:"root"}],l.forEach(S,this),this.reset(!0)}function q(l){if(l){var c=l[a];if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length)){var d=-1,M=function w(){for(;++d<l.length;)if(t.call(l,d))return w.value=l[d],w.done=!1,w;return w.value=void 0,w.done=!0,w};return M.next=M}}return{next:ie}}function ie(){return{value:void 0,done:!0}}return P.prototype=g,n(m,"constructor",{value:g,configurable:!0}),n(g,"constructor",{value:P,configurable:!0}),P.displayName=h(g,s,"GeneratorFunction"),r.isGeneratorFunction=function(l){var c=typeof l=="function"&&l.constructor;return!!c&&(c===P||(c.displayName||c.name)==="GeneratorFunction")},r.mark=function(l){return Object.setPrototypeOf?Object.setPrototypeOf(l,g):(l.__proto__=g,h(l,s,"GeneratorFunction")),l.prototype=Object.create(m),l},r.awrap=function(l){return{__await:l}},p(f.prototype),h(f.prototype,u,function(){return this}),r.AsyncIterator=f,r.async=function(l,c,d,M,w){w===void 0&&(w=Promise);var C=new f(o(l,c,d,M),w);return r.isGeneratorFunction(c)?C:C.next().then(function(A){return A.done?A.value:C.next()})},p(m),h(m,s,"Generator"),h(m,a,function(){return this}),h(m,"toString",function(){return"[object Generator]"}),r.keys=function(l){var c=Object(l),d=[];for(var M in c)d.push(M);return d.reverse(),function w(){for(;d.length;){var C=d.pop();if(C in c)return w.value=C,w.done=!1,w}return w.done=!0,w}},r.values=q,L.prototype={constructor:L,reset:function(l){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(y),!l)for(var c in this)c.charAt(0)==="t"&&t.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=void 0)},stop:function(){this.done=!0;var l=this.tryEntries[0].completion;if(l.type==="throw")throw l.arg;return this.rval},dispatchException:function(l){if(this.done)throw l;var c=this;function d(F,H){return C.type="throw",C.arg=l,c.next=F,H&&(c.method="next",c.arg=void 0),!!H}for(var M=this.tryEntries.length-1;M>=0;--M){var w=this.tryEntries[M],C=w.completion;if(w.tryLoc==="root")return d("end");if(w.tryLoc<=this.prev){var A=t.call(w,"catchLoc"),j=t.call(w,"finallyLoc");if(A&&j){if(this.prev<w.catchLoc)return d(w.catchLoc,!0);if(this.prev<w.finallyLoc)return d(w.finallyLoc)}else if(A){if(this.prev<w.catchLoc)return d(w.catchLoc,!0)}else{if(!j)throw new Error("try statement without catch or finally");if(this.prev<w.finallyLoc)return d(w.finallyLoc)}}}},abrupt:function(l,c){for(var d=this.tryEntries.length-1;d>=0;--d){var M=this.tryEntries[d];if(M.tryLoc<=this.prev&&t.call(M,"finallyLoc")&&this.prev<M.finallyLoc){var w=M;break}}w&&(l==="break"||l==="continue")&&w.tryLoc<=c&&c<=w.finallyLoc&&(w=null);var C=w?w.completion:{};return C.type=l,C.arg=c,w?(this.method="next",this.next=w.finallyLoc,k):this.complete(C)},complete:function(l,c){if(l.type==="throw")throw l.arg;return l.type==="break"||l.type==="continue"?this.next=l.arg:l.type==="return"?(this.rval=this.arg=l.arg,this.method="return",this.next="end"):l.type==="normal"&&c&&(this.next=c),k},finish:function(l){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.finallyLoc===l)return this.complete(d.completion,d.afterLoc),y(d),k}},catch:function(l){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.tryLoc===l){var M=d.completion;if(M.type==="throw"){var w=M.arg;y(d)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(l,c,d){return this.delegate={iterator:q(l),resultName:c,nextLoc:d},this.method==="next"&&(this.arg=void 0),k}},r}function de(r,e,t,n,i,a,u){try{var s=r[a](u),h=s.value}catch(o){t(o);return}s.done?e(h):Promise.resolve(h).then(n,i)}function W(r){return function(){var e=this,t=arguments;return new Promise(function(n,i){var a=r.apply(e,t);function u(h){de(a,n,i,u,s,"next",h)}function s(h){de(a,n,i,u,s,"throw",h)}u(void 0)})}}function ke(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Me(n.key),n)}}function Pe(r,e,t){return e&&Le(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function K(r,e,t){return e=Me(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function je(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&X(r,e)}function J(r){return J=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},J(r)}function X(r,e){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},X(r,e)}function Te(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Z(r,e,t){return Te()?Z=Reflect.construct.bind():Z=function(i,a,u){var s=[null];s.push.apply(s,a);var h=Function.bind.apply(i,s),o=new h;return u&&X(o,u.prototype),o},Z.apply(null,arguments)}function Fe(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function se(r){var e=typeof Map=="function"?new Map:void 0;return se=function(n){if(n===null||!Fe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Z(n,arguments,J(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),X(i,n)},se(r)}function ee(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function qe(r,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ee(r)}function De(r){var e=Te();return function(){var n=J(r),i;if(e){var a=J(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return qe(this,i)}}function Ve(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Me(r){var e=Ve(r,"string");return typeof e=="symbol"?e:String(e)}var Se=typeof U<"u"&&{}.toString.call(U)==="[object global]";function pe(r,e){return r.indexOf(e.toLowerCase())===0?r:"".concat(e.toLowerCase()).concat(r.substr(0,1).toUpperCase()).concat(r.substr(1))}function $e(r){return!!(r&&r.nodeType===1&&"nodeName"in r&&r.ownerDocument&&r.ownerDocument.defaultView)}function xe(r){return!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r}function z(r){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(r)}function Ce(r){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(r)}function We(r){for(var e=(r||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=n;i<a.length;i++){var u=a[i];if(t.endsWith(u))return t}return"vimeo.com"}function Oe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.id,t=r.url,n=e||t;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(xe(n))return"https://vimeo.com/".concat(n);if(z(n))return n.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(n,"” is not a vimeo.com url."))}var ve=function(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",u=typeof t=="string"?[t]:t;return u.forEach(function(s){e[i](s,n)}),{cancel:function(){return u.forEach(function(h){return e[a](h,n)})}}},ze=typeof Array.prototype.indexOf<"u",He=typeof window<"u"&&typeof window.postMessage<"u";if(!Se&&(!ze||!He))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof U<"u"?U:typeof self<"u"?self:{};function Be(r,e){return e={exports:{}},r(e,e.exports),e.exports}(function(r){if(r.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(a,u,s){t?Object.defineProperty(a,u,{configurable:!0,writable:!0,value:s}):a[u]=s};r.WeakMap=function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(a.prototype,"delete",function(o){if(u(this,"delete"),!i(o))return!1;var b=o[this._id];return b&&b[0]===o?(delete o[this._id],!0):!1}),n(a.prototype,"get",function(o){if(u(this,"get"),!!i(o)){var b=o[this._id];if(b&&b[0]===o)return b[1]}}),n(a.prototype,"has",function(o){if(u(this,"has"),!i(o))return!1;var b=o[this._id];return!!(b&&b[0]===o)}),n(a.prototype,"set",function(o,b){if(u(this,"set"),!i(o))throw new TypeError("Invalid value used as weak map key");var k=o[this._id];return k&&k[0]===o?(k[1]=b,this):(n(o,this._id,[o,b]),this)});function u(o,b){if(!i(o)||!e.call(o,"_id"))throw new TypeError(b+" method called on incompatible receiver "+typeof o)}function s(o){return o+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return n(a,"_polyfill",!0),a}();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:G);var D=Be(function(r){(function(t,n,i){n[t]=n[t]||i(),r.exports&&(r.exports=n[t])})("Promise",G,function(){var t,n,i,a=Object.prototype.toString,u=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(p,f,v,E){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:E!==!1})}}catch{t=function(f,v,E){return f[v]=E,f}}i=function(){var p,f,v;function E(S,y){this.fn=S,this.self=y,this.next=void 0}return{add:function(y,L){v=new E(y,L),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var y=p;for(p=f=n=void 0;y;)y.fn.call(y.self),y=y.next}}}();function s(m,p){i.add(m,p),n||(n=u(i.drain))}function h(m){var p,f=typeof m;return m!=null&&(f=="object"||f=="function")&&(p=m.then),typeof p=="function"?p:!1}function o(){for(var m=0;m<this.chain.length;m++)b(this,this.state===1?this.chain[m].success:this.chain[m].failure,this.chain[m]);this.chain.length=0}function b(m,p,f){var v,E;try{p===!1?f.reject(m.msg):(p===!0?v=m.msg:v=p.call(void 0,m.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(E=h(v))?E.call(v,f.resolve,f.reject):f.resolve(v))}catch(S){f.reject(S)}}function k(m){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=h(m))?s(function(){var v=new g(f);try{p.call(m,function(){k.apply(v,arguments)},function(){T.apply(v,arguments)})}catch(E){T.call(v,E)}}):(f.msg=m,f.state=1,f.chain.length>0&&s(o,f))}catch(v){T.call(new g(f),v)}}}function T(m){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=m,p.state=2,p.chain.length>0&&s(o,p))}function P(m,p,f,v){for(var E=0;E<p.length;E++)(function(y){m.resolve(p[y]).then(function(q){f(y,q)},v)})(E)}function g(m){this.def=m,this.triggered=!1}function _(m){this.promise=m,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function O(m){if(typeof m!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new _(this);this.then=function(v,E){var S={success:typeof v=="function"?v:!0,failure:typeof E=="function"?E:!1};return S.promise=new this.constructor(function(L,q){if(typeof L!="function"||typeof q!="function")throw TypeError("Not a function");S.resolve=L,S.reject=q}),p.chain.push(S),p.state!==0&&s(o,p),S.promise},this.catch=function(v){return this.then(void 0,v)};try{m.call(void 0,function(v){k.call(p,v)},function(v){T.call(p,v)})}catch(f){T.call(p,f)}}var N=t({},"constructor",O,!1);return O.prototype=N,t(N,"__NPO__",0,!1),t(O,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");E(p)})}),t(O,"reject",function(p){return new this(function(v,E){if(typeof v!="function"||typeof E!="function")throw TypeError("Not a function");E(p)})}),t(O,"all",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):p.length===0?f.resolve([]):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");var y=p.length,L=Array(y),q=0;P(f,p,function(l,c){L[l]=c,++q===y&&E(L)},S)})}),t(O,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");P(f,p,function(L,q){E(q)},S)})}),O})}),V=new WeakMap;function Y(r,e,t){var n=V.get(r.element)||{};e in n||(n[e]=[]),n[e].push(t),V.set(r.element,n)}function te(r,e){var t=V.get(r.element)||{};return t[e]||[]}function re(r,e,t){var n=V.get(r.element)||{};if(!n[e])return!0;if(!t)return n[e]=[],V.set(r.element,n),!0;var i=n[e].indexOf(t);return i!==-1&&n[e].splice(i,1),V.set(r.element,n),n[e]&&n[e].length===0}function Ge(r,e){var t=te(r,e);if(t.length<1)return!1;var n=t.shift();return re(r,e,n),n}function Ue(r,e){var t=V.get(r);V.set(e,t),V.delete(r)}function ne(r){if(typeof r=="string")try{r=JSON.parse(r)}catch(e){return console.warn(e),{}}return r}function x(r,e,t){if(!(!r.element.contentWindow||!r.element.contentWindow.postMessage)){var n={method:e};t!==void 0&&(n.value=t);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),r.element.contentWindow.postMessage(n,r.origin)}}function Qe(r,e){e=ne(e);var t=[],n;if(e.event){if(e.event==="error"){var i=te(r,e.data.method);i.forEach(function(u){var s=new Error(e.data.message);s.name=e.data.name,u.reject(s),re(r,e.data.method,u)})}t=te(r,"event:".concat(e.event)),n=e.data}else if(e.method){var a=Ge(r,e.method);a&&(t.push(a),n=e.value)}t.forEach(function(u){try{if(typeof u=="function"){u.call(r,n);return}u.resolve(n)}catch{}})}var Ye=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function _e(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ye.reduce(function(t,n){var i=r.getAttribute("data-vimeo-".concat(n));return(i||i==="")&&(t[n]=i===""?1:i),t},e)}function ce(r,e){var t=r.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Ae(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,i){if(!z(r))throw new TypeError("“".concat(r,"” is not a vimeo.com url."));var a=We(r),u="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(r));for(var s in e)e.hasOwnProperty(s)&&(u+="&".concat(s,"=").concat(encodeURIComponent(e[s])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",u,!0),h.onload=function(){if(h.status===404){i(new Error("“".concat(r,"” was not found.")));return}if(h.status===403){i(new Error("“".concat(r,"” is not embeddable.")));return}try{var o=JSON.parse(h.responseText);if(o.domain_status_code===403){ce(o,t),i(new Error("“".concat(r,"” is not embeddable.")));return}n(o)}catch(b){i(b)}},h.onerror=function(){var o=h.status?" (".concat(h.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(o,".")))},h.send()})}function Je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(r.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};e.forEach(function(n){try{if(n.getAttribute("data-vimeo-defer")!==null)return;var i=_e(n),a=Oe(i);Ae(a,i,n).then(function(u){return ce(u,n)}).catch(t)}catch(u){t(u)}})}function Xe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(n){if(z(n.origin)&&!(!n.data||n.data.event!=="spacechange")){for(var i=r.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===n.source){var u=i[a].parentElement;u.style.paddingBottom="".concat(n.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function Ke(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(n){if(z(n.origin)){var i=ne(n.data);if(!(!i||i.event!=="ready"))for(var a=r.querySelectorAll("iframe"),u=0;u<a.length;u++){var s=a[u],h=s.contentWindow===n.source;if(Ce(s.src)&&h){var o=new le(s);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function Ze(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},t=function(i){if(z(i.origin)){var a=ne(i.data);if(!(!a||a.event!=="ready"))for(var u=r.querySelectorAll("iframe"),s=function(){var b=u[h],k=b.contentWindow===i.source;if(Ce(b.src)&&k){var T=new le(b);T.getVideoId().then(function(P){var g=new RegExp("[?&]vimeo_t_".concat(P,"=([^&#]*)")).exec(window.location.href);if(g&&g[1]){var _=decodeURI(g[1]);T.setCurrentTime(_)}}).catch(e)}},h=0;h<u.length;h++)s()}};window.addEventListener("message",t)}}function et(){var r=function(){for(var n,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a=0,u=i.length,s={};a<u;a++)if(n=i[a],n&&n[1]in document){for(a=0;a<n.length;a++)s[i[0][a]]=n[a];return s}return!1}(),e={fullscreenchange:r.fullscreenchange,fullscreenerror:r.fullscreenerror},t={request:function(i){return new Promise(function(a,u){var s=function o(){t.off("fullscreenchange",o),a()};t.on("fullscreenchange",s),i=i||document.documentElement;var h=i[r.requestFullscreen]();h instanceof Promise&&h.then(s).catch(u)})},exit:function(){return new Promise(function(i,a){if(!t.isFullscreen){i();return}var u=function h(){t.off("fullscreenchange",h),i()};t.on("fullscreenchange",u);var s=document[r.exitFullscreen]();s instanceof Promise&&s.then(u).catch(a)})},on:function(i,a){var u=e[i];u&&document.addEventListener(u,a)},off:function(i,a){var u=e[i];u&&document.removeEventListener(u,a)}};return Object.defineProperties(t,{isFullscreen:{get:function(){return!!document[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[r.fullscreenEnabled]}}}),t}var tt={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},rt=function(r){je(t,r);var e=De(t);function t(n,i){var a,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return ke(this,t),a=e.call(this),K(ee(a),"logger",void 0),K(ee(a),"speedAdjustment",0),K(ee(a),"adjustSpeed",function(){var h=W(R().mark(function o(b,k){var T;return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(a.speedAdjustment!==k){g.next=2;break}return g.abrupt("return");case 2:return g.next=4,b.getPlaybackRate();case 4:return g.t0=g.sent,g.t1=a.speedAdjustment,g.t2=g.t0-g.t1,g.t3=k,T=g.t2+g.t3,a.log("New playbackRate: ".concat(T)),g.next=12,b.setPlaybackRate(T);case 12:a.speedAdjustment=k;case 13:case"end":return g.stop()}},o)}));return function(o,b){return h.apply(this,arguments)}}()),a.logger=s,a.init(i,n,he(he({},tt),u)),a}return Pe(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var n=W(R().mark(function a(u,s,h){var o=this,b,k,T;return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.waitForTOReadyState(u,"open");case 2:if(h.role!=="viewer"){g.next=10;break}return g.next=5,this.updatePlayer(u,s,h);case 5:b=ve(u,"change",function(){return o.updatePlayer(u,s,h)}),k=this.maintainPlaybackPosition(u,s,h),this.addEventListener("disconnect",function(){k.cancel(),b.cancel()}),g.next=14;break;case 10:return g.next=12,this.updateTimingObject(u,s);case 12:T=ve(s,["seeked","play","pause","ratechange"],function(){return o.updateTimingObject(u,s)},"on","off"),this.addEventListener("disconnect",function(){return T.cancel()});case 14:case"end":return g.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var n=W(R().mark(function a(u,s){return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=u,o.next=3,s.getCurrentTime();case 3:return o.t1=o.sent,o.next=6,s.getPaused();case 6:if(!o.sent){o.next=10;break}o.t2=0,o.next=13;break;case 10:return o.next=12,s.getPlaybackRate();case 12:o.t2=o.sent;case 13:o.t3=o.t2,o.t4={position:o.t1,velocity:o.t3},o.t0.update.call(o.t0,o.t4);case 16:case"end":return o.stop()}},a)}));function i(a,u){return n.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var n=W(R().mark(function a(u,s,h){var o,b,k;return R().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(o=u.query(),b=o.position,k=o.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof k!="number"){P.next=25;break}if(k!==0){P.next=11;break}return P.next=6,s.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}s.pause();case 9:P.next=25;break;case 11:if(!(k>0)){P.next=25;break}return P.next=14,s.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,s.play().catch(function(){var g=W(R().mark(function _(O){return R().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(!(O.name==="NotAllowedError"&&h.autoPlayMuted)){m.next=5;break}return m.next=3,s.setMuted(!0);case 3:return m.next=5,s.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return m.stop()}},_)}));return function(_){return g.apply(this,arguments)}}());case 18:this.updatePlayer(u,s,h);case 19:return P.next=21,s.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=k,P.t2===P.t3){P.next=25;break}s.setPlaybackRate(k);case 25:case"end":return P.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,a,u){var s=this,h=u.allowedDrift,o=u.maxAllowedDrift,b=u.minCheckInterval,k=u.maxRateAdjustment,T=u.maxTimeToCatchUp,P=Math.min(T,Math.max(b,o))*1e3,g=function(){var O=W(R().mark(function N(){var m,p,f,v,E;return R().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(y.t0=i.query().velocity===0,y.t0){y.next=6;break}return y.next=4,a.getPaused();case 4:y.t1=y.sent,y.t0=y.t1===!0;case 6:if(!y.t0){y.next=8;break}return y.abrupt("return");case 8:return y.t2=i.query().position,y.next=11,a.getCurrentTime();case 11:if(y.t3=y.sent,m=y.t2-y.t3,p=Math.abs(m),s.log("Drift: ".concat(m)),!(p>o)){y.next=22;break}return y.next=18,s.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),s.log("Resync by currentTime"),y.next=29;break;case 22:if(!(p>h)){y.next=29;break}return f=p/T,v=k,E=f<v?(v-f)/2:v,y.next=28,s.adjustSpeed(a,E*Math.sign(m));case 28:s.log("Resync by playbackRate");case 29:case"end":return y.stop()}},N)}));return function(){return O.apply(this,arguments)}}(),_=setInterval(function(){return g()},P);return{cancel:function(){return clearInterval(_)}}}},{key:"log",value:function(i){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,a){return new Promise(function(u){var s=function h(){i.readyState===a?u():i.addEventListener("readystatechange",h,{once:!0})};s()})}}]),t}(se(EventTarget)),B=new WeakMap,ae=new WeakMap,I={},le=function(){function r(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ke(this,r),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!$e(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var i=e.querySelector("iframe");i&&(e=i)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(B.has(e))return B.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new D(function(s,h){if(t._onMessage=function(k){if(!(!z(k.origin)||t.element.contentWindow!==k.source)){t.origin==="*"&&(t.origin=k.origin);var T=ne(k.data),P=T&&T.event==="error",g=P&&T.data&&T.data.method==="ready";if(g){var _=new Error(T.data.message);_.name=T.data.name,h(_);return}var O=T&&T.event==="ready",N=T&&T.method==="ping";if(O||N){t.element.setAttribute("data-ready","true"),s();return}Qe(t,T)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var o=_e(e,n),b=Oe(o);Ae(b,o,e).then(function(k){var T=ce(k,e);return t.element=T,t._originalElement=e,Ue(e,T),B.set(t.element,t),k}).catch(h)}});if(ae.set(this,a),B.set(this.element,this),this.element.nodeName==="IFRAME"&&x(this,"ping"),I.isEnabled){var u=function(){return I.exit()};this.fullscreenchangeHandler=function(){I.isFullscreen?Y(t,"event:exitFullscreen",u):re(t,"event:exitFullscreen",u),t.ready().then(function(){x(t,"fullscreenchange",I.isFullscreen)})},I.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Pe(r,[{key:"callMethod",value:function(t){for(var n=this,i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];if(t==null)throw new TypeError("You must pass a method name.");return new D(function(s,h){return n.ready().then(function(){Y(n,t,{resolve:s,reject:h}),x(n,t,a)}).catch(h)})}},{key:"get",value:function(t){var n=this;return new D(function(i,a){return t=pe(t,"get"),n.ready().then(function(){Y(n,t,{resolve:i,reject:a}),x(n,t)}).catch(a)})}},{key:"set",value:function(t,n){var i=this;return new D(function(a,u){if(t=pe(t,"set"),n==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){Y(i,t,{resolve:a,reject:u}),x(i,t,n)}).catch(u)})}},{key:"on",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");var i=te(this,"event:".concat(t));i.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Y(this,"event:".concat(t),n)}},{key:"off",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");var i=re(this,"event:".concat(t),n);i&&this.callMethod("removeEventListener",t).catch(function(a){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=ae.get(this)||new D(function(n,i){i(new Error("Unknown player. Probably unloaded."))});return D.resolve(t)}},{key:"addCuePoint",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:n})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return I.isEnabled?I.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return I.isEnabled?I.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return I.isEnabled?D.resolve(I.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new D(function(n){if(ae.delete(t),B.delete(t.element),t._originalElement&&(B.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var i=t.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&t._originalElement&&t._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}t._window.removeEventListener("message",t._onMessage),I.isEnabled&&I.off("fullscreenchange",t.fullscreenchangeHandler),n()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return D.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new D(function(a,u){return u(new TypeError("Argument must be an array."))});var n=new D(function(a){return a(null)}),i=[t[0]?this.set("colorOne",t[0]):n,t[1]?this.set("colorTwo",t[1]):n,t[2]?this.set("colorThree",t[2]):n,t[3]?this.set("colorFour",t[3]):n];return D.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:function(){var e=W(R().mark(function n(i,a){var u=this,s;return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return o.next=4,this.ready();case 4:return s=new rt(this,i,a),x(this,"notifyTimingObjectConnect"),s.addEventListener("disconnect",function(){return x(u,"notifyTimingObjectDisconnect")}),o.abrupt("return",s);case 8:case"end":return o.stop()}},n,this)}));function t(n,i){return e.apply(this,arguments)}return t}()}]),r}();Se||(I=et(),Je(),Xe(),Ke(),Ze());const nt="https://player.vimeo.com/video",it="https://vimeo.com/event",at=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function me(r,e={}){const t={src:ot(r,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return e.config&&(t["data-config"]=JSON.stringify(e.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
|
+
}
|
|
14
|
+
:host(:not([controls])) {
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
}
|
|
17
|
+
</style>
|
|
18
|
+
<iframe${ut(t)}></iframe>
|
|
19
|
+
`}function ot(r,e){if(!r.src)return;let t=new URL(r.src);const n=r.src.match(at),i=n&&n[1],a=n&&n[2],u=t.searchParams.get("h")||void 0,s={controls:r.controls===""?null:0,autoplay:r.autoplay,loop:r.loop,muted:r.muted,playsinline:r.playsinline,preload:r.preload??"metadata",transparent:!1,autopause:r.autopause,h:u,...e.config};return i==="event/"?`${it}/${a}/embed?${ge(s)}`:`${nt}/${a}?${ge(s)}`}class Ne extends(globalThis.HTMLElement??class{}){static getTemplateHTML=me;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new ye;#l;#f;#p;#t=0;#r=NaN;#n=!1;#e=!this.autoplay;#o=1;#u=0;#i=0;#s=!1;#a=1;#h=NaN;#d=NaN;#c=null;constructor(){super(),this.#v("config")}requestFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:t.call(e)}exitFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:t.call(e)}requestPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:t.call(e)}exitPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:t.call(e)}get config(){return this.#c}set config(e){this.#c=e}async load(){var e;if(this.#l)return;const t=!this.#f;this.#f&&(this.loadComplete=new ye),this.#f=!0,await(this.#l=Promise.resolve()),this.#l=null,this.#t=0,this.#r=NaN,this.#n=!1,this.#e=!this.autoplay,this.#o=1,this.#u=0,this.#i=0,this.#s=!1,this.#a=1,this.#i=0,this.#h=NaN,this.#d=NaN,this.dispatchEvent(new Event("emptied"));let n=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const i={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInline,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),...this.#c},a=async()=>{this.#i=1,this.dispatchEvent(new Event("loadedmetadata")),this.api&&(this.#n=await this.api.getMuted(),this.#a=await this.api.getVolume(),this.dispatchEvent(new Event("volumechange")),this.#r=await this.api.getDuration(),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(this.#p){this.api=n,await this.api.loadVideo({...i,url:this.src}),await a(),await this.loadComplete;return}this.#p=!0;let u=(e=this.shadowRoot)==null?void 0:e.querySelector("iframe");t&&u&&(this.#c=JSON.parse(u.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=me(ct(this.attributes),this),u=this.shadowRoot.querySelector("iframe")),this.api=new le(u);const s=document.createElement("video");this.textTracks=s.textTracks,this.api.getTextTracks().then(o=>{o.forEach(b=>{s.addTextTrack(b.kind,b.label,b.language)})}),this.textTracks.addEventListener("change",()=>{const o=Array.from(this.textTracks).find(b=>b.mode==="showing");o?this.api.enableTextTrack(o.language,o.kind):this.api.disableTextTrack()});const h=()=>{this.api.off("loaded",h),a()};this.api.on("loaded",h),this.api.on("bufferstart",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{this.#i=3,this.#e=!1,this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{this.#s=!0,this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{this.#s=!1,this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{this.#e=!0,this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{this.#e=!0,this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:o})=>{this.#o=o,this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:o})=>{this.#a=o,this.api&&(this.#n=await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:o})=>{this.#r=o,this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:o})=>{this.#t=o,this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:o})=>{this.#u=o,this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:o,videoHeight:b})=>{this.#h=o,this.#d=b,this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(e,t,n){if(t!==n){switch(e){case"autoplay":case"controls":case"src":{this.load();return}}switch(await this.loadComplete,e){case"loop":{this.api.setLoop(this.loop);break}}}}async play(){var e;this.#e=!1,this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(t){throw this.#e=!0,this.dispatchEvent(new Event("pause")),t}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return this.#t>=this.#r}get seeking(){return this.#s}get readyState(){return this.#i}get videoWidth(){return this.#h}get videoHeight(){return this.#d}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return this.#e}get duration(){return this.#r}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return this.#u>0?we(0,this.#u):we()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return this.#t}set currentTime(e){this.currentTime!=e&&(this.#t=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setCurrentTime(e).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}get muted(){return this.#n}set muted(e){this.muted!=e&&(this.#n=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setMuted(e).catch(()=>{})}))}get playbackRate(){return this.#o}set playbackRate(e){this.playbackRate!=e&&(this.#o=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setPlaybackRate(e).catch(()=>{})}))}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}get volume(){return this.#a}set volume(e){this.volume!=e&&(this.#a=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setVolume(e).catch(()=>{})}))}#v(e){if(Object.prototype.hasOwnProperty.call(this,e)){const t=this[e];delete this[e],this[e]=t}}}function ut(r){let e="";for(const t in r){const n=r[t];n===""?e+=` ${oe(t)}`:e+=` ${oe(t)}="${oe(`${n}`)}"`}return e}function oe(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function ge(r){return String(new URLSearchParams(st(r)))}function st(r){let e={};for(let t in r){let n=r[t];n===!0||n===""?e[t]=1:n===!1?e[t]=0:n!=null&&(e[t]=n)}return e}function ct(r){let e={};for(let t of r)e[t.name]=t.value;return e}class ye extends Promise{constructor(e=()=>{}){let t,n;super((i,a)=>{e(i,a),t=i,n=a}),this.resolve=t,this.reject=n}}function we(r,e){return Array.isArray(r)?ue(r):r==null||e==null||r===0&&e===0?ue([[0,0]]):ue([[r,e]])}function ue(r){return Object.defineProperties(r,{start:{value:e=>r[e][0]},end:{value:e=>r[e][1]}}),r}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",Ne);var lt=Ne,ft=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),ht={className:"class",htmlFor:"for"};function Re(r){return r.toLowerCase()}function be(r){if(typeof r=="boolean")return r?"":void 0;if(typeof r!="function"&&!(typeof r=="object"&&r!==null))return r}function dt({react:r,tagName:e,elementClass:t,events:n,displayName:i,defaultProps:a,toAttributeName:u=Re,toAttributeValue:s=be}){const h=Number.parseInt(r.version)>=19,o=r.forwardRef((b,k)=>{var T,P;const g=r.useRef(null),_=r.useRef(new Map),O={},N={},m={},p={};for(const[f,v]of Object.entries(b)){if(ft.has(f)){m[f]=v;continue}const E=u(ht[f]??f);if(t.prototype&&f in t.prototype&&!(f in(((T=globalThis.HTMLElement)==null?void 0:T.prototype)??{}))&&!((P=t.observedAttributes)!=null&&P.some(y=>y===E))){p[f]=v;continue}if(f.startsWith("on")){O[f]=v;continue}const S=s(v);if(E&&S!=null&&(N[E]=String(S),h||(m[E]=S)),E&&h){const y=be(v);S!==y?m[E]=S:m[E]=v}}if(typeof window<"u"){for(const f in O){const v=O[f],E=f.endsWith("Capture"),S=(n?.[f]??f.slice(2).toLowerCase()).slice(0,E?-7:void 0);r.useLayoutEffect(()=>{const y=g?.current;if(!(!y||typeof v!="function"))return y.addEventListener(S,v,E),()=>{y.removeEventListener(S,v,E)}},[g?.current,v])}r.useLayoutEffect(()=>{if(g.current===null)return;const f=new Map;for(const v in p)Ee(g.current,v,p[v]),_.current.delete(v),f.set(v,p[v]);for(const[v,E]of _.current)Ee(g.current,v,void 0);_.current=f})}if(typeof window>"u"&&t?.getTemplateHTML&&t?.shadowRootOptions){const{mode:f,delegatesFocus:v}=t.shadowRootOptions,E=r.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:t.getTemplateHTML(N,b)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[E,m.children]}return r.createElement(e,{...a,...m,ref:r.useCallback(f=>{g.current=f,typeof k=="function"?k(f):k!==null&&(k.current=f)},[k])},m.children)});return o.displayName=i??t.name,o}function Ee(r,e,t){var n;r[e]=t,t==null&&e in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&r.removeAttribute(e)}var vt=dt({react:Ie,tagName:"vimeo-video",elementClass:lt,toAttributeName(r){return r==="muted"?"":r==="defaultMuted"?"muted":Re(r)}});export{vt as default};
|