Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

tailwind-player

Package Overview
Dependencies
6
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

10

dist/index.cjs.js

@@ -1,2 +0,2 @@

"use strict";const R=require("react");function sr(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const v in i)if(v!=="default"){const f=Object.getOwnPropertyDescriptor(i,v);Object.defineProperty(l,v,f.get?f:{enumerable:!0,get:()=>i[v]})}}return l.default=i,Object.freeze(l)}const u=sr(R);var Ee={exports:{}},K={};/**
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react");function sr(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const v in i)if(v!=="default"){const f=Object.getOwnPropertyDescriptor(i,v);Object.defineProperty(l,v,f.get?f:{enumerable:!0,get:()=>i[v]})}}return l.default=i,Object.freeze(l)}const u=sr(R);var Ee={exports:{}},K={};/**
* @license React

@@ -9,3 +9,3 @@ * react-jsx-runtime.production.min.js

* LICENSE file in the root directory of this source tree.
*/var Ie;function ur(){if(Ie)return K;Ie=1;var i=R,l=Symbol.for("react.element"),v=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,I=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M={key:!0,ref:!0,__self:!0,__source:!0};function N(C,g,D){var y,j={},O=null,W=null;D!==void 0&&(O=""+D),g.key!==void 0&&(O=""+g.key),g.ref!==void 0&&(W=g.ref);for(y in g)f.call(g,y)&&!M.hasOwnProperty(y)&&(j[y]=g[y]);if(C&&C.defaultProps)for(y in g=C.defaultProps,g)j[y]===void 0&&(j[y]=g[y]);return{$$typeof:l,type:C,key:O,ref:W,props:j,_owner:I.current}}return K.Fragment=v,K.jsx=N,K.jsxs=N,K}var X={};/**
*/var Ie;function ur(){if(Ie)return K;Ie=1;var i=R,l=Symbol.for("react.element"),v=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,I=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M={key:!0,ref:!0,__self:!0,__source:!0};function N(O,g,D){var y,j={},C=null,W=null;D!==void 0&&(C=""+D),g.key!==void 0&&(C=""+g.key),g.ref!==void 0&&(W=g.ref);for(y in g)f.call(g,y)&&!M.hasOwnProperty(y)&&(j[y]=g[y]);if(O&&O.defaultProps)for(y in g=O.defaultProps,g)j[y]===void 0&&(j[y]=g[y]);return{$$typeof:l,type:O,key:C,ref:W,props:j,_owner:I.current}}return K.Fragment=v,K.jsx=N,K.jsxs=N,K}var X={};/**
* @license React

@@ -18,7 +18,7 @@ * react-jsx-runtime.development.js

* LICENSE file in the root directory of this source tree.
*/var Me;function cr(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&function(){var i=R,l=Symbol.for("react.element"),v=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),C=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),Q=Symbol.iterator,fe="@@iterator";function de(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[fe];return typeof r=="function"?r:null}var F=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];ve("error",e,t)}}function ve(e,r,t){{var n=F.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var pe=!1,Z=!1,me=!1,Y=!1,ee=!1,$;$=Symbol.for("react.module.reference");function re(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===M||ee||e===I||e===D||e===y||Y||e===W||pe||Z||me||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===j||e.$$typeof===N||e.$$typeof===C||e.$$typeof===g||e.$$typeof===$||e.getModuleId!==void 0))}function q(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function te(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case v:return"Portal";case M:return"Profiler";case I:return"StrictMode";case D:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case C:var r=e;return te(r)+".Consumer";case N:var t=e;return te(t._context)+".Provider";case g:return q(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case O:{var s=e,c=s._payload,o=s._init;try{return E(o(c))}catch{return null}}}return null}var P=Object.assign,A=0,T,z,ne,ae,oe,J,ie;function p(){}p.__reactDisabledLog=!0;function L(){{if(A===0){T=console.log,z=console.info,ne=console.warn,ae=console.error,oe=console.group,J=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function U(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:T}),info:P({},e,{value:z}),warn:P({},e,{value:ne}),error:P({},e,{value:ae}),group:P({},e,{value:oe}),groupCollapsed:P({},e,{value:J}),groupEnd:P({},e,{value:ie})})}A<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var V=F.ReactCurrentDispatcher,x;function S(e,r,t){{if(x===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);x=n&&n[1]||""}return`
*/var Me;function cr(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&function(){var i=R,l=Symbol.for("react.element"),v=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),O=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),Q=Symbol.iterator,fe="@@iterator";function de(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[fe];return typeof r=="function"?r:null}var F=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];ve("error",e,t)}}function ve(e,r,t){{var n=F.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var pe=!1,Z=!1,me=!1,Y=!1,ee=!1,$;$=Symbol.for("react.module.reference");function re(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===M||ee||e===I||e===D||e===y||Y||e===W||pe||Z||me||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===j||e.$$typeof===N||e.$$typeof===O||e.$$typeof===g||e.$$typeof===$||e.getModuleId!==void 0))}function q(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function te(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case v:return"Portal";case M:return"Profiler";case I:return"StrictMode";case D:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O:var r=e;return te(r)+".Consumer";case N:var t=e;return te(t._context)+".Provider";case g:return q(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case C:{var s=e,c=s._payload,o=s._init;try{return E(o(c))}catch{return null}}}return null}var P=Object.assign,A=0,T,z,ne,ae,oe,J,ie;function p(){}p.__reactDisabledLog=!0;function L(){{if(A===0){T=console.log,z=console.info,ne=console.warn,ae=console.error,oe=console.group,J=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function U(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:T}),info:P({},e,{value:z}),warn:P({},e,{value:ne}),error:P({},e,{value:ae}),group:P({},e,{value:oe}),groupCollapsed:P({},e,{value:J}),groupEnd:P({},e,{value:ie})})}A<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var V=F.ReactCurrentDispatcher,x;function S(e,r,t){{if(x===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);x=n&&n[1]||""}return`
`+x+e}}var he=!1,le;{var We=typeof WeakMap=="function"?WeakMap:Map;le=new We}function xe(e,r){if(!e||he)return"";{var t=le.get(e);if(t!==void 0)return t}var n;he=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=V.current,V.current=null,L();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(k){n=k}Reflect.construct(e,[],o)}else{try{o.call()}catch(k){n=k}e.call(o.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var a=k.stack.split(`
`),w=n.stack.split(`
`),m=a.length-1,h=w.length-1;m>=1&&h>=0&&a[m]!==w[h];)h--;for(;m>=1&&h>=0;m--,h--)if(a[m]!==w[h]){if(m!==1||h!==1)do if(m--,h--,h<0||a[m]!==w[h]){var _=`
`+a[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&le.set(e,_),_}while(m>=1&&h>=0);break}}}finally{he=!1,V.current=c,U(),Error.prepareStackTrace=s}var H=e?e.displayName||e.name:"",$e=H?S(H):"";return typeof e=="function"&&le.set(e,$e),$e}function Ye(e,r,t){return xe(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function se(e,r,t){if(e==null)return"";if(typeof e=="function")return xe(e,Le(e));if(typeof e=="string")return S(e);switch(e){case D:return S("Suspense");case y:return S("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return Ye(e.render);case j:return se(e.type,r,t);case O:{var n=e,s=n._payload,c=n._init;try{return se(c(s),r,t)}catch{}}}return""}var ue=Object.prototype.hasOwnProperty,_e={},je=F.ReactDebugCurrentFrame;function ce(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);je.setExtraStackFrame(t)}else je.setExtraStackFrame(null)}function Ue(e,r,t,n,s){{var c=Function.call.bind(ue);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var w=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(ce(s),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),ce(null)),a instanceof Error&&!(a.message in _e)&&(_e[a.message]=!0,ce(s),b("Failed %s type: %s",t,a.message),ce(null))}}}var Ve=Array.isArray;function ge(e){return Ve(e)}function Be(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return Te(e),!1}catch{return!0}}function Te(e){return""+e}function Ce(e){if(He(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Be(e)),Te(e)}var G=F.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},Oe,Pe,be;be={};function qe(e){if(ue.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function ze(e){if(ue.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Je(e,r){if(typeof e.ref=="string"&&G.current&&r&&G.current.stateNode!==r){var t=E(G.current.type);be[t]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',E(G.current.type),e.ref),be[t]=!0)}}function Ge(e,r){{var t=function(){Oe||(Oe=!0,b("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){Pe||(Pe=!0,b("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Xe=function(e,r,t,n,s,c,o){var a={$$typeof:l,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Qe(e,r,t,n,s){{var c,o={},a=null,w=null;t!==void 0&&(Ce(t),a=""+t),ze(r)&&(Ce(r.key),a=""+r.key),qe(r)&&(w=r.ref,Je(r,s));for(c in r)ue.call(r,c)&&!Ze.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||w){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Ge(o,h),w&&Ke(o,h)}return Xe(e,a,w,s,n,G.current,o)}}var ye=F.ReactCurrentOwner,Se=F.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var we;we=!1;function Re(e){return typeof e=="object"&&e!==null&&e.$$typeof===l}function ke(){{if(ye.current){var e=E(ye.current.type);if(e)return`
`+a[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&le.set(e,_),_}while(m>=1&&h>=0);break}}}finally{he=!1,V.current=c,U(),Error.prepareStackTrace=s}var H=e?e.displayName||e.name:"",$e=H?S(H):"";return typeof e=="function"&&le.set(e,$e),$e}function Ye(e,r,t){return xe(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function se(e,r,t){if(e==null)return"";if(typeof e=="function")return xe(e,Le(e));if(typeof e=="string")return S(e);switch(e){case D:return S("Suspense");case y:return S("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return Ye(e.render);case j:return se(e.type,r,t);case C:{var n=e,s=n._payload,c=n._init;try{return se(c(s),r,t)}catch{}}}return""}var ue=Object.prototype.hasOwnProperty,_e={},je=F.ReactDebugCurrentFrame;function ce(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);je.setExtraStackFrame(t)}else je.setExtraStackFrame(null)}function Ue(e,r,t,n,s){{var c=Function.call.bind(ue);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var w=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(ce(s),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),ce(null)),a instanceof Error&&!(a.message in _e)&&(_e[a.message]=!0,ce(s),b("Failed %s type: %s",t,a.message),ce(null))}}}var Ve=Array.isArray;function ge(e){return Ve(e)}function Be(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return Te(e),!1}catch{return!0}}function Te(e){return""+e}function Oe(e){if(He(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Be(e)),Te(e)}var G=F.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},Ce,Pe,be;be={};function qe(e){if(ue.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function ze(e){if(ue.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Je(e,r){if(typeof e.ref=="string"&&G.current&&r&&G.current.stateNode!==r){var t=E(G.current.type);be[t]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',E(G.current.type),e.ref),be[t]=!0)}}function Ge(e,r){{var t=function(){Ce||(Ce=!0,b("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){Pe||(Pe=!0,b("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Xe=function(e,r,t,n,s,c,o){var a={$$typeof:l,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Qe(e,r,t,n,s){{var c,o={},a=null,w=null;t!==void 0&&(Oe(t),a=""+t),ze(r)&&(Oe(r.key),a=""+r.key),qe(r)&&(w=r.ref,Je(r,s));for(c in r)ue.call(r,c)&&!Ze.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||w){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Ge(o,h),w&&Ke(o,h)}return Xe(e,a,w,s,n,G.current,o)}}var ye=F.ReactCurrentOwner,Se=F.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);Se.setExtraStackFrame(t)}else Se.setExtraStackFrame(null)}var we;we=!1;function Re(e){return typeof e=="object"&&e!==null&&e.$$typeof===l}function ke(){{if(ye.current){var e=E(ye.current.type);if(e)return`

@@ -29,3 +29,3 @@ Check the render method of \``+e+"`."}return""}}function er(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`

Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=rr(r);if(De[t])return;De[t]=!0;var n="";e&&e._owner&&e._owner!==ye.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),B(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),B(null)}}function Ae(e,r){{if(typeof e!="object")return;if(ge(e))for(var t=0;t<e.length;t++){var n=e[t];Re(n)&&Fe(n,r)}else if(Re(e))e._store&&(e._store.validated=!0);else if(e){var s=de(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)Re(o.value)&&Fe(o.value,r)}}}function tr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=E(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!we){we=!0;var s=E(r);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){B(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),B(null);break}}e.ref!==null&&(B(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function Ne(e,r,t,n,s,c){{var o=re(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var w=er(s);w?a+=w:a+=ke();var m;e===null?m="null":ge(e)?m="array":e!==void 0&&e.$$typeof===l?(m="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=Qe(e,r,t,s,c);if(h==null)return h;if(o){var _=r.children;if(_!==void 0)if(n)if(ge(_)){for(var H=0;H<_.length;H++)Ae(_[H],e);Object.freeze&&Object.freeze(_)}else b("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 Ae(_,e)}return e===f?nr(h):tr(h),h}}function ar(e,r,t){return Ne(e,r,t,!0)}function or(e,r,t){return Ne(e,r,t,!1)}var ir=or,lr=ar;X.Fragment=f,X.jsx=ir,X.jsxs=lr}()),X}process.env.NODE_ENV==="production"?Ee.exports=ur():Ee.exports=cr();var d=Ee.exports;function fr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),u.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))}const dr=u.forwardRef(fr),vr=dr;function pr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z",clipRule:"evenodd"}))}const mr=u.forwardRef(pr),hr=mr;function gr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M12.207 2.232a.75.75 0 0 0 .025 1.06l4.146 3.958H6.375a5.375 5.375 0 0 0 0 10.75H9.25a.75.75 0 0 0 0-1.5H6.375a3.875 3.875 0 0 1 0-7.75h10.003l-4.146 3.957a.75.75 0 0 0 1.036 1.085l5.5-5.25a.75.75 0 0 0 0-1.085l-5.5-5.25a.75.75 0 0 0-1.06.025Z",clipRule:"evenodd"}))}const br=u.forwardRef(gr),yr=br;function wr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))}const Rr=u.forwardRef(wr),Er=Rr;function xr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))}const _r=u.forwardRef(xr),jr=_r;function Tr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z"}))}const Cr=u.forwardRef(Tr),Or=Cr;function Pr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))}const Sr=u.forwardRef(Pr),kr=Sr,Dr=({src:i,autoPlay:l,className:v,controls:f,controlsList:I,id:M,loop:N,muted:C,onAbort:g,onCanPlay:D,onCanPlayThrough:y,onEnded:j,onError:O,onLoadedMetadata:W,onPause:Q,onPlay:fe,onSeeked:de,onVolumeChange:F,preload:b,style:ve,title:pe})=>{const[Z,me]=R.useState(!1),[Y,ee]=R.useState(1),[$,re]=R.useState(0),[q,te]=R.useState(0),[E]=R.useState(!1),[P,A]=R.useState(0),T=R.useRef(null),z=R.useRef(null);R.useEffect(()=>{const p=T.current;p&&(p.playbackRate=Y)},[Y]),R.useEffect(()=>{const p=T.current;!p||!E||(p.currentTime=$)},[$,E]);const ne=()=>{var p;re(((p=T.current)==null?void 0:p.currentTime)||0),A($/q)},ae=()=>{var p;te(((p=T.current)==null?void 0:p.duration)||0)},oe=()=>{const p=T.current;p&&(Z?p.pause():p.play()),me(!Z)},J=p=>{const L=Math.floor(p/3600),U=Math.floor(p%3600/60),V=Math.floor(p%60);return[L,U,V].map(x=>x<10?"0"+x:x).filter((x,S)=>x!=="00"||S>0).join(":")},ie=p=>{const L=z.current;if(!L)return;const U=L.getBoundingClientRect(),x=(p.clientX-U.left)/U.width;A(x);const S=x*q;re(S),T.current&&(T.current.currentTime=S)};return d.jsxs("dialog",{className:"w-full h-24 px-12 flex items-center justify-center bg-transparent pointer-events-none",children:[d.jsx("audio",{src:i,autoPlay:l,className:v,controls:f,controlsList:I,id:M,loop:N,muted:C,onTimeUpdate:ne,onDurationChange:ae,onAbort:g,onCanPlay:D,onCanPlayThrough:y,onEnded:j,onError:O,onLoadedMetadata:W,onPause:Q,onPlay:fe,onSeeked:de,onVolumeChange:F,preload:b,style:ve,title:pe,ref:T,children:"Your browser does not support the audio element."}),d.jsx("div",{className:"relative z-10 p-4 pointer-events-auto",children:d.jsxs("div",{className:"flex w-[41rem] rounded-lg bg-white shadow-xl shadow-black/5 ring-1 ring-slate-700/10",children:[d.jsxs("div",{className:"flex items-center space-x-4 px-6 py-4",children:[d.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:d.jsx(hr,{className:"w-5 h-5 text-gray-600"})}),d.jsx("button",{onClick:oe,className:"bg-[#0F172A] rounded-full flex items-center justify-center p-2",children:Z?d.jsx(jr,{className:"w-5 h-5 text-white"}):d.jsx(Or,{className:"w-5 h-5 text-white"})}),d.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:d.jsx(yr,{className:"w-5 h-5 text-gray-600"})})]}),d.jsxs("div",{className:"flex flex-auto items-center border-l border-slate-200/60 pl-6 pr-4 text-[0.8125rem] leading-5 text-slate-700",children:[d.jsx("div",{children:J($)}),d.jsxs("div",{ref:z,className:"relative ml-4 flex flex-auto rounded-full bg-slate-100 cursor-pointer",onMouseDown:ie,children:[d.jsx("div",{style:{width:`${P*100}%`},className:"h-2 flex-none rounded-l-full rounded-r-[1px] bg-indigo-600 transition-all duration-500 ease-in-out"}),d.jsx("div",{className:"-my-[0.3125rem] ml-0.5 h-[1.125rem] w-1 rounded-full bg-indigo-600"})]}),d.jsx("div",{className:"ml-4",children:J(q)}),d.jsxs("div",{className:"ml-4 flex items-center",children:[d.jsx("button",{onClick:()=>ee(Y/1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:d.jsx(Er,{className:"w-5 h-5 text-gray-600"})}),d.jsx("button",{onClick:()=>ee(Y*1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:d.jsx(kr,{className:"w-5 h-5 text-gray-600"})})]}),d.jsx("a",{href:i,target:"_blank",className:"rounded-full flex items-center justify-center p-2",children:d.jsx(vr,{className:"w-5 h-5 text-gray-600"})})]})]})})]})};module.exports=Dr;
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=rr(r);if(De[t])return;De[t]=!0;var n="";e&&e._owner&&e._owner!==ye.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),B(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),B(null)}}function Ae(e,r){{if(typeof e!="object")return;if(ge(e))for(var t=0;t<e.length;t++){var n=e[t];Re(n)&&Fe(n,r)}else if(Re(e))e._store&&(e._store.validated=!0);else if(e){var s=de(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)Re(o.value)&&Fe(o.value,r)}}}function tr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=E(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!we){we=!0;var s=E(r);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){B(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),B(null);break}}e.ref!==null&&(B(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function Ne(e,r,t,n,s,c){{var o=re(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var w=er(s);w?a+=w:a+=ke();var m;e===null?m="null":ge(e)?m="array":e!==void 0&&e.$$typeof===l?(m="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=Qe(e,r,t,s,c);if(h==null)return h;if(o){var _=r.children;if(_!==void 0)if(n)if(ge(_)){for(var H=0;H<_.length;H++)Ae(_[H],e);Object.freeze&&Object.freeze(_)}else b("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 Ae(_,e)}return e===f?nr(h):tr(h),h}}function ar(e,r,t){return Ne(e,r,t,!0)}function or(e,r,t){return Ne(e,r,t,!1)}var ir=or,lr=ar;X.Fragment=f,X.jsx=ir,X.jsxs=lr}()),X}process.env.NODE_ENV==="production"?Ee.exports=ur():Ee.exports=cr();var d=Ee.exports;function fr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),u.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))}const dr=u.forwardRef(fr),vr=dr;function pr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z",clipRule:"evenodd"}))}const mr=u.forwardRef(pr),hr=mr;function gr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M12.207 2.232a.75.75 0 0 0 .025 1.06l4.146 3.958H6.375a5.375 5.375 0 0 0 0 10.75H9.25a.75.75 0 0 0 0-1.5H6.375a3.875 3.875 0 0 1 0-7.75h10.003l-4.146 3.957a.75.75 0 0 0 1.036 1.085l5.5-5.25a.75.75 0 0 0 0-1.085l-5.5-5.25a.75.75 0 0 0-1.06.025Z",clipRule:"evenodd"}))}const br=u.forwardRef(gr),yr=br;function wr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))}const Rr=u.forwardRef(wr),Er=Rr;function xr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))}const _r=u.forwardRef(xr),jr=_r;function Tr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z"}))}const Or=u.forwardRef(Tr),Cr=Or;function Pr({title:i,titleId:l,...v},f){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:f,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))}const Sr=u.forwardRef(Pr),kr=Sr,Dr=({src:i,autoPlay:l,className:v,controls:f,controlsList:I,id:M,loop:N,muted:O,onAbort:g,onCanPlay:D,onCanPlayThrough:y,onEnded:j,onError:C,onLoadedMetadata:W,onPause:Q,onPlay:fe,onSeeked:de,onVolumeChange:F,preload:b,style:ve,title:pe})=>{const[Z,me]=R.useState(!1),[Y,ee]=R.useState(1),[$,re]=R.useState(0),[q,te]=R.useState(0),[E]=R.useState(!1),[P,A]=R.useState(0),T=R.useRef(null),z=R.useRef(null);R.useEffect(()=>{const p=T.current;p&&(p.playbackRate=Y)},[Y]),R.useEffect(()=>{const p=T.current;!p||!E||(p.currentTime=$)},[$,E]);const ne=()=>{var p;re(((p=T.current)==null?void 0:p.currentTime)||0),A($/q)},ae=()=>{var p;te(((p=T.current)==null?void 0:p.duration)||0)},oe=()=>{const p=T.current;p&&(Z?p.pause():p.play()),me(!Z)},J=p=>{const L=Math.floor(p/3600),U=Math.floor(p%3600/60),V=Math.floor(p%60);return[L,U,V].map(x=>x<10?"0"+x:x).filter((x,S)=>x!=="00"||S>0).join(":")},ie=p=>{const L=z.current;if(!L)return;const U=L.getBoundingClientRect(),x=(p.clientX-U.left)/U.width;A(x);const S=x*q;re(S),T.current&&(T.current.currentTime=S)};return d.jsxs("dialog",{className:"w-full h-24 px-12 flex items-center justify-center bg-transparent pointer-events-none",children:[d.jsx("audio",{src:i,autoPlay:l,className:v,controls:f,controlsList:I,id:M,loop:N,muted:O,onTimeUpdate:ne,onDurationChange:ae,onAbort:g,onCanPlay:D,onCanPlayThrough:y,onEnded:j,onError:C,onLoadedMetadata:W,onPause:Q,onPlay:fe,onSeeked:de,onVolumeChange:F,preload:b,style:ve,title:pe,ref:T,children:"Your browser does not support the audio element."}),d.jsx("div",{className:"relative z-10 p-4 pointer-events-auto",children:d.jsxs("div",{className:"flex w-[41rem] rounded-lg bg-white shadow-xl shadow-black/5 ring-1 ring-slate-700/10",children:[d.jsxs("div",{className:"flex items-center space-x-4 px-6 py-4",children:[d.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:d.jsx(hr,{className:"w-5 h-5 text-gray-600"})}),d.jsx("button",{onClick:oe,className:"bg-[#0F172A] rounded-full flex items-center justify-center p-2",children:Z?d.jsx(jr,{className:"w-5 h-5 text-white"}):d.jsx(Cr,{className:"w-5 h-5 text-white"})}),d.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:d.jsx(yr,{className:"w-5 h-5 text-gray-600"})})]}),d.jsxs("div",{className:"flex flex-auto items-center border-l border-slate-200/60 pl-6 pr-4 text-[0.8125rem] leading-5 text-slate-700",children:[d.jsx("div",{children:J($)}),d.jsxs("div",{ref:z,className:"relative ml-4 flex flex-auto rounded-full bg-slate-100 cursor-pointer",onMouseDown:ie,children:[d.jsx("div",{style:{width:`${P*100}%`},className:"h-2 flex-none rounded-l-full rounded-r-[1px] bg-indigo-600 transition-all duration-500 ease-in-out"}),d.jsx("div",{className:"-my-[0.3125rem] ml-0.5 h-[1.125rem] w-1 rounded-full bg-indigo-600"})]}),d.jsx("div",{className:"ml-4",children:J(q)}),d.jsxs("div",{className:"ml-4 flex items-center",children:[d.jsx("button",{onClick:()=>ee(Y/1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:d.jsx(Er,{className:"w-5 h-5 text-gray-600"})}),d.jsx("button",{onClick:()=>ee(Y*1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:d.jsx(kr,{className:"w-5 h-5 text-gray-600"})})]}),d.jsx("a",{href:i,target:"_blank",className:"rounded-full flex items-center justify-center p-2",children:d.jsx(vr,{className:"w-5 h-5 text-gray-600"})})]})]})})]})};exports.Player=Dr;
//# sourceMappingURL=index.cjs.js.map

@@ -1,7 +0,29 @@

import { default as default_2 } from './node_modules/@types/react';
import { PlayerProps } from './prop.d';
import { default as default_2 } from 'react'
declare const Player: default_2.FC<PlayerProps>;
export default Player;
export interface PlayerProps {
src: string
autoPlay?: boolean
className?: string
controls?: boolean
controlsList?: string
id?: string
loop?: boolean
muted?: boolean
onAbort?: () => void
onCanPlay?: () => void
onCanPlayThrough?: () => void
onEnded?: () => void
onError?: () => void
onLoadedMetadata?: () => void
onPause?: () => void
onPlay?: () => void
onSeeked?: () => void
onVolumeChange?: () => void
preload?: '' | 'none' | 'metadata' | 'auto'
style?: React.CSSProperties
title?: string
}
export { }
export declare const Player: default_2.FC<PlayerProps>
export {}

@@ -926,4 +926,4 @@ import * as l from "react";

export {
Nr as default
Nr as Player
};
//# sourceMappingURL=index.es.js.map

@@ -1,2 +0,2 @@

var mylib=function(E){"use strict";function We(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const v in i)if(v!=="default"){const d=Object.getOwnPropertyDescriptor(i,v);Object.defineProperty(l,v,d.get?d:{enumerable:!0,get:()=>i[v]})}}return l.default=i,Object.freeze(l)}const u=We(E);var fe={exports:{}},Z={};/**
var mylib=function(fe,E){"use strict";function Ye(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const v in i)if(v!=="default"){const d=Object.getOwnPropertyDescriptor(i,v);Object.defineProperty(l,v,d.get?d:{enumerable:!0,get:()=>i[v]})}}return l.default=i,Object.freeze(l)}const u=Ye(E);var de={exports:{}},Z={};/**
* @license React

@@ -9,3 +9,3 @@ * react-jsx-runtime.production.min.js

* LICENSE file in the root directory of this source tree.
*/var xe;function Ye(){if(xe)return Z;xe=1;var i=E,l=Symbol.for("react.element"),v=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,I=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M={key:!0,ref:!0,__self:!0,__source:!0};function $(C,g,F){var w,j={},O=null,W=null;F!==void 0&&(O=""+F),g.key!==void 0&&(O=""+g.key),g.ref!==void 0&&(W=g.ref);for(w in g)d.call(g,w)&&!M.hasOwnProperty(w)&&(j[w]=g[w]);if(C&&C.defaultProps)for(w in g=C.defaultProps,g)j[w]===void 0&&(j[w]=g[w]);return{$$typeof:l,type:C,key:O,ref:W,props:j,_owner:I.current}}return Z.Fragment=v,Z.jsx=$,Z.jsxs=$,Z}var q={};/**
*/var _e;function Le(){if(_e)return Z;_e=1;var i=E,l=Symbol.for("react.element"),v=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,I=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M={key:!0,ref:!0,__self:!0,__source:!0};function $(O,g,F){var y,j={},C=null,W=null;F!==void 0&&(C=""+F),g.key!==void 0&&(C=""+g.key),g.ref!==void 0&&(W=g.ref);for(y in g)d.call(g,y)&&!M.hasOwnProperty(y)&&(j[y]=g[y]);if(O&&O.defaultProps)for(y in g=O.defaultProps,g)j[y]===void 0&&(j[y]=g[y]);return{$$typeof:l,type:O,key:C,ref:W,props:j,_owner:I.current}}return Z.Fragment=v,Z.jsx=$,Z.jsxs=$,Z}var q={};/**
* @license React

@@ -18,13 +18,13 @@ * react-jsx-runtime.development.js

* LICENSE file in the root directory of this source tree.
*/var _e;function Le(){return _e||(_e=1,process.env.NODE_ENV!=="production"&&function(){var i=E,l=Symbol.for("react.element"),v=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),C=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),Q=Symbol.iterator,de="@@iterator";function ve(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[de];return typeof r=="function"?r:null}var D=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];pe("error",e,t)}}function pe(e,r,t){{var n=D.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var me=!1,z=!1,he=!1,Y=!1,ee=!1,N;N=Symbol.for("react.module.reference");function re(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===M||ee||e===I||e===F||e===w||Y||e===W||me||z||he||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===j||e.$$typeof===$||e.$$typeof===C||e.$$typeof===g||e.$$typeof===N||e.getModuleId!==void 0))}function J(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function te(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case v:return"Portal";case M:return"Profiler";case I:return"StrictMode";case F:return"Suspense";case w:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case C:var r=e;return te(r)+".Consumer";case $:var t=e;return te(t._context)+".Provider";case g:return J(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:R(e.type)||"Memo";case O:{var s=e,c=s._payload,o=s._init;try{return R(o(c))}catch{return null}}}return null}var P=Object.assign,A=0,T,G,ne,ae,oe,K,ie;function p(){}p.__reactDisabledLog=!0;function L(){{if(A===0){T=console.log,G=console.info,ne=console.warn,ae=console.error,oe=console.group,K=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function U(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:T}),info:P({},e,{value:G}),warn:P({},e,{value:ne}),error:P({},e,{value:ae}),group:P({},e,{value:oe}),groupCollapsed:P({},e,{value:K}),groupEnd:P({},e,{value:ie})})}A<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var V=D.ReactCurrentDispatcher,x;function S(e,r,t){{if(x===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);x=n&&n[1]||""}return`
`+x+e}}var ge=!1,le;{var tr=typeof WeakMap=="function"?WeakMap:Map;le=new tr}function je(e,r){if(!e||ge)return"";{var t=le.get(e);if(t!==void 0)return t}var n;ge=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=V.current,V.current=null,L();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(k){n=k}Reflect.construct(e,[],o)}else{try{o.call()}catch(k){n=k}e.call(o.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var a=k.stack.split(`
`),y=n.stack.split(`
`),m=a.length-1,h=y.length-1;m>=1&&h>=0&&a[m]!==y[h];)h--;for(;m>=1&&h>=0;m--,h--)if(a[m]!==y[h]){if(m!==1||h!==1)do if(m--,h--,h<0||a[m]!==y[h]){var _=`
`+a[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&le.set(e,_),_}while(m>=1&&h>=0);break}}}finally{ge=!1,V.current=c,U(),Error.prepareStackTrace=s}var H=e?e.displayName||e.name:"",Me=H?S(H):"";return typeof e=="function"&&le.set(e,Me),Me}function nr(e,r,t){return je(e,!1)}function ar(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function se(e,r,t){if(e==null)return"";if(typeof e=="function")return je(e,ar(e));if(typeof e=="string")return S(e);switch(e){case F:return S("Suspense");case w:return S("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return nr(e.render);case j:return se(e.type,r,t);case O:{var n=e,s=n._payload,c=n._init;try{return se(c(s),r,t)}catch{}}}return""}var ue=Object.prototype.hasOwnProperty,Te={},Ce=D.ReactDebugCurrentFrame;function ce(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);Ce.setExtraStackFrame(t)}else Ce.setExtraStackFrame(null)}function or(e,r,t,n,s){{var c=Function.call.bind(ue);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var y=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(ce(s),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),ce(null)),a instanceof Error&&!(a.message in Te)&&(Te[a.message]=!0,ce(s),b("Failed %s type: %s",t,a.message),ce(null))}}}var ir=Array.isArray;function be(e){return ir(e)}function lr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function sr(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Pe(e){if(sr(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lr(e)),Oe(e)}var X=D.ReactCurrentOwner,ur={key:!0,ref:!0,__self:!0,__source:!0},Se,ke,we;we={};function cr(e){if(ue.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function fr(e){if(ue.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function dr(e,r){if(typeof e.ref=="string"&&X.current&&r&&X.current.stateNode!==r){var t=R(X.current.type);we[t]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(X.current.type),e.ref),we[t]=!0)}}function vr(e,r){{var t=function(){Se||(Se=!0,b("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function pr(e,r){{var t=function(){ke||(ke=!0,b("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var mr=function(e,r,t,n,s,c,o){var a={$$typeof:l,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function hr(e,r,t,n,s){{var c,o={},a=null,y=null;t!==void 0&&(Pe(t),a=""+t),fr(r)&&(Pe(r.key),a=""+r.key),cr(r)&&(y=r.ref,dr(r,s));for(c in r)ue.call(r,c)&&!ur.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||y){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&vr(o,h),y&&pr(o,h)}return mr(e,a,y,s,n,X.current,o)}}var ye=D.ReactCurrentOwner,Fe=D.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);Fe.setExtraStackFrame(t)}else Fe.setExtraStackFrame(null)}var Ee;Ee=!1;function Re(e){return typeof e=="object"&&e!==null&&e.$$typeof===l}function De(){{if(ye.current){var e=R(ye.current.type);if(e)return`
*/var je;function Ue(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var i=E,l=Symbol.for("react.element"),v=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),O=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),Q=Symbol.iterator,ve="@@iterator";function pe(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[ve];return typeof r=="function"?r:null}var D=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];me("error",e,t)}}function me(e,r,t){{var n=D.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var he=!1,z=!1,ge=!1,Y=!1,ee=!1,N;N=Symbol.for("react.module.reference");function re(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===M||ee||e===I||e===F||e===y||Y||e===W||he||z||ge||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===j||e.$$typeof===$||e.$$typeof===O||e.$$typeof===g||e.$$typeof===N||e.getModuleId!==void 0))}function J(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function te(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case v:return"Portal";case M:return"Profiler";case I:return"StrictMode";case F:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O:var r=e;return te(r)+".Consumer";case $:var t=e;return te(t._context)+".Provider";case g:return J(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:R(e.type)||"Memo";case C:{var s=e,c=s._payload,o=s._init;try{return R(o(c))}catch{return null}}}return null}var P=Object.assign,A=0,T,G,ne,ae,oe,K,ie;function p(){}p.__reactDisabledLog=!0;function L(){{if(A===0){T=console.log,G=console.info,ne=console.warn,ae=console.error,oe=console.group,K=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function U(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:T}),info:P({},e,{value:G}),warn:P({},e,{value:ne}),error:P({},e,{value:ae}),group:P({},e,{value:oe}),groupCollapsed:P({},e,{value:K}),groupEnd:P({},e,{value:ie})})}A<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var V=D.ReactCurrentDispatcher,x;function S(e,r,t){{if(x===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);x=n&&n[1]||""}return`
`+x+e}}var be=!1,le;{var ar=typeof WeakMap=="function"?WeakMap:Map;le=new ar}function Te(e,r){if(!e||be)return"";{var t=le.get(e);if(t!==void 0)return t}var n;be=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=V.current,V.current=null,L();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(k){n=k}Reflect.construct(e,[],o)}else{try{o.call()}catch(k){n=k}e.call(o.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var a=k.stack.split(`
`),w=n.stack.split(`
`),m=a.length-1,h=w.length-1;m>=1&&h>=0&&a[m]!==w[h];)h--;for(;m>=1&&h>=0;m--,h--)if(a[m]!==w[h]){if(m!==1||h!==1)do if(m--,h--,h<0||a[m]!==w[h]){var _=`
`+a[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&le.set(e,_),_}while(m>=1&&h>=0);break}}}finally{be=!1,V.current=c,U(),Error.prepareStackTrace=s}var H=e?e.displayName||e.name:"",We=H?S(H):"";return typeof e=="function"&&le.set(e,We),We}function or(e,r,t){return Te(e,!1)}function ir(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function se(e,r,t){if(e==null)return"";if(typeof e=="function")return Te(e,ir(e));if(typeof e=="string")return S(e);switch(e){case F:return S("Suspense");case y:return S("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return or(e.render);case j:return se(e.type,r,t);case C:{var n=e,s=n._payload,c=n._init;try{return se(c(s),r,t)}catch{}}}return""}var ue=Object.prototype.hasOwnProperty,Oe={},Ce=D.ReactDebugCurrentFrame;function ce(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);Ce.setExtraStackFrame(t)}else Ce.setExtraStackFrame(null)}function lr(e,r,t,n,s){{var c=Function.call.bind(ue);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var w=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(ce(s),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),ce(null)),a instanceof Error&&!(a.message in Oe)&&(Oe[a.message]=!0,ce(s),b("Failed %s type: %s",t,a.message),ce(null))}}}var sr=Array.isArray;function ye(e){return sr(e)}function ur(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function cr(e){try{return Pe(e),!1}catch{return!0}}function Pe(e){return""+e}function Se(e){if(cr(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(e)),Pe(e)}var X=D.ReactCurrentOwner,fr={key:!0,ref:!0,__self:!0,__source:!0},ke,Fe,we;we={};function dr(e){if(ue.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function vr(e){if(ue.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function pr(e,r){if(typeof e.ref=="string"&&X.current&&r&&X.current.stateNode!==r){var t=R(X.current.type);we[t]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(X.current.type),e.ref),we[t]=!0)}}function mr(e,r){{var t=function(){ke||(ke=!0,b("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function hr(e,r){{var t=function(){Fe||(Fe=!0,b("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var gr=function(e,r,t,n,s,c,o){var a={$$typeof:l,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function br(e,r,t,n,s){{var c,o={},a=null,w=null;t!==void 0&&(Se(t),a=""+t),vr(r)&&(Se(r.key),a=""+r.key),dr(r)&&(w=r.ref,pr(r,s));for(c in r)ue.call(r,c)&&!fr.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||w){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&mr(o,h),w&&hr(o,h)}return gr(e,a,w,s,n,X.current,o)}}var Ee=D.ReactCurrentOwner,De=D.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=se(e.type,e._source,r?r.type:null);De.setExtraStackFrame(t)}else De.setExtraStackFrame(null)}var Re;Re=!1;function xe(e){return typeof e=="object"&&e!==null&&e.$$typeof===l}function Ae(){{if(Ee.current){var e=R(Ee.current.type);if(e)return`
Check the render method of \``+e+"`."}return""}}function gr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
Check the render method of \``+e+"`."}return""}}function yr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
Check your code at `+r+":"+t+"."}return""}}var Ae={};function br(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
Check your code at `+r+":"+t+"."}return""}}var $e={};function wr(e){{var r=Ae();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
Check the top-level render call using <`+t+">.")}return r}}function $e(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=br(r);if(Ae[t])return;Ae[t]=!0;var n="";e&&e._owner&&e._owner!==ye.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),B(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),B(null)}}function Ne(e,r){{if(typeof e!="object")return;if(be(e))for(var t=0;t<e.length;t++){var n=e[t];Re(n)&&$e(n,r)}else if(Re(e))e._store&&(e._store.validated=!0);else if(e){var s=ve(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)Re(o.value)&&$e(o.value,r)}}}function wr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=R(r);or(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Ee){Ee=!0;var s=R(r);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){B(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),B(null);break}}e.ref!==null&&(B(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function Ie(e,r,t,n,s,c){{var o=re(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var y=gr(s);y?a+=y:a+=De();var m;e===null?m="null":be(e)?m="array":e!==void 0&&e.$$typeof===l?(m="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=hr(e,r,t,s,c);if(h==null)return h;if(o){var _=r.children;if(_!==void 0)if(n)if(be(_)){for(var H=0;H<_.length;H++)Ne(_[H],e);Object.freeze&&Object.freeze(_)}else b("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 Ne(_,e)}return e===d?yr(h):wr(h),h}}function Er(e,r,t){return Ie(e,r,t,!0)}function Rr(e,r,t){return Ie(e,r,t,!1)}var xr=Rr,_r=Er;q.Fragment=d,q.jsx=xr,q.jsxs=_r}()),q}process.env.NODE_ENV==="production"?fe.exports=Ye():fe.exports=Le();var f=fe.exports;function Ue({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),u.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))}const Ve=u.forwardRef(Ue);function Be({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z",clipRule:"evenodd"}))}const He=u.forwardRef(Be);function Ze({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M12.207 2.232a.75.75 0 0 0 .025 1.06l4.146 3.958H6.375a5.375 5.375 0 0 0 0 10.75H9.25a.75.75 0 0 0 0-1.5H6.375a3.875 3.875 0 0 1 0-7.75h10.003l-4.146 3.957a.75.75 0 0 0 1.036 1.085l5.5-5.25a.75.75 0 0 0 0-1.085l-5.5-5.25a.75.75 0 0 0-1.06.025Z",clipRule:"evenodd"}))}const qe=u.forwardRef(Ze);function ze({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))}const Je=u.forwardRef(ze);function Ge({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))}const Ke=u.forwardRef(Ge);function Xe({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z"}))}const Qe=u.forwardRef(Xe);function er({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))}const rr=u.forwardRef(er);return({src:i,autoPlay:l,className:v,controls:d,controlsList:I,id:M,loop:$,muted:C,onAbort:g,onCanPlay:F,onCanPlayThrough:w,onEnded:j,onError:O,onLoadedMetadata:W,onPause:Q,onPlay:de,onSeeked:ve,onVolumeChange:D,preload:b,style:pe,title:me})=>{const[z,he]=E.useState(!1),[Y,ee]=E.useState(1),[N,re]=E.useState(0),[J,te]=E.useState(0),[R]=E.useState(!1),[P,A]=E.useState(0),T=E.useRef(null),G=E.useRef(null);E.useEffect(()=>{const p=T.current;p&&(p.playbackRate=Y)},[Y]),E.useEffect(()=>{const p=T.current;!p||!R||(p.currentTime=N)},[N,R]);const ne=()=>{var p;re(((p=T.current)==null?void 0:p.currentTime)||0),A(N/J)},ae=()=>{var p;te(((p=T.current)==null?void 0:p.duration)||0)},oe=()=>{const p=T.current;p&&(z?p.pause():p.play()),he(!z)},K=p=>{const L=Math.floor(p/3600),U=Math.floor(p%3600/60),V=Math.floor(p%60);return[L,U,V].map(x=>x<10?"0"+x:x).filter((x,S)=>x!=="00"||S>0).join(":")},ie=p=>{const L=G.current;if(!L)return;const U=L.getBoundingClientRect(),x=(p.clientX-U.left)/U.width;A(x);const S=x*J;re(S),T.current&&(T.current.currentTime=S)};return f.jsxs("dialog",{className:"w-full h-24 px-12 flex items-center justify-center bg-transparent pointer-events-none",children:[f.jsx("audio",{src:i,autoPlay:l,className:v,controls:d,controlsList:I,id:M,loop:$,muted:C,onTimeUpdate:ne,onDurationChange:ae,onAbort:g,onCanPlay:F,onCanPlayThrough:w,onEnded:j,onError:O,onLoadedMetadata:W,onPause:Q,onPlay:de,onSeeked:ve,onVolumeChange:D,preload:b,style:pe,title:me,ref:T,children:"Your browser does not support the audio element."}),f.jsx("div",{className:"relative z-10 p-4 pointer-events-auto",children:f.jsxs("div",{className:"flex w-[41rem] rounded-lg bg-white shadow-xl shadow-black/5 ring-1 ring-slate-700/10",children:[f.jsxs("div",{className:"flex items-center space-x-4 px-6 py-4",children:[f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(He,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:oe,className:"bg-[#0F172A] rounded-full flex items-center justify-center p-2",children:z?f.jsx(Ke,{className:"w-5 h-5 text-white"}):f.jsx(Qe,{className:"w-5 h-5 text-white"})}),f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(qe,{className:"w-5 h-5 text-gray-600"})})]}),f.jsxs("div",{className:"flex flex-auto items-center border-l border-slate-200/60 pl-6 pr-4 text-[0.8125rem] leading-5 text-slate-700",children:[f.jsx("div",{children:K(N)}),f.jsxs("div",{ref:G,className:"relative ml-4 flex flex-auto rounded-full bg-slate-100 cursor-pointer",onMouseDown:ie,children:[f.jsx("div",{style:{width:`${P*100}%`},className:"h-2 flex-none rounded-l-full rounded-r-[1px] bg-indigo-600 transition-all duration-500 ease-in-out"}),f.jsx("div",{className:"-my-[0.3125rem] ml-0.5 h-[1.125rem] w-1 rounded-full bg-indigo-600"})]}),f.jsx("div",{className:"ml-4",children:K(J)}),f.jsxs("div",{className:"ml-4 flex items-center",children:[f.jsx("button",{onClick:()=>ee(Y/1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(Je,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:()=>ee(Y*1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(rr,{className:"w-5 h-5 text-gray-600"})})]}),f.jsx("a",{href:i,target:"_blank",className:"rounded-full flex items-center justify-center p-2",children:f.jsx(Ve,{className:"w-5 h-5 text-gray-600"})})]})]})})]})}}(React);
Check the top-level render call using <`+t+">.")}return r}}function Ne(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=wr(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==Ee.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),B(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),B(null)}}function Ie(e,r){{if(typeof e!="object")return;if(ye(e))for(var t=0;t<e.length;t++){var n=e[t];xe(n)&&Ne(n,r)}else if(xe(e))e._store&&(e._store.validated=!0);else if(e){var s=pe(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)xe(o.value)&&Ne(o.value,r)}}}function Er(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=R(r);lr(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Re){Re=!0;var s=R(r);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Rr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){B(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),B(null);break}}e.ref!==null&&(B(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function Me(e,r,t,n,s,c){{var o=re(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var w=yr(s);w?a+=w:a+=Ae();var m;e===null?m="null":ye(e)?m="array":e!==void 0&&e.$$typeof===l?(m="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=br(e,r,t,s,c);if(h==null)return h;if(o){var _=r.children;if(_!==void 0)if(n)if(ye(_)){for(var H=0;H<_.length;H++)Ie(_[H],e);Object.freeze&&Object.freeze(_)}else b("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 Ie(_,e)}return e===d?Rr(h):Er(h),h}}function xr(e,r,t){return Me(e,r,t,!0)}function _r(e,r,t){return Me(e,r,t,!1)}var jr=_r,Tr=xr;q.Fragment=d,q.jsx=jr,q.jsxs=Tr}()),q}process.env.NODE_ENV==="production"?de.exports=Le():de.exports=Ue();var f=de.exports;function Ve({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),u.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))}const Be=u.forwardRef(Ve);function He({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z",clipRule:"evenodd"}))}const Ze=u.forwardRef(He);function qe({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M12.207 2.232a.75.75 0 0 0 .025 1.06l4.146 3.958H6.375a5.375 5.375 0 0 0 0 10.75H9.25a.75.75 0 0 0 0-1.5H6.375a3.875 3.875 0 0 1 0-7.75h10.003l-4.146 3.957a.75.75 0 0 0 1.036 1.085l5.5-5.25a.75.75 0 0 0 0-1.085l-5.5-5.25a.75.75 0 0 0-1.06.025Z",clipRule:"evenodd"}))}const ze=u.forwardRef(qe);function Je({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))}const Ge=u.forwardRef(Je);function Ke({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))}const Xe=u.forwardRef(Ke);function Qe({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z"}))}const er=u.forwardRef(Qe);function rr({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))}const tr=u.forwardRef(rr),nr=({src:i,autoPlay:l,className:v,controls:d,controlsList:I,id:M,loop:$,muted:O,onAbort:g,onCanPlay:F,onCanPlayThrough:y,onEnded:j,onError:C,onLoadedMetadata:W,onPause:Q,onPlay:ve,onSeeked:pe,onVolumeChange:D,preload:b,style:me,title:he})=>{const[z,ge]=E.useState(!1),[Y,ee]=E.useState(1),[N,re]=E.useState(0),[J,te]=E.useState(0),[R]=E.useState(!1),[P,A]=E.useState(0),T=E.useRef(null),G=E.useRef(null);E.useEffect(()=>{const p=T.current;p&&(p.playbackRate=Y)},[Y]),E.useEffect(()=>{const p=T.current;!p||!R||(p.currentTime=N)},[N,R]);const ne=()=>{var p;re(((p=T.current)==null?void 0:p.currentTime)||0),A(N/J)},ae=()=>{var p;te(((p=T.current)==null?void 0:p.duration)||0)},oe=()=>{const p=T.current;p&&(z?p.pause():p.play()),ge(!z)},K=p=>{const L=Math.floor(p/3600),U=Math.floor(p%3600/60),V=Math.floor(p%60);return[L,U,V].map(x=>x<10?"0"+x:x).filter((x,S)=>x!=="00"||S>0).join(":")},ie=p=>{const L=G.current;if(!L)return;const U=L.getBoundingClientRect(),x=(p.clientX-U.left)/U.width;A(x);const S=x*J;re(S),T.current&&(T.current.currentTime=S)};return f.jsxs("dialog",{className:"w-full h-24 px-12 flex items-center justify-center bg-transparent pointer-events-none",children:[f.jsx("audio",{src:i,autoPlay:l,className:v,controls:d,controlsList:I,id:M,loop:$,muted:O,onTimeUpdate:ne,onDurationChange:ae,onAbort:g,onCanPlay:F,onCanPlayThrough:y,onEnded:j,onError:C,onLoadedMetadata:W,onPause:Q,onPlay:ve,onSeeked:pe,onVolumeChange:D,preload:b,style:me,title:he,ref:T,children:"Your browser does not support the audio element."}),f.jsx("div",{className:"relative z-10 p-4 pointer-events-auto",children:f.jsxs("div",{className:"flex w-[41rem] rounded-lg bg-white shadow-xl shadow-black/5 ring-1 ring-slate-700/10",children:[f.jsxs("div",{className:"flex items-center space-x-4 px-6 py-4",children:[f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(Ze,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:oe,className:"bg-[#0F172A] rounded-full flex items-center justify-center p-2",children:z?f.jsx(Xe,{className:"w-5 h-5 text-white"}):f.jsx(er,{className:"w-5 h-5 text-white"})}),f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(ze,{className:"w-5 h-5 text-gray-600"})})]}),f.jsxs("div",{className:"flex flex-auto items-center border-l border-slate-200/60 pl-6 pr-4 text-[0.8125rem] leading-5 text-slate-700",children:[f.jsx("div",{children:K(N)}),f.jsxs("div",{ref:G,className:"relative ml-4 flex flex-auto rounded-full bg-slate-100 cursor-pointer",onMouseDown:ie,children:[f.jsx("div",{style:{width:`${P*100}%`},className:"h-2 flex-none rounded-l-full rounded-r-[1px] bg-indigo-600 transition-all duration-500 ease-in-out"}),f.jsx("div",{className:"-my-[0.3125rem] ml-0.5 h-[1.125rem] w-1 rounded-full bg-indigo-600"})]}),f.jsx("div",{className:"ml-4",children:K(J)}),f.jsxs("div",{className:"ml-4 flex items-center",children:[f.jsx("button",{onClick:()=>ee(Y/1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(Ge,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:()=>ee(Y*1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(tr,{className:"w-5 h-5 text-gray-600"})})]}),f.jsx("a",{href:i,target:"_blank",className:"rounded-full flex items-center justify-center p-2",children:f.jsx(Be,{className:"w-5 h-5 text-gray-600"})})]})]})})]})};return fe.Player=nr,Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),fe}({},React);
//# sourceMappingURL=index.iife.js.map

@@ -1,2 +0,2 @@

(function(g,Z){typeof exports=="object"&&typeof module<"u"?module.exports=Z(require("react")):typeof define=="function"&&define.amd?define(["react"],Z):(g=typeof globalThis<"u"?globalThis:g||self,g.mylib=Z(g.React))})(this,function(g){"use strict";function Z(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const v in i)if(v!=="default"){const d=Object.getOwnPropertyDescriptor(i,v);Object.defineProperty(l,v,d.get?d:{enumerable:!0,get:()=>i[v]})}}return l.default=i,Object.freeze(l)}const u=Z(g);var de={exports:{}},q={};/**
(function($,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):($=typeof globalThis<"u"?globalThis:$||self,g($.mylib={},$.React))})(this,function($,g){"use strict";function Ye(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const v in i)if(v!=="default"){const d=Object.getOwnPropertyDescriptor(i,v);Object.defineProperty(l,v,d.get?d:{enumerable:!0,get:()=>i[v]})}}return l.default=i,Object.freeze(l)}const u=Ye(g);var de={exports:{}},q={};/**
* @license React

@@ -9,3 +9,3 @@ * react-jsx-runtime.production.min.js

* LICENSE file in the root directory of this source tree.
*/var _e;function Ye(){if(_e)return q;_e=1;var i=g,l=Symbol.for("react.element"),v=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,I=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M={key:!0,ref:!0,__self:!0,__source:!0};function $(C,b,F){var w,j={},O=null,W=null;F!==void 0&&(O=""+F),b.key!==void 0&&(O=""+b.key),b.ref!==void 0&&(W=b.ref);for(w in b)d.call(b,w)&&!M.hasOwnProperty(w)&&(j[w]=b[w]);if(C&&C.defaultProps)for(w in b=C.defaultProps,b)j[w]===void 0&&(j[w]=b[w]);return{$$typeof:l,type:C,key:O,ref:W,props:j,_owner:I.current}}return q.Fragment=v,q.jsx=$,q.jsxs=$,q}var z={};/**
*/var _e;function Le(){if(_e)return q;_e=1;var i=g,l=Symbol.for("react.element"),v=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,M=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,W={key:!0,ref:!0,__self:!0,__source:!0};function N(O,b,F){var w,j={},C=null,Y=null;F!==void 0&&(C=""+F),b.key!==void 0&&(C=""+b.key),b.ref!==void 0&&(Y=b.ref);for(w in b)d.call(b,w)&&!W.hasOwnProperty(w)&&(j[w]=b[w]);if(O&&O.defaultProps)for(w in b=O.defaultProps,b)j[w]===void 0&&(j[w]=b[w]);return{$$typeof:l,type:O,key:C,ref:Y,props:j,_owner:M.current}}return q.Fragment=v,q.jsx=N,q.jsxs=N,q}var z={};/**
* @license React

@@ -18,13 +18,13 @@ * react-jsx-runtime.development.js

* LICENSE file in the root directory of this source tree.
*/var je;function Le(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var i=g,l=Symbol.for("react.element"),v=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),C=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),ee=Symbol.iterator,ve="@@iterator";function pe(e){if(e===null||typeof e!="object")return null;var r=ee&&e[ee]||e[ve];return typeof r=="function"?r:null}var D=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];me("error",e,t)}}function me(e,r,t){{var n=D.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var he=!1,J=!1,ge=!1,Y=!1,re=!1,N;N=Symbol.for("react.module.reference");function te(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===M||re||e===I||e===F||e===w||Y||e===W||he||J||ge||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===j||e.$$typeof===$||e.$$typeof===C||e.$$typeof===b||e.$$typeof===N||e.getModuleId!==void 0))}function G(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function ne(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case v:return"Portal";case M:return"Profiler";case I:return"StrictMode";case F:return"Suspense";case w:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case C:var r=e;return ne(r)+".Consumer";case $:var t=e;return ne(t._context)+".Provider";case b:return G(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:R(e.type)||"Memo";case O:{var s=e,c=s._payload,o=s._init;try{return R(o(c))}catch{return null}}}return null}var P=Object.assign,A=0,T,K,ae,oe,ie,X,le;function p(){}p.__reactDisabledLog=!0;function L(){{if(A===0){T=console.log,K=console.info,ae=console.warn,oe=console.error,ie=console.group,X=console.groupCollapsed,le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function U(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:T}),info:P({},e,{value:K}),warn:P({},e,{value:ae}),error:P({},e,{value:oe}),group:P({},e,{value:ie}),groupCollapsed:P({},e,{value:X}),groupEnd:P({},e,{value:le})})}A<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var V=D.ReactCurrentDispatcher,x;function S(e,r,t){{if(x===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);x=n&&n[1]||""}return`
`+x+e}}var be=!1,se;{var tr=typeof WeakMap=="function"?WeakMap:Map;se=new tr}function Te(e,r){if(!e||be)return"";{var t=se.get(e);if(t!==void 0)return t}var n;be=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=V.current,V.current=null,L();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(k){n=k}Reflect.construct(e,[],o)}else{try{o.call()}catch(k){n=k}e.call(o.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var a=k.stack.split(`
*/var je;function Ue(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var i=g,l=Symbol.for("react.element"),v=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),O=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),ee=Symbol.iterator,ve="@@iterator";function pe(e){if(e===null||typeof e!="object")return null;var r=ee&&e[ee]||e[ve];return typeof r=="function"?r:null}var D=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];me("error",e,t)}}function me(e,r,t){{var n=D.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var he=!1,J=!1,ge=!1,L=!1,re=!1,I;I=Symbol.for("react.module.reference");function te(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===W||re||e===M||e===F||e===w||L||e===Y||he||J||ge||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===j||e.$$typeof===N||e.$$typeof===O||e.$$typeof===b||e.$$typeof===I||e.getModuleId!==void 0))}function G(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function ne(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case v:return"Portal";case W:return"Profiler";case M:return"StrictMode";case F:return"Suspense";case w:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O:var r=e;return ne(r)+".Consumer";case N:var t=e;return ne(t._context)+".Provider";case b:return G(e,e.render,"ForwardRef");case j:var n=e.displayName||null;return n!==null?n:R(e.type)||"Memo";case C:{var s=e,c=s._payload,o=s._init;try{return R(o(c))}catch{return null}}}return null}var P=Object.assign,A=0,T,K,ae,oe,ie,X,le;function p(){}p.__reactDisabledLog=!0;function U(){{if(A===0){T=console.log,K=console.info,ae=console.warn,oe=console.error,ie=console.group,X=console.groupCollapsed,le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function V(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:T}),info:P({},e,{value:K}),warn:P({},e,{value:ae}),error:P({},e,{value:oe}),group:P({},e,{value:ie}),groupCollapsed:P({},e,{value:X}),groupEnd:P({},e,{value:le})})}A<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var B=D.ReactCurrentDispatcher,x;function S(e,r,t){{if(x===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);x=n&&n[1]||""}return`
`+x+e}}var be=!1,se;{var ar=typeof WeakMap=="function"?WeakMap:Map;se=new ar}function Te(e,r){if(!e||be)return"";{var t=se.get(e);if(t!==void 0)return t}var n;be=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=B.current,B.current=null,U();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(k){n=k}Reflect.construct(e,[],o)}else{try{o.call()}catch(k){n=k}e.call(o.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var a=k.stack.split(`
`),E=n.stack.split(`
`),m=a.length-1,h=E.length-1;m>=1&&h>=0&&a[m]!==E[h];)h--;for(;m>=1&&h>=0;m--,h--)if(a[m]!==E[h]){if(m!==1||h!==1)do if(m--,h--,h<0||a[m]!==E[h]){var _=`
`+a[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&se.set(e,_),_}while(m>=1&&h>=0);break}}}finally{be=!1,V.current=c,U(),Error.prepareStackTrace=s}var H=e?e.displayName||e.name:"",We=H?S(H):"";return typeof e=="function"&&se.set(e,We),We}function nr(e,r,t){return Te(e,!1)}function ar(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function ue(e,r,t){if(e==null)return"";if(typeof e=="function")return Te(e,ar(e));if(typeof e=="string")return S(e);switch(e){case F:return S("Suspense");case w:return S("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case b:return nr(e.render);case j:return ue(e.type,r,t);case O:{var n=e,s=n._payload,c=n._init;try{return ue(c(s),r,t)}catch{}}}return""}var ce=Object.prototype.hasOwnProperty,Ce={},Oe=D.ReactDebugCurrentFrame;function fe(e){if(e){var r=e._owner,t=ue(e.type,e._source,r?r.type:null);Oe.setExtraStackFrame(t)}else Oe.setExtraStackFrame(null)}function or(e,r,t,n,s){{var c=Function.call.bind(ce);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var E=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(fe(s),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),fe(null)),a instanceof Error&&!(a.message in Ce)&&(Ce[a.message]=!0,fe(s),y("Failed %s type: %s",t,a.message),fe(null))}}}var ir=Array.isArray;function ye(e){return ir(e)}function lr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function sr(e){try{return Pe(e),!1}catch{return!0}}function Pe(e){return""+e}function Se(e){if(sr(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lr(e)),Pe(e)}var Q=D.ReactCurrentOwner,ur={key:!0,ref:!0,__self:!0,__source:!0},ke,Fe,we;we={};function cr(e){if(ce.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function fr(e){if(ce.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function dr(e,r){if(typeof e.ref=="string"&&Q.current&&r&&Q.current.stateNode!==r){var t=R(Q.current.type);we[t]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Q.current.type),e.ref),we[t]=!0)}}function vr(e,r){{var t=function(){ke||(ke=!0,y("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function pr(e,r){{var t=function(){Fe||(Fe=!0,y("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var mr=function(e,r,t,n,s,c,o){var a={$$typeof:l,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function hr(e,r,t,n,s){{var c,o={},a=null,E=null;t!==void 0&&(Se(t),a=""+t),fr(r)&&(Se(r.key),a=""+r.key),cr(r)&&(E=r.ref,dr(r,s));for(c in r)ce.call(r,c)&&!ur.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||E){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&vr(o,h),E&&pr(o,h)}return mr(e,a,E,s,n,Q.current,o)}}var Ee=D.ReactCurrentOwner,De=D.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=ue(e.type,e._source,r?r.type:null);De.setExtraStackFrame(t)}else De.setExtraStackFrame(null)}var Re;Re=!1;function xe(e){return typeof e=="object"&&e!==null&&e.$$typeof===l}function Ae(){{if(Ee.current){var e=R(Ee.current.type);if(e)return`
`+a[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&se.set(e,_),_}while(m>=1&&h>=0);break}}}finally{be=!1,B.current=c,V(),Error.prepareStackTrace=s}var Z=e?e.displayName||e.name:"",We=Z?S(Z):"";return typeof e=="function"&&se.set(e,We),We}function or(e,r,t){return Te(e,!1)}function ir(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function ue(e,r,t){if(e==null)return"";if(typeof e=="function")return Te(e,ir(e));if(typeof e=="string")return S(e);switch(e){case F:return S("Suspense");case w:return S("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case b:return or(e.render);case j:return ue(e.type,r,t);case C:{var n=e,s=n._payload,c=n._init;try{return ue(c(s),r,t)}catch{}}}return""}var ce=Object.prototype.hasOwnProperty,Oe={},Ce=D.ReactDebugCurrentFrame;function fe(e){if(e){var r=e._owner,t=ue(e.type,e._source,r?r.type:null);Ce.setExtraStackFrame(t)}else Ce.setExtraStackFrame(null)}function lr(e,r,t,n,s){{var c=Function.call.bind(ce);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var E=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(fe(s),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),fe(null)),a instanceof Error&&!(a.message in Oe)&&(Oe[a.message]=!0,fe(s),y("Failed %s type: %s",t,a.message),fe(null))}}}var sr=Array.isArray;function ye(e){return sr(e)}function ur(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function cr(e){try{return Pe(e),!1}catch{return!0}}function Pe(e){return""+e}function Se(e){if(cr(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(e)),Pe(e)}var Q=D.ReactCurrentOwner,fr={key:!0,ref:!0,__self:!0,__source:!0},ke,Fe,we;we={};function dr(e){if(ce.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function vr(e){if(ce.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function pr(e,r){if(typeof e.ref=="string"&&Q.current&&r&&Q.current.stateNode!==r){var t=R(Q.current.type);we[t]||(y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Q.current.type),e.ref),we[t]=!0)}}function mr(e,r){{var t=function(){ke||(ke=!0,y("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function hr(e,r){{var t=function(){Fe||(Fe=!0,y("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var gr=function(e,r,t,n,s,c,o){var a={$$typeof:l,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function br(e,r,t,n,s){{var c,o={},a=null,E=null;t!==void 0&&(Se(t),a=""+t),vr(r)&&(Se(r.key),a=""+r.key),dr(r)&&(E=r.ref,pr(r,s));for(c in r)ce.call(r,c)&&!fr.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||E){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&mr(o,h),E&&hr(o,h)}return gr(e,a,E,s,n,Q.current,o)}}var Ee=D.ReactCurrentOwner,De=D.ReactDebugCurrentFrame;function H(e){if(e){var r=e._owner,t=ue(e.type,e._source,r?r.type:null);De.setExtraStackFrame(t)}else De.setExtraStackFrame(null)}var Re;Re=!1;function xe(e){return typeof e=="object"&&e!==null&&e.$$typeof===l}function Ae(){{if(Ee.current){var e=R(Ee.current.type);if(e)return`
Check the render method of \``+e+"`."}return""}}function gr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
Check the render method of \``+e+"`."}return""}}function yr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
Check your code at `+r+":"+t+"."}return""}}var $e={};function br(e){{var r=Ae();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
Check your code at `+r+":"+t+"."}return""}}var $e={};function wr(e){{var r=Ae();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
Check the top-level render call using <`+t+">.")}return r}}function Ne(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=br(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==Ee.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),B(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),B(null)}}function Ie(e,r){{if(typeof e!="object")return;if(ye(e))for(var t=0;t<e.length;t++){var n=e[t];xe(n)&&Ne(n,r)}else if(xe(e))e._store&&(e._store.validated=!0);else if(e){var s=pe(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)xe(o.value)&&Ne(o.value,r)}}}function yr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===b||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=R(r);or(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Re){Re=!0;var s=R(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){B(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),B(null);break}}e.ref!==null&&(B(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function Me(e,r,t,n,s,c){{var o=te(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=gr(s);E?a+=E:a+=Ae();var m;e===null?m="null":ye(e)?m="array":e!==void 0&&e.$$typeof===l?(m="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=hr(e,r,t,s,c);if(h==null)return h;if(o){var _=r.children;if(_!==void 0)if(n)if(ye(_)){for(var H=0;H<_.length;H++)Ie(_[H],e);Object.freeze&&Object.freeze(_)}else y("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 Ie(_,e)}return e===d?wr(h):yr(h),h}}function Er(e,r,t){return Me(e,r,t,!0)}function Rr(e,r,t){return Me(e,r,t,!1)}var xr=Rr,_r=Er;z.Fragment=d,z.jsx=xr,z.jsxs=_r}()),z}process.env.NODE_ENV==="production"?de.exports=Ye():de.exports=Le();var f=de.exports;function Ue({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),u.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))}const Ve=u.forwardRef(Ue);function Be({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z",clipRule:"evenodd"}))}const He=u.forwardRef(Be);function Ze({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M12.207 2.232a.75.75 0 0 0 .025 1.06l4.146 3.958H6.375a5.375 5.375 0 0 0 0 10.75H9.25a.75.75 0 0 0 0-1.5H6.375a3.875 3.875 0 0 1 0-7.75h10.003l-4.146 3.957a.75.75 0 0 0 1.036 1.085l5.5-5.25a.75.75 0 0 0 0-1.085l-5.5-5.25a.75.75 0 0 0-1.06.025Z",clipRule:"evenodd"}))}const qe=u.forwardRef(Ze);function ze({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))}const Je=u.forwardRef(ze);function Ge({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))}const Ke=u.forwardRef(Ge);function Xe({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z"}))}const Qe=u.forwardRef(Xe);function er({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))}const rr=u.forwardRef(er);return({src:i,autoPlay:l,className:v,controls:d,controlsList:I,id:M,loop:$,muted:C,onAbort:b,onCanPlay:F,onCanPlayThrough:w,onEnded:j,onError:O,onLoadedMetadata:W,onPause:ee,onPlay:ve,onSeeked:pe,onVolumeChange:D,preload:y,style:me,title:he})=>{const[J,ge]=g.useState(!1),[Y,re]=g.useState(1),[N,te]=g.useState(0),[G,ne]=g.useState(0),[R]=g.useState(!1),[P,A]=g.useState(0),T=g.useRef(null),K=g.useRef(null);g.useEffect(()=>{const p=T.current;p&&(p.playbackRate=Y)},[Y]),g.useEffect(()=>{const p=T.current;!p||!R||(p.currentTime=N)},[N,R]);const ae=()=>{var p;te(((p=T.current)==null?void 0:p.currentTime)||0),A(N/G)},oe=()=>{var p;ne(((p=T.current)==null?void 0:p.duration)||0)},ie=()=>{const p=T.current;p&&(J?p.pause():p.play()),ge(!J)},X=p=>{const L=Math.floor(p/3600),U=Math.floor(p%3600/60),V=Math.floor(p%60);return[L,U,V].map(x=>x<10?"0"+x:x).filter((x,S)=>x!=="00"||S>0).join(":")},le=p=>{const L=K.current;if(!L)return;const U=L.getBoundingClientRect(),x=(p.clientX-U.left)/U.width;A(x);const S=x*G;te(S),T.current&&(T.current.currentTime=S)};return f.jsxs("dialog",{className:"w-full h-24 px-12 flex items-center justify-center bg-transparent pointer-events-none",children:[f.jsx("audio",{src:i,autoPlay:l,className:v,controls:d,controlsList:I,id:M,loop:$,muted:C,onTimeUpdate:ae,onDurationChange:oe,onAbort:b,onCanPlay:F,onCanPlayThrough:w,onEnded:j,onError:O,onLoadedMetadata:W,onPause:ee,onPlay:ve,onSeeked:pe,onVolumeChange:D,preload:y,style:me,title:he,ref:T,children:"Your browser does not support the audio element."}),f.jsx("div",{className:"relative z-10 p-4 pointer-events-auto",children:f.jsxs("div",{className:"flex w-[41rem] rounded-lg bg-white shadow-xl shadow-black/5 ring-1 ring-slate-700/10",children:[f.jsxs("div",{className:"flex items-center space-x-4 px-6 py-4",children:[f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(He,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:ie,className:"bg-[#0F172A] rounded-full flex items-center justify-center p-2",children:J?f.jsx(Ke,{className:"w-5 h-5 text-white"}):f.jsx(Qe,{className:"w-5 h-5 text-white"})}),f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(qe,{className:"w-5 h-5 text-gray-600"})})]}),f.jsxs("div",{className:"flex flex-auto items-center border-l border-slate-200/60 pl-6 pr-4 text-[0.8125rem] leading-5 text-slate-700",children:[f.jsx("div",{children:X(N)}),f.jsxs("div",{ref:K,className:"relative ml-4 flex flex-auto rounded-full bg-slate-100 cursor-pointer",onMouseDown:le,children:[f.jsx("div",{style:{width:`${P*100}%`},className:"h-2 flex-none rounded-l-full rounded-r-[1px] bg-indigo-600 transition-all duration-500 ease-in-out"}),f.jsx("div",{className:"-my-[0.3125rem] ml-0.5 h-[1.125rem] w-1 rounded-full bg-indigo-600"})]}),f.jsx("div",{className:"ml-4",children:X(G)}),f.jsxs("div",{className:"ml-4 flex items-center",children:[f.jsx("button",{onClick:()=>re(Y/1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(Je,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:()=>re(Y*1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(rr,{className:"w-5 h-5 text-gray-600"})})]}),f.jsx("a",{href:i,target:"_blank",className:"rounded-full flex items-center justify-center p-2",children:f.jsx(Ve,{className:"w-5 h-5 text-gray-600"})})]})]})})]})}});
Check the top-level render call using <`+t+">.")}return r}}function Ne(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=wr(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==Ee.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),H(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),H(null)}}function Ie(e,r){{if(typeof e!="object")return;if(ye(e))for(var t=0;t<e.length;t++){var n=e[t];xe(n)&&Ne(n,r)}else if(xe(e))e._store&&(e._store.validated=!0);else if(e){var s=pe(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),o;!(o=c.next()).done;)xe(o.value)&&Ne(o.value,r)}}}function Er(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===b||r.$$typeof===j))t=r.propTypes;else return;if(t){var n=R(r);lr(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Re){Re=!0;var s=R(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Rr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){H(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),H(null);break}}e.ref!==null&&(H(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),H(null))}}function Me(e,r,t,n,s,c){{var o=te(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=yr(s);E?a+=E:a+=Ae();var m;e===null?m="null":ye(e)?m="array":e!==void 0&&e.$$typeof===l?(m="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=br(e,r,t,s,c);if(h==null)return h;if(o){var _=r.children;if(_!==void 0)if(n)if(ye(_)){for(var Z=0;Z<_.length;Z++)Ie(_[Z],e);Object.freeze&&Object.freeze(_)}else y("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 Ie(_,e)}return e===d?Rr(h):Er(h),h}}function xr(e,r,t){return Me(e,r,t,!0)}function _r(e,r,t){return Me(e,r,t,!1)}var jr=_r,Tr=xr;z.Fragment=d,z.jsx=jr,z.jsxs=Tr}()),z}process.env.NODE_ENV==="production"?de.exports=Le():de.exports=Ue();var f=de.exports;function Ve({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),u.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))}const Be=u.forwardRef(Ve);function He({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025Z",clipRule:"evenodd"}))}const Ze=u.forwardRef(He);function qe({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M12.207 2.232a.75.75 0 0 0 .025 1.06l4.146 3.958H6.375a5.375 5.375 0 0 0 0 10.75H9.25a.75.75 0 0 0 0-1.5H6.375a3.875 3.875 0 0 1 0-7.75h10.003l-4.146 3.957a.75.75 0 0 0 1.036 1.085l5.5-5.25a.75.75 0 0 0 0-1.085l-5.5-5.25a.75.75 0 0 0-1.06.025Z",clipRule:"evenodd"}))}const ze=u.forwardRef(qe);function Je({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))}const Ge=u.forwardRef(Je);function Ke({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))}const Xe=u.forwardRef(Ke);function Qe({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z"}))}const er=u.forwardRef(Qe);function rr({title:i,titleId:l,...v},d){return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:d,"aria-labelledby":l},v),i?u.createElement("title",{id:l},i):null,u.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))}const tr=u.forwardRef(rr),nr=({src:i,autoPlay:l,className:v,controls:d,controlsList:M,id:W,loop:N,muted:O,onAbort:b,onCanPlay:F,onCanPlayThrough:w,onEnded:j,onError:C,onLoadedMetadata:Y,onPause:ee,onPlay:ve,onSeeked:pe,onVolumeChange:D,preload:y,style:me,title:he})=>{const[J,ge]=g.useState(!1),[L,re]=g.useState(1),[I,te]=g.useState(0),[G,ne]=g.useState(0),[R]=g.useState(!1),[P,A]=g.useState(0),T=g.useRef(null),K=g.useRef(null);g.useEffect(()=>{const p=T.current;p&&(p.playbackRate=L)},[L]),g.useEffect(()=>{const p=T.current;!p||!R||(p.currentTime=I)},[I,R]);const ae=()=>{var p;te(((p=T.current)==null?void 0:p.currentTime)||0),A(I/G)},oe=()=>{var p;ne(((p=T.current)==null?void 0:p.duration)||0)},ie=()=>{const p=T.current;p&&(J?p.pause():p.play()),ge(!J)},X=p=>{const U=Math.floor(p/3600),V=Math.floor(p%3600/60),B=Math.floor(p%60);return[U,V,B].map(x=>x<10?"0"+x:x).filter((x,S)=>x!=="00"||S>0).join(":")},le=p=>{const U=K.current;if(!U)return;const V=U.getBoundingClientRect(),x=(p.clientX-V.left)/V.width;A(x);const S=x*G;te(S),T.current&&(T.current.currentTime=S)};return f.jsxs("dialog",{className:"w-full h-24 px-12 flex items-center justify-center bg-transparent pointer-events-none",children:[f.jsx("audio",{src:i,autoPlay:l,className:v,controls:d,controlsList:M,id:W,loop:N,muted:O,onTimeUpdate:ae,onDurationChange:oe,onAbort:b,onCanPlay:F,onCanPlayThrough:w,onEnded:j,onError:C,onLoadedMetadata:Y,onPause:ee,onPlay:ve,onSeeked:pe,onVolumeChange:D,preload:y,style:me,title:he,ref:T,children:"Your browser does not support the audio element."}),f.jsx("div",{className:"relative z-10 p-4 pointer-events-auto",children:f.jsxs("div",{className:"flex w-[41rem] rounded-lg bg-white shadow-xl shadow-black/5 ring-1 ring-slate-700/10",children:[f.jsxs("div",{className:"flex items-center space-x-4 px-6 py-4",children:[f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(Ze,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:ie,className:"bg-[#0F172A] rounded-full flex items-center justify-center p-2",children:J?f.jsx(Xe,{className:"w-5 h-5 text-white"}):f.jsx(er,{className:"w-5 h-5 text-white"})}),f.jsx("button",{className:"rounded-full flex items-center justify-center p-2",children:f.jsx(ze,{className:"w-5 h-5 text-gray-600"})})]}),f.jsxs("div",{className:"flex flex-auto items-center border-l border-slate-200/60 pl-6 pr-4 text-[0.8125rem] leading-5 text-slate-700",children:[f.jsx("div",{children:X(I)}),f.jsxs("div",{ref:K,className:"relative ml-4 flex flex-auto rounded-full bg-slate-100 cursor-pointer",onMouseDown:le,children:[f.jsx("div",{style:{width:`${P*100}%`},className:"h-2 flex-none rounded-l-full rounded-r-[1px] bg-indigo-600 transition-all duration-500 ease-in-out"}),f.jsx("div",{className:"-my-[0.3125rem] ml-0.5 h-[1.125rem] w-1 rounded-full bg-indigo-600"})]}),f.jsx("div",{className:"ml-4",children:X(G)}),f.jsxs("div",{className:"ml-4 flex items-center",children:[f.jsx("button",{onClick:()=>re(L/1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(Ge,{className:"w-5 h-5 text-gray-600"})}),f.jsx("button",{onClick:()=>re(L*1.25),className:"rounded-full flex items-center justify-center py-2 px-1",children:f.jsx(tr,{className:"w-5 h-5 text-gray-600"})})]}),f.jsx("a",{href:i,target:"_blank",className:"rounded-full flex items-center justify-center p-2",children:f.jsx(Be,{className:"w-5 h-5 text-gray-600"})})]})]})})]})};$.Player=nr,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})});
//# sourceMappingURL=index.umd.js.map
{
"name": "tailwind-player",
"description": "Standalone tailwind component with audio player functionality",
"version": "0.0.7",
"version": "0.0.8",
"author": "Alex Shevliakov <alexshelvey.com> (https://alexshelvey.com)",

@@ -19,3 +19,2 @@ "homepage": "https://github.com/alexjedi/tailwind-player",

"types": "dist/index.d.ts",
"private": false,
"type": "module",

@@ -35,15 +34,10 @@ "files": [

},
"resolutions": {
"@types/react": "17.0.14",
"@types/react-dom": "17.0.14"
},
"dependencies": {
"@heroicons/react": "^2.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-player": "^0.0.6"
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.11.24",
"@types/react": "^18.2.75",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",

@@ -50,0 +44,0 @@ "@typescript-eslint/eslint-plugin": "^7.1.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc