import{r as t,c as i,h as n}from"./p-2a37a33f.js";import{c as e,a as o}from"./p-74149bb1.js";import{M as r}from"./p-f700eba7.js";import"./p-71f46be5.js";var s=e((function(t,i){
/*!
 *  howler.js v2.1.2
 *  howlerjs.com
 *
 *  (c) 2013-2019, James Simpson of GoldFire Studios
 *  goldfirestudios.com
 *
 *  MIT License
 */
!function(){var t=function(){this.init()};t.prototype={init:function(){var t=this||n;return t._counter=1e3,t._html5AudioPool=[],t.html5PoolSize=10,t._codecs={},t._howls=[],t._muted=!1,t._volume=1,t._canPlayEvent="canplaythrough",t._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,t.masterGain=null,t.noAudio=!1,t.usingWebAudio=!0,t.autoSuspend=!0,t.ctx=null,t.autoUnlock=!0,t._setup(),t},volume:function(t){var i=this||n;if(t=parseFloat(t),i.ctx||l(),void 0!==t&&t>=0&&t<=1){if(i._volume=t,i._muted)return i;i.usingWebAudio&&i.masterGain.gain.setValueAtTime(t,n.ctx.currentTime);for(var e=0;e<i._howls.length;e++)if(!i._howls[e]._webAudio)for(var o=i._howls[e]._getSoundIds(),r=0;r<o.length;r++){var s=i._howls[e]._soundById(o[r]);s&&s._node&&(s._node.volume=s._volume*t)}return i}return i._volume},mute:function(t){var i=this||n;i.ctx||l(),i._muted=t,i.usingWebAudio&&i.masterGain.gain.setValueAtTime(t?0:i._volume,n.ctx.currentTime);for(var e=0;e<i._howls.length;e++)if(!i._howls[e]._webAudio)for(var o=i._howls[e]._getSoundIds(),r=0;r<o.length;r++){var s=i._howls[e]._soundById(o[r]);s&&s._node&&(s._node.muted=!!t||s._muted)}return i},unload:function(){for(var t=this||n,i=t._howls.length-1;i>=0;i--)t._howls[i].unload();return t.usingWebAudio&&t.ctx&&void 0!==t.ctx.close&&(t.ctx.close(),t.ctx=null,l()),t},codecs:function(t){return(this||n)._codecs[t.replace(/^x-/,"")]},_setup:function(){var t=this||n;if(t.state=t.ctx&&t.ctx.state||"suspended",t._autoSuspend(),!t.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(t._canPlayEvent="canplay")}catch(i){t.noAudio=!0}else t.noAudio=!0;try{(new Audio).muted&&(t.noAudio=!0)}catch(i){}return t.noAudio||t._setupCodecs(),t},_setupCodecs:function(){var t=this||n,i=null;try{i="undefined"!=typeof Audio?new Audio:null}catch(s){return t}if(!i||"function"!=typeof i.canPlayType)return t;var e=i.canPlayType("audio/mpeg;").replace(/^no$/,""),o=t._navigator&&t._navigator.userAgent.match(/OPR\/([0-6].)/g),r=o&&parseInt(o[0].split("/")[1],10)<33;return t._codecs={mp3:!(r||!e&&!i.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!e,opus:!!i.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),aac:!!i.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!i.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(i.canPlayType("audio/x-mp4;")||i.canPlayType("audio/mp4;")||i.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!i.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),webm:!!i.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),dolby:!!i.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(i.canPlayType("audio/x-flac;")||i.canPlayType("audio/flac;")).replace(/^no$/,"")},t},_unlockAudio:function(){var t=this||n;if(!t._audioUnlocked&&t.ctx){t._audioUnlocked=!1,t.autoUnlock=!1,t._mobileUnloaded||44100===t.ctx.sampleRate||(t._mobileUnloaded=!0,t.unload()),t._scratchBuffer=t.ctx.createBuffer(1,1,22050);var i=function(){for(var n=0;n<t.html5PoolSize;n++)try{var e=new Audio;e._unlocked=!0,t._releaseHtml5Audio(e)}catch(u){t.noAudio=!0}for(n=0;n<t._howls.length;n++)if(!t._howls[n]._webAudio)for(var o=t._howls[n]._getSoundIds(),r=0;r<o.length;r++){var s=t._howls[n]._soundById(o[r]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}t._autoResume();var a=t.ctx.createBufferSource();a.buffer=t._scratchBuffer,a.connect(t.ctx.destination),void 0===a.start?a.noteOn(0):a.start(0),"function"==typeof t.ctx.resume&&t.ctx.resume(),a.onended=function(){a.disconnect(0),t._audioUnlocked=!0,document.removeEventListener("touchstart",i,!0),document.removeEventListener("touchend",i,!0),document.removeEventListener("click",i,!0);for(var n=0;n<t._howls.length;n++)t._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",i,!0),document.addEventListener("touchend",i,!0),document.addEventListener("click",i,!0),t}},_obtainHtml5Audio:function(){var t=this||n;if(t._html5AudioPool.length)return t._html5AudioPool.pop();var i=(new Audio).play();return i&&"undefined"!=typeof Promise&&(i instanceof Promise||"function"==typeof i.then)&&i.catch((function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")})),new Audio},_releaseHtml5Audio:function(t){var i=this||n;return t._unlocked&&i._html5AudioPool.push(t),i},_autoSuspend:function(){var t=this;if(t.autoSuspend&&t.ctx&&void 0!==t.ctx.suspend&&n.usingWebAudio){for(var i=0;i<t._howls.length;i++)if(t._howls[i]._webAudio)for(var e=0;e<t._howls[i]._sounds.length;e++)if(!t._howls[i]._sounds[e]._paused)return t;return t._suspendTimer&&clearTimeout(t._suspendTimer),t._suspendTimer=setTimeout((function(){t.autoSuspend&&(t._suspendTimer=null,t.state="suspending",t.ctx.suspend().then((function(){t.state="suspended",t._resumeAfterSuspend&&(delete t._resumeAfterSuspend,t._autoResume())})))}),3e4),t}},_autoResume:function(){var t=this;if(t.ctx&&void 0!==t.ctx.resume&&n.usingWebAudio)return"running"===t.state&&t._suspendTimer?(clearTimeout(t._suspendTimer),t._suspendTimer=null):"suspended"===t.state?(t.ctx.resume().then((function(){t.state="running";for(var i=0;i<t._howls.length;i++)t._howls[i]._emit("resume")})),t._suspendTimer&&(clearTimeout(t._suspendTimer),t._suspendTimer=null)):"suspending"===t.state&&(t._resumeAfterSuspend=!0),t}};var n=new t,e=function(t){t.src&&0!==t.src.length?this.init(t):console.error("An array of source files must be passed with any new Howl.")};e.prototype={init:function(t){var i=this;return n.ctx||l(),i._autoplay=t.autoplay||!1,i._format="string"!=typeof t.format?t.format:[t.format],i._html5=t.html5||!1,i._muted=t.mute||!1,i._loop=t.loop||!1,i._pool=t.pool||5,i._preload="boolean"!=typeof t.preload||t.preload,i._rate=t.rate||1,i._sprite=t.sprite||{},i._src="string"!=typeof t.src?t.src:[t.src],i._volume=void 0!==t.volume?t.volume:1,i._xhrWithCredentials=t.xhrWithCredentials||!1,i._duration=0,i._state="unloaded",i._sounds=[],i._endTimers={},i._queue=[],i._playLock=!1,i._onend=t.onend?[{fn:t.onend}]:[],i._onfade=t.onfade?[{fn:t.onfade}]:[],i._onload=t.onload?[{fn:t.onload}]:[],i._onloaderror=t.onloaderror?[{fn:t.onloaderror}]:[],i._onplayerror=t.onplayerror?[{fn:t.onplayerror}]:[],i._onpause=t.onpause?[{fn:t.onpause}]:[],i._onplay=t.onplay?[{fn:t.onplay}]:[],i._onstop=t.onstop?[{fn:t.onstop}]:[],i._onmute=t.onmute?[{fn:t.onmute}]:[],i._onvolume=t.onvolume?[{fn:t.onvolume}]:[],i._onrate=t.onrate?[{fn:t.onrate}]:[],i._onseek=t.onseek?[{fn:t.onseek}]:[],i._onunlock=t.onunlock?[{fn:t.onunlock}]:[],i._onresume=[],i._webAudio=n.usingWebAudio&&!i._html5,void 0!==n.ctx&&n.ctx&&n.autoUnlock&&n._unlockAudio(),n._howls.push(i),i._autoplay&&i._queue.push({event:"play",action:function(){i.play()}}),i._preload&&i.load(),i},load:function(){var t=null;if(n.noAudio)this._emit("loaderror",null,"No audio support.");else{"string"==typeof this._src&&(this._src=[this._src]);for(var i=0;i<this._src.length;i++){var e,o;if(this._format&&this._format[i])e=this._format[i];else{if("string"!=typeof(o=this._src[i])){this._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(e=/^data:audio\/([^;,]+);/i.exec(o))||(e=/\.([^.]+)$/.exec(o.split("?",1)[0])),e&&(e=e[1].toLowerCase())}if(e||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),e&&n.codecs(e)){t=this._src[i];break}}if(t)return this._src=t,this._state="loading","https:"===window.location.protocol&&"http:"===t.slice(0,5)&&(this._html5=!0,this._webAudio=!1),new r(this),this._webAudio&&a(this),this;this._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(t,i){var e=this,o=null;if("number"==typeof t)o=t,t=null;else{if("string"==typeof t&&"loaded"===e._state&&!e._sprite[t])return null;if(void 0===t&&(t="__default",!e._playLock)){for(var r=0,s=0;s<e._sounds.length;s++)e._sounds[s]._paused&&!e._sounds[s]._ended&&(r++,o=e._sounds[s]._id);1===r?t=null:o=null}}var a=o?e._soundById(o):e._inactiveSound();if(!a)return null;if(o&&!t&&(t=a._sprite||"__default"),"loaded"!==e._state){a._sprite=t,a._ended=!1;var u=a._id;return e._queue.push({event:"play",action:function(){e.play(u)}}),u}if(o&&!a._paused)return i||e._loadQueue("play"),a._id;e._webAudio&&n._autoResume();var h=Math.max(0,a._seek>0?a._seek:e._sprite[t][0]/1e3),f=Math.max(0,(e._sprite[t][0]+e._sprite[t][1])/1e3-h),l=1e3*f/Math.abs(a._rate),d=e._sprite[t][0]/1e3,c=(e._sprite[t][0]+e._sprite[t][1])/1e3,v=!(!a._loop&&!e._sprite[t][2]);a._sprite=t,a._ended=!1;var p=function(){a._paused=!1,a._seek=h,a._start=d,a._stop=c,a._loop=v};if(!(h>=c)){var m=a._node;if(e._webAudio){var w=function(){e._playLock=!1,p(),e._refreshBuffer(a),m.gain.setValueAtTime(a._muted||e._muted?0:a._volume,n.ctx.currentTime),a._playStart=n.ctx.currentTime,void 0===m.bufferSource.start?m.bufferSource.noteGrainOn(0,h,a._loop?86400:f):m.bufferSource.start(0,h,a._loop?86400:f),l!==1/0&&(e._endTimers[a._id]=setTimeout(e._ended.bind(e,a),l)),i||setTimeout((function(){e._emit("play",a._id),e._loadQueue()}),0)};"running"===n.state?w():(e._playLock=!0,e.once("resume",w),e._clearTimer(a._id))}else{var y=function(){m.currentTime=h,m.muted=a._muted||e._muted||n._muted||m.muted,m.volume=a._volume*n.volume(),m.playbackRate=a._rate;try{var o=m.play();if(o&&"undefined"!=typeof Promise&&(o instanceof Promise||"function"==typeof o.then)?(e._playLock=!0,p(),o.then((function(){e._playLock=!1,m._unlocked=!0,i||(e._emit("play",a._id),e._loadQueue())})).catch((function(){e._playLock=!1,e._emit("playerror",a._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),a._ended=!0,a._paused=!0}))):i||(e._playLock=!1,p(),e._emit("play",a._id),e._loadQueue()),m.playbackRate=a._rate,m.paused)return void e._emit("playerror",a._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==t||a._loop?e._endTimers[a._id]=setTimeout(e._ended.bind(e,a),l):(e._endTimers[a._id]=function(){e._ended(a),m.removeEventListener("ended",e._endTimers[a._id],!1)},m.addEventListener("ended",e._endTimers[a._id],!1))}catch(r){e._emit("playerror",a._id,r)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===m.src&&(m.src=e._src,m.load());var A=window&&window.ejecta||!m.readyState&&n._navigator.isCocoonJS;if(m.readyState>=3||A)y();else{e._playLock=!0;var b=function(){y(),m.removeEventListener(n._canPlayEvent,b,!1)};m.addEventListener(n._canPlayEvent,b,!1),e._clearTimer(a._id)}}return a._id}e._ended(a)},pause:function(t){var i=this;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"pause",action:function(){i.pause(t)}}),i;for(var n=i._getSoundIds(t),e=0;e<n.length;e++){i._clearTimer(n[e]);var o=i._soundById(n[e]);if(o&&!o._paused&&(o._seek=i.seek(n[e]),o._rateSeek=0,o._paused=!0,i._stopFade(n[e]),o._node))if(i._webAudio){if(!o._node.bufferSource)continue;void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),i._cleanBuffer(o._node)}else isNaN(o._node.duration)&&o._node.duration!==1/0||o._node.pause();arguments[1]||i._emit("pause",o?o._id:null)}return i},stop:function(t,i){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(t)}}),n;for(var e=n._getSoundIds(t),o=0;o<e.length;o++){n._clearTimer(e[o]);var r=n._soundById(e[o]);r&&(r._seek=r._start||0,r._rateSeek=0,r._paused=!0,r._ended=!0,n._stopFade(e[o]),r._node&&(n._webAudio?r._node.bufferSource&&(void 0===r._node.bufferSource.stop?r._node.bufferSource.noteOff(0):r._node.bufferSource.stop(0),n._cleanBuffer(r._node)):isNaN(r._node.duration)&&r._node.duration!==1/0||(r._node.currentTime=r._start||0,r._node.pause(),r._node.duration===1/0&&n._clearSound(r._node))),i||n._emit("stop",r._id))}return n},mute:function(t,i){var e=this;if("loaded"!==e._state||e._playLock)return e._queue.push({event:"mute",action:function(){e.mute(t,i)}}),e;if(void 0===i){if("boolean"!=typeof t)return e._muted;e._muted=t}for(var o=e._getSoundIds(i),r=0;r<o.length;r++){var s=e._soundById(o[r]);s&&(s._muted=t,s._interval&&e._stopFade(s._id),e._webAudio&&s._node?s._node.gain.setValueAtTime(t?0:s._volume,n.ctx.currentTime):s._node&&(s._node.muted=!!n._muted||t),e._emit("mute",s._id))}return e},volume:function(){var t,i,e,o=this,r=arguments;if(0===r.length)return o._volume;if(1===r.length||2===r.length&&void 0===r[1]){var s=o._getSoundIds(),a=s.indexOf(r[0]);a>=0?i=parseInt(r[0],10):t=parseFloat(r[0])}else r.length>=2&&(t=parseFloat(r[0]),i=parseInt(r[1],10));if(!(void 0!==t&&t>=0&&t<=1))return(e=i?o._soundById(i):o._sounds[0])?e._volume:0;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"volume",action:function(){o.volume.apply(o,r)}}),o;void 0===i&&(o._volume=t),i=o._getSoundIds(i);for(var u=0;u<i.length;u++)(e=o._soundById(i[u]))&&(e._volume=t,r[2]||o._stopFade(i[u]),o._webAudio&&e._node&&!e._muted?e._node.gain.setValueAtTime(t,n.ctx.currentTime):e._node&&!e._muted&&(e._node.volume=t*n.volume()),o._emit("volume",e._id));return o},fade:function(t,i,e,o){var r=this;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"fade",action:function(){r.fade(t,i,e,o)}}),r;t=parseFloat(t),i=parseFloat(i),e=parseFloat(e),r.volume(t,o);for(var s=r._getSoundIds(o),a=0;a<s.length;a++){var u=r._soundById(s[a]);if(u){if(o||r._stopFade(s[a]),r._webAudio&&!u._muted){var h=n.ctx.currentTime,f=h+e/1e3;u._volume=t,u._node.gain.setValueAtTime(t,h),u._node.gain.linearRampToValueAtTime(i,f)}r._startFadeInterval(u,t,i,e,s[a],void 0===o)}}return r},_startFadeInterval:function(t,i,n,e,o,r){var s=this,a=i,u=n-i,h=Math.abs(u/.01),f=Math.max(4,h>0?e/h:e),l=Date.now();t._fadeTo=n,t._interval=setInterval((function(){var o=(Date.now()-l)/e;l=Date.now(),a+=u*o,a=Math.max(0,a),a=Math.min(1,a),a=Math.round(100*a)/100,s._webAudio?t._volume=a:s.volume(a,t._id,!0),r&&(s._volume=a),(n<i&&a<=n||n>i&&a>=n)&&(clearInterval(t._interval),t._interval=null,t._fadeTo=null,s.volume(n,t._id),s._emit("fade",t._id))}),f)},_stopFade:function(t){var i=this._soundById(t);return i&&i._interval&&(this._webAudio&&i._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(i._interval),i._interval=null,this.volume(i._fadeTo,t),i._fadeTo=null,this._emit("fade",t)),this},loop:function(){var t,i,n,e=this,o=arguments;if(0===o.length)return e._loop;if(1===o.length){if("boolean"!=typeof o[0])return!!(n=e._soundById(parseInt(o[0],10)))&&n._loop;e._loop=t=o[0]}else 2===o.length&&(t=o[0],i=parseInt(o[1],10));for(var r=e._getSoundIds(i),s=0;s<r.length;s++)(n=e._soundById(r[s]))&&(n._loop=t,e._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=t,t&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop)));return e},rate:function(){var t,i,e,o=this,r=arguments;if(0===r.length)i=o._sounds[0]._id;else if(1===r.length){var s=o._getSoundIds(),a=s.indexOf(r[0]);a>=0?i=parseInt(r[0],10):t=parseFloat(r[0])}else 2===r.length&&(t=parseFloat(r[0]),i=parseInt(r[1],10));if("number"!=typeof t)return(e=o._soundById(i))?e._rate:o._rate;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"rate",action:function(){o.rate.apply(o,r)}}),o;void 0===i&&(o._rate=t),i=o._getSoundIds(i);for(var u=0;u<i.length;u++)if(e=o._soundById(i[u])){o.playing(i[u])&&(e._rateSeek=o.seek(i[u]),e._playStart=o._webAudio?n.ctx.currentTime:e._playStart),e._rate=t,o._webAudio&&e._node&&e._node.bufferSource?e._node.bufferSource.playbackRate.setValueAtTime(t,n.ctx.currentTime):e._node&&(e._node.playbackRate=t);var h=o.seek(i[u]),f=(o._sprite[e._sprite][0]+o._sprite[e._sprite][1])/1e3-h,l=1e3*f/Math.abs(e._rate);!o._endTimers[i[u]]&&e._paused||(o._clearTimer(i[u]),o._endTimers[i[u]]=setTimeout(o._ended.bind(o,e),l)),o._emit("rate",e._id)}return o},seek:function(){var t,i,e=this,o=arguments;if(0===o.length)i=e._sounds[0]._id;else if(1===o.length){var r=e._getSoundIds(),s=r.indexOf(o[0]);s>=0?i=parseInt(o[0],10):e._sounds.length&&(i=e._sounds[0]._id,t=parseFloat(o[0]))}else 2===o.length&&(t=parseFloat(o[0]),i=parseInt(o[1],10));if(void 0===i)return e;if("loaded"!==e._state||e._playLock)return e._queue.push({event:"seek",action:function(){e.seek.apply(e,o)}}),e;var a=e._soundById(i);if(a){if(!("number"==typeof t&&t>=0)){if(e._webAudio){var u=e.playing(i)?n.ctx.currentTime-a._playStart:0,h=a._rateSeek?a._rateSeek-a._seek:0;return a._seek+(h+u*Math.abs(a._rate))}return a._node.currentTime}var f=e.playing(i);f&&e.pause(i,!0),a._seek=t,a._ended=!1,e._clearTimer(i),e._webAudio||!a._node||isNaN(a._node.duration)||(a._node.currentTime=t);var l=function(){e._emit("seek",i),f&&e.play(i,!0)};if(f&&!e._webAudio){var d=function(){e._playLock?setTimeout(d,0):l()};setTimeout(d,0)}else l()}return e},playing:function(t){if("number"==typeof t){var i=this._soundById(t);return!!i&&!i._paused}for(var n=0;n<this._sounds.length;n++)if(!this._sounds[n]._paused)return!0;return!1},duration:function(t){var i=this._duration,n=this._soundById(t);return n&&(i=this._sprite[n._sprite][1]/1e3),i},state:function(){return this._state},unload:function(){for(var t=this,i=t._sounds,e=0;e<i.length;e++)i[e]._paused||t.stop(i[e]._id),t._webAudio||(t._clearSound(i[e]._node),i[e]._node.removeEventListener("error",i[e]._errorFn,!1),i[e]._node.removeEventListener(n._canPlayEvent,i[e]._loadFn,!1),n._releaseHtml5Audio(i[e]._node)),delete i[e]._node,t._clearTimer(i[e]._id);var o=n._howls.indexOf(t);o>=0&&n._howls.splice(o,1);var r=!0;for(e=0;e<n._howls.length;e++)if(n._howls[e]._src===t._src||t._src.indexOf(n._howls[e]._src)>=0){r=!1;break}return s&&r&&delete s[t._src],n.noAudio=!1,t._state="unloaded",t._sounds=[],t=null,null},on:function(t,i,n,e){return"function"==typeof i&&this["_on"+t].push(e?{id:n,fn:i,once:e}:{id:n,fn:i}),this},off:function(t,i,n){var e=this["_on"+t],o=0;if("number"==typeof i&&(n=i,i=null),i||n)for(o=0;o<e.length;o++){var r=n===e[o].id;if(i===e[o].fn&&r||!i&&r){e.splice(o,1);break}}else if(t)this["_on"+t]=[];else{var s=Object.keys(this);for(o=0;o<s.length;o++)0===s[o].indexOf("_on")&&Array.isArray(this[s[o]])&&(this[s[o]]=[])}return this},once:function(t,i,n){return this.on(t,i,n,1),this},_emit:function(t,i,n){for(var e=this["_on"+t],o=e.length-1;o>=0;o--)e[o].id&&e[o].id!==i&&"load"!==t||(setTimeout(function(t){t.call(this,i,n)}.bind(this,e[o].fn),0),e[o].once&&this.off(t,e[o].fn,e[o].id));return this._loadQueue(t),this},_loadQueue:function(t){if(this._queue.length>0){var i=this._queue[0];i.event===t&&(this._queue.shift(),this._loadQueue()),t||i.action()}return this},_ended:function(t){var i=t._sprite;if(!this._webAudio&&t._node&&!t._node.paused&&!t._node.ended&&t._node.currentTime<t._stop)return setTimeout(this._ended.bind(this,t),100),this;var e=!(!t._loop&&!this._sprite[i][2]);if(this._emit("end",t._id),!this._webAudio&&e&&this.stop(t._id,!0).play(t._id),this._webAudio&&e){this._emit("play",t._id),t._seek=t._start||0,t._rateSeek=0,t._playStart=n.ctx.currentTime;var o=1e3*(t._stop-t._start)/Math.abs(t._rate);this._endTimers[t._id]=setTimeout(this._ended.bind(this,t),o)}return this._webAudio&&!e&&(t._paused=!0,t._ended=!0,t._seek=t._start||0,t._rateSeek=0,this._clearTimer(t._id),this._cleanBuffer(t._node),n._autoSuspend()),this._webAudio||e||this.stop(t._id,!0),this},_clearTimer:function(t){if(this._endTimers[t]){if("function"!=typeof this._endTimers[t])clearTimeout(this._endTimers[t]);else{var i=this._soundById(t);i&&i._node&&i._node.removeEventListener("ended",this._endTimers[t],!1)}delete this._endTimers[t]}return this},_soundById:function(t){for(var i=0;i<this._sounds.length;i++)if(t===this._sounds[i]._id)return this._sounds[i];return null},_inactiveSound:function(){this._drain();for(var t=0;t<this._sounds.length;t++)if(this._sounds[t]._ended)return this._sounds[t].reset();return new r(this)},_drain:function(){var t=this._pool,i=0,n=0;if(!(this._sounds.length<t)){for(n=0;n<this._sounds.length;n++)this._sounds[n]._ended&&i++;for(n=this._sounds.length-1;n>=0;n--){if(i<=t)return;this._sounds[n]._ended&&(this._webAudio&&this._sounds[n]._node&&this._sounds[n]._node.disconnect(0),this._sounds.splice(n,1),i--)}}},_getSoundIds:function(t){if(void 0===t){for(var i=[],n=0;n<this._sounds.length;n++)i.push(this._sounds[n]._id);return i}return[t]},_refreshBuffer:function(t){return t._node.bufferSource=n.ctx.createBufferSource(),t._node.bufferSource.buffer=s[this._src],t._node.bufferSource.connect(t._panner?t._panner:t._node),t._node.bufferSource.loop=t._loop,t._loop&&(t._node.bufferSource.loopStart=t._start||0,t._node.bufferSource.loopEnd=t._stop||0),t._node.bufferSource.playbackRate.setValueAtTime(t._rate,n.ctx.currentTime),this},_cleanBuffer:function(t){var i=n._navigator&&n._navigator.vendor.indexOf("Apple")>=0;if(n._scratchBuffer&&t.bufferSource&&(t.bufferSource.onended=null,t.bufferSource.disconnect(0),i))try{t.bufferSource.buffer=n._scratchBuffer}catch(e){}return t.bufferSource=null,this},_clearSound:function(t){/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent)||(t.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var r=function(t){this._parent=t,this.init()};r.prototype={init:function(){var t=this._parent;return this._muted=t._muted,this._loop=t._loop,this._volume=t._volume,this._rate=t._rate,this._seek=0,this._paused=!0,this._ended=!0,this._sprite="__default",this._id=++n._counter,t._sounds.push(this),this.create(),this},create:function(){var t=this._parent,i=n._muted||this._muted||this._parent._muted?0:this._volume;return t._webAudio?(this._node=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),this._node.gain.setValueAtTime(i,n.ctx.currentTime),this._node.paused=!0,this._node.connect(n.masterGain)):(this._node=n._obtainHtml5Audio(),this._errorFn=this._errorListener.bind(this),this._node.addEventListener("error",this._errorFn,!1),this._loadFn=this._loadListener.bind(this),this._node.addEventListener(n._canPlayEvent,this._loadFn,!1),this._node.src=t._src,this._node.preload="auto",this._node.volume=i*n.volume(),this._node.load()),this},reset:function(){var t=this._parent;return this._muted=t._muted,this._loop=t._loop,this._volume=t._volume,this._rate=t._rate,this._seek=0,this._rateSeek=0,this._paused=!0,this._ended=!0,this._sprite="__default",this._id=++n._counter,this},_errorListener:function(){this._parent._emit("loaderror",this._id,this._node.error?this._node.error.code:0),this._node.removeEventListener("error",this._errorFn,!1)},_loadListener:function(){var t=this._parent;t._duration=Math.ceil(10*this._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),this._node.removeEventListener(n._canPlayEvent,this._loadFn,!1)}};var s={},a=function(t){var i=t._src;if(s[i])return t._duration=s[i].duration,void f(t);if(/^data:[^;]+;base64,/.test(i)){for(var n=atob(i.split(",")[1]),e=new Uint8Array(n.length),o=0;o<n.length;++o)e[o]=n.charCodeAt(o);h(e.buffer,t)}else{var r=new XMLHttpRequest;r.open("GET",i,!0),r.withCredentials=t._xhrWithCredentials,r.responseType="arraybuffer",r.onload=function(){var i=(r.status+"")[0];"0"===i||"2"===i||"3"===i?h(r.response,t):t._emit("loaderror",null,"Failed loading audio file with status: "+r.status+".")},r.onerror=function(){t._webAudio&&(t._html5=!0,t._webAudio=!1,t._sounds=[],delete s[i],t.load())},u(r)}},u=function(t){try{t.send()}catch(i){t.onerror()}},h=function(t,i){var e=function(){i._emit("loaderror",null,"Decoding audio data failed.")},o=function(t){t&&i._sounds.length>0?(s[i._src]=t,f(i,t)):e()};"undefined"!=typeof Promise&&1===n.ctx.decodeAudioData.length?n.ctx.decodeAudioData(t).then(o).catch(e):n.ctx.decodeAudioData(t,o,e)},f=function(t,i){i&&!t._duration&&(t._duration=i.duration),0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue())},l=function(){if(n.usingWebAudio){try{"undefined"!=typeof AudioContext?n.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch(r){n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var t=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),i=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),e=i?parseInt(i[1],10):null;if(t&&e&&e<9){var o=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());(n._navigator&&n._navigator.standalone&&!o||n._navigator&&!n._navigator.standalone&&!o)&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=void 0===n.ctx.createGain?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:1,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};i.Howler=n,i.Howl=e,"undefined"!=typeof window?(window.HowlerGlobal=t,window.Howler=n,window.Howl=e,window.Sound=r):void 0!==o&&(o.HowlerGlobal=t,o.Howler=n,o.Howl=e,o.Sound=r)}(),
/*!
 *  Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
 *  
 *  howler.js v2.1.2
 *  howlerjs.com
 *
 *  (c) 2013-2019, James Simpson of GoldFire Studios
 *  goldfirestudios.com
 *
 *  MIT License
 */
