@devix-technologies/react-gjirafa-vp-player 1.0.31-beta.3 → 1.0.31-beta.5

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.
@@ -1,4 +1,4 @@
1
- (function(I,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],A):(I=typeof globalThis<"u"?globalThis:I||self,A(I.ReactGjirafaVPPlayer={},I.React))})(this,(function(I,A){"use strict";function xr(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const ae=xr(A);var Pe={exports:{}},pe={};/**
1
+ (function(I,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],R):(I=typeof globalThis<"u"?globalThis:I||self,R(I.ReactGjirafaVPPlayer={},I.React))})(this,(function(I,R){"use strict";function xr(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const ae=xr(R);var xe={exports:{}},pe={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Ue;function Pr(){if(Ue)return pe;Ue=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(n,a,o){var s=null;if(o!==void 0&&(s=""+o),a.key!==void 0&&(s=""+a.key),"key"in a){o={};for(var l in a)l!=="key"&&(o[l]=a[l])}else o=a;return a=o.ref,{$$typeof:e,type:n,key:s,ref:a!==void 0?a:null,props:o}}return pe.Fragment=r,pe.jsx=t,pe.jsxs=t,pe}var he={};/**
9
+ */var Ue;function wr(){if(Ue)return pe;Ue=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(n,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var u in a)u!=="key"&&(s[u]=a[u])}else s=a;return a=s.ref,{$$typeof:e,type:n,key:l,ref:a!==void 0?a:null,props:s}}return pe.Fragment=r,pe.jsx=t,pe.jsxs=t,pe}var he={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,12 +14,12 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ze;function wr(){return ze||(ze=1,process.env.NODE_ENV!=="production"&&(function(){function e(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===X?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case y:return"Fragment";case k:return"Profiler";case b:return"StrictMode";case C:return"Suspense";case x:return"SuspenseList";case U:return"Activity"}if(typeof i=="object")switch(typeof i.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),i.$$typeof){case g:return"Portal";case N:return i.displayName||"Context";case j:return(i._context.displayName||"Context")+".Consumer";case V:var c=i.render;return i=i.displayName,i||(i=c.displayName||c.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case H:return c=i.displayName||null,c!==null?c:e(i.type)||"Memo";case re:c=i._payload,i=i._init;try{return e(i(c))}catch{}}return null}function r(i){return""+i}function t(i){try{r(i);var c=!1}catch{c=!0}if(c){c=console;var T=c.error,R=typeof Symbol=="function"&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||"Object";return T.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",R),r(i)}}function n(i){if(i===y)return"<>";if(typeof i=="object"&&i!==null&&i.$$typeof===re)return"<...>";try{var c=e(i);return c?"<"+c+">":"<...>"}catch{return"<...>"}}function a(){var i=D.A;return i===null?null:i.getOwner()}function o(){return Error("react-stack-top-frame")}function s(i){if($.call(i,"key")){var c=Object.getOwnPropertyDescriptor(i,"key").get;if(c&&c.isReactWarning)return!1}return i.key!==void 0}function l(i,c){function T(){q||(q=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",c))}T.isReactWarning=!0,Object.defineProperty(i,"key",{get:T,configurable:!0})}function d(){var i=e(this.type);return ne[i]||(ne[i]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),i=this.props.ref,i!==void 0?i:null}function h(i,c,T,R,B,de){var v=T.ref;return i={$$typeof:_,type:i,key:c,props:T,_owner:R},(v!==void 0?v:null)!==null?Object.defineProperty(i,"ref",{enumerable:!1,get:d}):Object.defineProperty(i,"ref",{enumerable:!1,value:null}),i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(i,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(i,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.defineProperty(i,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:de}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i}function p(i,c,T,R,B,de){var v=c.children;if(v!==void 0)if(R)if(te(v)){for(R=0;R<v.length;R++)m(v[R]);Object.freeze&&Object.freeze(v)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(v);if($.call(c,"key")){v=e(i);var S=Object.keys(c).filter(function(u){return u!=="key"});R=0<S.length?"{key: someKey, "+S.join(": ..., ")+": ...}":"{key: someKey}",oe[v+R]||(S=0<S.length?"{"+S.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var ze;function kr(){return ze||(ze=1,process.env.NODE_ENV!=="production"&&(function(){function e(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===J?null:o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case P:return"Fragment";case _:return"Profiler";case x:return"StrictMode";case $:return"Suspense";case k:return"SuspenseList";case z:return"Activity"}if(typeof o=="object")switch(typeof o.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),o.$$typeof){case v:return"Portal";case V:return o.displayName||"Context";case M:return(o._context.displayName||"Context")+".Consumer";case U:var f=o.render;return o=o.displayName,o||(o=f.displayName||f.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case B:return f=o.displayName||null,f!==null?f:e(o.type)||"Memo";case re:f=o._payload,o=o._init;try{return e(o(f))}catch{}}return null}function r(o){return""+o}function t(o){try{r(o);var f=!1}catch{f=!0}if(f){f=console;var i=f.error,c=typeof Symbol=="function"&&Symbol.toStringTag&&o[Symbol.toStringTag]||o.constructor.name||"Object";return i.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",c),r(o)}}function n(o){if(o===P)return"<>";if(typeof o=="object"&&o!==null&&o.$$typeof===re)return"<...>";try{var f=e(o);return f?"<"+f+">":"<...>"}catch{return"<...>"}}function a(){var o=W.A;return o===null?null:o.getOwner()}function s(){return Error("react-stack-top-frame")}function l(o){if(g.call(o,"key")){var f=Object.getOwnPropertyDescriptor(o,"key").get;if(f&&f.isReactWarning)return!1}return o.key!==void 0}function u(o,f){function i(){H||(H=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",f))}i.isReactWarning=!0,Object.defineProperty(o,"key",{get:i,configurable:!0})}function h(){var o=e(this.type);return ie[o]||(ie[o]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),o=this.props.ref,o!==void 0?o:null}function y(o,f,i,c,C,de){var w=i.ref;return o={$$typeof:O,type:o,key:f,props:i,_owner:c},(w!==void 0?w:null)!==null?Object.defineProperty(o,"ref",{enumerable:!1,get:h}):Object.defineProperty(o,"ref",{enumerable:!1,value:null}),o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(o,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(o,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:C}),Object.defineProperty(o,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:de}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o}function m(o,f,i,c,C,de){var w=f.children;if(w!==void 0)if(c)if(te(w)){for(c=0;c<w.length;c++)b(w[c]);Object.freeze&&Object.freeze(w)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else b(w);if(g.call(f,"key")){w=e(o);var T=Object.keys(f).filter(function(d){return d!=="key"});c=0<T.length?"{key: someKey, "+T.join(": ..., ")+": ...}":"{key: someKey}",oe[w+c]||(T=0<T.length?"{"+T.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,R,v,S,v),oe[v+R]=!0)}if(v=null,T!==void 0&&(t(T),v=""+T),s(c)&&(t(c.key),v=""+c.key),"key"in c){T={};for(var f in c)f!=="key"&&(T[f]=c[f])}else T=c;return v&&l(T,typeof i=="function"?i.displayName||i.name||"Unknown":i),h(i,v,T,a(),B,de)}function m(i){O(i)?i._store&&(i._store.validated=1):typeof i=="object"&&i!==null&&i.$$typeof===re&&(i._payload.status==="fulfilled"?O(i._payload.value)&&i._payload.value._store&&(i._payload.value._store.validated=1):i._store&&(i._store.validated=1))}function O(i){return typeof i=="object"&&i!==null&&i.$$typeof===_}var E=A,_=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),N=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),X=Symbol.for("react.client.reference"),D=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,te=Array.isArray,Y=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(i){return i()}};var q,ne={},J=E.react_stack_bottom_frame.bind(E,o)(),ie=Y(n(o)),oe={};he.Fragment=y,he.jsx=function(i,c,T){var R=1e4>D.recentlyCreatedOwnerStacks++;return p(i,c,T,!1,R?Error("react-stack-top-frame"):J,R?Y(n(i)):ie)},he.jsxs=function(i,c,T){var R=1e4>D.recentlyCreatedOwnerStacks++;return p(i,c,T,!0,R?Error("react-stack-top-frame"):J,R?Y(n(i)):ie)}})()),he}var De;function kr(){return De||(De=1,process.env.NODE_ENV==="production"?Pe.exports=Pr():Pe.exports=wr()),Pe.exports}var F=kr();function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ce.apply(null,arguments)}function Sr(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function Er(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var _r=(function(){function e(t){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Er(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Sr(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e})(),z="-ms-",we="-moz-",P="-webkit-",We="comm",je="rule",$e="decl",Tr="@import",Ye="@keyframes",Rr="@layer",Ar=Math.abs,ke=String.fromCharCode,Or=Object.assign;function Cr(e,r){return L(e,0)^45?(((r<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}function qe(e){return e.trim()}function jr(e,r){return(e=r.exec(e))?e[0]:e}function w(e,r,t){return e.replace(r,t)}function Me(e,r){return e.indexOf(r)}function L(e,r){return e.charCodeAt(r)|0}function me(e,r,t){return e.slice(r,t)}function Q(e){return e.length}function Ie(e){return e.length}function Se(e,r){return r.push(e),e}function $r(e,r){return e.map(r).join("")}var Ee=1,ce=1,Ge=0,W=0,M=0,le="";function _e(e,r,t,n,a,o,s){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:Ee,column:ce,length:s,return:""}}function ge(e,r){return Or(_e("",null,null,"",null,null,0),e,{length:-e.length},r)}function Mr(){return M}function Ir(){return M=W>0?L(le,--W):0,ce--,M===10&&(ce=1,Ee--),M}function G(){return M=W<Ge?L(le,W++):0,ce++,M===10&&(ce=1,Ee++),M}function K(){return L(le,W)}function Te(){return W}function ye(e,r){return me(le,e,r)}function be(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 He(e){return Ee=ce=1,Ge=Q(le=e),W=0,[]}function Be(e){return le="",e}function Re(e){return qe(ye(W-1,Fe(e===91?e+2:e===40?e+1:e)))}function Fr(e){for(;(M=K())&&M<33;)G();return be(e)>2||be(M)>3?"":" "}function Lr(e,r){for(;--r&&G()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return ye(e,Te()+(r<6&&K()==32&&G()==32))}function Fe(e){for(;G();)switch(M){case e:return W;case 34:case 39:e!==34&&e!==39&&Fe(M);break;case 40:e===41&&Fe(e);break;case 92:G();break}return W}function Nr(e,r){for(;G()&&e+M!==57;)if(e+M===84&&K()===47)break;return"/*"+ye(r,W-1)+"*"+ke(e===47?e:G())}function Vr(e){for(;!be(K());)G();return ye(e,W)}function Ur(e){return Be(Ae("",null,null,null,[""],e=He(e),0,[0],e))}function Ae(e,r,t,n,a,o,s,l,d){for(var h=0,p=0,m=s,O=0,E=0,_=0,g=1,y=1,b=1,k=0,j="",N=a,V=o,C=n,x=j;y;)switch(_=k,k=G()){case 40:if(_!=108&&L(x,m-1)==58){Me(x+=w(Re(k),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:x+=Re(k);break;case 9:case 10:case 13:case 32:x+=Fr(_);break;case 92:x+=Lr(Te()-1,7);continue;case 47:switch(K()){case 42:case 47:Se(zr(Nr(G(),Te()),r,t),d);break;default:x+="/"}break;case 123*g:l[h++]=Q(x)*b;case 125*g:case 59:case 0:switch(k){case 0:case 125:y=0;case 59+p:b==-1&&(x=w(x,/\f/g,"")),E>0&&Q(x)-m&&Se(E>32?Je(x+";",n,t,m-1):Je(w(x," ","")+";",n,t,m-2),d);break;case 59:x+=";";default:if(Se(C=Xe(x,r,t,h,p,a,l,j,N=[],V=[],m),o),k===123)if(p===0)Ae(x,r,C,C,N,o,m,l,V);else switch(O===99&&L(x,3)===110?100:O){case 100:case 108:case 109:case 115:Ae(e,C,C,n&&Se(Xe(e,C,C,0,0,a,l,j,a,N=[],m),V),a,V,m,l,n?N:V);break;default:Ae(x,C,C,C,[""],V,0,l,V)}}h=p=E=0,g=b=1,j=x="",m=s;break;case 58:m=1+Q(x),E=_;default:if(g<1){if(k==123)--g;else if(k==125&&g++==0&&Ir()==125)continue}switch(x+=ke(k),k*g){case 38:b=p>0?1:(x+="\f",-1);break;case 44:l[h++]=(Q(x)-1)*b,b=1;break;case 64:K()===45&&(x+=Re(G())),O=K(),p=m=Q(j=x+=Vr(Te())),k++;break;case 45:_===45&&Q(x)==2&&(g=0)}}return o}function Xe(e,r,t,n,a,o,s,l,d,h,p){for(var m=a-1,O=a===0?o:[""],E=Ie(O),_=0,g=0,y=0;_<n;++_)for(var b=0,k=me(e,m+1,m=Ar(g=s[_])),j=e;b<E;++b)(j=qe(g>0?O[b]+" "+k:w(k,/&\f/g,O[b])))&&(d[y++]=j);return _e(e,r,t,a===0?je:l,d,h,p)}function zr(e,r,t){return _e(e,r,t,We,ke(Mr()),me(e,2,-2),0)}function Je(e,r,t,n){return _e(e,r,t,$e,me(e,0,n),me(e,n+1,-1),n)}function ue(e,r){for(var t="",n=Ie(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function Dr(e,r,t,n){switch(e.type){case Rr:if(e.children.length)break;case Tr:case $e:return e.return=e.return||e.value;case We:return"";case Ye:return e.return=e.value+"{"+ue(e.children,n)+"}";case je:e.value=e.props.join(",")}return Q(t=ue(e.children,n))?e.return=e.value+"{"+t+"}":""}function Wr(e){var r=Ie(e);return function(t,n,a,o){for(var s="",l=0;l<r;l++)s+=e[l](t,n,a,o)||"";return s}}function Yr(e){return function(r){r.root||(r=r.return)&&e(r)}}function Ze(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var qr=function(r,t,n){for(var a=0,o=0;a=o,o=K(),a===38&&o===12&&(t[n]=1),!be(o);)G();return ye(r,W)},Gr=function(r,t){var n=-1,a=44;do switch(be(a)){case 0:a===38&&K()===12&&(t[n]=1),r[n]+=qr(W-1,t,n);break;case 2:r[n]+=Re(a);break;case 4:if(a===44){r[++n]=K()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=ke(a)}while(a=G());return r},Hr=function(r,t){return Be(Gr(He(r),t))},Qe=new WeakMap,Br=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!Qe.get(n))&&!a){Qe.set(r,!0);for(var o=[],s=Hr(t,o),l=n.props,d=0,h=0;d<s.length;d++)for(var p=0;p<l.length;p++,h++)r.props[h]=o[d]?s[d].replace(/&\f/g,l[p]):l[p]+" "+s[d]}}},Xr=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Ke(e,r){switch(Cr(e,r)){case 5103:return P+"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 P+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return P+e+we+e+z+e+e;case 6828:case 4268:return P+e+z+e+e;case 6165:return P+e+z+"flex-"+e+e;case 5187:return P+e+w(e,/(\w+).+(:[^]+)/,P+"box-$1$2"+z+"flex-$1$2")+e;case 5443:return P+e+z+"flex-item-"+w(e,/flex-|-self/,"")+e;case 4675:return P+e+z+"flex-line-pack"+w(e,/align-content|flex-|-self/,"")+e;case 5548:return P+e+z+w(e,"shrink","negative")+e;case 5292:return P+e+z+w(e,"basis","preferred-size")+e;case 6060:return P+"box-"+w(e,"-grow","")+P+e+z+w(e,"grow","positive")+e;case 4554:return P+w(e,/([^-])(transform)/g,"$1"+P+"$2")+e;case 6187:return w(w(w(e,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),e,"")+e;case 5495:case 3959:return w(e,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return w(w(e,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+e+e;case 4095:case 3583:case 4068:case 2532:return w(e,/(.+)-inline(.+)/,P+"$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(Q(e)-1-r>6)switch(L(e,r+1)){case 109:if(L(e,r+4)!==45)break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+we+(L(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Me(e,"stretch")?Ke(w(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(L(e,r+1)!==115)break;case 6444:switch(L(e,Q(e)-3-(~Me(e,"!important")&&10))){case 107:return w(e,":",":"+P)+e;case 101:return w(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(L(e,14)===45?"inline-":"")+"box$3$1"+P+"$2$3$1"+z+"$2box$3")+e}break;case 5936:switch(L(e,r+11)){case 114:return P+e+z+w(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return P+e+z+w(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return P+e+z+w(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return P+e+z+e+e}return e}var Jr=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case $e:r.return=Ke(r.value,r.length);break;case Ye:return ue([ge(r,{value:w(r.value,"@","@"+P)})],a);case je:if(r.length)return $r(r.props,function(o){switch(jr(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ue([ge(r,{props:[w(o,/:(read-\w+)/,":"+we+"$1")]})],a);case"::placeholder":return ue([ge(r,{props:[w(o,/:(plac\w+)/,":"+P+"input-$1")]}),ge(r,{props:[w(o,/:(plac\w+)/,":"+we+"$1")]}),ge(r,{props:[w(o,/:(plac\w+)/,z+"input-$1")]})],a)}return""})}},Zr=[Jr],Qr=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var y=g.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var a=r.stylisPlugins||Zr,o={},s,l=[];s=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var y=g.getAttribute("data-emotion").split(" "),b=1;b<y.length;b++)o[y[b]]=!0;l.push(g)});var d,h=[Br,Xr];{var p,m=[Dr,Yr(function(g){p.insert(g)})],O=Wr(h.concat(a,m)),E=function(y){return ue(Ur(y),O)};d=function(y,b,k,j){p=k,E(y?y+"{"+b.styles+"}":b.styles),j&&(_.inserted[b.name]=!0)}}var _={key:t,sheet:new _r({key:t,container:s,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:o,registered:{},insert:d};return _.sheet.hydrate(l),_},Kr=!0;function et(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var er=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Kr===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},rt=function(r,t,n){er(r,t,n);var a=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var o=t;do r.insert(t===o?"."+a:"",o,r.sheet,!0),o=o.next;while(o!==void 0)}};function tt(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var nt={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},at=/[A-Z]|^ms/g,it=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rr=function(r){return r.charCodeAt(1)===45},tr=function(r){return r!=null&&typeof r!="boolean"},Le=Ze(function(e){return rr(e)?e:e.replace(at,"-$&").toLowerCase()}),nr=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(it,function(n,a,o){return ee={name:a,styles:o,next:ee},a})}return nt[r]!==1&&!rr(r)&&typeof t=="number"&&t!==0?t+"px":t};function ve(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var a=t;if(a.anim===1)return ee={name:a.name,styles:a.styles,next:ee},a.name;var o=t;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)ee={name:s.name,styles:s.styles,next:ee},s=s.next;var l=o.styles+";";return l}return ot(e,r,t)}case"function":{if(e!==void 0){var d=ee,h=t(e);return ee=d,ve(e,r,h)}break}}var p=t;if(r==null)return p;var m=r[p];return m!==void 0?m:p}function ot(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=ve(e,r,t[a])+";";else for(var o in t){var s=t[o];if(typeof s!="object"){var l=s;r!=null&&r[l]!==void 0?n+=o+"{"+r[l]+"}":tr(l)&&(n+=Le(o)+":"+nr(o,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(r==null||r[s[0]]===void 0))for(var d=0;d<s.length;d++)tr(s[d])&&(n+=Le(o)+":"+nr(o,s[d])+";");else{var h=ve(e,r,s);switch(o){case"animation":case"animationName":{n+=Le(o)+":"+h+";";break}default:n+=o+"{"+h+"}"}}}return n}var ar=/label:\s*([^\s;{]+)\s*(;|$)/g,ee;function st(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";ee=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,a+=ve(t,r,o);else{var s=o;a+=s[0]}for(var l=1;l<e.length;l++)if(a+=ve(t,r,e[l]),n){var d=o;a+=d[l]}ar.lastIndex=0;for(var h="",p;(p=ar.exec(a))!==null;)h+="-"+p[1];var m=tt(a)+h;return{name:m,styles:a,next:ee}}var ct=function(r){return r()},lt=ae.useInsertionEffect?ae.useInsertionEffect:!1,ut=lt||ct,ir=ae.createContext(typeof HTMLElement<"u"?Qr({key:"css"}):null);ir.Provider;var ft=function(r){return A.forwardRef(function(t,n){var a=A.useContext(ir);return r(t,a,n)})},dt=ae.createContext({}),pt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ht=Ze(function(e){return pt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),mt=ht,gt=function(r){return r!=="theme"},or=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?mt:gt},sr=function(r,t,n){var a;if(t){var o=t.shouldForwardProp;a=r.__emotion_forwardProp&&o?function(s){return r.__emotion_forwardProp(s)&&o(s)}:o}return typeof a!="function"&&n&&(a=r.__emotion_forwardProp),a},yt=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return er(t,n,a),ut(function(){return rt(t,n,a)}),null},bt=function e(r,t){var n=r.__emotion_real===r,a=n&&r.__emotion_base||r,o,s;t!==void 0&&(o=t.label,s=t.target);var l=sr(r,t,n),d=l||or(a),h=!d("as");return function(){var p=arguments,m=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{var O=p[0];m.push(O[0]);for(var E=p.length,_=1;_<E;_++)m.push(p[_],O[_])}var g=ft(function(y,b,k){var j=h&&y.as||a,N="",V=[],C=y;if(y.theme==null){C={};for(var x in y)C[x]=y[x];C.theme=ae.useContext(dt)}typeof y.className=="string"?N=et(b.registered,V,y.className):y.className!=null&&(N=y.className+" ");var H=st(m.concat(V),b.registered,C);N+=b.key+"-"+H.name,s!==void 0&&(N+=" "+s);var re=h&&l===void 0?or(j):d,U={};for(var X in y)h&&X==="as"||re(X)&&(U[X]=y[X]);return U.className=N,k&&(U.ref=k),ae.createElement(ae.Fragment,null,ae.createElement(yt,{cache:b,serialized:H,isStringTag:typeof j=="string"}),ae.createElement(j,U))});return g.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",g.defaultProps=r.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=m,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+s}}),g.withComponent=function(y,b){var k=e(y,Ce({},t,b,{shouldForwardProp:sr(g,b,!0)}));return k.apply(void 0,m)},g}},vt=["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"],fe=bt.bind(null);vt.forEach(function(e){fe[e]=fe(e)});const xt=fe.div`
22
+ <%s key={someKey} {...props} />`,c,w,T,w),oe[w+c]=!0)}if(w=null,i!==void 0&&(t(i),w=""+i),l(f)&&(t(f.key),w=""+f.key),"key"in f){i={};for(var p in f)p!=="key"&&(i[p]=f[p])}else i=f;return w&&u(i,typeof o=="function"?o.displayName||o.name||"Unknown":o),y(o,w,i,a(),C,de)}function b(o){j(o)?o._store&&(o._store.validated=1):typeof o=="object"&&o!==null&&o.$$typeof===re&&(o._payload.status==="fulfilled"?j(o._payload.value)&&o._payload.value._store&&(o._payload.value._store.validated=1):o._store&&(o._store.validated=1))}function j(o){return typeof o=="object"&&o!==null&&o.$$typeof===O}var A=R,O=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),V=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),J=Symbol.for("react.client.reference"),W=A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g=Object.prototype.hasOwnProperty,te=Array.isArray,q=console.createTask?console.createTask:function(){return null};A={react_stack_bottom_frame:function(o){return o()}};var H,ie={},X=A.react_stack_bottom_frame.bind(A,s)(),ne=q(n(s)),oe={};he.Fragment=P,he.jsx=function(o,f,i){var c=1e4>W.recentlyCreatedOwnerStacks++;return m(o,f,i,!1,c?Error("react-stack-top-frame"):X,c?q(n(o)):ne)},he.jsxs=function(o,f,i){var c=1e4>W.recentlyCreatedOwnerStacks++;return m(o,f,i,!0,c?Error("react-stack-top-frame"):X,c?q(n(o)):ne)}})()),he}var De;function Sr(){return De||(De=1,process.env.NODE_ENV==="production"?xe.exports=wr():xe.exports=kr()),xe.exports}var L=Sr();function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ce.apply(null,arguments)}function Er(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function _r(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Tr=(function(){function e(t){var n=this;this._insertTag=function(a){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,s),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(_r(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Er(a);try{s.insertRule(n,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e})(),D="-ms-",we="-moz-",S="-webkit-",We="comm",je="rule",$e="decl",Rr="@import",Ye="@keyframes",Ar="@layer",Or=Math.abs,ke=String.fromCharCode,Cr=Object.assign;function jr(e,r){return N(e,0)^45?(((r<<2^N(e,0))<<2^N(e,1))<<2^N(e,2))<<2^N(e,3):0}function qe(e){return e.trim()}function $r(e,r){return(e=r.exec(e))?e[0]:e}function E(e,r,t){return e.replace(r,t)}function Me(e,r){return e.indexOf(r)}function N(e,r){return e.charCodeAt(r)|0}function me(e,r,t){return e.slice(r,t)}function Q(e){return e.length}function Fe(e){return e.length}function Se(e,r){return r.push(e),e}function Mr(e,r){return e.map(r).join("")}var Ee=1,ce=1,He=0,Y=0,F=0,le="";function _e(e,r,t,n,a,s,l){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:Ee,column:ce,length:l,return:""}}function ge(e,r){return Cr(_e("",null,null,"",null,null,0),e,{length:-e.length},r)}function Fr(){return F}function Ir(){return F=Y>0?N(le,--Y):0,ce--,F===10&&(ce=1,Ee--),F}function G(){return F=Y<He?N(le,Y++):0,ce++,F===10&&(ce=1,Ee++),F}function K(){return N(le,Y)}function Te(){return Y}function ye(e,r){return me(le,e,r)}function be(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 Ge(e){return Ee=ce=1,He=Q(le=e),Y=0,[]}function Be(e){return le="",e}function Re(e){return qe(ye(Y-1,Ie(e===91?e+2:e===40?e+1:e)))}function Lr(e){for(;(F=K())&&F<33;)G();return be(e)>2||be(F)>3?"":" "}function Nr(e,r){for(;--r&&G()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return ye(e,Te()+(r<6&&K()==32&&G()==32))}function Ie(e){for(;G();)switch(F){case e:return Y;case 34:case 39:e!==34&&e!==39&&Ie(F);break;case 40:e===41&&Ie(e);break;case 92:G();break}return Y}function Vr(e,r){for(;G()&&e+F!==57;)if(e+F===84&&K()===47)break;return"/*"+ye(r,Y-1)+"*"+ke(e===47?e:G())}function Ur(e){for(;!be(K());)G();return ye(e,Y)}function zr(e){return Be(Ae("",null,null,null,[""],e=Ge(e),0,[0],e))}function Ae(e,r,t,n,a,s,l,u,h){for(var y=0,m=0,b=l,j=0,A=0,O=0,v=1,P=1,x=1,_=0,M="",V=a,U=s,$=n,k=M;P;)switch(O=_,_=G()){case 40:if(O!=108&&N(k,b-1)==58){Me(k+=E(Re(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=Re(_);break;case 9:case 10:case 13:case 32:k+=Lr(O);break;case 92:k+=Nr(Te()-1,7);continue;case 47:switch(K()){case 42:case 47:Se(Dr(Vr(G(),Te()),r,t),h);break;default:k+="/"}break;case 123*v:u[y++]=Q(k)*x;case 125*v:case 59:case 0:switch(_){case 0:case 125:P=0;case 59+m:x==-1&&(k=E(k,/\f/g,"")),A>0&&Q(k)-b&&Se(A>32?Je(k+";",n,t,b-1):Je(E(k," ","")+";",n,t,b-2),h);break;case 59:k+=";";default:if(Se($=Xe(k,r,t,y,m,a,u,M,V=[],U=[],b),s),_===123)if(m===0)Ae(k,r,$,$,V,s,b,u,U);else switch(j===99&&N(k,3)===110?100:j){case 100:case 108:case 109:case 115:Ae(e,$,$,n&&Se(Xe(e,$,$,0,0,a,u,M,a,V=[],b),U),a,U,b,u,n?V:U);break;default:Ae(k,$,$,$,[""],U,0,u,U)}}y=m=A=0,v=x=1,M=k="",b=l;break;case 58:b=1+Q(k),A=O;default:if(v<1){if(_==123)--v;else if(_==125&&v++==0&&Ir()==125)continue}switch(k+=ke(_),_*v){case 38:x=m>0?1:(k+="\f",-1);break;case 44:u[y++]=(Q(k)-1)*x,x=1;break;case 64:K()===45&&(k+=Re(G())),j=K(),m=b=Q(M=k+=Ur(Te())),_++;break;case 45:O===45&&Q(k)==2&&(v=0)}}return s}function Xe(e,r,t,n,a,s,l,u,h,y,m){for(var b=a-1,j=a===0?s:[""],A=Fe(j),O=0,v=0,P=0;O<n;++O)for(var x=0,_=me(e,b+1,b=Or(v=l[O])),M=e;x<A;++x)(M=qe(v>0?j[x]+" "+_:E(_,/&\f/g,j[x])))&&(h[P++]=M);return _e(e,r,t,a===0?je:u,h,y,m)}function Dr(e,r,t){return _e(e,r,t,We,ke(Fr()),me(e,2,-2),0)}function Je(e,r,t,n){return _e(e,r,t,$e,me(e,0,n),me(e,n+1,-1),n)}function ue(e,r){for(var t="",n=Fe(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function Wr(e,r,t,n){switch(e.type){case Ar:if(e.children.length)break;case Rr:case $e:return e.return=e.return||e.value;case We:return"";case Ye:return e.return=e.value+"{"+ue(e.children,n)+"}";case je:e.value=e.props.join(",")}return Q(t=ue(e.children,n))?e.return=e.value+"{"+t+"}":""}function Yr(e){var r=Fe(e);return function(t,n,a,s){for(var l="",u=0;u<r;u++)l+=e[u](t,n,a,s)||"";return l}}function qr(e){return function(r){r.root||(r=r.return)&&e(r)}}function Ze(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Hr=function(r,t,n){for(var a=0,s=0;a=s,s=K(),a===38&&s===12&&(t[n]=1),!be(s);)G();return ye(r,Y)},Gr=function(r,t){var n=-1,a=44;do switch(be(a)){case 0:a===38&&K()===12&&(t[n]=1),r[n]+=Hr(Y-1,t,n);break;case 2:r[n]+=Re(a);break;case 4:if(a===44){r[++n]=K()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=ke(a)}while(a=G());return r},Br=function(r,t){return Be(Gr(Ge(r),t))},Qe=new WeakMap,Xr=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!Qe.get(n))&&!a){Qe.set(r,!0);for(var s=[],l=Br(t,s),u=n.props,h=0,y=0;h<l.length;h++)for(var m=0;m<u.length;m++,y++)r.props[y]=s[h]?l[h].replace(/&\f/g,u[m]):u[m]+" "+l[h]}}},Jr=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Ke(e,r){switch(jr(e,r)){case 5103:return S+"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 S+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+we+e+D+e+e;case 6828:case 4268:return S+e+D+e+e;case 6165:return S+e+D+"flex-"+e+e;case 5187:return S+e+E(e,/(\w+).+(:[^]+)/,S+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return S+e+D+"flex-item-"+E(e,/flex-|-self/,"")+e;case 4675:return S+e+D+"flex-line-pack"+E(e,/align-content|flex-|-self/,"")+e;case 5548:return S+e+D+E(e,"shrink","negative")+e;case 5292:return S+e+D+E(e,"basis","preferred-size")+e;case 6060:return S+"box-"+E(e,"-grow","")+S+e+D+E(e,"grow","positive")+e;case 4554:return S+E(e,/([^-])(transform)/g,"$1"+S+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,S+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+S+e+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,S+"$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(Q(e)-1-r>6)switch(N(e,r+1)){case 109:if(N(e,r+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+we+(N(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Me(e,"stretch")?Ke(E(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(N(e,r+1)!==115)break;case 6444:switch(N(e,Q(e)-3-(~Me(e,"!important")&&10))){case 107:return E(e,":",":"+S)+e;case 101:return E(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+S+(N(e,14)===45?"inline-":"")+"box$3$1"+S+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(N(e,r+11)){case 114:return S+e+D+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return S+e+D+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return S+e+D+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return S+e+D+e+e}return e}var Zr=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case $e:r.return=Ke(r.value,r.length);break;case Ye:return ue([ge(r,{value:E(r.value,"@","@"+S)})],a);case je:if(r.length)return Mr(r.props,function(s){switch($r(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ue([ge(r,{props:[E(s,/:(read-\w+)/,":"+we+"$1")]})],a);case"::placeholder":return ue([ge(r,{props:[E(s,/:(plac\w+)/,":"+S+"input-$1")]}),ge(r,{props:[E(s,/:(plac\w+)/,":"+we+"$1")]}),ge(r,{props:[E(s,/:(plac\w+)/,D+"input-$1")]})],a)}return""})}},Qr=[Zr],Kr=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var P=v.getAttribute("data-emotion");P.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var a=r.stylisPlugins||Qr,s={},l,u=[];l=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var P=v.getAttribute("data-emotion").split(" "),x=1;x<P.length;x++)s[P[x]]=!0;u.push(v)});var h,y=[Xr,Jr];{var m,b=[Wr,qr(function(v){m.insert(v)})],j=Yr(y.concat(a,b)),A=function(P){return ue(zr(P),j)};h=function(P,x,_,M){m=_,A(P?P+"{"+x.styles+"}":x.styles),M&&(O.inserted[x.name]=!0)}}var O={key:t,sheet:new Tr({key:t,container:l,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:s,registered:{},insert:h};return O.sheet.hydrate(u),O},et=!0;function rt(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var er=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||et===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},tt=function(r,t,n){er(r,t,n);var a=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var s=t;do r.insert(t===s?"."+a:"",s,r.sheet,!0),s=s.next;while(s!==void 0)}};function nt(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var at={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},it=/[A-Z]|^ms/g,ot=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rr=function(r){return r.charCodeAt(1)===45},tr=function(r){return r!=null&&typeof r!="boolean"},Le=Ze(function(e){return rr(e)?e:e.replace(it,"-$&").toLowerCase()}),nr=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(ot,function(n,a,s){return ee={name:a,styles:s,next:ee},a})}return at[r]!==1&&!rr(r)&&typeof t=="number"&&t!==0?t+"px":t};function ve(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var a=t;if(a.anim===1)return ee={name:a.name,styles:a.styles,next:ee},a.name;var s=t;if(s.styles!==void 0){var l=s.next;if(l!==void 0)for(;l!==void 0;)ee={name:l.name,styles:l.styles,next:ee},l=l.next;var u=s.styles+";";return u}return st(e,r,t)}case"function":{if(e!==void 0){var h=ee,y=t(e);return ee=h,ve(e,r,y)}break}}var m=t;if(r==null)return m;var b=r[m];return b!==void 0?b:m}function st(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=ve(e,r,t[a])+";";else for(var s in t){var l=t[s];if(typeof l!="object"){var u=l;r!=null&&r[u]!==void 0?n+=s+"{"+r[u]+"}":tr(u)&&(n+=Le(s)+":"+nr(s,u)+";")}else if(Array.isArray(l)&&typeof l[0]=="string"&&(r==null||r[l[0]]===void 0))for(var h=0;h<l.length;h++)tr(l[h])&&(n+=Le(s)+":"+nr(s,l[h])+";");else{var y=ve(e,r,l);switch(s){case"animation":case"animationName":{n+=Le(s)+":"+y+";";break}default:n+=s+"{"+y+"}"}}}return n}var ar=/label:\s*([^\s;{]+)\s*(;|$)/g,ee;function ct(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";ee=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,a+=ve(t,r,s);else{var l=s;a+=l[0]}for(var u=1;u<e.length;u++)if(a+=ve(t,r,e[u]),n){var h=s;a+=h[u]}ar.lastIndex=0;for(var y="",m;(m=ar.exec(a))!==null;)y+="-"+m[1];var b=nt(a)+y;return{name:b,styles:a,next:ee}}var lt=function(r){return r()},ut=ae.useInsertionEffect?ae.useInsertionEffect:!1,ft=ut||lt,ir=ae.createContext(typeof HTMLElement<"u"?Kr({key:"css"}):null);ir.Provider;var dt=function(r){return R.forwardRef(function(t,n){var a=R.useContext(ir);return r(t,a,n)})},pt=ae.createContext({}),ht=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,mt=Ze(function(e){return ht.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gt=mt,yt=function(r){return r!=="theme"},or=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?gt:yt},sr=function(r,t,n){var a;if(t){var s=t.shouldForwardProp;a=r.__emotion_forwardProp&&s?function(l){return r.__emotion_forwardProp(l)&&s(l)}:s}return typeof a!="function"&&n&&(a=r.__emotion_forwardProp),a},bt=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return er(t,n,a),ft(function(){return tt(t,n,a)}),null},vt=function e(r,t){var n=r.__emotion_real===r,a=n&&r.__emotion_base||r,s,l;t!==void 0&&(s=t.label,l=t.target);var u=sr(r,t,n),h=u||or(a),y=!h("as");return function(){var m=arguments,b=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(s!==void 0&&b.push("label:"+s+";"),m[0]==null||m[0].raw===void 0)b.push.apply(b,m);else{var j=m[0];b.push(j[0]);for(var A=m.length,O=1;O<A;O++)b.push(m[O],j[O])}var v=dt(function(P,x,_){var M=y&&P.as||a,V="",U=[],$=P;if(P.theme==null){$={};for(var k in P)$[k]=P[k];$.theme=ae.useContext(pt)}typeof P.className=="string"?V=rt(x.registered,U,P.className):P.className!=null&&(V=P.className+" ");var B=ct(b.concat(U),x.registered,$);V+=x.key+"-"+B.name,l!==void 0&&(V+=" "+l);var re=y&&u===void 0?or(M):h,z={};for(var J in P)y&&J==="as"||re(J)&&(z[J]=P[J]);return z.className=V,_&&(z.ref=_),ae.createElement(ae.Fragment,null,ae.createElement(bt,{cache:x,serialized:B,isStringTag:typeof M=="string"}),ae.createElement(M,z))});return v.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",v.defaultProps=r.defaultProps,v.__emotion_real=v,v.__emotion_base=a,v.__emotion_styles=b,v.__emotion_forwardProp=u,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(P,x){var _=e(P,Ce({},t,x,{shouldForwardProp:sr(v,x,!0)}));return _.apply(void 0,b)},v}},Pt=["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"],fe=vt.bind(null);Pt.forEach(function(e){fe[e]=fe(e)});const xt=fe.div`
23
23
  display: flex;
24
24
  align-items: center;
25
25
  justify-content: center;
@@ -47,7 +47,7 @@ React keys must be passed directly to JSX without using spread:
47
47
  background-color: rgba(255, 165, 0, 0.1);
48
48
  border: 1px solid orange;
49
49
  `;default:return""}}}
50
- `,cr=({type:e,children:r,className:t,icon:n,action:a})=>F.jsxs(xt,{type:e,className:t,children:[n&&F.jsx("span",{children:n}),F.jsx("span",{children:r}),a&&F.jsx("span",{children:a})]}),Ne=fe.div`
50
+ `,cr=({type:e,children:r,className:t,icon:n,action:a})=>L.jsxs(xt,{type:e,className:t,children:[n&&L.jsx("span",{children:n}),L.jsx("span",{children:r}),a&&L.jsx("span",{children:a})]}),Ne=fe.div`
51
51
  width: ${({width:e})=>e||"100%"};
52
52
  height: ${({height:e})=>e||"100%"};
53
53
  border-radius: 0px !important; /* Force remove rounded corners on container */
@@ -79,4 +79,4 @@ React keys must be passed directly to JSX without using spread:
79
79
  max-width: 90vw;
80
80
  max-height: 90vh;
81
81
  z-index: 1001;
82
- `,xe="https://host.vpplayer.tech",fr=e=>`${xe}/player/${e}/vpplayer.js`,Pt=e=>`${xe}/player/${e}.js`,dr=(e,r)=>`${xe}/player/${e}/${r}.js`,Ve=e=>`${xe}/vertical-player/${e}.js`,pr=(e,r)=>e?`vp-player-${e}`:r?`vp-player-default-${r}`:"vp-player-default",hr=(e,r)=>{const t=new URL(e);return t.searchParams.set("divId",r),t.toString()},Oe=new Map,mr=(e,r)=>{const[t,n]=A.useState(!1),[a,o]=A.useState(null);return A.useEffect(()=>{let s;try{s=r||fr(e||"latest")}catch(h){const p=h instanceof Error?h.message:String(h);o(`Failed to resolve script URL: ${p}`);return}if(!Oe.has(s))if(document.querySelector(`script[src="${s}"]`))Oe.set(s,Promise.resolve());else{const p=new Promise((m,O)=>{const E=document.createElement("script");E.src=s,E.async=!0,E.onload=()=>m(),E.onerror=()=>O(new Error(`Failed to load script: ${s}`)),document.body.appendChild(E)});Oe.set(s,p)}let l=!0;const d=Oe.get(s);return d&&d.then(()=>{l&&(n(!0),o(null))}).catch(h=>{l&&(n(!1),o(h instanceof Error?h.message:String(h)))}),()=>{l=!1}},[e,r]),{isLoaded:t,error:a}};function wt(e,r,t=!1){const n=e.startIndex??0,a=e.videos[n]||e.videos[0];if(!a)throw new Error("Manual playlist must have at least one video");const o=a.file||a.hlsUrl;if(!o)throw new Error("Each video in manual playlist must have a 'file' or 'hlsUrl' property");const s=e.videos.map(d=>({videoId:d.videoId||"",title:d.title||"",file:d.file||d.hlsUrl||"",thumbnailUrl:d.thumbnailUrl||d.thumbnail||"",duration:d.duration||0}));return{projectId:r||"",video:{videoId:a.videoId||"",file:o,title:a.title||"",thumbnail:a.thumbnailUrl||a.thumbnail||"",playlist:{state:!0,playlistId:"",playlistVideoIndex:n,videos:s}},config:{autoplay:!0,muted:!0,...t&&{size:{sizeType:"RESPONSIVE",aspectRatio:"9:16"}}}}}const gr=({scriptId:e,videoId:r,scriptUrl:t,projectId:n,playlist:a,playerId:o,isVertical:s=!1,isReels:l=!1,onReady:d,onPlay:h,onPause:p,onResume:m,onComplete:O,onError:E,onVideoStarted:_,onTimeUpdate:g,onQuartile25:y,onQuartile50:b,onQuartile75:k,onNext:j,onPrevious:N,onProgress10s:V,onProgress20s:C})=>{var i;const x=A.useRef(null),H=A.useRef(null),[re,U]=A.useState(null),X=A.useId().replace(/:/g,""),D=A.useMemo(()=>pr(o||`auto-${X}`,r),[o,X,r]),$=A.useRef({onReady:d,onPlay:h,onPause:p,onResume:m,onComplete:O,onError:E,onVideoStarted:_,onTimeUpdate:g,onQuartile25:y,onQuartile50:b,onQuartile75:k,onNext:j,onPrevious:N,onProgress10s:V,onProgress20s:C});A.useEffect(()=>{$.current={onReady:d,onPlay:h,onPause:p,onResume:m,onComplete:O,onError:E,onVideoStarted:_,onTimeUpdate:g,onQuartile25:y,onQuartile50:b,onQuartile75:k,onNext:j,onPrevious:N,onProgress10s:V,onProgress20s:C}});const te=A.useRef(!1),Y=!!((i=a==null?void 0:a.videos)!=null&&i.length),q=A.useMemo(()=>s||l?!0:t?t.includes("vertical-player")||t.includes("vpverticalplayer"):!1,[s,l,t]),ne=A.useMemo(()=>{let c;if(t)c=t;else if(e&&r&&!Y)c=q?Ve(e):dr(e,r);else if(e)c=q?Ve(e):`https://host.vpplayer.tech/player/${e}.js`;else return null;return hr(c,D)},[t,e,r,q,D,Y]),J=A.useMemo(()=>{if(!Y||!a)return null;try{return wt(a,n,q)}catch(c){return console.error("Failed to build manual playlist config:",c),null}},[Y,a,n,q]),{isLoaded:ie,error:oe}=mr(null,ne||void 0);return A.useEffect(()=>{if(!ne){U("VPPlayer: Provide scriptUrl OR (scriptId + videoId) OR (scriptId + playlist) to initialize the player.");return}if(oe){U(oe);return}if(!ie)return;if(Y&&!J){U("VPPlayer: Failed to build manual playlist configuration.");return}let c=!0;return(async()=>{var R;try{const B=q?window.vpVerticalPlayer:window.vpPlayer;if(!B){U(`VP Player: Script loaded but global function not found. Expected ${q?"vpVerticalPlayer":"vpPlayer"}.`);return}if(await new Promise(S=>setTimeout(S,0)),!document.getElementById(D)){console.error(`VP Player: Container element with ID '${D}' not found in DOM.`);return}const v=B(D);if(!v){U("VP Player: Failed to get player instance.");return}if(c){if(H.current=v,U(null),te.current=!1,Y&&J){console.log("VP Player: Manual playlist mode - calling setup() with config:",J);try{v.setup(J)}catch(S){const f=S instanceof Error?S.message:String(S);if(f.includes("already initialized")){console.warn("VP Player: Player already initialized, attempting to destroy and retry.");try{if((R=v.destroy)==null||R.call(v),await new Promise(u=>setTimeout(u,50)),c&&document.getElementById(D)){const u=B(D);u&&(u.setup(J),H.current=u)}}catch(u){console.error("VP Player: Failed to recover from initialization error",u)}}else{console.error("VP Player: Setup error",S),U(`Player setup failed: ${f}`);return}}}if(v.on){const S=v.on.bind(v);S("ready",()=>{var f,u;(u=(f=$.current).onReady)==null||u.call(f)}),S("play",()=>{var f,u;(u=(f=$.current).onPlay)==null||u.call(f)}),S("pause",()=>{var f,u;(u=(f=$.current).onPause)==null||u.call(f)}),S("resume",()=>{var f,u;(u=(f=$.current).onResume)==null||u.call(f)}),S("complete",()=>{var f,u;(u=(f=$.current).onComplete)==null||u.call(f),te.current=!1}),S("video-started",f=>{var u,Z;(Z=(u=$.current).onVideoStarted)==null||Z.call(u,f)}),S("firstQuartile",()=>{var f,u;(u=(f=$.current).onQuartile25)==null||u.call(f)}),S("secondQuartile",()=>{var f,u;(u=(f=$.current).onQuartile50)==null||u.call(f)}),S("thirdQuartile",()=>{var f,u;(u=(f=$.current).onQuartile75)==null||u.call(f)}),S("video-state",()=>{var u,Z,se;const f=((u=v.getPosition)==null?void 0:u.call(v))??0;(se=(Z=$.current).onProgress10s)==null||se.call(Z,Math.floor(f))}),S("time",f=>{var Z,se,yr,br,vr;let u=0;typeof f=="number"?u=f:f&&typeof f=="object"&&"position"in f?u=f.position:u=((Z=v.getPosition)==null?void 0:Z.call(v))??0,(yr=(se=$.current).onTimeUpdate)==null||yr.call(se,u),!te.current&&u>=20&&(te.current=!0,(vr=(br=$.current).onProgress20s)==null||vr.call(br,Math.floor(u)))}),S("playlistItem",()=>{var f,u;(u=(f=$.current).onNext)==null||u.call(f),te.current=!1}),S("error",f=>{var Z,se;const u=typeof f=="string"?f:(f==null?void 0:f.message)||"Unknown error";(se=(Z=$.current).onError)==null||se.call(Z,u)})}}}catch(B){if(c){const de=B instanceof Error?B.message:String(B);U(de),console.error("VP Player initialization error:",B)}}})(),()=>{var R;if(c=!1,(R=H.current)!=null&&R.destroy){try{H.current.destroy()}catch{}H.current=null}}},[ie,D,oe,ne,q,Y,J]),{playerRef:x,playerInstanceRef:H,isScriptLoaded:ie,isLoading:!ie&&!re,error:re,generatedPlayerId:D}},kt=({scriptId:e,videoId:r,scriptUrl:t,projectId:n,playlist:a,playerId:o,isVertical:s=!1,isReels:l=!1,thumbnailUrl:d,onClose:h,className:p,hiddenClasses:m=[],onReady:O,onPlay:E,onPause:_,onResume:g,onComplete:y,onError:b,onVideoStarted:k,onTimeUpdate:j,onQuartile25:N,onQuartile50:V,onQuartile75:C,onNext:x,onPrevious:H,onProgress10s:re,onProgress20s:U})=>{const{playerRef:X,playerInstanceRef:D,isScriptLoaded:$,isLoading:te,error:Y,generatedPlayerId:q}=gr({scriptId:e,videoId:r,scriptUrl:t,projectId:n,playlist:a,playerId:o,isVertical:s,isReels:l,onReady:O,onPlay:E,onPause:_,onResume:g,onComplete:y,onError:b,onVideoStarted:k,onTimeUpdate:j,onQuartile25:N,onQuartile50:V,onQuartile75:C,onNext:x,onPrevious:H,onProgress10s:re,onProgress20s:U}),[ne,J]=A.useState(!0),ie=()=>l&&J(!0),oe=()=>{var c,T;!l||!ne||(J(!1),(T=(c=D.current)==null?void 0:c.pause)==null||T.call(c),h==null||h())};if(Y)return F.jsxs(cr,{type:"error",children:["An error occurred: ",Y]});const i=()=>F.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.8)",zIndex:10},children:F.jsx(cr,{type:"loading",children:"Loading..."})});return l?F.jsxs(F.Fragment,{children:[!ne&&F.jsx("div",{onClick:ie,style:{cursor:"pointer",width:"100%",height:"100%",backgroundImage:d?`url(${d})`:void 0,backgroundSize:"cover",backgroundPosition:"center"}}),ne&&F.jsx(lr,{onClick:oe,className:p,children:F.jsx(ur,{className:p,onClick:c=>c.stopPropagation(),children:F.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[F.jsx(Ne,{id:q,ref:X,width:"100%",height:"100%",$hiddenClasses:m,className:p}),(te||!$)&&F.jsx(i,{})]})})})]}):F.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[F.jsx(Ne,{id:q,ref:X,width:"100%",height:"100%",$hiddenClasses:m,className:p}),(te||!$)&&F.jsx(i,{})]})};I.Overlay=lr,I.PlayerContainer=Ne,I.PlayerWrapper=ur,I.VPPlayer=kt,I.VP_PLAYER_BASE_URL=xe,I.appendDivIdToUrl=hr,I.generatePlayerId=pr,I.getFullyManagedPlayerScriptUrl=dr,I.getManagedPlayerScriptUrl=Pt,I.getPlayerScriptUrl=fr,I.getVerticalPlayerScriptUrl=Ve,I.useVPPlayerLogic=gr,I.useVPPlayerScript=mr,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})}));
82
+ `,Pe="https://host.vpplayer.tech",fr=e=>`${Pe}/player/${e}/vpplayer.js`,wt=e=>`${Pe}/player/${e}.js`,dr=(e,r)=>`${Pe}/player/${e}/${r}.js`,Ve=e=>`${Pe}/vertical-player/${e}.js`,pr=(e,r)=>e?`vp-player-${e}`:r?`vp-player-default-${r}`:"vp-player-default",hr=(e,r)=>{const t=new URL(e);return t.searchParams.set("divId",r),t.toString()},Oe=new Map,mr=(e,r)=>{const[t,n]=R.useState(!1),[a,s]=R.useState(null);return R.useEffect(()=>{let l;try{l=r||fr(e||"latest")}catch(y){const m=y instanceof Error?y.message:String(y);s(`Failed to resolve script URL: ${m}`);return}if(!Oe.has(l))if(document.querySelector(`script[src="${l}"]`))Oe.set(l,Promise.resolve());else{const m=new Promise((b,j)=>{const A=document.createElement("script");A.src=l,A.async=!0,A.onload=()=>b(),A.onerror=()=>j(new Error(`Failed to load script: ${l}`)),document.body.appendChild(A)});Oe.set(l,m)}let u=!0;const h=Oe.get(l);return h&&h.then(()=>{u&&(n(!0),s(null))}).catch(y=>{u&&(n(!1),s(y instanceof Error?y.message:String(y)))}),()=>{u=!1}},[e,r]),{isLoaded:t,error:a}};function kt(e,r,t=!1){const n=e.startIndex??0,a=e.videos[n]||e.videos[0];if(!a)throw new Error("Manual playlist must have at least one video");const s=a.file||a.hlsUrl;if(!s)throw new Error("Each video in manual playlist must have a 'file' or 'hlsUrl' property");const l=e.videos.map(h=>({videoId:h.videoId||"",title:h.title||"",file:h.file||h.hlsUrl||"",thumbnailUrl:h.thumbnailUrl||h.thumbnail||"",duration:h.duration||0}));return{projectId:r||"",video:{videoId:a.videoId||"",file:s,title:a.title||"",thumbnail:a.thumbnailUrl||a.thumbnail||"",playlist:{state:!0,playlistId:"",playlistVideoIndex:n,videos:l}},config:{autoplay:!0,muted:!0,...t&&{size:{sizeType:"RESPONSIVE",aspectRatio:"9:16"}}}}}const gr=({scriptId:e,videoId:r,scriptUrl:t,projectId:n,playlist:a,playerId:s,isVertical:l=!1,isReels:u=!1,onReady:h,onPlay:y,onPause:m,onResume:b,onComplete:j,onError:A,onVideoStarted:O,onTimeUpdate:v,onQuartile25:P,onQuartile50:x,onQuartile75:_,onNext:M,onPrevious:V,onProgress10s:U,onProgress20s:$})=>{var o;const k=R.useRef(null),B=R.useRef(null),[re,z]=R.useState(null),J=R.useId().replace(/:/g,""),W=R.useMemo(()=>pr(s||`auto-${J}`,r),[s,J,r]),g=R.useRef({onReady:h,onPlay:y,onPause:m,onResume:b,onComplete:j,onError:A,onVideoStarted:O,onTimeUpdate:v,onQuartile25:P,onQuartile50:x,onQuartile75:_,onNext:M,onPrevious:V,onProgress10s:U,onProgress20s:$});R.useEffect(()=>{g.current={onReady:h,onPlay:y,onPause:m,onResume:b,onComplete:j,onError:A,onVideoStarted:O,onTimeUpdate:v,onQuartile25:P,onQuartile50:x,onQuartile75:_,onNext:M,onPrevious:V,onProgress10s:U,onProgress20s:$}});const te=R.useRef(!1),q=!!((o=a==null?void 0:a.videos)!=null&&o.length),H=R.useMemo(()=>l||u?!0:t?t.includes("vertical-player")||t.includes("vpverticalplayer"):!1,[l,u,t]),ie=R.useMemo(()=>{let f;if(t)f=t;else if(e&&r&&!q)f=H?Ve(e):dr(e,r);else if(e)f=H?Ve(e):`https://host.vpplayer.tech/player/${e}.js`;else return null;return hr(f,W)},[t,e,r,H,W,q]),X=R.useMemo(()=>{if(!q||!a)return null;try{return kt(a,n,H)}catch(f){return console.error("Failed to build manual playlist config:",f),null}},[q,a,n,H]),{isLoaded:ne,error:oe}=mr(null,ie||void 0);return R.useEffect(()=>{if(!ie){z("VPPlayer: Provide scriptUrl OR (scriptId + videoId) OR (scriptId + playlist) to initialize the player.");return}if(oe){z(oe);return}if(!ne)return;if(q&&!X){z("VPPlayer: Failed to build manual playlist configuration.");return}let f=!0;return(async()=>{var c;try{const C=H?window.vpVerticalPlayer:window.vpPlayer;if(!C){z(`VP Player: Script loaded but global function not found. Expected ${H?"vpVerticalPlayer":"vpPlayer"}.`);return}if(await new Promise(T=>setTimeout(T,0)),!document.getElementById(W)){console.error(`VP Player: Container element with ID '${W}' not found in DOM.`);return}const w=C(W);if(!w){z("VP Player: Failed to get player instance.");return}if(f){if(B.current=w,z(null),te.current=!1,q&&X){console.log("VP Player: Manual playlist mode - calling setup() with config:",X);try{w.setup(X)}catch(T){const p=T instanceof Error?T.message:String(T);if(p.includes("already initialized")){console.warn("VP Player: Player already initialized, attempting to destroy and retry.");try{if((c=w.destroy)==null||c.call(w),await new Promise(d=>setTimeout(d,50)),f&&document.getElementById(W)){const d=C(W);d&&(d.setup(X),B.current=d)}}catch(d){console.error("VP Player: Failed to recover from initialization error",d)}}else{console.error("VP Player: Setup error",T),z(`Player setup failed: ${p}`);return}}}if(w.on){const T=w.on.bind(w);T("ready",()=>{var p,d;(d=(p=g.current).onReady)==null||d.call(p)}),T("play",()=>{var p,d;(d=(p=g.current).onPlay)==null||d.call(p)}),T("pause",()=>{var p,d;(d=(p=g.current).onPause)==null||d.call(p)}),T("resume",()=>{var p,d;(d=(p=g.current).onResume)==null||d.call(p)}),T("complete",()=>{var p,d;(d=(p=g.current).onComplete)==null||d.call(p),te.current=!1}),T("video-started",p=>{var d,Z;(Z=(d=g.current).onVideoStarted)==null||Z.call(d,p)}),T("firstQuartile",()=>{var p,d;(d=(p=g.current).onQuartile25)==null||d.call(p)}),T("secondQuartile",()=>{var p,d;(d=(p=g.current).onQuartile50)==null||d.call(p)}),T("thirdQuartile",()=>{var p,d;(d=(p=g.current).onQuartile75)==null||d.call(p)}),T("video-state",()=>{var d,Z,se;const p=((d=w.getPosition)==null?void 0:d.call(w))??0;(se=(Z=g.current).onProgress10s)==null||se.call(Z,Math.floor(p))}),T("time",p=>{var Z,se,br,vr,Pr;let d=0;typeof p=="number"?d=p:p&&typeof p=="object"&&"position"in p?d=p.position:d=((Z=w.getPosition)==null?void 0:Z.call(w))??0,(br=(se=g.current).onTimeUpdate)==null||br.call(se,d),!te.current&&d>=20&&(te.current=!0,(Pr=(vr=g.current).onProgress20s)==null||Pr.call(vr,Math.floor(d)))}),T("playlistItem",()=>{var p,d;(d=(p=g.current).onNext)==null||d.call(p),te.current=!1}),T("error",p=>{var Z,se;const d=typeof p=="string"?p:(p==null?void 0:p.message)||"Unknown error";(se=(Z=g.current).onError)==null||se.call(Z,d)})}}}catch(C){if(f){const de=C instanceof Error?C.message:String(C);z(de),console.error("VP Player initialization error:",C)}}})(),()=>{var c;if(f=!1,(c=B.current)!=null&&c.destroy){try{B.current.destroy()}catch{}B.current=null}}},[ne,W,oe,ie,H,q,X]),{playerRef:k,playerInstanceRef:B,isScriptLoaded:ne,isLoading:!ne&&!re,error:re,generatedPlayerId:W}},yr=R.forwardRef(({scriptId:e,videoId:r,scriptUrl:t,projectId:n,playlist:a,playerId:s,isVertical:l=!1,isReels:u=!1,thumbnailUrl:h,onClose:y,className:m,hiddenClasses:b=[],onReady:j,onPlay:A,onPause:O,onResume:v,onComplete:P,onError:x,onVideoStarted:_,onTimeUpdate:M,onQuartile25:V,onQuartile50:U,onQuartile75:$,onNext:k,onPrevious:B,onProgress10s:re,onProgress20s:z},J)=>{const{playerRef:W,playerInstanceRef:g,isScriptLoaded:te,isLoading:q,error:H,generatedPlayerId:ie}=gr({scriptId:e,videoId:r,scriptUrl:t,projectId:n,playlist:a,playerId:s,isVertical:l,isReels:u,onReady:j,onPlay:A,onPause:O,onResume:v,onComplete:P,onError:x,onVideoStarted:_,onTimeUpdate:M,onQuartile25:V,onQuartile50:U,onQuartile75:$,onNext:k,onPrevious:B,onProgress10s:re,onProgress20s:z});R.useImperativeHandle(J,()=>({play:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.play)==null?void 0:c.call(i)},pause:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.pause)==null?void 0:c.call(i)},seek:i=>{var c,C;return(C=(c=g.current)==null?void 0:c.seek)==null?void 0:C.call(c,i)},forward:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.forward)==null?void 0:c.call(i)},rewind:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.rewind)==null?void 0:c.call(i)},replay:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.replay)==null?void 0:c.call(i)},mute:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.mute)==null?void 0:c.call(i)},unmute:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.unmute)==null?void 0:c.call(i)},togglePlay:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.togglePlay)==null?void 0:c.call(i)},toggleMute:()=>{var i,c;return(c=(i=g.current)==null?void 0:i.toggleMute)==null?void 0:c.call(i)},enterFullScreen:()=>{var i,c,C;return(C=((i=g.current)==null?void 0:i.enterFullScreen)??((c=g.current)==null?void 0:c.enterFullscreen))==null?void 0:C()},exitFullScreen:()=>{var i,c,C;return(C=((i=g.current)==null?void 0:i.exitFullScreen)??((c=g.current)==null?void 0:c.exitFullscreen))==null?void 0:C()},getPosition:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.getPosition)==null?void 0:c.call(i))??null},getDuration:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.getDuration)==null?void 0:c.call(i))??null},getVolume:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.getVolume)==null?void 0:c.call(i))??null},setVolume:i=>{var c,C;return(C=(c=g.current)==null?void 0:c.setVolume)==null?void 0:C.call(c,i)},isMuted:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.isMuted)==null?void 0:c.call(i))??!1},isPlaying:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.isPlaying)==null?void 0:c.call(i))??!1},isPaused:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.isPaused)==null?void 0:c.call(i))??!1},isFullscreen:()=>{var i,c;return((c=(i=g.current)==null?void 0:i.isFullscreen)==null?void 0:c.call(i))??!1}}),[]);const[X,ne]=R.useState(!0),oe=()=>u&&ne(!0),o=()=>{var i,c;!u||!X||(ne(!1),(c=(i=g.current)==null?void 0:i.pause)==null||c.call(i),y==null||y())};if(H)return L.jsxs(cr,{type:"error",children:["An error occurred: ",H]});const f=()=>L.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.8)",zIndex:10},children:L.jsx(cr,{type:"loading",children:"Loading..."})});return u?L.jsxs(L.Fragment,{children:[!X&&L.jsx("div",{onClick:oe,style:{cursor:"pointer",width:"100%",height:"100%",backgroundImage:h?`url(${h})`:void 0,backgroundSize:"cover",backgroundPosition:"center"}}),X&&L.jsx(lr,{onClick:o,className:m,children:L.jsx(ur,{className:m,onClick:i=>i.stopPropagation(),children:L.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[L.jsx(Ne,{id:ie,ref:W,width:"100%",height:"100%",$hiddenClasses:b,className:m}),(q||!te)&&L.jsx(f,{})]})})})]}):L.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},children:[L.jsx(Ne,{id:ie,ref:W,width:"100%",height:"100%",$hiddenClasses:b,className:m}),(q||!te)&&L.jsx(f,{})]})});yr.displayName="VPPlayer",I.Overlay=lr,I.PlayerContainer=Ne,I.PlayerWrapper=ur,I.VPPlayer=yr,I.VP_PLAYER_BASE_URL=Pe,I.appendDivIdToUrl=hr,I.generatePlayerId=pr,I.getFullyManagedPlayerScriptUrl=dr,I.getManagedPlayerScriptUrl=wt,I.getPlayerScriptUrl=fr,I.getVerticalPlayerScriptUrl=Ve,I.useVPPlayerLogic=gr,I.useVPPlayerScript=mr,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devix-technologies/react-gjirafa-vp-player",
3
- "version": "1.0.31-beta.3",
3
+ "version": "1.0.31-beta.5",
4
4
  "type": "module",
5
5
  "main": "./dist/react-gjirafa-vp-player.umd.js",
6
6
  "module": "./dist/react-gjirafa-vp-player.es.js",