function(){var t;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){if(!this.ctx||!this.ctx.listener)return this;for(var i=this._howls.length-1;i>=0;i--)this._howls[i].stereo(t);return this},HowlerGlobal.prototype.pos=function(t,i,n){return this.ctx&&this.ctx.listener?"number"!=typeof t?this._pos:(this._pos=[t,i="number"!=typeof i?this._pos[1]:i,n="number"!=typeof n?this._pos[2]:n],void 0!==this.ctx.listener.positionX?(this.ctx.listener.positionX.setTargetAtTime(this._pos[0],Howler.ctx.currentTime,.1),this.ctx.listener.positionY.setTargetAtTime(this._pos[1],Howler.ctx.currentTime,.1),this.ctx.listener.positionZ.setTargetAtTime(this._pos[2],Howler.ctx.currentTime,.1)):this.ctx.listener.setPosition(this._pos[0],this._pos[1],this._pos[2]),this):this},HowlerGlobal.prototype.orientation=function(t,i,n,e,o,r){if(!this.ctx||!this.ctx.listener)return this;var s=this._orientation;return"number"!=typeof t?s:(this._orientation=[t,i="number"!=typeof i?s[1]:i,n="number"!=typeof n?s[2]:n,e="number"!=typeof e?s[3]:e,o="number"!=typeof o?s[4]:o,r="number"!=typeof r?s[5]:r],void 0!==this.ctx.listener.forwardX?(this.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),this.ctx.listener.forwardY.setTargetAtTime(i,Howler.ctx.currentTime,.1),this.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),this.ctx.listener.upX.setTargetAtTime(t,Howler.ctx.currentTime,.1),this.ctx.listener.upY.setTargetAtTime(i,Howler.ctx.currentTime,.1),this.ctx.listener.upZ.setTargetAtTime(n,Howler.ctx.currentTime,.1)):this.ctx.listener.setOrientation(t,i,n,e,o,r),this)},Howl.prototype.init=(t=Howl.prototype.init,function(i){return this._orientation=i.orientation||[1,0,0],this._stereo=i.stereo||null,this._pos=i.pos||null,this._pannerAttr={coneInnerAngle:void 0!==i.coneInnerAngle?i.coneInnerAngle:360,coneOuterAngle:void 0!==i.coneOuterAngle?i.coneOuterAngle:360,coneOuterGain:void 0!==i.coneOuterGain?i.coneOuterGain:0,distanceModel:void 0!==i.distanceModel?i.distanceModel:"inverse",maxDistance:void 0!==i.maxDistance?i.maxDistance:1e4,panningModel:void 0!==i.panningModel?i.panningModel:"HRTF",refDistance:void 0!==i.refDistance?i.refDistance:1,rolloffFactor:void 0!==i.rolloffFactor?i.rolloffFactor:1},this._onstereo=i.onstereo?[{fn:i.onstereo}]:[],this._onpos=i.onpos?[{fn:i.onpos}]:[],this._onorientation=i.onorientation?[{fn:i.onorientation}]:[],t.call(this,i)}),Howl.prototype.stereo=function(t,n){var e=this;if(!e._webAudio)return e;if("loaded"!==e._state)return e._queue.push({event:"stereo",action:function(){e.stereo(t,n)}}),e;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===n){if("number"!=typeof t)return e._stereo;e._stereo=t,e._pos=[t,0,0]}for(var r=e._getSoundIds(n),s=0;s<r.length;s++){var a=e._soundById(r[s]);if(a){if("number"!=typeof t)return a._stereo;a._stereo=t,a._pos=[t,0,0],a._node&&(a._pannerAttr.panningModel="equalpower",a._panner&&a._panner.pan||i(a,o),"spatial"===o?void 0!==a._panner.positionX?(a._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),a._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),a._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):a._panner.setPosition(t,0,0):a._panner.pan.setValueAtTime(t,Howler.ctx.currentTime)),e._emit("stereo",a._id)}}return e},Howl.prototype.pos=function(t,n,e,o){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"pos",action:function(){r.pos(t,n,e,o)}}),r;if(n="number"!=typeof n?0:n,e="number"!=typeof e?-.5:e,void 0===o){if("number"!=typeof t)return r._pos;r._pos=[t,n,e]}for(var s=r._getSoundIds(o),a=0;a<s.length;a++){var u=r._soundById(s[a]);if(u){if("number"!=typeof t)return u._pos;u._pos=[t,n,e],u._node&&(u._panner&&!u._panner.pan||i(u,"spatial"),void 0!==u._panner.positionX?(u._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(e,Howler.ctx.currentTime)):u._panner.setPosition(t,n,e)),r._emit("pos",u._id)}}return r},Howl.prototype.orientation=function(t,n,e,o){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"orientation",action:function(){r.orientation(t,n,e,o)}}),r;if(n="number"!=typeof n?r._orientation[1]:n,e="number"!=typeof e?r._orientation[2]:e,void 0===o){if("number"!=typeof t)return r._orientation;r._orientation=[t,n,e]}for(var s=r._getSoundIds(o),a=0;a<s.length;a++){var u=r._soundById(s[a]);if(u){if("number"!=typeof t)return u._orientation;u._orientation=[t,n,e],u._node&&(u._panner||(u._pos||(u._pos=r._pos||[0,0,-.5]),i(u,"spatial")),void 0!==u._panner.orientationX?(u._panner.orientationX.setValueAtTime(t,Howler.ctx.currentTime),u._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),u._panner.orientationZ.setValueAtTime(e,Howler.ctx.currentTime)):u._panner.setOrientation(t,n,e)),r._emit("orientation",u._id)}}return r},Howl.prototype.pannerAttr=function(){var t,n,e,o=this,r=arguments;if(!o._webAudio)return o;if(0===r.length)return o._pannerAttr;if(1===r.length){if("object"!=typeof r[0])return(e=o._soundById(parseInt(r[0],10)))?e._pannerAttr:o._pannerAttr;t=r[0],void 0===n&&(t.pannerAttr||(t.pannerAttr={coneInnerAngle:t.coneInnerAngle,coneOuterAngle:t.coneOuterAngle,coneOuterGain:t.coneOuterGain,distanceModel:t.distanceModel,maxDistance:t.maxDistance,refDistance:t.refDistance,rolloffFactor:t.rolloffFactor,panningModel:t.panningModel}),o._pannerAttr={coneInnerAngle:void 0!==t.pannerAttr.coneInnerAngle?t.pannerAttr.coneInnerAngle:o._coneInnerAngle,coneOuterAngle:void 0!==t.pannerAttr.coneOuterAngle?t.pannerAttr.coneOuterAngle:o._coneOuterAngle,coneOuterGain:void 0!==t.pannerAttr.coneOuterGain?t.pannerAttr.coneOuterGain:o._coneOuterGain,distanceModel:void 0!==t.pannerAttr.distanceModel?t.pannerAttr.distanceModel:o._distanceModel,maxDistance:void 0!==t.pannerAttr.maxDistance?t.pannerAttr.maxDistance:o._maxDistance,refDistance:void 0!==t.pannerAttr.refDistance?t.pannerAttr.refDistance:o._refDistance,rolloffFactor:void 0!==t.pannerAttr.rolloffFactor?t.pannerAttr.rolloffFactor:o._rolloffFactor,panningModel:void 0!==t.pannerAttr.panningModel?t.pannerAttr.panningModel:o._panningModel})}else 2===r.length&&(t=r[0],n=parseInt(r[1],10));for(var s=o._getSoundIds(n),a=0;a<s.length;a++)if(e=o._soundById(s[a])){var u=e._pannerAttr;u={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:u.coneInnerAngle,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:u.coneOuterAngle,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:u.coneOuterGain,distanceModel:void 0!==t.distanceModel?t.distanceModel:u.distanceModel,maxDistance:void 0!==t.maxDistance?t.maxDistance:u.maxDistance,refDistance:void 0!==t.refDistance?t.refDistance:u.refDistance,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:u.rolloffFactor,panningModel:void 0!==t.panningModel?t.panningModel:u.panningModel};var h=e._panner;h?(h.coneInnerAngle=u.coneInnerAngle,h.coneOuterAngle=u.coneOuterAngle,h.coneOuterGain=u.coneOuterGain,h.distanceModel=u.distanceModel,h.maxDistance=u.maxDistance,h.refDistance=u.refDistance,h.rolloffFactor=u.rolloffFactor,h.panningModel=u.panningModel):(e._pos||(e._pos=o._pos||[0,0,-.5]),i(e,"spatial"))}return o},Sound.prototype.init=function(t){return function(){var i=this._parent;this._orientation=i._orientation,this._stereo=i._stereo,this._pos=i._pos,this._pannerAttr=i._pannerAttr,t.call(this),this._stereo?i.stereo(this._stereo):this._pos&&i.pos(this._pos[0],this._pos[1],this._pos[2],this._id)}}(Sound.prototype.init),Sound.prototype.reset=function(t){return function(){var i=this._parent;return this._orientation=i._orientation,this._stereo=i._stereo,this._pos=i._pos,this._pannerAttr=i._pannerAttr,this._stereo?i.stereo(this._stereo):this._pos?i.pos(this._pos[0],this._pos[1],this._pos[2],this._id):this._panner&&(this._panner.disconnect(0),this._panner=void 0,i._refreshBuffer(this)),t.call(this)}}(Sound.prototype.reset);var i=function(t,i){"spatial"===(i=i||"spatial")?(t._panner=Howler.ctx.createPanner(),t._panner.coneInnerAngle=t._pannerAttr.coneInnerAngle,t._panner.coneOuterAngle=t._pannerAttr.coneOuterAngle,t._panner.coneOuterGain=t._pannerAttr.coneOuterGain,t._panner.distanceModel=t._pannerAttr.distanceModel,t._panner.maxDistance=t._pannerAttr.maxDistance,t._panner.refDistance=t._pannerAttr.refDistance,t._panner.rolloffFactor=t._pannerAttr.rolloffFactor,t._panner.panningModel=t._pannerAttr.panningModel,void 0!==t._panner.positionX?(t._panner.positionX.setValueAtTime(t._pos[0],Howler.ctx.currentTime),t._panner.positionY.setValueAtTime(t._pos[1],Howler.ctx.currentTime),t._panner.positionZ.setValueAtTime(t._pos[2],Howler.ctx.currentTime)):t._panner.setPosition(t._pos[0],t._pos[1],t._pos[2]),void 0!==t._panner.orientationX?(t._panner.orientationX.setValueAtTime(t._orientation[0],Howler.ctx.currentTime),t._panner.orientationY.setValueAtTime(t._orientation[1],Howler.ctx.currentTime),t._panner.orientationZ.setValueAtTime(t._orientation[2],Howler.ctx.currentTime)):t._panner.setOrientation(t._orientation[0],t._orientation[1],t._orientation[2])):(t._panner=Howler.ctx.createStereoPanner(),t._panner.pan.setValueAtTime(t._stereo,Howler.ctx.currentTime)),t._panner.connect(t._node),t._paused||t._parent.pause(t._id,!0).play(t._id,!0)}}()})).Howl;const a=class{constructor(n){t(this,n),this.webAudioGetter=null,this.progressIntervalId=null,this.lastDeltaX=0,this.draggingPoint=!1,this.contentId="000000",this.src="",this.audioTitle="",this.type="",this.script="",this.openTranscript=!0,this.audioPlaying=!1,this.currentProgress=0,this.currentAudioTimeFormatted="00:00",this.totalAudioTime=0,this.totalAudioTimeFormatted="00:00",this.transcriptDisplayed=!0,this.audioPlayed=i(this,"audioPlayed",7)}componentWillLoad(){this.referenceWebAudio(),this.setupPointControl(),this.openTranscript&&(this.transcriptDisplayed=!0)}interactWithAudio(){this.audioPlaying?(this.howlSound.pause(),this.audioPlaying=!1,this.totalAudioTime>0&&this.updateAudioProgress(!0)):(this.howlSound.play(),this.audioPlaying=!0,this.audioPlayed.emit(!0),this.totalAudioTime>0&&this.updateAudioProgress(!1))}displayTranscript(){this.transcriptDisplayed=!0}referenceWebAudio(){this.howlSound=new s({src:[this.src],html5:!0,autoplay:!1,onplayerror:()=>{this.howlSound.once("unlock",(function(){this.howlSound.play()}))}}),this.howlSound.once("load",()=>{this.totalAudioTime=this.howlSound.duration(),this.totalAudioTimeFormatted=this.formatAudioTime(this.totalAudioTime)})}setupPointControl(){let t=setInterval(()=>{if(this.totalAudioTime>0){const i=document.getElementById(this.contentId+"_progression-bar");if(i){const n=i.offsetWidth,e=i.getElementsByClassName("progress-point")[0];new Hammer(e,{}).on("pan",t=>{this.draggingPoint=!0;const i=t.deltaX-this.lastDeltaX;this.lastDeltaX=t.deltaX;const e=i/n*100;this.currentProgress=this.currentProgress+e<0?0:this.currentProgress+e>100?100:this.currentProgress+e,this.currentAudioTimeFormatted=this.formatAudioTime(this.currentProgress/100*this.totalAudioTime),t.isFinal&&(this.howlSound.seek(this.currentProgress/100*this.totalAudioTime),this.lastDeltaX=0,this.draggingPoint=!1)}),new Hammer(i,{}).on("tap",t=>{const n=t.center.x-i.getBoundingClientRect().left;this.currentProgress=n/i.offsetWidth*100,this.currentAudioTimeFormatted=this.formatAudioTime(this.currentProgress/100*this.totalAudioTime),this.howlSound.seek(this.currentProgress/100*this.totalAudioTime)}),clearInterval(t)}}},100)}updateAudioProgress(t){t?clearInterval(this.progressIntervalId):this.progressIntervalId=setInterval(()=>{if(!this.draggingPoint){const t=this.howlSound.seek();this.currentAudioTimeFormatted=this.formatAudioTime(t),this.currentProgress=Math.floor(t/this.totalAudioTime*100),100===this.currentProgress&&(this.currentProgress=0,this.currentAudioTimeFormatted=this.formatAudioTime(this.currentProgress),this.interactWithAudio(),clearInterval(this.progressIntervalId))}},250)}formatAudioTime(t){let i=""+Math.floor(t/60);1==i.length&&(i="0"+i);let n=""+Math.floor(t%60);return 1==n.length&&(n="0"+n),i+":"+n}render(){return n("div",null,n("audio",{id:this.contentId},n("source",{src:this.src,type:this.type})),n("div",{class:"audio-control-container"},n("div",{class:"audio-button-container"},n("ion-button",{color:"dark",shape:"round",class:"audio-button-controller",onClick:()=>this.interactWithAudio()},n("ion-icon",this.audioPlaying?{slot:"icon-only",name:"pause",color:"light"}:{slot:"icon-only",name:"play",color:"light"}))),this.totalAudioTime>0&&n("div",{class:"audio-info-container"},n("div",{class:"audio-duration-container"},n("p",null,this.currentAudioTimeFormatted),n("p",null,this.totalAudioTimeFormatted)),n("div",{id:this.contentId+"_progression-bar",class:"audio-progression-container"},n("div",{class:"complete-bar"}),n("div",{style:{width:this.currentProgress+"%"},class:"progress-bar"}),n("div",{style:{left:"calc("+this.currentProgress+"% - 4px)"},class:"progress-point"})))),this.script&&!this.transcriptDisplayed&&n("ion-button",{size:"small",color:"tertiary",class:"audio-transcript-button",onClick:()=>this.displayTranscript()},"Transcript"),this.script&&this.transcriptDisplayed&&n("div",{class:"text-container",innerHTML:r.render(this.script)}))}static get style(){return"html.ios{--ion-default-font:-apple-system,BlinkMacSystemFont,\"Helvetica Neue\",\"Roboto\",sans-serif}html.md{--ion-default-font:\"Roboto\",\"Helvetica Neue\",sans-serif}html{--ion-font-family:var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}ion-modal.modal-card .ion-page>ion-header>ion-toolbar:first-child{padding-top:0}.ion-color-primary{--ion-color-base:var(--ion-color-primary,#3880ff)!important;--ion-color-base-rgb:var(--ion-color-primary-rgb,56,128,255)!important;--ion-color-contrast:var(--ion-color-primary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-primary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-primary-shade,#3171e0)!important;--ion-color-tint:var(--ion-color-primary-tint,#4c8dff)!important}.ion-color-secondary{--ion-color-base:var(--ion-color-secondary,#3dc2ff)!important;--ion-color-base-rgb:var(--ion-color-secondary-rgb,61,194,255)!important;--ion-color-contrast:var(--ion-color-secondary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-secondary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-secondary-shade,#36abe0)!important;--ion-color-tint:var(--ion-color-secondary-tint,#50c8ff)!important}.ion-color-tertiary{--ion-color-base:var(--ion-color-tertiary,#5260ff)!important;--ion-color-base-rgb:var(--ion-color-tertiary-rgb,82,96,255)!important;--ion-color-contrast:var(--ion-color-tertiary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-tertiary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-tertiary-shade,#4854e0)!important;--ion-color-tint:var(--ion-color-tertiary-tint,#6370ff)!important}.ion-color-success{--ion-color-base:var(--ion-color-success,#2dd36f)!important;--ion-color-base-rgb:var(--ion-color-success-rgb,45,211,111)!important;--ion-color-contrast:var(--ion-color-success-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-success-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-success-shade,#28ba62)!important;--ion-color-tint:var(--ion-color-success-tint,#42d77d)!important}.ion-color-warning{--ion-color-base:var(--ion-color-warning,#ffc409)!important;--ion-color-base-rgb:var(--ion-color-warning-rgb,255,196,9)!important;--ion-color-contrast:var(--ion-color-warning-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-warning-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-warning-shade,#e0ac08)!important;--ion-color-tint:var(--ion-color-warning-tint,#ffca22)!important}.ion-color-danger{--ion-color-base:var(--ion-color-danger,#eb445a)!important;--ion-color-base-rgb:var(--ion-color-danger-rgb,235,68,90)!important;--ion-color-contrast:var(--ion-color-danger-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-danger-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-danger-shade,#cf3c4f)!important;--ion-color-tint:var(--ion-color-danger-tint,#ed576b)!important}.ion-color-light{--ion-color-base:var(--ion-color-light,#f4f5f8)!important;--ion-color-base-rgb:var(--ion-color-light-rgb,244,245,248)!important;--ion-color-contrast:var(--ion-color-light-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-light-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-light-shade,#d7d8da)!important;--ion-color-tint:var(--ion-color-light-tint,#f5f6f9)!important}.ion-color-medium{--ion-color-base:var(--ion-color-medium,#92949c)!important;--ion-color-base-rgb:var(--ion-color-medium-rgb,146,148,156)!important;--ion-color-contrast:var(--ion-color-medium-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-medium-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-medium-shade,#808289)!important;--ion-color-tint:var(--ion-color-medium-tint,#9d9fa6)!important}.ion-color-dark{--ion-color-base:var(--ion-color-dark,#222428)!important;--ion-color-base-rgb:var(--ion-color-dark-rgb,34,36,40)!important;--ion-color-contrast:var(--ion-color-dark-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-dark-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-dark-shade,#1e2023)!important;--ion-color-tint:var(--ion-color-dark-tint,#383a3e)!important}.ion-page{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;contain:layout size style;overflow:hidden;z-index:0}.split-pane-visible>.ion-page.split-pane-main{position:relative}.ion-page-hidden,[hidden],ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-menu-controller,ion-modal-controller,ion-nav-controller,ion-picker-controller,ion-popover-controller,ion-route,ion-route-redirect,ion-router,ion-select-option,ion-toast-controller{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding:20px}\@supports (padding-top:20px){html{--ion-safe-area-top:var(--ion-statusbar-padding)}}\@supports (padding-top:constant(safe-area-inset-top)){html{--ion-safe-area-top:constant(safe-area-inset-top);--ion-safe-area-bottom:constant(safe-area-inset-bottom);--ion-safe-area-left:constant(safe-area-inset-left);--ion-safe-area-right:constant(safe-area-inset-right)}}\@supports (padding-top:env(safe-area-inset-top)){html{--ion-safe-area-top:env(safe-area-inset-top);--ion-safe-area-bottom:env(safe-area-inset-bottom);--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:env(safe-area-inset-right)}}ion-card-header.ion-color .ion-inherit-color,ion-card.ion-color .ion-inherit-color{color:inherit}.menu-content{-webkit-transform:translateZ(0);transform:translateZ(0)}.menu-content-open{cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{-webkit-box-shadow:-8px 0 42px rgba(0,0,0,.08);box-shadow:-8px 0 42px rgba(0,0,0,.08)}[dir=rtl].ios .menu-content-reveal{-webkit-box-shadow:8px 0 42px rgba(0,0,0,.08);box-shadow:8px 0 42px rgba(0,0,0,.08)}.md .menu-content-push,.md .menu-content-reveal{-webkit-box-shadow:4px 0 16px rgba(0,0,0,.18);box-shadow:4px 0 16px rgba(0,0,0,.18)}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;-webkit-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-webkit-input-placeholder{padding-left:2px}textarea::-moz-placeholder{padding-left:2px}textarea:-ms-input-placeholder{padding-left:2px}textarea::-ms-input-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}.ion-tappable,[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{-ms-touch-action:manipulation;touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;-webkit-appearance:button}[tappable],button{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;text-rendering:optimizeLegibility;overflow:hidden;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}a{background-color:transparent;color:var(--ion-color-primary,#3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:26px}h2{margin-top:18px;font-size:24px}h3{font-size:22px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}small,sub,sup{font-size:75%}sub,sup{position:relative;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-no-padding{--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.ion-padding{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);--padding-top:var(--ion-padding,16px);--padding-bottom:var(--ion-padding,16px);padding-left:var(--ion-padding,16px);padding-right:var(--ion-padding,16px);padding-top:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-top{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-start{--padding-start:var(--ion-padding,16px);padding-left:var(--ion-padding,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-start{padding-left:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px)}}.ion-padding-end{--padding-end:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-end{padding-right:unset;-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-bottom,.ion-padding-vertical{--padding-bottom:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}.ion-padding-vertical{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-horizontal{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);padding-left:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-horizontal{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-no-margin{--margin-start:0;--margin-end:0;--margin-top:0;--margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.ion-margin{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);--margin-top:var(--ion-margin,16px);--margin-bottom:var(--ion-margin,16px);margin-left:var(--ion-margin,16px);margin-right:var(--ion-margin,16px);margin-top:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-top{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-start{--margin-start:var(--ion-margin,16px);margin-left:var(--ion-margin,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-start{margin-left:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px)}}.ion-margin-end{--margin-end:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-end{margin-right:unset;-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-bottom,.ion-margin-vertical{--margin-bottom:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}.ion-margin-vertical{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-horizontal{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);margin-left:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-horizontal{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}.ion-float-end,:host-context([dir=rtl]) .ion-float-start,[dir=rtl] .ion-float-start{float:right!important}:host-context([dir=rtl]) .ion-float-end,[dir=rtl] .ion-float-end{float:left!important}\@media (min-width:576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}.ion-float-sm-end,:host-context([dir=rtl]) .ion-float-sm-start,[dir=rtl] .ion-float-sm-start{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end,[dir=rtl] .ion-float-sm-end{float:left!important}}\@media (min-width:768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}.ion-float-md-end,:host-context([dir=rtl]) .ion-float-md-start,[dir=rtl] .ion-float-md-start{float:right!important}:host-context([dir=rtl]) .ion-float-md-end,[dir=rtl] .ion-float-md-end{float:left!important}}\@media (min-width:992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}.ion-float-lg-end,:host-context([dir=rtl]) .ion-float-lg-start,[dir=rtl] .ion-float-lg-start{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end,[dir=rtl] .ion-float-lg-end{float:left!important}}\@media (min-width:1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}.ion-float-xl-end,:host-context([dir=rtl]) .ion-float-xl-start,[dir=rtl] .ion-float-xl-start{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end,[dir=rtl] .ion-float-xl-end{float:left!important}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}\@media (min-width:576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}\@media (min-width:768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}\@media (min-width:992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}\@media (min-width:1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}\@media (min-width:576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}\@media (min-width:768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}\@media (min-width:992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}\@media (min-width:1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{-ms-flex-item-align:start!important;align-self:flex-start!important}.ion-align-self-end{-ms-flex-item-align:end!important;align-self:flex-end!important}.ion-align-self-center{-ms-flex-item-align:center!important;align-self:center!important}.ion-align-self-stretch{-ms-flex-item-align:stretch!important;align-self:stretch!important}.ion-align-self-baseline{-ms-flex-item-align:baseline!important;align-self:baseline!important}.ion-align-self-auto{-ms-flex-item-align:auto!important;align-self:auto!important}.ion-wrap{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.ion-nowrap{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}.ion-wrap-reverse{-ms-flex-wrap:wrap-reverse!important;flex-wrap:wrap-reverse!important}.ion-justify-content-start{-ms-flex-pack:start!important;justify-content:flex-start!important}.ion-justify-content-center{-ms-flex-pack:center!important;justify-content:center!important}.ion-justify-content-end{-ms-flex-pack:end!important;justify-content:flex-end!important}.ion-justify-content-around{-ms-flex-pack:distribute!important;justify-content:space-around!important}.ion-justify-content-between{-ms-flex-pack:justify!important;justify-content:space-between!important}.ion-justify-content-evenly{-ms-flex-pack:space-evenly!important;justify-content:space-evenly!important}.ion-align-items-start{-ms-flex-align:start!important;align-items:flex-start!important}.ion-align-items-center{-ms-flex-align:center!important;align-items:center!important}.ion-align-items-end{-ms-flex-align:end!important;align-items:flex-end!important}.ion-align-items-stretch{-ms-flex-align:stretch!important;align-items:stretch!important}.ion-align-items-baseline{-ms-flex-align:baseline!important;align-items:baseline!important}\@-webkit-keyframes fade{0%{opacity:0}to{opacity:1}}\@-webkit-keyframes corner-expand{0%{width:0;opacity:0}to{width:20px;opacity:1}}\@-webkit-keyframes slide-right{0%{opacity:0;-webkit-transform:translateX(-200px);transform:translateX(-200px)}}\@keyframes fade{0%{opacity:0}to{opacity:1}}\@keyframes corner-expand{0%{width:0;opacity:0}to{width:20px;opacity:1}}\@keyframes slide-right{0%{opacity:0;-webkit-transform:translateX(-200px);transform:translateX(-200px)}}\@keyframes bounce2{0%,20%,50%,80%,to{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-20px);transform:translateY(-20px)}60%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}\@-webkit-keyframes bounce2{0%,20%,50%,80%,to{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-20px);transform:translateY(-20px)}60%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}\@-webkit-keyframes heartbeat{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}8%{-webkit-transform:scale(.94);transform:scale(.94);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}14%{-webkit-transform:scale(.98);transform:scale(.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}28%{-webkit-transform:scale(.92);transform:scale(.92);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}\@keyframes heartbeat{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}8%{-webkit-transform:scale(.94);transform:scale(.94);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}14%{-webkit-transform:scale(.98);transform:scale(.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}28%{-webkit-transform:scale(.92);transform:scale(.92);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}:root{--ion-color-primary:#00b7b3;--ion-color-primary-rgb:0,183,179;--ion-color-primary-contrast:#fff;--ion-color-primary-contrast-rgb:255,255,255;--ion-color-primary-shade:#00a19e;--ion-color-primary-tint:#1abebb;--ion-color-secondary:#00b1d0;--ion-color-secondary-rgb:0,177,208;--ion-color-secondary-contrast:#fff;--ion-color-secondary-contrast-rgb:255,255,255;--ion-color-secondary-shade:#009cb7;--ion-color-secondary-tint:#1ab9d5;--ion-color-tertiary:#3b3f3f;--ion-color-tertiary-rgb:76,110,121;--ion-color-tertiary-contrast:#fff;--ion-color-tertiary-contrast-rgb:255,255,255;--ion-color-tertiary-shade:#343737;--ion-color-tertiary-tint:#4f5252;--ion-color-success:#10dc60;--ion-color-success-rgb:16,220,96;--ion-color-success-contrast:#fff;--ion-color-success-contrast-rgb:255,255,255;--ion-color-success-shade:#0ec254;--ion-color-success-tint:#28e070;--ion-color-warning:#ffce00;--ion-color-warning-rgb:255,206,0;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0,0,0;--ion-color-warning-shade:#e0b500;--ion-color-warning-tint:#ffd31a;--ion-color-danger:#f53d3d;--ion-color-danger-rgb:245,61,61;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255,255,255;--ion-color-danger-shade:#d83636;--ion-color-danger-tint:#f65050;--ion-color-light:#fdfdfd;--ion-color-light-rgb:244,244,244;--ion-color-light-contrast:#000;--ion-color-light-contrast-rgb:0,0,0;--ion-color-light-shade:#d7d7d7;--ion-color-light-tint:#f5f5f5;--ion-color-medium:#989aa2;--ion-color-medium-rgb:152,154,162;--ion-color-medium-contrast:#000;--ion-color-medium-contrast-rgb:0,0,0;--ion-color-medium-shade:#86888f;--ion-color-medium-tint:#a2a4ab;--ion-color-dark:#222;--ion-color-dark-rgb:34,34,34;--ion-color-dark-contrast:#fff;--ion-color-dark-contrast-rgb:255,255,255;--ion-color-dark-shade:#1e1e1e;--ion-color-dark-tint:#383838;--ion-color-mainPlaces:#c06457;--ion-color-mainPlaces-rgb:192,100,87;--ion-color-mainPlaces-contrast:#fff;--ion-color-mainPlaces-contrast-rgb:255,255,255;--ion-color-mainPlaces-shade:#a9584d;--ion-color-mainPlaces-tint:#c67468;--ion-color-aroundPlaces:#222;--ion-color-aroundPlaces-rgb:34,34,34;--ion-color-aroundPlaces-contrast:#fff;--ion-color-aroundPlaces-contrast-rgb:255,255,255;--ion-color-aroundPlaces-shade:#1e1e1e;--ion-color-aroundPlaces-tint:#383838;--ion-toolbar-md-background-color:var(--ion-color-primary);--ion-toolbar-md-text-color:#fff;--ion-color-gold:#b9b029}body{margin:0!important;padding:0;font-family:Raleway,serif}.hidden{opacity:0}.heartbeat-button{-webkit-animation:heartbeat 1.5s ease-in-out infinite both;animation:heartbeat 1.5s ease-in-out infinite both}h1,h2,h3,h4,h5,h6,p{font-family:Roboto Slab,serif}.title{text-transform:uppercase;font-size:1.2em;font-weight:600}audio-player{display:block}audio-player p{font-family:Nunito,serif}audio-player .audio-control-container{display:-ms-flexbox;display:flex;max-width:700px}audio-player .audio-control-container .audio-button-controller{margin-right:16px;margin-top:14px;-ms-flex-item-align:end;align-self:flex-end}audio-player .audio-control-container .audio-info-container{width:calc(100% - 42px - 16px)}audio-player .audio-control-container .audio-info-container .audio-title{font-size:1.3em}audio-player .audio-control-container .audio-info-container .audio-duration-container{font-size:.8em;font-weight:500;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}audio-player .audio-control-container .audio-info-container .audio-progression-container{width:calc(100% - 16px);margin-left:8px;height:24px;position:relative}audio-player .audio-control-container .audio-info-container .audio-progression-container .complete-bar{position:absolute;top:12px;width:100%;height:1px;background-color:var(--ion-color-tertiary-tint)}audio-player .audio-control-container .audio-info-container .audio-progression-container .progress-bar{position:absolute;height:6px;top:8px;background-color:var(--ion-color-tertiary-tint)}audio-player .audio-control-container .audio-info-container .audio-progression-container .progress-point{position:absolute;width:24px;height:24px;margin:16px;top:-16px;margin-left:-8px;border-radius:50%;background-color:var(--ion-color-tertiary-tint)}audio-player .audio-transcript-button{font-family:Caveat,serif;margin-top:16px}audio-player .text-container{padding-bottom:1px;font-size:1em;margin:16px 0}"}};export{a as audio_player};